@digital8/lighting-illusions-ts-sdk 0.0.2102 → 0.0.2103

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.2102
1
+ # @digital8/lighting-illusions-ts-sdk@0.0.2103
2
2
 
3
3
  A TypeScript SDK client for the localhost API.
4
4
 
@@ -926,7 +926,7 @@ and is automatically generated by the
926
926
  [OpenAPI Generator](https://openapi-generator.tech) project:
927
927
 
928
928
  - API version: `1.0.0`
929
- - Package version: `0.0.2102`
929
+ - Package version: `0.0.2103`
930
930
  - Generator version: `7.22.0`
931
931
  - Build package: `org.openapitools.codegen.languages.TypeScriptFetchClientCodegen`
932
932
 
@@ -32,7 +32,7 @@ export interface AddressFrontendResource {
32
32
  * @type {string}
33
33
  * @memberof AddressFrontendResource
34
34
  */
35
- line2: string;
35
+ line2?: string | null;
36
36
  /**
37
37
  *
38
38
  * @type {string}
@@ -26,8 +26,6 @@ function instanceOfAddressFrontendResource(value) {
26
26
  return false;
27
27
  if (!('line1' in value) || value['line1'] === undefined)
28
28
  return false;
29
- if (!('line2' in value) || value['line2'] === undefined)
30
- return false;
31
29
  if (!('postcode' in value) || value['postcode'] === undefined)
32
30
  return false;
33
31
  if (!('suburb' in value) || value['suburb'] === undefined)
@@ -50,7 +48,7 @@ function AddressFrontendResourceFromJSONTyped(json, ignoreDiscriminator) {
50
48
  return {
51
49
  'company': json['company'],
52
50
  'line1': json['line1'],
53
- 'line2': json['line2'],
51
+ 'line2': json['line2'] == null ? undefined : json['line2'],
54
52
  'postcode': json['postcode'],
55
53
  'suburb': json['suburb'],
56
54
  'country': json['country'],
@@ -56,7 +56,7 @@ export interface AddressResource {
56
56
  * @type {string}
57
57
  * @memberof AddressResource
58
58
  */
59
- line2: string;
59
+ line2?: string | null;
60
60
  /**
61
61
  *
62
62
  * @type {string}
@@ -28,8 +28,6 @@ function instanceOfAddressResource(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)
@@ -56,7 +54,7 @@ function AddressResourceFromJSONTyped(json, ignoreDiscriminator) {
56
54
  'addresseeName': json['addresseeName'],
57
55
  'company': json['company'],
58
56
  'line1': json['line1'],
59
- 'line2': json['line2'],
57
+ 'line2': json['line2'] == null ? undefined : json['line2'],
60
58
  'postcode': json['postcode'],
61
59
  'suburb': json['suburb'],
62
60
  'country': json['country'],
@@ -152,7 +152,6 @@ export type CreateCartRequestSourceEnum = typeof CreateCartRequestSourceEnum[key
152
152
  export declare const CreateCartRequestShippingTypeEnum: {
153
153
  readonly Pickup: "pickup";
154
154
  readonly Delivery: "delivery";
155
- readonly AuspostStandard: "auspost_standard";
156
155
  readonly Express: "express";
157
156
  readonly Courier: "courier";
158
157
  readonly DontShip: "dont_ship";
@@ -34,7 +34,6 @@ exports.CreateCartRequestSourceEnum = {
34
34
  exports.CreateCartRequestShippingTypeEnum = {
35
35
  Pickup: 'pickup',
36
36
  Delivery: 'delivery',
37
- AuspostStandard: 'auspost_standard',
38
37
  Express: 'express',
39
38
  Courier: 'courier',
40
39
  DontShip: 'dont_ship'
@@ -63,7 +63,7 @@ export interface ExternalApiLogResource {
63
63
  * @type {string}
64
64
  * @memberof ExternalApiLogResource
65
65
  */
66
- requestPayload?: string | null;
66
+ requestPayload: string;
67
67
  /**
68
68
  *
69
69
  * @type {string}
@@ -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'] == null ? undefined : 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']),
@@ -16,7 +16,6 @@
16
16
  export declare const ShippingType: {
17
17
  readonly Pickup: "pickup";
18
18
  readonly Delivery: "delivery";
19
- readonly AuspostStandard: "auspost_standard";
20
19
  readonly Express: "express";
21
20
  readonly Courier: "courier";
22
21
  readonly DontShip: "dont_ship";
@@ -26,7 +26,6 @@ exports.ShippingTypeToJSONTyped = ShippingTypeToJSONTyped;
26
26
  exports.ShippingType = {
27
27
  Pickup: 'pickup',
28
28
  Delivery: 'delivery',
29
- AuspostStandard: 'auspost_standard',
30
29
  Express: 'express',
31
30
  Courier: 'courier',
32
31
  DontShip: 'dont_ship'
@@ -44,7 +44,7 @@ export interface StoreFrontendResource {
44
44
  * @type {string}
45
45
  * @memberof StoreFrontendResource
46
46
  */
47
- website: string;
47
+ website?: string | null;
48
48
  /**
49
49
  *
50
50
  * @type {string}
@@ -28,8 +28,6 @@ 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;
33
31
  if (!('phone' in value) || value['phone'] === undefined)
34
32
  return false;
35
33
  if (!('latitude' in value) || value['latitude'] === undefined)
@@ -56,7 +54,7 @@ function StoreFrontendResourceFromJSONTyped(json, ignoreDiscriminator) {
56
54
  'siteId': json['siteId'],
57
55
  'name': json['name'],
58
56
  'email': json['email'],
59
- 'website': json['website'],
57
+ 'website': json['website'] == null ? undefined : json['website'],
60
58
  'phone': json['phone'],
61
59
  'address': json['address'] == null ? undefined : json['address'],
62
60
  'latitude': json['latitude'],
@@ -57,7 +57,7 @@ export interface StoreListResource {
57
57
  * @type {string}
58
58
  * @memberof StoreListResource
59
59
  */
60
- tagLine: string;
60
+ tagLine?: string | null;
61
61
  /**
62
62
  *
63
63
  * @type {string}
@@ -69,7 +69,7 @@ export interface StoreListResource {
69
69
  * @type {string}
70
70
  * @memberof StoreListResource
71
71
  */
72
- website: string;
72
+ website?: string | null;
73
73
  /**
74
74
  *
75
75
  * @type {number}
@@ -33,12 +33,8 @@ function instanceOfStoreListResource(value) {
33
33
  return false;
34
34
  if (!('latitude' in value) || value['latitude'] === undefined)
35
35
  return false;
36
- if (!('tagLine' in value) || value['tagLine'] === undefined)
37
- return false;
38
36
  if (!('email' in value) || value['email'] === undefined)
39
37
  return false;
40
- if (!('website' in value) || value['website'] === undefined)
41
- return false;
42
38
  if (!('netsuiteId' in value) || value['netsuiteId'] === undefined)
43
39
  return false;
44
40
  if (!('displayNetsuiteId' in value) || value['displayNetsuiteId'] === undefined)
@@ -59,9 +55,9 @@ function StoreListResourceFromJSONTyped(json, ignoreDiscriminator) {
59
55
  'phone': json['phone'],
60
56
  'longitude': json['longitude'],
61
57
  'latitude': json['latitude'],
62
- 'tagLine': json['tagLine'],
58
+ 'tagLine': json['tagLine'] == null ? undefined : json['tagLine'],
63
59
  'email': json['email'],
64
- 'website': json['website'],
60
+ 'website': json['website'] == null ? undefined : json['website'],
65
61
  'netsuiteId': json['netsuiteId'],
66
62
  'displayNetsuiteId': json['displayNetsuiteId'],
67
63
  'openingHours': json['openingHours'] == null ? undefined : json['openingHours'],
@@ -133,7 +133,6 @@ export type UpdateCartRequestSourceEnum = typeof UpdateCartRequestSourceEnum[key
133
133
  export declare const UpdateCartRequestShippingTypeEnum: {
134
134
  readonly Pickup: "pickup";
135
135
  readonly Delivery: "delivery";
136
- readonly AuspostStandard: "auspost_standard";
137
136
  readonly Express: "express";
138
137
  readonly Courier: "courier";
139
138
  readonly DontShip: "dont_ship";
@@ -33,7 +33,6 @@ exports.UpdateCartRequestSourceEnum = {
33
33
  exports.UpdateCartRequestShippingTypeEnum = {
34
34
  Pickup: 'pickup',
35
35
  Delivery: 'delivery',
36
- AuspostStandard: 'auspost_standard',
37
36
  Express: 'express',
38
37
  Courier: 'courier',
39
38
  DontShip: 'dont_ship'
@@ -115,7 +115,6 @@ export type UpdateOrderRequestSourceEnum = typeof UpdateOrderRequestSourceEnum[k
115
115
  export declare const UpdateOrderRequestShippingTypeEnum: {
116
116
  readonly Pickup: "pickup";
117
117
  readonly Delivery: "delivery";
118
- readonly AuspostStandard: "auspost_standard";
119
118
  readonly Express: "express";
120
119
  readonly Courier: "courier";
121
120
  readonly DontShip: "dont_ship";
@@ -33,7 +33,6 @@ exports.UpdateOrderRequestSourceEnum = {
33
33
  exports.UpdateOrderRequestShippingTypeEnum = {
34
34
  Pickup: 'pickup',
35
35
  Delivery: 'delivery',
36
- AuspostStandard: 'auspost_standard',
37
36
  Express: 'express',
38
37
  Courier: 'courier',
39
38
  DontShip: 'dont_ship'
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@digital8/lighting-illusions-ts-sdk",
3
- "version": "0.0.2102",
3
+ "version": "0.0.2103",
4
4
  "description": "OpenAPI client for @digital8/lighting-illusions-ts-sdk",
5
5
  "author": "OpenAPI-Generator",
6
6
  "repository": {
@@ -36,7 +36,7 @@ export interface AddressFrontendResource {
36
36
  * @type {string}
37
37
  * @memberof AddressFrontendResource
38
38
  */
39
- line2: string;
39
+ line2?: string | null;
40
40
  /**
41
41
  *
42
42
  * @type {string}
@@ -75,7 +75,6 @@ export interface AddressFrontendResource {
75
75
  export function instanceOfAddressFrontendResource(value: object): value is AddressFrontendResource {
76
76
  if (!('company' in value) || value['company'] === undefined) return false;
77
77
  if (!('line1' in value) || value['line1'] === undefined) return false;
78
- if (!('line2' in value) || value['line2'] === undefined) return false;
79
78
  if (!('postcode' in value) || value['postcode'] === undefined) return false;
80
79
  if (!('suburb' in value) || value['suburb'] === undefined) return false;
81
80
  if (!('country' in value) || value['country'] === undefined) return false;
@@ -96,7 +95,7 @@ export function AddressFrontendResourceFromJSONTyped(json: any, ignoreDiscrimina
96
95
 
97
96
  'company': json['company'],
98
97
  'line1': json['line1'],
99
- 'line2': json['line2'],
98
+ 'line2': json['line2'] == null ? undefined : json['line2'],
100
99
  'postcode': json['postcode'],
101
100
  'suburb': json['suburb'],
102
101
  'country': json['country'],
@@ -60,7 +60,7 @@ export interface AddressResource {
60
60
  * @type {string}
61
61
  * @memberof AddressResource
62
62
  */
63
- line2: string;
63
+ line2?: string | null;
64
64
  /**
65
65
  *
66
66
  * @type {string}
@@ -100,7 +100,6 @@ export function instanceOfAddressResource(value: object): value is AddressResour
100
100
  if (!('addresseeName' in value) || value['addresseeName'] === undefined) return false;
101
101
  if (!('company' in value) || value['company'] === undefined) return false;
102
102
  if (!('line1' in value) || value['line1'] === undefined) return false;
103
- if (!('line2' in value) || value['line2'] === undefined) return false;
104
103
  if (!('postcode' in value) || value['postcode'] === undefined) return false;
105
104
  if (!('suburb' in value) || value['suburb'] === undefined) return false;
106
105
  if (!('country' in value) || value['country'] === undefined) return false;
@@ -125,7 +124,7 @@ export function AddressResourceFromJSONTyped(json: any, ignoreDiscriminator: boo
125
124
  'addresseeName': json['addresseeName'],
126
125
  'company': json['company'],
127
126
  'line1': json['line1'],
128
- 'line2': json['line2'],
127
+ 'line2': json['line2'] == null ? undefined : json['line2'],
129
128
  'postcode': json['postcode'],
130
129
  'suburb': json['suburb'],
131
130
  'country': json['country'],
@@ -172,7 +172,6 @@ export type CreateCartRequestSourceEnum = typeof CreateCartRequestSourceEnum[key
172
172
  export const CreateCartRequestShippingTypeEnum = {
173
173
  Pickup: 'pickup',
174
174
  Delivery: 'delivery',
175
- AuspostStandard: 'auspost_standard',
176
175
  Express: 'express',
177
176
  Courier: 'courier',
178
177
  DontShip: 'dont_ship'
@@ -74,7 +74,7 @@ export interface ExternalApiLogResource {
74
74
  * @type {string}
75
75
  * @memberof ExternalApiLogResource
76
76
  */
77
- requestPayload?: string | null;
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'] == null ? undefined : 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']),
@@ -20,7 +20,6 @@
20
20
  export const ShippingType = {
21
21
  Pickup: 'pickup',
22
22
  Delivery: 'delivery',
23
- AuspostStandard: 'auspost_standard',
24
23
  Express: 'express',
25
24
  Courier: 'courier',
26
25
  DontShip: 'dont_ship'
@@ -48,7 +48,7 @@ export interface StoreFrontendResource {
48
48
  * @type {string}
49
49
  * @memberof StoreFrontendResource
50
50
  */
51
- website: string;
51
+ website?: string | null;
52
52
  /**
53
53
  *
54
54
  * @type {string}
@@ -106,7 +106,6 @@ 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;
110
109
  if (!('phone' in value) || value['phone'] === undefined) return false;
111
110
  if (!('latitude' in value) || value['latitude'] === undefined) return false;
112
111
  if (!('longitude' in value) || value['longitude'] === undefined) return false;
@@ -130,7 +129,7 @@ export function StoreFrontendResourceFromJSONTyped(json: any, ignoreDiscriminato
130
129
  'siteId': json['siteId'],
131
130
  'name': json['name'],
132
131
  'email': json['email'],
133
- 'website': json['website'],
132
+ 'website': json['website'] == null ? undefined : json['website'],
134
133
  'phone': json['phone'],
135
134
  'address': json['address'] == null ? undefined : json['address'],
136
135
  'latitude': json['latitude'],
@@ -68,7 +68,7 @@ export interface StoreListResource {
68
68
  * @type {string}
69
69
  * @memberof StoreListResource
70
70
  */
71
- tagLine: string;
71
+ tagLine?: string | null;
72
72
  /**
73
73
  *
74
74
  * @type {string}
@@ -80,7 +80,7 @@ export interface StoreListResource {
80
80
  * @type {string}
81
81
  * @memberof StoreListResource
82
82
  */
83
- website: string;
83
+ website?: string | null;
84
84
  /**
85
85
  *
86
86
  * @type {number}
@@ -110,9 +110,7 @@ export function instanceOfStoreListResource(value: object): value is StoreListRe
110
110
  if (!('phone' in value) || value['phone'] === undefined) return false;
111
111
  if (!('longitude' in value) || value['longitude'] === undefined) return false;
112
112
  if (!('latitude' in value) || value['latitude'] === undefined) return false;
113
- if (!('tagLine' in value) || value['tagLine'] === undefined) return false;
114
113
  if (!('email' in value) || value['email'] === undefined) return false;
115
- if (!('website' in value) || value['website'] === undefined) return false;
116
114
  if (!('netsuiteId' in value) || value['netsuiteId'] === undefined) return false;
117
115
  if (!('displayNetsuiteId' in value) || value['displayNetsuiteId'] === undefined) return false;
118
116
  return true;
@@ -134,9 +132,9 @@ export function StoreListResourceFromJSONTyped(json: any, ignoreDiscriminator: b
134
132
  'phone': json['phone'],
135
133
  'longitude': json['longitude'],
136
134
  'latitude': json['latitude'],
137
- 'tagLine': json['tagLine'],
135
+ 'tagLine': json['tagLine'] == null ? undefined : json['tagLine'],
138
136
  'email': json['email'],
139
- 'website': json['website'],
137
+ 'website': json['website'] == null ? undefined : json['website'],
140
138
  'netsuiteId': json['netsuiteId'],
141
139
  'displayNetsuiteId': json['displayNetsuiteId'],
142
140
  'openingHours': json['openingHours'] == null ? undefined : json['openingHours'],
@@ -147,7 +147,6 @@ export type UpdateCartRequestSourceEnum = typeof UpdateCartRequestSourceEnum[key
147
147
  export const UpdateCartRequestShippingTypeEnum = {
148
148
  Pickup: 'pickup',
149
149
  Delivery: 'delivery',
150
- AuspostStandard: 'auspost_standard',
151
150
  Express: 'express',
152
151
  Courier: 'courier',
153
152
  DontShip: 'dont_ship'
@@ -129,7 +129,6 @@ export type UpdateOrderRequestSourceEnum = typeof UpdateOrderRequestSourceEnum[k
129
129
  export const UpdateOrderRequestShippingTypeEnum = {
130
130
  Pickup: 'pickup',
131
131
  Delivery: 'delivery',
132
- AuspostStandard: 'auspost_standard',
133
132
  Express: 'express',
134
133
  Courier: 'courier',
135
134
  DontShip: 'dont_ship'