@digital8/lighting-illusions-ts-sdk 0.0.499 → 0.0.500

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.499
1
+ # @digital8/lighting-illusions-ts-sdk@0.0.500
2
2
 
3
3
  A TypeScript SDK client for the localhost API.
4
4
 
@@ -361,7 +361,7 @@ and is automatically generated by the
361
361
  [OpenAPI Generator](https://openapi-generator.tech) project:
362
362
 
363
363
  - API version: `1.0.0`
364
- - Package version: `0.0.499`
364
+ - Package version: `0.0.500`
365
365
  - Generator version: `7.17.0`
366
366
  - Build package: `org.openapitools.codegen.languages.TypeScriptFetchClientCodegen`
367
367
 
@@ -63,7 +63,7 @@ export interface ExternalApiLogResource {
63
63
  * @type {string}
64
64
  * @memberof ExternalApiLogResource
65
65
  */
66
- requestPayload?: string | null;
66
+ requestPayload: string;
67
67
  /**
68
68
  *
69
69
  * @type {string}
@@ -37,6 +37,8 @@ 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;
40
42
  if (!('responsePayload' in value) || value['responsePayload'] === undefined)
41
43
  return false;
42
44
  if (!('site' in value) || value['site'] === undefined)
@@ -58,7 +60,7 @@ function ExternalApiLogResourceFromJSONTyped(json, ignoreDiscriminator) {
58
60
  'exteranlApiLoggableId': json['exteranlApiLoggableId'],
59
61
  'endpoint': json['endpoint'],
60
62
  'responseCode': json['responseCode'],
61
- 'requestPayload': json['requestPayload'] == null ? undefined : json['requestPayload'],
63
+ 'requestPayload': json['requestPayload'],
62
64
  'responsePayload': json['responsePayload'],
63
65
  'createdAt': json['createdAt'] == null ? undefined : json['createdAt'],
64
66
  'site': (0, SiteLiteResource_1.SiteLiteResourceFromJSON)(json['site']),
@@ -51,6 +51,18 @@ export interface GetAllProductChildRequest {
51
51
  * @memberof GetAllProductChildRequest
52
52
  */
53
53
  includesRelations?: boolean;
54
+ /**
55
+ *
56
+ * @type {Array<string>}
57
+ * @memberof GetAllProductChildRequest
58
+ */
59
+ parentProductTypeId?: Array<string>;
60
+ /**
61
+ *
62
+ * @type {Array<string>}
63
+ * @memberof GetAllProductChildRequest
64
+ */
65
+ parentSupplierId?: Array<string>;
54
66
  /**
55
67
  *
56
68
  * @type {Array<string>}
@@ -73,6 +73,8 @@ function GetAllProductChildRequestFromJSONTyped(json, ignoreDiscriminator) {
73
73
  'relatedId': json['related_id'] == null ? undefined : json['related_id'],
74
74
  'relatedType': json['related_type'] == null ? undefined : json['related_type'],
75
75
  'includesRelations': json['includes_relations'] == null ? undefined : json['includes_relations'],
76
+ 'parentProductTypeId': json['parent-product_type_id'] == null ? undefined : json['parent-product_type_id'],
77
+ 'parentSupplierId': json['parent-supplier_id'] == null ? undefined : json['parent-supplier_id'],
76
78
  'siteDetailsSiteId': json['siteDetails-site_id'] == null ? undefined : json['siteDetails-site_id'],
77
79
  'isDisabled': json['is_disabled'] == null ? undefined : json['is_disabled'],
78
80
  'hasNetsuiteId': json['has_netsuite_id'] == null ? undefined : json['has_netsuite_id'],
@@ -93,6 +95,8 @@ function GetAllProductChildRequestToJSONTyped(value, ignoreDiscriminator) {
93
95
  'related_id': value['relatedId'],
94
96
  'related_type': value['relatedType'],
95
97
  'includes_relations': value['includesRelations'],
98
+ 'parent-product_type_id': value['parentProductTypeId'],
99
+ 'parent-supplier_id': value['parentSupplierId'],
96
100
  'siteDetails-site_id': value['siteDetailsSiteId'],
97
101
  'is_disabled': value['isDisabled'],
98
102
  'has_netsuite_id': value['hasNetsuiteId'],
@@ -45,6 +45,18 @@ export interface IndexProductChildRequest {
45
45
  * @memberof IndexProductChildRequest
46
46
  */
47
47
  page?: number;
48
+ /**
49
+ *
50
+ * @type {Array<string>}
51
+ * @memberof IndexProductChildRequest
52
+ */
53
+ parentProductTypeId?: Array<string>;
54
+ /**
55
+ *
56
+ * @type {Array<string>}
57
+ * @memberof IndexProductChildRequest
58
+ */
59
+ parentSupplierId?: Array<string>;
48
60
  /**
49
61
  *
50
62
  * @type {Array<string>}
@@ -119,8 +131,6 @@ export declare const IndexProductChildRequestRelatedTypeEnum: {
119
131
  readonly Document: "document";
120
132
  readonly Attribute: "attribute";
121
133
  readonly AttributeValue: "attributeValue";
122
- readonly ProductType: "productType";
123
- readonly Site: "site";
124
134
  };
125
135
  export type IndexProductChildRequestRelatedTypeEnum = typeof IndexProductChildRequestRelatedTypeEnum[keyof typeof IndexProductChildRequestRelatedTypeEnum];
126
136
  /**
@@ -53,9 +53,7 @@ exports.IndexProductChildRequestRelatedTypeEnum = {
53
53
  Tag: 'tag',
54
54
  Document: 'document',
55
55
  Attribute: 'attribute',
56
- AttributeValue: 'attributeValue',
57
- ProductType: 'productType',
58
- Site: 'site'
56
+ AttributeValue: 'attributeValue'
59
57
  };
60
58
  /**
61
59
  * Check if a given object implements the IndexProductChildRequest interface.
@@ -76,6 +74,8 @@ function IndexProductChildRequestFromJSONTyped(json, ignoreDiscriminator) {
76
74
  'sortDirection': json['sortDirection'] == null ? undefined : json['sortDirection'],
77
75
  'perPage': json['per_page'] == null ? undefined : json['per_page'],
78
76
  'page': json['page'] == null ? undefined : json['page'],
77
+ 'parentProductTypeId': json['parent-product_type_id'] == null ? undefined : json['parent-product_type_id'],
78
+ 'parentSupplierId': json['parent-supplier_id'] == null ? undefined : json['parent-supplier_id'],
79
79
  'siteDetailsSiteId': json['siteDetails-site_id'] == null ? undefined : json['siteDetails-site_id'],
80
80
  'isDisabled': json['is_disabled'] == null ? undefined : json['is_disabled'],
81
81
  'hasNetsuiteId': json['has_netsuite_id'] == null ? undefined : json['has_netsuite_id'],
@@ -98,6 +98,8 @@ function IndexProductChildRequestToJSONTyped(value, ignoreDiscriminator) {
98
98
  'sortDirection': value['sortDirection'],
99
99
  'per_page': value['perPage'],
100
100
  'page': value['page'],
101
+ 'parent-product_type_id': value['parentProductTypeId'],
102
+ 'parent-supplier_id': value['parentSupplierId'],
101
103
  'siteDetails-site_id': value['siteDetailsSiteId'],
102
104
  'is_disabled': value['isDisabled'],
103
105
  'has_netsuite_id': value['hasNetsuiteId'],
@@ -12,6 +12,8 @@ Name | Type
12
12
  `relatedId` | number
13
13
  `relatedType` | string
14
14
  `includesRelations` | boolean
15
+ `parentProductTypeId` | Array&lt;string&gt;
16
+ `parentSupplierId` | Array&lt;string&gt;
15
17
  `siteDetailsSiteId` | Array&lt;string&gt;
16
18
  `isDisabled` | Array&lt;string&gt;
17
19
  `hasNetsuiteId` | Array&lt;string&gt;
@@ -29,6 +31,8 @@ const example = {
29
31
  "relatedId": null,
30
32
  "relatedType": null,
31
33
  "includesRelations": null,
34
+ "parentProductTypeId": null,
35
+ "parentSupplierId": null,
32
36
  "siteDetailsSiteId": null,
33
37
  "isDisabled": null,
34
38
  "hasNetsuiteId": null,
@@ -11,6 +11,8 @@ Name | Type
11
11
  `sortDirection` | string
12
12
  `perPage` | number
13
13
  `page` | number
14
+ `parentProductTypeId` | Array&lt;string&gt;
15
+ `parentSupplierId` | Array&lt;string&gt;
14
16
  `siteDetailsSiteId` | Array&lt;string&gt;
15
17
  `isDisabled` | Array&lt;string&gt;
16
18
  `hasNetsuiteId` | Array&lt;string&gt;
@@ -30,6 +32,8 @@ const example = {
30
32
  "sortDirection": null,
31
33
  "perPage": null,
32
34
  "page": null,
35
+ "parentProductTypeId": null,
36
+ "parentSupplierId": null,
33
37
  "siteDetailsSiteId": null,
34
38
  "isDisabled": null,
35
39
  "hasNetsuiteId": null,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@digital8/lighting-illusions-ts-sdk",
3
- "version": "0.0.499",
3
+ "version": "0.0.500",
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 | null;
77
+ requestPayload: string;
78
78
  /**
79
79
  *
80
80
  * @type {string}
@@ -106,6 +106,7 @@ 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;
109
110
  if (!('responsePayload' in value) || value['responsePayload'] === undefined) return false;
110
111
  if (!('site' in value) || value['site'] === undefined) return false;
111
112
  return true;
@@ -128,7 +129,7 @@ export function ExternalApiLogResourceFromJSONTyped(json: any, ignoreDiscriminat
128
129
  'exteranlApiLoggableId': json['exteranlApiLoggableId'],
129
130
  'endpoint': json['endpoint'],
130
131
  'responseCode': json['responseCode'],
131
- 'requestPayload': json['requestPayload'] == null ? undefined : json['requestPayload'],
132
+ 'requestPayload': json['requestPayload'],
132
133
  'responsePayload': json['responsePayload'],
133
134
  'createdAt': json['createdAt'] == null ? undefined : json['createdAt'],
134
135
  'site': SiteLiteResourceFromJSON(json['site']),
@@ -55,6 +55,18 @@ export interface GetAllProductChildRequest {
55
55
  * @memberof GetAllProductChildRequest
56
56
  */
57
57
  includesRelations?: boolean;
58
+ /**
59
+ *
60
+ * @type {Array<string>}
61
+ * @memberof GetAllProductChildRequest
62
+ */
63
+ parentProductTypeId?: Array<string>;
64
+ /**
65
+ *
66
+ * @type {Array<string>}
67
+ * @memberof GetAllProductChildRequest
68
+ */
69
+ parentSupplierId?: Array<string>;
58
70
  /**
59
71
  *
60
72
  * @type {Array<string>}
@@ -140,6 +152,8 @@ export function GetAllProductChildRequestFromJSONTyped(json: any, ignoreDiscrimi
140
152
  'relatedId': json['related_id'] == null ? undefined : json['related_id'],
141
153
  'relatedType': json['related_type'] == null ? undefined : json['related_type'],
142
154
  'includesRelations': json['includes_relations'] == null ? undefined : json['includes_relations'],
155
+ 'parentProductTypeId': json['parent-product_type_id'] == null ? undefined : json['parent-product_type_id'],
156
+ 'parentSupplierId': json['parent-supplier_id'] == null ? undefined : json['parent-supplier_id'],
143
157
  'siteDetailsSiteId': json['siteDetails-site_id'] == null ? undefined : json['siteDetails-site_id'],
144
158
  'isDisabled': json['is_disabled'] == null ? undefined : json['is_disabled'],
145
159
  'hasNetsuiteId': json['has_netsuite_id'] == null ? undefined : json['has_netsuite_id'],
@@ -163,6 +177,8 @@ export function GetAllProductChildRequestToJSONTyped(value?: GetAllProductChildR
163
177
  'related_id': value['relatedId'],
164
178
  'related_type': value['relatedType'],
165
179
  'includes_relations': value['includesRelations'],
180
+ 'parent-product_type_id': value['parentProductTypeId'],
181
+ 'parent-supplier_id': value['parentSupplierId'],
166
182
  'siteDetails-site_id': value['siteDetailsSiteId'],
167
183
  'is_disabled': value['isDisabled'],
168
184
  'has_netsuite_id': value['hasNetsuiteId'],
@@ -49,6 +49,18 @@ export interface IndexProductChildRequest {
49
49
  * @memberof IndexProductChildRequest
50
50
  */
51
51
  page?: number;
52
+ /**
53
+ *
54
+ * @type {Array<string>}
55
+ * @memberof IndexProductChildRequest
56
+ */
57
+ parentProductTypeId?: Array<string>;
58
+ /**
59
+ *
60
+ * @type {Array<string>}
61
+ * @memberof IndexProductChildRequest
62
+ */
63
+ parentSupplierId?: Array<string>;
52
64
  /**
53
65
  *
54
66
  * @type {Array<string>}
@@ -126,9 +138,7 @@ export const IndexProductChildRequestRelatedTypeEnum = {
126
138
  Tag: 'tag',
127
139
  Document: 'document',
128
140
  Attribute: 'attribute',
129
- AttributeValue: 'attributeValue',
130
- ProductType: 'productType',
131
- Site: 'site'
141
+ AttributeValue: 'attributeValue'
132
142
  } as const;
133
143
  export type IndexProductChildRequestRelatedTypeEnum = typeof IndexProductChildRequestRelatedTypeEnum[keyof typeof IndexProductChildRequestRelatedTypeEnum];
134
144
 
@@ -155,6 +165,8 @@ export function IndexProductChildRequestFromJSONTyped(json: any, ignoreDiscrimin
155
165
  'sortDirection': json['sortDirection'] == null ? undefined : json['sortDirection'],
156
166
  'perPage': json['per_page'] == null ? undefined : json['per_page'],
157
167
  'page': json['page'] == null ? undefined : json['page'],
168
+ 'parentProductTypeId': json['parent-product_type_id'] == null ? undefined : json['parent-product_type_id'],
169
+ 'parentSupplierId': json['parent-supplier_id'] == null ? undefined : json['parent-supplier_id'],
158
170
  'siteDetailsSiteId': json['siteDetails-site_id'] == null ? undefined : json['siteDetails-site_id'],
159
171
  'isDisabled': json['is_disabled'] == null ? undefined : json['is_disabled'],
160
172
  'hasNetsuiteId': json['has_netsuite_id'] == null ? undefined : json['has_netsuite_id'],
@@ -180,6 +192,8 @@ export function IndexProductChildRequestToJSONTyped(value?: IndexProductChildReq
180
192
  'sortDirection': value['sortDirection'],
181
193
  'per_page': value['perPage'],
182
194
  'page': value['page'],
195
+ 'parent-product_type_id': value['parentProductTypeId'],
196
+ 'parent-supplier_id': value['parentSupplierId'],
183
197
  'siteDetails-site_id': value['siteDetailsSiteId'],
184
198
  'is_disabled': value['isDisabled'],
185
199
  'has_netsuite_id': value['hasNetsuiteId'],