@adtrackify/at-tracking-event-types 3.0.32 → 3.0.33

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 (145) hide show
  1. package/dist/cjs/index.d.ts +1 -1
  2. package/dist/cjs/index.js +17 -17
  3. package/dist/cjs/types/api/account.d.ts +37 -37
  4. package/dist/cjs/types/api/account.js +9 -9
  5. package/dist/cjs/types/api/destination-tracked-events.d.ts +11 -11
  6. package/dist/cjs/types/api/destination-tracked-events.js +3 -3
  7. package/dist/cjs/types/api/destinations/destination-catalog.d.ts +30 -30
  8. package/dist/cjs/types/api/destinations/destination-catalog.js +2 -2
  9. package/dist/cjs/types/api/destinations/destinations.d.ts +73 -73
  10. package/dist/cjs/types/api/destinations/destinations.js +29 -29
  11. package/dist/cjs/types/api/destinations/third-party-destination-configs.d.ts +75 -75
  12. package/dist/cjs/types/api/destinations/third-party-destination-configs.js +9 -9
  13. package/dist/cjs/types/api/event-last-seen.d.ts +6 -6
  14. package/dist/cjs/types/api/event-last-seen.js +2 -2
  15. package/dist/cjs/types/api/event-status.d.ts +18 -18
  16. package/dist/cjs/types/api/event-status.js +9 -9
  17. package/dist/cjs/types/api/index.d.ts +14 -14
  18. package/dist/cjs/types/api/index.js +30 -30
  19. package/dist/cjs/types/api/log-events.d.ts +16 -16
  20. package/dist/cjs/types/api/log-events.js +2 -2
  21. package/dist/cjs/types/api/pixel-setup-health.d.ts +19 -19
  22. package/dist/cjs/types/api/pixel-setup-health.js +2 -2
  23. package/dist/cjs/types/api/query.d.ts +160 -160
  24. package/dist/cjs/types/api/query.js +110 -110
  25. package/dist/cjs/types/api/shopify-app-install.d.ts +47 -47
  26. package/dist/cjs/types/api/shopify-app-install.js +22 -22
  27. package/dist/cjs/types/api/subscription.d.ts +97 -97
  28. package/dist/cjs/types/api/subscription.js +36 -36
  29. package/dist/cjs/types/api/tracking-events.d.ts +11 -14
  30. package/dist/cjs/types/api/tracking-events.js +2 -2
  31. package/dist/cjs/types/api/user.d.ts +13 -13
  32. package/dist/cjs/types/api/user.js +2 -2
  33. package/dist/cjs/types/common/address.d.ts +15 -15
  34. package/dist/cjs/types/common/address.js +2 -2
  35. package/dist/cjs/types/common/currency.d.ts +1 -1
  36. package/dist/cjs/types/common/currency.js +63 -63
  37. package/dist/cjs/types/common/index.d.ts +2 -2
  38. package/dist/cjs/types/common/index.js +18 -18
  39. package/dist/cjs/types/event/base/event-name-enum.d.ts +54 -54
  40. package/dist/cjs/types/event/base/event-name-enum.js +60 -60
  41. package/dist/cjs/types/event/base/event.d.ts +20 -20
  42. package/dist/cjs/types/event/base/event.js +10 -10
  43. package/dist/cjs/types/event/base/index.d.ts +2 -2
  44. package/dist/cjs/types/event/base/index.js +18 -18
  45. package/dist/cjs/types/event/context/event-context-identity.d.ts +17 -17
  46. package/dist/cjs/types/event/context/event-context-identity.js +2 -2
  47. package/dist/cjs/types/event/context/event-context.d.ts +160 -160
  48. package/dist/cjs/types/event/context/event-context.js +2 -2
  49. package/dist/cjs/types/event/context/index.d.ts +2 -2
  50. package/dist/cjs/types/event/context/index.js +18 -18
  51. package/dist/cjs/types/event/index.d.ts +5 -5
  52. package/dist/cjs/types/event/index.js +21 -21
  53. package/dist/cjs/types/event/log-event.d.ts +35 -35
  54. package/dist/cjs/types/event/log-event.js +22 -22
  55. package/dist/cjs/types/event/metric-event.d.ts +13 -13
  56. package/dist/cjs/types/event/metric-event.js +2 -2
  57. package/dist/cjs/types/event/tracking-event.d.ts +62 -64
  58. package/dist/cjs/types/event/tracking-event.js +2 -2
  59. package/dist/cjs/types/event-bus-event.d.ts +25 -25
  60. package/dist/cjs/types/event-bus-event.js +2 -2
  61. package/dist/cjs/types/fingerprint/browser-attributes.d.ts +60 -60
  62. package/dist/cjs/types/fingerprint/browser-attributes.js +2 -2
  63. package/dist/cjs/types/fingerprint/index.d.ts +6 -6
  64. package/dist/cjs/types/fingerprint/index.js +18 -18
  65. package/dist/cjs/types/fingerprint/server-attributes.d.ts +50 -50
  66. package/dist/cjs/types/fingerprint/server-attributes.js +2 -2
  67. package/dist/cjs/types/index.d.ts +7 -7
  68. package/dist/cjs/types/index.js +23 -23
  69. package/dist/cjs/types/third-party-event-configuration-types.d.ts +10 -10
  70. package/dist/cjs/types/third-party-event-configuration-types.js +2 -2
  71. package/dist/cjs/types/tracking-event-ingest-message.d.ts +10 -10
  72. package/dist/cjs/types/tracking-event-ingest-message.js +2 -2
  73. package/dist/esm/index.d.ts +1 -1
  74. package/dist/esm/index.js +1 -1
  75. package/dist/esm/types/api/account.d.ts +37 -37
  76. package/dist/esm/types/api/account.js +6 -6
  77. package/dist/esm/types/api/destination-tracked-events.d.ts +11 -11
  78. package/dist/esm/types/api/destination-tracked-events.js +1 -1
  79. package/dist/esm/types/api/destinations/destination-catalog.d.ts +30 -30
  80. package/dist/esm/types/api/destinations/destination-catalog.js +1 -1
  81. package/dist/esm/types/api/destinations/destinations.d.ts +73 -73
  82. package/dist/esm/types/api/destinations/destinations.js +26 -26
  83. package/dist/esm/types/api/destinations/third-party-destination-configs.d.ts +75 -75
  84. package/dist/esm/types/api/destinations/third-party-destination-configs.js +6 -6
  85. package/dist/esm/types/api/event-last-seen.d.ts +6 -6
  86. package/dist/esm/types/api/event-last-seen.js +1 -1
  87. package/dist/esm/types/api/event-status.d.ts +18 -18
  88. package/dist/esm/types/api/event-status.js +6 -6
  89. package/dist/esm/types/api/index.d.ts +14 -14
  90. package/dist/esm/types/api/index.js +14 -14
  91. package/dist/esm/types/api/log-events.d.ts +16 -16
  92. package/dist/esm/types/api/log-events.js +1 -1
  93. package/dist/esm/types/api/pixel-setup-health.d.ts +19 -19
  94. package/dist/esm/types/api/pixel-setup-health.js +1 -1
  95. package/dist/esm/types/api/query.d.ts +160 -160
  96. package/dist/esm/types/api/query.js +107 -107
  97. package/dist/esm/types/api/shopify-app-install.d.ts +47 -47
  98. package/dist/esm/types/api/shopify-app-install.js +19 -19
  99. package/dist/esm/types/api/subscription.d.ts +97 -97
  100. package/dist/esm/types/api/subscription.js +33 -33
  101. package/dist/esm/types/api/tracking-events.d.ts +11 -14
  102. package/dist/esm/types/api/tracking-events.js +1 -1
  103. package/dist/esm/types/api/user.d.ts +13 -13
  104. package/dist/esm/types/api/user.js +1 -1
  105. package/dist/esm/types/common/address.d.ts +15 -15
  106. package/dist/esm/types/common/address.js +1 -1
  107. package/dist/esm/types/common/currency.d.ts +1 -1
  108. package/dist/esm/types/common/currency.js +60 -60
  109. package/dist/esm/types/common/index.d.ts +2 -2
  110. package/dist/esm/types/common/index.js +2 -2
  111. package/dist/esm/types/event/base/event-name-enum.d.ts +54 -54
  112. package/dist/esm/types/event/base/event-name-enum.js +57 -57
  113. package/dist/esm/types/event/base/event.d.ts +20 -20
  114. package/dist/esm/types/event/base/event.js +7 -7
  115. package/dist/esm/types/event/base/index.d.ts +2 -2
  116. package/dist/esm/types/event/base/index.js +2 -2
  117. package/dist/esm/types/event/context/event-context-identity.d.ts +17 -17
  118. package/dist/esm/types/event/context/event-context-identity.js +1 -1
  119. package/dist/esm/types/event/context/event-context.d.ts +160 -160
  120. package/dist/esm/types/event/context/event-context.js +1 -1
  121. package/dist/esm/types/event/context/index.d.ts +2 -2
  122. package/dist/esm/types/event/context/index.js +2 -2
  123. package/dist/esm/types/event/index.d.ts +5 -5
  124. package/dist/esm/types/event/index.js +5 -5
  125. package/dist/esm/types/event/log-event.d.ts +35 -35
  126. package/dist/esm/types/event/log-event.js +19 -19
  127. package/dist/esm/types/event/metric-event.d.ts +13 -13
  128. package/dist/esm/types/event/metric-event.js +1 -1
  129. package/dist/esm/types/event/tracking-event.d.ts +62 -64
  130. package/dist/esm/types/event/tracking-event.js +1 -1
  131. package/dist/esm/types/event-bus-event.d.ts +25 -25
  132. package/dist/esm/types/event-bus-event.js +1 -1
  133. package/dist/esm/types/fingerprint/browser-attributes.d.ts +60 -60
  134. package/dist/esm/types/fingerprint/browser-attributes.js +1 -1
  135. package/dist/esm/types/fingerprint/index.d.ts +6 -6
  136. package/dist/esm/types/fingerprint/index.js +2 -2
  137. package/dist/esm/types/fingerprint/server-attributes.d.ts +50 -50
  138. package/dist/esm/types/fingerprint/server-attributes.js +1 -1
  139. package/dist/esm/types/index.d.ts +7 -7
  140. package/dist/esm/types/index.js +7 -7
  141. package/dist/esm/types/third-party-event-configuration-types.d.ts +10 -10
  142. package/dist/esm/types/third-party-event-configuration-types.js +1 -1
  143. package/dist/esm/types/tracking-event-ingest-message.d.ts +10 -10
  144. package/dist/esm/types/tracking-event-ingest-message.js +1 -1
  145. package/package.json +1 -1
