@matech/thebigpos-sdk 2.49.9-rc3 → 3.1.0
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 +221 -124
- package/dist/index.js +206 -212
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
- package/src/index.ts +1091 -747
- package/tsconfig.json +27 -27
package/dist/index.js
CHANGED
|
@@ -30,15 +30,6 @@ 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 = {}));
|
|
42
33
|
export class HttpClient {
|
|
43
34
|
constructor(_a = {}) {
|
|
44
35
|
var { securityWorker, secure, format } = _a, axiosConfig = __rest(_a, ["securityWorker", "secure", "format"]);
|
|
@@ -54,13 +45,13 @@ export class HttpClient {
|
|
|
54
45
|
{};
|
|
55
46
|
const requestParams = this.mergeRequestParams(params, secureParams);
|
|
56
47
|
const responseFormat = format || this.format || undefined;
|
|
57
|
-
if (type ===
|
|
48
|
+
if (type === "multipart/form-data" &&
|
|
58
49
|
body &&
|
|
59
50
|
body !== null &&
|
|
60
51
|
typeof body === "object") {
|
|
61
52
|
body = this.createFormData(body);
|
|
62
53
|
}
|
|
63
|
-
if (type ===
|
|
54
|
+
if (type === "text/plain" &&
|
|
64
55
|
body &&
|
|
65
56
|
body !== null &&
|
|
66
57
|
typeof body !== "string") {
|
|
@@ -104,7 +95,7 @@ export class HttpClient {
|
|
|
104
95
|
}
|
|
105
96
|
/**
|
|
106
97
|
* @title The Big POS API
|
|
107
|
-
* @version
|
|
98
|
+
* @version v3.1.0
|
|
108
99
|
* @termsOfService https://www.thebigpos.com/terms-of-use/
|
|
109
100
|
* @contact Mortgage Automation Technologies <support@thebigpos.com> (https://www.thebigpos.com/terms-of-use/)
|
|
110
101
|
*/
|
|
@@ -156,7 +147,7 @@ export class Api extends HttpClient {
|
|
|
156
147
|
* @response `404` `ProblemDetails` Not Found
|
|
157
148
|
* @response `422` `ProblemDetails` Unprocessable Content
|
|
158
149
|
*/
|
|
159
|
-
replaceMyAccount: (data, params = {}) => this.request(Object.assign({ path: `/api/account`, method: "PUT", body: data, secure: true, type:
|
|
150
|
+
replaceMyAccount: (data, params = {}) => this.request(Object.assign({ path: `/api/account`, method: "PUT", body: data, secure: true, type: "application/json", format: "json" }, params)),
|
|
160
151
|
/**
|
|
161
152
|
* No description
|
|
162
153
|
*
|
|
@@ -179,7 +170,7 @@ export class Api extends HttpClient {
|
|
|
179
170
|
* @response `200` `SiteConfiguration` OK
|
|
180
171
|
* @response `422` `UnprocessableEntity` Unprocessable Content
|
|
181
172
|
*/
|
|
182
|
-
updateSiteConfigurationForAccount: (data, params = {}) => this.request(Object.assign({ path: `/api/account/site-configurations`, method: "PUT", body: data, secure: true, type:
|
|
173
|
+
updateSiteConfigurationForAccount: (data, params = {}) => this.request(Object.assign({ path: `/api/account/site-configurations`, method: "PUT", body: data, secure: true, type: "application/json", format: "json" }, params)),
|
|
183
174
|
/**
|
|
184
175
|
* No description
|
|
185
176
|
*
|
|
@@ -202,7 +193,7 @@ export class Api extends HttpClient {
|
|
|
202
193
|
* @response `201` `Account` Created
|
|
203
194
|
* @response `422` `ProblemDetails` Unprocessable Content
|
|
204
195
|
*/
|
|
205
|
-
createAccount: (data, params = {}) => this.request(Object.assign({ path: `/api/accounts`, method: "POST", body: data, secure: true, type:
|
|
196
|
+
createAccount: (data, params = {}) => this.request(Object.assign({ path: `/api/accounts`, method: "POST", body: data, secure: true, type: "application/json", format: "json" }, params)),
|
|
206
197
|
/**
|
|
207
198
|
* No description
|
|
208
199
|
*
|
|
@@ -240,7 +231,7 @@ export class Api extends HttpClient {
|
|
|
240
231
|
* @response `404` `ProblemDetails` Not Found
|
|
241
232
|
* @response `422` `ProblemDetails` Unprocessable Content
|
|
242
233
|
*/
|
|
243
|
-
updateAccountBilling: (id, data, params = {}) => this.request(Object.assign({ path: `/api/accounts/${id}/billing`, method: "PUT", body: data, secure: true, type:
|
|
234
|
+
updateAccountBilling: (id, data, params = {}) => this.request(Object.assign({ path: `/api/accounts/${id}/billing`, method: "PUT", body: data, secure: true, type: "application/json", format: "json" }, params)),
|
|
244
235
|
/**
|
|
245
236
|
* No description
|
|
246
237
|
*
|
|
@@ -273,7 +264,7 @@ export class Api extends HttpClient {
|
|
|
273
264
|
* @secure
|
|
274
265
|
* @response `204` `void` No Content
|
|
275
266
|
*/
|
|
276
|
-
setAccountAiEnabled: (accountId, data, params = {}) => this.request(Object.assign({ path: `/api/ai/accounts/${accountId}/ai-enabled`, method: "PUT", body: data, secure: true, type:
|
|
267
|
+
setAccountAiEnabled: (accountId, data, params = {}) => this.request(Object.assign({ path: `/api/ai/accounts/${accountId}/ai-enabled`, method: "PUT", body: data, secure: true, type: "application/json" }, params)),
|
|
277
268
|
/**
|
|
278
269
|
* No description
|
|
279
270
|
*
|
|
@@ -296,7 +287,7 @@ export class Api extends HttpClient {
|
|
|
296
287
|
* @response `200` `AiAccountSettings` OK
|
|
297
288
|
* @response `400` `ProblemDetails` Bad Request
|
|
298
289
|
*/
|
|
299
|
-
updateAiAccountSettings: (data, params = {}) => this.request(Object.assign({ path: `/api/ai/account-settings`, method: "PUT", body: data, secure: true, type:
|
|
290
|
+
updateAiAccountSettings: (data, params = {}) => this.request(Object.assign({ path: `/api/ai/account-settings`, method: "PUT", body: data, secure: true, type: "application/json", format: "json" }, params)),
|
|
300
291
|
/**
|
|
301
292
|
* No description
|
|
302
293
|
*
|
|
@@ -319,7 +310,7 @@ export class Api extends HttpClient {
|
|
|
319
310
|
* @response `201` `AiPrompt` Created
|
|
320
311
|
* @response `400` `ProblemDetails` Bad Request
|
|
321
312
|
*/
|
|
322
|
-
createAiPrompt: (data, params = {}) => this.request(Object.assign({ path: `/api/ai/prompts`, method: "POST", body: data, secure: true, type:
|
|
313
|
+
createAiPrompt: (data, params = {}) => this.request(Object.assign({ path: `/api/ai/prompts`, method: "POST", body: data, secure: true, type: "application/json", format: "json" }, params)),
|
|
323
314
|
/**
|
|
324
315
|
* No description
|
|
325
316
|
*
|
|
@@ -344,7 +335,7 @@ export class Api extends HttpClient {
|
|
|
344
335
|
* @response `400` `ProblemDetails` Bad Request
|
|
345
336
|
* @response `404` `ProblemDetails` Not Found
|
|
346
337
|
*/
|
|
347
|
-
updateAiPrompt: (id, data, params = {}) => this.request(Object.assign({ path: `/api/ai/prompts/${id}`, method: "PUT", body: data, secure: true, type:
|
|
338
|
+
updateAiPrompt: (id, data, params = {}) => this.request(Object.assign({ path: `/api/ai/prompts/${id}`, method: "PUT", body: data, secure: true, type: "application/json", format: "json" }, params)),
|
|
348
339
|
/**
|
|
349
340
|
* No description
|
|
350
341
|
*
|
|
@@ -381,7 +372,7 @@ export class Api extends HttpClient {
|
|
|
381
372
|
* @response `400` `ProblemDetails` Bad Request
|
|
382
373
|
* @response `404` `ProblemDetails` Not Found
|
|
383
374
|
*/
|
|
384
|
-
updateAiPromptTools: (id, data, params = {}) => this.request(Object.assign({ path: `/api/ai/prompts/${id}/tools`, method: "PUT", body: data, secure: true, type:
|
|
375
|
+
updateAiPromptTools: (id, data, params = {}) => this.request(Object.assign({ path: `/api/ai/prompts/${id}/tools`, method: "PUT", body: data, secure: true, type: "application/json", format: "json" }, params)),
|
|
385
376
|
/**
|
|
386
377
|
* No description
|
|
387
378
|
*
|
|
@@ -405,7 +396,7 @@ export class Api extends HttpClient {
|
|
|
405
396
|
* @response `200` `GenerateSystemPrompt` OK
|
|
406
397
|
* @response `400` `ProblemDetails` Bad Request
|
|
407
398
|
*/
|
|
408
|
-
generateAiSystemPrompt: (data, params = {}) => this.request(Object.assign({ path: `/api/ai/prompts/generate`, method: "POST", body: data, secure: true, type:
|
|
399
|
+
generateAiSystemPrompt: (data, params = {}) => this.request(Object.assign({ path: `/api/ai/prompts/generate`, method: "POST", body: data, secure: true, type: "application/json", format: "json" }, params)),
|
|
409
400
|
/**
|
|
410
401
|
* No description
|
|
411
402
|
*
|
|
@@ -439,7 +430,7 @@ export class Api extends HttpClient {
|
|
|
439
430
|
* @response `200` `AiAdminSettings` OK
|
|
440
431
|
* @response `400` `ProblemDetails` Bad Request
|
|
441
432
|
*/
|
|
442
|
-
updateAiAdminSettings: (data, params = {}) => this.request(Object.assign({ path: `/api/ai/settings`, method: "PUT", body: data, secure: true, type:
|
|
433
|
+
updateAiAdminSettings: (data, params = {}) => this.request(Object.assign({ path: `/api/ai/settings`, method: "PUT", body: data, secure: true, type: "application/json", format: "json" }, params)),
|
|
443
434
|
/**
|
|
444
435
|
* No description
|
|
445
436
|
*
|
|
@@ -517,7 +508,7 @@ export class Api extends HttpClient {
|
|
|
517
508
|
* @response `201` `AiCanonicalField` Created
|
|
518
509
|
* @response `400` `ProblemDetails` Bad Request
|
|
519
510
|
*/
|
|
520
|
-
createAiCanonicalField: (data, params = {}) => this.request(Object.assign({ path: `/api/ai/canonical-fields`, method: "POST", body: data, secure: true, type:
|
|
511
|
+
createAiCanonicalField: (data, params = {}) => this.request(Object.assign({ path: `/api/ai/canonical-fields`, method: "POST", body: data, secure: true, type: "application/json", format: "json" }, params)),
|
|
521
512
|
/**
|
|
522
513
|
* No description
|
|
523
514
|
*
|
|
@@ -542,7 +533,7 @@ export class Api extends HttpClient {
|
|
|
542
533
|
* @response `400` `ProblemDetails` Bad Request
|
|
543
534
|
* @response `404` `ProblemDetails` Not Found
|
|
544
535
|
*/
|
|
545
|
-
updateAiCanonicalField: (id, data, params = {}) => this.request(Object.assign({ path: `/api/ai/canonical-fields/${id}`, method: "PUT", body: data, secure: true, type:
|
|
536
|
+
updateAiCanonicalField: (id, data, params = {}) => this.request(Object.assign({ path: `/api/ai/canonical-fields/${id}`, method: "PUT", body: data, secure: true, type: "application/json", format: "json" }, params)),
|
|
546
537
|
/**
|
|
547
538
|
* No description
|
|
548
539
|
*
|
|
@@ -580,7 +571,7 @@ export class Api extends HttpClient {
|
|
|
580
571
|
* @response `401` `ProblemDetails` Unauthorized
|
|
581
572
|
* @response `429` `ProblemDetails` Too Many Requests
|
|
582
573
|
*/
|
|
583
|
-
aiChat: (data, params = {}) => this.request(Object.assign({ path: `/api/ai/chats`, method: "POST", body: data, secure: true, type:
|
|
574
|
+
aiChat: (data, params = {}) => this.request(Object.assign({ path: `/api/ai/chats`, method: "POST", body: data, secure: true, type: "application/json", format: "json" }, params)),
|
|
584
575
|
/**
|
|
585
576
|
* No description
|
|
586
577
|
*
|
|
@@ -642,7 +633,7 @@ export class Api extends HttpClient {
|
|
|
642
633
|
* @response `403` `ProblemDetails` Forbidden
|
|
643
634
|
* @response `404` `ProblemDetails` Not Found
|
|
644
635
|
*/
|
|
645
|
-
renameAiConversation: (id, data, params = {}) => this.request(Object.assign({ path: `/api/ai/conversations/${id}`, method: "PATCH", body: data, secure: true, type:
|
|
636
|
+
renameAiConversation: (id, data, params = {}) => this.request(Object.assign({ path: `/api/ai/conversations/${id}`, method: "PATCH", body: data, secure: true, type: "application/json", format: "json" }, params)),
|
|
646
637
|
/**
|
|
647
638
|
* No description
|
|
648
639
|
*
|
|
@@ -694,7 +685,7 @@ export class Api extends HttpClient {
|
|
|
694
685
|
* @response `403` `ProblemDetails` Forbidden
|
|
695
686
|
* @response `404` `ProblemDetails` Not Found
|
|
696
687
|
*/
|
|
697
|
-
pinAiConversation: (id, data, params = {}) => this.request(Object.assign({ path: `/api/ai/conversations/${id}/pin`, method: "PUT", body: data, secure: true, type:
|
|
688
|
+
pinAiConversation: (id, data, params = {}) => this.request(Object.assign({ path: `/api/ai/conversations/${id}/pin`, method: "PUT", body: data, secure: true, type: "application/json", format: "json" }, params)),
|
|
698
689
|
/**
|
|
699
690
|
* No description
|
|
700
691
|
*
|
|
@@ -752,7 +743,7 @@ export class Api extends HttpClient {
|
|
|
752
743
|
* @response `201` `AiGuardrail` Created
|
|
753
744
|
* @response `400` `ProblemDetails` Bad Request
|
|
754
745
|
*/
|
|
755
|
-
createAiGuardrail: (data, params = {}) => this.request(Object.assign({ path: `/api/ai/guardrails`, method: "POST", body: data, secure: true, type:
|
|
746
|
+
createAiGuardrail: (data, params = {}) => this.request(Object.assign({ path: `/api/ai/guardrails`, method: "POST", body: data, secure: true, type: "application/json", format: "json" }, params)),
|
|
756
747
|
/**
|
|
757
748
|
* No description
|
|
758
749
|
*
|
|
@@ -777,7 +768,7 @@ export class Api extends HttpClient {
|
|
|
777
768
|
* @response `400` `ProblemDetails` Bad Request
|
|
778
769
|
* @response `404` `ProblemDetails` Not Found
|
|
779
770
|
*/
|
|
780
|
-
updateAiGuardrail: (id, data, params = {}) => this.request(Object.assign({ path: `/api/ai/guardrails/${id}`, method: "PUT", body: data, secure: true, type:
|
|
771
|
+
updateAiGuardrail: (id, data, params = {}) => this.request(Object.assign({ path: `/api/ai/guardrails/${id}`, method: "PUT", body: data, secure: true, type: "application/json", format: "json" }, params)),
|
|
781
772
|
/**
|
|
782
773
|
* No description
|
|
783
774
|
*
|
|
@@ -824,7 +815,7 @@ export class Api extends HttpClient {
|
|
|
824
815
|
* @secure
|
|
825
816
|
* @response `200` `AiAccountUsageOverviewPaginated` OK
|
|
826
817
|
*/
|
|
827
|
-
searchAiAccountTokenUsage: (data, query, params = {}) => this.request(Object.assign({ path: `/api/ai/token-usage/search`, method: "POST", query: query, body: data, secure: true, type:
|
|
818
|
+
searchAiAccountTokenUsage: (data, query, params = {}) => this.request(Object.assign({ path: `/api/ai/token-usage/search`, method: "POST", query: query, body: data, secure: true, type: "application/json", format: "json" }, params)),
|
|
828
819
|
/**
|
|
829
820
|
* No description
|
|
830
821
|
*
|
|
@@ -858,7 +849,7 @@ export class Api extends HttpClient {
|
|
|
858
849
|
* @response `200` `AiTokenBudgetStatus` OK
|
|
859
850
|
* @response `400` `ProblemDetails` Bad Request
|
|
860
851
|
*/
|
|
861
|
-
setAiAccountTokenLimit: (accountId, data, params = {}) => this.request(Object.assign({ path: `/api/ai/token-usage/${accountId}/limit`, method: "PUT", body: data, secure: true, type:
|
|
852
|
+
setAiAccountTokenLimit: (accountId, data, params = {}) => this.request(Object.assign({ path: `/api/ai/token-usage/${accountId}/limit`, method: "PUT", body: data, secure: true, type: "application/json", format: "json" }, params)),
|
|
862
853
|
/**
|
|
863
854
|
* No description
|
|
864
855
|
*
|
|
@@ -882,7 +873,7 @@ export class Api extends HttpClient {
|
|
|
882
873
|
* @response `400` `ProblemDetails` Bad Request
|
|
883
874
|
* @response `409` `ProblemDetails` Conflict
|
|
884
875
|
*/
|
|
885
|
-
createAiUrlSource: (data, params = {}) => this.request(Object.assign({ path: `/api/ai/url-sources`, method: "POST", body: data, secure: true, type:
|
|
876
|
+
createAiUrlSource: (data, params = {}) => this.request(Object.assign({ path: `/api/ai/url-sources`, method: "POST", body: data, secure: true, type: "application/json", format: "json" }, params)),
|
|
886
877
|
/**
|
|
887
878
|
* No description
|
|
888
879
|
*
|
|
@@ -908,7 +899,7 @@ export class Api extends HttpClient {
|
|
|
908
899
|
* @response `404` `ProblemDetails` Not Found
|
|
909
900
|
* @response `409` `ProblemDetails` Conflict
|
|
910
901
|
*/
|
|
911
|
-
updateAiUrlSource: (id, data, params = {}) => this.request(Object.assign({ path: `/api/ai/url-sources/${id}`, method: "PUT", body: data, secure: true, type:
|
|
902
|
+
updateAiUrlSource: (id, data, params = {}) => this.request(Object.assign({ path: `/api/ai/url-sources/${id}`, method: "PUT", body: data, secure: true, type: "application/json", format: "json" }, params)),
|
|
912
903
|
/**
|
|
913
904
|
* No description
|
|
914
905
|
*
|
|
@@ -944,6 +935,7 @@ export class Api extends HttpClient {
|
|
|
944
935
|
* @response `202` `void` Accepted
|
|
945
936
|
* @response `403` `ProblemDetails` Forbidden
|
|
946
937
|
* @response `404` `ProblemDetails` Not Found
|
|
938
|
+
* @response `429` `ProblemDetails` Too Many Requests
|
|
947
939
|
*/
|
|
948
940
|
refreshAiUrlSource: (id, params = {}) => this.request(Object.assign({ path: `/api/ai/url-sources/${id}/refresh`, method: "POST", secure: true }, params)),
|
|
949
941
|
/**
|
|
@@ -956,6 +948,7 @@ export class Api extends HttpClient {
|
|
|
956
948
|
* @secure
|
|
957
949
|
* @response `202` `void` Accepted
|
|
958
950
|
* @response `403` `ProblemDetails` Forbidden
|
|
951
|
+
* @response `429` `ProblemDetails` Too Many Requests
|
|
959
952
|
*/
|
|
960
953
|
refreshAllAiUrlSources: (params = {}) => this.request(Object.assign({ path: `/api/ai/url-sources/refresh`, method: "POST", secure: true }, params)),
|
|
961
954
|
/**
|
|
@@ -990,7 +983,7 @@ export class Api extends HttpClient {
|
|
|
990
983
|
* @secure
|
|
991
984
|
* @response `200` `AuditLogEntryPaginated` OK
|
|
992
985
|
*/
|
|
993
|
-
searchAuditLogs: (data, query, params = {}) => this.request(Object.assign({ path: `/api/audit-logs/search`, method: "POST", query: query, body: data, secure: true, type:
|
|
986
|
+
searchAuditLogs: (data, query, params = {}) => this.request(Object.assign({ path: `/api/audit-logs/search`, method: "POST", query: query, body: data, secure: true, type: "application/json", format: "json" }, params)),
|
|
994
987
|
/**
|
|
995
988
|
* No description
|
|
996
989
|
*
|
|
@@ -1025,7 +1018,7 @@ export class Api extends HttpClient {
|
|
|
1025
1018
|
* @response `204` `void` No Content
|
|
1026
1019
|
* @response `422` `UnprocessableEntity` Unprocessable Content
|
|
1027
1020
|
*/
|
|
1028
|
-
authForgotPassword: (data, params = {}) => this.request(Object.assign({ path: `/api/auth/forgot-password`, method: "POST", body: data, secure: true, type:
|
|
1021
|
+
authForgotPassword: (data, params = {}) => this.request(Object.assign({ path: `/api/auth/forgot-password`, method: "POST", body: data, secure: true, type: "application/json" }, params)),
|
|
1029
1022
|
/**
|
|
1030
1023
|
* No description
|
|
1031
1024
|
*
|
|
@@ -1037,7 +1030,7 @@ export class Api extends HttpClient {
|
|
|
1037
1030
|
* @response `204` `void` No Content
|
|
1038
1031
|
* @response `422` `UnprocessableEntity` Unprocessable Content
|
|
1039
1032
|
*/
|
|
1040
|
-
authResetPassword: (data, params = {}) => this.request(Object.assign({ path: `/api/auth/reset-password`, method: "POST", body: data, secure: true, type:
|
|
1033
|
+
authResetPassword: (data, params = {}) => this.request(Object.assign({ path: `/api/auth/reset-password`, method: "POST", body: data, secure: true, type: "application/json" }, params)),
|
|
1041
1034
|
/**
|
|
1042
1035
|
* No description
|
|
1043
1036
|
*
|
|
@@ -1049,7 +1042,7 @@ export class Api extends HttpClient {
|
|
|
1049
1042
|
* @response `204` `void` No Content
|
|
1050
1043
|
* @response `422` `UnprocessableEntity` Unprocessable Content
|
|
1051
1044
|
*/
|
|
1052
|
-
authSetPassword: (data, params = {}) => this.request(Object.assign({ path: `/api/auth/set-password`, method: "POST", body: data, secure: true, type:
|
|
1045
|
+
authSetPassword: (data, params = {}) => this.request(Object.assign({ path: `/api/auth/set-password`, method: "POST", body: data, secure: true, type: "application/json" }, params)),
|
|
1053
1046
|
/**
|
|
1054
1047
|
* No description
|
|
1055
1048
|
*
|
|
@@ -1072,7 +1065,7 @@ export class Api extends HttpClient {
|
|
|
1072
1065
|
* @response `204` `void` No Content
|
|
1073
1066
|
* @response `422` `UnprocessableEntity` Unprocessable Content
|
|
1074
1067
|
*/
|
|
1075
|
-
authVerifyEmail: (data, params = {}) => this.request(Object.assign({ path: `/api/auth/verify-email`, method: "POST", body: data, secure: true, type:
|
|
1068
|
+
authVerifyEmail: (data, params = {}) => this.request(Object.assign({ path: `/api/auth/verify-email`, method: "POST", body: data, secure: true, type: "application/json" }, params)),
|
|
1076
1069
|
/**
|
|
1077
1070
|
* No description
|
|
1078
1071
|
*
|
|
@@ -1085,7 +1078,7 @@ export class Api extends HttpClient {
|
|
|
1085
1078
|
* @response `401` `ProblemDetails` Unauthorized
|
|
1086
1079
|
* @response `422` `UnprocessableEntity` Unprocessable Content
|
|
1087
1080
|
*/
|
|
1088
|
-
getTokenFromRefreshToken: (data, params = {}) => this.request(Object.assign({ path: `/api/refresh-token`, method: "POST", body: data, secure: true, type:
|
|
1081
|
+
getTokenFromRefreshToken: (data, params = {}) => this.request(Object.assign({ path: `/api/refresh-token`, method: "POST", body: data, secure: true, type: "application/json", format: "json" }, params)),
|
|
1089
1082
|
/**
|
|
1090
1083
|
* No description
|
|
1091
1084
|
*
|
|
@@ -1097,7 +1090,7 @@ export class Api extends HttpClient {
|
|
|
1097
1090
|
* @response `200` `UserDeactivated` OK
|
|
1098
1091
|
* @response `422` `UnprocessableEntity` Unprocessable Content
|
|
1099
1092
|
*/
|
|
1100
|
-
getToken: (data, params = {}) => this.request(Object.assign({ path: `/api/token`, method: "POST", body: data, secure: true, type:
|
|
1093
|
+
getToken: (data, params = {}) => this.request(Object.assign({ path: `/api/token`, method: "POST", body: data, secure: true, type: "application/json", format: "json" }, params)),
|
|
1101
1094
|
/**
|
|
1102
1095
|
* No description
|
|
1103
1096
|
*
|
|
@@ -1109,7 +1102,7 @@ export class Api extends HttpClient {
|
|
|
1109
1102
|
* @response `200` `UserDeactivated` OK
|
|
1110
1103
|
* @response `422` `UnprocessableEntity` Unprocessable Content
|
|
1111
1104
|
*/
|
|
1112
|
-
getTokenFromChallengeCode: (data, params = {}) => this.request(Object.assign({ path: `/api/token/code`, method: "POST", body: data, secure: true, type:
|
|
1105
|
+
getTokenFromChallengeCode: (data, params = {}) => this.request(Object.assign({ path: `/api/token/code`, method: "POST", body: data, secure: true, type: "application/json", format: "json" }, params)),
|
|
1113
1106
|
/**
|
|
1114
1107
|
* No description
|
|
1115
1108
|
*
|
|
@@ -1121,7 +1114,7 @@ export class Api extends HttpClient {
|
|
|
1121
1114
|
* @response `200` `Token` OK
|
|
1122
1115
|
* @response `422` `UnprocessableEntity` Unprocessable Content
|
|
1123
1116
|
*/
|
|
1124
|
-
getSystemToken: (data, params = {}) => this.request(Object.assign({ path: `/api/oauth2/token`, method: "POST", body: data, secure: true, type:
|
|
1117
|
+
getSystemToken: (data, params = {}) => this.request(Object.assign({ path: `/api/oauth2/token`, method: "POST", body: data, secure: true, type: "application/json", format: "json" }, params)),
|
|
1125
1118
|
/**
|
|
1126
1119
|
* No description
|
|
1127
1120
|
*
|
|
@@ -1133,7 +1126,7 @@ export class Api extends HttpClient {
|
|
|
1133
1126
|
* @response `200` `SSOToken` OK
|
|
1134
1127
|
* @response `422` `UnprocessableEntity` Unprocessable Content
|
|
1135
1128
|
*/
|
|
1136
|
-
getSsoToken: (data, params = {}) => this.request(Object.assign({ path: `/api/token/sso`, method: "POST", body: data, secure: true, type:
|
|
1129
|
+
getSsoToken: (data, params = {}) => this.request(Object.assign({ path: `/api/token/sso`, method: "POST", body: data, secure: true, type: "application/json", format: "json" }, params)),
|
|
1137
1130
|
/**
|
|
1138
1131
|
* No description
|
|
1139
1132
|
*
|
|
@@ -1168,7 +1161,7 @@ export class Api extends HttpClient {
|
|
|
1168
1161
|
* @response `200` `GetBranch` OK
|
|
1169
1162
|
* @response `422` `UnprocessableEntity` Unprocessable Content
|
|
1170
1163
|
*/
|
|
1171
|
-
createBranch: (data, params = {}) => this.request(Object.assign({ path: `/api/branches`, method: "POST", body: data, secure: true, type:
|
|
1164
|
+
createBranch: (data, params = {}) => this.request(Object.assign({ path: `/api/branches`, method: "POST", body: data, secure: true, type: "application/json", format: "json" }, params)),
|
|
1172
1165
|
/**
|
|
1173
1166
|
* No description
|
|
1174
1167
|
*
|
|
@@ -1179,7 +1172,7 @@ export class Api extends HttpClient {
|
|
|
1179
1172
|
* @secure
|
|
1180
1173
|
* @response `200` `GetBranchPaginated` OK
|
|
1181
1174
|
*/
|
|
1182
|
-
searchBranches: (data, query, params = {}) => this.request(Object.assign({ path: `/api/branches/search`, method: "POST", query: query, body: data, secure: true, type:
|
|
1175
|
+
searchBranches: (data, query, params = {}) => this.request(Object.assign({ path: `/api/branches/search`, method: "POST", query: query, body: data, secure: true, type: "application/json", format: "json" }, params)),
|
|
1183
1176
|
/**
|
|
1184
1177
|
* No description
|
|
1185
1178
|
*
|
|
@@ -1202,7 +1195,7 @@ export class Api extends HttpClient {
|
|
|
1202
1195
|
* @response `200` `GetBranch` OK
|
|
1203
1196
|
* @response `422` `UnprocessableEntity` Unprocessable Content
|
|
1204
1197
|
*/
|
|
1205
|
-
replaceBranch: (branchId, data, params = {}) => this.request(Object.assign({ path: `/api/branches/${branchId}`, method: "PUT", body: data, secure: true, type:
|
|
1198
|
+
replaceBranch: (branchId, data, params = {}) => this.request(Object.assign({ path: `/api/branches/${branchId}`, method: "PUT", body: data, secure: true, type: "application/json", format: "json" }, params)),
|
|
1206
1199
|
/**
|
|
1207
1200
|
* No description
|
|
1208
1201
|
*
|
|
@@ -1237,7 +1230,7 @@ export class Api extends HttpClient {
|
|
|
1237
1230
|
* @response `200` `SiteConfiguration` OK
|
|
1238
1231
|
* @response `422` `UnprocessableEntity` Unprocessable Content
|
|
1239
1232
|
*/
|
|
1240
|
-
createBranchSiteConfiguration: (branchId, data, params = {}) => this.request(Object.assign({ path: `/api/branches/${branchId}/site-configurations`, method: "POST", body: data, secure: true, type:
|
|
1233
|
+
createBranchSiteConfiguration: (branchId, data, params = {}) => this.request(Object.assign({ path: `/api/branches/${branchId}/site-configurations`, method: "POST", body: data, secure: true, type: "application/json", format: "json" }, params)),
|
|
1241
1234
|
/**
|
|
1242
1235
|
* No description
|
|
1243
1236
|
*
|
|
@@ -1260,7 +1253,7 @@ export class Api extends HttpClient {
|
|
|
1260
1253
|
* @response `200` `SiteConfiguration` OK
|
|
1261
1254
|
* @response `422` `UnprocessableEntity` Unprocessable Content
|
|
1262
1255
|
*/
|
|
1263
|
-
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:
|
|
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: "application/json", format: "json" }, params)),
|
|
1264
1257
|
/**
|
|
1265
1258
|
* No description
|
|
1266
1259
|
*
|
|
@@ -1294,7 +1287,7 @@ export class Api extends HttpClient {
|
|
|
1294
1287
|
* @response `200` `BusinessRule` OK
|
|
1295
1288
|
* @response `422` `UnprocessableEntity` Unprocessable Content
|
|
1296
1289
|
*/
|
|
1297
|
-
createBusinessRule: (data, params = {}) => this.request(Object.assign({ path: `/api/business-rules`, method: "POST", body: data, secure: true, type:
|
|
1290
|
+
createBusinessRule: (data, params = {}) => this.request(Object.assign({ path: `/api/business-rules`, method: "POST", body: data, secure: true, type: "application/json", format: "json" }, params)),
|
|
1298
1291
|
/**
|
|
1299
1292
|
* No description
|
|
1300
1293
|
*
|
|
@@ -1317,7 +1310,7 @@ export class Api extends HttpClient {
|
|
|
1317
1310
|
* @response `200` `BusinessRule` OK
|
|
1318
1311
|
* @response `422` `UnprocessableEntity` Unprocessable Content
|
|
1319
1312
|
*/
|
|
1320
|
-
replaceBusinessRule: (id, data, params = {}) => this.request(Object.assign({ path: `/api/business-rules/${id}`, method: "PUT", body: data, secure: true, type:
|
|
1313
|
+
replaceBusinessRule: (id, data, params = {}) => this.request(Object.assign({ path: `/api/business-rules/${id}`, method: "PUT", body: data, secure: true, type: "application/json", format: "json" }, params)),
|
|
1321
1314
|
/**
|
|
1322
1315
|
* No description
|
|
1323
1316
|
*
|
|
@@ -1350,7 +1343,7 @@ export class Api extends HttpClient {
|
|
|
1350
1343
|
* @secure
|
|
1351
1344
|
* @response `200` `ClosedLoansReport` OK
|
|
1352
1345
|
*/
|
|
1353
|
-
getClosedLoansReport: (data, params = {}) => this.request(Object.assign({ path: `/api/loans/reports/closed-loans`, method: "POST", body: data, secure: true, type:
|
|
1346
|
+
getClosedLoansReport: (data, params = {}) => this.request(Object.assign({ path: `/api/loans/reports/closed-loans`, method: "POST", body: data, secure: true, type: "application/json", format: "json" }, params)),
|
|
1354
1347
|
/**
|
|
1355
1348
|
* No description
|
|
1356
1349
|
*
|
|
@@ -1374,7 +1367,7 @@ export class Api extends HttpClient {
|
|
|
1374
1367
|
* @response `400` `ProblemDetails` Bad Request
|
|
1375
1368
|
* @response `409` `ProblemDetails` Conflict
|
|
1376
1369
|
*/
|
|
1377
|
-
createCompanyDocumentFolder: (data, params = {}) => this.request(Object.assign({ path: `/api/company-document-folders`, method: "POST", body: data, secure: true, type:
|
|
1370
|
+
createCompanyDocumentFolder: (data, params = {}) => this.request(Object.assign({ path: `/api/company-document-folders`, method: "POST", body: data, secure: true, type: "application/json", format: "json" }, params)),
|
|
1378
1371
|
/**
|
|
1379
1372
|
* No description
|
|
1380
1373
|
*
|
|
@@ -1400,7 +1393,7 @@ export class Api extends HttpClient {
|
|
|
1400
1393
|
* @response `404` `ProblemDetails` Not Found
|
|
1401
1394
|
* @response `409` `ProblemDetails` Conflict
|
|
1402
1395
|
*/
|
|
1403
|
-
updateCompanyDocumentFolder: (id, data, params = {}) => this.request(Object.assign({ path: `/api/company-document-folders/${id}`, method: "PUT", body: data, secure: true, type:
|
|
1396
|
+
updateCompanyDocumentFolder: (id, data, params = {}) => this.request(Object.assign({ path: `/api/company-document-folders/${id}`, method: "PUT", body: data, secure: true, type: "application/json", format: "json" }, params)),
|
|
1404
1397
|
/**
|
|
1405
1398
|
* No description
|
|
1406
1399
|
*
|
|
@@ -1426,7 +1419,7 @@ export class Api extends HttpClient {
|
|
|
1426
1419
|
* @response `200` `CompanyDocumentPaginated` OK
|
|
1427
1420
|
* @response `400` `ProblemDetails` Bad Request
|
|
1428
1421
|
*/
|
|
1429
|
-
searchCompanyDocuments: (data, query, params = {}) => this.request(Object.assign({ path: `/api/company-documents/search`, method: "POST", query: query, body: data, secure: true, type:
|
|
1422
|
+
searchCompanyDocuments: (data, query, params = {}) => this.request(Object.assign({ path: `/api/company-documents/search`, method: "POST", query: query, body: data, secure: true, type: "application/json", format: "json" }, params)),
|
|
1430
1423
|
/**
|
|
1431
1424
|
* No description
|
|
1432
1425
|
*
|
|
@@ -1452,7 +1445,7 @@ export class Api extends HttpClient {
|
|
|
1452
1445
|
* @response `404` `ProblemDetails` Not Found
|
|
1453
1446
|
* @response `409` `ProblemDetails` Conflict
|
|
1454
1447
|
*/
|
|
1455
|
-
updateCompanyDocument: (id, data, params = {}) => this.request(Object.assign({ path: `/api/company-documents/${id}`, method: "PUT", body: data, secure: true, type:
|
|
1448
|
+
updateCompanyDocument: (id, data, params = {}) => this.request(Object.assign({ path: `/api/company-documents/${id}`, method: "PUT", body: data, secure: true, type: "application/json", format: "json" }, params)),
|
|
1456
1449
|
/**
|
|
1457
1450
|
* No description
|
|
1458
1451
|
*
|
|
@@ -1476,7 +1469,7 @@ export class Api extends HttpClient {
|
|
|
1476
1469
|
* @response `200` `Record<string,string>` OK
|
|
1477
1470
|
* @response `400` `ProblemDetails` Bad Request
|
|
1478
1471
|
*/
|
|
1479
|
-
getCompanyDocumentPreviews: (data, params = {}) => this.request(Object.assign({ path: `/api/company-documents/previews`, method: "POST", body: data, secure: true, type:
|
|
1472
|
+
getCompanyDocumentPreviews: (data, params = {}) => this.request(Object.assign({ path: `/api/company-documents/previews`, method: "POST", body: data, secure: true, type: "application/json", format: "json" }, params)),
|
|
1480
1473
|
/**
|
|
1481
1474
|
* No description
|
|
1482
1475
|
*
|
|
@@ -1502,7 +1495,7 @@ export class Api extends HttpClient {
|
|
|
1502
1495
|
* @response `404` `ProblemDetails` Not Found
|
|
1503
1496
|
* @response `409` `ProblemDetails` Conflict
|
|
1504
1497
|
*/
|
|
1505
|
-
createCompanyDocument: (data, params = {}) => this.request(Object.assign({ path: `/api/company-documents`, method: "POST", body: data, secure: true, type:
|
|
1498
|
+
createCompanyDocument: (data, params = {}) => this.request(Object.assign({ path: `/api/company-documents`, method: "POST", body: data, secure: true, type: "multipart/form-data", format: "json" }, params)),
|
|
1506
1499
|
/**
|
|
1507
1500
|
* No description
|
|
1508
1501
|
*
|
|
@@ -1516,7 +1509,7 @@ export class Api extends HttpClient {
|
|
|
1516
1509
|
* @response `404` `ProblemDetails` Not Found
|
|
1517
1510
|
* @response `409` `ProblemDetails` Conflict
|
|
1518
1511
|
*/
|
|
1519
|
-
createCompanyTextDocument: (data, params = {}) => this.request(Object.assign({ path: `/api/company-documents/text`, method: "POST", body: data, secure: true, type:
|
|
1512
|
+
createCompanyTextDocument: (data, params = {}) => this.request(Object.assign({ path: `/api/company-documents/text`, method: "POST", body: data, secure: true, type: "application/json", format: "json" }, params)),
|
|
1520
1513
|
/**
|
|
1521
1514
|
* No description
|
|
1522
1515
|
*
|
|
@@ -1528,6 +1521,7 @@ export class Api extends HttpClient {
|
|
|
1528
1521
|
* @response `200` `CompanyDocument` OK
|
|
1529
1522
|
* @response `400` `ProblemDetails` Bad Request
|
|
1530
1523
|
* @response `404` `ProblemDetails` Not Found
|
|
1524
|
+
* @response `429` `ProblemDetails` Too Many Requests
|
|
1531
1525
|
*/
|
|
1532
1526
|
reindexCompanyDocument: (id, params = {}) => this.request(Object.assign({ path: `/api/company-documents/${id}/reindex`, method: "POST", secure: true, format: "json" }, params)),
|
|
1533
1527
|
/**
|
|
@@ -1574,7 +1568,7 @@ export class Api extends HttpClient {
|
|
|
1574
1568
|
* @response `200` `Corporate` OK
|
|
1575
1569
|
* @response `422` `UnprocessableEntity` Unprocessable Content
|
|
1576
1570
|
*/
|
|
1577
|
-
createCorporate: (data, params = {}) => this.request(Object.assign({ path: `/api/corporates`, method: "POST", body: data, secure: true, type:
|
|
1571
|
+
createCorporate: (data, params = {}) => this.request(Object.assign({ path: `/api/corporates`, method: "POST", body: data, secure: true, type: "application/json", format: "json" }, params)),
|
|
1578
1572
|
/**
|
|
1579
1573
|
* No description
|
|
1580
1574
|
*
|
|
@@ -1585,7 +1579,7 @@ export class Api extends HttpClient {
|
|
|
1585
1579
|
* @secure
|
|
1586
1580
|
* @response `200` `CorporatePaginated` OK
|
|
1587
1581
|
*/
|
|
1588
|
-
searchCorporate: (data, query, params = {}) => this.request(Object.assign({ path: `/api/corporates/search`, method: "POST", query: query, body: data, secure: true, type:
|
|
1582
|
+
searchCorporate: (data, query, params = {}) => this.request(Object.assign({ path: `/api/corporates/search`, method: "POST", query: query, body: data, secure: true, type: "application/json", format: "json" }, params)),
|
|
1589
1583
|
/**
|
|
1590
1584
|
* No description
|
|
1591
1585
|
*
|
|
@@ -1608,7 +1602,7 @@ export class Api extends HttpClient {
|
|
|
1608
1602
|
* @response `200` `Corporate` OK
|
|
1609
1603
|
* @response `422` `UnprocessableEntity` Unprocessable Content
|
|
1610
1604
|
*/
|
|
1611
|
-
replaceCorporate: (id, data, params = {}) => this.request(Object.assign({ path: `/api/corporates/${id}`, method: "PUT", body: data, secure: true, type:
|
|
1605
|
+
replaceCorporate: (id, data, params = {}) => this.request(Object.assign({ path: `/api/corporates/${id}`, method: "PUT", body: data, secure: true, type: "application/json", format: "json" }, params)),
|
|
1612
1606
|
/**
|
|
1613
1607
|
* No description
|
|
1614
1608
|
*
|
|
@@ -1642,7 +1636,7 @@ export class Api extends HttpClient {
|
|
|
1642
1636
|
* @response `200` `SiteConfiguration` OK
|
|
1643
1637
|
* @response `422` `UnprocessableEntity` Unprocessable Content
|
|
1644
1638
|
*/
|
|
1645
|
-
createCorporateSiteConfiguration: (corporateId, data, params = {}) => this.request(Object.assign({ path: `/api/corporates/${corporateId}/site-configurations`, method: "POST", body: data, secure: true, type:
|
|
1639
|
+
createCorporateSiteConfiguration: (corporateId, data, params = {}) => this.request(Object.assign({ path: `/api/corporates/${corporateId}/site-configurations`, method: "POST", body: data, secure: true, type: "application/json", format: "json" }, params)),
|
|
1646
1640
|
/**
|
|
1647
1641
|
* No description
|
|
1648
1642
|
*
|
|
@@ -1665,7 +1659,7 @@ export class Api extends HttpClient {
|
|
|
1665
1659
|
* @response `200` `SiteConfiguration` OK
|
|
1666
1660
|
* @response `422` `UnprocessableEntity` Unprocessable Content
|
|
1667
1661
|
*/
|
|
1668
|
-
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:
|
|
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: "application/json", format: "json" }, params)),
|
|
1669
1663
|
/**
|
|
1670
1664
|
* No description
|
|
1671
1665
|
*
|
|
@@ -1711,7 +1705,7 @@ export class Api extends HttpClient {
|
|
|
1711
1705
|
* @response `409` `ProblemDetails` Conflict
|
|
1712
1706
|
* @response `422` `ProblemDetails` Unprocessable Content
|
|
1713
1707
|
*/
|
|
1714
|
-
createCustomFieldDefinition: (data, params = {}) => this.request(Object.assign({ path: `/api/custom-field-definitions`, method: "POST", body: data, secure: true, type:
|
|
1708
|
+
createCustomFieldDefinition: (data, params = {}) => this.request(Object.assign({ path: `/api/custom-field-definitions`, method: "POST", body: data, secure: true, type: "application/json", format: "json" }, params)),
|
|
1715
1709
|
/**
|
|
1716
1710
|
* No description
|
|
1717
1711
|
*
|
|
@@ -1738,7 +1732,7 @@ export class Api extends HttpClient {
|
|
|
1738
1732
|
* @response `409` `ProblemDetails` Conflict
|
|
1739
1733
|
* @response `422` `ProblemDetails` Unprocessable Content
|
|
1740
1734
|
*/
|
|
1741
|
-
updateCustomFieldDefinition: (id, data, params = {}) => this.request(Object.assign({ path: `/api/custom-field-definitions/${id}`, method: "PUT", body: data, secure: true, type:
|
|
1735
|
+
updateCustomFieldDefinition: (id, data, params = {}) => this.request(Object.assign({ path: `/api/custom-field-definitions/${id}`, method: "PUT", body: data, secure: true, type: "application/json", format: "json" }, params)),
|
|
1742
1736
|
/**
|
|
1743
1737
|
* No description
|
|
1744
1738
|
*
|
|
@@ -1808,7 +1802,7 @@ export class Api extends HttpClient {
|
|
|
1808
1802
|
* @secure
|
|
1809
1803
|
* @response `200` `Device` OK
|
|
1810
1804
|
*/
|
|
1811
|
-
updateDevice: (id, data, params = {}) => this.request(Object.assign({ path: `/api/devices/${id}`, method: "PUT", body: data, secure: true, type:
|
|
1805
|
+
updateDevice: (id, data, params = {}) => this.request(Object.assign({ path: `/api/devices/${id}`, method: "PUT", body: data, secure: true, type: "application/json", format: "json" }, params)),
|
|
1812
1806
|
/**
|
|
1813
1807
|
* No description
|
|
1814
1808
|
*
|
|
@@ -1866,7 +1860,7 @@ export class Api extends HttpClient {
|
|
|
1866
1860
|
* @response `404` `ProblemDetails` Not Found
|
|
1867
1861
|
* @response `422` `UnprocessableEntity` Unprocessable Content
|
|
1868
1862
|
*/
|
|
1869
|
-
createDocumentTemplate: (data, params = {}) => this.request(Object.assign({ path: `/api/document-templates`, method: "POST", body: data, secure: true, type:
|
|
1863
|
+
createDocumentTemplate: (data, params = {}) => this.request(Object.assign({ path: `/api/document-templates`, method: "POST", body: data, secure: true, type: "application/json", format: "json" }, params)),
|
|
1870
1864
|
/**
|
|
1871
1865
|
* No description
|
|
1872
1866
|
*
|
|
@@ -1903,7 +1897,7 @@ export class Api extends HttpClient {
|
|
|
1903
1897
|
* @response `404` `ProblemDetails` Not Found
|
|
1904
1898
|
* @response `422` `UnprocessableEntity` Unprocessable Content
|
|
1905
1899
|
*/
|
|
1906
|
-
replaceDocumentTemplate: (id, data, params = {}) => this.request(Object.assign({ path: `/api/document-templates/${id}`, method: "PUT", body: data, secure: true, type:
|
|
1900
|
+
replaceDocumentTemplate: (id, data, params = {}) => this.request(Object.assign({ path: `/api/document-templates/${id}`, method: "PUT", body: data, secure: true, type: "application/json", format: "json" }, params)),
|
|
1907
1901
|
/**
|
|
1908
1902
|
* No description
|
|
1909
1903
|
*
|
|
@@ -1951,7 +1945,7 @@ export class Api extends HttpClient {
|
|
|
1951
1945
|
* @secure
|
|
1952
1946
|
* @response `200` `DocumentTemplateVersion` OK
|
|
1953
1947
|
*/
|
|
1954
|
-
createDocumentTemplateVersion: (documentId, data, params = {}) => this.request(Object.assign({ path: `/api/document-templates/${documentId}/versions`, method: "POST", body: data, secure: true, type:
|
|
1948
|
+
createDocumentTemplateVersion: (documentId, data, params = {}) => this.request(Object.assign({ path: `/api/document-templates/${documentId}/versions`, method: "POST", body: data, secure: true, type: "application/json", format: "json" }, params)),
|
|
1955
1949
|
/**
|
|
1956
1950
|
* No description
|
|
1957
1951
|
*
|
|
@@ -1973,7 +1967,7 @@ export class Api extends HttpClient {
|
|
|
1973
1967
|
* @secure
|
|
1974
1968
|
* @response `200` `DocumentTemplateVersion` OK
|
|
1975
1969
|
*/
|
|
1976
|
-
replaceDocumentTemplateVersion: (documentId, id, data, params = {}) => this.request(Object.assign({ path: `/api/document-templates/${documentId}/versions/${id}`, method: "PUT", body: data, secure: true, type:
|
|
1970
|
+
replaceDocumentTemplateVersion: (documentId, id, data, params = {}) => this.request(Object.assign({ path: `/api/document-templates/${documentId}/versions/${id}`, method: "PUT", body: data, secure: true, type: "application/json", format: "json" }, params)),
|
|
1977
1971
|
/**
|
|
1978
1972
|
* No description
|
|
1979
1973
|
*
|
|
@@ -2011,7 +2005,7 @@ export class Api extends HttpClient {
|
|
|
2011
2005
|
* @response `409` `void` Conflict
|
|
2012
2006
|
* @response `422` `ProblemDetails` Unprocessable Content
|
|
2013
2007
|
*/
|
|
2014
|
-
addEncompassCustomFieldMapping: (definitionId, data, params = {}) => this.request(Object.assign({ path: `/api/los/encompass/custom-field-mappings/${definitionId}`, method: "POST", body: data, secure: true, type:
|
|
2008
|
+
addEncompassCustomFieldMapping: (definitionId, data, params = {}) => this.request(Object.assign({ path: `/api/los/encompass/custom-field-mappings/${definitionId}`, method: "POST", body: data, secure: true, type: "application/json", format: "json" }, params)),
|
|
2015
2009
|
/**
|
|
2016
2010
|
* No description
|
|
2017
2011
|
*
|
|
@@ -2114,7 +2108,7 @@ export class Api extends HttpClient {
|
|
|
2114
2108
|
* @response `404` `EncompassError` Not Found
|
|
2115
2109
|
* @response `500` `EncompassError` Internal Server Error
|
|
2116
2110
|
*/
|
|
2117
|
-
createEncompassSession: (data, params = {}) => this.request(Object.assign({ path: `/api/los/encompass/eclose/sessions`, method: "POST", body: data, secure: true, type:
|
|
2111
|
+
createEncompassSession: (data, params = {}) => this.request(Object.assign({ path: `/api/los/encompass/eclose/sessions`, method: "POST", body: data, secure: true, type: "application/json", format: "json" }, params)),
|
|
2118
2112
|
/**
|
|
2119
2113
|
* No description
|
|
2120
2114
|
*
|
|
@@ -2128,7 +2122,7 @@ export class Api extends HttpClient {
|
|
|
2128
2122
|
* @response `401` `ProblemDetails` Unauthorized
|
|
2129
2123
|
* @response `403` `ProblemDetails` Forbidden
|
|
2130
2124
|
*/
|
|
2131
|
-
searchEncompassIntegrations: (data, query, params = {}) => this.request(Object.assign({ path: `/api/monitoring/encompass-integrations/search`, method: "POST", query: query, body: data, secure: true, type:
|
|
2125
|
+
searchEncompassIntegrations: (data, query, params = {}) => this.request(Object.assign({ path: `/api/monitoring/encompass-integrations/search`, method: "POST", query: query, body: data, secure: true, type: "application/json", format: "json" }, params)),
|
|
2132
2126
|
/**
|
|
2133
2127
|
* No description
|
|
2134
2128
|
*
|
|
@@ -2141,7 +2135,7 @@ export class Api extends HttpClient {
|
|
|
2141
2135
|
* @response `401` `ProblemDetails` Unauthorized
|
|
2142
2136
|
* @response `403` `ProblemDetails` Forbidden
|
|
2143
2137
|
*/
|
|
2144
|
-
getEncompassIntegrationsSummary: (data, query, params = {}) => this.request(Object.assign({ path: `/api/monitoring/encompass-integrations/summary`, method: "POST", query: query, body: data, secure: true, type:
|
|
2138
|
+
getEncompassIntegrationsSummary: (data, query, params = {}) => this.request(Object.assign({ path: `/api/monitoring/encompass-integrations/summary`, method: "POST", query: query, body: data, secure: true, type: "application/json", format: "json" }, params)),
|
|
2145
2139
|
/**
|
|
2146
2140
|
* No description
|
|
2147
2141
|
*
|
|
@@ -2155,7 +2149,7 @@ export class Api extends HttpClient {
|
|
|
2155
2149
|
* @response `401` `ProblemDetails` Unauthorized
|
|
2156
2150
|
* @response `403` `ProblemDetails` Forbidden
|
|
2157
2151
|
*/
|
|
2158
|
-
getEncompassIntegrationsHealth: (data, params = {}) => this.request(Object.assign({ path: `/api/monitoring/encompass-integrations/health`, method: "POST", body: data, secure: true, type:
|
|
2152
|
+
getEncompassIntegrationsHealth: (data, params = {}) => this.request(Object.assign({ path: `/api/monitoring/encompass-integrations/health`, method: "POST", body: data, secure: true, type: "application/json", format: "json" }, params)),
|
|
2159
2153
|
/**
|
|
2160
2154
|
* No description
|
|
2161
2155
|
*
|
|
@@ -2182,7 +2176,7 @@ export class Api extends HttpClient {
|
|
|
2182
2176
|
* @response `401` `ProblemDetails` Unauthorized
|
|
2183
2177
|
* @response `403` `ProblemDetails` Forbidden
|
|
2184
2178
|
*/
|
|
2185
|
-
getEncompassIntegrationsWebhooks: (data, params = {}) => this.request(Object.assign({ path: `/api/monitoring/encompass-integrations/webhooks`, method: "POST", body: data, secure: true, type:
|
|
2179
|
+
getEncompassIntegrationsWebhooks: (data, params = {}) => this.request(Object.assign({ path: `/api/monitoring/encompass-integrations/webhooks`, method: "POST", body: data, secure: true, type: "application/json", format: "json" }, params)),
|
|
2186
2180
|
/**
|
|
2187
2181
|
* No description
|
|
2188
2182
|
*
|
|
@@ -2223,7 +2217,7 @@ export class Api extends HttpClient {
|
|
|
2223
2217
|
* @response `403` `ProblemDetails` Forbidden
|
|
2224
2218
|
* @response `404` `ProblemDetails` Not Found
|
|
2225
2219
|
*/
|
|
2226
|
-
updateEncompassIntegrationCredentials: (accountId, data, params = {}) => this.request(Object.assign({ path: `/api/monitoring/encompass-integrations/${accountId}/credentials`, method: "PUT", body: data, secure: true, type:
|
|
2220
|
+
updateEncompassIntegrationCredentials: (accountId, data, params = {}) => this.request(Object.assign({ path: `/api/monitoring/encompass-integrations/${accountId}/credentials`, method: "PUT", body: data, secure: true, type: "application/json", format: "json" }, params)),
|
|
2227
2221
|
/**
|
|
2228
2222
|
* No description
|
|
2229
2223
|
*
|
|
@@ -2237,7 +2231,7 @@ export class Api extends HttpClient {
|
|
|
2237
2231
|
* @response `401` `ProblemDetails` Unauthorized
|
|
2238
2232
|
* @response `403` `ProblemDetails` Forbidden
|
|
2239
2233
|
*/
|
|
2240
|
-
registerEncompassIntegrationWebhook: (accountId, data, params = {}) => this.request(Object.assign({ path: `/api/monitoring/encompass-integrations/${accountId}/webhooks`, method: "POST", body: data, secure: true, type:
|
|
2234
|
+
registerEncompassIntegrationWebhook: (accountId, data, params = {}) => this.request(Object.assign({ path: `/api/monitoring/encompass-integrations/${accountId}/webhooks`, method: "POST", body: data, secure: true, type: "application/json", format: "json" }, params)),
|
|
2241
2235
|
/**
|
|
2242
2236
|
* No description
|
|
2243
2237
|
*
|
|
@@ -2274,7 +2268,7 @@ export class Api extends HttpClient {
|
|
|
2274
2268
|
* @response `201` `File` Created
|
|
2275
2269
|
* @response `422` `UnprocessableEntity` Unprocessable Content
|
|
2276
2270
|
*/
|
|
2277
|
-
uploadFile: (data, params = {}) => this.request(Object.assign({ path: `/api/files`, method: "POST", body: data, secure: true, type:
|
|
2271
|
+
uploadFile: (data, params = {}) => this.request(Object.assign({ path: `/api/files`, method: "POST", body: data, secure: true, type: "multipart/form-data", format: "json" }, params)),
|
|
2278
2272
|
/**
|
|
2279
2273
|
* No description
|
|
2280
2274
|
*
|
|
@@ -2297,7 +2291,7 @@ export class Api extends HttpClient {
|
|
|
2297
2291
|
* @response `200` `string` OK
|
|
2298
2292
|
* @response `422` `UnprocessableEntity` Unprocessable Content
|
|
2299
2293
|
*/
|
|
2300
|
-
replaceFile: (id, data, params = {}) => this.request(Object.assign({ path: `/api/files/${id}`, method: "PUT", body: data, secure: true, type:
|
|
2294
|
+
replaceFile: (id, data, params = {}) => this.request(Object.assign({ path: `/api/files/${id}`, method: "PUT", body: data, secure: true, type: "application/json", format: "json" }, params)),
|
|
2301
2295
|
/**
|
|
2302
2296
|
* No description
|
|
2303
2297
|
*
|
|
@@ -2319,7 +2313,7 @@ export class Api extends HttpClient {
|
|
|
2319
2313
|
* @secure
|
|
2320
2314
|
* @response `200` `FilePaginated` OK
|
|
2321
2315
|
*/
|
|
2322
|
-
searchFiles: (data, query, params = {}) => this.request(Object.assign({ path: `/api/files/search`, method: "POST", query: query, body: data, secure: true, type:
|
|
2316
|
+
searchFiles: (data, query, params = {}) => this.request(Object.assign({ path: `/api/files/search`, method: "POST", query: query, body: data, secure: true, type: "application/json", format: "json" }, params)),
|
|
2323
2317
|
/**
|
|
2324
2318
|
* No description
|
|
2325
2319
|
*
|
|
@@ -2342,7 +2336,7 @@ export class Api extends HttpClient {
|
|
|
2342
2336
|
* @response `201` `Form` Created
|
|
2343
2337
|
* @response `422` `UnprocessableEntity` Unprocessable Content
|
|
2344
2338
|
*/
|
|
2345
|
-
createForm: (data, params = {}) => this.request(Object.assign({ path: `/api/forms`, method: "POST", body: data, secure: true, type:
|
|
2339
|
+
createForm: (data, params = {}) => this.request(Object.assign({ path: `/api/forms`, method: "POST", body: data, secure: true, type: "application/json", format: "json" }, params)),
|
|
2346
2340
|
/**
|
|
2347
2341
|
* No description
|
|
2348
2342
|
*
|
|
@@ -2365,7 +2359,7 @@ export class Api extends HttpClient {
|
|
|
2365
2359
|
* @response `200` `Form` OK
|
|
2366
2360
|
* @response `422` `UnprocessableEntity` Unprocessable Content
|
|
2367
2361
|
*/
|
|
2368
|
-
replaceForm: (id, data, params = {}) => this.request(Object.assign({ path: `/api/forms/${id}`, method: "PUT", body: data, secure: true, type:
|
|
2362
|
+
replaceForm: (id, data, params = {}) => this.request(Object.assign({ path: `/api/forms/${id}`, method: "PUT", body: data, secure: true, type: "application/json", format: "json" }, params)),
|
|
2369
2363
|
/**
|
|
2370
2364
|
* No description
|
|
2371
2365
|
*
|
|
@@ -2398,7 +2392,7 @@ export class Api extends HttpClient {
|
|
|
2398
2392
|
* @secure
|
|
2399
2393
|
* @response `200` `FormSubmissionFile` OK
|
|
2400
2394
|
*/
|
|
2401
|
-
addFormSubmissionFile: (formSubmissionId, data, params = {}) => this.request(Object.assign({ path: `/api/form-submissions/${formSubmissionId}/files`, method: "POST", body: data, secure: true, type:
|
|
2395
|
+
addFormSubmissionFile: (formSubmissionId, data, params = {}) => this.request(Object.assign({ path: `/api/form-submissions/${formSubmissionId}/files`, method: "POST", body: data, secure: true, type: "multipart/form-data", format: "json" }, params)),
|
|
2402
2396
|
/**
|
|
2403
2397
|
* No description
|
|
2404
2398
|
*
|
|
@@ -2442,7 +2436,7 @@ export class Api extends HttpClient {
|
|
|
2442
2436
|
* @secure
|
|
2443
2437
|
* @response `201` `FormSubmission` Created
|
|
2444
2438
|
*/
|
|
2445
|
-
createFormSubmission: (data, query, params = {}) => this.request(Object.assign({ path: `/api/form-submissions`, method: "POST", query: query, body: data, secure: true, type:
|
|
2439
|
+
createFormSubmission: (data, query, params = {}) => this.request(Object.assign({ path: `/api/form-submissions`, method: "POST", query: query, body: data, secure: true, type: "application/json", format: "json" }, params)),
|
|
2446
2440
|
/**
|
|
2447
2441
|
* No description
|
|
2448
2442
|
*
|
|
@@ -2464,7 +2458,7 @@ export class Api extends HttpClient {
|
|
|
2464
2458
|
* @secure
|
|
2465
2459
|
* @response `200` `FormSubmission` OK
|
|
2466
2460
|
*/
|
|
2467
|
-
replaceFormSubmission: (id, data, params = {}) => this.request(Object.assign({ path: `/api/form-submissions/${id}`, method: "PUT", body: data, secure: true, type:
|
|
2461
|
+
replaceFormSubmission: (id, data, params = {}) => this.request(Object.assign({ path: `/api/form-submissions/${id}`, method: "PUT", body: data, secure: true, type: "application/json", format: "json" }, params)),
|
|
2468
2462
|
/**
|
|
2469
2463
|
* No description
|
|
2470
2464
|
*
|
|
@@ -2486,7 +2480,7 @@ export class Api extends HttpClient {
|
|
|
2486
2480
|
* @secure
|
|
2487
2481
|
* @response `200` `FormSubmissionPaginated` OK
|
|
2488
2482
|
*/
|
|
2489
|
-
searchFormSubmissions: (data, query, params = {}) => this.request(Object.assign({ path: `/api/form-submissions/search`, method: "POST", query: query, body: data, secure: true, type:
|
|
2483
|
+
searchFormSubmissions: (data, query, params = {}) => this.request(Object.assign({ path: `/api/form-submissions/search`, method: "POST", query: query, body: data, secure: true, type: "application/json", format: "json" }, params)),
|
|
2490
2484
|
/**
|
|
2491
2485
|
* No description
|
|
2492
2486
|
*
|
|
@@ -2508,7 +2502,7 @@ export class Api extends HttpClient {
|
|
|
2508
2502
|
* @secure
|
|
2509
2503
|
* @response `200` `FormVersion` OK
|
|
2510
2504
|
*/
|
|
2511
|
-
createFormVersion: (formId, data, params = {}) => this.request(Object.assign({ path: `/api/forms/${formId}/versions`, method: "POST", body: data, secure: true, type:
|
|
2505
|
+
createFormVersion: (formId, data, params = {}) => this.request(Object.assign({ path: `/api/forms/${formId}/versions`, method: "POST", body: data, secure: true, type: "application/json", format: "json" }, params)),
|
|
2512
2506
|
/**
|
|
2513
2507
|
* No description
|
|
2514
2508
|
*
|
|
@@ -2530,7 +2524,7 @@ export class Api extends HttpClient {
|
|
|
2530
2524
|
* @secure
|
|
2531
2525
|
* @response `200` `FormVersion` OK
|
|
2532
2526
|
*/
|
|
2533
|
-
replaceFormVersion: (formId, id, data, params = {}) => this.request(Object.assign({ path: `/api/forms/${formId}/versions/${id}`, method: "PUT", body: data, secure: true, type:
|
|
2527
|
+
replaceFormVersion: (formId, id, data, params = {}) => this.request(Object.assign({ path: `/api/forms/${formId}/versions/${id}`, method: "PUT", body: data, secure: true, type: "application/json", format: "json" }, params)),
|
|
2534
2528
|
/**
|
|
2535
2529
|
* No description
|
|
2536
2530
|
*
|
|
@@ -2576,7 +2570,7 @@ export class Api extends HttpClient {
|
|
|
2576
2570
|
* @response `200` `string` OK
|
|
2577
2571
|
* @response `422` `UnprocessableEntity` Unprocessable Content
|
|
2578
2572
|
*/
|
|
2579
|
-
updateLoanConsentAndCustomFieldsObsolete: (loanId, data, params = {}) => this.request(Object.assign({ path: `/api/los/loan/application/${loanId}`, method: "PATCH", body: data, secure: true, type:
|
|
2573
|
+
updateLoanConsentAndCustomFieldsObsolete: (loanId, data, params = {}) => this.request(Object.assign({ path: `/api/los/loan/application/${loanId}`, method: "PATCH", body: data, secure: true, type: "application/json", format: "json" }, params)),
|
|
2580
2574
|
/**
|
|
2581
2575
|
* No description
|
|
2582
2576
|
*
|
|
@@ -2587,7 +2581,7 @@ export class Api extends HttpClient {
|
|
|
2587
2581
|
* @secure
|
|
2588
2582
|
* @response `200` `GetReport` OK
|
|
2589
2583
|
*/
|
|
2590
|
-
getLoansReport: (data, params = {}) => this.request(Object.assign({ path: `/api/los/loan/reports`, method: "POST", body: data, secure: true, type:
|
|
2584
|
+
getLoansReport: (data, params = {}) => this.request(Object.assign({ path: `/api/los/loan/reports`, method: "POST", body: data, secure: true, type: "application/json", format: "json" }, params)),
|
|
2591
2585
|
/**
|
|
2592
2586
|
* No description
|
|
2593
2587
|
*
|
|
@@ -2601,7 +2595,7 @@ export class Api extends HttpClient {
|
|
|
2601
2595
|
* @response `422` `UnprocessableEntity` Unprocessable Content
|
|
2602
2596
|
* @response `423` `UnprocessableEntity` Locked
|
|
2603
2597
|
*/
|
|
2604
|
-
createLoan: (data, query, params = {}) => this.request(Object.assign({ path: `/api/los/loan/application`, method: "POST", query: query, body: data, secure: true, type:
|
|
2598
|
+
createLoan: (data, query, params = {}) => this.request(Object.assign({ path: `/api/los/loan/application`, method: "POST", query: query, body: data, secure: true, type: "application/json", format: "json" }, params)),
|
|
2605
2599
|
/**
|
|
2606
2600
|
* No description
|
|
2607
2601
|
*
|
|
@@ -2614,7 +2608,7 @@ export class Api extends HttpClient {
|
|
|
2614
2608
|
* @response `422` `UnprocessableEntity` Unprocessable Content
|
|
2615
2609
|
* @response `423` `UnprocessableEntity` Locked
|
|
2616
2610
|
*/
|
|
2617
|
-
createLoanInternal: (data, query, params = {}) => this.request(Object.assign({ path: `/api/los/loan/application/internal`, method: "POST", query: query, body: data, secure: true, type:
|
|
2611
|
+
createLoanInternal: (data, query, params = {}) => this.request(Object.assign({ path: `/api/los/loan/application/internal`, method: "POST", query: query, body: data, secure: true, type: "application/json", format: "json" }, params)),
|
|
2618
2612
|
/**
|
|
2619
2613
|
* No description
|
|
2620
2614
|
*
|
|
@@ -2626,7 +2620,7 @@ export class Api extends HttpClient {
|
|
|
2626
2620
|
* @response `200` `string` OK
|
|
2627
2621
|
* @response `422` `UnprocessableEntity` Unprocessable Content
|
|
2628
2622
|
*/
|
|
2629
|
-
updateLoanCustomFields: (loanId, data, params = {}) => this.request(Object.assign({ path: `/api/los/loan/application/${loanId}/custom-fields`, method: "PATCH", body: data, secure: true, type:
|
|
2623
|
+
updateLoanCustomFields: (loanId, data, params = {}) => this.request(Object.assign({ path: `/api/los/loan/application/${loanId}/custom-fields`, method: "PATCH", body: data, secure: true, type: "application/json", format: "json" }, params)),
|
|
2630
2624
|
/**
|
|
2631
2625
|
* No description
|
|
2632
2626
|
*
|
|
@@ -2639,7 +2633,7 @@ export class Api extends HttpClient {
|
|
|
2639
2633
|
* @response `202` `string` Accepted
|
|
2640
2634
|
* @response `422` `UnprocessableEntity` Unprocessable Content
|
|
2641
2635
|
*/
|
|
2642
|
-
updateLoanConsent: (loanId, data, params = {}) => this.request(Object.assign({ path: `/api/los/loan/application/${loanId}/consent`, method: "PATCH", body: data, secure: true, type:
|
|
2636
|
+
updateLoanConsent: (loanId, data, params = {}) => this.request(Object.assign({ path: `/api/los/loan/application/${loanId}/consent`, method: "PATCH", body: data, secure: true, type: "application/json", format: "json" }, params)),
|
|
2643
2637
|
/**
|
|
2644
2638
|
* No description
|
|
2645
2639
|
*
|
|
@@ -2719,7 +2713,7 @@ export class Api extends HttpClient {
|
|
|
2719
2713
|
* @secure
|
|
2720
2714
|
* @response `200` `ListingFile` OK
|
|
2721
2715
|
*/
|
|
2722
|
-
addListingFile: (listingId, data, params = {}) => this.request(Object.assign({ path: `/api/listings/${listingId}/files`, method: "POST", body: data, secure: true, type:
|
|
2716
|
+
addListingFile: (listingId, data, params = {}) => this.request(Object.assign({ path: `/api/listings/${listingId}/files`, method: "POST", body: data, secure: true, type: "multipart/form-data", format: "json" }, params)),
|
|
2723
2717
|
/**
|
|
2724
2718
|
* No description
|
|
2725
2719
|
*
|
|
@@ -2730,7 +2724,7 @@ export class Api extends HttpClient {
|
|
|
2730
2724
|
* @secure
|
|
2731
2725
|
* @response `200` `ListingFile` OK
|
|
2732
2726
|
*/
|
|
2733
|
-
updateListingFiles: (listingId, data, params = {}) => this.request(Object.assign({ path: `/api/listings/${listingId}/files`, method: "PATCH", body: data, secure: true, type:
|
|
2727
|
+
updateListingFiles: (listingId, data, params = {}) => this.request(Object.assign({ path: `/api/listings/${listingId}/files`, method: "PATCH", body: data, secure: true, type: "application/json", format: "json" }, params)),
|
|
2734
2728
|
/**
|
|
2735
2729
|
* No description
|
|
2736
2730
|
*
|
|
@@ -2752,7 +2746,7 @@ export class Api extends HttpClient {
|
|
|
2752
2746
|
* @secure
|
|
2753
2747
|
* @response `200` `ListingPhoto` OK
|
|
2754
2748
|
*/
|
|
2755
|
-
addListingPhoto: (listingId, data, params = {}) => this.request(Object.assign({ path: `/api/listings/${listingId}/photos`, method: "POST", body: data, secure: true, type:
|
|
2749
|
+
addListingPhoto: (listingId, data, params = {}) => this.request(Object.assign({ path: `/api/listings/${listingId}/photos`, method: "POST", body: data, secure: true, type: "multipart/form-data", format: "json" }, params)),
|
|
2756
2750
|
/**
|
|
2757
2751
|
* No description
|
|
2758
2752
|
*
|
|
@@ -2763,7 +2757,7 @@ export class Api extends HttpClient {
|
|
|
2763
2757
|
* @secure
|
|
2764
2758
|
* @response `200` `(ListingPhoto)[]` OK
|
|
2765
2759
|
*/
|
|
2766
|
-
updateListingPhotos: (listingId, data, params = {}) => this.request(Object.assign({ path: `/api/listings/${listingId}/photos`, method: "PATCH", body: data, secure: true, type:
|
|
2760
|
+
updateListingPhotos: (listingId, data, params = {}) => this.request(Object.assign({ path: `/api/listings/${listingId}/photos`, method: "PATCH", body: data, secure: true, type: "application/json", format: "json" }, params)),
|
|
2767
2761
|
/**
|
|
2768
2762
|
* No description
|
|
2769
2763
|
*
|
|
@@ -2796,7 +2790,7 @@ export class Api extends HttpClient {
|
|
|
2796
2790
|
* @secure
|
|
2797
2791
|
* @response `201` `Listing` Created
|
|
2798
2792
|
*/
|
|
2799
|
-
createListing: (data, params = {}) => this.request(Object.assign({ path: `/api/listings`, method: "POST", body: data, secure: true, type:
|
|
2793
|
+
createListing: (data, params = {}) => this.request(Object.assign({ path: `/api/listings`, method: "POST", body: data, secure: true, type: "application/json", format: "json" }, params)),
|
|
2800
2794
|
/**
|
|
2801
2795
|
* No description
|
|
2802
2796
|
*
|
|
@@ -2829,7 +2823,7 @@ export class Api extends HttpClient {
|
|
|
2829
2823
|
* @secure
|
|
2830
2824
|
* @response `200` `Listing` OK
|
|
2831
2825
|
*/
|
|
2832
|
-
replaceListing: (id, data, params = {}) => this.request(Object.assign({ path: `/api/listings/${id}`, method: "PUT", body: data, secure: true, type:
|
|
2826
|
+
replaceListing: (id, data, params = {}) => this.request(Object.assign({ path: `/api/listings/${id}`, method: "PUT", body: data, secure: true, type: "application/json", format: "json" }, params)),
|
|
2833
2827
|
/**
|
|
2834
2828
|
* No description
|
|
2835
2829
|
*
|
|
@@ -2851,7 +2845,7 @@ export class Api extends HttpClient {
|
|
|
2851
2845
|
* @secure
|
|
2852
2846
|
* @response `200` `ListingPaginated` OK
|
|
2853
2847
|
*/
|
|
2854
|
-
searchListings: (data, query, params = {}) => this.request(Object.assign({ path: `/api/listings/search`, method: "POST", query: query, body: data, secure: true, type:
|
|
2848
|
+
searchListings: (data, query, params = {}) => this.request(Object.assign({ path: `/api/listings/search`, method: "POST", query: query, body: data, secure: true, type: "application/json", format: "json" }, params)),
|
|
2855
2849
|
/**
|
|
2856
2850
|
* No description
|
|
2857
2851
|
*
|
|
@@ -2862,7 +2856,7 @@ export class Api extends HttpClient {
|
|
|
2862
2856
|
* @secure
|
|
2863
2857
|
* @response `200` `File` OK
|
|
2864
2858
|
*/
|
|
2865
|
-
updateListingBackgroundImage: (id, data, params = {}) => this.request(Object.assign({ path: `/api/listings/${id}/background-image`, method: "PUT", body: data, secure: true, type:
|
|
2859
|
+
updateListingBackgroundImage: (id, data, params = {}) => this.request(Object.assign({ path: `/api/listings/${id}/background-image`, method: "PUT", body: data, secure: true, type: "multipart/form-data", format: "json" }, params)),
|
|
2866
2860
|
/**
|
|
2867
2861
|
* No description
|
|
2868
2862
|
*
|
|
@@ -2908,7 +2902,7 @@ export class Api extends HttpClient {
|
|
|
2908
2902
|
* @response `422` `UnprocessableEntity` Unprocessable Content
|
|
2909
2903
|
* @response `423` `UnprocessableEntity` Locked
|
|
2910
2904
|
*/
|
|
2911
|
-
runLoanCalculator: (loanId, data, params = {}) => this.request(Object.assign({ path: `/api/loans/${loanId}/calculators/loan-calculator`, method: "POST", body: data, secure: true, type:
|
|
2905
|
+
runLoanCalculator: (loanId, data, params = {}) => this.request(Object.assign({ path: `/api/loans/${loanId}/calculators/loan-calculator`, method: "POST", body: data, secure: true, type: "application/json", format: "json" }, params)),
|
|
2912
2906
|
/**
|
|
2913
2907
|
* No description
|
|
2914
2908
|
*
|
|
@@ -2932,7 +2926,7 @@ export class Api extends HttpClient {
|
|
|
2932
2926
|
* @response `422` `UnprocessableEntity` Unprocessable Content
|
|
2933
2927
|
* @response `423` `UnprocessableEntity` Locked
|
|
2934
2928
|
*/
|
|
2935
|
-
createLoanComparison: (loanId, index, data, params = {}) => this.request(Object.assign({ path: `/api/loans/${loanId}/loan-comparison/${index}`, method: "POST", body: data, secure: true, type:
|
|
2929
|
+
createLoanComparison: (loanId, index, data, params = {}) => this.request(Object.assign({ path: `/api/loans/${loanId}/loan-comparison/${index}`, method: "POST", body: data, secure: true, type: "application/json", format: "json" }, params)),
|
|
2936
2930
|
/**
|
|
2937
2931
|
* No description
|
|
2938
2932
|
*
|
|
@@ -2955,7 +2949,7 @@ export class Api extends HttpClient {
|
|
|
2955
2949
|
* @response `204` `void` No Content
|
|
2956
2950
|
* @response `422` `UnprocessableEntity` Unprocessable Content
|
|
2957
2951
|
*/
|
|
2958
|
-
createLoanComparisonPdf: (loanId, data, params = {}) => this.request(Object.assign({ path: `/api/loans/${loanId}/loan-comparison/pdf`, method: "POST", body: data, secure: true, type:
|
|
2952
|
+
createLoanComparisonPdf: (loanId, data, params = {}) => this.request(Object.assign({ path: `/api/loans/${loanId}/loan-comparison/pdf`, method: "POST", body: data, secure: true, type: "application/json" }, params)),
|
|
2959
2953
|
/**
|
|
2960
2954
|
* No description
|
|
2961
2955
|
*
|
|
@@ -2992,7 +2986,7 @@ export class Api extends HttpClient {
|
|
|
2992
2986
|
* @response `400` `ProblemDetails` Bad Request
|
|
2993
2987
|
* @response `422` `ProblemDetails` Unprocessable Content
|
|
2994
2988
|
*/
|
|
2995
|
-
bulkSetLoanCustomFieldValues: (loanId, data, params = {}) => this.request(Object.assign({ path: `/api/loans/${loanId}/custom-fields`, method: "PUT", body: data, secure: true, type:
|
|
2989
|
+
bulkSetLoanCustomFieldValues: (loanId, data, params = {}) => this.request(Object.assign({ path: `/api/loans/${loanId}/custom-fields`, method: "PUT", body: data, secure: true, type: "application/json" }, params)),
|
|
2996
2990
|
/**
|
|
2997
2991
|
* No description
|
|
2998
2992
|
*
|
|
@@ -3006,7 +3000,7 @@ export class Api extends HttpClient {
|
|
|
3006
3000
|
* @response `404` `ProblemDetails` Not Found
|
|
3007
3001
|
* @response `422` `ProblemDetails` Unprocessable Content
|
|
3008
3002
|
*/
|
|
3009
|
-
setLoanCustomFieldValue: (loanId, definitionId, data, params = {}) => this.request(Object.assign({ path: `/api/loans/${loanId}/custom-fields/${definitionId}`, method: "PUT", body: data, secure: true, type:
|
|
3003
|
+
setLoanCustomFieldValue: (loanId, definitionId, data, params = {}) => this.request(Object.assign({ path: `/api/loans/${loanId}/custom-fields/${definitionId}`, method: "PUT", body: data, secure: true, type: "application/json" }, params)),
|
|
3010
3004
|
/**
|
|
3011
3005
|
* No description
|
|
3012
3006
|
*
|
|
@@ -3041,7 +3035,7 @@ export class Api extends HttpClient {
|
|
|
3041
3035
|
* @secure
|
|
3042
3036
|
* @response `200` `LoanDocumentFolderPaginated` OK
|
|
3043
3037
|
*/
|
|
3044
|
-
searchLoanDocumentFolders: (data, query, params = {}) => this.request(Object.assign({ path: `/api/loan-document-folders/search`, method: "POST", query: query, body: data, secure: true, type:
|
|
3038
|
+
searchLoanDocumentFolders: (data, query, params = {}) => this.request(Object.assign({ path: `/api/loan-document-folders/search`, method: "POST", query: query, body: data, secure: true, type: "application/json", format: "json" }, params)),
|
|
3045
3039
|
/**
|
|
3046
3040
|
* No description
|
|
3047
3041
|
*
|
|
@@ -3068,7 +3062,7 @@ export class Api extends HttpClient {
|
|
|
3068
3062
|
* @response `409` `ProblemDetails` Conflict
|
|
3069
3063
|
* @response `422` `ProblemDetails` Unprocessable Content
|
|
3070
3064
|
*/
|
|
3071
|
-
updateLoanDocumentFolder: (id, data, params = {}) => this.request(Object.assign({ path: `/api/loan-document-folders/${id}`, method: "PUT", body: data, secure: true, type:
|
|
3065
|
+
updateLoanDocumentFolder: (id, data, params = {}) => this.request(Object.assign({ path: `/api/loan-document-folders/${id}`, method: "PUT", body: data, secure: true, type: "application/json", format: "json" }, params)),
|
|
3072
3066
|
/**
|
|
3073
3067
|
* No description
|
|
3074
3068
|
*
|
|
@@ -3095,7 +3089,7 @@ export class Api extends HttpClient {
|
|
|
3095
3089
|
* @response `409` `ProblemDetails` Conflict
|
|
3096
3090
|
* @response `422` `ProblemDetails` Unprocessable Content
|
|
3097
3091
|
*/
|
|
3098
|
-
createLoanDocumentFolder: (data, params = {}) => this.request(Object.assign({ path: `/api/loan-document-folders`, method: "POST", body: data, secure: true, type:
|
|
3092
|
+
createLoanDocumentFolder: (data, params = {}) => this.request(Object.assign({ path: `/api/loan-document-folders`, method: "POST", body: data, secure: true, type: "application/json", format: "json" }, params)),
|
|
3099
3093
|
/**
|
|
3100
3094
|
* No description
|
|
3101
3095
|
*
|
|
@@ -3155,7 +3149,7 @@ export class Api extends HttpClient {
|
|
|
3155
3149
|
* @secure
|
|
3156
3150
|
* @response `200` `(DocumentFolder)[]` OK
|
|
3157
3151
|
*/
|
|
3158
|
-
getLoanDocumentFolders: (loanId, data, query, params = {}) => this.request(Object.assign({ path: `/api/loans/${loanId}/documents/folders`, method: "POST", query: query, body: data, secure: true, type:
|
|
3152
|
+
getLoanDocumentFolders: (loanId, data, query, params = {}) => this.request(Object.assign({ path: `/api/loans/${loanId}/documents/folders`, method: "POST", query: query, body: data, secure: true, type: "application/json", format: "json" }, params)),
|
|
3159
3153
|
/**
|
|
3160
3154
|
* No description
|
|
3161
3155
|
*
|
|
@@ -3179,7 +3173,7 @@ export class Api extends HttpClient {
|
|
|
3179
3173
|
* @response `200` `Record<string,string>` OK
|
|
3180
3174
|
* @response `400` `ProblemDetails` Bad Request
|
|
3181
3175
|
*/
|
|
3182
|
-
getLoanDocumentPreviews: (loanId, data, params = {}) => this.request(Object.assign({ path: `/api/loans/${loanId}/documents/previews`, method: "POST", body: data, secure: true, type:
|
|
3176
|
+
getLoanDocumentPreviews: (loanId, data, params = {}) => this.request(Object.assign({ path: `/api/loans/${loanId}/documents/previews`, method: "POST", body: data, secure: true, type: "application/json", format: "json" }, params)),
|
|
3183
3177
|
/**
|
|
3184
3178
|
* No description
|
|
3185
3179
|
*
|
|
@@ -3190,7 +3184,7 @@ export class Api extends HttpClient {
|
|
|
3190
3184
|
* @secure
|
|
3191
3185
|
* @response `200` `LoanDocumentSearchPaginated` OK
|
|
3192
3186
|
*/
|
|
3193
|
-
searchLoanDocuments: (loanId, data, query, params = {}) => this.request(Object.assign({ path: `/api/loans/${loanId}/documents/search`, method: "POST", query: query, body: data, secure: true, type:
|
|
3187
|
+
searchLoanDocuments: (loanId, data, query, params = {}) => this.request(Object.assign({ path: `/api/loans/${loanId}/documents/search`, method: "POST", query: query, body: data, secure: true, type: "application/json", format: "json" }, params)),
|
|
3194
3188
|
/**
|
|
3195
3189
|
* No description
|
|
3196
3190
|
*
|
|
@@ -3199,7 +3193,7 @@ export class Api extends HttpClient {
|
|
|
3199
3193
|
* @summary Download By ID
|
|
3200
3194
|
* @request GET:/api/loans/{loanId}/documents/{documentId}/download
|
|
3201
3195
|
* @secure
|
|
3202
|
-
* @response `200` `
|
|
3196
|
+
* @response `200` `Blob` OK
|
|
3203
3197
|
* @response `404` `ProblemDetails` Not Found
|
|
3204
3198
|
*/
|
|
3205
3199
|
downloadLoanDocument: (loanId, documentId, params = {}) => this.request(Object.assign({ path: `/api/loans/${loanId}/documents/${documentId}/download`, method: "GET", secure: true, format: "json" }, params)),
|
|
@@ -3215,7 +3209,7 @@ export class Api extends HttpClient {
|
|
|
3215
3209
|
* @response `404` `ProblemDetails` Not Found
|
|
3216
3210
|
* @response `422` `UnprocessableEntity` Unprocessable Content
|
|
3217
3211
|
*/
|
|
3218
|
-
createLoanDocument: (loanId, data, params = {}) => this.request(Object.assign({ path: `/api/loans/${loanId}/documents`, method: "POST", body: data, secure: true, type:
|
|
3212
|
+
createLoanDocument: (loanId, data, params = {}) => this.request(Object.assign({ path: `/api/loans/${loanId}/documents`, method: "POST", body: data, secure: true, type: "multipart/form-data", format: "json" }, params)),
|
|
3219
3213
|
/**
|
|
3220
3214
|
* No description
|
|
3221
3215
|
*
|
|
@@ -3239,7 +3233,7 @@ export class Api extends HttpClient {
|
|
|
3239
3233
|
* @secure
|
|
3240
3234
|
* @response `200` `DocumentDataRequest` OK
|
|
3241
3235
|
*/
|
|
3242
|
-
generateLoanDocument: (loanId, data, params = {}) => this.request(Object.assign({ path: `/api/loans/${loanId}/documents/generate`, method: "POST", body: data, secure: true, type:
|
|
3236
|
+
generateLoanDocument: (loanId, data, params = {}) => this.request(Object.assign({ path: `/api/loans/${loanId}/documents/generate`, method: "POST", body: data, secure: true, type: "application/json", format: "json" }, params)),
|
|
3243
3237
|
/**
|
|
3244
3238
|
* No description
|
|
3245
3239
|
*
|
|
@@ -3252,7 +3246,7 @@ export class Api extends HttpClient {
|
|
|
3252
3246
|
* @response `400` `ProblemDetails` Bad Request
|
|
3253
3247
|
* @response `404` `ProblemDetails` Not Found
|
|
3254
3248
|
*/
|
|
3255
|
-
sendLoanDocuments: (loanId, data, params = {}) => this.request(Object.assign({ path: `/api/loans/${loanId}/documents/distribute`, method: "POST", body: data, secure: true, type:
|
|
3249
|
+
sendLoanDocuments: (loanId, data, params = {}) => this.request(Object.assign({ path: `/api/loans/${loanId}/documents/distribute`, method: "POST", body: data, secure: true, type: "application/json" }, params)),
|
|
3256
3250
|
/**
|
|
3257
3251
|
* @description Fetches all documents from Encompass that don't exist locally and stores them in S3
|
|
3258
3252
|
*
|
|
@@ -3277,7 +3271,7 @@ export class Api extends HttpClient {
|
|
|
3277
3271
|
* @response `404` `ProblemDetails` Not Found
|
|
3278
3272
|
* @response `422` `UnprocessableEntity` Unprocessable Content
|
|
3279
3273
|
*/
|
|
3280
|
-
classifyLoanDocumentManually: (loanId, documentId, data, params = {}) => this.request(Object.assign({ path: `/api/loans/${loanId}/documents/${documentId}/classify-manual`, method: "POST", body: data, secure: true, type:
|
|
3274
|
+
classifyLoanDocumentManually: (loanId, documentId, data, params = {}) => this.request(Object.assign({ path: `/api/loans/${loanId}/documents/${documentId}/classify-manual`, method: "POST", body: data, secure: true, type: "application/json", format: "json" }, params)),
|
|
3281
3275
|
/**
|
|
3282
3276
|
* @description Re-attempts to push a failed document to LOS
|
|
3283
3277
|
*
|
|
@@ -3301,7 +3295,7 @@ export class Api extends HttpClient {
|
|
|
3301
3295
|
* @secure
|
|
3302
3296
|
* @response `201` `Draft` Created
|
|
3303
3297
|
*/
|
|
3304
|
-
createLoanDraft: (data, params = {}) => this.request(Object.assign({ path: `/api/loans/drafts`, method: "POST", body: data, secure: true, type:
|
|
3298
|
+
createLoanDraft: (data, params = {}) => this.request(Object.assign({ path: `/api/loans/drafts`, method: "POST", body: data, secure: true, type: "application/json", format: "json" }, params)),
|
|
3305
3299
|
/**
|
|
3306
3300
|
* No description
|
|
3307
3301
|
*
|
|
@@ -3334,7 +3328,7 @@ export class Api extends HttpClient {
|
|
|
3334
3328
|
* @secure
|
|
3335
3329
|
* @response `200` `Draft` OK
|
|
3336
3330
|
*/
|
|
3337
|
-
replaceLoanDraft: (draftId, data, params = {}) => this.request(Object.assign({ path: `/api/loans/drafts/${draftId}`, method: "PUT", body: data, secure: true, type:
|
|
3331
|
+
replaceLoanDraft: (draftId, data, params = {}) => this.request(Object.assign({ path: `/api/loans/drafts/${draftId}`, method: "PUT", body: data, secure: true, type: "application/json", format: "json" }, params)),
|
|
3338
3332
|
/**
|
|
3339
3333
|
* No description
|
|
3340
3334
|
*
|
|
@@ -3356,7 +3350,7 @@ export class Api extends HttpClient {
|
|
|
3356
3350
|
* @secure
|
|
3357
3351
|
* @response `201` `DraftContentPaginated` Created
|
|
3358
3352
|
*/
|
|
3359
|
-
searchLoanDrafts: (data, query, params = {}) => this.request(Object.assign({ path: `/api/loans/drafts/search`, method: "POST", query: query, body: data, secure: true, type:
|
|
3353
|
+
searchLoanDrafts: (data, query, params = {}) => this.request(Object.assign({ path: `/api/loans/drafts/search`, method: "POST", query: query, body: data, secure: true, type: "application/json", format: "json" }, params)),
|
|
3360
3354
|
/**
|
|
3361
3355
|
* No description
|
|
3362
3356
|
*
|
|
@@ -3367,7 +3361,7 @@ export class Api extends HttpClient {
|
|
|
3367
3361
|
* @secure
|
|
3368
3362
|
* @response `200` `Draft` OK
|
|
3369
3363
|
*/
|
|
3370
|
-
reassignLoanOfficer: (draftId, data, params = {}) => this.request(Object.assign({ path: `/api/loans/drafts/${draftId}/reassign`, method: "PUT", body: data, secure: true, type:
|
|
3364
|
+
reassignLoanOfficer: (draftId, data, params = {}) => this.request(Object.assign({ path: `/api/loans/drafts/${draftId}/reassign`, method: "PUT", body: data, secure: true, type: "application/json", format: "json" }, params)),
|
|
3371
3365
|
/**
|
|
3372
3366
|
* No description
|
|
3373
3367
|
*
|
|
@@ -3400,7 +3394,7 @@ export class Api extends HttpClient {
|
|
|
3400
3394
|
* @secure
|
|
3401
3395
|
* @response `201` `LoanImport` Created
|
|
3402
3396
|
*/
|
|
3403
|
-
createLoanImport: (data, params = {}) => this.request(Object.assign({ path: `/api/loan-imports`, method: "POST", body: data, secure: true, type:
|
|
3397
|
+
createLoanImport: (data, params = {}) => this.request(Object.assign({ path: `/api/loan-imports`, method: "POST", body: data, secure: true, type: "application/json", format: "json" }, params)),
|
|
3404
3398
|
/**
|
|
3405
3399
|
* No description
|
|
3406
3400
|
*
|
|
@@ -3446,7 +3440,7 @@ export class Api extends HttpClient {
|
|
|
3446
3440
|
* @response `200` `(Invite)[]` OK
|
|
3447
3441
|
* @response `404` `ProblemDetails` Not Found
|
|
3448
3442
|
*/
|
|
3449
|
-
inviteLoanContacts: (loanId, data, params = {}) => this.request(Object.assign({ path: `/api/loans/${loanId}/invites`, method: "POST", body: data, secure: true, type:
|
|
3443
|
+
inviteLoanContacts: (loanId, data, params = {}) => this.request(Object.assign({ path: `/api/loans/${loanId}/invites`, method: "POST", body: data, secure: true, type: "application/json", format: "json" }, params)),
|
|
3450
3444
|
/**
|
|
3451
3445
|
* No description
|
|
3452
3446
|
*
|
|
@@ -3469,7 +3463,7 @@ export class Api extends HttpClient {
|
|
|
3469
3463
|
* @secure
|
|
3470
3464
|
* @response `200` `LoanLogPaginated` OK
|
|
3471
3465
|
*/
|
|
3472
|
-
searchLoanLogs: (loanId, data, query, params = {}) => this.request(Object.assign({ path: `/api/loans/${loanId}/logs/search`, method: "POST", query: query, body: data, secure: true, type:
|
|
3466
|
+
searchLoanLogs: (loanId, data, query, params = {}) => this.request(Object.assign({ path: `/api/loans/${loanId}/logs/search`, method: "POST", query: query, body: data, secure: true, type: "application/json", format: "json" }, params)),
|
|
3473
3467
|
/**
|
|
3474
3468
|
* No description
|
|
3475
3469
|
*
|
|
@@ -3494,7 +3488,7 @@ export class Api extends HttpClient {
|
|
|
3494
3488
|
* @response `400` `ProblemDetails` Bad Request
|
|
3495
3489
|
* @response `404` `ProblemDetails` Not Found
|
|
3496
3490
|
*/
|
|
3497
|
-
sendLoanOptInReminder: (loanId, data, params = {}) => this.request(Object.assign({ path: `/api/loans/${loanId}/notifications/opt-in-reminders`, method: "POST", body: data, secure: true, type:
|
|
3491
|
+
sendLoanOptInReminder: (loanId, data, params = {}) => this.request(Object.assign({ path: `/api/loans/${loanId}/notifications/opt-in-reminders`, method: "POST", body: data, secure: true, type: "application/json" }, params)),
|
|
3498
3492
|
/**
|
|
3499
3493
|
* No description
|
|
3500
3494
|
*
|
|
@@ -3507,7 +3501,7 @@ export class Api extends HttpClient {
|
|
|
3507
3501
|
* @response `400` `ProblemDetails` Bad Request
|
|
3508
3502
|
* @response `404` `ProblemDetails` Not Found
|
|
3509
3503
|
*/
|
|
3510
|
-
sendESignatureReminder: (loanId, data, params = {}) => this.request(Object.assign({ path: `/api/loans/${loanId}/notifications/esignature-reminders`, method: "POST", body: data, secure: true, type:
|
|
3504
|
+
sendESignatureReminder: (loanId, data, params = {}) => this.request(Object.assign({ path: `/api/loans/${loanId}/notifications/esignature-reminders`, method: "POST", body: data, secure: true, type: "application/json" }, params)),
|
|
3511
3505
|
/**
|
|
3512
3506
|
* No description
|
|
3513
3507
|
*
|
|
@@ -3529,7 +3523,7 @@ export class Api extends HttpClient {
|
|
|
3529
3523
|
* @secure
|
|
3530
3524
|
* @response `200` `BranchUserPaginated` OK
|
|
3531
3525
|
*/
|
|
3532
|
-
searchLoanOfficers: (data, query, params = {}) => this.request(Object.assign({ path: `/api/loan-officers/search`, method: "POST", query: query, body: data, secure: true, type:
|
|
3526
|
+
searchLoanOfficers: (data, query, params = {}) => this.request(Object.assign({ path: `/api/loan-officers/search`, method: "POST", query: query, body: data, secure: true, type: "application/json", format: "json" }, params)),
|
|
3533
3527
|
/**
|
|
3534
3528
|
* No description
|
|
3535
3529
|
*
|
|
@@ -3552,7 +3546,7 @@ export class Api extends HttpClient {
|
|
|
3552
3546
|
* @response `200` `SiteConfiguration` OK
|
|
3553
3547
|
* @response `422` `UnprocessableEntity` Unprocessable Content
|
|
3554
3548
|
*/
|
|
3555
|
-
createLoanOfficerSiteConfiguration: (loanOfficerId, data, params = {}) => this.request(Object.assign({ path: `/api/loan-officers/${loanOfficerId}/site-configurations`, method: "POST", body: data, secure: true, type:
|
|
3549
|
+
createLoanOfficerSiteConfiguration: (loanOfficerId, data, params = {}) => this.request(Object.assign({ path: `/api/loan-officers/${loanOfficerId}/site-configurations`, method: "POST", body: data, secure: true, type: "application/json", format: "json" }, params)),
|
|
3556
3550
|
/**
|
|
3557
3551
|
* No description
|
|
3558
3552
|
*
|
|
@@ -3575,7 +3569,7 @@ export class Api extends HttpClient {
|
|
|
3575
3569
|
* @response `200` `SiteConfiguration` OK
|
|
3576
3570
|
* @response `422` `UnprocessableEntity` Unprocessable Content
|
|
3577
3571
|
*/
|
|
3578
|
-
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:
|
|
3572
|
+
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: "application/json", format: "json" }, params)),
|
|
3579
3573
|
/**
|
|
3580
3574
|
* No description
|
|
3581
3575
|
*
|
|
@@ -3586,7 +3580,7 @@ export class Api extends HttpClient {
|
|
|
3586
3580
|
* @secure
|
|
3587
3581
|
* @response `200` `LoanQueuePaginated` OK
|
|
3588
3582
|
*/
|
|
3589
|
-
searchLoanQueue: (data, query, params = {}) => this.request(Object.assign({ path: `/api/loans/queue/search`, method: "POST", query: query, body: data, secure: true, type:
|
|
3583
|
+
searchLoanQueue: (data, query, params = {}) => this.request(Object.assign({ path: `/api/loans/queue/search`, method: "POST", query: query, body: data, secure: true, type: "application/json", format: "json" }, params)),
|
|
3590
3584
|
/**
|
|
3591
3585
|
* No description
|
|
3592
3586
|
*
|
|
@@ -3610,7 +3604,7 @@ export class Api extends HttpClient {
|
|
|
3610
3604
|
* @response `200` `LoanQueueWithData` OK
|
|
3611
3605
|
* @response `404` `ProblemDetails` Not Found
|
|
3612
3606
|
*/
|
|
3613
|
-
replaceLoanQueue: (loanQueueId, data, params = {}) => this.request(Object.assign({ path: `/api/loans/queue/${loanQueueId}`, method: "PUT", body: data, secure: true, type:
|
|
3607
|
+
replaceLoanQueue: (loanQueueId, data, params = {}) => this.request(Object.assign({ path: `/api/loans/queue/${loanQueueId}`, method: "PUT", body: data, secure: true, type: "application/json", format: "json" }, params)),
|
|
3614
3608
|
/**
|
|
3615
3609
|
* No description
|
|
3616
3610
|
*
|
|
@@ -3671,7 +3665,7 @@ export class Api extends HttpClient {
|
|
|
3671
3665
|
* @response `401` `ProblemDetails` Unauthorized
|
|
3672
3666
|
* @response `403` `ProblemDetails` Forbidden
|
|
3673
3667
|
*/
|
|
3674
|
-
createLoanv3: (data, params = {}) => this.request(Object.assign({ path: `/api/loans`, method: "POST", body: data, secure: true, type:
|
|
3668
|
+
createLoanv3: (data, params = {}) => this.request(Object.assign({ path: `/api/loans`, method: "POST", body: data, secure: true, type: "application/json", format: "json" }, params)),
|
|
3675
3669
|
/**
|
|
3676
3670
|
* No description
|
|
3677
3671
|
*
|
|
@@ -3682,7 +3676,7 @@ export class Api extends HttpClient {
|
|
|
3682
3676
|
* @secure
|
|
3683
3677
|
* @response `200` `LoanListPaginated` OK
|
|
3684
3678
|
*/
|
|
3685
|
-
searchLoans: (data, query, params = {}) => this.request(Object.assign({ path: `/api/loans/search`, method: "POST", query: query, body: data, secure: true, type:
|
|
3679
|
+
searchLoans: (data, query, params = {}) => this.request(Object.assign({ path: `/api/loans/search`, method: "POST", query: query, body: data, secure: true, type: "application/json", format: "json" }, params)),
|
|
3686
3680
|
/**
|
|
3687
3681
|
* No description
|
|
3688
3682
|
*
|
|
@@ -3698,7 +3692,7 @@ export class Api extends HttpClient {
|
|
|
3698
3692
|
* @response `404` `ProblemDetails` Not Found
|
|
3699
3693
|
* @response `409` `any` Conflict
|
|
3700
3694
|
*/
|
|
3701
|
-
updateLoan: (loanId, data, params = {}) => this.request(Object.assign({ path: `/api/loans/${loanId}`, method: "PATCH", body: data, secure: true, type:
|
|
3695
|
+
updateLoan: (loanId, data, params = {}) => this.request(Object.assign({ path: `/api/loans/${loanId}`, method: "PATCH", body: data, secure: true, type: "application/json", format: "json" }, params)),
|
|
3702
3696
|
/**
|
|
3703
3697
|
* No description
|
|
3704
3698
|
*
|
|
@@ -3760,7 +3754,7 @@ export class Api extends HttpClient {
|
|
|
3760
3754
|
* @response `400` `ProblemDetails` Bad Request
|
|
3761
3755
|
* @response `404` `ProblemDetails` Not Found
|
|
3762
3756
|
*/
|
|
3763
|
-
triggerAso: (loanId, data, params = {}) => this.request(Object.assign({ path: `/api/loans/${loanId}/aso`, method: "POST", body: data, secure: true, type:
|
|
3757
|
+
triggerAso: (loanId, data, params = {}) => this.request(Object.assign({ path: `/api/loans/${loanId}/aso`, method: "POST", body: data, secure: true, type: "application/json", format: "json" }, params)),
|
|
3764
3758
|
/**
|
|
3765
3759
|
* No description
|
|
3766
3760
|
*
|
|
@@ -3772,7 +3766,7 @@ export class Api extends HttpClient {
|
|
|
3772
3766
|
* @response `200` `TaskCommentPaginated` OK
|
|
3773
3767
|
* @response `404` `ProblemDetails` Not Found
|
|
3774
3768
|
*/
|
|
3775
|
-
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:
|
|
3769
|
+
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: "application/json", format: "json" }, params)),
|
|
3776
3770
|
/**
|
|
3777
3771
|
* No description
|
|
3778
3772
|
*
|
|
@@ -3796,7 +3790,7 @@ export class Api extends HttpClient {
|
|
|
3796
3790
|
* @response `201` `TaskComment` Created
|
|
3797
3791
|
* @response `404` `ProblemDetails` Not Found
|
|
3798
3792
|
*/
|
|
3799
|
-
createLoanTaskComment: (loanId, userLoanTaskId, data, params = {}) => this.request(Object.assign({ path: `/api/loans/${loanId}/tasks/${userLoanTaskId}/comments`, method: "POST", body: data, secure: true, type:
|
|
3793
|
+
createLoanTaskComment: (loanId, userLoanTaskId, data, params = {}) => this.request(Object.assign({ path: `/api/loans/${loanId}/tasks/${userLoanTaskId}/comments`, method: "POST", body: data, secure: true, type: "application/json", format: "json" }, params)),
|
|
3800
3794
|
/**
|
|
3801
3795
|
* No description
|
|
3802
3796
|
*
|
|
@@ -3808,7 +3802,7 @@ export class Api extends HttpClient {
|
|
|
3808
3802
|
* @response `200` `TaskComment` OK
|
|
3809
3803
|
* @response `404` `ProblemDetails` Not Found
|
|
3810
3804
|
*/
|
|
3811
|
-
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:
|
|
3805
|
+
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: "application/json", format: "json" }, params)),
|
|
3812
3806
|
/**
|
|
3813
3807
|
* No description
|
|
3814
3808
|
*
|
|
@@ -3833,7 +3827,7 @@ export class Api extends HttpClient {
|
|
|
3833
3827
|
* @response `404` `ProblemDetails` Not Found
|
|
3834
3828
|
* @response `422` `UnprocessableEntity` Unprocessable Content
|
|
3835
3829
|
*/
|
|
3836
|
-
createLoanTaskDocument: (loanId, loanTaskId, data, params = {}) => this.request(Object.assign({ path: `/api/loans/${loanId}/tasks/${loanTaskId}/documents`, method: "POST", body: data, secure: true, type:
|
|
3830
|
+
createLoanTaskDocument: (loanId, loanTaskId, data, params = {}) => this.request(Object.assign({ path: `/api/loans/${loanId}/tasks/${loanTaskId}/documents`, method: "POST", body: data, secure: true, type: "multipart/form-data", format: "json" }, params)),
|
|
3837
3831
|
/**
|
|
3838
3832
|
* No description
|
|
3839
3833
|
*
|
|
@@ -3847,7 +3841,7 @@ export class Api extends HttpClient {
|
|
|
3847
3841
|
* @response `404` `ProblemDetails` Not Found
|
|
3848
3842
|
* @response `422` `ProblemDetails` Unprocessable Content
|
|
3849
3843
|
*/
|
|
3850
|
-
sendOutstandingLoanTaskNotification: (loanId, data, params = {}) => this.request(Object.assign({ path: `/api/loans/${loanId}/tasks/reminders/outstanding`, method: "POST", body: data, secure: true, type:
|
|
3844
|
+
sendOutstandingLoanTaskNotification: (loanId, data, params = {}) => this.request(Object.assign({ path: `/api/loans/${loanId}/tasks/reminders/outstanding`, method: "POST", body: data, secure: true, type: "application/json" }, params)),
|
|
3851
3845
|
/**
|
|
3852
3846
|
* No description
|
|
3853
3847
|
*
|
|
@@ -3860,7 +3854,7 @@ export class Api extends HttpClient {
|
|
|
3860
3854
|
* @response `400` `ProblemDetails` Bad Request
|
|
3861
3855
|
* @response `404` `ProblemDetails` Not Found
|
|
3862
3856
|
*/
|
|
3863
|
-
sendLoanTaskReminder: (loanId, data, params = {}) => this.request(Object.assign({ path: `/api/loans/${loanId}/tasks/reminders`, method: "POST", body: data, secure: true, type:
|
|
3857
|
+
sendLoanTaskReminder: (loanId, data, params = {}) => this.request(Object.assign({ path: `/api/loans/${loanId}/tasks/reminders`, method: "POST", body: data, secure: true, type: "application/json" }, params)),
|
|
3864
3858
|
/**
|
|
3865
3859
|
* @description Search tasks across all loans
|
|
3866
3860
|
*
|
|
@@ -3871,7 +3865,7 @@ export class Api extends HttpClient {
|
|
|
3871
3865
|
* @secure
|
|
3872
3866
|
* @response `200` `UserLoanTaskPaginated` OK
|
|
3873
3867
|
*/
|
|
3874
|
-
searchLoanTasks: (data, query, params = {}) => this.request(Object.assign({ path: `/api/loans/tasks/search`, method: "POST", query: query, body: data, secure: true, type:
|
|
3868
|
+
searchLoanTasks: (data, query, params = {}) => this.request(Object.assign({ path: `/api/loans/tasks/search`, method: "POST", query: query, body: data, secure: true, type: "application/json", format: "json" }, params)),
|
|
3875
3869
|
/**
|
|
3876
3870
|
* @description Returns task counts grouped by status for loans accessible to the current user based on their role
|
|
3877
3871
|
*
|
|
@@ -3883,7 +3877,7 @@ export class Api extends HttpClient {
|
|
|
3883
3877
|
* @response `200` `(LoanTaskStatusSummary)[]` OK
|
|
3884
3878
|
* @response `422` `UnprocessableEntity` Unprocessable Content
|
|
3885
3879
|
*/
|
|
3886
|
-
searchLoanTasksSummary: (data, params = {}) => this.request(Object.assign({ path: `/api/loans/tasks/search/summary`, method: "POST", body: data, secure: true, type:
|
|
3880
|
+
searchLoanTasksSummary: (data, params = {}) => this.request(Object.assign({ path: `/api/loans/tasks/search/summary`, method: "POST", body: data, secure: true, type: "application/json", format: "json" }, params)),
|
|
3887
3881
|
/**
|
|
3888
3882
|
* No description
|
|
3889
3883
|
*
|
|
@@ -3931,7 +3925,7 @@ export class Api extends HttpClient {
|
|
|
3931
3925
|
* @response `201` `UserLoanTask` Created
|
|
3932
3926
|
* @response `404` `ProblemDetails` Not Found
|
|
3933
3927
|
*/
|
|
3934
|
-
createLoanTask: (loanId, taskId, data, params = {}) => this.request(Object.assign({ path: `/api/loans/${loanId}/tasks/${taskId}`, method: "POST", body: data, secure: true, type:
|
|
3928
|
+
createLoanTask: (loanId, taskId, data, params = {}) => this.request(Object.assign({ path: `/api/loans/${loanId}/tasks/${taskId}`, method: "POST", body: data, secure: true, type: "application/json", format: "json" }, params)),
|
|
3935
3929
|
/**
|
|
3936
3930
|
* No description
|
|
3937
3931
|
*
|
|
@@ -3943,7 +3937,7 @@ export class Api extends HttpClient {
|
|
|
3943
3937
|
* @response `201` `(UserLoanTask)[]` Created
|
|
3944
3938
|
* @response `404` `ProblemDetails` Not Found
|
|
3945
3939
|
*/
|
|
3946
|
-
importLoanTask: (loanId, data, params = {}) => this.request(Object.assign({ path: `/api/loans/${loanId}/tasks/import`, method: "POST", body: data, secure: true, type:
|
|
3940
|
+
importLoanTask: (loanId, data, params = {}) => this.request(Object.assign({ path: `/api/loans/${loanId}/tasks/import`, method: "POST", body: data, secure: true, type: "application/json", format: "json" }, params)),
|
|
3947
3941
|
/**
|
|
3948
3942
|
* No description
|
|
3949
3943
|
*
|
|
@@ -3955,7 +3949,7 @@ export class Api extends HttpClient {
|
|
|
3955
3949
|
* @response `200` `UserLoanTask` OK
|
|
3956
3950
|
* @response `404` `ProblemDetails` Not Found
|
|
3957
3951
|
*/
|
|
3958
|
-
replaceLoanTask: (loanId, userLoanTaskId, data, params = {}) => this.request(Object.assign({ path: `/api/loans/${loanId}/tasks/${userLoanTaskId}`, method: "PUT", body: data, secure: true, type:
|
|
3952
|
+
replaceLoanTask: (loanId, userLoanTaskId, data, params = {}) => this.request(Object.assign({ path: `/api/loans/${loanId}/tasks/${userLoanTaskId}`, method: "PUT", body: data, secure: true, type: "application/json", format: "json" }, params)),
|
|
3959
3953
|
/**
|
|
3960
3954
|
* No description
|
|
3961
3955
|
*
|
|
@@ -4014,7 +4008,7 @@ export class Api extends HttpClient {
|
|
|
4014
4008
|
* @secure
|
|
4015
4009
|
* @response `201` `LoanUser` Created
|
|
4016
4010
|
*/
|
|
4017
|
-
addLoanUser: (loanId, userId, data, params = {}) => this.request(Object.assign({ path: `/api/loans/${loanId}/users/${userId}`, method: "POST", body: data, secure: true, type:
|
|
4011
|
+
addLoanUser: (loanId, userId, data, params = {}) => this.request(Object.assign({ path: `/api/loans/${loanId}/users/${userId}`, method: "POST", body: data, secure: true, type: "application/json", format: "json" }, params)),
|
|
4018
4012
|
/**
|
|
4019
4013
|
* No description
|
|
4020
4014
|
*
|
|
@@ -4047,7 +4041,7 @@ export class Api extends HttpClient {
|
|
|
4047
4041
|
* @secure
|
|
4048
4042
|
* @response `200` `LosOperationTrackingPaginated` OK
|
|
4049
4043
|
*/
|
|
4050
|
-
searchLosOperationTracking: (data, query, params = {}) => this.request(Object.assign({ path: `/api/los-operation-tracking/search`, method: "POST", query: query, body: data, secure: true, type:
|
|
4044
|
+
searchLosOperationTracking: (data, query, params = {}) => this.request(Object.assign({ path: `/api/los-operation-tracking/search`, method: "POST", query: query, body: data, secure: true, type: "application/json", format: "json" }, params)),
|
|
4051
4045
|
/**
|
|
4052
4046
|
* No description
|
|
4053
4047
|
*
|
|
@@ -4060,7 +4054,7 @@ export class Api extends HttpClient {
|
|
|
4060
4054
|
* @response `401` `ProblemDetails` Unauthorized
|
|
4061
4055
|
* @response `403` `ProblemDetails` Forbidden
|
|
4062
4056
|
*/
|
|
4063
|
-
searchInboundSyncFailures: (data, query, params = {}) => this.request(Object.assign({ path: `/api/monitoring/inbound-sync-failures/search`, method: "POST", query: query, body: data, secure: true, type:
|
|
4057
|
+
searchInboundSyncFailures: (data, query, params = {}) => this.request(Object.assign({ path: `/api/monitoring/inbound-sync-failures/search`, method: "POST", query: query, body: data, secure: true, type: "application/json", format: "json" }, params)),
|
|
4064
4058
|
/**
|
|
4065
4059
|
* No description
|
|
4066
4060
|
*
|
|
@@ -4073,7 +4067,7 @@ export class Api extends HttpClient {
|
|
|
4073
4067
|
* @response `401` `ProblemDetails` Unauthorized
|
|
4074
4068
|
* @response `403` `ProblemDetails` Forbidden
|
|
4075
4069
|
*/
|
|
4076
|
-
getInboundSyncFailuresSummary: (data, query, params = {}) => this.request(Object.assign({ path: `/api/monitoring/inbound-sync-failures/summary`, method: "POST", query: query, body: data, secure: true, type:
|
|
4070
|
+
getInboundSyncFailuresSummary: (data, query, params = {}) => this.request(Object.assign({ path: `/api/monitoring/inbound-sync-failures/summary`, method: "POST", query: query, body: data, secure: true, type: "application/json", format: "json" }, params)),
|
|
4077
4071
|
/**
|
|
4078
4072
|
* No description
|
|
4079
4073
|
*
|
|
@@ -4110,7 +4104,7 @@ export class Api extends HttpClient {
|
|
|
4110
4104
|
* @response `201` `MilestoneConfiguration` Created
|
|
4111
4105
|
* @response `422` `UnprocessableEntity` Unprocessable Content
|
|
4112
4106
|
*/
|
|
4113
|
-
createMilestone: (data, params = {}) => this.request(Object.assign({ path: `/api/milestones`, method: "POST", body: data, secure: true, type:
|
|
4107
|
+
createMilestone: (data, params = {}) => this.request(Object.assign({ path: `/api/milestones`, method: "POST", body: data, secure: true, type: "application/json", format: "json" }, params)),
|
|
4114
4108
|
/**
|
|
4115
4109
|
* No description
|
|
4116
4110
|
*
|
|
@@ -4135,7 +4129,7 @@ export class Api extends HttpClient {
|
|
|
4135
4129
|
* @response `404` `Error` Not Found
|
|
4136
4130
|
* @response `422` `UnprocessableEntity` Unprocessable Content
|
|
4137
4131
|
*/
|
|
4138
|
-
replaceMilestone: (id, data, params = {}) => this.request(Object.assign({ path: `/api/milestones/${id}`, method: "PUT", body: data, secure: true, type:
|
|
4132
|
+
replaceMilestone: (id, data, params = {}) => this.request(Object.assign({ path: `/api/milestones/${id}`, method: "PUT", body: data, secure: true, type: "application/json", format: "json" }, params)),
|
|
4139
4133
|
/**
|
|
4140
4134
|
* No description
|
|
4141
4135
|
*
|
|
@@ -4161,7 +4155,7 @@ export class Api extends HttpClient {
|
|
|
4161
4155
|
* @response `404` `ProblemDetails` Not Found
|
|
4162
4156
|
* @response `422` `ProblemDetails` Unprocessable Content
|
|
4163
4157
|
*/
|
|
4164
|
-
seedMobileAppReview: (data, params = {}) => this.request(Object.assign({ path: `/api/mobile-app-review/seed`, method: "POST", body: data, secure: true, type:
|
|
4158
|
+
seedMobileAppReview: (data, params = {}) => this.request(Object.assign({ path: `/api/mobile-app-review/seed`, method: "POST", body: data, secure: true, type: "application/json", format: "json" }, params)),
|
|
4165
4159
|
/**
|
|
4166
4160
|
* No description
|
|
4167
4161
|
*
|
|
@@ -4173,7 +4167,7 @@ export class Api extends HttpClient {
|
|
|
4173
4167
|
* @response `200` `MonthlyPaymentCalculator` OK
|
|
4174
4168
|
* @response `422` `ProblemDetails` Unprocessable Content
|
|
4175
4169
|
*/
|
|
4176
|
-
calculateMortgageMonthlyPayment: (data, params = {}) => this.request(Object.assign({ path: `/api/mortgage-calculators/monthly-payment`, method: "POST", body: data, secure: true, type:
|
|
4170
|
+
calculateMortgageMonthlyPayment: (data, params = {}) => this.request(Object.assign({ path: `/api/mortgage-calculators/monthly-payment`, method: "POST", body: data, secure: true, type: "application/json", format: "json" }, params)),
|
|
4177
4171
|
/**
|
|
4178
4172
|
* No description
|
|
4179
4173
|
*
|
|
@@ -4185,7 +4179,7 @@ export class Api extends HttpClient {
|
|
|
4185
4179
|
* @response `200` `AffordabilityCalculator` OK
|
|
4186
4180
|
* @response `422` `ProblemDetails` Unprocessable Content
|
|
4187
4181
|
*/
|
|
4188
|
-
calculateMortgageAffordability: (data, params = {}) => this.request(Object.assign({ path: `/api/mortgage-calculators/affordability`, method: "POST", body: data, secure: true, type:
|
|
4182
|
+
calculateMortgageAffordability: (data, params = {}) => this.request(Object.assign({ path: `/api/mortgage-calculators/affordability`, method: "POST", body: data, secure: true, type: "application/json", format: "json" }, params)),
|
|
4189
4183
|
/**
|
|
4190
4184
|
* No description
|
|
4191
4185
|
*
|
|
@@ -4197,7 +4191,7 @@ export class Api extends HttpClient {
|
|
|
4197
4191
|
* @response `200` `LoanComparisonCalculator` OK
|
|
4198
4192
|
* @response `422` `ProblemDetails` Unprocessable Content
|
|
4199
4193
|
*/
|
|
4200
|
-
calculateMortgageLoanComparison: (data, params = {}) => this.request(Object.assign({ path: `/api/mortgage-calculators/loan-comparison`, method: "POST", body: data, secure: true, type:
|
|
4194
|
+
calculateMortgageLoanComparison: (data, params = {}) => this.request(Object.assign({ path: `/api/mortgage-calculators/loan-comparison`, method: "POST", body: data, secure: true, type: "application/json", format: "json" }, params)),
|
|
4201
4195
|
/**
|
|
4202
4196
|
* No description
|
|
4203
4197
|
*
|
|
@@ -4209,7 +4203,7 @@ export class Api extends HttpClient {
|
|
|
4209
4203
|
* @response `200` `RefinanceCalculator` OK
|
|
4210
4204
|
* @response `422` `ProblemDetails` Unprocessable Content
|
|
4211
4205
|
*/
|
|
4212
|
-
calculateMortgageRefinance: (data, params = {}) => this.request(Object.assign({ path: `/api/mortgage-calculators/refinance`, method: "POST", body: data, secure: true, type:
|
|
4206
|
+
calculateMortgageRefinance: (data, params = {}) => this.request(Object.assign({ path: `/api/mortgage-calculators/refinance`, method: "POST", body: data, secure: true, type: "application/json", format: "json" }, params)),
|
|
4213
4207
|
/**
|
|
4214
4208
|
* No description
|
|
4215
4209
|
*
|
|
@@ -4232,7 +4226,7 @@ export class Api extends HttpClient {
|
|
|
4232
4226
|
* @response `201` `NotificationTemplate` Created
|
|
4233
4227
|
* @response `422` `UnprocessableEntity` Unprocessable Content
|
|
4234
4228
|
*/
|
|
4235
|
-
createNotificationTemplate: (data, params = {}) => this.request(Object.assign({ path: `/api/notification-templates`, method: "POST", body: data, secure: true, type:
|
|
4229
|
+
createNotificationTemplate: (data, params = {}) => this.request(Object.assign({ path: `/api/notification-templates`, method: "POST", body: data, secure: true, type: "application/json", format: "json" }, params)),
|
|
4236
4230
|
/**
|
|
4237
4231
|
* No description
|
|
4238
4232
|
*
|
|
@@ -4243,7 +4237,7 @@ export class Api extends HttpClient {
|
|
|
4243
4237
|
* @secure
|
|
4244
4238
|
* @response `200` `NotificationTemplateBasePaginated` OK
|
|
4245
4239
|
*/
|
|
4246
|
-
searchNotificationTemplates: (data, query, params = {}) => this.request(Object.assign({ path: `/api/notification-templates/search`, method: "POST", query: query, body: data, secure: true, type:
|
|
4240
|
+
searchNotificationTemplates: (data, query, params = {}) => this.request(Object.assign({ path: `/api/notification-templates/search`, method: "POST", query: query, body: data, secure: true, type: "application/json", format: "json" }, params)),
|
|
4247
4241
|
/**
|
|
4248
4242
|
* No description
|
|
4249
4243
|
*
|
|
@@ -4266,7 +4260,7 @@ export class Api extends HttpClient {
|
|
|
4266
4260
|
* @response `200` `NotificationTemplate` OK
|
|
4267
4261
|
* @response `422` `UnprocessableEntity` Unprocessable Content
|
|
4268
4262
|
*/
|
|
4269
|
-
replaceNotificationTemplate: (id, data, params = {}) => this.request(Object.assign({ path: `/api/notification-templates/${id}`, method: "PUT", body: data, secure: true, type:
|
|
4263
|
+
replaceNotificationTemplate: (id, data, params = {}) => this.request(Object.assign({ path: `/api/notification-templates/${id}`, method: "PUT", body: data, secure: true, type: "application/json", format: "json" }, params)),
|
|
4270
4264
|
/**
|
|
4271
4265
|
* No description
|
|
4272
4266
|
*
|
|
@@ -4310,7 +4304,7 @@ export class Api extends HttpClient {
|
|
|
4310
4304
|
* @secure
|
|
4311
4305
|
* @response `200` `NotificationTemplateVersion` OK
|
|
4312
4306
|
*/
|
|
4313
|
-
createNotificationTemplateVersion: (notificationId, data, params = {}) => this.request(Object.assign({ path: `/api/notification-templates/${notificationId}/versions`, method: "POST", body: data, secure: true, type:
|
|
4307
|
+
createNotificationTemplateVersion: (notificationId, data, params = {}) => this.request(Object.assign({ path: `/api/notification-templates/${notificationId}/versions`, method: "POST", body: data, secure: true, type: "application/json", format: "json" }, params)),
|
|
4314
4308
|
/**
|
|
4315
4309
|
* No description
|
|
4316
4310
|
*
|
|
@@ -4332,7 +4326,7 @@ export class Api extends HttpClient {
|
|
|
4332
4326
|
* @secure
|
|
4333
4327
|
* @response `200` `NotificationTemplateVersion` OK
|
|
4334
4328
|
*/
|
|
4335
|
-
replaceNotificationTemplateVersion: (notificationId, id, data, params = {}) => this.request(Object.assign({ path: `/api/notification-templates/${notificationId}/versions/${id}`, method: "PUT", body: data, secure: true, type:
|
|
4329
|
+
replaceNotificationTemplateVersion: (notificationId, id, data, params = {}) => this.request(Object.assign({ path: `/api/notification-templates/${notificationId}/versions/${id}`, method: "PUT", body: data, secure: true, type: "application/json", format: "json" }, params)),
|
|
4336
4330
|
/**
|
|
4337
4331
|
* No description
|
|
4338
4332
|
*
|
|
@@ -4365,7 +4359,7 @@ export class Api extends HttpClient {
|
|
|
4365
4359
|
* @secure
|
|
4366
4360
|
* @response `200` `BranchUserPaginated` OK
|
|
4367
4361
|
*/
|
|
4368
|
-
searchPartners: (data, query, params = {}) => this.request(Object.assign({ path: `/api/partners/search`, method: "POST", query: query, body: data, secure: true, type:
|
|
4362
|
+
searchPartners: (data, query, params = {}) => this.request(Object.assign({ path: `/api/partners/search`, method: "POST", query: query, body: data, secure: true, type: "application/json", format: "json" }, params)),
|
|
4369
4363
|
/**
|
|
4370
4364
|
* No description
|
|
4371
4365
|
*
|
|
@@ -4388,7 +4382,7 @@ export class Api extends HttpClient {
|
|
|
4388
4382
|
* @response `200` `SiteConfiguration` OK
|
|
4389
4383
|
* @response `422` `UnprocessableEntity` Unprocessable Content
|
|
4390
4384
|
*/
|
|
4391
|
-
createPartnerSiteConfiguration: (realtorId, data, params = {}) => this.request(Object.assign({ path: `/api/partners/${realtorId}/site-configurations`, method: "POST", body: data, secure: true, type:
|
|
4385
|
+
createPartnerSiteConfiguration: (realtorId, data, params = {}) => this.request(Object.assign({ path: `/api/partners/${realtorId}/site-configurations`, method: "POST", body: data, secure: true, type: "application/json", format: "json" }, params)),
|
|
4392
4386
|
/**
|
|
4393
4387
|
* No description
|
|
4394
4388
|
*
|
|
@@ -4411,7 +4405,7 @@ export class Api extends HttpClient {
|
|
|
4411
4405
|
* @response `200` `SiteConfiguration` OK
|
|
4412
4406
|
* @response `422` `UnprocessableEntity` Unprocessable Content
|
|
4413
4407
|
*/
|
|
4414
|
-
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:
|
|
4408
|
+
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: "application/json", format: "json" }, params)),
|
|
4415
4409
|
/**
|
|
4416
4410
|
* No description
|
|
4417
4411
|
*
|
|
@@ -4435,7 +4429,7 @@ export class Api extends HttpClient {
|
|
|
4435
4429
|
* @response `200` `SiteConfigurationByUrl` OK
|
|
4436
4430
|
* @response `422` `UnprocessableEntity` Unprocessable Content
|
|
4437
4431
|
*/
|
|
4438
|
-
searchSiteConfigurationByUrl: (data, params = {}) => this.request(Object.assign({ path: `/api/site-configurations/url`, method: "POST", body: data, secure: true, type:
|
|
4432
|
+
searchSiteConfigurationByUrl: (data, params = {}) => this.request(Object.assign({ path: `/api/site-configurations/url`, method: "POST", body: data, secure: true, type: "application/json", format: "json" }, params)),
|
|
4439
4433
|
/**
|
|
4440
4434
|
* No description
|
|
4441
4435
|
*
|
|
@@ -4460,7 +4454,7 @@ export class Api extends HttpClient {
|
|
|
4460
4454
|
* @response `200` `SiteConfiguration` OK
|
|
4461
4455
|
* @response `422` `UnprocessableEntity` Unprocessable Content
|
|
4462
4456
|
*/
|
|
4463
|
-
searchSiteConfigurationByLoanOfficerUser: (data, params = {}) => this.request(Object.assign({ path: `/api/site-configurations/louser`, method: "POST", body: data, secure: true, type:
|
|
4457
|
+
searchSiteConfigurationByLoanOfficerUser: (data, params = {}) => this.request(Object.assign({ path: `/api/site-configurations/louser`, method: "POST", body: data, secure: true, type: "application/json", format: "json" }, params)),
|
|
4464
4458
|
/**
|
|
4465
4459
|
* No description
|
|
4466
4460
|
*
|
|
@@ -4484,7 +4478,7 @@ export class Api extends HttpClient {
|
|
|
4484
4478
|
* @response `200` `SiteConfigurationSummaryPaginated` OK
|
|
4485
4479
|
* @response `422` `UnprocessableEntity` Unprocessable Content
|
|
4486
4480
|
*/
|
|
4487
|
-
searchSiteConfigurations: (data, query, params = {}) => this.request(Object.assign({ path: `/api/site-configurations/search`, method: "POST", query: query, body: data, secure: true, type:
|
|
4481
|
+
searchSiteConfigurations: (data, query, params = {}) => this.request(Object.assign({ path: `/api/site-configurations/search`, method: "POST", query: query, body: data, secure: true, type: "application/json", format: "json" }, params)),
|
|
4488
4482
|
/**
|
|
4489
4483
|
* No description
|
|
4490
4484
|
*
|
|
@@ -4576,7 +4570,7 @@ export class Api extends HttpClient {
|
|
|
4576
4570
|
* @secure
|
|
4577
4571
|
* @response `200` `GetForm` OK
|
|
4578
4572
|
*/
|
|
4579
|
-
getFormBySiteConfigurationSlug: (data, params = {}) => this.request(Object.assign({ path: `/api/site-forms`, method: "POST", body: data, secure: true, type:
|
|
4573
|
+
getFormBySiteConfigurationSlug: (data, params = {}) => this.request(Object.assign({ path: `/api/site-forms`, method: "POST", body: data, secure: true, type: "application/json", format: "json" }, params)),
|
|
4580
4574
|
/**
|
|
4581
4575
|
* No description
|
|
4582
4576
|
*
|
|
@@ -4588,7 +4582,7 @@ export class Api extends HttpClient {
|
|
|
4588
4582
|
* @response `200` `SiteTilePaginated` OK
|
|
4589
4583
|
* @response `403` `ProblemDetails` Forbidden
|
|
4590
4584
|
*/
|
|
4591
|
-
searchSiteTiles: (data, query, params = {}) => this.request(Object.assign({ path: `/api/site-tiles/search`, method: "POST", query: query, body: data, secure: true, type:
|
|
4585
|
+
searchSiteTiles: (data, query, params = {}) => this.request(Object.assign({ path: `/api/site-tiles/search`, method: "POST", query: query, body: data, secure: true, type: "application/json", format: "json" }, params)),
|
|
4592
4586
|
/**
|
|
4593
4587
|
* No description
|
|
4594
4588
|
*
|
|
@@ -4628,7 +4622,7 @@ export class Api extends HttpClient {
|
|
|
4628
4622
|
* @response `403` `ProblemDetails` Forbidden
|
|
4629
4623
|
* @response `404` `ProblemDetails` Not Found
|
|
4630
4624
|
*/
|
|
4631
|
-
updateSiteTile: (siteTileId, data, params = {}) => this.request(Object.assign({ path: `/api/site-tiles/${siteTileId}`, method: "PUT", body: data, secure: true, type:
|
|
4625
|
+
updateSiteTile: (siteTileId, data, params = {}) => this.request(Object.assign({ path: `/api/site-tiles/${siteTileId}`, method: "PUT", body: data, secure: true, type: "application/json", format: "json" }, params)),
|
|
4632
4626
|
/**
|
|
4633
4627
|
* No description
|
|
4634
4628
|
*
|
|
@@ -4654,7 +4648,7 @@ export class Api extends HttpClient {
|
|
|
4654
4648
|
* @response `400` `ProblemDetails` Bad Request
|
|
4655
4649
|
* @response `403` `ProblemDetails` Forbidden
|
|
4656
4650
|
*/
|
|
4657
|
-
createSiteTile: (data, params = {}) => this.request(Object.assign({ path: `/api/site-tiles`, method: "POST", body: data, secure: true, type:
|
|
4651
|
+
createSiteTile: (data, params = {}) => this.request(Object.assign({ path: `/api/site-tiles`, method: "POST", body: data, secure: true, type: "application/json", format: "json" }, params)),
|
|
4658
4652
|
/**
|
|
4659
4653
|
* No description
|
|
4660
4654
|
*
|
|
@@ -4677,7 +4671,7 @@ export class Api extends HttpClient {
|
|
|
4677
4671
|
* @response `200` `(SocialSurveyRecord)[]` OK
|
|
4678
4672
|
* @response `422` `UnprocessableEntity` Unprocessable Content
|
|
4679
4673
|
*/
|
|
4680
|
-
getSurveysByUser: (data, params = {}) => this.request(Object.assign({ path: `/api/surveys`, method: "POST", body: data, secure: true, type:
|
|
4674
|
+
getSurveysByUser: (data, params = {}) => this.request(Object.assign({ path: `/api/surveys`, method: "POST", body: data, secure: true, type: "application/json", format: "json" }, params)),
|
|
4681
4675
|
/**
|
|
4682
4676
|
* No description
|
|
4683
4677
|
*
|
|
@@ -4700,7 +4694,7 @@ export class Api extends HttpClient {
|
|
|
4700
4694
|
* @secure
|
|
4701
4695
|
* @response `201` `Task` Created
|
|
4702
4696
|
*/
|
|
4703
|
-
createTask: (data, params = {}) => this.request(Object.assign({ path: `/api/tasks`, method: "POST", body: data, secure: true, type:
|
|
4697
|
+
createTask: (data, params = {}) => this.request(Object.assign({ path: `/api/tasks`, method: "POST", body: data, secure: true, type: "application/json", format: "json" }, params)),
|
|
4704
4698
|
/**
|
|
4705
4699
|
* No description
|
|
4706
4700
|
*
|
|
@@ -4724,7 +4718,7 @@ export class Api extends HttpClient {
|
|
|
4724
4718
|
* @response `200` `Task` OK
|
|
4725
4719
|
* @response `404` `ProblemDetails` Not Found
|
|
4726
4720
|
*/
|
|
4727
|
-
replaceTask: (id, data, params = {}) => this.request(Object.assign({ path: `/api/tasks/${id}`, method: "PUT", body: data, secure: true, type:
|
|
4721
|
+
replaceTask: (id, data, params = {}) => this.request(Object.assign({ path: `/api/tasks/${id}`, method: "PUT", body: data, secure: true, type: "application/json", format: "json" }, params)),
|
|
4728
4722
|
/**
|
|
4729
4723
|
* No description
|
|
4730
4724
|
*
|
|
@@ -4747,7 +4741,7 @@ export class Api extends HttpClient {
|
|
|
4747
4741
|
* @secure
|
|
4748
4742
|
* @response `200` `TaskPaginated` OK
|
|
4749
4743
|
*/
|
|
4750
|
-
searchTasks: (data, query, params = {}) => this.request(Object.assign({ path: `/api/tasks/search`, method: "POST", query: query, body: data, secure: true, type:
|
|
4744
|
+
searchTasks: (data, query, params = {}) => this.request(Object.assign({ path: `/api/tasks/search`, method: "POST", query: query, body: data, secure: true, type: "application/json", format: "json" }, params)),
|
|
4751
4745
|
/**
|
|
4752
4746
|
* No description
|
|
4753
4747
|
*
|
|
@@ -4757,7 +4751,7 @@ export class Api extends HttpClient {
|
|
|
4757
4751
|
* @secure
|
|
4758
4752
|
* @response `200` `void` OK
|
|
4759
4753
|
*/
|
|
4760
|
-
integrationsLosLoansCreate: (data, params = {}) => this.request(Object.assign({ path: `/api/integrations/los/loans`, method: "POST", body: data, secure: true, type:
|
|
4754
|
+
integrationsLosLoansCreate: (data, params = {}) => this.request(Object.assign({ path: `/api/integrations/los/loans`, method: "POST", body: data, secure: true, type: "application/json" }, params)),
|
|
4761
4755
|
/**
|
|
4762
4756
|
* No description
|
|
4763
4757
|
*
|
|
@@ -4768,7 +4762,7 @@ export class Api extends HttpClient {
|
|
|
4768
4762
|
* @secure
|
|
4769
4763
|
* @response `200` `EncompassRequestLogPaginated` OK
|
|
4770
4764
|
*/
|
|
4771
|
-
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:
|
|
4765
|
+
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: "application/json", format: "json" }, params)),
|
|
4772
4766
|
/**
|
|
4773
4767
|
* No description
|
|
4774
4768
|
*
|
|
@@ -4791,7 +4785,7 @@ export class Api extends HttpClient {
|
|
|
4791
4785
|
* @secure
|
|
4792
4786
|
* @response `201` `LosCredentials` Created
|
|
4793
4787
|
*/
|
|
4794
|
-
createEncompassCredentials: (data, params = {}) => this.request(Object.assign({ path: `/api/los/encompass/credentials`, method: "POST", body: data, secure: true, type:
|
|
4788
|
+
createEncompassCredentials: (data, params = {}) => this.request(Object.assign({ path: `/api/los/encompass/credentials`, method: "POST", body: data, secure: true, type: "application/json", format: "json" }, params)),
|
|
4795
4789
|
/**
|
|
4796
4790
|
* No description
|
|
4797
4791
|
*
|
|
@@ -4802,7 +4796,7 @@ export class Api extends HttpClient {
|
|
|
4802
4796
|
* @secure
|
|
4803
4797
|
* @response `200` `EncompassCredentialsDetail` OK
|
|
4804
4798
|
*/
|
|
4805
|
-
updateEncompassCredentials: (data, params = {}) => this.request(Object.assign({ path: `/api/los/encompass/credentials`, method: "PUT", body: data, secure: true, type:
|
|
4799
|
+
updateEncompassCredentials: (data, params = {}) => this.request(Object.assign({ path: `/api/los/encompass/credentials`, method: "PUT", body: data, secure: true, type: "application/json", format: "json" }, params)),
|
|
4806
4800
|
/**
|
|
4807
4801
|
* No description
|
|
4808
4802
|
*
|
|
@@ -4824,7 +4818,7 @@ export class Api extends HttpClient {
|
|
|
4824
4818
|
* @secure
|
|
4825
4819
|
* @response `201` `LosWebhook` Created
|
|
4826
4820
|
*/
|
|
4827
|
-
createEncompassWebhook: (data, params = {}) => this.request(Object.assign({ path: `/api/los/encompass/webhooks`, method: "POST", body: data, secure: true, type:
|
|
4821
|
+
createEncompassWebhook: (data, params = {}) => this.request(Object.assign({ path: `/api/los/encompass/webhooks`, method: "POST", body: data, secure: true, type: "application/json", format: "json" }, params)),
|
|
4828
4822
|
/**
|
|
4829
4823
|
* No description
|
|
4830
4824
|
*
|
|
@@ -4846,7 +4840,7 @@ export class Api extends HttpClient {
|
|
|
4846
4840
|
* @secure
|
|
4847
4841
|
* @response `200` `LosSyncPaginated` OK
|
|
4848
4842
|
*/
|
|
4849
|
-
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:
|
|
4843
|
+
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: "application/json", format: "json" }, params)),
|
|
4850
4844
|
/**
|
|
4851
4845
|
* No description
|
|
4852
4846
|
*
|
|
@@ -4929,7 +4923,7 @@ export class Api extends HttpClient {
|
|
|
4929
4923
|
* @response `201` `UserDevice` Created
|
|
4930
4924
|
* @response `400` `ProblemDetails` Bad Request
|
|
4931
4925
|
*/
|
|
4932
|
-
createUserDevice: (data, params = {}) => this.request(Object.assign({ path: `/api/userdevices`, method: "POST", body: data, secure: true, type:
|
|
4926
|
+
createUserDevice: (data, params = {}) => this.request(Object.assign({ path: `/api/userdevices`, method: "POST", body: data, secure: true, type: "application/json", format: "json" }, params)),
|
|
4933
4927
|
/**
|
|
4934
4928
|
* No description
|
|
4935
4929
|
*
|
|
@@ -4976,7 +4970,7 @@ export class Api extends HttpClient {
|
|
|
4976
4970
|
* @response `404` `ProblemDetails` Not Found
|
|
4977
4971
|
* @response `409` `ProblemDetails` Conflict
|
|
4978
4972
|
*/
|
|
4979
|
-
addDraftUsers: (draftId, userId, data, params = {}) => this.request(Object.assign({ path: `/api/loans/drafts/${draftId}/users/${userId}`, method: "POST", body: data, secure: true, type:
|
|
4973
|
+
addDraftUsers: (draftId, userId, data, params = {}) => this.request(Object.assign({ path: `/api/loans/drafts/${draftId}/users/${userId}`, method: "POST", body: data, secure: true, type: "application/json", format: "json" }, params)),
|
|
4980
4974
|
/**
|
|
4981
4975
|
* No description
|
|
4982
4976
|
*
|
|
@@ -5009,7 +5003,7 @@ export class Api extends HttpClient {
|
|
|
5009
5003
|
* @secure
|
|
5010
5004
|
* @response `200` `UserGroupAccessScope` OK
|
|
5011
5005
|
*/
|
|
5012
|
-
createUserGroupAccessScope: (groupId, data, params = {}) => this.request(Object.assign({ path: `/api/user-groups/${groupId}/scopes`, method: "POST", body: data, secure: true, type:
|
|
5006
|
+
createUserGroupAccessScope: (groupId, data, params = {}) => this.request(Object.assign({ path: `/api/user-groups/${groupId}/scopes`, method: "POST", body: data, secure: true, type: "application/json", format: "json" }, params)),
|
|
5013
5007
|
/**
|
|
5014
5008
|
* No description
|
|
5015
5009
|
*
|
|
@@ -5042,7 +5036,7 @@ export class Api extends HttpClient {
|
|
|
5042
5036
|
* @secure
|
|
5043
5037
|
* @response `200` `UserGroupMember` OK
|
|
5044
5038
|
*/
|
|
5045
|
-
createUserGroupMember: (groupId, data, query, params = {}) => this.request(Object.assign({ path: `/api/user-groups/${groupId}/members`, method: "POST", query: query, body: data, secure: true, type:
|
|
5039
|
+
createUserGroupMember: (groupId, data, query, params = {}) => this.request(Object.assign({ path: `/api/user-groups/${groupId}/members`, method: "POST", query: query, body: data, secure: true, type: "application/json", format: "json" }, params)),
|
|
5046
5040
|
/**
|
|
5047
5041
|
* No description
|
|
5048
5042
|
*
|
|
@@ -5086,7 +5080,7 @@ export class Api extends HttpClient {
|
|
|
5086
5080
|
* @secure
|
|
5087
5081
|
* @response `200` `UserGroup` OK
|
|
5088
5082
|
*/
|
|
5089
|
-
updateUserGroup: (groupId, data, params = {}) => this.request(Object.assign({ path: `/api/user-groups/${groupId}`, method: "PUT", body: data, secure: true, type:
|
|
5083
|
+
updateUserGroup: (groupId, data, params = {}) => this.request(Object.assign({ path: `/api/user-groups/${groupId}`, method: "PUT", body: data, secure: true, type: "application/json", format: "json" }, params)),
|
|
5090
5084
|
/**
|
|
5091
5085
|
* No description
|
|
5092
5086
|
*
|
|
@@ -5108,7 +5102,7 @@ export class Api extends HttpClient {
|
|
|
5108
5102
|
* @secure
|
|
5109
5103
|
* @response `201` `UserGroup` Created
|
|
5110
5104
|
*/
|
|
5111
|
-
createUserGroup: (data, params = {}) => this.request(Object.assign({ path: `/api/user-groups`, method: "POST", body: data, secure: true, type:
|
|
5105
|
+
createUserGroup: (data, params = {}) => this.request(Object.assign({ path: `/api/user-groups`, method: "POST", body: data, secure: true, type: "application/json", format: "json" }, params)),
|
|
5112
5106
|
/**
|
|
5113
5107
|
* No description
|
|
5114
5108
|
*
|
|
@@ -5121,7 +5115,7 @@ export class Api extends HttpClient {
|
|
|
5121
5115
|
* @response `404` `Error` Not Found
|
|
5122
5116
|
* @response `422` `UnprocessableEntity` Unprocessable Content
|
|
5123
5117
|
*/
|
|
5124
|
-
requestImpersonation: (data, params = {}) => this.request(Object.assign({ path: `/api/users/impersonation/request`, method: "POST", body: data, secure: true, type:
|
|
5118
|
+
requestImpersonation: (data, params = {}) => this.request(Object.assign({ path: `/api/users/impersonation/request`, method: "POST", body: data, secure: true, type: "application/json" }, params)),
|
|
5125
5119
|
/**
|
|
5126
5120
|
* No description
|
|
5127
5121
|
*
|
|
@@ -5134,7 +5128,7 @@ export class Api extends HttpClient {
|
|
|
5134
5128
|
* @response `404` `Error` Not Found
|
|
5135
5129
|
* @response `422` `UnprocessableEntity` Unprocessable Content
|
|
5136
5130
|
*/
|
|
5137
|
-
allowImpersonation: (data, params = {}) => this.request(Object.assign({ path: `/api/users/impersonation/allow`, method: "POST", body: data, secure: true, type:
|
|
5131
|
+
allowImpersonation: (data, params = {}) => this.request(Object.assign({ path: `/api/users/impersonation/allow`, method: "POST", body: data, secure: true, type: "application/json" }, params)),
|
|
5138
5132
|
/**
|
|
5139
5133
|
* No description
|
|
5140
5134
|
*
|
|
@@ -5184,7 +5178,7 @@ export class Api extends HttpClient {
|
|
|
5184
5178
|
* @response `404` `Error` Not Found
|
|
5185
5179
|
* @response `422` `UnprocessableEntity` Unprocessable Content
|
|
5186
5180
|
*/
|
|
5187
|
-
forceImpersonation: (data, params = {}) => this.request(Object.assign({ path: `/api/users/impersonation/force`, method: "POST", body: data, secure: true, type:
|
|
5181
|
+
forceImpersonation: (data, params = {}) => this.request(Object.assign({ path: `/api/users/impersonation/force`, method: "POST", body: data, secure: true, type: "application/json" }, params)),
|
|
5188
5182
|
/**
|
|
5189
5183
|
* No description
|
|
5190
5184
|
*
|
|
@@ -5208,7 +5202,7 @@ export class Api extends HttpClient {
|
|
|
5208
5202
|
* @response `204` `void` No Content
|
|
5209
5203
|
* @response `422` `UnprocessableEntity` Unprocessable Content
|
|
5210
5204
|
*/
|
|
5211
|
-
inviteUser: (data, params = {}) => this.request(Object.assign({ path: `/api/users/invites`, method: "POST", body: data, secure: true, type:
|
|
5205
|
+
inviteUser: (data, params = {}) => this.request(Object.assign({ path: `/api/users/invites`, method: "POST", body: data, secure: true, type: "application/json" }, params)),
|
|
5212
5206
|
/**
|
|
5213
5207
|
* No description
|
|
5214
5208
|
*
|
|
@@ -5246,7 +5240,7 @@ export class Api extends HttpClient {
|
|
|
5246
5240
|
* @secure
|
|
5247
5241
|
* @response `204` `void` No Content
|
|
5248
5242
|
*/
|
|
5249
|
-
requestUserReactivation: (data, params = {}) => this.request(Object.assign({ path: `/api/users/reactivation/request`, method: "POST", body: data, secure: true, type:
|
|
5243
|
+
requestUserReactivation: (data, params = {}) => this.request(Object.assign({ path: `/api/users/reactivation/request`, method: "POST", body: data, secure: true, type: "application/json" }, params)),
|
|
5250
5244
|
/**
|
|
5251
5245
|
* No description
|
|
5252
5246
|
*
|
|
@@ -5258,7 +5252,7 @@ export class Api extends HttpClient {
|
|
|
5258
5252
|
* @response `204` `void` No Content
|
|
5259
5253
|
* @response `400` `ProblemDetails` Bad Request
|
|
5260
5254
|
*/
|
|
5261
|
-
completeUserReactivation: (data, params = {}) => this.request(Object.assign({ path: `/api/users/reactivation/complete`, method: "POST", body: data, secure: true, type:
|
|
5255
|
+
completeUserReactivation: (data, params = {}) => this.request(Object.assign({ path: `/api/users/reactivation/complete`, method: "POST", body: data, secure: true, type: "application/json" }, params)),
|
|
5262
5256
|
/**
|
|
5263
5257
|
* No description
|
|
5264
5258
|
*
|
|
@@ -5280,7 +5274,7 @@ export class Api extends HttpClient {
|
|
|
5280
5274
|
* @secure
|
|
5281
5275
|
* @response `204` `void` No Content
|
|
5282
5276
|
*/
|
|
5283
|
-
createUserRelation: (userId, data, params = {}) => this.request(Object.assign({ path: `/api/users/${userId}/relations`, method: "POST", body: data, secure: true, type:
|
|
5277
|
+
createUserRelation: (userId, data, params = {}) => this.request(Object.assign({ path: `/api/users/${userId}/relations`, method: "POST", body: data, secure: true, type: "application/json" }, params)),
|
|
5284
5278
|
/**
|
|
5285
5279
|
* No description
|
|
5286
5280
|
*
|
|
@@ -5326,7 +5320,7 @@ export class Api extends HttpClient {
|
|
|
5326
5320
|
* @response `409` `ProblemDetails` Conflict
|
|
5327
5321
|
* @response `422` `UnprocessableEntity` Unprocessable Content
|
|
5328
5322
|
*/
|
|
5329
|
-
createUser: (data, params = {}) => this.request(Object.assign({ path: `/api/users`, method: "POST", body: data, secure: true, type:
|
|
5323
|
+
createUser: (data, params = {}) => this.request(Object.assign({ path: `/api/users`, method: "POST", body: data, secure: true, type: "application/json", format: "json" }, params)),
|
|
5330
5324
|
/**
|
|
5331
5325
|
* No description
|
|
5332
5326
|
*
|
|
@@ -5337,7 +5331,7 @@ export class Api extends HttpClient {
|
|
|
5337
5331
|
* @secure
|
|
5338
5332
|
* @response `200` `UserPaginated` OK
|
|
5339
5333
|
*/
|
|
5340
|
-
searchUsers: (data, query, params = {}) => this.request(Object.assign({ path: `/api/users/search`, method: "POST", query: query, body: data, secure: true, type:
|
|
5334
|
+
searchUsers: (data, query, params = {}) => this.request(Object.assign({ path: `/api/users/search`, method: "POST", query: query, body: data, secure: true, type: "application/json", format: "json" }, params)),
|
|
5341
5335
|
/**
|
|
5342
5336
|
* No description
|
|
5343
5337
|
*
|
|
@@ -5348,7 +5342,7 @@ export class Api extends HttpClient {
|
|
|
5348
5342
|
* @secure
|
|
5349
5343
|
* @response `200` `AdminAccessUser` OK
|
|
5350
5344
|
*/
|
|
5351
|
-
getUserByEmail: (data, params = {}) => this.request(Object.assign({ path: `/api/users/byemail`, method: "POST", body: data, secure: true, type:
|
|
5345
|
+
getUserByEmail: (data, params = {}) => this.request(Object.assign({ path: `/api/users/byemail`, method: "POST", body: data, secure: true, type: "application/json", format: "json" }, params)),
|
|
5352
5346
|
/**
|
|
5353
5347
|
* No description
|
|
5354
5348
|
*
|
|
@@ -5360,7 +5354,7 @@ export class Api extends HttpClient {
|
|
|
5360
5354
|
* @response `200` `User` OK
|
|
5361
5355
|
* @response `422` `UnprocessableEntity` Unprocessable Content
|
|
5362
5356
|
*/
|
|
5363
|
-
signUp: (data, params = {}) => this.request(Object.assign({ path: `/api/users/register`, method: "POST", body: data, secure: true, type:
|
|
5357
|
+
signUp: (data, params = {}) => this.request(Object.assign({ path: `/api/users/register`, method: "POST", body: data, secure: true, type: "application/json", format: "json" }, params)),
|
|
5364
5358
|
/**
|
|
5365
5359
|
* No description
|
|
5366
5360
|
*
|
|
@@ -5372,7 +5366,7 @@ export class Api extends HttpClient {
|
|
|
5372
5366
|
* @response `200` `DetailedUser` OK
|
|
5373
5367
|
* @response `422` `UnprocessableEntity` Unprocessable Content
|
|
5374
5368
|
*/
|
|
5375
|
-
replaceUser: (id, data, params = {}) => this.request(Object.assign({ path: `/api/users/${id}`, method: "PUT", body: data, secure: true, type:
|
|
5369
|
+
replaceUser: (id, data, params = {}) => this.request(Object.assign({ path: `/api/users/${id}`, method: "PUT", body: data, secure: true, type: "application/json", format: "json" }, params)),
|
|
5376
5370
|
/**
|
|
5377
5371
|
* No description
|
|
5378
5372
|
*
|
|
@@ -5406,7 +5400,7 @@ export class Api extends HttpClient {
|
|
|
5406
5400
|
* @response `204` `void` No Content
|
|
5407
5401
|
* @response `422` `UnprocessableEntity` Unprocessable Content
|
|
5408
5402
|
*/
|
|
5409
|
-
changePassword: (data, params = {}) => this.request(Object.assign({ path: `/api/users/change-password`, method: "POST", body: data, secure: true, type:
|
|
5403
|
+
changePassword: (data, params = {}) => this.request(Object.assign({ path: `/api/users/change-password`, method: "POST", body: data, secure: true, type: "application/json" }, params)),
|
|
5410
5404
|
/**
|
|
5411
5405
|
* No description
|
|
5412
5406
|
*
|
|
@@ -5419,7 +5413,7 @@ export class Api extends HttpClient {
|
|
|
5419
5413
|
* @response `204` `void` No Content
|
|
5420
5414
|
* @response `422` `UnprocessableEntity` Unprocessable Content
|
|
5421
5415
|
*/
|
|
5422
|
-
verifyPassword: (data, params = {}) => this.request(Object.assign({ path: `/api/users/verify-password`, method: "POST", body: data, secure: true, type:
|
|
5416
|
+
verifyPassword: (data, params = {}) => this.request(Object.assign({ path: `/api/users/verify-password`, method: "POST", body: data, secure: true, type: "application/json" }, params)),
|
|
5423
5417
|
/**
|
|
5424
5418
|
* No description
|
|
5425
5419
|
*
|
|
@@ -5431,7 +5425,7 @@ export class Api extends HttpClient {
|
|
|
5431
5425
|
* @response `204` `void` No Content
|
|
5432
5426
|
* @response `422` `UnprocessableEntity` Unprocessable Content
|
|
5433
5427
|
*/
|
|
5434
|
-
overridePassword: (id, data, params = {}) => this.request(Object.assign({ path: `/api/users/${id}/override-password`, method: "POST", body: data, secure: true, type:
|
|
5428
|
+
overridePassword: (id, data, params = {}) => this.request(Object.assign({ path: `/api/users/${id}/override-password`, method: "POST", body: data, secure: true, type: "application/json" }, params)),
|
|
5435
5429
|
/**
|
|
5436
5430
|
* No description
|
|
5437
5431
|
*
|
|
@@ -5444,7 +5438,7 @@ export class Api extends HttpClient {
|
|
|
5444
5438
|
* @response `204` `void` No Content
|
|
5445
5439
|
* @response `422` `UnprocessableEntity` Unprocessable Content
|
|
5446
5440
|
*/
|
|
5447
|
-
forgotPassword: (data, params = {}) => this.request(Object.assign({ path: `/api/users/forgot-password`, method: "POST", body: data, secure: true, type:
|
|
5441
|
+
forgotPassword: (data, params = {}) => this.request(Object.assign({ path: `/api/users/forgot-password`, method: "POST", body: data, secure: true, type: "application/json" }, params)),
|
|
5448
5442
|
/**
|
|
5449
5443
|
* No description
|
|
5450
5444
|
*
|
|
@@ -5468,7 +5462,7 @@ export class Api extends HttpClient {
|
|
|
5468
5462
|
* @response `204` `void` No Content
|
|
5469
5463
|
* @response `422` `UnprocessableEntity` Unprocessable Content
|
|
5470
5464
|
*/
|
|
5471
|
-
verifyUserMobilePhone: (data, params = {}) => this.request(Object.assign({ path: `/api/users/mobile-phone/verify-code`, method: "PUT", body: data, secure: true, type:
|
|
5465
|
+
verifyUserMobilePhone: (data, params = {}) => this.request(Object.assign({ path: `/api/users/mobile-phone/verify-code`, method: "PUT", body: data, secure: true, type: "application/json" }, params)),
|
|
5472
5466
|
/**
|
|
5473
5467
|
* No description
|
|
5474
5468
|
*
|
|
@@ -5493,7 +5487,7 @@ export class Api extends HttpClient {
|
|
|
5493
5487
|
* @response `403` `ProblemDetails` Forbidden
|
|
5494
5488
|
* @response `409` `ProblemDetails` Conflict
|
|
5495
5489
|
*/
|
|
5496
|
-
replaceMe: (data, params = {}) => this.request(Object.assign({ path: `/api/users/me`, method: "PUT", body: data, secure: true, type:
|
|
5490
|
+
replaceMe: (data, params = {}) => this.request(Object.assign({ path: `/api/users/me`, method: "PUT", body: data, secure: true, type: "application/json", format: "json" }, params)),
|
|
5497
5491
|
/**
|
|
5498
5492
|
* @description Update the phone number If changed will send a verification code to the new number
|
|
5499
5493
|
*
|
|
@@ -5504,7 +5498,7 @@ export class Api extends HttpClient {
|
|
|
5504
5498
|
* @secure
|
|
5505
5499
|
* @response `204` `DetailedUser` No Content
|
|
5506
5500
|
*/
|
|
5507
|
-
updateMyPhone: (data, params = {}) => this.request(Object.assign({ path: `/api/users/me/phone-number`, method: "PUT", body: data, secure: true, type:
|
|
5501
|
+
updateMyPhone: (data, params = {}) => this.request(Object.assign({ path: `/api/users/me/phone-number`, method: "PUT", body: data, secure: true, type: "application/json", format: "json" }, params)),
|
|
5508
5502
|
/**
|
|
5509
5503
|
* No description
|
|
5510
5504
|
*
|
|
@@ -5548,7 +5542,7 @@ export class Api extends HttpClient {
|
|
|
5548
5542
|
* @secure
|
|
5549
5543
|
* @response `204` `void` No Content
|
|
5550
5544
|
*/
|
|
5551
|
-
deleteMe: (data, params = {}) => this.request(Object.assign({ path: `/api/users/me/delete`, method: "POST", body: data, secure: true, type:
|
|
5545
|
+
deleteMe: (data, params = {}) => this.request(Object.assign({ path: `/api/users/me/delete`, method: "POST", body: data, secure: true, type: "application/json" }, params)),
|
|
5552
5546
|
/**
|
|
5553
5547
|
* No description
|
|
5554
5548
|
*
|
|
@@ -5559,7 +5553,7 @@ export class Api extends HttpClient {
|
|
|
5559
5553
|
* @secure
|
|
5560
5554
|
* @response `200` `GetForm` OK
|
|
5561
5555
|
*/
|
|
5562
|
-
getWorkflow: (data, params = {}) => this.request(Object.assign({ path: `/api/workflow`, method: "POST", body: data, secure: true, type:
|
|
5556
|
+
getWorkflow: (data, params = {}) => this.request(Object.assign({ path: `/api/workflow`, method: "POST", body: data, secure: true, type: "application/json", format: "json" }, params)),
|
|
5563
5557
|
};
|
|
5564
5558
|
this.sso = {
|
|
5565
5559
|
/**
|