@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.
Files changed (127) hide show
  1. package/.openapi-generator/FILES +24 -0
  2. package/README.md +30 -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 +69 -1
  6. package/dist/apis/AgencyQueryControllerApi.js +107 -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 +69 -1
  18. package/dist/esm/apis/AgencyQueryControllerApi.js +107 -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/GroupedPermissionsResponse.d.ts +48 -0
  30. package/dist/esm/models/GroupedPermissionsResponse.js +56 -0
  31. package/dist/esm/models/InvitationDetailsRequest.d.ts +38 -0
  32. package/dist/esm/models/InvitationDetailsRequest.js +47 -0
  33. package/dist/esm/models/InvitationDetailsResponse.d.ts +72 -0
  34. package/dist/esm/models/InvitationDetailsResponse.js +70 -0
  35. package/dist/esm/models/InviteMemberRequest.d.ts +3 -2
  36. package/dist/esm/models/InviteMemberRequest.js +3 -2
  37. package/dist/esm/models/MemberViewResponse.d.ts +74 -0
  38. package/dist/esm/models/MemberViewResponse.js +69 -0
  39. package/dist/esm/models/OrganizationSummaryViewResponse.d.ts +8 -7
  40. package/dist/esm/models/OrganizationSummaryViewResponse.js +9 -8
  41. package/dist/esm/models/PageMetadata.d.ts +50 -0
  42. package/dist/esm/models/PageMetadata.js +47 -0
  43. package/dist/esm/models/Pageable.d.ts +44 -0
  44. package/dist/esm/models/Pageable.js +45 -0
  45. package/dist/esm/models/PagedModelAgencyPeekViewResponse.d.ts +40 -0
  46. package/dist/esm/models/PagedModelAgencyPeekViewResponse.js +45 -0
  47. package/dist/esm/models/PagedModelInvitationViewResponse.d.ts +40 -0
  48. package/dist/esm/models/PagedModelInvitationViewResponse.js +45 -0
  49. package/dist/esm/models/PagedModelMemberViewResponse.d.ts +40 -0
  50. package/dist/esm/models/PagedModelMemberViewResponse.js +45 -0
  51. package/dist/esm/models/PermissionResponse.d.ts +60 -0
  52. package/dist/esm/models/PermissionResponse.js +67 -0
  53. package/dist/esm/models/RolesRequest.d.ts +8 -7
  54. package/dist/esm/models/RolesRequest.js +9 -8
  55. package/dist/esm/models/index.d.ts +11 -0
  56. package/dist/esm/models/index.js +11 -0
  57. package/dist/models/AgencyPeekViewResponse.d.ts +102 -0
  58. package/dist/models/AgencyPeekViewResponse.js +96 -0
  59. package/dist/models/GroupedPermissionsResponse.d.ts +48 -0
  60. package/dist/models/GroupedPermissionsResponse.js +64 -0
  61. package/dist/models/InvitationDetailsRequest.d.ts +38 -0
  62. package/dist/models/InvitationDetailsRequest.js +54 -0
  63. package/dist/models/InvitationDetailsResponse.d.ts +72 -0
  64. package/dist/models/InvitationDetailsResponse.js +78 -0
  65. package/dist/models/InviteMemberRequest.d.ts +3 -2
  66. package/dist/models/InviteMemberRequest.js +3 -2
  67. package/dist/models/MemberViewResponse.d.ts +74 -0
  68. package/dist/models/MemberViewResponse.js +76 -0
  69. package/dist/models/OrganizationSummaryViewResponse.d.ts +8 -7
  70. package/dist/models/OrganizationSummaryViewResponse.js +10 -9
  71. package/dist/models/PageMetadata.d.ts +50 -0
  72. package/dist/models/PageMetadata.js +54 -0
  73. package/dist/models/Pageable.d.ts +44 -0
  74. package/dist/models/Pageable.js +52 -0
  75. package/dist/models/PagedModelAgencyPeekViewResponse.d.ts +40 -0
  76. package/dist/models/PagedModelAgencyPeekViewResponse.js +52 -0
  77. package/dist/models/PagedModelInvitationViewResponse.d.ts +40 -0
  78. package/dist/models/PagedModelInvitationViewResponse.js +52 -0
  79. package/dist/models/PagedModelMemberViewResponse.d.ts +40 -0
  80. package/dist/models/PagedModelMemberViewResponse.js +52 -0
  81. package/dist/models/PermissionResponse.d.ts +60 -0
  82. package/dist/models/PermissionResponse.js +75 -0
  83. package/dist/models/RolesRequest.d.ts +8 -7
  84. package/dist/models/RolesRequest.js +10 -9
  85. package/dist/models/index.d.ts +11 -0
  86. package/dist/models/index.js +11 -0
  87. package/docs/AgencyControllerApi.md +20 -41
  88. package/docs/AgencyPeekViewResponse.md +54 -0
  89. package/docs/AgencyQueryControllerApi.md +205 -0
  90. package/docs/GroupedPermissionsResponse.md +36 -0
  91. package/docs/InvitationControllerApi.md +3 -6
  92. package/docs/InvitationDetailsRequest.md +36 -0
  93. package/docs/InvitationDetailsResponse.md +44 -0
  94. package/docs/InvitationQueryControllerApi.md +78 -5
  95. package/docs/InviteMemberRequest.md +1 -1
  96. package/docs/MemberQueryControllerApi.md +78 -0
  97. package/docs/MemberViewResponse.md +48 -0
  98. package/docs/OrganizationSummaryViewResponse.md +2 -2
  99. package/docs/PageMetadata.md +40 -0
  100. package/docs/Pageable.md +38 -0
  101. package/docs/PagedModelAgencyPeekViewResponse.md +36 -0
  102. package/docs/PagedModelInvitationViewResponse.md +36 -0
  103. package/docs/PagedModelMemberViewResponse.md +36 -0
  104. package/docs/PermissionResponse.md +36 -0
  105. package/docs/RolesRequest.md +2 -2
  106. package/package.json +1 -1
  107. package/src/apis/AgencyControllerApi.ts +10 -80
  108. package/src/apis/AgencyQueryControllerApi.ts +190 -0
  109. package/src/apis/InvitationControllerApi.ts +6 -13
  110. package/src/apis/InvitationQueryControllerApi.ts +91 -12
  111. package/src/apis/MemberQueryControllerApi.ts +102 -0
  112. package/src/apis/index.ts +1 -0
  113. package/src/models/AgencyPeekViewResponse.ts +167 -0
  114. package/src/models/GroupedPermissionsResponse.ts +95 -0
  115. package/src/models/InvitationDetailsRequest.ts +75 -0
  116. package/src/models/InvitationDetailsResponse.ts +123 -0
  117. package/src/models/InviteMemberRequest.ts +12 -4
  118. package/src/models/MemberViewResponse.ts +128 -0
  119. package/src/models/OrganizationSummaryViewResponse.ts +11 -10
  120. package/src/models/PageMetadata.ts +89 -0
  121. package/src/models/Pageable.ts +81 -0
  122. package/src/models/PagedModelAgencyPeekViewResponse.ts +88 -0
  123. package/src/models/PagedModelInvitationViewResponse.ts +88 -0
  124. package/src/models/PagedModelMemberViewResponse.ts +88 -0
  125. package/src/models/PermissionResponse.ts +101 -0
  126. package/src/models/RolesRequest.ts +11 -10
  127. package/src/models/index.ts +11 -0
