@digital8/lighting-illusions-ts-sdk 0.0.1001 → 0.0.1002

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.1001
1
+ # @digital8/lighting-illusions-ts-sdk@0.0.1002
2
2
 
3
3
  A TypeScript SDK client for the localhost API.
4
4
 
@@ -468,7 +468,7 @@ and is automatically generated by the
468
468
  [OpenAPI Generator](https://openapi-generator.tech) project:
469
469
 
470
470
  - API version: `1.0.0`
471
- - Package version: `0.0.1001`
471
+ - Package version: `0.0.1002`
472
472
  - Generator version: `7.20.0`
473
473
  - Build package: `org.openapitools.codegen.languages.TypeScriptFetchClientCodegen`
474
474
 
@@ -35,10 +35,10 @@ export interface CategoryAutomationRuleResource {
35
35
  comparisonType: object;
36
36
  /**
37
37
  *
38
- * @type {string}
38
+ * @type {number}
39
39
  * @memberof CategoryAutomationRuleResource
40
40
  */
41
- groupId?: string | null;
41
+ groupId: number;
42
42
  /**
43
43
  *
44
44
  * @type {string}
@@ -56,7 +56,7 @@ export interface CategoryAutomationRuleResource {
56
56
  * @type {string}
57
57
  * @memberof CategoryAutomationRuleResource
58
58
  */
59
- valueId?: string | null;
59
+ valueIds?: string | null;
60
60
  }
61
61
  /**
62
62
  * Check if a given object implements the CategoryAutomationRuleResource interface.
@@ -26,6 +26,8 @@ function instanceOfCategoryAutomationRuleResource(value) {
26
26
  return false;
27
27
  if (!('comparisonType' in value) || value['comparisonType'] === undefined)
28
28
  return false;
29
+ if (!('groupId' in value) || value['groupId'] === undefined)
30
+ return false;
29
31
  if (!('value' in value) || value['value'] === undefined)
30
32
  return false;
31
33
  return true;
@@ -41,10 +43,10 @@ function CategoryAutomationRuleResourceFromJSONTyped(json, ignoreDiscriminator)
41
43
  'id': json['id'] == null ? undefined : json['id'],
42
44
  'fieldType': json['fieldType'],
43
45
  'comparisonType': json['comparisonType'],
44
- 'groupId': json['groupId'] == null ? undefined : json['groupId'],
46
+ 'groupId': json['groupId'],
45
47
  'relatedId': json['relatedId'] == null ? undefined : json['relatedId'],
46
48
  'value': json['value'],
47
- 'valueId': json['valueId'] == null ? undefined : json['valueId'],
49
+ 'valueIds': json['valueIds'] == null ? undefined : json['valueIds'],
48
50
  };
49
51
  }
50
52
  function CategoryAutomationRuleResourceToJSON(json) {
@@ -62,6 +64,6 @@ function CategoryAutomationRuleResourceToJSONTyped(value, ignoreDiscriminator) {
62
64
  'groupId': value['groupId'],
63
65
  'relatedId': value['relatedId'],
64
66
  'value': value['value'],
65
- 'valueId': value['valueId'],
67
+ 'valueIds': value['valueIds'],
66
68
  };
67
69
  }
@@ -93,18 +93,6 @@ export interface GetAllProductChildRequest {
93
93
  * @memberof GetAllProductChildRequest
94
94
  */
95
95
  parentIsAccessory?: Array<string>;
96
- /**
97
- *
98
- * @type {Array<string>}
99
- * @memberof GetAllProductChildRequest
100
- */
101
- availableOnSiteId?: Array<string>;
102
- /**
103
- *
104
- * @type {Array<string>}
105
- * @memberof GetAllProductChildRequest
106
- */
107
- enabledOnSiteId?: Array<string>;
108
96
  }
