@digital8/lighting-illusions-ts-sdk 0.0.617 → 0.0.618
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 +28 -0
- package/README.md +21 -2
- package/dist/apis/DefinitionApi.d.ts +85 -0
- package/dist/apis/DefinitionApi.js +355 -0
- package/dist/apis/index.d.ts +1 -0
- package/dist/apis/index.js +1 -0
- package/dist/models/DefinitionListResource.d.ts +44 -0
- package/dist/models/DefinitionListResource.js +59 -0
- package/dist/models/DefinitionListResourceArrayResponse.d.ts +33 -0
- package/dist/models/DefinitionListResourceArrayResponse.js +50 -0
- package/dist/models/DefinitionLiteResource.d.ts +38 -0
- package/dist/models/DefinitionLiteResource.js +55 -0
- package/dist/models/DefinitionLiteResourceArrayResponse.d.ts +33 -0
- package/dist/models/DefinitionLiteResourceArrayResponse.js +50 -0
- package/dist/models/DefinitionResource.d.ts +44 -0
- package/dist/models/DefinitionResource.js +59 -0
- package/dist/models/DefinitionResourceArrayResponse.d.ts +33 -0
- package/dist/models/DefinitionResourceArrayResponse.js +50 -0
- package/dist/models/GetAllDefinitionRequest.d.ts +80 -0
- package/dist/models/GetAllDefinitionRequest.js +76 -0
- package/dist/models/IndexDefinitionRequest.d.ts +92 -0
- package/dist/models/IndexDefinitionRequest.js +80 -0
- package/dist/models/PaginatedDefinitionListResourceResponse.d.ts +40 -0
- package/dist/models/PaginatedDefinitionListResourceResponse.js +57 -0
- package/dist/models/PaginatedDefinitionLiteResourceResponse.d.ts +40 -0
- package/dist/models/PaginatedDefinitionLiteResourceResponse.js +57 -0
- package/dist/models/PaginatedDefinitionResourceResponse.d.ts +40 -0
- package/dist/models/PaginatedDefinitionResourceResponse.js +57 -0
- package/dist/models/StoreDefinitionRequest.d.ts +38 -0
- package/dist/models/StoreDefinitionRequest.js +55 -0
- package/dist/models/UpdateDefinitionRequest.d.ts +38 -0
- package/dist/models/UpdateDefinitionRequest.js +55 -0
- package/dist/models/index.d.ts +13 -0
- package/dist/models/index.js +13 -0
- package/docs/DefinitionApi.md +407 -0
- package/docs/DefinitionListResource.md +38 -0
- package/docs/DefinitionListResourceArrayResponse.md +34 -0
- package/docs/DefinitionLiteResource.md +36 -0
- package/docs/DefinitionLiteResourceArrayResponse.md +34 -0
- package/docs/DefinitionResource.md +38 -0
- package/docs/DefinitionResourceArrayResponse.md +34 -0
- package/docs/GetAllDefinitionRequest.md +44 -0
- package/docs/IndexDefinitionRequest.md +48 -0
- package/docs/PaginatedDefinitionListResourceResponse.md +36 -0
- package/docs/PaginatedDefinitionLiteResourceResponse.md +36 -0
- package/docs/PaginatedDefinitionResourceResponse.md +36 -0
- package/docs/StoreDefinitionRequest.md +36 -0
- package/docs/UpdateDefinitionRequest.md +36 -0
- package/package.json +1 -1
- package/src/apis/DefinitionApi.ts +286 -0
- package/src/apis/index.ts +1 -0
- package/src/models/DefinitionListResource.ts +84 -0
- package/src/models/DefinitionListResourceArrayResponse.ts +73 -0
- package/src/models/DefinitionLiteResource.ts +75 -0
- package/src/models/DefinitionLiteResourceArrayResponse.ts +73 -0
- package/src/models/DefinitionResource.ts +84 -0
- package/src/models/DefinitionResourceArrayResponse.ts +73 -0
- package/src/models/GetAllDefinitionRequest.ts +127 -0
- package/src/models/IndexDefinitionRequest.ts +143 -0
- package/src/models/PaginatedDefinitionListResourceResponse.ts +90 -0
- package/src/models/PaginatedDefinitionLiteResourceResponse.ts +90 -0
- package/src/models/PaginatedDefinitionResourceResponse.ts +90 -0
- package/src/models/StoreDefinitionRequest.ts +75 -0
- package/src/models/UpdateDefinitionRequest.ts +75 -0
- package/src/models/index.ts +13 -0
|
@@ -0,0 +1,44 @@
|
|
|
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 DefinitionListResource
|
|
16
|
+
*/
|
|
17
|
+
export interface DefinitionListResource {
|
|
18
|
+
/**
|
|
19
|
+
*
|
|
20
|
+
* @type {number}
|
|
21
|
+
* @memberof DefinitionListResource
|
|
22
|
+
*/
|
|
23
|
+
id: number;
|
|
24
|
+
/**
|
|
25
|
+
*
|
|
26
|
+
* @type {string}
|
|
27
|
+
* @memberof DefinitionListResource
|
|
28
|
+
*/
|
|
29
|
+
name: string;
|
|
30
|
+
/**
|
|
31
|
+
*
|
|
32
|
+
* @type {string}
|
|
33
|
+
* @memberof DefinitionListResource
|
|
34
|
+
*/
|
|
35
|
+
content: string;
|
|
36
|
+
}
|
|
37
|
+
/**
|
|
38
|
+
* Check if a given object implements the DefinitionListResource interface.
|
|
39
|
+
*/
|
|
40
|
+
export declare function instanceOfDefinitionListResource(value: object): value is DefinitionListResource;
|
|
41
|
+
export declare function DefinitionListResourceFromJSON(json: any): DefinitionListResource;
|
|
42
|
+
export declare function DefinitionListResourceFromJSONTyped(json: any, ignoreDiscriminator: boolean): DefinitionListResource;
|
|
43
|
+
export declare function DefinitionListResourceToJSON(json: any): DefinitionListResource;
|
|
44
|
+
export declare function DefinitionListResourceToJSONTyped(value?: DefinitionListResource | null, ignoreDiscriminator?: boolean): any;
|
|
@@ -0,0 +1,59 @@
|
|
|
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.instanceOfDefinitionListResource = instanceOfDefinitionListResource;
|
|
17
|
+
exports.DefinitionListResourceFromJSON = DefinitionListResourceFromJSON;
|
|
18
|
+
exports.DefinitionListResourceFromJSONTyped = DefinitionListResourceFromJSONTyped;
|
|
19
|
+
exports.DefinitionListResourceToJSON = DefinitionListResourceToJSON;
|
|
20
|
+
exports.DefinitionListResourceToJSONTyped = DefinitionListResourceToJSONTyped;
|
|
21
|
+
/**
|
|
22
|
+
* Check if a given object implements the DefinitionListResource interface.
|
|
23
|
+
*/
|
|
24
|
+
function instanceOfDefinitionListResource(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 (!('content' in value) || value['content'] === undefined)
|
|
30
|
+
return false;
|
|
31
|
+
return true;
|
|
32
|
+
}
|
|
33
|
+
function DefinitionListResourceFromJSON(json) {
|
|
34
|
+
return DefinitionListResourceFromJSONTyped(json, false);
|
|
35
|
+
}
|
|
36
|
+
function DefinitionListResourceFromJSONTyped(json, ignoreDiscriminator) {
|
|
37
|
+
if (json == null) {
|
|
38
|
+
return json;
|
|
39
|
+
}
|
|
40
|
+
return {
|
|
41
|
+
'id': json['id'],
|
|
42
|
+
'name': json['name'],
|
|
43
|
+
'content': json['content'],
|
|
44
|
+
};
|
|
45
|
+
}
|
|
46
|
+
function DefinitionListResourceToJSON(json) {
|
|
47
|
+
return DefinitionListResourceToJSONTyped(json, false);
|
|
48
|
+
}
|
|
49
|
+
function DefinitionListResourceToJSONTyped(value, ignoreDiscriminator) {
|
|
50
|
+
if (ignoreDiscriminator === void 0) { ignoreDiscriminator = false; }
|
|
51
|
+
if (value == null) {
|
|
52
|
+
return value;
|
|
53
|
+
}
|
|
54
|
+
return {
|
|
55
|
+
'id': value['id'],
|
|
56
|
+
'name': value['name'],
|
|
57
|
+
'content': value['content'],
|
|
58
|
+
};
|
|
59
|
+
}
|
|
@@ -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 { DefinitionListResource } from './DefinitionListResource';
|
|
13
|
+
/**
|
|
14
|
+
*
|
|
15
|
+
* @export
|
|
16
|
+
* @interface DefinitionListResourceArrayResponse
|
|
17
|
+
*/
|
|
18
|
+
export interface DefinitionListResourceArrayResponse {
|
|
19
|
+
/**
|
|
20
|
+
*
|
|
21
|
+
* @type {Array<DefinitionListResource>}
|
|
22
|
+
* @memberof DefinitionListResourceArrayResponse
|
|
23
|
+
*/
|
|
24
|
+
data?: Array<DefinitionListResource>;
|
|
25
|
+
}
|
|
26
|
+
/**
|
|
27
|
+
* Check if a given object implements the DefinitionListResourceArrayResponse interface.
|
|
28
|
+
*/
|
|
29
|
+
export declare function instanceOfDefinitionListResourceArrayResponse(value: object): value is DefinitionListResourceArrayResponse;
|
|
30
|
+
export declare function DefinitionListResourceArrayResponseFromJSON(json: any): DefinitionListResourceArrayResponse;
|
|
31
|
+
export declare function DefinitionListResourceArrayResponseFromJSONTyped(json: any, ignoreDiscriminator: boolean): DefinitionListResourceArrayResponse;
|
|
32
|
+
export declare function DefinitionListResourceArrayResponseToJSON(json: any): DefinitionListResourceArrayResponse;
|
|
33
|
+
export declare function DefinitionListResourceArrayResponseToJSONTyped(value?: DefinitionListResourceArrayResponse | 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.instanceOfDefinitionListResourceArrayResponse = instanceOfDefinitionListResourceArrayResponse;
|
|
17
|
+
exports.DefinitionListResourceArrayResponseFromJSON = DefinitionListResourceArrayResponseFromJSON;
|
|
18
|
+
exports.DefinitionListResourceArrayResponseFromJSONTyped = DefinitionListResourceArrayResponseFromJSONTyped;
|
|
19
|
+
exports.DefinitionListResourceArrayResponseToJSON = DefinitionListResourceArrayResponseToJSON;
|
|
20
|
+
exports.DefinitionListResourceArrayResponseToJSONTyped = DefinitionListResourceArrayResponseToJSONTyped;
|
|
21
|
+
var DefinitionListResource_1 = require("./DefinitionListResource");
|
|
22
|
+
/**
|
|
23
|
+
* Check if a given object implements the DefinitionListResourceArrayResponse interface.
|
|
24
|
+
*/
|
|
25
|
+
function instanceOfDefinitionListResourceArrayResponse(value) {
|
|
26
|
+
return true;
|
|
27
|
+
}
|
|
28
|
+
function DefinitionListResourceArrayResponseFromJSON(json) {
|
|
29
|
+
return DefinitionListResourceArrayResponseFromJSONTyped(json, false);
|
|
30
|
+
}
|
|
31
|
+
function DefinitionListResourceArrayResponseFromJSONTyped(json, ignoreDiscriminator) {
|
|
32
|
+
if (json == null) {
|
|
33
|
+
return json;
|
|
34
|
+
}
|
|
35
|
+
return {
|
|
36
|
+
'data': json['data'] == null ? undefined : (json['data'].map(DefinitionListResource_1.DefinitionListResourceFromJSON)),
|
|
37
|
+
};
|
|
38
|
+
}
|
|
39
|
+
function DefinitionListResourceArrayResponseToJSON(json) {
|
|
40
|
+
return DefinitionListResourceArrayResponseToJSONTyped(json, false);
|
|
41
|
+
}
|
|
42
|
+
function DefinitionListResourceArrayResponseToJSONTyped(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(DefinitionListResource_1.DefinitionListResourceToJSON)),
|
|
49
|
+
};
|
|
50
|
+
}
|
|
@@ -0,0 +1,38 @@
|
|
|
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 DefinitionLiteResource
|
|
16
|
+
*/
|
|
17
|
+
export interface DefinitionLiteResource {
|
|
18
|
+
/**
|
|
19
|
+
*
|
|
20
|
+
* @type {number}
|
|
21
|
+
* @memberof DefinitionLiteResource
|
|
22
|
+
*/
|
|
23
|
+
id: number;
|
|
24
|
+
/**
|
|
25
|
+
*
|
|
26
|
+
* @type {string}
|
|
27
|
+
* @memberof DefinitionLiteResource
|
|
28
|
+
*/
|
|
29
|
+
name: string;
|
|
30
|
+
}
|
|
31
|
+
/**
|
|
32
|
+
* Check if a given object implements the DefinitionLiteResource interface.
|
|
33
|
+
*/
|
|
34
|
+
export declare function instanceOfDefinitionLiteResource(value: object): value is DefinitionLiteResource;
|
|
35
|
+
export declare function DefinitionLiteResourceFromJSON(json: any): DefinitionLiteResource;
|
|
36
|
+
export declare function DefinitionLiteResourceFromJSONTyped(json: any, ignoreDiscriminator: boolean): DefinitionLiteResource;
|
|
37
|
+
export declare function DefinitionLiteResourceToJSON(json: any): DefinitionLiteResource;
|
|
38
|
+
export declare function DefinitionLiteResourceToJSONTyped(value?: DefinitionLiteResource | null, ignoreDiscriminator?: boolean): any;
|
|
@@ -0,0 +1,55 @@
|
|
|
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.instanceOfDefinitionLiteResource = instanceOfDefinitionLiteResource;
|
|
17
|
+
exports.DefinitionLiteResourceFromJSON = DefinitionLiteResourceFromJSON;
|
|
18
|
+
exports.DefinitionLiteResourceFromJSONTyped = DefinitionLiteResourceFromJSONTyped;
|
|
19
|
+
exports.DefinitionLiteResourceToJSON = DefinitionLiteResourceToJSON;
|
|
20
|
+
exports.DefinitionLiteResourceToJSONTyped = DefinitionLiteResourceToJSONTyped;
|
|
21
|
+
/**
|
|
22
|
+
* Check if a given object implements the DefinitionLiteResource interface.
|
|
23
|
+
*/
|
|
24
|
+
function instanceOfDefinitionLiteResource(value) {
|
|
25
|
+
if (!('id' in value) || value['id'] === undefined)
|
|
26
|
+
return false;
|
|
27
|
+
if (!('name' in value) || value['name'] === undefined)
|
|
28
|
+
return false;
|
|
29
|
+
return true;
|
|
30
|
+
}
|
|
31
|
+
function DefinitionLiteResourceFromJSON(json) {
|
|
32
|
+
return DefinitionLiteResourceFromJSONTyped(json, false);
|
|
33
|
+
}
|
|
34
|
+
function DefinitionLiteResourceFromJSONTyped(json, ignoreDiscriminator) {
|
|
35
|
+
if (json == null) {
|
|
36
|
+
return json;
|
|
37
|
+
}
|
|
38
|
+
return {
|
|
39
|
+
'id': json['id'],
|
|
40
|
+
'name': json['name'],
|
|
41
|
+
};
|
|
42
|
+
}
|
|
43
|
+
function DefinitionLiteResourceToJSON(json) {
|
|
44
|
+
return DefinitionLiteResourceToJSONTyped(json, false);
|
|
45
|
+
}
|
|
46
|
+
function DefinitionLiteResourceToJSONTyped(value, ignoreDiscriminator) {
|
|
47
|
+
if (ignoreDiscriminator === void 0) { ignoreDiscriminator = false; }
|
|
48
|
+
if (value == null) {
|
|
49
|
+
return value;
|
|
50
|
+
}
|
|
51
|
+
return {
|
|
52
|
+
'id': value['id'],
|
|
53
|
+
'name': value['name'],
|
|
54
|
+
};
|
|
55
|
+
}
|
|
@@ -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 { DefinitionLiteResource } from './DefinitionLiteResource';
|
|
13
|
+
/**
|
|
14
|
+
*
|
|
15
|
+
* @export
|
|
16
|
+
* @interface DefinitionLiteResourceArrayResponse
|
|
17
|
+
*/
|
|
18
|
+
export interface DefinitionLiteResourceArrayResponse {
|
|
19
|
+
/**
|
|
20
|
+
*
|
|
21
|
+
* @type {Array<DefinitionLiteResource>}
|
|
22
|
+
* @memberof DefinitionLiteResourceArrayResponse
|
|
23
|
+
*/
|
|
24
|
+
data?: Array<DefinitionLiteResource>;
|
|
25
|
+
}
|
|
26
|
+
/**
|
|
27
|
+
* Check if a given object implements the DefinitionLiteResourceArrayResponse interface.
|
|
28
|
+
*/
|
|
29
|
+
export declare function instanceOfDefinitionLiteResourceArrayResponse(value: object): value is DefinitionLiteResourceArrayResponse;
|
|
30
|
+
export declare function DefinitionLiteResourceArrayResponseFromJSON(json: any): DefinitionLiteResourceArrayResponse;
|
|
31
|
+
export declare function DefinitionLiteResourceArrayResponseFromJSONTyped(json: any, ignoreDiscriminator: boolean): DefinitionLiteResourceArrayResponse;
|
|
32
|
+
export declare function DefinitionLiteResourceArrayResponseToJSON(json: any): DefinitionLiteResourceArrayResponse;
|
|
33
|
+
export declare function DefinitionLiteResourceArrayResponseToJSONTyped(value?: DefinitionLiteResourceArrayResponse | 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.instanceOfDefinitionLiteResourceArrayResponse = instanceOfDefinitionLiteResourceArrayResponse;
|
|
17
|
+
exports.DefinitionLiteResourceArrayResponseFromJSON = DefinitionLiteResourceArrayResponseFromJSON;
|
|
18
|
+
exports.DefinitionLiteResourceArrayResponseFromJSONTyped = DefinitionLiteResourceArrayResponseFromJSONTyped;
|
|
19
|
+
exports.DefinitionLiteResourceArrayResponseToJSON = DefinitionLiteResourceArrayResponseToJSON;
|
|
20
|
+
exports.DefinitionLiteResourceArrayResponseToJSONTyped = DefinitionLiteResourceArrayResponseToJSONTyped;
|
|
21
|
+
var DefinitionLiteResource_1 = require("./DefinitionLiteResource");
|
|
22
|
+
/**
|
|
23
|
+
* Check if a given object implements the DefinitionLiteResourceArrayResponse interface.
|
|
24
|
+
*/
|
|
25
|
+
function instanceOfDefinitionLiteResourceArrayResponse(value) {
|
|
26
|
+
return true;
|
|
27
|
+
}
|
|
28
|
+
function DefinitionLiteResourceArrayResponseFromJSON(json) {
|
|
29
|
+
return DefinitionLiteResourceArrayResponseFromJSONTyped(json, false);
|
|
30
|
+
}
|
|
31
|
+
function DefinitionLiteResourceArrayResponseFromJSONTyped(json, ignoreDiscriminator) {
|
|
32
|
+
if (json == null) {
|
|
33
|
+
return json;
|
|
34
|
+
}
|
|
35
|
+
return {
|
|
36
|
+
'data': json['data'] == null ? undefined : (json['data'].map(DefinitionLiteResource_1.DefinitionLiteResourceFromJSON)),
|
|
37
|
+
};
|
|
38
|
+
}
|
|
39
|
+
function DefinitionLiteResourceArrayResponseToJSON(json) {
|
|
40
|
+
return DefinitionLiteResourceArrayResponseToJSONTyped(json, false);
|
|
41
|
+
}
|
|
42
|
+
function DefinitionLiteResourceArrayResponseToJSONTyped(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(DefinitionLiteResource_1.DefinitionLiteResourceToJSON)),
|
|
49
|
+
};
|
|
50
|
+
}
|
|
@@ -0,0 +1,44 @@
|
|
|
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 DefinitionResource
|
|
16
|
+
*/
|
|
17
|
+
export interface DefinitionResource {
|
|
18
|
+
/**
|
|
19
|
+
*
|
|
20
|
+
* @type {number}
|
|
21
|
+
* @memberof DefinitionResource
|
|
22
|
+
*/
|
|
23
|
+
id: number;
|
|
24
|
+
/**
|
|
25
|
+
*
|
|
26
|
+
* @type {string}
|
|
27
|
+
* @memberof DefinitionResource
|
|
28
|
+
*/
|
|
29
|
+
name: string;
|
|
30
|
+
/**
|
|
31
|
+
*
|
|
32
|
+
* @type {string}
|
|
33
|
+
* @memberof DefinitionResource
|
|
34
|
+
*/
|
|
35
|
+
content: string;
|
|
36
|
+
}
|
|
37
|
+
/**
|
|
38
|
+
* Check if a given object implements the DefinitionResource interface.
|
|
39
|
+
*/
|
|
40
|
+
export declare function instanceOfDefinitionResource(value: object): value is DefinitionResource;
|
|
41
|
+
export declare function DefinitionResourceFromJSON(json: any): DefinitionResource;
|
|
42
|
+
export declare function DefinitionResourceFromJSONTyped(json: any, ignoreDiscriminator: boolean): DefinitionResource;
|
|
43
|
+
export declare function DefinitionResourceToJSON(json: any): DefinitionResource;
|
|
44
|
+
export declare function DefinitionResourceToJSONTyped(value?: DefinitionResource | null, ignoreDiscriminator?: boolean): any;
|
|
@@ -0,0 +1,59 @@
|
|
|
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.instanceOfDefinitionResource = instanceOfDefinitionResource;
|
|
17
|
+
exports.DefinitionResourceFromJSON = DefinitionResourceFromJSON;
|
|
18
|
+
exports.DefinitionResourceFromJSONTyped = DefinitionResourceFromJSONTyped;
|
|
19
|
+
exports.DefinitionResourceToJSON = DefinitionResourceToJSON;
|
|
20
|
+
exports.DefinitionResourceToJSONTyped = DefinitionResourceToJSONTyped;
|
|
21
|
+
/**
|
|
22
|
+
* Check if a given object implements the DefinitionResource interface.
|
|
23
|
+
*/
|
|
24
|
+
function instanceOfDefinitionResource(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 (!('content' in value) || value['content'] === undefined)
|
|
30
|
+
return false;
|
|
31
|
+
return true;
|
|
32
|
+
}
|
|
33
|
+
function DefinitionResourceFromJSON(json) {
|
|
34
|
+
return DefinitionResourceFromJSONTyped(json, false);
|
|
35
|
+
}
|
|
36
|
+
function DefinitionResourceFromJSONTyped(json, ignoreDiscriminator) {
|
|
37
|
+
if (json == null) {
|
|
38
|
+
return json;
|
|
39
|
+
}
|
|
40
|
+
return {
|
|
41
|
+
'id': json['id'],
|
|
42
|
+
'name': json['name'],
|
|
43
|
+
'content': json['content'],
|
|
44
|
+
};
|
|
45
|
+
}
|
|
46
|
+
function DefinitionResourceToJSON(json) {
|
|
47
|
+
return DefinitionResourceToJSONTyped(json, false);
|
|
48
|
+
}
|
|
49
|
+
function DefinitionResourceToJSONTyped(value, ignoreDiscriminator) {
|
|
50
|
+
if (ignoreDiscriminator === void 0) { ignoreDiscriminator = false; }
|
|
51
|
+
if (value == null) {
|
|
52
|
+
return value;
|
|
53
|
+
}
|
|
54
|
+
return {
|
|
55
|
+
'id': value['id'],
|
|
56
|
+
'name': value['name'],
|
|
57
|
+
'content': value['content'],
|
|
58
|
+
};
|
|
59
|
+
}
|
|
@@ -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 { DefinitionResource } from './DefinitionResource';
|
|
13
|
+
/**
|
|
14
|
+
*
|
|
15
|
+
* @export
|
|
16
|
+
* @interface DefinitionResourceArrayResponse
|
|
17
|
+
*/
|
|
18
|
+
export interface DefinitionResourceArrayResponse {
|
|
19
|
+
/**
|
|
20
|
+
*
|
|
21
|
+
* @type {Array<DefinitionResource>}
|
|
22
|
+
* @memberof DefinitionResourceArrayResponse
|
|
23
|
+
*/
|
|
24
|
+
data?: Array<DefinitionResource>;
|
|
25
|
+
}
|
|
26
|
+
/**
|
|
27
|
+
* Check if a given object implements the DefinitionResourceArrayResponse interface.
|
|
28
|
+
*/
|
|
29
|
+
export declare function instanceOfDefinitionResourceArrayResponse(value: object): value is DefinitionResourceArrayResponse;
|
|
30
|
+
export declare function DefinitionResourceArrayResponseFromJSON(json: any): DefinitionResourceArrayResponse;
|
|
31
|
+
export declare function DefinitionResourceArrayResponseFromJSONTyped(json: any, ignoreDiscriminator: boolean): DefinitionResourceArrayResponse;
|
|
32
|
+
export declare function DefinitionResourceArrayResponseToJSON(json: any): DefinitionResourceArrayResponse;
|
|
33
|
+
export declare function DefinitionResourceArrayResponseToJSONTyped(value?: DefinitionResourceArrayResponse | 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.instanceOfDefinitionResourceArrayResponse = instanceOfDefinitionResourceArrayResponse;
|
|
17
|
+
exports.DefinitionResourceArrayResponseFromJSON = DefinitionResourceArrayResponseFromJSON;
|
|
18
|
+
exports.DefinitionResourceArrayResponseFromJSONTyped = DefinitionResourceArrayResponseFromJSONTyped;
|
|
19
|
+
exports.DefinitionResourceArrayResponseToJSON = DefinitionResourceArrayResponseToJSON;
|
|
20
|
+
exports.DefinitionResourceArrayResponseToJSONTyped = DefinitionResourceArrayResponseToJSONTyped;
|
|
21
|
+
var DefinitionResource_1 = require("./DefinitionResource");
|
|
22
|
+
/**
|
|
23
|
+
* Check if a given object implements the DefinitionResourceArrayResponse interface.
|
|
24
|
+
*/
|
|
25
|
+
function instanceOfDefinitionResourceArrayResponse(value) {
|
|
26
|
+
return true;
|
|
27
|
+
}
|
|
28
|
+
function DefinitionResourceArrayResponseFromJSON(json) {
|
|
29
|
+
return DefinitionResourceArrayResponseFromJSONTyped(json, false);
|
|
30
|
+
}
|
|
31
|
+
function DefinitionResourceArrayResponseFromJSONTyped(json, ignoreDiscriminator) {
|
|
32
|
+
if (json == null) {
|
|
33
|
+
return json;
|
|
34
|
+
}
|
|
35
|
+
return {
|
|
36
|
+
'data': json['data'] == null ? undefined : (json['data'].map(DefinitionResource_1.DefinitionResourceFromJSON)),
|
|
37
|
+
};
|
|
38
|
+
}
|
|
39
|
+
function DefinitionResourceArrayResponseToJSON(json) {
|
|
40
|
+
return DefinitionResourceArrayResponseToJSONTyped(json, false);
|
|
41
|
+
}
|
|
42
|
+
function DefinitionResourceArrayResponseToJSONTyped(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(DefinitionResource_1.DefinitionResourceToJSON)),
|
|
49
|
+
};
|
|
50
|
+
}
|
|
@@ -0,0 +1,80 @@
|
|
|
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 GetAllDefinitionRequest
|
|
16
|
+
*/
|
|
17
|
+
export interface GetAllDefinitionRequest {
|
|
18
|
+
/**
|
|
19
|
+
*
|
|
20
|
+
* @type {string}
|
|
21
|
+
* @memberof GetAllDefinitionRequest
|
|
22
|
+
*/
|
|
23
|
+
search?: string;
|
|
24
|
+
/**
|
|
25
|
+
*
|
|
26
|
+
* @type {string}
|
|
27
|
+
* @memberof GetAllDefinitionRequest
|
|
28
|
+
*/
|
|
29
|
+
sortBy?: GetAllDefinitionRequestSortByEnum;
|
|
30
|
+
/**
|
|
31
|
+
*
|
|
32
|
+
* @type {string}
|
|
33
|
+
* @memberof GetAllDefinitionRequest
|
|
34
|
+
*/
|
|
35
|
+
sortDirection?: GetAllDefinitionRequestSortDirectionEnum;
|
|
36
|
+
/**
|
|
37
|
+
*
|
|
38
|
+
* @type {number}
|
|
39
|
+
* @memberof GetAllDefinitionRequest
|
|
40
|
+
*/
|
|
41
|
+
relatedId?: number;
|
|
42
|
+
/**
|
|
43
|
+
*
|
|
44
|
+
* @type {string}
|
|
45
|
+
* @memberof GetAllDefinitionRequest
|
|
46
|
+
*/
|
|
47
|
+
relatedType?: string;
|
|
48
|
+
/**
|
|
49
|
+
*
|
|
50
|
+
* @type {boolean}
|
|
51
|
+
* @memberof GetAllDefinitionRequest
|
|
52
|
+
*/
|
|
53
|
+
includesRelations?: boolean;
|
|
54
|
+
}
|
|
55
|
+
/**
|
|
56
|
+
* @export
|
|
57
|
+
*/
|
|
58
|
+
export declare const GetAllDefinitionRequestSortByEnum: {
|
|
59
|
+
readonly Id: "id";
|
|
60
|
+
readonly Name: "name";
|
|
61
|
+
readonly CreatedAt: "created_at";
|
|
62
|
+
readonly UpdatedAt: "updated_at";
|
|
63
|
+
};
|
|
64
|
+
export type GetAllDefinitionRequestSortByEnum = typeof GetAllDefinitionRequestSortByEnum[keyof typeof GetAllDefinitionRequestSortByEnum];
|
|
65
|
+
/**
|
|
66
|
+
* @export
|
|
67
|
+
*/
|
|
68
|
+
export declare const GetAllDefinitionRequestSortDirectionEnum: {
|
|
69
|
+
readonly Asc: "asc";
|
|
70
|
+
readonly Desc: "desc";
|
|
71
|
+
};
|
|
72
|
+
export type GetAllDefinitionRequestSortDirectionEnum = typeof GetAllDefinitionRequestSortDirectionEnum[keyof typeof GetAllDefinitionRequestSortDirectionEnum];
|
|
73
|
+
/**
|
|
74
|
+
* Check if a given object implements the GetAllDefinitionRequest interface.
|
|
75
|
+
*/
|
|
76
|
+
export declare function instanceOfGetAllDefinitionRequest(value: object): value is GetAllDefinitionRequest;
|
|
77
|
+
export declare function GetAllDefinitionRequestFromJSON(json: any): GetAllDefinitionRequest;
|
|
78
|
+
export declare function GetAllDefinitionRequestFromJSONTyped(json: any, ignoreDiscriminator: boolean): GetAllDefinitionRequest;
|
|
79
|
+
export declare function GetAllDefinitionRequestToJSON(json: any): GetAllDefinitionRequest;
|
|
80
|
+
export declare function GetAllDefinitionRequestToJSONTyped(value?: GetAllDefinitionRequest | null, ignoreDiscriminator?: boolean): any;
|