@digital8/lighting-illusions-ts-sdk 0.0.2881 → 0.0.2883

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.2881
1
+ ## @digital8/lighting-illusions-ts-sdk@0.0.2883
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.2881 --save
39
+ npm install @digital8/lighting-illusions-ts-sdk@0.0.2883 --save
40
40
  ```
41
41
 
42
42
  _unPublished (not recommended):_
@@ -50,7 +50,7 @@ export interface AddressFrontendResource {
50
50
  * @type {string}
51
51
  * @memberof AddressFrontendResource
52
52
  */
53
- line2?: string | null;
53
+ line2: string;
54
54
  /**
55
55
  *
56
56
  * @type {string}
@@ -28,6 +28,8 @@ 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;
31
33
  if (!('postcode' in value) || value['postcode'] === undefined)
32
34
  return false;
33
35
  if (!('suburb' in value) || value['suburb'] === undefined)
@@ -53,7 +55,7 @@ function AddressFrontendResourceFromJSONTyped(json, ignoreDiscriminator) {
53
55
  'addresseeName': json['addresseeName'],
54
56
  'company': json['company'],
55
57
  'line1': json['line1'],
56
- 'line2': json['line2'] == null ? undefined : json['line2'],
58
+ 'line2': json['line2'],
57
59
  'postcode': json['postcode'],
58
60
  'suburb': json['suburb'],
59
61
  'country': json['country'],
@@ -56,7 +56,7 @@ export interface AddressResource {
56
56
  * @type {string}
57
57
  * @memberof AddressResource
58
58
  */
59
- company?: string | null;
59
+ company: string;
60
60
  /**
61
61
  *
62
62
  * @type {string}
@@ -26,6 +26,8 @@ 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;
29
31
  if (!('line1' in value) || value['line1'] === undefined)
30
32
  return false;
31
33
  if (!('line2' in value) || value['line2'] === undefined)
@@ -56,7 +58,7 @@ function AddressResourceFromJSONTyped(json, ignoreDiscriminator) {
56
58
  'netsuiteId': json['netsuiteId'] == null ? undefined : json['netsuiteId'],
57
59
  'addresseeName': json['addresseeName'],
58
60
  'addresseePhone': json['addresseePhone'],
59
- 'company': json['company'] == null ? undefined : json['company'],
61
+ 'company': json['company'],
60
62
  'line1': json['line1'],
61
63
  'line2': json['line2'],
62
64
  'postcode': json['postcode'],
@@ -9,7 +9,6 @@
9
9
  * https://openapi-generator.tech
10
10
  * Do not edit the class manually.
11
11
  */
12
- import type { AssetLiteResource } from './AssetLiteResource';
13
12
  /**
14
13
  *
15
14
  * @export
@@ -64,12 +63,6 @@ export interface ProductChildLiteFrontendResource {
64
63
  * @memberof ProductChildLiteFrontendResource
65
64
  */
66
65
  salePrice: string;
67
- /**
68
- *
69
- * @type {AssetLiteResource}
70
- * @memberof ProductChildLiteFrontendResource
71
- */
72
- thumbnail: AssetLiteResource | null;
73
66
  }
74
67
  /**
75
68
  * Check if a given object implements the ProductChildLiteFrontendResource interface.
@@ -18,7 +18,6 @@ exports.ProductChildLiteFrontendResourceFromJSON = ProductChildLiteFrontendResou
18
18
  exports.ProductChildLiteFrontendResourceFromJSONTyped = ProductChildLiteFrontendResourceFromJSONTyped;
19
19
  exports.ProductChildLiteFrontendResourceToJSON = ProductChildLiteFrontendResourceToJSON;
20
20
  exports.ProductChildLiteFrontendResourceToJSONTyped = ProductChildLiteFrontendResourceToJSONTyped;
21
- var AssetLiteResource_1 = require("./AssetLiteResource");
22
21
  /**
23
22
  * Check if a given object implements the ProductChildLiteFrontendResource interface.
24
23
  */
@@ -39,8 +38,6 @@ function instanceOfProductChildLiteFrontendResource(value) {
39
38
  return false;
40
39
  if (!('salePrice' in value) || value['salePrice'] === undefined)
41
40
  return false;
42
- if (!('thumbnail' in value) || value['thumbnail'] === undefined)
43
- return false;
44
41
  return true;
45
42
  }
46
43
  function ProductChildLiteFrontendResourceFromJSON(json) {
@@ -59,7 +56,6 @@ function ProductChildLiteFrontendResourceFromJSONTyped(json, ignoreDiscriminator
59
56
  'price': json['price'],
60
57
  'rrpPrice': json['rrpPrice'],
61
58
  'salePrice': json['salePrice'],
62
- 'thumbnail': (0, AssetLiteResource_1.AssetLiteResourceFromJSON)(json['thumbnail']),
63
59
  };
64
60
  }
65
61
  function ProductChildLiteFrontendResourceToJSON(json) {
@@ -79,6 +75,5 @@ function ProductChildLiteFrontendResourceToJSONTyped(value, ignoreDiscriminator)
79
75
  'price': value['price'],
80
76
  'rrpPrice': value['rrpPrice'],
81
77
  'salePrice': value['salePrice'],
82
- 'thumbnail': (0, AssetLiteResource_1.AssetLiteResourceToJSON)(value['thumbnail']),
83
78
  };
84
79
  }
@@ -60,7 +60,7 @@ export interface StoreResource {
60
60
  * @type {string}
61
61
  * @memberof StoreResource
62
62
  */
63
- tagLine: string;
63
+ tagLine?: string | null;
64
64
  /**
65
65
  *
66
66
  * @type {string}
@@ -36,8 +36,6 @@ function instanceOfStoreResource(value) {
36
36
  return false;
37
37
  if (!('latitude' in value) || value['latitude'] === undefined)
38
38
  return false;
39
- if (!('tagLine' in value) || value['tagLine'] === undefined)
40
- return false;
41
39
  if (!('email' in value) || value['email'] === undefined)
42
40
  return false;
43
41
  if (!('netsuiteId' in value) || value['netsuiteId'] === undefined)
@@ -66,7 +64,7 @@ function StoreResourceFromJSONTyped(json, ignoreDiscriminator) {
66
64
  'phone': json['phone'],
67
65
  'longitude': json['longitude'],
68
66
  'latitude': json['latitude'],
69
- 'tagLine': json['tagLine'],
67
+ 'tagLine': json['tagLine'] == null ? undefined : json['tagLine'],
70
68
  'email': json['email'],
71
69
  'website': json['website'] == null ? undefined : json['website'],
72
70
  'netsuiteId': json['netsuiteId'],
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@digital8/lighting-illusions-ts-sdk",
3
- "version": "0.0.2881",
3
+ "version": "0.0.2883",
4
4
  "description": "OpenAPI client for @digital8/lighting-illusions-ts-sdk",
5
5
  "author": "OpenAPI-Generator",
6
6
  "repository": {
@@ -54,7 +54,7 @@ export interface AddressFrontendResource {
54
54
  * @type {string}
55
55
  * @memberof AddressFrontendResource
56
56
  */
57
- line2?: string | null;
57
+ line2: string;
58
58
  /**
59
59
  *
60
60
  * @type {string}
@@ -94,6 +94,7 @@ 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;
97
98
  if (!('postcode' in value) || value['postcode'] === undefined) return false;
98
99
  if (!('suburb' in value) || value['suburb'] === undefined) return false;
99
100
  if (!('country' in value) || value['country'] === undefined) return false;
@@ -117,7 +118,7 @@ export function AddressFrontendResourceFromJSONTyped(json: any, ignoreDiscrimina
117
118
  'addresseeName': json['addresseeName'],
118
119
  'company': json['company'],
119
120
  'line1': json['line1'],
120
- 'line2': json['line2'] == null ? undefined : json['line2'],
121
+ 'line2': json['line2'],
121
122
  'postcode': json['postcode'],
122
123
  'suburb': json['suburb'],
123
124
  'country': json['country'],
@@ -60,7 +60,7 @@ export interface AddressResource {
60
60
  * @type {string}
61
61
  * @memberof AddressResource
62
62
  */
63
- company?: string | null;
63
+ company: string;
64
64
  /**
65
65
  *
66
66
  * @type {string}
@@ -111,6 +111,7 @@ 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;
114
115
  if (!('line1' in value) || value['line1'] === undefined) return false;
115
116
  if (!('line2' in value) || value['line2'] === undefined) return false;
116
117
  if (!('postcode' in value) || value['postcode'] === undefined) return false;
@@ -137,7 +138,7 @@ export function AddressResourceFromJSONTyped(json: any, ignoreDiscriminator: boo
137
138
  'netsuiteId': json['netsuiteId'] == null ? undefined : json['netsuiteId'],
138
139
  'addresseeName': json['addresseeName'],
139
140
  'addresseePhone': json['addresseePhone'],
140
- 'company': json['company'] == null ? undefined : json['company'],
141
+ 'company': json['company'],
141
142
  'line1': json['line1'],
142
143
  'line2': json['line2'],
143
144
  'postcode': json['postcode'],
@@ -13,14 +13,6 @@
13
13
  */
14
14
 
15
15
  import { mapValues } from '../runtime';
16
- import type { AssetLiteResource } from './AssetLiteResource';
17
- import {
18
- AssetLiteResourceFromJSON,
19
- AssetLiteResourceFromJSONTyped,
20
- AssetLiteResourceToJSON,
21
- AssetLiteResourceToJSONTyped,
22
- } from './AssetLiteResource';
23
-
24
16
  /**
25
17
  *
26
18
  * @export
@@ -75,12 +67,6 @@ export interface ProductChildLiteFrontendResource {
75
67
  * @memberof ProductChildLiteFrontendResource
76
68
  */
77
69
  salePrice: string;
78
- /**
79
- *
80
- * @type {AssetLiteResource}
81
- * @memberof ProductChildLiteFrontendResource
82
- */
83
- thumbnail: AssetLiteResource | null;
84
70
  }
85
71
 
86
72
  /**
@@ -95,7 +81,6 @@ export function instanceOfProductChildLiteFrontendResource(value: object): value
95
81
  if (!('price' in value) || value['price'] === undefined) return false;
96
82
  if (!('rrpPrice' in value) || value['rrpPrice'] === undefined) return false;
97
83
  if (!('salePrice' in value) || value['salePrice'] === undefined) return false;
98
- if (!('thumbnail' in value) || value['thumbnail'] === undefined) return false;
99
84
  return true;
100
85
  }
101
86
 
@@ -117,7 +102,6 @@ export function ProductChildLiteFrontendResourceFromJSONTyped(json: any, ignoreD
117
102
  'price': json['price'],
118
103
  'rrpPrice': json['rrpPrice'],
119
104
  'salePrice': json['salePrice'],
120
- 'thumbnail': AssetLiteResourceFromJSON(json['thumbnail']),
121
105
  };
122
106
  }
123
107
 
@@ -140,7 +124,6 @@ export function ProductChildLiteFrontendResourceToJSONTyped(value?: ProductChild
140
124
  'price': value['price'],
141
125
  'rrpPrice': value['rrpPrice'],
142
126
  'salePrice': value['salePrice'],
143
- 'thumbnail': AssetLiteResourceToJSON(value['thumbnail']),
144
127
  };
145
128
  }
146
129
 
@@ -89,7 +89,7 @@ export interface StoreResource {
89
89
  * @type {string}
90
90
  * @memberof StoreResource
91
91
  */
92
- tagLine: string;
92
+ tagLine?: string | null;
93
93
  /**
94
94
  *
95
95
  * @type {string}
@@ -149,7 +149,6 @@ export function instanceOfStoreResource(value: object): value is StoreResource {
149
149
  if (!('phone' in value) || value['phone'] === undefined) return false;
150
150
  if (!('longitude' in value) || value['longitude'] === undefined) return false;
151
151
  if (!('latitude' in value) || value['latitude'] === undefined) return false;
152
- if (!('tagLine' in value) || value['tagLine'] === undefined) return false;
153
152
  if (!('email' in value) || value['email'] === undefined) return false;
154
153
  if (!('netsuiteId' in value) || value['netsuiteId'] === undefined) return false;
155
154
  if (!('displayNetsuiteId' in value) || value['displayNetsuiteId'] === undefined) return false;
@@ -175,7 +174,7 @@ export function StoreResourceFromJSONTyped(json: any, ignoreDiscriminator: boole
175
174
  'phone': json['phone'],
176
175
  'longitude': json['longitude'],
177
176
  'latitude': json['latitude'],
178
- 'tagLine': json['tagLine'],
177
+ 'tagLine': json['tagLine'] == null ? undefined : json['tagLine'],
179
178
  'email': json['email'],
180
179
  'website': json['website'] == null ? undefined : json['website'],
181
180
  'netsuiteId': json['netsuiteId'],