@adtrackify/at-tracking-event-types 2.0.26 → 2.0.28

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 (109) 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 +27 -27
  4. package/dist/cjs/types/api/account.js +9 -9
  5. package/dist/cjs/types/api/destinations/destination-catalog.d.ts +23 -23
  6. package/dist/cjs/types/api/destinations/destination-catalog.js +2 -2
  7. package/dist/cjs/types/api/destinations/destinations.d.ts +58 -56
  8. package/dist/cjs/types/api/destinations/destinations.js +19 -17
  9. package/dist/cjs/types/api/destinations/destinations.js.map +1 -1
  10. package/dist/cjs/types/api/destinations/third-party-destination-configs.d.ts +53 -53
  11. package/dist/cjs/types/api/destinations/third-party-destination-configs.js +9 -9
  12. package/dist/cjs/types/api/index.d.ts +8 -8
  13. package/dist/cjs/types/api/index.js +24 -24
  14. package/dist/cjs/types/api/query.d.ts +143 -142
  15. package/dist/cjs/types/api/query.js +99 -99
  16. package/dist/cjs/types/api/query.js.map +1 -1
  17. package/dist/cjs/types/api/shopify-app-install.d.ts +46 -46
  18. package/dist/cjs/types/api/shopify-app-install.js +21 -21
  19. package/dist/cjs/types/api/subscription.d.ts +60 -60
  20. package/dist/cjs/types/api/subscription.js +31 -31
  21. package/dist/cjs/types/api/user.d.ts +13 -13
  22. package/dist/cjs/types/api/user.js +2 -2
  23. package/dist/cjs/types/common/address.d.ts +15 -15
  24. package/dist/cjs/types/common/address.js +2 -2
  25. package/dist/cjs/types/common/currency.d.ts +1 -1
  26. package/dist/cjs/types/common/currency.js +63 -63
  27. package/dist/cjs/types/common/index.d.ts +2 -2
  28. package/dist/cjs/types/common/index.js +18 -18
  29. package/dist/cjs/types/event/base/event-name-enum.d.ts +35 -35
  30. package/dist/cjs/types/event/base/event-name-enum.js +41 -41
  31. package/dist/cjs/types/event/base/event.d.ts +19 -19
  32. package/dist/cjs/types/event/base/event.js +10 -10
  33. package/dist/cjs/types/event/base/index.d.ts +2 -2
  34. package/dist/cjs/types/event/base/index.js +18 -18
  35. package/dist/cjs/types/event/context/event-context-identity.d.ts +18 -18
  36. package/dist/cjs/types/event/context/event-context-identity.js +2 -2
  37. package/dist/cjs/types/event/context/event-context.d.ts +137 -137
  38. package/dist/cjs/types/event/context/event-context.js +2 -2
  39. package/dist/cjs/types/event/context/index.d.ts +2 -2
  40. package/dist/cjs/types/event/context/index.js +18 -18
  41. package/dist/cjs/types/event/index.d.ts +5 -5
  42. package/dist/cjs/types/event/index.js +21 -21
  43. package/dist/cjs/types/event/log-event.d.ts +37 -37
  44. package/dist/cjs/types/event/log-event.js +18 -18
  45. package/dist/cjs/types/event/metric-event.d.ts +13 -13
  46. package/dist/cjs/types/event/metric-event.js +2 -2
  47. package/dist/cjs/types/event/tracking-event.d.ts +60 -60
  48. package/dist/cjs/types/event/tracking-event.js +2 -2
  49. package/dist/cjs/types/event-bus-event.d.ts +25 -25
  50. package/dist/cjs/types/event-bus-event.js +2 -2
  51. package/dist/cjs/types/index.d.ts +5 -5
  52. package/dist/cjs/types/index.js +21 -21
  53. package/dist/cjs/types/third-party-event-configuration-types.d.ts +9 -9
  54. package/dist/cjs/types/third-party-event-configuration-types.js +2 -2
  55. package/dist/esm/index.d.ts +1 -1
  56. package/dist/esm/index.js +1 -1
  57. package/dist/esm/types/api/account.d.ts +27 -27
  58. package/dist/esm/types/api/account.js +6 -6
  59. package/dist/esm/types/api/destinations/destination-catalog.d.ts +23 -23
  60. package/dist/esm/types/api/destinations/destination-catalog.js +1 -1
  61. package/dist/esm/types/api/destinations/destinations.d.ts +58 -56
  62. package/dist/esm/types/api/destinations/destinations.js +16 -14
  63. package/dist/esm/types/api/destinations/destinations.js.map +1 -1
  64. package/dist/esm/types/api/destinations/third-party-destination-configs.d.ts +53 -53
  65. package/dist/esm/types/api/destinations/third-party-destination-configs.js +6 -6
  66. package/dist/esm/types/api/index.d.ts +8 -8
  67. package/dist/esm/types/api/index.js +8 -8
  68. package/dist/esm/types/api/query.d.ts +143 -142
  69. package/dist/esm/types/api/query.js +96 -96
  70. package/dist/esm/types/api/query.js.map +1 -1
  71. package/dist/esm/types/api/shopify-app-install.d.ts +46 -46
  72. package/dist/esm/types/api/shopify-app-install.js +18 -18
  73. package/dist/esm/types/api/subscription.d.ts +60 -60
  74. package/dist/esm/types/api/subscription.js +28 -28
  75. package/dist/esm/types/api/user.d.ts +13 -13
  76. package/dist/esm/types/api/user.js +1 -1
  77. package/dist/esm/types/common/address.d.ts +15 -15
  78. package/dist/esm/types/common/address.js +1 -1
  79. package/dist/esm/types/common/currency.d.ts +1 -1
  80. package/dist/esm/types/common/currency.js +60 -60
  81. package/dist/esm/types/common/index.d.ts +2 -2
  82. package/dist/esm/types/common/index.js +2 -2
  83. package/dist/esm/types/event/base/event-name-enum.d.ts +35 -35
  84. package/dist/esm/types/event/base/event-name-enum.js +38 -38
  85. package/dist/esm/types/event/base/event.d.ts +19 -19
  86. package/dist/esm/types/event/base/event.js +7 -7
  87. package/dist/esm/types/event/base/index.d.ts +2 -2
  88. package/dist/esm/types/event/base/index.js +2 -2
  89. package/dist/esm/types/event/context/event-context-identity.d.ts +18 -18
  90. package/dist/esm/types/event/context/event-context-identity.js +1 -1
  91. package/dist/esm/types/event/context/event-context.d.ts +137 -137
  92. package/dist/esm/types/event/context/event-context.js +1 -1
  93. package/dist/esm/types/event/context/index.d.ts +2 -2
  94. package/dist/esm/types/event/context/index.js +2 -2
  95. package/dist/esm/types/event/index.d.ts +5 -5
  96. package/dist/esm/types/event/index.js +5 -5
  97. package/dist/esm/types/event/log-event.d.ts +37 -37
  98. package/dist/esm/types/event/log-event.js +15 -15
  99. package/dist/esm/types/event/metric-event.d.ts +13 -13
  100. package/dist/esm/types/event/metric-event.js +1 -1
  101. package/dist/esm/types/event/tracking-event.d.ts +60 -60
  102. package/dist/esm/types/event/tracking-event.js +1 -1
  103. package/dist/esm/types/event-bus-event.d.ts +25 -25
  104. package/dist/esm/types/event-bus-event.js +1 -1
  105. package/dist/esm/types/index.d.ts +5 -5
  106. package/dist/esm/types/index.js +5 -5
  107. package/dist/esm/types/third-party-event-configuration-types.d.ts +9 -9
  108. package/dist/esm/types/third-party-event-configuration-types.js +1 -1
  109. package/package.json +2 -2
