@zonos/elements 1.3.171 → 1.3.173

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 (133) hide show
  1. package/dist/cjs/{CheckoutConfig-f5e68e14.js → CheckoutConfig-c5943bbf.js} +1 -1
  2. package/dist/cjs/{cart-36799bbe.js → cart-d9052930.js} +21 -8
  3. package/dist/cjs/{handleFetch-7b7f9f7c.js → handleFetch-ff25db40.js} +10 -6
  4. package/dist/cjs/index.cjs.js +9 -9
  5. package/dist/cjs/loader.cjs.js +1 -1
  6. package/dist/cjs/{paypal-3eae38bd.js → paypal-31477331.js} +6 -2
  7. package/dist/cjs/zonos-address_7.cjs.entry.js +61 -19
  8. package/dist/cjs/zonos-cart-items_13.cjs.entry.js +20 -12
  9. package/dist/cjs/zonos-checkout.cjs.entry.js +106 -36
  10. package/dist/cjs/zonos-controller.cjs.entry.js +2 -2
  11. package/dist/cjs/zonos-country-flag.cjs.entry.js +2 -2
  12. package/dist/cjs/zonos-country-select_4.cjs.entry.js +2 -2
  13. package/dist/cjs/zonos-elements.cjs.js +1 -1
  14. package/dist/cjs/zonos-empty-state-payment_4.cjs.entry.js +20 -4
  15. package/dist/cjs/zonos-hello-dialog.cjs.entry.js +2 -2
  16. package/dist/cjs/zonos-hello.cjs.entry.js +2 -2
  17. package/dist/cjs/zonos-language-select_2.cjs.entry.js +2 -2
  18. package/dist/collection/components/checkout/zonos-checkout/zonos-checkout-finish/zonos-checkout-finish.js +10 -6
  19. package/dist/collection/components/checkout/zonos-checkout/zonos-checkout.js +114 -37
  20. package/dist/collection/components/checkout/zonos-checkout/zonos-customer-info/zonos-customer-info.js +10 -6
  21. package/dist/collection/components/store/checkout/cart.js +5 -0
  22. package/dist/collection/components/store/checkout/paypal.js +5 -0
  23. package/dist/collection/components/store/checkout/stripe.js +12 -7
  24. package/dist/collection/components/stripe/zonos-address/zonos-address.js +37 -16
  25. package/dist/collection/components/stripe/zonos-link-authentication/zonos-link-authentication.js +27 -4
  26. package/dist/collection/components/stripe/zonos-payment/zonos-payment.js +22 -2
  27. package/dist/collection/components/utils/api/trackConversionEvent.js +1 -0
  28. package/dist/collection/components/utils/handleFetch.js +9 -6
  29. package/dist/collection/components/utils/logging/getAdditionalLogMetadata.js +1 -0
  30. package/dist/collection/styles/stripe/defaultVariable.js +2 -0
  31. package/dist/collection/types/generated/graphql.frontend.types.js +9 -0
  32. package/dist/collection/types/generated/graphql.internal.types.js +16 -0
  33. package/dist/esm/{CheckoutConfig-2994efd9.js → CheckoutConfig-75af3742.js} +1 -1
  34. package/dist/esm/{cart-b2e57589.js → cart-fff4f4a4.js} +21 -8
  35. package/dist/esm/{handleFetch-8d72c8cd.js → handleFetch-0109fb78.js} +10 -6
  36. package/dist/esm/index.js +10 -10
  37. package/dist/esm/loader.js +1 -1
  38. package/dist/esm/{paypal-38da5d52.js → paypal-087fbd16.js} +6 -2
  39. package/dist/esm/zonos-address_7.entry.js +61 -19
  40. package/dist/esm/zonos-cart-items_13.entry.js +20 -12
  41. package/dist/esm/zonos-checkout.entry.js +106 -36
  42. package/dist/esm/zonos-controller.entry.js +2 -2
  43. package/dist/esm/zonos-country-flag.entry.js +2 -2
  44. package/dist/esm/zonos-country-select_4.entry.js +2 -2
  45. package/dist/esm/zonos-elements.js +1 -1
  46. package/dist/esm/zonos-empty-state-payment_4.entry.js +20 -4
  47. package/dist/esm/zonos-hello-dialog.entry.js +2 -2
  48. package/dist/esm/zonos-hello.entry.js +2 -2
  49. package/dist/esm/zonos-language-select_2.entry.js +2 -2
  50. package/dist/esm-es5/{CheckoutConfig-2994efd9.js → CheckoutConfig-75af3742.js} +1 -1
  51. package/dist/esm-es5/{cart-b2e57589.js → cart-fff4f4a4.js} +1 -1
  52. package/dist/esm-es5/handleFetch-0109fb78.js +1 -0
  53. package/dist/esm-es5/index.js +1 -1
  54. package/dist/esm-es5/loader.js +1 -1
  55. package/dist/esm-es5/{paypal-38da5d52.js → paypal-087fbd16.js} +2 -2
  56. package/dist/esm-es5/zonos-address_7.entry.js +1 -1
  57. package/dist/esm-es5/zonos-cart-items_13.entry.js +1 -1
  58. package/dist/esm-es5/zonos-checkout.entry.js +1 -1
  59. package/dist/esm-es5/zonos-controller.entry.js +1 -1
  60. package/dist/esm-es5/zonos-country-flag.entry.js +1 -1
  61. package/dist/esm-es5/zonos-country-select_4.entry.js +1 -1
  62. package/dist/esm-es5/zonos-elements.js +1 -1
  63. package/dist/esm-es5/zonos-empty-state-payment_4.entry.js +1 -1
  64. package/dist/esm-es5/zonos-hello-dialog.entry.js +1 -1
  65. package/dist/esm-es5/zonos-hello.entry.js +1 -1
  66. package/dist/esm-es5/zonos-language-select_2.entry.js +1 -1
  67. package/dist/scripts/index.d.ts +26 -6
  68. package/dist/scripts/index.js +1 -1
  69. package/dist/scripts/loadZonos.js +1 -1
  70. package/dist/scripts/zonos.js +1 -1
  71. package/dist/types/components/checkout/zonos-checkout/zonos-checkout.d.ts +17 -3
  72. package/dist/types/components/checkout/zonos-checkout/zonos-customer-info/zonos-customer-info.d.ts +1 -1
  73. package/dist/types/components/store/checkout/cart.d.ts +4 -0
  74. package/dist/types/components/store/checkout/stripe.d.ts +10 -1
  75. package/dist/types/components/stripe/zonos-address/zonos-address.d.ts +6 -2
  76. package/dist/types/components/stripe/zonos-link-authentication/zonos-link-authentication.d.ts +1 -1
  77. package/dist/types/components/stripe/zonos-payment/zonos-payment.d.ts +3 -0
  78. package/dist/types/components/utils/logging/getAdditionalLogMetadata.d.ts +1 -0
  79. package/dist/types/components.d.ts +8 -6
  80. package/dist/types/types/ConversionEvent.d.ts +2 -1
  81. package/dist/types/types/checkout/CheckoutConfig.d.ts +1 -0
  82. package/dist/types/types/checkout/api/CheckoutSession.d.ts +8 -0
  83. package/dist/types/types/generated/graphql.frontend.types.d.ts +92 -0
  84. package/dist/types/types/generated/graphql.frontend.types.ts +106 -0
  85. package/dist/types/types/generated/graphql.internal.types.d.ts +124 -0
  86. package/dist/types/types/generated/graphql.internal.types.ts +154 -0
  87. package/dist/zonos-elements/assets/RemoveIcon.svg +1 -1
  88. package/dist/zonos-elements/index.esm.js +1 -1
  89. package/dist/zonos-elements/{p-0bfca3a9.system.entry.js → p-0078362c.system.entry.js} +1 -1
  90. package/dist/zonos-elements/p-033817e3.system.entry.js +1 -0
  91. package/dist/zonos-elements/p-04c38987.system.js +1 -0
  92. package/dist/zonos-elements/{p-cb52cfdf.entry.js → p-0db19b02.entry.js} +1 -1
  93. package/dist/zonos-elements/p-1b5a2714.system.entry.js +1 -0
  94. package/dist/zonos-elements/{p-1edbfb1f.system.entry.js → p-1be7b435.system.entry.js} +1 -1
  95. package/dist/zonos-elements/{p-47f79a6d.js → p-1c488ecf.js} +1 -1
  96. package/dist/zonos-elements/{p-c5c2976f.system.js → p-2ebb4fa7.system.js} +1 -1
  97. package/dist/zonos-elements/{p-1a20922f.system.entry.js → p-31ce9143.system.entry.js} +1 -1
  98. package/dist/zonos-elements/{p-a3888f1d.system.js → p-38f6f6fd.system.js} +1 -1
  99. package/dist/zonos-elements/{p-b0c39400.entry.js → p-407a96d2.entry.js} +1 -1
  100. package/dist/zonos-elements/p-427c2766.entry.js +1 -0
  101. package/dist/zonos-elements/p-46f6e5e9.system.js +1 -1
  102. package/dist/zonos-elements/{p-0def1397.system.entry.js → p-514431e9.system.entry.js} +1 -1
  103. package/dist/zonos-elements/p-5275b7ca.system.entry.js +1 -0
  104. package/dist/zonos-elements/p-5edc11be.system.entry.js +1 -0
  105. package/dist/zonos-elements/{p-461ca324.entry.js → p-67ca7373.entry.js} +1 -1
  106. package/dist/zonos-elements/{p-864c7c7d.entry.js → p-73a7b89b.entry.js} +1 -1
  107. package/dist/zonos-elements/{p-ecd4ec15.system.js → p-759a654a.system.js} +1 -1
  108. package/dist/zonos-elements/{p-bfa028a2.entry.js → p-7862da71.entry.js} +1 -1
  109. package/dist/zonos-elements/p-78b81404.system.js +17 -0
  110. package/dist/zonos-elements/p-839448c3.js +1 -0
  111. package/dist/zonos-elements/p-8b33c3b7.entry.js +1 -0
  112. package/dist/zonos-elements/{p-56a8b1f6.system.entry.js → p-a83370c6.system.entry.js} +1 -1
  113. package/dist/zonos-elements/{p-ff1c6d9a.entry.js → p-a9d7746a.entry.js} +1 -1
  114. package/dist/zonos-elements/{p-c82f488b.system.entry.js → p-ada6e691.system.entry.js} +1 -1
  115. package/dist/zonos-elements/{p-dd0259f4.js → p-bfd6e156.js} +1 -1
  116. package/dist/zonos-elements/p-cbd2bd33.js +17 -0
  117. package/dist/zonos-elements/p-ef9fdf45.entry.js +1 -0
  118. package/dist/zonos-elements/p-f6c0da8b.entry.js +1 -0
  119. package/dist/zonos-elements/zonos-elements.esm.js +1 -1
  120. package/package.json +1 -1
  121. package/dist/esm-es5/handleFetch-8d72c8cd.js +0 -1
  122. package/dist/zonos-elements/p-00ad3c73.entry.js +0 -1
  123. package/dist/zonos-elements/p-173d1fcd.system.entry.js +0 -1
  124. package/dist/zonos-elements/p-48173901.js +0 -17
  125. package/dist/zonos-elements/p-53cb8867.system.entry.js +0 -1
  126. package/dist/zonos-elements/p-56758218.system.entry.js +0 -1
  127. package/dist/zonos-elements/p-71539c8a.js +0 -1
  128. package/dist/zonos-elements/p-9261869c.system.js +0 -1
  129. package/dist/zonos-elements/p-934164df.entry.js +0 -1
  130. package/dist/zonos-elements/p-9f9e4f74.entry.js +0 -1
  131. package/dist/zonos-elements/p-bf113a46.system.js +0 -17
  132. package/dist/zonos-elements/p-e09cea9c.entry.js +0 -1
  133. package/dist/zonos-elements/p-fd352222.system.entry.js +0 -1
