@digital8/lighting-illusions-ts-sdk 0.0.1019 → 0.0.1021

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.
Files changed (29) hide show
  1. package/README.md +2 -2
  2. package/dist/models/CategoryAutomationRuleResource.d.ts +3 -3
  3. package/dist/models/CategoryAutomationRuleResource.js +5 -3
  4. package/dist/models/ExternalApiLogResource.d.ts +1 -1
  5. package/dist/models/ExternalApiLogResource.js +1 -3
  6. package/dist/models/PreviewAutomationRulesResource.d.ts +6 -0
  7. package/dist/models/PreviewAutomationRulesResource.js +2 -0
  8. package/dist/models/ProductChildResource.d.ts +0 -6
  9. package/dist/models/ProductChildResource.js +0 -4
  10. package/dist/models/StoreProductCategoryRequestAutomationRulesInner.d.ts +3 -3
  11. package/dist/models/StoreProductCategoryRequestAutomationRulesInner.js +5 -3
  12. package/dist/models/StoreProductChildRequest.d.ts +0 -6
  13. package/dist/models/StoreProductChildRequest.js +0 -2
  14. package/dist/models/UpdateProductChildRequest.d.ts +0 -6
  15. package/dist/models/UpdateProductChildRequest.js +0 -2
  16. package/docs/CategoryAutomationRuleResource.md +3 -3
  17. package/docs/PreviewAutomationRulesResource.md +2 -0
  18. package/docs/ProductChildResource.md +0 -2
  19. package/docs/StoreProductCategoryRequestAutomationRulesInner.md +2 -2
  20. package/docs/StoreProductChildRequest.md +0 -2
  21. package/docs/UpdateProductChildRequest.md +0 -2
  22. package/package.json +1 -1
  23. package/src/models/CategoryAutomationRuleResource.ts +7 -6
  24. package/src/models/ExternalApiLogResource.ts +2 -3
  25. package/src/models/PreviewAutomationRulesResource.ts +8 -0
  26. package/src/models/ProductChildResource.ts +0 -9
  27. package/src/models/StoreProductCategoryRequestAutomationRulesInner.ts +7 -6
  28. package/src/models/StoreProductChildRequest.ts +0 -8
  29. package/src/models/UpdateProductChildRequest.ts +0 -8
