@digital8/lighting-illusions-ts-sdk 0.0.1304 → 0.0.1306

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.1304
1
+ # @digital8/lighting-illusions-ts-sdk@0.0.1306
2
2
 
3
3
  A TypeScript SDK client for the localhost API.
4
4
 
@@ -489,7 +489,7 @@ and is automatically generated by the
489
489
  [OpenAPI Generator](https://openapi-generator.tech) project:
490
490
 
491
491
  - API version: `1.0.0`
492
- - Package version: `0.0.1304`
492
+ - Package version: `0.0.1306`
493
493
  - Generator version: `7.20.0`
494
494
  - Build package: `org.openapitools.codegen.languages.TypeScriptFetchClientCodegen`
495
495
 
@@ -21,6 +21,8 @@ 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";
24
26
  };
25
27
  export type CategoryAutomationFieldType = typeof CategoryAutomationFieldType[keyof typeof CategoryAutomationFieldType];
26
28
  export declare function instanceOfCategoryAutomationFieldType(value: any): boolean;
@@ -30,7 +30,9 @@ exports.CategoryAutomationFieldType = {
30
30
  Attribute: 'attribute',
31
31
  Tag: 'tag',
32
32
  Supplier: 'supplier',
33
- Label: 'label'
33
+ Label: 'label',
34
+ ProductType: 'product_type',
35
+ ProductClass: 'product_class'
34
36
  };
