@compassdigital/sdk.typescript 4.751.0 → 4.752.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 +8 -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 +14 -0
package/package.json
CHANGED
package/src/index.ts
CHANGED
|
@@ -961,6 +961,7 @@ import {
|
|
|
961
961
|
DeleteMenuV4BrandMenuResponse,
|
|
962
962
|
PatchMenuV4BrandMenusReorderBody,
|
|
963
963
|
PatchMenuV4BrandMenusReorderResponse,
|
|
964
|
+
GetMenuV4BrandGenerateBarcodeResponse,
|
|
964
965
|
GetMenuV4BrandItemsQuery,
|
|
965
966
|
GetMenuV4BrandItemsResponse,
|
|
966
967
|
GetMenuV4BrandModifierGroupsQuery,
|
|
@@ -11366,6 +11367,26 @@ export class ServiceClient extends BaseServiceClient {
|
|
|
11366
11367
|
);
|
|
11367
11368
|
}
|
|
11368
11369
|
|
|
11370
|
+
/**
|
|
11371
|
+
* GET /menu/v4/brand/{id}/generate-barcode
|
|
11372
|
+
*
|
|
11373
|
+
* @param id
|
|
11374
|
+
* @param options - additional request options
|
|
11375
|
+
*/
|
|
11376
|
+
get_menu_v4_brand_generate_barcode(
|
|
11377
|
+
id: string,
|
|
11378
|
+
options?: RequestOptions,
|
|
11379
|
+
): ResponsePromise<GetMenuV4BrandGenerateBarcodeResponse> {
|
|
11380
|
+
return this.request(
|
|
11381
|
+
'menu',
|
|
11382
|
+
'/menu/v4/brand/{id}/generate-barcode',
|
|
11383
|
+
'GET',
|
|
11384
|
+
`/menu/v4/brand/${id}/generate-barcode`,
|
|
11385
|
+
null,
|
|
11386
|
+
options,
|
|
11387
|
+
);
|
|
11388
|
+
}
|
|
11389
|
+
|
|
11369
11390
|
/**
|
|
11370
11391
|
* GET /menu/v4/brand/{id}/items
|
|
11371
11392
|
*
|
package/src/interface/menu.ts
CHANGED
|
@@ -8717,6 +8717,20 @@ export interface PatchMenuV4BrandMenusReorderRequest
|
|
|
8717
8717
|
body: PatchMenuV4BrandMenusReorderBody;
|
|
8718
8718
|
}
|
|
8719
8719
|
|
|
8720
|
+
// GET /menu/v4/brand/{id}/generate-barcode
|
|
8721
|
+
|
|
8722
|
+
export interface GetMenuV4BrandGenerateBarcodePath {
|
|
8723
|
+
id: string;
|
|
8724
|
+
}
|
|
8725
|
+
|
|
8726
|
+
export interface GetMenuV4BrandGenerateBarcodeResponse {
|
|
8727
|
+
barcode?: string;
|
|
8728
|
+
}
|
|
8729
|
+
|
|
8730
|
+
export interface GetMenuV4BrandGenerateBarcodeRequest
|
|
8731
|
+
extends BaseRequest,
|
|
8732
|
+
GetMenuV4BrandGenerateBarcodePath {}
|
|
8733
|
+
|
|
8720
8734
|
// GET /menu/v4/brand/{id}/items
|
|
8721
8735
|
|
|
8722
8736
|
export interface GetMenuV4BrandItemsPath {
|