@digital8/lighting-illusions-ts-sdk 0.0.533 → 0.0.534

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.
Files changed (69) hide show
  1. package/.openapi-generator/FILES +0 -24
  2. package/README.md +2 -14
  3. package/dist/models/StoreProductCategoryRequest.d.ts +1 -9
  4. package/dist/models/StoreProductCategoryRequest.js +0 -8
  5. package/dist/models/StoreProductCategoryRequestAutomationRulesInner.d.ts +2 -27
  6. package/dist/models/StoreProductCategoryRequestAutomationRulesInner.js +0 -24
  7. package/dist/models/StoreProductChildRequest.d.ts +1 -1
  8. package/dist/models/StoreProductChildRequest.js +3 -1
  9. package/dist/models/StoreProductChildRequestSitesInner.d.ts +1 -1
  10. package/dist/models/StoreProductChildRequestSitesInner.js +3 -1
  11. package/dist/models/UpdateProductCategoryRequest.d.ts +1 -9
  12. package/dist/models/UpdateProductCategoryRequest.js +0 -8
  13. package/dist/models/index.d.ts +0 -12
  14. package/dist/models/index.js +0 -12
  15. package/package.json +1 -1
  16. package/src/models/StoreProductCategoryRequest.ts +1 -12
  17. package/src/models/StoreProductCategoryRequestAutomationRulesInner.ts +2 -31
  18. package/src/models/StoreProductChildRequest.ts +3 -2
  19. package/src/models/StoreProductChildRequestSitesInner.ts +3 -2
  20. package/src/models/UpdateProductCategoryRequest.ts +1 -12
  21. package/src/models/index.ts +0 -12
  22. package/dist/models/PaginatedProductSearchResultResourceResponse.d.ts +0 -40
  23. package/dist/models/PaginatedProductSearchResultResourceResponse.js +0 -57
  24. package/dist/models/ProductAggregationResource.d.ts +0 -50
  25. package/dist/models/ProductAggregationResource.js +0 -63
  26. package/dist/models/ProductAggregationResourceArrayResponse.d.ts +0 -33
  27. package/dist/models/ProductAggregationResourceArrayResponse.js +0 -50
  28. package/dist/models/ProductRating.d.ts +0 -26
  29. package/dist/models/ProductRating.js +0 -52
  30. package/dist/models/ProductSearchResponseResource.d.ts +0 -54
  31. package/dist/models/ProductSearchResponseResource.js +0 -67
  32. package/dist/models/ProductSearchResponseResourceArrayResponse.d.ts +0 -33
  33. package/dist/models/ProductSearchResponseResourceArrayResponse.js +0 -50
  34. package/dist/models/ProductSearchResponseResourceMeta.d.ts +0 -50
  35. package/dist/models/ProductSearchResponseResourceMeta.js +0 -63
  36. package/dist/models/ProductSearchResponseResourcePriceInfo.d.ts +0 -50
  37. package/dist/models/ProductSearchResponseResourcePriceInfo.js +0 -63
  38. package/dist/models/ProductSearchResultResource.d.ts +0 -116
  39. package/dist/models/ProductSearchResultResource.js +0 -105
  40. package/dist/models/ProductSearchResultResourceArrayResponse.d.ts +0 -33
  41. package/dist/models/ProductSearchResultResourceArrayResponse.js +0 -50
  42. package/dist/models/ProductSortBy.d.ts +0 -32
  43. package/dist/models/ProductSortBy.js +0 -58
  44. package/dist/models/ProductStatus.d.ts +0 -24
  45. package/dist/models/ProductStatus.js +0 -50
  46. package/docs/PaginatedProductSearchResultResourceResponse.md +0 -36
  47. package/docs/ProductAggregationResource.md +0 -40
  48. package/docs/ProductAggregationResourceArrayResponse.md +0 -34
  49. package/docs/ProductRating.md +0 -32
  50. package/docs/ProductSearchResponseResource.md +0 -40
  51. package/docs/ProductSearchResponseResourceArrayResponse.md +0 -34
  52. package/docs/ProductSearchResponseResourceMeta.md +0 -40
  53. package/docs/ProductSearchResponseResourcePriceInfo.md +0 -40
  54. package/docs/ProductSearchResultResource.md +0 -62
  55. package/docs/ProductSearchResultResourceArrayResponse.md +0 -34
  56. package/docs/ProductSortBy.md +0 -32
  57. package/docs/ProductStatus.md +0 -32
  58. package/src/models/PaginatedProductSearchResultResourceResponse.ts +0 -90
  59. package/src/models/ProductAggregationResource.ts +0 -93
  60. package/src/models/ProductAggregationResourceArrayResponse.ts +0 -73
  61. package/src/models/ProductRating.ts +0 -54
  62. package/src/models/ProductSearchResponseResource.ts +0 -122
  63. package/src/models/ProductSearchResponseResourceArrayResponse.ts +0 -73
  64. package/src/models/ProductSearchResponseResourceMeta.ts +0 -93
  65. package/src/models/ProductSearchResponseResourcePriceInfo.ts +0 -93
  66. package/src/models/ProductSearchResultResource.ts +0 -191
  67. package/src/models/ProductSearchResultResourceArrayResponse.ts +0 -73
  68. package/src/models/ProductSortBy.ts +0 -60
  69. package/src/models/ProductStatus.ts +0 -52