@@ -1,47 +1,47 @@
1
- export interface ShopifyAppInstall {
2
- shopifyAppInstallId: string;
3
- shop: string;
4
- accessToken?: string;
5
- appStatus?: string;
6
- appSubscriptionStatus?: ShopifyAppSubscriptionStatus;
7
- code?: string;
8
- hmac?: string;
9
- host?: string;
10
- installRequest?: ShopifyInstallRequest;
11
- isAppEnabled?: boolean;
12
- pixelId?: string;
13
- shopInfo?: any;
14
- state?: string;
15
- timestamp?: number;
16
- createdAt: string;
17
- updatedAt: string;
18
- }
19
- export declare enum ShopifyAppInstallStatus {
20
- STARTED = "started",
21
- PENDING = "pending",
22
- COMPLETED = "completed",
23
- UNINSTALLED = "uninstalled",
24
- FAILED = "failed",
25
- NONE = "none"
26
- }
27
- export declare enum ShopifyAppSubscriptionStatus {
28
- ACTIVE = "active",
29
- CANCELLED = "cancelled",
30
- DECLINED = "declined",
31
- EXPIRED = "expired",
32
- FROZEN = "frozen",
33
- PENDING = "pending",
34
- NOT_SUBMITTED = "na"
35
- }
36
- export interface ShopifyInstallRequest {
37
- shop?: string;
38
- session?: string;
39
- hmac?: string;
40
- host?: string;
41
- nonce?: string;
42
- timestamp?: string;
43
- status?: string;
44
- }
45
- export interface ShopifyStoreInfo {
46
- [key: string]: any;
47
- }
1
+ export interface ShopifyAppInstall {
2
+ shopifyAppInstallId: string;
3
+ shop: string;
4
+ accessToken?: string;
5
+ appStatus?: string;
6
+ appSubscriptionStatus?: ShopifyAppSubscriptionStatus;
7
+ code?: string;
8
+ hmac?: string;
9
+ host?: string;
10
+ installRequest?: ShopifyInstallRequest;
11
+ isAppEnabled?: boolean;
12
+ pixelId?: string;
13
+ shopInfo?: any;
14
+ state?: string;
15
+ timestamp?: number;
16
+ createdAt: string;
17
+ updatedAt: string;
18
+ }
19
+ export declare enum ShopifyAppInstallStatus {
20
+ STARTED = "started",
21
+ PENDING = "pending",
22
+ COMPLETED = "completed",
23
+ UNINSTALLED = "uninstalled",
24
+ FAILED = "failed",
25
+ NONE = "none"
26
+ }
27
+ export declare enum ShopifyAppSubscriptionStatus {
28
+ ACTIVE = "active",
29
+ CANCELLED = "cancelled",
30
+ DECLINED = "declined",
31
+ EXPIRED = "expired",
32
+ FROZEN = "frozen",
33
+ PENDING = "pending",
34
+ NOT_SUBMITTED = "na"
35
+ }
36
+ export interface ShopifyInstallRequest {
37
+ shop?: string;
38
+ session?: string;
39
+ hmac?: string;
40
+ host?: string;
41
+ nonce?: string;
42
+ timestamp?: string;
43
+ status?: string;
44
+ }
45
+ export interface ShopifyStoreInfo {
46
+ [key: string]: any;
47
+ }
@@ -1,20 +1,20 @@
1
- export var ShopifyAppInstallStatus;
2
- (function (ShopifyAppInstallStatus) {
3
- ShopifyAppInstallStatus["STARTED"] = "started";
4
- ShopifyAppInstallStatus["PENDING"] = "pending";
5
- ShopifyAppInstallStatus["COMPLETED"] = "completed";
6
- ShopifyAppInstallStatus["UNINSTALLED"] = "uninstalled";
7
- ShopifyAppInstallStatus["FAILED"] = "failed";
8
- ShopifyAppInstallStatus["NONE"] = "none";
9
- })(ShopifyAppInstallStatus || (ShopifyAppInstallStatus = {}));
10
- export var ShopifyAppSubscriptionStatus;
11
- (function (ShopifyAppSubscriptionStatus) {
12
- ShopifyAppSubscriptionStatus["ACTIVE"] = "active";
13
- ShopifyAppSubscriptionStatus["CANCELLED"] = "cancelled";
14
- ShopifyAppSubscriptionStatus["DECLINED"] = "declined";
15
- ShopifyAppSubscriptionStatus["EXPIRED"] = "expired";
16
- ShopifyAppSubscriptionStatus["FROZEN"] = "frozen";
17
- ShopifyAppSubscriptionStatus["PENDING"] = "pending";
18
- ShopifyAppSubscriptionStatus["NOT_SUBMITTED"] = "na";
19
- })(ShopifyAppSubscriptionStatus || (ShopifyAppSubscriptionStatus = {}));
1
+ export var ShopifyAppInstallStatus;
2
+ (function (ShopifyAppInstallStatus) {
3
+ ShopifyAppInstallStatus["STARTED"] = "started";
4
+ ShopifyAppInstallStatus["PENDING"] = "pending";
5
+ ShopifyAppInstallStatus["COMPLETED"] = "completed";
6
+ ShopifyAppInstallStatus["UNINSTALLED"] = "uninstalled";
7
+ ShopifyAppInstallStatus["FAILED"] = "failed";
8
+ ShopifyAppInstallStatus["NONE"] = "none";
9
+ })(ShopifyAppInstallStatus || (ShopifyAppInstallStatus = {}));
10
+ export var ShopifyAppSubscriptionStatus;
11
+ (function (ShopifyAppSubscriptionStatus) {
12
+ ShopifyAppSubscriptionStatus["ACTIVE"] = "active";
13
+ ShopifyAppSubscriptionStatus["CANCELLED"] = "cancelled";
14
+ ShopifyAppSubscriptionStatus["DECLINED"] = "declined";
15
+ ShopifyAppSubscriptionStatus["EXPIRED"] = "expired";
16
+ ShopifyAppSubscriptionStatus["FROZEN"] = "frozen";
17
+ ShopifyAppSubscriptionStatus["PENDING"] = "pending";
18
+ ShopifyAppSubscriptionStatus["NOT_SUBMITTED"] = "na";
19
+ })(ShopifyAppSubscriptionStatus || (ShopifyAppSubscriptionStatus = {}));
20
20
  //# sourceMappingURL=shopify-app-install.js.map
