@compassdigital/sdk.typescript 4.642.0 → 4.644.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 +1 -16
- package/lib/index.d.ts.map +1 -1
- package/lib/index.js +0 -19
- package/lib/index.js.map +1 -1
- package/lib/interface/location.d.ts +1 -0
- package/lib/interface/location.d.ts.map +1 -1
- package/lib/interface/menu.d.ts +5 -34
- package/lib/interface/menu.d.ts.map +1 -1
- package/package.json +1 -1
- package/src/index.ts +0 -45
- package/src/interface/location.ts +2 -0
- package/src/interface/menu.ts +6 -49
package/package.json
CHANGED
package/src/index.ts
CHANGED
|
@@ -646,9 +646,6 @@ import {
|
|
|
646
646
|
GetMenuV3DraftBrandVerifyPublishResponse,
|
|
647
647
|
PostMenuV3DraftBrandArchiveResponse,
|
|
648
648
|
PostMenuV3DraftBrandUnarchiveResponse,
|
|
649
|
-
PostMenuV3DraftBrandSyncMenuworksResponse,
|
|
650
|
-
PostMenuV3DraftBrandImportMenuworksCycleBody,
|
|
651
|
-
PostMenuV3DraftBrandImportMenuworksCycleResponse,
|
|
652
649
|
PostMenuV3BrandQuery,
|
|
653
650
|
PostMenuV3BrandBody,
|
|
654
651
|
PostMenuV3BrandResponse,
|
|
@@ -7830,48 +7827,6 @@ export class ServiceClient extends BaseServiceClient {
|
|
|
7830
7827
|
);
|
|
7831
7828
|
}
|
|
7832
7829
|
|
|
7833
|
-
/**
|
|
7834
|
-
* POST /menu/v3/draft/brand/{brand_id}/sync-menuworks
|
|
7835
|
-
*
|
|
7836
|
-
* @param brand_id
|
|
7837
|
-
* @param options - additional request options
|
|
7838
|
-
*/
|
|
7839
|
-
post_menu_v3_draft_brand_sync_menuworks(
|
|
7840
|
-
brand_id: string,
|
|
7841
|
-
options?: RequestOptions,
|
|
7842
|
-
): ResponsePromise<PostMenuV3DraftBrandSyncMenuworksResponse> {
|
|
7843
|
-
return this.request(
|
|
7844
|
-
'menu',
|
|
7845
|
-
'/menu/v3/draft/brand/{brand_id}/sync-menuworks',
|
|
7846
|
-
'POST',
|
|
7847
|
-
`/menu/v3/draft/brand/${brand_id}/sync-menuworks`,
|
|
7848
|
-
null,
|
|
7849
|
-
options,
|
|
7850
|
-
);
|
|
7851
|
-
}
|
|
7852
|
-
|
|
7853
|
-
/**
|
|
7854
|
-
* POST /menu/v3/draft/brand/{brand_id}/import-menuworks-cycle
|
|
7855
|
-
*
|
|
7856
|
-
* @param brand_id
|
|
7857
|
-
* @param body
|
|
7858
|
-
* @param options - additional request options
|
|
7859
|
-
*/
|
|
7860
|
-
post_menu_v3_draft_brand_import_menuworks_cycle(
|
|
7861
|
-
brand_id: string,
|
|
7862
|
-
body: PostMenuV3DraftBrandImportMenuworksCycleBody,
|
|
7863
|
-
options?: RequestOptions,
|
|
7864
|
-
): ResponsePromise<PostMenuV3DraftBrandImportMenuworksCycleResponse> {
|
|
7865
|
-
return this.request(
|
|
7866
|
-
'menu',
|
|
7867
|
-
'/menu/v3/draft/brand/{brand_id}/import-menuworks-cycle',
|
|
7868
|
-
'POST',
|
|
7869
|
-
`/menu/v3/draft/brand/${brand_id}/import-menuworks-cycle`,
|
|
7870
|
-
body,
|
|
7871
|
-
options,
|
|
7872
|
-
);
|
|
7873
|
-
}
|
|
7874
|
-
|
|
7875
7830
|
/**
|
|
7876
7831
|
* POST /menu/v3/brand
|
|
7877
7832
|
*
|
|
@@ -917,6 +917,8 @@ export interface PostLocationGroupBatchGetQuery {
|
|
|
917
917
|
extended?: boolean;
|
|
918
918
|
// Include soft-deleted groups and descendants in the response
|
|
919
919
|
include_deleted?: boolean;
|
|
920
|
+
// Include hidden brands in group locations
|
|
921
|
+
include_hidden_brands?: boolean;
|
|
920
922
|
}
|
|
921
923
|
|
|
922
924
|
export interface PostLocationGroupBatchGetBody {
|
package/src/interface/menu.ts
CHANGED
|
@@ -1420,12 +1420,6 @@ export interface WarningItemDTO {
|
|
|
1420
1420
|
posid?: string;
|
|
1421
1421
|
}
|
|
1422
1422
|
|
|
1423
|
-
export interface ImportMenuWorksSelectionDTO {
|
|
1424
|
-
meal_period_id?: number;
|
|
1425
|
-
station_ids?: number[];
|
|
1426
|
-
[index: string]: any;
|
|
1427
|
-
}
|
|
1428
|
-
|
|
1429
1423
|
export interface PublishedMenuDTO {
|
|
1430
1424
|
id?: string;
|
|
1431
1425
|
created_at?: string;
|
|
@@ -2145,6 +2139,12 @@ export interface CatalogBackupVersionDTO {
|
|
|
2145
2139
|
last_modified?: string;
|
|
2146
2140
|
}
|
|
2147
2141
|
|
|
2142
|
+
export interface ImportMenuWorksSelectionDTO {
|
|
2143
|
+
meal_period_id?: number;
|
|
2144
|
+
station_ids?: number[];
|
|
2145
|
+
[index: string]: any;
|
|
2146
|
+
}
|
|
2147
|
+
|
|
2148
2148
|
export interface FetchMetaDTO {
|
|
2149
2149
|
result_count: number;
|
|
2150
2150
|
[index: string]: any;
|
|
@@ -4440,49 +4440,6 @@ export interface PostMenuV3DraftBrandUnarchiveRequest
|
|
|
4440
4440
|
extends BaseRequest,
|
|
4441
4441
|
PostMenuV3DraftBrandUnarchivePath {}
|
|
4442
4442
|
|
|
4443
|
-
// POST /menu/v3/draft/brand/{brand_id}/sync-menuworks
|
|
4444
|
-
|
|
4445
|
-
export interface PostMenuV3DraftBrandSyncMenuworksPath {
|
|
4446
|
-
brand_id: string;
|
|
4447
|
-
}
|
|
4448
|
-
|
|
4449
|
-
export interface PostMenuV3DraftBrandSyncMenuworksResponse {
|
|
4450
|
-
process_id: string;
|
|
4451
|
-
status: string;
|
|
4452
|
-
[index: string]: any;
|
|
4453
|
-
}
|
|
4454
|
-
|
|
4455
|
-
export interface PostMenuV3DraftBrandSyncMenuworksRequest
|
|
4456
|
-
extends BaseRequest,
|
|
4457
|
-
PostMenuV3DraftBrandSyncMenuworksPath {}
|
|
4458
|
-
|
|
4459
|
-
// POST /menu/v3/draft/brand/{brand_id}/import-menuworks-cycle
|
|
4460
|
-
|
|
4461
|
-
export interface PostMenuV3DraftBrandImportMenuworksCyclePath {
|
|
4462
|
-
brand_id: string;
|
|
4463
|
-
}
|
|
4464
|
-
|
|
4465
|
-
export interface PostMenuV3DraftBrandImportMenuworksCycleBody {
|
|
4466
|
-
menuworks_unit_id: string;
|
|
4467
|
-
menu_collection_id: number;
|
|
4468
|
-
menu_collection_start_date?: string;
|
|
4469
|
-
import_selections?: ImportMenuWorksSelectionDTO[];
|
|
4470
|
-
[index: string]: any;
|
|
4471
|
-
}
|
|
4472
|
-
|
|
4473
|
-
export interface PostMenuV3DraftBrandImportMenuworksCycleResponse {
|
|
4474
|
-
process_id: string;
|
|
4475
|
-
status: string;
|
|
4476
|
-
message?: string;
|
|
4477
|
-
[index: string]: any;
|
|
4478
|
-
}
|
|
4479
|
-
|
|
4480
|
-
export interface PostMenuV3DraftBrandImportMenuworksCycleRequest
|
|
4481
|
-
extends BaseRequest,
|
|
4482
|
-
PostMenuV3DraftBrandImportMenuworksCyclePath {
|
|
4483
|
-
body: PostMenuV3DraftBrandImportMenuworksCycleBody;
|
|
4484
|
-
}
|
|
4485
|
-
|
|
4486
4443
|
// POST /menu/v3/brand
|
|
4487
4444
|
|
|
4488
4445
|
export interface PostMenuV3BrandQuery {
|