@poweredbysous/storefront-all-sdk 7.0.0 → 7.1.0

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/dist/index.cjs CHANGED
@@ -132,7 +132,8 @@ var RETRYABLE_ERROR_CODES = /* @__PURE__ */ new Set([
132
132
  "OTP_RATE_LIMIT_EXCEEDED",
133
133
  "RATE_LIMITED",
134
134
  "REFUND_PROCESSING_FAILED",
135
- "SUBSCRIPTION_STRIPE_ERROR"
135
+ "SUBSCRIPTION_STRIPE_ERROR",
136
+ "product_not_synced"
136
137
  ]);
137
138
  var RETRYABLE_HTTP_STATUSES = /* @__PURE__ */ new Set([429, 502]);
138
139
 
package/dist/index.d.cts CHANGED
@@ -1639,6 +1639,23 @@ interface paths {
1639
1639
  patch?: never;
1640
1640
  trace?: never;
1641
1641
  };
1642
+ "/api/v1/admin/stores/{store_public_id}/options-library/products/{product_id}/groups/order/": {
1643
+ parameters: {
1644
+ query?: never;
1645
+ header?: never;
1646
+ path?: never;
1647
+ cookie?: never;
1648
+ };
1649
+ get?: never;
1650
+ /** @description Put a product's linked groups in a new order (saved on Publish). */
1651
+ put: operations["admin_stores_options_library_products_groups_order_update"];
1652
+ post?: never;
1653
+ delete?: never;
1654
+ options?: never;
1655
+ head?: never;
1656
+ patch?: never;
1657
+ trace?: never;
1658
+ };
1642
1659
  "/api/v1/admin/stores/{store_public_id}/options-library/snoozes/": {
1643
1660
  parameters: {
1644
1661
  query?: never;
@@ -5415,7 +5432,8 @@ interface paths {
5415
5432
  * Resolves the push by ``(store_id, id)`` and returns 404 for an unknown or
5416
5433
  * foreign push (spec amendment #2). Enqueues a re-push on the existing Cloud
5417
5434
  * Tasks path rather than calling Lightspeed inline (amendment #1) and returns
5418
- * ``202 {"state": "queued"}``.
5435
+ * ``202 {"state": "queued"}``. A push it refuses to send answers 409
5436
+ * ``{detail, reason_code}`` (``_push_not_retried_response``).
5419
5437
  */
5420
5438
  post: operations["pos_kseries_retry_failed_push"];
5421
5439
  delete?: never;
@@ -5985,7 +6003,8 @@ interface paths {
5985
6003
  * Mirrors ``LightspeedFailedPushRetryView``. Resolves the push by
5986
6004
  * ``(store_id, id)`` and returns 404 for an unknown or foreign push. The push
5987
6005
  * must be in ``state=failed`` — retrying an in-flight push would risk a
5988
- * duplicate POS submission.
6006
+ * duplicate POS submission. A push it refuses to send answers 409
6007
+ * ``{detail, reason_code}`` (``_push_not_retried_response``).
5989
6008
  */
5990
6009
  post: operations["pos_lseries_retry_failed_push"];
5991
6010
  delete?: never;
@@ -7113,7 +7132,11 @@ interface paths {
7113
7132
  * confirmation page; ``cancellation_reason`` is the free-text rationale.
7114
7133
  * ``changed_by`` is ``auto_accept`` when the portal's Auto-accept accepted
7115
7134
  * the order, ``courier`` when a delivery courier's progress moved it (the
7116
- * printed slip's analytics say so), else "" or absent.
7135
+ * printed slip's analytics say so), ``merchant`` when a person changed it
7136
+ * in the portal (the order's POS history says so), else "" or absent. With
7137
+ * Lightspeed order alerts only ``merchant`` counts as a person having the
7138
+ * order in hand (``pos.services.merchant_has_order``): any other value, ""
7139
+ * included, leaves an order moved to preparing waiting for the till.
7117
7140
  */
7118
7141
  post: operations["sync_merchant_portal_order_status_create"];
7119
7142
  delete?: never;
@@ -8088,9 +8111,14 @@ interface components {
8088
8111
  * @enum {string}
8089
8112
  */
8090
8113
  AssetTypeEnum: "logo" | "hero" | "favicon" | "og_image";
8091
- /** @description Either a library group to add, or a new group to create and add. */
8114
+ /**
8115
+ * @description Either a library group to add, or a new group to create and add.
8116
+ *
8117
+ * ``position`` puts a library group back in a slot (Undo of a removal).
8118
+ */
8092
8119
  AttachGroup: {
8093
8120
  library_group_id?: number;
8121
+ position?: number;
8094
8122
  group?: components["schemas"]["GroupWrite"];
8095
8123
  };
8096
8124
  Attribute: {
@@ -9738,6 +9766,11 @@ interface components {
9738
9766
  * @enum {string}
9739
9767
  */
9740
9768
  EventTypeEnum: "impression" | "click" | "dismiss";
9769
+ /** @description Why a retry sends a store's own failed push nowhere (409). */
9770
+ FailedPushNotResent: {
9771
+ detail: string;
9772
+ reason_code: string;
9773
+ };
9741
9774
  /**
9742
9775
  * @description * `pending` - Pending
9743
9776
  * * `fulfilled` - Fulfilled
@@ -10046,6 +10079,7 @@ interface components {
10046
10079
  connected: boolean;
10047
10080
  needs_reauth: boolean;
10048
10081
  price_sync_mode: components["schemas"]["PriceSyncModeEnum"];
10082
+ order_alerts: boolean;
10049
10083
  };
10050
10084
  /**
10051
10085
  * @description * `en` - en
@@ -10326,6 +10360,13 @@ interface components {
10326
10360
  order_number: string;
10327
10361
  reference: string;
10328
10362
  error: string;
10363
+ reason_code: string;
10364
+ reason_details: {
10365
+ [key: string]: unknown;
10366
+ };
10367
+ can_resend: boolean;
10368
+ awaiting_pos: boolean;
10369
+ alerted: boolean;
10329
10370
  /** Format: date-time */
10330
10371
  created_at: string;
10331
10372
  };
@@ -10446,6 +10487,7 @@ interface components {
10446
10487
  last_push_at: string | null;
10447
10488
  needs_reauth: boolean;
10448
10489
  price_sync_mode: components["schemas"]["PriceSyncModeEnum"];
10490
+ order_alerts: boolean;
10449
10491
  };
10450
10492
  /** @description The unmapped-product summary (count + ids) for the badge. */
10451
10493
  LightspeedUnmapped: {
@@ -12201,11 +12243,16 @@ interface components {
12201
12243
  * @description Validates the request body for processing a payment.
12202
12244
  *
12203
12245
  * ``gateway_id`` is required. Additional gateway-specific fields
12204
- * (e.g. ``gift_card_code``, ``amount``) are passed through to the
12205
- * gateway via ``validated_data`` without explicit declaration here.
12246
+ * (e.g. ``gift_card_code``) are passed through to the gateway without
12247
+ * explicit declaration here. ``amount``, when sent, must be at least 0.01.
12206
12248
  */
12207
12249
  ProcessPaymentInput: {
12208
12250
  gateway_id: string;
12251
+ /**
12252
+ * Format: decimal
12253
+ * @description The part of the checkout to pay with this method, for a gateway that pays part of it (a gift card). Omitted, the rest owed.
12254
+ */
12255
+ amount?: string;
12209
12256
  /** @description The member's loyalty session: the order's points go to this member, whatever email the order carries. When the checkout carries Leat rewards, payment starts only once it may spend their points. */
12210
12257
  loyalty_token?: string;
12211
12258
  };
@@ -12455,8 +12502,13 @@ interface components {
12455
12502
  ProductFulfilmentDatesReasonEnum: "no_dates";
12456
12503
  ProductGroup: {
12457
12504
  modifier_group_id: number;
12505
+ readonly position: number | null;
12458
12506
  library_group: components["schemas"]["LibraryGroup"];
12459
12507
  };
12508
+ /** @description The product's linked groups, every one, in the order to show them. */
12509
+ ProductGroupOrder: {
12510
+ modifier_group_ids: number[];
12511
+ };
12460
12512
  ProductImage: {
12461
12513
  readonly id: number;
12462
12514
  /** Format: uri */
@@ -21527,6 +21579,100 @@ interface operations {
21527
21579
  };
21528
21580
  };
21529
21581
  };
21582
+ admin_stores_options_library_products_groups_order_update: {
21583
+ parameters: {
21584
+ query?: never;
21585
+ header?: {
21586
+ /** @description Company the request acts on. Ignored for merchant tokens (scoped to their own company); required for admin tokens to select a company. */
21587
+ "X-Sous-Company-Id"?: number;
21588
+ };
21589
+ path: {
21590
+ product_id: number;
21591
+ store_public_id: string;
21592
+ };
21593
+ cookie?: never;
21594
+ };
21595
+ requestBody: {
21596
+ content: {
21597
+ "application/json": components["schemas"]["ProductGroupOrder"];
21598
+ "application/x-www-form-urlencoded": components["schemas"]["ProductGroupOrder"];
21599
+ "multipart/form-data": components["schemas"]["ProductGroupOrder"];
21600
+ };
21601
+ };
21602
+ responses: {
21603
+ 200: {
21604
+ headers: {
21605
+ [name: string]: unknown;
21606
+ };
21607
+ content: {
21608
+ "application/json": components["schemas"]["ProductGroup"][];
21609
+ };
21610
+ };
21611
+ /** @description Possible error codes include `VALIDATION_ERROR`. Use `x-error-codes` for machine-readable retryability metadata. */
21612
+ 400: {
21613
+ headers: {
21614
+ [name: string]: unknown;
21615
+ };
21616
+ content: {
21617
+ "application/json": components["schemas"]["APIErrorEnvelope"];
21618
+ };
21619
+ };
21620
+ /** @description Possible error codes include `UNAUTHORIZED`. Use `x-error-codes` for machine-readable retryability metadata. */
21621
+ 401: {
21622
+ headers: {
21623
+ [name: string]: unknown;
21624
+ };
21625
+ content: {
21626
+ "application/json": components["schemas"]["APIErrorEnvelope"];
21627
+ };
21628
+ };
21629
+ /** @description Possible error codes include `FORBIDDEN`. Use `x-error-codes` for machine-readable retryability metadata. */
21630
+ 403: {
21631
+ headers: {
21632
+ [name: string]: unknown;
21633
+ };
21634
+ content: {
21635
+ "application/json": components["schemas"]["APIErrorEnvelope"];
21636
+ };
21637
+ };
21638
+ /** @description Possible error codes include `NOT_FOUND`. Use `x-error-codes` for machine-readable retryability metadata. */
21639
+ 404: {
21640
+ headers: {
21641
+ [name: string]: unknown;
21642
+ };
21643
+ content: {
21644
+ "application/json": components["schemas"]["APIErrorEnvelope"];
21645
+ };
21646
+ };
21647
+ /** @description Possible error codes include `group_order_stale`. Use `x-error-codes` for machine-readable retryability metadata. Possible error codes include `product_not_synced`. Use `x-error-codes` for machine-readable retryability metadata. */
21648
+ 409: {
21649
+ headers: {
21650
+ [name: string]: unknown;
21651
+ };
21652
+ content: {
21653
+ "application/json": components["schemas"]["APIErrorEnvelope"];
21654
+ };
21655
+ };
21656
+ /** @description Possible error codes include `RATE_LIMITED`. Use `x-error-codes` for machine-readable retryability metadata. */
21657
+ 429: {
21658
+ headers: {
21659
+ [name: string]: unknown;
21660
+ };
21661
+ content: {
21662
+ "application/json": components["schemas"]["APIErrorEnvelope"];
21663
+ };
21664
+ };
21665
+ /** @description Possible error codes include `INTERNAL_ERROR`. Use `x-error-codes` for machine-readable retryability metadata. */
21666
+ 500: {
21667
+ headers: {
21668
+ [name: string]: unknown;
21669
+ };
21670
+ content: {
21671
+ "application/json": components["schemas"]["APIErrorEnvelope"];
21672
+ };
21673
+ };
21674
+ };
21675
+ };
21530
21676
  admin_stores_options_library_snoozes_list: {
21531
21677
  parameters: {
21532
21678
  query?: never;
@@ -39844,6 +39990,14 @@ interface operations {
39844
39990
  "application/json": components["schemas"]["APIErrorEnvelope"];
39845
39991
  };
39846
39992
  };
39993
+ 409: {
39994
+ headers: {
39995
+ [name: string]: unknown;
39996
+ };
39997
+ content: {
39998
+ "application/json": components["schemas"]["FailedPushNotResent"];
39999
+ };
40000
+ };
39847
40001
  /** @description Possible error codes include `RATE_LIMITED`. Use `x-error-codes` for machine-readable retryability metadata. */
39848
40002
  429: {
39849
40003
  headers: {
@@ -41932,6 +42086,14 @@ interface operations {
41932
42086
  "application/json": components["schemas"]["APIErrorEnvelope"];
41933
42087
  };
41934
42088
  };
42089
+ 409: {
42090
+ headers: {
42091
+ [name: string]: unknown;
42092
+ };
42093
+ content: {
42094
+ "application/json": components["schemas"]["FailedPushNotResent"];
42095
+ };
42096
+ };
41935
42097
  /** @description Possible error codes include `RATE_LIMITED`. Use `x-error-codes` for machine-readable retryability metadata. */
41936
42098
  429: {
41937
42099
  headers: {
package/dist/index.d.ts CHANGED
@@ -1639,6 +1639,23 @@ interface paths {
1639
1639
  patch?: never;
1640
1640
  trace?: never;
1641
1641
  };
1642
+ "/api/v1/admin/stores/{store_public_id}/options-library/products/{product_id}/groups/order/": {
1643
+ parameters: {
1644
+ query?: never;
1645
+ header?: never;
1646
+ path?: never;
1647
+ cookie?: never;
1648
+ };
1649
+ get?: never;
1650
+ /** @description Put a product's linked groups in a new order (saved on Publish). */
1651
+ put: operations["admin_stores_options_library_products_groups_order_update"];
1652
+ post?: never;
1653
+ delete?: never;
1654
+ options?: never;
1655
+ head?: never;
1656
+ patch?: never;
1657
+ trace?: never;
1658
+ };
1642
1659
  "/api/v1/admin/stores/{store_public_id}/options-library/snoozes/": {
1643
1660
  parameters: {
1644
1661
  query?: never;
@@ -5415,7 +5432,8 @@ interface paths {
5415
5432
  * Resolves the push by ``(store_id, id)`` and returns 404 for an unknown or
5416
5433
  * foreign push (spec amendment #2). Enqueues a re-push on the existing Cloud
5417
5434
  * Tasks path rather than calling Lightspeed inline (amendment #1) and returns
5418
- * ``202 {"state": "queued"}``.
5435
+ * ``202 {"state": "queued"}``. A push it refuses to send answers 409
5436
+ * ``{detail, reason_code}`` (``_push_not_retried_response``).
5419
5437
  */
5420
5438
  post: operations["pos_kseries_retry_failed_push"];
5421
5439
  delete?: never;
@@ -5985,7 +6003,8 @@ interface paths {
5985
6003
  * Mirrors ``LightspeedFailedPushRetryView``. Resolves the push by
5986
6004
  * ``(store_id, id)`` and returns 404 for an unknown or foreign push. The push
5987
6005
  * must be in ``state=failed`` — retrying an in-flight push would risk a
5988
- * duplicate POS submission.
6006
+ * duplicate POS submission. A push it refuses to send answers 409
6007
+ * ``{detail, reason_code}`` (``_push_not_retried_response``).
5989
6008
  */
5990
6009
  post: operations["pos_lseries_retry_failed_push"];
5991
6010
  delete?: never;
@@ -7113,7 +7132,11 @@ interface paths {
7113
7132
  * confirmation page; ``cancellation_reason`` is the free-text rationale.
7114
7133
  * ``changed_by`` is ``auto_accept`` when the portal's Auto-accept accepted
7115
7134
  * the order, ``courier`` when a delivery courier's progress moved it (the
7116
- * printed slip's analytics say so), else "" or absent.
7135
+ * printed slip's analytics say so), ``merchant`` when a person changed it
7136
+ * in the portal (the order's POS history says so), else "" or absent. With
7137
+ * Lightspeed order alerts only ``merchant`` counts as a person having the
7138
+ * order in hand (``pos.services.merchant_has_order``): any other value, ""
7139
+ * included, leaves an order moved to preparing waiting for the till.
7117
7140
  */
7118
7141
  post: operations["sync_merchant_portal_order_status_create"];
7119
7142
  delete?: never;
@@ -8088,9 +8111,14 @@ interface components {
8088
8111
  * @enum {string}
8089
8112
  */
8090
8113
  AssetTypeEnum: "logo" | "hero" | "favicon" | "og_image";
8091
- /** @description Either a library group to add, or a new group to create and add. */
8114
+ /**
8115
+ * @description Either a library group to add, or a new group to create and add.
8116
+ *
8117
+ * ``position`` puts a library group back in a slot (Undo of a removal).
8118
+ */
8092
8119
  AttachGroup: {
8093
8120
  library_group_id?: number;
8121
+ position?: number;
8094
8122
  group?: components["schemas"]["GroupWrite"];
8095
8123
  };
8096
8124
  Attribute: {
@@ -9738,6 +9766,11 @@ interface components {
9738
9766
  * @enum {string}
9739
9767
  */
9740
9768
  EventTypeEnum: "impression" | "click" | "dismiss";
9769
+ /** @description Why a retry sends a store's own failed push nowhere (409). */
9770
+ FailedPushNotResent: {
9771
+ detail: string;
9772
+ reason_code: string;
9773
+ };
9741
9774
  /**
9742
9775
  * @description * `pending` - Pending
9743
9776
  * * `fulfilled` - Fulfilled
@@ -10046,6 +10079,7 @@ interface components {
10046
10079
  connected: boolean;
10047
10080
  needs_reauth: boolean;
10048
10081
  price_sync_mode: components["schemas"]["PriceSyncModeEnum"];
10082
+ order_alerts: boolean;
10049
10083
  };
10050
10084
  /**
10051
10085
  * @description * `en` - en
@@ -10326,6 +10360,13 @@ interface components {
10326
10360
  order_number: string;
10327
10361
  reference: string;
10328
10362
  error: string;
10363
+ reason_code: string;
10364
+ reason_details: {
10365
+ [key: string]: unknown;
10366
+ };
10367
+ can_resend: boolean;
10368
+ awaiting_pos: boolean;
10369
+ alerted: boolean;
10329
10370
  /** Format: date-time */
10330
10371
  created_at: string;
10331
10372
  };
@@ -10446,6 +10487,7 @@ interface components {
10446
10487
  last_push_at: string | null;
10447
10488
  needs_reauth: boolean;
10448
10489
  price_sync_mode: components["schemas"]["PriceSyncModeEnum"];
10490
+ order_alerts: boolean;
10449
10491
  };
10450
10492
  /** @description The unmapped-product summary (count + ids) for the badge. */
10451
10493
  LightspeedUnmapped: {
@@ -12201,11 +12243,16 @@ interface components {
12201
12243
  * @description Validates the request body for processing a payment.
12202
12244
  *
12203
12245
  * ``gateway_id`` is required. Additional gateway-specific fields
12204
- * (e.g. ``gift_card_code``, ``amount``) are passed through to the
12205
- * gateway via ``validated_data`` without explicit declaration here.
12246
+ * (e.g. ``gift_card_code``) are passed through to the gateway without
12247
+ * explicit declaration here. ``amount``, when sent, must be at least 0.01.
12206
12248
  */
12207
12249
  ProcessPaymentInput: {
12208
12250
  gateway_id: string;
12251
+ /**
12252
+ * Format: decimal
12253
+ * @description The part of the checkout to pay with this method, for a gateway that pays part of it (a gift card). Omitted, the rest owed.
12254
+ */
12255
+ amount?: string;
12209
12256
  /** @description The member's loyalty session: the order's points go to this member, whatever email the order carries. When the checkout carries Leat rewards, payment starts only once it may spend their points. */
12210
12257
  loyalty_token?: string;
12211
12258
  };
@@ -12455,8 +12502,13 @@ interface components {
12455
12502
  ProductFulfilmentDatesReasonEnum: "no_dates";
12456
12503
  ProductGroup: {
12457
12504
  modifier_group_id: number;
12505
+ readonly position: number | null;
12458
12506
  library_group: components["schemas"]["LibraryGroup"];
12459
12507
  };
12508
+ /** @description The product's linked groups, every one, in the order to show them. */
12509
+ ProductGroupOrder: {
12510
+ modifier_group_ids: number[];
12511
+ };
12460
12512
  ProductImage: {
12461
12513
  readonly id: number;
12462
12514
  /** Format: uri */
@@ -21527,6 +21579,100 @@ interface operations {
21527
21579
  };
21528
21580
  };
21529
21581
  };
21582
+ admin_stores_options_library_products_groups_order_update: {
21583
+ parameters: {
21584
+ query?: never;
21585
+ header?: {
21586
+ /** @description Company the request acts on. Ignored for merchant tokens (scoped to their own company); required for admin tokens to select a company. */
21587
+ "X-Sous-Company-Id"?: number;
21588
+ };
21589
+ path: {
21590
+ product_id: number;
21591
+ store_public_id: string;
21592
+ };
21593
+ cookie?: never;
21594
+ };
21595
+ requestBody: {
21596
+ content: {
21597
+ "application/json": components["schemas"]["ProductGroupOrder"];
21598
+ "application/x-www-form-urlencoded": components["schemas"]["ProductGroupOrder"];
21599
+ "multipart/form-data": components["schemas"]["ProductGroupOrder"];
21600
+ };
21601
+ };
21602
+ responses: {
21603
+ 200: {
21604
+ headers: {
21605
+ [name: string]: unknown;
21606
+ };
21607
+ content: {
21608
+ "application/json": components["schemas"]["ProductGroup"][];
21609
+ };
21610
+ };
21611
+ /** @description Possible error codes include `VALIDATION_ERROR`. Use `x-error-codes` for machine-readable retryability metadata. */
21612
+ 400: {
21613
+ headers: {
21614
+ [name: string]: unknown;
21615
+ };
21616
+ content: {
21617
+ "application/json": components["schemas"]["APIErrorEnvelope"];
21618
+ };
21619
+ };
21620
+ /** @description Possible error codes include `UNAUTHORIZED`. Use `x-error-codes` for machine-readable retryability metadata. */
21621
+ 401: {
21622
+ headers: {
21623
+ [name: string]: unknown;
21624
+ };
21625
+ content: {
21626
+ "application/json": components["schemas"]["APIErrorEnvelope"];
21627
+ };
21628
+ };
21629
+ /** @description Possible error codes include `FORBIDDEN`. Use `x-error-codes` for machine-readable retryability metadata. */
21630
+ 403: {
21631
+ headers: {
21632
+ [name: string]: unknown;
21633
+ };
21634
+ content: {
21635
+ "application/json": components["schemas"]["APIErrorEnvelope"];
21636
+ };
21637
+ };
21638
+ /** @description Possible error codes include `NOT_FOUND`. Use `x-error-codes` for machine-readable retryability metadata. */
21639
+ 404: {
21640
+ headers: {
21641
+ [name: string]: unknown;
21642
+ };
21643
+ content: {
21644
+ "application/json": components["schemas"]["APIErrorEnvelope"];
21645
+ };
21646
+ };
21647
+ /** @description Possible error codes include `group_order_stale`. Use `x-error-codes` for machine-readable retryability metadata. Possible error codes include `product_not_synced`. Use `x-error-codes` for machine-readable retryability metadata. */
21648
+ 409: {
21649
+ headers: {
21650
+ [name: string]: unknown;
21651
+ };
21652
+ content: {
21653
+ "application/json": components["schemas"]["APIErrorEnvelope"];
21654
+ };
21655
+ };
21656
+ /** @description Possible error codes include `RATE_LIMITED`. Use `x-error-codes` for machine-readable retryability metadata. */
21657
+ 429: {
21658
+ headers: {
21659
+ [name: string]: unknown;
21660
+ };
21661
+ content: {
21662
+ "application/json": components["schemas"]["APIErrorEnvelope"];
21663
+ };
21664
+ };
21665
+ /** @description Possible error codes include `INTERNAL_ERROR`. Use `x-error-codes` for machine-readable retryability metadata. */
21666
+ 500: {
21667
+ headers: {
21668
+ [name: string]: unknown;
21669
+ };
21670
+ content: {
21671
+ "application/json": components["schemas"]["APIErrorEnvelope"];
21672
+ };
21673
+ };
21674
+ };
21675
+ };
21530
21676
  admin_stores_options_library_snoozes_list: {
21531
21677
  parameters: {
21532
21678
  query?: never;
@@ -39844,6 +39990,14 @@ interface operations {
39844
39990
  "application/json": components["schemas"]["APIErrorEnvelope"];
39845
39991
  };
39846
39992
  };
39993
+ 409: {
39994
+ headers: {
39995
+ [name: string]: unknown;
39996
+ };
39997
+ content: {
39998
+ "application/json": components["schemas"]["FailedPushNotResent"];
39999
+ };
40000
+ };
39847
40001
  /** @description Possible error codes include `RATE_LIMITED`. Use `x-error-codes` for machine-readable retryability metadata. */
39848
40002
  429: {
39849
40003
  headers: {
@@ -41932,6 +42086,14 @@ interface operations {
41932
42086
  "application/json": components["schemas"]["APIErrorEnvelope"];
41933
42087
  };
41934
42088
  };
42089
+ 409: {
42090
+ headers: {
42091
+ [name: string]: unknown;
42092
+ };
42093
+ content: {
42094
+ "application/json": components["schemas"]["FailedPushNotResent"];
42095
+ };
42096
+ };
41935
42097
  /** @description Possible error codes include `RATE_LIMITED`. Use `x-error-codes` for machine-readable retryability metadata. */
41936
42098
  429: {
41937
42099
  headers: {
package/dist/index.js CHANGED
@@ -93,7 +93,8 @@ var RETRYABLE_ERROR_CODES = /* @__PURE__ */ new Set([
93
93
  "OTP_RATE_LIMIT_EXCEEDED",
94
94
  "RATE_LIMITED",
95
95
  "REFUND_PROCESSING_FAILED",
96
- "SUBSCRIPTION_STRIPE_ERROR"
96
+ "SUBSCRIPTION_STRIPE_ERROR",
97
+ "product_not_synced"
97
98
  ]);
98
99
  var RETRYABLE_HTTP_STATUSES = /* @__PURE__ */ new Set([429, 502]);
99
100
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@poweredbysous/storefront-all-sdk",
3
- "version": "7.0.0",
3
+ "version": "7.1.0",
4
4
  "description": "Type-safe TypeScript SDK for all SOUS Storefront Backend endpoints",
5
5
  "license": "UNLICENSED",
6
6
  "private": false,