@@ -1,97 +1,97 @@
1
- export interface Subscription {
2
- id: string;
3
- accountId?: string;
4
- shopifyAppInstallId?: string;
5
- shopifyDomain?: string;
6
- stripeCustomerId?: string;
7
- stripeSubscriptionId?: string;
8
- stripeCompletedCheckoutSession?: any;
9
- shopifyChargeId?: string;
10
- subscriptionPlan?: SubscriptionPlan;
11
- planUsage?: PlanUsage;
12
- status?: SUBSCRIPTION_STATUS;
13
- paymentStatus?: PAYMENT_STATUS;
14
- paymentGateway?: PAYMENT_GATEWAY;
15
- createdAt: string;
16
- updatedAt: string;
17
- }
18
- export interface SubscriptionPlan {
19
- id: string;
20
- planName: string;
21
- displayName: string;
22
- description: string;
23
- sku: string;
24
- price: number;
25
- discountedPrice?: number;
26
- displayPrice: string;
27
- discountedDisplayPrice?: string;
28
- billingFrequency: PLAN_BILLING_FREQUENCY;
29
- trialLengthDays?: number;
30
- trialRequiresCreditCard?: boolean;
31
- enableUsage: boolean;
32
- orderUsageLimit?: number;
33
- planDesc?: string[];
34
- unitPriceText?: string;
35
- isHighlighted?: boolean;
36
- isBanner?: boolean;
37
- bannerText?: string;
38
- bannerColor?: string;
39
- stripePriceId?: string;
40
- stripeProductId?: string;
41
- isActive: boolean;
42
- isPublic: boolean;
43
- isDiscountable: boolean;
44
- discountId?: string;
45
- discount?: Discount;
46
- createdAt?: string;
47
- updatedAt?: string;
48
- }
49
- export interface Discount {
50
- id: string;
51
- code: string;
52
- isActive: boolean;
53
- applicableBillingFrequency: PLAN_BILLING_FREQUENCY;
54
- billingIntervalDurationLimit: number;
55
- discountType: DiscountType;
56
- discountValue: number;
57
- activeUntil?: string;
58
- createdAt?: string;
59
- updatedAt?: string;
60
- }
61
- export declare enum DiscountType {
62
- FIXED = "fixed",
63
- PERCENTAGE = "percentage"
64
- }
65
- export interface PlanUsage {
66
- usage75: boolean;
67
- usage90: boolean;
68
- usageExceeded: boolean;
69
- lastMonthUsage: number;
70
- currentMonthUsage: number;
71
- lastMonthUsageRatio: number;
72
- currentMonthUsageRatio: number;
73
- }
74
- export declare enum PLAN_BILLING_FREQUENCY {
75
- MONTHLY = "monthly",
76
- YEARLY = "yearly"
77
- }
78
- export declare enum PAYMENT_STATUS {
79
- CURRENT = "current",
80
- PAST_DUE = "past_due",
81
- CANCELLED = "cancelled",
82
- FAILED = "failed"
83
- }
84
- export declare enum SUBSCRIPTION_STATUS {
85
- ACTIVE = "active",
86
- CANCELLED = "cancelled",
87
- DECLINED = "declined",
88
- EXPIRED = "expired",
89
- FROZEN = "frozen",
90
- PENDING = "pending",
91
- NOT_SUBMITTED = "na"
92
- }
93
- export declare enum PAYMENT_GATEWAY {
94
- STRIPE = "stripe",
95
- PAYPAL = "paypal",
96
- SHOPIFY = "shopify"
97
- }
1
+ export interface Subscription {
2
+ id: string;
3
+ accountId?: string;
4
+ shopifyAppInstallId?: string;
5
+ shopifyDomain?: string;
6
+ stripeCustomerId?: string;
7
+ stripeSubscriptionId?: string;
8
+ stripeCompletedCheckoutSession?: any;
9
+ shopifyChargeId?: string;
10
+ subscriptionPlan?: SubscriptionPlan;
11
+ planUsage?: PlanUsage;
12
+ status?: SUBSCRIPTION_STATUS;
13
+ paymentStatus?: PAYMENT_STATUS;
14
+ paymentGateway?: PAYMENT_GATEWAY;
15
+ createdAt: string;
16
+ updatedAt: string;
17
+ }
18
+ export interface SubscriptionPlan {
19
+ id: string;
20
+ planName: string;
21
+ displayName: string;
22
+ description: string;
23
+ sku: string;
24
+ price: number;
25
+ discountedPrice?: number;
26
+ displayPrice: string;
27
+ discountedDisplayPrice?: string;
28
+ billingFrequency: PLAN_BILLING_FREQUENCY;
29
+ trialLengthDays?: number;
30
+ trialRequiresCreditCard?: boolean;
31
+ enableUsage: boolean;
32
+ orderUsageLimit?: number;
33
+ planDesc?: string[];
34
+ unitPriceText?: string;
35
+ isHighlighted?: boolean;
36
+ isBanner?: boolean;
37
+ bannerText?: string;
38
+ bannerColor?: string;
39
+ stripePriceId?: string;
40
+ stripeProductId?: string;
41
+ isActive: boolean;
42
+ isPublic: boolean;
43
+ isDiscountable: boolean;
44
+ discountId?: string;
45
+ discount?: Discount;
46
+ createdAt?: string;
47
+ updatedAt?: string;
48
+ }
49
+ export interface Discount {
50
+ id: string;
51
+ code: string;
52
+ isActive: boolean;
53
+ applicableBillingFrequency: PLAN_BILLING_FREQUENCY;
54
+ billingIntervalDurationLimit: number;
55
+ discountType: DiscountType;
56
+ discountValue: number;
57
+ activeUntil?: string;
58
+ createdAt?: string;
59
+ updatedAt?: string;
60
+ }
61
+ export declare enum DiscountType {
62
+ FIXED = "fixed",
63
+ PERCENTAGE = "percentage"
64
+ }
65
+ export interface PlanUsage {
66
+ usage75: boolean;
67
+ usage90: boolean;
68
+ usageExceeded: boolean;
69
+ lastMonthUsage: number;
70
+ currentMonthUsage: number;
71
+ lastMonthUsageRatio: number;
72
+ currentMonthUsageRatio: number;
73
+ }
74
+ export declare enum PLAN_BILLING_FREQUENCY {
75
+ MONTHLY = "monthly",
76
+ YEARLY = "yearly"
77
+ }
78
+ export declare enum PAYMENT_STATUS {
79
+ CURRENT = "current",
80
+ PAST_DUE = "past_due",
81
+ CANCELLED = "cancelled",
82
+ FAILED = "failed"
83
+ }
84
+ export declare enum SUBSCRIPTION_STATUS {
85
+ ACTIVE = "active",
86
+ CANCELLED = "cancelled",
87
+ DECLINED = "declined",
88
+ EXPIRED = "expired",
89
+ FROZEN = "frozen",
90
+ PENDING = "pending",
91
+ NOT_SUBMITTED = "na"
92
+ }
93
+ export declare enum PAYMENT_GATEWAY {
94
+ STRIPE = "stripe",
95
+ PAYPAL = "paypal",
96
+ SHOPIFY = "shopify"
97
+ }
@@ -1,34 +1,34 @@
1
- export var DiscountType;
2
- (function (DiscountType) {
3
- DiscountType["FIXED"] = "fixed";
4
- DiscountType["PERCENTAGE"] = "percentage";
5
- })(DiscountType || (DiscountType = {}));
6
- export var PLAN_BILLING_FREQUENCY;
7
- (function (PLAN_BILLING_FREQUENCY) {
8
- PLAN_BILLING_FREQUENCY["MONTHLY"] = "monthly";
9
- PLAN_BILLING_FREQUENCY["YEARLY"] = "yearly";
10
- })(PLAN_BILLING_FREQUENCY || (PLAN_BILLING_FREQUENCY = {}));
11
- export var PAYMENT_STATUS;
12
- (function (PAYMENT_STATUS) {
13
- PAYMENT_STATUS["CURRENT"] = "current";
14
- PAYMENT_STATUS["PAST_DUE"] = "past_due";
15
- PAYMENT_STATUS["CANCELLED"] = "cancelled";
16
- PAYMENT_STATUS["FAILED"] = "failed";
17
- })(PAYMENT_STATUS || (PAYMENT_STATUS = {}));
18
- export var SUBSCRIPTION_STATUS;
19
- (function (SUBSCRIPTION_STATUS) {
20
- SUBSCRIPTION_STATUS["ACTIVE"] = "active";
21
- SUBSCRIPTION_STATUS["CANCELLED"] = "cancelled";
22
- SUBSCRIPTION_STATUS["DECLINED"] = "declined";
23
- SUBSCRIPTION_STATUS["EXPIRED"] = "expired";
24
- SUBSCRIPTION_STATUS["FROZEN"] = "frozen";
25
- SUBSCRIPTION_STATUS["PENDING"] = "pending";
26
- SUBSCRIPTION_STATUS["NOT_SUBMITTED"] = "na";
27
- })(SUBSCRIPTION_STATUS || (SUBSCRIPTION_STATUS = {}));
28
- export var PAYMENT_GATEWAY;
29
- (function (PAYMENT_GATEWAY) {
30
- PAYMENT_GATEWAY["STRIPE"] = "stripe";
31
- PAYMENT_GATEWAY["PAYPAL"] = "paypal";
32
- PAYMENT_GATEWAY["SHOPIFY"] = "shopify";
33
- })(PAYMENT_GATEWAY || (PAYMENT_GATEWAY = {}));
1
+ export var DiscountType;
2
+ (function (DiscountType) {
3
+ DiscountType["FIXED"] = "fixed";
4
+ DiscountType["PERCENTAGE"] = "percentage";
5
+ })(DiscountType || (DiscountType = {}));
6
+ export var PLAN_BILLING_FREQUENCY;
7
+ (function (PLAN_BILLING_FREQUENCY) {
8
+ PLAN_BILLING_FREQUENCY["MONTHLY"] = "monthly";
9
+ PLAN_BILLING_FREQUENCY["YEARLY"] = "yearly";
10
+ })(PLAN_BILLING_FREQUENCY || (PLAN_BILLING_FREQUENCY = {}));
11
+ export var PAYMENT_STATUS;
12
+ (function (PAYMENT_STATUS) {
13
+ PAYMENT_STATUS["CURRENT"] = "current";
14
+ PAYMENT_STATUS["PAST_DUE"] = "past_due";
15
+ PAYMENT_STATUS["CANCELLED"] = "cancelled";
16
+ PAYMENT_STATUS["FAILED"] = "failed";
17
+ })(PAYMENT_STATUS || (PAYMENT_STATUS = {}));
18
+ export var SUBSCRIPTION_STATUS;
19
+ (function (SUBSCRIPTION_STATUS) {
20
+ SUBSCRIPTION_STATUS["ACTIVE"] = "active";
21
+ SUBSCRIPTION_STATUS["CANCELLED"] = "cancelled";
22
+ SUBSCRIPTION_STATUS["DECLINED"] = "declined";
23
+ SUBSCRIPTION_STATUS["EXPIRED"] = "expired";
24
+ SUBSCRIPTION_STATUS["FROZEN"] = "frozen";
25
+ SUBSCRIPTION_STATUS["PENDING"] = "pending";
26
+ SUBSCRIPTION_STATUS["NOT_SUBMITTED"] = "na";
27
+ })(SUBSCRIPTION_STATUS || (SUBSCRIPTION_STATUS = {}));
28
+ export var PAYMENT_GATEWAY;
29
+ (function (PAYMENT_GATEWAY) {
30
+ PAYMENT_GATEWAY["STRIPE"] = "stripe";
31
+ PAYMENT_GATEWAY["PAYPAL"] = "paypal";
32
+ PAYMENT_GATEWAY["SHOPIFY"] = "shopify";
33
+ })(PAYMENT_GATEWAY || (PAYMENT_GATEWAY = {}));
34
34
  //# sourceMappingURL=subscription.js.map
