@digital8/lighting-illusions-ts-sdk 0.0.924 → 0.0.926

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.924
1
+ # @digital8/lighting-illusions-ts-sdk@0.0.926
2
2
 
3
3
  A TypeScript SDK client for the localhost API.
4
4
 
@@ -464,7 +464,7 @@ and is automatically generated by the
464
464
  [OpenAPI Generator](https://openapi-generator.tech) project:
465
465
 
466
466
  - API version: `1.0.0`
467
- - Package version: `0.0.924`
467
+ - Package version: `0.0.926`
468
468
  - Generator version: `7.19.0`
469
469
  - Build package: `org.openapitools.codegen.languages.TypeScriptFetchClientCodegen`
470
470
 
@@ -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']),
@@ -87,12 +87,6 @@ export interface GetAllProductChildRequest {
87
87
  * @memberof GetAllProductChildRequest
88
88
  */
89
89
  productTypeId?: Array<string>;
90
- /**
91
- *
92
- * @type {Array<string>}
93
- * @memberof GetAllProductChildRequest
94
- */
95
- parentIsAccessory?: Array<string>;
96
90
  }
97
91
  /**
98
92
  * @export
@@ -78,7 +78,6 @@ function GetAllProductChildRequestFromJSONTyped(json, ignoreDiscriminator) {
78
78
  'categoryId': json['category-id'] == null ? undefined : json['category-id'],
79
79
  'supplierId': json['supplier-id'] == null ? undefined : json['supplier-id'],
80
80
  'productTypeId': json['productType-id'] == null ? undefined : json['productType-id'],
81
- 'parentIsAccessory': json['parent-is_accessory'] == null ? undefined : json['parent-is_accessory'],
82
81
  };
83
82
  }
84
83
  function GetAllProductChildRequestToJSON(json) {
@@ -102,6 +101,5 @@ function GetAllProductChildRequestToJSONTyped(value, ignoreDiscriminator) {
102
101
  'category-id': value['categoryId'],
103
102
  'supplier-id': value['supplierId'],
104
103
  'productType-id': value['productTypeId'],
105
- 'parent-is_accessory': value['parentIsAccessory'],
106
104
  };
107
105
  }
@@ -128,8 +128,6 @@ export type IndexProductCategoryRequestSortDirectionEnum = typeof IndexProductCa
128
128
  export declare const IndexProductCategoryRequestRelatedTypeEnum: {
129
129
  readonly Product: "product";
130
130
  readonly ProductChildSiteDetail: "productChildSiteDetail";
131
- readonly Attribute: "attribute";
132
- readonly AttributeValue: "attributeValue";
133
131
  };
134
132
  export type IndexProductCategoryRequestRelatedTypeEnum = typeof IndexProductCategoryRequestRelatedTypeEnum[keyof typeof IndexProductCategoryRequestRelatedTypeEnum];
135
133
  /**
@@ -44,9 +44,7 @@ exports.IndexProductCategoryRequestSortDirectionEnum = {
44
44
  */
45
45
  exports.IndexProductCategoryRequestRelatedTypeEnum = {
46
46
  Product: 'product',
47
- ProductChildSiteDetail: 'productChildSiteDetail',
48
- Attribute: 'attribute',
49
- AttributeValue: 'attributeValue'
47
+ ProductChildSiteDetail: 'productChildSiteDetail'
50
48
  };
51
49
  /**
52
50
  * Check if a given object implements the IndexProductCategoryRequest interface.
@@ -81,12 +81,6 @@ export interface IndexProductChildRequest {
81
81
  * @memberof IndexProductChildRequest
82
82
  */
83
83
  productTypeId?: Array<string>;
84
- /**
85
- *
86
- * @type {Array<string>}
87
- * @memberof IndexProductChildRequest
88
- */
89
- parentIsAccessory?: Array<string>;
90
84
  /**
91
85
  *
92
86
  * @type {number}
@@ -85,7 +85,6 @@ function IndexProductChildRequestFromJSONTyped(json, ignoreDiscriminator) {
85
85
  'categoryId': json['category-id'] == null ? undefined : json['category-id'],
86
86
  'supplierId': json['supplier-id'] == null ? undefined : json['supplier-id'],
87
87
  'productTypeId': json['productType-id'] == null ? undefined : json['productType-id'],
88
- 'parentIsAccessory': json['parent-is_accessory'] == null ? undefined : json['parent-is_accessory'],
89
88
  'relatedId': json['related_id'] == null ? undefined : json['related_id'],
90
89
  'relatedType': json['related_type'] == null ? undefined : json['related_type'],
91
90
  'includesRelations': json['includes_relations'] == null ? undefined : json['includes_relations'],
@@ -111,7 +110,6 @@ function IndexProductChildRequestToJSONTyped(value, ignoreDiscriminator) {
111
110
  'category-id': value['categoryId'],
112
111
  'supplier-id': value['supplierId'],
113
112
  'productType-id': value['productTypeId'],
114
- 'parent-is_accessory': value['parentIsAccessory'],
115
113
  'related_id': value['relatedId'],
116
114
  'related_type': value['relatedType'],
117
115
  'includes_relations': value['includesRelations'],
@@ -110,12 +110,6 @@ export interface ProductCategoryResource {
110
110
  * @memberof ProductCategoryResource
111
111
  */
112
112
  descriptions: Array<DescriptionResource> | null;
113
- /**
114
- *
115
- * @type {number}
116
- * @memberof ProductCategoryResource
117
- */
118
- linkedProductsCount: number;
119
113
  }
