@digital8/lighting-illusions-ts-sdk 0.0.751 → 0.0.752
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 +2 -68
- package/README.md +3 -52
- package/dist/apis/AttributeApi.d.ts +1 -12
- package/dist/apis/AttributeApi.js +0 -45
- package/dist/apis/index.d.ts +0 -1
- package/dist/apis/index.js +0 -1
- package/dist/models/AttachDocumentablesDocumentRequestDocumentablesInner.d.ts +0 -1
- package/dist/models/AttachDocumentablesDocumentRequestDocumentablesInner.js +0 -1
- package/dist/models/DetachDocumentablesDocumentRequestDocumentablesInner.d.ts +0 -1
- package/dist/models/DetachDocumentablesDocumentRequestDocumentablesInner.js +0 -1
- package/dist/models/GetAllDocumentRequest.d.ts +0 -1
- package/dist/models/GetAllDocumentRequest.js +0 -1
- package/dist/models/GetAllProductChildRequest.d.ts +0 -1
- package/dist/models/GetAllProductChildRequest.js +0 -1
- package/dist/models/IndexAttributeRequest.d.ts +0 -2
- package/dist/models/IndexAttributeRequest.js +1 -3
- package/dist/models/IndexDocumentRequest.d.ts +0 -1
- package/dist/models/IndexDocumentRequest.js +0 -1
- package/dist/models/IndexProductChildRequest.d.ts +0 -1
- package/dist/models/IndexProductChildRequest.js +0 -1
- package/dist/models/ModelAttributeResource.d.ts +0 -6
- package/dist/models/ModelAttributeResource.js +0 -2
- package/dist/models/ProductCategoryLiteResource.d.ts +6 -0
- package/dist/models/ProductCategoryLiteResource.js +4 -0
- package/dist/models/ProductChildListResource.d.ts +12 -0
- package/dist/models/ProductChildListResource.js +6 -0
- package/dist/models/ProductResource.d.ts +2 -2
- package/dist/models/ProductResource.js +3 -3
- package/dist/models/UpdateProductTypeRequest.d.ts +9 -9
- package/dist/models/UpdateProductTypeRequest.js +9 -9
- package/dist/models/UpdateProductTypeRequestPerformanceValuesInner.d.ts +38 -0
- package/dist/models/UpdateProductTypeRequestPerformanceValuesInner.js +51 -0
- package/dist/models/index.d.ts +1 -33
- package/dist/models/index.js +1 -33
- package/docs/AttributeApi.md +0 -66
- package/docs/ModelAttributeResource.md +0 -2
- package/docs/ProductCategoryLiteResource.md +2 -0
- package/docs/ProductChildListResource.md +4 -0
- package/docs/ProductResource.md +2 -2
- package/docs/UpdateProductTypeRequest.md +4 -4
- package/docs/{UpdateProductRangeRequestAttributesInner.md → UpdateProductTypeRequestPerformanceValuesInner.md} +4 -4
- package/package.json +1 -1
- package/src/apis/AttributeApi.ts +0 -42
- package/src/apis/index.ts +0 -1
- package/src/models/AttachDocumentablesDocumentRequestDocumentablesInner.ts +0 -1
- package/src/models/DetachDocumentablesDocumentRequestDocumentablesInner.ts +0 -1
- package/src/models/GetAllDocumentRequest.ts +0 -1
- package/src/models/GetAllProductChildRequest.ts +0 -1
- package/src/models/IndexAttributeRequest.ts +1 -3
- package/src/models/IndexDocumentRequest.ts +0 -1
- package/src/models/IndexProductChildRequest.ts +0 -1
- package/src/models/ModelAttributeResource.ts +0 -8
- package/src/models/ProductCategoryLiteResource.ts +9 -0
- package/src/models/ProductChildListResource.ts +17 -0
- package/src/models/ProductResource.ts +5 -5
- package/src/models/UpdateProductTypeRequest.ts +22 -22
- package/src/models/UpdateProductTypeRequestPerformanceValuesInner.ts +73 -0
- package/src/models/index.ts +1 -33
- package/dist/apis/ProductRangeApi.d.ts +0 -205
- package/dist/apis/ProductRangeApi.js +0 -835
- package/dist/models/AttachAccessoriesProductRangeRequest.d.ts +0 -32
- package/dist/models/AttachAccessoriesProductRangeRequest.js +0 -51
- package/dist/models/AttachAttributesProductRangeRequest.d.ts +0 -33
- package/dist/models/AttachAttributesProductRangeRequest.js +0 -52
- package/dist/models/AttachAttributesProductRangeRequestAttributesInner.d.ts +0 -38
- package/dist/models/AttachAttributesProductRangeRequestAttributesInner.js +0 -53
- package/dist/models/AttachDocumentsProductRangeRequest.d.ts +0 -33
- package/dist/models/AttachDocumentsProductRangeRequest.js +0 -52
- package/dist/models/DetachAccessoriesProductRangeRequest.d.ts +0 -32
- package/dist/models/DetachAccessoriesProductRangeRequest.js +0 -51
- package/dist/models/DetachAttributesProductRangeRequest.d.ts +0 -32
- package/dist/models/DetachAttributesProductRangeRequest.js +0 -51
- package/dist/models/DetachDocumentsProductRangeRequest.d.ts +0 -32
- package/dist/models/DetachDocumentsProductRangeRequest.js +0 -51
- package/dist/models/GetAllProductRangeRequest.d.ts +0 -98
- package/dist/models/GetAllProductRangeRequest.js +0 -82
- package/dist/models/IndexModelAttributeRequest.d.ts +0 -118
- package/dist/models/IndexModelAttributeRequest.js +0 -93
- package/dist/models/IndexProductRangeRequest.d.ts +0 -110
- package/dist/models/IndexProductRangeRequest.js +0 -86
- package/dist/models/ModelAttributeListResource.d.ts +0 -52
- package/dist/models/ModelAttributeListResource.js +0 -65
- package/dist/models/ModelAttributeListResourceArrayResponse.d.ts +0 -33
- package/dist/models/ModelAttributeListResourceArrayResponse.js +0 -50
- package/dist/models/PaginatedModelAttributeListResourceResponse.d.ts +0 -40
- package/dist/models/PaginatedModelAttributeListResourceResponse.js +0 -57
- package/dist/models/PaginatedProductRangeFrontendListResourceResponse.d.ts +0 -40
- package/dist/models/PaginatedProductRangeFrontendListResourceResponse.js +0 -57
- package/dist/models/PaginatedProductRangeListResourceResponse.d.ts +0 -40
- package/dist/models/PaginatedProductRangeListResourceResponse.js +0 -57
- package/dist/models/PaginatedProductRangeLiteResourceResponse.d.ts +0 -40
- package/dist/models/PaginatedProductRangeLiteResourceResponse.js +0 -57
- package/dist/models/PaginatedProductRangeResourceResponse.d.ts +0 -40
- package/dist/models/PaginatedProductRangeResourceResponse.js +0 -57
- package/dist/models/ProductRangeFrontendListResource.d.ts +0 -62
- package/dist/models/ProductRangeFrontendListResource.js +0 -71
- package/dist/models/ProductRangeFrontendListResourceArrayResponse.d.ts +0 -33
- package/dist/models/ProductRangeFrontendListResourceArrayResponse.js +0 -50
- package/dist/models/ProductRangeFrontendResource.d.ts +0 -118
- package/dist/models/ProductRangeFrontendResource.js +0 -109
- package/dist/models/ProductRangeFrontendResourceArrayResponse.d.ts +0 -33
- package/dist/models/ProductRangeFrontendResourceArrayResponse.js +0 -50
- package/dist/models/ProductRangeListResource.d.ts +0 -52
- package/dist/models/ProductRangeListResource.js +0 -65
- package/dist/models/ProductRangeListResourceArrayResponse.d.ts +0 -33
- package/dist/models/ProductRangeListResourceArrayResponse.js +0 -50
- package/dist/models/ProductRangeLiteResource.d.ts +0 -38
- package/dist/models/ProductRangeLiteResource.js +0 -55
- package/dist/models/ProductRangeLiteResourceArrayResponse.d.ts +0 -33
- package/dist/models/ProductRangeLiteResourceArrayResponse.js +0 -50
- package/dist/models/ProductRangeResource.d.ts +0 -89
- package/dist/models/ProductRangeResource.js +0 -86
- package/dist/models/ProductRangeResourceArrayResponse.d.ts +0 -33
- package/dist/models/ProductRangeResourceArrayResponse.js +0 -50
- package/dist/models/ProductRangeSiteDetailResource.d.ts +0 -101
- package/dist/models/ProductRangeSiteDetailResource.js +0 -98
- package/dist/models/ProductRangeSiteDetailResourceArrayResponse.d.ts +0 -33
- package/dist/models/ProductRangeSiteDetailResourceArrayResponse.js +0 -50
- package/dist/models/StoreProductRangeRequest.d.ts +0 -52
- package/dist/models/StoreProductRangeRequest.js +0 -59
- package/dist/models/StoreProductRangeRequestSitesInner.d.ts +0 -92
- package/dist/models/StoreProductRangeRequestSitesInner.js +0 -75
- package/dist/models/UpdateProductRangeRequest.d.ts +0 -59
- package/dist/models/UpdateProductRangeRequest.js +0 -62
- package/dist/models/UpdateProductRangeRequestAttributesInner.d.ts +0 -38
- package/dist/models/UpdateProductRangeRequestAttributesInner.js +0 -51
- package/docs/AttachAccessoriesProductRangeRequest.md +0 -34
- package/docs/AttachAttributesProductRangeRequest.md +0 -34
- package/docs/AttachAttributesProductRangeRequestAttributesInner.md +0 -36
- package/docs/AttachDocumentsProductRangeRequest.md +0 -34
- package/docs/DetachAccessoriesProductRangeRequest.md +0 -34
- package/docs/DetachAttributesProductRangeRequest.md +0 -34
- package/docs/DetachDocumentsProductRangeRequest.md +0 -34
- package/docs/GetAllProductRangeRequest.md +0 -50
- package/docs/IndexModelAttributeRequest.md +0 -54
- package/docs/IndexProductRangeRequest.md +0 -54
- package/docs/ModelAttributeListResource.md +0 -40
- package/docs/ModelAttributeListResourceArrayResponse.md +0 -34
- package/docs/PaginatedModelAttributeListResourceResponse.md +0 -36
- package/docs/PaginatedProductRangeFrontendListResourceResponse.md +0 -36
- package/docs/PaginatedProductRangeListResourceResponse.md +0 -36
- package/docs/PaginatedProductRangeLiteResourceResponse.md +0 -36
- package/docs/PaginatedProductRangeResourceResponse.md +0 -36
- package/docs/ProductRangeApi.md +0 -1097
- package/docs/ProductRangeFrontendListResource.md +0 -44
- package/docs/ProductRangeFrontendListResourceArrayResponse.md +0 -34
- package/docs/ProductRangeFrontendResource.md +0 -62
- package/docs/ProductRangeFrontendResourceArrayResponse.md +0 -34
- package/docs/ProductRangeListResource.md +0 -40
- package/docs/ProductRangeListResourceArrayResponse.md +0 -34
- package/docs/ProductRangeLiteResource.md +0 -36
- package/docs/ProductRangeLiteResourceArrayResponse.md +0 -34
- package/docs/ProductRangeResource.md +0 -52
- package/docs/ProductRangeResourceArrayResponse.md +0 -34
- package/docs/ProductRangeSiteDetailResource.md +0 -56
- package/docs/ProductRangeSiteDetailResourceArrayResponse.md +0 -34
- package/docs/StoreProductRangeRequest.md +0 -40
- package/docs/StoreProductRangeRequestSitesInner.md +0 -54
- package/docs/UpdateProductRangeRequest.md +0 -42
- package/src/apis/ProductRangeApi.ts +0 -760
- package/src/models/AttachAccessoriesProductRangeRequest.ts +0 -66
- package/src/models/AttachAttributesProductRangeRequest.ts +0 -74
- package/src/models/AttachAttributesProductRangeRequestAttributesInner.ts +0 -74
- package/src/models/AttachDocumentsProductRangeRequest.ts +0 -74
- package/src/models/DetachAccessoriesProductRangeRequest.ts +0 -66
- package/src/models/DetachAttributesProductRangeRequest.ts +0 -66
- package/src/models/DetachDocumentsProductRangeRequest.ts +0 -66
- package/src/models/GetAllProductRangeRequest.ts +0 -151
- package/src/models/IndexModelAttributeRequest.ts +0 -176
- package/src/models/IndexProductRangeRequest.ts +0 -167
- package/src/models/ModelAttributeListResource.ts +0 -108
- package/src/models/ModelAttributeListResourceArrayResponse.ts +0 -73
- package/src/models/PaginatedModelAttributeListResourceResponse.ts +0 -90
- package/src/models/PaginatedProductRangeFrontendListResourceResponse.ts +0 -90
- package/src/models/PaginatedProductRangeListResourceResponse.ts +0 -90
- package/src/models/PaginatedProductRangeLiteResourceResponse.ts +0 -90
- package/src/models/PaginatedProductRangeResourceResponse.ts +0 -90
- package/src/models/ProductRangeFrontendListResource.ts +0 -111
- package/src/models/ProductRangeFrontendListResourceArrayResponse.ts +0 -73
- package/src/models/ProductRangeFrontendResource.ts +0 -207
- package/src/models/ProductRangeFrontendResourceArrayResponse.ts +0 -73
- package/src/models/ProductRangeListResource.ts +0 -108
- package/src/models/ProductRangeListResourceArrayResponse.ts +0 -73
- package/src/models/ProductRangeLiteResource.ts +0 -75
- package/src/models/ProductRangeLiteResourceArrayResponse.ts +0 -73
- package/src/models/ProductRangeResource.ts +0 -167
- package/src/models/ProductRangeResourceArrayResponse.ts +0 -73
- package/src/models/ProductRangeSiteDetailResource.ts +0 -187
- package/src/models/ProductRangeSiteDetailResourceArrayResponse.ts +0 -73
- package/src/models/StoreProductRangeRequest.ts +0 -105
- package/src/models/StoreProductRangeRequestSitesInner.ts +0 -148
- package/src/models/UpdateProductRangeRequest.ts +0 -120
- package/src/models/UpdateProductRangeRequestAttributesInner.ts +0 -73
|
@@ -7,7 +7,6 @@
|
|
|
7
7
|
Name | Type
|
|
8
8
|
------------ | -------------
|
|
9
9
|
`id` | number
|
|
10
|
-
`order` | string
|
|
11
10
|
`value` | string
|
|
12
11
|
`attribute` | [AttributeLiteResource](AttributeLiteResource.md)
|
|
13
12
|
`attributeValues` | [Array<AttributeValueResource>](AttributeValueResource.md)
|
|
@@ -20,7 +19,6 @@ import type { ModelAttributeResource } from '@digital8/lighting-illusions-ts-sdk
|
|
|
20
19
|
// TODO: Update the object below with actual values
|
|
21
20
|
const example = {
|
|
22
21
|
"id": null,
|
|
23
|
-
"order": null,
|
|
24
22
|
"value": null,
|
|
25
23
|
"attribute": null,
|
|
26
24
|
"attributeValues": null,
|
|
@@ -8,6 +8,7 @@ Name | Type
|
|
|
8
8
|
------------ | -------------
|
|
9
9
|
`id` | number
|
|
10
10
|
`name` | string
|
|
11
|
+
`siteId` | number
|
|
11
12
|
|
|
12
13
|
## Example
|
|
13
14
|
|
|
@@ -18,6 +19,7 @@ import type { ProductCategoryLiteResource } from '@digital8/lighting-illusions-t
|
|
|
18
19
|
const example = {
|
|
19
20
|
"id": null,
|
|
20
21
|
"name": null,
|
|
22
|
+
"siteId": null,
|
|
21
23
|
} satisfies ProductCategoryLiteResource
|
|
22
24
|
|
|
23
25
|
console.log(example)
|
|
@@ -12,6 +12,8 @@ Name | Type
|
|
|
12
12
|
`name` | string
|
|
13
13
|
`model` | string
|
|
14
14
|
`stock` | number
|
|
15
|
+
`isDisabled` | string
|
|
16
|
+
`netsuiteId` | number
|
|
15
17
|
`thumbnail` | [AssetLiteResource](AssetLiteResource.md)
|
|
16
18
|
`siteDetails` | [Array<ProductChildSiteDetailLiteResource>](ProductChildSiteDetailLiteResource.md)
|
|
17
19
|
|
|
@@ -28,6 +30,8 @@ const example = {
|
|
|
28
30
|
"name": null,
|
|
29
31
|
"model": null,
|
|
30
32
|
"stock": null,
|
|
33
|
+
"isDisabled": null,
|
|
34
|
+
"netsuiteId": null,
|
|
31
35
|
"thumbnail": null,
|
|
32
36
|
"siteDetails": null,
|
|
33
37
|
} satisfies ProductChildListResource
|
package/docs/ProductResource.md
CHANGED
|
@@ -11,7 +11,7 @@ Name | Type
|
|
|
11
11
|
`displayName` | string
|
|
12
12
|
`isAccessory` | boolean
|
|
13
13
|
`warranty` | string
|
|
14
|
-
`
|
|
14
|
+
`categories` | object
|
|
15
15
|
`isDisabled` | boolean
|
|
16
16
|
`googleCategory` | [GoogleCategoryResource](GoogleCategoryResource.md)
|
|
17
17
|
`supplier` | [SupplierLiteResource](SupplierLiteResource.md)
|
|
@@ -31,7 +31,7 @@ const example = {
|
|
|
31
31
|
"displayName": null,
|
|
32
32
|
"isAccessory": null,
|
|
33
33
|
"warranty": null,
|
|
34
|
-
"
|
|
34
|
+
"categories": null,
|
|
35
35
|
"isDisabled": null,
|
|
36
36
|
"googleCategory": null,
|
|
37
37
|
"supplier": null,
|
|
@@ -7,10 +7,10 @@
|
|
|
7
7
|
Name | Type
|
|
8
8
|
------------ | -------------
|
|
9
9
|
`name` | string
|
|
10
|
-
`performanceValues` | [Array<
|
|
11
|
-
`dimensionValues` | [Array<
|
|
12
|
-
`specificationValues` | [Array<
|
|
13
|
-
`otherValues` | [Array<
|
|
10
|
+
`performanceValues` | [Array<UpdateProductTypeRequestPerformanceValuesInner>](UpdateProductTypeRequestPerformanceValuesInner.md)
|
|
11
|
+
`dimensionValues` | [Array<UpdateProductTypeRequestPerformanceValuesInner>](UpdateProductTypeRequestPerformanceValuesInner.md)
|
|
12
|
+
`specificationValues` | [Array<UpdateProductTypeRequestPerformanceValuesInner>](UpdateProductTypeRequestPerformanceValuesInner.md)
|
|
13
|
+
`otherValues` | [Array<UpdateProductTypeRequestPerformanceValuesInner>](UpdateProductTypeRequestPerformanceValuesInner.md)
|
|
14
14
|
|
|
15
15
|
## Example
|
|
16
16
|
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
|
|
2
|
-
#
|
|
2
|
+
# UpdateProductTypeRequestPerformanceValuesInner
|
|
3
3
|
|
|
4
4
|
|
|
5
5
|
## Properties
|
|
@@ -12,13 +12,13 @@ Name | Type
|
|
|
12
12
|
## Example
|
|
13
13
|
|
|
14
14
|
```typescript
|
|
15
|
-
import type {
|
|
15
|
+
import type { UpdateProductTypeRequestPerformanceValuesInner } from '@digital8/lighting-illusions-ts-sdk'
|
|
16
16
|
|
|
17
17
|
// TODO: Update the object below with actual values
|
|
18
18
|
const example = {
|
|
19
19
|
"attributeId": null,
|
|
20
20
|
"order": null,
|
|
21
|
-
} satisfies
|
|
21
|
+
} satisfies UpdateProductTypeRequestPerformanceValuesInner
|
|
22
22
|
|
|
23
23
|
console.log(example)
|
|
24
24
|
|
|
@@ -27,7 +27,7 @@ const exampleJSON: string = JSON.stringify(example)
|
|
|
27
27
|
console.log(exampleJSON)
|
|
28
28
|
|
|
29
29
|
// Parse the JSON string back to an object
|
|
30
|
-
const exampleParsed = JSON.parse(exampleJSON) as
|
|
30
|
+
const exampleParsed = JSON.parse(exampleJSON) as UpdateProductTypeRequestPerformanceValuesInner
|
|
31
31
|
console.log(exampleParsed)
|
|
32
32
|
```
|
|
33
33
|
|
package/package.json
CHANGED
package/src/apis/AttributeApi.ts
CHANGED
|
@@ -23,10 +23,8 @@ import type {
|
|
|
23
23
|
GenericResponse,
|
|
24
24
|
GetAllAttributeRequest,
|
|
25
25
|
IndexAttributeRequest,
|
|
26
|
-
IndexModelAttributeRequest,
|
|
27
26
|
ModelAttributeResourceArrayResponse,
|
|
28
27
|
PaginatedAttributeListResourceResponse,
|
|
29
|
-
PaginatedModelAttributeListResourceResponse,
|
|
30
28
|
StoreAttributeRequest,
|
|
31
29
|
StoreAttributeValueRequest,
|
|
32
30
|
UpdateAttributeRequest,
|
|
@@ -51,14 +49,10 @@ import {
|
|
|
51
49
|
GetAllAttributeRequestToJSON,
|
|
52
50
|
IndexAttributeRequestFromJSON,
|
|
53
51
|
IndexAttributeRequestToJSON,
|
|
54
|
-
IndexModelAttributeRequestFromJSON,
|
|
55
|
-
IndexModelAttributeRequestToJSON,
|
|
56
52
|
ModelAttributeResourceArrayResponseFromJSON,
|
|
57
53
|
ModelAttributeResourceArrayResponseToJSON,
|
|
58
54
|
PaginatedAttributeListResourceResponseFromJSON,
|
|
59
55
|
PaginatedAttributeListResourceResponseToJSON,
|
|
60
|
-
PaginatedModelAttributeListResourceResponseFromJSON,
|
|
61
|
-
PaginatedModelAttributeListResourceResponseToJSON,
|
|
62
56
|
StoreAttributeRequestFromJSON,
|
|
63
57
|
StoreAttributeRequestToJSON,
|
|
64
58
|
StoreAttributeValueRequestFromJSON,
|
|
@@ -100,10 +94,6 @@ export interface IndexAttributeOperationRequest {
|
|
|
100
94
|
indexAttributeRequest?: IndexAttributeRequest;
|
|
101
95
|
}
|
|
102
96
|
|
|
103
|
-
export interface IndexModelAttributeOperationRequest {
|
|
104
|
-
indexModelAttributeRequest?: IndexModelAttributeRequest;
|
|
105
|
-
}
|
|
106
|
-
|
|
107
97
|
export interface ShowAttributeRequest {
|
|
108
98
|
attribute: number;
|
|
109
99
|
}
|
|
@@ -371,38 +361,6 @@ export class AttributeApi extends runtime.BaseAPI {
|
|
|
371
361
|
return await response.value();
|
|
372
362
|
}
|
|
373
363
|
|
|
374
|
-
/**
|
|
375
|
-
* Auto-generated: indexModelAttribute
|
|
376
|
-
*/
|
|
377
|
-
async indexModelAttributeRaw(requestParameters: IndexModelAttributeOperationRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<PaginatedModelAttributeListResourceResponse>> {
|
|
378
|
-
const queryParameters: any = {};
|
|
379
|
-
|
|
380
|
-
const headerParameters: runtime.HTTPHeaders = {};
|
|
381
|
-
|
|
382
|
-
headerParameters['Content-Type'] = 'application/json';
|
|
383
|
-
|
|
384
|
-
|
|
385
|
-
let urlPath = `/admin-api/attribute/model-attribute/list`;
|
|
386
|
-
|
|
387
|
-
const response = await this.request({
|
|
388
|
-
path: urlPath,
|
|
389
|
-
method: 'POST',
|
|
390
|
-
headers: headerParameters,
|
|
391
|
-
query: queryParameters,
|
|
392
|
-
body: IndexModelAttributeRequestToJSON(requestParameters['indexModelAttributeRequest']),
|
|
393
|
-
}, initOverrides);
|
|
394
|
-
|
|
395
|
-
return new runtime.JSONApiResponse(response, (jsonValue) => PaginatedModelAttributeListResourceResponseFromJSON(jsonValue));
|
|
396
|
-
}
|
|
397
|
-
|
|
398
|
-
/**
|
|
399
|
-
* Auto-generated: indexModelAttribute
|
|
400
|
-
*/
|
|
401
|
-
async indexModelAttribute(requestParameters: IndexModelAttributeOperationRequest = {}, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<PaginatedModelAttributeListResourceResponse> {
|
|
402
|
-
const response = await this.indexModelAttributeRaw(requestParameters, initOverrides);
|
|
403
|
-
return await response.value();
|
|
404
|
-
}
|
|
405
|
-
|
|
406
364
|
/**
|
|
407
365
|
* Auto-generated: showAttribute
|
|
408
366
|
*/
|
package/src/apis/index.ts
CHANGED
|
@@ -9,7 +9,6 @@ export * from './GoogleCategoryApi';
|
|
|
9
9
|
export * from './OverlayTemplateApi';
|
|
10
10
|
export * from './ProductApi';
|
|
11
11
|
export * from './ProductCategoryApi';
|
|
12
|
-
export * from './ProductRangeApi';
|
|
13
12
|
export * from './ProductTypeApi';
|
|
14
13
|
export * from './SiteApi';
|
|
15
14
|
export * from './SupplierApi';
|
|
@@ -45,7 +45,6 @@ export interface AttachDocumentablesDocumentRequestDocumentablesInner {
|
|
|
45
45
|
*/
|
|
46
46
|
export const AttachDocumentablesDocumentRequestDocumentablesInnerDocumentableTypeEnum = {
|
|
47
47
|
AppModelsProductsProductChild: 'App\\Models\\Products\\ProductChild',
|
|
48
|
-
AppModelsProductRangesProductRange: 'App\\Models\\ProductRanges\\ProductRange',
|
|
49
48
|
AppModelsProductRangeSite: 'App\\Models\\ProductRangeSite'
|
|
50
49
|
} as const;
|
|
51
50
|
export type AttachDocumentablesDocumentRequestDocumentablesInnerDocumentableTypeEnum = typeof AttachDocumentablesDocumentRequestDocumentablesInnerDocumentableTypeEnum[keyof typeof AttachDocumentablesDocumentRequestDocumentablesInnerDocumentableTypeEnum];
|
|
@@ -39,7 +39,6 @@ export interface DetachDocumentablesDocumentRequestDocumentablesInner {
|
|
|
39
39
|
*/
|
|
40
40
|
export const DetachDocumentablesDocumentRequestDocumentablesInnerDocumentableTypeEnum = {
|
|
41
41
|
AppModelsProductsProductChild: 'App\\Models\\Products\\ProductChild',
|
|
42
|
-
AppModelsProductRangesProductRange: 'App\\Models\\ProductRanges\\ProductRange',
|
|
43
42
|
AppModelsProductRangeSite: 'App\\Models\\ProductRangeSite'
|
|
44
43
|
} as const;
|
|
45
44
|
export type DetachDocumentablesDocumentRequestDocumentablesInnerDocumentableTypeEnum = typeof DetachDocumentablesDocumentRequestDocumentablesInnerDocumentableTypeEnum[keyof typeof DetachDocumentablesDocumentRequestDocumentablesInnerDocumentableTypeEnum];
|
|
@@ -89,7 +89,6 @@ export type GetAllDocumentRequestSortDirectionEnum = typeof GetAllDocumentReques
|
|
|
89
89
|
*/
|
|
90
90
|
export const GetAllDocumentRequestRelatedTypeEnum = {
|
|
91
91
|
ProductChild: 'productChild',
|
|
92
|
-
ProductRange: 'productRange',
|
|
93
92
|
ProductRangeSite: 'productRangeSite'
|
|
94
93
|
} as const;
|
|
95
94
|
export type GetAllDocumentRequestRelatedTypeEnum = typeof GetAllDocumentRequestRelatedTypeEnum[keyof typeof GetAllDocumentRequestRelatedTypeEnum];
|
|
@@ -109,7 +109,6 @@ export type GetAllProductChildRequestSortDirectionEnum = typeof GetAllProductChi
|
|
|
109
109
|
*/
|
|
110
110
|
export const GetAllProductChildRequestRelatedTypeEnum = {
|
|
111
111
|
OverlayTemplate: 'overlayTemplate',
|
|
112
|
-
ProductRange: 'productRange',
|
|
113
112
|
Supplier: 'supplier',
|
|
114
113
|
Tag: 'tag',
|
|
115
114
|
Document: 'document'
|
|
@@ -112,9 +112,7 @@ export type IndexAttributeRequestSortDirectionEnum = typeof IndexAttributeReques
|
|
|
112
112
|
* @export
|
|
113
113
|
*/
|
|
114
114
|
export const IndexAttributeRequestRelatedTypeEnum = {
|
|
115
|
-
ProductType: 'productType'
|
|
116
|
-
ProductRange: 'productRange',
|
|
117
|
-
Category: 'category'
|
|
115
|
+
ProductType: 'productType'
|
|
118
116
|
} as const;
|
|
119
117
|
export type IndexAttributeRequestRelatedTypeEnum = typeof IndexAttributeRequestRelatedTypeEnum[keyof typeof IndexAttributeRequestRelatedTypeEnum];
|
|
120
118
|
|
|
@@ -101,7 +101,6 @@ export type IndexDocumentRequestSortDirectionEnum = typeof IndexDocumentRequestS
|
|
|
101
101
|
*/
|
|
102
102
|
export const IndexDocumentRequestRelatedTypeEnum = {
|
|
103
103
|
ProductChild: 'productChild',
|
|
104
|
-
ProductRange: 'productRange',
|
|
105
104
|
ProductRangeSite: 'productRangeSite'
|
|
106
105
|
} as const;
|
|
107
106
|
export type IndexDocumentRequestRelatedTypeEnum = typeof IndexDocumentRequestRelatedTypeEnum[keyof typeof IndexDocumentRequestRelatedTypeEnum];
|
|
@@ -40,12 +40,6 @@ export interface ModelAttributeResource {
|
|
|
40
40
|
* @memberof ModelAttributeResource
|
|
41
41
|
*/
|
|
42
42
|
id: number;
|
|
43
|
-
/**
|
|
44
|
-
*
|
|
45
|
-
* @type {string}
|
|
46
|
-
* @memberof ModelAttributeResource
|
|
47
|
-
*/
|
|
48
|
-
order?: string | null;
|
|
49
43
|
/**
|
|
50
44
|
*
|
|
51
45
|
* @type {string}
|
|
@@ -88,7 +82,6 @@ export function ModelAttributeResourceFromJSONTyped(json: any, ignoreDiscriminat
|
|
|
88
82
|
return {
|
|
89
83
|
|
|
90
84
|
'id': json['id'],
|
|
91
|
-
'order': json['order'] == null ? undefined : json['order'],
|
|
92
85
|
'value': json['value'],
|
|
93
86
|
'attribute': AttributeLiteResourceFromJSON(json['attribute']),
|
|
94
87
|
'attributeValues': (json['attributeValues'] == null ? null : (json['attributeValues'] as Array<any>).map(AttributeValueResourceFromJSON)),
|
|
@@ -107,7 +100,6 @@ export function ModelAttributeResourceToJSONTyped(value?: ModelAttributeResource
|
|
|
107
100
|
return {
|
|
108
101
|
|
|
109
102
|
'id': value['id'],
|
|
110
|
-
'order': value['order'],
|
|
111
103
|
'value': value['value'],
|
|
112
104
|
'attribute': AttributeLiteResourceToJSON(value['attribute']),
|
|
113
105
|
'attributeValues': (value['attributeValues'] == null ? null : (value['attributeValues'] as Array<any>).map(AttributeValueResourceToJSON)),
|
|
@@ -31,6 +31,12 @@ export interface ProductCategoryLiteResource {
|
|
|
31
31
|
* @memberof ProductCategoryLiteResource
|
|
32
32
|
*/
|
|
33
33
|
name: string;
|
|
34
|
+
/**
|
|
35
|
+
*
|
|
36
|
+
* @type {number}
|
|
37
|
+
* @memberof ProductCategoryLiteResource
|
|
38
|
+
*/
|
|
39
|
+
siteId: number;
|
|
34
40
|
}
|
|
35
41
|
|
|
36
42
|
/**
|
|
@@ -38,6 +44,7 @@ export interface ProductCategoryLiteResource {
|
|
|
38
44
|
*/
|
|
39
45
|
export function instanceOfProductCategoryLiteResource(value: object): value is ProductCategoryLiteResource {
|
|
40
46
|
if (!('name' in value) || value['name'] === undefined) return false;
|
|
47
|
+
if (!('siteId' in value) || value['siteId'] === undefined) return false;
|
|
41
48
|
return true;
|
|
42
49
|
}
|
|
43
50
|
|
|
@@ -53,6 +60,7 @@ export function ProductCategoryLiteResourceFromJSONTyped(json: any, ignoreDiscri
|
|
|
53
60
|
|
|
54
61
|
'id': json['id'] == null ? undefined : json['id'],
|
|
55
62
|
'name': json['name'],
|
|
63
|
+
'siteId': json['siteId'],
|
|
56
64
|
};
|
|
57
65
|
}
|
|
58
66
|
|
|
@@ -69,6 +77,7 @@ export function ProductCategoryLiteResourceToJSONTyped(value?: ProductCategoryLi
|
|
|
69
77
|
|
|
70
78
|
'id': value['id'],
|
|
71
79
|
'name': value['name'],
|
|
80
|
+
'siteId': value['siteId'],
|
|
72
81
|
};
|
|
73
82
|
}
|
|
74
83
|
|
|
@@ -70,6 +70,18 @@ export interface ProductChildListResource {
|
|
|
70
70
|
* @memberof ProductChildListResource
|
|
71
71
|
*/
|
|
72
72
|
stock: number;
|
|
73
|
+
/**
|
|
74
|
+
*
|
|
75
|
+
* @type {string}
|
|
76
|
+
* @memberof ProductChildListResource
|
|
77
|
+
*/
|
|
78
|
+
isDisabled?: string | null;
|
|
79
|
+
/**
|
|
80
|
+
*
|
|
81
|
+
* @type {number}
|
|
82
|
+
* @memberof ProductChildListResource
|
|
83
|
+
*/
|
|
84
|
+
netsuiteId: number;
|
|
73
85
|
/**
|
|
74
86
|
*
|
|
75
87
|
* @type {AssetLiteResource}
|
|
@@ -93,6 +105,7 @@ export function instanceOfProductChildListResource(value: object): value is Prod
|
|
|
93
105
|
if (!('name' in value) || value['name'] === undefined) return false;
|
|
94
106
|
if (!('model' in value) || value['model'] === undefined) return false;
|
|
95
107
|
if (!('stock' in value) || value['stock'] === undefined) return false;
|
|
108
|
+
if (!('netsuiteId' in value) || value['netsuiteId'] === undefined) return false;
|
|
96
109
|
if (!('thumbnail' in value) || value['thumbnail'] === undefined) return false;
|
|
97
110
|
if (!('siteDetails' in value) || value['siteDetails'] === undefined) return false;
|
|
98
111
|
return true;
|
|
@@ -114,6 +127,8 @@ export function ProductChildListResourceFromJSONTyped(json: any, ignoreDiscrimin
|
|
|
114
127
|
'name': json['name'],
|
|
115
128
|
'model': json['model'],
|
|
116
129
|
'stock': json['stock'],
|
|
130
|
+
'isDisabled': json['isDisabled'] == null ? undefined : json['isDisabled'],
|
|
131
|
+
'netsuiteId': json['netsuiteId'],
|
|
117
132
|
'thumbnail': AssetLiteResourceFromJSON(json['thumbnail']),
|
|
118
133
|
'siteDetails': (json['siteDetails'] == null ? null : (json['siteDetails'] as Array<any>).map(ProductChildSiteDetailLiteResourceFromJSON)),
|
|
119
134
|
};
|
|
@@ -136,6 +151,8 @@ export function ProductChildListResourceToJSONTyped(value?: ProductChildListReso
|
|
|
136
151
|
'name': value['name'],
|
|
137
152
|
'model': value['model'],
|
|
138
153
|
'stock': value['stock'],
|
|
154
|
+
'isDisabled': value['isDisabled'],
|
|
155
|
+
'netsuiteId': value['netsuiteId'],
|
|
139
156
|
'thumbnail': AssetLiteResourceToJSON(value['thumbnail']),
|
|
140
157
|
'siteDetails': (value['siteDetails'] == null ? null : (value['siteDetails'] as Array<any>).map(ProductChildSiteDetailLiteResourceToJSON)),
|
|
141
158
|
};
|
|
@@ -73,10 +73,10 @@ export interface ProductResource {
|
|
|
73
73
|
warranty: string;
|
|
74
74
|
/**
|
|
75
75
|
*
|
|
76
|
-
* @type {
|
|
76
|
+
* @type {object}
|
|
77
77
|
* @memberof ProductResource
|
|
78
78
|
*/
|
|
79
|
-
|
|
79
|
+
categories: object;
|
|
80
80
|
/**
|
|
81
81
|
*
|
|
82
82
|
* @type {boolean}
|
|
@@ -124,7 +124,7 @@ export function instanceOfProductResource(value: object): value is ProductResour
|
|
|
124
124
|
if (!('displayName' in value) || value['displayName'] === undefined) return false;
|
|
125
125
|
if (!('isAccessory' in value) || value['isAccessory'] === undefined) return false;
|
|
126
126
|
if (!('warranty' in value) || value['warranty'] === undefined) return false;
|
|
127
|
-
if (!('
|
|
127
|
+
if (!('categories' in value) || value['categories'] === undefined) return false;
|
|
128
128
|
if (!('isDisabled' in value) || value['isDisabled'] === undefined) return false;
|
|
129
129
|
if (!('googleCategory' in value) || value['googleCategory'] === undefined) return false;
|
|
130
130
|
if (!('supplier' in value) || value['supplier'] === undefined) return false;
|
|
@@ -149,7 +149,7 @@ export function ProductResourceFromJSONTyped(json: any, ignoreDiscriminator: boo
|
|
|
149
149
|
'displayName': json['displayName'],
|
|
150
150
|
'isAccessory': json['isAccessory'],
|
|
151
151
|
'warranty': json['warranty'],
|
|
152
|
-
'
|
|
152
|
+
'categories': json['categories'],
|
|
153
153
|
'isDisabled': json['isDisabled'],
|
|
154
154
|
'googleCategory': GoogleCategoryResourceFromJSON(json['googleCategory']),
|
|
155
155
|
'supplier': SupplierLiteResourceFromJSON(json['supplier']),
|
|
@@ -175,7 +175,7 @@ export function ProductResourceToJSONTyped(value?: ProductResource | null, ignor
|
|
|
175
175
|
'displayName': value['displayName'],
|
|
176
176
|
'isAccessory': value['isAccessory'],
|
|
177
177
|
'warranty': value['warranty'],
|
|
178
|
-
'
|
|
178
|
+
'categories': value['categories'],
|
|
179
179
|
'isDisabled': value['isDisabled'],
|
|
180
180
|
'googleCategory': GoogleCategoryResourceToJSON(value['googleCategory']),
|
|
181
181
|
'supplier': SupplierLiteResourceToJSON(value['supplier']),
|
|
@@ -13,13 +13,13 @@
|
|
|
13
13
|
*/
|
|
14
14
|
|
|
15
15
|
import { mapValues } from '../runtime';
|
|
16
|
-
import type {
|
|
16
|
+
import type { UpdateProductTypeRequestPerformanceValuesInner } from './UpdateProductTypeRequestPerformanceValuesInner';
|
|
17
17
|
import {
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
} from './
|
|
18
|
+
UpdateProductTypeRequestPerformanceValuesInnerFromJSON,
|
|
19
|
+
UpdateProductTypeRequestPerformanceValuesInnerFromJSONTyped,
|
|
20
|
+
UpdateProductTypeRequestPerformanceValuesInnerToJSON,
|
|
21
|
+
UpdateProductTypeRequestPerformanceValuesInnerToJSONTyped,
|
|
22
|
+
} from './UpdateProductTypeRequestPerformanceValuesInner';
|
|
23
23
|
|
|
24
24
|
/**
|
|
25
25
|
*
|
|
@@ -35,28 +35,28 @@ export interface UpdateProductTypeRequest {
|
|
|
35
35
|
name: string;
|
|
36
36
|
/**
|
|
37
37
|
*
|
|
38
|
-
* @type {Array<
|
|
38
|
+
* @type {Array<UpdateProductTypeRequestPerformanceValuesInner>}
|
|
39
39
|
* @memberof UpdateProductTypeRequest
|
|
40
40
|
*/
|
|
41
|
-
performanceValues?: Array<
|
|
41
|
+
performanceValues?: Array<UpdateProductTypeRequestPerformanceValuesInner>;
|
|
42
42
|
/**
|
|
43
43
|
*
|
|
44
|
-
* @type {Array<
|
|
44
|
+
* @type {Array<UpdateProductTypeRequestPerformanceValuesInner>}
|
|
45
45
|
* @memberof UpdateProductTypeRequest
|
|
46
46
|
*/
|
|
47
|
-
dimensionValues?: Array<
|
|
47
|
+
dimensionValues?: Array<UpdateProductTypeRequestPerformanceValuesInner>;
|
|
48
48
|
/**
|
|
49
49
|
*
|
|
50
|
-
* @type {Array<
|
|
50
|
+
* @type {Array<UpdateProductTypeRequestPerformanceValuesInner>}
|
|
51
51
|
* @memberof UpdateProductTypeRequest
|
|
52
52
|
*/
|
|
53
|
-
specificationValues?: Array<
|
|
53
|
+
specificationValues?: Array<UpdateProductTypeRequestPerformanceValuesInner>;
|
|
54
54
|
/**
|
|
55
55
|
*
|
|
56
|
-
* @type {Array<
|
|
56
|
+
* @type {Array<UpdateProductTypeRequestPerformanceValuesInner>}
|
|
57
57
|
* @memberof UpdateProductTypeRequest
|
|
58
58
|
*/
|
|
59
|
-
otherValues?: Array<
|
|
59
|
+
otherValues?: Array<UpdateProductTypeRequestPerformanceValuesInner>;
|
|
60
60
|
}
|
|
61
61
|
|
|
62
62
|
/**
|
|
@@ -78,10 +78,10 @@ export function UpdateProductTypeRequestFromJSONTyped(json: any, ignoreDiscrimin
|
|
|
78
78
|
return {
|
|
79
79
|
|
|
80
80
|
'name': json['name'],
|
|
81
|
-
'performanceValues': json['performance_values'] == null ? undefined : ((json['performance_values'] as Array<any>).map(
|
|
82
|
-
'dimensionValues': json['dimension_values'] == null ? undefined : ((json['dimension_values'] as Array<any>).map(
|
|
83
|
-
'specificationValues': json['specification_values'] == null ? undefined : ((json['specification_values'] as Array<any>).map(
|
|
84
|
-
'otherValues': json['other_values'] == null ? undefined : ((json['other_values'] as Array<any>).map(
|
|
81
|
+
'performanceValues': json['performance_values'] == null ? undefined : ((json['performance_values'] as Array<any>).map(UpdateProductTypeRequestPerformanceValuesInnerFromJSON)),
|
|
82
|
+
'dimensionValues': json['dimension_values'] == null ? undefined : ((json['dimension_values'] as Array<any>).map(UpdateProductTypeRequestPerformanceValuesInnerFromJSON)),
|
|
83
|
+
'specificationValues': json['specification_values'] == null ? undefined : ((json['specification_values'] as Array<any>).map(UpdateProductTypeRequestPerformanceValuesInnerFromJSON)),
|
|
84
|
+
'otherValues': json['other_values'] == null ? undefined : ((json['other_values'] as Array<any>).map(UpdateProductTypeRequestPerformanceValuesInnerFromJSON)),
|
|
85
85
|
};
|
|
86
86
|
}
|
|
87
87
|
|
|
@@ -97,10 +97,10 @@ export function UpdateProductTypeRequestToJSONTyped(value?: UpdateProductTypeReq
|
|
|
97
97
|
return {
|
|
98
98
|
|
|
99
99
|
'name': value['name'],
|
|
100
|
-
'performance_values': value['performanceValues'] == null ? undefined : ((value['performanceValues'] as Array<any>).map(
|
|
101
|
-
'dimension_values': value['dimensionValues'] == null ? undefined : ((value['dimensionValues'] as Array<any>).map(
|
|
102
|
-
'specification_values': value['specificationValues'] == null ? undefined : ((value['specificationValues'] as Array<any>).map(
|
|
103
|
-
'other_values': value['otherValues'] == null ? undefined : ((value['otherValues'] as Array<any>).map(
|
|
100
|
+
'performance_values': value['performanceValues'] == null ? undefined : ((value['performanceValues'] as Array<any>).map(UpdateProductTypeRequestPerformanceValuesInnerToJSON)),
|
|
101
|
+
'dimension_values': value['dimensionValues'] == null ? undefined : ((value['dimensionValues'] as Array<any>).map(UpdateProductTypeRequestPerformanceValuesInnerToJSON)),
|
|
102
|
+
'specification_values': value['specificationValues'] == null ? undefined : ((value['specificationValues'] as Array<any>).map(UpdateProductTypeRequestPerformanceValuesInnerToJSON)),
|
|
103
|
+
'other_values': value['otherValues'] == null ? undefined : ((value['otherValues'] as Array<any>).map(UpdateProductTypeRequestPerformanceValuesInnerToJSON)),
|
|
104
104
|
};
|
|
105
105
|
}
|
|
106
106
|
|
|
@@ -0,0 +1,73 @@
|
|
|
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 UpdateProductTypeRequestPerformanceValuesInner
|
|
20
|
+
*/
|
|
21
|
+
export interface UpdateProductTypeRequestPerformanceValuesInner {
|
|
22
|
+
/**
|
|
23
|
+
*
|
|
24
|
+
* @type {number}
|
|
25
|
+
* @memberof UpdateProductTypeRequestPerformanceValuesInner
|
|
26
|
+
*/
|
|
27
|
+
attributeId?: number;
|
|
28
|
+
/**
|
|
29
|
+
*
|
|
30
|
+
* @type {number}
|
|
31
|
+
* @memberof UpdateProductTypeRequestPerformanceValuesInner
|
|
32
|
+
*/
|
|
33
|
+
order?: number;
|
|
34
|
+
}
|
|
35
|
+
|
|
36
|
+
/**
|
|
37
|
+
* Check if a given object implements the UpdateProductTypeRequestPerformanceValuesInner interface.
|
|
38
|
+
*/
|
|
39
|
+
export function instanceOfUpdateProductTypeRequestPerformanceValuesInner(value: object): value is UpdateProductTypeRequestPerformanceValuesInner {
|
|
40
|
+
return true;
|
|
41
|
+
}
|
|
42
|
+
|
|
43
|
+
export function UpdateProductTypeRequestPerformanceValuesInnerFromJSON(json: any): UpdateProductTypeRequestPerformanceValuesInner {
|
|
44
|
+
return UpdateProductTypeRequestPerformanceValuesInnerFromJSONTyped(json, false);
|
|
45
|
+
}
|
|
46
|
+
|
|
47
|
+
export function UpdateProductTypeRequestPerformanceValuesInnerFromJSONTyped(json: any, ignoreDiscriminator: boolean): UpdateProductTypeRequestPerformanceValuesInner {
|
|
48
|
+
if (json == null) {
|
|
49
|
+
return json;
|
|
50
|
+
}
|
|
51
|
+
return {
|
|
52
|
+
|
|
53
|
+
'attributeId': json['attribute_id'] == null ? undefined : json['attribute_id'],
|
|
54
|
+
'order': json['order'] == null ? undefined : json['order'],
|
|
55
|
+
};
|
|
56
|
+
}
|
|
57
|
+
|
|
58
|
+
export function UpdateProductTypeRequestPerformanceValuesInnerToJSON(json: any): UpdateProductTypeRequestPerformanceValuesInner {
|
|
59
|
+
return UpdateProductTypeRequestPerformanceValuesInnerToJSONTyped(json, false);
|
|
60
|
+
}
|
|
61
|
+
|
|
62
|
+
export function UpdateProductTypeRequestPerformanceValuesInnerToJSONTyped(value?: UpdateProductTypeRequestPerformanceValuesInner | null, ignoreDiscriminator: boolean = false): any {
|
|
63
|
+
if (value == null) {
|
|
64
|
+
return value;
|
|
65
|
+
}
|
|
66
|
+
|
|
67
|
+
return {
|
|
68
|
+
|
|
69
|
+
'attribute_id': value['attributeId'],
|
|
70
|
+
'order': value['order'],
|
|
71
|
+
};
|
|
72
|
+
}
|
|
73
|
+
|