@compassdigital/sdk.typescript 4.88.0 → 4.89.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.
@@ -134,10 +134,10 @@ export interface Item {
134
134
  recipe?: {
135
135
  mrn?: string;
136
136
  unit_id?: string;
137
- portion_quantity?: number;
137
+ portion_quantity?: string;
138
138
  portion_unit_name?: string;
139
- grams?: number;
140
- cost?: number;
139
+ grams?: string;
140
+ cost?: string;
141
141
  ingredients?: string[];
142
142
  smart_tags?: string[];
143
143
  allergen_tags?: string[];
@@ -261,10 +261,10 @@ export interface Option {
261
261
  recipe?: {
262
262
  mrn?: string;
263
263
  unit_id?: string;
264
- portion_quantity?: number;
264
+ portion_quantity?: string;
265
265
  portion_unit_name?: string;
266
- grams?: number;
267
- cost?: number;
266
+ grams?: string;
267
+ cost?: string;
268
268
  ingredients?: string[];
269
269
  smart_tags?: string[];
270
270
  allergen_tags?: string[];
@@ -372,7 +372,6 @@ export interface DraftBrandDTO {
372
372
  posid_segment?: string;
373
373
  is_simplified_view?: boolean;
374
374
  frictionless_partner?: string;
375
- catalog_id?: number;
376
375
  applied_diff_snapshot?: Record<string, any>;
377
376
  permissions?: Record<string, any>;
378
377
  [index: string]: any;
@@ -389,7 +388,6 @@ export interface PublishedBrandDTO {
389
388
  posid_segment?: string;
390
389
  is_simplified_view?: boolean;
391
390
  frictionless_partner?: string;
392
- catalog_id?: number;
393
391
  permissions?: Record<string, any>;
394
392
  [index: string]: any;
395
393
  }
@@ -2113,7 +2111,6 @@ export interface PostMenuV3DraftBrandBody {
2113
2111
  posid_segment?: string;
2114
2112
  is_simplified_view?: boolean;
2115
2113
  frictionless_partner?: string;
2116
- catalog_id?: number;
2117
2114
  applied_diff_snapshot?: Record<string, any>;
2118
2115
  changes?: BrandChangeDTO[];
2119
2116
  local_menu_group?: LocalMenuGroupDTO;
@@ -2165,7 +2162,6 @@ export interface PatchMenuV3DraftBrandBody {
2165
2162
  posid_segment?: string;
2166
2163
  is_simplified_view?: boolean;
2167
2164
  frictionless_partner?: string;
2168
- catalog_id?: number;
2169
2165
  applied_diff_snapshot?: Record<string, any>;
2170
2166
  version?: number;
2171
2167
  changes?: BrandChangeDTO[];
@@ -2230,7 +2226,6 @@ export type PostMenuV3DraftBrandsBody = {
2230
2226
  posid_segment?: string;
2231
2227
  is_simplified_view?: boolean;
2232
2228
  frictionless_partner?: string;
2233
- catalog_id?: number;
2234
2229
  applied_diff_snapshot?: Record<string, any>;
2235
2230
  changes?: BrandChangeDTO[];
2236
2231
  local_menu_group?: LocalMenuGroupDTO;
@@ -2501,7 +2496,6 @@ export interface PostMenuV3BrandBody {
2501
2496
  posid_segment?: string;
2502
2497
  is_simplified_view?: boolean;
2503
2498
  frictionless_partner?: string;
2504
- catalog_id?: number;
2505
2499
  local_menu_group?: LocalMenuGroupDTO;
2506
2500
  global_menu_group?: GlobalMenuGroupDTO;
2507
2501
  attachments?: FileAttachmentsDTO;
@@ -2552,7 +2546,6 @@ export interface PatchMenuV3BrandBody {
2552
2546
  posid_segment?: string;
2553
2547
  is_simplified_view?: boolean;
2554
2548
  frictionless_partner?: string;
2555
- catalog_id?: number;
2556
2549
  version?: number;
2557
2550
  local_menu_group?: LocalMenuGroupDTO;
2558
2551
  global_menu_group?: GlobalMenuGroupDTO;
@@ -2617,7 +2610,6 @@ export type PostMenuV3BrandsBody = {
2617
2610
  posid_segment?: string;
2618
2611
  is_simplified_view?: boolean;
2619
2612
  frictionless_partner?: string;
2620
- catalog_id?: number;
2621
2613
  local_menu_group?: LocalMenuGroupDTO;
2622
2614
  global_menu_group?: GlobalMenuGroupDTO;
2623
2615
  attachments?: FileAttachmentsDTO;
@@ -3121,45 +3113,6 @@ export interface PostMenuV3DraftCategoryAttachmentResponse {
3121
3113
  }
3122
3114
  export interface PostMenuV3DraftCategoryAttachmentRequest extends BaseRequest, RequestQuery<PostMenuV3DraftCategoryAttachmentQuery>, PostMenuV3DraftCategoryAttachmentPath {
3123
3115
  }
3124
- export interface PostMenuV3DraftCategoryDuplicatePath {
3125
- id: string;
3126
- }
3127
- export interface PostMenuV3DraftCategoryDuplicateBody {
3128
- name?: string;
3129
- label?: string;
3130
- sequence?: number;
3131
- is_active?: boolean;
3132
- menu_id?: string;
3133
- [index: string]: any;
3134
- }
3135
- export interface PostMenuV3DraftCategoryDuplicateResponse {
3136
- parent?: DraftCategoryDTO;
3137
- children?: DraftCategoryDTO[];
3138
- id: string;
3139
- created_at?: string;
3140
- updated_at?: string;
3141
- deleted_at?: string;
3142
- parent_id?: string;
3143
- name: string;
3144
- label?: string;
3145
- sequence?: number;
3146
- is_active?: boolean;
3147
- brand_id: string;
3148
- menu_id: string;
3149
- applied_diff_snapshot?: Record<string, any>;
3150
- version?: number;
3151
- menu?: DraftMenuDTO;
3152
- items?: DraftCategoryToItemRelationshipDTO[];
3153
- brand?: DraftBrandDTO;
3154
- changes?: CategoryChangeDTO[];
3155
- vendor_metadata?: VendorMetadataDTO[];
3156
- attachments?: FileAttachmentsDTO;
3157
- permissions?: Record<string, any>;
3158
- [index: string]: any;
3159
- }
3160
- export interface PostMenuV3DraftCategoryDuplicateRequest extends BaseRequest, PostMenuV3DraftCategoryDuplicatePath {
3161
- body: PostMenuV3DraftCategoryDuplicateBody;
3162
- }
3163
3116
  export interface GetMenuV3CategoryPath {
3164
3117
  id: string;
3165
3118
  }
@@ -4801,37 +4754,7 @@ export interface PostMenuV3TriggerUpdateResponse {
4801
4754
  export interface PostMenuV3TriggerUpdateRequest extends BaseRequest {
4802
4755
  }
4803
4756
  export interface PostMenuV4BrandBody {
4804
- parent?: DraftBrandDTO;
4805
- children?: DraftBrandDTO[];
4806
- menus?: DraftMenuDTO[];
4807
- categories?: DraftCategoryDTO[];
4808
- category_to_item_relationships?: DraftCategoryToItemRelationshipDTO[];
4809
- items?: DraftItemDTO[];
4810
- item_to_modifier_group_relationships?: DraftItemToModifierGroupRelationshipDTO[];
4811
- modifier_groups?: DraftModifierGroupDTO[];
4812
- modifier_group_to_modifier_relationships?: DraftModifierGroupToModifierRelationshipDTO[];
4813
- modifiers?: DraftModifierDTO[];
4814
- statuses?: BrandStatusDTO[];
4815
- audit_logs?: AuditDTO[];
4816
- name: string;
4817
- description?: string;
4818
- is_active?: boolean;
4819
- type?: 'global' | 'local';
4820
- parent_id?: string;
4821
- local_menu_group_id?: string;
4822
- global_menu_group_id?: string;
4823
- posid_segment?: string;
4824
- is_simplified_view?: boolean;
4825
- frictionless_partner?: string;
4826
- catalog_id?: number;
4827
- applied_diff_snapshot?: Record<string, any>;
4828
- changes?: BrandChangeDTO[];
4829
- local_menu_group?: LocalMenuGroupDTO;
4830
- global_menu_group?: GlobalMenuGroupDTO;
4831
- vendor_metadata?: VendorMetadataDTO[];
4832
- attachments?: FileAttachmentsDTO;
4833
- permissions?: Record<string, any>;
4834
- [index: string]: any;
4757
+ name?: string;
4835
4758
  }
4836
4759
  export interface PostMenuV4BrandResponse {
4837
4760
  parent?: DraftBrandDTO;
@@ -4860,7 +4783,6 @@ export interface PostMenuV4BrandResponse {
4860
4783
  posid_segment?: string;
4861
4784
  is_simplified_view?: boolean;
4862
4785
  frictionless_partner?: string;
4863
- catalog_id?: number;
4864
4786
  applied_diff_snapshot?: Record<string, any>;
4865
4787
  version?: number;
4866
4788
  changes?: BrandChangeDTO[];
@@ -4907,7 +4829,6 @@ export interface GetMenuV4BrandResponse {
4907
4829
  posid_segment?: string;
4908
4830
  is_simplified_view?: boolean;
4909
4831
  frictionless_partner?: string;
4910
- catalog_id?: number;
4911
4832
  applied_diff_snapshot?: Record<string, any>;
4912
4833
  version?: number;
4913
4834
  changes?: BrandChangeDTO[];
@@ -4920,73 +4841,4 @@ export interface GetMenuV4BrandResponse {
4920
4841
  }
4921
4842
  export interface GetMenuV4BrandRequest extends BaseRequest, RequestQuery<GetMenuV4BrandQuery>, GetMenuV4BrandPath {
4922
4843
  }
4923
- export interface PostMenuV4BrandMenuPath {
4924
- id: string;
4925
- }
4926
- export interface PostMenuV4BrandMenuBody {
4927
- id?: string;
4928
- categories?: Record<string, any>;
4929
- brand_id?: string;
4930
- name?: string;
4931
- [index: string]: any;
4932
- }
4933
- export interface PostMenuV4BrandMenuResponse {
4934
- id?: string;
4935
- categories?: Record<string, any>;
4936
- brand_id?: string;
4937
- name?: string;
4938
- [index: string]: any;
4939
- }
4940
- export interface PostMenuV4BrandMenuRequest extends BaseRequest, PostMenuV4BrandMenuPath {
4941
- body: PostMenuV4BrandMenuBody;
4942
- }
4943
- export interface GetMenuV4BrandCategoryItemsPath {
4944
- id: string;
4945
- category_id: string;
4946
- }
4947
- export interface GetMenuV4BrandCategoryItemsQuery {
4948
- select?: string[];
4949
- relationships?: string[];
4950
- limit?: number;
4951
- page?: number;
4952
- sort_by?: string;
4953
- sort_order?: 'DESC' | 'ASC';
4954
- soft_deleted?: 'include' | 'exclude' | 'only';
4955
- _query?: string;
4956
- }
4957
- export interface GetMenuV4BrandCategoryItemsResponse {
4958
- results?: DraftItemEntityDTO[];
4959
- }
4960
- export interface GetMenuV4BrandCategoryItemsRequest extends BaseRequest, RequestQuery<GetMenuV4BrandCategoryItemsQuery>, GetMenuV4BrandCategoryItemsPath {
4961
- }
4962
- export interface PostMenuV4BrandCategoryPath {
4963
- id: string;
4964
- }
4965
- export interface PostMenuV4BrandCategoryBody {
4966
- id?: string;
4967
- name: string;
4968
- label?: string;
4969
- sequence?: number;
4970
- is_active?: boolean;
4971
- brand_id: string;
4972
- menu_id: string;
4973
- items?: Record<string, any>;
4974
- attachments?: Record<string, any>;
4975
- [index: string]: any;
4976
- }
4977
- export interface PostMenuV4BrandCategoryResponse {
4978
- id?: string;
4979
- name: string;
4980
- label?: string;
4981
- sequence?: number;
4982
- is_active?: boolean;
4983
- brand_id: string;
4984
- menu_id: string;
4985
- items?: Record<string, any>;
4986
- attachments?: Record<string, any>;
4987
- [index: string]: any;
4988
- }
4989
- export interface PostMenuV4BrandCategoryRequest extends BaseRequest, PostMenuV4BrandCategoryPath {
4990
- body: PostMenuV4BrandCategoryBody;
4991
- }
4992
4844
  //# sourceMappingURL=menu.d.ts.map