@homespot-sdk/api 0.0.635 → 0.0.637
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,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 BatchAssignRoleRequest interface.
|
|
16
|
+
*/
|
|
17
|
+
export function instanceOfBatchAssignRoleRequest(value) {
|
|
18
|
+
if (!('roleId' in value) || value['roleId'] === undefined)
|
|
19
|
+
return false;
|
|
20
|
+
if (!('memberIds' in value) || value['memberIds'] === undefined)
|
|
21
|
+
return false;
|
|
22
|
+
return true;
|
|
23
|
+
}
|
|
24
|
+
export function BatchAssignRoleRequestFromJSON(json) {
|
|
25
|
+
return BatchAssignRoleRequestFromJSONTyped(json, false);
|
|
26
|
+
}
|
|
27
|
+
export function BatchAssignRoleRequestFromJSONTyped(json, ignoreDiscriminator) {
|
|
28
|
+
if (json == null) {
|
|
29
|
+
return json;
|
|
30
|
+
}
|
|
31
|
+
return {
|
|
32
|
+
'roleId': json['roleId'],
|
|
33
|
+
'memberIds': json['memberIds'],
|
|
34
|
+
};
|
|
35
|
+
}
|
|
36
|
+
export function BatchAssignRoleRequestToJSON(json) {
|
|
37
|
+
return BatchAssignRoleRequestToJSONTyped(json, false);
|
|
38
|
+
}
|
|
39
|
+
export function BatchAssignRoleRequestToJSONTyped(value, ignoreDiscriminator = false) {
|
|
40
|
+
if (value == null) {
|
|
41
|
+
return value;
|
|
42
|
+
}
|
|
43
|
+
return {
|
|
44
|
+
'roleId': value['roleId'],
|
|
45
|
+
'memberIds': value['memberIds'],
|
|
46
|
+
};
|
|
47
|
+
}
|
|
@@ -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
|
/**
|
|
@@ -18,7 +18,8 @@ import { PermissionResponseFromJSON, PermissionResponseToJSON, } from './Permiss
|
|
|
18
18
|
export const GroupedPermissionsResponseGroupEnum = {
|
|
19
19
|
Agency: 'AGENCY',
|
|
20
20
|
Invitation: 'INVITATION',
|
|
21
|
-
Role: 'ROLE'
|
|
21
|
+
Role: 'ROLE',
|
|
22
|
+
Member: 'MEMBER'
|
|
22
23
|
};
|
|
23
24
|
/**
|
|
24
25
|
* 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
|
/**
|
|
@@ -19,7 +19,9 @@ export const OrganizationSummaryViewResponsePermissionsEnum = {
|
|
|
19
19
|
InvitationRead: 'INVITATION_READ',
|
|
20
20
|
InvitationWrite: 'INVITATION_WRITE',
|
|
21
21
|
RoleRead: 'ROLE_READ',
|
|
22
|
-
RoleWrite: 'ROLE_WRITE'
|
|
22
|
+
RoleWrite: 'ROLE_WRITE',
|
|
23
|
+
MemberRead: 'MEMBER_READ',
|
|
24
|
+
MemberWrite: 'MEMBER_WRITE'
|
|
23
25
|
};
|
|
24
26
|
/**
|
|
25
27
|
* @export
|
|
@@ -0,0 +1,95 @@
|
|
|
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 { PageableObject } from './PageableObject';
|
|
13
|
+
import type { SortObject } from './SortObject';
|
|
14
|
+
import type { RoleResponse } from './RoleResponse';
|
|
15
|
+
/**
|
|
16
|
+
*
|
|
17
|
+
* @export
|
|
18
|
+
* @interface PageRoleResponse
|
|
19
|
+
*/
|
|
20
|
+
export interface PageRoleResponse {
|
|
21
|
+
/**
|
|
22
|
+
*
|
|
23
|
+
* @type {number}
|
|
24
|
+
* @memberof PageRoleResponse
|
|
25
|
+
*/
|
|
26
|
+
totalElements?: number;
|
|
27
|
+
/**
|
|
28
|
+
*
|
|
29
|
+
* @type {number}
|
|
30
|
+
* @memberof PageRoleResponse
|
|
31
|
+
*/
|
|
32
|
+
totalPages?: number;
|
|
33
|
+
/**
|
|
34
|
+
*
|
|
35
|
+
* @type {number}
|
|
36
|
+
* @memberof PageRoleResponse
|
|
37
|
+
*/
|
|
38
|
+
size?: number;
|
|
39
|
+
/**
|
|
40
|
+
*
|
|
41
|
+
* @type {Array<RoleResponse>}
|
|
42
|
+
* @memberof PageRoleResponse
|
|
43
|
+
*/
|
|
44
|
+
content?: Array<RoleResponse>;
|
|
45
|
+
/**
|
|
46
|
+
*
|
|
47
|
+
* @type {number}
|
|
48
|
+
* @memberof PageRoleResponse
|
|
49
|
+
*/
|
|
50
|
+
number?: number;
|
|
51
|
+
/**
|
|
52
|
+
*
|
|
53
|
+
* @type {boolean}
|
|
54
|
+
* @memberof PageRoleResponse
|
|
55
|
+
*/
|
|
56
|
+
first?: boolean;
|
|
57
|
+
/**
|
|
58
|
+
*
|
|
59
|
+
* @type {boolean}
|
|
60
|
+
* @memberof PageRoleResponse
|
|
61
|
+
*/
|
|
62
|
+
last?: boolean;
|
|
63
|
+
/**
|
|
64
|
+
*
|
|
65
|
+
* @type {number}
|
|
66
|
+
* @memberof PageRoleResponse
|
|
67
|
+
*/
|
|
68
|
+
numberOfElements?: number;
|
|
69
|
+
/**
|
|
70
|
+
*
|
|
71
|
+
* @type {PageableObject}
|
|
72
|
+
* @memberof PageRoleResponse
|
|
73
|
+
*/
|
|
74
|
+
pageable?: PageableObject;
|
|
75
|
+
/**
|
|
76
|
+
*
|
|
77
|
+
* @type {SortObject}
|
|
78
|
+
* @memberof PageRoleResponse
|
|
79
|
+
*/
|
|
80
|
+
sort?: SortObject;
|
|
81
|
+
/**
|
|
82
|
+
*
|
|
83
|
+
* @type {boolean}
|
|
84
|
+
* @memberof PageRoleResponse
|
|
85
|
+
*/
|
|
86
|
+
empty?: boolean;
|
|
87
|
+
}
|
|
88
|
+
/**
|
|
89
|
+
* Check if a given object implements the PageRoleResponse interface.
|
|
90
|
+
*/
|
|
91
|
+
export declare function instanceOfPageRoleResponse(value: object): value is PageRoleResponse;
|
|
92
|
+
export declare function PageRoleResponseFromJSON(json: any): PageRoleResponse;
|
|
93
|
+
export declare function PageRoleResponseFromJSONTyped(json: any, ignoreDiscriminator: boolean): PageRoleResponse;
|
|
94
|
+
export declare function PageRoleResponseToJSON(json: any): PageRoleResponse;
|
|
95
|
+
export declare function PageRoleResponseToJSONTyped(value?: PageRoleResponse | null, ignoreDiscriminator?: boolean): any;
|
|
@@ -0,0 +1,64 @@
|
|
|
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 { PageableObjectFromJSON, PageableObjectToJSON, } from './PageableObject';
|
|
15
|
+
import { SortObjectFromJSON, SortObjectToJSON, } from './SortObject';
|
|
16
|
+
import { RoleResponseFromJSON, RoleResponseToJSON, } from './RoleResponse';
|
|
17
|
+
/**
|
|
18
|
+
* Check if a given object implements the PageRoleResponse interface.
|
|
19
|
+
*/
|
|
20
|
+
export function instanceOfPageRoleResponse(value) {
|
|
21
|
+
return true;
|
|
22
|
+
}
|
|
23
|
+
export function PageRoleResponseFromJSON(json) {
|
|
24
|
+
return PageRoleResponseFromJSONTyped(json, false);
|
|
25
|
+
}
|
|
26
|
+
export function PageRoleResponseFromJSONTyped(json, ignoreDiscriminator) {
|
|
27
|
+
if (json == null) {
|
|
28
|
+
return json;
|
|
29
|
+
}
|
|
30
|
+
return {
|
|
31
|
+
'totalElements': json['totalElements'] == null ? undefined : json['totalElements'],
|
|
32
|
+
'totalPages': json['totalPages'] == null ? undefined : json['totalPages'],
|
|
33
|
+
'size': json['size'] == null ? undefined : json['size'],
|
|
34
|
+
'content': json['content'] == null ? undefined : (json['content'].map(RoleResponseFromJSON)),
|
|
35
|
+
'number': json['number'] == null ? undefined : json['number'],
|
|
36
|
+
'first': json['first'] == null ? undefined : json['first'],
|
|
37
|
+
'last': json['last'] == null ? undefined : json['last'],
|
|
38
|
+
'numberOfElements': json['numberOfElements'] == null ? undefined : json['numberOfElements'],
|
|
39
|
+
'pageable': json['pageable'] == null ? undefined : PageableObjectFromJSON(json['pageable']),
|
|
40
|
+
'sort': json['sort'] == null ? undefined : SortObjectFromJSON(json['sort']),
|
|
41
|
+
'empty': json['empty'] == null ? undefined : json['empty'],
|
|
42
|
+
};
|
|
43
|
+
}
|
|
44
|
+
export function PageRoleResponseToJSON(json) {
|
|
45
|
+
return PageRoleResponseToJSONTyped(json, false);
|
|
46
|
+
}
|
|
47
|
+
export function PageRoleResponseToJSONTyped(value, ignoreDiscriminator = false) {
|
|
48
|
+
if (value == null) {
|
|
49
|
+
return value;
|
|
50
|
+
}
|
|
51
|
+
return {
|
|
52
|
+
'totalElements': value['totalElements'],
|
|
53
|
+
'totalPages': value['totalPages'],
|
|
54
|
+
'size': value['size'],
|
|
55
|
+
'content': value['content'] == null ? undefined : (value['content'].map(RoleResponseToJSON)),
|
|
56
|
+
'number': value['number'],
|
|
57
|
+
'first': value['first'],
|
|
58
|
+
'last': value['last'],
|
|
59
|
+
'numberOfElements': value['numberOfElements'],
|
|
60
|
+
'pageable': PageableObjectToJSON(value['pageable']),
|
|
61
|
+
'sort': SortObjectToJSON(value['sort']),
|
|
62
|
+
'empty': value['empty'],
|
|
63
|
+
};
|
|
64
|
+
}
|
|
@@ -0,0 +1,63 @@
|
|
|
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 { SortObject } from './SortObject';
|
|
13
|
+
/**
|
|
14
|
+
*
|
|
15
|
+
* @export
|
|
16
|
+
* @interface PageableObject
|
|
17
|
+
*/
|
|
18
|
+
export interface PageableObject {
|
|
19
|
+
/**
|
|
20
|
+
*
|
|
21
|
+
* @type {number}
|
|
22
|
+
* @memberof PageableObject
|
|
23
|
+
*/
|
|
24
|
+
offset?: number;
|
|
25
|
+
/**
|
|
26
|
+
*
|
|
27
|
+
* @type {boolean}
|
|
28
|
+
* @memberof PageableObject
|
|
29
|
+
*/
|
|
30
|
+
paged?: boolean;
|
|
31
|
+
/**
|
|
32
|
+
*
|
|
33
|
+
* @type {number}
|
|
34
|
+
* @memberof PageableObject
|
|
35
|
+
*/
|
|
36
|
+
pageNumber?: number;
|
|
37
|
+
/**
|
|
38
|
+
*
|
|
39
|
+
* @type {number}
|
|
40
|
+
* @memberof PageableObject
|
|
41
|
+
*/
|
|
42
|
+
pageSize?: number;
|
|
43
|
+
/**
|
|
44
|
+
*
|
|
45
|
+
* @type {SortObject}
|
|
46
|
+
* @memberof PageableObject
|
|
47
|
+
*/
|
|
48
|
+
sort?: SortObject;
|
|
49
|
+
/**
|
|
50
|
+
*
|
|
51
|
+
* @type {boolean}
|
|
52
|
+
* @memberof PageableObject
|
|
53
|
+
*/
|
|
54
|
+
unpaged?: boolean;
|
|
55
|
+
}
|
|
56
|
+
/**
|
|
57
|
+
* Check if a given object implements the PageableObject interface.
|
|
58
|
+
*/
|
|
59
|
+
export declare function instanceOfPageableObject(value: object): value is PageableObject;
|
|
60
|
+
export declare function PageableObjectFromJSON(json: any): PageableObject;
|
|
61
|
+
export declare function PageableObjectFromJSONTyped(json: any, ignoreDiscriminator: boolean): PageableObject;
|
|
62
|
+
export declare function PageableObjectToJSON(json: any): PageableObject;
|
|
63
|
+
export declare function PageableObjectToJSONTyped(value?: PageableObject | null, ignoreDiscriminator?: boolean): any;
|
|
@@ -0,0 +1,52 @@
|
|
|
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 { SortObjectFromJSON, SortObjectToJSON, } from './SortObject';
|
|
15
|
+
/**
|
|
16
|
+
* Check if a given object implements the PageableObject interface.
|
|
17
|
+
*/
|
|
18
|
+
export function instanceOfPageableObject(value) {
|
|
19
|
+
return true;
|
|
20
|
+
}
|
|
21
|
+
export function PageableObjectFromJSON(json) {
|
|
22
|
+
return PageableObjectFromJSONTyped(json, false);
|
|
23
|
+
}
|
|
24
|
+
export function PageableObjectFromJSONTyped(json, ignoreDiscriminator) {
|
|
25
|
+
if (json == null) {
|
|
26
|
+
return json;
|
|
27
|
+
}
|
|
28
|
+
return {
|
|
29
|
+
'offset': json['offset'] == null ? undefined : json['offset'],
|
|
30
|
+
'paged': json['paged'] == null ? undefined : json['paged'],
|
|
31
|
+
'pageNumber': json['pageNumber'] == null ? undefined : json['pageNumber'],
|
|
32
|
+
'pageSize': json['pageSize'] == null ? undefined : json['pageSize'],
|
|
33
|
+
'sort': json['sort'] == null ? undefined : SortObjectFromJSON(json['sort']),
|
|
34
|
+
'unpaged': json['unpaged'] == null ? undefined : json['unpaged'],
|
|
35
|
+
};
|
|
36
|
+
}
|
|
37
|
+
export function PageableObjectToJSON(json) {
|
|
38
|
+
return PageableObjectToJSONTyped(json, false);
|
|
39
|
+
}
|
|
40
|
+
export function PageableObjectToJSONTyped(value, ignoreDiscriminator = false) {
|
|
41
|
+
if (value == null) {
|
|
42
|
+
return value;
|
|
43
|
+
}
|
|
44
|
+
return {
|
|
45
|
+
'offset': value['offset'],
|
|
46
|
+
'paged': value['paged'],
|
|
47
|
+
'pageNumber': value['pageNumber'],
|
|
48
|
+
'pageSize': value['pageSize'],
|
|
49
|
+
'sort': SortObjectToJSON(value['sort']),
|
|
50
|
+
'unpaged': value['unpaged'],
|
|
51
|
+
};
|
|
52
|
+
}
|
|
@@ -0,0 +1,40 @@
|
|
|
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 { PageMetadata } from './PageMetadata';
|
|
13
|
+
import type { AgencySummaryResponse } from './AgencySummaryResponse';
|
|
14
|
+
/**
|
|
15
|
+
*
|
|
16
|
+
* @export
|
|
17
|
+
* @interface PagedModelAgencySummaryResponse
|
|
18
|
+
*/
|
|
19
|
+
export interface PagedModelAgencySummaryResponse {
|
|
20
|
+
/**
|
|
21
|
+
*
|
|
22
|
+
* @type {Array<AgencySummaryResponse>}
|
|
23
|
+
* @memberof PagedModelAgencySummaryResponse
|
|
24
|
+
*/
|
|
25
|
+
content?: Array<AgencySummaryResponse>;
|
|
26
|
+
/**
|
|
27
|
+
*
|
|
28
|
+
* @type {PageMetadata}
|
|
29
|
+
* @memberof PagedModelAgencySummaryResponse
|
|
30
|
+
*/
|
|
31
|
+
page?: PageMetadata;
|
|
32
|
+
}
|
|
33
|
+
/**
|
|
34
|
+
* Check if a given object implements the PagedModelAgencySummaryResponse interface.
|
|
35
|
+
*/
|
|
36
|
+
export declare function instanceOfPagedModelAgencySummaryResponse(value: object): value is PagedModelAgencySummaryResponse;
|
|
37
|
+
export declare function PagedModelAgencySummaryResponseFromJSON(json: any): PagedModelAgencySummaryResponse;
|
|
38
|
+
export declare function PagedModelAgencySummaryResponseFromJSONTyped(json: any, ignoreDiscriminator: boolean): PagedModelAgencySummaryResponse;
|
|
39
|
+
export declare function PagedModelAgencySummaryResponseToJSON(json: any): PagedModelAgencySummaryResponse;
|
|
40
|
+
export declare function PagedModelAgencySummaryResponseToJSONTyped(value?: PagedModelAgencySummaryResponse | null, ignoreDiscriminator?: boolean): any;
|
package/dist/esm/models/{PagedModelAgencyPeekViewResponse.js → PagedModelAgencySummaryResponse.js}
RENAMED
|
@@ -12,34 +12,34 @@
|
|
|
12
12
|
* Do not edit the class manually.
|
|
13
13
|
*/
|
|
14
14
|
import { PageMetadataFromJSON, PageMetadataToJSON, } from './PageMetadata';
|
|
15
|
-
import {
|
|
15
|
+
import { AgencySummaryResponseFromJSON, AgencySummaryResponseToJSON, } from './AgencySummaryResponse';
|
|
16
16
|
/**
|
|
17
|
-
* Check if a given object implements the
|
|
17
|
+
* Check if a given object implements the PagedModelAgencySummaryResponse interface.
|
|
18
18
|
*/
|
|
19
|
-
export function
|
|
19
|
+
export function instanceOfPagedModelAgencySummaryResponse(value) {
|
|
20
20
|
return true;
|
|
21
21
|
}
|
|
22
|
-
export function
|
|
23
|
-
return
|
|
22
|
+
export function PagedModelAgencySummaryResponseFromJSON(json) {
|
|
23
|
+
return PagedModelAgencySummaryResponseFromJSONTyped(json, false);
|
|
24
24
|
}
|
|
25
|
-
export function
|
|
25
|
+
export function PagedModelAgencySummaryResponseFromJSONTyped(json, ignoreDiscriminator) {
|
|
26
26
|
if (json == null) {
|
|
27
27
|
return json;
|
|
28
28
|
}
|
|
29
29
|
return {
|
|
30
|
-
'content': json['content'] == null ? undefined : (json['content'].map(
|
|
30
|
+
'content': json['content'] == null ? undefined : (json['content'].map(AgencySummaryResponseFromJSON)),
|
|
31
31
|
'page': json['page'] == null ? undefined : PageMetadataFromJSON(json['page']),
|
|
32
32
|
};
|
|
33
33
|
}
|
|
34
|
-
export function
|
|
35
|
-
return
|
|
34
|
+
export function PagedModelAgencySummaryResponseToJSON(json) {
|
|
35
|
+
return PagedModelAgencySummaryResponseToJSONTyped(json, false);
|
|
36
36
|
}
|
|
37
|
-
export function
|
|
37
|
+
export function PagedModelAgencySummaryResponseToJSONTyped(value, ignoreDiscriminator = false) {
|
|
38
38
|
if (value == null) {
|
|
39
39
|
return value;
|
|
40
40
|
}
|
|
41
41
|
return {
|
|
42
|
-
'content': value['content'] == null ? undefined : (value['content'].map(
|
|
42
|
+
'content': value['content'] == null ? undefined : (value['content'].map(AgencySummaryResponseToJSON)),
|
|
43
43
|
'page': PageMetadataToJSON(value['page']),
|
|
44
44
|
};
|
|
45
45
|
}
|
|
@@ -37,6 +37,8 @@ export declare const PermissionResponsePermissionEnum: {
|
|
|
37
37
|
readonly InvitationWrite: "INVITATION_WRITE";
|
|
38
38
|
readonly RoleRead: "ROLE_READ";
|
|
39
39
|
readonly RoleWrite: "ROLE_WRITE";
|
|
40
|
+
readonly MemberRead: "MEMBER_READ";
|
|
41
|
+
readonly MemberWrite: "MEMBER_WRITE";
|
|
40
42
|
};
|
|
41
43
|
export type PermissionResponsePermissionEnum = typeof PermissionResponsePermissionEnum[keyof typeof PermissionResponsePermissionEnum];
|
|
42
44
|
/**
|
|
@@ -48,6 +50,8 @@ export declare const PermissionResponseImpliedEnum: {
|
|
|
48
50
|
readonly InvitationWrite: "INVITATION_WRITE";
|
|
49
51
|
readonly RoleRead: "ROLE_READ";
|
|
50
52
|
readonly RoleWrite: "ROLE_WRITE";
|
|
53
|
+
readonly MemberRead: "MEMBER_READ";
|
|
54
|
+
readonly MemberWrite: "MEMBER_WRITE";
|
|
51
55
|
};
|
|
52
56
|
export type PermissionResponseImpliedEnum = typeof PermissionResponseImpliedEnum[keyof typeof PermissionResponseImpliedEnum];
|
|
53
57
|
/**
|
|
@@ -19,7 +19,9 @@ export const PermissionResponsePermissionEnum = {
|
|
|
19
19
|
InvitationRead: 'INVITATION_READ',
|
|
20
20
|
InvitationWrite: 'INVITATION_WRITE',
|
|
21
21
|
RoleRead: 'ROLE_READ',
|
|
22
|
-
RoleWrite: 'ROLE_WRITE'
|
|
22
|
+
RoleWrite: 'ROLE_WRITE',
|
|
23
|
+
MemberRead: 'MEMBER_READ',
|
|
24
|
+
MemberWrite: 'MEMBER_WRITE'
|
|
23
25
|
};
|
|
24
26
|
/**
|
|
25
27
|
* @export
|
|
@@ -29,7 +31,9 @@ export const PermissionResponseImpliedEnum = {
|
|
|
29
31
|
InvitationRead: 'INVITATION_READ',
|
|
30
32
|
InvitationWrite: 'INVITATION_WRITE',
|
|
31
33
|
RoleRead: 'ROLE_READ',
|
|
32
|
-
RoleWrite: 'ROLE_WRITE'
|
|
34
|
+
RoleWrite: 'ROLE_WRITE',
|
|
35
|
+
MemberRead: 'MEMBER_READ',
|
|
36
|
+
MemberWrite: 'MEMBER_WRITE'
|
|
33
37
|
};
|
|
34
38
|
/**
|
|
35
39
|
* Check if a given object implements the PermissionResponse interface.
|
|
@@ -0,0 +1,63 @@
|
|
|
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 RoleResponse
|
|
16
|
+
*/
|
|
17
|
+
export interface RoleResponse {
|
|
18
|
+
/**
|
|
19
|
+
*
|
|
20
|
+
* @type {number}
|
|
21
|
+
* @memberof RoleResponse
|
|
22
|
+
*/
|
|
23
|
+
id: number;
|
|
24
|
+
/**
|
|
25
|
+
*
|
|
26
|
+
* @type {string}
|
|
27
|
+
* @memberof RoleResponse
|
|
28
|
+
*/
|
|
29
|
+
name: string;
|
|
30
|
+
/**
|
|
31
|
+
*
|
|
32
|
+
* @type {string}
|
|
33
|
+
* @memberof RoleResponse
|
|
34
|
+
*/
|
|
35
|
+
description: string;
|
|
36
|
+
/**
|
|
37
|
+
*
|
|
38
|
+
* @type {Array<string>}
|
|
39
|
+
* @memberof RoleResponse
|
|
40
|
+
*/
|
|
41
|
+
permissions: Array<RoleResponsePermissionsEnum>;
|
|
42
|
+
}
|
|
43
|
+
/**
|
|
44
|
+
* @export
|
|
45
|
+
*/
|
|
46
|
+
export declare const RoleResponsePermissionsEnum: {
|
|
47
|
+
readonly AgencyWrite: "AGENCY_WRITE";
|
|
48
|
+
readonly InvitationRead: "INVITATION_READ";
|
|
49
|
+
readonly InvitationWrite: "INVITATION_WRITE";
|
|
50
|
+
readonly RoleRead: "ROLE_READ";
|
|
51
|
+
readonly RoleWrite: "ROLE_WRITE";
|
|
52
|
+
readonly MemberRead: "MEMBER_READ";
|
|
53
|
+
readonly MemberWrite: "MEMBER_WRITE";
|
|
54
|
+
};
|
|
55
|
+
export type RoleResponsePermissionsEnum = typeof RoleResponsePermissionsEnum[keyof typeof RoleResponsePermissionsEnum];
|
|
56
|
+
/**
|
|
57
|
+
* Check if a given object implements the RoleResponse interface.
|
|
58
|
+
*/
|
|
59
|
+
export declare function instanceOfRoleResponse(value: object): value is RoleResponse;
|
|
60
|
+
export declare function RoleResponseFromJSON(json: any): RoleResponse;
|
|
61
|
+
export declare function RoleResponseFromJSONTyped(json: any, ignoreDiscriminator: boolean): RoleResponse;
|
|
62
|
+
export declare function RoleResponseToJSON(json: any): RoleResponse;
|
|
63
|
+
export declare function RoleResponseToJSONTyped(value?: RoleResponse | null, ignoreDiscriminator?: boolean): any;
|
|
@@ -0,0 +1,67 @@
|
|
|
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 RoleResponsePermissionsEnum = {
|
|
18
|
+
AgencyWrite: 'AGENCY_WRITE',
|
|
19
|
+
InvitationRead: 'INVITATION_READ',
|
|
20
|
+
InvitationWrite: 'INVITATION_WRITE',
|
|
21
|
+
RoleRead: 'ROLE_READ',
|
|
22
|
+
RoleWrite: 'ROLE_WRITE',
|
|
23
|
+
MemberRead: 'MEMBER_READ',
|
|
24
|
+
MemberWrite: 'MEMBER_WRITE'
|
|
25
|
+
};
|
|
26
|
+
/**
|
|
27
|
+
* Check if a given object implements the RoleResponse interface.
|
|
28
|
+
*/
|
|
29
|
+
export function instanceOfRoleResponse(value) {
|
|
30
|
+
if (!('id' in value) || value['id'] === undefined)
|
|
31
|
+
return false;
|
|
32
|
+
if (!('name' in value) || value['name'] === undefined)
|
|
33
|
+
return false;
|
|
34
|
+
if (!('description' in value) || value['description'] === undefined)
|
|
35
|
+
return false;
|
|
36
|
+
if (!('permissions' in value) || value['permissions'] === undefined)
|
|
37
|
+
return false;
|
|
38
|
+
return true;
|
|
39
|
+
}
|
|
40
|
+
export function RoleResponseFromJSON(json) {
|
|
41
|
+
return RoleResponseFromJSONTyped(json, false);
|
|
42
|
+
}
|
|
43
|
+
export function RoleResponseFromJSONTyped(json, ignoreDiscriminator) {
|
|
44
|
+
if (json == null) {
|
|
45
|
+
return json;
|
|
46
|
+
}
|
|
47
|
+
return {
|
|
48
|
+
'id': json['id'],
|
|
49
|
+
'name': json['name'],
|
|
50
|
+
'description': json['description'],
|
|
51
|
+
'permissions': json['permissions'],
|
|
52
|
+
};
|
|
53
|
+
}
|
|
54
|
+
export function RoleResponseToJSON(json) {
|
|
55
|
+
return RoleResponseToJSONTyped(json, false);
|
|
56
|
+
}
|
|
57
|
+
export function RoleResponseToJSONTyped(value, ignoreDiscriminator = false) {
|
|
58
|
+
if (value == null) {
|
|
59
|
+
return value;
|
|
60
|
+
}
|
|
61
|
+
return {
|
|
62
|
+
'id': value['id'],
|
|
63
|
+
'name': value['name'],
|
|
64
|
+
'description': value['description'],
|
|
65
|
+
'permissions': value['permissions'],
|
|
66
|
+
};
|
|
67
|
+
}
|
|
@@ -43,6 +43,8 @@ export declare const RolesRequestPermissionsEnum: {
|
|
|
43
43
|
readonly InvitationWrite: "INVITATION_WRITE";
|
|
44
44
|
readonly RoleRead: "ROLE_READ";
|
|
45
45
|
readonly RoleWrite: "ROLE_WRITE";
|
|
46
|
+
readonly MemberRead: "MEMBER_READ";
|
|
47
|
+
readonly MemberWrite: "MEMBER_WRITE";
|
|
46
48
|
};
|
|
47
49
|
export type RolesRequestPermissionsEnum = typeof RolesRequestPermissionsEnum[keyof typeof RolesRequestPermissionsEnum];
|
|
48
50
|
/**
|
|
@@ -19,7 +19,9 @@ export const RolesRequestPermissionsEnum = {
|
|
|
19
19
|
InvitationRead: 'INVITATION_READ',
|
|
20
20
|
InvitationWrite: 'INVITATION_WRITE',
|
|
21
21
|
RoleRead: 'ROLE_READ',
|
|
22
|
-
RoleWrite: 'ROLE_WRITE'
|
|
22
|
+
RoleWrite: 'ROLE_WRITE',
|
|
23
|
+
MemberRead: 'MEMBER_READ',
|
|
24
|
+
MemberWrite: 'MEMBER_WRITE'
|
|
23
25
|
};
|
|
24
26
|
/**
|
|
25
27
|
* Check if a given object implements the RolesRequest interface.
|