@@ -115,7 +115,6 @@ docs/PaginatedProductChildResourceResponse.md
115
115
  docs/PaginatedProductListResourceResponse.md
116
116
  docs/PaginatedProductLiteResourceResponse.md
117
117
  docs/PaginatedProductResourceResponse.md
118
- docs/PaginatedProductSearchResultResourceResponse.md
119
118
  docs/PaginatedProductTypeListResourceResponse.md
120
119
  docs/PaginatedProductTypeLiteResourceResponse.md
121
120
  docs/PaginatedProductTypeResourceResponse.md
@@ -132,8 +131,6 @@ docs/PaginatedTagListResourceResponse.md
132
131
  docs/PaginatedTagLiteResourceResponse.md
133
132
  docs/PaginatedTagResourceResponse.md
134
133
  docs/PagingMetadata.md
135
- docs/ProductAggregationResource.md
136
- docs/ProductAggregationResourceArrayResponse.md
137
134
  docs/ProductApi.md
138
135
  docs/ProductCategoryApi.md
139
136
  docs/ProductCategoryHierarchyResource.md
@@ -163,17 +160,8 @@ docs/ProductListResource.md
163
160
  docs/ProductListResourceArrayResponse.md
164
161
  docs/ProductLiteResource.md
165
162
  docs/ProductLiteResourceArrayResponse.md
166
- docs/ProductRating.md
167
163
  docs/ProductResource.md
168
164
  docs/ProductResourceArrayResponse.md
169
- docs/ProductSearchResponseResource.md
170
- docs/ProductSearchResponseResourceArrayResponse.md
171
- docs/ProductSearchResponseResourceMeta.md
172
- docs/ProductSearchResponseResourcePriceInfo.md
173
- docs/ProductSearchResultResource.md
174
- docs/ProductSearchResultResourceArrayResponse.md
175
- docs/ProductSortBy.md
176
- docs/ProductStatus.md
177
165
  docs/ProductTypeApi.md
178
166
  docs/ProductTypeListResource.md
179
167
  docs/ProductTypeListResourceArrayResponse.md
@@ -377,7 +365,6 @@ src/models/PaginatedProductChildResourceResponse.ts
377
365
  src/models/PaginatedProductListResourceResponse.ts
378
366
  src/models/PaginatedProductLiteResourceResponse.ts
379
367
  src/models/PaginatedProductResourceResponse.ts
380
- src/models/PaginatedProductSearchResultResourceResponse.ts
381
368
  src/models/PaginatedProductTypeListResourceResponse.ts
382
369
  src/models/PaginatedProductTypeLiteResourceResponse.ts
383
370
  src/models/PaginatedProductTypeResourceResponse.ts
@@ -394,8 +381,6 @@ src/models/PaginatedTagListResourceResponse.ts
394
381
  src/models/PaginatedTagLiteResourceResponse.ts
395
382
  src/models/PaginatedTagResourceResponse.ts
396
383
  src/models/PagingMetadata.ts
397
- src/models/ProductAggregationResource.ts
398
- src/models/ProductAggregationResourceArrayResponse.ts
399
384
  src/models/ProductCategoryHierarchyResource.ts
400
385
  src/models/ProductCategoryHierarchyResourceArrayResponse.ts
401
386
  src/models/ProductCategoryListResource.ts
@@ -422,17 +407,8 @@ src/models/ProductListResource.ts
422
407
  src/models/ProductListResourceArrayResponse.ts
423
408
  src/models/ProductLiteResource.ts
424
409
  src/models/ProductLiteResourceArrayResponse.ts
425
- src/models/ProductRating.ts
426
410
  src/models/ProductResource.ts
427
411
  src/models/ProductResourceArrayResponse.ts
428
- src/models/ProductSearchResponseResource.ts
429
- src/models/ProductSearchResponseResourceArrayResponse.ts
430
- src/models/ProductSearchResponseResourceMeta.ts
431
- src/models/ProductSearchResponseResourcePriceInfo.ts
432
- src/models/ProductSearchResultResource.ts
433
- src/models/ProductSearchResultResourceArrayResponse.ts
434
- src/models/ProductSortBy.ts
435
- src/models/ProductStatus.ts
436
412
  src/models/ProductTypeListResource.ts
437
413
  src/models/ProductTypeListResourceArrayResponse.ts
438
414
  src/models/ProductTypeLiteResource.ts
package/README.md CHANGED
@@ -1,4 +1,4 @@
1
- # @digital8/lighting-illusions-ts-sdk@0.0.533
1
+ # @digital8/lighting-illusions-ts-sdk@0.0.534
2
2
 
3
3
  A TypeScript SDK client for the localhost API.
4
4
 
@@ -261,7 +261,6 @@ All URIs are relative to *http://localhost/api*
261
261
  - [PaginatedProductListResourceResponse](docs/PaginatedProductListResourceResponse.md)
262
262
  - [PaginatedProductLiteResourceResponse](docs/PaginatedProductLiteResourceResponse.md)