109
97
  /**
110
98
  * @export
@@ -79,8 +79,6 @@ function GetAllProductChildRequestFromJSONTyped(json, ignoreDiscriminator) {
79
79
  'supplierId': json['supplier-id'] == null ? undefined : json['supplier-id'],
80
80
  'productTypeId': json['productType-id'] == null ? undefined : json['productType-id'],
81
81
  'parentIsAccessory': json['parent-is_accessory'] == null ? undefined : json['parent-is_accessory'],
82
- 'availableOnSiteId': json['availableOnSiteId'] == null ? undefined : json['availableOnSiteId'],
83
- 'enabledOnSiteId': json['enabledOnSiteId'] == null ? undefined : json['enabledOnSiteId'],
84
82
  };
85
83
  }
86
84
  function GetAllProductChildRequestToJSON(json) {
@@ -105,7 +103,5 @@ function GetAllProductChildRequestToJSONTyped(value, ignoreDiscriminator) {
105
103
  'supplier-id': value['supplierId'],
106
104
  'productType-id': value['productTypeId'],
107
105
  'parent-is_accessory': value['parentIsAccessory'],
108
- 'availableOnSiteId': value['availableOnSiteId'],
109
- 'enabledOnSiteId': value['enabledOnSiteId'],
110
106
  };
111
107
  }
@@ -87,18 +87,6 @@ export interface IndexProductChildRequest {
87
87
  * @memberof IndexProductChildRequest
88
88
  */
89
89
  parentIsAccessory?: Array<string>;
90
- /**
91
- *
92
- * @type {Array<string>}
93
- * @memberof IndexProductChildRequest
94
- */
95
- availableOnSiteId?: Array<string>;
96
- /**
97
- *
98
- * @type {Array<string>}
99
- * @memberof IndexProductChildRequest
100
- */
101
- enabledOnSiteId?: Array<string>;
102
90
  /**
103
91
  *
104
92
  * @type {number}
@@ -86,8 +86,6 @@ function IndexProductChildRequestFromJSONTyped(json, ignoreDiscriminator) {
86
86
  'supplierId': json['supplier-id'] == null ? undefined : json['supplier-id'],
87
87
  'productTypeId': json['productType-id'] == null ? undefined : json['productType-id'],
88
88
  'parentIsAccessory': json['parent-is_accessory'] == null ? undefined : json['parent-is_accessory'],
89
- 'availableOnSiteId': json['availableOnSiteId'] == null ? undefined : json['availableOnSiteId'],
90
- 'enabledOnSiteId': json['enabledOnSiteId'] == null ? undefined : json['enabledOnSiteId'],
91
89
  'relatedId': json['related_id'] == null ? undefined : json['related_id'],
92
90
  'relatedType': json['related_type'] == null ? undefined : json['related_type'],
93
91
  'includesRelations': json['includes_relations'] == null ? undefined : json['includes_relations'],
@@ -114,8 +112,6 @@ function IndexProductChildRequestToJSONTyped(value, ignoreDiscriminator) {
114
112
  'supplier-id': value['supplierId'],
115
113
  'productType-id': value['productTypeId'],
116
114
  'parent-is_accessory': value['parentIsAccessory'],
117
- 'availableOnSiteId': value['availableOnSiteId'],
118
- 'enabledOnSiteId': value['enabledOnSiteId'],
119
115
  'related_id': value['relatedId'],
120
116
  'related_type': value['relatedType'],
121
117
  'includes_relations': value['includesRelations'],
@@ -27,6 +27,12 @@ export interface PreviewAutomationRulesResource {
27
27
  * @memberof PreviewAutomationRulesResource
28
28
  */
29
29
  tooComplex: boolean;
30
+ /**
31
+ *
32
+ * @type {string}
33
+ * @memberof PreviewAutomationRulesResource
34
+ */
35
+ query?: string | null;
30
36
  }
31
37
  /**
32
38
  * Check if a given object implements the PreviewAutomationRulesResource interface.
@@ -38,6 +38,7 @@ function PreviewAutomationRulesResourceFromJSONTyped(json, ignoreDiscriminator)
38
38
  return {
39
39
  'count': json['count'],
40
40
  'tooComplex': json['too_complex'],
41
+ 'query': json['query'] == null ? undefined : json['query'],
41
42
  };
42
43
  }
43
44
  function PreviewAutomationRulesResourceToJSON(json) {
@@ -51,5 +52,6 @@ function PreviewAutomationRulesResourceToJSONTyped(value, ignoreDiscriminator) {
51
52
  return {
52
53
  'count': value['count'],
53
54
  'too_complex': value['tooComplex'],
55
+ 'query': value['query'],
54
56
  };
55
57
  }
@@ -32,7 +32,7 @@ export interface StoreProductCategoryRequestAutomationRulesInner {
32
32
  * @type {number}
33
33
  * @memberof StoreProductCategoryRequestAutomationRulesInner
34
34
  */
