@digital8/lighting-illusions-ts-sdk 0.0.2917 → 0.0.2919

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.2917
1
+ ## @digital8/lighting-illusions-ts-sdk@0.0.2919
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.2917 --save
39
+ npm install @digital8/lighting-illusions-ts-sdk@0.0.2919 --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;
53
+ line2?: string | null;
54
54
  /**
55
55
  *
56
56
  * @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)
@@ -53,7 +51,7 @@ function AddressFrontendResourceFromJSONTyped(json, ignoreDiscriminator) {
53
51
  'addresseeName': json['addresseeName'],
54
52
  'company': json['company'] == null ? undefined : json['company'],
55
53
  'line1': json['line1'],
56
- 'line2': json['line2'],
54
+ 'line2': json['line2'] == null ? undefined : json['line2'],
57
55
  'postcode': json['postcode'],
58
56
  'suburb': json['suburb'],
59
57
  'country': json['country'],
@@ -27,6 +27,12 @@ export interface CheckEmailFrontendResource {
27
27
  * @memberof CheckEmailFrontendResource
28
28
  */
29
29
  name: string;
30
+ /**
31
+ *
32
+ * @type {boolean}
33
+ * @memberof CheckEmailFrontendResource
34
+ */
35
+ isGuest: boolean;
30
36
  }
31
37
  /**
32
38
  * Check if a given object implements the CheckEmailFrontendResource interface.
@@ -26,6 +26,8 @@ function instanceOfCheckEmailFrontendResource(value) {
26
26
  return false;
27
27
  if (!('name' in value) || value['name'] === undefined)
28
28
  return false;
29
+ if (!('isGuest' in value) || value['isGuest'] === undefined)
30
+ return false;
29
31
  return true;
30
32
  }
31
33
  function CheckEmailFrontendResourceFromJSON(json) {
@@ -38,6 +40,7 @@ function CheckEmailFrontendResourceFromJSONTyped(json, ignoreDiscriminator) {
38
40
  return {
39
41
  '_exists': json['exists'],
40
42
  'name': json['name'],
43
+ 'isGuest': json['isGuest'],
41
44
  };
42
45
  }
43
46
  function CheckEmailFrontendResourceToJSON(json) {
@@ -51,5 +54,6 @@ function CheckEmailFrontendResourceToJSONTyped(value, ignoreDiscriminator) {
51
54
  return {
52
55
  'exists': value['_exists'],
53
56
  'name': value['name'],
57
+ 'isGuest': value['isGuest'],
54
58
  };
55
59
  }
@@ -69,7 +69,7 @@ export interface ExternalApiLogResource {
69
69
  * @type {string}
70
70
  * @memberof ExternalApiLogResource
71
71
  */
72
- requestPayload?: string | null;
72
+ requestPayload: string;
73
73
  /**
74
74
  *
75
75
  * @type {string}
@@ -39,6 +39,8 @@ function instanceOfExternalApiLogResource(value) {
39
39
  return false;
40
40
  if (!('isSuccess' in value) || value['isSuccess'] === undefined)
41
41
  return false;
42
+ if (!('requestPayload' in value) || value['requestPayload'] === undefined)
43
+ return false;
42
44
  if (!('responsePayload' in value) || value['responsePayload'] === undefined)
43
45
  return false;
44
46
  if (!('site' in value) || value['site'] === undefined)
@@ -61,7 +63,7 @@ function ExternalApiLogResourceFromJSONTyped(json, ignoreDiscriminator) {
61
63
  'endpoint': json['endpoint'],
62
64
  'responseCode': json['responseCode'],
63
65
  'isSuccess': json['isSuccess'],
64
- 'requestPayload': json['requestPayload'] == null ? undefined : json['requestPayload'],
66
+ 'requestPayload': json['requestPayload'],
65
67
  'responsePayload': json['responsePayload'],
66
68
  'createdAt': json['createdAt'] == null ? undefined : (new Date(json['createdAt'])),
67
69
  'site': (0, SiteLiteResource_1.SiteLiteResourceFromJSON)(json['site']),
@@ -46,13 +46,13 @@ export interface OrderFulfillmentResource {
46
46
  * @type {string}
47
47
  * @memberof OrderFulfillmentResource
48
48
  */
49
- trackingUrl?: string | null;
49
+ trackingUrl: string;
50
50
  /**
51
51
  *
52
52
  * @type {string}
53
53
  * @memberof OrderFulfillmentResource
54
54
  */
