@digital8/lighting-illusions-ts-sdk 0.0.550 → 0.0.552

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.550
1
+ # @digital8/lighting-illusions-ts-sdk@0.0.552
2
2
 
3
3
  A TypeScript SDK client for the localhost API.
4
4
 
@@ -410,7 +410,7 @@ and is automatically generated by the
410
410
  [OpenAPI Generator](https://openapi-generator.tech) project:
411
411
 
412
412
  - API version: `1.0.0`
413
- - Package version: `0.0.550`
413
+ - Package version: `0.0.552`
414
414
  - Generator version: `7.18.0`
415
415
  - Build package: `org.openapitools.codegen.languages.TypeScriptFetchClientCodegen`
416
416
 
@@ -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']),
@@ -87,6 +87,18 @@ export interface IndexProductCategoryRequest {
87
87
  * @memberof IndexProductCategoryRequest
88
88
  */
89
89
  includesRelations?: boolean;
90
+ /**
91
+ *
92
+ * @type {boolean}
93
+ * @memberof IndexProductCategoryRequest
94
+ */
95
+ isParent?: boolean;
96
+ /**
97
+ *
98
+ * @type {boolean}
99
+ * @memberof IndexProductCategoryRequest
100
+ */
101
+ isEmpty?: boolean;
90
102
  }
91
103
  /**
92
104
  * @export
@@ -71,6 +71,8 @@ function IndexProductCategoryRequestFromJSONTyped(json, ignoreDiscriminator) {
71
71
  'relatedId': json['related_id'] == null ? undefined : json['related_id'],
72
72
  'relatedType': json['related_type'] == null ? undefined : json['related_type'],
73
73
  'includesRelations': json['includes_relations'] == null ? undefined : json['includes_relations'],
74
+ 'isParent': json['is_parent'] == null ? undefined : json['is_parent'],
75
+ 'isEmpty': json['is_empty'] == null ? undefined : json['is_empty'],
74
76
  };
75
77
  }
76
78
  function IndexProductCategoryRequestToJSON(json) {
@@ -94,5 +96,7 @@ function IndexProductCategoryRequestToJSONTyped(value, ignoreDiscriminator) {
94
96
  'related_id': value['relatedId'],
95
97
  'related_type': value['relatedType'],
96
98
  'includes_relations': value['includesRelations'],
99
+ 'is_parent': value['isParent'],
100
+ 'is_empty': value['isEmpty'],
97
101
  };
98
102
  }
@@ -18,10 +18,10 @@ import type { StoreProductCategoryRequestAutomationRulesInner } from './StorePro
18
18
  export interface PreviewAutomationRulesProductCategoryRequest {
19
19
  /**
20
20
  *
21
- * @type {string}
21
+ * @type {number}
22
22
  * @memberof PreviewAutomationRulesProductCategoryRequest
23
23
  */
24
- siteId: string;
24
+ siteId: number;
25
25
  /**
26
26
  *
27
27
  * @type {string}
@@ -18,6 +18,8 @@ Name | Type
18
18
  `relatedId` | number
19
19
  `relatedType` | string
20
20
  `includesRelations` | boolean
21
+ `isParent` | boolean
22
+ `isEmpty` | boolean
21
23
 
22
24
  ## Example
23
25
 
@@ -38,6 +40,8 @@ const example = {
38
40
  "relatedId": null,
39
41
  "relatedType": null,
40
42
  "includesRelations": null,
43
+ "isParent": null,
44
+ "isEmpty": null,
41
45
  } satisfies IndexProductCategoryRequest
42
46
 
43
47
  console.log(example)
@@ -6,7 +6,7 @@
6
6
 
7
7
  Name | Type
8
8
  ------------ | -------------
9
- `siteId` | string
9
+ `siteId` | number
10
10
  `automatedConditionType` | string
11
11
  `automationRules` | [Array<StoreProductCategoryRequestAutomationRulesInner>](StoreProductCategoryRequestAutomationRulesInner.md)
12
12
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@digital8/lighting-illusions-ts-sdk",
3
- "version": "0.0.550",
3
+ "version": "0.0.552",
4
4
  "description": "OpenAPI client for @digital8/lighting-illusions-ts-sdk",
5
5
  "author": "OpenAPI-Generator",
6
6
  "repository": {
@@ -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']),
@@ -91,6 +91,18 @@ export interface IndexProductCategoryRequest {
91
91
  * @memberof IndexProductCategoryRequest
92
92
  */
93
93
  includesRelations?: boolean;
94
+ /**
95
+ *
96
+ * @type {boolean}
97
+ * @memberof IndexProductCategoryRequest
98
+ */
99
+ isParent?: boolean;
100
+ /**
101
+ *
102
+ * @type {boolean}
103
+ * @memberof IndexProductCategoryRequest
104
+ */
105
+ isEmpty?: boolean;
94
106
  }
95
107
 
96
108
 
@@ -156,6 +168,8 @@ export function IndexProductCategoryRequestFromJSONTyped(json: any, ignoreDiscri
156
168
  'relatedId': json['related_id'] == null ? undefined : json['related_id'],
157
169
  'relatedType': json['related_type'] == null ? undefined : json['related_type'],
158
170
  'includesRelations': json['includes_relations'] == null ? undefined : json['includes_relations'],
171
+ 'isParent': json['is_parent'] == null ? undefined : json['is_parent'],
172
+ 'isEmpty': json['is_empty'] == null ? undefined : json['is_empty'],
159
173
  };
160
174
  }
161
175
 
@@ -182,6 +196,8 @@ export function IndexProductCategoryRequestToJSONTyped(value?: IndexProductCateg
182
196
  'related_id': value['relatedId'],
183
197
  'related_type': value['relatedType'],
184
198
  'includes_relations': value['includesRelations'],
199
+ 'is_parent': value['isParent'],
200
+ 'is_empty': value['isEmpty'],
185
201
  };
186
202
  }
187
203
 
@@ -29,10 +29,10 @@ import {
29
29
  export interface PreviewAutomationRulesProductCategoryRequest {
30
30
  /**
31
31
  *
32
- * @type {string}
32
+ * @type {number}
33
33
  * @memberof PreviewAutomationRulesProductCategoryRequest
34
34
  */
35
- siteId: string;
35
+ siteId: number;
36
36
  /**
37
37
  *
38
38
  * @type {string}