@zonos/elements 1.2.4-alpha.7 → 1.3.2

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 (170) hide show
  1. package/README.md +80 -1
  2. package/dist/cjs/{cart-90f7c8c0.js → cart-cfa5d5fd.js} +4 -4
  3. package/dist/cjs/{getBorderRadius-bf4a4276.js → getBorderRadius-c3c63ee6.js} +1 -1
  4. package/dist/cjs/index.cjs.js +5 -5
  5. package/dist/cjs/{isDarkColor-ff6ff183.js → isDarkColor-fc8c294a.js} +1 -1
  6. package/dist/cjs/loader.cjs.js +1 -1
  7. package/dist/cjs/{localization-9caf3397.js → localization-4746acf7.js} +2 -2
  8. package/dist/cjs/{submitGtag-b141b45d.js → submitGtag-ca175427.js} +2 -2
  9. package/dist/cjs/zonos-address_2.cjs.entry.js +5 -5
  10. package/dist/cjs/zonos-badge.cjs.entry.js +1 -1
  11. package/dist/cjs/zonos-banner.cjs.entry.js +1 -1
  12. package/dist/cjs/zonos-button_2.cjs.entry.js +3 -3
  13. package/dist/cjs/zonos-card_2.cjs.entry.js +1 -1
  14. package/dist/cjs/zonos-cart-items_10.cjs.entry.js +9 -15
  15. package/dist/cjs/zonos-checkout.cjs.entry.js +6 -6
  16. package/dist/cjs/zonos-controller.cjs.entry.js +15 -9
  17. package/dist/cjs/zonos-country-flag_4.cjs.entry.js +3 -3
  18. package/dist/cjs/zonos-elements.cjs.js +1 -1
  19. package/dist/cjs/zonos-hello-dialog.cjs.entry.js +2 -2
  20. package/dist/cjs/zonos-hello.cjs.entry.js +8 -5
  21. package/dist/cjs/zonos-icon.cjs.entry.js +1 -1
  22. package/dist/cjs/zonos-notification.cjs.entry.js +1 -1
  23. package/dist/cjs/zonos-payment.cjs.entry.js +5 -5
  24. package/dist/cjs/zonos-shipping-rich-radio.cjs.entry.js +2 -2
  25. package/dist/cjs/zonos-text.cjs.entry.js +1 -1
  26. package/dist/cjs/{zonosStore-b43ef5db.js → zonosStore-10d1d6ff.js} +0 -8
  27. package/dist/collection/__tests__/build-utils/urlCheckOne.js +4 -1
  28. package/dist/collection/components/checkout/zonos-checkout/zonos-checkout-finish/zonos-checkout-finish.js +4 -10
  29. package/dist/collection/components/hello/zonos-hello/zonos-hello.js +6 -3
  30. package/dist/collection/components/main/zonos-controller.js +35 -8
  31. package/dist/collection/components/store/zonosStore.js +0 -8
  32. package/dist/collection/components/utils/api/{getZonosSetting.js → getZonosSettings.js} +3 -3
  33. package/dist/collection/components/utils/handleFetch.js +1 -1
  34. package/dist/collection/environment.js +14 -3
  35. package/dist/collection/scripts/{zonos.js → zonosBase.js} +7 -19
  36. package/dist/collection/types/generated/graphql.customer.types.js +52 -4
  37. package/dist/collection/types/generated/graphql.frontend.types.js +22 -16
  38. package/dist/components/localization.js +1 -1
  39. package/dist/components/zonos-checkout-finish2.js +5 -10
  40. package/dist/components/zonos-controller.js +12 -5
  41. package/dist/components/zonos-hello.js +6 -3
  42. package/dist/components/zonosStore.js +0 -8
  43. package/dist/esm/{cart-b439be00.js → cart-d81b92ea.js} +4 -4
  44. package/dist/esm/{getBorderRadius-178a0a05.js → getBorderRadius-77e97943.js} +1 -1
  45. package/dist/esm/index.js +5 -5
  46. package/dist/esm/{isDarkColor-416d6047.js → isDarkColor-69090b29.js} +1 -1
  47. package/dist/esm/loader.js +1 -1
  48. package/dist/esm/{localization-a51ccbc2.js → localization-0c5b29fd.js} +2 -2
  49. package/dist/esm/{submitGtag-521826a2.js → submitGtag-8a0fbd41.js} +2 -2
  50. package/dist/esm/zonos-address_2.entry.js +5 -5
  51. package/dist/esm/zonos-badge.entry.js +1 -1
  52. package/dist/esm/zonos-banner.entry.js +1 -1
  53. package/dist/esm/zonos-button_2.entry.js +3 -3
  54. package/dist/esm/zonos-card_2.entry.js +1 -1
  55. package/dist/esm/zonos-cart-items_10.entry.js +9 -15
  56. package/dist/esm/zonos-checkout.entry.js +6 -6
  57. package/dist/esm/zonos-controller.entry.js +15 -9
  58. package/dist/esm/zonos-country-flag_4.entry.js +3 -3
  59. package/dist/esm/zonos-elements.js +1 -1
  60. package/dist/esm/zonos-hello-dialog.entry.js +2 -2
  61. package/dist/esm/zonos-hello.entry.js +8 -5
  62. package/dist/esm/zonos-icon.entry.js +1 -1
  63. package/dist/esm/zonos-notification.entry.js +1 -1
  64. package/dist/esm/zonos-payment.entry.js +5 -5
  65. package/dist/esm/zonos-shipping-rich-radio.entry.js +2 -2
  66. package/dist/esm/zonos-text.entry.js +1 -1
  67. package/dist/esm/{zonosStore-61e74f58.js → zonosStore-34f07ee8.js} +0 -8
  68. package/dist/esm-es5/{cart-b439be00.js → cart-d81b92ea.js} +1 -1
  69. package/dist/esm-es5/{getBorderRadius-178a0a05.js → getBorderRadius-77e97943.js} +1 -1
  70. package/dist/esm-es5/index.js +1 -1
  71. package/dist/esm-es5/{isDarkColor-416d6047.js → isDarkColor-69090b29.js} +1 -1
  72. package/dist/esm-es5/loader.js +1 -1
  73. package/dist/esm-es5/{localization-a51ccbc2.js → localization-0c5b29fd.js} +1 -1
  74. package/dist/esm-es5/{submitGtag-521826a2.js → submitGtag-8a0fbd41.js} +1 -1
  75. package/dist/esm-es5/zonos-address_2.entry.js +1 -1
  76. package/dist/esm-es5/zonos-badge.entry.js +1 -1
  77. package/dist/esm-es5/zonos-banner.entry.js +1 -1
  78. package/dist/esm-es5/zonos-button_2.entry.js +1 -1
  79. package/dist/esm-es5/zonos-card_2.entry.js +1 -1
  80. package/dist/esm-es5/zonos-cart-items_10.entry.js +1 -1
  81. package/dist/esm-es5/zonos-checkout.entry.js +1 -1
  82. package/dist/esm-es5/zonos-controller.entry.js +1 -1
  83. package/dist/esm-es5/zonos-country-flag_4.entry.js +1 -1
  84. package/dist/esm-es5/zonos-elements.js +1 -1
  85. package/dist/esm-es5/zonos-hello-dialog.entry.js +1 -1
  86. package/dist/esm-es5/zonos-hello.entry.js +1 -1
  87. package/dist/esm-es5/zonos-icon.entry.js +1 -1
  88. package/dist/esm-es5/zonos-notification.entry.js +1 -1
  89. package/dist/esm-es5/zonos-payment.entry.js +1 -1
  90. package/dist/esm-es5/zonos-shipping-rich-radio.entry.js +1 -1
  91. package/dist/esm-es5/zonos-text.entry.js +1 -1
  92. package/dist/esm-es5/{zonosStore-61e74f58.js → zonosStore-34f07ee8.js} +1 -1
  93. package/dist/scripts/extractZonosQaUrl.js +1 -30
  94. package/dist/scripts/loadStripe.js +1 -118
  95. package/dist/scripts/loadZonos.js +1 -565
  96. package/dist/scripts/stripe.js +1 -126
  97. package/dist/scripts/zonos.js +1 -565
  98. package/dist/scripts/zonosBase.js +1 -0
  99. package/dist/types/components/checkout/zonos-checkout/zonos-checkout-finish/zonos-checkout-finish.d.ts +2 -3
  100. package/dist/types/components/main/zonos-controller.d.ts +5 -1
  101. package/dist/types/components/store/zonosStore.d.ts +1 -3
  102. package/dist/types/components/utils/api/getLocaleMessages.d.ts +1 -1
  103. package/dist/types/components/utils/api/{getZonosSetting.d.ts → getZonosSettings.d.ts} +1 -1
  104. package/dist/types/components.d.ts +6 -2
  105. package/dist/types/scripts/{zonos.d.ts → zonosBase.d.ts} +6 -3
  106. package/dist/types/types/checkout/CheckoutConfig.d.ts +3 -2
  107. package/dist/types/types/generated/graphql.customer.types.d.ts +64 -5
  108. package/dist/types/types/generated/graphql.customer.types.ts +81 -8
  109. package/dist/types/types/generated/graphql.frontend.types.d.ts +107 -86
  110. package/dist/types/types/generated/graphql.frontend.types.ts +159 -110
  111. package/dist/types/types/global.d.ts +10 -2
  112. package/dist/types/types/hello/HelloConfig.d.ts +0 -1
  113. package/dist/zonos-elements/index.esm.js +1 -1
  114. package/dist/zonos-elements/{p-1685c8df.js → p-06a332cd.js} +1 -1
  115. package/dist/zonos-elements/{p-4ed71bd7.entry.js → p-124857ae.entry.js} +1 -1
  116. package/dist/zonos-elements/{p-e98be2d0.system.entry.js → p-1f494581.system.entry.js} +1 -1
  117. package/dist/zonos-elements/p-24fbe845.system.js +1 -1
  118. package/dist/zonos-elements/{p-4846796a.js → p-2b41549a.js} +1 -1
  119. package/dist/zonos-elements/p-2e1e9074.js +1 -0
  120. package/dist/zonos-elements/{p-2801d868.entry.js → p-3509ffaa.entry.js} +1 -1
  121. package/dist/zonos-elements/{p-1d4a970b.entry.js → p-3c8763a7.entry.js} +1 -1
  122. package/dist/zonos-elements/{p-49f09b91.entry.js → p-3e7444c6.entry.js} +1 -1
  123. package/dist/zonos-elements/p-436faf98.system.entry.js +1 -0
  124. package/dist/zonos-elements/{p-55f49f1e.js → p-4b3baf99.js} +1 -1
  125. package/dist/zonos-elements/{p-a504f64f.system.js → p-5066955b.system.js} +1 -1
  126. package/dist/zonos-elements/{p-e5ae22a9.system.entry.js → p-53ea93c2.system.entry.js} +1 -1
  127. package/dist/zonos-elements/{p-f367f2fe.system.entry.js → p-5bada106.system.entry.js} +1 -1
  128. package/dist/zonos-elements/p-5e87609f.entry.js +1 -0
  129. package/dist/zonos-elements/{p-b85be1ab.system.js → p-7730250d.system.js} +1 -1
  130. package/dist/zonos-elements/{p-089ba905.js → p-86f22026.js} +1 -1
  131. package/dist/zonos-elements/{p-a0e36ed3.entry.js → p-88600956.entry.js} +1 -1
  132. package/dist/zonos-elements/{p-89c210d6.entry.js → p-8b1cb8a4.entry.js} +1 -1
  133. package/dist/zonos-elements/p-8bd04aaa.entry.js +1 -0
  134. package/dist/zonos-elements/{p-47390db7.system.entry.js → p-935fa685.system.entry.js} +1 -1
  135. package/dist/zonos-elements/{p-639396bb.entry.js → p-9c1f19b6.entry.js} +1 -1
  136. package/dist/zonos-elements/{p-4d93275c.entry.js → p-a063c4b7.entry.js} +1 -1
  137. package/dist/zonos-elements/p-a174d834.system.js +1 -0
  138. package/dist/zonos-elements/{p-3c6988d7.js → p-a244579e.js} +1 -1
  139. package/dist/zonos-elements/{p-24eed2a8.system.js → p-a54d8db3.system.js} +1 -1
  140. package/dist/zonos-elements/{p-e1f6ab97.entry.js → p-ab00288a.entry.js} +1 -1
  141. package/dist/zonos-elements/{p-b51de536.system.js → p-ab179c88.system.js} +1 -1
  142. package/dist/zonos-elements/{p-afe26069.entry.js → p-ad2b4bda.entry.js} +1 -1
  143. package/dist/zonos-elements/{p-4bee0bff.system.entry.js → p-b3a71ae4.system.entry.js} +1 -1
  144. package/dist/zonos-elements/{p-d856a200.system.entry.js → p-b3e034bb.system.entry.js} +1 -1
  145. package/dist/zonos-elements/p-b7e061e7.entry.js +1 -0
  146. package/dist/zonos-elements/{p-3cea383b.system.entry.js → p-bb7de2c4.system.entry.js} +1 -1
  147. package/dist/zonos-elements/{p-da060b1c.system.js → p-c1665c4f.system.js} +1 -1
  148. package/dist/zonos-elements/{p-2f43da39.system.entry.js → p-c1e298d5.system.entry.js} +1 -1
  149. package/dist/zonos-elements/{p-8c5595d9.system.entry.js → p-c520d819.system.entry.js} +1 -1
  150. package/dist/zonos-elements/{p-c9348bb0.system.entry.js → p-ca875e60.system.entry.js} +1 -1
  151. package/dist/zonos-elements/{p-b4601210.system.entry.js → p-ccd1794a.system.entry.js} +1 -1
  152. package/dist/zonos-elements/{p-f141519c.system.entry.js → p-daa10b8c.system.entry.js} +1 -1
  153. package/dist/zonos-elements/{p-b6148206.entry.js → p-e3bca405.entry.js} +1 -1
  154. package/dist/zonos-elements/{p-a376a37f.entry.js → p-e58cc024.entry.js} +1 -1
  155. package/dist/zonos-elements/{p-938803f4.entry.js → p-e6556b0d.entry.js} +1 -1
  156. package/dist/zonos-elements/{p-d2217f09.system.js → p-ed074fbf.system.js} +1 -1
  157. package/dist/zonos-elements/{p-560aa686.system.entry.js → p-f1e9b431.system.entry.js} +1 -1
  158. package/dist/zonos-elements/p-f7b07128.system.entry.js +1 -0
  159. package/dist/zonos-elements/{p-4a15c5c7.system.entry.js → p-fbc09dae.system.entry.js} +1 -1
  160. package/dist/zonos-elements/zonos-elements.esm.js +1 -1
  161. package/package.json +9 -6
  162. package/dist/collection/types/online-store/OnlineStoreConfig.js +0 -1
  163. package/dist/types/types/online-store/OnlineStoreConfig.d.ts +0 -3
  164. package/dist/zonos-elements/p-06fb9d1f.system.entry.js +0 -1
  165. package/dist/zonos-elements/p-33137e7d.system.entry.js +0 -1
  166. package/dist/zonos-elements/p-494c77a7.entry.js +0 -1
  167. package/dist/zonos-elements/p-8c48b75e.system.js +0 -1
  168. package/dist/zonos-elements/p-e9b832c5.entry.js +0 -1
  169. package/dist/zonos-elements/p-eb392924.entry.js +0 -1
  170. package/dist/zonos-elements/p-ff95f098.js +0 -1