35
- groupId?: number;
35
+ groupId: number;
36
36
  /**
37
37
  *
38
38
  * @type {string}
@@ -47,10 +47,10 @@ export interface StoreProductCategoryRequestAutomationRulesInner {
47
47
  value?: string;
48
48
  /**
49
49
  *
50
- * @type {number}
50
+ * @type {Array<number>}
51
51
  * @memberof StoreProductCategoryRequestAutomationRulesInner
52
52
  */
53
- valueId?: number;
53
+ valueIds?: Array<number>;
54
54
  }
55
55
  /**
56
56
  * @export
@@ -50,6 +50,8 @@ function instanceOfStoreProductCategoryRequestAutomationRulesInner(value) {
50
50
  return false;
51
51
  if (!('comparisonType' in value) || value['comparisonType'] === undefined)
52
52
  return false;
53
+ if (!('groupId' in value) || value['groupId'] === undefined)
54
+ return false;
53
55
  return true;
54
56
  }
55
57
  function StoreProductCategoryRequestAutomationRulesInnerFromJSON(json) {
@@ -62,10 +64,10 @@ function StoreProductCategoryRequestAutomationRulesInnerFromJSONTyped(json, igno
62
64
  return {
63
65
  'fieldType': json['field_type'],
64
66
  'comparisonType': json['comparison_type'],
65
- 'groupId': json['group_id'] == null ? undefined : json['group_id'],
67
+ 'groupId': json['group_id'],
66
68
  'relatedId': json['related_id'] == null ? undefined : json['related_id'],
67
69
  'value': json['value'] == null ? undefined : json['value'],
68
- 'valueId': json['value_id'] == null ? undefined : json['value_id'],
70
+ 'valueIds': json['value_ids'] == null ? undefined : json['value_ids'],
69
71
  };
70
72
  }
71
73
  function StoreProductCategoryRequestAutomationRulesInnerToJSON(json) {
@@ -82,6 +84,6 @@ function StoreProductCategoryRequestAutomationRulesInnerToJSONTyped(value, ignor
82
84
  'group_id': value['groupId'],
83
85
  'related_id': value['relatedId'],
84
86
  'value': value['value'],
85
- 'value_id': value['valueId'],
87
+ 'value_ids': value['valueIds'],
86
88
  };
87
89
  }
@@ -9,10 +9,10 @@ Name | Type
9
9
  `id` | number
10
10
  `fieldType` | object
11
11
  `comparisonType` | object
12
- `groupId` | string
12
+ `groupId` | number
13
13
  `relatedId` | string
14
14
  `value` | string
15
- `valueId` | string
15
+ `valueIds` | string
16
16
 
17
17
  ## Example
18
18
 
@@ -27,7 +27,7 @@ const example = {
27
27
  "groupId": null,
28
28
  "relatedId": null,
29
29
  "value": null,
30
- "valueId": null,
30
+ "valueIds": null,
31
31
  } satisfies CategoryAutomationRuleResource
32
32
 
33
33
  console.log(example)
@@ -19,8 +19,6 @@ Name | Type
19
19
  `supplierId` | Array&lt;string&gt;
20
20
  `productTypeId` | Array&lt;string&gt;
21
21
  `parentIsAccessory` | Array&lt;string&gt;
22
- `availableOnSiteId` | Array&lt;string&gt;
23
- `enabledOnSiteId` | Array&lt;string&gt;
24
22
 
25
23
  ## Example
26
24
 
@@ -42,8 +40,6 @@ const example = {
42
40
  "supplierId": null,
43
41
  "productTypeId": null,
44
42
  "parentIsAccessory": null,
45
- "availableOnSiteId": null,
46
- "enabledOnSiteId": null,
47
43
  } satisfies GetAllProductChildRequest
48
44
 
49
45
  console.log(example)
@@ -18,8 +18,6 @@ Name | Type
18
18
  `supplierId` | Array&lt;string&gt;
19
19
  `productTypeId` | Array&lt;string&gt;
20
20
  `parentIsAccessory` | Array&lt;string&gt;
21
- `availableOnSiteId` | Array&lt;string&gt;
22
- `enabledOnSiteId` | Array&lt;string&gt;
23
21
  `relatedId` | number
24
22
  `relatedType` | string
25
23
  `includesRelations` | boolean
@@ -43,8 +41,6 @@ const example = {
43
41
  "supplierId": null,
44
42
  "productTypeId": null,
45
43
  "parentIsAccessory": null,
46
- "availableOnSiteId": null,
47
- "enabledOnSiteId": null,
48
44
  "relatedId": null,
49
45
  "relatedType": null,
50
46
  "includesRelations": null,
@@ -8,6 +8,7 @@ Name | Type
8
8
  ------------ | -------------
9
9
  `count` | number
10
10
  `tooComplex` | boolean
11
+ `query` | string
11
12
 
12
13
  ## Example
13
14
 
@@ -18,6 +19,7 @@ import type { PreviewAutomationRulesResource } from '@digital8/lighting-illusion
18
19
  const example = {
19
20
  "count": null,
20
21
  "tooComplex": null,
22
+ "query": null,
21
23
  } satisfies PreviewAutomationRulesResource
22
24
 
23
25
  console.log(example)
@@ -11,7 +11,7 @@ Name | Type
11
11
  `groupId` | number
12
12
  `relatedId` | string
13
13
  `value` | string
14
- `valueId` | number
14
+ `valueIds` | Array&lt;number&gt;
15
15
 
16
16
  ## Example
17
17
 
@@ -25,7 +25,7 @@ const example = {
25
25
  "groupId": null,
26
26
  "relatedId": null,
27
27
  "value": null,
28
- "valueId": null,
28
+ "valueIds": null,
29
29
  } satisfies StoreProductCategoryRequestAutomationRulesInner
30
30
 
31
31
  console.log(example)
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@digital8/lighting-illusions-ts-sdk",
3
- "version": "0.0.1001",
3
+ "version": "0.0.1002",
4
4
  "description": "OpenAPI client for @digital8/lighting-illusions-ts-sdk",
5
5
  "author": "OpenAPI-Generator",
6
6
  "repository": {
@@ -39,10 +39,10 @@ export interface CategoryAutomationRuleResource {
39
39
  comparisonType: object;
40
40
  /**
41
41
  *
42
- * @type {string}
42
+ * @type {number}
43
43
  * @memberof CategoryAutomationRuleResource
44
44
  */
