@digital8/lighting-illusions-ts-sdk 0.0.834 → 0.0.836

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.834
1
+ # @digital8/lighting-illusions-ts-sdk@0.0.836
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.834`
466
+ - Package version: `0.0.836`
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 | 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']),
@@ -103,8 +103,6 @@ export type GetAllProductCategoryRequestSortDirectionEnum = typeof GetAllProduct
103
103
  */
104
104
  export declare const GetAllProductCategoryRequestRelatedTypeEnum: {
105
105
  readonly Product: "product";
106
- readonly Attribute: "attribute";
107
- readonly AttributeValue: "attributeValue";
108
106
  };
109
107
  export type GetAllProductCategoryRequestRelatedTypeEnum = typeof GetAllProductCategoryRequestRelatedTypeEnum[keyof typeof GetAllProductCategoryRequestRelatedTypeEnum];
110
108
  /**
@@ -43,9 +43,7 @@ exports.GetAllProductCategoryRequestSortDirectionEnum = {
43
43
  * @export
44
44
  */
45
45
  exports.GetAllProductCategoryRequestRelatedTypeEnum = {
46
- Product: 'product',
47
- Attribute: 'attribute',
48
- AttributeValue: 'attributeValue'
46
+ Product: 'product'
49
47
  };
50
48
  /**
51
49
  * Check if a given object implements the GetAllProductCategoryRequest interface.
@@ -127,8 +127,6 @@ export type IndexProductCategoryRequestSortDirectionEnum = typeof IndexProductCa
127
127
  */
128
128
  export declare const IndexProductCategoryRequestRelatedTypeEnum: {
129
129
  readonly Product: "product";
130
- readonly Attribute: "attribute";
131
- readonly AttributeValue: "attributeValue";
132
130
  };
133
131
  export type IndexProductCategoryRequestRelatedTypeEnum = typeof IndexProductCategoryRequestRelatedTypeEnum[keyof typeof IndexProductCategoryRequestRelatedTypeEnum];
134
132
  /**
@@ -43,9 +43,7 @@ exports.IndexProductCategoryRequestSortDirectionEnum = {
43
43
  * @export
44
44
  */
45
45
  exports.IndexProductCategoryRequestRelatedTypeEnum = {
46
- Product: 'product',
47
- Attribute: 'attribute',
48
- AttributeValue: 'attributeValue'
46
+ Product: 'product'
49
47
  };
50
48
  /**
51
49
  * Check if a given object implements the IndexProductCategoryRequest interface.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@digital8/lighting-illusions-ts-sdk",
3
- "version": "0.0.834",
3
+ "version": "0.0.836",
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']),
@@ -110,9 +110,7 @@ export type GetAllProductCategoryRequestSortDirectionEnum = typeof GetAllProduct
110
110
  * @export
111
111
  */
112
112
  export const GetAllProductCategoryRequestRelatedTypeEnum = {
113
- Product: 'product',
114
- Attribute: 'attribute',
115
- AttributeValue: 'attributeValue'
113
+ Product: 'product'
116
114
  } as const;
117
115
  export type GetAllProductCategoryRequestRelatedTypeEnum = typeof GetAllProductCategoryRequestRelatedTypeEnum[keyof typeof GetAllProductCategoryRequestRelatedTypeEnum];
118
116
 
@@ -134,9 +134,7 @@ export type IndexProductCategoryRequestSortDirectionEnum = typeof IndexProductCa
134
134
  * @export
135
135
  */
136
136
  export const IndexProductCategoryRequestRelatedTypeEnum = {
137
- Product: 'product',
138
- Attribute: 'attribute',
139
- AttributeValue: 'attributeValue'
137
+ Product: 'product'
140
138
  } as const;
141
139
  export type IndexProductCategoryRequestRelatedTypeEnum = typeof IndexProductCategoryRequestRelatedTypeEnum[keyof typeof IndexProductCategoryRequestRelatedTypeEnum];
142
140