@digital8/security-registers-backend-ts-sdk 0.0.1
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 +33 -0
- package/.openapi-generator/VERSION +1 -0
- package/.openapi-generator-ignore +23 -0
- package/README.md +46 -0
- package/dist/apis/GeneralApi.d.ts +123 -0
- package/dist/apis/GeneralApi.js +528 -0
- package/dist/apis/index.d.ts +1 -0
- package/dist/apis/index.js +19 -0
- package/dist/index.d.ts +3 -0
- package/dist/index.js +21 -0
- package/dist/models/AddressResource.d.ts +80 -0
- package/dist/models/AddressResource.js +79 -0
- package/dist/models/AddressResourceArrayResponse.d.ts +33 -0
- package/dist/models/AddressResourceArrayResponse.js +50 -0
- package/dist/models/AssetFileForUploadResource.d.ts +50 -0
- package/dist/models/AssetFileForUploadResource.js +63 -0
- package/dist/models/AssetFileForUploadResourceArrayResponse.d.ts +33 -0
- package/dist/models/AssetFileForUploadResourceArrayResponse.js +50 -0
- package/dist/models/AssetLiteResource.d.ts +38 -0
- package/dist/models/AssetLiteResource.js +55 -0
- package/dist/models/AssetLiteResourceArrayResponse.d.ts +33 -0
- package/dist/models/AssetLiteResourceArrayResponse.js +50 -0
- package/dist/models/AssetResource.d.ts +68 -0
- package/dist/models/AssetResource.js +75 -0
- package/dist/models/AssetResourceArrayResponse.d.ts +33 -0
- package/dist/models/AssetResourceArrayResponse.js +50 -0
- package/dist/models/GenericResponse.d.ts +32 -0
- package/dist/models/GenericResponse.js +49 -0
- package/dist/models/IndexUserRequest.d.ts +92 -0
- package/dist/models/IndexUserRequest.js +80 -0
- package/dist/models/LoginAuthRequest.d.ts +38 -0
- package/dist/models/LoginAuthRequest.js +55 -0
- package/dist/models/PaginatedUserResourceResponse.d.ts +40 -0
- package/dist/models/PaginatedUserResourceResponse.js +57 -0
- package/dist/models/PagingMetadata.d.ts +68 -0
- package/dist/models/PagingMetadata.js +75 -0
- package/dist/models/ResetPasswordAuthRequest.d.ts +44 -0
- package/dist/models/ResetPasswordAuthRequest.js +59 -0
- package/dist/models/SendForgotPasswordLinkAuthRequest.d.ts +32 -0
- package/dist/models/SendForgotPasswordLinkAuthRequest.js +51 -0
- package/dist/models/StoreAssetFileRequest.d.ts +38 -0
- package/dist/models/StoreAssetFileRequest.js +55 -0
- package/dist/models/StoreUserRequest.d.ts +50 -0
- package/dist/models/StoreUserRequest.js +63 -0
- package/dist/models/UpdateUserRequest.d.ts +56 -0
- package/dist/models/UpdateUserRequest.js +57 -0
- package/dist/models/UserAuthTokenResource.d.ts +39 -0
- package/dist/models/UserAuthTokenResource.js +56 -0
- package/dist/models/UserAuthTokenResourceArrayResponse.d.ts +33 -0
- package/dist/models/UserAuthTokenResourceArrayResponse.js +50 -0
- package/dist/models/UserResource.d.ts +81 -0
- package/dist/models/UserResource.js +81 -0
- package/dist/models/UserResourceArrayResponse.d.ts +33 -0
- package/dist/models/UserResourceArrayResponse.js +50 -0
- package/dist/models/index.d.ts +22 -0
- package/dist/models/index.js +40 -0
- package/dist/runtime.d.ts +184 -0
- package/dist/runtime.js +564 -0
- package/package.json +19 -0
- package/src/apis/GeneralApi.ts +423 -0
- package/src/apis/index.ts +3 -0
- package/src/index.ts +5 -0
- package/src/models/AddressResource.ts +136 -0
- package/src/models/AddressResourceArrayResponse.ts +73 -0
- package/src/models/AssetFileForUploadResource.ts +93 -0
- package/src/models/AssetFileForUploadResourceArrayResponse.ts +73 -0
- package/src/models/AssetLiteResource.ts +75 -0
- package/src/models/AssetLiteResourceArrayResponse.ts +73 -0
- package/src/models/AssetResource.ts +120 -0
- package/src/models/AssetResourceArrayResponse.ts +73 -0
- package/src/models/GenericResponse.ts +65 -0
- package/src/models/IndexUserRequest.ts +143 -0
- package/src/models/LoginAuthRequest.ts +75 -0
- package/src/models/PaginatedUserResourceResponse.ts +90 -0
- package/src/models/PagingMetadata.ts +120 -0
- package/src/models/ResetPasswordAuthRequest.ts +84 -0
- package/src/models/SendForgotPasswordLinkAuthRequest.ts +66 -0
- package/src/models/StoreAssetFileRequest.ts +75 -0
- package/src/models/StoreUserRequest.ts +93 -0
- package/src/models/UpdateUserRequest.ts +97 -0
- package/src/models/UserAuthTokenResource.ts +83 -0
- package/src/models/UserAuthTokenResourceArrayResponse.ts +73 -0
- package/src/models/UserResource.ts +144 -0
- package/src/models/UserResourceArrayResponse.ts +73 -0
- package/src/models/index.ts +24 -0
- package/src/runtime.ts +432 -0
- package/tsconfig.json +20 -0
|
@@ -0,0 +1,79 @@
|
|
|
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.instanceOfAddressResource = instanceOfAddressResource;
|
|
17
|
+
exports.AddressResourceFromJSON = AddressResourceFromJSON;
|
|
18
|
+
exports.AddressResourceFromJSONTyped = AddressResourceFromJSONTyped;
|
|
19
|
+
exports.AddressResourceToJSON = AddressResourceToJSON;
|
|
20
|
+
exports.AddressResourceToJSONTyped = AddressResourceToJSONTyped;
|
|
21
|
+
/**
|
|
22
|
+
* Check if a given object implements the AddressResource interface.
|
|
23
|
+
*/
|
|
24
|
+
function instanceOfAddressResource(value) {
|
|
25
|
+
if (!('addressLine1' in value) || value['addressLine1'] === undefined)
|
|
26
|
+
return false;
|
|
27
|
+
if (!('suburb' in value) || value['suburb'] === undefined)
|
|
28
|
+
return false;
|
|
29
|
+
if (!('city' in value) || value['city'] === undefined)
|
|
30
|
+
return false;
|
|
31
|
+
if (!('state' in value) || value['state'] === undefined)
|
|
32
|
+
return false;
|
|
33
|
+
if (!('postCode' in value) || value['postCode'] === undefined)
|
|
34
|
+
return false;
|
|
35
|
+
if (!('country' in value) || value['country'] === undefined)
|
|
36
|
+
return false;
|
|
37
|
+
if (!('fullAddress' in value) || value['fullAddress'] === undefined)
|
|
38
|
+
return false;
|
|
39
|
+
return true;
|
|
40
|
+
}
|
|
41
|
+
function AddressResourceFromJSON(json) {
|
|
42
|
+
return AddressResourceFromJSONTyped(json, false);
|
|
43
|
+
}
|
|
44
|
+
function AddressResourceFromJSONTyped(json, ignoreDiscriminator) {
|
|
45
|
+
if (json == null) {
|
|
46
|
+
return json;
|
|
47
|
+
}
|
|
48
|
+
return {
|
|
49
|
+
'id': json['id'] == null ? undefined : json['id'],
|
|
50
|
+
'addressLine1': json['addressLine1'],
|
|
51
|
+
'addressLine2': json['addressLine2'] == null ? undefined : json['addressLine2'],
|
|
52
|
+
'suburb': json['suburb'],
|
|
53
|
+
'city': json['city'],
|
|
54
|
+
'state': json['state'],
|
|
55
|
+
'postCode': json['postCode'],
|
|
56
|
+
'country': json['country'],
|
|
57
|
+
'fullAddress': json['fullAddress'],
|
|
58
|
+
};
|
|
59
|
+
}
|
|
60
|
+
function AddressResourceToJSON(json) {
|
|
61
|
+
return AddressResourceToJSONTyped(json, false);
|
|
62
|
+
}
|
|
63
|
+
function AddressResourceToJSONTyped(value, ignoreDiscriminator) {
|
|
64
|
+
if (ignoreDiscriminator === void 0) { ignoreDiscriminator = false; }
|
|
65
|
+
if (value == null) {
|
|
66
|
+
return value;
|
|
67
|
+
}
|
|
68
|
+
return {
|
|
69
|
+
'id': value['id'],
|
|
70
|
+
'addressLine1': value['addressLine1'],
|
|
71
|
+
'addressLine2': value['addressLine2'],
|
|
72
|
+
'suburb': value['suburb'],
|
|
73
|
+
'city': value['city'],
|
|
74
|
+
'state': value['state'],
|
|
75
|
+
'postCode': value['postCode'],
|
|
76
|
+
'country': value['country'],
|
|
77
|
+
'fullAddress': value['fullAddress'],
|
|
78
|
+
};
|
|
79
|
+
}
|
|
@@ -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 { AddressResource } from './AddressResource';
|
|
13
|
+
/**
|
|
14
|
+
*
|
|
15
|
+
* @export
|
|
16
|
+
* @interface AddressResourceArrayResponse
|
|
17
|
+
*/
|
|
18
|
+
export interface AddressResourceArrayResponse {
|
|
19
|
+
/**
|
|
20
|
+
*
|
|
21
|
+
* @type {Array<AddressResource>}
|
|
22
|
+
* @memberof AddressResourceArrayResponse
|
|
23
|
+
*/
|
|
24
|
+
data?: Array<AddressResource>;
|
|
25
|
+
}
|
|
26
|
+
/**
|
|
27
|
+
* Check if a given object implements the AddressResourceArrayResponse interface.
|
|
28
|
+
*/
|
|
29
|
+
export declare function instanceOfAddressResourceArrayResponse(value: object): value is AddressResourceArrayResponse;
|
|
30
|
+
export declare function AddressResourceArrayResponseFromJSON(json: any): AddressResourceArrayResponse;
|
|
31
|
+
export declare function AddressResourceArrayResponseFromJSONTyped(json: any, ignoreDiscriminator: boolean): AddressResourceArrayResponse;
|
|
32
|
+
export declare function AddressResourceArrayResponseToJSON(json: any): AddressResourceArrayResponse;
|
|
33
|
+
export declare function AddressResourceArrayResponseToJSONTyped(value?: AddressResourceArrayResponse | 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.instanceOfAddressResourceArrayResponse = instanceOfAddressResourceArrayResponse;
|
|
17
|
+
exports.AddressResourceArrayResponseFromJSON = AddressResourceArrayResponseFromJSON;
|
|
18
|
+
exports.AddressResourceArrayResponseFromJSONTyped = AddressResourceArrayResponseFromJSONTyped;
|
|
19
|
+
exports.AddressResourceArrayResponseToJSON = AddressResourceArrayResponseToJSON;
|
|
20
|
+
exports.AddressResourceArrayResponseToJSONTyped = AddressResourceArrayResponseToJSONTyped;
|
|
21
|
+
var AddressResource_1 = require("./AddressResource");
|
|
22
|
+
/**
|
|
23
|
+
* Check if a given object implements the AddressResourceArrayResponse interface.
|
|
24
|
+
*/
|
|
25
|
+
function instanceOfAddressResourceArrayResponse(value) {
|
|
26
|
+
return true;
|
|
27
|
+
}
|
|
28
|
+
function AddressResourceArrayResponseFromJSON(json) {
|
|
29
|
+
return AddressResourceArrayResponseFromJSONTyped(json, false);
|
|
30
|
+
}
|
|
31
|
+
function AddressResourceArrayResponseFromJSONTyped(json, ignoreDiscriminator) {
|
|
32
|
+
if (json == null) {
|
|
33
|
+
return json;
|
|
34
|
+
}
|
|
35
|
+
return {
|
|
36
|
+
'data': json['data'] == null ? undefined : (json['data'].map(AddressResource_1.AddressResourceFromJSON)),
|
|
37
|
+
};
|
|
38
|
+
}
|
|
39
|
+
function AddressResourceArrayResponseToJSON(json) {
|
|
40
|
+
return AddressResourceArrayResponseToJSONTyped(json, false);
|
|
41
|
+
}
|
|
42
|
+
function AddressResourceArrayResponseToJSONTyped(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(AddressResource_1.AddressResourceToJSON)),
|
|
49
|
+
};
|
|
50
|
+
}
|
|
@@ -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 AssetFileForUploadResource
|
|
16
|
+
*/
|
|
17
|
+
export interface AssetFileForUploadResource {
|
|
18
|
+
/**
|
|
19
|
+
*
|
|
20
|
+
* @type {number}
|
|
21
|
+
* @memberof AssetFileForUploadResource
|
|
22
|
+
*/
|
|
23
|
+
id: number;
|
|
24
|
+
/**
|
|
25
|
+
*
|
|
26
|
+
* @type {string}
|
|
27
|
+
* @memberof AssetFileForUploadResource
|
|
28
|
+
*/
|
|
29
|
+
url: string;
|
|
30
|
+
/**
|
|
31
|
+
*
|
|
32
|
+
* @type {Array<string>}
|
|
33
|
+
* @memberof AssetFileForUploadResource
|
|
34
|
+
*/
|
|
35
|
+
headers: Array<string>;
|
|
36
|
+
/**
|
|
37
|
+
*
|
|
38
|
+
* @type {string}
|
|
39
|
+
* @memberof AssetFileForUploadResource
|
|
40
|
+
*/
|
|
41
|
+
fileName: string;
|
|
42
|
+
}
|
|
43
|
+
/**
|
|
44
|
+
* Check if a given object implements the AssetFileForUploadResource interface.
|
|
45
|
+
*/
|
|
46
|
+
export declare function instanceOfAssetFileForUploadResource(value: object): value is AssetFileForUploadResource;
|
|
47
|
+
export declare function AssetFileForUploadResourceFromJSON(json: any): AssetFileForUploadResource;
|
|
48
|
+
export declare function AssetFileForUploadResourceFromJSONTyped(json: any, ignoreDiscriminator: boolean): AssetFileForUploadResource;
|
|
49
|
+
export declare function AssetFileForUploadResourceToJSON(json: any): AssetFileForUploadResource;
|
|
50
|
+
export declare function AssetFileForUploadResourceToJSONTyped(value?: AssetFileForUploadResource | 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.instanceOfAssetFileForUploadResource = instanceOfAssetFileForUploadResource;
|
|
17
|
+
exports.AssetFileForUploadResourceFromJSON = AssetFileForUploadResourceFromJSON;
|
|
18
|
+
exports.AssetFileForUploadResourceFromJSONTyped = AssetFileForUploadResourceFromJSONTyped;
|
|
19
|
+
exports.AssetFileForUploadResourceToJSON = AssetFileForUploadResourceToJSON;
|
|
20
|
+
exports.AssetFileForUploadResourceToJSONTyped = AssetFileForUploadResourceToJSONTyped;
|
|
21
|
+
/**
|
|
22
|
+
* Check if a given object implements the AssetFileForUploadResource interface.
|
|
23
|
+
*/
|
|
24
|
+
function instanceOfAssetFileForUploadResource(value) {
|
|
25
|
+
if (!('id' in value) || value['id'] === undefined)
|
|
26
|
+
return false;
|
|
27
|
+
if (!('url' in value) || value['url'] === undefined)
|
|
28
|
+
return false;
|
|
29
|
+
if (!('headers' in value) || value['headers'] === undefined)
|
|
30
|
+
return false;
|
|
31
|
+
if (!('fileName' in value) || value['fileName'] === undefined)
|
|
32
|
+
return false;
|
|
33
|
+
return true;
|
|
34
|
+
}
|
|
35
|
+
function AssetFileForUploadResourceFromJSON(json) {
|
|
36
|
+
return AssetFileForUploadResourceFromJSONTyped(json, false);
|
|
37
|
+
}
|
|
38
|
+
function AssetFileForUploadResourceFromJSONTyped(json, ignoreDiscriminator) {
|
|
39
|
+
if (json == null) {
|
|
40
|
+
return json;
|
|
41
|
+
}
|
|
42
|
+
return {
|
|
43
|
+
'id': json['id'],
|
|
44
|
+
'url': json['url'],
|
|
45
|
+
'headers': json['headers'],
|
|
46
|
+
'fileName': json['fileName'],
|
|
47
|
+
};
|
|
48
|
+
}
|
|
49
|
+
function AssetFileForUploadResourceToJSON(json) {
|
|
50
|
+
return AssetFileForUploadResourceToJSONTyped(json, false);
|
|
51
|
+
}
|
|
52
|
+
function AssetFileForUploadResourceToJSONTyped(value, ignoreDiscriminator) {
|
|
53
|
+
if (ignoreDiscriminator === void 0) { ignoreDiscriminator = false; }
|
|
54
|
+
if (value == null) {
|
|
55
|
+
return value;
|
|
56
|
+
}
|
|
57
|
+
return {
|
|
58
|
+
'id': value['id'],
|
|
59
|
+
'url': value['url'],
|
|
60
|
+
'headers': value['headers'],
|
|
61
|
+
'fileName': value['fileName'],
|
|
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 { AssetFileForUploadResource } from './AssetFileForUploadResource';
|
|
13
|
+
/**
|
|
14
|
+
*
|
|
15
|
+
* @export
|
|
16
|
+
* @interface AssetFileForUploadResourceArrayResponse
|
|
17
|
+
*/
|
|
18
|
+
export interface AssetFileForUploadResourceArrayResponse {
|
|
19
|
+
/**
|
|
20
|
+
*
|
|
21
|
+
* @type {Array<AssetFileForUploadResource>}
|
|
22
|
+
* @memberof AssetFileForUploadResourceArrayResponse
|
|
23
|
+
*/
|
|
24
|
+
data?: Array<AssetFileForUploadResource>;
|
|
25
|
+
}
|
|
26
|
+
/**
|
|
27
|
+
* Check if a given object implements the AssetFileForUploadResourceArrayResponse interface.
|
|
28
|
+
*/
|
|
29
|
+
export declare function instanceOfAssetFileForUploadResourceArrayResponse(value: object): value is AssetFileForUploadResourceArrayResponse;
|
|
30
|
+
export declare function AssetFileForUploadResourceArrayResponseFromJSON(json: any): AssetFileForUploadResourceArrayResponse;
|
|
31
|
+
export declare function AssetFileForUploadResourceArrayResponseFromJSONTyped(json: any, ignoreDiscriminator: boolean): AssetFileForUploadResourceArrayResponse;
|
|
32
|
+
export declare function AssetFileForUploadResourceArrayResponseToJSON(json: any): AssetFileForUploadResourceArrayResponse;
|
|
33
|
+
export declare function AssetFileForUploadResourceArrayResponseToJSONTyped(value?: AssetFileForUploadResourceArrayResponse | 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.instanceOfAssetFileForUploadResourceArrayResponse = instanceOfAssetFileForUploadResourceArrayResponse;
|
|
17
|
+
exports.AssetFileForUploadResourceArrayResponseFromJSON = AssetFileForUploadResourceArrayResponseFromJSON;
|
|
18
|
+
exports.AssetFileForUploadResourceArrayResponseFromJSONTyped = AssetFileForUploadResourceArrayResponseFromJSONTyped;
|
|
19
|
+
exports.AssetFileForUploadResourceArrayResponseToJSON = AssetFileForUploadResourceArrayResponseToJSON;
|
|
20
|
+
exports.AssetFileForUploadResourceArrayResponseToJSONTyped = AssetFileForUploadResourceArrayResponseToJSONTyped;
|
|
21
|
+
var AssetFileForUploadResource_1 = require("./AssetFileForUploadResource");
|
|
22
|
+
/**
|
|
23
|
+
* Check if a given object implements the AssetFileForUploadResourceArrayResponse interface.
|
|
24
|
+
*/
|
|
25
|
+
function instanceOfAssetFileForUploadResourceArrayResponse(value) {
|
|
26
|
+
return true;
|
|
27
|
+
}
|
|
28
|
+
function AssetFileForUploadResourceArrayResponseFromJSON(json) {
|
|
29
|
+
return AssetFileForUploadResourceArrayResponseFromJSONTyped(json, false);
|
|
30
|
+
}
|
|
31
|
+
function AssetFileForUploadResourceArrayResponseFromJSONTyped(json, ignoreDiscriminator) {
|
|
32
|
+
if (json == null) {
|
|
33
|
+
return json;
|
|
34
|
+
}
|
|
35
|
+
return {
|
|
36
|
+
'data': json['data'] == null ? undefined : (json['data'].map(AssetFileForUploadResource_1.AssetFileForUploadResourceFromJSON)),
|
|
37
|
+
};
|
|
38
|
+
}
|
|
39
|
+
function AssetFileForUploadResourceArrayResponseToJSON(json) {
|
|
40
|
+
return AssetFileForUploadResourceArrayResponseToJSONTyped(json, false);
|
|
41
|
+
}
|
|
42
|
+
function AssetFileForUploadResourceArrayResponseToJSONTyped(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(AssetFileForUploadResource_1.AssetFileForUploadResourceToJSON)),
|
|
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 AssetLiteResource
|
|
16
|
+
*/
|
|
17
|
+
export interface AssetLiteResource {
|
|
18
|
+
/**
|
|
19
|
+
*
|
|
20
|
+
* @type {number}
|
|
21
|
+
* @memberof AssetLiteResource
|
|
22
|
+
*/
|
|
23
|
+
id: number;
|
|
24
|
+
/**
|
|
25
|
+
*
|
|
26
|
+
* @type {string}
|
|
27
|
+
* @memberof AssetLiteResource
|
|
28
|
+
*/
|
|
29
|
+
filePath: string;
|
|
30
|
+
}
|
|
31
|
+
/**
|
|
32
|
+
* Check if a given object implements the AssetLiteResource interface.
|
|
33
|
+
*/
|
|
34
|
+
export declare function instanceOfAssetLiteResource(value: object): value is AssetLiteResource;
|
|
35
|
+
export declare function AssetLiteResourceFromJSON(json: any): AssetLiteResource;
|
|
36
|
+
export declare function AssetLiteResourceFromJSONTyped(json: any, ignoreDiscriminator: boolean): AssetLiteResource;
|
|
37
|
+
export declare function AssetLiteResourceToJSON(json: any): AssetLiteResource;
|
|
38
|
+
export declare function AssetLiteResourceToJSONTyped(value?: AssetLiteResource | 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.instanceOfAssetLiteResource = instanceOfAssetLiteResource;
|
|
17
|
+
exports.AssetLiteResourceFromJSON = AssetLiteResourceFromJSON;
|
|
18
|
+
exports.AssetLiteResourceFromJSONTyped = AssetLiteResourceFromJSONTyped;
|
|
19
|
+
exports.AssetLiteResourceToJSON = AssetLiteResourceToJSON;
|
|
20
|
+
exports.AssetLiteResourceToJSONTyped = AssetLiteResourceToJSONTyped;
|
|
21
|
+
/**
|
|
22
|
+
* Check if a given object implements the AssetLiteResource interface.
|
|
23
|
+
*/
|
|
24
|
+
function instanceOfAssetLiteResource(value) {
|
|
25
|
+
if (!('id' in value) || value['id'] === undefined)
|
|
26
|
+
return false;
|
|
27
|
+
if (!('filePath' in value) || value['filePath'] === undefined)
|
|
28
|
+
return false;
|
|
29
|
+
return true;
|
|
30
|
+
}
|
|
31
|
+
function AssetLiteResourceFromJSON(json) {
|
|
32
|
+
return AssetLiteResourceFromJSONTyped(json, false);
|
|
33
|
+
}
|
|
34
|
+
function AssetLiteResourceFromJSONTyped(json, ignoreDiscriminator) {
|
|
35
|
+
if (json == null) {
|
|
36
|
+
return json;
|
|
37
|
+
}
|
|
38
|
+
return {
|
|
39
|
+
'id': json['id'],
|
|
40
|
+
'filePath': json['filePath'],
|
|
41
|
+
};
|
|
42
|
+
}
|
|
43
|
+
function AssetLiteResourceToJSON(json) {
|
|
44
|
+
return AssetLiteResourceToJSONTyped(json, false);
|
|
45
|
+
}
|
|
46
|
+
function AssetLiteResourceToJSONTyped(value, ignoreDiscriminator) {
|
|
47
|
+
if (ignoreDiscriminator === void 0) { ignoreDiscriminator = false; }
|
|
48
|
+
if (value == null) {
|
|
49
|
+
return value;
|
|
50
|
+
}
|
|
51
|
+
return {
|
|
52
|
+
'id': value['id'],
|
|
53
|
+
'filePath': value['filePath'],
|
|
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 { AssetLiteResource } from './AssetLiteResource';
|
|
13
|
+
/**
|
|
14
|
+
*
|
|
15
|
+
* @export
|
|
16
|
+
* @interface AssetLiteResourceArrayResponse
|
|
17
|
+
*/
|
|
18
|
+
export interface AssetLiteResourceArrayResponse {
|
|
19
|
+
/**
|
|
20
|
+
*
|
|
21
|
+
* @type {Array<AssetLiteResource>}
|
|
22
|
+
* @memberof AssetLiteResourceArrayResponse
|
|
23
|
+
*/
|
|
24
|
+
data?: Array<AssetLiteResource>;
|
|
25
|
+
}
|
|
26
|
+
/**
|
|
27
|
+
* Check if a given object implements the AssetLiteResourceArrayResponse interface.
|
|
28
|
+
*/
|
|
29
|
+
export declare function instanceOfAssetLiteResourceArrayResponse(value: object): value is AssetLiteResourceArrayResponse;
|
|
30
|
+
export declare function AssetLiteResourceArrayResponseFromJSON(json: any): AssetLiteResourceArrayResponse;
|
|
31
|
+
export declare function AssetLiteResourceArrayResponseFromJSONTyped(json: any, ignoreDiscriminator: boolean): AssetLiteResourceArrayResponse;
|
|
32
|
+
export declare function AssetLiteResourceArrayResponseToJSON(json: any): AssetLiteResourceArrayResponse;
|
|
33
|
+
export declare function AssetLiteResourceArrayResponseToJSONTyped(value?: AssetLiteResourceArrayResponse | 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.instanceOfAssetLiteResourceArrayResponse = instanceOfAssetLiteResourceArrayResponse;
|
|
17
|
+
exports.AssetLiteResourceArrayResponseFromJSON = AssetLiteResourceArrayResponseFromJSON;
|
|
18
|
+
exports.AssetLiteResourceArrayResponseFromJSONTyped = AssetLiteResourceArrayResponseFromJSONTyped;
|
|
19
|
+
exports.AssetLiteResourceArrayResponseToJSON = AssetLiteResourceArrayResponseToJSON;
|
|
20
|
+
exports.AssetLiteResourceArrayResponseToJSONTyped = AssetLiteResourceArrayResponseToJSONTyped;
|
|
21
|
+
var AssetLiteResource_1 = require("./AssetLiteResource");
|
|
22
|
+
/**
|
|
23
|
+
* Check if a given object implements the AssetLiteResourceArrayResponse interface.
|
|
24
|
+
*/
|
|
25
|
+
function instanceOfAssetLiteResourceArrayResponse(value) {
|
|
26
|
+
return true;
|
|
27
|
+
}
|
|
28
|
+
function AssetLiteResourceArrayResponseFromJSON(json) {
|
|
29
|
+
return AssetLiteResourceArrayResponseFromJSONTyped(json, false);
|
|
30
|
+
}
|
|
31
|
+
function AssetLiteResourceArrayResponseFromJSONTyped(json, ignoreDiscriminator) {
|
|
32
|
+
if (json == null) {
|
|
33
|
+
return json;
|
|
34
|
+
}
|
|
35
|
+
return {
|
|
36
|
+
'data': json['data'] == null ? undefined : (json['data'].map(AssetLiteResource_1.AssetLiteResourceFromJSON)),
|
|
37
|
+
};
|
|
38
|
+
}
|
|
39
|
+
function AssetLiteResourceArrayResponseToJSON(json) {
|
|
40
|
+
return AssetLiteResourceArrayResponseToJSONTyped(json, false);
|
|
41
|
+
}
|
|
42
|
+
function AssetLiteResourceArrayResponseToJSONTyped(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(AssetLiteResource_1.AssetLiteResourceToJSON)),
|
|
49
|
+
};
|
|
50
|
+
}
|
|
@@ -0,0 +1,68 @@
|
|
|
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 AssetResource
|
|
16
|
+
*/
|
|
17
|
+
export interface AssetResource {
|
|
18
|
+
/**
|
|
19
|
+
*
|
|
20
|
+
* @type {number}
|
|
21
|
+
* @memberof AssetResource
|
|
22
|
+
*/
|
|
23
|
+
id: number;
|
|
24
|
+
/**
|
|
25
|
+
*
|
|
26
|
+
* @type {string}
|
|
27
|
+
* @memberof AssetResource
|
|
28
|
+
*/
|
|
29
|
+
filePath: string;
|
|
30
|
+
/**
|
|
31
|
+
*
|
|
32
|
+
* @type {string}
|
|
33
|
+
* @memberof AssetResource
|
|
34
|
+
*/
|
|
35
|
+
fileName: string;
|
|
36
|
+
/**
|
|
37
|
+
*
|
|
38
|
+
* @type {string}
|
|
39
|
+
* @memberof AssetResource
|
|
40
|
+
*/
|
|
41
|
+
mimeType: string;
|
|
42
|
+
/**
|
|
43
|
+
*
|
|
44
|
+
* @type {string}
|
|
45
|
+
* @memberof AssetResource
|
|
46
|
+
*/
|
|
47
|
+
altText: string;
|
|
48
|
+
/**
|
|
49
|
+
*
|
|
50
|
+
* @type {number}
|
|
51
|
+
* @memberof AssetResource
|
|
52
|
+
*/
|
|
53
|
+
index: number;
|
|
54
|
+
/**
|
|
55
|
+
*
|
|
56
|
+
* @type {number}
|
|
57
|
+
* @memberof AssetResource
|
|
58
|
+
*/
|
|
59
|
+
fileId: number;
|
|
60
|
+
}
|
|
61
|
+
/**
|
|
62
|
+
* Check if a given object implements the AssetResource interface.
|
|
63
|
+
*/
|
|
64
|
+
export declare function instanceOfAssetResource(value: object): value is AssetResource;
|
|
65
|
+
export declare function AssetResourceFromJSON(json: any): AssetResource;
|
|
66
|
+
export declare function AssetResourceFromJSONTyped(json: any, ignoreDiscriminator: boolean): AssetResource;
|
|
67
|
+
export declare function AssetResourceToJSON(json: any): AssetResource;
|
|
68
|
+
export declare function AssetResourceToJSONTyped(value?: AssetResource | null, ignoreDiscriminator?: boolean): any;
|
|
@@ -0,0 +1,75 @@
|
|
|
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.instanceOfAssetResource = instanceOfAssetResource;
|
|
17
|
+
exports.AssetResourceFromJSON = AssetResourceFromJSON;
|
|
18
|
+
exports.AssetResourceFromJSONTyped = AssetResourceFromJSONTyped;
|
|
19
|
+
exports.AssetResourceToJSON = AssetResourceToJSON;
|
|
20
|
+
exports.AssetResourceToJSONTyped = AssetResourceToJSONTyped;
|
|
21
|
+
/**
|
|
22
|
+
* Check if a given object implements the AssetResource interface.
|
|
23
|
+
*/
|
|
24
|
+
function instanceOfAssetResource(value) {
|
|
25
|
+
if (!('id' in value) || value['id'] === undefined)
|
|
26
|
+
return false;
|
|
27
|
+
if (!('filePath' in value) || value['filePath'] === undefined)
|
|
28
|
+
return false;
|
|
29
|
+
if (!('fileName' in value) || value['fileName'] === undefined)
|
|
30
|
+
return false;
|
|
31
|
+
if (!('mimeType' in value) || value['mimeType'] === undefined)
|
|
32
|
+
return false;
|
|
33
|
+
if (!('altText' in value) || value['altText'] === undefined)
|
|
34
|
+
return false;
|
|
35
|
+
if (!('index' in value) || value['index'] === undefined)
|
|
36
|
+
return false;
|
|
37
|
+
if (!('fileId' in value) || value['fileId'] === undefined)
|
|
38
|
+
return false;
|
|
39
|
+
return true;
|
|
40
|
+
}
|
|
41
|
+
function AssetResourceFromJSON(json) {
|
|
42
|
+
return AssetResourceFromJSONTyped(json, false);
|
|
43
|
+
}
|
|
44
|
+
function AssetResourceFromJSONTyped(json, ignoreDiscriminator) {
|
|
45
|
+
if (json == null) {
|
|
46
|
+
return json;
|
|
47
|
+
}
|
|
48
|
+
return {
|
|
49
|
+
'id': json['id'],
|
|
50
|
+
'filePath': json['filePath'],
|
|
51
|
+
'fileName': json['fileName'],
|
|
52
|
+
'mimeType': json['mimeType'],
|
|
53
|
+
'altText': json['altText'],
|
|
54
|
+
'index': json['index'],
|
|
55
|
+
'fileId': json['fileId'],
|
|
56
|
+
};
|
|
57
|
+
}
|
|
58
|
+
function AssetResourceToJSON(json) {
|
|
59
|
+
return AssetResourceToJSONTyped(json, false);
|
|
60
|
+
}
|
|
61
|
+
function AssetResourceToJSONTyped(value, ignoreDiscriminator) {
|
|
62
|
+
if (ignoreDiscriminator === void 0) { ignoreDiscriminator = false; }
|
|
63
|
+
if (value == null) {
|
|
64
|
+
return value;
|
|
65
|
+
}
|
|
66
|
+
return {
|
|
67
|
+
'id': value['id'],
|
|
68
|
+
'filePath': value['filePath'],
|
|
69
|
+
'fileName': value['fileName'],
|
|
70
|
+
'mimeType': value['mimeType'],
|
|
71
|
+
'altText': value['altText'],
|
|
72
|
+
'index': value['index'],
|
|
73
|
+
'fileId': value['fileId'],
|
|
74
|
+
};
|
|
75
|
+
}
|