120
114
  /**
121
115
  * Check if a given object implements the ProductCategoryResource interface.
@@ -51,8 +51,6 @@ function instanceOfProductCategoryResource(value) {
51
51
  return false;
52
52
  if (!('descriptions' in value) || value['descriptions'] === undefined)
53
53
  return false;
54
- if (!('linkedProductsCount' in value) || value['linkedProductsCount'] === undefined)
55
- return false;
56
54
  return true;
57
55
  }
58
56
  function ProductCategoryResourceFromJSON(json) {
@@ -78,7 +76,6 @@ function ProductCategoryResourceFromJSONTyped(json, ignoreDiscriminator) {
78
76
  'site': (0, SiteLiteResource_1.SiteLiteResourceFromJSON)(json['site']),
79
77
  'seo': (json['seo'] == null ? null : json['seo'].map(SEOResource_1.SEOResourceFromJSON)),
80
78
  'descriptions': (json['descriptions'] == null ? null : json['descriptions'].map(DescriptionResource_1.DescriptionResourceFromJSON)),
81
- 'linkedProductsCount': json['linkedProductsCount'],
82
79
  };
83
80
  }
84
81
  function ProductCategoryResourceToJSON(json) {
@@ -105,6 +102,5 @@ function ProductCategoryResourceToJSONTyped(value, ignoreDiscriminator) {
105
102
  'site': (0, SiteLiteResource_1.SiteLiteResourceToJSON)(value['site']),
106
103
  'seo': (value['seo'] == null ? null : value['seo'].map(SEOResource_1.SEOResourceToJSON)),
107
104
  'descriptions': (value['descriptions'] == null ? null : value['descriptions'].map(DescriptionResource_1.DescriptionResourceToJSON)),
108
- 'linkedProductsCount': value['linkedProductsCount'],
109
105
  };
110
106
  }
@@ -18,7 +18,6 @@ Name | Type
18
18
  `categoryId` | Array&lt;string&gt;
19
19
  `supplierId` | Array&lt;string&gt;
20
20
  `productTypeId` | Array&lt;string&gt;
21
- `parentIsAccessory` | Array&lt;string&gt;
22
21
 
23
22
  ## Example
24
23
 
@@ -39,7 +38,6 @@ const example = {
39
38
  "categoryId": null,
40
39
  "supplierId": null,
41
40
  "productTypeId": null,
42
- "parentIsAccessory": null,
43
41
  } satisfies GetAllProductChildRequest
44
42
 
45
43
  console.log(example)
@@ -17,7 +17,6 @@ Name | Type
17
17
  `categoryId` | Array&lt;string&gt;
18
18
  `supplierId` | Array&lt;string&gt;
19
19
  `productTypeId` | Array&lt;string&gt;
20
- `parentIsAccessory` | Array&lt;string&gt;
21
20
  `relatedId` | number
22
21
  `relatedType` | string
23
22
  `includesRelations` | boolean
@@ -40,7 +39,6 @@ const example = {
40
39
  "categoryId": null,
41
40
  "supplierId": null,
42
41
  "productTypeId": null,
43
- "parentIsAccessory": null,
44
42
  "relatedId": null,
45
43
  "relatedType": null,
46
44
  "includesRelations": null,
@@ -21,7 +21,6 @@ Name | Type
21
21
  `site` | [SiteLiteResource](SiteLiteResource.md)
22
22
  `seo` | [Array&lt;SEOResource&gt;](SEOResource.md)
23
23
  `descriptions` | [Array&lt;DescriptionResource&gt;](DescriptionResource.md)
24
- `linkedProductsCount` | number
25
24
 
26
25
  ## Example
27
26
 
@@ -45,7 +44,6 @@ const example = {
45
44
  "site": null,
46
45
  "seo": null,
47
46
  "descriptions": null,
48
- "linkedProductsCount": null,
49
47
  } satisfies ProductCategoryResource
50
48
 
51
49
  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.924",
3
+ "version": "0.0.926",
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']),
@@ -91,12 +91,6 @@ export interface GetAllProductChildRequest {
91
91
  * @memberof GetAllProductChildRequest
92
92
  */
