Subversion Repositories SmartDukaan

Rev

Rev 1848 | Rev 1891 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 1848 Rev 1861
Line 180... Line 180...
180
}
180
}
181
 
181
 
182
struct MasterAffiliate{
182
struct MasterAffiliate{
183
    1:i64 id,
183
    1:i64 id,
184
    2:string name,
184
    2:string name,
-
 
185
    3:i64 addedOn
185
}
186
}
186
 
187
 
187
struct Affiliate{
188
struct Affiliate{
188
    1:i64 id,
189
    1:i64 id,
189
    2:string name,
190
    2:string name,
190
    3:string url,
191
    3:string url,
191
    4:i64 masterAffiliateId
192
    4:i64 masterAffiliateId,
-
 
193
    5:i64 addedOn
192
}
194
}
193
 
195
 
194
struct Tracker{
196
struct Tracker{
195
    1:i64 id,
197
    1:i64 id,
196
    2:i64 affiliateId
198
    2:i64 affiliateId,
-
 
199
    3:i64 addedOn
197
}
200
}
198
 
201
 
199
struct TrackLog{
202
struct TrackLog{
200
    1:i64 id,
203
    1:i64 id,
-
 
204
    2:i64 addedOn,
201
    2:i64 trackerId,
205
    3:i64 trackerId,
202
    3:i64 userId,
206
    4:i64 userId,
203
    4:string event,
207
    5:string event,
204
    5:string url,
208
    6:string url,
205
    6:string data
209
    7:string data
206
}
210
}
207
 
211
 
208
//Various statuses for line items
212
//Various statuses for line items
209
enum LineStatus{
213
enum LineStatus{
210
	LINE_ACTIVE,			//line is active
214
	LINE_ACTIVE,			//line is active
Line 328... Line 332...
328
	bool saveUserCommunication(1:i64 userId, 2:string replyTo, 3:i64 communicationType, 4:i64 orderId, 5:string airwaybillNo, 6:string productName, 7:string subject, 8:string message)throws (1:UserCommunicationException ucx)
332
	bool saveUserCommunication(1:i64 userId, 2:string replyTo, 3:i64 communicationType, 4:i64 orderId, 5:string airwaybillNo, 6:string productName, 7:string subject, 8:string message)throws (1:UserCommunicationException ucx)
329
	UserCommunication getUserCommunicationById(1:i64 id) throws (1:UserCommunicationException ucx)
333
	UserCommunication getUserCommunicationById(1:i64 id) throws (1:UserCommunicationException ucx)
330
	list<UserCommunication> getUserCommunicationByUser(1:i64 userId) throws (1:UserCommunicationException ucx)
334
	list<UserCommunication> getUserCommunicationByUser(1:i64 userId) throws (1:UserCommunicationException ucx)
331
	list<UserCommunication> getAllUserCommunications() throws (1:UserCommunicationException ucx)
335
	list<UserCommunication> getAllUserCommunications() throws (1:UserCommunicationException ucx)
332
	
336
	
333
	MasterAffiliate createMasterAffiliate(1:string name) throws (1:UserTrackerException utx)
337
	MasterAffiliate createMasterAffiliate(1:string name, 2:i64 addedOn) throws (1:UserTrackerException utx)
334
	MasterAffiliate getMasterAffiliateById(1:i64 id) throws (1:UserTrackerException utx)
338
	MasterAffiliate getMasterAffiliateById(1:i64 id) throws (1:UserTrackerException utx)
335
    MasterAffiliate getMasterAffiliateByName(1:string name) throws (1:UserTrackerException utx)
339
    MasterAffiliate getMasterAffiliateByName(1:string name) throws (1:UserTrackerException utx)
336
	Affiliate createAffiliate(1:string name, 2:string url, 3:i64 masterAffiliateId) throws (1:UserTrackerException utx)
340
	Affiliate createAffiliate(1:string name, 2:string url, 3:i64 masterAffiliateId, 4:i64 addedOn) throws (1:UserTrackerException utx)
337
	Affiliate getAffiliateById(1:i64 id) throws (1:UserTrackerException utx)
341
	Affiliate getAffiliateById(1:i64 id) throws (1:UserTrackerException utx)
338
	Affiliate getAffiliateByName(1:string name) throws (1:UserTrackerException utx)
342
	Affiliate getAffiliateByName(1:string name) throws (1:UserTrackerException utx)
339
	list<Affiliate> getAffiliatesByMasterAffiliate(1:i64 id) throws (1:UserTrackerException utx)
343
	list<Affiliate> getAffiliatesByMasterAffiliate(1:i64 id) throws (1:UserTrackerException utx)
340
	Tracker createTracker(1:i64 affiliateId) throws (1:UserTrackerException utx)
344
	Tracker createTracker(1:i64 affiliateId, 2:i64 addedOn) throws (1:UserTrackerException utx)
341
	Tracker getTrackerById(1:i64 trackerId) throws (1:UserTrackerException utx)
345
	Tracker getTrackerById(1:i64 trackerId) throws (1:UserTrackerException utx)
342
	list<Tracker> getTrackersByAffiliate(1:i64 affiliateId) throws (1:UserTrackerException utx)
346
	list<Tracker> getTrackersByAffiliate(1:i64 affiliateId) throws (1:UserTrackerException utx)
343
	i64 addTrackLog(1:i64 trackerId, 2:i64 userId, 3:string event, 4:string url, 5:string data) throws (1:UserTrackerException utx)
347
	i64 addTrackLog(1:i64 trackerId, 2:i64 userId, 3:string event, 4:string url, 5:string data, 6:i64 addedOn) throws (1:UserTrackerException utx)
344
	TrackLog getTrackLogById(1:i64 id) throws (1:UserTrackerException utx)
348
	TrackLog getTrackLogById(1:i64 id) throws (1:UserTrackerException utx)
345
	list<TrackLog> getTrackLogsByTracker(1:i64 trackerId) throws (1:UserTrackerException utx)
349
	list<TrackLog> getTrackLogsByTracker(1:i64 trackerId) throws (1:UserTrackerException utx)
346
	list<TrackLog> getTrackLogsByUser(1:i64 userId) throws (1:UserTrackerException utx)
350
	list<TrackLog> getTrackLogsByUser(1:i64 userId) throws (1:UserTrackerException utx)
347
	list<TrackLog> getTrackLogs(1:i64 trackerId, 2:i64 userId, 3:string event, 4:string url) throws (1:UserTrackerException utx)
351
	list<TrackLog> getTrackLogs(1:i64 trackerId, 2:i64 userId, 3:string event, 4:string url) throws (1:UserTrackerException utx)
348
    
352