@compassdigital/sdk.typescript 4.606.0 → 4.608.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
package/src/interface/catalog.ts
CHANGED
|
@@ -72,13 +72,11 @@ export interface PaginationQueryDTO {
|
|
|
72
72
|
order?: 'ASC' | 'DESC';
|
|
73
73
|
}
|
|
74
74
|
|
|
75
|
-
export type FilterQueryDTO = Record<string, any>;
|
|
76
|
-
|
|
77
75
|
export interface ListParamsDTO {
|
|
78
76
|
// Pagination parameters
|
|
79
77
|
pagination?: PaginationQueryDTO;
|
|
80
|
-
// Filter parameters for catalog items
|
|
81
|
-
filter?:
|
|
78
|
+
// Filter parameters for catalog items. Accepts a single filter object (AND between fields) or an array of filter objects (OR between objects, AND within each object).
|
|
79
|
+
filter?: Record<string, any>;
|
|
82
80
|
// Option keys to filter catalog items by. Items with any of these option keys will be included.
|
|
83
81
|
item_option_keys?: string[];
|
|
84
82
|
}
|
|
@@ -167,8 +165,8 @@ export interface DeleteCatalogItemResponseDTO {
|
|
|
167
165
|
export interface MergedListParamsDTO {
|
|
168
166
|
// Pagination parameters
|
|
169
167
|
pagination?: PaginationQueryDTO;
|
|
170
|
-
// Filter parameters for catalog items
|
|
171
|
-
filter?:
|
|
168
|
+
// Filter parameters for catalog items. Accepts a single filter object (AND between fields) or an array of filter objects (OR between objects, AND within each object).
|
|
169
|
+
filter?: Record<string, any>;
|
|
172
170
|
// Option keys to filter catalog items by. Items with any of these option keys will be included.
|
|
173
171
|
item_option_keys?: string[];
|
|
174
172
|
// Filter by catalog item type. The listed values document the menu service's current taxonomy; the column itself is stored as free text so callers can extend the vocabulary without a schema change.
|
package/src/interface/menu.ts
CHANGED
|
@@ -8537,7 +8537,7 @@ export interface GetMenuV4BrandItemsPath {
|
|
|
8537
8537
|
}
|
|
8538
8538
|
|
|
8539
8539
|
export interface GetMenuV4BrandItemsQuery {
|
|
8540
|
-
filter?: string;
|
|
8540
|
+
filter?: string[];
|
|
8541
8541
|
// If specified, only the selected fields will be returned
|
|
8542
8542
|
select?: string[];
|
|
8543
8543
|
// List of relationships to load alongside this entity. Can load nested relationships using the pattern 'children.grand_children.foo'
|
|
@@ -8570,7 +8570,7 @@ export interface GetMenuV4BrandModifierGroupsPath {
|
|
|
8570
8570
|
}
|
|
8571
8571
|
|
|
8572
8572
|
export interface GetMenuV4BrandModifierGroupsQuery {
|
|
8573
|
-
filter?: string;
|
|
8573
|
+
filter?: string[];
|
|
8574
8574
|
// If specified, only the selected fields will be returned
|
|
8575
8575
|
select?: string[];
|
|
8576
8576
|
// List of relationships to load alongside this entity. Can load nested relationships using the pattern 'children.grand_children.foo'
|
|
@@ -8603,7 +8603,7 @@ export interface GetMenuV4BrandModifiersPath {
|
|
|
8603
8603
|
}
|
|
8604
8604
|
|
|
8605
8605
|
export interface GetMenuV4BrandModifiersQuery {
|
|
8606
|
-
filter?: string;
|
|
8606
|
+
filter?: string[];
|
|
8607
8607
|
// If specified, only the selected fields will be returned
|
|
8608
8608
|
select?: string[];
|
|
8609
8609
|
// List of relationships to load alongside this entity. Can load nested relationships using the pattern 'children.grand_children.foo'
|
|
@@ -8637,7 +8637,7 @@ export interface GetMenuV4BrandCategoryItemsPath {
|
|
|
8637
8637
|
}
|
|
8638
8638
|
|
|
8639
8639
|
export interface GetMenuV4BrandCategoryItemsQuery {
|
|
8640
|
-
filter?: string;
|
|
8640
|
+
filter?: string[];
|
|
8641
8641
|
// If specified, only the selected fields will be returned
|
|
8642
8642
|
select?: string[];
|
|
8643
8643
|
// List of relationships to load alongside this entity. Can load nested relationships using the pattern 'children.grand_children.foo'
|