@digital8/lighting-illusions-ts-sdk 0.0.865 → 0.0.867
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/ExternalApiLogResource.d.ts +1 -1
- package/dist/models/ExternalApiLogResource.js +3 -1
- package/dist/models/IndexProductCategoryRequest.d.ts +0 -1
- package/dist/models/IndexProductCategoryRequest.js +1 -2
- package/dist/models/StoreProductChildRequestSitesInner.d.ts +2 -2
- package/dist/models/StoreProductChildRequestSitesInner.js +6 -2
- package/package.json +1 -1
- package/src/models/ExternalApiLogResource.ts +3 -2
- package/src/models/IndexProductCategoryRequest.ts +1 -2
- 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.867
|
|
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.867`
|
|
467
467
|
- Generator version: `7.19.0`
|
|
468
468
|
- Build package: `org.openapitools.codegen.languages.TypeScriptFetchClientCodegen`
|
|
469
469
|
|
|
@@ -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']),
|
|
@@ -127,7 +127,6 @@ export type IndexProductCategoryRequestSortDirectionEnum = typeof IndexProductCa
|
|
|
127
127
|
*/
|
|
128
128
|
export declare const IndexProductCategoryRequestRelatedTypeEnum: {
|
|
129
129
|
readonly Product: "product";
|
|
130
|
-
readonly ProductChildSiteDetail: "productChildSiteDetail";
|
|
131
130
|
};
|
|
132
131
|
export type IndexProductCategoryRequestRelatedTypeEnum = typeof IndexProductCategoryRequestRelatedTypeEnum[keyof typeof IndexProductCategoryRequestRelatedTypeEnum];
|
|
133
132
|
/**
|
|
@@ -43,8 +43,7 @@ exports.IndexProductCategoryRequestSortDirectionEnum = {
|
|
|
43
43
|
* @export
|
|
44
44
|
*/
|
|
45
45
|
exports.IndexProductCategoryRequestRelatedTypeEnum = {
|
|
46
|
-
Product: 'product'
|
|
47
|
-
ProductChildSiteDetail: 'productChildSiteDetail'
|
|
46
|
+
Product: 'product'
|
|
48
47
|
};
|
|
49
48
|
/**
|
|
50
49
|
* 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
|
@@ -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']),
|
|
@@ -134,8 +134,7 @@ export type IndexProductCategoryRequestSortDirectionEnum = typeof IndexProductCa
|
|
|
134
134
|
* @export
|
|
135
135
|
*/
|
|
136
136
|
export const IndexProductCategoryRequestRelatedTypeEnum = {
|
|
137
|
-
Product: 'product'
|
|
138
|
-
ProductChildSiteDetail: 'productChildSiteDetail'
|
|
137
|
+
Product: 'product'
|
|
139
138
|
} as const;
|
|
140
139
|
export type IndexProductCategoryRequestRelatedTypeEnum = typeof IndexProductCategoryRequestRelatedTypeEnum[keyof typeof IndexProductCategoryRequestRelatedTypeEnum];
|
|
141
140
|
|
|
@@ -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'],
|