@tolinax/ayoune-interfaces 2024.65.0 → 2024.66.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (37) hide show
  1. package/interfaces/IAffClick.d.ts +3 -16
  2. package/interfaces/IAffView.d.ts +3 -6
  3. package/interfaces/ICTAClick.d.ts +3 -15
  4. package/interfaces/ICTAView.d.ts +3 -17
  5. package/interfaces/ICampaignClick.d.ts +3 -40
  6. package/interfaces/IClick.d.ts +3 -16
  7. package/interfaces/ICloudTagView.d.ts +3 -17
  8. package/interfaces/IConsumer.d.ts +3 -28
  9. package/interfaces/IEmotionRating.d.ts +3 -16
  10. package/interfaces/IFeedBackView.d.ts +3 -16
  11. package/interfaces/IFormView.d.ts +3 -17
  12. package/interfaces/IGeoIPLocation.d.ts +16 -11
  13. package/interfaces/IGeoIPLocationTracking.d.ts +25 -0
  14. package/interfaces/IGeoIPLocationTracking.js +2 -0
  15. package/interfaces/IImpression.d.ts +3 -10
  16. package/interfaces/IInterestBarClick.d.ts +3 -15
  17. package/interfaces/IInterestBarView.d.ts +3 -17
  18. package/interfaces/ILinkPortalClick.d.ts +3 -40
  19. package/interfaces/ILinkPortalView.d.ts +3 -40
  20. package/interfaces/IMailClick.d.ts +3 -15
  21. package/interfaces/INewsletterClick.d.ts +4 -17
  22. package/interfaces/IPopupClick.d.ts +3 -16
  23. package/interfaces/IPopupView.d.ts +3 -17
  24. package/interfaces/IPushClick.d.ts +3 -16
  25. package/interfaces/IQuestionView.d.ts +3 -18
  26. package/interfaces/IShopClick.d.ts +3 -27
  27. package/interfaces/IShortLinkClick.d.ts +3 -40
  28. package/interfaces/IStoreView.d.ts +3 -2
  29. package/interfaces/IStream.d.ts +10 -0
  30. package/interfaces/IStreamLog.d.ts +3 -36
  31. package/interfaces/IUsageLog.d.ts +3 -2
  32. package/interfaces/IView.d.ts +3 -52
  33. package/interfaces/IaYOUneTrackingParams.d.ts +41 -0
  34. package/interfaces/IaYOUneTrackingParams.js +2 -0
  35. package/interfaces/index.d.ts +1 -1
  36. package/interfaces/index.js +1 -1
  37. package/package.json +1 -1
@@ -1,28 +1,15 @@
1
1
  import { IDefaultFields } from "./IDefaultFields";