@@ -1,14 +1,11 @@
1
- import { TrackingEvent } from '../event';
2
- export interface TrackingEventRecord {
3
- eventId: string;
4
- eventName: string;
5
- trackingEvent: TrackingEvent;
6
- pixelId: string;
7
- pixelIdEventName: string;
8
- ipAddressUserAgent: string;
9
- hostname: string;
10
- identityId: string;
11
- sessionId: string;
12
- collectedAt: string;
13
- expiredAt: number;
14
- }
1
+ import { TrackingEvent } from '../event';
2
+ export interface TrackingEventRecord {
3
+ eventId: string;
4
+ eventName: string;
5
+ trackingEvent: TrackingEvent;
6
+ pixelId: string;
7
+ pixelIdEventName: string;
8
+ ipAddressUserAgent: string;
9
+ collectedAt: string;
10
+ expiredAt: number;
11
+ }
@@ -1,2 +1,2 @@
1
- export {};
1
+ export {};
2
2
  //# sourceMappingURL=tracking-events.js.map
@@ -1,13 +1,13 @@
1
- export interface User {
2
- id: string;
3
- sub: string;
4
- userId: string;
5
- Username: string;
6
- UserLastModifiedDate: string;
7
- Enabled: boolean;
8
- UserStatus: string;
9
- email: string;
10
- email_verified: string;
11
- name: string;
12
- family_name: string;
13
- }
1
+ export interface User {
2
+ id: string;
3
+ sub: string;
4
+ userId: string;
5
+ Username: string;
6
+ UserLastModifiedDate: string;
7
+ Enabled: boolean;
8
+ UserStatus: string;
9
+ email: string;
10
+ email_verified: string;
11
+ name: string;
12
+ family_name: string;
13
+ }
@@ -1,2 +1,2 @@
1
- export {};
1
+ export {};
2
2
  //# sourceMappingURL=user.js.map
