@homespot-sdk/api 0.0.635 → 0.0.636
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 +30 -10
- package/README.md +26 -18
- package/dist/apis/AgencyControllerApi.d.ts +1 -63
- package/dist/apis/AgencyControllerApi.js +1 -100
- package/dist/apis/InvitationControllerApi.d.ts +10 -10
- package/dist/apis/InvitationControllerApi.js +9 -9
- package/dist/apis/InvitationQueryControllerApi.d.ts +12 -30
- package/dist/apis/InvitationQueryControllerApi.js +12 -47
- package/dist/apis/MemberControllerApi.d.ts +68 -0
- package/dist/apis/MemberControllerApi.js +101 -0
- package/dist/apis/MemberQueryControllerApi.d.ts +10 -4
- package/dist/apis/MemberQueryControllerApi.js +13 -7
- package/dist/apis/{AgencyQueryControllerApi.d.ts → PublicAgencyControllerApi.d.ts} +26 -38
- package/dist/apis/{AgencyQueryControllerApi.js → PublicAgencyControllerApi.js} +19 -44
- package/dist/apis/PublicInvitationControllerApi.d.ts +48 -0
- package/dist/apis/PublicInvitationControllerApi.js +71 -0
- package/dist/apis/PublicRoleControllerApi.d.ts +42 -0
- package/dist/apis/PublicRoleControllerApi.js +61 -0
- package/dist/apis/RoleControllerApi.d.ts +88 -0
- package/dist/apis/RoleControllerApi.js +133 -0
- package/dist/apis/RoleQueryControllerApi.d.ts +50 -0
- package/dist/apis/RoleQueryControllerApi.js +70 -0
- package/dist/apis/index.d.ts +6 -1
- package/dist/apis/index.js +6 -1
- package/dist/esm/apis/AgencyControllerApi.d.ts +1 -63
- package/dist/esm/apis/AgencyControllerApi.js +2 -101
- package/dist/esm/apis/InvitationControllerApi.d.ts +10 -10
- package/dist/esm/apis/InvitationControllerApi.js +9 -9
- package/dist/esm/apis/InvitationQueryControllerApi.d.ts +12 -30
- package/dist/esm/apis/InvitationQueryControllerApi.js +13 -48
- package/dist/esm/apis/MemberControllerApi.d.ts +68 -0
- package/dist/esm/apis/MemberControllerApi.js +97 -0
- package/dist/esm/apis/MemberQueryControllerApi.d.ts +10 -4
- package/dist/esm/apis/MemberQueryControllerApi.js +13 -7
- package/dist/esm/apis/{AgencyQueryControllerApi.d.ts → PublicAgencyControllerApi.d.ts} +26 -38
- package/dist/esm/apis/{AgencyQueryControllerApi.js → PublicAgencyControllerApi.js} +18 -43
- package/dist/esm/apis/PublicInvitationControllerApi.d.ts +48 -0
- package/dist/esm/apis/PublicInvitationControllerApi.js +67 -0
- package/dist/esm/apis/PublicRoleControllerApi.d.ts +42 -0
- package/dist/esm/apis/PublicRoleControllerApi.js +57 -0
- package/dist/esm/apis/RoleControllerApi.d.ts +88 -0
- package/dist/esm/apis/RoleControllerApi.js +129 -0
- package/dist/esm/apis/RoleQueryControllerApi.d.ts +50 -0
- package/dist/esm/apis/RoleQueryControllerApi.js +66 -0
- package/dist/esm/apis/index.d.ts +6 -1
- package/dist/esm/apis/index.js +6 -1
- package/dist/esm/models/AgencyProfileResponse.d.ts +69 -0
- package/dist/esm/models/{AgencyViewResponse.js → AgencyProfileResponse.js} +8 -8
- package/dist/esm/models/AgencySummaryResponse.d.ts +102 -0
- package/dist/esm/models/{AgencyPeekViewResponse.js → AgencySummaryResponse.js} +9 -9
- package/dist/esm/models/AssignRoleRequest.d.ts +32 -0
- package/dist/esm/models/AssignRoleRequest.js +43 -0
- package/dist/esm/models/BatchAssignRoleRequest.d.ts +38 -0
- package/dist/esm/models/BatchAssignRoleRequest.js +47 -0
- package/dist/esm/models/GroupedPermissionsResponse.d.ts +1 -0
- package/dist/esm/models/GroupedPermissionsResponse.js +2 -1
- package/dist/esm/models/OrganizationSummaryViewResponse.d.ts +2 -0
- package/dist/esm/models/OrganizationSummaryViewResponse.js +3 -1
- package/dist/esm/models/PageRoleResponse.d.ts +95 -0
- package/dist/esm/models/PageRoleResponse.js +64 -0
- package/dist/esm/models/PageableObject.d.ts +63 -0
- package/dist/esm/models/PageableObject.js +52 -0
- package/dist/esm/models/PagedModelAgencySummaryResponse.d.ts +40 -0
- package/dist/esm/models/{PagedModelAgencyPeekViewResponse.js → PagedModelAgencySummaryResponse.js} +11 -11
- package/dist/esm/models/PermissionResponse.d.ts +4 -0
- package/dist/esm/models/PermissionResponse.js +6 -2
- package/dist/esm/models/RoleResponse.d.ts +63 -0
- package/dist/esm/models/RoleResponse.js +67 -0
- package/dist/esm/models/RolesRequest.d.ts +2 -0
- package/dist/esm/models/RolesRequest.js +3 -1
- package/dist/esm/models/SortObject.d.ts +44 -0
- package/dist/esm/models/SortObject.js +45 -0
- package/dist/esm/models/index.d.ts +9 -4
- package/dist/esm/models/index.js +9 -4
- package/dist/models/AgencyProfileResponse.d.ts +69 -0
- package/dist/models/{AgencyViewResponse.js → AgencyProfileResponse.js} +13 -13
- package/dist/models/AgencySummaryResponse.d.ts +102 -0
- package/dist/models/{AgencyPeekViewResponse.js → AgencySummaryResponse.js} +15 -15
- package/dist/models/AssignRoleRequest.d.ts +32 -0
- package/dist/models/AssignRoleRequest.js +50 -0
- package/dist/models/BatchAssignRoleRequest.d.ts +38 -0
- package/dist/models/BatchAssignRoleRequest.js +54 -0
- package/dist/models/GroupedPermissionsResponse.d.ts +1 -0
- package/dist/models/GroupedPermissionsResponse.js +2 -1
- package/dist/models/OrganizationSummaryViewResponse.d.ts +2 -0
- package/dist/models/OrganizationSummaryViewResponse.js +3 -1
- package/dist/models/PageRoleResponse.d.ts +95 -0
- package/dist/models/PageRoleResponse.js +71 -0
- package/dist/models/PageableObject.d.ts +63 -0
- package/dist/models/PageableObject.js +59 -0
- package/dist/models/PagedModelAgencySummaryResponse.d.ts +40 -0
- package/dist/models/PagedModelAgencySummaryResponse.js +52 -0
- package/dist/models/PermissionResponse.d.ts +4 -0
- package/dist/models/PermissionResponse.js +6 -2
- package/dist/models/RoleResponse.d.ts +63 -0
- package/dist/models/RoleResponse.js +75 -0
- package/dist/models/RolesRequest.d.ts +2 -0
- package/dist/models/RolesRequest.js +3 -1
- package/dist/models/SortObject.d.ts +44 -0
- package/dist/models/SortObject.js +52 -0
- package/dist/models/index.d.ts +9 -4
- package/dist/models/index.js +9 -4
- package/docs/AgencyControllerApi.md +1 -214
- package/docs/{AgencyViewResponse.md → AgencyProfileResponse.md} +4 -4
- package/docs/{AgencyPeekViewResponse.md → AgencySummaryResponse.md} +4 -4
- package/docs/{Pageable.md → AssignRoleRequest.md} +6 -10
- package/docs/BatchAssignRoleRequest.md +36 -0
- package/docs/InvitationControllerApi.md +12 -12
- package/docs/InvitationQueryControllerApi.md +15 -82
- package/docs/MemberControllerApi.md +151 -0
- package/docs/MemberQueryControllerApi.md +13 -4
- package/docs/PageRoleResponse.md +54 -0
- package/docs/PageableObject.md +44 -0
- package/docs/{PagedModelAgencyPeekViewResponse.md → PagedModelAgencySummaryResponse.md} +5 -5
- package/docs/{AgencyQueryControllerApi.md → PublicAgencyControllerApi.md} +25 -81
- package/docs/PublicInvitationControllerApi.md +81 -0
- package/docs/PublicRoleControllerApi.md +70 -0
- package/docs/RoleControllerApi.md +221 -0
- package/docs/RoleQueryControllerApi.md +84 -0
- package/docs/RoleResponse.md +40 -0
- package/docs/SortObject.md +38 -0
- package/package.json +1 -1
- package/src/apis/AgencyControllerApi.ts +1 -186
- package/src/apis/InvitationControllerApi.ts +15 -15
- package/src/apis/InvitationQueryControllerApi.ts +20 -91
- package/src/apis/MemberControllerApi.ts +168 -0
- package/src/apis/MemberQueryControllerApi.ts +22 -14
- package/src/apis/{AgencyQueryControllerApi.ts → PublicAgencyControllerApi.ts} +48 -93
- package/src/apis/PublicInvitationControllerApi.ts +109 -0
- package/src/apis/PublicRoleControllerApi.ts +83 -0
- package/src/apis/RoleControllerApi.ts +225 -0
- package/src/apis/RoleQueryControllerApi.ts +104 -0
- package/src/apis/index.ts +6 -1
- package/src/models/{AgencyViewResponse.ts → AgencyProfileResponse.ts} +17 -17
- package/src/models/{AgencyPeekViewResponse.ts → AgencySummaryResponse.ts} +24 -24
- package/src/models/AssignRoleRequest.ts +66 -0
- package/src/models/BatchAssignRoleRequest.ts +75 -0
- package/src/models/GroupedPermissionsResponse.ts +2 -1
- package/src/models/OrganizationSummaryViewResponse.ts +3 -1
- package/src/models/PageRoleResponse.ts +167 -0
- package/src/models/PageableObject.ts +113 -0
- package/src/models/PagedModelAgencySummaryResponse.ts +88 -0
- package/src/models/PermissionResponse.ts +6 -2
- package/src/models/RoleResponse.ts +109 -0
- package/src/models/RolesRequest.ts +3 -1
- package/src/models/SortObject.ts +81 -0
- package/src/models/index.ts +9 -4
- package/dist/esm/models/AgencyPeekViewResponse.d.ts +0 -102
- package/dist/esm/models/AgencyViewResponse.d.ts +0 -69
- package/dist/esm/models/Pageable.d.ts +0 -44
- package/dist/esm/models/Pageable.js +0 -45
- package/dist/esm/models/PagedModelAgencyPeekViewResponse.d.ts +0 -40
- package/dist/models/AgencyPeekViewResponse.d.ts +0 -102
- package/dist/models/AgencyViewResponse.d.ts +0 -69
- package/dist/models/Pageable.d.ts +0 -44
- package/dist/models/Pageable.js +0 -52
- package/dist/models/PagedModelAgencyPeekViewResponse.d.ts +0 -40
- package/dist/models/PagedModelAgencyPeekViewResponse.js +0 -52
- package/src/models/Pageable.ts +0 -81
- package/src/models/PagedModelAgencyPeekViewResponse.ts +0 -88
|
@@ -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 SortObject
|
|
16
|
+
*/
|
|
17
|
+
export interface SortObject {
|
|
18
|
+
/**
|
|
19
|
+
*
|
|
20
|
+
* @type {boolean}
|
|
21
|
+
* @memberof SortObject
|
|
22
|
+
*/
|
|
23
|
+
empty?: boolean;
|
|
24
|
+
/**
|
|
25
|
+
*
|
|
26
|
+
* @type {boolean}
|
|
27
|
+
* @memberof SortObject
|
|
28
|
+
*/
|
|
29
|
+
sorted?: boolean;
|
|
30
|
+
/**
|
|
31
|
+
*
|
|
32
|
+
* @type {boolean}
|
|
33
|
+
* @memberof SortObject
|
|
34
|
+
*/
|
|
35
|
+
unsorted?: boolean;
|
|
36
|
+
}
|
|
37
|
+
/**
|
|
38
|
+
* Check if a given object implements the SortObject interface.
|
|
39
|
+
*/
|
|
40
|
+
export declare function instanceOfSortObject(value: object): value is SortObject;
|
|
41
|
+
export declare function SortObjectFromJSON(json: any): SortObject;
|
|
42
|
+
export declare function SortObjectFromJSONTyped(json: any, ignoreDiscriminator: boolean): SortObject;
|
|
43
|
+
export declare function SortObjectToJSON(json: any): SortObject;
|
|
44
|
+
export declare function SortObjectToJSONTyped(value?: SortObject | null, ignoreDiscriminator?: boolean): any;
|
|
@@ -0,0 +1,45 @@
|
|
|
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 SortObject interface.
|
|
16
|
+
*/
|
|
17
|
+
export function instanceOfSortObject(value) {
|
|
18
|
+
return true;
|
|
19
|
+
}
|
|
20
|
+
export function SortObjectFromJSON(json) {
|
|
21
|
+
return SortObjectFromJSONTyped(json, false);
|
|
22
|
+
}
|
|
23
|
+
export function SortObjectFromJSONTyped(json, ignoreDiscriminator) {
|
|
24
|
+
if (json == null) {
|
|
25
|
+
return json;
|
|
26
|
+
}
|
|
27
|
+
return {
|
|
28
|
+
'empty': json['empty'] == null ? undefined : json['empty'],
|
|
29
|
+
'sorted': json['sorted'] == null ? undefined : json['sorted'],
|
|
30
|
+
'unsorted': json['unsorted'] == null ? undefined : json['unsorted'],
|
|
31
|
+
};
|
|
32
|
+
}
|
|
33
|
+
export function SortObjectToJSON(json) {
|
|
34
|
+
return SortObjectToJSONTyped(json, false);
|
|
35
|
+
}
|
|
36
|
+
export function SortObjectToJSONTyped(value, ignoreDiscriminator = false) {
|
|
37
|
+
if (value == null) {
|
|
38
|
+
return value;
|
|
39
|
+
}
|
|
40
|
+
return {
|
|
41
|
+
'empty': value['empty'],
|
|
42
|
+
'sorted': value['sorted'],
|
|
43
|
+
'unsorted': value['unsorted'],
|
|
44
|
+
};
|
|
45
|
+
}
|
|
@@ -1,7 +1,9 @@
|
|
|
1
1
|
export * from './AddressRequest';
|
|
2
2
|
export * from './AddressViewResponse';
|
|
3
|
-
export * from './
|
|
4
|
-
export * from './
|
|
3
|
+
export * from './AgencyProfileResponse';
|
|
4
|
+
export * from './AgencySummaryResponse';
|
|
5
|
+
export * from './AssignRoleRequest';
|
|
6
|
+
export * from './BatchAssignRoleRequest';
|
|
5
7
|
export * from './CreateAgencyRequest';
|
|
6
8
|
export * from './GroupedPermissionsResponse';
|
|
7
9
|
export * from './IdResponse';
|
|
@@ -12,17 +14,20 @@ export * from './InviteMemberRequest';
|
|
|
12
14
|
export * from './MemberViewResponse';
|
|
13
15
|
export * from './OrganizationSummaryViewResponse';
|
|
14
16
|
export * from './PageMetadata';
|
|
15
|
-
export * from './
|
|
16
|
-
export * from './
|
|
17
|
+
export * from './PageRoleResponse';
|
|
18
|
+
export * from './PageableObject';
|
|
19
|
+
export * from './PagedModelAgencySummaryResponse';
|
|
17
20
|
export * from './PagedModelInvitationViewResponse';
|
|
18
21
|
export * from './PagedModelMemberViewResponse';
|
|
19
22
|
export * from './PermissionResponse';
|
|
20
23
|
export * from './PhotoRequest';
|
|
21
24
|
export * from './PresignedUrlResponse';
|
|
22
25
|
export * from './PresignedUrlsResponse';
|
|
26
|
+
export * from './RoleResponse';
|
|
23
27
|
export * from './RolesRequest';
|
|
24
28
|
export * from './SocialMediaRequest';
|
|
25
29
|
export * from './SocialMediasRequest';
|
|
30
|
+
export * from './SortObject';
|
|
26
31
|
export * from './UploadAcknowledgmentResponse';
|
|
27
32
|
export * from './UserContextViewResponse';
|
|
28
33
|
export * from './UserSummaryViewResponse';
|
package/dist/esm/models/index.js
CHANGED
|
@@ -2,8 +2,10 @@
|
|
|
2
2
|
/* eslint-disable */
|
|
3
3
|
export * from './AddressRequest';
|
|
4
4
|
export * from './AddressViewResponse';
|
|
5
|
-
export * from './
|
|
6
|
-
export * from './
|
|
5
|
+
export * from './AgencyProfileResponse';
|
|
6
|
+
export * from './AgencySummaryResponse';
|
|
7
|
+
export * from './AssignRoleRequest';
|
|
8
|
+
export * from './BatchAssignRoleRequest';
|
|
7
9
|
export * from './CreateAgencyRequest';
|
|
8
10
|
export * from './GroupedPermissionsResponse';
|
|
9
11
|
export * from './IdResponse';
|
|
@@ -14,17 +16,20 @@ export * from './InviteMemberRequest';
|
|
|
14
16
|
export * from './MemberViewResponse';
|
|
15
17
|
export * from './OrganizationSummaryViewResponse';
|
|
16
18
|
export * from './PageMetadata';
|
|
17
|
-
export * from './
|
|
18
|
-
export * from './
|
|
19
|
+
export * from './PageRoleResponse';
|
|
20
|
+
export * from './PageableObject';
|
|
21
|
+
export * from './PagedModelAgencySummaryResponse';
|
|
19
22
|
export * from './PagedModelInvitationViewResponse';
|
|
20
23
|
export * from './PagedModelMemberViewResponse';
|
|
21
24
|
export * from './PermissionResponse';
|
|
22
25
|
export * from './PhotoRequest';
|
|
23
26
|
export * from './PresignedUrlResponse';
|
|
24
27
|
export * from './PresignedUrlsResponse';
|
|
28
|
+
export * from './RoleResponse';
|
|
25
29
|
export * from './RolesRequest';
|
|
26
30
|
export * from './SocialMediaRequest';
|
|
27
31
|
export * from './SocialMediasRequest';
|
|
32
|
+
export * from './SortObject';
|
|
28
33
|
export * from './UploadAcknowledgmentResponse';
|
|
29
34
|
export * from './UserContextViewResponse';
|
|
30
35
|
export * from './UserSummaryViewResponse';
|
|
@@ -0,0 +1,69 @@
|
|
|
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 { AddressViewResponse } from './AddressViewResponse';
|
|
13
|
+
/**
|
|
14
|
+
*
|
|
15
|
+
* @export
|
|
16
|
+
* @interface AgencyProfileResponse
|
|
17
|
+
*/
|
|
18
|
+
export interface AgencyProfileResponse {
|
|
19
|
+
/**
|
|
20
|
+
*
|
|
21
|
+
* @type {string}
|
|
22
|
+
* @memberof AgencyProfileResponse
|
|
23
|
+
*/
|
|
24
|
+
name: string;
|
|
25
|
+
/**
|
|
26
|
+
*
|
|
27
|
+
* @type {string}
|
|
28
|
+
* @memberof AgencyProfileResponse
|
|
29
|
+
*/
|
|
30
|
+
email: string;
|
|
31
|
+
/**
|
|
32
|
+
*
|
|
33
|
+
* @type {number}
|
|
34
|
+
* @memberof AgencyProfileResponse
|
|
35
|
+
*/
|
|
36
|
+
seats: number;
|
|
37
|
+
/**
|
|
38
|
+
*
|
|
39
|
+
* @type {string}
|
|
40
|
+
* @memberof AgencyProfileResponse
|
|
41
|
+
*/
|
|
42
|
+
subDomain: string;
|
|
43
|
+
/**
|
|
44
|
+
*
|
|
45
|
+
* @type {string}
|
|
46
|
+
* @memberof AgencyProfileResponse
|
|
47
|
+
*/
|
|
48
|
+
phone: string;
|
|
49
|
+
/**
|
|
50
|
+
*
|
|
51
|
+
* @type {AddressViewResponse}
|
|
52
|
+
* @memberof AgencyProfileResponse
|
|
53
|
+
*/
|
|
54
|
+
address: AddressViewResponse;
|
|
55
|
+
/**
|
|
56
|
+
*
|
|
57
|
+
* @type {number}
|
|
58
|
+
* @memberof AgencyProfileResponse
|
|
59
|
+
*/
|
|
60
|
+
yearSince: number;
|
|
61
|
+
}
|
|
62
|
+
/**
|
|
63
|
+
* Check if a given object implements the AgencyProfileResponse interface.
|
|
64
|
+
*/
|
|
65
|
+
export declare function instanceOfAgencyProfileResponse(value: object): value is AgencyProfileResponse;
|
|
66
|
+
export declare function AgencyProfileResponseFromJSON(json: any): AgencyProfileResponse;
|
|
67
|
+
export declare function AgencyProfileResponseFromJSONTyped(json: any, ignoreDiscriminator: boolean): AgencyProfileResponse;
|
|
68
|
+
export declare function AgencyProfileResponseToJSON(json: any): AgencyProfileResponse;
|
|
69
|
+
export declare function AgencyProfileResponseToJSONTyped(value?: AgencyProfileResponse | null, ignoreDiscriminator?: boolean): any;
|
|
@@ -13,16 +13,16 @@
|
|
|
13
13
|
* Do not edit the class manually.
|
|
14
14
|
*/
|
|
15
15
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
16
|
-
exports.
|
|
17
|
-
exports.
|
|
18
|
-
exports.
|
|
19
|
-
exports.
|
|
20
|
-
exports.
|
|
16
|
+
exports.instanceOfAgencyProfileResponse = instanceOfAgencyProfileResponse;
|
|
17
|
+
exports.AgencyProfileResponseFromJSON = AgencyProfileResponseFromJSON;
|
|
18
|
+
exports.AgencyProfileResponseFromJSONTyped = AgencyProfileResponseFromJSONTyped;
|
|
19
|
+
exports.AgencyProfileResponseToJSON = AgencyProfileResponseToJSON;
|
|
20
|
+
exports.AgencyProfileResponseToJSONTyped = AgencyProfileResponseToJSONTyped;
|
|
21
21
|
const AddressViewResponse_1 = require("./AddressViewResponse");
|
|
22
22
|
/**
|
|
23
|
-
* Check if a given object implements the
|
|
23
|
+
* Check if a given object implements the AgencyProfileResponse interface.
|
|
24
24
|
*/
|
|
25
|
-
function
|
|
25
|
+
function instanceOfAgencyProfileResponse(value) {
|
|
26
26
|
if (!('name' in value) || value['name'] === undefined)
|
|
27
27
|
return false;
|
|
28
28
|
if (!('email' in value) || value['email'] === undefined)
|
|
@@ -39,10 +39,10 @@ function instanceOfAgencyViewResponse(value) {
|
|
|
39
39
|
return false;
|
|
40
40
|
return true;
|
|
41
41
|
}
|
|
42
|
-
function
|
|
43
|
-
return
|
|
42
|
+
function AgencyProfileResponseFromJSON(json) {
|
|
43
|
+
return AgencyProfileResponseFromJSONTyped(json, false);
|
|
44
44
|
}
|
|
45
|
-
function
|
|
45
|
+
function AgencyProfileResponseFromJSONTyped(json, ignoreDiscriminator) {
|
|
46
46
|
if (json == null) {
|
|
47
47
|
return json;
|
|
48
48
|
}
|
|
@@ -56,10 +56,10 @@ function AgencyViewResponseFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
56
56
|
'yearSince': json['yearSince'],
|
|
57
57
|
};
|
|
58
58
|
}
|
|
59
|
-
function
|
|
60
|
-
return
|
|
59
|
+
function AgencyProfileResponseToJSON(json) {
|
|
60
|
+
return AgencyProfileResponseToJSONTyped(json, false);
|
|
61
61
|
}
|
|
62
|
-
function
|
|
62
|
+
function AgencyProfileResponseToJSONTyped(value, ignoreDiscriminator = false) {
|
|
63
63
|
if (value == null) {
|
|
64
64
|
return value;
|
|
65
65
|
}
|
|
@@ -0,0 +1,102 @@
|
|
|
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 AgencySummaryResponse
|
|
16
|
+
*/
|
|
17
|
+
export interface AgencySummaryResponse {
|
|
18
|
+
/**
|
|
19
|
+
*
|
|
20
|
+
* @type {string}
|
|
21
|
+
* @memberof AgencySummaryResponse
|
|
22
|
+
*/
|
|
23
|
+
id: string;
|
|
24
|
+
/**
|
|
25
|
+
*
|
|
26
|
+
* @type {string}
|
|
27
|
+
* @memberof AgencySummaryResponse
|
|
28
|
+
*/
|
|
29
|
+
owner: string;
|
|
30
|
+
/**
|
|
31
|
+
*
|
|
32
|
+
* @type {string}
|
|
33
|
+
* @memberof AgencySummaryResponse
|
|
34
|
+
*/
|
|
35
|
+
name: string;
|
|
36
|
+
/**
|
|
37
|
+
*
|
|
38
|
+
* @type {string}
|
|
39
|
+
* @memberof AgencySummaryResponse
|
|
40
|
+
*/
|
|
41
|
+
email: string;
|
|
42
|
+
/**
|
|
43
|
+
*
|
|
44
|
+
* @type {string}
|
|
45
|
+
* @memberof AgencySummaryResponse
|
|
46
|
+
*/
|
|
47
|
+
seats: string;
|
|
48
|
+
/**
|
|
49
|
+
*
|
|
50
|
+
* @type {string}
|
|
51
|
+
* @memberof AgencySummaryResponse
|
|
52
|
+
*/
|
|
53
|
+
subDomain: string;
|
|
54
|
+
/**
|
|
55
|
+
*
|
|
56
|
+
* @type {string}
|
|
57
|
+
* @memberof AgencySummaryResponse
|
|
58
|
+
*/
|
|
59
|
+
phone: string;
|
|
60
|
+
/**
|
|
61
|
+
*
|
|
62
|
+
* @type {string}
|
|
63
|
+
* @memberof AgencySummaryResponse
|
|
64
|
+
*/
|
|
65
|
+
website?: string;
|
|
66
|
+
/**
|
|
67
|
+
*
|
|
68
|
+
* @type {string}
|
|
69
|
+
* @memberof AgencySummaryResponse
|
|
70
|
+
*/
|
|
71
|
+
yearSince: string;
|
|
72
|
+
/**
|
|
73
|
+
*
|
|
74
|
+
* @type {string}
|
|
75
|
+
* @memberof AgencySummaryResponse
|
|
76
|
+
*/
|
|
77
|
+
status: AgencySummaryResponseStatusEnum;
|
|
78
|
+
/**
|
|
79
|
+
*
|
|
80
|
+
* @type {string}
|
|
81
|
+
* @memberof AgencySummaryResponse
|
|
82
|
+
*/
|
|
83
|
+
logo?: string;
|
|
84
|
+
}
|
|
85
|
+
/**
|
|
86
|
+
* @export
|
|
87
|
+
*/
|
|
88
|
+
export declare const AgencySummaryResponseStatusEnum: {
|
|
89
|
+
readonly New: "NEW";
|
|
90
|
+
readonly Active: "ACTIVE";
|
|
91
|
+
readonly PaymentFailed: "PAYMENT_FAILED";
|
|
92
|
+
readonly Inactive: "INACTIVE";
|
|
93
|
+
};
|
|
94
|
+
export type AgencySummaryResponseStatusEnum = typeof AgencySummaryResponseStatusEnum[keyof typeof AgencySummaryResponseStatusEnum];
|
|
95
|
+
/**
|
|
96
|
+
* Check if a given object implements the AgencySummaryResponse interface.
|
|
97
|
+
*/
|
|
98
|
+
export declare function instanceOfAgencySummaryResponse(value: object): value is AgencySummaryResponse;
|
|
99
|
+
export declare function AgencySummaryResponseFromJSON(json: any): AgencySummaryResponse;
|
|
100
|
+
export declare function AgencySummaryResponseFromJSONTyped(json: any, ignoreDiscriminator: boolean): AgencySummaryResponse;
|
|
101
|
+
export declare function AgencySummaryResponseToJSON(json: any): AgencySummaryResponse;
|
|
102
|
+
export declare function AgencySummaryResponseToJSONTyped(value?: AgencySummaryResponse | null, ignoreDiscriminator?: boolean): any;
|
|
@@ -13,25 +13,25 @@
|
|
|
13
13
|
* Do not edit the class manually.
|
|
14
14
|
*/
|
|
15
15
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
16
|
-
exports.
|
|
17
|
-
exports.
|
|
18
|
-
exports.
|
|
19
|
-
exports.
|
|
20
|
-
exports.
|
|
21
|
-
exports.
|
|
16
|
+
exports.AgencySummaryResponseStatusEnum = void 0;
|
|
17
|
+
exports.instanceOfAgencySummaryResponse = instanceOfAgencySummaryResponse;
|
|
18
|
+
exports.AgencySummaryResponseFromJSON = AgencySummaryResponseFromJSON;
|
|
19
|
+
exports.AgencySummaryResponseFromJSONTyped = AgencySummaryResponseFromJSONTyped;
|
|
20
|
+
exports.AgencySummaryResponseToJSON = AgencySummaryResponseToJSON;
|
|
21
|
+
exports.AgencySummaryResponseToJSONTyped = AgencySummaryResponseToJSONTyped;
|
|
22
22
|
/**
|
|
23
23
|
* @export
|
|
24
24
|
*/
|
|
25
|
-
exports.
|
|
25
|
+
exports.AgencySummaryResponseStatusEnum = {
|
|
26
26
|
New: 'NEW',
|
|
27
27
|
Active: 'ACTIVE',
|
|
28
28
|
PaymentFailed: 'PAYMENT_FAILED',
|
|
29
29
|
Inactive: 'INACTIVE'
|
|
30
30
|
};
|
|
31
31
|
/**
|
|
32
|
-
* Check if a given object implements the
|
|
32
|
+
* Check if a given object implements the AgencySummaryResponse interface.
|
|
33
33
|
*/
|
|
34
|
-
function
|
|
34
|
+
function instanceOfAgencySummaryResponse(value) {
|
|
35
35
|
if (!('id' in value) || value['id'] === undefined)
|
|
36
36
|
return false;
|
|
37
37
|
if (!('owner' in value) || value['owner'] === undefined)
|
|
@@ -52,10 +52,10 @@ function instanceOfAgencyPeekViewResponse(value) {
|
|
|
52
52
|
return false;
|
|
53
53
|
return true;
|
|
54
54
|
}
|
|
55
|
-
function
|
|
56
|
-
return
|
|
55
|
+
function AgencySummaryResponseFromJSON(json) {
|
|
56
|
+
return AgencySummaryResponseFromJSONTyped(json, false);
|
|
57
57
|
}
|
|
58
|
-
function
|
|
58
|
+
function AgencySummaryResponseFromJSONTyped(json, ignoreDiscriminator) {
|
|
59
59
|
if (json == null) {
|
|
60
60
|
return json;
|
|
61
61
|
}
|
|
@@ -73,10 +73,10 @@ function AgencyPeekViewResponseFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
73
73
|
'logo': json['logo'] == null ? undefined : json['logo'],
|
|
74
74
|
};
|
|
75
75
|
}
|
|
76
|
-
function
|
|
77
|
-
return
|
|
76
|
+
function AgencySummaryResponseToJSON(json) {
|
|
77
|
+
return AgencySummaryResponseToJSONTyped(json, false);
|
|
78
78
|
}
|
|
79
|
-
function
|
|
79
|
+
function AgencySummaryResponseToJSONTyped(value, ignoreDiscriminator = false) {
|
|
80
80
|
if (value == null) {
|
|
81
81
|
return value;
|
|
82
82
|
}
|
|
@@ -0,0 +1,32 @@
|
|
|
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 AssignRoleRequest
|
|
16
|
+
*/
|
|
17
|
+
export interface AssignRoleRequest {
|
|
18
|
+
/**
|
|
19
|
+
*
|
|
20
|
+
* @type {number}
|
|
21
|
+
* @memberof AssignRoleRequest
|
|
22
|
+
*/
|
|
23
|
+
roleId: number;
|
|
24
|
+
}
|
|
25
|
+
/**
|
|
26
|
+
* Check if a given object implements the AssignRoleRequest interface.
|
|
27
|
+
*/
|
|
28
|
+
export declare function instanceOfAssignRoleRequest(value: object): value is AssignRoleRequest;
|
|
29
|
+
export declare function AssignRoleRequestFromJSON(json: any): AssignRoleRequest;
|
|
30
|
+
export declare function AssignRoleRequestFromJSONTyped(json: any, ignoreDiscriminator: boolean): AssignRoleRequest;
|
|
31
|
+
export declare function AssignRoleRequestToJSON(json: any): AssignRoleRequest;
|
|
32
|
+
export declare function AssignRoleRequestToJSONTyped(value?: AssignRoleRequest | null, ignoreDiscriminator?: boolean): any;
|
|
@@ -0,0 +1,50 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/* tslint:disable */
|
|
3
|
+
/* eslint-disable */
|
|
4
|
+
/**
|
|
5
|
+
* Service API
|
|
6
|
+
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
|
|
7
|
+
*
|
|
8
|
+
* The version of the OpenAPI document: v1
|
|
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.instanceOfAssignRoleRequest = instanceOfAssignRoleRequest;
|
|
17
|
+
exports.AssignRoleRequestFromJSON = AssignRoleRequestFromJSON;
|
|
18
|
+
exports.AssignRoleRequestFromJSONTyped = AssignRoleRequestFromJSONTyped;
|
|
19
|
+
exports.AssignRoleRequestToJSON = AssignRoleRequestToJSON;
|
|
20
|
+
exports.AssignRoleRequestToJSONTyped = AssignRoleRequestToJSONTyped;
|
|
21
|
+
/**
|
|
22
|
+
* Check if a given object implements the AssignRoleRequest interface.
|
|
23
|
+
*/
|
|
24
|
+
function instanceOfAssignRoleRequest(value) {
|
|
25
|
+
if (!('roleId' in value) || value['roleId'] === undefined)
|
|
26
|
+
return false;
|
|
27
|
+
return true;
|
|
28
|
+
}
|
|
29
|
+
function AssignRoleRequestFromJSON(json) {
|
|
30
|
+
return AssignRoleRequestFromJSONTyped(json, false);
|
|
31
|
+
}
|
|
32
|
+
function AssignRoleRequestFromJSONTyped(json, ignoreDiscriminator) {
|
|
33
|
+
if (json == null) {
|
|
34
|
+
return json;
|
|
35
|
+
}
|
|
36
|
+
return {
|
|
37
|
+
'roleId': json['roleId'],
|
|
38
|
+
};
|
|
39
|
+
}
|
|
40
|
+
function AssignRoleRequestToJSON(json) {
|
|
41
|
+
return AssignRoleRequestToJSONTyped(json, false);
|
|
42
|
+
}
|
|
43
|
+
function AssignRoleRequestToJSONTyped(value, ignoreDiscriminator = false) {
|
|
44
|
+
if (value == null) {
|
|
45
|
+
return value;
|
|
46
|
+
}
|
|
47
|
+
return {
|
|
48
|
+
'roleId': value['roleId'],
|
|
49
|
+
};
|
|
50
|
+
}
|
|
@@ -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 BatchAssignRoleRequest
|
|
16
|
+
*/
|
|
17
|
+
export interface BatchAssignRoleRequest {
|
|
18
|
+
/**
|
|
19
|
+
*
|
|
20
|
+
* @type {number}
|
|
21
|
+
* @memberof BatchAssignRoleRequest
|
|
22
|
+
*/
|
|
23
|
+
roleId: number;
|
|
24
|
+
/**
|
|
25
|
+
*
|
|
26
|
+
* @type {Array<string>}
|
|
27
|
+
* @memberof BatchAssignRoleRequest
|
|
28
|
+
*/
|
|
29
|
+
memberIds: Array<string>;
|
|
30
|
+
}
|
|
31
|
+
/**
|
|
32
|
+
* Check if a given object implements the BatchAssignRoleRequest interface.
|
|
33
|
+
*/
|
|
34
|
+
export declare function instanceOfBatchAssignRoleRequest(value: object): value is BatchAssignRoleRequest;
|
|
35
|
+
export declare function BatchAssignRoleRequestFromJSON(json: any): BatchAssignRoleRequest;
|
|
36
|
+
export declare function BatchAssignRoleRequestFromJSONTyped(json: any, ignoreDiscriminator: boolean): BatchAssignRoleRequest;
|
|
37
|
+
export declare function BatchAssignRoleRequestToJSON(json: any): BatchAssignRoleRequest;
|
|
38
|
+
export declare function BatchAssignRoleRequestToJSONTyped(value?: BatchAssignRoleRequest | null, ignoreDiscriminator?: boolean): any;
|
|
@@ -0,0 +1,54 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/* tslint:disable */
|
|
3
|
+
/* eslint-disable */
|
|
4
|
+
/**
|
|
5
|
+
* Service API
|
|
6
|
+
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
|
|
7
|
+
*
|
|
8
|
+
* The version of the OpenAPI document: v1
|
|
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.instanceOfBatchAssignRoleRequest = instanceOfBatchAssignRoleRequest;
|
|
17
|
+
exports.BatchAssignRoleRequestFromJSON = BatchAssignRoleRequestFromJSON;
|
|
18
|
+
exports.BatchAssignRoleRequestFromJSONTyped = BatchAssignRoleRequestFromJSONTyped;
|
|
19
|
+
exports.BatchAssignRoleRequestToJSON = BatchAssignRoleRequestToJSON;
|
|
20
|
+
exports.BatchAssignRoleRequestToJSONTyped = BatchAssignRoleRequestToJSONTyped;
|
|
21
|
+
/**
|
|
22
|
+
* Check if a given object implements the BatchAssignRoleRequest interface.
|
|
23
|
+
*/
|
|
24
|
+
function instanceOfBatchAssignRoleRequest(value) {
|
|
25
|
+
if (!('roleId' in value) || value['roleId'] === undefined)
|
|
26
|
+
return false;
|
|
27
|
+
if (!('memberIds' in value) || value['memberIds'] === undefined)
|
|
28
|
+
return false;
|
|
29
|
+
return true;
|
|
30
|
+
}
|
|
31
|
+
function BatchAssignRoleRequestFromJSON(json) {
|
|
32
|
+
return BatchAssignRoleRequestFromJSONTyped(json, false);
|
|
33
|
+
}
|
|
34
|
+
function BatchAssignRoleRequestFromJSONTyped(json, ignoreDiscriminator) {
|
|
35
|
+
if (json == null) {
|
|
36
|
+
return json;
|
|
37
|
+
}
|
|
38
|
+
return {
|
|
39
|
+
'roleId': json['roleId'],
|
|
40
|
+
'memberIds': json['memberIds'],
|
|
41
|
+
};
|
|
42
|
+
}
|
|
43
|
+
function BatchAssignRoleRequestToJSON(json) {
|
|
44
|
+
return BatchAssignRoleRequestToJSONTyped(json, false);
|
|
45
|
+
}
|
|
46
|
+
function BatchAssignRoleRequestToJSONTyped(value, ignoreDiscriminator = false) {
|
|
47
|
+
if (value == null) {
|
|
48
|
+
return value;
|
|
49
|
+
}
|
|
50
|
+
return {
|
|
51
|
+
'roleId': value['roleId'],
|
|
52
|
+
'memberIds': value['memberIds'],
|
|
53
|
+
};
|
|
54
|
+
}
|
|
@@ -36,6 +36,7 @@ export declare const GroupedPermissionsResponseGroupEnum: {
|
|
|
36
36
|
readonly Agency: "AGENCY";
|
|
37
37
|
readonly Invitation: "INVITATION";
|
|
38
38
|
readonly Role: "ROLE";
|
|
39
|
+
readonly Member: "MEMBER";
|
|
39
40
|
};
|
|
40
41
|
export type GroupedPermissionsResponseGroupEnum = typeof GroupedPermissionsResponseGroupEnum[keyof typeof GroupedPermissionsResponseGroupEnum];
|
|
41
42
|
/**
|
|
@@ -26,7 +26,8 @@ const PermissionResponse_1 = require("./PermissionResponse");
|
|
|
26
26
|
exports.GroupedPermissionsResponseGroupEnum = {
|
|
27
27
|
Agency: 'AGENCY',
|
|
28
28
|
Invitation: 'INVITATION',
|
|
29
|
-
Role: 'ROLE'
|
|
29
|
+
Role: 'ROLE',
|
|
30
|
+
Member: 'MEMBER'
|
|
30
31
|
};
|
|
31
32
|
/**
|
|
32
33
|
* Check if a given object implements the GroupedPermissionsResponse interface.
|
|
@@ -79,6 +79,8 @@ export declare const OrganizationSummaryViewResponsePermissionsEnum: {
|
|
|
79
79
|
readonly InvitationWrite: "INVITATION_WRITE";
|
|
80
80
|
readonly RoleRead: "ROLE_READ";
|
|
81
81
|
readonly RoleWrite: "ROLE_WRITE";
|
|
82
|
+
readonly MemberRead: "MEMBER_READ";
|
|
83
|
+
readonly MemberWrite: "MEMBER_WRITE";
|
|
82
84
|
};
|
|
83
85
|
export type OrganizationSummaryViewResponsePermissionsEnum = typeof OrganizationSummaryViewResponsePermissionsEnum[keyof typeof OrganizationSummaryViewResponsePermissionsEnum];
|
|
84
86
|
/**
|
|
@@ -27,7 +27,9 @@ exports.OrganizationSummaryViewResponsePermissionsEnum = {
|
|
|
27
27
|
InvitationRead: 'INVITATION_READ',
|
|
28
28
|
InvitationWrite: 'INVITATION_WRITE',
|
|
29
29
|
RoleRead: 'ROLE_READ',
|
|
30
|
-
RoleWrite: 'ROLE_WRITE'
|
|
30
|
+
RoleWrite: 'ROLE_WRITE',
|
|
31
|
+
MemberRead: 'MEMBER_READ',
|
|
32
|
+
MemberWrite: 'MEMBER_WRITE'
|
|
31
33
|
};
|
|
32
34
|
/**
|
|
33
35
|
* @export
|