@digital8/lighting-illusions-ts-sdk 0.0.2051 → 0.0.2053
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/AdminOrderResource.d.ts +0 -6
- package/dist/models/AdminOrderResource.js +0 -4
- package/dist/models/ExternalApiLogResource.d.ts +1 -1
- package/dist/models/ExternalApiLogResource.js +3 -1
- package/dist/models/SearchCartsRequest.d.ts +1 -0
- package/dist/models/SearchCartsRequest.js +2 -1
- package/dist/models/StoreListResource.d.ts +1 -1
- package/dist/models/StoreListResource.js +1 -3
- package/dist/models/StoreResource.d.ts +1 -1
- package/dist/models/StoreResource.js +3 -1
- package/docs/AdminOrderResource.md +0 -2
- package/package.json +1 -1
- package/src/models/AdminOrderResource.ts +0 -9
- package/src/models/ExternalApiLogResource.ts +3 -2
- package/src/models/SearchCartsRequest.ts +2 -1
- package/src/models/StoreListResource.ts +2 -3
- package/src/models/StoreResource.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.2053
|
|
2
2
|
|
|
3
3
|
A TypeScript SDK client for the localhost API.
|
|
4
4
|
|
|
@@ -916,7 +916,7 @@ and is automatically generated by the
|
|
|
916
916
|
[OpenAPI Generator](https://openapi-generator.tech) project:
|
|
917
917
|
|
|
918
918
|
- API version: `1.0.0`
|
|
919
|
-
- Package version: `0.0.
|
|
919
|
+
- Package version: `0.0.2053`
|
|
920
920
|
- Generator version: `7.22.0`
|
|
921
921
|
- Build package: `org.openapitools.codegen.languages.TypeScriptFetchClientCodegen`
|
|
922
922
|
|
|
@@ -121,12 +121,6 @@ export interface AdminOrderResource {
|
|
|
121
121
|
* @memberof AdminOrderResource
|
|
122
122
|
*/
|
|
123
123
|
isNetsuiteLocked: boolean;
|
|
124
|
-
/**
|
|
125
|
-
*
|
|
126
|
-
* @type {boolean}
|
|
127
|
-
* @memberof AdminOrderResource
|
|
128
|
-
*/
|
|
129
|
-
isDisabled: boolean;
|
|
130
124
|
/**
|
|
131
125
|
*
|
|
132
126
|
* @type {number}
|
|
@@ -54,8 +54,6 @@ function instanceOfAdminOrderResource(value) {
|
|
|
54
54
|
return false;
|
|
55
55
|
if (!('isNetsuiteLocked' in value) || value['isNetsuiteLocked'] === undefined)
|
|
56
56
|
return false;
|
|
57
|
-
if (!('isDisabled' in value) || value['isDisabled'] === undefined)
|
|
58
|
-
return false;
|
|
59
57
|
if (!('subtotal' in value) || value['subtotal'] === undefined)
|
|
60
58
|
return false;
|
|
61
59
|
if (!('productDiscountAmount' in value) || value['productDiscountAmount'] === undefined)
|
|
@@ -132,7 +130,6 @@ function AdminOrderResourceFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
132
130
|
'useAsBillingAddress': json['useAsBillingAddress'],
|
|
133
131
|
'netsuiteId': json['netsuiteId'],
|
|
134
132
|
'isNetsuiteLocked': json['isNetsuiteLocked'],
|
|
135
|
-
'isDisabled': json['isDisabled'],
|
|
136
133
|
'subtotal': json['subtotal'],
|
|
137
134
|
'productDiscountAmount': json['productDiscountAmount'],
|
|
138
135
|
'subtotalDiscountAmount': json['subtotalDiscountAmount'],
|
|
@@ -185,7 +182,6 @@ function AdminOrderResourceToJSONTyped(value, ignoreDiscriminator) {
|
|
|
185
182
|
'useAsBillingAddress': value['useAsBillingAddress'],
|
|
186
183
|
'netsuiteId': value['netsuiteId'],
|
|
187
184
|
'isNetsuiteLocked': value['isNetsuiteLocked'],
|
|
188
|
-
'isDisabled': value['isDisabled'],
|
|
189
185
|
'subtotal': value['subtotal'],
|
|
190
186
|
'productDiscountAmount': value['productDiscountAmount'],
|
|
191
187
|
'subtotalDiscountAmount': value['subtotalDiscountAmount'],
|
|
@@ -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']
|
|
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']),
|
|
@@ -125,6 +125,7 @@ export declare const SearchCartsRequestSortByEnum: {
|
|
|
125
125
|
readonly Id: "id";
|
|
126
126
|
readonly CreatedAt: "created_at";
|
|
127
127
|
readonly ExpiryDate: "expiry_date";
|
|
128
|
+
readonly CheckoutCompletedAt: "checkout_completed_at";
|
|
128
129
|
};
|
|
129
130
|
export type SearchCartsRequestSortByEnum = typeof SearchCartsRequestSortByEnum[keyof typeof SearchCartsRequestSortByEnum];
|
|
130
131
|
/**
|
|
@@ -25,7 +25,8 @@ exports.SearchCartsRequestToJSONTyped = SearchCartsRequestToJSONTyped;
|
|
|
25
25
|
exports.SearchCartsRequestSortByEnum = {
|
|
26
26
|
Id: 'id',
|
|
27
27
|
CreatedAt: 'created_at',
|
|
28
|
-
ExpiryDate: 'expiry_date'
|
|
28
|
+
ExpiryDate: 'expiry_date',
|
|
29
|
+
CheckoutCompletedAt: 'checkout_completed_at'
|
|
29
30
|
};
|
|
30
31
|
/**
|
|
31
32
|
* @export
|
|
@@ -37,8 +37,6 @@ function instanceOfStoreListResource(value) {
|
|
|
37
37
|
return false;
|
|
38
38
|
if (!('email' in value) || value['email'] === undefined)
|
|
39
39
|
return false;
|
|
40
|
-
if (!('website' in value) || value['website'] === undefined)
|
|
41
|
-
return false;
|
|
42
40
|
if (!('netsuiteId' in value) || value['netsuiteId'] === undefined)
|
|
43
41
|
return false;
|
|
44
42
|
if (!('displayNetsuiteId' in value) || value['displayNetsuiteId'] === undefined)
|
|
@@ -61,7 +59,7 @@ function StoreListResourceFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
61
59
|
'latitude': json['latitude'],
|
|
62
60
|
'tagLine': json['tagLine'],
|
|
63
61
|
'email': json['email'],
|
|
64
|
-
'website': json['website'],
|
|
62
|
+
'website': json['website'] == null ? undefined : json['website'],
|
|
65
63
|
'netsuiteId': json['netsuiteId'],
|
|
66
64
|
'displayNetsuiteId': json['displayNetsuiteId'],
|
|
67
65
|
'openingHours': json['openingHours'] == null ? undefined : json['openingHours'],
|
|
@@ -40,6 +40,8 @@ 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;
|
|
43
45
|
if (!('netsuiteId' in value) || value['netsuiteId'] === undefined)
|
|
44
46
|
return false;
|
|
45
47
|
if (!('displayNetsuiteId' in value) || value['displayNetsuiteId'] === undefined)
|
|
@@ -68,7 +70,7 @@ function StoreResourceFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
68
70
|
'latitude': json['latitude'],
|
|
69
71
|
'tagLine': json['tagLine'],
|
|
70
72
|
'email': json['email'],
|
|
71
|
-
'website': json['website']
|
|
73
|
+
'website': json['website'],
|
|
72
74
|
'netsuiteId': json['netsuiteId'],
|
|
73
75
|
'displayNetsuiteId': json['displayNetsuiteId'],
|
|
74
76
|
'openingHours': json['openingHours'] == null ? undefined : json['openingHours'],
|
|
@@ -22,7 +22,6 @@ Name | Type
|
|
|
22
22
|
`useAsBillingAddress` | boolean
|
|
23
23
|
`netsuiteId` | number
|
|
24
24
|
`isNetsuiteLocked` | boolean
|
|
25
|
-
`isDisabled` | boolean
|
|
26
25
|
`subtotal` | number
|
|
27
26
|
`productDiscountAmount` | number
|
|
28
27
|
`subtotalDiscountAmount` | number
|
|
@@ -72,7 +71,6 @@ const example = {
|
|
|
72
71
|
"useAsBillingAddress": null,
|
|
73
72
|
"netsuiteId": null,
|
|
74
73
|
"isNetsuiteLocked": null,
|
|
75
|
-
"isDisabled": null,
|
|
76
74
|
"subtotal": null,
|
|
77
75
|
"productDiscountAmount": null,
|
|
78
76
|
"subtotalDiscountAmount": null,
|
package/package.json
CHANGED
|
@@ -186,12 +186,6 @@ export interface AdminOrderResource {
|
|
|
186
186
|
* @memberof AdminOrderResource
|
|
187
187
|
*/
|
|
188
188
|
isNetsuiteLocked: boolean;
|
|
189
|
-
/**
|
|
190
|
-
*
|
|
191
|
-
* @type {boolean}
|
|
192
|
-
* @memberof AdminOrderResource
|
|
193
|
-
*/
|
|
194
|
-
isDisabled: boolean;
|
|
195
189
|
/**
|
|
196
190
|
*
|
|
197
191
|
* @type {number}
|
|
@@ -359,7 +353,6 @@ export function instanceOfAdminOrderResource(value: object): value is AdminOrder
|
|
|
359
353
|
if (!('useAsBillingAddress' in value) || value['useAsBillingAddress'] === undefined) return false;
|
|
360
354
|
if (!('netsuiteId' in value) || value['netsuiteId'] === undefined) return false;
|
|
361
355
|
if (!('isNetsuiteLocked' in value) || value['isNetsuiteLocked'] === undefined) return false;
|
|
362
|
-
if (!('isDisabled' in value) || value['isDisabled'] === undefined) return false;
|
|
363
356
|
if (!('subtotal' in value) || value['subtotal'] === undefined) return false;
|
|
364
357
|
if (!('productDiscountAmount' in value) || value['productDiscountAmount'] === undefined) return false;
|
|
365
358
|
if (!('subtotalDiscountAmount' in value) || value['subtotalDiscountAmount'] === undefined) return false;
|
|
@@ -414,7 +407,6 @@ export function AdminOrderResourceFromJSONTyped(json: any, ignoreDiscriminator:
|
|
|
414
407
|
'useAsBillingAddress': json['useAsBillingAddress'],
|
|
415
408
|
'netsuiteId': json['netsuiteId'],
|
|
416
409
|
'isNetsuiteLocked': json['isNetsuiteLocked'],
|
|
417
|
-
'isDisabled': json['isDisabled'],
|
|
418
410
|
'subtotal': json['subtotal'],
|
|
419
411
|
'productDiscountAmount': json['productDiscountAmount'],
|
|
420
412
|
'subtotalDiscountAmount': json['subtotalDiscountAmount'],
|
|
@@ -470,7 +462,6 @@ export function AdminOrderResourceToJSONTyped(value?: AdminOrderResource | null,
|
|
|
470
462
|
'useAsBillingAddress': value['useAsBillingAddress'],
|
|
471
463
|
'netsuiteId': value['netsuiteId'],
|
|
472
464
|
'isNetsuiteLocked': value['isNetsuiteLocked'],
|
|
473
|
-
'isDisabled': value['isDisabled'],
|
|
474
465
|
'subtotal': value['subtotal'],
|
|
475
466
|
'productDiscountAmount': value['productDiscountAmount'],
|
|
476
467
|
'subtotalDiscountAmount': value['subtotalDiscountAmount'],
|
|
@@ -74,7 +74,7 @@ export interface ExternalApiLogResource {
|
|
|
74
74
|
* @type {string}
|
|
75
75
|
* @memberof ExternalApiLogResource
|
|
76
76
|
*/
|
|
77
|
-
requestPayload
|
|
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']
|
|
132
|
+
'requestPayload': json['requestPayload'],
|
|
132
133
|
'responsePayload': json['responsePayload'],
|
|
133
134
|
'createdAt': json['createdAt'] == null ? undefined : json['createdAt'],
|
|
134
135
|
'site': SiteLiteResourceFromJSON(json['site']),
|
|
@@ -130,7 +130,8 @@ export interface SearchCartsRequest {
|
|
|
130
130
|
export const SearchCartsRequestSortByEnum = {
|
|
131
131
|
Id: 'id',
|
|
132
132
|
CreatedAt: 'created_at',
|
|
133
|
-
ExpiryDate: 'expiry_date'
|
|
133
|
+
ExpiryDate: 'expiry_date',
|
|
134
|
+
CheckoutCompletedAt: 'checkout_completed_at'
|
|
134
135
|
} as const;
|
|
135
136
|
export type SearchCartsRequestSortByEnum = typeof SearchCartsRequestSortByEnum[keyof typeof SearchCartsRequestSortByEnum];
|
|
136
137
|
|
|
@@ -80,7 +80,7 @@ export interface StoreListResource {
|
|
|
80
80
|
* @type {string}
|
|
81
81
|
* @memberof StoreListResource
|
|
82
82
|
*/
|
|
83
|
-
website
|
|
83
|
+
website?: string | null;
|
|
84
84
|
/**
|
|
85
85
|
*
|
|
86
86
|
* @type {number}
|
|
@@ -112,7 +112,6 @@ export function instanceOfStoreListResource(value: object): value is StoreListRe
|
|
|
112
112
|
if (!('latitude' in value) || value['latitude'] === undefined) return false;
|
|
113
113
|
if (!('tagLine' in value) || value['tagLine'] === undefined) return false;
|
|
114
114
|
if (!('email' in value) || value['email'] === undefined) return false;
|
|
115
|
-
if (!('website' in value) || value['website'] === undefined) return false;
|
|
116
115
|
if (!('netsuiteId' in value) || value['netsuiteId'] === undefined) return false;
|
|
117
116
|
if (!('displayNetsuiteId' in value) || value['displayNetsuiteId'] === undefined) return false;
|
|
118
117
|
return true;
|
|
@@ -136,7 +135,7 @@ export function StoreListResourceFromJSONTyped(json: any, ignoreDiscriminator: b
|
|
|
136
135
|
'latitude': json['latitude'],
|
|
137
136
|
'tagLine': json['tagLine'],
|
|
138
137
|
'email': json['email'],
|
|
139
|
-
'website': json['website'],
|
|
138
|
+
'website': json['website'] == null ? undefined : json['website'],
|
|
140
139
|
'netsuiteId': json['netsuiteId'],
|
|
141
140
|
'displayNetsuiteId': json['displayNetsuiteId'],
|
|
142
141
|
'openingHours': json['openingHours'] == null ? undefined : json['openingHours'],
|
|
@@ -101,7 +101,7 @@ export interface StoreResource {
|
|
|
101
101
|
* @type {string}
|
|
102
102
|
* @memberof StoreResource
|
|
103
103
|
*/
|
|
104
|
-
website
|
|
104
|
+
website: string;
|
|
105
105
|
/**
|
|
106
106
|
*
|
|
107
107
|
* @type {number}
|
|
@@ -151,6 +151,7 @@ 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;
|
|
154
155
|
if (!('netsuiteId' in value) || value['netsuiteId'] === undefined) return false;
|
|
155
156
|
if (!('displayNetsuiteId' in value) || value['displayNetsuiteId'] === undefined) return false;
|
|
156
157
|
if (!('suppliers' in value) || value['suppliers'] === undefined) return false;
|
|
@@ -177,7 +178,7 @@ export function StoreResourceFromJSONTyped(json: any, ignoreDiscriminator: boole
|
|
|
177
178
|
'latitude': json['latitude'],
|
|
178
179
|
'tagLine': json['tagLine'],
|
|
179
180
|
'email': json['email'],
|
|
180
|
-
'website': json['website']
|
|
181
|
+
'website': json['website'],
|
|
181
182
|
'netsuiteId': json['netsuiteId'],
|
|
182
183
|
'displayNetsuiteId': json['displayNetsuiteId'],
|
|
183
184
|
'openingHours': json['openingHours'] == null ? undefined : json['openingHours'],
|