93
93
  productTypeId?: Array<string>;
94
- /**
95
- *
96
- * @type {Array<string>}
97
- * @memberof GetAllProductChildRequest
98
- */
99
- parentIsAccessory?: Array<string>;
100
94
  }
101
95
 
102
96
 
@@ -169,7 +163,6 @@ export function GetAllProductChildRequestFromJSONTyped(json: any, ignoreDiscrimi
169
163
  'categoryId': json['category-id'] == null ? undefined : json['category-id'],
170
164
  'supplierId': json['supplier-id'] == null ? undefined : json['supplier-id'],
171
165
  'productTypeId': json['productType-id'] == null ? undefined : json['productType-id'],
172
- 'parentIsAccessory': json['parent-is_accessory'] == null ? undefined : json['parent-is_accessory'],
173
166
  };
174
167
  }
175
168
 
@@ -196,7 +189,6 @@ export function GetAllProductChildRequestToJSONTyped(value?: GetAllProductChildR
196
189
  'category-id': value['categoryId'],
197
190
  'supplier-id': value['supplierId'],
198
191
  'productType-id': value['productTypeId'],
199
- 'parent-is_accessory': value['parentIsAccessory'],
200
192
  };
201
193
  }
202
194
 
@@ -135,9 +135,7 @@ export type IndexProductCategoryRequestSortDirectionEnum = typeof IndexProductCa
135
135
  */
136
136
  export const IndexProductCategoryRequestRelatedTypeEnum = {
137
137
  Product: 'product',
138
- ProductChildSiteDetail: 'productChildSiteDetail',
139
- Attribute: 'attribute',
140
- AttributeValue: 'attributeValue'
138
+ ProductChildSiteDetail: 'productChildSiteDetail'
141
139
  } as const;
142
140
  export type IndexProductCategoryRequestRelatedTypeEnum = typeof IndexProductCategoryRequestRelatedTypeEnum[keyof typeof IndexProductCategoryRequestRelatedTypeEnum];
