@compassdigital/sdk.typescript 4.667.0 → 4.668.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 +8 -1
- package/lib/index.d.ts.map +1 -1
- package/lib/index.js +9 -0
- package/lib/index.js.map +1 -1
- package/lib/interface/menu.d.ts +21 -0
- package/lib/interface/menu.d.ts.map +1 -1
- package/package.json +1 -1
- package/src/index.ts +21 -0
- package/src/interface/menu.ts +29 -0
package/package.json
CHANGED
package/src/index.ts
CHANGED
|
@@ -967,6 +967,7 @@ import {
|
|
|
967
967
|
GetMenuV4BrandCatalogBackupVersionsResponse,
|
|
968
968
|
PostMenuV4BrandCatalogBackupRestoreBody,
|
|
969
969
|
PostMenuV4BrandCatalogBackupRestoreResponse,
|
|
970
|
+
GetMenuV4BrandVerifyPublishResponse,
|
|
970
971
|
PostMenuV4BrandPublishResponse,
|
|
971
972
|
PostMenuV4BrandIntegrationSyncResponse,
|
|
972
973
|
PostMenuV4BrandSyncMenuworksResponse,
|
|
@@ -11353,6 +11354,26 @@ export class ServiceClient extends BaseServiceClient {
|
|
|
11353
11354
|
);
|
|
11354
11355
|
}
|
|
11355
11356
|
|
|
11357
|
+
/**
|
|
11358
|
+
* GET /menu/v4/brand/{id}/verify-publish
|
|
11359
|
+
*
|
|
11360
|
+
* @param id
|
|
11361
|
+
* @param options - additional request options
|
|
11362
|
+
*/
|
|
11363
|
+
get_menu_v4_brand_verify_publish(
|
|
11364
|
+
id: string,
|
|
11365
|
+
options?: RequestOptions,
|
|
11366
|
+
): ResponsePromise<GetMenuV4BrandVerifyPublishResponse> {
|
|
11367
|
+
return this.request(
|
|
11368
|
+
'menu',
|
|
11369
|
+
'/menu/v4/brand/{id}/verify-publish',
|
|
11370
|
+
'GET',
|
|
11371
|
+
`/menu/v4/brand/${id}/verify-publish`,
|
|
11372
|
+
null,
|
|
11373
|
+
options,
|
|
11374
|
+
);
|
|
11375
|
+
}
|
|
11376
|
+
|
|
11356
11377
|
/**
|
|
11357
11378
|
* POST /menu/v4/brand/{id}/publish
|
|
11358
11379
|
*
|
package/src/interface/menu.ts
CHANGED
|
@@ -2145,6 +2145,21 @@ export interface CatalogBackupVersionDTO {
|
|
|
2145
2145
|
last_modified?: string;
|
|
2146
2146
|
}
|
|
2147
2147
|
|
|
2148
|
+
export interface BrandV4WarningDTO {
|
|
2149
|
+
barcode?: string;
|
|
2150
|
+
brand_id?: string;
|
|
2151
|
+
brand_name?: string;
|
|
2152
|
+
type?: string;
|
|
2153
|
+
items?: BrandV4WarningItemDTO[];
|
|
2154
|
+
}
|
|
2155
|
+
|
|
2156
|
+
export interface BrandV4WarningItemDTO {
|
|
2157
|
+
posid?: string;
|
|
2158
|
+
id?: string;
|
|
2159
|
+
item_name?: string;
|
|
2160
|
+
[index: string]: any;
|
|
2161
|
+
}
|
|
2162
|
+
|
|
2148
2163
|
export interface ImportMenuWorksSelectionDTO {
|
|
2149
2164
|
meal_period_id?: number;
|
|
2150
2165
|
station_ids?: number[];
|
|
@@ -9042,6 +9057,20 @@ export interface PostMenuV4BrandCatalogBackupRestoreRequest
|
|
|
9042
9057
|
body: PostMenuV4BrandCatalogBackupRestoreBody;
|
|
9043
9058
|
}
|
|
9044
9059
|
|
|
9060
|
+
// GET /menu/v4/brand/{id}/verify-publish
|
|
9061
|
+
|
|
9062
|
+
export interface GetMenuV4BrandVerifyPublishPath {
|
|
9063
|
+
id: string;
|
|
9064
|
+
}
|
|
9065
|
+
|
|
9066
|
+
export interface GetMenuV4BrandVerifyPublishResponse {
|
|
9067
|
+
warnings?: BrandV4WarningDTO[];
|
|
9068
|
+
}
|
|
9069
|
+
|
|
9070
|
+
export interface GetMenuV4BrandVerifyPublishRequest
|
|
9071
|
+
extends BaseRequest,
|
|
9072
|
+
GetMenuV4BrandVerifyPublishPath {}
|
|
9073
|
+
|
|
9045
9074
|
// POST /menu/v4/brand/{id}/publish
|
|
9046
9075
|
|
|
9047
9076
|
export interface PostMenuV4BrandPublishPath {
|