@@ -1 +1 @@
1
- {"version":3,"file":"query.js","sourceRoot":"","sources":["../../../../src/types/api/query.ts"],"names":[],"mappings":"AAKA,MAAM,CAAN,IAAY,WAUX;AAVD,WAAY,WAAW;IACrB,4BAAa,CAAA;IACb,gCAAiB,CAAA;IACjB,gCAAiB,CAAA;IACjB,4BAAa,CAAA;IACb,0BAAW,CAAA;IACX,4BAAa,CAAA;IACb,8BAAe,CAAA;IACf,kCAAmB,CAAA;IACnB,4BAAa,CAAA;AACf,CAAC,EAVW,WAAW,KAAX,WAAW,QAUtB;AAED,MAAM,CAAN,IAAY,OA+CX;AA/CD,WAAY,OAAO;IACjB,oDAAyC,CAAA;IACzC,0DAA+C,CAAA;IAC/C,wDAA6C,CAAA;IAC7C,oEAAyD,CAAA;IACzD,kDAAuC,CAAA;IACvC,8CAAmC,CAAA;IACnC,8EAAmE,CAAA;IACnE,sEAA2D,CAAA;IAC3D,sEAA2D,CAAA;IAC3D,uDAA4C,CAAA;IAC5C,uDAA4C,CAAA;IAC5C,gEAAqD,CAAA;IACrD,kEAAuD,CAAA;IACvD,4EAAiE,CAAA;IACjE,4DAAiD,CAAA;IACjD,sEAA2D,CAAA;IAE3D,kDAAuC,CAAA;IACvC,kFAAuE,CAAA;IACvE,sEAA2D,CAAA;IAI3D,oDAAyC,CAAA;IACzC,4DAAiD,CAAA;IACjD,uDAA4C,CAAA;IAC5C,wDAA6C,CAAA;IAC7C,8DAAmD,CAAA;IACnD,2DAAgD,CAAA;IAChD,iDAAsC,CAAA;IACtC,8CAAmC,CAAA;IACnC,sDAA2C,CAAA;IAC3C,wDAA6C,CAAA;IAC7C,wDAA6C,CAAA;IAC7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CAAA;IAC7B,4CAA+B,CAAA;IAC/B,wCAA2B,CAAA;IAC3B,gCAAmB,CAAA;IACnB,gDAAmC,CAAA;IACnC,sCAAyB,CAAA;IACzB,sBAAS,CAAA;IACT,0CAA6B,CAAA;IAC7B,+BAAkB,CAAA;IAClB,iCAAoB,CAAA;IACpB,mCAAsB,CAAA;IACtB,gCAAmB,CAAA;IACnB,kCAAqB,CAAA;IACrB,4CAA+B,CAAA;IAC/B,oCAAuB,CAAA;IACvB,wCAA2B,CAAA;IAC3B,0BAAa,CAAA;IACb,4CAA+B,CAAA;IAC/B,kCAAqB,CAAA;IACrB,0CAA6B,CAAA;IAC7B,gCAAmB,CAAA;IACnB,wCAA2B,CAAA;IAC3B,kDAAqC,CAAA;IACrC,sDAAyC,CAAA;IACzC,4CAA+B,CAAA;IAC/B,kCAAqB,CAAA;IACrB,gDAAmC,CAAA;IACnC,gDAAmC,CAAA;IACnC,4CAA+B,CAAA;IAC/B,0CAA6B,CAAA;IAC7B,sCAAyB,CAAA;IACzB,sCAAyB,CAAA;IACzB,kCAAqB,CAAA;IACrB,wCAA2B,CAAA;IAC3B,4CAA+B,CAAA;IAC/B,kDAAqC,CAAA;IACrC,kCAAqB,CAAA;IACrB,8BAAiB,CAAA;AACnB,CAAC,EAvCW,SAAS,KAAT,SAAS,QAuCpB"}
@@ -1,46 +1,46 @@
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
- COMPLETED = "completed",
22
- UNINSTALLED = "uninstalled",
23
- FAILED = "failed",
24
- NONE = "none"
25
- }
26
- export declare enum ShopifyAppSubscriptionStatus {
27
- ACTIVE = "active",
28
- CANCELLED = "cancelled",
29
- DECLINED = "declined",
30
- EXPIRED = "expired",
31
- FROZEN = "frozen",
32
- PENDING = "pending",
33
- NOT_SUBMITTED = "na"
34
- }
35
- export interface ShopifyInstallRequest {
36
- shop?: string;
37
- session?: string;
38
- hmac?: string;
39
- host?: string;
40
- nonce?: string;
41
- timestamp?: string;
42
- status?: string;
43
- }
44
- export interface ShopifyStoreInfo {
45
- [key: string]: any;
46
- }
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
+ COMPLETED = "completed",
22
+ UNINSTALLED = "uninstalled",
23
+ FAILED = "failed",
24
+ NONE = "none"
25
+ }
26
+ export declare enum ShopifyAppSubscriptionStatus {
27
+ ACTIVE = "active",
28
+ CANCELLED = "cancelled",
29
+ DECLINED = "declined",
30
+ EXPIRED = "expired",
31
+ FROZEN = "frozen",
32
+ PENDING = "pending",
33
+ NOT_SUBMITTED = "na"
34
+ }
35
+ export interface ShopifyInstallRequest {
36
+ shop?: string;
37
+ session?: string;
38
+ hmac?: string;
39
+ host?: string;
40
+ nonce?: string;
41
+ timestamp?: string;
42
+ status?: string;
43
+ }
44
+ export interface ShopifyStoreInfo {
45
+ [key: string]: any;
46
+ }
@@ -1,19 +1,19 @@
1
- export var ShopifyAppInstallStatus;
2
- (function (ShopifyAppInstallStatus) {
3
- ShopifyAppInstallStatus["STARTED"] = "started";
4
- ShopifyAppInstallStatus["COMPLETED"] = "completed";
5
- ShopifyAppInstallStatus["UNINSTALLED"] = "uninstalled";
6
- ShopifyAppInstallStatus["FAILED"] = "failed";
7
- ShopifyAppInstallStatus["NONE"] = "none";
8
- })(ShopifyAppInstallStatus || (ShopifyAppInstallStatus = {}));
9
- export var ShopifyAppSubscriptionStatus;
10
- (function (ShopifyAppSubscriptionStatus) {
11
- ShopifyAppSubscriptionStatus["ACTIVE"] = "active";
12
- ShopifyAppSubscriptionStatus["CANCELLED"] = "cancelled";
13
- ShopifyAppSubscriptionStatus["DECLINED"] = "declined";
14
- ShopifyAppSubscriptionStatus["EXPIRED"] = "expired";
15
- ShopifyAppSubscriptionStatus["FROZEN"] = "frozen";
16
- ShopifyAppSubscriptionStatus["PENDING"] = "pending";
17
- ShopifyAppSubscriptionStatus["NOT_SUBMITTED"] = "na";
18
- })(ShopifyAppSubscriptionStatus || (ShopifyAppSubscriptionStatus = {}));
1
+ export var ShopifyAppInstallStatus;
2
+ (function (ShopifyAppInstallStatus) {
3
+ ShopifyAppInstallStatus["STARTED"] = "started";
4
+ ShopifyAppInstallStatus["COMPLETED"] = "completed";
5
+ ShopifyAppInstallStatus["UNINSTALLED"] = "uninstalled";
6
+ ShopifyAppInstallStatus["FAILED"] = "failed";
7
+ ShopifyAppInstallStatus["NONE"] = "none";
8
+ })(ShopifyAppInstallStatus || (ShopifyAppInstallStatus = {}));
9
+ export var ShopifyAppSubscriptionStatus;
10
+ (function (ShopifyAppSubscriptionStatus) {
11
+ ShopifyAppSubscriptionStatus["ACTIVE"] = "active";
12
+ ShopifyAppSubscriptionStatus["CANCELLED"] = "cancelled";
13
+ ShopifyAppSubscriptionStatus["DECLINED"] = "declined";
14
+ ShopifyAppSubscriptionStatus["EXPIRED"] = "expired";
15
+ ShopifyAppSubscriptionStatus["FROZEN"] = "frozen";
16
+ ShopifyAppSubscriptionStatus["PENDING"] = "pending";
17
+ ShopifyAppSubscriptionStatus["NOT_SUBMITTED"] = "na";
18
+ })(ShopifyAppSubscriptionStatus || (ShopifyAppSubscriptionStatus = {}));
19
19
  //# sourceMappingURL=shopify-app-install.js.map
