@redotech/redo-api-schema 2.2.194 → 2.2.216

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/lib/openapi.d.ts CHANGED
@@ -117,9 +117,9 @@ export interface paths {
117
117
  "/stores/{storeId}/customer-subscriptions": {
118
118
  /**
119
119
  * Update customer subscriptions
120
- * @description Update customer subscription status for SMS and email marketing and transactional messages.
120
+ * @description Update customer subscription status for SMS and email marketing and transactional messages. If the customer with that phone number or email does not exist, it will be created.
121
121
  */
122
- post: operations["updateCustomerSubscriptions"];
122
+ post: operations["Customer subscriptions update"];
123
123
  };
124
124
  "/stores/{storeId}/invoices": {
125
125
  /**
@@ -1675,6 +1675,7 @@ export interface operations {
1675
1675
  };
1676
1676
  };
1677
1677
  responses: {
1678
+ /** @description Success */
1678
1679
  200: {
1679
1680
  content: {
1680
1681
  "application/json": {
@@ -1818,9 +1819,9 @@ export interface operations {
1818
1819
  };
1819
1820
  /**
1820
1821
  * Update customer subscriptions
1821
- * @description Update customer subscription status for SMS and email marketing and transactional messages.
1822
+ * @description Update customer subscription status for SMS and email marketing and transactional messages. If the customer with that phone number or email does not exist, it will be created.
1822
1823
  */
1823
- updateCustomerSubscriptions: {
1824
+ "Customer subscriptions update": {
1824
1825
  parameters: {
1825
1826
  path: {
1826
1827
  storeId: components["parameters"]["store-id.param"];
@@ -2279,7 +2280,7 @@ export interface operations {
2279
2280
  };
2280
2281
  responses: {
2281
2282
  /** @description Success. Return a 2xx status code to indicate success. */
2282
- "2xx": {
2283
+ "2XX": {
2283
2284
  content: never;
2284
2285
  };
2285
2286
  /** @description Error. The event will be retried multiple times and then discarded. */
package/lib/openapi.yaml CHANGED
@@ -1906,6 +1906,7 @@ paths:
1906
1906
  description: Boilerplate checkout button HTML
1907
1907
  title: Checkout buttons HTML
1908
1908
  type: string
1909
+ description: Success
1909
1910
  summary: Retrieve some rendered HTML and CSS for checkout buttons options for enabling and disabling coverage
1910
1911
  tags:
1911
1912
  - Checkout buttons
@@ -2041,8 +2042,8 @@ paths:
2041
2042
  /stores/{storeId}/customer-subscriptions:
2042
2043
  description: Update customer subscription preferences for marketing and transactional messages.
2043
2044
  post:
2044
- description: Update customer subscription status for SMS and email marketing and transactional messages.
2045
- operationId: updateCustomerSubscriptions
2045
+ description: Update customer subscription status for SMS and email marketing and transactional messages. If the customer with that phone number or email does not exist, it will be created.
2046
+ operationId: Customer subscriptions update
2046
2047
  parameters:
2047
2048
  - $ref: '#/components/parameters/store-id.param'
2048
2049
  requestBody:
@@ -2115,7 +2116,7 @@ paths:
2115
2116
  $ref: '#/components/schemas/error.schema'
2116
2117
  description: Error
2117
2118
  security:
2118
- Bearer: []
2119
+ - Bearer: []
2119
2120
  summary: Get invoice
2120
2121
  tags:
2121
2122
  - Invoice
@@ -2572,7 +2573,7 @@ webhooks:
2572
2573
  Return event webhook.
2573
2574
  required: true
2574
2575
  responses:
2575
- 2xx:
2576
+ 2XX:
2576
2577
  description: Success. Return a 2xx status code to indicate success.
2577
2578
  default:
2578
2579
  description: Error. The event will be retried multiple times and then discarded.
package/package.json CHANGED
@@ -31,5 +31,5 @@
31
31
  ]
32
32
  }
33
33
  },
34
- "version": "2.2.194"
34
+ "version": "2.2.216"
35
35
  }