@homespot-sdk/api 0.0.633 → 0.0.634
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 +20 -0
- package/README.md +27 -13
- package/dist/apis/AgencyControllerApi.d.ts +0 -14
- package/dist/apis/AgencyControllerApi.js +10 -38
- package/dist/apis/AgencyQueryControllerApi.d.ts +53 -1
- package/dist/apis/AgencyQueryControllerApi.js +79 -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 +53 -1
- package/dist/esm/apis/AgencyQueryControllerApi.js +79 -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/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/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/index.d.ts +9 -0
- package/dist/esm/models/index.js +9 -0
- package/dist/models/AgencyPeekViewResponse.d.ts +102 -0
- package/dist/models/AgencyPeekViewResponse.js +96 -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/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/index.d.ts +9 -0
- package/dist/models/index.js +9 -0
- package/docs/AgencyControllerApi.md +20 -41
- package/docs/AgencyPeekViewResponse.md +54 -0
- package/docs/AgencyQueryControllerApi.md +143 -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/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/package.json +1 -1
- package/src/apis/AgencyControllerApi.ts +10 -80
- package/src/apis/AgencyQueryControllerApi.ts +143 -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/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/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/index.ts +9 -0
|
@@ -0,0 +1,47 @@
|
|
|
1
|
+
/* tslint:disable */
|
|
2
|
+
/* eslint-disable */
|
|
3
|
+
/**
|
|
4
|
+
* Service API
|
|
5
|
+
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
|
|
6
|
+
*
|
|
7
|
+
* The version of the OpenAPI document: v1
|
|
8
|
+
*
|
|
9
|
+
*
|
|
10
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
11
|
+
* https://openapi-generator.tech
|
|
12
|
+
* Do not edit the class manually.
|
|
13
|
+
*/
|
|
14
|
+
/**
|
|
15
|
+
* Check if a given object implements the InvitationDetailsRequest interface.
|
|
16
|
+
*/
|
|
17
|
+
export function instanceOfInvitationDetailsRequest(value) {
|
|
18
|
+
if (!('email' in value) || value['email'] === undefined)
|
|
19
|
+
return false;
|
|
20
|
+
if (!('roleId' in value) || value['roleId'] === undefined)
|
|
21
|
+
return false;
|
|
22
|
+
return true;
|
|
23
|
+
}
|
|
24
|
+
export function InvitationDetailsRequestFromJSON(json) {
|
|
25
|
+
return InvitationDetailsRequestFromJSONTyped(json, false);
|
|
26
|
+
}
|
|
27
|
+
export function InvitationDetailsRequestFromJSONTyped(json, ignoreDiscriminator) {
|
|
28
|
+
if (json == null) {
|
|
29
|
+
return json;
|
|
30
|
+
}
|
|
31
|
+
return {
|
|
32
|
+
'email': json['email'],
|
|
33
|
+
'roleId': json['roleId'],
|
|
34
|
+
};
|
|
35
|
+
}
|
|
36
|
+
export function InvitationDetailsRequestToJSON(json) {
|
|
37
|
+
return InvitationDetailsRequestToJSONTyped(json, false);
|
|
38
|
+
}
|
|
39
|
+
export function InvitationDetailsRequestToJSONTyped(value, ignoreDiscriminator = false) {
|
|
40
|
+
if (value == null) {
|
|
41
|
+
return value;
|
|
42
|
+
}
|
|
43
|
+
return {
|
|
44
|
+
'email': value['email'],
|
|
45
|
+
'roleId': value['roleId'],
|
|
46
|
+
};
|
|
47
|
+
}
|
|
@@ -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,70 @@
|
|
|
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 InvitationDetailsResponseStatusEnum = {
|
|
18
|
+
Pending: 'PENDING',
|
|
19
|
+
Accepted: 'ACCEPTED',
|
|
20
|
+
Cancelled: 'CANCELLED',
|
|
21
|
+
Expired: 'EXPIRED'
|
|
22
|
+
};
|
|
23
|
+
/**
|
|
24
|
+
* Check if a given object implements the InvitationDetailsResponse interface.
|
|
25
|
+
*/
|
|
26
|
+
export function instanceOfInvitationDetailsResponse(value) {
|
|
27
|
+
if (!('invitationId' in value) || value['invitationId'] === undefined)
|
|
28
|
+
return false;
|
|
29
|
+
if (!('agencyId' in value) || value['agencyId'] === undefined)
|
|
30
|
+
return false;
|
|
31
|
+
if (!('email' in value) || value['email'] === undefined)
|
|
32
|
+
return false;
|
|
33
|
+
if (!('status' in value) || value['status'] === undefined)
|
|
34
|
+
return false;
|
|
35
|
+
if (!('agencyName' in value) || value['agencyName'] === undefined)
|
|
36
|
+
return false;
|
|
37
|
+
return true;
|
|
38
|
+
}
|
|
39
|
+
export function InvitationDetailsResponseFromJSON(json) {
|
|
40
|
+
return InvitationDetailsResponseFromJSONTyped(json, false);
|
|
41
|
+
}
|
|
42
|
+
export function InvitationDetailsResponseFromJSONTyped(json, ignoreDiscriminator) {
|
|
43
|
+
if (json == null) {
|
|
44
|
+
return json;
|
|
45
|
+
}
|
|
46
|
+
return {
|
|
47
|
+
'invitationId': json['invitationId'],
|
|
48
|
+
'agencyId': json['agencyId'],
|
|
49
|
+
'email': json['email'],
|
|
50
|
+
'status': json['status'],
|
|
51
|
+
'agencyName': json['agencyName'],
|
|
52
|
+
'agencyLogo': json['agencyLogo'] == null ? undefined : json['agencyLogo'],
|
|
53
|
+
};
|
|
54
|
+
}
|
|
55
|
+
export function InvitationDetailsResponseToJSON(json) {
|
|
56
|
+
return InvitationDetailsResponseToJSONTyped(json, false);
|
|
57
|
+
}
|
|
58
|
+
export function InvitationDetailsResponseToJSONTyped(value, ignoreDiscriminator = false) {
|
|
59
|
+
if (value == null) {
|
|
60
|
+
return value;
|
|
61
|
+
}
|
|
62
|
+
return {
|
|
63
|
+
'invitationId': value['invitationId'],
|
|
64
|
+
'agencyId': value['agencyId'],
|
|
65
|
+
'email': value['email'],
|
|
66
|
+
'status': value['status'],
|
|
67
|
+
'agencyName': value['agencyName'],
|
|
68
|
+
'agencyLogo': value['agencyLogo'],
|
|
69
|
+
};
|
|
70
|
+
}
|
|
@@ -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.
|
|
@@ -11,6 +11,7 @@
|
|
|
11
11
|
* https://openapi-generator.tech
|
|
12
12
|
* Do not edit the class manually.
|
|
13
13
|
*/
|
|
14
|
+
import { InvitationDetailsRequestFromJSON, InvitationDetailsRequestToJSON, } from './InvitationDetailsRequest';
|
|
14
15
|
/**
|
|
15
16
|
* Check if a given object implements the InviteMemberRequest interface.
|
|
16
17
|
*/
|
|
@@ -27,7 +28,7 @@ export function InviteMemberRequestFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
27
28
|
return json;
|
|
28
29
|
}
|
|
29
30
|
return {
|
|
30
|
-
'emails': json['emails'],
|
|
31
|
+
'emails': (json['emails'].map(InvitationDetailsRequestFromJSON)),
|
|
31
32
|
};
|
|
32
33
|
}
|
|
33
34
|
export function InviteMemberRequestToJSON(json) {
|
|
@@ -38,6 +39,6 @@ export function InviteMemberRequestToJSONTyped(value, ignoreDiscriminator = fals
|
|
|
38
39
|
return value;
|
|
39
40
|
}
|
|
40
41
|
return {
|
|
41
|
-
'emails': value['emails'],
|
|
42
|
+
'emails': (value['emails'].map(InvitationDetailsRequestToJSON)),
|
|
42
43
|
};
|
|
43
44
|
}
|
|
@@ -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;
|
|
@@ -0,0 +1,69 @@
|
|
|
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 MemberViewResponse interface.
|
|
16
|
+
*/
|
|
17
|
+
export function instanceOfMemberViewResponse(value) {
|
|
18
|
+
if (!('userId' in value) || value['userId'] === undefined)
|
|
19
|
+
return false;
|
|
20
|
+
if (!('firstName' in value) || value['firstName'] === undefined)
|
|
21
|
+
return false;
|
|
22
|
+
if (!('lastName' in value) || value['lastName'] === undefined)
|
|
23
|
+
return false;
|
|
24
|
+
if (!('email' in value) || value['email'] === undefined)
|
|
25
|
+
return false;
|
|
26
|
+
if (!('roleId' in value) || value['roleId'] === undefined)
|
|
27
|
+
return false;
|
|
28
|
+
if (!('roleName' in value) || value['roleName'] === undefined)
|
|
29
|
+
return false;
|
|
30
|
+
if (!('joinedAt' in value) || value['joinedAt'] === undefined)
|
|
31
|
+
return false;
|
|
32
|
+
return true;
|
|
33
|
+
}
|
|
34
|
+
export function MemberViewResponseFromJSON(json) {
|
|
35
|
+
return MemberViewResponseFromJSONTyped(json, false);
|
|
36
|
+
}
|
|
37
|
+
export function MemberViewResponseFromJSONTyped(json, ignoreDiscriminator) {
|
|
38
|
+
if (json == null) {
|
|
39
|
+
return json;
|
|
40
|
+
}
|
|
41
|
+
return {
|
|
42
|
+
'userId': json['userId'],
|
|
43
|
+
'firstName': json['firstName'],
|
|
44
|
+
'lastName': json['lastName'],
|
|
45
|
+
'phone': json['phone'] == null ? undefined : json['phone'],
|
|
46
|
+
'email': json['email'],
|
|
47
|
+
'roleId': json['roleId'],
|
|
48
|
+
'roleName': json['roleName'],
|
|
49
|
+
'joinedAt': (new Date(json['joinedAt'])),
|
|
50
|
+
};
|
|
51
|
+
}
|
|
52
|
+
export function MemberViewResponseToJSON(json) {
|
|
53
|
+
return MemberViewResponseToJSONTyped(json, false);
|
|
54
|
+
}
|
|
55
|
+
export function MemberViewResponseToJSONTyped(value, ignoreDiscriminator = false) {
|
|
56
|
+
if (value == null) {
|
|
57
|
+
return value;
|
|
58
|
+
}
|
|
59
|
+
return {
|
|
60
|
+
'userId': value['userId'],
|
|
61
|
+
'firstName': value['firstName'],
|
|
62
|
+
'lastName': value['lastName'],
|
|
63
|
+
'phone': value['phone'],
|
|
64
|
+
'email': value['email'],
|
|
65
|
+
'roleId': value['roleId'],
|
|
66
|
+
'roleName': value['roleName'],
|
|
67
|
+
'joinedAt': value['joinedAt'].toISOString(),
|
|
68
|
+
};
|
|
69
|
+
}
|
|
@@ -0,0 +1,50 @@
|
|
|
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 PageMetadata
|
|
16
|
+
*/
|
|
17
|
+
export interface PageMetadata {
|
|
18
|
+
/**
|
|
19
|
+
*
|
|
20
|
+
* @type {number}
|
|
21
|
+
* @memberof PageMetadata
|
|
22
|
+
*/
|
|
23
|
+
size?: number;
|
|
24
|
+
/**
|
|
25
|
+
*
|
|
26
|
+
* @type {number}
|
|
27
|
+
* @memberof PageMetadata
|
|
28
|
+
*/
|
|
29
|
+
number?: number;
|
|
30
|
+
/**
|
|
31
|
+
*
|
|
32
|
+
* @type {number}
|
|
33
|
+
* @memberof PageMetadata
|
|
34
|
+
*/
|
|
35
|
+
totalElements?: number;
|
|
36
|
+
/**
|
|
37
|
+
*
|
|
38
|
+
* @type {number}
|
|
39
|
+
* @memberof PageMetadata
|
|
40
|
+
*/
|
|
41
|
+
totalPages?: number;
|
|
42
|
+
}
|
|
43
|
+
/**
|
|
44
|
+
* Check if a given object implements the PageMetadata interface.
|
|
45
|
+
*/
|
|
46
|
+
export declare function instanceOfPageMetadata(value: object): value is PageMetadata;
|
|
47
|
+
export declare function PageMetadataFromJSON(json: any): PageMetadata;
|
|
48
|
+
export declare function PageMetadataFromJSONTyped(json: any, ignoreDiscriminator: boolean): PageMetadata;
|
|
49
|
+
export declare function PageMetadataToJSON(json: any): PageMetadata;
|
|
50
|
+
export declare function PageMetadataToJSONTyped(value?: PageMetadata | null, ignoreDiscriminator?: boolean): any;
|
|
@@ -0,0 +1,47 @@
|
|
|
1
|
+
/* tslint:disable */
|
|
2
|
+
/* eslint-disable */
|
|
3
|
+
/**
|
|
4
|
+
* Service API
|
|
5
|
+
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
|
|
6
|
+
*
|
|
7
|
+
* The version of the OpenAPI document: v1
|
|
8
|
+
*
|
|
9
|
+
*
|
|
10
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
11
|
+
* https://openapi-generator.tech
|
|
12
|
+
* Do not edit the class manually.
|
|
13
|
+
*/
|
|
14
|
+
/**
|
|
15
|
+
* Check if a given object implements the PageMetadata interface.
|
|
16
|
+
*/
|
|
17
|
+
export function instanceOfPageMetadata(value) {
|
|
18
|
+
return true;
|
|
19
|
+
}
|
|
20
|
+
export function PageMetadataFromJSON(json) {
|
|
21
|
+
return PageMetadataFromJSONTyped(json, false);
|
|
22
|
+
}
|
|
23
|
+
export function PageMetadataFromJSONTyped(json, ignoreDiscriminator) {
|
|
24
|
+
if (json == null) {
|
|
25
|
+
return json;
|
|
26
|
+
}
|
|
27
|
+
return {
|
|
28
|
+
'size': json['size'] == null ? undefined : json['size'],
|
|
29
|
+
'number': json['number'] == null ? undefined : json['number'],
|
|
30
|
+
'totalElements': json['totalElements'] == null ? undefined : json['totalElements'],
|
|
31
|
+
'totalPages': json['totalPages'] == null ? undefined : json['totalPages'],
|
|
32
|
+
};
|
|
33
|
+
}
|
|
34
|
+
export function PageMetadataToJSON(json) {
|
|
35
|
+
return PageMetadataToJSONTyped(json, false);
|
|
36
|
+
}
|
|
37
|
+
export function PageMetadataToJSONTyped(value, ignoreDiscriminator = false) {
|
|
38
|
+
if (value == null) {
|
|
39
|
+
return value;
|
|
40
|
+
}
|
|
41
|
+
return {
|
|
42
|
+
'size': value['size'],
|
|
43
|
+
'number': value['number'],
|
|
44
|
+
'totalElements': value['totalElements'],
|
|
45
|
+
'totalPages': value['totalPages'],
|
|
46
|
+
};
|
|
47
|
+
}
|
|
@@ -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 Pageable
|
|
16
|
+
*/
|
|
17
|
+
export interface Pageable {
|
|
18
|
+
/**
|
|
19
|
+
*
|
|
20
|
+
* @type {number}
|
|
21
|
+
* @memberof Pageable
|
|
22
|
+
*/
|
|
23
|
+
page?: number;
|
|
24
|
+
/**
|
|
25
|
+
*
|
|
26
|
+
* @type {number}
|
|
27
|
+
* @memberof Pageable
|
|
28
|
+
*/
|
|
29
|
+
size?: number;
|
|
30
|
+
/**
|
|
31
|
+
*
|
|
32
|
+
* @type {Array<string>}
|
|
33
|
+
* @memberof Pageable
|
|
34
|
+
*/
|
|
35
|
+
sort?: Array<string>;
|
|
36
|
+
}
|
|
37
|
+
/**
|
|
38
|
+
* Check if a given object implements the Pageable interface.
|
|
39
|
+
*/
|
|
40
|
+
export declare function instanceOfPageable(value: object): value is Pageable;
|
|
41
|
+
export declare function PageableFromJSON(json: any): Pageable;
|
|
42
|
+
export declare function PageableFromJSONTyped(json: any, ignoreDiscriminator: boolean): Pageable;
|
|
43
|
+
export declare function PageableToJSON(json: any): Pageable;
|
|
44
|
+
export declare function PageableToJSONTyped(value?: Pageable | 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 Pageable interface.
|
|
16
|
+
*/
|
|
17
|
+
export function instanceOfPageable(value) {
|
|
18
|
+
return true;
|
|
19
|
+
}
|
|
20
|
+
export function PageableFromJSON(json) {
|
|
21
|
+
return PageableFromJSONTyped(json, false);
|
|
22
|
+
}
|
|
23
|
+
export function PageableFromJSONTyped(json, ignoreDiscriminator) {
|
|
24
|
+
if (json == null) {
|
|
25
|
+
return json;
|
|
26
|
+
}
|
|
27
|
+
return {
|
|
28
|
+
'page': json['page'] == null ? undefined : json['page'],
|
|
29
|
+
'size': json['size'] == null ? undefined : json['size'],
|
|
30
|
+
'sort': json['sort'] == null ? undefined : json['sort'],
|
|
31
|
+
};
|
|
32
|
+
}
|
|
33
|
+
export function PageableToJSON(json) {
|
|
34
|
+
return PageableToJSONTyped(json, false);
|
|
35
|
+
}
|
|
36
|
+
export function PageableToJSONTyped(value, ignoreDiscriminator = false) {
|
|
37
|
+
if (value == null) {
|
|
38
|
+
return value;
|
|
39
|
+
}
|
|
40
|
+
return {
|
|
41
|
+
'page': value['page'],
|
|
42
|
+
'size': value['size'],
|
|
43
|
+
'sort': value['sort'],
|
|
44
|
+
};
|
|
45
|
+
}
|
|
@@ -0,0 +1,40 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Service API
|
|
3
|
+
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
|
|
4
|
+
*
|
|
5
|
+
* The version of the OpenAPI document: v1
|
|
6
|
+
*
|
|
7
|
+
*
|
|
8
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
9
|
+
* https://openapi-generator.tech
|
|
10
|
+
* Do not edit the class manually.
|
|
11
|
+
*/
|
|
12
|
+
import type { PageMetadata } from './PageMetadata';
|
|
13
|
+
import type { AgencyPeekViewResponse } from './AgencyPeekViewResponse';
|
|
14
|
+
/**
|
|
15
|
+
*
|
|
16
|
+
* @export
|
|
17
|
+
* @interface PagedModelAgencyPeekViewResponse
|
|
18
|
+
*/
|
|
19
|
+
export interface PagedModelAgencyPeekViewResponse {
|
|
20
|
+
/**
|
|
21
|
+
*
|
|
22
|
+
* @type {Array<AgencyPeekViewResponse>}
|
|
23
|
+
* @memberof PagedModelAgencyPeekViewResponse
|
|
24
|
+
*/
|
|
25
|
+
content?: Array<AgencyPeekViewResponse>;
|
|
26
|
+
/**
|
|
27
|
+
*
|
|
28
|
+
* @type {PageMetadata}
|
|
29
|
+
* @memberof PagedModelAgencyPeekViewResponse
|
|
30
|
+
*/
|
|
31
|
+
page?: PageMetadata;
|
|
32
|
+
}
|
|
33
|
+
/**
|
|
34
|
+
* Check if a given object implements the PagedModelAgencyPeekViewResponse interface.
|
|
35
|
+
*/
|
|
36
|
+
export declare function instanceOfPagedModelAgencyPeekViewResponse(value: object): value is PagedModelAgencyPeekViewResponse;
|
|
37
|
+
export declare function PagedModelAgencyPeekViewResponseFromJSON(json: any): PagedModelAgencyPeekViewResponse;
|
|
38
|
+
export declare function PagedModelAgencyPeekViewResponseFromJSONTyped(json: any, ignoreDiscriminator: boolean): PagedModelAgencyPeekViewResponse;
|
|
39
|
+
export declare function PagedModelAgencyPeekViewResponseToJSON(json: any): PagedModelAgencyPeekViewResponse;
|
|
40
|
+
export declare function PagedModelAgencyPeekViewResponseToJSONTyped(value?: PagedModelAgencyPeekViewResponse | 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
|
+
import { PageMetadataFromJSON, PageMetadataToJSON, } from './PageMetadata';
|
|
15
|
+
import { AgencyPeekViewResponseFromJSON, AgencyPeekViewResponseToJSON, } from './AgencyPeekViewResponse';
|
|
16
|
+
/**
|
|
17
|
+
* Check if a given object implements the PagedModelAgencyPeekViewResponse interface.
|
|
18
|
+
*/
|
|
19
|
+
export function instanceOfPagedModelAgencyPeekViewResponse(value) {
|
|
20
|
+
return true;
|
|
21
|
+
}
|
|
22
|
+
export function PagedModelAgencyPeekViewResponseFromJSON(json) {
|
|
23
|
+
return PagedModelAgencyPeekViewResponseFromJSONTyped(json, false);
|
|
24
|
+
}
|
|
25
|
+
export function PagedModelAgencyPeekViewResponseFromJSONTyped(json, ignoreDiscriminator) {
|
|
26
|
+
if (json == null) {
|
|
27
|
+
return json;
|
|
28
|
+
}
|
|
29
|
+
return {
|
|
30
|
+
'content': json['content'] == null ? undefined : (json['content'].map(AgencyPeekViewResponseFromJSON)),
|
|
31
|
+
'page': json['page'] == null ? undefined : PageMetadataFromJSON(json['page']),
|
|
32
|
+
};
|
|
33
|
+
}
|
|
34
|
+
export function PagedModelAgencyPeekViewResponseToJSON(json) {
|
|
35
|
+
return PagedModelAgencyPeekViewResponseToJSONTyped(json, false);
|
|
36
|
+
}
|
|
37
|
+
export function PagedModelAgencyPeekViewResponseToJSONTyped(value, ignoreDiscriminator = false) {
|
|
38
|
+
if (value == null) {
|
|
39
|
+
return value;
|
|
40
|
+
}
|
|
41
|
+
return {
|
|
42
|
+
'content': value['content'] == null ? undefined : (value['content'].map(AgencyPeekViewResponseToJSON)),
|
|
43
|
+
'page': PageMetadataToJSON(value['page']),
|
|
44
|
+
};
|
|
45
|
+
}
|