@digital8/lighting-illusions-ts-sdk 0.0.613 → 0.0.615
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/.openapi-generator/FILES +0 -28
- package/README.md +2 -21
- package/dist/apis/index.d.ts +0 -1
- package/dist/apis/index.js +0 -1
- package/dist/models/ExternalApiLogResource.d.ts +1 -1
- package/dist/models/ExternalApiLogResource.js +1 -3
- package/dist/models/index.d.ts +0 -13
- package/dist/models/index.js +0 -13
- package/package.json +1 -1
- package/src/apis/index.ts +0 -1
- package/src/models/ExternalApiLogResource.ts +2 -3
- package/src/models/index.ts +0 -13
- package/dist/apis/DefinitionApi.d.ts +0 -85
- package/dist/apis/DefinitionApi.js +0 -355
- package/dist/models/DefinitionListResource.d.ts +0 -44
- package/dist/models/DefinitionListResource.js +0 -59
- package/dist/models/DefinitionListResourceArrayResponse.d.ts +0 -33
- package/dist/models/DefinitionListResourceArrayResponse.js +0 -50
- package/dist/models/DefinitionLiteResource.d.ts +0 -38
- package/dist/models/DefinitionLiteResource.js +0 -55
- package/dist/models/DefinitionLiteResourceArrayResponse.d.ts +0 -33
- package/dist/models/DefinitionLiteResourceArrayResponse.js +0 -50
- package/dist/models/DefinitionResource.d.ts +0 -44
- package/dist/models/DefinitionResource.js +0 -59
- package/dist/models/DefinitionResourceArrayResponse.d.ts +0 -33
- package/dist/models/DefinitionResourceArrayResponse.js +0 -50
- package/dist/models/GetAllDefinitionRequest.d.ts +0 -80
- package/dist/models/GetAllDefinitionRequest.js +0 -76
- package/dist/models/IndexDefinitionRequest.d.ts +0 -92
- package/dist/models/IndexDefinitionRequest.js +0 -80
- package/dist/models/PaginatedDefinitionListResourceResponse.d.ts +0 -40
- package/dist/models/PaginatedDefinitionListResourceResponse.js +0 -57
- package/dist/models/PaginatedDefinitionLiteResourceResponse.d.ts +0 -40
- package/dist/models/PaginatedDefinitionLiteResourceResponse.js +0 -57
- package/dist/models/PaginatedDefinitionResourceResponse.d.ts +0 -40
- package/dist/models/PaginatedDefinitionResourceResponse.js +0 -57
- package/dist/models/StoreDefinitionRequest.d.ts +0 -38
- package/dist/models/StoreDefinitionRequest.js +0 -55
- package/dist/models/UpdateDefinitionRequest.d.ts +0 -38
- package/dist/models/UpdateDefinitionRequest.js +0 -55
- package/docs/DefinitionApi.md +0 -407
- package/docs/DefinitionListResource.md +0 -38
- package/docs/DefinitionListResourceArrayResponse.md +0 -34
- package/docs/DefinitionLiteResource.md +0 -36
- package/docs/DefinitionLiteResourceArrayResponse.md +0 -34
- package/docs/DefinitionResource.md +0 -38
- package/docs/DefinitionResourceArrayResponse.md +0 -34
- package/docs/GetAllDefinitionRequest.md +0 -44
- package/docs/IndexDefinitionRequest.md +0 -48
- package/docs/PaginatedDefinitionListResourceResponse.md +0 -36
- package/docs/PaginatedDefinitionLiteResourceResponse.md +0 -36
- package/docs/PaginatedDefinitionResourceResponse.md +0 -36
- package/docs/StoreDefinitionRequest.md +0 -36
- package/docs/UpdateDefinitionRequest.md +0 -36
- package/src/apis/DefinitionApi.ts +0 -286
- package/src/models/DefinitionListResource.ts +0 -84
- package/src/models/DefinitionListResourceArrayResponse.ts +0 -73
- package/src/models/DefinitionLiteResource.ts +0 -75
- package/src/models/DefinitionLiteResourceArrayResponse.ts +0 -73
- package/src/models/DefinitionResource.ts +0 -84
- package/src/models/DefinitionResourceArrayResponse.ts +0 -73
- package/src/models/GetAllDefinitionRequest.ts +0 -127
- package/src/models/IndexDefinitionRequest.ts +0 -143
- package/src/models/PaginatedDefinitionListResourceResponse.ts +0 -90
- package/src/models/PaginatedDefinitionLiteResourceResponse.ts +0 -90
- package/src/models/PaginatedDefinitionResourceResponse.ts +0 -90
- package/src/models/StoreDefinitionRequest.ts +0 -75
- package/src/models/UpdateDefinitionRequest.ts +0 -75
|
@@ -1,40 +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 { PagingMetadata } from './PagingMetadata';
|
|
13
|
-
import type { DefinitionLiteResource } from './DefinitionLiteResource';
|
|
14
|
-
/**
|
|
15
|
-
*
|
|
16
|
-
* @export
|
|
17
|
-
* @interface PaginatedDefinitionLiteResourceResponse
|
|
18
|
-
*/
|
|
19
|
-
export interface PaginatedDefinitionLiteResourceResponse {
|
|
20
|
-
/**
|
|
21
|
-
*
|
|
22
|
-
* @type {Array<DefinitionLiteResource>}
|
|
23
|
-
* @memberof PaginatedDefinitionLiteResourceResponse
|
|
24
|
-
*/
|
|
25
|
-
data: Array<DefinitionLiteResource>;
|
|
26
|
-
/**
|
|
27
|
-
*
|
|
28
|
-
* @type {PagingMetadata}
|
|
29
|
-
* @memberof PaginatedDefinitionLiteResourceResponse
|
|
30
|
-
*/
|
|
31
|
-
meta: PagingMetadata;
|
|
32
|
-
}
|
|
33
|
-
/**
|
|
34
|
-
* Check if a given object implements the PaginatedDefinitionLiteResourceResponse interface.
|
|
35
|
-
*/
|
|
36
|
-
export declare function instanceOfPaginatedDefinitionLiteResourceResponse(value: object): value is PaginatedDefinitionLiteResourceResponse;
|
|
37
|
-
export declare function PaginatedDefinitionLiteResourceResponseFromJSON(json: any): PaginatedDefinitionLiteResourceResponse;
|
|
38
|
-
export declare function PaginatedDefinitionLiteResourceResponseFromJSONTyped(json: any, ignoreDiscriminator: boolean): PaginatedDefinitionLiteResourceResponse;
|
|
39
|
-
export declare function PaginatedDefinitionLiteResourceResponseToJSON(json: any): PaginatedDefinitionLiteResourceResponse;
|
|
40
|
-
export declare function PaginatedDefinitionLiteResourceResponseToJSONTyped(value?: PaginatedDefinitionLiteResourceResponse | null, ignoreDiscriminator?: boolean): any;
|
|
@@ -1,57 +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.instanceOfPaginatedDefinitionLiteResourceResponse = instanceOfPaginatedDefinitionLiteResourceResponse;
|
|
17
|
-
exports.PaginatedDefinitionLiteResourceResponseFromJSON = PaginatedDefinitionLiteResourceResponseFromJSON;
|
|
18
|
-
exports.PaginatedDefinitionLiteResourceResponseFromJSONTyped = PaginatedDefinitionLiteResourceResponseFromJSONTyped;
|
|
19
|
-
exports.PaginatedDefinitionLiteResourceResponseToJSON = PaginatedDefinitionLiteResourceResponseToJSON;
|
|
20
|
-
exports.PaginatedDefinitionLiteResourceResponseToJSONTyped = PaginatedDefinitionLiteResourceResponseToJSONTyped;
|
|
21
|
-
var PagingMetadata_1 = require("./PagingMetadata");
|
|
22
|
-
var DefinitionLiteResource_1 = require("./DefinitionLiteResource");
|
|
23
|
-
/**
|
|
24
|
-
* Check if a given object implements the PaginatedDefinitionLiteResourceResponse interface.
|
|
25
|
-
*/
|
|
26
|
-
function instanceOfPaginatedDefinitionLiteResourceResponse(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 PaginatedDefinitionLiteResourceResponseFromJSON(json) {
|
|
34
|
-
return PaginatedDefinitionLiteResourceResponseFromJSONTyped(json, false);
|
|
35
|
-
}
|
|
36
|
-
function PaginatedDefinitionLiteResourceResponseFromJSONTyped(json, ignoreDiscriminator) {
|
|
37
|
-
if (json == null) {
|
|
38
|
-
return json;
|
|
39
|
-
}
|
|
40
|
-
return {
|
|
41
|
-
'data': (json['data'].map(DefinitionLiteResource_1.DefinitionLiteResourceFromJSON)),
|
|
42
|
-
'meta': (0, PagingMetadata_1.PagingMetadataFromJSON)(json['meta']),
|
|
43
|
-
};
|
|
44
|
-
}
|
|
45
|
-
function PaginatedDefinitionLiteResourceResponseToJSON(json) {
|
|
46
|
-
return PaginatedDefinitionLiteResourceResponseToJSONTyped(json, false);
|
|
47
|
-
}
|
|
48
|
-
function PaginatedDefinitionLiteResourceResponseToJSONTyped(value, ignoreDiscriminator) {
|
|
49
|
-
if (ignoreDiscriminator === void 0) { ignoreDiscriminator = false; }
|
|
50
|
-
if (value == null) {
|
|
51
|
-
return value;
|
|
52
|
-
}
|
|
53
|
-
return {
|
|
54
|
-
'data': (value['data'].map(DefinitionLiteResource_1.DefinitionLiteResourceToJSON)),
|
|
55
|
-
'meta': (0, PagingMetadata_1.PagingMetadataToJSON)(value['meta']),
|
|
56
|
-
};
|
|
57
|
-
}
|
|
@@ -1,40 +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 { PagingMetadata } from './PagingMetadata';
|
|
13
|
-
import type { DefinitionResource } from './DefinitionResource';
|
|
14
|
-
/**
|
|
15
|
-
*
|
|
16
|
-
* @export
|
|
17
|
-
* @interface PaginatedDefinitionResourceResponse
|
|
18
|
-
*/
|
|
19
|
-
export interface PaginatedDefinitionResourceResponse {
|
|
20
|
-
/**
|
|
21
|
-
*
|
|
22
|
-
* @type {Array<DefinitionResource>}
|
|
23
|
-
* @memberof PaginatedDefinitionResourceResponse
|
|
24
|
-
*/
|
|
25
|
-
data: Array<DefinitionResource>;
|
|
26
|
-
/**
|
|
27
|
-
*
|
|
28
|
-
* @type {PagingMetadata}
|
|
29
|
-
* @memberof PaginatedDefinitionResourceResponse
|
|
30
|
-
*/
|
|
31
|
-
meta: PagingMetadata;
|
|
32
|
-
}
|
|
33
|
-
/**
|
|
34
|
-
* Check if a given object implements the PaginatedDefinitionResourceResponse interface.
|
|
35
|
-
*/
|
|
36
|
-
export declare function instanceOfPaginatedDefinitionResourceResponse(value: object): value is PaginatedDefinitionResourceResponse;
|
|
37
|
-
export declare function PaginatedDefinitionResourceResponseFromJSON(json: any): PaginatedDefinitionResourceResponse;
|
|
38
|
-
export declare function PaginatedDefinitionResourceResponseFromJSONTyped(json: any, ignoreDiscriminator: boolean): PaginatedDefinitionResourceResponse;
|
|
39
|
-
export declare function PaginatedDefinitionResourceResponseToJSON(json: any): PaginatedDefinitionResourceResponse;
|
|
40
|
-
export declare function PaginatedDefinitionResourceResponseToJSONTyped(value?: PaginatedDefinitionResourceResponse | null, ignoreDiscriminator?: boolean): any;
|
|
@@ -1,57 +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.instanceOfPaginatedDefinitionResourceResponse = instanceOfPaginatedDefinitionResourceResponse;
|
|
17
|
-
exports.PaginatedDefinitionResourceResponseFromJSON = PaginatedDefinitionResourceResponseFromJSON;
|
|
18
|
-
exports.PaginatedDefinitionResourceResponseFromJSONTyped = PaginatedDefinitionResourceResponseFromJSONTyped;
|
|
19
|
-
exports.PaginatedDefinitionResourceResponseToJSON = PaginatedDefinitionResourceResponseToJSON;
|
|
20
|
-
exports.PaginatedDefinitionResourceResponseToJSONTyped = PaginatedDefinitionResourceResponseToJSONTyped;
|
|
21
|
-
var PagingMetadata_1 = require("./PagingMetadata");
|
|
22
|
-
var DefinitionResource_1 = require("./DefinitionResource");
|
|
23
|
-
/**
|
|
24
|
-
* Check if a given object implements the PaginatedDefinitionResourceResponse interface.
|
|
25
|
-
*/
|
|
26
|
-
function instanceOfPaginatedDefinitionResourceResponse(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 PaginatedDefinitionResourceResponseFromJSON(json) {
|
|
34
|
-
return PaginatedDefinitionResourceResponseFromJSONTyped(json, false);
|
|
35
|
-
}
|
|
36
|
-
function PaginatedDefinitionResourceResponseFromJSONTyped(json, ignoreDiscriminator) {
|
|
37
|
-
if (json == null) {
|
|
38
|
-
return json;
|
|
39
|
-
}
|
|
40
|
-
return {
|
|
41
|
-
'data': (json['data'].map(DefinitionResource_1.DefinitionResourceFromJSON)),
|
|
42
|
-
'meta': (0, PagingMetadata_1.PagingMetadataFromJSON)(json['meta']),
|
|
43
|
-
};
|
|
44
|
-
}
|
|
45
|
-
function PaginatedDefinitionResourceResponseToJSON(json) {
|
|
46
|
-
return PaginatedDefinitionResourceResponseToJSONTyped(json, false);
|
|
47
|
-
}
|
|
48
|
-
function PaginatedDefinitionResourceResponseToJSONTyped(value, ignoreDiscriminator) {
|
|
49
|
-
if (ignoreDiscriminator === void 0) { ignoreDiscriminator = false; }
|
|
50
|
-
if (value == null) {
|
|
51
|
-
return value;
|
|
52
|
-
}
|
|
53
|
-
return {
|
|
54
|
-
'data': (value['data'].map(DefinitionResource_1.DefinitionResourceToJSON)),
|
|
55
|
-
'meta': (0, PagingMetadata_1.PagingMetadataToJSON)(value['meta']),
|
|
56
|
-
};
|
|
57
|
-
}
|
|
@@ -1,38 +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 StoreDefinitionRequest
|
|
16
|
-
*/
|
|
17
|
-
export interface StoreDefinitionRequest {
|
|
18
|
-
/**
|
|
19
|
-
*
|
|
20
|
-
* @type {string}
|
|
21
|
-
* @memberof StoreDefinitionRequest
|
|
22
|
-
*/
|
|
23
|
-
name: string;
|
|
24
|
-
/**
|
|
25
|
-
*
|
|
26
|
-
* @type {string}
|
|
27
|
-
* @memberof StoreDefinitionRequest
|
|
28
|
-
*/
|
|
29
|
-
content: string;
|
|
30
|
-
}
|
|
31
|
-
/**
|
|
32
|
-
* Check if a given object implements the StoreDefinitionRequest interface.
|
|
33
|
-
*/
|
|
34
|
-
export declare function instanceOfStoreDefinitionRequest(value: object): value is StoreDefinitionRequest;
|
|
35
|
-
export declare function StoreDefinitionRequestFromJSON(json: any): StoreDefinitionRequest;
|
|
36
|
-
export declare function StoreDefinitionRequestFromJSONTyped(json: any, ignoreDiscriminator: boolean): StoreDefinitionRequest;
|
|
37
|
-
export declare function StoreDefinitionRequestToJSON(json: any): StoreDefinitionRequest;
|
|
38
|
-
export declare function StoreDefinitionRequestToJSONTyped(value?: StoreDefinitionRequest | null, ignoreDiscriminator?: boolean): any;
|
|
@@ -1,55 +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.instanceOfStoreDefinitionRequest = instanceOfStoreDefinitionRequest;
|
|
17
|
-
exports.StoreDefinitionRequestFromJSON = StoreDefinitionRequestFromJSON;
|
|
18
|
-
exports.StoreDefinitionRequestFromJSONTyped = StoreDefinitionRequestFromJSONTyped;
|
|
19
|
-
exports.StoreDefinitionRequestToJSON = StoreDefinitionRequestToJSON;
|
|
20
|
-
exports.StoreDefinitionRequestToJSONTyped = StoreDefinitionRequestToJSONTyped;
|
|
21
|
-
/**
|
|
22
|
-
* Check if a given object implements the StoreDefinitionRequest interface.
|
|
23
|
-
*/
|
|
24
|
-
function instanceOfStoreDefinitionRequest(value) {
|
|
25
|
-
if (!('name' in value) || value['name'] === undefined)
|
|
26
|
-
return false;
|
|
27
|
-
if (!('content' in value) || value['content'] === undefined)
|
|
28
|
-
return false;
|
|
29
|
-
return true;
|
|
30
|
-
}
|
|
31
|
-
function StoreDefinitionRequestFromJSON(json) {
|
|
32
|
-
return StoreDefinitionRequestFromJSONTyped(json, false);
|
|
33
|
-
}
|
|
34
|
-
function StoreDefinitionRequestFromJSONTyped(json, ignoreDiscriminator) {
|
|
35
|
-
if (json == null) {
|
|
36
|
-
return json;
|
|
37
|
-
}
|
|
38
|
-
return {
|
|
39
|
-
'name': json['name'],
|
|
40
|
-
'content': json['content'],
|
|
41
|
-
};
|
|
42
|
-
}
|
|
43
|
-
function StoreDefinitionRequestToJSON(json) {
|
|
44
|
-
return StoreDefinitionRequestToJSONTyped(json, false);
|
|
45
|
-
}
|
|
46
|
-
function StoreDefinitionRequestToJSONTyped(value, ignoreDiscriminator) {
|
|
47
|
-
if (ignoreDiscriminator === void 0) { ignoreDiscriminator = false; }
|
|
48
|
-
if (value == null) {
|
|
49
|
-
return value;
|
|
50
|
-
}
|
|
51
|
-
return {
|
|
52
|
-
'name': value['name'],
|
|
53
|
-
'content': value['content'],
|
|
54
|
-
};
|
|
55
|
-
}
|
|
@@ -1,38 +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 UpdateDefinitionRequest
|
|
16
|
-
*/
|
|
17
|
-
export interface UpdateDefinitionRequest {
|
|
18
|
-
/**
|
|
19
|
-
*
|
|
20
|
-
* @type {string}
|
|
21
|
-
* @memberof UpdateDefinitionRequest
|
|
22
|
-
*/
|
|
23
|
-
name: string;
|
|
24
|
-
/**
|
|
25
|
-
*
|
|
26
|
-
* @type {string}
|
|
27
|
-
* @memberof UpdateDefinitionRequest
|
|
28
|
-
*/
|
|
29
|
-
content: string;
|
|
30
|
-
}
|
|
31
|
-
/**
|
|
32
|
-
* Check if a given object implements the UpdateDefinitionRequest interface.
|
|
33
|
-
*/
|
|
34
|
-
export declare function instanceOfUpdateDefinitionRequest(value: object): value is UpdateDefinitionRequest;
|
|
35
|
-
export declare function UpdateDefinitionRequestFromJSON(json: any): UpdateDefinitionRequest;
|
|
36
|
-
export declare function UpdateDefinitionRequestFromJSONTyped(json: any, ignoreDiscriminator: boolean): UpdateDefinitionRequest;
|
|
37
|
-
export declare function UpdateDefinitionRequestToJSON(json: any): UpdateDefinitionRequest;
|
|
38
|
-
export declare function UpdateDefinitionRequestToJSONTyped(value?: UpdateDefinitionRequest | null, ignoreDiscriminator?: boolean): any;
|
|
@@ -1,55 +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.instanceOfUpdateDefinitionRequest = instanceOfUpdateDefinitionRequest;
|
|
17
|
-
exports.UpdateDefinitionRequestFromJSON = UpdateDefinitionRequestFromJSON;
|
|
18
|
-
exports.UpdateDefinitionRequestFromJSONTyped = UpdateDefinitionRequestFromJSONTyped;
|
|
19
|
-
exports.UpdateDefinitionRequestToJSON = UpdateDefinitionRequestToJSON;
|
|
20
|
-
exports.UpdateDefinitionRequestToJSONTyped = UpdateDefinitionRequestToJSONTyped;
|
|
21
|
-
/**
|
|
22
|
-
* Check if a given object implements the UpdateDefinitionRequest interface.
|
|
23
|
-
*/
|
|
24
|
-
function instanceOfUpdateDefinitionRequest(value) {
|
|
25
|
-
if (!('name' in value) || value['name'] === undefined)
|
|
26
|
-
return false;
|
|
27
|
-
if (!('content' in value) || value['content'] === undefined)
|
|
28
|
-
return false;
|
|
29
|
-
return true;
|
|
30
|
-
}
|
|
31
|
-
function UpdateDefinitionRequestFromJSON(json) {
|
|
32
|
-
return UpdateDefinitionRequestFromJSONTyped(json, false);
|
|
33
|
-
}
|
|
34
|
-
function UpdateDefinitionRequestFromJSONTyped(json, ignoreDiscriminator) {
|
|
35
|
-
if (json == null) {
|
|
36
|
-
return json;
|
|
37
|
-
}
|
|
38
|
-
return {
|
|
39
|
-
'name': json['name'],
|
|
40
|
-
'content': json['content'],
|
|
41
|
-
};
|
|
42
|
-
}
|
|
43
|
-
function UpdateDefinitionRequestToJSON(json) {
|
|
44
|
-
return UpdateDefinitionRequestToJSONTyped(json, false);
|
|
45
|
-
}
|
|
46
|
-
function UpdateDefinitionRequestToJSONTyped(value, ignoreDiscriminator) {
|
|
47
|
-
if (ignoreDiscriminator === void 0) { ignoreDiscriminator = false; }
|
|
48
|
-
if (value == null) {
|
|
49
|
-
return value;
|
|
50
|
-
}
|
|
51
|
-
return {
|
|
52
|
-
'name': value['name'],
|
|
53
|
-
'content': value['content'],
|
|
54
|
-
};
|
|
55
|
-
}
|