@compassdigital/sdk.typescript 3.77.0 → 3.77.1
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 +91 -76
- package/lib/index.d.ts.map +1 -1
- package/lib/index.js +79 -61
- 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/datalake.d.ts +3 -3
- package/lib/interface/datalake.d.ts.map +1 -1
- package/lib/interface/frictionless.d.ts +22 -22
- package/lib/interface/frictionless.d.ts.map +1 -1
- package/lib/interface/location.d.ts +8 -8
- package/lib/interface/location.d.ts.map +1 -1
- package/lib/interface/menu.d.ts +87 -86
- package/lib/interface/menu.d.ts.map +1 -1
- package/lib/interface/payment.js +1 -1
- package/lib/interface/payment.js.map +1 -1
- package/manifest.json +4 -0
- package/package.json +1 -1
- package/src/index.ts +222 -188
- package/src/interface/ai.ts +72 -0
- package/src/interface/datalake.ts +5 -3
- package/src/interface/frictionless.ts +28 -34
- package/src/interface/location.ts +12 -12
- package/src/interface/menu.ts +116 -115
- package/src/interface/payment.ts +1 -1
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,
|
|
@@ -844,19 +844,26 @@ import {
|
|
|
844
844
|
} from "./interface/delivery";
|
|
845
845
|
|
|
846
846
|
import {
|
|
847
|
-
|
|
848
|
-
|
|
849
|
-
|
|
850
|
-
|
|
851
|
-
|
|
852
|
-
|
|
853
|
-
|
|
854
|
-
|
|
855
|
-
|
|
856
|
-
|
|
857
|
-
|
|
847
|
+
StandardCognitionEventWebhookControllerExecuteBody,
|
|
848
|
+
StandardCognitionEventWebhookControllerExecuteResponse,
|
|
849
|
+
CheckFrictionlessSupportControllerExecuteQuery,
|
|
850
|
+
CheckFrictionlessSupportControllerExecuteResponse,
|
|
851
|
+
CreateQRCodeUserCheckInControllerExecuteBody,
|
|
852
|
+
CreateQRCodeUserCheckInControllerExecuteResponse,
|
|
853
|
+
ListFailedCheckinsControllerExecuteQuery,
|
|
854
|
+
ListFailedCheckinsControllerExecuteResponse,
|
|
855
|
+
ReprocessCheckinOnErrorControllerExecuteResponse,
|
|
856
|
+
CheckCheckinStatusControllerExecuteQuery,
|
|
857
|
+
CheckCheckinStatusControllerExecuteResponse,
|
|
858
858
|
} from "./interface/frictionless";
|
|
859
859
|
|
|
860
|
+
import {
|
|
861
|
+
PostAiLanguageGenerateBody,
|
|
862
|
+
PostAiLanguageGenerateResponse,
|
|
863
|
+
PostAiImageGenerateBody,
|
|
864
|
+
PostAiImageGenerateResponse,
|
|
865
|
+
} from "./interface/ai";
|
|
866
|
+
|
|
860
867
|
import { BaseServiceClient, RequestOptions, ResponsePromise } from "./base";
|
|
861
868
|
export * from "./base";
|
|
862
869
|
|
|
@@ -2381,9 +2388,9 @@ export class ServiceClient extends BaseServiceClient {
|
|
|
2381
2388
|
get_location_menu_association_brand(
|
|
2382
2389
|
id: string,
|
|
2383
2390
|
options?: {
|
|
2384
|
-
query?:
|
|
2391
|
+
query?: GetLocationMenuAssociationBrandQuery;
|
|
2385
2392
|
} & RequestOptions
|
|
2386
|
-
): ResponsePromise<
|
|
2393
|
+
): ResponsePromise<GetLocationMenuAssociationBrandResponse> {
|
|
2387
2394
|
return this.request(
|
|
2388
2395
|
"location",
|
|
2389
2396
|
"get_location_menu_association_brand",
|
|
@@ -2403,9 +2410,9 @@ export class ServiceClient extends BaseServiceClient {
|
|
|
2403
2410
|
get_location_menu_association_menu(
|
|
2404
2411
|
id: string,
|
|
2405
2412
|
options?: {
|
|
2406
|
-
query?:
|
|
2413
|
+
query?: GetLocationMenuAssociationMenuQuery;
|
|
2407
2414
|
} & RequestOptions
|
|
2408
|
-
): ResponsePromise<
|
|
2415
|
+
): ResponsePromise<GetLocationMenuAssociationMenuResponse> {
|
|
2409
2416
|
return this.request(
|
|
2410
2417
|
"location",
|
|
2411
2418
|
"get_location_menu_association_menu",
|
|
@@ -3357,12 +3364,12 @@ export class ServiceClient extends BaseServiceClient {
|
|
|
3357
3364
|
*
|
|
3358
3365
|
* @param options - additional request options
|
|
3359
3366
|
*/
|
|
3360
|
-
|
|
3367
|
+
get_datalake_swagger(
|
|
3361
3368
|
options?: {
|
|
3362
|
-
query?:
|
|
3369
|
+
query?: GetDatalakeSwaggerQuery;
|
|
3363
3370
|
} & RequestOptions
|
|
3364
|
-
): ResponsePromise<
|
|
3365
|
-
return this.request("datalake", "
|
|
3371
|
+
): ResponsePromise<GetDatalakeSwaggerResponse> {
|
|
3372
|
+
return this.request("datalake", "get_datalake_swagger", "get", `/swagger.json`, null, options);
|
|
3366
3373
|
}
|
|
3367
3374
|
|
|
3368
3375
|
/**
|
|
@@ -4807,8 +4814,8 @@ export class ServiceClient extends BaseServiceClient {
|
|
|
4807
4814
|
* @param body
|
|
4808
4815
|
* @param options - additional request options
|
|
4809
4816
|
*/
|
|
4810
|
-
|
|
4811
|
-
return this.request("menu", "
|
|
4817
|
+
create_menu(body: CreateMenuBody, options?: RequestOptions): ResponsePromise<CreateMenuResponse> {
|
|
4818
|
+
return this.request("menu", "create_menu", "post", `/menu`, body, options);
|
|
4812
4819
|
}
|
|
4813
4820
|
|
|
4814
4821
|
/**
|
|
@@ -4817,13 +4824,13 @@ export class ServiceClient extends BaseServiceClient {
|
|
|
4817
4824
|
* @param id - menu
|
|
4818
4825
|
* @param options - additional request options
|
|
4819
4826
|
*/
|
|
4820
|
-
|
|
4827
|
+
get_menu_headers(
|
|
4821
4828
|
id: string,
|
|
4822
4829
|
options?: {
|
|
4823
|
-
query?:
|
|
4830
|
+
query?: GetMenuHeadersQuery;
|
|
4824
4831
|
} & RequestOptions
|
|
4825
|
-
): ResponsePromise<
|
|
4826
|
-
return this.request("menu", "
|
|
4832
|
+
): ResponsePromise<GetMenuHeadersResponse> {
|
|
4833
|
+
return this.request("menu", "get_menu_headers", "head", `/menu/${id}`, null, options);
|
|
4827
4834
|
}
|
|
4828
4835
|
|
|
4829
4836
|
/**
|
|
@@ -4848,14 +4855,14 @@ export class ServiceClient extends BaseServiceClient {
|
|
|
4848
4855
|
* @param body
|
|
4849
4856
|
* @param options - additional request options
|
|
4850
4857
|
*/
|
|
4851
|
-
|
|
4858
|
+
update_menu(
|
|
4852
4859
|
id: string,
|
|
4853
|
-
body:
|
|
4860
|
+
body: UpdateMenuBody,
|
|
4854
4861
|
options?: {
|
|
4855
|
-
query?:
|
|
4862
|
+
query?: UpdateMenuQuery;
|
|
4856
4863
|
} & RequestOptions
|
|
4857
|
-
): ResponsePromise<
|
|
4858
|
-
return this.request("menu", "
|
|
4864
|
+
): ResponsePromise<UpdateMenuResponse> {
|
|
4865
|
+
return this.request("menu", "update_menu", "put", `/menu/${id}`, body, options);
|
|
4859
4866
|
}
|
|
4860
4867
|
|
|
4861
4868
|
/**
|
|
@@ -4896,11 +4903,8 @@ export class ServiceClient extends BaseServiceClient {
|
|
|
4896
4903
|
* @param body
|
|
4897
4904
|
* @param options - additional request options
|
|
4898
4905
|
*/
|
|
4899
|
-
|
|
4900
|
-
body
|
|
4901
|
-
options?: RequestOptions
|
|
4902
|
-
): ResponsePromise<PostMenuImportMenuResponse> {
|
|
4903
|
-
return this.request("menu", "post_menu_import_menu", "post", `/menu/import`, body, options);
|
|
4906
|
+
import_menu(body: ImportMenuBody, options?: RequestOptions): ResponsePromise<ImportMenuResponse> {
|
|
4907
|
+
return this.request("menu", "import_menu", "post", `/menu/import`, body, options);
|
|
4904
4908
|
}
|
|
4905
4909
|
|
|
4906
4910
|
/**
|
|
@@ -4909,13 +4913,13 @@ export class ServiceClient extends BaseServiceClient {
|
|
|
4909
4913
|
* @param id - Item ID
|
|
4910
4914
|
* @param options - additional request options
|
|
4911
4915
|
*/
|
|
4912
|
-
|
|
4916
|
+
get_item(
|
|
4913
4917
|
id: string,
|
|
4914
4918
|
options?: {
|
|
4915
|
-
query?:
|
|
4919
|
+
query?: GetItemQuery;
|
|
4916
4920
|
} & RequestOptions
|
|
4917
|
-
): ResponsePromise<
|
|
4918
|
-
return this.request("menu", "
|
|
4921
|
+
): ResponsePromise<GetItemResponse> {
|
|
4922
|
+
return this.request("menu", "get_item", "get", `/menu/item/${id}`, null, options);
|
|
4919
4923
|
}
|
|
4920
4924
|
|
|
4921
4925
|
/**
|
|
@@ -4924,8 +4928,8 @@ export class ServiceClient extends BaseServiceClient {
|
|
|
4924
4928
|
* @param id - Item ID
|
|
4925
4929
|
* @param options - additional request options
|
|
4926
4930
|
*/
|
|
4927
|
-
|
|
4928
|
-
return this.request("menu", "
|
|
4931
|
+
delete_item(id: string, options?: RequestOptions): ResponsePromise<DeleteItemResponse> {
|
|
4932
|
+
return this.request("menu", "delete_item", "delete", `/menu/item/${id}`, null, options);
|
|
4929
4933
|
}
|
|
4930
4934
|
|
|
4931
4935
|
/**
|
|
@@ -4934,11 +4938,8 @@ export class ServiceClient extends BaseServiceClient {
|
|
|
4934
4938
|
* @param body
|
|
4935
4939
|
* @param options - additional request options
|
|
4936
4940
|
*/
|
|
4937
|
-
|
|
4938
|
-
body
|
|
4939
|
-
options?: RequestOptions
|
|
4940
|
-
): ResponsePromise<PostMenuItemResponse> {
|
|
4941
|
-
return this.request("menu", "post_menu_item", "post", `/menu/item`, body, options);
|
|
4941
|
+
create_item(body: CreateItemBody, options?: RequestOptions): ResponsePromise<CreateItemResponse> {
|
|
4942
|
+
return this.request("menu", "create_item", "post", `/menu/item`, body, options);
|
|
4942
4943
|
}
|
|
4943
4944
|
|
|
4944
4945
|
/**
|
|
@@ -4960,13 +4961,13 @@ export class ServiceClient extends BaseServiceClient {
|
|
|
4960
4961
|
* @param location - Location ID
|
|
4961
4962
|
* @param options - additional request options
|
|
4962
4963
|
*/
|
|
4963
|
-
|
|
4964
|
+
import_items_canteen(
|
|
4964
4965
|
location: string,
|
|
4965
4966
|
options?: RequestOptions
|
|
4966
|
-
): ResponsePromise<
|
|
4967
|
+
): ResponsePromise<ImportItemsCanteenResponse> {
|
|
4967
4968
|
return this.request(
|
|
4968
4969
|
"menu",
|
|
4969
|
-
"
|
|
4970
|
+
"import_items_canteen",
|
|
4970
4971
|
"post",
|
|
4971
4972
|
`/menu/items/import/${location}`,
|
|
4972
4973
|
null,
|
|
@@ -4980,15 +4981,15 @@ export class ServiceClient extends BaseServiceClient {
|
|
|
4980
4981
|
* @param location - Location ID
|
|
4981
4982
|
* @param options - additional request options
|
|
4982
4983
|
*/
|
|
4983
|
-
|
|
4984
|
+
get_location_items(
|
|
4984
4985
|
location: string,
|
|
4985
4986
|
options?: {
|
|
4986
|
-
query?:
|
|
4987
|
+
query?: GetLocationItemsQuery;
|
|
4987
4988
|
} & RequestOptions
|
|
4988
|
-
): ResponsePromise<
|
|
4989
|
+
): ResponsePromise<GetLocationItemsResponse> {
|
|
4989
4990
|
return this.request(
|
|
4990
4991
|
"menu",
|
|
4991
|
-
"
|
|
4992
|
+
"get_location_items",
|
|
4992
4993
|
"get",
|
|
4993
4994
|
`/menu/items/location/${location}`,
|
|
4994
4995
|
null,
|
|
@@ -5002,15 +5003,15 @@ export class ServiceClient extends BaseServiceClient {
|
|
|
5002
5003
|
* @param location - Location ID
|
|
5003
5004
|
* @param options - additional request options
|
|
5004
5005
|
*/
|
|
5005
|
-
|
|
5006
|
+
get_location_item_random(
|
|
5006
5007
|
location: string,
|
|
5007
5008
|
options?: {
|
|
5008
|
-
query?:
|
|
5009
|
+
query?: GetLocationItemRandomQuery;
|
|
5009
5010
|
} & RequestOptions
|
|
5010
|
-
): ResponsePromise<
|
|
5011
|
+
): ResponsePromise<GetLocationItemRandomResponse> {
|
|
5011
5012
|
return this.request(
|
|
5012
5013
|
"menu",
|
|
5013
|
-
"
|
|
5014
|
+
"get_location_item_random",
|
|
5014
5015
|
"get",
|
|
5015
5016
|
`/menu/item/random/location/${location}`,
|
|
5016
5017
|
null,
|
|
@@ -5024,15 +5025,15 @@ export class ServiceClient extends BaseServiceClient {
|
|
|
5024
5025
|
* @param location - Location ID
|
|
5025
5026
|
* @param options - additional request options
|
|
5026
5027
|
*/
|
|
5027
|
-
|
|
5028
|
+
get_location_items_random(
|
|
5028
5029
|
location: string,
|
|
5029
5030
|
options?: {
|
|
5030
|
-
query?:
|
|
5031
|
+
query?: GetLocationItemsRandomQuery;
|
|
5031
5032
|
} & RequestOptions
|
|
5032
|
-
): ResponsePromise<
|
|
5033
|
+
): ResponsePromise<GetLocationItemsRandomResponse> {
|
|
5033
5034
|
return this.request(
|
|
5034
5035
|
"menu",
|
|
5035
|
-
"
|
|
5036
|
+
"get_location_items_random",
|
|
5036
5037
|
"get",
|
|
5037
5038
|
`/menu/items/random/location/${location}`,
|
|
5038
5039
|
null,
|
|
@@ -5046,20 +5047,13 @@ export class ServiceClient extends BaseServiceClient {
|
|
|
5046
5047
|
* @param sector - Sector ID
|
|
5047
5048
|
* @param options - additional request options
|
|
5048
5049
|
*/
|
|
5049
|
-
|
|
5050
|
+
get_sector_menus(
|
|
5050
5051
|
sector: string,
|
|
5051
5052
|
options?: {
|
|
5052
|
-
query?:
|
|
5053
|
+
query?: GetSectorMenusQuery;
|
|
5053
5054
|
} & 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
|
-
);
|
|
5055
|
+
): ResponsePromise<GetSectorMenusResponse> {
|
|
5056
|
+
return this.request("menu", "get_sector_menus", "get", `/menu/sector/${sector}`, null, options);
|
|
5063
5057
|
}
|
|
5064
5058
|
|
|
5065
5059
|
/**
|
|
@@ -5068,15 +5062,15 @@ export class ServiceClient extends BaseServiceClient {
|
|
|
5068
5062
|
* @param company - Company ID
|
|
5069
5063
|
* @param options - additional request options
|
|
5070
5064
|
*/
|
|
5071
|
-
|
|
5065
|
+
get_company_menus(
|
|
5072
5066
|
company: string,
|
|
5073
5067
|
options?: {
|
|
5074
|
-
query?:
|
|
5068
|
+
query?: GetCompanyMenusQuery;
|
|
5075
5069
|
} & RequestOptions
|
|
5076
|
-
): ResponsePromise<
|
|
5070
|
+
): ResponsePromise<GetCompanyMenusResponse> {
|
|
5077
5071
|
return this.request(
|
|
5078
5072
|
"menu",
|
|
5079
|
-
"
|
|
5073
|
+
"get_company_menus",
|
|
5080
5074
|
"get",
|
|
5081
5075
|
`/menu/company/${company}`,
|
|
5082
5076
|
null,
|
|
@@ -5090,13 +5084,13 @@ export class ServiceClient extends BaseServiceClient {
|
|
|
5090
5084
|
* @param body
|
|
5091
5085
|
* @param options - additional request options
|
|
5092
5086
|
*/
|
|
5093
|
-
|
|
5094
|
-
body:
|
|
5087
|
+
create_modifier_group(
|
|
5088
|
+
body: CreateModifierGroupBody,
|
|
5095
5089
|
options?: RequestOptions
|
|
5096
|
-
): ResponsePromise<
|
|
5090
|
+
): ResponsePromise<CreateModifierGroupResponse> {
|
|
5097
5091
|
return this.request(
|
|
5098
5092
|
"menu",
|
|
5099
|
-
"
|
|
5093
|
+
"create_modifier_group",
|
|
5100
5094
|
"post",
|
|
5101
5095
|
`/menu/modifier/group`,
|
|
5102
5096
|
body,
|
|
@@ -5110,15 +5104,15 @@ export class ServiceClient extends BaseServiceClient {
|
|
|
5110
5104
|
* @param id - modifier_group
|
|
5111
5105
|
* @param options - additional request options
|
|
5112
5106
|
*/
|
|
5113
|
-
|
|
5107
|
+
get_modifier_group(
|
|
5114
5108
|
id: string,
|
|
5115
5109
|
options?: {
|
|
5116
|
-
query?:
|
|
5110
|
+
query?: GetModifierGroupQuery;
|
|
5117
5111
|
} & RequestOptions
|
|
5118
|
-
): ResponsePromise<
|
|
5112
|
+
): ResponsePromise<GetModifierGroupResponse> {
|
|
5119
5113
|
return this.request(
|
|
5120
5114
|
"menu",
|
|
5121
|
-
"
|
|
5115
|
+
"get_modifier_group",
|
|
5122
5116
|
"get",
|
|
5123
5117
|
`/menu/modifier/group/${id}`,
|
|
5124
5118
|
null,
|
|
@@ -5133,14 +5127,14 @@ export class ServiceClient extends BaseServiceClient {
|
|
|
5133
5127
|
* @param body
|
|
5134
5128
|
* @param options - additional request options
|
|
5135
5129
|
*/
|
|
5136
|
-
|
|
5130
|
+
update_modifier_group(
|
|
5137
5131
|
id: string,
|
|
5138
|
-
body:
|
|
5132
|
+
body: UpdateModifierGroupBody,
|
|
5139
5133
|
options?: RequestOptions
|
|
5140
|
-
): ResponsePromise<
|
|
5134
|
+
): ResponsePromise<UpdateModifierGroupResponse> {
|
|
5141
5135
|
return this.request(
|
|
5142
5136
|
"menu",
|
|
5143
|
-
"
|
|
5137
|
+
"update_modifier_group",
|
|
5144
5138
|
"put",
|
|
5145
5139
|
`/menu/modifier/group/${id}`,
|
|
5146
5140
|
body,
|
|
@@ -5154,13 +5148,13 @@ export class ServiceClient extends BaseServiceClient {
|
|
|
5154
5148
|
* @param id - modifier_group
|
|
5155
5149
|
* @param options - additional request options
|
|
5156
5150
|
*/
|
|
5157
|
-
|
|
5151
|
+
delete_modifier_group(
|
|
5158
5152
|
id: string,
|
|
5159
5153
|
options?: RequestOptions
|
|
5160
|
-
): ResponsePromise<
|
|
5154
|
+
): ResponsePromise<DeleteModifierGroupResponse> {
|
|
5161
5155
|
return this.request(
|
|
5162
5156
|
"menu",
|
|
5163
|
-
"
|
|
5157
|
+
"delete_modifier_group",
|
|
5164
5158
|
"delete",
|
|
5165
5159
|
`/menu/modifier/group/${id}`,
|
|
5166
5160
|
null,
|
|
@@ -5174,15 +5168,15 @@ export class ServiceClient extends BaseServiceClient {
|
|
|
5174
5168
|
* @param company - Company ID
|
|
5175
5169
|
* @param options - additional request options
|
|
5176
5170
|
*/
|
|
5177
|
-
|
|
5171
|
+
get_company_modifier_groups(
|
|
5178
5172
|
company: string,
|
|
5179
5173
|
options?: {
|
|
5180
|
-
query?:
|
|
5174
|
+
query?: GetCompanyModifierGroupsQuery;
|
|
5181
5175
|
} & RequestOptions
|
|
5182
|
-
): ResponsePromise<
|
|
5176
|
+
): ResponsePromise<GetCompanyModifierGroupsResponse> {
|
|
5183
5177
|
return this.request(
|
|
5184
5178
|
"menu",
|
|
5185
|
-
"
|
|
5179
|
+
"get_company_modifier_groups",
|
|
5186
5180
|
"get",
|
|
5187
5181
|
`/menu/modifier/group/company/${company}`,
|
|
5188
5182
|
null,
|
|
@@ -5196,15 +5190,15 @@ export class ServiceClient extends BaseServiceClient {
|
|
|
5196
5190
|
* @param company - Company ID
|
|
5197
5191
|
* @param options - additional request options
|
|
5198
5192
|
*/
|
|
5199
|
-
|
|
5193
|
+
get_company_modifier_groups_export(
|
|
5200
5194
|
company: string,
|
|
5201
5195
|
options?: {
|
|
5202
|
-
query?:
|
|
5196
|
+
query?: GetCompanyModifierGroupsExportQuery;
|
|
5203
5197
|
} & RequestOptions
|
|
5204
|
-
): ResponsePromise<
|
|
5198
|
+
): ResponsePromise<GetCompanyModifierGroupsExportResponse> {
|
|
5205
5199
|
return this.request(
|
|
5206
5200
|
"menu",
|
|
5207
|
-
"
|
|
5201
|
+
"get_company_modifier_groups_export",
|
|
5208
5202
|
"get",
|
|
5209
5203
|
`/menu/modifier/group/company/${company}/export`,
|
|
5210
5204
|
null,
|
|
@@ -6906,62 +6900,62 @@ export class ServiceClient extends BaseServiceClient {
|
|
|
6906
6900
|
}
|
|
6907
6901
|
|
|
6908
6902
|
/**
|
|
6909
|
-
* GET /menu/v3/category/relationships/
|
|
6903
|
+
* GET /menu/v3/category/relationships/item/{id}
|
|
6910
6904
|
*
|
|
6911
6905
|
* @param id
|
|
6912
6906
|
* @param options - additional request options
|
|
6913
6907
|
*/
|
|
6914
|
-
|
|
6908
|
+
get_menu_v3_category_relationships_item(
|
|
6915
6909
|
id: string,
|
|
6916
6910
|
options?: {
|
|
6917
|
-
query?:
|
|
6911
|
+
query?: GetMenuV3CategoryRelationshipsItemQuery;
|
|
6918
6912
|
} & RequestOptions
|
|
6919
|
-
): ResponsePromise<
|
|
6913
|
+
): ResponsePromise<GetMenuV3CategoryRelationshipsItemResponse> {
|
|
6920
6914
|
return this.request(
|
|
6921
6915
|
"menu",
|
|
6922
|
-
"
|
|
6916
|
+
"get_menu_v3_category_relationships_item",
|
|
6923
6917
|
"get",
|
|
6924
|
-
`/menu/v3/category/relationships/
|
|
6918
|
+
`/menu/v3/category/relationships/item/${id}`,
|
|
6925
6919
|
null,
|
|
6926
6920
|
options
|
|
6927
6921
|
);
|
|
6928
6922
|
}
|
|
6929
6923
|
|
|
6930
6924
|
/**
|
|
6931
|
-
* GET /menu/v3/category/relationships/
|
|
6925
|
+
* GET /menu/v3/category/relationships/items
|
|
6932
6926
|
*
|
|
6933
6927
|
* @param options - additional request options
|
|
6934
6928
|
*/
|
|
6935
|
-
|
|
6929
|
+
get_menu_v3_category_relationships_items(
|
|
6936
6930
|
options?: {
|
|
6937
|
-
query?:
|
|
6931
|
+
query?: GetMenuV3CategoryRelationshipsItemsQuery;
|
|
6938
6932
|
} & RequestOptions
|
|
6939
|
-
): ResponsePromise<
|
|
6933
|
+
): ResponsePromise<GetMenuV3CategoryRelationshipsItemsResponse> {
|
|
6940
6934
|
return this.request(
|
|
6941
6935
|
"menu",
|
|
6942
|
-
"
|
|
6936
|
+
"get_menu_v3_category_relationships_items",
|
|
6943
6937
|
"get",
|
|
6944
|
-
`/menu/v3/category/relationships/
|
|
6938
|
+
`/menu/v3/category/relationships/items`,
|
|
6945
6939
|
null,
|
|
6946
6940
|
options
|
|
6947
6941
|
);
|
|
6948
6942
|
}
|
|
6949
6943
|
|
|
6950
6944
|
/**
|
|
6951
|
-
* GET /menu/v3/category/relationships/
|
|
6945
|
+
* GET /menu/v3/category/relationships/items/count
|
|
6952
6946
|
*
|
|
6953
6947
|
* @param options - additional request options
|
|
6954
6948
|
*/
|
|
6955
|
-
|
|
6949
|
+
get_menu_v3_category_relationships_items_count(
|
|
6956
6950
|
options?: {
|
|
6957
|
-
query?:
|
|
6951
|
+
query?: GetMenuV3CategoryRelationshipsItemsCountQuery;
|
|
6958
6952
|
} & RequestOptions
|
|
6959
|
-
): ResponsePromise<
|
|
6953
|
+
): ResponsePromise<GetMenuV3CategoryRelationshipsItemsCountResponse> {
|
|
6960
6954
|
return this.request(
|
|
6961
6955
|
"menu",
|
|
6962
|
-
"
|
|
6956
|
+
"get_menu_v3_category_relationships_items_count",
|
|
6963
6957
|
"get",
|
|
6964
|
-
`/menu/v3/category/relationships/
|
|
6958
|
+
`/menu/v3/category/relationships/items/count`,
|
|
6965
6959
|
null,
|
|
6966
6960
|
options
|
|
6967
6961
|
);
|
|
@@ -8660,13 +8654,13 @@ export class ServiceClient extends BaseServiceClient {
|
|
|
8660
8654
|
* @param body
|
|
8661
8655
|
* @param options - additional request options
|
|
8662
8656
|
*/
|
|
8663
|
-
|
|
8664
|
-
body:
|
|
8657
|
+
StandardCognitionEventWebhookController_execute(
|
|
8658
|
+
body: StandardCognitionEventWebhookControllerExecuteBody,
|
|
8665
8659
|
options?: RequestOptions
|
|
8666
|
-
): ResponsePromise<
|
|
8660
|
+
): ResponsePromise<StandardCognitionEventWebhookControllerExecuteResponse> {
|
|
8667
8661
|
return this.request(
|
|
8668
8662
|
"frictionless",
|
|
8669
|
-
"
|
|
8663
|
+
"StandardCognitionEventWebhookController_execute",
|
|
8670
8664
|
"post",
|
|
8671
8665
|
`/frictionless/webhook/standardcognition`,
|
|
8672
8666
|
body,
|
|
@@ -8680,15 +8674,15 @@ export class ServiceClient extends BaseServiceClient {
|
|
|
8680
8674
|
* @param id_brand - Brand ID as Encoded CDL ID
|
|
8681
8675
|
* @param options - additional request options
|
|
8682
8676
|
*/
|
|
8683
|
-
|
|
8677
|
+
CheckFrictionlessSupportController_execute(
|
|
8684
8678
|
id_brand: string,
|
|
8685
8679
|
options?: {
|
|
8686
|
-
query?:
|
|
8680
|
+
query?: CheckFrictionlessSupportControllerExecuteQuery;
|
|
8687
8681
|
} & RequestOptions
|
|
8688
|
-
): ResponsePromise<
|
|
8682
|
+
): ResponsePromise<CheckFrictionlessSupportControllerExecuteResponse> {
|
|
8689
8683
|
return this.request(
|
|
8690
8684
|
"frictionless",
|
|
8691
|
-
"
|
|
8685
|
+
"CheckFrictionlessSupportController_execute",
|
|
8692
8686
|
"get",
|
|
8693
8687
|
`/frictionless/brand/${id_brand}/frictionless-status`,
|
|
8694
8688
|
null,
|
|
@@ -8702,13 +8696,13 @@ export class ServiceClient extends BaseServiceClient {
|
|
|
8702
8696
|
* @param body
|
|
8703
8697
|
* @param options - additional request options
|
|
8704
8698
|
*/
|
|
8705
|
-
|
|
8706
|
-
body:
|
|
8699
|
+
CreateQRCodeUserCheckInController_execute(
|
|
8700
|
+
body: CreateQRCodeUserCheckInControllerExecuteBody,
|
|
8707
8701
|
options?: RequestOptions
|
|
8708
|
-
): ResponsePromise<
|
|
8702
|
+
): ResponsePromise<CreateQRCodeUserCheckInControllerExecuteResponse> {
|
|
8709
8703
|
return this.request(
|
|
8710
8704
|
"frictionless",
|
|
8711
|
-
"
|
|
8705
|
+
"CreateQRCodeUserCheckInController_execute",
|
|
8712
8706
|
"post",
|
|
8713
8707
|
`/frictionless/qrcode`,
|
|
8714
8708
|
body,
|
|
@@ -8721,14 +8715,14 @@ export class ServiceClient extends BaseServiceClient {
|
|
|
8721
8715
|
*
|
|
8722
8716
|
* @param options - additional request options
|
|
8723
8717
|
*/
|
|
8724
|
-
|
|
8718
|
+
ListFailedCheckinsController_execute(
|
|
8725
8719
|
options?: {
|
|
8726
|
-
query?:
|
|
8720
|
+
query?: ListFailedCheckinsControllerExecuteQuery;
|
|
8727
8721
|
} & RequestOptions
|
|
8728
|
-
): ResponsePromise<
|
|
8722
|
+
): ResponsePromise<ListFailedCheckinsControllerExecuteResponse> {
|
|
8729
8723
|
return this.request(
|
|
8730
8724
|
"frictionless",
|
|
8731
|
-
"
|
|
8725
|
+
"ListFailedCheckinsController_execute",
|
|
8732
8726
|
"get",
|
|
8733
8727
|
`/frictionless/failed-checkins`,
|
|
8734
8728
|
null,
|
|
@@ -8742,13 +8736,13 @@ export class ServiceClient extends BaseServiceClient {
|
|
|
8742
8736
|
* @param id_checkin - TODO: add parameter to swagger.json
|
|
8743
8737
|
* @param options - additional request options
|
|
8744
8738
|
*/
|
|
8745
|
-
|
|
8739
|
+
ReprocessCheckinOnErrorController_execute(
|
|
8746
8740
|
id_checkin: string,
|
|
8747
8741
|
options?: RequestOptions
|
|
8748
|
-
): ResponsePromise<
|
|
8742
|
+
): ResponsePromise<ReprocessCheckinOnErrorControllerExecuteResponse> {
|
|
8749
8743
|
return this.request(
|
|
8750
8744
|
"frictionless",
|
|
8751
|
-
"
|
|
8745
|
+
"ReprocessCheckinOnErrorController_execute",
|
|
8752
8746
|
"post",
|
|
8753
8747
|
`/frictionless/checkin/${id_checkin}/reprocess`,
|
|
8754
8748
|
null,
|
|
@@ -8762,19 +8756,59 @@ export class ServiceClient extends BaseServiceClient {
|
|
|
8762
8756
|
* @param id_checkin - TODO: add parameter to swagger.json
|
|
8763
8757
|
* @param options - additional request options
|
|
8764
8758
|
*/
|
|
8765
|
-
|
|
8759
|
+
CheckCheckinStatusController_execute(
|
|
8766
8760
|
id_checkin: string,
|
|
8767
8761
|
options?: {
|
|
8768
|
-
query?:
|
|
8762
|
+
query?: CheckCheckinStatusControllerExecuteQuery;
|
|
8769
8763
|
} & RequestOptions
|
|
8770
|
-
): ResponsePromise<
|
|
8764
|
+
): ResponsePromise<CheckCheckinStatusControllerExecuteResponse> {
|
|
8771
8765
|
return this.request(
|
|
8772
8766
|
"frictionless",
|
|
8773
|
-
"
|
|
8767
|
+
"CheckCheckinStatusController_execute",
|
|
8774
8768
|
"get",
|
|
8775
8769
|
`/frictionless/checkin/${id_checkin}/status`,
|
|
8776
8770
|
null,
|
|
8777
8771
|
options
|
|
8778
8772
|
);
|
|
8779
8773
|
}
|
|
8774
|
+
|
|
8775
|
+
/**
|
|
8776
|
+
* POST /ai/language/generate - Generate text from a given prompt
|
|
8777
|
+
*
|
|
8778
|
+
* @param body
|
|
8779
|
+
* @param options - additional request options
|
|
8780
|
+
*/
|
|
8781
|
+
post_ai_language_generate(
|
|
8782
|
+
body: PostAiLanguageGenerateBody,
|
|
8783
|
+
options?: RequestOptions
|
|
8784
|
+
): ResponsePromise<PostAiLanguageGenerateResponse> {
|
|
8785
|
+
return this.request(
|
|
8786
|
+
"ai",
|
|
8787
|
+
"post_ai_language_generate",
|
|
8788
|
+
"post",
|
|
8789
|
+
`/ai/language/generate`,
|
|
8790
|
+
body,
|
|
8791
|
+
options
|
|
8792
|
+
);
|
|
8793
|
+
}
|
|
8794
|
+
|
|
8795
|
+
/**
|
|
8796
|
+
* POST /ai/image/generate - Generate image from a given prompt
|
|
8797
|
+
*
|
|
8798
|
+
* @param body
|
|
8799
|
+
* @param options - additional request options
|
|
8800
|
+
*/
|
|
8801
|
+
post_ai_image_generate(
|
|
8802
|
+
body: PostAiImageGenerateBody,
|
|
8803
|
+
options?: RequestOptions
|
|
8804
|
+
): ResponsePromise<PostAiImageGenerateResponse> {
|
|
8805
|
+
return this.request(
|
|
8806
|
+
"ai",
|
|
8807
|
+
"post_ai_image_generate",
|
|
8808
|
+
"post",
|
|
8809
|
+
`/ai/image/generate`,
|
|
8810
|
+
body,
|
|
8811
|
+
options
|
|
8812
|
+
);
|
|
8813
|
+
}
|
|
8780
8814
|
}
|