@homespot-sdk/api 0.0.6
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 +43 -0
- package/.openapi-generator/VERSION +1 -0
- package/.openapi-generator-ignore +23 -0
- package/README.md +149 -0
- package/dist/apis/AgencyControllerApi.d.ts +222 -0
- package/dist/apis/AgencyControllerApi.js +356 -0
- package/dist/apis/AgencyQueryControllerApi.d.ts +45 -0
- package/dist/apis/AgencyQueryControllerApi.js +63 -0
- package/dist/apis/InvitationControllerApi.d.ts +70 -0
- package/dist/apis/InvitationControllerApi.js +104 -0
- package/dist/apis/InvitationQueryControllerApi.d.ts +46 -0
- package/dist/apis/InvitationQueryControllerApi.js +65 -0
- package/dist/apis/index.d.ts +4 -0
- package/dist/apis/index.js +22 -0
- package/dist/esm/apis/AgencyControllerApi.d.ts +222 -0
- package/dist/esm/apis/AgencyControllerApi.js +352 -0
- package/dist/esm/apis/AgencyQueryControllerApi.d.ts +45 -0
- package/dist/esm/apis/AgencyQueryControllerApi.js +59 -0
- package/dist/esm/apis/InvitationControllerApi.d.ts +70 -0
- package/dist/esm/apis/InvitationControllerApi.js +100 -0
- package/dist/esm/apis/InvitationQueryControllerApi.d.ts +46 -0
- package/dist/esm/apis/InvitationQueryControllerApi.js +61 -0
- package/dist/esm/apis/index.d.ts +4 -0
- package/dist/esm/apis/index.js +6 -0
- package/dist/esm/index.d.ts +3 -0
- package/dist/esm/index.js +5 -0
- package/dist/esm/models/AddressRequest.d.ts +56 -0
- package/dist/esm/models/AddressRequest.js +59 -0
- package/dist/esm/models/CreateAgencyRequest.d.ts +69 -0
- package/dist/esm/models/CreateAgencyRequest.js +68 -0
- package/dist/esm/models/IdResponse.d.ts +32 -0
- package/dist/esm/models/IdResponse.js +43 -0
- package/dist/esm/models/InvitationViewResponse.d.ts +79 -0
- package/dist/esm/models/InvitationViewResponse.js +73 -0
- package/dist/esm/models/InviteMemberRequest.d.ts +32 -0
- package/dist/esm/models/InviteMemberRequest.js +43 -0
- package/dist/esm/models/PhotoRequest.d.ts +60 -0
- package/dist/esm/models/PhotoRequest.js +62 -0
- package/dist/esm/models/PresignedUrlResponse.d.ts +44 -0
- package/dist/esm/models/PresignedUrlResponse.js +51 -0
- package/dist/esm/models/PresignedUrlsResponse.d.ts +33 -0
- package/dist/esm/models/PresignedUrlsResponse.js +44 -0
- package/dist/esm/models/RolesRequest.d.ts +54 -0
- package/dist/esm/models/RolesRequest.js +60 -0
- package/dist/esm/models/SocialMediaRequest.d.ts +49 -0
- package/dist/esm/models/SocialMediaRequest.js +55 -0
- package/dist/esm/models/SocialMediasRequest.d.ts +33 -0
- package/dist/esm/models/SocialMediasRequest.js +44 -0
- package/dist/esm/models/UploadAcknowledgmentResponse.d.ts +38 -0
- package/dist/esm/models/UploadAcknowledgmentResponse.js +47 -0
- package/dist/esm/models/index.d.ts +12 -0
- package/dist/esm/models/index.js +14 -0
- package/dist/esm/runtime.d.ts +184 -0
- package/dist/esm/runtime.js +334 -0
- package/dist/index.d.ts +3 -0
- package/dist/index.js +21 -0
- package/dist/models/AddressRequest.d.ts +56 -0
- package/dist/models/AddressRequest.js +66 -0
- package/dist/models/CreateAgencyRequest.d.ts +69 -0
- package/dist/models/CreateAgencyRequest.js +75 -0
- package/dist/models/IdResponse.d.ts +32 -0
- package/dist/models/IdResponse.js +50 -0
- package/dist/models/InvitationViewResponse.d.ts +79 -0
- package/dist/models/InvitationViewResponse.js +81 -0
- package/dist/models/InviteMemberRequest.d.ts +32 -0
- package/dist/models/InviteMemberRequest.js +50 -0
- package/dist/models/PhotoRequest.d.ts +60 -0
- package/dist/models/PhotoRequest.js +70 -0
- package/dist/models/PresignedUrlResponse.d.ts +44 -0
- package/dist/models/PresignedUrlResponse.js +58 -0
- package/dist/models/PresignedUrlsResponse.d.ts +33 -0
- package/dist/models/PresignedUrlsResponse.js +51 -0
- package/dist/models/RolesRequest.d.ts +54 -0
- package/dist/models/RolesRequest.js +68 -0
- package/dist/models/SocialMediaRequest.d.ts +49 -0
- package/dist/models/SocialMediaRequest.js +63 -0
- package/dist/models/SocialMediasRequest.d.ts +33 -0
- package/dist/models/SocialMediasRequest.js +51 -0
- package/dist/models/UploadAcknowledgmentResponse.d.ts +38 -0
- package/dist/models/UploadAcknowledgmentResponse.js +54 -0
- package/dist/models/index.d.ts +12 -0
- package/dist/models/index.js +30 -0
- package/dist/runtime.d.ts +184 -0
- package/dist/runtime.js +350 -0
- package/docs/AddressRequest.md +42 -0
- package/docs/AgencyControllerApi.md +662 -0
- package/docs/AgencyQueryControllerApi.md +78 -0
- package/docs/CreateAgencyRequest.md +46 -0
- package/docs/IdResponse.md +34 -0
- package/docs/InvitationControllerApi.md +154 -0
- package/docs/InvitationQueryControllerApi.md +78 -0
- package/docs/InvitationViewResponse.md +46 -0
- package/docs/InviteMemberRequest.md +34 -0
- package/docs/PhotoRequest.md +40 -0
- package/docs/PresignedUrlResponse.md +38 -0
- package/docs/PresignedUrlsResponse.md +34 -0
- package/docs/RolesRequest.md +38 -0
- package/docs/SocialMediaRequest.md +36 -0
- package/docs/SocialMediasRequest.md +34 -0
- package/docs/UploadAcknowledgmentResponse.md +36 -0
- package/package.json +21 -0
- package/src/apis/AgencyControllerApi.ts +660 -0
- package/src/apis/AgencyQueryControllerApi.ts +88 -0
- package/src/apis/InvitationControllerApi.ts +173 -0
- package/src/apis/InvitationQueryControllerApi.ts +96 -0
- package/src/apis/index.ts +6 -0
- package/src/index.ts +5 -0
- package/src/models/AddressRequest.ts +102 -0
- package/src/models/CreateAgencyRequest.ts +128 -0
- package/src/models/IdResponse.ts +66 -0
- package/src/models/InvitationViewResponse.ts +132 -0
- package/src/models/InviteMemberRequest.ts +66 -0
- package/src/models/PhotoRequest.ts +105 -0
- package/src/models/PresignedUrlResponse.ts +84 -0
- package/src/models/PresignedUrlsResponse.ts +74 -0
- package/src/models/RolesRequest.ts +97 -0
- package/src/models/SocialMediaRequest.ts +88 -0
- package/src/models/SocialMediasRequest.ts +74 -0
- package/src/models/UploadAcknowledgmentResponse.ts +75 -0
- package/src/models/index.ts +14 -0
- package/src/runtime.ts +432 -0
- package/tsconfig.esm.json +7 -0
- package/tsconfig.json +16 -0
|
@@ -0,0 +1,352 @@
|
|
|
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
|
+
var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {
|
|
15
|
+
function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
|
|
16
|
+
return new (P || (P = Promise))(function (resolve, reject) {
|
|
17
|
+
function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }
|
|
18
|
+
function rejected(value) { try { step(generator["throw"](value)); } catch (e) { reject(e); } }
|
|
19
|
+
function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }
|
|
20
|
+
step((generator = generator.apply(thisArg, _arguments || [])).next());
|
|
21
|
+
});
|
|
22
|
+
};
|
|
23
|
+
import * as runtime from '../runtime';
|
|
24
|
+
import { CreateAgencyRequestToJSON, IdResponseFromJSON, PhotoRequestToJSON, PresignedUrlsResponseFromJSON, RolesRequestToJSON, SocialMediasRequestToJSON, UploadAcknowledgmentResponseFromJSON, } from '../models/index';
|
|
25
|
+
/**
|
|
26
|
+
*
|
|
27
|
+
*/
|
|
28
|
+
export class AgencyControllerApi extends runtime.BaseAPI {
|
|
29
|
+
/**
|
|
30
|
+
*/
|
|
31
|
+
activateAgencyRaw(requestParameters, initOverrides) {
|
|
32
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
33
|
+
if (requestParameters['agencyId'] == null) {
|
|
34
|
+
throw new runtime.RequiredError('agencyId', 'Required parameter "agencyId" was null or undefined when calling activateAgency().');
|
|
35
|
+
}
|
|
36
|
+
const queryParameters = {};
|
|
37
|
+
const headerParameters = {};
|
|
38
|
+
if (this.configuration && this.configuration.accessToken) {
|
|
39
|
+
// oauth required
|
|
40
|
+
headerParameters["Authorization"] = yield this.configuration.accessToken("keycloak", []);
|
|
41
|
+
}
|
|
42
|
+
let urlPath = `/agency/{agencyId}/activate`;
|
|
43
|
+
urlPath = urlPath.replace(`{${"agencyId"}}`, encodeURIComponent(String(requestParameters['agencyId'])));
|
|
44
|
+
const response = yield this.request({
|
|
45
|
+
path: urlPath,
|
|
46
|
+
method: 'POST',
|
|
47
|
+
headers: headerParameters,
|
|
48
|
+
query: queryParameters,
|
|
49
|
+
}, initOverrides);
|
|
50
|
+
return new runtime.JSONApiResponse(response, (jsonValue) => IdResponseFromJSON(jsonValue));
|
|
51
|
+
});
|
|
52
|
+
}
|
|
53
|
+
/**
|
|
54
|
+
*/
|
|
55
|
+
activateAgency(requestParameters, initOverrides) {
|
|
56
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
57
|
+
const response = yield this.activateAgencyRaw(requestParameters, initOverrides);
|
|
58
|
+
return yield response.value();
|
|
59
|
+
});
|
|
60
|
+
}
|
|
61
|
+
/**
|
|
62
|
+
*/
|
|
63
|
+
addRoleRaw(requestParameters, initOverrides) {
|
|
64
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
65
|
+
if (requestParameters['agencyId'] == null) {
|
|
66
|
+
throw new runtime.RequiredError('agencyId', 'Required parameter "agencyId" was null or undefined when calling addRole().');
|
|
67
|
+
}
|
|
68
|
+
if (requestParameters['rolesRequest'] == null) {
|
|
69
|
+
throw new runtime.RequiredError('rolesRequest', 'Required parameter "rolesRequest" was null or undefined when calling addRole().');
|
|
70
|
+
}
|
|
71
|
+
const queryParameters = {};
|
|
72
|
+
const headerParameters = {};
|
|
73
|
+
headerParameters['Content-Type'] = 'application/json';
|
|
74
|
+
if (this.configuration && this.configuration.accessToken) {
|
|
75
|
+
// oauth required
|
|
76
|
+
headerParameters["Authorization"] = yield this.configuration.accessToken("keycloak", []);
|
|
77
|
+
}
|
|
78
|
+
let urlPath = `/agency/{agencyId}/roles`;
|
|
79
|
+
urlPath = urlPath.replace(`{${"agencyId"}}`, encodeURIComponent(String(requestParameters['agencyId'])));
|
|
80
|
+
const response = yield this.request({
|
|
81
|
+
path: urlPath,
|
|
82
|
+
method: 'POST',
|
|
83
|
+
headers: headerParameters,
|
|
84
|
+
query: queryParameters,
|
|
85
|
+
body: RolesRequestToJSON(requestParameters['rolesRequest']),
|
|
86
|
+
}, initOverrides);
|
|
87
|
+
return new runtime.VoidApiResponse(response);
|
|
88
|
+
});
|
|
89
|
+
}
|
|
90
|
+
/**
|
|
91
|
+
*/
|
|
92
|
+
addRole(requestParameters, initOverrides) {
|
|
93
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
94
|
+
yield this.addRoleRaw(requestParameters, initOverrides);
|
|
95
|
+
});
|
|
96
|
+
}
|
|
97
|
+
/**
|
|
98
|
+
*/
|
|
99
|
+
createAgencyRaw(requestParameters, initOverrides) {
|
|
100
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
101
|
+
if (requestParameters['createAgencyRequest'] == null) {
|
|
102
|
+
throw new runtime.RequiredError('createAgencyRequest', 'Required parameter "createAgencyRequest" was null or undefined when calling createAgency().');
|
|
103
|
+
}
|
|
104
|
+
const queryParameters = {};
|
|
105
|
+
const headerParameters = {};
|
|
106
|
+
headerParameters['Content-Type'] = 'application/json';
|
|
107
|
+
if (this.configuration && this.configuration.accessToken) {
|
|
108
|
+
// oauth required
|
|
109
|
+
headerParameters["Authorization"] = yield this.configuration.accessToken("keycloak", []);
|
|
110
|
+
}
|
|
111
|
+
let urlPath = `/agency`;
|
|
112
|
+
const response = yield this.request({
|
|
113
|
+
path: urlPath,
|
|
114
|
+
method: 'POST',
|
|
115
|
+
headers: headerParameters,
|
|
116
|
+
query: queryParameters,
|
|
117
|
+
body: CreateAgencyRequestToJSON(requestParameters['createAgencyRequest']),
|
|
118
|
+
}, initOverrides);
|
|
119
|
+
return new runtime.JSONApiResponse(response, (jsonValue) => IdResponseFromJSON(jsonValue));
|
|
120
|
+
});
|
|
121
|
+
}
|
|
122
|
+
/**
|
|
123
|
+
*/
|
|
124
|
+
createAgency(requestParameters, initOverrides) {
|
|
125
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
126
|
+
const response = yield this.createAgencyRaw(requestParameters, initOverrides);
|
|
127
|
+
return yield response.value();
|
|
128
|
+
});
|
|
129
|
+
}
|
|
130
|
+
/**
|
|
131
|
+
*/
|
|
132
|
+
generatePresignedUrlRaw(requestParameters, initOverrides) {
|
|
133
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
134
|
+
if (requestParameters['agencyId'] == null) {
|
|
135
|
+
throw new runtime.RequiredError('agencyId', 'Required parameter "agencyId" was null or undefined when calling generatePresignedUrl().');
|
|
136
|
+
}
|
|
137
|
+
if (requestParameters['photoRequest'] == null) {
|
|
138
|
+
throw new runtime.RequiredError('photoRequest', 'Required parameter "photoRequest" was null or undefined when calling generatePresignedUrl().');
|
|
139
|
+
}
|
|
140
|
+
const queryParameters = {};
|
|
141
|
+
const headerParameters = {};
|
|
142
|
+
headerParameters['Content-Type'] = 'application/json';
|
|
143
|
+
if (this.configuration && this.configuration.accessToken) {
|
|
144
|
+
// oauth required
|
|
145
|
+
headerParameters["Authorization"] = yield this.configuration.accessToken("keycloak", []);
|
|
146
|
+
}
|
|
147
|
+
let urlPath = `/agency/{agencyId}/presigned-urls`;
|
|
148
|
+
urlPath = urlPath.replace(`{${"agencyId"}}`, encodeURIComponent(String(requestParameters['agencyId'])));
|
|
149
|
+
const response = yield this.request({
|
|
150
|
+
path: urlPath,
|
|
151
|
+
method: 'PUT',
|
|
152
|
+
headers: headerParameters,
|
|
153
|
+
query: queryParameters,
|
|
154
|
+
body: PhotoRequestToJSON(requestParameters['photoRequest']),
|
|
155
|
+
}, initOverrides);
|
|
156
|
+
return new runtime.JSONApiResponse(response, (jsonValue) => PresignedUrlsResponseFromJSON(jsonValue));
|
|
157
|
+
});
|
|
158
|
+
}
|
|
159
|
+
/**
|
|
160
|
+
*/
|
|
161
|
+
generatePresignedUrl(requestParameters, initOverrides) {
|
|
162
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
163
|
+
const response = yield this.generatePresignedUrlRaw(requestParameters, initOverrides);
|
|
164
|
+
return yield response.value();
|
|
165
|
+
});
|
|
166
|
+
}
|
|
167
|
+
/**
|
|
168
|
+
*/
|
|
169
|
+
notifyCoverUploadCompletionRaw(requestParameters, initOverrides) {
|
|
170
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
171
|
+
if (requestParameters['agencyId'] == null) {
|
|
172
|
+
throw new runtime.RequiredError('agencyId', 'Required parameter "agencyId" was null or undefined when calling notifyCoverUploadCompletion().');
|
|
173
|
+
}
|
|
174
|
+
if (requestParameters['photoRequest'] == null) {
|
|
175
|
+
throw new runtime.RequiredError('photoRequest', 'Required parameter "photoRequest" was null or undefined when calling notifyCoverUploadCompletion().');
|
|
176
|
+
}
|
|
177
|
+
const queryParameters = {};
|
|
178
|
+
const headerParameters = {};
|
|
179
|
+
headerParameters['Content-Type'] = 'application/json';
|
|
180
|
+
if (this.configuration && this.configuration.accessToken) {
|
|
181
|
+
// oauth required
|
|
182
|
+
headerParameters["Authorization"] = yield this.configuration.accessToken("keycloak", []);
|
|
183
|
+
}
|
|
184
|
+
let urlPath = `/agency/{agencyId}/presigned-urls/notify/cover`;
|
|
185
|
+
urlPath = urlPath.replace(`{${"agencyId"}}`, encodeURIComponent(String(requestParameters['agencyId'])));
|
|
186
|
+
const response = yield this.request({
|
|
187
|
+
path: urlPath,
|
|
188
|
+
method: 'POST',
|
|
189
|
+
headers: headerParameters,
|
|
190
|
+
query: queryParameters,
|
|
191
|
+
body: PhotoRequestToJSON(requestParameters['photoRequest']),
|
|
192
|
+
}, initOverrides);
|
|
193
|
+
return new runtime.JSONApiResponse(response, (jsonValue) => UploadAcknowledgmentResponseFromJSON(jsonValue));
|
|
194
|
+
});
|
|
195
|
+
}
|
|
196
|
+
/**
|
|
197
|
+
*/
|
|
198
|
+
notifyCoverUploadCompletion(requestParameters, initOverrides) {
|
|
199
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
200
|
+
const response = yield this.notifyCoverUploadCompletionRaw(requestParameters, initOverrides);
|
|
201
|
+
return yield response.value();
|
|
202
|
+
});
|
|
203
|
+
}
|
|
204
|
+
/**
|
|
205
|
+
*/
|
|
206
|
+
notifyLogoUploadCompletionRaw(requestParameters, initOverrides) {
|
|
207
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
208
|
+
if (requestParameters['agencyId'] == null) {
|
|
209
|
+
throw new runtime.RequiredError('agencyId', 'Required parameter "agencyId" was null or undefined when calling notifyLogoUploadCompletion().');
|
|
210
|
+
}
|
|
211
|
+
if (requestParameters['photoRequest'] == null) {
|
|
212
|
+
throw new runtime.RequiredError('photoRequest', 'Required parameter "photoRequest" was null or undefined when calling notifyLogoUploadCompletion().');
|
|
213
|
+
}
|
|
214
|
+
const queryParameters = {};
|
|
215
|
+
const headerParameters = {};
|
|
216
|
+
headerParameters['Content-Type'] = 'application/json';
|
|
217
|
+
if (this.configuration && this.configuration.accessToken) {
|
|
218
|
+
// oauth required
|
|
219
|
+
headerParameters["Authorization"] = yield this.configuration.accessToken("keycloak", []);
|
|
220
|
+
}
|
|
221
|
+
let urlPath = `/agency/{agencyId}/presigned-urls/notify/logo`;
|
|
222
|
+
urlPath = urlPath.replace(`{${"agencyId"}}`, encodeURIComponent(String(requestParameters['agencyId'])));
|
|
223
|
+
const response = yield this.request({
|
|
224
|
+
path: urlPath,
|
|
225
|
+
method: 'POST',
|
|
226
|
+
headers: headerParameters,
|
|
227
|
+
query: queryParameters,
|
|
228
|
+
body: PhotoRequestToJSON(requestParameters['photoRequest']),
|
|
229
|
+
}, initOverrides);
|
|
230
|
+
return new runtime.JSONApiResponse(response, (jsonValue) => UploadAcknowledgmentResponseFromJSON(jsonValue));
|
|
231
|
+
});
|
|
232
|
+
}
|
|
233
|
+
/**
|
|
234
|
+
*/
|
|
235
|
+
notifyLogoUploadCompletion(requestParameters, initOverrides) {
|
|
236
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
237
|
+
const response = yield this.notifyLogoUploadCompletionRaw(requestParameters, initOverrides);
|
|
238
|
+
return yield response.value();
|
|
239
|
+
});
|
|
240
|
+
}
|
|
241
|
+
/**
|
|
242
|
+
*/
|
|
243
|
+
removeRoleRaw(requestParameters, initOverrides) {
|
|
244
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
245
|
+
if (requestParameters['agencyId'] == null) {
|
|
246
|
+
throw new runtime.RequiredError('agencyId', 'Required parameter "agencyId" was null or undefined when calling removeRole().');
|
|
247
|
+
}
|
|
248
|
+
if (requestParameters['roleId'] == null) {
|
|
249
|
+
throw new runtime.RequiredError('roleId', 'Required parameter "roleId" was null or undefined when calling removeRole().');
|
|
250
|
+
}
|
|
251
|
+
const queryParameters = {};
|
|
252
|
+
const headerParameters = {};
|
|
253
|
+
if (this.configuration && this.configuration.accessToken) {
|
|
254
|
+
// oauth required
|
|
255
|
+
headerParameters["Authorization"] = yield this.configuration.accessToken("keycloak", []);
|
|
256
|
+
}
|
|
257
|
+
let urlPath = `/agency/{agencyId}/roles/{roleId}`;
|
|
258
|
+
urlPath = urlPath.replace(`{${"agencyId"}}`, encodeURIComponent(String(requestParameters['agencyId'])));
|
|
259
|
+
urlPath = urlPath.replace(`{${"roleId"}}`, encodeURIComponent(String(requestParameters['roleId'])));
|
|
260
|
+
const response = yield this.request({
|
|
261
|
+
path: urlPath,
|
|
262
|
+
method: 'DELETE',
|
|
263
|
+
headers: headerParameters,
|
|
264
|
+
query: queryParameters,
|
|
265
|
+
}, initOverrides);
|
|
266
|
+
return new runtime.VoidApiResponse(response);
|
|
267
|
+
});
|
|
268
|
+
}
|
|
269
|
+
/**
|
|
270
|
+
*/
|
|
271
|
+
removeRole(requestParameters, initOverrides) {
|
|
272
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
273
|
+
yield this.removeRoleRaw(requestParameters, initOverrides);
|
|
274
|
+
});
|
|
275
|
+
}
|
|
276
|
+
/**
|
|
277
|
+
*/
|
|
278
|
+
updateRoleRaw(requestParameters, initOverrides) {
|
|
279
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
280
|
+
if (requestParameters['agencyId'] == null) {
|
|
281
|
+
throw new runtime.RequiredError('agencyId', 'Required parameter "agencyId" was null or undefined when calling updateRole().');
|
|
282
|
+
}
|
|
283
|
+
if (requestParameters['roleId'] == null) {
|
|
284
|
+
throw new runtime.RequiredError('roleId', 'Required parameter "roleId" was null or undefined when calling updateRole().');
|
|
285
|
+
}
|
|
286
|
+
if (requestParameters['rolesRequest'] == null) {
|
|
287
|
+
throw new runtime.RequiredError('rolesRequest', 'Required parameter "rolesRequest" was null or undefined when calling updateRole().');
|
|
288
|
+
}
|
|
289
|
+
const queryParameters = {};
|
|
290
|
+
const headerParameters = {};
|
|
291
|
+
headerParameters['Content-Type'] = 'application/json';
|
|
292
|
+
if (this.configuration && this.configuration.accessToken) {
|
|
293
|
+
// oauth required
|
|
294
|
+
headerParameters["Authorization"] = yield this.configuration.accessToken("keycloak", []);
|
|
295
|
+
}
|
|
296
|
+
let urlPath = `/agency/{agencyId}/roles/{roleId}`;
|
|
297
|
+
urlPath = urlPath.replace(`{${"agencyId"}}`, encodeURIComponent(String(requestParameters['agencyId'])));
|
|
298
|
+
urlPath = urlPath.replace(`{${"roleId"}}`, encodeURIComponent(String(requestParameters['roleId'])));
|
|
299
|
+
const response = yield this.request({
|
|
300
|
+
path: urlPath,
|
|
301
|
+
method: 'PUT',
|
|
302
|
+
headers: headerParameters,
|
|
303
|
+
query: queryParameters,
|
|
304
|
+
body: RolesRequestToJSON(requestParameters['rolesRequest']),
|
|
305
|
+
}, initOverrides);
|
|
306
|
+
return new runtime.VoidApiResponse(response);
|
|
307
|
+
});
|
|
308
|
+
}
|
|
309
|
+
/**
|
|
310
|
+
*/
|
|
311
|
+
updateRole(requestParameters, initOverrides) {
|
|
312
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
313
|
+
yield this.updateRoleRaw(requestParameters, initOverrides);
|
|
314
|
+
});
|
|
315
|
+
}
|
|
316
|
+
/**
|
|
317
|
+
*/
|
|
318
|
+
updateSocialUrlsRaw(requestParameters, initOverrides) {
|
|
319
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
320
|
+
if (requestParameters['agencyId'] == null) {
|
|
321
|
+
throw new runtime.RequiredError('agencyId', 'Required parameter "agencyId" was null or undefined when calling updateSocialUrls().');
|
|
322
|
+
}
|
|
323
|
+
if (requestParameters['socialMediasRequest'] == null) {
|
|
324
|
+
throw new runtime.RequiredError('socialMediasRequest', 'Required parameter "socialMediasRequest" was null or undefined when calling updateSocialUrls().');
|
|
325
|
+
}
|
|
326
|
+
const queryParameters = {};
|
|
327
|
+
const headerParameters = {};
|
|
328
|
+
headerParameters['Content-Type'] = 'application/json';
|
|
329
|
+
if (this.configuration && this.configuration.accessToken) {
|
|
330
|
+
// oauth required
|
|
331
|
+
headerParameters["Authorization"] = yield this.configuration.accessToken("keycloak", []);
|
|
332
|
+
}
|
|
333
|
+
let urlPath = `/agency/{agencyId}/social-media`;
|
|
334
|
+
urlPath = urlPath.replace(`{${"agencyId"}}`, encodeURIComponent(String(requestParameters['agencyId'])));
|
|
335
|
+
const response = yield this.request({
|
|
336
|
+
path: urlPath,
|
|
337
|
+
method: 'PUT',
|
|
338
|
+
headers: headerParameters,
|
|
339
|
+
query: queryParameters,
|
|
340
|
+
body: SocialMediasRequestToJSON(requestParameters['socialMediasRequest']),
|
|
341
|
+
}, initOverrides);
|
|
342
|
+
return new runtime.VoidApiResponse(response);
|
|
343
|
+
});
|
|
344
|
+
}
|
|
345
|
+
/**
|
|
346
|
+
*/
|
|
347
|
+
updateSocialUrls(requestParameters, initOverrides) {
|
|
348
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
349
|
+
yield this.updateSocialUrlsRaw(requestParameters, initOverrides);
|
|
350
|
+
});
|
|
351
|
+
}
|
|
352
|
+
}
|
|
@@ -0,0 +1,45 @@
|
|
|
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 * as runtime from '../runtime';
|
|
13
|
+
export interface GetAgencyRequest {
|
|
14
|
+
agencyId: string;
|
|
15
|
+
}
|
|
16
|
+
/**
|
|
17
|
+
* AgencyQueryControllerApi - interface
|
|
18
|
+
*
|
|
19
|
+
* @export
|
|
20
|
+
* @interface AgencyQueryControllerApiInterface
|
|
21
|
+
*/
|
|
22
|
+
export interface AgencyQueryControllerApiInterface {
|
|
23
|
+
/**
|
|
24
|
+
*
|
|
25
|
+
* @param {string} agencyId
|
|
26
|
+
* @param {*} [options] Override http request option.
|
|
27
|
+
* @throws {RequiredError}
|
|
28
|
+
* @memberof AgencyQueryControllerApiInterface
|
|
29
|
+
*/
|
|
30
|
+
getAgencyRaw(requestParameters: GetAgencyRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<void>>;
|
|
31
|
+
/**
|
|
32
|
+
*/
|
|
33
|
+
getAgency(requestParameters: GetAgencyRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<void>;
|
|
34
|
+
}
|
|
35
|
+
/**
|
|
36
|
+
*
|
|
37
|
+
*/
|
|
38
|
+
export declare class AgencyQueryControllerApi extends runtime.BaseAPI implements AgencyQueryControllerApiInterface {
|
|
39
|
+
/**
|
|
40
|
+
*/
|
|
41
|
+
getAgencyRaw(requestParameters: GetAgencyRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<void>>;
|
|
42
|
+
/**
|
|
43
|
+
*/
|
|
44
|
+
getAgency(requestParameters: GetAgencyRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<void>;
|
|
45
|
+
}
|
|
@@ -0,0 +1,59 @@
|
|
|
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
|
+
var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {
|
|
15
|
+
function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
|
|
16
|
+
return new (P || (P = Promise))(function (resolve, reject) {
|
|
17
|
+
function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }
|
|
18
|
+
function rejected(value) { try { step(generator["throw"](value)); } catch (e) { reject(e); } }
|
|
19
|
+
function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }
|
|
20
|
+
step((generator = generator.apply(thisArg, _arguments || [])).next());
|
|
21
|
+
});
|
|
22
|
+
};
|
|
23
|
+
import * as runtime from '../runtime';
|
|
24
|
+
/**
|
|
25
|
+
*
|
|
26
|
+
*/
|
|
27
|
+
export class AgencyQueryControllerApi extends runtime.BaseAPI {
|
|
28
|
+
/**
|
|
29
|
+
*/
|
|
30
|
+
getAgencyRaw(requestParameters, initOverrides) {
|
|
31
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
32
|
+
if (requestParameters['agencyId'] == null) {
|
|
33
|
+
throw new runtime.RequiredError('agencyId', 'Required parameter "agencyId" was null or undefined when calling getAgency().');
|
|
34
|
+
}
|
|
35
|
+
const queryParameters = {};
|
|
36
|
+
const headerParameters = {};
|
|
37
|
+
if (this.configuration && this.configuration.accessToken) {
|
|
38
|
+
// oauth required
|
|
39
|
+
headerParameters["Authorization"] = yield this.configuration.accessToken("keycloak", []);
|
|
40
|
+
}
|
|
41
|
+
let urlPath = `/agency/{agencyId}`;
|
|
42
|
+
urlPath = urlPath.replace(`{${"agencyId"}}`, encodeURIComponent(String(requestParameters['agencyId'])));
|
|
43
|
+
const response = yield this.request({
|
|
44
|
+
path: urlPath,
|
|
45
|
+
method: 'GET',
|
|
46
|
+
headers: headerParameters,
|
|
47
|
+
query: queryParameters,
|
|
48
|
+
}, initOverrides);
|
|
49
|
+
return new runtime.VoidApiResponse(response);
|
|
50
|
+
});
|
|
51
|
+
}
|
|
52
|
+
/**
|
|
53
|
+
*/
|
|
54
|
+
getAgency(requestParameters, initOverrides) {
|
|
55
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
56
|
+
yield this.getAgencyRaw(requestParameters, initOverrides);
|
|
57
|
+
});
|
|
58
|
+
}
|
|
59
|
+
}
|
|
@@ -0,0 +1,70 @@
|
|
|
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 * as runtime from '../runtime';
|
|
13
|
+
import type { InviteMemberRequest } from '../models/index';
|
|
14
|
+
export interface InviteAcceptedRequest {
|
|
15
|
+
agencyId: string;
|
|
16
|
+
invitationId: string;
|
|
17
|
+
}
|
|
18
|
+
export interface InviteMemberOperationRequest {
|
|
19
|
+
agencyId: string;
|
|
20
|
+
inviteMemberRequest: InviteMemberRequest;
|
|
21
|
+
}
|
|
22
|
+
/**
|
|
23
|
+
* InvitationControllerApi - interface
|
|
24
|
+
*
|
|
25
|
+
* @export
|
|
26
|
+
* @interface InvitationControllerApiInterface
|
|
27
|
+
*/
|
|
28
|
+
export interface InvitationControllerApiInterface {
|
|
29
|
+
/**
|
|
30
|
+
*
|
|
31
|
+
* @param {string} agencyId
|
|
32
|
+
* @param {string} invitationId
|
|
33
|
+
* @param {*} [options] Override http request option.
|
|
34
|
+
* @throws {RequiredError}
|
|
35
|
+
* @memberof InvitationControllerApiInterface
|
|
36
|
+
*/
|
|
37
|
+
inviteAcceptedRaw(requestParameters: InviteAcceptedRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<void>>;
|
|
38
|
+
/**
|
|
39
|
+
*/
|
|
40
|
+
inviteAccepted(requestParameters: InviteAcceptedRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<void>;
|
|
41
|
+
/**
|
|
42
|
+
*
|
|
43
|
+
* @param {string} agencyId
|
|
44
|
+
* @param {InviteMemberRequest} inviteMemberRequest
|
|
45
|
+
* @param {*} [options] Override http request option.
|
|
46
|
+
* @throws {RequiredError}
|
|
47
|
+
* @memberof InvitationControllerApiInterface
|
|
48
|
+
*/
|
|
49
|
+
inviteMemberRaw(requestParameters: InviteMemberOperationRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<void>>;
|
|
50
|
+
/**
|
|
51
|
+
*/
|
|
52
|
+
inviteMember(requestParameters: InviteMemberOperationRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<void>;
|
|
53
|
+
}
|
|
54
|
+
/**
|
|
55
|
+
*
|
|
56
|
+
*/
|
|
57
|
+
export declare class InvitationControllerApi extends runtime.BaseAPI implements InvitationControllerApiInterface {
|
|
58
|
+
/**
|
|
59
|
+
*/
|
|
60
|
+
inviteAcceptedRaw(requestParameters: InviteAcceptedRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<void>>;
|
|
61
|
+
/**
|
|
62
|
+
*/
|
|
63
|
+
inviteAccepted(requestParameters: InviteAcceptedRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<void>;
|
|
64
|
+
/**
|
|
65
|
+
*/
|
|
66
|
+
inviteMemberRaw(requestParameters: InviteMemberOperationRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<void>>;
|
|
67
|
+
/**
|
|
68
|
+
*/
|
|
69
|
+
inviteMember(requestParameters: InviteMemberOperationRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<void>;
|
|
70
|
+
}
|
|
@@ -0,0 +1,100 @@
|
|
|
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
|
+
var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {
|
|
15
|
+
function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
|
|
16
|
+
return new (P || (P = Promise))(function (resolve, reject) {
|
|
17
|
+
function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }
|
|
18
|
+
function rejected(value) { try { step(generator["throw"](value)); } catch (e) { reject(e); } }
|
|
19
|
+
function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }
|
|
20
|
+
step((generator = generator.apply(thisArg, _arguments || [])).next());
|
|
21
|
+
});
|
|
22
|
+
};
|
|
23
|
+
import * as runtime from '../runtime';
|
|
24
|
+
import { InviteMemberRequestToJSON, } from '../models/index';
|
|
25
|
+
/**
|
|
26
|
+
*
|
|
27
|
+
*/
|
|
28
|
+
export class InvitationControllerApi extends runtime.BaseAPI {
|
|
29
|
+
/**
|
|
30
|
+
*/
|
|
31
|
+
inviteAcceptedRaw(requestParameters, initOverrides) {
|
|
32
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
33
|
+
if (requestParameters['agencyId'] == null) {
|
|
34
|
+
throw new runtime.RequiredError('agencyId', 'Required parameter "agencyId" was null or undefined when calling inviteAccepted().');
|
|
35
|
+
}
|
|
36
|
+
if (requestParameters['invitationId'] == null) {
|
|
37
|
+
throw new runtime.RequiredError('invitationId', 'Required parameter "invitationId" was null or undefined when calling inviteAccepted().');
|
|
38
|
+
}
|
|
39
|
+
const queryParameters = {};
|
|
40
|
+
const headerParameters = {};
|
|
41
|
+
if (this.configuration && this.configuration.accessToken) {
|
|
42
|
+
// oauth required
|
|
43
|
+
headerParameters["Authorization"] = yield this.configuration.accessToken("keycloak", []);
|
|
44
|
+
}
|
|
45
|
+
let urlPath = `/agency/{agencyId}/invitation/{invitationId}`;
|
|
46
|
+
urlPath = urlPath.replace(`{${"agencyId"}}`, encodeURIComponent(String(requestParameters['agencyId'])));
|
|
47
|
+
urlPath = urlPath.replace(`{${"invitationId"}}`, encodeURIComponent(String(requestParameters['invitationId'])));
|
|
48
|
+
const response = yield this.request({
|
|
49
|
+
path: urlPath,
|
|
50
|
+
method: 'POST',
|
|
51
|
+
headers: headerParameters,
|
|
52
|
+
query: queryParameters,
|
|
53
|
+
}, initOverrides);
|
|
54
|
+
return new runtime.VoidApiResponse(response);
|
|
55
|
+
});
|
|
56
|
+
}
|
|
57
|
+
/**
|
|
58
|
+
*/
|
|
59
|
+
inviteAccepted(requestParameters, initOverrides) {
|
|
60
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
61
|
+
yield this.inviteAcceptedRaw(requestParameters, initOverrides);
|
|
62
|
+
});
|
|
63
|
+
}
|
|
64
|
+
/**
|
|
65
|
+
*/
|
|
66
|
+
inviteMemberRaw(requestParameters, initOverrides) {
|
|
67
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
68
|
+
if (requestParameters['agencyId'] == null) {
|
|
69
|
+
throw new runtime.RequiredError('agencyId', 'Required parameter "agencyId" was null or undefined when calling inviteMember().');
|
|
70
|
+
}
|
|
71
|
+
if (requestParameters['inviteMemberRequest'] == null) {
|
|
72
|
+
throw new runtime.RequiredError('inviteMemberRequest', 'Required parameter "inviteMemberRequest" was null or undefined when calling inviteMember().');
|
|
73
|
+
}
|
|
74
|
+
const queryParameters = {};
|
|
75
|
+
const headerParameters = {};
|
|
76
|
+
headerParameters['Content-Type'] = 'application/json';
|
|
77
|
+
if (this.configuration && this.configuration.accessToken) {
|
|
78
|
+
// oauth required
|
|
79
|
+
headerParameters["Authorization"] = yield this.configuration.accessToken("keycloak", []);
|
|
80
|
+
}
|
|
81
|
+
let urlPath = `/agency/{agencyId}/invitation`;
|
|
82
|
+
urlPath = urlPath.replace(`{${"agencyId"}}`, encodeURIComponent(String(requestParameters['agencyId'])));
|
|
83
|
+
const response = yield this.request({
|
|
84
|
+
path: urlPath,
|
|
85
|
+
method: 'POST',
|
|
86
|
+
headers: headerParameters,
|
|
87
|
+
query: queryParameters,
|
|
88
|
+
body: InviteMemberRequestToJSON(requestParameters['inviteMemberRequest']),
|
|
89
|
+
}, initOverrides);
|
|
90
|
+
return new runtime.VoidApiResponse(response);
|
|
91
|
+
});
|
|
92
|
+
}
|
|
93
|
+
/**
|
|
94
|
+
*/
|
|
95
|
+
inviteMember(requestParameters, initOverrides) {
|
|
96
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
97
|
+
yield this.inviteMemberRaw(requestParameters, initOverrides);
|
|
98
|
+
});
|
|
99
|
+
}
|
|
100
|
+
}
|
|
@@ -0,0 +1,46 @@
|
|
|
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 * as runtime from '../runtime';
|
|
13
|
+
import type { InvitationViewResponse } from '../models/index';
|
|
14
|
+
export interface GetAllInvitationsRequest {
|
|
15
|
+
agencyId: string;
|
|
16
|
+
}
|
|
17
|
+
/**
|
|
18
|
+
* InvitationQueryControllerApi - interface
|
|
19
|
+
*
|
|
20
|
+
* @export
|
|
21
|
+
* @interface InvitationQueryControllerApiInterface
|
|
22
|
+
*/
|
|
23
|
+
export interface InvitationQueryControllerApiInterface {
|
|
24
|
+
/**
|
|
25
|
+
*
|
|
26
|
+
* @param {string} agencyId
|
|
27
|
+
* @param {*} [options] Override http request option.
|
|
28
|
+
* @throws {RequiredError}
|
|
29
|
+
* @memberof InvitationQueryControllerApiInterface
|
|
30
|
+
*/
|
|
31
|
+
getAllInvitationsRaw(requestParameters: GetAllInvitationsRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<Array<InvitationViewResponse>>>;
|
|
32
|
+
/**
|
|
33
|
+
*/
|
|
34
|
+
getAllInvitations(requestParameters: GetAllInvitationsRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<Array<InvitationViewResponse>>;
|
|
35
|
+
}
|
|
36
|
+
/**
|
|
37
|
+
*
|
|
38
|
+
*/
|
|
39
|
+
export declare class InvitationQueryControllerApi extends runtime.BaseAPI implements InvitationQueryControllerApiInterface {
|
|
40
|
+
/**
|
|
41
|
+
*/
|
|
42
|
+
getAllInvitationsRaw(requestParameters: GetAllInvitationsRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<Array<InvitationViewResponse>>>;
|
|
43
|
+
/**
|
|
44
|
+
*/
|
|
45
|
+
getAllInvitations(requestParameters: GetAllInvitationsRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<Array<InvitationViewResponse>>;
|
|
46
|
+
}
|