@matech/thebigpos-sdk 2.48.0-rc6 → 2.49.3-rc0
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/.husky/pre-commit +2 -2
- package/LICENSE +21 -21
- package/README.md +0 -10
- package/dist/index.d.ts +836 -298
- package/dist/index.js +583 -250
- package/dist/index.js.map +1 -1
- package/package.json +1 -4
- package/scripts/apply-json-patch-content-type.js +36 -129
- package/src/index.ts +2608 -1902
- package/tsconfig.json +27 -27
package/dist/index.js
CHANGED
|
@@ -30,6 +30,15 @@ var __rest = (this && this.__rest) || function (s, e) {
|
|
|
30
30
|
return t;
|
|
31
31
|
};
|
|
32
32
|
import axios from "axios";
|
|
33
|
+
export var ContentType;
|
|
34
|
+
(function (ContentType) {
|
|
35
|
+
ContentType["JsonPatch"] = "application/json-patch+json";
|
|
36
|
+
ContentType["Json"] = "application/json";
|
|
37
|
+
ContentType["JsonApi"] = "application/vnd.api+json";
|
|
38
|
+
ContentType["FormData"] = "multipart/form-data";
|
|
39
|
+
ContentType["UrlEncoded"] = "application/x-www-form-urlencoded";
|
|
40
|
+
ContentType["Text"] = "text/plain";
|
|
41
|
+
})(ContentType || (ContentType = {}));
|
|
33
42
|
export class HttpClient {
|
|
34
43
|
constructor(_a = {}) {
|
|
35
44
|
var { securityWorker, secure, format } = _a, axiosConfig = __rest(_a, ["securityWorker", "secure", "format"]);
|
|
@@ -45,13 +54,13 @@ export class HttpClient {
|
|
|
45
54
|
{};
|
|
46
55
|
const requestParams = this.mergeRequestParams(params, secureParams);
|
|
47
56
|
const responseFormat = format || this.format || undefined;
|
|
48
|
-
if (type ===
|
|
57
|
+
if (type === ContentType.FormData &&
|
|
49
58
|
body &&
|
|
50
59
|
body !== null &&
|
|
51
60
|
typeof body === "object") {
|
|
52
61
|
body = this.createFormData(body);
|
|
53
62
|
}
|
|
54
|
-
if (type ===
|
|
63
|
+
if (type === ContentType.Text &&
|
|
55
64
|
body &&
|
|
56
65
|
body !== null &&
|
|
57
66
|
typeof body !== "string") {
|
|
@@ -95,7 +104,7 @@ export class HttpClient {
|
|
|
95
104
|
}
|
|
96
105
|
/**
|
|
97
106
|
* @title The Big POS API
|
|
98
|
-
* @version v2.
|
|
107
|
+
* @version v2.49.3
|
|
99
108
|
* @termsOfService https://www.thebigpos.com/terms-of-use/
|
|
100
109
|
* @contact Mortgage Automation Technologies <support@thebigpos.com> (https://www.thebigpos.com/terms-of-use/)
|
|
101
110
|
*/
|
|
@@ -147,7 +156,7 @@ export class Api extends HttpClient {
|
|
|
147
156
|
* @response `404` `ProblemDetails` Not Found
|
|
148
157
|
* @response `422` `ProblemDetails` Unprocessable Content
|
|
149
158
|
*/
|
|
150
|
-
replaceMyAccount: (data, params = {}) => this.request(Object.assign({ path: `/api/account`, method: "PUT", body: data, secure: true, type:
|
|
159
|
+
replaceMyAccount: (data, params = {}) => this.request(Object.assign({ path: `/api/account`, method: "PUT", body: data, secure: true, type: ContentType.Json, format: "json" }, params)),
|
|
151
160
|
/**
|
|
152
161
|
* No description
|
|
153
162
|
*
|
|
@@ -170,30 +179,7 @@ export class Api extends HttpClient {
|
|
|
170
179
|
* @response `200` `SiteConfiguration` OK
|
|
171
180
|
* @response `422` `UnprocessableEntity` Unprocessable Content
|
|
172
181
|
*/
|
|
173
|
-
updateSiteConfigurationForAccount: (data, params = {}) => this.request(Object.assign({ path: `/api/account/site-configurations`, method: "PUT", body: data, secure: true, type:
|
|
174
|
-
/**
|
|
175
|
-
* No description
|
|
176
|
-
*
|
|
177
|
-
* @tags AccountReactivation
|
|
178
|
-
* @name RequestAccountReactivation
|
|
179
|
-
* @summary Request account reactivation
|
|
180
|
-
* @request POST:/api/account/reactivation/request
|
|
181
|
-
* @secure
|
|
182
|
-
* @response `204` `void` No Content
|
|
183
|
-
*/
|
|
184
|
-
requestAccountReactivation: (data, params = {}) => this.request(Object.assign({ path: `/api/account/reactivation/request`, method: "POST", body: data, secure: true, type: "application/json" }, params)),
|
|
185
|
-
/**
|
|
186
|
-
* No description
|
|
187
|
-
*
|
|
188
|
-
* @tags AccountReactivation
|
|
189
|
-
* @name CompleteAccountReactivation
|
|
190
|
-
* @summary Complete account reactivation with new password
|
|
191
|
-
* @request POST:/api/account/reactivation/complete
|
|
192
|
-
* @secure
|
|
193
|
-
* @response `204` `void` No Content
|
|
194
|
-
* @response `400` `ProblemDetails` Bad Request
|
|
195
|
-
*/
|
|
196
|
-
completeAccountReactivation: (data, params = {}) => this.request(Object.assign({ path: `/api/account/reactivation/complete`, method: "POST", body: data, secure: true, type: "application/json" }, params)),
|
|
182
|
+
updateSiteConfigurationForAccount: (data, params = {}) => this.request(Object.assign({ path: `/api/account/site-configurations`, method: "PUT", body: data, secure: true, type: ContentType.Json, format: "json" }, params)),
|
|
197
183
|
/**
|
|
198
184
|
* No description
|
|
199
185
|
*
|
|
@@ -216,7 +202,7 @@ export class Api extends HttpClient {
|
|
|
216
202
|
* @response `201` `Account` Created
|
|
217
203
|
* @response `422` `ProblemDetails` Unprocessable Content
|
|
218
204
|
*/
|
|
219
|
-
createAccount: (data, params = {}) => this.request(Object.assign({ path: `/api/accounts`, method: "POST", body: data, secure: true, type:
|
|
205
|
+
createAccount: (data, params = {}) => this.request(Object.assign({ path: `/api/accounts`, method: "POST", body: data, secure: true, type: ContentType.Json, format: "json" }, params)),
|
|
220
206
|
/**
|
|
221
207
|
* No description
|
|
222
208
|
*
|
|
@@ -254,7 +240,7 @@ export class Api extends HttpClient {
|
|
|
254
240
|
* @response `404` `ProblemDetails` Not Found
|
|
255
241
|
* @response `422` `ProblemDetails` Unprocessable Content
|
|
256
242
|
*/
|
|
257
|
-
updateAccountBilling: (id, data, params = {}) => this.request(Object.assign({ path: `/api/accounts/${id}/billing`, method: "PUT", body: data, secure: true, type:
|
|
243
|
+
updateAccountBilling: (id, data, params = {}) => this.request(Object.assign({ path: `/api/accounts/${id}/billing`, method: "PUT", body: data, secure: true, type: ContentType.Json, format: "json" }, params)),
|
|
258
244
|
/**
|
|
259
245
|
* No description
|
|
260
246
|
*
|
|
@@ -287,7 +273,7 @@ export class Api extends HttpClient {
|
|
|
287
273
|
* @secure
|
|
288
274
|
* @response `204` `void` No Content
|
|
289
275
|
*/
|
|
290
|
-
setAccountAiEnabled: (accountId, data, params = {}) => this.request(Object.assign({ path: `/api/ai/accounts/${accountId}/ai-enabled`, method: "PUT", body: data, secure: true, type:
|
|
276
|
+
setAccountAiEnabled: (accountId, data, params = {}) => this.request(Object.assign({ path: `/api/ai/accounts/${accountId}/ai-enabled`, method: "PUT", body: data, secure: true, type: ContentType.Json }, params)),
|
|
291
277
|
/**
|
|
292
278
|
* No description
|
|
293
279
|
*
|
|
@@ -310,7 +296,7 @@ export class Api extends HttpClient {
|
|
|
310
296
|
* @response `200` `AiAccountSettings` OK
|
|
311
297
|
* @response `400` `ProblemDetails` Bad Request
|
|
312
298
|
*/
|
|
313
|
-
updateAiAccountSettings: (data, params = {}) => this.request(Object.assign({ path: `/api/ai/account-settings`, method: "PUT", body: data, secure: true, type:
|
|
299
|
+
updateAiAccountSettings: (data, params = {}) => this.request(Object.assign({ path: `/api/ai/account-settings`, method: "PUT", body: data, secure: true, type: ContentType.Json, format: "json" }, params)),
|
|
314
300
|
/**
|
|
315
301
|
* No description
|
|
316
302
|
*
|
|
@@ -333,7 +319,7 @@ export class Api extends HttpClient {
|
|
|
333
319
|
* @response `201` `AiPrompt` Created
|
|
334
320
|
* @response `400` `ProblemDetails` Bad Request
|
|
335
321
|
*/
|
|
336
|
-
createAiPrompt: (data, params = {}) => this.request(Object.assign({ path: `/api/ai/prompts`, method: "POST", body: data, secure: true, type:
|
|
322
|
+
createAiPrompt: (data, params = {}) => this.request(Object.assign({ path: `/api/ai/prompts`, method: "POST", body: data, secure: true, type: ContentType.Json, format: "json" }, params)),
|
|
337
323
|
/**
|
|
338
324
|
* No description
|
|
339
325
|
*
|
|
@@ -358,7 +344,7 @@ export class Api extends HttpClient {
|
|
|
358
344
|
* @response `400` `ProblemDetails` Bad Request
|
|
359
345
|
* @response `404` `ProblemDetails` Not Found
|
|
360
346
|
*/
|
|
361
|
-
updateAiPrompt: (id, data, params = {}) => this.request(Object.assign({ path: `/api/ai/prompts/${id}`, method: "PUT", body: data, secure: true, type:
|
|
347
|
+
updateAiPrompt: (id, data, params = {}) => this.request(Object.assign({ path: `/api/ai/prompts/${id}`, method: "PUT", body: data, secure: true, type: ContentType.Json, format: "json" }, params)),
|
|
362
348
|
/**
|
|
363
349
|
* No description
|
|
364
350
|
*
|
|
@@ -395,7 +381,7 @@ export class Api extends HttpClient {
|
|
|
395
381
|
* @response `400` `ProblemDetails` Bad Request
|
|
396
382
|
* @response `404` `ProblemDetails` Not Found
|
|
397
383
|
*/
|
|
398
|
-
updateAiPromptTools: (id, data, params = {}) => this.request(Object.assign({ path: `/api/ai/prompts/${id}/tools`, method: "PUT", body: data, secure: true, type:
|
|
384
|
+
updateAiPromptTools: (id, data, params = {}) => this.request(Object.assign({ path: `/api/ai/prompts/${id}/tools`, method: "PUT", body: data, secure: true, type: ContentType.Json, format: "json" }, params)),
|
|
399
385
|
/**
|
|
400
386
|
* No description
|
|
401
387
|
*
|
|
@@ -419,7 +405,7 @@ export class Api extends HttpClient {
|
|
|
419
405
|
* @response `200` `GenerateSystemPrompt` OK
|
|
420
406
|
* @response `400` `ProblemDetails` Bad Request
|
|
421
407
|
*/
|
|
422
|
-
generateAiSystemPrompt: (data, params = {}) => this.request(Object.assign({ path: `/api/ai/prompts/generate`, method: "POST", body: data, secure: true, type:
|
|
408
|
+
generateAiSystemPrompt: (data, params = {}) => this.request(Object.assign({ path: `/api/ai/prompts/generate`, method: "POST", body: data, secure: true, type: ContentType.JsonPatch, format: "json" }, params)),
|
|
423
409
|
/**
|
|
424
410
|
* No description
|
|
425
411
|
*
|
|
@@ -453,7 +439,7 @@ export class Api extends HttpClient {
|
|
|
453
439
|
* @response `200` `AiAdminSettings` OK
|
|
454
440
|
* @response `400` `ProblemDetails` Bad Request
|
|
455
441
|
*/
|
|
456
|
-
updateAiAdminSettings: (data, params = {}) => this.request(Object.assign({ path: `/api/ai/settings`, method: "PUT", body: data, secure: true, type:
|
|
442
|
+
updateAiAdminSettings: (data, params = {}) => this.request(Object.assign({ path: `/api/ai/settings`, method: "PUT", body: data, secure: true, type: ContentType.Json, format: "json" }, params)),
|
|
457
443
|
/**
|
|
458
444
|
* No description
|
|
459
445
|
*
|
|
@@ -531,7 +517,7 @@ export class Api extends HttpClient {
|
|
|
531
517
|
* @response `201` `AiCanonicalField` Created
|
|
532
518
|
* @response `400` `ProblemDetails` Bad Request
|
|
533
519
|
*/
|
|
534
|
-
createAiCanonicalField: (data, params = {}) => this.request(Object.assign({ path: `/api/ai/canonical-fields`, method: "POST", body: data, secure: true, type:
|
|
520
|
+
createAiCanonicalField: (data, params = {}) => this.request(Object.assign({ path: `/api/ai/canonical-fields`, method: "POST", body: data, secure: true, type: ContentType.Json, format: "json" }, params)),
|
|
535
521
|
/**
|
|
536
522
|
* No description
|
|
537
523
|
*
|
|
@@ -556,7 +542,7 @@ export class Api extends HttpClient {
|
|
|
556
542
|
* @response `400` `ProblemDetails` Bad Request
|
|
557
543
|
* @response `404` `ProblemDetails` Not Found
|
|
558
544
|
*/
|
|
559
|
-
updateAiCanonicalField: (id, data, params = {}) => this.request(Object.assign({ path: `/api/ai/canonical-fields/${id}`, method: "PUT", body: data, secure: true, type:
|
|
545
|
+
updateAiCanonicalField: (id, data, params = {}) => this.request(Object.assign({ path: `/api/ai/canonical-fields/${id}`, method: "PUT", body: data, secure: true, type: ContentType.Json, format: "json" }, params)),
|
|
560
546
|
/**
|
|
561
547
|
* No description
|
|
562
548
|
*
|
|
@@ -594,7 +580,7 @@ export class Api extends HttpClient {
|
|
|
594
580
|
* @response `401` `ProblemDetails` Unauthorized
|
|
595
581
|
* @response `429` `ProblemDetails` Too Many Requests
|
|
596
582
|
*/
|
|
597
|
-
aiChat: (data, params = {}) => this.request(Object.assign({ path: `/api/ai/chats`, method: "POST", body: data, secure: true, type:
|
|
583
|
+
aiChat: (data, params = {}) => this.request(Object.assign({ path: `/api/ai/chats`, method: "POST", body: data, secure: true, type: ContentType.JsonPatch, format: "json" }, params)),
|
|
598
584
|
/**
|
|
599
585
|
* No description
|
|
600
586
|
*
|
|
@@ -632,7 +618,7 @@ export class Api extends HttpClient {
|
|
|
632
618
|
* @response `403` `ProblemDetails` Forbidden
|
|
633
619
|
* @response `404` `ProblemDetails` Not Found
|
|
634
620
|
*/
|
|
635
|
-
renameAiConversation: (id, data, params = {}) => this.request(Object.assign({ path: `/api/ai/conversations/${id}`, method: "PATCH", body: data, secure: true, type:
|
|
621
|
+
renameAiConversation: (id, data, params = {}) => this.request(Object.assign({ path: `/api/ai/conversations/${id}`, method: "PATCH", body: data, secure: true, type: ContentType.JsonPatch, format: "json" }, params)),
|
|
636
622
|
/**
|
|
637
623
|
* No description
|
|
638
624
|
*
|
|
@@ -684,7 +670,7 @@ export class Api extends HttpClient {
|
|
|
684
670
|
* @response `403` `ProblemDetails` Forbidden
|
|
685
671
|
* @response `404` `ProblemDetails` Not Found
|
|
686
672
|
*/
|
|
687
|
-
pinAiConversation: (id, data, params = {}) => this.request(Object.assign({ path: `/api/ai/conversations/${id}/pin`, method: "PUT", body: data, secure: true, type:
|
|
673
|
+
pinAiConversation: (id, data, params = {}) => this.request(Object.assign({ path: `/api/ai/conversations/${id}/pin`, method: "PUT", body: data, secure: true, type: ContentType.Json, format: "json" }, params)),
|
|
688
674
|
/**
|
|
689
675
|
* No description
|
|
690
676
|
*
|
|
@@ -742,7 +728,7 @@ export class Api extends HttpClient {
|
|
|
742
728
|
* @response `201` `AiGuardrail` Created
|
|
743
729
|
* @response `400` `ProblemDetails` Bad Request
|
|
744
730
|
*/
|
|
745
|
-
createAiGuardrail: (data, params = {}) => this.request(Object.assign({ path: `/api/ai/guardrails`, method: "POST", body: data, secure: true, type:
|
|
731
|
+
createAiGuardrail: (data, params = {}) => this.request(Object.assign({ path: `/api/ai/guardrails`, method: "POST", body: data, secure: true, type: ContentType.Json, format: "json" }, params)),
|
|
746
732
|
/**
|
|
747
733
|
* No description
|
|
748
734
|
*
|
|
@@ -767,7 +753,7 @@ export class Api extends HttpClient {
|
|
|
767
753
|
* @response `400` `ProblemDetails` Bad Request
|
|
768
754
|
* @response `404` `ProblemDetails` Not Found
|
|
769
755
|
*/
|
|
770
|
-
updateAiGuardrail: (id, data, params = {}) => this.request(Object.assign({ path: `/api/ai/guardrails/${id}`, method: "PUT", body: data, secure: true, type:
|
|
756
|
+
updateAiGuardrail: (id, data, params = {}) => this.request(Object.assign({ path: `/api/ai/guardrails/${id}`, method: "PUT", body: data, secure: true, type: ContentType.Json, format: "json" }, params)),
|
|
771
757
|
/**
|
|
772
758
|
* No description
|
|
773
759
|
*
|
|
@@ -814,7 +800,7 @@ export class Api extends HttpClient {
|
|
|
814
800
|
* @secure
|
|
815
801
|
* @response `200` `AiAccountUsageOverviewPaginated` OK
|
|
816
802
|
*/
|
|
817
|
-
searchAiAccountTokenUsage: (data, query, params = {}) => this.request(Object.assign({ path: `/api/ai/token-usage/search`, method: "POST", query: query, body: data, secure: true, type:
|
|
803
|
+
searchAiAccountTokenUsage: (data, query, params = {}) => this.request(Object.assign({ path: `/api/ai/token-usage/search`, method: "POST", query: query, body: data, secure: true, type: ContentType.JsonPatch, format: "json" }, params)),
|
|
818
804
|
/**
|
|
819
805
|
* No description
|
|
820
806
|
*
|
|
@@ -848,7 +834,7 @@ export class Api extends HttpClient {
|
|
|
848
834
|
* @response `200` `AiTokenBudgetStatus` OK
|
|
849
835
|
* @response `400` `ProblemDetails` Bad Request
|
|
850
836
|
*/
|
|
851
|
-
setAiAccountTokenLimit: (accountId, data, params = {}) => this.request(Object.assign({ path: `/api/ai/token-usage/${accountId}/limit`, method: "PUT", body: data, secure: true, type:
|
|
837
|
+
setAiAccountTokenLimit: (accountId, data, params = {}) => this.request(Object.assign({ path: `/api/ai/token-usage/${accountId}/limit`, method: "PUT", body: data, secure: true, type: ContentType.Json, format: "json" }, params)),
|
|
852
838
|
/**
|
|
853
839
|
* No description
|
|
854
840
|
*
|
|
@@ -872,7 +858,7 @@ export class Api extends HttpClient {
|
|
|
872
858
|
* @response `400` `ProblemDetails` Bad Request
|
|
873
859
|
* @response `409` `ProblemDetails` Conflict
|
|
874
860
|
*/
|
|
875
|
-
createAiUrlSource: (data, params = {}) => this.request(Object.assign({ path: `/api/ai/url-sources`, method: "POST", body: data, secure: true, type:
|
|
861
|
+
createAiUrlSource: (data, params = {}) => this.request(Object.assign({ path: `/api/ai/url-sources`, method: "POST", body: data, secure: true, type: ContentType.Json, format: "json" }, params)),
|
|
876
862
|
/**
|
|
877
863
|
* No description
|
|
878
864
|
*
|
|
@@ -898,7 +884,7 @@ export class Api extends HttpClient {
|
|
|
898
884
|
* @response `404` `ProblemDetails` Not Found
|
|
899
885
|
* @response `409` `ProblemDetails` Conflict
|
|
900
886
|
*/
|
|
901
|
-
updateAiUrlSource: (id, data, params = {}) => this.request(Object.assign({ path: `/api/ai/url-sources/${id}`, method: "PUT", body: data, secure: true, type:
|
|
887
|
+
updateAiUrlSource: (id, data, params = {}) => this.request(Object.assign({ path: `/api/ai/url-sources/${id}`, method: "PUT", body: data, secure: true, type: ContentType.Json, format: "json" }, params)),
|
|
902
888
|
/**
|
|
903
889
|
* No description
|
|
904
890
|
*
|
|
@@ -955,7 +941,7 @@ export class Api extends HttpClient {
|
|
|
955
941
|
* @secure
|
|
956
942
|
* @response `200` `AuditLogEntryPaginated` OK
|
|
957
943
|
*/
|
|
958
|
-
searchAuditLogs: (data, query, params = {}) => this.request(Object.assign({ path: `/api/audit-logs/search`, method: "POST", query: query, body: data, secure: true, type:
|
|
944
|
+
searchAuditLogs: (data, query, params = {}) => this.request(Object.assign({ path: `/api/audit-logs/search`, method: "POST", query: query, body: data, secure: true, type: ContentType.JsonPatch, format: "json" }, params)),
|
|
959
945
|
/**
|
|
960
946
|
* No description
|
|
961
947
|
*
|
|
@@ -990,7 +976,7 @@ export class Api extends HttpClient {
|
|
|
990
976
|
* @response `204` `void` No Content
|
|
991
977
|
* @response `422` `UnprocessableEntity` Unprocessable Content
|
|
992
978
|
*/
|
|
993
|
-
authForgotPassword: (data, params = {}) => this.request(Object.assign({ path: `/api/auth/forgot-password`, method: "POST", body: data, secure: true, type:
|
|
979
|
+
authForgotPassword: (data, params = {}) => this.request(Object.assign({ path: `/api/auth/forgot-password`, method: "POST", body: data, secure: true, type: ContentType.Json }, params)),
|
|
994
980
|
/**
|
|
995
981
|
* No description
|
|
996
982
|
*
|
|
@@ -1002,7 +988,7 @@ export class Api extends HttpClient {
|
|
|
1002
988
|
* @response `204` `void` No Content
|
|
1003
989
|
* @response `422` `UnprocessableEntity` Unprocessable Content
|
|
1004
990
|
*/
|
|
1005
|
-
authResetPassword: (data, params = {}) => this.request(Object.assign({ path: `/api/auth/reset-password`, method: "POST", body: data, secure: true, type:
|
|
991
|
+
authResetPassword: (data, params = {}) => this.request(Object.assign({ path: `/api/auth/reset-password`, method: "POST", body: data, secure: true, type: ContentType.Json }, params)),
|
|
1006
992
|
/**
|
|
1007
993
|
* No description
|
|
1008
994
|
*
|
|
@@ -1014,7 +1000,7 @@ export class Api extends HttpClient {
|
|
|
1014
1000
|
* @response `204` `void` No Content
|
|
1015
1001
|
* @response `422` `UnprocessableEntity` Unprocessable Content
|
|
1016
1002
|
*/
|
|
1017
|
-
authSetPassword: (data, params = {}) => this.request(Object.assign({ path: `/api/auth/set-password`, method: "POST", body: data, secure: true, type:
|
|
1003
|
+
authSetPassword: (data, params = {}) => this.request(Object.assign({ path: `/api/auth/set-password`, method: "POST", body: data, secure: true, type: ContentType.Json }, params)),
|
|
1018
1004
|
/**
|
|
1019
1005
|
* No description
|
|
1020
1006
|
*
|
|
@@ -1037,7 +1023,7 @@ export class Api extends HttpClient {
|
|
|
1037
1023
|
* @response `204` `void` No Content
|
|
1038
1024
|
* @response `422` `UnprocessableEntity` Unprocessable Content
|
|
1039
1025
|
*/
|
|
1040
|
-
authVerifyEmail: (data, params = {}) => this.request(Object.assign({ path: `/api/auth/verify-email`, method: "POST", body: data, secure: true, type:
|
|
1026
|
+
authVerifyEmail: (data, params = {}) => this.request(Object.assign({ path: `/api/auth/verify-email`, method: "POST", body: data, secure: true, type: ContentType.Json }, params)),
|
|
1041
1027
|
/**
|
|
1042
1028
|
* No description
|
|
1043
1029
|
*
|
|
@@ -1050,7 +1036,7 @@ export class Api extends HttpClient {
|
|
|
1050
1036
|
* @response `401` `ProblemDetails` Unauthorized
|
|
1051
1037
|
* @response `422` `UnprocessableEntity` Unprocessable Content
|
|
1052
1038
|
*/
|
|
1053
|
-
getTokenFromRefreshToken: (data, params = {}) => this.request(Object.assign({ path: `/api/refresh-token`, method: "POST", body: data, secure: true, type:
|
|
1039
|
+
getTokenFromRefreshToken: (data, params = {}) => this.request(Object.assign({ path: `/api/refresh-token`, method: "POST", body: data, secure: true, type: ContentType.Json, format: "json" }, params)),
|
|
1054
1040
|
/**
|
|
1055
1041
|
* No description
|
|
1056
1042
|
*
|
|
@@ -1059,10 +1045,10 @@ export class Api extends HttpClient {
|
|
|
1059
1045
|
* @summary Get Token
|
|
1060
1046
|
* @request POST:/api/token
|
|
1061
1047
|
* @secure
|
|
1062
|
-
* @response `200` `
|
|
1048
|
+
* @response `200` `UserDeactivated` OK
|
|
1063
1049
|
* @response `422` `UnprocessableEntity` Unprocessable Content
|
|
1064
1050
|
*/
|
|
1065
|
-
getToken: (data, params = {}) => this.request(Object.assign({ path: `/api/token`, method: "POST", body: data, secure: true, type:
|
|
1051
|
+
getToken: (data, params = {}) => this.request(Object.assign({ path: `/api/token`, method: "POST", body: data, secure: true, type: ContentType.Json, format: "json" }, params)),
|
|
1066
1052
|
/**
|
|
1067
1053
|
* No description
|
|
1068
1054
|
*
|
|
@@ -1071,10 +1057,10 @@ export class Api extends HttpClient {
|
|
|
1071
1057
|
* @summary Get Token From Challenge Code
|
|
1072
1058
|
* @request POST:/api/token/code
|
|
1073
1059
|
* @secure
|
|
1074
|
-
* @response `200` `
|
|
1060
|
+
* @response `200` `UserDeactivated` OK
|
|
1075
1061
|
* @response `422` `UnprocessableEntity` Unprocessable Content
|
|
1076
1062
|
*/
|
|
1077
|
-
getTokenFromChallengeCode: (data, params = {}) => this.request(Object.assign({ path: `/api/token/code`, method: "POST", body: data, secure: true, type:
|
|
1063
|
+
getTokenFromChallengeCode: (data, params = {}) => this.request(Object.assign({ path: `/api/token/code`, method: "POST", body: data, secure: true, type: ContentType.Json, format: "json" }, params)),
|
|
1078
1064
|
/**
|
|
1079
1065
|
* No description
|
|
1080
1066
|
*
|
|
@@ -1086,7 +1072,7 @@ export class Api extends HttpClient {
|
|
|
1086
1072
|
* @response `200` `Token` OK
|
|
1087
1073
|
* @response `422` `UnprocessableEntity` Unprocessable Content
|
|
1088
1074
|
*/
|
|
1089
|
-
getSystemToken: (data, params = {}) => this.request(Object.assign({ path: `/api/oauth2/token`, method: "POST", body: data, secure: true, type:
|
|
1075
|
+
getSystemToken: (data, params = {}) => this.request(Object.assign({ path: `/api/oauth2/token`, method: "POST", body: data, secure: true, type: ContentType.Json, format: "json" }, params)),
|
|
1090
1076
|
/**
|
|
1091
1077
|
* No description
|
|
1092
1078
|
*
|
|
@@ -1098,7 +1084,7 @@ export class Api extends HttpClient {
|
|
|
1098
1084
|
* @response `200` `SSOToken` OK
|
|
1099
1085
|
* @response `422` `UnprocessableEntity` Unprocessable Content
|
|
1100
1086
|
*/
|
|
1101
|
-
getSsoToken: (data, params = {}) => this.request(Object.assign({ path: `/api/token/sso`, method: "POST", body: data, secure: true, type:
|
|
1087
|
+
getSsoToken: (data, params = {}) => this.request(Object.assign({ path: `/api/token/sso`, method: "POST", body: data, secure: true, type: ContentType.Json, format: "json" }, params)),
|
|
1102
1088
|
/**
|
|
1103
1089
|
* No description
|
|
1104
1090
|
*
|
|
@@ -1133,7 +1119,7 @@ export class Api extends HttpClient {
|
|
|
1133
1119
|
* @response `200` `GetBranch` OK
|
|
1134
1120
|
* @response `422` `UnprocessableEntity` Unprocessable Content
|
|
1135
1121
|
*/
|
|
1136
|
-
createBranch: (data, params = {}) => this.request(Object.assign({ path: `/api/branches`, method: "POST", body: data, secure: true, type:
|
|
1122
|
+
createBranch: (data, params = {}) => this.request(Object.assign({ path: `/api/branches`, method: "POST", body: data, secure: true, type: ContentType.Json, format: "json" }, params)),
|
|
1137
1123
|
/**
|
|
1138
1124
|
* No description
|
|
1139
1125
|
*
|
|
@@ -1144,7 +1130,7 @@ export class Api extends HttpClient {
|
|
|
1144
1130
|
* @secure
|
|
1145
1131
|
* @response `200` `GetBranchPaginated` OK
|
|
1146
1132
|
*/
|
|
1147
|
-
searchBranches: (data, query, params = {}) => this.request(Object.assign({ path: `/api/branches/search`, method: "POST", query: query, body: data, secure: true, type:
|
|
1133
|
+
searchBranches: (data, query, params = {}) => this.request(Object.assign({ path: `/api/branches/search`, method: "POST", query: query, body: data, secure: true, type: ContentType.Json, format: "json" }, params)),
|
|
1148
1134
|
/**
|
|
1149
1135
|
* No description
|
|
1150
1136
|
*
|
|
@@ -1167,7 +1153,7 @@ export class Api extends HttpClient {
|
|
|
1167
1153
|
* @response `200` `GetBranch` OK
|
|
1168
1154
|
* @response `422` `UnprocessableEntity` Unprocessable Content
|
|
1169
1155
|
*/
|
|
1170
|
-
replaceBranch: (branchId, data, params = {}) => this.request(Object.assign({ path: `/api/branches/${branchId}`, method: "PUT", body: data, secure: true, type:
|
|
1156
|
+
replaceBranch: (branchId, data, params = {}) => this.request(Object.assign({ path: `/api/branches/${branchId}`, method: "PUT", body: data, secure: true, type: ContentType.Json, format: "json" }, params)),
|
|
1171
1157
|
/**
|
|
1172
1158
|
* No description
|
|
1173
1159
|
*
|
|
@@ -1202,7 +1188,7 @@ export class Api extends HttpClient {
|
|
|
1202
1188
|
* @response `200` `SiteConfiguration` OK
|
|
1203
1189
|
* @response `422` `UnprocessableEntity` Unprocessable Content
|
|
1204
1190
|
*/
|
|
1205
|
-
createBranchSiteConfiguration: (branchId, data, params = {}) => this.request(Object.assign({ path: `/api/branches/${branchId}/site-configurations`, method: "POST", body: data, secure: true, type:
|
|
1191
|
+
createBranchSiteConfiguration: (branchId, data, params = {}) => this.request(Object.assign({ path: `/api/branches/${branchId}/site-configurations`, method: "POST", body: data, secure: true, type: ContentType.Json, format: "json" }, params)),
|
|
1206
1192
|
/**
|
|
1207
1193
|
* No description
|
|
1208
1194
|
*
|
|
@@ -1225,7 +1211,7 @@ export class Api extends HttpClient {
|
|
|
1225
1211
|
* @response `200` `SiteConfiguration` OK
|
|
1226
1212
|
* @response `422` `UnprocessableEntity` Unprocessable Content
|
|
1227
1213
|
*/
|
|
1228
|
-
replaceBranchSiteConfiguration: (branchId, siteConfigurationId, data, query, params = {}) => this.request(Object.assign({ path: `/api/branches/${branchId}/site-configurations/${siteConfigurationId}`, method: "PUT", query: query, body: data, secure: true, type:
|
|
1214
|
+
replaceBranchSiteConfiguration: (branchId, siteConfigurationId, data, query, params = {}) => this.request(Object.assign({ path: `/api/branches/${branchId}/site-configurations/${siteConfigurationId}`, method: "PUT", query: query, body: data, secure: true, type: ContentType.Json, format: "json" }, params)),
|
|
1229
1215
|
/**
|
|
1230
1216
|
* No description
|
|
1231
1217
|
*
|
|
@@ -1259,7 +1245,7 @@ export class Api extends HttpClient {
|
|
|
1259
1245
|
* @response `200` `BusinessRule` OK
|
|
1260
1246
|
* @response `422` `UnprocessableEntity` Unprocessable Content
|
|
1261
1247
|
*/
|
|
1262
|
-
createBusinessRule: (data, params = {}) => this.request(Object.assign({ path: `/api/business-rules`, method: "POST", body: data, secure: true, type:
|
|
1248
|
+
createBusinessRule: (data, params = {}) => this.request(Object.assign({ path: `/api/business-rules`, method: "POST", body: data, secure: true, type: ContentType.Json, format: "json" }, params)),
|
|
1263
1249
|
/**
|
|
1264
1250
|
* No description
|
|
1265
1251
|
*
|
|
@@ -1282,7 +1268,7 @@ export class Api extends HttpClient {
|
|
|
1282
1268
|
* @response `200` `BusinessRule` OK
|
|
1283
1269
|
* @response `422` `UnprocessableEntity` Unprocessable Content
|
|
1284
1270
|
*/
|
|
1285
|
-
replaceBusinessRule: (id, data, params = {}) => this.request(Object.assign({ path: `/api/business-rules/${id}`, method: "PUT", body: data, secure: true, type:
|
|
1271
|
+
replaceBusinessRule: (id, data, params = {}) => this.request(Object.assign({ path: `/api/business-rules/${id}`, method: "PUT", body: data, secure: true, type: ContentType.Json, format: "json" }, params)),
|
|
1286
1272
|
/**
|
|
1287
1273
|
* No description
|
|
1288
1274
|
*
|
|
@@ -1315,7 +1301,186 @@ export class Api extends HttpClient {
|
|
|
1315
1301
|
* @secure
|
|
1316
1302
|
* @response `200` `ClosedLoansReport` OK
|
|
1317
1303
|
*/
|
|
1318
|
-
getClosedLoansReport: (data, params = {}) => this.request(Object.assign({ path: `/api/loans/reports/closed-loans`, method: "POST", body: data, secure: true, type:
|
|
1304
|
+
getClosedLoansReport: (data, params = {}) => this.request(Object.assign({ path: `/api/loans/reports/closed-loans`, method: "POST", body: data, secure: true, type: ContentType.Json, format: "json" }, params)),
|
|
1305
|
+
/**
|
|
1306
|
+
* No description
|
|
1307
|
+
*
|
|
1308
|
+
* @tags CompanyDocumentFolders
|
|
1309
|
+
* @name GetCompanyDocumentFolders
|
|
1310
|
+
* @summary Get all company document folders
|
|
1311
|
+
* @request GET:/api/company-document-folders
|
|
1312
|
+
* @secure
|
|
1313
|
+
* @response `200` `(CompanyDocumentFolder)[]` OK
|
|
1314
|
+
*/
|
|
1315
|
+
getCompanyDocumentFolders: (params = {}) => this.request(Object.assign({ path: `/api/company-document-folders`, method: "GET", secure: true, format: "json" }, params)),
|
|
1316
|
+
/**
|
|
1317
|
+
* No description
|
|
1318
|
+
*
|
|
1319
|
+
* @tags CompanyDocumentFolders
|
|
1320
|
+
* @name CreateCompanyDocumentFolder
|
|
1321
|
+
* @summary Create company document folder
|
|
1322
|
+
* @request POST:/api/company-document-folders
|
|
1323
|
+
* @secure
|
|
1324
|
+
* @response `201` `CompanyDocumentFolder` Created
|
|
1325
|
+
* @response `400` `ProblemDetails` Bad Request
|
|
1326
|
+
* @response `409` `ProblemDetails` Conflict
|
|
1327
|
+
*/
|
|
1328
|
+
createCompanyDocumentFolder: (data, params = {}) => this.request(Object.assign({ path: `/api/company-document-folders`, method: "POST", body: data, secure: true, type: ContentType.Json, format: "json" }, params)),
|
|
1329
|
+
/**
|
|
1330
|
+
* No description
|
|
1331
|
+
*
|
|
1332
|
+
* @tags CompanyDocumentFolders
|
|
1333
|
+
* @name GetCompanyDocumentFolder
|
|
1334
|
+
* @summary Get company document folder by ID
|
|
1335
|
+
* @request GET:/api/company-document-folders/{id}
|
|
1336
|
+
* @secure
|
|
1337
|
+
* @response `200` `CompanyDocumentFolder` OK
|
|
1338
|
+
* @response `404` `ProblemDetails` Not Found
|
|
1339
|
+
*/
|
|
1340
|
+
getCompanyDocumentFolder: (id, params = {}) => this.request(Object.assign({ path: `/api/company-document-folders/${id}`, method: "GET", secure: true, format: "json" }, params)),
|
|
1341
|
+
/**
|
|
1342
|
+
* No description
|
|
1343
|
+
*
|
|
1344
|
+
* @tags CompanyDocumentFolders
|
|
1345
|
+
* @name UpdateCompanyDocumentFolder
|
|
1346
|
+
* @summary Update company document folder
|
|
1347
|
+
* @request PUT:/api/company-document-folders/{id}
|
|
1348
|
+
* @secure
|
|
1349
|
+
* @response `200` `CompanyDocumentFolder` OK
|
|
1350
|
+
* @response `400` `ProblemDetails` Bad Request
|
|
1351
|
+
* @response `404` `ProblemDetails` Not Found
|
|
1352
|
+
* @response `409` `ProblemDetails` Conflict
|
|
1353
|
+
*/
|
|
1354
|
+
updateCompanyDocumentFolder: (id, data, params = {}) => this.request(Object.assign({ path: `/api/company-document-folders/${id}`, method: "PUT", body: data, secure: true, type: ContentType.Json, format: "json" }, params)),
|
|
1355
|
+
/**
|
|
1356
|
+
* No description
|
|
1357
|
+
*
|
|
1358
|
+
* @tags CompanyDocumentFolders
|
|
1359
|
+
* @name DeleteCompanyDocumentFolder
|
|
1360
|
+
* @summary Delete company document folder
|
|
1361
|
+
* @request DELETE:/api/company-document-folders/{id}
|
|
1362
|
+
* @secure
|
|
1363
|
+
* @response `204` `void` No Content
|
|
1364
|
+
* @response `400` `ProblemDetails` Bad Request
|
|
1365
|
+
* @response `404` `ProblemDetails` Not Found
|
|
1366
|
+
* @response `409` `ProblemDetails` Conflict
|
|
1367
|
+
*/
|
|
1368
|
+
deleteCompanyDocumentFolder: (id, params = {}) => this.request(Object.assign({ path: `/api/company-document-folders/${id}`, method: "DELETE", secure: true }, params)),
|
|
1369
|
+
/**
|
|
1370
|
+
* No description
|
|
1371
|
+
*
|
|
1372
|
+
* @tags CompanyDocuments
|
|
1373
|
+
* @name SearchCompanyDocuments
|
|
1374
|
+
* @summary Search company documents
|
|
1375
|
+
* @request POST:/api/company-documents/search
|
|
1376
|
+
* @secure
|
|
1377
|
+
* @response `200` `CompanyDocumentPaginated` OK
|
|
1378
|
+
* @response `400` `ProblemDetails` Bad Request
|
|
1379
|
+
*/
|
|
1380
|
+
searchCompanyDocuments: (data, query, params = {}) => this.request(Object.assign({ path: `/api/company-documents/search`, method: "POST", query: query, body: data, secure: true, type: ContentType.Json, format: "json" }, params)),
|
|
1381
|
+
/**
|
|
1382
|
+
* No description
|
|
1383
|
+
*
|
|
1384
|
+
* @tags CompanyDocuments
|
|
1385
|
+
* @name GetCompanyDocument
|
|
1386
|
+
* @summary Get company document by ID
|
|
1387
|
+
* @request GET:/api/company-documents/{id}
|
|
1388
|
+
* @secure
|
|
1389
|
+
* @response `200` `CompanyDocument` OK
|
|
1390
|
+
* @response `404` `ProblemDetails` Not Found
|
|
1391
|
+
*/
|
|
1392
|
+
getCompanyDocument: (id, query, params = {}) => this.request(Object.assign({ path: `/api/company-documents/${id}`, method: "GET", query: query, secure: true, format: "json" }, params)),
|
|
1393
|
+
/**
|
|
1394
|
+
* No description
|
|
1395
|
+
*
|
|
1396
|
+
* @tags CompanyDocuments
|
|
1397
|
+
* @name UpdateCompanyDocument
|
|
1398
|
+
* @summary Update company document
|
|
1399
|
+
* @request PUT:/api/company-documents/{id}
|
|
1400
|
+
* @secure
|
|
1401
|
+
* @response `200` `CompanyDocument` OK
|
|
1402
|
+
* @response `400` `ProblemDetails` Bad Request
|
|
1403
|
+
* @response `404` `ProblemDetails` Not Found
|
|
1404
|
+
* @response `409` `ProblemDetails` Conflict
|
|
1405
|
+
*/
|
|
1406
|
+
updateCompanyDocument: (id, data, params = {}) => this.request(Object.assign({ path: `/api/company-documents/${id}`, method: "PUT", body: data, secure: true, type: ContentType.Json, format: "json" }, params)),
|
|
1407
|
+
/**
|
|
1408
|
+
* No description
|
|
1409
|
+
*
|
|
1410
|
+
* @tags CompanyDocuments
|
|
1411
|
+
* @name DeleteCompanyDocument
|
|
1412
|
+
* @summary Delete company document
|
|
1413
|
+
* @request DELETE:/api/company-documents/{id}
|
|
1414
|
+
* @secure
|
|
1415
|
+
* @response `204` `void` No Content
|
|
1416
|
+
* @response `404` `ProblemDetails` Not Found
|
|
1417
|
+
*/
|
|
1418
|
+
deleteCompanyDocument: (id, params = {}) => this.request(Object.assign({ path: `/api/company-documents/${id}`, method: "DELETE", secure: true }, params)),
|
|
1419
|
+
/**
|
|
1420
|
+
* No description
|
|
1421
|
+
*
|
|
1422
|
+
* @tags CompanyDocuments
|
|
1423
|
+
* @name GetCompanyDocumentPreviews
|
|
1424
|
+
* @summary Get company document previews in batch
|
|
1425
|
+
* @request POST:/api/company-documents/previews
|
|
1426
|
+
* @secure
|
|
1427
|
+
* @response `200` `Record<string,string>` OK
|
|
1428
|
+
* @response `400` `ProblemDetails` Bad Request
|
|
1429
|
+
*/
|
|
1430
|
+
getCompanyDocumentPreviews: (data, params = {}) => this.request(Object.assign({ path: `/api/company-documents/previews`, method: "POST", body: data, secure: true, type: ContentType.Json, format: "json" }, params)),
|
|
1431
|
+
/**
|
|
1432
|
+
* No description
|
|
1433
|
+
*
|
|
1434
|
+
* @tags CompanyDocuments
|
|
1435
|
+
* @name DownloadCompanyDocument
|
|
1436
|
+
* @summary Download company document
|
|
1437
|
+
* @request GET:/api/company-documents/{id}/download
|
|
1438
|
+
* @secure
|
|
1439
|
+
* @response `200` `void` OK
|
|
1440
|
+
* @response `404` `ProblemDetails` Not Found
|
|
1441
|
+
*/
|
|
1442
|
+
downloadCompanyDocument: (id, params = {}) => this.request(Object.assign({ path: `/api/company-documents/${id}/download`, method: "GET", secure: true }, params)),
|
|
1443
|
+
/**
|
|
1444
|
+
* No description
|
|
1445
|
+
*
|
|
1446
|
+
* @tags CompanyDocuments
|
|
1447
|
+
* @name CreateCompanyDocument
|
|
1448
|
+
* @summary Upload company document
|
|
1449
|
+
* @request POST:/api/company-documents
|
|
1450
|
+
* @secure
|
|
1451
|
+
* @response `201` `CompanyDocument` Created
|
|
1452
|
+
* @response `400` `ProblemDetails` Bad Request
|
|
1453
|
+
* @response `404` `ProblemDetails` Not Found
|
|
1454
|
+
* @response `409` `ProblemDetails` Conflict
|
|
1455
|
+
*/
|
|
1456
|
+
createCompanyDocument: (data, params = {}) => this.request(Object.assign({ path: `/api/company-documents`, method: "POST", body: data, secure: true, type: ContentType.FormData, format: "json" }, params)),
|
|
1457
|
+
/**
|
|
1458
|
+
* No description
|
|
1459
|
+
*
|
|
1460
|
+
* @tags CompanyDocuments
|
|
1461
|
+
* @name CreateCompanyTextDocument
|
|
1462
|
+
* @summary Create free-form text company document
|
|
1463
|
+
* @request POST:/api/company-documents/text
|
|
1464
|
+
* @secure
|
|
1465
|
+
* @response `201` `CompanyDocument` Created
|
|
1466
|
+
* @response `400` `ProblemDetails` Bad Request
|
|
1467
|
+
* @response `404` `ProblemDetails` Not Found
|
|
1468
|
+
* @response `409` `ProblemDetails` Conflict
|
|
1469
|
+
*/
|
|
1470
|
+
createCompanyTextDocument: (data, params = {}) => this.request(Object.assign({ path: `/api/company-documents/text`, method: "POST", body: data, secure: true, type: ContentType.Json, format: "json" }, params)),
|
|
1471
|
+
/**
|
|
1472
|
+
* No description
|
|
1473
|
+
*
|
|
1474
|
+
* @tags CompanyDocuments
|
|
1475
|
+
* @name ReindexCompanyDocument
|
|
1476
|
+
* @summary Re-index a failed company document
|
|
1477
|
+
* @request POST:/api/company-documents/{id}/reindex
|
|
1478
|
+
* @secure
|
|
1479
|
+
* @response `200` `CompanyDocument` OK
|
|
1480
|
+
* @response `400` `ProblemDetails` Bad Request
|
|
1481
|
+
* @response `404` `ProblemDetails` Not Found
|
|
1482
|
+
*/
|
|
1483
|
+
reindexCompanyDocument: (id, params = {}) => this.request(Object.assign({ path: `/api/company-documents/${id}/reindex`, method: "POST", secure: true, format: "json" }, params)),
|
|
1319
1484
|
/**
|
|
1320
1485
|
* No description
|
|
1321
1486
|
*
|
|
@@ -1360,7 +1525,7 @@ export class Api extends HttpClient {
|
|
|
1360
1525
|
* @response `200` `Corporate` OK
|
|
1361
1526
|
* @response `422` `UnprocessableEntity` Unprocessable Content
|
|
1362
1527
|
*/
|
|
1363
|
-
createCorporate: (data, params = {}) => this.request(Object.assign({ path: `/api/corporates`, method: "POST", body: data, secure: true, type:
|
|
1528
|
+
createCorporate: (data, params = {}) => this.request(Object.assign({ path: `/api/corporates`, method: "POST", body: data, secure: true, type: ContentType.Json, format: "json" }, params)),
|
|
1364
1529
|
/**
|
|
1365
1530
|
* No description
|
|
1366
1531
|
*
|
|
@@ -1371,7 +1536,7 @@ export class Api extends HttpClient {
|
|
|
1371
1536
|
* @secure
|
|
1372
1537
|
* @response `200` `CorporatePaginated` OK
|
|
1373
1538
|
*/
|
|
1374
|
-
searchCorporate: (data, query, params = {}) => this.request(Object.assign({ path: `/api/corporates/search`, method: "POST", query: query, body: data, secure: true, type:
|
|
1539
|
+
searchCorporate: (data, query, params = {}) => this.request(Object.assign({ path: `/api/corporates/search`, method: "POST", query: query, body: data, secure: true, type: ContentType.Json, format: "json" }, params)),
|
|
1375
1540
|
/**
|
|
1376
1541
|
* No description
|
|
1377
1542
|
*
|
|
@@ -1394,7 +1559,7 @@ export class Api extends HttpClient {
|
|
|
1394
1559
|
* @response `200` `Corporate` OK
|
|
1395
1560
|
* @response `422` `UnprocessableEntity` Unprocessable Content
|
|
1396
1561
|
*/
|
|
1397
|
-
replaceCorporate: (id, data, params = {}) => this.request(Object.assign({ path: `/api/corporates/${id}`, method: "PUT", body: data, secure: true, type:
|
|
1562
|
+
replaceCorporate: (id, data, params = {}) => this.request(Object.assign({ path: `/api/corporates/${id}`, method: "PUT", body: data, secure: true, type: ContentType.Json, format: "json" }, params)),
|
|
1398
1563
|
/**
|
|
1399
1564
|
* No description
|
|
1400
1565
|
*
|
|
@@ -1428,7 +1593,7 @@ export class Api extends HttpClient {
|
|
|
1428
1593
|
* @response `200` `SiteConfiguration` OK
|
|
1429
1594
|
* @response `422` `UnprocessableEntity` Unprocessable Content
|
|
1430
1595
|
*/
|
|
1431
|
-
createCorporateSiteConfiguration: (corporateId, data, params = {}) => this.request(Object.assign({ path: `/api/corporates/${corporateId}/site-configurations`, method: "POST", body: data, secure: true, type:
|
|
1596
|
+
createCorporateSiteConfiguration: (corporateId, data, params = {}) => this.request(Object.assign({ path: `/api/corporates/${corporateId}/site-configurations`, method: "POST", body: data, secure: true, type: ContentType.Json, format: "json" }, params)),
|
|
1432
1597
|
/**
|
|
1433
1598
|
* No description
|
|
1434
1599
|
*
|
|
@@ -1451,7 +1616,7 @@ export class Api extends HttpClient {
|
|
|
1451
1616
|
* @response `200` `SiteConfiguration` OK
|
|
1452
1617
|
* @response `422` `UnprocessableEntity` Unprocessable Content
|
|
1453
1618
|
*/
|
|
1454
|
-
replaceCorporateSiteConfiguration: (corporateId, siteConfigurationId, data, query, params = {}) => this.request(Object.assign({ path: `/api/corporates/${corporateId}/site-configurations/${siteConfigurationId}`, method: "PUT", query: query, body: data, secure: true, type:
|
|
1619
|
+
replaceCorporateSiteConfiguration: (corporateId, siteConfigurationId, data, query, params = {}) => this.request(Object.assign({ path: `/api/corporates/${corporateId}/site-configurations/${siteConfigurationId}`, method: "PUT", query: query, body: data, secure: true, type: ContentType.Json, format: "json" }, params)),
|
|
1455
1620
|
/**
|
|
1456
1621
|
* No description
|
|
1457
1622
|
*
|
|
@@ -1497,7 +1662,7 @@ export class Api extends HttpClient {
|
|
|
1497
1662
|
* @response `409` `ProblemDetails` Conflict
|
|
1498
1663
|
* @response `422` `ProblemDetails` Unprocessable Content
|
|
1499
1664
|
*/
|
|
1500
|
-
createCustomFieldDefinition: (data, params = {}) => this.request(Object.assign({ path: `/api/custom-field-definitions`, method: "POST", body: data, secure: true, type:
|
|
1665
|
+
createCustomFieldDefinition: (data, params = {}) => this.request(Object.assign({ path: `/api/custom-field-definitions`, method: "POST", body: data, secure: true, type: ContentType.Json, format: "json" }, params)),
|
|
1501
1666
|
/**
|
|
1502
1667
|
* No description
|
|
1503
1668
|
*
|
|
@@ -1524,7 +1689,7 @@ export class Api extends HttpClient {
|
|
|
1524
1689
|
* @response `409` `ProblemDetails` Conflict
|
|
1525
1690
|
* @response `422` `ProblemDetails` Unprocessable Content
|
|
1526
1691
|
*/
|
|
1527
|
-
updateCustomFieldDefinition: (id, data, params = {}) => this.request(Object.assign({ path: `/api/custom-field-definitions/${id}`, method: "PUT", body: data, secure: true, type:
|
|
1692
|
+
updateCustomFieldDefinition: (id, data, params = {}) => this.request(Object.assign({ path: `/api/custom-field-definitions/${id}`, method: "PUT", body: data, secure: true, type: ContentType.Json, format: "json" }, params)),
|
|
1528
1693
|
/**
|
|
1529
1694
|
* No description
|
|
1530
1695
|
*
|
|
@@ -1594,7 +1759,7 @@ export class Api extends HttpClient {
|
|
|
1594
1759
|
* @secure
|
|
1595
1760
|
* @response `200` `Device` OK
|
|
1596
1761
|
*/
|
|
1597
|
-
updateDevice: (id, data, params = {}) => this.request(Object.assign({ path: `/api/devices/${id}`, method: "PUT", body: data, secure: true, type:
|
|
1762
|
+
updateDevice: (id, data, params = {}) => this.request(Object.assign({ path: `/api/devices/${id}`, method: "PUT", body: data, secure: true, type: ContentType.Json, format: "json" }, params)),
|
|
1598
1763
|
/**
|
|
1599
1764
|
* No description
|
|
1600
1765
|
*
|
|
@@ -1624,6 +1789,7 @@ export class Api extends HttpClient {
|
|
|
1624
1789
|
* @name GetDocumentBuckets
|
|
1625
1790
|
* @summary Get All
|
|
1626
1791
|
* @request GET:/api/document-buckets
|
|
1792
|
+
* @deprecated
|
|
1627
1793
|
* @secure
|
|
1628
1794
|
* @response `200` `(string)[]` OK
|
|
1629
1795
|
*/
|
|
@@ -1651,7 +1817,7 @@ export class Api extends HttpClient {
|
|
|
1651
1817
|
* @response `404` `ProblemDetails` Not Found
|
|
1652
1818
|
* @response `422` `UnprocessableEntity` Unprocessable Content
|
|
1653
1819
|
*/
|
|
1654
|
-
createDocumentTemplate: (data, params = {}) => this.request(Object.assign({ path: `/api/document-templates`, method: "POST", body: data, secure: true, type:
|
|
1820
|
+
createDocumentTemplate: (data, params = {}) => this.request(Object.assign({ path: `/api/document-templates`, method: "POST", body: data, secure: true, type: ContentType.Json, format: "json" }, params)),
|
|
1655
1821
|
/**
|
|
1656
1822
|
* No description
|
|
1657
1823
|
*
|
|
@@ -1688,7 +1854,7 @@ export class Api extends HttpClient {
|
|
|
1688
1854
|
* @response `404` `ProblemDetails` Not Found
|
|
1689
1855
|
* @response `422` `UnprocessableEntity` Unprocessable Content
|
|
1690
1856
|
*/
|
|
1691
|
-
replaceDocumentTemplate: (id, data, params = {}) => this.request(Object.assign({ path: `/api/document-templates/${id}`, method: "PUT", body: data, secure: true, type:
|
|
1857
|
+
replaceDocumentTemplate: (id, data, params = {}) => this.request(Object.assign({ path: `/api/document-templates/${id}`, method: "PUT", body: data, secure: true, type: ContentType.Json, format: "json" }, params)),
|
|
1692
1858
|
/**
|
|
1693
1859
|
* No description
|
|
1694
1860
|
*
|
|
@@ -1736,7 +1902,7 @@ export class Api extends HttpClient {
|
|
|
1736
1902
|
* @secure
|
|
1737
1903
|
* @response `200` `DocumentTemplateVersion` OK
|
|
1738
1904
|
*/
|
|
1739
|
-
createDocumentTemplateVersion: (documentId, data, params = {}) => this.request(Object.assign({ path: `/api/document-templates/${documentId}/versions`, method: "POST", body: data, secure: true, type:
|
|
1905
|
+
createDocumentTemplateVersion: (documentId, data, params = {}) => this.request(Object.assign({ path: `/api/document-templates/${documentId}/versions`, method: "POST", body: data, secure: true, type: ContentType.Json, format: "json" }, params)),
|
|
1740
1906
|
/**
|
|
1741
1907
|
* No description
|
|
1742
1908
|
*
|
|
@@ -1758,7 +1924,7 @@ export class Api extends HttpClient {
|
|
|
1758
1924
|
* @secure
|
|
1759
1925
|
* @response `200` `DocumentTemplateVersion` OK
|
|
1760
1926
|
*/
|
|
1761
|
-
replaceDocumentTemplateVersion: (documentId, id, data, params = {}) => this.request(Object.assign({ path: `/api/document-templates/${documentId}/versions/${id}`, method: "PUT", body: data, secure: true, type:
|
|
1927
|
+
replaceDocumentTemplateVersion: (documentId, id, data, params = {}) => this.request(Object.assign({ path: `/api/document-templates/${documentId}/versions/${id}`, method: "PUT", body: data, secure: true, type: ContentType.Json, format: "json" }, params)),
|
|
1762
1928
|
/**
|
|
1763
1929
|
* No description
|
|
1764
1930
|
*
|
|
@@ -1796,7 +1962,7 @@ export class Api extends HttpClient {
|
|
|
1796
1962
|
* @response `409` `void` Conflict
|
|
1797
1963
|
* @response `422` `ProblemDetails` Unprocessable Content
|
|
1798
1964
|
*/
|
|
1799
|
-
addEncompassCustomFieldMapping: (definitionId, data, params = {}) => this.request(Object.assign({ path: `/api/los/encompass/custom-field-mappings/${definitionId}`, method: "POST", body: data, secure: true, type:
|
|
1965
|
+
addEncompassCustomFieldMapping: (definitionId, data, params = {}) => this.request(Object.assign({ path: `/api/los/encompass/custom-field-mappings/${definitionId}`, method: "POST", body: data, secure: true, type: ContentType.Json, format: "json" }, params)),
|
|
1800
1966
|
/**
|
|
1801
1967
|
* No description
|
|
1802
1968
|
*
|
|
@@ -1899,7 +2065,144 @@ export class Api extends HttpClient {
|
|
|
1899
2065
|
* @response `404` `EncompassError` Not Found
|
|
1900
2066
|
* @response `500` `EncompassError` Internal Server Error
|
|
1901
2067
|
*/
|
|
1902
|
-
createEncompassSession: (data, params = {}) => this.request(Object.assign({ path: `/api/los/encompass/eclose/sessions`, method: "POST", body: data, secure: true, type:
|
|
2068
|
+
createEncompassSession: (data, params = {}) => this.request(Object.assign({ path: `/api/los/encompass/eclose/sessions`, method: "POST", body: data, secure: true, type: ContentType.Json, format: "json" }, params)),
|
|
2069
|
+
/**
|
|
2070
|
+
* No description
|
|
2071
|
+
*
|
|
2072
|
+
* @tags EncompassIntegrations
|
|
2073
|
+
* @name SearchEncompassIntegrations
|
|
2074
|
+
* @summary Search registered Encompass integrations across accounts (SuperAdmin)
|
|
2075
|
+
* @request POST:/api/monitoring/encompass-integrations/search
|
|
2076
|
+
* @secure
|
|
2077
|
+
* @response `200` `LosIntegrationPaginated` OK
|
|
2078
|
+
* @response `400` `ProblemDetails` Bad Request
|
|
2079
|
+
* @response `401` `ProblemDetails` Unauthorized
|
|
2080
|
+
* @response `403` `ProblemDetails` Forbidden
|
|
2081
|
+
*/
|
|
2082
|
+
searchEncompassIntegrations: (data, query, params = {}) => this.request(Object.assign({ path: `/api/monitoring/encompass-integrations/search`, method: "POST", query: query, body: data, secure: true, type: ContentType.Json, format: "json" }, params)),
|
|
2083
|
+
/**
|
|
2084
|
+
* No description
|
|
2085
|
+
*
|
|
2086
|
+
* @tags EncompassIntegrations
|
|
2087
|
+
* @name GetEncompassIntegrationsSummary
|
|
2088
|
+
* @summary Summarize registered Encompass integration health across accounts (SuperAdmin)
|
|
2089
|
+
* @request POST:/api/monitoring/encompass-integrations/summary
|
|
2090
|
+
* @secure
|
|
2091
|
+
* @response `200` `LosIntegrationsSummary` OK
|
|
2092
|
+
* @response `401` `ProblemDetails` Unauthorized
|
|
2093
|
+
* @response `403` `ProblemDetails` Forbidden
|
|
2094
|
+
*/
|
|
2095
|
+
getEncompassIntegrationsSummary: (data, query, params = {}) => this.request(Object.assign({ path: `/api/monitoring/encompass-integrations/summary`, method: "POST", query: query, body: data, secure: true, type: ContentType.Json, format: "json" }, params)),
|
|
2096
|
+
/**
|
|
2097
|
+
* No description
|
|
2098
|
+
*
|
|
2099
|
+
* @tags EncompassIntegrations
|
|
2100
|
+
* @name GetEncompassIntegrationsHealth
|
|
2101
|
+
* @summary Get Encompass login health for a set of accounts (SuperAdmin)
|
|
2102
|
+
* @request POST:/api/monitoring/encompass-integrations/health
|
|
2103
|
+
* @secure
|
|
2104
|
+
* @response `200` `(LosCredentialHealth)[]` OK
|
|
2105
|
+
* @response `400` `ProblemDetails` Bad Request
|
|
2106
|
+
* @response `401` `ProblemDetails` Unauthorized
|
|
2107
|
+
* @response `403` `ProblemDetails` Forbidden
|
|
2108
|
+
*/
|
|
2109
|
+
getEncompassIntegrationsHealth: (data, params = {}) => this.request(Object.assign({ path: `/api/monitoring/encompass-integrations/health`, method: "POST", body: data, secure: true, type: ContentType.Json, format: "json" }, params)),
|
|
2110
|
+
/**
|
|
2111
|
+
* No description
|
|
2112
|
+
*
|
|
2113
|
+
* @tags EncompassIntegrations
|
|
2114
|
+
* @name RecheckEncompassIntegrationHealth
|
|
2115
|
+
* @summary Force a fresh Encompass login health check for one account (SuperAdmin)
|
|
2116
|
+
* @request POST:/api/monitoring/encompass-integrations/{accountId}/health/recheck
|
|
2117
|
+
* @secure
|
|
2118
|
+
* @response `200` `LosCredentialHealth` OK
|
|
2119
|
+
* @response `401` `ProblemDetails` Unauthorized
|
|
2120
|
+
* @response `403` `ProblemDetails` Forbidden
|
|
2121
|
+
*/
|
|
2122
|
+
recheckEncompassIntegrationHealth: (accountId, params = {}) => this.request(Object.assign({ path: `/api/monitoring/encompass-integrations/${accountId}/health/recheck`, method: "POST", secure: true, format: "json" }, params)),
|
|
2123
|
+
/**
|
|
2124
|
+
* No description
|
|
2125
|
+
*
|
|
2126
|
+
* @tags EncompassIntegrations
|
|
2127
|
+
* @name GetEncompassIntegrationsWebhooks
|
|
2128
|
+
* @summary Get registered-versus-expected Encompass webhooks for a set of accounts (SuperAdmin)
|
|
2129
|
+
* @request POST:/api/monitoring/encompass-integrations/webhooks
|
|
2130
|
+
* @secure
|
|
2131
|
+
* @response `200` `(LosWebhookInventory)[]` OK
|
|
2132
|
+
* @response `400` `ProblemDetails` Bad Request
|
|
2133
|
+
* @response `401` `ProblemDetails` Unauthorized
|
|
2134
|
+
* @response `403` `ProblemDetails` Forbidden
|
|
2135
|
+
*/
|
|
2136
|
+
getEncompassIntegrationsWebhooks: (data, params = {}) => this.request(Object.assign({ path: `/api/monitoring/encompass-integrations/webhooks`, method: "POST", body: data, secure: true, type: ContentType.Json, format: "json" }, params)),
|
|
2137
|
+
/**
|
|
2138
|
+
* No description
|
|
2139
|
+
*
|
|
2140
|
+
* @tags EncompassIntegrations
|
|
2141
|
+
* @name RecheckEncompassIntegrationWebhooks
|
|
2142
|
+
* @summary Force a fresh Encompass webhook inventory read for one account (SuperAdmin)
|
|
2143
|
+
* @request POST:/api/monitoring/encompass-integrations/{accountId}/webhooks/recheck
|
|
2144
|
+
* @secure
|
|
2145
|
+
* @response `200` `LosWebhookInventory` OK
|
|
2146
|
+
* @response `401` `ProblemDetails` Unauthorized
|
|
2147
|
+
* @response `403` `ProblemDetails` Forbidden
|
|
2148
|
+
*/
|
|
2149
|
+
recheckEncompassIntegrationWebhooks: (accountId, params = {}) => this.request(Object.assign({ path: `/api/monitoring/encompass-integrations/${accountId}/webhooks/recheck`, method: "POST", secure: true, format: "json" }, params)),
|
|
2150
|
+
/**
|
|
2151
|
+
* No description
|
|
2152
|
+
*
|
|
2153
|
+
* @tags EncompassIntegrations
|
|
2154
|
+
* @name GetEncompassIntegrationCredentials
|
|
2155
|
+
* @summary Get Encompass credentials including secrets for a specific account (SuperAdmin)
|
|
2156
|
+
* @request GET:/api/monitoring/encompass-integrations/{accountId}/credentials
|
|
2157
|
+
* @secure
|
|
2158
|
+
* @response `200` `LosIntegrationCredentials` OK
|
|
2159
|
+
* @response `401` `ProblemDetails` Unauthorized
|
|
2160
|
+
* @response `403` `ProblemDetails` Forbidden
|
|
2161
|
+
* @response `404` `ProblemDetails` Not Found
|
|
2162
|
+
*/
|
|
2163
|
+
getEncompassIntegrationCredentials: (accountId, params = {}) => this.request(Object.assign({ path: `/api/monitoring/encompass-integrations/${accountId}/credentials`, method: "GET", secure: true, format: "json" }, params)),
|
|
2164
|
+
/**
|
|
2165
|
+
* No description
|
|
2166
|
+
*
|
|
2167
|
+
* @tags EncompassIntegrations
|
|
2168
|
+
* @name UpdateEncompassIntegrationCredentials
|
|
2169
|
+
* @summary Update Encompass credentials for a specific account (SuperAdmin)
|
|
2170
|
+
* @request PUT:/api/monitoring/encompass-integrations/{accountId}/credentials
|
|
2171
|
+
* @secure
|
|
2172
|
+
* @response `200` `EncompassCredentialsDetail` OK
|
|
2173
|
+
* @response `401` `ProblemDetails` Unauthorized
|
|
2174
|
+
* @response `403` `ProblemDetails` Forbidden
|
|
2175
|
+
* @response `404` `ProblemDetails` Not Found
|
|
2176
|
+
*/
|
|
2177
|
+
updateEncompassIntegrationCredentials: (accountId, data, params = {}) => this.request(Object.assign({ path: `/api/monitoring/encompass-integrations/${accountId}/credentials`, method: "PUT", body: data, secure: true, type: ContentType.Json, format: "json" }, params)),
|
|
2178
|
+
/**
|
|
2179
|
+
* No description
|
|
2180
|
+
*
|
|
2181
|
+
* @tags EncompassIntegrations
|
|
2182
|
+
* @name RegisterEncompassIntegrationWebhook
|
|
2183
|
+
* @summary Register an expected Encompass webhook for a specific account (SuperAdmin)
|
|
2184
|
+
* @request POST:/api/monitoring/encompass-integrations/{accountId}/webhooks
|
|
2185
|
+
* @secure
|
|
2186
|
+
* @response `201` `LosWebhook` Created
|
|
2187
|
+
* @response `400` `ProblemDetails` Bad Request
|
|
2188
|
+
* @response `401` `ProblemDetails` Unauthorized
|
|
2189
|
+
* @response `403` `ProblemDetails` Forbidden
|
|
2190
|
+
*/
|
|
2191
|
+
registerEncompassIntegrationWebhook: (accountId, data, params = {}) => this.request(Object.assign({ path: `/api/monitoring/encompass-integrations/${accountId}/webhooks`, method: "POST", body: data, secure: true, type: ContentType.Json, format: "json" }, params)),
|
|
2192
|
+
/**
|
|
2193
|
+
* No description
|
|
2194
|
+
*
|
|
2195
|
+
* @tags EncompassIntegrations
|
|
2196
|
+
* @name DeleteEncompassIntegrationWebhook
|
|
2197
|
+
* @summary Delete an Encompass webhook for a specific account (SuperAdmin)
|
|
2198
|
+
* @request DELETE:/api/monitoring/encompass-integrations/{accountId}/webhooks/{webhookId}
|
|
2199
|
+
* @secure
|
|
2200
|
+
* @response `204` `void` No Content
|
|
2201
|
+
* @response `401` `ProblemDetails` Unauthorized
|
|
2202
|
+
* @response `403` `ProblemDetails` Forbidden
|
|
2203
|
+
* @response `404` `ProblemDetails` Not Found
|
|
2204
|
+
*/
|
|
2205
|
+
deleteEncompassIntegrationWebhook: (accountId, webhookId, params = {}) => this.request(Object.assign({ path: `/api/monitoring/encompass-integrations/${accountId}/webhooks/${webhookId}`, method: "DELETE", secure: true }, params)),
|
|
1903
2206
|
/**
|
|
1904
2207
|
* No description
|
|
1905
2208
|
*
|
|
@@ -1922,7 +2225,7 @@ export class Api extends HttpClient {
|
|
|
1922
2225
|
* @response `201` `File` Created
|
|
1923
2226
|
* @response `422` `UnprocessableEntity` Unprocessable Content
|
|
1924
2227
|
*/
|
|
1925
|
-
uploadFile: (data, params = {}) => this.request(Object.assign({ path: `/api/files`, method: "POST", body: data, secure: true, type:
|
|
2228
|
+
uploadFile: (data, params = {}) => this.request(Object.assign({ path: `/api/files`, method: "POST", body: data, secure: true, type: ContentType.FormData, format: "json" }, params)),
|
|
1926
2229
|
/**
|
|
1927
2230
|
* No description
|
|
1928
2231
|
*
|
|
@@ -1945,7 +2248,7 @@ export class Api extends HttpClient {
|
|
|
1945
2248
|
* @response `200` `string` OK
|
|
1946
2249
|
* @response `422` `UnprocessableEntity` Unprocessable Content
|
|
1947
2250
|
*/
|
|
1948
|
-
replaceFile: (id, data, params = {}) => this.request(Object.assign({ path: `/api/files/${id}`, method: "PUT", body: data, secure: true, type:
|
|
2251
|
+
replaceFile: (id, data, params = {}) => this.request(Object.assign({ path: `/api/files/${id}`, method: "PUT", body: data, secure: true, type: ContentType.Json, format: "json" }, params)),
|
|
1949
2252
|
/**
|
|
1950
2253
|
* No description
|
|
1951
2254
|
*
|
|
@@ -1967,7 +2270,7 @@ export class Api extends HttpClient {
|
|
|
1967
2270
|
* @secure
|
|
1968
2271
|
* @response `200` `FilePaginated` OK
|
|
1969
2272
|
*/
|
|
1970
|
-
searchFiles: (data, query, params = {}) => this.request(Object.assign({ path: `/api/files/search`, method: "POST", query: query, body: data, secure: true, type:
|
|
2273
|
+
searchFiles: (data, query, params = {}) => this.request(Object.assign({ path: `/api/files/search`, method: "POST", query: query, body: data, secure: true, type: ContentType.Json, format: "json" }, params)),
|
|
1971
2274
|
/**
|
|
1972
2275
|
* No description
|
|
1973
2276
|
*
|
|
@@ -1990,7 +2293,7 @@ export class Api extends HttpClient {
|
|
|
1990
2293
|
* @response `201` `Form` Created
|
|
1991
2294
|
* @response `422` `UnprocessableEntity` Unprocessable Content
|
|
1992
2295
|
*/
|
|
1993
|
-
createForm: (data, params = {}) => this.request(Object.assign({ path: `/api/forms`, method: "POST", body: data, secure: true, type:
|
|
2296
|
+
createForm: (data, params = {}) => this.request(Object.assign({ path: `/api/forms`, method: "POST", body: data, secure: true, type: ContentType.Json, format: "json" }, params)),
|
|
1994
2297
|
/**
|
|
1995
2298
|
* No description
|
|
1996
2299
|
*
|
|
@@ -2013,7 +2316,7 @@ export class Api extends HttpClient {
|
|
|
2013
2316
|
* @response `200` `Form` OK
|
|
2014
2317
|
* @response `422` `UnprocessableEntity` Unprocessable Content
|
|
2015
2318
|
*/
|
|
2016
|
-
replaceForm: (id, data, params = {}) => this.request(Object.assign({ path: `/api/forms/${id}`, method: "PUT", body: data, secure: true, type:
|
|
2319
|
+
replaceForm: (id, data, params = {}) => this.request(Object.assign({ path: `/api/forms/${id}`, method: "PUT", body: data, secure: true, type: ContentType.Json, format: "json" }, params)),
|
|
2017
2320
|
/**
|
|
2018
2321
|
* No description
|
|
2019
2322
|
*
|
|
@@ -2046,7 +2349,7 @@ export class Api extends HttpClient {
|
|
|
2046
2349
|
* @secure
|
|
2047
2350
|
* @response `200` `FormSubmissionFile` OK
|
|
2048
2351
|
*/
|
|
2049
|
-
addFormSubmissionFile: (formSubmissionId, data, params = {}) => this.request(Object.assign({ path: `/api/form-submissions/${formSubmissionId}/files`, method: "POST", body: data, secure: true, type:
|
|
2352
|
+
addFormSubmissionFile: (formSubmissionId, data, params = {}) => this.request(Object.assign({ path: `/api/form-submissions/${formSubmissionId}/files`, method: "POST", body: data, secure: true, type: ContentType.FormData, format: "json" }, params)),
|
|
2050
2353
|
/**
|
|
2051
2354
|
* No description
|
|
2052
2355
|
*
|
|
@@ -2090,7 +2393,7 @@ export class Api extends HttpClient {
|
|
|
2090
2393
|
* @secure
|
|
2091
2394
|
* @response `201` `FormSubmission` Created
|
|
2092
2395
|
*/
|
|
2093
|
-
createFormSubmission: (data, query, params = {}) => this.request(Object.assign({ path: `/api/form-submissions`, method: "POST", query: query, body: data, secure: true, type:
|
|
2396
|
+
createFormSubmission: (data, query, params = {}) => this.request(Object.assign({ path: `/api/form-submissions`, method: "POST", query: query, body: data, secure: true, type: ContentType.Json, format: "json" }, params)),
|
|
2094
2397
|
/**
|
|
2095
2398
|
* No description
|
|
2096
2399
|
*
|
|
@@ -2112,7 +2415,7 @@ export class Api extends HttpClient {
|
|
|
2112
2415
|
* @secure
|
|
2113
2416
|
* @response `200` `FormSubmission` OK
|
|
2114
2417
|
*/
|
|
2115
|
-
replaceFormSubmission: (id, data, params = {}) => this.request(Object.assign({ path: `/api/form-submissions/${id}`, method: "PUT", body: data, secure: true, type:
|
|
2418
|
+
replaceFormSubmission: (id, data, params = {}) => this.request(Object.assign({ path: `/api/form-submissions/${id}`, method: "PUT", body: data, secure: true, type: ContentType.Json, format: "json" }, params)),
|
|
2116
2419
|
/**
|
|
2117
2420
|
* No description
|
|
2118
2421
|
*
|
|
@@ -2134,7 +2437,7 @@ export class Api extends HttpClient {
|
|
|
2134
2437
|
* @secure
|
|
2135
2438
|
* @response `200` `FormSubmissionPaginated` OK
|
|
2136
2439
|
*/
|
|
2137
|
-
searchFormSubmissions: (data, query, params = {}) => this.request(Object.assign({ path: `/api/form-submissions/search`, method: "POST", query: query, body: data, secure: true, type:
|
|
2440
|
+
searchFormSubmissions: (data, query, params = {}) => this.request(Object.assign({ path: `/api/form-submissions/search`, method: "POST", query: query, body: data, secure: true, type: ContentType.Json, format: "json" }, params)),
|
|
2138
2441
|
/**
|
|
2139
2442
|
* No description
|
|
2140
2443
|
*
|
|
@@ -2156,7 +2459,7 @@ export class Api extends HttpClient {
|
|
|
2156
2459
|
* @secure
|
|
2157
2460
|
* @response `200` `FormVersion` OK
|
|
2158
2461
|
*/
|
|
2159
|
-
createFormVersion: (formId, data, params = {}) => this.request(Object.assign({ path: `/api/forms/${formId}/versions`, method: "POST", body: data, secure: true, type:
|
|
2462
|
+
createFormVersion: (formId, data, params = {}) => this.request(Object.assign({ path: `/api/forms/${formId}/versions`, method: "POST", body: data, secure: true, type: ContentType.Json, format: "json" }, params)),
|
|
2160
2463
|
/**
|
|
2161
2464
|
* No description
|
|
2162
2465
|
*
|
|
@@ -2178,7 +2481,7 @@ export class Api extends HttpClient {
|
|
|
2178
2481
|
* @secure
|
|
2179
2482
|
* @response `200` `FormVersion` OK
|
|
2180
2483
|
*/
|
|
2181
|
-
replaceFormVersion: (formId, id, data, params = {}) => this.request(Object.assign({ path: `/api/forms/${formId}/versions/${id}`, method: "PUT", body: data, secure: true, type:
|
|
2484
|
+
replaceFormVersion: (formId, id, data, params = {}) => this.request(Object.assign({ path: `/api/forms/${formId}/versions/${id}`, method: "PUT", body: data, secure: true, type: ContentType.Json, format: "json" }, params)),
|
|
2182
2485
|
/**
|
|
2183
2486
|
* No description
|
|
2184
2487
|
*
|
|
@@ -2224,7 +2527,7 @@ export class Api extends HttpClient {
|
|
|
2224
2527
|
* @response `200` `string` OK
|
|
2225
2528
|
* @response `422` `UnprocessableEntity` Unprocessable Content
|
|
2226
2529
|
*/
|
|
2227
|
-
updateLoanConsentAndCustomFieldsObsolete: (loanId, data, params = {}) => this.request(Object.assign({ path: `/api/los/loan/application/${loanId}`, method: "PATCH", body: data, secure: true, type:
|
|
2530
|
+
updateLoanConsentAndCustomFieldsObsolete: (loanId, data, params = {}) => this.request(Object.assign({ path: `/api/los/loan/application/${loanId}`, method: "PATCH", body: data, secure: true, type: ContentType.JsonPatch, format: "json" }, params)),
|
|
2228
2531
|
/**
|
|
2229
2532
|
* No description
|
|
2230
2533
|
*
|
|
@@ -2235,7 +2538,7 @@ export class Api extends HttpClient {
|
|
|
2235
2538
|
* @secure
|
|
2236
2539
|
* @response `200` `GetReport` OK
|
|
2237
2540
|
*/
|
|
2238
|
-
getLoansReport: (data, params = {}) => this.request(Object.assign({ path: `/api/los/loan/reports`, method: "POST", body: data, secure: true, type:
|
|
2541
|
+
getLoansReport: (data, params = {}) => this.request(Object.assign({ path: `/api/los/loan/reports`, method: "POST", body: data, secure: true, type: ContentType.Json, format: "json" }, params)),
|
|
2239
2542
|
/**
|
|
2240
2543
|
* No description
|
|
2241
2544
|
*
|
|
@@ -2249,7 +2552,7 @@ export class Api extends HttpClient {
|
|
|
2249
2552
|
* @response `422` `UnprocessableEntity` Unprocessable Content
|
|
2250
2553
|
* @response `423` `UnprocessableEntity` Locked
|
|
2251
2554
|
*/
|
|
2252
|
-
createLoan: (data, query, params = {}) => this.request(Object.assign({ path: `/api/los/loan/application`, method: "POST", query: query, body: data, secure: true, type:
|
|
2555
|
+
createLoan: (data, query, params = {}) => this.request(Object.assign({ path: `/api/los/loan/application`, method: "POST", query: query, body: data, secure: true, type: ContentType.Json, format: "json" }, params)),
|
|
2253
2556
|
/**
|
|
2254
2557
|
* No description
|
|
2255
2558
|
*
|
|
@@ -2262,7 +2565,7 @@ export class Api extends HttpClient {
|
|
|
2262
2565
|
* @response `422` `UnprocessableEntity` Unprocessable Content
|
|
2263
2566
|
* @response `423` `UnprocessableEntity` Locked
|
|
2264
2567
|
*/
|
|
2265
|
-
createLoanInternal: (data, query, params = {}) => this.request(Object.assign({ path: `/api/los/loan/application/internal`, method: "POST", query: query, body: data, secure: true, type:
|
|
2568
|
+
createLoanInternal: (data, query, params = {}) => this.request(Object.assign({ path: `/api/los/loan/application/internal`, method: "POST", query: query, body: data, secure: true, type: ContentType.Json, format: "json" }, params)),
|
|
2266
2569
|
/**
|
|
2267
2570
|
* No description
|
|
2268
2571
|
*
|
|
@@ -2274,7 +2577,7 @@ export class Api extends HttpClient {
|
|
|
2274
2577
|
* @response `200` `string` OK
|
|
2275
2578
|
* @response `422` `UnprocessableEntity` Unprocessable Content
|
|
2276
2579
|
*/
|
|
2277
|
-
updateLoanCustomFields: (loanId, data, params = {}) => this.request(Object.assign({ path: `/api/los/loan/application/${loanId}/custom-fields`, method: "PATCH", body: data, secure: true, type:
|
|
2580
|
+
updateLoanCustomFields: (loanId, data, params = {}) => this.request(Object.assign({ path: `/api/los/loan/application/${loanId}/custom-fields`, method: "PATCH", body: data, secure: true, type: ContentType.JsonPatch, format: "json" }, params)),
|
|
2278
2581
|
/**
|
|
2279
2582
|
* No description
|
|
2280
2583
|
*
|
|
@@ -2287,7 +2590,7 @@ export class Api extends HttpClient {
|
|
|
2287
2590
|
* @response `202` `string` Accepted
|
|
2288
2591
|
* @response `422` `UnprocessableEntity` Unprocessable Content
|
|
2289
2592
|
*/
|
|
2290
|
-
updateLoanConsent: (loanId, data, params = {}) => this.request(Object.assign({ path: `/api/los/loan/application/${loanId}/consent`, method: "PATCH", body: data, secure: true, type:
|
|
2593
|
+
updateLoanConsent: (loanId, data, params = {}) => this.request(Object.assign({ path: `/api/los/loan/application/${loanId}/consent`, method: "PATCH", body: data, secure: true, type: ContentType.JsonPatch, format: "json" }, params)),
|
|
2291
2594
|
/**
|
|
2292
2595
|
* No description
|
|
2293
2596
|
*
|
|
@@ -2367,7 +2670,7 @@ export class Api extends HttpClient {
|
|
|
2367
2670
|
* @secure
|
|
2368
2671
|
* @response `200` `ListingFile` OK
|
|
2369
2672
|
*/
|
|
2370
|
-
addListingFile: (listingId, data, params = {}) => this.request(Object.assign({ path: `/api/listings/${listingId}/files`, method: "POST", body: data, secure: true, type:
|
|
2673
|
+
addListingFile: (listingId, data, params = {}) => this.request(Object.assign({ path: `/api/listings/${listingId}/files`, method: "POST", body: data, secure: true, type: ContentType.FormData, format: "json" }, params)),
|
|
2371
2674
|
/**
|
|
2372
2675
|
* No description
|
|
2373
2676
|
*
|
|
@@ -2378,7 +2681,7 @@ export class Api extends HttpClient {
|
|
|
2378
2681
|
* @secure
|
|
2379
2682
|
* @response `200` `ListingFile` OK
|
|
2380
2683
|
*/
|
|
2381
|
-
updateListingFiles: (listingId, data, params = {}) => this.request(Object.assign({ path: `/api/listings/${listingId}/files`, method: "PATCH", body: data, secure: true, type:
|
|
2684
|
+
updateListingFiles: (listingId, data, params = {}) => this.request(Object.assign({ path: `/api/listings/${listingId}/files`, method: "PATCH", body: data, secure: true, type: ContentType.JsonPatch, format: "json" }, params)),
|
|
2382
2685
|
/**
|
|
2383
2686
|
* No description
|
|
2384
2687
|
*
|
|
@@ -2400,7 +2703,7 @@ export class Api extends HttpClient {
|
|
|
2400
2703
|
* @secure
|
|
2401
2704
|
* @response `200` `ListingPhoto` OK
|
|
2402
2705
|
*/
|
|
2403
|
-
addListingPhoto: (listingId, data, params = {}) => this.request(Object.assign({ path: `/api/listings/${listingId}/photos`, method: "POST", body: data, secure: true, type:
|
|
2706
|
+
addListingPhoto: (listingId, data, params = {}) => this.request(Object.assign({ path: `/api/listings/${listingId}/photos`, method: "POST", body: data, secure: true, type: ContentType.FormData, format: "json" }, params)),
|
|
2404
2707
|
/**
|
|
2405
2708
|
* No description
|
|
2406
2709
|
*
|
|
@@ -2411,7 +2714,7 @@ export class Api extends HttpClient {
|
|
|
2411
2714
|
* @secure
|
|
2412
2715
|
* @response `200` `(ListingPhoto)[]` OK
|
|
2413
2716
|
*/
|
|
2414
|
-
updateListingPhotos: (listingId, data, params = {}) => this.request(Object.assign({ path: `/api/listings/${listingId}/photos`, method: "PATCH", body: data, secure: true, type:
|
|
2717
|
+
updateListingPhotos: (listingId, data, params = {}) => this.request(Object.assign({ path: `/api/listings/${listingId}/photos`, method: "PATCH", body: data, secure: true, type: ContentType.JsonPatch, format: "json" }, params)),
|
|
2415
2718
|
/**
|
|
2416
2719
|
* No description
|
|
2417
2720
|
*
|
|
@@ -2444,7 +2747,7 @@ export class Api extends HttpClient {
|
|
|
2444
2747
|
* @secure
|
|
2445
2748
|
* @response `201` `Listing` Created
|
|
2446
2749
|
*/
|
|
2447
|
-
createListing: (data, params = {}) => this.request(Object.assign({ path: `/api/listings`, method: "POST", body: data, secure: true, type:
|
|
2750
|
+
createListing: (data, params = {}) => this.request(Object.assign({ path: `/api/listings`, method: "POST", body: data, secure: true, type: ContentType.Json, format: "json" }, params)),
|
|
2448
2751
|
/**
|
|
2449
2752
|
* No description
|
|
2450
2753
|
*
|
|
@@ -2477,7 +2780,7 @@ export class Api extends HttpClient {
|
|
|
2477
2780
|
* @secure
|
|
2478
2781
|
* @response `200` `Listing` OK
|
|
2479
2782
|
*/
|
|
2480
|
-
replaceListing: (id, data, params = {}) => this.request(Object.assign({ path: `/api/listings/${id}`, method: "PUT", body: data, secure: true, type:
|
|
2783
|
+
replaceListing: (id, data, params = {}) => this.request(Object.assign({ path: `/api/listings/${id}`, method: "PUT", body: data, secure: true, type: ContentType.Json, format: "json" }, params)),
|
|
2481
2784
|
/**
|
|
2482
2785
|
* No description
|
|
2483
2786
|
*
|
|
@@ -2499,7 +2802,7 @@ export class Api extends HttpClient {
|
|
|
2499
2802
|
* @secure
|
|
2500
2803
|
* @response `200` `ListingPaginated` OK
|
|
2501
2804
|
*/
|
|
2502
|
-
searchListings: (data, query, params = {}) => this.request(Object.assign({ path: `/api/listings/search`, method: "POST", query: query, body: data, secure: true, type:
|
|
2805
|
+
searchListings: (data, query, params = {}) => this.request(Object.assign({ path: `/api/listings/search`, method: "POST", query: query, body: data, secure: true, type: ContentType.Json, format: "json" }, params)),
|
|
2503
2806
|
/**
|
|
2504
2807
|
* No description
|
|
2505
2808
|
*
|
|
@@ -2510,7 +2813,7 @@ export class Api extends HttpClient {
|
|
|
2510
2813
|
* @secure
|
|
2511
2814
|
* @response `200` `File` OK
|
|
2512
2815
|
*/
|
|
2513
|
-
updateListingBackgroundImage: (id, data, params = {}) => this.request(Object.assign({ path: `/api/listings/${id}/background-image`, method: "PUT", body: data, secure: true, type:
|
|
2816
|
+
updateListingBackgroundImage: (id, data, params = {}) => this.request(Object.assign({ path: `/api/listings/${id}/background-image`, method: "PUT", body: data, secure: true, type: ContentType.FormData, format: "json" }, params)),
|
|
2514
2817
|
/**
|
|
2515
2818
|
* No description
|
|
2516
2819
|
*
|
|
@@ -2556,7 +2859,7 @@ export class Api extends HttpClient {
|
|
|
2556
2859
|
* @response `422` `UnprocessableEntity` Unprocessable Content
|
|
2557
2860
|
* @response `423` `UnprocessableEntity` Locked
|
|
2558
2861
|
*/
|
|
2559
|
-
runLoanCalculator: (loanId, data, params = {}) => this.request(Object.assign({ path: `/api/loans/${loanId}/calculators/loan-calculator`, method: "POST", body: data, secure: true, type:
|
|
2862
|
+
runLoanCalculator: (loanId, data, params = {}) => this.request(Object.assign({ path: `/api/loans/${loanId}/calculators/loan-calculator`, method: "POST", body: data, secure: true, type: ContentType.Json, format: "json" }, params)),
|
|
2560
2863
|
/**
|
|
2561
2864
|
* No description
|
|
2562
2865
|
*
|
|
@@ -2580,7 +2883,7 @@ export class Api extends HttpClient {
|
|
|
2580
2883
|
* @response `422` `UnprocessableEntity` Unprocessable Content
|
|
2581
2884
|
* @response `423` `UnprocessableEntity` Locked
|
|
2582
2885
|
*/
|
|
2583
|
-
createLoanComparison: (loanId, index, data, params = {}) => this.request(Object.assign({ path: `/api/loans/${loanId}/loan-comparison/${index}`, method: "POST", body: data, secure: true, type:
|
|
2886
|
+
createLoanComparison: (loanId, index, data, params = {}) => this.request(Object.assign({ path: `/api/loans/${loanId}/loan-comparison/${index}`, method: "POST", body: data, secure: true, type: ContentType.Json, format: "json" }, params)),
|
|
2584
2887
|
/**
|
|
2585
2888
|
* No description
|
|
2586
2889
|
*
|
|
@@ -2603,7 +2906,7 @@ export class Api extends HttpClient {
|
|
|
2603
2906
|
* @response `204` `void` No Content
|
|
2604
2907
|
* @response `422` `UnprocessableEntity` Unprocessable Content
|
|
2605
2908
|
*/
|
|
2606
|
-
createLoanComparisonPdf: (loanId, data, params = {}) => this.request(Object.assign({ path: `/api/loans/${loanId}/loan-comparison/pdf`, method: "POST", body: data, secure: true, type:
|
|
2909
|
+
createLoanComparisonPdf: (loanId, data, params = {}) => this.request(Object.assign({ path: `/api/loans/${loanId}/loan-comparison/pdf`, method: "POST", body: data, secure: true, type: ContentType.Json }, params)),
|
|
2607
2910
|
/**
|
|
2608
2911
|
* No description
|
|
2609
2912
|
*
|
|
@@ -2640,7 +2943,7 @@ export class Api extends HttpClient {
|
|
|
2640
2943
|
* @response `400` `ProblemDetails` Bad Request
|
|
2641
2944
|
* @response `422` `ProblemDetails` Unprocessable Content
|
|
2642
2945
|
*/
|
|
2643
|
-
bulkSetLoanCustomFieldValues: (loanId, data, params = {}) => this.request(Object.assign({ path: `/api/loans/${loanId}/custom-fields`, method: "PUT", body: data, secure: true, type:
|
|
2946
|
+
bulkSetLoanCustomFieldValues: (loanId, data, params = {}) => this.request(Object.assign({ path: `/api/loans/${loanId}/custom-fields`, method: "PUT", body: data, secure: true, type: ContentType.Json }, params)),
|
|
2644
2947
|
/**
|
|
2645
2948
|
* No description
|
|
2646
2949
|
*
|
|
@@ -2654,7 +2957,7 @@ export class Api extends HttpClient {
|
|
|
2654
2957
|
* @response `404` `ProblemDetails` Not Found
|
|
2655
2958
|
* @response `422` `ProblemDetails` Unprocessable Content
|
|
2656
2959
|
*/
|
|
2657
|
-
setLoanCustomFieldValue: (loanId, definitionId, data, params = {}) => this.request(Object.assign({ path: `/api/loans/${loanId}/custom-fields/${definitionId}`, method: "PUT", body: data, secure: true, type:
|
|
2960
|
+
setLoanCustomFieldValue: (loanId, definitionId, data, params = {}) => this.request(Object.assign({ path: `/api/loans/${loanId}/custom-fields/${definitionId}`, method: "PUT", body: data, secure: true, type: ContentType.Json }, params)),
|
|
2658
2961
|
/**
|
|
2659
2962
|
* No description
|
|
2660
2963
|
*
|
|
@@ -2674,45 +2977,22 @@ export class Api extends HttpClient {
|
|
|
2674
2977
|
* @name GetLoanDocumentBuckets
|
|
2675
2978
|
* @summary Get All
|
|
2676
2979
|
* @request GET:/api/loans/{loanId}/documents/buckets
|
|
2980
|
+
* @deprecated
|
|
2677
2981
|
* @secure
|
|
2678
2982
|
* @response `200` `(string)[]` OK
|
|
2679
2983
|
*/
|
|
2680
2984
|
getLoanDocumentBuckets: (loanId, params = {}) => this.request(Object.assign({ path: `/api/loans/${loanId}/documents/buckets`, method: "GET", secure: true, format: "json" }, params)),
|
|
2681
|
-
/**
|
|
2682
|
-
* No description
|
|
2683
|
-
*
|
|
2684
|
-
* @tags LoanDocumentBuckets
|
|
2685
|
-
* @name CreateLoanDocumentBuckets
|
|
2686
|
-
* @summary Create
|
|
2687
|
-
* @request POST:/api/loans/{loanId}/documents/buckets
|
|
2688
|
-
* @secure
|
|
2689
|
-
* @response `201` `(string)[]` Created
|
|
2690
|
-
*/
|
|
2691
|
-
createLoanDocumentBuckets: (loanId, data, params = {}) => this.request(Object.assign({ path: `/api/loans/${loanId}/documents/buckets`, method: "POST", body: data, secure: true, type: "application/json", format: "json" }, params)),
|
|
2692
2985
|
/**
|
|
2693
2986
|
* No description
|
|
2694
2987
|
*
|
|
2695
2988
|
* @tags LoanDocumentFolders
|
|
2696
|
-
* @name
|
|
2697
|
-
* @summary
|
|
2698
|
-
* @request
|
|
2989
|
+
* @name SearchLoanDocumentFolders
|
|
2990
|
+
* @summary Search loan document folders for the current account
|
|
2991
|
+
* @request POST:/api/loan-document-folders/search
|
|
2699
2992
|
* @secure
|
|
2700
|
-
* @response `200` `
|
|
2993
|
+
* @response `200` `LoanDocumentFolderPaginated` OK
|
|
2701
2994
|
*/
|
|
2702
|
-
|
|
2703
|
-
/**
|
|
2704
|
-
* No description
|
|
2705
|
-
*
|
|
2706
|
-
* @tags LoanDocumentFolders
|
|
2707
|
-
* @name CreateLoanDocumentFolder
|
|
2708
|
-
* @summary Create a loan document folder
|
|
2709
|
-
* @request POST:/api/loan-document-folders
|
|
2710
|
-
* @secure
|
|
2711
|
-
* @response `201` `LoanDocumentFolder` Created
|
|
2712
|
-
* @response `409` `ProblemDetails` Conflict
|
|
2713
|
-
* @response `422` `ProblemDetails` Unprocessable Content
|
|
2714
|
-
*/
|
|
2715
|
-
createLoanDocumentFolder: (data, params = {}) => this.request(Object.assign({ path: `/api/loan-document-folders`, method: "POST", body: data, secure: true, type: "application/json", format: "json" }, params)),
|
|
2995
|
+
searchLoanDocumentFolders: (data, query, params = {}) => this.request(Object.assign({ path: `/api/loan-document-folders/search`, method: "POST", query: query, body: data, secure: true, type: ContentType.Json, format: "json" }, params)),
|
|
2716
2996
|
/**
|
|
2717
2997
|
* No description
|
|
2718
2998
|
*
|
|
@@ -2739,7 +3019,7 @@ export class Api extends HttpClient {
|
|
|
2739
3019
|
* @response `409` `ProblemDetails` Conflict
|
|
2740
3020
|
* @response `422` `ProblemDetails` Unprocessable Content
|
|
2741
3021
|
*/
|
|
2742
|
-
updateLoanDocumentFolder: (id, data, params = {}) => this.request(Object.assign({ path: `/api/loan-document-folders/${id}`, method: "PUT", body: data, secure: true, type:
|
|
3022
|
+
updateLoanDocumentFolder: (id, data, params = {}) => this.request(Object.assign({ path: `/api/loan-document-folders/${id}`, method: "PUT", body: data, secure: true, type: ContentType.Json, format: "json" }, params)),
|
|
2743
3023
|
/**
|
|
2744
3024
|
* No description
|
|
2745
3025
|
*
|
|
@@ -2754,6 +3034,19 @@ export class Api extends HttpClient {
|
|
|
2754
3034
|
* @response `409` `ProblemDetails` Conflict
|
|
2755
3035
|
*/
|
|
2756
3036
|
deleteLoanDocumentFolder: (id, params = {}) => this.request(Object.assign({ path: `/api/loan-document-folders/${id}`, method: "DELETE", secure: true }, params)),
|
|
3037
|
+
/**
|
|
3038
|
+
* No description
|
|
3039
|
+
*
|
|
3040
|
+
* @tags LoanDocumentFolders
|
|
3041
|
+
* @name CreateLoanDocumentFolder
|
|
3042
|
+
* @summary Create a loan document folder
|
|
3043
|
+
* @request POST:/api/loan-document-folders
|
|
3044
|
+
* @secure
|
|
3045
|
+
* @response `201` `LoanDocumentFolder` Created
|
|
3046
|
+
* @response `409` `ProblemDetails` Conflict
|
|
3047
|
+
* @response `422` `ProblemDetails` Unprocessable Content
|
|
3048
|
+
*/
|
|
3049
|
+
createLoanDocumentFolder: (data, params = {}) => this.request(Object.assign({ path: `/api/loan-document-folders`, method: "POST", body: data, secure: true, type: ContentType.Json, format: "json" }, params)),
|
|
2757
3050
|
/**
|
|
2758
3051
|
* No description
|
|
2759
3052
|
*
|
|
@@ -2791,6 +3084,29 @@ export class Api extends HttpClient {
|
|
|
2791
3084
|
* @response `404` `ProblemDetails` Not Found
|
|
2792
3085
|
*/
|
|
2793
3086
|
getLoanDocumentFolderUsage: (id, params = {}) => this.request(Object.assign({ path: `/api/loan-document-folders/${id}/usage`, method: "GET", secure: true, format: "json" }, params)),
|
|
3087
|
+
/**
|
|
3088
|
+
* @description Returns each folder that holds at least one document the caller can read, with the document count per folder. Documents that are not assigned to a folder are returned as a synthetic 'Unassigned' folder (ID = empty GUID).
|
|
3089
|
+
*
|
|
3090
|
+
* @tags LoanDocumentFoldersForSingleLoan
|
|
3091
|
+
* @name ListLoanDocumentFolders
|
|
3092
|
+
* @summary Get the loan's document folders
|
|
3093
|
+
* @request GET:/api/loans/{loanId}/document-folders
|
|
3094
|
+
* @secure
|
|
3095
|
+
* @response `200` `(LoanDocumentFolderWithCount)[]` OK
|
|
3096
|
+
*/
|
|
3097
|
+
listLoanDocumentFolders: (loanId, params = {}) => this.request(Object.assign({ path: `/api/loans/${loanId}/document-folders`, method: "GET", secure: true, format: "json" }, params)),
|
|
3098
|
+
/**
|
|
3099
|
+
* @description Deprecated — use GET documents/folders. Returns all documents grouped by folder for sidebar display. Use folderNamesOnly=true to get a simplified response with folder names and counts for mobile (Files array will be empty).
|
|
3100
|
+
*
|
|
3101
|
+
* @tags LoanDocumentFoldersForSingleLoan
|
|
3102
|
+
* @name GetLoanDocumentFolders
|
|
3103
|
+
* @summary [Deprecated] Get document folder hierarchy
|
|
3104
|
+
* @request POST:/api/loans/{loanId}/documents/folders
|
|
3105
|
+
* @deprecated
|
|
3106
|
+
* @secure
|
|
3107
|
+
* @response `200` `(DocumentFolder)[]` OK
|
|
3108
|
+
*/
|
|
3109
|
+
getLoanDocumentFolders: (loanId, data, query, params = {}) => this.request(Object.assign({ path: `/api/loans/${loanId}/documents/folders`, method: "POST", query: query, body: data, secure: true, type: ContentType.Json, format: "json" }, params)),
|
|
2794
3110
|
/**
|
|
2795
3111
|
* No description
|
|
2796
3112
|
*
|
|
@@ -2814,7 +3130,7 @@ export class Api extends HttpClient {
|
|
|
2814
3130
|
* @response `200` `Record<string,string>` OK
|
|
2815
3131
|
* @response `400` `ProblemDetails` Bad Request
|
|
2816
3132
|
*/
|
|
2817
|
-
getLoanDocumentPreviews: (loanId, data, params = {}) => this.request(Object.assign({ path: `/api/loans/${loanId}/documents/previews`, method: "POST", body: data, secure: true, type:
|
|
3133
|
+
getLoanDocumentPreviews: (loanId, data, params = {}) => this.request(Object.assign({ path: `/api/loans/${loanId}/documents/previews`, method: "POST", body: data, secure: true, type: ContentType.Json, format: "json" }, params)),
|
|
2818
3134
|
/**
|
|
2819
3135
|
* No description
|
|
2820
3136
|
*
|
|
@@ -2825,18 +3141,7 @@ export class Api extends HttpClient {
|
|
|
2825
3141
|
* @secure
|
|
2826
3142
|
* @response `200` `LoanDocumentSearchPaginated` OK
|
|
2827
3143
|
*/
|
|
2828
|
-
searchLoanDocuments: (loanId, data, query, params = {}) => this.request(Object.assign({ path: `/api/loans/${loanId}/documents/search`, method: "POST", query: query, body: data, secure: true, type:
|
|
2829
|
-
/**
|
|
2830
|
-
* @description Returns all documents grouped by folder for sidebar display. Use folderNamesOnly=true to get simplified response with folder names and counts for mobile (Files array will be empty).
|
|
2831
|
-
*
|
|
2832
|
-
* @tags LoanDocuments
|
|
2833
|
-
* @name GetLoanDocumentFolders
|
|
2834
|
-
* @summary Get document folder hierarchy
|
|
2835
|
-
* @request POST:/api/loans/{loanId}/documents/folders
|
|
2836
|
-
* @secure
|
|
2837
|
-
* @response `200` `(DocumentFolder)[]` OK
|
|
2838
|
-
*/
|
|
2839
|
-
getLoanDocumentFolders: (loanId, data, query, params = {}) => this.request(Object.assign({ path: `/api/loans/${loanId}/documents/folders`, method: "POST", query: query, body: data, secure: true, type: "application/json", format: "json" }, params)),
|
|
3144
|
+
searchLoanDocuments: (loanId, data, query, params = {}) => this.request(Object.assign({ path: `/api/loans/${loanId}/documents/search`, method: "POST", query: query, body: data, secure: true, type: ContentType.Json, format: "json" }, params)),
|
|
2840
3145
|
/**
|
|
2841
3146
|
* No description
|
|
2842
3147
|
*
|
|
@@ -2845,7 +3150,7 @@ export class Api extends HttpClient {
|
|
|
2845
3150
|
* @summary Download By ID
|
|
2846
3151
|
* @request GET:/api/loans/{loanId}/documents/{documentId}/download
|
|
2847
3152
|
* @secure
|
|
2848
|
-
* @response `200` `
|
|
3153
|
+
* @response `200` `string` OK
|
|
2849
3154
|
* @response `404` `ProblemDetails` Not Found
|
|
2850
3155
|
*/
|
|
2851
3156
|
downloadLoanDocument: (loanId, documentId, params = {}) => this.request(Object.assign({ path: `/api/loans/${loanId}/documents/${documentId}/download`, method: "GET", secure: true, format: "json" }, params)),
|
|
@@ -2861,7 +3166,7 @@ export class Api extends HttpClient {
|
|
|
2861
3166
|
* @response `404` `ProblemDetails` Not Found
|
|
2862
3167
|
* @response `422` `UnprocessableEntity` Unprocessable Content
|
|
2863
3168
|
*/
|
|
2864
|
-
createLoanDocument: (loanId, data, params = {}) => this.request(Object.assign({ path: `/api/loans/${loanId}/documents`, method: "POST", body: data, secure: true, type:
|
|
3169
|
+
createLoanDocument: (loanId, data, params = {}) => this.request(Object.assign({ path: `/api/loans/${loanId}/documents`, method: "POST", body: data, secure: true, type: ContentType.FormData, format: "json" }, params)),
|
|
2865
3170
|
/**
|
|
2866
3171
|
* No description
|
|
2867
3172
|
*
|
|
@@ -2885,7 +3190,7 @@ export class Api extends HttpClient {
|
|
|
2885
3190
|
* @secure
|
|
2886
3191
|
* @response `200` `DocumentDataRequest` OK
|
|
2887
3192
|
*/
|
|
2888
|
-
generateLoanDocument: (loanId, data, params = {}) => this.request(Object.assign({ path: `/api/loans/${loanId}/documents/generate`, method: "POST", body: data, secure: true, type:
|
|
3193
|
+
generateLoanDocument: (loanId, data, params = {}) => this.request(Object.assign({ path: `/api/loans/${loanId}/documents/generate`, method: "POST", body: data, secure: true, type: ContentType.Json, format: "json" }, params)),
|
|
2889
3194
|
/**
|
|
2890
3195
|
* No description
|
|
2891
3196
|
*
|
|
@@ -2898,7 +3203,7 @@ export class Api extends HttpClient {
|
|
|
2898
3203
|
* @response `400` `ProblemDetails` Bad Request
|
|
2899
3204
|
* @response `404` `ProblemDetails` Not Found
|
|
2900
3205
|
*/
|
|
2901
|
-
sendLoanDocuments: (loanId, data, params = {}) => this.request(Object.assign({ path: `/api/loans/${loanId}/documents/distribute`, method: "POST", body: data, secure: true, type:
|
|
3206
|
+
sendLoanDocuments: (loanId, data, params = {}) => this.request(Object.assign({ path: `/api/loans/${loanId}/documents/distribute`, method: "POST", body: data, secure: true, type: ContentType.Json }, params)),
|
|
2902
3207
|
/**
|
|
2903
3208
|
* @description Fetches all documents from Encompass that don't exist locally and stores them in S3
|
|
2904
3209
|
*
|
|
@@ -2923,7 +3228,7 @@ export class Api extends HttpClient {
|
|
|
2923
3228
|
* @response `404` `ProblemDetails` Not Found
|
|
2924
3229
|
* @response `422` `UnprocessableEntity` Unprocessable Content
|
|
2925
3230
|
*/
|
|
2926
|
-
classifyLoanDocumentManually: (loanId, documentId, data, params = {}) => this.request(Object.assign({ path: `/api/loans/${loanId}/documents/${documentId}/classify-manual`, method: "POST", body: data, secure: true, type:
|
|
3231
|
+
classifyLoanDocumentManually: (loanId, documentId, data, params = {}) => this.request(Object.assign({ path: `/api/loans/${loanId}/documents/${documentId}/classify-manual`, method: "POST", body: data, secure: true, type: ContentType.Json, format: "json" }, params)),
|
|
2927
3232
|
/**
|
|
2928
3233
|
* @description Re-attempts to push a failed document to LOS
|
|
2929
3234
|
*
|
|
@@ -2947,7 +3252,7 @@ export class Api extends HttpClient {
|
|
|
2947
3252
|
* @secure
|
|
2948
3253
|
* @response `201` `Draft` Created
|
|
2949
3254
|
*/
|
|
2950
|
-
createLoanDraft: (data, params = {}) => this.request(Object.assign({ path: `/api/loans/drafts`, method: "POST", body: data, secure: true, type:
|
|
3255
|
+
createLoanDraft: (data, params = {}) => this.request(Object.assign({ path: `/api/loans/drafts`, method: "POST", body: data, secure: true, type: ContentType.Json, format: "json" }, params)),
|
|
2951
3256
|
/**
|
|
2952
3257
|
* No description
|
|
2953
3258
|
*
|
|
@@ -2980,7 +3285,7 @@ export class Api extends HttpClient {
|
|
|
2980
3285
|
* @secure
|
|
2981
3286
|
* @response `200` `Draft` OK
|
|
2982
3287
|
*/
|
|
2983
|
-
replaceLoanDraft: (draftId, data, params = {}) => this.request(Object.assign({ path: `/api/loans/drafts/${draftId}`, method: "PUT", body: data, secure: true, type:
|
|
3288
|
+
replaceLoanDraft: (draftId, data, params = {}) => this.request(Object.assign({ path: `/api/loans/drafts/${draftId}`, method: "PUT", body: data, secure: true, type: ContentType.Json, format: "json" }, params)),
|
|
2984
3289
|
/**
|
|
2985
3290
|
* No description
|
|
2986
3291
|
*
|
|
@@ -3002,7 +3307,7 @@ export class Api extends HttpClient {
|
|
|
3002
3307
|
* @secure
|
|
3003
3308
|
* @response `201` `DraftContentPaginated` Created
|
|
3004
3309
|
*/
|
|
3005
|
-
searchLoanDrafts: (data, query, params = {}) => this.request(Object.assign({ path: `/api/loans/drafts/search`, method: "POST", query: query, body: data, secure: true, type:
|
|
3310
|
+
searchLoanDrafts: (data, query, params = {}) => this.request(Object.assign({ path: `/api/loans/drafts/search`, method: "POST", query: query, body: data, secure: true, type: ContentType.Json, format: "json" }, params)),
|
|
3006
3311
|
/**
|
|
3007
3312
|
* No description
|
|
3008
3313
|
*
|
|
@@ -3013,7 +3318,7 @@ export class Api extends HttpClient {
|
|
|
3013
3318
|
* @secure
|
|
3014
3319
|
* @response `200` `Draft` OK
|
|
3015
3320
|
*/
|
|
3016
|
-
reassignLoanOfficer: (draftId, data, params = {}) => this.request(Object.assign({ path: `/api/loans/drafts/${draftId}/reassign`, method: "PUT", body: data, secure: true, type:
|
|
3321
|
+
reassignLoanOfficer: (draftId, data, params = {}) => this.request(Object.assign({ path: `/api/loans/drafts/${draftId}/reassign`, method: "PUT", body: data, secure: true, type: ContentType.Json, format: "json" }, params)),
|
|
3017
3322
|
/**
|
|
3018
3323
|
* No description
|
|
3019
3324
|
*
|
|
@@ -3046,7 +3351,7 @@ export class Api extends HttpClient {
|
|
|
3046
3351
|
* @secure
|
|
3047
3352
|
* @response `201` `LoanImport` Created
|
|
3048
3353
|
*/
|
|
3049
|
-
createLoanImport: (data, params = {}) => this.request(Object.assign({ path: `/api/loan-imports`, method: "POST", body: data, secure: true, type:
|
|
3354
|
+
createLoanImport: (data, params = {}) => this.request(Object.assign({ path: `/api/loan-imports`, method: "POST", body: data, secure: true, type: ContentType.Json, format: "json" }, params)),
|
|
3050
3355
|
/**
|
|
3051
3356
|
* No description
|
|
3052
3357
|
*
|
|
@@ -3092,7 +3397,7 @@ export class Api extends HttpClient {
|
|
|
3092
3397
|
* @response `200` `(Invite)[]` OK
|
|
3093
3398
|
* @response `404` `ProblemDetails` Not Found
|
|
3094
3399
|
*/
|
|
3095
|
-
inviteLoanContacts: (loanId, data, params = {}) => this.request(Object.assign({ path: `/api/loans/${loanId}/invites`, method: "POST", body: data, secure: true, type:
|
|
3400
|
+
inviteLoanContacts: (loanId, data, params = {}) => this.request(Object.assign({ path: `/api/loans/${loanId}/invites`, method: "POST", body: data, secure: true, type: ContentType.Json, format: "json" }, params)),
|
|
3096
3401
|
/**
|
|
3097
3402
|
* No description
|
|
3098
3403
|
*
|
|
@@ -3103,7 +3408,7 @@ export class Api extends HttpClient {
|
|
|
3103
3408
|
* @secure
|
|
3104
3409
|
* @response `200` `LoanLogPaginated` OK
|
|
3105
3410
|
*/
|
|
3106
|
-
searchLoanLogs: (loanId, data, query, params = {}) => this.request(Object.assign({ path: `/api/loans/${loanId}/logs/search`, method: "POST", query: query, body: data, secure: true, type:
|
|
3411
|
+
searchLoanLogs: (loanId, data, query, params = {}) => this.request(Object.assign({ path: `/api/loans/${loanId}/logs/search`, method: "POST", query: query, body: data, secure: true, type: ContentType.Json, format: "json" }, params)),
|
|
3107
3412
|
/**
|
|
3108
3413
|
* No description
|
|
3109
3414
|
*
|
|
@@ -3128,7 +3433,7 @@ export class Api extends HttpClient {
|
|
|
3128
3433
|
* @response `400` `ProblemDetails` Bad Request
|
|
3129
3434
|
* @response `404` `ProblemDetails` Not Found
|
|
3130
3435
|
*/
|
|
3131
|
-
sendLoanOptInReminder: (loanId, data, params = {}) => this.request(Object.assign({ path: `/api/loans/${loanId}/notifications/opt-in-reminders`, method: "POST", body: data, secure: true, type:
|
|
3436
|
+
sendLoanOptInReminder: (loanId, data, params = {}) => this.request(Object.assign({ path: `/api/loans/${loanId}/notifications/opt-in-reminders`, method: "POST", body: data, secure: true, type: ContentType.Json }, params)),
|
|
3132
3437
|
/**
|
|
3133
3438
|
* No description
|
|
3134
3439
|
*
|
|
@@ -3141,7 +3446,7 @@ export class Api extends HttpClient {
|
|
|
3141
3446
|
* @response `400` `ProblemDetails` Bad Request
|
|
3142
3447
|
* @response `404` `ProblemDetails` Not Found
|
|
3143
3448
|
*/
|
|
3144
|
-
sendESignatureReminder: (loanId, data, params = {}) => this.request(Object.assign({ path: `/api/loans/${loanId}/notifications/esignature-reminders`, method: "POST", body: data, secure: true, type:
|
|
3449
|
+
sendESignatureReminder: (loanId, data, params = {}) => this.request(Object.assign({ path: `/api/loans/${loanId}/notifications/esignature-reminders`, method: "POST", body: data, secure: true, type: ContentType.Json }, params)),
|
|
3145
3450
|
/**
|
|
3146
3451
|
* No description
|
|
3147
3452
|
*
|
|
@@ -3163,7 +3468,7 @@ export class Api extends HttpClient {
|
|
|
3163
3468
|
* @secure
|
|
3164
3469
|
* @response `200` `BranchUserPaginated` OK
|
|
3165
3470
|
*/
|
|
3166
|
-
searchLoanOfficers: (data, query, params = {}) => this.request(Object.assign({ path: `/api/loan-officers/search`, method: "POST", query: query, body: data, secure: true, type:
|
|
3471
|
+
searchLoanOfficers: (data, query, params = {}) => this.request(Object.assign({ path: `/api/loan-officers/search`, method: "POST", query: query, body: data, secure: true, type: ContentType.Json, format: "json" }, params)),
|
|
3167
3472
|
/**
|
|
3168
3473
|
* No description
|
|
3169
3474
|
*
|
|
@@ -3186,7 +3491,7 @@ export class Api extends HttpClient {
|
|
|
3186
3491
|
* @response `200` `SiteConfiguration` OK
|
|
3187
3492
|
* @response `422` `UnprocessableEntity` Unprocessable Content
|
|
3188
3493
|
*/
|
|
3189
|
-
createLoanOfficerSiteConfiguration: (loanOfficerId, data, params = {}) => this.request(Object.assign({ path: `/api/loan-officers/${loanOfficerId}/site-configurations`, method: "POST", body: data, secure: true, type:
|
|
3494
|
+
createLoanOfficerSiteConfiguration: (loanOfficerId, data, params = {}) => this.request(Object.assign({ path: `/api/loan-officers/${loanOfficerId}/site-configurations`, method: "POST", body: data, secure: true, type: ContentType.Json, format: "json" }, params)),
|
|
3190
3495
|
/**
|
|
3191
3496
|
* No description
|
|
3192
3497
|
*
|
|
@@ -3209,7 +3514,7 @@ export class Api extends HttpClient {
|
|
|
3209
3514
|
* @response `200` `SiteConfiguration` OK
|
|
3210
3515
|
* @response `422` `UnprocessableEntity` Unprocessable Content
|
|
3211
3516
|
*/
|
|
3212
|
-
replaceLoanOfficerSiteConfiguration: (loanOfficerId, siteConfigurationId, data, query, params = {}) => this.request(Object.assign({ path: `/api/loan-officers/${loanOfficerId}/site-configurations/${siteConfigurationId}`, method: "PUT", query: query, body: data, secure: true, type:
|
|
3517
|
+
replaceLoanOfficerSiteConfiguration: (loanOfficerId, siteConfigurationId, data, query, params = {}) => this.request(Object.assign({ path: `/api/loan-officers/${loanOfficerId}/site-configurations/${siteConfigurationId}`, method: "PUT", query: query, body: data, secure: true, type: ContentType.Json, format: "json" }, params)),
|
|
3213
3518
|
/**
|
|
3214
3519
|
* No description
|
|
3215
3520
|
*
|
|
@@ -3220,7 +3525,7 @@ export class Api extends HttpClient {
|
|
|
3220
3525
|
* @secure
|
|
3221
3526
|
* @response `200` `LoanQueuePaginated` OK
|
|
3222
3527
|
*/
|
|
3223
|
-
searchLoanQueue: (data, query, params = {}) => this.request(Object.assign({ path: `/api/loans/queue/search`, method: "POST", query: query, body: data, secure: true, type:
|
|
3528
|
+
searchLoanQueue: (data, query, params = {}) => this.request(Object.assign({ path: `/api/loans/queue/search`, method: "POST", query: query, body: data, secure: true, type: ContentType.Json, format: "json" }, params)),
|
|
3224
3529
|
/**
|
|
3225
3530
|
* No description
|
|
3226
3531
|
*
|
|
@@ -3244,7 +3549,7 @@ export class Api extends HttpClient {
|
|
|
3244
3549
|
* @response `200` `LoanQueueWithData` OK
|
|
3245
3550
|
* @response `404` `ProblemDetails` Not Found
|
|
3246
3551
|
*/
|
|
3247
|
-
replaceLoanQueue: (loanQueueId, data, params = {}) => this.request(Object.assign({ path: `/api/loans/queue/${loanQueueId}`, method: "PUT", body: data, secure: true, type:
|
|
3552
|
+
replaceLoanQueue: (loanQueueId, data, params = {}) => this.request(Object.assign({ path: `/api/loans/queue/${loanQueueId}`, method: "PUT", body: data, secure: true, type: ContentType.Json, format: "json" }, params)),
|
|
3248
3553
|
/**
|
|
3249
3554
|
* No description
|
|
3250
3555
|
*
|
|
@@ -3305,7 +3610,7 @@ export class Api extends HttpClient {
|
|
|
3305
3610
|
* @response `401` `ProblemDetails` Unauthorized
|
|
3306
3611
|
* @response `403` `ProblemDetails` Forbidden
|
|
3307
3612
|
*/
|
|
3308
|
-
createLoanv3: (data, params = {}) => this.request(Object.assign({ path: `/api/loans`, method: "POST", body: data, secure: true, type:
|
|
3613
|
+
createLoanv3: (data, params = {}) => this.request(Object.assign({ path: `/api/loans`, method: "POST", body: data, secure: true, type: ContentType.Json, format: "json" }, params)),
|
|
3309
3614
|
/**
|
|
3310
3615
|
* No description
|
|
3311
3616
|
*
|
|
@@ -3316,7 +3621,7 @@ export class Api extends HttpClient {
|
|
|
3316
3621
|
* @secure
|
|
3317
3622
|
* @response `200` `LoanListPaginated` OK
|
|
3318
3623
|
*/
|
|
3319
|
-
searchLoans: (data, query, params = {}) => this.request(Object.assign({ path: `/api/loans/search`, method: "POST", query: query, body: data, secure: true, type:
|
|
3624
|
+
searchLoans: (data, query, params = {}) => this.request(Object.assign({ path: `/api/loans/search`, method: "POST", query: query, body: data, secure: true, type: ContentType.Json, format: "json" }, params)),
|
|
3320
3625
|
/**
|
|
3321
3626
|
* No description
|
|
3322
3627
|
*
|
|
@@ -3332,7 +3637,7 @@ export class Api extends HttpClient {
|
|
|
3332
3637
|
* @response `404` `ProblemDetails` Not Found
|
|
3333
3638
|
* @response `409` `any` Conflict
|
|
3334
3639
|
*/
|
|
3335
|
-
updateLoan: (loanId, data, params = {}) => this.request(Object.assign({ path: `/api/loans/${loanId}`, method: "PATCH", body: data, secure: true, type:
|
|
3640
|
+
updateLoan: (loanId, data, params = {}) => this.request(Object.assign({ path: `/api/loans/${loanId}`, method: "PATCH", body: data, secure: true, type: ContentType.JsonPatch, format: "json" }, params)),
|
|
3336
3641
|
/**
|
|
3337
3642
|
* No description
|
|
3338
3643
|
*
|
|
@@ -3394,7 +3699,7 @@ export class Api extends HttpClient {
|
|
|
3394
3699
|
* @response `400` `ProblemDetails` Bad Request
|
|
3395
3700
|
* @response `404` `ProblemDetails` Not Found
|
|
3396
3701
|
*/
|
|
3397
|
-
triggerAso: (loanId, data, params = {}) => this.request(Object.assign({ path: `/api/loans/${loanId}/aso`, method: "POST", body: data, secure: true, type:
|
|
3702
|
+
triggerAso: (loanId, data, params = {}) => this.request(Object.assign({ path: `/api/loans/${loanId}/aso`, method: "POST", body: data, secure: true, type: ContentType.Json, format: "json" }, params)),
|
|
3398
3703
|
/**
|
|
3399
3704
|
* No description
|
|
3400
3705
|
*
|
|
@@ -3406,7 +3711,7 @@ export class Api extends HttpClient {
|
|
|
3406
3711
|
* @response `200` `TaskCommentPaginated` OK
|
|
3407
3712
|
* @response `404` `ProblemDetails` Not Found
|
|
3408
3713
|
*/
|
|
3409
|
-
searchLoanTaskComments: (loanId, userLoanTaskId, data, query, params = {}) => this.request(Object.assign({ path: `/api/loans/${loanId}/tasks/${userLoanTaskId}/comments/search`, method: "POST", query: query, body: data, secure: true, type:
|
|
3714
|
+
searchLoanTaskComments: (loanId, userLoanTaskId, data, query, params = {}) => this.request(Object.assign({ path: `/api/loans/${loanId}/tasks/${userLoanTaskId}/comments/search`, method: "POST", query: query, body: data, secure: true, type: ContentType.Json, format: "json" }, params)),
|
|
3410
3715
|
/**
|
|
3411
3716
|
* No description
|
|
3412
3717
|
*
|
|
@@ -3430,7 +3735,7 @@ export class Api extends HttpClient {
|
|
|
3430
3735
|
* @response `201` `TaskComment` Created
|
|
3431
3736
|
* @response `404` `ProblemDetails` Not Found
|
|
3432
3737
|
*/
|
|
3433
|
-
createLoanTaskComment: (loanId, userLoanTaskId, data, params = {}) => this.request(Object.assign({ path: `/api/loans/${loanId}/tasks/${userLoanTaskId}/comments`, method: "POST", body: data, secure: true, type:
|
|
3738
|
+
createLoanTaskComment: (loanId, userLoanTaskId, data, params = {}) => this.request(Object.assign({ path: `/api/loans/${loanId}/tasks/${userLoanTaskId}/comments`, method: "POST", body: data, secure: true, type: ContentType.Json, format: "json" }, params)),
|
|
3434
3739
|
/**
|
|
3435
3740
|
* No description
|
|
3436
3741
|
*
|
|
@@ -3442,7 +3747,7 @@ export class Api extends HttpClient {
|
|
|
3442
3747
|
* @response `200` `TaskComment` OK
|
|
3443
3748
|
* @response `404` `ProblemDetails` Not Found
|
|
3444
3749
|
*/
|
|
3445
|
-
replaceLoanTaskComment: (loanId, userLoanTaskId, commentId, data, params = {}) => this.request(Object.assign({ path: `/api/loans/${loanId}/tasks/${userLoanTaskId}/comments/${commentId}`, method: "PUT", body: data, secure: true, type:
|
|
3750
|
+
replaceLoanTaskComment: (loanId, userLoanTaskId, commentId, data, params = {}) => this.request(Object.assign({ path: `/api/loans/${loanId}/tasks/${userLoanTaskId}/comments/${commentId}`, method: "PUT", body: data, secure: true, type: ContentType.Json, format: "json" }, params)),
|
|
3446
3751
|
/**
|
|
3447
3752
|
* No description
|
|
3448
3753
|
*
|
|
@@ -3467,7 +3772,7 @@ export class Api extends HttpClient {
|
|
|
3467
3772
|
* @response `404` `ProblemDetails` Not Found
|
|
3468
3773
|
* @response `422` `UnprocessableEntity` Unprocessable Content
|
|
3469
3774
|
*/
|
|
3470
|
-
createLoanTaskDocument: (loanId, loanTaskId, data, params = {}) => this.request(Object.assign({ path: `/api/loans/${loanId}/tasks/${loanTaskId}/documents`, method: "POST", body: data, secure: true, type:
|
|
3775
|
+
createLoanTaskDocument: (loanId, loanTaskId, data, params = {}) => this.request(Object.assign({ path: `/api/loans/${loanId}/tasks/${loanTaskId}/documents`, method: "POST", body: data, secure: true, type: ContentType.FormData, format: "json" }, params)),
|
|
3471
3776
|
/**
|
|
3472
3777
|
* No description
|
|
3473
3778
|
*
|
|
@@ -3481,7 +3786,7 @@ export class Api extends HttpClient {
|
|
|
3481
3786
|
* @response `404` `ProblemDetails` Not Found
|
|
3482
3787
|
* @response `422` `ProblemDetails` Unprocessable Content
|
|
3483
3788
|
*/
|
|
3484
|
-
sendOutstandingLoanTaskNotification: (loanId, data, params = {}) => this.request(Object.assign({ path: `/api/loans/${loanId}/tasks/reminders/outstanding`, method: "POST", body: data, secure: true, type:
|
|
3789
|
+
sendOutstandingLoanTaskNotification: (loanId, data, params = {}) => this.request(Object.assign({ path: `/api/loans/${loanId}/tasks/reminders/outstanding`, method: "POST", body: data, secure: true, type: ContentType.Json }, params)),
|
|
3485
3790
|
/**
|
|
3486
3791
|
* No description
|
|
3487
3792
|
*
|
|
@@ -3494,7 +3799,7 @@ export class Api extends HttpClient {
|
|
|
3494
3799
|
* @response `400` `ProblemDetails` Bad Request
|
|
3495
3800
|
* @response `404` `ProblemDetails` Not Found
|
|
3496
3801
|
*/
|
|
3497
|
-
sendLoanTaskReminder: (loanId, data, params = {}) => this.request(Object.assign({ path: `/api/loans/${loanId}/tasks/reminders`, method: "POST", body: data, secure: true, type:
|
|
3802
|
+
sendLoanTaskReminder: (loanId, data, params = {}) => this.request(Object.assign({ path: `/api/loans/${loanId}/tasks/reminders`, method: "POST", body: data, secure: true, type: ContentType.Json }, params)),
|
|
3498
3803
|
/**
|
|
3499
3804
|
* @description Search tasks across all loans
|
|
3500
3805
|
*
|
|
@@ -3505,7 +3810,7 @@ export class Api extends HttpClient {
|
|
|
3505
3810
|
* @secure
|
|
3506
3811
|
* @response `200` `UserLoanTaskPaginated` OK
|
|
3507
3812
|
*/
|
|
3508
|
-
searchLoanTasks: (data, query, params = {}) => this.request(Object.assign({ path: `/api/loans/tasks/search`, method: "POST", query: query, body: data, secure: true, type:
|
|
3813
|
+
searchLoanTasks: (data, query, params = {}) => this.request(Object.assign({ path: `/api/loans/tasks/search`, method: "POST", query: query, body: data, secure: true, type: ContentType.Json, format: "json" }, params)),
|
|
3509
3814
|
/**
|
|
3510
3815
|
* @description Returns task counts grouped by status for loans accessible to the current user based on their role
|
|
3511
3816
|
*
|
|
@@ -3517,7 +3822,7 @@ export class Api extends HttpClient {
|
|
|
3517
3822
|
* @response `200` `(LoanTaskStatusSummary)[]` OK
|
|
3518
3823
|
* @response `422` `UnprocessableEntity` Unprocessable Content
|
|
3519
3824
|
*/
|
|
3520
|
-
searchLoanTasksSummary: (data, params = {}) => this.request(Object.assign({ path: `/api/loans/tasks/search/summary`, method: "POST", body: data, secure: true, type:
|
|
3825
|
+
searchLoanTasksSummary: (data, params = {}) => this.request(Object.assign({ path: `/api/loans/tasks/search/summary`, method: "POST", body: data, secure: true, type: ContentType.Json, format: "json" }, params)),
|
|
3521
3826
|
/**
|
|
3522
3827
|
* No description
|
|
3523
3828
|
*
|
|
@@ -3565,7 +3870,7 @@ export class Api extends HttpClient {
|
|
|
3565
3870
|
* @response `201` `UserLoanTask` Created
|
|
3566
3871
|
* @response `404` `ProblemDetails` Not Found
|
|
3567
3872
|
*/
|
|
3568
|
-
createLoanTask: (loanId, taskId, data, params = {}) => this.request(Object.assign({ path: `/api/loans/${loanId}/tasks/${taskId}`, method: "POST", body: data, secure: true, type:
|
|
3873
|
+
createLoanTask: (loanId, taskId, data, params = {}) => this.request(Object.assign({ path: `/api/loans/${loanId}/tasks/${taskId}`, method: "POST", body: data, secure: true, type: ContentType.Json, format: "json" }, params)),
|
|
3569
3874
|
/**
|
|
3570
3875
|
* No description
|
|
3571
3876
|
*
|
|
@@ -3577,7 +3882,7 @@ export class Api extends HttpClient {
|
|
|
3577
3882
|
* @response `201` `(UserLoanTask)[]` Created
|
|
3578
3883
|
* @response `404` `ProblemDetails` Not Found
|
|
3579
3884
|
*/
|
|
3580
|
-
importLoanTask: (loanId, data, params = {}) => this.request(Object.assign({ path: `/api/loans/${loanId}/tasks/import`, method: "POST", body: data, secure: true, type:
|
|
3885
|
+
importLoanTask: (loanId, data, params = {}) => this.request(Object.assign({ path: `/api/loans/${loanId}/tasks/import`, method: "POST", body: data, secure: true, type: ContentType.Json, format: "json" }, params)),
|
|
3581
3886
|
/**
|
|
3582
3887
|
* No description
|
|
3583
3888
|
*
|
|
@@ -3589,7 +3894,7 @@ export class Api extends HttpClient {
|
|
|
3589
3894
|
* @response `200` `UserLoanTask` OK
|
|
3590
3895
|
* @response `404` `ProblemDetails` Not Found
|
|
3591
3896
|
*/
|
|
3592
|
-
replaceLoanTask: (loanId, userLoanTaskId, data, params = {}) => this.request(Object.assign({ path: `/api/loans/${loanId}/tasks/${userLoanTaskId}`, method: "PUT", body: data, secure: true, type:
|
|
3897
|
+
replaceLoanTask: (loanId, userLoanTaskId, data, params = {}) => this.request(Object.assign({ path: `/api/loans/${loanId}/tasks/${userLoanTaskId}`, method: "PUT", body: data, secure: true, type: ContentType.Json, format: "json" }, params)),
|
|
3593
3898
|
/**
|
|
3594
3899
|
* No description
|
|
3595
3900
|
*
|
|
@@ -3648,7 +3953,7 @@ export class Api extends HttpClient {
|
|
|
3648
3953
|
* @secure
|
|
3649
3954
|
* @response `201` `LoanUser` Created
|
|
3650
3955
|
*/
|
|
3651
|
-
addLoanUser: (loanId, userId, data, params = {}) => this.request(Object.assign({ path: `/api/loans/${loanId}/users/${userId}`, method: "POST", body: data, secure: true, type:
|
|
3956
|
+
addLoanUser: (loanId, userId, data, params = {}) => this.request(Object.assign({ path: `/api/loans/${loanId}/users/${userId}`, method: "POST", body: data, secure: true, type: ContentType.Json, format: "json" }, params)),
|
|
3652
3957
|
/**
|
|
3653
3958
|
* No description
|
|
3654
3959
|
*
|
|
@@ -3681,7 +3986,7 @@ export class Api extends HttpClient {
|
|
|
3681
3986
|
* @secure
|
|
3682
3987
|
* @response `200` `LosOperationTrackingPaginated` OK
|
|
3683
3988
|
*/
|
|
3684
|
-
searchLosOperationTracking: (data, query, params = {}) => this.request(Object.assign({ path: `/api/los-operation-tracking/search`, method: "POST", query: query, body: data, secure: true, type:
|
|
3989
|
+
searchLosOperationTracking: (data, query, params = {}) => this.request(Object.assign({ path: `/api/los-operation-tracking/search`, method: "POST", query: query, body: data, secure: true, type: ContentType.Json, format: "json" }, params)),
|
|
3685
3990
|
/**
|
|
3686
3991
|
* No description
|
|
3687
3992
|
*
|
|
@@ -3694,7 +3999,7 @@ export class Api extends HttpClient {
|
|
|
3694
3999
|
* @response `401` `ProblemDetails` Unauthorized
|
|
3695
4000
|
* @response `403` `ProblemDetails` Forbidden
|
|
3696
4001
|
*/
|
|
3697
|
-
searchInboundSyncFailures: (data, query, params = {}) => this.request(Object.assign({ path: `/api/monitoring/inbound-sync-failures/search`, method: "POST", query: query, body: data, secure: true, type:
|
|
4002
|
+
searchInboundSyncFailures: (data, query, params = {}) => this.request(Object.assign({ path: `/api/monitoring/inbound-sync-failures/search`, method: "POST", query: query, body: data, secure: true, type: ContentType.Json, format: "json" }, params)),
|
|
3698
4003
|
/**
|
|
3699
4004
|
* No description
|
|
3700
4005
|
*
|
|
@@ -3707,7 +4012,7 @@ export class Api extends HttpClient {
|
|
|
3707
4012
|
* @response `401` `ProblemDetails` Unauthorized
|
|
3708
4013
|
* @response `403` `ProblemDetails` Forbidden
|
|
3709
4014
|
*/
|
|
3710
|
-
getInboundSyncFailuresSummary: (data, query, params = {}) => this.request(Object.assign({ path: `/api/monitoring/inbound-sync-failures/summary`, method: "POST", query: query, body: data, secure: true, type:
|
|
4015
|
+
getInboundSyncFailuresSummary: (data, query, params = {}) => this.request(Object.assign({ path: `/api/monitoring/inbound-sync-failures/summary`, method: "POST", query: query, body: data, secure: true, type: ContentType.Json, format: "json" }, params)),
|
|
3711
4016
|
/**
|
|
3712
4017
|
* No description
|
|
3713
4018
|
*
|
|
@@ -3744,7 +4049,7 @@ export class Api extends HttpClient {
|
|
|
3744
4049
|
* @response `201` `MilestoneConfiguration` Created
|
|
3745
4050
|
* @response `422` `UnprocessableEntity` Unprocessable Content
|
|
3746
4051
|
*/
|
|
3747
|
-
createMilestone: (data, params = {}) => this.request(Object.assign({ path: `/api/milestones`, method: "POST", body: data, secure: true, type:
|
|
4052
|
+
createMilestone: (data, params = {}) => this.request(Object.assign({ path: `/api/milestones`, method: "POST", body: data, secure: true, type: ContentType.Json, format: "json" }, params)),
|
|
3748
4053
|
/**
|
|
3749
4054
|
* No description
|
|
3750
4055
|
*
|
|
@@ -3769,7 +4074,7 @@ export class Api extends HttpClient {
|
|
|
3769
4074
|
* @response `404` `Error` Not Found
|
|
3770
4075
|
* @response `422` `UnprocessableEntity` Unprocessable Content
|
|
3771
4076
|
*/
|
|
3772
|
-
replaceMilestone: (id, data, params = {}) => this.request(Object.assign({ path: `/api/milestones/${id}`, method: "PUT", body: data, secure: true, type:
|
|
4077
|
+
replaceMilestone: (id, data, params = {}) => this.request(Object.assign({ path: `/api/milestones/${id}`, method: "PUT", body: data, secure: true, type: ContentType.Json, format: "json" }, params)),
|
|
3773
4078
|
/**
|
|
3774
4079
|
* No description
|
|
3775
4080
|
*
|
|
@@ -3795,7 +4100,7 @@ export class Api extends HttpClient {
|
|
|
3795
4100
|
* @response `404` `ProblemDetails` Not Found
|
|
3796
4101
|
* @response `422` `ProblemDetails` Unprocessable Content
|
|
3797
4102
|
*/
|
|
3798
|
-
seedMobileAppReview: (data, params = {}) => this.request(Object.assign({ path: `/api/mobile-app-review/seed`, method: "POST", body: data, secure: true, type:
|
|
4103
|
+
seedMobileAppReview: (data, params = {}) => this.request(Object.assign({ path: `/api/mobile-app-review/seed`, method: "POST", body: data, secure: true, type: ContentType.Json, format: "json" }, params)),
|
|
3799
4104
|
/**
|
|
3800
4105
|
* No description
|
|
3801
4106
|
*
|
|
@@ -3807,7 +4112,7 @@ export class Api extends HttpClient {
|
|
|
3807
4112
|
* @response `200` `MonthlyPaymentCalculator` OK
|
|
3808
4113
|
* @response `422` `ProblemDetails` Unprocessable Content
|
|
3809
4114
|
*/
|
|
3810
|
-
calculateMortgageMonthlyPayment: (data, params = {}) => this.request(Object.assign({ path: `/api/mortgage-calculators/monthly-payment`, method: "POST", body: data, secure: true, type:
|
|
4115
|
+
calculateMortgageMonthlyPayment: (data, params = {}) => this.request(Object.assign({ path: `/api/mortgage-calculators/monthly-payment`, method: "POST", body: data, secure: true, type: ContentType.Json, format: "json" }, params)),
|
|
3811
4116
|
/**
|
|
3812
4117
|
* No description
|
|
3813
4118
|
*
|
|
@@ -3819,7 +4124,7 @@ export class Api extends HttpClient {
|
|
|
3819
4124
|
* @response `200` `AffordabilityCalculator` OK
|
|
3820
4125
|
* @response `422` `ProblemDetails` Unprocessable Content
|
|
3821
4126
|
*/
|
|
3822
|
-
calculateMortgageAffordability: (data, params = {}) => this.request(Object.assign({ path: `/api/mortgage-calculators/affordability`, method: "POST", body: data, secure: true, type:
|
|
4127
|
+
calculateMortgageAffordability: (data, params = {}) => this.request(Object.assign({ path: `/api/mortgage-calculators/affordability`, method: "POST", body: data, secure: true, type: ContentType.Json, format: "json" }, params)),
|
|
3823
4128
|
/**
|
|
3824
4129
|
* No description
|
|
3825
4130
|
*
|
|
@@ -3831,7 +4136,7 @@ export class Api extends HttpClient {
|
|
|
3831
4136
|
* @response `200` `LoanComparisonCalculator` OK
|
|
3832
4137
|
* @response `422` `ProblemDetails` Unprocessable Content
|
|
3833
4138
|
*/
|
|
3834
|
-
calculateMortgageLoanComparison: (data, params = {}) => this.request(Object.assign({ path: `/api/mortgage-calculators/loan-comparison`, method: "POST", body: data, secure: true, type:
|
|
4139
|
+
calculateMortgageLoanComparison: (data, params = {}) => this.request(Object.assign({ path: `/api/mortgage-calculators/loan-comparison`, method: "POST", body: data, secure: true, type: ContentType.Json, format: "json" }, params)),
|
|
3835
4140
|
/**
|
|
3836
4141
|
* No description
|
|
3837
4142
|
*
|
|
@@ -3843,7 +4148,7 @@ export class Api extends HttpClient {
|
|
|
3843
4148
|
* @response `200` `RefinanceCalculator` OK
|
|
3844
4149
|
* @response `422` `ProblemDetails` Unprocessable Content
|
|
3845
4150
|
*/
|
|
3846
|
-
calculateMortgageRefinance: (data, params = {}) => this.request(Object.assign({ path: `/api/mortgage-calculators/refinance`, method: "POST", body: data, secure: true, type:
|
|
4151
|
+
calculateMortgageRefinance: (data, params = {}) => this.request(Object.assign({ path: `/api/mortgage-calculators/refinance`, method: "POST", body: data, secure: true, type: ContentType.Json, format: "json" }, params)),
|
|
3847
4152
|
/**
|
|
3848
4153
|
* No description
|
|
3849
4154
|
*
|
|
@@ -3866,7 +4171,7 @@ export class Api extends HttpClient {
|
|
|
3866
4171
|
* @response `201` `NotificationTemplate` Created
|
|
3867
4172
|
* @response `422` `UnprocessableEntity` Unprocessable Content
|
|
3868
4173
|
*/
|
|
3869
|
-
createNotificationTemplate: (data, params = {}) => this.request(Object.assign({ path: `/api/notification-templates`, method: "POST", body: data, secure: true, type:
|
|
4174
|
+
createNotificationTemplate: (data, params = {}) => this.request(Object.assign({ path: `/api/notification-templates`, method: "POST", body: data, secure: true, type: ContentType.Json, format: "json" }, params)),
|
|
3870
4175
|
/**
|
|
3871
4176
|
* No description
|
|
3872
4177
|
*
|
|
@@ -3877,7 +4182,7 @@ export class Api extends HttpClient {
|
|
|
3877
4182
|
* @secure
|
|
3878
4183
|
* @response `200` `NotificationTemplateBasePaginated` OK
|
|
3879
4184
|
*/
|
|
3880
|
-
searchNotificationTemplates: (data, query, params = {}) => this.request(Object.assign({ path: `/api/notification-templates/search`, method: "POST", query: query, body: data, secure: true, type:
|
|
4185
|
+
searchNotificationTemplates: (data, query, params = {}) => this.request(Object.assign({ path: `/api/notification-templates/search`, method: "POST", query: query, body: data, secure: true, type: ContentType.Json, format: "json" }, params)),
|
|
3881
4186
|
/**
|
|
3882
4187
|
* No description
|
|
3883
4188
|
*
|
|
@@ -3900,7 +4205,7 @@ export class Api extends HttpClient {
|
|
|
3900
4205
|
* @response `200` `NotificationTemplate` OK
|
|
3901
4206
|
* @response `422` `UnprocessableEntity` Unprocessable Content
|
|
3902
4207
|
*/
|
|
3903
|
-
replaceNotificationTemplate: (id, data, params = {}) => this.request(Object.assign({ path: `/api/notification-templates/${id}`, method: "PUT", body: data, secure: true, type:
|
|
4208
|
+
replaceNotificationTemplate: (id, data, params = {}) => this.request(Object.assign({ path: `/api/notification-templates/${id}`, method: "PUT", body: data, secure: true, type: ContentType.Json, format: "json" }, params)),
|
|
3904
4209
|
/**
|
|
3905
4210
|
* No description
|
|
3906
4211
|
*
|
|
@@ -3944,7 +4249,7 @@ export class Api extends HttpClient {
|
|
|
3944
4249
|
* @secure
|
|
3945
4250
|
* @response `200` `NotificationTemplateVersion` OK
|
|
3946
4251
|
*/
|
|
3947
|
-
createNotificationTemplateVersion: (notificationId, data, params = {}) => this.request(Object.assign({ path: `/api/notification-templates/${notificationId}/versions`, method: "POST", body: data, secure: true, type:
|
|
4252
|
+
createNotificationTemplateVersion: (notificationId, data, params = {}) => this.request(Object.assign({ path: `/api/notification-templates/${notificationId}/versions`, method: "POST", body: data, secure: true, type: ContentType.Json, format: "json" }, params)),
|
|
3948
4253
|
/**
|
|
3949
4254
|
* No description
|
|
3950
4255
|
*
|
|
@@ -3966,7 +4271,7 @@ export class Api extends HttpClient {
|
|
|
3966
4271
|
* @secure
|
|
3967
4272
|
* @response `200` `NotificationTemplateVersion` OK
|
|
3968
4273
|
*/
|
|
3969
|
-
replaceNotificationTemplateVersion: (notificationId, id, data, params = {}) => this.request(Object.assign({ path: `/api/notification-templates/${notificationId}/versions/${id}`, method: "PUT", body: data, secure: true, type:
|
|
4274
|
+
replaceNotificationTemplateVersion: (notificationId, id, data, params = {}) => this.request(Object.assign({ path: `/api/notification-templates/${notificationId}/versions/${id}`, method: "PUT", body: data, secure: true, type: ContentType.Json, format: "json" }, params)),
|
|
3970
4275
|
/**
|
|
3971
4276
|
* No description
|
|
3972
4277
|
*
|
|
@@ -3999,7 +4304,7 @@ export class Api extends HttpClient {
|
|
|
3999
4304
|
* @secure
|
|
4000
4305
|
* @response `200` `BranchUserPaginated` OK
|
|
4001
4306
|
*/
|
|
4002
|
-
searchPartners: (data, query, params = {}) => this.request(Object.assign({ path: `/api/partners/search`, method: "POST", query: query, body: data, secure: true, type:
|
|
4307
|
+
searchPartners: (data, query, params = {}) => this.request(Object.assign({ path: `/api/partners/search`, method: "POST", query: query, body: data, secure: true, type: ContentType.Json, format: "json" }, params)),
|
|
4003
4308
|
/**
|
|
4004
4309
|
* No description
|
|
4005
4310
|
*
|
|
@@ -4022,7 +4327,7 @@ export class Api extends HttpClient {
|
|
|
4022
4327
|
* @response `200` `SiteConfiguration` OK
|
|
4023
4328
|
* @response `422` `UnprocessableEntity` Unprocessable Content
|
|
4024
4329
|
*/
|
|
4025
|
-
createPartnerSiteConfiguration: (realtorId, data, params = {}) => this.request(Object.assign({ path: `/api/partners/${realtorId}/site-configurations`, method: "POST", body: data, secure: true, type:
|
|
4330
|
+
createPartnerSiteConfiguration: (realtorId, data, params = {}) => this.request(Object.assign({ path: `/api/partners/${realtorId}/site-configurations`, method: "POST", body: data, secure: true, type: ContentType.Json, format: "json" }, params)),
|
|
4026
4331
|
/**
|
|
4027
4332
|
* No description
|
|
4028
4333
|
*
|
|
@@ -4045,7 +4350,7 @@ export class Api extends HttpClient {
|
|
|
4045
4350
|
* @response `200` `SiteConfiguration` OK
|
|
4046
4351
|
* @response `422` `UnprocessableEntity` Unprocessable Content
|
|
4047
4352
|
*/
|
|
4048
|
-
replacePartnerSiteConfiguration: (realtorId, siteConfigurationId, data, query, params = {}) => this.request(Object.assign({ path: `/api/partners/${realtorId}/site-configurations/${siteConfigurationId}`, method: "PUT", query: query, body: data, secure: true, type:
|
|
4353
|
+
replacePartnerSiteConfiguration: (realtorId, siteConfigurationId, data, query, params = {}) => this.request(Object.assign({ path: `/api/partners/${realtorId}/site-configurations/${siteConfigurationId}`, method: "PUT", query: query, body: data, secure: true, type: ContentType.Json, format: "json" }, params)),
|
|
4049
4354
|
/**
|
|
4050
4355
|
* No description
|
|
4051
4356
|
*
|
|
@@ -4069,7 +4374,7 @@ export class Api extends HttpClient {
|
|
|
4069
4374
|
* @response `200` `SiteConfigurationByUrl` OK
|
|
4070
4375
|
* @response `422` `UnprocessableEntity` Unprocessable Content
|
|
4071
4376
|
*/
|
|
4072
|
-
searchSiteConfigurationByUrl: (data, params = {}) => this.request(Object.assign({ path: `/api/site-configurations/url`, method: "POST", body: data, secure: true, type:
|
|
4377
|
+
searchSiteConfigurationByUrl: (data, params = {}) => this.request(Object.assign({ path: `/api/site-configurations/url`, method: "POST", body: data, secure: true, type: ContentType.Json, format: "json" }, params)),
|
|
4073
4378
|
/**
|
|
4074
4379
|
* No description
|
|
4075
4380
|
*
|
|
@@ -4094,7 +4399,7 @@ export class Api extends HttpClient {
|
|
|
4094
4399
|
* @response `200` `SiteConfiguration` OK
|
|
4095
4400
|
* @response `422` `UnprocessableEntity` Unprocessable Content
|
|
4096
4401
|
*/
|
|
4097
|
-
searchSiteConfigurationByLoanOfficerUser: (data, params = {}) => this.request(Object.assign({ path: `/api/site-configurations/louser`, method: "POST", body: data, secure: true, type:
|
|
4402
|
+
searchSiteConfigurationByLoanOfficerUser: (data, params = {}) => this.request(Object.assign({ path: `/api/site-configurations/louser`, method: "POST", body: data, secure: true, type: ContentType.Json, format: "json" }, params)),
|
|
4098
4403
|
/**
|
|
4099
4404
|
* No description
|
|
4100
4405
|
*
|
|
@@ -4118,7 +4423,7 @@ export class Api extends HttpClient {
|
|
|
4118
4423
|
* @response `200` `SiteConfigurationSummaryPaginated` OK
|
|
4119
4424
|
* @response `422` `UnprocessableEntity` Unprocessable Content
|
|
4120
4425
|
*/
|
|
4121
|
-
searchSiteConfigurations: (data, query, params = {}) => this.request(Object.assign({ path: `/api/site-configurations/search`, method: "POST", query: query, body: data, secure: true, type:
|
|
4426
|
+
searchSiteConfigurations: (data, query, params = {}) => this.request(Object.assign({ path: `/api/site-configurations/search`, method: "POST", query: query, body: data, secure: true, type: ContentType.Json, format: "json" }, params)),
|
|
4122
4427
|
/**
|
|
4123
4428
|
* No description
|
|
4124
4429
|
*
|
|
@@ -4210,7 +4515,7 @@ export class Api extends HttpClient {
|
|
|
4210
4515
|
* @secure
|
|
4211
4516
|
* @response `200` `GetForm` OK
|
|
4212
4517
|
*/
|
|
4213
|
-
getFormBySiteConfigurationSlug: (data, params = {}) => this.request(Object.assign({ path: `/api/site-forms`, method: "POST", body: data, secure: true, type:
|
|
4518
|
+
getFormBySiteConfigurationSlug: (data, params = {}) => this.request(Object.assign({ path: `/api/site-forms`, method: "POST", body: data, secure: true, type: ContentType.Json, format: "json" }, params)),
|
|
4214
4519
|
/**
|
|
4215
4520
|
* No description
|
|
4216
4521
|
*
|
|
@@ -4222,7 +4527,7 @@ export class Api extends HttpClient {
|
|
|
4222
4527
|
* @response `200` `SiteTilePaginated` OK
|
|
4223
4528
|
* @response `403` `ProblemDetails` Forbidden
|
|
4224
4529
|
*/
|
|
4225
|
-
searchSiteTiles: (data, query, params = {}) => this.request(Object.assign({ path: `/api/site-tiles/search`, method: "POST", query: query, body: data, secure: true, type:
|
|
4530
|
+
searchSiteTiles: (data, query, params = {}) => this.request(Object.assign({ path: `/api/site-tiles/search`, method: "POST", query: query, body: data, secure: true, type: ContentType.Json, format: "json" }, params)),
|
|
4226
4531
|
/**
|
|
4227
4532
|
* No description
|
|
4228
4533
|
*
|
|
@@ -4262,7 +4567,7 @@ export class Api extends HttpClient {
|
|
|
4262
4567
|
* @response `403` `ProblemDetails` Forbidden
|
|
4263
4568
|
* @response `404` `ProblemDetails` Not Found
|
|
4264
4569
|
*/
|
|
4265
|
-
updateSiteTile: (siteTileId, data, params = {}) => this.request(Object.assign({ path: `/api/site-tiles/${siteTileId}`, method: "PUT", body: data, secure: true, type:
|
|
4570
|
+
updateSiteTile: (siteTileId, data, params = {}) => this.request(Object.assign({ path: `/api/site-tiles/${siteTileId}`, method: "PUT", body: data, secure: true, type: ContentType.Json, format: "json" }, params)),
|
|
4266
4571
|
/**
|
|
4267
4572
|
* No description
|
|
4268
4573
|
*
|
|
@@ -4288,7 +4593,7 @@ export class Api extends HttpClient {
|
|
|
4288
4593
|
* @response `400` `ProblemDetails` Bad Request
|
|
4289
4594
|
* @response `403` `ProblemDetails` Forbidden
|
|
4290
4595
|
*/
|
|
4291
|
-
createSiteTile: (data, params = {}) => this.request(Object.assign({ path: `/api/site-tiles`, method: "POST", body: data, secure: true, type:
|
|
4596
|
+
createSiteTile: (data, params = {}) => this.request(Object.assign({ path: `/api/site-tiles`, method: "POST", body: data, secure: true, type: ContentType.Json, format: "json" }, params)),
|
|
4292
4597
|
/**
|
|
4293
4598
|
* No description
|
|
4294
4599
|
*
|
|
@@ -4311,7 +4616,7 @@ export class Api extends HttpClient {
|
|
|
4311
4616
|
* @response `200` `(SocialSurveyRecord)[]` OK
|
|
4312
4617
|
* @response `422` `UnprocessableEntity` Unprocessable Content
|
|
4313
4618
|
*/
|
|
4314
|
-
getSurveysByUser: (data, params = {}) => this.request(Object.assign({ path: `/api/surveys`, method: "POST", body: data, secure: true, type:
|
|
4619
|
+
getSurveysByUser: (data, params = {}) => this.request(Object.assign({ path: `/api/surveys`, method: "POST", body: data, secure: true, type: ContentType.Json, format: "json" }, params)),
|
|
4315
4620
|
/**
|
|
4316
4621
|
* No description
|
|
4317
4622
|
*
|
|
@@ -4334,7 +4639,7 @@ export class Api extends HttpClient {
|
|
|
4334
4639
|
* @secure
|
|
4335
4640
|
* @response `201` `Task` Created
|
|
4336
4641
|
*/
|
|
4337
|
-
createTask: (data, params = {}) => this.request(Object.assign({ path: `/api/tasks`, method: "POST", body: data, secure: true, type:
|
|
4642
|
+
createTask: (data, params = {}) => this.request(Object.assign({ path: `/api/tasks`, method: "POST", body: data, secure: true, type: ContentType.Json, format: "json" }, params)),
|
|
4338
4643
|
/**
|
|
4339
4644
|
* No description
|
|
4340
4645
|
*
|
|
@@ -4358,7 +4663,7 @@ export class Api extends HttpClient {
|
|
|
4358
4663
|
* @response `200` `Task` OK
|
|
4359
4664
|
* @response `404` `ProblemDetails` Not Found
|
|
4360
4665
|
*/
|
|
4361
|
-
replaceTask: (id, data, params = {}) => this.request(Object.assign({ path: `/api/tasks/${id}`, method: "PUT", body: data, secure: true, type:
|
|
4666
|
+
replaceTask: (id, data, params = {}) => this.request(Object.assign({ path: `/api/tasks/${id}`, method: "PUT", body: data, secure: true, type: ContentType.Json, format: "json" }, params)),
|
|
4362
4667
|
/**
|
|
4363
4668
|
* No description
|
|
4364
4669
|
*
|
|
@@ -4381,7 +4686,7 @@ export class Api extends HttpClient {
|
|
|
4381
4686
|
* @secure
|
|
4382
4687
|
* @response `200` `TaskPaginated` OK
|
|
4383
4688
|
*/
|
|
4384
|
-
searchTasks: (data, query, params = {}) => this.request(Object.assign({ path: `/api/tasks/search`, method: "POST", query: query, body: data, secure: true, type:
|
|
4689
|
+
searchTasks: (data, query, params = {}) => this.request(Object.assign({ path: `/api/tasks/search`, method: "POST", query: query, body: data, secure: true, type: ContentType.Json, format: "json" }, params)),
|
|
4385
4690
|
/**
|
|
4386
4691
|
* No description
|
|
4387
4692
|
*
|
|
@@ -4391,7 +4696,7 @@ export class Api extends HttpClient {
|
|
|
4391
4696
|
* @secure
|
|
4392
4697
|
* @response `200` `void` OK
|
|
4393
4698
|
*/
|
|
4394
|
-
integrationsLosLoansCreate: (data, params = {}) => this.request(Object.assign({ path: `/api/integrations/los/loans`, method: "POST", body: data, secure: true, type:
|
|
4699
|
+
integrationsLosLoansCreate: (data, params = {}) => this.request(Object.assign({ path: `/api/integrations/los/loans`, method: "POST", body: data, secure: true, type: ContentType.Json }, params)),
|
|
4395
4700
|
/**
|
|
4396
4701
|
* No description
|
|
4397
4702
|
*
|
|
@@ -4402,7 +4707,7 @@ export class Api extends HttpClient {
|
|
|
4402
4707
|
* @secure
|
|
4403
4708
|
* @response `200` `EncompassRequestLogPaginated` OK
|
|
4404
4709
|
*/
|
|
4405
|
-
searchEncompassLogs: (losId, query, data, params = {}) => this.request(Object.assign({ path: `/api/los/encompass/logs/${losId}/search`, method: "POST", query: query, body: data, secure: true, type:
|
|
4710
|
+
searchEncompassLogs: (losId, query, data, params = {}) => this.request(Object.assign({ path: `/api/los/encompass/logs/${losId}/search`, method: "POST", query: query, body: data, secure: true, type: ContentType.Json, format: "json" }, params)),
|
|
4406
4711
|
/**
|
|
4407
4712
|
* No description
|
|
4408
4713
|
*
|
|
@@ -4425,7 +4730,7 @@ export class Api extends HttpClient {
|
|
|
4425
4730
|
* @secure
|
|
4426
4731
|
* @response `201` `LosCredentials` Created
|
|
4427
4732
|
*/
|
|
4428
|
-
createEncompassCredentials: (data, params = {}) => this.request(Object.assign({ path: `/api/los/encompass/credentials`, method: "POST", body: data, secure: true, type:
|
|
4733
|
+
createEncompassCredentials: (data, params = {}) => this.request(Object.assign({ path: `/api/los/encompass/credentials`, method: "POST", body: data, secure: true, type: ContentType.Json, format: "json" }, params)),
|
|
4429
4734
|
/**
|
|
4430
4735
|
* No description
|
|
4431
4736
|
*
|
|
@@ -4436,7 +4741,7 @@ export class Api extends HttpClient {
|
|
|
4436
4741
|
* @secure
|
|
4437
4742
|
* @response `200` `EncompassCredentialsDetail` OK
|
|
4438
4743
|
*/
|
|
4439
|
-
updateEncompassCredentials: (data, params = {}) => this.request(Object.assign({ path: `/api/los/encompass/credentials`, method: "PUT", body: data, secure: true, type:
|
|
4744
|
+
updateEncompassCredentials: (data, params = {}) => this.request(Object.assign({ path: `/api/los/encompass/credentials`, method: "PUT", body: data, secure: true, type: ContentType.Json, format: "json" }, params)),
|
|
4440
4745
|
/**
|
|
4441
4746
|
* No description
|
|
4442
4747
|
*
|
|
@@ -4458,7 +4763,7 @@ export class Api extends HttpClient {
|
|
|
4458
4763
|
* @secure
|
|
4459
4764
|
* @response `201` `LosWebhook` Created
|
|
4460
4765
|
*/
|
|
4461
|
-
createEncompassWebhook: (data, params = {}) => this.request(Object.assign({ path: `/api/los/encompass/webhooks`, method: "POST", body: data, secure: true, type:
|
|
4766
|
+
createEncompassWebhook: (data, params = {}) => this.request(Object.assign({ path: `/api/los/encompass/webhooks`, method: "POST", body: data, secure: true, type: ContentType.Json, format: "json" }, params)),
|
|
4462
4767
|
/**
|
|
4463
4768
|
* No description
|
|
4464
4769
|
*
|
|
@@ -4480,7 +4785,7 @@ export class Api extends HttpClient {
|
|
|
4480
4785
|
* @secure
|
|
4481
4786
|
* @response `200` `LosSyncPaginated` OK
|
|
4482
4787
|
*/
|
|
4483
|
-
searchLosSyncs: (loanId, query, data, params = {}) => this.request(Object.assign({ path: `/api/los/encompass/syncs/${loanId}/search`, method: "POST", query: query, body: data, secure: true, type:
|
|
4788
|
+
searchLosSyncs: (loanId, query, data, params = {}) => this.request(Object.assign({ path: `/api/los/encompass/syncs/${loanId}/search`, method: "POST", query: query, body: data, secure: true, type: ContentType.Json, format: "json" }, params)),
|
|
4484
4789
|
/**
|
|
4485
4790
|
* No description
|
|
4486
4791
|
*
|
|
@@ -4563,7 +4868,7 @@ export class Api extends HttpClient {
|
|
|
4563
4868
|
* @response `201` `UserDevice` Created
|
|
4564
4869
|
* @response `400` `ProblemDetails` Bad Request
|
|
4565
4870
|
*/
|
|
4566
|
-
createUserDevice: (data, params = {}) => this.request(Object.assign({ path: `/api/userdevices`, method: "POST", body: data, secure: true, type:
|
|
4871
|
+
createUserDevice: (data, params = {}) => this.request(Object.assign({ path: `/api/userdevices`, method: "POST", body: data, secure: true, type: ContentType.Json, format: "json" }, params)),
|
|
4567
4872
|
/**
|
|
4568
4873
|
* No description
|
|
4569
4874
|
*
|
|
@@ -4607,8 +4912,10 @@ export class Api extends HttpClient {
|
|
|
4607
4912
|
* @request POST:/api/loans/drafts/{draftId}/users/{userId}
|
|
4608
4913
|
* @secure
|
|
4609
4914
|
* @response `200` `UserDraft` OK
|
|
4915
|
+
* @response `404` `ProblemDetails` Not Found
|
|
4916
|
+
* @response `409` `ProblemDetails` Conflict
|
|
4610
4917
|
*/
|
|
4611
|
-
addDraftUsers: (draftId, userId, data, params = {}) => this.request(Object.assign({ path: `/api/loans/drafts/${draftId}/users/${userId}`, method: "POST", body: data, secure: true, type:
|
|
4918
|
+
addDraftUsers: (draftId, userId, data, params = {}) => this.request(Object.assign({ path: `/api/loans/drafts/${draftId}/users/${userId}`, method: "POST", body: data, secure: true, type: ContentType.Json, format: "json" }, params)),
|
|
4612
4919
|
/**
|
|
4613
4920
|
* No description
|
|
4614
4921
|
*
|
|
@@ -4641,7 +4948,7 @@ export class Api extends HttpClient {
|
|
|
4641
4948
|
* @secure
|
|
4642
4949
|
* @response `200` `UserGroupAccessScope` OK
|
|
4643
4950
|
*/
|
|
4644
|
-
createUserGroupAccessScope: (groupId, data, params = {}) => this.request(Object.assign({ path: `/api/user-groups/${groupId}/scopes`, method: "POST", body: data, secure: true, type:
|
|
4951
|
+
createUserGroupAccessScope: (groupId, data, params = {}) => this.request(Object.assign({ path: `/api/user-groups/${groupId}/scopes`, method: "POST", body: data, secure: true, type: ContentType.Json, format: "json" }, params)),
|
|
4645
4952
|
/**
|
|
4646
4953
|
* No description
|
|
4647
4954
|
*
|
|
@@ -4674,7 +4981,7 @@ export class Api extends HttpClient {
|
|
|
4674
4981
|
* @secure
|
|
4675
4982
|
* @response `200` `UserGroupMember` OK
|
|
4676
4983
|
*/
|
|
4677
|
-
createUserGroupMember: (groupId, data, query, params = {}) => this.request(Object.assign({ path: `/api/user-groups/${groupId}/members`, method: "POST", query: query, body: data, secure: true, type:
|
|
4984
|
+
createUserGroupMember: (groupId, data, query, params = {}) => this.request(Object.assign({ path: `/api/user-groups/${groupId}/members`, method: "POST", query: query, body: data, secure: true, type: ContentType.Json, format: "json" }, params)),
|
|
4678
4985
|
/**
|
|
4679
4986
|
* No description
|
|
4680
4987
|
*
|
|
@@ -4718,7 +5025,7 @@ export class Api extends HttpClient {
|
|
|
4718
5025
|
* @secure
|
|
4719
5026
|
* @response `200` `UserGroup` OK
|
|
4720
5027
|
*/
|
|
4721
|
-
updateUserGroup: (groupId, data, params = {}) => this.request(Object.assign({ path: `/api/user-groups/${groupId}`, method: "PUT", body: data, secure: true, type:
|
|
5028
|
+
updateUserGroup: (groupId, data, params = {}) => this.request(Object.assign({ path: `/api/user-groups/${groupId}`, method: "PUT", body: data, secure: true, type: ContentType.Json, format: "json" }, params)),
|
|
4722
5029
|
/**
|
|
4723
5030
|
* No description
|
|
4724
5031
|
*
|
|
@@ -4740,7 +5047,7 @@ export class Api extends HttpClient {
|
|
|
4740
5047
|
* @secure
|
|
4741
5048
|
* @response `201` `UserGroup` Created
|
|
4742
5049
|
*/
|
|
4743
|
-
createUserGroup: (data, params = {}) => this.request(Object.assign({ path: `/api/user-groups`, method: "POST", body: data, secure: true, type:
|
|
5050
|
+
createUserGroup: (data, params = {}) => this.request(Object.assign({ path: `/api/user-groups`, method: "POST", body: data, secure: true, type: ContentType.Json, format: "json" }, params)),
|
|
4744
5051
|
/**
|
|
4745
5052
|
* No description
|
|
4746
5053
|
*
|
|
@@ -4753,7 +5060,7 @@ export class Api extends HttpClient {
|
|
|
4753
5060
|
* @response `404` `Error` Not Found
|
|
4754
5061
|
* @response `422` `UnprocessableEntity` Unprocessable Content
|
|
4755
5062
|
*/
|
|
4756
|
-
requestImpersonation: (data, params = {}) => this.request(Object.assign({ path: `/api/users/impersonation/request`, method: "POST", body: data, secure: true, type:
|
|
5063
|
+
requestImpersonation: (data, params = {}) => this.request(Object.assign({ path: `/api/users/impersonation/request`, method: "POST", body: data, secure: true, type: ContentType.Json }, params)),
|
|
4757
5064
|
/**
|
|
4758
5065
|
* No description
|
|
4759
5066
|
*
|
|
@@ -4766,7 +5073,7 @@ export class Api extends HttpClient {
|
|
|
4766
5073
|
* @response `404` `Error` Not Found
|
|
4767
5074
|
* @response `422` `UnprocessableEntity` Unprocessable Content
|
|
4768
5075
|
*/
|
|
4769
|
-
allowImpersonation: (data, params = {}) => this.request(Object.assign({ path: `/api/users/impersonation/allow`, method: "POST", body: data, secure: true, type:
|
|
5076
|
+
allowImpersonation: (data, params = {}) => this.request(Object.assign({ path: `/api/users/impersonation/allow`, method: "POST", body: data, secure: true, type: ContentType.Json }, params)),
|
|
4770
5077
|
/**
|
|
4771
5078
|
* No description
|
|
4772
5079
|
*
|
|
@@ -4816,7 +5123,7 @@ export class Api extends HttpClient {
|
|
|
4816
5123
|
* @response `404` `Error` Not Found
|
|
4817
5124
|
* @response `422` `UnprocessableEntity` Unprocessable Content
|
|
4818
5125
|
*/
|
|
4819
|
-
forceImpersonation: (data, params = {}) => this.request(Object.assign({ path: `/api/users/impersonation/force`, method: "POST", body: data, secure: true, type:
|
|
5126
|
+
forceImpersonation: (data, params = {}) => this.request(Object.assign({ path: `/api/users/impersonation/force`, method: "POST", body: data, secure: true, type: ContentType.Json }, params)),
|
|
4820
5127
|
/**
|
|
4821
5128
|
* No description
|
|
4822
5129
|
*
|
|
@@ -4840,7 +5147,7 @@ export class Api extends HttpClient {
|
|
|
4840
5147
|
* @response `204` `void` No Content
|
|
4841
5148
|
* @response `422` `UnprocessableEntity` Unprocessable Content
|
|
4842
5149
|
*/
|
|
4843
|
-
inviteUser: (data, params = {}) => this.request(Object.assign({ path: `/api/users/invites`, method: "POST", body: data, secure: true, type:
|
|
5150
|
+
inviteUser: (data, params = {}) => this.request(Object.assign({ path: `/api/users/invites`, method: "POST", body: data, secure: true, type: ContentType.Json }, params)),
|
|
4844
5151
|
/**
|
|
4845
5152
|
* No description
|
|
4846
5153
|
*
|
|
@@ -4866,6 +5173,29 @@ export class Api extends HttpClient {
|
|
|
4866
5173
|
* @response `422` `UnprocessableEntity` Unprocessable Content
|
|
4867
5174
|
*/
|
|
4868
5175
|
verifyUserInvite: (token, params = {}) => this.request(Object.assign({ path: `/api/users/invites/${token}/verify`, method: "GET", secure: true, format: "json" }, params)),
|
|
5176
|
+
/**
|
|
5177
|
+
* No description
|
|
5178
|
+
*
|
|
5179
|
+
* @tags UserReactivation
|
|
5180
|
+
* @name RequestUserReactivation
|
|
5181
|
+
* @summary Request user reactivation
|
|
5182
|
+
* @request POST:/api/users/reactivation/request
|
|
5183
|
+
* @secure
|
|
5184
|
+
* @response `204` `void` No Content
|
|
5185
|
+
*/
|
|
5186
|
+
requestUserReactivation: (data, params = {}) => this.request(Object.assign({ path: `/api/users/reactivation/request`, method: "POST", body: data, secure: true, type: ContentType.Json }, params)),
|
|
5187
|
+
/**
|
|
5188
|
+
* No description
|
|
5189
|
+
*
|
|
5190
|
+
* @tags UserReactivation
|
|
5191
|
+
* @name CompleteUserReactivation
|
|
5192
|
+
* @summary Complete user reactivation with new password
|
|
5193
|
+
* @request POST:/api/users/reactivation/complete
|
|
5194
|
+
* @secure
|
|
5195
|
+
* @response `204` `void` No Content
|
|
5196
|
+
* @response `400` `ProblemDetails` Bad Request
|
|
5197
|
+
*/
|
|
5198
|
+
completeUserReactivation: (data, params = {}) => this.request(Object.assign({ path: `/api/users/reactivation/complete`, method: "POST", body: data, secure: true, type: ContentType.Json }, params)),
|
|
4869
5199
|
/**
|
|
4870
5200
|
* No description
|
|
4871
5201
|
*
|
|
@@ -4887,7 +5217,7 @@ export class Api extends HttpClient {
|
|
|
4887
5217
|
* @secure
|
|
4888
5218
|
* @response `204` `void` No Content
|
|
4889
5219
|
*/
|
|
4890
|
-
createUserRelation: (userId, data, params = {}) => this.request(Object.assign({ path: `/api/users/${userId}/relations`, method: "POST", body: data, secure: true, type:
|
|
5220
|
+
createUserRelation: (userId, data, params = {}) => this.request(Object.assign({ path: `/api/users/${userId}/relations`, method: "POST", body: data, secure: true, type: ContentType.Json }, params)),
|
|
4891
5221
|
/**
|
|
4892
5222
|
* No description
|
|
4893
5223
|
*
|
|
@@ -4930,9 +5260,10 @@ export class Api extends HttpClient {
|
|
|
4930
5260
|
* @request POST:/api/users
|
|
4931
5261
|
* @secure
|
|
4932
5262
|
* @response `200` `DetailedUser` OK
|
|
5263
|
+
* @response `409` `ProblemDetails` Conflict
|
|
4933
5264
|
* @response `422` `UnprocessableEntity` Unprocessable Content
|
|
4934
5265
|
*/
|
|
4935
|
-
createUser: (data, params = {}) => this.request(Object.assign({ path: `/api/users`, method: "POST", body: data, secure: true, type:
|
|
5266
|
+
createUser: (data, params = {}) => this.request(Object.assign({ path: `/api/users`, method: "POST", body: data, secure: true, type: ContentType.Json, format: "json" }, params)),
|
|
4936
5267
|
/**
|
|
4937
5268
|
* No description
|
|
4938
5269
|
*
|
|
@@ -4943,7 +5274,7 @@ export class Api extends HttpClient {
|
|
|
4943
5274
|
* @secure
|
|
4944
5275
|
* @response `200` `UserPaginated` OK
|
|
4945
5276
|
*/
|
|
4946
|
-
searchUsers: (data, query, params = {}) => this.request(Object.assign({ path: `/api/users/search`, method: "POST", query: query, body: data, secure: true, type:
|
|
5277
|
+
searchUsers: (data, query, params = {}) => this.request(Object.assign({ path: `/api/users/search`, method: "POST", query: query, body: data, secure: true, type: ContentType.Json, format: "json" }, params)),
|
|
4947
5278
|
/**
|
|
4948
5279
|
* No description
|
|
4949
5280
|
*
|
|
@@ -4954,7 +5285,7 @@ export class Api extends HttpClient {
|
|
|
4954
5285
|
* @secure
|
|
4955
5286
|
* @response `200` `AdminAccessUser` OK
|
|
4956
5287
|
*/
|
|
4957
|
-
getUserByEmail: (data, params = {}) => this.request(Object.assign({ path: `/api/users/byemail`, method: "POST", body: data, secure: true, type:
|
|
5288
|
+
getUserByEmail: (data, params = {}) => this.request(Object.assign({ path: `/api/users/byemail`, method: "POST", body: data, secure: true, type: ContentType.Json, format: "json" }, params)),
|
|
4958
5289
|
/**
|
|
4959
5290
|
* No description
|
|
4960
5291
|
*
|
|
@@ -4966,7 +5297,7 @@ export class Api extends HttpClient {
|
|
|
4966
5297
|
* @response `200` `User` OK
|
|
4967
5298
|
* @response `422` `UnprocessableEntity` Unprocessable Content
|
|
4968
5299
|
*/
|
|
4969
|
-
signUp: (data, params = {}) => this.request(Object.assign({ path: `/api/users/register`, method: "POST", body: data, secure: true, type:
|
|
5300
|
+
signUp: (data, params = {}) => this.request(Object.assign({ path: `/api/users/register`, method: "POST", body: data, secure: true, type: ContentType.Json, format: "json" }, params)),
|
|
4970
5301
|
/**
|
|
4971
5302
|
* No description
|
|
4972
5303
|
*
|
|
@@ -4978,7 +5309,7 @@ export class Api extends HttpClient {
|
|
|
4978
5309
|
* @response `200` `DetailedUser` OK
|
|
4979
5310
|
* @response `422` `UnprocessableEntity` Unprocessable Content
|
|
4980
5311
|
*/
|
|
4981
|
-
replaceUser: (id, data, params = {}) => this.request(Object.assign({ path: `/api/users/${id}`, method: "PUT", body: data, secure: true, type:
|
|
5312
|
+
replaceUser: (id, data, params = {}) => this.request(Object.assign({ path: `/api/users/${id}`, method: "PUT", body: data, secure: true, type: ContentType.Json, format: "json" }, params)),
|
|
4982
5313
|
/**
|
|
4983
5314
|
* No description
|
|
4984
5315
|
*
|
|
@@ -5012,7 +5343,7 @@ export class Api extends HttpClient {
|
|
|
5012
5343
|
* @response `204` `void` No Content
|
|
5013
5344
|
* @response `422` `UnprocessableEntity` Unprocessable Content
|
|
5014
5345
|
*/
|
|
5015
|
-
changePassword: (data, params = {}) => this.request(Object.assign({ path: `/api/users/change-password`, method: "POST", body: data, secure: true, type:
|
|
5346
|
+
changePassword: (data, params = {}) => this.request(Object.assign({ path: `/api/users/change-password`, method: "POST", body: data, secure: true, type: ContentType.Json }, params)),
|
|
5016
5347
|
/**
|
|
5017
5348
|
* No description
|
|
5018
5349
|
*
|
|
@@ -5025,7 +5356,7 @@ export class Api extends HttpClient {
|
|
|
5025
5356
|
* @response `204` `void` No Content
|
|
5026
5357
|
* @response `422` `UnprocessableEntity` Unprocessable Content
|
|
5027
5358
|
*/
|
|
5028
|
-
verifyPassword: (data, params = {}) => this.request(Object.assign({ path: `/api/users/verify-password`, method: "POST", body: data, secure: true, type:
|
|
5359
|
+
verifyPassword: (data, params = {}) => this.request(Object.assign({ path: `/api/users/verify-password`, method: "POST", body: data, secure: true, type: ContentType.Json }, params)),
|
|
5029
5360
|
/**
|
|
5030
5361
|
* No description
|
|
5031
5362
|
*
|
|
@@ -5037,7 +5368,7 @@ export class Api extends HttpClient {
|
|
|
5037
5368
|
* @response `204` `void` No Content
|
|
5038
5369
|
* @response `422` `UnprocessableEntity` Unprocessable Content
|
|
5039
5370
|
*/
|
|
5040
|
-
overridePassword: (id, data, params = {}) => this.request(Object.assign({ path: `/api/users/${id}/override-password`, method: "POST", body: data, secure: true, type:
|
|
5371
|
+
overridePassword: (id, data, params = {}) => this.request(Object.assign({ path: `/api/users/${id}/override-password`, method: "POST", body: data, secure: true, type: ContentType.Json }, params)),
|
|
5041
5372
|
/**
|
|
5042
5373
|
* No description
|
|
5043
5374
|
*
|
|
@@ -5050,7 +5381,7 @@ export class Api extends HttpClient {
|
|
|
5050
5381
|
* @response `204` `void` No Content
|
|
5051
5382
|
* @response `422` `UnprocessableEntity` Unprocessable Content
|
|
5052
5383
|
*/
|
|
5053
|
-
forgotPassword: (data, params = {}) => this.request(Object.assign({ path: `/api/users/forgot-password`, method: "POST", body: data, secure: true, type:
|
|
5384
|
+
forgotPassword: (data, params = {}) => this.request(Object.assign({ path: `/api/users/forgot-password`, method: "POST", body: data, secure: true, type: ContentType.Json }, params)),
|
|
5054
5385
|
/**
|
|
5055
5386
|
* No description
|
|
5056
5387
|
*
|
|
@@ -5074,7 +5405,7 @@ export class Api extends HttpClient {
|
|
|
5074
5405
|
* @response `204` `void` No Content
|
|
5075
5406
|
* @response `422` `UnprocessableEntity` Unprocessable Content
|
|
5076
5407
|
*/
|
|
5077
|
-
verifyUserMobilePhone: (data, params = {}) => this.request(Object.assign({ path: `/api/users/mobile-phone/verify-code`, method: "PUT", body: data, secure: true, type:
|
|
5408
|
+
verifyUserMobilePhone: (data, params = {}) => this.request(Object.assign({ path: `/api/users/mobile-phone/verify-code`, method: "PUT", body: data, secure: true, type: ContentType.Json }, params)),
|
|
5078
5409
|
/**
|
|
5079
5410
|
* No description
|
|
5080
5411
|
*
|
|
@@ -5096,8 +5427,10 @@ export class Api extends HttpClient {
|
|
|
5096
5427
|
* @request PUT:/api/users/me
|
|
5097
5428
|
* @secure
|
|
5098
5429
|
* @response `200` `DetailedUser` OK
|
|
5430
|
+
* @response `403` `ProblemDetails` Forbidden
|
|
5431
|
+
* @response `409` `ProblemDetails` Conflict
|
|
5099
5432
|
*/
|
|
5100
|
-
replaceMe: (data, params = {}) => this.request(Object.assign({ path: `/api/users/me`, method: "PUT", body: data, secure: true, type:
|
|
5433
|
+
replaceMe: (data, params = {}) => this.request(Object.assign({ path: `/api/users/me`, method: "PUT", body: data, secure: true, type: ContentType.Json, format: "json" }, params)),
|
|
5101
5434
|
/**
|
|
5102
5435
|
* @description Update the phone number If changed will send a verification code to the new number
|
|
5103
5436
|
*
|
|
@@ -5108,7 +5441,7 @@ export class Api extends HttpClient {
|
|
|
5108
5441
|
* @secure
|
|
5109
5442
|
* @response `204` `DetailedUser` No Content
|
|
5110
5443
|
*/
|
|
5111
|
-
updateMyPhone: (data, params = {}) => this.request(Object.assign({ path: `/api/users/me/phone-number`, method: "PUT", body: data, secure: true, type:
|
|
5444
|
+
updateMyPhone: (data, params = {}) => this.request(Object.assign({ path: `/api/users/me/phone-number`, method: "PUT", body: data, secure: true, type: ContentType.Json, format: "json" }, params)),
|
|
5112
5445
|
/**
|
|
5113
5446
|
* No description
|
|
5114
5447
|
*
|
|
@@ -5152,7 +5485,7 @@ export class Api extends HttpClient {
|
|
|
5152
5485
|
* @secure
|
|
5153
5486
|
* @response `204` `void` No Content
|
|
5154
5487
|
*/
|
|
5155
|
-
deleteMe: (data, params = {}) => this.request(Object.assign({ path: `/api/users/me/delete`, method: "POST", body: data, secure: true, type:
|
|
5488
|
+
deleteMe: (data, params = {}) => this.request(Object.assign({ path: `/api/users/me/delete`, method: "POST", body: data, secure: true, type: ContentType.Json }, params)),
|
|
5156
5489
|
/**
|
|
5157
5490
|
* No description
|
|
5158
5491
|
*
|
|
@@ -5163,7 +5496,7 @@ export class Api extends HttpClient {
|
|
|
5163
5496
|
* @secure
|
|
5164
5497
|
* @response `200` `GetForm` OK
|
|
5165
5498
|
*/
|
|
5166
|
-
getWorkflow: (data, params = {}) => this.request(Object.assign({ path: `/api/workflow`, method: "POST", body: data, secure: true, type:
|
|
5499
|
+
getWorkflow: (data, params = {}) => this.request(Object.assign({ path: `/api/workflow`, method: "POST", body: data, secure: true, type: ContentType.Json, format: "json" }, params)),
|
|
5167
5500
|
};
|
|
5168
5501
|
this.sso = {
|
|
5169
5502
|
/**
|