@poweredbysous/storefront-all-sdk 4.12.0 → 4.13.1

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.d.cts CHANGED
@@ -591,16 +591,38 @@ interface paths {
591
591
  path?: never;
592
592
  cookie?: never;
593
593
  };
594
- /** @description The store's enabled cloud printers. An empty list: no cloud printing. */
594
+ /**
595
+ * @description The store's enabled cloud printers (an empty list: no cloud printing).
596
+ *
597
+ * Backoffice can add one.
598
+ */
595
599
  get: operations["admin_printing_store_devices"];
596
600
  put?: never;
597
- post?: never;
601
+ /** @description Bind a printer in Sunmi for this store and save it (backoffice only). */
602
+ post: operations["admin_printing_add_store_device"];
598
603
  delete?: never;
599
604
  options?: never;
600
605
  head?: never;
601
606
  patch?: never;
602
607
  trace?: never;
603
608
  };
609
+ "/api/v1/admin/printing/stores/{store_public_id}/devices/{device_id}/": {
610
+ parameters: {
611
+ query?: never;
612
+ header?: never;
613
+ path?: never;
614
+ cookie?: never;
615
+ };
616
+ get?: never;
617
+ put?: never;
618
+ post?: never;
619
+ delete?: never;
620
+ options?: never;
621
+ head?: never;
622
+ /** @description One printer of the store: change its tickets per order (backoffice only). */
623
+ patch: operations["admin_printing_update_store_device"];
624
+ trace?: never;
625
+ };
604
626
  "/api/v1/admin/products/": {
605
627
  parameters: {
606
628
  query?: never;
@@ -7587,6 +7609,7 @@ interface components {
7587
7609
  readonly promotion: {
7588
7610
  [key: string]: unknown;
7589
7611
  } | null;
7612
+ readonly pending_auto_discount: components["schemas"]["CartPendingAutoDiscount"] | null;
7590
7613
  readonly shipping_estimate: components["schemas"]["ShippingEstimate"] | null;
7591
7614
  /**
7592
7615
  * Format: decimal
@@ -7726,6 +7749,40 @@ interface components {
7726
7749
  /** @description 'product' or 'modifier' */
7727
7750
  source: string;
7728
7751
  };
7752
+ /**
7753
+ * @description A codeless discount the cart holds products for but does not get yet.
7754
+ *
7755
+ * Documentation only: the payload is built by
7756
+ * ``CartSerializer.get_pending_auto_discount``. Null whenever a discount is
7757
+ * on the cart, a typed code included.
7758
+ */
7759
+ CartPendingAutoDiscount: {
7760
+ /** Format: uuid */
7761
+ discount_id: string;
7762
+ name: string;
7763
+ /**
7764
+ * @description min_order_not_met: the cart subtotal is below min_order_amount; amount_needed says by how much. fulfillment_type_not_allowed: no line the discount covers uses one of allowed_fulfillment_types. Reported before the minimum, since adding to the basket cannot lift it.
7765
+ *
7766
+ * * `min_order_not_met` - min_order_not_met
7767
+ * * `fulfillment_type_not_allowed` - fulfillment_type_not_allowed
7768
+ */
7769
+ reason: components["schemas"]["CartPendingAutoDiscountReasonEnum"];
7770
+ /** Format: decimal */
7771
+ min_order_amount: string | null;
7772
+ /**
7773
+ * Format: decimal
7774
+ * @description What the subtotal still needs. Null unless min_order_not_met.
7775
+ */
7776
+ amount_needed: string | null;
7777
+ allowed_fulfillment_types: string[];
7778
+ currency: string;
7779
+ };
7780
+ /**
7781
+ * @description * `min_order_not_met` - min_order_not_met
7782
+ * * `fulfillment_type_not_allowed` - fulfillment_type_not_allowed
7783
+ * @enum {string}
7784
+ */
7785
+ CartPendingAutoDiscountReasonEnum: "min_order_not_met" | "fulfillment_type_not_allowed";
7729
7786
  Category: {
7730
7787
  readonly id: number;
7731
7788
  slug: string;
@@ -10252,6 +10309,9 @@ interface components {
10252
10309
  dismiss_duration?: string | null;
10253
10310
  targeting?: unknown;
10254
10311
  };
10312
+ PatchedPrintDeviceUpdateRequest: {
10313
+ copies?: number;
10314
+ };
10255
10315
  PatchedProductChannelListing: {
10256
10316
  readonly id?: number;
10257
10317
  readonly product_id?: number;
@@ -10496,6 +10556,10 @@ interface components {
10496
10556
  PrintDevice: {
10497
10557
  id: number;
10498
10558
  name: string;
10559
+ /** @description The printer's serial number (Sunmi: the MSN on its label). */
10560
+ device_identifier: string;
10561
+ /** @description Tickets per automatic print. A manual print is always one. */
10562
+ copies: number;
10499
10563
  /**
10500
10564
  * @description `alerting`: the printer recently failed to print and the merchant was emailed. Cleared by its next successful print.
10501
10565
  *
@@ -10505,6 +10569,25 @@ interface components {
10505
10569
  alert_state: components["schemas"]["AlertStateEnum"];
10506
10570
  /** Format: date-time */
10507
10571
  last_seen_at: string | null;
10572
+ /** @description The last online check run by Sous staff: true online, false offline, null never checked. Not live. */
10573
+ online: boolean | null;
10574
+ /**
10575
+ * Format: date-time
10576
+ * @description When that check ran.
10577
+ */
10578
+ online_checked_at: string | null;
10579
+ };
10580
+ /** @description A backoffice user adds a printer to the store in the URL. */
10581
+ PrintDeviceCreateRequest: {
10582
+ /** @description Serial from the printer's label, e.g. N439259A11700. */
10583
+ device_identifier: string;
10584
+ /** @description e.g. "Kitchen" */
10585
+ name: string;
10586
+ /**
10587
+ * @description Tickets per automatic print.
10588
+ * @default 1
10589
+ */
10590
+ copies: number;
10508
10591
  };
10509
10592
  PrintDevicesResponse: {
10510
10593
  devices: components["schemas"]["PrintDevice"][];
@@ -14837,6 +14920,223 @@ interface operations {
14837
14920
  };
14838
14921
  };
14839
14922
  };
14923
+ admin_printing_add_store_device: {
14924
+ parameters: {
14925
+ query?: never;
14926
+ header?: {
14927
+ /** @description Company the request acts on. Ignored for merchant tokens (scoped to their own company); required for admin tokens to select a company. */
14928
+ "X-Sous-Company-Id"?: number;
14929
+ };
14930
+ path: {
14931
+ store_public_id: string;
14932
+ };
14933
+ cookie?: never;
14934
+ };
14935
+ requestBody: {
14936
+ content: {
14937
+ "application/json": components["schemas"]["PrintDeviceCreateRequest"];
14938
+ "application/x-www-form-urlencoded": components["schemas"]["PrintDeviceCreateRequest"];
14939
+ "multipart/form-data": components["schemas"]["PrintDeviceCreateRequest"];
14940
+ };
14941
+ };
14942
+ responses: {
14943
+ 201: {
14944
+ headers: {
14945
+ [name: string]: unknown;
14946
+ };
14947
+ content: {
14948
+ "application/json": components["schemas"]["PrintDevice"];
14949
+ };
14950
+ };
14951
+ /** @description Possible error codes include `VALIDATION_ERROR`. Use `x-error-codes` for machine-readable retryability metadata. */
14952
+ 400: {
14953
+ headers: {
14954
+ [name: string]: unknown;
14955
+ };
14956
+ content: {
14957
+ "application/json": components["schemas"]["APIErrorEnvelope"];
14958
+ };
14959
+ };
14960
+ /** @description Possible error codes include `UNAUTHORIZED`. Use `x-error-codes` for machine-readable retryability metadata. */
14961
+ 401: {
14962
+ headers: {
14963
+ [name: string]: unknown;
14964
+ };
14965
+ content: {
14966
+ "application/json": components["schemas"]["APIErrorEnvelope"];
14967
+ };
14968
+ };
14969
+ /** @description Possible error codes include `FORBIDDEN`. Use `x-error-codes` for machine-readable retryability metadata. */
14970
+ 403: {
14971
+ headers: {
14972
+ [name: string]: unknown;
14973
+ };
14974
+ content: {
14975
+ "application/json": {
14976
+ [key: string]: unknown;
14977
+ };
14978
+ };
14979
+ };
14980
+ /** @description Possible error codes include `NOT_FOUND`. Use `x-error-codes` for machine-readable retryability metadata. */
14981
+ 404: {
14982
+ headers: {
14983
+ [name: string]: unknown;
14984
+ };
14985
+ content: {
14986
+ "application/json": {
14987
+ [key: string]: unknown;
14988
+ };
14989
+ };
14990
+ };
14991
+ 409: {
14992
+ headers: {
14993
+ [name: string]: unknown;
14994
+ };
14995
+ content: {
14996
+ "application/json": {
14997
+ [key: string]: unknown;
14998
+ };
14999
+ };
15000
+ };
15001
+ 422: {
15002
+ headers: {
15003
+ [name: string]: unknown;
15004
+ };
15005
+ content: {
15006
+ "application/json": {
15007
+ [key: string]: unknown;
15008
+ };
15009
+ };
15010
+ };
15011
+ /** @description Possible error codes include `RATE_LIMITED`. Use `x-error-codes` for machine-readable retryability metadata. */
15012
+ 429: {
15013
+ headers: {
15014
+ [name: string]: unknown;
15015
+ };
15016
+ content: {
15017
+ "application/json": components["schemas"]["APIErrorEnvelope"];
15018
+ };
15019
+ };
15020
+ /** @description Possible error codes include `INTERNAL_ERROR`. Use `x-error-codes` for machine-readable retryability metadata. */
15021
+ 500: {
15022
+ headers: {
15023
+ [name: string]: unknown;
15024
+ };
15025
+ content: {
15026
+ "application/json": components["schemas"]["APIErrorEnvelope"];
15027
+ };
15028
+ };
15029
+ 502: {
15030
+ headers: {
15031
+ [name: string]: unknown;
15032
+ };
15033
+ content: {
15034
+ "application/json": {
15035
+ [key: string]: unknown;
15036
+ };
15037
+ };
15038
+ };
15039
+ 503: {
15040
+ headers: {
15041
+ [name: string]: unknown;
15042
+ };
15043
+ content: {
15044
+ "application/json": {
15045
+ [key: string]: unknown;
15046
+ };
15047
+ };
15048
+ };
15049
+ };
15050
+ };
15051
+ admin_printing_update_store_device: {
15052
+ parameters: {
15053
+ query?: never;
15054
+ header?: {
15055
+ /** @description Company the request acts on. Ignored for merchant tokens (scoped to their own company); required for admin tokens to select a company. */
15056
+ "X-Sous-Company-Id"?: number;
15057
+ };
15058
+ path: {
15059
+ device_id: number;
15060
+ store_public_id: string;
15061
+ };
15062
+ cookie?: never;
15063
+ };
15064
+ requestBody?: {
15065
+ content: {
15066
+ "application/json": components["schemas"]["PatchedPrintDeviceUpdateRequest"];
15067
+ "application/x-www-form-urlencoded": components["schemas"]["PatchedPrintDeviceUpdateRequest"];
15068
+ "multipart/form-data": components["schemas"]["PatchedPrintDeviceUpdateRequest"];
15069
+ };
15070
+ };
15071
+ responses: {
15072
+ 200: {
15073
+ headers: {
15074
+ [name: string]: unknown;
15075
+ };
15076
+ content: {
15077
+ "application/json": components["schemas"]["PrintDevice"];
15078
+ };
15079
+ };
15080
+ /** @description Possible error codes include `VALIDATION_ERROR`. Use `x-error-codes` for machine-readable retryability metadata. */
15081
+ 400: {
15082
+ headers: {
15083
+ [name: string]: unknown;
15084
+ };
15085
+ content: {
15086
+ "application/json": components["schemas"]["APIErrorEnvelope"];
15087
+ };
15088
+ };
15089
+ /** @description Possible error codes include `UNAUTHORIZED`. Use `x-error-codes` for machine-readable retryability metadata. */
15090
+ 401: {
15091
+ headers: {
15092
+ [name: string]: unknown;
15093
+ };
15094
+ content: {
15095
+ "application/json": components["schemas"]["APIErrorEnvelope"];
15096
+ };
15097
+ };
15098
+ /** @description Possible error codes include `FORBIDDEN`. Use `x-error-codes` for machine-readable retryability metadata. */
15099
+ 403: {
15100
+ headers: {
15101
+ [name: string]: unknown;
15102
+ };
15103
+ content: {
15104
+ "application/json": {
15105
+ [key: string]: unknown;
15106
+ };
15107
+ };
15108
+ };
15109
+ /** @description Possible error codes include `NOT_FOUND`. Use `x-error-codes` for machine-readable retryability metadata. */
15110
+ 404: {
15111
+ headers: {
15112
+ [name: string]: unknown;
15113
+ };
15114
+ content: {
15115
+ "application/json": {
15116
+ [key: string]: unknown;
15117
+ };
15118
+ };
15119
+ };
15120
+ /** @description Possible error codes include `RATE_LIMITED`. Use `x-error-codes` for machine-readable retryability metadata. */
15121
+ 429: {
15122
+ headers: {
15123
+ [name: string]: unknown;
15124
+ };
15125
+ content: {
15126
+ "application/json": components["schemas"]["APIErrorEnvelope"];
15127
+ };
15128
+ };
15129
+ /** @description Possible error codes include `INTERNAL_ERROR`. Use `x-error-codes` for machine-readable retryability metadata. */
15130
+ 500: {
15131
+ headers: {
15132
+ [name: string]: unknown;
15133
+ };
15134
+ content: {
15135
+ "application/json": components["schemas"]["APIErrorEnvelope"];
15136
+ };
15137
+ };
15138
+ };
15139
+ };
14840
15140
  admin_products_list: {
14841
15141
  parameters: {
14842
15142
  query?: {
package/dist/index.d.ts CHANGED
@@ -591,16 +591,38 @@ interface paths {
591
591
  path?: never;
592
592
  cookie?: never;
593
593
  };
594
- /** @description The store's enabled cloud printers. An empty list: no cloud printing. */
594
+ /**
595
+ * @description The store's enabled cloud printers (an empty list: no cloud printing).
596
+ *
597
+ * Backoffice can add one.
598
+ */
595
599
  get: operations["admin_printing_store_devices"];
596
600
  put?: never;
597
- post?: never;
601
+ /** @description Bind a printer in Sunmi for this store and save it (backoffice only). */
602
+ post: operations["admin_printing_add_store_device"];
598
603
  delete?: never;
599
604
  options?: never;
600
605
  head?: never;
601
606
  patch?: never;
602
607
  trace?: never;
603
608
  };
609
+ "/api/v1/admin/printing/stores/{store_public_id}/devices/{device_id}/": {
610
+ parameters: {
611
+ query?: never;
612
+ header?: never;
613
+ path?: never;
614
+ cookie?: never;
615
+ };
616
+ get?: never;
617
+ put?: never;
618
+ post?: never;
619
+ delete?: never;
620
+ options?: never;
621
+ head?: never;
622
+ /** @description One printer of the store: change its tickets per order (backoffice only). */
623
+ patch: operations["admin_printing_update_store_device"];
624
+ trace?: never;
625
+ };
604
626
  "/api/v1/admin/products/": {
605
627
  parameters: {
606
628
  query?: never;
@@ -7587,6 +7609,7 @@ interface components {
7587
7609
  readonly promotion: {
7588
7610
  [key: string]: unknown;
7589
7611
  } | null;
7612
+ readonly pending_auto_discount: components["schemas"]["CartPendingAutoDiscount"] | null;
7590
7613
  readonly shipping_estimate: components["schemas"]["ShippingEstimate"] | null;
7591
7614
  /**
7592
7615
  * Format: decimal
@@ -7726,6 +7749,40 @@ interface components {
7726
7749
  /** @description 'product' or 'modifier' */
7727
7750
  source: string;
7728
7751
  };
7752
+ /**
7753
+ * @description A codeless discount the cart holds products for but does not get yet.
7754
+ *
7755
+ * Documentation only: the payload is built by
7756
+ * ``CartSerializer.get_pending_auto_discount``. Null whenever a discount is
7757
+ * on the cart, a typed code included.
7758
+ */
7759
+ CartPendingAutoDiscount: {
7760
+ /** Format: uuid */
7761
+ discount_id: string;
7762
+ name: string;
7763
+ /**
7764
+ * @description min_order_not_met: the cart subtotal is below min_order_amount; amount_needed says by how much. fulfillment_type_not_allowed: no line the discount covers uses one of allowed_fulfillment_types. Reported before the minimum, since adding to the basket cannot lift it.
7765
+ *
7766
+ * * `min_order_not_met` - min_order_not_met
7767
+ * * `fulfillment_type_not_allowed` - fulfillment_type_not_allowed
7768
+ */
7769
+ reason: components["schemas"]["CartPendingAutoDiscountReasonEnum"];
7770
+ /** Format: decimal */
7771
+ min_order_amount: string | null;
7772
+ /**
7773
+ * Format: decimal
7774
+ * @description What the subtotal still needs. Null unless min_order_not_met.
7775
+ */
7776
+ amount_needed: string | null;
7777
+ allowed_fulfillment_types: string[];
7778
+ currency: string;
7779
+ };
7780
+ /**
7781
+ * @description * `min_order_not_met` - min_order_not_met
7782
+ * * `fulfillment_type_not_allowed` - fulfillment_type_not_allowed
7783
+ * @enum {string}
7784
+ */
7785
+ CartPendingAutoDiscountReasonEnum: "min_order_not_met" | "fulfillment_type_not_allowed";
7729
7786
  Category: {
7730
7787
  readonly id: number;
7731
7788
  slug: string;
@@ -10252,6 +10309,9 @@ interface components {
10252
10309
  dismiss_duration?: string | null;
10253
10310
  targeting?: unknown;
10254
10311
  };
10312
+ PatchedPrintDeviceUpdateRequest: {
10313
+ copies?: number;
10314
+ };
10255
10315
  PatchedProductChannelListing: {
10256
10316
  readonly id?: number;
10257
10317
  readonly product_id?: number;
@@ -10496,6 +10556,10 @@ interface components {
10496
10556
  PrintDevice: {
10497
10557
  id: number;
10498
10558
  name: string;
10559
+ /** @description The printer's serial number (Sunmi: the MSN on its label). */
10560
+ device_identifier: string;
10561
+ /** @description Tickets per automatic print. A manual print is always one. */
10562
+ copies: number;
10499
10563
  /**
10500
10564
  * @description `alerting`: the printer recently failed to print and the merchant was emailed. Cleared by its next successful print.
10501
10565
  *
@@ -10505,6 +10569,25 @@ interface components {
10505
10569
  alert_state: components["schemas"]["AlertStateEnum"];
10506
10570
  /** Format: date-time */
10507
10571
  last_seen_at: string | null;
10572
+ /** @description The last online check run by Sous staff: true online, false offline, null never checked. Not live. */
10573
+ online: boolean | null;
10574
+ /**
10575
+ * Format: date-time
10576
+ * @description When that check ran.
10577
+ */
10578
+ online_checked_at: string | null;
10579
+ };
10580
+ /** @description A backoffice user adds a printer to the store in the URL. */
10581
+ PrintDeviceCreateRequest: {
10582
+ /** @description Serial from the printer's label, e.g. N439259A11700. */
10583
+ device_identifier: string;
10584
+ /** @description e.g. "Kitchen" */
10585
+ name: string;
10586
+ /**
10587
+ * @description Tickets per automatic print.
10588
+ * @default 1
10589
+ */
10590
+ copies: number;
10508
10591
  };
10509
10592
  PrintDevicesResponse: {
10510
10593
  devices: components["schemas"]["PrintDevice"][];
@@ -14837,6 +14920,223 @@ interface operations {
14837
14920
  };
14838
14921
  };
14839
14922
  };
14923
+ admin_printing_add_store_device: {
14924
+ parameters: {
14925
+ query?: never;
14926
+ header?: {
14927
+ /** @description Company the request acts on. Ignored for merchant tokens (scoped to their own company); required for admin tokens to select a company. */
14928
+ "X-Sous-Company-Id"?: number;
14929
+ };
14930
+ path: {
14931
+ store_public_id: string;
14932
+ };
14933
+ cookie?: never;
14934
+ };
14935
+ requestBody: {
14936
+ content: {
14937
+ "application/json": components["schemas"]["PrintDeviceCreateRequest"];
14938
+ "application/x-www-form-urlencoded": components["schemas"]["PrintDeviceCreateRequest"];
14939
+ "multipart/form-data": components["schemas"]["PrintDeviceCreateRequest"];
14940
+ };
14941
+ };
14942
+ responses: {
14943
+ 201: {
14944
+ headers: {
14945
+ [name: string]: unknown;
14946
+ };
14947
+ content: {
14948
+ "application/json": components["schemas"]["PrintDevice"];
14949
+ };
14950
+ };
14951
+ /** @description Possible error codes include `VALIDATION_ERROR`. Use `x-error-codes` for machine-readable retryability metadata. */
14952
+ 400: {
14953
+ headers: {
14954
+ [name: string]: unknown;
14955
+ };
14956
+ content: {
14957
+ "application/json": components["schemas"]["APIErrorEnvelope"];
14958
+ };
14959
+ };
14960
+ /** @description Possible error codes include `UNAUTHORIZED`. Use `x-error-codes` for machine-readable retryability metadata. */
14961
+ 401: {
14962
+ headers: {
14963
+ [name: string]: unknown;
14964
+ };
14965
+ content: {
14966
+ "application/json": components["schemas"]["APIErrorEnvelope"];
14967
+ };
14968
+ };
14969
+ /** @description Possible error codes include `FORBIDDEN`. Use `x-error-codes` for machine-readable retryability metadata. */
14970
+ 403: {
14971
+ headers: {
14972
+ [name: string]: unknown;
14973
+ };
14974
+ content: {
14975
+ "application/json": {
14976
+ [key: string]: unknown;
14977
+ };
14978
+ };
14979
+ };
14980
+ /** @description Possible error codes include `NOT_FOUND`. Use `x-error-codes` for machine-readable retryability metadata. */
14981
+ 404: {
14982
+ headers: {
14983
+ [name: string]: unknown;
14984
+ };
14985
+ content: {
14986
+ "application/json": {
14987
+ [key: string]: unknown;
14988
+ };
14989
+ };
14990
+ };
14991
+ 409: {
14992
+ headers: {
14993
+ [name: string]: unknown;
14994
+ };
14995
+ content: {
14996
+ "application/json": {
14997
+ [key: string]: unknown;
14998
+ };
14999
+ };
15000
+ };
15001
+ 422: {
15002
+ headers: {
15003
+ [name: string]: unknown;
15004
+ };
15005
+ content: {
15006
+ "application/json": {
15007
+ [key: string]: unknown;
15008
+ };
15009
+ };
15010
+ };
15011
+ /** @description Possible error codes include `RATE_LIMITED`. Use `x-error-codes` for machine-readable retryability metadata. */
15012
+ 429: {
15013
+ headers: {
15014
+ [name: string]: unknown;
15015
+ };
15016
+ content: {
15017
+ "application/json": components["schemas"]["APIErrorEnvelope"];
15018
+ };
15019
+ };
15020
+ /** @description Possible error codes include `INTERNAL_ERROR`. Use `x-error-codes` for machine-readable retryability metadata. */
15021
+ 500: {
15022
+ headers: {
15023
+ [name: string]: unknown;
15024
+ };
15025
+ content: {
15026
+ "application/json": components["schemas"]["APIErrorEnvelope"];
15027
+ };
15028
+ };
15029
+ 502: {
15030
+ headers: {
15031
+ [name: string]: unknown;
15032
+ };
15033
+ content: {
15034
+ "application/json": {
15035
+ [key: string]: unknown;
15036
+ };
15037
+ };
15038
+ };
15039
+ 503: {
15040
+ headers: {
15041
+ [name: string]: unknown;
15042
+ };
15043
+ content: {
15044
+ "application/json": {
15045
+ [key: string]: unknown;
15046
+ };
15047
+ };
15048
+ };
15049
+ };
15050
+ };
15051
+ admin_printing_update_store_device: {
15052
+ parameters: {
15053
+ query?: never;
15054
+ header?: {
15055
+ /** @description Company the request acts on. Ignored for merchant tokens (scoped to their own company); required for admin tokens to select a company. */
15056
+ "X-Sous-Company-Id"?: number;
15057
+ };
15058
+ path: {
15059
+ device_id: number;
15060
+ store_public_id: string;
15061
+ };
15062
+ cookie?: never;
15063
+ };
15064
+ requestBody?: {
15065
+ content: {
15066
+ "application/json": components["schemas"]["PatchedPrintDeviceUpdateRequest"];
15067
+ "application/x-www-form-urlencoded": components["schemas"]["PatchedPrintDeviceUpdateRequest"];
15068
+ "multipart/form-data": components["schemas"]["PatchedPrintDeviceUpdateRequest"];
15069
+ };
15070
+ };
15071
+ responses: {
15072
+ 200: {
15073
+ headers: {
15074
+ [name: string]: unknown;
15075
+ };
15076
+ content: {
15077
+ "application/json": components["schemas"]["PrintDevice"];
15078
+ };
15079
+ };
15080
+ /** @description Possible error codes include `VALIDATION_ERROR`. Use `x-error-codes` for machine-readable retryability metadata. */
15081
+ 400: {
15082
+ headers: {
15083
+ [name: string]: unknown;
15084
+ };
15085
+ content: {
15086
+ "application/json": components["schemas"]["APIErrorEnvelope"];
15087
+ };
15088
+ };
15089
+ /** @description Possible error codes include `UNAUTHORIZED`. Use `x-error-codes` for machine-readable retryability metadata. */
15090
+ 401: {
15091
+ headers: {
15092
+ [name: string]: unknown;
15093
+ };
15094
+ content: {
15095
+ "application/json": components["schemas"]["APIErrorEnvelope"];
15096
+ };
15097
+ };
15098
+ /** @description Possible error codes include `FORBIDDEN`. Use `x-error-codes` for machine-readable retryability metadata. */
15099
+ 403: {
15100
+ headers: {
15101
+ [name: string]: unknown;
15102
+ };
15103
+ content: {
15104
+ "application/json": {
15105
+ [key: string]: unknown;
15106
+ };
15107
+ };
15108
+ };
15109
+ /** @description Possible error codes include `NOT_FOUND`. Use `x-error-codes` for machine-readable retryability metadata. */
15110
+ 404: {
15111
+ headers: {
15112
+ [name: string]: unknown;
15113
+ };
15114
+ content: {
15115
+ "application/json": {
15116
+ [key: string]: unknown;
15117
+ };
15118
+ };
15119
+ };
15120
+ /** @description Possible error codes include `RATE_LIMITED`. Use `x-error-codes` for machine-readable retryability metadata. */
15121
+ 429: {
15122
+ headers: {
15123
+ [name: string]: unknown;
15124
+ };
15125
+ content: {
15126
+ "application/json": components["schemas"]["APIErrorEnvelope"];
15127
+ };
15128
+ };
15129
+ /** @description Possible error codes include `INTERNAL_ERROR`. Use `x-error-codes` for machine-readable retryability metadata. */
15130
+ 500: {
15131
+ headers: {
15132
+ [name: string]: unknown;
15133
+ };
15134
+ content: {
15135
+ "application/json": components["schemas"]["APIErrorEnvelope"];
15136
+ };
15137
+ };
15138
+ };
15139
+ };
14840
15140
  admin_products_list: {
14841
15141
  parameters: {
14842
15142
  query?: {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@poweredbysous/storefront-all-sdk",
3
- "version": "4.12.0",
3
+ "version": "4.13.1",
4
4
  "description": "Type-safe TypeScript SDK for all SOUS Storefront Backend endpoints",
5
5
  "license": "UNLICENSED",
6
6
  "private": false,