@digital8/lighting-illusions-ts-sdk 0.0.1000 → 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.1000
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.1000`
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
  }
@@ -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)
@@ -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.1000",
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
 
@@ -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