@digital8/lighting-illusions-ts-sdk 0.0.472 → 0.0.473
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 +10 -72
- package/README.md +20 -56
- package/dist/apis/AttributeApi.d.ts +33 -33
- package/dist/apis/AttributeApi.js +92 -92
- package/dist/apis/OverlayTemplateApi.d.ts +39 -39
- package/dist/apis/OverlayTemplateApi.js +110 -110
- package/dist/apis/ProductApi.d.ts +17 -78
- package/dist/apis/ProductApi.js +24 -271
- package/dist/apis/ProductTypeApi.d.ts +33 -33
- package/dist/apis/ProductTypeApi.js +89 -89
- package/dist/apis/SiteApi.d.ts +5 -5
- package/dist/apis/SiteApi.js +2 -2
- package/dist/apis/SupplierApi.d.ts +3 -3
- package/dist/apis/SupplierApi.js +1 -1
- package/dist/apis/TagApi.d.ts +27 -27
- package/dist/apis/TagApi.js +81 -81
- package/dist/models/AssetLiteResource.d.ts +0 -6
- package/dist/models/AssetLiteResource.js +0 -4
- package/dist/models/GetAllAttributeRequest.d.ts +9 -15
- package/dist/models/GetAllAttributeRequest.js +4 -6
- package/dist/models/GetAllOverlayTemplateRequest.d.ts +6 -12
- package/dist/models/GetAllOverlayTemplateRequest.js +2 -4
- package/dist/models/GetAllProductChildRequest.d.ts +0 -6
- package/dist/models/GetAllProductChildRequest.js +0 -2
- package/dist/models/GetAllProductRequest.d.ts +0 -36
- package/dist/models/GetAllProductRequest.js +0 -12
- package/dist/models/GetAllProductTypeRequest.d.ts +0 -6
- package/dist/models/GetAllProductTypeRequest.js +0 -2
- package/dist/models/GetAllSupplierRequest.d.ts +0 -6
- package/dist/models/GetAllSupplierRequest.js +0 -2
- package/dist/models/IndexAttributeRequest.d.ts +0 -25
- package/dist/models/IndexAttributeRequest.js +1 -13
- package/dist/models/IndexExternalApiLogRequest.d.ts +3 -21
- package/dist/models/IndexExternalApiLogRequest.js +4 -10
- package/dist/models/IndexOverlayTemplateRequest.d.ts +0 -25
- package/dist/models/IndexOverlayTemplateRequest.js +1 -13
- package/dist/models/IndexProductChildRequest.d.ts +0 -6
- package/dist/models/IndexProductChildRequest.js +0 -2
- package/dist/models/IndexProductTypeRequest.d.ts +0 -25
- package/dist/models/IndexProductTypeRequest.js +1 -13
- package/dist/models/IndexSiteNotificationRequest.d.ts +0 -18
- package/dist/models/IndexSiteNotificationRequest.js +0 -6
- package/dist/models/IndexSiteRequest.d.ts +0 -18
- package/dist/models/IndexSiteRequest.js +0 -6
- package/dist/models/IndexSupplierRequest.d.ts +0 -25
- package/dist/models/IndexSupplierRequest.js +1 -13
- package/dist/models/IndexTagRequest.d.ts +0 -25
- package/dist/models/IndexTagRequest.js +1 -13
- package/dist/models/LinkAssetsOverlayTemplateRequest.d.ts +32 -0
- package/dist/models/LinkAssetsOverlayTemplateRequest.js +51 -0
- package/dist/models/LinkAttributeProductTypeRequest.d.ts +48 -0
- package/dist/models/LinkAttributeProductTypeRequest.js +65 -0
- package/dist/models/LinkProductChildrenTagRequest.d.ts +32 -0
- package/dist/models/LinkProductChildrenTagRequest.js +51 -0
- package/dist/models/LinkProductTypeAttributeRequest.d.ts +48 -0
- package/dist/models/LinkProductTypeAttributeRequest.js +65 -0
- package/dist/models/UnlinkAssetableOverlayTemplateRequest.d.ts +45 -0
- package/dist/models/UnlinkAssetableOverlayTemplateRequest.js +62 -0
- package/dist/models/index.d.ts +5 -36
- package/dist/models/index.js +5 -36
- package/docs/AssetLiteResource.md +0 -2
- package/docs/AttributeApi.md +117 -117
- package/docs/GetAllAttributeRequest.md +4 -6
- package/docs/GetAllOverlayTemplateRequest.md +2 -4
- package/docs/GetAllProductChildRequest.md +0 -2
- package/docs/GetAllProductRequest.md +0 -12
- package/docs/GetAllProductTypeRequest.md +0 -2
- package/docs/GetAllSupplierRequest.md +0 -2
- package/docs/IndexAttributeRequest.md +0 -6
- package/docs/IndexExternalApiLogRequest.md +4 -10
- package/docs/IndexOverlayTemplateRequest.md +0 -6
- package/docs/IndexProductChildRequest.md +0 -2
- package/docs/IndexProductTypeRequest.md +0 -6
- package/docs/IndexSiteNotificationRequest.md +0 -6
- package/docs/IndexSiteRequest.md +0 -6
- package/docs/IndexSupplierRequest.md +0 -6
- package/docs/IndexTagRequest.md +0 -6
- package/docs/{AttachAssetsOverlayTemplateRequest.md → LinkAssetsOverlayTemplateRequest.md} +4 -4
- package/docs/{AttachAttributeProductTypeRequest.md → LinkAttributeProductTypeRequest.md} +4 -4
- package/docs/{AttachAccessoriesProductChildRequest.md → LinkProductChildrenTagRequest.md} +4 -4
- package/docs/{AttachProductTypeAttributeRequest.md → LinkProductTypeAttributeRequest.md} +4 -4
- package/docs/OverlayTemplateApi.md +115 -115
- package/docs/ProductApi.md +29 -377
- package/docs/ProductTypeApi.md +94 -94
- package/docs/SiteApi.md +6 -6
- package/docs/SupplierApi.md +3 -3
- package/docs/TagApi.md +84 -84
- package/docs/{DetachAssetableOverlayTemplateRequest.md → UnlinkAssetableOverlayTemplateRequest.md} +4 -6
- package/package.json +1 -1
- package/src/apis/AttributeApi.ts +108 -108
- package/src/apis/OverlayTemplateApi.ts +141 -141
- package/src/apis/ProductApi.ts +32 -282
- package/src/apis/ProductTypeApi.ts +104 -104
- package/src/apis/SiteApi.ts +12 -12
- package/src/apis/SupplierApi.ts +6 -6
- package/src/apis/TagApi.ts +94 -94
- package/src/models/AssetLiteResource.ts +0 -9
- package/src/models/GetAllAttributeRequest.ts +13 -21
- package/src/models/GetAllOverlayTemplateRequest.ts +8 -16
- package/src/models/GetAllProductChildRequest.ts +0 -8
- package/src/models/GetAllProductRequest.ts +0 -48
- package/src/models/GetAllProductTypeRequest.ts +0 -8
- package/src/models/GetAllSupplierRequest.ts +0 -8
- package/src/models/IndexAttributeRequest.ts +0 -32
- package/src/models/IndexExternalApiLogRequest.ts +7 -31
- package/src/models/IndexOverlayTemplateRequest.ts +0 -32
- package/src/models/IndexProductChildRequest.ts +0 -8
- package/src/models/IndexProductTypeRequest.ts +0 -32
- package/src/models/IndexSiteNotificationRequest.ts +0 -24
- package/src/models/IndexSiteRequest.ts +0 -24
- package/src/models/IndexSupplierRequest.ts +0 -32
- package/src/models/IndexTagRequest.ts +0 -32
- package/src/models/LinkAssetsOverlayTemplateRequest.ts +66 -0
- package/src/models/LinkAttributeProductTypeRequest.ts +88 -0
- package/src/models/LinkProductChildrenTagRequest.ts +66 -0
- package/src/models/LinkProductTypeAttributeRequest.ts +88 -0
- package/src/models/UnlinkAssetableOverlayTemplateRequest.ts +85 -0
- package/src/models/index.ts +5 -36
- package/dist/models/AttachAccessoriesProductChildRequest.d.ts +0 -32
- package/dist/models/AttachAccessoriesProductChildRequest.js +0 -51
- package/dist/models/AttachAssetsOverlayTemplateRequest.d.ts +0 -32
- package/dist/models/AttachAssetsOverlayTemplateRequest.js +0 -51
- package/dist/models/AttachAttributeProductTypeRequest.d.ts +0 -48
- package/dist/models/AttachAttributeProductTypeRequest.js +0 -65
- package/dist/models/AttachProductTypeAttributeRequest.d.ts +0 -48
- package/dist/models/AttachProductTypeAttributeRequest.js +0 -65
- 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/DetachAssetableOverlayTemplateRequest.d.ts +0 -51
- package/dist/models/DetachAssetableOverlayTemplateRequest.js +0 -64
- package/dist/models/ExternalApiLogListResource.d.ts +0 -56
- package/dist/models/ExternalApiLogListResource.js +0 -63
- package/dist/models/ExternalApiLogListResourceArrayResponse.d.ts +0 -33
- package/dist/models/ExternalApiLogListResourceArrayResponse.js +0 -50
- package/dist/models/IndexProductRequest.d.ts +0 -130
- package/dist/models/IndexProductRequest.js +0 -97
- package/dist/models/OverlayTemplateListResource.d.ts +0 -45
- package/dist/models/OverlayTemplateListResource.js +0 -60
- package/dist/models/OverlayTemplateListResourceArrayResponse.d.ts +0 -33
- package/dist/models/OverlayTemplateListResourceArrayResponse.js +0 -50
- package/dist/models/PaginatedAttributeListResourceResponse.d.ts +0 -40
- package/dist/models/PaginatedAttributeListResourceResponse.js +0 -57
- package/dist/models/PaginatedExternalApiLogListResourceResponse.d.ts +0 -40
- package/dist/models/PaginatedExternalApiLogListResourceResponse.js +0 -57
- package/dist/models/PaginatedOverlayTemplateListResourceResponse.d.ts +0 -40
- package/dist/models/PaginatedOverlayTemplateListResourceResponse.js +0 -57
- package/dist/models/PaginatedProductChildListResourceResponse.d.ts +0 -40
- package/dist/models/PaginatedProductChildListResourceResponse.js +0 -57
- package/dist/models/PaginatedProductListResourceResponse.d.ts +0 -40
- package/dist/models/PaginatedProductListResourceResponse.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/PaginatedSiteNotificationListResourceResponse.d.ts +0 -40
- package/dist/models/PaginatedSiteNotificationListResourceResponse.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/ProductChildListResource.d.ts +0 -63
- package/dist/models/ProductChildListResource.js +0 -72
- package/dist/models/ProductChildListResourceArrayResponse.d.ts +0 -33
- package/dist/models/ProductChildListResourceArrayResponse.js +0 -50
- package/dist/models/ProductListResource.d.ts +0 -38
- package/dist/models/ProductListResource.js +0 -55
- package/dist/models/ProductListResourceArrayResponse.d.ts +0 -33
- package/dist/models/ProductListResourceArrayResponse.js +0 -50
- package/dist/models/ProductTypeListResource.d.ts +0 -44
- package/dist/models/ProductTypeListResource.js +0 -59
- 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/SiteNotificationListResource.d.ts +0 -87
- package/dist/models/SiteNotificationListResource.js +0 -84
- package/dist/models/SiteNotificationListResourceArrayResponse.d.ts +0 -33
- package/dist/models/SiteNotificationListResourceArrayResponse.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/ExternalApiLogListResource.md +0 -42
- package/docs/ExternalApiLogListResourceArrayResponse.md +0 -34
- package/docs/IndexProductRequest.md +0 -58
- package/docs/OverlayTemplateListResource.md +0 -38
- package/docs/OverlayTemplateListResourceArrayResponse.md +0 -34
- package/docs/PaginatedAttributeListResourceResponse.md +0 -36
- package/docs/PaginatedExternalApiLogListResourceResponse.md +0 -36
- package/docs/PaginatedOverlayTemplateListResourceResponse.md +0 -36
- package/docs/PaginatedProductChildListResourceResponse.md +0 -36
- package/docs/PaginatedProductListResourceResponse.md +0 -36
- package/docs/PaginatedProductTypeListResourceResponse.md +0 -36
- package/docs/PaginatedSiteListResourceResponse.md +0 -36
- package/docs/PaginatedSiteNotificationListResourceResponse.md +0 -36
- package/docs/PaginatedSupplierListResourceResponse.md +0 -36
- package/docs/PaginatedTagListResourceResponse.md +0 -36
- package/docs/ProductChildListResource.md +0 -44
- package/docs/ProductChildListResourceArrayResponse.md +0 -34
- package/docs/ProductListResource.md +0 -36
- package/docs/ProductListResourceArrayResponse.md +0 -34
- package/docs/ProductTypeListResource.md +0 -38
- package/docs/ProductTypeListResourceArrayResponse.md +0 -34
- package/docs/SiteListResource.md +0 -40
- package/docs/SiteListResourceArrayResponse.md +0 -34
- package/docs/SiteNotificationListResource.md +0 -52
- package/docs/SiteNotificationListResourceArrayResponse.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/AttachAccessoriesProductChildRequest.ts +0 -66
- package/src/models/AttachAssetsOverlayTemplateRequest.ts +0 -66
- package/src/models/AttachAttributeProductTypeRequest.ts +0 -88
- package/src/models/AttachProductTypeAttributeRequest.ts +0 -88
- package/src/models/AttributeListResource.ts +0 -102
- package/src/models/AttributeListResourceArrayResponse.ts +0 -73
- package/src/models/DetachAssetableOverlayTemplateRequest.ts +0 -93
- package/src/models/ExternalApiLogListResource.ts +0 -100
- package/src/models/ExternalApiLogListResourceArrayResponse.ts +0 -73
- package/src/models/IndexProductRequest.ts +0 -192
- package/src/models/OverlayTemplateListResource.ts +0 -92
- package/src/models/OverlayTemplateListResourceArrayResponse.ts +0 -73
- package/src/models/PaginatedAttributeListResourceResponse.ts +0 -90
- package/src/models/PaginatedExternalApiLogListResourceResponse.ts +0 -90
- package/src/models/PaginatedOverlayTemplateListResourceResponse.ts +0 -90
- package/src/models/PaginatedProductChildListResourceResponse.ts +0 -90
- package/src/models/PaginatedProductListResourceResponse.ts +0 -90
- package/src/models/PaginatedProductTypeListResourceResponse.ts +0 -90
- package/src/models/PaginatedSiteListResourceResponse.ts +0 -90
- package/src/models/PaginatedSiteNotificationListResourceResponse.ts +0 -90
- package/src/models/PaginatedSupplierListResourceResponse.ts +0 -90
- package/src/models/PaginatedTagListResourceResponse.ts +0 -90
- package/src/models/ProductChildListResource.ts +0 -119
- package/src/models/ProductChildListResourceArrayResponse.ts +0 -73
- package/src/models/ProductListResource.ts +0 -75
- package/src/models/ProductListResourceArrayResponse.ts +0 -73
- package/src/models/ProductTypeListResource.ts +0 -84
- package/src/models/ProductTypeListResourceArrayResponse.ts +0 -73
- package/src/models/SiteListResource.ts +0 -93
- package/src/models/SiteListResourceArrayResponse.ts +0 -73
- package/src/models/SiteNotificationListResource.ts +0 -153
- package/src/models/SiteNotificationListResourceArrayResponse.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,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.instanceOfProductTypeListResourceArrayResponse = instanceOfProductTypeListResourceArrayResponse;
|
|
17
|
-
exports.ProductTypeListResourceArrayResponseFromJSON = ProductTypeListResourceArrayResponseFromJSON;
|
|
18
|
-
exports.ProductTypeListResourceArrayResponseFromJSONTyped = ProductTypeListResourceArrayResponseFromJSONTyped;
|
|
19
|
-
exports.ProductTypeListResourceArrayResponseToJSON = ProductTypeListResourceArrayResponseToJSON;
|
|
20
|
-
exports.ProductTypeListResourceArrayResponseToJSONTyped = ProductTypeListResourceArrayResponseToJSONTyped;
|
|
21
|
-
var ProductTypeListResource_1 = require("./ProductTypeListResource");
|
|
22
|
-
/**
|
|
23
|
-
* Check if a given object implements the ProductTypeListResourceArrayResponse interface.
|
|
24
|
-
*/
|
|
25
|
-
function instanceOfProductTypeListResourceArrayResponse(value) {
|
|
26
|
-
return true;
|
|
27
|
-
}
|
|
28
|
-
function ProductTypeListResourceArrayResponseFromJSON(json) {
|
|
29
|
-
return ProductTypeListResourceArrayResponseFromJSONTyped(json, false);
|
|
30
|
-
}
|
|
31
|
-
function ProductTypeListResourceArrayResponseFromJSONTyped(json, ignoreDiscriminator) {
|
|
32
|
-
if (json == null) {
|
|
33
|
-
return json;
|
|
34
|
-
}
|
|
35
|
-
return {
|
|
36
|
-
'data': json['data'] == null ? undefined : (json['data'].map(ProductTypeListResource_1.ProductTypeListResourceFromJSON)),
|
|
37
|
-
};
|
|
38
|
-
}
|
|
39
|
-
function ProductTypeListResourceArrayResponseToJSON(json) {
|
|
40
|
-
return ProductTypeListResourceArrayResponseToJSONTyped(json, false);
|
|
41
|
-
}
|
|
42
|
-
function ProductTypeListResourceArrayResponseToJSONTyped(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(ProductTypeListResource_1.ProductTypeListResourceToJSON)),
|
|
49
|
-
};
|
|
50
|
-
}
|
|
@@ -1,50 +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
|
-
/**
|
|
13
|
-
*
|
|
14
|
-
* @export
|
|
15
|
-
* @interface SiteListResource
|
|
16
|
-
*/
|
|
17
|
-
export interface SiteListResource {
|
|
18
|
-
/**
|
|
19
|
-
*
|
|
20
|
-
* @type {number}
|
|
21
|
-
* @memberof SiteListResource
|
|
22
|
-
*/
|
|
23
|
-
id: number;
|
|
24
|
-
/**
|
|
25
|
-
*
|
|
26
|
-
* @type {string}
|
|
27
|
-
* @memberof SiteListResource
|
|
28
|
-
*/
|
|
29
|
-
name: string;
|
|
30
|
-
/**
|
|
31
|
-
*
|
|
32
|
-
* @type {string}
|
|
33
|
-
* @memberof SiteListResource
|
|
34
|
-
*/
|
|
35
|
-
abbreviation: string;
|
|
36
|
-
/**
|
|
37
|
-
*
|
|
38
|
-
* @type {string}
|
|
39
|
-
* @memberof SiteListResource
|
|
40
|
-
*/
|
|
41
|
-
domain: string;
|
|
42
|
-
}
|
|
43
|
-
/**
|
|
44
|
-
* Check if a given object implements the SiteListResource interface.
|
|
45
|
-
*/
|
|
46
|
-
export declare function instanceOfSiteListResource(value: object): value is SiteListResource;
|
|
47
|
-
export declare function SiteListResourceFromJSON(json: any): SiteListResource;
|
|
48
|
-
export declare function SiteListResourceFromJSONTyped(json: any, ignoreDiscriminator: boolean): SiteListResource;
|
|
49
|
-
export declare function SiteListResourceToJSON(json: any): SiteListResource;
|
|
50
|
-
export declare function SiteListResourceToJSONTyped(value?: SiteListResource | null, ignoreDiscriminator?: boolean): any;
|
|
@@ -1,63 +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.instanceOfSiteListResource = instanceOfSiteListResource;
|
|
17
|
-
exports.SiteListResourceFromJSON = SiteListResourceFromJSON;
|
|
18
|
-
exports.SiteListResourceFromJSONTyped = SiteListResourceFromJSONTyped;
|
|
19
|
-
exports.SiteListResourceToJSON = SiteListResourceToJSON;
|
|
20
|
-
exports.SiteListResourceToJSONTyped = SiteListResourceToJSONTyped;
|
|
21
|
-
/**
|
|
22
|
-
* Check if a given object implements the SiteListResource interface.
|
|
23
|
-
*/
|
|
24
|
-
function instanceOfSiteListResource(value) {
|
|
25
|
-
if (!('id' in value) || value['id'] === undefined)
|
|
26
|
-
return false;
|
|
27
|
-
if (!('name' in value) || value['name'] === undefined)
|
|
28
|
-
return false;
|
|
29
|
-
if (!('abbreviation' in value) || value['abbreviation'] === undefined)
|
|
30
|
-
return false;
|
|
31
|
-
if (!('domain' in value) || value['domain'] === undefined)
|
|
32
|
-
return false;
|
|
33
|
-
return true;
|
|
34
|
-
}
|
|
35
|
-
function SiteListResourceFromJSON(json) {
|
|
36
|
-
return SiteListResourceFromJSONTyped(json, false);
|
|
37
|
-
}
|
|
38
|
-
function SiteListResourceFromJSONTyped(json, ignoreDiscriminator) {
|
|
39
|
-
if (json == null) {
|
|
40
|
-
return json;
|
|
41
|
-
}
|
|
42
|
-
return {
|
|
43
|
-
'id': json['id'],
|
|
44
|
-
'name': json['name'],
|
|
45
|
-
'abbreviation': json['abbreviation'],
|
|
46
|
-
'domain': json['domain'],
|
|
47
|
-
};
|
|
48
|
-
}
|
|
49
|
-
function SiteListResourceToJSON(json) {
|
|
50
|
-
return SiteListResourceToJSONTyped(json, false);
|
|
51
|
-
}
|
|
52
|
-
function SiteListResourceToJSONTyped(value, ignoreDiscriminator) {
|
|
53
|
-
if (ignoreDiscriminator === void 0) { ignoreDiscriminator = false; }
|
|
54
|
-
if (value == null) {
|
|
55
|
-
return value;
|
|
56
|
-
}
|
|
57
|
-
return {
|
|
58
|
-
'id': value['id'],
|
|
59
|
-
'name': value['name'],
|
|
60
|
-
'abbreviation': value['abbreviation'],
|
|
61
|
-
'domain': value['domain'],
|
|
62
|
-
};
|
|
63
|
-
}
|
|
@@ -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,87 +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 SiteNotificationListResource
|
|
17
|
-
*/
|
|
18
|
-
export interface SiteNotificationListResource {
|
|
19
|
-
/**
|
|
20
|
-
*
|
|
21
|
-
* @type {number}
|
|
22
|
-
* @memberof SiteNotificationListResource
|
|
23
|
-
*/
|
|
24
|
-
id: number;
|
|
25
|
-
/**
|
|
26
|
-
*
|
|
27
|
-
* @type {string}
|
|
28
|
-
* @memberof SiteNotificationListResource
|
|
29
|
-
*/
|
|
30
|
-
heading?: string | null;
|
|
31
|
-
/**
|
|
32
|
-
*
|
|
33
|
-
* @type {string}
|
|
34
|
-
* @memberof SiteNotificationListResource
|
|
35
|
-
*/
|
|
36
|
-
type?: string | null;
|
|
37
|
-
/**
|
|
38
|
-
*
|
|
39
|
-
* @type {boolean}
|
|
40
|
-
* @memberof SiteNotificationListResource
|
|
41
|
-
*/
|
|
42
|
-
isActive: boolean;
|
|
43
|
-
/**
|
|
44
|
-
*
|
|
45
|
-
* @type {string}
|
|
46
|
-
* @memberof SiteNotificationListResource
|
|
47
|
-
*/
|
|
48
|
-
startDate: string;
|
|
49
|
-
/**
|
|
50
|
-
*
|
|
51
|
-
* @type {string}
|
|
52
|
-
* @memberof SiteNotificationListResource
|
|
53
|
-
*/
|
|
54
|
-
endDate: string;
|
|
55
|
-
/**
|
|
56
|
-
*
|
|
57
|
-
* @type {string}
|
|
58
|
-
* @memberof SiteNotificationListResource
|
|
59
|
-
*/
|
|
60
|
-
text: string;
|
|
61
|
-
/**
|
|
62
|
-
*
|
|
63
|
-
* @type {string}
|
|
64
|
-
* @memberof SiteNotificationListResource
|
|
65
|
-
*/
|
|
66
|
-
textColour: string;
|
|
67
|
-
/**
|
|
68
|
-
*
|
|
69
|
-
* @type {string}
|
|
70
|
-
* @memberof SiteNotificationListResource
|
|
71
|
-
*/
|
|
72
|
-
backgroundColour: string;
|
|
73
|
-
/**
|
|
74
|
-
*
|
|
75
|
-
* @type {SiteLiteResource}
|
|
76
|
-
* @memberof SiteNotificationListResource
|
|
77
|
-
*/
|
|
78
|
-
sites: SiteLiteResource | null;
|
|
79
|
-
}
|
|
80
|
-
/**
|
|
81
|
-
* Check if a given object implements the SiteNotificationListResource interface.
|
|
82
|
-
*/
|
|
83
|
-
export declare function instanceOfSiteNotificationListResource(value: object): value is SiteNotificationListResource;
|
|
84
|
-
export declare function SiteNotificationListResourceFromJSON(json: any): SiteNotificationListResource;
|
|
85
|
-
export declare function SiteNotificationListResourceFromJSONTyped(json: any, ignoreDiscriminator: boolean): SiteNotificationListResource;
|
|
86
|
-
export declare function SiteNotificationListResourceToJSON(json: any): SiteNotificationListResource;
|
|
87
|
-
export declare function SiteNotificationListResourceToJSONTyped(value?: SiteNotificationListResource | null, ignoreDiscriminator?: boolean): any;
|
|
@@ -1,84 +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.instanceOfSiteNotificationListResource = instanceOfSiteNotificationListResource;
|
|
17
|
-
exports.SiteNotificationListResourceFromJSON = SiteNotificationListResourceFromJSON;
|
|
18
|
-
exports.SiteNotificationListResourceFromJSONTyped = SiteNotificationListResourceFromJSONTyped;
|
|
19
|
-
exports.SiteNotificationListResourceToJSON = SiteNotificationListResourceToJSON;
|
|
20
|
-
exports.SiteNotificationListResourceToJSONTyped = SiteNotificationListResourceToJSONTyped;
|
|
21
|
-
var SiteLiteResource_1 = require("./SiteLiteResource");
|
|
22
|
-
/**
|
|
23
|
-
* Check if a given object implements the SiteNotificationListResource interface.
|
|
24
|
-
*/
|
|
25
|
-
function instanceOfSiteNotificationListResource(value) {
|
|
26
|
-
if (!('id' in value) || value['id'] === undefined)
|
|
27
|
-
return false;
|
|
28
|
-
if (!('isActive' in value) || value['isActive'] === undefined)
|
|
29
|
-
return false;
|
|
30
|
-
if (!('startDate' in value) || value['startDate'] === undefined)
|
|
31
|
-
return false;
|
|
32
|
-
if (!('endDate' in value) || value['endDate'] === undefined)
|
|
33
|
-
return false;
|
|
34
|
-
if (!('text' in value) || value['text'] === undefined)
|
|
35
|
-
return false;
|
|
36
|
-
if (!('textColour' in value) || value['textColour'] === undefined)
|
|
37
|
-
return false;
|
|
38
|
-
if (!('backgroundColour' in value) || value['backgroundColour'] === undefined)
|
|
39
|
-
return false;
|
|
40
|
-
if (!('sites' in value) || value['sites'] === undefined)
|
|
41
|
-
return false;
|
|
42
|
-
return true;
|
|
43
|
-
}
|
|
44
|
-
function SiteNotificationListResourceFromJSON(json) {
|
|
45
|
-
return SiteNotificationListResourceFromJSONTyped(json, false);
|
|
46
|
-
}
|
|
47
|
-
function SiteNotificationListResourceFromJSONTyped(json, ignoreDiscriminator) {
|
|
48
|
-
if (json == null) {
|
|
49
|
-
return json;
|
|
50
|
-
}
|
|
51
|
-
return {
|
|
52
|
-
'id': json['id'],
|
|
53
|
-
'heading': json['heading'] == null ? undefined : json['heading'],
|
|
54
|
-
'type': json['type'] == null ? undefined : json['type'],
|
|
55
|
-
'isActive': json['isActive'],
|
|
56
|
-
'startDate': json['startDate'],
|
|
57
|
-
'endDate': json['endDate'],
|
|
58
|
-
'text': json['text'],
|
|
59
|
-
'textColour': json['textColour'],
|
|
60
|
-
'backgroundColour': json['backgroundColour'],
|
|
61
|
-
'sites': (0, SiteLiteResource_1.SiteLiteResourceFromJSON)(json['sites']),
|
|
62
|
-
};
|
|
63
|
-
}
|
|
64
|
-
function SiteNotificationListResourceToJSON(json) {
|
|
65
|
-
return SiteNotificationListResourceToJSONTyped(json, false);
|
|
66
|
-
}
|
|
67
|
-
function SiteNotificationListResourceToJSONTyped(value, ignoreDiscriminator) {
|
|
68
|
-
if (ignoreDiscriminator === void 0) { ignoreDiscriminator = false; }
|
|
69
|
-
if (value == null) {
|
|
70
|
-
return value;
|
|
71
|
-
}
|
|
72
|
-
return {
|
|
73
|
-
'id': value['id'],
|
|
74
|
-
'heading': value['heading'],
|
|
75
|
-
'type': value['type'],
|
|
76
|
-
'isActive': value['isActive'],
|
|
77
|
-
'startDate': value['startDate'],
|
|
78
|
-
'endDate': value['endDate'],
|
|
79
|
-
'text': value['text'],
|
|
80
|
-
'textColour': value['textColour'],
|
|
81
|
-
'backgroundColour': value['backgroundColour'],
|
|
82
|
-
'sites': (0, SiteLiteResource_1.SiteLiteResourceToJSON)(value['sites']),
|
|
83
|
-
};
|
|
84
|
-
}
|
|
@@ -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 { SiteNotificationListResource } from './SiteNotificationListResource';
|
|
13
|
-
/**
|
|
14
|
-
*
|
|
15
|
-
* @export
|
|
16
|
-
* @interface SiteNotificationListResourceArrayResponse
|
|
17
|
-
*/
|
|
18
|
-
export interface SiteNotificationListResourceArrayResponse {
|
|
19
|
-
/**
|
|
20
|
-
*
|
|
21
|
-
* @type {Array<SiteNotificationListResource>}
|
|
22
|
-
* @memberof SiteNotificationListResourceArrayResponse
|
|
23
|
-
*/
|
|
24
|
-
data?: Array<SiteNotificationListResource>;
|
|
25
|
-
}
|
|
26
|
-
/**
|
|
27
|
-
* Check if a given object implements the SiteNotificationListResourceArrayResponse interface.
|
|
28
|
-
*/
|
|
29
|
-
export declare function instanceOfSiteNotificationListResourceArrayResponse(value: object): value is SiteNotificationListResourceArrayResponse;
|
|
30
|
-
export declare function SiteNotificationListResourceArrayResponseFromJSON(json: any): SiteNotificationListResourceArrayResponse;
|
|
31
|
-
export declare function SiteNotificationListResourceArrayResponseFromJSONTyped(json: any, ignoreDiscriminator: boolean): SiteNotificationListResourceArrayResponse;
|
|
32
|
-
export declare function SiteNotificationListResourceArrayResponseToJSON(json: any): SiteNotificationListResourceArrayResponse;
|
|
33
|
-
export declare function SiteNotificationListResourceArrayResponseToJSONTyped(value?: SiteNotificationListResourceArrayResponse | 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.instanceOfSiteNotificationListResourceArrayResponse = instanceOfSiteNotificationListResourceArrayResponse;
|
|
17
|
-
exports.SiteNotificationListResourceArrayResponseFromJSON = SiteNotificationListResourceArrayResponseFromJSON;
|
|
18
|
-
exports.SiteNotificationListResourceArrayResponseFromJSONTyped = SiteNotificationListResourceArrayResponseFromJSONTyped;
|
|
19
|
-
exports.SiteNotificationListResourceArrayResponseToJSON = SiteNotificationListResourceArrayResponseToJSON;
|
|
20
|
-
exports.SiteNotificationListResourceArrayResponseToJSONTyped = SiteNotificationListResourceArrayResponseToJSONTyped;
|
|
21
|
-
var SiteNotificationListResource_1 = require("./SiteNotificationListResource");
|
|
22
|
-
/**
|
|
23
|
-
* Check if a given object implements the SiteNotificationListResourceArrayResponse interface.
|
|
24
|
-
*/
|
|
25
|
-
function instanceOfSiteNotificationListResourceArrayResponse(value) {
|
|
26
|
-
return true;
|
|
27
|
-
}
|
|
28
|
-
function SiteNotificationListResourceArrayResponseFromJSON(json) {
|
|
29
|
-
return SiteNotificationListResourceArrayResponseFromJSONTyped(json, false);
|
|
30
|
-
}
|
|
31
|
-
function SiteNotificationListResourceArrayResponseFromJSONTyped(json, ignoreDiscriminator) {
|
|
32
|
-
if (json == null) {
|
|
33
|
-
return json;
|
|
34
|
-
}
|
|
35
|
-
return {
|
|
36
|
-
'data': json['data'] == null ? undefined : (json['data'].map(SiteNotificationListResource_1.SiteNotificationListResourceFromJSON)),
|
|
37
|
-
};
|
|
38
|
-
}
|
|
39
|
-
function SiteNotificationListResourceArrayResponseToJSON(json) {
|
|
40
|
-
return SiteNotificationListResourceArrayResponseToJSONTyped(json, false);
|
|
41
|
-
}
|
|
42
|
-
function SiteNotificationListResourceArrayResponseToJSONTyped(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(SiteNotificationListResource_1.SiteNotificationListResourceToJSON)),
|
|
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;
|