@sazito/client-sdk 1.2.10 → 1.2.12

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.
package/README.md CHANGED
@@ -261,7 +261,7 @@ The client instance exposes:
261
261
  | `orders` | `list`, `get` |
262
262
  | `invoices` | `get`, `create`, `refresh`, `addShippingAddress`, `addDiscountCode`, `assignShippingMethod`, `addDetails`, `addForm`, `addCredit`, `removeCredit`, `toggleCredit`, `getApplicableShippingMethods`, `clearInvoice` |
263
263
  | `shipping` | `createAddress`, `updateAddress` (legacy), `listAddresses`, `getAddress`, `getMethods`, `clearAddress` |
264
- | `payments` | `getMethods`, `create`, `initialize`, `verify`, `processStep`, `processStepForm`, `pollUntilSettled`, `clearPayment` |
264
+ | `payments` | `getMethods`, `create`, `initialize`, `verify`, `verifyPaymentCallback`, `getPaymentStep`, `processStep`, `processStepForm`, `pollUntilSettled`, `clearPayment` |
265
265
  | `users` | `login`, `requestMobileOTP`, `verifyMobileOTP`, `requestEmailLogin`, `register`, `getCurrentUser`, `updateProfile`, `requestMobilePhoneUpdate`, `verifyMobilePhoneUpdate`, `forgotPassword`, `revivePassword`, `mergeUser` |
266
266
  | `search` | `query` |
267
267
  | `feedbacks` | `getSeed`, `createOrderRating`, `submitProductReview`, `getProductStatistics`, `getProductReviews`, `uploadReviewImages`, `list`, `create`, `get` |
package/dist/index.d.mts CHANGED
@@ -12,6 +12,10 @@ interface RetryConfig {
12
12
  }
