@homespot-sdk/api 0.0.632 → 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.
Files changed (103) hide show
  1. package/.openapi-generator/FILES +20 -0
  2. package/README.md +27 -13
  3. package/dist/apis/AgencyControllerApi.d.ts +0 -14
  4. package/dist/apis/AgencyControllerApi.js +10 -38
  5. package/dist/apis/AgencyQueryControllerApi.d.ts +53 -1
  6. package/dist/apis/AgencyQueryControllerApi.js +79 -1
  7. package/dist/apis/InvitationControllerApi.d.ts +0 -2
  8. package/dist/apis/InvitationControllerApi.js +5 -7
  9. package/dist/apis/InvitationQueryControllerApi.d.ts +27 -5
  10. package/dist/apis/InvitationQueryControllerApi.js +45 -5
  11. package/dist/apis/MemberQueryControllerApi.d.ts +46 -0
  12. package/dist/apis/MemberQueryControllerApi.js +67 -0
  13. package/dist/apis/index.d.ts +1 -0
  14. package/dist/apis/index.js +1 -0
  15. package/dist/esm/apis/AgencyControllerApi.d.ts +0 -14
  16. package/dist/esm/apis/AgencyControllerApi.js +10 -38
  17. package/dist/esm/apis/AgencyQueryControllerApi.d.ts +53 -1
  18. package/dist/esm/apis/AgencyQueryControllerApi.js +79 -1
  19. package/dist/esm/apis/InvitationControllerApi.d.ts +0 -2
  20. package/dist/esm/apis/InvitationControllerApi.js +5 -7
  21. package/dist/esm/apis/InvitationQueryControllerApi.d.ts +27 -5
  22. package/dist/esm/apis/InvitationQueryControllerApi.js +46 -6
  23. package/dist/esm/apis/MemberQueryControllerApi.d.ts +46 -0
  24. package/dist/esm/apis/MemberQueryControllerApi.js +63 -0
  25. package/dist/esm/apis/index.d.ts +1 -0
  26. package/dist/esm/apis/index.js +1 -0
  27. package/dist/esm/models/AgencyPeekViewResponse.d.ts +102 -0
  28. package/dist/esm/models/AgencyPeekViewResponse.js +88 -0
  29. package/dist/esm/models/InvitationDetailsRequest.d.ts +38 -0
  30. package/dist/esm/models/InvitationDetailsRequest.js +47 -0
  31. package/dist/esm/models/InvitationDetailsResponse.d.ts +72 -0
  32. package/dist/esm/models/InvitationDetailsResponse.js +70 -0
  33. package/dist/esm/models/InviteMemberRequest.d.ts +3 -2
  34. package/dist/esm/models/InviteMemberRequest.js +3 -2
  35. package/dist/esm/models/MemberViewResponse.d.ts +74 -0
  36. package/dist/esm/models/MemberViewResponse.js +69 -0
  37. package/dist/esm/models/PageMetadata.d.ts +50 -0
  38. package/dist/esm/models/PageMetadata.js +47 -0
  39. package/dist/esm/models/Pageable.d.ts +44 -0
  40. package/dist/esm/models/Pageable.js +45 -0
  41. package/dist/esm/models/PagedModelAgencyPeekViewResponse.d.ts +40 -0
  42. package/dist/esm/models/PagedModelAgencyPeekViewResponse.js +45 -0
  43. package/dist/esm/models/PagedModelInvitationViewResponse.d.ts +40 -0
  44. package/dist/esm/models/PagedModelInvitationViewResponse.js +45 -0
  45. package/dist/esm/models/PagedModelMemberViewResponse.d.ts +40 -0
  46. package/dist/esm/models/PagedModelMemberViewResponse.js +45 -0
  47. package/dist/esm/models/index.d.ts +9 -0
  48. package/dist/esm/models/index.js +9 -0
  49. package/dist/models/AgencyPeekViewResponse.d.ts +102 -0
  50. package/dist/models/AgencyPeekViewResponse.js +96 -0
  51. package/dist/models/InvitationDetailsRequest.d.ts +38 -0
  52. package/dist/models/InvitationDetailsRequest.js +54 -0
  53. package/dist/models/InvitationDetailsResponse.d.ts +72 -0
  54. package/dist/models/InvitationDetailsResponse.js +78 -0
  55. package/dist/models/InviteMemberRequest.d.ts +3 -2
  56. package/dist/models/InviteMemberRequest.js +3 -2
  57. package/dist/models/MemberViewResponse.d.ts +74 -0
  58. package/dist/models/MemberViewResponse.js +76 -0
  59. package/dist/models/PageMetadata.d.ts +50 -0
  60. package/dist/models/PageMetadata.js +54 -0
  61. package/dist/models/Pageable.d.ts +44 -0
  62. package/dist/models/Pageable.js +52 -0
  63. package/dist/models/PagedModelAgencyPeekViewResponse.d.ts +40 -0
  64. package/dist/models/PagedModelAgencyPeekViewResponse.js +52 -0
  65. package/dist/models/PagedModelInvitationViewResponse.d.ts +40 -0
  66. package/dist/models/PagedModelInvitationViewResponse.js +52 -0
  67. package/dist/models/PagedModelMemberViewResponse.d.ts +40 -0
  68. package/dist/models/PagedModelMemberViewResponse.js +52 -0
  69. package/dist/models/index.d.ts +9 -0
  70. package/dist/models/index.js +9 -0
  71. package/docs/AgencyControllerApi.md +20 -41
  72. package/docs/AgencyPeekViewResponse.md +54 -0
  73. package/docs/AgencyQueryControllerApi.md +143 -0
  74. package/docs/InvitationControllerApi.md +3 -6
  75. package/docs/InvitationDetailsRequest.md +36 -0
  76. package/docs/InvitationDetailsResponse.md +44 -0
  77. package/docs/InvitationQueryControllerApi.md +78 -5
  78. package/docs/InviteMemberRequest.md +1 -1
  79. package/docs/MemberQueryControllerApi.md +78 -0
  80. package/docs/MemberViewResponse.md +48 -0
  81. package/docs/PageMetadata.md +40 -0
  82. package/docs/Pageable.md +38 -0
  83. package/docs/PagedModelAgencyPeekViewResponse.md +36 -0
  84. package/docs/PagedModelInvitationViewResponse.md +36 -0
  85. package/docs/PagedModelMemberViewResponse.md +36 -0
  86. package/package.json +1 -1
  87. package/src/apis/AgencyControllerApi.ts +10 -80
  88. package/src/apis/AgencyQueryControllerApi.ts +143 -0
  89. package/src/apis/InvitationControllerApi.ts +6 -13
  90. package/src/apis/InvitationQueryControllerApi.ts +91 -12
  91. package/src/apis/MemberQueryControllerApi.ts +102 -0
  92. package/src/apis/index.ts +1 -0
  93. package/src/models/AgencyPeekViewResponse.ts +167 -0
  94. package/src/models/InvitationDetailsRequest.ts +75 -0
  95. package/src/models/InvitationDetailsResponse.ts +123 -0
  96. package/src/models/InviteMemberRequest.ts +12 -4
  97. package/src/models/MemberViewResponse.ts +128 -0
  98. package/src/models/PageMetadata.ts +89 -0
  99. package/src/models/Pageable.ts +81 -0
  100. package/src/models/PagedModelAgencyPeekViewResponse.ts +88 -0
  101. package/src/models/PagedModelInvitationViewResponse.ts +88 -0
  102. package/src/models/PagedModelMemberViewResponse.ts +88 -0
  103. package/src/models/index.ts +9 -0