@@ -5,6 +5,9 @@ All URIs are relative to *https://gateway.dev.homespot.ge/rem*
5
5
  | Method | HTTP request | Description |
6
6
  |------------- | ------------- | -------------|
7
7
  | [**getAgency**](AgencyQueryControllerApi.md#getagency) | **GET** /agency/{agencyId} | |
8
+ | [**getAgencyBySubdomain**](AgencyQueryControllerApi.md#getagencybysubdomain) | **GET** /agency/subdomain/{subDomain} | |
9
+ | [**getAllAgencies**](AgencyQueryControllerApi.md#getallagencies) | **GET** /agency | |
10
+ | [**getAllPermissions**](AgencyQueryControllerApi.md#getallpermissions) | **GET** /agency/roles/permissions | |
8
11
 
9
12
 
10
13
 
@@ -76,3 +79,205 @@ example().catch(console.error);
76
79
 
77
80
  [[Back to top]](#) [[Back to API list]](../README.md#api-endpoints) [[Back to Model list]](../README.md#models) [[Back to README]](../README.md)
78
81
 
82
+
83
+ ## getAgencyBySubdomain
84
+
85
+ > AgencyPeekViewResponse getAgencyBySubdomain(subDomain)
86
+
87
+
88
+
89
+ ### Example
90
+
91
+ ```ts
92
+ import {
93
+ Configuration,
94
+ AgencyQueryControllerApi,
95
+ } from '@homespot-sdk/api';
96
+ import type { GetAgencyBySubdomainRequest } from '@homespot-sdk/api';
97
+
98
+ async function example() {
99
+ console.log("🚀 Testing @homespot-sdk/api SDK...");
100
+ const config = new Configuration({
101
+ // To configure OAuth2 access token for authorization: keycloak accessCode
102
+ accessToken: "YOUR ACCESS TOKEN",
103
+ });
104
+ const api = new AgencyQueryControllerApi(config);
105
+
106
+ const body = {
107
+ // string
108
+ subDomain: subDomain_example,
109
+ } satisfies GetAgencyBySubdomainRequest;
110
+
111
+ try {
112
+ const data = await api.getAgencyBySubdomain(body);
113
+ console.log(data);
114
+ } catch (error) {
115
+ console.error(error);
116
+ }
117
+ }
118
+
119
+ // Run the test
120
+ example().catch(console.error);
121
+ ```
122
+
123
+ ### Parameters
124
+
125
+
126
+ | Name | Type | Description | Notes |
127
+ |------------- | ------------- | ------------- | -------------|
128
+ | **subDomain** | `string` | | [Defaults to `undefined`] |
129
+
130
+ ### Return type
131
+
132
+ [**AgencyPeekViewResponse**](AgencyPeekViewResponse.md)
133
+
134
+ ### Authorization
135
+
136
+ [keycloak accessCode](../README.md#keycloak-accessCode)
137
+
138
+ ### HTTP request headers
139
+
140
+ - **Content-Type**: Not defined
141
+ - **Accept**: `*/*`
142
+
143
+
144
+ ### HTTP response details
145
+ | Status code | Description | Response headers |
146
+ |-------------|-------------|------------------|
147
+ | **200** | OK | - |
148
+
149
+ [[Back to top]](#) [[Back to API list]](../README.md#api-endpoints) [[Back to Model list]](../README.md#models) [[Back to README]](../README.md)
150
+
151
+
152
+ ## getAllAgencies
153
+
154
+ > PagedModelAgencyPeekViewResponse getAllAgencies(pageable, status)
155
+
156
+
157
+
158
+ ### Example
159
+
160
+ ```ts
161
+ import {
162
+ Configuration,
163
+ AgencyQueryControllerApi,
164
+ } from '@homespot-sdk/api';
165
+ import type { GetAllAgenciesRequest } from '@homespot-sdk/api';
166
+
167
+ async function example() {
168
+ console.log("🚀 Testing @homespot-sdk/api SDK...");
169
+ const config = new Configuration({
170
+ // To configure OAuth2 access token for authorization: keycloak accessCode
171
+ accessToken: "YOUR ACCESS TOKEN",
172
+ });
173
+ const api = new AgencyQueryControllerApi(config);
174
+
175
+ const body = {
176
+ // Pageable
177
+ pageable: ...,
178
+ // 'NEW' | 'ACTIVE' | 'PAYMENT_FAILED' | 'INACTIVE' (optional)
179
+ status: status_example,
180
+ } satisfies GetAllAgenciesRequest;
181
+
182
+ try {
183
+ const data = await api.getAllAgencies(body);
184
+ console.log(data);
185
+ } catch (error) {
186
+ console.error(error);
187
+ }
188
+ }
189
+
190
+ // Run the test
191
+ example().catch(console.error);
192
+ ```
193
+
194
+ ### Parameters
195
+
196
+
197
+ | Name | Type | Description | Notes |
198
+ |------------- | ------------- | ------------- | -------------|
199
+ | **pageable** | [](.md) | | [Defaults to `undefined`] |
200
+ | **status** | `NEW`, `ACTIVE`, `PAYMENT_FAILED`, `INACTIVE` | | [Optional] [Defaults to `undefined`] [Enum: NEW, ACTIVE, PAYMENT_FAILED, INACTIVE] |
201
+
202
+ ### Return type
203
+
204
+ [**PagedModelAgencyPeekViewResponse**](PagedModelAgencyPeekViewResponse.md)
205
+
206
+ ### Authorization
207
+
208
+ [keycloak accessCode](../README.md#keycloak-accessCode)
209
+
210
+ ### HTTP request headers
211
+
212
+ - **Content-Type**: Not defined
213
+ - **Accept**: `*/*`
214
+
215
+
216
+ ### HTTP response details
217
+ | Status code | Description | Response headers |
218
+ |-------------|-------------|------------------|
219
+ | **200** | OK | - |
220
+
221
+ [[Back to top]](#) [[Back to API list]](../README.md#api-endpoints) [[Back to Model list]](../README.md#models) [[Back to README]](../README.md)
222
+
223
+
224
+ ## getAllPermissions
225
+
226
+ > Array<GroupedPermissionsResponse> getAllPermissions()
227
+
228
+
229
+
230
+ ### Example
231
+
232
+ ```ts
233
+ import {
234
+ Configuration,
235
+ AgencyQueryControllerApi,
236
+ } from '@homespot-sdk/api';
237
+ import type { GetAllPermissionsRequest } from '@homespot-sdk/api';
238
+
239
+ async function example() {
240
+ console.log("🚀 Testing @homespot-sdk/api SDK...");
241
+ const config = new Configuration({
242
+ // To configure OAuth2 access token for authorization: keycloak accessCode
243
+ accessToken: "YOUR ACCESS TOKEN",
244
+ });
245
+ const api = new AgencyQueryControllerApi(config);
246
+
247
+ try {
248
+ const data = await api.getAllPermissions();
249
+ console.log(data);
250
+ } catch (error) {
251
+ console.error(error);
252
+ }
253
+ }
254
+
255
+ // Run the test
256
+ example().catch(console.error);
257
+ ```
258
+
259
+ ### Parameters
260
+
261
+ This endpoint does not need any parameter.
262
+
263
+ ### Return type
264
+
265
+ [**Array<GroupedPermissionsResponse>**](GroupedPermissionsResponse.md)
266
+
267
+ ### Authorization
268
+
269
+ [keycloak accessCode](../README.md#keycloak-accessCode)
270
+
271
+ ### HTTP request headers
272
+
273
+ - **Content-Type**: Not defined
274
+ - **Accept**: `*/*`
275
+
276
+
277
+ ### HTTP response details
278
+ | Status code | Description | Response headers |
279
+ |-------------|-------------|------------------|
280
+ | **200** | OK | - |
281
+
282
+ [[Back to top]](#) [[Back to API list]](../README.md#api-endpoints) [[Back to Model list]](../README.md#models) [[Back to README]](../README.md)
283
+
@@ -0,0 +1,36 @@
1
+
2
+ # GroupedPermissionsResponse
3
+
4
+
5
+ ## Properties
6
+
7
+ Name | Type
8
+ ------------ | -------------
9
+ `group` | string
10
+ `permissions` | [Array<PermissionResponse>](PermissionResponse.md)
11
+
12
+ ## Example
13
+
14
+ ```typescript
15
+ import type { GroupedPermissionsResponse } from '@homespot-sdk/api'
16
+
17
+ // TODO: Update the object below with actual values
18
+ const example = {
19
+ "group": null,
20
+ "permissions": null,
21
+ } satisfies GroupedPermissionsResponse
22
+
23
+ console.log(example)
24
+
25
+ // Convert the instance to a JSON string
26
+ const exampleJSON: string = JSON.stringify(example)
27
+ console.log(exampleJSON)
28
+
29
+ // Parse the JSON string back to an object
30
+ const exampleParsed = JSON.parse(exampleJSON) as GroupedPermissionsResponse
31
+ console.log(exampleParsed)
32
+ ```
33
+
34
+ [[Back to top]](#) [[Back to API list]](../README.md#api-endpoints) [[Back to Model list]](../README.md#models) [[Back to README]](../README.md)
35
+
36
+
@@ -4,8 +4,8 @@ All URIs are relative to *https://gateway.dev.homespot.ge/rem*
4
4
 
5
5
  | Method | HTTP request | Description |
6
6
  |------------- | ------------- | -------------|
7
- | [**inviteAccepted**](InvitationControllerApi.md#inviteaccepted) | **POST** /agency/{agencyId}/invitation/{invitationId} | |
8
- | [**inviteMember**](InvitationControllerApi.md#invitememberoperation) | **POST** /agency/{agencyId}/invitation | |
7
+ | [**inviteAccepted**](InvitationControllerApi.md#inviteaccepted) | **POST** /invitation/{invitationId} | |
8
+ | [**inviteMember**](InvitationControllerApi.md#invitememberoperation) | **POST** /invitation | |
9
9
 
10
10
 
11
11
 
@@ -83,7 +83,7 @@ example().catch(console.error);
83
83
 
84
84
  ## inviteMember
85
85
 
86
- > inviteMember(agencyId, inviteMemberRequest)
86
+ > inviteMember(inviteMemberRequest)
87
87
 
88
88
 
89
89
 
@@ -105,8 +105,6 @@ async function example() {
105
105
  const api = new InvitationControllerApi(config);
106
106
 
107
107
  const body = {
108
- // string
109
- agencyId: 38400000-8cf0-11bd-b23e-10b96e4ef00d,
110
108
  // InviteMemberRequest
111
109
  inviteMemberRequest: ...,
112
110
  } satisfies InviteMemberOperationRequest;
@@ -128,7 +126,6 @@ example().catch(console.error);
128
126
 
129
127
  | Name | Type | Description | Notes |
130
128
  |------------- | ------------- | ------------- | -------------|
131
- | **agencyId** | `string` | | [Defaults to `undefined`] |
132
129
  | **inviteMemberRequest** | [InviteMemberRequest](InviteMemberRequest.md) | | |
133
130
 
134
131
  ### Return type
@@ -0,0 +1,36 @@
1
+
2
+ # InvitationDetailsRequest
3
+
4
+
5
+ ## Properties
6
+
7
+ Name | Type
8
+ ------------ | -------------
9
+ `email` | string
10
+ `roleId` | number
11
+
12
+ ## Example
13
+
14
+ ```typescript
15
+ import type { InvitationDetailsRequest } from '@homespot-sdk/api'
16
+
17
+ // TODO: Update the object below with actual values
18
+ const example = {
19
+ "email": null,
20
+ "roleId": null,
21
+ } satisfies InvitationDetailsRequest
22
+
23
+ console.log(example)
24
+
25
+ // Convert the instance to a JSON string
26
+ const exampleJSON: string = JSON.stringify(example)
27
+ console.log(exampleJSON)
28
+
29
+ // Parse the JSON string back to an object
30
+ const exampleParsed = JSON.parse(exampleJSON) as InvitationDetailsRequest
31
+ console.log(exampleParsed)
32
+ ```
33
+
34
+ [[Back to top]](#) [[Back to API list]](../README.md#api-endpoints) [[Back to Model list]](../README.md#models) [[Back to README]](../README.md)
35
+
36
+
@@ -0,0 +1,44 @@
1
+
2
+ # InvitationDetailsResponse
3
+
4
+
5
+ ## Properties
6
+
7
+ Name | Type
8
+ ------------ | -------------
9
+ `invitationId` | string
10
+ `agencyId` | string
11
+ `email` | string
12
+ `status` | string
13
+ `agencyName` | string
14
+ `agencyLogo` | string
15
+
16
+ ## Example
17
+
18
+ ```typescript
19
+ import type { InvitationDetailsResponse } from '@homespot-sdk/api'
20
+
21
+ // TODO: Update the object below with actual values
22
+ const example = {
23
+ "invitationId": null,
24
+ "agencyId": null,
25
+ "email": null,
26
+ "status": null,
27
+ "agencyName": null,
28
+ "agencyLogo": null,
29
+ } satisfies InvitationDetailsResponse
30
+
31
+ console.log(example)
32
+
33
+ // Convert the instance to a JSON string
34
+ const exampleJSON: string = JSON.stringify(example)
35
+ console.log(exampleJSON)
36
+
37
+ // Parse the JSON string back to an object
38
+ const exampleParsed = JSON.parse(exampleJSON) as InvitationDetailsResponse
39
+ console.log(exampleParsed)
40
+ ```
41
+
42
+ [[Back to top]](#) [[Back to API list]](../README.md#api-endpoints) [[Back to Model list]](../README.md#models) [[Back to README]](../README.md)
43
+
44
+
@@ -4,13 +4,14 @@ All URIs are relative to *https://gateway.dev.homespot.ge/rem*
4
4
 
5
5
  | Method | HTTP request | Description |
6
6
  |------------- | ------------- | -------------|
7
- | [**getAllInvitations**](InvitationQueryControllerApi.md#getallinvitations) | **GET** /agency/{agencyId}/invitation | |
7
+ | [**getAllInvitations**](InvitationQueryControllerApi.md#getallinvitations) | **GET** /invitation | |
8
+ | [**getInvitationDetails**](InvitationQueryControllerApi.md#getinvitationdetails) | **GET** /invitation/{invitationId} | |
8
9
 
9
10
 
10
11
 
11
12
  ## getAllInvitations
12
13
 
13
- > Array<InvitationViewResponse> getAllInvitations(agencyId)
14
+ > PagedModelInvitationViewResponse getAllInvitations(pageable)
14
15
 
15
16
 
16
17
 
@@ -32,8 +33,8 @@ async function example() {
32
33
  const api = new InvitationQueryControllerApi(config);
33
34
 
34
35
  const body = {
35
- // string
36
- agencyId: 38400000-8cf0-11bd-b23e-10b96e4ef00d,
36
+ // Pageable
37
+ pageable: ...,
37
38
  } satisfies GetAllInvitationsRequest;
38
39
 
39
40
  try {
@@ -53,11 +54,83 @@ example().catch(console.error);
53
54
 
54
55
  | Name | Type | Description | Notes |
55
56
  |------------- | ------------- | ------------- | -------------|
57
+ | **pageable** | [](.md) | | [Defaults to `undefined`] |
58
+
59
+ ### Return type
60
+
61
+ [**PagedModelInvitationViewResponse**](PagedModelInvitationViewResponse.md)
62
+
63
+ ### Authorization
64
+
65
+ [keycloak accessCode](../README.md#keycloak-accessCode)
66
+
67
+ ### HTTP request headers
68
+
69
+ - **Content-Type**: Not defined
70
+ - **Accept**: `*/*`
71
+
72
+
73
+ ### HTTP response details
74
+ | Status code | Description | Response headers |
75
+ |-------------|-------------|------------------|
76
+ | **200** | OK | - |
77
+
78
+ [[Back to top]](#) [[Back to API list]](../README.md#api-endpoints) [[Back to Model list]](../README.md#models) [[Back to README]](../README.md)
79
+
80
+
81
+ ## getInvitationDetails
82
+
83
+ > InvitationDetailsResponse getInvitationDetails(invitationId, agencyId)
84
+
85
+
86
+
87
+ ### Example
88
+
89
+ ```ts
90
+ import {
91
+ Configuration,
92
+ InvitationQueryControllerApi,
93
+ } from '@homespot-sdk/api';
94
+ import type { GetInvitationDetailsRequest } from '@homespot-sdk/api';
95
+
96
+ async function example() {
97
+ console.log("🚀 Testing @homespot-sdk/api SDK...");
98
+ const config = new Configuration({
99
+ // To configure OAuth2 access token for authorization: keycloak accessCode
100
+ accessToken: "YOUR ACCESS TOKEN",
101
+ });
102
+ const api = new InvitationQueryControllerApi(config);
103
+
104
+ const body = {
105
+ // string
106
+ invitationId: 38400000-8cf0-11bd-b23e-10b96e4ef00d,
107
+ // string
108
+ agencyId: 38400000-8cf0-11bd-b23e-10b96e4ef00d,
109
+ } satisfies GetInvitationDetailsRequest;
110
+
111
+ try {
112
+ const data = await api.getInvitationDetails(body);
113
+ console.log(data);
114
+ } catch (error) {
115
+ console.error(error);
116
+ }
117
+ }
118
+
119
+ // Run the test
120
+ example().catch(console.error);
121
+ ```
122
+
123
+ ### Parameters
124
+
125
+
126
+ | Name | Type | Description | Notes |
127
+ |------------- | ------------- | ------------- | -------------|
128
+ | **invitationId** | `string` | | [Defaults to `undefined`] |
56
129
  | **agencyId** | `string` | | [Defaults to `undefined`] |
57
130
 
58
131
  ### Return type
59
132
 
60
- [**Array<InvitationViewResponse>**](InvitationViewResponse.md)
133
+ [**InvitationDetailsResponse**](InvitationDetailsResponse.md)
61
134
 
62
135
  ### Authorization
63
136
 
@@ -6,7 +6,7 @@
6
6
 
7
7
  Name | Type
8
8
  ------------ | -------------
9
- `emails` | Array<string>
9
+ `emails` | [Array<InvitationDetailsRequest>](InvitationDetailsRequest.md)
10
10
 
11
11
  ## Example
12
12
 
@@ -0,0 +1,78 @@
1
+ # MemberQueryControllerApi
2
+
3
+ All URIs are relative to *https://gateway.dev.homespot.ge/rem*
4
+
5
+ | Method | HTTP request | Description |
6
+ |------------- | ------------- | -------------|
7
+ | [**getAllMembers**](MemberQueryControllerApi.md#getallmembers) | **GET** /member | |
8
+
9
+
10
+
11
+ ## getAllMembers
12
+
13
+ > PagedModelMemberViewResponse getAllMembers(pageable)
14
+
15
+
16
+
17
+ ### Example
18
+
19
+ ```ts
20
+ import {
21
+ Configuration,
22
+ MemberQueryControllerApi,
23
+ } from '@homespot-sdk/api';
24
+ import type { GetAllMembersRequest } from '@homespot-sdk/api';
25
+
26
+ async function example() {
27
+ console.log("🚀 Testing @homespot-sdk/api SDK...");
28
+ const config = new Configuration({
29
+ // To configure OAuth2 access token for authorization: keycloak accessCode
30
+ accessToken: "YOUR ACCESS TOKEN",
31
+ });
32
+ const api = new MemberQueryControllerApi(config);
33
+
34
+ const body = {
35
+ // Pageable
36
+ pageable: ...,
37
+ } satisfies GetAllMembersRequest;
38
+
39
+ try {
40
+ const data = await api.getAllMembers(body);
41
+ console.log(data);
42
+ } catch (error) {
43
+ console.error(error);
44
+ }
45
+ }
46
+
47
+ // Run the test
48
+ example().catch(console.error);
49
+ ```
50
+
51
+ ### Parameters
52
+
53
+
54
+ | Name | Type | Description | Notes |
55
+ |------------- | ------------- | ------------- | -------------|
56
+ | **pageable** | [](.md) | | [Defaults to `undefined`] |
57
+
58
+ ### Return type
59
+
60
+ [**PagedModelMemberViewResponse**](PagedModelMemberViewResponse.md)
61
+
62
+ ### Authorization
63
+
64
+ [keycloak accessCode](../README.md#keycloak-accessCode)
65
+
66
+ ### HTTP request headers
67
+
68
+ - **Content-Type**: Not defined
69
+ - **Accept**: `*/*`
70
+
71
+
72
+ ### HTTP response details
73
+ | Status code | Description | Response headers |
74
+ |-------------|-------------|------------------|
75
+ | **200** | OK | - |
76
+
77
+ [[Back to top]](#) [[Back to API list]](../README.md#api-endpoints) [[Back to Model list]](../README.md#models) [[Back to README]](../README.md)
78
+
@@ -0,0 +1,48 @@
1
+
2
+ # MemberViewResponse
3
+
4
+
5
+ ## Properties
6
+
7
+ Name | Type
8
+ ------------ | -------------
9
+ `userId` | string
10
+ `firstName` | string
11
+ `lastName` | string
12
+ `phone` | string
13
+ `email` | string
14
+ `roleId` | number
15
+ `roleName` | string
16
+ `joinedAt` | Date
17
+
18
+ ## Example
19
+
20
+ ```typescript
21
+ import type { MemberViewResponse } from '@homespot-sdk/api'
22
+
23
+ // TODO: Update the object below with actual values
24
+ const example = {
25
+ "userId": null,
26
+ "firstName": null,
27
+ "lastName": null,
28
+ "phone": null,
29
+ "email": null,
30
+ "roleId": null,
31
+ "roleName": null,
32
+ "joinedAt": null,
33
+ } satisfies MemberViewResponse
34
+
35
+ console.log(example)
36
+
37
+ // Convert the instance to a JSON string
38
+ const exampleJSON: string = JSON.stringify(example)
39
+ console.log(exampleJSON)
40
+
41
+ // Parse the JSON string back to an object
42
+ const exampleParsed = JSON.parse(exampleJSON) as MemberViewResponse
43
+ console.log(exampleParsed)
44
+ ```
45
+
46
+ [[Back to top]](#) [[Back to API list]](../README.md#api-endpoints) [[Back to Model list]](../README.md#models) [[Back to README]](../README.md)
47
+
48
+
@@ -13,7 +13,7 @@ Name | Type
13
13
  `roleId` | number
14
14
  `memberId` | string
15
15
  `roleName` | string
16
- `authorities` | Array<string>
16
+ `permissions` | Array<string>
17
17
  `status` | string
18
18
 
19
19
  ## Example
@@ -30,7 +30,7 @@ const example = {
30
30
  "roleId": null,
31
31
  "memberId": null,
32
32
  "roleName": null,
33
- "authorities": null,
33
+ "permissions": null,
34
34
  "status": null,
35
35
  } satisfies OrganizationSummaryViewResponse
36
36
 
@@ -0,0 +1,40 @@
1
+
2
+ # PageMetadata
3
+
4
+
5
+ ## Properties
6
+
7
+ Name | Type
8
+ ------------ | -------------
9
+ `size` | number
10
+ `number` | number
11
+ `totalElements` | number
12
+ `totalPages` | number
13
+
14
+ ## Example
15
+
16
+ ```typescript
17
+ import type { PageMetadata } from '@homespot-sdk/api'
18
+
19
+ // TODO: Update the object below with actual values
20
+ const example = {
21
+ "size": null,
22
+ "number": null,
23
+ "totalElements": null,
24
+ "totalPages": null,
25
+ } satisfies PageMetadata
26
+
27
+ console.log(example)
28
+
29
+ // Convert the instance to a JSON string
30
+ const exampleJSON: string = JSON.stringify(example)
31
+ console.log(exampleJSON)
32
+
33
+ // Parse the JSON string back to an object
34
+ const exampleParsed = JSON.parse(exampleJSON) as PageMetadata
35
+ console.log(exampleParsed)
36
+ ```
37
+
38
+ [[Back to top]](#) [[Back to API list]](../README.md#api-endpoints) [[Back to Model list]](../README.md#models) [[Back to README]](../README.md)
39
+
40
+