@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,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
|
+
}
|
|
@@ -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
|
*/
|
|
@@ -14,11 +14,14 @@
|
|
|
14
14
|
/**
|
|
15
15
|
* @export
|
|
16
16
|
*/
|
|
17
|
-
export const
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
17
|
+
export const RolesRequestPermissionsEnum = {
|
|
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
|
* Check if a given object implements the RolesRequest interface.
|
|
@@ -28,7 +31,7 @@ export function instanceOfRolesRequest(value) {
|
|
|
28
31
|
return false;
|
|
29
32
|
if (!('description' in value) || value['description'] === undefined)
|
|
30
33
|
return false;
|
|
31
|
-
if (!('
|
|
34
|
+
if (!('permissions' in value) || value['permissions'] === undefined)
|
|
32
35
|
return false;
|
|
33
36
|
return true;
|
|
34
37
|
}
|
|
@@ -42,7 +45,7 @@ export function RolesRequestFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
42
45
|
return {
|
|
43
46
|
'name': json['name'],
|
|
44
47
|
'description': json['description'],
|
|
45
|
-
'
|
|
48
|
+
'permissions': json['permissions'],
|
|
46
49
|
};
|
|
47
50
|
}
|
|
48
51
|
export function RolesRequestToJSON(json) {
|
|
@@ -55,6 +58,6 @@ export function RolesRequestToJSONTyped(value, ignoreDiscriminator = false) {
|
|
|
55
58
|
return {
|
|
56
59
|
'name': value['name'],
|
|
57
60
|
'description': value['description'],
|
|
58
|
-
'
|
|
61
|
+
'permissions': value['permissions'],
|
|
59
62
|
};
|
|
60
63
|
}
|
|
@@ -0,0 +1,44 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Service API
|
|
3
|
+
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
|
|
4
|
+
*
|
|
5
|
+
* The version of the OpenAPI document: v1
|
|
6
|
+
*
|
|
7
|
+
*
|
|
8
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
9
|
+
* https://openapi-generator.tech
|
|
10
|
+
* Do not edit the class manually.
|
|
11
|
+
*/
|
|
12
|
+
/**
|
|
13
|
+
*
|
|
14
|
+
* @export
|
|
15
|
+
* @interface SortObject
|
|
16
|
+
*/
|
|
17
|
+
export interface SortObject {
|
|
18
|
+
/**
|
|
19
|
+
*
|
|
20
|
+
* @type {boolean}
|
|
21
|
+
* @memberof SortObject
|
|
22
|
+
*/
|
|
23
|
+
empty?: boolean;
|
|
24
|
+
/**
|
|
25
|
+
*
|
|
26
|
+
* @type {boolean}
|
|
27
|
+
* @memberof SortObject
|
|
28
|
+
*/
|
|
29
|
+
sorted?: boolean;
|
|
30
|
+
/**
|
|
31
|
+
*
|
|
32
|
+
* @type {boolean}
|
|
33
|
+
* @memberof SortObject
|
|
34
|
+
*/
|
|
35
|
+
unsorted?: boolean;
|
|
36
|
+
}
|
|
37
|
+
/**
|
|
38
|
+
* Check if a given object implements the SortObject interface.
|
|
39
|
+
*/
|
|
40
|
+
export declare function instanceOfSortObject(value: object): value is SortObject;
|
|
41
|
+
export declare function SortObjectFromJSON(json: any): SortObject;
|
|
42
|
+
export declare function SortObjectFromJSONTyped(json: any, ignoreDiscriminator: boolean): SortObject;
|
|
43
|
+
export declare function SortObjectToJSON(json: any): SortObject;
|
|
44
|
+
export declare function SortObjectToJSONTyped(value?: SortObject | null, ignoreDiscriminator?: boolean): any;
|
|
@@ -0,0 +1,45 @@
|
|
|
1
|
+
/* tslint:disable */
|
|
2
|
+
/* eslint-disable */
|
|
3
|
+
/**
|
|
4
|
+
* Service API
|
|
5
|
+
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
|
|
6
|
+
*
|
|
7
|
+
* The version of the OpenAPI document: v1
|
|
8
|
+
*
|
|
9
|
+
*
|
|
10
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
11
|
+
* https://openapi-generator.tech
|
|
12
|
+
* Do not edit the class manually.
|
|
13
|
+
*/
|
|
14
|
+
/**
|
|
15
|
+
* Check if a given object implements the SortObject interface.
|
|
16
|
+
*/
|
|
17
|
+
export function instanceOfSortObject(value) {
|
|
18
|
+
return true;
|
|
19
|
+
}
|
|
20
|
+
export function SortObjectFromJSON(json) {
|
|
21
|
+
return SortObjectFromJSONTyped(json, false);
|
|
22
|
+
}
|
|
23
|
+
export function SortObjectFromJSONTyped(json, ignoreDiscriminator) {
|
|
24
|
+
if (json == null) {
|
|
25
|
+
return json;
|
|
26
|
+
}
|
|
27
|
+
return {
|
|
28
|
+
'empty': json['empty'] == null ? undefined : json['empty'],
|
|
29
|
+
'sorted': json['sorted'] == null ? undefined : json['sorted'],
|
|
30
|
+
'unsorted': json['unsorted'] == null ? undefined : json['unsorted'],
|
|
31
|
+
};
|
|
32
|
+
}
|
|
33
|
+
export function SortObjectToJSON(json) {
|
|
34
|
+
return SortObjectToJSONTyped(json, false);
|
|
35
|
+
}
|
|
36
|
+
export function SortObjectToJSONTyped(value, ignoreDiscriminator = false) {
|
|
37
|
+
if (value == null) {
|
|
38
|
+
return value;
|
|
39
|
+
}
|
|
40
|
+
return {
|
|
41
|
+
'empty': value['empty'],
|
|
42
|
+
'sorted': value['sorted'],
|
|
43
|
+
'unsorted': value['unsorted'],
|
|
44
|
+
};
|
|
45
|
+
}
|
|
@@ -1,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/esm/models/index.js
CHANGED
|
@@ -2,9 +2,12 @@
|
|
|
2
2
|
/* eslint-disable */
|
|
3
3
|
export * from './AddressRequest';
|
|
4
4
|
export * from './AddressViewResponse';
|
|
5
|
-
export * from './
|
|
6
|
-
export * from './
|
|
5
|
+
export * from './AgencyProfileResponse';
|
|
6
|
+
export * from './AgencySummaryResponse';
|
|
7
|
+
export * from './AssignRoleRequest';
|
|
8
|
+
export * from './BatchAssignRoleRequest';
|
|
7
9
|
export * from './CreateAgencyRequest';
|
|
10
|
+
export * from './GroupedPermissionsResponse';
|
|
8
11
|
export * from './IdResponse';
|
|
9
12
|
export * from './InvitationDetailsRequest';
|
|
10
13
|
export * from './InvitationDetailsResponse';
|
|
@@ -13,16 +16,20 @@ export * from './InviteMemberRequest';
|
|
|
13
16
|
export * from './MemberViewResponse';
|
|
14
17
|
export * from './OrganizationSummaryViewResponse';
|
|
15
18
|
export * from './PageMetadata';
|
|
16
|
-
export * from './
|
|
17
|
-
export * from './
|
|
19
|
+
export * from './PageRoleResponse';
|
|
20
|
+
export * from './PageableObject';
|
|
21
|
+
export * from './PagedModelAgencySummaryResponse';
|
|
18
22
|
export * from './PagedModelInvitationViewResponse';
|
|
19
23
|
export * from './PagedModelMemberViewResponse';
|
|
24
|
+
export * from './PermissionResponse';
|
|
20
25
|
export * from './PhotoRequest';
|
|
21
26
|
export * from './PresignedUrlResponse';
|
|
22
27
|
export * from './PresignedUrlsResponse';
|
|
28
|
+
export * from './RoleResponse';
|
|
23
29
|
export * from './RolesRequest';
|
|
24
30
|
export * from './SocialMediaRequest';
|
|
25
31
|
export * from './SocialMediasRequest';
|
|
32
|
+
export * from './SortObject';
|
|
26
33
|
export * from './UploadAcknowledgmentResponse';
|
|
27
34
|
export * from './UserContextViewResponse';
|
|
28
35
|
export * from './UserSummaryViewResponse';
|
|
@@ -0,0 +1,69 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Service API
|
|
3
|
+
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
|
|
4
|
+
*
|
|
5
|
+
* The version of the OpenAPI document: v1
|
|
6
|
+
*
|
|
7
|
+
*
|
|
8
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
9
|
+
* https://openapi-generator.tech
|
|
10
|
+
* Do not edit the class manually.
|
|
11
|
+
*/
|
|
12
|
+
import type { AddressViewResponse } from './AddressViewResponse';
|
|
13
|
+
/**
|
|
14
|
+
*
|
|
15
|
+
* @export
|
|
16
|
+
* @interface AgencyProfileResponse
|
|
17
|
+
*/
|
|
18
|
+
export interface AgencyProfileResponse {
|
|
19
|
+
/**
|
|
20
|
+
*
|
|
21
|
+
* @type {string}
|
|
22
|
+
* @memberof AgencyProfileResponse
|
|
23
|
+
*/
|
|
24
|
+
name: string;
|
|
25
|
+
/**
|
|
26
|
+
*
|
|
27
|
+
* @type {string}
|
|
28
|
+
* @memberof AgencyProfileResponse
|
|
29
|
+
*/
|
|
30
|
+
email: string;
|
|
31
|
+
/**
|
|
32
|
+
*
|
|
33
|
+
* @type {number}
|
|
34
|
+
* @memberof AgencyProfileResponse
|
|
35
|
+
*/
|
|
36
|
+
seats: number;
|
|
37
|
+
/**
|
|
38
|
+
*
|
|
39
|
+
* @type {string}
|
|
40
|
+
* @memberof AgencyProfileResponse
|
|
41
|
+
*/
|
|
42
|
+
subDomain: string;
|
|
43
|
+
/**
|
|
44
|
+
*
|
|
45
|
+
* @type {string}
|
|
46
|
+
* @memberof AgencyProfileResponse
|
|
47
|
+
*/
|
|
48
|
+
phone: string;
|
|
49
|
+
/**
|
|
50
|
+
*
|
|
51
|
+
* @type {AddressViewResponse}
|
|
52
|
+
* @memberof AgencyProfileResponse
|
|
53
|
+
*/
|
|
54
|
+
address: AddressViewResponse;
|
|
55
|
+
/**
|
|
56
|
+
*
|
|
57
|
+
* @type {number}
|
|
58
|
+
* @memberof AgencyProfileResponse
|
|
59
|
+
*/
|
|
60
|
+
yearSince: number;
|
|
61
|
+
}
|
|
62
|
+
/**
|
|
63
|
+
* Check if a given object implements the AgencyProfileResponse interface.
|
|
64
|
+
*/
|
|
65
|
+
export declare function instanceOfAgencyProfileResponse(value: object): value is AgencyProfileResponse;
|
|
66
|
+
export declare function AgencyProfileResponseFromJSON(json: any): AgencyProfileResponse;
|
|
67
|
+
export declare function AgencyProfileResponseFromJSONTyped(json: any, ignoreDiscriminator: boolean): AgencyProfileResponse;
|
|
68
|
+
export declare function AgencyProfileResponseToJSON(json: any): AgencyProfileResponse;
|
|
69
|
+
export declare function AgencyProfileResponseToJSONTyped(value?: AgencyProfileResponse | null, ignoreDiscriminator?: boolean): any;
|
|
@@ -13,16 +13,16 @@
|
|
|
13
13
|
* Do not edit the class manually.
|
|
14
14
|
*/
|
|
15
15
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
16
|
-
exports.
|
|
17
|
-
exports.
|
|
18
|
-
exports.
|
|
19
|
-
exports.
|
|
20
|
-
exports.
|
|
16
|
+
exports.instanceOfAgencyProfileResponse = instanceOfAgencyProfileResponse;
|
|
17
|
+
exports.AgencyProfileResponseFromJSON = AgencyProfileResponseFromJSON;
|
|
18
|
+
exports.AgencyProfileResponseFromJSONTyped = AgencyProfileResponseFromJSONTyped;
|
|
19
|
+
exports.AgencyProfileResponseToJSON = AgencyProfileResponseToJSON;
|
|
20
|
+
exports.AgencyProfileResponseToJSONTyped = AgencyProfileResponseToJSONTyped;
|
|
21
21
|
const AddressViewResponse_1 = require("./AddressViewResponse");
|
|
22
22
|
/**
|
|
23
|
-
* Check if a given object implements the
|
|
23
|
+
* Check if a given object implements the AgencyProfileResponse interface.
|
|
24
24
|
*/
|
|
25
|
-
function
|
|
25
|
+
function instanceOfAgencyProfileResponse(value) {
|
|
26
26
|
if (!('name' in value) || value['name'] === undefined)
|
|
27
27
|
return false;
|
|
28
28
|
if (!('email' in value) || value['email'] === undefined)
|
|
@@ -39,10 +39,10 @@ function instanceOfAgencyViewResponse(value) {
|
|
|
39
39
|
return false;
|
|
40
40
|
return true;
|
|
41
41
|
}
|
|
42
|
-
function
|
|
43
|
-
return
|
|
42
|
+
function AgencyProfileResponseFromJSON(json) {
|
|
43
|
+
return AgencyProfileResponseFromJSONTyped(json, false);
|
|
44
44
|
}
|
|
45
|
-
function
|
|
45
|
+
function AgencyProfileResponseFromJSONTyped(json, ignoreDiscriminator) {
|
|
46
46
|
if (json == null) {
|
|
47
47
|
return json;
|
|
48
48
|
}
|
|
@@ -56,10 +56,10 @@ function AgencyViewResponseFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
56
56
|
'yearSince': json['yearSince'],
|
|
57
57
|
};
|
|
58
58
|
}
|
|
59
|
-
function
|
|
60
|
-
return
|
|
59
|
+
function AgencyProfileResponseToJSON(json) {
|
|
60
|
+
return AgencyProfileResponseToJSONTyped(json, false);
|
|
61
61
|
}
|
|
62
|
-
function
|
|
62
|
+
function AgencyProfileResponseToJSONTyped(value, ignoreDiscriminator = false) {
|
|
63
63
|
if (value == null) {
|
|
64
64
|
return value;
|
|
65
65
|
}
|
|
@@ -0,0 +1,102 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Service API
|
|
3
|
+
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
|
|
4
|
+
*
|
|
5
|
+
* The version of the OpenAPI document: v1
|
|
6
|
+
*
|
|
7
|
+
*
|
|
8
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
9
|
+
* https://openapi-generator.tech
|
|
10
|
+
* Do not edit the class manually.
|
|
11
|
+
*/
|
|
12
|
+
/**
|
|
13
|
+
*
|
|
14
|
+
* @export
|
|
15
|
+
* @interface AgencySummaryResponse
|
|
16
|
+
*/
|
|
17
|
+
export interface AgencySummaryResponse {
|
|
18
|
+
/**
|
|
19
|
+
*
|
|
20
|
+
* @type {string}
|
|
21
|
+
* @memberof AgencySummaryResponse
|
|
22
|
+
*/
|
|
23
|
+
id: string;
|
|
24
|
+
/**
|
|
25
|
+
*
|
|
26
|
+
* @type {string}
|
|
27
|
+
* @memberof AgencySummaryResponse
|
|
28
|
+
*/
|
|
29
|
+
owner: string;
|
|
30
|
+
/**
|
|
31
|
+
*
|
|
32
|
+
* @type {string}
|
|
33
|
+
* @memberof AgencySummaryResponse
|
|
34
|
+
*/
|
|
35
|
+
name: string;
|
|
36
|
+
/**
|
|
37
|
+
*
|
|
38
|
+
* @type {string}
|
|
39
|
+
* @memberof AgencySummaryResponse
|
|
40
|
+
*/
|
|
41
|
+
email: string;
|
|
42
|
+
/**
|
|
43
|
+
*
|
|
44
|
+
* @type {string}
|
|
45
|
+
* @memberof AgencySummaryResponse
|
|
46
|
+
*/
|
|
47
|
+
seats: string;
|
|
48
|
+
/**
|
|
49
|
+
*
|
|
50
|
+
* @type {string}
|
|
51
|
+
* @memberof AgencySummaryResponse
|
|
52
|
+
*/
|
|
53
|
+
subDomain: string;
|
|
54
|
+
/**
|
|
55
|
+
*
|
|
56
|
+
* @type {string}
|
|
57
|
+
* @memberof AgencySummaryResponse
|
|
58
|
+
*/
|
|
59
|
+
phone: string;
|
|
60
|
+
/**
|
|
61
|
+
*
|
|
62
|
+
* @type {string}
|
|
63
|
+
* @memberof AgencySummaryResponse
|
|
64
|
+
*/
|
|
65
|
+
website?: string;
|
|
66
|
+
/**
|
|
67
|
+
*
|
|
68
|
+
* @type {string}
|
|
69
|
+
* @memberof AgencySummaryResponse
|
|
70
|
+
*/
|
|
71
|
+
yearSince: string;
|
|
72
|
+
/**
|
|
73
|
+
*
|
|
74
|
+
* @type {string}
|
|
75
|
+
* @memberof AgencySummaryResponse
|
|
76
|
+
*/
|
|
77
|
+
status: AgencySummaryResponseStatusEnum;
|
|
78
|
+
/**
|
|
79
|
+
*
|
|
80
|
+
* @type {string}
|
|
81
|
+
* @memberof AgencySummaryResponse
|
|
82
|
+
*/
|
|
83
|
+
logo?: string;
|
|
84
|
+
}
|
|
85
|
+
/**
|
|
86
|
+
* @export
|
|
87
|
+
*/
|
|
88
|
+
export declare const AgencySummaryResponseStatusEnum: {
|
|
89
|
+
readonly New: "NEW";
|
|
90
|
+
readonly Active: "ACTIVE";
|
|
91
|
+
readonly PaymentFailed: "PAYMENT_FAILED";
|
|
92
|
+
readonly Inactive: "INACTIVE";
|
|
93
|
+
};
|
|
94
|
+
export type AgencySummaryResponseStatusEnum = typeof AgencySummaryResponseStatusEnum[keyof typeof AgencySummaryResponseStatusEnum];
|
|
95
|
+
/**
|
|
96
|
+
* Check if a given object implements the AgencySummaryResponse interface.
|
|
97
|
+
*/
|
|
98
|
+
export declare function instanceOfAgencySummaryResponse(value: object): value is AgencySummaryResponse;
|
|
99
|
+
export declare function AgencySummaryResponseFromJSON(json: any): AgencySummaryResponse;
|
|
100
|
+
export declare function AgencySummaryResponseFromJSONTyped(json: any, ignoreDiscriminator: boolean): AgencySummaryResponse;
|
|
101
|
+
export declare function AgencySummaryResponseToJSON(json: any): AgencySummaryResponse;
|
|
102
|
+
export declare function AgencySummaryResponseToJSONTyped(value?: AgencySummaryResponse | null, ignoreDiscriminator?: boolean): any;
|
|
@@ -13,25 +13,25 @@
|
|
|
13
13
|
* Do not edit the class manually.
|
|
14
14
|
*/
|
|
15
15
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
16
|
-
exports.
|
|
17
|
-
exports.
|
|
18
|
-
exports.
|
|
19
|
-
exports.
|
|
20
|
-
exports.
|
|
21
|
-
exports.
|
|
16
|
+
exports.AgencySummaryResponseStatusEnum = void 0;
|
|
17
|
+
exports.instanceOfAgencySummaryResponse = instanceOfAgencySummaryResponse;
|
|
18
|
+
exports.AgencySummaryResponseFromJSON = AgencySummaryResponseFromJSON;
|
|
19
|
+
exports.AgencySummaryResponseFromJSONTyped = AgencySummaryResponseFromJSONTyped;
|
|
20
|
+
exports.AgencySummaryResponseToJSON = AgencySummaryResponseToJSON;
|
|
21
|
+
exports.AgencySummaryResponseToJSONTyped = AgencySummaryResponseToJSONTyped;
|
|
22
22
|
/**
|
|
23
23
|
* @export
|
|
24
24
|
*/
|
|
25
|
-
exports.
|
|
25
|
+
exports.AgencySummaryResponseStatusEnum = {
|
|
26
26
|
New: 'NEW',
|
|
27
27
|
Active: 'ACTIVE',
|
|
28
28
|
PaymentFailed: 'PAYMENT_FAILED',
|
|
29
29
|
Inactive: 'INACTIVE'
|
|
30
30
|
};
|
|
31
31
|
/**
|
|
32
|
-
* Check if a given object implements the
|
|
32
|
+
* Check if a given object implements the AgencySummaryResponse interface.
|
|
33
33
|
*/
|
|
34
|
-
function
|
|
34
|
+
function instanceOfAgencySummaryResponse(value) {
|
|
35
35
|
if (!('id' in value) || value['id'] === undefined)
|
|
36
36
|
return false;
|
|
37
37
|
if (!('owner' in value) || value['owner'] === undefined)
|
|
@@ -52,10 +52,10 @@ function instanceOfAgencyPeekViewResponse(value) {
|
|
|
52
52
|
return false;
|
|
53
53
|
return true;
|
|
54
54
|
}
|
|
55
|
-
function
|
|
56
|
-
return
|
|
55
|
+
function AgencySummaryResponseFromJSON(json) {
|
|
56
|
+
return AgencySummaryResponseFromJSONTyped(json, false);
|
|
57
57
|
}
|
|
58
|
-
function
|
|
58
|
+
function AgencySummaryResponseFromJSONTyped(json, ignoreDiscriminator) {
|
|
59
59
|
if (json == null) {
|
|
60
60
|
return json;
|
|
61
61
|
}
|
|
@@ -73,10 +73,10 @@ function AgencyPeekViewResponseFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
73
73
|
'logo': json['logo'] == null ? undefined : json['logo'],
|
|
74
74
|
};
|
|
75
75
|
}
|
|
76
|
-
function
|
|
77
|
-
return
|
|
76
|
+
function AgencySummaryResponseToJSON(json) {
|
|
77
|
+
return AgencySummaryResponseToJSONTyped(json, false);
|
|
78
78
|
}
|
|
79
|
-
function
|
|
79
|
+
function AgencySummaryResponseToJSONTyped(value, ignoreDiscriminator = false) {
|
|
80
80
|
if (value == null) {
|
|
81
81
|
return value;
|
|
82
82
|
}
|
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Service API
|
|
3
|
+
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
|
|
4
|
+
*
|
|
5
|
+
* The version of the OpenAPI document: v1
|
|
6
|
+
*
|
|
7
|
+
*
|
|
8
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
9
|
+
* https://openapi-generator.tech
|
|
10
|
+
* Do not edit the class manually.
|
|
11
|
+
*/
|
|
12
|
+
/**
|
|
13
|
+
*
|
|
14
|
+
* @export
|
|
15
|
+
* @interface AssignRoleRequest
|
|
16
|
+
*/
|
|
17
|
+
export interface AssignRoleRequest {
|
|
18
|
+
/**
|
|
19
|
+
*
|
|
20
|
+
* @type {number}
|
|
21
|
+
* @memberof AssignRoleRequest
|
|
22
|
+
*/
|
|
23
|
+
roleId: number;
|
|
24
|
+
}
|
|
25
|
+
/**
|
|
26
|
+
* Check if a given object implements the AssignRoleRequest interface.
|
|
27
|
+
*/
|
|
28
|
+
export declare function instanceOfAssignRoleRequest(value: object): value is AssignRoleRequest;
|
|
29
|
+
export declare function AssignRoleRequestFromJSON(json: any): AssignRoleRequest;
|
|
30
|
+
export declare function AssignRoleRequestFromJSONTyped(json: any, ignoreDiscriminator: boolean): AssignRoleRequest;
|
|
31
|
+
export declare function AssignRoleRequestToJSON(json: any): AssignRoleRequest;
|
|
32
|
+
export declare function AssignRoleRequestToJSONTyped(value?: AssignRoleRequest | null, ignoreDiscriminator?: boolean): any;
|
|
@@ -0,0 +1,50 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/* tslint:disable */
|
|
3
|
+
/* eslint-disable */
|
|
4
|
+
/**
|
|
5
|
+
* Service API
|
|
6
|
+
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
|
|
7
|
+
*
|
|
8
|
+
* The version of the OpenAPI document: v1
|
|
9
|
+
*
|
|
10
|
+
*
|
|
11
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
12
|
+
* https://openapi-generator.tech
|
|
13
|
+
* Do not edit the class manually.
|
|
14
|
+
*/
|
|
15
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
16
|
+
exports.instanceOfAssignRoleRequest = instanceOfAssignRoleRequest;
|
|
17
|
+
exports.AssignRoleRequestFromJSON = AssignRoleRequestFromJSON;
|
|
18
|
+
exports.AssignRoleRequestFromJSONTyped = AssignRoleRequestFromJSONTyped;
|
|
19
|
+
exports.AssignRoleRequestToJSON = AssignRoleRequestToJSON;
|
|
20
|
+
exports.AssignRoleRequestToJSONTyped = AssignRoleRequestToJSONTyped;
|
|
21
|
+
/**
|
|
22
|
+
* Check if a given object implements the AssignRoleRequest interface.
|
|
23
|
+
*/
|
|
24
|
+
function instanceOfAssignRoleRequest(value) {
|
|
25
|
+
if (!('roleId' in value) || value['roleId'] === undefined)
|
|
26
|
+
return false;
|
|
27
|
+
return true;
|
|
28
|
+
}
|
|
29
|
+
function AssignRoleRequestFromJSON(json) {
|
|
30
|
+
return AssignRoleRequestFromJSONTyped(json, false);
|
|
31
|
+
}
|
|
32
|
+
function AssignRoleRequestFromJSONTyped(json, ignoreDiscriminator) {
|
|
33
|
+
if (json == null) {
|
|
34
|
+
return json;
|
|
35
|
+
}
|
|
36
|
+
return {
|
|
37
|
+
'roleId': json['roleId'],
|
|
38
|
+
};
|
|
39
|
+
}
|
|
40
|
+
function AssignRoleRequestToJSON(json) {
|
|
41
|
+
return AssignRoleRequestToJSONTyped(json, false);
|
|
42
|
+
}
|
|
43
|
+
function AssignRoleRequestToJSONTyped(value, ignoreDiscriminator = false) {
|
|
44
|
+
if (value == null) {
|
|
45
|
+
return value;
|
|
46
|
+
}
|
|
47
|
+
return {
|
|
48
|
+
'roleId': value['roleId'],
|
|
49
|
+
};
|
|
50
|
+
}
|