45
- groupId?: string | null;
45
+ groupId: number;
46
46
  /**
47
47
  *
48
48
  * @type {string}
@@ -60,7 +60,7 @@ export interface CategoryAutomationRuleResource {
60
60
  * @type {string}
61
61
  * @memberof CategoryAutomationRuleResource
62
62
  */
63
- valueId?: string | null;
63
+ valueIds?: string | null;
64
64
  }
65
65
 
66
66
  /**
@@ -69,6 +69,7 @@ export interface CategoryAutomationRuleResource {
69
69
  export function instanceOfCategoryAutomationRuleResource(value: object): value is CategoryAutomationRuleResource {
70
70
  if (!('fieldType' in value) || value['fieldType'] === undefined) return false;
71
71
  if (!('comparisonType' in value) || value['comparisonType'] === undefined) return false;
72
+ if (!('groupId' in value) || value['groupId'] === undefined) return false;
72
73
  if (!('value' in value) || value['value'] === undefined) return false;
73
74
  return true;
74
75
  }
@@ -86,10 +87,10 @@ export function CategoryAutomationRuleResourceFromJSONTyped(json: any, ignoreDis
86
87
  'id': json['id'] == null ? undefined : json['id'],
87
88
  'fieldType': json['fieldType'],
88
89
  'comparisonType': json['comparisonType'],
89
- 'groupId': json['groupId'] == null ? undefined : json['groupId'],
90
+ 'groupId': json['groupId'],
90
91
  'relatedId': json['relatedId'] == null ? undefined : json['relatedId'],
91
92
  'value': json['value'],
92
- 'valueId': json['valueId'] == null ? undefined : json['valueId'],
93
+ 'valueIds': json['valueIds'] == null ? undefined : json['valueIds'],
93
94
  };
94
95
  }
95
96
 
@@ -110,7 +111,7 @@ export function CategoryAutomationRuleResourceToJSONTyped(value?: CategoryAutoma
110
111
  'groupId': value['groupId'],
111
112
  'relatedId': value['relatedId'],
112
113
  'value': value['value'],
113
- 'valueId': value['valueId'],
114
+ 'valueIds': value['valueIds'],
114
115
  };
115
116
  }
116
117
 
@@ -97,18 +97,6 @@ export interface GetAllProductChildRequest {
97
97
  * @memberof GetAllProductChildRequest
98
98
  */
