@redotech/redo-api-schema 2.2.92 → 2.2.101
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 +36 -0
- package/lib/openapi.yaml +26 -0
- package/package.json +1 -1
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
|
|
@@ -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
|
@@ -1159,6 +1159,32 @@ paths:
|
|
|
1159
1159
|
tags:
|
|
1160
1160
|
- Merchant admin
|
|
1161
1161
|
summary: Merchant admin
|
|
1162
|
+
/stores/{storeId}/checkout-buttons-ui:
|
|
1163
|
+
description: Generate HTML and CSS for checkout buttons
|
|
1164
|
+
get:
|
|
1165
|
+
description: Generate HTML and CSS for checkout buttons
|
|
1166
|
+
operationId: Checkout buttons UI
|
|
1167
|
+
parameters:
|
|
1168
|
+
- $ref: '#/components/parameters/store-id.param'
|
|
1169
|
+
responses:
|
|
1170
|
+
'200':
|
|
1171
|
+
content:
|
|
1172
|
+
application/json:
|
|
1173
|
+
schema:
|
|
1174
|
+
properties:
|
|
1175
|
+
css:
|
|
1176
|
+
description: Boilerplate checkout button CSS, plus any merchant configured styles or A/B tests.
|
|
1177
|
+
title: Checkout buttons CSS
|
|
1178
|
+
type: string
|
|
1179
|
+
html:
|
|
1180
|
+
description: Boilerplate checkout button HTML
|
|
1181
|
+
title: Checkout buttons HTML
|
|
1182
|
+
type: string
|
|
1183
|
+
summary: Retrieve some rendered HTML and CSS for checkout buttons options for enabling and disabling coverage
|
|
1184
|
+
tags:
|
|
1185
|
+
- Checkout buttons
|
|
1186
|
+
- UI
|
|
1187
|
+
summary: Checkout buttons UI
|
|
1162
1188
|
/stores/{storeId}/coverage-info:
|
|
1163
1189
|
description: Navigate to the coverage info page.
|
|
1164
1190
|
get:
|
package/package.json
CHANGED