@matech/thebigpos-sdk 3.1.2-dev-30 → 3.1.2-rc1
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/dist/index.d.ts +121 -215
- package/dist/index.js +212 -203
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
- package/src/index.ts +747 -1085
- 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") {
|
|
@@ -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,7 +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:
|
|
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)),
|
|
174
183
|
/**
|
|
175
184
|
* No description
|
|
176
185
|
*
|
|
@@ -193,7 +202,7 @@ export class Api extends HttpClient {
|
|
|
193
202
|
* @response `201` `Account` Created
|
|
194
203
|
* @response `422` `ProblemDetails` Unprocessable Content
|
|
195
204
|
*/
|
|
196
|
-
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)),
|
|
197
206
|
/**
|
|
198
207
|
* No description
|
|
199
208
|
*
|
|
@@ -231,7 +240,7 @@ export class Api extends HttpClient {
|
|
|
231
240
|
* @response `404` `ProblemDetails` Not Found
|
|
232
241
|
* @response `422` `ProblemDetails` Unprocessable Content
|
|
233
242
|
*/
|
|
234
|
-
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)),
|
|
235
244
|
/**
|
|
236
245
|
* No description
|
|
237
246
|
*
|
|
@@ -264,7 +273,7 @@ export class Api extends HttpClient {
|
|
|
264
273
|
* @secure
|
|
265
274
|
* @response `204` `void` No Content
|
|
266
275
|
*/
|
|
267
|
-
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)),
|
|
268
277
|
/**
|
|
269
278
|
* No description
|
|
270
279
|
*
|
|
@@ -287,7 +296,7 @@ export class Api extends HttpClient {
|
|
|
287
296
|
* @response `200` `AiAccountSettings` OK
|
|
288
297
|
* @response `400` `ProblemDetails` Bad Request
|
|
289
298
|
*/
|
|
290
|
-
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)),
|
|
291
300
|
/**
|
|
292
301
|
* No description
|
|
293
302
|
*
|
|
@@ -310,7 +319,7 @@ export class Api extends HttpClient {
|
|
|
310
319
|
* @response `201` `AiPrompt` Created
|
|
311
320
|
* @response `400` `ProblemDetails` Bad Request
|
|
312
321
|
*/
|
|
313
|
-
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)),
|
|
314
323
|
/**
|
|
315
324
|
* No description
|
|
316
325
|
*
|
|
@@ -335,7 +344,7 @@ export class Api extends HttpClient {
|
|
|
335
344
|
* @response `400` `ProblemDetails` Bad Request
|
|
336
345
|
* @response `404` `ProblemDetails` Not Found
|
|
337
346
|
*/
|
|
338
|
-
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)),
|
|
339
348
|
/**
|
|
340
349
|
* No description
|
|
341
350
|
*
|
|
@@ -372,7 +381,7 @@ export class Api extends HttpClient {
|
|
|
372
381
|
* @response `400` `ProblemDetails` Bad Request
|
|
373
382
|
* @response `404` `ProblemDetails` Not Found
|
|
374
383
|
*/
|
|
375
|
-
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)),
|
|
376
385
|
/**
|
|
377
386
|
* No description
|
|
378
387
|
*
|
|
@@ -396,7 +405,7 @@ export class Api extends HttpClient {
|
|
|
396
405
|
* @response `200` `GenerateSystemPrompt` OK
|
|
397
406
|
* @response `400` `ProblemDetails` Bad Request
|
|
398
407
|
*/
|
|
399
|
-
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.Json, format: "json" }, params)),
|
|
400
409
|
/**
|
|
401
410
|
* No description
|
|
402
411
|
*
|
|
@@ -430,7 +439,7 @@ export class Api extends HttpClient {
|
|
|
430
439
|
* @response `200` `AiAdminSettings` OK
|
|
431
440
|
* @response `400` `ProblemDetails` Bad Request
|
|
432
441
|
*/
|
|
433
|
-
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)),
|
|
434
443
|
/**
|
|
435
444
|
* No description
|
|
436
445
|
*
|
|
@@ -508,7 +517,7 @@ export class Api extends HttpClient {
|
|
|
508
517
|
* @response `201` `AiCanonicalField` Created
|
|
509
518
|
* @response `400` `ProblemDetails` Bad Request
|
|
510
519
|
*/
|
|
511
|
-
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)),
|
|
512
521
|
/**
|
|
513
522
|
* No description
|
|
514
523
|
*
|
|
@@ -533,7 +542,7 @@ export class Api extends HttpClient {
|
|
|
533
542
|
* @response `400` `ProblemDetails` Bad Request
|
|
534
543
|
* @response `404` `ProblemDetails` Not Found
|
|
535
544
|
*/
|
|
536
|
-
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)),
|
|
537
546
|
/**
|
|
538
547
|
* No description
|
|
539
548
|
*
|
|
@@ -571,7 +580,7 @@ export class Api extends HttpClient {
|
|
|
571
580
|
* @response `401` `ProblemDetails` Unauthorized
|
|
572
581
|
* @response `429` `ProblemDetails` Too Many Requests
|
|
573
582
|
*/
|
|
574
|
-
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.Json, format: "json" }, params)),
|
|
575
584
|
/**
|
|
576
585
|
* No description
|
|
577
586
|
*
|
|
@@ -633,7 +642,7 @@ export class Api extends HttpClient {
|
|
|
633
642
|
* @response `403` `ProblemDetails` Forbidden
|
|
634
643
|
* @response `404` `ProblemDetails` Not Found
|
|
635
644
|
*/
|
|
636
|
-
renameAiConversation: (id, data, params = {}) => this.request(Object.assign({ path: `/api/ai/conversations/${id}`, method: "PATCH", body: data, secure: true, type:
|
|
645
|
+
renameAiConversation: (id, data, params = {}) => this.request(Object.assign({ path: `/api/ai/conversations/${id}`, method: "PATCH", body: data, secure: true, type: ContentType.Json, format: "json" }, params)),
|
|
637
646
|
/**
|
|
638
647
|
* No description
|
|
639
648
|
*
|
|
@@ -685,7 +694,7 @@ export class Api extends HttpClient {
|
|
|
685
694
|
* @response `403` `ProblemDetails` Forbidden
|
|
686
695
|
* @response `404` `ProblemDetails` Not Found
|
|
687
696
|
*/
|
|
688
|
-
pinAiConversation: (id, data, params = {}) => this.request(Object.assign({ path: `/api/ai/conversations/${id}/pin`, method: "PUT", body: data, secure: true, type:
|
|
697
|
+
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)),
|
|
689
698
|
/**
|
|
690
699
|
* No description
|
|
691
700
|
*
|
|
@@ -743,7 +752,7 @@ export class Api extends HttpClient {
|
|
|
743
752
|
* @response `201` `AiGuardrail` Created
|
|
744
753
|
* @response `400` `ProblemDetails` Bad Request
|
|
745
754
|
*/
|
|
746
|
-
createAiGuardrail: (data, params = {}) => this.request(Object.assign({ path: `/api/ai/guardrails`, method: "POST", body: data, secure: true, type:
|
|
755
|
+
createAiGuardrail: (data, params = {}) => this.request(Object.assign({ path: `/api/ai/guardrails`, method: "POST", body: data, secure: true, type: ContentType.Json, format: "json" }, params)),
|
|
747
756
|
/**
|
|
748
757
|
* No description
|
|
749
758
|
*
|
|
@@ -768,7 +777,7 @@ export class Api extends HttpClient {
|
|
|
768
777
|
* @response `400` `ProblemDetails` Bad Request
|
|
769
778
|
* @response `404` `ProblemDetails` Not Found
|
|
770
779
|
*/
|
|
771
|
-
updateAiGuardrail: (id, data, params = {}) => this.request(Object.assign({ path: `/api/ai/guardrails/${id}`, method: "PUT", body: data, secure: true, type:
|
|
780
|
+
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)),
|
|
772
781
|
/**
|
|
773
782
|
* No description
|
|
774
783
|
*
|
|
@@ -815,7 +824,7 @@ export class Api extends HttpClient {
|
|
|
815
824
|
* @secure
|
|
816
825
|
* @response `200` `AiAccountUsageOverviewPaginated` OK
|
|
817
826
|
*/
|
|
818
|
-
searchAiAccountTokenUsage: (data, query, params = {}) => this.request(Object.assign({ path: `/api/ai/token-usage/search`, method: "POST", query: query, body: data, secure: true, type:
|
|
827
|
+
searchAiAccountTokenUsage: (data, query, params = {}) => this.request(Object.assign({ path: `/api/ai/token-usage/search`, method: "POST", query: query, body: data, secure: true, type: ContentType.Json, format: "json" }, params)),
|
|
819
828
|
/**
|
|
820
829
|
* No description
|
|
821
830
|
*
|
|
@@ -849,7 +858,7 @@ export class Api extends HttpClient {
|
|
|
849
858
|
* @response `200` `AiTokenBudgetStatus` OK
|
|
850
859
|
* @response `400` `ProblemDetails` Bad Request
|
|
851
860
|
*/
|
|
852
|
-
setAiAccountTokenLimit: (accountId, data, params = {}) => this.request(Object.assign({ path: `/api/ai/token-usage/${accountId}/limit`, method: "PUT", body: data, secure: true, type:
|
|
861
|
+
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)),
|
|
853
862
|
/**
|
|
854
863
|
* No description
|
|
855
864
|
*
|
|
@@ -873,7 +882,7 @@ export class Api extends HttpClient {
|
|
|
873
882
|
* @response `400` `ProblemDetails` Bad Request
|
|
874
883
|
* @response `409` `ProblemDetails` Conflict
|
|
875
884
|
*/
|
|
876
|
-
createAiUrlSource: (data, params = {}) => this.request(Object.assign({ path: `/api/ai/url-sources`, method: "POST", body: data, secure: true, type:
|
|
885
|
+
createAiUrlSource: (data, params = {}) => this.request(Object.assign({ path: `/api/ai/url-sources`, method: "POST", body: data, secure: true, type: ContentType.Json, format: "json" }, params)),
|
|
877
886
|
/**
|
|
878
887
|
* No description
|
|
879
888
|
*
|
|
@@ -899,7 +908,7 @@ export class Api extends HttpClient {
|
|
|
899
908
|
* @response `404` `ProblemDetails` Not Found
|
|
900
909
|
* @response `409` `ProblemDetails` Conflict
|
|
901
910
|
*/
|
|
902
|
-
updateAiUrlSource: (id, data, params = {}) => this.request(Object.assign({ path: `/api/ai/url-sources/${id}`, method: "PUT", body: data, secure: true, type:
|
|
911
|
+
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)),
|
|
903
912
|
/**
|
|
904
913
|
* No description
|
|
905
914
|
*
|
|
@@ -983,7 +992,7 @@ export class Api extends HttpClient {
|
|
|
983
992
|
* @secure
|
|
984
993
|
* @response `200` `AuditLogEntryPaginated` OK
|
|
985
994
|
*/
|
|
986
|
-
searchAuditLogs: (data, query, params = {}) => this.request(Object.assign({ path: `/api/audit-logs/search`, method: "POST", query: query, body: data, secure: true, type:
|
|
995
|
+
searchAuditLogs: (data, query, params = {}) => this.request(Object.assign({ path: `/api/audit-logs/search`, method: "POST", query: query, body: data, secure: true, type: ContentType.Json, format: "json" }, params)),
|
|
987
996
|
/**
|
|
988
997
|
* No description
|
|
989
998
|
*
|
|
@@ -1018,7 +1027,7 @@ export class Api extends HttpClient {
|
|
|
1018
1027
|
* @response `204` `void` No Content
|
|
1019
1028
|
* @response `422` `UnprocessableEntity` Unprocessable Content
|
|
1020
1029
|
*/
|
|
1021
|
-
authForgotPassword: (data, params = {}) => this.request(Object.assign({ path: `/api/auth/forgot-password`, method: "POST", body: data, secure: true, type:
|
|
1030
|
+
authForgotPassword: (data, params = {}) => this.request(Object.assign({ path: `/api/auth/forgot-password`, method: "POST", body: data, secure: true, type: ContentType.Json }, params)),
|
|
1022
1031
|
/**
|
|
1023
1032
|
* No description
|
|
1024
1033
|
*
|
|
@@ -1030,7 +1039,7 @@ export class Api extends HttpClient {
|
|
|
1030
1039
|
* @response `204` `void` No Content
|
|
1031
1040
|
* @response `422` `UnprocessableEntity` Unprocessable Content
|
|
1032
1041
|
*/
|
|
1033
|
-
authResetPassword: (data, params = {}) => this.request(Object.assign({ path: `/api/auth/reset-password`, method: "POST", body: data, secure: true, type:
|
|
1042
|
+
authResetPassword: (data, params = {}) => this.request(Object.assign({ path: `/api/auth/reset-password`, method: "POST", body: data, secure: true, type: ContentType.Json }, params)),
|
|
1034
1043
|
/**
|
|
1035
1044
|
* No description
|
|
1036
1045
|
*
|
|
@@ -1042,7 +1051,7 @@ export class Api extends HttpClient {
|
|
|
1042
1051
|
* @response `204` `void` No Content
|
|
1043
1052
|
* @response `422` `UnprocessableEntity` Unprocessable Content
|
|
1044
1053
|
*/
|
|
1045
|
-
authSetPassword: (data, params = {}) => this.request(Object.assign({ path: `/api/auth/set-password`, method: "POST", body: data, secure: true, type:
|
|
1054
|
+
authSetPassword: (data, params = {}) => this.request(Object.assign({ path: `/api/auth/set-password`, method: "POST", body: data, secure: true, type: ContentType.Json }, params)),
|
|
1046
1055
|
/**
|
|
1047
1056
|
* No description
|
|
1048
1057
|
*
|
|
@@ -1065,7 +1074,7 @@ export class Api extends HttpClient {
|
|
|
1065
1074
|
* @response `204` `void` No Content
|
|
1066
1075
|
* @response `422` `UnprocessableEntity` Unprocessable Content
|
|
1067
1076
|
*/
|
|
1068
|
-
authVerifyEmail: (data, params = {}) => this.request(Object.assign({ path: `/api/auth/verify-email`, method: "POST", body: data, secure: true, type:
|
|
1077
|
+
authVerifyEmail: (data, params = {}) => this.request(Object.assign({ path: `/api/auth/verify-email`, method: "POST", body: data, secure: true, type: ContentType.Json }, params)),
|
|
1069
1078
|
/**
|
|
1070
1079
|
* No description
|
|
1071
1080
|
*
|
|
@@ -1078,7 +1087,7 @@ export class Api extends HttpClient {
|
|
|
1078
1087
|
* @response `401` `ProblemDetails` Unauthorized
|
|
1079
1088
|
* @response `422` `UnprocessableEntity` Unprocessable Content
|
|
1080
1089
|
*/
|
|
1081
|
-
getTokenFromRefreshToken: (data, params = {}) => this.request(Object.assign({ path: `/api/refresh-token`, method: "POST", body: data, secure: true, type:
|
|
1090
|
+
getTokenFromRefreshToken: (data, params = {}) => this.request(Object.assign({ path: `/api/refresh-token`, method: "POST", body: data, secure: true, type: ContentType.Json, format: "json" }, params)),
|
|
1082
1091
|
/**
|
|
1083
1092
|
* No description
|
|
1084
1093
|
*
|
|
@@ -1090,7 +1099,7 @@ export class Api extends HttpClient {
|
|
|
1090
1099
|
* @response `200` `UserDeactivated` OK
|
|
1091
1100
|
* @response `422` `UnprocessableEntity` Unprocessable Content
|
|
1092
1101
|
*/
|
|
1093
|
-
getToken: (data, params = {}) => this.request(Object.assign({ path: `/api/token`, method: "POST", body: data, secure: true, type:
|
|
1102
|
+
getToken: (data, params = {}) => this.request(Object.assign({ path: `/api/token`, method: "POST", body: data, secure: true, type: ContentType.Json, format: "json" }, params)),
|
|
1094
1103
|
/**
|
|
1095
1104
|
* No description
|
|
1096
1105
|
*
|
|
@@ -1102,7 +1111,7 @@ export class Api extends HttpClient {
|
|
|
1102
1111
|
* @response `200` `UserDeactivated` OK
|
|
1103
1112
|
* @response `422` `UnprocessableEntity` Unprocessable Content
|
|
1104
1113
|
*/
|
|
1105
|
-
getTokenFromChallengeCode: (data, params = {}) => this.request(Object.assign({ path: `/api/token/code`, method: "POST", body: data, secure: true, type:
|
|
1114
|
+
getTokenFromChallengeCode: (data, params = {}) => this.request(Object.assign({ path: `/api/token/code`, method: "POST", body: data, secure: true, type: ContentType.Json, format: "json" }, params)),
|
|
1106
1115
|
/**
|
|
1107
1116
|
* No description
|
|
1108
1117
|
*
|
|
@@ -1114,7 +1123,7 @@ export class Api extends HttpClient {
|
|
|
1114
1123
|
* @response `200` `Token` OK
|
|
1115
1124
|
* @response `422` `UnprocessableEntity` Unprocessable Content
|
|
1116
1125
|
*/
|
|
1117
|
-
getSystemToken: (data, params = {}) => this.request(Object.assign({ path: `/api/oauth2/token`, method: "POST", body: data, secure: true, type:
|
|
1126
|
+
getSystemToken: (data, params = {}) => this.request(Object.assign({ path: `/api/oauth2/token`, method: "POST", body: data, secure: true, type: ContentType.Json, format: "json" }, params)),
|
|
1118
1127
|
/**
|
|
1119
1128
|
* No description
|
|
1120
1129
|
*
|
|
@@ -1126,7 +1135,7 @@ export class Api extends HttpClient {
|
|
|
1126
1135
|
* @response `200` `SSOToken` OK
|
|
1127
1136
|
* @response `422` `UnprocessableEntity` Unprocessable Content
|
|
1128
1137
|
*/
|
|
1129
|
-
getSsoToken: (data, params = {}) => this.request(Object.assign({ path: `/api/token/sso`, method: "POST", body: data, secure: true, type:
|
|
1138
|
+
getSsoToken: (data, params = {}) => this.request(Object.assign({ path: `/api/token/sso`, method: "POST", body: data, secure: true, type: ContentType.Json, format: "json" }, params)),
|
|
1130
1139
|
/**
|
|
1131
1140
|
* No description
|
|
1132
1141
|
*
|
|
@@ -1161,7 +1170,7 @@ export class Api extends HttpClient {
|
|
|
1161
1170
|
* @response `200` `GetBranch` OK
|
|
1162
1171
|
* @response `422` `UnprocessableEntity` Unprocessable Content
|
|
1163
1172
|
*/
|
|
1164
|
-
createBranch: (data, params = {}) => this.request(Object.assign({ path: `/api/branches`, method: "POST", body: data, secure: true, type:
|
|
1173
|
+
createBranch: (data, params = {}) => this.request(Object.assign({ path: `/api/branches`, method: "POST", body: data, secure: true, type: ContentType.Json, format: "json" }, params)),
|
|
1165
1174
|
/**
|
|
1166
1175
|
* No description
|
|
1167
1176
|
*
|
|
@@ -1172,7 +1181,7 @@ export class Api extends HttpClient {
|
|
|
1172
1181
|
* @secure
|
|
1173
1182
|
* @response `200` `GetBranchPaginated` OK
|
|
1174
1183
|
*/
|
|
1175
|
-
searchBranches: (data, query, params = {}) => this.request(Object.assign({ path: `/api/branches/search`, method: "POST", query: query, body: data, secure: true, type:
|
|
1184
|
+
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)),
|
|
1176
1185
|
/**
|
|
1177
1186
|
* No description
|
|
1178
1187
|
*
|
|
@@ -1195,7 +1204,7 @@ export class Api extends HttpClient {
|
|
|
1195
1204
|
* @response `200` `GetBranch` OK
|
|
1196
1205
|
* @response `422` `UnprocessableEntity` Unprocessable Content
|
|
1197
1206
|
*/
|
|
1198
|
-
replaceBranch: (branchId, data, params = {}) => this.request(Object.assign({ path: `/api/branches/${branchId}`, method: "PUT", body: data, secure: true, type:
|
|
1207
|
+
replaceBranch: (branchId, data, params = {}) => this.request(Object.assign({ path: `/api/branches/${branchId}`, method: "PUT", body: data, secure: true, type: ContentType.Json, format: "json" }, params)),
|
|
1199
1208
|
/**
|
|
1200
1209
|
* No description
|
|
1201
1210
|
*
|
|
@@ -1230,7 +1239,7 @@ export class Api extends HttpClient {
|
|
|
1230
1239
|
* @response `200` `SiteConfiguration` OK
|
|
1231
1240
|
* @response `422` `UnprocessableEntity` Unprocessable Content
|
|
1232
1241
|
*/
|
|
1233
|
-
createBranchSiteConfiguration: (branchId, data, params = {}) => this.request(Object.assign({ path: `/api/branches/${branchId}/site-configurations`, method: "POST", body: data, secure: true, type:
|
|
1242
|
+
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)),
|
|
1234
1243
|
/**
|
|
1235
1244
|
* No description
|
|
1236
1245
|
*
|
|
@@ -1253,7 +1262,7 @@ export class Api extends HttpClient {
|
|
|
1253
1262
|
* @response `200` `SiteConfiguration` OK
|
|
1254
1263
|
* @response `422` `UnprocessableEntity` Unprocessable Content
|
|
1255
1264
|
*/
|
|
1256
|
-
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:
|
|
1265
|
+
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)),
|
|
1257
1266
|
/**
|
|
1258
1267
|
* No description
|
|
1259
1268
|
*
|
|
@@ -1287,7 +1296,7 @@ export class Api extends HttpClient {
|
|
|
1287
1296
|
* @response `200` `BusinessRule` OK
|
|
1288
1297
|
* @response `422` `UnprocessableEntity` Unprocessable Content
|
|
1289
1298
|
*/
|
|
1290
|
-
createBusinessRule: (data, params = {}) => this.request(Object.assign({ path: `/api/business-rules`, method: "POST", body: data, secure: true, type:
|
|
1299
|
+
createBusinessRule: (data, params = {}) => this.request(Object.assign({ path: `/api/business-rules`, method: "POST", body: data, secure: true, type: ContentType.Json, format: "json" }, params)),
|
|
1291
1300
|
/**
|
|
1292
1301
|
* No description
|
|
1293
1302
|
*
|
|
@@ -1310,7 +1319,7 @@ export class Api extends HttpClient {
|
|
|
1310
1319
|
* @response `200` `BusinessRule` OK
|
|
1311
1320
|
* @response `422` `UnprocessableEntity` Unprocessable Content
|
|
1312
1321
|
*/
|
|
1313
|
-
replaceBusinessRule: (id, data, params = {}) => this.request(Object.assign({ path: `/api/business-rules/${id}`, method: "PUT", body: data, secure: true, type:
|
|
1322
|
+
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)),
|
|
1314
1323
|
/**
|
|
1315
1324
|
* No description
|
|
1316
1325
|
*
|
|
@@ -1343,7 +1352,7 @@ export class Api extends HttpClient {
|
|
|
1343
1352
|
* @secure
|
|
1344
1353
|
* @response `200` `ClosedLoansReport` OK
|
|
1345
1354
|
*/
|
|
1346
|
-
getClosedLoansReport: (data, params = {}) => this.request(Object.assign({ path: `/api/loans/reports/closed-loans`, method: "POST", body: data, secure: true, type:
|
|
1355
|
+
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)),
|
|
1347
1356
|
/**
|
|
1348
1357
|
* No description
|
|
1349
1358
|
*
|
|
@@ -1367,7 +1376,7 @@ export class Api extends HttpClient {
|
|
|
1367
1376
|
* @response `400` `ProblemDetails` Bad Request
|
|
1368
1377
|
* @response `409` `ProblemDetails` Conflict
|
|
1369
1378
|
*/
|
|
1370
|
-
createCompanyDocumentFolder: (data, params = {}) => this.request(Object.assign({ path: `/api/company-document-folders`, method: "POST", body: data, secure: true, type:
|
|
1379
|
+
createCompanyDocumentFolder: (data, params = {}) => this.request(Object.assign({ path: `/api/company-document-folders`, method: "POST", body: data, secure: true, type: ContentType.Json, format: "json" }, params)),
|
|
1371
1380
|
/**
|
|
1372
1381
|
* No description
|
|
1373
1382
|
*
|
|
@@ -1393,7 +1402,7 @@ export class Api extends HttpClient {
|
|
|
1393
1402
|
* @response `404` `ProblemDetails` Not Found
|
|
1394
1403
|
* @response `409` `ProblemDetails` Conflict
|
|
1395
1404
|
*/
|
|
1396
|
-
updateCompanyDocumentFolder: (id, data, params = {}) => this.request(Object.assign({ path: `/api/company-document-folders/${id}`, method: "PUT", body: data, secure: true, type:
|
|
1405
|
+
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)),
|
|
1397
1406
|
/**
|
|
1398
1407
|
* No description
|
|
1399
1408
|
*
|
|
@@ -1419,7 +1428,7 @@ export class Api extends HttpClient {
|
|
|
1419
1428
|
* @response `200` `CompanyDocumentPaginated` OK
|
|
1420
1429
|
* @response `400` `ProblemDetails` Bad Request
|
|
1421
1430
|
*/
|
|
1422
|
-
searchCompanyDocuments: (data, query, params = {}) => this.request(Object.assign({ path: `/api/company-documents/search`, method: "POST", query: query, body: data, secure: true, type:
|
|
1431
|
+
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)),
|
|
1423
1432
|
/**
|
|
1424
1433
|
* No description
|
|
1425
1434
|
*
|
|
@@ -1445,7 +1454,7 @@ export class Api extends HttpClient {
|
|
|
1445
1454
|
* @response `404` `ProblemDetails` Not Found
|
|
1446
1455
|
* @response `409` `ProblemDetails` Conflict
|
|
1447
1456
|
*/
|
|
1448
|
-
updateCompanyDocument: (id, data, params = {}) => this.request(Object.assign({ path: `/api/company-documents/${id}`, method: "PUT", body: data, secure: true, type:
|
|
1457
|
+
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)),
|
|
1449
1458
|
/**
|
|
1450
1459
|
* No description
|
|
1451
1460
|
*
|
|
@@ -1469,7 +1478,7 @@ export class Api extends HttpClient {
|
|
|
1469
1478
|
* @response `200` `Record<string,string>` OK
|
|
1470
1479
|
* @response `400` `ProblemDetails` Bad Request
|
|
1471
1480
|
*/
|
|
1472
|
-
getCompanyDocumentPreviews: (data, params = {}) => this.request(Object.assign({ path: `/api/company-documents/previews`, method: "POST", body: data, secure: true, type:
|
|
1481
|
+
getCompanyDocumentPreviews: (data, params = {}) => this.request(Object.assign({ path: `/api/company-documents/previews`, method: "POST", body: data, secure: true, type: ContentType.Json, format: "json" }, params)),
|
|
1473
1482
|
/**
|
|
1474
1483
|
* No description
|
|
1475
1484
|
*
|
|
@@ -1495,7 +1504,7 @@ export class Api extends HttpClient {
|
|
|
1495
1504
|
* @response `404` `ProblemDetails` Not Found
|
|
1496
1505
|
* @response `409` `ProblemDetails` Conflict
|
|
1497
1506
|
*/
|
|
1498
|
-
createCompanyDocument: (data, params = {}) => this.request(Object.assign({ path: `/api/company-documents`, method: "POST", body: data, secure: true, type:
|
|
1507
|
+
createCompanyDocument: (data, params = {}) => this.request(Object.assign({ path: `/api/company-documents`, method: "POST", body: data, secure: true, type: ContentType.FormData, format: "json" }, params)),
|
|
1499
1508
|
/**
|
|
1500
1509
|
* No description
|
|
1501
1510
|
*
|
|
@@ -1509,7 +1518,7 @@ export class Api extends HttpClient {
|
|
|
1509
1518
|
* @response `404` `ProblemDetails` Not Found
|
|
1510
1519
|
* @response `409` `ProblemDetails` Conflict
|
|
1511
1520
|
*/
|
|
1512
|
-
createCompanyTextDocument: (data, params = {}) => this.request(Object.assign({ path: `/api/company-documents/text`, method: "POST", body: data, secure: true, type:
|
|
1521
|
+
createCompanyTextDocument: (data, params = {}) => this.request(Object.assign({ path: `/api/company-documents/text`, method: "POST", body: data, secure: true, type: ContentType.Json, format: "json" }, params)),
|
|
1513
1522
|
/**
|
|
1514
1523
|
* No description
|
|
1515
1524
|
*
|
|
@@ -1568,7 +1577,7 @@ export class Api extends HttpClient {
|
|
|
1568
1577
|
* @response `200` `Corporate` OK
|
|
1569
1578
|
* @response `422` `UnprocessableEntity` Unprocessable Content
|
|
1570
1579
|
*/
|
|
1571
|
-
createCorporate: (data, params = {}) => this.request(Object.assign({ path: `/api/corporates`, method: "POST", body: data, secure: true, type:
|
|
1580
|
+
createCorporate: (data, params = {}) => this.request(Object.assign({ path: `/api/corporates`, method: "POST", body: data, secure: true, type: ContentType.Json, format: "json" }, params)),
|
|
1572
1581
|
/**
|
|
1573
1582
|
* No description
|
|
1574
1583
|
*
|
|
@@ -1579,7 +1588,7 @@ export class Api extends HttpClient {
|
|
|
1579
1588
|
* @secure
|
|
1580
1589
|
* @response `200` `CorporatePaginated` OK
|
|
1581
1590
|
*/
|
|
1582
|
-
searchCorporate: (data, query, params = {}) => this.request(Object.assign({ path: `/api/corporates/search`, method: "POST", query: query, body: data, secure: true, type:
|
|
1591
|
+
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)),
|
|
1583
1592
|
/**
|
|
1584
1593
|
* No description
|
|
1585
1594
|
*
|
|
@@ -1602,7 +1611,7 @@ export class Api extends HttpClient {
|
|
|
1602
1611
|
* @response `200` `Corporate` OK
|
|
1603
1612
|
* @response `422` `UnprocessableEntity` Unprocessable Content
|
|
1604
1613
|
*/
|
|
1605
|
-
replaceCorporate: (id, data, params = {}) => this.request(Object.assign({ path: `/api/corporates/${id}`, method: "PUT", body: data, secure: true, type:
|
|
1614
|
+
replaceCorporate: (id, data, params = {}) => this.request(Object.assign({ path: `/api/corporates/${id}`, method: "PUT", body: data, secure: true, type: ContentType.Json, format: "json" }, params)),
|
|
1606
1615
|
/**
|
|
1607
1616
|
* No description
|
|
1608
1617
|
*
|
|
@@ -1636,7 +1645,7 @@ export class Api extends HttpClient {
|
|
|
1636
1645
|
* @response `200` `SiteConfiguration` OK
|
|
1637
1646
|
* @response `422` `UnprocessableEntity` Unprocessable Content
|
|
1638
1647
|
*/
|
|
1639
|
-
createCorporateSiteConfiguration: (corporateId, data, params = {}) => this.request(Object.assign({ path: `/api/corporates/${corporateId}/site-configurations`, method: "POST", body: data, secure: true, type:
|
|
1648
|
+
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)),
|
|
1640
1649
|
/**
|
|
1641
1650
|
* No description
|
|
1642
1651
|
*
|
|
@@ -1659,7 +1668,7 @@ export class Api extends HttpClient {
|
|
|
1659
1668
|
* @response `200` `SiteConfiguration` OK
|
|
1660
1669
|
* @response `422` `UnprocessableEntity` Unprocessable Content
|
|
1661
1670
|
*/
|
|
1662
|
-
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:
|
|
1671
|
+
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)),
|
|
1663
1672
|
/**
|
|
1664
1673
|
* No description
|
|
1665
1674
|
*
|
|
@@ -1705,7 +1714,7 @@ export class Api extends HttpClient {
|
|
|
1705
1714
|
* @response `409` `ProblemDetails` Conflict
|
|
1706
1715
|
* @response `422` `ProblemDetails` Unprocessable Content
|
|
1707
1716
|
*/
|
|
1708
|
-
createCustomFieldDefinition: (data, params = {}) => this.request(Object.assign({ path: `/api/custom-field-definitions`, method: "POST", body: data, secure: true, type:
|
|
1717
|
+
createCustomFieldDefinition: (data, params = {}) => this.request(Object.assign({ path: `/api/custom-field-definitions`, method: "POST", body: data, secure: true, type: ContentType.Json, format: "json" }, params)),
|
|
1709
1718
|
/**
|
|
1710
1719
|
* No description
|
|
1711
1720
|
*
|
|
@@ -1732,7 +1741,7 @@ export class Api extends HttpClient {
|
|
|
1732
1741
|
* @response `409` `ProblemDetails` Conflict
|
|
1733
1742
|
* @response `422` `ProblemDetails` Unprocessable Content
|
|
1734
1743
|
*/
|
|
1735
|
-
updateCustomFieldDefinition: (id, data, params = {}) => this.request(Object.assign({ path: `/api/custom-field-definitions/${id}`, method: "PUT", body: data, secure: true, type:
|
|
1744
|
+
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)),
|
|
1736
1745
|
/**
|
|
1737
1746
|
* No description
|
|
1738
1747
|
*
|
|
@@ -1802,7 +1811,7 @@ export class Api extends HttpClient {
|
|
|
1802
1811
|
* @secure
|
|
1803
1812
|
* @response `200` `Device` OK
|
|
1804
1813
|
*/
|
|
1805
|
-
updateDevice: (id, data, params = {}) => this.request(Object.assign({ path: `/api/devices/${id}`, method: "PUT", body: data, secure: true, type:
|
|
1814
|
+
updateDevice: (id, data, params = {}) => this.request(Object.assign({ path: `/api/devices/${id}`, method: "PUT", body: data, secure: true, type: ContentType.Json, format: "json" }, params)),
|
|
1806
1815
|
/**
|
|
1807
1816
|
* No description
|
|
1808
1817
|
*
|
|
@@ -1860,7 +1869,7 @@ export class Api extends HttpClient {
|
|
|
1860
1869
|
* @response `404` `ProblemDetails` Not Found
|
|
1861
1870
|
* @response `422` `UnprocessableEntity` Unprocessable Content
|
|
1862
1871
|
*/
|
|
1863
|
-
createDocumentTemplate: (data, params = {}) => this.request(Object.assign({ path: `/api/document-templates`, method: "POST", body: data, secure: true, type:
|
|
1872
|
+
createDocumentTemplate: (data, params = {}) => this.request(Object.assign({ path: `/api/document-templates`, method: "POST", body: data, secure: true, type: ContentType.Json, format: "json" }, params)),
|
|
1864
1873
|
/**
|
|
1865
1874
|
* No description
|
|
1866
1875
|
*
|
|
@@ -1897,7 +1906,7 @@ export class Api extends HttpClient {
|
|
|
1897
1906
|
* @response `404` `ProblemDetails` Not Found
|
|
1898
1907
|
* @response `422` `UnprocessableEntity` Unprocessable Content
|
|
1899
1908
|
*/
|
|
1900
|
-
replaceDocumentTemplate: (id, data, params = {}) => this.request(Object.assign({ path: `/api/document-templates/${id}`, method: "PUT", body: data, secure: true, type:
|
|
1909
|
+
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)),
|
|
1901
1910
|
/**
|
|
1902
1911
|
* No description
|
|
1903
1912
|
*
|
|
@@ -1945,7 +1954,7 @@ export class Api extends HttpClient {
|
|
|
1945
1954
|
* @secure
|
|
1946
1955
|
* @response `200` `DocumentTemplateVersion` OK
|
|
1947
1956
|
*/
|
|
1948
|
-
createDocumentTemplateVersion: (documentId, data, params = {}) => this.request(Object.assign({ path: `/api/document-templates/${documentId}/versions`, method: "POST", body: data, secure: true, type:
|
|
1957
|
+
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)),
|
|
1949
1958
|
/**
|
|
1950
1959
|
* No description
|
|
1951
1960
|
*
|
|
@@ -1967,7 +1976,7 @@ export class Api extends HttpClient {
|
|
|
1967
1976
|
* @secure
|
|
1968
1977
|
* @response `200` `DocumentTemplateVersion` OK
|
|
1969
1978
|
*/
|
|
1970
|
-
replaceDocumentTemplateVersion: (documentId, id, data, params = {}) => this.request(Object.assign({ path: `/api/document-templates/${documentId}/versions/${id}`, method: "PUT", body: data, secure: true, type:
|
|
1979
|
+
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)),
|
|
1971
1980
|
/**
|
|
1972
1981
|
* No description
|
|
1973
1982
|
*
|
|
@@ -2005,7 +2014,7 @@ export class Api extends HttpClient {
|
|
|
2005
2014
|
* @response `409` `void` Conflict
|
|
2006
2015
|
* @response `422` `ProblemDetails` Unprocessable Content
|
|
2007
2016
|
*/
|
|
2008
|
-
addEncompassCustomFieldMapping: (definitionId, data, params = {}) => this.request(Object.assign({ path: `/api/los/encompass/custom-field-mappings/${definitionId}`, method: "POST", body: data, secure: true, type:
|
|
2017
|
+
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)),
|
|
2009
2018
|
/**
|
|
2010
2019
|
* No description
|
|
2011
2020
|
*
|
|
@@ -2070,7 +2079,7 @@ export class Api extends HttpClient {
|
|
|
2070
2079
|
* @response `409` `void` Conflict
|
|
2071
2080
|
* @response `422` `ProblemDetails` Unprocessable Content
|
|
2072
2081
|
*/
|
|
2073
|
-
createEncompassField: (data, query, params = {}) => this.request(Object.assign({ path: `/api/los/encompass/custom-fields`, method: "POST", query: query, body: data, secure: true, type:
|
|
2082
|
+
createEncompassField: (data, query, params = {}) => this.request(Object.assign({ path: `/api/los/encompass/custom-fields`, method: "POST", query: query, body: data, secure: true, type: ContentType.Json, format: "json" }, params)),
|
|
2074
2083
|
/**
|
|
2075
2084
|
* No description
|
|
2076
2085
|
*
|
|
@@ -2139,7 +2148,7 @@ export class Api extends HttpClient {
|
|
|
2139
2148
|
* @response `404` `EncompassError` Not Found
|
|
2140
2149
|
* @response `500` `EncompassError` Internal Server Error
|
|
2141
2150
|
*/
|
|
2142
|
-
createEncompassSession: (data, params = {}) => this.request(Object.assign({ path: `/api/los/encompass/eclose/sessions`, method: "POST", body: data, secure: true, type:
|
|
2151
|
+
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)),
|
|
2143
2152
|
/**
|
|
2144
2153
|
* No description
|
|
2145
2154
|
*
|
|
@@ -2153,7 +2162,7 @@ export class Api extends HttpClient {
|
|
|
2153
2162
|
* @response `401` `ProblemDetails` Unauthorized
|
|
2154
2163
|
* @response `403` `ProblemDetails` Forbidden
|
|
2155
2164
|
*/
|
|
2156
|
-
searchEncompassIntegrations: (data, query, params = {}) => this.request(Object.assign({ path: `/api/monitoring/encompass-integrations/search`, method: "POST", query: query, body: data, secure: true, type:
|
|
2165
|
+
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)),
|
|
2157
2166
|
/**
|
|
2158
2167
|
* No description
|
|
2159
2168
|
*
|
|
@@ -2166,7 +2175,7 @@ export class Api extends HttpClient {
|
|
|
2166
2175
|
* @response `401` `ProblemDetails` Unauthorized
|
|
2167
2176
|
* @response `403` `ProblemDetails` Forbidden
|
|
2168
2177
|
*/
|
|
2169
|
-
getEncompassIntegrationsSummary: (data, query, params = {}) => this.request(Object.assign({ path: `/api/monitoring/encompass-integrations/summary`, method: "POST", query: query, body: data, secure: true, type:
|
|
2178
|
+
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)),
|
|
2170
2179
|
/**
|
|
2171
2180
|
* No description
|
|
2172
2181
|
*
|
|
@@ -2180,7 +2189,7 @@ export class Api extends HttpClient {
|
|
|
2180
2189
|
* @response `401` `ProblemDetails` Unauthorized
|
|
2181
2190
|
* @response `403` `ProblemDetails` Forbidden
|
|
2182
2191
|
*/
|
|
2183
|
-
getEncompassIntegrationsHealth: (data, params = {}) => this.request(Object.assign({ path: `/api/monitoring/encompass-integrations/health`, method: "POST", body: data, secure: true, type:
|
|
2192
|
+
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)),
|
|
2184
2193
|
/**
|
|
2185
2194
|
* No description
|
|
2186
2195
|
*
|
|
@@ -2207,7 +2216,7 @@ export class Api extends HttpClient {
|
|
|
2207
2216
|
* @response `401` `ProblemDetails` Unauthorized
|
|
2208
2217
|
* @response `403` `ProblemDetails` Forbidden
|
|
2209
2218
|
*/
|
|
2210
|
-
getEncompassIntegrationsWebhooks: (data, params = {}) => this.request(Object.assign({ path: `/api/monitoring/encompass-integrations/webhooks`, method: "POST", body: data, secure: true, type:
|
|
2219
|
+
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)),
|
|
2211
2220
|
/**
|
|
2212
2221
|
* No description
|
|
2213
2222
|
*
|
|
@@ -2248,7 +2257,7 @@ export class Api extends HttpClient {
|
|
|
2248
2257
|
* @response `403` `ProblemDetails` Forbidden
|
|
2249
2258
|
* @response `404` `ProblemDetails` Not Found
|
|
2250
2259
|
*/
|
|
2251
|
-
updateEncompassIntegrationCredentials: (accountId, data, params = {}) => this.request(Object.assign({ path: `/api/monitoring/encompass-integrations/${accountId}/credentials`, method: "PUT", body: data, secure: true, type:
|
|
2260
|
+
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)),
|
|
2252
2261
|
/**
|
|
2253
2262
|
* No description
|
|
2254
2263
|
*
|
|
@@ -2262,7 +2271,7 @@ export class Api extends HttpClient {
|
|
|
2262
2271
|
* @response `401` `ProblemDetails` Unauthorized
|
|
2263
2272
|
* @response `403` `ProblemDetails` Forbidden
|
|
2264
2273
|
*/
|
|
2265
|
-
registerEncompassIntegrationWebhook: (accountId, data, params = {}) => this.request(Object.assign({ path: `/api/monitoring/encompass-integrations/${accountId}/webhooks`, method: "POST", body: data, secure: true, type:
|
|
2274
|
+
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)),
|
|
2266
2275
|
/**
|
|
2267
2276
|
* No description
|
|
2268
2277
|
*
|
|
@@ -2299,7 +2308,7 @@ export class Api extends HttpClient {
|
|
|
2299
2308
|
* @response `201` `File` Created
|
|
2300
2309
|
* @response `422` `UnprocessableEntity` Unprocessable Content
|
|
2301
2310
|
*/
|
|
2302
|
-
uploadFile: (data, params = {}) => this.request(Object.assign({ path: `/api/files`, method: "POST", body: data, secure: true, type:
|
|
2311
|
+
uploadFile: (data, params = {}) => this.request(Object.assign({ path: `/api/files`, method: "POST", body: data, secure: true, type: ContentType.FormData, format: "json" }, params)),
|
|
2303
2312
|
/**
|
|
2304
2313
|
* No description
|
|
2305
2314
|
*
|
|
@@ -2322,7 +2331,7 @@ export class Api extends HttpClient {
|
|
|
2322
2331
|
* @response `200` `string` OK
|
|
2323
2332
|
* @response `422` `UnprocessableEntity` Unprocessable Content
|
|
2324
2333
|
*/
|
|
2325
|
-
replaceFile: (id, data, params = {}) => this.request(Object.assign({ path: `/api/files/${id}`, method: "PUT", body: data, secure: true, type:
|
|
2334
|
+
replaceFile: (id, data, params = {}) => this.request(Object.assign({ path: `/api/files/${id}`, method: "PUT", body: data, secure: true, type: ContentType.Json, format: "json" }, params)),
|
|
2326
2335
|
/**
|
|
2327
2336
|
* No description
|
|
2328
2337
|
*
|
|
@@ -2344,7 +2353,7 @@ export class Api extends HttpClient {
|
|
|
2344
2353
|
* @secure
|
|
2345
2354
|
* @response `200` `FilePaginated` OK
|
|
2346
2355
|
*/
|
|
2347
|
-
searchFiles: (data, query, params = {}) => this.request(Object.assign({ path: `/api/files/search`, method: "POST", query: query, body: data, secure: true, type:
|
|
2356
|
+
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)),
|
|
2348
2357
|
/**
|
|
2349
2358
|
* No description
|
|
2350
2359
|
*
|
|
@@ -2367,7 +2376,7 @@ export class Api extends HttpClient {
|
|
|
2367
2376
|
* @response `201` `Form` Created
|
|
2368
2377
|
* @response `422` `UnprocessableEntity` Unprocessable Content
|
|
2369
2378
|
*/
|
|
2370
|
-
createForm: (data, params = {}) => this.request(Object.assign({ path: `/api/forms`, method: "POST", body: data, secure: true, type:
|
|
2379
|
+
createForm: (data, params = {}) => this.request(Object.assign({ path: `/api/forms`, method: "POST", body: data, secure: true, type: ContentType.Json, format: "json" }, params)),
|
|
2371
2380
|
/**
|
|
2372
2381
|
* No description
|
|
2373
2382
|
*
|
|
@@ -2390,7 +2399,7 @@ export class Api extends HttpClient {
|
|
|
2390
2399
|
* @response `200` `Form` OK
|
|
2391
2400
|
* @response `422` `UnprocessableEntity` Unprocessable Content
|
|
2392
2401
|
*/
|
|
2393
|
-
replaceForm: (id, data, params = {}) => this.request(Object.assign({ path: `/api/forms/${id}`, method: "PUT", body: data, secure: true, type:
|
|
2402
|
+
replaceForm: (id, data, params = {}) => this.request(Object.assign({ path: `/api/forms/${id}`, method: "PUT", body: data, secure: true, type: ContentType.Json, format: "json" }, params)),
|
|
2394
2403
|
/**
|
|
2395
2404
|
* No description
|
|
2396
2405
|
*
|
|
@@ -2423,7 +2432,7 @@ export class Api extends HttpClient {
|
|
|
2423
2432
|
* @secure
|
|
2424
2433
|
* @response `200` `FormSubmissionFile` OK
|
|
2425
2434
|
*/
|
|
2426
|
-
addFormSubmissionFile: (formSubmissionId, data, params = {}) => this.request(Object.assign({ path: `/api/form-submissions/${formSubmissionId}/files`, method: "POST", body: data, secure: true, type:
|
|
2435
|
+
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)),
|
|
2427
2436
|
/**
|
|
2428
2437
|
* No description
|
|
2429
2438
|
*
|
|
@@ -2467,7 +2476,7 @@ export class Api extends HttpClient {
|
|
|
2467
2476
|
* @secure
|
|
2468
2477
|
* @response `201` `FormSubmission` Created
|
|
2469
2478
|
*/
|
|
2470
|
-
createFormSubmission: (data, query, params = {}) => this.request(Object.assign({ path: `/api/form-submissions`, method: "POST", query: query, body: data, secure: true, type:
|
|
2479
|
+
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)),
|
|
2471
2480
|
/**
|
|
2472
2481
|
* No description
|
|
2473
2482
|
*
|
|
@@ -2489,7 +2498,7 @@ export class Api extends HttpClient {
|
|
|
2489
2498
|
* @secure
|
|
2490
2499
|
* @response `200` `FormSubmission` OK
|
|
2491
2500
|
*/
|
|
2492
|
-
replaceFormSubmission: (id, data, params = {}) => this.request(Object.assign({ path: `/api/form-submissions/${id}`, method: "PUT", body: data, secure: true, type:
|
|
2501
|
+
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)),
|
|
2493
2502
|
/**
|
|
2494
2503
|
* No description
|
|
2495
2504
|
*
|
|
@@ -2511,7 +2520,7 @@ export class Api extends HttpClient {
|
|
|
2511
2520
|
* @secure
|
|
2512
2521
|
* @response `200` `FormSubmissionPaginated` OK
|
|
2513
2522
|
*/
|
|
2514
|
-
searchFormSubmissions: (data, query, params = {}) => this.request(Object.assign({ path: `/api/form-submissions/search`, method: "POST", query: query, body: data, secure: true, type:
|
|
2523
|
+
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)),
|
|
2515
2524
|
/**
|
|
2516
2525
|
* No description
|
|
2517
2526
|
*
|
|
@@ -2533,7 +2542,7 @@ export class Api extends HttpClient {
|
|
|
2533
2542
|
* @secure
|
|
2534
2543
|
* @response `200` `FormVersion` OK
|
|
2535
2544
|
*/
|
|
2536
|
-
createFormVersion: (formId, data, params = {}) => this.request(Object.assign({ path: `/api/forms/${formId}/versions`, method: "POST", body: data, secure: true, type:
|
|
2545
|
+
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)),
|
|
2537
2546
|
/**
|
|
2538
2547
|
* No description
|
|
2539
2548
|
*
|
|
@@ -2555,7 +2564,7 @@ export class Api extends HttpClient {
|
|
|
2555
2564
|
* @secure
|
|
2556
2565
|
* @response `200` `FormVersion` OK
|
|
2557
2566
|
*/
|
|
2558
|
-
replaceFormVersion: (formId, id, data, params = {}) => this.request(Object.assign({ path: `/api/forms/${formId}/versions/${id}`, method: "PUT", body: data, secure: true, type:
|
|
2567
|
+
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)),
|
|
2559
2568
|
/**
|
|
2560
2569
|
* No description
|
|
2561
2570
|
*
|
|
@@ -2601,7 +2610,7 @@ export class Api extends HttpClient {
|
|
|
2601
2610
|
* @response `200` `string` OK
|
|
2602
2611
|
* @response `422` `UnprocessableEntity` Unprocessable Content
|
|
2603
2612
|
*/
|
|
2604
|
-
updateLoanConsentAndCustomFieldsObsolete: (loanId, data, params = {}) => this.request(Object.assign({ path: `/api/los/loan/application/${loanId}`, method: "PATCH", body: data, secure: true, type:
|
|
2613
|
+
updateLoanConsentAndCustomFieldsObsolete: (loanId, data, params = {}) => this.request(Object.assign({ path: `/api/los/loan/application/${loanId}`, method: "PATCH", body: data, secure: true, type: ContentType.Json, format: "json" }, params)),
|
|
2605
2614
|
/**
|
|
2606
2615
|
* No description
|
|
2607
2616
|
*
|
|
@@ -2612,7 +2621,7 @@ export class Api extends HttpClient {
|
|
|
2612
2621
|
* @secure
|
|
2613
2622
|
* @response `200` `GetReport` OK
|
|
2614
2623
|
*/
|
|
2615
|
-
getLoansReport: (data, params = {}) => this.request(Object.assign({ path: `/api/los/loan/reports`, method: "POST", body: data, secure: true, type:
|
|
2624
|
+
getLoansReport: (data, params = {}) => this.request(Object.assign({ path: `/api/los/loan/reports`, method: "POST", body: data, secure: true, type: ContentType.Json, format: "json" }, params)),
|
|
2616
2625
|
/**
|
|
2617
2626
|
* No description
|
|
2618
2627
|
*
|
|
@@ -2626,7 +2635,7 @@ export class Api extends HttpClient {
|
|
|
2626
2635
|
* @response `422` `UnprocessableEntity` Unprocessable Content
|
|
2627
2636
|
* @response `423` `UnprocessableEntity` Locked
|
|
2628
2637
|
*/
|
|
2629
|
-
createLoan: (data, query, params = {}) => this.request(Object.assign({ path: `/api/los/loan/application`, method: "POST", query: query, body: data, secure: true, type:
|
|
2638
|
+
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)),
|
|
2630
2639
|
/**
|
|
2631
2640
|
* No description
|
|
2632
2641
|
*
|
|
@@ -2639,7 +2648,7 @@ export class Api extends HttpClient {
|
|
|
2639
2648
|
* @response `422` `UnprocessableEntity` Unprocessable Content
|
|
2640
2649
|
* @response `423` `UnprocessableEntity` Locked
|
|
2641
2650
|
*/
|
|
2642
|
-
createLoanInternal: (data, query, params = {}) => this.request(Object.assign({ path: `/api/los/loan/application/internal`, method: "POST", query: query, body: data, secure: true, type:
|
|
2651
|
+
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)),
|
|
2643
2652
|
/**
|
|
2644
2653
|
* No description
|
|
2645
2654
|
*
|
|
@@ -2651,7 +2660,7 @@ export class Api extends HttpClient {
|
|
|
2651
2660
|
* @response `200` `string` OK
|
|
2652
2661
|
* @response `422` `UnprocessableEntity` Unprocessable Content
|
|
2653
2662
|
*/
|
|
2654
|
-
updateLoanCustomFields: (loanId, data, params = {}) => this.request(Object.assign({ path: `/api/los/loan/application/${loanId}/custom-fields`, method: "PATCH", body: data, secure: true, type:
|
|
2663
|
+
updateLoanCustomFields: (loanId, data, params = {}) => this.request(Object.assign({ path: `/api/los/loan/application/${loanId}/custom-fields`, method: "PATCH", body: data, secure: true, type: ContentType.Json, format: "json" }, params)),
|
|
2655
2664
|
/**
|
|
2656
2665
|
* No description
|
|
2657
2666
|
*
|
|
@@ -2664,7 +2673,7 @@ export class Api extends HttpClient {
|
|
|
2664
2673
|
* @response `202` `string` Accepted
|
|
2665
2674
|
* @response `422` `UnprocessableEntity` Unprocessable Content
|
|
2666
2675
|
*/
|
|
2667
|
-
updateLoanConsent: (loanId, data, params = {}) => this.request(Object.assign({ path: `/api/los/loan/application/${loanId}/consent`, method: "PATCH", body: data, secure: true, type:
|
|
2676
|
+
updateLoanConsent: (loanId, data, params = {}) => this.request(Object.assign({ path: `/api/los/loan/application/${loanId}/consent`, method: "PATCH", body: data, secure: true, type: ContentType.Json, format: "json" }, params)),
|
|
2668
2677
|
/**
|
|
2669
2678
|
* No description
|
|
2670
2679
|
*
|
|
@@ -2744,7 +2753,7 @@ export class Api extends HttpClient {
|
|
|
2744
2753
|
* @secure
|
|
2745
2754
|
* @response `200` `ListingFile` OK
|
|
2746
2755
|
*/
|
|
2747
|
-
addListingFile: (listingId, data, params = {}) => this.request(Object.assign({ path: `/api/listings/${listingId}/files`, method: "POST", body: data, secure: true, type:
|
|
2756
|
+
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)),
|
|
2748
2757
|
/**
|
|
2749
2758
|
* No description
|
|
2750
2759
|
*
|
|
@@ -2755,7 +2764,7 @@ export class Api extends HttpClient {
|
|
|
2755
2764
|
* @secure
|
|
2756
2765
|
* @response `200` `ListingFile` OK
|
|
2757
2766
|
*/
|
|
2758
|
-
updateListingFiles: (listingId, data, params = {}) => this.request(Object.assign({ path: `/api/listings/${listingId}/files`, method: "PATCH", body: data, secure: true, type:
|
|
2767
|
+
updateListingFiles: (listingId, data, params = {}) => this.request(Object.assign({ path: `/api/listings/${listingId}/files`, method: "PATCH", body: data, secure: true, type: ContentType.Json, format: "json" }, params)),
|
|
2759
2768
|
/**
|
|
2760
2769
|
* No description
|
|
2761
2770
|
*
|
|
@@ -2777,7 +2786,7 @@ export class Api extends HttpClient {
|
|
|
2777
2786
|
* @secure
|
|
2778
2787
|
* @response `200` `ListingPhoto` OK
|
|
2779
2788
|
*/
|
|
2780
|
-
addListingPhoto: (listingId, data, params = {}) => this.request(Object.assign({ path: `/api/listings/${listingId}/photos`, method: "POST", body: data, secure: true, type:
|
|
2789
|
+
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)),
|
|
2781
2790
|
/**
|
|
2782
2791
|
* No description
|
|
2783
2792
|
*
|
|
@@ -2788,7 +2797,7 @@ export class Api extends HttpClient {
|
|
|
2788
2797
|
* @secure
|
|
2789
2798
|
* @response `200` `(ListingPhoto)[]` OK
|
|
2790
2799
|
*/
|
|
2791
|
-
updateListingPhotos: (listingId, data, params = {}) => this.request(Object.assign({ path: `/api/listings/${listingId}/photos`, method: "PATCH", body: data, secure: true, type:
|
|
2800
|
+
updateListingPhotos: (listingId, data, params = {}) => this.request(Object.assign({ path: `/api/listings/${listingId}/photos`, method: "PATCH", body: data, secure: true, type: ContentType.Json, format: "json" }, params)),
|
|
2792
2801
|
/**
|
|
2793
2802
|
* No description
|
|
2794
2803
|
*
|
|
@@ -2821,7 +2830,7 @@ export class Api extends HttpClient {
|
|
|
2821
2830
|
* @secure
|
|
2822
2831
|
* @response `201` `Listing` Created
|
|
2823
2832
|
*/
|
|
2824
|
-
createListing: (data, params = {}) => this.request(Object.assign({ path: `/api/listings`, method: "POST", body: data, secure: true, type:
|
|
2833
|
+
createListing: (data, params = {}) => this.request(Object.assign({ path: `/api/listings`, method: "POST", body: data, secure: true, type: ContentType.Json, format: "json" }, params)),
|
|
2825
2834
|
/**
|
|
2826
2835
|
* No description
|
|
2827
2836
|
*
|
|
@@ -2854,7 +2863,7 @@ export class Api extends HttpClient {
|
|
|
2854
2863
|
* @secure
|
|
2855
2864
|
* @response `200` `Listing` OK
|
|
2856
2865
|
*/
|
|
2857
|
-
replaceListing: (id, data, params = {}) => this.request(Object.assign({ path: `/api/listings/${id}`, method: "PUT", body: data, secure: true, type:
|
|
2866
|
+
replaceListing: (id, data, params = {}) => this.request(Object.assign({ path: `/api/listings/${id}`, method: "PUT", body: data, secure: true, type: ContentType.Json, format: "json" }, params)),
|
|
2858
2867
|
/**
|
|
2859
2868
|
* No description
|
|
2860
2869
|
*
|
|
@@ -2876,7 +2885,7 @@ export class Api extends HttpClient {
|
|
|
2876
2885
|
* @secure
|
|
2877
2886
|
* @response `200` `ListingPaginated` OK
|
|
2878
2887
|
*/
|
|
2879
|
-
searchListings: (data, query, params = {}) => this.request(Object.assign({ path: `/api/listings/search`, method: "POST", query: query, body: data, secure: true, type:
|
|
2888
|
+
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)),
|
|
2880
2889
|
/**
|
|
2881
2890
|
* No description
|
|
2882
2891
|
*
|
|
@@ -2887,7 +2896,7 @@ export class Api extends HttpClient {
|
|
|
2887
2896
|
* @secure
|
|
2888
2897
|
* @response `200` `File` OK
|
|
2889
2898
|
*/
|
|
2890
|
-
updateListingBackgroundImage: (id, data, params = {}) => this.request(Object.assign({ path: `/api/listings/${id}/background-image`, method: "PUT", body: data, secure: true, type:
|
|
2899
|
+
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)),
|
|
2891
2900
|
/**
|
|
2892
2901
|
* No description
|
|
2893
2902
|
*
|
|
@@ -2933,7 +2942,7 @@ export class Api extends HttpClient {
|
|
|
2933
2942
|
* @response `422` `UnprocessableEntity` Unprocessable Content
|
|
2934
2943
|
* @response `423` `UnprocessableEntity` Locked
|
|
2935
2944
|
*/
|
|
2936
|
-
runLoanCalculator: (loanId, data, params = {}) => this.request(Object.assign({ path: `/api/loans/${loanId}/calculators/loan-calculator`, method: "POST", body: data, secure: true, type:
|
|
2945
|
+
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)),
|
|
2937
2946
|
/**
|
|
2938
2947
|
* No description
|
|
2939
2948
|
*
|
|
@@ -2957,7 +2966,7 @@ export class Api extends HttpClient {
|
|
|
2957
2966
|
* @response `422` `UnprocessableEntity` Unprocessable Content
|
|
2958
2967
|
* @response `423` `UnprocessableEntity` Locked
|
|
2959
2968
|
*/
|
|
2960
|
-
createLoanComparison: (loanId, index, data, params = {}) => this.request(Object.assign({ path: `/api/loans/${loanId}/loan-comparison/${index}`, method: "POST", body: data, secure: true, type:
|
|
2969
|
+
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)),
|
|
2961
2970
|
/**
|
|
2962
2971
|
* No description
|
|
2963
2972
|
*
|
|
@@ -2980,7 +2989,7 @@ export class Api extends HttpClient {
|
|
|
2980
2989
|
* @response `204` `void` No Content
|
|
2981
2990
|
* @response `422` `UnprocessableEntity` Unprocessable Content
|
|
2982
2991
|
*/
|
|
2983
|
-
createLoanComparisonPdf: (loanId, data, params = {}) => this.request(Object.assign({ path: `/api/loans/${loanId}/loan-comparison/pdf`, method: "POST", body: data, secure: true, type:
|
|
2992
|
+
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)),
|
|
2984
2993
|
/**
|
|
2985
2994
|
* No description
|
|
2986
2995
|
*
|
|
@@ -3017,7 +3026,7 @@ export class Api extends HttpClient {
|
|
|
3017
3026
|
* @response `400` `ProblemDetails` Bad Request
|
|
3018
3027
|
* @response `422` `ProblemDetails` Unprocessable Content
|
|
3019
3028
|
*/
|
|
3020
|
-
bulkSetLoanCustomFieldValues: (loanId, data, params = {}) => this.request(Object.assign({ path: `/api/loans/${loanId}/custom-fields`, method: "PUT", body: data, secure: true, type:
|
|
3029
|
+
bulkSetLoanCustomFieldValues: (loanId, data, params = {}) => this.request(Object.assign({ path: `/api/loans/${loanId}/custom-fields`, method: "PUT", body: data, secure: true, type: ContentType.Json }, params)),
|
|
3021
3030
|
/**
|
|
3022
3031
|
* No description
|
|
3023
3032
|
*
|
|
@@ -3031,7 +3040,7 @@ export class Api extends HttpClient {
|
|
|
3031
3040
|
* @response `404` `ProblemDetails` Not Found
|
|
3032
3041
|
* @response `422` `ProblemDetails` Unprocessable Content
|
|
3033
3042
|
*/
|
|
3034
|
-
setLoanCustomFieldValue: (loanId, definitionId, data, params = {}) => this.request(Object.assign({ path: `/api/loans/${loanId}/custom-fields/${definitionId}`, method: "PUT", body: data, secure: true, type:
|
|
3043
|
+
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)),
|
|
3035
3044
|
/**
|
|
3036
3045
|
* No description
|
|
3037
3046
|
*
|
|
@@ -3066,7 +3075,7 @@ export class Api extends HttpClient {
|
|
|
3066
3075
|
* @secure
|
|
3067
3076
|
* @response `200` `LoanDocumentFolderPaginated` OK
|
|
3068
3077
|
*/
|
|
3069
|
-
searchLoanDocumentFolders: (data, query, params = {}) => this.request(Object.assign({ path: `/api/loan-document-folders/search`, method: "POST", query: query, body: data, secure: true, type:
|
|
3078
|
+
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)),
|
|
3070
3079
|
/**
|
|
3071
3080
|
* No description
|
|
3072
3081
|
*
|
|
@@ -3093,7 +3102,7 @@ export class Api extends HttpClient {
|
|
|
3093
3102
|
* @response `409` `ProblemDetails` Conflict
|
|
3094
3103
|
* @response `422` `ProblemDetails` Unprocessable Content
|
|
3095
3104
|
*/
|
|
3096
|
-
updateLoanDocumentFolder: (id, data, params = {}) => this.request(Object.assign({ path: `/api/loan-document-folders/${id}`, method: "PUT", body: data, secure: true, type:
|
|
3105
|
+
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)),
|
|
3097
3106
|
/**
|
|
3098
3107
|
* No description
|
|
3099
3108
|
*
|
|
@@ -3120,7 +3129,7 @@ export class Api extends HttpClient {
|
|
|
3120
3129
|
* @response `409` `ProblemDetails` Conflict
|
|
3121
3130
|
* @response `422` `ProblemDetails` Unprocessable Content
|
|
3122
3131
|
*/
|
|
3123
|
-
createLoanDocumentFolder: (data, params = {}) => this.request(Object.assign({ path: `/api/loan-document-folders`, method: "POST", body: data, secure: true, type:
|
|
3132
|
+
createLoanDocumentFolder: (data, params = {}) => this.request(Object.assign({ path: `/api/loan-document-folders`, method: "POST", body: data, secure: true, type: ContentType.Json, format: "json" }, params)),
|
|
3124
3133
|
/**
|
|
3125
3134
|
* No description
|
|
3126
3135
|
*
|
|
@@ -3180,7 +3189,7 @@ export class Api extends HttpClient {
|
|
|
3180
3189
|
* @secure
|
|
3181
3190
|
* @response `200` `(DocumentFolder)[]` OK
|
|
3182
3191
|
*/
|
|
3183
|
-
getLoanDocumentFolders: (loanId, data, query, params = {}) => this.request(Object.assign({ path: `/api/loans/${loanId}/documents/folders`, method: "POST", query: query, body: data, secure: true, type:
|
|
3192
|
+
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)),
|
|
3184
3193
|
/**
|
|
3185
3194
|
* No description
|
|
3186
3195
|
*
|
|
@@ -3204,7 +3213,7 @@ export class Api extends HttpClient {
|
|
|
3204
3213
|
* @response `200` `Record<string,string>` OK
|
|
3205
3214
|
* @response `400` `ProblemDetails` Bad Request
|
|
3206
3215
|
*/
|
|
3207
|
-
getLoanDocumentPreviews: (loanId, data, params = {}) => this.request(Object.assign({ path: `/api/loans/${loanId}/documents/previews`, method: "POST", body: data, secure: true, type:
|
|
3216
|
+
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)),
|
|
3208
3217
|
/**
|
|
3209
3218
|
* No description
|
|
3210
3219
|
*
|
|
@@ -3215,7 +3224,7 @@ export class Api extends HttpClient {
|
|
|
3215
3224
|
* @secure
|
|
3216
3225
|
* @response `200` `LoanDocumentSearchPaginated` OK
|
|
3217
3226
|
*/
|
|
3218
|
-
searchLoanDocuments: (loanId, data, query, params = {}) => this.request(Object.assign({ path: `/api/loans/${loanId}/documents/search`, method: "POST", query: query, body: data, secure: true, type:
|
|
3227
|
+
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)),
|
|
3219
3228
|
/**
|
|
3220
3229
|
* No description
|
|
3221
3230
|
*
|
|
@@ -3224,7 +3233,7 @@ export class Api extends HttpClient {
|
|
|
3224
3233
|
* @summary Download By ID
|
|
3225
3234
|
* @request GET:/api/loans/{loanId}/documents/{documentId}/download
|
|
3226
3235
|
* @secure
|
|
3227
|
-
* @response `200` `
|
|
3236
|
+
* @response `200` `string` OK
|
|
3228
3237
|
* @response `404` `ProblemDetails` Not Found
|
|
3229
3238
|
*/
|
|
3230
3239
|
downloadLoanDocument: (loanId, documentId, params = {}) => this.request(Object.assign({ path: `/api/loans/${loanId}/documents/${documentId}/download`, method: "GET", secure: true, format: "json" }, params)),
|
|
@@ -3240,7 +3249,7 @@ export class Api extends HttpClient {
|
|
|
3240
3249
|
* @response `404` `ProblemDetails` Not Found
|
|
3241
3250
|
* @response `422` `UnprocessableEntity` Unprocessable Content
|
|
3242
3251
|
*/
|
|
3243
|
-
createLoanDocument: (loanId, data, params = {}) => this.request(Object.assign({ path: `/api/loans/${loanId}/documents`, method: "POST", body: data, secure: true, type:
|
|
3252
|
+
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)),
|
|
3244
3253
|
/**
|
|
3245
3254
|
* No description
|
|
3246
3255
|
*
|
|
@@ -3264,7 +3273,7 @@ export class Api extends HttpClient {
|
|
|
3264
3273
|
* @secure
|
|
3265
3274
|
* @response `200` `DocumentDataRequest` OK
|
|
3266
3275
|
*/
|
|
3267
|
-
generateLoanDocument: (loanId, data, params = {}) => this.request(Object.assign({ path: `/api/loans/${loanId}/documents/generate`, method: "POST", body: data, secure: true, type:
|
|
3276
|
+
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)),
|
|
3268
3277
|
/**
|
|
3269
3278
|
* No description
|
|
3270
3279
|
*
|
|
@@ -3277,7 +3286,7 @@ export class Api extends HttpClient {
|
|
|
3277
3286
|
* @response `400` `ProblemDetails` Bad Request
|
|
3278
3287
|
* @response `404` `ProblemDetails` Not Found
|
|
3279
3288
|
*/
|
|
3280
|
-
sendLoanDocuments: (loanId, data, params = {}) => this.request(Object.assign({ path: `/api/loans/${loanId}/documents/distribute`, method: "POST", body: data, secure: true, type:
|
|
3289
|
+
sendLoanDocuments: (loanId, data, params = {}) => this.request(Object.assign({ path: `/api/loans/${loanId}/documents/distribute`, method: "POST", body: data, secure: true, type: ContentType.Json }, params)),
|
|
3281
3290
|
/**
|
|
3282
3291
|
* @description Fetches all documents from Encompass that don't exist locally and stores them in S3
|
|
3283
3292
|
*
|
|
@@ -3302,7 +3311,7 @@ export class Api extends HttpClient {
|
|
|
3302
3311
|
* @response `404` `ProblemDetails` Not Found
|
|
3303
3312
|
* @response `422` `UnprocessableEntity` Unprocessable Content
|
|
3304
3313
|
*/
|
|
3305
|
-
classifyLoanDocumentManually: (loanId, documentId, data, params = {}) => this.request(Object.assign({ path: `/api/loans/${loanId}/documents/${documentId}/classify-manual`, method: "POST", body: data, secure: true, type:
|
|
3314
|
+
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)),
|
|
3306
3315
|
/**
|
|
3307
3316
|
* @description Re-attempts to push a failed document to LOS
|
|
3308
3317
|
*
|
|
@@ -3326,7 +3335,7 @@ export class Api extends HttpClient {
|
|
|
3326
3335
|
* @secure
|
|
3327
3336
|
* @response `201` `Draft` Created
|
|
3328
3337
|
*/
|
|
3329
|
-
createLoanDraft: (data, params = {}) => this.request(Object.assign({ path: `/api/loans/drafts`, method: "POST", body: data, secure: true, type:
|
|
3338
|
+
createLoanDraft: (data, params = {}) => this.request(Object.assign({ path: `/api/loans/drafts`, method: "POST", body: data, secure: true, type: ContentType.Json, format: "json" }, params)),
|
|
3330
3339
|
/**
|
|
3331
3340
|
* No description
|
|
3332
3341
|
*
|
|
@@ -3359,7 +3368,7 @@ export class Api extends HttpClient {
|
|
|
3359
3368
|
* @secure
|
|
3360
3369
|
* @response `200` `Draft` OK
|
|
3361
3370
|
*/
|
|
3362
|
-
replaceLoanDraft: (draftId, data, params = {}) => this.request(Object.assign({ path: `/api/loans/drafts/${draftId}`, method: "PUT", body: data, secure: true, type:
|
|
3371
|
+
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)),
|
|
3363
3372
|
/**
|
|
3364
3373
|
* No description
|
|
3365
3374
|
*
|
|
@@ -3381,7 +3390,7 @@ export class Api extends HttpClient {
|
|
|
3381
3390
|
* @secure
|
|
3382
3391
|
* @response `201` `DraftContentPaginated` Created
|
|
3383
3392
|
*/
|
|
3384
|
-
searchLoanDrafts: (data, query, params = {}) => this.request(Object.assign({ path: `/api/loans/drafts/search`, method: "POST", query: query, body: data, secure: true, type:
|
|
3393
|
+
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)),
|
|
3385
3394
|
/**
|
|
3386
3395
|
* No description
|
|
3387
3396
|
*
|
|
@@ -3392,7 +3401,7 @@ export class Api extends HttpClient {
|
|
|
3392
3401
|
* @secure
|
|
3393
3402
|
* @response `200` `Draft` OK
|
|
3394
3403
|
*/
|
|
3395
|
-
reassignLoanOfficer: (draftId, data, params = {}) => this.request(Object.assign({ path: `/api/loans/drafts/${draftId}/reassign`, method: "PUT", body: data, secure: true, type:
|
|
3404
|
+
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)),
|
|
3396
3405
|
/**
|
|
3397
3406
|
* No description
|
|
3398
3407
|
*
|
|
@@ -3425,7 +3434,7 @@ export class Api extends HttpClient {
|
|
|
3425
3434
|
* @secure
|
|
3426
3435
|
* @response `201` `LoanImport` Created
|
|
3427
3436
|
*/
|
|
3428
|
-
createLoanImport: (data, params = {}) => this.request(Object.assign({ path: `/api/loan-imports`, method: "POST", body: data, secure: true, type:
|
|
3437
|
+
createLoanImport: (data, params = {}) => this.request(Object.assign({ path: `/api/loan-imports`, method: "POST", body: data, secure: true, type: ContentType.Json, format: "json" }, params)),
|
|
3429
3438
|
/**
|
|
3430
3439
|
* No description
|
|
3431
3440
|
*
|
|
@@ -3471,7 +3480,7 @@ export class Api extends HttpClient {
|
|
|
3471
3480
|
* @response `200` `(Invite)[]` OK
|
|
3472
3481
|
* @response `404` `ProblemDetails` Not Found
|
|
3473
3482
|
*/
|
|
3474
|
-
inviteLoanContacts: (loanId, data, params = {}) => this.request(Object.assign({ path: `/api/loans/${loanId}/invites`, method: "POST", body: data, secure: true, type:
|
|
3483
|
+
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)),
|
|
3475
3484
|
/**
|
|
3476
3485
|
* No description
|
|
3477
3486
|
*
|
|
@@ -3494,7 +3503,7 @@ export class Api extends HttpClient {
|
|
|
3494
3503
|
* @secure
|
|
3495
3504
|
* @response `200` `LoanLogPaginated` OK
|
|
3496
3505
|
*/
|
|
3497
|
-
searchLoanLogs: (loanId, data, query, params = {}) => this.request(Object.assign({ path: `/api/loans/${loanId}/logs/search`, method: "POST", query: query, body: data, secure: true, type:
|
|
3506
|
+
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)),
|
|
3498
3507
|
/**
|
|
3499
3508
|
* No description
|
|
3500
3509
|
*
|
|
@@ -3519,7 +3528,7 @@ export class Api extends HttpClient {
|
|
|
3519
3528
|
* @response `400` `ProblemDetails` Bad Request
|
|
3520
3529
|
* @response `404` `ProblemDetails` Not Found
|
|
3521
3530
|
*/
|
|
3522
|
-
sendLoanOptInReminder: (loanId, data, params = {}) => this.request(Object.assign({ path: `/api/loans/${loanId}/notifications/opt-in-reminders`, method: "POST", body: data, secure: true, type:
|
|
3531
|
+
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)),
|
|
3523
3532
|
/**
|
|
3524
3533
|
* No description
|
|
3525
3534
|
*
|
|
@@ -3532,7 +3541,7 @@ export class Api extends HttpClient {
|
|
|
3532
3541
|
* @response `400` `ProblemDetails` Bad Request
|
|
3533
3542
|
* @response `404` `ProblemDetails` Not Found
|
|
3534
3543
|
*/
|
|
3535
|
-
sendESignatureReminder: (loanId, data, params = {}) => this.request(Object.assign({ path: `/api/loans/${loanId}/notifications/esignature-reminders`, method: "POST", body: data, secure: true, type:
|
|
3544
|
+
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)),
|
|
3536
3545
|
/**
|
|
3537
3546
|
* No description
|
|
3538
3547
|
*
|
|
@@ -3554,7 +3563,7 @@ export class Api extends HttpClient {
|
|
|
3554
3563
|
* @secure
|
|
3555
3564
|
* @response `200` `BranchUserPaginated` OK
|
|
3556
3565
|
*/
|
|
3557
|
-
searchLoanOfficers: (data, query, params = {}) => this.request(Object.assign({ path: `/api/loan-officers/search`, method: "POST", query: query, body: data, secure: true, type:
|
|
3566
|
+
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)),
|
|
3558
3567
|
/**
|
|
3559
3568
|
* No description
|
|
3560
3569
|
*
|
|
@@ -3577,7 +3586,7 @@ export class Api extends HttpClient {
|
|
|
3577
3586
|
* @response `200` `SiteConfiguration` OK
|
|
3578
3587
|
* @response `422` `UnprocessableEntity` Unprocessable Content
|
|
3579
3588
|
*/
|
|
3580
|
-
createLoanOfficerSiteConfiguration: (loanOfficerId, data, params = {}) => this.request(Object.assign({ path: `/api/loan-officers/${loanOfficerId}/site-configurations`, method: "POST", body: data, secure: true, type:
|
|
3589
|
+
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)),
|
|
3581
3590
|
/**
|
|
3582
3591
|
* No description
|
|
3583
3592
|
*
|
|
@@ -3600,7 +3609,7 @@ export class Api extends HttpClient {
|
|
|
3600
3609
|
* @response `200` `SiteConfiguration` OK
|
|
3601
3610
|
* @response `422` `UnprocessableEntity` Unprocessable Content
|
|
3602
3611
|
*/
|
|
3603
|
-
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:
|
|
3612
|
+
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)),
|
|
3604
3613
|
/**
|
|
3605
3614
|
* No description
|
|
3606
3615
|
*
|
|
@@ -3611,7 +3620,7 @@ export class Api extends HttpClient {
|
|
|
3611
3620
|
* @secure
|
|
3612
3621
|
* @response `200` `LoanQueuePaginated` OK
|
|
3613
3622
|
*/
|
|
3614
|
-
searchLoanQueue: (data, query, params = {}) => this.request(Object.assign({ path: `/api/loans/queue/search`, method: "POST", query: query, body: data, secure: true, type:
|
|
3623
|
+
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)),
|
|
3615
3624
|
/**
|
|
3616
3625
|
* No description
|
|
3617
3626
|
*
|
|
@@ -3635,7 +3644,7 @@ export class Api extends HttpClient {
|
|
|
3635
3644
|
* @response `200` `LoanQueueWithData` OK
|
|
3636
3645
|
* @response `404` `ProblemDetails` Not Found
|
|
3637
3646
|
*/
|
|
3638
|
-
replaceLoanQueue: (loanQueueId, data, params = {}) => this.request(Object.assign({ path: `/api/loans/queue/${loanQueueId}`, method: "PUT", body: data, secure: true, type:
|
|
3647
|
+
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)),
|
|
3639
3648
|
/**
|
|
3640
3649
|
* No description
|
|
3641
3650
|
*
|
|
@@ -3696,7 +3705,7 @@ export class Api extends HttpClient {
|
|
|
3696
3705
|
* @response `401` `ProblemDetails` Unauthorized
|
|
3697
3706
|
* @response `403` `ProblemDetails` Forbidden
|
|
3698
3707
|
*/
|
|
3699
|
-
createLoanv3: (data, params = {}) => this.request(Object.assign({ path: `/api/loans`, method: "POST", body: data, secure: true, type:
|
|
3708
|
+
createLoanv3: (data, params = {}) => this.request(Object.assign({ path: `/api/loans`, method: "POST", body: data, secure: true, type: ContentType.Json, format: "json" }, params)),
|
|
3700
3709
|
/**
|
|
3701
3710
|
* No description
|
|
3702
3711
|
*
|
|
@@ -3707,7 +3716,7 @@ export class Api extends HttpClient {
|
|
|
3707
3716
|
* @secure
|
|
3708
3717
|
* @response `200` `LoanListPaginated` OK
|
|
3709
3718
|
*/
|
|
3710
|
-
searchLoans: (data, query, params = {}) => this.request(Object.assign({ path: `/api/loans/search`, method: "POST", query: query, body: data, secure: true, type:
|
|
3719
|
+
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)),
|
|
3711
3720
|
/**
|
|
3712
3721
|
* No description
|
|
3713
3722
|
*
|
|
@@ -3723,7 +3732,7 @@ export class Api extends HttpClient {
|
|
|
3723
3732
|
* @response `404` `ProblemDetails` Not Found
|
|
3724
3733
|
* @response `409` `any` Conflict
|
|
3725
3734
|
*/
|
|
3726
|
-
updateLoan: (loanId, data, params = {}) => this.request(Object.assign({ path: `/api/loans/${loanId}`, method: "PATCH", body: data, secure: true, type:
|
|
3735
|
+
updateLoan: (loanId, data, params = {}) => this.request(Object.assign({ path: `/api/loans/${loanId}`, method: "PATCH", body: data, secure: true, type: ContentType.Json, format: "json" }, params)),
|
|
3727
3736
|
/**
|
|
3728
3737
|
* No description
|
|
3729
3738
|
*
|
|
@@ -3785,7 +3794,7 @@ export class Api extends HttpClient {
|
|
|
3785
3794
|
* @response `400` `ProblemDetails` Bad Request
|
|
3786
3795
|
* @response `404` `ProblemDetails` Not Found
|
|
3787
3796
|
*/
|
|
3788
|
-
triggerAso: (loanId, data, params = {}) => this.request(Object.assign({ path: `/api/loans/${loanId}/aso`, method: "POST", body: data, secure: true, type:
|
|
3797
|
+
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)),
|
|
3789
3798
|
/**
|
|
3790
3799
|
* No description
|
|
3791
3800
|
*
|
|
@@ -3797,7 +3806,7 @@ export class Api extends HttpClient {
|
|
|
3797
3806
|
* @response `200` `TaskCommentPaginated` OK
|
|
3798
3807
|
* @response `404` `ProblemDetails` Not Found
|
|
3799
3808
|
*/
|
|
3800
|
-
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:
|
|
3809
|
+
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)),
|
|
3801
3810
|
/**
|
|
3802
3811
|
* No description
|
|
3803
3812
|
*
|
|
@@ -3821,7 +3830,7 @@ export class Api extends HttpClient {
|
|
|
3821
3830
|
* @response `201` `TaskComment` Created
|
|
3822
3831
|
* @response `404` `ProblemDetails` Not Found
|
|
3823
3832
|
*/
|
|
3824
|
-
createLoanTaskComment: (loanId, userLoanTaskId, data, params = {}) => this.request(Object.assign({ path: `/api/loans/${loanId}/tasks/${userLoanTaskId}/comments`, method: "POST", body: data, secure: true, type:
|
|
3833
|
+
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)),
|
|
3825
3834
|
/**
|
|
3826
3835
|
* No description
|
|
3827
3836
|
*
|
|
@@ -3833,7 +3842,7 @@ export class Api extends HttpClient {
|
|
|
3833
3842
|
* @response `200` `TaskComment` OK
|
|
3834
3843
|
* @response `404` `ProblemDetails` Not Found
|
|
3835
3844
|
*/
|
|
3836
|
-
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:
|
|
3845
|
+
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)),
|
|
3837
3846
|
/**
|
|
3838
3847
|
* No description
|
|
3839
3848
|
*
|
|
@@ -3858,7 +3867,7 @@ export class Api extends HttpClient {
|
|
|
3858
3867
|
* @response `404` `ProblemDetails` Not Found
|
|
3859
3868
|
* @response `422` `UnprocessableEntity` Unprocessable Content
|
|
3860
3869
|
*/
|
|
3861
|
-
createLoanTaskDocument: (loanId, loanTaskId, data, params = {}) => this.request(Object.assign({ path: `/api/loans/${loanId}/tasks/${loanTaskId}/documents`, method: "POST", body: data, secure: true, type:
|
|
3870
|
+
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)),
|
|
3862
3871
|
/**
|
|
3863
3872
|
* No description
|
|
3864
3873
|
*
|
|
@@ -3872,7 +3881,7 @@ export class Api extends HttpClient {
|
|
|
3872
3881
|
* @response `404` `ProblemDetails` Not Found
|
|
3873
3882
|
* @response `422` `ProblemDetails` Unprocessable Content
|
|
3874
3883
|
*/
|
|
3875
|
-
sendOutstandingLoanTaskNotification: (loanId, data, params = {}) => this.request(Object.assign({ path: `/api/loans/${loanId}/tasks/reminders/outstanding`, method: "POST", body: data, secure: true, type:
|
|
3884
|
+
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)),
|
|
3876
3885
|
/**
|
|
3877
3886
|
* No description
|
|
3878
3887
|
*
|
|
@@ -3885,7 +3894,7 @@ export class Api extends HttpClient {
|
|
|
3885
3894
|
* @response `400` `ProblemDetails` Bad Request
|
|
3886
3895
|
* @response `404` `ProblemDetails` Not Found
|
|
3887
3896
|
*/
|
|
3888
|
-
sendLoanTaskReminder: (loanId, data, params = {}) => this.request(Object.assign({ path: `/api/loans/${loanId}/tasks/reminders`, method: "POST", body: data, secure: true, type:
|
|
3897
|
+
sendLoanTaskReminder: (loanId, data, params = {}) => this.request(Object.assign({ path: `/api/loans/${loanId}/tasks/reminders`, method: "POST", body: data, secure: true, type: ContentType.Json }, params)),
|
|
3889
3898
|
/**
|
|
3890
3899
|
* @description Search tasks across all loans
|
|
3891
3900
|
*
|
|
@@ -3896,7 +3905,7 @@ export class Api extends HttpClient {
|
|
|
3896
3905
|
* @secure
|
|
3897
3906
|
* @response `200` `UserLoanTaskPaginated` OK
|
|
3898
3907
|
*/
|
|
3899
|
-
searchLoanTasks: (data, query, params = {}) => this.request(Object.assign({ path: `/api/loans/tasks/search`, method: "POST", query: query, body: data, secure: true, type:
|
|
3908
|
+
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)),
|
|
3900
3909
|
/**
|
|
3901
3910
|
* @description Returns task counts grouped by status for loans accessible to the current user based on their role
|
|
3902
3911
|
*
|
|
@@ -3908,7 +3917,7 @@ export class Api extends HttpClient {
|
|
|
3908
3917
|
* @response `200` `(LoanTaskStatusSummary)[]` OK
|
|
3909
3918
|
* @response `422` `UnprocessableEntity` Unprocessable Content
|
|
3910
3919
|
*/
|
|
3911
|
-
searchLoanTasksSummary: (data, params = {}) => this.request(Object.assign({ path: `/api/loans/tasks/search/summary`, method: "POST", body: data, secure: true, type:
|
|
3920
|
+
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)),
|
|
3912
3921
|
/**
|
|
3913
3922
|
* No description
|
|
3914
3923
|
*
|
|
@@ -3956,7 +3965,7 @@ export class Api extends HttpClient {
|
|
|
3956
3965
|
* @response `201` `UserLoanTask` Created
|
|
3957
3966
|
* @response `404` `ProblemDetails` Not Found
|
|
3958
3967
|
*/
|
|
3959
|
-
createLoanTask: (loanId, taskId, data, params = {}) => this.request(Object.assign({ path: `/api/loans/${loanId}/tasks/${taskId}`, method: "POST", body: data, secure: true, type:
|
|
3968
|
+
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)),
|
|
3960
3969
|
/**
|
|
3961
3970
|
* No description
|
|
3962
3971
|
*
|
|
@@ -3968,7 +3977,7 @@ export class Api extends HttpClient {
|
|
|
3968
3977
|
* @response `201` `(UserLoanTask)[]` Created
|
|
3969
3978
|
* @response `404` `ProblemDetails` Not Found
|
|
3970
3979
|
*/
|
|
3971
|
-
importLoanTask: (loanId, data, params = {}) => this.request(Object.assign({ path: `/api/loans/${loanId}/tasks/import`, method: "POST", body: data, secure: true, type:
|
|
3980
|
+
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)),
|
|
3972
3981
|
/**
|
|
3973
3982
|
* No description
|
|
3974
3983
|
*
|
|
@@ -3980,7 +3989,7 @@ export class Api extends HttpClient {
|
|
|
3980
3989
|
* @response `200` `UserLoanTask` OK
|
|
3981
3990
|
* @response `404` `ProblemDetails` Not Found
|
|
3982
3991
|
*/
|
|
3983
|
-
replaceLoanTask: (loanId, userLoanTaskId, data, params = {}) => this.request(Object.assign({ path: `/api/loans/${loanId}/tasks/${userLoanTaskId}`, method: "PUT", body: data, secure: true, type:
|
|
3992
|
+
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)),
|
|
3984
3993
|
/**
|
|
3985
3994
|
* No description
|
|
3986
3995
|
*
|
|
@@ -4039,7 +4048,7 @@ export class Api extends HttpClient {
|
|
|
4039
4048
|
* @secure
|
|
4040
4049
|
* @response `201` `LoanUser` Created
|
|
4041
4050
|
*/
|
|
4042
|
-
addLoanUser: (loanId, userId, data, params = {}) => this.request(Object.assign({ path: `/api/loans/${loanId}/users/${userId}`, method: "POST", body: data, secure: true, type:
|
|
4051
|
+
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)),
|
|
4043
4052
|
/**
|
|
4044
4053
|
* No description
|
|
4045
4054
|
*
|
|
@@ -4072,7 +4081,7 @@ export class Api extends HttpClient {
|
|
|
4072
4081
|
* @secure
|
|
4073
4082
|
* @response `200` `LosOperationTrackingPaginated` OK
|
|
4074
4083
|
*/
|
|
4075
|
-
searchLosOperationTracking: (data, query, params = {}) => this.request(Object.assign({ path: `/api/los-operation-tracking/search`, method: "POST", query: query, body: data, secure: true, type:
|
|
4084
|
+
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)),
|
|
4076
4085
|
/**
|
|
4077
4086
|
* No description
|
|
4078
4087
|
*
|
|
@@ -4085,7 +4094,7 @@ export class Api extends HttpClient {
|
|
|
4085
4094
|
* @response `401` `ProblemDetails` Unauthorized
|
|
4086
4095
|
* @response `403` `ProblemDetails` Forbidden
|
|
4087
4096
|
*/
|
|
4088
|
-
searchInboundSyncFailures: (data, query, params = {}) => this.request(Object.assign({ path: `/api/monitoring/inbound-sync-failures/search`, method: "POST", query: query, body: data, secure: true, type:
|
|
4097
|
+
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)),
|
|
4089
4098
|
/**
|
|
4090
4099
|
* No description
|
|
4091
4100
|
*
|
|
@@ -4098,7 +4107,7 @@ export class Api extends HttpClient {
|
|
|
4098
4107
|
* @response `401` `ProblemDetails` Unauthorized
|
|
4099
4108
|
* @response `403` `ProblemDetails` Forbidden
|
|
4100
4109
|
*/
|
|
4101
|
-
getInboundSyncFailuresSummary: (data, query, params = {}) => this.request(Object.assign({ path: `/api/monitoring/inbound-sync-failures/summary`, method: "POST", query: query, body: data, secure: true, type:
|
|
4110
|
+
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)),
|
|
4102
4111
|
/**
|
|
4103
4112
|
* No description
|
|
4104
4113
|
*
|
|
@@ -4135,7 +4144,7 @@ export class Api extends HttpClient {
|
|
|
4135
4144
|
* @response `201` `MilestoneConfiguration` Created
|
|
4136
4145
|
* @response `422` `UnprocessableEntity` Unprocessable Content
|
|
4137
4146
|
*/
|
|
4138
|
-
createMilestone: (data, params = {}) => this.request(Object.assign({ path: `/api/milestones`, method: "POST", body: data, secure: true, type:
|
|
4147
|
+
createMilestone: (data, params = {}) => this.request(Object.assign({ path: `/api/milestones`, method: "POST", body: data, secure: true, type: ContentType.Json, format: "json" }, params)),
|
|
4139
4148
|
/**
|
|
4140
4149
|
* No description
|
|
4141
4150
|
*
|
|
@@ -4160,7 +4169,7 @@ export class Api extends HttpClient {
|
|
|
4160
4169
|
* @response `404` `Error` Not Found
|
|
4161
4170
|
* @response `422` `UnprocessableEntity` Unprocessable Content
|
|
4162
4171
|
*/
|
|
4163
|
-
replaceMilestone: (id, data, params = {}) => this.request(Object.assign({ path: `/api/milestones/${id}`, method: "PUT", body: data, secure: true, type:
|
|
4172
|
+
replaceMilestone: (id, data, params = {}) => this.request(Object.assign({ path: `/api/milestones/${id}`, method: "PUT", body: data, secure: true, type: ContentType.Json, format: "json" }, params)),
|
|
4164
4173
|
/**
|
|
4165
4174
|
* No description
|
|
4166
4175
|
*
|
|
@@ -4186,7 +4195,7 @@ export class Api extends HttpClient {
|
|
|
4186
4195
|
* @response `404` `ProblemDetails` Not Found
|
|
4187
4196
|
* @response `422` `ProblemDetails` Unprocessable Content
|
|
4188
4197
|
*/
|
|
4189
|
-
seedMobileAppReview: (data, params = {}) => this.request(Object.assign({ path: `/api/mobile-app-review/seed`, method: "POST", body: data, secure: true, type:
|
|
4198
|
+
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)),
|
|
4190
4199
|
/**
|
|
4191
4200
|
* No description
|
|
4192
4201
|
*
|
|
@@ -4198,7 +4207,7 @@ export class Api extends HttpClient {
|
|
|
4198
4207
|
* @response `200` `MonthlyPaymentCalculator` OK
|
|
4199
4208
|
* @response `422` `ProblemDetails` Unprocessable Content
|
|
4200
4209
|
*/
|
|
4201
|
-
calculateMortgageMonthlyPayment: (data, params = {}) => this.request(Object.assign({ path: `/api/mortgage-calculators/monthly-payment`, method: "POST", body: data, secure: true, type:
|
|
4210
|
+
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)),
|
|
4202
4211
|
/**
|
|
4203
4212
|
* No description
|
|
4204
4213
|
*
|
|
@@ -4210,7 +4219,7 @@ export class Api extends HttpClient {
|
|
|
4210
4219
|
* @response `200` `AffordabilityCalculator` OK
|
|
4211
4220
|
* @response `422` `ProblemDetails` Unprocessable Content
|
|
4212
4221
|
*/
|
|
4213
|
-
calculateMortgageAffordability: (data, params = {}) => this.request(Object.assign({ path: `/api/mortgage-calculators/affordability`, method: "POST", body: data, secure: true, type:
|
|
4222
|
+
calculateMortgageAffordability: (data, params = {}) => this.request(Object.assign({ path: `/api/mortgage-calculators/affordability`, method: "POST", body: data, secure: true, type: ContentType.Json, format: "json" }, params)),
|
|
4214
4223
|
/**
|
|
4215
4224
|
* No description
|
|
4216
4225
|
*
|
|
@@ -4222,7 +4231,7 @@ export class Api extends HttpClient {
|
|
|
4222
4231
|
* @response `200` `LoanComparisonCalculator` OK
|
|
4223
4232
|
* @response `422` `ProblemDetails` Unprocessable Content
|
|
4224
4233
|
*/
|
|
4225
|
-
calculateMortgageLoanComparison: (data, params = {}) => this.request(Object.assign({ path: `/api/mortgage-calculators/loan-comparison`, method: "POST", body: data, secure: true, type:
|
|
4234
|
+
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)),
|
|
4226
4235
|
/**
|
|
4227
4236
|
* No description
|
|
4228
4237
|
*
|
|
@@ -4234,7 +4243,7 @@ export class Api extends HttpClient {
|
|
|
4234
4243
|
* @response `200` `RefinanceCalculator` OK
|
|
4235
4244
|
* @response `422` `ProblemDetails` Unprocessable Content
|
|
4236
4245
|
*/
|
|
4237
|
-
calculateMortgageRefinance: (data, params = {}) => this.request(Object.assign({ path: `/api/mortgage-calculators/refinance`, method: "POST", body: data, secure: true, type:
|
|
4246
|
+
calculateMortgageRefinance: (data, params = {}) => this.request(Object.assign({ path: `/api/mortgage-calculators/refinance`, method: "POST", body: data, secure: true, type: ContentType.Json, format: "json" }, params)),
|
|
4238
4247
|
/**
|
|
4239
4248
|
* No description
|
|
4240
4249
|
*
|
|
@@ -4257,7 +4266,7 @@ export class Api extends HttpClient {
|
|
|
4257
4266
|
* @response `201` `NotificationTemplate` Created
|
|
4258
4267
|
* @response `422` `UnprocessableEntity` Unprocessable Content
|
|
4259
4268
|
*/
|
|
4260
|
-
createNotificationTemplate: (data, params = {}) => this.request(Object.assign({ path: `/api/notification-templates`, method: "POST", body: data, secure: true, type:
|
|
4269
|
+
createNotificationTemplate: (data, params = {}) => this.request(Object.assign({ path: `/api/notification-templates`, method: "POST", body: data, secure: true, type: ContentType.Json, format: "json" }, params)),
|
|
4261
4270
|
/**
|
|
4262
4271
|
* No description
|
|
4263
4272
|
*
|
|
@@ -4268,7 +4277,7 @@ export class Api extends HttpClient {
|
|
|
4268
4277
|
* @secure
|
|
4269
4278
|
* @response `200` `NotificationTemplateBasePaginated` OK
|
|
4270
4279
|
*/
|
|
4271
|
-
searchNotificationTemplates: (data, query, params = {}) => this.request(Object.assign({ path: `/api/notification-templates/search`, method: "POST", query: query, body: data, secure: true, type:
|
|
4280
|
+
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)),
|
|
4272
4281
|
/**
|
|
4273
4282
|
* No description
|
|
4274
4283
|
*
|
|
@@ -4291,7 +4300,7 @@ export class Api extends HttpClient {
|
|
|
4291
4300
|
* @response `200` `NotificationTemplate` OK
|
|
4292
4301
|
* @response `422` `UnprocessableEntity` Unprocessable Content
|
|
4293
4302
|
*/
|
|
4294
|
-
replaceNotificationTemplate: (id, data, params = {}) => this.request(Object.assign({ path: `/api/notification-templates/${id}`, method: "PUT", body: data, secure: true, type:
|
|
4303
|
+
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)),
|
|
4295
4304
|
/**
|
|
4296
4305
|
* No description
|
|
4297
4306
|
*
|
|
@@ -4335,7 +4344,7 @@ export class Api extends HttpClient {
|
|
|
4335
4344
|
* @secure
|
|
4336
4345
|
* @response `200` `NotificationTemplateVersion` OK
|
|
4337
4346
|
*/
|
|
4338
|
-
createNotificationTemplateVersion: (notificationId, data, params = {}) => this.request(Object.assign({ path: `/api/notification-templates/${notificationId}/versions`, method: "POST", body: data, secure: true, type:
|
|
4347
|
+
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)),
|
|
4339
4348
|
/**
|
|
4340
4349
|
* No description
|
|
4341
4350
|
*
|
|
@@ -4357,7 +4366,7 @@ export class Api extends HttpClient {
|
|
|
4357
4366
|
* @secure
|
|
4358
4367
|
* @response `200` `NotificationTemplateVersion` OK
|
|
4359
4368
|
*/
|
|
4360
|
-
replaceNotificationTemplateVersion: (notificationId, id, data, params = {}) => this.request(Object.assign({ path: `/api/notification-templates/${notificationId}/versions/${id}`, method: "PUT", body: data, secure: true, type:
|
|
4369
|
+
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)),
|
|
4361
4370
|
/**
|
|
4362
4371
|
* No description
|
|
4363
4372
|
*
|
|
@@ -4390,7 +4399,7 @@ export class Api extends HttpClient {
|
|
|
4390
4399
|
* @secure
|
|
4391
4400
|
* @response `200` `BranchUserPaginated` OK
|
|
4392
4401
|
*/
|
|
4393
|
-
searchPartners: (data, query, params = {}) => this.request(Object.assign({ path: `/api/partners/search`, method: "POST", query: query, body: data, secure: true, type:
|
|
4402
|
+
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)),
|
|
4394
4403
|
/**
|
|
4395
4404
|
* No description
|
|
4396
4405
|
*
|
|
@@ -4413,7 +4422,7 @@ export class Api extends HttpClient {
|
|
|
4413
4422
|
* @response `200` `SiteConfiguration` OK
|
|
4414
4423
|
* @response `422` `UnprocessableEntity` Unprocessable Content
|
|
4415
4424
|
*/
|
|
4416
|
-
createPartnerSiteConfiguration: (realtorId, data, params = {}) => this.request(Object.assign({ path: `/api/partners/${realtorId}/site-configurations`, method: "POST", body: data, secure: true, type:
|
|
4425
|
+
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)),
|
|
4417
4426
|
/**
|
|
4418
4427
|
* No description
|
|
4419
4428
|
*
|
|
@@ -4436,7 +4445,7 @@ export class Api extends HttpClient {
|
|
|
4436
4445
|
* @response `200` `SiteConfiguration` OK
|
|
4437
4446
|
* @response `422` `UnprocessableEntity` Unprocessable Content
|
|
4438
4447
|
*/
|
|
4439
|
-
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:
|
|
4448
|
+
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)),
|
|
4440
4449
|
/**
|
|
4441
4450
|
* No description
|
|
4442
4451
|
*
|
|
@@ -4460,7 +4469,7 @@ export class Api extends HttpClient {
|
|
|
4460
4469
|
* @response `200` `SiteConfigurationByUrl` OK
|
|
4461
4470
|
* @response `422` `UnprocessableEntity` Unprocessable Content
|
|
4462
4471
|
*/
|
|
4463
|
-
searchSiteConfigurationByUrl: (data, params = {}) => this.request(Object.assign({ path: `/api/site-configurations/url`, method: "POST", body: data, secure: true, type:
|
|
4472
|
+
searchSiteConfigurationByUrl: (data, params = {}) => this.request(Object.assign({ path: `/api/site-configurations/url`, method: "POST", body: data, secure: true, type: ContentType.Json, format: "json" }, params)),
|
|
4464
4473
|
/**
|
|
4465
4474
|
* No description
|
|
4466
4475
|
*
|
|
@@ -4485,7 +4494,7 @@ export class Api extends HttpClient {
|
|
|
4485
4494
|
* @response `200` `SiteConfiguration` OK
|
|
4486
4495
|
* @response `422` `UnprocessableEntity` Unprocessable Content
|
|
4487
4496
|
*/
|
|
4488
|
-
searchSiteConfigurationByLoanOfficerUser: (data, params = {}) => this.request(Object.assign({ path: `/api/site-configurations/louser`, method: "POST", body: data, secure: true, type:
|
|
4497
|
+
searchSiteConfigurationByLoanOfficerUser: (data, params = {}) => this.request(Object.assign({ path: `/api/site-configurations/louser`, method: "POST", body: data, secure: true, type: ContentType.Json, format: "json" }, params)),
|
|
4489
4498
|
/**
|
|
4490
4499
|
* No description
|
|
4491
4500
|
*
|
|
@@ -4509,7 +4518,7 @@ export class Api extends HttpClient {
|
|
|
4509
4518
|
* @response `200` `SiteConfigurationSummaryPaginated` OK
|
|
4510
4519
|
* @response `422` `UnprocessableEntity` Unprocessable Content
|
|
4511
4520
|
*/
|
|
4512
|
-
searchSiteConfigurations: (data, query, params = {}) => this.request(Object.assign({ path: `/api/site-configurations/search`, method: "POST", query: query, body: data, secure: true, type:
|
|
4521
|
+
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)),
|
|
4513
4522
|
/**
|
|
4514
4523
|
* No description
|
|
4515
4524
|
*
|
|
@@ -4601,7 +4610,7 @@ export class Api extends HttpClient {
|
|
|
4601
4610
|
* @secure
|
|
4602
4611
|
* @response `200` `GetForm` OK
|
|
4603
4612
|
*/
|
|
4604
|
-
getFormBySiteConfigurationSlug: (data, params = {}) => this.request(Object.assign({ path: `/api/site-forms`, method: "POST", body: data, secure: true, type:
|
|
4613
|
+
getFormBySiteConfigurationSlug: (data, params = {}) => this.request(Object.assign({ path: `/api/site-forms`, method: "POST", body: data, secure: true, type: ContentType.Json, format: "json" }, params)),
|
|
4605
4614
|
/**
|
|
4606
4615
|
* No description
|
|
4607
4616
|
*
|
|
@@ -4613,7 +4622,7 @@ export class Api extends HttpClient {
|
|
|
4613
4622
|
* @response `200` `SiteTilePaginated` OK
|
|
4614
4623
|
* @response `403` `ProblemDetails` Forbidden
|
|
4615
4624
|
*/
|
|
4616
|
-
searchSiteTiles: (data, query, params = {}) => this.request(Object.assign({ path: `/api/site-tiles/search`, method: "POST", query: query, body: data, secure: true, type:
|
|
4625
|
+
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)),
|
|
4617
4626
|
/**
|
|
4618
4627
|
* No description
|
|
4619
4628
|
*
|
|
@@ -4653,7 +4662,7 @@ export class Api extends HttpClient {
|
|
|
4653
4662
|
* @response `403` `ProblemDetails` Forbidden
|
|
4654
4663
|
* @response `404` `ProblemDetails` Not Found
|
|
4655
4664
|
*/
|
|
4656
|
-
updateSiteTile: (siteTileId, data, params = {}) => this.request(Object.assign({ path: `/api/site-tiles/${siteTileId}`, method: "PUT", body: data, secure: true, type:
|
|
4665
|
+
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)),
|
|
4657
4666
|
/**
|
|
4658
4667
|
* No description
|
|
4659
4668
|
*
|
|
@@ -4679,7 +4688,7 @@ export class Api extends HttpClient {
|
|
|
4679
4688
|
* @response `400` `ProblemDetails` Bad Request
|
|
4680
4689
|
* @response `403` `ProblemDetails` Forbidden
|
|
4681
4690
|
*/
|
|
4682
|
-
createSiteTile: (data, params = {}) => this.request(Object.assign({ path: `/api/site-tiles`, method: "POST", body: data, secure: true, type:
|
|
4691
|
+
createSiteTile: (data, params = {}) => this.request(Object.assign({ path: `/api/site-tiles`, method: "POST", body: data, secure: true, type: ContentType.Json, format: "json" }, params)),
|
|
4683
4692
|
/**
|
|
4684
4693
|
* No description
|
|
4685
4694
|
*
|
|
@@ -4702,7 +4711,7 @@ export class Api extends HttpClient {
|
|
|
4702
4711
|
* @response `200` `(SocialSurveyRecord)[]` OK
|
|
4703
4712
|
* @response `422` `UnprocessableEntity` Unprocessable Content
|
|
4704
4713
|
*/
|
|
4705
|
-
getSurveysByUser: (data, params = {}) => this.request(Object.assign({ path: `/api/surveys`, method: "POST", body: data, secure: true, type:
|
|
4714
|
+
getSurveysByUser: (data, params = {}) => this.request(Object.assign({ path: `/api/surveys`, method: "POST", body: data, secure: true, type: ContentType.Json, format: "json" }, params)),
|
|
4706
4715
|
/**
|
|
4707
4716
|
* No description
|
|
4708
4717
|
*
|
|
@@ -4725,7 +4734,7 @@ export class Api extends HttpClient {
|
|
|
4725
4734
|
* @secure
|
|
4726
4735
|
* @response `201` `Task` Created
|
|
4727
4736
|
*/
|
|
4728
|
-
createTask: (data, params = {}) => this.request(Object.assign({ path: `/api/tasks`, method: "POST", body: data, secure: true, type:
|
|
4737
|
+
createTask: (data, params = {}) => this.request(Object.assign({ path: `/api/tasks`, method: "POST", body: data, secure: true, type: ContentType.Json, format: "json" }, params)),
|
|
4729
4738
|
/**
|
|
4730
4739
|
* No description
|
|
4731
4740
|
*
|
|
@@ -4749,7 +4758,7 @@ export class Api extends HttpClient {
|
|
|
4749
4758
|
* @response `200` `Task` OK
|
|
4750
4759
|
* @response `404` `ProblemDetails` Not Found
|
|
4751
4760
|
*/
|
|
4752
|
-
replaceTask: (id, data, params = {}) => this.request(Object.assign({ path: `/api/tasks/${id}`, method: "PUT", body: data, secure: true, type:
|
|
4761
|
+
replaceTask: (id, data, params = {}) => this.request(Object.assign({ path: `/api/tasks/${id}`, method: "PUT", body: data, secure: true, type: ContentType.Json, format: "json" }, params)),
|
|
4753
4762
|
/**
|
|
4754
4763
|
* No description
|
|
4755
4764
|
*
|
|
@@ -4772,7 +4781,7 @@ export class Api extends HttpClient {
|
|
|
4772
4781
|
* @secure
|
|
4773
4782
|
* @response `200` `TaskPaginated` OK
|
|
4774
4783
|
*/
|
|
4775
|
-
searchTasks: (data, query, params = {}) => this.request(Object.assign({ path: `/api/tasks/search`, method: "POST", query: query, body: data, secure: true, type:
|
|
4784
|
+
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)),
|
|
4776
4785
|
/**
|
|
4777
4786
|
* No description
|
|
4778
4787
|
*
|
|
@@ -4782,7 +4791,7 @@ export class Api extends HttpClient {
|
|
|
4782
4791
|
* @secure
|
|
4783
4792
|
* @response `200` `void` OK
|
|
4784
4793
|
*/
|
|
4785
|
-
integrationsLosLoansCreate: (data, params = {}) => this.request(Object.assign({ path: `/api/integrations/los/loans`, method: "POST", body: data, secure: true, type:
|
|
4794
|
+
integrationsLosLoansCreate: (data, params = {}) => this.request(Object.assign({ path: `/api/integrations/los/loans`, method: "POST", body: data, secure: true, type: ContentType.Json }, params)),
|
|
4786
4795
|
/**
|
|
4787
4796
|
* No description
|
|
4788
4797
|
*
|
|
@@ -4793,7 +4802,7 @@ export class Api extends HttpClient {
|
|
|
4793
4802
|
* @secure
|
|
4794
4803
|
* @response `200` `EncompassRequestLogPaginated` OK
|
|
4795
4804
|
*/
|
|
4796
|
-
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:
|
|
4805
|
+
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)),
|
|
4797
4806
|
/**
|
|
4798
4807
|
* No description
|
|
4799
4808
|
*
|
|
@@ -4816,7 +4825,7 @@ export class Api extends HttpClient {
|
|
|
4816
4825
|
* @secure
|
|
4817
4826
|
* @response `201` `LosCredentials` Created
|
|
4818
4827
|
*/
|
|
4819
|
-
createEncompassCredentials: (data, params = {}) => this.request(Object.assign({ path: `/api/los/encompass/credentials`, method: "POST", body: data, secure: true, type:
|
|
4828
|
+
createEncompassCredentials: (data, params = {}) => this.request(Object.assign({ path: `/api/los/encompass/credentials`, method: "POST", body: data, secure: true, type: ContentType.Json, format: "json" }, params)),
|
|
4820
4829
|
/**
|
|
4821
4830
|
* No description
|
|
4822
4831
|
*
|
|
@@ -4827,7 +4836,7 @@ export class Api extends HttpClient {
|
|
|
4827
4836
|
* @secure
|
|
4828
4837
|
* @response `200` `EncompassCredentialsDetail` OK
|
|
4829
4838
|
*/
|
|
4830
|
-
updateEncompassCredentials: (data, params = {}) => this.request(Object.assign({ path: `/api/los/encompass/credentials`, method: "PUT", body: data, secure: true, type:
|
|
4839
|
+
updateEncompassCredentials: (data, params = {}) => this.request(Object.assign({ path: `/api/los/encompass/credentials`, method: "PUT", body: data, secure: true, type: ContentType.Json, format: "json" }, params)),
|
|
4831
4840
|
/**
|
|
4832
4841
|
* No description
|
|
4833
4842
|
*
|
|
@@ -4849,7 +4858,7 @@ export class Api extends HttpClient {
|
|
|
4849
4858
|
* @secure
|
|
4850
4859
|
* @response `201` `LosWebhook` Created
|
|
4851
4860
|
*/
|
|
4852
|
-
createEncompassWebhook: (data, params = {}) => this.request(Object.assign({ path: `/api/los/encompass/webhooks`, method: "POST", body: data, secure: true, type:
|
|
4861
|
+
createEncompassWebhook: (data, params = {}) => this.request(Object.assign({ path: `/api/los/encompass/webhooks`, method: "POST", body: data, secure: true, type: ContentType.Json, format: "json" }, params)),
|
|
4853
4862
|
/**
|
|
4854
4863
|
* No description
|
|
4855
4864
|
*
|
|
@@ -4871,7 +4880,7 @@ export class Api extends HttpClient {
|
|
|
4871
4880
|
* @secure
|
|
4872
4881
|
* @response `200` `LosSyncPaginated` OK
|
|
4873
4882
|
*/
|
|
4874
|
-
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:
|
|
4883
|
+
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)),
|
|
4875
4884
|
/**
|
|
4876
4885
|
* No description
|
|
4877
4886
|
*
|
|
@@ -4954,7 +4963,7 @@ export class Api extends HttpClient {
|
|
|
4954
4963
|
* @response `201` `UserDevice` Created
|
|
4955
4964
|
* @response `400` `ProblemDetails` Bad Request
|
|
4956
4965
|
*/
|
|
4957
|
-
createUserDevice: (data, params = {}) => this.request(Object.assign({ path: `/api/userdevices`, method: "POST", body: data, secure: true, type:
|
|
4966
|
+
createUserDevice: (data, params = {}) => this.request(Object.assign({ path: `/api/userdevices`, method: "POST", body: data, secure: true, type: ContentType.Json, format: "json" }, params)),
|
|
4958
4967
|
/**
|
|
4959
4968
|
* No description
|
|
4960
4969
|
*
|
|
@@ -5001,7 +5010,7 @@ export class Api extends HttpClient {
|
|
|
5001
5010
|
* @response `404` `ProblemDetails` Not Found
|
|
5002
5011
|
* @response `409` `ProblemDetails` Conflict
|
|
5003
5012
|
*/
|
|
5004
|
-
addDraftUsers: (draftId, userId, data, params = {}) => this.request(Object.assign({ path: `/api/loans/drafts/${draftId}/users/${userId}`, method: "POST", body: data, secure: true, type:
|
|
5013
|
+
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)),
|
|
5005
5014
|
/**
|
|
5006
5015
|
* No description
|
|
5007
5016
|
*
|
|
@@ -5034,7 +5043,7 @@ export class Api extends HttpClient {
|
|
|
5034
5043
|
* @secure
|
|
5035
5044
|
* @response `200` `UserGroupAccessScope` OK
|
|
5036
5045
|
*/
|
|
5037
|
-
createUserGroupAccessScope: (groupId, data, params = {}) => this.request(Object.assign({ path: `/api/user-groups/${groupId}/scopes`, method: "POST", body: data, secure: true, type:
|
|
5046
|
+
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)),
|
|
5038
5047
|
/**
|
|
5039
5048
|
* No description
|
|
5040
5049
|
*
|
|
@@ -5067,7 +5076,7 @@ export class Api extends HttpClient {
|
|
|
5067
5076
|
* @secure
|
|
5068
5077
|
* @response `200` `UserGroupMember` OK
|
|
5069
5078
|
*/
|
|
5070
|
-
createUserGroupMember: (groupId, data, query, params = {}) => this.request(Object.assign({ path: `/api/user-groups/${groupId}/members`, method: "POST", query: query, body: data, secure: true, type:
|
|
5079
|
+
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)),
|
|
5071
5080
|
/**
|
|
5072
5081
|
* No description
|
|
5073
5082
|
*
|
|
@@ -5111,7 +5120,7 @@ export class Api extends HttpClient {
|
|
|
5111
5120
|
* @secure
|
|
5112
5121
|
* @response `200` `UserGroup` OK
|
|
5113
5122
|
*/
|
|
5114
|
-
updateUserGroup: (groupId, data, params = {}) => this.request(Object.assign({ path: `/api/user-groups/${groupId}`, method: "PUT", body: data, secure: true, type:
|
|
5123
|
+
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)),
|
|
5115
5124
|
/**
|
|
5116
5125
|
* No description
|
|
5117
5126
|
*
|
|
@@ -5133,7 +5142,7 @@ export class Api extends HttpClient {
|
|
|
5133
5142
|
* @secure
|
|
5134
5143
|
* @response `201` `UserGroup` Created
|
|
5135
5144
|
*/
|
|
5136
|
-
createUserGroup: (data, params = {}) => this.request(Object.assign({ path: `/api/user-groups`, method: "POST", body: data, secure: true, type:
|
|
5145
|
+
createUserGroup: (data, params = {}) => this.request(Object.assign({ path: `/api/user-groups`, method: "POST", body: data, secure: true, type: ContentType.Json, format: "json" }, params)),
|
|
5137
5146
|
/**
|
|
5138
5147
|
* No description
|
|
5139
5148
|
*
|
|
@@ -5146,7 +5155,7 @@ export class Api extends HttpClient {
|
|
|
5146
5155
|
* @response `404` `Error` Not Found
|
|
5147
5156
|
* @response `422` `UnprocessableEntity` Unprocessable Content
|
|
5148
5157
|
*/
|
|
5149
|
-
requestImpersonation: (data, params = {}) => this.request(Object.assign({ path: `/api/users/impersonation/request`, method: "POST", body: data, secure: true, type:
|
|
5158
|
+
requestImpersonation: (data, params = {}) => this.request(Object.assign({ path: `/api/users/impersonation/request`, method: "POST", body: data, secure: true, type: ContentType.Json }, params)),
|
|
5150
5159
|
/**
|
|
5151
5160
|
* No description
|
|
5152
5161
|
*
|
|
@@ -5159,7 +5168,7 @@ export class Api extends HttpClient {
|
|
|
5159
5168
|
* @response `404` `Error` Not Found
|
|
5160
5169
|
* @response `422` `UnprocessableEntity` Unprocessable Content
|
|
5161
5170
|
*/
|
|
5162
|
-
allowImpersonation: (data, params = {}) => this.request(Object.assign({ path: `/api/users/impersonation/allow`, method: "POST", body: data, secure: true, type:
|
|
5171
|
+
allowImpersonation: (data, params = {}) => this.request(Object.assign({ path: `/api/users/impersonation/allow`, method: "POST", body: data, secure: true, type: ContentType.Json }, params)),
|
|
5163
5172
|
/**
|
|
5164
5173
|
* No description
|
|
5165
5174
|
*
|
|
@@ -5209,7 +5218,7 @@ export class Api extends HttpClient {
|
|
|
5209
5218
|
* @response `404` `Error` Not Found
|
|
5210
5219
|
* @response `422` `UnprocessableEntity` Unprocessable Content
|
|
5211
5220
|
*/
|
|
5212
|
-
forceImpersonation: (data, params = {}) => this.request(Object.assign({ path: `/api/users/impersonation/force`, method: "POST", body: data, secure: true, type:
|
|
5221
|
+
forceImpersonation: (data, params = {}) => this.request(Object.assign({ path: `/api/users/impersonation/force`, method: "POST", body: data, secure: true, type: ContentType.Json }, params)),
|
|
5213
5222
|
/**
|
|
5214
5223
|
* No description
|
|
5215
5224
|
*
|
|
@@ -5233,7 +5242,7 @@ export class Api extends HttpClient {
|
|
|
5233
5242
|
* @response `204` `void` No Content
|
|
5234
5243
|
* @response `422` `UnprocessableEntity` Unprocessable Content
|
|
5235
5244
|
*/
|
|
5236
|
-
inviteUser: (data, params = {}) => this.request(Object.assign({ path: `/api/users/invites`, method: "POST", body: data, secure: true, type:
|
|
5245
|
+
inviteUser: (data, params = {}) => this.request(Object.assign({ path: `/api/users/invites`, method: "POST", body: data, secure: true, type: ContentType.Json }, params)),
|
|
5237
5246
|
/**
|
|
5238
5247
|
* No description
|
|
5239
5248
|
*
|
|
@@ -5271,7 +5280,7 @@ export class Api extends HttpClient {
|
|
|
5271
5280
|
* @secure
|
|
5272
5281
|
* @response `204` `void` No Content
|
|
5273
5282
|
*/
|
|
5274
|
-
requestUserReactivation: (data, params = {}) => this.request(Object.assign({ path: `/api/users/reactivation/request`, method: "POST", body: data, secure: true, type:
|
|
5283
|
+
requestUserReactivation: (data, params = {}) => this.request(Object.assign({ path: `/api/users/reactivation/request`, method: "POST", body: data, secure: true, type: ContentType.Json }, params)),
|
|
5275
5284
|
/**
|
|
5276
5285
|
* No description
|
|
5277
5286
|
*
|
|
@@ -5283,7 +5292,7 @@ export class Api extends HttpClient {
|
|
|
5283
5292
|
* @response `204` `void` No Content
|
|
5284
5293
|
* @response `400` `ProblemDetails` Bad Request
|
|
5285
5294
|
*/
|
|
5286
|
-
completeUserReactivation: (data, params = {}) => this.request(Object.assign({ path: `/api/users/reactivation/complete`, method: "POST", body: data, secure: true, type:
|
|
5295
|
+
completeUserReactivation: (data, params = {}) => this.request(Object.assign({ path: `/api/users/reactivation/complete`, method: "POST", body: data, secure: true, type: ContentType.Json }, params)),
|
|
5287
5296
|
/**
|
|
5288
5297
|
* No description
|
|
5289
5298
|
*
|
|
@@ -5305,7 +5314,7 @@ export class Api extends HttpClient {
|
|
|
5305
5314
|
* @secure
|
|
5306
5315
|
* @response `204` `void` No Content
|
|
5307
5316
|
*/
|
|
5308
|
-
createUserRelation: (userId, data, params = {}) => this.request(Object.assign({ path: `/api/users/${userId}/relations`, method: "POST", body: data, secure: true, type:
|
|
5317
|
+
createUserRelation: (userId, data, params = {}) => this.request(Object.assign({ path: `/api/users/${userId}/relations`, method: "POST", body: data, secure: true, type: ContentType.Json }, params)),
|
|
5309
5318
|
/**
|
|
5310
5319
|
* No description
|
|
5311
5320
|
*
|
|
@@ -5351,7 +5360,7 @@ export class Api extends HttpClient {
|
|
|
5351
5360
|
* @response `409` `ProblemDetails` Conflict
|
|
5352
5361
|
* @response `422` `UnprocessableEntity` Unprocessable Content
|
|
5353
5362
|
*/
|
|
5354
|
-
createUser: (data, params = {}) => this.request(Object.assign({ path: `/api/users`, method: "POST", body: data, secure: true, type:
|
|
5363
|
+
createUser: (data, params = {}) => this.request(Object.assign({ path: `/api/users`, method: "POST", body: data, secure: true, type: ContentType.Json, format: "json" }, params)),
|
|
5355
5364
|
/**
|
|
5356
5365
|
* No description
|
|
5357
5366
|
*
|
|
@@ -5362,7 +5371,7 @@ export class Api extends HttpClient {
|
|
|
5362
5371
|
* @secure
|
|
5363
5372
|
* @response `200` `UserPaginated` OK
|
|
5364
5373
|
*/
|
|
5365
|
-
searchUsers: (data, query, params = {}) => this.request(Object.assign({ path: `/api/users/search`, method: "POST", query: query, body: data, secure: true, type:
|
|
5374
|
+
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)),
|
|
5366
5375
|
/**
|
|
5367
5376
|
* No description
|
|
5368
5377
|
*
|
|
@@ -5373,7 +5382,7 @@ export class Api extends HttpClient {
|
|
|
5373
5382
|
* @secure
|
|
5374
5383
|
* @response `200` `AdminAccessUser` OK
|
|
5375
5384
|
*/
|
|
5376
|
-
getUserByEmail: (data, params = {}) => this.request(Object.assign({ path: `/api/users/byemail`, method: "POST", body: data, secure: true, type:
|
|
5385
|
+
getUserByEmail: (data, params = {}) => this.request(Object.assign({ path: `/api/users/byemail`, method: "POST", body: data, secure: true, type: ContentType.Json, format: "json" }, params)),
|
|
5377
5386
|
/**
|
|
5378
5387
|
* No description
|
|
5379
5388
|
*
|
|
@@ -5385,7 +5394,7 @@ export class Api extends HttpClient {
|
|
|
5385
5394
|
* @response `200` `User` OK
|
|
5386
5395
|
* @response `422` `UnprocessableEntity` Unprocessable Content
|
|
5387
5396
|
*/
|
|
5388
|
-
signUp: (data, params = {}) => this.request(Object.assign({ path: `/api/users/register`, method: "POST", body: data, secure: true, type:
|
|
5397
|
+
signUp: (data, params = {}) => this.request(Object.assign({ path: `/api/users/register`, method: "POST", body: data, secure: true, type: ContentType.Json, format: "json" }, params)),
|
|
5389
5398
|
/**
|
|
5390
5399
|
* No description
|
|
5391
5400
|
*
|
|
@@ -5397,7 +5406,7 @@ export class Api extends HttpClient {
|
|
|
5397
5406
|
* @response `200` `DetailedUser` OK
|
|
5398
5407
|
* @response `422` `UnprocessableEntity` Unprocessable Content
|
|
5399
5408
|
*/
|
|
5400
|
-
replaceUser: (id, data, params = {}) => this.request(Object.assign({ path: `/api/users/${id}`, method: "PUT", body: data, secure: true, type:
|
|
5409
|
+
replaceUser: (id, data, params = {}) => this.request(Object.assign({ path: `/api/users/${id}`, method: "PUT", body: data, secure: true, type: ContentType.Json, format: "json" }, params)),
|
|
5401
5410
|
/**
|
|
5402
5411
|
* No description
|
|
5403
5412
|
*
|
|
@@ -5431,7 +5440,7 @@ export class Api extends HttpClient {
|
|
|
5431
5440
|
* @response `204` `void` No Content
|
|
5432
5441
|
* @response `422` `UnprocessableEntity` Unprocessable Content
|
|
5433
5442
|
*/
|
|
5434
|
-
changePassword: (data, params = {}) => this.request(Object.assign({ path: `/api/users/change-password`, method: "POST", body: data, secure: true, type:
|
|
5443
|
+
changePassword: (data, params = {}) => this.request(Object.assign({ path: `/api/users/change-password`, method: "POST", body: data, secure: true, type: ContentType.Json }, params)),
|
|
5435
5444
|
/**
|
|
5436
5445
|
* No description
|
|
5437
5446
|
*
|
|
@@ -5444,7 +5453,7 @@ export class Api extends HttpClient {
|
|
|
5444
5453
|
* @response `204` `void` No Content
|
|
5445
5454
|
* @response `422` `UnprocessableEntity` Unprocessable Content
|
|
5446
5455
|
*/
|
|
5447
|
-
verifyPassword: (data, params = {}) => this.request(Object.assign({ path: `/api/users/verify-password`, method: "POST", body: data, secure: true, type:
|
|
5456
|
+
verifyPassword: (data, params = {}) => this.request(Object.assign({ path: `/api/users/verify-password`, method: "POST", body: data, secure: true, type: ContentType.Json }, params)),
|
|
5448
5457
|
/**
|
|
5449
5458
|
* No description
|
|
5450
5459
|
*
|
|
@@ -5456,7 +5465,7 @@ export class Api extends HttpClient {
|
|
|
5456
5465
|
* @response `204` `void` No Content
|
|
5457
5466
|
* @response `422` `UnprocessableEntity` Unprocessable Content
|
|
5458
5467
|
*/
|
|
5459
|
-
overridePassword: (id, data, params = {}) => this.request(Object.assign({ path: `/api/users/${id}/override-password`, method: "POST", body: data, secure: true, type:
|
|
5468
|
+
overridePassword: (id, data, params = {}) => this.request(Object.assign({ path: `/api/users/${id}/override-password`, method: "POST", body: data, secure: true, type: ContentType.Json }, params)),
|
|
5460
5469
|
/**
|
|
5461
5470
|
* No description
|
|
5462
5471
|
*
|
|
@@ -5469,7 +5478,7 @@ export class Api extends HttpClient {
|
|
|
5469
5478
|
* @response `204` `void` No Content
|
|
5470
5479
|
* @response `422` `UnprocessableEntity` Unprocessable Content
|
|
5471
5480
|
*/
|
|
5472
|
-
forgotPassword: (data, params = {}) => this.request(Object.assign({ path: `/api/users/forgot-password`, method: "POST", body: data, secure: true, type:
|
|
5481
|
+
forgotPassword: (data, params = {}) => this.request(Object.assign({ path: `/api/users/forgot-password`, method: "POST", body: data, secure: true, type: ContentType.Json }, params)),
|
|
5473
5482
|
/**
|
|
5474
5483
|
* No description
|
|
5475
5484
|
*
|
|
@@ -5493,7 +5502,7 @@ export class Api extends HttpClient {
|
|
|
5493
5502
|
* @response `204` `void` No Content
|
|
5494
5503
|
* @response `422` `UnprocessableEntity` Unprocessable Content
|
|
5495
5504
|
*/
|
|
5496
|
-
verifyUserMobilePhone: (data, params = {}) => this.request(Object.assign({ path: `/api/users/mobile-phone/verify-code`, method: "PUT", body: data, secure: true, type:
|
|
5505
|
+
verifyUserMobilePhone: (data, params = {}) => this.request(Object.assign({ path: `/api/users/mobile-phone/verify-code`, method: "PUT", body: data, secure: true, type: ContentType.Json }, params)),
|
|
5497
5506
|
/**
|
|
5498
5507
|
* No description
|
|
5499
5508
|
*
|
|
@@ -5518,7 +5527,7 @@ export class Api extends HttpClient {
|
|
|
5518
5527
|
* @response `403` `ProblemDetails` Forbidden
|
|
5519
5528
|
* @response `409` `ProblemDetails` Conflict
|
|
5520
5529
|
*/
|
|
5521
|
-
replaceMe: (data, params = {}) => this.request(Object.assign({ path: `/api/users/me`, method: "PUT", body: data, secure: true, type:
|
|
5530
|
+
replaceMe: (data, params = {}) => this.request(Object.assign({ path: `/api/users/me`, method: "PUT", body: data, secure: true, type: ContentType.Json, format: "json" }, params)),
|
|
5522
5531
|
/**
|
|
5523
5532
|
* @description Update the phone number If changed will send a verification code to the new number
|
|
5524
5533
|
*
|
|
@@ -5529,7 +5538,7 @@ export class Api extends HttpClient {
|
|
|
5529
5538
|
* @secure
|
|
5530
5539
|
* @response `204` `DetailedUser` No Content
|
|
5531
5540
|
*/
|
|
5532
|
-
updateMyPhone: (data, params = {}) => this.request(Object.assign({ path: `/api/users/me/phone-number`, method: "PUT", body: data, secure: true, type:
|
|
5541
|
+
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)),
|
|
5533
5542
|
/**
|
|
5534
5543
|
* No description
|
|
5535
5544
|
*
|
|
@@ -5573,7 +5582,7 @@ export class Api extends HttpClient {
|
|
|
5573
5582
|
* @secure
|
|
5574
5583
|
* @response `204` `void` No Content
|
|
5575
5584
|
*/
|
|
5576
|
-
deleteMe: (data, params = {}) => this.request(Object.assign({ path: `/api/users/me/delete`, method: "POST", body: data, secure: true, type:
|
|
5585
|
+
deleteMe: (data, params = {}) => this.request(Object.assign({ path: `/api/users/me/delete`, method: "POST", body: data, secure: true, type: ContentType.Json }, params)),
|
|
5577
5586
|
/**
|
|
5578
5587
|
* No description
|
|
5579
5588
|
*
|
|
@@ -5584,7 +5593,7 @@ export class Api extends HttpClient {
|
|
|
5584
5593
|
* @secure
|
|
5585
5594
|
* @response `200` `GetForm` OK
|
|
5586
5595
|
*/
|
|
5587
|
-
getWorkflow: (data, params = {}) => this.request(Object.assign({ path: `/api/workflow`, method: "POST", body: data, secure: true, type:
|
|
5596
|
+
getWorkflow: (data, params = {}) => this.request(Object.assign({ path: `/api/workflow`, method: "POST", body: data, secure: true, type: ContentType.Json, format: "json" }, params)),
|
|
5588
5597
|
};
|
|
5589
5598
|
this.sso = {
|
|
5590
5599
|
/**
|