99
99
  parentIsAccessory?: Array<string>;
100
- /**
101
- *
102
- * @type {Array<string>}
103
- * @memberof GetAllProductChildRequest
104
- */
105
- availableOnSiteId?: Array<string>;
106
- /**
107
- *
108
- * @type {Array<string>}
109
- * @memberof GetAllProductChildRequest
110
- */
111
- enabledOnSiteId?: Array<string>;
112
100
  }
113
101
 
114
102
 
@@ -182,8 +170,6 @@ export function GetAllProductChildRequestFromJSONTyped(json: any, ignoreDiscrimi
182
170
  'supplierId': json['supplier-id'] == null ? undefined : json['supplier-id'],
183
171
  'productTypeId': json['productType-id'] == null ? undefined : json['productType-id'],
184
172
  'parentIsAccessory': json['parent-is_accessory'] == null ? undefined : json['parent-is_accessory'],
185
- 'availableOnSiteId': json['availableOnSiteId'] == null ? undefined : json['availableOnSiteId'],
186
- 'enabledOnSiteId': json['enabledOnSiteId'] == null ? undefined : json['enabledOnSiteId'],
187
173
  };
188
174
  }
189
175
 
@@ -211,8 +197,6 @@ export function GetAllProductChildRequestToJSONTyped(value?: GetAllProductChildR
211
197
  'supplier-id': value['supplierId'],
212
198
  'productType-id': value['productTypeId'],
213
199
  'parent-is_accessory': value['parentIsAccessory'],
214
- 'availableOnSiteId': value['availableOnSiteId'],
215
- 'enabledOnSiteId': value['enabledOnSiteId'],
216
200
  };
217
201
  }
218
202
 
@@ -91,18 +91,6 @@ export interface IndexProductChildRequest {
91
91
  * @memberof IndexProductChildRequest
92
92
  */
93
93
  parentIsAccessory?: Array<string>;
94
- /**
95
- *
96
- * @type {Array<string>}
97
- * @memberof IndexProductChildRequest
98
- */
99
- availableOnSiteId?: Array<string>;
100
- /**
101
- *
102
- * @type {Array<string>}
103
- * @memberof IndexProductChildRequest
104
- */
105
- enabledOnSiteId?: Array<string>;
106
94
  /**
107
95
  *
108
96
  * @type {number}
@@ -201,8 +189,6 @@ export function IndexProductChildRequestFromJSONTyped(json: any, ignoreDiscrimin
201
189
  'supplierId': json['supplier-id'] == null ? undefined : json['supplier-id'],
202
190
  'productTypeId': json['productType-id'] == null ? undefined : json['productType-id'],
203
191
  'parentIsAccessory': json['parent-is_accessory'] == null ? undefined : json['parent-is_accessory'],
204
- 'availableOnSiteId': json['availableOnSiteId'] == null ? undefined : json['availableOnSiteId'],
205
- 'enabledOnSiteId': json['enabledOnSiteId'] == null ? undefined : json['enabledOnSiteId'],
206
192
  'relatedId': json['related_id'] == null ? undefined : json['related_id'],
207
193
  'relatedType': json['related_type'] == null ? undefined : json['related_type'],
208
194
  'includesRelations': json['includes_relations'] == null ? undefined : json['includes_relations'],
@@ -232,8 +218,6 @@ export function IndexProductChildRequestToJSONTyped(value?: IndexProductChildReq
232
218
  'supplier-id': value['supplierId'],
233
219
  'productType-id': value['productTypeId'],
234
220
  'parent-is_accessory': value['parentIsAccessory'],
235
- 'availableOnSiteId': value['availableOnSiteId'],
236
- 'enabledOnSiteId': value['enabledOnSiteId'],
237
221
  'related_id': value['relatedId'],
238
222
  'related_type': value['relatedType'],
239
223
  'includes_relations': value['includesRelations'],
@@ -31,6 +31,12 @@ export interface PreviewAutomationRulesResource {
31
31
  * @memberof PreviewAutomationRulesResource
32
32
  */
33
33
  tooComplex: boolean;
34
+ /**
35
+ *
36
+ * @type {string}
37
+ * @memberof PreviewAutomationRulesResource
38
+ */
39
+ query?: string | null;
34
40
  }
