@compassdigital/sdk.typescript 4.563.0 → 4.565.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/package.json
CHANGED
|
@@ -259,7 +259,6 @@ export interface DiscountTaxonomy {
|
|
|
259
259
|
export interface PostDiscountRequestDTO {
|
|
260
260
|
// What the discount type is
|
|
261
261
|
type: 'Total Order' | 'Single Items' | 'Bundle';
|
|
262
|
-
createdBy: string;
|
|
263
262
|
name: string;
|
|
264
263
|
is?: DiscountIs;
|
|
265
264
|
meta?: DiscountMeta;
|
|
@@ -268,6 +267,7 @@ export interface PostDiscountRequestDTO {
|
|
|
268
267
|
itemLevelConfig?: ItemLevelConfig;
|
|
269
268
|
taxonomy?: DiscountTaxonomy;
|
|
270
269
|
status?: DiscountStatus;
|
|
270
|
+
createdBy: string;
|
|
271
271
|
}
|
|
272
272
|
|
|
273
273
|
export interface PostDiscountResponseDTO {
|
|
@@ -396,15 +396,15 @@ export interface PostRewardsResponseDTO {
|
|
|
396
396
|
export interface PutDiscountRequestDTO {
|
|
397
397
|
// What the discount type is
|
|
398
398
|
type: 'Total Order' | 'Single Items' | 'Bundle';
|
|
399
|
-
updatedBy: string;
|
|
400
|
-
taxonomy?: DiscountTaxonomy;
|
|
401
|
-
status?: DiscountStatus;
|
|
402
399
|
name: string;
|
|
403
400
|
is?: DiscountIs;
|
|
404
401
|
meta?: DiscountMeta;
|
|
405
402
|
schedule?: DiscountSchedule;
|
|
406
403
|
channelConfig: DiscountChannelConfig;
|
|
407
404
|
itemLevelConfig?: ItemLevelConfig;
|
|
405
|
+
updatedBy: string;
|
|
406
|
+
taxonomy?: DiscountTaxonomy;
|
|
407
|
+
status?: DiscountStatus;
|
|
408
408
|
}
|
|
409
409
|
|
|
410
410
|
export interface PutDiscountResponseDTO {
|
|
@@ -441,15 +441,15 @@ export interface PutDiscountPublishResponseDTO {
|
|
|
441
441
|
updatedBy: string;
|
|
442
442
|
// What the discount type is
|
|
443
443
|
type: 'Total Order' | 'Single Items' | 'Bundle';
|
|
444
|
-
is: DiscountIs;
|
|
445
|
-
meta: DiscountMeta;
|
|
446
|
-
schedule: DiscountSchedule;
|
|
447
|
-
channelConfig: DiscountChannelConfig;
|
|
448
444
|
createdAt: string;
|
|
449
445
|
updatedAt: string;
|
|
450
446
|
name: string;
|
|
451
447
|
status: DiscountStatus;
|
|
452
448
|
itemLevelConfig?: ItemLevelConfig;
|
|
449
|
+
is: DiscountIs;
|
|
450
|
+
meta: DiscountMeta;
|
|
451
|
+
schedule: DiscountSchedule;
|
|
452
|
+
channelConfig: DiscountChannelConfig;
|
|
453
453
|
}
|
|
454
454
|
|
|
455
455
|
// DELETE /discount/{id} - Delete a discount
|
package/src/interface/menu.ts
CHANGED
|
@@ -2076,6 +2076,12 @@ export interface SwappedCategoryDTO {
|
|
|
2076
2076
|
sequence?: number;
|
|
2077
2077
|
}
|
|
2078
2078
|
|
|
2079
|
+
export interface SwapOriginalStatesDTO {
|
|
2080
|
+
swap_out_was_visible: boolean;
|
|
2081
|
+
swap_in_was_visible: boolean;
|
|
2082
|
+
[index: string]: any;
|
|
2083
|
+
}
|
|
2084
|
+
|
|
2079
2085
|
export interface CatalogBackupVersionDTO {
|
|
2080
2086
|
version_id?: string;
|
|
2081
2087
|
last_modified?: string;
|
|
@@ -8843,6 +8849,7 @@ export interface PostMenuV4BrandSwapCategoryItemsBody {
|
|
|
8843
8849
|
export interface PostMenuV4BrandSwapCategoryItemsResponse {
|
|
8844
8850
|
status?: string;
|
|
8845
8851
|
swapped_categories?: SwappedCategoryDTO[];
|
|
8852
|
+
original_states?: SwapOriginalStatesDTO;
|
|
8846
8853
|
}
|
|
8847
8854
|
|
|
8848
8855
|
export interface PostMenuV4BrandSwapCategoryItemsRequest
|