@digital8/lighting-illusions-ts-sdk 0.0.2758 → 0.0.2759
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
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
## @digital8/lighting-illusions-ts-sdk@0.0.
|
|
1
|
+
## @digital8/lighting-illusions-ts-sdk@0.0.2759
|
|
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.2759 --save
|
|
40
40
|
```
|
|
41
41
|
|
|
42
42
|
_unPublished (not recommended):_
|
|
@@ -40,8 +40,6 @@ function instanceOfStoreResource(value) {
|
|
|
40
40
|
return false;
|
|
41
41
|
if (!('email' in value) || value['email'] === undefined)
|
|
42
42
|
return false;
|
|
43
|
-
if (!('website' in value) || value['website'] === undefined)
|
|
44
|
-
return false;
|
|
45
43
|
if (!('netsuiteId' in value) || value['netsuiteId'] === undefined)
|
|
46
44
|
return false;
|
|
47
45
|
if (!('displayNetsuiteId' in value) || value['displayNetsuiteId'] === undefined)
|
|
@@ -70,7 +68,7 @@ function StoreResourceFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
70
68
|
'latitude': json['latitude'],
|
|
71
69
|
'tagLine': json['tagLine'],
|
|
72
70
|
'email': json['email'],
|
|
73
|
-
'website': json['website'],
|
|
71
|
+
'website': json['website'] == null ? undefined : json['website'],
|
|
74
72
|
'netsuiteId': json['netsuiteId'],
|
|
75
73
|
'displayNetsuiteId': json['displayNetsuiteId'],
|
|
76
74
|
'openingHours': json['openingHours'] == null ? undefined : json['openingHours'],
|
package/package.json
CHANGED
|
@@ -101,7 +101,7 @@ export interface StoreResource {
|
|
|
101
101
|
* @type {string}
|
|
102
102
|
* @memberof StoreResource
|
|
103
103
|
*/
|
|
104
|
-
website
|
|
104
|
+
website?: string | null;
|
|
105
105
|
/**
|
|
106
106
|
*
|
|
107
107
|
* @type {number}
|
|
@@ -151,7 +151,6 @@ export function instanceOfStoreResource(value: object): value is StoreResource {
|
|
|
151
151
|
if (!('latitude' in value) || value['latitude'] === undefined) return false;
|
|
152
152
|
if (!('tagLine' in value) || value['tagLine'] === undefined) return false;
|
|
153
153
|
if (!('email' in value) || value['email'] === undefined) return false;
|
|
154
|
-
if (!('website' in value) || value['website'] === undefined) return false;
|
|
155
154
|
if (!('netsuiteId' in value) || value['netsuiteId'] === undefined) return false;
|
|
156
155
|
if (!('displayNetsuiteId' in value) || value['displayNetsuiteId'] === undefined) return false;
|
|
157
156
|
if (!('suppliers' in value) || value['suppliers'] === undefined) return false;
|
|
@@ -178,7 +177,7 @@ export function StoreResourceFromJSONTyped(json: any, ignoreDiscriminator: boole
|
|
|
178
177
|
'latitude': json['latitude'],
|
|
179
178
|
'tagLine': json['tagLine'],
|
|
180
179
|
'email': json['email'],
|
|
181
|
-
'website': json['website'],
|
|
180
|
+
'website': json['website'] == null ? undefined : json['website'],
|
|
182
181
|
'netsuiteId': json['netsuiteId'],
|
|
183
182
|
'displayNetsuiteId': json['displayNetsuiteId'],
|
|
184
183
|
'openingHours': json['openingHours'] == null ? undefined : json['openingHours'],
|