@matech/thebigpos-sdk 2.49.3-rc1 → 2.49.7-rc0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/.husky/pre-commit +2 -2
- package/LICENSE +21 -21
- package/dist/index.d.ts +139 -215
- package/dist/index.js +213 -204
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
- package/src/index.ts +916 -1220
- package/tsconfig.json +27 -27
package/dist/index.js
CHANGED
|
@@ -30,6 +30,15 @@ var __rest = (this && this.__rest) || function (s, e) {
|
|
|
30
30
|
return t;
|
|
31
31
|
};
|
|
32
32
|
import axios from "axios";
|
|
33
|
+
export var ContentType;
|
|
34
|
+
(function (ContentType) {
|
|
35
|
+
ContentType["JsonPatch"] = "application/json-patch+json";
|
|
36
|
+
ContentType["Json"] = "application/json";
|
|
37
|
+
ContentType["JsonApi"] = "application/vnd.api+json";
|
|
38
|
+
ContentType["FormData"] = "multipart/form-data";
|
|
39
|
+
ContentType["UrlEncoded"] = "application/x-www-form-urlencoded";
|
|
40
|
+
ContentType["Text"] = "text/plain";
|
|
41
|
+
})(ContentType || (ContentType = {}));
|
|
33
42
|
export class HttpClient {
|
|
34
43
|
constructor(_a = {}) {
|
|
35
44
|
var { securityWorker, secure, format } = _a, axiosConfig = __rest(_a, ["securityWorker", "secure", "format"]);
|
|
@@ -45,13 +54,13 @@ export class HttpClient {
|
|
|
45
54
|
{};
|
|
46
55
|
const requestParams = this.mergeRequestParams(params, secureParams);
|
|
47
56
|
const responseFormat = format || this.format || undefined;
|
|
48
|
-
if (type ===
|
|
57
|
+
if (type === ContentType.FormData &&
|
|
49
58
|
body &&
|
|
50
59
|
body !== null &&
|
|
51
60
|
typeof body === "object") {
|
|
52
61
|
body = this.createFormData(body);
|
|
53
62
|
}
|
|
54
|
-
if (type ===
|
|
63
|
+
if (type === ContentType.Text &&
|
|
55
64
|
body &&
|
|
56
65
|
body !== null &&
|
|
57
66
|
typeof body !== "string") {
|
|
@@ -95,7 +104,7 @@ export class HttpClient {
|
|
|
95
104
|
}
|
|
96
105
|
/**
|
|
97
106
|
* @title The Big POS API
|
|
98
|
-
* @version v2.49.
|
|
107
|
+
* @version v2.49.7
|
|
99
108
|
* @termsOfService https://www.thebigpos.com/terms-of-use/
|
|
100
109
|
* @contact Mortgage Automation Technologies <support@thebigpos.com> (https://www.thebigpos.com/terms-of-use/)
|
|
101
110
|
*/
|
|
@@ -147,7 +156,7 @@ export class Api extends HttpClient {
|
|
|
147
156
|
* @response `404` `ProblemDetails` Not Found
|
|
148
157
|
* @response `422` `ProblemDetails` Unprocessable Content
|
|
149
158
|
*/
|
|
150
|
-
replaceMyAccount: (data, params = {}) => this.request(Object.assign({ path: `/api/account`, method: "PUT", body: data, secure: true, type:
|
|
159
|
+
replaceMyAccount: (data, params = {}) => this.request(Object.assign({ path: `/api/account`, method: "PUT", body: data, secure: true, type: ContentType.Json, format: "json" }, params)),
|
|
151
160
|
/**
|
|
152
161
|
* No description
|
|
153
162
|
*
|
|
@@ -170,7 +179,7 @@ export class Api extends HttpClient {
|
|
|
170
179
|
* @response `200` `SiteConfiguration` OK
|
|
171
180
|
* @response `422` `UnprocessableEntity` Unprocessable Content
|
|
172
181
|
*/
|
|
173
|
-
updateSiteConfigurationForAccount: (data, params = {}) => this.request(Object.assign({ path: `/api/account/site-configurations`, method: "PUT", body: data, secure: true, type:
|
|
182
|
+
updateSiteConfigurationForAccount: (data, params = {}) => this.request(Object.assign({ path: `/api/account/site-configurations`, method: "PUT", body: data, secure: true, type: ContentType.Json, format: "json" }, params)),
|
|
174
183
|
/**
|
|
175
184
|
* No description
|
|
176
185
|
*
|
|
@@ -193,7 +202,7 @@ export class Api extends HttpClient {
|
|
|
193
202
|
* @response `201` `Account` Created
|
|
194
203
|
* @response `422` `ProblemDetails` Unprocessable Content
|
|
195
204
|
*/
|
|
196
|
-
createAccount: (data, params = {}) => this.request(Object.assign({ path: `/api/accounts`, method: "POST", body: data, secure: true, type:
|
|
205
|
+
createAccount: (data, params = {}) => this.request(Object.assign({ path: `/api/accounts`, method: "POST", body: data, secure: true, type: ContentType.Json, format: "json" }, params)),
|
|
197
206
|
/**
|
|
198
207
|
* No description
|
|
199
208
|
*
|
|
@@ -231,7 +240,7 @@ export class Api extends HttpClient {
|
|
|
231
240
|
* @response `404` `ProblemDetails` Not Found
|
|
232
241
|
* @response `422` `ProblemDetails` Unprocessable Content
|
|
233
242
|
*/
|
|
234
|
-
updateAccountBilling: (id, data, params = {}) => this.request(Object.assign({ path: `/api/accounts/${id}/billing`, method: "PUT", body: data, secure: true, type:
|
|
243
|
+
updateAccountBilling: (id, data, params = {}) => this.request(Object.assign({ path: `/api/accounts/${id}/billing`, method: "PUT", body: data, secure: true, type: ContentType.Json, format: "json" }, params)),
|
|
235
244
|
/**
|
|
236
245
|
* No description
|
|
237
246
|
*
|
|
@@ -264,7 +273,7 @@ export class Api extends HttpClient {
|
|
|
264
273
|
* @secure
|
|
265
274
|
* @response `204` `void` No Content
|
|
266
275
|
*/
|
|
267
|
-
setAccountAiEnabled: (accountId, data, params = {}) => this.request(Object.assign({ path: `/api/ai/accounts/${accountId}/ai-enabled`, method: "PUT", body: data, secure: true, type:
|
|
276
|
+
setAccountAiEnabled: (accountId, data, params = {}) => this.request(Object.assign({ path: `/api/ai/accounts/${accountId}/ai-enabled`, method: "PUT", body: data, secure: true, type: ContentType.Json }, params)),
|
|
268
277
|
/**
|
|
269
278
|
* No description
|
|
270
279
|
*
|
|
@@ -287,7 +296,7 @@ export class Api extends HttpClient {
|
|
|
287
296
|
* @response `200` `AiAccountSettings` OK
|
|
288
297
|
* @response `400` `ProblemDetails` Bad Request
|
|
289
298
|
*/
|
|
290
|
-
updateAiAccountSettings: (data, params = {}) => this.request(Object.assign({ path: `/api/ai/account-settings`, method: "PUT", body: data, secure: true, type:
|
|
299
|
+
updateAiAccountSettings: (data, params = {}) => this.request(Object.assign({ path: `/api/ai/account-settings`, method: "PUT", body: data, secure: true, type: ContentType.Json, format: "json" }, params)),
|
|
291
300
|
/**
|
|
292
301
|
* No description
|
|
293
302
|
*
|
|
@@ -310,7 +319,7 @@ export class Api extends HttpClient {
|
|
|
310
319
|
* @response `201` `AiPrompt` Created
|
|
311
320
|
* @response `400` `ProblemDetails` Bad Request
|
|
312
321
|
*/
|
|
313
|
-
createAiPrompt: (data, params = {}) => this.request(Object.assign({ path: `/api/ai/prompts`, method: "POST", body: data, secure: true, type:
|
|
322
|
+
createAiPrompt: (data, params = {}) => this.request(Object.assign({ path: `/api/ai/prompts`, method: "POST", body: data, secure: true, type: ContentType.Json, format: "json" }, params)),
|
|
314
323
|
/**
|
|
315
324
|
* No description
|
|
316
325
|
*
|
|
@@ -335,7 +344,7 @@ export class Api extends HttpClient {
|
|
|
335
344
|
* @response `400` `ProblemDetails` Bad Request
|
|
336
345
|
* @response `404` `ProblemDetails` Not Found
|
|
337
346
|
*/
|
|
338
|
-
updateAiPrompt: (id, data, params = {}) => this.request(Object.assign({ path: `/api/ai/prompts/${id}`, method: "PUT", body: data, secure: true, type:
|
|
347
|
+
updateAiPrompt: (id, data, params = {}) => this.request(Object.assign({ path: `/api/ai/prompts/${id}`, method: "PUT", body: data, secure: true, type: ContentType.Json, format: "json" }, params)),
|
|
339
348
|
/**
|
|
340
349
|
* No description
|
|
341
350
|
*
|
|
@@ -372,7 +381,7 @@ export class Api extends HttpClient {
|
|
|
372
381
|
* @response `400` `ProblemDetails` Bad Request
|
|
373
382
|
* @response `404` `ProblemDetails` Not Found
|
|
374
383
|
*/
|
|
375
|
-
updateAiPromptTools: (id, data, params = {}) => this.request(Object.assign({ path: `/api/ai/prompts/${id}/tools`, method: "PUT", body: data, secure: true, type:
|
|
384
|
+
updateAiPromptTools: (id, data, params = {}) => this.request(Object.assign({ path: `/api/ai/prompts/${id}/tools`, method: "PUT", body: data, secure: true, type: ContentType.Json, format: "json" }, params)),
|
|
376
385
|
/**
|
|
377
386
|
* No description
|
|
378
387
|
*
|
|
@@ -396,7 +405,7 @@ export class Api extends HttpClient {
|
|
|
396
405
|
* @response `200` `GenerateSystemPrompt` OK
|
|
397
406
|
* @response `400` `ProblemDetails` Bad Request
|
|
398
407
|
*/
|
|
399
|
-
generateAiSystemPrompt: (data, params = {}) => this.request(Object.assign({ path: `/api/ai/prompts/generate`, method: "POST", body: data, secure: true, type:
|
|
408
|
+
generateAiSystemPrompt: (data, params = {}) => this.request(Object.assign({ path: `/api/ai/prompts/generate`, method: "POST", body: data, secure: true, type: ContentType.Json, format: "json" }, params)),
|
|
400
409
|
/**
|
|
401
410
|
* No description
|
|
402
411
|
*
|
|
@@ -430,7 +439,7 @@ export class Api extends HttpClient {
|
|
|
430
439
|
* @response `200` `AiAdminSettings` OK
|
|
431
440
|
* @response `400` `ProblemDetails` Bad Request
|
|
432
441
|
*/
|
|
433
|
-
updateAiAdminSettings: (data, params = {}) => this.request(Object.assign({ path: `/api/ai/settings`, method: "PUT", body: data, secure: true, type:
|
|
442
|
+
updateAiAdminSettings: (data, params = {}) => this.request(Object.assign({ path: `/api/ai/settings`, method: "PUT", body: data, secure: true, type: ContentType.Json, format: "json" }, params)),
|
|
434
443
|
/**
|
|
435
444
|
* No description
|
|
436
445
|
*
|
|
@@ -508,7 +517,7 @@ export class Api extends HttpClient {
|
|
|
508
517
|
* @response `201` `AiCanonicalField` Created
|
|
509
518
|
* @response `400` `ProblemDetails` Bad Request
|
|
510
519
|
*/
|
|
511
|
-
createAiCanonicalField: (data, params = {}) => this.request(Object.assign({ path: `/api/ai/canonical-fields`, method: "POST", body: data, secure: true, type:
|
|
520
|
+
createAiCanonicalField: (data, params = {}) => this.request(Object.assign({ path: `/api/ai/canonical-fields`, method: "POST", body: data, secure: true, type: ContentType.Json, format: "json" }, params)),
|
|
512
521
|
/**
|
|
513
522
|
* No description
|
|
514
523
|
*
|
|
@@ -533,7 +542,7 @@ export class Api extends HttpClient {
|
|
|
533
542
|
* @response `400` `ProblemDetails` Bad Request
|
|
534
543
|
* @response `404` `ProblemDetails` Not Found
|
|
535
544
|
*/
|
|
536
|
-
updateAiCanonicalField: (id, data, params = {}) => this.request(Object.assign({ path: `/api/ai/canonical-fields/${id}`, method: "PUT", body: data, secure: true, type:
|
|
545
|
+
updateAiCanonicalField: (id, data, params = {}) => this.request(Object.assign({ path: `/api/ai/canonical-fields/${id}`, method: "PUT", body: data, secure: true, type: ContentType.Json, format: "json" }, params)),
|
|
537
546
|
/**
|
|
538
547
|
* No description
|
|
539
548
|
*
|
|
@@ -571,7 +580,7 @@ export class Api extends HttpClient {
|
|
|
571
580
|
* @response `401` `ProblemDetails` Unauthorized
|
|
572
581
|
* @response `429` `ProblemDetails` Too Many Requests
|
|
573
582
|
*/
|
|
574
|
-
aiChat: (data, params = {}) => this.request(Object.assign({ path: `/api/ai/chats`, method: "POST", body: data, secure: true, type:
|
|
583
|
+
aiChat: (data, params = {}) => this.request(Object.assign({ path: `/api/ai/chats`, method: "POST", body: data, secure: true, type: ContentType.Json, format: "json" }, params)),
|
|
575
584
|
/**
|
|
576
585
|
* No description
|
|
577
586
|
*
|
|
@@ -609,7 +618,7 @@ export class Api extends HttpClient {
|
|
|
609
618
|
* @response `403` `ProblemDetails` Forbidden
|
|
610
619
|
* @response `404` `ProblemDetails` Not Found
|
|
611
620
|
*/
|
|
612
|
-
renameAiConversation: (id, data, params = {}) => this.request(Object.assign({ path: `/api/ai/conversations/${id}`, method: "PATCH", body: data, secure: true, type:
|
|
621
|
+
renameAiConversation: (id, data, params = {}) => this.request(Object.assign({ path: `/api/ai/conversations/${id}`, method: "PATCH", body: data, secure: true, type: ContentType.Json, format: "json" }, params)),
|
|
613
622
|
/**
|
|
614
623
|
* No description
|
|
615
624
|
*
|
|
@@ -661,7 +670,7 @@ export class Api extends HttpClient {
|
|
|
661
670
|
* @response `403` `ProblemDetails` Forbidden
|
|
662
671
|
* @response `404` `ProblemDetails` Not Found
|
|
663
672
|
*/
|
|
664
|
-
pinAiConversation: (id, data, params = {}) => this.request(Object.assign({ path: `/api/ai/conversations/${id}/pin`, method: "PUT", body: data, secure: true, type:
|
|
673
|
+
pinAiConversation: (id, data, params = {}) => this.request(Object.assign({ path: `/api/ai/conversations/${id}/pin`, method: "PUT", body: data, secure: true, type: ContentType.Json, format: "json" }, params)),
|
|
665
674
|
/**
|
|
666
675
|
* No description
|
|
667
676
|
*
|
|
@@ -719,7 +728,7 @@ export class Api extends HttpClient {
|
|
|
719
728
|
* @response `201` `AiGuardrail` Created
|
|
720
729
|
* @response `400` `ProblemDetails` Bad Request
|
|
721
730
|
*/
|
|
722
|
-
createAiGuardrail: (data, params = {}) => this.request(Object.assign({ path: `/api/ai/guardrails`, method: "POST", body: data, secure: true, type:
|
|
731
|
+
createAiGuardrail: (data, params = {}) => this.request(Object.assign({ path: `/api/ai/guardrails`, method: "POST", body: data, secure: true, type: ContentType.Json, format: "json" }, params)),
|
|
723
732
|
/**
|
|
724
733
|
* No description
|
|
725
734
|
*
|
|
@@ -744,7 +753,7 @@ export class Api extends HttpClient {
|
|
|
744
753
|
* @response `400` `ProblemDetails` Bad Request
|
|
745
754
|
* @response `404` `ProblemDetails` Not Found
|
|
746
755
|
*/
|
|
747
|
-
updateAiGuardrail: (id, data, params = {}) => this.request(Object.assign({ path: `/api/ai/guardrails/${id}`, method: "PUT", body: data, secure: true, type:
|
|
756
|
+
updateAiGuardrail: (id, data, params = {}) => this.request(Object.assign({ path: `/api/ai/guardrails/${id}`, method: "PUT", body: data, secure: true, type: ContentType.Json, format: "json" }, params)),
|
|
748
757
|
/**
|
|
749
758
|
* No description
|
|
750
759
|
*
|
|
@@ -791,7 +800,7 @@ export class Api extends HttpClient {
|
|
|
791
800
|
* @secure
|
|
792
801
|
* @response `200` `AiAccountUsageOverviewPaginated` OK
|
|
793
802
|
*/
|
|
794
|
-
searchAiAccountTokenUsage: (data, query, params = {}) => this.request(Object.assign({ path: `/api/ai/token-usage/search`, method: "POST", query: query, body: data, secure: true, type:
|
|
803
|
+
searchAiAccountTokenUsage: (data, query, params = {}) => this.request(Object.assign({ path: `/api/ai/token-usage/search`, method: "POST", query: query, body: data, secure: true, type: ContentType.Json, format: "json" }, params)),
|
|
795
804
|
/**
|
|
796
805
|
* No description
|
|
797
806
|
*
|
|
@@ -825,7 +834,7 @@ export class Api extends HttpClient {
|
|
|
825
834
|
* @response `200` `AiTokenBudgetStatus` OK
|
|
826
835
|
* @response `400` `ProblemDetails` Bad Request
|
|
827
836
|
*/
|
|
828
|
-
setAiAccountTokenLimit: (accountId, data, params = {}) => this.request(Object.assign({ path: `/api/ai/token-usage/${accountId}/limit`, method: "PUT", body: data, secure: true, type:
|
|
837
|
+
setAiAccountTokenLimit: (accountId, data, params = {}) => this.request(Object.assign({ path: `/api/ai/token-usage/${accountId}/limit`, method: "PUT", body: data, secure: true, type: ContentType.Json, format: "json" }, params)),
|
|
829
838
|
/**
|
|
830
839
|
* No description
|
|
831
840
|
*
|
|
@@ -849,7 +858,7 @@ export class Api extends HttpClient {
|
|
|
849
858
|
* @response `400` `ProblemDetails` Bad Request
|
|
850
859
|
* @response `409` `ProblemDetails` Conflict
|
|
851
860
|
*/
|
|
852
|
-
createAiUrlSource: (data, params = {}) => this.request(Object.assign({ path: `/api/ai/url-sources`, method: "POST", body: data, secure: true, type:
|
|
861
|
+
createAiUrlSource: (data, params = {}) => this.request(Object.assign({ path: `/api/ai/url-sources`, method: "POST", body: data, secure: true, type: ContentType.Json, format: "json" }, params)),
|
|
853
862
|
/**
|
|
854
863
|
* No description
|
|
855
864
|
*
|
|
@@ -875,7 +884,7 @@ export class Api extends HttpClient {
|
|
|
875
884
|
* @response `404` `ProblemDetails` Not Found
|
|
876
885
|
* @response `409` `ProblemDetails` Conflict
|
|
877
886
|
*/
|
|
878
|
-
updateAiUrlSource: (id, data, params = {}) => this.request(Object.assign({ path: `/api/ai/url-sources/${id}`, method: "PUT", body: data, secure: true, type:
|
|
887
|
+
updateAiUrlSource: (id, data, params = {}) => this.request(Object.assign({ path: `/api/ai/url-sources/${id}`, method: "PUT", body: data, secure: true, type: ContentType.Json, format: "json" }, params)),
|
|
879
888
|
/**
|
|
880
889
|
* No description
|
|
881
890
|
*
|
|
@@ -932,7 +941,7 @@ export class Api extends HttpClient {
|
|
|
932
941
|
* @secure
|
|
933
942
|
* @response `200` `AuditLogEntryPaginated` OK
|
|
934
943
|
*/
|
|
935
|
-
searchAuditLogs: (data, query, params = {}) => this.request(Object.assign({ path: `/api/audit-logs/search`, method: "POST", query: query, body: data, secure: true, type:
|
|
944
|
+
searchAuditLogs: (data, query, params = {}) => this.request(Object.assign({ path: `/api/audit-logs/search`, method: "POST", query: query, body: data, secure: true, type: ContentType.Json, format: "json" }, params)),
|
|
936
945
|
/**
|
|
937
946
|
* No description
|
|
938
947
|
*
|
|
@@ -967,7 +976,7 @@ export class Api extends HttpClient {
|
|
|
967
976
|
* @response `204` `void` No Content
|
|
968
977
|
* @response `422` `UnprocessableEntity` Unprocessable Content
|
|
969
978
|
*/
|
|
970
|
-
authForgotPassword: (data, params = {}) => this.request(Object.assign({ path: `/api/auth/forgot-password`, method: "POST", body: data, secure: true, type:
|
|
979
|
+
authForgotPassword: (data, params = {}) => this.request(Object.assign({ path: `/api/auth/forgot-password`, method: "POST", body: data, secure: true, type: ContentType.Json }, params)),
|
|
971
980
|
/**
|
|
972
981
|
* No description
|
|
973
982
|
*
|
|
@@ -979,7 +988,7 @@ export class Api extends HttpClient {
|
|
|
979
988
|
* @response `204` `void` No Content
|
|
980
989
|
* @response `422` `UnprocessableEntity` Unprocessable Content
|
|
981
990
|
*/
|
|
982
|
-
authResetPassword: (data, params = {}) => this.request(Object.assign({ path: `/api/auth/reset-password`, method: "POST", body: data, secure: true, type:
|
|
991
|
+
authResetPassword: (data, params = {}) => this.request(Object.assign({ path: `/api/auth/reset-password`, method: "POST", body: data, secure: true, type: ContentType.Json }, params)),
|
|
983
992
|
/**
|
|
984
993
|
* No description
|
|
985
994
|
*
|
|
@@ -991,7 +1000,7 @@ export class Api extends HttpClient {
|
|
|
991
1000
|
* @response `204` `void` No Content
|
|
992
1001
|
* @response `422` `UnprocessableEntity` Unprocessable Content
|
|
993
1002
|
*/
|
|
994
|
-
authSetPassword: (data, params = {}) => this.request(Object.assign({ path: `/api/auth/set-password`, method: "POST", body: data, secure: true, type:
|
|
1003
|
+
authSetPassword: (data, params = {}) => this.request(Object.assign({ path: `/api/auth/set-password`, method: "POST", body: data, secure: true, type: ContentType.Json }, params)),
|
|
995
1004
|
/**
|
|
996
1005
|
* No description
|
|
997
1006
|
*
|
|
@@ -1014,7 +1023,7 @@ export class Api extends HttpClient {
|
|
|
1014
1023
|
* @response `204` `void` No Content
|
|
1015
1024
|
* @response `422` `UnprocessableEntity` Unprocessable Content
|
|
1016
1025
|
*/
|
|
1017
|
-
authVerifyEmail: (data, params = {}) => this.request(Object.assign({ path: `/api/auth/verify-email`, method: "POST", body: data, secure: true, type:
|
|
1026
|
+
authVerifyEmail: (data, params = {}) => this.request(Object.assign({ path: `/api/auth/verify-email`, method: "POST", body: data, secure: true, type: ContentType.Json }, params)),
|
|
1018
1027
|
/**
|
|
1019
1028
|
* No description
|
|
1020
1029
|
*
|
|
@@ -1027,7 +1036,7 @@ export class Api extends HttpClient {
|
|
|
1027
1036
|
* @response `401` `ProblemDetails` Unauthorized
|
|
1028
1037
|
* @response `422` `UnprocessableEntity` Unprocessable Content
|
|
1029
1038
|
*/
|
|
1030
|
-
getTokenFromRefreshToken: (data, params = {}) => this.request(Object.assign({ path: `/api/refresh-token`, method: "POST", body: data, secure: true, type:
|
|
1039
|
+
getTokenFromRefreshToken: (data, params = {}) => this.request(Object.assign({ path: `/api/refresh-token`, method: "POST", body: data, secure: true, type: ContentType.Json, format: "json" }, params)),
|
|
1031
1040
|
/**
|
|
1032
1041
|
* No description
|
|
1033
1042
|
*
|
|
@@ -1039,7 +1048,7 @@ export class Api extends HttpClient {
|
|
|
1039
1048
|
* @response `200` `UserDeactivated` OK
|
|
1040
1049
|
* @response `422` `UnprocessableEntity` Unprocessable Content
|
|
1041
1050
|
*/
|
|
1042
|
-
getToken: (data, params = {}) => this.request(Object.assign({ path: `/api/token`, method: "POST", body: data, secure: true, type:
|
|
1051
|
+
getToken: (data, params = {}) => this.request(Object.assign({ path: `/api/token`, method: "POST", body: data, secure: true, type: ContentType.Json, format: "json" }, params)),
|
|
1043
1052
|
/**
|
|
1044
1053
|
* No description
|
|
1045
1054
|
*
|
|
@@ -1051,7 +1060,7 @@ export class Api extends HttpClient {
|
|
|
1051
1060
|
* @response `200` `UserDeactivated` OK
|
|
1052
1061
|
* @response `422` `UnprocessableEntity` Unprocessable Content
|
|
1053
1062
|
*/
|
|
1054
|
-
getTokenFromChallengeCode: (data, params = {}) => this.request(Object.assign({ path: `/api/token/code`, method: "POST", body: data, secure: true, type:
|
|
1063
|
+
getTokenFromChallengeCode: (data, params = {}) => this.request(Object.assign({ path: `/api/token/code`, method: "POST", body: data, secure: true, type: ContentType.Json, format: "json" }, params)),
|
|
1055
1064
|
/**
|
|
1056
1065
|
* No description
|
|
1057
1066
|
*
|
|
@@ -1063,7 +1072,7 @@ export class Api extends HttpClient {
|
|
|
1063
1072
|
* @response `200` `Token` OK
|
|
1064
1073
|
* @response `422` `UnprocessableEntity` Unprocessable Content
|
|
1065
1074
|
*/
|
|
1066
|
-
getSystemToken: (data, params = {}) => this.request(Object.assign({ path: `/api/oauth2/token`, method: "POST", body: data, secure: true, type:
|
|
1075
|
+
getSystemToken: (data, params = {}) => this.request(Object.assign({ path: `/api/oauth2/token`, method: "POST", body: data, secure: true, type: ContentType.Json, format: "json" }, params)),
|
|
1067
1076
|
/**
|
|
1068
1077
|
* No description
|
|
1069
1078
|
*
|
|
@@ -1075,7 +1084,7 @@ export class Api extends HttpClient {
|
|
|
1075
1084
|
* @response `200` `SSOToken` OK
|
|
1076
1085
|
* @response `422` `UnprocessableEntity` Unprocessable Content
|
|
1077
1086
|
*/
|
|
1078
|
-
getSsoToken: (data, params = {}) => this.request(Object.assign({ path: `/api/token/sso`, method: "POST", body: data, secure: true, type:
|
|
1087
|
+
getSsoToken: (data, params = {}) => this.request(Object.assign({ path: `/api/token/sso`, method: "POST", body: data, secure: true, type: ContentType.Json, format: "json" }, params)),
|
|
1079
1088
|
/**
|
|
1080
1089
|
* No description
|
|
1081
1090
|
*
|
|
@@ -1110,7 +1119,7 @@ export class Api extends HttpClient {
|
|
|
1110
1119
|
* @response `200` `GetBranch` OK
|
|
1111
1120
|
* @response `422` `UnprocessableEntity` Unprocessable Content
|
|
1112
1121
|
*/
|
|
1113
|
-
createBranch: (data, params = {}) => this.request(Object.assign({ path: `/api/branches`, method: "POST", body: data, secure: true, type:
|
|
1122
|
+
createBranch: (data, params = {}) => this.request(Object.assign({ path: `/api/branches`, method: "POST", body: data, secure: true, type: ContentType.Json, format: "json" }, params)),
|
|
1114
1123
|
/**
|
|
1115
1124
|
* No description
|
|
1116
1125
|
*
|
|
@@ -1121,7 +1130,7 @@ export class Api extends HttpClient {
|
|
|
1121
1130
|
* @secure
|
|
1122
1131
|
* @response `200` `GetBranchPaginated` OK
|
|
1123
1132
|
*/
|
|
1124
|
-
searchBranches: (data, query, params = {}) => this.request(Object.assign({ path: `/api/branches/search`, method: "POST", query: query, body: data, secure: true, type:
|
|
1133
|
+
searchBranches: (data, query, params = {}) => this.request(Object.assign({ path: `/api/branches/search`, method: "POST", query: query, body: data, secure: true, type: ContentType.Json, format: "json" }, params)),
|
|
1125
1134
|
/**
|
|
1126
1135
|
* No description
|
|
1127
1136
|
*
|
|
@@ -1144,7 +1153,7 @@ export class Api extends HttpClient {
|
|
|
1144
1153
|
* @response `200` `GetBranch` OK
|
|
1145
1154
|
* @response `422` `UnprocessableEntity` Unprocessable Content
|
|
1146
1155
|
*/
|
|
1147
|
-
replaceBranch: (branchId, data, params = {}) => this.request(Object.assign({ path: `/api/branches/${branchId}`, method: "PUT", body: data, secure: true, type:
|
|
1156
|
+
replaceBranch: (branchId, data, params = {}) => this.request(Object.assign({ path: `/api/branches/${branchId}`, method: "PUT", body: data, secure: true, type: ContentType.Json, format: "json" }, params)),
|
|
1148
1157
|
/**
|
|
1149
1158
|
* No description
|
|
1150
1159
|
*
|
|
@@ -1179,7 +1188,7 @@ export class Api extends HttpClient {
|
|
|
1179
1188
|
* @response `200` `SiteConfiguration` OK
|
|
1180
1189
|
* @response `422` `UnprocessableEntity` Unprocessable Content
|
|
1181
1190
|
*/
|
|
1182
|
-
createBranchSiteConfiguration: (branchId, data, params = {}) => this.request(Object.assign({ path: `/api/branches/${branchId}/site-configurations`, method: "POST", body: data, secure: true, type:
|
|
1191
|
+
createBranchSiteConfiguration: (branchId, data, params = {}) => this.request(Object.assign({ path: `/api/branches/${branchId}/site-configurations`, method: "POST", body: data, secure: true, type: ContentType.Json, format: "json" }, params)),
|
|
1183
1192
|
/**
|
|
1184
1193
|
* No description
|
|
1185
1194
|
*
|
|
@@ -1202,7 +1211,7 @@ export class Api extends HttpClient {
|
|
|
1202
1211
|
* @response `200` `SiteConfiguration` OK
|
|
1203
1212
|
* @response `422` `UnprocessableEntity` Unprocessable Content
|
|
1204
1213
|
*/
|
|
1205
|
-
replaceBranchSiteConfiguration: (branchId, siteConfigurationId, data, query, params = {}) => this.request(Object.assign({ path: `/api/branches/${branchId}/site-configurations/${siteConfigurationId}`, method: "PUT", query: query, body: data, secure: true, type:
|
|
1214
|
+
replaceBranchSiteConfiguration: (branchId, siteConfigurationId, data, query, params = {}) => this.request(Object.assign({ path: `/api/branches/${branchId}/site-configurations/${siteConfigurationId}`, method: "PUT", query: query, body: data, secure: true, type: ContentType.Json, format: "json" }, params)),
|
|
1206
1215
|
/**
|
|
1207
1216
|
* No description
|
|
1208
1217
|
*
|
|
@@ -1236,7 +1245,7 @@ export class Api extends HttpClient {
|
|
|
1236
1245
|
* @response `200` `BusinessRule` OK
|
|
1237
1246
|
* @response `422` `UnprocessableEntity` Unprocessable Content
|
|
1238
1247
|
*/
|
|
1239
|
-
createBusinessRule: (data, params = {}) => this.request(Object.assign({ path: `/api/business-rules`, method: "POST", body: data, secure: true, type:
|
|
1248
|
+
createBusinessRule: (data, params = {}) => this.request(Object.assign({ path: `/api/business-rules`, method: "POST", body: data, secure: true, type: ContentType.Json, format: "json" }, params)),
|
|
1240
1249
|
/**
|
|
1241
1250
|
* No description
|
|
1242
1251
|
*
|
|
@@ -1259,7 +1268,7 @@ export class Api extends HttpClient {
|
|
|
1259
1268
|
* @response `200` `BusinessRule` OK
|
|
1260
1269
|
* @response `422` `UnprocessableEntity` Unprocessable Content
|
|
1261
1270
|
*/
|
|
1262
|
-
replaceBusinessRule: (id, data, params = {}) => this.request(Object.assign({ path: `/api/business-rules/${id}`, method: "PUT", body: data, secure: true, type:
|
|
1271
|
+
replaceBusinessRule: (id, data, params = {}) => this.request(Object.assign({ path: `/api/business-rules/${id}`, method: "PUT", body: data, secure: true, type: ContentType.Json, format: "json" }, params)),
|
|
1263
1272
|
/**
|
|
1264
1273
|
* No description
|
|
1265
1274
|
*
|
|
@@ -1292,7 +1301,7 @@ export class Api extends HttpClient {
|
|
|
1292
1301
|
* @secure
|
|
1293
1302
|
* @response `200` `ClosedLoansReport` OK
|
|
1294
1303
|
*/
|
|
1295
|
-
getClosedLoansReport: (data, params = {}) => this.request(Object.assign({ path: `/api/loans/reports/closed-loans`, method: "POST", body: data, secure: true, type:
|
|
1304
|
+
getClosedLoansReport: (data, params = {}) => this.request(Object.assign({ path: `/api/loans/reports/closed-loans`, method: "POST", body: data, secure: true, type: ContentType.Json, format: "json" }, params)),
|
|
1296
1305
|
/**
|
|
1297
1306
|
* No description
|
|
1298
1307
|
*
|
|
@@ -1303,7 +1312,7 @@ export class Api extends HttpClient {
|
|
|
1303
1312
|
* @secure
|
|
1304
1313
|
* @response `200` `(CompanyDocumentFolder)[]` OK
|
|
1305
1314
|
*/
|
|
1306
|
-
getCompanyDocumentFolders: (params = {}) => this.request(Object.assign({ path: `/api/company-document-folders`, method: "GET", secure: true, format: "json" }, params)),
|
|
1315
|
+
getCompanyDocumentFolders: (query, params = {}) => this.request(Object.assign({ path: `/api/company-document-folders`, method: "GET", query: query, secure: true, format: "json" }, params)),
|
|
1307
1316
|
/**
|
|
1308
1317
|
* No description
|
|
1309
1318
|
*
|
|
@@ -1316,7 +1325,7 @@ export class Api extends HttpClient {
|
|
|
1316
1325
|
* @response `400` `ProblemDetails` Bad Request
|
|
1317
1326
|
* @response `409` `ProblemDetails` Conflict
|
|
1318
1327
|
*/
|
|
1319
|
-
createCompanyDocumentFolder: (data, params = {}) => this.request(Object.assign({ path: `/api/company-document-folders`, method: "POST", body: data, secure: true, type:
|
|
1328
|
+
createCompanyDocumentFolder: (data, params = {}) => this.request(Object.assign({ path: `/api/company-document-folders`, method: "POST", body: data, secure: true, type: ContentType.Json, format: "json" }, params)),
|
|
1320
1329
|
/**
|
|
1321
1330
|
* No description
|
|
1322
1331
|
*
|
|
@@ -1342,7 +1351,7 @@ export class Api extends HttpClient {
|
|
|
1342
1351
|
* @response `404` `ProblemDetails` Not Found
|
|
1343
1352
|
* @response `409` `ProblemDetails` Conflict
|
|
1344
1353
|
*/
|
|
1345
|
-
updateCompanyDocumentFolder: (id, data, params = {}) => this.request(Object.assign({ path: `/api/company-document-folders/${id}`, method: "PUT", body: data, secure: true, type:
|
|
1354
|
+
updateCompanyDocumentFolder: (id, data, params = {}) => this.request(Object.assign({ path: `/api/company-document-folders/${id}`, method: "PUT", body: data, secure: true, type: ContentType.Json, format: "json" }, params)),
|
|
1346
1355
|
/**
|
|
1347
1356
|
* No description
|
|
1348
1357
|
*
|
|
@@ -1368,7 +1377,7 @@ export class Api extends HttpClient {
|
|
|
1368
1377
|
* @response `200` `CompanyDocumentPaginated` OK
|
|
1369
1378
|
* @response `400` `ProblemDetails` Bad Request
|
|
1370
1379
|
*/
|
|
1371
|
-
searchCompanyDocuments: (data, query, params = {}) => this.request(Object.assign({ path: `/api/company-documents/search`, method: "POST", query: query, body: data, secure: true, type:
|
|
1380
|
+
searchCompanyDocuments: (data, query, params = {}) => this.request(Object.assign({ path: `/api/company-documents/search`, method: "POST", query: query, body: data, secure: true, type: ContentType.Json, format: "json" }, params)),
|
|
1372
1381
|
/**
|
|
1373
1382
|
* No description
|
|
1374
1383
|
*
|
|
@@ -1394,7 +1403,7 @@ export class Api extends HttpClient {
|
|
|
1394
1403
|
* @response `404` `ProblemDetails` Not Found
|
|
1395
1404
|
* @response `409` `ProblemDetails` Conflict
|
|
1396
1405
|
*/
|
|
1397
|
-
updateCompanyDocument: (id, data, params = {}) => this.request(Object.assign({ path: `/api/company-documents/${id}`, method: "PUT", body: data, secure: true, type:
|
|
1406
|
+
updateCompanyDocument: (id, data, params = {}) => this.request(Object.assign({ path: `/api/company-documents/${id}`, method: "PUT", body: data, secure: true, type: ContentType.Json, format: "json" }, params)),
|
|
1398
1407
|
/**
|
|
1399
1408
|
* No description
|
|
1400
1409
|
*
|
|
@@ -1418,7 +1427,7 @@ export class Api extends HttpClient {
|
|
|
1418
1427
|
* @response `200` `Record<string,string>` OK
|
|
1419
1428
|
* @response `400` `ProblemDetails` Bad Request
|
|
1420
1429
|
*/
|
|
1421
|
-
getCompanyDocumentPreviews: (data, params = {}) => this.request(Object.assign({ path: `/api/company-documents/previews`, method: "POST", body: data, secure: true, type:
|
|
1430
|
+
getCompanyDocumentPreviews: (data, params = {}) => this.request(Object.assign({ path: `/api/company-documents/previews`, method: "POST", body: data, secure: true, type: ContentType.Json, format: "json" }, params)),
|
|
1422
1431
|
/**
|
|
1423
1432
|
* No description
|
|
1424
1433
|
*
|
|
@@ -1444,7 +1453,7 @@ export class Api extends HttpClient {
|
|
|
1444
1453
|
* @response `404` `ProblemDetails` Not Found
|
|
1445
1454
|
* @response `409` `ProblemDetails` Conflict
|
|
1446
1455
|
*/
|
|
1447
|
-
createCompanyDocument: (data, params = {}) => this.request(Object.assign({ path: `/api/company-documents`, method: "POST", body: data, secure: true, type:
|
|
1456
|
+
createCompanyDocument: (data, params = {}) => this.request(Object.assign({ path: `/api/company-documents`, method: "POST", body: data, secure: true, type: ContentType.FormData, format: "json" }, params)),
|
|
1448
1457
|
/**
|
|
1449
1458
|
* No description
|
|
1450
1459
|
*
|
|
@@ -1458,7 +1467,7 @@ export class Api extends HttpClient {
|
|
|
1458
1467
|
* @response `404` `ProblemDetails` Not Found
|
|
1459
1468
|
* @response `409` `ProblemDetails` Conflict
|
|
1460
1469
|
*/
|
|
1461
|
-
createCompanyTextDocument: (data, params = {}) => this.request(Object.assign({ path: `/api/company-documents/text`, method: "POST", body: data, secure: true, type:
|
|
1470
|
+
createCompanyTextDocument: (data, params = {}) => this.request(Object.assign({ path: `/api/company-documents/text`, method: "POST", body: data, secure: true, type: ContentType.Json, format: "json" }, params)),
|
|
1462
1471
|
/**
|
|
1463
1472
|
* No description
|
|
1464
1473
|
*
|
|
@@ -1516,7 +1525,7 @@ export class Api extends HttpClient {
|
|
|
1516
1525
|
* @response `200` `Corporate` OK
|
|
1517
1526
|
* @response `422` `UnprocessableEntity` Unprocessable Content
|
|
1518
1527
|
*/
|
|
1519
|
-
createCorporate: (data, params = {}) => this.request(Object.assign({ path: `/api/corporates`, method: "POST", body: data, secure: true, type:
|
|
1528
|
+
createCorporate: (data, params = {}) => this.request(Object.assign({ path: `/api/corporates`, method: "POST", body: data, secure: true, type: ContentType.Json, format: "json" }, params)),
|
|
1520
1529
|
/**
|
|
1521
1530
|
* No description
|
|
1522
1531
|
*
|
|
@@ -1527,7 +1536,7 @@ export class Api extends HttpClient {
|
|
|
1527
1536
|
* @secure
|
|
1528
1537
|
* @response `200` `CorporatePaginated` OK
|
|
1529
1538
|
*/
|
|
1530
|
-
searchCorporate: (data, query, params = {}) => this.request(Object.assign({ path: `/api/corporates/search`, method: "POST", query: query, body: data, secure: true, type:
|
|
1539
|
+
searchCorporate: (data, query, params = {}) => this.request(Object.assign({ path: `/api/corporates/search`, method: "POST", query: query, body: data, secure: true, type: ContentType.Json, format: "json" }, params)),
|
|
1531
1540
|
/**
|
|
1532
1541
|
* No description
|
|
1533
1542
|
*
|
|
@@ -1550,7 +1559,7 @@ export class Api extends HttpClient {
|
|
|
1550
1559
|
* @response `200` `Corporate` OK
|
|
1551
1560
|
* @response `422` `UnprocessableEntity` Unprocessable Content
|
|
1552
1561
|
*/
|
|
1553
|
-
replaceCorporate: (id, data, params = {}) => this.request(Object.assign({ path: `/api/corporates/${id}`, method: "PUT", body: data, secure: true, type:
|
|
1562
|
+
replaceCorporate: (id, data, params = {}) => this.request(Object.assign({ path: `/api/corporates/${id}`, method: "PUT", body: data, secure: true, type: ContentType.Json, format: "json" }, params)),
|
|
1554
1563
|
/**
|
|
1555
1564
|
* No description
|
|
1556
1565
|
*
|
|
@@ -1584,7 +1593,7 @@ export class Api extends HttpClient {
|
|
|
1584
1593
|
* @response `200` `SiteConfiguration` OK
|
|
1585
1594
|
* @response `422` `UnprocessableEntity` Unprocessable Content
|
|
1586
1595
|
*/
|
|
1587
|
-
createCorporateSiteConfiguration: (corporateId, data, params = {}) => this.request(Object.assign({ path: `/api/corporates/${corporateId}/site-configurations`, method: "POST", body: data, secure: true, type:
|
|
1596
|
+
createCorporateSiteConfiguration: (corporateId, data, params = {}) => this.request(Object.assign({ path: `/api/corporates/${corporateId}/site-configurations`, method: "POST", body: data, secure: true, type: ContentType.Json, format: "json" }, params)),
|
|
1588
1597
|
/**
|
|
1589
1598
|
* No description
|
|
1590
1599
|
*
|
|
@@ -1607,7 +1616,7 @@ export class Api extends HttpClient {
|
|
|
1607
1616
|
* @response `200` `SiteConfiguration` OK
|
|
1608
1617
|
* @response `422` `UnprocessableEntity` Unprocessable Content
|
|
1609
1618
|
*/
|
|
1610
|
-
replaceCorporateSiteConfiguration: (corporateId, siteConfigurationId, data, query, params = {}) => this.request(Object.assign({ path: `/api/corporates/${corporateId}/site-configurations/${siteConfigurationId}`, method: "PUT", query: query, body: data, secure: true, type:
|
|
1619
|
+
replaceCorporateSiteConfiguration: (corporateId, siteConfigurationId, data, query, params = {}) => this.request(Object.assign({ path: `/api/corporates/${corporateId}/site-configurations/${siteConfigurationId}`, method: "PUT", query: query, body: data, secure: true, type: ContentType.Json, format: "json" }, params)),
|
|
1611
1620
|
/**
|
|
1612
1621
|
* No description
|
|
1613
1622
|
*
|
|
@@ -1653,7 +1662,7 @@ export class Api extends HttpClient {
|
|
|
1653
1662
|
* @response `409` `ProblemDetails` Conflict
|
|
1654
1663
|
* @response `422` `ProblemDetails` Unprocessable Content
|
|
1655
1664
|
*/
|
|
1656
|
-
createCustomFieldDefinition: (data, params = {}) => this.request(Object.assign({ path: `/api/custom-field-definitions`, method: "POST", body: data, secure: true, type:
|
|
1665
|
+
createCustomFieldDefinition: (data, params = {}) => this.request(Object.assign({ path: `/api/custom-field-definitions`, method: "POST", body: data, secure: true, type: ContentType.Json, format: "json" }, params)),
|
|
1657
1666
|
/**
|
|
1658
1667
|
* No description
|
|
1659
1668
|
*
|
|
@@ -1680,7 +1689,7 @@ export class Api extends HttpClient {
|
|
|
1680
1689
|
* @response `409` `ProblemDetails` Conflict
|
|
1681
1690
|
* @response `422` `ProblemDetails` Unprocessable Content
|
|
1682
1691
|
*/
|
|
1683
|
-
updateCustomFieldDefinition: (id, data, params = {}) => this.request(Object.assign({ path: `/api/custom-field-definitions/${id}`, method: "PUT", body: data, secure: true, type:
|
|
1692
|
+
updateCustomFieldDefinition: (id, data, params = {}) => this.request(Object.assign({ path: `/api/custom-field-definitions/${id}`, method: "PUT", body: data, secure: true, type: ContentType.Json, format: "json" }, params)),
|
|
1684
1693
|
/**
|
|
1685
1694
|
* No description
|
|
1686
1695
|
*
|
|
@@ -1750,7 +1759,7 @@ export class Api extends HttpClient {
|
|
|
1750
1759
|
* @secure
|
|
1751
1760
|
* @response `200` `Device` OK
|
|
1752
1761
|
*/
|
|
1753
|
-
updateDevice: (id, data, params = {}) => this.request(Object.assign({ path: `/api/devices/${id}`, method: "PUT", body: data, secure: true, type:
|
|
1762
|
+
updateDevice: (id, data, params = {}) => this.request(Object.assign({ path: `/api/devices/${id}`, method: "PUT", body: data, secure: true, type: ContentType.Json, format: "json" }, params)),
|
|
1754
1763
|
/**
|
|
1755
1764
|
* No description
|
|
1756
1765
|
*
|
|
@@ -1808,7 +1817,7 @@ export class Api extends HttpClient {
|
|
|
1808
1817
|
* @response `404` `ProblemDetails` Not Found
|
|
1809
1818
|
* @response `422` `UnprocessableEntity` Unprocessable Content
|
|
1810
1819
|
*/
|
|
1811
|
-
createDocumentTemplate: (data, params = {}) => this.request(Object.assign({ path: `/api/document-templates`, method: "POST", body: data, secure: true, type:
|
|
1820
|
+
createDocumentTemplate: (data, params = {}) => this.request(Object.assign({ path: `/api/document-templates`, method: "POST", body: data, secure: true, type: ContentType.Json, format: "json" }, params)),
|
|
1812
1821
|
/**
|
|
1813
1822
|
* No description
|
|
1814
1823
|
*
|
|
@@ -1845,7 +1854,7 @@ export class Api extends HttpClient {
|
|
|
1845
1854
|
* @response `404` `ProblemDetails` Not Found
|
|
1846
1855
|
* @response `422` `UnprocessableEntity` Unprocessable Content
|
|
1847
1856
|
*/
|
|
1848
|
-
replaceDocumentTemplate: (id, data, params = {}) => this.request(Object.assign({ path: `/api/document-templates/${id}`, method: "PUT", body: data, secure: true, type:
|
|
1857
|
+
replaceDocumentTemplate: (id, data, params = {}) => this.request(Object.assign({ path: `/api/document-templates/${id}`, method: "PUT", body: data, secure: true, type: ContentType.Json, format: "json" }, params)),
|
|
1849
1858
|
/**
|
|
1850
1859
|
* No description
|
|
1851
1860
|
*
|
|
@@ -1893,7 +1902,7 @@ export class Api extends HttpClient {
|
|
|
1893
1902
|
* @secure
|
|
1894
1903
|
* @response `200` `DocumentTemplateVersion` OK
|
|
1895
1904
|
*/
|
|
1896
|
-
createDocumentTemplateVersion: (documentId, data, params = {}) => this.request(Object.assign({ path: `/api/document-templates/${documentId}/versions`, method: "POST", body: data, secure: true, type:
|
|
1905
|
+
createDocumentTemplateVersion: (documentId, data, params = {}) => this.request(Object.assign({ path: `/api/document-templates/${documentId}/versions`, method: "POST", body: data, secure: true, type: ContentType.Json, format: "json" }, params)),
|
|
1897
1906
|
/**
|
|
1898
1907
|
* No description
|
|
1899
1908
|
*
|
|
@@ -1915,7 +1924,7 @@ export class Api extends HttpClient {
|
|
|
1915
1924
|
* @secure
|
|
1916
1925
|
* @response `200` `DocumentTemplateVersion` OK
|
|
1917
1926
|
*/
|
|
1918
|
-
replaceDocumentTemplateVersion: (documentId, id, data, params = {}) => this.request(Object.assign({ path: `/api/document-templates/${documentId}/versions/${id}`, method: "PUT", body: data, secure: true, type:
|
|
1927
|
+
replaceDocumentTemplateVersion: (documentId, id, data, params = {}) => this.request(Object.assign({ path: `/api/document-templates/${documentId}/versions/${id}`, method: "PUT", body: data, secure: true, type: ContentType.Json, format: "json" }, params)),
|
|
1919
1928
|
/**
|
|
1920
1929
|
* No description
|
|
1921
1930
|
*
|
|
@@ -1953,7 +1962,7 @@ export class Api extends HttpClient {
|
|
|
1953
1962
|
* @response `409` `void` Conflict
|
|
1954
1963
|
* @response `422` `ProblemDetails` Unprocessable Content
|
|
1955
1964
|
*/
|
|
1956
|
-
addEncompassCustomFieldMapping: (definitionId, data, params = {}) => this.request(Object.assign({ path: `/api/los/encompass/custom-field-mappings/${definitionId}`, method: "POST", body: data, secure: true, type:
|
|
1965
|
+
addEncompassCustomFieldMapping: (definitionId, data, params = {}) => this.request(Object.assign({ path: `/api/los/encompass/custom-field-mappings/${definitionId}`, method: "POST", body: data, secure: true, type: ContentType.Json, format: "json" }, params)),
|
|
1957
1966
|
/**
|
|
1958
1967
|
* No description
|
|
1959
1968
|
*
|
|
@@ -2056,7 +2065,7 @@ export class Api extends HttpClient {
|
|
|
2056
2065
|
* @response `404` `EncompassError` Not Found
|
|
2057
2066
|
* @response `500` `EncompassError` Internal Server Error
|
|
2058
2067
|
*/
|
|
2059
|
-
createEncompassSession: (data, params = {}) => this.request(Object.assign({ path: `/api/los/encompass/eclose/sessions`, method: "POST", body: data, secure: true, type:
|
|
2068
|
+
createEncompassSession: (data, params = {}) => this.request(Object.assign({ path: `/api/los/encompass/eclose/sessions`, method: "POST", body: data, secure: true, type: ContentType.Json, format: "json" }, params)),
|
|
2060
2069
|
/**
|
|
2061
2070
|
* No description
|
|
2062
2071
|
*
|
|
@@ -2070,7 +2079,7 @@ export class Api extends HttpClient {
|
|
|
2070
2079
|
* @response `401` `ProblemDetails` Unauthorized
|
|
2071
2080
|
* @response `403` `ProblemDetails` Forbidden
|
|
2072
2081
|
*/
|
|
2073
|
-
searchEncompassIntegrations: (data, query, params = {}) => this.request(Object.assign({ path: `/api/monitoring/encompass-integrations/search`, method: "POST", query: query, body: data, secure: true, type:
|
|
2082
|
+
searchEncompassIntegrations: (data, query, params = {}) => this.request(Object.assign({ path: `/api/monitoring/encompass-integrations/search`, method: "POST", query: query, body: data, secure: true, type: ContentType.Json, format: "json" }, params)),
|
|
2074
2083
|
/**
|
|
2075
2084
|
* No description
|
|
2076
2085
|
*
|
|
@@ -2083,7 +2092,7 @@ export class Api extends HttpClient {
|
|
|
2083
2092
|
* @response `401` `ProblemDetails` Unauthorized
|
|
2084
2093
|
* @response `403` `ProblemDetails` Forbidden
|
|
2085
2094
|
*/
|
|
2086
|
-
getEncompassIntegrationsSummary: (data, query, params = {}) => this.request(Object.assign({ path: `/api/monitoring/encompass-integrations/summary`, method: "POST", query: query, body: data, secure: true, type:
|
|
2095
|
+
getEncompassIntegrationsSummary: (data, query, params = {}) => this.request(Object.assign({ path: `/api/monitoring/encompass-integrations/summary`, method: "POST", query: query, body: data, secure: true, type: ContentType.Json, format: "json" }, params)),
|
|
2087
2096
|
/**
|
|
2088
2097
|
* No description
|
|
2089
2098
|
*
|
|
@@ -2097,7 +2106,7 @@ export class Api extends HttpClient {
|
|
|
2097
2106
|
* @response `401` `ProblemDetails` Unauthorized
|
|
2098
2107
|
* @response `403` `ProblemDetails` Forbidden
|
|
2099
2108
|
*/
|
|
2100
|
-
getEncompassIntegrationsHealth: (data, params = {}) => this.request(Object.assign({ path: `/api/monitoring/encompass-integrations/health`, method: "POST", body: data, secure: true, type:
|
|
2109
|
+
getEncompassIntegrationsHealth: (data, params = {}) => this.request(Object.assign({ path: `/api/monitoring/encompass-integrations/health`, method: "POST", body: data, secure: true, type: ContentType.Json, format: "json" }, params)),
|
|
2101
2110
|
/**
|
|
2102
2111
|
* No description
|
|
2103
2112
|
*
|
|
@@ -2124,7 +2133,7 @@ export class Api extends HttpClient {
|
|
|
2124
2133
|
* @response `401` `ProblemDetails` Unauthorized
|
|
2125
2134
|
* @response `403` `ProblemDetails` Forbidden
|
|
2126
2135
|
*/
|
|
2127
|
-
getEncompassIntegrationsWebhooks: (data, params = {}) => this.request(Object.assign({ path: `/api/monitoring/encompass-integrations/webhooks`, method: "POST", body: data, secure: true, type:
|
|
2136
|
+
getEncompassIntegrationsWebhooks: (data, params = {}) => this.request(Object.assign({ path: `/api/monitoring/encompass-integrations/webhooks`, method: "POST", body: data, secure: true, type: ContentType.Json, format: "json" }, params)),
|
|
2128
2137
|
/**
|
|
2129
2138
|
* No description
|
|
2130
2139
|
*
|
|
@@ -2165,7 +2174,7 @@ export class Api extends HttpClient {
|
|
|
2165
2174
|
* @response `403` `ProblemDetails` Forbidden
|
|
2166
2175
|
* @response `404` `ProblemDetails` Not Found
|
|
2167
2176
|
*/
|
|
2168
|
-
updateEncompassIntegrationCredentials: (accountId, data, params = {}) => this.request(Object.assign({ path: `/api/monitoring/encompass-integrations/${accountId}/credentials`, method: "PUT", body: data, secure: true, type:
|
|
2177
|
+
updateEncompassIntegrationCredentials: (accountId, data, params = {}) => this.request(Object.assign({ path: `/api/monitoring/encompass-integrations/${accountId}/credentials`, method: "PUT", body: data, secure: true, type: ContentType.Json, format: "json" }, params)),
|
|
2169
2178
|
/**
|
|
2170
2179
|
* No description
|
|
2171
2180
|
*
|
|
@@ -2179,7 +2188,7 @@ export class Api extends HttpClient {
|
|
|
2179
2188
|
* @response `401` `ProblemDetails` Unauthorized
|
|
2180
2189
|
* @response `403` `ProblemDetails` Forbidden
|
|
2181
2190
|
*/
|
|
2182
|
-
registerEncompassIntegrationWebhook: (accountId, data, params = {}) => this.request(Object.assign({ path: `/api/monitoring/encompass-integrations/${accountId}/webhooks`, method: "POST", body: data, secure: true, type:
|
|
2191
|
+
registerEncompassIntegrationWebhook: (accountId, data, params = {}) => this.request(Object.assign({ path: `/api/monitoring/encompass-integrations/${accountId}/webhooks`, method: "POST", body: data, secure: true, type: ContentType.Json, format: "json" }, params)),
|
|
2183
2192
|
/**
|
|
2184
2193
|
* No description
|
|
2185
2194
|
*
|
|
@@ -2216,7 +2225,7 @@ export class Api extends HttpClient {
|
|
|
2216
2225
|
* @response `201` `File` Created
|
|
2217
2226
|
* @response `422` `UnprocessableEntity` Unprocessable Content
|
|
2218
2227
|
*/
|
|
2219
|
-
uploadFile: (data, params = {}) => this.request(Object.assign({ path: `/api/files`, method: "POST", body: data, secure: true, type:
|
|
2228
|
+
uploadFile: (data, params = {}) => this.request(Object.assign({ path: `/api/files`, method: "POST", body: data, secure: true, type: ContentType.FormData, format: "json" }, params)),
|
|
2220
2229
|
/**
|
|
2221
2230
|
* No description
|
|
2222
2231
|
*
|
|
@@ -2239,7 +2248,7 @@ export class Api extends HttpClient {
|
|
|
2239
2248
|
* @response `200` `string` OK
|
|
2240
2249
|
* @response `422` `UnprocessableEntity` Unprocessable Content
|
|
2241
2250
|
*/
|
|
2242
|
-
replaceFile: (id, data, params = {}) => this.request(Object.assign({ path: `/api/files/${id}`, method: "PUT", body: data, secure: true, type:
|
|
2251
|
+
replaceFile: (id, data, params = {}) => this.request(Object.assign({ path: `/api/files/${id}`, method: "PUT", body: data, secure: true, type: ContentType.Json, format: "json" }, params)),
|
|
2243
2252
|
/**
|
|
2244
2253
|
* No description
|
|
2245
2254
|
*
|
|
@@ -2261,7 +2270,7 @@ export class Api extends HttpClient {
|
|
|
2261
2270
|
* @secure
|
|
2262
2271
|
* @response `200` `FilePaginated` OK
|
|
2263
2272
|
*/
|
|
2264
|
-
searchFiles: (data, query, params = {}) => this.request(Object.assign({ path: `/api/files/search`, method: "POST", query: query, body: data, secure: true, type:
|
|
2273
|
+
searchFiles: (data, query, params = {}) => this.request(Object.assign({ path: `/api/files/search`, method: "POST", query: query, body: data, secure: true, type: ContentType.Json, format: "json" }, params)),
|
|
2265
2274
|
/**
|
|
2266
2275
|
* No description
|
|
2267
2276
|
*
|
|
@@ -2284,7 +2293,7 @@ export class Api extends HttpClient {
|
|
|
2284
2293
|
* @response `201` `Form` Created
|
|
2285
2294
|
* @response `422` `UnprocessableEntity` Unprocessable Content
|
|
2286
2295
|
*/
|
|
2287
|
-
createForm: (data, params = {}) => this.request(Object.assign({ path: `/api/forms`, method: "POST", body: data, secure: true, type:
|
|
2296
|
+
createForm: (data, params = {}) => this.request(Object.assign({ path: `/api/forms`, method: "POST", body: data, secure: true, type: ContentType.Json, format: "json" }, params)),
|
|
2288
2297
|
/**
|
|
2289
2298
|
* No description
|
|
2290
2299
|
*
|
|
@@ -2307,7 +2316,7 @@ export class Api extends HttpClient {
|
|
|
2307
2316
|
* @response `200` `Form` OK
|
|
2308
2317
|
* @response `422` `UnprocessableEntity` Unprocessable Content
|
|
2309
2318
|
*/
|
|
2310
|
-
replaceForm: (id, data, params = {}) => this.request(Object.assign({ path: `/api/forms/${id}`, method: "PUT", body: data, secure: true, type:
|
|
2319
|
+
replaceForm: (id, data, params = {}) => this.request(Object.assign({ path: `/api/forms/${id}`, method: "PUT", body: data, secure: true, type: ContentType.Json, format: "json" }, params)),
|
|
2311
2320
|
/**
|
|
2312
2321
|
* No description
|
|
2313
2322
|
*
|
|
@@ -2340,7 +2349,7 @@ export class Api extends HttpClient {
|
|
|
2340
2349
|
* @secure
|
|
2341
2350
|
* @response `200` `FormSubmissionFile` OK
|
|
2342
2351
|
*/
|
|
2343
|
-
addFormSubmissionFile: (formSubmissionId, data, params = {}) => this.request(Object.assign({ path: `/api/form-submissions/${formSubmissionId}/files`, method: "POST", body: data, secure: true, type:
|
|
2352
|
+
addFormSubmissionFile: (formSubmissionId, data, params = {}) => this.request(Object.assign({ path: `/api/form-submissions/${formSubmissionId}/files`, method: "POST", body: data, secure: true, type: ContentType.FormData, format: "json" }, params)),
|
|
2344
2353
|
/**
|
|
2345
2354
|
* No description
|
|
2346
2355
|
*
|
|
@@ -2384,7 +2393,7 @@ export class Api extends HttpClient {
|
|
|
2384
2393
|
* @secure
|
|
2385
2394
|
* @response `201` `FormSubmission` Created
|
|
2386
2395
|
*/
|
|
2387
|
-
createFormSubmission: (data, query, params = {}) => this.request(Object.assign({ path: `/api/form-submissions`, method: "POST", query: query, body: data, secure: true, type:
|
|
2396
|
+
createFormSubmission: (data, query, params = {}) => this.request(Object.assign({ path: `/api/form-submissions`, method: "POST", query: query, body: data, secure: true, type: ContentType.Json, format: "json" }, params)),
|
|
2388
2397
|
/**
|
|
2389
2398
|
* No description
|
|
2390
2399
|
*
|
|
@@ -2406,7 +2415,7 @@ export class Api extends HttpClient {
|
|
|
2406
2415
|
* @secure
|
|
2407
2416
|
* @response `200` `FormSubmission` OK
|
|
2408
2417
|
*/
|
|
2409
|
-
replaceFormSubmission: (id, data, params = {}) => this.request(Object.assign({ path: `/api/form-submissions/${id}`, method: "PUT", body: data, secure: true, type:
|
|
2418
|
+
replaceFormSubmission: (id, data, params = {}) => this.request(Object.assign({ path: `/api/form-submissions/${id}`, method: "PUT", body: data, secure: true, type: ContentType.Json, format: "json" }, params)),
|
|
2410
2419
|
/**
|
|
2411
2420
|
* No description
|
|
2412
2421
|
*
|
|
@@ -2428,7 +2437,7 @@ export class Api extends HttpClient {
|
|
|
2428
2437
|
* @secure
|
|
2429
2438
|
* @response `200` `FormSubmissionPaginated` OK
|
|
2430
2439
|
*/
|
|
2431
|
-
searchFormSubmissions: (data, query, params = {}) => this.request(Object.assign({ path: `/api/form-submissions/search`, method: "POST", query: query, body: data, secure: true, type:
|
|
2440
|
+
searchFormSubmissions: (data, query, params = {}) => this.request(Object.assign({ path: `/api/form-submissions/search`, method: "POST", query: query, body: data, secure: true, type: ContentType.Json, format: "json" }, params)),
|
|
2432
2441
|
/**
|
|
2433
2442
|
* No description
|
|
2434
2443
|
*
|
|
@@ -2450,7 +2459,7 @@ export class Api extends HttpClient {
|
|
|
2450
2459
|
* @secure
|
|
2451
2460
|
* @response `200` `FormVersion` OK
|
|
2452
2461
|
*/
|
|
2453
|
-
createFormVersion: (formId, data, params = {}) => this.request(Object.assign({ path: `/api/forms/${formId}/versions`, method: "POST", body: data, secure: true, type:
|
|
2462
|
+
createFormVersion: (formId, data, params = {}) => this.request(Object.assign({ path: `/api/forms/${formId}/versions`, method: "POST", body: data, secure: true, type: ContentType.Json, format: "json" }, params)),
|
|
2454
2463
|
/**
|
|
2455
2464
|
* No description
|
|
2456
2465
|
*
|
|
@@ -2472,7 +2481,7 @@ export class Api extends HttpClient {
|
|
|
2472
2481
|
* @secure
|
|
2473
2482
|
* @response `200` `FormVersion` OK
|
|
2474
2483
|
*/
|
|
2475
|
-
replaceFormVersion: (formId, id, data, params = {}) => this.request(Object.assign({ path: `/api/forms/${formId}/versions/${id}`, method: "PUT", body: data, secure: true, type:
|
|
2484
|
+
replaceFormVersion: (formId, id, data, params = {}) => this.request(Object.assign({ path: `/api/forms/${formId}/versions/${id}`, method: "PUT", body: data, secure: true, type: ContentType.Json, format: "json" }, params)),
|
|
2476
2485
|
/**
|
|
2477
2486
|
* No description
|
|
2478
2487
|
*
|
|
@@ -2518,7 +2527,7 @@ export class Api extends HttpClient {
|
|
|
2518
2527
|
* @response `200` `string` OK
|
|
2519
2528
|
* @response `422` `UnprocessableEntity` Unprocessable Content
|
|
2520
2529
|
*/
|
|
2521
|
-
updateLoanConsentAndCustomFieldsObsolete: (loanId, data, params = {}) => this.request(Object.assign({ path: `/api/los/loan/application/${loanId}`, method: "PATCH", body: data, secure: true, type:
|
|
2530
|
+
updateLoanConsentAndCustomFieldsObsolete: (loanId, data, params = {}) => this.request(Object.assign({ path: `/api/los/loan/application/${loanId}`, method: "PATCH", body: data, secure: true, type: ContentType.Json, format: "json" }, params)),
|
|
2522
2531
|
/**
|
|
2523
2532
|
* No description
|
|
2524
2533
|
*
|
|
@@ -2529,7 +2538,7 @@ export class Api extends HttpClient {
|
|
|
2529
2538
|
* @secure
|
|
2530
2539
|
* @response `200` `GetReport` OK
|
|
2531
2540
|
*/
|
|
2532
|
-
getLoansReport: (data, params = {}) => this.request(Object.assign({ path: `/api/los/loan/reports`, method: "POST", body: data, secure: true, type:
|
|
2541
|
+
getLoansReport: (data, params = {}) => this.request(Object.assign({ path: `/api/los/loan/reports`, method: "POST", body: data, secure: true, type: ContentType.Json, format: "json" }, params)),
|
|
2533
2542
|
/**
|
|
2534
2543
|
* No description
|
|
2535
2544
|
*
|
|
@@ -2543,7 +2552,7 @@ export class Api extends HttpClient {
|
|
|
2543
2552
|
* @response `422` `UnprocessableEntity` Unprocessable Content
|
|
2544
2553
|
* @response `423` `UnprocessableEntity` Locked
|
|
2545
2554
|
*/
|
|
2546
|
-
createLoan: (data, query, params = {}) => this.request(Object.assign({ path: `/api/los/loan/application`, method: "POST", query: query, body: data, secure: true, type:
|
|
2555
|
+
createLoan: (data, query, params = {}) => this.request(Object.assign({ path: `/api/los/loan/application`, method: "POST", query: query, body: data, secure: true, type: ContentType.Json, format: "json" }, params)),
|
|
2547
2556
|
/**
|
|
2548
2557
|
* No description
|
|
2549
2558
|
*
|
|
@@ -2556,7 +2565,7 @@ export class Api extends HttpClient {
|
|
|
2556
2565
|
* @response `422` `UnprocessableEntity` Unprocessable Content
|
|
2557
2566
|
* @response `423` `UnprocessableEntity` Locked
|
|
2558
2567
|
*/
|
|
2559
|
-
createLoanInternal: (data, query, params = {}) => this.request(Object.assign({ path: `/api/los/loan/application/internal`, method: "POST", query: query, body: data, secure: true, type:
|
|
2568
|
+
createLoanInternal: (data, query, params = {}) => this.request(Object.assign({ path: `/api/los/loan/application/internal`, method: "POST", query: query, body: data, secure: true, type: ContentType.Json, format: "json" }, params)),
|
|
2560
2569
|
/**
|
|
2561
2570
|
* No description
|
|
2562
2571
|
*
|
|
@@ -2568,7 +2577,7 @@ export class Api extends HttpClient {
|
|
|
2568
2577
|
* @response `200` `string` OK
|
|
2569
2578
|
* @response `422` `UnprocessableEntity` Unprocessable Content
|
|
2570
2579
|
*/
|
|
2571
|
-
updateLoanCustomFields: (loanId, data, params = {}) => this.request(Object.assign({ path: `/api/los/loan/application/${loanId}/custom-fields`, method: "PATCH", body: data, secure: true, type:
|
|
2580
|
+
updateLoanCustomFields: (loanId, data, params = {}) => this.request(Object.assign({ path: `/api/los/loan/application/${loanId}/custom-fields`, method: "PATCH", body: data, secure: true, type: ContentType.Json, format: "json" }, params)),
|
|
2572
2581
|
/**
|
|
2573
2582
|
* No description
|
|
2574
2583
|
*
|
|
@@ -2581,7 +2590,7 @@ export class Api extends HttpClient {
|
|
|
2581
2590
|
* @response `202` `string` Accepted
|
|
2582
2591
|
* @response `422` `UnprocessableEntity` Unprocessable Content
|
|
2583
2592
|
*/
|
|
2584
|
-
updateLoanConsent: (loanId, data, params = {}) => this.request(Object.assign({ path: `/api/los/loan/application/${loanId}/consent`, method: "PATCH", body: data, secure: true, type:
|
|
2593
|
+
updateLoanConsent: (loanId, data, params = {}) => this.request(Object.assign({ path: `/api/los/loan/application/${loanId}/consent`, method: "PATCH", body: data, secure: true, type: ContentType.Json, format: "json" }, params)),
|
|
2585
2594
|
/**
|
|
2586
2595
|
* No description
|
|
2587
2596
|
*
|
|
@@ -2661,7 +2670,7 @@ export class Api extends HttpClient {
|
|
|
2661
2670
|
* @secure
|
|
2662
2671
|
* @response `200` `ListingFile` OK
|
|
2663
2672
|
*/
|
|
2664
|
-
addListingFile: (listingId, data, params = {}) => this.request(Object.assign({ path: `/api/listings/${listingId}/files`, method: "POST", body: data, secure: true, type:
|
|
2673
|
+
addListingFile: (listingId, data, params = {}) => this.request(Object.assign({ path: `/api/listings/${listingId}/files`, method: "POST", body: data, secure: true, type: ContentType.FormData, format: "json" }, params)),
|
|
2665
2674
|
/**
|
|
2666
2675
|
* No description
|
|
2667
2676
|
*
|
|
@@ -2672,7 +2681,7 @@ export class Api extends HttpClient {
|
|
|
2672
2681
|
* @secure
|
|
2673
2682
|
* @response `200` `ListingFile` OK
|
|
2674
2683
|
*/
|
|
2675
|
-
updateListingFiles: (listingId, data, params = {}) => this.request(Object.assign({ path: `/api/listings/${listingId}/files`, method: "PATCH", body: data, secure: true, type:
|
|
2684
|
+
updateListingFiles: (listingId, data, params = {}) => this.request(Object.assign({ path: `/api/listings/${listingId}/files`, method: "PATCH", body: data, secure: true, type: ContentType.Json, format: "json" }, params)),
|
|
2676
2685
|
/**
|
|
2677
2686
|
* No description
|
|
2678
2687
|
*
|
|
@@ -2694,7 +2703,7 @@ export class Api extends HttpClient {
|
|
|
2694
2703
|
* @secure
|
|
2695
2704
|
* @response `200` `ListingPhoto` OK
|
|
2696
2705
|
*/
|
|
2697
|
-
addListingPhoto: (listingId, data, params = {}) => this.request(Object.assign({ path: `/api/listings/${listingId}/photos`, method: "POST", body: data, secure: true, type:
|
|
2706
|
+
addListingPhoto: (listingId, data, params = {}) => this.request(Object.assign({ path: `/api/listings/${listingId}/photos`, method: "POST", body: data, secure: true, type: ContentType.FormData, format: "json" }, params)),
|
|
2698
2707
|
/**
|
|
2699
2708
|
* No description
|
|
2700
2709
|
*
|
|
@@ -2705,7 +2714,7 @@ export class Api extends HttpClient {
|
|
|
2705
2714
|
* @secure
|
|
2706
2715
|
* @response `200` `(ListingPhoto)[]` OK
|
|
2707
2716
|
*/
|
|
2708
|
-
updateListingPhotos: (listingId, data, params = {}) => this.request(Object.assign({ path: `/api/listings/${listingId}/photos`, method: "PATCH", body: data, secure: true, type:
|
|
2717
|
+
updateListingPhotos: (listingId, data, params = {}) => this.request(Object.assign({ path: `/api/listings/${listingId}/photos`, method: "PATCH", body: data, secure: true, type: ContentType.Json, format: "json" }, params)),
|
|
2709
2718
|
/**
|
|
2710
2719
|
* No description
|
|
2711
2720
|
*
|
|
@@ -2738,7 +2747,7 @@ export class Api extends HttpClient {
|
|
|
2738
2747
|
* @secure
|
|
2739
2748
|
* @response `201` `Listing` Created
|
|
2740
2749
|
*/
|
|
2741
|
-
createListing: (data, params = {}) => this.request(Object.assign({ path: `/api/listings`, method: "POST", body: data, secure: true, type:
|
|
2750
|
+
createListing: (data, params = {}) => this.request(Object.assign({ path: `/api/listings`, method: "POST", body: data, secure: true, type: ContentType.Json, format: "json" }, params)),
|
|
2742
2751
|
/**
|
|
2743
2752
|
* No description
|
|
2744
2753
|
*
|
|
@@ -2771,7 +2780,7 @@ export class Api extends HttpClient {
|
|
|
2771
2780
|
* @secure
|
|
2772
2781
|
* @response `200` `Listing` OK
|
|
2773
2782
|
*/
|
|
2774
|
-
replaceListing: (id, data, params = {}) => this.request(Object.assign({ path: `/api/listings/${id}`, method: "PUT", body: data, secure: true, type:
|
|
2783
|
+
replaceListing: (id, data, params = {}) => this.request(Object.assign({ path: `/api/listings/${id}`, method: "PUT", body: data, secure: true, type: ContentType.Json, format: "json" }, params)),
|
|
2775
2784
|
/**
|
|
2776
2785
|
* No description
|
|
2777
2786
|
*
|
|
@@ -2793,7 +2802,7 @@ export class Api extends HttpClient {
|
|
|
2793
2802
|
* @secure
|
|
2794
2803
|
* @response `200` `ListingPaginated` OK
|
|
2795
2804
|
*/
|
|
2796
|
-
searchListings: (data, query, params = {}) => this.request(Object.assign({ path: `/api/listings/search`, method: "POST", query: query, body: data, secure: true, type:
|
|
2805
|
+
searchListings: (data, query, params = {}) => this.request(Object.assign({ path: `/api/listings/search`, method: "POST", query: query, body: data, secure: true, type: ContentType.Json, format: "json" }, params)),
|
|
2797
2806
|
/**
|
|
2798
2807
|
* No description
|
|
2799
2808
|
*
|
|
@@ -2804,7 +2813,7 @@ export class Api extends HttpClient {
|
|
|
2804
2813
|
* @secure
|
|
2805
2814
|
* @response `200` `File` OK
|
|
2806
2815
|
*/
|
|
2807
|
-
updateListingBackgroundImage: (id, data, params = {}) => this.request(Object.assign({ path: `/api/listings/${id}/background-image`, method: "PUT", body: data, secure: true, type:
|
|
2816
|
+
updateListingBackgroundImage: (id, data, params = {}) => this.request(Object.assign({ path: `/api/listings/${id}/background-image`, method: "PUT", body: data, secure: true, type: ContentType.FormData, format: "json" }, params)),
|
|
2808
2817
|
/**
|
|
2809
2818
|
* No description
|
|
2810
2819
|
*
|
|
@@ -2850,7 +2859,7 @@ export class Api extends HttpClient {
|
|
|
2850
2859
|
* @response `422` `UnprocessableEntity` Unprocessable Content
|
|
2851
2860
|
* @response `423` `UnprocessableEntity` Locked
|
|
2852
2861
|
*/
|
|
2853
|
-
runLoanCalculator: (loanId, data, params = {}) => this.request(Object.assign({ path: `/api/loans/${loanId}/calculators/loan-calculator`, method: "POST", body: data, secure: true, type:
|
|
2862
|
+
runLoanCalculator: (loanId, data, params = {}) => this.request(Object.assign({ path: `/api/loans/${loanId}/calculators/loan-calculator`, method: "POST", body: data, secure: true, type: ContentType.Json, format: "json" }, params)),
|
|
2854
2863
|
/**
|
|
2855
2864
|
* No description
|
|
2856
2865
|
*
|
|
@@ -2874,7 +2883,7 @@ export class Api extends HttpClient {
|
|
|
2874
2883
|
* @response `422` `UnprocessableEntity` Unprocessable Content
|
|
2875
2884
|
* @response `423` `UnprocessableEntity` Locked
|
|
2876
2885
|
*/
|
|
2877
|
-
createLoanComparison: (loanId, index, data, params = {}) => this.request(Object.assign({ path: `/api/loans/${loanId}/loan-comparison/${index}`, method: "POST", body: data, secure: true, type:
|
|
2886
|
+
createLoanComparison: (loanId, index, data, params = {}) => this.request(Object.assign({ path: `/api/loans/${loanId}/loan-comparison/${index}`, method: "POST", body: data, secure: true, type: ContentType.Json, format: "json" }, params)),
|
|
2878
2887
|
/**
|
|
2879
2888
|
* No description
|
|
2880
2889
|
*
|
|
@@ -2897,7 +2906,7 @@ export class Api extends HttpClient {
|
|
|
2897
2906
|
* @response `204` `void` No Content
|
|
2898
2907
|
* @response `422` `UnprocessableEntity` Unprocessable Content
|
|
2899
2908
|
*/
|
|
2900
|
-
createLoanComparisonPdf: (loanId, data, params = {}) => this.request(Object.assign({ path: `/api/loans/${loanId}/loan-comparison/pdf`, method: "POST", body: data, secure: true, type:
|
|
2909
|
+
createLoanComparisonPdf: (loanId, data, params = {}) => this.request(Object.assign({ path: `/api/loans/${loanId}/loan-comparison/pdf`, method: "POST", body: data, secure: true, type: ContentType.Json }, params)),
|
|
2901
2910
|
/**
|
|
2902
2911
|
* No description
|
|
2903
2912
|
*
|
|
@@ -2934,7 +2943,7 @@ export class Api extends HttpClient {
|
|
|
2934
2943
|
* @response `400` `ProblemDetails` Bad Request
|
|
2935
2944
|
* @response `422` `ProblemDetails` Unprocessable Content
|
|
2936
2945
|
*/
|
|
2937
|
-
bulkSetLoanCustomFieldValues: (loanId, data, params = {}) => this.request(Object.assign({ path: `/api/loans/${loanId}/custom-fields`, method: "PUT", body: data, secure: true, type:
|
|
2946
|
+
bulkSetLoanCustomFieldValues: (loanId, data, params = {}) => this.request(Object.assign({ path: `/api/loans/${loanId}/custom-fields`, method: "PUT", body: data, secure: true, type: ContentType.Json }, params)),
|
|
2938
2947
|
/**
|
|
2939
2948
|
* No description
|
|
2940
2949
|
*
|
|
@@ -2948,7 +2957,7 @@ export class Api extends HttpClient {
|
|
|
2948
2957
|
* @response `404` `ProblemDetails` Not Found
|
|
2949
2958
|
* @response `422` `ProblemDetails` Unprocessable Content
|
|
2950
2959
|
*/
|
|
2951
|
-
setLoanCustomFieldValue: (loanId, definitionId, data, params = {}) => this.request(Object.assign({ path: `/api/loans/${loanId}/custom-fields/${definitionId}`, method: "PUT", body: data, secure: true, type:
|
|
2960
|
+
setLoanCustomFieldValue: (loanId, definitionId, data, params = {}) => this.request(Object.assign({ path: `/api/loans/${loanId}/custom-fields/${definitionId}`, method: "PUT", body: data, secure: true, type: ContentType.Json }, params)),
|
|
2952
2961
|
/**
|
|
2953
2962
|
* No description
|
|
2954
2963
|
*
|
|
@@ -2983,7 +2992,7 @@ export class Api extends HttpClient {
|
|
|
2983
2992
|
* @secure
|
|
2984
2993
|
* @response `200` `LoanDocumentFolderPaginated` OK
|
|
2985
2994
|
*/
|
|
2986
|
-
searchLoanDocumentFolders: (data, query, params = {}) => this.request(Object.assign({ path: `/api/loan-document-folders/search`, method: "POST", query: query, body: data, secure: true, type:
|
|
2995
|
+
searchLoanDocumentFolders: (data, query, params = {}) => this.request(Object.assign({ path: `/api/loan-document-folders/search`, method: "POST", query: query, body: data, secure: true, type: ContentType.Json, format: "json" }, params)),
|
|
2987
2996
|
/**
|
|
2988
2997
|
* No description
|
|
2989
2998
|
*
|
|
@@ -3010,7 +3019,7 @@ export class Api extends HttpClient {
|
|
|
3010
3019
|
* @response `409` `ProblemDetails` Conflict
|
|
3011
3020
|
* @response `422` `ProblemDetails` Unprocessable Content
|
|
3012
3021
|
*/
|
|
3013
|
-
updateLoanDocumentFolder: (id, data, params = {}) => this.request(Object.assign({ path: `/api/loan-document-folders/${id}`, method: "PUT", body: data, secure: true, type:
|
|
3022
|
+
updateLoanDocumentFolder: (id, data, params = {}) => this.request(Object.assign({ path: `/api/loan-document-folders/${id}`, method: "PUT", body: data, secure: true, type: ContentType.Json, format: "json" }, params)),
|
|
3014
3023
|
/**
|
|
3015
3024
|
* No description
|
|
3016
3025
|
*
|
|
@@ -3037,7 +3046,7 @@ export class Api extends HttpClient {
|
|
|
3037
3046
|
* @response `409` `ProblemDetails` Conflict
|
|
3038
3047
|
* @response `422` `ProblemDetails` Unprocessable Content
|
|
3039
3048
|
*/
|
|
3040
|
-
createLoanDocumentFolder: (data, params = {}) => this.request(Object.assign({ path: `/api/loan-document-folders`, method: "POST", body: data, secure: true, type:
|
|
3049
|
+
createLoanDocumentFolder: (data, params = {}) => this.request(Object.assign({ path: `/api/loan-document-folders`, method: "POST", body: data, secure: true, type: ContentType.Json, format: "json" }, params)),
|
|
3041
3050
|
/**
|
|
3042
3051
|
* No description
|
|
3043
3052
|
*
|
|
@@ -3097,7 +3106,7 @@ export class Api extends HttpClient {
|
|
|
3097
3106
|
* @secure
|
|
3098
3107
|
* @response `200` `(DocumentFolder)[]` OK
|
|
3099
3108
|
*/
|
|
3100
|
-
getLoanDocumentFolders: (loanId, data, query, params = {}) => this.request(Object.assign({ path: `/api/loans/${loanId}/documents/folders`, method: "POST", query: query, body: data, secure: true, type:
|
|
3109
|
+
getLoanDocumentFolders: (loanId, data, query, params = {}) => this.request(Object.assign({ path: `/api/loans/${loanId}/documents/folders`, method: "POST", query: query, body: data, secure: true, type: ContentType.Json, format: "json" }, params)),
|
|
3101
3110
|
/**
|
|
3102
3111
|
* No description
|
|
3103
3112
|
*
|
|
@@ -3121,7 +3130,7 @@ export class Api extends HttpClient {
|
|
|
3121
3130
|
* @response `200` `Record<string,string>` OK
|
|
3122
3131
|
* @response `400` `ProblemDetails` Bad Request
|
|
3123
3132
|
*/
|
|
3124
|
-
getLoanDocumentPreviews: (loanId, data, params = {}) => this.request(Object.assign({ path: `/api/loans/${loanId}/documents/previews`, method: "POST", body: data, secure: true, type:
|
|
3133
|
+
getLoanDocumentPreviews: (loanId, data, params = {}) => this.request(Object.assign({ path: `/api/loans/${loanId}/documents/previews`, method: "POST", body: data, secure: true, type: ContentType.Json, format: "json" }, params)),
|
|
3125
3134
|
/**
|
|
3126
3135
|
* No description
|
|
3127
3136
|
*
|
|
@@ -3132,7 +3141,7 @@ export class Api extends HttpClient {
|
|
|
3132
3141
|
* @secure
|
|
3133
3142
|
* @response `200` `LoanDocumentSearchPaginated` OK
|
|
3134
3143
|
*/
|
|
3135
|
-
searchLoanDocuments: (loanId, data, query, params = {}) => this.request(Object.assign({ path: `/api/loans/${loanId}/documents/search`, method: "POST", query: query, body: data, secure: true, type:
|
|
3144
|
+
searchLoanDocuments: (loanId, data, query, params = {}) => this.request(Object.assign({ path: `/api/loans/${loanId}/documents/search`, method: "POST", query: query, body: data, secure: true, type: ContentType.Json, format: "json" }, params)),
|
|
3136
3145
|
/**
|
|
3137
3146
|
* No description
|
|
3138
3147
|
*
|
|
@@ -3141,7 +3150,7 @@ export class Api extends HttpClient {
|
|
|
3141
3150
|
* @summary Download By ID
|
|
3142
3151
|
* @request GET:/api/loans/{loanId}/documents/{documentId}/download
|
|
3143
3152
|
* @secure
|
|
3144
|
-
* @response `200` `
|
|
3153
|
+
* @response `200` `string` OK
|
|
3145
3154
|
* @response `404` `ProblemDetails` Not Found
|
|
3146
3155
|
*/
|
|
3147
3156
|
downloadLoanDocument: (loanId, documentId, params = {}) => this.request(Object.assign({ path: `/api/loans/${loanId}/documents/${documentId}/download`, method: "GET", secure: true, format: "json" }, params)),
|
|
@@ -3157,7 +3166,7 @@ export class Api extends HttpClient {
|
|
|
3157
3166
|
* @response `404` `ProblemDetails` Not Found
|
|
3158
3167
|
* @response `422` `UnprocessableEntity` Unprocessable Content
|
|
3159
3168
|
*/
|
|
3160
|
-
createLoanDocument: (loanId, data, params = {}) => this.request(Object.assign({ path: `/api/loans/${loanId}/documents`, method: "POST", body: data, secure: true, type:
|
|
3169
|
+
createLoanDocument: (loanId, data, params = {}) => this.request(Object.assign({ path: `/api/loans/${loanId}/documents`, method: "POST", body: data, secure: true, type: ContentType.FormData, format: "json" }, params)),
|
|
3161
3170
|
/**
|
|
3162
3171
|
* No description
|
|
3163
3172
|
*
|
|
@@ -3181,7 +3190,7 @@ export class Api extends HttpClient {
|
|
|
3181
3190
|
* @secure
|
|
3182
3191
|
* @response `200` `DocumentDataRequest` OK
|
|
3183
3192
|
*/
|
|
3184
|
-
generateLoanDocument: (loanId, data, params = {}) => this.request(Object.assign({ path: `/api/loans/${loanId}/documents/generate`, method: "POST", body: data, secure: true, type:
|
|
3193
|
+
generateLoanDocument: (loanId, data, params = {}) => this.request(Object.assign({ path: `/api/loans/${loanId}/documents/generate`, method: "POST", body: data, secure: true, type: ContentType.Json, format: "json" }, params)),
|
|
3185
3194
|
/**
|
|
3186
3195
|
* No description
|
|
3187
3196
|
*
|
|
@@ -3194,7 +3203,7 @@ export class Api extends HttpClient {
|
|
|
3194
3203
|
* @response `400` `ProblemDetails` Bad Request
|
|
3195
3204
|
* @response `404` `ProblemDetails` Not Found
|
|
3196
3205
|
*/
|
|
3197
|
-
sendLoanDocuments: (loanId, data, params = {}) => this.request(Object.assign({ path: `/api/loans/${loanId}/documents/distribute`, method: "POST", body: data, secure: true, type:
|
|
3206
|
+
sendLoanDocuments: (loanId, data, params = {}) => this.request(Object.assign({ path: `/api/loans/${loanId}/documents/distribute`, method: "POST", body: data, secure: true, type: ContentType.Json }, params)),
|
|
3198
3207
|
/**
|
|
3199
3208
|
* @description Fetches all documents from Encompass that don't exist locally and stores them in S3
|
|
3200
3209
|
*
|
|
@@ -3219,7 +3228,7 @@ export class Api extends HttpClient {
|
|
|
3219
3228
|
* @response `404` `ProblemDetails` Not Found
|
|
3220
3229
|
* @response `422` `UnprocessableEntity` Unprocessable Content
|
|
3221
3230
|
*/
|
|
3222
|
-
classifyLoanDocumentManually: (loanId, documentId, data, params = {}) => this.request(Object.assign({ path: `/api/loans/${loanId}/documents/${documentId}/classify-manual`, method: "POST", body: data, secure: true, type:
|
|
3231
|
+
classifyLoanDocumentManually: (loanId, documentId, data, params = {}) => this.request(Object.assign({ path: `/api/loans/${loanId}/documents/${documentId}/classify-manual`, method: "POST", body: data, secure: true, type: ContentType.Json, format: "json" }, params)),
|
|
3223
3232
|
/**
|
|
3224
3233
|
* @description Re-attempts to push a failed document to LOS
|
|
3225
3234
|
*
|
|
@@ -3243,7 +3252,7 @@ export class Api extends HttpClient {
|
|
|
3243
3252
|
* @secure
|
|
3244
3253
|
* @response `201` `Draft` Created
|
|
3245
3254
|
*/
|
|
3246
|
-
createLoanDraft: (data, params = {}) => this.request(Object.assign({ path: `/api/loans/drafts`, method: "POST", body: data, secure: true, type:
|
|
3255
|
+
createLoanDraft: (data, params = {}) => this.request(Object.assign({ path: `/api/loans/drafts`, method: "POST", body: data, secure: true, type: ContentType.Json, format: "json" }, params)),
|
|
3247
3256
|
/**
|
|
3248
3257
|
* No description
|
|
3249
3258
|
*
|
|
@@ -3276,7 +3285,7 @@ export class Api extends HttpClient {
|
|
|
3276
3285
|
* @secure
|
|
3277
3286
|
* @response `200` `Draft` OK
|
|
3278
3287
|
*/
|
|
3279
|
-
replaceLoanDraft: (draftId, data, params = {}) => this.request(Object.assign({ path: `/api/loans/drafts/${draftId}`, method: "PUT", body: data, secure: true, type:
|
|
3288
|
+
replaceLoanDraft: (draftId, data, params = {}) => this.request(Object.assign({ path: `/api/loans/drafts/${draftId}`, method: "PUT", body: data, secure: true, type: ContentType.Json, format: "json" }, params)),
|
|
3280
3289
|
/**
|
|
3281
3290
|
* No description
|
|
3282
3291
|
*
|
|
@@ -3298,7 +3307,7 @@ export class Api extends HttpClient {
|
|
|
3298
3307
|
* @secure
|
|
3299
3308
|
* @response `201` `DraftContentPaginated` Created
|
|
3300
3309
|
*/
|
|
3301
|
-
searchLoanDrafts: (data, query, params = {}) => this.request(Object.assign({ path: `/api/loans/drafts/search`, method: "POST", query: query, body: data, secure: true, type:
|
|
3310
|
+
searchLoanDrafts: (data, query, params = {}) => this.request(Object.assign({ path: `/api/loans/drafts/search`, method: "POST", query: query, body: data, secure: true, type: ContentType.Json, format: "json" }, params)),
|
|
3302
3311
|
/**
|
|
3303
3312
|
* No description
|
|
3304
3313
|
*
|
|
@@ -3309,7 +3318,7 @@ export class Api extends HttpClient {
|
|
|
3309
3318
|
* @secure
|
|
3310
3319
|
* @response `200` `Draft` OK
|
|
3311
3320
|
*/
|
|
3312
|
-
reassignLoanOfficer: (draftId, data, params = {}) => this.request(Object.assign({ path: `/api/loans/drafts/${draftId}/reassign`, method: "PUT", body: data, secure: true, type:
|
|
3321
|
+
reassignLoanOfficer: (draftId, data, params = {}) => this.request(Object.assign({ path: `/api/loans/drafts/${draftId}/reassign`, method: "PUT", body: data, secure: true, type: ContentType.Json, format: "json" }, params)),
|
|
3313
3322
|
/**
|
|
3314
3323
|
* No description
|
|
3315
3324
|
*
|
|
@@ -3342,7 +3351,7 @@ export class Api extends HttpClient {
|
|
|
3342
3351
|
* @secure
|
|
3343
3352
|
* @response `201` `LoanImport` Created
|
|
3344
3353
|
*/
|
|
3345
|
-
createLoanImport: (data, params = {}) => this.request(Object.assign({ path: `/api/loan-imports`, method: "POST", body: data, secure: true, type:
|
|
3354
|
+
createLoanImport: (data, params = {}) => this.request(Object.assign({ path: `/api/loan-imports`, method: "POST", body: data, secure: true, type: ContentType.Json, format: "json" }, params)),
|
|
3346
3355
|
/**
|
|
3347
3356
|
* No description
|
|
3348
3357
|
*
|
|
@@ -3388,7 +3397,7 @@ export class Api extends HttpClient {
|
|
|
3388
3397
|
* @response `200` `(Invite)[]` OK
|
|
3389
3398
|
* @response `404` `ProblemDetails` Not Found
|
|
3390
3399
|
*/
|
|
3391
|
-
inviteLoanContacts: (loanId, data, params = {}) => this.request(Object.assign({ path: `/api/loans/${loanId}/invites`, method: "POST", body: data, secure: true, type:
|
|
3400
|
+
inviteLoanContacts: (loanId, data, params = {}) => this.request(Object.assign({ path: `/api/loans/${loanId}/invites`, method: "POST", body: data, secure: true, type: ContentType.Json, format: "json" }, params)),
|
|
3392
3401
|
/**
|
|
3393
3402
|
* No description
|
|
3394
3403
|
*
|
|
@@ -3411,7 +3420,7 @@ export class Api extends HttpClient {
|
|
|
3411
3420
|
* @secure
|
|
3412
3421
|
* @response `200` `LoanLogPaginated` OK
|
|
3413
3422
|
*/
|
|
3414
|
-
searchLoanLogs: (loanId, data, query, params = {}) => this.request(Object.assign({ path: `/api/loans/${loanId}/logs/search`, method: "POST", query: query, body: data, secure: true, type:
|
|
3423
|
+
searchLoanLogs: (loanId, data, query, params = {}) => this.request(Object.assign({ path: `/api/loans/${loanId}/logs/search`, method: "POST", query: query, body: data, secure: true, type: ContentType.Json, format: "json" }, params)),
|
|
3415
3424
|
/**
|
|
3416
3425
|
* No description
|
|
3417
3426
|
*
|
|
@@ -3436,7 +3445,7 @@ export class Api extends HttpClient {
|
|
|
3436
3445
|
* @response `400` `ProblemDetails` Bad Request
|
|
3437
3446
|
* @response `404` `ProblemDetails` Not Found
|
|
3438
3447
|
*/
|
|
3439
|
-
sendLoanOptInReminder: (loanId, data, params = {}) => this.request(Object.assign({ path: `/api/loans/${loanId}/notifications/opt-in-reminders`, method: "POST", body: data, secure: true, type:
|
|
3448
|
+
sendLoanOptInReminder: (loanId, data, params = {}) => this.request(Object.assign({ path: `/api/loans/${loanId}/notifications/opt-in-reminders`, method: "POST", body: data, secure: true, type: ContentType.Json }, params)),
|
|
3440
3449
|
/**
|
|
3441
3450
|
* No description
|
|
3442
3451
|
*
|
|
@@ -3449,7 +3458,7 @@ export class Api extends HttpClient {
|
|
|
3449
3458
|
* @response `400` `ProblemDetails` Bad Request
|
|
3450
3459
|
* @response `404` `ProblemDetails` Not Found
|
|
3451
3460
|
*/
|
|
3452
|
-
sendESignatureReminder: (loanId, data, params = {}) => this.request(Object.assign({ path: `/api/loans/${loanId}/notifications/esignature-reminders`, method: "POST", body: data, secure: true, type:
|
|
3461
|
+
sendESignatureReminder: (loanId, data, params = {}) => this.request(Object.assign({ path: `/api/loans/${loanId}/notifications/esignature-reminders`, method: "POST", body: data, secure: true, type: ContentType.Json }, params)),
|
|
3453
3462
|
/**
|
|
3454
3463
|
* No description
|
|
3455
3464
|
*
|
|
@@ -3471,7 +3480,7 @@ export class Api extends HttpClient {
|
|
|
3471
3480
|
* @secure
|
|
3472
3481
|
* @response `200` `BranchUserPaginated` OK
|
|
3473
3482
|
*/
|
|
3474
|
-
searchLoanOfficers: (data, query, params = {}) => this.request(Object.assign({ path: `/api/loan-officers/search`, method: "POST", query: query, body: data, secure: true, type:
|
|
3483
|
+
searchLoanOfficers: (data, query, params = {}) => this.request(Object.assign({ path: `/api/loan-officers/search`, method: "POST", query: query, body: data, secure: true, type: ContentType.Json, format: "json" }, params)),
|
|
3475
3484
|
/**
|
|
3476
3485
|
* No description
|
|
3477
3486
|
*
|
|
@@ -3494,7 +3503,7 @@ export class Api extends HttpClient {
|
|
|
3494
3503
|
* @response `200` `SiteConfiguration` OK
|
|
3495
3504
|
* @response `422` `UnprocessableEntity` Unprocessable Content
|
|
3496
3505
|
*/
|
|
3497
|
-
createLoanOfficerSiteConfiguration: (loanOfficerId, data, params = {}) => this.request(Object.assign({ path: `/api/loan-officers/${loanOfficerId}/site-configurations`, method: "POST", body: data, secure: true, type:
|
|
3506
|
+
createLoanOfficerSiteConfiguration: (loanOfficerId, data, params = {}) => this.request(Object.assign({ path: `/api/loan-officers/${loanOfficerId}/site-configurations`, method: "POST", body: data, secure: true, type: ContentType.Json, format: "json" }, params)),
|
|
3498
3507
|
/**
|
|
3499
3508
|
* No description
|
|
3500
3509
|
*
|
|
@@ -3517,7 +3526,7 @@ export class Api extends HttpClient {
|
|
|
3517
3526
|
* @response `200` `SiteConfiguration` OK
|
|
3518
3527
|
* @response `422` `UnprocessableEntity` Unprocessable Content
|
|
3519
3528
|
*/
|
|
3520
|
-
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:
|
|
3529
|
+
replaceLoanOfficerSiteConfiguration: (loanOfficerId, siteConfigurationId, data, query, params = {}) => this.request(Object.assign({ path: `/api/loan-officers/${loanOfficerId}/site-configurations/${siteConfigurationId}`, method: "PUT", query: query, body: data, secure: true, type: ContentType.Json, format: "json" }, params)),
|
|
3521
3530
|
/**
|
|
3522
3531
|
* No description
|
|
3523
3532
|
*
|
|
@@ -3528,7 +3537,7 @@ export class Api extends HttpClient {
|
|
|
3528
3537
|
* @secure
|
|
3529
3538
|
* @response `200` `LoanQueuePaginated` OK
|
|
3530
3539
|
*/
|
|
3531
|
-
searchLoanQueue: (data, query, params = {}) => this.request(Object.assign({ path: `/api/loans/queue/search`, method: "POST", query: query, body: data, secure: true, type:
|
|
3540
|
+
searchLoanQueue: (data, query, params = {}) => this.request(Object.assign({ path: `/api/loans/queue/search`, method: "POST", query: query, body: data, secure: true, type: ContentType.Json, format: "json" }, params)),
|
|
3532
3541
|
/**
|
|
3533
3542
|
* No description
|
|
3534
3543
|
*
|
|
@@ -3552,7 +3561,7 @@ export class Api extends HttpClient {
|
|
|
3552
3561
|
* @response `200` `LoanQueueWithData` OK
|
|
3553
3562
|
* @response `404` `ProblemDetails` Not Found
|
|
3554
3563
|
*/
|
|
3555
|
-
replaceLoanQueue: (loanQueueId, data, params = {}) => this.request(Object.assign({ path: `/api/loans/queue/${loanQueueId}`, method: "PUT", body: data, secure: true, type:
|
|
3564
|
+
replaceLoanQueue: (loanQueueId, data, params = {}) => this.request(Object.assign({ path: `/api/loans/queue/${loanQueueId}`, method: "PUT", body: data, secure: true, type: ContentType.Json, format: "json" }, params)),
|
|
3556
3565
|
/**
|
|
3557
3566
|
* No description
|
|
3558
3567
|
*
|
|
@@ -3613,7 +3622,7 @@ export class Api extends HttpClient {
|
|
|
3613
3622
|
* @response `401` `ProblemDetails` Unauthorized
|
|
3614
3623
|
* @response `403` `ProblemDetails` Forbidden
|
|
3615
3624
|
*/
|
|
3616
|
-
createLoanv3: (data, params = {}) => this.request(Object.assign({ path: `/api/loans`, method: "POST", body: data, secure: true, type:
|
|
3625
|
+
createLoanv3: (data, params = {}) => this.request(Object.assign({ path: `/api/loans`, method: "POST", body: data, secure: true, type: ContentType.Json, format: "json" }, params)),
|
|
3617
3626
|
/**
|
|
3618
3627
|
* No description
|
|
3619
3628
|
*
|
|
@@ -3624,7 +3633,7 @@ export class Api extends HttpClient {
|
|
|
3624
3633
|
* @secure
|
|
3625
3634
|
* @response `200` `LoanListPaginated` OK
|
|
3626
3635
|
*/
|
|
3627
|
-
searchLoans: (data, query, params = {}) => this.request(Object.assign({ path: `/api/loans/search`, method: "POST", query: query, body: data, secure: true, type:
|
|
3636
|
+
searchLoans: (data, query, params = {}) => this.request(Object.assign({ path: `/api/loans/search`, method: "POST", query: query, body: data, secure: true, type: ContentType.Json, format: "json" }, params)),
|
|
3628
3637
|
/**
|
|
3629
3638
|
* No description
|
|
3630
3639
|
*
|
|
@@ -3640,7 +3649,7 @@ export class Api extends HttpClient {
|
|
|
3640
3649
|
* @response `404` `ProblemDetails` Not Found
|
|
3641
3650
|
* @response `409` `any` Conflict
|
|
3642
3651
|
*/
|
|
3643
|
-
updateLoan: (loanId, data, params = {}) => this.request(Object.assign({ path: `/api/loans/${loanId}`, method: "PATCH", body: data, secure: true, type:
|
|
3652
|
+
updateLoan: (loanId, data, params = {}) => this.request(Object.assign({ path: `/api/loans/${loanId}`, method: "PATCH", body: data, secure: true, type: ContentType.Json, format: "json" }, params)),
|
|
3644
3653
|
/**
|
|
3645
3654
|
* No description
|
|
3646
3655
|
*
|
|
@@ -3702,7 +3711,7 @@ export class Api extends HttpClient {
|
|
|
3702
3711
|
* @response `400` `ProblemDetails` Bad Request
|
|
3703
3712
|
* @response `404` `ProblemDetails` Not Found
|
|
3704
3713
|
*/
|
|
3705
|
-
triggerAso: (loanId, data, params = {}) => this.request(Object.assign({ path: `/api/loans/${loanId}/aso`, method: "POST", body: data, secure: true, type:
|
|
3714
|
+
triggerAso: (loanId, data, params = {}) => this.request(Object.assign({ path: `/api/loans/${loanId}/aso`, method: "POST", body: data, secure: true, type: ContentType.Json, format: "json" }, params)),
|
|
3706
3715
|
/**
|
|
3707
3716
|
* No description
|
|
3708
3717
|
*
|
|
@@ -3714,7 +3723,7 @@ export class Api extends HttpClient {
|
|
|
3714
3723
|
* @response `200` `TaskCommentPaginated` OK
|
|
3715
3724
|
* @response `404` `ProblemDetails` Not Found
|
|
3716
3725
|
*/
|
|
3717
|
-
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:
|
|
3726
|
+
searchLoanTaskComments: (loanId, userLoanTaskId, data, query, params = {}) => this.request(Object.assign({ path: `/api/loans/${loanId}/tasks/${userLoanTaskId}/comments/search`, method: "POST", query: query, body: data, secure: true, type: ContentType.Json, format: "json" }, params)),
|
|
3718
3727
|
/**
|
|
3719
3728
|
* No description
|
|
3720
3729
|
*
|
|
@@ -3738,7 +3747,7 @@ export class Api extends HttpClient {
|
|
|
3738
3747
|
* @response `201` `TaskComment` Created
|
|
3739
3748
|
* @response `404` `ProblemDetails` Not Found
|
|
3740
3749
|
*/
|
|
3741
|
-
createLoanTaskComment: (loanId, userLoanTaskId, data, params = {}) => this.request(Object.assign({ path: `/api/loans/${loanId}/tasks/${userLoanTaskId}/comments`, method: "POST", body: data, secure: true, type:
|
|
3750
|
+
createLoanTaskComment: (loanId, userLoanTaskId, data, params = {}) => this.request(Object.assign({ path: `/api/loans/${loanId}/tasks/${userLoanTaskId}/comments`, method: "POST", body: data, secure: true, type: ContentType.Json, format: "json" }, params)),
|
|
3742
3751
|
/**
|
|
3743
3752
|
* No description
|
|
3744
3753
|
*
|
|
@@ -3750,7 +3759,7 @@ export class Api extends HttpClient {
|
|
|
3750
3759
|
* @response `200` `TaskComment` OK
|
|
3751
3760
|
* @response `404` `ProblemDetails` Not Found
|
|
3752
3761
|
*/
|
|
3753
|
-
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:
|
|
3762
|
+
replaceLoanTaskComment: (loanId, userLoanTaskId, commentId, data, params = {}) => this.request(Object.assign({ path: `/api/loans/${loanId}/tasks/${userLoanTaskId}/comments/${commentId}`, method: "PUT", body: data, secure: true, type: ContentType.Json, format: "json" }, params)),
|
|
3754
3763
|
/**
|
|
3755
3764
|
* No description
|
|
3756
3765
|
*
|
|
@@ -3775,7 +3784,7 @@ export class Api extends HttpClient {
|
|
|
3775
3784
|
* @response `404` `ProblemDetails` Not Found
|
|
3776
3785
|
* @response `422` `UnprocessableEntity` Unprocessable Content
|
|
3777
3786
|
*/
|
|
3778
|
-
createLoanTaskDocument: (loanId, loanTaskId, data, params = {}) => this.request(Object.assign({ path: `/api/loans/${loanId}/tasks/${loanTaskId}/documents`, method: "POST", body: data, secure: true, type:
|
|
3787
|
+
createLoanTaskDocument: (loanId, loanTaskId, data, params = {}) => this.request(Object.assign({ path: `/api/loans/${loanId}/tasks/${loanTaskId}/documents`, method: "POST", body: data, secure: true, type: ContentType.FormData, format: "json" }, params)),
|
|
3779
3788
|
/**
|
|
3780
3789
|
* No description
|
|
3781
3790
|
*
|
|
@@ -3789,7 +3798,7 @@ export class Api extends HttpClient {
|
|
|
3789
3798
|
* @response `404` `ProblemDetails` Not Found
|
|
3790
3799
|
* @response `422` `ProblemDetails` Unprocessable Content
|
|
3791
3800
|
*/
|
|
3792
|
-
sendOutstandingLoanTaskNotification: (loanId, data, params = {}) => this.request(Object.assign({ path: `/api/loans/${loanId}/tasks/reminders/outstanding`, method: "POST", body: data, secure: true, type:
|
|
3801
|
+
sendOutstandingLoanTaskNotification: (loanId, data, params = {}) => this.request(Object.assign({ path: `/api/loans/${loanId}/tasks/reminders/outstanding`, method: "POST", body: data, secure: true, type: ContentType.Json }, params)),
|
|
3793
3802
|
/**
|
|
3794
3803
|
* No description
|
|
3795
3804
|
*
|
|
@@ -3802,7 +3811,7 @@ export class Api extends HttpClient {
|
|
|
3802
3811
|
* @response `400` `ProblemDetails` Bad Request
|
|
3803
3812
|
* @response `404` `ProblemDetails` Not Found
|
|
3804
3813
|
*/
|
|
3805
|
-
sendLoanTaskReminder: (loanId, data, params = {}) => this.request(Object.assign({ path: `/api/loans/${loanId}/tasks/reminders`, method: "POST", body: data, secure: true, type:
|
|
3814
|
+
sendLoanTaskReminder: (loanId, data, params = {}) => this.request(Object.assign({ path: `/api/loans/${loanId}/tasks/reminders`, method: "POST", body: data, secure: true, type: ContentType.Json }, params)),
|
|
3806
3815
|
/**
|
|
3807
3816
|
* @description Search tasks across all loans
|
|
3808
3817
|
*
|
|
@@ -3813,7 +3822,7 @@ export class Api extends HttpClient {
|
|
|
3813
3822
|
* @secure
|
|
3814
3823
|
* @response `200` `UserLoanTaskPaginated` OK
|
|
3815
3824
|
*/
|
|
3816
|
-
searchLoanTasks: (data, query, params = {}) => this.request(Object.assign({ path: `/api/loans/tasks/search`, method: "POST", query: query, body: data, secure: true, type:
|
|
3825
|
+
searchLoanTasks: (data, query, params = {}) => this.request(Object.assign({ path: `/api/loans/tasks/search`, method: "POST", query: query, body: data, secure: true, type: ContentType.Json, format: "json" }, params)),
|
|
3817
3826
|
/**
|
|
3818
3827
|
* @description Returns task counts grouped by status for loans accessible to the current user based on their role
|
|
3819
3828
|
*
|
|
@@ -3825,7 +3834,7 @@ export class Api extends HttpClient {
|
|
|
3825
3834
|
* @response `200` `(LoanTaskStatusSummary)[]` OK
|
|
3826
3835
|
* @response `422` `UnprocessableEntity` Unprocessable Content
|
|
3827
3836
|
*/
|
|
3828
|
-
searchLoanTasksSummary: (data, params = {}) => this.request(Object.assign({ path: `/api/loans/tasks/search/summary`, method: "POST", body: data, secure: true, type:
|
|
3837
|
+
searchLoanTasksSummary: (data, params = {}) => this.request(Object.assign({ path: `/api/loans/tasks/search/summary`, method: "POST", body: data, secure: true, type: ContentType.Json, format: "json" }, params)),
|
|
3829
3838
|
/**
|
|
3830
3839
|
* No description
|
|
3831
3840
|
*
|
|
@@ -3873,7 +3882,7 @@ export class Api extends HttpClient {
|
|
|
3873
3882
|
* @response `201` `UserLoanTask` Created
|
|
3874
3883
|
* @response `404` `ProblemDetails` Not Found
|
|
3875
3884
|
*/
|
|
3876
|
-
createLoanTask: (loanId, taskId, data, params = {}) => this.request(Object.assign({ path: `/api/loans/${loanId}/tasks/${taskId}`, method: "POST", body: data, secure: true, type:
|
|
3885
|
+
createLoanTask: (loanId, taskId, data, params = {}) => this.request(Object.assign({ path: `/api/loans/${loanId}/tasks/${taskId}`, method: "POST", body: data, secure: true, type: ContentType.Json, format: "json" }, params)),
|
|
3877
3886
|
/**
|
|
3878
3887
|
* No description
|
|
3879
3888
|
*
|
|
@@ -3885,7 +3894,7 @@ export class Api extends HttpClient {
|
|
|
3885
3894
|
* @response `201` `(UserLoanTask)[]` Created
|
|
3886
3895
|
* @response `404` `ProblemDetails` Not Found
|
|
3887
3896
|
*/
|
|
3888
|
-
importLoanTask: (loanId, data, params = {}) => this.request(Object.assign({ path: `/api/loans/${loanId}/tasks/import`, method: "POST", body: data, secure: true, type:
|
|
3897
|
+
importLoanTask: (loanId, data, params = {}) => this.request(Object.assign({ path: `/api/loans/${loanId}/tasks/import`, method: "POST", body: data, secure: true, type: ContentType.Json, format: "json" }, params)),
|
|
3889
3898
|
/**
|
|
3890
3899
|
* No description
|
|
3891
3900
|
*
|
|
@@ -3897,7 +3906,7 @@ export class Api extends HttpClient {
|
|
|
3897
3906
|
* @response `200` `UserLoanTask` OK
|
|
3898
3907
|
* @response `404` `ProblemDetails` Not Found
|
|
3899
3908
|
*/
|
|
3900
|
-
replaceLoanTask: (loanId, userLoanTaskId, data, params = {}) => this.request(Object.assign({ path: `/api/loans/${loanId}/tasks/${userLoanTaskId}`, method: "PUT", body: data, secure: true, type:
|
|
3909
|
+
replaceLoanTask: (loanId, userLoanTaskId, data, params = {}) => this.request(Object.assign({ path: `/api/loans/${loanId}/tasks/${userLoanTaskId}`, method: "PUT", body: data, secure: true, type: ContentType.Json, format: "json" }, params)),
|
|
3901
3910
|
/**
|
|
3902
3911
|
* No description
|
|
3903
3912
|
*
|
|
@@ -3956,7 +3965,7 @@ export class Api extends HttpClient {
|
|
|
3956
3965
|
* @secure
|
|
3957
3966
|
* @response `201` `LoanUser` Created
|
|
3958
3967
|
*/
|
|
3959
|
-
addLoanUser: (loanId, userId, data, params = {}) => this.request(Object.assign({ path: `/api/loans/${loanId}/users/${userId}`, method: "POST", body: data, secure: true, type:
|
|
3968
|
+
addLoanUser: (loanId, userId, data, params = {}) => this.request(Object.assign({ path: `/api/loans/${loanId}/users/${userId}`, method: "POST", body: data, secure: true, type: ContentType.Json, format: "json" }, params)),
|
|
3960
3969
|
/**
|
|
3961
3970
|
* No description
|
|
3962
3971
|
*
|
|
@@ -3989,7 +3998,7 @@ export class Api extends HttpClient {
|
|
|
3989
3998
|
* @secure
|
|
3990
3999
|
* @response `200` `LosOperationTrackingPaginated` OK
|
|
3991
4000
|
*/
|
|
3992
|
-
searchLosOperationTracking: (data, query, params = {}) => this.request(Object.assign({ path: `/api/los-operation-tracking/search`, method: "POST", query: query, body: data, secure: true, type:
|
|
4001
|
+
searchLosOperationTracking: (data, query, params = {}) => this.request(Object.assign({ path: `/api/los-operation-tracking/search`, method: "POST", query: query, body: data, secure: true, type: ContentType.Json, format: "json" }, params)),
|
|
3993
4002
|
/**
|
|
3994
4003
|
* No description
|
|
3995
4004
|
*
|
|
@@ -4002,7 +4011,7 @@ export class Api extends HttpClient {
|
|
|
4002
4011
|
* @response `401` `ProblemDetails` Unauthorized
|
|
4003
4012
|
* @response `403` `ProblemDetails` Forbidden
|
|
4004
4013
|
*/
|
|
4005
|
-
searchInboundSyncFailures: (data, query, params = {}) => this.request(Object.assign({ path: `/api/monitoring/inbound-sync-failures/search`, method: "POST", query: query, body: data, secure: true, type:
|
|
4014
|
+
searchInboundSyncFailures: (data, query, params = {}) => this.request(Object.assign({ path: `/api/monitoring/inbound-sync-failures/search`, method: "POST", query: query, body: data, secure: true, type: ContentType.Json, format: "json" }, params)),
|
|
4006
4015
|
/**
|
|
4007
4016
|
* No description
|
|
4008
4017
|
*
|
|
@@ -4015,7 +4024,7 @@ export class Api extends HttpClient {
|
|
|
4015
4024
|
* @response `401` `ProblemDetails` Unauthorized
|
|
4016
4025
|
* @response `403` `ProblemDetails` Forbidden
|
|
4017
4026
|
*/
|
|
4018
|
-
getInboundSyncFailuresSummary: (data, query, params = {}) => this.request(Object.assign({ path: `/api/monitoring/inbound-sync-failures/summary`, method: "POST", query: query, body: data, secure: true, type:
|
|
4027
|
+
getInboundSyncFailuresSummary: (data, query, params = {}) => this.request(Object.assign({ path: `/api/monitoring/inbound-sync-failures/summary`, method: "POST", query: query, body: data, secure: true, type: ContentType.Json, format: "json" }, params)),
|
|
4019
4028
|
/**
|
|
4020
4029
|
* No description
|
|
4021
4030
|
*
|
|
@@ -4052,7 +4061,7 @@ export class Api extends HttpClient {
|
|
|
4052
4061
|
* @response `201` `MilestoneConfiguration` Created
|
|
4053
4062
|
* @response `422` `UnprocessableEntity` Unprocessable Content
|
|
4054
4063
|
*/
|
|
4055
|
-
createMilestone: (data, params = {}) => this.request(Object.assign({ path: `/api/milestones`, method: "POST", body: data, secure: true, type:
|
|
4064
|
+
createMilestone: (data, params = {}) => this.request(Object.assign({ path: `/api/milestones`, method: "POST", body: data, secure: true, type: ContentType.Json, format: "json" }, params)),
|
|
4056
4065
|
/**
|
|
4057
4066
|
* No description
|
|
4058
4067
|
*
|
|
@@ -4077,7 +4086,7 @@ export class Api extends HttpClient {
|
|
|
4077
4086
|
* @response `404` `Error` Not Found
|
|
4078
4087
|
* @response `422` `UnprocessableEntity` Unprocessable Content
|
|
4079
4088
|
*/
|
|
4080
|
-
replaceMilestone: (id, data, params = {}) => this.request(Object.assign({ path: `/api/milestones/${id}`, method: "PUT", body: data, secure: true, type:
|
|
4089
|
+
replaceMilestone: (id, data, params = {}) => this.request(Object.assign({ path: `/api/milestones/${id}`, method: "PUT", body: data, secure: true, type: ContentType.Json, format: "json" }, params)),
|
|
4081
4090
|
/**
|
|
4082
4091
|
* No description
|
|
4083
4092
|
*
|
|
@@ -4103,7 +4112,7 @@ export class Api extends HttpClient {
|
|
|
4103
4112
|
* @response `404` `ProblemDetails` Not Found
|
|
4104
4113
|
* @response `422` `ProblemDetails` Unprocessable Content
|
|
4105
4114
|
*/
|
|
4106
|
-
seedMobileAppReview: (data, params = {}) => this.request(Object.assign({ path: `/api/mobile-app-review/seed`, method: "POST", body: data, secure: true, type:
|
|
4115
|
+
seedMobileAppReview: (data, params = {}) => this.request(Object.assign({ path: `/api/mobile-app-review/seed`, method: "POST", body: data, secure: true, type: ContentType.Json, format: "json" }, params)),
|
|
4107
4116
|
/**
|
|
4108
4117
|
* No description
|
|
4109
4118
|
*
|
|
@@ -4115,7 +4124,7 @@ export class Api extends HttpClient {
|
|
|
4115
4124
|
* @response `200` `MonthlyPaymentCalculator` OK
|
|
4116
4125
|
* @response `422` `ProblemDetails` Unprocessable Content
|
|
4117
4126
|
*/
|
|
4118
|
-
calculateMortgageMonthlyPayment: (data, params = {}) => this.request(Object.assign({ path: `/api/mortgage-calculators/monthly-payment`, method: "POST", body: data, secure: true, type:
|
|
4127
|
+
calculateMortgageMonthlyPayment: (data, params = {}) => this.request(Object.assign({ path: `/api/mortgage-calculators/monthly-payment`, method: "POST", body: data, secure: true, type: ContentType.Json, format: "json" }, params)),
|
|
4119
4128
|
/**
|
|
4120
4129
|
* No description
|
|
4121
4130
|
*
|
|
@@ -4127,7 +4136,7 @@ export class Api extends HttpClient {
|
|
|
4127
4136
|
* @response `200` `AffordabilityCalculator` OK
|
|
4128
4137
|
* @response `422` `ProblemDetails` Unprocessable Content
|
|
4129
4138
|
*/
|
|
4130
|
-
calculateMortgageAffordability: (data, params = {}) => this.request(Object.assign({ path: `/api/mortgage-calculators/affordability`, method: "POST", body: data, secure: true, type:
|
|
4139
|
+
calculateMortgageAffordability: (data, params = {}) => this.request(Object.assign({ path: `/api/mortgage-calculators/affordability`, method: "POST", body: data, secure: true, type: ContentType.Json, format: "json" }, params)),
|
|
4131
4140
|
/**
|
|
4132
4141
|
* No description
|
|
4133
4142
|
*
|
|
@@ -4139,7 +4148,7 @@ export class Api extends HttpClient {
|
|
|
4139
4148
|
* @response `200` `LoanComparisonCalculator` OK
|
|
4140
4149
|
* @response `422` `ProblemDetails` Unprocessable Content
|
|
4141
4150
|
*/
|
|
4142
|
-
calculateMortgageLoanComparison: (data, params = {}) => this.request(Object.assign({ path: `/api/mortgage-calculators/loan-comparison`, method: "POST", body: data, secure: true, type:
|
|
4151
|
+
calculateMortgageLoanComparison: (data, params = {}) => this.request(Object.assign({ path: `/api/mortgage-calculators/loan-comparison`, method: "POST", body: data, secure: true, type: ContentType.Json, format: "json" }, params)),
|
|
4143
4152
|
/**
|
|
4144
4153
|
* No description
|
|
4145
4154
|
*
|
|
@@ -4151,7 +4160,7 @@ export class Api extends HttpClient {
|
|
|
4151
4160
|
* @response `200` `RefinanceCalculator` OK
|
|
4152
4161
|
* @response `422` `ProblemDetails` Unprocessable Content
|
|
4153
4162
|
*/
|
|
4154
|
-
calculateMortgageRefinance: (data, params = {}) => this.request(Object.assign({ path: `/api/mortgage-calculators/refinance`, method: "POST", body: data, secure: true, type:
|
|
4163
|
+
calculateMortgageRefinance: (data, params = {}) => this.request(Object.assign({ path: `/api/mortgage-calculators/refinance`, method: "POST", body: data, secure: true, type: ContentType.Json, format: "json" }, params)),
|
|
4155
4164
|
/**
|
|
4156
4165
|
* No description
|
|
4157
4166
|
*
|
|
@@ -4174,7 +4183,7 @@ export class Api extends HttpClient {
|
|
|
4174
4183
|
* @response `201` `NotificationTemplate` Created
|
|
4175
4184
|
* @response `422` `UnprocessableEntity` Unprocessable Content
|
|
4176
4185
|
*/
|
|
4177
|
-
createNotificationTemplate: (data, params = {}) => this.request(Object.assign({ path: `/api/notification-templates`, method: "POST", body: data, secure: true, type:
|
|
4186
|
+
createNotificationTemplate: (data, params = {}) => this.request(Object.assign({ path: `/api/notification-templates`, method: "POST", body: data, secure: true, type: ContentType.Json, format: "json" }, params)),
|
|
4178
4187
|
/**
|
|
4179
4188
|
* No description
|
|
4180
4189
|
*
|
|
@@ -4185,7 +4194,7 @@ export class Api extends HttpClient {
|
|
|
4185
4194
|
* @secure
|
|
4186
4195
|
* @response `200` `NotificationTemplateBasePaginated` OK
|
|
4187
4196
|
*/
|
|
4188
|
-
searchNotificationTemplates: (data, query, params = {}) => this.request(Object.assign({ path: `/api/notification-templates/search`, method: "POST", query: query, body: data, secure: true, type:
|
|
4197
|
+
searchNotificationTemplates: (data, query, params = {}) => this.request(Object.assign({ path: `/api/notification-templates/search`, method: "POST", query: query, body: data, secure: true, type: ContentType.Json, format: "json" }, params)),
|
|
4189
4198
|
/**
|
|
4190
4199
|
* No description
|
|
4191
4200
|
*
|
|
@@ -4208,7 +4217,7 @@ export class Api extends HttpClient {
|
|
|
4208
4217
|
* @response `200` `NotificationTemplate` OK
|
|
4209
4218
|
* @response `422` `UnprocessableEntity` Unprocessable Content
|
|
4210
4219
|
*/
|
|
4211
|
-
replaceNotificationTemplate: (id, data, params = {}) => this.request(Object.assign({ path: `/api/notification-templates/${id}`, method: "PUT", body: data, secure: true, type:
|
|
4220
|
+
replaceNotificationTemplate: (id, data, params = {}) => this.request(Object.assign({ path: `/api/notification-templates/${id}`, method: "PUT", body: data, secure: true, type: ContentType.Json, format: "json" }, params)),
|
|
4212
4221
|
/**
|
|
4213
4222
|
* No description
|
|
4214
4223
|
*
|
|
@@ -4252,7 +4261,7 @@ export class Api extends HttpClient {
|
|
|
4252
4261
|
* @secure
|
|
4253
4262
|
* @response `200` `NotificationTemplateVersion` OK
|
|
4254
4263
|
*/
|
|
4255
|
-
createNotificationTemplateVersion: (notificationId, data, params = {}) => this.request(Object.assign({ path: `/api/notification-templates/${notificationId}/versions`, method: "POST", body: data, secure: true, type:
|
|
4264
|
+
createNotificationTemplateVersion: (notificationId, data, params = {}) => this.request(Object.assign({ path: `/api/notification-templates/${notificationId}/versions`, method: "POST", body: data, secure: true, type: ContentType.Json, format: "json" }, params)),
|
|
4256
4265
|
/**
|
|
4257
4266
|
* No description
|
|
4258
4267
|
*
|
|
@@ -4274,7 +4283,7 @@ export class Api extends HttpClient {
|
|
|
4274
4283
|
* @secure
|
|
4275
4284
|
* @response `200` `NotificationTemplateVersion` OK
|
|
4276
4285
|
*/
|
|
4277
|
-
replaceNotificationTemplateVersion: (notificationId, id, data, params = {}) => this.request(Object.assign({ path: `/api/notification-templates/${notificationId}/versions/${id}`, method: "PUT", body: data, secure: true, type:
|
|
4286
|
+
replaceNotificationTemplateVersion: (notificationId, id, data, params = {}) => this.request(Object.assign({ path: `/api/notification-templates/${notificationId}/versions/${id}`, method: "PUT", body: data, secure: true, type: ContentType.Json, format: "json" }, params)),
|
|
4278
4287
|
/**
|
|
4279
4288
|
* No description
|
|
4280
4289
|
*
|
|
@@ -4307,7 +4316,7 @@ export class Api extends HttpClient {
|
|
|
4307
4316
|
* @secure
|
|
4308
4317
|
* @response `200` `BranchUserPaginated` OK
|
|
4309
4318
|
*/
|
|
4310
|
-
searchPartners: (data, query, params = {}) => this.request(Object.assign({ path: `/api/partners/search`, method: "POST", query: query, body: data, secure: true, type:
|
|
4319
|
+
searchPartners: (data, query, params = {}) => this.request(Object.assign({ path: `/api/partners/search`, method: "POST", query: query, body: data, secure: true, type: ContentType.Json, format: "json" }, params)),
|
|
4311
4320
|
/**
|
|
4312
4321
|
* No description
|
|
4313
4322
|
*
|
|
@@ -4330,7 +4339,7 @@ export class Api extends HttpClient {
|
|
|
4330
4339
|
* @response `200` `SiteConfiguration` OK
|
|
4331
4340
|
* @response `422` `UnprocessableEntity` Unprocessable Content
|
|
4332
4341
|
*/
|
|
4333
|
-
createPartnerSiteConfiguration: (realtorId, data, params = {}) => this.request(Object.assign({ path: `/api/partners/${realtorId}/site-configurations`, method: "POST", body: data, secure: true, type:
|
|
4342
|
+
createPartnerSiteConfiguration: (realtorId, data, params = {}) => this.request(Object.assign({ path: `/api/partners/${realtorId}/site-configurations`, method: "POST", body: data, secure: true, type: ContentType.Json, format: "json" }, params)),
|
|
4334
4343
|
/**
|
|
4335
4344
|
* No description
|
|
4336
4345
|
*
|
|
@@ -4353,7 +4362,7 @@ export class Api extends HttpClient {
|
|
|
4353
4362
|
* @response `200` `SiteConfiguration` OK
|
|
4354
4363
|
* @response `422` `UnprocessableEntity` Unprocessable Content
|
|
4355
4364
|
*/
|
|
4356
|
-
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:
|
|
4365
|
+
replacePartnerSiteConfiguration: (realtorId, siteConfigurationId, data, query, params = {}) => this.request(Object.assign({ path: `/api/partners/${realtorId}/site-configurations/${siteConfigurationId}`, method: "PUT", query: query, body: data, secure: true, type: ContentType.Json, format: "json" }, params)),
|
|
4357
4366
|
/**
|
|
4358
4367
|
* No description
|
|
4359
4368
|
*
|
|
@@ -4377,7 +4386,7 @@ export class Api extends HttpClient {
|
|
|
4377
4386
|
* @response `200` `SiteConfigurationByUrl` OK
|
|
4378
4387
|
* @response `422` `UnprocessableEntity` Unprocessable Content
|
|
4379
4388
|
*/
|
|
4380
|
-
searchSiteConfigurationByUrl: (data, params = {}) => this.request(Object.assign({ path: `/api/site-configurations/url`, method: "POST", body: data, secure: true, type:
|
|
4389
|
+
searchSiteConfigurationByUrl: (data, params = {}) => this.request(Object.assign({ path: `/api/site-configurations/url`, method: "POST", body: data, secure: true, type: ContentType.Json, format: "json" }, params)),
|
|
4381
4390
|
/**
|
|
4382
4391
|
* No description
|
|
4383
4392
|
*
|
|
@@ -4402,7 +4411,7 @@ export class Api extends HttpClient {
|
|
|
4402
4411
|
* @response `200` `SiteConfiguration` OK
|
|
4403
4412
|
* @response `422` `UnprocessableEntity` Unprocessable Content
|
|
4404
4413
|
*/
|
|
4405
|
-
searchSiteConfigurationByLoanOfficerUser: (data, params = {}) => this.request(Object.assign({ path: `/api/site-configurations/louser`, method: "POST", body: data, secure: true, type:
|
|
4414
|
+
searchSiteConfigurationByLoanOfficerUser: (data, params = {}) => this.request(Object.assign({ path: `/api/site-configurations/louser`, method: "POST", body: data, secure: true, type: ContentType.Json, format: "json" }, params)),
|
|
4406
4415
|
/**
|
|
4407
4416
|
* No description
|
|
4408
4417
|
*
|
|
@@ -4426,7 +4435,7 @@ export class Api extends HttpClient {
|
|
|
4426
4435
|
* @response `200` `SiteConfigurationSummaryPaginated` OK
|
|
4427
4436
|
* @response `422` `UnprocessableEntity` Unprocessable Content
|
|
4428
4437
|
*/
|
|
4429
|
-
searchSiteConfigurations: (data, query, params = {}) => this.request(Object.assign({ path: `/api/site-configurations/search`, method: "POST", query: query, body: data, secure: true, type:
|
|
4438
|
+
searchSiteConfigurations: (data, query, params = {}) => this.request(Object.assign({ path: `/api/site-configurations/search`, method: "POST", query: query, body: data, secure: true, type: ContentType.Json, format: "json" }, params)),
|
|
4430
4439
|
/**
|
|
4431
4440
|
* No description
|
|
4432
4441
|
*
|
|
@@ -4518,7 +4527,7 @@ export class Api extends HttpClient {
|
|
|
4518
4527
|
* @secure
|
|
4519
4528
|
* @response `200` `GetForm` OK
|
|
4520
4529
|
*/
|
|
4521
|
-
getFormBySiteConfigurationSlug: (data, params = {}) => this.request(Object.assign({ path: `/api/site-forms`, method: "POST", body: data, secure: true, type:
|
|
4530
|
+
getFormBySiteConfigurationSlug: (data, params = {}) => this.request(Object.assign({ path: `/api/site-forms`, method: "POST", body: data, secure: true, type: ContentType.Json, format: "json" }, params)),
|
|
4522
4531
|
/**
|
|
4523
4532
|
* No description
|
|
4524
4533
|
*
|
|
@@ -4530,7 +4539,7 @@ export class Api extends HttpClient {
|
|
|
4530
4539
|
* @response `200` `SiteTilePaginated` OK
|
|
4531
4540
|
* @response `403` `ProblemDetails` Forbidden
|
|
4532
4541
|
*/
|
|
4533
|
-
searchSiteTiles: (data, query, params = {}) => this.request(Object.assign({ path: `/api/site-tiles/search`, method: "POST", query: query, body: data, secure: true, type:
|
|
4542
|
+
searchSiteTiles: (data, query, params = {}) => this.request(Object.assign({ path: `/api/site-tiles/search`, method: "POST", query: query, body: data, secure: true, type: ContentType.Json, format: "json" }, params)),
|
|
4534
4543
|
/**
|
|
4535
4544
|
* No description
|
|
4536
4545
|
*
|
|
@@ -4570,7 +4579,7 @@ export class Api extends HttpClient {
|
|
|
4570
4579
|
* @response `403` `ProblemDetails` Forbidden
|
|
4571
4580
|
* @response `404` `ProblemDetails` Not Found
|
|
4572
4581
|
*/
|
|
4573
|
-
updateSiteTile: (siteTileId, data, params = {}) => this.request(Object.assign({ path: `/api/site-tiles/${siteTileId}`, method: "PUT", body: data, secure: true, type:
|
|
4582
|
+
updateSiteTile: (siteTileId, data, params = {}) => this.request(Object.assign({ path: `/api/site-tiles/${siteTileId}`, method: "PUT", body: data, secure: true, type: ContentType.Json, format: "json" }, params)),
|
|
4574
4583
|
/**
|
|
4575
4584
|
* No description
|
|
4576
4585
|
*
|
|
@@ -4596,7 +4605,7 @@ export class Api extends HttpClient {
|
|
|
4596
4605
|
* @response `400` `ProblemDetails` Bad Request
|
|
4597
4606
|
* @response `403` `ProblemDetails` Forbidden
|
|
4598
4607
|
*/
|
|
4599
|
-
createSiteTile: (data, params = {}) => this.request(Object.assign({ path: `/api/site-tiles`, method: "POST", body: data, secure: true, type:
|
|
4608
|
+
createSiteTile: (data, params = {}) => this.request(Object.assign({ path: `/api/site-tiles`, method: "POST", body: data, secure: true, type: ContentType.Json, format: "json" }, params)),
|
|
4600
4609
|
/**
|
|
4601
4610
|
* No description
|
|
4602
4611
|
*
|
|
@@ -4619,7 +4628,7 @@ export class Api extends HttpClient {
|
|
|
4619
4628
|
* @response `200` `(SocialSurveyRecord)[]` OK
|
|
4620
4629
|
* @response `422` `UnprocessableEntity` Unprocessable Content
|
|
4621
4630
|
*/
|
|
4622
|
-
getSurveysByUser: (data, params = {}) => this.request(Object.assign({ path: `/api/surveys`, method: "POST", body: data, secure: true, type:
|
|
4631
|
+
getSurveysByUser: (data, params = {}) => this.request(Object.assign({ path: `/api/surveys`, method: "POST", body: data, secure: true, type: ContentType.Json, format: "json" }, params)),
|
|
4623
4632
|
/**
|
|
4624
4633
|
* No description
|
|
4625
4634
|
*
|
|
@@ -4642,7 +4651,7 @@ export class Api extends HttpClient {
|
|
|
4642
4651
|
* @secure
|
|
4643
4652
|
* @response `201` `Task` Created
|
|
4644
4653
|
*/
|
|
4645
|
-
createTask: (data, params = {}) => this.request(Object.assign({ path: `/api/tasks`, method: "POST", body: data, secure: true, type:
|
|
4654
|
+
createTask: (data, params = {}) => this.request(Object.assign({ path: `/api/tasks`, method: "POST", body: data, secure: true, type: ContentType.Json, format: "json" }, params)),
|
|
4646
4655
|
/**
|
|
4647
4656
|
* No description
|
|
4648
4657
|
*
|
|
@@ -4666,7 +4675,7 @@ export class Api extends HttpClient {
|
|
|
4666
4675
|
* @response `200` `Task` OK
|
|
4667
4676
|
* @response `404` `ProblemDetails` Not Found
|
|
4668
4677
|
*/
|
|
4669
|
-
replaceTask: (id, data, params = {}) => this.request(Object.assign({ path: `/api/tasks/${id}`, method: "PUT", body: data, secure: true, type:
|
|
4678
|
+
replaceTask: (id, data, params = {}) => this.request(Object.assign({ path: `/api/tasks/${id}`, method: "PUT", body: data, secure: true, type: ContentType.Json, format: "json" }, params)),
|
|
4670
4679
|
/**
|
|
4671
4680
|
* No description
|
|
4672
4681
|
*
|
|
@@ -4689,7 +4698,7 @@ export class Api extends HttpClient {
|
|
|
4689
4698
|
* @secure
|
|
4690
4699
|
* @response `200` `TaskPaginated` OK
|
|
4691
4700
|
*/
|
|
4692
|
-
searchTasks: (data, query, params = {}) => this.request(Object.assign({ path: `/api/tasks/search`, method: "POST", query: query, body: data, secure: true, type:
|
|
4701
|
+
searchTasks: (data, query, params = {}) => this.request(Object.assign({ path: `/api/tasks/search`, method: "POST", query: query, body: data, secure: true, type: ContentType.Json, format: "json" }, params)),
|
|
4693
4702
|
/**
|
|
4694
4703
|
* No description
|
|
4695
4704
|
*
|
|
@@ -4699,7 +4708,7 @@ export class Api extends HttpClient {
|
|
|
4699
4708
|
* @secure
|
|
4700
4709
|
* @response `200` `void` OK
|
|
4701
4710
|
*/
|
|
4702
|
-
integrationsLosLoansCreate: (data, params = {}) => this.request(Object.assign({ path: `/api/integrations/los/loans`, method: "POST", body: data, secure: true, type:
|
|
4711
|
+
integrationsLosLoansCreate: (data, params = {}) => this.request(Object.assign({ path: `/api/integrations/los/loans`, method: "POST", body: data, secure: true, type: ContentType.Json }, params)),
|
|
4703
4712
|
/**
|
|
4704
4713
|
* No description
|
|
4705
4714
|
*
|
|
@@ -4710,7 +4719,7 @@ export class Api extends HttpClient {
|
|
|
4710
4719
|
* @secure
|
|
4711
4720
|
* @response `200` `EncompassRequestLogPaginated` OK
|
|
4712
4721
|
*/
|
|
4713
|
-
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:
|
|
4722
|
+
searchEncompassLogs: (losId, query, data, params = {}) => this.request(Object.assign({ path: `/api/los/encompass/logs/${losId}/search`, method: "POST", query: query, body: data, secure: true, type: ContentType.Json, format: "json" }, params)),
|
|
4714
4723
|
/**
|
|
4715
4724
|
* No description
|
|
4716
4725
|
*
|
|
@@ -4733,7 +4742,7 @@ export class Api extends HttpClient {
|
|
|
4733
4742
|
* @secure
|
|
4734
4743
|
* @response `201` `LosCredentials` Created
|
|
4735
4744
|
*/
|
|
4736
|
-
createEncompassCredentials: (data, params = {}) => this.request(Object.assign({ path: `/api/los/encompass/credentials`, method: "POST", body: data, secure: true, type:
|
|
4745
|
+
createEncompassCredentials: (data, params = {}) => this.request(Object.assign({ path: `/api/los/encompass/credentials`, method: "POST", body: data, secure: true, type: ContentType.Json, format: "json" }, params)),
|
|
4737
4746
|
/**
|
|
4738
4747
|
* No description
|
|
4739
4748
|
*
|
|
@@ -4744,7 +4753,7 @@ export class Api extends HttpClient {
|
|
|
4744
4753
|
* @secure
|
|
4745
4754
|
* @response `200` `EncompassCredentialsDetail` OK
|
|
4746
4755
|
*/
|
|
4747
|
-
updateEncompassCredentials: (data, params = {}) => this.request(Object.assign({ path: `/api/los/encompass/credentials`, method: "PUT", body: data, secure: true, type:
|
|
4756
|
+
updateEncompassCredentials: (data, params = {}) => this.request(Object.assign({ path: `/api/los/encompass/credentials`, method: "PUT", body: data, secure: true, type: ContentType.Json, format: "json" }, params)),
|
|
4748
4757
|
/**
|
|
4749
4758
|
* No description
|
|
4750
4759
|
*
|
|
@@ -4766,7 +4775,7 @@ export class Api extends HttpClient {
|
|
|
4766
4775
|
* @secure
|
|
4767
4776
|
* @response `201` `LosWebhook` Created
|
|
4768
4777
|
*/
|
|
4769
|
-
createEncompassWebhook: (data, params = {}) => this.request(Object.assign({ path: `/api/los/encompass/webhooks`, method: "POST", body: data, secure: true, type:
|
|
4778
|
+
createEncompassWebhook: (data, params = {}) => this.request(Object.assign({ path: `/api/los/encompass/webhooks`, method: "POST", body: data, secure: true, type: ContentType.Json, format: "json" }, params)),
|
|
4770
4779
|
/**
|
|
4771
4780
|
* No description
|
|
4772
4781
|
*
|
|
@@ -4788,7 +4797,7 @@ export class Api extends HttpClient {
|
|
|
4788
4797
|
* @secure
|
|
4789
4798
|
* @response `200` `LosSyncPaginated` OK
|
|
4790
4799
|
*/
|
|
4791
|
-
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:
|
|
4800
|
+
searchLosSyncs: (loanId, query, data, params = {}) => this.request(Object.assign({ path: `/api/los/encompass/syncs/${loanId}/search`, method: "POST", query: query, body: data, secure: true, type: ContentType.Json, format: "json" }, params)),
|
|
4792
4801
|
/**
|
|
4793
4802
|
* No description
|
|
4794
4803
|
*
|
|
@@ -4871,7 +4880,7 @@ export class Api extends HttpClient {
|
|
|
4871
4880
|
* @response `201` `UserDevice` Created
|
|
4872
4881
|
* @response `400` `ProblemDetails` Bad Request
|
|
4873
4882
|
*/
|
|
4874
|
-
createUserDevice: (data, params = {}) => this.request(Object.assign({ path: `/api/userdevices`, method: "POST", body: data, secure: true, type:
|
|
4883
|
+
createUserDevice: (data, params = {}) => this.request(Object.assign({ path: `/api/userdevices`, method: "POST", body: data, secure: true, type: ContentType.Json, format: "json" }, params)),
|
|
4875
4884
|
/**
|
|
4876
4885
|
* No description
|
|
4877
4886
|
*
|
|
@@ -4918,7 +4927,7 @@ export class Api extends HttpClient {
|
|
|
4918
4927
|
* @response `404` `ProblemDetails` Not Found
|
|
4919
4928
|
* @response `409` `ProblemDetails` Conflict
|
|
4920
4929
|
*/
|
|
4921
|
-
addDraftUsers: (draftId, userId, data, params = {}) => this.request(Object.assign({ path: `/api/loans/drafts/${draftId}/users/${userId}`, method: "POST", body: data, secure: true, type:
|
|
4930
|
+
addDraftUsers: (draftId, userId, data, params = {}) => this.request(Object.assign({ path: `/api/loans/drafts/${draftId}/users/${userId}`, method: "POST", body: data, secure: true, type: ContentType.Json, format: "json" }, params)),
|
|
4922
4931
|
/**
|
|
4923
4932
|
* No description
|
|
4924
4933
|
*
|
|
@@ -4951,7 +4960,7 @@ export class Api extends HttpClient {
|
|
|
4951
4960
|
* @secure
|
|
4952
4961
|
* @response `200` `UserGroupAccessScope` OK
|
|
4953
4962
|
*/
|
|
4954
|
-
createUserGroupAccessScope: (groupId, data, params = {}) => this.request(Object.assign({ path: `/api/user-groups/${groupId}/scopes`, method: "POST", body: data, secure: true, type:
|
|
4963
|
+
createUserGroupAccessScope: (groupId, data, params = {}) => this.request(Object.assign({ path: `/api/user-groups/${groupId}/scopes`, method: "POST", body: data, secure: true, type: ContentType.Json, format: "json" }, params)),
|
|
4955
4964
|
/**
|
|
4956
4965
|
* No description
|
|
4957
4966
|
*
|
|
@@ -4984,7 +4993,7 @@ export class Api extends HttpClient {
|
|
|
4984
4993
|
* @secure
|
|
4985
4994
|
* @response `200` `UserGroupMember` OK
|
|
4986
4995
|
*/
|
|
4987
|
-
createUserGroupMember: (groupId, data, query, params = {}) => this.request(Object.assign({ path: `/api/user-groups/${groupId}/members`, method: "POST", query: query, body: data, secure: true, type:
|
|
4996
|
+
createUserGroupMember: (groupId, data, query, params = {}) => this.request(Object.assign({ path: `/api/user-groups/${groupId}/members`, method: "POST", query: query, body: data, secure: true, type: ContentType.Json, format: "json" }, params)),
|
|
4988
4997
|
/**
|
|
4989
4998
|
* No description
|
|
4990
4999
|
*
|
|
@@ -5028,7 +5037,7 @@ export class Api extends HttpClient {
|
|
|
5028
5037
|
* @secure
|
|
5029
5038
|
* @response `200` `UserGroup` OK
|
|
5030
5039
|
*/
|
|
5031
|
-
updateUserGroup: (groupId, data, params = {}) => this.request(Object.assign({ path: `/api/user-groups/${groupId}`, method: "PUT", body: data, secure: true, type:
|
|
5040
|
+
updateUserGroup: (groupId, data, params = {}) => this.request(Object.assign({ path: `/api/user-groups/${groupId}`, method: "PUT", body: data, secure: true, type: ContentType.Json, format: "json" }, params)),
|
|
5032
5041
|
/**
|
|
5033
5042
|
* No description
|
|
5034
5043
|
*
|
|
@@ -5050,7 +5059,7 @@ export class Api extends HttpClient {
|
|
|
5050
5059
|
* @secure
|
|
5051
5060
|
* @response `201` `UserGroup` Created
|
|
5052
5061
|
*/
|
|
5053
|
-
createUserGroup: (data, params = {}) => this.request(Object.assign({ path: `/api/user-groups`, method: "POST", body: data, secure: true, type:
|
|
5062
|
+
createUserGroup: (data, params = {}) => this.request(Object.assign({ path: `/api/user-groups`, method: "POST", body: data, secure: true, type: ContentType.Json, format: "json" }, params)),
|
|
5054
5063
|
/**
|
|
5055
5064
|
* No description
|
|
5056
5065
|
*
|
|
@@ -5063,7 +5072,7 @@ export class Api extends HttpClient {
|
|
|
5063
5072
|
* @response `404` `Error` Not Found
|
|
5064
5073
|
* @response `422` `UnprocessableEntity` Unprocessable Content
|
|
5065
5074
|
*/
|
|
5066
|
-
requestImpersonation: (data, params = {}) => this.request(Object.assign({ path: `/api/users/impersonation/request`, method: "POST", body: data, secure: true, type:
|
|
5075
|
+
requestImpersonation: (data, params = {}) => this.request(Object.assign({ path: `/api/users/impersonation/request`, method: "POST", body: data, secure: true, type: ContentType.Json }, params)),
|
|
5067
5076
|
/**
|
|
5068
5077
|
* No description
|
|
5069
5078
|
*
|
|
@@ -5076,7 +5085,7 @@ export class Api extends HttpClient {
|
|
|
5076
5085
|
* @response `404` `Error` Not Found
|
|
5077
5086
|
* @response `422` `UnprocessableEntity` Unprocessable Content
|
|
5078
5087
|
*/
|
|
5079
|
-
allowImpersonation: (data, params = {}) => this.request(Object.assign({ path: `/api/users/impersonation/allow`, method: "POST", body: data, secure: true, type:
|
|
5088
|
+
allowImpersonation: (data, params = {}) => this.request(Object.assign({ path: `/api/users/impersonation/allow`, method: "POST", body: data, secure: true, type: ContentType.Json }, params)),
|
|
5080
5089
|
/**
|
|
5081
5090
|
* No description
|
|
5082
5091
|
*
|
|
@@ -5126,7 +5135,7 @@ export class Api extends HttpClient {
|
|
|
5126
5135
|
* @response `404` `Error` Not Found
|
|
5127
5136
|
* @response `422` `UnprocessableEntity` Unprocessable Content
|
|
5128
5137
|
*/
|
|
5129
|
-
forceImpersonation: (data, params = {}) => this.request(Object.assign({ path: `/api/users/impersonation/force`, method: "POST", body: data, secure: true, type:
|
|
5138
|
+
forceImpersonation: (data, params = {}) => this.request(Object.assign({ path: `/api/users/impersonation/force`, method: "POST", body: data, secure: true, type: ContentType.Json }, params)),
|
|
5130
5139
|
/**
|
|
5131
5140
|
* No description
|
|
5132
5141
|
*
|
|
@@ -5150,7 +5159,7 @@ export class Api extends HttpClient {
|
|
|
5150
5159
|
* @response `204` `void` No Content
|
|
5151
5160
|
* @response `422` `UnprocessableEntity` Unprocessable Content
|
|
5152
5161
|
*/
|
|
5153
|
-
inviteUser: (data, params = {}) => this.request(Object.assign({ path: `/api/users/invites`, method: "POST", body: data, secure: true, type:
|
|
5162
|
+
inviteUser: (data, params = {}) => this.request(Object.assign({ path: `/api/users/invites`, method: "POST", body: data, secure: true, type: ContentType.Json }, params)),
|
|
5154
5163
|
/**
|
|
5155
5164
|
* No description
|
|
5156
5165
|
*
|
|
@@ -5188,7 +5197,7 @@ export class Api extends HttpClient {
|
|
|
5188
5197
|
* @secure
|
|
5189
5198
|
* @response `204` `void` No Content
|
|
5190
5199
|
*/
|
|
5191
|
-
requestUserReactivation: (data, params = {}) => this.request(Object.assign({ path: `/api/users/reactivation/request`, method: "POST", body: data, secure: true, type:
|
|
5200
|
+
requestUserReactivation: (data, params = {}) => this.request(Object.assign({ path: `/api/users/reactivation/request`, method: "POST", body: data, secure: true, type: ContentType.Json }, params)),
|
|
5192
5201
|
/**
|
|
5193
5202
|
* No description
|
|
5194
5203
|
*
|
|
@@ -5200,7 +5209,7 @@ export class Api extends HttpClient {
|
|
|
5200
5209
|
* @response `204` `void` No Content
|
|
5201
5210
|
* @response `400` `ProblemDetails` Bad Request
|
|
5202
5211
|
*/
|
|
5203
|
-
completeUserReactivation: (data, params = {}) => this.request(Object.assign({ path: `/api/users/reactivation/complete`, method: "POST", body: data, secure: true, type:
|
|
5212
|
+
completeUserReactivation: (data, params = {}) => this.request(Object.assign({ path: `/api/users/reactivation/complete`, method: "POST", body: data, secure: true, type: ContentType.Json }, params)),
|
|
5204
5213
|
/**
|
|
5205
5214
|
* No description
|
|
5206
5215
|
*
|
|
@@ -5222,7 +5231,7 @@ export class Api extends HttpClient {
|
|
|
5222
5231
|
* @secure
|
|
5223
5232
|
* @response `204` `void` No Content
|
|
5224
5233
|
*/
|
|
5225
|
-
createUserRelation: (userId, data, params = {}) => this.request(Object.assign({ path: `/api/users/${userId}/relations`, method: "POST", body: data, secure: true, type:
|
|
5234
|
+
createUserRelation: (userId, data, params = {}) => this.request(Object.assign({ path: `/api/users/${userId}/relations`, method: "POST", body: data, secure: true, type: ContentType.Json }, params)),
|
|
5226
5235
|
/**
|
|
5227
5236
|
* No description
|
|
5228
5237
|
*
|
|
@@ -5268,7 +5277,7 @@ export class Api extends HttpClient {
|
|
|
5268
5277
|
* @response `409` `ProblemDetails` Conflict
|
|
5269
5278
|
* @response `422` `UnprocessableEntity` Unprocessable Content
|
|
5270
5279
|
*/
|
|
5271
|
-
createUser: (data, params = {}) => this.request(Object.assign({ path: `/api/users`, method: "POST", body: data, secure: true, type:
|
|
5280
|
+
createUser: (data, params = {}) => this.request(Object.assign({ path: `/api/users`, method: "POST", body: data, secure: true, type: ContentType.Json, format: "json" }, params)),
|
|
5272
5281
|
/**
|
|
5273
5282
|
* No description
|
|
5274
5283
|
*
|
|
@@ -5279,7 +5288,7 @@ export class Api extends HttpClient {
|
|
|
5279
5288
|
* @secure
|
|
5280
5289
|
* @response `200` `UserPaginated` OK
|
|
5281
5290
|
*/
|
|
5282
|
-
searchUsers: (data, query, params = {}) => this.request(Object.assign({ path: `/api/users/search`, method: "POST", query: query, body: data, secure: true, type:
|
|
5291
|
+
searchUsers: (data, query, params = {}) => this.request(Object.assign({ path: `/api/users/search`, method: "POST", query: query, body: data, secure: true, type: ContentType.Json, format: "json" }, params)),
|
|
5283
5292
|
/**
|
|
5284
5293
|
* No description
|
|
5285
5294
|
*
|
|
@@ -5290,7 +5299,7 @@ export class Api extends HttpClient {
|
|
|
5290
5299
|
* @secure
|
|
5291
5300
|
* @response `200` `AdminAccessUser` OK
|
|
5292
5301
|
*/
|
|
5293
|
-
getUserByEmail: (data, params = {}) => this.request(Object.assign({ path: `/api/users/byemail`, method: "POST", body: data, secure: true, type:
|
|
5302
|
+
getUserByEmail: (data, params = {}) => this.request(Object.assign({ path: `/api/users/byemail`, method: "POST", body: data, secure: true, type: ContentType.Json, format: "json" }, params)),
|
|
5294
5303
|
/**
|
|
5295
5304
|
* No description
|
|
5296
5305
|
*
|
|
@@ -5302,7 +5311,7 @@ export class Api extends HttpClient {
|
|
|
5302
5311
|
* @response `200` `User` OK
|
|
5303
5312
|
* @response `422` `UnprocessableEntity` Unprocessable Content
|
|
5304
5313
|
*/
|
|
5305
|
-
signUp: (data, params = {}) => this.request(Object.assign({ path: `/api/users/register`, method: "POST", body: data, secure: true, type:
|
|
5314
|
+
signUp: (data, params = {}) => this.request(Object.assign({ path: `/api/users/register`, method: "POST", body: data, secure: true, type: ContentType.Json, format: "json" }, params)),
|
|
5306
5315
|
/**
|
|
5307
5316
|
* No description
|
|
5308
5317
|
*
|
|
@@ -5314,7 +5323,7 @@ export class Api extends HttpClient {
|
|
|
5314
5323
|
* @response `200` `DetailedUser` OK
|
|
5315
5324
|
* @response `422` `UnprocessableEntity` Unprocessable Content
|
|
5316
5325
|
*/
|
|
5317
|
-
replaceUser: (id, data, params = {}) => this.request(Object.assign({ path: `/api/users/${id}`, method: "PUT", body: data, secure: true, type:
|
|
5326
|
+
replaceUser: (id, data, params = {}) => this.request(Object.assign({ path: `/api/users/${id}`, method: "PUT", body: data, secure: true, type: ContentType.Json, format: "json" }, params)),
|
|
5318
5327
|
/**
|
|
5319
5328
|
* No description
|
|
5320
5329
|
*
|
|
@@ -5348,7 +5357,7 @@ export class Api extends HttpClient {
|
|
|
5348
5357
|
* @response `204` `void` No Content
|
|
5349
5358
|
* @response `422` `UnprocessableEntity` Unprocessable Content
|
|
5350
5359
|
*/
|
|
5351
|
-
changePassword: (data, params = {}) => this.request(Object.assign({ path: `/api/users/change-password`, method: "POST", body: data, secure: true, type:
|
|
5360
|
+
changePassword: (data, params = {}) => this.request(Object.assign({ path: `/api/users/change-password`, method: "POST", body: data, secure: true, type: ContentType.Json }, params)),
|
|
5352
5361
|
/**
|
|
5353
5362
|
* No description
|
|
5354
5363
|
*
|
|
@@ -5361,7 +5370,7 @@ export class Api extends HttpClient {
|
|
|
5361
5370
|
* @response `204` `void` No Content
|
|
5362
5371
|
* @response `422` `UnprocessableEntity` Unprocessable Content
|
|
5363
5372
|
*/
|
|
5364
|
-
verifyPassword: (data, params = {}) => this.request(Object.assign({ path: `/api/users/verify-password`, method: "POST", body: data, secure: true, type:
|
|
5373
|
+
verifyPassword: (data, params = {}) => this.request(Object.assign({ path: `/api/users/verify-password`, method: "POST", body: data, secure: true, type: ContentType.Json }, params)),
|
|
5365
5374
|
/**
|
|
5366
5375
|
* No description
|
|
5367
5376
|
*
|
|
@@ -5373,7 +5382,7 @@ export class Api extends HttpClient {
|
|
|
5373
5382
|
* @response `204` `void` No Content
|
|
5374
5383
|
* @response `422` `UnprocessableEntity` Unprocessable Content
|
|
5375
5384
|
*/
|
|
5376
|
-
overridePassword: (id, data, params = {}) => this.request(Object.assign({ path: `/api/users/${id}/override-password`, method: "POST", body: data, secure: true, type:
|
|
5385
|
+
overridePassword: (id, data, params = {}) => this.request(Object.assign({ path: `/api/users/${id}/override-password`, method: "POST", body: data, secure: true, type: ContentType.Json }, params)),
|
|
5377
5386
|
/**
|
|
5378
5387
|
* No description
|
|
5379
5388
|
*
|
|
@@ -5386,7 +5395,7 @@ export class Api extends HttpClient {
|
|
|
5386
5395
|
* @response `204` `void` No Content
|
|
5387
5396
|
* @response `422` `UnprocessableEntity` Unprocessable Content
|
|
5388
5397
|
*/
|
|
5389
|
-
forgotPassword: (data, params = {}) => this.request(Object.assign({ path: `/api/users/forgot-password`, method: "POST", body: data, secure: true, type:
|
|
5398
|
+
forgotPassword: (data, params = {}) => this.request(Object.assign({ path: `/api/users/forgot-password`, method: "POST", body: data, secure: true, type: ContentType.Json }, params)),
|
|
5390
5399
|
/**
|
|
5391
5400
|
* No description
|
|
5392
5401
|
*
|
|
@@ -5410,7 +5419,7 @@ export class Api extends HttpClient {
|
|
|
5410
5419
|
* @response `204` `void` No Content
|
|
5411
5420
|
* @response `422` `UnprocessableEntity` Unprocessable Content
|
|
5412
5421
|
*/
|
|
5413
|
-
verifyUserMobilePhone: (data, params = {}) => this.request(Object.assign({ path: `/api/users/mobile-phone/verify-code`, method: "PUT", body: data, secure: true, type:
|
|
5422
|
+
verifyUserMobilePhone: (data, params = {}) => this.request(Object.assign({ path: `/api/users/mobile-phone/verify-code`, method: "PUT", body: data, secure: true, type: ContentType.Json }, params)),
|
|
5414
5423
|
/**
|
|
5415
5424
|
* No description
|
|
5416
5425
|
*
|
|
@@ -5435,7 +5444,7 @@ export class Api extends HttpClient {
|
|
|
5435
5444
|
* @response `403` `ProblemDetails` Forbidden
|
|
5436
5445
|
* @response `409` `ProblemDetails` Conflict
|
|
5437
5446
|
*/
|
|
5438
|
-
replaceMe: (data, params = {}) => this.request(Object.assign({ path: `/api/users/me`, method: "PUT", body: data, secure: true, type:
|
|
5447
|
+
replaceMe: (data, params = {}) => this.request(Object.assign({ path: `/api/users/me`, method: "PUT", body: data, secure: true, type: ContentType.Json, format: "json" }, params)),
|
|
5439
5448
|
/**
|
|
5440
5449
|
* @description Update the phone number If changed will send a verification code to the new number
|
|
5441
5450
|
*
|
|
@@ -5446,7 +5455,7 @@ export class Api extends HttpClient {
|
|
|
5446
5455
|
* @secure
|
|
5447
5456
|
* @response `204` `DetailedUser` No Content
|
|
5448
5457
|
*/
|
|
5449
|
-
updateMyPhone: (data, params = {}) => this.request(Object.assign({ path: `/api/users/me/phone-number`, method: "PUT", body: data, secure: true, type:
|
|
5458
|
+
updateMyPhone: (data, params = {}) => this.request(Object.assign({ path: `/api/users/me/phone-number`, method: "PUT", body: data, secure: true, type: ContentType.Json, format: "json" }, params)),
|
|
5450
5459
|
/**
|
|
5451
5460
|
* No description
|
|
5452
5461
|
*
|
|
@@ -5490,7 +5499,7 @@ export class Api extends HttpClient {
|
|
|
5490
5499
|
* @secure
|
|
5491
5500
|
* @response `204` `void` No Content
|
|
5492
5501
|
*/
|
|
5493
|
-
deleteMe: (data, params = {}) => this.request(Object.assign({ path: `/api/users/me/delete`, method: "POST", body: data, secure: true, type:
|
|
5502
|
+
deleteMe: (data, params = {}) => this.request(Object.assign({ path: `/api/users/me/delete`, method: "POST", body: data, secure: true, type: ContentType.Json }, params)),
|
|
5494
5503
|
/**
|
|
5495
5504
|
* No description
|
|
5496
5505
|
*
|
|
@@ -5501,7 +5510,7 @@ export class Api extends HttpClient {
|
|
|
5501
5510
|
* @secure
|
|
5502
5511
|
* @response `200` `GetForm` OK
|
|
5503
5512
|
*/
|
|
5504
|
-
getWorkflow: (data, params = {}) => this.request(Object.assign({ path: `/api/workflow`, method: "POST", body: data, secure: true, type:
|
|
5513
|
+
getWorkflow: (data, params = {}) => this.request(Object.assign({ path: `/api/workflow`, method: "POST", body: data, secure: true, type: ContentType.Json, format: "json" }, params)),
|
|
5505
5514
|
};
|
|
5506
5515
|
this.sso = {
|
|
5507
5516
|
/**
|