@homespot-sdk/api 0.0.6
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 +43 -0
- package/.openapi-generator/VERSION +1 -0
- package/.openapi-generator-ignore +23 -0
- package/README.md +149 -0
- package/dist/apis/AgencyControllerApi.d.ts +222 -0
- package/dist/apis/AgencyControllerApi.js +356 -0
- package/dist/apis/AgencyQueryControllerApi.d.ts +45 -0
- package/dist/apis/AgencyQueryControllerApi.js +63 -0
- package/dist/apis/InvitationControllerApi.d.ts +70 -0
- package/dist/apis/InvitationControllerApi.js +104 -0
- package/dist/apis/InvitationQueryControllerApi.d.ts +46 -0
- package/dist/apis/InvitationQueryControllerApi.js +65 -0
- package/dist/apis/index.d.ts +4 -0
- package/dist/apis/index.js +22 -0
- package/dist/esm/apis/AgencyControllerApi.d.ts +222 -0
- package/dist/esm/apis/AgencyControllerApi.js +352 -0
- package/dist/esm/apis/AgencyQueryControllerApi.d.ts +45 -0
- package/dist/esm/apis/AgencyQueryControllerApi.js +59 -0
- package/dist/esm/apis/InvitationControllerApi.d.ts +70 -0
- package/dist/esm/apis/InvitationControllerApi.js +100 -0
- package/dist/esm/apis/InvitationQueryControllerApi.d.ts +46 -0
- package/dist/esm/apis/InvitationQueryControllerApi.js +61 -0
- package/dist/esm/apis/index.d.ts +4 -0
- package/dist/esm/apis/index.js +6 -0
- package/dist/esm/index.d.ts +3 -0
- package/dist/esm/index.js +5 -0
- package/dist/esm/models/AddressRequest.d.ts +56 -0
- package/dist/esm/models/AddressRequest.js +59 -0
- package/dist/esm/models/CreateAgencyRequest.d.ts +69 -0
- package/dist/esm/models/CreateAgencyRequest.js +68 -0
- package/dist/esm/models/IdResponse.d.ts +32 -0
- package/dist/esm/models/IdResponse.js +43 -0
- package/dist/esm/models/InvitationViewResponse.d.ts +79 -0
- package/dist/esm/models/InvitationViewResponse.js +73 -0
- package/dist/esm/models/InviteMemberRequest.d.ts +32 -0
- package/dist/esm/models/InviteMemberRequest.js +43 -0
- package/dist/esm/models/PhotoRequest.d.ts +60 -0
- package/dist/esm/models/PhotoRequest.js +62 -0
- package/dist/esm/models/PresignedUrlResponse.d.ts +44 -0
- package/dist/esm/models/PresignedUrlResponse.js +51 -0
- package/dist/esm/models/PresignedUrlsResponse.d.ts +33 -0
- package/dist/esm/models/PresignedUrlsResponse.js +44 -0
- package/dist/esm/models/RolesRequest.d.ts +54 -0
- package/dist/esm/models/RolesRequest.js +60 -0
- package/dist/esm/models/SocialMediaRequest.d.ts +49 -0
- package/dist/esm/models/SocialMediaRequest.js +55 -0
- package/dist/esm/models/SocialMediasRequest.d.ts +33 -0
- package/dist/esm/models/SocialMediasRequest.js +44 -0
- package/dist/esm/models/UploadAcknowledgmentResponse.d.ts +38 -0
- package/dist/esm/models/UploadAcknowledgmentResponse.js +47 -0
- package/dist/esm/models/index.d.ts +12 -0
- package/dist/esm/models/index.js +14 -0
- package/dist/esm/runtime.d.ts +184 -0
- package/dist/esm/runtime.js +334 -0
- package/dist/index.d.ts +3 -0
- package/dist/index.js +21 -0
- package/dist/models/AddressRequest.d.ts +56 -0
- package/dist/models/AddressRequest.js +66 -0
- package/dist/models/CreateAgencyRequest.d.ts +69 -0
- package/dist/models/CreateAgencyRequest.js +75 -0
- package/dist/models/IdResponse.d.ts +32 -0
- package/dist/models/IdResponse.js +50 -0
- package/dist/models/InvitationViewResponse.d.ts +79 -0
- package/dist/models/InvitationViewResponse.js +81 -0
- package/dist/models/InviteMemberRequest.d.ts +32 -0
- package/dist/models/InviteMemberRequest.js +50 -0
- package/dist/models/PhotoRequest.d.ts +60 -0
- package/dist/models/PhotoRequest.js +70 -0
- package/dist/models/PresignedUrlResponse.d.ts +44 -0
- package/dist/models/PresignedUrlResponse.js +58 -0
- package/dist/models/PresignedUrlsResponse.d.ts +33 -0
- package/dist/models/PresignedUrlsResponse.js +51 -0
- package/dist/models/RolesRequest.d.ts +54 -0
- package/dist/models/RolesRequest.js +68 -0
- package/dist/models/SocialMediaRequest.d.ts +49 -0
- package/dist/models/SocialMediaRequest.js +63 -0
- package/dist/models/SocialMediasRequest.d.ts +33 -0
- package/dist/models/SocialMediasRequest.js +51 -0
- package/dist/models/UploadAcknowledgmentResponse.d.ts +38 -0
- package/dist/models/UploadAcknowledgmentResponse.js +54 -0
- package/dist/models/index.d.ts +12 -0
- package/dist/models/index.js +30 -0
- package/dist/runtime.d.ts +184 -0
- package/dist/runtime.js +350 -0
- package/docs/AddressRequest.md +42 -0
- package/docs/AgencyControllerApi.md +662 -0
- package/docs/AgencyQueryControllerApi.md +78 -0
- package/docs/CreateAgencyRequest.md +46 -0
- package/docs/IdResponse.md +34 -0
- package/docs/InvitationControllerApi.md +154 -0
- package/docs/InvitationQueryControllerApi.md +78 -0
- package/docs/InvitationViewResponse.md +46 -0
- package/docs/InviteMemberRequest.md +34 -0
- package/docs/PhotoRequest.md +40 -0
- package/docs/PresignedUrlResponse.md +38 -0
- package/docs/PresignedUrlsResponse.md +34 -0
- package/docs/RolesRequest.md +38 -0
- package/docs/SocialMediaRequest.md +36 -0
- package/docs/SocialMediasRequest.md +34 -0
- package/docs/UploadAcknowledgmentResponse.md +36 -0
- package/package.json +21 -0
- package/src/apis/AgencyControllerApi.ts +660 -0
- package/src/apis/AgencyQueryControllerApi.ts +88 -0
- package/src/apis/InvitationControllerApi.ts +173 -0
- package/src/apis/InvitationQueryControllerApi.ts +96 -0
- package/src/apis/index.ts +6 -0
- package/src/index.ts +5 -0
- package/src/models/AddressRequest.ts +102 -0
- package/src/models/CreateAgencyRequest.ts +128 -0
- package/src/models/IdResponse.ts +66 -0
- package/src/models/InvitationViewResponse.ts +132 -0
- package/src/models/InviteMemberRequest.ts +66 -0
- package/src/models/PhotoRequest.ts +105 -0
- package/src/models/PresignedUrlResponse.ts +84 -0
- package/src/models/PresignedUrlsResponse.ts +74 -0
- package/src/models/RolesRequest.ts +97 -0
- package/src/models/SocialMediaRequest.ts +88 -0
- package/src/models/SocialMediasRequest.ts +74 -0
- package/src/models/UploadAcknowledgmentResponse.ts +75 -0
- package/src/models/index.ts +14 -0
- package/src/runtime.ts +432 -0
- package/tsconfig.esm.json +7 -0
- package/tsconfig.json +16 -0
|
@@ -0,0 +1,60 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Service API
|
|
3
|
+
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
|
|
4
|
+
*
|
|
5
|
+
* The version of the OpenAPI document: v1
|
|
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 PhotoRequest
|
|
16
|
+
*/
|
|
17
|
+
export interface PhotoRequest {
|
|
18
|
+
/**
|
|
19
|
+
*
|
|
20
|
+
* @type {string}
|
|
21
|
+
* @memberof PhotoRequest
|
|
22
|
+
*/
|
|
23
|
+
photo: string;
|
|
24
|
+
/**
|
|
25
|
+
*
|
|
26
|
+
* @type {string}
|
|
27
|
+
* @memberof PhotoRequest
|
|
28
|
+
*/
|
|
29
|
+
type: PhotoRequestTypeEnum;
|
|
30
|
+
/**
|
|
31
|
+
*
|
|
32
|
+
* @type {number}
|
|
33
|
+
* @memberof PhotoRequest
|
|
34
|
+
*/
|
|
35
|
+
width: number;
|
|
36
|
+
/**
|
|
37
|
+
*
|
|
38
|
+
* @type {number}
|
|
39
|
+
* @memberof PhotoRequest
|
|
40
|
+
*/
|
|
41
|
+
height?: number;
|
|
42
|
+
}
|
|
43
|
+
/**
|
|
44
|
+
* @export
|
|
45
|
+
*/
|
|
46
|
+
export declare const PhotoRequestTypeEnum: {
|
|
47
|
+
readonly Jpeg: "JPEG";
|
|
48
|
+
readonly Jpg: "JPG";
|
|
49
|
+
readonly Png: "PNG";
|
|
50
|
+
readonly Webp: "WEBP";
|
|
51
|
+
};
|
|
52
|
+
export type PhotoRequestTypeEnum = typeof PhotoRequestTypeEnum[keyof typeof PhotoRequestTypeEnum];
|
|
53
|
+
/**
|
|
54
|
+
* Check if a given object implements the PhotoRequest interface.
|
|
55
|
+
*/
|
|
56
|
+
export declare function instanceOfPhotoRequest(value: object): value is PhotoRequest;
|
|
57
|
+
export declare function PhotoRequestFromJSON(json: any): PhotoRequest;
|
|
58
|
+
export declare function PhotoRequestFromJSONTyped(json: any, ignoreDiscriminator: boolean): PhotoRequest;
|
|
59
|
+
export declare function PhotoRequestToJSON(json: any): PhotoRequest;
|
|
60
|
+
export declare function PhotoRequestToJSONTyped(value?: PhotoRequest | null, ignoreDiscriminator?: boolean): any;
|
|
@@ -0,0 +1,62 @@
|
|
|
1
|
+
/* tslint:disable */
|
|
2
|
+
/* eslint-disable */
|
|
3
|
+
/**
|
|
4
|
+
* Service API
|
|
5
|
+
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
|
|
6
|
+
*
|
|
7
|
+
* The version of the OpenAPI document: v1
|
|
8
|
+
*
|
|
9
|
+
*
|
|
10
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
11
|
+
* https://openapi-generator.tech
|
|
12
|
+
* Do not edit the class manually.
|
|
13
|
+
*/
|
|
14
|
+
/**
|
|
15
|
+
* @export
|
|
16
|
+
*/
|
|
17
|
+
export const PhotoRequestTypeEnum = {
|
|
18
|
+
Jpeg: 'JPEG',
|
|
19
|
+
Jpg: 'JPG',
|
|
20
|
+
Png: 'PNG',
|
|
21
|
+
Webp: 'WEBP'
|
|
22
|
+
};
|
|
23
|
+
/**
|
|
24
|
+
* Check if a given object implements the PhotoRequest interface.
|
|
25
|
+
*/
|
|
26
|
+
export function instanceOfPhotoRequest(value) {
|
|
27
|
+
if (!('photo' in value) || value['photo'] === undefined)
|
|
28
|
+
return false;
|
|
29
|
+
if (!('type' in value) || value['type'] === undefined)
|
|
30
|
+
return false;
|
|
31
|
+
if (!('width' in value) || value['width'] === undefined)
|
|
32
|
+
return false;
|
|
33
|
+
return true;
|
|
34
|
+
}
|
|
35
|
+
export function PhotoRequestFromJSON(json) {
|
|
36
|
+
return PhotoRequestFromJSONTyped(json, false);
|
|
37
|
+
}
|
|
38
|
+
export function PhotoRequestFromJSONTyped(json, ignoreDiscriminator) {
|
|
39
|
+
if (json == null) {
|
|
40
|
+
return json;
|
|
41
|
+
}
|
|
42
|
+
return {
|
|
43
|
+
'photo': json['photo'],
|
|
44
|
+
'type': json['type'],
|
|
45
|
+
'width': json['width'],
|
|
46
|
+
'height': json['height'] == null ? undefined : json['height'],
|
|
47
|
+
};
|
|
48
|
+
}
|
|
49
|
+
export function PhotoRequestToJSON(json) {
|
|
50
|
+
return PhotoRequestToJSONTyped(json, false);
|
|
51
|
+
}
|
|
52
|
+
export function PhotoRequestToJSONTyped(value, ignoreDiscriminator = false) {
|
|
53
|
+
if (value == null) {
|
|
54
|
+
return value;
|
|
55
|
+
}
|
|
56
|
+
return {
|
|
57
|
+
'photo': value['photo'],
|
|
58
|
+
'type': value['type'],
|
|
59
|
+
'width': value['width'],
|
|
60
|
+
'height': value['height'],
|
|
61
|
+
};
|
|
62
|
+
}
|
|
@@ -0,0 +1,44 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Service API
|
|
3
|
+
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
|
|
4
|
+
*
|
|
5
|
+
* The version of the OpenAPI document: v1
|
|
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 PresignedUrlResponse
|
|
16
|
+
*/
|
|
17
|
+
export interface PresignedUrlResponse {
|
|
18
|
+
/**
|
|
19
|
+
*
|
|
20
|
+
* @type {string}
|
|
21
|
+
* @memberof PresignedUrlResponse
|
|
22
|
+
*/
|
|
23
|
+
originalName: string;
|
|
24
|
+
/**
|
|
25
|
+
*
|
|
26
|
+
* @type {string}
|
|
27
|
+
* @memberof PresignedUrlResponse
|
|
28
|
+
*/
|
|
29
|
+
key: string;
|
|
30
|
+
/**
|
|
31
|
+
*
|
|
32
|
+
* @type {string}
|
|
33
|
+
* @memberof PresignedUrlResponse
|
|
34
|
+
*/
|
|
35
|
+
url: string;
|
|
36
|
+
}
|
|
37
|
+
/**
|
|
38
|
+
* Check if a given object implements the PresignedUrlResponse interface.
|
|
39
|
+
*/
|
|
40
|
+
export declare function instanceOfPresignedUrlResponse(value: object): value is PresignedUrlResponse;
|
|
41
|
+
export declare function PresignedUrlResponseFromJSON(json: any): PresignedUrlResponse;
|
|
42
|
+
export declare function PresignedUrlResponseFromJSONTyped(json: any, ignoreDiscriminator: boolean): PresignedUrlResponse;
|
|
43
|
+
export declare function PresignedUrlResponseToJSON(json: any): PresignedUrlResponse;
|
|
44
|
+
export declare function PresignedUrlResponseToJSONTyped(value?: PresignedUrlResponse | null, ignoreDiscriminator?: boolean): any;
|
|
@@ -0,0 +1,51 @@
|
|
|
1
|
+
/* tslint:disable */
|
|
2
|
+
/* eslint-disable */
|
|
3
|
+
/**
|
|
4
|
+
* Service API
|
|
5
|
+
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
|
|
6
|
+
*
|
|
7
|
+
* The version of the OpenAPI document: v1
|
|
8
|
+
*
|
|
9
|
+
*
|
|
10
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
11
|
+
* https://openapi-generator.tech
|
|
12
|
+
* Do not edit the class manually.
|
|
13
|
+
*/
|
|
14
|
+
/**
|
|
15
|
+
* Check if a given object implements the PresignedUrlResponse interface.
|
|
16
|
+
*/
|
|
17
|
+
export function instanceOfPresignedUrlResponse(value) {
|
|
18
|
+
if (!('originalName' in value) || value['originalName'] === undefined)
|
|
19
|
+
return false;
|
|
20
|
+
if (!('key' in value) || value['key'] === undefined)
|
|
21
|
+
return false;
|
|
22
|
+
if (!('url' in value) || value['url'] === undefined)
|
|
23
|
+
return false;
|
|
24
|
+
return true;
|
|
25
|
+
}
|
|
26
|
+
export function PresignedUrlResponseFromJSON(json) {
|
|
27
|
+
return PresignedUrlResponseFromJSONTyped(json, false);
|
|
28
|
+
}
|
|
29
|
+
export function PresignedUrlResponseFromJSONTyped(json, ignoreDiscriminator) {
|
|
30
|
+
if (json == null) {
|
|
31
|
+
return json;
|
|
32
|
+
}
|
|
33
|
+
return {
|
|
34
|
+
'originalName': json['originalName'],
|
|
35
|
+
'key': json['key'],
|
|
36
|
+
'url': json['url'],
|
|
37
|
+
};
|
|
38
|
+
}
|
|
39
|
+
export function PresignedUrlResponseToJSON(json) {
|
|
40
|
+
return PresignedUrlResponseToJSONTyped(json, false);
|
|
41
|
+
}
|
|
42
|
+
export function PresignedUrlResponseToJSONTyped(value, ignoreDiscriminator = false) {
|
|
43
|
+
if (value == null) {
|
|
44
|
+
return value;
|
|
45
|
+
}
|
|
46
|
+
return {
|
|
47
|
+
'originalName': value['originalName'],
|
|
48
|
+
'key': value['key'],
|
|
49
|
+
'url': value['url'],
|
|
50
|
+
};
|
|
51
|
+
}
|
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Service API
|
|
3
|
+
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
|
|
4
|
+
*
|
|
5
|
+
* The version of the OpenAPI document: v1
|
|
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 { PresignedUrlResponse } from './PresignedUrlResponse';
|
|
13
|
+
/**
|
|
14
|
+
*
|
|
15
|
+
* @export
|
|
16
|
+
* @interface PresignedUrlsResponse
|
|
17
|
+
*/
|
|
18
|
+
export interface PresignedUrlsResponse {
|
|
19
|
+
/**
|
|
20
|
+
*
|
|
21
|
+
* @type {Array<PresignedUrlResponse>}
|
|
22
|
+
* @memberof PresignedUrlsResponse
|
|
23
|
+
*/
|
|
24
|
+
data: Array<PresignedUrlResponse>;
|
|
25
|
+
}
|
|
26
|
+
/**
|
|
27
|
+
* Check if a given object implements the PresignedUrlsResponse interface.
|
|
28
|
+
*/
|
|
29
|
+
export declare function instanceOfPresignedUrlsResponse(value: object): value is PresignedUrlsResponse;
|
|
30
|
+
export declare function PresignedUrlsResponseFromJSON(json: any): PresignedUrlsResponse;
|
|
31
|
+
export declare function PresignedUrlsResponseFromJSONTyped(json: any, ignoreDiscriminator: boolean): PresignedUrlsResponse;
|
|
32
|
+
export declare function PresignedUrlsResponseToJSON(json: any): PresignedUrlsResponse;
|
|
33
|
+
export declare function PresignedUrlsResponseToJSONTyped(value?: PresignedUrlsResponse | null, ignoreDiscriminator?: boolean): any;
|
|
@@ -0,0 +1,44 @@
|
|
|
1
|
+
/* tslint:disable */
|
|
2
|
+
/* eslint-disable */
|
|
3
|
+
/**
|
|
4
|
+
* Service API
|
|
5
|
+
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
|
|
6
|
+
*
|
|
7
|
+
* The version of the OpenAPI document: v1
|
|
8
|
+
*
|
|
9
|
+
*
|
|
10
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
11
|
+
* https://openapi-generator.tech
|
|
12
|
+
* Do not edit the class manually.
|
|
13
|
+
*/
|
|
14
|
+
import { PresignedUrlResponseFromJSON, PresignedUrlResponseToJSON, } from './PresignedUrlResponse';
|
|
15
|
+
/**
|
|
16
|
+
* Check if a given object implements the PresignedUrlsResponse interface.
|
|
17
|
+
*/
|
|
18
|
+
export function instanceOfPresignedUrlsResponse(value) {
|
|
19
|
+
if (!('data' in value) || value['data'] === undefined)
|
|
20
|
+
return false;
|
|
21
|
+
return true;
|
|
22
|
+
}
|
|
23
|
+
export function PresignedUrlsResponseFromJSON(json) {
|
|
24
|
+
return PresignedUrlsResponseFromJSONTyped(json, false);
|
|
25
|
+
}
|
|
26
|
+
export function PresignedUrlsResponseFromJSONTyped(json, ignoreDiscriminator) {
|
|
27
|
+
if (json == null) {
|
|
28
|
+
return json;
|
|
29
|
+
}
|
|
30
|
+
return {
|
|
31
|
+
'data': (json['data'].map(PresignedUrlResponseFromJSON)),
|
|
32
|
+
};
|
|
33
|
+
}
|
|
34
|
+
export function PresignedUrlsResponseToJSON(json) {
|
|
35
|
+
return PresignedUrlsResponseToJSONTyped(json, false);
|
|
36
|
+
}
|
|
37
|
+
export function PresignedUrlsResponseToJSONTyped(value, ignoreDiscriminator = false) {
|
|
38
|
+
if (value == null) {
|
|
39
|
+
return value;
|
|
40
|
+
}
|
|
41
|
+
return {
|
|
42
|
+
'data': (value['data'].map(PresignedUrlResponseToJSON)),
|
|
43
|
+
};
|
|
44
|
+
}
|
|
@@ -0,0 +1,54 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Service API
|
|
3
|
+
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
|
|
4
|
+
*
|
|
5
|
+
* The version of the OpenAPI document: v1
|
|
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 RolesRequest
|
|
16
|
+
*/
|
|
17
|
+
export interface RolesRequest {
|
|
18
|
+
/**
|
|
19
|
+
*
|
|
20
|
+
* @type {string}
|
|
21
|
+
* @memberof RolesRequest
|
|
22
|
+
*/
|
|
23
|
+
name: string;
|
|
24
|
+
/**
|
|
25
|
+
*
|
|
26
|
+
* @type {string}
|
|
27
|
+
* @memberof RolesRequest
|
|
28
|
+
*/
|
|
29
|
+
description: string;
|
|
30
|
+
/**
|
|
31
|
+
*
|
|
32
|
+
* @type {Array<string>}
|
|
33
|
+
* @memberof RolesRequest
|
|
34
|
+
*/
|
|
35
|
+
authorities: Array<RolesRequestAuthoritiesEnum>;
|
|
36
|
+
}
|
|
37
|
+
/**
|
|
38
|
+
* @export
|
|
39
|
+
*/
|
|
40
|
+
export declare const RolesRequestAuthoritiesEnum: {
|
|
41
|
+
readonly PropertiesRead: "properties_read";
|
|
42
|
+
readonly PropertiesWrite: "properties_write";
|
|
43
|
+
readonly AgentsRead: "agents_read";
|
|
44
|
+
readonly AgentsWrite: "agents_write";
|
|
45
|
+
};
|
|
46
|
+
export type RolesRequestAuthoritiesEnum = typeof RolesRequestAuthoritiesEnum[keyof typeof RolesRequestAuthoritiesEnum];
|
|
47
|
+
/**
|
|
48
|
+
* Check if a given object implements the RolesRequest interface.
|
|
49
|
+
*/
|
|
50
|
+
export declare function instanceOfRolesRequest(value: object): value is RolesRequest;
|
|
51
|
+
export declare function RolesRequestFromJSON(json: any): RolesRequest;
|
|
52
|
+
export declare function RolesRequestFromJSONTyped(json: any, ignoreDiscriminator: boolean): RolesRequest;
|
|
53
|
+
export declare function RolesRequestToJSON(json: any): RolesRequest;
|
|
54
|
+
export declare function RolesRequestToJSONTyped(value?: RolesRequest | null, ignoreDiscriminator?: boolean): any;
|
|
@@ -0,0 +1,60 @@
|
|
|
1
|
+
/* tslint:disable */
|
|
2
|
+
/* eslint-disable */
|
|
3
|
+
/**
|
|
4
|
+
* Service API
|
|
5
|
+
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
|
|
6
|
+
*
|
|
7
|
+
* The version of the OpenAPI document: v1
|
|
8
|
+
*
|
|
9
|
+
*
|
|
10
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
11
|
+
* https://openapi-generator.tech
|
|
12
|
+
* Do not edit the class manually.
|
|
13
|
+
*/
|
|
14
|
+
/**
|
|
15
|
+
* @export
|
|
16
|
+
*/
|
|
17
|
+
export const RolesRequestAuthoritiesEnum = {
|
|
18
|
+
PropertiesRead: 'properties_read',
|
|
19
|
+
PropertiesWrite: 'properties_write',
|
|
20
|
+
AgentsRead: 'agents_read',
|
|
21
|
+
AgentsWrite: 'agents_write'
|
|
22
|
+
};
|
|
23
|
+
/**
|
|
24
|
+
* Check if a given object implements the RolesRequest interface.
|
|
25
|
+
*/
|
|
26
|
+
export function instanceOfRolesRequest(value) {
|
|
27
|
+
if (!('name' in value) || value['name'] === undefined)
|
|
28
|
+
return false;
|
|
29
|
+
if (!('description' in value) || value['description'] === undefined)
|
|
30
|
+
return false;
|
|
31
|
+
if (!('authorities' in value) || value['authorities'] === undefined)
|
|
32
|
+
return false;
|
|
33
|
+
return true;
|
|
34
|
+
}
|
|
35
|
+
export function RolesRequestFromJSON(json) {
|
|
36
|
+
return RolesRequestFromJSONTyped(json, false);
|
|
37
|
+
}
|
|
38
|
+
export function RolesRequestFromJSONTyped(json, ignoreDiscriminator) {
|
|
39
|
+
if (json == null) {
|
|
40
|
+
return json;
|
|
41
|
+
}
|
|
42
|
+
return {
|
|
43
|
+
'name': json['name'],
|
|
44
|
+
'description': json['description'],
|
|
45
|
+
'authorities': json['authorities'],
|
|
46
|
+
};
|
|
47
|
+
}
|
|
48
|
+
export function RolesRequestToJSON(json) {
|
|
49
|
+
return RolesRequestToJSONTyped(json, false);
|
|
50
|
+
}
|
|
51
|
+
export function RolesRequestToJSONTyped(value, ignoreDiscriminator = false) {
|
|
52
|
+
if (value == null) {
|
|
53
|
+
return value;
|
|
54
|
+
}
|
|
55
|
+
return {
|
|
56
|
+
'name': value['name'],
|
|
57
|
+
'description': value['description'],
|
|
58
|
+
'authorities': value['authorities'],
|
|
59
|
+
};
|
|
60
|
+
}
|
|
@@ -0,0 +1,49 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Service API
|
|
3
|
+
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
|
|
4
|
+
*
|
|
5
|
+
* The version of the OpenAPI document: v1
|
|
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 SocialMediaRequest
|
|
16
|
+
*/
|
|
17
|
+
export interface SocialMediaRequest {
|
|
18
|
+
/**
|
|
19
|
+
*
|
|
20
|
+
* @type {string}
|
|
21
|
+
* @memberof SocialMediaRequest
|
|
22
|
+
*/
|
|
23
|
+
type: SocialMediaRequestTypeEnum;
|
|
24
|
+
/**
|
|
25
|
+
*
|
|
26
|
+
* @type {string}
|
|
27
|
+
* @memberof SocialMediaRequest
|
|
28
|
+
*/
|
|
29
|
+
url?: string;
|
|
30
|
+
}
|
|
31
|
+
/**
|
|
32
|
+
* @export
|
|
33
|
+
*/
|
|
34
|
+
export declare const SocialMediaRequestTypeEnum: {
|
|
35
|
+
readonly Facebook: "FACEBOOK";
|
|
36
|
+
readonly Youtube: "YOUTUBE";
|
|
37
|
+
readonly Instagram: "INSTAGRAM";
|
|
38
|
+
readonly Tiktok: "TIKTOK";
|
|
39
|
+
readonly Linkedin: "LINKEDIN";
|
|
40
|
+
};
|
|
41
|
+
export type SocialMediaRequestTypeEnum = typeof SocialMediaRequestTypeEnum[keyof typeof SocialMediaRequestTypeEnum];
|
|
42
|
+
/**
|
|
43
|
+
* Check if a given object implements the SocialMediaRequest interface.
|
|
44
|
+
*/
|
|
45
|
+
export declare function instanceOfSocialMediaRequest(value: object): value is SocialMediaRequest;
|
|
46
|
+
export declare function SocialMediaRequestFromJSON(json: any): SocialMediaRequest;
|
|
47
|
+
export declare function SocialMediaRequestFromJSONTyped(json: any, ignoreDiscriminator: boolean): SocialMediaRequest;
|
|
48
|
+
export declare function SocialMediaRequestToJSON(json: any): SocialMediaRequest;
|
|
49
|
+
export declare function SocialMediaRequestToJSONTyped(value?: SocialMediaRequest | null, ignoreDiscriminator?: boolean): any;
|
|
@@ -0,0 +1,55 @@
|
|
|
1
|
+
/* tslint:disable */
|
|
2
|
+
/* eslint-disable */
|
|
3
|
+
/**
|
|
4
|
+
* Service API
|
|
5
|
+
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
|
|
6
|
+
*
|
|
7
|
+
* The version of the OpenAPI document: v1
|
|
8
|
+
*
|
|
9
|
+
*
|
|
10
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
11
|
+
* https://openapi-generator.tech
|
|
12
|
+
* Do not edit the class manually.
|
|
13
|
+
*/
|
|
14
|
+
/**
|
|
15
|
+
* @export
|
|
16
|
+
*/
|
|
17
|
+
export const SocialMediaRequestTypeEnum = {
|
|
18
|
+
Facebook: 'FACEBOOK',
|
|
19
|
+
Youtube: 'YOUTUBE',
|
|
20
|
+
Instagram: 'INSTAGRAM',
|
|
21
|
+
Tiktok: 'TIKTOK',
|
|
22
|
+
Linkedin: 'LINKEDIN'
|
|
23
|
+
};
|
|
24
|
+
/**
|
|
25
|
+
* Check if a given object implements the SocialMediaRequest interface.
|
|
26
|
+
*/
|
|
27
|
+
export function instanceOfSocialMediaRequest(value) {
|
|
28
|
+
if (!('type' in value) || value['type'] === undefined)
|
|
29
|
+
return false;
|
|
30
|
+
return true;
|
|
31
|
+
}
|
|
32
|
+
export function SocialMediaRequestFromJSON(json) {
|
|
33
|
+
return SocialMediaRequestFromJSONTyped(json, false);
|
|
34
|
+
}
|
|
35
|
+
export function SocialMediaRequestFromJSONTyped(json, ignoreDiscriminator) {
|
|
36
|
+
if (json == null) {
|
|
37
|
+
return json;
|
|
38
|
+
}
|
|
39
|
+
return {
|
|
40
|
+
'type': json['type'],
|
|
41
|
+
'url': json['url'] == null ? undefined : json['url'],
|
|
42
|
+
};
|
|
43
|
+
}
|
|
44
|
+
export function SocialMediaRequestToJSON(json) {
|
|
45
|
+
return SocialMediaRequestToJSONTyped(json, false);
|
|
46
|
+
}
|
|
47
|
+
export function SocialMediaRequestToJSONTyped(value, ignoreDiscriminator = false) {
|
|
48
|
+
if (value == null) {
|
|
49
|
+
return value;
|
|
50
|
+
}
|
|
51
|
+
return {
|
|
52
|
+
'type': value['type'],
|
|
53
|
+
'url': value['url'],
|
|
54
|
+
};
|
|
55
|
+
}
|
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Service API
|
|
3
|
+
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
|
|
4
|
+
*
|
|
5
|
+
* The version of the OpenAPI document: v1
|
|
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 { SocialMediaRequest } from './SocialMediaRequest';
|
|
13
|
+
/**
|
|
14
|
+
*
|
|
15
|
+
* @export
|
|
16
|
+
* @interface SocialMediasRequest
|
|
17
|
+
*/
|
|
18
|
+
export interface SocialMediasRequest {
|
|
19
|
+
/**
|
|
20
|
+
*
|
|
21
|
+
* @type {Array<SocialMediaRequest>}
|
|
22
|
+
* @memberof SocialMediasRequest
|
|
23
|
+
*/
|
|
24
|
+
data: Array<SocialMediaRequest>;
|
|
25
|
+
}
|
|
26
|
+
/**
|
|
27
|
+
* Check if a given object implements the SocialMediasRequest interface.
|
|
28
|
+
*/
|
|
29
|
+
export declare function instanceOfSocialMediasRequest(value: object): value is SocialMediasRequest;
|
|
30
|
+
export declare function SocialMediasRequestFromJSON(json: any): SocialMediasRequest;
|
|
31
|
+
export declare function SocialMediasRequestFromJSONTyped(json: any, ignoreDiscriminator: boolean): SocialMediasRequest;
|
|
32
|
+
export declare function SocialMediasRequestToJSON(json: any): SocialMediasRequest;
|
|
33
|
+
export declare function SocialMediasRequestToJSONTyped(value?: SocialMediasRequest | null, ignoreDiscriminator?: boolean): any;
|
|
@@ -0,0 +1,44 @@
|
|
|
1
|
+
/* tslint:disable */
|
|
2
|
+
/* eslint-disable */
|
|
3
|
+
/**
|
|
4
|
+
* Service API
|
|
5
|
+
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
|
|
6
|
+
*
|
|
7
|
+
* The version of the OpenAPI document: v1
|
|
8
|
+
*
|
|
9
|
+
*
|
|
10
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
11
|
+
* https://openapi-generator.tech
|
|
12
|
+
* Do not edit the class manually.
|
|
13
|
+
*/
|
|
14
|
+
import { SocialMediaRequestFromJSON, SocialMediaRequestToJSON, } from './SocialMediaRequest';
|
|
15
|
+
/**
|
|
16
|
+
* Check if a given object implements the SocialMediasRequest interface.
|
|
17
|
+
*/
|
|
18
|
+
export function instanceOfSocialMediasRequest(value) {
|
|
19
|
+
if (!('data' in value) || value['data'] === undefined)
|
|
20
|
+
return false;
|
|
21
|
+
return true;
|
|
22
|
+
}
|
|
23
|
+
export function SocialMediasRequestFromJSON(json) {
|
|
24
|
+
return SocialMediasRequestFromJSONTyped(json, false);
|
|
25
|
+
}
|
|
26
|
+
export function SocialMediasRequestFromJSONTyped(json, ignoreDiscriminator) {
|
|
27
|
+
if (json == null) {
|
|
28
|
+
return json;
|
|
29
|
+
}
|
|
30
|
+
return {
|
|
31
|
+
'data': (json['data'].map(SocialMediaRequestFromJSON)),
|
|
32
|
+
};
|
|
33
|
+
}
|
|
34
|
+
export function SocialMediasRequestToJSON(json) {
|
|
35
|
+
return SocialMediasRequestToJSONTyped(json, false);
|
|
36
|
+
}
|
|
37
|
+
export function SocialMediasRequestToJSONTyped(value, ignoreDiscriminator = false) {
|
|
38
|
+
if (value == null) {
|
|
39
|
+
return value;
|
|
40
|
+
}
|
|
41
|
+
return {
|
|
42
|
+
'data': (value['data'].map(SocialMediaRequestToJSON)),
|
|
43
|
+
};
|
|
44
|
+
}
|
|
@@ -0,0 +1,38 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Service API
|
|
3
|
+
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
|
|
4
|
+
*
|
|
5
|
+
* The version of the OpenAPI document: v1
|
|
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 UploadAcknowledgmentResponse
|
|
16
|
+
*/
|
|
17
|
+
export interface UploadAcknowledgmentResponse {
|
|
18
|
+
/**
|
|
19
|
+
*
|
|
20
|
+
* @type {Array<string>}
|
|
21
|
+
* @memberof UploadAcknowledgmentResponse
|
|
22
|
+
*/
|
|
23
|
+
success: Array<string>;
|
|
24
|
+
/**
|
|
25
|
+
*
|
|
26
|
+
* @type {Array<string>}
|
|
27
|
+
* @memberof UploadAcknowledgmentResponse
|
|
28
|
+
*/
|
|
29
|
+
fail: Array<string>;
|
|
30
|
+
}
|
|
31
|
+
/**
|
|
32
|
+
* Check if a given object implements the UploadAcknowledgmentResponse interface.
|
|
33
|
+
*/
|
|
34
|
+
export declare function instanceOfUploadAcknowledgmentResponse(value: object): value is UploadAcknowledgmentResponse;
|
|
35
|
+
export declare function UploadAcknowledgmentResponseFromJSON(json: any): UploadAcknowledgmentResponse;
|
|
36
|
+
export declare function UploadAcknowledgmentResponseFromJSONTyped(json: any, ignoreDiscriminator: boolean): UploadAcknowledgmentResponse;
|
|
37
|
+
export declare function UploadAcknowledgmentResponseToJSON(json: any): UploadAcknowledgmentResponse;
|
|
38
|
+
export declare function UploadAcknowledgmentResponseToJSONTyped(value?: UploadAcknowledgmentResponse | null, ignoreDiscriminator?: boolean): any;
|
|
@@ -0,0 +1,47 @@
|
|
|
1
|
+
/* tslint:disable */
|
|
2
|
+
/* eslint-disable */
|
|
3
|
+
/**
|
|
4
|
+
* Service API
|
|
5
|
+
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
|
|
6
|
+
*
|
|
7
|
+
* The version of the OpenAPI document: v1
|
|
8
|
+
*
|
|
9
|
+
*
|
|
10
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
11
|
+
* https://openapi-generator.tech
|
|
12
|
+
* Do not edit the class manually.
|
|
13
|
+
*/
|
|
14
|
+
/**
|
|
15
|
+
* Check if a given object implements the UploadAcknowledgmentResponse interface.
|
|
16
|
+
*/
|
|
17
|
+
export function instanceOfUploadAcknowledgmentResponse(value) {
|
|
18
|
+
if (!('success' in value) || value['success'] === undefined)
|
|
19
|
+
return false;
|
|
20
|
+
if (!('fail' in value) || value['fail'] === undefined)
|
|
21
|
+
return false;
|
|
22
|
+
return true;
|
|
23
|
+
}
|
|
24
|
+
export function UploadAcknowledgmentResponseFromJSON(json) {
|
|
25
|
+
return UploadAcknowledgmentResponseFromJSONTyped(json, false);
|
|
26
|
+
}
|
|
27
|
+
export function UploadAcknowledgmentResponseFromJSONTyped(json, ignoreDiscriminator) {
|
|
28
|
+
if (json == null) {
|
|
29
|
+
return json;
|
|
30
|
+
}
|
|
31
|
+
return {
|
|
32
|
+
'success': json['success'],
|
|
33
|
+
'fail': json['fail'],
|
|
34
|
+
};
|
|
35
|
+
}
|
|
36
|
+
export function UploadAcknowledgmentResponseToJSON(json) {
|
|
37
|
+
return UploadAcknowledgmentResponseToJSONTyped(json, false);
|
|
38
|
+
}
|
|
39
|
+
export function UploadAcknowledgmentResponseToJSONTyped(value, ignoreDiscriminator = false) {
|
|
40
|
+
if (value == null) {
|
|
41
|
+
return value;
|
|
42
|
+
}
|
|
43
|
+
return {
|
|
44
|
+
'success': value['success'],
|
|
45
|
+
'fail': value['fail'],
|
|
46
|
+
};
|
|
47
|
+
}
|