35
37
  function instanceOfCategoryAutomationFieldType(value) {
36
38
  for (var key in exports.CategoryAutomationFieldType) {
@@ -63,7 +63,7 @@ export interface ExternalApiLogResource {
63
63
  * @type {string}
64
64
  * @memberof ExternalApiLogResource
65
65
  */
66
- requestPayload: string;
66
+ requestPayload?: string | null;
67
67
  /**
68
68
  *
69
69
  * @type {string}
@@ -37,8 +37,6 @@ function instanceOfExternalApiLogResource(value) {
37
37
  return false;
38
38
  if (!('responseCode' in value) || value['responseCode'] === undefined)
39
39
  return false;
40
- if (!('requestPayload' in value) || value['requestPayload'] === undefined)
41
- return false;
42
40
  if (!('responsePayload' in value) || value['responsePayload'] === undefined)
43
41
  return false;
44
42
  if (!('site' in value) || value['site'] === undefined)
@@ -60,7 +58,7 @@ function ExternalApiLogResourceFromJSONTyped(json, ignoreDiscriminator) {
60
58
  'exteranlApiLoggableId': json['exteranlApiLoggableId'],
61
59
  'endpoint': json['endpoint'],
62
60
  'responseCode': json['responseCode'],
63
- 'requestPayload': json['requestPayload'],
61
+ 'requestPayload': json['requestPayload'] == null ? undefined : json['requestPayload'],
64
62
  'responsePayload': json['responsePayload'],
65
63
  'createdAt': json['createdAt'] == null ? undefined : json['createdAt'],
66
64
  'site': (0, SiteLiteResource_1.SiteLiteResourceFromJSON)(json['site']),
@@ -81,6 +81,12 @@ export interface GetAllProductRequest {
81
81
  * @memberof GetAllProductRequest
82
82
  */
83
83
  categoriesId?: Array<string>;
84
+ /**
85
+ *
86
+ * @type {Array<string>}
87
+ * @memberof GetAllProductRequest
88
+ */
89
+ hasSyncedChildren?: Array<string>;
84
90
  }
85
91
  /**
86
92
  * @export
@@ -68,6 +68,7 @@ function GetAllProductRequestFromJSONTyped(json, ignoreDiscriminator) {
68
68
  'isDisabled': json['is_disabled'] == null ? undefined : json['is_disabled'],
69
69
  'isAccessory': json['is_accessory'] == null ? undefined : json['is_accessory'],
70
70
  'categoriesId': json['categories-id'] == null ? undefined : json['categories-id'],
71
+ 'hasSyncedChildren': json['has_synced_children'] == null ? undefined : json['has_synced_children'],
71
72
  };
72
73
  }
73
74
  function GetAllProductRequestToJSON(json) {
@@ -90,5 +91,6 @@ function GetAllProductRequestToJSONTyped(value, ignoreDiscriminator) {
90
91
  'is_disabled': value['isDisabled'],
91
92
  'is_accessory': value['isAccessory'],
92
93
  'categories-id': value['categoriesId'],
94
+ 'has_synced_children': value['hasSyncedChildren'],
93
95
  };
94
96
  }
@@ -75,6 +75,12 @@ export interface IndexProductRequest {
75
75
  * @memberof IndexProductRequest
76
76
  */
77
77
  categoriesId?: Array<string>;
78
+ /**
79
+ *
80
+ * @type {Array<string>}
81
+ * @memberof IndexProductRequest
82
+ */
83
+ hasSyncedChildren?: Array<string>;
78
84
  /**
79
85
  *
80
86
  * @type {number}
@@ -66,6 +66,7 @@ function IndexProductRequestFromJSONTyped(json, ignoreDiscriminator) {
66
66
  'isDisabled': json['is_disabled'] == null ? undefined : json['is_disabled'],
67
67
  'isAccessory': json['is_accessory'] == null ? undefined : json['is_accessory'],
68
68
  'categoriesId': json['categories-id'] == null ? undefined : json['categories-id'],
69
+ 'hasSyncedChildren': json['has_synced_children'] == null ? undefined : json['has_synced_children'],
69
70
  'relatedId': json['related_id'] == null ? undefined : json['related_id'],
70
71
  'relatedType': json['related_type'] == null ? undefined : json['related_type'],
71
72
  'includesRelations': json['includes_relations'] == null ? undefined : json['includes_relations'],
@@ -90,6 +91,7 @@ function IndexProductRequestToJSONTyped(value, ignoreDiscriminator) {
90
91
  'is_disabled': value['isDisabled'],
91
92
  'is_accessory': value['isAccessory'],
92
93
  'categories-id': value['categoriesId'],
94
+ 'has_synced_children': value['hasSyncedChildren'],
93
95
  'related_id': value['relatedId'],
94
96
  'related_type': value['relatedType'],
95
97
  'includes_relations': value['includesRelations'],
@@ -63,6 +63,8 @@ export declare const StoreProductCategoryRequestAutomationRulesInnerFieldTypeEnu
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";
66
68
  };
67
69
  export type StoreProductCategoryRequestAutomationRulesInnerFieldTypeEnum = typeof StoreProductCategoryRequestAutomationRulesInnerFieldTypeEnum[keyof typeof StoreProductCategoryRequestAutomationRulesInnerFieldTypeEnum];
68
70
  /**
@@ -29,7 +29,9 @@ exports.StoreProductCategoryRequestAutomationRulesInnerFieldTypeEnum = {
29
29
  Attribute: 'attribute',
30
30
  Tag: 'tag',
31
31
  Supplier: 'supplier',
32
- Label: 'label'
32
+ Label: 'label',
33
+ ProductType: 'product_type',
34
+ ProductClass: 'product_class'
33
35
  };
34
36
  /**
35
37
  * @export
@@ -17,6 +17,7 @@ Name | Type
17
17
  `isDisabled` | Array&lt;string&gt;
18
18
  `isAccessory` | Array&lt;string&gt;
19
19
  `categoriesId` | Array&lt;string&gt;
20
+ `hasSyncedChildren` | Array&lt;string&gt;
20
21
 
21
22
  ## Example
22
23
 
@@ -36,6 +37,7 @@ const example = {
36
37
  "isDisabled": null,
37
38
  "isAccessory": null,
38
39
  "categoriesId": null,
40
+ "hasSyncedChildren": null,
39
41
  } satisfies GetAllProductRequest
40
42
 
41
43
  console.log(example)
@@ -16,6 +16,7 @@ Name | Type
16
16
  `isDisabled` | Array&lt;string&gt;
17
17
  `isAccessory` | Array&lt;string&gt;
18
18
  `categoriesId` | Array&lt;string&gt;
19
+ `hasSyncedChildren` | Array&lt;string&gt;
19
20
  `relatedId` | number
20
21
  `relatedType` | string
21
22
  `includesRelations` | boolean
@@ -37,6 +38,7 @@ const example = {
37
38
  "isDisabled": null,
38
39
  "isAccessory": null,
39
40
  "categoriesId": null,
41
+ "hasSyncedChildren": null,
40
42
  "relatedId": null,
41
43
  "relatedType": null,
42
44
  "includesRelations": null,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@digital8/lighting-illusions-ts-sdk",
3
- "version": "0.0.1304",
3
+ "version": "0.0.1306",
4
4
  "description": "OpenAPI client for @digital8/lighting-illusions-ts-sdk",
5
5
  "author": "OpenAPI-Generator",
6
6
  "repository": {
@@ -24,7 +24,9 @@ export const CategoryAutomationFieldType = {
24
24
  Attribute: 'attribute',
25
25
  Tag: 'tag',
26
26
  Supplier: 'supplier',
27
- Label: 'label'
27
+ Label: 'label',
28
+ ProductType: 'product_type',
29
+ ProductClass: 'product_class'
28
30
  } as const;
29
31
  export type CategoryAutomationFieldType = typeof CategoryAutomationFieldType[keyof typeof CategoryAutomationFieldType];
30
32
 
@@ -74,7 +74,7 @@ export interface ExternalApiLogResource {
74
74
  * @type {string}
75
75
  * @memberof ExternalApiLogResource
76
76
  */
77
- requestPayload: string;
77
+ requestPayload?: string | null;
78
78
  /**
79
79
  *
80
80
  * @type {string}
@@ -106,7 +106,6 @@ export function instanceOfExternalApiLogResource(value: object): value is Extern
106
106
  if (!('exteranlApiLoggableId' in value) || value['exteranlApiLoggableId'] === undefined) return false;
107
107
  if (!('endpoint' in value) || value['endpoint'] === undefined) return false;
108
108
  if (!('responseCode' in value) || value['responseCode'] === undefined) return false;
109
- if (!('requestPayload' in value) || value['requestPayload'] === undefined) return false;
110
109
  if (!('responsePayload' in value) || value['responsePayload'] === undefined) return false;
111
110
  if (!('site' in value) || value['site'] === undefined) return false;
112
111
  return true;
@@ -129,7 +128,7 @@ export function ExternalApiLogResourceFromJSONTyped(json: any, ignoreDiscriminat
129
128
  'exteranlApiLoggableId': json['exteranlApiLoggableId'],
130
129
  'endpoint': json['endpoint'],
131
130
  'responseCode': json['responseCode'],
132
- 'requestPayload': json['requestPayload'],
131
+ 'requestPayload': json['requestPayload'] == null ? undefined : json['requestPayload'],
133
132
  'responsePayload': json['responsePayload'],
134
133
  'createdAt': json['createdAt'] == null ? undefined : json['createdAt'],
135
134
  'site': SiteLiteResourceFromJSON(json['site']),
@@ -85,6 +85,12 @@ export interface GetAllProductRequest {
85
85
  * @memberof GetAllProductRequest
86
86
  */
87
87
  categoriesId?: Array<string>;
88
+ /**
89
+ *
90
+ * @type {Array<string>}
91
+ * @memberof GetAllProductRequest
92
+ */
93
+ hasSyncedChildren?: Array<string>;
88
94
  }
89
95
 
90
96
 
@@ -147,6 +153,7 @@ export function GetAllProductRequestFromJSONTyped(json: any, ignoreDiscriminator
147
153
  'isDisabled': json['is_disabled'] == null ? undefined : json['is_disabled'],
148
154
  'isAccessory': json['is_accessory'] == null ? undefined : json['is_accessory'],
149
155
  'categoriesId': json['categories-id'] == null ? undefined : json['categories-id'],
156
+ 'hasSyncedChildren': json['has_synced_children'] == null ? undefined : json['has_synced_children'],
150
157
  };
151
158
  }