55
- trackingCompany: string;
55
+ trackingCompany?: string | null;
56
56
  /**
57
57
  *
58
58
  * @type {string}
@@ -30,7 +30,7 @@ function instanceOfOrderFulfillmentResource(value) {
30
30
  return false;
31
31
  if (!('dateShipped' in value) || value['dateShipped'] === undefined)
32
32
  return false;
33
- if (!('trackingCompany' in value) || value['trackingCompany'] === undefined)
33
+ if (!('trackingUrl' in value) || value['trackingUrl'] === undefined)
34
34
  return false;
35
35
  if (!('docnum' in value) || value['docnum'] === undefined)
36
36
  return false;
@@ -54,8 +54,8 @@ function OrderFulfillmentResourceFromJSONTyped(json, ignoreDiscriminator) {
54
54
  'orderId': json['orderId'],
55
55
  'dateShipped': (new Date(json['dateShipped'])),
56
56
  'trackingNumber': json['trackingNumber'] == null ? undefined : json['trackingNumber'],
57
- 'trackingUrl': json['trackingUrl'] == null ? undefined : json['trackingUrl'],
58
- 'trackingCompany': json['trackingCompany'],
57
+ 'trackingUrl': json['trackingUrl'],
58
+ 'trackingCompany': json['trackingCompany'] == null ? undefined : json['trackingCompany'],
59
59
  'docnum': json['docnum'],
60
60
  'status': (0, OrderFulfillmentStatus_1.OrderFulfillmentStatusFromJSON)(json['status']),
61
61
  'netsuiteId': json['netsuiteId'],
@@ -74,7 +74,7 @@ export interface SearchProductRangesRequest {
74
74
  * @type {string}
75
75
  * @memberof SearchProductRangesRequest
76
76
  */
77
- relatedType?: string;
77
+ relatedType?: SearchProductRangesRequestRelatedTypeEnum;
78
78
  /**
79
79
  *
80
80
  * @type {boolean}
@@ -100,6 +100,13 @@ export declare const SearchProductRangesRequestSortDirectionEnum: {
100
100
  readonly Desc: "desc";
101
101
  };
102
102
  export type SearchProductRangesRequestSortDirectionEnum = typeof SearchProductRangesRequestSortDirectionEnum[keyof typeof SearchProductRangesRequestSortDirectionEnum];
103
+ /**
104
+ * @export
105
+ */
106
+ export declare const SearchProductRangesRequestRelatedTypeEnum: {
107
+ readonly AttributeValue: "attributeValue";
108
+ };
109
+ export type SearchProductRangesRequestRelatedTypeEnum = typeof SearchProductRangesRequestRelatedTypeEnum[keyof typeof SearchProductRangesRequestRelatedTypeEnum];
103
110
  /**
104
111
  * Check if a given object implements the SearchProductRangesRequest interface.
105
112
  */
@@ -13,7 +13,7 @@
13
13
  * Do not edit the class manually.
14
14
  */
15
15
  Object.defineProperty(exports, "__esModule", { value: true });
16
- exports.SearchProductRangesRequestSortDirectionEnum = exports.SearchProductRangesRequestSortByEnum = void 0;
16
+ exports.SearchProductRangesRequestRelatedTypeEnum = exports.SearchProductRangesRequestSortDirectionEnum = exports.SearchProductRangesRequestSortByEnum = void 0;
17
17
  exports.instanceOfSearchProductRangesRequest = instanceOfSearchProductRangesRequest;
18
18
  exports.SearchProductRangesRequestFromJSON = SearchProductRangesRequestFromJSON;
19
19
  exports.SearchProductRangesRequestFromJSONTyped = SearchProductRangesRequestFromJSONTyped;
@@ -35,6 +35,12 @@ exports.SearchProductRangesRequestSortDirectionEnum = {
35
35
  Asc: 'asc',
36
36
  Desc: 'desc'
37
37
  };
38
+ /**
39
+ * @export
40
+ */
41
+ exports.SearchProductRangesRequestRelatedTypeEnum = {
42
+ AttributeValue: 'attributeValue'
43
+ };
38
44
  /**
39
45
  * Check if a given object implements the SearchProductRangesRequest interface.
40
46
  */