143
141
 
@@ -85,12 +85,6 @@ export interface IndexProductChildRequest {
85
85
  * @memberof IndexProductChildRequest
86
86
  */
87
87
  productTypeId?: Array<string>;
88
- /**
89
- *
90
- * @type {Array<string>}
91
- * @memberof IndexProductChildRequest
92
- */
93
- parentIsAccessory?: Array<string>;
94
88
  /**
95
89
  *
96
90
  * @type {number}
@@ -188,7 +182,6 @@ export function IndexProductChildRequestFromJSONTyped(json: any, ignoreDiscrimin
188
182
  'categoryId': json['category-id'] == null ? undefined : json['category-id'],
189
183
  'supplierId': json['supplier-id'] == null ? undefined : json['supplier-id'],
190
184
  'productTypeId': json['productType-id'] == null ? undefined : json['productType-id'],
191
- 'parentIsAccessory': json['parent-is_accessory'] == null ? undefined : json['parent-is_accessory'],
192
185
  'relatedId': json['related_id'] == null ? undefined : json['related_id'],
193
186
  'relatedType': json['related_type'] == null ? undefined : json['related_type'],
194
187
  'includesRelations': json['includes_relations'] == null ? undefined : json['includes_relations'],
@@ -217,7 +210,6 @@ export function IndexProductChildRequestToJSONTyped(value?: IndexProductChildReq
217
210
  'category-id': value['categoryId'],
218
211
  'supplier-id': value['supplierId'],
219
212
  'productType-id': value['productTypeId'],
220
- 'parent-is_accessory': value['parentIsAccessory'],
221
213
  'related_id': value['relatedId'],
222
214
  'related_type': value['relatedType'],
223
215
  'includes_relations': value['includesRelations'],
@@ -145,12 +145,6 @@ export interface ProductCategoryResource {
145
145
  * @memberof ProductCategoryResource
146
146
  */
147
147
  descriptions: Array<DescriptionResource> | null;
148
- /**
149
- *
150
- * @type {number}
151
- * @memberof ProductCategoryResource
152
- */
153
- linkedProductsCount: number;
154
148
  }
155
149
 
156
150
  /**
@@ -169,7 +163,6 @@ export function instanceOfProductCategoryResource(value: object): value is Produ
169
163
  if (!('site' in value) || value['site'] === undefined) return false;
170
164
  if (!('seo' in value) || value['seo'] === undefined) return false;
171
165
  if (!('descriptions' in value) || value['descriptions'] === undefined) return false;
172
- if (!('linkedProductsCount' in value) || value['linkedProductsCount'] === undefined) return false;
173
166
  return true;
174
167
  }
175
168
 
@@ -198,7 +191,6 @@ export function ProductCategoryResourceFromJSONTyped(json: any, ignoreDiscrimina
198
191
  'site': SiteLiteResourceFromJSON(json['site']),
199
192
  'seo': (json['seo'] == null ? null : (json['seo'] as Array<any>).map(SEOResourceFromJSON)),
200
193
  'descriptions': (json['descriptions'] == null ? null : (json['descriptions'] as Array<any>).map(DescriptionResourceFromJSON)),
201
- 'linkedProductsCount': json['linkedProductsCount'],
202
194
  };
203
195
  }
204
196
 
@@ -228,7 +220,6 @@ export function ProductCategoryResourceToJSONTyped(value?: ProductCategoryResour
228
220
  'site': SiteLiteResourceToJSON(value['site']),
229
221
  'seo': (value['seo'] == null ? null : (value['seo'] as Array<any>).map(SEOResourceToJSON)),
230
222
  'descriptions': (value['descriptions'] == null ? null : (value['descriptions'] as Array<any>).map(DescriptionResourceToJSON)),
231
- 'linkedProductsCount': value['linkedProductsCount'],
232
223
  };
233
224
  }
234
225