@digital8/lighting-illusions-ts-sdk 0.0.448 → 0.0.449
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 +0 -30
- package/README.md +2 -22
- package/dist/apis/AttributeApi.d.ts +3 -14
- package/dist/apis/AttributeApi.js +1 -46
- package/dist/apis/ProductTypeApi.d.ts +3 -14
- package/dist/apis/ProductTypeApi.js +1 -46
- package/dist/apis/SiteApi.d.ts +3 -14
- package/dist/apis/SiteApi.js +1 -46
- package/dist/apis/SupplierApi.d.ts +3 -14
- package/dist/apis/SupplierApi.js +1 -46
- package/dist/apis/TagApi.d.ts +3 -14
- package/dist/apis/TagApi.js +1 -46
- package/dist/models/ExternalApiLogResource.d.ts +1 -1
- package/dist/models/ExternalApiLogResource.js +3 -1
- package/dist/models/GetAllAttributeRequest.d.ts +9 -9
- package/dist/models/GetAllAttributeRequest.js +4 -4
- package/dist/models/GetAllOverlayTemplateRequest.d.ts +6 -6
- package/dist/models/GetAllOverlayTemplateRequest.js +2 -2
- package/dist/models/GetAllProductRequest.d.ts +0 -30
- package/dist/models/GetAllProductRequest.js +0 -10
- package/dist/models/IndexAttributeRequest.d.ts +0 -19
- package/dist/models/IndexAttributeRequest.js +1 -11
- package/dist/models/IndexExternalApiLogRequest.d.ts +3 -15
- package/dist/models/IndexExternalApiLogRequest.js +4 -8
- package/dist/models/IndexOverlayTemplateRequest.d.ts +0 -12
- package/dist/models/IndexOverlayTemplateRequest.js +0 -4
- package/dist/models/IndexProductTypeRequest.d.ts +0 -19
- package/dist/models/IndexProductTypeRequest.js +1 -11
- package/dist/models/IndexSiteNotificationRequest.d.ts +0 -12
- package/dist/models/IndexSiteNotificationRequest.js +0 -4
- package/dist/models/IndexSiteRequest.d.ts +0 -12
- package/dist/models/IndexSiteRequest.js +0 -4
- package/dist/models/IndexSupplierRequest.d.ts +0 -19
- package/dist/models/IndexSupplierRequest.js +1 -11
- package/dist/models/IndexTagRequest.d.ts +0 -19
- package/dist/models/IndexTagRequest.js +1 -11
- package/dist/models/index.d.ts +0 -15
- package/dist/models/index.js +0 -15
- package/docs/AttributeApi.md +3 -69
- package/docs/GetAllAttributeRequest.md +4 -4
- package/docs/GetAllOverlayTemplateRequest.md +2 -2
- package/docs/GetAllProductRequest.md +0 -10
- package/docs/IndexAttributeRequest.md +0 -4
- package/docs/IndexExternalApiLogRequest.md +4 -8
- package/docs/IndexOverlayTemplateRequest.md +0 -4
- package/docs/IndexProductTypeRequest.md +0 -4
- package/docs/IndexSiteNotificationRequest.md +0 -4
- package/docs/IndexSiteRequest.md +0 -4
- package/docs/IndexSupplierRequest.md +0 -4
- package/docs/IndexTagRequest.md +0 -4
- package/docs/ProductTypeApi.md +3 -69
- package/docs/SiteApi.md +3 -69
- package/docs/SupplierApi.md +3 -69
- package/docs/TagApi.md +3 -69
- package/package.json +1 -1
- package/src/apis/AttributeApi.ts +6 -42
- package/src/apis/ProductTypeApi.ts +6 -42
- package/src/apis/SiteApi.ts +6 -42
- package/src/apis/SupplierApi.ts +6 -42
- package/src/apis/TagApi.ts +6 -42
- package/src/models/ExternalApiLogResource.ts +3 -2
- package/src/models/GetAllAttributeRequest.ts +13 -13
- package/src/models/GetAllOverlayTemplateRequest.ts +8 -8
- package/src/models/GetAllProductRequest.ts +0 -40
- package/src/models/IndexAttributeRequest.ts +0 -24
- package/src/models/IndexExternalApiLogRequest.ts +7 -23
- package/src/models/IndexOverlayTemplateRequest.ts +0 -16
- package/src/models/IndexProductTypeRequest.ts +0 -24
- package/src/models/IndexSiteNotificationRequest.ts +0 -16
- package/src/models/IndexSiteRequest.ts +0 -16
- package/src/models/IndexSupplierRequest.ts +0 -24
- package/src/models/IndexTagRequest.ts +0 -24
- package/src/models/index.ts +0 -15
- package/dist/models/AttributeListResource.d.ts +0 -56
- package/dist/models/AttributeListResource.js +0 -67
- package/dist/models/AttributeListResourceArrayResponse.d.ts +0 -33
- package/dist/models/AttributeListResourceArrayResponse.js +0 -50
- package/dist/models/PaginatedAttributeListResourceResponse.d.ts +0 -40
- package/dist/models/PaginatedAttributeListResourceResponse.js +0 -57
- package/dist/models/PaginatedProductTypeListResourceResponse.d.ts +0 -40
- package/dist/models/PaginatedProductTypeListResourceResponse.js +0 -57
- package/dist/models/PaginatedSiteListResourceResponse.d.ts +0 -40
- package/dist/models/PaginatedSiteListResourceResponse.js +0 -57
- package/dist/models/PaginatedSupplierListResourceResponse.d.ts +0 -40
- package/dist/models/PaginatedSupplierListResourceResponse.js +0 -57
- package/dist/models/PaginatedTagListResourceResponse.d.ts +0 -40
- package/dist/models/PaginatedTagListResourceResponse.js +0 -57
- package/dist/models/ProductTypeListResource.d.ts +0 -38
- package/dist/models/ProductTypeListResource.js +0 -55
- package/dist/models/ProductTypeListResourceArrayResponse.d.ts +0 -33
- package/dist/models/ProductTypeListResourceArrayResponse.js +0 -50
- package/dist/models/SiteListResource.d.ts +0 -50
- package/dist/models/SiteListResource.js +0 -63
- package/dist/models/SiteListResourceArrayResponse.d.ts +0 -33
- package/dist/models/SiteListResourceArrayResponse.js +0 -50
- package/dist/models/SupplierListResource.d.ts +0 -57
- package/dist/models/SupplierListResource.js +0 -68
- package/dist/models/SupplierListResourceArrayResponse.d.ts +0 -33
- package/dist/models/SupplierListResourceArrayResponse.js +0 -50
- package/dist/models/TagListResource.d.ts +0 -57
- package/dist/models/TagListResource.js +0 -68
- package/dist/models/TagListResourceArrayResponse.d.ts +0 -33
- package/dist/models/TagListResourceArrayResponse.js +0 -50
- package/docs/AttributeListResource.md +0 -42
- package/docs/AttributeListResourceArrayResponse.md +0 -34
- package/docs/PaginatedAttributeListResourceResponse.md +0 -36
- package/docs/PaginatedProductTypeListResourceResponse.md +0 -36
- package/docs/PaginatedSiteListResourceResponse.md +0 -36
- package/docs/PaginatedSupplierListResourceResponse.md +0 -36
- package/docs/PaginatedTagListResourceResponse.md +0 -36
- package/docs/ProductTypeListResource.md +0 -36
- package/docs/ProductTypeListResourceArrayResponse.md +0 -34
- package/docs/SiteListResource.md +0 -40
- package/docs/SiteListResourceArrayResponse.md +0 -34
- package/docs/SupplierListResource.md +0 -42
- package/docs/SupplierListResourceArrayResponse.md +0 -34
- package/docs/TagListResource.md +0 -42
- package/docs/TagListResourceArrayResponse.md +0 -34
- package/src/models/AttributeListResource.ts +0 -102
- package/src/models/AttributeListResourceArrayResponse.ts +0 -73
- package/src/models/PaginatedAttributeListResourceResponse.ts +0 -90
- package/src/models/PaginatedProductTypeListResourceResponse.ts +0 -90
- package/src/models/PaginatedSiteListResourceResponse.ts +0 -90
- package/src/models/PaginatedSupplierListResourceResponse.ts +0 -90
- package/src/models/PaginatedTagListResourceResponse.ts +0 -90
- package/src/models/ProductTypeListResource.ts +0 -75
- package/src/models/ProductTypeListResourceArrayResponse.ts +0 -73
- package/src/models/SiteListResource.ts +0 -93
- package/src/models/SiteListResourceArrayResponse.ts +0 -73
- package/src/models/SupplierListResource.ts +0 -110
- package/src/models/SupplierListResourceArrayResponse.ts +0 -73
- package/src/models/TagListResource.ts +0 -110
- package/src/models/TagListResourceArrayResponse.ts +0 -73
|
@@ -1,33 +0,0 @@
|
|
|
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
|
-
import type { SiteListResource } from './SiteListResource';
|
|
13
|
-
/**
|
|
14
|
-
*
|
|
15
|
-
* @export
|
|
16
|
-
* @interface SiteListResourceArrayResponse
|
|
17
|
-
*/
|
|
18
|
-
export interface SiteListResourceArrayResponse {
|
|
19
|
-
/**
|
|
20
|
-
*
|
|
21
|
-
* @type {Array<SiteListResource>}
|
|
22
|
-
* @memberof SiteListResourceArrayResponse
|
|
23
|
-
*/
|
|
24
|
-
data?: Array<SiteListResource>;
|
|
25
|
-
}
|
|
26
|
-
/**
|
|
27
|
-
* Check if a given object implements the SiteListResourceArrayResponse interface.
|
|
28
|
-
*/
|
|
29
|
-
export declare function instanceOfSiteListResourceArrayResponse(value: object): value is SiteListResourceArrayResponse;
|
|
30
|
-
export declare function SiteListResourceArrayResponseFromJSON(json: any): SiteListResourceArrayResponse;
|
|
31
|
-
export declare function SiteListResourceArrayResponseFromJSONTyped(json: any, ignoreDiscriminator: boolean): SiteListResourceArrayResponse;
|
|
32
|
-
export declare function SiteListResourceArrayResponseToJSON(json: any): SiteListResourceArrayResponse;
|
|
33
|
-
export declare function SiteListResourceArrayResponseToJSONTyped(value?: SiteListResourceArrayResponse | null, ignoreDiscriminator?: boolean): any;
|
|
@@ -1,50 +0,0 @@
|
|
|
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.instanceOfSiteListResourceArrayResponse = instanceOfSiteListResourceArrayResponse;
|
|
17
|
-
exports.SiteListResourceArrayResponseFromJSON = SiteListResourceArrayResponseFromJSON;
|
|
18
|
-
exports.SiteListResourceArrayResponseFromJSONTyped = SiteListResourceArrayResponseFromJSONTyped;
|
|
19
|
-
exports.SiteListResourceArrayResponseToJSON = SiteListResourceArrayResponseToJSON;
|
|
20
|
-
exports.SiteListResourceArrayResponseToJSONTyped = SiteListResourceArrayResponseToJSONTyped;
|
|
21
|
-
var SiteListResource_1 = require("./SiteListResource");
|
|
22
|
-
/**
|
|
23
|
-
* Check if a given object implements the SiteListResourceArrayResponse interface.
|
|
24
|
-
*/
|
|
25
|
-
function instanceOfSiteListResourceArrayResponse(value) {
|
|
26
|
-
return true;
|
|
27
|
-
}
|
|
28
|
-
function SiteListResourceArrayResponseFromJSON(json) {
|
|
29
|
-
return SiteListResourceArrayResponseFromJSONTyped(json, false);
|
|
30
|
-
}
|
|
31
|
-
function SiteListResourceArrayResponseFromJSONTyped(json, ignoreDiscriminator) {
|
|
32
|
-
if (json == null) {
|
|
33
|
-
return json;
|
|
34
|
-
}
|
|
35
|
-
return {
|
|
36
|
-
'data': json['data'] == null ? undefined : (json['data'].map(SiteListResource_1.SiteListResourceFromJSON)),
|
|
37
|
-
};
|
|
38
|
-
}
|
|
39
|
-
function SiteListResourceArrayResponseToJSON(json) {
|
|
40
|
-
return SiteListResourceArrayResponseToJSONTyped(json, false);
|
|
41
|
-
}
|
|
42
|
-
function SiteListResourceArrayResponseToJSONTyped(value, ignoreDiscriminator) {
|
|
43
|
-
if (ignoreDiscriminator === void 0) { ignoreDiscriminator = false; }
|
|
44
|
-
if (value == null) {
|
|
45
|
-
return value;
|
|
46
|
-
}
|
|
47
|
-
return {
|
|
48
|
-
'data': value['data'] == null ? undefined : (value['data'].map(SiteListResource_1.SiteListResourceToJSON)),
|
|
49
|
-
};
|
|
50
|
-
}
|
|
@@ -1,57 +0,0 @@
|
|
|
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
|
-
import type { AssetLiteResource } from './AssetLiteResource';
|
|
13
|
-
/**
|
|
14
|
-
*
|
|
15
|
-
* @export
|
|
16
|
-
* @interface SupplierListResource
|
|
17
|
-
*/
|
|
18
|
-
export interface SupplierListResource {
|
|
19
|
-
/**
|
|
20
|
-
*
|
|
21
|
-
* @type {number}
|
|
22
|
-
* @memberof SupplierListResource
|
|
23
|
-
*/
|
|
24
|
-
id: number;
|
|
25
|
-
/**
|
|
26
|
-
*
|
|
27
|
-
* @type {string}
|
|
28
|
-
* @memberof SupplierListResource
|
|
29
|
-
*/
|
|
30
|
-
name: string;
|
|
31
|
-
/**
|
|
32
|
-
*
|
|
33
|
-
* @type {string}
|
|
34
|
-
* @memberof SupplierListResource
|
|
35
|
-
*/
|
|
36
|
-
slug: string;
|
|
37
|
-
/**
|
|
38
|
-
*
|
|
39
|
-
* @type {AssetLiteResource}
|
|
40
|
-
* @memberof SupplierListResource
|
|
41
|
-
*/
|
|
42
|
-
thumbnail: AssetLiteResource | null;
|
|
43
|
-
/**
|
|
44
|
-
*
|
|
45
|
-
* @type {number}
|
|
46
|
-
* @memberof SupplierListResource
|
|
47
|
-
*/
|
|
48
|
-
supplierEta: number;
|
|
49
|
-
}
|
|
50
|
-
/**
|
|
51
|
-
* Check if a given object implements the SupplierListResource interface.
|
|
52
|
-
*/
|
|
53
|
-
export declare function instanceOfSupplierListResource(value: object): value is SupplierListResource;
|
|
54
|
-
export declare function SupplierListResourceFromJSON(json: any): SupplierListResource;
|
|
55
|
-
export declare function SupplierListResourceFromJSONTyped(json: any, ignoreDiscriminator: boolean): SupplierListResource;
|
|
56
|
-
export declare function SupplierListResourceToJSON(json: any): SupplierListResource;
|
|
57
|
-
export declare function SupplierListResourceToJSONTyped(value?: SupplierListResource | null, ignoreDiscriminator?: boolean): any;
|
|
@@ -1,68 +0,0 @@
|
|
|
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.instanceOfSupplierListResource = instanceOfSupplierListResource;
|
|
17
|
-
exports.SupplierListResourceFromJSON = SupplierListResourceFromJSON;
|
|
18
|
-
exports.SupplierListResourceFromJSONTyped = SupplierListResourceFromJSONTyped;
|
|
19
|
-
exports.SupplierListResourceToJSON = SupplierListResourceToJSON;
|
|
20
|
-
exports.SupplierListResourceToJSONTyped = SupplierListResourceToJSONTyped;
|
|
21
|
-
var AssetLiteResource_1 = require("./AssetLiteResource");
|
|
22
|
-
/**
|
|
23
|
-
* Check if a given object implements the SupplierListResource interface.
|
|
24
|
-
*/
|
|
25
|
-
function instanceOfSupplierListResource(value) {
|
|
26
|
-
if (!('id' in value) || value['id'] === undefined)
|
|
27
|
-
return false;
|
|
28
|
-
if (!('name' in value) || value['name'] === undefined)
|
|
29
|
-
return false;
|
|
30
|
-
if (!('slug' in value) || value['slug'] === undefined)
|
|
31
|
-
return false;
|
|
32
|
-
if (!('thumbnail' in value) || value['thumbnail'] === undefined)
|
|
33
|
-
return false;
|
|
34
|
-
if (!('supplierEta' in value) || value['supplierEta'] === undefined)
|
|
35
|
-
return false;
|
|
36
|
-
return true;
|
|
37
|
-
}
|
|
38
|
-
function SupplierListResourceFromJSON(json) {
|
|
39
|
-
return SupplierListResourceFromJSONTyped(json, false);
|
|
40
|
-
}
|
|
41
|
-
function SupplierListResourceFromJSONTyped(json, ignoreDiscriminator) {
|
|
42
|
-
if (json == null) {
|
|
43
|
-
return json;
|
|
44
|
-
}
|
|
45
|
-
return {
|
|
46
|
-
'id': json['id'],
|
|
47
|
-
'name': json['name'],
|
|
48
|
-
'slug': json['slug'],
|
|
49
|
-
'thumbnail': (0, AssetLiteResource_1.AssetLiteResourceFromJSON)(json['thumbnail']),
|
|
50
|
-
'supplierEta': json['supplierEta'],
|
|
51
|
-
};
|
|
52
|
-
}
|
|
53
|
-
function SupplierListResourceToJSON(json) {
|
|
54
|
-
return SupplierListResourceToJSONTyped(json, false);
|
|
55
|
-
}
|
|
56
|
-
function SupplierListResourceToJSONTyped(value, ignoreDiscriminator) {
|
|
57
|
-
if (ignoreDiscriminator === void 0) { ignoreDiscriminator = false; }
|
|
58
|
-
if (value == null) {
|
|
59
|
-
return value;
|
|
60
|
-
}
|
|
61
|
-
return {
|
|
62
|
-
'id': value['id'],
|
|
63
|
-
'name': value['name'],
|
|
64
|
-
'slug': value['slug'],
|
|
65
|
-
'thumbnail': (0, AssetLiteResource_1.AssetLiteResourceToJSON)(value['thumbnail']),
|
|
66
|
-
'supplierEta': value['supplierEta'],
|
|
67
|
-
};
|
|
68
|
-
}
|
|
@@ -1,33 +0,0 @@
|
|
|
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
|
-
import type { SupplierListResource } from './SupplierListResource';
|
|
13
|
-
/**
|
|
14
|
-
*
|
|
15
|
-
* @export
|
|
16
|
-
* @interface SupplierListResourceArrayResponse
|
|
17
|
-
*/
|
|
18
|
-
export interface SupplierListResourceArrayResponse {
|
|
19
|
-
/**
|
|
20
|
-
*
|
|
21
|
-
* @type {Array<SupplierListResource>}
|
|
22
|
-
* @memberof SupplierListResourceArrayResponse
|
|
23
|
-
*/
|
|
24
|
-
data?: Array<SupplierListResource>;
|
|
25
|
-
}
|
|
26
|
-
/**
|
|
27
|
-
* Check if a given object implements the SupplierListResourceArrayResponse interface.
|
|
28
|
-
*/
|
|
29
|
-
export declare function instanceOfSupplierListResourceArrayResponse(value: object): value is SupplierListResourceArrayResponse;
|
|
30
|
-
export declare function SupplierListResourceArrayResponseFromJSON(json: any): SupplierListResourceArrayResponse;
|
|
31
|
-
export declare function SupplierListResourceArrayResponseFromJSONTyped(json: any, ignoreDiscriminator: boolean): SupplierListResourceArrayResponse;
|
|
32
|
-
export declare function SupplierListResourceArrayResponseToJSON(json: any): SupplierListResourceArrayResponse;
|
|
33
|
-
export declare function SupplierListResourceArrayResponseToJSONTyped(value?: SupplierListResourceArrayResponse | null, ignoreDiscriminator?: boolean): any;
|
|
@@ -1,50 +0,0 @@
|
|
|
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.instanceOfSupplierListResourceArrayResponse = instanceOfSupplierListResourceArrayResponse;
|
|
17
|
-
exports.SupplierListResourceArrayResponseFromJSON = SupplierListResourceArrayResponseFromJSON;
|
|
18
|
-
exports.SupplierListResourceArrayResponseFromJSONTyped = SupplierListResourceArrayResponseFromJSONTyped;
|
|
19
|
-
exports.SupplierListResourceArrayResponseToJSON = SupplierListResourceArrayResponseToJSON;
|
|
20
|
-
exports.SupplierListResourceArrayResponseToJSONTyped = SupplierListResourceArrayResponseToJSONTyped;
|
|
21
|
-
var SupplierListResource_1 = require("./SupplierListResource");
|
|
22
|
-
/**
|
|
23
|
-
* Check if a given object implements the SupplierListResourceArrayResponse interface.
|
|
24
|
-
*/
|
|
25
|
-
function instanceOfSupplierListResourceArrayResponse(value) {
|
|
26
|
-
return true;
|
|
27
|
-
}
|
|
28
|
-
function SupplierListResourceArrayResponseFromJSON(json) {
|
|
29
|
-
return SupplierListResourceArrayResponseFromJSONTyped(json, false);
|
|
30
|
-
}
|
|
31
|
-
function SupplierListResourceArrayResponseFromJSONTyped(json, ignoreDiscriminator) {
|
|
32
|
-
if (json == null) {
|
|
33
|
-
return json;
|
|
34
|
-
}
|
|
35
|
-
return {
|
|
36
|
-
'data': json['data'] == null ? undefined : (json['data'].map(SupplierListResource_1.SupplierListResourceFromJSON)),
|
|
37
|
-
};
|
|
38
|
-
}
|
|
39
|
-
function SupplierListResourceArrayResponseToJSON(json) {
|
|
40
|
-
return SupplierListResourceArrayResponseToJSONTyped(json, false);
|
|
41
|
-
}
|
|
42
|
-
function SupplierListResourceArrayResponseToJSONTyped(value, ignoreDiscriminator) {
|
|
43
|
-
if (ignoreDiscriminator === void 0) { ignoreDiscriminator = false; }
|
|
44
|
-
if (value == null) {
|
|
45
|
-
return value;
|
|
46
|
-
}
|
|
47
|
-
return {
|
|
48
|
-
'data': value['data'] == null ? undefined : (value['data'].map(SupplierListResource_1.SupplierListResourceToJSON)),
|
|
49
|
-
};
|
|
50
|
-
}
|
|
@@ -1,57 +0,0 @@
|
|
|
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
|
-
import type { SiteLiteResource } from './SiteLiteResource';
|
|
13
|
-
/**
|
|
14
|
-
*
|
|
15
|
-
* @export
|
|
16
|
-
* @interface TagListResource
|
|
17
|
-
*/
|
|
18
|
-
export interface TagListResource {
|
|
19
|
-
/**
|
|
20
|
-
*
|
|
21
|
-
* @type {number}
|
|
22
|
-
* @memberof TagListResource
|
|
23
|
-
*/
|
|
24
|
-
id: number;
|
|
25
|
-
/**
|
|
26
|
-
*
|
|
27
|
-
* @type {string}
|
|
28
|
-
* @memberof TagListResource
|
|
29
|
-
*/
|
|
30
|
-
name: string;
|
|
31
|
-
/**
|
|
32
|
-
*
|
|
33
|
-
* @type {string}
|
|
34
|
-
* @memberof TagListResource
|
|
35
|
-
*/
|
|
36
|
-
slug: string;
|
|
37
|
-
/**
|
|
38
|
-
*
|
|
39
|
-
* @type {string}
|
|
40
|
-
* @memberof TagListResource
|
|
41
|
-
*/
|
|
42
|
-
type: string;
|
|
43
|
-
/**
|
|
44
|
-
*
|
|
45
|
-
* @type {SiteLiteResource}
|
|
46
|
-
* @memberof TagListResource
|
|
47
|
-
*/
|
|
48
|
-
site: SiteLiteResource | null;
|
|
49
|
-
}
|
|
50
|
-
/**
|
|
51
|
-
* Check if a given object implements the TagListResource interface.
|
|
52
|
-
*/
|
|
53
|
-
export declare function instanceOfTagListResource(value: object): value is TagListResource;
|
|
54
|
-
export declare function TagListResourceFromJSON(json: any): TagListResource;
|
|
55
|
-
export declare function TagListResourceFromJSONTyped(json: any, ignoreDiscriminator: boolean): TagListResource;
|
|
56
|
-
export declare function TagListResourceToJSON(json: any): TagListResource;
|
|
57
|
-
export declare function TagListResourceToJSONTyped(value?: TagListResource | null, ignoreDiscriminator?: boolean): any;
|
|
@@ -1,68 +0,0 @@
|
|
|
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.instanceOfTagListResource = instanceOfTagListResource;
|
|
17
|
-
exports.TagListResourceFromJSON = TagListResourceFromJSON;
|
|
18
|
-
exports.TagListResourceFromJSONTyped = TagListResourceFromJSONTyped;
|
|
19
|
-
exports.TagListResourceToJSON = TagListResourceToJSON;
|
|
20
|
-
exports.TagListResourceToJSONTyped = TagListResourceToJSONTyped;
|
|
21
|
-
var SiteLiteResource_1 = require("./SiteLiteResource");
|
|
22
|
-
/**
|
|
23
|
-
* Check if a given object implements the TagListResource interface.
|
|
24
|
-
*/
|
|
25
|
-
function instanceOfTagListResource(value) {
|
|
26
|
-
if (!('id' in value) || value['id'] === undefined)
|
|
27
|
-
return false;
|
|
28
|
-
if (!('name' in value) || value['name'] === undefined)
|
|
29
|
-
return false;
|
|
30
|
-
if (!('slug' in value) || value['slug'] === undefined)
|
|
31
|
-
return false;
|
|
32
|
-
if (!('type' in value) || value['type'] === undefined)
|
|
33
|
-
return false;
|
|
34
|
-
if (!('site' in value) || value['site'] === undefined)
|
|
35
|
-
return false;
|
|
36
|
-
return true;
|
|
37
|
-
}
|
|
38
|
-
function TagListResourceFromJSON(json) {
|
|
39
|
-
return TagListResourceFromJSONTyped(json, false);
|
|
40
|
-
}
|
|
41
|
-
function TagListResourceFromJSONTyped(json, ignoreDiscriminator) {
|
|
42
|
-
if (json == null) {
|
|
43
|
-
return json;
|
|
44
|
-
}
|
|
45
|
-
return {
|
|
46
|
-
'id': json['id'],
|
|
47
|
-
'name': json['name'],
|
|
48
|
-
'slug': json['slug'],
|
|
49
|
-
'type': json['type'],
|
|
50
|
-
'site': (0, SiteLiteResource_1.SiteLiteResourceFromJSON)(json['site']),
|
|
51
|
-
};
|
|
52
|
-
}
|
|
53
|
-
function TagListResourceToJSON(json) {
|
|
54
|
-
return TagListResourceToJSONTyped(json, false);
|
|
55
|
-
}
|
|
56
|
-
function TagListResourceToJSONTyped(value, ignoreDiscriminator) {
|
|
57
|
-
if (ignoreDiscriminator === void 0) { ignoreDiscriminator = false; }
|
|
58
|
-
if (value == null) {
|
|
59
|
-
return value;
|
|
60
|
-
}
|
|
61
|
-
return {
|
|
62
|
-
'id': value['id'],
|
|
63
|
-
'name': value['name'],
|
|
64
|
-
'slug': value['slug'],
|
|
65
|
-
'type': value['type'],
|
|
66
|
-
'site': (0, SiteLiteResource_1.SiteLiteResourceToJSON)(value['site']),
|
|
67
|
-
};
|
|
68
|
-
}
|
|
@@ -1,33 +0,0 @@
|
|
|
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
|
-
import type { TagListResource } from './TagListResource';
|
|
13
|
-
/**
|
|
14
|
-
*
|
|
15
|
-
* @export
|
|
16
|
-
* @interface TagListResourceArrayResponse
|
|
17
|
-
*/
|
|
18
|
-
export interface TagListResourceArrayResponse {
|
|
19
|
-
/**
|
|
20
|
-
*
|
|
21
|
-
* @type {Array<TagListResource>}
|
|
22
|
-
* @memberof TagListResourceArrayResponse
|
|
23
|
-
*/
|
|
24
|
-
data?: Array<TagListResource>;
|
|
25
|
-
}
|
|
26
|
-
/**
|
|
27
|
-
* Check if a given object implements the TagListResourceArrayResponse interface.
|
|
28
|
-
*/
|
|
29
|
-
export declare function instanceOfTagListResourceArrayResponse(value: object): value is TagListResourceArrayResponse;
|
|
30
|
-
export declare function TagListResourceArrayResponseFromJSON(json: any): TagListResourceArrayResponse;
|
|
31
|
-
export declare function TagListResourceArrayResponseFromJSONTyped(json: any, ignoreDiscriminator: boolean): TagListResourceArrayResponse;
|
|
32
|
-
export declare function TagListResourceArrayResponseToJSON(json: any): TagListResourceArrayResponse;
|
|
33
|
-
export declare function TagListResourceArrayResponseToJSONTyped(value?: TagListResourceArrayResponse | null, ignoreDiscriminator?: boolean): any;
|
|
@@ -1,50 +0,0 @@
|
|
|
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.instanceOfTagListResourceArrayResponse = instanceOfTagListResourceArrayResponse;
|
|
17
|
-
exports.TagListResourceArrayResponseFromJSON = TagListResourceArrayResponseFromJSON;
|
|
18
|
-
exports.TagListResourceArrayResponseFromJSONTyped = TagListResourceArrayResponseFromJSONTyped;
|
|
19
|
-
exports.TagListResourceArrayResponseToJSON = TagListResourceArrayResponseToJSON;
|
|
20
|
-
exports.TagListResourceArrayResponseToJSONTyped = TagListResourceArrayResponseToJSONTyped;
|
|
21
|
-
var TagListResource_1 = require("./TagListResource");
|
|
22
|
-
/**
|
|
23
|
-
* Check if a given object implements the TagListResourceArrayResponse interface.
|
|
24
|
-
*/
|
|
25
|
-
function instanceOfTagListResourceArrayResponse(value) {
|
|
26
|
-
return true;
|
|
27
|
-
}
|
|
28
|
-
function TagListResourceArrayResponseFromJSON(json) {
|
|
29
|
-
return TagListResourceArrayResponseFromJSONTyped(json, false);
|
|
30
|
-
}
|
|
31
|
-
function TagListResourceArrayResponseFromJSONTyped(json, ignoreDiscriminator) {
|
|
32
|
-
if (json == null) {
|
|
33
|
-
return json;
|
|
34
|
-
}
|
|
35
|
-
return {
|
|
36
|
-
'data': json['data'] == null ? undefined : (json['data'].map(TagListResource_1.TagListResourceFromJSON)),
|
|
37
|
-
};
|
|
38
|
-
}
|
|
39
|
-
function TagListResourceArrayResponseToJSON(json) {
|
|
40
|
-
return TagListResourceArrayResponseToJSONTyped(json, false);
|
|
41
|
-
}
|
|
42
|
-
function TagListResourceArrayResponseToJSONTyped(value, ignoreDiscriminator) {
|
|
43
|
-
if (ignoreDiscriminator === void 0) { ignoreDiscriminator = false; }
|
|
44
|
-
if (value == null) {
|
|
45
|
-
return value;
|
|
46
|
-
}
|
|
47
|
-
return {
|
|
48
|
-
'data': value['data'] == null ? undefined : (value['data'].map(TagListResource_1.TagListResourceToJSON)),
|
|
49
|
-
};
|
|
50
|
-
}
|
|
@@ -1,42 +0,0 @@
|
|
|
1
|
-
|
|
2
|
-
# AttributeListResource
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
## Properties
|
|
6
|
-
|
|
7
|
-
Name | Type
|
|
8
|
-
------------ | -------------
|
|
9
|
-
`id` | number
|
|
10
|
-
`name` | string
|
|
11
|
-
`type` | string
|
|
12
|
-
`isFilterable` | boolean
|
|
13
|
-
`filterIndex` | number
|
|
14
|
-
|
|
15
|
-
## Example
|
|
16
|
-
|
|
17
|
-
```typescript
|
|
18
|
-
import type { AttributeListResource } from '@digital8/lighting-illusions-ts-sdk'
|
|
19
|
-
|
|
20
|
-
// TODO: Update the object below with actual values
|
|
21
|
-
const example = {
|
|
22
|
-
"id": null,
|
|
23
|
-
"name": null,
|
|
24
|
-
"type": null,
|
|
25
|
-
"isFilterable": null,
|
|
26
|
-
"filterIndex": null,
|
|
27
|
-
} satisfies AttributeListResource
|
|
28
|
-
|
|
29
|
-
console.log(example)
|
|
30
|
-
|
|
31
|
-
// Convert the instance to a JSON string
|
|
32
|
-
const exampleJSON: string = JSON.stringify(example)
|
|
33
|
-
console.log(exampleJSON)
|
|
34
|
-
|
|
35
|
-
// Parse the JSON string back to an object
|
|
36
|
-
const exampleParsed = JSON.parse(exampleJSON) as AttributeListResource
|
|
37
|
-
console.log(exampleParsed)
|
|
38
|
-
```
|
|
39
|
-
|
|
40
|
-
[[Back to top]](#) [[Back to API list]](../README.md#api-endpoints) [[Back to Model list]](../README.md#models) [[Back to README]](../README.md)
|
|
41
|
-
|
|
42
|
-
|
|
@@ -1,34 +0,0 @@
|
|
|
1
|
-
|
|
2
|
-
# AttributeListResourceArrayResponse
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
## Properties
|
|
6
|
-
|
|
7
|
-
Name | Type
|
|
8
|
-
------------ | -------------
|
|
9
|
-
`data` | [Array<AttributeListResource>](AttributeListResource.md)
|
|
10
|
-
|
|
11
|
-
## Example
|
|
12
|
-
|
|
13
|
-
```typescript
|
|
14
|
-
import type { AttributeListResourceArrayResponse } from '@digital8/lighting-illusions-ts-sdk'
|
|
15
|
-
|
|
16
|
-
// TODO: Update the object below with actual values
|
|
17
|
-
const example = {
|
|
18
|
-
"data": null,
|
|
19
|
-
} satisfies AttributeListResourceArrayResponse
|
|
20
|
-
|
|
21
|
-
console.log(example)
|
|
22
|
-
|
|
23
|
-
// Convert the instance to a JSON string
|
|
24
|
-
const exampleJSON: string = JSON.stringify(example)
|
|
25
|
-
console.log(exampleJSON)
|
|
26
|
-
|
|
27
|
-
// Parse the JSON string back to an object
|
|
28
|
-
const exampleParsed = JSON.parse(exampleJSON) as AttributeListResourceArrayResponse
|
|
29
|
-
console.log(exampleParsed)
|
|
30
|
-
```
|
|
31
|
-
|
|
32
|
-
[[Back to top]](#) [[Back to API list]](../README.md#api-endpoints) [[Back to Model list]](../README.md#models) [[Back to README]](../README.md)
|
|
33
|
-
|
|
34
|
-
|
|
@@ -1,36 +0,0 @@
|
|
|
1
|
-
|
|
2
|
-
# PaginatedAttributeListResourceResponse
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
## Properties
|
|
6
|
-
|
|
7
|
-
Name | Type
|
|
8
|
-
------------ | -------------
|
|
9
|
-
`data` | [Array<AttributeListResource>](AttributeListResource.md)
|
|
10
|
-
`meta` | [PagingMetadata](PagingMetadata.md)
|
|
11
|
-
|
|
12
|
-
## Example
|
|
13
|
-
|
|
14
|
-
```typescript
|
|
15
|
-
import type { PaginatedAttributeListResourceResponse } from '@digital8/lighting-illusions-ts-sdk'
|
|
16
|
-
|
|
17
|
-
// TODO: Update the object below with actual values
|
|
18
|
-
const example = {
|
|
19
|
-
"data": null,
|
|
20
|
-
"meta": null,
|
|
21
|
-
} satisfies PaginatedAttributeListResourceResponse
|
|
22
|
-
|
|
23
|
-
console.log(example)
|
|
24
|
-
|
|
25
|
-
// Convert the instance to a JSON string
|
|
26
|
-
const exampleJSON: string = JSON.stringify(example)
|
|
27
|
-
console.log(exampleJSON)
|
|
28
|
-
|
|
29
|
-
// Parse the JSON string back to an object
|
|
30
|
-
const exampleParsed = JSON.parse(exampleJSON) as PaginatedAttributeListResourceResponse
|
|
31
|
-
console.log(exampleParsed)
|
|
32
|
-
```
|
|
33
|
-
|
|
34
|
-
[[Back to top]](#) [[Back to API list]](../README.md#api-endpoints) [[Back to Model list]](../README.md#models) [[Back to README]](../README.md)
|
|
35
|
-
|
|
36
|
-
|
|
@@ -1,36 +0,0 @@
|
|
|
1
|
-
|
|
2
|
-
# PaginatedProductTypeListResourceResponse
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
## Properties
|
|
6
|
-
|
|
7
|
-
Name | Type
|
|
8
|
-
------------ | -------------
|
|
9
|
-
`data` | [Array<ProductTypeListResource>](ProductTypeListResource.md)
|
|
10
|
-
`meta` | [PagingMetadata](PagingMetadata.md)
|
|
11
|
-
|
|
12
|
-
## Example
|
|
13
|
-
|
|
14
|
-
```typescript
|
|
15
|
-
import type { PaginatedProductTypeListResourceResponse } from '@digital8/lighting-illusions-ts-sdk'
|
|
16
|
-
|
|
17
|
-
// TODO: Update the object below with actual values
|
|
18
|
-
const example = {
|
|
19
|
-
"data": null,
|
|
20
|
-
"meta": null,
|
|
21
|
-
} satisfies PaginatedProductTypeListResourceResponse
|
|
22
|
-
|
|
23
|
-
console.log(example)
|
|
24
|
-
|
|
25
|
-
// Convert the instance to a JSON string
|
|
26
|
-
const exampleJSON: string = JSON.stringify(example)
|
|
27
|
-
console.log(exampleJSON)
|
|
28
|
-
|
|
29
|
-
// Parse the JSON string back to an object
|
|
30
|
-
const exampleParsed = JSON.parse(exampleJSON) as PaginatedProductTypeListResourceResponse
|
|
31
|
-
console.log(exampleParsed)
|
|
32
|
-
```
|
|
33
|
-
|
|
34
|
-
[[Back to top]](#) [[Back to API list]](../README.md#api-endpoints) [[Back to Model list]](../README.md#models) [[Back to README]](../README.md)
|
|
35
|
-
|
|
36
|
-
|