@digital8/lighting-illusions-ts-sdk 0.0.1972 → 0.0.1974

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.1972
1
+ # @digital8/lighting-illusions-ts-sdk@0.0.1974
2
2
 
3
3
  A TypeScript SDK client for the localhost API.
4
4
 
@@ -791,7 +791,7 @@ and is automatically generated by the
791
791
  [OpenAPI Generator](https://openapi-generator.tech) project:
792
792
 
793
793
  - API version: `1.0.0`
794
- - Package version: `0.0.1972`
794
+ - Package version: `0.0.1974`
795
795
  - Generator version: `7.22.0`
796
796
  - Build package: `org.openapitools.codegen.languages.TypeScriptFetchClientCodegen`
797
797
 
@@ -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']),
@@ -38,7 +38,7 @@ export interface OrderFulfillmentResource {
38
38
  * @type {string}
39
39
  * @memberof OrderFulfillmentResource
40
40
  */
41
- trackingNumber: string;
41
+ trackingNumber?: string | null;
42
42
  /**
43
43
  *
44
44
  * @type {string}
@@ -28,8 +28,6 @@ function instanceOfOrderFulfillmentResource(value) {
28
28
  return false;
29
29
  if (!('dateShipped' in value) || value['dateShipped'] === undefined)
30
30
  return false;
31
- if (!('trackingNumber' in value) || value['trackingNumber'] === undefined)
32
- return false;
33
31
  if (!('trackingUrl' in value) || value['trackingUrl'] === undefined)
34
32
  return false;
35
33
  if (!('docnum' in value) || value['docnum'] === undefined)
@@ -49,7 +47,7 @@ function OrderFulfillmentResourceFromJSONTyped(json, ignoreDiscriminator) {
49
47
  'id': json['id'],
50
48
  'orderId': json['order_id'],
51
49
  'dateShipped': (new Date(json['date_shipped'])),
52
- 'trackingNumber': json['tracking_number'],
50
+ 'trackingNumber': json['tracking_number'] == null ? undefined : json['tracking_number'],
53
51
  'trackingUrl': json['tracking_url'],
54
52
  'trackingCompany': json['tracking_company'] == null ? undefined : json['tracking_company'],
55
53
  'docnum': json['docnum'],
@@ -14,9 +14,11 @@
14
14
  * @export
15
15
  */
16
16
  export declare const OrderStatusId: {
17
+ readonly _1: "1";
17
18
  readonly _2: "2";
18
19
  readonly _3: "3";
19
20
  readonly _4: "4";
21
+ readonly _5: "5";
20
22
  readonly _6: "6";
21
23
  readonly _7: "7";
22
24
  readonly _9: "9";
@@ -24,9 +24,11 @@ exports.OrderStatusIdToJSONTyped = OrderStatusIdToJSONTyped;
24
24
  * @export
25
25
  */
26
26
  exports.OrderStatusId = {
27
+ _1: '1',
27
28
  _2: '2',
28
29
  _3: '3',
29
30
  _4: '4',
31
+ _5: '5',
30
32
  _6: '6',
31
33
  _7: '7',
32
34
  _9: '9',
@@ -44,7 +44,7 @@ export interface StoreFrontendResource {
44
44
  * @type {string}
45
45
  * @memberof StoreFrontendResource
46
46
  */
47
- website?: string | null;
47
+ website: string;
48
48
  /**
49
49
  *
50
50
  * @type {string}
@@ -74,7 +74,7 @@ export interface StoreFrontendResource {
74
74
  * @type {string}
75
75
  * @memberof StoreFrontendResource
76
76
  */
77
- tagLine?: string | null;
77
+ tagLine: string;
78
78
  /**
79
79
  *
80
80
  * @type {string}
@@ -28,12 +28,16 @@ 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;
31
33
  if (!('phone' in value) || value['phone'] === undefined)
32
34
  return false;
33
35
  if (!('latitude' in value) || value['latitude'] === undefined)
34
36
  return false;
35
37
  if (!('longitude' in value) || value['longitude'] === undefined)
36
38
  return false;
39
+ if (!('tagLine' in value) || value['tagLine'] === undefined)
40
+ return false;
37
41
  if (!('specialDates' in value) || value['specialDates'] === undefined)
38
42
  return false;
39
43
  if (!('suppliers' in value) || value['suppliers'] === undefined)
@@ -52,12 +56,12 @@ function StoreFrontendResourceFromJSONTyped(json, ignoreDiscriminator) {
52
56
  'siteId': json['siteId'],
53
57
  'name': json['name'],
54
58
  'email': json['email'],
55
- 'website': json['website'] == null ? undefined : json['website'],
59
+ 'website': json['website'],
56
60
  'phone': json['phone'],
57
61
  'address': json['address'] == null ? undefined : json['address'],
58
62
  'latitude': json['latitude'],
59
63
  'longitude': json['longitude'],
60
- 'tagLine': json['tagLine'] == null ? undefined : json['tagLine'],
64
+ 'tagLine': json['tagLine'],
61
65
  'openingHours': json['openingHours'] == null ? undefined : json['openingHours'],
62
66
  'specialDates': json['specialDates'],
63
67
  'suppliers': json['suppliers'],
@@ -72,7 +72,7 @@ export interface StoreResource {
72
72
  * @type {string}
73
73
  * @memberof StoreResource
74
74
  */
75
- website: string;
75
+ website?: string | null;
76
76
  /**
77
77
  *
78
78
  * @type {string}
@@ -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 (!('suppliers' in value) || value['suppliers'] === undefined)
46
44
  return false;
47
45
  if (!('address' in value) || value['address'] === undefined)
@@ -66,7 +64,7 @@ function StoreResourceFromJSONTyped(json, ignoreDiscriminator) {
66
64
  'latitude': json['latitude'],
67
65
  'tagLine': json['tag_line'],
68
66
  'email': json['email'],
69
- 'website': json['website'],
67
+ 'website': json['website'] == null ? undefined : json['website'],
70
68
  'openingHours': json['opening_hours'] == null ? undefined : json['opening_hours'],
71
69
  'suppliers': (json['suppliers'] == null ? null : json['suppliers'].map(SupplierLiteResource_1.SupplierLiteResourceFromJSON)),
72
70
  'address': (0, AddressResource_1.AddressResourceFromJSON)(json['address']),
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@digital8/lighting-illusions-ts-sdk",
3
- "version": "0.0.1972",
3
+ "version": "0.0.1974",
4
4
  "description": "OpenAPI client for @digital8/lighting-illusions-ts-sdk",
5
5
  "author": "OpenAPI-Generator",
6
6
  "repository": {
@@ -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']),
@@ -42,7 +42,7 @@ export interface OrderFulfillmentResource {
42
42
  * @type {string}
43
43
  * @memberof OrderFulfillmentResource
44
44
  */
45
- trackingNumber: string;
45
+ trackingNumber?: string | null;
46
46
  /**
47
47
  *
48
48
  * @type {string}
@@ -88,7 +88,6 @@ export function instanceOfOrderFulfillmentResource(value: object): value is Orde
88
88
  if (!('id' in value) || value['id'] === undefined) return false;
89
89
  if (!('orderId' in value) || value['orderId'] === undefined) return false;
90
90
  if (!('dateShipped' in value) || value['dateShipped'] === undefined) return false;
91
- if (!('trackingNumber' in value) || value['trackingNumber'] === undefined) return false;
92
91
  if (!('trackingUrl' in value) || value['trackingUrl'] === undefined) return false;
93
92
  if (!('docnum' in value) || value['docnum'] === undefined) return false;
94
93
  if (!('orderFulfillmentLineItems' in value) || value['orderFulfillmentLineItems'] === undefined) return false;
@@ -108,7 +107,7 @@ export function OrderFulfillmentResourceFromJSONTyped(json: any, ignoreDiscrimin
108
107
  'id': json['id'],
109
108
  'orderId': json['order_id'],
110
109
  'dateShipped': (new Date(json['date_shipped'])),
111
- 'trackingNumber': json['tracking_number'],
110
+ 'trackingNumber': json['tracking_number'] == null ? undefined : json['tracking_number'],
112
111
  'trackingUrl': json['tracking_url'],
113
112
  'trackingCompany': json['tracking_company'] == null ? undefined : json['tracking_company'],
114
113
  'docnum': json['docnum'],
@@ -18,9 +18,11 @@
18
18
  * @export
19
19
  */
20
20
  export const OrderStatusId = {
21
+ _1: '1',
21
22
  _2: '2',
22
23
  _3: '3',
23
24
  _4: '4',
25
+ _5: '5',
24
26
  _6: '6',
25
27
  _7: '7',
26
28
  _9: '9',
@@ -48,7 +48,7 @@ export interface StoreFrontendResource {
48
48
  * @type {string}
49
49
  * @memberof StoreFrontendResource
50
50
  */
51
- website?: string | null;
51
+ website: string;
52
52
  /**
53
53
  *
54
54
  * @type {string}
@@ -78,7 +78,7 @@ export interface StoreFrontendResource {
78
78
  * @type {string}
79
79
  * @memberof StoreFrontendResource
80
80
  */
81
- tagLine?: string | null;
81
+ tagLine: string;
82
82
  /**
83
83
  *
84
84
  * @type {string}
@@ -106,9 +106,11 @@ 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;
109
110
  if (!('phone' in value) || value['phone'] === undefined) return false;
110
111
  if (!('latitude' in value) || value['latitude'] === undefined) return false;
111
112
  if (!('longitude' in value) || value['longitude'] === undefined) return false;
113
+ if (!('tagLine' in value) || value['tagLine'] === undefined) return false;
112
114
  if (!('specialDates' in value) || value['specialDates'] === undefined) return false;
113
115
  if (!('suppliers' in value) || value['suppliers'] === undefined) return false;
114
116
  return true;
@@ -128,12 +130,12 @@ export function StoreFrontendResourceFromJSONTyped(json: any, ignoreDiscriminato
128
130
  'siteId': json['siteId'],
129
131
  'name': json['name'],
130
132
  'email': json['email'],
131
- 'website': json['website'] == null ? undefined : json['website'],
133
+ 'website': json['website'],
132
134
  'phone': json['phone'],
133
135
  'address': json['address'] == null ? undefined : json['address'],
134
136
  'latitude': json['latitude'],
135
137
  'longitude': json['longitude'],
136
- 'tagLine': json['tagLine'] == null ? undefined : json['tagLine'],
138
+ 'tagLine': json['tagLine'],
137
139
  'openingHours': json['openingHours'] == null ? undefined : json['openingHours'],
138
140
  'specialDates': json['specialDates'],
139
141
  'suppliers': json['suppliers'],
@@ -101,7 +101,7 @@ export interface StoreResource {
101
101
  * @type {string}
102
102
  * @memberof StoreResource
103
103
  */
104
- website: string;
104
+ website?: string | null;
105
105
  /**
106
106
  *
107
107
  * @type {string}
@@ -139,7 +139,6 @@ export function instanceOfStoreResource(value: object): value is StoreResource {
139
139
  if (!('latitude' in value) || value['latitude'] === undefined) return false;
140
140
  if (!('tagLine' in value) || value['tagLine'] === undefined) return false;
141
141
  if (!('email' in value) || value['email'] === undefined) return false;
142
- if (!('website' in value) || value['website'] === undefined) return false;
143
142
  if (!('suppliers' in value) || value['suppliers'] === undefined) return false;
144
143
  if (!('address' in value) || value['address'] === undefined) return false;
145
144
  if (!('specialDates' in value) || value['specialDates'] === undefined) return false;
@@ -164,7 +163,7 @@ export function StoreResourceFromJSONTyped(json: any, ignoreDiscriminator: boole
164
163
  'latitude': json['latitude'],
165
164
  'tagLine': json['tag_line'],
166
165
  'email': json['email'],
167
- 'website': json['website'],
166
+ 'website': json['website'] == null ? undefined : json['website'],
168
167
  'openingHours': json['opening_hours'] == null ? undefined : json['opening_hours'],
169
168
  'suppliers': (json['suppliers'] == null ? null : (json['suppliers'] as Array<any>).map(SupplierLiteResourceFromJSON)),
170
169
  'address': AddressResourceFromJSON(json['address']),