263
263
  - [PaginatedProductResourceResponse](docs/PaginatedProductResourceResponse.md)
264
- - [PaginatedProductSearchResultResourceResponse](docs/PaginatedProductSearchResultResourceResponse.md)
265
264
  - [PaginatedProductTypeListResourceResponse](docs/PaginatedProductTypeListResourceResponse.md)
266
265
  - [PaginatedProductTypeLiteResourceResponse](docs/PaginatedProductTypeLiteResourceResponse.md)
267
266
  - [PaginatedProductTypeResourceResponse](docs/PaginatedProductTypeResourceResponse.md)
@@ -278,8 +277,6 @@ All URIs are relative to *http://localhost/api*
278
277
  - [PaginatedTagLiteResourceResponse](docs/PaginatedTagLiteResourceResponse.md)
279
278
  - [PaginatedTagResourceResponse](docs/PaginatedTagResourceResponse.md)
280
279
  - [PagingMetadata](docs/PagingMetadata.md)
281
- - [ProductAggregationResource](docs/ProductAggregationResource.md)
282
- - [ProductAggregationResourceArrayResponse](docs/ProductAggregationResourceArrayResponse.md)
283
280
  - [ProductCategoryHierarchyResource](docs/ProductCategoryHierarchyResource.md)
284
281
  - [ProductCategoryHierarchyResourceArrayResponse](docs/ProductCategoryHierarchyResourceArrayResponse.md)
285
282
  - [ProductCategoryListResource](docs/ProductCategoryListResource.md)
@@ -306,17 +303,8 @@ All URIs are relative to *http://localhost/api*
306
303
  - [ProductListResourceArrayResponse](docs/ProductListResourceArrayResponse.md)
307
304
  - [ProductLiteResource](docs/ProductLiteResource.md)
308
305
  - [ProductLiteResourceArrayResponse](docs/ProductLiteResourceArrayResponse.md)
309
- - [ProductRating](docs/ProductRating.md)
310
306
  - [ProductResource](docs/ProductResource.md)
311
307
  - [ProductResourceArrayResponse](docs/ProductResourceArrayResponse.md)
312
- - [ProductSearchResponseResource](docs/ProductSearchResponseResource.md)
313
- - [ProductSearchResponseResourceArrayResponse](docs/ProductSearchResponseResourceArrayResponse.md)
314
- - [ProductSearchResponseResourceMeta](docs/ProductSearchResponseResourceMeta.md)
315
- - [ProductSearchResponseResourcePriceInfo](docs/ProductSearchResponseResourcePriceInfo.md)
316
- - [ProductSearchResultResource](docs/ProductSearchResultResource.md)
317
- - [ProductSearchResultResourceArrayResponse](docs/ProductSearchResultResourceArrayResponse.md)
318
- - [ProductSortBy](docs/ProductSortBy.md)
319
- - [ProductStatus](docs/ProductStatus.md)
320
308
  - [ProductTypeListResource](docs/ProductTypeListResource.md)
321
309
  - [ProductTypeListResourceArrayResponse](docs/ProductTypeListResourceArrayResponse.md)
322
310
  - [ProductTypeLiteResource](docs/ProductTypeLiteResource.md)
