@digital8/lighting-illusions-ts-sdk 0.0.569 → 0.0.571

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 (38) hide show
  1. package/.openapi-generator/FILES +4 -4
  2. package/README.md +4 -6
  3. package/dist/apis/ProductCategoryApi.d.ts +3 -27
  4. package/dist/apis/ProductCategoryApi.js +1 -97
  5. package/dist/models/PreviewAutomationRulesProductCategoryRequest.d.ts +2 -2
  6. package/dist/models/PreviewAutomationRulesResource.d.ts +38 -0
  7. package/dist/models/PreviewAutomationRulesResource.js +55 -0
  8. package/dist/models/PreviewAutomationRulesResourceArrayResponse.d.ts +33 -0
  9. package/dist/models/PreviewAutomationRulesResourceArrayResponse.js +50 -0
  10. package/dist/models/ProductCategoryListResource.d.ts +6 -0
  11. package/dist/models/ProductCategoryListResource.js +4 -0
  12. package/dist/models/ProductRating.d.ts +1 -0
  13. package/dist/models/ProductRating.js +2 -1
  14. package/dist/models/ProductSearchResultResource.d.ts +6 -0
  15. package/dist/models/ProductSearchResultResource.js +4 -0
  16. package/dist/models/index.d.ts +2 -2
  17. package/dist/models/index.js +2 -2
  18. package/docs/PreviewAutomationRulesProductCategoryRequest.md +1 -1
  19. package/docs/{AttachProductsProductCategoryRequest.md → PreviewAutomationRulesResource.md} +8 -6
  20. package/docs/{DetachProductsProductCategoryRequest.md → PreviewAutomationRulesResourceArrayResponse.md} +6 -6
  21. package/docs/ProductCategoryApi.md +3 -141
  22. package/docs/ProductCategoryListResource.md +2 -0
  23. package/docs/ProductSearchResultResource.md +2 -0
  24. package/package.json +1 -1
  25. package/src/apis/ProductCategoryApi.ts +6 -99
  26. package/src/models/PreviewAutomationRulesProductCategoryRequest.ts +2 -2
  27. package/src/models/PreviewAutomationRulesResource.ts +75 -0
  28. package/src/models/PreviewAutomationRulesResourceArrayResponse.ts +73 -0
  29. package/src/models/ProductCategoryListResource.ts +9 -0
  30. package/src/models/ProductRating.ts +2 -1
  31. package/src/models/ProductSearchResultResource.ts +9 -0
  32. package/src/models/index.ts +2 -2
  33. package/dist/models/AttachProductsProductCategoryRequest.d.ts +0 -32
  34. package/dist/models/AttachProductsProductCategoryRequest.js +0 -51
  35. package/dist/models/DetachProductsProductCategoryRequest.d.ts +0 -32
  36. package/dist/models/DetachProductsProductCategoryRequest.js +0 -51
  37. package/src/models/AttachProductsProductCategoryRequest.ts +0 -66
  38. package/src/models/DetachProductsProductCategoryRequest.ts +0 -66