@@ -1,15 +1,15 @@
1
- export interface AddressInfo {
2
- email?: string;
3
- phone?: string;
4
- firstName?: string;
5
- lastName?: string;
6
- company?: string;
7
- address1?: string;
8
- address2?: string;
9
- city?: string;
10
- province?: string;
11
- provinceCode?: string;
12
- country?: string;
13
- countryCode?: string;
14
- zip?: string;
15
- }
1
+ export interface AddressInfo {
2
+ email?: string;
3
+ phone?: string;
4
+ firstName?: string;
5
+ lastName?: string;
6
+ company?: string;
7
+ address1?: string;
8
+ address2?: string;
9
+ city?: string;
10
+ province?: string;
11
+ provinceCode?: string;
12
+ country?: string;
13
+ countryCode?: string;
14
+ zip?: string;
15
+ }
@@ -1,2 +1,2 @@
1
- export {};
1
+ export {};
2
2
  //# sourceMappingURL=address.js.map
@@ -1 +1 @@
1
- export declare const Currencies: string[];
1
+ export declare const Currencies: string[];
@@ -1,61 +1,61 @@
1
- export const Currencies = [
2
- 'AED',
3
- 'ARS',
4
- 'AUD',
5
- 'BDT',
6
- 'BIF',
7
- 'BOB',
8
- 'BRL',
9
- 'CAD',
10
- 'CHF',
11
- 'CLP',
12
- 'CNY',
13
- 'COP',
14
- 'CRC',
15
- 'CZK',
16
- 'DKK',
17
- 'DZD',
18
- 'EGP',
19
- 'EUR',
20
- 'GBP',
21
- 'GTQ',
22
- 'HKD',
23
- 'HNL',
24
- 'HUF',
25
- 'IDR',
26
- 'ILS',
27
- 'INR',
28
- 'ISK',
29
- 'JPY',
30
- 'KES',
31
- 'KRW',
32
- 'KWD',
33
- 'KZT',
34
- 'MAD',
35
- 'MOP',
36
- 'MXN',
37
- 'MYR',
38
- 'NGN',
39
- 'NIO',
40
- 'NOK',
41
- 'NZD',
42
- 'PEN',
43
- 'PHP',
44
- 'PKR',
45
- 'PLN',
46
- 'PYG',
47
- 'QAR',
48
- 'RON',
49
- 'RUB',
50
- 'SAR',
51
- 'SEK',
52
- 'SGD',
53
- 'THB',
54
- 'TRY',
55
- 'TWD',
56
- 'USD',
57
- 'VES',
58
- 'VND',
59
- 'ZAR',
60
- ];
1
+ export const Currencies = [
2
+ 'AED',
3
+ 'ARS',
4
+ 'AUD',
5
+ 'BDT',
6
+ 'BIF',
7
+ 'BOB',
8
+ 'BRL',
9
+ 'CAD',
10
+ 'CHF',
11
+ 'CLP',
12
+ 'CNY',
13
+ 'COP',
14
+ 'CRC',
15
+ 'CZK',
16
+ 'DKK',
17
+ 'DZD',
18
+ 'EGP',
19
+ 'EUR',
20
+ 'GBP',
21
+ 'GTQ',
22
+ 'HKD',
23
+ 'HNL',
24
+ 'HUF',
25
+ 'IDR',
26
+ 'ILS',
27
+ 'INR',
28
+ 'ISK',
29
+ 'JPY',
30
+ 'KES',
31
+ 'KRW',
32
+ 'KWD',
33
+ 'KZT',
34
+ 'MAD',
35
+ 'MOP',
36
+ 'MXN',
37
+ 'MYR',
38
+ 'NGN',
39
+ 'NIO',
40
+ 'NOK',
41
+ 'NZD',
42
+ 'PEN',
43
+ 'PHP',
44
+ 'PKR',
45
+ 'PLN',
46
+ 'PYG',
47
+ 'QAR',
48
+ 'RON',
49
+ 'RUB',
50
+ 'SAR',
51
+ 'SEK',
52
+ 'SGD',
53
+ 'THB',
54
+ 'TRY',
55
+ 'TWD',
56
+ 'USD',
57
+ 'VES',
58
+ 'VND',
59
+ 'ZAR',
60
+ ];
61
61
  //# sourceMappingURL=currency.js.map
@@ -1,2 +1,2 @@
1
- export * from './address';
2
- export * from './currency';
1
+ export * from './address';
2
+ export * from './currency';
@@ -1,3 +1,3 @@
1
- export * from './address';
2
- export * from './currency';
1
+ export * from './address';
2
+ export * from './currency';
3
3
  //# sourceMappingURL=index.js.map