@@ -60,7 +60,7 @@ export interface StoreResource {
60
60
  * @type {string}
61
61
  * @memberof StoreResource
62
62
  */
63
- tagLine?: string | null;
63
+ tagLine: string;
64
64
  /**
65
65
  *
66
66
  * @type {string}
@@ -36,6 +36,8 @@ 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;
39
41
  if (!('email' in value) || value['email'] === undefined)
40
42
  return false;
41
43
  if (!('website' in value) || value['website'] === undefined)
@@ -66,7 +68,7 @@ function StoreResourceFromJSONTyped(json, ignoreDiscriminator) {
66
68
  'phone': json['phone'],
67
69
  'longitude': json['longitude'],
68
70
  'latitude': json['latitude'],
69
- 'tagLine': json['tagLine'] == null ? undefined : json['tagLine'],
71
+ 'tagLine': json['tagLine'],
70
72
  'email': json['email'],
71
73
  'website': json['website'],
72
74
  '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.2917",
3
+ "version": "0.0.2919",
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;
57
+ line2?: string | null;
58
58
  /**
59
59
  *
60
60
  * @type {string}
@@ -93,7 +93,6 @@ export interface AddressFrontendResource {
93
93
  export function instanceOfAddressFrontendResource(value: object): value is AddressFrontendResource {
94
94
  if (!('addresseeName' in value) || value['addresseeName'] === undefined) return false;
95
95
  if (!('line1' in value) || value['line1'] === undefined) return false;
96
- if (!('line2' in value) || value['line2'] === undefined) return false;
97
96
  if (!('postcode' in value) || value['postcode'] === undefined) return false;
98
97
  if (!('suburb' in value) || value['suburb'] === undefined) return false;
99
98
  if (!('country' in value) || value['country'] === undefined) return false;
@@ -117,7 +116,7 @@ export function AddressFrontendResourceFromJSONTyped(json: any, ignoreDiscrimina
117
116
  'addresseeName': json['addresseeName'],
118
117
  'company': json['company'] == null ? undefined : json['company'],
119
118
  'line1': json['line1'],
120
- 'line2': json['line2'],
119
+ 'line2': json['line2'] == null ? undefined : json['line2'],
121
120
  'postcode': json['postcode'],
122
121
  'suburb': json['suburb'],
123
122
  'country': json['country'],
@@ -31,6 +31,12 @@ export interface CheckEmailFrontendResource {
31
31
  * @memberof CheckEmailFrontendResource
32
32
  */
33
33
  name: string;
34
+ /**
35
+ *
36
+ * @type {boolean}
37
+ * @memberof CheckEmailFrontendResource
38
+ */
39
+ isGuest: boolean;
34
40
  }
35
41
 
36
42
  /**
@@ -39,6 +45,7 @@ export interface CheckEmailFrontendResource {
39
45
  export function instanceOfCheckEmailFrontendResource(value: object): value is CheckEmailFrontendResource {
40
46
  if (!('_exists' in value) || value['_exists'] === undefined) return false;
41
47
  if (!('name' in value) || value['name'] === undefined) return false;
48
+ if (!('isGuest' in value) || value['isGuest'] === undefined) return false;
42
49
  return true;
43
50
  }
44
51
 
@@ -54,6 +61,7 @@ export function CheckEmailFrontendResourceFromJSONTyped(json: any, ignoreDiscrim
54
61
 
55
62
  '_exists': json['exists'],
56
63
  'name': json['name'],
64
+ 'isGuest': json['isGuest'],
57
65
  };
58
66
  }
59
67
 
@@ -70,6 +78,7 @@ export function CheckEmailFrontendResourceToJSONTyped(value?: CheckEmailFrontend
70
78
 
71
79
  'exists': value['_exists'],
72
80
  'name': value['name'],
81
+ 'isGuest': value['isGuest'],
73
82
  };
74
83
  }
75
84
 
@@ -80,7 +80,7 @@ export interface ExternalApiLogResource {
80
80
  * @type {string}
81
81
  * @memberof ExternalApiLogResource
82
82
  */
83
- requestPayload?: string | null;
83
+ requestPayload: string;
84
84
  /**
85
85
  *
86
86
  * @type {string}
@@ -113,6 +113,7 @@ export function instanceOfExternalApiLogResource(value: object): value is Extern
113
113
  if (!('endpoint' in value) || value['endpoint'] === undefined) return false;
114
114
  if (!('responseCode' in value) || value['responseCode'] === undefined) return false;
115
115
  if (!('isSuccess' in value) || value['isSuccess'] === undefined) return false;
116
+ if (!('requestPayload' in value) || value['requestPayload'] === undefined) return false;
116
117
  if (!('responsePayload' in value) || value['responsePayload'] === undefined) return false;
117
118
  if (!('site' in value) || value['site'] === undefined) return false;
118
119
  return true;
@@ -136,7 +137,7 @@ export function ExternalApiLogResourceFromJSONTyped(json: any, ignoreDiscriminat
136
137
  'endpoint': json['endpoint'],
137
138
  'responseCode': json['responseCode'],
138
139
  'isSuccess': json['isSuccess'],
139
- 'requestPayload': json['requestPayload'] == null ? undefined : json['requestPayload'],
140
+ 'requestPayload': json['requestPayload'],
140
141
  'responsePayload': json['responsePayload'],
141
142
  'createdAt': json['createdAt'] == null ? undefined : (new Date(json['createdAt'])),
142
143
  'site': SiteLiteResourceFromJSON(json['site']),
@@ -63,13 +63,13 @@ export interface OrderFulfillmentResource {
63
63
  * @type {string}
64
64
  * @memberof OrderFulfillmentResource
65
65
  */
