@digital8/lighting-illusions-ts-sdk 0.0.2914 → 0.0.2916
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/AddressFrontendResource.d.ts +1 -1
- package/dist/models/AddressFrontendResource.js +1 -3
- package/dist/models/AddressResource.d.ts +1 -1
- package/dist/models/AddressResource.js +1 -3
- package/dist/models/SearchProductRangesRequest.d.ts +8 -1
- package/dist/models/SearchProductRangesRequest.js +7 -1
- package/dist/models/StoreFrontendResource.d.ts +1 -1
- package/dist/models/StoreFrontendResource.js +3 -1
- package/package.json +1 -1
- package/src/models/AddressFrontendResource.ts +2 -3
- package/src/models/AddressResource.ts +2 -3
- package/src/models/SearchProductRangesRequest.ts +9 -1
- package/src/models/StoreFrontendResource.ts +3 -2
package/README.md
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
## @digital8/lighting-illusions-ts-sdk@0.0.
|
|
1
|
+
## @digital8/lighting-illusions-ts-sdk@0.0.2916
|
|
2
2
|
|
|
3
3
|
This generator creates TypeScript/JavaScript client that utilizes [Fetch API](https://fetch.spec.whatwg.org/). The generated Node module can be used in the following environments:
|
|
4
4
|
|
|
@@ -36,7 +36,7 @@ navigate to the folder of your consuming project and run one of the following co
|
|
|
36
36
|
_published:_
|
|
37
37
|
|
|
38
38
|
```
|
|
39
|
-
npm install @digital8/lighting-illusions-ts-sdk@0.0.
|
|
39
|
+
npm install @digital8/lighting-illusions-ts-sdk@0.0.2916 --save
|
|
40
40
|
```
|
|
41
41
|
|
|
42
42
|
_unPublished (not recommended):_
|
|
@@ -28,8 +28,6 @@ function instanceOfAddressFrontendResource(value) {
|
|
|
28
28
|
return false;
|
|
29
29
|
if (!('line1' in value) || value['line1'] === undefined)
|
|
30
30
|
return false;
|
|
31
|
-
if (!('line2' in value) || value['line2'] === undefined)
|
|
32
|
-
return false;
|
|
33
31
|
if (!('postcode' in value) || value['postcode'] === undefined)
|
|
34
32
|
return false;
|
|
35
33
|
if (!('suburb' in value) || value['suburb'] === undefined)
|
|
@@ -55,7 +53,7 @@ function AddressFrontendResourceFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
55
53
|
'addresseeName': json['addresseeName'],
|
|
56
54
|
'company': json['company'],
|
|
57
55
|
'line1': json['line1'],
|
|
58
|
-
'line2': json['line2'],
|
|
56
|
+
'line2': json['line2'] == null ? undefined : json['line2'],
|
|
59
57
|
'postcode': json['postcode'],
|
|
60
58
|
'suburb': json['suburb'],
|
|
61
59
|
'country': json['country'],
|
|
@@ -26,8 +26,6 @@ function instanceOfAddressResource(value) {
|
|
|
26
26
|
return false;
|
|
27
27
|
if (!('addresseePhone' in value) || value['addresseePhone'] === undefined)
|
|
28
28
|
return false;
|
|
29
|
-
if (!('company' in value) || value['company'] === undefined)
|
|
30
|
-
return false;
|
|
31
29
|
if (!('line1' in value) || value['line1'] === undefined)
|
|
32
30
|
return false;
|
|
33
31
|
if (!('line2' in value) || value['line2'] === undefined)
|
|
@@ -58,7 +56,7 @@ function AddressResourceFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
58
56
|
'netsuiteId': json['netsuiteId'] == null ? undefined : json['netsuiteId'],
|
|
59
57
|
'addresseeName': json['addresseeName'],
|
|
60
58
|
'addresseePhone': json['addresseePhone'],
|
|
61
|
-
'company': json['company'],
|
|
59
|
+
'company': json['company'] == null ? undefined : json['company'],
|
|
62
60
|
'line1': json['line1'],
|
|
63
61
|
'line2': json['line2'],
|
|
64
62
|
'postcode': json['postcode'],
|
|
@@ -74,7 +74,7 @@ export interface SearchProductRangesRequest {
|
|
|
74
74
|
* @type {string}
|
|
75
75
|
* @memberof SearchProductRangesRequest
|
|
76
76
|
*/
|
|
77
|
-
relatedType?:
|
|
77
|
+
relatedType?: SearchProductRangesRequestRelatedTypeEnum;
|
|
78
78
|
/**
|
|
79
79
|
*
|
|
80
80
|
* @type {boolean}
|
|
@@ -100,6 +100,13 @@ export declare const SearchProductRangesRequestSortDirectionEnum: {
|
|
|
100
100
|
readonly Desc: "desc";
|
|
101
101
|
};
|
|
102
102
|
export type SearchProductRangesRequestSortDirectionEnum = typeof SearchProductRangesRequestSortDirectionEnum[keyof typeof SearchProductRangesRequestSortDirectionEnum];
|
|
103
|
+
/**
|
|
104
|
+
* @export
|
|
105
|
+
*/
|
|
106
|
+
export declare const SearchProductRangesRequestRelatedTypeEnum: {
|
|
107
|
+
readonly AttributeValue: "attributeValue";
|
|
108
|
+
};
|
|
109
|
+
export type SearchProductRangesRequestRelatedTypeEnum = typeof SearchProductRangesRequestRelatedTypeEnum[keyof typeof SearchProductRangesRequestRelatedTypeEnum];
|
|
103
110
|
/**
|
|
104
111
|
* Check if a given object implements the SearchProductRangesRequest interface.
|
|
105
112
|
*/
|
|
@@ -13,7 +13,7 @@
|
|
|
13
13
|
* Do not edit the class manually.
|
|
14
14
|
*/
|
|
15
15
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
16
|
-
exports.SearchProductRangesRequestSortDirectionEnum = exports.SearchProductRangesRequestSortByEnum = void 0;
|
|
16
|
+
exports.SearchProductRangesRequestRelatedTypeEnum = exports.SearchProductRangesRequestSortDirectionEnum = exports.SearchProductRangesRequestSortByEnum = void 0;
|
|
17
17
|
exports.instanceOfSearchProductRangesRequest = instanceOfSearchProductRangesRequest;
|
|
18
18
|
exports.SearchProductRangesRequestFromJSON = SearchProductRangesRequestFromJSON;
|
|
19
19
|
exports.SearchProductRangesRequestFromJSONTyped = SearchProductRangesRequestFromJSONTyped;
|
|
@@ -35,6 +35,12 @@ exports.SearchProductRangesRequestSortDirectionEnum = {
|
|
|
35
35
|
Asc: 'asc',
|
|
36
36
|
Desc: 'desc'
|
|
37
37
|
};
|
|
38
|
+
/**
|
|
39
|
+
* @export
|
|
40
|
+
*/
|
|
41
|
+
exports.SearchProductRangesRequestRelatedTypeEnum = {
|
|
42
|
+
AttributeValue: 'attributeValue'
|
|
43
|
+
};
|
|
38
44
|
/**
|
|
39
45
|
* Check if a given object implements the SearchProductRangesRequest interface.
|
|
40
46
|
*/
|
|
@@ -28,6 +28,8 @@ function instanceOfStoreFrontendResource(value) {
|
|
|
28
28
|
return false;
|
|
29
29
|
if (!('email' in value) || value['email'] === undefined)
|
|
30
30
|
return false;
|
|
31
|
+
if (!('website' in value) || value['website'] === undefined)
|
|
32
|
+
return false;
|
|
31
33
|
if (!('phone' in value) || value['phone'] === undefined)
|
|
32
34
|
return false;
|
|
33
35
|
if (!('latitude' in value) || value['latitude'] === undefined)
|
|
@@ -54,7 +56,7 @@ function StoreFrontendResourceFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
54
56
|
'siteId': json['siteId'],
|
|
55
57
|
'name': json['name'],
|
|
56
58
|
'email': json['email'],
|
|
57
|
-
'website': json['website']
|
|
59
|
+
'website': json['website'],
|
|
58
60
|
'phone': json['phone'],
|
|
59
61
|
'address': json['address'] == null ? undefined : json['address'],
|
|
60
62
|
'latitude': json['latitude'],
|
package/package.json
CHANGED
|
@@ -54,7 +54,7 @@ export interface AddressFrontendResource {
|
|
|
54
54
|
* @type {string}
|
|
55
55
|
* @memberof AddressFrontendResource
|
|
56
56
|
*/
|
|
57
|
-
line2
|
|
57
|
+
line2?: string | null;
|
|
58
58
|
/**
|
|
59
59
|
*
|
|
60
60
|
* @type {string}
|
|
@@ -94,7 +94,6 @@ export function instanceOfAddressFrontendResource(value: object): value is Addre
|
|
|
94
94
|
if (!('addresseeName' in value) || value['addresseeName'] === undefined) return false;
|
|
95
95
|
if (!('company' in value) || value['company'] === undefined) return false;
|
|
96
96
|
if (!('line1' in value) || value['line1'] === undefined) return false;
|
|
97
|
-
if (!('line2' in value) || value['line2'] === undefined) return false;
|
|
98
97
|
if (!('postcode' in value) || value['postcode'] === undefined) return false;
|
|
99
98
|
if (!('suburb' in value) || value['suburb'] === undefined) return false;
|
|
100
99
|
if (!('country' in value) || value['country'] === undefined) return false;
|
|
@@ -118,7 +117,7 @@ export function AddressFrontendResourceFromJSONTyped(json: any, ignoreDiscrimina
|
|
|
118
117
|
'addresseeName': json['addresseeName'],
|
|
119
118
|
'company': json['company'],
|
|
120
119
|
'line1': json['line1'],
|
|
121
|
-
'line2': json['line2'],
|
|
120
|
+
'line2': json['line2'] == null ? undefined : json['line2'],
|
|
122
121
|
'postcode': json['postcode'],
|
|
123
122
|
'suburb': json['suburb'],
|
|
124
123
|
'country': json['country'],
|
|
@@ -60,7 +60,7 @@ export interface AddressResource {
|
|
|
60
60
|
* @type {string}
|
|
61
61
|
* @memberof AddressResource
|
|
62
62
|
*/
|
|
63
|
-
company
|
|
63
|
+
company?: string | null;
|
|
64
64
|
/**
|
|
65
65
|
*
|
|
66
66
|
* @type {string}
|
|
@@ -111,7 +111,6 @@ export interface AddressResource {
|
|
|
111
111
|
export function instanceOfAddressResource(value: object): value is AddressResource {
|
|
112
112
|
if (!('addresseeName' in value) || value['addresseeName'] === undefined) return false;
|
|
113
113
|
if (!('addresseePhone' in value) || value['addresseePhone'] === undefined) return false;
|
|
114
|
-
if (!('company' in value) || value['company'] === undefined) return false;
|
|
115
114
|
if (!('line1' in value) || value['line1'] === undefined) return false;
|
|
116
115
|
if (!('line2' in value) || value['line2'] === undefined) return false;
|
|
117
116
|
if (!('postcode' in value) || value['postcode'] === undefined) return false;
|
|
@@ -138,7 +137,7 @@ export function AddressResourceFromJSONTyped(json: any, ignoreDiscriminator: boo
|
|
|
138
137
|
'netsuiteId': json['netsuiteId'] == null ? undefined : json['netsuiteId'],
|
|
139
138
|
'addresseeName': json['addresseeName'],
|
|
140
139
|
'addresseePhone': json['addresseePhone'],
|
|
141
|
-
'company': json['company'],
|
|
140
|
+
'company': json['company'] == null ? undefined : json['company'],
|
|
142
141
|
'line1': json['line1'],
|
|
143
142
|
'line2': json['line2'],
|
|
144
143
|
'postcode': json['postcode'],
|
|
@@ -78,7 +78,7 @@ export interface SearchProductRangesRequest {
|
|
|
78
78
|
* @type {string}
|
|
79
79
|
* @memberof SearchProductRangesRequest
|
|
80
80
|
*/
|
|
81
|
-
relatedType?:
|
|
81
|
+
relatedType?: SearchProductRangesRequestRelatedTypeEnum;
|
|
82
82
|
/**
|
|
83
83
|
*
|
|
84
84
|
* @type {boolean}
|
|
@@ -108,6 +108,14 @@ export const SearchProductRangesRequestSortDirectionEnum = {
|
|
|
108
108
|
} as const;
|
|
109
109
|
export type SearchProductRangesRequestSortDirectionEnum = typeof SearchProductRangesRequestSortDirectionEnum[keyof typeof SearchProductRangesRequestSortDirectionEnum];
|
|
110
110
|
|
|
111
|
+
/**
|
|
112
|
+
* @export
|
|
113
|
+
*/
|
|
114
|
+
export const SearchProductRangesRequestRelatedTypeEnum = {
|
|
115
|
+
AttributeValue: 'attributeValue'
|
|
116
|
+
} as const;
|
|
117
|
+
export type SearchProductRangesRequestRelatedTypeEnum = typeof SearchProductRangesRequestRelatedTypeEnum[keyof typeof SearchProductRangesRequestRelatedTypeEnum];
|
|
118
|
+
|
|
111
119
|
|
|
112
120
|
/**
|
|
113
121
|
* Check if a given object implements the SearchProductRangesRequest interface.
|
|
@@ -48,7 +48,7 @@ export interface StoreFrontendResource {
|
|
|
48
48
|
* @type {string}
|
|
49
49
|
* @memberof StoreFrontendResource
|
|
50
50
|
*/
|
|
51
|
-
website
|
|
51
|
+
website: string;
|
|
52
52
|
/**
|
|
53
53
|
*
|
|
54
54
|
* @type {string}
|
|
@@ -106,6 +106,7 @@ export function instanceOfStoreFrontendResource(value: object): value is StoreFr
|
|
|
106
106
|
if (!('siteId' in value) || value['siteId'] === undefined) return false;
|
|
107
107
|
if (!('name' in value) || value['name'] === undefined) return false;
|
|
108
108
|
if (!('email' in value) || value['email'] === undefined) return false;
|
|
109
|
+
if (!('website' in value) || value['website'] === undefined) return false;
|
|
109
110
|
if (!('phone' in value) || value['phone'] === undefined) return false;
|
|
110
111
|
if (!('latitude' in value) || value['latitude'] === undefined) return false;
|
|
111
112
|
if (!('longitude' in value) || value['longitude'] === undefined) return false;
|
|
@@ -129,7 +130,7 @@ export function StoreFrontendResourceFromJSONTyped(json: any, ignoreDiscriminato
|
|
|
129
130
|
'siteId': json['siteId'],
|
|
130
131
|
'name': json['name'],
|
|
131
132
|
'email': json['email'],
|
|
132
|
-
'website': json['website']
|
|
133
|
+
'website': json['website'],
|
|
133
134
|
'phone': json['phone'],
|
|
134
135
|
'address': json['address'] == null ? undefined : json['address'],
|
|
135
136
|
'latitude': json['latitude'],
|