@compassdigital/sdk.typescript 4.47.0 → 4.49.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/interface/menu.d.ts +16 -16
- package/lib/interface/menu.d.ts.map +1 -1
- package/lib/interface/partner.d.ts +50 -1
- package/lib/interface/partner.d.ts.map +1 -1
- package/lib/interface/shoppingcart.d.ts +5 -0
- package/lib/interface/shoppingcart.d.ts.map +1 -1
- package/package.json +1 -1
- package/src/interface/menu.ts +17 -18
- package/src/interface/partner.ts +50 -2
- package/src/interface/shoppingcart.ts +5 -0
package/lib/interface/menu.d.ts
CHANGED
|
@@ -112,13 +112,6 @@ export interface Item {
|
|
|
112
112
|
type_id?: number;
|
|
113
113
|
type?: string;
|
|
114
114
|
};
|
|
115
|
-
featured?: {
|
|
116
|
-
sort_number?: number;
|
|
117
|
-
dates?: {
|
|
118
|
-
start?: string;
|
|
119
|
-
end?: string;
|
|
120
|
-
};
|
|
121
|
-
};
|
|
122
115
|
sort_number?: number;
|
|
123
116
|
menu_sort_number?: number;
|
|
124
117
|
barcodes?: string[];
|
|
@@ -341,6 +334,7 @@ export interface DraftBrandDTO {
|
|
|
341
334
|
global_menu_group_id?: string;
|
|
342
335
|
posid_segment?: string;
|
|
343
336
|
is_simplified_view?: boolean;
|
|
337
|
+
frictionless_partner?: "AWS";
|
|
344
338
|
applied_diff_snapshot?: Record<string, any>;
|
|
345
339
|
permissions?: Record<string, any>;
|
|
346
340
|
[index: string]: any;
|
|
@@ -356,6 +350,7 @@ export interface PublishedBrandDTO {
|
|
|
356
350
|
global_menu_group_id?: string;
|
|
357
351
|
posid_segment?: string;
|
|
358
352
|
is_simplified_view?: boolean;
|
|
353
|
+
frictionless_partner?: "AWS";
|
|
359
354
|
permissions?: Record<string, any>;
|
|
360
355
|
[index: string]: any;
|
|
361
356
|
}
|
|
@@ -543,6 +538,7 @@ export interface DraftItemDTO {
|
|
|
543
538
|
is_out_of_stock?: boolean;
|
|
544
539
|
tax_tag_code?: string;
|
|
545
540
|
tags?: string[];
|
|
541
|
+
is_featured?: boolean;
|
|
546
542
|
applied_diff_snapshot?: Record<string, any>;
|
|
547
543
|
brand?: DraftBrandDTO;
|
|
548
544
|
categories?: Record<string, any>[];
|
|
@@ -884,6 +880,7 @@ export interface PublishedItemDTO {
|
|
|
884
880
|
is_out_of_stock?: boolean;
|
|
885
881
|
tax_tag_code?: string;
|
|
886
882
|
tags?: string[];
|
|
883
|
+
is_featured?: boolean;
|
|
887
884
|
permissions?: Record<string, any>;
|
|
888
885
|
[index: string]: any;
|
|
889
886
|
}
|
|
@@ -1067,7 +1064,6 @@ export interface V2ItemCertifiedDTO {
|
|
|
1067
1064
|
}
|
|
1068
1065
|
export interface V2ItemMetaDTO {
|
|
1069
1066
|
superplate?: V2ItemMetaSuperplateDTO;
|
|
1070
|
-
featured?: V2ItemMetaFeaturedDTO;
|
|
1071
1067
|
taxes?: Record<string, any>;
|
|
1072
1068
|
sort_number?: number;
|
|
1073
1069
|
menu_sort_number?: V2AmountDTO;
|
|
@@ -1076,14 +1072,6 @@ export interface V2ItemMetaSuperplateDTO {
|
|
|
1076
1072
|
type_id?: number;
|
|
1077
1073
|
type?: string;
|
|
1078
1074
|
}
|
|
1079
|
-
export interface V2ItemMetaFeaturedDTO {
|
|
1080
|
-
sort_number?: number;
|
|
1081
|
-
dates?: V2DatesDTO;
|
|
1082
|
-
}
|
|
1083
|
-
export interface V2DatesDTO {
|
|
1084
|
-
start?: string;
|
|
1085
|
-
end?: string;
|
|
1086
|
-
}
|
|
1087
1075
|
export interface V2AmountDTO {
|
|
1088
1076
|
unit?: number;
|
|
1089
1077
|
amount?: string;
|
|
@@ -1205,6 +1193,7 @@ export interface DraftItemEntityDTO {
|
|
|
1205
1193
|
is_out_of_stock?: boolean;
|
|
1206
1194
|
tax_tag_code?: string;
|
|
1207
1195
|
tags?: string[];
|
|
1196
|
+
is_featured?: boolean;
|
|
1208
1197
|
applied_diff_snapshot?: Record<string, any>;
|
|
1209
1198
|
version?: number;
|
|
1210
1199
|
brand?: DraftBrandDTO;
|
|
@@ -1366,6 +1355,7 @@ export interface GetMenuItemsPath {
|
|
|
1366
1355
|
export interface GetMenuItemsQuery {
|
|
1367
1356
|
query: string;
|
|
1368
1357
|
barcodes: string;
|
|
1358
|
+
brand_id: string;
|
|
1369
1359
|
_query?: string;
|
|
1370
1360
|
}
|
|
1371
1361
|
export type GetMenuItemsResponse = Items;
|
|
@@ -1984,6 +1974,7 @@ export interface PostMenuV3DraftBrandBody {
|
|
|
1984
1974
|
global_menu_group_id?: string;
|
|
1985
1975
|
posid_segment?: string;
|
|
1986
1976
|
is_simplified_view?: boolean;
|
|
1977
|
+
frictionless_partner?: "AWS";
|
|
1987
1978
|
applied_diff_snapshot?: Record<string, any>;
|
|
1988
1979
|
changes?: BrandChangeDTO[];
|
|
1989
1980
|
local_menu_group?: LocalMenuGroupDTO;
|
|
@@ -2033,6 +2024,7 @@ export interface PatchMenuV3DraftBrandBody {
|
|
|
2033
2024
|
global_menu_group_id?: string;
|
|
2034
2025
|
posid_segment?: string;
|
|
2035
2026
|
is_simplified_view?: boolean;
|
|
2027
|
+
frictionless_partner?: "AWS";
|
|
2036
2028
|
applied_diff_snapshot?: Record<string, any>;
|
|
2037
2029
|
version?: number;
|
|
2038
2030
|
changes?: BrandChangeDTO[];
|
|
@@ -2095,6 +2087,7 @@ export type PostMenuV3DraftBrandsBody = {
|
|
|
2095
2087
|
global_menu_group_id?: string;
|
|
2096
2088
|
posid_segment?: string;
|
|
2097
2089
|
is_simplified_view?: boolean;
|
|
2090
|
+
frictionless_partner?: "AWS";
|
|
2098
2091
|
applied_diff_snapshot?: Record<string, any>;
|
|
2099
2092
|
changes?: BrandChangeDTO[];
|
|
2100
2093
|
local_menu_group?: LocalMenuGroupDTO;
|
|
@@ -2334,6 +2327,7 @@ export interface PostMenuV3BrandBody {
|
|
|
2334
2327
|
global_menu_group_id?: string;
|
|
2335
2328
|
posid_segment?: string;
|
|
2336
2329
|
is_simplified_view?: boolean;
|
|
2330
|
+
frictionless_partner?: "AWS";
|
|
2337
2331
|
local_menu_group?: LocalMenuGroupDTO;
|
|
2338
2332
|
global_menu_group?: GlobalMenuGroupDTO;
|
|
2339
2333
|
attachments?: FileAttachmentsDTO;
|
|
@@ -2383,6 +2377,7 @@ export interface PatchMenuV3BrandBody {
|
|
|
2383
2377
|
global_menu_group_id?: string;
|
|
2384
2378
|
posid_segment?: string;
|
|
2385
2379
|
is_simplified_view?: boolean;
|
|
2380
|
+
frictionless_partner?: "AWS";
|
|
2386
2381
|
version?: number;
|
|
2387
2382
|
local_menu_group?: LocalMenuGroupDTO;
|
|
2388
2383
|
global_menu_group?: GlobalMenuGroupDTO;
|
|
@@ -2446,6 +2441,7 @@ export type PostMenuV3BrandsBody = {
|
|
|
2446
2441
|
global_menu_group_id?: string;
|
|
2447
2442
|
posid_segment?: string;
|
|
2448
2443
|
is_simplified_view?: boolean;
|
|
2444
|
+
frictionless_partner?: "AWS";
|
|
2449
2445
|
local_menu_group?: LocalMenuGroupDTO;
|
|
2450
2446
|
global_menu_group?: GlobalMenuGroupDTO;
|
|
2451
2447
|
attachments?: FileAttachmentsDTO;
|
|
@@ -3119,6 +3115,7 @@ export interface PostMenuV3DraftItemBody {
|
|
|
3119
3115
|
is_out_of_stock?: boolean;
|
|
3120
3116
|
tax_tag_code?: string;
|
|
3121
3117
|
tags?: string[];
|
|
3118
|
+
is_featured?: boolean;
|
|
3122
3119
|
applied_diff_snapshot?: Record<string, any>;
|
|
3123
3120
|
brand?: DraftBrandDTO;
|
|
3124
3121
|
categories?: DraftCategoryToItemRelationshipDTO[];
|
|
@@ -3173,6 +3170,7 @@ export interface PatchMenuV3DraftItemBody {
|
|
|
3173
3170
|
is_out_of_stock?: boolean;
|
|
3174
3171
|
tax_tag_code?: string;
|
|
3175
3172
|
tags?: string[];
|
|
3173
|
+
is_featured?: boolean;
|
|
3176
3174
|
applied_diff_snapshot?: Record<string, any>;
|
|
3177
3175
|
version?: number;
|
|
3178
3176
|
brand?: DraftBrandDTO;
|
|
@@ -3240,6 +3238,7 @@ export type PostMenuV3DraftItemsBody = {
|
|
|
3240
3238
|
is_out_of_stock?: boolean;
|
|
3241
3239
|
tax_tag_code?: string;
|
|
3242
3240
|
tags?: string[];
|
|
3241
|
+
is_featured?: boolean;
|
|
3243
3242
|
applied_diff_snapshot?: Record<string, any>;
|
|
3244
3243
|
brand?: DraftBrandDTO;
|
|
3245
3244
|
categories?: DraftCategoryToItemRelationshipDTO[];
|
|
@@ -3307,6 +3306,7 @@ export interface PatchMenuV3DraftItemsBulkUpdateBody {
|
|
|
3307
3306
|
is_out_of_stock?: boolean;
|
|
3308
3307
|
tax_tag_code?: string;
|
|
3309
3308
|
tags?: string[];
|
|
3309
|
+
is_featured?: boolean;
|
|
3310
3310
|
applied_diff_snapshot?: Record<string, any>;
|
|
3311
3311
|
brand?: DraftBrandDTO;
|
|
3312
3312
|
categories?: DraftCategoryToItemRelationshipDTO[];
|