152
159
 
@@ -172,6 +179,7 @@ export function GetAllProductRequestToJSONTyped(value?: GetAllProductRequest | n
172
179
  'is_disabled': value['isDisabled'],
173
180
  'is_accessory': value['isAccessory'],
174
181
  'categories-id': value['categoriesId'],
182
+ 'has_synced_children': value['hasSyncedChildren'],
175
183
  };
176
184
  }
177
185
 
@@ -79,6 +79,12 @@ export interface IndexProductRequest {
79
79
  * @memberof IndexProductRequest
80
80
  */
81
81
  categoriesId?: Array<string>;
82
+ /**
83
+ *
84
+ * @type {Array<string>}
85
+ * @memberof IndexProductRequest
86
+ */
87
+ hasSyncedChildren?: Array<string>;
82
88
  /**
83
89
  *
84
90
  * @type {number}
@@ -157,6 +163,7 @@ export function IndexProductRequestFromJSONTyped(json: any, ignoreDiscriminator:
157
163
  'isDisabled': json['is_disabled'] == null ? undefined : json['is_disabled'],
158
164
  'isAccessory': json['is_accessory'] == null ? undefined : json['is_accessory'],
159
165
  'categoriesId': json['categories-id'] == null ? undefined : json['categories-id'],
166
+ 'hasSyncedChildren': json['has_synced_children'] == null ? undefined : json['has_synced_children'],
160
167
  'relatedId': json['related_id'] == null ? undefined : json['related_id'],
161
168
  'relatedType': json['related_type'] == null ? undefined : json['related_type'],
162
169
  'includesRelations': json['includes_relations'] == null ? undefined : json['includes_relations'],
@@ -184,6 +191,7 @@ export function IndexProductRequestToJSONTyped(value?: IndexProductRequest | nul
184
191
  'is_disabled': value['isDisabled'],
185
192
  'is_accessory': value['isAccessory'],
186
193
  'categories-id': value['categoriesId'],
194
+ 'has_synced_children': value['hasSyncedChildren'],
187
195
  'related_id': value['relatedId'],
188
196
  'related_type': value['relatedType'],
189
197
  'includes_relations': value['includesRelations'],
@@ -68,7 +68,9 @@ export const StoreProductCategoryRequestAutomationRulesInnerFieldTypeEnum = {
68
68
  Attribute: 'attribute',
69
69
  Tag: 'tag',
70
70
  Supplier: 'supplier',
71
- Label: 'label'
71
+ Label: 'label',
72
+ ProductType: 'product_type',
73
+ ProductClass: 'product_class'
72
74
  } as const;
73
75
  export type StoreProductCategoryRequestAutomationRulesInnerFieldTypeEnum = typeof StoreProductCategoryRequestAutomationRulesInnerFieldTypeEnum[keyof typeof StoreProductCategoryRequestAutomationRulesInnerFieldTypeEnum];
74
76