13
13
  interface SazitoConfig {
14
14
  domain: string;
15
+ /** Sazito API origin. Keeps the legacy SDK origin when omitted. */
16
+ apiBaseUrl?: string;
17
+ /** Payments collection path for deployments with a custom API version map. */
18
+ paymentsBasePath?: string;
15
19
  timeout?: number;
16
20
  retry?: RetryConfig;
17
21
  cache?: {
@@ -581,8 +585,10 @@ interface CheckoutShippingItem {
581
585
  interface CheckoutInvoice {
582
586
  invoiceItems: CheckoutInvoiceItem[];
583
587
  shippingItems: CheckoutShippingItem[];
584
- netTotal: number;
585
- finalTotal: number;
588
+ /** May be omitted by the payment verification response. */
589
+ netTotal?: number;
590
+ /** May be omitted by the payment verification response. */
591
+ finalTotal?: number;
586
592
  shippingTotal?: number;
587
593
  discountTotal?: number;
588
594
  creditTotal?: number;
@@ -637,6 +643,8 @@ interface Payment {
637
643
  }
638
644
  interface PaymentActionBase {
639
645
  message?: string;
646
+ /** Complete backend result before SDK normalization. */
647
+ raw?: JsonObject;
640
648
  }
641
649
  type PaymentAction = PaymentActionBase & ({
642
650
  action: 'POST';
@@ -661,6 +669,10 @@ type PaymentAction = PaymentActionBase & ({
661
669
  action: 'payment_fail_error' | 'show_error' | 'FAIL';
662
670
  } | {
663
671
  action: 'StockViolated';
672
+ } | {
673
+ action: 'unknown';
674
+ backendAction: string;
675
+ raw: JsonObject;
664
676
  });
665
677
  interface PaymentCredentials {
666
678
  id: number;
@@ -683,6 +695,28 @@ interface PaymentStepInput {
683
695
  imageUrl?: string;
684
696
  code?: string;
685
697
  }
698
+ type PaymentCallbackFieldValue = JsonValue | undefined;
699
+ type PaymentCallbackFields = Record<string, PaymentCallbackFieldValue>;
700
+ /** Raw gateway callback accepted by the SSR-compatible verification request. */
701
+ interface VerifyPaymentCallbackInput {
702
+ paymentId: string | number;
703
+ paymentIdentifier: string;
704
+ /** Form/body fields are added first. */
705
+ body?: PaymentCallbackFields;
706
+ /** Query fields are added second and win when a name is duplicated. */
707
+ query?: PaymentCallbackFields;
708
+ }
709
+ /** Controls the repeated JSON status check after a `pending` callback result. */
710
+ interface PaymentPollingOptions extends RequestOptions {
711
+ /** Delay before each request, including the first one. Defaults to 15 seconds. */
712
+ intervalMs?: number;
713
+ /** Overall polling deadline. Defaults to five minutes. */
714
+ pollingTimeoutMs?: number;
715
+ /** Optional maximum number of status requests. */
716
+ maxAttempts?: number;
717
+ /** Skip the initial delay when an immediate status check is desired. */
718
+ immediate?: boolean;
719
+ }
686
720
  type PaymentStepFormValue = string | number | boolean | null | undefined;
687
721
  type PaymentStepFormFields = Record<string, PaymentStepFormValue>;
688
722
 
@@ -1015,6 +1049,7 @@ declare class HttpClient {
1015
1049
  */
1016
1050
  private getHeaders;
1017
1051
  private isMultipartBody;
1052
+ private isFormUrlEncodedBody;
1018
1053
  /**
1019
1054
  * Check if status code should trigger a retry
1020
1055
  */
@@ -1312,8 +1347,9 @@ declare class ShippingAPI {
1312
1347
  declare class PaymentsAPI {
1313
1348
  private http;
1314
1349
  private credentials;
1350
+ private paymentsBasePath;
1315
1351
  private readonly pinchedPayments;
1316
- constructor(http: HttpClient, credentials: CredentialsManager);
1352
+ constructor(http: HttpClient, credentials: CredentialsManager, paymentsBasePath?: string);
1317
1353
  /**
1318
1354
  * Get list of payment methods for invoice
1319
1355
  */
@@ -1336,6 +1372,14 @@ declare class PaymentsAPI {
1336
1372
  * or pending if the gateway has not reported back yet).
1337
1373
  */
1338
1374
  verify(input?: PaymentStepInput, options?: RequestOptions): Promise<SazitoResponse<PaymentAction>>;
1375
+ /**
1376
+ * Verify a gateway callback using Sazito's SSR form contract. Body fields
1377
+ * are written first, query fields second, and every field is wrapped as
1378
+ * `payload[name]`. The validated path identifier is always written last.
1379
+ */
1380
+ verifyPaymentCallback(input: VerifyPaymentCallbackInput, options?: RequestOptions): Promise<SazitoResponse<PaymentAction>>;
1381
+ /** Send one JSON payment status request. Used by pending polling only. */
1382
+ getPaymentStep(options?: RequestOptions): Promise<SazitoResponse<PaymentAction>>;
1339
1383
  /**
1340
1384
  * Process payment step (for card-to-card or multi-step payments).
1341
1385
  *
@@ -1343,10 +1387,10 @@ declare class PaymentsAPI {
1343
1387
  */
1344
1388
  processStep(input: PaymentStepInput, options?: RequestOptions): Promise<SazitoResponse<PaymentAction>>;
1345
1389
  /**
1346
- * Shared core for the `process_payment_step` endpoint used by
1347
- * {@link initialize}, {@link verify} and {@link processStep}.
1390
+ * Shared JSON core for initialization, status checks and multi-step payment
1391
+ * actions. Gateway callback verification intentionally uses form encoding.
1348
1392
  */
1349
- private submitPaymentStep;
1393
+ private submitJsonPaymentStep;
1350
1394
  /**
1351
1395
  * Process payment step in form mode (non-JSON content-type).
1352
1396
  */
@@ -1354,7 +1398,7 @@ declare class PaymentsAPI {
1354
1398
  /**
1355
1399
  * Poll payment state every 15 seconds until action changes from pending.
1356
1400
  */
1357
- pollUntilSettled(options?: RequestOptions, intervalMs?: number): Promise<SazitoResponse<PaymentAction>>;
1401
+ pollUntilSettled(options?: PaymentPollingOptions, intervalMs?: number): Promise<SazitoResponse<PaymentAction>>;
1358
1402
  /**
1359
1403
  * Clear payment credentials
1360
1404
  */
@@ -1363,6 +1407,12 @@ declare class PaymentsAPI {
1363
1407
  private buildProcessStepFormData;
1364
1408
  private buildProcessStepBody;
1365
1409
  private appendFormValue;
1410
+ private resolvePaymentCredentials;
1411
+ private normalizePaymentId;
1412
+ private paymentStepInputToCallbackFields;
1413
+ private appendCallbackValue;
1414
+ private withContentType;
1415
+ private waitForPoll;
1366
1416
  /**
1367
1417
  * Post-process a `process_payment_step` response. The exact-JSON endpoint
1368
1418
  * returns an envelope `{ result: PaymentAction, error, error_code, status }`;
@@ -2441,4 +2491,4 @@ declare function transformAddToCartInput(variantId: number, quantity: number, fo
2441
2491
  declare function transformCreateCartInput(input: TransformValue): TransformObject;
2442
2492
 
2443
2493
  export { CredentialsManager, HttpClient, MemoryStorage, SazitoClient, TokenStorage, createBookingAPI as booking, createCartAPI as cart, createCategoriesAPI as categories, createCMSAPI as cms, createBookingAPI, createCMSAPI, createCartAPI, createCategoriesAPI, createDynamicFormsAPI, createEntityRoutesAPI, createFeedbacksAPI, createGeneralAPI, createImagesAPI, createInvoicesAPI, createMenuAPI, createOrdersAPI, createPaymentsAPI, createProductsAPI, createRegionsAPI, createSazitoClient, createSearchAPI, createShippingAPI, createUsersAPI, createVisitsAPI, createWalletAPI, createDynamicFormsAPI as dynamicForms, createEntityRoutesAPI as entityRoutes, createFeedbacksAPI as feedbacks, createGeneralAPI as general, createImagesAPI as images, createInvoicesAPI as invoices, createMenuAPI as menu, createOrdersAPI as orders, createPaymentsAPI as payments, createProductsAPI as products, createRegionsAPI as regions, createSearchAPI as search, createShippingAPI as shipping, toEnglishDigits, transformAddToCartInput, transformApiResponse, transformCartResponse, transformCreateCartInput, transformInvoiceResponse, transformProductListResponse, transformRequestKeys, transformResponseKeys, transformShippingAddressInput, createUsersAPI as users, createVisitsAPI as visits, createWalletAPI as wallet };
2444
- export type { AddToCartInput, ApplicableShippingMethods, BlogPage, BlogPageEntityRoute, CMSPageEntityRoute, CMSPageType, CacheConfig, Cart, CartCredentials, CartProduct, CheckoutInvoice, CheckoutInvoiceItem, CheckoutOrder, CheckoutProductSnapshot, CheckoutShippingItem, City$1 as City, CmsPage, CookieOptions, CreateCartInput, CreateInvoiceInput, CreatePaymentInput, EntityRoute, EntityRouteResponse, EntityType, FormAttributeValue, Image, Invoice, InvoiceCredentials, InvoiceItem, InvoiceItemFormAttributes, InvoiceShippingAddress, InvoiceShippingAddressRegion, ItemShippingRate, JsonArray, JsonObject, JsonPrimitive, JsonValue, MenuItem, MenuNode, MenuTree, Order, OrderFilters, OrderInvoice, OrderInvoiceItem, OrderPublicId, OrderShippingItem, OrdersListResponse, PaginatedResponse, Payment, PaymentAction, PaymentCredentials, PaymentGateway, PaymentMethod, PaymentStatus, PaymentStepFormFields, PaymentStepFormValue, PaymentStepInput, Product, ProductAttribute, ProductAttributeValueObject, ProductCategory, ProductCategoryEntityRoute, ProductEntityRoute, ProductFilters, ProductSort, ProductVariant, RefreshInvoiceInput, Region$1 as Region, RequestOptions, RetryConfig, SazitoConfig, SazitoError, SazitoResponse, SchedulerBookingAttributes, SearchFilters, SearchResponse, ShippingAddress, ShippingAddressCity, ShippingAddressCredentials, ShippingAddressInput, ShippingAddressRegion, ShippingAssignment, ShippingItem, ShippingMethod, ShippingRate, StorageAdapter, Tag, UnknownEntityRoute, UploadedFormFileAttribute, User };
2494
+ export type { AddToCartInput, ApplicableShippingMethods, BlogPage, BlogPageEntityRoute, CMSPageEntityRoute, CMSPageType, CacheConfig, Cart, CartCredentials, CartProduct, CheckoutInvoice, CheckoutInvoiceItem, CheckoutOrder, CheckoutProductSnapshot, CheckoutShippingItem, City$1 as City, CmsPage, CookieOptions, CreateCartInput, CreateInvoiceInput, CreatePaymentInput, EntityRoute, EntityRouteResponse, EntityType, FormAttributeValue, Image, Invoice, InvoiceCredentials, InvoiceItem, InvoiceItemFormAttributes, InvoiceShippingAddress, InvoiceShippingAddressRegion, ItemShippingRate, JsonArray, JsonObject, JsonPrimitive, JsonValue, MenuItem, MenuNode, MenuTree, Order, OrderFilters, OrderInvoice, OrderInvoiceItem, OrderPublicId, OrderShippingItem, OrdersListResponse, PaginatedResponse, Payment, PaymentAction, PaymentCallbackFieldValue, PaymentCallbackFields, PaymentCredentials, PaymentGateway, PaymentMethod, PaymentPollingOptions, PaymentStatus, PaymentStepFormFields, PaymentStepFormValue, PaymentStepInput, Product, ProductAttribute, ProductAttributeValueObject, ProductCategory, ProductCategoryEntityRoute, ProductEntityRoute, ProductFilters, ProductSort, ProductVariant, RefreshInvoiceInput, Region$1 as Region, RequestOptions, RetryConfig, SazitoConfig, SazitoError, SazitoResponse, SchedulerBookingAttributes, SearchFilters, SearchResponse, ShippingAddress, ShippingAddressCity, ShippingAddressCredentials, ShippingAddressInput, ShippingAddressRegion, ShippingAssignment, ShippingItem, ShippingMethod, ShippingRate, StorageAdapter, Tag, UnknownEntityRoute, UploadedFormFileAttribute, User, VerifyPaymentCallbackInput };
package/dist/index.d.ts CHANGED
@@ -12,6 +12,10 @@ interface RetryConfig {
12
12
  }
13
13
  interface SazitoConfig {
14
14
  domain: string;
15
+ /** Sazito API origin. Keeps the legacy SDK origin when omitted. */
16
+ apiBaseUrl?: string;
17
+ /** Payments collection path for deployments with a custom API version map. */
18
+ paymentsBasePath?: string;
15
19
  timeout?: number;
16
20
  retry?: RetryConfig;
17
21
  cache?: {
@@ -581,8 +585,10 @@ interface CheckoutShippingItem {
581
585
  interface CheckoutInvoice {
582
586
  invoiceItems: CheckoutInvoiceItem[];
583
587
  shippingItems: CheckoutShippingItem[];
584
- netTotal: number;
585
- finalTotal: number;
588
+ /** May be omitted by the payment verification response. */
589
+ netTotal?: number;
590
+ /** May be omitted by the payment verification response. */
591
+ finalTotal?: number;
586
592
  shippingTotal?: number;
587
593
  discountTotal?: number;
588
594
  creditTotal?: number;
@@ -637,6 +643,8 @@ interface Payment {
637
643
  }
638
644
  interface PaymentActionBase {
639
645
  message?: string;
646
+ /** Complete backend result before SDK normalization. */
647
+ raw?: JsonObject;
640
648
  }
641
649
  type PaymentAction = PaymentActionBase & ({
642
650
  action: 'POST';
@@ -661,6 +669,10 @@ type PaymentAction = PaymentActionBase & ({
661
669
  action: 'payment_fail_error' | 'show_error' | 'FAIL';
662
670
  } | {
663
671
  action: 'StockViolated';
672
+ } | {
673
+ action: 'unknown';
674
+ backendAction: string;
675
+ raw: JsonObject;
664
676
  });
665
677
  interface PaymentCredentials {
666
678
  id: number;
@@ -683,6 +695,28 @@ interface PaymentStepInput {
683
695
  imageUrl?: string;
684
696
  code?: string;
685
697
  }
698
+ type PaymentCallbackFieldValue = JsonValue | undefined;
699
+ type PaymentCallbackFields = Record<string, PaymentCallbackFieldValue>;
700
+ /** Raw gateway callback accepted by the SSR-compatible verification request. */
701
+ interface VerifyPaymentCallbackInput {
702
+ paymentId: string | number;
703
+ paymentIdentifier: string;
704
+ /** Form/body fields are added first. */
705
+ body?: PaymentCallbackFields;
706
+ /** Query fields are added second and win when a name is duplicated. */
707
+ query?: PaymentCallbackFields;
708
+ }
709
+ /** Controls the repeated JSON status check after a `pending` callback result. */
710
+ interface PaymentPollingOptions extends RequestOptions {
711
+ /** Delay before each request, including the first one. Defaults to 15 seconds. */
712
+ intervalMs?: number;
713
+ /** Overall polling deadline. Defaults to five minutes. */
714
+ pollingTimeoutMs?: number;
715
+ /** Optional maximum number of status requests. */
716
+ maxAttempts?: number;
717
+ /** Skip the initial delay when an immediate status check is desired. */
718
+ immediate?: boolean;
719
+ }
686
720
  type PaymentStepFormValue = string | number | boolean | null | undefined;
687
721
  type PaymentStepFormFields = Record<string, PaymentStepFormValue>;
688
722
 
@@ -1015,6 +1049,7 @@ declare class HttpClient {
1015
1049
  */
1016
1050
  private getHeaders;
1017
1051
  private isMultipartBody;
1052
+ private isFormUrlEncodedBody;
1018
1053
  /**
1019
1054
  * Check if status code should trigger a retry
1020
1055
  */
@@ -1312,8 +1347,9 @@ declare class ShippingAPI {
1312
1347
  declare class PaymentsAPI {
1313
1348
  private http;
1314
1349
  private credentials;
1350
+ private paymentsBasePath;
1315
1351
  private readonly pinchedPayments;
1316
- constructor(http: HttpClient, credentials: CredentialsManager);
1352
+ constructor(http: HttpClient, credentials: CredentialsManager, paymentsBasePath?: string);
1317
1353
  /**
1318
1354
  * Get list of payment methods for invoice
1319
1355
  */
@@ -1336,6 +1372,14 @@ declare class PaymentsAPI {
1336
1372
  * or pending if the gateway has not reported back yet).
1337
1373
  */
1338
1374
  verify(input?: PaymentStepInput, options?: RequestOptions): Promise<SazitoResponse<PaymentAction>>;
1375
+ /**
1376
+ * Verify a gateway callback using Sazito's SSR form contract. Body fields
1377
+ * are written first, query fields second, and every field is wrapped as
1378
+ * `payload[name]`. The validated path identifier is always written last.
1379
+ */
1380
+ verifyPaymentCallback(input: VerifyPaymentCallbackInput, options?: RequestOptions): Promise<SazitoResponse<PaymentAction>>;
1381
+ /** Send one JSON payment status request. Used by pending polling only. */
1382
+ getPaymentStep(options?: RequestOptions): Promise<SazitoResponse<PaymentAction>>;
1339
1383
  /**
1340
1384
  * Process payment step (for card-to-card or multi-step payments).
1341
1385
  *
@@ -1343,10 +1387,10 @@ declare class PaymentsAPI {
1343
1387
  */
1344
1388
  processStep(input: PaymentStepInput, options?: RequestOptions): Promise<SazitoResponse<PaymentAction>>;
1345
1389
  /**
1346
- * Shared core for the `process_payment_step` endpoint used by
1347
- * {@link initialize}, {@link verify} and {@link processStep}.
1390
+ * Shared JSON core for initialization, status checks and multi-step payment
1391
+ * actions. Gateway callback verification intentionally uses form encoding.
1348
1392
  */
1349
- private submitPaymentStep;
1393
+ private submitJsonPaymentStep;
1350
1394
  /**
1351
1395
  * Process payment step in form mode (non-JSON content-type).
1352
1396
  */
@@ -1354,7 +1398,7 @@ declare class PaymentsAPI {
1354
1398
  /**
1355
1399
  * Poll payment state every 15 seconds until action changes from pending.
1356
1400
  */
1357
- pollUntilSettled(options?: RequestOptions, intervalMs?: number): Promise<SazitoResponse<PaymentAction>>;
1401
+ pollUntilSettled(options?: PaymentPollingOptions, intervalMs?: number): Promise<SazitoResponse<PaymentAction>>;
1358
1402
  /**
1359
1403
  * Clear payment credentials
1360
1404
  */
@@ -1363,6 +1407,12 @@ declare class PaymentsAPI {
1363
1407
  private buildProcessStepFormData;
1364
1408
  private buildProcessStepBody;
1365
1409
  private appendFormValue;
1410
+ private resolvePaymentCredentials;
1411
+ private normalizePaymentId;
1412
+ private paymentStepInputToCallbackFields;
1413
+ private appendCallbackValue;
1414
+ private withContentType;
1415
+ private waitForPoll;
1366
1416
  /**
1367
1417
  * Post-process a `process_payment_step` response. The exact-JSON endpoint
1368
1418
  * returns an envelope `{ result: PaymentAction, error, error_code, status }`;
@@ -2441,4 +2491,4 @@ declare function transformAddToCartInput(variantId: number, quantity: number, fo
2441
2491
  declare function transformCreateCartInput(input: TransformValue): TransformObject;
2442
2492
 
2443
2493
  export { CredentialsManager, HttpClient, MemoryStorage, SazitoClient, TokenStorage, createBookingAPI as booking, createCartAPI as cart, createCategoriesAPI as categories, createCMSAPI as cms, createBookingAPI, createCMSAPI, createCartAPI, createCategoriesAPI, createDynamicFormsAPI, createEntityRoutesAPI, createFeedbacksAPI, createGeneralAPI, createImagesAPI, createInvoicesAPI, createMenuAPI, createOrdersAPI, createPaymentsAPI, createProductsAPI, createRegionsAPI, createSazitoClient, createSearchAPI, createShippingAPI, createUsersAPI, createVisitsAPI, createWalletAPI, createDynamicFormsAPI as dynamicForms, createEntityRoutesAPI as entityRoutes, createFeedbacksAPI as feedbacks, createGeneralAPI as general, createImagesAPI as images, createInvoicesAPI as invoices, createMenuAPI as menu, createOrdersAPI as orders, createPaymentsAPI as payments, createProductsAPI as products, createRegionsAPI as regions, createSearchAPI as search, createShippingAPI as shipping, toEnglishDigits, transformAddToCartInput, transformApiResponse, transformCartResponse, transformCreateCartInput, transformInvoiceResponse, transformProductListResponse, transformRequestKeys, transformResponseKeys, transformShippingAddressInput, createUsersAPI as users, createVisitsAPI as visits, createWalletAPI as wallet };
2444
- export type { AddToCartInput, ApplicableShippingMethods, BlogPage, BlogPageEntityRoute, CMSPageEntityRoute, CMSPageType, CacheConfig, Cart, CartCredentials, CartProduct, CheckoutInvoice, CheckoutInvoiceItem, CheckoutOrder, CheckoutProductSnapshot, CheckoutShippingItem, City$1 as City, CmsPage, CookieOptions, CreateCartInput, CreateInvoiceInput, CreatePaymentInput, EntityRoute, EntityRouteResponse, EntityType, FormAttributeValue, Image, Invoice, InvoiceCredentials, InvoiceItem, InvoiceItemFormAttributes, InvoiceShippingAddress, InvoiceShippingAddressRegion, ItemShippingRate, JsonArray, JsonObject, JsonPrimitive, JsonValue, MenuItem, MenuNode, MenuTree, Order, OrderFilters, OrderInvoice, OrderInvoiceItem, OrderPublicId, OrderShippingItem, OrdersListResponse, PaginatedResponse, Payment, PaymentAction, PaymentCredentials, PaymentGateway, PaymentMethod, PaymentStatus, PaymentStepFormFields, PaymentStepFormValue, PaymentStepInput, Product, ProductAttribute, ProductAttributeValueObject, ProductCategory, ProductCategoryEntityRoute, ProductEntityRoute, ProductFilters, ProductSort, ProductVariant, RefreshInvoiceInput, Region$1 as Region, RequestOptions, RetryConfig, SazitoConfig, SazitoError, SazitoResponse, SchedulerBookingAttributes, SearchFilters, SearchResponse, ShippingAddress, ShippingAddressCity, ShippingAddressCredentials, ShippingAddressInput, ShippingAddressRegion, ShippingAssignment, ShippingItem, ShippingMethod, ShippingRate, StorageAdapter, Tag, UnknownEntityRoute, UploadedFormFileAttribute, User };
2494
+ export type { AddToCartInput, ApplicableShippingMethods, BlogPage, BlogPageEntityRoute, CMSPageEntityRoute, CMSPageType, CacheConfig, Cart, CartCredentials, CartProduct, CheckoutInvoice, CheckoutInvoiceItem, CheckoutOrder, CheckoutProductSnapshot, CheckoutShippingItem, City$1 as City, CmsPage, CookieOptions, CreateCartInput, CreateInvoiceInput, CreatePaymentInput, EntityRoute, EntityRouteResponse, EntityType, FormAttributeValue, Image, Invoice, InvoiceCredentials, InvoiceItem, InvoiceItemFormAttributes, InvoiceShippingAddress, InvoiceShippingAddressRegion, ItemShippingRate, JsonArray, JsonObject, JsonPrimitive, JsonValue, MenuItem, MenuNode, MenuTree, Order, OrderFilters, OrderInvoice, OrderInvoiceItem, OrderPublicId, OrderShippingItem, OrdersListResponse, PaginatedResponse, Payment, PaymentAction, PaymentCallbackFieldValue, PaymentCallbackFields, PaymentCredentials, PaymentGateway, PaymentMethod, PaymentPollingOptions, PaymentStatus, PaymentStepFormFields, PaymentStepFormValue, PaymentStepInput, Product, ProductAttribute, ProductAttributeValueObject, ProductCategory, ProductCategoryEntityRoute, ProductEntityRoute, ProductFilters, ProductSort, ProductVariant, RefreshInvoiceInput, Region$1 as Region, RequestOptions, RetryConfig, SazitoConfig, SazitoError, SazitoResponse, SchedulerBookingAttributes, SearchFilters, SearchResponse, ShippingAddress, ShippingAddressCity, ShippingAddressCredentials, ShippingAddressInput, ShippingAddressRegion, ShippingAssignment, ShippingItem, ShippingMethod, ShippingRate, StorageAdapter, Tag, UnknownEntityRoute, UploadedFormFileAttribute, User, VerifyPaymentCallbackInput };