@digital8/lighting-illusions-ts-sdk 0.0.510 → 0.0.512

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.510
1
+ # @digital8/lighting-illusions-ts-sdk@0.0.512
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.510`
364
+ - Package version: `0.0.512`
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 | 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']),
@@ -112,7 +112,7 @@ export interface ProductChildResource {
112
112
  * @type {string}
113
113
  * @memberof ProductChildResource
114
114
  */
115
- bundleBarcode?: string | null;
115
+ bundleUpcCode?: string | null;
116
116
  /**
117
117
  *
118
118
  * @type {string}
@@ -93,7 +93,7 @@ function ProductChildResourceFromJSONTyped(json, ignoreDiscriminator) {
93
93
  'excludeFromSearch': json['excludeFromSearch'],
94
94
  'isOversized': json['isOversized'],
95
95
  'isBundle': json['isBundle'],
96
- 'bundleBarcode': json['bundleBarcode'] == null ? undefined : json['bundleBarcode'],
96
+ 'bundleUpcCode': json['bundleUpcCode'] == null ? undefined : json['bundleUpcCode'],
97
97
  'displayInSocialFeed': json['displayInSocialFeed'] == null ? undefined : json['displayInSocialFeed'],
98
98
  'googleStockStatus': json['googleStockStatus'],
99
99
  'netsuiteId': json['netsuiteId'],
@@ -131,7 +131,7 @@ function ProductChildResourceToJSONTyped(value, ignoreDiscriminator) {
131
131
  'excludeFromSearch': value['excludeFromSearch'],
132
132
  'isOversized': value['isOversized'],
133
133
  'isBundle': value['isBundle'],
134
- 'bundleBarcode': value['bundleBarcode'],
134
+ 'bundleUpcCode': value['bundleUpcCode'],
135
135
  'displayInSocialFeed': value['displayInSocialFeed'],
136
136
  'googleStockStatus': value['googleStockStatus'],
137
137
  'netsuiteId': value['netsuiteId'],
@@ -21,7 +21,7 @@ Name | Type
21
21
  `excludeFromSearch` | boolean
22
22
  `isOversized` | boolean
23
23
  `isBundle` | boolean
24
- `bundleBarcode` | string
24
+ `bundleUpcCode` | string
25
25
  `displayInSocialFeed` | string
26
26
  `googleStockStatus` | number
27
27
  `netsuiteId` | number
@@ -56,7 +56,7 @@ const example = {
56
56
  "excludeFromSearch": null,
57
57
  "isOversized": null,
58
58
  "isBundle": null,
59
- "bundleBarcode": null,
59
+ "bundleUpcCode": null,
60
60
  "displayInSocialFeed": null,
61
61
  "googleStockStatus": null,
62
62
  "netsuiteId": null,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@digital8/lighting-illusions-ts-sdk",
3
- "version": "0.0.510",
3
+ "version": "0.0.512",
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']),
@@ -129,7 +129,7 @@ export interface ProductChildResource {
129
129
  * @type {string}
130
130
  * @memberof ProductChildResource
131
131
  */
132
- bundleBarcode?: string | null;
132
+ bundleUpcCode?: string | null;
133
133
  /**
134
134
  *
135
135
  * @type {string}
@@ -252,7 +252,7 @@ export function ProductChildResourceFromJSONTyped(json: any, ignoreDiscriminator
252
252
  'excludeFromSearch': json['excludeFromSearch'],
253
253
  'isOversized': json['isOversized'],
254
254
  'isBundle': json['isBundle'],
255
- 'bundleBarcode': json['bundleBarcode'] == null ? undefined : json['bundleBarcode'],
255
+ 'bundleUpcCode': json['bundleUpcCode'] == null ? undefined : json['bundleUpcCode'],
256
256
  'displayInSocialFeed': json['displayInSocialFeed'] == null ? undefined : json['displayInSocialFeed'],
257
257
  'googleStockStatus': json['googleStockStatus'],
258
258
  'netsuiteId': json['netsuiteId'],
@@ -293,7 +293,7 @@ export function ProductChildResourceToJSONTyped(value?: ProductChildResource | n
293
293
  'excludeFromSearch': value['excludeFromSearch'],
294
294
  'isOversized': value['isOversized'],
295
295
  'isBundle': value['isBundle'],
296
- 'bundleBarcode': value['bundleBarcode'],
296
+ 'bundleUpcCode': value['bundleUpcCode'],
297
297
  'displayInSocialFeed': value['displayInSocialFeed'],
298
298
  'googleStockStatus': value['googleStockStatus'],
299
299
  'netsuiteId': value['netsuiteId'],