package/README.md CHANGED
@@ -1,4 +1,4 @@
1
- # @digital8/lighting-illusions-ts-sdk@0.0.1019
1
+ # @digital8/lighting-illusions-ts-sdk@0.0.1021
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.1019`
471
+ - Package version: `0.0.1021`
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
  }
@@ -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']),
@@ -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
  }
@@ -137,12 +137,6 @@ export interface ProductChildResource {
137
137
  * @memberof ProductChildResource
138
138
  */
139
139
  netsuiteSyncStatus?: string | null;
140
- /**
141
- *
142
- * @type {boolean}
143
- * @memberof ProductChildResource
144
- */
145
- hasSyncedToNetsuite: boolean;
146
140
  /**
147
141
  *
148
142
  * @type {string}
@@ -58,8 +58,6 @@ function instanceOfProductChildResource(value) {
58
58
  return false;
59
59
  if (!('googleStockStatus' in value) || value['googleStockStatus'] === undefined)
60
60
  return false;
61
- if (!('hasSyncedToNetsuite' in value) || value['hasSyncedToNetsuite'] === undefined)
62
- return false;
63
61
  if (!('newArrivalStartDate' in value) || value['newArrivalStartDate'] === undefined)
64
62
  return false;
65
63
  if (!('newArrivalEndDate' in value) || value['newArrivalEndDate'] === undefined)
@@ -104,7 +102,6 @@ function ProductChildResourceFromJSONTyped(json, ignoreDiscriminator) {
104
102
  'googleStockStatus': json['googleStockStatus'],
105
103
  'netsuiteId': json['netsuiteId'] == null ? undefined : json['netsuiteId'],
106
104
  'netsuiteSyncStatus': json['netsuiteSyncStatus'] == null ? undefined : json['netsuiteSyncStatus'],
107
- 'hasSyncedToNetsuite': json['hasSyncedToNetsuite'],
108
105
  'newArrivalStartDate': json['newArrivalStartDate'],
109
106
  'newArrivalEndDate': json['newArrivalEndDate'],
110
107
  'isDisabled': json['isDisabled'],
@@ -143,7 +140,6 @@ function ProductChildResourceToJSONTyped(value, ignoreDiscriminator) {
143
140
  'googleStockStatus': value['googleStockStatus'],
144
141
  'netsuiteId': value['netsuiteId'],
145
142
  'netsuiteSyncStatus': value['netsuiteSyncStatus'],
146
- 'hasSyncedToNetsuite': value['hasSyncedToNetsuite'],
147
143
  'newArrivalStartDate': value['newArrivalStartDate'],
148
144
  'newArrivalEndDate': value['newArrivalEndDate'],
149
145
  'isDisabled': value['isDisabled'],
@@ -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
  }
@@ -90,12 +90,6 @@ export interface StoreProductChildRequest {
90
90
  * @memberof StoreProductChildRequest
91
91
  */
92
92
  isOversized: boolean;
93
- /**
94
- *
95
- * @type {number}
96
- * @memberof StoreProductChildRequest
97
- */
98
- netsuiteId?: number;
99
93
  /**
100
94
  *
101
95
  * @type {number}
@@ -71,7 +71,6 @@ function StoreProductChildRequestFromJSONTyped(json, ignoreDiscriminator) {
71
71
  'excludeFromSearch': json['exclude_from_search'],
72
72
  'allowOversell': json['allow_oversell'],
73
73
  'isOversized': json['is_oversized'],
74
- 'netsuiteId': json['netsuite_id'] == null ? undefined : json['netsuite_id'],
75
74
  'popularityScore': json['popularity_score'] == null ? undefined : json['popularity_score'],
76
75
  'stock': json['stock'],
77
76
  'sites': (json['sites'].map(StoreProductChildRequestSitesInner_1.StoreProductChildRequestSitesInnerFromJSON)),
@@ -102,7 +101,6 @@ function StoreProductChildRequestToJSONTyped(value, ignoreDiscriminator) {
102
101
  'exclude_from_search': value['excludeFromSearch'],
103
102
  'allow_oversell': value['allowOversell'],
104
103
  'is_oversized': value['isOversized'],
105
- 'netsuite_id': value['netsuiteId'],
106
104
  'popularity_score': value['popularityScore'],
107
105
  'stock': value['stock'],
108
106
  'sites': (value['sites'].map(StoreProductChildRequestSitesInner_1.StoreProductChildRequestSitesInnerToJSON)),
@@ -83,12 +83,6 @@ export interface UpdateProductChildRequest {
83
83
  * @memberof UpdateProductChildRequest
84
84
  */
85
85
  isOversized: boolean;
86
- /**
87
- *
88
- * @type {number}
89
- * @memberof UpdateProductChildRequest
90
- */
91
- netsuiteId?: number;
92
86
  /**
93
87
  *
94
88
  * @type {number}
@@ -67,7 +67,6 @@ function UpdateProductChildRequestFromJSONTyped(json, ignoreDiscriminator) {
67
67
  'excludeFromSearch': json['exclude_from_search'],
68
68
  'allowOversell': json['allow_oversell'],
69
69
  'isOversized': json['is_oversized'],
70
- 'netsuiteId': json['netsuite_id'] == null ? undefined : json['netsuite_id'],
71
70
  'popularityScore': json['popularity_score'] == null ? undefined : json['popularity_score'],
72
71
  'stock': json['stock'],
73
72
  'sites': (json['sites'].map(StoreProductChildRequestSitesInner_1.StoreProductChildRequestSitesInnerFromJSON)),
@@ -95,7 +94,6 @@ function UpdateProductChildRequestToJSONTyped(value, ignoreDiscriminator) {
95
94
  'exclude_from_search': value['excludeFromSearch'],
96
95
  'allow_oversell': value['allowOversell'],
97
96
  'is_oversized': value['isOversized'],
98
- 'netsuite_id': value['netsuiteId'],
99
97
  'popularity_score': value['popularityScore'],
100
98
  'stock': value['stock'],
101
99
  'sites': (value['sites'].map(StoreProductChildRequestSitesInner_1.StoreProductChildRequestSitesInnerToJSON)),
@@ -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)
@@ -26,7 +26,6 @@ Name | Type
26
26
  `googleStockStatus` | number
27
27
  `netsuiteId` | string
28
28
  `netsuiteSyncStatus` | string
29
- `hasSyncedToNetsuite` | boolean
30
29
  `newArrivalStartDate` | string
31
30
  `newArrivalEndDate` | string
32
31
  `isDisabled` | boolean
@@ -62,7 +61,6 @@ const example = {
62
61
  "googleStockStatus": null,
63
62
  "netsuiteId": null,
64
63
  "netsuiteSyncStatus": null,
65
- "hasSyncedToNetsuite": null,
66
64
  "newArrivalStartDate": null,
67
65
  "newArrivalEndDate": null,
68
66
  "isDisabled": null,
@@ -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)
@@ -18,7 +18,6 @@ Name | Type
18
18
  `excludeFromSearch` | boolean
19
19
  `allowOversell` | boolean
20
20
  `isOversized` | boolean
21
- `netsuiteId` | number
22
21
  `popularityScore` | number
23
22
  `stock` | number
24
23
  `sites` | [Array&lt;StoreProductChildRequestSitesInner&gt;](StoreProductChildRequestSitesInner.md)
@@ -46,7 +45,6 @@ const example = {
46
45
  "excludeFromSearch": null,
47
46
  "allowOversell": null,
48
47
  "isOversized": null,
49
- "netsuiteId": null,
50
48
  "popularityScore": null,
51
49
  "stock": null,
52
50
  "sites": null,
@@ -17,7 +17,6 @@ Name | Type
17
17
  `excludeFromSearch` | boolean
18
18
  `allowOversell` | boolean
19
19
  `isOversized` | boolean
20
- `netsuiteId` | number
21
20
  `popularityScore` | number
22
21
  `stock` | number
23
22
  `sites` | [Array&lt;StoreProductChildRequestSitesInner&gt;](StoreProductChildRequestSitesInner.md)
@@ -42,7 +41,6 @@ const example = {
42
41
  "excludeFromSearch": null,
43
42
  "allowOversell": null,
44
43
  "isOversized": null,
45
- "netsuiteId": null,
46
44
  "popularityScore": null,
47
45
  "stock": null,
48
46
  "sites": null,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@digital8/lighting-illusions-ts-sdk",
3
- "version": "0.0.1019",
3
+ "version": "0.0.1021",
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
 
@@ -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']),
@@ -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
 
@@ -154,12 +154,6 @@ export interface ProductChildResource {
154
154
  * @memberof ProductChildResource
155
155
  */
156
156
  netsuiteSyncStatus?: string | null;
157
- /**
158
- *
159
- * @type {boolean}
160
- * @memberof ProductChildResource
161
- */
162
- hasSyncedToNetsuite: boolean;
163
157
  /**
164
158
  *
165
159
  * @type {string}
@@ -225,7 +219,6 @@ export function instanceOfProductChildResource(value: object): value is ProductC
225
219
  if (!('isBundle' in value) || value['isBundle'] === undefined) return false;
226
220
  if (!('displayInSocialFeed' in value) || value['displayInSocialFeed'] === undefined) return false;
227
221
  if (!('googleStockStatus' in value) || value['googleStockStatus'] === undefined) return false;
228
- if (!('hasSyncedToNetsuite' in value) || value['hasSyncedToNetsuite'] === undefined) return false;
229
222
  if (!('newArrivalStartDate' in value) || value['newArrivalStartDate'] === undefined) return false;
230
223
  if (!('newArrivalEndDate' in value) || value['newArrivalEndDate'] === undefined) return false;
231
224
  if (!('isDisabled' in value) || value['isDisabled'] === undefined) return false;
@@ -266,7 +259,6 @@ export function ProductChildResourceFromJSONTyped(json: any, ignoreDiscriminator
266
259
  'googleStockStatus': json['googleStockStatus'],
267
260
  'netsuiteId': json['netsuiteId'] == null ? undefined : json['netsuiteId'],
268
261
  'netsuiteSyncStatus': json['netsuiteSyncStatus'] == null ? undefined : json['netsuiteSyncStatus'],
269
- 'hasSyncedToNetsuite': json['hasSyncedToNetsuite'],
270
262
  'newArrivalStartDate': json['newArrivalStartDate'],
271
263
  'newArrivalEndDate': json['newArrivalEndDate'],
272
264
  'isDisabled': json['isDisabled'],
@@ -308,7 +300,6 @@ export function ProductChildResourceToJSONTyped(value?: ProductChildResource | n
308
300
  'googleStockStatus': value['googleStockStatus'],
309
301
  'netsuiteId': value['netsuiteId'],
310
302
  'netsuiteSyncStatus': value['netsuiteSyncStatus'],
311
- 'hasSyncedToNetsuite': value['hasSyncedToNetsuite'],
312
303
  'newArrivalStartDate': value['newArrivalStartDate'],
313
304
  'newArrivalEndDate': value['newArrivalEndDate'],
314
305
  'isDisabled': value['isDisabled'],
@@ -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
 
@@ -113,12 +113,6 @@ export interface StoreProductChildRequest {
113
113
  * @memberof StoreProductChildRequest
114
114
  */
115
115
  isOversized: boolean;
116
- /**
117
- *
118
- * @type {number}
119
- * @memberof StoreProductChildRequest
120
- */
121
- netsuiteId?: number;
122
116
  /**
123
117
  *
124
118
  * @type {number}
@@ -204,7 +198,6 @@ export function StoreProductChildRequestFromJSONTyped(json: any, ignoreDiscrimin
204
198
  'excludeFromSearch': json['exclude_from_search'],
205
199
  'allowOversell': json['allow_oversell'],
206
200
  'isOversized': json['is_oversized'],
207
- 'netsuiteId': json['netsuite_id'] == null ? undefined : json['netsuite_id'],
208
201
  'popularityScore': json['popularity_score'] == null ? undefined : json['popularity_score'],
209
202
  'stock': json['stock'],
210
203
  'sites': ((json['sites'] as Array<any>).map(StoreProductChildRequestSitesInnerFromJSON)),
@@ -238,7 +231,6 @@ export function StoreProductChildRequestToJSONTyped(value?: StoreProductChildReq
238
231
  'exclude_from_search': value['excludeFromSearch'],
239
232
  'allow_oversell': value['allowOversell'],
240
233
  'is_oversized': value['isOversized'],
241
- 'netsuite_id': value['netsuiteId'],
242
234
  'popularity_score': value['popularityScore'],
243
235
  'stock': value['stock'],
244
236
  'sites': ((value['sites'] as Array<any>).map(StoreProductChildRequestSitesInnerToJSON)),
@@ -100,12 +100,6 @@ export interface UpdateProductChildRequest {
100
100
  * @memberof UpdateProductChildRequest
101
101
  */
102
102
  isOversized: boolean;
103
- /**
104
- *
105
- * @type {number}
106
- * @memberof UpdateProductChildRequest
107
- */
108
- netsuiteId?: number;
109
103
  /**
110
104
  *
111
105
  * @type {number}
@@ -177,7 +171,6 @@ export function UpdateProductChildRequestFromJSONTyped(json: any, ignoreDiscrimi
177
171
  'excludeFromSearch': json['exclude_from_search'],
178
172
  'allowOversell': json['allow_oversell'],
179
173
  'isOversized': json['is_oversized'],
180
- 'netsuiteId': json['netsuite_id'] == null ? undefined : json['netsuite_id'],
181
174
  'popularityScore': json['popularity_score'] == null ? undefined : json['popularity_score'],
182
175
  'stock': json['stock'],
183
176
  'sites': ((json['sites'] as Array<any>).map(StoreProductChildRequestSitesInnerFromJSON)),
@@ -208,7 +201,6 @@ export function UpdateProductChildRequestToJSONTyped(value?: UpdateProductChildR
208
201
  'exclude_from_search': value['excludeFromSearch'],
209
202
  'allow_oversell': value['allowOversell'],
210
203
  'is_oversized': value['isOversized'],
211
- 'netsuite_id': value['netsuiteId'],
212
204
  'popularity_score': value['popularityScore'],
213
205
  'stock': value['stock'],
214
206
  'sites': ((value['sites'] as Array<any>).map(StoreProductChildRequestSitesInnerToJSON)),