@digital8/lighting-illusions-ts-sdk 0.0.2071 → 0.0.2073
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 +3 -1
- package/dist/models/AddressResource.d.ts +2 -2
- package/dist/models/AddressResource.js +3 -3
- package/package.json +1 -1
- package/src/models/AddressFrontendResource.ts +3 -2
- package/src/models/AddressResource.ts +5 -5
package/README.md
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
# @digital8/lighting-illusions-ts-sdk@0.0.
|
|
1
|
+
# @digital8/lighting-illusions-ts-sdk@0.0.2073
|
|
2
2
|
|
|
3
3
|
A TypeScript SDK client for the localhost API.
|
|
4
4
|
|
|
@@ -917,7 +917,7 @@ and is automatically generated by the
|
|
|
917
917
|
[OpenAPI Generator](https://openapi-generator.tech) project:
|
|
918
918
|
|
|
919
919
|
- API version: `1.0.0`
|
|
920
|
-
- Package version: `0.0.
|
|
920
|
+
- Package version: `0.0.2073`
|
|
921
921
|
- Generator version: `7.22.0`
|
|
922
922
|
- Build package: `org.openapitools.codegen.languages.TypeScriptFetchClientCodegen`
|
|
923
923
|
|
|
@@ -24,6 +24,8 @@ exports.AddressFrontendResourceToJSONTyped = AddressFrontendResourceToJSONTyped;
|
|
|
24
24
|
function instanceOfAddressFrontendResource(value) {
|
|
25
25
|
if (!('line1' in value) || value['line1'] === undefined)
|
|
26
26
|
return false;
|
|
27
|
+
if (!('line2' in value) || value['line2'] === undefined)
|
|
28
|
+
return false;
|
|
27
29
|
if (!('postcode' in value) || value['postcode'] === undefined)
|
|
28
30
|
return false;
|
|
29
31
|
if (!('suburb' in value) || value['suburb'] === undefined)
|
|
@@ -46,7 +48,7 @@ function AddressFrontendResourceFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
46
48
|
return {
|
|
47
49
|
'company': json['company'] == null ? undefined : json['company'],
|
|
48
50
|
'line1': json['line1'],
|
|
49
|
-
'line2': json['line2']
|
|
51
|
+
'line2': json['line2'],
|
|
50
52
|
'postcode': json['postcode'],
|
|
51
53
|
'suburb': json['suburb'],
|
|
52
54
|
'country': json['country'],
|
|
@@ -38,13 +38,13 @@ export interface AddressResource {
|
|
|
38
38
|
* @type {string}
|
|
39
39
|
* @memberof AddressResource
|
|
40
40
|
*/
|
|
41
|
-
addresseeName
|
|
41
|
+
addresseeName?: string | null;
|
|
42
42
|
/**
|
|
43
43
|
*
|
|
44
44
|
* @type {string}
|
|
45
45
|
* @memberof AddressResource
|
|
46
46
|
*/
|
|
47
|
-
company
|
|
47
|
+
company: string;
|
|
48
48
|
/**
|
|
49
49
|
*
|
|
50
50
|
* @type {string}
|
|
@@ -22,7 +22,7 @@ exports.AddressResourceToJSONTyped = AddressResourceToJSONTyped;
|
|
|
22
22
|
* Check if a given object implements the AddressResource interface.
|
|
23
23
|
*/
|
|
24
24
|
function instanceOfAddressResource(value) {
|
|
25
|
-
if (!('
|
|
25
|
+
if (!('company' in value) || value['company'] === undefined)
|
|
26
26
|
return false;
|
|
27
27
|
if (!('line1' in value) || value['line1'] === undefined)
|
|
28
28
|
return false;
|
|
@@ -49,8 +49,8 @@ function AddressResourceFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
49
49
|
'id': json['id'] == null ? undefined : json['id'],
|
|
50
50
|
'type': json['type'] == null ? undefined : json['type'],
|
|
51
51
|
'sourceAddressId': json['sourceAddressId'] == null ? undefined : json['sourceAddressId'],
|
|
52
|
-
'addresseeName': json['addresseeName'],
|
|
53
|
-
'company': json['company']
|
|
52
|
+
'addresseeName': json['addresseeName'] == null ? undefined : json['addresseeName'],
|
|
53
|
+
'company': json['company'],
|
|
54
54
|
'line1': json['line1'],
|
|
55
55
|
'line2': json['line2'] == null ? undefined : json['line2'],
|
|
56
56
|
'postcode': json['postcode'],
|
package/package.json
CHANGED
|
@@ -36,7 +36,7 @@ export interface AddressFrontendResource {
|
|
|
36
36
|
* @type {string}
|
|
37
37
|
* @memberof AddressFrontendResource
|
|
38
38
|
*/
|
|
39
|
-
line2
|
|
39
|
+
line2: string;
|
|
40
40
|
/**
|
|
41
41
|
*
|
|
42
42
|
* @type {string}
|
|
@@ -74,6 +74,7 @@ export interface AddressFrontendResource {
|
|
|
74
74
|
*/
|
|
75
75
|
export function instanceOfAddressFrontendResource(value: object): value is AddressFrontendResource {
|
|
76
76
|
if (!('line1' in value) || value['line1'] === undefined) return false;
|
|
77
|
+
if (!('line2' in value) || value['line2'] === undefined) return false;
|
|
77
78
|
if (!('postcode' in value) || value['postcode'] === undefined) return false;
|
|
78
79
|
if (!('suburb' in value) || value['suburb'] === undefined) return false;
|
|
79
80
|
if (!('country' in value) || value['country'] === undefined) return false;
|
|
@@ -94,7 +95,7 @@ export function AddressFrontendResourceFromJSONTyped(json: any, ignoreDiscrimina
|
|
|
94
95
|
|
|
95
96
|
'company': json['company'] == null ? undefined : json['company'],
|
|
96
97
|
'line1': json['line1'],
|
|
97
|
-
'line2': json['line2']
|
|
98
|
+
'line2': json['line2'],
|
|
98
99
|
'postcode': json['postcode'],
|
|
99
100
|
'suburb': json['suburb'],
|
|
100
101
|
'country': json['country'],
|
|
@@ -42,13 +42,13 @@ export interface AddressResource {
|
|
|
42
42
|
* @type {string}
|
|
43
43
|
* @memberof AddressResource
|
|
44
44
|
*/
|
|
45
|
-
addresseeName
|
|
45
|
+
addresseeName?: string | null;
|
|
46
46
|
/**
|
|
47
47
|
*
|
|
48
48
|
* @type {string}
|
|
49
49
|
* @memberof AddressResource
|
|
50
50
|
*/
|
|
51
|
-
company
|
|
51
|
+
company: string;
|
|
52
52
|
/**
|
|
53
53
|
*
|
|
54
54
|
* @type {string}
|
|
@@ -97,7 +97,7 @@ export interface AddressResource {
|
|
|
97
97
|
* Check if a given object implements the AddressResource interface.
|
|
98
98
|
*/
|
|
99
99
|
export function instanceOfAddressResource(value: object): value is AddressResource {
|
|
100
|
-
if (!('
|
|
100
|
+
if (!('company' in value) || value['company'] === undefined) return false;
|
|
101
101
|
if (!('line1' in value) || value['line1'] === undefined) return false;
|
|
102
102
|
if (!('postcode' in value) || value['postcode'] === undefined) return false;
|
|
103
103
|
if (!('suburb' in value) || value['suburb'] === undefined) return false;
|
|
@@ -120,8 +120,8 @@ export function AddressResourceFromJSONTyped(json: any, ignoreDiscriminator: boo
|
|
|
120
120
|
'id': json['id'] == null ? undefined : json['id'],
|
|
121
121
|
'type': json['type'] == null ? undefined : json['type'],
|
|
122
122
|
'sourceAddressId': json['sourceAddressId'] == null ? undefined : json['sourceAddressId'],
|
|
123
|
-
'addresseeName': json['addresseeName'],
|
|
124
|
-
'company': json['company']
|
|
123
|
+
'addresseeName': json['addresseeName'] == null ? undefined : json['addresseeName'],
|
|
124
|
+
'company': json['company'],
|
|
125
125
|
'line1': json['line1'],
|
|
126
126
|
'line2': json['line2'] == null ? undefined : json['line2'],
|
|
127
127
|
'postcode': json['postcode'],
|