@compassdigital/sdk.typescript 4.683.0 → 4.684.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/lib/index.d.ts +9 -1
- package/lib/index.d.ts.map +1 -1
- package/lib/index.js +10 -0
- package/lib/index.js.map +1 -1
- package/lib/interface/menu.d.ts +32 -0
- package/lib/interface/menu.d.ts.map +1 -1
- package/package.json +1 -1
- package/src/index.ts +24 -0
- package/src/interface/menu.ts +41 -0
package/lib/interface/menu.d.ts
CHANGED
|
@@ -642,6 +642,7 @@ export interface DraftMenuDTO {
|
|
|
642
642
|
deleted_at?: string;
|
|
643
643
|
parent_id?: string;
|
|
644
644
|
name?: string;
|
|
645
|
+
sequence?: number;
|
|
645
646
|
brand_id?: string;
|
|
646
647
|
translation?: NameTranslation;
|
|
647
648
|
applied_diff_snapshot?: Record<string, any>;
|
|
@@ -1256,6 +1257,7 @@ export interface PublishedMenuDTO {
|
|
|
1256
1257
|
deleted_at?: string;
|
|
1257
1258
|
parent_id?: string;
|
|
1258
1259
|
name?: string;
|
|
1260
|
+
sequence?: number;
|
|
1259
1261
|
brand_id?: string;
|
|
1260
1262
|
translation?: NameTranslation;
|
|
1261
1263
|
version?: number;
|
|
@@ -1850,6 +1852,11 @@ export interface BrandStatusEntityDTO {
|
|
|
1850
1852
|
permissions?: Record<string, any>;
|
|
1851
1853
|
[index: string]: any;
|
|
1852
1854
|
}
|
|
1855
|
+
export interface ReorderMenuItemDTO {
|
|
1856
|
+
id: string;
|
|
1857
|
+
sequence: number;
|
|
1858
|
+
[index: string]: any;
|
|
1859
|
+
}
|
|
1853
1860
|
export interface DraftModifierGroupEntityDTO {
|
|
1854
1861
|
parent?: DraftModifierGroupDTO;
|
|
1855
1862
|
children?: DraftModifierGroupDTO[];
|
|
@@ -3763,6 +3770,7 @@ export interface PostMenuV3DraftMenuBody {
|
|
|
3763
3770
|
price_level_id?: string;
|
|
3764
3771
|
parent_id?: string;
|
|
3765
3772
|
name: string;
|
|
3773
|
+
sequence?: number;
|
|
3766
3774
|
brand_id: string;
|
|
3767
3775
|
translation?: NameTranslation;
|
|
3768
3776
|
applied_diff_snapshot?: Record<string, any>;
|
|
@@ -3801,6 +3809,7 @@ export interface PatchMenuV3DraftMenuBody {
|
|
|
3801
3809
|
id?: string;
|
|
3802
3810
|
parent_id?: string;
|
|
3803
3811
|
name?: string;
|
|
3812
|
+
sequence?: number;
|
|
3804
3813
|
brand_id?: string;
|
|
3805
3814
|
translation?: NameTranslation;
|
|
3806
3815
|
applied_diff_snapshot?: Record<string, any>;
|
|
@@ -3852,6 +3861,7 @@ export type PostMenuV3DraftMenusBody = {
|
|
|
3852
3861
|
price_level_id?: string;
|
|
3853
3862
|
parent_id?: string;
|
|
3854
3863
|
name: string;
|
|
3864
|
+
sequence?: number;
|
|
3855
3865
|
brand_id: string;
|
|
3856
3866
|
translation?: NameTranslation;
|
|
3857
3867
|
applied_diff_snapshot?: Record<string, any>;
|
|
@@ -3943,6 +3953,7 @@ export interface PostMenuV3DraftMenuDuplicateResponse {
|
|
|
3943
3953
|
deleted_at?: string;
|
|
3944
3954
|
parent_id?: string;
|
|
3945
3955
|
name: string;
|
|
3956
|
+
sequence?: number;
|
|
3946
3957
|
brand_id: string;
|
|
3947
3958
|
translation?: NameTranslation;
|
|
3948
3959
|
applied_diff_snapshot?: Record<string, any>;
|
|
@@ -6330,6 +6341,7 @@ export interface PostMenuV4BrandMenuResponse {
|
|
|
6330
6341
|
deleted_at?: string;
|
|
6331
6342
|
parent_id?: string;
|
|
6332
6343
|
name: string;
|
|
6344
|
+
sequence?: number;
|
|
6333
6345
|
brand_id: string;
|
|
6334
6346
|
translation?: NameTranslation;
|
|
6335
6347
|
applied_diff_snapshot?: Record<string, any>;
|
|
@@ -6384,6 +6396,7 @@ export interface PatchMenuV4BrandMenuResponse {
|
|
|
6384
6396
|
deleted_at?: string;
|
|
6385
6397
|
parent_id?: string;
|
|
6386
6398
|
name: string;
|
|
6399
|
+
sequence?: number;
|
|
6387
6400
|
brand_id: string;
|
|
6388
6401
|
translation?: NameTranslation;
|
|
6389
6402
|
applied_diff_snapshot?: Record<string, any>;
|
|
@@ -6416,6 +6429,7 @@ export interface DeleteMenuV4BrandMenuResponse {
|
|
|
6416
6429
|
deleted_at?: string;
|
|
6417
6430
|
parent_id?: string;
|
|
6418
6431
|
name: string;
|
|
6432
|
+
sequence?: number;
|
|
6419
6433
|
brand_id: string;
|
|
6420
6434
|
translation?: NameTranslation;
|
|
6421
6435
|
applied_diff_snapshot?: Record<string, any>;
|
|
@@ -6430,6 +6444,20 @@ export interface DeleteMenuV4BrandMenuResponse {
|
|
|
6430
6444
|
}
|
|
6431
6445
|
export interface DeleteMenuV4BrandMenuRequest extends BaseRequest, DeleteMenuV4BrandMenuPath {
|
|
6432
6446
|
}
|
|
6447
|
+
export interface PatchMenuV4BrandMenusReorderPath {
|
|
6448
|
+
brand_id: string;
|
|
6449
|
+
}
|
|
6450
|
+
export interface PatchMenuV4BrandMenusReorderBody {
|
|
6451
|
+
menus: ReorderMenuItemDTO[];
|
|
6452
|
+
[index: string]: any;
|
|
6453
|
+
}
|
|
6454
|
+
export interface PatchMenuV4BrandMenusReorderResponse {
|
|
6455
|
+
status: string;
|
|
6456
|
+
[index: string]: any;
|
|
6457
|
+
}
|
|
6458
|
+
export interface PatchMenuV4BrandMenusReorderRequest extends BaseRequest, PatchMenuV4BrandMenusReorderPath {
|
|
6459
|
+
body: PatchMenuV4BrandMenusReorderBody;
|
|
6460
|
+
}
|
|
6433
6461
|
export interface GetMenuV4BrandItemsPath {
|
|
6434
6462
|
id: string;
|
|
6435
6463
|
}
|
|
@@ -6924,6 +6952,7 @@ export interface PostMenuV4BrandMenuDuplicateResponse {
|
|
|
6924
6952
|
deleted_at?: string;
|
|
6925
6953
|
parent_id?: string;
|
|
6926
6954
|
name: string;
|
|
6955
|
+
sequence?: number;
|
|
6927
6956
|
brand_id: string;
|
|
6928
6957
|
translation?: NameTranslation;
|
|
6929
6958
|
applied_diff_snapshot?: Record<string, any>;
|
|
@@ -8555,6 +8584,7 @@ export interface PostMenuV4ScheduleMenuResponse {
|
|
|
8555
8584
|
deleted_at?: string;
|
|
8556
8585
|
parent_id?: string;
|
|
8557
8586
|
name: string;
|
|
8587
|
+
sequence?: number;
|
|
8558
8588
|
brand_id: string;
|
|
8559
8589
|
translation?: NameTranslation;
|
|
8560
8590
|
applied_diff_snapshot?: Record<string, any>;
|
|
@@ -8588,6 +8618,7 @@ export interface PostMenuV4UnscheduleMenuResponse {
|
|
|
8588
8618
|
deleted_at?: string;
|
|
8589
8619
|
parent_id?: string;
|
|
8590
8620
|
name: string;
|
|
8621
|
+
sequence?: number;
|
|
8591
8622
|
brand_id: string;
|
|
8592
8623
|
translation?: NameTranslation;
|
|
8593
8624
|
applied_diff_snapshot?: Record<string, any>;
|
|
@@ -8622,6 +8653,7 @@ export interface GetMenuV4MenuResponse {
|
|
|
8622
8653
|
deleted_at?: string;
|
|
8623
8654
|
parent_id?: string;
|
|
8624
8655
|
name: string;
|
|
8656
|
+
sequence?: number;
|
|
8625
8657
|
brand_id?: string;
|
|
8626
8658
|
translation?: NameTranslation;
|
|
8627
8659
|
applied_diff_snapshot?: Record<string, any>;
|