@@ -1,5 +1,5 @@
1
1
  import type { ZonosSettingsQuery } from "../../../types/generated/graphql.customer.types";
2
- export declare const getZonosSetting: () => Promise<{
2
+ export declare const getZonosSettings: () => Promise<{
3
3
  errors: import("../../..").JsonError[];
4
4
  json: null;
5
5
  } | {
@@ -12,7 +12,7 @@ import { CountryCode, ElementsUiStyle, ElementsUiTheme, HelloMobileLocation } fr
12
12
  import { AppearanceConfig } from "./components/store/zonosStore";
13
13
  import { ContactOption as ContactOption1 } from "./components/store/checkout/stripe";
14
14
  import { AppearanceConfig as AppearanceConfig1, Color as Color1, ElementsUiStyle as ElementsUiStyle1, ElementsUiTheme as ElementsUiTheme1, HelloMobileLocation as HelloMobileLocation1 } from "./types/index";
15
- import { LoadZonosParamsConfig } from "./scripts/zonos";
15
+ import { LoadZonosParamsConfig } from "./scripts/zonosBase";
16
16
  import { NotificationInit } from "./components/common/zonos-notification/zonos-notification";
17
17
  import { RestrictedItem } from "./types/hello/RestrictedItem";
18
18
  import { AppearanceConfig as AppearanceConfig2 } from "./components.d";
@@ -27,7 +27,7 @@ export { CountryCode, ElementsUiStyle, ElementsUiTheme, HelloMobileLocation } fr
27
27
  export { AppearanceConfig } from "./components/store/zonosStore";
28
28
  export { ContactOption as ContactOption1 } from "./components/store/checkout/stripe";
29
29
  export { AppearanceConfig as AppearanceConfig1, Color as Color1, ElementsUiStyle as ElementsUiStyle1, ElementsUiTheme as ElementsUiTheme1, HelloMobileLocation as HelloMobileLocation1 } from "./types/index";
30
- export { LoadZonosParamsConfig } from "./scripts/zonos";
30
+ export { LoadZonosParamsConfig } from "./scripts/zonosBase";
31
31
  export { NotificationInit } from "./components/common/zonos-notification/zonos-notification";
32
32
  export { RestrictedItem } from "./types/hello/RestrictedItem";
33
33
  export { AppearanceConfig as AppearanceConfig2 } from "./components.d";
@@ -327,6 +327,10 @@ export namespace Components {
327
327
  * Show notification
328
328
  */
329
329
  "showNotification": (notification: NotificationInit) => Promise<void>;
330
+ /**
331
+ * Update the organizationName
332
+ */
333
+ "updateOrganizationName": (organizationName: string) => Promise<void>;
330
334
  /**
331
335
  * The zonos api key
332
336
  */
@@ -1,16 +1,15 @@
1
1
  import type { Stripe } from '@stripe/stripe-js';
2
2
  import type { AppearanceConfig } from "../components/store/zonosStore";
3
3
  import type { CheckoutConfig, HelloConfig, NotificationInit } from "../types/index";
4
- import type { OnlineStoreConfig } from "../types/online-store/OnlineStoreConfig";
5
4
  export type CurrencyConverter = (convertAndFormat: (amount: number) => string, convert: (amount: number) => number, format: (amount: number) => string, selector?: string) => void;
6
5
  export type LoadZonosParamsConfig = {
7
6
  appearance?: Partial<AppearanceConfig>;
8
7
  checkoutSettings?: Partial<CheckoutConfig>;
9
8
  currencyConverter?: CurrencyConverter;
10
9
  helloSettings?: Partial<HelloConfig>;
11
- onlineStoreSettings?: Partial<OnlineStoreConfig>;
12
10
  };
13
11
  export type LoadZonosParams = LoadZonosParamsConfig & {
12
+ storeId: number;
14
13
  zonosApiKey: string;
15
14
  };
16
15
  export interface Zonos {
@@ -24,6 +23,7 @@ export interface Zonos {
24
23
  isBigCommerce: boolean;
25
24
  /** Flag if already alerted when preview domain is defined and it's connecting production environment */
26
25
  modeAlerted: boolean;
26
+ storeId: number;
27
27
  /** Stripe instance */
28
28
  stripe: Stripe;
29
29
  version: string;
@@ -35,10 +35,12 @@ export interface Zonos {
35
35
  injectSupportGoogleFont: (fontUrl: string) => void;
36
36
  setupGoogleFont: (fontFamily: string) => void;
37
37
  showNotification: (props: NotificationInit) => void;
38
+ updateOrganizationName: (organizationName: string) => void;
38
39
  }
39
40
  export declare abstract class Zonos {
40
41
  static zonosApiKey: string;
41
42
  static stripe: Stripe;
43
+ static storeId: number;
42
44
  static doneInit: boolean;
43
45
  static debug: boolean;
44
46
  static isBigCommerce: boolean;
@@ -48,9 +50,10 @@ export declare abstract class Zonos {
48
50
  static modeAlerted: boolean;
49
51
  static getCurrentTimestamp: () => number;
50
52
  private static zonosController;
51
- static init: ({ appearance, checkoutSettings, currencyConverter, helloSettings, zonosApiKey, }: LoadZonosParams) => Promise<void>;
53
+ static init: ({ appearance, checkoutSettings, currencyConverter, helloSettings, storeId, zonosApiKey, }: LoadZonosParams) => Promise<void>;
52
54
  static displayCurrency: () => void;
53
55
  static showNotification: (notification: NotificationInit) => void;
56
+ static updateOrganizationName: (organizationName: string) => void;
54
57
  private static disablePlaceOrderButtons;
55
58
  private static injectController;
56
59
  private static injectSentryScript;
@@ -1,8 +1,8 @@
1
1
  import type { CartItem } from "../../components/store/checkout/cart";
2
2
  import type { CalculateLandedCostRequest } from "./api/CalculateLandedCostRequest";
3
- import type { AnalyticsProviderStatus, AnalyticsProviderType, CalculateLandedCostMutation, CheckoutSubscriptionStatus, CheckoutSuccessBehavior, CheckoutVisibilityStatus, NotificationActiveStatus } from "../generated/graphql.customer.types";
3
+ import type { AnalyticsProviderStatus, AnalyticsProviderType, CalculateLandedCostMutation, CheckoutSubscriptionStatus, CheckoutSuccessBehavior, CheckoutVisibilityStatus, GetOrderQuery, NotificationActiveStatus } from "../generated/graphql.customer.types";
4
+ export type ZonosOrder = GetOrderQuery['order'];
4
5
  export type CheckoutConfig = {
5
- allowedDomains: Array<string>;
6
6
  analyticsProviders: Array<{
7
7
  status: AnalyticsProviderStatus;
8
8
  type: AnalyticsProviderType;
@@ -56,4 +56,5 @@ export type CheckoutConfig = {
56
56
  */
57
57
  buildCartDetail?: () => Promise<CartItem[]>;
58
58
  buildLandedCost?: (checkoutSessionId: string, contact: CalculateLandedCostRequest['contact'], shippingAddress: CalculateLandedCostRequest['shippingAddress']) => Promise<CalculateLandedCostMutation>;
59
+ onOrderSuccess?: (zonosOrder: ZonosOrder) => void;
59
60
  };
@@ -47,6 +47,10 @@ export type Scalars = {
47
47
  input: number;
48
48
  output: number;
49
49
  };
50
+ JSON: {
51
+ input: Record<string, unknown>;
52
+ output: Record<string, unknown>;
53
+ };
50
54
  String: {
51
55
  input: string;
52
56
  output: string;
@@ -123,11 +127,21 @@ export declare const carrierAccountApiUsage: {
123
127
  readonly Rating: "RATING";
124
128
  };
125
129
  export type CarrierAccountApiUsage = (typeof carrierAccountApiUsage)[keyof typeof carrierAccountApiUsage];
130
+ export declare const carrierAccountIntegrationType: {
131
+ readonly Rest: "REST";
132
+ readonly Soap: "SOAP";
133
+ };
134
+ export type CarrierAccountIntegrationType = (typeof carrierAccountIntegrationType)[keyof typeof carrierAccountIntegrationType];
126
135
  export declare const carrierAccountRateType: {
127
136
  readonly Negotiated: "NEGOTIATED";
128
137
  readonly Retail: "RETAIL";
129
138
  };
130
139
  export type CarrierAccountRateType = (typeof carrierAccountRateType)[keyof typeof carrierAccountRateType];
140
+ export declare const carrierAccountRegistrationType: {
141
+ readonly Other: "OTHER";
142
+ readonly Zonos: "ZONOS";
143
+ };
144
+ export type CarrierAccountRegistrationType = (typeof carrierAccountRegistrationType)[keyof typeof carrierAccountRegistrationType];
131
145
  export declare const carrierAccountUsageCategoryCode: {
132
146
  readonly Shipping: "SHIPPING";
133
147
  };
@@ -1107,6 +1121,23 @@ export declare const elementsUiTheme: {
1107
1121
  readonly System: "SYSTEM";
1108
1122
  };
1109
1123
  export type ElementsUiTheme = (typeof elementsUiTheme)[keyof typeof elementsUiTheme];
1124
+ export declare const emailTemplateProviderType: {
1125
+ readonly Sendgrid: "SENDGRID";
1126
+ };
1127
+ export type EmailTemplateProviderType = (typeof emailTemplateProviderType)[keyof typeof emailTemplateProviderType];
1128
+ export declare const emailTemplateStatus: {
1129
+ readonly Primary: "PRIMARY";
1130
+ readonly Standard: "STANDARD";
1131
+ };
1132
+ export type EmailTemplateStatus = (typeof emailTemplateStatus)[keyof typeof emailTemplateStatus];
1133
+ export declare const emailTemplateType: {
1134
+ readonly AbandonedCart: "ABANDONED_CART";
1135
+ readonly OrderCanceled: "ORDER_CANCELED";
1136
+ readonly OrderConfirmation: "ORDER_CONFIRMATION";
1137
+ readonly OrderShipped: "ORDER_SHIPPED";
1138
+ readonly Unknown: "UNKNOWN";
1139
+ };
1140
+ export type EmailTemplateType = (typeof emailTemplateType)[keyof typeof emailTemplateType];
1110
1141
  export declare const endOfDayBehavior: {
1111
1142
  readonly Exempt: "EXEMPT";
1112
1143
  readonly Required: "REQUIRED";
@@ -1143,6 +1174,13 @@ export declare const exchangeRateType: {
1143
1174
  readonly MidMarket: "MID_MARKET";
1144
1175
  };
1145
1176
  export type ExchangeRateType = (typeof exchangeRateType)[keyof typeof exchangeRateType];
1177
+ export declare const exportJobStatus: {
1178
+ readonly Completed: "COMPLETED";
1179
+ readonly Error: "ERROR";
1180
+ readonly Initialized: "INITIALIZED";
1181
+ readonly Processing: "PROCESSING";
1182
+ };
1183
+ export type ExportJobStatus = (typeof exportJobStatus)[keyof typeof exportJobStatus];
1146
1184
  export declare const externalServiceTokenType: {
1147
1185
  readonly StripePublishableToken: "STRIPE_PUBLISHABLE_TOKEN";
1148
1186
  };
@@ -1397,6 +1435,13 @@ export declare const landedCostAdjustmentType: {
1397
1435
  readonly Shipping: "SHIPPING";
1398
1436
  };
1399
1437
  export type LandedCostAdjustmentType = (typeof landedCostAdjustmentType)[keyof typeof landedCostAdjustmentType];
1438
+ export declare const landedCostBillingPartyType: {
1439
+ readonly Customer: "CUSTOMER";
1440
+ readonly Merchant: "MERCHANT";
1441
+ readonly ThirdParty: "THIRD_PARTY";
1442
+ readonly Zonos: "ZONOS";
1443
+ };
1444
+ export type LandedCostBillingPartyType = (typeof landedCostBillingPartyType)[keyof typeof landedCostBillingPartyType];
1400
1445
  export declare const landedCostCalculationMethod: {
1401
1446
  readonly Dap: "DAP";
1402
1447
  readonly Ddp: "DDP";
@@ -1421,9 +1466,12 @@ export declare const landedCostFeeType: {
1421
1466
  readonly CurrencyConversionFee: "CURRENCY_CONVERSION_FEE";
1422
1467
  readonly DdpServiceFee: "DDP_SERVICE_FEE";
1423
1468
  readonly Duty: "DUTY";
1469
+ readonly InclusivePriceAdjustment: "INCLUSIVE_PRICE_ADJUSTMENT";
1470
+ readonly InclusivePricing: "INCLUSIVE_PRICING";
1424
1471
  readonly Item: "ITEM";
1425
1472
  readonly Other: "OTHER";
1426
1473
  readonly Shipping: "SHIPPING";
1474
+ readonly Tax: "TAX";
1427
1475
  readonly ZonosLandedCostGuarantee: "ZONOS_LANDED_COST_GUARANTEE";
1428
1476
  };
1429
1477
  export type LandedCostFeeType = (typeof landedCostFeeType)[keyof typeof landedCostFeeType];
@@ -1773,11 +1821,6 @@ export declare const shipmentAmountType: {
1773
1821
  readonly Surcharge: "SURCHARGE";
1774
1822
  };
1775
1823
  export type ShipmentAmountType = (typeof shipmentAmountType)[keyof typeof shipmentAmountType];
1776
- export declare const shipmentBatchStatus: {
1777
- readonly Closed: "CLOSED";
1778
- readonly Open: "OPEN";
1779
- };
1780
- export type ShipmentBatchStatus = (typeof shipmentBatchStatus)[keyof typeof shipmentBatchStatus];
1781
1824
  export declare const shipmentCartonSpecialService: {
1782
1825
  readonly Alcohol: "ALCOHOL";
1783
1826
  readonly BatteryInsideEquipment: "BATTERY_INSIDE_EQUIPMENT";
@@ -1788,6 +1831,11 @@ export declare const shipmentCartonSpecialService: {
1788
1831
  readonly SignatureOption: "SIGNATURE_OPTION";
1789
1832
  };
1790
1833
  export type ShipmentCartonSpecialService = (typeof shipmentCartonSpecialService)[keyof typeof shipmentCartonSpecialService];
1834
+ export declare const shipmentConsolidationStatus: {
1835
+ readonly Closed: "CLOSED";
1836
+ readonly Open: "OPEN";
1837
+ };
1838
+ export type ShipmentConsolidationStatus = (typeof shipmentConsolidationStatus)[keyof typeof shipmentConsolidationStatus];
1791
1839
  export declare const shipmentSpecialService: {
1792
1840
  readonly Consolidation: "CONSOLIDATION";
1793
1841
  readonly CutFlowers: "CUT_FLOWERS";
@@ -1920,6 +1968,7 @@ export type TransitTypeCode = (typeof transitTypeCode)[keyof typeof transitTypeC
1920
1968
  export declare const usageRecordTypeCode: {
1921
1969
  readonly ApiUsage: "API_USAGE";
1922
1970
  readonly LcgInvoicing: "LCG_INVOICING";
1971
+ readonly OrderComplete: "ORDER_COMPLETE";
1923
1972
  readonly OrderTransactionInvoicing: "ORDER_TRANSACTION_INVOICING";
1924
1973
  };
1925
1974
  export type UsageRecordTypeCode = (typeof usageRecordTypeCode)[keyof typeof usageRecordTypeCode];
@@ -1968,9 +2017,19 @@ export declare const wcoVersion: {
1968
2017
  readonly Wco_1997: "WCO_1997";
1969
2018
  readonly Wco_2002: "WCO_2002";
1970
2019
  readonly Wco_2007: "WCO_2007";
2020
+ readonly Wco_2012: "WCO_2012";
1971
2021
  readonly Wco_2017: "WCO_2017";
1972
2022
  readonly Wco_2022: "WCO_2022";
1973
2023
  readonly Wco_2027: "WCO_2027";
2024
+ readonly Wco_2032: "WCO_2032";
2025
+ readonly Wco_2037: "WCO_2037";
2026
+ readonly Wco_2042: "WCO_2042";
2027
+ readonly Wco_2047: "WCO_2047";
2028
+ readonly Wco_2052: "WCO_2052";
2029
+ readonly Wco_2057: "WCO_2057";
2030
+ readonly Wco_2062: "WCO_2062";
2031
+ readonly Wco_2067: "WCO_2067";
2032
+ readonly Wco_2072: "WCO_2072";
1974
2033
  };
1975
2034
  export type WcoVersion = (typeof wcoVersion)[keyof typeof wcoVersion];
1976
2035
  export declare const weightUnitCode: {
@@ -29,6 +29,7 @@ export type Scalars = {
29
29
  Float: { input: number; output: number };
30
30
  ID: { input: string; output: string };
31
31
  Int: { input: number; output: number };
32
+ JSON: { input: Record<string, unknown>; output: Record<string, unknown> };
32
33
  String: { input: string; output: string };
33
34
  ZonedDateTime: { input: string; output: string };
34
35
  };
@@ -126,6 +127,13 @@ export const carrierAccountApiUsage = {
126
127
  export type CarrierAccountApiUsage =
127
128
  (typeof carrierAccountApiUsage)[keyof typeof carrierAccountApiUsage];
128
129
 
130
+ export const carrierAccountIntegrationType = {
131
+ Rest: 'REST',
132
+ Soap: 'SOAP',
133
+ } as const;
134
+
135
+ export type CarrierAccountIntegrationType =
136
+ (typeof carrierAccountIntegrationType)[keyof typeof carrierAccountIntegrationType];
129
137
  export const carrierAccountRateType = {
130
138
  Negotiated: 'NEGOTIATED',
131
139
  Retail: 'RETAIL',
@@ -133,6 +141,13 @@ export const carrierAccountRateType = {
133
141
 
134
142
  export type CarrierAccountRateType =
135
143
  (typeof carrierAccountRateType)[keyof typeof carrierAccountRateType];
144
+ export const carrierAccountRegistrationType = {
145
+ Other: 'OTHER',
146
+ Zonos: 'ZONOS',
147
+ } as const;
148
+
149
+ export type CarrierAccountRegistrationType =
150
+ (typeof carrierAccountRegistrationType)[keyof typeof carrierAccountRegistrationType];
136
151
 
137
152
  export const carrierAccountUsageCategoryCode = {
138
153
  Shipping: 'SHIPPING',
@@ -1233,6 +1248,31 @@ export const elementsUiTheme = {
1233
1248
 
1234
1249
  export type ElementsUiTheme =
1235
1250
  (typeof elementsUiTheme)[keyof typeof elementsUiTheme];
1251
+
1252
+ export const emailTemplateProviderType = {
1253
+ Sendgrid: 'SENDGRID',
1254
+ } as const;
1255
+
1256
+ export type EmailTemplateProviderType =
1257
+ (typeof emailTemplateProviderType)[keyof typeof emailTemplateProviderType];
1258
+ export const emailTemplateStatus = {
1259
+ Primary: 'PRIMARY',
1260
+ Standard: 'STANDARD',
1261
+ } as const;
1262
+
1263
+ export type EmailTemplateStatus =
1264
+ (typeof emailTemplateStatus)[keyof typeof emailTemplateStatus];
1265
+ export const emailTemplateType = {
1266
+ AbandonedCart: 'ABANDONED_CART',
1267
+ OrderCanceled: 'ORDER_CANCELED',
1268
+ OrderConfirmation: 'ORDER_CONFIRMATION',
1269
+ OrderShipped: 'ORDER_SHIPPED',
1270
+ Unknown: 'UNKNOWN',
1271
+ } as const;
1272
+
1273
+ export type EmailTemplateType =
1274
+ (typeof emailTemplateType)[keyof typeof emailTemplateType];
1275
+
1236
1276
  export const endOfDayBehavior = {
1237
1277
  Exempt: 'EXEMPT',
1238
1278
  Required: 'REQUIRED',
@@ -1276,6 +1316,15 @@ export const exchangeRateType = {
1276
1316
 
1277
1317
  export type ExchangeRateType =
1278
1318
  (typeof exchangeRateType)[keyof typeof exchangeRateType];
1319
+ export const exportJobStatus = {
1320
+ Completed: 'COMPLETED',
1321
+ Error: 'ERROR',
1322
+ Initialized: 'INITIALIZED',
1323
+ Processing: 'PROCESSING',
1324
+ } as const;
1325
+
1326
+ export type ExportJobStatus =
1327
+ (typeof exportJobStatus)[keyof typeof exportJobStatus];
1279
1328
 
1280
1329
  export const externalServiceTokenType = {
1281
1330
  StripePublishableToken: 'STRIPE_PUBLISHABLE_TOKEN',
@@ -1609,6 +1658,15 @@ export const landedCostAdjustmentType = {
1609
1658
 
1610
1659
  export type LandedCostAdjustmentType =
1611
1660
  (typeof landedCostAdjustmentType)[keyof typeof landedCostAdjustmentType];
1661
+ export const landedCostBillingPartyType = {
1662
+ Customer: 'CUSTOMER',
1663
+ Merchant: 'MERCHANT',
1664
+ ThirdParty: 'THIRD_PARTY',
1665
+ Zonos: 'ZONOS',
1666
+ } as const;
1667
+
1668
+ export type LandedCostBillingPartyType =
1669
+ (typeof landedCostBillingPartyType)[keyof typeof landedCostBillingPartyType];
1612
1670
  export const landedCostCalculationMethod = {
1613
1671
  Dap: 'DAP',
1614
1672
  Ddp: 'DDP',
@@ -1638,9 +1696,12 @@ export const landedCostFeeType = {
1638
1696
  CurrencyConversionFee: 'CURRENCY_CONVERSION_FEE',
1639
1697
  DdpServiceFee: 'DDP_SERVICE_FEE',
1640
1698
  Duty: 'DUTY',
1699
+ InclusivePriceAdjustment: 'INCLUSIVE_PRICE_ADJUSTMENT',
1700
+ InclusivePricing: 'INCLUSIVE_PRICING',
1641
1701
  Item: 'ITEM',
1642
1702
  Other: 'OTHER',
1643
1703
  Shipping: 'SHIPPING',
1704
+ Tax: 'TAX',
1644
1705
  ZonosLandedCostGuarantee: 'ZONOS_LANDED_COST_GUARANTEE',
1645
1706
  } as const;
1646
1707
 
@@ -2073,14 +2134,6 @@ export const shipmentAmountType = {
2073
2134
  export type ShipmentAmountType =
2074
2135
  (typeof shipmentAmountType)[keyof typeof shipmentAmountType];
2075
2136
 
2076
- export const shipmentBatchStatus = {
2077
- Closed: 'CLOSED',
2078
- Open: 'OPEN',
2079
- } as const;
2080
-
2081
- export type ShipmentBatchStatus =
2082
- (typeof shipmentBatchStatus)[keyof typeof shipmentBatchStatus];
2083
-
2084
2137
  export const shipmentCartonSpecialService = {
2085
2138
  Alcohol: 'ALCOHOL',
2086
2139
  BatteryInsideEquipment: 'BATTERY_INSIDE_EQUIPMENT',
@@ -2094,6 +2147,14 @@ export const shipmentCartonSpecialService = {
2094
2147
  export type ShipmentCartonSpecialService =
2095
2148
  (typeof shipmentCartonSpecialService)[keyof typeof shipmentCartonSpecialService];
2096
2149
 
2150
+ export const shipmentConsolidationStatus = {
2151
+ Closed: 'CLOSED',
2152
+ Open: 'OPEN',
2153
+ } as const;
2154
+
2155
+ export type ShipmentConsolidationStatus =
2156
+ (typeof shipmentConsolidationStatus)[keyof typeof shipmentConsolidationStatus];
2157
+
2097
2158
  export const shipmentSpecialService = {
2098
2159
  Consolidation: 'CONSOLIDATION',
2099
2160
  CutFlowers: 'CUT_FLOWERS',
@@ -2139,6 +2200,7 @@ export const stripeActiveStatus = {
2139
2200
 
2140
2201
  export type StripeActiveStatus =
2141
2202
  (typeof stripeActiveStatus)[keyof typeof stripeActiveStatus];
2203
+
2142
2204
  export const stripeBillingFrequency = {
2143
2205
  Day: 'DAY',
2144
2206
  Month: 'MONTH',
@@ -2266,6 +2328,7 @@ export type TransitTypeCode =
2266
2328
  export const usageRecordTypeCode = {
2267
2329
  ApiUsage: 'API_USAGE',
2268
2330
  LcgInvoicing: 'LCG_INVOICING',
2331
+ OrderComplete: 'ORDER_COMPLETE',
2269
2332
  OrderTransactionInvoicing: 'ORDER_TRANSACTION_INVOICING',
2270
2333
  } as const;
2271
2334
 
@@ -2321,9 +2384,19 @@ export const wcoVersion = {
2321
2384
  Wco_1997: 'WCO_1997',
2322
2385
  Wco_2002: 'WCO_2002',
2323
2386
  Wco_2007: 'WCO_2007',
2387
+ Wco_2012: 'WCO_2012',
2324
2388
  Wco_2017: 'WCO_2017',
2325
2389
  Wco_2022: 'WCO_2022',
2326
2390
  Wco_2027: 'WCO_2027',
2391
+ Wco_2032: 'WCO_2032',
2392
+ Wco_2037: 'WCO_2037',
2393
+ Wco_2042: 'WCO_2042',
2394
+ Wco_2047: 'WCO_2047',
2395
+ Wco_2052: 'WCO_2052',
2396
+ Wco_2057: 'WCO_2057',
2397
+ Wco_2062: 'WCO_2062',
2398
+ Wco_2067: 'WCO_2067',
2399
+ Wco_2072: 'WCO_2072',
2327
2400
  } as const;
2328
2401
 
2329
2402
  export type WcoVersion = (typeof wcoVersion)[keyof typeof wcoVersion];