2
- export interface IAffClick extends IDefaultFields {
2
+ import { IaYOUneTrackingParams } from "./IaYOUneTrackingParams";
3
+ import { IGeoIPLocationTracking } from "./IGeoIPLocationTracking";
4
+ export interface IAffClick extends IaYOUneTrackingParams, IGeoIPLocationTracking, IDefaultFields {
3
5
  _customerID: ObjectId;
4
6
  _clientID?: ObjectId[];
5
7
  _subID?: ObjectId[];
6
8
  _affiliateID?: ObjectId;
7
- adtype?: string;
8
- ad?: string;
9
9
  adplace?: string;
10
10
  sub_id?: string;
11
11
  asub_id?: string;
12
12
  cust_id?: string;
13
13
  cust_id2?: string;
14
- fingerprint?: string;
15
14
  datetime?: Date;
16
- referrer?: string;
17
- ip?: string;
18
- device?: string;
19
- country?: string;
20
- region?: string;
21
- city?: string;
22
- ll?: any[];
23
- timezone?: string;
24
- query?: string;
25
- url?: string;
26
- adType?: string;
27
- isAd?: boolean;
28
15
  }
@@ -1,17 +1,14 @@
1
1
  import { IDefaultFields } from "./IDefaultFields";
2
- export interface IAffView extends IDefaultFields {
2
+ import { IaYOUneTrackingParams } from "./IaYOUneTrackingParams";
3
+ import { IGeoIPLocationTracking } from "./IGeoIPLocationTracking";
4
+ export interface IAffView extends IaYOUneTrackingParams, IGeoIPLocationTracking, IDefaultFields {
3
5
  _customerID: ObjectId;
4
6
  _clientID?: ObjectId[];
5
7
  _subID?: ObjectId[];
6
8
  _affiliateID?: ObjectId;
7
- adtype?: string;
8
- ad?: string;
9
9
  adplace?: string;
10
10
  sub_id?: string;
11
11
  asub_id?: string;
12
12
  cust_id?: string;
13
13
  cust_id2?: string;
14
- fingerprint?: string;
15
- datetime?: Date;
16
- referrer?: string;
17
14
  }
@@ -1,23 +1,11 @@
1
1
  import { IDefaultFields } from "./IDefaultFields";
2
- export interface ICTAClick extends IDefaultFields {
2
+ import { IaYOUneTrackingParams } from "./IaYOUneTrackingParams";
3
+ import { IGeoIPLocationTracking } from "./IGeoIPLocationTracking";
4
+ export interface ICTAClick extends IaYOUneTrackingParams, IGeoIPLocationTracking, IDefaultFields {
3
5
  _customerID: ObjectId;
4
6
  _clientID?: ObjectId[];
5
7
  _subID?: ObjectId[];
6
8
  type?: string;
7
9
  cta?: ObjectId;
8
10
  datetime?: Date;
9
- ip?: string;
10
- device?: string;
11
- country?: string;
12
- region?: string;
13
- city?: string;
14
- ll?: number[];
15
- timezone?: string;
16
- query?: string;
17
- url?: string;
18
- adType?: string;
19
- ad?: string;
20
- isAd?: boolean;
21
- fingerprint?: string;
22
- referrer?: string;
23
11
  }
@@ -1,24 +1,10 @@
1
1
  import { IDefaultFields } from "./IDefaultFields";
2
- export interface ICTAView extends IDefaultFields {
2
+ import { IaYOUneTrackingParams } from "./IaYOUneTrackingParams";
3
+ import { IGeoIPLocationTracking } from "./IGeoIPLocationTracking";
4
+ export interface ICTAView extends IaYOUneTrackingParams, IGeoIPLocationTracking, IDefaultFields {
3
5
  _customerID: ObjectId;
4
6
  _clientID?: ObjectId[];
5
7
  _subID?: ObjectId[];
6
8
  type?: string;
7
9
  cta?: ObjectId;
8
- ayoune_fp?: any[];
9
- datetime?: Date;
10
- ip?: string;
11
- device?: string;
12
- country?: string;
13
- region?: string;
14
- city?: string;
15
- ll?: any[];
16
- timezone?: string;
17
- query?: string;
18
- url?: string;
19
- adType?: string;
20
- ad?: string;
21
- isAd?: boolean;
22
- fingerprint?: string;
23
- referrer?: string;
24
10
  }
@@ -1,48 +1,11 @@
1
1
  import { IDefaultFields } from "./IDefaultFields";
2
- export interface ICampaignClick extends IDefaultFields {
2
+ import { IaYOUneTrackingParams } from "./IaYOUneTrackingParams";
3
+ import { IGeoIPLocationTracking } from "./IGeoIPLocationTracking";
4
+ export interface ICampaignClick extends IaYOUneTrackingParams, IGeoIPLocationTracking, IDefaultFields {
3
5
  _customerID: ObjectId;
4
6
  _clientID?: ObjectId[];
5
7
  _subID?: ObjectId[];
6
8
  _consumerID?: ObjectId;
7
9
  campaign?: ObjectId;
8
10
  channel?: string;
9
- device?: string;
10
- country?: string;
11
- query?: string;
12
- url?: string;
13
- adType?: string;
14
- ad?: string;
15
- isAd?: boolean;
16
- fingerprint?: string;
17
- referrer?: string;
18
- ip?: string;
19
- region?: string;
20
- city?: string;
21
- ll?: any[];
22
- timezone?: string;
23
- ayoune_params?: any[];
24
- ayoune_ref?: string;
25
- ayoune_loc?: string;
26
- ayoune_hn?: string;
27
- ayouneParams?: string;
28
- ayoune_source?: string;
29
- ayoune_medium?: string;
30
- ayoune_tag?: string;
31
- ayoune_app?: string;
32
- ayoune_bcn?: string;
33
- ayoune_push?: string;
34
- ayoune_chat?: string;
35
- ayoune_term?: string;
36
- ayoune_content?: string;
37
- ayoune_topic?: string;
38
- ayoune_region?: string;
39
- ayoune_cta?: string;
40
- ayoune_campaignname?: string;
41
- ayoune_campaign?: string;
42
- ayoune_interestbar?: string;
43
- ayoune_popup?: string;
44
- ayoune_feedback?: string;
45
- ayoune_rating?: string;
46
- ayoune_mail?: string;
47
- ayoune_newsletter?: string;
48
11
  }
@@ -1,5 +1,7 @@
1
1
  import { IDefaultFields } from "./IDefaultFields";
2
- export interface IClick extends IDefaultFields {
2
+ import { IaYOUneTrackingParams } from "./IaYOUneTrackingParams";
3
+ import { IGeoIPLocationTracking } from "./IGeoIPLocationTracking";
4
+ export interface IClick extends IaYOUneTrackingParams, IGeoIPLocationTracking, IDefaultFields {
3
5
  dataSource: string;
4
6
  _customerID: ObjectId;
5
7
  _clientID: ObjectId[];
@@ -9,22 +11,7 @@ export interface IClick extends IDefaultFields {
9
11
  _property?: ObjectId;
10
12
  _propertyKey?: string;
11
13
  channel?: string;
12
- device?: string;
13
- country?: string;
14
- query?: string;
15
- url?: string;
16
- adType?: string;
17
- ad?: string;
18
- isAd?: boolean;
19
- fingerprint?: string;
20
- referrer?: string;
21
- clicks?: number;
22
14
  impressions?: number;
23
15
  ctr?: number;
24
16
  position?: number;
25
- ip?: string;
26
- region?: string;
27
- city?: string;
28
- ll?: [number, number];
29
- timezone?: string;
30
17
  }
@@ -1,24 +1,10 @@
1
1
  import { IDefaultFields } from "./IDefaultFields";
2
- export interface ICloudTagView extends IDefaultFields {
2
+ import { IaYOUneTrackingParams } from "./IaYOUneTrackingParams";
3
+ import { IGeoIPLocationTracking } from "./IGeoIPLocationTracking";
4
+ export interface ICloudTagView extends IaYOUneTrackingParams, IGeoIPLocationTracking, IDefaultFields {
3
5
  _customerID: ObjectId;
4
6
  _clientID?: ObjectId[];
5
7
  _subID?: ObjectId[];
6
8
  type?: string;
7
9
  tag?: ObjectId;
8
- ayoune_fp?: any[];
9
- datetime?: Date;
10
- ip?: string;
11
- device?: string;
12
- country?: string;
13
- region?: string;
14
- city?: string;
15
- ll?: any[];
16
- timezone?: string;
17
- query?: string;
18
- url?: string;
19
- adType?: string;
20
- ad?: string;
21
- isAd?: boolean;
22
- fingerprint?: string;
23
- referrer?: string;
24
10
  }
@@ -2,6 +2,8 @@ import { IDemographics } from "./IDemographics";
2
2
  import { IAttributeValue } from "./IAttributeValue";
3
3
  import { IDefaultFields } from "./IDefaultFields";
4
4
  import { IFreeFields } from "./IFreeFields";
5
+ import { IGeoIPLocationTracking } from "./IGeoIPLocationTracking";
6
+ import { IaYOUneTrackingParams } from "./IaYOUneTrackingParams";
5
7
  interface IExperience {
6
8
  _company: ObjectId;
7
9
  from: Date;
@@ -201,7 +203,7 @@ interface IInterestedInCompanies {
201
203
  _company?: ObjectId;
202
204
  companyName?: string;
203
205
  }
204
- export interface IConsumer extends IDefaultFields, IFreeFields {
206
+ export interface IConsumer extends IDefaultFields, IFreeFields, IGeoIPLocationTracking, IaYOUneTrackingParams {
205
207
  _companyRef?: ObjectId;
206
208
  shortID: string;
207
209
  account_number?: string;
@@ -230,7 +232,6 @@ export interface IConsumer extends IDefaultFields, IFreeFields {
230
232
  score?: number;
231
233
  happiness?: number;
232
234
  engagement?: number;
233
- ayoune_fp?: string[];
234
235
  passport_number?: string;
235
236
  passport_date_of_issue?: Date;
236
237
  passport_expiry_date?: Date;
@@ -248,7 +249,6 @@ export interface IConsumer extends IDefaultFields, IFreeFields {
248
249
  preferredChannel?: string;
249
250
  preferredTimeFrom?: number;
250
251
  preferredTimeTo?: number;
251
- ayoune_ac?: string;
252
252
  editor?: ObjectId;
253
253
  currentCommunicationEditor?: ObjectId;
254
254
  team?: ObjectId[];
@@ -482,31 +482,6 @@ export interface IConsumer extends IDefaultFields, IFreeFields {
482
482
  rating?: string;
483
483
  owner?: string;
484
484
  sourcesite?: string;
485
- ayoune_source?: string;
486
- ayoune_medium?: string;
487
- ayoune_term?: string;
488
- ayoune_content?: string;
489
- ayoune_topic?: string;
490
- ayoune_region?: string;
491
- ayoune_cta?: string;
492
- ayoune_interestbar?: string;
493
- ayoune_popup?: string;
494
- ayoune_feedback?: string;
495
- ayoune_rating?: string;
496
- ayoune_campaignname?: string;
497
- ayoune_campaign?: string;
498
- ayoune_tag?: string;
499
- ayoune_app?: string;
500
- ayoune_bcn?: string;
501
- ayoune_event?: string;
502
- ayoune_mail?: string;
503
- ayoune_dashboard?: string;
504
- ayoune_landingpage?: string;
505
- ayoune_newsletter?: string;
506
- ayoune_agency?: string;
507
- ayoune_partner?: string;
508
- ayoune_form?: ObjectId;
509
- ayoune_formName?: string;
510
485
  iban?: string;
511
486
  bic?: string;
512
487
  accountholder?: string;
@@ -1,5 +1,7 @@
1
1
  import { IDefaultFields } from "./IDefaultFields";
2
- export interface IEmotionRating extends IDefaultFields {
2
+ import { IaYOUneTrackingParams } from "./IaYOUneTrackingParams";
3
+ import { IGeoIPLocationTracking } from "./IGeoIPLocationTracking";
4
+ export interface IEmotionRating extends IaYOUneTrackingParams, IGeoIPLocationTracking, IDefaultFields {
3
5
  _customerID: ObjectId;
4
6
  _clientID?: ObjectId[];
5
7
  _subID?: ObjectId[];
@@ -9,19 +11,4 @@ export interface IEmotionRating extends IDefaultFields {
9
11
  rating?: string;
10
12
  cta?: ObjectId;
11
13
  stat?: ObjectId;
12
- ayoune_fp?: string;
13
- datetime?: Date;
14
- ip?: string;
15
- device?: string;
16
- country?: string;
17
- region?: string;
18
- city?: string;
19
- ll?: any[];
20
- timezone?: string;
21
- query?: string;
22
- adType?: string;
23
- ad?: string;
24
- isAd?: boolean;
25
- fingerprint?: string;
26
- referrer?: string;
27
14
  }
@@ -1,22 +1,9 @@
1
1
  import { IDefaultFields } from "./IDefaultFields";
2
- export interface IFeedBackView extends IDefaultFields {
2
+ import { IaYOUneTrackingParams } from "./IaYOUneTrackingParams";
3
+ import { IGeoIPLocationTracking } from "./IGeoIPLocationTracking";
4
+ export interface IFeedBackView extends IaYOUneTrackingParams, IGeoIPLocationTracking, IDefaultFields {
3
5
  _customerID: ObjectId;
4
6
  _clientID?: ObjectId[];
5
7
  _subID?: ObjectId[];
6
8
  feedback?: ObjectId;
7
- datetime?: Date;
8
- ip?: string;
9
- device?: string;
10
- country?: string;
11
- region?: string;
12
- city?: string;
13
- ll?: any[];
14
- timezone?: string;
15
- query?: string;
16
- url?: string;
17
- adType?: string;
18
- ad?: string;
19
- isAd?: boolean;
20
- fingerprint?: string;
21
- referrer?: string;
22
9
  }
@@ -1,24 +1,10 @@
1
1
  import { IDefaultFields } from "./IDefaultFields";
2
- export interface IFormView extends IDefaultFields {
2
+ import { IaYOUneTrackingParams } from "./IaYOUneTrackingParams";
3
+ import { IGeoIPLocationTracking } from "./IGeoIPLocationTracking";
4
+ export interface IFormView extends IaYOUneTrackingParams, IGeoIPLocationTracking, IDefaultFields {
3
5
  _customerID: ObjectId;
4
6
  _clientID?: ObjectId[];
5
7
  _subID?: ObjectId[];
6
8
  form?: ObjectId;
7
- ayoune_fp?: any[];
8
- datetime?: Date;
9
- ip?: string;
10
- device?: string;
11
- country?: string;
12
- region?: string;
13
- city?: string;
14
- ll?: any[];
15
- timezone?: string;
16
- query?: string;
17
- url?: string;
18
- adType?: string;
19
- ad?: string;
20
- isAd?: boolean;
21
- fingerprint?: string;
22
- referrer?: string;
23
9
  viewMode?: string;
24
10
  }
@@ -1,12 +1,17 @@
1
- export interface IGeoIPLocation {
2
- ip: string;
3
- range: number[];
4
- country: string;
5
- region: string;
6
- eu: string;
7
- timezone: string;
8
- city: string;
9
- ll: number[];
10
- metro: number;
11
- area: number;
1
+ export interface IGeoIPLocationTracking {
2
+ ip?: string;
3
+ range?: number[];
4
+ country?: string;
5
+ region?: string;
6
+ eu?: string;
7
+ timezone?: string;
8
+ city?: string;
9
+ ll?: number[];
10
+ metro?: number;
11
+ area?: number;
12
+ device?: string;
13
+ query?: string;
14
+ url?: string;
15
+ fingerprint?: string;
16
+ referrer?: string;
12
17
  }
@@ -0,0 +1,25 @@
1
+ export interface IGeoIPLocationTracking {
2
+ ip?: string;
3
+ range?: number[];
4
+ country?: string;
5
+ region?: string;
6
+ eu?: string;
7
+ timezone?: string;
8
+ city?: string;
9
+ ll?: number[];
10
+ metro?: number;
11
+ area?: number;
12
+ device?: string;
13
+ query?: string;
14
+ url?: string;
15
+ fingerprint?: string;
16
+ referrer?: string;
17
+ adType?: string;
18
+ ad?: string;
19
+ isAd?: boolean;
20
+ trafficType: string;
21
+ network: string;
22
+ mailClient: string;
23
+ searchEngine: string;
24
+ site: string;
25
+ }
@@ -0,0 +1,2 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -1,5 +1,7 @@
1
1
  import { IDefaultFields } from "./IDefaultFields";
2
- export interface IImpression extends IDefaultFields {
2
+ import { IaYOUneTrackingParams } from "./IaYOUneTrackingParams";
3
+ import { IGeoIPLocationTracking } from "./IGeoIPLocationTracking";
4
+ export interface IImpression extends IaYOUneTrackingParams, IGeoIPLocationTracking, IDefaultFields {
3
5
  dataSource: string;
4
6
  _customerID: ObjectId;
5
7
  _clientID?: ObjectId[];
@@ -9,15 +11,6 @@ export interface IImpression extends IDefaultFields {
9
11
  _property?: ObjectId;
10
12
  _propertyKey?: string;
11
13
  channel?: string;
12
- device?: string;
13
- country?: string;
14
- query?: string;
15
- url?: string;
16
- adType?: string;
17
- ad?: string;
18
- isAd?: boolean;
19
- fingerprint?: string;
20
- referrer?: string;
21
14
  clicks?: number;
22
15
  impressions?: number;
23
16
  ctr?: number;
@@ -1,22 +1,10 @@
1
1
  import { IDefaultFields } from "./IDefaultFields";
2
- export interface IInterestBarClick extends IDefaultFields {
2
+ import { IaYOUneTrackingParams } from "./IaYOUneTrackingParams";
3
+ import { IGeoIPLocationTracking } from "./IGeoIPLocationTracking";
4
+ export interface IInterestBarClick extends IaYOUneTrackingParams, IGeoIPLocationTracking, IDefaultFields {
3
5
  _customerID: ObjectId;
4
6
  _clientID?: ObjectId[];
5
7
  _subID?: ObjectId[];
6
8
  bar?: ObjectId;
7
9
  datetime?: Date;
8
- referrer?: string;
9
- ip?: string;
10
- device?: string;
11
- country?: string;
12
- region?: string;
13
- city?: string;
14
- ll?: number[];
15
- timezone?: string;
16
- query?: string;
17
- url?: string;
18
- adType?: string;
19
- ad?: string;
20
- isAd?: boolean;
21
- fingerprint?: string;
22
10
  }
@@ -1,23 +1,9 @@
1
1
  import { IDefaultFields } from "./IDefaultFields";
2
- export interface IInterestBarView extends IDefaultFields {
2
+ import { IaYOUneTrackingParams } from "./IaYOUneTrackingParams";
3
+ import { IGeoIPLocationTracking } from "./IGeoIPLocationTracking";
4
+ export interface IInterestBarView extends IaYOUneTrackingParams, IGeoIPLocationTracking, IDefaultFields {
3
5
  _customerID: ObjectId;
4
6
  _clientID: ObjectId[];
5
7
  _subID: ObjectId[];
6
8
  bar: ObjectId;
7
- ayoune_fp?: string;
8
- datetime?: Date;
9
- ip?: string;
10
- device?: string;
11
- country?: string;
12
- region?: string;
13
- city?: string;
14
- ll?: any[];
15
- timezone?: string;
16
- query?: string;
17
- url?: string;
18
- adType?: string;
19
- ad?: string;
20
- isAd?: boolean;
21
- fingerprint?: string;
22
- referrer?: string;
23
9
  }
@@ -1,47 +1,10 @@
1
1
  import { IDefaultFields } from "./IDefaultFields";
2
- export interface ILinkPortalClick extends IDefaultFields {
2
+ import { IaYOUneTrackingParams } from "./IaYOUneTrackingParams";
3
+ import { IGeoIPLocationTracking } from "./IGeoIPLocationTracking";
4
+ export interface ILinkPortalClick extends IaYOUneTrackingParams, IGeoIPLocationTracking, IDefaultFields {
3
5
  _customerID: ObjectId;
4
6
  _clientID?: ObjectId[];
5
7
  _subID?: ObjectId[];
6
8
  _linkID?: ObjectId;
7
9
  channel?: string;
8
- ip?: string;
9
- device?: string;
10
- country?: string;
11
- region?: string;
12
- city?: string;
13
- ll?: any[];
14
- timezone?: string;
15
- query?: string;
16
- url?: string;
17
- adType?: string;
18
- ad?: string;
19
- isAd?: boolean;
20
- fingerprint?: string;
21
- referrer?: string;
22
- ayoune_params?: any[];
23
- ayoune_ref?: string;
24
- ayoune_loc?: string;
25
- ayoune_hn?: string;
26
- ayouneParams?: string;
27
- ayoune_source?: string;
28
- ayoune_medium?: string;
29
- ayoune_tag?: string;
30
- ayoune_app?: string;
31
- ayoune_bcn?: string;
32
- ayoune_push?: string;
33
- ayoune_chat?: string;
34
- ayoune_term?: string;
35
- ayoune_content?: string;
36
- ayoune_topic?: string;
37
- ayoune_region?: string;
38
- ayoune_cta?: string;
39
- ayoune_campaignname?: string;
40
- ayoune_campaign?: string;
41
- ayoune_interestbar?: string;
42
- ayoune_popup?: string;
43
- ayoune_feedback?: string;
44
- ayoune_rating?: string;
45
- ayoune_mail?: string;
46
- ayoune_newsletter?: string;
47
10
  }
@@ -1,46 +1,9 @@
1
1
  import { IDefaultFields } from "./IDefaultFields";
2
- export interface ILinkPortalView extends IDefaultFields {
2
+ import { IaYOUneTrackingParams } from "./IaYOUneTrackingParams";
3
+ import { IGeoIPLocationTracking } from "./IGeoIPLocationTracking";
4
+ export interface ILinkPortalView extends IaYOUneTrackingParams, IGeoIPLocationTracking, IDefaultFields {
3
5
  _customerID: ObjectId;
4
6
  _clientID: ObjectId[];
5
7
  _subID: ObjectId[];
6
8
  channel: string;
7
- ip: string;
8
- device: string;
9
- country: string;
10
- region: string;
11
- city: string;
12
- ll: any[];
13
- timezone: string;
14
- query: string;
15
- url: string;
16
- adType: string;
17
- ad: string;
18
- isAd: boolean;
19
- fingerprint: string;
20
- referrer: string;
21
- ayoune_params: any[];
22
- ayoune_ref: string;
23
- ayoune_loc: string;
24
- ayoune_hn: string;
25
- ayouneParams: string;
26
- ayoune_source: string;
27
- ayoune_medium: string;
28
- ayoune_tag: string;
29
- ayoune_app: string;
30
- ayoune_bcn: string;
31
- ayoune_push: string;
32
- ayoune_chat: string;
33
- ayoune_term: string;
34
- ayoune_content: string;
35
- ayoune_topic: string;
36
- ayoune_region: string;
37
- ayoune_cta: string;
38
- ayoune_campaignname: string;
39
- ayoune_campaign: string;
40
- ayoune_interestbar: string;
41
- ayoune_popup: string;
42
- ayoune_feedback: string;
43
- ayoune_rating: string;
44
- ayoune_mail: string;
45
- ayoune_newsletter: string;
46
9
  }
@@ -1,22 +1,10 @@
1
1
  import { IDefaultFields } from "./IDefaultFields";
2
- export interface IMailClick extends IDefaultFields {
2
+ import { IaYOUneTrackingParams } from "./IaYOUneTrackingParams";
3
+ import { IGeoIPLocationTracking } from "./IGeoIPLocationTracking";
4
+ export interface IMailClick extends IaYOUneTrackingParams, IGeoIPLocationTracking, IDefaultFields {
3
5
  mail?: ObjectId;
4
6
  consumer?: ObjectId;
5
7
  destination?: string;
6
8
  linkid?: number;
7
9
  key?: string;
8
- ip?: string;
9
- device?: string;
10
- country?: string;
11
- region?: string;
12
- city?: string;
13
- ll?: any[];
14
- timezone?: string;
15
- query?: string;
16
- url?: string;
17
- adType?: string;
18
- ad?: string;
19
- isAd?: boolean;
20
- fingerprint?: string;
21
- referrer?: string;
22
10
  }
@@ -1,23 +1,10 @@
1
1
  import { IDefaultFields } from "./IDefaultFields";
2
- export interface INewsletterClick extends IDefaultFields {
2
+ import { IaYOUneTrackingParams } from "./IaYOUneTrackingParams";
3
+ import { IGeoIPLocationTracking } from "./IGeoIPLocationTracking";
4
+ export interface INewsletterClick extends IaYOUneTrackingParams, IGeoIPLocationTracking, IDefaultFields {
3
5
  newsletter?: ObjectId;
4
- consumer?: ObjectId;
6
+ _consumerID?: ObjectId;
5
7
  destination?: string;
6
8
  linkid?: number;
7
9
  key?: string;
8
- datetime?: Date;
9
- ip?: string;
10
- device?: string;
11
- country?: string;
12
- region?: string;
13
- city?: string;
14
- ll?: [number, number];
15
- timezone?: string;
16
- query?: string;
17
- url?: string;
18
- adType?: string;
19
- ad?: string;
20
- isAd?: boolean;
21
- fingerprint?: string;
22
- referrer?: string;
23
10
  }
@@ -1,23 +1,10 @@
1
1
  import { IDefaultFields } from "./IDefaultFields";
2
- export interface IPopupClick extends IDefaultFields {
2
+ import { IaYOUneTrackingParams } from "./IaYOUneTrackingParams";
3
+ import { IGeoIPLocationTracking } from "./IGeoIPLocationTracking";
4
+ export interface IPopupClick extends IaYOUneTrackingParams, IGeoIPLocationTracking, IDefaultFields {
3
5
  _customerID: ObjectId;
4
6
  _clientID?: ObjectId[];
5
7
  _subID?: ObjectId[];
6
8
  type?: string;
7
9
  popup?: ObjectId;
8
- datetime?: Date;
9
- ip?: string;
10
- device?: string;
11
- country?: string;
12
- region?: string;
13
- city?: string;
14
- ll?: number[];
15
- timezone?: string;
16
- query?: string;
17
- url?: string;
18
- adType?: string;
19
- ad?: string;
20
- isAd?: boolean;
21
- fingerprint?: string;
22
- referrer?: string;
23
10
  }
@@ -1,24 +1,10 @@
1
1
  import { IDefaultFields } from "./IDefaultFields";
2
- export interface IPopupView extends IDefaultFields {
2
+ import { IaYOUneTrackingParams } from "./IaYOUneTrackingParams";
3
+ import { IGeoIPLocationTracking } from "./IGeoIPLocationTracking";
4
+ export interface IPopupView extends IaYOUneTrackingParams, IGeoIPLocationTracking, IDefaultFields {
3
5
  _customerID: ObjectId;
4
6
  _clientID?: ObjectId[];
5
7
  _subID?: ObjectId[];
6
8
  type?: string;
7
9
  popup?: ObjectId;
8
- ayoune_fp?: string;
9
- datetime?: Date;
10
- ip?: string;
11
- device?: string;
12
- country?: string;
13
- region?: string;
14
- city?: string;
15
- ll?: number[];
16
- timezone?: string;
17
- query?: string;
18
- url?: string;
19
- adType?: string;
20
- ad?: string;
21
- isAd?: boolean;
22
- fingerprint?: string;
23
- referrer?: string;
24
10
  }
@@ -1,23 +1,10 @@
1
1
  import { IDefaultFields } from "./IDefaultFields";
2
- export interface IPushClick extends IDefaultFields {
2
+ import { IaYOUneTrackingParams } from "./IaYOUneTrackingParams";
3
+ import { IGeoIPLocationTracking } from "./IGeoIPLocationTracking";
4
+ export interface IPushClick extends IaYOUneTrackingParams, IGeoIPLocationTracking, IDefaultFields {
3
5
  _customerID: ObjectId;
4
6
  _clientID?: string;
5
7
  _subID?: string;
6
8
  subscriptionId?: string;
7
9
  notificationTag?: string;
8
- datetime?: Date;
9
- ip?: string;
10
- device?: string;
11
- country?: string;
12
- region?: string;
13
- city?: string;
14
- ll?: [number, number];
15
- timezone?: string;
16
- query?: string;
17
- url?: string;
18
- adType?: string;
19
- ad?: string;
20
- isAd?: boolean;
21
- fingerprint?: string;
22
- referrer?: string;
23
10
  }
@@ -1,24 +1,9 @@
1
1
  import { IDefaultFields } from "./IDefaultFields";
2
- export interface IQuestionView extends IDefaultFields {
2
+ import { IaYOUneTrackingParams } from "./IaYOUneTrackingParams";
3
+ import { IGeoIPLocationTracking } from "./IGeoIPLocationTracking";
4
+ export interface IQuestionView extends IaYOUneTrackingParams, IGeoIPLocationTracking, IDefaultFields {
3
5
  _customerID: ObjectId;
4
6
  _clientID?: ObjectId[];
5
7
  _subID?: ObjectId[];
6
8
  question?: ObjectId;
7
- ayoune_fp?: any[];
8
- datetime?: Date;
9
- ip?: string;
10
- device?: string;
11
- country?: string;
12
- region?: string;
13
- city?: string;
14
- ll?: any[];
15
- timezone?: string;
16
- query?: string;
17
- url?: string;
18
- adType?: string;
19
- ad?: string;
20
- isAd?: boolean;
21
- fingerprint?: string;
22
- referrer?: string;
23
- viewMode?: string;
24
9
  }
@@ -1,5 +1,7 @@
1
1
  import { IDefaultFields } from "./IDefaultFields";
2
- export interface IShopClick extends IDefaultFields {
2
+ import { IaYOUneTrackingParams } from "./IaYOUneTrackingParams";
3
+ import { IGeoIPLocationTracking } from "./IGeoIPLocationTracking";
4
+ export interface IShopClick extends IaYOUneTrackingParams, IGeoIPLocationTracking, IDefaultFields {
3
5
  _customerID: ObjectId;
4
6
  _clientID?: ObjectId[];
5
7
  _subID?: ObjectId[];
@@ -11,30 +13,4 @@ export interface IShopClick extends IDefaultFields {
11
13
  revenueDefault?: number;
12
14
  revenueEstimated?: number;
13
15
  revenueApproved?: number;
14
- ayoune_params?: any[];
15
- ayoune_source?: string;
16
- ayoune_medium?: string;
17
- ayoune_term?: string;
18
- ayoune_content?: string;
19
- ayoune_topic?: string;
20
- ayoune_region?: string;
21
- ayoune_cta?: string;
22
- ayoune_campaignname?: string;
23
- ayoune_campaign?: string;
24
- ayoune_mail?: string;
25
- ayoune_newsletter?: string;
26
- ip?: string;
27
- device?: string;
28
- country?: string;
29
- region?: string;
30
- city?: string;
31
- ll?: any[];
32
- timezone?: string;
33
- query?: string;
34
- url?: string;
35
- adType?: string;
36
- ad?: string;
37
- isAd?: boolean;
38
- fingerprint?: string;
39
- referrer?: string;
40
16
  }
@@ -1,47 +1,10 @@
1
1
  import { IDefaultFields } from "./IDefaultFields";
2
- export interface IShortLinkClick extends IDefaultFields {
2
+ import { IaYOUneTrackingParams } from "./IaYOUneTrackingParams";
3
+ import { IGeoIPLocationTracking } from "./IGeoIPLocationTracking";
4
+ export interface IShortLinkClick extends IaYOUneTrackingParams, IGeoIPLocationTracking, IDefaultFields {
3
5
  _customerID: ObjectId;
4
6
  _clientID?: ObjectId[];
5
7
  _subID?: ObjectId[];
6
8
  _shortLink?: ObjectId;
7
9
  channel: string;
8
- device: string;
9
- country: string;
10
- query: string;
11
- ip: string;
12
- region: string;
13
- city: string;
14
- ll: number[];
15
- timezone: string;
16
- url: string;
17
- adType: string;
18
- ad: string;
19
- isAd: boolean;
20
- fingerprint: string;
21
- referrer: string;
22
- ayoune_params: any[];
23
- ayoune_ref: string;
24
- ayoune_loc: string;
25
- ayoune_hn: string;
26
- ayouneParams: string;
27
- ayoune_source: string;
28
- ayoune_medium: string;
29
- ayoune_tag: string;
30
- ayoune_app: string;
31
- ayoune_bcn: string;
32
- ayoune_push: string;
33
- ayoune_chat: string;
34
- ayoune_term: string;
35
- ayoune_content: string;
36
- ayoune_topic: string;
37
- ayoune_region: string;
38
- ayoune_cta: string;
39
- ayoune_campaignname: string;
40
- ayoune_campaign: string;
41
- ayoune_interestbar: string;
42
- ayoune_popup: string;
43
- ayoune_feedback: string;
44
- ayoune_rating: string;
45
- ayoune_mail: string;
46
- ayoune_newsletter: string;
47
10
  }
@@ -1,5 +1,7 @@
1
1
  import { IDefaultFields } from "./IDefaultFields";
2
- export interface IStoreView extends IDefaultFields {
2
+ import { IaYOUneTrackingParams } from "./IaYOUneTrackingParams";
3
+ import { IGeoIPLocationTracking } from "./IGeoIPLocationTracking";
4
+ export interface IStoreView extends IaYOUneTrackingParams, IGeoIPLocationTracking, IDefaultFields {
3
5
  _customerID: ObjectId;
4
6
  _clientID?: ObjectId[];
5
7
  _subID?: ObjectId[];
@@ -7,5 +9,4 @@ export interface IStoreView extends IDefaultFields {
7
9
  product: string;
8
10
  category: string;
9
11
  brand: string;
10
- fingerprint?: string;
11
12
  }
@@ -3,6 +3,14 @@ interface IStreamPart {
3
3
  _file?: ObjectId;
4
4
  fileId?: string;
5
5
  fileName?: string;
6
+ label?: string;
7
+ }
8
+ interface IStreamMeta {
9
+ sampleRate?: number;
10
+ size?: number;
11
+ fileType?: string;
12
+ totalDuration?: number;
13
+ waveformData?: any[];
6
14
  }
7
15
  export interface IStream extends IDefaultFields {
8
16
  _customerID: ObjectId;
@@ -10,10 +18,12 @@ export interface IStream extends IDefaultFields {
10
18
  _subID?: ObjectId[];
11
19
  type?: "audio" | "video";
12
20
  _product: ObjectId;
21
+ productName?: string;
13
22
  name?: string;
14
23
  slug?: string;
15
24
  totalPlays?: number;
16
25
  totalPlayTime?: number;
17
26
  parts: IStreamPart[];
27
+ meta: IStreamMeta;
18
28
  }
19
29
  export {};
@@ -1,4 +1,6 @@
1
1
  import { IDefaultFields } from "./IDefaultFields";
2
+ import { IGeoIPLocationTracking } from "./IGeoIPLocationTracking";
3
+ import { IaYOUneTrackingParams } from "./IaYOUneTrackingParams";
2
4
  interface IStreamLogEvent {
3
5
  _file?: ObjectId;
4
6
  timeStamp?: Date;
@@ -7,7 +9,7 @@ interface IStreamLogEvent {
7
9
  chunkSize?: number;
8
10
  playDuration?: number;
9
11
  }
10
- export interface IStreamLog extends IDefaultFields {
12
+ export interface IStreamLog extends IGeoIPLocationTracking, IaYOUneTrackingParams, IDefaultFields {
11
13
  _customerID: ObjectId;
12
14
  _clientID?: ObjectId[];
13
15
  _subID?: ObjectId[];
@@ -22,45 +24,10 @@ export interface IStreamLog extends IDefaultFields {
22
24
  playDuration?: number;
23
25
  completed?: boolean;
24
26
  events: IStreamLogEvent[];
25
- ip?: string;
26
27
  device?: string;
27
- country?: string;
28
- region?: string;
29
- city?: string;
30
- ll?: number[];
31
- timezone?: string;
32
28
  query?: string;
33
29
  url?: string;
34
30
  ad?: string;
35
31
  isAd?: boolean;
36
- fingerprint?: string;
37
- referrer?: string;
38
- ayoune_source?: string;
39
- ayoune_medium?: string;
40
- ayoune_term?: string;
41
- ayoune_content?: string;
42
- ayoune_topic?: string;
43
- ayoune_region?: string;
44
- ayoune_cta?: string;
45
- ayoune_campaignname?: string;
46
- ayoune_campaign?: string;
47
- ayoune_mail?: string;
48
- ayoune_newsletter?: string;
49
- ayoune_referrer?: string;
50
- ayouneParams?: any;
51
- ayoune_tag?: string;
52
- ayoune_app?: string;
53
- ayoune_bcn?: string;
54
- ayoune_push?: string;
55
- ayoune_chat?: string;
56
- ayoune_dashboard?: string;
57
- ayoune_landingpage?: string;
58
- ayoune_form?: string;
59
- ayoune_question?: string;
60
- ayoune_interestbar?: string;
61
- ayoune_popup?: string;
62
- ayoune_feedback?: string;
63
- ayoune_rating?: string;
64
- ayoune_mail_link_id?: string;
65
32
  }
66
33
  export {};
@@ -1,6 +1,7 @@
1
1
  import { IDefaultFields } from "./IDefaultFields";
2
- import { IGeoIPLocation } from "./IGeoIPLocation";
3
- export interface IUsageLog extends IGeoIPLocation, IDefaultFields {
2
+ import { IGeoIPLocationTracking } from "./IGeoIPLocationTracking";
3
+ import { IaYOUneTrackingParams } from "./IaYOUneTrackingParams";
4
+ export interface IUsageLog extends IGeoIPLocationTracking, IaYOUneTrackingParams, IDefaultFields {
4
5
  _customerID?: ObjectId;
5
6
  _clientID?: ObjectId[];
6
7
  _subID?: ObjectId[];
@@ -1,4 +1,6 @@
1
1
  import { IDefaultFields } from "./IDefaultFields";
2
+ import { IaYOUneTrackingParams } from "./IaYOUneTrackingParams";
3
+ import { IGeoIPLocationTracking } from "./IGeoIPLocationTracking";
2
4
  interface IFormFields {
3
5
  n: string;
4
6
  v: string;
@@ -16,28 +18,11 @@ interface IForms {
16
18
  method: string;
17
19
  fields: IFormFields[];
18
20
  }
19
- export interface IView extends IDefaultFields {
21
+ export interface IView extends IaYOUneTrackingParams, IGeoIPLocationTracking, IDefaultFields {
20
22
  _customerID: ObjectId;
21
23
  _clientID?: ObjectId[];
22
24
  _subID?: ObjectId[];
23
- ip: string;
24
- device: string;
25
- country: string;
26
- region: string;
27
- city: string;
28
- ll: number[];
29
- timezone: string;
30
- query: string;
31
- url: string;
32
- adType: string;
33
- ad: string;
34
- isAd: boolean;
35
- fingerprint: string;
36
- referrer: string;
37
- ayoune_ac: string;
38
25
  ayoune_sess: string;
39
- ayoune_ucd: string;
40
- ayoune_fp: string;
41
26
  ayoune_title: string;
42
27
  ayoune_loc: string;
43
28
  ayoune_hn: string;
@@ -75,41 +60,7 @@ export interface IView extends IDefaultFields {
75
60
  duration: string;
76
61
  activetime: string;
77
62
  idletime: string;
78
- ayoune_actions: any[];
79
- ayoune_params: any[];
80
- ayoune_source: string;
81
- ayoune_medium: string;
82
- ayoune_term: string;
83
- ayoune_content: string;
84
- ayoune_topic: string;
85
- ayoune_region: string;
86
- ayoune_cta: string;
87
- ayoune_campaignname: string;
88
- ayoune_campaign: string;
89
- ayoune_mail: string;
90
- ayoune_newsletter: string;
91
- ayoune_referrer: string;
92
- ayouneParams: any;
93
- ayoune_tag: string;
94
- ayoune_app: string;
95
- ayoune_bcn: string;
96
- ayoune_push: string;
97
- ayoune_chat: string;
98
- ayoune_dashboard: string;
99
- ayoune_landingpage: string;
100
- ayoune_form: string;
101
- ayoune_question: string;
102
- ayoune_interestbar: string;
103
- ayoune_popup: string;
104
- ayoune_feedback: string;
105
- ayoune_rating: string;
106
- ayoune_mail_link_id: string;
107
63
  forms: IForms[];
108
64
  rawforms: any[];
109
- traffictype: string;
110
- network: string;
111
- mailclient: string;
112
- searchengine: string;
113
- site: string;
114
65
  }
115
66
  export {};
@@ -0,0 +1,41 @@
1
+ export interface IaYOUneTrackingParams {
2
+ ayoune_ac?: string;
3
+ ayoune_ucd?: string;
4
+ ayoune_fp?: string[] | string;
5
+ ayoune_source?: string;
6
+ ayoune_medium?: string;
7
+ ayoune_term?: string;
8
+ ayoune_content?: string;
9
+ ayoune_topic?: string;
10
+ ayoune_region?: string;
11
+ ayoune_cta?: string;
12
+ ayoune_campaignname?: string;
13
+ ayoune_campaign?: string;
14
+ ayoune_mail?: string;
15
+ ayoune_newsletter?: string;
16
+ ayoune_referrer?: string;
17
+ ayouneParams?: any;
18
+ ayoune_tag?: string;
19
+ ayoune_app?: string;
20
+ ayoune_bcn?: string;
21
+ ayoune_push?: string;
22
+ ayoune_chat?: string;
23
+ ayoune_dashboard?: string;
24
+ ayoune_landingpage?: string;
25
+ ayoune_form?: string;
26
+ ayoune_formName?: string;
27
+ ayoune_question?: string;
28
+ ayoune_interestbar?: string;
29
+ ayoune_popup?: string;
30
+ ayoune_feedback?: string;
31
+ ayoune_rating?: string;
32
+ ayoune_mail_link_id?: string;
33
+ ayoune_event?: string;
34
+ ayoune_agency?: string;
35
+ ayoune_partner?: string;
36
+ ayoune_actions: any[];
37
+ ayoune_params: any[];
38
+ ayoune_ref?: string;
39
+ ayoune_loc?: string;
40
+ ayoune_hn?: string;
41
+ }
@@ -0,0 +1,2 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -275,7 +275,7 @@ export * from "./IFormView";
275
275
  export * from "./IFractureMessage";
276
276
  export * from "./IFreeFields";
277
277
  export * from "./IGeneration";
278
- export * from "./IGeoIPLocation";
278
+ export * from "./IGeoIPLocationTracking";
279
279
  export * from "./IGlobalCheck";
280
280
  export * from "./IGlobalKPI";
281
281
  export * from "./IGlobalKPITemplate";
@@ -291,7 +291,7 @@ __exportStar(require("./IFormView"), exports);
291
291
  __exportStar(require("./IFractureMessage"), exports);
292
292
  __exportStar(require("./IFreeFields"), exports);
293
293
  __exportStar(require("./IGeneration"), exports);
294
- __exportStar(require("./IGeoIPLocation"), exports);
294
+ __exportStar(require("./IGeoIPLocationTracking"), exports);
295
295
  __exportStar(require("./IGlobalCheck"), exports);
296
296
  __exportStar(require("./IGlobalKPI"), exports);
297
297
  __exportStar(require("./IGlobalKPITemplate"), exports);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@tolinax/ayoune-interfaces",
3
- "version": "2024.65.0",
3
+ "version": "2024.66.1",
4
4
  "description": "Houses TypeScript interfaces for aYOUne",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",