@compassdigital/sdk.typescript 3.76.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 +141 -118
- package/lib/index.d.ts.map +1 -1
- package/lib/index.js +139 -116
- 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 +97 -0
- package/lib/interface/frictionless.d.ts.map +1 -0
- package/lib/interface/frictionless.js +5 -0
- package/lib/interface/frictionless.js.map +1 -0
- package/lib/interface/location.d.ts +29 -86
- package/lib/interface/location.d.ts.map +1 -1
- package/lib/interface/menu.d.ts +228 -100
- package/lib/interface/menu.d.ts.map +1 -1
- package/lib/interface/payment.d.ts +30 -0
- package/lib/interface/payment.d.ts.map +1 -1
- package/manifest.json +9 -1
- package/package.json +2 -2
- package/sonar-project.properties +3 -1
- package/src/index.ts +367 -311
- package/src/interface/ai.ts +72 -0
- package/src/interface/datalake.ts +5 -3
- package/src/interface/frictionless.ts +155 -0
- package/src/interface/location.ts +55 -155
- package/src/interface/menu.ts +261 -129
- package/src/interface/payment.ts +31 -0
package/src/index.ts
CHANGED
|
@@ -80,10 +80,6 @@ import {
|
|
|
80
80
|
DeleteLocationResponse,
|
|
81
81
|
PatchLocationBody,
|
|
82
82
|
PatchLocationResponse,
|
|
83
|
-
GetLocationPosQuery,
|
|
84
|
-
GetLocationPosResponse,
|
|
85
|
-
PutLocationPosBody,
|
|
86
|
-
PutLocationPosResponse,
|
|
87
83
|
GetLocationMultigroupsQuery,
|
|
88
84
|
GetLocationMultigroupsResponse,
|
|
89
85
|
PostLocationMultigroupBody,
|
|
@@ -118,18 +114,10 @@ import {
|
|
|
118
114
|
DeleteLocationGroupDeliverydestinationResponse,
|
|
119
115
|
GetLocationGroupDeliverydestinationQuery,
|
|
120
116
|
GetLocationGroupDeliverydestinationResponse,
|
|
121
|
-
GetLocationUserGroupQuery,
|
|
122
|
-
GetLocationUserGroupResponse,
|
|
123
117
|
GetLocationBrandsQuery,
|
|
124
118
|
GetLocationBrandsResponse,
|
|
125
119
|
GetLocationBrandDestinationsQuery,
|
|
126
120
|
GetLocationBrandDestinationsResponse,
|
|
127
|
-
PostLocationBrandDocumentBody,
|
|
128
|
-
PostLocationBrandDocumentResponse,
|
|
129
|
-
PatchLocationBrandDocumentResponse,
|
|
130
|
-
DeleteLocationBrandDocumentResponse,
|
|
131
|
-
GetLocationBrandDocumentsQuery,
|
|
132
|
-
GetLocationBrandDocumentsResponse,
|
|
133
121
|
GetLocationBrandTimeslotsQuery,
|
|
134
122
|
GetLocationBrandTimeslotsResponse,
|
|
135
123
|
PostLocationMarketplaceTimeslotsQuery,
|
|
@@ -172,6 +160,10 @@ import {
|
|
|
172
160
|
DeleteLocationRecordResponse,
|
|
173
161
|
GetLocationV2GroupsQuery,
|
|
174
162
|
GetLocationV2GroupsResponse,
|
|
163
|
+
GetLocationMenuAssociationBrandQuery,
|
|
164
|
+
GetLocationMenuAssociationBrandResponse,
|
|
165
|
+
GetLocationMenuAssociationMenuQuery,
|
|
166
|
+
GetLocationMenuAssociationMenuResponse,
|
|
175
167
|
} from "./interface/location";
|
|
176
168
|
|
|
177
169
|
import {
|
|
@@ -284,8 +276,8 @@ import {
|
|
|
284
276
|
import {
|
|
285
277
|
PostDatalakeSqlBody,
|
|
286
278
|
PostDatalakeSqlResponse,
|
|
287
|
-
|
|
288
|
-
|
|
279
|
+
GetDatalakeSwaggerQuery,
|
|
280
|
+
GetDatalakeSwaggerResponse,
|
|
289
281
|
} from "./interface/datalake";
|
|
290
282
|
|
|
291
283
|
import {
|
|
@@ -463,51 +455,51 @@ import {
|
|
|
463
455
|
GetMenuClientResponse,
|
|
464
456
|
GetMenusQuery,
|
|
465
457
|
GetMenusResponse,
|
|
466
|
-
|
|
467
|
-
|
|
468
|
-
|
|
469
|
-
|
|
458
|
+
CreateMenuBody,
|
|
459
|
+
CreateMenuResponse,
|
|
460
|
+
GetMenuHeadersQuery,
|
|
461
|
+
GetMenuHeadersResponse,
|
|
470
462
|
GetMenuQuery,
|
|
471
463
|
GetMenuResponse,
|
|
472
|
-
|
|
473
|
-
|
|
474
|
-
|
|
464
|
+
UpdateMenuQuery,
|
|
465
|
+
UpdateMenuBody,
|
|
466
|
+
UpdateMenuResponse,
|
|
475
467
|
DeleteMenuQuery,
|
|
476
468
|
DeleteMenuResponse,
|
|
477
469
|
PatchMenuQuery,
|
|
478
470
|
PatchMenuBody,
|
|
479
471
|
PatchMenuResponse,
|
|
480
|
-
|
|
481
|
-
|
|
482
|
-
|
|
483
|
-
|
|
484
|
-
|
|
485
|
-
|
|
486
|
-
|
|
472
|
+
ImportMenuBody,
|
|
473
|
+
ImportMenuResponse,
|
|
474
|
+
GetItemQuery,
|
|
475
|
+
GetItemResponse,
|
|
476
|
+
DeleteItemResponse,
|
|
477
|
+
CreateItemBody,
|
|
478
|
+
CreateItemResponse,
|
|
487
479
|
GetMenuItemsQuery,
|
|
488
480
|
GetMenuItemsResponse,
|
|
489
|
-
|
|
490
|
-
|
|
491
|
-
|
|
492
|
-
|
|
493
|
-
|
|
494
|
-
|
|
495
|
-
|
|
496
|
-
|
|
497
|
-
|
|
498
|
-
|
|
499
|
-
|
|
500
|
-
|
|
501
|
-
|
|
502
|
-
|
|
503
|
-
|
|
504
|
-
|
|
505
|
-
|
|
506
|
-
|
|
507
|
-
|
|
508
|
-
|
|
509
|
-
|
|
510
|
-
|
|
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,
|
|
511
503
|
GetMenuExportQuery,
|
|
512
504
|
GetMenuExportResponse,
|
|
513
505
|
GetMenuPartialGroupsQuery,
|
|
@@ -668,12 +660,12 @@ import {
|
|
|
668
660
|
PostMenuV3DraftCategoryRelationshipsItemsResponse,
|
|
669
661
|
GetMenuV3DraftCategoryRelationshipsItemsCountQuery,
|
|
670
662
|
GetMenuV3DraftCategoryRelationshipsItemsCountResponse,
|
|
671
|
-
|
|
672
|
-
|
|
673
|
-
|
|
674
|
-
|
|
675
|
-
|
|
676
|
-
|
|
663
|
+
GetMenuV3CategoryRelationshipsItemQuery,
|
|
664
|
+
GetMenuV3CategoryRelationshipsItemResponse,
|
|
665
|
+
GetMenuV3CategoryRelationshipsItemsQuery,
|
|
666
|
+
GetMenuV3CategoryRelationshipsItemsResponse,
|
|
667
|
+
GetMenuV3CategoryRelationshipsItemsCountQuery,
|
|
668
|
+
GetMenuV3CategoryRelationshipsItemsCountResponse,
|
|
677
669
|
PostMenuV3DraftItemBody,
|
|
678
670
|
PostMenuV3DraftItemResponse,
|
|
679
671
|
GetMenuV3DraftItemQuery,
|
|
@@ -851,6 +843,27 @@ import {
|
|
|
851
843
|
PostDeliveryAvailabilityResponse,
|
|
852
844
|
} from "./interface/delivery";
|
|
853
845
|
|
|
846
|
+
import {
|
|
847
|
+
StandardCognitionEventWebhookControllerExecuteBody,
|
|
848
|
+
StandardCognitionEventWebhookControllerExecuteResponse,
|
|
849
|
+
CheckFrictionlessSupportControllerExecuteQuery,
|
|
850
|
+
CheckFrictionlessSupportControllerExecuteResponse,
|
|
851
|
+
CreateQRCodeUserCheckInControllerExecuteBody,
|
|
852
|
+
CreateQRCodeUserCheckInControllerExecuteResponse,
|
|
853
|
+
ListFailedCheckinsControllerExecuteQuery,
|
|
854
|
+
ListFailedCheckinsControllerExecuteResponse,
|
|
855
|
+
ReprocessCheckinOnErrorControllerExecuteResponse,
|
|
856
|
+
CheckCheckinStatusControllerExecuteQuery,
|
|
857
|
+
CheckCheckinStatusControllerExecuteResponse,
|
|
858
|
+
} from "./interface/frictionless";
|
|
859
|
+
|
|
860
|
+
import {
|
|
861
|
+
PostAiLanguageGenerateBody,
|
|
862
|
+
PostAiLanguageGenerateResponse,
|
|
863
|
+
PostAiImageGenerateBody,
|
|
864
|
+
PostAiImageGenerateResponse,
|
|
865
|
+
} from "./interface/ai";
|
|
866
|
+
|
|
854
867
|
import { BaseServiceClient, RequestOptions, ResponsePromise } from "./base";
|
|
855
868
|
export * from "./base";
|
|
856
869
|
|
|
@@ -1518,50 +1531,6 @@ export class ServiceClient extends BaseServiceClient {
|
|
|
1518
1531
|
return this.request("location", "patch_location", "patch", `/location/${id}`, body, options);
|
|
1519
1532
|
}
|
|
1520
1533
|
|
|
1521
|
-
/**
|
|
1522
|
-
* GET /location/pos/{id} - Get information about a POS
|
|
1523
|
-
*
|
|
1524
|
-
* @param id - POS ID
|
|
1525
|
-
* @param options - additional request options
|
|
1526
|
-
*/
|
|
1527
|
-
get_location_pos(
|
|
1528
|
-
id: string,
|
|
1529
|
-
options?: {
|
|
1530
|
-
query?: GetLocationPosQuery;
|
|
1531
|
-
} & RequestOptions
|
|
1532
|
-
): ResponsePromise<GetLocationPosResponse> {
|
|
1533
|
-
return this.request(
|
|
1534
|
-
"location",
|
|
1535
|
-
"get_location_pos",
|
|
1536
|
-
"get",
|
|
1537
|
-
`/location/pos/${id}`,
|
|
1538
|
-
null,
|
|
1539
|
-
options
|
|
1540
|
-
);
|
|
1541
|
-
}
|
|
1542
|
-
|
|
1543
|
-
/**
|
|
1544
|
-
* PUT /location/pos/{id} - Set information about a POS
|
|
1545
|
-
*
|
|
1546
|
-
* @param id - POS ID
|
|
1547
|
-
* @param body
|
|
1548
|
-
* @param options - additional request options
|
|
1549
|
-
*/
|
|
1550
|
-
put_location_pos(
|
|
1551
|
-
id: string,
|
|
1552
|
-
body: PutLocationPosBody,
|
|
1553
|
-
options?: RequestOptions
|
|
1554
|
-
): ResponsePromise<PutLocationPosResponse> {
|
|
1555
|
-
return this.request(
|
|
1556
|
-
"location",
|
|
1557
|
-
"put_location_pos",
|
|
1558
|
-
"put",
|
|
1559
|
-
`/location/pos/${id}`,
|
|
1560
|
-
body,
|
|
1561
|
-
options
|
|
1562
|
-
);
|
|
1563
|
-
}
|
|
1564
|
-
|
|
1565
1534
|
/**
|
|
1566
1535
|
* GET /location/multigroup - Get all the top level multigroups
|
|
1567
1536
|
*
|
|
@@ -1934,30 +1903,6 @@ export class ServiceClient extends BaseServiceClient {
|
|
|
1934
1903
|
);
|
|
1935
1904
|
}
|
|
1936
1905
|
|
|
1937
|
-
/**
|
|
1938
|
-
* GET /location/group/{id}/user/{user_id} - Get a location group info specific to user read permissions
|
|
1939
|
-
*
|
|
1940
|
-
* @param id - group
|
|
1941
|
-
* @param user_id - user
|
|
1942
|
-
* @param options - additional request options
|
|
1943
|
-
*/
|
|
1944
|
-
get_location_user_group(
|
|
1945
|
-
id: string,
|
|
1946
|
-
user_id: string,
|
|
1947
|
-
options?: {
|
|
1948
|
-
query?: GetLocationUserGroupQuery;
|
|
1949
|
-
} & RequestOptions
|
|
1950
|
-
): ResponsePromise<GetLocationUserGroupResponse> {
|
|
1951
|
-
return this.request(
|
|
1952
|
-
"location",
|
|
1953
|
-
"get_location_user_group",
|
|
1954
|
-
"get",
|
|
1955
|
-
`/location/group/${id}/user/${user_id}`,
|
|
1956
|
-
null,
|
|
1957
|
-
options
|
|
1958
|
-
);
|
|
1959
|
-
}
|
|
1960
|
-
|
|
1961
1906
|
/**
|
|
1962
1907
|
* GET /location/brands - Get all location brands
|
|
1963
1908
|
*
|
|
@@ -2000,90 +1945,6 @@ export class ServiceClient extends BaseServiceClient {
|
|
|
2000
1945
|
);
|
|
2001
1946
|
}
|
|
2002
1947
|
|
|
2003
|
-
/**
|
|
2004
|
-
* POST /location/brand/{id}/document - Attach document to a brand
|
|
2005
|
-
*
|
|
2006
|
-
* @param id - Brand ID
|
|
2007
|
-
* @param body
|
|
2008
|
-
* @param options - additional request options
|
|
2009
|
-
*/
|
|
2010
|
-
post_location_brand_document(
|
|
2011
|
-
id: string,
|
|
2012
|
-
body: PostLocationBrandDocumentBody,
|
|
2013
|
-
options?: RequestOptions
|
|
2014
|
-
): ResponsePromise<PostLocationBrandDocumentResponse> {
|
|
2015
|
-
return this.request(
|
|
2016
|
-
"location",
|
|
2017
|
-
"post_location_brand_document",
|
|
2018
|
-
"post",
|
|
2019
|
-
`/location/brand/${id}/document`,
|
|
2020
|
-
body,
|
|
2021
|
-
options
|
|
2022
|
-
);
|
|
2023
|
-
}
|
|
2024
|
-
|
|
2025
|
-
/**
|
|
2026
|
-
* PATCH /location/brand/{id}/document - Edit location document
|
|
2027
|
-
*
|
|
2028
|
-
* @param id - Brand ID
|
|
2029
|
-
* @param options - additional request options
|
|
2030
|
-
*/
|
|
2031
|
-
patch_location_brand_document(
|
|
2032
|
-
id: string,
|
|
2033
|
-
options?: RequestOptions
|
|
2034
|
-
): ResponsePromise<PatchLocationBrandDocumentResponse> {
|
|
2035
|
-
return this.request(
|
|
2036
|
-
"location",
|
|
2037
|
-
"patch_location_brand_document",
|
|
2038
|
-
"patch",
|
|
2039
|
-
`/location/brand/${id}/document`,
|
|
2040
|
-
null,
|
|
2041
|
-
options
|
|
2042
|
-
);
|
|
2043
|
-
}
|
|
2044
|
-
|
|
2045
|
-
/**
|
|
2046
|
-
* DELETE /location/brand/{id}/document - Deleted brand document
|
|
2047
|
-
*
|
|
2048
|
-
* @param id - Brand ID
|
|
2049
|
-
* @param options - additional request options
|
|
2050
|
-
*/
|
|
2051
|
-
delete_location_brand_document(
|
|
2052
|
-
id: string,
|
|
2053
|
-
options?: RequestOptions
|
|
2054
|
-
): ResponsePromise<DeleteLocationBrandDocumentResponse> {
|
|
2055
|
-
return this.request(
|
|
2056
|
-
"location",
|
|
2057
|
-
"delete_location_brand_document",
|
|
2058
|
-
"delete",
|
|
2059
|
-
`/location/brand/${id}/document`,
|
|
2060
|
-
null,
|
|
2061
|
-
options
|
|
2062
|
-
);
|
|
2063
|
-
}
|
|
2064
|
-
|
|
2065
|
-
/**
|
|
2066
|
-
* GET /location/brand/{id}/documents - Get location brand attached documents
|
|
2067
|
-
*
|
|
2068
|
-
* @param id - Brand ID
|
|
2069
|
-
* @param options - additional request options
|
|
2070
|
-
*/
|
|
2071
|
-
get_location_brand_documents(
|
|
2072
|
-
id: string,
|
|
2073
|
-
options?: {
|
|
2074
|
-
query?: GetLocationBrandDocumentsQuery;
|
|
2075
|
-
} & RequestOptions
|
|
2076
|
-
): ResponsePromise<GetLocationBrandDocumentsResponse> {
|
|
2077
|
-
return this.request(
|
|
2078
|
-
"location",
|
|
2079
|
-
"get_location_brand_documents",
|
|
2080
|
-
"get",
|
|
2081
|
-
`/location/brand/${id}/documents`,
|
|
2082
|
-
null,
|
|
2083
|
-
options
|
|
2084
|
-
);
|
|
2085
|
-
}
|
|
2086
|
-
|
|
2087
1948
|
/**
|
|
2088
1949
|
* GET /location/brand/{id}/timeslots - Get location brand timeslots
|
|
2089
1950
|
*
|
|
@@ -2518,6 +2379,50 @@ export class ServiceClient extends BaseServiceClient {
|
|
|
2518
2379
|
);
|
|
2519
2380
|
}
|
|
2520
2381
|
|
|
2382
|
+
/**
|
|
2383
|
+
* GET /location/menu_association/{id}/brand - Get menu association for a brand
|
|
2384
|
+
*
|
|
2385
|
+
* @param id - brand id
|
|
2386
|
+
* @param options - additional request options
|
|
2387
|
+
*/
|
|
2388
|
+
get_location_menu_association_brand(
|
|
2389
|
+
id: string,
|
|
2390
|
+
options?: {
|
|
2391
|
+
query?: GetLocationMenuAssociationBrandQuery;
|
|
2392
|
+
} & RequestOptions
|
|
2393
|
+
): ResponsePromise<GetLocationMenuAssociationBrandResponse> {
|
|
2394
|
+
return this.request(
|
|
2395
|
+
"location",
|
|
2396
|
+
"get_location_menu_association_brand",
|
|
2397
|
+
"get",
|
|
2398
|
+
`/location/menu_association/${id}/brand`,
|
|
2399
|
+
null,
|
|
2400
|
+
options
|
|
2401
|
+
);
|
|
2402
|
+
}
|
|
2403
|
+
|
|
2404
|
+
/**
|
|
2405
|
+
* GET /location/menu_association/{id}/menu - Get menu association for a brand
|
|
2406
|
+
*
|
|
2407
|
+
* @param id - menu id
|
|
2408
|
+
* @param options - additional request options
|
|
2409
|
+
*/
|
|
2410
|
+
get_location_menu_association_menu(
|
|
2411
|
+
id: string,
|
|
2412
|
+
options?: {
|
|
2413
|
+
query?: GetLocationMenuAssociationMenuQuery;
|
|
2414
|
+
} & RequestOptions
|
|
2415
|
+
): ResponsePromise<GetLocationMenuAssociationMenuResponse> {
|
|
2416
|
+
return this.request(
|
|
2417
|
+
"location",
|
|
2418
|
+
"get_location_menu_association_menu",
|
|
2419
|
+
"get",
|
|
2420
|
+
`/location/menu_association/${id}/menu`,
|
|
2421
|
+
null,
|
|
2422
|
+
options
|
|
2423
|
+
);
|
|
2424
|
+
}
|
|
2425
|
+
|
|
2521
2426
|
/**
|
|
2522
2427
|
* POST /shoppingcart/ - Create a new ShoppingCart
|
|
2523
2428
|
*
|
|
@@ -3459,12 +3364,12 @@ export class ServiceClient extends BaseServiceClient {
|
|
|
3459
3364
|
*
|
|
3460
3365
|
* @param options - additional request options
|
|
3461
3366
|
*/
|
|
3462
|
-
|
|
3367
|
+
get_datalake_swagger(
|
|
3463
3368
|
options?: {
|
|
3464
|
-
query?:
|
|
3369
|
+
query?: GetDatalakeSwaggerQuery;
|
|
3465
3370
|
} & RequestOptions
|
|
3466
|
-
): ResponsePromise<
|
|
3467
|
-
return this.request("datalake", "
|
|
3371
|
+
): ResponsePromise<GetDatalakeSwaggerResponse> {
|
|
3372
|
+
return this.request("datalake", "get_datalake_swagger", "get", `/swagger.json`, null, options);
|
|
3468
3373
|
}
|
|
3469
3374
|
|
|
3470
3375
|
/**
|
|
@@ -3680,7 +3585,7 @@ export class ServiceClient extends BaseServiceClient {
|
|
|
3680
3585
|
/**
|
|
3681
3586
|
* POST /promo/voucher/{id}/reverse - Reverse a redemption from a promo voucher
|
|
3682
3587
|
*
|
|
3683
|
-
* @param id -
|
|
3588
|
+
* @param id - For FP: order request ID (`requestID` from the FP invoice service)
|
|
3684
3589
|
* @param body
|
|
3685
3590
|
* @param options - additional request options
|
|
3686
3591
|
*/
|
|
@@ -4909,8 +4814,8 @@ export class ServiceClient extends BaseServiceClient {
|
|
|
4909
4814
|
* @param body
|
|
4910
4815
|
* @param options - additional request options
|
|
4911
4816
|
*/
|
|
4912
|
-
|
|
4913
|
-
return this.request("menu", "
|
|
4817
|
+
create_menu(body: CreateMenuBody, options?: RequestOptions): ResponsePromise<CreateMenuResponse> {
|
|
4818
|
+
return this.request("menu", "create_menu", "post", `/menu`, body, options);
|
|
4914
4819
|
}
|
|
4915
4820
|
|
|
4916
4821
|
/**
|
|
@@ -4919,13 +4824,13 @@ export class ServiceClient extends BaseServiceClient {
|
|
|
4919
4824
|
* @param id - menu
|
|
4920
4825
|
* @param options - additional request options
|
|
4921
4826
|
*/
|
|
4922
|
-
|
|
4827
|
+
get_menu_headers(
|
|
4923
4828
|
id: string,
|
|
4924
4829
|
options?: {
|
|
4925
|
-
query?:
|
|
4830
|
+
query?: GetMenuHeadersQuery;
|
|
4926
4831
|
} & RequestOptions
|
|
4927
|
-
): ResponsePromise<
|
|
4928
|
-
return this.request("menu", "
|
|
4832
|
+
): ResponsePromise<GetMenuHeadersResponse> {
|
|
4833
|
+
return this.request("menu", "get_menu_headers", "head", `/menu/${id}`, null, options);
|
|
4929
4834
|
}
|
|
4930
4835
|
|
|
4931
4836
|
/**
|
|
@@ -4950,14 +4855,14 @@ export class ServiceClient extends BaseServiceClient {
|
|
|
4950
4855
|
* @param body
|
|
4951
4856
|
* @param options - additional request options
|
|
4952
4857
|
*/
|
|
4953
|
-
|
|
4858
|
+
update_menu(
|
|
4954
4859
|
id: string,
|
|
4955
|
-
body:
|
|
4860
|
+
body: UpdateMenuBody,
|
|
4956
4861
|
options?: {
|
|
4957
|
-
query?:
|
|
4862
|
+
query?: UpdateMenuQuery;
|
|
4958
4863
|
} & RequestOptions
|
|
4959
|
-
): ResponsePromise<
|
|
4960
|
-
return this.request("menu", "
|
|
4864
|
+
): ResponsePromise<UpdateMenuResponse> {
|
|
4865
|
+
return this.request("menu", "update_menu", "put", `/menu/${id}`, body, options);
|
|
4961
4866
|
}
|
|
4962
4867
|
|
|
4963
4868
|
/**
|
|
@@ -4998,11 +4903,8 @@ export class ServiceClient extends BaseServiceClient {
|
|
|
4998
4903
|
* @param body
|
|
4999
4904
|
* @param options - additional request options
|
|
5000
4905
|
*/
|
|
5001
|
-
|
|
5002
|
-
body
|
|
5003
|
-
options?: RequestOptions
|
|
5004
|
-
): ResponsePromise<PostMenuImportMenuResponse> {
|
|
5005
|
-
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);
|
|
5006
4908
|
}
|
|
5007
4909
|
|
|
5008
4910
|
/**
|
|
@@ -5011,13 +4913,13 @@ export class ServiceClient extends BaseServiceClient {
|
|
|
5011
4913
|
* @param id - Item ID
|
|
5012
4914
|
* @param options - additional request options
|
|
5013
4915
|
*/
|
|
5014
|
-
|
|
4916
|
+
get_item(
|
|
5015
4917
|
id: string,
|
|
5016
4918
|
options?: {
|
|
5017
|
-
query?:
|
|
4919
|
+
query?: GetItemQuery;
|
|
5018
4920
|
} & RequestOptions
|
|
5019
|
-
): ResponsePromise<
|
|
5020
|
-
return this.request("menu", "
|
|
4921
|
+
): ResponsePromise<GetItemResponse> {
|
|
4922
|
+
return this.request("menu", "get_item", "get", `/menu/item/${id}`, null, options);
|
|
5021
4923
|
}
|
|
5022
4924
|
|
|
5023
4925
|
/**
|
|
@@ -5026,8 +4928,8 @@ export class ServiceClient extends BaseServiceClient {
|
|
|
5026
4928
|
* @param id - Item ID
|
|
5027
4929
|
* @param options - additional request options
|
|
5028
4930
|
*/
|
|
5029
|
-
|
|
5030
|
-
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);
|
|
5031
4933
|
}
|
|
5032
4934
|
|
|
5033
4935
|
/**
|
|
@@ -5036,11 +4938,8 @@ export class ServiceClient extends BaseServiceClient {
|
|
|
5036
4938
|
* @param body
|
|
5037
4939
|
* @param options - additional request options
|
|
5038
4940
|
*/
|
|
5039
|
-
|
|
5040
|
-
body
|
|
5041
|
-
options?: RequestOptions
|
|
5042
|
-
): ResponsePromise<PostMenuItemResponse> {
|
|
5043
|
-
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);
|
|
5044
4943
|
}
|
|
5045
4944
|
|
|
5046
4945
|
/**
|
|
@@ -5062,13 +4961,13 @@ export class ServiceClient extends BaseServiceClient {
|
|
|
5062
4961
|
* @param location - Location ID
|
|
5063
4962
|
* @param options - additional request options
|
|
5064
4963
|
*/
|
|
5065
|
-
|
|
4964
|
+
import_items_canteen(
|
|
5066
4965
|
location: string,
|
|
5067
4966
|
options?: RequestOptions
|
|
5068
|
-
): ResponsePromise<
|
|
4967
|
+
): ResponsePromise<ImportItemsCanteenResponse> {
|
|
5069
4968
|
return this.request(
|
|
5070
4969
|
"menu",
|
|
5071
|
-
"
|
|
4970
|
+
"import_items_canteen",
|
|
5072
4971
|
"post",
|
|
5073
4972
|
`/menu/items/import/${location}`,
|
|
5074
4973
|
null,
|
|
@@ -5082,15 +4981,15 @@ export class ServiceClient extends BaseServiceClient {
|
|
|
5082
4981
|
* @param location - Location ID
|
|
5083
4982
|
* @param options - additional request options
|
|
5084
4983
|
*/
|
|
5085
|
-
|
|
4984
|
+
get_location_items(
|
|
5086
4985
|
location: string,
|
|
5087
4986
|
options?: {
|
|
5088
|
-
query?:
|
|
4987
|
+
query?: GetLocationItemsQuery;
|
|
5089
4988
|
} & RequestOptions
|
|
5090
|
-
): ResponsePromise<
|
|
4989
|
+
): ResponsePromise<GetLocationItemsResponse> {
|
|
5091
4990
|
return this.request(
|
|
5092
4991
|
"menu",
|
|
5093
|
-
"
|
|
4992
|
+
"get_location_items",
|
|
5094
4993
|
"get",
|
|
5095
4994
|
`/menu/items/location/${location}`,
|
|
5096
4995
|
null,
|
|
@@ -5104,15 +5003,15 @@ export class ServiceClient extends BaseServiceClient {
|
|
|
5104
5003
|
* @param location - Location ID
|
|
5105
5004
|
* @param options - additional request options
|
|
5106
5005
|
*/
|
|
5107
|
-
|
|
5006
|
+
get_location_item_random(
|
|
5108
5007
|
location: string,
|
|
5109
5008
|
options?: {
|
|
5110
|
-
query?:
|
|
5009
|
+
query?: GetLocationItemRandomQuery;
|
|
5111
5010
|
} & RequestOptions
|
|
5112
|
-
): ResponsePromise<
|
|
5011
|
+
): ResponsePromise<GetLocationItemRandomResponse> {
|
|
5113
5012
|
return this.request(
|
|
5114
5013
|
"menu",
|
|
5115
|
-
"
|
|
5014
|
+
"get_location_item_random",
|
|
5116
5015
|
"get",
|
|
5117
5016
|
`/menu/item/random/location/${location}`,
|
|
5118
5017
|
null,
|
|
@@ -5126,15 +5025,15 @@ export class ServiceClient extends BaseServiceClient {
|
|
|
5126
5025
|
* @param location - Location ID
|
|
5127
5026
|
* @param options - additional request options
|
|
5128
5027
|
*/
|
|
5129
|
-
|
|
5028
|
+
get_location_items_random(
|
|
5130
5029
|
location: string,
|
|
5131
5030
|
options?: {
|
|
5132
|
-
query?:
|
|
5031
|
+
query?: GetLocationItemsRandomQuery;
|
|
5133
5032
|
} & RequestOptions
|
|
5134
|
-
): ResponsePromise<
|
|
5033
|
+
): ResponsePromise<GetLocationItemsRandomResponse> {
|
|
5135
5034
|
return this.request(
|
|
5136
5035
|
"menu",
|
|
5137
|
-
"
|
|
5036
|
+
"get_location_items_random",
|
|
5138
5037
|
"get",
|
|
5139
5038
|
`/menu/items/random/location/${location}`,
|
|
5140
5039
|
null,
|
|
@@ -5148,20 +5047,13 @@ export class ServiceClient extends BaseServiceClient {
|
|
|
5148
5047
|
* @param sector - Sector ID
|
|
5149
5048
|
* @param options - additional request options
|
|
5150
5049
|
*/
|
|
5151
|
-
|
|
5050
|
+
get_sector_menus(
|
|
5152
5051
|
sector: string,
|
|
5153
5052
|
options?: {
|
|
5154
|
-
query?:
|
|
5053
|
+
query?: GetSectorMenusQuery;
|
|
5155
5054
|
} & RequestOptions
|
|
5156
|
-
): ResponsePromise<
|
|
5157
|
-
return this.request(
|
|
5158
|
-
"menu",
|
|
5159
|
-
"get_menu_sector_menus",
|
|
5160
|
-
"get",
|
|
5161
|
-
`/menu/sector/${sector}`,
|
|
5162
|
-
null,
|
|
5163
|
-
options
|
|
5164
|
-
);
|
|
5055
|
+
): ResponsePromise<GetSectorMenusResponse> {
|
|
5056
|
+
return this.request("menu", "get_sector_menus", "get", `/menu/sector/${sector}`, null, options);
|
|
5165
5057
|
}
|
|
5166
5058
|
|
|
5167
5059
|
/**
|
|
@@ -5170,15 +5062,15 @@ export class ServiceClient extends BaseServiceClient {
|
|
|
5170
5062
|
* @param company - Company ID
|
|
5171
5063
|
* @param options - additional request options
|
|
5172
5064
|
*/
|
|
5173
|
-
|
|
5065
|
+
get_company_menus(
|
|
5174
5066
|
company: string,
|
|
5175
5067
|
options?: {
|
|
5176
|
-
query?:
|
|
5068
|
+
query?: GetCompanyMenusQuery;
|
|
5177
5069
|
} & RequestOptions
|
|
5178
|
-
): ResponsePromise<
|
|
5070
|
+
): ResponsePromise<GetCompanyMenusResponse> {
|
|
5179
5071
|
return this.request(
|
|
5180
5072
|
"menu",
|
|
5181
|
-
"
|
|
5073
|
+
"get_company_menus",
|
|
5182
5074
|
"get",
|
|
5183
5075
|
`/menu/company/${company}`,
|
|
5184
5076
|
null,
|
|
@@ -5192,13 +5084,13 @@ export class ServiceClient extends BaseServiceClient {
|
|
|
5192
5084
|
* @param body
|
|
5193
5085
|
* @param options - additional request options
|
|
5194
5086
|
*/
|
|
5195
|
-
|
|
5196
|
-
body:
|
|
5087
|
+
create_modifier_group(
|
|
5088
|
+
body: CreateModifierGroupBody,
|
|
5197
5089
|
options?: RequestOptions
|
|
5198
|
-
): ResponsePromise<
|
|
5090
|
+
): ResponsePromise<CreateModifierGroupResponse> {
|
|
5199
5091
|
return this.request(
|
|
5200
5092
|
"menu",
|
|
5201
|
-
"
|
|
5093
|
+
"create_modifier_group",
|
|
5202
5094
|
"post",
|
|
5203
5095
|
`/menu/modifier/group`,
|
|
5204
5096
|
body,
|
|
@@ -5212,15 +5104,15 @@ export class ServiceClient extends BaseServiceClient {
|
|
|
5212
5104
|
* @param id - modifier_group
|
|
5213
5105
|
* @param options - additional request options
|
|
5214
5106
|
*/
|
|
5215
|
-
|
|
5107
|
+
get_modifier_group(
|
|
5216
5108
|
id: string,
|
|
5217
5109
|
options?: {
|
|
5218
|
-
query?:
|
|
5110
|
+
query?: GetModifierGroupQuery;
|
|
5219
5111
|
} & RequestOptions
|
|
5220
|
-
): ResponsePromise<
|
|
5112
|
+
): ResponsePromise<GetModifierGroupResponse> {
|
|
5221
5113
|
return this.request(
|
|
5222
5114
|
"menu",
|
|
5223
|
-
"
|
|
5115
|
+
"get_modifier_group",
|
|
5224
5116
|
"get",
|
|
5225
5117
|
`/menu/modifier/group/${id}`,
|
|
5226
5118
|
null,
|
|
@@ -5235,14 +5127,14 @@ export class ServiceClient extends BaseServiceClient {
|
|
|
5235
5127
|
* @param body
|
|
5236
5128
|
* @param options - additional request options
|
|
5237
5129
|
*/
|
|
5238
|
-
|
|
5130
|
+
update_modifier_group(
|
|
5239
5131
|
id: string,
|
|
5240
|
-
body:
|
|
5132
|
+
body: UpdateModifierGroupBody,
|
|
5241
5133
|
options?: RequestOptions
|
|
5242
|
-
): ResponsePromise<
|
|
5134
|
+
): ResponsePromise<UpdateModifierGroupResponse> {
|
|
5243
5135
|
return this.request(
|
|
5244
5136
|
"menu",
|
|
5245
|
-
"
|
|
5137
|
+
"update_modifier_group",
|
|
5246
5138
|
"put",
|
|
5247
5139
|
`/menu/modifier/group/${id}`,
|
|
5248
5140
|
body,
|
|
@@ -5256,13 +5148,13 @@ export class ServiceClient extends BaseServiceClient {
|
|
|
5256
5148
|
* @param id - modifier_group
|
|
5257
5149
|
* @param options - additional request options
|
|
5258
5150
|
*/
|
|
5259
|
-
|
|
5151
|
+
delete_modifier_group(
|
|
5260
5152
|
id: string,
|
|
5261
5153
|
options?: RequestOptions
|
|
5262
|
-
): ResponsePromise<
|
|
5154
|
+
): ResponsePromise<DeleteModifierGroupResponse> {
|
|
5263
5155
|
return this.request(
|
|
5264
5156
|
"menu",
|
|
5265
|
-
"
|
|
5157
|
+
"delete_modifier_group",
|
|
5266
5158
|
"delete",
|
|
5267
5159
|
`/menu/modifier/group/${id}`,
|
|
5268
5160
|
null,
|
|
@@ -5276,15 +5168,15 @@ export class ServiceClient extends BaseServiceClient {
|
|
|
5276
5168
|
* @param company - Company ID
|
|
5277
5169
|
* @param options - additional request options
|
|
5278
5170
|
*/
|
|
5279
|
-
|
|
5171
|
+
get_company_modifier_groups(
|
|
5280
5172
|
company: string,
|
|
5281
5173
|
options?: {
|
|
5282
|
-
query?:
|
|
5174
|
+
query?: GetCompanyModifierGroupsQuery;
|
|
5283
5175
|
} & RequestOptions
|
|
5284
|
-
): ResponsePromise<
|
|
5176
|
+
): ResponsePromise<GetCompanyModifierGroupsResponse> {
|
|
5285
5177
|
return this.request(
|
|
5286
5178
|
"menu",
|
|
5287
|
-
"
|
|
5179
|
+
"get_company_modifier_groups",
|
|
5288
5180
|
"get",
|
|
5289
5181
|
`/menu/modifier/group/company/${company}`,
|
|
5290
5182
|
null,
|
|
@@ -5298,15 +5190,15 @@ export class ServiceClient extends BaseServiceClient {
|
|
|
5298
5190
|
* @param company - Company ID
|
|
5299
5191
|
* @param options - additional request options
|
|
5300
5192
|
*/
|
|
5301
|
-
|
|
5193
|
+
get_company_modifier_groups_export(
|
|
5302
5194
|
company: string,
|
|
5303
5195
|
options?: {
|
|
5304
|
-
query?:
|
|
5196
|
+
query?: GetCompanyModifierGroupsExportQuery;
|
|
5305
5197
|
} & RequestOptions
|
|
5306
|
-
): ResponsePromise<
|
|
5198
|
+
): ResponsePromise<GetCompanyModifierGroupsExportResponse> {
|
|
5307
5199
|
return this.request(
|
|
5308
5200
|
"menu",
|
|
5309
|
-
"
|
|
5201
|
+
"get_company_modifier_groups_export",
|
|
5310
5202
|
"get",
|
|
5311
5203
|
`/menu/modifier/group/company/${company}/export`,
|
|
5312
5204
|
null,
|
|
@@ -7008,62 +6900,62 @@ export class ServiceClient extends BaseServiceClient {
|
|
|
7008
6900
|
}
|
|
7009
6901
|
|
|
7010
6902
|
/**
|
|
7011
|
-
* GET /menu/v3/category/relationships/
|
|
6903
|
+
* GET /menu/v3/category/relationships/item/{id}
|
|
7012
6904
|
*
|
|
7013
6905
|
* @param id
|
|
7014
6906
|
* @param options - additional request options
|
|
7015
6907
|
*/
|
|
7016
|
-
|
|
6908
|
+
get_menu_v3_category_relationships_item(
|
|
7017
6909
|
id: string,
|
|
7018
6910
|
options?: {
|
|
7019
|
-
query?:
|
|
6911
|
+
query?: GetMenuV3CategoryRelationshipsItemQuery;
|
|
7020
6912
|
} & RequestOptions
|
|
7021
|
-
): ResponsePromise<
|
|
6913
|
+
): ResponsePromise<GetMenuV3CategoryRelationshipsItemResponse> {
|
|
7022
6914
|
return this.request(
|
|
7023
6915
|
"menu",
|
|
7024
|
-
"
|
|
6916
|
+
"get_menu_v3_category_relationships_item",
|
|
7025
6917
|
"get",
|
|
7026
|
-
`/menu/v3/category/relationships/
|
|
6918
|
+
`/menu/v3/category/relationships/item/${id}`,
|
|
7027
6919
|
null,
|
|
7028
6920
|
options
|
|
7029
6921
|
);
|
|
7030
6922
|
}
|
|
7031
6923
|
|
|
7032
6924
|
/**
|
|
7033
|
-
* GET /menu/v3/category/relationships/
|
|
6925
|
+
* GET /menu/v3/category/relationships/items
|
|
7034
6926
|
*
|
|
7035
6927
|
* @param options - additional request options
|
|
7036
6928
|
*/
|
|
7037
|
-
|
|
6929
|
+
get_menu_v3_category_relationships_items(
|
|
7038
6930
|
options?: {
|
|
7039
|
-
query?:
|
|
6931
|
+
query?: GetMenuV3CategoryRelationshipsItemsQuery;
|
|
7040
6932
|
} & RequestOptions
|
|
7041
|
-
): ResponsePromise<
|
|
6933
|
+
): ResponsePromise<GetMenuV3CategoryRelationshipsItemsResponse> {
|
|
7042
6934
|
return this.request(
|
|
7043
6935
|
"menu",
|
|
7044
|
-
"
|
|
6936
|
+
"get_menu_v3_category_relationships_items",
|
|
7045
6937
|
"get",
|
|
7046
|
-
`/menu/v3/category/relationships/
|
|
6938
|
+
`/menu/v3/category/relationships/items`,
|
|
7047
6939
|
null,
|
|
7048
6940
|
options
|
|
7049
6941
|
);
|
|
7050
6942
|
}
|
|
7051
6943
|
|
|
7052
6944
|
/**
|
|
7053
|
-
* GET /menu/v3/category/relationships/
|
|
6945
|
+
* GET /menu/v3/category/relationships/items/count
|
|
7054
6946
|
*
|
|
7055
6947
|
* @param options - additional request options
|
|
7056
6948
|
*/
|
|
7057
|
-
|
|
6949
|
+
get_menu_v3_category_relationships_items_count(
|
|
7058
6950
|
options?: {
|
|
7059
|
-
query?:
|
|
6951
|
+
query?: GetMenuV3CategoryRelationshipsItemsCountQuery;
|
|
7060
6952
|
} & RequestOptions
|
|
7061
|
-
): ResponsePromise<
|
|
6953
|
+
): ResponsePromise<GetMenuV3CategoryRelationshipsItemsCountResponse> {
|
|
7062
6954
|
return this.request(
|
|
7063
6955
|
"menu",
|
|
7064
|
-
"
|
|
6956
|
+
"get_menu_v3_category_relationships_items_count",
|
|
7065
6957
|
"get",
|
|
7066
|
-
`/menu/v3/category/relationships/
|
|
6958
|
+
`/menu/v3/category/relationships/items/count`,
|
|
7067
6959
|
null,
|
|
7068
6960
|
options
|
|
7069
6961
|
);
|
|
@@ -8755,4 +8647,168 @@ export class ServiceClient extends BaseServiceClient {
|
|
|
8755
8647
|
options
|
|
8756
8648
|
);
|
|
8757
8649
|
}
|
|
8650
|
+
|
|
8651
|
+
/**
|
|
8652
|
+
* POST /frictionless/webhook/standardcognition - Receive frictionless standard cognition events
|
|
8653
|
+
*
|
|
8654
|
+
* @param body
|
|
8655
|
+
* @param options - additional request options
|
|
8656
|
+
*/
|
|
8657
|
+
StandardCognitionEventWebhookController_execute(
|
|
8658
|
+
body: StandardCognitionEventWebhookControllerExecuteBody,
|
|
8659
|
+
options?: RequestOptions
|
|
8660
|
+
): ResponsePromise<StandardCognitionEventWebhookControllerExecuteResponse> {
|
|
8661
|
+
return this.request(
|
|
8662
|
+
"frictionless",
|
|
8663
|
+
"StandardCognitionEventWebhookController_execute",
|
|
8664
|
+
"post",
|
|
8665
|
+
`/frictionless/webhook/standardcognition`,
|
|
8666
|
+
body,
|
|
8667
|
+
options
|
|
8668
|
+
);
|
|
8669
|
+
}
|
|
8670
|
+
|
|
8671
|
+
/**
|
|
8672
|
+
* GET /frictionless/brand/{id_brand}/frictionless-status - Check frictionless support of a given brand
|
|
8673
|
+
*
|
|
8674
|
+
* @param id_brand - Brand ID as Encoded CDL ID
|
|
8675
|
+
* @param options - additional request options
|
|
8676
|
+
*/
|
|
8677
|
+
CheckFrictionlessSupportController_execute(
|
|
8678
|
+
id_brand: string,
|
|
8679
|
+
options?: {
|
|
8680
|
+
query?: CheckFrictionlessSupportControllerExecuteQuery;
|
|
8681
|
+
} & RequestOptions
|
|
8682
|
+
): ResponsePromise<CheckFrictionlessSupportControllerExecuteResponse> {
|
|
8683
|
+
return this.request(
|
|
8684
|
+
"frictionless",
|
|
8685
|
+
"CheckFrictionlessSupportController_execute",
|
|
8686
|
+
"get",
|
|
8687
|
+
`/frictionless/brand/${id_brand}/frictionless-status`,
|
|
8688
|
+
null,
|
|
8689
|
+
options
|
|
8690
|
+
);
|
|
8691
|
+
}
|
|
8692
|
+
|
|
8693
|
+
/**
|
|
8694
|
+
* POST /frictionless/qrcode - Create Frictionless QR Code to make user able to check in
|
|
8695
|
+
*
|
|
8696
|
+
* @param body
|
|
8697
|
+
* @param options - additional request options
|
|
8698
|
+
*/
|
|
8699
|
+
CreateQRCodeUserCheckInController_execute(
|
|
8700
|
+
body: CreateQRCodeUserCheckInControllerExecuteBody,
|
|
8701
|
+
options?: RequestOptions
|
|
8702
|
+
): ResponsePromise<CreateQRCodeUserCheckInControllerExecuteResponse> {
|
|
8703
|
+
return this.request(
|
|
8704
|
+
"frictionless",
|
|
8705
|
+
"CreateQRCodeUserCheckInController_execute",
|
|
8706
|
+
"post",
|
|
8707
|
+
`/frictionless/qrcode`,
|
|
8708
|
+
body,
|
|
8709
|
+
options
|
|
8710
|
+
);
|
|
8711
|
+
}
|
|
8712
|
+
|
|
8713
|
+
/**
|
|
8714
|
+
* GET /frictionless/failed-checkins - List check-ins on error
|
|
8715
|
+
*
|
|
8716
|
+
* @param options - additional request options
|
|
8717
|
+
*/
|
|
8718
|
+
ListFailedCheckinsController_execute(
|
|
8719
|
+
options?: {
|
|
8720
|
+
query?: ListFailedCheckinsControllerExecuteQuery;
|
|
8721
|
+
} & RequestOptions
|
|
8722
|
+
): ResponsePromise<ListFailedCheckinsControllerExecuteResponse> {
|
|
8723
|
+
return this.request(
|
|
8724
|
+
"frictionless",
|
|
8725
|
+
"ListFailedCheckinsController_execute",
|
|
8726
|
+
"get",
|
|
8727
|
+
`/frictionless/failed-checkins`,
|
|
8728
|
+
null,
|
|
8729
|
+
options
|
|
8730
|
+
);
|
|
8731
|
+
}
|
|
8732
|
+
|
|
8733
|
+
/**
|
|
8734
|
+
* POST /frictionless/checkin/{id_checkin}/reprocess - Reprocess checkin on error
|
|
8735
|
+
*
|
|
8736
|
+
* @param id_checkin - TODO: add parameter to swagger.json
|
|
8737
|
+
* @param options - additional request options
|
|
8738
|
+
*/
|
|
8739
|
+
ReprocessCheckinOnErrorController_execute(
|
|
8740
|
+
id_checkin: string,
|
|
8741
|
+
options?: RequestOptions
|
|
8742
|
+
): ResponsePromise<ReprocessCheckinOnErrorControllerExecuteResponse> {
|
|
8743
|
+
return this.request(
|
|
8744
|
+
"frictionless",
|
|
8745
|
+
"ReprocessCheckinOnErrorController_execute",
|
|
8746
|
+
"post",
|
|
8747
|
+
`/frictionless/checkin/${id_checkin}/reprocess`,
|
|
8748
|
+
null,
|
|
8749
|
+
options
|
|
8750
|
+
);
|
|
8751
|
+
}
|
|
8752
|
+
|
|
8753
|
+
/**
|
|
8754
|
+
* GET /frictionless/checkin/{id_checkin}/status - Fetch CheckIn status
|
|
8755
|
+
*
|
|
8756
|
+
* @param id_checkin - TODO: add parameter to swagger.json
|
|
8757
|
+
* @param options - additional request options
|
|
8758
|
+
*/
|
|
8759
|
+
CheckCheckinStatusController_execute(
|
|
8760
|
+
id_checkin: string,
|
|
8761
|
+
options?: {
|
|
8762
|
+
query?: CheckCheckinStatusControllerExecuteQuery;
|
|
8763
|
+
} & RequestOptions
|
|
8764
|
+
): ResponsePromise<CheckCheckinStatusControllerExecuteResponse> {
|
|
8765
|
+
return this.request(
|
|
8766
|
+
"frictionless",
|
|
8767
|
+
"CheckCheckinStatusController_execute",
|
|
8768
|
+
"get",
|
|
8769
|
+
`/frictionless/checkin/${id_checkin}/status`,
|
|
8770
|
+
null,
|
|
8771
|
+
options
|
|
8772
|
+
);
|
|
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
|
+
}
|
|
8758
8814
|
}
|