@compassdigital/sdk.typescript 4.473.0 → 4.474.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.
@@ -1835,6 +1835,10 @@ export interface SwappedCategoryDTO {
1835
1835
  category_id?: string;
1836
1836
  sequence?: number;
1837
1837
  }
1838
+ export interface CatalogBackupVersionDTO {
1839
+ version_id?: string;
1840
+ last_modified?: string;
1841
+ }
1838
1842
  export interface FetchMetaDTO {
1839
1843
  result_count?: number;
1840
1844
  }
@@ -6540,6 +6544,68 @@ export interface PostMenuV4BrandSwapCategoryItemsResponse {
6540
6544
  export interface PostMenuV4BrandSwapCategoryItemsRequest extends BaseRequest, PostMenuV4BrandSwapCategoryItemsPath {
6541
6545
  body: PostMenuV4BrandSwapCategoryItemsBody;
6542
6546
  }
6547
+ export interface GetMenuV4BrandCatalogBackupVersionsPath {
6548
+ id: string;
6549
+ }
6550
+ export interface GetMenuV4BrandCatalogBackupVersionsResponse {
6551
+ versions?: CatalogBackupVersionDTO[];
6552
+ }
6553
+ export interface GetMenuV4BrandCatalogBackupVersionsRequest extends BaseRequest, GetMenuV4BrandCatalogBackupVersionsPath {
6554
+ }
6555
+ export interface PostMenuV4BrandCatalogBackupRestorePath {
6556
+ id: string;
6557
+ }
6558
+ export interface PostMenuV4BrandCatalogBackupRestoreBody {
6559
+ version_id: string;
6560
+ [index: string]: any;
6561
+ }
6562
+ export interface PostMenuV4BrandCatalogBackupRestoreResponse {
6563
+ parent?: DraftBrandDTO;
6564
+ children?: DraftBrandDTO[];
6565
+ menus?: DraftMenuDTO[];
6566
+ categories?: DraftCategoryDTO[];
6567
+ category_to_item_relationships?: DraftCategoryToItemRelationshipDTO[];
6568
+ items?: DraftItemDTO[];
6569
+ item_to_modifier_group_relationships?: DraftItemToModifierGroupRelationshipDTO[];
6570
+ modifier_groups?: DraftModifierGroupDTO[];
6571
+ modifier_group_to_modifier_relationships?: DraftModifierGroupToModifierRelationshipDTO[];
6572
+ modifiers?: DraftModifierDTO[];
6573
+ statuses?: BrandStatusDTO[];
6574
+ audit_logs?: AuditDTO[];
6575
+ catalog_id?: number;
6576
+ published_catalog_id?: number;
6577
+ stocks?: StockDTO[];
6578
+ id: string;
6579
+ created_at?: string;
6580
+ updated_at?: string;
6581
+ deleted_at?: string;
6582
+ name: string;
6583
+ description?: string;
6584
+ is_active?: boolean;
6585
+ type?: 'global' | 'local';
6586
+ parent_id?: string;
6587
+ local_menu_group_id?: string;
6588
+ global_menu_group_id?: string;
6589
+ posid_segment?: string;
6590
+ auto_push_to_local?: boolean;
6591
+ frictionless_partner?: string;
6592
+ meta?: BrandMeta;
6593
+ supported_languages?: SupportedLanguages;
6594
+ archived_at?: string;
6595
+ applied_diff_snapshot?: Record<string, any>;
6596
+ version?: number;
6597
+ changes?: BrandChangeDTO[];
6598
+ local_menu_group?: LocalMenuGroupDTO;
6599
+ global_menu_group?: GlobalMenuGroupDTO;
6600
+ vendor_metadata?: VendorMetadataDTO[];
6601
+ menu_category_items?: MenuCategoryItemsDTO[];
6602
+ attachments?: FileAttachmentsDTO;
6603
+ permissions?: Record<string, any>;
6604
+ [index: string]: any;
6605
+ }
6606
+ export interface PostMenuV4BrandCatalogBackupRestoreRequest extends BaseRequest, PostMenuV4BrandCatalogBackupRestorePath {
6607
+ body: PostMenuV4BrandCatalogBackupRestoreBody;
6608
+ }
6543
6609
  export interface PostMenuV4BrandPublishPath {
6544
6610
  id: string;
6545
6611
  }