@homespot-sdk/api 0.0.629 → 0.0.631
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 +12 -0
- package/README.md +9 -3
- package/dist/apis/AgencyQueryControllerApi.d.ts +5 -4
- package/dist/apis/AgencyQueryControllerApi.js +4 -2
- package/dist/apis/UserQueryControllerApi.d.ts +42 -0
- package/dist/apis/UserQueryControllerApi.js +61 -0
- package/dist/apis/index.d.ts +1 -0
- package/dist/apis/index.js +1 -0
- package/dist/esm/apis/AgencyQueryControllerApi.d.ts +5 -4
- package/dist/esm/apis/AgencyQueryControllerApi.js +4 -2
- package/dist/esm/apis/UserQueryControllerApi.d.ts +42 -0
- package/dist/esm/apis/UserQueryControllerApi.js +57 -0
- package/dist/esm/apis/index.d.ts +1 -0
- package/dist/esm/apis/index.js +1 -0
- package/dist/esm/models/AddressViewResponse.d.ts +56 -0
- package/dist/esm/models/AddressViewResponse.js +59 -0
- package/dist/esm/models/AgencyViewResponse.d.ts +69 -0
- package/dist/esm/models/AgencyViewResponse.js +68 -0
- package/dist/esm/models/InvitationViewResponse.d.ts +0 -1
- package/dist/esm/models/InvitationViewResponse.js +0 -1
- package/dist/esm/models/OrganizationSummaryViewResponse.d.ts +100 -0
- package/dist/esm/models/OrganizationSummaryViewResponse.js +91 -0
- package/dist/esm/models/UserContextViewResponse.d.ts +40 -0
- package/dist/esm/models/UserContextViewResponse.js +49 -0
- package/dist/esm/models/UserSummaryViewResponse.d.ts +44 -0
- package/dist/esm/models/UserSummaryViewResponse.js +51 -0
- package/dist/esm/models/index.d.ts +5 -0
- package/dist/esm/models/index.js +5 -0
- package/dist/models/AddressViewResponse.d.ts +56 -0
- package/dist/models/AddressViewResponse.js +66 -0
- package/dist/models/AgencyViewResponse.d.ts +69 -0
- package/dist/models/AgencyViewResponse.js +75 -0
- package/dist/models/InvitationViewResponse.d.ts +0 -1
- package/dist/models/InvitationViewResponse.js +0 -1
- package/dist/models/OrganizationSummaryViewResponse.d.ts +100 -0
- package/dist/models/OrganizationSummaryViewResponse.js +99 -0
- package/dist/models/UserContextViewResponse.d.ts +40 -0
- package/dist/models/UserContextViewResponse.js +56 -0
- package/dist/models/UserSummaryViewResponse.d.ts +44 -0
- package/dist/models/UserSummaryViewResponse.js +58 -0
- package/dist/models/index.d.ts +5 -0
- package/dist/models/index.js +5 -0
- package/docs/AddressViewResponse.md +42 -0
- package/docs/AgencyQueryControllerApi.md +3 -3
- package/docs/AgencyViewResponse.md +46 -0
- package/docs/OrganizationSummaryViewResponse.md +50 -0
- package/docs/UserContextViewResponse.md +36 -0
- package/docs/UserQueryControllerApi.md +70 -0
- package/docs/UserSummaryViewResponse.md +38 -0
- package/package.json +1 -1
- package/src/apis/AgencyQueryControllerApi.ts +14 -6
- package/src/apis/UserQueryControllerApi.ts +83 -0
- package/src/apis/index.ts +1 -0
- package/src/models/AddressViewResponse.ts +102 -0
- package/src/models/AgencyViewResponse.ts +128 -0
- package/src/models/InvitationViewResponse.ts +0 -1
- package/src/models/OrganizationSummaryViewResponse.ts +161 -0
- package/src/models/UserContextViewResponse.ts +90 -0
- package/src/models/UserSummaryViewResponse.ts +84 -0
- package/src/models/index.ts +5 -0
|
@@ -0,0 +1,68 @@
|
|
|
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 { AddressViewResponseFromJSON, AddressViewResponseToJSON, } from './AddressViewResponse';
|
|
15
|
+
/**
|
|
16
|
+
* Check if a given object implements the AgencyViewResponse interface.
|
|
17
|
+
*/
|
|
18
|
+
export function instanceOfAgencyViewResponse(value) {
|
|
19
|
+
if (!('name' in value) || value['name'] === undefined)
|
|
20
|
+
return false;
|
|
21
|
+
if (!('email' in value) || value['email'] === undefined)
|
|
22
|
+
return false;
|
|
23
|
+
if (!('seats' in value) || value['seats'] === undefined)
|
|
24
|
+
return false;
|
|
25
|
+
if (!('subDomain' in value) || value['subDomain'] === undefined)
|
|
26
|
+
return false;
|
|
27
|
+
if (!('phone' in value) || value['phone'] === undefined)
|
|
28
|
+
return false;
|
|
29
|
+
if (!('address' in value) || value['address'] === undefined)
|
|
30
|
+
return false;
|
|
31
|
+
if (!('yearSince' in value) || value['yearSince'] === undefined)
|
|
32
|
+
return false;
|
|
33
|
+
return true;
|
|
34
|
+
}
|
|
35
|
+
export function AgencyViewResponseFromJSON(json) {
|
|
36
|
+
return AgencyViewResponseFromJSONTyped(json, false);
|
|
37
|
+
}
|
|
38
|
+
export function AgencyViewResponseFromJSONTyped(json, ignoreDiscriminator) {
|
|
39
|
+
if (json == null) {
|
|
40
|
+
return json;
|
|
41
|
+
}
|
|
42
|
+
return {
|
|
43
|
+
'name': json['name'],
|
|
44
|
+
'email': json['email'],
|
|
45
|
+
'seats': json['seats'],
|
|
46
|
+
'subDomain': json['subDomain'],
|
|
47
|
+
'phone': json['phone'],
|
|
48
|
+
'address': AddressViewResponseFromJSON(json['address']),
|
|
49
|
+
'yearSince': json['yearSince'],
|
|
50
|
+
};
|
|
51
|
+
}
|
|
52
|
+
export function AgencyViewResponseToJSON(json) {
|
|
53
|
+
return AgencyViewResponseToJSONTyped(json, false);
|
|
54
|
+
}
|
|
55
|
+
export function AgencyViewResponseToJSONTyped(value, ignoreDiscriminator = false) {
|
|
56
|
+
if (value == null) {
|
|
57
|
+
return value;
|
|
58
|
+
}
|
|
59
|
+
return {
|
|
60
|
+
'name': value['name'],
|
|
61
|
+
'email': value['email'],
|
|
62
|
+
'seats': value['seats'],
|
|
63
|
+
'subDomain': value['subDomain'],
|
|
64
|
+
'phone': value['phone'],
|
|
65
|
+
'address': AddressViewResponseToJSON(value['address']),
|
|
66
|
+
'yearSince': value['yearSince'],
|
|
67
|
+
};
|
|
68
|
+
}
|
|
@@ -64,7 +64,6 @@ export interface InvitationViewResponse {
|
|
|
64
64
|
export declare const InvitationViewResponseStatusEnum: {
|
|
65
65
|
readonly Pending: "PENDING";
|
|
66
66
|
readonly Accepted: "ACCEPTED";
|
|
67
|
-
readonly Rejected: "REJECTED";
|
|
68
67
|
readonly Cancelled: "CANCELLED";
|
|
69
68
|
readonly Expired: "EXPIRED";
|
|
70
69
|
};
|
|
@@ -0,0 +1,100 @@
|
|
|
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 OrganizationSummaryViewResponse
|
|
16
|
+
*/
|
|
17
|
+
export interface OrganizationSummaryViewResponse {
|
|
18
|
+
/**
|
|
19
|
+
*
|
|
20
|
+
* @type {string}
|
|
21
|
+
* @memberof OrganizationSummaryViewResponse
|
|
22
|
+
*/
|
|
23
|
+
agencyId: string;
|
|
24
|
+
/**
|
|
25
|
+
*
|
|
26
|
+
* @type {boolean}
|
|
27
|
+
* @memberof OrganizationSummaryViewResponse
|
|
28
|
+
*/
|
|
29
|
+
isOwner: boolean;
|
|
30
|
+
/**
|
|
31
|
+
*
|
|
32
|
+
* @type {string}
|
|
33
|
+
* @memberof OrganizationSummaryViewResponse
|
|
34
|
+
*/
|
|
35
|
+
agencyName: string;
|
|
36
|
+
/**
|
|
37
|
+
*
|
|
38
|
+
* @type {string}
|
|
39
|
+
* @memberof OrganizationSummaryViewResponse
|
|
40
|
+
*/
|
|
41
|
+
subDomain: string;
|
|
42
|
+
/**
|
|
43
|
+
*
|
|
44
|
+
* @type {number}
|
|
45
|
+
* @memberof OrganizationSummaryViewResponse
|
|
46
|
+
*/
|
|
47
|
+
roleId?: number;
|
|
48
|
+
/**
|
|
49
|
+
*
|
|
50
|
+
* @type {string}
|
|
51
|
+
* @memberof OrganizationSummaryViewResponse
|
|
52
|
+
*/
|
|
53
|
+
memberId: string;
|
|
54
|
+
/**
|
|
55
|
+
*
|
|
56
|
+
* @type {string}
|
|
57
|
+
* @memberof OrganizationSummaryViewResponse
|
|
58
|
+
*/
|
|
59
|
+
roleName: string;
|
|
60
|
+
/**
|
|
61
|
+
*
|
|
62
|
+
* @type {Array<string>}
|
|
63
|
+
* @memberof OrganizationSummaryViewResponse
|
|
64
|
+
*/
|
|
65
|
+
authorities: Array<OrganizationSummaryViewResponseAuthoritiesEnum>;
|
|
66
|
+
/**
|
|
67
|
+
*
|
|
68
|
+
* @type {string}
|
|
69
|
+
* @memberof OrganizationSummaryViewResponse
|
|
70
|
+
*/
|
|
71
|
+
status: OrganizationSummaryViewResponseStatusEnum;
|
|
72
|
+
}
|
|
73
|
+
/**
|
|
74
|
+
* @export
|
|
75
|
+
*/
|
|
76
|
+
export declare const OrganizationSummaryViewResponseAuthoritiesEnum: {
|
|
77
|
+
readonly PropertiesRead: "properties_read";
|
|
78
|
+
readonly PropertiesWrite: "properties_write";
|
|
79
|
+
readonly AgentsRead: "agents_read";
|
|
80
|
+
readonly AgentsWrite: "agents_write";
|
|
81
|
+
};
|
|
82
|
+
export type OrganizationSummaryViewResponseAuthoritiesEnum = typeof OrganizationSummaryViewResponseAuthoritiesEnum[keyof typeof OrganizationSummaryViewResponseAuthoritiesEnum];
|
|
83
|
+
/**
|
|
84
|
+
* @export
|
|
85
|
+
*/
|
|
86
|
+
export declare const OrganizationSummaryViewResponseStatusEnum: {
|
|
87
|
+
readonly New: "NEW";
|
|
88
|
+
readonly Active: "ACTIVE";
|
|
89
|
+
readonly PaymentFailed: "PAYMENT_FAILED";
|
|
90
|
+
readonly Inactive: "INACTIVE";
|
|
91
|
+
};
|
|
92
|
+
export type OrganizationSummaryViewResponseStatusEnum = typeof OrganizationSummaryViewResponseStatusEnum[keyof typeof OrganizationSummaryViewResponseStatusEnum];
|
|
93
|
+
/**
|
|
94
|
+
* Check if a given object implements the OrganizationSummaryViewResponse interface.
|
|
95
|
+
*/
|
|
96
|
+
export declare function instanceOfOrganizationSummaryViewResponse(value: object): value is OrganizationSummaryViewResponse;
|
|
97
|
+
export declare function OrganizationSummaryViewResponseFromJSON(json: any): OrganizationSummaryViewResponse;
|
|
98
|
+
export declare function OrganizationSummaryViewResponseFromJSONTyped(json: any, ignoreDiscriminator: boolean): OrganizationSummaryViewResponse;
|
|
99
|
+
export declare function OrganizationSummaryViewResponseToJSON(json: any): OrganizationSummaryViewResponse;
|
|
100
|
+
export declare function OrganizationSummaryViewResponseToJSONTyped(value?: OrganizationSummaryViewResponse | null, ignoreDiscriminator?: boolean): any;
|
|
@@ -0,0 +1,91 @@
|
|
|
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 OrganizationSummaryViewResponseAuthoritiesEnum = {
|
|
18
|
+
PropertiesRead: 'properties_read',
|
|
19
|
+
PropertiesWrite: 'properties_write',
|
|
20
|
+
AgentsRead: 'agents_read',
|
|
21
|
+
AgentsWrite: 'agents_write'
|
|
22
|
+
};
|
|
23
|
+
/**
|
|
24
|
+
* @export
|
|
25
|
+
*/
|
|
26
|
+
export const OrganizationSummaryViewResponseStatusEnum = {
|
|
27
|
+
New: 'NEW',
|
|
28
|
+
Active: 'ACTIVE',
|
|
29
|
+
PaymentFailed: 'PAYMENT_FAILED',
|
|
30
|
+
Inactive: 'INACTIVE'
|
|
31
|
+
};
|
|
32
|
+
/**
|
|
33
|
+
* Check if a given object implements the OrganizationSummaryViewResponse interface.
|
|
34
|
+
*/
|
|
35
|
+
export function instanceOfOrganizationSummaryViewResponse(value) {
|
|
36
|
+
if (!('agencyId' in value) || value['agencyId'] === undefined)
|
|
37
|
+
return false;
|
|
38
|
+
if (!('isOwner' in value) || value['isOwner'] === undefined)
|
|
39
|
+
return false;
|
|
40
|
+
if (!('agencyName' in value) || value['agencyName'] === undefined)
|
|
41
|
+
return false;
|
|
42
|
+
if (!('subDomain' in value) || value['subDomain'] === undefined)
|
|
43
|
+
return false;
|
|
44
|
+
if (!('memberId' in value) || value['memberId'] === undefined)
|
|
45
|
+
return false;
|
|
46
|
+
if (!('roleName' in value) || value['roleName'] === undefined)
|
|
47
|
+
return false;
|
|
48
|
+
if (!('authorities' in value) || value['authorities'] === undefined)
|
|
49
|
+
return false;
|
|
50
|
+
if (!('status' in value) || value['status'] === undefined)
|
|
51
|
+
return false;
|
|
52
|
+
return true;
|
|
53
|
+
}
|
|
54
|
+
export function OrganizationSummaryViewResponseFromJSON(json) {
|
|
55
|
+
return OrganizationSummaryViewResponseFromJSONTyped(json, false);
|
|
56
|
+
}
|
|
57
|
+
export function OrganizationSummaryViewResponseFromJSONTyped(json, ignoreDiscriminator) {
|
|
58
|
+
if (json == null) {
|
|
59
|
+
return json;
|
|
60
|
+
}
|
|
61
|
+
return {
|
|
62
|
+
'agencyId': json['agencyId'],
|
|
63
|
+
'isOwner': json['isOwner'],
|
|
64
|
+
'agencyName': json['agencyName'],
|
|
65
|
+
'subDomain': json['subDomain'],
|
|
66
|
+
'roleId': json['roleId'] == null ? undefined : json['roleId'],
|
|
67
|
+
'memberId': json['memberId'],
|
|
68
|
+
'roleName': json['roleName'],
|
|
69
|
+
'authorities': json['authorities'],
|
|
70
|
+
'status': json['status'],
|
|
71
|
+
};
|
|
72
|
+
}
|
|
73
|
+
export function OrganizationSummaryViewResponseToJSON(json) {
|
|
74
|
+
return OrganizationSummaryViewResponseToJSONTyped(json, false);
|
|
75
|
+
}
|
|
76
|
+
export function OrganizationSummaryViewResponseToJSONTyped(value, ignoreDiscriminator = false) {
|
|
77
|
+
if (value == null) {
|
|
78
|
+
return value;
|
|
79
|
+
}
|
|
80
|
+
return {
|
|
81
|
+
'agencyId': value['agencyId'],
|
|
82
|
+
'isOwner': value['isOwner'],
|
|
83
|
+
'agencyName': value['agencyName'],
|
|
84
|
+
'subDomain': value['subDomain'],
|
|
85
|
+
'roleId': value['roleId'],
|
|
86
|
+
'memberId': value['memberId'],
|
|
87
|
+
'roleName': value['roleName'],
|
|
88
|
+
'authorities': value['authorities'],
|
|
89
|
+
'status': value['status'],
|
|
90
|
+
};
|
|
91
|
+
}
|
|
@@ -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 { OrganizationSummaryViewResponse } from './OrganizationSummaryViewResponse';
|
|
13
|
+
import type { UserSummaryViewResponse } from './UserSummaryViewResponse';
|
|
14
|
+
/**
|
|
15
|
+
*
|
|
16
|
+
* @export
|
|
17
|
+
* @interface UserContextViewResponse
|
|
18
|
+
*/
|
|
19
|
+
export interface UserContextViewResponse {
|
|
20
|
+
/**
|
|
21
|
+
*
|
|
22
|
+
* @type {UserSummaryViewResponse}
|
|
23
|
+
* @memberof UserContextViewResponse
|
|
24
|
+
*/
|
|
25
|
+
user: UserSummaryViewResponse;
|
|
26
|
+
/**
|
|
27
|
+
*
|
|
28
|
+
* @type {Array<OrganizationSummaryViewResponse>}
|
|
29
|
+
* @memberof UserContextViewResponse
|
|
30
|
+
*/
|
|
31
|
+
organizations: Array<OrganizationSummaryViewResponse>;
|
|
32
|
+
}
|
|
33
|
+
/**
|
|
34
|
+
* Check if a given object implements the UserContextViewResponse interface.
|
|
35
|
+
*/
|
|
36
|
+
export declare function instanceOfUserContextViewResponse(value: object): value is UserContextViewResponse;
|
|
37
|
+
export declare function UserContextViewResponseFromJSON(json: any): UserContextViewResponse;
|
|
38
|
+
export declare function UserContextViewResponseFromJSONTyped(json: any, ignoreDiscriminator: boolean): UserContextViewResponse;
|
|
39
|
+
export declare function UserContextViewResponseToJSON(json: any): UserContextViewResponse;
|
|
40
|
+
export declare function UserContextViewResponseToJSONTyped(value?: UserContextViewResponse | null, ignoreDiscriminator?: boolean): any;
|
|
@@ -0,0 +1,49 @@
|
|
|
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 { OrganizationSummaryViewResponseFromJSON, OrganizationSummaryViewResponseToJSON, } from './OrganizationSummaryViewResponse';
|
|
15
|
+
import { UserSummaryViewResponseFromJSON, UserSummaryViewResponseToJSON, } from './UserSummaryViewResponse';
|
|
16
|
+
/**
|
|
17
|
+
* Check if a given object implements the UserContextViewResponse interface.
|
|
18
|
+
*/
|
|
19
|
+
export function instanceOfUserContextViewResponse(value) {
|
|
20
|
+
if (!('user' in value) || value['user'] === undefined)
|
|
21
|
+
return false;
|
|
22
|
+
if (!('organizations' in value) || value['organizations'] === undefined)
|
|
23
|
+
return false;
|
|
24
|
+
return true;
|
|
25
|
+
}
|
|
26
|
+
export function UserContextViewResponseFromJSON(json) {
|
|
27
|
+
return UserContextViewResponseFromJSONTyped(json, false);
|
|
28
|
+
}
|
|
29
|
+
export function UserContextViewResponseFromJSONTyped(json, ignoreDiscriminator) {
|
|
30
|
+
if (json == null) {
|
|
31
|
+
return json;
|
|
32
|
+
}
|
|
33
|
+
return {
|
|
34
|
+
'user': UserSummaryViewResponseFromJSON(json['user']),
|
|
35
|
+
'organizations': (json['organizations'].map(OrganizationSummaryViewResponseFromJSON)),
|
|
36
|
+
};
|
|
37
|
+
}
|
|
38
|
+
export function UserContextViewResponseToJSON(json) {
|
|
39
|
+
return UserContextViewResponseToJSONTyped(json, false);
|
|
40
|
+
}
|
|
41
|
+
export function UserContextViewResponseToJSONTyped(value, ignoreDiscriminator = false) {
|
|
42
|
+
if (value == null) {
|
|
43
|
+
return value;
|
|
44
|
+
}
|
|
45
|
+
return {
|
|
46
|
+
'user': UserSummaryViewResponseToJSON(value['user']),
|
|
47
|
+
'organizations': (value['organizations'].map(OrganizationSummaryViewResponseToJSON)),
|
|
48
|
+
};
|
|
49
|
+
}
|
|
@@ -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 UserSummaryViewResponse
|
|
16
|
+
*/
|
|
17
|
+
export interface UserSummaryViewResponse {
|
|
18
|
+
/**
|
|
19
|
+
*
|
|
20
|
+
* @type {string}
|
|
21
|
+
* @memberof UserSummaryViewResponse
|
|
22
|
+
*/
|
|
23
|
+
email: string;
|
|
24
|
+
/**
|
|
25
|
+
*
|
|
26
|
+
* @type {string}
|
|
27
|
+
* @memberof UserSummaryViewResponse
|
|
28
|
+
*/
|
|
29
|
+
firstName: string;
|
|
30
|
+
/**
|
|
31
|
+
*
|
|
32
|
+
* @type {string}
|
|
33
|
+
* @memberof UserSummaryViewResponse
|
|
34
|
+
*/
|
|
35
|
+
lastName: string;
|
|
36
|
+
}
|
|
37
|
+
/**
|
|
38
|
+
* Check if a given object implements the UserSummaryViewResponse interface.
|
|
39
|
+
*/
|
|
40
|
+
export declare function instanceOfUserSummaryViewResponse(value: object): value is UserSummaryViewResponse;
|
|
41
|
+
export declare function UserSummaryViewResponseFromJSON(json: any): UserSummaryViewResponse;
|
|
42
|
+
export declare function UserSummaryViewResponseFromJSONTyped(json: any, ignoreDiscriminator: boolean): UserSummaryViewResponse;
|
|
43
|
+
export declare function UserSummaryViewResponseToJSON(json: any): UserSummaryViewResponse;
|
|
44
|
+
export declare function UserSummaryViewResponseToJSONTyped(value?: UserSummaryViewResponse | null, ignoreDiscriminator?: boolean): any;
|
|
@@ -0,0 +1,51 @@
|
|
|
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 UserSummaryViewResponse interface.
|
|
16
|
+
*/
|
|
17
|
+
export function instanceOfUserSummaryViewResponse(value) {
|
|
18
|
+
if (!('email' in value) || value['email'] === 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
|
+
return true;
|
|
25
|
+
}
|
|
26
|
+
export function UserSummaryViewResponseFromJSON(json) {
|
|
27
|
+
return UserSummaryViewResponseFromJSONTyped(json, false);
|
|
28
|
+
}
|
|
29
|
+
export function UserSummaryViewResponseFromJSONTyped(json, ignoreDiscriminator) {
|
|
30
|
+
if (json == null) {
|
|
31
|
+
return json;
|
|
32
|
+
}
|
|
33
|
+
return {
|
|
34
|
+
'email': json['email'],
|
|
35
|
+
'firstName': json['firstName'],
|
|
36
|
+
'lastName': json['lastName'],
|
|
37
|
+
};
|
|
38
|
+
}
|
|
39
|
+
export function UserSummaryViewResponseToJSON(json) {
|
|
40
|
+
return UserSummaryViewResponseToJSONTyped(json, false);
|
|
41
|
+
}
|
|
42
|
+
export function UserSummaryViewResponseToJSONTyped(value, ignoreDiscriminator = false) {
|
|
43
|
+
if (value == null) {
|
|
44
|
+
return value;
|
|
45
|
+
}
|
|
46
|
+
return {
|
|
47
|
+
'email': value['email'],
|
|
48
|
+
'firstName': value['firstName'],
|
|
49
|
+
'lastName': value['lastName'],
|
|
50
|
+
};
|
|
51
|
+
}
|
|
@@ -1,8 +1,11 @@
|
|
|
1
1
|
export * from './AddressRequest';
|
|
2
|
+
export * from './AddressViewResponse';
|
|
3
|
+
export * from './AgencyViewResponse';
|
|
2
4
|
export * from './CreateAgencyRequest';
|
|
3
5
|
export * from './IdResponse';
|
|
4
6
|
export * from './InvitationViewResponse';
|
|
5
7
|
export * from './InviteMemberRequest';
|
|
8
|
+
export * from './OrganizationSummaryViewResponse';
|
|
6
9
|
export * from './PhotoRequest';
|
|
7
10
|
export * from './PresignedUrlResponse';
|
|
8
11
|
export * from './PresignedUrlsResponse';
|
|
@@ -10,3 +13,5 @@ export * from './RolesRequest';
|
|
|
10
13
|
export * from './SocialMediaRequest';
|
|
11
14
|
export * from './SocialMediasRequest';
|
|
12
15
|
export * from './UploadAcknowledgmentResponse';
|
|
16
|
+
export * from './UserContextViewResponse';
|
|
17
|
+
export * from './UserSummaryViewResponse';
|
package/dist/esm/models/index.js
CHANGED
|
@@ -1,10 +1,13 @@
|
|
|
1
1
|
/* tslint:disable */
|
|
2
2
|
/* eslint-disable */
|
|
3
3
|
export * from './AddressRequest';
|
|
4
|
+
export * from './AddressViewResponse';
|
|
5
|
+
export * from './AgencyViewResponse';
|
|
4
6
|
export * from './CreateAgencyRequest';
|
|
5
7
|
export * from './IdResponse';
|
|
6
8
|
export * from './InvitationViewResponse';
|
|
7
9
|
export * from './InviteMemberRequest';
|
|
10
|
+
export * from './OrganizationSummaryViewResponse';
|
|
8
11
|
export * from './PhotoRequest';
|
|
9
12
|
export * from './PresignedUrlResponse';
|
|
10
13
|
export * from './PresignedUrlsResponse';
|
|
@@ -12,3 +15,5 @@ export * from './RolesRequest';
|
|
|
12
15
|
export * from './SocialMediaRequest';
|
|
13
16
|
export * from './SocialMediasRequest';
|
|
14
17
|
export * from './UploadAcknowledgmentResponse';
|
|
18
|
+
export * from './UserContextViewResponse';
|
|
19
|
+
export * from './UserSummaryViewResponse';
|
|
@@ -0,0 +1,56 @@
|
|
|
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 AddressViewResponse
|
|
16
|
+
*/
|
|
17
|
+
export interface AddressViewResponse {
|
|
18
|
+
/**
|
|
19
|
+
*
|
|
20
|
+
* @type {string}
|
|
21
|
+
* @memberof AddressViewResponse
|
|
22
|
+
*/
|
|
23
|
+
country: string;
|
|
24
|
+
/**
|
|
25
|
+
*
|
|
26
|
+
* @type {string}
|
|
27
|
+
* @memberof AddressViewResponse
|
|
28
|
+
*/
|
|
29
|
+
city: string;
|
|
30
|
+
/**
|
|
31
|
+
*
|
|
32
|
+
* @type {string}
|
|
33
|
+
* @memberof AddressViewResponse
|
|
34
|
+
*/
|
|
35
|
+
district: string;
|
|
36
|
+
/**
|
|
37
|
+
*
|
|
38
|
+
* @type {string}
|
|
39
|
+
* @memberof AddressViewResponse
|
|
40
|
+
*/
|
|
41
|
+
subdistrict: string;
|
|
42
|
+
/**
|
|
43
|
+
*
|
|
44
|
+
* @type {string}
|
|
45
|
+
* @memberof AddressViewResponse
|
|
46
|
+
*/
|
|
47
|
+
street: string;
|
|
48
|
+
}
|
|
49
|
+
/**
|
|
50
|
+
* Check if a given object implements the AddressViewResponse interface.
|
|
51
|
+
*/
|
|
52
|
+
export declare function instanceOfAddressViewResponse(value: object): value is AddressViewResponse;
|
|
53
|
+
export declare function AddressViewResponseFromJSON(json: any): AddressViewResponse;
|
|
54
|
+
export declare function AddressViewResponseFromJSONTyped(json: any, ignoreDiscriminator: boolean): AddressViewResponse;
|
|
55
|
+
export declare function AddressViewResponseToJSON(json: any): AddressViewResponse;
|
|
56
|
+
export declare function AddressViewResponseToJSONTyped(value?: AddressViewResponse | null, ignoreDiscriminator?: boolean): any;
|
|
@@ -0,0 +1,66 @@
|
|
|
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.instanceOfAddressViewResponse = instanceOfAddressViewResponse;
|
|
17
|
+
exports.AddressViewResponseFromJSON = AddressViewResponseFromJSON;
|
|
18
|
+
exports.AddressViewResponseFromJSONTyped = AddressViewResponseFromJSONTyped;
|
|
19
|
+
exports.AddressViewResponseToJSON = AddressViewResponseToJSON;
|
|
20
|
+
exports.AddressViewResponseToJSONTyped = AddressViewResponseToJSONTyped;
|
|
21
|
+
/**
|
|
22
|
+
* Check if a given object implements the AddressViewResponse interface.
|
|
23
|
+
*/
|
|
24
|
+
function instanceOfAddressViewResponse(value) {
|
|
25
|
+
if (!('country' in value) || value['country'] === undefined)
|
|
26
|
+
return false;
|
|
27
|
+
if (!('city' in value) || value['city'] === undefined)
|
|
28
|
+
return false;
|
|
29
|
+
if (!('district' in value) || value['district'] === undefined)
|
|
30
|
+
return false;
|
|
31
|
+
if (!('subdistrict' in value) || value['subdistrict'] === undefined)
|
|
32
|
+
return false;
|
|
33
|
+
if (!('street' in value) || value['street'] === undefined)
|
|
34
|
+
return false;
|
|
35
|
+
return true;
|
|
36
|
+
}
|
|
37
|
+
function AddressViewResponseFromJSON(json) {
|
|
38
|
+
return AddressViewResponseFromJSONTyped(json, false);
|
|
39
|
+
}
|
|
40
|
+
function AddressViewResponseFromJSONTyped(json, ignoreDiscriminator) {
|
|
41
|
+
if (json == null) {
|
|
42
|
+
return json;
|
|
43
|
+
}
|
|
44
|
+
return {
|
|
45
|
+
'country': json['country'],
|
|
46
|
+
'city': json['city'],
|
|
47
|
+
'district': json['district'],
|
|
48
|
+
'subdistrict': json['subdistrict'],
|
|
49
|
+
'street': json['street'],
|
|
50
|
+
};
|
|
51
|
+
}
|
|
52
|
+
function AddressViewResponseToJSON(json) {
|
|
53
|
+
return AddressViewResponseToJSONTyped(json, false);
|
|
54
|
+
}
|
|
55
|
+
function AddressViewResponseToJSONTyped(value, ignoreDiscriminator = false) {
|
|
56
|
+
if (value == null) {
|
|
57
|
+
return value;
|
|
58
|
+
}
|
|
59
|
+
return {
|
|
60
|
+
'country': value['country'],
|
|
61
|
+
'city': value['city'],
|
|
62
|
+
'district': value['district'],
|
|
63
|
+
'subdistrict': value['subdistrict'],
|
|
64
|
+
'street': value['street'],
|
|
65
|
+
};
|
|
66
|
+
}
|