66
- trackingUrl?: string | null;
66
+ trackingUrl: string;
67
67
  /**
68
68
  *
69
69
  * @type {string}
70
70
  * @memberof OrderFulfillmentResource
71
71
  */
72
- trackingCompany: string;
72
+ trackingCompany?: string | null;
73
73
  /**
74
74
  *
75
75
  * @type {string}
@@ -117,7 +117,7 @@ export function instanceOfOrderFulfillmentResource(value: object): value is Orde
117
117
  if (!('id' in value) || value['id'] === undefined) return false;
118
118
  if (!('orderId' in value) || value['orderId'] === undefined) return false;
119
119
  if (!('dateShipped' in value) || value['dateShipped'] === undefined) return false;
120
- if (!('trackingCompany' in value) || value['trackingCompany'] === undefined) return false;
120
+ if (!('trackingUrl' in value) || value['trackingUrl'] === undefined) return false;
121
121
  if (!('docnum' in value) || value['docnum'] === undefined) return false;
122
122
  if (!('status' in value) || value['status'] === undefined) return false;
123
123
  if (!('netsuiteId' in value) || value['netsuiteId'] === undefined) return false;
@@ -139,8 +139,8 @@ export function OrderFulfillmentResourceFromJSONTyped(json: any, ignoreDiscrimin
139
139
  'orderId': json['orderId'],
140
140
  'dateShipped': (new Date(json['dateShipped'])),
141
141
  'trackingNumber': json['trackingNumber'] == null ? undefined : json['trackingNumber'],
142
- 'trackingUrl': json['trackingUrl'] == null ? undefined : json['trackingUrl'],
143
- 'trackingCompany': json['trackingCompany'],
142
+ 'trackingUrl': json['trackingUrl'],
143
+ 'trackingCompany': json['trackingCompany'] == null ? undefined : json['trackingCompany'],
144
144
  'docnum': json['docnum'],
145
145
  'status': OrderFulfillmentStatusFromJSON(json['status']),
146
146
  'netsuiteId': json['netsuiteId'],
@@ -78,7 +78,7 @@ export interface SearchProductRangesRequest {
78
78
  * @type {string}
79
79
  * @memberof SearchProductRangesRequest
80
80
  */
81
- relatedType?: string;
81
+ relatedType?: SearchProductRangesRequestRelatedTypeEnum;
82
82
  /**
83
83
  *
84
84
  * @type {boolean}
@@ -108,6 +108,14 @@ export const SearchProductRangesRequestSortDirectionEnum = {
108
108
  } as const;
109
109
  export type SearchProductRangesRequestSortDirectionEnum = typeof SearchProductRangesRequestSortDirectionEnum[keyof typeof SearchProductRangesRequestSortDirectionEnum];
110
110
 
111
+ /**
112
+ * @export
113
+ */
114
+ export const SearchProductRangesRequestRelatedTypeEnum = {
115
+ AttributeValue: 'attributeValue'
116
+ } as const;
117
+ export type SearchProductRangesRequestRelatedTypeEnum = typeof SearchProductRangesRequestRelatedTypeEnum[keyof typeof SearchProductRangesRequestRelatedTypeEnum];
118
+
111
119
 
112
120
  /**
113
121
  * Check if a given object implements the SearchProductRangesRequest interface.
@@ -89,7 +89,7 @@ export interface StoreResource {
89
89
  * @type {string}
90
90
  * @memberof StoreResource
91
91
  */
92
- tagLine?: string | null;
92
+ tagLine: string;
93
93
  /**
94
94
  *
95
95
  * @type {string}
@@ -149,6 +149,7 @@ 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;
152
153
  if (!('email' in value) || value['email'] === undefined) return false;
153
154
  if (!('website' in value) || value['website'] === undefined) return false;
154
155
  if (!('netsuiteId' in value) || value['netsuiteId'] === undefined) return false;
@@ -175,7 +176,7 @@ export function StoreResourceFromJSONTyped(json: any, ignoreDiscriminator: boole
175
176
  'phone': json['phone'],
176
177
  'longitude': json['longitude'],
177
178
  'latitude': json['latitude'],
178
- 'tagLine': json['tagLine'] == null ? undefined : json['tagLine'],
179
+ 'tagLine': json['tagLine'],
179
180
  'email': json['email'],
180
181
  'website': json['website'],
181
182
  'netsuiteId': json['netsuiteId'],