@homespot-sdk/api 0.0.634 → 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 +34 -10
- package/README.md +28 -17
- 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 -22
- package/dist/apis/{AgencyQueryControllerApi.js → PublicAgencyControllerApi.js} +19 -16
- 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 -22
- package/dist/esm/apis/{AgencyQueryControllerApi.js → PublicAgencyControllerApi.js} +18 -15
- 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 +49 -0
- package/dist/esm/models/GroupedPermissionsResponse.js +57 -0
- package/dist/esm/models/OrganizationSummaryViewResponse.d.ts +10 -7
- package/dist/esm/models/OrganizationSummaryViewResponse.js +11 -8
- 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 +64 -0
- package/dist/esm/models/PermissionResponse.js +71 -0
- package/dist/esm/models/RoleResponse.d.ts +63 -0
- package/dist/esm/models/RoleResponse.js +67 -0
- package/dist/esm/models/RolesRequest.d.ts +10 -7
- package/dist/esm/models/RolesRequest.js +11 -8
- package/dist/esm/models/SortObject.d.ts +44 -0
- package/dist/esm/models/SortObject.js +45 -0
- package/dist/esm/models/index.d.ts +11 -4
- package/dist/esm/models/index.js +11 -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 +49 -0
- package/dist/models/GroupedPermissionsResponse.js +65 -0
- package/dist/models/OrganizationSummaryViewResponse.d.ts +10 -7
- package/dist/models/OrganizationSummaryViewResponse.js +12 -9
- 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 +64 -0
- package/dist/models/PermissionResponse.js +79 -0
- package/dist/models/RoleResponse.d.ts +63 -0
- package/dist/models/RoleResponse.js +75 -0
- package/dist/models/RolesRequest.d.ts +10 -7
- package/dist/models/RolesRequest.js +12 -9
- package/dist/models/SortObject.d.ts +44 -0
- package/dist/models/SortObject.js +52 -0
- package/dist/models/index.d.ts +11 -4
- package/dist/models/index.js +11 -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/GroupedPermissionsResponse.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/OrganizationSummaryViewResponse.md +2 -2
- package/docs/PageRoleResponse.md +54 -0
- package/docs/PageableObject.md +44 -0
- package/docs/{PagedModelAgencyPeekViewResponse.md → PagedModelAgencySummaryResponse.md} +5 -5
- package/docs/PermissionResponse.md +36 -0
- package/docs/{AgencyQueryControllerApi.md → PublicAgencyControllerApi.md} +25 -19
- 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/RolesRequest.md +2 -2
- 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} +50 -48
- 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 +96 -0
- package/src/models/OrganizationSummaryViewResponse.ts +13 -10
- 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 +105 -0
- package/src/models/RoleResponse.ts +109 -0
- package/src/models/RolesRequest.ts +13 -10
- package/src/models/SortObject.ts +81 -0
- package/src/models/index.ts +11 -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
|
@@ -62,7 +62,7 @@ export interface OrganizationSummaryViewResponse {
|
|
|
62
62
|
* @type {Array<string>}
|
|
63
63
|
* @memberof OrganizationSummaryViewResponse
|
|
64
64
|
*/
|
|
65
|
-
|
|
65
|
+
permissions: Array<OrganizationSummaryViewResponsePermissionsEnum>;
|
|
66
66
|
/**
|
|
67
67
|
*
|
|
68
68
|
* @type {string}
|
|
@@ -73,13 +73,16 @@ export interface OrganizationSummaryViewResponse {
|
|
|
73
73
|
/**
|
|
74
74
|
* @export
|
|
75
75
|
*/
|
|
76
|
-
export declare const
|
|
77
|
-
readonly
|
|
78
|
-
readonly
|
|
79
|
-
readonly
|
|
80
|
-
readonly
|
|
76
|
+
export declare const OrganizationSummaryViewResponsePermissionsEnum: {
|
|
77
|
+
readonly AgencyWrite: "AGENCY_WRITE";
|
|
78
|
+
readonly InvitationRead: "INVITATION_READ";
|
|
79
|
+
readonly InvitationWrite: "INVITATION_WRITE";
|
|
80
|
+
readonly RoleRead: "ROLE_READ";
|
|
81
|
+
readonly RoleWrite: "ROLE_WRITE";
|
|
82
|
+
readonly MemberRead: "MEMBER_READ";
|
|
83
|
+
readonly MemberWrite: "MEMBER_WRITE";
|
|
81
84
|
};
|
|
82
|
-
export type
|
|
85
|
+
export type OrganizationSummaryViewResponsePermissionsEnum = typeof OrganizationSummaryViewResponsePermissionsEnum[keyof typeof OrganizationSummaryViewResponsePermissionsEnum];
|
|
83
86
|
/**
|
|
84
87
|
* @export
|
|
85
88
|
*/
|
|
@@ -14,11 +14,14 @@
|
|
|
14
14
|
/**
|
|
15
15
|
* @export
|
|
16
16
|
*/
|
|
17
|
-
export const
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
17
|
+
export const OrganizationSummaryViewResponsePermissionsEnum = {
|
|
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'
|
|
22
25
|
};
|
|
23
26
|
/**
|
|
24
27
|
* @export
|
|
@@ -45,7 +48,7 @@ export function instanceOfOrganizationSummaryViewResponse(value) {
|
|
|
45
48
|
return false;
|
|
46
49
|
if (!('roleName' in value) || value['roleName'] === undefined)
|
|
47
50
|
return false;
|
|
48
|
-
if (!('
|
|
51
|
+
if (!('permissions' in value) || value['permissions'] === undefined)
|
|
49
52
|
return false;
|
|
50
53
|
if (!('status' in value) || value['status'] === undefined)
|
|
51
54
|
return false;
|
|
@@ -66,7 +69,7 @@ export function OrganizationSummaryViewResponseFromJSONTyped(json, ignoreDiscrim
|
|
|
66
69
|
'roleId': json['roleId'] == null ? undefined : json['roleId'],
|
|
67
70
|
'memberId': json['memberId'],
|
|
68
71
|
'roleName': json['roleName'],
|
|
69
|
-
'
|
|
72
|
+
'permissions': json['permissions'],
|
|
70
73
|
'status': json['status'],
|
|
71
74
|
};
|
|
72
75
|
}
|
|
@@ -85,7 +88,7 @@ export function OrganizationSummaryViewResponseToJSONTyped(value, ignoreDiscrimi
|
|
|
85
88
|
'roleId': value['roleId'],
|
|
86
89
|
'memberId': value['memberId'],
|
|
87
90
|
'roleName': value['roleName'],
|
|
88
|
-
'
|
|
91
|
+
'permissions': value['permissions'],
|
|
89
92
|
'status': value['status'],
|
|
90
93
|
};
|
|
91
94
|
}
|
|
@@ -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 {SortObject}
|
|
72
|
+
* @memberof PageRoleResponse
|
|
73
|
+
*/
|
|
74
|
+
sort?: SortObject;
|
|
75
|
+
/**
|
|
76
|
+
*
|
|
77
|
+
* @type {PageableObject}
|
|
78
|
+
* @memberof PageRoleResponse
|
|
79
|
+
*/
|
|
80
|
+
pageable?: PageableObject;
|
|
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
|
+
'sort': json['sort'] == null ? undefined : SortObjectFromJSON(json['sort']),
|
|
40
|
+
'pageable': json['pageable'] == null ? undefined : PageableObjectFromJSON(json['pageable']),
|
|
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
|
+
'sort': SortObjectToJSON(value['sort']),
|
|
61
|
+
'pageable': PageableObjectToJSON(value['pageable']),
|
|
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 {SortObject}
|
|
28
|
+
* @memberof PageableObject
|
|
29
|
+
*/
|
|
30
|
+
sort?: SortObject;
|
|
31
|
+
/**
|
|
32
|
+
*
|
|
33
|
+
* @type {boolean}
|
|
34
|
+
* @memberof PageableObject
|
|
35
|
+
*/
|
|
36
|
+
unpaged?: boolean;
|
|
37
|
+
/**
|
|
38
|
+
*
|
|
39
|
+
* @type {boolean}
|
|
40
|
+
* @memberof PageableObject
|
|
41
|
+
*/
|
|
42
|
+
paged?: boolean;
|
|
43
|
+
/**
|
|
44
|
+
*
|
|
45
|
+
* @type {number}
|
|
46
|
+
* @memberof PageableObject
|
|
47
|
+
*/
|
|
48
|
+
pageNumber?: number;
|
|
49
|
+
/**
|
|
50
|
+
*
|
|
51
|
+
* @type {number}
|
|
52
|
+
* @memberof PageableObject
|
|
53
|
+
*/
|
|
54
|
+
pageSize?: number;
|
|
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
|
+
'sort': json['sort'] == null ? undefined : SortObjectFromJSON(json['sort']),
|
|
31
|
+
'unpaged': json['unpaged'] == null ? undefined : json['unpaged'],
|
|
32
|
+
'paged': json['paged'] == null ? undefined : json['paged'],
|
|
33
|
+
'pageNumber': json['pageNumber'] == null ? undefined : json['pageNumber'],
|
|
34
|
+
'pageSize': json['pageSize'] == null ? undefined : json['pageSize'],
|
|
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
|
+
'sort': SortObjectToJSON(value['sort']),
|
|
47
|
+
'unpaged': value['unpaged'],
|
|
48
|
+
'paged': value['paged'],
|
|
49
|
+
'pageNumber': value['pageNumber'],
|
|
50
|
+
'pageSize': value['pageSize'],
|
|
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
|
}
|
|
@@ -0,0 +1,64 @@
|
|
|
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 PermissionResponse
|
|
16
|
+
*/
|
|
17
|
+
export interface PermissionResponse {
|
|
18
|
+
/**
|
|
19
|
+
*
|
|
20
|
+
* @type {string}
|
|
21
|
+
* @memberof PermissionResponse
|
|
22
|
+
*/
|
|
23
|
+
permission: PermissionResponsePermissionEnum;
|
|
24
|
+
/**
|
|
25
|
+
*
|
|
26
|
+
* @type {Array<string>}
|
|
27
|
+
* @memberof PermissionResponse
|
|
28
|
+
*/
|
|
29
|
+
implied: Array<PermissionResponseImpliedEnum>;
|
|
30
|
+
}
|
|
31
|
+
/**
|
|
32
|
+
* @export
|
|
33
|
+
*/
|
|
34
|
+
export declare const PermissionResponsePermissionEnum: {
|
|
35
|
+
readonly AgencyWrite: "AGENCY_WRITE";
|
|
36
|
+
readonly InvitationRead: "INVITATION_READ";
|
|
37
|
+
readonly InvitationWrite: "INVITATION_WRITE";
|
|
38
|
+
readonly RoleRead: "ROLE_READ";
|
|
39
|
+
readonly RoleWrite: "ROLE_WRITE";
|
|
40
|
+
readonly MemberRead: "MEMBER_READ";
|
|
41
|
+
readonly MemberWrite: "MEMBER_WRITE";
|
|
42
|
+
};
|
|
43
|
+
export type PermissionResponsePermissionEnum = typeof PermissionResponsePermissionEnum[keyof typeof PermissionResponsePermissionEnum];
|
|
44
|
+
/**
|
|
45
|
+
* @export
|
|
46
|
+
*/
|
|
47
|
+
export declare const PermissionResponseImpliedEnum: {
|
|
48
|
+
readonly AgencyWrite: "AGENCY_WRITE";
|
|
49
|
+
readonly InvitationRead: "INVITATION_READ";
|
|
50
|
+
readonly InvitationWrite: "INVITATION_WRITE";
|
|
51
|
+
readonly RoleRead: "ROLE_READ";
|
|
52
|
+
readonly RoleWrite: "ROLE_WRITE";
|
|
53
|
+
readonly MemberRead: "MEMBER_READ";
|
|
54
|
+
readonly MemberWrite: "MEMBER_WRITE";
|
|
55
|
+
};
|
|
56
|
+
export type PermissionResponseImpliedEnum = typeof PermissionResponseImpliedEnum[keyof typeof PermissionResponseImpliedEnum];
|
|
57
|
+
/**
|
|
58
|
+
* Check if a given object implements the PermissionResponse interface.
|
|
59
|
+
*/
|
|
60
|
+
export declare function instanceOfPermissionResponse(value: object): value is PermissionResponse;
|
|
61
|
+
export declare function PermissionResponseFromJSON(json: any): PermissionResponse;
|
|
62
|
+
export declare function PermissionResponseFromJSONTyped(json: any, ignoreDiscriminator: boolean): PermissionResponse;
|
|
63
|
+
export declare function PermissionResponseToJSON(json: any): PermissionResponse;
|
|
64
|
+
export declare function PermissionResponseToJSONTyped(value?: PermissionResponse | null, ignoreDiscriminator?: boolean): any;
|
|
@@ -0,0 +1,71 @@
|
|
|
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 PermissionResponsePermissionEnum = {
|
|
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
|
+
* @export
|
|
28
|
+
*/
|
|
29
|
+
export const PermissionResponseImpliedEnum = {
|
|
30
|
+
AgencyWrite: 'AGENCY_WRITE',
|
|
31
|
+
InvitationRead: 'INVITATION_READ',
|
|
32
|
+
InvitationWrite: 'INVITATION_WRITE',
|
|
33
|
+
RoleRead: 'ROLE_READ',
|
|
34
|
+
RoleWrite: 'ROLE_WRITE',
|
|
35
|
+
MemberRead: 'MEMBER_READ',
|
|
36
|
+
MemberWrite: 'MEMBER_WRITE'
|
|
37
|
+
};
|
|
38
|
+
/**
|
|
39
|
+
* Check if a given object implements the PermissionResponse interface.
|
|
40
|
+
*/
|
|
41
|
+
export function instanceOfPermissionResponse(value) {
|
|
42
|
+
if (!('permission' in value) || value['permission'] === undefined)
|
|
43
|
+
return false;
|
|
44
|
+
if (!('implied' in value) || value['implied'] === undefined)
|
|
45
|
+
return false;
|
|
46
|
+
return true;
|
|
47
|
+
}
|
|
48
|
+
export function PermissionResponseFromJSON(json) {
|
|
49
|
+
return PermissionResponseFromJSONTyped(json, false);
|
|
50
|
+
}
|
|
51
|
+
export function PermissionResponseFromJSONTyped(json, ignoreDiscriminator) {
|
|
52
|
+
if (json == null) {
|
|
53
|
+
return json;
|
|
54
|
+
}
|
|
55
|
+
return {
|
|
56
|
+
'permission': json['permission'],
|
|
57
|
+
'implied': json['implied'],
|
|
58
|
+
};
|
|
59
|
+
}
|
|
60
|
+
export function PermissionResponseToJSON(json) {
|
|
61
|
+
return PermissionResponseToJSONTyped(json, false);
|
|
62
|
+
}
|
|
63
|
+
export function PermissionResponseToJSONTyped(value, ignoreDiscriminator = false) {
|
|
64
|
+
if (value == null) {
|
|
65
|
+
return value;
|
|
66
|
+
}
|
|
67
|
+
return {
|
|
68
|
+
'permission': value['permission'],
|
|
69
|
+
'implied': value['implied'],
|
|
70
|
+
};
|
|
71
|
+
}
|
|
@@ -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;
|