@digital8/lighting-illusions-ts-sdk 0.0.481 → 0.0.483
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/README.md +2 -2
- package/dist/models/IndexProductChildRequest.d.ts +2 -0
- package/dist/models/IndexProductChildRequest.js +3 -1
- package/dist/models/ProductChildListResource.d.ts +2 -2
- package/dist/models/ProductChildListResource.js +2 -2
- package/docs/ProductChildListResource.md +1 -1
- package/package.json +1 -1
- package/src/models/IndexProductChildRequest.ts +3 -1
- package/src/models/ProductChildListResource.ts +4 -4
package/README.md
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
# @digital8/lighting-illusions-ts-sdk@0.0.
|
|
1
|
+
# @digital8/lighting-illusions-ts-sdk@0.0.483
|
|
2
2
|
|
|
3
3
|
A TypeScript SDK client for the localhost API.
|
|
4
4
|
|
|
@@ -355,7 +355,7 @@ and is automatically generated by the
|
|
|
355
355
|
[OpenAPI Generator](https://openapi-generator.tech) project:
|
|
356
356
|
|
|
357
357
|
- API version: `1.0.0`
|
|
358
|
-
- Package version: `0.0.
|
|
358
|
+
- Package version: `0.0.483`
|
|
359
359
|
- Generator version: `7.17.0`
|
|
360
360
|
- Build package: `org.openapitools.codegen.languages.TypeScriptFetchClientCodegen`
|
|
361
361
|
|
|
@@ -128,6 +128,8 @@ export declare const IndexProductChildRequestRelatedTypeEnum: {
|
|
|
128
128
|
readonly OverlayTemplate: "overlayTemplate";
|
|
129
129
|
readonly Supplier: "supplier";
|
|
130
130
|
readonly Tag: "tag";
|
|
131
|
+
readonly Attribute: "attribute";
|
|
132
|
+
readonly AttributeValue: "attributeValue";
|
|
131
133
|
};
|
|
132
134
|
export type IndexProductChildRequestRelatedTypeEnum = typeof IndexProductChildRequestRelatedTypeEnum[keyof typeof IndexProductChildRequestRelatedTypeEnum];
|
|
133
135
|
/**
|
|
@@ -50,7 +50,9 @@ exports.IndexProductChildRequestSortDirectionEnum = {
|
|
|
50
50
|
exports.IndexProductChildRequestRelatedTypeEnum = {
|
|
51
51
|
OverlayTemplate: 'overlayTemplate',
|
|
52
52
|
Supplier: 'supplier',
|
|
53
|
-
Tag: 'tag'
|
|
53
|
+
Tag: 'tag',
|
|
54
|
+
Attribute: 'attribute',
|
|
55
|
+
AttributeValue: 'attributeValue'
|
|
54
56
|
};
|
|
55
57
|
/**
|
|
56
58
|
* Check if a given object implements the IndexProductChildRequest interface.
|
|
@@ -55,10 +55,10 @@ export interface ProductChildListResource {
|
|
|
55
55
|
thumbnail: AssetLiteResource | null;
|
|
56
56
|
/**
|
|
57
57
|
*
|
|
58
|
-
* @type {ProductChildSiteDetailLiteResource}
|
|
58
|
+
* @type {Array<ProductChildSiteDetailLiteResource>}
|
|
59
59
|
* @memberof ProductChildListResource
|
|
60
60
|
*/
|
|
61
|
-
siteDetails: ProductChildSiteDetailLiteResource | null;
|
|
61
|
+
siteDetails: Array<ProductChildSiteDetailLiteResource> | null;
|
|
62
62
|
}
|
|
63
63
|
/**
|
|
64
64
|
* Check if a given object implements the ProductChildListResource interface.
|
|
@@ -54,7 +54,7 @@ function ProductChildListResourceFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
54
54
|
'model': json['model'],
|
|
55
55
|
'stock': json['stock'],
|
|
56
56
|
'thumbnail': (0, AssetLiteResource_1.AssetLiteResourceFromJSON)(json['thumbnail']),
|
|
57
|
-
'siteDetails': (
|
|
57
|
+
'siteDetails': (json['siteDetails'] == null ? null : json['siteDetails'].map(ProductChildSiteDetailLiteResource_1.ProductChildSiteDetailLiteResourceFromJSON)),
|
|
58
58
|
};
|
|
59
59
|
}
|
|
60
60
|
function ProductChildListResourceToJSON(json) {
|
|
@@ -72,6 +72,6 @@ function ProductChildListResourceToJSONTyped(value, ignoreDiscriminator) {
|
|
|
72
72
|
'model': value['model'],
|
|
73
73
|
'stock': value['stock'],
|
|
74
74
|
'thumbnail': (0, AssetLiteResource_1.AssetLiteResourceToJSON)(value['thumbnail']),
|
|
75
|
-
'siteDetails': (
|
|
75
|
+
'siteDetails': (value['siteDetails'] == null ? null : value['siteDetails'].map(ProductChildSiteDetailLiteResource_1.ProductChildSiteDetailLiteResourceToJSON)),
|
|
76
76
|
};
|
|
77
77
|
}
|
|
@@ -12,7 +12,7 @@ Name | Type
|
|
|
12
12
|
`model` | string
|
|
13
13
|
`stock` | number
|
|
14
14
|
`thumbnail` | [AssetLiteResource](AssetLiteResource.md)
|
|
15
|
-
`siteDetails` | [ProductChildSiteDetailLiteResource](ProductChildSiteDetailLiteResource.md)
|
|
15
|
+
`siteDetails` | [Array<ProductChildSiteDetailLiteResource>](ProductChildSiteDetailLiteResource.md)
|
|
16
16
|
|
|
17
17
|
## Example
|
|
18
18
|
|
package/package.json
CHANGED
|
@@ -135,7 +135,9 @@ export type IndexProductChildRequestSortDirectionEnum = typeof IndexProductChild
|
|
|
135
135
|
export const IndexProductChildRequestRelatedTypeEnum = {
|
|
136
136
|
OverlayTemplate: 'overlayTemplate',
|
|
137
137
|
Supplier: 'supplier',
|
|
138
|
-
Tag: 'tag'
|
|
138
|
+
Tag: 'tag',
|
|
139
|
+
Attribute: 'attribute',
|
|
140
|
+
AttributeValue: 'attributeValue'
|
|
139
141
|
} as const;
|
|
140
142
|
export type IndexProductChildRequestRelatedTypeEnum = typeof IndexProductChildRequestRelatedTypeEnum[keyof typeof IndexProductChildRequestRelatedTypeEnum];
|
|
141
143
|
|
|
@@ -72,10 +72,10 @@ export interface ProductChildListResource {
|
|
|
72
72
|
thumbnail: AssetLiteResource | null;
|
|
73
73
|
/**
|
|
74
74
|
*
|
|
75
|
-
* @type {ProductChildSiteDetailLiteResource}
|
|
75
|
+
* @type {Array<ProductChildSiteDetailLiteResource>}
|
|
76
76
|
* @memberof ProductChildListResource
|
|
77
77
|
*/
|
|
78
|
-
siteDetails: ProductChildSiteDetailLiteResource | null;
|
|
78
|
+
siteDetails: Array<ProductChildSiteDetailLiteResource> | null;
|
|
79
79
|
}
|
|
80
80
|
|
|
81
81
|
/**
|
|
@@ -108,7 +108,7 @@ export function ProductChildListResourceFromJSONTyped(json: any, ignoreDiscrimin
|
|
|
108
108
|
'model': json['model'],
|
|
109
109
|
'stock': json['stock'],
|
|
110
110
|
'thumbnail': AssetLiteResourceFromJSON(json['thumbnail']),
|
|
111
|
-
'siteDetails':
|
|
111
|
+
'siteDetails': (json['siteDetails'] == null ? null : (json['siteDetails'] as Array<any>).map(ProductChildSiteDetailLiteResourceFromJSON)),
|
|
112
112
|
};
|
|
113
113
|
}
|
|
114
114
|
|
|
@@ -129,7 +129,7 @@ export function ProductChildListResourceToJSONTyped(value?: ProductChildListReso
|
|
|
129
129
|
'model': value['model'],
|
|
130
130
|
'stock': value['stock'],
|
|
131
131
|
'thumbnail': AssetLiteResourceToJSON(value['thumbnail']),
|
|
132
|
-
'siteDetails':
|
|
132
|
+
'siteDetails': (value['siteDetails'] == null ? null : (value['siteDetails'] as Array<any>).map(ProductChildSiteDetailLiteResourceToJSON)),
|
|
133
133
|
};
|
|
134
134
|
}
|
|
135
135
|
|