@compassdigital/sdk.typescript 4.275.0 → 4.277.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.275.0",
3
+ "version": "4.277.0",
4
4
  "description": "Compass Digital Labs TypeScript SDK",
5
5
  "type": "commonjs",
6
6
  "main": "./lib/index.js",
@@ -499,6 +499,7 @@ export interface DraftBrandDTO {
499
499
  frictionless_partner?: string;
500
500
  meta?: BrandMeta;
501
501
  supported_languages?: SupportedLanguages;
502
+ archived_at?: string;
502
503
  applied_diff_snapshot?: Record<string, any>;
503
504
  version?: number;
504
505
  permissions?: Record<string, any>;
@@ -533,6 +534,7 @@ export interface PublishedBrandDTO {
533
534
  frictionless_partner?: string;
534
535
  meta?: Record<string, any>;
535
536
  supported_languages?: Record<string, any>;
537
+ archived_at?: string;
536
538
  version?: number;
537
539
  permissions?: Record<string, any>;
538
540
  [index: string]: any;
@@ -1946,6 +1948,48 @@ export interface PartialItemDTO {
1946
1948
  [index: string]: any;
1947
1949
  }
1948
1950
 
1951
+ export interface PartialModifierDTO {
1952
+ parent?: DraftModifierDTO;
1953
+ children?: DraftModifierDTO[];
1954
+ modifier_groups?: DraftModifierGroupToModifierRelationshipDTO[];
1955
+ parent_id?: string;
1956
+ name?: string;
1957
+ name_on_receipt?: string;
1958
+ name_on_kds?: string;
1959
+ name_on_pos?: string;
1960
+ label?: string;
1961
+ description?: string;
1962
+ price?: number;
1963
+ calories?: number;
1964
+ tax_tags?: string[];
1965
+ is_active?: boolean;
1966
+ posid?: string;
1967
+ reporting?: ReportingMetadataDTO;
1968
+ posid_segment?: number;
1969
+ brand_id?: string;
1970
+ line_route?: string;
1971
+ menu_works?: MenuWorksDTO;
1972
+ is_out_of_stock?: boolean;
1973
+ price_for_none?: number;
1974
+ price_for_less?: number;
1975
+ price_for_more?: number;
1976
+ pre_surcharge?: number;
1977
+ post_surcharge?: number;
1978
+ tax_tag_code?: string;
1979
+ tags?: string[];
1980
+ unique_id?: number;
1981
+ price_levels?: Record<string, any>;
1982
+ translation?: Record<string, any>;
1983
+ applied_diff_snapshot?: Record<string, any>;
1984
+ brand?: DraftBrandDTO;
1985
+ changes?: ModifierChangeDTO[];
1986
+ vendor_metadata?: VendorMetadataDTO[];
1987
+ weight?: WeightDTO;
1988
+ attachments?: FileAttachmentsDTO;
1989
+ permissions?: Record<string, any>;
1990
+ [index: string]: any;
1991
+ }
1992
+
1949
1993
  export interface HealthDependencyDTO {
1950
1994
  name: string;
1951
1995
  status: string;
@@ -3293,6 +3337,7 @@ export interface PostMenuV3DraftBrandBody {
3293
3337
  frictionless_partner?: string;
3294
3338
  meta?: BrandMeta;
3295
3339
  supported_languages?: SupportedLanguages;
3340
+ archived_at?: string;
3296
3341
  applied_diff_snapshot?: Record<string, any>;
3297
3342
  changes?: BrandChangeDTO[];
3298
3343
  local_menu_group?: LocalMenuGroupDTO;
@@ -3366,6 +3411,7 @@ export interface PatchMenuV3DraftBrandBody {
3366
3411
  frictionless_partner?: string;
3367
3412
  meta?: BrandMeta;
3368
3413
  supported_languages?: SupportedLanguages;
3414
+ archived_at?: string;
3369
3415
  applied_diff_snapshot?: Record<string, any>;
3370
3416
  version?: number;
3371
3417
  changes?: BrandChangeDTO[];
@@ -3461,6 +3507,7 @@ export type PostMenuV3DraftBrandsBody = {
3461
3507
  frictionless_partner?: string;
3462
3508
  meta?: BrandMeta;
3463
3509
  supported_languages?: SupportedLanguages;
3510
+ archived_at?: string;
3464
3511
  applied_diff_snapshot?: Record<string, any>;
3465
3512
  changes?: BrandChangeDTO[];
3466
3513
  local_menu_group?: LocalMenuGroupDTO;
@@ -4011,6 +4058,7 @@ export interface PostMenuV3BrandBody {
4011
4058
  frictionless_partner?: string;
4012
4059
  meta?: BrandMeta;
4013
4060
  supported_languages?: SupportedLanguages;
4061
+ archived_at?: string;
4014
4062
  local_menu_group?: LocalMenuGroupDTO;
4015
4063
  global_menu_group?: GlobalMenuGroupDTO;
4016
4064
  attachments?: FileAttachmentsDTO;
@@ -4082,6 +4130,7 @@ export interface PatchMenuV3BrandBody {
4082
4130
  frictionless_partner?: string;
4083
4131
  meta?: BrandMeta;
4084
4132
  supported_languages?: SupportedLanguages;
4133
+ archived_at?: string;
4085
4134
  version?: number;
4086
4135
  local_menu_group?: LocalMenuGroupDTO;
4087
4136
  global_menu_group?: GlobalMenuGroupDTO;
@@ -4177,6 +4226,7 @@ export type PostMenuV3BrandsBody = {
4177
4226
  frictionless_partner?: string;
4178
4227
  meta?: BrandMeta;
4179
4228
  supported_languages?: SupportedLanguages;
4229
+ archived_at?: string;
4180
4230
  local_menu_group?: LocalMenuGroupDTO;
4181
4231
  global_menu_group?: GlobalMenuGroupDTO;
4182
4232
  attachments?: FileAttachmentsDTO;
@@ -7660,6 +7710,7 @@ export interface PostMenuV4BrandBody {
7660
7710
  frictionless_partner?: string;
7661
7711
  meta?: BrandMeta;
7662
7712
  supported_languages?: SupportedLanguages;
7713
+ archived_at?: string;
7663
7714
  applied_diff_snapshot?: Record<string, any>;
7664
7715
  changes?: BrandChangeDTO[];
7665
7716
  local_menu_group?: LocalMenuGroupDTO;
@@ -7702,6 +7753,7 @@ export interface PostMenuV4BrandResponse {
7702
7753
  frictionless_partner?: string;
7703
7754
  meta?: BrandMeta;
7704
7755
  supported_languages?: SupportedLanguages;
7756
+ archived_at?: string;
7705
7757
  applied_diff_snapshot?: Record<string, any>;
7706
7758
  version?: number;
7707
7759
  changes?: BrandChangeDTO[];
@@ -7762,6 +7814,7 @@ export interface GetMenuV4BrandResponse {
7762
7814
  frictionless_partner?: string;
7763
7815
  meta?: BrandMeta;
7764
7816
  supported_languages?: SupportedLanguages;
7817
+ archived_at?: string;
7765
7818
  applied_diff_snapshot?: Record<string, any>;
7766
7819
  version?: number;
7767
7820
  changes?: BrandChangeDTO[];
@@ -7812,6 +7865,7 @@ export interface PatchMenuV4BrandBody {
7812
7865
  frictionless_partner?: string;
7813
7866
  meta?: BrandMeta;
7814
7867
  supported_languages?: SupportedLanguages;
7868
+ archived_at?: string;
7815
7869
  applied_diff_snapshot?: Record<string, any>;
7816
7870
  changes?: BrandChangeDTO[];
7817
7871
  local_menu_group?: LocalMenuGroupDTO;
@@ -7854,6 +7908,7 @@ export interface PatchMenuV4BrandResponse {
7854
7908
  frictionless_partner?: string;
7855
7909
  meta?: BrandMeta;
7856
7910
  supported_languages?: SupportedLanguages;
7911
+ archived_at?: string;
7857
7912
  applied_diff_snapshot?: Record<string, any>;
7858
7913
  version?: number;
7859
7914
  changes?: BrandChangeDTO[];
@@ -7907,6 +7962,7 @@ export interface DeleteMenuV4BrandResponse {
7907
7962
  frictionless_partner?: string;
7908
7963
  meta?: BrandMeta;
7909
7964
  supported_languages?: SupportedLanguages;
7965
+ archived_at?: string;
7910
7966
  applied_diff_snapshot?: Record<string, any>;
7911
7967
  version?: number;
7912
7968
  changes?: BrandChangeDTO[];
@@ -9603,44 +9659,8 @@ export interface PostMenuV4ModifierDuplicatePath {
9603
9659
  }
9604
9660
 
9605
9661
  export interface PostMenuV4ModifierDuplicateBody {
9606
- parent?: DraftModifierDTO;
9607
- children?: DraftModifierDTO[];
9608
- modifier_groups?: DraftModifierGroupToModifierRelationshipDTO[];
9609
- parent_id?: string;
9610
- name?: string;
9611
- name_on_receipt?: string;
9612
- name_on_kds?: string;
9613
- name_on_pos?: string;
9614
- label?: string;
9615
- description?: string;
9616
- price?: number;
9617
- calories?: number;
9618
- tax_tags?: string[];
9619
- is_active?: boolean;
9620
- posid?: string;
9621
- reporting?: ReportingMetadataDTO;
9622
- posid_segment?: number;
9623
- brand_id?: string;
9624
- line_route?: string;
9625
- menu_works?: MenuWorksDTO;
9626
- is_out_of_stock?: boolean;
9627
- price_for_none?: number;
9628
- price_for_less?: number;
9629
- price_for_more?: number;
9630
- pre_surcharge?: number;
9631
- post_surcharge?: number;
9632
- tax_tag_code?: string;
9633
- tags?: string[];
9634
- unique_id?: number;
9635
- price_levels?: Record<string, any>;
9636
- translation?: Record<string, any>;
9637
- applied_diff_snapshot?: Record<string, any>;
9638
- brand?: DraftBrandDTO;
9639
- changes?: ModifierChangeDTO[];
9640
- vendor_metadata?: VendorMetadataDTO[];
9641
- weight?: WeightDTO;
9642
- attachments?: FileAttachmentsDTO;
9643
- permissions?: Record<string, any>;
9662
+ modifier_group_ids?: string[];
9663
+ modifier?: PartialModifierDTO;
9644
9664
  [index: string]: any;
9645
9665
  }
9646
9666