@homespot-sdk/api 0.0.633 → 0.0.635
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 +24 -0
- package/README.md +30 -13
- package/dist/apis/AgencyControllerApi.d.ts +0 -14
- package/dist/apis/AgencyControllerApi.js +10 -38
- package/dist/apis/AgencyQueryControllerApi.d.ts +69 -1
- package/dist/apis/AgencyQueryControllerApi.js +107 -1
- package/dist/apis/InvitationControllerApi.d.ts +0 -2
- package/dist/apis/InvitationControllerApi.js +5 -7
- package/dist/apis/InvitationQueryControllerApi.d.ts +27 -5
- package/dist/apis/InvitationQueryControllerApi.js +45 -5
- package/dist/apis/MemberQueryControllerApi.d.ts +46 -0
- package/dist/apis/MemberQueryControllerApi.js +67 -0
- package/dist/apis/index.d.ts +1 -0
- package/dist/apis/index.js +1 -0
- package/dist/esm/apis/AgencyControllerApi.d.ts +0 -14
- package/dist/esm/apis/AgencyControllerApi.js +10 -38
- package/dist/esm/apis/AgencyQueryControllerApi.d.ts +69 -1
- package/dist/esm/apis/AgencyQueryControllerApi.js +107 -1
- package/dist/esm/apis/InvitationControllerApi.d.ts +0 -2
- package/dist/esm/apis/InvitationControllerApi.js +5 -7
- package/dist/esm/apis/InvitationQueryControllerApi.d.ts +27 -5
- package/dist/esm/apis/InvitationQueryControllerApi.js +46 -6
- package/dist/esm/apis/MemberQueryControllerApi.d.ts +46 -0
- package/dist/esm/apis/MemberQueryControllerApi.js +63 -0
- package/dist/esm/apis/index.d.ts +1 -0
- package/dist/esm/apis/index.js +1 -0
- package/dist/esm/models/AgencyPeekViewResponse.d.ts +102 -0
- package/dist/esm/models/AgencyPeekViewResponse.js +88 -0
- package/dist/esm/models/GroupedPermissionsResponse.d.ts +48 -0
- package/dist/esm/models/GroupedPermissionsResponse.js +56 -0
- package/dist/esm/models/InvitationDetailsRequest.d.ts +38 -0
- package/dist/esm/models/InvitationDetailsRequest.js +47 -0
- package/dist/esm/models/InvitationDetailsResponse.d.ts +72 -0
- package/dist/esm/models/InvitationDetailsResponse.js +70 -0
- package/dist/esm/models/InviteMemberRequest.d.ts +3 -2
- package/dist/esm/models/InviteMemberRequest.js +3 -2
- package/dist/esm/models/MemberViewResponse.d.ts +74 -0
- package/dist/esm/models/MemberViewResponse.js +69 -0
- package/dist/esm/models/OrganizationSummaryViewResponse.d.ts +8 -7
- package/dist/esm/models/OrganizationSummaryViewResponse.js +9 -8
- package/dist/esm/models/PageMetadata.d.ts +50 -0
- package/dist/esm/models/PageMetadata.js +47 -0
- package/dist/esm/models/Pageable.d.ts +44 -0
- package/dist/esm/models/Pageable.js +45 -0
- package/dist/esm/models/PagedModelAgencyPeekViewResponse.d.ts +40 -0
- package/dist/esm/models/PagedModelAgencyPeekViewResponse.js +45 -0
- package/dist/esm/models/PagedModelInvitationViewResponse.d.ts +40 -0
- package/dist/esm/models/PagedModelInvitationViewResponse.js +45 -0
- package/dist/esm/models/PagedModelMemberViewResponse.d.ts +40 -0
- package/dist/esm/models/PagedModelMemberViewResponse.js +45 -0
- package/dist/esm/models/PermissionResponse.d.ts +60 -0
- package/dist/esm/models/PermissionResponse.js +67 -0
- package/dist/esm/models/RolesRequest.d.ts +8 -7
- package/dist/esm/models/RolesRequest.js +9 -8
- package/dist/esm/models/index.d.ts +11 -0
- package/dist/esm/models/index.js +11 -0
- package/dist/models/AgencyPeekViewResponse.d.ts +102 -0
- package/dist/models/AgencyPeekViewResponse.js +96 -0
- package/dist/models/GroupedPermissionsResponse.d.ts +48 -0
- package/dist/models/GroupedPermissionsResponse.js +64 -0
- package/dist/models/InvitationDetailsRequest.d.ts +38 -0
- package/dist/models/InvitationDetailsRequest.js +54 -0
- package/dist/models/InvitationDetailsResponse.d.ts +72 -0
- package/dist/models/InvitationDetailsResponse.js +78 -0
- package/dist/models/InviteMemberRequest.d.ts +3 -2
- package/dist/models/InviteMemberRequest.js +3 -2
- package/dist/models/MemberViewResponse.d.ts +74 -0
- package/dist/models/MemberViewResponse.js +76 -0
- package/dist/models/OrganizationSummaryViewResponse.d.ts +8 -7
- package/dist/models/OrganizationSummaryViewResponse.js +10 -9
- package/dist/models/PageMetadata.d.ts +50 -0
- package/dist/models/PageMetadata.js +54 -0
- package/dist/models/Pageable.d.ts +44 -0
- package/dist/models/Pageable.js +52 -0
- package/dist/models/PagedModelAgencyPeekViewResponse.d.ts +40 -0
- package/dist/models/PagedModelAgencyPeekViewResponse.js +52 -0
- package/dist/models/PagedModelInvitationViewResponse.d.ts +40 -0
- package/dist/models/PagedModelInvitationViewResponse.js +52 -0
- package/dist/models/PagedModelMemberViewResponse.d.ts +40 -0
- package/dist/models/PagedModelMemberViewResponse.js +52 -0
- package/dist/models/PermissionResponse.d.ts +60 -0
- package/dist/models/PermissionResponse.js +75 -0
- package/dist/models/RolesRequest.d.ts +8 -7
- package/dist/models/RolesRequest.js +10 -9
- package/dist/models/index.d.ts +11 -0
- package/dist/models/index.js +11 -0
- package/docs/AgencyControllerApi.md +20 -41
- package/docs/AgencyPeekViewResponse.md +54 -0
- package/docs/AgencyQueryControllerApi.md +205 -0
- package/docs/GroupedPermissionsResponse.md +36 -0
- package/docs/InvitationControllerApi.md +3 -6
- package/docs/InvitationDetailsRequest.md +36 -0
- package/docs/InvitationDetailsResponse.md +44 -0
- package/docs/InvitationQueryControllerApi.md +78 -5
- package/docs/InviteMemberRequest.md +1 -1
- package/docs/MemberQueryControllerApi.md +78 -0
- package/docs/MemberViewResponse.md +48 -0
- package/docs/OrganizationSummaryViewResponse.md +2 -2
- package/docs/PageMetadata.md +40 -0
- package/docs/Pageable.md +38 -0
- package/docs/PagedModelAgencyPeekViewResponse.md +36 -0
- package/docs/PagedModelInvitationViewResponse.md +36 -0
- package/docs/PagedModelMemberViewResponse.md +36 -0
- package/docs/PermissionResponse.md +36 -0
- package/docs/RolesRequest.md +2 -2
- package/package.json +1 -1
- package/src/apis/AgencyControllerApi.ts +10 -80
- package/src/apis/AgencyQueryControllerApi.ts +190 -0
- package/src/apis/InvitationControllerApi.ts +6 -13
- package/src/apis/InvitationQueryControllerApi.ts +91 -12
- package/src/apis/MemberQueryControllerApi.ts +102 -0
- package/src/apis/index.ts +1 -0
- package/src/models/AgencyPeekViewResponse.ts +167 -0
- package/src/models/GroupedPermissionsResponse.ts +95 -0
- package/src/models/InvitationDetailsRequest.ts +75 -0
- package/src/models/InvitationDetailsResponse.ts +123 -0
- package/src/models/InviteMemberRequest.ts +12 -4
- package/src/models/MemberViewResponse.ts +128 -0
- package/src/models/OrganizationSummaryViewResponse.ts +11 -10
- package/src/models/PageMetadata.ts +89 -0
- package/src/models/Pageable.ts +81 -0
- package/src/models/PagedModelAgencyPeekViewResponse.ts +88 -0
- package/src/models/PagedModelInvitationViewResponse.ts +88 -0
- package/src/models/PagedModelMemberViewResponse.ts +88 -0
- package/src/models/PermissionResponse.ts +101 -0
- package/src/models/RolesRequest.ts +11 -10
- package/src/models/index.ts +11 -0
|
@@ -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 AgencyPeekViewResponse
|
|
16
|
+
*/
|
|
17
|
+
export interface AgencyPeekViewResponse {
|
|
18
|
+
/**
|
|
19
|
+
*
|
|
20
|
+
* @type {string}
|
|
21
|
+
* @memberof AgencyPeekViewResponse
|
|
22
|
+
*/
|
|
23
|
+
id: string;
|
|
24
|
+
/**
|
|
25
|
+
*
|
|
26
|
+
* @type {string}
|
|
27
|
+
* @memberof AgencyPeekViewResponse
|
|
28
|
+
*/
|
|
29
|
+
owner: string;
|
|
30
|
+
/**
|
|
31
|
+
*
|
|
32
|
+
* @type {string}
|
|
33
|
+
* @memberof AgencyPeekViewResponse
|
|
34
|
+
*/
|
|
35
|
+
name: string;
|
|
36
|
+
/**
|
|
37
|
+
*
|
|
38
|
+
* @type {string}
|
|
39
|
+
* @memberof AgencyPeekViewResponse
|
|
40
|
+
*/
|
|
41
|
+
email: string;
|
|
42
|
+
/**
|
|
43
|
+
*
|
|
44
|
+
* @type {string}
|
|
45
|
+
* @memberof AgencyPeekViewResponse
|
|
46
|
+
*/
|
|
47
|
+
seats: string;
|
|
48
|
+
/**
|
|
49
|
+
*
|
|
50
|
+
* @type {string}
|
|
51
|
+
* @memberof AgencyPeekViewResponse
|
|
52
|
+
*/
|
|
53
|
+
subDomain: string;
|
|
54
|
+
/**
|
|
55
|
+
*
|
|
56
|
+
* @type {string}
|
|
57
|
+
* @memberof AgencyPeekViewResponse
|
|
58
|
+
*/
|
|
59
|
+
phone: string;
|
|
60
|
+
/**
|
|
61
|
+
*
|
|
62
|
+
* @type {string}
|
|
63
|
+
* @memberof AgencyPeekViewResponse
|
|
64
|
+
*/
|
|
65
|
+
website?: string;
|
|
66
|
+
/**
|
|
67
|
+
*
|
|
68
|
+
* @type {string}
|
|
69
|
+
* @memberof AgencyPeekViewResponse
|
|
70
|
+
*/
|
|
71
|
+
yearSince: string;
|
|
72
|
+
/**
|
|
73
|
+
*
|
|
74
|
+
* @type {string}
|
|
75
|
+
* @memberof AgencyPeekViewResponse
|
|
76
|
+
*/
|
|
77
|
+
status: AgencyPeekViewResponseStatusEnum;
|
|
78
|
+
/**
|
|
79
|
+
*
|
|
80
|
+
* @type {string}
|
|
81
|
+
* @memberof AgencyPeekViewResponse
|
|
82
|
+
*/
|
|
83
|
+
logo?: string;
|
|
84
|
+
}
|
|
85
|
+
/**
|
|
86
|
+
* @export
|
|
87
|
+
*/
|
|
88
|
+
export declare const AgencyPeekViewResponseStatusEnum: {
|
|
89
|
+
readonly New: "NEW";
|
|
90
|
+
readonly Active: "ACTIVE";
|
|
91
|
+
readonly PaymentFailed: "PAYMENT_FAILED";
|
|
92
|
+
readonly Inactive: "INACTIVE";
|
|
93
|
+
};
|
|
94
|
+
export type AgencyPeekViewResponseStatusEnum = typeof AgencyPeekViewResponseStatusEnum[keyof typeof AgencyPeekViewResponseStatusEnum];
|
|
95
|
+
/**
|
|
96
|
+
* Check if a given object implements the AgencyPeekViewResponse interface.
|
|
97
|
+
*/
|
|
98
|
+
export declare function instanceOfAgencyPeekViewResponse(value: object): value is AgencyPeekViewResponse;
|
|
99
|
+
export declare function AgencyPeekViewResponseFromJSON(json: any): AgencyPeekViewResponse;
|
|
100
|
+
export declare function AgencyPeekViewResponseFromJSONTyped(json: any, ignoreDiscriminator: boolean): AgencyPeekViewResponse;
|
|
101
|
+
export declare function AgencyPeekViewResponseToJSON(json: any): AgencyPeekViewResponse;
|
|
102
|
+
export declare function AgencyPeekViewResponseToJSONTyped(value?: AgencyPeekViewResponse | null, ignoreDiscriminator?: boolean): any;
|
|
@@ -0,0 +1,96 @@
|
|
|
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.AgencyPeekViewResponseStatusEnum = void 0;
|
|
17
|
+
exports.instanceOfAgencyPeekViewResponse = instanceOfAgencyPeekViewResponse;
|
|
18
|
+
exports.AgencyPeekViewResponseFromJSON = AgencyPeekViewResponseFromJSON;
|
|
19
|
+
exports.AgencyPeekViewResponseFromJSONTyped = AgencyPeekViewResponseFromJSONTyped;
|
|
20
|
+
exports.AgencyPeekViewResponseToJSON = AgencyPeekViewResponseToJSON;
|
|
21
|
+
exports.AgencyPeekViewResponseToJSONTyped = AgencyPeekViewResponseToJSONTyped;
|
|
22
|
+
/**
|
|
23
|
+
* @export
|
|
24
|
+
*/
|
|
25
|
+
exports.AgencyPeekViewResponseStatusEnum = {
|
|
26
|
+
New: 'NEW',
|
|
27
|
+
Active: 'ACTIVE',
|
|
28
|
+
PaymentFailed: 'PAYMENT_FAILED',
|
|
29
|
+
Inactive: 'INACTIVE'
|
|
30
|
+
};
|
|
31
|
+
/**
|
|
32
|
+
* Check if a given object implements the AgencyPeekViewResponse interface.
|
|
33
|
+
*/
|
|
34
|
+
function instanceOfAgencyPeekViewResponse(value) {
|
|
35
|
+
if (!('id' in value) || value['id'] === undefined)
|
|
36
|
+
return false;
|
|
37
|
+
if (!('owner' in value) || value['owner'] === undefined)
|
|
38
|
+
return false;
|
|
39
|
+
if (!('name' in value) || value['name'] === undefined)
|
|
40
|
+
return false;
|
|
41
|
+
if (!('email' in value) || value['email'] === undefined)
|
|
42
|
+
return false;
|
|
43
|
+
if (!('seats' in value) || value['seats'] === undefined)
|
|
44
|
+
return false;
|
|
45
|
+
if (!('subDomain' in value) || value['subDomain'] === undefined)
|
|
46
|
+
return false;
|
|
47
|
+
if (!('phone' in value) || value['phone'] === undefined)
|
|
48
|
+
return false;
|
|
49
|
+
if (!('yearSince' in value) || value['yearSince'] === undefined)
|
|
50
|
+
return false;
|
|
51
|
+
if (!('status' in value) || value['status'] === undefined)
|
|
52
|
+
return false;
|
|
53
|
+
return true;
|
|
54
|
+
}
|
|
55
|
+
function AgencyPeekViewResponseFromJSON(json) {
|
|
56
|
+
return AgencyPeekViewResponseFromJSONTyped(json, false);
|
|
57
|
+
}
|
|
58
|
+
function AgencyPeekViewResponseFromJSONTyped(json, ignoreDiscriminator) {
|
|
59
|
+
if (json == null) {
|
|
60
|
+
return json;
|
|
61
|
+
}
|
|
62
|
+
return {
|
|
63
|
+
'id': json['id'],
|
|
64
|
+
'owner': json['owner'],
|
|
65
|
+
'name': json['name'],
|
|
66
|
+
'email': json['email'],
|
|
67
|
+
'seats': json['seats'],
|
|
68
|
+
'subDomain': json['subDomain'],
|
|
69
|
+
'phone': json['phone'],
|
|
70
|
+
'website': json['website'] == null ? undefined : json['website'],
|
|
71
|
+
'yearSince': json['yearSince'],
|
|
72
|
+
'status': json['status'],
|
|
73
|
+
'logo': json['logo'] == null ? undefined : json['logo'],
|
|
74
|
+
};
|
|
75
|
+
}
|
|
76
|
+
function AgencyPeekViewResponseToJSON(json) {
|
|
77
|
+
return AgencyPeekViewResponseToJSONTyped(json, false);
|
|
78
|
+
}
|
|
79
|
+
function AgencyPeekViewResponseToJSONTyped(value, ignoreDiscriminator = false) {
|
|
80
|
+
if (value == null) {
|
|
81
|
+
return value;
|
|
82
|
+
}
|
|
83
|
+
return {
|
|
84
|
+
'id': value['id'],
|
|
85
|
+
'owner': value['owner'],
|
|
86
|
+
'name': value['name'],
|
|
87
|
+
'email': value['email'],
|
|
88
|
+
'seats': value['seats'],
|
|
89
|
+
'subDomain': value['subDomain'],
|
|
90
|
+
'phone': value['phone'],
|
|
91
|
+
'website': value['website'],
|
|
92
|
+
'yearSince': value['yearSince'],
|
|
93
|
+
'status': value['status'],
|
|
94
|
+
'logo': value['logo'],
|
|
95
|
+
};
|
|
96
|
+
}
|
|
@@ -0,0 +1,48 @@
|
|
|
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 { PermissionResponse } from './PermissionResponse';
|
|
13
|
+
/**
|
|
14
|
+
*
|
|
15
|
+
* @export
|
|
16
|
+
* @interface GroupedPermissionsResponse
|
|
17
|
+
*/
|
|
18
|
+
export interface GroupedPermissionsResponse {
|
|
19
|
+
/**
|
|
20
|
+
*
|
|
21
|
+
* @type {string}
|
|
22
|
+
* @memberof GroupedPermissionsResponse
|
|
23
|
+
*/
|
|
24
|
+
group: GroupedPermissionsResponseGroupEnum;
|
|
25
|
+
/**
|
|
26
|
+
*
|
|
27
|
+
* @type {Array<PermissionResponse>}
|
|
28
|
+
* @memberof GroupedPermissionsResponse
|
|
29
|
+
*/
|
|
30
|
+
permissions: Array<PermissionResponse>;
|
|
31
|
+
}
|
|
32
|
+
/**
|
|
33
|
+
* @export
|
|
34
|
+
*/
|
|
35
|
+
export declare const GroupedPermissionsResponseGroupEnum: {
|
|
36
|
+
readonly Agency: "AGENCY";
|
|
37
|
+
readonly Invitation: "INVITATION";
|
|
38
|
+
readonly Role: "ROLE";
|
|
39
|
+
};
|
|
40
|
+
export type GroupedPermissionsResponseGroupEnum = typeof GroupedPermissionsResponseGroupEnum[keyof typeof GroupedPermissionsResponseGroupEnum];
|
|
41
|
+
/**
|
|
42
|
+
* Check if a given object implements the GroupedPermissionsResponse interface.
|
|
43
|
+
*/
|
|
44
|
+
export declare function instanceOfGroupedPermissionsResponse(value: object): value is GroupedPermissionsResponse;
|
|
45
|
+
export declare function GroupedPermissionsResponseFromJSON(json: any): GroupedPermissionsResponse;
|
|
46
|
+
export declare function GroupedPermissionsResponseFromJSONTyped(json: any, ignoreDiscriminator: boolean): GroupedPermissionsResponse;
|
|
47
|
+
export declare function GroupedPermissionsResponseToJSON(json: any): GroupedPermissionsResponse;
|
|
48
|
+
export declare function GroupedPermissionsResponseToJSONTyped(value?: GroupedPermissionsResponse | null, ignoreDiscriminator?: boolean): any;
|
|
@@ -0,0 +1,64 @@
|
|
|
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.GroupedPermissionsResponseGroupEnum = void 0;
|
|
17
|
+
exports.instanceOfGroupedPermissionsResponse = instanceOfGroupedPermissionsResponse;
|
|
18
|
+
exports.GroupedPermissionsResponseFromJSON = GroupedPermissionsResponseFromJSON;
|
|
19
|
+
exports.GroupedPermissionsResponseFromJSONTyped = GroupedPermissionsResponseFromJSONTyped;
|
|
20
|
+
exports.GroupedPermissionsResponseToJSON = GroupedPermissionsResponseToJSON;
|
|
21
|
+
exports.GroupedPermissionsResponseToJSONTyped = GroupedPermissionsResponseToJSONTyped;
|
|
22
|
+
const PermissionResponse_1 = require("./PermissionResponse");
|
|
23
|
+
/**
|
|
24
|
+
* @export
|
|
25
|
+
*/
|
|
26
|
+
exports.GroupedPermissionsResponseGroupEnum = {
|
|
27
|
+
Agency: 'AGENCY',
|
|
28
|
+
Invitation: 'INVITATION',
|
|
29
|
+
Role: 'ROLE'
|
|
30
|
+
};
|
|
31
|
+
/**
|
|
32
|
+
* Check if a given object implements the GroupedPermissionsResponse interface.
|
|
33
|
+
*/
|
|
34
|
+
function instanceOfGroupedPermissionsResponse(value) {
|
|
35
|
+
if (!('group' in value) || value['group'] === undefined)
|
|
36
|
+
return false;
|
|
37
|
+
if (!('permissions' in value) || value['permissions'] === undefined)
|
|
38
|
+
return false;
|
|
39
|
+
return true;
|
|
40
|
+
}
|
|
41
|
+
function GroupedPermissionsResponseFromJSON(json) {
|
|
42
|
+
return GroupedPermissionsResponseFromJSONTyped(json, false);
|
|
43
|
+
}
|
|
44
|
+
function GroupedPermissionsResponseFromJSONTyped(json, ignoreDiscriminator) {
|
|
45
|
+
if (json == null) {
|
|
46
|
+
return json;
|
|
47
|
+
}
|
|
48
|
+
return {
|
|
49
|
+
'group': json['group'],
|
|
50
|
+
'permissions': (json['permissions'].map(PermissionResponse_1.PermissionResponseFromJSON)),
|
|
51
|
+
};
|
|
52
|
+
}
|
|
53
|
+
function GroupedPermissionsResponseToJSON(json) {
|
|
54
|
+
return GroupedPermissionsResponseToJSONTyped(json, false);
|
|
55
|
+
}
|
|
56
|
+
function GroupedPermissionsResponseToJSONTyped(value, ignoreDiscriminator = false) {
|
|
57
|
+
if (value == null) {
|
|
58
|
+
return value;
|
|
59
|
+
}
|
|
60
|
+
return {
|
|
61
|
+
'group': value['group'],
|
|
62
|
+
'permissions': (value['permissions'].map(PermissionResponse_1.PermissionResponseToJSON)),
|
|
63
|
+
};
|
|
64
|
+
}
|
|
@@ -0,0 +1,38 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Service API
|
|
3
|
+
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
|
|
4
|
+
*
|
|
5
|
+
* The version of the OpenAPI document: v1
|
|
6
|
+
*
|
|
7
|
+
*
|
|
8
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
9
|
+
* https://openapi-generator.tech
|
|
10
|
+
* Do not edit the class manually.
|
|
11
|
+
*/
|
|
12
|
+
/**
|
|
13
|
+
*
|
|
14
|
+
* @export
|
|
15
|
+
* @interface InvitationDetailsRequest
|
|
16
|
+
*/
|
|
17
|
+
export interface InvitationDetailsRequest {
|
|
18
|
+
/**
|
|
19
|
+
*
|
|
20
|
+
* @type {string}
|
|
21
|
+
* @memberof InvitationDetailsRequest
|
|
22
|
+
*/
|
|
23
|
+
email: string;
|
|
24
|
+
/**
|
|
25
|
+
*
|
|
26
|
+
* @type {number}
|
|
27
|
+
* @memberof InvitationDetailsRequest
|
|
28
|
+
*/
|
|
29
|
+
roleId: number;
|
|
30
|
+
}
|
|
31
|
+
/**
|
|
32
|
+
* Check if a given object implements the InvitationDetailsRequest interface.
|
|
33
|
+
*/
|
|
34
|
+
export declare function instanceOfInvitationDetailsRequest(value: object): value is InvitationDetailsRequest;
|
|
35
|
+
export declare function InvitationDetailsRequestFromJSON(json: any): InvitationDetailsRequest;
|
|
36
|
+
export declare function InvitationDetailsRequestFromJSONTyped(json: any, ignoreDiscriminator: boolean): InvitationDetailsRequest;
|
|
37
|
+
export declare function InvitationDetailsRequestToJSON(json: any): InvitationDetailsRequest;
|
|
38
|
+
export declare function InvitationDetailsRequestToJSONTyped(value?: InvitationDetailsRequest | null, ignoreDiscriminator?: boolean): any;
|
|
@@ -0,0 +1,54 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/* tslint:disable */
|
|
3
|
+
/* eslint-disable */
|
|
4
|
+
/**
|
|
5
|
+
* Service API
|
|
6
|
+
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
|
|
7
|
+
*
|
|
8
|
+
* The version of the OpenAPI document: v1
|
|
9
|
+
*
|
|
10
|
+
*
|
|
11
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
12
|
+
* https://openapi-generator.tech
|
|
13
|
+
* Do not edit the class manually.
|
|
14
|
+
*/
|
|
15
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
16
|
+
exports.instanceOfInvitationDetailsRequest = instanceOfInvitationDetailsRequest;
|
|
17
|
+
exports.InvitationDetailsRequestFromJSON = InvitationDetailsRequestFromJSON;
|
|
18
|
+
exports.InvitationDetailsRequestFromJSONTyped = InvitationDetailsRequestFromJSONTyped;
|
|
19
|
+
exports.InvitationDetailsRequestToJSON = InvitationDetailsRequestToJSON;
|
|
20
|
+
exports.InvitationDetailsRequestToJSONTyped = InvitationDetailsRequestToJSONTyped;
|
|
21
|
+
/**
|
|
22
|
+
* Check if a given object implements the InvitationDetailsRequest interface.
|
|
23
|
+
*/
|
|
24
|
+
function instanceOfInvitationDetailsRequest(value) {
|
|
25
|
+
if (!('email' in value) || value['email'] === undefined)
|
|
26
|
+
return false;
|
|
27
|
+
if (!('roleId' in value) || value['roleId'] === undefined)
|
|
28
|
+
return false;
|
|
29
|
+
return true;
|
|
30
|
+
}
|
|
31
|
+
function InvitationDetailsRequestFromJSON(json) {
|
|
32
|
+
return InvitationDetailsRequestFromJSONTyped(json, false);
|
|
33
|
+
}
|
|
34
|
+
function InvitationDetailsRequestFromJSONTyped(json, ignoreDiscriminator) {
|
|
35
|
+
if (json == null) {
|
|
36
|
+
return json;
|
|
37
|
+
}
|
|
38
|
+
return {
|
|
39
|
+
'email': json['email'],
|
|
40
|
+
'roleId': json['roleId'],
|
|
41
|
+
};
|
|
42
|
+
}
|
|
43
|
+
function InvitationDetailsRequestToJSON(json) {
|
|
44
|
+
return InvitationDetailsRequestToJSONTyped(json, false);
|
|
45
|
+
}
|
|
46
|
+
function InvitationDetailsRequestToJSONTyped(value, ignoreDiscriminator = false) {
|
|
47
|
+
if (value == null) {
|
|
48
|
+
return value;
|
|
49
|
+
}
|
|
50
|
+
return {
|
|
51
|
+
'email': value['email'],
|
|
52
|
+
'roleId': value['roleId'],
|
|
53
|
+
};
|
|
54
|
+
}
|
|
@@ -0,0 +1,72 @@
|
|
|
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 InvitationDetailsResponse
|
|
16
|
+
*/
|
|
17
|
+
export interface InvitationDetailsResponse {
|
|
18
|
+
/**
|
|
19
|
+
*
|
|
20
|
+
* @type {string}
|
|
21
|
+
* @memberof InvitationDetailsResponse
|
|
22
|
+
*/
|
|
23
|
+
invitationId: string;
|
|
24
|
+
/**
|
|
25
|
+
*
|
|
26
|
+
* @type {string}
|
|
27
|
+
* @memberof InvitationDetailsResponse
|
|
28
|
+
*/
|
|
29
|
+
agencyId: string;
|
|
30
|
+
/**
|
|
31
|
+
*
|
|
32
|
+
* @type {string}
|
|
33
|
+
* @memberof InvitationDetailsResponse
|
|
34
|
+
*/
|
|
35
|
+
email: string;
|
|
36
|
+
/**
|
|
37
|
+
*
|
|
38
|
+
* @type {string}
|
|
39
|
+
* @memberof InvitationDetailsResponse
|
|
40
|
+
*/
|
|
41
|
+
status: InvitationDetailsResponseStatusEnum;
|
|
42
|
+
/**
|
|
43
|
+
*
|
|
44
|
+
* @type {string}
|
|
45
|
+
* @memberof InvitationDetailsResponse
|
|
46
|
+
*/
|
|
47
|
+
agencyName: string;
|
|
48
|
+
/**
|
|
49
|
+
*
|
|
50
|
+
* @type {string}
|
|
51
|
+
* @memberof InvitationDetailsResponse
|
|
52
|
+
*/
|
|
53
|
+
agencyLogo?: string;
|
|
54
|
+
}
|
|
55
|
+
/**
|
|
56
|
+
* @export
|
|
57
|
+
*/
|
|
58
|
+
export declare const InvitationDetailsResponseStatusEnum: {
|
|
59
|
+
readonly Pending: "PENDING";
|
|
60
|
+
readonly Accepted: "ACCEPTED";
|
|
61
|
+
readonly Cancelled: "CANCELLED";
|
|
62
|
+
readonly Expired: "EXPIRED";
|
|
63
|
+
};
|
|
64
|
+
export type InvitationDetailsResponseStatusEnum = typeof InvitationDetailsResponseStatusEnum[keyof typeof InvitationDetailsResponseStatusEnum];
|
|
65
|
+
/**
|
|
66
|
+
* Check if a given object implements the InvitationDetailsResponse interface.
|
|
67
|
+
*/
|
|
68
|
+
export declare function instanceOfInvitationDetailsResponse(value: object): value is InvitationDetailsResponse;
|
|
69
|
+
export declare function InvitationDetailsResponseFromJSON(json: any): InvitationDetailsResponse;
|
|
70
|
+
export declare function InvitationDetailsResponseFromJSONTyped(json: any, ignoreDiscriminator: boolean): InvitationDetailsResponse;
|
|
71
|
+
export declare function InvitationDetailsResponseToJSON(json: any): InvitationDetailsResponse;
|
|
72
|
+
export declare function InvitationDetailsResponseToJSONTyped(value?: InvitationDetailsResponse | null, ignoreDiscriminator?: boolean): any;
|
|
@@ -0,0 +1,78 @@
|
|
|
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.InvitationDetailsResponseStatusEnum = void 0;
|
|
17
|
+
exports.instanceOfInvitationDetailsResponse = instanceOfInvitationDetailsResponse;
|
|
18
|
+
exports.InvitationDetailsResponseFromJSON = InvitationDetailsResponseFromJSON;
|
|
19
|
+
exports.InvitationDetailsResponseFromJSONTyped = InvitationDetailsResponseFromJSONTyped;
|
|
20
|
+
exports.InvitationDetailsResponseToJSON = InvitationDetailsResponseToJSON;
|
|
21
|
+
exports.InvitationDetailsResponseToJSONTyped = InvitationDetailsResponseToJSONTyped;
|
|
22
|
+
/**
|
|
23
|
+
* @export
|
|
24
|
+
*/
|
|
25
|
+
exports.InvitationDetailsResponseStatusEnum = {
|
|
26
|
+
Pending: 'PENDING',
|
|
27
|
+
Accepted: 'ACCEPTED',
|
|
28
|
+
Cancelled: 'CANCELLED',
|
|
29
|
+
Expired: 'EXPIRED'
|
|
30
|
+
};
|
|
31
|
+
/**
|
|
32
|
+
* Check if a given object implements the InvitationDetailsResponse interface.
|
|
33
|
+
*/
|
|
34
|
+
function instanceOfInvitationDetailsResponse(value) {
|
|
35
|
+
if (!('invitationId' in value) || value['invitationId'] === undefined)
|
|
36
|
+
return false;
|
|
37
|
+
if (!('agencyId' in value) || value['agencyId'] === undefined)
|
|
38
|
+
return false;
|
|
39
|
+
if (!('email' in value) || value['email'] === undefined)
|
|
40
|
+
return false;
|
|
41
|
+
if (!('status' in value) || value['status'] === undefined)
|
|
42
|
+
return false;
|
|
43
|
+
if (!('agencyName' in value) || value['agencyName'] === undefined)
|
|
44
|
+
return false;
|
|
45
|
+
return true;
|
|
46
|
+
}
|
|
47
|
+
function InvitationDetailsResponseFromJSON(json) {
|
|
48
|
+
return InvitationDetailsResponseFromJSONTyped(json, false);
|
|
49
|
+
}
|
|
50
|
+
function InvitationDetailsResponseFromJSONTyped(json, ignoreDiscriminator) {
|
|
51
|
+
if (json == null) {
|
|
52
|
+
return json;
|
|
53
|
+
}
|
|
54
|
+
return {
|
|
55
|
+
'invitationId': json['invitationId'],
|
|
56
|
+
'agencyId': json['agencyId'],
|
|
57
|
+
'email': json['email'],
|
|
58
|
+
'status': json['status'],
|
|
59
|
+
'agencyName': json['agencyName'],
|
|
60
|
+
'agencyLogo': json['agencyLogo'] == null ? undefined : json['agencyLogo'],
|
|
61
|
+
};
|
|
62
|
+
}
|
|
63
|
+
function InvitationDetailsResponseToJSON(json) {
|
|
64
|
+
return InvitationDetailsResponseToJSONTyped(json, false);
|
|
65
|
+
}
|
|
66
|
+
function InvitationDetailsResponseToJSONTyped(value, ignoreDiscriminator = false) {
|
|
67
|
+
if (value == null) {
|
|
68
|
+
return value;
|
|
69
|
+
}
|
|
70
|
+
return {
|
|
71
|
+
'invitationId': value['invitationId'],
|
|
72
|
+
'agencyId': value['agencyId'],
|
|
73
|
+
'email': value['email'],
|
|
74
|
+
'status': value['status'],
|
|
75
|
+
'agencyName': value['agencyName'],
|
|
76
|
+
'agencyLogo': value['agencyLogo'],
|
|
77
|
+
};
|
|
78
|
+
}
|
|
@@ -9,6 +9,7 @@
|
|
|
9
9
|
* https://openapi-generator.tech
|
|
10
10
|
* Do not edit the class manually.
|
|
11
11
|
*/
|
|
12
|
+
import type { InvitationDetailsRequest } from './InvitationDetailsRequest';
|
|
12
13
|
/**
|
|
13
14
|
*
|
|
14
15
|
* @export
|
|
@@ -17,10 +18,10 @@
|
|
|
17
18
|
export interface InviteMemberRequest {
|
|
18
19
|
/**
|
|
19
20
|
*
|
|
20
|
-
* @type {Array<
|
|
21
|
+
* @type {Array<InvitationDetailsRequest>}
|
|
21
22
|
* @memberof InviteMemberRequest
|
|
22
23
|
*/
|
|
23
|
-
emails: Array<
|
|
24
|
+
emails: Array<InvitationDetailsRequest>;
|
|
24
25
|
}
|
|
25
26
|
/**
|
|
26
27
|
* Check if a given object implements the InviteMemberRequest interface.
|
|
@@ -18,6 +18,7 @@ exports.InviteMemberRequestFromJSON = InviteMemberRequestFromJSON;
|
|
|
18
18
|
exports.InviteMemberRequestFromJSONTyped = InviteMemberRequestFromJSONTyped;
|
|
19
19
|
exports.InviteMemberRequestToJSON = InviteMemberRequestToJSON;
|
|
20
20
|
exports.InviteMemberRequestToJSONTyped = InviteMemberRequestToJSONTyped;
|
|
21
|
+
const InvitationDetailsRequest_1 = require("./InvitationDetailsRequest");
|
|
21
22
|
/**
|
|
22
23
|
* Check if a given object implements the InviteMemberRequest interface.
|
|
23
24
|
*/
|
|
@@ -34,7 +35,7 @@ function InviteMemberRequestFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
34
35
|
return json;
|
|
35
36
|
}
|
|
36
37
|
return {
|
|
37
|
-
'emails': json['emails'],
|
|
38
|
+
'emails': (json['emails'].map(InvitationDetailsRequest_1.InvitationDetailsRequestFromJSON)),
|
|
38
39
|
};
|
|
39
40
|
}
|
|
40
41
|
function InviteMemberRequestToJSON(json) {
|
|
@@ -45,6 +46,6 @@ function InviteMemberRequestToJSONTyped(value, ignoreDiscriminator = false) {
|
|
|
45
46
|
return value;
|
|
46
47
|
}
|
|
47
48
|
return {
|
|
48
|
-
'emails': value['emails'],
|
|
49
|
+
'emails': (value['emails'].map(InvitationDetailsRequest_1.InvitationDetailsRequestToJSON)),
|
|
49
50
|
};
|
|
50
51
|
}
|
|
@@ -0,0 +1,74 @@
|
|
|
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 MemberViewResponse
|
|
16
|
+
*/
|
|
17
|
+
export interface MemberViewResponse {
|
|
18
|
+
/**
|
|
19
|
+
*
|
|
20
|
+
* @type {string}
|
|
21
|
+
* @memberof MemberViewResponse
|
|
22
|
+
*/
|
|
23
|
+
userId: string;
|
|
24
|
+
/**
|
|
25
|
+
*
|
|
26
|
+
* @type {string}
|
|
27
|
+
* @memberof MemberViewResponse
|
|
28
|
+
*/
|
|
29
|
+
firstName: string;
|
|
30
|
+
/**
|
|
31
|
+
*
|
|
32
|
+
* @type {string}
|
|
33
|
+
* @memberof MemberViewResponse
|
|
34
|
+
*/
|
|
35
|
+
lastName: string;
|
|
36
|
+
/**
|
|
37
|
+
*
|
|
38
|
+
* @type {string}
|
|
39
|
+
* @memberof MemberViewResponse
|
|
40
|
+
*/
|
|
41
|
+
phone?: string;
|
|
42
|
+
/**
|
|
43
|
+
*
|
|
44
|
+
* @type {string}
|
|
45
|
+
* @memberof MemberViewResponse
|
|
46
|
+
*/
|
|
47
|
+
email: string;
|
|
48
|
+
/**
|
|
49
|
+
*
|
|
50
|
+
* @type {number}
|
|
51
|
+
* @memberof MemberViewResponse
|
|
52
|
+
*/
|
|
53
|
+
roleId: number;
|
|
54
|
+
/**
|
|
55
|
+
*
|
|
56
|
+
* @type {string}
|
|
57
|
+
* @memberof MemberViewResponse
|
|
58
|
+
*/
|
|
59
|
+
roleName: string;
|
|
60
|
+
/**
|
|
61
|
+
*
|
|
62
|
+
* @type {Date}
|
|
63
|
+
* @memberof MemberViewResponse
|
|
64
|
+
*/
|
|
65
|
+
joinedAt: Date;
|
|
66
|
+
}
|
|
67
|
+
/**
|
|
68
|
+
* Check if a given object implements the MemberViewResponse interface.
|
|
69
|
+
*/
|
|
70
|
+
export declare function instanceOfMemberViewResponse(value: object): value is MemberViewResponse;
|
|
71
|
+
export declare function MemberViewResponseFromJSON(json: any): MemberViewResponse;
|
|
72
|
+
export declare function MemberViewResponseFromJSONTyped(json: any, ignoreDiscriminator: boolean): MemberViewResponse;
|
|
73
|
+
export declare function MemberViewResponseToJSON(json: any): MemberViewResponse;
|
|
74
|
+
export declare function MemberViewResponseToJSONTyped(value?: MemberViewResponse | null, ignoreDiscriminator?: boolean): any;
|