@@ -406,7 +394,7 @@ and is automatically generated by the
406
394
  [OpenAPI Generator](https://openapi-generator.tech) project:
407
395
 
408
396
  - API version: `1.0.0`
409
- - Package version: `0.0.533`
397
+ - Package version: `0.0.534`
410
398
  - Generator version: `7.18.0`
411
399
  - Build package: `org.openapitools.codegen.languages.TypeScriptFetchClientCodegen`
412
400
 
@@ -69,7 +69,7 @@ export interface StoreProductCategoryRequest {
69
69
  * @type {string}
70
70
  * @memberof StoreProductCategoryRequest
71
71
  */
72
- automatedConditionType?: StoreProductCategoryRequestAutomatedConditionTypeEnum;
72
+ automatedConditionType?: string;
73
73
  /**
74
74
  *
75
75
  * @type {Array<StoreProductCategoryRequestAutomationRulesInner>}
@@ -95,14 +95,6 @@ export interface StoreProductCategoryRequest {
95
95
  */
96
96
  fileId: number;
97
97
  }
98
- /**
99
- * @export
100
- */
101
- export declare const StoreProductCategoryRequestAutomatedConditionTypeEnum: {
102
- readonly And: "and";
103
- readonly Or: "or";
104
- };
105
- export type StoreProductCategoryRequestAutomatedConditionTypeEnum = typeof StoreProductCategoryRequestAutomatedConditionTypeEnum[keyof typeof StoreProductCategoryRequestAutomatedConditionTypeEnum];
106
98
  /**
107
99
  * Check if a given object implements the StoreProductCategoryRequest interface.
108
100
  */
@@ -13,20 +13,12 @@
13
13
  * Do not edit the class manually.
14
14
  */
15
15
  Object.defineProperty(exports, "__esModule", { value: true });
16
- exports.StoreProductCategoryRequestAutomatedConditionTypeEnum = void 0;
17
16
  exports.instanceOfStoreProductCategoryRequest = instanceOfStoreProductCategoryRequest;
18
17
  exports.StoreProductCategoryRequestFromJSON = StoreProductCategoryRequestFromJSON;
19
18
  exports.StoreProductCategoryRequestFromJSONTyped = StoreProductCategoryRequestFromJSONTyped;
20
19
  exports.StoreProductCategoryRequestToJSON = StoreProductCategoryRequestToJSON;
21
20
  exports.StoreProductCategoryRequestToJSONTyped = StoreProductCategoryRequestToJSONTyped;
22
21
  var StoreProductCategoryRequestAutomationRulesInner_1 = require("./StoreProductCategoryRequestAutomationRulesInner");
23
- /**
24
- * @export
25
- */
26
- exports.StoreProductCategoryRequestAutomatedConditionTypeEnum = {
27
- And: 'and',
28
- Or: 'or'
29
- };
30
22
  /**
31
23
  * Check if a given object implements the StoreProductCategoryRequest interface.
32
24
  */
@@ -20,13 +20,13 @@ export interface StoreProductCategoryRequestAutomationRulesInner {
20
20
  * @type {string}
21
21
  * @memberof StoreProductCategoryRequestAutomationRulesInner
22
22
  */
23
- fieldType: StoreProductCategoryRequestAutomationRulesInnerFieldTypeEnum;
23
+ fieldType: string;
24
24
  /**
25
25
  *
26
26
  * @type {string}
27
27
  * @memberof StoreProductCategoryRequestAutomationRulesInner
28
28
  */
29
- comparisonType: StoreProductCategoryRequestAutomationRulesInnerComparisonTypeEnum;
29
+ comparisonType: string;
30
30
  /**
31
31
  *
32
32
  * @type {number}
@@ -52,31 +52,6 @@ export interface StoreProductCategoryRequestAutomationRulesInner {
52
52
  */
53
53
  valueId?: number;
54
54
  }
55
- /**
56
- * @export
57
- */
58
- export declare const StoreProductCategoryRequestAutomationRulesInnerFieldTypeEnum: {
59
- readonly Price: "price";
60
- readonly Name: "name";
61
- readonly VariantName: "variant_name";
62
- readonly Attribute: "attribute";
63
- readonly Tag: "tag";
64
- readonly Supplier: "supplier";
65
- readonly Label: "label";
66
- };
67
- export type StoreProductCategoryRequestAutomationRulesInnerFieldTypeEnum = typeof StoreProductCategoryRequestAutomationRulesInnerFieldTypeEnum[keyof typeof StoreProductCategoryRequestAutomationRulesInnerFieldTypeEnum];
68
- /**
69
- * @export
70
- */
71
- export declare const StoreProductCategoryRequestAutomationRulesInnerComparisonTypeEnum: {
72
- readonly Greater: "greater";
73
- readonly Less: "less";
74
- readonly Equal: "equal";
75
- readonly NotEqual: "notEqual";
76
- readonly Contains: "contains";
77
- readonly NotContains: "notContains";
78
- };
79
- export type StoreProductCategoryRequestAutomationRulesInnerComparisonTypeEnum = typeof StoreProductCategoryRequestAutomationRulesInnerComparisonTypeEnum[keyof typeof StoreProductCategoryRequestAutomationRulesInnerComparisonTypeEnum];
80
55
  /**
81
56
  * Check if a given object implements the StoreProductCategoryRequestAutomationRulesInner interface.
82
57
  */
@@ -13,35 +13,11 @@
13
13
  * Do not edit the class manually.
14
14
  */
15
15
  Object.defineProperty(exports, "__esModule", { value: true });
16
- exports.StoreProductCategoryRequestAutomationRulesInnerComparisonTypeEnum = exports.StoreProductCategoryRequestAutomationRulesInnerFieldTypeEnum = void 0;
17
16
  exports.instanceOfStoreProductCategoryRequestAutomationRulesInner = instanceOfStoreProductCategoryRequestAutomationRulesInner;
18
17
  exports.StoreProductCategoryRequestAutomationRulesInnerFromJSON = StoreProductCategoryRequestAutomationRulesInnerFromJSON;
19
18
  exports.StoreProductCategoryRequestAutomationRulesInnerFromJSONTyped = StoreProductCategoryRequestAutomationRulesInnerFromJSONTyped;
20
19
  exports.StoreProductCategoryRequestAutomationRulesInnerToJSON = StoreProductCategoryRequestAutomationRulesInnerToJSON;
21
20
  exports.StoreProductCategoryRequestAutomationRulesInnerToJSONTyped = StoreProductCategoryRequestAutomationRulesInnerToJSONTyped;
22
- /**
23
- * @export
24
- */
25
- exports.StoreProductCategoryRequestAutomationRulesInnerFieldTypeEnum = {
26
- Price: 'price',
27
- Name: 'name',
28
- VariantName: 'variant_name',
29
- Attribute: 'attribute',
30
- Tag: 'tag',
31
- Supplier: 'supplier',
32
- Label: 'label'
33
- };
34
- /**
35
- * @export
36
- */
37
- exports.StoreProductCategoryRequestAutomationRulesInnerComparisonTypeEnum = {
38
- Greater: 'greater',
39
- Less: 'less',
40
- Equal: 'equal',
41
- NotEqual: 'notEqual',
42
- Contains: 'contains',
43
- NotContains: 'notContains'
44
- };
45
21
  /**
46
22
  * Check if a given object implements the StoreProductCategoryRequestAutomationRulesInner interface.
47
23
  */
@@ -29,7 +29,7 @@ export interface StoreProductChildRequest {
29
29
  * @type {string}
30
30
  * @memberof StoreProductChildRequest
31
31
  */
32
- name?: string;
32
+ name: string;
33
33
  /**
34
34
  *
35
35
  * @type {string}
@@ -27,6 +27,8 @@ var StoreProductChildRequestAttributeValuesInner_1 = require("./StoreProductChil
27
27
  function instanceOfStoreProductChildRequest(value) {
28
28
  if (!('productId' in value) || value['productId'] === undefined)
29
29
  return false;
30
+ if (!('name' in value) || value['name'] === undefined)
31
+ return false;
30
32
  if (!('sku' in value) || value['sku'] === undefined)
31
33
  return false;
32
34
  if (!('model' in value) || value['model'] === undefined)
@@ -58,7 +60,7 @@ function StoreProductChildRequestFromJSONTyped(json, ignoreDiscriminator) {
58
60
  }
59
61
  return {
60
62
  'productId': json['product_id'],
61
- 'name': json['name'] == null ? undefined : json['name'],
63
+ 'name': json['name'],
62
64
  'sku': json['sku'],
63
65
  'model': json['model'],
64
66
  'newArrivalStartDate': json['new_arrival_start_date'] == null ? undefined : (new Date(json['new_arrival_start_date'])),
@@ -26,7 +26,7 @@ export interface StoreProductChildRequestSitesInner {
26
26
  * @type {string}
27
27
  * @memberof StoreProductChildRequestSitesInner
28
28
  */
29
- name?: string;
29
+ name: string;
30
30
  /**
31
31
  *
32
32
  * @type {string}
@@ -24,6 +24,8 @@ exports.StoreProductChildRequestSitesInnerToJSONTyped = StoreProductChildRequest
24
24
  function instanceOfStoreProductChildRequestSitesInner(value) {
25
25
  if (!('siteId' in value) || value['siteId'] === undefined)
26
26
  return false;
27
+ if (!('name' in value) || value['name'] === undefined)
28
+ return false;
27
29
  if (!('description' in value) || value['description'] === undefined)
28
30
  return false;
29
31
  if (!('rrpPrice' in value) || value['rrpPrice'] === undefined)
@@ -45,7 +47,7 @@ function StoreProductChildRequestSitesInnerFromJSONTyped(json, ignoreDiscriminat
45
47
  }
46
48
  return {
47
49
  'siteId': json['site_id'],
48
- 'name': json['name'] == null ? undefined : json['name'],
50
+ 'name': json['name'],
49
51
  'displayName': json['display_name'] == null ? undefined : json['display_name'],
50
52
  'description': json['description'],
51
53
  'rrpPrice': json['rrp_price'],
@@ -69,7 +69,7 @@ export interface UpdateProductCategoryRequest {
69
69
  * @type {string}
70
70
  * @memberof UpdateProductCategoryRequest
71
71
  */
72
- automatedConditionType?: UpdateProductCategoryRequestAutomatedConditionTypeEnum;
72
+ automatedConditionType?: string;
73
73
  /**
74
74
  *
75
75
  * @type {Array<StoreProductCategoryRequestAutomationRulesInner>}
@@ -95,14 +95,6 @@ export interface UpdateProductCategoryRequest {
95
95
  */
96
96
  fileId?: number;
97
97
  }
98
- /**
99
- * @export
100
- */
101
- export declare const UpdateProductCategoryRequestAutomatedConditionTypeEnum: {
102
- readonly And: "and";
103
- readonly Or: "or";
104
- };
105
- export type UpdateProductCategoryRequestAutomatedConditionTypeEnum = typeof UpdateProductCategoryRequestAutomatedConditionTypeEnum[keyof typeof UpdateProductCategoryRequestAutomatedConditionTypeEnum];
106
98
  /**
107
99
  * Check if a given object implements the UpdateProductCategoryRequest interface.
108
100
  */
@@ -13,20 +13,12 @@
13
13
  * Do not edit the class manually.
14
14
  */
15
15
  Object.defineProperty(exports, "__esModule", { value: true });
16
- exports.UpdateProductCategoryRequestAutomatedConditionTypeEnum = void 0;
17
16
  exports.instanceOfUpdateProductCategoryRequest = instanceOfUpdateProductCategoryRequest;
18
17
  exports.UpdateProductCategoryRequestFromJSON = UpdateProductCategoryRequestFromJSON;
19
18
  exports.UpdateProductCategoryRequestFromJSONTyped = UpdateProductCategoryRequestFromJSONTyped;
20
19
  exports.UpdateProductCategoryRequestToJSON = UpdateProductCategoryRequestToJSON;
21
20
  exports.UpdateProductCategoryRequestToJSONTyped = UpdateProductCategoryRequestToJSONTyped;
22
21
  var StoreProductCategoryRequestAutomationRulesInner_1 = require("./StoreProductCategoryRequestAutomationRulesInner");
23
- /**
24
- * @export
25
- */
26
- exports.UpdateProductCategoryRequestAutomatedConditionTypeEnum = {
27
- And: 'and',
28
- Or: 'or'
29
- };
30
22
  /**
31
23
  * Check if a given object implements the UpdateProductCategoryRequest interface.
32
24
  */
@@ -105,7 +105,6 @@ export * from './PaginatedProductChildResourceResponse';
105
105
  export * from './PaginatedProductListResourceResponse';
106
106
  export * from './PaginatedProductLiteResourceResponse';
107
107
  export * from './PaginatedProductResourceResponse';
108
- export * from './PaginatedProductSearchResultResourceResponse';
109
108
  export * from './PaginatedProductTypeListResourceResponse';
110
109
  export * from './PaginatedProductTypeLiteResourceResponse';
111
110
  export * from './PaginatedProductTypeResourceResponse';
@@ -122,8 +121,6 @@ export * from './PaginatedTagListResourceResponse';
122
121
  export * from './PaginatedTagLiteResourceResponse';
123
122
  export * from './PaginatedTagResourceResponse';
124
123
  export * from './PagingMetadata';
125
- export * from './ProductAggregationResource';
126
- export * from './ProductAggregationResourceArrayResponse';
127
124
  export * from './ProductCategoryHierarchyResource';
128
125
  export * from './ProductCategoryHierarchyResourceArrayResponse';
129
126
  export * from './ProductCategoryListResource';
@@ -150,17 +147,8 @@ export * from './ProductListResource';
150
147
  export * from './ProductListResourceArrayResponse';
151
148
  export * from './ProductLiteResource';
152
149
  export * from './ProductLiteResourceArrayResponse';
153
- export * from './ProductRating';
154
150
  export * from './ProductResource';
155
151
  export * from './ProductResourceArrayResponse';
156
- export * from './ProductSearchResponseResource';
157
- export * from './ProductSearchResponseResourceArrayResponse';
158
- export * from './ProductSearchResponseResourceMeta';
159
- export * from './ProductSearchResponseResourcePriceInfo';
160
- export * from './ProductSearchResultResource';
161
- export * from './ProductSearchResultResourceArrayResponse';
162
- export * from './ProductSortBy';
163
- export * from './ProductStatus';
164
152
  export * from './ProductTypeListResource';
165
153
  export * from './ProductTypeListResourceArrayResponse';
166
154
  export * from './ProductTypeLiteResource';
@@ -123,7 +123,6 @@ __exportStar(require("./PaginatedProductChildResourceResponse"), exports);
123
123
  __exportStar(require("./PaginatedProductListResourceResponse"), exports);
124
124
  __exportStar(require("./PaginatedProductLiteResourceResponse"), exports);
125
125
  __exportStar(require("./PaginatedProductResourceResponse"), exports);
126
- __exportStar(require("./PaginatedProductSearchResultResourceResponse"), exports);
127
126
  __exportStar(require("./PaginatedProductTypeListResourceResponse"), exports);
128
127
  __exportStar(require("./PaginatedProductTypeLiteResourceResponse"), exports);
129
128
  __exportStar(require("./PaginatedProductTypeResourceResponse"), exports);
@@ -140,8 +139,6 @@ __exportStar(require("./PaginatedTagListResourceResponse"), exports);
140
139
  __exportStar(require("./PaginatedTagLiteResourceResponse"), exports);
141
140
  __exportStar(require("./PaginatedTagResourceResponse"), exports);
142
141
  __exportStar(require("./PagingMetadata"), exports);
143
- __exportStar(require("./ProductAggregationResource"), exports);
144
- __exportStar(require("./ProductAggregationResourceArrayResponse"), exports);
145
142
  __exportStar(require("./ProductCategoryHierarchyResource"), exports);
146
143
  __exportStar(require("./ProductCategoryHierarchyResourceArrayResponse"), exports);
147
144
  __exportStar(require("./ProductCategoryListResource"), exports);
@@ -168,17 +165,8 @@ __exportStar(require("./ProductListResource"), exports);
168
165
  __exportStar(require("./ProductListResourceArrayResponse"), exports);
169
166
  __exportStar(require("./ProductLiteResource"), exports);
170
167
  __exportStar(require("./ProductLiteResourceArrayResponse"), exports);
171
- __exportStar(require("./ProductRating"), exports);
172
168
  __exportStar(require("./ProductResource"), exports);
173
169
  __exportStar(require("./ProductResourceArrayResponse"), exports);
174
- __exportStar(require("./ProductSearchResponseResource"), exports);
175
- __exportStar(require("./ProductSearchResponseResourceArrayResponse"), exports);
176
- __exportStar(require("./ProductSearchResponseResourceMeta"), exports);
177
- __exportStar(require("./ProductSearchResponseResourcePriceInfo"), exports);
178
- __exportStar(require("./ProductSearchResultResource"), exports);
179
- __exportStar(require("./ProductSearchResultResourceArrayResponse"), exports);
180
- __exportStar(require("./ProductSortBy"), exports);
181
- __exportStar(require("./ProductStatus"), exports);
182
170
  __exportStar(require("./ProductTypeListResource"), exports);
183
171
  __exportStar(require("./ProductTypeListResourceArrayResponse"), exports);
184
172
  __exportStar(require("./ProductTypeLiteResource"), exports);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@digital8/lighting-illusions-ts-sdk",
3
- "version": "0.0.533",
3
+ "version": "0.0.534",
4
4
  "description": "OpenAPI client for @digital8/lighting-illusions-ts-sdk",
5
5
  "author": "OpenAPI-Generator",
6
6
  "repository": {
@@ -80,7 +80,7 @@ export interface StoreProductCategoryRequest {
80
80
  * @type {string}
81
81
  * @memberof StoreProductCategoryRequest
82
82
  */
83
- automatedConditionType?: StoreProductCategoryRequestAutomatedConditionTypeEnum;
83
+ automatedConditionType?: string;
84
84
  /**
85
85
  *
86
86
  * @type {Array<StoreProductCategoryRequestAutomationRulesInner>}
@@ -107,17 +107,6 @@ export interface StoreProductCategoryRequest {
107
107
  fileId: number;
108
108
  }
109
109
 
110
-
111
- /**
112
- * @export
113
- */
114
- export const StoreProductCategoryRequestAutomatedConditionTypeEnum = {
115
- And: 'and',
116
- Or: 'or'
117
- } as const;
118
- export type StoreProductCategoryRequestAutomatedConditionTypeEnum = typeof StoreProductCategoryRequestAutomatedConditionTypeEnum[keyof typeof StoreProductCategoryRequestAutomatedConditionTypeEnum];
119
-
120
-
121
110
  /**
122
111
  * Check if a given object implements the StoreProductCategoryRequest interface.
123
112
  */
@@ -24,13 +24,13 @@ export interface StoreProductCategoryRequestAutomationRulesInner {
24
24
  * @type {string}
25
25
  * @memberof StoreProductCategoryRequestAutomationRulesInner
26
26
  */
27
- fieldType: StoreProductCategoryRequestAutomationRulesInnerFieldTypeEnum;
27
+ fieldType: string;
28
28
  /**
29
29
  *
30
30
  * @type {string}
31
31
  * @memberof StoreProductCategoryRequestAutomationRulesInner
32
32
  */
33
- comparisonType: StoreProductCategoryRequestAutomationRulesInnerComparisonTypeEnum;
33
+ comparisonType: string;
34
34
  /**
35
35
  *
36
36
  * @type {number}
@@ -57,35 +57,6 @@ export interface StoreProductCategoryRequestAutomationRulesInner {
57
57
  valueId?: number;
58
58
  }
59
59
 
60
-
61
- /**
62
- * @export
63
- */
64
- export const StoreProductCategoryRequestAutomationRulesInnerFieldTypeEnum = {
65
- Price: 'price',
66
- Name: 'name',
67
- VariantName: 'variant_name',
68
- Attribute: 'attribute',
69
- Tag: 'tag',
70
- Supplier: 'supplier',
71
- Label: 'label'
72
- } as const;
73
- export type StoreProductCategoryRequestAutomationRulesInnerFieldTypeEnum = typeof StoreProductCategoryRequestAutomationRulesInnerFieldTypeEnum[keyof typeof StoreProductCategoryRequestAutomationRulesInnerFieldTypeEnum];
74
-
75
- /**
76
- * @export
77
- */
78
- export const StoreProductCategoryRequestAutomationRulesInnerComparisonTypeEnum = {
79
- Greater: 'greater',
80
- Less: 'less',
81
- Equal: 'equal',
82
- NotEqual: 'notEqual',
83
- Contains: 'contains',
84
- NotContains: 'notContains'
85
- } as const;
86
- export type StoreProductCategoryRequestAutomationRulesInnerComparisonTypeEnum = typeof StoreProductCategoryRequestAutomationRulesInnerComparisonTypeEnum[keyof typeof StoreProductCategoryRequestAutomationRulesInnerComparisonTypeEnum];
87
-
88
-
89
60
  /**
90
61
  * Check if a given object implements the StoreProductCategoryRequestAutomationRulesInner interface.
91
62
  */
@@ -52,7 +52,7 @@ export interface StoreProductChildRequest {
52
52
  * @type {string}
53
53
  * @memberof StoreProductChildRequest
54
54
  */
55
- name?: string;
55
+ name: string;
56
56
  /**
57
57
  *
58
58
  * @type {string}
@@ -156,6 +156,7 @@ export interface StoreProductChildRequest {
156
156
  */
157
157
  export function instanceOfStoreProductChildRequest(value: object): value is StoreProductChildRequest {
158
158
  if (!('productId' in value) || value['productId'] === undefined) return false;
159
+ if (!('name' in value) || value['name'] === undefined) return false;
159
160
  if (!('sku' in value) || value['sku'] === undefined) return false;
160
161
  if (!('model' in value) || value['model'] === undefined) return false;
161
162
  if (!('hideFromFrontend' in value) || value['hideFromFrontend'] === undefined) return false;
@@ -180,7 +181,7 @@ export function StoreProductChildRequestFromJSONTyped(json: any, ignoreDiscrimin
180
181
  return {
181
182
 
182
183
  'productId': json['product_id'],
183
- 'name': json['name'] == null ? undefined : json['name'],
184
+ 'name': json['name'],
184
185
  'sku': json['sku'],
185
186
  'model': json['model'],
186
187
  'newArrivalStartDate': json['new_arrival_start_date'] == null ? undefined : (new Date(json['new_arrival_start_date'])),
@@ -30,7 +30,7 @@ export interface StoreProductChildRequestSitesInner {
30
30
  * @type {string}
31
31
  * @memberof StoreProductChildRequestSitesInner
32
32
  */
33
- name?: string;
33
+ name: string;
34
34
  /**
35
35
  *
36
36
  * @type {string}
@@ -86,6 +86,7 @@ export interface StoreProductChildRequestSitesInner {
86
86
  */
87
87
  export function instanceOfStoreProductChildRequestSitesInner(value: object): value is StoreProductChildRequestSitesInner {
88
88
  if (!('siteId' in value) || value['siteId'] === undefined) return false;
89
+ if (!('name' in value) || value['name'] === undefined) return false;
89
90
  if (!('description' in value) || value['description'] === undefined) return false;
90
91
  if (!('rrpPrice' in value) || value['rrpPrice'] === undefined) return false;
91
92
  if (!('salePrice' in value) || value['salePrice'] === undefined) return false;
@@ -105,7 +106,7 @@ export function StoreProductChildRequestSitesInnerFromJSONTyped(json: any, ignor
105
106
  return {
106
107
 
107
108
  'siteId': json['site_id'],
108
- 'name': json['name'] == null ? undefined : json['name'],
109
+ 'name': json['name'],
109
110
  'displayName': json['display_name'] == null ? undefined : json['display_name'],
110
111
  'description': json['description'],
111
112
  'rrpPrice': json['rrp_price'],
@@ -80,7 +80,7 @@ export interface UpdateProductCategoryRequest {
80
80
  * @type {string}
81
81
  * @memberof UpdateProductCategoryRequest
82
82
  */
83
- automatedConditionType?: UpdateProductCategoryRequestAutomatedConditionTypeEnum;
83
+ automatedConditionType?: string;
84
84
  /**
85
85
  *
86
86
  * @type {Array<StoreProductCategoryRequestAutomationRulesInner>}
@@ -107,17 +107,6 @@ export interface UpdateProductCategoryRequest {
107
107
  fileId?: number;
108
108
  }
109
109
 
110
-
111
- /**
112
- * @export
113
- */
114
- export const UpdateProductCategoryRequestAutomatedConditionTypeEnum = {
115
- And: 'and',
116
- Or: 'or'
117
- } as const;
118
- export type UpdateProductCategoryRequestAutomatedConditionTypeEnum = typeof UpdateProductCategoryRequestAutomatedConditionTypeEnum[keyof typeof UpdateProductCategoryRequestAutomatedConditionTypeEnum];
119
-
120
-
121
110
  /**
122
111
  * Check if a given object implements the UpdateProductCategoryRequest interface.
123
112
  */
@@ -107,7 +107,6 @@ export * from './PaginatedProductChildResourceResponse';
107
107
  export * from './PaginatedProductListResourceResponse';
108
108
  export * from './PaginatedProductLiteResourceResponse';
109
109
  export * from './PaginatedProductResourceResponse';
110
- export * from './PaginatedProductSearchResultResourceResponse';
111
110
  export * from './PaginatedProductTypeListResourceResponse';
112
111
  export * from './PaginatedProductTypeLiteResourceResponse';
113
112
  export * from './PaginatedProductTypeResourceResponse';
@@ -124,8 +123,6 @@ export * from './PaginatedTagListResourceResponse';
124
123
  export * from './PaginatedTagLiteResourceResponse';
125
124
  export * from './PaginatedTagResourceResponse';
126
125
  export * from './PagingMetadata';
127
- export * from './ProductAggregationResource';
128
- export * from './ProductAggregationResourceArrayResponse';
129
126
  export * from './ProductCategoryHierarchyResource';
130
127
  export * from './ProductCategoryHierarchyResourceArrayResponse';
131
128
  export * from './ProductCategoryListResource';
@@ -152,17 +149,8 @@ export * from './ProductListResource';
152
149
  export * from './ProductListResourceArrayResponse';
153
150
  export * from './ProductLiteResource';
154
151
  export * from './ProductLiteResourceArrayResponse';
155
- export * from './ProductRating';
156
152
  export * from './ProductResource';
157
153
  export * from './ProductResourceArrayResponse';
158
- export * from './ProductSearchResponseResource';
159
- export * from './ProductSearchResponseResourceArrayResponse';
160
- export * from './ProductSearchResponseResourceMeta';
161
- export * from './ProductSearchResponseResourcePriceInfo';
162
- export * from './ProductSearchResultResource';
163
- export * from './ProductSearchResultResourceArrayResponse';
164
- export * from './ProductSortBy';
165
- export * from './ProductStatus';
166
154
  export * from './ProductTypeListResource';
167
155
  export * from './ProductTypeListResourceArrayResponse';
168
156
  export * from './ProductTypeLiteResource';