@@ -7,6 +7,10 @@ export type CheckoutSessionUpdateRequest = {
7
7
  adjustmentsAmount: number;
8
8
  cartId: string | null;
9
9
  currency?: string;
10
+ /**
11
+ * The one-time password for the customer's authentication.
12
+ */
13
+ customerAuthenticationToken?: string;
10
14
  id: string;
11
15
  itemsAmount?: number;
12
16
  landedCostId?: string;
@@ -29,6 +33,10 @@ export type CheckoutSessionCreateRequest = {
29
33
  adjustmentsAmount?: number;
30
34
  cartId: string | null;
31
35
  currency: string;
36
+ /**
37
+ * The one-time password for the customer's authentication.
38
+ */
39
+ customerAuthenticationToken?: string;
32
40
  itemsAmount: number;
33
41
  metadata: CheckoutSessionUpdateMetadata;
34
42
  presentmentCountryCode: CountryCode | null;
@@ -535,6 +535,89 @@ export declare const promptBulkJobStatusEnum: {
535
535
  readonly Queued: "queued";
536
536
  };
537
537
  export type Prompt_BulkJobStatus_Enum = (typeof promptBulkJobStatusEnum)[keyof typeof promptBulkJobStatusEnum];
538
+ export type AnalyticConversionEventQuery = {
539
+ cartCreate: {
540
+ aggregate: {
541
+ avg: {
542
+ stepSeconds: number | null;
543
+ } | null;
544
+ count: number;
545
+ } | null;
546
+ nodes: Array<{
547
+ organizationId: string;
548
+ }>;
549
+ };
550
+ customerInfoCompleted: {
551
+ aggregate: {
552
+ avg: {
553
+ stepSeconds: number | null;
554
+ } | null;
555
+ count: number;
556
+ } | null;
557
+ nodes: Array<{
558
+ organizationId: string;
559
+ }>;
560
+ };
561
+ orderCompleted: {
562
+ aggregate: {
563
+ avg: {
564
+ stepSeconds: number | null;
565
+ } | null;
566
+ count: number;
567
+ } | null;
568
+ nodes: Array<{
569
+ organizationId: string;
570
+ }>;
571
+ };
572
+ paymentInfoCompleted: {
573
+ aggregate: {
574
+ avg: {
575
+ stepSeconds: number | null;
576
+ } | null;
577
+ count: number;
578
+ } | null;
579
+ nodes: Array<{
580
+ organizationId: string;
581
+ }>;
582
+ };
583
+ shippingInfoCompleted: {
584
+ aggregate: {
585
+ avg: {
586
+ stepSeconds: number | null;
587
+ } | null;
588
+ count: number;
589
+ } | null;
590
+ nodes: Array<{
591
+ organizationId: string;
592
+ }>;
593
+ };
594
+ };
595
+ export type MetricAllApiPathsQuery = {
596
+ usage_scriptLoadEvent: Array<{
597
+ href: string;
598
+ }>;
599
+ };
600
+ export type MetricApiPathSpeedQuery = {
601
+ usage_scriptLoadEvent_aggregate: {
602
+ aggregate: {
603
+ avg: {
604
+ loadTimeClientMiddleware: number | null;
605
+ loadTimeInternal: number | null;
606
+ } | null;
607
+ count: number;
608
+ max: {
609
+ createdAt: string | null;
610
+ loadTimeClientMiddleware: number | null;
611
+ loadTimeInternal: number | null;
612
+ } | null;
613
+ min: {
614
+ createdAt: string | null;
615
+ loadTimeClientMiddleware: number | null;
616
+ loadTimeInternal: number | null;
617
+ } | null;
618
+ } | null;
619
+ };
620
+ };
538
621
  export type FailToGetQuoteErrorsQuery = {
539
622
  error_event_aggregate: {
540
623
  aggregate: {
@@ -794,6 +877,9 @@ export declare function getSdk(client: GraphQLClient, withWrapper?: SdkFunctionW
794
877
  allSettings(variables?: {
795
878
  [x: string]: never;
796
879
  }, requestHeaders?: GraphQLClientRequestHeaders): Promise<AllSettingsQuery>;
880
+ analyticConversionEvent(variables?: {
881
+ [x: string]: never;
882
+ }, requestHeaders?: GraphQLClientRequestHeaders): Promise<AnalyticConversionEventQuery>;
797
883
  cleanupTestErrors(variables?: {
798
884
  [x: string]: never;
799
885
  }, requestHeaders?: GraphQLClientRequestHeaders): Promise<CleanupTestErrorsMutation>;
@@ -863,6 +949,12 @@ export declare function getSdk(client: GraphQLClient, withWrapper?: SdkFunctionW
863
949
  localeCountryMessages(variables?: {
864
950
  [x: string]: never;
865
951
  }, requestHeaders?: GraphQLClientRequestHeaders): Promise<LocaleCountryMessagesQuery>;
952
+ metricAllApiPaths(variables?: {
953
+ [x: string]: never;
954
+ }, requestHeaders?: GraphQLClientRequestHeaders): Promise<MetricAllApiPathsQuery>;
955
+ metricApiPathSpeed(variables?: {
956
+ [x: string]: never;
957
+ }, requestHeaders?: GraphQLClientRequestHeaders): Promise<MetricApiPathSpeedQuery>;
866
958
  storeVersionSetting(variables?: {
867
959
  [x: string]: never;
868
960
  }, requestHeaders?: GraphQLClientRequestHeaders): Promise<StoreVersionSettingQuery>;
@@ -541,6 +541,70 @@ export const promptBulkJobStatusEnum = {
541
541
  export type Prompt_BulkJobStatus_Enum =
542
542
  (typeof promptBulkJobStatusEnum)[keyof typeof promptBulkJobStatusEnum];
543
543
 
544
+ export type AnalyticConversionEventQuery = {
545
+ cartCreate: {
546
+ aggregate: {
547
+ avg: { stepSeconds: number | null } | null;
548
+ count: number;
549
+ } | null;
550
+ nodes: Array<{ organizationId: string }>;
551
+ };
552
+ customerInfoCompleted: {
553
+ aggregate: {
554
+ avg: { stepSeconds: number | null } | null;
555
+ count: number;
556
+ } | null;
557
+ nodes: Array<{ organizationId: string }>;
558
+ };
559
+ orderCompleted: {
560
+ aggregate: {
561
+ avg: { stepSeconds: number | null } | null;
562
+ count: number;
563
+ } | null;
564
+ nodes: Array<{ organizationId: string }>;
565
+ };
566
+ paymentInfoCompleted: {
567
+ aggregate: {
568
+ avg: { stepSeconds: number | null } | null;
569
+ count: number;
570
+ } | null;
571
+ nodes: Array<{ organizationId: string }>;
572
+ };
573
+ shippingInfoCompleted: {
574
+ aggregate: {
575
+ avg: { stepSeconds: number | null } | null;
576
+ count: number;
577
+ } | null;
578
+ nodes: Array<{ organizationId: string }>;
579
+ };
580
+ };
581
+
582
+ export type MetricAllApiPathsQuery = {
583
+ usage_scriptLoadEvent: Array<{ href: string }>;
584
+ };
585
+
586
+ export type MetricApiPathSpeedQuery = {
587
+ usage_scriptLoadEvent_aggregate: {
588
+ aggregate: {
589
+ avg: {
590
+ loadTimeClientMiddleware: number | null;
591
+ loadTimeInternal: number | null;
592
+ } | null;
593
+ count: number;
594
+ max: {
595
+ createdAt: string | null;
596
+ loadTimeClientMiddleware: number | null;
597
+ loadTimeInternal: number | null;
598
+ } | null;
599
+ min: {
600
+ createdAt: string | null;
601
+ loadTimeClientMiddleware: number | null;
602
+ loadTimeInternal: number | null;
603
+ } | null;
604
+ } | null;
605
+ };
606
+ };
607
+
544
608
  export type FailToGetQuoteErrorsQuery = {
545
609
  error_event_aggregate: {
546
610
  aggregate: { count: number } | null;
@@ -817,6 +881,20 @@ export function getSdk(
817
881
  'query',
818
882
  );
819
883
  },
884
+ analyticConversionEvent(
885
+ variables?: { [x: string]: never },
886
+ requestHeaders?: GraphQLClientRequestHeaders,
887
+ ): Promise<AnalyticConversionEventQuery> {
888
+ return withWrapper(
889
+ wrappedRequestHeaders =>
890
+ client.request<AnalyticConversionEventQuery>('', variables, {
891
+ ...requestHeaders,
892
+ ...wrappedRequestHeaders,
893
+ }),
894
+ 'analyticConversionEvent',
895
+ 'query',
896
+ );
897
+ },
820
898
  cleanupTestErrors(
821
899
  variables?: { [x: string]: never },
822
900
  requestHeaders?: GraphQLClientRequestHeaders,
@@ -1142,6 +1220,34 @@ export function getSdk(
1142
1220
  'query',
1143
1221
  );
1144
1222
  },
1223
+ metricAllApiPaths(
1224
+ variables?: { [x: string]: never },
1225
+ requestHeaders?: GraphQLClientRequestHeaders,
1226
+ ): Promise<MetricAllApiPathsQuery> {
1227
+ return withWrapper(
1228
+ wrappedRequestHeaders =>
1229
+ client.request<MetricAllApiPathsQuery>('', variables, {
1230
+ ...requestHeaders,
1231
+ ...wrappedRequestHeaders,
1232
+ }),
1233
+ 'metricAllApiPaths',
1234
+ 'query',
1235
+ );
1236
+ },
1237
+ metricApiPathSpeed(
1238
+ variables?: { [x: string]: never },
1239
+ requestHeaders?: GraphQLClientRequestHeaders,
1240
+ ): Promise<MetricApiPathSpeedQuery> {
1241
+ return withWrapper(
1242
+ wrappedRequestHeaders =>
1243
+ client.request<MetricApiPathSpeedQuery>('', variables, {
1244
+ ...requestHeaders,
1245
+ ...wrappedRequestHeaders,
1246
+ }),
1247
+ 'metricApiPathSpeed',
1248
+ 'query',
1249
+ );
1250
+ },
1145
1251
  storeVersionSetting(
1146
1252
  variables?: { [x: string]: never },
1147
1253
  requestHeaders?: GraphQLClientRequestHeaders,
@@ -1808,6 +1808,7 @@ export type InvoiceStatus = (typeof invoiceStatus)[keyof typeof invoiceStatus];
1808
1808
  export declare const itemAmountTargetType: {
1809
1809
  readonly MerchantBase: "MERCHANT_BASE";
1810
1810
  readonly MerchantProvided: "MERCHANT_PROVIDED";
1811
+ readonly ShopperPresented: "SHOPPER_PRESENTED";
1811
1812
  readonly ZonosBase: "ZONOS_BASE";
1812
1813
  };
1813
1814
  export type ItemAmountTargetType = (typeof itemAmountTargetType)[keyof typeof itemAmountTargetType];
@@ -1981,6 +1982,7 @@ export type LabelTermType = (typeof labelTermType)[keyof typeof labelTermType];
1981
1982
  export declare const landedCostAdjustmentType: {
1982
1983
  readonly CartTotal: "CART_TOTAL";
1983
1984
  readonly Item: "ITEM";
1985
+ readonly OrderTotal: "ORDER_TOTAL";
1984
1986
  readonly PromoCode: "PROMO_CODE";
1985
1987
  readonly Shipping: "SHIPPING";
1986
1988
  };
@@ -2017,6 +2019,8 @@ export declare const landedCostFeeType: {
2017
2019
  readonly DdpServiceFee: "DDP_SERVICE_FEE";
2018
2020
  readonly Discount: "DISCOUNT";
2019
2021
  readonly Duty: "DUTY";
2022
+ readonly GuaranteeOrder: "GUARANTEE_ORDER";
2023
+ readonly GuaranteePercent: "GUARANTEE_PERCENT";
2020
2024
  readonly InclusivePriceAdjustment: "INCLUSIVE_PRICE_ADJUSTMENT";
2021
2025
  readonly InclusivePricing: "INCLUSIVE_PRICING";
2022
2026
  readonly Item: "ITEM";
@@ -2653,6 +2657,7 @@ export type ShipmentConsolidationStatus = (typeof shipmentConsolidationStatus)[k
2653
2657
  export declare const shipmentRatingAmountTargetType: {
2654
2658
  readonly MerchantBase: "MERCHANT_BASE";
2655
2659
  readonly MerchantProvided: "MERCHANT_PROVIDED";
2660
+ readonly ShopperPresented: "SHOPPER_PRESENTED";
2656
2661
  readonly ZonosBase: "ZONOS_BASE";
2657
2662
  };
2658
2663
  export type ShipmentRatingAmountTargetType = (typeof shipmentRatingAmountTargetType)[keyof typeof shipmentRatingAmountTargetType];
@@ -3011,6 +3016,8 @@ export declare const webhookStatus: {
3011
3016
  export type WebhookStatus = (typeof webhookStatus)[keyof typeof webhookStatus];
3012
3017
  export declare const webhookType: {
3013
3018
  readonly InclusivePriceSyncReady: "INCLUSIVE_PRICE_SYNC_READY";
3019
+ readonly InventoryCheck: "INVENTORY_CHECK";
3020
+ readonly InventoryRefund: "INVENTORY_REFUND";
3014
3021
  readonly IpSettingStatusChanged: "IP_SETTING_STATUS_CHANGED";
3015
3022
  readonly OrderCanceled: "ORDER_CANCELED";
3016
3023
  readonly OrderCreated: "ORDER_CREATED";
@@ -3046,6 +3053,50 @@ export type OrganizationQuery = {
3046
3053
  } | null;
3047
3054
  } | null;
3048
3055
  };
3056
+ export type CheckoutCustomerProfileAuthenticateMutation = {
3057
+ checkoutCustomerProfileAuthenticate: {
3058
+ customerId: string;
3059
+ email: string | null;
3060
+ locations: Array<{
3061
+ administrativeArea: string;
3062
+ countryCode: CountryCode;
3063
+ email: string | null;
3064
+ line1: string;
3065
+ line2: string | null;
3066
+ locality: string;
3067
+ name: string | null;
3068
+ phone: string | null;
3069
+ postalCode: string;
3070
+ }> | null;
3071
+ name: string | null;
3072
+ oneTimePassword: string | null;
3073
+ organizationId: string;
3074
+ phone: string | null;
3075
+ };
3076
+ };
3077
+ export type OrganizationByStoreIdQuery = {
3078
+ organizations: {
3079
+ edges: Array<{
3080
+ node: {
3081
+ id: string;
3082
+ name: string;
3083
+ } | null;
3084
+ }>;
3085
+ } | null;
3086
+ };
3087
+ export type OrganizationsQuery = {
3088
+ organizations: {
3089
+ edges: Array<{
3090
+ node: {
3091
+ id: string;
3092
+ name: string;
3093
+ references: {
3094
+ storeId: number | null;
3095
+ } | null;
3096
+ } | null;
3097
+ }>;
3098
+ } | null;
3099
+ };
3049
3100
  export type CartCalculateLandedCostMutation = {
3050
3101
  cartWorkflow: {
3051
3102
  id: string;
@@ -3469,6 +3520,22 @@ export type CheckoutSessionCreateMutation = {
3469
3520
  checkoutSessionCreate: {
3470
3521
  cartId: string | null;
3471
3522
  clientSecret: string;
3523
+ customerProfile: {
3524
+ email: string | null;
3525
+ locations: Array<{
3526
+ administrativeArea: string;
3527
+ countryCode: CountryCode;
3528
+ email: string | null;
3529
+ line1: string;
3530
+ line2: string | null;
3531
+ locality: string;
3532
+ name: string | null;
3533
+ phone: string | null;
3534
+ postalCode: string;
3535
+ }> | null;
3536
+ name: string | null;
3537
+ } | null;
3538
+ customerSessionClientSecret: string | null;
3472
3539
  id: string;
3473
3540
  landedCost: {
3474
3541
  amountSubtotals: {
@@ -3516,6 +3583,22 @@ export type CheckoutSessionPaymentIntentCreateMutation = {
3516
3583
  checkoutSessionPaymentIntentCreate: {
3517
3584
  cartId: string | null;
3518
3585
  clientSecret: string;
3586
+ customerProfile: {
3587
+ email: string | null;
3588
+ locations: Array<{
3589
+ administrativeArea: string;
3590
+ countryCode: CountryCode;
3591
+ email: string | null;
3592
+ line1: string;
3593
+ line2: string | null;
3594
+ locality: string;
3595
+ name: string | null;
3596
+ phone: string | null;
3597
+ postalCode: string;
3598
+ }> | null;
3599
+ name: string | null;
3600
+ } | null;
3601
+ customerSessionClientSecret: string | null;
3519
3602
  id: string;
3520
3603
  landedCost: {
3521
3604
  amountSubtotals: {
@@ -3672,6 +3755,22 @@ export type CheckoutSessionUpdateMetadataMutation = {
3672
3755
  export type CheckoutSessionDetailsFragment = {
3673
3756
  cartId: string | null;
3674
3757
  clientSecret: string;
3758
+ customerProfile: {
3759
+ email: string | null;
3760
+ locations: Array<{
3761
+ administrativeArea: string;
3762
+ countryCode: CountryCode;
3763
+ email: string | null;
3764
+ line1: string;
3765
+ line2: string | null;
3766
+ locality: string;
3767
+ name: string | null;
3768
+ phone: string | null;
3769
+ postalCode: string;
3770
+ }> | null;
3771
+ name: string | null;
3772
+ } | null;
3773
+ customerSessionClientSecret: string | null;
3675
3774
  id: string;
3676
3775
  landedCost: {
3677
3776
  amountSubtotals: {
@@ -3718,6 +3817,22 @@ export type CheckoutSessionUpdateMutation = {
3718
3817
  checkoutSessionUpdate: {
3719
3818
  cartId: string | null;
3720
3819
  clientSecret: string;
3820
+ customerProfile: {
3821
+ email: string | null;
3822
+ locations: Array<{
3823
+ administrativeArea: string;
3824
+ countryCode: CountryCode;
3825
+ email: string | null;
3826
+ line1: string;
3827
+ line2: string | null;
3828
+ locality: string;
3829
+ name: string | null;
3830
+ phone: string | null;
3831
+ postalCode: string;
3832
+ }> | null;
3833
+ name: string | null;
3834
+ } | null;
3835
+ customerSessionClientSecret: string | null;
3721
3836
  id: string;
3722
3837
  landedCost: {
3723
3838
  amountSubtotals: {
@@ -4268,6 +4383,9 @@ export declare function getSdk(client: GraphQLClient, withWrapper?: SdkFunctionW
4268
4383
  checkItemRestrictions(variables?: {
4269
4384
  [x: string]: never;
4270
4385
  }, requestHeaders?: GraphQLClientRequestHeaders): Promise<CheckItemRestrictionsMutation>;
4386
+ checkoutCustomerProfileAuthenticate(variables?: {
4387
+ [x: string]: never;
4388
+ }, requestHeaders?: GraphQLClientRequestHeaders): Promise<CheckoutCustomerProfileAuthenticateMutation>;
4271
4389
  checkoutSessionBaseCurrencyUpdate(variables?: {
4272
4390
  [x: string]: never;
4273
4391
  }, requestHeaders?: GraphQLClientRequestHeaders): Promise<CheckoutSessionBaseCurrencyUpdateMutation>;
@@ -4331,6 +4449,12 @@ export declare function getSdk(client: GraphQLClient, withWrapper?: SdkFunctionW
4331
4449
  organization(variables?: {
4332
4450
  [x: string]: never;
4333
4451
  }, requestHeaders?: GraphQLClientRequestHeaders): Promise<OrganizationQuery>;
4452
+ organizationByStoreId(variables?: {
4453
+ [x: string]: never;
4454
+ }, requestHeaders?: GraphQLClientRequestHeaders): Promise<OrganizationByStoreIdQuery>;
4455
+ organizations(variables?: {
4456
+ [x: string]: never;
4457
+ }, requestHeaders?: GraphQLClientRequestHeaders): Promise<OrganizationsQuery>;
4334
4458
  partyInfo(variables?: {
4335
4459
  [x: string]: never;
4336
4460
  }, requestHeaders?: GraphQLClientRequestHeaders): Promise<PartyInfoQuery>;
@@ -2153,6 +2153,7 @@ export type InvoiceStatus = (typeof invoiceStatus)[keyof typeof invoiceStatus];
2153
2153
  export const itemAmountTargetType = {
2154
2154
  MerchantBase: 'MERCHANT_BASE',
2155
2155
  MerchantProvided: 'MERCHANT_PROVIDED',
2156
+ ShopperPresented: 'SHOPPER_PRESENTED',
2156
2157
  ZonosBase: 'ZONOS_BASE',
2157
2158
  } as const;
2158
2159
 
@@ -2380,6 +2381,7 @@ export type LabelTermType = (typeof labelTermType)[keyof typeof labelTermType];
2380
2381
  export const landedCostAdjustmentType = {
2381
2382
  CartTotal: 'CART_TOTAL',
2382
2383
  Item: 'ITEM',
2384
+ OrderTotal: 'ORDER_TOTAL',
2383
2385
  PromoCode: 'PROMO_CODE',
2384
2386
  Shipping: 'SHIPPING',
2385
2387
  } as const;
@@ -2426,6 +2428,8 @@ export const landedCostFeeType = {
2426
2428
  DdpServiceFee: 'DDP_SERVICE_FEE',
2427
2429
  Discount: 'DISCOUNT',
2428
2430
  Duty: 'DUTY',
2431
+ GuaranteeOrder: 'GUARANTEE_ORDER',
2432
+ GuaranteePercent: 'GUARANTEE_PERCENT',
2429
2433
  InclusivePriceAdjustment: 'INCLUSIVE_PRICE_ADJUSTMENT',
2430
2434
  InclusivePricing: 'INCLUSIVE_PRICING',
2431
2435
  Item: 'ITEM',
@@ -3242,6 +3246,7 @@ export type ShipmentConsolidationStatus =
3242
3246
  export const shipmentRatingAmountTargetType = {
3243
3247
  MerchantBase: 'MERCHANT_BASE',
3244
3248
  MerchantProvided: 'MERCHANT_PROVIDED',
3249
+ ShopperPresented: 'SHOPPER_PRESENTED',
3245
3250
  ZonosBase: 'ZONOS_BASE',
3246
3251
  } as const;
3247
3252
 
@@ -3699,6 +3704,8 @@ export const webhookStatus = {
3699
3704
  export type WebhookStatus = (typeof webhookStatus)[keyof typeof webhookStatus];
3700
3705
  export const webhookType = {
3701
3706
  InclusivePriceSyncReady: 'INCLUSIVE_PRICE_SYNC_READY',
3707
+ InventoryCheck: 'INVENTORY_CHECK',
3708
+ InventoryRefund: 'INVENTORY_REFUND',
3702
3709
  IpSettingStatusChanged: 'IP_SETTING_STATUS_CHANGED',
3703
3710
  OrderCanceled: 'ORDER_CANCELED',
3704
3711
  OrderCreated: 'ORDER_CREATED',
@@ -3742,6 +3749,46 @@ export type OrganizationQuery = {
3742
3749
  } | null;
3743
3750
  };
3744
3751
 
3752
+ export type CheckoutCustomerProfileAuthenticateMutation = {
3753
+ checkoutCustomerProfileAuthenticate: {
3754
+ customerId: string;
3755
+ email: string | null;
3756
+ locations: Array<{
3757
+ administrativeArea: string;
3758
+ countryCode: CountryCode;
3759
+ email: string | null;
3760
+ line1: string;
3761
+ line2: string | null;
3762
+ locality: string;
3763
+ name: string | null;
3764
+ phone: string | null;
3765
+ postalCode: string;
3766
+ }> | null;
3767
+ name: string | null;
3768
+ oneTimePassword: string | null;
3769
+ organizationId: string;
3770
+ phone: string | null;
3771
+ };
3772
+ };
3773
+
3774
+ export type OrganizationByStoreIdQuery = {
3775
+ organizations: {
3776
+ edges: Array<{ node: { id: string; name: string } | null }>;
3777
+ } | null;
3778
+ };
3779
+
3780
+ export type OrganizationsQuery = {
3781
+ organizations: {
3782
+ edges: Array<{
3783
+ node: {
3784
+ id: string;
3785
+ name: string;
3786
+ references: { storeId: number | null } | null;
3787
+ } | null;
3788
+ }>;
3789
+ } | null;
3790
+ };
3791
+
3745
3792
  export type CartCalculateLandedCostMutation = {
3746
3793
  cartWorkflow: {
3747
3794
  id: string;
@@ -4106,6 +4153,22 @@ export type CheckoutSessionCreateMutation = {
4106
4153
  checkoutSessionCreate: {
4107
4154
  cartId: string | null;
4108
4155
  clientSecret: string;
4156
+ customerProfile: {
4157
+ email: string | null;
4158
+ locations: Array<{
4159
+ administrativeArea: string;
4160
+ countryCode: CountryCode;
4161
+ email: string | null;
4162
+ line1: string;
4163
+ line2: string | null;
4164
+ locality: string;
4165
+ name: string | null;
4166
+ phone: string | null;
4167
+ postalCode: string;
4168
+ }> | null;
4169
+ name: string | null;
4170
+ } | null;
4171
+ customerSessionClientSecret: string | null;
4109
4172
  id: string;
4110
4173
  landedCost: {
4111
4174
  amountSubtotals: {
@@ -4149,6 +4212,22 @@ export type CheckoutSessionPaymentIntentCreateMutation = {
4149
4212
  checkoutSessionPaymentIntentCreate: {
4150
4213
  cartId: string | null;
4151
4214
  clientSecret: string;
4215
+ customerProfile: {
4216
+ email: string | null;
4217
+ locations: Array<{
4218
+ administrativeArea: string;
4219
+ countryCode: CountryCode;
4220
+ email: string | null;
4221
+ line1: string;
4222
+ line2: string | null;
4223
+ locality: string;
4224
+ name: string | null;
4225
+ phone: string | null;
4226
+ postalCode: string;
4227
+ }> | null;
4228
+ name: string | null;
4229
+ } | null;
4230
+ customerSessionClientSecret: string | null;
4152
4231
  id: string;
4153
4232
  landedCost: {
4154
4233
  amountSubtotals: {
@@ -4273,6 +4352,22 @@ export type CheckoutSessionUpdateMetadataMutation = {
4273
4352
  export type CheckoutSessionDetailsFragment = {
4274
4353
  cartId: string | null;
4275
4354
  clientSecret: string;
4355
+ customerProfile: {
4356
+ email: string | null;
4357
+ locations: Array<{
4358
+ administrativeArea: string;
4359
+ countryCode: CountryCode;
4360
+ email: string | null;
4361
+ line1: string;
4362
+ line2: string | null;
4363
+ locality: string;
4364
+ name: string | null;
4365
+ phone: string | null;
4366
+ postalCode: string;
4367
+ }> | null;
4368
+ name: string | null;
4369
+ } | null;
4370
+ customerSessionClientSecret: string | null;
4276
4371
  id: string;
4277
4372
  landedCost: {
4278
4373
  amountSubtotals: {
@@ -4315,6 +4410,22 @@ export type CheckoutSessionUpdateMutation = {
4315
4410
  checkoutSessionUpdate: {
4316
4411
  cartId: string | null;
4317
4412
  clientSecret: string;
4413
+ customerProfile: {
4414
+ email: string | null;
4415
+ locations: Array<{
4416
+ administrativeArea: string;
4417
+ countryCode: CountryCode;
4418
+ email: string | null;
4419
+ line1: string;
4420
+ line2: string | null;
4421
+ locality: string;
4422
+ name: string | null;
4423
+ phone: string | null;
4424
+ postalCode: string;
4425
+ }> | null;
4426
+ name: string | null;
4427
+ } | null;
4428
+ customerSessionClientSecret: string | null;
4318
4429
  id: string;
4319
4430
  landedCost: {
4320
4431
  amountSubtotals: {
@@ -4939,6 +5050,21 @@ export function getSdk(
4939
5050
  'mutation',
4940
5051
  );
4941
5052
  },
5053
+ checkoutCustomerProfileAuthenticate(
5054
+ variables?: { [x: string]: never },
5055
+ requestHeaders?: GraphQLClientRequestHeaders,
5056
+ ): Promise<CheckoutCustomerProfileAuthenticateMutation> {
5057
+ return withWrapper(
5058
+ wrappedRequestHeaders =>
5059
+ client.request<CheckoutCustomerProfileAuthenticateMutation>(
5060
+ '',
5061
+ variables,
5062
+ { ...requestHeaders, ...wrappedRequestHeaders },
5063
+ ),
5064
+ 'checkoutCustomerProfileAuthenticate',
5065
+ 'mutation',
5066
+ );
5067
+ },
4942
5068
  checkoutSessionBaseCurrencyUpdate(
4943
5069
  variables?: { [x: string]: never },
4944
5070
  requestHeaders?: GraphQLClientRequestHeaders,
@@ -5237,6 +5363,34 @@ export function getSdk(
5237
5363
  'query',
5238
5364
  );
5239
5365
  },
5366
+ organizationByStoreId(
5367
+ variables?: { [x: string]: never },
5368
+ requestHeaders?: GraphQLClientRequestHeaders,
5369
+ ): Promise<OrganizationByStoreIdQuery> {
5370
+ return withWrapper(
5371
+ wrappedRequestHeaders =>
5372
+ client.request<OrganizationByStoreIdQuery>('', variables, {
5373
+ ...requestHeaders,
5374
+ ...wrappedRequestHeaders,
5375
+ }),
5376
+ 'organizationByStoreId',
5377
+ 'query',
5378
+ );
5379
+ },
5380
+ organizations(
5381
+ variables?: { [x: string]: never },
5382
+ requestHeaders?: GraphQLClientRequestHeaders,
5383
+ ): Promise<OrganizationsQuery> {
5384
+ return withWrapper(
5385
+ wrappedRequestHeaders =>
5386
+ client.request<OrganizationsQuery>('', variables, {
5387
+ ...requestHeaders,
5388
+ ...wrappedRequestHeaders,
5389
+ }),
5390
+ 'organizations',
5391
+ 'query',
5392
+ );
5393
+ },
5240
5394
  partyInfo(
5241
5395
  variables?: { [x: string]: never },
5242
5396
  requestHeaders?: GraphQLClientRequestHeaders,
@@ -1 +1 @@
1
- <svg color="var(--zonos-elements-red-800)" fill="none" height="24" viewBox="0 0 24 24" width="24" xmlns="https://www.w3.org/2000/svg"><path clip-rule="evenodd" d="M22 12c0 5.523-4.477 10-10 10S2 17.523 2 12 6.477 2 12 2s10 4.477 10 10Z" data-is-secondary-color="true" fill="var(--zonos-elements-red-200)" fill-rule="evenodd"></path><path clip-rule="evenodd" d="M8.293 8.293a1 1 0 0 1 1.414 0L12 10.586l2.293-2.293a1 1 0 1 1 1.414 1.414L13.414 12l2.293 2.293a1 1 0 0 1-1.414 1.414L12 13.414l-2.293 2.293a1 1 0 0 1-1.414-1.414L10.586 12 8.293 9.707a1 1 0 0 1 0-1.414Z" fill="currentColor" fill-rule="evenodd"></path></svg>g>
1
+ <svg color="var(--zonos-elements-gray-800)" fill="none" height="24" viewBox="0 0 24 24" width="24" xmlns="https://www.w3.org/2000/svg"><path clip-rule="evenodd" d="M22 12c0 5.523-4.477 10-10 10S2 17.523 2 12 6.477 2 12 2s10 4.477 10 10Z" data-is-secondary-color="true" fill="var(--zonos-elements-gray-200)" fill-rule="evenodd"></path><path clip-rule="evenodd" d="M8.293 8.293a1 1 0 0 1 1.414 0L12 10.586l2.293-2.293a1 1 0 1 1 1.414 1.414L13.414 12l2.293 2.293a1 1 0 0 1-1.414 1.414L12 13.414l-2.293 2.293a1 1 0 0 1-1.414-1.414L10.586 12 8.293 9.707a1 1 0 0 1 0-1.414Z" fill="currentColor" fill-rule="evenodd"></path></svg>