@digital8/lighting-illusions-ts-sdk 0.0.2191 → 0.0.2193

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.2191
1
+ # @digital8/lighting-illusions-ts-sdk@0.0.2193
2
2
 
3
3
  A TypeScript SDK client for the localhost API.
4
4
 
@@ -804,7 +804,7 @@ and is automatically generated by the
804
804
  [OpenAPI Generator](https://openapi-generator.tech) project:
805
805
 
806
806
  - API version: `1.0.0`
807
- - Package version: `0.0.2191`
807
+ - Package version: `0.0.2193`
808
808
  - Generator version: `7.22.0`
809
809
  - Build package: `org.openapitools.codegen.languages.TypeScriptFetchClientCodegen`
810
810
 
@@ -20,7 +20,7 @@ export interface AddressFrontendResource {
20
20
  * @type {string}
21
21
  * @memberof AddressFrontendResource
22
22
  */
23
- company?: string | null;
23
+ company: string;
24
24
  /**
25
25
  *
26
26
  * @type {string}
@@ -22,6 +22,8 @@ exports.AddressFrontendResourceToJSONTyped = AddressFrontendResourceToJSONTyped;
22
22
  * Check if a given object implements the AddressFrontendResource interface.
23
23
  */
24
24
  function instanceOfAddressFrontendResource(value) {
25
+ if (!('company' in value) || value['company'] === undefined)
26
+ return false;
25
27
  if (!('line1' in value) || value['line1'] === undefined)
26
28
  return false;
27
29
  if (!('postcode' in value) || value['postcode'] === undefined)
@@ -44,7 +46,7 @@ function AddressFrontendResourceFromJSONTyped(json, ignoreDiscriminator) {
44
46
  return json;
45
47
  }
46
48
  return {
47
- 'company': json['company'] == null ? undefined : json['company'],
49
+ 'company': json['company'],
48
50
  'line1': json['line1'],
49
51
  'line2': json['line2'] == null ? undefined : json['line2'],
50
52
  'postcode': json['postcode'],
@@ -21,8 +21,6 @@ export declare const CategoryAutomationFieldType: {
21
21
  readonly Tag: "tag";
22
22
  readonly Supplier: "supplier";
23
23
  readonly Label: "label";
24
- readonly ProductType: "product_type";
25
- readonly ProductClass: "product_class";
26
24
  };
27
25
  export type CategoryAutomationFieldType = typeof CategoryAutomationFieldType[keyof typeof CategoryAutomationFieldType];
28
26
  export declare function instanceOfCategoryAutomationFieldType(value: any): boolean;
@@ -30,9 +30,7 @@ exports.CategoryAutomationFieldType = {
30
30
  Attribute: 'attribute',
31
31
  Tag: 'tag',
32
32
  Supplier: 'supplier',
33
- Label: 'label',
34
- ProductType: 'product_type',
35
- ProductClass: 'product_class'
33
+ Label: 'label'
36
34
  };
37
35
  function instanceOfCategoryAutomationFieldType(value) {
38
36
  for (var key in exports.CategoryAutomationFieldType) {
@@ -63,8 +63,6 @@ export declare const CreateProductCategoryRequestAutomationRulesInnerFieldTypeEn
63
63
  readonly Tag: "tag";
64
64
  readonly Supplier: "supplier";
65
65
  readonly Label: "label";
66
- readonly ProductType: "product_type";
67
- readonly ProductClass: "product_class";
68
66
  };
69
67
  export type CreateProductCategoryRequestAutomationRulesInnerFieldTypeEnum = typeof CreateProductCategoryRequestAutomationRulesInnerFieldTypeEnum[keyof typeof CreateProductCategoryRequestAutomationRulesInnerFieldTypeEnum];
70
68
  /**
@@ -29,9 +29,7 @@ exports.CreateProductCategoryRequestAutomationRulesInnerFieldTypeEnum = {
29
29
  Attribute: 'attribute',
30
30
  Tag: 'tag',
31
31
  Supplier: 'supplier',
32
- Label: 'label',
33
- ProductType: 'product_type',
34
- ProductClass: 'product_class'
32
+ Label: 'label'
35
33
  };
36
34
  /**
37
35
  * @export
@@ -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'],
@@ -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 {number}
@@ -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 (!('netsuiteId' in value) || value['netsuiteId'] === undefined)
46
44
  return false;
47
45
  if (!('displayNetsuiteId' in value) || value['displayNetsuiteId'] === undefined)
@@ -70,7 +68,7 @@ function StoreResourceFromJSONTyped(json, ignoreDiscriminator) {
70
68
  'latitude': json['latitude'],
71
69
  'tagLine': json['tagLine'],
72
70
  'email': json['email'],
73
- 'website': json['website'],
71
+ 'website': json['website'] == null ? undefined : json['website'],
74
72
  'netsuiteId': json['netsuiteId'],
75
73
  'displayNetsuiteId': json['displayNetsuiteId'],
76
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.2191",
3
+ "version": "0.0.2193",
4
4
  "description": "OpenAPI client for @digital8/lighting-illusions-ts-sdk",
5
5
  "author": "OpenAPI-Generator",
6
6
  "repository": {
@@ -24,7 +24,7 @@ export interface AddressFrontendResource {
24
24
  * @type {string}
25
25
  * @memberof AddressFrontendResource
26
26
  */
27
- company?: string | null;
27
+ company: string;
28
28
  /**
29
29
  *
30
30
  * @type {string}
@@ -73,6 +73,7 @@ export interface AddressFrontendResource {
73
73
  * Check if a given object implements the AddressFrontendResource interface.
74
74
  */
75
75
  export function instanceOfAddressFrontendResource(value: object): value is AddressFrontendResource {
76
+ if (!('company' in value) || value['company'] === undefined) return false;
76
77
  if (!('line1' in value) || value['line1'] === undefined) return false;
77
78
  if (!('postcode' in value) || value['postcode'] === undefined) return false;
78
79
  if (!('suburb' in value) || value['suburb'] === undefined) return false;
@@ -92,7 +93,7 @@ export function AddressFrontendResourceFromJSONTyped(json: any, ignoreDiscrimina
92
93
  }
93
94
  return {
94
95
 
95
- 'company': json['company'] == null ? undefined : json['company'],
96
+ 'company': json['company'],
96
97
  'line1': json['line1'],
97
98
  'line2': json['line2'] == null ? undefined : json['line2'],
98
99
  'postcode': json['postcode'],
@@ -24,9 +24,7 @@ export const CategoryAutomationFieldType = {
24
24
  Attribute: 'attribute',
25
25
  Tag: 'tag',
26
26
  Supplier: 'supplier',
27
- Label: 'label',
28
- ProductType: 'product_type',
29
- ProductClass: 'product_class'
27
+ Label: 'label'
30
28
  } as const;
31
29
  export type CategoryAutomationFieldType = typeof CategoryAutomationFieldType[keyof typeof CategoryAutomationFieldType];
32
30
 
@@ -68,9 +68,7 @@ export const CreateProductCategoryRequestAutomationRulesInnerFieldTypeEnum = {
68
68
  Attribute: 'attribute',
69
69
  Tag: 'tag',
70
70
  Supplier: 'supplier',
71
- Label: 'label',
72
- ProductType: 'product_type',
73
- ProductClass: 'product_class'
71
+ Label: 'label'
74
72
  } as const;
75
73
  export type CreateProductCategoryRequestAutomationRulesInnerFieldTypeEnum = typeof CreateProductCategoryRequestAutomationRulesInnerFieldTypeEnum[keyof typeof CreateProductCategoryRequestAutomationRulesInnerFieldTypeEnum];
76
74
 
@@ -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'],
@@ -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 {number}
@@ -151,7 +151,6 @@ export function instanceOfStoreResource(value: object): value is StoreResource {
151
151
  if (!('latitude' in value) || value['latitude'] === undefined) return false;
152
152
  if (!('tagLine' in value) || value['tagLine'] === undefined) return false;
153
153
  if (!('email' in value) || value['email'] === undefined) return false;
154
- if (!('website' in value) || value['website'] === undefined) return false;
155
154
  if (!('netsuiteId' in value) || value['netsuiteId'] === undefined) return false;
156
155
  if (!('displayNetsuiteId' in value) || value['displayNetsuiteId'] === undefined) return false;
157
156
  if (!('suppliers' in value) || value['suppliers'] === undefined) return false;
@@ -178,7 +177,7 @@ export function StoreResourceFromJSONTyped(json: any, ignoreDiscriminator: boole
178
177
  'latitude': json['latitude'],
179
178
  'tagLine': json['tagLine'],
180
179
  'email': json['email'],
181
- 'website': json['website'],
180
+ 'website': json['website'] == null ? undefined : json['website'],
182
181
  'netsuiteId': json['netsuiteId'],
183
182
  'displayNetsuiteId': json['displayNetsuiteId'],
184
183
  'openingHours': json['openingHours'] == null ? undefined : json['openingHours'],