@@ -1,60 +1,60 @@
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
- status?: SUBSCRIPTION_STATUS;
12
- paymentStatus?: PAYMENT_STATUS;
13
- paymentGateway?: PAYMENT_GATEWAY;
14
- createdAt: string;
15
- updatedAt: string;
16
- }
17
- export interface SubscriptionPlan {
18
- id: number;
19
- planName: string;
20
- displayName: string;
21
- description: string;
22
- sku: string;
23
- price: string;
24
- displayPrice: string;
25
- billingFrequency: PLAN_BILLING_FREQUENCY;
26
- trialLengthDays?: number;
27
- trialRequiresCreditCard?: boolean;
28
- planDesc?: string[];
29
- unitPriceText?: string;
30
- isHighlighted?: boolean;
31
- isBanner?: boolean;
32
- bannerText?: string;
33
- bannerColor?: string;
34
- stripePriceId?: string;
35
- stripeProductId?: string;
36
- }
37
- export declare enum PLAN_BILLING_FREQUENCY {
38
- MONTHLY = "monthly",
39
- YEARLY = "yearly"
40
- }
41
- export declare enum PAYMENT_STATUS {
42
- CURRENT = "current",
43
- PAST_DUE = "past_due",
44
- CANCELLED = "cancelled",
45
- FAILED = "failed"
46
- }
47
- export declare enum SUBSCRIPTION_STATUS {
48
- ACTIVE = "active",
49
- CANCELLED = "cancelled",
50
- DECLINED = "declined",
51
- EXPIRED = "expired",
52
- FROZEN = "frozen",
53
- PENDING = "pending",
54
- NOT_SUBMITTED = "na"
55
- }
56
- export declare enum PAYMENT_GATEWAY {
57
- STRIPE = "stripe",
58
- PAYPAL = "paypal",
59
- SHOPIFY = "shopify"
60
- }
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
+ status?: SUBSCRIPTION_STATUS;
12
+ paymentStatus?: PAYMENT_STATUS;
13
+ paymentGateway?: PAYMENT_GATEWAY;
14
+ createdAt: string;
15
+ updatedAt: string;
16
+ }
17
+ export interface SubscriptionPlan {
18
+ id: number;
19
+ planName: string;
20
+ displayName: string;
21
+ description: string;
22
+ sku: string;
23
+ price: string;
24
+ displayPrice: string;
25
+ billingFrequency: PLAN_BILLING_FREQUENCY;
26
+ trialLengthDays?: number;
27
+ trialRequiresCreditCard?: boolean;
28
+ planDesc?: string[];
29
+ unitPriceText?: string;
30
+ isHighlighted?: boolean;
31
+ isBanner?: boolean;
32
+ bannerText?: string;
33
+ bannerColor?: string;
34
+ stripePriceId?: string;
35
+ stripeProductId?: string;
36
+ }
37
+ export declare enum PLAN_BILLING_FREQUENCY {
38
+ MONTHLY = "monthly",
39
+ YEARLY = "yearly"
40
+ }
41
+ export declare enum PAYMENT_STATUS {
42
+ CURRENT = "current",
43
+ PAST_DUE = "past_due",
44
+ CANCELLED = "cancelled",
45
+ FAILED = "failed"
46
+ }
47
+ export declare enum SUBSCRIPTION_STATUS {
48
+ ACTIVE = "active",
49
+ CANCELLED = "cancelled",
50
+ DECLINED = "declined",
51
+ EXPIRED = "expired",
52
+ FROZEN = "frozen",
53
+ PENDING = "pending",
54
+ NOT_SUBMITTED = "na"
55
+ }
56
+ export declare enum PAYMENT_GATEWAY {
57
+ STRIPE = "stripe",
58
+ PAYPAL = "paypal",
59
+ SHOPIFY = "shopify"
60
+ }
@@ -1,29 +1,29 @@
1
- export var PLAN_BILLING_FREQUENCY;
2
- (function (PLAN_BILLING_FREQUENCY) {
3
- PLAN_BILLING_FREQUENCY["MONTHLY"] = "monthly";
4
- PLAN_BILLING_FREQUENCY["YEARLY"] = "yearly";
5
- })(PLAN_BILLING_FREQUENCY || (PLAN_BILLING_FREQUENCY = {}));
6
- export var PAYMENT_STATUS;
7
- (function (PAYMENT_STATUS) {
8
- PAYMENT_STATUS["CURRENT"] = "current";
9
- PAYMENT_STATUS["PAST_DUE"] = "past_due";
10
- PAYMENT_STATUS["CANCELLED"] = "cancelled";
11
- PAYMENT_STATUS["FAILED"] = "failed";
12
- })(PAYMENT_STATUS || (PAYMENT_STATUS = {}));
13
- export var SUBSCRIPTION_STATUS;
14
- (function (SUBSCRIPTION_STATUS) {
15
- SUBSCRIPTION_STATUS["ACTIVE"] = "active";
16
- SUBSCRIPTION_STATUS["CANCELLED"] = "cancelled";
17
- SUBSCRIPTION_STATUS["DECLINED"] = "declined";
18
- SUBSCRIPTION_STATUS["EXPIRED"] = "expired";
19
- SUBSCRIPTION_STATUS["FROZEN"] = "frozen";
20
- SUBSCRIPTION_STATUS["PENDING"] = "pending";
21
- SUBSCRIPTION_STATUS["NOT_SUBMITTED"] = "na";
22
- })(SUBSCRIPTION_STATUS || (SUBSCRIPTION_STATUS = {}));
23
- export var PAYMENT_GATEWAY;
24
- (function (PAYMENT_GATEWAY) {
25
- PAYMENT_GATEWAY["STRIPE"] = "stripe";
26
- PAYMENT_GATEWAY["PAYPAL"] = "paypal";
27
- PAYMENT_GATEWAY["SHOPIFY"] = "shopify";
28
- })(PAYMENT_GATEWAY || (PAYMENT_GATEWAY = {}));
1
+ export var PLAN_BILLING_FREQUENCY;
2
+ (function (PLAN_BILLING_FREQUENCY) {
3
+ PLAN_BILLING_FREQUENCY["MONTHLY"] = "monthly";
4
+ PLAN_BILLING_FREQUENCY["YEARLY"] = "yearly";
5
+ })(PLAN_BILLING_FREQUENCY || (PLAN_BILLING_FREQUENCY = {}));
6
+ export var PAYMENT_STATUS;
7
+ (function (PAYMENT_STATUS) {
8
+ PAYMENT_STATUS["CURRENT"] = "current";
9
+ PAYMENT_STATUS["PAST_DUE"] = "past_due";
10
+ PAYMENT_STATUS["CANCELLED"] = "cancelled";
11
+ PAYMENT_STATUS["FAILED"] = "failed";
12
+ })(PAYMENT_STATUS || (PAYMENT_STATUS = {}));
13
+ export var SUBSCRIPTION_STATUS;
14
+ (function (SUBSCRIPTION_STATUS) {
15
+ SUBSCRIPTION_STATUS["ACTIVE"] = "active";
16
+ SUBSCRIPTION_STATUS["CANCELLED"] = "cancelled";
17
+ SUBSCRIPTION_STATUS["DECLINED"] = "declined";
18
+ SUBSCRIPTION_STATUS["EXPIRED"] = "expired";
19
+ SUBSCRIPTION_STATUS["FROZEN"] = "frozen";
20
+ SUBSCRIPTION_STATUS["PENDING"] = "pending";
21
+ SUBSCRIPTION_STATUS["NOT_SUBMITTED"] = "na";
22
+ })(SUBSCRIPTION_STATUS || (SUBSCRIPTION_STATUS = {}));
23
+ export var PAYMENT_GATEWAY;
24
+ (function (PAYMENT_GATEWAY) {
25
+ PAYMENT_GATEWAY["STRIPE"] = "stripe";
26
+ PAYMENT_GATEWAY["PAYPAL"] = "paypal";
27
+ PAYMENT_GATEWAY["SHOPIFY"] = "shopify";
28
+ })(PAYMENT_GATEWAY || (PAYMENT_GATEWAY = {}));
29
29
  //# sourceMappingURL=subscription.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
