@digital8/lighting-illusions-ts-sdk 0.0.552 → 0.0.553
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/.openapi-generator/FILES +0 -4
- package/README.md +2 -4
- package/dist/apis/ProductCategoryApi.d.ts +3 -3
- package/dist/apis/ProductCategoryApi.js +1 -1
- package/dist/models/ExternalApiLogResource.d.ts +1 -1
- package/dist/models/ExternalApiLogResource.js +3 -1
- package/dist/models/PreviewAutomationRulesProductCategoryRequest.d.ts +2 -2
- package/dist/models/ProductRating.d.ts +1 -0
- package/dist/models/ProductRating.js +2 -1
- package/dist/models/ProductSearchResultResource.d.ts +6 -0
- package/dist/models/ProductSearchResultResource.js +4 -0
- package/dist/models/index.d.ts +0 -2
- package/dist/models/index.js +0 -2
- package/docs/PreviewAutomationRulesProductCategoryRequest.md +1 -1
- package/docs/ProductCategoryApi.md +3 -3
- package/docs/ProductSearchResultResource.md +2 -0
- package/package.json +1 -1
- package/src/apis/ProductCategoryApi.ts +3 -6
- package/src/models/ExternalApiLogResource.ts +3 -2
- package/src/models/PreviewAutomationRulesProductCategoryRequest.ts +2 -2
- package/src/models/ProductRating.ts +2 -1
- package/src/models/ProductSearchResultResource.ts +9 -0
- package/src/models/index.ts +0 -2
- package/dist/models/PreviewAutomationRulesResource.d.ts +0 -38
- package/dist/models/PreviewAutomationRulesResource.js +0 -55
- package/dist/models/PreviewAutomationRulesResourceArrayResponse.d.ts +0 -33
- package/dist/models/PreviewAutomationRulesResourceArrayResponse.js +0 -50
- package/docs/PreviewAutomationRulesResource.md +0 -36
- package/docs/PreviewAutomationRulesResourceArrayResponse.md +0 -34
- package/src/models/PreviewAutomationRulesResource.ts +0 -75
- package/src/models/PreviewAutomationRulesResourceArrayResponse.ts +0 -73
package/.openapi-generator/FILES
CHANGED
|
@@ -133,8 +133,6 @@ docs/PaginatedTagLiteResourceResponse.md
|
|
|
133
133
|
docs/PaginatedTagResourceResponse.md
|
|
134
134
|
docs/PagingMetadata.md
|
|
135
135
|
docs/PreviewAutomationRulesProductCategoryRequest.md
|
|
136
|
-
docs/PreviewAutomationRulesResource.md
|
|
137
|
-
docs/PreviewAutomationRulesResourceArrayResponse.md
|
|
138
136
|
docs/ProductAggregationResource.md
|
|
139
137
|
docs/ProductAggregationResourceArrayResponse.md
|
|
140
138
|
docs/ProductApi.md
|
|
@@ -398,8 +396,6 @@ src/models/PaginatedTagLiteResourceResponse.ts
|
|
|
398
396
|
src/models/PaginatedTagResourceResponse.ts
|
|
399
397
|
src/models/PagingMetadata.ts
|
|
400
398
|
src/models/PreviewAutomationRulesProductCategoryRequest.ts
|
|
401
|
-
src/models/PreviewAutomationRulesResource.ts
|
|
402
|
-
src/models/PreviewAutomationRulesResourceArrayResponse.ts
|
|
403
399
|
src/models/ProductAggregationResource.ts
|
|
404
400
|
src/models/ProductAggregationResourceArrayResponse.ts
|
|
405
401
|
src/models/ProductCategoryHierarchyResource.ts
|
package/README.md
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
# @digital8/lighting-illusions-ts-sdk@0.0.
|
|
1
|
+
# @digital8/lighting-illusions-ts-sdk@0.0.553
|
|
2
2
|
|
|
3
3
|
A TypeScript SDK client for the localhost API.
|
|
4
4
|
|
|
@@ -280,8 +280,6 @@ All URIs are relative to *http://localhost/api*
|
|
|
280
280
|
- [PaginatedTagResourceResponse](docs/PaginatedTagResourceResponse.md)
|
|
281
281
|
- [PagingMetadata](docs/PagingMetadata.md)
|
|
282
282
|
- [PreviewAutomationRulesProductCategoryRequest](docs/PreviewAutomationRulesProductCategoryRequest.md)
|
|
283
|
-
- [PreviewAutomationRulesResource](docs/PreviewAutomationRulesResource.md)
|
|
284
|
-
- [PreviewAutomationRulesResourceArrayResponse](docs/PreviewAutomationRulesResourceArrayResponse.md)
|
|
285
283
|
- [ProductAggregationResource](docs/ProductAggregationResource.md)
|
|
286
284
|
- [ProductAggregationResourceArrayResponse](docs/ProductAggregationResourceArrayResponse.md)
|
|
287
285
|
- [ProductCategoryHierarchyResource](docs/ProductCategoryHierarchyResource.md)
|
|
@@ -410,7 +408,7 @@ and is automatically generated by the
|
|
|
410
408
|
[OpenAPI Generator](https://openapi-generator.tech) project:
|
|
411
409
|
|
|
412
410
|
- API version: `1.0.0`
|
|
413
|
-
- Package version: `0.0.
|
|
411
|
+
- Package version: `0.0.553`
|
|
414
412
|
- Generator version: `7.18.0`
|
|
415
413
|
- Build package: `org.openapitools.codegen.languages.TypeScriptFetchClientCodegen`
|
|
416
414
|
|
|
@@ -10,7 +10,7 @@
|
|
|
10
10
|
* Do not edit the class manually.
|
|
11
11
|
*/
|
|
12
12
|
import * as runtime from '../runtime';
|
|
13
|
-
import type { GenericResponse, GetAllProductCategoryRequest, IndexProductCategoryRequest, PaginatedProductCategoryListResourceResponse, PreviewAutomationRulesProductCategoryRequest,
|
|
13
|
+
import type { GenericResponse, GetAllProductCategoryRequest, IndexProductCategoryRequest, PaginatedProductCategoryListResourceResponse, PreviewAutomationRulesProductCategoryRequest, ProductCategoryHierarchyResourceArrayResponse, ProductCategoryLiteResourceArrayResponse, ProductCategoryResource, StoreProductCategoryRequest, UpdateProductCategoryRequest } from '../models/index';
|
|
14
14
|
export interface DestroyProductCategoryRequest {
|
|
15
15
|
productCategory: number;
|
|
16
16
|
}
|
|
@@ -84,11 +84,11 @@ export declare class ProductCategoryApi extends runtime.BaseAPI {
|
|
|
84
84
|
/**
|
|
85
85
|
* Auto-generated: previewAutomationRulesProductCategory
|
|
86
86
|
*/
|
|
87
|
-
previewAutomationRulesProductCategoryRaw(requestParameters: PreviewAutomationRulesProductCategoryOperationRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<
|
|
87
|
+
previewAutomationRulesProductCategoryRaw(requestParameters: PreviewAutomationRulesProductCategoryOperationRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<GenericResponse>>;
|
|
88
88
|
/**
|
|
89
89
|
* Auto-generated: previewAutomationRulesProductCategory
|
|
90
90
|
*/
|
|
91
|
-
previewAutomationRulesProductCategory(requestParameters?: PreviewAutomationRulesProductCategoryOperationRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<
|
|
91
|
+
previewAutomationRulesProductCategory(requestParameters?: PreviewAutomationRulesProductCategoryOperationRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<GenericResponse>;
|
|
92
92
|
/**
|
|
93
93
|
* Auto-generated: showProductCategory
|
|
94
94
|
*/
|
|
@@ -323,7 +323,7 @@ var ProductCategoryApi = /** @class */ (function (_super) {
|
|
|
323
323
|
}, initOverrides)];
|
|
324
324
|
case 1:
|
|
325
325
|
response = _a.sent();
|
|
326
|
-
return [2 /*return*/, new runtime.JSONApiResponse(response, function (jsonValue) { return (0, index_1.
|
|
326
|
+
return [2 /*return*/, new runtime.JSONApiResponse(response, function (jsonValue) { return (0, index_1.GenericResponseFromJSON)(jsonValue); })];
|
|
327
327
|
}
|
|
328
328
|
});
|
|
329
329
|
});
|
|
@@ -37,6 +37,8 @@ function instanceOfExternalApiLogResource(value) {
|
|
|
37
37
|
return false;
|
|
38
38
|
if (!('responseCode' in value) || value['responseCode'] === undefined)
|
|
39
39
|
return false;
|
|
40
|
+
if (!('requestPayload' in value) || value['requestPayload'] === undefined)
|
|
41
|
+
return false;
|
|
40
42
|
if (!('responsePayload' in value) || value['responsePayload'] === undefined)
|
|
41
43
|
return false;
|
|
42
44
|
if (!('site' in value) || value['site'] === undefined)
|
|
@@ -58,7 +60,7 @@ function ExternalApiLogResourceFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
58
60
|
'exteranlApiLoggableId': json['exteranlApiLoggableId'],
|
|
59
61
|
'endpoint': json['endpoint'],
|
|
60
62
|
'responseCode': json['responseCode'],
|
|
61
|
-
'requestPayload': json['requestPayload']
|
|
63
|
+
'requestPayload': json['requestPayload'],
|
|
62
64
|
'responsePayload': json['responsePayload'],
|
|
63
65
|
'createdAt': json['createdAt'] == null ? undefined : json['createdAt'],
|
|
64
66
|
'site': (0, SiteLiteResource_1.SiteLiteResourceFromJSON)(json['site']),
|
|
@@ -18,10 +18,10 @@ import type { StoreProductCategoryRequestAutomationRulesInner } from './StorePro
|
|
|
18
18
|
export interface PreviewAutomationRulesProductCategoryRequest {
|
|
19
19
|
/**
|
|
20
20
|
*
|
|
21
|
-
* @type {
|
|
21
|
+
* @type {string}
|
|
22
22
|
* @memberof PreviewAutomationRulesProductCategoryRequest
|
|
23
23
|
*/
|
|
24
|
-
siteId:
|
|
24
|
+
siteId: string;
|
|
25
25
|
/**
|
|
26
26
|
*
|
|
27
27
|
* @type {string}
|
|
@@ -17,6 +17,7 @@ export declare const ProductRating: {
|
|
|
17
17
|
readonly _5: "5";
|
|
18
18
|
readonly _4: "4";
|
|
19
19
|
readonly _3: "3";
|
|
20
|
+
readonly _2: "2";
|
|
20
21
|
};
|
|
21
22
|
export type ProductRating = typeof ProductRating[keyof typeof ProductRating];
|
|
22
23
|
export declare function instanceOfProductRating(value: any): boolean;
|
|
@@ -87,6 +87,12 @@ export interface ProductSearchResultResource {
|
|
|
87
87
|
* @memberof ProductSearchResultResource
|
|
88
88
|
*/
|
|
89
89
|
supplierName: string;
|
|
90
|
+
/**
|
|
91
|
+
*
|
|
92
|
+
* @type {string}
|
|
93
|
+
* @memberof ProductSearchResultResource
|
|
94
|
+
*/
|
|
95
|
+
supplierLogo: string;
|
|
90
96
|
/**
|
|
91
97
|
*
|
|
92
98
|
* @type {number}
|
|
@@ -44,6 +44,8 @@ function instanceOfProductSearchResultResource(value) {
|
|
|
44
44
|
return false;
|
|
45
45
|
if (!('supplierName' in value) || value['supplierName'] === undefined)
|
|
46
46
|
return false;
|
|
47
|
+
if (!('supplierLogo' in value) || value['supplierLogo'] === undefined)
|
|
48
|
+
return false;
|
|
47
49
|
if (!('supplierId' in value) || value['supplierId'] === undefined)
|
|
48
50
|
return false;
|
|
49
51
|
if (!('availability' in value) || value['availability'] === undefined)
|
|
@@ -72,6 +74,7 @@ function ProductSearchResultResourceFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
72
74
|
'labelDetails': json['labelDetails'],
|
|
73
75
|
'categories': json['categories'],
|
|
74
76
|
'supplierName': json['supplierName'],
|
|
77
|
+
'supplierLogo': json['supplierLogo'],
|
|
75
78
|
'supplierId': json['supplierId'],
|
|
76
79
|
'availability': json['availability'],
|
|
77
80
|
'wishlisted': json['wishlisted'],
|
|
@@ -98,6 +101,7 @@ function ProductSearchResultResourceToJSONTyped(value, ignoreDiscriminator) {
|
|
|
98
101
|
'labelDetails': value['labelDetails'],
|
|
99
102
|
'categories': value['categories'],
|
|
100
103
|
'supplierName': value['supplierName'],
|
|
104
|
+
'supplierLogo': value['supplierLogo'],
|
|
101
105
|
'supplierId': value['supplierId'],
|
|
102
106
|
'availability': value['availability'],
|
|
103
107
|
'wishlisted': value['wishlisted'],
|
package/dist/models/index.d.ts
CHANGED
|
@@ -123,8 +123,6 @@ export * from './PaginatedTagLiteResourceResponse';
|
|
|
123
123
|
export * from './PaginatedTagResourceResponse';
|
|
124
124
|
export * from './PagingMetadata';
|
|
125
125
|
export * from './PreviewAutomationRulesProductCategoryRequest';
|
|
126
|
-
export * from './PreviewAutomationRulesResource';
|
|
127
|
-
export * from './PreviewAutomationRulesResourceArrayResponse';
|
|
128
126
|
export * from './ProductAggregationResource';
|
|
129
127
|
export * from './ProductAggregationResourceArrayResponse';
|
|
130
128
|
export * from './ProductCategoryHierarchyResource';
|
package/dist/models/index.js
CHANGED
|
@@ -141,8 +141,6 @@ __exportStar(require("./PaginatedTagLiteResourceResponse"), exports);
|
|
|
141
141
|
__exportStar(require("./PaginatedTagResourceResponse"), exports);
|
|
142
142
|
__exportStar(require("./PagingMetadata"), exports);
|
|
143
143
|
__exportStar(require("./PreviewAutomationRulesProductCategoryRequest"), exports);
|
|
144
|
-
__exportStar(require("./PreviewAutomationRulesResource"), exports);
|
|
145
|
-
__exportStar(require("./PreviewAutomationRulesResourceArrayResponse"), exports);
|
|
146
144
|
__exportStar(require("./ProductAggregationResource"), exports);
|
|
147
145
|
__exportStar(require("./ProductAggregationResourceArrayResponse"), exports);
|
|
148
146
|
__exportStar(require("./ProductCategoryHierarchyResource"), exports);
|
|
@@ -338,7 +338,7 @@ No authorization required
|
|
|
338
338
|
|
|
339
339
|
## previewAutomationRulesProductCategory
|
|
340
340
|
|
|
341
|
-
>
|
|
341
|
+
> GenericResponse previewAutomationRulesProductCategory(previewAutomationRulesProductCategoryRequest)
|
|
342
342
|
|
|
343
343
|
Auto-generated: previewAutomationRulesProductCategory
|
|
344
344
|
|
|
@@ -381,7 +381,7 @@ example().catch(console.error);
|
|
|
381
381
|
|
|
382
382
|
### Return type
|
|
383
383
|
|
|
384
|
-
[**
|
|
384
|
+
[**GenericResponse**](GenericResponse.md)
|
|
385
385
|
|
|
386
386
|
### Authorization
|
|
387
387
|
|
|
@@ -396,7 +396,7 @@ No authorization required
|
|
|
396
396
|
### HTTP response details
|
|
397
397
|
| Status code | Description | Response headers |
|
|
398
398
|
|-------------|-------------|------------------|
|
|
399
|
-
| **200** |
|
|
399
|
+
| **200** | \\JsonResponse<array{count: int}> | - |
|
|
400
400
|
|
|
401
401
|
[[Back to top]](#) [[Back to API list]](../README.md#api-endpoints) [[Back to Model list]](../README.md#models) [[Back to README]](../README.md)
|
|
402
402
|
|
|
@@ -18,6 +18,7 @@ Name | Type
|
|
|
18
18
|
`labelDetails` | Array<number>
|
|
19
19
|
`categories` | Array<object>
|
|
20
20
|
`supplierName` | string
|
|
21
|
+
`supplierLogo` | string
|
|
21
22
|
`supplierId` | number
|
|
22
23
|
`availability` | string
|
|
23
24
|
`wishlisted` | boolean
|
|
@@ -41,6 +42,7 @@ const example = {
|
|
|
41
42
|
"labelDetails": null,
|
|
42
43
|
"categories": null,
|
|
43
44
|
"supplierName": null,
|
|
45
|
+
"supplierLogo": null,
|
|
44
46
|
"supplierId": null,
|
|
45
47
|
"availability": null,
|
|
46
48
|
"wishlisted": null,
|
package/package.json
CHANGED
|
@@ -20,7 +20,6 @@ import type {
|
|
|
20
20
|
IndexProductCategoryRequest,
|
|
21
21
|
PaginatedProductCategoryListResourceResponse,
|
|
22
22
|
PreviewAutomationRulesProductCategoryRequest,
|
|
23
|
-
PreviewAutomationRulesResource,
|
|
24
23
|
ProductCategoryHierarchyResourceArrayResponse,
|
|
25
24
|
ProductCategoryLiteResourceArrayResponse,
|
|
26
25
|
ProductCategoryResource,
|
|
@@ -38,8 +37,6 @@ import {
|
|
|
38
37
|
PaginatedProductCategoryListResourceResponseToJSON,
|
|
39
38
|
PreviewAutomationRulesProductCategoryRequestFromJSON,
|
|
40
39
|
PreviewAutomationRulesProductCategoryRequestToJSON,
|
|
41
|
-
PreviewAutomationRulesResourceFromJSON,
|
|
42
|
-
PreviewAutomationRulesResourceToJSON,
|
|
43
40
|
ProductCategoryHierarchyResourceArrayResponseFromJSON,
|
|
44
41
|
ProductCategoryHierarchyResourceArrayResponseToJSON,
|
|
45
42
|
ProductCategoryLiteResourceArrayResponseFromJSON,
|
|
@@ -264,7 +261,7 @@ export class ProductCategoryApi extends runtime.BaseAPI {
|
|
|
264
261
|
/**
|
|
265
262
|
* Auto-generated: previewAutomationRulesProductCategory
|
|
266
263
|
*/
|
|
267
|
-
async previewAutomationRulesProductCategoryRaw(requestParameters: PreviewAutomationRulesProductCategoryOperationRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<
|
|
264
|
+
async previewAutomationRulesProductCategoryRaw(requestParameters: PreviewAutomationRulesProductCategoryOperationRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<GenericResponse>> {
|
|
268
265
|
const queryParameters: any = {};
|
|
269
266
|
|
|
270
267
|
const headerParameters: runtime.HTTPHeaders = {};
|
|
@@ -282,13 +279,13 @@ export class ProductCategoryApi extends runtime.BaseAPI {
|
|
|
282
279
|
body: PreviewAutomationRulesProductCategoryRequestToJSON(requestParameters['previewAutomationRulesProductCategoryRequest']),
|
|
283
280
|
}, initOverrides);
|
|
284
281
|
|
|
285
|
-
return new runtime.JSONApiResponse(response, (jsonValue) =>
|
|
282
|
+
return new runtime.JSONApiResponse(response, (jsonValue) => GenericResponseFromJSON(jsonValue));
|
|
286
283
|
}
|
|
287
284
|
|
|
288
285
|
/**
|
|
289
286
|
* Auto-generated: previewAutomationRulesProductCategory
|
|
290
287
|
*/
|
|
291
|
-
async previewAutomationRulesProductCategory(requestParameters: PreviewAutomationRulesProductCategoryOperationRequest = {}, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<
|
|
288
|
+
async previewAutomationRulesProductCategory(requestParameters: PreviewAutomationRulesProductCategoryOperationRequest = {}, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<GenericResponse> {
|
|
292
289
|
const response = await this.previewAutomationRulesProductCategoryRaw(requestParameters, initOverrides);
|
|
293
290
|
return await response.value();
|
|
294
291
|
}
|
|
@@ -74,7 +74,7 @@ export interface ExternalApiLogResource {
|
|
|
74
74
|
* @type {string}
|
|
75
75
|
* @memberof ExternalApiLogResource
|
|
76
76
|
*/
|
|
77
|
-
requestPayload
|
|
77
|
+
requestPayload: string;
|
|
78
78
|
/**
|
|
79
79
|
*
|
|
80
80
|
* @type {string}
|
|
@@ -106,6 +106,7 @@ export function instanceOfExternalApiLogResource(value: object): value is Extern
|
|
|
106
106
|
if (!('exteranlApiLoggableId' in value) || value['exteranlApiLoggableId'] === undefined) return false;
|
|
107
107
|
if (!('endpoint' in value) || value['endpoint'] === undefined) return false;
|
|
108
108
|
if (!('responseCode' in value) || value['responseCode'] === undefined) return false;
|
|
109
|
+
if (!('requestPayload' in value) || value['requestPayload'] === undefined) return false;
|
|
109
110
|
if (!('responsePayload' in value) || value['responsePayload'] === undefined) return false;
|
|
110
111
|
if (!('site' in value) || value['site'] === undefined) return false;
|
|
111
112
|
return true;
|
|
@@ -128,7 +129,7 @@ export function ExternalApiLogResourceFromJSONTyped(json: any, ignoreDiscriminat
|
|
|
128
129
|
'exteranlApiLoggableId': json['exteranlApiLoggableId'],
|
|
129
130
|
'endpoint': json['endpoint'],
|
|
130
131
|
'responseCode': json['responseCode'],
|
|
131
|
-
'requestPayload': json['requestPayload']
|
|
132
|
+
'requestPayload': json['requestPayload'],
|
|
132
133
|
'responsePayload': json['responsePayload'],
|
|
133
134
|
'createdAt': json['createdAt'] == null ? undefined : json['createdAt'],
|
|
134
135
|
'site': SiteLiteResourceFromJSON(json['site']),
|
|
@@ -29,10 +29,10 @@ import {
|
|
|
29
29
|
export interface PreviewAutomationRulesProductCategoryRequest {
|
|
30
30
|
/**
|
|
31
31
|
*
|
|
32
|
-
* @type {
|
|
32
|
+
* @type {string}
|
|
33
33
|
* @memberof PreviewAutomationRulesProductCategoryRequest
|
|
34
34
|
*/
|
|
35
|
-
siteId:
|
|
35
|
+
siteId: string;
|
|
36
36
|
/**
|
|
37
37
|
*
|
|
38
38
|
* @type {string}
|
|
@@ -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'],
|
package/src/models/index.ts
CHANGED
|
@@ -125,8 +125,6 @@ export * from './PaginatedTagLiteResourceResponse';
|
|
|
125
125
|
export * from './PaginatedTagResourceResponse';
|
|
126
126
|
export * from './PagingMetadata';
|
|
127
127
|
export * from './PreviewAutomationRulesProductCategoryRequest';
|
|
128
|
-
export * from './PreviewAutomationRulesResource';
|
|
129
|
-
export * from './PreviewAutomationRulesResourceArrayResponse';
|
|
130
128
|
export * from './ProductAggregationResource';
|
|
131
129
|
export * from './ProductAggregationResourceArrayResponse';
|
|
132
130
|
export * from './ProductCategoryHierarchyResource';
|
|
@@ -1,38 +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 PreviewAutomationRulesResource
|
|
16
|
-
*/
|
|
17
|
-
export interface PreviewAutomationRulesResource {
|
|
18
|
-
/**
|
|
19
|
-
*
|
|
20
|
-
* @type {number}
|
|
21
|
-
* @memberof PreviewAutomationRulesResource
|
|
22
|
-
*/
|
|
23
|
-
count: number;
|
|
24
|
-
/**
|
|
25
|
-
*
|
|
26
|
-
* @type {boolean}
|
|
27
|
-
* @memberof PreviewAutomationRulesResource
|
|
28
|
-
*/
|
|
29
|
-
tooComplex: boolean;
|
|
30
|
-
}
|
|
31
|
-
/**
|
|
32
|
-
* Check if a given object implements the PreviewAutomationRulesResource interface.
|
|
33
|
-
*/
|
|
34
|
-
export declare function instanceOfPreviewAutomationRulesResource(value: object): value is PreviewAutomationRulesResource;
|
|
35
|
-
export declare function PreviewAutomationRulesResourceFromJSON(json: any): PreviewAutomationRulesResource;
|
|
36
|
-
export declare function PreviewAutomationRulesResourceFromJSONTyped(json: any, ignoreDiscriminator: boolean): PreviewAutomationRulesResource;
|
|
37
|
-
export declare function PreviewAutomationRulesResourceToJSON(json: any): PreviewAutomationRulesResource;
|
|
38
|
-
export declare function PreviewAutomationRulesResourceToJSONTyped(value?: PreviewAutomationRulesResource | null, ignoreDiscriminator?: boolean): any;
|
|
@@ -1,55 +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.instanceOfPreviewAutomationRulesResource = instanceOfPreviewAutomationRulesResource;
|
|
17
|
-
exports.PreviewAutomationRulesResourceFromJSON = PreviewAutomationRulesResourceFromJSON;
|
|
18
|
-
exports.PreviewAutomationRulesResourceFromJSONTyped = PreviewAutomationRulesResourceFromJSONTyped;
|
|
19
|
-
exports.PreviewAutomationRulesResourceToJSON = PreviewAutomationRulesResourceToJSON;
|
|
20
|
-
exports.PreviewAutomationRulesResourceToJSONTyped = PreviewAutomationRulesResourceToJSONTyped;
|
|
21
|
-
/**
|
|
22
|
-
* Check if a given object implements the PreviewAutomationRulesResource interface.
|
|
23
|
-
*/
|
|
24
|
-
function instanceOfPreviewAutomationRulesResource(value) {
|
|
25
|
-
if (!('count' in value) || value['count'] === undefined)
|
|
26
|
-
return false;
|
|
27
|
-
if (!('tooComplex' in value) || value['tooComplex'] === undefined)
|
|
28
|
-
return false;
|
|
29
|
-
return true;
|
|
30
|
-
}
|
|
31
|
-
function PreviewAutomationRulesResourceFromJSON(json) {
|
|
32
|
-
return PreviewAutomationRulesResourceFromJSONTyped(json, false);
|
|
33
|
-
}
|
|
34
|
-
function PreviewAutomationRulesResourceFromJSONTyped(json, ignoreDiscriminator) {
|
|
35
|
-
if (json == null) {
|
|
36
|
-
return json;
|
|
37
|
-
}
|
|
38
|
-
return {
|
|
39
|
-
'count': json['count'],
|
|
40
|
-
'tooComplex': json['too_complex'],
|
|
41
|
-
};
|
|
42
|
-
}
|
|
43
|
-
function PreviewAutomationRulesResourceToJSON(json) {
|
|
44
|
-
return PreviewAutomationRulesResourceToJSONTyped(json, false);
|
|
45
|
-
}
|
|
46
|
-
function PreviewAutomationRulesResourceToJSONTyped(value, ignoreDiscriminator) {
|
|
47
|
-
if (ignoreDiscriminator === void 0) { ignoreDiscriminator = false; }
|
|
48
|
-
if (value == null) {
|
|
49
|
-
return value;
|
|
50
|
-
}
|
|
51
|
-
return {
|
|
52
|
-
'count': value['count'],
|
|
53
|
-
'too_complex': value['tooComplex'],
|
|
54
|
-
};
|
|
55
|
-
}
|
|
@@ -1,33 +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
|
-
import type { PreviewAutomationRulesResource } from './PreviewAutomationRulesResource';
|
|
13
|
-
/**
|
|
14
|
-
*
|
|
15
|
-
* @export
|
|
16
|
-
* @interface PreviewAutomationRulesResourceArrayResponse
|
|
17
|
-
*/
|
|
18
|
-
export interface PreviewAutomationRulesResourceArrayResponse {
|
|
19
|
-
/**
|
|
20
|
-
*
|
|
21
|
-
* @type {Array<PreviewAutomationRulesResource>}
|
|
22
|
-
* @memberof PreviewAutomationRulesResourceArrayResponse
|
|
23
|
-
*/
|
|
24
|
-
data?: Array<PreviewAutomationRulesResource>;
|
|
25
|
-
}
|
|
26
|
-
/**
|
|
27
|
-
* Check if a given object implements the PreviewAutomationRulesResourceArrayResponse interface.
|
|
28
|
-
*/
|
|
29
|
-
export declare function instanceOfPreviewAutomationRulesResourceArrayResponse(value: object): value is PreviewAutomationRulesResourceArrayResponse;
|
|
30
|
-
export declare function PreviewAutomationRulesResourceArrayResponseFromJSON(json: any): PreviewAutomationRulesResourceArrayResponse;
|
|
31
|
-
export declare function PreviewAutomationRulesResourceArrayResponseFromJSONTyped(json: any, ignoreDiscriminator: boolean): PreviewAutomationRulesResourceArrayResponse;
|
|
32
|
-
export declare function PreviewAutomationRulesResourceArrayResponseToJSON(json: any): PreviewAutomationRulesResourceArrayResponse;
|
|
33
|
-
export declare function PreviewAutomationRulesResourceArrayResponseToJSONTyped(value?: PreviewAutomationRulesResourceArrayResponse | null, ignoreDiscriminator?: boolean): any;
|
|
@@ -1,50 +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.instanceOfPreviewAutomationRulesResourceArrayResponse = instanceOfPreviewAutomationRulesResourceArrayResponse;
|
|
17
|
-
exports.PreviewAutomationRulesResourceArrayResponseFromJSON = PreviewAutomationRulesResourceArrayResponseFromJSON;
|
|
18
|
-
exports.PreviewAutomationRulesResourceArrayResponseFromJSONTyped = PreviewAutomationRulesResourceArrayResponseFromJSONTyped;
|
|
19
|
-
exports.PreviewAutomationRulesResourceArrayResponseToJSON = PreviewAutomationRulesResourceArrayResponseToJSON;
|
|
20
|
-
exports.PreviewAutomationRulesResourceArrayResponseToJSONTyped = PreviewAutomationRulesResourceArrayResponseToJSONTyped;
|
|
21
|
-
var PreviewAutomationRulesResource_1 = require("./PreviewAutomationRulesResource");
|
|
22
|
-
/**
|
|
23
|
-
* Check if a given object implements the PreviewAutomationRulesResourceArrayResponse interface.
|
|
24
|
-
*/
|
|
25
|
-
function instanceOfPreviewAutomationRulesResourceArrayResponse(value) {
|
|
26
|
-
return true;
|
|
27
|
-
}
|
|
28
|
-
function PreviewAutomationRulesResourceArrayResponseFromJSON(json) {
|
|
29
|
-
return PreviewAutomationRulesResourceArrayResponseFromJSONTyped(json, false);
|
|
30
|
-
}
|
|
31
|
-
function PreviewAutomationRulesResourceArrayResponseFromJSONTyped(json, ignoreDiscriminator) {
|
|
32
|
-
if (json == null) {
|
|
33
|
-
return json;
|
|
34
|
-
}
|
|
35
|
-
return {
|
|
36
|
-
'data': json['data'] == null ? undefined : (json['data'].map(PreviewAutomationRulesResource_1.PreviewAutomationRulesResourceFromJSON)),
|
|
37
|
-
};
|
|
38
|
-
}
|
|
39
|
-
function PreviewAutomationRulesResourceArrayResponseToJSON(json) {
|
|
40
|
-
return PreviewAutomationRulesResourceArrayResponseToJSONTyped(json, false);
|
|
41
|
-
}
|
|
42
|
-
function PreviewAutomationRulesResourceArrayResponseToJSONTyped(value, ignoreDiscriminator) {
|
|
43
|
-
if (ignoreDiscriminator === void 0) { ignoreDiscriminator = false; }
|
|
44
|
-
if (value == null) {
|
|
45
|
-
return value;
|
|
46
|
-
}
|
|
47
|
-
return {
|
|
48
|
-
'data': value['data'] == null ? undefined : (value['data'].map(PreviewAutomationRulesResource_1.PreviewAutomationRulesResourceToJSON)),
|
|
49
|
-
};
|
|
50
|
-
}
|
|
@@ -1,36 +0,0 @@
|
|
|
1
|
-
|
|
2
|
-
# PreviewAutomationRulesResource
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
## Properties
|
|
6
|
-
|
|
7
|
-
Name | Type
|
|
8
|
-
------------ | -------------
|
|
9
|
-
`count` | number
|
|
10
|
-
`tooComplex` | boolean
|
|
11
|
-
|
|
12
|
-
## Example
|
|
13
|
-
|
|
14
|
-
```typescript
|
|
15
|
-
import type { PreviewAutomationRulesResource } from '@digital8/lighting-illusions-ts-sdk'
|
|
16
|
-
|
|
17
|
-
// TODO: Update the object below with actual values
|
|
18
|
-
const example = {
|
|
19
|
-
"count": null,
|
|
20
|
-
"tooComplex": null,
|
|
21
|
-
} satisfies PreviewAutomationRulesResource
|
|
22
|
-
|
|
23
|
-
console.log(example)
|
|
24
|
-
|
|
25
|
-
// Convert the instance to a JSON string
|
|
26
|
-
const exampleJSON: string = JSON.stringify(example)
|
|
27
|
-
console.log(exampleJSON)
|
|
28
|
-
|
|
29
|
-
// Parse the JSON string back to an object
|
|
30
|
-
const exampleParsed = JSON.parse(exampleJSON) as PreviewAutomationRulesResource
|
|
31
|
-
console.log(exampleParsed)
|
|
32
|
-
```
|
|
33
|
-
|
|
34
|
-
[[Back to top]](#) [[Back to API list]](../README.md#api-endpoints) [[Back to Model list]](../README.md#models) [[Back to README]](../README.md)
|
|
35
|
-
|
|
36
|
-
|
|
@@ -1,34 +0,0 @@
|
|
|
1
|
-
|
|
2
|
-
# PreviewAutomationRulesResourceArrayResponse
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
## Properties
|
|
6
|
-
|
|
7
|
-
Name | Type
|
|
8
|
-
------------ | -------------
|
|
9
|
-
`data` | [Array<PreviewAutomationRulesResource>](PreviewAutomationRulesResource.md)
|
|
10
|
-
|
|
11
|
-
## Example
|
|
12
|
-
|
|
13
|
-
```typescript
|
|
14
|
-
import type { PreviewAutomationRulesResourceArrayResponse } from '@digital8/lighting-illusions-ts-sdk'
|
|
15
|
-
|
|
16
|
-
// TODO: Update the object below with actual values
|
|
17
|
-
const example = {
|
|
18
|
-
"data": null,
|
|
19
|
-
} satisfies PreviewAutomationRulesResourceArrayResponse
|
|
20
|
-
|
|
21
|
-
console.log(example)
|
|
22
|
-
|
|
23
|
-
// Convert the instance to a JSON string
|
|
24
|
-
const exampleJSON: string = JSON.stringify(example)
|
|
25
|
-
console.log(exampleJSON)
|
|
26
|
-
|
|
27
|
-
// Parse the JSON string back to an object
|
|
28
|
-
const exampleParsed = JSON.parse(exampleJSON) as PreviewAutomationRulesResourceArrayResponse
|
|
29
|
-
console.log(exampleParsed)
|
|
30
|
-
```
|
|
31
|
-
|
|
32
|
-
[[Back to top]](#) [[Back to API list]](../README.md#api-endpoints) [[Back to Model list]](../README.md#models) [[Back to README]](../README.md)
|
|
33
|
-
|
|
34
|
-
|
|
@@ -1,75 +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 PreviewAutomationRulesResource
|
|
20
|
-
*/
|
|
21
|
-
export interface PreviewAutomationRulesResource {
|
|
22
|
-
/**
|
|
23
|
-
*
|
|
24
|
-
* @type {number}
|
|
25
|
-
* @memberof PreviewAutomationRulesResource
|
|
26
|
-
*/
|
|
27
|
-
count: number;
|
|
28
|
-
/**
|
|
29
|
-
*
|
|
30
|
-
* @type {boolean}
|
|
31
|
-
* @memberof PreviewAutomationRulesResource
|
|
32
|
-
*/
|
|
33
|
-
tooComplex: boolean;
|
|
34
|
-
}
|
|
35
|
-
|
|
36
|
-
/**
|
|
37
|
-
* Check if a given object implements the PreviewAutomationRulesResource interface.
|
|
38
|
-
*/
|
|
39
|
-
export function instanceOfPreviewAutomationRulesResource(value: object): value is PreviewAutomationRulesResource {
|
|
40
|
-
if (!('count' in value) || value['count'] === undefined) return false;
|
|
41
|
-
if (!('tooComplex' in value) || value['tooComplex'] === undefined) return false;
|
|
42
|
-
return true;
|
|
43
|
-
}
|
|
44
|
-
|
|
45
|
-
export function PreviewAutomationRulesResourceFromJSON(json: any): PreviewAutomationRulesResource {
|
|
46
|
-
return PreviewAutomationRulesResourceFromJSONTyped(json, false);
|
|
47
|
-
}
|
|
48
|
-
|
|
49
|
-
export function PreviewAutomationRulesResourceFromJSONTyped(json: any, ignoreDiscriminator: boolean): PreviewAutomationRulesResource {
|
|
50
|
-
if (json == null) {
|
|
51
|
-
return json;
|
|
52
|
-
}
|
|
53
|
-
return {
|
|
54
|
-
|
|
55
|
-
'count': json['count'],
|
|
56
|
-
'tooComplex': json['too_complex'],
|
|
57
|
-
};
|
|
58
|
-
}
|
|
59
|
-
|
|
60
|
-
export function PreviewAutomationRulesResourceToJSON(json: any): PreviewAutomationRulesResource {
|
|
61
|
-
return PreviewAutomationRulesResourceToJSONTyped(json, false);
|
|
62
|
-
}
|
|
63
|
-
|
|
64
|
-
export function PreviewAutomationRulesResourceToJSONTyped(value?: PreviewAutomationRulesResource | null, ignoreDiscriminator: boolean = false): any {
|
|
65
|
-
if (value == null) {
|
|
66
|
-
return value;
|
|
67
|
-
}
|
|
68
|
-
|
|
69
|
-
return {
|
|
70
|
-
|
|
71
|
-
'count': value['count'],
|
|
72
|
-
'too_complex': value['tooComplex'],
|
|
73
|
-
};
|
|
74
|
-
}
|
|
75
|
-
|
|
@@ -1,73 +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
|
-
import type { PreviewAutomationRulesResource } from './PreviewAutomationRulesResource';
|
|
17
|
-
import {
|
|
18
|
-
PreviewAutomationRulesResourceFromJSON,
|
|
19
|
-
PreviewAutomationRulesResourceFromJSONTyped,
|
|
20
|
-
PreviewAutomationRulesResourceToJSON,
|
|
21
|
-
PreviewAutomationRulesResourceToJSONTyped,
|
|
22
|
-
} from './PreviewAutomationRulesResource';
|
|
23
|
-
|
|
24
|
-
/**
|
|
25
|
-
*
|
|
26
|
-
* @export
|
|
27
|
-
* @interface PreviewAutomationRulesResourceArrayResponse
|
|
28
|
-
*/
|
|
29
|
-
export interface PreviewAutomationRulesResourceArrayResponse {
|
|
30
|
-
/**
|
|
31
|
-
*
|
|
32
|
-
* @type {Array<PreviewAutomationRulesResource>}
|
|
33
|
-
* @memberof PreviewAutomationRulesResourceArrayResponse
|
|
34
|
-
*/
|
|
35
|
-
data?: Array<PreviewAutomationRulesResource>;
|
|
36
|
-
}
|
|
37
|
-
|
|
38
|
-
/**
|
|
39
|
-
* Check if a given object implements the PreviewAutomationRulesResourceArrayResponse interface.
|
|
40
|
-
*/
|
|
41
|
-
export function instanceOfPreviewAutomationRulesResourceArrayResponse(value: object): value is PreviewAutomationRulesResourceArrayResponse {
|
|
42
|
-
return true;
|
|
43
|
-
}
|
|
44
|
-
|
|
45
|
-
export function PreviewAutomationRulesResourceArrayResponseFromJSON(json: any): PreviewAutomationRulesResourceArrayResponse {
|
|
46
|
-
return PreviewAutomationRulesResourceArrayResponseFromJSONTyped(json, false);
|
|
47
|
-
}
|
|
48
|
-
|
|
49
|
-
export function PreviewAutomationRulesResourceArrayResponseFromJSONTyped(json: any, ignoreDiscriminator: boolean): PreviewAutomationRulesResourceArrayResponse {
|
|
50
|
-
if (json == null) {
|
|
51
|
-
return json;
|
|
52
|
-
}
|
|
53
|
-
return {
|
|
54
|
-
|
|
55
|
-
'data': json['data'] == null ? undefined : ((json['data'] as Array<any>).map(PreviewAutomationRulesResourceFromJSON)),
|
|
56
|
-
};
|
|
57
|
-
}
|
|
58
|
-
|
|
59
|
-
export function PreviewAutomationRulesResourceArrayResponseToJSON(json: any): PreviewAutomationRulesResourceArrayResponse {
|
|
60
|
-
return PreviewAutomationRulesResourceArrayResponseToJSONTyped(json, false);
|
|
61
|
-
}
|
|
62
|
-
|
|
63
|
-
export function PreviewAutomationRulesResourceArrayResponseToJSONTyped(value?: PreviewAutomationRulesResourceArrayResponse | null, ignoreDiscriminator: boolean = false): any {
|
|
64
|
-
if (value == null) {
|
|
65
|
-
return value;
|
|
66
|
-
}
|
|
67
|
-
|
|
68
|
-
return {
|
|
69
|
-
|
|
70
|
-
'data': value['data'] == null ? undefined : ((value['data'] as Array<any>).map(PreviewAutomationRulesResourceToJSON)),
|
|
71
|
-
};
|
|
72
|
-
}
|
|
73
|
-
|