@digital8/lighting-illusions-ts-sdk 0.0.1395 → 0.0.1396

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.1395
1
+ # @digital8/lighting-illusions-ts-sdk@0.0.1396
2
2
 
3
3
  A TypeScript SDK client for the localhost API.
4
4
 
@@ -118,7 +118,7 @@ All URIs are relative to *http://localhost/api*
118
118
  *ProductApi* | [**getCompatibleProductsProductChild**](docs/ProductApi.md#getcompatibleproductsproductchild) | **POST** /admin-api/product/children/{productChild}/compatible-product/list | Auto-generated: getCompatibleProductsProductChild
119
119
  *ProductApi* | [**indexProduct**](docs/ProductApi.md#indexproductoperation) | **POST** /admin-api/product/parent/list | Auto-generated: indexProduct
120
120
  *ProductApi* | [**indexProductChild**](docs/ProductApi.md#indexproductchildoperation) | **POST** /admin-api/product/children/list | Auto-generated: indexProductChild
121
- *ProductApi* | [**showAssetsProductChild**](docs/ProductApi.md#showassetsproductchildoperation) | **GET** /admin-api/product/children/{productChild}/assets | Auto-generated: showAssetsProductChild
121
+ *ProductApi* | [**showAssetsProductChild**](docs/ProductApi.md#showassetsproductchildoperation) | **POST** /admin-api/product/children/{productChild}/assets | Auto-generated: showAssetsProductChild
122
122
  *ProductApi* | [**showAttributesProductChild**](docs/ProductApi.md#showattributesproductchildoperation) | **POST** /admin-api/product/children/{productChild}/attributes | Auto-generated: showAttributesProductChild
123
123
  *ProductApi* | [**showProduct**](docs/ProductApi.md#showproduct) | **GET** /admin-api/product/parent/{product} | Auto-generated: showProduct
124
124
  *ProductApi* | [**showProductChild**](docs/ProductApi.md#showproductchild) | **GET** /admin-api/product/children/{productChild} | Auto-generated: showProductChild
@@ -489,7 +489,7 @@ and is automatically generated by the
489
489
  [OpenAPI Generator](https://openapi-generator.tech) project:
490
490
 
491
491
  - API version: `1.0.0`
492
- - Package version: `0.0.1395`
492
+ - Package version: `0.0.1396`
493
493
  - Generator version: `7.20.0`
494
494
  - Build package: `org.openapitools.codegen.languages.TypeScriptFetchClientCodegen`
495
495
 
@@ -934,7 +934,7 @@ var ProductApi = /** @class */ (function (_super) {
934
934
  urlPath = urlPath.replace("{".concat("productChild", "}"), encodeURIComponent(String(requestParameters['productChild'])));
935
935
  return [2 /*return*/, {
936
936
  path: urlPath,
937
- method: 'GET',
937
+ method: 'POST',
938
938
  headers: headerParameters,
939
939
  query: queryParameters,
940
940
  body: (0, index_1.ShowAssetsProductChildRequestToJSON)(requestParameters['showAssetsProductChildRequest']),
@@ -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']),
@@ -18,7 +18,7 @@ All URIs are relative to *http://localhost/api*
18
18
  | [**getCompatibleProductsProductChild**](ProductApi.md#getcompatibleproductsproductchild) | **POST** /admin-api/product/children/{productChild}/compatible-product/list | Auto-generated: getCompatibleProductsProductChild |
19
19
  | [**indexProduct**](ProductApi.md#indexproductoperation) | **POST** /admin-api/product/parent/list | Auto-generated: indexProduct |
20
20
  | [**indexProductChild**](ProductApi.md#indexproductchildoperation) | **POST** /admin-api/product/children/list | Auto-generated: indexProductChild |
21
- | [**showAssetsProductChild**](ProductApi.md#showassetsproductchildoperation) | **GET** /admin-api/product/children/{productChild}/assets | Auto-generated: showAssetsProductChild |
21
+ | [**showAssetsProductChild**](ProductApi.md#showassetsproductchildoperation) | **POST** /admin-api/product/children/{productChild}/assets | Auto-generated: showAssetsProductChild |
22
22
  | [**showAttributesProductChild**](ProductApi.md#showattributesproductchildoperation) | **POST** /admin-api/product/children/{productChild}/attributes | Auto-generated: showAttributesProductChild |
23
23
  | [**showProduct**](ProductApi.md#showproduct) | **GET** /admin-api/product/parent/{product} | Auto-generated: showProduct |
24
24
  | [**showProductChild**](ProductApi.md#showproductchild) | **GET** /admin-api/product/children/{productChild} | Auto-generated: showProductChild |
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@digital8/lighting-illusions-ts-sdk",
3
- "version": "0.0.1395",
3
+ "version": "0.0.1396",
4
4
  "description": "OpenAPI client for @digital8/lighting-illusions-ts-sdk",
5
5
  "author": "OpenAPI-Generator",
6
6
  "repository": {
@@ -860,7 +860,7 @@ export class ProductApi extends runtime.BaseAPI {
860
860
 
861
861
  return {
862
862
  path: urlPath,
863
- method: 'GET',
863
+ method: 'POST',
864
864
  headers: headerParameters,
865
865
  query: queryParameters,
866
866
  body: ShowAssetsProductChildRequestToJSON(requestParameters['showAssetsProductChildRequest']),
@@ -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']),