@@ -1,35 +1,35 @@
1
- export declare enum TRACKING_EVENT_NAME {
2
- ADD_PAYMENT_INFO = "add_payment_info",
3
- ADD_SHIPPING_INFO = "add_shipping_info",
4
- ADD_TO_CART = "add_to_cart",
5
- ADD_TO_WISHLIST = "add_to_wishlist",
6
- COMPLETE_REGISTRATION = "complete_registration",
7
- CONTACT = "contact",
8
- INITIATE_CHECKOUT = "initiate_checkout",
9
- LEAD = "lead",
10
- LOGIN = "login",
11
- PAGE_VIEW = "page_view",
12
- PAGE_TIME = "page_time",
13
- PURCHASE = "purchase",
14
- REFUND = "refund",
15
- SEARCH = "search",
16
- START_TRIAL = "start_trial",
17
- SUBMIT_APPLICATION = "submit_application",
18
- SUBSCRIBE = "subscribe",
19
- SIGN_UP = "sign_up",
20
- VIEW_CART = "view_cart",
21
- VIEW_CONTENT = "view_content",
22
- SELECT_SHIPPING_METHOD = "select_shipping_method",
23
- VIRTUALIZED_VIEWED_PAYMENT_FORM = "virtualized_viewd_payment_form"
24
- }
25
- export declare enum METRIC_EVENT_NAME {
26
- METRIC = "metric",
27
- WEB_VITAL = "web_vital"
28
- }
29
- export declare enum LOG_EVENT_NAME {
30
- debug = "debug",
31
- error = "error",
32
- info = "info",
33
- trace = "trace",
34
- warn = "warn"
35
- }
1
+ export declare enum TRACKING_EVENT_NAME {
2
+ ADD_PAYMENT_INFO = "add_payment_info",
3
+ ADD_SHIPPING_INFO = "add_shipping_info",
4
+ ADD_TO_CART = "add_to_cart",
5
+ ADD_TO_WISHLIST = "add_to_wishlist",
6
+ COMPLETE_REGISTRATION = "complete_registration",
7
+ CONTACT = "contact",
8
+ INITIATE_CHECKOUT = "initiate_checkout",
9
+ LEAD = "lead",
10
+ LOGIN = "login",
11
+ PAGE_VIEW = "page_view",
12
+ PAGE_TIME = "page_time",
13
+ PURCHASE = "purchase",
14
+ REFUND = "refund",
15
+ SEARCH = "search",
16
+ START_TRIAL = "start_trial",
17
+ SUBMIT_APPLICATION = "submit_application",
18
+ SUBSCRIBE = "subscribe",
19
+ SIGN_UP = "sign_up",
20
+ VIEW_CART = "view_cart",
21
+ VIEW_CONTENT = "view_content",
22
+ SELECT_SHIPPING_METHOD = "select_shipping_method",
23
+ VIRTUALIZED_VIEWED_PAYMENT_FORM = "virtualized_viewd_payment_form"
24
+ }
25
+ export declare enum METRIC_EVENT_NAME {
26
+ METRIC = "metric",
27
+ WEB_VITAL = "web_vital"
28
+ }
29
+ export declare enum LOG_EVENT_NAME {
30
+ debug = "debug",
31
+ error = "error",
32
+ info = "info",
33
+ trace = "trace",
34
+ warn = "warn"
35
+ }