@redotech/redo-api-schema 2.2.92 → 2.2.108

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
@@ -77,6 +77,13 @@ export interface paths {
77
77
  */
78
78
  get: operations["Merchant admin navigate"];
79
79
  };
80
+ "/stores/{storeId}/checkout-buttons-ui": {
81
+ /**
82
+ * Retrieve some rendered HTML and CSS for checkout buttons options for enabling and disabling coverage
83
+ * @description Generate HTML and CSS for checkout buttons
84
+ */
85
+ get: operations["Checkout buttons UI"];
86
+ };
80
87
  "/stores/{storeId}/coverage-info": {
81
88
  /**
82
89
  * Navigate to coverage info
@@ -713,11 +720,11 @@ export interface components {
713
720
  * Price
714
721
  * @description Total price.
715
722
  */
716
- priceTotal?: components["schemas"]["money.schema"];
723
+ priceTotal: components["schemas"]["money.schema"];
717
724
  /** @description Product. */
718
725
  product: {
719
726
  /** ID */
720
- id?: string;
727
+ id: string;
721
728
  };
722
729
  /**
723
730
  * Quantity
@@ -727,7 +734,7 @@ export interface components {
727
734
  /** @description Variant. */
728
735
  variant: {
729
736
  /** ID */
730
- id?: string;
737
+ id: string;
731
738
  };
732
739
  }[];
733
740
  /**
@@ -1100,6 +1107,35 @@ export interface operations {
1100
1107
  };
1101
1108
  };
1102
1109
  };
1110
+ /**
1111
+ * Retrieve some rendered HTML and CSS for checkout buttons options for enabling and disabling coverage
1112
+ * @description Generate HTML and CSS for checkout buttons
1113
+ */
1114
+ "Checkout buttons UI": {
1115
+ parameters: {
1116
+ path: {
1117
+ storeId: components["parameters"]["store-id.param"];
1118
+ };
1119
+ };
1120
+ responses: {
1121
+ 200: {
1122
+ content: {
1123
+ "application/json": {
1124
+ /**
1125
+ * Checkout buttons CSS
1126
+ * @description Boilerplate checkout button CSS, plus any merchant configured styles or A/B tests.
1127
+ */
1128
+ css?: string;
1129
+ /**
1130
+ * Checkout buttons HTML
1131
+ * @description Boilerplate checkout button HTML
1132
+ */
1133
+ html?: string;
1134
+ };
1135
+ };
1136
+ };
1137
+ };
1138
+ };
1103
1139
  /**
1104
1140
  * Navigate to coverage info
1105
1141
  * @description Navigate to the coverage info page.
package/lib/openapi.yaml CHANGED
@@ -748,6 +748,8 @@ components:
748
748
  id:
749
749
  title: ID
750
750
  type: string
751
+ required:
752
+ - id
751
753
  type: object
752
754
  quantity:
753
755
  description: Quantity.
@@ -759,12 +761,15 @@ components:
759
761
  id:
760
762
  title: ID
761
763
  type: string
764
+ required:
765
+ - id
762
766
  type: object
763
767
  required:
764
768
  - id
765
769
  - quantity
766
770
  - product
767
771
  - variant
772
+ - priceTotal
768
773
  type: object
769
774
  title: Line items
770
775
  type: array
@@ -1159,6 +1164,32 @@ paths:
1159
1164
  tags:
1160
1165
  - Merchant admin
1161
1166
  summary: Merchant admin
1167
+ /stores/{storeId}/checkout-buttons-ui:
1168
+ description: Generate HTML and CSS for checkout buttons
1169
+ get:
1170
+ description: Generate HTML and CSS for checkout buttons
1171
+ operationId: Checkout buttons UI
1172
+ parameters:
1173
+ - $ref: '#/components/parameters/store-id.param'
1174
+ responses:
1175
+ '200':
1176
+ content:
1177
+ application/json:
1178
+ schema:
1179
+ properties:
1180
+ css:
1181
+ description: Boilerplate checkout button CSS, plus any merchant configured styles or A/B tests.
1182
+ title: Checkout buttons CSS
1183
+ type: string
1184
+ html:
1185
+ description: Boilerplate checkout button HTML
1186
+ title: Checkout buttons HTML
1187
+ type: string
1188
+ summary: Retrieve some rendered HTML and CSS for checkout buttons options for enabling and disabling coverage
1189
+ tags:
1190
+ - Checkout buttons
1191
+ - UI
1192
+ summary: Checkout buttons UI
1162
1193
  /stores/{storeId}/coverage-info:
1163
1194
  description: Navigate to the coverage info page.
1164
1195
  get:
package/package.json CHANGED
@@ -31,5 +31,5 @@
31
31
  ]
32
32
  }
33
33
  },
34
- "version": "2.2.92"
34
+ "version": "2.2.108"
35
35
  }