Subversion Repositories SmartDukaan

Rev

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

Rev 3374 Rev 3379
Line 67... Line 67...
67
	PRODUCT_QUESTION = 7,
67
	PRODUCT_QUESTION = 7,
68
	OTHER = 8
68
	OTHER = 8
69
}
69
}
70
 
70
 
71
/**
71
/**
-
 
72
Affiliate track log types for affiliate tracking
-
 
73
*/
-
 
74
enum TrackLogType{
-
 
75
    NEW_REGISTRATION = 1,
-
 
76
    PAYMENT_SUCCESS = 2
-
 
77
}
-
 
78
 
-
 
79
/**
72
All the social handles
80
All the social handles
73
*/
81
*/
74
struct SocialHandles{
82
struct SocialHandles{
75
	1:string facebook,
83
	1:string facebook,
76
	2:string opensocial,
84
	2:string opensocial,
Line 205... Line 213...
205
struct TrackLog{
213
struct TrackLog{
206
    1:i64 id,
214
    1:i64 id,
207
    2:i64 addedOn,
215
    2:i64 addedOn,
208
    3:i64 affiliateId,
216
    3:i64 affiliateId,
209
    4:i64 userId,
217
    4:i64 userId,
210
    5:string event,
218
    5:TrackLogType eventType,
211
    6:string url,
219
    6:string url,
212
    7:string data
220
    7:string data
213
}
221
}
214
 
222
 
215
struct UserNote{
223
struct UserNote{
Line 372... Line 380...
372
	Affiliate createAffiliate(1:string name, 2:string url, 3:i64 masterAffiliateId, 4:i64 addedOn) throws (1:UserAffiliateException utx)
380
	Affiliate createAffiliate(1:string name, 2:string url, 3:i64 masterAffiliateId, 4:i64 addedOn) throws (1:UserAffiliateException utx)
373
	Affiliate getAffiliateById(1:i64 id) throws (1:UserAffiliateException utx)
381
	Affiliate getAffiliateById(1:i64 id) throws (1:UserAffiliateException utx)
374
	Affiliate getAffiliateByName(1:string name) throws (1:UserAffiliateException utx)
382
	Affiliate getAffiliateByName(1:string name) throws (1:UserAffiliateException utx)
375
	Tracker getTrackerById(1:i64 id) throws (1:UserAffiliateException utx)
383
	Tracker getTrackerById(1:i64 id) throws (1:UserAffiliateException utx)
376
	list<Affiliate> getAffiliatesByMasterAffiliate(1:i64 id) throws (1:UserAffiliateException utx)
384
	list<Affiliate> getAffiliatesByMasterAffiliate(1:i64 id) throws (1:UserAffiliateException utx)
377
	i64 addTrackLog(1:i64 affiliateId, 2:i64 userId, 3:string event, 4:string url, 5:string data, 6:i64 addedOn) throws (1:UserAffiliateException utx)
385
	i64 addTrackLog(1:i64 affiliateId, 2:i64 userId, 3:TrackLogType event, 4:string url, 5:string data, 6:i64 addedOn) throws (1:UserAffiliateException utx)
378
	TrackLog getTrackLogById(1:i64 id) throws (1:UserAffiliateException utx)
386
	TrackLog getTrackLogById(1:i64 id) throws (1:UserAffiliateException utx)
379
	list<TrackLog> getTrackLogsByAffiliate(1:i64 affiliateId, 2:i64 startDate, 3:i64 endDate) throws (1:UserAffiliateException utx)
387
	list<TrackLog> getTrackLogsByAffiliate(1:i64 affiliateId, 2:i64 startDate, 3:i64 endDate) throws (1:UserAffiliateException utx)
380
	list<TrackLog> getTrackLogsByUser(1:i64 userId) throws (1:UserAffiliateException utx)
388
	list<TrackLog> getTrackLogsByUser(1:i64 userId) throws (1:UserAffiliateException utx)
381
	list<TrackLog> getTrackLogs(1:i64 userId, 2:string event, 3:string url) throws (1:UserAffiliateException utx)
389
	list<TrackLog> getTrackLogs(1:i64 userId, 2:string event, 3:string url) throws (1:UserAffiliateException utx)
382
    
390