@@ -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 { InvitationViewResponse } from './InvitationViewResponse';
14
+ /**
15
+ *
16
+ * @export
17
+ * @interface PagedModelInvitationViewResponse
18
+ */
19
+ export interface PagedModelInvitationViewResponse {
20
+ /**
21
+ *
22
+ * @type {Array<InvitationViewResponse>}
23
+ * @memberof PagedModelInvitationViewResponse
24
+ */
25
+ content?: Array<InvitationViewResponse>;
26
+ /**
27
+ *
28
+ * @type {PageMetadata}
29
+ * @memberof PagedModelInvitationViewResponse
30
+ */
31
+ page?: PageMetadata;
32
+ }
33
+ /**
34
+ * Check if a given object implements the PagedModelInvitationViewResponse interface.
35
+ */
36
+ export declare function instanceOfPagedModelInvitationViewResponse(value: object): value is PagedModelInvitationViewResponse;
37
+ export declare function PagedModelInvitationViewResponseFromJSON(json: any): PagedModelInvitationViewResponse;
38
+ export declare function PagedModelInvitationViewResponseFromJSONTyped(json: any, ignoreDiscriminator: boolean): PagedModelInvitationViewResponse;
39
+ export declare function PagedModelInvitationViewResponseToJSON(json: any): PagedModelInvitationViewResponse;
40
+ export declare function PagedModelInvitationViewResponseToJSONTyped(value?: PagedModelInvitationViewResponse | 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 { InvitationViewResponseFromJSON, InvitationViewResponseToJSON, } from './InvitationViewResponse';
16
+ /**
17
+ * Check if a given object implements the PagedModelInvitationViewResponse interface.
18
+ */
19
+ export function instanceOfPagedModelInvitationViewResponse(value) {
20
+ return true;
21
+ }
22
+ export function PagedModelInvitationViewResponseFromJSON(json) {
23
+ return PagedModelInvitationViewResponseFromJSONTyped(json, false);
24
+ }
25
+ export function PagedModelInvitationViewResponseFromJSONTyped(json, ignoreDiscriminator) {
26
+ if (json == null) {
27
+ return json;
28
+ }
29
+ return {
30
+ 'content': json['content'] == null ? undefined : (json['content'].map(InvitationViewResponseFromJSON)),
31
+ 'page': json['page'] == null ? undefined : PageMetadataFromJSON(json['page']),
32
+ };
33
+ }
34
+ export function PagedModelInvitationViewResponseToJSON(json) {
35
+ return PagedModelInvitationViewResponseToJSONTyped(json, false);
36
+ }
37
+ export function PagedModelInvitationViewResponseToJSONTyped(value, ignoreDiscriminator = false) {
38
+ if (value == null) {
39
+ return value;
40
+ }
41
+ return {
42
+ 'content': value['content'] == null ? undefined : (value['content'].map(InvitationViewResponseToJSON)),
43
+ 'page': PageMetadataToJSON(value['page']),
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 { MemberViewResponse } from './MemberViewResponse';
14
+ /**
15
+ *
16
+ * @export
17
+ * @interface PagedModelMemberViewResponse
18
+ */
19
+ export interface PagedModelMemberViewResponse {
20
+ /**
21
+ *
22
+ * @type {Array<MemberViewResponse>}
23
+ * @memberof PagedModelMemberViewResponse
24
+ */
25
+ content?: Array<MemberViewResponse>;
26
+ /**
27
+ *
28
+ * @type {PageMetadata}
29
+ * @memberof PagedModelMemberViewResponse
30
+ */
31
+ page?: PageMetadata;
32
+ }
33
+ /**
34
+ * Check if a given object implements the PagedModelMemberViewResponse interface.
35
+ */
36
+ export declare function instanceOfPagedModelMemberViewResponse(value: object): value is PagedModelMemberViewResponse;
37
+ export declare function PagedModelMemberViewResponseFromJSON(json: any): PagedModelMemberViewResponse;
38
+ export declare function PagedModelMemberViewResponseFromJSONTyped(json: any, ignoreDiscriminator: boolean): PagedModelMemberViewResponse;
39
+ export declare function PagedModelMemberViewResponseToJSON(json: any): PagedModelMemberViewResponse;
40
+ export declare function PagedModelMemberViewResponseToJSONTyped(value?: PagedModelMemberViewResponse | 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 { MemberViewResponseFromJSON, MemberViewResponseToJSON, } from './MemberViewResponse';
16
+ /**
17
+ * Check if a given object implements the PagedModelMemberViewResponse interface.
18
+ */
19
+ export function instanceOfPagedModelMemberViewResponse(value) {
20
+ return true;
21
+ }
22
+ export function PagedModelMemberViewResponseFromJSON(json) {
23
+ return PagedModelMemberViewResponseFromJSONTyped(json, false);
24
+ }
25
+ export function PagedModelMemberViewResponseFromJSONTyped(json, ignoreDiscriminator) {
26
+ if (json == null) {
27
+ return json;
28
+ }
29
+ return {
30
+ 'content': json['content'] == null ? undefined : (json['content'].map(MemberViewResponseFromJSON)),
31
+ 'page': json['page'] == null ? undefined : PageMetadataFromJSON(json['page']),
32
+ };
33
+ }
34
+ export function PagedModelMemberViewResponseToJSON(json) {
35
+ return PagedModelMemberViewResponseToJSONTyped(json, false);
36
+ }
37
+ export function PagedModelMemberViewResponseToJSONTyped(value, ignoreDiscriminator = false) {
38
+ if (value == null) {
39
+ return value;
40
+ }
41
+ return {
42
+ 'content': value['content'] == null ? undefined : (value['content'].map(MemberViewResponseToJSON)),
43
+ 'page': PageMetadataToJSON(value['page']),
44
+ };
45
+ }
@@ -1,11 +1,20 @@
1
1
  export * from './AddressRequest';
2
2
  export * from './AddressViewResponse';
3
+ export * from './AgencyPeekViewResponse';
3
4
  export * from './AgencyViewResponse';
4
5
  export * from './CreateAgencyRequest';
5
6
  export * from './IdResponse';
7
+ export * from './InvitationDetailsRequest';
8
+ export * from './InvitationDetailsResponse';
6
9
  export * from './InvitationViewResponse';
7
10
  export * from './InviteMemberRequest';
11
+ export * from './MemberViewResponse';
8
12
  export * from './OrganizationSummaryViewResponse';
13
+ export * from './PageMetadata';
14
+ export * from './Pageable';
15
+ export * from './PagedModelAgencyPeekViewResponse';
16
+ export * from './PagedModelInvitationViewResponse';
17
+ export * from './PagedModelMemberViewResponse';
9
18
  export * from './PhotoRequest';
10
19
  export * from './PresignedUrlResponse';
11
20
  export * from './PresignedUrlsResponse';
@@ -2,12 +2,21 @@
2
2
  /* eslint-disable */
3
3
  export * from './AddressRequest';
4
4
  export * from './AddressViewResponse';
5
+ export * from './AgencyPeekViewResponse';
5
6
  export * from './AgencyViewResponse';
6
7
  export * from './CreateAgencyRequest';
7
8
  export * from './IdResponse';
9
+ export * from './InvitationDetailsRequest';
10
+ export * from './InvitationDetailsResponse';
8
11
  export * from './InvitationViewResponse';
9
12
  export * from './InviteMemberRequest';
13
+ export * from './MemberViewResponse';
10
14
  export * from './OrganizationSummaryViewResponse';
15
+ export * from './PageMetadata';
16
+ export * from './Pageable';
17
+ export * from './PagedModelAgencyPeekViewResponse';
18
+ export * from './PagedModelInvitationViewResponse';
19
+ export * from './PagedModelMemberViewResponse';
11
20
  export * from './PhotoRequest';
12
21
  export * from './PresignedUrlResponse';
13
22
  export * from './PresignedUrlsResponse';
@@ -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,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<string>}
21
+ * @type {Array<InvitationDetailsRequest>}
21
22
  * @memberof InviteMemberRequest
22
23
  */
23
- emails: Array<string>;
24
+ emails: Array<InvitationDetailsRequest>;
24
25
  }
25
26
  /**
26
27
  * Check if a given object implements the InviteMemberRequest interface.