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

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.500
1
+ # @digital8/lighting-illusions-ts-sdk@0.0.501
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.500`
364
+ - Package version: `0.0.501`
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;
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']),
@@ -51,18 +51,6 @@ 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>;
66
54
  /**
67
55
  *
68
56
  * @type {Array<string>}
@@ -73,8 +73,6 @@ 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'],
78
76
  'siteDetailsSiteId': json['siteDetails-site_id'] == null ? undefined : json['siteDetails-site_id'],
79
77
  'isDisabled': json['is_disabled'] == null ? undefined : json['is_disabled'],
80
78
  'hasNetsuiteId': json['has_netsuite_id'] == null ? undefined : json['has_netsuite_id'],
@@ -95,8 +93,6 @@ function GetAllProductChildRequestToJSONTyped(value, ignoreDiscriminator) {
95
93
  'related_id': value['relatedId'],
96
94
  'related_type': value['relatedType'],
97
95
  'includes_relations': value['includesRelations'],
98
- 'parent-product_type_id': value['parentProductTypeId'],
99
- 'parent-supplier_id': value['parentSupplierId'],
100
96
  'siteDetails-site_id': value['siteDetailsSiteId'],
101
97
  'is_disabled': value['isDisabled'],
102
98
  'has_netsuite_id': value['hasNetsuiteId'],
@@ -45,18 +45,6 @@ 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>;
60
48
  /**
61
49
  *
62
50
  * @type {Array<string>}
@@ -131,6 +119,8 @@ export declare const IndexProductChildRequestRelatedTypeEnum: {
131
119
  readonly Document: "document";
132
120
  readonly Attribute: "attribute";
133
121
  readonly AttributeValue: "attributeValue";
122
+ readonly ProductType: "productType";
123
+ readonly Site: "site";
134
124
  };
135
125
  export type IndexProductChildRequestRelatedTypeEnum = typeof IndexProductChildRequestRelatedTypeEnum[keyof typeof IndexProductChildRequestRelatedTypeEnum];
136
126
  /**
@@ -53,7 +53,9 @@ exports.IndexProductChildRequestRelatedTypeEnum = {
53
53
  Tag: 'tag',
54
54
  Document: 'document',
55
55
  Attribute: 'attribute',
56
- AttributeValue: 'attributeValue'
56
+ AttributeValue: 'attributeValue',
57
+ ProductType: 'productType',
58
+ Site: 'site'
57
59
  };
58
60
  /**
59
61
  * Check if a given object implements the IndexProductChildRequest interface.
@@ -74,8 +76,6 @@ function IndexProductChildRequestFromJSONTyped(json, ignoreDiscriminator) {
74
76
  'sortDirection': json['sortDirection'] == null ? undefined : json['sortDirection'],
75
77
  'perPage': json['per_page'] == null ? undefined : json['per_page'],
76
78
  '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,8 +98,6 @@ 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'],
103
101
  'siteDetails-site_id': value['siteDetailsSiteId'],
104
102
  'is_disabled': value['isDisabled'],
105
103
  'has_netsuite_id': value['hasNetsuiteId'],
@@ -12,8 +12,6 @@ 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;
17
15
  `siteDetailsSiteId` | Array&lt;string&gt;
18
16
  `isDisabled` | Array&lt;string&gt;
19
17
  `hasNetsuiteId` | Array&lt;string&gt;
@@ -31,8 +29,6 @@ const example = {
31
29
  "relatedId": null,
32
30
  "relatedType": null,
33
31
  "includesRelations": null,
34
- "parentProductTypeId": null,
35
- "parentSupplierId": null,
36
32
  "siteDetailsSiteId": null,
37
33
  "isDisabled": null,
38
34
  "hasNetsuiteId": null,
@@ -11,8 +11,6 @@ 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;
16
14
  `siteDetailsSiteId` | Array&lt;string&gt;
17
15
  `isDisabled` | Array&lt;string&gt;
18
16
  `hasNetsuiteId` | Array&lt;string&gt;
@@ -32,8 +30,6 @@ const example = {
32
30
  "sortDirection": null,
33
31
  "perPage": null,
34
32
  "page": null,
35
- "parentProductTypeId": null,
36
- "parentSupplierId": null,
37
33
  "siteDetailsSiteId": null,
38
34
  "isDisabled": null,
39
35
  "hasNetsuiteId": null,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@digital8/lighting-illusions-ts-sdk",
3
- "version": "0.0.500",
3
+ "version": "0.0.501",
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']),
@@ -55,18 +55,6 @@ 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>;
70
58
  /**
71
59
  *
72
60
  * @type {Array<string>}
@@ -152,8 +140,6 @@ export function GetAllProductChildRequestFromJSONTyped(json: any, ignoreDiscrimi
152
140
  'relatedId': json['related_id'] == null ? undefined : json['related_id'],
153
141
  'relatedType': json['related_type'] == null ? undefined : json['related_type'],
154
142
  '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'],
157
143
  'siteDetailsSiteId': json['siteDetails-site_id'] == null ? undefined : json['siteDetails-site_id'],
158
144
  'isDisabled': json['is_disabled'] == null ? undefined : json['is_disabled'],
159
145
  'hasNetsuiteId': json['has_netsuite_id'] == null ? undefined : json['has_netsuite_id'],
@@ -177,8 +163,6 @@ export function GetAllProductChildRequestToJSONTyped(value?: GetAllProductChildR
177
163
  'related_id': value['relatedId'],
178
164
  'related_type': value['relatedType'],
179
165
  'includes_relations': value['includesRelations'],
180
- 'parent-product_type_id': value['parentProductTypeId'],
181
- 'parent-supplier_id': value['parentSupplierId'],
182
166
  'siteDetails-site_id': value['siteDetailsSiteId'],
183
167
  'is_disabled': value['isDisabled'],
184
168
  'has_netsuite_id': value['hasNetsuiteId'],
@@ -49,18 +49,6 @@ 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>;
64
52
  /**
65
53
  *
66
54
  * @type {Array<string>}
@@ -138,7 +126,9 @@ export const IndexProductChildRequestRelatedTypeEnum = {
138
126
  Tag: 'tag',
139
127
  Document: 'document',
140
128
  Attribute: 'attribute',
141
- AttributeValue: 'attributeValue'
129
+ AttributeValue: 'attributeValue',
130
+ ProductType: 'productType',
131
+ Site: 'site'
142
132
  } as const;
143
133
  export type IndexProductChildRequestRelatedTypeEnum = typeof IndexProductChildRequestRelatedTypeEnum[keyof typeof IndexProductChildRequestRelatedTypeEnum];
144
134
 
@@ -165,8 +155,6 @@ export function IndexProductChildRequestFromJSONTyped(json: any, ignoreDiscrimin
165
155
  'sortDirection': json['sortDirection'] == null ? undefined : json['sortDirection'],
166
156
  'perPage': json['per_page'] == null ? undefined : json['per_page'],
167
157
  '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'],
170
158
  'siteDetailsSiteId': json['siteDetails-site_id'] == null ? undefined : json['siteDetails-site_id'],
171
159
  'isDisabled': json['is_disabled'] == null ? undefined : json['is_disabled'],
172
160
  'hasNetsuiteId': json['has_netsuite_id'] == null ? undefined : json['has_netsuite_id'],
@@ -192,8 +180,6 @@ export function IndexProductChildRequestToJSONTyped(value?: IndexProductChildReq
192
180
  'sortDirection': value['sortDirection'],
193
181
  'per_page': value['perPage'],
194
182
  'page': value['page'],
195
- 'parent-product_type_id': value['parentProductTypeId'],
196
- 'parent-supplier_id': value['parentSupplierId'],
197
183
  'siteDetails-site_id': value['siteDetailsSiteId'],
198
184
  'is_disabled': value['isDisabled'],
199
185
  'has_netsuite_id': value['hasNetsuiteId'],