@compassdigital/sdk.typescript 4.95.0 → 4.97.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 +43 -2
- package/lib/index.d.ts.map +1 -1
- package/lib/index.js +44 -0
- package/lib/index.js.map +1 -1
- package/lib/interface/ai.d.ts +16 -0
- package/lib/interface/ai.d.ts.map +1 -1
- package/lib/interface/announcement.d.ts +5 -5
- package/lib/interface/announcement.d.ts.map +1 -1
- package/lib/interface/centricos.d.ts +12 -0
- package/lib/interface/centricos.d.ts.map +1 -1
- package/lib/interface/menu.d.ts +11 -0
- package/lib/interface/menu.d.ts.map +1 -1
- package/lib/interface/review.d.ts +74 -0
- package/lib/interface/review.d.ts.map +1 -0
- package/lib/interface/review.js +5 -0
- package/lib/interface/review.js.map +1 -0
- package/manifest.json +4 -0
- package/package.json +1 -1
- package/src/index.ts +86 -0
- package/src/interface/ai.ts +24 -0
- package/src/interface/announcement.ts +7 -11
- package/src/interface/centricos.ts +23 -0
- package/src/interface/menu.ts +11 -0
- package/src/interface/review.ts +103 -0
package/lib/interface/menu.d.ts
CHANGED
|
@@ -563,6 +563,7 @@ export interface DraftCategoryToItemRelationshipDTO {
|
|
|
563
563
|
[index: string]: any;
|
|
564
564
|
}
|
|
565
565
|
export interface DraftItemDTO {
|
|
566
|
+
is_published?: boolean;
|
|
566
567
|
parent?: Record<string, any>;
|
|
567
568
|
children?: Record<string, any>[];
|
|
568
569
|
modifier_groups?: DraftItemToModifierGroupRelationshipDTO[];
|
|
@@ -1275,6 +1276,7 @@ export interface LineRouteSuggestion {
|
|
|
1275
1276
|
occurrences?: number;
|
|
1276
1277
|
}
|
|
1277
1278
|
export interface DraftItemEntityDTO {
|
|
1279
|
+
is_published?: boolean;
|
|
1278
1280
|
parent?: DraftItemDTO;
|
|
1279
1281
|
children?: DraftItemDTO[];
|
|
1280
1282
|
modifier_groups?: DraftItemToModifierGroupRelationshipDTO[];
|
|
@@ -3518,6 +3520,7 @@ export type PostMenuV3CategoryRelationshipsItemRecoverResponse = PublishedCatego
|
|
|
3518
3520
|
export interface PostMenuV3CategoryRelationshipsItemRecoverRequest extends BaseRequest, RequestQuery<PostMenuV3CategoryRelationshipsItemRecoverQuery>, PostMenuV3CategoryRelationshipsItemRecoverPath {
|
|
3519
3521
|
}
|
|
3520
3522
|
export interface PostMenuV3DraftItemBody {
|
|
3523
|
+
is_published?: boolean;
|
|
3521
3524
|
parent?: DraftItemDTO;
|
|
3522
3525
|
children?: DraftItemDTO[];
|
|
3523
3526
|
modifier_groups?: DraftItemToModifierGroupRelationshipDTO[];
|
|
@@ -3574,6 +3577,7 @@ export interface PatchMenuV3DraftItemPath {
|
|
|
3574
3577
|
id: string;
|
|
3575
3578
|
}
|
|
3576
3579
|
export interface PatchMenuV3DraftItemBody {
|
|
3580
|
+
is_published?: boolean;
|
|
3577
3581
|
parent?: DraftItemDTO;
|
|
3578
3582
|
children?: DraftItemDTO[];
|
|
3579
3583
|
modifier_groups?: DraftItemToModifierGroupRelationshipDTO[];
|
|
@@ -3657,6 +3661,7 @@ export interface GetMenuV3DraftItemsResponse {
|
|
|
3657
3661
|
export interface GetMenuV3DraftItemsRequest extends BaseRequest, RequestQuery<GetMenuV3DraftItemsQuery> {
|
|
3658
3662
|
}
|
|
3659
3663
|
export type PostMenuV3DraftItemsBody = {
|
|
3664
|
+
is_published?: boolean;
|
|
3660
3665
|
parent?: DraftItemDTO;
|
|
3661
3666
|
children?: DraftItemDTO[];
|
|
3662
3667
|
modifier_groups?: DraftItemToModifierGroupRelationshipDTO[];
|
|
@@ -3732,6 +3737,7 @@ export interface GetMenuV3DraftItemLineRoutesRequest extends BaseRequest, Reques
|
|
|
3732
3737
|
}
|
|
3733
3738
|
export interface PatchMenuV3DraftItemsBulkUpdateBody {
|
|
3734
3739
|
id_list: string[];
|
|
3740
|
+
is_published?: boolean;
|
|
3735
3741
|
parent?: DraftItemDTO;
|
|
3736
3742
|
children?: DraftItemDTO[];
|
|
3737
3743
|
modifier_groups?: DraftItemToModifierGroupRelationshipDTO[];
|
|
@@ -5488,6 +5494,7 @@ export interface DeleteMenuV4BrandCategoryResponse {
|
|
|
5488
5494
|
export interface DeleteMenuV4BrandCategoryRequest extends BaseRequest, DeleteMenuV4BrandCategoryPath {
|
|
5489
5495
|
}
|
|
5490
5496
|
export interface PostMenuV4ItemBody {
|
|
5497
|
+
is_published?: boolean;
|
|
5491
5498
|
parent?: DraftItemDTO;
|
|
5492
5499
|
children?: DraftItemDTO[];
|
|
5493
5500
|
modifier_groups?: DraftItemToModifierGroupRelationshipDTO[];
|
|
@@ -5527,6 +5534,7 @@ export interface PostMenuV4ItemBody {
|
|
|
5527
5534
|
[index: string]: any;
|
|
5528
5535
|
}
|
|
5529
5536
|
export interface PostMenuV4ItemResponse {
|
|
5537
|
+
is_published?: boolean;
|
|
5530
5538
|
parent?: DraftItemDTO;
|
|
5531
5539
|
children?: DraftItemDTO[];
|
|
5532
5540
|
modifier_groups?: DraftItemToModifierGroupRelationshipDTO[];
|
|
@@ -5579,6 +5587,7 @@ export interface GetMenuV4ItemQuery {
|
|
|
5579
5587
|
_query?: string;
|
|
5580
5588
|
}
|
|
5581
5589
|
export interface GetMenuV4ItemResponse {
|
|
5590
|
+
is_published?: boolean;
|
|
5582
5591
|
parent?: DraftItemDTO;
|
|
5583
5592
|
children?: DraftItemDTO[];
|
|
5584
5593
|
modifier_groups?: DraftItemToModifierGroupRelationshipDTO[];
|
|
@@ -5628,6 +5637,7 @@ export interface PatchMenuV4ItemPath {
|
|
|
5628
5637
|
}
|
|
5629
5638
|
export interface PatchMenuV4ItemBody {
|
|
5630
5639
|
base_item_id?: string;
|
|
5640
|
+
is_published?: boolean;
|
|
5631
5641
|
parent?: DraftItemDTO;
|
|
5632
5642
|
children?: DraftItemDTO[];
|
|
5633
5643
|
modifier_groups?: DraftItemToModifierGroupRelationshipDTO[];
|
|
@@ -5666,6 +5676,7 @@ export interface PatchMenuV4ItemBody {
|
|
|
5666
5676
|
[index: string]: any;
|
|
5667
5677
|
}
|
|
5668
5678
|
export interface PatchMenuV4ItemResponse {
|
|
5679
|
+
is_published?: boolean;
|
|
5669
5680
|
parent?: DraftItemDTO;
|
|
5670
5681
|
children?: DraftItemDTO[];
|
|
5671
5682
|
modifier_groups?: DraftItemToModifierGroupRelationshipDTO[];
|