@@ -91,6 +91,12 @@ export interface ProductSearchResultResource {
91
91
  * @memberof ProductSearchResultResource
92
92
  */
93
93
  supplierName: string;
94
+ /**
95
+ *
96
+ * @type {string}
97
+ * @memberof ProductSearchResultResource
98
+ */
99
+ supplierLogo: string;
94
100
  /**
95
101
  *
96
102
  * @type {number}
@@ -126,6 +132,7 @@ export function instanceOfProductSearchResultResource(value: object): value is P
126
132
  if (!('labelDetails' in value) || value['labelDetails'] === undefined) return false;
127
133
  if (!('categories' in value) || value['categories'] === undefined) return false;
128
134
  if (!('supplierName' in value) || value['supplierName'] === undefined) return false;
135
+ if (!('supplierLogo' in value) || value['supplierLogo'] === undefined) return false;
129
136
  if (!('supplierId' in value) || value['supplierId'] === undefined) return false;
130
137
  if (!('availability' in value) || value['availability'] === undefined) return false;
131
138
  if (!('wishlisted' in value) || value['wishlisted'] === undefined) return false;
@@ -154,6 +161,7 @@ export function ProductSearchResultResourceFromJSONTyped(json: any, ignoreDiscri
154
161
  'labelDetails': json['labelDetails'],
155
162
  'categories': json['categories'],
156
163
  'supplierName': json['supplierName'],
164
+ 'supplierLogo': json['supplierLogo'],
157
165
  'supplierId': json['supplierId'],
158
166
  'availability': json['availability'],
159
167
  'wishlisted': json['wishlisted'],
@@ -183,6 +191,7 @@ export function ProductSearchResultResourceToJSONTyped(value?: ProductSearchResu
183
191
  'labelDetails': value['labelDetails'],
184
192
  'categories': value['categories'],
185
193
  'supplierName': value['supplierName'],
194
+ 'supplierLogo': value['supplierLogo'],
186
195
  'supplierId': value['supplierId'],
187
196
  'availability': value['availability'],
188
197
  'wishlisted': value['wishlisted'],
@@ -14,7 +14,6 @@ export * from './AttachDocumentablesDocumentRequestDocumentablesInner';
14
14
  export * from './AttachDocumentsProductChildSiteDetailRequest';
15
15
  export * from './AttachDocumentsProductChildSiteDetailRequestDocumentsInner';
16
16
  export * from './AttachProductTypeAttributeRequest';
17
- export * from './AttachProductsProductCategoryRequest';
18
17
  export * from './AttributeFieldType';
19
18
  export * from './AttributeListResource';
20
19
  export * from './AttributeListResourceArrayResponse';
@@ -40,7 +39,6 @@ export * from './DetachAssetableOverlayTemplateRequest';
40
39
  export * from './DetachDocumentablesDocumentRequest';
41
40
  export * from './DetachDocumentablesDocumentRequestDocumentablesInner';
42
41
  export * from './DetachDocumentsProductChildSiteDetailRequest';
43
- export * from './DetachProductsProductCategoryRequest';
44
42
  export * from './DocumentFileForUploadResource';
45
43
  export * from './DocumentFileForUploadResourceArrayResponse';
46
44
  export * from './DocumentLiteResource';
@@ -127,6 +125,8 @@ export * from './PaginatedTagLiteResourceResponse';
127
125
  export * from './PaginatedTagResourceResponse';
128
126
  export * from './PagingMetadata';
129
127
  export * from './PreviewAutomationRulesProductCategoryRequest';
128
+ export * from './PreviewAutomationRulesResource';
129
+ export * from './PreviewAutomationRulesResourceArrayResponse';
130
130
  export * from './ProductAggregationResource';
131
131
  export * from './ProductAggregationResourceArrayResponse';
132
132
  export * from './ProductCategoryHierarchyResource';
@@ -1,32 +0,0 @@
1
- /**
2
- * My API
3
- * API documentation for my Laravel app
4
- *
5
- * The version of the OpenAPI document: 1.0.0
6
- *
7
- *
8
- * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
9
- * https://openapi-generator.tech
10
- * Do not edit the class manually.
11
- */
12
- /**
13
- *
14
- * @export
15
- * @interface AttachProductsProductCategoryRequest
16
- */
17
- export interface AttachProductsProductCategoryRequest {
18
- /**
19
- *
20
- * @type {Array<number>}
21
- * @memberof AttachProductsProductCategoryRequest
22
- */
23
- productChildSiteDetailIds: Array<number>;
24
- }
25
- /**
26
- * Check if a given object implements the AttachProductsProductCategoryRequest interface.
27
- */
28
- export declare function instanceOfAttachProductsProductCategoryRequest(value: object): value is AttachProductsProductCategoryRequest;
29
- export declare function AttachProductsProductCategoryRequestFromJSON(json: any): AttachProductsProductCategoryRequest;
30
- export declare function AttachProductsProductCategoryRequestFromJSONTyped(json: any, ignoreDiscriminator: boolean): AttachProductsProductCategoryRequest;
31
- export declare function AttachProductsProductCategoryRequestToJSON(json: any): AttachProductsProductCategoryRequest;
32
- export declare function AttachProductsProductCategoryRequestToJSONTyped(value?: AttachProductsProductCategoryRequest | null, ignoreDiscriminator?: boolean): any;
@@ -1,51 +0,0 @@
1
- "use strict";
2
- /* tslint:disable */
3
- /* eslint-disable */
4
- /**
5
- * My API
6
- * API documentation for my Laravel app
7
- *
8
- * The version of the OpenAPI document: 1.0.0
9
- *
10
- *
11
- * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
12
- * https://openapi-generator.tech
13
- * Do not edit the class manually.
14
- */
15
- Object.defineProperty(exports, "__esModule", { value: true });
16
- exports.instanceOfAttachProductsProductCategoryRequest = instanceOfAttachProductsProductCategoryRequest;
17
- exports.AttachProductsProductCategoryRequestFromJSON = AttachProductsProductCategoryRequestFromJSON;
18
- exports.AttachProductsProductCategoryRequestFromJSONTyped = AttachProductsProductCategoryRequestFromJSONTyped;
19
- exports.AttachProductsProductCategoryRequestToJSON = AttachProductsProductCategoryRequestToJSON;
20
- exports.AttachProductsProductCategoryRequestToJSONTyped = AttachProductsProductCategoryRequestToJSONTyped;
21
- /**
22
- * Check if a given object implements the AttachProductsProductCategoryRequest interface.
23
- */
24
- function instanceOfAttachProductsProductCategoryRequest(value) {
25
- if (!('productChildSiteDetailIds' in value) || value['productChildSiteDetailIds'] === undefined)
26
- return false;
27
- return true;
28
- }
29
- function AttachProductsProductCategoryRequestFromJSON(json) {
30
- return AttachProductsProductCategoryRequestFromJSONTyped(json, false);
31
- }
32
- function AttachProductsProductCategoryRequestFromJSONTyped(json, ignoreDiscriminator) {
33
- if (json == null) {
34
- return json;
35
- }
36
- return {
37
- 'productChildSiteDetailIds': json['product_child_site_detail_ids'],
38
- };
39
- }
40
- function AttachProductsProductCategoryRequestToJSON(json) {
41
- return AttachProductsProductCategoryRequestToJSONTyped(json, false);
42
- }
43
- function AttachProductsProductCategoryRequestToJSONTyped(value, ignoreDiscriminator) {
44
- if (ignoreDiscriminator === void 0) { ignoreDiscriminator = false; }
45
- if (value == null) {
46
- return value;
47
- }
48
- return {
49
- 'product_child_site_detail_ids': value['productChildSiteDetailIds'],
50
- };
51
- }
@@ -1,32 +0,0 @@
1
- /**
2
- * My API
3
- * API documentation for my Laravel app
4
- *
5
- * The version of the OpenAPI document: 1.0.0
6
- *
7
- *
8
- * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
9
- * https://openapi-generator.tech
10
- * Do not edit the class manually.
11
- */
12
- /**
13
- *
14
- * @export
15
- * @interface DetachProductsProductCategoryRequest
16
- */
17
- export interface DetachProductsProductCategoryRequest {
18
- /**
19
- *
20
- * @type {Array<number>}
21
- * @memberof DetachProductsProductCategoryRequest
22
- */
23
- productChildSiteDetailIds: Array<number>;
24
- }
25
- /**
26
- * Check if a given object implements the DetachProductsProductCategoryRequest interface.
27
- */
28
- export declare function instanceOfDetachProductsProductCategoryRequest(value: object): value is DetachProductsProductCategoryRequest;
29
- export declare function DetachProductsProductCategoryRequestFromJSON(json: any): DetachProductsProductCategoryRequest;
30
- export declare function DetachProductsProductCategoryRequestFromJSONTyped(json: any, ignoreDiscriminator: boolean): DetachProductsProductCategoryRequest;
31
- export declare function DetachProductsProductCategoryRequestToJSON(json: any): DetachProductsProductCategoryRequest;
32
- export declare function DetachProductsProductCategoryRequestToJSONTyped(value?: DetachProductsProductCategoryRequest | null, ignoreDiscriminator?: boolean): any;
@@ -1,51 +0,0 @@
1
- "use strict";
2
- /* tslint:disable */
3
- /* eslint-disable */
4
- /**
5
- * My API
6
- * API documentation for my Laravel app
7
- *
8
- * The version of the OpenAPI document: 1.0.0
9
- *
10
- *
11
- * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
12
- * https://openapi-generator.tech
13
- * Do not edit the class manually.
14
- */
15
- Object.defineProperty(exports, "__esModule", { value: true });
16
- exports.instanceOfDetachProductsProductCategoryRequest = instanceOfDetachProductsProductCategoryRequest;
17
- exports.DetachProductsProductCategoryRequestFromJSON = DetachProductsProductCategoryRequestFromJSON;
18
- exports.DetachProductsProductCategoryRequestFromJSONTyped = DetachProductsProductCategoryRequestFromJSONTyped;
19
- exports.DetachProductsProductCategoryRequestToJSON = DetachProductsProductCategoryRequestToJSON;
20
- exports.DetachProductsProductCategoryRequestToJSONTyped = DetachProductsProductCategoryRequestToJSONTyped;
21
- /**
22
- * Check if a given object implements the DetachProductsProductCategoryRequest interface.
23
- */
24
- function instanceOfDetachProductsProductCategoryRequest(value) {
25
- if (!('productChildSiteDetailIds' in value) || value['productChildSiteDetailIds'] === undefined)
26
- return false;
27
- return true;
28
- }
29
- function DetachProductsProductCategoryRequestFromJSON(json) {
30
- return DetachProductsProductCategoryRequestFromJSONTyped(json, false);
31
- }
32
- function DetachProductsProductCategoryRequestFromJSONTyped(json, ignoreDiscriminator) {
33
- if (json == null) {
34
- return json;
35
- }
36
- return {
37
- 'productChildSiteDetailIds': json['product_child_site_detail_ids'],
38
- };
39
- }
40
- function DetachProductsProductCategoryRequestToJSON(json) {
41
- return DetachProductsProductCategoryRequestToJSONTyped(json, false);
42
- }
43
- function DetachProductsProductCategoryRequestToJSONTyped(value, ignoreDiscriminator) {
44
- if (ignoreDiscriminator === void 0) { ignoreDiscriminator = false; }
45
- if (value == null) {
46
- return value;
47
- }
48
- return {
49
- 'product_child_site_detail_ids': value['productChildSiteDetailIds'],
50
- };
51
- }
@@ -1,66 +0,0 @@
1
- /* tslint:disable */
2
- /* eslint-disable */
3
- /**
4
- * My API
5
- * API documentation for my Laravel app
6
- *
7
- * The version of the OpenAPI document: 1.0.0
8
- *
9
- *
10
- * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
11
- * https://openapi-generator.tech
12
- * Do not edit the class manually.
13
- */
14
-
15
- import { mapValues } from '../runtime';
16
- /**
17
- *
18
- * @export
19
- * @interface AttachProductsProductCategoryRequest
20
- */
21
- export interface AttachProductsProductCategoryRequest {
22
- /**
23
- *
24
- * @type {Array<number>}
25
- * @memberof AttachProductsProductCategoryRequest
26
- */
27
- productChildSiteDetailIds: Array<number>;
28
- }
29
-
30
- /**
31
- * Check if a given object implements the AttachProductsProductCategoryRequest interface.
32
- */
33
- export function instanceOfAttachProductsProductCategoryRequest(value: object): value is AttachProductsProductCategoryRequest {
34
- if (!('productChildSiteDetailIds' in value) || value['productChildSiteDetailIds'] === undefined) return false;
35
- return true;
36
- }
37
-
38
- export function AttachProductsProductCategoryRequestFromJSON(json: any): AttachProductsProductCategoryRequest {
39
- return AttachProductsProductCategoryRequestFromJSONTyped(json, false);
40
- }
41
-
42
- export function AttachProductsProductCategoryRequestFromJSONTyped(json: any, ignoreDiscriminator: boolean): AttachProductsProductCategoryRequest {
43
- if (json == null) {
44
- return json;
45
- }
46
- return {
47
-
48
- 'productChildSiteDetailIds': json['product_child_site_detail_ids'],
49
- };
50
- }
51
-
52
- export function AttachProductsProductCategoryRequestToJSON(json: any): AttachProductsProductCategoryRequest {
53
- return AttachProductsProductCategoryRequestToJSONTyped(json, false);
54
- }
55
-
56
- export function AttachProductsProductCategoryRequestToJSONTyped(value?: AttachProductsProductCategoryRequest | null, ignoreDiscriminator: boolean = false): any {
57
- if (value == null) {
58
- return value;
59
- }
60
-
61
- return {
62
-
63
- 'product_child_site_detail_ids': value['productChildSiteDetailIds'],
64
- };
65
- }
66
-
@@ -1,66 +0,0 @@
1
- /* tslint:disable */
2
- /* eslint-disable */
3
- /**
4
- * My API
5
- * API documentation for my Laravel app
6
- *
7
- * The version of the OpenAPI document: 1.0.0
8
- *
9
- *
10
- * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
11
- * https://openapi-generator.tech
12
- * Do not edit the class manually.
13
- */
14
-
15
- import { mapValues } from '../runtime';
16
- /**
17
- *
18
- * @export
19
- * @interface DetachProductsProductCategoryRequest
20
- */
21
- export interface DetachProductsProductCategoryRequest {
22
- /**
23
- *
24
- * @type {Array<number>}
25
- * @memberof DetachProductsProductCategoryRequest
26
- */
27
- productChildSiteDetailIds: Array<number>;
28
- }
29
-
30
- /**
31
- * Check if a given object implements the DetachProductsProductCategoryRequest interface.
32
- */
33
- export function instanceOfDetachProductsProductCategoryRequest(value: object): value is DetachProductsProductCategoryRequest {
34
- if (!('productChildSiteDetailIds' in value) || value['productChildSiteDetailIds'] === undefined) return false;
35
- return true;
36
- }
37
-
38
- export function DetachProductsProductCategoryRequestFromJSON(json: any): DetachProductsProductCategoryRequest {
39
- return DetachProductsProductCategoryRequestFromJSONTyped(json, false);
40
- }
41
-
42
- export function DetachProductsProductCategoryRequestFromJSONTyped(json: any, ignoreDiscriminator: boolean): DetachProductsProductCategoryRequest {
43
- if (json == null) {
44
- return json;
45
- }
46
- return {
47
-
48
- 'productChildSiteDetailIds': json['product_child_site_detail_ids'],
49
- };
50
- }
51
-
52
- export function DetachProductsProductCategoryRequestToJSON(json: any): DetachProductsProductCategoryRequest {
53
- return DetachProductsProductCategoryRequestToJSONTyped(json, false);
54
- }
55
-
56
- export function DetachProductsProductCategoryRequestToJSONTyped(value?: DetachProductsProductCategoryRequest | null, ignoreDiscriminator: boolean = false): any {
57
- if (value == null) {
58
- return value;
59
- }
60
-
61
- return {
62
-
63
- 'product_child_site_detail_ids': value['productChildSiteDetailIds'],
64
- };
65
- }
66
-