@digital8/lighting-illusions-ts-sdk 0.0.1430 → 0.0.1431
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/.openapi-generator/FILES +2 -0
- package/README.md +3 -2
- package/dist/models/ExternalApiLogResource.d.ts +1 -1
- package/dist/models/ExternalApiLogResource.js +1 -3
- package/dist/models/ProductRegistrationAssetType.d.ts +25 -0
- package/dist/models/ProductRegistrationAssetType.js +51 -0
- package/dist/models/index.d.ts +1 -0
- package/dist/models/index.js +1 -0
- package/docs/ProductRegistrationAssetType.md +32 -0
- package/package.json +1 -1
- package/src/models/ExternalApiLogResource.ts +2 -3
- package/src/models/ProductRegistrationAssetType.ts +53 -0
- package/src/models/index.ts +1 -0
package/.openapi-generator/FILES
CHANGED
|
@@ -256,6 +256,7 @@ docs/ProductRangeSiteDetailResource.md
|
|
|
256
256
|
docs/ProductRangeSiteDetailResourceArrayResponse.md
|
|
257
257
|
docs/ProductRangeSortBy.md
|
|
258
258
|
docs/ProductRating.md
|
|
259
|
+
docs/ProductRegistrationAssetType.md
|
|
259
260
|
docs/ProductResource.md
|
|
260
261
|
docs/ProductResourceArrayResponse.md
|
|
261
262
|
docs/ProductSearchResponseResource.md
|
|
@@ -621,6 +622,7 @@ src/models/ProductRangeSiteDetailResource.ts
|
|
|
621
622
|
src/models/ProductRangeSiteDetailResourceArrayResponse.ts
|
|
622
623
|
src/models/ProductRangeSortBy.ts
|
|
623
624
|
src/models/ProductRating.ts
|
|
625
|
+
src/models/ProductRegistrationAssetType.ts
|
|
624
626
|
src/models/ProductResource.ts
|
|
625
627
|
src/models/ProductResourceArrayResponse.ts
|
|
626
628
|
src/models/ProductSearchResponseResource.ts
|
package/README.md
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
# @digital8/lighting-illusions-ts-sdk@0.0.
|
|
1
|
+
# @digital8/lighting-illusions-ts-sdk@0.0.1431
|
|
2
2
|
|
|
3
3
|
A TypeScript SDK client for the localhost API.
|
|
4
4
|
|
|
@@ -436,6 +436,7 @@ All URIs are relative to *http://localhost/api*
|
|
|
436
436
|
- [ProductRangeSiteDetailResourceArrayResponse](docs/ProductRangeSiteDetailResourceArrayResponse.md)
|
|
437
437
|
- [ProductRangeSortBy](docs/ProductRangeSortBy.md)
|
|
438
438
|
- [ProductRating](docs/ProductRating.md)
|
|
439
|
+
- [ProductRegistrationAssetType](docs/ProductRegistrationAssetType.md)
|
|
439
440
|
- [ProductResource](docs/ProductResource.md)
|
|
440
441
|
- [ProductResourceArrayResponse](docs/ProductResourceArrayResponse.md)
|
|
441
442
|
- [ProductSearchResponseResource](docs/ProductSearchResponseResource.md)
|
|
@@ -549,7 +550,7 @@ and is automatically generated by the
|
|
|
549
550
|
[OpenAPI Generator](https://openapi-generator.tech) project:
|
|
550
551
|
|
|
551
552
|
- API version: `1.0.0`
|
|
552
|
-
- Package version: `0.0.
|
|
553
|
+
- Package version: `0.0.1431`
|
|
553
554
|
- Generator version: `7.20.0`
|
|
554
555
|
- Build package: `org.openapitools.codegen.languages.TypeScriptFetchClientCodegen`
|
|
555
556
|
|
|
@@ -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']),
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* My API
|
|
3
|
+
* API documentation for my Laravel app
|
|
4
|
+
*
|
|
5
|
+
* The version of the OpenAPI document: 1.0.0
|
|
6
|
+
*
|
|
7
|
+
*
|
|
8
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
9
|
+
* https://openapi-generator.tech
|
|
10
|
+
* Do not edit the class manually.
|
|
11
|
+
*/
|
|
12
|
+
/**
|
|
13
|
+
*
|
|
14
|
+
* @export
|
|
15
|
+
*/
|
|
16
|
+
export declare const ProductRegistrationAssetType: {
|
|
17
|
+
readonly TaxInvoice: "tax_invoice";
|
|
18
|
+
readonly CertificateOfCompliance: "certificate_of_compliance";
|
|
19
|
+
};
|
|
20
|
+
export type ProductRegistrationAssetType = typeof ProductRegistrationAssetType[keyof typeof ProductRegistrationAssetType];
|
|
21
|
+
export declare function instanceOfProductRegistrationAssetType(value: any): boolean;
|
|
22
|
+
export declare function ProductRegistrationAssetTypeFromJSON(json: any): ProductRegistrationAssetType;
|
|
23
|
+
export declare function ProductRegistrationAssetTypeFromJSONTyped(json: any, ignoreDiscriminator: boolean): ProductRegistrationAssetType;
|
|
24
|
+
export declare function ProductRegistrationAssetTypeToJSON(value?: ProductRegistrationAssetType | null): any;
|
|
25
|
+
export declare function ProductRegistrationAssetTypeToJSONTyped(value: any, ignoreDiscriminator: boolean): ProductRegistrationAssetType;
|
|
@@ -0,0 +1,51 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/* tslint:disable */
|
|
3
|
+
/* eslint-disable */
|
|
4
|
+
/**
|
|
5
|
+
* My API
|
|
6
|
+
* API documentation for my Laravel app
|
|
7
|
+
*
|
|
8
|
+
* The version of the OpenAPI document: 1.0.0
|
|
9
|
+
*
|
|
10
|
+
*
|
|
11
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
12
|
+
* https://openapi-generator.tech
|
|
13
|
+
* Do not edit the class manually.
|
|
14
|
+
*/
|
|
15
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
16
|
+
exports.ProductRegistrationAssetType = void 0;
|
|
17
|
+
exports.instanceOfProductRegistrationAssetType = instanceOfProductRegistrationAssetType;
|
|
18
|
+
exports.ProductRegistrationAssetTypeFromJSON = ProductRegistrationAssetTypeFromJSON;
|
|
19
|
+
exports.ProductRegistrationAssetTypeFromJSONTyped = ProductRegistrationAssetTypeFromJSONTyped;
|
|
20
|
+
exports.ProductRegistrationAssetTypeToJSON = ProductRegistrationAssetTypeToJSON;
|
|
21
|
+
exports.ProductRegistrationAssetTypeToJSONTyped = ProductRegistrationAssetTypeToJSONTyped;
|
|
22
|
+
/**
|
|
23
|
+
*
|
|
24
|
+
* @export
|
|
25
|
+
*/
|
|
26
|
+
exports.ProductRegistrationAssetType = {
|
|
27
|
+
TaxInvoice: 'tax_invoice',
|
|
28
|
+
CertificateOfCompliance: 'certificate_of_compliance'
|
|
29
|
+
};
|
|
30
|
+
function instanceOfProductRegistrationAssetType(value) {
|
|
31
|
+
for (var key in exports.ProductRegistrationAssetType) {
|
|
32
|
+
if (Object.prototype.hasOwnProperty.call(exports.ProductRegistrationAssetType, key)) {
|
|
33
|
+
if (exports.ProductRegistrationAssetType[key] === value) {
|
|
34
|
+
return true;
|
|
35
|
+
}
|
|
36
|
+
}
|
|
37
|
+
}
|
|
38
|
+
return false;
|
|
39
|
+
}
|
|
40
|
+
function ProductRegistrationAssetTypeFromJSON(json) {
|
|
41
|
+
return ProductRegistrationAssetTypeFromJSONTyped(json, false);
|
|
42
|
+
}
|
|
43
|
+
function ProductRegistrationAssetTypeFromJSONTyped(json, ignoreDiscriminator) {
|
|
44
|
+
return json;
|
|
45
|
+
}
|
|
46
|
+
function ProductRegistrationAssetTypeToJSON(value) {
|
|
47
|
+
return value;
|
|
48
|
+
}
|
|
49
|
+
function ProductRegistrationAssetTypeToJSONTyped(value, ignoreDiscriminator) {
|
|
50
|
+
return value;
|
|
51
|
+
}
|
package/dist/models/index.d.ts
CHANGED
|
@@ -241,6 +241,7 @@ export * from './ProductRangeSiteDetailResource';
|
|
|
241
241
|
export * from './ProductRangeSiteDetailResourceArrayResponse';
|
|
242
242
|
export * from './ProductRangeSortBy';
|
|
243
243
|
export * from './ProductRating';
|
|
244
|
+
export * from './ProductRegistrationAssetType';
|
|
244
245
|
export * from './ProductResource';
|
|
245
246
|
export * from './ProductResourceArrayResponse';
|
|
246
247
|
export * from './ProductSearchResponseResource';
|
package/dist/models/index.js
CHANGED
|
@@ -259,6 +259,7 @@ __exportStar(require("./ProductRangeSiteDetailResource"), exports);
|
|
|
259
259
|
__exportStar(require("./ProductRangeSiteDetailResourceArrayResponse"), exports);
|
|
260
260
|
__exportStar(require("./ProductRangeSortBy"), exports);
|
|
261
261
|
__exportStar(require("./ProductRating"), exports);
|
|
262
|
+
__exportStar(require("./ProductRegistrationAssetType"), exports);
|
|
262
263
|
__exportStar(require("./ProductResource"), exports);
|
|
263
264
|
__exportStar(require("./ProductResourceArrayResponse"), exports);
|
|
264
265
|
__exportStar(require("./ProductSearchResponseResource"), exports);
|
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
|
|
2
|
+
# ProductRegistrationAssetType
|
|
3
|
+
|
|
4
|
+
|
|
5
|
+
## Properties
|
|
6
|
+
|
|
7
|
+
Name | Type
|
|
8
|
+
------------ | -------------
|
|
9
|
+
|
|
10
|
+
## Example
|
|
11
|
+
|
|
12
|
+
```typescript
|
|
13
|
+
import type { ProductRegistrationAssetType } from '@digital8/lighting-illusions-ts-sdk'
|
|
14
|
+
|
|
15
|
+
// TODO: Update the object below with actual values
|
|
16
|
+
const example = {
|
|
17
|
+
} satisfies ProductRegistrationAssetType
|
|
18
|
+
|
|
19
|
+
console.log(example)
|
|
20
|
+
|
|
21
|
+
// Convert the instance to a JSON string
|
|
22
|
+
const exampleJSON: string = JSON.stringify(example)
|
|
23
|
+
console.log(exampleJSON)
|
|
24
|
+
|
|
25
|
+
// Parse the JSON string back to an object
|
|
26
|
+
const exampleParsed = JSON.parse(exampleJSON) as ProductRegistrationAssetType
|
|
27
|
+
console.log(exampleParsed)
|
|
28
|
+
```
|
|
29
|
+
|
|
30
|
+
[[Back to top]](#) [[Back to API list]](../README.md#api-endpoints) [[Back to Model list]](../README.md#models) [[Back to README]](../README.md)
|
|
31
|
+
|
|
32
|
+
|
package/package.json
CHANGED
|
@@ -74,7 +74,7 @@ export interface ExternalApiLogResource {
|
|
|
74
74
|
* @type {string}
|
|
75
75
|
* @memberof ExternalApiLogResource
|
|
76
76
|
*/
|
|
77
|
-
requestPayload
|
|
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']),
|
|
@@ -0,0 +1,53 @@
|
|
|
1
|
+
/* tslint:disable */
|
|
2
|
+
/* eslint-disable */
|
|
3
|
+
/**
|
|
4
|
+
* My API
|
|
5
|
+
* API documentation for my Laravel app
|
|
6
|
+
*
|
|
7
|
+
* The version of the OpenAPI document: 1.0.0
|
|
8
|
+
*
|
|
9
|
+
*
|
|
10
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
11
|
+
* https://openapi-generator.tech
|
|
12
|
+
* Do not edit the class manually.
|
|
13
|
+
*/
|
|
14
|
+
|
|
15
|
+
|
|
16
|
+
/**
|
|
17
|
+
*
|
|
18
|
+
* @export
|
|
19
|
+
*/
|
|
20
|
+
export const ProductRegistrationAssetType = {
|
|
21
|
+
TaxInvoice: 'tax_invoice',
|
|
22
|
+
CertificateOfCompliance: 'certificate_of_compliance'
|
|
23
|
+
} as const;
|
|
24
|
+
export type ProductRegistrationAssetType = typeof ProductRegistrationAssetType[keyof typeof ProductRegistrationAssetType];
|
|
25
|
+
|
|
26
|
+
|
|
27
|
+
export function instanceOfProductRegistrationAssetType(value: any): boolean {
|
|
28
|
+
for (const key in ProductRegistrationAssetType) {
|
|
29
|
+
if (Object.prototype.hasOwnProperty.call(ProductRegistrationAssetType, key)) {
|
|
30
|
+
if (ProductRegistrationAssetType[key as keyof typeof ProductRegistrationAssetType] === value) {
|
|
31
|
+
return true;
|
|
32
|
+
}
|
|
33
|
+
}
|
|
34
|
+
}
|
|
35
|
+
return false;
|
|
36
|
+
}
|
|
37
|
+
|
|
38
|
+
export function ProductRegistrationAssetTypeFromJSON(json: any): ProductRegistrationAssetType {
|
|
39
|
+
return ProductRegistrationAssetTypeFromJSONTyped(json, false);
|
|
40
|
+
}
|
|
41
|
+
|
|
42
|
+
export function ProductRegistrationAssetTypeFromJSONTyped(json: any, ignoreDiscriminator: boolean): ProductRegistrationAssetType {
|
|
43
|
+
return json as ProductRegistrationAssetType;
|
|
44
|
+
}
|
|
45
|
+
|
|
46
|
+
export function ProductRegistrationAssetTypeToJSON(value?: ProductRegistrationAssetType | null): any {
|
|
47
|
+
return value as any;
|
|
48
|
+
}
|
|
49
|
+
|
|
50
|
+
export function ProductRegistrationAssetTypeToJSONTyped(value: any, ignoreDiscriminator: boolean): ProductRegistrationAssetType {
|
|
51
|
+
return value as ProductRegistrationAssetType;
|
|
52
|
+
}
|
|
53
|
+
|
package/src/models/index.ts
CHANGED
|
@@ -243,6 +243,7 @@ export * from './ProductRangeSiteDetailResource';
|
|
|
243
243
|
export * from './ProductRangeSiteDetailResourceArrayResponse';
|
|
244
244
|
export * from './ProductRangeSortBy';
|
|
245
245
|
export * from './ProductRating';
|
|
246
|
+
export * from './ProductRegistrationAssetType';
|
|
246
247
|
export * from './ProductResource';
|
|
247
248
|
export * from './ProductResourceArrayResponse';
|
|
248
249
|
export * from './ProductSearchResponseResource';
|