@digital8/lighting-illusions-ts-sdk 0.0.2915 → 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.2915
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.2915 --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}
@@ -24,8 +24,6 @@ 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;
31
29
  if (!('line2' in value) || value['line2'] === undefined)
@@ -53,7 +51,7 @@ function AddressFrontendResourceFromJSONTyped(json, ignoreDiscriminator) {
53
51
  'id': json['id'] == null ? undefined : json['id'],
54
52
  'type': json['type'] == null ? undefined : json['type'],
55
53
  'addresseeName': json['addresseeName'],
56
- 'company': json['company'],
54
+ 'company': json['company'] == null ? undefined : json['company'],
57
55
  'line1': json['line1'],
58
56
  'line2': json['line2'],
59
57
  'postcode': json['postcode'],
@@ -56,7 +56,7 @@ export interface AddressResource {
56
56
  * @type {string}
57
57
  * @memberof AddressResource
58
58
  */
59
- company: string;
59
+ company?: string | null;
60
60
  /**
61
61
  *
62
62
  * @type {string}
@@ -26,8 +26,6 @@ function instanceOfAddressResource(value) {
26
26
  return false;
27
27
  if (!('addresseePhone' in value) || value['addresseePhone'] === undefined)
28
28
  return false;
29
- if (!('company' in value) || value['company'] === undefined)
30
- return false;
31
29
  if (!('line1' in value) || value['line1'] === undefined)
32
30
  return false;
33
31
  if (!('line2' in value) || value['line2'] === undefined)
@@ -58,7 +56,7 @@ function AddressResourceFromJSONTyped(json, ignoreDiscriminator) {
58
56
  'netsuiteId': json['netsuiteId'] == null ? undefined : json['netsuiteId'],
59
57
  'addresseeName': json['addresseeName'],
60
58
  'addresseePhone': json['addresseePhone'],
61
- 'company': json['company'],
59
+ 'company': json['company'] == null ? undefined : json['company'],
62
60
  'line1': json['line1'],
63
61
  'line2': json['line2'],
64
62
  'postcode': json['postcode'],
@@ -69,7 +69,7 @@ export interface ExternalApiLogResource {
69
69
  * @type {string}
70
70
  * @memberof ExternalApiLogResource
71
71
  */
72
- requestPayload: string;
72
+ requestPayload?: string | null;
73
73
  /**
74
74
  *
75
75
  * @type {string}
@@ -39,8 +39,6 @@ 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;
44
42
  if (!('responsePayload' in value) || value['responsePayload'] === undefined)
45
43
  return false;
46
44
  if (!('site' in value) || value['site'] === undefined)
@@ -63,7 +61,7 @@ function ExternalApiLogResourceFromJSONTyped(json, ignoreDiscriminator) {
63
61
  'endpoint': json['endpoint'],
64
62
  'responseCode': json['responseCode'],
65
63
  'isSuccess': json['isSuccess'],
66
- 'requestPayload': json['requestPayload'],
64
+ 'requestPayload': json['requestPayload'] == null ? undefined : json['requestPayload'],
67
65
  'responsePayload': json['responsePayload'],
68
66
  'createdAt': json['createdAt'] == null ? undefined : (new Date(json['createdAt'])),
69
67
  'site': (0, SiteLiteResource_1.SiteLiteResourceFromJSON)(json['site']),
@@ -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
  */
@@ -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}
@@ -72,7 +72,7 @@ export interface StoreResource {
72
72
  * @type {string}
73
73
  * @memberof StoreResource
74
74
  */
75
- website?: string | null;
75
+ website: string;
76
76
  /**
77
77
  *
78
78
  * @type {number}
@@ -36,10 +36,10 @@ 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;
41
+ if (!('website' in value) || value['website'] === undefined)
42
+ return false;
43
43
  if (!('netsuiteId' in value) || value['netsuiteId'] === undefined)
44
44
  return false;
45
45
  if (!('displayNetsuiteId' in value) || value['displayNetsuiteId'] === undefined)
@@ -66,9 +66,9 @@ function StoreResourceFromJSONTyped(json, ignoreDiscriminator) {
66
66
  'phone': json['phone'],
67
67
  'longitude': json['longitude'],
68
68
  'latitude': json['latitude'],
69
- 'tagLine': json['tagLine'],
69
+ 'tagLine': json['tagLine'] == null ? undefined : json['tagLine'],
70
70
  'email': json['email'],
71
- 'website': json['website'] == null ? undefined : json['website'],
71
+ 'website': json['website'],
72
72
  'netsuiteId': json['netsuiteId'],
73
73
  'displayNetsuiteId': json['displayNetsuiteId'],
74
74
  'openingHours': json['openingHours'] == null ? undefined : json['openingHours'],
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@digital8/lighting-illusions-ts-sdk",
3
- "version": "0.0.2915",
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}
@@ -92,7 +92,6 @@ 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;
97
96
  if (!('line2' in value) || value['line2'] === undefined) return false;
98
97
  if (!('postcode' in value) || value['postcode'] === undefined) return false;
@@ -116,7 +115,7 @@ export function AddressFrontendResourceFromJSONTyped(json: any, ignoreDiscrimina
116
115
  'id': json['id'] == null ? undefined : json['id'],
117
116
  'type': json['type'] == null ? undefined : json['type'],
118
117
  'addresseeName': json['addresseeName'],
119
- 'company': json['company'],
118
+ 'company': json['company'] == null ? undefined : json['company'],
120
119
  'line1': json['line1'],
121
120
  'line2': json['line2'],
122
121
  'postcode': json['postcode'],
@@ -60,7 +60,7 @@ export interface AddressResource {
60
60
  * @type {string}
61
61
  * @memberof AddressResource
62
62
  */
63
- company: string;
63
+ company?: string | null;
64
64
  /**
65
65
  *
66
66
  * @type {string}
@@ -111,7 +111,6 @@ export interface AddressResource {
111
111
  export function instanceOfAddressResource(value: object): value is AddressResource {
112
112
  if (!('addresseeName' in value) || value['addresseeName'] === undefined) return false;
113
113
  if (!('addresseePhone' in value) || value['addresseePhone'] === undefined) return false;
114
- if (!('company' in value) || value['company'] === undefined) return false;
115
114
  if (!('line1' in value) || value['line1'] === undefined) return false;
116
115
  if (!('line2' in value) || value['line2'] === undefined) return false;
117
116
  if (!('postcode' in value) || value['postcode'] === undefined) return false;
@@ -138,7 +137,7 @@ export function AddressResourceFromJSONTyped(json: any, ignoreDiscriminator: boo
138
137
  'netsuiteId': json['netsuiteId'] == null ? undefined : json['netsuiteId'],
139
138
  'addresseeName': json['addresseeName'],
140
139
  'addresseePhone': json['addresseePhone'],
141
- 'company': json['company'],
140
+ 'company': json['company'] == null ? undefined : json['company'],
142
141
  'line1': json['line1'],
143
142
  'line2': json['line2'],
144
143
  'postcode': json['postcode'],
@@ -80,7 +80,7 @@ export interface ExternalApiLogResource {
80
80
  * @type {string}
81
81
  * @memberof ExternalApiLogResource
82
82
  */
83
- requestPayload: string;
83
+ requestPayload?: string | null;
84
84
  /**
85
85
  *
86
86
  * @type {string}
@@ -113,7 +113,6 @@ 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;
117
116
  if (!('responsePayload' in value) || value['responsePayload'] === undefined) return false;
118
117
  if (!('site' in value) || value['site'] === undefined) return false;
119
118
  return true;
@@ -137,7 +136,7 @@ export function ExternalApiLogResourceFromJSONTyped(json: any, ignoreDiscriminat
137
136
  'endpoint': json['endpoint'],
138
137
  'responseCode': json['responseCode'],
139
138
  'isSuccess': json['isSuccess'],
140
- 'requestPayload': json['requestPayload'],
139
+ 'requestPayload': json['requestPayload'] == null ? undefined : json['requestPayload'],
141
140
  'responsePayload': json['responsePayload'],
142
141
  'createdAt': json['createdAt'] == null ? undefined : (new Date(json['createdAt'])),
143
142
  'site': SiteLiteResourceFromJSON(json['site']),
@@ -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.
@@ -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}
@@ -101,7 +101,7 @@ export interface StoreResource {
101
101
  * @type {string}
102
102
  * @memberof StoreResource
103
103
  */
104
- website?: string | null;
104
+ website: string;
105
105
  /**
106
106
  *
107
107
  * @type {number}
@@ -149,8 +149,8 @@ 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;
153
+ if (!('website' in value) || value['website'] === undefined) return false;
154
154
  if (!('netsuiteId' in value) || value['netsuiteId'] === undefined) return false;
155
155
  if (!('displayNetsuiteId' in value) || value['displayNetsuiteId'] === undefined) return false;
156
156
  if (!('suppliers' in value) || value['suppliers'] === undefined) return false;
@@ -175,9 +175,9 @@ export function StoreResourceFromJSONTyped(json: any, ignoreDiscriminator: boole
175
175
  'phone': json['phone'],
176
176
  'longitude': json['longitude'],
177
177
  'latitude': json['latitude'],
178
- 'tagLine': json['tagLine'],
178
+ 'tagLine': json['tagLine'] == null ? undefined : json['tagLine'],
179
179
  'email': json['email'],
180
- 'website': json['website'] == null ? undefined : json['website'],
180
+ 'website': json['website'],
181
181
  'netsuiteId': json['netsuiteId'],
182
182
  'displayNetsuiteId': json['displayNetsuiteId'],
183
183
  'openingHours': json['openingHours'] == null ? undefined : json['openingHours'],