@digital8/lighting-illusions-ts-sdk 0.0.445 → 0.0.447
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 +18 -0
- package/README.md +14 -2
- package/dist/apis/SiteApi.d.ts +14 -3
- package/dist/apis/SiteApi.js +46 -1
- package/dist/apis/SupplierApi.d.ts +14 -3
- package/dist/apis/SupplierApi.js +46 -1
- package/dist/apis/TagApi.d.ts +14 -3
- package/dist/apis/TagApi.js +46 -1
- package/dist/models/ExternalApiLogResource.d.ts +1 -1
- package/dist/models/ExternalApiLogResource.js +3 -1
- package/dist/models/IndexSupplierRequest.d.ts +8 -1
- package/dist/models/IndexSupplierRequest.js +7 -1
- package/dist/models/IndexTagRequest.d.ts +8 -1
- package/dist/models/IndexTagRequest.js +7 -1
- package/dist/models/PaginatedSiteListResourceResponse.d.ts +40 -0
- package/dist/models/PaginatedSiteListResourceResponse.js +57 -0
- package/dist/models/PaginatedSupplierListResourceResponse.d.ts +40 -0
- package/dist/models/PaginatedSupplierListResourceResponse.js +57 -0
- package/dist/models/PaginatedTagListResourceResponse.d.ts +40 -0
- package/dist/models/PaginatedTagListResourceResponse.js +57 -0
- package/dist/models/SiteListResource.d.ts +50 -0
- package/dist/models/SiteListResource.js +63 -0
- package/dist/models/SiteListResourceArrayResponse.d.ts +33 -0
- package/dist/models/SiteListResourceArrayResponse.js +50 -0
- package/dist/models/SupplierListResource.d.ts +57 -0
- package/dist/models/SupplierListResource.js +68 -0
- package/dist/models/SupplierListResourceArrayResponse.d.ts +33 -0
- package/dist/models/SupplierListResourceArrayResponse.js +50 -0
- package/dist/models/TagListResource.d.ts +57 -0
- package/dist/models/TagListResource.js +68 -0
- package/dist/models/TagListResourceArrayResponse.d.ts +33 -0
- package/dist/models/TagListResourceArrayResponse.js +50 -0
- package/dist/models/TagLiteResource.d.ts +0 -7
- package/dist/models/TagLiteResource.js +0 -5
- package/dist/models/index.d.ts +9 -0
- package/dist/models/index.js +9 -0
- package/docs/PaginatedSiteListResourceResponse.md +36 -0
- package/docs/PaginatedSupplierListResourceResponse.md +36 -0
- package/docs/PaginatedTagListResourceResponse.md +36 -0
- package/docs/SiteApi.md +69 -3
- package/docs/SiteListResource.md +40 -0
- package/docs/SiteListResourceArrayResponse.md +34 -0
- package/docs/SupplierApi.md +69 -3
- package/docs/SupplierListResource.md +42 -0
- package/docs/SupplierListResourceArrayResponse.md +34 -0
- package/docs/TagApi.md +69 -3
- package/docs/TagListResource.md +42 -0
- package/docs/TagListResourceArrayResponse.md +34 -0
- package/docs/TagLiteResource.md +0 -2
- package/package.json +1 -1
- package/src/apis/SiteApi.ts +42 -6
- package/src/apis/SupplierApi.ts +42 -6
- package/src/apis/TagApi.ts +42 -6
- package/src/models/ExternalApiLogResource.ts +3 -2
- package/src/models/IndexSupplierRequest.ts +9 -1
- package/src/models/IndexTagRequest.ts +9 -1
- package/src/models/PaginatedSiteListResourceResponse.ts +90 -0
- package/src/models/PaginatedSupplierListResourceResponse.ts +90 -0
- package/src/models/PaginatedTagListResourceResponse.ts +90 -0
- package/src/models/SiteListResource.ts +93 -0
- package/src/models/SiteListResourceArrayResponse.ts +73 -0
- package/src/models/SupplierListResource.ts +110 -0
- package/src/models/SupplierListResourceArrayResponse.ts +73 -0
- package/src/models/TagListResource.ts +110 -0
- package/src/models/TagListResourceArrayResponse.ts +73 -0
- package/src/models/TagLiteResource.ts +0 -17
- package/src/models/index.ts +9 -0
|
@@ -0,0 +1,57 @@
|
|
|
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.instanceOfPaginatedSiteListResourceResponse = instanceOfPaginatedSiteListResourceResponse;
|
|
17
|
+
exports.PaginatedSiteListResourceResponseFromJSON = PaginatedSiteListResourceResponseFromJSON;
|
|
18
|
+
exports.PaginatedSiteListResourceResponseFromJSONTyped = PaginatedSiteListResourceResponseFromJSONTyped;
|
|
19
|
+
exports.PaginatedSiteListResourceResponseToJSON = PaginatedSiteListResourceResponseToJSON;
|
|
20
|
+
exports.PaginatedSiteListResourceResponseToJSONTyped = PaginatedSiteListResourceResponseToJSONTyped;
|
|
21
|
+
var PagingMetadata_1 = require("./PagingMetadata");
|
|
22
|
+
var SiteListResource_1 = require("./SiteListResource");
|
|
23
|
+
/**
|
|
24
|
+
* Check if a given object implements the PaginatedSiteListResourceResponse interface.
|
|
25
|
+
*/
|
|
26
|
+
function instanceOfPaginatedSiteListResourceResponse(value) {
|
|
27
|
+
if (!('data' in value) || value['data'] === undefined)
|
|
28
|
+
return false;
|
|
29
|
+
if (!('meta' in value) || value['meta'] === undefined)
|
|
30
|
+
return false;
|
|
31
|
+
return true;
|
|
32
|
+
}
|
|
33
|
+
function PaginatedSiteListResourceResponseFromJSON(json) {
|
|
34
|
+
return PaginatedSiteListResourceResponseFromJSONTyped(json, false);
|
|
35
|
+
}
|
|
36
|
+
function PaginatedSiteListResourceResponseFromJSONTyped(json, ignoreDiscriminator) {
|
|
37
|
+
if (json == null) {
|
|
38
|
+
return json;
|
|
39
|
+
}
|
|
40
|
+
return {
|
|
41
|
+
'data': (json['data'].map(SiteListResource_1.SiteListResourceFromJSON)),
|
|
42
|
+
'meta': (0, PagingMetadata_1.PagingMetadataFromJSON)(json['meta']),
|
|
43
|
+
};
|
|
44
|
+
}
|
|
45
|
+
function PaginatedSiteListResourceResponseToJSON(json) {
|
|
46
|
+
return PaginatedSiteListResourceResponseToJSONTyped(json, false);
|
|
47
|
+
}
|
|
48
|
+
function PaginatedSiteListResourceResponseToJSONTyped(value, ignoreDiscriminator) {
|
|
49
|
+
if (ignoreDiscriminator === void 0) { ignoreDiscriminator = false; }
|
|
50
|
+
if (value == null) {
|
|
51
|
+
return value;
|
|
52
|
+
}
|
|
53
|
+
return {
|
|
54
|
+
'data': (value['data'].map(SiteListResource_1.SiteListResourceToJSON)),
|
|
55
|
+
'meta': (0, PagingMetadata_1.PagingMetadataToJSON)(value['meta']),
|
|
56
|
+
};
|
|
57
|
+
}
|
|
@@ -0,0 +1,40 @@
|
|
|
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 { PagingMetadata } from './PagingMetadata';
|
|
13
|
+
import type { SupplierListResource } from './SupplierListResource';
|
|
14
|
+
/**
|
|
15
|
+
*
|
|
16
|
+
* @export
|
|
17
|
+
* @interface PaginatedSupplierListResourceResponse
|
|
18
|
+
*/
|
|
19
|
+
export interface PaginatedSupplierListResourceResponse {
|
|
20
|
+
/**
|
|
21
|
+
*
|
|
22
|
+
* @type {Array<SupplierListResource>}
|
|
23
|
+
* @memberof PaginatedSupplierListResourceResponse
|
|
24
|
+
*/
|
|
25
|
+
data: Array<SupplierListResource>;
|
|
26
|
+
/**
|
|
27
|
+
*
|
|
28
|
+
* @type {PagingMetadata}
|
|
29
|
+
* @memberof PaginatedSupplierListResourceResponse
|
|
30
|
+
*/
|
|
31
|
+
meta: PagingMetadata;
|
|
32
|
+
}
|
|
33
|
+
/**
|
|
34
|
+
* Check if a given object implements the PaginatedSupplierListResourceResponse interface.
|
|
35
|
+
*/
|
|
36
|
+
export declare function instanceOfPaginatedSupplierListResourceResponse(value: object): value is PaginatedSupplierListResourceResponse;
|
|
37
|
+
export declare function PaginatedSupplierListResourceResponseFromJSON(json: any): PaginatedSupplierListResourceResponse;
|
|
38
|
+
export declare function PaginatedSupplierListResourceResponseFromJSONTyped(json: any, ignoreDiscriminator: boolean): PaginatedSupplierListResourceResponse;
|
|
39
|
+
export declare function PaginatedSupplierListResourceResponseToJSON(json: any): PaginatedSupplierListResourceResponse;
|
|
40
|
+
export declare function PaginatedSupplierListResourceResponseToJSONTyped(value?: PaginatedSupplierListResourceResponse | null, ignoreDiscriminator?: boolean): any;
|
|
@@ -0,0 +1,57 @@
|
|
|
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.instanceOfPaginatedSupplierListResourceResponse = instanceOfPaginatedSupplierListResourceResponse;
|
|
17
|
+
exports.PaginatedSupplierListResourceResponseFromJSON = PaginatedSupplierListResourceResponseFromJSON;
|
|
18
|
+
exports.PaginatedSupplierListResourceResponseFromJSONTyped = PaginatedSupplierListResourceResponseFromJSONTyped;
|
|
19
|
+
exports.PaginatedSupplierListResourceResponseToJSON = PaginatedSupplierListResourceResponseToJSON;
|
|
20
|
+
exports.PaginatedSupplierListResourceResponseToJSONTyped = PaginatedSupplierListResourceResponseToJSONTyped;
|
|
21
|
+
var PagingMetadata_1 = require("./PagingMetadata");
|
|
22
|
+
var SupplierListResource_1 = require("./SupplierListResource");
|
|
23
|
+
/**
|
|
24
|
+
* Check if a given object implements the PaginatedSupplierListResourceResponse interface.
|
|
25
|
+
*/
|
|
26
|
+
function instanceOfPaginatedSupplierListResourceResponse(value) {
|
|
27
|
+
if (!('data' in value) || value['data'] === undefined)
|
|
28
|
+
return false;
|
|
29
|
+
if (!('meta' in value) || value['meta'] === undefined)
|
|
30
|
+
return false;
|
|
31
|
+
return true;
|
|
32
|
+
}
|
|
33
|
+
function PaginatedSupplierListResourceResponseFromJSON(json) {
|
|
34
|
+
return PaginatedSupplierListResourceResponseFromJSONTyped(json, false);
|
|
35
|
+
}
|
|
36
|
+
function PaginatedSupplierListResourceResponseFromJSONTyped(json, ignoreDiscriminator) {
|
|
37
|
+
if (json == null) {
|
|
38
|
+
return json;
|
|
39
|
+
}
|
|
40
|
+
return {
|
|
41
|
+
'data': (json['data'].map(SupplierListResource_1.SupplierListResourceFromJSON)),
|
|
42
|
+
'meta': (0, PagingMetadata_1.PagingMetadataFromJSON)(json['meta']),
|
|
43
|
+
};
|
|
44
|
+
}
|
|
45
|
+
function PaginatedSupplierListResourceResponseToJSON(json) {
|
|
46
|
+
return PaginatedSupplierListResourceResponseToJSONTyped(json, false);
|
|
47
|
+
}
|
|
48
|
+
function PaginatedSupplierListResourceResponseToJSONTyped(value, ignoreDiscriminator) {
|
|
49
|
+
if (ignoreDiscriminator === void 0) { ignoreDiscriminator = false; }
|
|
50
|
+
if (value == null) {
|
|
51
|
+
return value;
|
|
52
|
+
}
|
|
53
|
+
return {
|
|
54
|
+
'data': (value['data'].map(SupplierListResource_1.SupplierListResourceToJSON)),
|
|
55
|
+
'meta': (0, PagingMetadata_1.PagingMetadataToJSON)(value['meta']),
|
|
56
|
+
};
|
|
57
|
+
}
|
|
@@ -0,0 +1,40 @@
|
|
|
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 { PagingMetadata } from './PagingMetadata';
|
|
13
|
+
import type { TagListResource } from './TagListResource';
|
|
14
|
+
/**
|
|
15
|
+
*
|
|
16
|
+
* @export
|
|
17
|
+
* @interface PaginatedTagListResourceResponse
|
|
18
|
+
*/
|
|
19
|
+
export interface PaginatedTagListResourceResponse {
|
|
20
|
+
/**
|
|
21
|
+
*
|
|
22
|
+
* @type {Array<TagListResource>}
|
|
23
|
+
* @memberof PaginatedTagListResourceResponse
|
|
24
|
+
*/
|
|
25
|
+
data: Array<TagListResource>;
|
|
26
|
+
/**
|
|
27
|
+
*
|
|
28
|
+
* @type {PagingMetadata}
|
|
29
|
+
* @memberof PaginatedTagListResourceResponse
|
|
30
|
+
*/
|
|
31
|
+
meta: PagingMetadata;
|
|
32
|
+
}
|
|
33
|
+
/**
|
|
34
|
+
* Check if a given object implements the PaginatedTagListResourceResponse interface.
|
|
35
|
+
*/
|
|
36
|
+
export declare function instanceOfPaginatedTagListResourceResponse(value: object): value is PaginatedTagListResourceResponse;
|
|
37
|
+
export declare function PaginatedTagListResourceResponseFromJSON(json: any): PaginatedTagListResourceResponse;
|
|
38
|
+
export declare function PaginatedTagListResourceResponseFromJSONTyped(json: any, ignoreDiscriminator: boolean): PaginatedTagListResourceResponse;
|
|
39
|
+
export declare function PaginatedTagListResourceResponseToJSON(json: any): PaginatedTagListResourceResponse;
|
|
40
|
+
export declare function PaginatedTagListResourceResponseToJSONTyped(value?: PaginatedTagListResourceResponse | null, ignoreDiscriminator?: boolean): any;
|
|
@@ -0,0 +1,57 @@
|
|
|
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.instanceOfPaginatedTagListResourceResponse = instanceOfPaginatedTagListResourceResponse;
|
|
17
|
+
exports.PaginatedTagListResourceResponseFromJSON = PaginatedTagListResourceResponseFromJSON;
|
|
18
|
+
exports.PaginatedTagListResourceResponseFromJSONTyped = PaginatedTagListResourceResponseFromJSONTyped;
|
|
19
|
+
exports.PaginatedTagListResourceResponseToJSON = PaginatedTagListResourceResponseToJSON;
|
|
20
|
+
exports.PaginatedTagListResourceResponseToJSONTyped = PaginatedTagListResourceResponseToJSONTyped;
|
|
21
|
+
var PagingMetadata_1 = require("./PagingMetadata");
|
|
22
|
+
var TagListResource_1 = require("./TagListResource");
|
|
23
|
+
/**
|
|
24
|
+
* Check if a given object implements the PaginatedTagListResourceResponse interface.
|
|
25
|
+
*/
|
|
26
|
+
function instanceOfPaginatedTagListResourceResponse(value) {
|
|
27
|
+
if (!('data' in value) || value['data'] === undefined)
|
|
28
|
+
return false;
|
|
29
|
+
if (!('meta' in value) || value['meta'] === undefined)
|
|
30
|
+
return false;
|
|
31
|
+
return true;
|
|
32
|
+
}
|
|
33
|
+
function PaginatedTagListResourceResponseFromJSON(json) {
|
|
34
|
+
return PaginatedTagListResourceResponseFromJSONTyped(json, false);
|
|
35
|
+
}
|
|
36
|
+
function PaginatedTagListResourceResponseFromJSONTyped(json, ignoreDiscriminator) {
|
|
37
|
+
if (json == null) {
|
|
38
|
+
return json;
|
|
39
|
+
}
|
|
40
|
+
return {
|
|
41
|
+
'data': (json['data'].map(TagListResource_1.TagListResourceFromJSON)),
|
|
42
|
+
'meta': (0, PagingMetadata_1.PagingMetadataFromJSON)(json['meta']),
|
|
43
|
+
};
|
|
44
|
+
}
|
|
45
|
+
function PaginatedTagListResourceResponseToJSON(json) {
|
|
46
|
+
return PaginatedTagListResourceResponseToJSONTyped(json, false);
|
|
47
|
+
}
|
|
48
|
+
function PaginatedTagListResourceResponseToJSONTyped(value, ignoreDiscriminator) {
|
|
49
|
+
if (ignoreDiscriminator === void 0) { ignoreDiscriminator = false; }
|
|
50
|
+
if (value == null) {
|
|
51
|
+
return value;
|
|
52
|
+
}
|
|
53
|
+
return {
|
|
54
|
+
'data': (value['data'].map(TagListResource_1.TagListResourceToJSON)),
|
|
55
|
+
'meta': (0, PagingMetadata_1.PagingMetadataToJSON)(value['meta']),
|
|
56
|
+
};
|
|
57
|
+
}
|
|
@@ -0,0 +1,50 @@
|
|
|
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;
|
|
@@ -0,0 +1,63 @@
|
|
|
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
|
+
}
|
|
@@ -0,0 +1,33 @@
|
|
|
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;
|
|
@@ -0,0 +1,50 @@
|
|
|
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
|
+
}
|
|
@@ -0,0 +1,57 @@
|
|
|
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;
|
|
@@ -0,0 +1,68 @@
|
|
|
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
|
+
}
|
|
@@ -0,0 +1,33 @@
|
|
|
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;
|
|
@@ -0,0 +1,50 @@
|
|
|
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
|
+
}
|