35
41
 
36
42
  /**
@@ -54,6 +60,7 @@ export function PreviewAutomationRulesResourceFromJSONTyped(json: any, ignoreDis
54
60
 
55
61
  'count': json['count'],
56
62
  'tooComplex': json['too_complex'],
63
+ 'query': json['query'] == null ? undefined : json['query'],
57
64
  };
58
65
  }
59
66
 
@@ -70,6 +77,7 @@ export function PreviewAutomationRulesResourceToJSONTyped(value?: PreviewAutomat
70
77
 
71
78
  'count': value['count'],
72
79
  'too_complex': value['tooComplex'],
80
+ 'query': value['query'],
73
81
  };
74
82
  }
75
83
 
@@ -36,7 +36,7 @@ export interface StoreProductCategoryRequestAutomationRulesInner {
36
36
  * @type {number}
37
37
  * @memberof StoreProductCategoryRequestAutomationRulesInner
38
38
  */
39
- groupId?: number;
39
+ groupId: number;
40
40
  /**
41
41
  *
42
42
  * @type {string}
@@ -51,10 +51,10 @@ export interface StoreProductCategoryRequestAutomationRulesInner {
51
51
  value?: string;
52
52
  /**
53
53
  *
54
- * @type {number}
54
+ * @type {Array<number>}
55
55
  * @memberof StoreProductCategoryRequestAutomationRulesInner
56
56
  */
57
- valueId?: number;
57
+ valueIds?: Array<number>;
58
58
  }
59
59
 
60
60
 
@@ -92,6 +92,7 @@ export type StoreProductCategoryRequestAutomationRulesInnerComparisonTypeEnum =
92
92
  export function instanceOfStoreProductCategoryRequestAutomationRulesInner(value: object): value is StoreProductCategoryRequestAutomationRulesInner {
93
93
  if (!('fieldType' in value) || value['fieldType'] === undefined) return false;
94
94
  if (!('comparisonType' in value) || value['comparisonType'] === undefined) return false;
95
+ if (!('groupId' in value) || value['groupId'] === undefined) return false;
95
96
  return true;
96
97
  }
97
98
 
@@ -107,10 +108,10 @@ export function StoreProductCategoryRequestAutomationRulesInnerFromJSONTyped(jso
107
108
 
108
109
  'fieldType': json['field_type'],
109
110
  'comparisonType': json['comparison_type'],
110
- 'groupId': json['group_id'] == null ? undefined : json['group_id'],
111
+ 'groupId': json['group_id'],
111
112
  'relatedId': json['related_id'] == null ? undefined : json['related_id'],
112
113
  'value': json['value'] == null ? undefined : json['value'],
113
- 'valueId': json['value_id'] == null ? undefined : json['value_id'],
114
+ 'valueIds': json['value_ids'] == null ? undefined : json['value_ids'],
114
115
  };
115
116
  }
116
117
 
@@ -130,7 +131,7 @@ export function StoreProductCategoryRequestAutomationRulesInnerToJSONTyped(value
130
131
  'group_id': value['groupId'],
131
132
  'related_id': value['relatedId'],
132
133
  'value': value['value'],
133
- 'value_id': value['valueId'],
134
+ 'value_ids': value['valueIds'],
134
135
  };
135
136
  }
136
137