@compassdigital/sdk.typescript 4.72.0 → 4.73.0
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/base.d.ts +3 -3
- package/lib/base.d.ts.map +1 -1
- package/lib/base.js +27 -31
- package/lib/base.js.map +1 -1
- package/lib/index.d.ts +35 -5
- package/lib/index.d.ts.map +1 -1
- package/lib/index.js +507 -482
- package/lib/index.js.map +1 -1
- package/lib/interface/config.d.ts +1 -0
- package/lib/interface/config.d.ts.map +1 -1
- package/lib/interface/consumer.d.ts +1 -1
- package/lib/interface/consumer.d.ts.map +1 -1
- package/lib/interface/mealplan.d.ts +1 -0
- package/lib/interface/mealplan.d.ts.map +1 -1
- package/lib/interface/menu.d.ts +35 -14
- package/lib/interface/menu.d.ts.map +1 -1
- package/lib/interface/shoppingcart.d.ts +8 -2
- package/lib/interface/shoppingcart.d.ts.map +1 -1
- package/lib/interface/util.d.ts.map +1 -1
- package/manifest.json +2 -2
- package/package.json +2 -2
- package/src/base.ts +455 -448
- package/src/index.ts +596 -631
- package/src/interface/config.ts +1 -0
- package/src/interface/consumer.ts +52 -52
- package/src/interface/mealplan.ts +1 -0
- package/src/interface/menu.ts +51 -15
- package/src/interface/shoppingcart.ts +17 -2
- package/src/interface/util.ts +3 -3
- package/test/client.test.ts +1 -1
package/src/index.ts
CHANGED
|
@@ -173,6 +173,7 @@ import {
|
|
|
173
173
|
} from './interface/location';
|
|
174
174
|
|
|
175
175
|
import {
|
|
176
|
+
PostShoppingcartCartQuery,
|
|
176
177
|
PostShoppingcartCartBody,
|
|
177
178
|
PostShoppingcartCartResponse,
|
|
178
179
|
PutShoppingcartCartItemsBody,
|
|
@@ -195,6 +196,7 @@ import {
|
|
|
195
196
|
PostShoppingcartCloneCartQuery,
|
|
196
197
|
PostShoppingcartCloneCartBody,
|
|
197
198
|
PostShoppingcartCloneCartResponse,
|
|
199
|
+
PutShoppingcartCheckoutQuery,
|
|
198
200
|
PutShoppingcartCheckoutResponse,
|
|
199
201
|
PostShoppingcartBulkBody,
|
|
200
202
|
PostShoppingcartBulkResponse,
|
|
@@ -536,6 +538,8 @@ import {
|
|
|
536
538
|
PostMenuV3LocalMenuGroupRecoverResponse,
|
|
537
539
|
GetMenuV3DraftLocalMenuGroupBrandsQuery,
|
|
538
540
|
GetMenuV3DraftLocalMenuGroupBrandsResponse,
|
|
541
|
+
GetMenuV3DraftLocalMenuGroupItemsQuery,
|
|
542
|
+
GetMenuV3DraftLocalMenuGroupItemsResponse,
|
|
539
543
|
GetMenuV3LocalMenuGroupBrandsQuery,
|
|
540
544
|
GetMenuV3LocalMenuGroupBrandsResponse,
|
|
541
545
|
GetMenuV3LocalMenuGroupAllowedGlobalBrandsQuery,
|
|
@@ -957,6 +961,13 @@ import {
|
|
|
957
961
|
PostFrictionlessAmazonJwoConnectorV1OrderPurchasesResponse,
|
|
958
962
|
} from './interface/frictionless';
|
|
959
963
|
|
|
964
|
+
import {
|
|
965
|
+
HealthCheckControllerExecuteQuery,
|
|
966
|
+
HealthCheckControllerExecuteResponse,
|
|
967
|
+
GetPaymentListByBrandQuery,
|
|
968
|
+
GetPaymentListByBrandResponse,
|
|
969
|
+
} from './interface/consumer';
|
|
970
|
+
|
|
960
971
|
import {
|
|
961
972
|
PostAiLanguageGenerateBody,
|
|
962
973
|
PostAiLanguageGenerateResponse,
|
|
@@ -1034,7 +1045,7 @@ export class ServiceClient extends BaseServiceClient {
|
|
|
1034
1045
|
): ResponsePromise<PostPaymentTransactionResponse> {
|
|
1035
1046
|
return this.request(
|
|
1036
1047
|
'payment',
|
|
1037
|
-
'
|
|
1048
|
+
'/payment/{id}/transaction',
|
|
1038
1049
|
'post',
|
|
1039
1050
|
`/payment/${id}/transaction`,
|
|
1040
1051
|
body,
|
|
@@ -1058,7 +1069,7 @@ export class ServiceClient extends BaseServiceClient {
|
|
|
1058
1069
|
): ResponsePromise<PostPaymentTransactionRefundResponse> {
|
|
1059
1070
|
return this.request(
|
|
1060
1071
|
'payment',
|
|
1061
|
-
'
|
|
1072
|
+
'/payment/{id}/transaction/{transaction_id}/refund',
|
|
1062
1073
|
'post',
|
|
1063
1074
|
`/payment/${id}/transaction/${transaction_id}/refund`,
|
|
1064
1075
|
body,
|
|
@@ -1080,7 +1091,7 @@ export class ServiceClient extends BaseServiceClient {
|
|
|
1080
1091
|
): ResponsePromise<GetPaymentClienttokenResponse> {
|
|
1081
1092
|
return this.request(
|
|
1082
1093
|
'payment',
|
|
1083
|
-
'
|
|
1094
|
+
'/payment/{id}/clienttoken',
|
|
1084
1095
|
'get',
|
|
1085
1096
|
`/payment/${id}/clienttoken`,
|
|
1086
1097
|
null,
|
|
@@ -1102,7 +1113,7 @@ export class ServiceClient extends BaseServiceClient {
|
|
|
1102
1113
|
): ResponsePromise<PostPaymentPaymenttokenResponse> {
|
|
1103
1114
|
return this.request(
|
|
1104
1115
|
'payment',
|
|
1105
|
-
'
|
|
1116
|
+
'/payment/{id}/paymenttoken',
|
|
1106
1117
|
'post',
|
|
1107
1118
|
`/payment/${id}/paymenttoken`,
|
|
1108
1119
|
body,
|
|
@@ -1120,14 +1131,7 @@ export class ServiceClient extends BaseServiceClient {
|
|
|
1120
1131
|
body: PostPaymentConsumerBody,
|
|
1121
1132
|
options?: RequestOptions,
|
|
1122
1133
|
): ResponsePromise<PostPaymentConsumerResponse> {
|
|
1123
|
-
return this.request(
|
|
1124
|
-
'payment',
|
|
1125
|
-
'post_payment_consumer',
|
|
1126
|
-
'post',
|
|
1127
|
-
`/payment/consumer`,
|
|
1128
|
-
body,
|
|
1129
|
-
options,
|
|
1130
|
-
);
|
|
1134
|
+
return this.request('payment', '/payment/consumer', 'post', `/payment/consumer`, body, options);
|
|
1131
1135
|
}
|
|
1132
1136
|
|
|
1133
1137
|
/**
|
|
@@ -1140,7 +1144,7 @@ export class ServiceClient extends BaseServiceClient {
|
|
|
1140
1144
|
body: PostPaymentMethodBody,
|
|
1141
1145
|
options?: RequestOptions,
|
|
1142
1146
|
): ResponsePromise<PostPaymentMethodResponse> {
|
|
1143
|
-
return this.request('payment', '
|
|
1147
|
+
return this.request('payment', '/payment/method', 'post', `/payment/method`, body, options);
|
|
1144
1148
|
}
|
|
1145
1149
|
|
|
1146
1150
|
/**
|
|
@@ -1153,7 +1157,7 @@ export class ServiceClient extends BaseServiceClient {
|
|
|
1153
1157
|
query: GetPaymentTokenQuery;
|
|
1154
1158
|
} & RequestOptions,
|
|
1155
1159
|
): ResponsePromise<GetPaymentTokenResponse> {
|
|
1156
|
-
return this.request('payment', '
|
|
1160
|
+
return this.request('payment', '/payment/token', 'get', `/payment/token`, null, options);
|
|
1157
1161
|
}
|
|
1158
1162
|
|
|
1159
1163
|
/**
|
|
@@ -1166,7 +1170,7 @@ export class ServiceClient extends BaseServiceClient {
|
|
|
1166
1170
|
body: PostPaymentTokenBody,
|
|
1167
1171
|
options?: RequestOptions,
|
|
1168
1172
|
): ResponsePromise<PostPaymentTokenResponse> {
|
|
1169
|
-
return this.request('payment', '
|
|
1173
|
+
return this.request('payment', '/payment/token', 'post', `/payment/token`, body, options);
|
|
1170
1174
|
}
|
|
1171
1175
|
|
|
1172
1176
|
/**
|
|
@@ -1179,7 +1183,7 @@ export class ServiceClient extends BaseServiceClient {
|
|
|
1179
1183
|
body: PutPaymentTokenBody,
|
|
1180
1184
|
options?: RequestOptions,
|
|
1181
1185
|
): ResponsePromise<PutPaymentTokenResponse> {
|
|
1182
|
-
return this.request('payment', '
|
|
1186
|
+
return this.request('payment', '/payment/token', 'put', `/payment/token`, body, options);
|
|
1183
1187
|
}
|
|
1184
1188
|
|
|
1185
1189
|
/**
|
|
@@ -1192,14 +1196,7 @@ export class ServiceClient extends BaseServiceClient {
|
|
|
1192
1196
|
body: DeletePaymentTokenBody,
|
|
1193
1197
|
options?: RequestOptions,
|
|
1194
1198
|
): ResponsePromise<DeletePaymentTokenResponse> {
|
|
1195
|
-
return this.request(
|
|
1196
|
-
'payment',
|
|
1197
|
-
'delete_payment_token',
|
|
1198
|
-
'delete',
|
|
1199
|
-
`/payment/token`,
|
|
1200
|
-
body,
|
|
1201
|
-
options,
|
|
1202
|
-
);
|
|
1199
|
+
return this.request('payment', '/payment/token', 'delete', `/payment/token`, body, options);
|
|
1203
1200
|
}
|
|
1204
1201
|
|
|
1205
1202
|
/**
|
|
@@ -1212,7 +1209,7 @@ export class ServiceClient extends BaseServiceClient {
|
|
|
1212
1209
|
query: GetPaymentMethodsQuery;
|
|
1213
1210
|
} & RequestOptions,
|
|
1214
1211
|
): ResponsePromise<GetPaymentMethodsResponse> {
|
|
1215
|
-
return this.request('payment', '
|
|
1212
|
+
return this.request('payment', '/payment/methods', 'get', `/payment/methods`, null, options);
|
|
1216
1213
|
}
|
|
1217
1214
|
|
|
1218
1215
|
/**
|
|
@@ -1225,7 +1222,7 @@ export class ServiceClient extends BaseServiceClient {
|
|
|
1225
1222
|
query: GetPaymentHpcQuery;
|
|
1226
1223
|
} & RequestOptions,
|
|
1227
1224
|
): ResponsePromise<GetPaymentHpcResponse> {
|
|
1228
|
-
return this.request('payment', '
|
|
1225
|
+
return this.request('payment', '/payment/hpc', 'get', `/payment/hpc`, null, options);
|
|
1229
1226
|
}
|
|
1230
1227
|
|
|
1231
1228
|
/**
|
|
@@ -1242,7 +1239,7 @@ export class ServiceClient extends BaseServiceClient {
|
|
|
1242
1239
|
): ResponsePromise<GetPaymentCashlessResponse> {
|
|
1243
1240
|
return this.request(
|
|
1244
1241
|
'payment',
|
|
1245
|
-
'
|
|
1242
|
+
'/payment/{id}/cashless',
|
|
1246
1243
|
'get',
|
|
1247
1244
|
`/payment/${id}/cashless`,
|
|
1248
1245
|
null,
|
|
@@ -1264,7 +1261,7 @@ export class ServiceClient extends BaseServiceClient {
|
|
|
1264
1261
|
): ResponsePromise<PostPaymentCashlessResponse> {
|
|
1265
1262
|
return this.request(
|
|
1266
1263
|
'payment',
|
|
1267
|
-
'
|
|
1264
|
+
'/payment/{id}/cashless',
|
|
1268
1265
|
'post',
|
|
1269
1266
|
`/payment/${id}/cashless`,
|
|
1270
1267
|
body,
|
|
@@ -1286,7 +1283,7 @@ export class ServiceClient extends BaseServiceClient {
|
|
|
1286
1283
|
): ResponsePromise<DeletePaymentCashlessResponse> {
|
|
1287
1284
|
return this.request(
|
|
1288
1285
|
'payment',
|
|
1289
|
-
'
|
|
1286
|
+
'/payment/{id}/cashless',
|
|
1290
1287
|
'delete',
|
|
1291
1288
|
`/payment/${id}/cashless`,
|
|
1292
1289
|
body,
|
|
@@ -1306,7 +1303,7 @@ export class ServiceClient extends BaseServiceClient {
|
|
|
1306
1303
|
): ResponsePromise<PostPaymentConfigvalidateResponse> {
|
|
1307
1304
|
return this.request(
|
|
1308
1305
|
'payment',
|
|
1309
|
-
'
|
|
1306
|
+
'/payment/configvalidate',
|
|
1310
1307
|
'post',
|
|
1311
1308
|
`/payment/configvalidate`,
|
|
1312
1309
|
body,
|
|
@@ -1326,7 +1323,7 @@ export class ServiceClient extends BaseServiceClient {
|
|
|
1326
1323
|
): ResponsePromise<PostPaymentValidatemerchantResponse> {
|
|
1327
1324
|
return this.request(
|
|
1328
1325
|
'payment',
|
|
1329
|
-
'
|
|
1326
|
+
'/payment/validatemerchant',
|
|
1330
1327
|
'post',
|
|
1331
1328
|
`/payment/validatemerchant`,
|
|
1332
1329
|
body,
|
|
@@ -1346,7 +1343,7 @@ export class ServiceClient extends BaseServiceClient {
|
|
|
1346
1343
|
query?: PostOrderQuery;
|
|
1347
1344
|
} & RequestOptions,
|
|
1348
1345
|
): ResponsePromise<PostOrderResponse> {
|
|
1349
|
-
return this.request('order', '
|
|
1346
|
+
return this.request('order', '/order', 'post', `/order`, body, options);
|
|
1350
1347
|
}
|
|
1351
1348
|
|
|
1352
1349
|
/**
|
|
@@ -1361,7 +1358,7 @@ export class ServiceClient extends BaseServiceClient {
|
|
|
1361
1358
|
query?: GetOrderQuery;
|
|
1362
1359
|
} & RequestOptions,
|
|
1363
1360
|
): ResponsePromise<GetOrderResponse> {
|
|
1364
|
-
return this.request('order', '
|
|
1361
|
+
return this.request('order', '/order/{id}', 'get', `/order/${id}`, null, options);
|
|
1365
1362
|
}
|
|
1366
1363
|
|
|
1367
1364
|
/**
|
|
@@ -1371,7 +1368,7 @@ export class ServiceClient extends BaseServiceClient {
|
|
|
1371
1368
|
* @param options - additional request options
|
|
1372
1369
|
*/
|
|
1373
1370
|
put_order(id: string, options?: RequestOptions): ResponsePromise<PutOrderResponse> {
|
|
1374
|
-
return this.request('order', '
|
|
1371
|
+
return this.request('order', '/order/{id}', 'put', `/order/${id}`, null, options);
|
|
1375
1372
|
}
|
|
1376
1373
|
|
|
1377
1374
|
/**
|
|
@@ -1386,7 +1383,7 @@ export class ServiceClient extends BaseServiceClient {
|
|
|
1386
1383
|
body: PatchOrderBody,
|
|
1387
1384
|
options?: RequestOptions,
|
|
1388
1385
|
): ResponsePromise<PatchOrderResponse> {
|
|
1389
|
-
return this.request('order', '
|
|
1386
|
+
return this.request('order', '/order/{id}', 'patch', `/order/${id}`, body, options);
|
|
1390
1387
|
}
|
|
1391
1388
|
|
|
1392
1389
|
/**
|
|
@@ -1401,7 +1398,7 @@ export class ServiceClient extends BaseServiceClient {
|
|
|
1401
1398
|
body: PostOrderIssueBody,
|
|
1402
1399
|
options?: RequestOptions,
|
|
1403
1400
|
): ResponsePromise<PostOrderIssueResponse> {
|
|
1404
|
-
return this.request('order', '
|
|
1401
|
+
return this.request('order', '/order/{id}/issue', 'post', `/order/${id}/issue`, body, options);
|
|
1405
1402
|
}
|
|
1406
1403
|
|
|
1407
1404
|
/**
|
|
@@ -1418,7 +1415,7 @@ export class ServiceClient extends BaseServiceClient {
|
|
|
1418
1415
|
): ResponsePromise<PatchOrderRefundResponse> {
|
|
1419
1416
|
return this.request(
|
|
1420
1417
|
'order',
|
|
1421
|
-
'
|
|
1418
|
+
'/order/{id}/refund',
|
|
1422
1419
|
'patch',
|
|
1423
1420
|
`/order/${id}/refund`,
|
|
1424
1421
|
body,
|
|
@@ -1440,7 +1437,7 @@ export class ServiceClient extends BaseServiceClient {
|
|
|
1440
1437
|
): ResponsePromise<GetOrderCustomerOrdersResponse> {
|
|
1441
1438
|
return this.request(
|
|
1442
1439
|
'order',
|
|
1443
|
-
'
|
|
1440
|
+
'/order/customer/{id}',
|
|
1444
1441
|
'get',
|
|
1445
1442
|
`/order/customer/${id}`,
|
|
1446
1443
|
null,
|
|
@@ -1464,7 +1461,7 @@ export class ServiceClient extends BaseServiceClient {
|
|
|
1464
1461
|
): ResponsePromise<GetOrderCustomerOrdersBrandResponse> {
|
|
1465
1462
|
return this.request(
|
|
1466
1463
|
'order',
|
|
1467
|
-
'
|
|
1464
|
+
'/order/customer/{id}/location/brand/{location_brand}',
|
|
1468
1465
|
'get',
|
|
1469
1466
|
`/order/customer/${id}/location/brand/${location_brand}`,
|
|
1470
1467
|
null,
|
|
@@ -1486,7 +1483,7 @@ export class ServiceClient extends BaseServiceClient {
|
|
|
1486
1483
|
): ResponsePromise<GetOrderLocationBrandResponse> {
|
|
1487
1484
|
return this.request(
|
|
1488
1485
|
'order',
|
|
1489
|
-
'
|
|
1486
|
+
'/order/location/brand/{id}',
|
|
1490
1487
|
'get',
|
|
1491
1488
|
`/order/location/brand/${id}`,
|
|
1492
1489
|
null,
|
|
@@ -1508,7 +1505,7 @@ export class ServiceClient extends BaseServiceClient {
|
|
|
1508
1505
|
): ResponsePromise<GetOrderLocationOrdersResponse> {
|
|
1509
1506
|
return this.request(
|
|
1510
1507
|
'order',
|
|
1511
|
-
'
|
|
1508
|
+
'/order/location/{id}',
|
|
1512
1509
|
'get',
|
|
1513
1510
|
`/order/location/${id}`,
|
|
1514
1511
|
null,
|
|
@@ -1530,7 +1527,7 @@ export class ServiceClient extends BaseServiceClient {
|
|
|
1530
1527
|
): ResponsePromise<GetOrderGroupOrdersResponse> {
|
|
1531
1528
|
return this.request(
|
|
1532
1529
|
'order',
|
|
1533
|
-
'
|
|
1530
|
+
'/order/location/group/{id}',
|
|
1534
1531
|
'get',
|
|
1535
1532
|
`/order/location/group/${id}`,
|
|
1536
1533
|
null,
|
|
@@ -1550,14 +1547,7 @@ export class ServiceClient extends BaseServiceClient {
|
|
|
1550
1547
|
query?: GetOrderUserOrdersQuery;
|
|
1551
1548
|
} & RequestOptions,
|
|
1552
1549
|
): ResponsePromise<GetOrderUserOrdersResponse> {
|
|
1553
|
-
return this.request(
|
|
1554
|
-
'order',
|
|
1555
|
-
'get_order_user_orders',
|
|
1556
|
-
'get',
|
|
1557
|
-
`/order/user/${id}`,
|
|
1558
|
-
null,
|
|
1559
|
-
options,
|
|
1560
|
-
);
|
|
1550
|
+
return this.request('order', '/order/user/{id}', 'get', `/order/user/${id}`, null, options);
|
|
1561
1551
|
}
|
|
1562
1552
|
|
|
1563
1553
|
/**
|
|
@@ -1572,7 +1562,7 @@ export class ServiceClient extends BaseServiceClient {
|
|
|
1572
1562
|
): ResponsePromise<PatchOrderCheckinResponse> {
|
|
1573
1563
|
return this.request(
|
|
1574
1564
|
'order',
|
|
1575
|
-
'
|
|
1565
|
+
'/order/{id}/checkin',
|
|
1576
1566
|
'patch',
|
|
1577
1567
|
`/order/${id}/checkin`,
|
|
1578
1568
|
null,
|
|
@@ -1590,7 +1580,7 @@ export class ServiceClient extends BaseServiceClient {
|
|
|
1590
1580
|
body: PostOrderApexSnsBody,
|
|
1591
1581
|
options?: RequestOptions,
|
|
1592
1582
|
): ResponsePromise<PostOrderApexSnsResponse> {
|
|
1593
|
-
return this.request('order', '
|
|
1583
|
+
return this.request('order', '/order/apex/sns', 'post', `/order/apex/sns`, body, options);
|
|
1594
1584
|
}
|
|
1595
1585
|
|
|
1596
1586
|
/**
|
|
@@ -1603,7 +1593,7 @@ export class ServiceClient extends BaseServiceClient {
|
|
|
1603
1593
|
body: PostLocationBody,
|
|
1604
1594
|
options?: RequestOptions,
|
|
1605
1595
|
): ResponsePromise<PostLocationResponse> {
|
|
1606
|
-
return this.request('location', '
|
|
1596
|
+
return this.request('location', '/location', 'post', `/location`, body, options);
|
|
1607
1597
|
}
|
|
1608
1598
|
|
|
1609
1599
|
/**
|
|
@@ -1616,7 +1606,7 @@ export class ServiceClient extends BaseServiceClient {
|
|
|
1616
1606
|
query?: GetLocationsQuery;
|
|
1617
1607
|
} & RequestOptions,
|
|
1618
1608
|
): ResponsePromise<GetLocationsResponse> {
|
|
1619
|
-
return this.request('location', '
|
|
1609
|
+
return this.request('location', '/location', 'get', `/location`, null, options);
|
|
1620
1610
|
}
|
|
1621
1611
|
|
|
1622
1612
|
/**
|
|
@@ -1629,14 +1619,7 @@ export class ServiceClient extends BaseServiceClient {
|
|
|
1629
1619
|
query?: GetLocationSearchQuery;
|
|
1630
1620
|
} & RequestOptions,
|
|
1631
1621
|
): ResponsePromise<GetLocationSearchResponse> {
|
|
1632
|
-
return this.request(
|
|
1633
|
-
'location',
|
|
1634
|
-
'get_location_search',
|
|
1635
|
-
'get',
|
|
1636
|
-
`/location/search`,
|
|
1637
|
-
null,
|
|
1638
|
-
options,
|
|
1639
|
-
);
|
|
1622
|
+
return this.request('location', '/location/search', 'get', `/location/search`, null, options);
|
|
1640
1623
|
}
|
|
1641
1624
|
|
|
1642
1625
|
/**
|
|
@@ -1651,7 +1634,7 @@ export class ServiceClient extends BaseServiceClient {
|
|
|
1651
1634
|
query?: GetLocationQuery;
|
|
1652
1635
|
} & RequestOptions,
|
|
1653
1636
|
): ResponsePromise<GetLocationResponse> {
|
|
1654
|
-
return this.request('location', '
|
|
1637
|
+
return this.request('location', '/location/{id}', 'get', `/location/${id}`, null, options);
|
|
1655
1638
|
}
|
|
1656
1639
|
|
|
1657
1640
|
/**
|
|
@@ -1666,7 +1649,7 @@ export class ServiceClient extends BaseServiceClient {
|
|
|
1666
1649
|
body: PutLocationBody,
|
|
1667
1650
|
options?: RequestOptions,
|
|
1668
1651
|
): ResponsePromise<PutLocationResponse> {
|
|
1669
|
-
return this.request('location', '
|
|
1652
|
+
return this.request('location', '/location/{id}', 'put', `/location/${id}`, body, options);
|
|
1670
1653
|
}
|
|
1671
1654
|
|
|
1672
1655
|
/**
|
|
@@ -1681,7 +1664,7 @@ export class ServiceClient extends BaseServiceClient {
|
|
|
1681
1664
|
body: DeleteLocationBody,
|
|
1682
1665
|
options?: RequestOptions,
|
|
1683
1666
|
): ResponsePromise<DeleteLocationResponse> {
|
|
1684
|
-
return this.request('location', '
|
|
1667
|
+
return this.request('location', '/location/{id}', 'delete', `/location/${id}`, body, options);
|
|
1685
1668
|
}
|
|
1686
1669
|
|
|
1687
1670
|
/**
|
|
@@ -1696,7 +1679,7 @@ export class ServiceClient extends BaseServiceClient {
|
|
|
1696
1679
|
body: PatchLocationBody,
|
|
1697
1680
|
options?: RequestOptions,
|
|
1698
1681
|
): ResponsePromise<PatchLocationResponse> {
|
|
1699
|
-
return this.request('location', '
|
|
1682
|
+
return this.request('location', '/location/{id}', 'patch', `/location/${id}`, body, options);
|
|
1700
1683
|
}
|
|
1701
1684
|
|
|
1702
1685
|
/**
|
|
@@ -1711,7 +1694,7 @@ export class ServiceClient extends BaseServiceClient {
|
|
|
1711
1694
|
): ResponsePromise<GetLocationMultigroupsResponse> {
|
|
1712
1695
|
return this.request(
|
|
1713
1696
|
'location',
|
|
1714
|
-
'
|
|
1697
|
+
'/location/multigroup',
|
|
1715
1698
|
'get',
|
|
1716
1699
|
`/location/multigroup`,
|
|
1717
1700
|
null,
|
|
@@ -1731,7 +1714,7 @@ export class ServiceClient extends BaseServiceClient {
|
|
|
1731
1714
|
): ResponsePromise<PostLocationMultigroupResponse> {
|
|
1732
1715
|
return this.request(
|
|
1733
1716
|
'location',
|
|
1734
|
-
'
|
|
1717
|
+
'/location/multigroup',
|
|
1735
1718
|
'post',
|
|
1736
1719
|
`/location/multigroup`,
|
|
1737
1720
|
body,
|
|
@@ -1753,7 +1736,7 @@ export class ServiceClient extends BaseServiceClient {
|
|
|
1753
1736
|
): ResponsePromise<GetLocationMultigroupResponse> {
|
|
1754
1737
|
return this.request(
|
|
1755
1738
|
'location',
|
|
1756
|
-
'
|
|
1739
|
+
'/location/multigroup/{id}',
|
|
1757
1740
|
'get',
|
|
1758
1741
|
`/location/multigroup/${id}`,
|
|
1759
1742
|
null,
|
|
@@ -1775,7 +1758,7 @@ export class ServiceClient extends BaseServiceClient {
|
|
|
1775
1758
|
): ResponsePromise<PutLocationMultigroupResponse> {
|
|
1776
1759
|
return this.request(
|
|
1777
1760
|
'location',
|
|
1778
|
-
'
|
|
1761
|
+
'/location/multigroup/{id}',
|
|
1779
1762
|
'put',
|
|
1780
1763
|
`/location/multigroup/${id}`,
|
|
1781
1764
|
body,
|
|
@@ -1797,7 +1780,7 @@ export class ServiceClient extends BaseServiceClient {
|
|
|
1797
1780
|
): ResponsePromise<DeleteLocationMultigroupResponse> {
|
|
1798
1781
|
return this.request(
|
|
1799
1782
|
'location',
|
|
1800
|
-
'
|
|
1783
|
+
'/location/multigroup/{id}',
|
|
1801
1784
|
'delete',
|
|
1802
1785
|
`/location/multigroup/${id}`,
|
|
1803
1786
|
body,
|
|
@@ -1819,7 +1802,7 @@ export class ServiceClient extends BaseServiceClient {
|
|
|
1819
1802
|
): ResponsePromise<PatchLocationMultigroupResponse> {
|
|
1820
1803
|
return this.request(
|
|
1821
1804
|
'location',
|
|
1822
|
-
'
|
|
1805
|
+
'/location/multigroup/{id}',
|
|
1823
1806
|
'patch',
|
|
1824
1807
|
`/location/multigroup/${id}`,
|
|
1825
1808
|
body,
|
|
@@ -1843,7 +1826,7 @@ export class ServiceClient extends BaseServiceClient {
|
|
|
1843
1826
|
): ResponsePromise<GetLocationUserMultigroupResponse> {
|
|
1844
1827
|
return this.request(
|
|
1845
1828
|
'location',
|
|
1846
|
-
'
|
|
1829
|
+
'/location/multigroup/{id}/user/{user_id}',
|
|
1847
1830
|
'get',
|
|
1848
1831
|
`/location/multigroup/${id}/user/${user_id}`,
|
|
1849
1832
|
null,
|
|
@@ -1861,14 +1844,7 @@ export class ServiceClient extends BaseServiceClient {
|
|
|
1861
1844
|
body: PostLocationGroupBody,
|
|
1862
1845
|
options?: RequestOptions,
|
|
1863
1846
|
): ResponsePromise<PostLocationGroupResponse> {
|
|
1864
|
-
return this.request(
|
|
1865
|
-
'location',
|
|
1866
|
-
'post_location_group',
|
|
1867
|
-
'post',
|
|
1868
|
-
`/location/group`,
|
|
1869
|
-
body,
|
|
1870
|
-
options,
|
|
1871
|
-
);
|
|
1847
|
+
return this.request('location', '/location/group', 'post', `/location/group`, body, options);
|
|
1872
1848
|
}
|
|
1873
1849
|
|
|
1874
1850
|
/**
|
|
@@ -1885,7 +1861,7 @@ export class ServiceClient extends BaseServiceClient {
|
|
|
1885
1861
|
): ResponsePromise<GetLocationGroupResponse> {
|
|
1886
1862
|
return this.request(
|
|
1887
1863
|
'location',
|
|
1888
|
-
'
|
|
1864
|
+
'/location/group/{id}',
|
|
1889
1865
|
'get',
|
|
1890
1866
|
`/location/group/${id}`,
|
|
1891
1867
|
null,
|
|
@@ -1907,7 +1883,7 @@ export class ServiceClient extends BaseServiceClient {
|
|
|
1907
1883
|
): ResponsePromise<PutLocationGroupResponse> {
|
|
1908
1884
|
return this.request(
|
|
1909
1885
|
'location',
|
|
1910
|
-
'
|
|
1886
|
+
'/location/group/{id}',
|
|
1911
1887
|
'put',
|
|
1912
1888
|
`/location/group/${id}`,
|
|
1913
1889
|
body,
|
|
@@ -1929,7 +1905,7 @@ export class ServiceClient extends BaseServiceClient {
|
|
|
1929
1905
|
): ResponsePromise<DeleteLocationGroupResponse> {
|
|
1930
1906
|
return this.request(
|
|
1931
1907
|
'location',
|
|
1932
|
-
'
|
|
1908
|
+
'/location/group/{id}',
|
|
1933
1909
|
'delete',
|
|
1934
1910
|
`/location/group/${id}`,
|
|
1935
1911
|
body,
|
|
@@ -1951,7 +1927,7 @@ export class ServiceClient extends BaseServiceClient {
|
|
|
1951
1927
|
): ResponsePromise<PatchLocationGroupResponse> {
|
|
1952
1928
|
return this.request(
|
|
1953
1929
|
'location',
|
|
1954
|
-
'
|
|
1930
|
+
'/location/group/{id}',
|
|
1955
1931
|
'patch',
|
|
1956
1932
|
`/location/group/${id}`,
|
|
1957
1933
|
body,
|
|
@@ -1973,7 +1949,7 @@ export class ServiceClient extends BaseServiceClient {
|
|
|
1973
1949
|
): ResponsePromise<GetLocationGroupWaittimesResponse> {
|
|
1974
1950
|
return this.request(
|
|
1975
1951
|
'location',
|
|
1976
|
-
'
|
|
1952
|
+
'/location/group/{id}/waittimes',
|
|
1977
1953
|
'get',
|
|
1978
1954
|
`/location/group/${id}/waittimes`,
|
|
1979
1955
|
null,
|
|
@@ -1995,7 +1971,7 @@ export class ServiceClient extends BaseServiceClient {
|
|
|
1995
1971
|
): ResponsePromise<GetLocationGroupDeliverydestinationsResponse> {
|
|
1996
1972
|
return this.request(
|
|
1997
1973
|
'location',
|
|
1998
|
-
'
|
|
1974
|
+
'/location/group/{id}/deliverydestination',
|
|
1999
1975
|
'get',
|
|
2000
1976
|
`/location/group/${id}/deliverydestination`,
|
|
2001
1977
|
null,
|
|
@@ -2017,7 +1993,7 @@ export class ServiceClient extends BaseServiceClient {
|
|
|
2017
1993
|
): ResponsePromise<PostLocationGroupDeliverydestinationResponse> {
|
|
2018
1994
|
return this.request(
|
|
2019
1995
|
'location',
|
|
2020
|
-
'
|
|
1996
|
+
'/location/group/{id}/deliverydestination',
|
|
2021
1997
|
'post',
|
|
2022
1998
|
`/location/group/${id}/deliverydestination`,
|
|
2023
1999
|
body,
|
|
@@ -2039,7 +2015,7 @@ export class ServiceClient extends BaseServiceClient {
|
|
|
2039
2015
|
): ResponsePromise<PatchLocationGroupDeliverydestinationResponse> {
|
|
2040
2016
|
return this.request(
|
|
2041
2017
|
'location',
|
|
2042
|
-
'
|
|
2018
|
+
'/location/group/{id}/deliverydestination',
|
|
2043
2019
|
'patch',
|
|
2044
2020
|
`/location/group/${id}/deliverydestination`,
|
|
2045
2021
|
body,
|
|
@@ -2061,7 +2037,7 @@ export class ServiceClient extends BaseServiceClient {
|
|
|
2061
2037
|
): ResponsePromise<DeleteLocationGroupDeliverydestinationResponse> {
|
|
2062
2038
|
return this.request(
|
|
2063
2039
|
'location',
|
|
2064
|
-
'
|
|
2040
|
+
'/location/group/{id}/deliverydestination',
|
|
2065
2041
|
'delete',
|
|
2066
2042
|
`/location/group/${id}/deliverydestination`,
|
|
2067
2043
|
body,
|
|
@@ -2085,7 +2061,7 @@ export class ServiceClient extends BaseServiceClient {
|
|
|
2085
2061
|
): ResponsePromise<GetLocationGroupDeliverydestinationResponse> {
|
|
2086
2062
|
return this.request(
|
|
2087
2063
|
'location',
|
|
2088
|
-
'
|
|
2064
|
+
'/location/group/{id}/deliverydestination/{delivery_destination}',
|
|
2089
2065
|
'get',
|
|
2090
2066
|
`/location/group/${id}/deliverydestination/${delivery_destination}`,
|
|
2091
2067
|
null,
|
|
@@ -2103,14 +2079,7 @@ export class ServiceClient extends BaseServiceClient {
|
|
|
2103
2079
|
query?: GetLocationBrandsQuery;
|
|
2104
2080
|
} & RequestOptions,
|
|
2105
2081
|
): ResponsePromise<GetLocationBrandsResponse> {
|
|
2106
|
-
return this.request(
|
|
2107
|
-
'location',
|
|
2108
|
-
'get_location_brands',
|
|
2109
|
-
'get',
|
|
2110
|
-
`/location/brands`,
|
|
2111
|
-
null,
|
|
2112
|
-
options,
|
|
2113
|
-
);
|
|
2082
|
+
return this.request('location', '/location/brands', 'get', `/location/brands`, null, options);
|
|
2114
2083
|
}
|
|
2115
2084
|
|
|
2116
2085
|
/**
|
|
@@ -2127,7 +2096,7 @@ export class ServiceClient extends BaseServiceClient {
|
|
|
2127
2096
|
): ResponsePromise<GetLocationBrandDestinationsResponse> {
|
|
2128
2097
|
return this.request(
|
|
2129
2098
|
'location',
|
|
2130
|
-
'
|
|
2099
|
+
'/location/brand/{id}/deliverydestinations',
|
|
2131
2100
|
'get',
|
|
2132
2101
|
`/location/brand/${id}/deliverydestinations`,
|
|
2133
2102
|
null,
|
|
@@ -2149,7 +2118,7 @@ export class ServiceClient extends BaseServiceClient {
|
|
|
2149
2118
|
): ResponsePromise<GetLocationBrandTimeslotsResponse> {
|
|
2150
2119
|
return this.request(
|
|
2151
2120
|
'location',
|
|
2152
|
-
'
|
|
2121
|
+
'/location/brand/{id}/timeslots',
|
|
2153
2122
|
'get',
|
|
2154
2123
|
`/location/brand/${id}/timeslots`,
|
|
2155
2124
|
null,
|
|
@@ -2171,7 +2140,7 @@ export class ServiceClient extends BaseServiceClient {
|
|
|
2171
2140
|
): ResponsePromise<PostLocationMarketplaceTimeslotsResponse> {
|
|
2172
2141
|
return this.request(
|
|
2173
2142
|
'location',
|
|
2174
|
-
'
|
|
2143
|
+
'/location/marketplace/timeslots',
|
|
2175
2144
|
'post',
|
|
2176
2145
|
`/location/marketplace/timeslots`,
|
|
2177
2146
|
body,
|
|
@@ -2193,7 +2162,7 @@ export class ServiceClient extends BaseServiceClient {
|
|
|
2193
2162
|
): ResponsePromise<PostLocationMarketplaceTimeslotsDeliveryResponse> {
|
|
2194
2163
|
return this.request(
|
|
2195
2164
|
'location',
|
|
2196
|
-
'
|
|
2165
|
+
'/location/marketplace/timeslots/delivery',
|
|
2197
2166
|
'post',
|
|
2198
2167
|
`/location/marketplace/timeslots/delivery`,
|
|
2199
2168
|
body,
|
|
@@ -2217,7 +2186,7 @@ export class ServiceClient extends BaseServiceClient {
|
|
|
2217
2186
|
): ResponsePromise<GetLocationBrandMenuTimeslotsResponse> {
|
|
2218
2187
|
return this.request(
|
|
2219
2188
|
'location',
|
|
2220
|
-
'
|
|
2189
|
+
'/location/brand/{id}/timeslots/menu/{menu}',
|
|
2221
2190
|
'get',
|
|
2222
2191
|
`/location/brand/${id}/timeslots/menu/${menu}`,
|
|
2223
2192
|
null,
|
|
@@ -2239,7 +2208,7 @@ export class ServiceClient extends BaseServiceClient {
|
|
|
2239
2208
|
): ResponsePromise<GetLocationBrandDeliveryTimeslotsResponse> {
|
|
2240
2209
|
return this.request(
|
|
2241
2210
|
'location',
|
|
2242
|
-
'
|
|
2211
|
+
'/location/brand/{id}/timeslots/delivery',
|
|
2243
2212
|
'get',
|
|
2244
2213
|
`/location/brand/${id}/timeslots/delivery`,
|
|
2245
2214
|
null,
|
|
@@ -2263,7 +2232,7 @@ export class ServiceClient extends BaseServiceClient {
|
|
|
2263
2232
|
): ResponsePromise<GetLocationBrandMenuDeliveryTimeslostsResponse> {
|
|
2264
2233
|
return this.request(
|
|
2265
2234
|
'location',
|
|
2266
|
-
'
|
|
2235
|
+
'/location/brand/{id}/timeslots/delivery/menu/{menu}',
|
|
2267
2236
|
'get',
|
|
2268
2237
|
`/location/brand/${id}/timeslots/delivery/menu/${menu}`,
|
|
2269
2238
|
null,
|
|
@@ -2281,14 +2250,7 @@ export class ServiceClient extends BaseServiceClient {
|
|
|
2281
2250
|
body: PostLocationBrandBody,
|
|
2282
2251
|
options?: RequestOptions,
|
|
2283
2252
|
): ResponsePromise<PostLocationBrandResponse> {
|
|
2284
|
-
return this.request(
|
|
2285
|
-
'location',
|
|
2286
|
-
'post_location_brand',
|
|
2287
|
-
'post',
|
|
2288
|
-
`/location/brand`,
|
|
2289
|
-
body,
|
|
2290
|
-
options,
|
|
2291
|
-
);
|
|
2253
|
+
return this.request('location', '/location/brand', 'post', `/location/brand`, body, options);
|
|
2292
2254
|
}
|
|
2293
2255
|
|
|
2294
2256
|
/**
|
|
@@ -2303,7 +2265,7 @@ export class ServiceClient extends BaseServiceClient {
|
|
|
2303
2265
|
): ResponsePromise<PatchLocationBrandBulkResponse> {
|
|
2304
2266
|
return this.request(
|
|
2305
2267
|
'location',
|
|
2306
|
-
'
|
|
2268
|
+
'/location/brand/bulk',
|
|
2307
2269
|
'patch',
|
|
2308
2270
|
`/location/brand/bulk`,
|
|
2309
2271
|
body,
|
|
@@ -2325,7 +2287,7 @@ export class ServiceClient extends BaseServiceClient {
|
|
|
2325
2287
|
): ResponsePromise<GetLocationBrandResponse> {
|
|
2326
2288
|
return this.request(
|
|
2327
2289
|
'location',
|
|
2328
|
-
'
|
|
2290
|
+
'/location/brand/{id}',
|
|
2329
2291
|
'get',
|
|
2330
2292
|
`/location/brand/${id}`,
|
|
2331
2293
|
null,
|
|
@@ -2347,7 +2309,7 @@ export class ServiceClient extends BaseServiceClient {
|
|
|
2347
2309
|
): ResponsePromise<PatchLocationBrandResponse> {
|
|
2348
2310
|
return this.request(
|
|
2349
2311
|
'location',
|
|
2350
|
-
'
|
|
2312
|
+
'/location/brand/{id}',
|
|
2351
2313
|
'patch',
|
|
2352
2314
|
`/location/brand/${id}`,
|
|
2353
2315
|
body,
|
|
@@ -2367,7 +2329,7 @@ export class ServiceClient extends BaseServiceClient {
|
|
|
2367
2329
|
): ResponsePromise<DeleteLocationBrandResponse> {
|
|
2368
2330
|
return this.request(
|
|
2369
2331
|
'location',
|
|
2370
|
-
'
|
|
2332
|
+
'/location/brand/{id}',
|
|
2371
2333
|
'delete',
|
|
2372
2334
|
`/location/brand/${id}`,
|
|
2373
2335
|
null,
|
|
@@ -2389,7 +2351,7 @@ export class ServiceClient extends BaseServiceClient {
|
|
|
2389
2351
|
): ResponsePromise<PutLocationBrandResponse> {
|
|
2390
2352
|
return this.request(
|
|
2391
2353
|
'location',
|
|
2392
|
-
'
|
|
2354
|
+
'/location/brand/{id}',
|
|
2393
2355
|
'put',
|
|
2394
2356
|
`/location/brand/${id}`,
|
|
2395
2357
|
body,
|
|
@@ -2407,14 +2369,7 @@ export class ServiceClient extends BaseServiceClient {
|
|
|
2407
2369
|
query?: GetLocationSectorsQuery;
|
|
2408
2370
|
} & RequestOptions,
|
|
2409
2371
|
): ResponsePromise<GetLocationSectorsResponse> {
|
|
2410
|
-
return this.request(
|
|
2411
|
-
'location',
|
|
2412
|
-
'get_location_sectors',
|
|
2413
|
-
'get',
|
|
2414
|
-
`/location/sector`,
|
|
2415
|
-
null,
|
|
2416
|
-
options,
|
|
2417
|
-
);
|
|
2372
|
+
return this.request('location', '/location/sector', 'get', `/location/sector`, null, options);
|
|
2418
2373
|
}
|
|
2419
2374
|
|
|
2420
2375
|
/**
|
|
@@ -2427,14 +2382,7 @@ export class ServiceClient extends BaseServiceClient {
|
|
|
2427
2382
|
body: PostLocationSectorBody,
|
|
2428
2383
|
options?: RequestOptions,
|
|
2429
2384
|
): ResponsePromise<PostLocationSectorResponse> {
|
|
2430
|
-
return this.request(
|
|
2431
|
-
'location',
|
|
2432
|
-
'post_location_sector',
|
|
2433
|
-
'post',
|
|
2434
|
-
`/location/sector`,
|
|
2435
|
-
body,
|
|
2436
|
-
options,
|
|
2437
|
-
);
|
|
2385
|
+
return this.request('location', '/location/sector', 'post', `/location/sector`, body, options);
|
|
2438
2386
|
}
|
|
2439
2387
|
|
|
2440
2388
|
/**
|
|
@@ -2451,7 +2399,7 @@ export class ServiceClient extends BaseServiceClient {
|
|
|
2451
2399
|
): ResponsePromise<GetLocationSectorResponse> {
|
|
2452
2400
|
return this.request(
|
|
2453
2401
|
'location',
|
|
2454
|
-
'
|
|
2402
|
+
'/location/sector/{id}',
|
|
2455
2403
|
'get',
|
|
2456
2404
|
`/location/sector/${id}`,
|
|
2457
2405
|
null,
|
|
@@ -2475,7 +2423,7 @@ export class ServiceClient extends BaseServiceClient {
|
|
|
2475
2423
|
): ResponsePromise<PatchLocationSectorResponse> {
|
|
2476
2424
|
return this.request(
|
|
2477
2425
|
'location',
|
|
2478
|
-
'
|
|
2426
|
+
'/location/sector/{id}',
|
|
2479
2427
|
'patch',
|
|
2480
2428
|
`/location/sector/${id}`,
|
|
2481
2429
|
body,
|
|
@@ -2495,7 +2443,7 @@ export class ServiceClient extends BaseServiceClient {
|
|
|
2495
2443
|
): ResponsePromise<PostLocationCompanyResponse> {
|
|
2496
2444
|
return this.request(
|
|
2497
2445
|
'location',
|
|
2498
|
-
'
|
|
2446
|
+
'/location/company',
|
|
2499
2447
|
'post',
|
|
2500
2448
|
`/location/company`,
|
|
2501
2449
|
body,
|
|
@@ -2517,7 +2465,7 @@ export class ServiceClient extends BaseServiceClient {
|
|
|
2517
2465
|
): ResponsePromise<GetLocationCompanyResponse> {
|
|
2518
2466
|
return this.request(
|
|
2519
2467
|
'location',
|
|
2520
|
-
'
|
|
2468
|
+
'/location/company/{id}',
|
|
2521
2469
|
'get',
|
|
2522
2470
|
`/location/company/${id}`,
|
|
2523
2471
|
null,
|
|
@@ -2539,7 +2487,7 @@ export class ServiceClient extends BaseServiceClient {
|
|
|
2539
2487
|
): ResponsePromise<PatchLocationCompanyResponse> {
|
|
2540
2488
|
return this.request(
|
|
2541
2489
|
'location',
|
|
2542
|
-
'
|
|
2490
|
+
'/location/company/{id}',
|
|
2543
2491
|
'patch',
|
|
2544
2492
|
`/location/company/${id}`,
|
|
2545
2493
|
body,
|
|
@@ -2561,7 +2509,7 @@ export class ServiceClient extends BaseServiceClient {
|
|
|
2561
2509
|
): ResponsePromise<DeleteLocationRecordResponse> {
|
|
2562
2510
|
return this.request(
|
|
2563
2511
|
'location',
|
|
2564
|
-
'
|
|
2512
|
+
'/location/record/{id}',
|
|
2565
2513
|
'delete',
|
|
2566
2514
|
`/location/record/${id}`,
|
|
2567
2515
|
null,
|
|
@@ -2581,7 +2529,7 @@ export class ServiceClient extends BaseServiceClient {
|
|
|
2581
2529
|
): ResponsePromise<GetLocationV2GroupsResponse> {
|
|
2582
2530
|
return this.request(
|
|
2583
2531
|
'location',
|
|
2584
|
-
'
|
|
2532
|
+
'/location/v2/groups',
|
|
2585
2533
|
'get',
|
|
2586
2534
|
`/location/v2/groups`,
|
|
2587
2535
|
null,
|
|
@@ -2603,7 +2551,7 @@ export class ServiceClient extends BaseServiceClient {
|
|
|
2603
2551
|
): ResponsePromise<GetLocationMenuAssociationBrandResponse> {
|
|
2604
2552
|
return this.request(
|
|
2605
2553
|
'location',
|
|
2606
|
-
'
|
|
2554
|
+
'/location/menu_association/{id}/brand',
|
|
2607
2555
|
'get',
|
|
2608
2556
|
`/location/menu_association/${id}/brand`,
|
|
2609
2557
|
null,
|
|
@@ -2625,7 +2573,7 @@ export class ServiceClient extends BaseServiceClient {
|
|
|
2625
2573
|
): ResponsePromise<GetLocationMenuAssociationMenuResponse> {
|
|
2626
2574
|
return this.request(
|
|
2627
2575
|
'location',
|
|
2628
|
-
'
|
|
2576
|
+
'/location/menu_association/{id}/menu',
|
|
2629
2577
|
'get',
|
|
2630
2578
|
`/location/menu_association/${id}/menu`,
|
|
2631
2579
|
null,
|
|
@@ -2641,16 +2589,11 @@ export class ServiceClient extends BaseServiceClient {
|
|
|
2641
2589
|
*/
|
|
2642
2590
|
post_shoppingcart_cart(
|
|
2643
2591
|
body: PostShoppingcartCartBody,
|
|
2644
|
-
options?:
|
|
2592
|
+
options?: {
|
|
2593
|
+
query?: PostShoppingcartCartQuery;
|
|
2594
|
+
} & RequestOptions,
|
|
2645
2595
|
): ResponsePromise<PostShoppingcartCartResponse> {
|
|
2646
|
-
return this.request(
|
|
2647
|
-
'shoppingcart',
|
|
2648
|
-
'post_shoppingcart_cart',
|
|
2649
|
-
'post',
|
|
2650
|
-
`/shoppingcart`,
|
|
2651
|
-
body,
|
|
2652
|
-
options,
|
|
2653
|
-
);
|
|
2596
|
+
return this.request('shoppingcart', '/shoppingcart', 'post', `/shoppingcart`, body, options);
|
|
2654
2597
|
}
|
|
2655
2598
|
|
|
2656
2599
|
/**
|
|
@@ -2667,7 +2610,7 @@ export class ServiceClient extends BaseServiceClient {
|
|
|
2667
2610
|
): ResponsePromise<PutShoppingcartCartItemsResponse> {
|
|
2668
2611
|
return this.request(
|
|
2669
2612
|
'shoppingcart',
|
|
2670
|
-
'
|
|
2613
|
+
'/shoppingcart/{id}',
|
|
2671
2614
|
'put',
|
|
2672
2615
|
`/shoppingcart/${id}`,
|
|
2673
2616
|
body,
|
|
@@ -2689,7 +2632,7 @@ export class ServiceClient extends BaseServiceClient {
|
|
|
2689
2632
|
): ResponsePromise<DeleteShoppingcartCartItemsResponse> {
|
|
2690
2633
|
return this.request(
|
|
2691
2634
|
'shoppingcart',
|
|
2692
|
-
'
|
|
2635
|
+
'/shoppingcart/{id}',
|
|
2693
2636
|
'delete',
|
|
2694
2637
|
`/shoppingcart/${id}`,
|
|
2695
2638
|
body,
|
|
@@ -2711,7 +2654,7 @@ export class ServiceClient extends BaseServiceClient {
|
|
|
2711
2654
|
): ResponsePromise<GetShoppingcartCartResponse> {
|
|
2712
2655
|
return this.request(
|
|
2713
2656
|
'shoppingcart',
|
|
2714
|
-
'
|
|
2657
|
+
'/shoppingcart/{id}',
|
|
2715
2658
|
'get',
|
|
2716
2659
|
`/shoppingcart/${id}`,
|
|
2717
2660
|
null,
|
|
@@ -2733,7 +2676,7 @@ export class ServiceClient extends BaseServiceClient {
|
|
|
2733
2676
|
): ResponsePromise<PatchShoppingcartCartResponse> {
|
|
2734
2677
|
return this.request(
|
|
2735
2678
|
'shoppingcart',
|
|
2736
|
-
'
|
|
2679
|
+
'/shoppingcart/{id}',
|
|
2737
2680
|
'patch',
|
|
2738
2681
|
`/shoppingcart/${id}`,
|
|
2739
2682
|
body,
|
|
@@ -2755,7 +2698,7 @@ export class ServiceClient extends BaseServiceClient {
|
|
|
2755
2698
|
): ResponsePromise<PutShoppingcartCartPromoResponse> {
|
|
2756
2699
|
return this.request(
|
|
2757
2700
|
'shoppingcart',
|
|
2758
|
-
'
|
|
2701
|
+
'/shoppingcart/{id}/promo',
|
|
2759
2702
|
'put',
|
|
2760
2703
|
`/shoppingcart/${id}/promo`,
|
|
2761
2704
|
body,
|
|
@@ -2775,7 +2718,7 @@ export class ServiceClient extends BaseServiceClient {
|
|
|
2775
2718
|
): ResponsePromise<DeleteShoppingcartCartPromoResponse> {
|
|
2776
2719
|
return this.request(
|
|
2777
2720
|
'shoppingcart',
|
|
2778
|
-
'
|
|
2721
|
+
'/shoppingcart/{id}/promo',
|
|
2779
2722
|
'delete',
|
|
2780
2723
|
`/shoppingcart/${id}/promo`,
|
|
2781
2724
|
null,
|
|
@@ -2797,7 +2740,7 @@ export class ServiceClient extends BaseServiceClient {
|
|
|
2797
2740
|
): ResponsePromise<PutShoppingcartCartPaymentResponse> {
|
|
2798
2741
|
return this.request(
|
|
2799
2742
|
'shoppingcart',
|
|
2800
|
-
'
|
|
2743
|
+
'/shoppingcart/{id}/paymentmethod',
|
|
2801
2744
|
'put',
|
|
2802
2745
|
`/shoppingcart/${id}/paymentmethod`,
|
|
2803
2746
|
body,
|
|
@@ -2819,7 +2762,7 @@ export class ServiceClient extends BaseServiceClient {
|
|
|
2819
2762
|
): ResponsePromise<GetShoppingcartPaymentMethodsResponse> {
|
|
2820
2763
|
return this.request(
|
|
2821
2764
|
'shoppingcart',
|
|
2822
|
-
'
|
|
2765
|
+
'/shoppingcart/{id}/paymentmethods',
|
|
2823
2766
|
'get',
|
|
2824
2767
|
`/shoppingcart/${id}/paymentmethods`,
|
|
2825
2768
|
null,
|
|
@@ -2841,7 +2784,7 @@ export class ServiceClient extends BaseServiceClient {
|
|
|
2841
2784
|
): ResponsePromise<PutShoppingcartCartOrderResponse> {
|
|
2842
2785
|
return this.request(
|
|
2843
2786
|
'shoppingcart',
|
|
2844
|
-
'
|
|
2787
|
+
'/shoppingcart/{id}/order',
|
|
2845
2788
|
'put',
|
|
2846
2789
|
`/shoppingcart/${id}/order`,
|
|
2847
2790
|
body,
|
|
@@ -2865,7 +2808,7 @@ export class ServiceClient extends BaseServiceClient {
|
|
|
2865
2808
|
): ResponsePromise<PostShoppingcartCloneCartResponse> {
|
|
2866
2809
|
return this.request(
|
|
2867
2810
|
'shoppingcart',
|
|
2868
|
-
'
|
|
2811
|
+
'/shoppingcart/{id}/clone',
|
|
2869
2812
|
'post',
|
|
2870
2813
|
`/shoppingcart/${id}/clone`,
|
|
2871
2814
|
body,
|
|
@@ -2881,11 +2824,13 @@ export class ServiceClient extends BaseServiceClient {
|
|
|
2881
2824
|
*/
|
|
2882
2825
|
put_shoppingcart_checkout(
|
|
2883
2826
|
id: string,
|
|
2884
|
-
options?:
|
|
2827
|
+
options?: {
|
|
2828
|
+
query?: PutShoppingcartCheckoutQuery;
|
|
2829
|
+
} & RequestOptions,
|
|
2885
2830
|
): ResponsePromise<PutShoppingcartCheckoutResponse> {
|
|
2886
2831
|
return this.request(
|
|
2887
2832
|
'shoppingcart',
|
|
2888
|
-
'
|
|
2833
|
+
'/shoppingcart/{id}/checkout',
|
|
2889
2834
|
'put',
|
|
2890
2835
|
`/shoppingcart/${id}/checkout`,
|
|
2891
2836
|
null,
|
|
@@ -2905,7 +2850,7 @@ export class ServiceClient extends BaseServiceClient {
|
|
|
2905
2850
|
): ResponsePromise<PostShoppingcartBulkResponse> {
|
|
2906
2851
|
return this.request(
|
|
2907
2852
|
'shoppingcart',
|
|
2908
|
-
'
|
|
2853
|
+
'/shoppingcart/bulk',
|
|
2909
2854
|
'post',
|
|
2910
2855
|
`/shoppingcart/bulk`,
|
|
2911
2856
|
body,
|
|
@@ -2927,7 +2872,7 @@ export class ServiceClient extends BaseServiceClient {
|
|
|
2927
2872
|
): ResponsePromise<PostPartnerEventResponse> {
|
|
2928
2873
|
return this.request(
|
|
2929
2874
|
'partner',
|
|
2930
|
-
'
|
|
2875
|
+
'/partner/event/{id}',
|
|
2931
2876
|
'post',
|
|
2932
2877
|
`/partner/event/${id}`,
|
|
2933
2878
|
body,
|
|
@@ -2947,7 +2892,7 @@ export class ServiceClient extends BaseServiceClient {
|
|
|
2947
2892
|
): ResponsePromise<GetPartnerSwaggerResponse> {
|
|
2948
2893
|
return this.request(
|
|
2949
2894
|
'partner',
|
|
2950
|
-
'
|
|
2895
|
+
'/partner/swagger.json',
|
|
2951
2896
|
'get',
|
|
2952
2897
|
`/partner/swagger.json`,
|
|
2953
2898
|
null,
|
|
@@ -2969,7 +2914,7 @@ export class ServiceClient extends BaseServiceClient {
|
|
|
2969
2914
|
): ResponsePromise<PostPartnerMenuResponse> {
|
|
2970
2915
|
return this.request(
|
|
2971
2916
|
'partner',
|
|
2972
|
-
'
|
|
2917
|
+
'/partner/{id}/menu',
|
|
2973
2918
|
'post',
|
|
2974
2919
|
`/partner/${id}/menu`,
|
|
2975
2920
|
body,
|
|
@@ -2984,7 +2929,7 @@ export class ServiceClient extends BaseServiceClient {
|
|
|
2984
2929
|
* @param options - additional request options
|
|
2985
2930
|
*/
|
|
2986
2931
|
post_email(body: PostEmailBody, options?: RequestOptions): ResponsePromise<PostEmailResponse> {
|
|
2987
|
-
return this.request('email', '
|
|
2932
|
+
return this.request('email', '/email', 'post', `/email`, body, options);
|
|
2988
2933
|
}
|
|
2989
2934
|
|
|
2990
2935
|
/**
|
|
@@ -2994,7 +2939,7 @@ export class ServiceClient extends BaseServiceClient {
|
|
|
2994
2939
|
* @param options - additional request options
|
|
2995
2940
|
*/
|
|
2996
2941
|
post_task(body: PostTaskBody, options?: RequestOptions): ResponsePromise<PostTaskResponse> {
|
|
2997
|
-
return this.request('task', '
|
|
2942
|
+
return this.request('task', '/task', 'post', `/task`, body, options);
|
|
2998
2943
|
}
|
|
2999
2944
|
|
|
3000
2945
|
/**
|
|
@@ -3009,7 +2954,7 @@ export class ServiceClient extends BaseServiceClient {
|
|
|
3009
2954
|
query?: GetTaskQuery;
|
|
3010
2955
|
} & RequestOptions,
|
|
3011
2956
|
): ResponsePromise<GetTaskResponse> {
|
|
3012
|
-
return this.request('task', '
|
|
2957
|
+
return this.request('task', '/task/{id}', 'get', `/task/${id}`, null, options);
|
|
3013
2958
|
}
|
|
3014
2959
|
|
|
3015
2960
|
/**
|
|
@@ -3024,7 +2969,7 @@ export class ServiceClient extends BaseServiceClient {
|
|
|
3024
2969
|
body: PatchTaskBody,
|
|
3025
2970
|
options?: RequestOptions,
|
|
3026
2971
|
): ResponsePromise<PatchTaskResponse> {
|
|
3027
|
-
return this.request('task', '
|
|
2972
|
+
return this.request('task', '/task/{id}', 'patch', `/task/${id}`, body, options);
|
|
3028
2973
|
}
|
|
3029
2974
|
|
|
3030
2975
|
/**
|
|
@@ -3034,7 +2979,7 @@ export class ServiceClient extends BaseServiceClient {
|
|
|
3034
2979
|
* @param options - additional request options
|
|
3035
2980
|
*/
|
|
3036
2981
|
delete_task(id: string, options?: RequestOptions): ResponsePromise<DeleteTaskResponse> {
|
|
3037
|
-
return this.request('task', '
|
|
2982
|
+
return this.request('task', '/task/{id}', 'delete', `/task/${id}`, null, options);
|
|
3038
2983
|
}
|
|
3039
2984
|
|
|
3040
2985
|
/**
|
|
@@ -3049,7 +2994,7 @@ export class ServiceClient extends BaseServiceClient {
|
|
|
3049
2994
|
query?: GetTaskOrderQuery;
|
|
3050
2995
|
} & RequestOptions,
|
|
3051
2996
|
): ResponsePromise<GetTaskOrderResponse> {
|
|
3052
|
-
return this.request('task', '
|
|
2997
|
+
return this.request('task', '/task/order/{id}', 'get', `/task/order/${id}`, null, options);
|
|
3053
2998
|
}
|
|
3054
2999
|
|
|
3055
3000
|
/**
|
|
@@ -3066,7 +3011,7 @@ export class ServiceClient extends BaseServiceClient {
|
|
|
3066
3011
|
): ResponsePromise<GetTaskOrderKdsResponse> {
|
|
3067
3012
|
return this.request(
|
|
3068
3013
|
'task',
|
|
3069
|
-
'
|
|
3014
|
+
'/task/order/{id}/kds',
|
|
3070
3015
|
'get',
|
|
3071
3016
|
`/task/order/${id}/kds`,
|
|
3072
3017
|
null,
|
|
@@ -3088,7 +3033,7 @@ export class ServiceClient extends BaseServiceClient {
|
|
|
3088
3033
|
): ResponsePromise<PatchTaskOrderKdsResponse> {
|
|
3089
3034
|
return this.request(
|
|
3090
3035
|
'task',
|
|
3091
|
-
'
|
|
3036
|
+
'/task/order/{id}/kds',
|
|
3092
3037
|
'patch',
|
|
3093
3038
|
`/task/order/${id}/kds`,
|
|
3094
3039
|
body,
|
|
@@ -3108,7 +3053,14 @@ export class ServiceClient extends BaseServiceClient {
|
|
|
3108
3053
|
query?: GetTaskAssigneeQuery;
|
|
3109
3054
|
} & RequestOptions,
|
|
3110
3055
|
): ResponsePromise<GetTaskAssigneeResponse> {
|
|
3111
|
-
return this.request(
|
|
3056
|
+
return this.request(
|
|
3057
|
+
'task',
|
|
3058
|
+
'/task/assignee/{id}',
|
|
3059
|
+
'get',
|
|
3060
|
+
`/task/assignee/${id}`,
|
|
3061
|
+
null,
|
|
3062
|
+
options,
|
|
3063
|
+
);
|
|
3112
3064
|
}
|
|
3113
3065
|
|
|
3114
3066
|
/**
|
|
@@ -3125,7 +3077,7 @@ export class ServiceClient extends BaseServiceClient {
|
|
|
3125
3077
|
): ResponsePromise<GetTaskLocationBrandResponse> {
|
|
3126
3078
|
return this.request(
|
|
3127
3079
|
'task',
|
|
3128
|
-
'
|
|
3080
|
+
'/task/location/brand/{id}',
|
|
3129
3081
|
'get',
|
|
3130
3082
|
`/task/location/brand/${id}`,
|
|
3131
3083
|
null,
|
|
@@ -3147,7 +3099,7 @@ export class ServiceClient extends BaseServiceClient {
|
|
|
3147
3099
|
): ResponsePromise<GetTaskLocationGroupResponse> {
|
|
3148
3100
|
return this.request(
|
|
3149
3101
|
'task',
|
|
3150
|
-
'
|
|
3102
|
+
'/task/location/group/{id}',
|
|
3151
3103
|
'get',
|
|
3152
3104
|
`/task/location/group/${id}`,
|
|
3153
3105
|
null,
|
|
@@ -3165,7 +3117,7 @@ export class ServiceClient extends BaseServiceClient {
|
|
|
3165
3117
|
query: GetKdsDevicesQuery;
|
|
3166
3118
|
} & RequestOptions,
|
|
3167
3119
|
): ResponsePromise<GetKdsDevicesResponse> {
|
|
3168
|
-
return this.request('kds', '
|
|
3120
|
+
return this.request('kds', '/kds/devices', 'get', `/kds/devices`, null, options);
|
|
3169
3121
|
}
|
|
3170
3122
|
|
|
3171
3123
|
/**
|
|
@@ -3178,7 +3130,7 @@ export class ServiceClient extends BaseServiceClient {
|
|
|
3178
3130
|
body: PostKdsDeviceAuthBody,
|
|
3179
3131
|
options?: RequestOptions,
|
|
3180
3132
|
): ResponsePromise<PostKdsDeviceAuthResponse> {
|
|
3181
|
-
return this.request('kds', '
|
|
3133
|
+
return this.request('kds', '/kds/device/auth', 'post', `/kds/device/auth`, body, options);
|
|
3182
3134
|
}
|
|
3183
3135
|
|
|
3184
3136
|
/**
|
|
@@ -3193,7 +3145,7 @@ export class ServiceClient extends BaseServiceClient {
|
|
|
3193
3145
|
): ResponsePromise<DeleteKdsDeviceAuthResponse> {
|
|
3194
3146
|
return this.request(
|
|
3195
3147
|
'kds',
|
|
3196
|
-
'
|
|
3148
|
+
'/kds/device/auth/{device_id}',
|
|
3197
3149
|
'delete',
|
|
3198
3150
|
`/kds/device/auth/${device_id}`,
|
|
3199
3151
|
null,
|
|
@@ -3215,7 +3167,7 @@ export class ServiceClient extends BaseServiceClient {
|
|
|
3215
3167
|
): ResponsePromise<PatchKdsDeviceInfoResponse> {
|
|
3216
3168
|
return this.request(
|
|
3217
3169
|
'kds',
|
|
3218
|
-
'
|
|
3170
|
+
'/kds/device/info/{device_id}',
|
|
3219
3171
|
'patch',
|
|
3220
3172
|
`/kds/device/info/${device_id}`,
|
|
3221
3173
|
body,
|
|
@@ -3235,7 +3187,7 @@ export class ServiceClient extends BaseServiceClient {
|
|
|
3235
3187
|
): ResponsePromise<DeleteKdsDeviceInfoResponse> {
|
|
3236
3188
|
return this.request(
|
|
3237
3189
|
'kds',
|
|
3238
|
-
'
|
|
3190
|
+
'/kds/device/info/{device_id}',
|
|
3239
3191
|
'delete',
|
|
3240
3192
|
`/kds/device/info/${device_id}`,
|
|
3241
3193
|
null,
|
|
@@ -3253,7 +3205,7 @@ export class ServiceClient extends BaseServiceClient {
|
|
|
3253
3205
|
query?: GetKdsSwaggerQuery;
|
|
3254
3206
|
} & RequestOptions,
|
|
3255
3207
|
): ResponsePromise<GetKdsSwaggerResponse> {
|
|
3256
|
-
return this.request('kds', '
|
|
3208
|
+
return this.request('kds', '/kds/swagger.json', 'get', `/kds/swagger.json`, null, options);
|
|
3257
3209
|
}
|
|
3258
3210
|
|
|
3259
3211
|
/**
|
|
@@ -3268,7 +3220,7 @@ export class ServiceClient extends BaseServiceClient {
|
|
|
3268
3220
|
body: PostMealplanBody,
|
|
3269
3221
|
options?: RequestOptions,
|
|
3270
3222
|
): ResponsePromise<PostMealplanResponse> {
|
|
3271
|
-
return this.request('mealplan', '
|
|
3223
|
+
return this.request('mealplan', '/mealplan/{id}', 'post', `/mealplan/${id}`, body, options);
|
|
3272
3224
|
}
|
|
3273
3225
|
|
|
3274
3226
|
/**
|
|
@@ -3283,7 +3235,7 @@ export class ServiceClient extends BaseServiceClient {
|
|
|
3283
3235
|
body: PutMealplanBody,
|
|
3284
3236
|
options?: RequestOptions,
|
|
3285
3237
|
): ResponsePromise<PutMealplanResponse> {
|
|
3286
|
-
return this.request('mealplan', '
|
|
3238
|
+
return this.request('mealplan', '/mealplan/{id}', 'put', `/mealplan/${id}`, body, options);
|
|
3287
3239
|
}
|
|
3288
3240
|
|
|
3289
3241
|
/**
|
|
@@ -3298,7 +3250,7 @@ export class ServiceClient extends BaseServiceClient {
|
|
|
3298
3250
|
query?: GetMealplanQuery;
|
|
3299
3251
|
} & RequestOptions,
|
|
3300
3252
|
): ResponsePromise<GetMealplanResponse> {
|
|
3301
|
-
return this.request('mealplan', '
|
|
3253
|
+
return this.request('mealplan', '/mealplan/{id}', 'get', `/mealplan/${id}`, null, options);
|
|
3302
3254
|
}
|
|
3303
3255
|
|
|
3304
3256
|
/**
|
|
@@ -3313,7 +3265,7 @@ export class ServiceClient extends BaseServiceClient {
|
|
|
3313
3265
|
body: DeleteMealplanBody,
|
|
3314
3266
|
options?: RequestOptions,
|
|
3315
3267
|
): ResponsePromise<DeleteMealplanResponse> {
|
|
3316
|
-
return this.request('mealplan', '
|
|
3268
|
+
return this.request('mealplan', '/mealplan/{id}', 'delete', `/mealplan/${id}`, body, options);
|
|
3317
3269
|
}
|
|
3318
3270
|
|
|
3319
3271
|
/**
|
|
@@ -3332,7 +3284,7 @@ export class ServiceClient extends BaseServiceClient {
|
|
|
3332
3284
|
): ResponsePromise<PostMealplanCallbackResponse> {
|
|
3333
3285
|
return this.request(
|
|
3334
3286
|
'mealplan',
|
|
3335
|
-
'
|
|
3287
|
+
'/mealplan/{id}/callback',
|
|
3336
3288
|
'post',
|
|
3337
3289
|
`/mealplan/${id}/callback`,
|
|
3338
3290
|
body,
|
|
@@ -3356,7 +3308,7 @@ export class ServiceClient extends BaseServiceClient {
|
|
|
3356
3308
|
): ResponsePromise<GetMealplanTenderResponse> {
|
|
3357
3309
|
return this.request(
|
|
3358
3310
|
'mealplan',
|
|
3359
|
-
'
|
|
3311
|
+
'/mealplan/{id}/tender/{tender}',
|
|
3360
3312
|
'get',
|
|
3361
3313
|
`/mealplan/${id}/tender/${tender}`,
|
|
3362
3314
|
null,
|
|
@@ -3380,7 +3332,7 @@ export class ServiceClient extends BaseServiceClient {
|
|
|
3380
3332
|
): ResponsePromise<DeleteMealplanTenderResponse> {
|
|
3381
3333
|
return this.request(
|
|
3382
3334
|
'mealplan',
|
|
3383
|
-
'
|
|
3335
|
+
'/mealplan/{id}/tender/{tender}',
|
|
3384
3336
|
'delete',
|
|
3385
3337
|
`/mealplan/${id}/tender/${tender}`,
|
|
3386
3338
|
body,
|
|
@@ -3404,7 +3356,7 @@ export class ServiceClient extends BaseServiceClient {
|
|
|
3404
3356
|
): ResponsePromise<PatchMealplanTenderResponse> {
|
|
3405
3357
|
return this.request(
|
|
3406
3358
|
'mealplan',
|
|
3407
|
-
'
|
|
3359
|
+
'/mealplan/{id}/tender/{tender}',
|
|
3408
3360
|
'patch',
|
|
3409
3361
|
`/mealplan/${id}/tender/${tender}`,
|
|
3410
3362
|
body,
|
|
@@ -3428,7 +3380,7 @@ export class ServiceClient extends BaseServiceClient {
|
|
|
3428
3380
|
): ResponsePromise<PostMealplanVerifyResponse> {
|
|
3429
3381
|
return this.request(
|
|
3430
3382
|
'mealplan',
|
|
3431
|
-
'
|
|
3383
|
+
'/mealplan/{id}/verify',
|
|
3432
3384
|
'post',
|
|
3433
3385
|
`/mealplan/${id}/verify`,
|
|
3434
3386
|
body,
|
|
@@ -3450,7 +3402,7 @@ export class ServiceClient extends BaseServiceClient {
|
|
|
3450
3402
|
): ResponsePromise<PutMealplanVerifyResponse> {
|
|
3451
3403
|
return this.request(
|
|
3452
3404
|
'mealplan',
|
|
3453
|
-
'
|
|
3405
|
+
'/mealplan/{id}/verify',
|
|
3454
3406
|
'put',
|
|
3455
3407
|
`/mealplan/${id}/verify`,
|
|
3456
3408
|
body,
|
|
@@ -3472,7 +3424,7 @@ export class ServiceClient extends BaseServiceClient {
|
|
|
3472
3424
|
): ResponsePromise<PostMealplanAuthorizeResponse> {
|
|
3473
3425
|
return this.request(
|
|
3474
3426
|
'mealplan',
|
|
3475
|
-
'
|
|
3427
|
+
'/mealplan/{id}/authorize',
|
|
3476
3428
|
'post',
|
|
3477
3429
|
`/mealplan/${id}/authorize`,
|
|
3478
3430
|
body,
|
|
@@ -3490,7 +3442,7 @@ export class ServiceClient extends BaseServiceClient {
|
|
|
3490
3442
|
body: PostDatalakeSqlBody,
|
|
3491
3443
|
options?: RequestOptions,
|
|
3492
3444
|
): ResponsePromise<PostDatalakeSqlResponse> {
|
|
3493
|
-
return this.request('datalake', '
|
|
3445
|
+
return this.request('datalake', '/datalake/sql', 'post', `/datalake/sql`, body, options);
|
|
3494
3446
|
}
|
|
3495
3447
|
|
|
3496
3448
|
/**
|
|
@@ -3503,7 +3455,7 @@ export class ServiceClient extends BaseServiceClient {
|
|
|
3503
3455
|
query?: GetDatalakeSwaggerQuery;
|
|
3504
3456
|
} & RequestOptions,
|
|
3505
3457
|
): ResponsePromise<GetDatalakeSwaggerResponse> {
|
|
3506
|
-
return this.request('datalake', '
|
|
3458
|
+
return this.request('datalake', '/swagger.json', 'get', `/swagger.json`, null, options);
|
|
3507
3459
|
}
|
|
3508
3460
|
|
|
3509
3461
|
/**
|
|
@@ -3513,7 +3465,7 @@ export class ServiceClient extends BaseServiceClient {
|
|
|
3513
3465
|
* @param options - additional request options
|
|
3514
3466
|
*/
|
|
3515
3467
|
post_promo(body: PostPromoBody, options?: RequestOptions): ResponsePromise<PostPromoResponse> {
|
|
3516
|
-
return this.request('promo', '
|
|
3468
|
+
return this.request('promo', '/promo', 'post', `/promo`, body, options);
|
|
3517
3469
|
}
|
|
3518
3470
|
|
|
3519
3471
|
/**
|
|
@@ -3526,7 +3478,7 @@ export class ServiceClient extends BaseServiceClient {
|
|
|
3526
3478
|
query?: GetPromosQuery;
|
|
3527
3479
|
} & RequestOptions,
|
|
3528
3480
|
): ResponsePromise<GetPromosResponse> {
|
|
3529
|
-
return this.request('promo', '
|
|
3481
|
+
return this.request('promo', '/promo', 'get', `/promo`, null, options);
|
|
3530
3482
|
}
|
|
3531
3483
|
|
|
3532
3484
|
/**
|
|
@@ -3541,7 +3493,7 @@ export class ServiceClient extends BaseServiceClient {
|
|
|
3541
3493
|
query?: GetPromoQuery;
|
|
3542
3494
|
} & RequestOptions,
|
|
3543
3495
|
): ResponsePromise<GetPromoResponse> {
|
|
3544
|
-
return this.request('promo', '
|
|
3496
|
+
return this.request('promo', '/promo/{id}', 'get', `/promo/${id}`, null, options);
|
|
3545
3497
|
}
|
|
3546
3498
|
|
|
3547
3499
|
/**
|
|
@@ -3556,7 +3508,7 @@ export class ServiceClient extends BaseServiceClient {
|
|
|
3556
3508
|
body: PutPromoBody,
|
|
3557
3509
|
options?: RequestOptions,
|
|
3558
3510
|
): ResponsePromise<PutPromoResponse> {
|
|
3559
|
-
return this.request('promo', '
|
|
3511
|
+
return this.request('promo', '/promo/{id}', 'put', `/promo/${id}`, body, options);
|
|
3560
3512
|
}
|
|
3561
3513
|
|
|
3562
3514
|
/**
|
|
@@ -3566,7 +3518,7 @@ export class ServiceClient extends BaseServiceClient {
|
|
|
3566
3518
|
* @param options - additional request options
|
|
3567
3519
|
*/
|
|
3568
3520
|
delete_promo(id: string, options?: RequestOptions): ResponsePromise<DeletePromoResponse> {
|
|
3569
|
-
return this.request('promo', '
|
|
3521
|
+
return this.request('promo', '/promo/{id}', 'delete', `/promo/${id}`, null, options);
|
|
3570
3522
|
}
|
|
3571
3523
|
|
|
3572
3524
|
/**
|
|
@@ -3585,7 +3537,7 @@ export class ServiceClient extends BaseServiceClient {
|
|
|
3585
3537
|
): ResponsePromise<GetPromoCompanyLocationGroupResponse> {
|
|
3586
3538
|
return this.request(
|
|
3587
3539
|
'promo',
|
|
3588
|
-
'
|
|
3540
|
+
'/promo/company/{company}/location/group/{location_group}',
|
|
3589
3541
|
'get',
|
|
3590
3542
|
`/promo/company/${company}/location/group/${location_group}`,
|
|
3591
3543
|
null,
|
|
@@ -3605,7 +3557,7 @@ export class ServiceClient extends BaseServiceClient {
|
|
|
3605
3557
|
): ResponsePromise<PostPromoValidateVoucherResponse> {
|
|
3606
3558
|
return this.request(
|
|
3607
3559
|
'promo',
|
|
3608
|
-
'
|
|
3560
|
+
'/promo/validate/voucher',
|
|
3609
3561
|
'post',
|
|
3610
3562
|
`/promo/validate/voucher`,
|
|
3611
3563
|
body,
|
|
@@ -3625,7 +3577,7 @@ export class ServiceClient extends BaseServiceClient {
|
|
|
3625
3577
|
): ResponsePromise<PostPromoRedeemVoucherResponse> {
|
|
3626
3578
|
return this.request(
|
|
3627
3579
|
'promo',
|
|
3628
|
-
'
|
|
3580
|
+
'/promo/redeem/voucher',
|
|
3629
3581
|
'post',
|
|
3630
3582
|
`/promo/redeem/voucher`,
|
|
3631
3583
|
body,
|
|
@@ -3643,7 +3595,7 @@ export class ServiceClient extends BaseServiceClient {
|
|
|
3643
3595
|
body: PostPromoVoucherBody,
|
|
3644
3596
|
options?: RequestOptions,
|
|
3645
3597
|
): ResponsePromise<PostPromoVoucherResponse> {
|
|
3646
|
-
return this.request('promo', '
|
|
3598
|
+
return this.request('promo', '/promo/voucher', 'post', `/promo/voucher`, body, options);
|
|
3647
3599
|
}
|
|
3648
3600
|
|
|
3649
3601
|
/**
|
|
@@ -3658,7 +3610,14 @@ export class ServiceClient extends BaseServiceClient {
|
|
|
3658
3610
|
body: PutPromoVoucherBody,
|
|
3659
3611
|
options?: RequestOptions,
|
|
3660
3612
|
): ResponsePromise<PutPromoVoucherResponse> {
|
|
3661
|
-
return this.request(
|
|
3613
|
+
return this.request(
|
|
3614
|
+
'promo',
|
|
3615
|
+
'/promo/voucher/{id}',
|
|
3616
|
+
'put',
|
|
3617
|
+
`/promo/voucher/${id}`,
|
|
3618
|
+
body,
|
|
3619
|
+
options,
|
|
3620
|
+
);
|
|
3662
3621
|
}
|
|
3663
3622
|
|
|
3664
3623
|
/**
|
|
@@ -3675,7 +3634,7 @@ export class ServiceClient extends BaseServiceClient {
|
|
|
3675
3634
|
): ResponsePromise<DeletePromoVoucherResponse> {
|
|
3676
3635
|
return this.request(
|
|
3677
3636
|
'promo',
|
|
3678
|
-
'
|
|
3637
|
+
'/promo/voucher/{id}',
|
|
3679
3638
|
'delete',
|
|
3680
3639
|
`/promo/voucher/${id}`,
|
|
3681
3640
|
null,
|
|
@@ -3693,7 +3652,7 @@ export class ServiceClient extends BaseServiceClient {
|
|
|
3693
3652
|
body: PostPromoCustomerBody,
|
|
3694
3653
|
options?: RequestOptions,
|
|
3695
3654
|
): ResponsePromise<PostPromoCustomerResponse> {
|
|
3696
|
-
return this.request('promo', '
|
|
3655
|
+
return this.request('promo', '/promo/customer', 'post', `/promo/customer`, body, options);
|
|
3697
3656
|
}
|
|
3698
3657
|
|
|
3699
3658
|
/**
|
|
@@ -3706,14 +3665,7 @@ export class ServiceClient extends BaseServiceClient {
|
|
|
3706
3665
|
body: DeletePromoCustomerBody,
|
|
3707
3666
|
options?: RequestOptions,
|
|
3708
3667
|
): ResponsePromise<DeletePromoCustomerResponse> {
|
|
3709
|
-
return this.request(
|
|
3710
|
-
'promo',
|
|
3711
|
-
'delete_promo_customer',
|
|
3712
|
-
'delete',
|
|
3713
|
-
`/promo/customer`,
|
|
3714
|
-
body,
|
|
3715
|
-
options,
|
|
3716
|
-
);
|
|
3668
|
+
return this.request('promo', '/promo/customer', 'delete', `/promo/customer`, body, options);
|
|
3717
3669
|
}
|
|
3718
3670
|
|
|
3719
3671
|
/**
|
|
@@ -3730,7 +3682,7 @@ export class ServiceClient extends BaseServiceClient {
|
|
|
3730
3682
|
): ResponsePromise<PostPromoVoucherReverseResponse> {
|
|
3731
3683
|
return this.request(
|
|
3732
3684
|
'promo',
|
|
3733
|
-
'
|
|
3685
|
+
'/promo/voucher/{id}/reverse',
|
|
3734
3686
|
'post',
|
|
3735
3687
|
`/promo/voucher/${id}/reverse`,
|
|
3736
3688
|
body,
|
|
@@ -3750,7 +3702,7 @@ export class ServiceClient extends BaseServiceClient {
|
|
|
3750
3702
|
): ResponsePromise<PostPromoVoucherifyActivityExecuteResponse> {
|
|
3751
3703
|
return this.request(
|
|
3752
3704
|
'promo',
|
|
3753
|
-
'
|
|
3705
|
+
'/promo/voucherify/activity/execute',
|
|
3754
3706
|
'post',
|
|
3755
3707
|
`/promo/voucherify/activity/execute`,
|
|
3756
3708
|
body,
|
|
@@ -3770,7 +3722,7 @@ export class ServiceClient extends BaseServiceClient {
|
|
|
3770
3722
|
): ResponsePromise<GetPromoVoucherifyActivityConfigResponse> {
|
|
3771
3723
|
return this.request(
|
|
3772
3724
|
'promo',
|
|
3773
|
-
'
|
|
3725
|
+
'/promo/voucherify/activity/config.json',
|
|
3774
3726
|
'get',
|
|
3775
3727
|
`/promo/voucherify/activity/config.json`,
|
|
3776
3728
|
null,
|
|
@@ -3788,14 +3740,7 @@ export class ServiceClient extends BaseServiceClient {
|
|
|
3788
3740
|
query?: GetConfigAppconfigQuery;
|
|
3789
3741
|
} & RequestOptions,
|
|
3790
3742
|
): ResponsePromise<GetConfigAppconfigResponse> {
|
|
3791
|
-
return this.request(
|
|
3792
|
-
'config',
|
|
3793
|
-
'get_config_appconfig',
|
|
3794
|
-
'get',
|
|
3795
|
-
`/config/appconfig`,
|
|
3796
|
-
null,
|
|
3797
|
-
options,
|
|
3798
|
-
);
|
|
3743
|
+
return this.request('config', '/config/appconfig', 'get', `/config/appconfig`, null, options);
|
|
3799
3744
|
}
|
|
3800
3745
|
|
|
3801
3746
|
/**
|
|
@@ -3810,7 +3755,7 @@ export class ServiceClient extends BaseServiceClient {
|
|
|
3810
3755
|
query?: GetConfigQuery;
|
|
3811
3756
|
} & RequestOptions,
|
|
3812
3757
|
): ResponsePromise<GetConfigResponse> {
|
|
3813
|
-
return this.request('config', '
|
|
3758
|
+
return this.request('config', '/config/{key}', 'get', `/config/${key}`, null, options);
|
|
3814
3759
|
}
|
|
3815
3760
|
|
|
3816
3761
|
/**
|
|
@@ -3825,7 +3770,7 @@ export class ServiceClient extends BaseServiceClient {
|
|
|
3825
3770
|
body: PostConfigBody,
|
|
3826
3771
|
options?: RequestOptions,
|
|
3827
3772
|
): ResponsePromise<PostConfigResponse> {
|
|
3828
|
-
return this.request('config', '
|
|
3773
|
+
return this.request('config', '/config/{key}', 'post', `/config/${key}`, body, options);
|
|
3829
3774
|
}
|
|
3830
3775
|
|
|
3831
3776
|
/**
|
|
@@ -3840,7 +3785,7 @@ export class ServiceClient extends BaseServiceClient {
|
|
|
3840
3785
|
body: PutConfigBody,
|
|
3841
3786
|
options?: RequestOptions,
|
|
3842
3787
|
): ResponsePromise<PutConfigResponse> {
|
|
3843
|
-
return this.request('config', '
|
|
3788
|
+
return this.request('config', '/config/{key}', 'put', `/config/${key}`, body, options);
|
|
3844
3789
|
}
|
|
3845
3790
|
|
|
3846
3791
|
/**
|
|
@@ -3850,7 +3795,7 @@ export class ServiceClient extends BaseServiceClient {
|
|
|
3850
3795
|
* @param options - additional request options
|
|
3851
3796
|
*/
|
|
3852
3797
|
delete_config(key: string, options?: RequestOptions): ResponsePromise<DeleteConfigResponse> {
|
|
3853
|
-
return this.request('config', '
|
|
3798
|
+
return this.request('config', '/config/{key}', 'delete', `/config/${key}`, null, options);
|
|
3854
3799
|
}
|
|
3855
3800
|
|
|
3856
3801
|
/**
|
|
@@ -3867,7 +3812,7 @@ export class ServiceClient extends BaseServiceClient {
|
|
|
3867
3812
|
): ResponsePromise<GetConfigPublicResponse> {
|
|
3868
3813
|
return this.request(
|
|
3869
3814
|
'config',
|
|
3870
|
-
'
|
|
3815
|
+
'/config/public/{key}',
|
|
3871
3816
|
'get',
|
|
3872
3817
|
`/config/public/${key}`,
|
|
3873
3818
|
null,
|
|
@@ -3889,7 +3834,7 @@ export class ServiceClient extends BaseServiceClient {
|
|
|
3889
3834
|
): ResponsePromise<PostConfigPublicResponse> {
|
|
3890
3835
|
return this.request(
|
|
3891
3836
|
'config',
|
|
3892
|
-
'
|
|
3837
|
+
'/config/public/{key}',
|
|
3893
3838
|
'post',
|
|
3894
3839
|
`/config/public/${key}`,
|
|
3895
3840
|
body,
|
|
@@ -3911,7 +3856,7 @@ export class ServiceClient extends BaseServiceClient {
|
|
|
3911
3856
|
): ResponsePromise<PutConfigPublicResponse> {
|
|
3912
3857
|
return this.request(
|
|
3913
3858
|
'config',
|
|
3914
|
-
'
|
|
3859
|
+
'/config/public/{key}',
|
|
3915
3860
|
'put',
|
|
3916
3861
|
`/config/public/${key}`,
|
|
3917
3862
|
body,
|
|
@@ -3931,7 +3876,7 @@ export class ServiceClient extends BaseServiceClient {
|
|
|
3931
3876
|
): ResponsePromise<DeleteConfigPublicResponse> {
|
|
3932
3877
|
return this.request(
|
|
3933
3878
|
'config',
|
|
3934
|
-
'
|
|
3879
|
+
'/config/public/{key}',
|
|
3935
3880
|
'delete',
|
|
3936
3881
|
`/config/public/${key}`,
|
|
3937
3882
|
null,
|
|
@@ -3949,14 +3894,7 @@ export class ServiceClient extends BaseServiceClient {
|
|
|
3949
3894
|
body: PostAnnouncementBody,
|
|
3950
3895
|
options?: RequestOptions,
|
|
3951
3896
|
): ResponsePromise<PostAnnouncementResponse> {
|
|
3952
|
-
return this.request(
|
|
3953
|
-
'announcement',
|
|
3954
|
-
'post_announcement',
|
|
3955
|
-
'post',
|
|
3956
|
-
`/announcement`,
|
|
3957
|
-
body,
|
|
3958
|
-
options,
|
|
3959
|
-
);
|
|
3897
|
+
return this.request('announcement', '/announcement', 'post', `/announcement`, body, options);
|
|
3960
3898
|
}
|
|
3961
3899
|
|
|
3962
3900
|
/**
|
|
@@ -3973,7 +3911,7 @@ export class ServiceClient extends BaseServiceClient {
|
|
|
3973
3911
|
): ResponsePromise<GetAnnouncementResourceResponse> {
|
|
3974
3912
|
return this.request(
|
|
3975
3913
|
'announcement',
|
|
3976
|
-
'
|
|
3914
|
+
'/announcement/resource/{id}',
|
|
3977
3915
|
'get',
|
|
3978
3916
|
`/announcement/resource/${id}`,
|
|
3979
3917
|
null,
|
|
@@ -3993,7 +3931,7 @@ export class ServiceClient extends BaseServiceClient {
|
|
|
3993
3931
|
): ResponsePromise<GetAnnouncementResourcesResponse> {
|
|
3994
3932
|
return this.request(
|
|
3995
3933
|
'announcement',
|
|
3996
|
-
'
|
|
3934
|
+
'/announcement/resource',
|
|
3997
3935
|
'get',
|
|
3998
3936
|
`/announcement/resource`,
|
|
3999
3937
|
null,
|
|
@@ -4015,7 +3953,7 @@ export class ServiceClient extends BaseServiceClient {
|
|
|
4015
3953
|
): ResponsePromise<GetAnnouncementResponse> {
|
|
4016
3954
|
return this.request(
|
|
4017
3955
|
'announcement',
|
|
4018
|
-
'
|
|
3956
|
+
'/announcement/{id}',
|
|
4019
3957
|
'get',
|
|
4020
3958
|
`/announcement/${id}`,
|
|
4021
3959
|
null,
|
|
@@ -4037,7 +3975,7 @@ export class ServiceClient extends BaseServiceClient {
|
|
|
4037
3975
|
): ResponsePromise<PutAnnouncementResponse> {
|
|
4038
3976
|
return this.request(
|
|
4039
3977
|
'announcement',
|
|
4040
|
-
'
|
|
3978
|
+
'/announcement/{id}',
|
|
4041
3979
|
'put',
|
|
4042
3980
|
`/announcement/${id}`,
|
|
4043
3981
|
body,
|
|
@@ -4057,7 +3995,7 @@ export class ServiceClient extends BaseServiceClient {
|
|
|
4057
3995
|
): ResponsePromise<DeleteAnnouncementResponse> {
|
|
4058
3996
|
return this.request(
|
|
4059
3997
|
'announcement',
|
|
4060
|
-
'
|
|
3998
|
+
'/announcement/{id}',
|
|
4061
3999
|
'delete',
|
|
4062
4000
|
`/announcement/${id}`,
|
|
4063
4001
|
null,
|
|
@@ -4081,7 +4019,7 @@ export class ServiceClient extends BaseServiceClient {
|
|
|
4081
4019
|
): ResponsePromise<GetReportAnalyticsGroupResponse> {
|
|
4082
4020
|
return this.request(
|
|
4083
4021
|
'report',
|
|
4084
|
-
'
|
|
4022
|
+
'/report/analytics/group/{location_group}/{report_type}',
|
|
4085
4023
|
'get',
|
|
4086
4024
|
`/report/analytics/group/${location_group}/${report_type}`,
|
|
4087
4025
|
null,
|
|
@@ -4103,7 +4041,7 @@ export class ServiceClient extends BaseServiceClient {
|
|
|
4103
4041
|
): ResponsePromise<GetReportAnalyticsCombinedGroupResponse> {
|
|
4104
4042
|
return this.request(
|
|
4105
4043
|
'report',
|
|
4106
|
-
'
|
|
4044
|
+
'/report/analytics/combined/group/{location_group}',
|
|
4107
4045
|
'get',
|
|
4108
4046
|
`/report/analytics/combined/group/${location_group}`,
|
|
4109
4047
|
null,
|
|
@@ -4125,7 +4063,7 @@ export class ServiceClient extends BaseServiceClient {
|
|
|
4125
4063
|
): ResponsePromise<GetReportEodGroupResponse> {
|
|
4126
4064
|
return this.request(
|
|
4127
4065
|
'report',
|
|
4128
|
-
'
|
|
4066
|
+
'/report/eod/group/{id}',
|
|
4129
4067
|
'get',
|
|
4130
4068
|
`/report/eod/group/${id}`,
|
|
4131
4069
|
null,
|
|
@@ -4147,7 +4085,7 @@ export class ServiceClient extends BaseServiceClient {
|
|
|
4147
4085
|
): ResponsePromise<GetReportEodGroupSubscribersResponse> {
|
|
4148
4086
|
return this.request(
|
|
4149
4087
|
'report',
|
|
4150
|
-
'
|
|
4088
|
+
'/report/eod/group/{id}/subscribers',
|
|
4151
4089
|
'get',
|
|
4152
4090
|
`/report/eod/group/${id}/subscribers`,
|
|
4153
4091
|
null,
|
|
@@ -4169,7 +4107,7 @@ export class ServiceClient extends BaseServiceClient {
|
|
|
4169
4107
|
): ResponsePromise<PostReportEodGroupSubscribersResponse> {
|
|
4170
4108
|
return this.request(
|
|
4171
4109
|
'report',
|
|
4172
|
-
'
|
|
4110
|
+
'/report/eod/group/{id}/subscribers',
|
|
4173
4111
|
'post',
|
|
4174
4112
|
`/report/eod/group/${id}/subscribers`,
|
|
4175
4113
|
body,
|
|
@@ -4189,7 +4127,7 @@ export class ServiceClient extends BaseServiceClient {
|
|
|
4189
4127
|
): ResponsePromise<DeleteReportEodGroupSubscribersResponse> {
|
|
4190
4128
|
return this.request(
|
|
4191
4129
|
'report',
|
|
4192
|
-
'
|
|
4130
|
+
'/report/eod/group/{id}/subscribers',
|
|
4193
4131
|
'delete',
|
|
4194
4132
|
`/report/eod/group/${id}/subscribers`,
|
|
4195
4133
|
null,
|
|
@@ -4211,7 +4149,7 @@ export class ServiceClient extends BaseServiceClient {
|
|
|
4211
4149
|
): ResponsePromise<PutReportEodGroupSubscribersResponse> {
|
|
4212
4150
|
return this.request(
|
|
4213
4151
|
'report',
|
|
4214
|
-
'
|
|
4152
|
+
'/report/eod/group/{id}/subscribers',
|
|
4215
4153
|
'put',
|
|
4216
4154
|
`/report/eod/group/${id}/subscribers`,
|
|
4217
4155
|
body,
|
|
@@ -4233,7 +4171,7 @@ export class ServiceClient extends BaseServiceClient {
|
|
|
4233
4171
|
): ResponsePromise<GetReportEodGroupItemsResponse> {
|
|
4234
4172
|
return this.request(
|
|
4235
4173
|
'report',
|
|
4236
|
-
'
|
|
4174
|
+
'/report/eod/group/{id}/items',
|
|
4237
4175
|
'get',
|
|
4238
4176
|
`/report/eod/group/${id}/items`,
|
|
4239
4177
|
null,
|
|
@@ -4255,7 +4193,7 @@ export class ServiceClient extends BaseServiceClient {
|
|
|
4255
4193
|
): ResponsePromise<PutReportGroupConfigResponse> {
|
|
4256
4194
|
return this.request(
|
|
4257
4195
|
'report',
|
|
4258
|
-
'
|
|
4196
|
+
'/report/group/{location_group}/config',
|
|
4259
4197
|
'put',
|
|
4260
4198
|
`/report/group/${location_group}/config`,
|
|
4261
4199
|
body,
|
|
@@ -4277,7 +4215,7 @@ export class ServiceClient extends BaseServiceClient {
|
|
|
4277
4215
|
): ResponsePromise<GetReportGroupConfigResponse> {
|
|
4278
4216
|
return this.request(
|
|
4279
4217
|
'report',
|
|
4280
|
-
'
|
|
4218
|
+
'/report/group/{location_group}/config',
|
|
4281
4219
|
'get',
|
|
4282
4220
|
`/report/group/${location_group}/config`,
|
|
4283
4221
|
null,
|
|
@@ -4297,7 +4235,7 @@ export class ServiceClient extends BaseServiceClient {
|
|
|
4297
4235
|
): ResponsePromise<DeleteReportGroupConfigResponse> {
|
|
4298
4236
|
return this.request(
|
|
4299
4237
|
'report',
|
|
4300
|
-
'
|
|
4238
|
+
'/report/group/{location_group}/config',
|
|
4301
4239
|
'delete',
|
|
4302
4240
|
`/report/group/${location_group}/config`,
|
|
4303
4241
|
null,
|
|
@@ -4319,7 +4257,7 @@ export class ServiceClient extends BaseServiceClient {
|
|
|
4319
4257
|
): ResponsePromise<GetReportGroupConfigDefaultResponse> {
|
|
4320
4258
|
return this.request(
|
|
4321
4259
|
'report',
|
|
4322
|
-
'
|
|
4260
|
+
'/report/group/{location_group}/config/default',
|
|
4323
4261
|
'get',
|
|
4324
4262
|
`/report/group/${location_group}/config/default`,
|
|
4325
4263
|
null,
|
|
@@ -4337,7 +4275,7 @@ export class ServiceClient extends BaseServiceClient {
|
|
|
4337
4275
|
query?: GetUserAuthQuery;
|
|
4338
4276
|
} & RequestOptions,
|
|
4339
4277
|
): ResponsePromise<GetUserAuthResponse> {
|
|
4340
|
-
return this.request('user', '
|
|
4278
|
+
return this.request('user', '/user/auth', 'get', `/user/auth`, null, options);
|
|
4341
4279
|
}
|
|
4342
4280
|
|
|
4343
4281
|
/**
|
|
@@ -4350,7 +4288,7 @@ export class ServiceClient extends BaseServiceClient {
|
|
|
4350
4288
|
body: PostUserAuthBody,
|
|
4351
4289
|
options?: RequestOptions,
|
|
4352
4290
|
): ResponsePromise<PostUserAuthResponse> {
|
|
4353
|
-
return this.request('user', '
|
|
4291
|
+
return this.request('user', '/user/auth', 'post', `/user/auth`, body, options);
|
|
4354
4292
|
}
|
|
4355
4293
|
|
|
4356
4294
|
/**
|
|
@@ -4363,7 +4301,7 @@ export class ServiceClient extends BaseServiceClient {
|
|
|
4363
4301
|
body: PostUserOauthBody,
|
|
4364
4302
|
options?: RequestOptions,
|
|
4365
4303
|
): ResponsePromise<PostUserOauthResponse> {
|
|
4366
|
-
return this.request('user', '
|
|
4304
|
+
return this.request('user', '/user/oauth', 'post', `/user/oauth`, body, options);
|
|
4367
4305
|
}
|
|
4368
4306
|
|
|
4369
4307
|
/**
|
|
@@ -4376,7 +4314,7 @@ export class ServiceClient extends BaseServiceClient {
|
|
|
4376
4314
|
body: PostUserZendeskBody,
|
|
4377
4315
|
options?: RequestOptions,
|
|
4378
4316
|
): ResponsePromise<PostUserZendeskResponse> {
|
|
4379
|
-
return this.request('user', '
|
|
4317
|
+
return this.request('user', '/user/zendesk', 'post', `/user/zendesk`, body, options);
|
|
4380
4318
|
}
|
|
4381
4319
|
|
|
4382
4320
|
/**
|
|
@@ -4391,7 +4329,7 @@ export class ServiceClient extends BaseServiceClient {
|
|
|
4391
4329
|
query: PostUserQuery;
|
|
4392
4330
|
} & RequestOptions,
|
|
4393
4331
|
): ResponsePromise<PostUserResponse> {
|
|
4394
|
-
return this.request('user', '
|
|
4332
|
+
return this.request('user', '/user', 'post', `/user`, body, options);
|
|
4395
4333
|
}
|
|
4396
4334
|
|
|
4397
4335
|
/**
|
|
@@ -4406,7 +4344,7 @@ export class ServiceClient extends BaseServiceClient {
|
|
|
4406
4344
|
query?: GetUserQuery;
|
|
4407
4345
|
} & RequestOptions,
|
|
4408
4346
|
): ResponsePromise<GetUserResponse> {
|
|
4409
|
-
return this.request('user', '
|
|
4347
|
+
return this.request('user', '/user/{id}', 'get', `/user/${id}`, null, options);
|
|
4410
4348
|
}
|
|
4411
4349
|
|
|
4412
4350
|
/**
|
|
@@ -4423,7 +4361,7 @@ export class ServiceClient extends BaseServiceClient {
|
|
|
4423
4361
|
query?: PutUserQuery;
|
|
4424
4362
|
} & RequestOptions,
|
|
4425
4363
|
): ResponsePromise<PutUserResponse> {
|
|
4426
|
-
return this.request('user', '
|
|
4364
|
+
return this.request('user', '/user/{id}', 'put', `/user/${id}`, body, options);
|
|
4427
4365
|
}
|
|
4428
4366
|
|
|
4429
4367
|
/**
|
|
@@ -4440,7 +4378,7 @@ export class ServiceClient extends BaseServiceClient {
|
|
|
4440
4378
|
query?: PatchUserQuery;
|
|
4441
4379
|
} & RequestOptions,
|
|
4442
4380
|
): ResponsePromise<PatchUserResponse> {
|
|
4443
|
-
return this.request('user', '
|
|
4381
|
+
return this.request('user', '/user/{id}', 'patch', `/user/${id}`, body, options);
|
|
4444
4382
|
}
|
|
4445
4383
|
|
|
4446
4384
|
/**
|
|
@@ -4455,7 +4393,7 @@ export class ServiceClient extends BaseServiceClient {
|
|
|
4455
4393
|
query?: DeleteUserQuery;
|
|
4456
4394
|
} & RequestOptions,
|
|
4457
4395
|
): ResponsePromise<DeleteUserResponse> {
|
|
4458
|
-
return this.request('user', '
|
|
4396
|
+
return this.request('user', '/user/{id}', 'delete', `/user/${id}`, null, options);
|
|
4459
4397
|
}
|
|
4460
4398
|
|
|
4461
4399
|
/**
|
|
@@ -4468,7 +4406,7 @@ export class ServiceClient extends BaseServiceClient {
|
|
|
4468
4406
|
body: PostUserKdsTokenBody,
|
|
4469
4407
|
options?: RequestOptions,
|
|
4470
4408
|
): ResponsePromise<PostUserKdsTokenResponse> {
|
|
4471
|
-
return this.request('user', '
|
|
4409
|
+
return this.request('user', '/user/device/auth', 'post', `/user/device/auth`, body, options);
|
|
4472
4410
|
}
|
|
4473
4411
|
|
|
4474
4412
|
/**
|
|
@@ -4481,7 +4419,7 @@ export class ServiceClient extends BaseServiceClient {
|
|
|
4481
4419
|
query?: GetUserKdsTokenQuery;
|
|
4482
4420
|
} & RequestOptions,
|
|
4483
4421
|
): ResponsePromise<GetUserKdsTokenResponse> {
|
|
4484
|
-
return this.request('user', '
|
|
4422
|
+
return this.request('user', '/user/device/auth', 'get', `/user/device/auth`, null, options);
|
|
4485
4423
|
}
|
|
4486
4424
|
|
|
4487
4425
|
/**
|
|
@@ -4496,7 +4434,7 @@ export class ServiceClient extends BaseServiceClient {
|
|
|
4496
4434
|
): ResponsePromise<DeleteUserDeviceAuthResponse> {
|
|
4497
4435
|
return this.request(
|
|
4498
4436
|
'user',
|
|
4499
|
-
'
|
|
4437
|
+
'/user/device/auth/{device_id}',
|
|
4500
4438
|
'delete',
|
|
4501
4439
|
`/user/device/auth/${device_id}`,
|
|
4502
4440
|
null,
|
|
@@ -4518,7 +4456,7 @@ export class ServiceClient extends BaseServiceClient {
|
|
|
4518
4456
|
): ResponsePromise<PatchUserAuthKdsResponse> {
|
|
4519
4457
|
return this.request(
|
|
4520
4458
|
'user',
|
|
4521
|
-
'
|
|
4459
|
+
'/user/device/auth/{device_id}',
|
|
4522
4460
|
'patch',
|
|
4523
4461
|
`/user/device/auth/${device_id}`,
|
|
4524
4462
|
body,
|
|
@@ -4540,7 +4478,7 @@ export class ServiceClient extends BaseServiceClient {
|
|
|
4540
4478
|
): ResponsePromise<PostUserChangePasswordResponse> {
|
|
4541
4479
|
return this.request(
|
|
4542
4480
|
'user',
|
|
4543
|
-
'
|
|
4481
|
+
'/user/{id}/changepassword',
|
|
4544
4482
|
'post',
|
|
4545
4483
|
`/user/${id}/changepassword`,
|
|
4546
4484
|
body,
|
|
@@ -4554,7 +4492,7 @@ export class ServiceClient extends BaseServiceClient {
|
|
|
4554
4492
|
* @param options - additional request options
|
|
4555
4493
|
*/
|
|
4556
4494
|
delete_user_logout(options?: RequestOptions): ResponsePromise<DeleteUserLogoutResponse> {
|
|
4557
|
-
return this.request('user', '
|
|
4495
|
+
return this.request('user', '/user/logout', 'delete', `/user/logout`, null, options);
|
|
4558
4496
|
}
|
|
4559
4497
|
|
|
4560
4498
|
/**
|
|
@@ -4573,7 +4511,7 @@ export class ServiceClient extends BaseServiceClient {
|
|
|
4573
4511
|
): ResponsePromise<PostUserAddSecretResponse> {
|
|
4574
4512
|
return this.request(
|
|
4575
4513
|
'user',
|
|
4576
|
-
'
|
|
4514
|
+
'/user/{id}/secret/{key}',
|
|
4577
4515
|
'post',
|
|
4578
4516
|
`/user/${id}/secret/${key}`,
|
|
4579
4517
|
body,
|
|
@@ -4597,7 +4535,7 @@ export class ServiceClient extends BaseServiceClient {
|
|
|
4597
4535
|
): ResponsePromise<GetUserSecretResponse> {
|
|
4598
4536
|
return this.request(
|
|
4599
4537
|
'user',
|
|
4600
|
-
'
|
|
4538
|
+
'/user/{id}/secret/{key}',
|
|
4601
4539
|
'get',
|
|
4602
4540
|
`/user/${id}/secret/${key}`,
|
|
4603
4541
|
null,
|
|
@@ -4619,7 +4557,7 @@ export class ServiceClient extends BaseServiceClient {
|
|
|
4619
4557
|
): ResponsePromise<PostUserResetPasswordResponse> {
|
|
4620
4558
|
return this.request(
|
|
4621
4559
|
'user',
|
|
4622
|
-
'
|
|
4560
|
+
'/user/forgotpassword',
|
|
4623
4561
|
'post',
|
|
4624
4562
|
`/user/forgotpassword`,
|
|
4625
4563
|
body,
|
|
@@ -4643,7 +4581,7 @@ export class ServiceClient extends BaseServiceClient {
|
|
|
4643
4581
|
): ResponsePromise<PostUserResetPasswordTokenResponse> {
|
|
4644
4582
|
return this.request(
|
|
4645
4583
|
'user',
|
|
4646
|
-
'
|
|
4584
|
+
'/user/{id}/resetpassword',
|
|
4647
4585
|
'post',
|
|
4648
4586
|
`/user/${id}/resetpassword`,
|
|
4649
4587
|
body,
|
|
@@ -4665,7 +4603,7 @@ export class ServiceClient extends BaseServiceClient {
|
|
|
4665
4603
|
): ResponsePromise<GetUserRealmUsersResponse> {
|
|
4666
4604
|
return this.request(
|
|
4667
4605
|
'user',
|
|
4668
|
-
'
|
|
4606
|
+
'/user/realm/{realm}',
|
|
4669
4607
|
'get',
|
|
4670
4608
|
`/user/realm/${realm}`,
|
|
4671
4609
|
null,
|
|
@@ -4687,7 +4625,7 @@ export class ServiceClient extends BaseServiceClient {
|
|
|
4687
4625
|
): ResponsePromise<GetUserPermissionsResponse> {
|
|
4688
4626
|
return this.request(
|
|
4689
4627
|
'user',
|
|
4690
|
-
'
|
|
4628
|
+
'/user/{id}/permissions',
|
|
4691
4629
|
'get',
|
|
4692
4630
|
`/user/${id}/permissions`,
|
|
4693
4631
|
null,
|
|
@@ -4711,7 +4649,7 @@ export class ServiceClient extends BaseServiceClient {
|
|
|
4711
4649
|
): ResponsePromise<PutUserPermissionsResponse> {
|
|
4712
4650
|
return this.request(
|
|
4713
4651
|
'user',
|
|
4714
|
-
'
|
|
4652
|
+
'/user/{id}/permissions',
|
|
4715
4653
|
'put',
|
|
4716
4654
|
`/user/${id}/permissions`,
|
|
4717
4655
|
body,
|
|
@@ -4731,7 +4669,7 @@ export class ServiceClient extends BaseServiceClient {
|
|
|
4731
4669
|
body: PostUserCheckInBody,
|
|
4732
4670
|
options?: RequestOptions,
|
|
4733
4671
|
): ResponsePromise<PostUserCheckInResponse> {
|
|
4734
|
-
return this.request('user', '
|
|
4672
|
+
return this.request('user', '/user/{id}/checkin', 'post', `/user/${id}/checkin`, body, options);
|
|
4735
4673
|
}
|
|
4736
4674
|
|
|
4737
4675
|
/**
|
|
@@ -4746,7 +4684,7 @@ export class ServiceClient extends BaseServiceClient {
|
|
|
4746
4684
|
): ResponsePromise<GetUserSearchCheckInResponse> {
|
|
4747
4685
|
return this.request(
|
|
4748
4686
|
'user',
|
|
4749
|
-
'
|
|
4687
|
+
'/user/checkin/search',
|
|
4750
4688
|
'get',
|
|
4751
4689
|
`/user/checkin/search`,
|
|
4752
4690
|
null,
|
|
@@ -4766,7 +4704,7 @@ export class ServiceClient extends BaseServiceClient {
|
|
|
4766
4704
|
): ResponsePromise<PostUserSendEmailVerificationResponse> {
|
|
4767
4705
|
return this.request(
|
|
4768
4706
|
'user',
|
|
4769
|
-
'
|
|
4707
|
+
'/user/{id}/verification',
|
|
4770
4708
|
'post',
|
|
4771
4709
|
`/user/${id}/verification`,
|
|
4772
4710
|
null,
|
|
@@ -4788,7 +4726,7 @@ export class ServiceClient extends BaseServiceClient {
|
|
|
4788
4726
|
): ResponsePromise<PutUserVerifyUserEmailResponse> {
|
|
4789
4727
|
return this.request(
|
|
4790
4728
|
'user',
|
|
4791
|
-
'
|
|
4729
|
+
'/user/{id}/verification/confirm',
|
|
4792
4730
|
'put',
|
|
4793
4731
|
`/user/${id}/verification/confirm`,
|
|
4794
4732
|
body,
|
|
@@ -4806,7 +4744,7 @@ export class ServiceClient extends BaseServiceClient {
|
|
|
4806
4744
|
body: PostUserGuestUserBody,
|
|
4807
4745
|
options?: RequestOptions,
|
|
4808
4746
|
): ResponsePromise<PostUserGuestUserResponse> {
|
|
4809
|
-
return this.request('user', '
|
|
4747
|
+
return this.request('user', '/user/guest', 'post', `/user/guest`, body, options);
|
|
4810
4748
|
}
|
|
4811
4749
|
|
|
4812
4750
|
/**
|
|
@@ -4819,14 +4757,7 @@ export class ServiceClient extends BaseServiceClient {
|
|
|
4819
4757
|
body: PostUserGuestTokenBody,
|
|
4820
4758
|
options?: RequestOptions,
|
|
4821
4759
|
): ResponsePromise<PostUserGuestTokenResponse> {
|
|
4822
|
-
return this.request(
|
|
4823
|
-
'user',
|
|
4824
|
-
'post_user_guest_token',
|
|
4825
|
-
'post',
|
|
4826
|
-
`/user/guest/token`,
|
|
4827
|
-
body,
|
|
4828
|
-
options,
|
|
4829
|
-
);
|
|
4760
|
+
return this.request('user', '/user/guest/token', 'post', `/user/guest/token`, body, options);
|
|
4830
4761
|
}
|
|
4831
4762
|
|
|
4832
4763
|
/**
|
|
@@ -4841,7 +4772,7 @@ export class ServiceClient extends BaseServiceClient {
|
|
|
4841
4772
|
): ResponsePromise<PostUserEmbedurlResponse> {
|
|
4842
4773
|
return this.request(
|
|
4843
4774
|
'user',
|
|
4844
|
-
'
|
|
4775
|
+
'/user/looker/embedurl',
|
|
4845
4776
|
'post',
|
|
4846
4777
|
`/user/looker/embedurl`,
|
|
4847
4778
|
body,
|
|
@@ -4859,7 +4790,7 @@ export class ServiceClient extends BaseServiceClient {
|
|
|
4859
4790
|
query: GetUserProfileQuery;
|
|
4860
4791
|
} & RequestOptions,
|
|
4861
4792
|
): ResponsePromise<GetUserProfileResponse> {
|
|
4862
|
-
return this.request('user', '
|
|
4793
|
+
return this.request('user', '/user/profile', 'get', `/user/profile`, null, options);
|
|
4863
4794
|
}
|
|
4864
4795
|
|
|
4865
4796
|
/**
|
|
@@ -4874,7 +4805,7 @@ export class ServiceClient extends BaseServiceClient {
|
|
|
4874
4805
|
query?: GetCalendarQuery;
|
|
4875
4806
|
} & RequestOptions,
|
|
4876
4807
|
): ResponsePromise<GetCalendarResponse> {
|
|
4877
|
-
return this.request('calendar', '
|
|
4808
|
+
return this.request('calendar', '/calendar/{id}', 'get', `/calendar/${id}`, null, options);
|
|
4878
4809
|
}
|
|
4879
4810
|
|
|
4880
4811
|
/**
|
|
@@ -4889,7 +4820,7 @@ export class ServiceClient extends BaseServiceClient {
|
|
|
4889
4820
|
body: PutCalendarBody,
|
|
4890
4821
|
options?: RequestOptions,
|
|
4891
4822
|
): ResponsePromise<PutCalendarResponse> {
|
|
4892
|
-
return this.request('calendar', '
|
|
4823
|
+
return this.request('calendar', '/calendar/{id}', 'put', `/calendar/${id}`, body, options);
|
|
4893
4824
|
}
|
|
4894
4825
|
|
|
4895
4826
|
/**
|
|
@@ -4899,7 +4830,7 @@ export class ServiceClient extends BaseServiceClient {
|
|
|
4899
4830
|
* @param options - additional request options
|
|
4900
4831
|
*/
|
|
4901
4832
|
delete_calendar(id: string, options?: RequestOptions): ResponsePromise<DeleteCalendarResponse> {
|
|
4902
|
-
return this.request('calendar', '
|
|
4833
|
+
return this.request('calendar', '/calendar/{id}', 'delete', `/calendar/${id}`, null, options);
|
|
4903
4834
|
}
|
|
4904
4835
|
|
|
4905
4836
|
/**
|
|
@@ -4916,7 +4847,7 @@ export class ServiceClient extends BaseServiceClient {
|
|
|
4916
4847
|
): ResponsePromise<GetCalendarCdlResponse> {
|
|
4917
4848
|
return this.request(
|
|
4918
4849
|
'calendar',
|
|
4919
|
-
'
|
|
4850
|
+
'/calendar/{id}/cdl',
|
|
4920
4851
|
'get',
|
|
4921
4852
|
`/calendar/${id}/cdl`,
|
|
4922
4853
|
null,
|
|
@@ -4936,7 +4867,7 @@ export class ServiceClient extends BaseServiceClient {
|
|
|
4936
4867
|
): ResponsePromise<GetCalendarSwaggerResponse> {
|
|
4937
4868
|
return this.request(
|
|
4938
4869
|
'calendar',
|
|
4939
|
-
'
|
|
4870
|
+
'/calendar/swagger.json',
|
|
4940
4871
|
'get',
|
|
4941
4872
|
`/calendar/swagger.json`,
|
|
4942
4873
|
null,
|
|
@@ -4956,7 +4887,7 @@ export class ServiceClient extends BaseServiceClient {
|
|
|
4956
4887
|
): ResponsePromise<PostCalendarSyncResponse> {
|
|
4957
4888
|
return this.request(
|
|
4958
4889
|
'calendar',
|
|
4959
|
-
'
|
|
4890
|
+
'/calendar/{id}/sync',
|
|
4960
4891
|
'post',
|
|
4961
4892
|
`/calendar/${id}/sync`,
|
|
4962
4893
|
null,
|
|
@@ -4971,7 +4902,7 @@ export class ServiceClient extends BaseServiceClient {
|
|
|
4971
4902
|
* @param options - additional request options
|
|
4972
4903
|
*/
|
|
4973
4904
|
post_file(body: PostFileBody, options?: RequestOptions): ResponsePromise<PostFileResponse> {
|
|
4974
|
-
return this.request('file', '
|
|
4905
|
+
return this.request('file', '/file', 'post', `/file`, body, options);
|
|
4975
4906
|
}
|
|
4976
4907
|
|
|
4977
4908
|
/**
|
|
@@ -4981,7 +4912,7 @@ export class ServiceClient extends BaseServiceClient {
|
|
|
4981
4912
|
* @param options - additional request options
|
|
4982
4913
|
*/
|
|
4983
4914
|
delete_file(body: DeleteFileBody, options?: RequestOptions): ResponsePromise<DeleteFileResponse> {
|
|
4984
|
-
return this.request('file', '
|
|
4915
|
+
return this.request('file', '/file', 'delete', `/file`, body, options);
|
|
4985
4916
|
}
|
|
4986
4917
|
|
|
4987
4918
|
/**
|
|
@@ -4998,7 +4929,7 @@ export class ServiceClient extends BaseServiceClient {
|
|
|
4998
4929
|
): ResponsePromise<GetMenuClientResponse> {
|
|
4999
4930
|
return this.request(
|
|
5000
4931
|
'menu',
|
|
5001
|
-
'
|
|
4932
|
+
'/menu/client/{client_id}',
|
|
5002
4933
|
'get',
|
|
5003
4934
|
`/menu/client/${client_id}`,
|
|
5004
4935
|
null,
|
|
@@ -5016,7 +4947,7 @@ export class ServiceClient extends BaseServiceClient {
|
|
|
5016
4947
|
query: GetMenusQuery;
|
|
5017
4948
|
} & RequestOptions,
|
|
5018
4949
|
): ResponsePromise<GetMenusResponse> {
|
|
5019
|
-
return this.request('menu', '
|
|
4950
|
+
return this.request('menu', '/menu', 'get', `/menu`, null, options);
|
|
5020
4951
|
}
|
|
5021
4952
|
|
|
5022
4953
|
/**
|
|
@@ -5026,7 +4957,7 @@ export class ServiceClient extends BaseServiceClient {
|
|
|
5026
4957
|
* @param options - additional request options
|
|
5027
4958
|
*/
|
|
5028
4959
|
create_menu(body: CreateMenuBody, options?: RequestOptions): ResponsePromise<CreateMenuResponse> {
|
|
5029
|
-
return this.request('menu', '
|
|
4960
|
+
return this.request('menu', '/menu', 'post', `/menu`, body, options);
|
|
5030
4961
|
}
|
|
5031
4962
|
|
|
5032
4963
|
/**
|
|
@@ -5041,7 +4972,7 @@ export class ServiceClient extends BaseServiceClient {
|
|
|
5041
4972
|
query?: GetMenuHeadersQuery;
|
|
5042
4973
|
} & RequestOptions,
|
|
5043
4974
|
): ResponsePromise<GetMenuHeadersResponse> {
|
|
5044
|
-
return this.request('menu', '
|
|
4975
|
+
return this.request('menu', '/menu/{id}', 'head', `/menu/${id}`, null, options);
|
|
5045
4976
|
}
|
|
5046
4977
|
|
|
5047
4978
|
/**
|
|
@@ -5056,7 +4987,7 @@ export class ServiceClient extends BaseServiceClient {
|
|
|
5056
4987
|
query?: GetMenuQuery;
|
|
5057
4988
|
} & RequestOptions,
|
|
5058
4989
|
): ResponsePromise<GetMenuResponse> {
|
|
5059
|
-
return this.request('menu', '
|
|
4990
|
+
return this.request('menu', '/menu/{id}', 'get', `/menu/${id}`, null, options);
|
|
5060
4991
|
}
|
|
5061
4992
|
|
|
5062
4993
|
/**
|
|
@@ -5073,7 +5004,7 @@ export class ServiceClient extends BaseServiceClient {
|
|
|
5073
5004
|
query?: UpdateMenuQuery;
|
|
5074
5005
|
} & RequestOptions,
|
|
5075
5006
|
): ResponsePromise<UpdateMenuResponse> {
|
|
5076
|
-
return this.request('menu', '
|
|
5007
|
+
return this.request('menu', '/menu/{id}', 'put', `/menu/${id}`, body, options);
|
|
5077
5008
|
}
|
|
5078
5009
|
|
|
5079
5010
|
/**
|
|
@@ -5088,7 +5019,7 @@ export class ServiceClient extends BaseServiceClient {
|
|
|
5088
5019
|
query?: DeleteMenuQuery;
|
|
5089
5020
|
} & RequestOptions,
|
|
5090
5021
|
): ResponsePromise<DeleteMenuResponse> {
|
|
5091
|
-
return this.request('menu', '
|
|
5022
|
+
return this.request('menu', '/menu/{id}', 'delete', `/menu/${id}`, null, options);
|
|
5092
5023
|
}
|
|
5093
5024
|
|
|
5094
5025
|
/**
|
|
@@ -5105,7 +5036,7 @@ export class ServiceClient extends BaseServiceClient {
|
|
|
5105
5036
|
query?: PatchMenuQuery;
|
|
5106
5037
|
} & RequestOptions,
|
|
5107
5038
|
): ResponsePromise<PatchMenuResponse> {
|
|
5108
|
-
return this.request('menu', '
|
|
5039
|
+
return this.request('menu', '/menu/{id}', 'patch', `/menu/${id}`, body, options);
|
|
5109
5040
|
}
|
|
5110
5041
|
|
|
5111
5042
|
/**
|
|
@@ -5115,7 +5046,7 @@ export class ServiceClient extends BaseServiceClient {
|
|
|
5115
5046
|
* @param options - additional request options
|
|
5116
5047
|
*/
|
|
5117
5048
|
import_menu(body: ImportMenuBody, options?: RequestOptions): ResponsePromise<ImportMenuResponse> {
|
|
5118
|
-
return this.request('menu', '
|
|
5049
|
+
return this.request('menu', '/menu/import', 'post', `/menu/import`, body, options);
|
|
5119
5050
|
}
|
|
5120
5051
|
|
|
5121
5052
|
/**
|
|
@@ -5130,7 +5061,7 @@ export class ServiceClient extends BaseServiceClient {
|
|
|
5130
5061
|
query?: GetItemQuery;
|
|
5131
5062
|
} & RequestOptions,
|
|
5132
5063
|
): ResponsePromise<GetItemResponse> {
|
|
5133
|
-
return this.request('menu', '
|
|
5064
|
+
return this.request('menu', '/menu/item/{id}', 'get', `/menu/item/${id}`, null, options);
|
|
5134
5065
|
}
|
|
5135
5066
|
|
|
5136
5067
|
/**
|
|
@@ -5140,7 +5071,7 @@ export class ServiceClient extends BaseServiceClient {
|
|
|
5140
5071
|
* @param options - additional request options
|
|
5141
5072
|
*/
|
|
5142
5073
|
delete_item(id: string, options?: RequestOptions): ResponsePromise<DeleteItemResponse> {
|
|
5143
|
-
return this.request('menu', '
|
|
5074
|
+
return this.request('menu', '/menu/item/{id}', 'delete', `/menu/item/${id}`, null, options);
|
|
5144
5075
|
}
|
|
5145
5076
|
|
|
5146
5077
|
/**
|
|
@@ -5150,7 +5081,7 @@ export class ServiceClient extends BaseServiceClient {
|
|
|
5150
5081
|
* @param options - additional request options
|
|
5151
5082
|
*/
|
|
5152
5083
|
create_item(body: CreateItemBody, options?: RequestOptions): ResponsePromise<CreateItemResponse> {
|
|
5153
|
-
return this.request('menu', '
|
|
5084
|
+
return this.request('menu', '/menu/item', 'post', `/menu/item`, body, options);
|
|
5154
5085
|
}
|
|
5155
5086
|
|
|
5156
5087
|
/**
|
|
@@ -5165,7 +5096,7 @@ export class ServiceClient extends BaseServiceClient {
|
|
|
5165
5096
|
query: GetMenuItemsQuery;
|
|
5166
5097
|
} & RequestOptions,
|
|
5167
5098
|
): ResponsePromise<GetMenuItemsResponse> {
|
|
5168
|
-
return this.request('menu', '
|
|
5099
|
+
return this.request('menu', '/menu/{id}/items', 'get', `/menu/${id}/items`, null, options);
|
|
5169
5100
|
}
|
|
5170
5101
|
|
|
5171
5102
|
/**
|
|
@@ -5182,7 +5113,7 @@ export class ServiceClient extends BaseServiceClient {
|
|
|
5182
5113
|
): ResponsePromise<PostMenuRecommendedResponse> {
|
|
5183
5114
|
return this.request(
|
|
5184
5115
|
'menu',
|
|
5185
|
-
'
|
|
5116
|
+
'/menu/{id}/recommended',
|
|
5186
5117
|
'post',
|
|
5187
5118
|
`/menu/${id}/recommended`,
|
|
5188
5119
|
body,
|
|
@@ -5202,7 +5133,7 @@ export class ServiceClient extends BaseServiceClient {
|
|
|
5202
5133
|
): ResponsePromise<ImportItemsCanteenResponse> {
|
|
5203
5134
|
return this.request(
|
|
5204
5135
|
'menu',
|
|
5205
|
-
'
|
|
5136
|
+
'/menu/items/import/{location}',
|
|
5206
5137
|
'post',
|
|
5207
5138
|
`/menu/items/import/${location}`,
|
|
5208
5139
|
null,
|
|
@@ -5224,7 +5155,7 @@ export class ServiceClient extends BaseServiceClient {
|
|
|
5224
5155
|
): ResponsePromise<GetLocationItemsResponse> {
|
|
5225
5156
|
return this.request(
|
|
5226
5157
|
'menu',
|
|
5227
|
-
'
|
|
5158
|
+
'/menu/items/location/{location}',
|
|
5228
5159
|
'get',
|
|
5229
5160
|
`/menu/items/location/${location}`,
|
|
5230
5161
|
null,
|
|
@@ -5246,7 +5177,7 @@ export class ServiceClient extends BaseServiceClient {
|
|
|
5246
5177
|
): ResponsePromise<GetLocationItemRandomResponse> {
|
|
5247
5178
|
return this.request(
|
|
5248
5179
|
'menu',
|
|
5249
|
-
'
|
|
5180
|
+
'/menu/item/random/location/{location}',
|
|
5250
5181
|
'get',
|
|
5251
5182
|
`/menu/item/random/location/${location}`,
|
|
5252
5183
|
null,
|
|
@@ -5268,7 +5199,7 @@ export class ServiceClient extends BaseServiceClient {
|
|
|
5268
5199
|
): ResponsePromise<GetLocationItemsRandomResponse> {
|
|
5269
5200
|
return this.request(
|
|
5270
5201
|
'menu',
|
|
5271
|
-
'
|
|
5202
|
+
'/menu/items/random/location/{location}',
|
|
5272
5203
|
'get',
|
|
5273
5204
|
`/menu/items/random/location/${location}`,
|
|
5274
5205
|
null,
|
|
@@ -5288,7 +5219,14 @@ export class ServiceClient extends BaseServiceClient {
|
|
|
5288
5219
|
query?: GetSectorMenusQuery;
|
|
5289
5220
|
} & RequestOptions,
|
|
5290
5221
|
): ResponsePromise<GetSectorMenusResponse> {
|
|
5291
|
-
return this.request(
|
|
5222
|
+
return this.request(
|
|
5223
|
+
'menu',
|
|
5224
|
+
'/menu/sector/{sector}',
|
|
5225
|
+
'get',
|
|
5226
|
+
`/menu/sector/${sector}`,
|
|
5227
|
+
null,
|
|
5228
|
+
options,
|
|
5229
|
+
);
|
|
5292
5230
|
}
|
|
5293
5231
|
|
|
5294
5232
|
/**
|
|
@@ -5305,7 +5243,7 @@ export class ServiceClient extends BaseServiceClient {
|
|
|
5305
5243
|
): ResponsePromise<GetCompanyMenusResponse> {
|
|
5306
5244
|
return this.request(
|
|
5307
5245
|
'menu',
|
|
5308
|
-
'
|
|
5246
|
+
'/menu/company/{company}',
|
|
5309
5247
|
'get',
|
|
5310
5248
|
`/menu/company/${company}`,
|
|
5311
5249
|
null,
|
|
@@ -5325,7 +5263,7 @@ export class ServiceClient extends BaseServiceClient {
|
|
|
5325
5263
|
): ResponsePromise<CreateModifierGroupResponse> {
|
|
5326
5264
|
return this.request(
|
|
5327
5265
|
'menu',
|
|
5328
|
-
'
|
|
5266
|
+
'/menu/modifier/group',
|
|
5329
5267
|
'post',
|
|
5330
5268
|
`/menu/modifier/group`,
|
|
5331
5269
|
body,
|
|
@@ -5347,7 +5285,7 @@ export class ServiceClient extends BaseServiceClient {
|
|
|
5347
5285
|
): ResponsePromise<GetModifierGroupResponse> {
|
|
5348
5286
|
return this.request(
|
|
5349
5287
|
'menu',
|
|
5350
|
-
'
|
|
5288
|
+
'/menu/modifier/group/{id}',
|
|
5351
5289
|
'get',
|
|
5352
5290
|
`/menu/modifier/group/${id}`,
|
|
5353
5291
|
null,
|
|
@@ -5369,7 +5307,7 @@ export class ServiceClient extends BaseServiceClient {
|
|
|
5369
5307
|
): ResponsePromise<UpdateModifierGroupResponse> {
|
|
5370
5308
|
return this.request(
|
|
5371
5309
|
'menu',
|
|
5372
|
-
'
|
|
5310
|
+
'/menu/modifier/group/{id}',
|
|
5373
5311
|
'put',
|
|
5374
5312
|
`/menu/modifier/group/${id}`,
|
|
5375
5313
|
body,
|
|
@@ -5389,7 +5327,7 @@ export class ServiceClient extends BaseServiceClient {
|
|
|
5389
5327
|
): ResponsePromise<DeleteModifierGroupResponse> {
|
|
5390
5328
|
return this.request(
|
|
5391
5329
|
'menu',
|
|
5392
|
-
'
|
|
5330
|
+
'/menu/modifier/group/{id}',
|
|
5393
5331
|
'delete',
|
|
5394
5332
|
`/menu/modifier/group/${id}`,
|
|
5395
5333
|
null,
|
|
@@ -5411,7 +5349,7 @@ export class ServiceClient extends BaseServiceClient {
|
|
|
5411
5349
|
): ResponsePromise<GetCompanyModifierGroupsResponse> {
|
|
5412
5350
|
return this.request(
|
|
5413
5351
|
'menu',
|
|
5414
|
-
'
|
|
5352
|
+
'/menu/modifier/group/company/{company}',
|
|
5415
5353
|
'get',
|
|
5416
5354
|
`/menu/modifier/group/company/${company}`,
|
|
5417
5355
|
null,
|
|
@@ -5433,7 +5371,7 @@ export class ServiceClient extends BaseServiceClient {
|
|
|
5433
5371
|
): ResponsePromise<GetCompanyModifierGroupsExportResponse> {
|
|
5434
5372
|
return this.request(
|
|
5435
5373
|
'menu',
|
|
5436
|
-
'
|
|
5374
|
+
'/menu/modifier/group/company/{company}/export',
|
|
5437
5375
|
'get',
|
|
5438
5376
|
`/menu/modifier/group/company/${company}/export`,
|
|
5439
5377
|
null,
|
|
@@ -5453,7 +5391,7 @@ export class ServiceClient extends BaseServiceClient {
|
|
|
5453
5391
|
query?: GetMenuExportQuery;
|
|
5454
5392
|
} & RequestOptions,
|
|
5455
5393
|
): ResponsePromise<GetMenuExportResponse> {
|
|
5456
|
-
return this.request('menu', '
|
|
5394
|
+
return this.request('menu', '/menu/{id}/export', 'get', `/menu/${id}/export`, null, options);
|
|
5457
5395
|
}
|
|
5458
5396
|
|
|
5459
5397
|
/**
|
|
@@ -5470,7 +5408,7 @@ export class ServiceClient extends BaseServiceClient {
|
|
|
5470
5408
|
): ResponsePromise<GetMenuPartialGroupsResponse> {
|
|
5471
5409
|
return this.request(
|
|
5472
5410
|
'menu',
|
|
5473
|
-
'
|
|
5411
|
+
'/menu/partial/{id}/groups',
|
|
5474
5412
|
'get',
|
|
5475
5413
|
`/menu/partial/${id}/groups`,
|
|
5476
5414
|
null,
|
|
@@ -5494,7 +5432,7 @@ export class ServiceClient extends BaseServiceClient {
|
|
|
5494
5432
|
): ResponsePromise<GetMenuPartialGroupItemsResponse> {
|
|
5495
5433
|
return this.request(
|
|
5496
5434
|
'menu',
|
|
5497
|
-
'
|
|
5435
|
+
'/menu/partial/{id}/group/{group_id}/items',
|
|
5498
5436
|
'get',
|
|
5499
5437
|
`/menu/partial/${id}/group/${group_id}/items`,
|
|
5500
5438
|
null,
|
|
@@ -5520,7 +5458,7 @@ export class ServiceClient extends BaseServiceClient {
|
|
|
5520
5458
|
): ResponsePromise<PostMenuPartialGroupItemOptionsResponse> {
|
|
5521
5459
|
return this.request(
|
|
5522
5460
|
'menu',
|
|
5523
|
-
'
|
|
5461
|
+
'/menu/partial/{id}/group/{group_id}/item/options',
|
|
5524
5462
|
'post',
|
|
5525
5463
|
`/menu/partial/${id}/group/${group_id}/item/options`,
|
|
5526
5464
|
body,
|
|
@@ -5540,7 +5478,7 @@ export class ServiceClient extends BaseServiceClient {
|
|
|
5540
5478
|
): ResponsePromise<PostMenuV3LocalMenuGroupResponse> {
|
|
5541
5479
|
return this.request(
|
|
5542
5480
|
'menu',
|
|
5543
|
-
'
|
|
5481
|
+
'/menu/v3/local-menu-group',
|
|
5544
5482
|
'post',
|
|
5545
5483
|
`/menu/v3/local-menu-group`,
|
|
5546
5484
|
body,
|
|
@@ -5562,7 +5500,7 @@ export class ServiceClient extends BaseServiceClient {
|
|
|
5562
5500
|
): ResponsePromise<GetMenuV3LocalMenuGroupResponse> {
|
|
5563
5501
|
return this.request(
|
|
5564
5502
|
'menu',
|
|
5565
|
-
'
|
|
5503
|
+
'/menu/v3/local-menu-group/{id}',
|
|
5566
5504
|
'get',
|
|
5567
5505
|
`/menu/v3/local-menu-group/${id}`,
|
|
5568
5506
|
null,
|
|
@@ -5584,7 +5522,7 @@ export class ServiceClient extends BaseServiceClient {
|
|
|
5584
5522
|
): ResponsePromise<PatchMenuV3LocalMenuGroupResponse> {
|
|
5585
5523
|
return this.request(
|
|
5586
5524
|
'menu',
|
|
5587
|
-
'
|
|
5525
|
+
'/menu/v3/local-menu-group/{id}',
|
|
5588
5526
|
'patch',
|
|
5589
5527
|
`/menu/v3/local-menu-group/${id}`,
|
|
5590
5528
|
body,
|
|
@@ -5606,7 +5544,7 @@ export class ServiceClient extends BaseServiceClient {
|
|
|
5606
5544
|
): ResponsePromise<DeleteMenuV3LocalMenuGroupResponse> {
|
|
5607
5545
|
return this.request(
|
|
5608
5546
|
'menu',
|
|
5609
|
-
'
|
|
5547
|
+
'/menu/v3/local-menu-group/{id}',
|
|
5610
5548
|
'delete',
|
|
5611
5549
|
`/menu/v3/local-menu-group/${id}`,
|
|
5612
5550
|
null,
|
|
@@ -5626,7 +5564,7 @@ export class ServiceClient extends BaseServiceClient {
|
|
|
5626
5564
|
): ResponsePromise<GetMenuV3LocalMenuGroupsResponse> {
|
|
5627
5565
|
return this.request(
|
|
5628
5566
|
'menu',
|
|
5629
|
-
'
|
|
5567
|
+
'/menu/v3/local-menu-groups',
|
|
5630
5568
|
'get',
|
|
5631
5569
|
`/menu/v3/local-menu-groups`,
|
|
5632
5570
|
null,
|
|
@@ -5646,7 +5584,7 @@ export class ServiceClient extends BaseServiceClient {
|
|
|
5646
5584
|
): ResponsePromise<PostMenuV3LocalMenuGroupsResponse> {
|
|
5647
5585
|
return this.request(
|
|
5648
5586
|
'menu',
|
|
5649
|
-
'
|
|
5587
|
+
'/menu/v3/local-menu-groups',
|
|
5650
5588
|
'post',
|
|
5651
5589
|
`/menu/v3/local-menu-groups`,
|
|
5652
5590
|
body,
|
|
@@ -5666,7 +5604,7 @@ export class ServiceClient extends BaseServiceClient {
|
|
|
5666
5604
|
): ResponsePromise<GetMenuV3LocalMenuGroupsCountResponse> {
|
|
5667
5605
|
return this.request(
|
|
5668
5606
|
'menu',
|
|
5669
|
-
'
|
|
5607
|
+
'/menu/v3/local-menu-groups/count',
|
|
5670
5608
|
'get',
|
|
5671
5609
|
`/menu/v3/local-menu-groups/count`,
|
|
5672
5610
|
null,
|
|
@@ -5686,7 +5624,7 @@ export class ServiceClient extends BaseServiceClient {
|
|
|
5686
5624
|
): ResponsePromise<PostMenuV3LocalMenuGroupRecoverResponse> {
|
|
5687
5625
|
return this.request(
|
|
5688
5626
|
'menu',
|
|
5689
|
-
'
|
|
5627
|
+
'/menu/v3/local-menu-group/{id}/recover',
|
|
5690
5628
|
'post',
|
|
5691
5629
|
`/menu/v3/local-menu-group/${id}/recover`,
|
|
5692
5630
|
null,
|
|
@@ -5708,7 +5646,7 @@ export class ServiceClient extends BaseServiceClient {
|
|
|
5708
5646
|
): ResponsePromise<GetMenuV3DraftLocalMenuGroupBrandsResponse> {
|
|
5709
5647
|
return this.request(
|
|
5710
5648
|
'menu',
|
|
5711
|
-
'
|
|
5649
|
+
'/menu/v3/draft/local-menu-group/{id}/brands',
|
|
5712
5650
|
'get',
|
|
5713
5651
|
`/menu/v3/draft/local-menu-group/${id}/brands`,
|
|
5714
5652
|
null,
|
|
@@ -5716,6 +5654,28 @@ export class ServiceClient extends BaseServiceClient {
|
|
|
5716
5654
|
);
|
|
5717
5655
|
}
|
|
5718
5656
|
|
|
5657
|
+
/**
|
|
5658
|
+
* GET /menu/v3/draft/local-menu-group/{id}/items
|
|
5659
|
+
*
|
|
5660
|
+
* @param id
|
|
5661
|
+
* @param options - additional request options
|
|
5662
|
+
*/
|
|
5663
|
+
get_menu_v3_draft_local_menu_group_items(
|
|
5664
|
+
id: string,
|
|
5665
|
+
options?: {
|
|
5666
|
+
query?: GetMenuV3DraftLocalMenuGroupItemsQuery;
|
|
5667
|
+
} & RequestOptions,
|
|
5668
|
+
): ResponsePromise<GetMenuV3DraftLocalMenuGroupItemsResponse> {
|
|
5669
|
+
return this.request(
|
|
5670
|
+
'menu',
|
|
5671
|
+
'/menu/v3/draft/local-menu-group/{id}/items',
|
|
5672
|
+
'get',
|
|
5673
|
+
`/menu/v3/draft/local-menu-group/${id}/items`,
|
|
5674
|
+
null,
|
|
5675
|
+
options,
|
|
5676
|
+
);
|
|
5677
|
+
}
|
|
5678
|
+
|
|
5719
5679
|
/**
|
|
5720
5680
|
* GET /menu/v3/local-menu-group/{id}/brands
|
|
5721
5681
|
*
|
|
@@ -5730,7 +5690,7 @@ export class ServiceClient extends BaseServiceClient {
|
|
|
5730
5690
|
): ResponsePromise<GetMenuV3LocalMenuGroupBrandsResponse> {
|
|
5731
5691
|
return this.request(
|
|
5732
5692
|
'menu',
|
|
5733
|
-
'
|
|
5693
|
+
'/menu/v3/local-menu-group/{id}/brands',
|
|
5734
5694
|
'get',
|
|
5735
5695
|
`/menu/v3/local-menu-group/${id}/brands`,
|
|
5736
5696
|
null,
|
|
@@ -5752,7 +5712,7 @@ export class ServiceClient extends BaseServiceClient {
|
|
|
5752
5712
|
): ResponsePromise<GetMenuV3LocalMenuGroupAllowedGlobalBrandsResponse> {
|
|
5753
5713
|
return this.request(
|
|
5754
5714
|
'menu',
|
|
5755
|
-
'
|
|
5715
|
+
'/menu/v3/local-menu-group/{id}/allowed-global-brands',
|
|
5756
5716
|
'get',
|
|
5757
5717
|
`/menu/v3/local-menu-group/${id}/allowed-global-brands`,
|
|
5758
5718
|
null,
|
|
@@ -5774,7 +5734,7 @@ export class ServiceClient extends BaseServiceClient {
|
|
|
5774
5734
|
): ResponsePromise<PostMenuV3LocalMenuGroupImportBrandsResponse> {
|
|
5775
5735
|
return this.request(
|
|
5776
5736
|
'menu',
|
|
5777
|
-
'
|
|
5737
|
+
'/menu/v3/local-menu-group/{id}/import-brands',
|
|
5778
5738
|
'post',
|
|
5779
5739
|
`/menu/v3/local-menu-group/${id}/import-brands`,
|
|
5780
5740
|
null,
|
|
@@ -5796,7 +5756,7 @@ export class ServiceClient extends BaseServiceClient {
|
|
|
5796
5756
|
): ResponsePromise<GetMenuV3LocalMenuGroupSiteResponse> {
|
|
5797
5757
|
return this.request(
|
|
5798
5758
|
'menu',
|
|
5799
|
-
'
|
|
5759
|
+
'/menu/v3/local-menu-group/{id}/site',
|
|
5800
5760
|
'get',
|
|
5801
5761
|
`/menu/v3/local-menu-group/${id}/site`,
|
|
5802
5762
|
null,
|
|
@@ -5818,7 +5778,7 @@ export class ServiceClient extends BaseServiceClient {
|
|
|
5818
5778
|
): ResponsePromise<GetMenuV3LocalMenuGroupMenuGroupResponse> {
|
|
5819
5779
|
return this.request(
|
|
5820
5780
|
'menu',
|
|
5821
|
-
'
|
|
5781
|
+
'/menu/v3/local-menu-group/{id}/menu-group',
|
|
5822
5782
|
'get',
|
|
5823
5783
|
`/menu/v3/local-menu-group/${id}/menu-group`,
|
|
5824
5784
|
null,
|
|
@@ -5838,7 +5798,7 @@ export class ServiceClient extends BaseServiceClient {
|
|
|
5838
5798
|
): ResponsePromise<PostMenuV3LocalMenuGroupsSiteGroupsResponse> {
|
|
5839
5799
|
return this.request(
|
|
5840
5800
|
'menu',
|
|
5841
|
-
'
|
|
5801
|
+
'/menu/v3/local-menu-groups/site-groups',
|
|
5842
5802
|
'post',
|
|
5843
5803
|
`/menu/v3/local-menu-groups/site-groups`,
|
|
5844
5804
|
body,
|
|
@@ -5858,7 +5818,7 @@ export class ServiceClient extends BaseServiceClient {
|
|
|
5858
5818
|
): ResponsePromise<DeleteMenuV3LocalMenuGroupsSiteGroupsResponse> {
|
|
5859
5819
|
return this.request(
|
|
5860
5820
|
'menu',
|
|
5861
|
-
'
|
|
5821
|
+
'/menu/v3/local-menu-groups/site-groups',
|
|
5862
5822
|
'delete',
|
|
5863
5823
|
`/menu/v3/local-menu-groups/site-groups`,
|
|
5864
5824
|
body,
|
|
@@ -5878,7 +5838,7 @@ export class ServiceClient extends BaseServiceClient {
|
|
|
5878
5838
|
): ResponsePromise<GetMenuV3LocalMenuGroupExportSolutionsResponse> {
|
|
5879
5839
|
return this.request(
|
|
5880
5840
|
'menu',
|
|
5881
|
-
'
|
|
5841
|
+
'/menu/v3/local-menu-group/export/solutions',
|
|
5882
5842
|
'get',
|
|
5883
5843
|
`/menu/v3/local-menu-group/export/solutions`,
|
|
5884
5844
|
null,
|
|
@@ -5889,7 +5849,7 @@ export class ServiceClient extends BaseServiceClient {
|
|
|
5889
5849
|
/**
|
|
5890
5850
|
* GET /menu/v3/local-menu-group/{id}/export/solution/{solution_id}
|
|
5891
5851
|
*
|
|
5892
|
-
* @param id -
|
|
5852
|
+
* @param id - local_menu_group
|
|
5893
5853
|
* @param solution_id - export_solution
|
|
5894
5854
|
* @param options - additional request options
|
|
5895
5855
|
*/
|
|
@@ -5902,7 +5862,7 @@ export class ServiceClient extends BaseServiceClient {
|
|
|
5902
5862
|
): ResponsePromise<GetMenuV3LocalMenuGroupExportSolutionResponse> {
|
|
5903
5863
|
return this.request(
|
|
5904
5864
|
'menu',
|
|
5905
|
-
'
|
|
5865
|
+
'/menu/v3/local-menu-group/{id}/export/solution/{solution_id}',
|
|
5906
5866
|
'get',
|
|
5907
5867
|
`/menu/v3/local-menu-group/${id}/export/solution/${solution_id}`,
|
|
5908
5868
|
null,
|
|
@@ -5922,7 +5882,7 @@ export class ServiceClient extends BaseServiceClient {
|
|
|
5922
5882
|
): ResponsePromise<PostMenuV3GlobalMenuGroupResponse> {
|
|
5923
5883
|
return this.request(
|
|
5924
5884
|
'menu',
|
|
5925
|
-
'
|
|
5885
|
+
'/menu/v3/global-menu-group',
|
|
5926
5886
|
'post',
|
|
5927
5887
|
`/menu/v3/global-menu-group`,
|
|
5928
5888
|
body,
|
|
@@ -5944,7 +5904,7 @@ export class ServiceClient extends BaseServiceClient {
|
|
|
5944
5904
|
): ResponsePromise<GetMenuV3GlobalMenuGroupResponse> {
|
|
5945
5905
|
return this.request(
|
|
5946
5906
|
'menu',
|
|
5947
|
-
'
|
|
5907
|
+
'/menu/v3/global-menu-group/{id}',
|
|
5948
5908
|
'get',
|
|
5949
5909
|
`/menu/v3/global-menu-group/${id}`,
|
|
5950
5910
|
null,
|
|
@@ -5966,7 +5926,7 @@ export class ServiceClient extends BaseServiceClient {
|
|
|
5966
5926
|
): ResponsePromise<PatchMenuV3GlobalMenuGroupResponse> {
|
|
5967
5927
|
return this.request(
|
|
5968
5928
|
'menu',
|
|
5969
|
-
'
|
|
5929
|
+
'/menu/v3/global-menu-group/{id}',
|
|
5970
5930
|
'patch',
|
|
5971
5931
|
`/menu/v3/global-menu-group/${id}`,
|
|
5972
5932
|
body,
|
|
@@ -5988,7 +5948,7 @@ export class ServiceClient extends BaseServiceClient {
|
|
|
5988
5948
|
): ResponsePromise<DeleteMenuV3GlobalMenuGroupResponse> {
|
|
5989
5949
|
return this.request(
|
|
5990
5950
|
'menu',
|
|
5991
|
-
'
|
|
5951
|
+
'/menu/v3/global-menu-group/{id}',
|
|
5992
5952
|
'delete',
|
|
5993
5953
|
`/menu/v3/global-menu-group/${id}`,
|
|
5994
5954
|
null,
|
|
@@ -6008,7 +5968,7 @@ export class ServiceClient extends BaseServiceClient {
|
|
|
6008
5968
|
): ResponsePromise<GetMenuV3GlobalMenuGroupsResponse> {
|
|
6009
5969
|
return this.request(
|
|
6010
5970
|
'menu',
|
|
6011
|
-
'
|
|
5971
|
+
'/menu/v3/global-menu-groups',
|
|
6012
5972
|
'get',
|
|
6013
5973
|
`/menu/v3/global-menu-groups`,
|
|
6014
5974
|
null,
|
|
@@ -6028,7 +5988,7 @@ export class ServiceClient extends BaseServiceClient {
|
|
|
6028
5988
|
): ResponsePromise<PostMenuV3GlobalMenuGroupsResponse> {
|
|
6029
5989
|
return this.request(
|
|
6030
5990
|
'menu',
|
|
6031
|
-
'
|
|
5991
|
+
'/menu/v3/global-menu-groups',
|
|
6032
5992
|
'post',
|
|
6033
5993
|
`/menu/v3/global-menu-groups`,
|
|
6034
5994
|
body,
|
|
@@ -6048,7 +6008,7 @@ export class ServiceClient extends BaseServiceClient {
|
|
|
6048
6008
|
): ResponsePromise<GetMenuV3GlobalMenuGroupsCountResponse> {
|
|
6049
6009
|
return this.request(
|
|
6050
6010
|
'menu',
|
|
6051
|
-
'
|
|
6011
|
+
'/menu/v3/global-menu-groups/count',
|
|
6052
6012
|
'get',
|
|
6053
6013
|
`/menu/v3/global-menu-groups/count`,
|
|
6054
6014
|
null,
|
|
@@ -6068,7 +6028,7 @@ export class ServiceClient extends BaseServiceClient {
|
|
|
6068
6028
|
): ResponsePromise<PostMenuV3GlobalMenuGroupRecoverResponse> {
|
|
6069
6029
|
return this.request(
|
|
6070
6030
|
'menu',
|
|
6071
|
-
'
|
|
6031
|
+
'/menu/v3/global-menu-group/{id}/recover',
|
|
6072
6032
|
'post',
|
|
6073
6033
|
`/menu/v3/global-menu-group/${id}/recover`,
|
|
6074
6034
|
null,
|
|
@@ -6090,7 +6050,7 @@ export class ServiceClient extends BaseServiceClient {
|
|
|
6090
6050
|
): ResponsePromise<GetMenuV3DraftGlobalMenuGroupBrandsResponse> {
|
|
6091
6051
|
return this.request(
|
|
6092
6052
|
'menu',
|
|
6093
|
-
'
|
|
6053
|
+
'/menu/v3/draft/global-menu-group/{id}/brands',
|
|
6094
6054
|
'get',
|
|
6095
6055
|
`/menu/v3/draft/global-menu-group/${id}/brands`,
|
|
6096
6056
|
null,
|
|
@@ -6112,7 +6072,7 @@ export class ServiceClient extends BaseServiceClient {
|
|
|
6112
6072
|
): ResponsePromise<GetMenuV3GlobalMenuGroupBrandsResponse> {
|
|
6113
6073
|
return this.request(
|
|
6114
6074
|
'menu',
|
|
6115
|
-
'
|
|
6075
|
+
'/menu/v3/global-menu-group/{id}/brands',
|
|
6116
6076
|
'get',
|
|
6117
6077
|
`/menu/v3/global-menu-group/${id}/brands`,
|
|
6118
6078
|
null,
|
|
@@ -6132,7 +6092,7 @@ export class ServiceClient extends BaseServiceClient {
|
|
|
6132
6092
|
): ResponsePromise<PostMenuV3DraftBrandResponse> {
|
|
6133
6093
|
return this.request(
|
|
6134
6094
|
'menu',
|
|
6135
|
-
'
|
|
6095
|
+
'/menu/v3/draft/brand',
|
|
6136
6096
|
'post',
|
|
6137
6097
|
`/menu/v3/draft/brand`,
|
|
6138
6098
|
body,
|
|
@@ -6154,7 +6114,7 @@ export class ServiceClient extends BaseServiceClient {
|
|
|
6154
6114
|
): ResponsePromise<GetMenuV3DraftBrandResponse> {
|
|
6155
6115
|
return this.request(
|
|
6156
6116
|
'menu',
|
|
6157
|
-
'
|
|
6117
|
+
'/menu/v3/draft/brand/{id}',
|
|
6158
6118
|
'get',
|
|
6159
6119
|
`/menu/v3/draft/brand/${id}`,
|
|
6160
6120
|
null,
|
|
@@ -6176,7 +6136,7 @@ export class ServiceClient extends BaseServiceClient {
|
|
|
6176
6136
|
): ResponsePromise<PatchMenuV3DraftBrandResponse> {
|
|
6177
6137
|
return this.request(
|
|
6178
6138
|
'menu',
|
|
6179
|
-
'
|
|
6139
|
+
'/menu/v3/draft/brand/{id}',
|
|
6180
6140
|
'patch',
|
|
6181
6141
|
`/menu/v3/draft/brand/${id}`,
|
|
6182
6142
|
body,
|
|
@@ -6198,7 +6158,7 @@ export class ServiceClient extends BaseServiceClient {
|
|
|
6198
6158
|
): ResponsePromise<DeleteMenuV3DraftBrandResponse> {
|
|
6199
6159
|
return this.request(
|
|
6200
6160
|
'menu',
|
|
6201
|
-
'
|
|
6161
|
+
'/menu/v3/draft/brand/{id}',
|
|
6202
6162
|
'delete',
|
|
6203
6163
|
`/menu/v3/draft/brand/${id}`,
|
|
6204
6164
|
null,
|
|
@@ -6218,7 +6178,7 @@ export class ServiceClient extends BaseServiceClient {
|
|
|
6218
6178
|
): ResponsePromise<GetMenuV3DraftBrandsResponse> {
|
|
6219
6179
|
return this.request(
|
|
6220
6180
|
'menu',
|
|
6221
|
-
'
|
|
6181
|
+
'/menu/v3/draft/brands',
|
|
6222
6182
|
'get',
|
|
6223
6183
|
`/menu/v3/draft/brands`,
|
|
6224
6184
|
null,
|
|
@@ -6238,7 +6198,7 @@ export class ServiceClient extends BaseServiceClient {
|
|
|
6238
6198
|
): ResponsePromise<PostMenuV3DraftBrandsResponse> {
|
|
6239
6199
|
return this.request(
|
|
6240
6200
|
'menu',
|
|
6241
|
-
'
|
|
6201
|
+
'/menu/v3/draft/brands',
|
|
6242
6202
|
'post',
|
|
6243
6203
|
`/menu/v3/draft/brands`,
|
|
6244
6204
|
body,
|
|
@@ -6258,7 +6218,7 @@ export class ServiceClient extends BaseServiceClient {
|
|
|
6258
6218
|
): ResponsePromise<GetMenuV3DraftBrandsCountResponse> {
|
|
6259
6219
|
return this.request(
|
|
6260
6220
|
'menu',
|
|
6261
|
-
'
|
|
6221
|
+
'/menu/v3/draft/brands/count',
|
|
6262
6222
|
'get',
|
|
6263
6223
|
`/menu/v3/draft/brands/count`,
|
|
6264
6224
|
null,
|
|
@@ -6278,7 +6238,7 @@ export class ServiceClient extends BaseServiceClient {
|
|
|
6278
6238
|
): ResponsePromise<PostMenuV3DraftBrandRecoverResponse> {
|
|
6279
6239
|
return this.request(
|
|
6280
6240
|
'menu',
|
|
6281
|
-
'
|
|
6241
|
+
'/menu/v3/draft/brand/{id}/recover',
|
|
6282
6242
|
'post',
|
|
6283
6243
|
`/menu/v3/draft/brand/${id}/recover`,
|
|
6284
6244
|
null,
|
|
@@ -6300,7 +6260,7 @@ export class ServiceClient extends BaseServiceClient {
|
|
|
6300
6260
|
): ResponsePromise<GetMenuV3DraftBrandAuditsResponse> {
|
|
6301
6261
|
return this.request(
|
|
6302
6262
|
'menu',
|
|
6303
|
-
'
|
|
6263
|
+
'/menu/v3/draft/brand/{id}/audits',
|
|
6304
6264
|
'get',
|
|
6305
6265
|
`/menu/v3/draft/brand/${id}/audits`,
|
|
6306
6266
|
null,
|
|
@@ -6322,7 +6282,7 @@ export class ServiceClient extends BaseServiceClient {
|
|
|
6322
6282
|
): ResponsePromise<GetMenuV3DraftBrandMenusResponse> {
|
|
6323
6283
|
return this.request(
|
|
6324
6284
|
'menu',
|
|
6325
|
-
'
|
|
6285
|
+
'/menu/v3/draft/brand/{id}/menus',
|
|
6326
6286
|
'get',
|
|
6327
6287
|
`/menu/v3/draft/brand/${id}/menus`,
|
|
6328
6288
|
null,
|
|
@@ -6344,7 +6304,7 @@ export class ServiceClient extends BaseServiceClient {
|
|
|
6344
6304
|
): ResponsePromise<GetMenuV3DraftBrandModifiersResponse> {
|
|
6345
6305
|
return this.request(
|
|
6346
6306
|
'menu',
|
|
6347
|
-
'
|
|
6307
|
+
'/menu/v3/draft/brand/{id}/modifiers',
|
|
6348
6308
|
'get',
|
|
6349
6309
|
`/menu/v3/draft/brand/${id}/modifiers`,
|
|
6350
6310
|
null,
|
|
@@ -6366,7 +6326,7 @@ export class ServiceClient extends BaseServiceClient {
|
|
|
6366
6326
|
): ResponsePromise<GetMenuV3DraftBrandModifierGroupsResponse> {
|
|
6367
6327
|
return this.request(
|
|
6368
6328
|
'menu',
|
|
6369
|
-
'
|
|
6329
|
+
'/menu/v3/draft/brand/{id}/modifier_groups',
|
|
6370
6330
|
'get',
|
|
6371
6331
|
`/menu/v3/draft/brand/${id}/modifier_groups`,
|
|
6372
6332
|
null,
|
|
@@ -6388,7 +6348,7 @@ export class ServiceClient extends BaseServiceClient {
|
|
|
6388
6348
|
): ResponsePromise<GetMenuV3DraftBrandItemsResponse> {
|
|
6389
6349
|
return this.request(
|
|
6390
6350
|
'menu',
|
|
6391
|
-
'
|
|
6351
|
+
'/menu/v3/draft/brand/{id}/items',
|
|
6392
6352
|
'get',
|
|
6393
6353
|
`/menu/v3/draft/brand/${id}/items`,
|
|
6394
6354
|
null,
|
|
@@ -6410,7 +6370,7 @@ export class ServiceClient extends BaseServiceClient {
|
|
|
6410
6370
|
): ResponsePromise<GetMenuV3DraftBrandItemsReportingCategoriesResponse> {
|
|
6411
6371
|
return this.request(
|
|
6412
6372
|
'menu',
|
|
6413
|
-
'
|
|
6373
|
+
'/menu/v3/draft/brand/{id}/items/reporting/categories',
|
|
6414
6374
|
'get',
|
|
6415
6375
|
`/menu/v3/draft/brand/${id}/items/reporting/categories`,
|
|
6416
6376
|
null,
|
|
@@ -6432,7 +6392,7 @@ export class ServiceClient extends BaseServiceClient {
|
|
|
6432
6392
|
): ResponsePromise<GetMenuV3DraftBrandModifiersReportingCategoriesResponse> {
|
|
6433
6393
|
return this.request(
|
|
6434
6394
|
'menu',
|
|
6435
|
-
'
|
|
6395
|
+
'/menu/v3/draft/brand/{id}/modifiers/reporting/categories',
|
|
6436
6396
|
'get',
|
|
6437
6397
|
`/menu/v3/draft/brand/${id}/modifiers/reporting/categories`,
|
|
6438
6398
|
null,
|
|
@@ -6454,7 +6414,7 @@ export class ServiceClient extends BaseServiceClient {
|
|
|
6454
6414
|
): ResponsePromise<GetMenuV3DraftBrandItemsTagsResponse> {
|
|
6455
6415
|
return this.request(
|
|
6456
6416
|
'menu',
|
|
6457
|
-
'
|
|
6417
|
+
'/menu/v3/draft/brand/{id}/items/tags',
|
|
6458
6418
|
'get',
|
|
6459
6419
|
`/menu/v3/draft/brand/${id}/items/tags`,
|
|
6460
6420
|
null,
|
|
@@ -6476,7 +6436,7 @@ export class ServiceClient extends BaseServiceClient {
|
|
|
6476
6436
|
): ResponsePromise<GetMenuV3DraftBrandModifiersTagsResponse> {
|
|
6477
6437
|
return this.request(
|
|
6478
6438
|
'menu',
|
|
6479
|
-
'
|
|
6439
|
+
'/menu/v3/draft/brand/{id}/modifiers/tags',
|
|
6480
6440
|
'get',
|
|
6481
6441
|
`/menu/v3/draft/brand/${id}/modifiers/tags`,
|
|
6482
6442
|
null,
|
|
@@ -6496,7 +6456,7 @@ export class ServiceClient extends BaseServiceClient {
|
|
|
6496
6456
|
): ResponsePromise<PostMenuV3DraftBrandPublishResponse> {
|
|
6497
6457
|
return this.request(
|
|
6498
6458
|
'menu',
|
|
6499
|
-
'
|
|
6459
|
+
'/menu/v3/draft/brand/{id}/publish',
|
|
6500
6460
|
'post',
|
|
6501
6461
|
`/menu/v3/draft/brand/${id}/publish`,
|
|
6502
6462
|
null,
|
|
@@ -6516,7 +6476,7 @@ export class ServiceClient extends BaseServiceClient {
|
|
|
6516
6476
|
): ResponsePromise<PostMenuV3DraftBrandDiffGenerateResponse> {
|
|
6517
6477
|
return this.request(
|
|
6518
6478
|
'menu',
|
|
6519
|
-
'
|
|
6479
|
+
'/menu/v3/draft/brand/{id}/diff/generate',
|
|
6520
6480
|
'post',
|
|
6521
6481
|
`/menu/v3/draft/brand/${id}/diff/generate`,
|
|
6522
6482
|
null,
|
|
@@ -6538,7 +6498,7 @@ export class ServiceClient extends BaseServiceClient {
|
|
|
6538
6498
|
): ResponsePromise<GetMenuV3DraftBrandDiffsResponse> {
|
|
6539
6499
|
return this.request(
|
|
6540
6500
|
'menu',
|
|
6541
|
-
'
|
|
6501
|
+
'/menu/v3/draft/brand/{id}/diffs',
|
|
6542
6502
|
'get',
|
|
6543
6503
|
`/menu/v3/draft/brand/${id}/diffs`,
|
|
6544
6504
|
null,
|
|
@@ -6560,7 +6520,7 @@ export class ServiceClient extends BaseServiceClient {
|
|
|
6560
6520
|
): ResponsePromise<PostMenuV3DraftBrandGlobalDiffsApplyResponse> {
|
|
6561
6521
|
return this.request(
|
|
6562
6522
|
'menu',
|
|
6563
|
-
'
|
|
6523
|
+
'/menu/v3/draft/brand/{id}/global-diffs/apply',
|
|
6564
6524
|
'post',
|
|
6565
6525
|
`/menu/v3/draft/brand/${id}/global-diffs/apply`,
|
|
6566
6526
|
body,
|
|
@@ -6584,7 +6544,7 @@ export class ServiceClient extends BaseServiceClient {
|
|
|
6584
6544
|
): ResponsePromise<PostMenuV3DraftBrandAttachmentResponse> {
|
|
6585
6545
|
return this.request(
|
|
6586
6546
|
'menu',
|
|
6587
|
-
'
|
|
6547
|
+
'/menu/v3/draft/brand/{id}/attachment/{name}',
|
|
6588
6548
|
'post',
|
|
6589
6549
|
`/menu/v3/draft/brand/${id}/attachment/${name}`,
|
|
6590
6550
|
null,
|
|
@@ -6604,7 +6564,7 @@ export class ServiceClient extends BaseServiceClient {
|
|
|
6604
6564
|
query?: PostMenuV3BrandQuery;
|
|
6605
6565
|
} & RequestOptions,
|
|
6606
6566
|
): ResponsePromise<PostMenuV3BrandResponse> {
|
|
6607
|
-
return this.request('menu', '
|
|
6567
|
+
return this.request('menu', '/menu/v3/brand', 'post', `/menu/v3/brand`, body, options);
|
|
6608
6568
|
}
|
|
6609
6569
|
|
|
6610
6570
|
/**
|
|
@@ -6619,7 +6579,14 @@ export class ServiceClient extends BaseServiceClient {
|
|
|
6619
6579
|
query?: GetMenuV3BrandQuery;
|
|
6620
6580
|
} & RequestOptions,
|
|
6621
6581
|
): ResponsePromise<GetMenuV3BrandResponse> {
|
|
6622
|
-
return this.request(
|
|
6582
|
+
return this.request(
|
|
6583
|
+
'menu',
|
|
6584
|
+
'/menu/v3/brand/{id}',
|
|
6585
|
+
'get',
|
|
6586
|
+
`/menu/v3/brand/${id}`,
|
|
6587
|
+
null,
|
|
6588
|
+
options,
|
|
6589
|
+
);
|
|
6623
6590
|
}
|
|
6624
6591
|
|
|
6625
6592
|
/**
|
|
@@ -6638,7 +6605,7 @@ export class ServiceClient extends BaseServiceClient {
|
|
|
6638
6605
|
): ResponsePromise<PatchMenuV3BrandResponse> {
|
|
6639
6606
|
return this.request(
|
|
6640
6607
|
'menu',
|
|
6641
|
-
'
|
|
6608
|
+
'/menu/v3/brand/{id}',
|
|
6642
6609
|
'patch',
|
|
6643
6610
|
`/menu/v3/brand/${id}`,
|
|
6644
6611
|
body,
|
|
@@ -6660,7 +6627,7 @@ export class ServiceClient extends BaseServiceClient {
|
|
|
6660
6627
|
): ResponsePromise<DeleteMenuV3BrandResponse> {
|
|
6661
6628
|
return this.request(
|
|
6662
6629
|
'menu',
|
|
6663
|
-
'
|
|
6630
|
+
'/menu/v3/brand/{id}',
|
|
6664
6631
|
'delete',
|
|
6665
6632
|
`/menu/v3/brand/${id}`,
|
|
6666
6633
|
null,
|
|
@@ -6678,7 +6645,7 @@ export class ServiceClient extends BaseServiceClient {
|
|
|
6678
6645
|
query?: GetMenuV3BrandsQuery;
|
|
6679
6646
|
} & RequestOptions,
|
|
6680
6647
|
): ResponsePromise<GetMenuV3BrandsResponse> {
|
|
6681
|
-
return this.request('menu', '
|
|
6648
|
+
return this.request('menu', '/menu/v3/brands', 'get', `/menu/v3/brands`, null, options);
|
|
6682
6649
|
}
|
|
6683
6650
|
|
|
6684
6651
|
/**
|
|
@@ -6693,7 +6660,7 @@ export class ServiceClient extends BaseServiceClient {
|
|
|
6693
6660
|
query?: PostMenuV3BrandsQuery;
|
|
6694
6661
|
} & RequestOptions,
|
|
6695
6662
|
): ResponsePromise<PostMenuV3BrandsResponse> {
|
|
6696
|
-
return this.request('menu', '
|
|
6663
|
+
return this.request('menu', '/menu/v3/brands', 'post', `/menu/v3/brands`, body, options);
|
|
6697
6664
|
}
|
|
6698
6665
|
|
|
6699
6666
|
/**
|
|
@@ -6708,7 +6675,7 @@ export class ServiceClient extends BaseServiceClient {
|
|
|
6708
6675
|
): ResponsePromise<GetMenuV3BrandsCountResponse> {
|
|
6709
6676
|
return this.request(
|
|
6710
6677
|
'menu',
|
|
6711
|
-
'
|
|
6678
|
+
'/menu/v3/brands/count',
|
|
6712
6679
|
'get',
|
|
6713
6680
|
`/menu/v3/brands/count`,
|
|
6714
6681
|
null,
|
|
@@ -6730,7 +6697,7 @@ export class ServiceClient extends BaseServiceClient {
|
|
|
6730
6697
|
): ResponsePromise<PostMenuV3BrandRecoverResponse> {
|
|
6731
6698
|
return this.request(
|
|
6732
6699
|
'menu',
|
|
6733
|
-
'
|
|
6700
|
+
'/menu/v3/brand/{id}/recover',
|
|
6734
6701
|
'post',
|
|
6735
6702
|
`/menu/v3/brand/${id}/recover`,
|
|
6736
6703
|
null,
|
|
@@ -6752,7 +6719,7 @@ export class ServiceClient extends BaseServiceClient {
|
|
|
6752
6719
|
): ResponsePromise<GetMenuV3BrandMenusResponse> {
|
|
6753
6720
|
return this.request(
|
|
6754
6721
|
'menu',
|
|
6755
|
-
'
|
|
6722
|
+
'/menu/v3/brand/{id}/menus',
|
|
6756
6723
|
'get',
|
|
6757
6724
|
`/menu/v3/brand/${id}/menus`,
|
|
6758
6725
|
null,
|
|
@@ -6774,7 +6741,7 @@ export class ServiceClient extends BaseServiceClient {
|
|
|
6774
6741
|
): ResponsePromise<GetMenuV3BrandModifiersResponse> {
|
|
6775
6742
|
return this.request(
|
|
6776
6743
|
'menu',
|
|
6777
|
-
'
|
|
6744
|
+
'/menu/v3/brand/{id}/modifiers',
|
|
6778
6745
|
'get',
|
|
6779
6746
|
`/menu/v3/brand/${id}/modifiers`,
|
|
6780
6747
|
null,
|
|
@@ -6796,7 +6763,7 @@ export class ServiceClient extends BaseServiceClient {
|
|
|
6796
6763
|
): ResponsePromise<GetMenuV3BrandModifierGroupsResponse> {
|
|
6797
6764
|
return this.request(
|
|
6798
6765
|
'menu',
|
|
6799
|
-
'
|
|
6766
|
+
'/menu/v3/brand/{id}/modifier_groups',
|
|
6800
6767
|
'get',
|
|
6801
6768
|
`/menu/v3/brand/${id}/modifier_groups`,
|
|
6802
6769
|
null,
|
|
@@ -6818,7 +6785,7 @@ export class ServiceClient extends BaseServiceClient {
|
|
|
6818
6785
|
): ResponsePromise<GetMenuV3BrandItemsResponse> {
|
|
6819
6786
|
return this.request(
|
|
6820
6787
|
'menu',
|
|
6821
|
-
'
|
|
6788
|
+
'/menu/v3/brand/{id}/items',
|
|
6822
6789
|
'get',
|
|
6823
6790
|
`/menu/v3/brand/${id}/items`,
|
|
6824
6791
|
null,
|
|
@@ -6838,7 +6805,7 @@ export class ServiceClient extends BaseServiceClient {
|
|
|
6838
6805
|
): ResponsePromise<PostMenuV3DraftMenuResponse> {
|
|
6839
6806
|
return this.request(
|
|
6840
6807
|
'menu',
|
|
6841
|
-
'
|
|
6808
|
+
'/menu/v3/draft/menu',
|
|
6842
6809
|
'post',
|
|
6843
6810
|
`/menu/v3/draft/menu`,
|
|
6844
6811
|
body,
|
|
@@ -6860,7 +6827,7 @@ export class ServiceClient extends BaseServiceClient {
|
|
|
6860
6827
|
): ResponsePromise<GetMenuV3DraftMenuResponse> {
|
|
6861
6828
|
return this.request(
|
|
6862
6829
|
'menu',
|
|
6863
|
-
'
|
|
6830
|
+
'/menu/v3/draft/menu/{id}',
|
|
6864
6831
|
'get',
|
|
6865
6832
|
`/menu/v3/draft/menu/${id}`,
|
|
6866
6833
|
null,
|
|
@@ -6882,7 +6849,7 @@ export class ServiceClient extends BaseServiceClient {
|
|
|
6882
6849
|
): ResponsePromise<PatchMenuV3DraftMenuResponse> {
|
|
6883
6850
|
return this.request(
|
|
6884
6851
|
'menu',
|
|
6885
|
-
'
|
|
6852
|
+
'/menu/v3/draft/menu/{id}',
|
|
6886
6853
|
'patch',
|
|
6887
6854
|
`/menu/v3/draft/menu/${id}`,
|
|
6888
6855
|
body,
|
|
@@ -6904,7 +6871,7 @@ export class ServiceClient extends BaseServiceClient {
|
|
|
6904
6871
|
): ResponsePromise<DeleteMenuV3DraftMenuResponse> {
|
|
6905
6872
|
return this.request(
|
|
6906
6873
|
'menu',
|
|
6907
|
-
'
|
|
6874
|
+
'/menu/v3/draft/menu/{id}',
|
|
6908
6875
|
'delete',
|
|
6909
6876
|
`/menu/v3/draft/menu/${id}`,
|
|
6910
6877
|
null,
|
|
@@ -6924,7 +6891,7 @@ export class ServiceClient extends BaseServiceClient {
|
|
|
6924
6891
|
): ResponsePromise<GetMenuV3DraftMenusResponse> {
|
|
6925
6892
|
return this.request(
|
|
6926
6893
|
'menu',
|
|
6927
|
-
'
|
|
6894
|
+
'/menu/v3/draft/menus',
|
|
6928
6895
|
'get',
|
|
6929
6896
|
`/menu/v3/draft/menus`,
|
|
6930
6897
|
null,
|
|
@@ -6944,7 +6911,7 @@ export class ServiceClient extends BaseServiceClient {
|
|
|
6944
6911
|
): ResponsePromise<PostMenuV3DraftMenusResponse> {
|
|
6945
6912
|
return this.request(
|
|
6946
6913
|
'menu',
|
|
6947
|
-
'
|
|
6914
|
+
'/menu/v3/draft/menus',
|
|
6948
6915
|
'post',
|
|
6949
6916
|
`/menu/v3/draft/menus`,
|
|
6950
6917
|
body,
|
|
@@ -6964,7 +6931,7 @@ export class ServiceClient extends BaseServiceClient {
|
|
|
6964
6931
|
): ResponsePromise<GetMenuV3DraftMenusCountResponse> {
|
|
6965
6932
|
return this.request(
|
|
6966
6933
|
'menu',
|
|
6967
|
-
'
|
|
6934
|
+
'/menu/v3/draft/menus/count',
|
|
6968
6935
|
'get',
|
|
6969
6936
|
`/menu/v3/draft/menus/count`,
|
|
6970
6937
|
null,
|
|
@@ -6984,7 +6951,7 @@ export class ServiceClient extends BaseServiceClient {
|
|
|
6984
6951
|
): ResponsePromise<PostMenuV3DraftMenuRecoverResponse> {
|
|
6985
6952
|
return this.request(
|
|
6986
6953
|
'menu',
|
|
6987
|
-
'
|
|
6954
|
+
'/menu/v3/draft/menu/{id}/recover',
|
|
6988
6955
|
'post',
|
|
6989
6956
|
`/menu/v3/draft/menu/${id}/recover`,
|
|
6990
6957
|
null,
|
|
@@ -7006,7 +6973,7 @@ export class ServiceClient extends BaseServiceClient {
|
|
|
7006
6973
|
): ResponsePromise<GetMenuV3DraftMenuCategoriesResponse> {
|
|
7007
6974
|
return this.request(
|
|
7008
6975
|
'menu',
|
|
7009
|
-
'
|
|
6976
|
+
'/menu/v3/draft/menu/{id}/categories',
|
|
7010
6977
|
'get',
|
|
7011
6978
|
`/menu/v3/draft/menu/${id}/categories`,
|
|
7012
6979
|
null,
|
|
@@ -7026,7 +6993,7 @@ export class ServiceClient extends BaseServiceClient {
|
|
|
7026
6993
|
): ResponsePromise<PostMenuV3DraftMenuPublishResponse> {
|
|
7027
6994
|
return this.request(
|
|
7028
6995
|
'menu',
|
|
7029
|
-
'
|
|
6996
|
+
'/menu/v3/draft/menu/{id}/publish',
|
|
7030
6997
|
'post',
|
|
7031
6998
|
`/menu/v3/draft/menu/${id}/publish`,
|
|
7032
6999
|
null,
|
|
@@ -7046,7 +7013,7 @@ export class ServiceClient extends BaseServiceClient {
|
|
|
7046
7013
|
): ResponsePromise<GetMenuV3DraftMenusVerifyPublishResponse> {
|
|
7047
7014
|
return this.request(
|
|
7048
7015
|
'menu',
|
|
7049
|
-
'
|
|
7016
|
+
'/menu/v3/draft/menus/verify-publish',
|
|
7050
7017
|
'get',
|
|
7051
7018
|
`/menu/v3/draft/menus/verify-publish`,
|
|
7052
7019
|
null,
|
|
@@ -7066,7 +7033,7 @@ export class ServiceClient extends BaseServiceClient {
|
|
|
7066
7033
|
query?: GetMenuV3MenuQuery;
|
|
7067
7034
|
} & RequestOptions,
|
|
7068
7035
|
): ResponsePromise<GetMenuV3MenuResponse> {
|
|
7069
|
-
return this.request('menu', '
|
|
7036
|
+
return this.request('menu', '/menu/v3/menu/{id}', 'get', `/menu/v3/menu/${id}`, null, options);
|
|
7070
7037
|
}
|
|
7071
7038
|
|
|
7072
7039
|
/**
|
|
@@ -7079,7 +7046,7 @@ export class ServiceClient extends BaseServiceClient {
|
|
|
7079
7046
|
query?: GetMenuV3MenusQuery;
|
|
7080
7047
|
} & RequestOptions,
|
|
7081
7048
|
): ResponsePromise<GetMenuV3MenusResponse> {
|
|
7082
|
-
return this.request('menu', '
|
|
7049
|
+
return this.request('menu', '/menu/v3/menus', 'get', `/menu/v3/menus`, null, options);
|
|
7083
7050
|
}
|
|
7084
7051
|
|
|
7085
7052
|
/**
|
|
@@ -7094,7 +7061,7 @@ export class ServiceClient extends BaseServiceClient {
|
|
|
7094
7061
|
): ResponsePromise<GetMenuV3MenusCountResponse> {
|
|
7095
7062
|
return this.request(
|
|
7096
7063
|
'menu',
|
|
7097
|
-
'
|
|
7064
|
+
'/menu/v3/menus/count',
|
|
7098
7065
|
'get',
|
|
7099
7066
|
`/menu/v3/menus/count`,
|
|
7100
7067
|
null,
|
|
@@ -7116,7 +7083,7 @@ export class ServiceClient extends BaseServiceClient {
|
|
|
7116
7083
|
): ResponsePromise<PostMenuV3MenuRecoverResponse> {
|
|
7117
7084
|
return this.request(
|
|
7118
7085
|
'menu',
|
|
7119
|
-
'
|
|
7086
|
+
'/menu/v3/menu/{id}/recover',
|
|
7120
7087
|
'post',
|
|
7121
7088
|
`/menu/v3/menu/${id}/recover`,
|
|
7122
7089
|
null,
|
|
@@ -7138,7 +7105,7 @@ export class ServiceClient extends BaseServiceClient {
|
|
|
7138
7105
|
): ResponsePromise<GetMenuV3MenuCategoriesResponse> {
|
|
7139
7106
|
return this.request(
|
|
7140
7107
|
'menu',
|
|
7141
|
-
'
|
|
7108
|
+
'/menu/v3/menu/{id}/categories',
|
|
7142
7109
|
'get',
|
|
7143
7110
|
`/menu/v3/menu/${id}/categories`,
|
|
7144
7111
|
null,
|
|
@@ -7160,7 +7127,7 @@ export class ServiceClient extends BaseServiceClient {
|
|
|
7160
7127
|
): ResponsePromise<PatchMenuV3StockResponse> {
|
|
7161
7128
|
return this.request(
|
|
7162
7129
|
'menu',
|
|
7163
|
-
'
|
|
7130
|
+
'/menu/v3/{id}/stock',
|
|
7164
7131
|
'patch',
|
|
7165
7132
|
`/menu/v3/${id}/stock`,
|
|
7166
7133
|
body,
|
|
@@ -7180,7 +7147,7 @@ export class ServiceClient extends BaseServiceClient {
|
|
|
7180
7147
|
): ResponsePromise<PostMenuV3DraftCategoryResponse> {
|
|
7181
7148
|
return this.request(
|
|
7182
7149
|
'menu',
|
|
7183
|
-
'
|
|
7150
|
+
'/menu/v3/draft/category',
|
|
7184
7151
|
'post',
|
|
7185
7152
|
`/menu/v3/draft/category`,
|
|
7186
7153
|
body,
|
|
@@ -7202,7 +7169,7 @@ export class ServiceClient extends BaseServiceClient {
|
|
|
7202
7169
|
): ResponsePromise<GetMenuV3DraftCategoryResponse> {
|
|
7203
7170
|
return this.request(
|
|
7204
7171
|
'menu',
|
|
7205
|
-
'
|
|
7172
|
+
'/menu/v3/draft/category/{id}',
|
|
7206
7173
|
'get',
|
|
7207
7174
|
`/menu/v3/draft/category/${id}`,
|
|
7208
7175
|
null,
|
|
@@ -7224,7 +7191,7 @@ export class ServiceClient extends BaseServiceClient {
|
|
|
7224
7191
|
): ResponsePromise<PatchMenuV3DraftCategoryResponse> {
|
|
7225
7192
|
return this.request(
|
|
7226
7193
|
'menu',
|
|
7227
|
-
'
|
|
7194
|
+
'/menu/v3/draft/category/{id}',
|
|
7228
7195
|
'patch',
|
|
7229
7196
|
`/menu/v3/draft/category/${id}`,
|
|
7230
7197
|
body,
|
|
@@ -7246,7 +7213,7 @@ export class ServiceClient extends BaseServiceClient {
|
|
|
7246
7213
|
): ResponsePromise<DeleteMenuV3DraftCategoryResponse> {
|
|
7247
7214
|
return this.request(
|
|
7248
7215
|
'menu',
|
|
7249
|
-
'
|
|
7216
|
+
'/menu/v3/draft/category/{id}',
|
|
7250
7217
|
'delete',
|
|
7251
7218
|
`/menu/v3/draft/category/${id}`,
|
|
7252
7219
|
null,
|
|
@@ -7266,7 +7233,7 @@ export class ServiceClient extends BaseServiceClient {
|
|
|
7266
7233
|
): ResponsePromise<GetMenuV3DraftCategoriesCountResponse> {
|
|
7267
7234
|
return this.request(
|
|
7268
7235
|
'menu',
|
|
7269
|
-
'
|
|
7236
|
+
'/menu/v3/draft/categories/count',
|
|
7270
7237
|
'get',
|
|
7271
7238
|
`/menu/v3/draft/categories/count`,
|
|
7272
7239
|
null,
|
|
@@ -7286,7 +7253,7 @@ export class ServiceClient extends BaseServiceClient {
|
|
|
7286
7253
|
): ResponsePromise<PostMenuV3DraftCategoriesResponse> {
|
|
7287
7254
|
return this.request(
|
|
7288
7255
|
'menu',
|
|
7289
|
-
'
|
|
7256
|
+
'/menu/v3/draft/categories',
|
|
7290
7257
|
'post',
|
|
7291
7258
|
`/menu/v3/draft/categories`,
|
|
7292
7259
|
body,
|
|
@@ -7306,7 +7273,7 @@ export class ServiceClient extends BaseServiceClient {
|
|
|
7306
7273
|
): ResponsePromise<PostMenuV3DraftCategoryRecoverResponse> {
|
|
7307
7274
|
return this.request(
|
|
7308
7275
|
'menu',
|
|
7309
|
-
'
|
|
7276
|
+
'/menu/v3/draft/category/{id}/recover',
|
|
7310
7277
|
'post',
|
|
7311
7278
|
`/menu/v3/draft/category/${id}/recover`,
|
|
7312
7279
|
null,
|
|
@@ -7330,7 +7297,7 @@ export class ServiceClient extends BaseServiceClient {
|
|
|
7330
7297
|
): ResponsePromise<PostMenuV3DraftCategoryAttachmentResponse> {
|
|
7331
7298
|
return this.request(
|
|
7332
7299
|
'menu',
|
|
7333
|
-
'
|
|
7300
|
+
'/menu/v3/draft/category/{id}/attachment/{name}',
|
|
7334
7301
|
'post',
|
|
7335
7302
|
`/menu/v3/draft/category/${id}/attachment/${name}`,
|
|
7336
7303
|
null,
|
|
@@ -7352,7 +7319,7 @@ export class ServiceClient extends BaseServiceClient {
|
|
|
7352
7319
|
): ResponsePromise<GetMenuV3CategoryResponse> {
|
|
7353
7320
|
return this.request(
|
|
7354
7321
|
'menu',
|
|
7355
|
-
'
|
|
7322
|
+
'/menu/v3/category/{id}',
|
|
7356
7323
|
'get',
|
|
7357
7324
|
`/menu/v3/category/${id}`,
|
|
7358
7325
|
null,
|
|
@@ -7372,7 +7339,7 @@ export class ServiceClient extends BaseServiceClient {
|
|
|
7372
7339
|
): ResponsePromise<GetMenuV3CategorysCountResponse> {
|
|
7373
7340
|
return this.request(
|
|
7374
7341
|
'menu',
|
|
7375
|
-
'
|
|
7342
|
+
'/menu/v3/categorys/count',
|
|
7376
7343
|
'get',
|
|
7377
7344
|
`/menu/v3/categorys/count`,
|
|
7378
7345
|
null,
|
|
@@ -7394,7 +7361,7 @@ export class ServiceClient extends BaseServiceClient {
|
|
|
7394
7361
|
): ResponsePromise<PostMenuV3CategoryRecoverResponse> {
|
|
7395
7362
|
return this.request(
|
|
7396
7363
|
'menu',
|
|
7397
|
-
'
|
|
7364
|
+
'/menu/v3/category/{id}/recover',
|
|
7398
7365
|
'post',
|
|
7399
7366
|
`/menu/v3/category/${id}/recover`,
|
|
7400
7367
|
null,
|
|
@@ -7414,7 +7381,7 @@ export class ServiceClient extends BaseServiceClient {
|
|
|
7414
7381
|
): ResponsePromise<PostMenuV3DraftCategoryRelationshipsItemResponse> {
|
|
7415
7382
|
return this.request(
|
|
7416
7383
|
'menu',
|
|
7417
|
-
'
|
|
7384
|
+
'/menu/v3/draft/category/relationships/item',
|
|
7418
7385
|
'post',
|
|
7419
7386
|
`/menu/v3/draft/category/relationships/item`,
|
|
7420
7387
|
body,
|
|
@@ -7436,7 +7403,7 @@ export class ServiceClient extends BaseServiceClient {
|
|
|
7436
7403
|
): ResponsePromise<GetMenuV3DraftCategoryRelationshipsItemResponse> {
|
|
7437
7404
|
return this.request(
|
|
7438
7405
|
'menu',
|
|
7439
|
-
'
|
|
7406
|
+
'/menu/v3/draft/category/relationships/item/{id}',
|
|
7440
7407
|
'get',
|
|
7441
7408
|
`/menu/v3/draft/category/relationships/item/${id}`,
|
|
7442
7409
|
null,
|
|
@@ -7458,7 +7425,7 @@ export class ServiceClient extends BaseServiceClient {
|
|
|
7458
7425
|
): ResponsePromise<PatchMenuV3DraftCategoryRelationshipsItemResponse> {
|
|
7459
7426
|
return this.request(
|
|
7460
7427
|
'menu',
|
|
7461
|
-
'
|
|
7428
|
+
'/menu/v3/draft/category/relationships/item/{id}',
|
|
7462
7429
|
'patch',
|
|
7463
7430
|
`/menu/v3/draft/category/relationships/item/${id}`,
|
|
7464
7431
|
body,
|
|
@@ -7480,7 +7447,7 @@ export class ServiceClient extends BaseServiceClient {
|
|
|
7480
7447
|
): ResponsePromise<DeleteMenuV3DraftCategoryRelationshipsItemResponse> {
|
|
7481
7448
|
return this.request(
|
|
7482
7449
|
'menu',
|
|
7483
|
-
'
|
|
7450
|
+
'/menu/v3/draft/category/relationships/item/{id}',
|
|
7484
7451
|
'delete',
|
|
7485
7452
|
`/menu/v3/draft/category/relationships/item/${id}`,
|
|
7486
7453
|
null,
|
|
@@ -7500,7 +7467,7 @@ export class ServiceClient extends BaseServiceClient {
|
|
|
7500
7467
|
): ResponsePromise<GetMenuV3DraftCategoryRelationshipsItemsResponse> {
|
|
7501
7468
|
return this.request(
|
|
7502
7469
|
'menu',
|
|
7503
|
-
'
|
|
7470
|
+
'/menu/v3/draft/category/relationships/items',
|
|
7504
7471
|
'get',
|
|
7505
7472
|
`/menu/v3/draft/category/relationships/items`,
|
|
7506
7473
|
null,
|
|
@@ -7520,7 +7487,7 @@ export class ServiceClient extends BaseServiceClient {
|
|
|
7520
7487
|
): ResponsePromise<PostMenuV3DraftCategoryRelationshipsItemsResponse> {
|
|
7521
7488
|
return this.request(
|
|
7522
7489
|
'menu',
|
|
7523
|
-
'
|
|
7490
|
+
'/menu/v3/draft/category/relationships/items',
|
|
7524
7491
|
'post',
|
|
7525
7492
|
`/menu/v3/draft/category/relationships/items`,
|
|
7526
7493
|
body,
|
|
@@ -7540,7 +7507,7 @@ export class ServiceClient extends BaseServiceClient {
|
|
|
7540
7507
|
): ResponsePromise<GetMenuV3DraftCategoryRelationshipsItemsCountResponse> {
|
|
7541
7508
|
return this.request(
|
|
7542
7509
|
'menu',
|
|
7543
|
-
'
|
|
7510
|
+
'/menu/v3/draft/category/relationships/items/count',
|
|
7544
7511
|
'get',
|
|
7545
7512
|
`/menu/v3/draft/category/relationships/items/count`,
|
|
7546
7513
|
null,
|
|
@@ -7560,7 +7527,7 @@ export class ServiceClient extends BaseServiceClient {
|
|
|
7560
7527
|
): ResponsePromise<PostMenuV3DraftCategoryRelationshipsItemRecoverResponse> {
|
|
7561
7528
|
return this.request(
|
|
7562
7529
|
'menu',
|
|
7563
|
-
'
|
|
7530
|
+
'/menu/v3/draft/category/relationships/item/{id}/recover',
|
|
7564
7531
|
'post',
|
|
7565
7532
|
`/menu/v3/draft/category/relationships/item/${id}/recover`,
|
|
7566
7533
|
null,
|
|
@@ -7582,7 +7549,7 @@ export class ServiceClient extends BaseServiceClient {
|
|
|
7582
7549
|
): ResponsePromise<GetMenuV3CategoryRelationshipsItemResponse> {
|
|
7583
7550
|
return this.request(
|
|
7584
7551
|
'menu',
|
|
7585
|
-
'
|
|
7552
|
+
'/menu/v3/category/relationships/item/{id}',
|
|
7586
7553
|
'get',
|
|
7587
7554
|
`/menu/v3/category/relationships/item/${id}`,
|
|
7588
7555
|
null,
|
|
@@ -7602,7 +7569,7 @@ export class ServiceClient extends BaseServiceClient {
|
|
|
7602
7569
|
): ResponsePromise<GetMenuV3CategoryRelationshipsItemsResponse> {
|
|
7603
7570
|
return this.request(
|
|
7604
7571
|
'menu',
|
|
7605
|
-
'
|
|
7572
|
+
'/menu/v3/category/relationships/items',
|
|
7606
7573
|
'get',
|
|
7607
7574
|
`/menu/v3/category/relationships/items`,
|
|
7608
7575
|
null,
|
|
@@ -7622,7 +7589,7 @@ export class ServiceClient extends BaseServiceClient {
|
|
|
7622
7589
|
): ResponsePromise<GetMenuV3CategoryRelationshipsItemsCountResponse> {
|
|
7623
7590
|
return this.request(
|
|
7624
7591
|
'menu',
|
|
7625
|
-
'
|
|
7592
|
+
'/menu/v3/category/relationships/items/count',
|
|
7626
7593
|
'get',
|
|
7627
7594
|
`/menu/v3/category/relationships/items/count`,
|
|
7628
7595
|
null,
|
|
@@ -7644,7 +7611,7 @@ export class ServiceClient extends BaseServiceClient {
|
|
|
7644
7611
|
): ResponsePromise<PostMenuV3CategoryRelationshipsItemRecoverResponse> {
|
|
7645
7612
|
return this.request(
|
|
7646
7613
|
'menu',
|
|
7647
|
-
'
|
|
7614
|
+
'/menu/v3/category/relationships/item/{id}/recover',
|
|
7648
7615
|
'post',
|
|
7649
7616
|
`/menu/v3/category/relationships/item/${id}/recover`,
|
|
7650
7617
|
null,
|
|
@@ -7664,7 +7631,7 @@ export class ServiceClient extends BaseServiceClient {
|
|
|
7664
7631
|
): ResponsePromise<PostMenuV3DraftItemResponse> {
|
|
7665
7632
|
return this.request(
|
|
7666
7633
|
'menu',
|
|
7667
|
-
'
|
|
7634
|
+
'/menu/v3/draft/item',
|
|
7668
7635
|
'post',
|
|
7669
7636
|
`/menu/v3/draft/item`,
|
|
7670
7637
|
body,
|
|
@@ -7686,7 +7653,7 @@ export class ServiceClient extends BaseServiceClient {
|
|
|
7686
7653
|
): ResponsePromise<GetMenuV3DraftItemResponse> {
|
|
7687
7654
|
return this.request(
|
|
7688
7655
|
'menu',
|
|
7689
|
-
'
|
|
7656
|
+
'/menu/v3/draft/item/{id}',
|
|
7690
7657
|
'get',
|
|
7691
7658
|
`/menu/v3/draft/item/${id}`,
|
|
7692
7659
|
null,
|
|
@@ -7708,7 +7675,7 @@ export class ServiceClient extends BaseServiceClient {
|
|
|
7708
7675
|
): ResponsePromise<PatchMenuV3DraftItemResponse> {
|
|
7709
7676
|
return this.request(
|
|
7710
7677
|
'menu',
|
|
7711
|
-
'
|
|
7678
|
+
'/menu/v3/draft/item/{id}',
|
|
7712
7679
|
'patch',
|
|
7713
7680
|
`/menu/v3/draft/item/${id}`,
|
|
7714
7681
|
body,
|
|
@@ -7730,7 +7697,7 @@ export class ServiceClient extends BaseServiceClient {
|
|
|
7730
7697
|
): ResponsePromise<DeleteMenuV3DraftItemResponse> {
|
|
7731
7698
|
return this.request(
|
|
7732
7699
|
'menu',
|
|
7733
|
-
'
|
|
7700
|
+
'/menu/v3/draft/item/{id}',
|
|
7734
7701
|
'delete',
|
|
7735
7702
|
`/menu/v3/draft/item/${id}`,
|
|
7736
7703
|
null,
|
|
@@ -7750,7 +7717,7 @@ export class ServiceClient extends BaseServiceClient {
|
|
|
7750
7717
|
): ResponsePromise<DeleteMenuV3DraftItemsResponse> {
|
|
7751
7718
|
return this.request(
|
|
7752
7719
|
'menu',
|
|
7753
|
-
'
|
|
7720
|
+
'/menu/v3/draft/items',
|
|
7754
7721
|
'delete',
|
|
7755
7722
|
`/menu/v3/draft/items`,
|
|
7756
7723
|
body,
|
|
@@ -7770,7 +7737,7 @@ export class ServiceClient extends BaseServiceClient {
|
|
|
7770
7737
|
): ResponsePromise<GetMenuV3DraftItemsResponse> {
|
|
7771
7738
|
return this.request(
|
|
7772
7739
|
'menu',
|
|
7773
|
-
'
|
|
7740
|
+
'/menu/v3/draft/items',
|
|
7774
7741
|
'get',
|
|
7775
7742
|
`/menu/v3/draft/items`,
|
|
7776
7743
|
null,
|
|
@@ -7790,7 +7757,7 @@ export class ServiceClient extends BaseServiceClient {
|
|
|
7790
7757
|
): ResponsePromise<PostMenuV3DraftItemsResponse> {
|
|
7791
7758
|
return this.request(
|
|
7792
7759
|
'menu',
|
|
7793
|
-
'
|
|
7760
|
+
'/menu/v3/draft/items',
|
|
7794
7761
|
'post',
|
|
7795
7762
|
`/menu/v3/draft/items`,
|
|
7796
7763
|
body,
|
|
@@ -7810,7 +7777,7 @@ export class ServiceClient extends BaseServiceClient {
|
|
|
7810
7777
|
): ResponsePromise<GetMenuV3DraftItemsCountResponse> {
|
|
7811
7778
|
return this.request(
|
|
7812
7779
|
'menu',
|
|
7813
|
-
'
|
|
7780
|
+
'/menu/v3/draft/items/count',
|
|
7814
7781
|
'get',
|
|
7815
7782
|
`/menu/v3/draft/items/count`,
|
|
7816
7783
|
null,
|
|
@@ -7830,7 +7797,7 @@ export class ServiceClient extends BaseServiceClient {
|
|
|
7830
7797
|
): ResponsePromise<PostMenuV3DraftItemRecoverResponse> {
|
|
7831
7798
|
return this.request(
|
|
7832
7799
|
'menu',
|
|
7833
|
-
'
|
|
7800
|
+
'/menu/v3/draft/item/{id}/recover',
|
|
7834
7801
|
'post',
|
|
7835
7802
|
`/menu/v3/draft/item/${id}/recover`,
|
|
7836
7803
|
null,
|
|
@@ -7852,7 +7819,7 @@ export class ServiceClient extends BaseServiceClient {
|
|
|
7852
7819
|
): ResponsePromise<GetMenuV3DraftItemLineRoutesResponse> {
|
|
7853
7820
|
return this.request(
|
|
7854
7821
|
'menu',
|
|
7855
|
-
'
|
|
7822
|
+
'/menu/v3/draft/item/{id}/line-routes',
|
|
7856
7823
|
'get',
|
|
7857
7824
|
`/menu/v3/draft/item/${id}/line-routes`,
|
|
7858
7825
|
null,
|
|
@@ -7872,7 +7839,7 @@ export class ServiceClient extends BaseServiceClient {
|
|
|
7872
7839
|
): ResponsePromise<PatchMenuV3DraftItemsBulkUpdateResponse> {
|
|
7873
7840
|
return this.request(
|
|
7874
7841
|
'menu',
|
|
7875
|
-
'
|
|
7842
|
+
'/menu/v3/draft/items/bulk-update',
|
|
7876
7843
|
'patch',
|
|
7877
7844
|
`/menu/v3/draft/items/bulk-update`,
|
|
7878
7845
|
body,
|
|
@@ -7896,7 +7863,7 @@ export class ServiceClient extends BaseServiceClient {
|
|
|
7896
7863
|
): ResponsePromise<PostMenuV3DraftItemAttachmentResponse> {
|
|
7897
7864
|
return this.request(
|
|
7898
7865
|
'menu',
|
|
7899
|
-
'
|
|
7866
|
+
'/menu/v3/draft/item/{id}/attachment/{name}',
|
|
7900
7867
|
'post',
|
|
7901
7868
|
`/menu/v3/draft/item/${id}/attachment/${name}`,
|
|
7902
7869
|
null,
|
|
@@ -7916,7 +7883,7 @@ export class ServiceClient extends BaseServiceClient {
|
|
|
7916
7883
|
): ResponsePromise<PostMenuV3DraftItemsValidateResponse> {
|
|
7917
7884
|
return this.request(
|
|
7918
7885
|
'menu',
|
|
7919
|
-
'
|
|
7886
|
+
'/menu/v3/draft/items/validate',
|
|
7920
7887
|
'post',
|
|
7921
7888
|
`/menu/v3/draft/items/validate`,
|
|
7922
7889
|
body,
|
|
@@ -7936,7 +7903,7 @@ export class ServiceClient extends BaseServiceClient {
|
|
|
7936
7903
|
): ResponsePromise<PostMenuV3DraftItemsImportResponse> {
|
|
7937
7904
|
return this.request(
|
|
7938
7905
|
'menu',
|
|
7939
|
-
'
|
|
7906
|
+
'/menu/v3/draft/items/import',
|
|
7940
7907
|
'post',
|
|
7941
7908
|
`/menu/v3/draft/items/import`,
|
|
7942
7909
|
body,
|
|
@@ -7956,7 +7923,7 @@ export class ServiceClient extends BaseServiceClient {
|
|
|
7956
7923
|
): ResponsePromise<PostMenuV3DraftItemsExportResponse> {
|
|
7957
7924
|
return this.request(
|
|
7958
7925
|
'menu',
|
|
7959
|
-
'
|
|
7926
|
+
'/menu/v3/draft/items/export',
|
|
7960
7927
|
'post',
|
|
7961
7928
|
`/menu/v3/draft/items/export`,
|
|
7962
7929
|
body,
|
|
@@ -7976,7 +7943,7 @@ export class ServiceClient extends BaseServiceClient {
|
|
|
7976
7943
|
query?: GetMenuV3ItemQuery;
|
|
7977
7944
|
} & RequestOptions,
|
|
7978
7945
|
): ResponsePromise<GetMenuV3ItemResponse> {
|
|
7979
|
-
return this.request('menu', '
|
|
7946
|
+
return this.request('menu', '/menu/v3/item/{id}', 'get', `/menu/v3/item/${id}`, null, options);
|
|
7980
7947
|
}
|
|
7981
7948
|
|
|
7982
7949
|
/**
|
|
@@ -7989,7 +7956,7 @@ export class ServiceClient extends BaseServiceClient {
|
|
|
7989
7956
|
query?: GetMenuV3ItemsQuery;
|
|
7990
7957
|
} & RequestOptions,
|
|
7991
7958
|
): ResponsePromise<GetMenuV3ItemsResponse> {
|
|
7992
|
-
return this.request('menu', '
|
|
7959
|
+
return this.request('menu', '/menu/v3/items', 'get', `/menu/v3/items`, null, options);
|
|
7993
7960
|
}
|
|
7994
7961
|
|
|
7995
7962
|
/**
|
|
@@ -8004,7 +7971,7 @@ export class ServiceClient extends BaseServiceClient {
|
|
|
8004
7971
|
): ResponsePromise<GetMenuV3ItemsCountResponse> {
|
|
8005
7972
|
return this.request(
|
|
8006
7973
|
'menu',
|
|
8007
|
-
'
|
|
7974
|
+
'/menu/v3/items/count',
|
|
8008
7975
|
'get',
|
|
8009
7976
|
`/menu/v3/items/count`,
|
|
8010
7977
|
null,
|
|
@@ -8026,7 +7993,7 @@ export class ServiceClient extends BaseServiceClient {
|
|
|
8026
7993
|
): ResponsePromise<PostMenuV3ItemRecoverResponse> {
|
|
8027
7994
|
return this.request(
|
|
8028
7995
|
'menu',
|
|
8029
|
-
'
|
|
7996
|
+
'/menu/v3/item/{id}/recover',
|
|
8030
7997
|
'post',
|
|
8031
7998
|
`/menu/v3/item/${id}/recover`,
|
|
8032
7999
|
null,
|
|
@@ -8046,7 +8013,7 @@ export class ServiceClient extends BaseServiceClient {
|
|
|
8046
8013
|
): ResponsePromise<PostMenuV3DraftItemRelationshipsModifierGroupResponse> {
|
|
8047
8014
|
return this.request(
|
|
8048
8015
|
'menu',
|
|
8049
|
-
'
|
|
8016
|
+
'/menu/v3/draft/item/relationships/modifier-group',
|
|
8050
8017
|
'post',
|
|
8051
8018
|
`/menu/v3/draft/item/relationships/modifier-group`,
|
|
8052
8019
|
body,
|
|
@@ -8068,7 +8035,7 @@ export class ServiceClient extends BaseServiceClient {
|
|
|
8068
8035
|
): ResponsePromise<GetMenuV3DraftItemRelationshipsModifierGroupResponse> {
|
|
8069
8036
|
return this.request(
|
|
8070
8037
|
'menu',
|
|
8071
|
-
'
|
|
8038
|
+
'/menu/v3/draft/item/relationships/modifier-group/{id}',
|
|
8072
8039
|
'get',
|
|
8073
8040
|
`/menu/v3/draft/item/relationships/modifier-group/${id}`,
|
|
8074
8041
|
null,
|
|
@@ -8090,7 +8057,7 @@ export class ServiceClient extends BaseServiceClient {
|
|
|
8090
8057
|
): ResponsePromise<PatchMenuV3DraftItemRelationshipsModifierGroupResponse> {
|
|
8091
8058
|
return this.request(
|
|
8092
8059
|
'menu',
|
|
8093
|
-
'
|
|
8060
|
+
'/menu/v3/draft/item/relationships/modifier-group/{id}',
|
|
8094
8061
|
'patch',
|
|
8095
8062
|
`/menu/v3/draft/item/relationships/modifier-group/${id}`,
|
|
8096
8063
|
body,
|
|
@@ -8112,7 +8079,7 @@ export class ServiceClient extends BaseServiceClient {
|
|
|
8112
8079
|
): ResponsePromise<DeleteMenuV3DraftItemRelationshipsModifierGroupResponse> {
|
|
8113
8080
|
return this.request(
|
|
8114
8081
|
'menu',
|
|
8115
|
-
'
|
|
8082
|
+
'/menu/v3/draft/item/relationships/modifier-group/{id}',
|
|
8116
8083
|
'delete',
|
|
8117
8084
|
`/menu/v3/draft/item/relationships/modifier-group/${id}`,
|
|
8118
8085
|
null,
|
|
@@ -8132,7 +8099,7 @@ export class ServiceClient extends BaseServiceClient {
|
|
|
8132
8099
|
): ResponsePromise<GetMenuV3DraftItemRelationshipsModifierGroupsResponse> {
|
|
8133
8100
|
return this.request(
|
|
8134
8101
|
'menu',
|
|
8135
|
-
'
|
|
8102
|
+
'/menu/v3/draft/item/relationships/modifier-groups',
|
|
8136
8103
|
'get',
|
|
8137
8104
|
`/menu/v3/draft/item/relationships/modifier-groups`,
|
|
8138
8105
|
null,
|
|
@@ -8152,7 +8119,7 @@ export class ServiceClient extends BaseServiceClient {
|
|
|
8152
8119
|
): ResponsePromise<PostMenuV3DraftItemRelationshipsModifierGroupsResponse> {
|
|
8153
8120
|
return this.request(
|
|
8154
8121
|
'menu',
|
|
8155
|
-
'
|
|
8122
|
+
'/menu/v3/draft/item/relationships/modifier-groups',
|
|
8156
8123
|
'post',
|
|
8157
8124
|
`/menu/v3/draft/item/relationships/modifier-groups`,
|
|
8158
8125
|
body,
|
|
@@ -8172,7 +8139,7 @@ export class ServiceClient extends BaseServiceClient {
|
|
|
8172
8139
|
): ResponsePromise<GetMenuV3DraftItemRelationshipsModifierGroupsCountResponse> {
|
|
8173
8140
|
return this.request(
|
|
8174
8141
|
'menu',
|
|
8175
|
-
'
|
|
8142
|
+
'/menu/v3/draft/item/relationships/modifier-groups/count',
|
|
8176
8143
|
'get',
|
|
8177
8144
|
`/menu/v3/draft/item/relationships/modifier-groups/count`,
|
|
8178
8145
|
null,
|
|
@@ -8192,7 +8159,7 @@ export class ServiceClient extends BaseServiceClient {
|
|
|
8192
8159
|
): ResponsePromise<PostMenuV3DraftItemRelationshipsModifierGroupRecoverResponse> {
|
|
8193
8160
|
return this.request(
|
|
8194
8161
|
'menu',
|
|
8195
|
-
'
|
|
8162
|
+
'/menu/v3/draft/item/relationships/modifier-group/{id}/recover',
|
|
8196
8163
|
'post',
|
|
8197
8164
|
`/menu/v3/draft/item/relationships/modifier-group/${id}/recover`,
|
|
8198
8165
|
null,
|
|
@@ -8214,7 +8181,7 @@ export class ServiceClient extends BaseServiceClient {
|
|
|
8214
8181
|
): ResponsePromise<GetMenuV3ItemRelationshipsModifierGroupResponse> {
|
|
8215
8182
|
return this.request(
|
|
8216
8183
|
'menu',
|
|
8217
|
-
'
|
|
8184
|
+
'/menu/v3/item/relationships/modifier-group/{id}',
|
|
8218
8185
|
'get',
|
|
8219
8186
|
`/menu/v3/item/relationships/modifier-group/${id}`,
|
|
8220
8187
|
null,
|
|
@@ -8234,7 +8201,7 @@ export class ServiceClient extends BaseServiceClient {
|
|
|
8234
8201
|
): ResponsePromise<GetMenuV3ItemRelationshipsModifierGroupsResponse> {
|
|
8235
8202
|
return this.request(
|
|
8236
8203
|
'menu',
|
|
8237
|
-
'
|
|
8204
|
+
'/menu/v3/item/relationships/modifier-groups',
|
|
8238
8205
|
'get',
|
|
8239
8206
|
`/menu/v3/item/relationships/modifier-groups`,
|
|
8240
8207
|
null,
|
|
@@ -8254,7 +8221,7 @@ export class ServiceClient extends BaseServiceClient {
|
|
|
8254
8221
|
): ResponsePromise<GetMenuV3ItemRelationshipsModifierGroupsCountResponse> {
|
|
8255
8222
|
return this.request(
|
|
8256
8223
|
'menu',
|
|
8257
|
-
'
|
|
8224
|
+
'/menu/v3/item/relationships/modifier-groups/count',
|
|
8258
8225
|
'get',
|
|
8259
8226
|
`/menu/v3/item/relationships/modifier-groups/count`,
|
|
8260
8227
|
null,
|
|
@@ -8276,7 +8243,7 @@ export class ServiceClient extends BaseServiceClient {
|
|
|
8276
8243
|
): ResponsePromise<PostMenuV3ItemRelationshipsModifierGroupRecoverResponse> {
|
|
8277
8244
|
return this.request(
|
|
8278
8245
|
'menu',
|
|
8279
|
-
'
|
|
8246
|
+
'/menu/v3/item/relationships/modifier-group/{id}/recover',
|
|
8280
8247
|
'post',
|
|
8281
8248
|
`/menu/v3/item/relationships/modifier-group/${id}/recover`,
|
|
8282
8249
|
null,
|
|
@@ -8296,7 +8263,7 @@ export class ServiceClient extends BaseServiceClient {
|
|
|
8296
8263
|
): ResponsePromise<PostMenuV3DraftModifierGroupResponse> {
|
|
8297
8264
|
return this.request(
|
|
8298
8265
|
'menu',
|
|
8299
|
-
'
|
|
8266
|
+
'/menu/v3/draft/modifier-group',
|
|
8300
8267
|
'post',
|
|
8301
8268
|
`/menu/v3/draft/modifier-group`,
|
|
8302
8269
|
body,
|
|
@@ -8318,7 +8285,7 @@ export class ServiceClient extends BaseServiceClient {
|
|
|
8318
8285
|
): ResponsePromise<GetMenuV3DraftModifierGroupResponse> {
|
|
8319
8286
|
return this.request(
|
|
8320
8287
|
'menu',
|
|
8321
|
-
'
|
|
8288
|
+
'/menu/v3/draft/modifier-group/{id}',
|
|
8322
8289
|
'get',
|
|
8323
8290
|
`/menu/v3/draft/modifier-group/${id}`,
|
|
8324
8291
|
null,
|
|
@@ -8340,7 +8307,7 @@ export class ServiceClient extends BaseServiceClient {
|
|
|
8340
8307
|
): ResponsePromise<PatchMenuV3DraftModifierGroupResponse> {
|
|
8341
8308
|
return this.request(
|
|
8342
8309
|
'menu',
|
|
8343
|
-
'
|
|
8310
|
+
'/menu/v3/draft/modifier-group/{id}',
|
|
8344
8311
|
'patch',
|
|
8345
8312
|
`/menu/v3/draft/modifier-group/${id}`,
|
|
8346
8313
|
body,
|
|
@@ -8362,7 +8329,7 @@ export class ServiceClient extends BaseServiceClient {
|
|
|
8362
8329
|
): ResponsePromise<DeleteMenuV3DraftModifierGroupResponse> {
|
|
8363
8330
|
return this.request(
|
|
8364
8331
|
'menu',
|
|
8365
|
-
'
|
|
8332
|
+
'/menu/v3/draft/modifier-group/{id}',
|
|
8366
8333
|
'delete',
|
|
8367
8334
|
`/menu/v3/draft/modifier-group/${id}`,
|
|
8368
8335
|
null,
|
|
@@ -8382,7 +8349,7 @@ export class ServiceClient extends BaseServiceClient {
|
|
|
8382
8349
|
): ResponsePromise<GetMenuV3DraftModifierGroupsResponse> {
|
|
8383
8350
|
return this.request(
|
|
8384
8351
|
'menu',
|
|
8385
|
-
'
|
|
8352
|
+
'/menu/v3/draft/modifier-groups',
|
|
8386
8353
|
'get',
|
|
8387
8354
|
`/menu/v3/draft/modifier-groups`,
|
|
8388
8355
|
null,
|
|
@@ -8402,7 +8369,7 @@ export class ServiceClient extends BaseServiceClient {
|
|
|
8402
8369
|
): ResponsePromise<PostMenuV3DraftModifierGroupsResponse> {
|
|
8403
8370
|
return this.request(
|
|
8404
8371
|
'menu',
|
|
8405
|
-
'
|
|
8372
|
+
'/menu/v3/draft/modifier-groups',
|
|
8406
8373
|
'post',
|
|
8407
8374
|
`/menu/v3/draft/modifier-groups`,
|
|
8408
8375
|
body,
|
|
@@ -8422,7 +8389,7 @@ export class ServiceClient extends BaseServiceClient {
|
|
|
8422
8389
|
): ResponsePromise<GetMenuV3DraftModifierGroupsCountResponse> {
|
|
8423
8390
|
return this.request(
|
|
8424
8391
|
'menu',
|
|
8425
|
-
'
|
|
8392
|
+
'/menu/v3/draft/modifier-groups/count',
|
|
8426
8393
|
'get',
|
|
8427
8394
|
`/menu/v3/draft/modifier-groups/count`,
|
|
8428
8395
|
null,
|
|
@@ -8442,7 +8409,7 @@ export class ServiceClient extends BaseServiceClient {
|
|
|
8442
8409
|
): ResponsePromise<PostMenuV3DraftModifierGroupRecoverResponse> {
|
|
8443
8410
|
return this.request(
|
|
8444
8411
|
'menu',
|
|
8445
|
-
'
|
|
8412
|
+
'/menu/v3/draft/modifier-group/{id}/recover',
|
|
8446
8413
|
'post',
|
|
8447
8414
|
`/menu/v3/draft/modifier-group/${id}/recover`,
|
|
8448
8415
|
null,
|
|
@@ -8464,7 +8431,7 @@ export class ServiceClient extends BaseServiceClient {
|
|
|
8464
8431
|
): ResponsePromise<PostMenuV3DraftModifierGroupDuplicateResponse> {
|
|
8465
8432
|
return this.request(
|
|
8466
8433
|
'menu',
|
|
8467
|
-
'
|
|
8434
|
+
'/menu/v3/draft/modifier-group/{id}/duplicate',
|
|
8468
8435
|
'post',
|
|
8469
8436
|
`/menu/v3/draft/modifier-group/${id}/duplicate`,
|
|
8470
8437
|
null,
|
|
@@ -8486,7 +8453,7 @@ export class ServiceClient extends BaseServiceClient {
|
|
|
8486
8453
|
): ResponsePromise<GetMenuV3ModifierGroupResponse> {
|
|
8487
8454
|
return this.request(
|
|
8488
8455
|
'menu',
|
|
8489
|
-
'
|
|
8456
|
+
'/menu/v3/modifier-group/{id}',
|
|
8490
8457
|
'get',
|
|
8491
8458
|
`/menu/v3/modifier-group/${id}`,
|
|
8492
8459
|
null,
|
|
@@ -8506,7 +8473,7 @@ export class ServiceClient extends BaseServiceClient {
|
|
|
8506
8473
|
): ResponsePromise<GetMenuV3ModifierGroupsResponse> {
|
|
8507
8474
|
return this.request(
|
|
8508
8475
|
'menu',
|
|
8509
|
-
'
|
|
8476
|
+
'/menu/v3/modifier-groups',
|
|
8510
8477
|
'get',
|
|
8511
8478
|
`/menu/v3/modifier-groups`,
|
|
8512
8479
|
null,
|
|
@@ -8526,7 +8493,7 @@ export class ServiceClient extends BaseServiceClient {
|
|
|
8526
8493
|
): ResponsePromise<GetMenuV3ModifierGroupsCountResponse> {
|
|
8527
8494
|
return this.request(
|
|
8528
8495
|
'menu',
|
|
8529
|
-
'
|
|
8496
|
+
'/menu/v3/modifier-groups/count',
|
|
8530
8497
|
'get',
|
|
8531
8498
|
`/menu/v3/modifier-groups/count`,
|
|
8532
8499
|
null,
|
|
@@ -8548,7 +8515,7 @@ export class ServiceClient extends BaseServiceClient {
|
|
|
8548
8515
|
): ResponsePromise<PostMenuV3ModifierGroupRecoverResponse> {
|
|
8549
8516
|
return this.request(
|
|
8550
8517
|
'menu',
|
|
8551
|
-
'
|
|
8518
|
+
'/menu/v3/modifier-group/{id}/recover',
|
|
8552
8519
|
'post',
|
|
8553
8520
|
`/menu/v3/modifier-group/${id}/recover`,
|
|
8554
8521
|
null,
|
|
@@ -8568,7 +8535,7 @@ export class ServiceClient extends BaseServiceClient {
|
|
|
8568
8535
|
): ResponsePromise<PostMenuV3DraftModifierGroupRelationshipsModifierResponse> {
|
|
8569
8536
|
return this.request(
|
|
8570
8537
|
'menu',
|
|
8571
|
-
'
|
|
8538
|
+
'/menu/v3/draft/modifier-group/relationships/modifier',
|
|
8572
8539
|
'post',
|
|
8573
8540
|
`/menu/v3/draft/modifier-group/relationships/modifier`,
|
|
8574
8541
|
body,
|
|
@@ -8590,7 +8557,7 @@ export class ServiceClient extends BaseServiceClient {
|
|
|
8590
8557
|
): ResponsePromise<GetMenuV3DraftModifierGroupRelationshipsModifierResponse> {
|
|
8591
8558
|
return this.request(
|
|
8592
8559
|
'menu',
|
|
8593
|
-
'
|
|
8560
|
+
'/menu/v3/draft/modifier-group/relationships/modifier/{id}',
|
|
8594
8561
|
'get',
|
|
8595
8562
|
`/menu/v3/draft/modifier-group/relationships/modifier/${id}`,
|
|
8596
8563
|
null,
|
|
@@ -8612,7 +8579,7 @@ export class ServiceClient extends BaseServiceClient {
|
|
|
8612
8579
|
): ResponsePromise<PatchMenuV3DraftModifierGroupRelationshipsModifierResponse> {
|
|
8613
8580
|
return this.request(
|
|
8614
8581
|
'menu',
|
|
8615
|
-
'
|
|
8582
|
+
'/menu/v3/draft/modifier-group/relationships/modifier/{id}',
|
|
8616
8583
|
'patch',
|
|
8617
8584
|
`/menu/v3/draft/modifier-group/relationships/modifier/${id}`,
|
|
8618
8585
|
body,
|
|
@@ -8634,7 +8601,7 @@ export class ServiceClient extends BaseServiceClient {
|
|
|
8634
8601
|
): ResponsePromise<DeleteMenuV3DraftModifierGroupRelationshipsModifierResponse> {
|
|
8635
8602
|
return this.request(
|
|
8636
8603
|
'menu',
|
|
8637
|
-
'
|
|
8604
|
+
'/menu/v3/draft/modifier-group/relationships/modifier/{id}',
|
|
8638
8605
|
'delete',
|
|
8639
8606
|
`/menu/v3/draft/modifier-group/relationships/modifier/${id}`,
|
|
8640
8607
|
null,
|
|
@@ -8654,7 +8621,7 @@ export class ServiceClient extends BaseServiceClient {
|
|
|
8654
8621
|
): ResponsePromise<GetMenuV3DraftModifierGroupRelationshipsModifiersResponse> {
|
|
8655
8622
|
return this.request(
|
|
8656
8623
|
'menu',
|
|
8657
|
-
'
|
|
8624
|
+
'/menu/v3/draft/modifier-group/relationships/modifiers',
|
|
8658
8625
|
'get',
|
|
8659
8626
|
`/menu/v3/draft/modifier-group/relationships/modifiers`,
|
|
8660
8627
|
null,
|
|
@@ -8674,7 +8641,7 @@ export class ServiceClient extends BaseServiceClient {
|
|
|
8674
8641
|
): ResponsePromise<PostMenuV3DraftModifierGroupRelationshipsModifiersResponse> {
|
|
8675
8642
|
return this.request(
|
|
8676
8643
|
'menu',
|
|
8677
|
-
'
|
|
8644
|
+
'/menu/v3/draft/modifier-group/relationships/modifiers',
|
|
8678
8645
|
'post',
|
|
8679
8646
|
`/menu/v3/draft/modifier-group/relationships/modifiers`,
|
|
8680
8647
|
body,
|
|
@@ -8694,7 +8661,7 @@ export class ServiceClient extends BaseServiceClient {
|
|
|
8694
8661
|
): ResponsePromise<GetMenuV3DraftModifierGroupRelationshipsModifiersCountResponse> {
|
|
8695
8662
|
return this.request(
|
|
8696
8663
|
'menu',
|
|
8697
|
-
'
|
|
8664
|
+
'/menu/v3/draft/modifier-group/relationships/modifiers/count',
|
|
8698
8665
|
'get',
|
|
8699
8666
|
`/menu/v3/draft/modifier-group/relationships/modifiers/count`,
|
|
8700
8667
|
null,
|
|
@@ -8714,7 +8681,7 @@ export class ServiceClient extends BaseServiceClient {
|
|
|
8714
8681
|
): ResponsePromise<PostMenuV3DraftModifierGroupRelationshipsModifierRecoverResponse> {
|
|
8715
8682
|
return this.request(
|
|
8716
8683
|
'menu',
|
|
8717
|
-
'
|
|
8684
|
+
'/menu/v3/draft/modifier-group/relationships/modifier/{id}/recover',
|
|
8718
8685
|
'post',
|
|
8719
8686
|
`/menu/v3/draft/modifier-group/relationships/modifier/${id}/recover`,
|
|
8720
8687
|
null,
|
|
@@ -8736,7 +8703,7 @@ export class ServiceClient extends BaseServiceClient {
|
|
|
8736
8703
|
): ResponsePromise<GetMenuV3ModifierGroupRelationshipsModifierResponse> {
|
|
8737
8704
|
return this.request(
|
|
8738
8705
|
'menu',
|
|
8739
|
-
'
|
|
8706
|
+
'/menu/v3/modifier-group/relationships/modifier/{id}',
|
|
8740
8707
|
'get',
|
|
8741
8708
|
`/menu/v3/modifier-group/relationships/modifier/${id}`,
|
|
8742
8709
|
null,
|
|
@@ -8756,7 +8723,7 @@ export class ServiceClient extends BaseServiceClient {
|
|
|
8756
8723
|
): ResponsePromise<GetMenuV3ModifierGroupRelationshipsModifiersResponse> {
|
|
8757
8724
|
return this.request(
|
|
8758
8725
|
'menu',
|
|
8759
|
-
'
|
|
8726
|
+
'/menu/v3/modifier-group/relationships/modifiers',
|
|
8760
8727
|
'get',
|
|
8761
8728
|
`/menu/v3/modifier-group/relationships/modifiers`,
|
|
8762
8729
|
null,
|
|
@@ -8776,7 +8743,7 @@ export class ServiceClient extends BaseServiceClient {
|
|
|
8776
8743
|
): ResponsePromise<GetMenuV3ModifierGroupRelationshipsModifiersCountResponse> {
|
|
8777
8744
|
return this.request(
|
|
8778
8745
|
'menu',
|
|
8779
|
-
'
|
|
8746
|
+
'/menu/v3/modifier-group/relationships/modifiers/count',
|
|
8780
8747
|
'get',
|
|
8781
8748
|
`/menu/v3/modifier-group/relationships/modifiers/count`,
|
|
8782
8749
|
null,
|
|
@@ -8798,7 +8765,7 @@ export class ServiceClient extends BaseServiceClient {
|
|
|
8798
8765
|
): ResponsePromise<PostMenuV3ModifierGroupRelationshipsModifierRecoverResponse> {
|
|
8799
8766
|
return this.request(
|
|
8800
8767
|
'menu',
|
|
8801
|
-
'
|
|
8768
|
+
'/menu/v3/modifier-group/relationships/modifier/{id}/recover',
|
|
8802
8769
|
'post',
|
|
8803
8770
|
`/menu/v3/modifier-group/relationships/modifier/${id}/recover`,
|
|
8804
8771
|
null,
|
|
@@ -8818,7 +8785,7 @@ export class ServiceClient extends BaseServiceClient {
|
|
|
8818
8785
|
): ResponsePromise<PostMenuV3DraftModifierResponse> {
|
|
8819
8786
|
return this.request(
|
|
8820
8787
|
'menu',
|
|
8821
|
-
'
|
|
8788
|
+
'/menu/v3/draft/modifier',
|
|
8822
8789
|
'post',
|
|
8823
8790
|
`/menu/v3/draft/modifier`,
|
|
8824
8791
|
body,
|
|
@@ -8840,7 +8807,7 @@ export class ServiceClient extends BaseServiceClient {
|
|
|
8840
8807
|
): ResponsePromise<GetMenuV3DraftModifierResponse> {
|
|
8841
8808
|
return this.request(
|
|
8842
8809
|
'menu',
|
|
8843
|
-
'
|
|
8810
|
+
'/menu/v3/draft/modifier/{id}',
|
|
8844
8811
|
'get',
|
|
8845
8812
|
`/menu/v3/draft/modifier/${id}`,
|
|
8846
8813
|
null,
|
|
@@ -8862,7 +8829,7 @@ export class ServiceClient extends BaseServiceClient {
|
|
|
8862
8829
|
): ResponsePromise<PatchMenuV3DraftModifierResponse> {
|
|
8863
8830
|
return this.request(
|
|
8864
8831
|
'menu',
|
|
8865
|
-
'
|
|
8832
|
+
'/menu/v3/draft/modifier/{id}',
|
|
8866
8833
|
'patch',
|
|
8867
8834
|
`/menu/v3/draft/modifier/${id}`,
|
|
8868
8835
|
body,
|
|
@@ -8884,7 +8851,7 @@ export class ServiceClient extends BaseServiceClient {
|
|
|
8884
8851
|
): ResponsePromise<DeleteMenuV3DraftModifierResponse> {
|
|
8885
8852
|
return this.request(
|
|
8886
8853
|
'menu',
|
|
8887
|
-
'
|
|
8854
|
+
'/menu/v3/draft/modifier/{id}',
|
|
8888
8855
|
'delete',
|
|
8889
8856
|
`/menu/v3/draft/modifier/${id}`,
|
|
8890
8857
|
null,
|
|
@@ -8904,7 +8871,7 @@ export class ServiceClient extends BaseServiceClient {
|
|
|
8904
8871
|
): ResponsePromise<DeleteMenuV3DraftModifiersResponse> {
|
|
8905
8872
|
return this.request(
|
|
8906
8873
|
'menu',
|
|
8907
|
-
'
|
|
8874
|
+
'/menu/v3/draft/modifiers',
|
|
8908
8875
|
'delete',
|
|
8909
8876
|
`/menu/v3/draft/modifiers`,
|
|
8910
8877
|
body,
|
|
@@ -8924,7 +8891,7 @@ export class ServiceClient extends BaseServiceClient {
|
|
|
8924
8891
|
): ResponsePromise<GetMenuV3DraftModifiersResponse> {
|
|
8925
8892
|
return this.request(
|
|
8926
8893
|
'menu',
|
|
8927
|
-
'
|
|
8894
|
+
'/menu/v3/draft/modifiers',
|
|
8928
8895
|
'get',
|
|
8929
8896
|
`/menu/v3/draft/modifiers`,
|
|
8930
8897
|
null,
|
|
@@ -8944,7 +8911,7 @@ export class ServiceClient extends BaseServiceClient {
|
|
|
8944
8911
|
): ResponsePromise<PostMenuV3DraftModifiersResponse> {
|
|
8945
8912
|
return this.request(
|
|
8946
8913
|
'menu',
|
|
8947
|
-
'
|
|
8914
|
+
'/menu/v3/draft/modifiers',
|
|
8948
8915
|
'post',
|
|
8949
8916
|
`/menu/v3/draft/modifiers`,
|
|
8950
8917
|
body,
|
|
@@ -8964,7 +8931,7 @@ export class ServiceClient extends BaseServiceClient {
|
|
|
8964
8931
|
): ResponsePromise<GetMenuV3DraftModifiersCountResponse> {
|
|
8965
8932
|
return this.request(
|
|
8966
8933
|
'menu',
|
|
8967
|
-
'
|
|
8934
|
+
'/menu/v3/draft/modifiers/count',
|
|
8968
8935
|
'get',
|
|
8969
8936
|
`/menu/v3/draft/modifiers/count`,
|
|
8970
8937
|
null,
|
|
@@ -8984,7 +8951,7 @@ export class ServiceClient extends BaseServiceClient {
|
|
|
8984
8951
|
): ResponsePromise<PostMenuV3DraftModifierRecoverResponse> {
|
|
8985
8952
|
return this.request(
|
|
8986
8953
|
'menu',
|
|
8987
|
-
'
|
|
8954
|
+
'/menu/v3/draft/modifier/{id}/recover',
|
|
8988
8955
|
'post',
|
|
8989
8956
|
`/menu/v3/draft/modifier/${id}/recover`,
|
|
8990
8957
|
null,
|
|
@@ -9006,7 +8973,7 @@ export class ServiceClient extends BaseServiceClient {
|
|
|
9006
8973
|
): ResponsePromise<GetMenuV3DraftModifierLineRoutesResponse> {
|
|
9007
8974
|
return this.request(
|
|
9008
8975
|
'menu',
|
|
9009
|
-
'
|
|
8976
|
+
'/menu/v3/draft/modifier/{id}/line-routes',
|
|
9010
8977
|
'get',
|
|
9011
8978
|
`/menu/v3/draft/modifier/${id}/line-routes`,
|
|
9012
8979
|
null,
|
|
@@ -9026,7 +8993,7 @@ export class ServiceClient extends BaseServiceClient {
|
|
|
9026
8993
|
): ResponsePromise<PatchMenuV3DraftModifiersBulkUpdateResponse> {
|
|
9027
8994
|
return this.request(
|
|
9028
8995
|
'menu',
|
|
9029
|
-
'
|
|
8996
|
+
'/menu/v3/draft/modifiers/bulk-update',
|
|
9030
8997
|
'patch',
|
|
9031
8998
|
`/menu/v3/draft/modifiers/bulk-update`,
|
|
9032
8999
|
body,
|
|
@@ -9050,7 +9017,7 @@ export class ServiceClient extends BaseServiceClient {
|
|
|
9050
9017
|
): ResponsePromise<PostMenuV3DraftModifiersAttachmentResponse> {
|
|
9051
9018
|
return this.request(
|
|
9052
9019
|
'menu',
|
|
9053
|
-
'
|
|
9020
|
+
'/menu/v3/draft/modifiers/{id}/attachment/{name}',
|
|
9054
9021
|
'post',
|
|
9055
9022
|
`/menu/v3/draft/modifiers/${id}/attachment/${name}`,
|
|
9056
9023
|
null,
|
|
@@ -9072,7 +9039,7 @@ export class ServiceClient extends BaseServiceClient {
|
|
|
9072
9039
|
): ResponsePromise<GetMenuV3ModifierResponse> {
|
|
9073
9040
|
return this.request(
|
|
9074
9041
|
'menu',
|
|
9075
|
-
'
|
|
9042
|
+
'/menu/v3/modifier/{id}',
|
|
9076
9043
|
'get',
|
|
9077
9044
|
`/menu/v3/modifier/${id}`,
|
|
9078
9045
|
null,
|
|
@@ -9090,14 +9057,7 @@ export class ServiceClient extends BaseServiceClient {
|
|
|
9090
9057
|
query?: GetMenuV3ModifiersQuery;
|
|
9091
9058
|
} & RequestOptions,
|
|
9092
9059
|
): ResponsePromise<GetMenuV3ModifiersResponse> {
|
|
9093
|
-
return this.request(
|
|
9094
|
-
'menu',
|
|
9095
|
-
'get_menu_v3_modifiers',
|
|
9096
|
-
'get',
|
|
9097
|
-
`/menu/v3/modifiers`,
|
|
9098
|
-
null,
|
|
9099
|
-
options,
|
|
9100
|
-
);
|
|
9060
|
+
return this.request('menu', '/menu/v3/modifiers', 'get', `/menu/v3/modifiers`, null, options);
|
|
9101
9061
|
}
|
|
9102
9062
|
|
|
9103
9063
|
/**
|
|
@@ -9112,7 +9072,7 @@ export class ServiceClient extends BaseServiceClient {
|
|
|
9112
9072
|
): ResponsePromise<GetMenuV3ModifiersCountResponse> {
|
|
9113
9073
|
return this.request(
|
|
9114
9074
|
'menu',
|
|
9115
|
-
'
|
|
9075
|
+
'/menu/v3/modifiers/count',
|
|
9116
9076
|
'get',
|
|
9117
9077
|
`/menu/v3/modifiers/count`,
|
|
9118
9078
|
null,
|
|
@@ -9134,7 +9094,7 @@ export class ServiceClient extends BaseServiceClient {
|
|
|
9134
9094
|
): ResponsePromise<PostMenuV3ModifierRecoverResponse> {
|
|
9135
9095
|
return this.request(
|
|
9136
9096
|
'menu',
|
|
9137
|
-
'
|
|
9097
|
+
'/menu/v3/modifier/{id}/recover',
|
|
9138
9098
|
'post',
|
|
9139
9099
|
`/menu/v3/modifier/${id}/recover`,
|
|
9140
9100
|
null,
|
|
@@ -9154,7 +9114,7 @@ export class ServiceClient extends BaseServiceClient {
|
|
|
9154
9114
|
): ResponsePromise<PostMenuV3IntegrationsTransltrImportResponse> {
|
|
9155
9115
|
return this.request(
|
|
9156
9116
|
'menu',
|
|
9157
|
-
'
|
|
9117
|
+
'/menu/v3/integrations/transltr/import',
|
|
9158
9118
|
'post',
|
|
9159
9119
|
`/menu/v3/integrations/transltr/import`,
|
|
9160
9120
|
null,
|
|
@@ -9176,7 +9136,7 @@ export class ServiceClient extends BaseServiceClient {
|
|
|
9176
9136
|
): ResponsePromise<GetMenuV3GlobalDiffResponse> {
|
|
9177
9137
|
return this.request(
|
|
9178
9138
|
'menu',
|
|
9179
|
-
'
|
|
9139
|
+
'/menu/v3/global-diff/{id}',
|
|
9180
9140
|
'get',
|
|
9181
9141
|
`/menu/v3/global-diff/${id}`,
|
|
9182
9142
|
null,
|
|
@@ -9196,7 +9156,7 @@ export class ServiceClient extends BaseServiceClient {
|
|
|
9196
9156
|
): ResponsePromise<GetMenuV3GlobalDiffsResponse> {
|
|
9197
9157
|
return this.request(
|
|
9198
9158
|
'menu',
|
|
9199
|
-
'
|
|
9159
|
+
'/menu/v3/global-diffs',
|
|
9200
9160
|
'get',
|
|
9201
9161
|
`/menu/v3/global-diffs`,
|
|
9202
9162
|
null,
|
|
@@ -9216,7 +9176,7 @@ export class ServiceClient extends BaseServiceClient {
|
|
|
9216
9176
|
): ResponsePromise<GetMenuV3GlobalDiffsCountResponse> {
|
|
9217
9177
|
return this.request(
|
|
9218
9178
|
'menu',
|
|
9219
|
-
'
|
|
9179
|
+
'/menu/v3/global-diffs/count',
|
|
9220
9180
|
'get',
|
|
9221
9181
|
`/menu/v3/global-diffs/count`,
|
|
9222
9182
|
null,
|
|
@@ -9236,7 +9196,7 @@ export class ServiceClient extends BaseServiceClient {
|
|
|
9236
9196
|
): ResponsePromise<PostMenuV3GlobalDiffRecoverResponse> {
|
|
9237
9197
|
return this.request(
|
|
9238
9198
|
'menu',
|
|
9239
|
-
'
|
|
9199
|
+
'/menu/v3/global-diff/{id}/recover',
|
|
9240
9200
|
'post',
|
|
9241
9201
|
`/menu/v3/global-diff/${id}/recover`,
|
|
9242
9202
|
null,
|
|
@@ -9254,14 +9214,7 @@ export class ServiceClient extends BaseServiceClient {
|
|
|
9254
9214
|
query?: GetMenuV3MenuworksQuery;
|
|
9255
9215
|
} & RequestOptions,
|
|
9256
9216
|
): ResponsePromise<GetMenuV3MenuworksResponse> {
|
|
9257
|
-
return this.request(
|
|
9258
|
-
'menu',
|
|
9259
|
-
'get_menu_v3_menuworks',
|
|
9260
|
-
'get',
|
|
9261
|
-
`/menu/v3/menuworks`,
|
|
9262
|
-
null,
|
|
9263
|
-
options,
|
|
9264
|
-
);
|
|
9217
|
+
return this.request('menu', '/menu/v3/menuworks', 'get', `/menu/v3/menuworks`, null, options);
|
|
9265
9218
|
}
|
|
9266
9219
|
|
|
9267
9220
|
/**
|
|
@@ -9276,7 +9229,7 @@ export class ServiceClient extends BaseServiceClient {
|
|
|
9276
9229
|
): ResponsePromise<GetMenuV3UniversalItemsResponse> {
|
|
9277
9230
|
return this.request(
|
|
9278
9231
|
'menu',
|
|
9279
|
-
'
|
|
9232
|
+
'/menu/v3/universal-items',
|
|
9280
9233
|
'get',
|
|
9281
9234
|
`/menu/v3/universal-items`,
|
|
9282
9235
|
null,
|
|
@@ -9296,7 +9249,7 @@ export class ServiceClient extends BaseServiceClient {
|
|
|
9296
9249
|
): ResponsePromise<PutMenuV3UniversalItemsResponse> {
|
|
9297
9250
|
return this.request(
|
|
9298
9251
|
'menu',
|
|
9299
|
-
'
|
|
9252
|
+
'/menu/v3/universal-items',
|
|
9300
9253
|
'put',
|
|
9301
9254
|
`/menu/v3/universal-items`,
|
|
9302
9255
|
body,
|
|
@@ -9318,7 +9271,7 @@ export class ServiceClient extends BaseServiceClient {
|
|
|
9318
9271
|
): ResponsePromise<GetMenuV3UniversalItemResponse> {
|
|
9319
9272
|
return this.request(
|
|
9320
9273
|
'menu',
|
|
9321
|
-
'
|
|
9274
|
+
'/menu/v3/universal-item/{barcode}',
|
|
9322
9275
|
'get',
|
|
9323
9276
|
`/menu/v3/universal-item/${barcode}`,
|
|
9324
9277
|
null,
|
|
@@ -9340,7 +9293,7 @@ export class ServiceClient extends BaseServiceClient {
|
|
|
9340
9293
|
): ResponsePromise<PatchMenuV3UniversalItemResponse> {
|
|
9341
9294
|
return this.request(
|
|
9342
9295
|
'menu',
|
|
9343
|
-
'
|
|
9296
|
+
'/menu/v3/universal-item/{barcode}',
|
|
9344
9297
|
'patch',
|
|
9345
9298
|
`/menu/v3/universal-item/${barcode}`,
|
|
9346
9299
|
body,
|
|
@@ -9360,7 +9313,7 @@ export class ServiceClient extends BaseServiceClient {
|
|
|
9360
9313
|
): ResponsePromise<PostMenuV3UniversalItemsVerifyResponse> {
|
|
9361
9314
|
return this.request(
|
|
9362
9315
|
'menu',
|
|
9363
|
-
'
|
|
9316
|
+
'/menu/v3/universal-items/verify',
|
|
9364
9317
|
'post',
|
|
9365
9318
|
`/menu/v3/universal-items/verify`,
|
|
9366
9319
|
body,
|
|
@@ -9378,7 +9331,7 @@ export class ServiceClient extends BaseServiceClient {
|
|
|
9378
9331
|
): ResponsePromise<PostMenuV3TriggerUpdateResponse> {
|
|
9379
9332
|
return this.request(
|
|
9380
9333
|
'menu',
|
|
9381
|
-
'
|
|
9334
|
+
'/menu/v3/trigger-update',
|
|
9382
9335
|
'post',
|
|
9383
9336
|
`/menu/v3/trigger-update`,
|
|
9384
9337
|
null,
|
|
@@ -9396,7 +9349,7 @@ export class ServiceClient extends BaseServiceClient {
|
|
|
9396
9349
|
query: GetNotificationsQuery;
|
|
9397
9350
|
} & RequestOptions,
|
|
9398
9351
|
): ResponsePromise<GetNotificationsResponse> {
|
|
9399
|
-
return this.request('notification', '
|
|
9352
|
+
return this.request('notification', '/notification', 'get', `/notification`, null, options);
|
|
9400
9353
|
}
|
|
9401
9354
|
|
|
9402
9355
|
/**
|
|
@@ -9409,14 +9362,7 @@ export class ServiceClient extends BaseServiceClient {
|
|
|
9409
9362
|
body: PostNotificationBody,
|
|
9410
9363
|
options?: RequestOptions,
|
|
9411
9364
|
): ResponsePromise<PostNotificationResponse> {
|
|
9412
|
-
return this.request(
|
|
9413
|
-
'notification',
|
|
9414
|
-
'post_notification',
|
|
9415
|
-
'post',
|
|
9416
|
-
`/notification`,
|
|
9417
|
-
body,
|
|
9418
|
-
options,
|
|
9419
|
-
);
|
|
9365
|
+
return this.request('notification', '/notification', 'post', `/notification`, body, options);
|
|
9420
9366
|
}
|
|
9421
9367
|
|
|
9422
9368
|
/**
|
|
@@ -9433,7 +9379,7 @@ export class ServiceClient extends BaseServiceClient {
|
|
|
9433
9379
|
): ResponsePromise<PatchNotificationResponse> {
|
|
9434
9380
|
return this.request(
|
|
9435
9381
|
'notification',
|
|
9436
|
-
'
|
|
9382
|
+
'/notification/{id}',
|
|
9437
9383
|
'patch',
|
|
9438
9384
|
`/notification/${id}`,
|
|
9439
9385
|
body,
|
|
@@ -9453,7 +9399,7 @@ export class ServiceClient extends BaseServiceClient {
|
|
|
9453
9399
|
): ResponsePromise<DeleteNotificationResponse> {
|
|
9454
9400
|
return this.request(
|
|
9455
9401
|
'notification',
|
|
9456
|
-
'
|
|
9402
|
+
'/notification/{id}',
|
|
9457
9403
|
'delete',
|
|
9458
9404
|
`/notification/${id}`,
|
|
9459
9405
|
null,
|
|
@@ -9475,7 +9421,7 @@ export class ServiceClient extends BaseServiceClient {
|
|
|
9475
9421
|
): ResponsePromise<PostNotificationStatusResponse> {
|
|
9476
9422
|
return this.request(
|
|
9477
9423
|
'notification',
|
|
9478
|
-
'
|
|
9424
|
+
'/notification/{id}/status',
|
|
9479
9425
|
'post',
|
|
9480
9426
|
`/notification/${id}/status`,
|
|
9481
9427
|
body,
|
|
@@ -9495,7 +9441,7 @@ export class ServiceClient extends BaseServiceClient {
|
|
|
9495
9441
|
): ResponsePromise<PostNotificationDevicePushResponse> {
|
|
9496
9442
|
return this.request(
|
|
9497
9443
|
'notification',
|
|
9498
|
-
'
|
|
9444
|
+
'/notification/device/push',
|
|
9499
9445
|
'post',
|
|
9500
9446
|
`/notification/device/push`,
|
|
9501
9447
|
body,
|
|
@@ -9515,7 +9461,7 @@ export class ServiceClient extends BaseServiceClient {
|
|
|
9515
9461
|
): ResponsePromise<GetNotificationSwaggerResponse> {
|
|
9516
9462
|
return this.request(
|
|
9517
9463
|
'notification',
|
|
9518
|
-
'
|
|
9464
|
+
'/notification/swagger.json',
|
|
9519
9465
|
'get',
|
|
9520
9466
|
`/notification/swagger.json`,
|
|
9521
9467
|
null,
|
|
@@ -9535,7 +9481,7 @@ export class ServiceClient extends BaseServiceClient {
|
|
|
9535
9481
|
): ResponsePromise<GetCompassconnectOmsTokenResponse> {
|
|
9536
9482
|
return this.request(
|
|
9537
9483
|
'compassconnect',
|
|
9538
|
-
'
|
|
9484
|
+
'/compassconnect/oms_token',
|
|
9539
9485
|
'get',
|
|
9540
9486
|
`/compassconnect/oms_token`,
|
|
9541
9487
|
null,
|
|
@@ -9555,7 +9501,7 @@ export class ServiceClient extends BaseServiceClient {
|
|
|
9555
9501
|
): ResponsePromise<PostVendorApplicationResponse> {
|
|
9556
9502
|
return this.request(
|
|
9557
9503
|
'vendor',
|
|
9558
|
-
'
|
|
9504
|
+
'/vendor/application',
|
|
9559
9505
|
'post',
|
|
9560
9506
|
`/vendor/application`,
|
|
9561
9507
|
body,
|
|
@@ -9575,7 +9521,7 @@ export class ServiceClient extends BaseServiceClient {
|
|
|
9575
9521
|
): ResponsePromise<GetVendorApplicationResponse> {
|
|
9576
9522
|
return this.request(
|
|
9577
9523
|
'vendor',
|
|
9578
|
-
'
|
|
9524
|
+
'/vendor/application',
|
|
9579
9525
|
'get',
|
|
9580
9526
|
`/vendor/application`,
|
|
9581
9527
|
null,
|
|
@@ -9597,7 +9543,7 @@ export class ServiceClient extends BaseServiceClient {
|
|
|
9597
9543
|
): ResponsePromise<PatchVendorApplicationResponse> {
|
|
9598
9544
|
return this.request(
|
|
9599
9545
|
'vendor',
|
|
9600
|
-
'
|
|
9546
|
+
'/vendor/application/{id}',
|
|
9601
9547
|
'patch',
|
|
9602
9548
|
`/vendor/application/${id}`,
|
|
9603
9549
|
body,
|
|
@@ -9612,7 +9558,7 @@ export class ServiceClient extends BaseServiceClient {
|
|
|
9612
9558
|
* @param options - additional request options
|
|
9613
9559
|
*/
|
|
9614
9560
|
post_vendor(body: PostVendorBody, options?: RequestOptions): ResponsePromise<PostVendorResponse> {
|
|
9615
|
-
return this.request('vendor', '
|
|
9561
|
+
return this.request('vendor', '/vendor', 'post', `/vendor`, body, options);
|
|
9616
9562
|
}
|
|
9617
9563
|
|
|
9618
9564
|
/**
|
|
@@ -9625,7 +9571,7 @@ export class ServiceClient extends BaseServiceClient {
|
|
|
9625
9571
|
query?: GetVendorsQuery;
|
|
9626
9572
|
} & RequestOptions,
|
|
9627
9573
|
): ResponsePromise<GetVendorsResponse> {
|
|
9628
|
-
return this.request('vendor', '
|
|
9574
|
+
return this.request('vendor', '/vendor', 'get', `/vendor`, null, options);
|
|
9629
9575
|
}
|
|
9630
9576
|
|
|
9631
9577
|
/**
|
|
@@ -9640,7 +9586,7 @@ export class ServiceClient extends BaseServiceClient {
|
|
|
9640
9586
|
query?: GetVendorQuery;
|
|
9641
9587
|
} & RequestOptions,
|
|
9642
9588
|
): ResponsePromise<GetVendorResponse> {
|
|
9643
|
-
return this.request('vendor', '
|
|
9589
|
+
return this.request('vendor', '/vendor/{id}', 'get', `/vendor/${id}`, null, options);
|
|
9644
9590
|
}
|
|
9645
9591
|
|
|
9646
9592
|
/**
|
|
@@ -9655,7 +9601,7 @@ export class ServiceClient extends BaseServiceClient {
|
|
|
9655
9601
|
body: PatchVendorBody,
|
|
9656
9602
|
options?: RequestOptions,
|
|
9657
9603
|
): ResponsePromise<PatchVendorResponse> {
|
|
9658
|
-
return this.request('vendor', '
|
|
9604
|
+
return this.request('vendor', '/vendor/{id}', 'patch', `/vendor/${id}`, body, options);
|
|
9659
9605
|
}
|
|
9660
9606
|
|
|
9661
9607
|
/**
|
|
@@ -9668,7 +9614,7 @@ export class ServiceClient extends BaseServiceClient {
|
|
|
9668
9614
|
query?: GetVendorAuthQuery;
|
|
9669
9615
|
} & RequestOptions,
|
|
9670
9616
|
): ResponsePromise<GetVendorAuthResponse> {
|
|
9671
|
-
return this.request('vendor', '
|
|
9617
|
+
return this.request('vendor', '/vendor/auth', 'get', `/vendor/auth`, null, options);
|
|
9672
9618
|
}
|
|
9673
9619
|
|
|
9674
9620
|
/**
|
|
@@ -9681,7 +9627,7 @@ export class ServiceClient extends BaseServiceClient {
|
|
|
9681
9627
|
body: PostVendorAuthBody,
|
|
9682
9628
|
options?: RequestOptions,
|
|
9683
9629
|
): ResponsePromise<PostVendorAuthResponse> {
|
|
9684
|
-
return this.request('vendor', '
|
|
9630
|
+
return this.request('vendor', '/vendor/auth', 'post', `/vendor/auth`, body, options);
|
|
9685
9631
|
}
|
|
9686
9632
|
|
|
9687
9633
|
/**
|
|
@@ -9696,7 +9642,7 @@ export class ServiceClient extends BaseServiceClient {
|
|
|
9696
9642
|
query?: GetVendorKeysQuery;
|
|
9697
9643
|
} & RequestOptions,
|
|
9698
9644
|
): ResponsePromise<GetVendorKeysResponse> {
|
|
9699
|
-
return this.request('vendor', '
|
|
9645
|
+
return this.request('vendor', '/vendor/{id}/key', 'get', `/vendor/${id}/key`, null, options);
|
|
9700
9646
|
}
|
|
9701
9647
|
|
|
9702
9648
|
/**
|
|
@@ -9711,7 +9657,7 @@ export class ServiceClient extends BaseServiceClient {
|
|
|
9711
9657
|
body: PostVendorKeyBody,
|
|
9712
9658
|
options?: RequestOptions,
|
|
9713
9659
|
): ResponsePromise<PostVendorKeyResponse> {
|
|
9714
|
-
return this.request('vendor', '
|
|
9660
|
+
return this.request('vendor', '/vendor/{id}/key', 'post', `/vendor/${id}/key`, body, options);
|
|
9715
9661
|
}
|
|
9716
9662
|
|
|
9717
9663
|
/**
|
|
@@ -9730,7 +9676,7 @@ export class ServiceClient extends BaseServiceClient {
|
|
|
9730
9676
|
): ResponsePromise<GetVendorKeyResponse> {
|
|
9731
9677
|
return this.request(
|
|
9732
9678
|
'vendor',
|
|
9733
|
-
'
|
|
9679
|
+
'/vendor/{id}/key/{key}',
|
|
9734
9680
|
'get',
|
|
9735
9681
|
`/vendor/${id}/key/${key}`,
|
|
9736
9682
|
null,
|
|
@@ -9754,7 +9700,7 @@ export class ServiceClient extends BaseServiceClient {
|
|
|
9754
9700
|
): ResponsePromise<PatchVendorKeyResponse> {
|
|
9755
9701
|
return this.request(
|
|
9756
9702
|
'vendor',
|
|
9757
|
-
'
|
|
9703
|
+
'/vendor/{id}/key/{key}',
|
|
9758
9704
|
'patch',
|
|
9759
9705
|
`/vendor/${id}/key/${key}`,
|
|
9760
9706
|
body,
|
|
@@ -9776,7 +9722,7 @@ export class ServiceClient extends BaseServiceClient {
|
|
|
9776
9722
|
): ResponsePromise<DeleteVendorKeyResponse> {
|
|
9777
9723
|
return this.request(
|
|
9778
9724
|
'vendor',
|
|
9779
|
-
'
|
|
9725
|
+
'/vendor/{id}/key/{key}',
|
|
9780
9726
|
'delete',
|
|
9781
9727
|
`/vendor/${id}/key/${key}`,
|
|
9782
9728
|
null,
|
|
@@ -9800,7 +9746,7 @@ export class ServiceClient extends BaseServiceClient {
|
|
|
9800
9746
|
): ResponsePromise<PostVendorKeyRotateResponse> {
|
|
9801
9747
|
return this.request(
|
|
9802
9748
|
'vendor',
|
|
9803
|
-
'
|
|
9749
|
+
'/vendor/{id}/key/{key}/rotate',
|
|
9804
9750
|
'post',
|
|
9805
9751
|
`/vendor/${id}/key/${key}/rotate`,
|
|
9806
9752
|
null,
|
|
@@ -9822,7 +9768,7 @@ export class ServiceClient extends BaseServiceClient {
|
|
|
9822
9768
|
): ResponsePromise<PostVendorResetPasswordResponse> {
|
|
9823
9769
|
return this.request(
|
|
9824
9770
|
'vendor',
|
|
9825
|
-
'
|
|
9771
|
+
'/vendor/{id}/reset/password',
|
|
9826
9772
|
'post',
|
|
9827
9773
|
`/vendor/${id}/reset/password`,
|
|
9828
9774
|
body,
|
|
@@ -9844,7 +9790,7 @@ export class ServiceClient extends BaseServiceClient {
|
|
|
9844
9790
|
): ResponsePromise<GetFrictionlessBrandFrictionlessStatusResponse> {
|
|
9845
9791
|
return this.request(
|
|
9846
9792
|
'frictionless',
|
|
9847
|
-
'
|
|
9793
|
+
'/frictionless/brand/{id_brand}/frictionless-status',
|
|
9848
9794
|
'get',
|
|
9849
9795
|
`/frictionless/brand/${id_brand}/frictionless-status`,
|
|
9850
9796
|
null,
|
|
@@ -9864,7 +9810,7 @@ export class ServiceClient extends BaseServiceClient {
|
|
|
9864
9810
|
): ResponsePromise<PostFrictionlessQrCodeResponse> {
|
|
9865
9811
|
return this.request(
|
|
9866
9812
|
'frictionless',
|
|
9867
|
-
'
|
|
9813
|
+
'/frictionless/qrcode',
|
|
9868
9814
|
'post',
|
|
9869
9815
|
`/frictionless/qrcode`,
|
|
9870
9816
|
body,
|
|
@@ -9886,7 +9832,7 @@ export class ServiceClient extends BaseServiceClient {
|
|
|
9886
9832
|
): ResponsePromise<GetFrictionlessCheckinStatusResponse> {
|
|
9887
9833
|
return this.request(
|
|
9888
9834
|
'frictionless',
|
|
9889
|
-
'
|
|
9835
|
+
'/frictionless/checkin/{id_checkin}/status',
|
|
9890
9836
|
'get',
|
|
9891
9837
|
`/frictionless/checkin/${id_checkin}/status`,
|
|
9892
9838
|
null,
|
|
@@ -9908,7 +9854,7 @@ export class ServiceClient extends BaseServiceClient {
|
|
|
9908
9854
|
): ResponsePromise<GetFrictionlessCheckinResponse> {
|
|
9909
9855
|
return this.request(
|
|
9910
9856
|
'frictionless',
|
|
9911
|
-
'
|
|
9857
|
+
'/frictionless/checkin/{id_checkin}',
|
|
9912
9858
|
'get',
|
|
9913
9859
|
`/frictionless/checkin/${id_checkin}`,
|
|
9914
9860
|
null,
|
|
@@ -9930,7 +9876,7 @@ export class ServiceClient extends BaseServiceClient {
|
|
|
9930
9876
|
): ResponsePromise<GetFrictionlessUsersPaymentIssuesResponse> {
|
|
9931
9877
|
return this.request(
|
|
9932
9878
|
'frictionless',
|
|
9933
|
-
'
|
|
9879
|
+
'/frictionless/users/{user_id}/checkins/payment-issues',
|
|
9934
9880
|
'get',
|
|
9935
9881
|
`/frictionless/users/${user_id}/checkins/payment-issues`,
|
|
9936
9882
|
null,
|
|
@@ -9950,7 +9896,7 @@ export class ServiceClient extends BaseServiceClient {
|
|
|
9950
9896
|
): ResponsePromise<GetFrictionlessFailedCheckinsResponse> {
|
|
9951
9897
|
return this.request(
|
|
9952
9898
|
'frictionless',
|
|
9953
|
-
'
|
|
9899
|
+
'/frictionless/failed-checkins',
|
|
9954
9900
|
'get',
|
|
9955
9901
|
`/frictionless/failed-checkins`,
|
|
9956
9902
|
null,
|
|
@@ -9970,7 +9916,7 @@ export class ServiceClient extends BaseServiceClient {
|
|
|
9970
9916
|
): ResponsePromise<PostFrictionlessCheckinsReprocessResponse> {
|
|
9971
9917
|
return this.request(
|
|
9972
9918
|
'frictionless',
|
|
9973
|
-
'
|
|
9919
|
+
'/frictionless/checkins/{id_checkin}/reprocess',
|
|
9974
9920
|
'post',
|
|
9975
9921
|
`/frictionless/checkins/${id_checkin}/reprocess`,
|
|
9976
9922
|
null,
|
|
@@ -9992,7 +9938,7 @@ export class ServiceClient extends BaseServiceClient {
|
|
|
9992
9938
|
): ResponsePromise<PostFrictionlessCheckinReprocessPaymentResponse> {
|
|
9993
9939
|
return this.request(
|
|
9994
9940
|
'frictionless',
|
|
9995
|
-
'
|
|
9941
|
+
'/frictionless/checkins/{checkin_id}/reprocess-payment',
|
|
9996
9942
|
'post',
|
|
9997
9943
|
`/frictionless/checkins/${checkin_id}/reprocess-payment`,
|
|
9998
9944
|
body,
|
|
@@ -10012,7 +9958,7 @@ export class ServiceClient extends BaseServiceClient {
|
|
|
10012
9958
|
): ResponsePromise<PostFrictionlessAmazonJwoConnectorV1IdentityIdentityKeysResponse> {
|
|
10013
9959
|
return this.request(
|
|
10014
9960
|
'frictionless',
|
|
10015
|
-
'
|
|
9961
|
+
'/frictionless/amazon-jwo-connector/v1/identity/identity-keys',
|
|
10016
9962
|
'post',
|
|
10017
9963
|
`/frictionless/amazon-jwo-connector/v1/identity/identity-keys`,
|
|
10018
9964
|
body,
|
|
@@ -10032,7 +9978,7 @@ export class ServiceClient extends BaseServiceClient {
|
|
|
10032
9978
|
): ResponsePromise<PostFrictionlessAmazonJwoConnectorV1OrderPurchasesResponse> {
|
|
10033
9979
|
return this.request(
|
|
10034
9980
|
'frictionless',
|
|
10035
|
-
'
|
|
9981
|
+
'/frictionless/amazon-jwo-connector/v1/order/purchases',
|
|
10036
9982
|
'post',
|
|
10037
9983
|
`/frictionless/amazon-jwo-connector/v1/order/purchases`,
|
|
10038
9984
|
body,
|
|
@@ -10040,6 +9986,46 @@ export class ServiceClient extends BaseServiceClient {
|
|
|
10040
9986
|
);
|
|
10041
9987
|
}
|
|
10042
9988
|
|
|
9989
|
+
/**
|
|
9990
|
+
* GET /consumer/v1/health-check
|
|
9991
|
+
*
|
|
9992
|
+
* @param options - additional request options
|
|
9993
|
+
*/
|
|
9994
|
+
HealthCheckController_execute(
|
|
9995
|
+
options?: {
|
|
9996
|
+
query?: HealthCheckControllerExecuteQuery;
|
|
9997
|
+
} & RequestOptions,
|
|
9998
|
+
): ResponsePromise<HealthCheckControllerExecuteResponse> {
|
|
9999
|
+
return this.request(
|
|
10000
|
+
'consumer',
|
|
10001
|
+
'/consumer/v1/health-check',
|
|
10002
|
+
'get',
|
|
10003
|
+
`/consumer/v1/health-check`,
|
|
10004
|
+
null,
|
|
10005
|
+
options,
|
|
10006
|
+
);
|
|
10007
|
+
}
|
|
10008
|
+
|
|
10009
|
+
/**
|
|
10010
|
+
* GET /consumer/v1/payment-methods - List payment methods available in a given brand
|
|
10011
|
+
*
|
|
10012
|
+
* @param options - additional request options
|
|
10013
|
+
*/
|
|
10014
|
+
get_payment_list_by_brand(
|
|
10015
|
+
options?: {
|
|
10016
|
+
query?: GetPaymentListByBrandQuery;
|
|
10017
|
+
} & RequestOptions,
|
|
10018
|
+
): ResponsePromise<GetPaymentListByBrandResponse> {
|
|
10019
|
+
return this.request(
|
|
10020
|
+
'consumer',
|
|
10021
|
+
'/consumer/v1/payment-methods',
|
|
10022
|
+
'get',
|
|
10023
|
+
`/consumer/v1/payment-methods`,
|
|
10024
|
+
null,
|
|
10025
|
+
options,
|
|
10026
|
+
);
|
|
10027
|
+
}
|
|
10028
|
+
|
|
10043
10029
|
/**
|
|
10044
10030
|
* POST /ai/language/generate - Generate text from a given prompt
|
|
10045
10031
|
*
|
|
@@ -10052,7 +10038,7 @@ export class ServiceClient extends BaseServiceClient {
|
|
|
10052
10038
|
): ResponsePromise<PostAiLanguageGenerateResponse> {
|
|
10053
10039
|
return this.request(
|
|
10054
10040
|
'ai',
|
|
10055
|
-
'
|
|
10041
|
+
'/ai/language/generate',
|
|
10056
10042
|
'post',
|
|
10057
10043
|
`/ai/language/generate`,
|
|
10058
10044
|
body,
|
|
@@ -10070,14 +10056,7 @@ export class ServiceClient extends BaseServiceClient {
|
|
|
10070
10056
|
body: PostAiImageGenerateBody,
|
|
10071
10057
|
options?: RequestOptions,
|
|
10072
10058
|
): ResponsePromise<PostAiImageGenerateResponse> {
|
|
10073
|
-
return this.request(
|
|
10074
|
-
'ai',
|
|
10075
|
-
'post_ai_image_generate',
|
|
10076
|
-
'post',
|
|
10077
|
-
`/ai/image/generate`,
|
|
10078
|
-
body,
|
|
10079
|
-
options,
|
|
10080
|
-
);
|
|
10059
|
+
return this.request('ai', '/ai/image/generate', 'post', `/ai/image/generate`, body, options);
|
|
10081
10060
|
}
|
|
10082
10061
|
|
|
10083
10062
|
/**
|
|
@@ -10092,7 +10071,7 @@ export class ServiceClient extends BaseServiceClient {
|
|
|
10092
10071
|
): ResponsePromise<PostCentricosAiItemDescriptionResponse> {
|
|
10093
10072
|
return this.request(
|
|
10094
10073
|
'centricos',
|
|
10095
|
-
'
|
|
10074
|
+
'/centricos/ai/item/description',
|
|
10096
10075
|
'post',
|
|
10097
10076
|
`/centricos/ai/item/description`,
|
|
10098
10077
|
body,
|
|
@@ -10112,7 +10091,7 @@ export class ServiceClient extends BaseServiceClient {
|
|
|
10112
10091
|
): ResponsePromise<PostCentricosAiItemImageResponse> {
|
|
10113
10092
|
return this.request(
|
|
10114
10093
|
'centricos',
|
|
10115
|
-
'
|
|
10094
|
+
'/centricos/ai/item/image',
|
|
10116
10095
|
'post',
|
|
10117
10096
|
`/centricos/ai/item/image`,
|
|
10118
10097
|
body,
|
|
@@ -10132,7 +10111,7 @@ export class ServiceClient extends BaseServiceClient {
|
|
|
10132
10111
|
): ResponsePromise<PostCentricosOrdersExportResponse> {
|
|
10133
10112
|
return this.request(
|
|
10134
10113
|
'centricos',
|
|
10135
|
-
'
|
|
10114
|
+
'/centricos/orders/export',
|
|
10136
10115
|
'get',
|
|
10137
10116
|
`/centricos/orders/export`,
|
|
10138
10117
|
null,
|
|
@@ -10154,7 +10133,7 @@ export class ServiceClient extends BaseServiceClient {
|
|
|
10154
10133
|
): ResponsePromise<GetCentricosReportGroupConfigResponse> {
|
|
10155
10134
|
return this.request(
|
|
10156
10135
|
'centricos',
|
|
10157
|
-
'
|
|
10136
|
+
'/centricos/report/group/{location_group}/config',
|
|
10158
10137
|
'get',
|
|
10159
10138
|
`/centricos/report/group/${location_group}/config`,
|
|
10160
10139
|
null,
|
|
@@ -10176,7 +10155,7 @@ export class ServiceClient extends BaseServiceClient {
|
|
|
10176
10155
|
): ResponsePromise<PutCentricosReportGroupConfigResponse> {
|
|
10177
10156
|
return this.request(
|
|
10178
10157
|
'centricos',
|
|
10179
|
-
'
|
|
10158
|
+
'/centricos/report/group/{location_group}/config',
|
|
10180
10159
|
'put',
|
|
10181
10160
|
`/centricos/report/group/${location_group}/config`,
|
|
10182
10161
|
body,
|
|
@@ -10196,7 +10175,7 @@ export class ServiceClient extends BaseServiceClient {
|
|
|
10196
10175
|
): ResponsePromise<DeleteCentricosReportGroupConfigResponse> {
|
|
10197
10176
|
return this.request(
|
|
10198
10177
|
'centricos',
|
|
10199
|
-
'
|
|
10178
|
+
'/centricos/report/group/{location_group}/config',
|
|
10200
10179
|
'delete',
|
|
10201
10180
|
`/centricos/report/group/${location_group}/config`,
|
|
10202
10181
|
null,
|
|
@@ -10218,7 +10197,7 @@ export class ServiceClient extends BaseServiceClient {
|
|
|
10218
10197
|
): ResponsePromise<GetCentricosReportConfigDefaultResponse> {
|
|
10219
10198
|
return this.request(
|
|
10220
10199
|
'centricos',
|
|
10221
|
-
'
|
|
10200
|
+
'/centricos/report/group/{location_group}/config/default',
|
|
10222
10201
|
'get',
|
|
10223
10202
|
`/centricos/report/group/${location_group}/config/default`,
|
|
10224
10203
|
null,
|
|
@@ -10238,7 +10217,7 @@ export class ServiceClient extends BaseServiceClient {
|
|
|
10238
10217
|
): ResponsePromise<GetCentricosLookerEmbedurlResponse> {
|
|
10239
10218
|
return this.request(
|
|
10240
10219
|
'centricos',
|
|
10241
|
-
'
|
|
10220
|
+
'/centricos/looker/embedurl',
|
|
10242
10221
|
'get',
|
|
10243
10222
|
`/centricos/looker/embedurl`,
|
|
10244
10223
|
null,
|
|
@@ -10260,7 +10239,7 @@ export class ServiceClient extends BaseServiceClient {
|
|
|
10260
10239
|
): ResponsePromise<GetSiteDevicesResponse> {
|
|
10261
10240
|
return this.request(
|
|
10262
10241
|
'centricos',
|
|
10263
|
-
'
|
|
10242
|
+
'/centricos/devices/{site_id}',
|
|
10264
10243
|
'get',
|
|
10265
10244
|
`/centricos/devices/${site_id}`,
|
|
10266
10245
|
null,
|
|
@@ -10278,14 +10257,7 @@ export class ServiceClient extends BaseServiceClient {
|
|
|
10278
10257
|
query: GetCentricosSitesQuery;
|
|
10279
10258
|
} & RequestOptions,
|
|
10280
10259
|
): ResponsePromise<GetCentricosSitesResponse> {
|
|
10281
|
-
return this.request(
|
|
10282
|
-
'centricos',
|
|
10283
|
-
'get_centricos_sites',
|
|
10284
|
-
'get',
|
|
10285
|
-
`/centricos/sites`,
|
|
10286
|
-
null,
|
|
10287
|
-
options,
|
|
10288
|
-
);
|
|
10260
|
+
return this.request('centricos', '/centricos/sites', 'get', `/centricos/sites`, null, options);
|
|
10289
10261
|
}
|
|
10290
10262
|
|
|
10291
10263
|
/**
|
|
@@ -10298,7 +10270,14 @@ export class ServiceClient extends BaseServiceClient {
|
|
|
10298
10270
|
query?: TaxHealthCheckQuery;
|
|
10299
10271
|
} & RequestOptions,
|
|
10300
10272
|
): ResponsePromise<TaxHealthCheckResponse> {
|
|
10301
|
-
return this.request(
|
|
10273
|
+
return this.request(
|
|
10274
|
+
'tax',
|
|
10275
|
+
'/tax/v1/health-check',
|
|
10276
|
+
'get',
|
|
10277
|
+
`/tax/v1/health-check`,
|
|
10278
|
+
null,
|
|
10279
|
+
options,
|
|
10280
|
+
);
|
|
10302
10281
|
}
|
|
10303
10282
|
|
|
10304
10283
|
/**
|
|
@@ -10311,7 +10290,7 @@ export class ServiceClient extends BaseServiceClient {
|
|
|
10311
10290
|
body: PostQuoteTaxBody,
|
|
10312
10291
|
options?: RequestOptions,
|
|
10313
10292
|
): ResponsePromise<PostQuoteTaxResponse> {
|
|
10314
|
-
return this.request('tax', '
|
|
10293
|
+
return this.request('tax', '/tax/quote', 'post', `/tax/quote`, body, options);
|
|
10315
10294
|
}
|
|
10316
10295
|
|
|
10317
10296
|
/**
|
|
@@ -10324,7 +10303,7 @@ export class ServiceClient extends BaseServiceClient {
|
|
|
10324
10303
|
query?: GetSearchOrderQuery;
|
|
10325
10304
|
} & RequestOptions,
|
|
10326
10305
|
): ResponsePromise<GetSearchOrderResponse> {
|
|
10327
|
-
return this.request('search', '
|
|
10306
|
+
return this.request('search', '/search/order', 'get', `/search/order`, null, options);
|
|
10328
10307
|
}
|
|
10329
10308
|
|
|
10330
10309
|
/**
|
|
@@ -10337,7 +10316,7 @@ export class ServiceClient extends BaseServiceClient {
|
|
|
10337
10316
|
query?: GetSearchLocationQuery;
|
|
10338
10317
|
} & RequestOptions,
|
|
10339
10318
|
): ResponsePromise<GetSearchLocationResponse> {
|
|
10340
|
-
return this.request('search', '
|
|
10319
|
+
return this.request('search', '/search/location', 'get', `/search/location`, null, options);
|
|
10341
10320
|
}
|
|
10342
10321
|
|
|
10343
10322
|
/**
|
|
@@ -10350,7 +10329,7 @@ export class ServiceClient extends BaseServiceClient {
|
|
|
10350
10329
|
body: PostAuthFlowBody,
|
|
10351
10330
|
options?: RequestOptions,
|
|
10352
10331
|
): ResponsePromise<PostAuthFlowResponse> {
|
|
10353
|
-
return this.request('auth', '
|
|
10332
|
+
return this.request('auth', '/auth/flow', 'post', `/auth/flow`, body, options);
|
|
10354
10333
|
}
|
|
10355
10334
|
|
|
10356
10335
|
/**
|
|
@@ -10363,7 +10342,7 @@ export class ServiceClient extends BaseServiceClient {
|
|
|
10363
10342
|
query?: GetAuthSsoConfigsQuery;
|
|
10364
10343
|
} & RequestOptions,
|
|
10365
10344
|
): ResponsePromise<GetAuthSsoConfigsResponse> {
|
|
10366
|
-
return this.request('auth', '
|
|
10345
|
+
return this.request('auth', '/auth/sso-configs', 'get', `/auth/sso-configs`, null, options);
|
|
10367
10346
|
}
|
|
10368
10347
|
|
|
10369
10348
|
/**
|
|
@@ -10376,7 +10355,7 @@ export class ServiceClient extends BaseServiceClient {
|
|
|
10376
10355
|
body: PostAuthSsoConfigBody,
|
|
10377
10356
|
options?: RequestOptions,
|
|
10378
10357
|
): ResponsePromise<PostAuthSsoConfigResponse> {
|
|
10379
|
-
return this.request('auth', '
|
|
10358
|
+
return this.request('auth', '/auth/sso-config', 'post', `/auth/sso-config`, body, options);
|
|
10380
10359
|
}
|
|
10381
10360
|
|
|
10382
10361
|
/**
|
|
@@ -10393,7 +10372,7 @@ export class ServiceClient extends BaseServiceClient {
|
|
|
10393
10372
|
): ResponsePromise<DeleteAuthSsoConfigResponse> {
|
|
10394
10373
|
return this.request(
|
|
10395
10374
|
'auth',
|
|
10396
|
-
'
|
|
10375
|
+
'/auth/sso-config/{name}/{clientId}',
|
|
10397
10376
|
'delete',
|
|
10398
10377
|
`/auth/sso-config/${name}/${clientId}`,
|
|
10399
10378
|
null,
|
|
@@ -10411,7 +10390,7 @@ export class ServiceClient extends BaseServiceClient {
|
|
|
10411
10390
|
body: PostAuthSsoBody,
|
|
10412
10391
|
options?: RequestOptions,
|
|
10413
10392
|
): ResponsePromise<PostAuthSsoResponse> {
|
|
10414
|
-
return this.request('auth', '
|
|
10393
|
+
return this.request('auth', '/auth/sso', 'post', `/auth/sso`, body, options);
|
|
10415
10394
|
}
|
|
10416
10395
|
|
|
10417
10396
|
/**
|
|
@@ -10425,14 +10404,7 @@ export class ServiceClient extends BaseServiceClient {
|
|
|
10425
10404
|
body: PostAuthSsoExchangeBody,
|
|
10426
10405
|
options?: RequestOptions,
|
|
10427
10406
|
): ResponsePromise<PostAuthSsoExchangeResponse> {
|
|
10428
|
-
return this.request(
|
|
10429
|
-
'auth',
|
|
10430
|
-
'post_auth_sso_exchange',
|
|
10431
|
-
'post',
|
|
10432
|
-
`/auth/sso/exchange`,
|
|
10433
|
-
body,
|
|
10434
|
-
options,
|
|
10435
|
-
);
|
|
10407
|
+
return this.request('auth', '/auth/sso/exchange', 'post', `/auth/sso/exchange`, body, options);
|
|
10436
10408
|
}
|
|
10437
10409
|
|
|
10438
10410
|
/**
|
|
@@ -10445,13 +10417,6 @@ export class ServiceClient extends BaseServiceClient {
|
|
|
10445
10417
|
query: GetAuthSsoExchangeQuery;
|
|
10446
10418
|
} & RequestOptions,
|
|
10447
10419
|
): ResponsePromise<GetAuthSsoExchangeResponse> {
|
|
10448
|
-
return this.request(
|
|
10449
|
-
'auth',
|
|
10450
|
-
'get_auth_sso_exchange',
|
|
10451
|
-
'get',
|
|
10452
|
-
`/auth/sso/exchange`,
|
|
10453
|
-
null,
|
|
10454
|
-
options,
|
|
10455
|
-
);
|
|
10420
|
+
return this.request('auth', '/auth/sso/exchange', 'get', `/auth/sso/exchange`, null, options);
|
|
10456
10421
|
}
|
|
10457
10422
|
}
|