@digital8/lighting-illusions-ts-sdk 0.0.750 → 0.0.751
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 -2
- package/README.md +2 -3
- package/dist/models/AttachAttributesProductRangeRequestAttributesInner.d.ts +1 -1
- package/dist/models/AttachAttributesProductRangeRequestAttributesInner.js +2 -2
- package/dist/models/UpdateProductRangeRequestAttributesInner.d.ts +1 -1
- package/dist/models/UpdateProductRangeRequestAttributesInner.js +2 -2
- package/dist/models/UpdateProductTypeRequest.d.ts +9 -9
- package/dist/models/UpdateProductTypeRequest.js +9 -9
- package/dist/models/index.d.ts +0 -1
- package/dist/models/index.js +0 -1
- package/docs/AttachAttributesProductRangeRequestAttributesInner.md +2 -2
- package/docs/UpdateProductRangeRequestAttributesInner.md +2 -2
- package/docs/UpdateProductTypeRequest.md +4 -4
- package/package.json +1 -1
- package/src/models/AttachAttributesProductRangeRequestAttributesInner.ts +3 -3
- package/src/models/UpdateProductRangeRequestAttributesInner.ts +3 -3
- package/src/models/UpdateProductTypeRequest.ts +22 -22
- package/src/models/index.ts +0 -1
- package/dist/models/UpdateProductTypeRequestPerformanceValuesInner.d.ts +0 -38
- package/dist/models/UpdateProductTypeRequestPerformanceValuesInner.js +0 -51
- package/docs/UpdateProductTypeRequestPerformanceValuesInner.md +0 -36
- package/src/models/UpdateProductTypeRequestPerformanceValuesInner.ts +0 -73
package/.openapi-generator/FILES
CHANGED
|
@@ -321,7 +321,6 @@ docs/UpdateProductRangeRequest.md
|
|
|
321
321
|
docs/UpdateProductRangeRequestAttributesInner.md
|
|
322
322
|
docs/UpdateProductRequest.md
|
|
323
323
|
docs/UpdateProductTypeRequest.md
|
|
324
|
-
docs/UpdateProductTypeRequestPerformanceValuesInner.md
|
|
325
324
|
docs/UpdateSiteNotificationRequest.md
|
|
326
325
|
docs/UpdateSiteRequest.md
|
|
327
326
|
docs/UpdateSupplierRequest.md
|
|
@@ -652,7 +651,6 @@ src/models/UpdateProductRangeRequest.ts
|
|
|
652
651
|
src/models/UpdateProductRangeRequestAttributesInner.ts
|
|
653
652
|
src/models/UpdateProductRequest.ts
|
|
654
653
|
src/models/UpdateProductTypeRequest.ts
|
|
655
|
-
src/models/UpdateProductTypeRequestPerformanceValuesInner.ts
|
|
656
654
|
src/models/UpdateSiteNotificationRequest.ts
|
|
657
655
|
src/models/UpdateSiteRequest.ts
|
|
658
656
|
src/models/UpdateSupplierRequest.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.751
|
|
2
2
|
|
|
3
3
|
A TypeScript SDK client for the localhost API.
|
|
4
4
|
|
|
@@ -486,7 +486,6 @@ All URIs are relative to *http://localhost/api*
|
|
|
486
486
|
- [UpdateProductRangeRequestAttributesInner](docs/UpdateProductRangeRequestAttributesInner.md)
|
|
487
487
|
- [UpdateProductRequest](docs/UpdateProductRequest.md)
|
|
488
488
|
- [UpdateProductTypeRequest](docs/UpdateProductTypeRequest.md)
|
|
489
|
-
- [UpdateProductTypeRequestPerformanceValuesInner](docs/UpdateProductTypeRequestPerformanceValuesInner.md)
|
|
490
489
|
- [UpdateSiteNotificationRequest](docs/UpdateSiteNotificationRequest.md)
|
|
491
490
|
- [UpdateSiteRequest](docs/UpdateSiteRequest.md)
|
|
492
491
|
- [UpdateSupplierRequest](docs/UpdateSupplierRequest.md)
|
|
@@ -508,7 +507,7 @@ and is automatically generated by the
|
|
|
508
507
|
[OpenAPI Generator](https://openapi-generator.tech) project:
|
|
509
508
|
|
|
510
509
|
- API version: `1.0.0`
|
|
511
|
-
- Package version: `0.0.
|
|
510
|
+
- Package version: `0.0.751`
|
|
512
511
|
- Generator version: `7.19.0`
|
|
513
512
|
- Build package: `org.openapitools.codegen.languages.TypeScriptFetchClientCodegen`
|
|
514
513
|
|
|
@@ -26,7 +26,7 @@ export interface AttachAttributesProductRangeRequestAttributesInner {
|
|
|
26
26
|
* @type {number}
|
|
27
27
|
* @memberof AttachAttributesProductRangeRequestAttributesInner
|
|
28
28
|
*/
|
|
29
|
-
|
|
29
|
+
order?: number;
|
|
30
30
|
}
|
|
31
31
|
/**
|
|
32
32
|
* Check if a given object implements the AttachAttributesProductRangeRequestAttributesInner interface.
|
|
@@ -35,7 +35,7 @@ function AttachAttributesProductRangeRequestAttributesInnerFromJSONTyped(json, i
|
|
|
35
35
|
}
|
|
36
36
|
return {
|
|
37
37
|
'attributeId': json['attribute_id'],
|
|
38
|
-
'
|
|
38
|
+
'order': json['order'] == null ? undefined : json['order'],
|
|
39
39
|
};
|
|
40
40
|
}
|
|
41
41
|
function AttachAttributesProductRangeRequestAttributesInnerToJSON(json) {
|
|
@@ -48,6 +48,6 @@ function AttachAttributesProductRangeRequestAttributesInnerToJSONTyped(value, ig
|
|
|
48
48
|
}
|
|
49
49
|
return {
|
|
50
50
|
'attribute_id': value['attributeId'],
|
|
51
|
-
'
|
|
51
|
+
'order': value['order'],
|
|
52
52
|
};
|
|
53
53
|
}
|
|
@@ -26,7 +26,7 @@ export interface UpdateProductRangeRequestAttributesInner {
|
|
|
26
26
|
* @type {number}
|
|
27
27
|
* @memberof UpdateProductRangeRequestAttributesInner
|
|
28
28
|
*/
|
|
29
|
-
|
|
29
|
+
order?: number;
|
|
30
30
|
}
|
|
31
31
|
/**
|
|
32
32
|
* Check if a given object implements the UpdateProductRangeRequestAttributesInner interface.
|
|
@@ -33,7 +33,7 @@ function UpdateProductRangeRequestAttributesInnerFromJSONTyped(json, ignoreDiscr
|
|
|
33
33
|
}
|
|
34
34
|
return {
|
|
35
35
|
'attributeId': json['attribute_id'] == null ? undefined : json['attribute_id'],
|
|
36
|
-
'
|
|
36
|
+
'order': json['order'] == null ? undefined : json['order'],
|
|
37
37
|
};
|
|
38
38
|
}
|
|
39
39
|
function UpdateProductRangeRequestAttributesInnerToJSON(json) {
|
|
@@ -46,6 +46,6 @@ function UpdateProductRangeRequestAttributesInnerToJSONTyped(value, ignoreDiscri
|
|
|
46
46
|
}
|
|
47
47
|
return {
|
|
48
48
|
'attribute_id': value['attributeId'],
|
|
49
|
-
'
|
|
49
|
+
'order': value['order'],
|
|
50
50
|
};
|
|
51
51
|
}
|
|
@@ -9,7 +9,7 @@
|
|
|
9
9
|
* https://openapi-generator.tech
|
|
10
10
|
* Do not edit the class manually.
|
|
11
11
|
*/
|
|
12
|
-
import type {
|
|
12
|
+
import type { UpdateProductRangeRequestAttributesInner } from './UpdateProductRangeRequestAttributesInner';
|
|
13
13
|
/**
|
|
14
14
|
*
|
|
15
15
|
* @export
|
|
@@ -24,28 +24,28 @@ export interface UpdateProductTypeRequest {
|
|
|
24
24
|
name: string;
|
|
25
25
|
/**
|
|
26
26
|
*
|
|
27
|
-
* @type {Array<
|
|
27
|
+
* @type {Array<UpdateProductRangeRequestAttributesInner>}
|
|
28
28
|
* @memberof UpdateProductTypeRequest
|
|
29
29
|
*/
|
|
30
|
-
performanceValues?: Array<
|
|
30
|
+
performanceValues?: Array<UpdateProductRangeRequestAttributesInner>;
|
|
31
31
|
/**
|
|
32
32
|
*
|
|
33
|
-
* @type {Array<
|
|
33
|
+
* @type {Array<UpdateProductRangeRequestAttributesInner>}
|
|
34
34
|
* @memberof UpdateProductTypeRequest
|
|
35
35
|
*/
|
|
36
|
-
dimensionValues?: Array<
|
|
36
|
+
dimensionValues?: Array<UpdateProductRangeRequestAttributesInner>;
|
|
37
37
|
/**
|
|
38
38
|
*
|
|
39
|
-
* @type {Array<
|
|
39
|
+
* @type {Array<UpdateProductRangeRequestAttributesInner>}
|
|
40
40
|
* @memberof UpdateProductTypeRequest
|
|
41
41
|
*/
|
|
42
|
-
specificationValues?: Array<
|
|
42
|
+
specificationValues?: Array<UpdateProductRangeRequestAttributesInner>;
|
|
43
43
|
/**
|
|
44
44
|
*
|
|
45
|
-
* @type {Array<
|
|
45
|
+
* @type {Array<UpdateProductRangeRequestAttributesInner>}
|
|
46
46
|
* @memberof UpdateProductTypeRequest
|
|
47
47
|
*/
|
|
48
|
-
otherValues?: Array<
|
|
48
|
+
otherValues?: Array<UpdateProductRangeRequestAttributesInner>;
|
|
49
49
|
}
|
|
50
50
|
/**
|
|
51
51
|
* Check if a given object implements the UpdateProductTypeRequest interface.
|
|
@@ -18,7 +18,7 @@ exports.UpdateProductTypeRequestFromJSON = UpdateProductTypeRequestFromJSON;
|
|
|
18
18
|
exports.UpdateProductTypeRequestFromJSONTyped = UpdateProductTypeRequestFromJSONTyped;
|
|
19
19
|
exports.UpdateProductTypeRequestToJSON = UpdateProductTypeRequestToJSON;
|
|
20
20
|
exports.UpdateProductTypeRequestToJSONTyped = UpdateProductTypeRequestToJSONTyped;
|
|
21
|
-
var
|
|
21
|
+
var UpdateProductRangeRequestAttributesInner_1 = require("./UpdateProductRangeRequestAttributesInner");
|
|
22
22
|
/**
|
|
23
23
|
* Check if a given object implements the UpdateProductTypeRequest interface.
|
|
24
24
|
*/
|
|
@@ -36,10 +36,10 @@ function UpdateProductTypeRequestFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
36
36
|
}
|
|
37
37
|
return {
|
|
38
38
|
'name': json['name'],
|
|
39
|
-
'performanceValues': json['performance_values'] == null ? undefined : (json['performance_values'].map(
|
|
40
|
-
'dimensionValues': json['dimension_values'] == null ? undefined : (json['dimension_values'].map(
|
|
41
|
-
'specificationValues': json['specification_values'] == null ? undefined : (json['specification_values'].map(
|
|
42
|
-
'otherValues': json['other_values'] == null ? undefined : (json['other_values'].map(
|
|
39
|
+
'performanceValues': json['performance_values'] == null ? undefined : (json['performance_values'].map(UpdateProductRangeRequestAttributesInner_1.UpdateProductRangeRequestAttributesInnerFromJSON)),
|
|
40
|
+
'dimensionValues': json['dimension_values'] == null ? undefined : (json['dimension_values'].map(UpdateProductRangeRequestAttributesInner_1.UpdateProductRangeRequestAttributesInnerFromJSON)),
|
|
41
|
+
'specificationValues': json['specification_values'] == null ? undefined : (json['specification_values'].map(UpdateProductRangeRequestAttributesInner_1.UpdateProductRangeRequestAttributesInnerFromJSON)),
|
|
42
|
+
'otherValues': json['other_values'] == null ? undefined : (json['other_values'].map(UpdateProductRangeRequestAttributesInner_1.UpdateProductRangeRequestAttributesInnerFromJSON)),
|
|
43
43
|
};
|
|
44
44
|
}
|
|
45
45
|
function UpdateProductTypeRequestToJSON(json) {
|
|
@@ -52,9 +52,9 @@ function UpdateProductTypeRequestToJSONTyped(value, ignoreDiscriminator) {
|
|
|
52
52
|
}
|
|
53
53
|
return {
|
|
54
54
|
'name': value['name'],
|
|
55
|
-
'performance_values': value['performanceValues'] == null ? undefined : (value['performanceValues'].map(
|
|
56
|
-
'dimension_values': value['dimensionValues'] == null ? undefined : (value['dimensionValues'].map(
|
|
57
|
-
'specification_values': value['specificationValues'] == null ? undefined : (value['specificationValues'].map(
|
|
58
|
-
'other_values': value['otherValues'] == null ? undefined : (value['otherValues'].map(
|
|
55
|
+
'performance_values': value['performanceValues'] == null ? undefined : (value['performanceValues'].map(UpdateProductRangeRequestAttributesInner_1.UpdateProductRangeRequestAttributesInnerToJSON)),
|
|
56
|
+
'dimension_values': value['dimensionValues'] == null ? undefined : (value['dimensionValues'].map(UpdateProductRangeRequestAttributesInner_1.UpdateProductRangeRequestAttributesInnerToJSON)),
|
|
57
|
+
'specification_values': value['specificationValues'] == null ? undefined : (value['specificationValues'].map(UpdateProductRangeRequestAttributesInner_1.UpdateProductRangeRequestAttributesInnerToJSON)),
|
|
58
|
+
'other_values': value['otherValues'] == null ? undefined : (value['otherValues'].map(UpdateProductRangeRequestAttributesInner_1.UpdateProductRangeRequestAttributesInnerToJSON)),
|
|
59
59
|
};
|
|
60
60
|
}
|
package/dist/models/index.d.ts
CHANGED
|
@@ -303,7 +303,6 @@ export * from './UpdateProductRangeRequest';
|
|
|
303
303
|
export * from './UpdateProductRangeRequestAttributesInner';
|
|
304
304
|
export * from './UpdateProductRequest';
|
|
305
305
|
export * from './UpdateProductTypeRequest';
|
|
306
|
-
export * from './UpdateProductTypeRequestPerformanceValuesInner';
|
|
307
306
|
export * from './UpdateSiteNotificationRequest';
|
|
308
307
|
export * from './UpdateSiteRequest';
|
|
309
308
|
export * from './UpdateSupplierRequest';
|
package/dist/models/index.js
CHANGED
|
@@ -321,7 +321,6 @@ __exportStar(require("./UpdateProductRangeRequest"), exports);
|
|
|
321
321
|
__exportStar(require("./UpdateProductRangeRequestAttributesInner"), exports);
|
|
322
322
|
__exportStar(require("./UpdateProductRequest"), exports);
|
|
323
323
|
__exportStar(require("./UpdateProductTypeRequest"), exports);
|
|
324
|
-
__exportStar(require("./UpdateProductTypeRequestPerformanceValuesInner"), exports);
|
|
325
324
|
__exportStar(require("./UpdateSiteNotificationRequest"), exports);
|
|
326
325
|
__exportStar(require("./UpdateSiteRequest"), exports);
|
|
327
326
|
__exportStar(require("./UpdateSupplierRequest"), exports);
|
|
@@ -7,7 +7,7 @@
|
|
|
7
7
|
Name | Type
|
|
8
8
|
------------ | -------------
|
|
9
9
|
`attributeId` | number
|
|
10
|
-
`
|
|
10
|
+
`order` | number
|
|
11
11
|
|
|
12
12
|
## Example
|
|
13
13
|
|
|
@@ -17,7 +17,7 @@ import type { AttachAttributesProductRangeRequestAttributesInner } from '@digita
|
|
|
17
17
|
// TODO: Update the object below with actual values
|
|
18
18
|
const example = {
|
|
19
19
|
"attributeId": null,
|
|
20
|
-
"
|
|
20
|
+
"order": null,
|
|
21
21
|
} satisfies AttachAttributesProductRangeRequestAttributesInner
|
|
22
22
|
|
|
23
23
|
console.log(example)
|
|
@@ -7,7 +7,7 @@
|
|
|
7
7
|
Name | Type
|
|
8
8
|
------------ | -------------
|
|
9
9
|
`attributeId` | number
|
|
10
|
-
`
|
|
10
|
+
`order` | number
|
|
11
11
|
|
|
12
12
|
## Example
|
|
13
13
|
|
|
@@ -17,7 +17,7 @@ import type { UpdateProductRangeRequestAttributesInner } from '@digital8/lightin
|
|
|
17
17
|
// TODO: Update the object below with actual values
|
|
18
18
|
const example = {
|
|
19
19
|
"attributeId": null,
|
|
20
|
-
"
|
|
20
|
+
"order": null,
|
|
21
21
|
} satisfies UpdateProductRangeRequestAttributesInner
|
|
22
22
|
|
|
23
23
|
console.log(example)
|
|
@@ -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<UpdateProductRangeRequestAttributesInner>](UpdateProductRangeRequestAttributesInner.md)
|
|
11
|
+
`dimensionValues` | [Array<UpdateProductRangeRequestAttributesInner>](UpdateProductRangeRequestAttributesInner.md)
|
|
12
|
+
`specificationValues` | [Array<UpdateProductRangeRequestAttributesInner>](UpdateProductRangeRequestAttributesInner.md)
|
|
13
|
+
`otherValues` | [Array<UpdateProductRangeRequestAttributesInner>](UpdateProductRangeRequestAttributesInner.md)
|
|
14
14
|
|
|
15
15
|
## Example
|
|
16
16
|
|
package/package.json
CHANGED
|
@@ -30,7 +30,7 @@ export interface AttachAttributesProductRangeRequestAttributesInner {
|
|
|
30
30
|
* @type {number}
|
|
31
31
|
* @memberof AttachAttributesProductRangeRequestAttributesInner
|
|
32
32
|
*/
|
|
33
|
-
|
|
33
|
+
order?: number;
|
|
34
34
|
}
|
|
35
35
|
|
|
36
36
|
/**
|
|
@@ -52,7 +52,7 @@ export function AttachAttributesProductRangeRequestAttributesInnerFromJSONTyped(
|
|
|
52
52
|
return {
|
|
53
53
|
|
|
54
54
|
'attributeId': json['attribute_id'],
|
|
55
|
-
'
|
|
55
|
+
'order': json['order'] == null ? undefined : json['order'],
|
|
56
56
|
};
|
|
57
57
|
}
|
|
58
58
|
|
|
@@ -68,7 +68,7 @@ export function AttachAttributesProductRangeRequestAttributesInnerToJSONTyped(va
|
|
|
68
68
|
return {
|
|
69
69
|
|
|
70
70
|
'attribute_id': value['attributeId'],
|
|
71
|
-
'
|
|
71
|
+
'order': value['order'],
|
|
72
72
|
};
|
|
73
73
|
}
|
|
74
74
|
|
|
@@ -30,7 +30,7 @@ export interface UpdateProductRangeRequestAttributesInner {
|
|
|
30
30
|
* @type {number}
|
|
31
31
|
* @memberof UpdateProductRangeRequestAttributesInner
|
|
32
32
|
*/
|
|
33
|
-
|
|
33
|
+
order?: number;
|
|
34
34
|
}
|
|
35
35
|
|
|
36
36
|
/**
|
|
@@ -51,7 +51,7 @@ export function UpdateProductRangeRequestAttributesInnerFromJSONTyped(json: any,
|
|
|
51
51
|
return {
|
|
52
52
|
|
|
53
53
|
'attributeId': json['attribute_id'] == null ? undefined : json['attribute_id'],
|
|
54
|
-
'
|
|
54
|
+
'order': json['order'] == null ? undefined : json['order'],
|
|
55
55
|
};
|
|
56
56
|
}
|
|
57
57
|
|
|
@@ -67,7 +67,7 @@ export function UpdateProductRangeRequestAttributesInnerToJSONTyped(value?: Upda
|
|
|
67
67
|
return {
|
|
68
68
|
|
|
69
69
|
'attribute_id': value['attributeId'],
|
|
70
|
-
'
|
|
70
|
+
'order': value['order'],
|
|
71
71
|
};
|
|
72
72
|
}
|
|
73
73
|
|
|
@@ -13,13 +13,13 @@
|
|
|
13
13
|
*/
|
|
14
14
|
|
|
15
15
|
import { mapValues } from '../runtime';
|
|
16
|
-
import type {
|
|
16
|
+
import type { UpdateProductRangeRequestAttributesInner } from './UpdateProductRangeRequestAttributesInner';
|
|
17
17
|
import {
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
} from './
|
|
18
|
+
UpdateProductRangeRequestAttributesInnerFromJSON,
|
|
19
|
+
UpdateProductRangeRequestAttributesInnerFromJSONTyped,
|
|
20
|
+
UpdateProductRangeRequestAttributesInnerToJSON,
|
|
21
|
+
UpdateProductRangeRequestAttributesInnerToJSONTyped,
|
|
22
|
+
} from './UpdateProductRangeRequestAttributesInner';
|
|
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<UpdateProductRangeRequestAttributesInner>}
|
|
39
39
|
* @memberof UpdateProductTypeRequest
|
|
40
40
|
*/
|
|
41
|
-
performanceValues?: Array<
|
|
41
|
+
performanceValues?: Array<UpdateProductRangeRequestAttributesInner>;
|
|
42
42
|
/**
|
|
43
43
|
*
|
|
44
|
-
* @type {Array<
|
|
44
|
+
* @type {Array<UpdateProductRangeRequestAttributesInner>}
|
|
45
45
|
* @memberof UpdateProductTypeRequest
|
|
46
46
|
*/
|
|
47
|
-
dimensionValues?: Array<
|
|
47
|
+
dimensionValues?: Array<UpdateProductRangeRequestAttributesInner>;
|
|
48
48
|
/**
|
|
49
49
|
*
|
|
50
|
-
* @type {Array<
|
|
50
|
+
* @type {Array<UpdateProductRangeRequestAttributesInner>}
|
|
51
51
|
* @memberof UpdateProductTypeRequest
|
|
52
52
|
*/
|
|
53
|
-
specificationValues?: Array<
|
|
53
|
+
specificationValues?: Array<UpdateProductRangeRequestAttributesInner>;
|
|
54
54
|
/**
|
|
55
55
|
*
|
|
56
|
-
* @type {Array<
|
|
56
|
+
* @type {Array<UpdateProductRangeRequestAttributesInner>}
|
|
57
57
|
* @memberof UpdateProductTypeRequest
|
|
58
58
|
*/
|
|
59
|
-
otherValues?: Array<
|
|
59
|
+
otherValues?: Array<UpdateProductRangeRequestAttributesInner>;
|
|
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(UpdateProductRangeRequestAttributesInnerFromJSON)),
|
|
82
|
+
'dimensionValues': json['dimension_values'] == null ? undefined : ((json['dimension_values'] as Array<any>).map(UpdateProductRangeRequestAttributesInnerFromJSON)),
|
|
83
|
+
'specificationValues': json['specification_values'] == null ? undefined : ((json['specification_values'] as Array<any>).map(UpdateProductRangeRequestAttributesInnerFromJSON)),
|
|
84
|
+
'otherValues': json['other_values'] == null ? undefined : ((json['other_values'] as Array<any>).map(UpdateProductRangeRequestAttributesInnerFromJSON)),
|
|
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(UpdateProductRangeRequestAttributesInnerToJSON)),
|
|
101
|
+
'dimension_values': value['dimensionValues'] == null ? undefined : ((value['dimensionValues'] as Array<any>).map(UpdateProductRangeRequestAttributesInnerToJSON)),
|
|
102
|
+
'specification_values': value['specificationValues'] == null ? undefined : ((value['specificationValues'] as Array<any>).map(UpdateProductRangeRequestAttributesInnerToJSON)),
|
|
103
|
+
'other_values': value['otherValues'] == null ? undefined : ((value['otherValues'] as Array<any>).map(UpdateProductRangeRequestAttributesInnerToJSON)),
|
|
104
104
|
};
|
|
105
105
|
}
|
|
106
106
|
|
package/src/models/index.ts
CHANGED
|
@@ -305,7 +305,6 @@ export * from './UpdateProductRangeRequest';
|
|
|
305
305
|
export * from './UpdateProductRangeRequestAttributesInner';
|
|
306
306
|
export * from './UpdateProductRequest';
|
|
307
307
|
export * from './UpdateProductTypeRequest';
|
|
308
|
-
export * from './UpdateProductTypeRequestPerformanceValuesInner';
|
|
309
308
|
export * from './UpdateSiteNotificationRequest';
|
|
310
309
|
export * from './UpdateSiteRequest';
|
|
311
310
|
export * from './UpdateSupplierRequest';
|
|
@@ -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 UpdateProductTypeRequestPerformanceValuesInner
|
|
16
|
-
*/
|
|
17
|
-
export interface UpdateProductTypeRequestPerformanceValuesInner {
|
|
18
|
-
/**
|
|
19
|
-
*
|
|
20
|
-
* @type {number}
|
|
21
|
-
* @memberof UpdateProductTypeRequestPerformanceValuesInner
|
|
22
|
-
*/
|
|
23
|
-
attributeId?: number;
|
|
24
|
-
/**
|
|
25
|
-
*
|
|
26
|
-
* @type {number}
|
|
27
|
-
* @memberof UpdateProductTypeRequestPerformanceValuesInner
|
|
28
|
-
*/
|
|
29
|
-
order?: number;
|
|
30
|
-
}
|
|
31
|
-
/**
|
|
32
|
-
* Check if a given object implements the UpdateProductTypeRequestPerformanceValuesInner interface.
|
|
33
|
-
*/
|
|
34
|
-
export declare function instanceOfUpdateProductTypeRequestPerformanceValuesInner(value: object): value is UpdateProductTypeRequestPerformanceValuesInner;
|
|
35
|
-
export declare function UpdateProductTypeRequestPerformanceValuesInnerFromJSON(json: any): UpdateProductTypeRequestPerformanceValuesInner;
|
|
36
|
-
export declare function UpdateProductTypeRequestPerformanceValuesInnerFromJSONTyped(json: any, ignoreDiscriminator: boolean): UpdateProductTypeRequestPerformanceValuesInner;
|
|
37
|
-
export declare function UpdateProductTypeRequestPerformanceValuesInnerToJSON(json: any): UpdateProductTypeRequestPerformanceValuesInner;
|
|
38
|
-
export declare function UpdateProductTypeRequestPerformanceValuesInnerToJSONTyped(value?: UpdateProductTypeRequestPerformanceValuesInner | 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.instanceOfUpdateProductTypeRequestPerformanceValuesInner = instanceOfUpdateProductTypeRequestPerformanceValuesInner;
|
|
17
|
-
exports.UpdateProductTypeRequestPerformanceValuesInnerFromJSON = UpdateProductTypeRequestPerformanceValuesInnerFromJSON;
|
|
18
|
-
exports.UpdateProductTypeRequestPerformanceValuesInnerFromJSONTyped = UpdateProductTypeRequestPerformanceValuesInnerFromJSONTyped;
|
|
19
|
-
exports.UpdateProductTypeRequestPerformanceValuesInnerToJSON = UpdateProductTypeRequestPerformanceValuesInnerToJSON;
|
|
20
|
-
exports.UpdateProductTypeRequestPerformanceValuesInnerToJSONTyped = UpdateProductTypeRequestPerformanceValuesInnerToJSONTyped;
|
|
21
|
-
/**
|
|
22
|
-
* Check if a given object implements the UpdateProductTypeRequestPerformanceValuesInner interface.
|
|
23
|
-
*/
|
|
24
|
-
function instanceOfUpdateProductTypeRequestPerformanceValuesInner(value) {
|
|
25
|
-
return true;
|
|
26
|
-
}
|
|
27
|
-
function UpdateProductTypeRequestPerformanceValuesInnerFromJSON(json) {
|
|
28
|
-
return UpdateProductTypeRequestPerformanceValuesInnerFromJSONTyped(json, false);
|
|
29
|
-
}
|
|
30
|
-
function UpdateProductTypeRequestPerformanceValuesInnerFromJSONTyped(json, ignoreDiscriminator) {
|
|
31
|
-
if (json == null) {
|
|
32
|
-
return json;
|
|
33
|
-
}
|
|
34
|
-
return {
|
|
35
|
-
'attributeId': json['attribute_id'] == null ? undefined : json['attribute_id'],
|
|
36
|
-
'order': json['order'] == null ? undefined : json['order'],
|
|
37
|
-
};
|
|
38
|
-
}
|
|
39
|
-
function UpdateProductTypeRequestPerformanceValuesInnerToJSON(json) {
|
|
40
|
-
return UpdateProductTypeRequestPerformanceValuesInnerToJSONTyped(json, false);
|
|
41
|
-
}
|
|
42
|
-
function UpdateProductTypeRequestPerformanceValuesInnerToJSONTyped(value, ignoreDiscriminator) {
|
|
43
|
-
if (ignoreDiscriminator === void 0) { ignoreDiscriminator = false; }
|
|
44
|
-
if (value == null) {
|
|
45
|
-
return value;
|
|
46
|
-
}
|
|
47
|
-
return {
|
|
48
|
-
'attribute_id': value['attributeId'],
|
|
49
|
-
'order': value['order'],
|
|
50
|
-
};
|
|
51
|
-
}
|
|
@@ -1,36 +0,0 @@
|
|
|
1
|
-
|
|
2
|
-
# UpdateProductTypeRequestPerformanceValuesInner
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
## Properties
|
|
6
|
-
|
|
7
|
-
Name | Type
|
|
8
|
-
------------ | -------------
|
|
9
|
-
`attributeId` | number
|
|
10
|
-
`order` | number
|
|
11
|
-
|
|
12
|
-
## Example
|
|
13
|
-
|
|
14
|
-
```typescript
|
|
15
|
-
import type { UpdateProductTypeRequestPerformanceValuesInner } from '@digital8/lighting-illusions-ts-sdk'
|
|
16
|
-
|
|
17
|
-
// TODO: Update the object below with actual values
|
|
18
|
-
const example = {
|
|
19
|
-
"attributeId": null,
|
|
20
|
-
"order": null,
|
|
21
|
-
} satisfies UpdateProductTypeRequestPerformanceValuesInner
|
|
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 UpdateProductTypeRequestPerformanceValuesInner
|
|
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,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
|
-
/**
|
|
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
|
-
|