@redotech/redo-api-schema 2.2.80 → 2.2.83

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
@@ -70,6 +70,20 @@ export interface paths {
70
70
  };
71
71
  };
72
72
  };
73
+ "/stores/{storeId}/admin": {
74
+ /**
75
+ * Navigate to merchant admin
76
+ * @description Navigate to the merchant admin page.
77
+ */
78
+ get: operations["Merchant admin navigate"];
79
+ };
80
+ "/stores/{storeId}/coverage-info": {
81
+ /**
82
+ * Navigate to coverage info
83
+ * @description Navigate to the coverage info page.
84
+ */
85
+ get: operations["Coverage info navigate"];
86
+ };
73
87
  "/stores/{storeId}/coverage-products": {
74
88
  /**
75
89
  * Get coverage products
@@ -77,6 +91,13 @@ export interface paths {
77
91
  */
78
92
  post: operations["Coverage products"];
79
93
  };
94
+ "/stores/{storeId}/customer-portal": {
95
+ /**
96
+ * Navigate to customer portal
97
+ * @description Navigate to the customer portal.
98
+ */
99
+ get: operations["Customer portal navigate"];
100
+ };
80
101
  "/stores/{storeId}/invoices": {
81
102
  /**
82
103
  * Get invoice
@@ -1051,6 +1072,40 @@ export interface operations {
1051
1072
  };
1052
1073
  };
1053
1074
  };
1075
+ /**
1076
+ * Navigate to merchant admin
1077
+ * @description Navigate to the merchant admin page.
1078
+ */
1079
+ "Merchant admin navigate": {
1080
+ parameters: {
1081
+ path: {
1082
+ storeId: components["parameters"]["store-id.param"];
1083
+ };
1084
+ };
1085
+ responses: {
1086
+ /** @description Redirect */
1087
+ 302: {
1088
+ content: never;
1089
+ };
1090
+ };
1091
+ };
1092
+ /**
1093
+ * Navigate to coverage info
1094
+ * @description Navigate to the coverage info page.
1095
+ */
1096
+ "Coverage info navigate": {
1097
+ parameters: {
1098
+ path: {
1099
+ storeId: components["parameters"]["store-id.param"];
1100
+ };
1101
+ };
1102
+ responses: {
1103
+ /** @description Redirect */
1104
+ 302: {
1105
+ content: never;
1106
+ };
1107
+ };
1108
+ };
1054
1109
  /**
1055
1110
  * Get coverage products
1056
1111
  * @description Get available coverage products.
@@ -1084,6 +1139,29 @@ export interface operations {
1084
1139
  };
1085
1140
  };
1086
1141
  };
1142
+ /**
1143
+ * Navigate to customer portal
1144
+ * @description Navigate to the customer portal.
1145
+ */
1146
+ "Customer portal navigate": {
1147
+ parameters: {
1148
+ query?: {
1149
+ /** @description HMAC-SHA256 JWT of {"iss":"<partnerId>","sub":"<storeId>/<customerId>"} */
1150
+ token?: string;
1151
+ /** @description Order ID */
1152
+ order_id?: string;
1153
+ };
1154
+ path: {
1155
+ storeId: components["parameters"]["store-id.param"];
1156
+ };
1157
+ };
1158
+ responses: {
1159
+ /** @description Redirect */
1160
+ 302: {
1161
+ content: never;
1162
+ };
1163
+ };
1164
+ };
1087
1165
  /**
1088
1166
  * Get invoice
1089
1167
  * @description Get a list of invoices.
package/lib/openapi.yaml CHANGED
@@ -1125,6 +1125,34 @@ paths:
1125
1125
  tags:
1126
1126
  - Returns
1127
1127
  summary: Return status
1128
+ /stores/{storeId}/admin:
1129
+ description: Navigate to the merchant admin page.
1130
+ get:
1131
+ description: Navigate to the merchant admin page.
1132
+ operationId: Merchant admin navigate
1133
+ parameters:
1134
+ - $ref: '#/components/parameters/store-id.param'
1135
+ responses:
1136
+ '302':
1137
+ description: Redirect
1138
+ summary: Navigate to merchant admin
1139
+ tags:
1140
+ - Merchant admin
1141
+ summary: Merchant admin
1142
+ /stores/{storeId}/coverage-info:
1143
+ description: Navigate to the coverage info page.
1144
+ get:
1145
+ description: Navigate to the coverage info page.
1146
+ operationId: Coverage info navigate
1147
+ parameters:
1148
+ - $ref: '#/components/parameters/store-id.param'
1149
+ responses:
1150
+ '302':
1151
+ description: Redirect
1152
+ summary: Navigate to coverage info
1153
+ tags:
1154
+ - Coverage info
1155
+ summary: Coverage info
1128
1156
  /stores/{storeId}/coverage-products:
1129
1157
  description: Available coverage products.
1130
1158
  post:
@@ -1171,6 +1199,30 @@ paths:
1171
1199
  tags:
1172
1200
  - Coverage Products
1173
1201
  summary: Coverage products
1202
+ /stores/{storeId}/customer-portal:
1203
+ description: Navigate to the customer portal.
1204
+ get:
1205
+ description: Navigate to the customer portal.
1206
+ operationId: Customer portal navigate
1207
+ parameters:
1208
+ - $ref: '#/components/parameters/store-id.param'
1209
+ - description: HMAC-SHA256 JWT of {"iss":"<partnerId>","sub":"<storeId>/<customerId>"}
1210
+ in: query
1211
+ name: token
1212
+ schema:
1213
+ type: string
1214
+ - description: Order ID
1215
+ in: query
1216
+ name: order_id
1217
+ schema:
1218
+ type: string
1219
+ responses:
1220
+ '302':
1221
+ description: Redirect
1222
+ summary: Navigate to customer portal
1223
+ tags:
1224
+ - Customer portal
1225
+ summary: Customer portal
1174
1226
  /stores/{storeId}/invoices:
1175
1227
  description: Return a list of invoices.
1176
1228
  get:
package/package.json CHANGED
@@ -31,5 +31,5 @@
31
31
  ]
32
32
  }
33
33
  },
34
- "version": "2.2.80"
34
+ "version": "2.2.83"
35
35
  }