@digital8/lighting-illusions-ts-sdk 0.0.1023 → 0.0.1024

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.1023
1
+ # @digital8/lighting-illusions-ts-sdk@0.0.1024
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.1023`
471
+ - Package version: `0.0.1024`
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 {number}
38
+ * @type {string}
39
39
  * @memberof CategoryAutomationRuleResource
40
40
  */
41
- groupId: number;
41
+ groupId?: string | null;
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
- valueIds?: string | null;
59
+ valueId?: string | null;
60
60
  }
61
61
  /**
62
62
  * Check if a given object implements the CategoryAutomationRuleResource interface.
@@ -26,8 +26,6 @@ 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;
31
29
  if (!('value' in value) || value['value'] === undefined)
32
30
  return false;
33
31
  return true;
@@ -43,10 +41,10 @@ function CategoryAutomationRuleResourceFromJSONTyped(json, ignoreDiscriminator)
43
41
  'id': json['id'] == null ? undefined : json['id'],
44
42
  'fieldType': json['fieldType'],
45
43
  'comparisonType': json['comparisonType'],
46
- 'groupId': json['groupId'],
44
+ 'groupId': json['groupId'] == null ? undefined : json['groupId'],
47
45
  'relatedId': json['relatedId'] == null ? undefined : json['relatedId'],
48
46
  'value': json['value'],
49
- 'valueIds': json['valueIds'] == null ? undefined : json['valueIds'],
47
+ 'valueId': json['valueId'] == null ? undefined : json['valueId'],
50
48
  };
51
49
  }
52
50
  function CategoryAutomationRuleResourceToJSON(json) {
@@ -64,6 +62,6 @@ function CategoryAutomationRuleResourceToJSONTyped(value, ignoreDiscriminator) {
64
62
  'groupId': value['groupId'],
65
63
  'relatedId': value['relatedId'],
66
64
  'value': value['value'],
67
- 'valueIds': value['valueIds'],
65
+ 'valueId': value['valueId'],
68
66
  };
69
67
  }
@@ -27,12 +27,6 @@ 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;
36
30
  }
37
31
  /**
38
32
  * Check if a given object implements the PreviewAutomationRulesResource interface.
@@ -38,7 +38,6 @@ 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'],
42
41
  };
43
42
  }
44
43
  function PreviewAutomationRulesResourceToJSON(json) {
@@ -52,6 +51,5 @@ function PreviewAutomationRulesResourceToJSONTyped(value, ignoreDiscriminator) {
52
51
  return {
53
52
  'count': value['count'],
54
53
  'too_complex': value['tooComplex'],
55
- 'query': value['query'],
56
54
  };
57
55
  }
@@ -59,6 +59,12 @@ export interface ProductChildListResource {
59
59
  * @memberof ProductChildListResource
60
60
  */
61
61
  isDisabled?: string | null;
62
+ /**
63
+ *
64
+ * @type {boolean}
65
+ * @memberof ProductChildListResource
66
+ */
67
+ displayInSocialFeed: boolean;
62
68
  /**
63
69
  *
64
70
  * @type {number}
@@ -34,6 +34,8 @@ function instanceOfProductChildListResource(value) {
34
34
  return false;
35
35
  if (!('stock' in value) || value['stock'] === undefined)
36
36
  return false;
37
+ if (!('displayInSocialFeed' in value) || value['displayInSocialFeed'] === undefined)
38
+ return false;
37
39
  if (!('netsuiteId' in value) || value['netsuiteId'] === undefined)
38
40
  return false;
39
41
  if (!('thumbnail' in value) || value['thumbnail'] === undefined)
@@ -57,6 +59,7 @@ function ProductChildListResourceFromJSONTyped(json, ignoreDiscriminator) {
57
59
  'model': json['model'],
58
60
  'stock': json['stock'],
59
61
  'isDisabled': json['isDisabled'] == null ? undefined : json['isDisabled'],
62
+ 'displayInSocialFeed': json['displayInSocialFeed'],
60
63
  'netsuiteId': json['netsuiteId'],
61
64
  'thumbnail': (0, AssetLiteResource_1.AssetLiteResourceFromJSON)(json['thumbnail']),
62
65
  'siteDetails': (json['siteDetails'] == null ? null : json['siteDetails'].map(ProductChildSiteDetailLiteResource_1.ProductChildSiteDetailLiteResourceFromJSON)),
@@ -78,6 +81,7 @@ function ProductChildListResourceToJSONTyped(value, ignoreDiscriminator) {
78
81
  'model': value['model'],
79
82
  'stock': value['stock'],
80
83
  'isDisabled': value['isDisabled'],
84
+ 'displayInSocialFeed': value['displayInSocialFeed'],
81
85
  'netsuiteId': value['netsuiteId'],
82
86
  'thumbnail': (0, AssetLiteResource_1.AssetLiteResourceToJSON)(value['thumbnail']),
83
87
  'siteDetails': (value['siteDetails'] == null ? null : value['siteDetails'].map(ProductChildSiteDetailLiteResource_1.ProductChildSiteDetailLiteResourceToJSON)),
@@ -89,6 +89,12 @@ export interface ProductChildSiteDetailResource {
89
89
  * @memberof ProductChildSiteDetailResource
90
90
  */
91
91
  isDisabled: boolean;
92
+ /**
93
+ *
94
+ * @type {boolean}
95
+ * @memberof ProductChildSiteDetailResource
96
+ */
97
+ displayInTgnFeed: boolean;
92
98
  /**
93
99
  *
94
100
  * @type {SEOResource}
@@ -48,6 +48,8 @@ function instanceOfProductChildSiteDetailResource(value) {
48
48
  return false;
49
49
  if (!('isDisabled' in value) || value['isDisabled'] === undefined)
50
50
  return false;
51
+ if (!('displayInTgnFeed' in value) || value['displayInTgnFeed'] === undefined)
52
+ return false;
51
53
  if (!('seo' in value) || value['seo'] === undefined)
52
54
  return false;
53
55
  return true;
@@ -72,6 +74,7 @@ function ProductChildSiteDetailResourceFromJSONTyped(json, ignoreDiscriminator)
72
74
  'rrpPrice': json['rrpPrice'],
73
75
  'salePrice': json['salePrice'],
74
76
  'isDisabled': json['isDisabled'],
77
+ 'displayInTgnFeed': json['displayInTgnFeed'],
75
78
  'seo': (0, SEOResource_1.SEOResourceFromJSON)(json['seo']),
76
79
  'omnisendId': json['omnisendId'] == null ? undefined : json['omnisendId'],
77
80
  'omnisendSyncStatus': json['omnisendSyncStatus'] == null ? undefined : json['omnisendSyncStatus'],
@@ -98,6 +101,7 @@ function ProductChildSiteDetailResourceToJSONTyped(value, ignoreDiscriminator) {
98
101
  'rrpPrice': value['rrpPrice'],
99
102
  'salePrice': value['salePrice'],
100
103
  'isDisabled': value['isDisabled'],
104
+ 'displayInTgnFeed': value['displayInTgnFeed'],
101
105
  'seo': (0, SEOResource_1.SEOResourceToJSON)(value['seo']),
102
106
  'omnisendId': value['omnisendId'],
103
107
  'omnisendSyncStatus': value['omnisendSyncStatus'],
@@ -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 {Array<number>}
50
+ * @type {number}
51
51
  * @memberof StoreProductCategoryRequestAutomationRulesInner
52
52
  */
53
- valueIds?: Array<number>;
53
+ valueId?: number;
54
54
  }
55
55
  /**
56
56
  * @export
@@ -50,8 +50,6 @@ 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;
55
53
  return true;
56
54
  }
57
55
  function StoreProductCategoryRequestAutomationRulesInnerFromJSON(json) {
@@ -64,10 +62,10 @@ function StoreProductCategoryRequestAutomationRulesInnerFromJSONTyped(json, igno
64
62
  return {
65
63
  'fieldType': json['field_type'],
66
64
  'comparisonType': json['comparison_type'],
67
- 'groupId': json['group_id'],
65
+ 'groupId': json['group_id'] == null ? undefined : json['group_id'],
68
66
  'relatedId': json['related_id'] == null ? undefined : json['related_id'],
69
67
  'value': json['value'] == null ? undefined : json['value'],
70
- 'valueIds': json['value_ids'] == null ? undefined : json['value_ids'],
68
+ 'valueId': json['value_id'] == null ? undefined : json['value_id'],
71
69
  };
72
70
  }
73
71
  function StoreProductCategoryRequestAutomationRulesInnerToJSON(json) {
@@ -84,6 +82,6 @@ function StoreProductCategoryRequestAutomationRulesInnerToJSONTyped(value, ignor
84
82
  'group_id': value['groupId'],
85
83
  'related_id': value['relatedId'],
86
84
  'value': value['value'],
87
- 'value_ids': value['valueIds'],
85
+ 'value_id': value['valueId'],
88
86
  };
89
87
  }
@@ -9,10 +9,10 @@ Name | Type
9
9
  `id` | number
10
10
  `fieldType` | object
11
11
  `comparisonType` | object
12
- `groupId` | number
12
+ `groupId` | string
13
13
  `relatedId` | string
14
14
  `value` | string
15
- `valueIds` | string
15
+ `valueId` | 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
- "valueIds": null,
30
+ "valueId": null,
31
31
  } satisfies CategoryAutomationRuleResource
32
32
 
33
33
  console.log(example)
@@ -8,7 +8,6 @@ Name | Type
8
8
  ------------ | -------------
9
9
  `count` | number
10
10
  `tooComplex` | boolean
11
- `query` | string
12
11
 
13
12
  ## Example
14
13
 
@@ -19,7 +18,6 @@ import type { PreviewAutomationRulesResource } from '@digital8/lighting-illusion
19
18
  const example = {
20
19
  "count": null,
21
20
  "tooComplex": null,
22
- "query": null,
23
21
  } satisfies PreviewAutomationRulesResource
24
22
 
25
23
  console.log(example)
@@ -13,6 +13,7 @@ Name | Type
13
13
  `model` | string
14
14
  `stock` | number
15
15
  `isDisabled` | string
16
+ `displayInSocialFeed` | boolean
16
17
  `netsuiteId` | number
17
18
  `thumbnail` | [AssetLiteResource](AssetLiteResource.md)
18
19
  `siteDetails` | [Array&lt;ProductChildSiteDetailLiteResource&gt;](ProductChildSiteDetailLiteResource.md)
@@ -31,6 +32,7 @@ const example = {
31
32
  "model": null,
32
33
  "stock": null,
33
34
  "isDisabled": null,
35
+ "displayInSocialFeed": null,
34
36
  "netsuiteId": null,
35
37
  "thumbnail": null,
36
38
  "siteDetails": null,
@@ -18,6 +18,7 @@ Name | Type
18
18
  `rrpPrice` | number
19
19
  `salePrice` | number
20
20
  `isDisabled` | boolean
21
+ `displayInTgnFeed` | boolean
21
22
  `seo` | [SEOResource](SEOResource.md)
22
23
  `omnisendId` | string
23
24
  `omnisendSyncStatus` | string
@@ -41,6 +42,7 @@ const example = {
41
42
  "rrpPrice": null,
42
43
  "salePrice": null,
43
44
  "isDisabled": null,
45
+ "displayInTgnFeed": null,
44
46
  "seo": null,
45
47
  "omnisendId": null,
46
48
  "omnisendSyncStatus": null,
@@ -11,7 +11,7 @@ Name | Type
11
11
  `groupId` | number
12
12
  `relatedId` | string
13
13
  `value` | string
14
- `valueIds` | Array&lt;number&gt;
14
+ `valueId` | number
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
- "valueIds": null,
28
+ "valueId": 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.1023",
3
+ "version": "0.0.1024",
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 {number}
42
+ * @type {string}
43
43
  * @memberof CategoryAutomationRuleResource
44
44
  */
45
- groupId: number;
45
+ groupId?: string | null;
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
- valueIds?: string | null;
63
+ valueId?: string | null;
64
64
  }
65
65
 
66
66
  /**
@@ -69,7 +69,6 @@ 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;
73
72
  if (!('value' in value) || value['value'] === undefined) return false;
74
73
  return true;
75
74
  }
@@ -87,10 +86,10 @@ export function CategoryAutomationRuleResourceFromJSONTyped(json: any, ignoreDis
87
86
  'id': json['id'] == null ? undefined : json['id'],
88
87
  'fieldType': json['fieldType'],
89
88
  'comparisonType': json['comparisonType'],
90
- 'groupId': json['groupId'],
89
+ 'groupId': json['groupId'] == null ? undefined : json['groupId'],
91
90
  'relatedId': json['relatedId'] == null ? undefined : json['relatedId'],
92
91
  'value': json['value'],
93
- 'valueIds': json['valueIds'] == null ? undefined : json['valueIds'],
92
+ 'valueId': json['valueId'] == null ? undefined : json['valueId'],
94
93
  };
95
94
  }
96
95
 
@@ -111,7 +110,7 @@ export function CategoryAutomationRuleResourceToJSONTyped(value?: CategoryAutoma
111
110
  'groupId': value['groupId'],
112
111
  'relatedId': value['relatedId'],
113
112
  'value': value['value'],
114
- 'valueIds': value['valueIds'],
113
+ 'valueId': value['valueId'],
115
114
  };
116
115
  }
117
116
 
@@ -31,12 +31,6 @@ 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;
40
34
  }
41
35
 
42
36
  /**
@@ -60,7 +54,6 @@ export function PreviewAutomationRulesResourceFromJSONTyped(json: any, ignoreDis
60
54
 
61
55
  'count': json['count'],
62
56
  'tooComplex': json['too_complex'],
63
- 'query': json['query'] == null ? undefined : json['query'],
64
57
  };
65
58
  }
66
59
 
@@ -77,7 +70,6 @@ export function PreviewAutomationRulesResourceToJSONTyped(value?: PreviewAutomat
77
70
 
78
71
  'count': value['count'],
79
72
  'too_complex': value['tooComplex'],
80
- 'query': value['query'],
81
73
  };
82
74
  }
83
75
 
@@ -76,6 +76,12 @@ export interface ProductChildListResource {
76
76
  * @memberof ProductChildListResource
77
77
  */
78
78
  isDisabled?: string | null;
79
+ /**
80
+ *
81
+ * @type {boolean}
82
+ * @memberof ProductChildListResource
83
+ */
84
+ displayInSocialFeed: boolean;
79
85
  /**
80
86
  *
81
87
  * @type {number}
@@ -105,6 +111,7 @@ export function instanceOfProductChildListResource(value: object): value is Prod
105
111
  if (!('name' in value) || value['name'] === undefined) return false;
106
112
  if (!('model' in value) || value['model'] === undefined) return false;
107
113
  if (!('stock' in value) || value['stock'] === undefined) return false;
114
+ if (!('displayInSocialFeed' in value) || value['displayInSocialFeed'] === undefined) return false;
108
115
  if (!('netsuiteId' in value) || value['netsuiteId'] === undefined) return false;
109
116
  if (!('thumbnail' in value) || value['thumbnail'] === undefined) return false;
110
117
  if (!('siteDetails' in value) || value['siteDetails'] === undefined) return false;
@@ -128,6 +135,7 @@ export function ProductChildListResourceFromJSONTyped(json: any, ignoreDiscrimin
128
135
  'model': json['model'],
129
136
  'stock': json['stock'],
130
137
  'isDisabled': json['isDisabled'] == null ? undefined : json['isDisabled'],
138
+ 'displayInSocialFeed': json['displayInSocialFeed'],
131
139
  'netsuiteId': json['netsuiteId'],
132
140
  'thumbnail': AssetLiteResourceFromJSON(json['thumbnail']),
133
141
  'siteDetails': (json['siteDetails'] == null ? null : (json['siteDetails'] as Array<any>).map(ProductChildSiteDetailLiteResourceFromJSON)),
@@ -152,6 +160,7 @@ export function ProductChildListResourceToJSONTyped(value?: ProductChildListReso
152
160
  'model': value['model'],
153
161
  'stock': value['stock'],
154
162
  'isDisabled': value['isDisabled'],
163
+ 'displayInSocialFeed': value['displayInSocialFeed'],
155
164
  'netsuiteId': value['netsuiteId'],
156
165
  'thumbnail': AssetLiteResourceToJSON(value['thumbnail']),
157
166
  'siteDetails': (value['siteDetails'] == null ? null : (value['siteDetails'] as Array<any>).map(ProductChildSiteDetailLiteResourceToJSON)),
@@ -106,6 +106,12 @@ export interface ProductChildSiteDetailResource {
106
106
  * @memberof ProductChildSiteDetailResource
107
107
  */
108
108
  isDisabled: boolean;
109
+ /**
110
+ *
111
+ * @type {boolean}
112
+ * @memberof ProductChildSiteDetailResource
113
+ */
114
+ displayInTgnFeed: boolean;
109
115
  /**
110
116
  *
111
117
  * @type {SEOResource}
@@ -142,6 +148,7 @@ export function instanceOfProductChildSiteDetailResource(value: object): value i
142
148
  if (!('rrpPrice' in value) || value['rrpPrice'] === undefined) return false;
143
149
  if (!('salePrice' in value) || value['salePrice'] === undefined) return false;
144
150
  if (!('isDisabled' in value) || value['isDisabled'] === undefined) return false;
151
+ if (!('displayInTgnFeed' in value) || value['displayInTgnFeed'] === undefined) return false;
145
152
  if (!('seo' in value) || value['seo'] === undefined) return false;
146
153
  return true;
147
154
  }
@@ -168,6 +175,7 @@ export function ProductChildSiteDetailResourceFromJSONTyped(json: any, ignoreDis
168
175
  'rrpPrice': json['rrpPrice'],
169
176
  'salePrice': json['salePrice'],
170
177
  'isDisabled': json['isDisabled'],
178
+ 'displayInTgnFeed': json['displayInTgnFeed'],
171
179
  'seo': SEOResourceFromJSON(json['seo']),
172
180
  'omnisendId': json['omnisendId'] == null ? undefined : json['omnisendId'],
173
181
  'omnisendSyncStatus': json['omnisendSyncStatus'] == null ? undefined : json['omnisendSyncStatus'],
@@ -197,6 +205,7 @@ export function ProductChildSiteDetailResourceToJSONTyped(value?: ProductChildSi
197
205
  'rrpPrice': value['rrpPrice'],
198
206
  'salePrice': value['salePrice'],
199
207
  'isDisabled': value['isDisabled'],
208
+ 'displayInTgnFeed': value['displayInTgnFeed'],
200
209
  'seo': SEOResourceToJSON(value['seo']),
201
210
  'omnisendId': value['omnisendId'],
202
211
  'omnisendSyncStatus': value['omnisendSyncStatus'],
@@ -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 {Array<number>}
54
+ * @type {number}
55
55
  * @memberof StoreProductCategoryRequestAutomationRulesInner
56
56
  */
57
- valueIds?: Array<number>;
57
+ valueId?: number;
58
58
  }
59
59
 
60
60
 
@@ -92,7 +92,6 @@ 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;
96
95
  return true;
97
96
  }
98
97
 
@@ -108,10 +107,10 @@ export function StoreProductCategoryRequestAutomationRulesInnerFromJSONTyped(jso
108
107
 
109
108
  'fieldType': json['field_type'],
110
109
  'comparisonType': json['comparison_type'],
111
- 'groupId': json['group_id'],
110
+ 'groupId': json['group_id'] == null ? undefined : json['group_id'],
112
111
  'relatedId': json['related_id'] == null ? undefined : json['related_id'],
113
112
  'value': json['value'] == null ? undefined : json['value'],
114
- 'valueIds': json['value_ids'] == null ? undefined : json['value_ids'],
113
+ 'valueId': json['value_id'] == null ? undefined : json['value_id'],
115
114
  };
116
115
  }
117
116
 
@@ -131,7 +130,7 @@ export function StoreProductCategoryRequestAutomationRulesInnerToJSONTyped(value
131
130
  'group_id': value['groupId'],
132
131
  'related_id': value['relatedId'],
133
132
  'value': value['value'],
134
- 'value_ids': value['valueIds'],
133
+ 'value_id': value['valueId'],
135
134
  };
136
135
  }
137
136