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

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.2916
1
+ ## @digital8/lighting-illusions-ts-sdk@0.0.2917
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.2916 --save
39
+ npm install @digital8/lighting-illusions-ts-sdk@0.0.2917 --save
40
40
  ```
41
41
 
42
42
  _unPublished (not recommended):_
@@ -38,7 +38,7 @@ export interface AddressFrontendResource {
38
38
  * @type {string}
39
39
  * @memberof AddressFrontendResource
40
40
  */
41
- company: string;
41
+ company?: string | null;
42
42
  /**
43
43
  *
44
44
  * @type {string}
@@ -50,7 +50,7 @@ export interface AddressFrontendResource {
50
50
  * @type {string}
51
51
  * @memberof AddressFrontendResource
52
52
  */
53
- line2?: string | null;
53
+ line2: string;
54
54
  /**
55
55
  *
56
56
  * @type {string}
@@ -24,10 +24,10 @@ exports.AddressFrontendResourceToJSONTyped = AddressFrontendResourceToJSONTyped;
24
24
  function instanceOfAddressFrontendResource(value) {
25
25
  if (!('addresseeName' in value) || value['addresseeName'] === undefined)
26
26
  return false;
27
- if (!('company' in value) || value['company'] === undefined)
28
- return false;
29
27
  if (!('line1' in value) || value['line1'] === undefined)
30
28
  return false;
29
+ if (!('line2' in value) || value['line2'] === undefined)
30
+ return false;
31
31
  if (!('postcode' in value) || value['postcode'] === undefined)
32
32
  return false;
33
33
  if (!('suburb' in value) || value['suburb'] === undefined)
@@ -51,9 +51,9 @@ function AddressFrontendResourceFromJSONTyped(json, ignoreDiscriminator) {
51
51
  'id': json['id'] == null ? undefined : json['id'],
52
52
  'type': json['type'] == null ? undefined : json['type'],
53
53
  'addresseeName': json['addresseeName'],
54
- 'company': json['company'],
54
+ 'company': json['company'] == null ? undefined : json['company'],
55
55
  'line1': json['line1'],
56
- 'line2': json['line2'] == null ? undefined : json['line2'],
56
+ 'line2': json['line2'],
57
57
  'postcode': json['postcode'],
58
58
  'suburb': json['suburb'],
59
59
  'country': json['country'],
@@ -40,7 +40,7 @@ export interface OrderFulfillmentResource {
40
40
  * @type {string}
41
41
  * @memberof OrderFulfillmentResource
42
42
  */
43
- trackingNumber: string;
43
+ trackingNumber?: string | null;
44
44
  /**
45
45
  *
46
46
  * @type {string}
@@ -30,8 +30,6 @@ function instanceOfOrderFulfillmentResource(value) {
30
30
  return false;
31
31
  if (!('dateShipped' in value) || value['dateShipped'] === undefined)
32
32
  return false;
33
- if (!('trackingNumber' in value) || value['trackingNumber'] === undefined)
34
- return false;
35
33
  if (!('trackingCompany' in value) || value['trackingCompany'] === undefined)
36
34
  return false;
37
35
  if (!('docnum' in value) || value['docnum'] === undefined)
@@ -55,7 +53,7 @@ function OrderFulfillmentResourceFromJSONTyped(json, ignoreDiscriminator) {
55
53
  'id': json['id'],
56
54
  'orderId': json['orderId'],
57
55
  'dateShipped': (new Date(json['dateShipped'])),
58
- 'trackingNumber': json['trackingNumber'],
56
+ 'trackingNumber': json['trackingNumber'] == null ? undefined : json['trackingNumber'],
59
57
  'trackingUrl': json['trackingUrl'] == null ? undefined : json['trackingUrl'],
60
58
  'trackingCompany': json['trackingCompany'],
61
59
  'docnum': json['docnum'],
@@ -74,7 +74,7 @@ export interface SearchProductRangesRequest {
74
74
  * @type {string}
75
75
  * @memberof SearchProductRangesRequest
76
76
  */
77
- relatedType?: SearchProductRangesRequestRelatedTypeEnum;
77
+ relatedType?: string;
78
78
  /**
79
79
  *
80
80
  * @type {boolean}
@@ -100,13 +100,6 @@ 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];
110
103
  /**
111
104
  * Check if a given object implements the SearchProductRangesRequest interface.
112
105
  */
@@ -13,7 +13,7 @@
13
13
  * Do not edit the class manually.
14
14
  */
15
15
  Object.defineProperty(exports, "__esModule", { value: true });
16
- exports.SearchProductRangesRequestRelatedTypeEnum = exports.SearchProductRangesRequestSortDirectionEnum = exports.SearchProductRangesRequestSortByEnum = void 0;
16
+ exports.SearchProductRangesRequestSortDirectionEnum = exports.SearchProductRangesRequestSortByEnum = void 0;
17
17
  exports.instanceOfSearchProductRangesRequest = instanceOfSearchProductRangesRequest;
18
18
  exports.SearchProductRangesRequestFromJSON = SearchProductRangesRequestFromJSON;
19
19
  exports.SearchProductRangesRequestFromJSONTyped = SearchProductRangesRequestFromJSONTyped;
@@ -35,12 +35,6 @@ exports.SearchProductRangesRequestSortDirectionEnum = {
35
35
  Asc: 'asc',
36
36
  Desc: 'desc'
37
37
  };
38
- /**
39
- * @export
40
- */
41
- exports.SearchProductRangesRequestRelatedTypeEnum = {
42
- AttributeValue: 'attributeValue'
43
- };
44
38
  /**
45
39
  * Check if a given object implements the SearchProductRangesRequest interface.
46
40
  */
@@ -57,7 +57,7 @@ export interface StoreListResource {
57
57
  * @type {string}
58
58
  * @memberof StoreListResource
59
59
  */
60
- tagLine?: string | null;
60
+ tagLine: string;
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,9 +33,9 @@ function instanceOfStoreListResource(value) {
33
33
  return false;
34
34
  if (!('latitude' in value) || value['latitude'] === undefined)
35
35
  return false;
36
- if (!('email' in value) || value['email'] === undefined)
36
+ if (!('tagLine' in value) || value['tagLine'] === undefined)
37
37
  return false;
38
- if (!('website' in value) || value['website'] === undefined)
38
+ if (!('email' in value) || value['email'] === undefined)
39
39
  return false;
40
40
  if (!('netsuiteId' in value) || value['netsuiteId'] === undefined)
41
41
  return false;
@@ -57,9 +57,9 @@ function StoreListResourceFromJSONTyped(json, ignoreDiscriminator) {
57
57
  'phone': json['phone'],
58
58
  'longitude': json['longitude'],
59
59
  'latitude': json['latitude'],
60
- 'tagLine': json['tagLine'] == null ? undefined : json['tagLine'],
60
+ 'tagLine': json['tagLine'],
61
61
  'email': json['email'],
62
- 'website': json['website'],
62
+ 'website': json['website'] == null ? undefined : json['website'],
63
63
  'netsuiteId': json['netsuiteId'],
64
64
  'displayNetsuiteId': json['displayNetsuiteId'],
65
65
  'openingHours': json['openingHours'] == null ? undefined : json['openingHours'],
@@ -60,7 +60,7 @@ export interface StoreResource {
60
60
  * @type {string}
61
61
  * @memberof StoreResource
62
62
  */
63
- tagLine: string;
63
+ tagLine?: string | null;
64
64
  /**
65
65
  *
66
66
  * @type {string}
@@ -36,8 +36,6 @@ 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;
41
39
  if (!('email' in value) || value['email'] === undefined)
42
40
  return false;
43
41
  if (!('website' in value) || value['website'] === undefined)
@@ -68,7 +66,7 @@ function StoreResourceFromJSONTyped(json, ignoreDiscriminator) {
68
66
  'phone': json['phone'],
69
67
  'longitude': json['longitude'],
70
68
  'latitude': json['latitude'],
71
- 'tagLine': json['tagLine'],
69
+ 'tagLine': json['tagLine'] == null ? undefined : json['tagLine'],
72
70
  'email': json['email'],
73
71
  'website': json['website'],
74
72
  '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.2916",
3
+ "version": "0.0.2917",
4
4
  "description": "OpenAPI client for @digital8/lighting-illusions-ts-sdk",
5
5
  "author": "OpenAPI-Generator",
6
6
  "repository": {
@@ -42,7 +42,7 @@ export interface AddressFrontendResource {
42
42
  * @type {string}
43
43
  * @memberof AddressFrontendResource
44
44
  */
45
- company: string;
45
+ company?: string | null;
46
46
  /**
47
47
  *
48
48
  * @type {string}
@@ -54,7 +54,7 @@ export interface AddressFrontendResource {
54
54
  * @type {string}
55
55
  * @memberof AddressFrontendResource
56
56
  */
57
- line2?: string | null;
57
+ line2: string;
58
58
  /**
59
59
  *
60
60
  * @type {string}
@@ -92,8 +92,8 @@ export interface AddressFrontendResource {
92
92
  */
93
93
  export function instanceOfAddressFrontendResource(value: object): value is AddressFrontendResource {
94
94
  if (!('addresseeName' in value) || value['addresseeName'] === undefined) return false;
95
- if (!('company' in value) || value['company'] === undefined) return false;
96
95
  if (!('line1' in value) || value['line1'] === undefined) return false;
96
+ if (!('line2' in value) || value['line2'] === undefined) return false;
97
97
  if (!('postcode' in value) || value['postcode'] === undefined) return false;
98
98
  if (!('suburb' in value) || value['suburb'] === undefined) return false;
99
99
  if (!('country' in value) || value['country'] === undefined) return false;
@@ -115,9 +115,9 @@ export function AddressFrontendResourceFromJSONTyped(json: any, ignoreDiscrimina
115
115
  'id': json['id'] == null ? undefined : json['id'],
116
116
  'type': json['type'] == null ? undefined : json['type'],
117
117
  'addresseeName': json['addresseeName'],
118
- 'company': json['company'],
118
+ 'company': json['company'] == null ? undefined : json['company'],
119
119
  'line1': json['line1'],
120
- 'line2': json['line2'] == null ? undefined : json['line2'],
120
+ 'line2': json['line2'],
121
121
  'postcode': json['postcode'],
122
122
  'suburb': json['suburb'],
123
123
  'country': json['country'],
@@ -57,7 +57,7 @@ export interface OrderFulfillmentResource {
57
57
  * @type {string}
58
58
  * @memberof OrderFulfillmentResource
59
59
  */
60
- trackingNumber: string;
60
+ trackingNumber?: string | null;
61
61
  /**
62
62
  *
63
63
  * @type {string}
@@ -117,7 +117,6 @@ 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 (!('trackingNumber' in value) || value['trackingNumber'] === undefined) return false;
121
120
  if (!('trackingCompany' in value) || value['trackingCompany'] === undefined) return false;
122
121
  if (!('docnum' in value) || value['docnum'] === undefined) return false;
123
122
  if (!('status' in value) || value['status'] === undefined) return false;
@@ -139,7 +138,7 @@ export function OrderFulfillmentResourceFromJSONTyped(json: any, ignoreDiscrimin
139
138
  'id': json['id'],
140
139
  'orderId': json['orderId'],
141
140
  'dateShipped': (new Date(json['dateShipped'])),
142
- 'trackingNumber': json['trackingNumber'],
141
+ 'trackingNumber': json['trackingNumber'] == null ? undefined : json['trackingNumber'],
143
142
  'trackingUrl': json['trackingUrl'] == null ? undefined : json['trackingUrl'],
144
143
  'trackingCompany': json['trackingCompany'],
145
144
  'docnum': json['docnum'],
@@ -78,7 +78,7 @@ export interface SearchProductRangesRequest {
78
78
  * @type {string}
79
79
  * @memberof SearchProductRangesRequest
80
80
  */
81
- relatedType?: SearchProductRangesRequestRelatedTypeEnum;
81
+ relatedType?: string;
82
82
  /**
83
83
  *
84
84
  * @type {boolean}
@@ -108,14 +108,6 @@ 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
-
119
111
 
120
112
  /**
121
113
  * Check if a given object implements the SearchProductRangesRequest interface.
@@ -68,7 +68,7 @@ export interface StoreListResource {
68
68
  * @type {string}
69
69
  * @memberof StoreListResource
70
70
  */
71
- tagLine?: string | null;
71
+ tagLine: string;
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,8 +110,8 @@ 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;
113
114
  if (!('email' in value) || value['email'] === undefined) return false;
114
- if (!('website' in value) || value['website'] === undefined) return false;
115
115
  if (!('netsuiteId' in value) || value['netsuiteId'] === undefined) return false;
116
116
  if (!('displayNetsuiteId' in value) || value['displayNetsuiteId'] === undefined) return false;
117
117
  return true;
@@ -133,9 +133,9 @@ export function StoreListResourceFromJSONTyped(json: any, ignoreDiscriminator: b
133
133
  'phone': json['phone'],
134
134
  'longitude': json['longitude'],
135
135
  'latitude': json['latitude'],
136
- 'tagLine': json['tagLine'] == null ? undefined : json['tagLine'],
136
+ 'tagLine': json['tagLine'],
137
137
  'email': json['email'],
138
- 'website': json['website'],
138
+ 'website': json['website'] == null ? undefined : json['website'],
139
139
  'netsuiteId': json['netsuiteId'],
140
140
  'displayNetsuiteId': json['displayNetsuiteId'],
141
141
  'openingHours': json['openingHours'] == null ? undefined : json['openingHours'],
@@ -89,7 +89,7 @@ export interface StoreResource {
89
89
  * @type {string}
90
90
  * @memberof StoreResource
91
91
  */
92
- tagLine: string;
92
+ tagLine?: string | null;
93
93
  /**
94
94
  *
95
95
  * @type {string}
@@ -149,7 +149,6 @@ 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;
153
152
  if (!('email' in value) || value['email'] === undefined) return false;
154
153
  if (!('website' in value) || value['website'] === undefined) return false;
155
154
  if (!('netsuiteId' in value) || value['netsuiteId'] === undefined) return false;
@@ -176,7 +175,7 @@ export function StoreResourceFromJSONTyped(json: any, ignoreDiscriminator: boole
176
175
  'phone': json['phone'],
177
176
  'longitude': json['longitude'],
178
177
  'latitude': json['latitude'],
179
- 'tagLine': json['tagLine'],
178
+ 'tagLine': json['tagLine'] == null ? undefined : json['tagLine'],
180
179
  'email': json['email'],
181
180
  'website': json['website'],
182
181
  'netsuiteId': json['netsuiteId'],