@compassdigital/sdk.typescript 3.77.0 → 4.0.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/index.d.ts +103 -81
- package/lib/index.d.ts.map +1 -1
- package/lib/index.js +90 -63
- package/lib/index.js.map +1 -1
- package/lib/interface/ai.d.ts +50 -0
- package/lib/interface/ai.d.ts.map +1 -0
- package/lib/interface/ai.js +5 -0
- package/lib/interface/ai.js.map +1 -0
- package/lib/interface/calendar.d.ts +1 -1
- package/lib/interface/datalake.d.ts +3 -3
- package/lib/interface/datalake.d.ts.map +1 -1
- package/lib/interface/delivery.d.ts +2 -2
- package/lib/interface/delivery.d.ts.map +1 -1
- package/lib/interface/file.d.ts +1 -1
- package/lib/interface/file.d.ts.map +1 -1
- package/lib/interface/frictionless.d.ts +24 -24
- package/lib/interface/frictionless.d.ts.map +1 -1
- package/lib/interface/location.d.ts +23 -14
- package/lib/interface/location.d.ts.map +1 -1
- package/lib/interface/location.js +12 -0
- package/lib/interface/location.js.map +1 -1
- package/lib/interface/mealplan.d.ts +6 -5
- package/lib/interface/mealplan.d.ts.map +1 -1
- package/lib/interface/menu.d.ts +585 -492
- package/lib/interface/menu.d.ts.map +1 -1
- package/lib/interface/menu.js +6 -0
- package/lib/interface/menu.js.map +1 -1
- package/lib/interface/notification.d.ts +2 -2
- package/lib/interface/notification.d.ts.map +1 -1
- package/lib/interface/order.d.ts +6 -6
- package/lib/interface/order.d.ts.map +1 -1
- package/lib/interface/partner.d.ts +11 -6
- package/lib/interface/partner.d.ts.map +1 -1
- package/lib/interface/partner.js +6 -0
- package/lib/interface/partner.js.map +1 -1
- package/lib/interface/payment.d.ts +4 -4
- package/lib/interface/payment.d.ts.map +1 -1
- package/lib/interface/payment.js +1 -1
- package/lib/interface/payment.js.map +1 -1
- package/lib/interface/promo.d.ts +13 -6
- package/lib/interface/promo.d.ts.map +1 -1
- package/lib/interface/promo.js +8 -0
- package/lib/interface/promo.js.map +1 -1
- package/lib/interface/report.d.ts +8 -8
- package/lib/interface/report.d.ts.map +1 -1
- package/lib/interface/shoppingcart.d.ts +14 -9
- package/lib/interface/shoppingcart.d.ts.map +1 -1
- package/lib/interface/shoppingcart.js +5 -0
- package/lib/interface/shoppingcart.js.map +1 -1
- package/lib/interface/task.d.ts +14 -14
- package/lib/interface/task.d.ts.map +1 -1
- package/lib/interface/user.d.ts +16 -21
- package/lib/interface/user.d.ts.map +1 -1
- package/lib/interface/vendor.d.ts +5 -5
- package/lib/interface/vendor.d.ts.map +1 -1
- package/manifest.json +4 -0
- package/package.json +2 -2
- package/src/index.ts +248 -193
- package/src/interface/ai.ts +72 -0
- package/src/interface/announcement.ts +1 -1
- package/src/interface/calendar.ts +1 -1
- package/src/interface/datalake.ts +5 -3
- package/src/interface/delivery.ts +15 -2
- package/src/interface/file.ts +1 -1
- package/src/interface/frictionless.ts +30 -36
- package/src/interface/location.ts +28 -20
- package/src/interface/mealplan.ts +8 -6
- package/src/interface/menu.ts +671 -574
- package/src/interface/notification.ts +2 -2
- package/src/interface/order.ts +23 -12
- package/src/interface/partner.ts +10 -6
- package/src/interface/payment.ts +5 -5
- package/src/interface/promo.ts +12 -6
- package/src/interface/report.ts +8 -8
- package/src/interface/shoppingcart.ts +14 -9
- package/src/interface/task.ts +26 -14
- package/src/interface/user.ts +21 -27
- package/src/interface/vendor.ts +5 -5
package/src/index.ts
CHANGED
|
@@ -160,10 +160,10 @@ import {
|
|
|
160
160
|
DeleteLocationRecordResponse,
|
|
161
161
|
GetLocationV2GroupsQuery,
|
|
162
162
|
GetLocationV2GroupsResponse,
|
|
163
|
-
|
|
164
|
-
|
|
165
|
-
|
|
166
|
-
|
|
163
|
+
GetLocationMenuAssociationBrandQuery,
|
|
164
|
+
GetLocationMenuAssociationBrandResponse,
|
|
165
|
+
GetLocationMenuAssociationMenuQuery,
|
|
166
|
+
GetLocationMenuAssociationMenuResponse,
|
|
167
167
|
} from "./interface/location";
|
|
168
168
|
|
|
169
169
|
import {
|
|
@@ -276,8 +276,8 @@ import {
|
|
|
276
276
|
import {
|
|
277
277
|
PostDatalakeSqlBody,
|
|
278
278
|
PostDatalakeSqlResponse,
|
|
279
|
-
|
|
280
|
-
|
|
279
|
+
GetDatalakeSwaggerQuery,
|
|
280
|
+
GetDatalakeSwaggerResponse,
|
|
281
281
|
} from "./interface/datalake";
|
|
282
282
|
|
|
283
283
|
import {
|
|
@@ -455,51 +455,51 @@ import {
|
|
|
455
455
|
GetMenuClientResponse,
|
|
456
456
|
GetMenusQuery,
|
|
457
457
|
GetMenusResponse,
|
|
458
|
-
|
|
459
|
-
|
|
460
|
-
|
|
461
|
-
|
|
458
|
+
CreateMenuBody,
|
|
459
|
+
CreateMenuResponse,
|
|
460
|
+
GetMenuHeadersQuery,
|
|
461
|
+
GetMenuHeadersResponse,
|
|
462
462
|
GetMenuQuery,
|
|
463
463
|
GetMenuResponse,
|
|
464
|
-
|
|
465
|
-
|
|
466
|
-
|
|
464
|
+
UpdateMenuQuery,
|
|
465
|
+
UpdateMenuBody,
|
|
466
|
+
UpdateMenuResponse,
|
|
467
467
|
DeleteMenuQuery,
|
|
468
468
|
DeleteMenuResponse,
|
|
469
469
|
PatchMenuQuery,
|
|
470
470
|
PatchMenuBody,
|
|
471
471
|
PatchMenuResponse,
|
|
472
|
-
|
|
473
|
-
|
|
474
|
-
|
|
475
|
-
|
|
476
|
-
|
|
477
|
-
|
|
478
|
-
|
|
472
|
+
ImportMenuBody,
|
|
473
|
+
ImportMenuResponse,
|
|
474
|
+
GetItemQuery,
|
|
475
|
+
GetItemResponse,
|
|
476
|
+
DeleteItemResponse,
|
|
477
|
+
CreateItemBody,
|
|
478
|
+
CreateItemResponse,
|
|
479
479
|
GetMenuItemsQuery,
|
|
480
480
|
GetMenuItemsResponse,
|
|
481
|
-
|
|
482
|
-
|
|
483
|
-
|
|
484
|
-
|
|
485
|
-
|
|
486
|
-
|
|
487
|
-
|
|
488
|
-
|
|
489
|
-
|
|
490
|
-
|
|
491
|
-
|
|
492
|
-
|
|
493
|
-
|
|
494
|
-
|
|
495
|
-
|
|
496
|
-
|
|
497
|
-
|
|
498
|
-
|
|
499
|
-
|
|
500
|
-
|
|
501
|
-
|
|
502
|
-
|
|
481
|
+
ImportItemsCanteenResponse,
|
|
482
|
+
GetLocationItemsQuery,
|
|
483
|
+
GetLocationItemsResponse,
|
|
484
|
+
GetLocationItemRandomQuery,
|
|
485
|
+
GetLocationItemRandomResponse,
|
|
486
|
+
GetLocationItemsRandomQuery,
|
|
487
|
+
GetLocationItemsRandomResponse,
|
|
488
|
+
GetSectorMenusQuery,
|
|
489
|
+
GetSectorMenusResponse,
|
|
490
|
+
GetCompanyMenusQuery,
|
|
491
|
+
GetCompanyMenusResponse,
|
|
492
|
+
CreateModifierGroupBody,
|
|
493
|
+
CreateModifierGroupResponse,
|
|
494
|
+
GetModifierGroupQuery,
|
|
495
|
+
GetModifierGroupResponse,
|
|
496
|
+
UpdateModifierGroupBody,
|
|
497
|
+
UpdateModifierGroupResponse,
|
|
498
|
+
DeleteModifierGroupResponse,
|
|
499
|
+
GetCompanyModifierGroupsQuery,
|
|
500
|
+
GetCompanyModifierGroupsResponse,
|
|
501
|
+
GetCompanyModifierGroupsExportQuery,
|
|
502
|
+
GetCompanyModifierGroupsExportResponse,
|
|
503
503
|
GetMenuExportQuery,
|
|
504
504
|
GetMenuExportResponse,
|
|
505
505
|
GetMenuPartialGroupsQuery,
|
|
@@ -660,12 +660,12 @@ import {
|
|
|
660
660
|
PostMenuV3DraftCategoryRelationshipsItemsResponse,
|
|
661
661
|
GetMenuV3DraftCategoryRelationshipsItemsCountQuery,
|
|
662
662
|
GetMenuV3DraftCategoryRelationshipsItemsCountResponse,
|
|
663
|
-
|
|
664
|
-
|
|
665
|
-
|
|
666
|
-
|
|
667
|
-
|
|
668
|
-
|
|
663
|
+
GetMenuV3CategoryRelationshipsItemQuery,
|
|
664
|
+
GetMenuV3CategoryRelationshipsItemResponse,
|
|
665
|
+
GetMenuV3CategoryRelationshipsItemsQuery,
|
|
666
|
+
GetMenuV3CategoryRelationshipsItemsResponse,
|
|
667
|
+
GetMenuV3CategoryRelationshipsItemsCountQuery,
|
|
668
|
+
GetMenuV3CategoryRelationshipsItemsCountResponse,
|
|
669
669
|
PostMenuV3DraftItemBody,
|
|
670
670
|
PostMenuV3DraftItemResponse,
|
|
671
671
|
GetMenuV3DraftItemQuery,
|
|
@@ -723,6 +723,7 @@ import {
|
|
|
723
723
|
PostMenuV3DraftModifierGroupsResponse,
|
|
724
724
|
GetMenuV3DraftModifierGroupsCountQuery,
|
|
725
725
|
GetMenuV3DraftModifierGroupsCountResponse,
|
|
726
|
+
PostMenuV3DraftModifierGroupDuplicateResponse,
|
|
726
727
|
GetMenuV3ModifierGroupQuery,
|
|
727
728
|
GetMenuV3ModifierGroupResponse,
|
|
728
729
|
GetMenuV3ModifierGroupsQuery,
|
|
@@ -844,19 +845,26 @@ import {
|
|
|
844
845
|
} from "./interface/delivery";
|
|
845
846
|
|
|
846
847
|
import {
|
|
847
|
-
|
|
848
|
-
|
|
849
|
-
|
|
850
|
-
|
|
851
|
-
|
|
852
|
-
|
|
853
|
-
|
|
854
|
-
|
|
855
|
-
|
|
856
|
-
|
|
857
|
-
|
|
848
|
+
StandardCognitionEventWebhookControllerExecuteBody,
|
|
849
|
+
StandardCognitionEventWebhookControllerExecuteResponse,
|
|
850
|
+
CheckFrictionlessSupportControllerExecuteQuery,
|
|
851
|
+
CheckFrictionlessSupportControllerExecuteResponse,
|
|
852
|
+
CreateQRCodeUserCheckInControllerExecuteBody,
|
|
853
|
+
CreateQRCodeUserCheckInControllerExecuteResponse,
|
|
854
|
+
ListFailedCheckinsControllerExecuteQuery,
|
|
855
|
+
ListFailedCheckinsControllerExecuteResponse,
|
|
856
|
+
ReprocessCheckinOnErrorControllerExecuteResponse,
|
|
857
|
+
CheckCheckinStatusControllerExecuteQuery,
|
|
858
|
+
CheckCheckinStatusControllerExecuteResponse,
|
|
858
859
|
} from "./interface/frictionless";
|
|
859
860
|
|
|
861
|
+
import {
|
|
862
|
+
PostAiLanguageGenerateBody,
|
|
863
|
+
PostAiLanguageGenerateResponse,
|
|
864
|
+
PostAiImageGenerateBody,
|
|
865
|
+
PostAiImageGenerateResponse,
|
|
866
|
+
} from "./interface/ai";
|
|
867
|
+
|
|
860
868
|
import { BaseServiceClient, RequestOptions, ResponsePromise } from "./base";
|
|
861
869
|
export * from "./base";
|
|
862
870
|
|
|
@@ -2381,9 +2389,9 @@ export class ServiceClient extends BaseServiceClient {
|
|
|
2381
2389
|
get_location_menu_association_brand(
|
|
2382
2390
|
id: string,
|
|
2383
2391
|
options?: {
|
|
2384
|
-
query?:
|
|
2392
|
+
query?: GetLocationMenuAssociationBrandQuery;
|
|
2385
2393
|
} & RequestOptions
|
|
2386
|
-
): ResponsePromise<
|
|
2394
|
+
): ResponsePromise<GetLocationMenuAssociationBrandResponse> {
|
|
2387
2395
|
return this.request(
|
|
2388
2396
|
"location",
|
|
2389
2397
|
"get_location_menu_association_brand",
|
|
@@ -2403,9 +2411,9 @@ export class ServiceClient extends BaseServiceClient {
|
|
|
2403
2411
|
get_location_menu_association_menu(
|
|
2404
2412
|
id: string,
|
|
2405
2413
|
options?: {
|
|
2406
|
-
query?:
|
|
2414
|
+
query?: GetLocationMenuAssociationMenuQuery;
|
|
2407
2415
|
} & RequestOptions
|
|
2408
|
-
): ResponsePromise<
|
|
2416
|
+
): ResponsePromise<GetLocationMenuAssociationMenuResponse> {
|
|
2409
2417
|
return this.request(
|
|
2410
2418
|
"location",
|
|
2411
2419
|
"get_location_menu_association_menu",
|
|
@@ -3320,7 +3328,7 @@ export class ServiceClient extends BaseServiceClient {
|
|
|
3320
3328
|
/**
|
|
3321
3329
|
* POST /mealplan/{id}/authorize - Authorize Transaction
|
|
3322
3330
|
*
|
|
3323
|
-
* @param id -
|
|
3331
|
+
* @param id - Meal plan ID
|
|
3324
3332
|
* @param body
|
|
3325
3333
|
* @param options - additional request options
|
|
3326
3334
|
*/
|
|
@@ -3357,12 +3365,12 @@ export class ServiceClient extends BaseServiceClient {
|
|
|
3357
3365
|
*
|
|
3358
3366
|
* @param options - additional request options
|
|
3359
3367
|
*/
|
|
3360
|
-
|
|
3368
|
+
get_datalake_swagger(
|
|
3361
3369
|
options?: {
|
|
3362
|
-
query?:
|
|
3370
|
+
query?: GetDatalakeSwaggerQuery;
|
|
3363
3371
|
} & RequestOptions
|
|
3364
|
-
): ResponsePromise<
|
|
3365
|
-
return this.request("datalake", "
|
|
3372
|
+
): ResponsePromise<GetDatalakeSwaggerResponse> {
|
|
3373
|
+
return this.request("datalake", "get_datalake_swagger", "get", `/swagger.json`, null, options);
|
|
3366
3374
|
}
|
|
3367
3375
|
|
|
3368
3376
|
/**
|
|
@@ -3821,7 +3829,7 @@ export class ServiceClient extends BaseServiceClient {
|
|
|
3821
3829
|
/**
|
|
3822
3830
|
* GET /announcement/resource/{id} - Get Announcements
|
|
3823
3831
|
*
|
|
3824
|
-
* @param id - Id of the entity to which announcement is specifically related
|
|
3832
|
+
* @param id - Id of the entity to which announcement is specifically related.
|
|
3825
3833
|
* @param options - additional request options
|
|
3826
3834
|
*/
|
|
3827
3835
|
get_announcement_resource(
|
|
@@ -3933,7 +3941,7 @@ export class ServiceClient extends BaseServiceClient {
|
|
|
3933
3941
|
*/
|
|
3934
3942
|
get_report_analytics_group(
|
|
3935
3943
|
location_group: string,
|
|
3936
|
-
report_type:
|
|
3944
|
+
report_type: "bills" | "sales" | "transactions" | "top-items",
|
|
3937
3945
|
options: {
|
|
3938
3946
|
query: GetReportAnalyticsGroupQuery;
|
|
3939
3947
|
} & RequestOptions
|
|
@@ -4807,8 +4815,8 @@ export class ServiceClient extends BaseServiceClient {
|
|
|
4807
4815
|
* @param body
|
|
4808
4816
|
* @param options - additional request options
|
|
4809
4817
|
*/
|
|
4810
|
-
|
|
4811
|
-
return this.request("menu", "
|
|
4818
|
+
create_menu(body: CreateMenuBody, options?: RequestOptions): ResponsePromise<CreateMenuResponse> {
|
|
4819
|
+
return this.request("menu", "create_menu", "post", `/menu`, body, options);
|
|
4812
4820
|
}
|
|
4813
4821
|
|
|
4814
4822
|
/**
|
|
@@ -4817,13 +4825,13 @@ export class ServiceClient extends BaseServiceClient {
|
|
|
4817
4825
|
* @param id - menu
|
|
4818
4826
|
* @param options - additional request options
|
|
4819
4827
|
*/
|
|
4820
|
-
|
|
4828
|
+
get_menu_headers(
|
|
4821
4829
|
id: string,
|
|
4822
4830
|
options?: {
|
|
4823
|
-
query?:
|
|
4831
|
+
query?: GetMenuHeadersQuery;
|
|
4824
4832
|
} & RequestOptions
|
|
4825
|
-
): ResponsePromise<
|
|
4826
|
-
return this.request("menu", "
|
|
4833
|
+
): ResponsePromise<GetMenuHeadersResponse> {
|
|
4834
|
+
return this.request("menu", "get_menu_headers", "head", `/menu/${id}`, null, options);
|
|
4827
4835
|
}
|
|
4828
4836
|
|
|
4829
4837
|
/**
|
|
@@ -4848,14 +4856,14 @@ export class ServiceClient extends BaseServiceClient {
|
|
|
4848
4856
|
* @param body
|
|
4849
4857
|
* @param options - additional request options
|
|
4850
4858
|
*/
|
|
4851
|
-
|
|
4859
|
+
update_menu(
|
|
4852
4860
|
id: string,
|
|
4853
|
-
body:
|
|
4861
|
+
body: UpdateMenuBody,
|
|
4854
4862
|
options?: {
|
|
4855
|
-
query?:
|
|
4863
|
+
query?: UpdateMenuQuery;
|
|
4856
4864
|
} & RequestOptions
|
|
4857
|
-
): ResponsePromise<
|
|
4858
|
-
return this.request("menu", "
|
|
4865
|
+
): ResponsePromise<UpdateMenuResponse> {
|
|
4866
|
+
return this.request("menu", "update_menu", "put", `/menu/${id}`, body, options);
|
|
4859
4867
|
}
|
|
4860
4868
|
|
|
4861
4869
|
/**
|
|
@@ -4896,11 +4904,8 @@ export class ServiceClient extends BaseServiceClient {
|
|
|
4896
4904
|
* @param body
|
|
4897
4905
|
* @param options - additional request options
|
|
4898
4906
|
*/
|
|
4899
|
-
|
|
4900
|
-
body
|
|
4901
|
-
options?: RequestOptions
|
|
4902
|
-
): ResponsePromise<PostMenuImportMenuResponse> {
|
|
4903
|
-
return this.request("menu", "post_menu_import_menu", "post", `/menu/import`, body, options);
|
|
4907
|
+
import_menu(body: ImportMenuBody, options?: RequestOptions): ResponsePromise<ImportMenuResponse> {
|
|
4908
|
+
return this.request("menu", "import_menu", "post", `/menu/import`, body, options);
|
|
4904
4909
|
}
|
|
4905
4910
|
|
|
4906
4911
|
/**
|
|
@@ -4909,13 +4914,13 @@ export class ServiceClient extends BaseServiceClient {
|
|
|
4909
4914
|
* @param id - Item ID
|
|
4910
4915
|
* @param options - additional request options
|
|
4911
4916
|
*/
|
|
4912
|
-
|
|
4917
|
+
get_item(
|
|
4913
4918
|
id: string,
|
|
4914
4919
|
options?: {
|
|
4915
|
-
query?:
|
|
4920
|
+
query?: GetItemQuery;
|
|
4916
4921
|
} & RequestOptions
|
|
4917
|
-
): ResponsePromise<
|
|
4918
|
-
return this.request("menu", "
|
|
4922
|
+
): ResponsePromise<GetItemResponse> {
|
|
4923
|
+
return this.request("menu", "get_item", "get", `/menu/item/${id}`, null, options);
|
|
4919
4924
|
}
|
|
4920
4925
|
|
|
4921
4926
|
/**
|
|
@@ -4924,8 +4929,8 @@ export class ServiceClient extends BaseServiceClient {
|
|
|
4924
4929
|
* @param id - Item ID
|
|
4925
4930
|
* @param options - additional request options
|
|
4926
4931
|
*/
|
|
4927
|
-
|
|
4928
|
-
return this.request("menu", "
|
|
4932
|
+
delete_item(id: string, options?: RequestOptions): ResponsePromise<DeleteItemResponse> {
|
|
4933
|
+
return this.request("menu", "delete_item", "delete", `/menu/item/${id}`, null, options);
|
|
4929
4934
|
}
|
|
4930
4935
|
|
|
4931
4936
|
/**
|
|
@@ -4934,11 +4939,8 @@ export class ServiceClient extends BaseServiceClient {
|
|
|
4934
4939
|
* @param body
|
|
4935
4940
|
* @param options - additional request options
|
|
4936
4941
|
*/
|
|
4937
|
-
|
|
4938
|
-
body
|
|
4939
|
-
options?: RequestOptions
|
|
4940
|
-
): ResponsePromise<PostMenuItemResponse> {
|
|
4941
|
-
return this.request("menu", "post_menu_item", "post", `/menu/item`, body, options);
|
|
4942
|
+
create_item(body: CreateItemBody, options?: RequestOptions): ResponsePromise<CreateItemResponse> {
|
|
4943
|
+
return this.request("menu", "create_item", "post", `/menu/item`, body, options);
|
|
4942
4944
|
}
|
|
4943
4945
|
|
|
4944
4946
|
/**
|
|
@@ -4960,13 +4962,13 @@ export class ServiceClient extends BaseServiceClient {
|
|
|
4960
4962
|
* @param location - Location ID
|
|
4961
4963
|
* @param options - additional request options
|
|
4962
4964
|
*/
|
|
4963
|
-
|
|
4965
|
+
import_items_canteen(
|
|
4964
4966
|
location: string,
|
|
4965
4967
|
options?: RequestOptions
|
|
4966
|
-
): ResponsePromise<
|
|
4968
|
+
): ResponsePromise<ImportItemsCanteenResponse> {
|
|
4967
4969
|
return this.request(
|
|
4968
4970
|
"menu",
|
|
4969
|
-
"
|
|
4971
|
+
"import_items_canteen",
|
|
4970
4972
|
"post",
|
|
4971
4973
|
`/menu/items/import/${location}`,
|
|
4972
4974
|
null,
|
|
@@ -4980,15 +4982,15 @@ export class ServiceClient extends BaseServiceClient {
|
|
|
4980
4982
|
* @param location - Location ID
|
|
4981
4983
|
* @param options - additional request options
|
|
4982
4984
|
*/
|
|
4983
|
-
|
|
4985
|
+
get_location_items(
|
|
4984
4986
|
location: string,
|
|
4985
4987
|
options?: {
|
|
4986
|
-
query?:
|
|
4988
|
+
query?: GetLocationItemsQuery;
|
|
4987
4989
|
} & RequestOptions
|
|
4988
|
-
): ResponsePromise<
|
|
4990
|
+
): ResponsePromise<GetLocationItemsResponse> {
|
|
4989
4991
|
return this.request(
|
|
4990
4992
|
"menu",
|
|
4991
|
-
"
|
|
4993
|
+
"get_location_items",
|
|
4992
4994
|
"get",
|
|
4993
4995
|
`/menu/items/location/${location}`,
|
|
4994
4996
|
null,
|
|
@@ -5002,15 +5004,15 @@ export class ServiceClient extends BaseServiceClient {
|
|
|
5002
5004
|
* @param location - Location ID
|
|
5003
5005
|
* @param options - additional request options
|
|
5004
5006
|
*/
|
|
5005
|
-
|
|
5007
|
+
get_location_item_random(
|
|
5006
5008
|
location: string,
|
|
5007
5009
|
options?: {
|
|
5008
|
-
query?:
|
|
5010
|
+
query?: GetLocationItemRandomQuery;
|
|
5009
5011
|
} & RequestOptions
|
|
5010
|
-
): ResponsePromise<
|
|
5012
|
+
): ResponsePromise<GetLocationItemRandomResponse> {
|
|
5011
5013
|
return this.request(
|
|
5012
5014
|
"menu",
|
|
5013
|
-
"
|
|
5015
|
+
"get_location_item_random",
|
|
5014
5016
|
"get",
|
|
5015
5017
|
`/menu/item/random/location/${location}`,
|
|
5016
5018
|
null,
|
|
@@ -5024,15 +5026,15 @@ export class ServiceClient extends BaseServiceClient {
|
|
|
5024
5026
|
* @param location - Location ID
|
|
5025
5027
|
* @param options - additional request options
|
|
5026
5028
|
*/
|
|
5027
|
-
|
|
5029
|
+
get_location_items_random(
|
|
5028
5030
|
location: string,
|
|
5029
5031
|
options?: {
|
|
5030
|
-
query?:
|
|
5032
|
+
query?: GetLocationItemsRandomQuery;
|
|
5031
5033
|
} & RequestOptions
|
|
5032
|
-
): ResponsePromise<
|
|
5034
|
+
): ResponsePromise<GetLocationItemsRandomResponse> {
|
|
5033
5035
|
return this.request(
|
|
5034
5036
|
"menu",
|
|
5035
|
-
"
|
|
5037
|
+
"get_location_items_random",
|
|
5036
5038
|
"get",
|
|
5037
5039
|
`/menu/items/random/location/${location}`,
|
|
5038
5040
|
null,
|
|
@@ -5046,20 +5048,13 @@ export class ServiceClient extends BaseServiceClient {
|
|
|
5046
5048
|
* @param sector - Sector ID
|
|
5047
5049
|
* @param options - additional request options
|
|
5048
5050
|
*/
|
|
5049
|
-
|
|
5051
|
+
get_sector_menus(
|
|
5050
5052
|
sector: string,
|
|
5051
5053
|
options?: {
|
|
5052
|
-
query?:
|
|
5054
|
+
query?: GetSectorMenusQuery;
|
|
5053
5055
|
} & RequestOptions
|
|
5054
|
-
): ResponsePromise<
|
|
5055
|
-
return this.request(
|
|
5056
|
-
"menu",
|
|
5057
|
-
"get_menu_sector_menus",
|
|
5058
|
-
"get",
|
|
5059
|
-
`/menu/sector/${sector}`,
|
|
5060
|
-
null,
|
|
5061
|
-
options
|
|
5062
|
-
);
|
|
5056
|
+
): ResponsePromise<GetSectorMenusResponse> {
|
|
5057
|
+
return this.request("menu", "get_sector_menus", "get", `/menu/sector/${sector}`, null, options);
|
|
5063
5058
|
}
|
|
5064
5059
|
|
|
5065
5060
|
/**
|
|
@@ -5068,15 +5063,15 @@ export class ServiceClient extends BaseServiceClient {
|
|
|
5068
5063
|
* @param company - Company ID
|
|
5069
5064
|
* @param options - additional request options
|
|
5070
5065
|
*/
|
|
5071
|
-
|
|
5066
|
+
get_company_menus(
|
|
5072
5067
|
company: string,
|
|
5073
5068
|
options?: {
|
|
5074
|
-
query?:
|
|
5069
|
+
query?: GetCompanyMenusQuery;
|
|
5075
5070
|
} & RequestOptions
|
|
5076
|
-
): ResponsePromise<
|
|
5071
|
+
): ResponsePromise<GetCompanyMenusResponse> {
|
|
5077
5072
|
return this.request(
|
|
5078
5073
|
"menu",
|
|
5079
|
-
"
|
|
5074
|
+
"get_company_menus",
|
|
5080
5075
|
"get",
|
|
5081
5076
|
`/menu/company/${company}`,
|
|
5082
5077
|
null,
|
|
@@ -5090,13 +5085,13 @@ export class ServiceClient extends BaseServiceClient {
|
|
|
5090
5085
|
* @param body
|
|
5091
5086
|
* @param options - additional request options
|
|
5092
5087
|
*/
|
|
5093
|
-
|
|
5094
|
-
body:
|
|
5088
|
+
create_modifier_group(
|
|
5089
|
+
body: CreateModifierGroupBody,
|
|
5095
5090
|
options?: RequestOptions
|
|
5096
|
-
): ResponsePromise<
|
|
5091
|
+
): ResponsePromise<CreateModifierGroupResponse> {
|
|
5097
5092
|
return this.request(
|
|
5098
5093
|
"menu",
|
|
5099
|
-
"
|
|
5094
|
+
"create_modifier_group",
|
|
5100
5095
|
"post",
|
|
5101
5096
|
`/menu/modifier/group`,
|
|
5102
5097
|
body,
|
|
@@ -5110,15 +5105,15 @@ export class ServiceClient extends BaseServiceClient {
|
|
|
5110
5105
|
* @param id - modifier_group
|
|
5111
5106
|
* @param options - additional request options
|
|
5112
5107
|
*/
|
|
5113
|
-
|
|
5108
|
+
get_modifier_group(
|
|
5114
5109
|
id: string,
|
|
5115
5110
|
options?: {
|
|
5116
|
-
query?:
|
|
5111
|
+
query?: GetModifierGroupQuery;
|
|
5117
5112
|
} & RequestOptions
|
|
5118
|
-
): ResponsePromise<
|
|
5113
|
+
): ResponsePromise<GetModifierGroupResponse> {
|
|
5119
5114
|
return this.request(
|
|
5120
5115
|
"menu",
|
|
5121
|
-
"
|
|
5116
|
+
"get_modifier_group",
|
|
5122
5117
|
"get",
|
|
5123
5118
|
`/menu/modifier/group/${id}`,
|
|
5124
5119
|
null,
|
|
@@ -5133,14 +5128,14 @@ export class ServiceClient extends BaseServiceClient {
|
|
|
5133
5128
|
* @param body
|
|
5134
5129
|
* @param options - additional request options
|
|
5135
5130
|
*/
|
|
5136
|
-
|
|
5131
|
+
update_modifier_group(
|
|
5137
5132
|
id: string,
|
|
5138
|
-
body:
|
|
5133
|
+
body: UpdateModifierGroupBody,
|
|
5139
5134
|
options?: RequestOptions
|
|
5140
|
-
): ResponsePromise<
|
|
5135
|
+
): ResponsePromise<UpdateModifierGroupResponse> {
|
|
5141
5136
|
return this.request(
|
|
5142
5137
|
"menu",
|
|
5143
|
-
"
|
|
5138
|
+
"update_modifier_group",
|
|
5144
5139
|
"put",
|
|
5145
5140
|
`/menu/modifier/group/${id}`,
|
|
5146
5141
|
body,
|
|
@@ -5154,13 +5149,13 @@ export class ServiceClient extends BaseServiceClient {
|
|
|
5154
5149
|
* @param id - modifier_group
|
|
5155
5150
|
* @param options - additional request options
|
|
5156
5151
|
*/
|
|
5157
|
-
|
|
5152
|
+
delete_modifier_group(
|
|
5158
5153
|
id: string,
|
|
5159
5154
|
options?: RequestOptions
|
|
5160
|
-
): ResponsePromise<
|
|
5155
|
+
): ResponsePromise<DeleteModifierGroupResponse> {
|
|
5161
5156
|
return this.request(
|
|
5162
5157
|
"menu",
|
|
5163
|
-
"
|
|
5158
|
+
"delete_modifier_group",
|
|
5164
5159
|
"delete",
|
|
5165
5160
|
`/menu/modifier/group/${id}`,
|
|
5166
5161
|
null,
|
|
@@ -5174,15 +5169,15 @@ export class ServiceClient extends BaseServiceClient {
|
|
|
5174
5169
|
* @param company - Company ID
|
|
5175
5170
|
* @param options - additional request options
|
|
5176
5171
|
*/
|
|
5177
|
-
|
|
5172
|
+
get_company_modifier_groups(
|
|
5178
5173
|
company: string,
|
|
5179
5174
|
options?: {
|
|
5180
|
-
query?:
|
|
5175
|
+
query?: GetCompanyModifierGroupsQuery;
|
|
5181
5176
|
} & RequestOptions
|
|
5182
|
-
): ResponsePromise<
|
|
5177
|
+
): ResponsePromise<GetCompanyModifierGroupsResponse> {
|
|
5183
5178
|
return this.request(
|
|
5184
5179
|
"menu",
|
|
5185
|
-
"
|
|
5180
|
+
"get_company_modifier_groups",
|
|
5186
5181
|
"get",
|
|
5187
5182
|
`/menu/modifier/group/company/${company}`,
|
|
5188
5183
|
null,
|
|
@@ -5196,15 +5191,15 @@ export class ServiceClient extends BaseServiceClient {
|
|
|
5196
5191
|
* @param company - Company ID
|
|
5197
5192
|
* @param options - additional request options
|
|
5198
5193
|
*/
|
|
5199
|
-
|
|
5194
|
+
get_company_modifier_groups_export(
|
|
5200
5195
|
company: string,
|
|
5201
5196
|
options?: {
|
|
5202
|
-
query?:
|
|
5197
|
+
query?: GetCompanyModifierGroupsExportQuery;
|
|
5203
5198
|
} & RequestOptions
|
|
5204
|
-
): ResponsePromise<
|
|
5199
|
+
): ResponsePromise<GetCompanyModifierGroupsExportResponse> {
|
|
5205
5200
|
return this.request(
|
|
5206
5201
|
"menu",
|
|
5207
|
-
"
|
|
5202
|
+
"get_company_modifier_groups_export",
|
|
5208
5203
|
"get",
|
|
5209
5204
|
`/menu/modifier/group/company/${company}/export`,
|
|
5210
5205
|
null,
|
|
@@ -6090,7 +6085,7 @@ export class ServiceClient extends BaseServiceClient {
|
|
|
6090
6085
|
*/
|
|
6091
6086
|
post_menu_v3_brand_attachment(
|
|
6092
6087
|
id: string,
|
|
6093
|
-
name:
|
|
6088
|
+
name: "thumbnail",
|
|
6094
6089
|
options?: {
|
|
6095
6090
|
query?: PostMenuV3BrandAttachmentQuery;
|
|
6096
6091
|
} & RequestOptions
|
|
@@ -6906,62 +6901,62 @@ export class ServiceClient extends BaseServiceClient {
|
|
|
6906
6901
|
}
|
|
6907
6902
|
|
|
6908
6903
|
/**
|
|
6909
|
-
* GET /menu/v3/category/relationships/
|
|
6904
|
+
* GET /menu/v3/category/relationships/item/{id}
|
|
6910
6905
|
*
|
|
6911
6906
|
* @param id
|
|
6912
6907
|
* @param options - additional request options
|
|
6913
6908
|
*/
|
|
6914
|
-
|
|
6909
|
+
get_menu_v3_category_relationships_item(
|
|
6915
6910
|
id: string,
|
|
6916
6911
|
options?: {
|
|
6917
|
-
query?:
|
|
6912
|
+
query?: GetMenuV3CategoryRelationshipsItemQuery;
|
|
6918
6913
|
} & RequestOptions
|
|
6919
|
-
): ResponsePromise<
|
|
6914
|
+
): ResponsePromise<GetMenuV3CategoryRelationshipsItemResponse> {
|
|
6920
6915
|
return this.request(
|
|
6921
6916
|
"menu",
|
|
6922
|
-
"
|
|
6917
|
+
"get_menu_v3_category_relationships_item",
|
|
6923
6918
|
"get",
|
|
6924
|
-
`/menu/v3/category/relationships/
|
|
6919
|
+
`/menu/v3/category/relationships/item/${id}`,
|
|
6925
6920
|
null,
|
|
6926
6921
|
options
|
|
6927
6922
|
);
|
|
6928
6923
|
}
|
|
6929
6924
|
|
|
6930
6925
|
/**
|
|
6931
|
-
* GET /menu/v3/category/relationships/
|
|
6926
|
+
* GET /menu/v3/category/relationships/items
|
|
6932
6927
|
*
|
|
6933
6928
|
* @param options - additional request options
|
|
6934
6929
|
*/
|
|
6935
|
-
|
|
6930
|
+
get_menu_v3_category_relationships_items(
|
|
6936
6931
|
options?: {
|
|
6937
|
-
query?:
|
|
6932
|
+
query?: GetMenuV3CategoryRelationshipsItemsQuery;
|
|
6938
6933
|
} & RequestOptions
|
|
6939
|
-
): ResponsePromise<
|
|
6934
|
+
): ResponsePromise<GetMenuV3CategoryRelationshipsItemsResponse> {
|
|
6940
6935
|
return this.request(
|
|
6941
6936
|
"menu",
|
|
6942
|
-
"
|
|
6937
|
+
"get_menu_v3_category_relationships_items",
|
|
6943
6938
|
"get",
|
|
6944
|
-
`/menu/v3/category/relationships/
|
|
6939
|
+
`/menu/v3/category/relationships/items`,
|
|
6945
6940
|
null,
|
|
6946
6941
|
options
|
|
6947
6942
|
);
|
|
6948
6943
|
}
|
|
6949
6944
|
|
|
6950
6945
|
/**
|
|
6951
|
-
* GET /menu/v3/category/relationships/
|
|
6946
|
+
* GET /menu/v3/category/relationships/items/count
|
|
6952
6947
|
*
|
|
6953
6948
|
* @param options - additional request options
|
|
6954
6949
|
*/
|
|
6955
|
-
|
|
6950
|
+
get_menu_v3_category_relationships_items_count(
|
|
6956
6951
|
options?: {
|
|
6957
|
-
query?:
|
|
6952
|
+
query?: GetMenuV3CategoryRelationshipsItemsCountQuery;
|
|
6958
6953
|
} & RequestOptions
|
|
6959
|
-
): ResponsePromise<
|
|
6954
|
+
): ResponsePromise<GetMenuV3CategoryRelationshipsItemsCountResponse> {
|
|
6960
6955
|
return this.request(
|
|
6961
6956
|
"menu",
|
|
6962
|
-
"
|
|
6957
|
+
"get_menu_v3_category_relationships_items_count",
|
|
6963
6958
|
"get",
|
|
6964
|
-
`/menu/v3/category/relationships/
|
|
6959
|
+
`/menu/v3/category/relationships/items/count`,
|
|
6965
6960
|
null,
|
|
6966
6961
|
options
|
|
6967
6962
|
);
|
|
@@ -7140,7 +7135,7 @@ export class ServiceClient extends BaseServiceClient {
|
|
|
7140
7135
|
*/
|
|
7141
7136
|
post_menu_v3_item_attachment(
|
|
7142
7137
|
id: string,
|
|
7143
|
-
name:
|
|
7138
|
+
name: "thumbnail",
|
|
7144
7139
|
options?: {
|
|
7145
7140
|
query?: PostMenuV3ItemAttachmentQuery;
|
|
7146
7141
|
} & RequestOptions
|
|
@@ -7573,6 +7568,26 @@ export class ServiceClient extends BaseServiceClient {
|
|
|
7573
7568
|
);
|
|
7574
7569
|
}
|
|
7575
7570
|
|
|
7571
|
+
/**
|
|
7572
|
+
* POST /menu/v3/draft/modifier-group/{id}/duplicate
|
|
7573
|
+
*
|
|
7574
|
+
* @param id
|
|
7575
|
+
* @param options - additional request options
|
|
7576
|
+
*/
|
|
7577
|
+
post_menu_v3_draft_modifier_group_duplicate(
|
|
7578
|
+
id: string,
|
|
7579
|
+
options?: RequestOptions
|
|
7580
|
+
): ResponsePromise<PostMenuV3DraftModifierGroupDuplicateResponse> {
|
|
7581
|
+
return this.request(
|
|
7582
|
+
"menu",
|
|
7583
|
+
"post_menu_v3_draft_modifier_group_duplicate",
|
|
7584
|
+
"post",
|
|
7585
|
+
`/menu/v3/draft/modifier-group/${id}/duplicate`,
|
|
7586
|
+
null,
|
|
7587
|
+
options
|
|
7588
|
+
);
|
|
7589
|
+
}
|
|
7590
|
+
|
|
7576
7591
|
/**
|
|
7577
7592
|
* GET /menu/v3/modifier-group/{id}
|
|
7578
7593
|
*
|
|
@@ -8660,13 +8675,13 @@ export class ServiceClient extends BaseServiceClient {
|
|
|
8660
8675
|
* @param body
|
|
8661
8676
|
* @param options - additional request options
|
|
8662
8677
|
*/
|
|
8663
|
-
|
|
8664
|
-
body:
|
|
8678
|
+
StandardCognitionEventWebhookController_execute(
|
|
8679
|
+
body: StandardCognitionEventWebhookControllerExecuteBody,
|
|
8665
8680
|
options?: RequestOptions
|
|
8666
|
-
): ResponsePromise<
|
|
8681
|
+
): ResponsePromise<StandardCognitionEventWebhookControllerExecuteResponse> {
|
|
8667
8682
|
return this.request(
|
|
8668
8683
|
"frictionless",
|
|
8669
|
-
"
|
|
8684
|
+
"StandardCognitionEventWebhookController_execute",
|
|
8670
8685
|
"post",
|
|
8671
8686
|
`/frictionless/webhook/standardcognition`,
|
|
8672
8687
|
body,
|
|
@@ -8680,15 +8695,15 @@ export class ServiceClient extends BaseServiceClient {
|
|
|
8680
8695
|
* @param id_brand - Brand ID as Encoded CDL ID
|
|
8681
8696
|
* @param options - additional request options
|
|
8682
8697
|
*/
|
|
8683
|
-
|
|
8698
|
+
CheckFrictionlessSupportController_execute(
|
|
8684
8699
|
id_brand: string,
|
|
8685
8700
|
options?: {
|
|
8686
|
-
query?:
|
|
8701
|
+
query?: CheckFrictionlessSupportControllerExecuteQuery;
|
|
8687
8702
|
} & RequestOptions
|
|
8688
|
-
): ResponsePromise<
|
|
8703
|
+
): ResponsePromise<CheckFrictionlessSupportControllerExecuteResponse> {
|
|
8689
8704
|
return this.request(
|
|
8690
8705
|
"frictionless",
|
|
8691
|
-
"
|
|
8706
|
+
"CheckFrictionlessSupportController_execute",
|
|
8692
8707
|
"get",
|
|
8693
8708
|
`/frictionless/brand/${id_brand}/frictionless-status`,
|
|
8694
8709
|
null,
|
|
@@ -8702,13 +8717,13 @@ export class ServiceClient extends BaseServiceClient {
|
|
|
8702
8717
|
* @param body
|
|
8703
8718
|
* @param options - additional request options
|
|
8704
8719
|
*/
|
|
8705
|
-
|
|
8706
|
-
body:
|
|
8720
|
+
CreateQRCodeUserCheckInController_execute(
|
|
8721
|
+
body: CreateQRCodeUserCheckInControllerExecuteBody,
|
|
8707
8722
|
options?: RequestOptions
|
|
8708
|
-
): ResponsePromise<
|
|
8723
|
+
): ResponsePromise<CreateQRCodeUserCheckInControllerExecuteResponse> {
|
|
8709
8724
|
return this.request(
|
|
8710
8725
|
"frictionless",
|
|
8711
|
-
"
|
|
8726
|
+
"CreateQRCodeUserCheckInController_execute",
|
|
8712
8727
|
"post",
|
|
8713
8728
|
`/frictionless/qrcode`,
|
|
8714
8729
|
body,
|
|
@@ -8721,14 +8736,14 @@ export class ServiceClient extends BaseServiceClient {
|
|
|
8721
8736
|
*
|
|
8722
8737
|
* @param options - additional request options
|
|
8723
8738
|
*/
|
|
8724
|
-
|
|
8739
|
+
ListFailedCheckinsController_execute(
|
|
8725
8740
|
options?: {
|
|
8726
|
-
query?:
|
|
8741
|
+
query?: ListFailedCheckinsControllerExecuteQuery;
|
|
8727
8742
|
} & RequestOptions
|
|
8728
|
-
): ResponsePromise<
|
|
8743
|
+
): ResponsePromise<ListFailedCheckinsControllerExecuteResponse> {
|
|
8729
8744
|
return this.request(
|
|
8730
8745
|
"frictionless",
|
|
8731
|
-
"
|
|
8746
|
+
"ListFailedCheckinsController_execute",
|
|
8732
8747
|
"get",
|
|
8733
8748
|
`/frictionless/failed-checkins`,
|
|
8734
8749
|
null,
|
|
@@ -8742,13 +8757,13 @@ export class ServiceClient extends BaseServiceClient {
|
|
|
8742
8757
|
* @param id_checkin - TODO: add parameter to swagger.json
|
|
8743
8758
|
* @param options - additional request options
|
|
8744
8759
|
*/
|
|
8745
|
-
|
|
8760
|
+
ReprocessCheckinOnErrorController_execute(
|
|
8746
8761
|
id_checkin: string,
|
|
8747
8762
|
options?: RequestOptions
|
|
8748
|
-
): ResponsePromise<
|
|
8763
|
+
): ResponsePromise<ReprocessCheckinOnErrorControllerExecuteResponse> {
|
|
8749
8764
|
return this.request(
|
|
8750
8765
|
"frictionless",
|
|
8751
|
-
"
|
|
8766
|
+
"ReprocessCheckinOnErrorController_execute",
|
|
8752
8767
|
"post",
|
|
8753
8768
|
`/frictionless/checkin/${id_checkin}/reprocess`,
|
|
8754
8769
|
null,
|
|
@@ -8762,19 +8777,59 @@ export class ServiceClient extends BaseServiceClient {
|
|
|
8762
8777
|
* @param id_checkin - TODO: add parameter to swagger.json
|
|
8763
8778
|
* @param options - additional request options
|
|
8764
8779
|
*/
|
|
8765
|
-
|
|
8780
|
+
CheckCheckinStatusController_execute(
|
|
8766
8781
|
id_checkin: string,
|
|
8767
8782
|
options?: {
|
|
8768
|
-
query?:
|
|
8783
|
+
query?: CheckCheckinStatusControllerExecuteQuery;
|
|
8769
8784
|
} & RequestOptions
|
|
8770
|
-
): ResponsePromise<
|
|
8785
|
+
): ResponsePromise<CheckCheckinStatusControllerExecuteResponse> {
|
|
8771
8786
|
return this.request(
|
|
8772
8787
|
"frictionless",
|
|
8773
|
-
"
|
|
8788
|
+
"CheckCheckinStatusController_execute",
|
|
8774
8789
|
"get",
|
|
8775
8790
|
`/frictionless/checkin/${id_checkin}/status`,
|
|
8776
8791
|
null,
|
|
8777
8792
|
options
|
|
8778
8793
|
);
|
|
8779
8794
|
}
|
|
8795
|
+
|
|
8796
|
+
/**
|
|
8797
|
+
* POST /ai/language/generate - Generate text from a given prompt
|
|
8798
|
+
*
|
|
8799
|
+
* @param body
|
|
8800
|
+
* @param options - additional request options
|
|
8801
|
+
*/
|
|
8802
|
+
post_ai_language_generate(
|
|
8803
|
+
body: PostAiLanguageGenerateBody,
|
|
8804
|
+
options?: RequestOptions
|
|
8805
|
+
): ResponsePromise<PostAiLanguageGenerateResponse> {
|
|
8806
|
+
return this.request(
|
|
8807
|
+
"ai",
|
|
8808
|
+
"post_ai_language_generate",
|
|
8809
|
+
"post",
|
|
8810
|
+
`/ai/language/generate`,
|
|
8811
|
+
body,
|
|
8812
|
+
options
|
|
8813
|
+
);
|
|
8814
|
+
}
|
|
8815
|
+
|
|
8816
|
+
/**
|
|
8817
|
+
* POST /ai/image/generate - Generate image from a given prompt
|
|
8818
|
+
*
|
|
8819
|
+
* @param body
|
|
8820
|
+
* @param options - additional request options
|
|
8821
|
+
*/
|
|
8822
|
+
post_ai_image_generate(
|
|
8823
|
+
body: PostAiImageGenerateBody,
|
|
8824
|
+
options?: RequestOptions
|
|
8825
|
+
): ResponsePromise<PostAiImageGenerateResponse> {
|
|
8826
|
+
return this.request(
|
|
8827
|
+
"ai",
|
|
8828
|
+
"post_ai_image_generate",
|
|
8829
|
+
"post",
|
|
8830
|
+
`/ai/image/generate`,
|
|
8831
|
+
body,
|
|
8832
|
+
options
|
|
8833
|
+
);
|
|
8834
|
+
}
|
|
8780
8835
|
}
|