@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
|
@@ -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,79 @@
|
|
|
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.PermissionResponseImpliedEnum = exports.PermissionResponsePermissionEnum = void 0;
|
|
17
|
+
exports.instanceOfPermissionResponse = instanceOfPermissionResponse;
|
|
18
|
+
exports.PermissionResponseFromJSON = PermissionResponseFromJSON;
|
|
19
|
+
exports.PermissionResponseFromJSONTyped = PermissionResponseFromJSONTyped;
|
|
20
|
+
exports.PermissionResponseToJSON = PermissionResponseToJSON;
|
|
21
|
+
exports.PermissionResponseToJSONTyped = PermissionResponseToJSONTyped;
|
|
22
|
+
/**
|
|
23
|
+
* @export
|
|
24
|
+
*/
|
|
25
|
+
exports.PermissionResponsePermissionEnum = {
|
|
26
|
+
AgencyWrite: 'AGENCY_WRITE',
|
|
27
|
+
InvitationRead: 'INVITATION_READ',
|
|
28
|
+
InvitationWrite: 'INVITATION_WRITE',
|
|
29
|
+
RoleRead: 'ROLE_READ',
|
|
30
|
+
RoleWrite: 'ROLE_WRITE',
|
|
31
|
+
MemberRead: 'MEMBER_READ',
|
|
32
|
+
MemberWrite: 'MEMBER_WRITE'
|
|
33
|
+
};
|
|
34
|
+
/**
|
|
35
|
+
* @export
|
|
36
|
+
*/
|
|
37
|
+
exports.PermissionResponseImpliedEnum = {
|
|
38
|
+
AgencyWrite: 'AGENCY_WRITE',
|
|
39
|
+
InvitationRead: 'INVITATION_READ',
|
|
40
|
+
InvitationWrite: 'INVITATION_WRITE',
|
|
41
|
+
RoleRead: 'ROLE_READ',
|
|
42
|
+
RoleWrite: 'ROLE_WRITE',
|
|
43
|
+
MemberRead: 'MEMBER_READ',
|
|
44
|
+
MemberWrite: 'MEMBER_WRITE'
|
|
45
|
+
};
|
|
46
|
+
/**
|
|
47
|
+
* Check if a given object implements the PermissionResponse interface.
|
|
48
|
+
*/
|
|
49
|
+
function instanceOfPermissionResponse(value) {
|
|
50
|
+
if (!('permission' in value) || value['permission'] === undefined)
|
|
51
|
+
return false;
|
|
52
|
+
if (!('implied' in value) || value['implied'] === undefined)
|
|
53
|
+
return false;
|
|
54
|
+
return true;
|
|
55
|
+
}
|
|
56
|
+
function PermissionResponseFromJSON(json) {
|
|
57
|
+
return PermissionResponseFromJSONTyped(json, false);
|
|
58
|
+
}
|
|
59
|
+
function PermissionResponseFromJSONTyped(json, ignoreDiscriminator) {
|
|
60
|
+
if (json == null) {
|
|
61
|
+
return json;
|
|
62
|
+
}
|
|
63
|
+
return {
|
|
64
|
+
'permission': json['permission'],
|
|
65
|
+
'implied': json['implied'],
|
|
66
|
+
};
|
|
67
|
+
}
|
|
68
|
+
function PermissionResponseToJSON(json) {
|
|
69
|
+
return PermissionResponseToJSONTyped(json, false);
|
|
70
|
+
}
|
|
71
|
+
function PermissionResponseToJSONTyped(value, ignoreDiscriminator = false) {
|
|
72
|
+
if (value == null) {
|
|
73
|
+
return value;
|
|
74
|
+
}
|
|
75
|
+
return {
|
|
76
|
+
'permission': value['permission'],
|
|
77
|
+
'implied': value['implied'],
|
|
78
|
+
};
|
|
79
|
+
}
|
|
@@ -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,75 @@
|
|
|
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.RoleResponsePermissionsEnum = void 0;
|
|
17
|
+
exports.instanceOfRoleResponse = instanceOfRoleResponse;
|
|
18
|
+
exports.RoleResponseFromJSON = RoleResponseFromJSON;
|
|
19
|
+
exports.RoleResponseFromJSONTyped = RoleResponseFromJSONTyped;
|
|
20
|
+
exports.RoleResponseToJSON = RoleResponseToJSON;
|
|
21
|
+
exports.RoleResponseToJSONTyped = RoleResponseToJSONTyped;
|
|
22
|
+
/**
|
|
23
|
+
* @export
|
|
24
|
+
*/
|
|
25
|
+
exports.RoleResponsePermissionsEnum = {
|
|
26
|
+
AgencyWrite: 'AGENCY_WRITE',
|
|
27
|
+
InvitationRead: 'INVITATION_READ',
|
|
28
|
+
InvitationWrite: 'INVITATION_WRITE',
|
|
29
|
+
RoleRead: 'ROLE_READ',
|
|
30
|
+
RoleWrite: 'ROLE_WRITE',
|
|
31
|
+
MemberRead: 'MEMBER_READ',
|
|
32
|
+
MemberWrite: 'MEMBER_WRITE'
|
|
33
|
+
};
|
|
34
|
+
/**
|
|
35
|
+
* Check if a given object implements the RoleResponse interface.
|
|
36
|
+
*/
|
|
37
|
+
function instanceOfRoleResponse(value) {
|
|
38
|
+
if (!('id' in value) || value['id'] === undefined)
|
|
39
|
+
return false;
|
|
40
|
+
if (!('name' in value) || value['name'] === undefined)
|
|
41
|
+
return false;
|
|
42
|
+
if (!('description' in value) || value['description'] === undefined)
|
|
43
|
+
return false;
|
|
44
|
+
if (!('permissions' in value) || value['permissions'] === undefined)
|
|
45
|
+
return false;
|
|
46
|
+
return true;
|
|
47
|
+
}
|
|
48
|
+
function RoleResponseFromJSON(json) {
|
|
49
|
+
return RoleResponseFromJSONTyped(json, false);
|
|
50
|
+
}
|
|
51
|
+
function RoleResponseFromJSONTyped(json, ignoreDiscriminator) {
|
|
52
|
+
if (json == null) {
|
|
53
|
+
return json;
|
|
54
|
+
}
|
|
55
|
+
return {
|
|
56
|
+
'id': json['id'],
|
|
57
|
+
'name': json['name'],
|
|
58
|
+
'description': json['description'],
|
|
59
|
+
'permissions': json['permissions'],
|
|
60
|
+
};
|
|
61
|
+
}
|
|
62
|
+
function RoleResponseToJSON(json) {
|
|
63
|
+
return RoleResponseToJSONTyped(json, false);
|
|
64
|
+
}
|
|
65
|
+
function RoleResponseToJSONTyped(value, ignoreDiscriminator = false) {
|
|
66
|
+
if (value == null) {
|
|
67
|
+
return value;
|
|
68
|
+
}
|
|
69
|
+
return {
|
|
70
|
+
'id': value['id'],
|
|
71
|
+
'name': value['name'],
|
|
72
|
+
'description': value['description'],
|
|
73
|
+
'permissions': value['permissions'],
|
|
74
|
+
};
|
|
75
|
+
}
|
|
@@ -32,18 +32,21 @@ export interface RolesRequest {
|
|
|
32
32
|
* @type {Array<string>}
|
|
33
33
|
* @memberof RolesRequest
|
|
34
34
|
*/
|
|
35
|
-
|
|
35
|
+
permissions: Array<RolesRequestPermissionsEnum>;
|
|
36
36
|
}
|
|
37
37
|
/**
|
|
38
38
|
* @export
|
|
39
39
|
*/
|
|
40
|
-
export declare const
|
|
41
|
-
readonly
|
|
42
|
-
readonly
|
|
43
|
-
readonly
|
|
44
|
-
readonly
|
|
40
|
+
export declare const RolesRequestPermissionsEnum: {
|
|
41
|
+
readonly AgencyWrite: "AGENCY_WRITE";
|
|
42
|
+
readonly InvitationRead: "INVITATION_READ";
|
|
43
|
+
readonly InvitationWrite: "INVITATION_WRITE";
|
|
44
|
+
readonly RoleRead: "ROLE_READ";
|
|
45
|
+
readonly RoleWrite: "ROLE_WRITE";
|
|
46
|
+
readonly MemberRead: "MEMBER_READ";
|
|
47
|
+
readonly MemberWrite: "MEMBER_WRITE";
|
|
45
48
|
};
|
|
46
|
-
export type
|
|
49
|
+
export type RolesRequestPermissionsEnum = typeof RolesRequestPermissionsEnum[keyof typeof RolesRequestPermissionsEnum];
|
|
47
50
|
/**
|
|
48
51
|
* Check if a given object implements the RolesRequest interface.
|
|
49
52
|
*/
|
|
@@ -13,7 +13,7 @@
|
|
|
13
13
|
* Do not edit the class manually.
|
|
14
14
|
*/
|
|
15
15
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
16
|
-
exports.
|
|
16
|
+
exports.RolesRequestPermissionsEnum = void 0;
|
|
17
17
|
exports.instanceOfRolesRequest = instanceOfRolesRequest;
|
|
18
18
|
exports.RolesRequestFromJSON = RolesRequestFromJSON;
|
|
19
19
|
exports.RolesRequestFromJSONTyped = RolesRequestFromJSONTyped;
|
|
@@ -22,11 +22,14 @@ exports.RolesRequestToJSONTyped = RolesRequestToJSONTyped;
|
|
|
22
22
|
/**
|
|
23
23
|
* @export
|
|
24
24
|
*/
|
|
25
|
-
exports.
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
25
|
+
exports.RolesRequestPermissionsEnum = {
|
|
26
|
+
AgencyWrite: 'AGENCY_WRITE',
|
|
27
|
+
InvitationRead: 'INVITATION_READ',
|
|
28
|
+
InvitationWrite: 'INVITATION_WRITE',
|
|
29
|
+
RoleRead: 'ROLE_READ',
|
|
30
|
+
RoleWrite: 'ROLE_WRITE',
|
|
31
|
+
MemberRead: 'MEMBER_READ',
|
|
32
|
+
MemberWrite: 'MEMBER_WRITE'
|
|
30
33
|
};
|
|
31
34
|
/**
|
|
32
35
|
* Check if a given object implements the RolesRequest interface.
|
|
@@ -36,7 +39,7 @@ function instanceOfRolesRequest(value) {
|
|
|
36
39
|
return false;
|
|
37
40
|
if (!('description' in value) || value['description'] === undefined)
|
|
38
41
|
return false;
|
|
39
|
-
if (!('
|
|
42
|
+
if (!('permissions' in value) || value['permissions'] === undefined)
|
|
40
43
|
return false;
|
|
41
44
|
return true;
|
|
42
45
|
}
|
|
@@ -50,7 +53,7 @@ function RolesRequestFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
50
53
|
return {
|
|
51
54
|
'name': json['name'],
|
|
52
55
|
'description': json['description'],
|
|
53
|
-
'
|
|
56
|
+
'permissions': json['permissions'],
|
|
54
57
|
};
|
|
55
58
|
}
|
|
56
59
|
function RolesRequestToJSON(json) {
|
|
@@ -63,6 +66,6 @@ function RolesRequestToJSONTyped(value, ignoreDiscriminator = false) {
|
|
|
63
66
|
return {
|
|
64
67
|
'name': value['name'],
|
|
65
68
|
'description': value['description'],
|
|
66
|
-
'
|
|
69
|
+
'permissions': value['permissions'],
|
|
67
70
|
};
|
|
68
71
|
}
|
|
@@ -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,52 @@
|
|
|
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.instanceOfSortObject = instanceOfSortObject;
|
|
17
|
+
exports.SortObjectFromJSON = SortObjectFromJSON;
|
|
18
|
+
exports.SortObjectFromJSONTyped = SortObjectFromJSONTyped;
|
|
19
|
+
exports.SortObjectToJSON = SortObjectToJSON;
|
|
20
|
+
exports.SortObjectToJSONTyped = SortObjectToJSONTyped;
|
|
21
|
+
/**
|
|
22
|
+
* Check if a given object implements the SortObject interface.
|
|
23
|
+
*/
|
|
24
|
+
function instanceOfSortObject(value) {
|
|
25
|
+
return true;
|
|
26
|
+
}
|
|
27
|
+
function SortObjectFromJSON(json) {
|
|
28
|
+
return SortObjectFromJSONTyped(json, false);
|
|
29
|
+
}
|
|
30
|
+
function SortObjectFromJSONTyped(json, ignoreDiscriminator) {
|
|
31
|
+
if (json == null) {
|
|
32
|
+
return json;
|
|
33
|
+
}
|
|
34
|
+
return {
|
|
35
|
+
'empty': json['empty'] == null ? undefined : json['empty'],
|
|
36
|
+
'sorted': json['sorted'] == null ? undefined : json['sorted'],
|
|
37
|
+
'unsorted': json['unsorted'] == null ? undefined : json['unsorted'],
|
|
38
|
+
};
|
|
39
|
+
}
|
|
40
|
+
function SortObjectToJSON(json) {
|
|
41
|
+
return SortObjectToJSONTyped(json, false);
|
|
42
|
+
}
|
|
43
|
+
function SortObjectToJSONTyped(value, ignoreDiscriminator = false) {
|
|
44
|
+
if (value == null) {
|
|
45
|
+
return value;
|
|
46
|
+
}
|
|
47
|
+
return {
|
|
48
|
+
'empty': value['empty'],
|
|
49
|
+
'sorted': value['sorted'],
|
|
50
|
+
'unsorted': value['unsorted'],
|
|
51
|
+
};
|
|
52
|
+
}
|
package/dist/models/index.d.ts
CHANGED
|
@@ -1,8 +1,11 @@
|
|
|
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';
|
|
8
|
+
export * from './GroupedPermissionsResponse';
|
|
6
9
|
export * from './IdResponse';
|
|
7
10
|
export * from './InvitationDetailsRequest';
|
|
8
11
|
export * from './InvitationDetailsResponse';
|
|
@@ -11,16 +14,20 @@ export * from './InviteMemberRequest';
|
|
|
11
14
|
export * from './MemberViewResponse';
|
|
12
15
|
export * from './OrganizationSummaryViewResponse';
|
|
13
16
|
export * from './PageMetadata';
|
|
14
|
-
export * from './
|
|
15
|
-
export * from './
|
|
17
|
+
export * from './PageRoleResponse';
|
|
18
|
+
export * from './PageableObject';
|
|
19
|
+
export * from './PagedModelAgencySummaryResponse';
|
|
16
20
|
export * from './PagedModelInvitationViewResponse';
|
|
17
21
|
export * from './PagedModelMemberViewResponse';
|
|
22
|
+
export * from './PermissionResponse';
|
|
18
23
|
export * from './PhotoRequest';
|
|
19
24
|
export * from './PresignedUrlResponse';
|
|
20
25
|
export * from './PresignedUrlsResponse';
|
|
26
|
+
export * from './RoleResponse';
|
|
21
27
|
export * from './RolesRequest';
|
|
22
28
|
export * from './SocialMediaRequest';
|
|
23
29
|
export * from './SocialMediasRequest';
|
|
30
|
+
export * from './SortObject';
|
|
24
31
|
export * from './UploadAcknowledgmentResponse';
|
|
25
32
|
export * from './UserContextViewResponse';
|
|
26
33
|
export * from './UserSummaryViewResponse';
|
package/dist/models/index.js
CHANGED
|
@@ -18,9 +18,12 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
18
18
|
/* eslint-disable */
|
|
19
19
|
__exportStar(require("./AddressRequest"), exports);
|
|
20
20
|
__exportStar(require("./AddressViewResponse"), exports);
|
|
21
|
-
__exportStar(require("./
|
|
22
|
-
__exportStar(require("./
|
|
21
|
+
__exportStar(require("./AgencyProfileResponse"), exports);
|
|
22
|
+
__exportStar(require("./AgencySummaryResponse"), exports);
|
|
23
|
+
__exportStar(require("./AssignRoleRequest"), exports);
|
|
24
|
+
__exportStar(require("./BatchAssignRoleRequest"), exports);
|
|
23
25
|
__exportStar(require("./CreateAgencyRequest"), exports);
|
|
26
|
+
__exportStar(require("./GroupedPermissionsResponse"), exports);
|
|
24
27
|
__exportStar(require("./IdResponse"), exports);
|
|
25
28
|
__exportStar(require("./InvitationDetailsRequest"), exports);
|
|
26
29
|
__exportStar(require("./InvitationDetailsResponse"), exports);
|
|
@@ -29,16 +32,20 @@ __exportStar(require("./InviteMemberRequest"), exports);
|
|
|
29
32
|
__exportStar(require("./MemberViewResponse"), exports);
|
|
30
33
|
__exportStar(require("./OrganizationSummaryViewResponse"), exports);
|
|
31
34
|
__exportStar(require("./PageMetadata"), exports);
|
|
32
|
-
__exportStar(require("./
|
|
33
|
-
__exportStar(require("./
|
|
35
|
+
__exportStar(require("./PageRoleResponse"), exports);
|
|
36
|
+
__exportStar(require("./PageableObject"), exports);
|
|
37
|
+
__exportStar(require("./PagedModelAgencySummaryResponse"), exports);
|
|
34
38
|
__exportStar(require("./PagedModelInvitationViewResponse"), exports);
|
|
35
39
|
__exportStar(require("./PagedModelMemberViewResponse"), exports);
|
|
40
|
+
__exportStar(require("./PermissionResponse"), exports);
|
|
36
41
|
__exportStar(require("./PhotoRequest"), exports);
|
|
37
42
|
__exportStar(require("./PresignedUrlResponse"), exports);
|
|
38
43
|
__exportStar(require("./PresignedUrlsResponse"), exports);
|
|
44
|
+
__exportStar(require("./RoleResponse"), exports);
|
|
39
45
|
__exportStar(require("./RolesRequest"), exports);
|
|
40
46
|
__exportStar(require("./SocialMediaRequest"), exports);
|
|
41
47
|
__exportStar(require("./SocialMediasRequest"), exports);
|
|
48
|
+
__exportStar(require("./SortObject"), exports);
|
|
42
49
|
__exportStar(require("./UploadAcknowledgmentResponse"), exports);
|
|
43
50
|
__exportStar(require("./UserContextViewResponse"), exports);
|
|
44
51
|
__exportStar(require("./UserSummaryViewResponse"), exports);
|