@digital8/lighting-illusions-ts-sdk 0.0.838 → 0.0.839
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/GetAllProductCategoryRequest.d.ts +2 -0
- package/dist/models/GetAllProductCategoryRequest.js +3 -1
- package/dist/models/IndexProductCategoryRequest.d.ts +2 -0
- package/dist/models/IndexProductCategoryRequest.js +3 -1
- package/dist/models/StoreProductChildRequestSitesInner.d.ts +2 -2
- package/dist/models/StoreProductChildRequestSitesInner.js +6 -2
- package/package.json +1 -1
- package/src/models/GetAllProductCategoryRequest.ts +3 -1
- package/src/models/IndexProductCategoryRequest.ts +3 -1
- package/src/models/StoreProductChildRequestSitesInner.ts +6 -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.839
|
|
2
2
|
|
|
3
3
|
A TypeScript SDK client for the localhost API.
|
|
4
4
|
|
|
@@ -463,7 +463,7 @@ and is automatically generated by the
|
|
|
463
463
|
[OpenAPI Generator](https://openapi-generator.tech) project:
|
|
464
464
|
|
|
465
465
|
- API version: `1.0.0`
|
|
466
|
-
- Package version: `0.0.
|
|
466
|
+
- Package version: `0.0.839`
|
|
467
467
|
- Generator version: `7.19.0`
|
|
468
468
|
- Build package: `org.openapitools.codegen.languages.TypeScriptFetchClientCodegen`
|
|
469
469
|
|
|
@@ -103,6 +103,8 @@ export type GetAllProductCategoryRequestSortDirectionEnum = typeof GetAllProduct
|
|
|
103
103
|
*/
|
|
104
104
|
export declare const GetAllProductCategoryRequestRelatedTypeEnum: {
|
|
105
105
|
readonly Product: "product";
|
|
106
|
+
readonly Attribute: "attribute";
|
|
107
|
+
readonly AttributeValue: "attributeValue";
|
|
106
108
|
};
|
|
107
109
|
export type GetAllProductCategoryRequestRelatedTypeEnum = typeof GetAllProductCategoryRequestRelatedTypeEnum[keyof typeof GetAllProductCategoryRequestRelatedTypeEnum];
|
|
108
110
|
/**
|
|
@@ -43,7 +43,9 @@ exports.GetAllProductCategoryRequestSortDirectionEnum = {
|
|
|
43
43
|
* @export
|
|
44
44
|
*/
|
|
45
45
|
exports.GetAllProductCategoryRequestRelatedTypeEnum = {
|
|
46
|
-
Product: 'product'
|
|
46
|
+
Product: 'product',
|
|
47
|
+
Attribute: 'attribute',
|
|
48
|
+
AttributeValue: 'attributeValue'
|
|
47
49
|
};
|
|
48
50
|
/**
|
|
49
51
|
* Check if a given object implements the GetAllProductCategoryRequest interface.
|
|
@@ -127,6 +127,8 @@ export type IndexProductCategoryRequestSortDirectionEnum = typeof IndexProductCa
|
|
|
127
127
|
*/
|
|
128
128
|
export declare const IndexProductCategoryRequestRelatedTypeEnum: {
|
|
129
129
|
readonly Product: "product";
|
|
130
|
+
readonly Attribute: "attribute";
|
|
131
|
+
readonly AttributeValue: "attributeValue";
|
|
130
132
|
};
|
|
131
133
|
export type IndexProductCategoryRequestRelatedTypeEnum = typeof IndexProductCategoryRequestRelatedTypeEnum[keyof typeof IndexProductCategoryRequestRelatedTypeEnum];
|
|
132
134
|
/**
|
|
@@ -43,7 +43,9 @@ exports.IndexProductCategoryRequestSortDirectionEnum = {
|
|
|
43
43
|
* @export
|
|
44
44
|
*/
|
|
45
45
|
exports.IndexProductCategoryRequestRelatedTypeEnum = {
|
|
46
|
-
Product: 'product'
|
|
46
|
+
Product: 'product',
|
|
47
|
+
Attribute: 'attribute',
|
|
48
|
+
AttributeValue: 'attributeValue'
|
|
47
49
|
};
|
|
48
50
|
/**
|
|
49
51
|
* Check if a given object implements the IndexProductCategoryRequest interface.
|
|
@@ -26,7 +26,7 @@ export interface StoreProductChildRequestSitesInner {
|
|
|
26
26
|
* @type {string}
|
|
27
27
|
* @memberof StoreProductChildRequestSitesInner
|
|
28
28
|
*/
|
|
29
|
-
name
|
|
29
|
+
name: string;
|
|
30
30
|
/**
|
|
31
31
|
*
|
|
32
32
|
* @type {string}
|
|
@@ -56,7 +56,7 @@ export interface StoreProductChildRequestSitesInner {
|
|
|
56
56
|
* @type {string}
|
|
57
57
|
* @memberof StoreProductChildRequestSitesInner
|
|
58
58
|
*/
|
|
59
|
-
slug
|
|
59
|
+
slug: string;
|
|
60
60
|
/**
|
|
61
61
|
*
|
|
62
62
|
* @type {Array<number>}
|
|
@@ -24,12 +24,16 @@ exports.StoreProductChildRequestSitesInnerToJSONTyped = StoreProductChildRequest
|
|
|
24
24
|
function instanceOfStoreProductChildRequestSitesInner(value) {
|
|
25
25
|
if (!('siteId' in value) || value['siteId'] === undefined)
|
|
26
26
|
return false;
|
|
27
|
+
if (!('name' in value) || value['name'] === undefined)
|
|
28
|
+
return false;
|
|
27
29
|
if (!('description' in value) || value['description'] === undefined)
|
|
28
30
|
return false;
|
|
29
31
|
if (!('rrpPrice' in value) || value['rrpPrice'] === undefined)
|
|
30
32
|
return false;
|
|
31
33
|
if (!('salePrice' in value) || value['salePrice'] === undefined)
|
|
32
34
|
return false;
|
|
35
|
+
if (!('slug' in value) || value['slug'] === undefined)
|
|
36
|
+
return false;
|
|
33
37
|
if (!('documents' in value) || value['documents'] === undefined)
|
|
34
38
|
return false;
|
|
35
39
|
return true;
|
|
@@ -43,12 +47,12 @@ function StoreProductChildRequestSitesInnerFromJSONTyped(json, ignoreDiscriminat
|
|
|
43
47
|
}
|
|
44
48
|
return {
|
|
45
49
|
'siteId': json['site_id'],
|
|
46
|
-
'name': json['name']
|
|
50
|
+
'name': json['name'],
|
|
47
51
|
'displayName': json['display_name'] == null ? undefined : json['display_name'],
|
|
48
52
|
'description': json['description'],
|
|
49
53
|
'rrpPrice': json['rrp_price'],
|
|
50
54
|
'salePrice': json['sale_price'],
|
|
51
|
-
'slug': json['slug']
|
|
55
|
+
'slug': json['slug'],
|
|
52
56
|
'documents': json['documents'],
|
|
53
57
|
'seoTitle': json['seo_title'] == null ? undefined : json['seo_title'],
|
|
54
58
|
'seoDescription': json['seo_description'] == null ? undefined : json['seo_description'],
|
package/package.json
CHANGED
|
@@ -110,7 +110,9 @@ export type GetAllProductCategoryRequestSortDirectionEnum = typeof GetAllProduct
|
|
|
110
110
|
* @export
|
|
111
111
|
*/
|
|
112
112
|
export const GetAllProductCategoryRequestRelatedTypeEnum = {
|
|
113
|
-
Product: 'product'
|
|
113
|
+
Product: 'product',
|
|
114
|
+
Attribute: 'attribute',
|
|
115
|
+
AttributeValue: 'attributeValue'
|
|
114
116
|
} as const;
|
|
115
117
|
export type GetAllProductCategoryRequestRelatedTypeEnum = typeof GetAllProductCategoryRequestRelatedTypeEnum[keyof typeof GetAllProductCategoryRequestRelatedTypeEnum];
|
|
116
118
|
|
|
@@ -134,7 +134,9 @@ export type IndexProductCategoryRequestSortDirectionEnum = typeof IndexProductCa
|
|
|
134
134
|
* @export
|
|
135
135
|
*/
|
|
136
136
|
export const IndexProductCategoryRequestRelatedTypeEnum = {
|
|
137
|
-
Product: 'product'
|
|
137
|
+
Product: 'product',
|
|
138
|
+
Attribute: 'attribute',
|
|
139
|
+
AttributeValue: 'attributeValue'
|
|
138
140
|
} as const;
|
|
139
141
|
export type IndexProductCategoryRequestRelatedTypeEnum = typeof IndexProductCategoryRequestRelatedTypeEnum[keyof typeof IndexProductCategoryRequestRelatedTypeEnum];
|
|
140
142
|
|
|
@@ -30,7 +30,7 @@ export interface StoreProductChildRequestSitesInner {
|
|
|
30
30
|
* @type {string}
|
|
31
31
|
* @memberof StoreProductChildRequestSitesInner
|
|
32
32
|
*/
|
|
33
|
-
name
|
|
33
|
+
name: string;
|
|
34
34
|
/**
|
|
35
35
|
*
|
|
36
36
|
* @type {string}
|
|
@@ -60,7 +60,7 @@ export interface StoreProductChildRequestSitesInner {
|
|
|
60
60
|
* @type {string}
|
|
61
61
|
* @memberof StoreProductChildRequestSitesInner
|
|
62
62
|
*/
|
|
63
|
-
slug
|
|
63
|
+
slug: string;
|
|
64
64
|
/**
|
|
65
65
|
*
|
|
66
66
|
* @type {Array<number>}
|
|
@@ -86,9 +86,11 @@ export interface StoreProductChildRequestSitesInner {
|
|
|
86
86
|
*/
|
|
87
87
|
export function instanceOfStoreProductChildRequestSitesInner(value: object): value is StoreProductChildRequestSitesInner {
|
|
88
88
|
if (!('siteId' in value) || value['siteId'] === undefined) return false;
|
|
89
|
+
if (!('name' in value) || value['name'] === undefined) return false;
|
|
89
90
|
if (!('description' in value) || value['description'] === undefined) return false;
|
|
90
91
|
if (!('rrpPrice' in value) || value['rrpPrice'] === undefined) return false;
|
|
91
92
|
if (!('salePrice' in value) || value['salePrice'] === undefined) return false;
|
|
93
|
+
if (!('slug' in value) || value['slug'] === undefined) return false;
|
|
92
94
|
if (!('documents' in value) || value['documents'] === undefined) return false;
|
|
93
95
|
return true;
|
|
94
96
|
}
|
|
@@ -104,12 +106,12 @@ export function StoreProductChildRequestSitesInnerFromJSONTyped(json: any, ignor
|
|
|
104
106
|
return {
|
|
105
107
|
|
|
106
108
|
'siteId': json['site_id'],
|
|
107
|
-
'name': json['name']
|
|
109
|
+
'name': json['name'],
|
|
108
110
|
'displayName': json['display_name'] == null ? undefined : json['display_name'],
|
|
109
111
|
'description': json['description'],
|
|
110
112
|
'rrpPrice': json['rrp_price'],
|
|
111
113
|
'salePrice': json['sale_price'],
|
|
112
|
-
'slug': json['slug']
|
|
114
|
+
'slug': json['slug'],
|
|
113
115
|
'documents': json['documents'],
|
|
114
116
|
'seoTitle': json['seo_title'] == null ? undefined : json['seo_title'],
|
|
115
117
|
'seoDescription': json['seo_description'] == null ? undefined : json['seo_description'],
|