@compassdigital/sdk.typescript 4.576.0 → 4.578.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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@compassdigital/sdk.typescript",
3
- "version": "4.576.0",
3
+ "version": "4.578.0",
4
4
  "description": "Compass Digital Labs TypeScript SDK",
5
5
  "type": "commonjs",
6
6
  "main": "./lib/index.js",
package/src/index.ts CHANGED
@@ -926,6 +926,7 @@ import {
926
926
  PatchMenuV4BrandBody,
927
927
  PatchMenuV4BrandResponse,
928
928
  DeleteMenuV4BrandResponse,
929
+ GetMenuV4BrandStatusesResponse,
929
930
  PostMenuV4BrandAttachmentQuery,
930
931
  PostMenuV4BrandAttachmentResponse,
931
932
  PostMenuV4BrandMenuBody,
@@ -10759,6 +10760,26 @@ export class ServiceClient extends BaseServiceClient {
10759
10760
  );
10760
10761
  }
10761
10762
 
10763
+ /**
10764
+ * GET /menu/v4/brand/{id}/statuses
10765
+ *
10766
+ * @param id
10767
+ * @param options - additional request options
10768
+ */
10769
+ get_menu_v4_brand_statuses(
10770
+ id: string,
10771
+ options?: RequestOptions,
10772
+ ): ResponsePromise<GetMenuV4BrandStatusesResponse> {
10773
+ return this.request(
10774
+ 'menu',
10775
+ '/menu/v4/brand/{id}/statuses',
10776
+ 'GET',
10777
+ `/menu/v4/brand/${id}/statuses`,
10778
+ null,
10779
+ options,
10780
+ );
10781
+ }
10782
+
10762
10783
  /**
10763
10784
  * POST /menu/v4/brand/{id}/attachment/{name}
10764
10785
  *
@@ -3716,8 +3716,6 @@ export interface GetConsumerLocationGroupQuery {
3716
3716
  non_scan_go?: boolean;
3717
3717
  // Include estimated wait time
3718
3718
  include_estimated_wait_time?: boolean;
3719
- // Graphql query
3720
- _query?: string;
3721
3719
  // Latitude of the user
3722
3720
  nocache?: boolean;
3723
3721
  }
@@ -2019,6 +2019,21 @@ export interface PutUniversalItemEntity {
2019
2019
  price?: number;
2020
2020
  }
2021
2021
 
2022
+ export interface BrandStatusEntityDTO {
2023
+ brand_id: string;
2024
+ type: string;
2025
+ status: string;
2026
+ metadata?: Record<string, any>;
2027
+ id: string;
2028
+ created_at?: string;
2029
+ updated_at?: string;
2030
+ deleted_at?: string;
2031
+ version?: number;
2032
+ brand?: DraftBrandDTO;
2033
+ permissions?: Record<string, any>;
2034
+ [index: string]: any;
2035
+ }
2036
+
2022
2037
  export interface DraftModifierGroupEntityDTO {
2023
2038
  parent?: DraftModifierGroupDTO;
2024
2039
  children?: DraftModifierGroupDTO[];
@@ -8331,6 +8346,18 @@ export interface DeleteMenuV4BrandResponse {
8331
8346
 
8332
8347
  export interface DeleteMenuV4BrandRequest extends BaseRequest, DeleteMenuV4BrandPath {}
8333
8348
 
8349
+ // GET /menu/v4/brand/{id}/statuses
8350
+
8351
+ export interface GetMenuV4BrandStatusesPath {
8352
+ id: string;
8353
+ }
8354
+
8355
+ export interface GetMenuV4BrandStatusesResponse {
8356
+ results?: BrandStatusEntityDTO[];
8357
+ }
8358
+
8359
+ export interface GetMenuV4BrandStatusesRequest extends BaseRequest, GetMenuV4BrandStatusesPath {}
8360
+
8334
8361
  // POST /menu/v4/brand/{id}/attachment/{name}
8335
8362
 
8336
8363
  export interface PostMenuV4BrandAttachmentPath {