@compassdigital/sdk.typescript 4.117.0 → 4.119.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.
@@ -5774,19 +5774,6 @@ export interface PostMenuV4BrandMenuDuplicateResponse {
5774
5774
  export interface PostMenuV4BrandMenuDuplicateRequest extends BaseRequest, PostMenuV4BrandMenuDuplicatePath {
5775
5775
  body: PostMenuV4BrandMenuDuplicateBody;
5776
5776
  }
5777
- export interface PostMenuV4CategoryAttachmentPath {
5778
- id: string;
5779
- name: 'thumbnail';
5780
- }
5781
- export interface PostMenuV4CategoryAttachmentQuery {
5782
- 'body.data'?: string;
5783
- 'body.brand_id'?: string;
5784
- }
5785
- export interface PostMenuV4CategoryAttachmentResponse {
5786
- status?: string;
5787
- }
5788
- export interface PostMenuV4CategoryAttachmentRequest extends BaseRequest, RequestQuery<PostMenuV4CategoryAttachmentQuery>, PostMenuV4CategoryAttachmentPath {
5789
- }
5790
5777
  export interface PostMenuV4ItemAttachmentPath {
5791
5778
  id: string;
5792
5779
  name: 'thumbnail';
@@ -6301,6 +6288,37 @@ export interface PostMenuV4ItemDuplicateResponse {
6301
6288
  export interface PostMenuV4ItemDuplicateRequest extends BaseRequest, PostMenuV4ItemDuplicatePath {
6302
6289
  body: PostMenuV4ItemDuplicateBody;
6303
6290
  }
6291
+ export interface DeleteMenuV4ItemModifierGroupsDetachPath {
6292
+ id: string;
6293
+ }
6294
+ export type DeleteMenuV4ItemModifierGroupsDetachBody = {
6295
+ parent?: DraftItemToModifierGroupRelationshipDTO;
6296
+ children?: DraftItemToModifierGroupRelationshipDTO[];
6297
+ id: string;
6298
+ created_at?: string;
6299
+ updated_at?: string;
6300
+ deleted_at?: string;
6301
+ parent_id?: string;
6302
+ modifier_group_id: string;
6303
+ item_id: string;
6304
+ brand_id: string;
6305
+ sequence?: number;
6306
+ applied_diff_snapshot?: Record<string, any>;
6307
+ version?: number;
6308
+ item?: DraftItemDTO;
6309
+ modifier_group?: DraftModifierGroupDTO;
6310
+ brand?: DraftBrandDTO;
6311
+ changes?: ItemToModifierGroupRelationshipChangeDTO[];
6312
+ vendor_metadata?: VendorMetadataDTO[];
6313
+ permissions?: Record<string, any>;
6314
+ [index: string]: any;
6315
+ }[];
6316
+ export interface DeleteMenuV4ItemModifierGroupsDetachResponse {
6317
+ status?: string;
6318
+ }
6319
+ export interface DeleteMenuV4ItemModifierGroupsDetachRequest extends BaseRequest, DeleteMenuV4ItemModifierGroupsDetachPath {
6320
+ body: DeleteMenuV4ItemModifierGroupsDetachBody;
6321
+ }
6304
6322
  export interface PostMenuV4ModifierBody {
6305
6323
  base_item_id?: string;
6306
6324
  parent?: DraftModifierDTO;
@@ -7000,6 +7018,37 @@ export interface PostMenuV4ModifierGroupDuplicateResponse {
7000
7018
  export interface PostMenuV4ModifierGroupDuplicateRequest extends BaseRequest, RequestQuery<PostMenuV4ModifierGroupDuplicateQuery>, PostMenuV4ModifierGroupDuplicatePath {
7001
7019
  body: PostMenuV4ModifierGroupDuplicateBody;
7002
7020
  }
7021
+ export interface DeleteMenuV4ModifierGroupModifiersDetachPath {
7022
+ id: string;
7023
+ }
7024
+ export type DeleteMenuV4ModifierGroupModifiersDetachBody = {
7025
+ parent?: DraftModifierGroupToModifierRelationshipDTO;
7026
+ children?: DraftModifierGroupToModifierRelationshipDTO[];
7027
+ id: string;
7028
+ created_at?: string;
7029
+ updated_at?: string;
7030
+ deleted_at?: string;
7031
+ parent_id?: string;
7032
+ modifier_id: string;
7033
+ modifier_group_id: string;
7034
+ brand_id: string;
7035
+ sequence?: number;
7036
+ applied_diff_snapshot?: Record<string, any>;
7037
+ version?: number;
7038
+ modifier?: DraftModifierDTO;
7039
+ modifier_group?: DraftModifierGroupDTO;
7040
+ brand?: DraftBrandDTO;
7041
+ changes?: ModifierGroupToModifierRelationshipChangeDTO[];
7042
+ vendor_metadata?: VendorMetadataDTO[];
7043
+ permissions?: Record<string, any>;
7044
+ [index: string]: any;
7045
+ }[];
7046
+ export interface DeleteMenuV4ModifierGroupModifiersDetachResponse {
7047
+ status?: string;
7048
+ }
7049
+ export interface DeleteMenuV4ModifierGroupModifiersDetachRequest extends BaseRequest, DeleteMenuV4ModifierGroupModifiersDetachPath {
7050
+ body: DeleteMenuV4ModifierGroupModifiersDetachBody;
7051
+ }
7003
7052
  export interface PatchMenuV4StockBusinessUnitBody {
7004
7053
  draft_is_in_stock: boolean;
7005
7054
  business_unit_id: string;
@@ -7172,4 +7221,48 @@ export interface PostMenuV4UnscheduleMenuResponse {
7172
7221
  export interface PostMenuV4UnscheduleMenuRequest extends BaseRequest {
7173
7222
  body: PostMenuV4UnscheduleMenuBody;
7174
7223
  }
7224
+ export interface PostMenuV4CategoryAttachmentPath {
7225
+ id: string;
7226
+ name: 'thumbnail';
7227
+ }
7228
+ export interface PostMenuV4CategoryAttachmentQuery {
7229
+ 'body.data'?: string;
7230
+ 'body.brand_id'?: string;
7231
+ }
7232
+ export interface PostMenuV4CategoryAttachmentResponse {
7233
+ status?: string;
7234
+ }
7235
+ export interface PostMenuV4CategoryAttachmentRequest extends BaseRequest, RequestQuery<PostMenuV4CategoryAttachmentQuery>, PostMenuV4CategoryAttachmentPath {
7236
+ }
7237
+ export interface DeleteMenuV4CategoryDetachItemsPath {
7238
+ id: string;
7239
+ }
7240
+ export type DeleteMenuV4CategoryDetachItemsBody = {
7241
+ parent?: DraftCategoryToItemRelationshipDTO;
7242
+ children?: DraftCategoryToItemRelationshipDTO[];
7243
+ id: string;
7244
+ created_at?: string;
7245
+ updated_at?: string;
7246
+ deleted_at?: string;
7247
+ parent_id?: string;
7248
+ item_id: string;
7249
+ category_id: string;
7250
+ brand_id: string;
7251
+ sequence?: number;
7252
+ applied_diff_snapshot?: Record<string, any>;
7253
+ version?: number;
7254
+ category?: DraftCategoryDTO;
7255
+ item?: DraftItemDTO;
7256
+ brand?: DraftBrandDTO;
7257
+ changes?: CategoryToItemRelationshipChangeDTO[];
7258
+ vendor_metadata?: VendorMetadataDTO[];
7259
+ permissions?: Record<string, any>;
7260
+ [index: string]: any;
7261
+ }[];
7262
+ export interface DeleteMenuV4CategoryDetachItemsResponse {
7263
+ status?: string;
7264
+ }
7265
+ export interface DeleteMenuV4CategoryDetachItemsRequest extends BaseRequest, DeleteMenuV4CategoryDetachItemsPath {
7266
+ body: DeleteMenuV4CategoryDetachItemsBody;
7267
+ }
7175
7268
  //# sourceMappingURL=menu.d.ts.map