@digital8/lighting-illusions-ts-sdk 0.0.2913 → 0.0.2914

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.2913
1
+ ## @digital8/lighting-illusions-ts-sdk@0.0.2914
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.2913 --save
39
+ npm install @digital8/lighting-illusions-ts-sdk@0.0.2914 --save
40
40
  ```
41
41
 
42
42
  _unPublished (not recommended):_
@@ -32,7 +32,7 @@ export interface AddressFrontendResource {
32
32
  * @type {string}
33
33
  * @memberof AddressFrontendResource
34
34
  */
35
- addresseeName?: string | null;
35
+ addresseeName: string;
36
36
  /**
37
37
  *
38
38
  * @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}
@@ -22,10 +22,14 @@ exports.AddressFrontendResourceToJSONTyped = AddressFrontendResourceToJSONTyped;
22
22
  * Check if a given object implements the AddressFrontendResource interface.
23
23
  */
24
24
  function instanceOfAddressFrontendResource(value) {
25
+ if (!('addresseeName' in value) || value['addresseeName'] === undefined)
26
+ return false;
25
27
  if (!('company' in value) || value['company'] === undefined)
26
28
  return false;
27
29
  if (!('line1' in value) || value['line1'] === undefined)
28
30
  return false;
31
+ if (!('line2' in value) || value['line2'] === undefined)
32
+ return false;
29
33
  if (!('postcode' in value) || value['postcode'] === undefined)
30
34
  return false;
31
35
  if (!('suburb' in value) || value['suburb'] === undefined)
@@ -48,10 +52,10 @@ function AddressFrontendResourceFromJSONTyped(json, ignoreDiscriminator) {
48
52
  return {
49
53
  'id': json['id'] == null ? undefined : json['id'],
50
54
  'type': json['type'] == null ? undefined : json['type'],
51
- 'addresseeName': json['addresseeName'] == null ? undefined : json['addresseeName'],
55
+ 'addresseeName': json['addresseeName'],
52
56
  'company': json['company'],
53
57
  'line1': json['line1'],
54
- 'line2': json['line2'] == null ? undefined : json['line2'],
58
+ 'line2': json['line2'],
55
59
  'postcode': json['postcode'],
56
60
  'suburb': json['suburb'],
57
61
  'country': json['country'],
@@ -56,7 +56,7 @@ export interface AddressResource {
56
56
  * @type {string}
57
57
  * @memberof AddressResource
58
58
  */
59
- company?: string | null;
59
+ company: string;
60
60
  /**
61
61
  *
62
62
  * @type {string}
@@ -26,6 +26,8 @@ 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;
29
31
  if (!('line1' in value) || value['line1'] === undefined)
30
32
  return false;
31
33
  if (!('line2' in value) || value['line2'] === undefined)
@@ -56,7 +58,7 @@ function AddressResourceFromJSONTyped(json, ignoreDiscriminator) {
56
58
  'netsuiteId': json['netsuiteId'] == null ? undefined : json['netsuiteId'],
57
59
  'addresseeName': json['addresseeName'],
58
60
  'addresseePhone': json['addresseePhone'],
59
- 'company': json['company'] == null ? undefined : json['company'],
61
+ 'company': json['company'],
60
62
  'line1': json['line1'],
61
63
  'line2': json['line2'],
62
64
  'postcode': json['postcode'],
@@ -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
  */
@@ -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}
@@ -34,6 +34,8 @@ function instanceOfStoreFrontendResource(value) {
34
34
  return false;
35
35
  if (!('longitude' in value) || value['longitude'] === undefined)
36
36
  return false;
37
+ if (!('tagLine' in value) || value['tagLine'] === undefined)
38
+ return false;
37
39
  if (!('specialDates' in value) || value['specialDates'] === undefined)
38
40
  return false;
39
41
  if (!('suppliers' in value) || value['suppliers'] === undefined)
@@ -57,7 +59,7 @@ function StoreFrontendResourceFromJSONTyped(json, ignoreDiscriminator) {
57
59
  'address': json['address'] == null ? undefined : json['address'],
58
60
  'latitude': json['latitude'],
59
61
  'longitude': json['longitude'],
60
- 'tagLine': json['tagLine'] == null ? undefined : json['tagLine'],
62
+ 'tagLine': json['tagLine'],
61
63
  'openingHours': json['openingHours'] == null ? undefined : json['openingHours'],
62
64
  'specialDates': json['specialDates'],
63
65
  'suppliers': json['suppliers'],
@@ -57,7 +57,7 @@ export interface StoreListResource {
57
57
  * @type {string}
58
58
  * @memberof StoreListResource
59
59
  */
60
- tagLine: string;
60
+ tagLine?: string | null;
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 | null;
72
+ website: string;
73
73
  /**
74
74
  *
75
75
  * @type {number}
@@ -33,10 +33,10 @@ function instanceOfStoreListResource(value) {
33
33
  return false;
34
34
  if (!('latitude' in value) || value['latitude'] === undefined)
35
35
  return false;
36
- if (!('tagLine' in value) || value['tagLine'] === undefined)
37
- return false;
38
36
  if (!('email' in value) || value['email'] === undefined)
39
37
  return false;
38
+ if (!('website' in value) || value['website'] === undefined)
39
+ return false;
40
40
  if (!('netsuiteId' in value) || value['netsuiteId'] === undefined)
41
41
  return false;
42
42
  if (!('displayNetsuiteId' in value) || value['displayNetsuiteId'] === undefined)
@@ -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'],
60
+ 'tagLine': json['tagLine'] == null ? undefined : json['tagLine'],
61
61
  'email': json['email'],
62
- 'website': json['website'] == null ? undefined : json['website'],
62
+ 'website': json['website'],
63
63
  'netsuiteId': json['netsuiteId'],
64
64
  'displayNetsuiteId': json['displayNetsuiteId'],
65
65
  '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.2913",
3
+ "version": "0.0.2914",
4
4
  "description": "OpenAPI client for @digital8/lighting-illusions-ts-sdk",
5
5
  "author": "OpenAPI-Generator",
6
6
  "repository": {
@@ -36,7 +36,7 @@ export interface AddressFrontendResource {
36
36
  * @type {string}
37
37
  * @memberof AddressFrontendResource
38
38
  */
39
- addresseeName?: string | null;
39
+ addresseeName: string;
40
40
  /**
41
41
  *
42
42
  * @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}
@@ -91,8 +91,10 @@ export interface AddressFrontendResource {
91
91
  * Check if a given object implements the AddressFrontendResource interface.
92
92
  */
93
93
  export function instanceOfAddressFrontendResource(value: object): value is AddressFrontendResource {
94
+ if (!('addresseeName' in value) || value['addresseeName'] === undefined) return false;
94
95
  if (!('company' in value) || value['company'] === undefined) return false;
95
96
  if (!('line1' in value) || value['line1'] === undefined) return false;
97
+ if (!('line2' in value) || value['line2'] === undefined) return false;
96
98
  if (!('postcode' in value) || value['postcode'] === undefined) return false;
97
99
  if (!('suburb' in value) || value['suburb'] === undefined) return false;
98
100
  if (!('country' in value) || value['country'] === undefined) return false;
@@ -113,10 +115,10 @@ export function AddressFrontendResourceFromJSONTyped(json: any, ignoreDiscrimina
113
115
 
114
116
  'id': json['id'] == null ? undefined : json['id'],
115
117
  'type': json['type'] == null ? undefined : json['type'],
116
- 'addresseeName': json['addresseeName'] == null ? undefined : json['addresseeName'],
118
+ 'addresseeName': json['addresseeName'],
117
119
  'company': json['company'],
118
120
  'line1': json['line1'],
119
- 'line2': json['line2'] == null ? undefined : json['line2'],
121
+ 'line2': json['line2'],
120
122
  'postcode': json['postcode'],
121
123
  'suburb': json['suburb'],
122
124
  'country': json['country'],
@@ -60,7 +60,7 @@ export interface AddressResource {
60
60
  * @type {string}
61
61
  * @memberof AddressResource
62
62
  */
63
- company?: string | null;
63
+ company: string;
64
64
  /**
65
65
  *
66
66
  * @type {string}
@@ -111,6 +111,7 @@ 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;
114
115
  if (!('line1' in value) || value['line1'] === undefined) return false;
115
116
  if (!('line2' in value) || value['line2'] === undefined) return false;
116
117
  if (!('postcode' in value) || value['postcode'] === undefined) return false;
@@ -137,7 +138,7 @@ export function AddressResourceFromJSONTyped(json: any, ignoreDiscriminator: boo
137
138
  'netsuiteId': json['netsuiteId'] == null ? undefined : json['netsuiteId'],
138
139
  'addresseeName': json['addresseeName'],
139
140
  'addresseePhone': json['addresseePhone'],
140
- 'company': json['company'] == null ? undefined : json['company'],
141
+ 'company': json['company'],
141
142
  'line1': json['line1'],
142
143
  'line2': json['line2'],
143
144
  'postcode': json['postcode'],
@@ -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.
@@ -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}
@@ -109,6 +109,7 @@ export function instanceOfStoreFrontendResource(value: object): value is StoreFr
109
109
  if (!('phone' in value) || value['phone'] === undefined) return false;
110
110
  if (!('latitude' in value) || value['latitude'] === undefined) return false;
111
111
  if (!('longitude' in value) || value['longitude'] === undefined) return false;
112
+ if (!('tagLine' in value) || value['tagLine'] === undefined) return false;
112
113
  if (!('specialDates' in value) || value['specialDates'] === undefined) return false;
113
114
  if (!('suppliers' in value) || value['suppliers'] === undefined) return false;
114
115
  return true;
@@ -133,7 +134,7 @@ export function StoreFrontendResourceFromJSONTyped(json: any, ignoreDiscriminato
133
134
  'address': json['address'] == null ? undefined : json['address'],
134
135
  'latitude': json['latitude'],
135
136
  'longitude': json['longitude'],
136
- 'tagLine': json['tagLine'] == null ? undefined : json['tagLine'],
137
+ 'tagLine': json['tagLine'],
137
138
  'openingHours': json['openingHours'] == null ? undefined : json['openingHours'],
138
139
  'specialDates': json['specialDates'],
139
140
  'suppliers': json['suppliers'],
@@ -68,7 +68,7 @@ export interface StoreListResource {
68
68
  * @type {string}
69
69
  * @memberof StoreListResource
70
70
  */
71
- tagLine: string;
71
+ tagLine?: string | null;
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 | null;
83
+ website: string;
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;
114
113
  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'],
136
+ 'tagLine': json['tagLine'] == null ? undefined : json['tagLine'],
137
137
  'email': json['email'],
138
- 'website': json['website'] == null ? undefined : json['website'],
138
+ 'website': json['website'],
139
139
  'netsuiteId': json['netsuiteId'],
140
140
  'displayNetsuiteId': json['displayNetsuiteId'],
141
141
  'openingHours': json['openingHours'] == null ? undefined : json['openingHours'],