@digital8/lighting-illusions-ts-sdk 0.0.816 → 0.0.817

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.816
1
+ # @digital8/lighting-illusions-ts-sdk@0.0.817
2
2
 
3
3
  A TypeScript SDK client for the localhost API.
4
4
 
@@ -463,7 +463,7 @@ and is automatically generated by the
463
463
  [OpenAPI Generator](https://openapi-generator.tech) project:
464
464
 
465
465
  - API version: `1.0.0`
466
- - Package version: `0.0.816`
466
+ - Package version: `0.0.817`
467
467
  - Generator version: `7.19.0`
468
468
  - Build package: `org.openapitools.codegen.languages.TypeScriptFetchClientCodegen`
469
469
 
@@ -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']),
@@ -26,7 +26,7 @@ export interface StoreProductChildRequestAttributeValuesInner {
26
26
  * @type {Array<number>}
27
27
  * @memberof StoreProductChildRequestAttributeValuesInner
28
28
  */
29
- attributeValueIds: Array<number>;
29
+ attributeValueIds?: Array<number>;
30
30
  /**
31
31
  *
32
32
  * @type {string}
@@ -24,8 +24,6 @@ exports.StoreProductChildRequestAttributeValuesInnerToJSONTyped = StoreProductCh
24
24
  function instanceOfStoreProductChildRequestAttributeValuesInner(value) {
25
25
  if (!('attributeId' in value) || value['attributeId'] === undefined)
26
26
  return false;
27
- if (!('attributeValueIds' in value) || value['attributeValueIds'] === undefined)
28
- return false;
29
27
  return true;
30
28
  }
31
29
  function StoreProductChildRequestAttributeValuesInnerFromJSON(json) {
@@ -37,7 +35,7 @@ function StoreProductChildRequestAttributeValuesInnerFromJSONTyped(json, ignoreD
37
35
  }
38
36
  return {
39
37
  'attributeId': json['attribute_id'],
40
- 'attributeValueIds': json['attribute_value_ids'],
38
+ 'attributeValueIds': json['attribute_value_ids'] == null ? undefined : json['attribute_value_ids'],
41
39
  'value': json['value'] == null ? undefined : json['value'],
42
40
  };
43
41
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@digital8/lighting-illusions-ts-sdk",
3
- "version": "0.0.816",
3
+ "version": "0.0.817",
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']),
@@ -30,7 +30,7 @@ export interface StoreProductChildRequestAttributeValuesInner {
30
30
  * @type {Array<number>}
31
31
  * @memberof StoreProductChildRequestAttributeValuesInner
32
32
  */
33
- attributeValueIds: Array<number>;
33
+ attributeValueIds?: Array<number>;
34
34
  /**
35
35
  *
36
36
  * @type {string}
@@ -44,7 +44,6 @@ export interface StoreProductChildRequestAttributeValuesInner {
44
44
  */
45
45
  export function instanceOfStoreProductChildRequestAttributeValuesInner(value: object): value is StoreProductChildRequestAttributeValuesInner {
46
46
  if (!('attributeId' in value) || value['attributeId'] === undefined) return false;
47
- if (!('attributeValueIds' in value) || value['attributeValueIds'] === undefined) return false;
48
47
  return true;
49
48
  }
50
49
 
@@ -59,7 +58,7 @@ export function StoreProductChildRequestAttributeValuesInnerFromJSONTyped(json:
59
58
  return {
60
59
 
61
60
  'attributeId': json['attribute_id'],
62
- 'attributeValueIds': json['attribute_value_ids'],
61
+ 'attributeValueIds': json['attribute_value_ids'] == null ? undefined : json['attribute_value_ids'],
63
62
  'value': json['value'] == null ? undefined : json['value'],
64
63
  };
65
64
  }