@matech/thebigpos-sdk 2.46.8-aibi-rc2 → 2.47.1-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/.claude/settings.local.json +52 -0
- package/.husky/pre-commit +2 -2
- package/LICENSE +21 -21
- package/README.md +10 -0
- package/dist/index.d.ts +335 -157
- package/dist/index.js +258 -213
- package/dist/index.js.map +1 -1
- package/package.json +4 -1
- package/scripts/apply-json-patch-content-type.js +129 -36
- package/src/index.ts +1299 -874
- package/tsconfig.json +27 -27
package/dist/index.js
CHANGED
|
@@ -30,15 +30,6 @@ var __rest = (this && this.__rest) || function (s, e) {
|
|
|
30
30
|
return t;
|
|
31
31
|
};
|
|
32
32
|
import axios from "axios";
|
|
33
|
-
export var ContentType;
|
|
34
|
-
(function (ContentType) {
|
|
35
|
-
ContentType["JsonPatch"] = "application/json-patch+json";
|
|
36
|
-
ContentType["Json"] = "application/json";
|
|
37
|
-
ContentType["JsonApi"] = "application/vnd.api+json";
|
|
38
|
-
ContentType["FormData"] = "multipart/form-data";
|
|
39
|
-
ContentType["UrlEncoded"] = "application/x-www-form-urlencoded";
|
|
40
|
-
ContentType["Text"] = "text/plain";
|
|
41
|
-
})(ContentType || (ContentType = {}));
|
|
42
33
|
export class HttpClient {
|
|
43
34
|
constructor(_a = {}) {
|
|
44
35
|
var { securityWorker, secure, format } = _a, axiosConfig = __rest(_a, ["securityWorker", "secure", "format"]);
|
|
@@ -54,13 +45,13 @@ export class HttpClient {
|
|
|
54
45
|
{};
|
|
55
46
|
const requestParams = this.mergeRequestParams(params, secureParams);
|
|
56
47
|
const responseFormat = format || this.format || undefined;
|
|
57
|
-
if (type ===
|
|
48
|
+
if (type === "multipart/form-data" &&
|
|
58
49
|
body &&
|
|
59
50
|
body !== null &&
|
|
60
51
|
typeof body === "object") {
|
|
61
52
|
body = this.createFormData(body);
|
|
62
53
|
}
|
|
63
|
-
if (type ===
|
|
54
|
+
if (type === "text/plain" &&
|
|
64
55
|
body &&
|
|
65
56
|
body !== null &&
|
|
66
57
|
typeof body !== "string") {
|
|
@@ -104,7 +95,7 @@ export class HttpClient {
|
|
|
104
95
|
}
|
|
105
96
|
/**
|
|
106
97
|
* @title The Big POS API
|
|
107
|
-
* @version v2.
|
|
98
|
+
* @version v2.47.0
|
|
108
99
|
* @termsOfService https://www.thebigpos.com/terms-of-use/
|
|
109
100
|
* @contact Mortgage Automation Technologies <support@thebigpos.com> (https://www.thebigpos.com/terms-of-use/)
|
|
110
101
|
*/
|
|
@@ -156,7 +147,7 @@ export class Api extends HttpClient {
|
|
|
156
147
|
* @response `404` `ProblemDetails` Not Found
|
|
157
148
|
* @response `422` `ProblemDetails` Unprocessable Content
|
|
158
149
|
*/
|
|
159
|
-
replaceMyAccount: (data, params = {}) => this.request(Object.assign({ path: `/api/account`, method: "PUT", body: data, secure: true, type:
|
|
150
|
+
replaceMyAccount: (data, params = {}) => this.request(Object.assign({ path: `/api/account`, method: "PUT", body: data, secure: true, type: "application/json", format: "json" }, params)),
|
|
160
151
|
/**
|
|
161
152
|
* No description
|
|
162
153
|
*
|
|
@@ -179,7 +170,7 @@ export class Api extends HttpClient {
|
|
|
179
170
|
* @response `200` `SiteConfiguration` OK
|
|
180
171
|
* @response `422` `UnprocessableEntity` Unprocessable Content
|
|
181
172
|
*/
|
|
182
|
-
updateSiteConfigurationForAccount: (data, params = {}) => this.request(Object.assign({ path: `/api/account/site-configurations`, method: "PUT", body: data, secure: true, type:
|
|
173
|
+
updateSiteConfigurationForAccount: (data, params = {}) => this.request(Object.assign({ path: `/api/account/site-configurations`, method: "PUT", body: data, secure: true, type: "application/json", format: "json" }, params)),
|
|
183
174
|
/**
|
|
184
175
|
* No description
|
|
185
176
|
*
|
|
@@ -190,7 +181,7 @@ export class Api extends HttpClient {
|
|
|
190
181
|
* @secure
|
|
191
182
|
* @response `204` `void` No Content
|
|
192
183
|
*/
|
|
193
|
-
requestAccountReactivation: (data, params = {}) => this.request(Object.assign({ path: `/api/account/reactivation/request`, method: "POST", body: data, secure: true, type:
|
|
184
|
+
requestAccountReactivation: (data, params = {}) => this.request(Object.assign({ path: `/api/account/reactivation/request`, method: "POST", body: data, secure: true, type: "application/json" }, params)),
|
|
194
185
|
/**
|
|
195
186
|
* No description
|
|
196
187
|
*
|
|
@@ -202,7 +193,7 @@ export class Api extends HttpClient {
|
|
|
202
193
|
* @response `204` `void` No Content
|
|
203
194
|
* @response `400` `ProblemDetails` Bad Request
|
|
204
195
|
*/
|
|
205
|
-
completeAccountReactivation: (data, params = {}) => this.request(Object.assign({ path: `/api/account/reactivation/complete`, method: "POST", body: data, secure: true, type:
|
|
196
|
+
completeAccountReactivation: (data, params = {}) => this.request(Object.assign({ path: `/api/account/reactivation/complete`, method: "POST", body: data, secure: true, type: "application/json" }, params)),
|
|
206
197
|
/**
|
|
207
198
|
* No description
|
|
208
199
|
*
|
|
@@ -225,7 +216,7 @@ export class Api extends HttpClient {
|
|
|
225
216
|
* @response `201` `Account` Created
|
|
226
217
|
* @response `422` `ProblemDetails` Unprocessable Content
|
|
227
218
|
*/
|
|
228
|
-
createAccount: (data, params = {}) => this.request(Object.assign({ path: `/api/accounts`, method: "POST", body: data, secure: true, type:
|
|
219
|
+
createAccount: (data, params = {}) => this.request(Object.assign({ path: `/api/accounts`, method: "POST", body: data, secure: true, type: "application/json", format: "json" }, params)),
|
|
229
220
|
/**
|
|
230
221
|
* No description
|
|
231
222
|
*
|
|
@@ -263,7 +254,7 @@ export class Api extends HttpClient {
|
|
|
263
254
|
* @response `404` `ProblemDetails` Not Found
|
|
264
255
|
* @response `422` `ProblemDetails` Unprocessable Content
|
|
265
256
|
*/
|
|
266
|
-
updateAccountBilling: (id, data, params = {}) => this.request(Object.assign({ path: `/api/accounts/${id}/billing`, method: "PUT", body: data, secure: true, type:
|
|
257
|
+
updateAccountBilling: (id, data, params = {}) => this.request(Object.assign({ path: `/api/accounts/${id}/billing`, method: "PUT", body: data, secure: true, type: "application/json", format: "json" }, params)),
|
|
267
258
|
/**
|
|
268
259
|
* No description
|
|
269
260
|
*
|
|
@@ -296,7 +287,7 @@ export class Api extends HttpClient {
|
|
|
296
287
|
* @secure
|
|
297
288
|
* @response `204` `void` No Content
|
|
298
289
|
*/
|
|
299
|
-
setAccountAiEnabled: (accountId, data, params = {}) => this.request(Object.assign({ path: `/api/ai/accounts/${accountId}/ai-enabled`, method: "PUT", body: data, secure: true, type:
|
|
290
|
+
setAccountAiEnabled: (accountId, data, params = {}) => this.request(Object.assign({ path: `/api/ai/accounts/${accountId}/ai-enabled`, method: "PUT", body: data, secure: true, type: "application/json" }, params)),
|
|
300
291
|
/**
|
|
301
292
|
* No description
|
|
302
293
|
*
|
|
@@ -319,7 +310,7 @@ export class Api extends HttpClient {
|
|
|
319
310
|
* @response `200` `AiAccountSettings` OK
|
|
320
311
|
* @response `400` `ProblemDetails` Bad Request
|
|
321
312
|
*/
|
|
322
|
-
updateAiAccountSettings: (data, params = {}) => this.request(Object.assign({ path: `/api/ai/account-settings`, method: "PUT", body: data, secure: true, type:
|
|
313
|
+
updateAiAccountSettings: (data, params = {}) => this.request(Object.assign({ path: `/api/ai/account-settings`, method: "PUT", body: data, secure: true, type: "application/json", format: "json" }, params)),
|
|
323
314
|
/**
|
|
324
315
|
* No description
|
|
325
316
|
*
|
|
@@ -342,7 +333,7 @@ export class Api extends HttpClient {
|
|
|
342
333
|
* @response `201` `AiPrompt` Created
|
|
343
334
|
* @response `400` `ProblemDetails` Bad Request
|
|
344
335
|
*/
|
|
345
|
-
createAiPrompt: (data, params = {}) => this.request(Object.assign({ path: `/api/ai/prompts`, method: "POST", body: data, secure: true, type:
|
|
336
|
+
createAiPrompt: (data, params = {}) => this.request(Object.assign({ path: `/api/ai/prompts`, method: "POST", body: data, secure: true, type: "application/json", format: "json" }, params)),
|
|
346
337
|
/**
|
|
347
338
|
* No description
|
|
348
339
|
*
|
|
@@ -367,7 +358,7 @@ export class Api extends HttpClient {
|
|
|
367
358
|
* @response `400` `ProblemDetails` Bad Request
|
|
368
359
|
* @response `404` `ProblemDetails` Not Found
|
|
369
360
|
*/
|
|
370
|
-
updateAiPrompt: (id, data, params = {}) => this.request(Object.assign({ path: `/api/ai/prompts/${id}`, method: "PUT", body: data, secure: true, type:
|
|
361
|
+
updateAiPrompt: (id, data, params = {}) => this.request(Object.assign({ path: `/api/ai/prompts/${id}`, method: "PUT", body: data, secure: true, type: "application/json", format: "json" }, params)),
|
|
371
362
|
/**
|
|
372
363
|
* No description
|
|
373
364
|
*
|
|
@@ -381,30 +372,6 @@ export class Api extends HttpClient {
|
|
|
381
372
|
* @response `404` `ProblemDetails` Not Found
|
|
382
373
|
*/
|
|
383
374
|
deleteAiPrompt: (id, params = {}) => this.request(Object.assign({ path: `/api/ai/prompts/${id}`, method: "DELETE", secure: true }, params)),
|
|
384
|
-
/**
|
|
385
|
-
* No description
|
|
386
|
-
*
|
|
387
|
-
* @tags AiAdminPrompt
|
|
388
|
-
* @name GetAiTools
|
|
389
|
-
* @summary List available agent tools and their settings schema
|
|
390
|
-
* @request GET:/api/ai/prompts/tools
|
|
391
|
-
* @secure
|
|
392
|
-
* @response `200` `(AiToolCatalogItem)[]` OK
|
|
393
|
-
*/
|
|
394
|
-
getAiTools: (params = {}) => this.request(Object.assign({ path: `/api/ai/prompts/tools`, method: "GET", secure: true, format: "json" }, params)),
|
|
395
|
-
/**
|
|
396
|
-
* No description
|
|
397
|
-
*
|
|
398
|
-
* @tags AiAdminPrompt
|
|
399
|
-
* @name UpdateAiPromptTools
|
|
400
|
-
* @summary Replace the prompt's agent tool configuration
|
|
401
|
-
* @request PUT:/api/ai/prompts/{id}/tools
|
|
402
|
-
* @secure
|
|
403
|
-
* @response `200` `AiPrompt` OK
|
|
404
|
-
* @response `400` `ProblemDetails` Bad Request
|
|
405
|
-
* @response `404` `ProblemDetails` Not Found
|
|
406
|
-
*/
|
|
407
|
-
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)),
|
|
408
375
|
/**
|
|
409
376
|
* No description
|
|
410
377
|
*
|
|
@@ -428,7 +395,7 @@ export class Api extends HttpClient {
|
|
|
428
395
|
* @response `200` `GenerateSystemPrompt` OK
|
|
429
396
|
* @response `400` `ProblemDetails` Bad Request
|
|
430
397
|
*/
|
|
431
|
-
generateAiSystemPrompt: (data, params = {}) => this.request(Object.assign({ path: `/api/ai/prompts/generate`, method: "POST", body: data, secure: true, type:
|
|
398
|
+
generateAiSystemPrompt: (data, params = {}) => this.request(Object.assign({ path: `/api/ai/prompts/generate`, method: "POST", body: data, secure: true, type: "application/json", format: "json" }, params)),
|
|
432
399
|
/**
|
|
433
400
|
* No description
|
|
434
401
|
*
|
|
@@ -462,7 +429,7 @@ export class Api extends HttpClient {
|
|
|
462
429
|
* @response `200` `AiAdminSettings` OK
|
|
463
430
|
* @response `400` `ProblemDetails` Bad Request
|
|
464
431
|
*/
|
|
465
|
-
updateAiAdminSettings: (data, params = {}) => this.request(Object.assign({ path: `/api/ai/settings`, method: "PUT", body: data, secure: true, type:
|
|
432
|
+
updateAiAdminSettings: (data, params = {}) => this.request(Object.assign({ path: `/api/ai/settings`, method: "PUT", body: data, secure: true, type: "application/json", format: "json" }, params)),
|
|
466
433
|
/**
|
|
467
434
|
* No description
|
|
468
435
|
*
|
|
@@ -540,7 +507,7 @@ export class Api extends HttpClient {
|
|
|
540
507
|
* @response `201` `AiCanonicalField` Created
|
|
541
508
|
* @response `400` `ProblemDetails` Bad Request
|
|
542
509
|
*/
|
|
543
|
-
createAiCanonicalField: (data, params = {}) => this.request(Object.assign({ path: `/api/ai/canonical-fields`, method: "POST", body: data, secure: true, type:
|
|
510
|
+
createAiCanonicalField: (data, params = {}) => this.request(Object.assign({ path: `/api/ai/canonical-fields`, method: "POST", body: data, secure: true, type: "application/json", format: "json" }, params)),
|
|
544
511
|
/**
|
|
545
512
|
* No description
|
|
546
513
|
*
|
|
@@ -565,7 +532,7 @@ export class Api extends HttpClient {
|
|
|
565
532
|
* @response `400` `ProblemDetails` Bad Request
|
|
566
533
|
* @response `404` `ProblemDetails` Not Found
|
|
567
534
|
*/
|
|
568
|
-
updateAiCanonicalField: (id, data, params = {}) => this.request(Object.assign({ path: `/api/ai/canonical-fields/${id}`, method: "PUT", body: data, secure: true, type:
|
|
535
|
+
updateAiCanonicalField: (id, data, params = {}) => this.request(Object.assign({ path: `/api/ai/canonical-fields/${id}`, method: "PUT", body: data, secure: true, type: "application/json", format: "json" }, params)),
|
|
569
536
|
/**
|
|
570
537
|
* No description
|
|
571
538
|
*
|
|
@@ -602,7 +569,7 @@ export class Api extends HttpClient {
|
|
|
602
569
|
* @response `400` `ProblemDetails` Bad Request
|
|
603
570
|
* @response `401` `ProblemDetails` Unauthorized
|
|
604
571
|
*/
|
|
605
|
-
aiChat: (data, params = {}) => this.request(Object.assign({ path: `/api/ai/chats`, method: "POST", body: data, secure: true, type:
|
|
572
|
+
aiChat: (data, params = {}) => this.request(Object.assign({ path: `/api/ai/chats`, method: "POST", body: data, secure: true, type: "application/json", format: "json" }, params)),
|
|
606
573
|
/**
|
|
607
574
|
* No description
|
|
608
575
|
*
|
|
@@ -640,7 +607,7 @@ export class Api extends HttpClient {
|
|
|
640
607
|
* @response `403` `ProblemDetails` Forbidden
|
|
641
608
|
* @response `404` `ProblemDetails` Not Found
|
|
642
609
|
*/
|
|
643
|
-
renameAiConversation: (id, data, params = {}) => this.request(Object.assign({ path: `/api/ai/conversations/${id}`, method: "PATCH", body: data, secure: true, type:
|
|
610
|
+
renameAiConversation: (id, data, params = {}) => this.request(Object.assign({ path: `/api/ai/conversations/${id}`, method: "PATCH", body: data, secure: true, type: "application/json", format: "json" }, params)),
|
|
644
611
|
/**
|
|
645
612
|
* No description
|
|
646
613
|
*
|
|
@@ -692,7 +659,7 @@ export class Api extends HttpClient {
|
|
|
692
659
|
* @response `403` `ProblemDetails` Forbidden
|
|
693
660
|
* @response `404` `ProblemDetails` Not Found
|
|
694
661
|
*/
|
|
695
|
-
pinAiConversation: (id, data, params = {}) => this.request(Object.assign({ path: `/api/ai/conversations/${id}/pin`, method: "PUT", body: data, secure: true, type:
|
|
662
|
+
pinAiConversation: (id, data, params = {}) => this.request(Object.assign({ path: `/api/ai/conversations/${id}/pin`, method: "PUT", body: data, secure: true, type: "application/json", format: "json" }, params)),
|
|
696
663
|
/**
|
|
697
664
|
* No description
|
|
698
665
|
*
|
|
@@ -750,7 +717,7 @@ export class Api extends HttpClient {
|
|
|
750
717
|
* @response `201` `AiGuardrail` Created
|
|
751
718
|
* @response `400` `ProblemDetails` Bad Request
|
|
752
719
|
*/
|
|
753
|
-
createAiGuardrail: (data, params = {}) => this.request(Object.assign({ path: `/api/ai/guardrails`, method: "POST", body: data, secure: true, type:
|
|
720
|
+
createAiGuardrail: (data, params = {}) => this.request(Object.assign({ path: `/api/ai/guardrails`, method: "POST", body: data, secure: true, type: "application/json", format: "json" }, params)),
|
|
754
721
|
/**
|
|
755
722
|
* No description
|
|
756
723
|
*
|
|
@@ -775,7 +742,7 @@ export class Api extends HttpClient {
|
|
|
775
742
|
* @response `400` `ProblemDetails` Bad Request
|
|
776
743
|
* @response `404` `ProblemDetails` Not Found
|
|
777
744
|
*/
|
|
778
|
-
updateAiGuardrail: (id, data, params = {}) => this.request(Object.assign({ path: `/api/ai/guardrails/${id}`, method: "PUT", body: data, secure: true, type:
|
|
745
|
+
updateAiGuardrail: (id, data, params = {}) => this.request(Object.assign({ path: `/api/ai/guardrails/${id}`, method: "PUT", body: data, secure: true, type: "application/json", format: "json" }, params)),
|
|
779
746
|
/**
|
|
780
747
|
* No description
|
|
781
748
|
*
|
|
@@ -822,7 +789,7 @@ export class Api extends HttpClient {
|
|
|
822
789
|
* @secure
|
|
823
790
|
* @response `200` `AiAccountUsageOverviewPaginated` OK
|
|
824
791
|
*/
|
|
825
|
-
searchAiAccountTokenUsage: (data, query, params = {}) => this.request(Object.assign({ path: `/api/ai/token-usage/search`, method: "POST", query: query, body: data, secure: true, type:
|
|
792
|
+
searchAiAccountTokenUsage: (data, query, params = {}) => this.request(Object.assign({ path: `/api/ai/token-usage/search`, method: "POST", query: query, body: data, secure: true, type: "application/json", format: "json" }, params)),
|
|
826
793
|
/**
|
|
827
794
|
* No description
|
|
828
795
|
*
|
|
@@ -856,7 +823,7 @@ export class Api extends HttpClient {
|
|
|
856
823
|
* @response `200` `AiTokenBudgetStatus` OK
|
|
857
824
|
* @response `400` `ProblemDetails` Bad Request
|
|
858
825
|
*/
|
|
859
|
-
setAiAccountTokenLimit: (accountId, data, params = {}) => this.request(Object.assign({ path: `/api/ai/token-usage/${accountId}/limit`, method: "PUT", body: data, secure: true, type:
|
|
826
|
+
setAiAccountTokenLimit: (accountId, data, params = {}) => this.request(Object.assign({ path: `/api/ai/token-usage/${accountId}/limit`, method: "PUT", body: data, secure: true, type: "application/json", format: "json" }, params)),
|
|
860
827
|
/**
|
|
861
828
|
* No description
|
|
862
829
|
*
|
|
@@ -880,7 +847,7 @@ export class Api extends HttpClient {
|
|
|
880
847
|
* @response `400` `ProblemDetails` Bad Request
|
|
881
848
|
* @response `409` `ProblemDetails` Conflict
|
|
882
849
|
*/
|
|
883
|
-
createAiUrlSource: (data, params = {}) => this.request(Object.assign({ path: `/api/ai/url-sources`, method: "POST", body: data, secure: true, type:
|
|
850
|
+
createAiUrlSource: (data, params = {}) => this.request(Object.assign({ path: `/api/ai/url-sources`, method: "POST", body: data, secure: true, type: "application/json", format: "json" }, params)),
|
|
884
851
|
/**
|
|
885
852
|
* No description
|
|
886
853
|
*
|
|
@@ -906,7 +873,7 @@ export class Api extends HttpClient {
|
|
|
906
873
|
* @response `404` `ProblemDetails` Not Found
|
|
907
874
|
* @response `409` `ProblemDetails` Conflict
|
|
908
875
|
*/
|
|
909
|
-
updateAiUrlSource: (id, data, params = {}) => this.request(Object.assign({ path: `/api/ai/url-sources/${id}`, method: "PUT", body: data, secure: true, type:
|
|
876
|
+
updateAiUrlSource: (id, data, params = {}) => this.request(Object.assign({ path: `/api/ai/url-sources/${id}`, method: "PUT", body: data, secure: true, type: "application/json", format: "json" }, params)),
|
|
910
877
|
/**
|
|
911
878
|
* No description
|
|
912
879
|
*
|
|
@@ -963,7 +930,7 @@ export class Api extends HttpClient {
|
|
|
963
930
|
* @secure
|
|
964
931
|
* @response `200` `AuditLogEntryPaginated` OK
|
|
965
932
|
*/
|
|
966
|
-
searchAuditLogs: (data, query, params = {}) => this.request(Object.assign({ path: `/api/audit-logs/search`, method: "POST", query: query, body: data, secure: true, type:
|
|
933
|
+
searchAuditLogs: (data, query, params = {}) => this.request(Object.assign({ path: `/api/audit-logs/search`, method: "POST", query: query, body: data, secure: true, type: "application/json", format: "json" }, params)),
|
|
967
934
|
/**
|
|
968
935
|
* No description
|
|
969
936
|
*
|
|
@@ -999,7 +966,7 @@ export class Api extends HttpClient {
|
|
|
999
966
|
* @response `401` `ProblemDetails` Unauthorized
|
|
1000
967
|
* @response `422` `UnprocessableEntity` Unprocessable Content
|
|
1001
968
|
*/
|
|
1002
|
-
getTokenFromRefreshToken: (data, params = {}) => this.request(Object.assign({ path: `/api/refresh-token`, method: "POST", body: data, secure: true, type:
|
|
969
|
+
getTokenFromRefreshToken: (data, params = {}) => this.request(Object.assign({ path: `/api/refresh-token`, method: "POST", body: data, secure: true, type: "application/json", format: "json" }, params)),
|
|
1003
970
|
/**
|
|
1004
971
|
* No description
|
|
1005
972
|
*
|
|
@@ -1011,7 +978,7 @@ export class Api extends HttpClient {
|
|
|
1011
978
|
* @response `200` `AccountDeactivated` OK
|
|
1012
979
|
* @response `422` `UnprocessableEntity` Unprocessable Content
|
|
1013
980
|
*/
|
|
1014
|
-
getToken: (data, params = {}) => this.request(Object.assign({ path: `/api/token`, method: "POST", body: data, secure: true, type:
|
|
981
|
+
getToken: (data, params = {}) => this.request(Object.assign({ path: `/api/token`, method: "POST", body: data, secure: true, type: "application/json", format: "json" }, params)),
|
|
1015
982
|
/**
|
|
1016
983
|
* No description
|
|
1017
984
|
*
|
|
@@ -1023,7 +990,7 @@ export class Api extends HttpClient {
|
|
|
1023
990
|
* @response `200` `AccountDeactivated` OK
|
|
1024
991
|
* @response `422` `UnprocessableEntity` Unprocessable Content
|
|
1025
992
|
*/
|
|
1026
|
-
getTokenFromChallengeCode: (data, params = {}) => this.request(Object.assign({ path: `/api/token/code`, method: "POST", body: data, secure: true, type:
|
|
993
|
+
getTokenFromChallengeCode: (data, params = {}) => this.request(Object.assign({ path: `/api/token/code`, method: "POST", body: data, secure: true, type: "application/json", format: "json" }, params)),
|
|
1027
994
|
/**
|
|
1028
995
|
* No description
|
|
1029
996
|
*
|
|
@@ -1035,7 +1002,7 @@ export class Api extends HttpClient {
|
|
|
1035
1002
|
* @response `200` `Token` OK
|
|
1036
1003
|
* @response `422` `UnprocessableEntity` Unprocessable Content
|
|
1037
1004
|
*/
|
|
1038
|
-
getSystemToken: (data, params = {}) => this.request(Object.assign({ path: `/api/oauth2/token`, method: "POST", body: data, secure: true, type:
|
|
1005
|
+
getSystemToken: (data, params = {}) => this.request(Object.assign({ path: `/api/oauth2/token`, method: "POST", body: data, secure: true, type: "application/json", format: "json" }, params)),
|
|
1039
1006
|
/**
|
|
1040
1007
|
* No description
|
|
1041
1008
|
*
|
|
@@ -1047,7 +1014,7 @@ export class Api extends HttpClient {
|
|
|
1047
1014
|
* @response `200` `SSOToken` OK
|
|
1048
1015
|
* @response `422` `UnprocessableEntity` Unprocessable Content
|
|
1049
1016
|
*/
|
|
1050
|
-
getSsoToken: (data, params = {}) => this.request(Object.assign({ path: `/api/token/sso`, method: "POST", body: data, secure: true, type:
|
|
1017
|
+
getSsoToken: (data, params = {}) => this.request(Object.assign({ path: `/api/token/sso`, method: "POST", body: data, secure: true, type: "application/json", format: "json" }, params)),
|
|
1051
1018
|
/**
|
|
1052
1019
|
* No description
|
|
1053
1020
|
*
|
|
@@ -1082,7 +1049,7 @@ export class Api extends HttpClient {
|
|
|
1082
1049
|
* @response `200` `GetBranch` OK
|
|
1083
1050
|
* @response `422` `UnprocessableEntity` Unprocessable Content
|
|
1084
1051
|
*/
|
|
1085
|
-
createBranch: (data, params = {}) => this.request(Object.assign({ path: `/api/branches`, method: "POST", body: data, secure: true, type:
|
|
1052
|
+
createBranch: (data, params = {}) => this.request(Object.assign({ path: `/api/branches`, method: "POST", body: data, secure: true, type: "application/json", format: "json" }, params)),
|
|
1086
1053
|
/**
|
|
1087
1054
|
* No description
|
|
1088
1055
|
*
|
|
@@ -1093,7 +1060,7 @@ export class Api extends HttpClient {
|
|
|
1093
1060
|
* @secure
|
|
1094
1061
|
* @response `200` `GetBranchPaginated` OK
|
|
1095
1062
|
*/
|
|
1096
|
-
searchBranches: (data, query, params = {}) => this.request(Object.assign({ path: `/api/branches/search`, method: "POST", query: query, body: data, secure: true, type:
|
|
1063
|
+
searchBranches: (data, query, params = {}) => this.request(Object.assign({ path: `/api/branches/search`, method: "POST", query: query, body: data, secure: true, type: "application/json", format: "json" }, params)),
|
|
1097
1064
|
/**
|
|
1098
1065
|
* No description
|
|
1099
1066
|
*
|
|
@@ -1116,7 +1083,7 @@ export class Api extends HttpClient {
|
|
|
1116
1083
|
* @response `200` `GetBranch` OK
|
|
1117
1084
|
* @response `422` `UnprocessableEntity` Unprocessable Content
|
|
1118
1085
|
*/
|
|
1119
|
-
replaceBranch: (branchId, data, params = {}) => this.request(Object.assign({ path: `/api/branches/${branchId}`, method: "PUT", body: data, secure: true, type:
|
|
1086
|
+
replaceBranch: (branchId, data, params = {}) => this.request(Object.assign({ path: `/api/branches/${branchId}`, method: "PUT", body: data, secure: true, type: "application/json", format: "json" }, params)),
|
|
1120
1087
|
/**
|
|
1121
1088
|
* No description
|
|
1122
1089
|
*
|
|
@@ -1151,7 +1118,7 @@ export class Api extends HttpClient {
|
|
|
1151
1118
|
* @response `200` `SiteConfiguration` OK
|
|
1152
1119
|
* @response `422` `UnprocessableEntity` Unprocessable Content
|
|
1153
1120
|
*/
|
|
1154
|
-
createBranchSiteConfiguration: (branchId, data, params = {}) => this.request(Object.assign({ path: `/api/branches/${branchId}/site-configurations`, method: "POST", body: data, secure: true, type:
|
|
1121
|
+
createBranchSiteConfiguration: (branchId, data, params = {}) => this.request(Object.assign({ path: `/api/branches/${branchId}/site-configurations`, method: "POST", body: data, secure: true, type: "application/json", format: "json" }, params)),
|
|
1155
1122
|
/**
|
|
1156
1123
|
* No description
|
|
1157
1124
|
*
|
|
@@ -1174,7 +1141,7 @@ export class Api extends HttpClient {
|
|
|
1174
1141
|
* @response `200` `SiteConfiguration` OK
|
|
1175
1142
|
* @response `422` `UnprocessableEntity` Unprocessable Content
|
|
1176
1143
|
*/
|
|
1177
|
-
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:
|
|
1144
|
+
replaceBranchSiteConfiguration: (branchId, siteConfigurationId, data, query, params = {}) => this.request(Object.assign({ path: `/api/branches/${branchId}/site-configurations/${siteConfigurationId}`, method: "PUT", query: query, body: data, secure: true, type: "application/json", format: "json" }, params)),
|
|
1178
1145
|
/**
|
|
1179
1146
|
* No description
|
|
1180
1147
|
*
|
|
@@ -1208,7 +1175,7 @@ export class Api extends HttpClient {
|
|
|
1208
1175
|
* @response `200` `BusinessRule` OK
|
|
1209
1176
|
* @response `422` `UnprocessableEntity` Unprocessable Content
|
|
1210
1177
|
*/
|
|
1211
|
-
createBusinessRule: (data, params = {}) => this.request(Object.assign({ path: `/api/business-rules`, method: "POST", body: data, secure: true, type:
|
|
1178
|
+
createBusinessRule: (data, params = {}) => this.request(Object.assign({ path: `/api/business-rules`, method: "POST", body: data, secure: true, type: "application/json", format: "json" }, params)),
|
|
1212
1179
|
/**
|
|
1213
1180
|
* No description
|
|
1214
1181
|
*
|
|
@@ -1231,7 +1198,7 @@ export class Api extends HttpClient {
|
|
|
1231
1198
|
* @response `200` `BusinessRule` OK
|
|
1232
1199
|
* @response `422` `UnprocessableEntity` Unprocessable Content
|
|
1233
1200
|
*/
|
|
1234
|
-
replaceBusinessRule: (id, data, params = {}) => this.request(Object.assign({ path: `/api/business-rules/${id}`, method: "PUT", body: data, secure: true, type:
|
|
1201
|
+
replaceBusinessRule: (id, data, params = {}) => this.request(Object.assign({ path: `/api/business-rules/${id}`, method: "PUT", body: data, secure: true, type: "application/json", format: "json" }, params)),
|
|
1235
1202
|
/**
|
|
1236
1203
|
* No description
|
|
1237
1204
|
*
|
|
@@ -1264,7 +1231,7 @@ export class Api extends HttpClient {
|
|
|
1264
1231
|
* @secure
|
|
1265
1232
|
* @response `200` `ClosedLoansReport` OK
|
|
1266
1233
|
*/
|
|
1267
|
-
getClosedLoansReport: (data, params = {}) => this.request(Object.assign({ path: `/api/loans/reports/closed-loans`, method: "POST", body: data, secure: true, type:
|
|
1234
|
+
getClosedLoansReport: (data, params = {}) => this.request(Object.assign({ path: `/api/loans/reports/closed-loans`, method: "POST", body: data, secure: true, type: "application/json", format: "json" }, params)),
|
|
1268
1235
|
/**
|
|
1269
1236
|
* No description
|
|
1270
1237
|
*
|
|
@@ -1309,7 +1276,7 @@ export class Api extends HttpClient {
|
|
|
1309
1276
|
* @response `200` `Corporate` OK
|
|
1310
1277
|
* @response `422` `UnprocessableEntity` Unprocessable Content
|
|
1311
1278
|
*/
|
|
1312
|
-
createCorporate: (data, params = {}) => this.request(Object.assign({ path: `/api/corporates`, method: "POST", body: data, secure: true, type:
|
|
1279
|
+
createCorporate: (data, params = {}) => this.request(Object.assign({ path: `/api/corporates`, method: "POST", body: data, secure: true, type: "application/json", format: "json" }, params)),
|
|
1313
1280
|
/**
|
|
1314
1281
|
* No description
|
|
1315
1282
|
*
|
|
@@ -1320,7 +1287,7 @@ export class Api extends HttpClient {
|
|
|
1320
1287
|
* @secure
|
|
1321
1288
|
* @response `200` `CorporatePaginated` OK
|
|
1322
1289
|
*/
|
|
1323
|
-
searchCorporate: (data, query, params = {}) => this.request(Object.assign({ path: `/api/corporates/search`, method: "POST", query: query, body: data, secure: true, type:
|
|
1290
|
+
searchCorporate: (data, query, params = {}) => this.request(Object.assign({ path: `/api/corporates/search`, method: "POST", query: query, body: data, secure: true, type: "application/json", format: "json" }, params)),
|
|
1324
1291
|
/**
|
|
1325
1292
|
* No description
|
|
1326
1293
|
*
|
|
@@ -1343,7 +1310,7 @@ export class Api extends HttpClient {
|
|
|
1343
1310
|
* @response `200` `Corporate` OK
|
|
1344
1311
|
* @response `422` `UnprocessableEntity` Unprocessable Content
|
|
1345
1312
|
*/
|
|
1346
|
-
replaceCorporate: (id, data, params = {}) => this.request(Object.assign({ path: `/api/corporates/${id}`, method: "PUT", body: data, secure: true, type:
|
|
1313
|
+
replaceCorporate: (id, data, params = {}) => this.request(Object.assign({ path: `/api/corporates/${id}`, method: "PUT", body: data, secure: true, type: "application/json", format: "json" }, params)),
|
|
1347
1314
|
/**
|
|
1348
1315
|
* No description
|
|
1349
1316
|
*
|
|
@@ -1377,7 +1344,7 @@ export class Api extends HttpClient {
|
|
|
1377
1344
|
* @response `200` `SiteConfiguration` OK
|
|
1378
1345
|
* @response `422` `UnprocessableEntity` Unprocessable Content
|
|
1379
1346
|
*/
|
|
1380
|
-
createCorporateSiteConfiguration: (corporateId, data, params = {}) => this.request(Object.assign({ path: `/api/corporates/${corporateId}/site-configurations`, method: "POST", body: data, secure: true, type:
|
|
1347
|
+
createCorporateSiteConfiguration: (corporateId, data, params = {}) => this.request(Object.assign({ path: `/api/corporates/${corporateId}/site-configurations`, method: "POST", body: data, secure: true, type: "application/json", format: "json" }, params)),
|
|
1381
1348
|
/**
|
|
1382
1349
|
* No description
|
|
1383
1350
|
*
|
|
@@ -1400,7 +1367,7 @@ export class Api extends HttpClient {
|
|
|
1400
1367
|
* @response `200` `SiteConfiguration` OK
|
|
1401
1368
|
* @response `422` `UnprocessableEntity` Unprocessable Content
|
|
1402
1369
|
*/
|
|
1403
|
-
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:
|
|
1370
|
+
replaceCorporateSiteConfiguration: (corporateId, siteConfigurationId, data, query, params = {}) => this.request(Object.assign({ path: `/api/corporates/${corporateId}/site-configurations/${siteConfigurationId}`, method: "PUT", query: query, body: data, secure: true, type: "application/json", format: "json" }, params)),
|
|
1404
1371
|
/**
|
|
1405
1372
|
* No description
|
|
1406
1373
|
*
|
|
@@ -1446,7 +1413,7 @@ export class Api extends HttpClient {
|
|
|
1446
1413
|
* @response `409` `ProblemDetails` Conflict
|
|
1447
1414
|
* @response `422` `ProblemDetails` Unprocessable Content
|
|
1448
1415
|
*/
|
|
1449
|
-
createCustomFieldDefinition: (data, params = {}) => this.request(Object.assign({ path: `/api/custom-field-definitions`, method: "POST", body: data, secure: true, type:
|
|
1416
|
+
createCustomFieldDefinition: (data, params = {}) => this.request(Object.assign({ path: `/api/custom-field-definitions`, method: "POST", body: data, secure: true, type: "application/json", format: "json" }, params)),
|
|
1450
1417
|
/**
|
|
1451
1418
|
* No description
|
|
1452
1419
|
*
|
|
@@ -1473,7 +1440,7 @@ export class Api extends HttpClient {
|
|
|
1473
1440
|
* @response `409` `ProblemDetails` Conflict
|
|
1474
1441
|
* @response `422` `ProblemDetails` Unprocessable Content
|
|
1475
1442
|
*/
|
|
1476
|
-
updateCustomFieldDefinition: (id, data, params = {}) => this.request(Object.assign({ path: `/api/custom-field-definitions/${id}`, method: "PUT", body: data, secure: true, type:
|
|
1443
|
+
updateCustomFieldDefinition: (id, data, params = {}) => this.request(Object.assign({ path: `/api/custom-field-definitions/${id}`, method: "PUT", body: data, secure: true, type: "application/json", format: "json" }, params)),
|
|
1477
1444
|
/**
|
|
1478
1445
|
* No description
|
|
1479
1446
|
*
|
|
@@ -1543,7 +1510,7 @@ export class Api extends HttpClient {
|
|
|
1543
1510
|
* @secure
|
|
1544
1511
|
* @response `200` `Device` OK
|
|
1545
1512
|
*/
|
|
1546
|
-
updateDevice: (id, data, params = {}) => this.request(Object.assign({ path: `/api/devices/${id}`, method: "PUT", body: data, secure: true, type:
|
|
1513
|
+
updateDevice: (id, data, params = {}) => this.request(Object.assign({ path: `/api/devices/${id}`, method: "PUT", body: data, secure: true, type: "application/json", format: "json" }, params)),
|
|
1547
1514
|
/**
|
|
1548
1515
|
* No description
|
|
1549
1516
|
*
|
|
@@ -1600,7 +1567,7 @@ export class Api extends HttpClient {
|
|
|
1600
1567
|
* @response `404` `ProblemDetails` Not Found
|
|
1601
1568
|
* @response `422` `UnprocessableEntity` Unprocessable Content
|
|
1602
1569
|
*/
|
|
1603
|
-
createDocumentTemplate: (data, params = {}) => this.request(Object.assign({ path: `/api/document-templates`, method: "POST", body: data, secure: true, type:
|
|
1570
|
+
createDocumentTemplate: (data, params = {}) => this.request(Object.assign({ path: `/api/document-templates`, method: "POST", body: data, secure: true, type: "application/json", format: "json" }, params)),
|
|
1604
1571
|
/**
|
|
1605
1572
|
* No description
|
|
1606
1573
|
*
|
|
@@ -1637,7 +1604,7 @@ export class Api extends HttpClient {
|
|
|
1637
1604
|
* @response `404` `ProblemDetails` Not Found
|
|
1638
1605
|
* @response `422` `UnprocessableEntity` Unprocessable Content
|
|
1639
1606
|
*/
|
|
1640
|
-
replaceDocumentTemplate: (id, data, params = {}) => this.request(Object.assign({ path: `/api/document-templates/${id}`, method: "PUT", body: data, secure: true, type:
|
|
1607
|
+
replaceDocumentTemplate: (id, data, params = {}) => this.request(Object.assign({ path: `/api/document-templates/${id}`, method: "PUT", body: data, secure: true, type: "application/json", format: "json" }, params)),
|
|
1641
1608
|
/**
|
|
1642
1609
|
* No description
|
|
1643
1610
|
*
|
|
@@ -1685,7 +1652,7 @@ export class Api extends HttpClient {
|
|
|
1685
1652
|
* @secure
|
|
1686
1653
|
* @response `200` `DocumentTemplateVersion` OK
|
|
1687
1654
|
*/
|
|
1688
|
-
createDocumentTemplateVersion: (documentId, data, params = {}) => this.request(Object.assign({ path: `/api/document-templates/${documentId}/versions`, method: "POST", body: data, secure: true, type:
|
|
1655
|
+
createDocumentTemplateVersion: (documentId, data, params = {}) => this.request(Object.assign({ path: `/api/document-templates/${documentId}/versions`, method: "POST", body: data, secure: true, type: "application/json", format: "json" }, params)),
|
|
1689
1656
|
/**
|
|
1690
1657
|
* No description
|
|
1691
1658
|
*
|
|
@@ -1707,7 +1674,7 @@ export class Api extends HttpClient {
|
|
|
1707
1674
|
* @secure
|
|
1708
1675
|
* @response `200` `DocumentTemplateVersion` OK
|
|
1709
1676
|
*/
|
|
1710
|
-
replaceDocumentTemplateVersion: (documentId, id, data, params = {}) => this.request(Object.assign({ path: `/api/document-templates/${documentId}/versions/${id}`, method: "PUT", body: data, secure: true, type:
|
|
1677
|
+
replaceDocumentTemplateVersion: (documentId, id, data, params = {}) => this.request(Object.assign({ path: `/api/document-templates/${documentId}/versions/${id}`, method: "PUT", body: data, secure: true, type: "application/json", format: "json" }, params)),
|
|
1711
1678
|
/**
|
|
1712
1679
|
* No description
|
|
1713
1680
|
*
|
|
@@ -1745,7 +1712,7 @@ export class Api extends HttpClient {
|
|
|
1745
1712
|
* @response `409` `void` Conflict
|
|
1746
1713
|
* @response `422` `ProblemDetails` Unprocessable Content
|
|
1747
1714
|
*/
|
|
1748
|
-
addEncompassCustomFieldMapping: (definitionId, data, params = {}) => this.request(Object.assign({ path: `/api/los/encompass/custom-field-mappings/${definitionId}`, method: "POST", body: data, secure: true, type:
|
|
1715
|
+
addEncompassCustomFieldMapping: (definitionId, data, params = {}) => this.request(Object.assign({ path: `/api/los/encompass/custom-field-mappings/${definitionId}`, method: "POST", body: data, secure: true, type: "application/json", format: "json" }, params)),
|
|
1749
1716
|
/**
|
|
1750
1717
|
* No description
|
|
1751
1718
|
*
|
|
@@ -1848,7 +1815,7 @@ export class Api extends HttpClient {
|
|
|
1848
1815
|
* @response `404` `EncompassError` Not Found
|
|
1849
1816
|
* @response `500` `EncompassError` Internal Server Error
|
|
1850
1817
|
*/
|
|
1851
|
-
createEncompassSession: (data, params = {}) => this.request(Object.assign({ path: `/api/los/encompass/eclose/sessions`, method: "POST", body: data, secure: true, type:
|
|
1818
|
+
createEncompassSession: (data, params = {}) => this.request(Object.assign({ path: `/api/los/encompass/eclose/sessions`, method: "POST", body: data, secure: true, type: "application/json", format: "json" }, params)),
|
|
1852
1819
|
/**
|
|
1853
1820
|
* No description
|
|
1854
1821
|
*
|
|
@@ -1871,7 +1838,7 @@ export class Api extends HttpClient {
|
|
|
1871
1838
|
* @response `201` `File` Created
|
|
1872
1839
|
* @response `422` `UnprocessableEntity` Unprocessable Content
|
|
1873
1840
|
*/
|
|
1874
|
-
uploadFile: (data, params = {}) => this.request(Object.assign({ path: `/api/files`, method: "POST", body: data, secure: true, type:
|
|
1841
|
+
uploadFile: (data, params = {}) => this.request(Object.assign({ path: `/api/files`, method: "POST", body: data, secure: true, type: "multipart/form-data", format: "json" }, params)),
|
|
1875
1842
|
/**
|
|
1876
1843
|
* No description
|
|
1877
1844
|
*
|
|
@@ -1894,7 +1861,7 @@ export class Api extends HttpClient {
|
|
|
1894
1861
|
* @response `200` `string` OK
|
|
1895
1862
|
* @response `422` `UnprocessableEntity` Unprocessable Content
|
|
1896
1863
|
*/
|
|
1897
|
-
replaceFile: (id, data, params = {}) => this.request(Object.assign({ path: `/api/files/${id}`, method: "PUT", body: data, secure: true, type:
|
|
1864
|
+
replaceFile: (id, data, params = {}) => this.request(Object.assign({ path: `/api/files/${id}`, method: "PUT", body: data, secure: true, type: "application/json", format: "json" }, params)),
|
|
1898
1865
|
/**
|
|
1899
1866
|
* No description
|
|
1900
1867
|
*
|
|
@@ -1916,7 +1883,7 @@ export class Api extends HttpClient {
|
|
|
1916
1883
|
* @secure
|
|
1917
1884
|
* @response `200` `FilePaginated` OK
|
|
1918
1885
|
*/
|
|
1919
|
-
searchFiles: (data, query, params = {}) => this.request(Object.assign({ path: `/api/files/search`, method: "POST", query: query, body: data, secure: true, type:
|
|
1886
|
+
searchFiles: (data, query, params = {}) => this.request(Object.assign({ path: `/api/files/search`, method: "POST", query: query, body: data, secure: true, type: "application/json", format: "json" }, params)),
|
|
1920
1887
|
/**
|
|
1921
1888
|
* No description
|
|
1922
1889
|
*
|
|
@@ -1939,7 +1906,7 @@ export class Api extends HttpClient {
|
|
|
1939
1906
|
* @response `201` `Form` Created
|
|
1940
1907
|
* @response `422` `UnprocessableEntity` Unprocessable Content
|
|
1941
1908
|
*/
|
|
1942
|
-
createForm: (data, params = {}) => this.request(Object.assign({ path: `/api/forms`, method: "POST", body: data, secure: true, type:
|
|
1909
|
+
createForm: (data, params = {}) => this.request(Object.assign({ path: `/api/forms`, method: "POST", body: data, secure: true, type: "application/json", format: "json" }, params)),
|
|
1943
1910
|
/**
|
|
1944
1911
|
* No description
|
|
1945
1912
|
*
|
|
@@ -1962,7 +1929,7 @@ export class Api extends HttpClient {
|
|
|
1962
1929
|
* @response `200` `Form` OK
|
|
1963
1930
|
* @response `422` `UnprocessableEntity` Unprocessable Content
|
|
1964
1931
|
*/
|
|
1965
|
-
replaceForm: (id, data, params = {}) => this.request(Object.assign({ path: `/api/forms/${id}`, method: "PUT", body: data, secure: true, type:
|
|
1932
|
+
replaceForm: (id, data, params = {}) => this.request(Object.assign({ path: `/api/forms/${id}`, method: "PUT", body: data, secure: true, type: "application/json", format: "json" }, params)),
|
|
1966
1933
|
/**
|
|
1967
1934
|
* No description
|
|
1968
1935
|
*
|
|
@@ -1995,7 +1962,7 @@ export class Api extends HttpClient {
|
|
|
1995
1962
|
* @secure
|
|
1996
1963
|
* @response `200` `FormSubmissionFile` OK
|
|
1997
1964
|
*/
|
|
1998
|
-
addFormSubmissionFile: (formSubmissionId, data, params = {}) => this.request(Object.assign({ path: `/api/form-submissions/${formSubmissionId}/files`, method: "POST", body: data, secure: true, type:
|
|
1965
|
+
addFormSubmissionFile: (formSubmissionId, data, params = {}) => this.request(Object.assign({ path: `/api/form-submissions/${formSubmissionId}/files`, method: "POST", body: data, secure: true, type: "multipart/form-data", format: "json" }, params)),
|
|
1999
1966
|
/**
|
|
2000
1967
|
* No description
|
|
2001
1968
|
*
|
|
@@ -2039,7 +2006,7 @@ export class Api extends HttpClient {
|
|
|
2039
2006
|
* @secure
|
|
2040
2007
|
* @response `201` `FormSubmission` Created
|
|
2041
2008
|
*/
|
|
2042
|
-
createFormSubmission: (data, query, params = {}) => this.request(Object.assign({ path: `/api/form-submissions`, method: "POST", query: query, body: data, secure: true, type:
|
|
2009
|
+
createFormSubmission: (data, query, params = {}) => this.request(Object.assign({ path: `/api/form-submissions`, method: "POST", query: query, body: data, secure: true, type: "application/json", format: "json" }, params)),
|
|
2043
2010
|
/**
|
|
2044
2011
|
* No description
|
|
2045
2012
|
*
|
|
@@ -2061,7 +2028,7 @@ export class Api extends HttpClient {
|
|
|
2061
2028
|
* @secure
|
|
2062
2029
|
* @response `200` `FormSubmission` OK
|
|
2063
2030
|
*/
|
|
2064
|
-
replaceFormSubmission: (id, data, params = {}) => this.request(Object.assign({ path: `/api/form-submissions/${id}`, method: "PUT", body: data, secure: true, type:
|
|
2031
|
+
replaceFormSubmission: (id, data, params = {}) => this.request(Object.assign({ path: `/api/form-submissions/${id}`, method: "PUT", body: data, secure: true, type: "application/json", format: "json" }, params)),
|
|
2065
2032
|
/**
|
|
2066
2033
|
* No description
|
|
2067
2034
|
*
|
|
@@ -2083,7 +2050,7 @@ export class Api extends HttpClient {
|
|
|
2083
2050
|
* @secure
|
|
2084
2051
|
* @response `200` `FormSubmissionPaginated` OK
|
|
2085
2052
|
*/
|
|
2086
|
-
searchFormSubmissions: (data, query, params = {}) => this.request(Object.assign({ path: `/api/form-submissions/search`, method: "POST", query: query, body: data, secure: true, type:
|
|
2053
|
+
searchFormSubmissions: (data, query, params = {}) => this.request(Object.assign({ path: `/api/form-submissions/search`, method: "POST", query: query, body: data, secure: true, type: "application/json", format: "json" }, params)),
|
|
2087
2054
|
/**
|
|
2088
2055
|
* No description
|
|
2089
2056
|
*
|
|
@@ -2105,7 +2072,7 @@ export class Api extends HttpClient {
|
|
|
2105
2072
|
* @secure
|
|
2106
2073
|
* @response `200` `FormVersion` OK
|
|
2107
2074
|
*/
|
|
2108
|
-
createFormVersion: (formId, data, params = {}) => this.request(Object.assign({ path: `/api/forms/${formId}/versions`, method: "POST", body: data, secure: true, type:
|
|
2075
|
+
createFormVersion: (formId, data, params = {}) => this.request(Object.assign({ path: `/api/forms/${formId}/versions`, method: "POST", body: data, secure: true, type: "application/json", format: "json" }, params)),
|
|
2109
2076
|
/**
|
|
2110
2077
|
* No description
|
|
2111
2078
|
*
|
|
@@ -2127,7 +2094,7 @@ export class Api extends HttpClient {
|
|
|
2127
2094
|
* @secure
|
|
2128
2095
|
* @response `200` `FormVersion` OK
|
|
2129
2096
|
*/
|
|
2130
|
-
replaceFormVersion: (formId, id, data, params = {}) => this.request(Object.assign({ path: `/api/forms/${formId}/versions/${id}`, method: "PUT", body: data, secure: true, type:
|
|
2097
|
+
replaceFormVersion: (formId, id, data, params = {}) => this.request(Object.assign({ path: `/api/forms/${formId}/versions/${id}`, method: "PUT", body: data, secure: true, type: "application/json", format: "json" }, params)),
|
|
2131
2098
|
/**
|
|
2132
2099
|
* No description
|
|
2133
2100
|
*
|
|
@@ -2173,7 +2140,7 @@ export class Api extends HttpClient {
|
|
|
2173
2140
|
* @response `200` `string` OK
|
|
2174
2141
|
* @response `422` `UnprocessableEntity` Unprocessable Content
|
|
2175
2142
|
*/
|
|
2176
|
-
updateLoanConsentAndCustomFieldsObsolete: (loanId, data, params = {}) => this.request(Object.assign({ path: `/api/los/loan/application/${loanId}`, method: "PATCH", body: data, secure: true, type:
|
|
2143
|
+
updateLoanConsentAndCustomFieldsObsolete: (loanId, data, params = {}) => this.request(Object.assign({ path: `/api/los/loan/application/${loanId}`, method: "PATCH", body: data, secure: true, type: "application/json", format: "json" }, params)),
|
|
2177
2144
|
/**
|
|
2178
2145
|
* No description
|
|
2179
2146
|
*
|
|
@@ -2184,7 +2151,7 @@ export class Api extends HttpClient {
|
|
|
2184
2151
|
* @secure
|
|
2185
2152
|
* @response `200` `GetReport` OK
|
|
2186
2153
|
*/
|
|
2187
|
-
getLoansReport: (data, params = {}) => this.request(Object.assign({ path: `/api/los/loan/reports`, method: "POST", body: data, secure: true, type:
|
|
2154
|
+
getLoansReport: (data, params = {}) => this.request(Object.assign({ path: `/api/los/loan/reports`, method: "POST", body: data, secure: true, type: "application/json", format: "json" }, params)),
|
|
2188
2155
|
/**
|
|
2189
2156
|
* No description
|
|
2190
2157
|
*
|
|
@@ -2198,7 +2165,7 @@ export class Api extends HttpClient {
|
|
|
2198
2165
|
* @response `422` `UnprocessableEntity` Unprocessable Content
|
|
2199
2166
|
* @response `423` `UnprocessableEntity` Locked
|
|
2200
2167
|
*/
|
|
2201
|
-
createLoan: (data, query, params = {}) => this.request(Object.assign({ path: `/api/los/loan/application`, method: "POST", query: query, body: data, secure: true, type:
|
|
2168
|
+
createLoan: (data, query, params = {}) => this.request(Object.assign({ path: `/api/los/loan/application`, method: "POST", query: query, body: data, secure: true, type: "application/json", format: "json" }, params)),
|
|
2202
2169
|
/**
|
|
2203
2170
|
* No description
|
|
2204
2171
|
*
|
|
@@ -2211,7 +2178,7 @@ export class Api extends HttpClient {
|
|
|
2211
2178
|
* @response `422` `UnprocessableEntity` Unprocessable Content
|
|
2212
2179
|
* @response `423` `UnprocessableEntity` Locked
|
|
2213
2180
|
*/
|
|
2214
|
-
createLoanInternal: (data, query, params = {}) => this.request(Object.assign({ path: `/api/los/loan/application/internal`, method: "POST", query: query, body: data, secure: true, type:
|
|
2181
|
+
createLoanInternal: (data, query, params = {}) => this.request(Object.assign({ path: `/api/los/loan/application/internal`, method: "POST", query: query, body: data, secure: true, type: "application/json", format: "json" }, params)),
|
|
2215
2182
|
/**
|
|
2216
2183
|
* No description
|
|
2217
2184
|
*
|
|
@@ -2223,7 +2190,7 @@ export class Api extends HttpClient {
|
|
|
2223
2190
|
* @response `200` `string` OK
|
|
2224
2191
|
* @response `422` `UnprocessableEntity` Unprocessable Content
|
|
2225
2192
|
*/
|
|
2226
|
-
updateLoanCustomFields: (loanId, data, params = {}) => this.request(Object.assign({ path: `/api/los/loan/application/${loanId}/custom-fields`, method: "PATCH", body: data, secure: true, type:
|
|
2193
|
+
updateLoanCustomFields: (loanId, data, params = {}) => this.request(Object.assign({ path: `/api/los/loan/application/${loanId}/custom-fields`, method: "PATCH", body: data, secure: true, type: "application/json", format: "json" }, params)),
|
|
2227
2194
|
/**
|
|
2228
2195
|
* No description
|
|
2229
2196
|
*
|
|
@@ -2236,7 +2203,7 @@ export class Api extends HttpClient {
|
|
|
2236
2203
|
* @response `202` `string` Accepted
|
|
2237
2204
|
* @response `422` `UnprocessableEntity` Unprocessable Content
|
|
2238
2205
|
*/
|
|
2239
|
-
updateLoanConsent: (loanId, data, params = {}) => this.request(Object.assign({ path: `/api/los/loan/application/${loanId}/consent`, method: "PATCH", body: data, secure: true, type:
|
|
2206
|
+
updateLoanConsent: (loanId, data, params = {}) => this.request(Object.assign({ path: `/api/los/loan/application/${loanId}/consent`, method: "PATCH", body: data, secure: true, type: "application/json", format: "json" }, params)),
|
|
2240
2207
|
/**
|
|
2241
2208
|
* No description
|
|
2242
2209
|
*
|
|
@@ -2316,7 +2283,7 @@ export class Api extends HttpClient {
|
|
|
2316
2283
|
* @secure
|
|
2317
2284
|
* @response `200` `ListingFile` OK
|
|
2318
2285
|
*/
|
|
2319
|
-
addListingFile: (listingId, data, params = {}) => this.request(Object.assign({ path: `/api/listings/${listingId}/files`, method: "POST", body: data, secure: true, type:
|
|
2286
|
+
addListingFile: (listingId, data, params = {}) => this.request(Object.assign({ path: `/api/listings/${listingId}/files`, method: "POST", body: data, secure: true, type: "multipart/form-data", format: "json" }, params)),
|
|
2320
2287
|
/**
|
|
2321
2288
|
* No description
|
|
2322
2289
|
*
|
|
@@ -2327,7 +2294,7 @@ export class Api extends HttpClient {
|
|
|
2327
2294
|
* @secure
|
|
2328
2295
|
* @response `200` `ListingFile` OK
|
|
2329
2296
|
*/
|
|
2330
|
-
updateListingFiles: (listingId, data, params = {}) => this.request(Object.assign({ path: `/api/listings/${listingId}/files`, method: "PATCH", body: data, secure: true, type:
|
|
2297
|
+
updateListingFiles: (listingId, data, params = {}) => this.request(Object.assign({ path: `/api/listings/${listingId}/files`, method: "PATCH", body: data, secure: true, type: "application/json", format: "json" }, params)),
|
|
2331
2298
|
/**
|
|
2332
2299
|
* No description
|
|
2333
2300
|
*
|
|
@@ -2349,7 +2316,7 @@ export class Api extends HttpClient {
|
|
|
2349
2316
|
* @secure
|
|
2350
2317
|
* @response `200` `ListingPhoto` OK
|
|
2351
2318
|
*/
|
|
2352
|
-
addListingPhoto: (listingId, data, params = {}) => this.request(Object.assign({ path: `/api/listings/${listingId}/photos`, method: "POST", body: data, secure: true, type:
|
|
2319
|
+
addListingPhoto: (listingId, data, params = {}) => this.request(Object.assign({ path: `/api/listings/${listingId}/photos`, method: "POST", body: data, secure: true, type: "multipart/form-data", format: "json" }, params)),
|
|
2353
2320
|
/**
|
|
2354
2321
|
* No description
|
|
2355
2322
|
*
|
|
@@ -2360,7 +2327,7 @@ export class Api extends HttpClient {
|
|
|
2360
2327
|
* @secure
|
|
2361
2328
|
* @response `200` `(ListingPhoto)[]` OK
|
|
2362
2329
|
*/
|
|
2363
|
-
updateListingPhotos: (listingId, data, params = {}) => this.request(Object.assign({ path: `/api/listings/${listingId}/photos`, method: "PATCH", body: data, secure: true, type:
|
|
2330
|
+
updateListingPhotos: (listingId, data, params = {}) => this.request(Object.assign({ path: `/api/listings/${listingId}/photos`, method: "PATCH", body: data, secure: true, type: "application/json", format: "json" }, params)),
|
|
2364
2331
|
/**
|
|
2365
2332
|
* No description
|
|
2366
2333
|
*
|
|
@@ -2393,7 +2360,7 @@ export class Api extends HttpClient {
|
|
|
2393
2360
|
* @secure
|
|
2394
2361
|
* @response `201` `Listing` Created
|
|
2395
2362
|
*/
|
|
2396
|
-
createListing: (data, params = {}) => this.request(Object.assign({ path: `/api/listings`, method: "POST", body: data, secure: true, type:
|
|
2363
|
+
createListing: (data, params = {}) => this.request(Object.assign({ path: `/api/listings`, method: "POST", body: data, secure: true, type: "application/json", format: "json" }, params)),
|
|
2397
2364
|
/**
|
|
2398
2365
|
* No description
|
|
2399
2366
|
*
|
|
@@ -2426,7 +2393,7 @@ export class Api extends HttpClient {
|
|
|
2426
2393
|
* @secure
|
|
2427
2394
|
* @response `200` `Listing` OK
|
|
2428
2395
|
*/
|
|
2429
|
-
replaceListing: (id, data, params = {}) => this.request(Object.assign({ path: `/api/listings/${id}`, method: "PUT", body: data, secure: true, type:
|
|
2396
|
+
replaceListing: (id, data, params = {}) => this.request(Object.assign({ path: `/api/listings/${id}`, method: "PUT", body: data, secure: true, type: "application/json", format: "json" }, params)),
|
|
2430
2397
|
/**
|
|
2431
2398
|
* No description
|
|
2432
2399
|
*
|
|
@@ -2448,7 +2415,7 @@ export class Api extends HttpClient {
|
|
|
2448
2415
|
* @secure
|
|
2449
2416
|
* @response `200` `ListingPaginated` OK
|
|
2450
2417
|
*/
|
|
2451
|
-
searchListings: (data, query, params = {}) => this.request(Object.assign({ path: `/api/listings/search`, method: "POST", query: query, body: data, secure: true, type:
|
|
2418
|
+
searchListings: (data, query, params = {}) => this.request(Object.assign({ path: `/api/listings/search`, method: "POST", query: query, body: data, secure: true, type: "application/json", format: "json" }, params)),
|
|
2452
2419
|
/**
|
|
2453
2420
|
* No description
|
|
2454
2421
|
*
|
|
@@ -2459,7 +2426,7 @@ export class Api extends HttpClient {
|
|
|
2459
2426
|
* @secure
|
|
2460
2427
|
* @response `200` `File` OK
|
|
2461
2428
|
*/
|
|
2462
|
-
updateListingBackgroundImage: (id, data, params = {}) => this.request(Object.assign({ path: `/api/listings/${id}/background-image`, method: "PUT", body: data, secure: true, type:
|
|
2429
|
+
updateListingBackgroundImage: (id, data, params = {}) => this.request(Object.assign({ path: `/api/listings/${id}/background-image`, method: "PUT", body: data, secure: true, type: "multipart/form-data", format: "json" }, params)),
|
|
2463
2430
|
/**
|
|
2464
2431
|
* No description
|
|
2465
2432
|
*
|
|
@@ -2505,7 +2472,7 @@ export class Api extends HttpClient {
|
|
|
2505
2472
|
* @response `422` `UnprocessableEntity` Unprocessable Content
|
|
2506
2473
|
* @response `423` `UnprocessableEntity` Locked
|
|
2507
2474
|
*/
|
|
2508
|
-
runLoanCalculator: (loanId, data, params = {}) => this.request(Object.assign({ path: `/api/loans/${loanId}/calculators/loan-calculator`, method: "POST", body: data, secure: true, type:
|
|
2475
|
+
runLoanCalculator: (loanId, data, params = {}) => this.request(Object.assign({ path: `/api/loans/${loanId}/calculators/loan-calculator`, method: "POST", body: data, secure: true, type: "application/json", format: "json" }, params)),
|
|
2509
2476
|
/**
|
|
2510
2477
|
* No description
|
|
2511
2478
|
*
|
|
@@ -2529,7 +2496,7 @@ export class Api extends HttpClient {
|
|
|
2529
2496
|
* @response `422` `UnprocessableEntity` Unprocessable Content
|
|
2530
2497
|
* @response `423` `UnprocessableEntity` Locked
|
|
2531
2498
|
*/
|
|
2532
|
-
createLoanComparison: (loanId, index, data, params = {}) => this.request(Object.assign({ path: `/api/loans/${loanId}/loan-comparison/${index}`, method: "POST", body: data, secure: true, type:
|
|
2499
|
+
createLoanComparison: (loanId, index, data, params = {}) => this.request(Object.assign({ path: `/api/loans/${loanId}/loan-comparison/${index}`, method: "POST", body: data, secure: true, type: "application/json", format: "json" }, params)),
|
|
2533
2500
|
/**
|
|
2534
2501
|
* No description
|
|
2535
2502
|
*
|
|
@@ -2552,7 +2519,7 @@ export class Api extends HttpClient {
|
|
|
2552
2519
|
* @response `204` `void` No Content
|
|
2553
2520
|
* @response `422` `UnprocessableEntity` Unprocessable Content
|
|
2554
2521
|
*/
|
|
2555
|
-
createLoanComparisonPdf: (loanId, data, params = {}) => this.request(Object.assign({ path: `/api/loans/${loanId}/loan-comparison/pdf`, method: "POST", body: data, secure: true, type:
|
|
2522
|
+
createLoanComparisonPdf: (loanId, data, params = {}) => this.request(Object.assign({ path: `/api/loans/${loanId}/loan-comparison/pdf`, method: "POST", body: data, secure: true, type: "application/json" }, params)),
|
|
2556
2523
|
/**
|
|
2557
2524
|
* No description
|
|
2558
2525
|
*
|
|
@@ -2589,7 +2556,7 @@ export class Api extends HttpClient {
|
|
|
2589
2556
|
* @response `400` `ProblemDetails` Bad Request
|
|
2590
2557
|
* @response `422` `ProblemDetails` Unprocessable Content
|
|
2591
2558
|
*/
|
|
2592
|
-
bulkSetLoanCustomFieldValues: (loanId, data, params = {}) => this.request(Object.assign({ path: `/api/loans/${loanId}/custom-fields`, method: "PUT", body: data, secure: true, type:
|
|
2559
|
+
bulkSetLoanCustomFieldValues: (loanId, data, params = {}) => this.request(Object.assign({ path: `/api/loans/${loanId}/custom-fields`, method: "PUT", body: data, secure: true, type: "application/json" }, params)),
|
|
2593
2560
|
/**
|
|
2594
2561
|
* No description
|
|
2595
2562
|
*
|
|
@@ -2603,7 +2570,7 @@ export class Api extends HttpClient {
|
|
|
2603
2570
|
* @response `404` `ProblemDetails` Not Found
|
|
2604
2571
|
* @response `422` `ProblemDetails` Unprocessable Content
|
|
2605
2572
|
*/
|
|
2606
|
-
setLoanCustomFieldValue: (loanId, definitionId, data, params = {}) => this.request(Object.assign({ path: `/api/loans/${loanId}/custom-fields/${definitionId}`, method: "PUT", body: data, secure: true, type:
|
|
2573
|
+
setLoanCustomFieldValue: (loanId, definitionId, data, params = {}) => this.request(Object.assign({ path: `/api/loans/${loanId}/custom-fields/${definitionId}`, method: "PUT", body: data, secure: true, type: "application/json" }, params)),
|
|
2607
2574
|
/**
|
|
2608
2575
|
* No description
|
|
2609
2576
|
*
|
|
@@ -2637,7 +2604,7 @@ export class Api extends HttpClient {
|
|
|
2637
2604
|
* @secure
|
|
2638
2605
|
* @response `201` `(string)[]` Created
|
|
2639
2606
|
*/
|
|
2640
|
-
createLoanDocumentBuckets: (loanId, data, params = {}) => this.request(Object.assign({ path: `/api/loans/${loanId}/documents/buckets`, method: "POST", body: data, secure: true, type:
|
|
2607
|
+
createLoanDocumentBuckets: (loanId, data, params = {}) => this.request(Object.assign({ path: `/api/loans/${loanId}/documents/buckets`, method: "POST", body: data, secure: true, type: "application/json", format: "json" }, params)),
|
|
2641
2608
|
/**
|
|
2642
2609
|
* No description
|
|
2643
2610
|
*
|
|
@@ -2661,7 +2628,7 @@ export class Api extends HttpClient {
|
|
|
2661
2628
|
* @response `409` `ProblemDetails` Conflict
|
|
2662
2629
|
* @response `422` `ProblemDetails` Unprocessable Content
|
|
2663
2630
|
*/
|
|
2664
|
-
createLoanDocumentFolder: (data, params = {}) => this.request(Object.assign({ path: `/api/loan-document-folders`, method: "POST", body: data, secure: true, type:
|
|
2631
|
+
createLoanDocumentFolder: (data, params = {}) => this.request(Object.assign({ path: `/api/loan-document-folders`, method: "POST", body: data, secure: true, type: "application/json", format: "json" }, params)),
|
|
2665
2632
|
/**
|
|
2666
2633
|
* No description
|
|
2667
2634
|
*
|
|
@@ -2688,7 +2655,7 @@ export class Api extends HttpClient {
|
|
|
2688
2655
|
* @response `409` `ProblemDetails` Conflict
|
|
2689
2656
|
* @response `422` `ProblemDetails` Unprocessable Content
|
|
2690
2657
|
*/
|
|
2691
|
-
updateLoanDocumentFolder: (id, data, params = {}) => this.request(Object.assign({ path: `/api/loan-document-folders/${id}`, method: "PUT", body: data, secure: true, type:
|
|
2658
|
+
updateLoanDocumentFolder: (id, data, params = {}) => this.request(Object.assign({ path: `/api/loan-document-folders/${id}`, method: "PUT", body: data, secure: true, type: "application/json", format: "json" }, params)),
|
|
2692
2659
|
/**
|
|
2693
2660
|
* No description
|
|
2694
2661
|
*
|
|
@@ -2763,7 +2730,7 @@ export class Api extends HttpClient {
|
|
|
2763
2730
|
* @response `200` `Record<string,string>` OK
|
|
2764
2731
|
* @response `400` `ProblemDetails` Bad Request
|
|
2765
2732
|
*/
|
|
2766
|
-
getLoanDocumentPreviews: (loanId, data, params = {}) => this.request(Object.assign({ path: `/api/loans/${loanId}/documents/previews`, method: "POST", body: data, secure: true, type:
|
|
2733
|
+
getLoanDocumentPreviews: (loanId, data, params = {}) => this.request(Object.assign({ path: `/api/loans/${loanId}/documents/previews`, method: "POST", body: data, secure: true, type: "application/json", format: "json" }, params)),
|
|
2767
2734
|
/**
|
|
2768
2735
|
* No description
|
|
2769
2736
|
*
|
|
@@ -2774,7 +2741,7 @@ export class Api extends HttpClient {
|
|
|
2774
2741
|
* @secure
|
|
2775
2742
|
* @response `200` `LoanDocumentSearchPaginated` OK
|
|
2776
2743
|
*/
|
|
2777
|
-
searchLoanDocuments: (loanId, data, query, params = {}) => this.request(Object.assign({ path: `/api/loans/${loanId}/documents/search`, method: "POST", query: query, body: data, secure: true, type:
|
|
2744
|
+
searchLoanDocuments: (loanId, data, query, params = {}) => this.request(Object.assign({ path: `/api/loans/${loanId}/documents/search`, method: "POST", query: query, body: data, secure: true, type: "application/json", format: "json" }, params)),
|
|
2778
2745
|
/**
|
|
2779
2746
|
* @description Returns all documents grouped by folder for sidebar display. Use folderNamesOnly=true to get simplified response with folder names and counts for mobile (Files array will be empty).
|
|
2780
2747
|
*
|
|
@@ -2785,7 +2752,7 @@ export class Api extends HttpClient {
|
|
|
2785
2752
|
* @secure
|
|
2786
2753
|
* @response `200` `(DocumentFolder)[]` OK
|
|
2787
2754
|
*/
|
|
2788
|
-
getLoanDocumentFolders: (loanId, data, query, params = {}) => this.request(Object.assign({ path: `/api/loans/${loanId}/documents/folders`, method: "POST", query: query, body: data, secure: true, type:
|
|
2755
|
+
getLoanDocumentFolders: (loanId, data, query, params = {}) => this.request(Object.assign({ path: `/api/loans/${loanId}/documents/folders`, method: "POST", query: query, body: data, secure: true, type: "application/json", format: "json" }, params)),
|
|
2789
2756
|
/**
|
|
2790
2757
|
* No description
|
|
2791
2758
|
*
|
|
@@ -2794,7 +2761,7 @@ export class Api extends HttpClient {
|
|
|
2794
2761
|
* @summary Download By ID
|
|
2795
2762
|
* @request GET:/api/loans/{loanId}/documents/{documentId}/download
|
|
2796
2763
|
* @secure
|
|
2797
|
-
* @response `200` `
|
|
2764
|
+
* @response `200` `Blob` OK
|
|
2798
2765
|
* @response `404` `ProblemDetails` Not Found
|
|
2799
2766
|
*/
|
|
2800
2767
|
downloadLoanDocument: (loanId, documentId, params = {}) => this.request(Object.assign({ path: `/api/loans/${loanId}/documents/${documentId}/download`, method: "GET", secure: true, format: "json" }, params)),
|
|
@@ -2810,7 +2777,7 @@ export class Api extends HttpClient {
|
|
|
2810
2777
|
* @response `404` `ProblemDetails` Not Found
|
|
2811
2778
|
* @response `422` `UnprocessableEntity` Unprocessable Content
|
|
2812
2779
|
*/
|
|
2813
|
-
createLoanDocument: (loanId, data, params = {}) => this.request(Object.assign({ path: `/api/loans/${loanId}/documents`, method: "POST", body: data, secure: true, type:
|
|
2780
|
+
createLoanDocument: (loanId, data, params = {}) => this.request(Object.assign({ path: `/api/loans/${loanId}/documents`, method: "POST", body: data, secure: true, type: "multipart/form-data", format: "json" }, params)),
|
|
2814
2781
|
/**
|
|
2815
2782
|
* No description
|
|
2816
2783
|
*
|
|
@@ -2834,7 +2801,7 @@ export class Api extends HttpClient {
|
|
|
2834
2801
|
* @secure
|
|
2835
2802
|
* @response `200` `DocumentDataRequest` OK
|
|
2836
2803
|
*/
|
|
2837
|
-
generateLoanDocument: (loanId, data, params = {}) => this.request(Object.assign({ path: `/api/loans/${loanId}/documents/generate`, method: "POST", body: data, secure: true, type:
|
|
2804
|
+
generateLoanDocument: (loanId, data, params = {}) => this.request(Object.assign({ path: `/api/loans/${loanId}/documents/generate`, method: "POST", body: data, secure: true, type: "application/json", format: "json" }, params)),
|
|
2838
2805
|
/**
|
|
2839
2806
|
* No description
|
|
2840
2807
|
*
|
|
@@ -2847,7 +2814,7 @@ export class Api extends HttpClient {
|
|
|
2847
2814
|
* @response `400` `ProblemDetails` Bad Request
|
|
2848
2815
|
* @response `404` `ProblemDetails` Not Found
|
|
2849
2816
|
*/
|
|
2850
|
-
sendLoanDocuments: (loanId, data, params = {}) => this.request(Object.assign({ path: `/api/loans/${loanId}/documents/distribute`, method: "POST", body: data, secure: true, type:
|
|
2817
|
+
sendLoanDocuments: (loanId, data, params = {}) => this.request(Object.assign({ path: `/api/loans/${loanId}/documents/distribute`, method: "POST", body: data, secure: true, type: "application/json" }, params)),
|
|
2851
2818
|
/**
|
|
2852
2819
|
* @description Fetches all documents from Encompass that don't exist locally and stores them in S3
|
|
2853
2820
|
*
|
|
@@ -2872,7 +2839,7 @@ export class Api extends HttpClient {
|
|
|
2872
2839
|
* @response `404` `ProblemDetails` Not Found
|
|
2873
2840
|
* @response `422` `UnprocessableEntity` Unprocessable Content
|
|
2874
2841
|
*/
|
|
2875
|
-
classifyLoanDocumentManually: (loanId, documentId, data, params = {}) => this.request(Object.assign({ path: `/api/loans/${loanId}/documents/${documentId}/classify-manual`, method: "POST", body: data, secure: true, type:
|
|
2842
|
+
classifyLoanDocumentManually: (loanId, documentId, data, params = {}) => this.request(Object.assign({ path: `/api/loans/${loanId}/documents/${documentId}/classify-manual`, method: "POST", body: data, secure: true, type: "application/json", format: "json" }, params)),
|
|
2876
2843
|
/**
|
|
2877
2844
|
* @description Re-attempts to push a failed document to LOS
|
|
2878
2845
|
*
|
|
@@ -2896,7 +2863,7 @@ export class Api extends HttpClient {
|
|
|
2896
2863
|
* @secure
|
|
2897
2864
|
* @response `201` `Draft` Created
|
|
2898
2865
|
*/
|
|
2899
|
-
createLoanDraft: (data, params = {}) => this.request(Object.assign({ path: `/api/loans/drafts`, method: "POST", body: data, secure: true, type:
|
|
2866
|
+
createLoanDraft: (data, params = {}) => this.request(Object.assign({ path: `/api/loans/drafts`, method: "POST", body: data, secure: true, type: "application/json", format: "json" }, params)),
|
|
2900
2867
|
/**
|
|
2901
2868
|
* No description
|
|
2902
2869
|
*
|
|
@@ -2929,7 +2896,7 @@ export class Api extends HttpClient {
|
|
|
2929
2896
|
* @secure
|
|
2930
2897
|
* @response `200` `Draft` OK
|
|
2931
2898
|
*/
|
|
2932
|
-
replaceLoanDraft: (draftId, data, params = {}) => this.request(Object.assign({ path: `/api/loans/drafts/${draftId}`, method: "PUT", body: data, secure: true, type:
|
|
2899
|
+
replaceLoanDraft: (draftId, data, params = {}) => this.request(Object.assign({ path: `/api/loans/drafts/${draftId}`, method: "PUT", body: data, secure: true, type: "application/json", format: "json" }, params)),
|
|
2933
2900
|
/**
|
|
2934
2901
|
* No description
|
|
2935
2902
|
*
|
|
@@ -2951,7 +2918,7 @@ export class Api extends HttpClient {
|
|
|
2951
2918
|
* @secure
|
|
2952
2919
|
* @response `201` `DraftContentPaginated` Created
|
|
2953
2920
|
*/
|
|
2954
|
-
searchLoanDrafts: (data, query, params = {}) => this.request(Object.assign({ path: `/api/loans/drafts/search`, method: "POST", query: query, body: data, secure: true, type:
|
|
2921
|
+
searchLoanDrafts: (data, query, params = {}) => this.request(Object.assign({ path: `/api/loans/drafts/search`, method: "POST", query: query, body: data, secure: true, type: "application/json", format: "json" }, params)),
|
|
2955
2922
|
/**
|
|
2956
2923
|
* No description
|
|
2957
2924
|
*
|
|
@@ -2962,7 +2929,7 @@ export class Api extends HttpClient {
|
|
|
2962
2929
|
* @secure
|
|
2963
2930
|
* @response `200` `Draft` OK
|
|
2964
2931
|
*/
|
|
2965
|
-
reassignLoanOfficer: (draftId, data, params = {}) => this.request(Object.assign({ path: `/api/loans/drafts/${draftId}/reassign`, method: "PUT", body: data, secure: true, type:
|
|
2932
|
+
reassignLoanOfficer: (draftId, data, params = {}) => this.request(Object.assign({ path: `/api/loans/drafts/${draftId}/reassign`, method: "PUT", body: data, secure: true, type: "application/json", format: "json" }, params)),
|
|
2966
2933
|
/**
|
|
2967
2934
|
* No description
|
|
2968
2935
|
*
|
|
@@ -2995,7 +2962,7 @@ export class Api extends HttpClient {
|
|
|
2995
2962
|
* @secure
|
|
2996
2963
|
* @response `201` `LoanImport` Created
|
|
2997
2964
|
*/
|
|
2998
|
-
createLoanImport: (data, params = {}) => this.request(Object.assign({ path: `/api/loan-imports`, method: "POST", body: data, secure: true, type:
|
|
2965
|
+
createLoanImport: (data, params = {}) => this.request(Object.assign({ path: `/api/loan-imports`, method: "POST", body: data, secure: true, type: "application/json", format: "json" }, params)),
|
|
2999
2966
|
/**
|
|
3000
2967
|
* No description
|
|
3001
2968
|
*
|
|
@@ -3041,7 +3008,7 @@ export class Api extends HttpClient {
|
|
|
3041
3008
|
* @response `200` `(Invite)[]` OK
|
|
3042
3009
|
* @response `404` `ProblemDetails` Not Found
|
|
3043
3010
|
*/
|
|
3044
|
-
inviteLoanContacts: (loanId, data, params = {}) => this.request(Object.assign({ path: `/api/loans/${loanId}/invites`, method: "POST", body: data, secure: true, type:
|
|
3011
|
+
inviteLoanContacts: (loanId, data, params = {}) => this.request(Object.assign({ path: `/api/loans/${loanId}/invites`, method: "POST", body: data, secure: true, type: "application/json", format: "json" }, params)),
|
|
3045
3012
|
/**
|
|
3046
3013
|
* No description
|
|
3047
3014
|
*
|
|
@@ -3052,7 +3019,7 @@ export class Api extends HttpClient {
|
|
|
3052
3019
|
* @secure
|
|
3053
3020
|
* @response `200` `LoanLogPaginated` OK
|
|
3054
3021
|
*/
|
|
3055
|
-
searchLoanLogs: (loanId, data, query, params = {}) => this.request(Object.assign({ path: `/api/loans/${loanId}/logs/search`, method: "POST", query: query, body: data, secure: true, type:
|
|
3022
|
+
searchLoanLogs: (loanId, data, query, params = {}) => this.request(Object.assign({ path: `/api/loans/${loanId}/logs/search`, method: "POST", query: query, body: data, secure: true, type: "application/json", format: "json" }, params)),
|
|
3056
3023
|
/**
|
|
3057
3024
|
* No description
|
|
3058
3025
|
*
|
|
@@ -3077,7 +3044,7 @@ export class Api extends HttpClient {
|
|
|
3077
3044
|
* @response `400` `ProblemDetails` Bad Request
|
|
3078
3045
|
* @response `404` `ProblemDetails` Not Found
|
|
3079
3046
|
*/
|
|
3080
|
-
sendLoanOptInReminder: (loanId, data, params = {}) => this.request(Object.assign({ path: `/api/loans/${loanId}/notifications/opt-in-reminders`, method: "POST", body: data, secure: true, type:
|
|
3047
|
+
sendLoanOptInReminder: (loanId, data, params = {}) => this.request(Object.assign({ path: `/api/loans/${loanId}/notifications/opt-in-reminders`, method: "POST", body: data, secure: true, type: "application/json" }, params)),
|
|
3081
3048
|
/**
|
|
3082
3049
|
* No description
|
|
3083
3050
|
*
|
|
@@ -3090,7 +3057,7 @@ export class Api extends HttpClient {
|
|
|
3090
3057
|
* @response `400` `ProblemDetails` Bad Request
|
|
3091
3058
|
* @response `404` `ProblemDetails` Not Found
|
|
3092
3059
|
*/
|
|
3093
|
-
sendESignatureReminder: (loanId, data, params = {}) => this.request(Object.assign({ path: `/api/loans/${loanId}/notifications/esignature-reminders`, method: "POST", body: data, secure: true, type:
|
|
3060
|
+
sendESignatureReminder: (loanId, data, params = {}) => this.request(Object.assign({ path: `/api/loans/${loanId}/notifications/esignature-reminders`, method: "POST", body: data, secure: true, type: "application/json" }, params)),
|
|
3094
3061
|
/**
|
|
3095
3062
|
* No description
|
|
3096
3063
|
*
|
|
@@ -3112,7 +3079,7 @@ export class Api extends HttpClient {
|
|
|
3112
3079
|
* @secure
|
|
3113
3080
|
* @response `200` `BranchUserPaginated` OK
|
|
3114
3081
|
*/
|
|
3115
|
-
searchLoanOfficers: (data, query, params = {}) => this.request(Object.assign({ path: `/api/loan-officers/search`, method: "POST", query: query, body: data, secure: true, type:
|
|
3082
|
+
searchLoanOfficers: (data, query, params = {}) => this.request(Object.assign({ path: `/api/loan-officers/search`, method: "POST", query: query, body: data, secure: true, type: "application/json", format: "json" }, params)),
|
|
3116
3083
|
/**
|
|
3117
3084
|
* No description
|
|
3118
3085
|
*
|
|
@@ -3135,7 +3102,7 @@ export class Api extends HttpClient {
|
|
|
3135
3102
|
* @response `200` `SiteConfiguration` OK
|
|
3136
3103
|
* @response `422` `UnprocessableEntity` Unprocessable Content
|
|
3137
3104
|
*/
|
|
3138
|
-
createLoanOfficerSiteConfiguration: (loanOfficerId, data, params = {}) => this.request(Object.assign({ path: `/api/loan-officers/${loanOfficerId}/site-configurations`, method: "POST", body: data, secure: true, type:
|
|
3105
|
+
createLoanOfficerSiteConfiguration: (loanOfficerId, data, params = {}) => this.request(Object.assign({ path: `/api/loan-officers/${loanOfficerId}/site-configurations`, method: "POST", body: data, secure: true, type: "application/json", format: "json" }, params)),
|
|
3139
3106
|
/**
|
|
3140
3107
|
* No description
|
|
3141
3108
|
*
|
|
@@ -3158,7 +3125,7 @@ export class Api extends HttpClient {
|
|
|
3158
3125
|
* @response `200` `SiteConfiguration` OK
|
|
3159
3126
|
* @response `422` `UnprocessableEntity` Unprocessable Content
|
|
3160
3127
|
*/
|
|
3161
|
-
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:
|
|
3128
|
+
replaceLoanOfficerSiteConfiguration: (loanOfficerId, siteConfigurationId, data, query, params = {}) => this.request(Object.assign({ path: `/api/loan-officers/${loanOfficerId}/site-configurations/${siteConfigurationId}`, method: "PUT", query: query, body: data, secure: true, type: "application/json", format: "json" }, params)),
|
|
3162
3129
|
/**
|
|
3163
3130
|
* No description
|
|
3164
3131
|
*
|
|
@@ -3169,7 +3136,7 @@ export class Api extends HttpClient {
|
|
|
3169
3136
|
* @secure
|
|
3170
3137
|
* @response `200` `LoanQueuePaginated` OK
|
|
3171
3138
|
*/
|
|
3172
|
-
searchLoanQueue: (data, query, params = {}) => this.request(Object.assign({ path: `/api/loans/queue/search`, method: "POST", query: query, body: data, secure: true, type:
|
|
3139
|
+
searchLoanQueue: (data, query, params = {}) => this.request(Object.assign({ path: `/api/loans/queue/search`, method: "POST", query: query, body: data, secure: true, type: "application/json", format: "json" }, params)),
|
|
3173
3140
|
/**
|
|
3174
3141
|
* No description
|
|
3175
3142
|
*
|
|
@@ -3193,7 +3160,7 @@ export class Api extends HttpClient {
|
|
|
3193
3160
|
* @response `200` `LoanQueueWithData` OK
|
|
3194
3161
|
* @response `404` `ProblemDetails` Not Found
|
|
3195
3162
|
*/
|
|
3196
|
-
replaceLoanQueue: (loanQueueId, data, params = {}) => this.request(Object.assign({ path: `/api/loans/queue/${loanQueueId}`, method: "PUT", body: data, secure: true, type:
|
|
3163
|
+
replaceLoanQueue: (loanQueueId, data, params = {}) => this.request(Object.assign({ path: `/api/loans/queue/${loanQueueId}`, method: "PUT", body: data, secure: true, type: "application/json", format: "json" }, params)),
|
|
3197
3164
|
/**
|
|
3198
3165
|
* No description
|
|
3199
3166
|
*
|
|
@@ -3254,7 +3221,7 @@ export class Api extends HttpClient {
|
|
|
3254
3221
|
* @response `401` `ProblemDetails` Unauthorized
|
|
3255
3222
|
* @response `403` `ProblemDetails` Forbidden
|
|
3256
3223
|
*/
|
|
3257
|
-
createLoanv3: (data, params = {}) => this.request(Object.assign({ path: `/api/loans`, method: "POST", body: data, secure: true, type:
|
|
3224
|
+
createLoanv3: (data, params = {}) => this.request(Object.assign({ path: `/api/loans`, method: "POST", body: data, secure: true, type: "application/json", format: "json" }, params)),
|
|
3258
3225
|
/**
|
|
3259
3226
|
* No description
|
|
3260
3227
|
*
|
|
@@ -3265,7 +3232,7 @@ export class Api extends HttpClient {
|
|
|
3265
3232
|
* @secure
|
|
3266
3233
|
* @response `200` `LoanListPaginated` OK
|
|
3267
3234
|
*/
|
|
3268
|
-
searchLoans: (data, query, params = {}) => this.request(Object.assign({ path: `/api/loans/search`, method: "POST", query: query, body: data, secure: true, type:
|
|
3235
|
+
searchLoans: (data, query, params = {}) => this.request(Object.assign({ path: `/api/loans/search`, method: "POST", query: query, body: data, secure: true, type: "application/json", format: "json" }, params)),
|
|
3269
3236
|
/**
|
|
3270
3237
|
* No description
|
|
3271
3238
|
*
|
|
@@ -3281,7 +3248,7 @@ export class Api extends HttpClient {
|
|
|
3281
3248
|
* @response `404` `ProblemDetails` Not Found
|
|
3282
3249
|
* @response `409` `any` Conflict
|
|
3283
3250
|
*/
|
|
3284
|
-
updateLoan: (loanId, data, params = {}) => this.request(Object.assign({ path: `/api/loans/${loanId}`, method: "PATCH", body: data, secure: true, type:
|
|
3251
|
+
updateLoan: (loanId, data, params = {}) => this.request(Object.assign({ path: `/api/loans/${loanId}`, method: "PATCH", body: data, secure: true, type: "application/json", format: "json" }, params)),
|
|
3285
3252
|
/**
|
|
3286
3253
|
* No description
|
|
3287
3254
|
*
|
|
@@ -3343,7 +3310,7 @@ export class Api extends HttpClient {
|
|
|
3343
3310
|
* @response `400` `ProblemDetails` Bad Request
|
|
3344
3311
|
* @response `404` `ProblemDetails` Not Found
|
|
3345
3312
|
*/
|
|
3346
|
-
triggerAso: (loanId, data, params = {}) => this.request(Object.assign({ path: `/api/loans/${loanId}/aso`, method: "POST", body: data, secure: true, type:
|
|
3313
|
+
triggerAso: (loanId, data, params = {}) => this.request(Object.assign({ path: `/api/loans/${loanId}/aso`, method: "POST", body: data, secure: true, type: "application/json", format: "json" }, params)),
|
|
3347
3314
|
/**
|
|
3348
3315
|
* No description
|
|
3349
3316
|
*
|
|
@@ -3355,7 +3322,7 @@ export class Api extends HttpClient {
|
|
|
3355
3322
|
* @response `200` `TaskCommentPaginated` OK
|
|
3356
3323
|
* @response `404` `ProblemDetails` Not Found
|
|
3357
3324
|
*/
|
|
3358
|
-
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:
|
|
3325
|
+
searchLoanTaskComments: (loanId, userLoanTaskId, data, query, params = {}) => this.request(Object.assign({ path: `/api/loans/${loanId}/tasks/${userLoanTaskId}/comments/search`, method: "POST", query: query, body: data, secure: true, type: "application/json", format: "json" }, params)),
|
|
3359
3326
|
/**
|
|
3360
3327
|
* No description
|
|
3361
3328
|
*
|
|
@@ -3379,7 +3346,7 @@ export class Api extends HttpClient {
|
|
|
3379
3346
|
* @response `201` `TaskComment` Created
|
|
3380
3347
|
* @response `404` `ProblemDetails` Not Found
|
|
3381
3348
|
*/
|
|
3382
|
-
createLoanTaskComment: (loanId, userLoanTaskId, data, params = {}) => this.request(Object.assign({ path: `/api/loans/${loanId}/tasks/${userLoanTaskId}/comments`, method: "POST", body: data, secure: true, type:
|
|
3349
|
+
createLoanTaskComment: (loanId, userLoanTaskId, data, params = {}) => this.request(Object.assign({ path: `/api/loans/${loanId}/tasks/${userLoanTaskId}/comments`, method: "POST", body: data, secure: true, type: "application/json", format: "json" }, params)),
|
|
3383
3350
|
/**
|
|
3384
3351
|
* No description
|
|
3385
3352
|
*
|
|
@@ -3391,7 +3358,7 @@ export class Api extends HttpClient {
|
|
|
3391
3358
|
* @response `200` `TaskComment` OK
|
|
3392
3359
|
* @response `404` `ProblemDetails` Not Found
|
|
3393
3360
|
*/
|
|
3394
|
-
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:
|
|
3361
|
+
replaceLoanTaskComment: (loanId, userLoanTaskId, commentId, data, params = {}) => this.request(Object.assign({ path: `/api/loans/${loanId}/tasks/${userLoanTaskId}/comments/${commentId}`, method: "PUT", body: data, secure: true, type: "application/json", format: "json" }, params)),
|
|
3395
3362
|
/**
|
|
3396
3363
|
* No description
|
|
3397
3364
|
*
|
|
@@ -3416,7 +3383,7 @@ export class Api extends HttpClient {
|
|
|
3416
3383
|
* @response `404` `ProblemDetails` Not Found
|
|
3417
3384
|
* @response `422` `UnprocessableEntity` Unprocessable Content
|
|
3418
3385
|
*/
|
|
3419
|
-
createLoanTaskDocument: (loanId, loanTaskId, data, params = {}) => this.request(Object.assign({ path: `/api/loans/${loanId}/tasks/${loanTaskId}/documents`, method: "POST", body: data, secure: true, type:
|
|
3386
|
+
createLoanTaskDocument: (loanId, loanTaskId, data, params = {}) => this.request(Object.assign({ path: `/api/loans/${loanId}/tasks/${loanTaskId}/documents`, method: "POST", body: data, secure: true, type: "multipart/form-data", format: "json" }, params)),
|
|
3420
3387
|
/**
|
|
3421
3388
|
* No description
|
|
3422
3389
|
*
|
|
@@ -3430,7 +3397,7 @@ export class Api extends HttpClient {
|
|
|
3430
3397
|
* @response `404` `ProblemDetails` Not Found
|
|
3431
3398
|
* @response `422` `ProblemDetails` Unprocessable Content
|
|
3432
3399
|
*/
|
|
3433
|
-
sendOutstandingLoanTaskNotification: (loanId, data, params = {}) => this.request(Object.assign({ path: `/api/loans/${loanId}/tasks/reminders/outstanding`, method: "POST", body: data, secure: true, type:
|
|
3400
|
+
sendOutstandingLoanTaskNotification: (loanId, data, params = {}) => this.request(Object.assign({ path: `/api/loans/${loanId}/tasks/reminders/outstanding`, method: "POST", body: data, secure: true, type: "application/json" }, params)),
|
|
3434
3401
|
/**
|
|
3435
3402
|
* No description
|
|
3436
3403
|
*
|
|
@@ -3443,7 +3410,7 @@ export class Api extends HttpClient {
|
|
|
3443
3410
|
* @response `400` `ProblemDetails` Bad Request
|
|
3444
3411
|
* @response `404` `ProblemDetails` Not Found
|
|
3445
3412
|
*/
|
|
3446
|
-
sendLoanTaskReminder: (loanId, data, params = {}) => this.request(Object.assign({ path: `/api/loans/${loanId}/tasks/reminders`, method: "POST", body: data, secure: true, type:
|
|
3413
|
+
sendLoanTaskReminder: (loanId, data, params = {}) => this.request(Object.assign({ path: `/api/loans/${loanId}/tasks/reminders`, method: "POST", body: data, secure: true, type: "application/json" }, params)),
|
|
3447
3414
|
/**
|
|
3448
3415
|
* @description Search tasks across all loans
|
|
3449
3416
|
*
|
|
@@ -3454,7 +3421,7 @@ export class Api extends HttpClient {
|
|
|
3454
3421
|
* @secure
|
|
3455
3422
|
* @response `200` `UserLoanTaskPaginated` OK
|
|
3456
3423
|
*/
|
|
3457
|
-
searchLoanTasks: (data, query, params = {}) => this.request(Object.assign({ path: `/api/loans/tasks/search`, method: "POST", query: query, body: data, secure: true, type:
|
|
3424
|
+
searchLoanTasks: (data, query, params = {}) => this.request(Object.assign({ path: `/api/loans/tasks/search`, method: "POST", query: query, body: data, secure: true, type: "application/json", format: "json" }, params)),
|
|
3458
3425
|
/**
|
|
3459
3426
|
* @description Returns task counts grouped by status for loans accessible to the current user based on their role
|
|
3460
3427
|
*
|
|
@@ -3466,7 +3433,7 @@ export class Api extends HttpClient {
|
|
|
3466
3433
|
* @response `200` `(LoanTaskStatusSummary)[]` OK
|
|
3467
3434
|
* @response `422` `UnprocessableEntity` Unprocessable Content
|
|
3468
3435
|
*/
|
|
3469
|
-
searchLoanTasksSummary: (data, params = {}) => this.request(Object.assign({ path: `/api/loans/tasks/search/summary`, method: "POST", body: data, secure: true, type:
|
|
3436
|
+
searchLoanTasksSummary: (data, params = {}) => this.request(Object.assign({ path: `/api/loans/tasks/search/summary`, method: "POST", body: data, secure: true, type: "application/json", format: "json" }, params)),
|
|
3470
3437
|
/**
|
|
3471
3438
|
* No description
|
|
3472
3439
|
*
|
|
@@ -3514,7 +3481,7 @@ export class Api extends HttpClient {
|
|
|
3514
3481
|
* @response `201` `UserLoanTask` Created
|
|
3515
3482
|
* @response `404` `ProblemDetails` Not Found
|
|
3516
3483
|
*/
|
|
3517
|
-
createLoanTask: (loanId, taskId, data, params = {}) => this.request(Object.assign({ path: `/api/loans/${loanId}/tasks/${taskId}`, method: "POST", body: data, secure: true, type:
|
|
3484
|
+
createLoanTask: (loanId, taskId, data, params = {}) => this.request(Object.assign({ path: `/api/loans/${loanId}/tasks/${taskId}`, method: "POST", body: data, secure: true, type: "application/json", format: "json" }, params)),
|
|
3518
3485
|
/**
|
|
3519
3486
|
* No description
|
|
3520
3487
|
*
|
|
@@ -3526,7 +3493,7 @@ export class Api extends HttpClient {
|
|
|
3526
3493
|
* @response `201` `(UserLoanTask)[]` Created
|
|
3527
3494
|
* @response `404` `ProblemDetails` Not Found
|
|
3528
3495
|
*/
|
|
3529
|
-
importLoanTask: (loanId, data, params = {}) => this.request(Object.assign({ path: `/api/loans/${loanId}/tasks/import`, method: "POST", body: data, secure: true, type:
|
|
3496
|
+
importLoanTask: (loanId, data, params = {}) => this.request(Object.assign({ path: `/api/loans/${loanId}/tasks/import`, method: "POST", body: data, secure: true, type: "application/json", format: "json" }, params)),
|
|
3530
3497
|
/**
|
|
3531
3498
|
* No description
|
|
3532
3499
|
*
|
|
@@ -3538,7 +3505,7 @@ export class Api extends HttpClient {
|
|
|
3538
3505
|
* @response `200` `UserLoanTask` OK
|
|
3539
3506
|
* @response `404` `ProblemDetails` Not Found
|
|
3540
3507
|
*/
|
|
3541
|
-
replaceLoanTask: (loanId, userLoanTaskId, data, params = {}) => this.request(Object.assign({ path: `/api/loans/${loanId}/tasks/${userLoanTaskId}`, method: "PUT", body: data, secure: true, type:
|
|
3508
|
+
replaceLoanTask: (loanId, userLoanTaskId, data, params = {}) => this.request(Object.assign({ path: `/api/loans/${loanId}/tasks/${userLoanTaskId}`, method: "PUT", body: data, secure: true, type: "application/json", format: "json" }, params)),
|
|
3542
3509
|
/**
|
|
3543
3510
|
* No description
|
|
3544
3511
|
*
|
|
@@ -3597,7 +3564,7 @@ export class Api extends HttpClient {
|
|
|
3597
3564
|
* @secure
|
|
3598
3565
|
* @response `201` `LoanUser` Created
|
|
3599
3566
|
*/
|
|
3600
|
-
addLoanUser: (loanId, userId, data, params = {}) => this.request(Object.assign({ path: `/api/loans/${loanId}/users/${userId}`, method: "POST", body: data, secure: true, type:
|
|
3567
|
+
addLoanUser: (loanId, userId, data, params = {}) => this.request(Object.assign({ path: `/api/loans/${loanId}/users/${userId}`, method: "POST", body: data, secure: true, type: "application/json", format: "json" }, params)),
|
|
3601
3568
|
/**
|
|
3602
3569
|
* No description
|
|
3603
3570
|
*
|
|
@@ -3630,7 +3597,7 @@ export class Api extends HttpClient {
|
|
|
3630
3597
|
* @secure
|
|
3631
3598
|
* @response `200` `LosOperationTrackingPaginated` OK
|
|
3632
3599
|
*/
|
|
3633
|
-
searchLosOperationTracking: (data, query, params = {}) => this.request(Object.assign({ path: `/api/los-operation-tracking/search`, method: "POST", query: query, body: data, secure: true, type:
|
|
3600
|
+
searchLosOperationTracking: (data, query, params = {}) => this.request(Object.assign({ path: `/api/los-operation-tracking/search`, method: "POST", query: query, body: data, secure: true, type: "application/json", format: "json" }, params)),
|
|
3634
3601
|
/**
|
|
3635
3602
|
* No description
|
|
3636
3603
|
*
|
|
@@ -3653,7 +3620,7 @@ export class Api extends HttpClient {
|
|
|
3653
3620
|
* @response `201` `MilestoneConfiguration` Created
|
|
3654
3621
|
* @response `422` `UnprocessableEntity` Unprocessable Content
|
|
3655
3622
|
*/
|
|
3656
|
-
createMilestone: (data, params = {}) => this.request(Object.assign({ path: `/api/milestones`, method: "POST", body: data, secure: true, type:
|
|
3623
|
+
createMilestone: (data, params = {}) => this.request(Object.assign({ path: `/api/milestones`, method: "POST", body: data, secure: true, type: "application/json", format: "json" }, params)),
|
|
3657
3624
|
/**
|
|
3658
3625
|
* No description
|
|
3659
3626
|
*
|
|
@@ -3678,7 +3645,7 @@ export class Api extends HttpClient {
|
|
|
3678
3645
|
* @response `404` `Error` Not Found
|
|
3679
3646
|
* @response `422` `UnprocessableEntity` Unprocessable Content
|
|
3680
3647
|
*/
|
|
3681
|
-
replaceMilestone: (id, data, params = {}) => this.request(Object.assign({ path: `/api/milestones/${id}`, method: "PUT", body: data, secure: true, type:
|
|
3648
|
+
replaceMilestone: (id, data, params = {}) => this.request(Object.assign({ path: `/api/milestones/${id}`, method: "PUT", body: data, secure: true, type: "application/json", format: "json" }, params)),
|
|
3682
3649
|
/**
|
|
3683
3650
|
* No description
|
|
3684
3651
|
*
|
|
@@ -3704,7 +3671,7 @@ export class Api extends HttpClient {
|
|
|
3704
3671
|
* @response `404` `ProblemDetails` Not Found
|
|
3705
3672
|
* @response `422` `ProblemDetails` Unprocessable Content
|
|
3706
3673
|
*/
|
|
3707
|
-
seedMobileAppReview: (data, params = {}) => this.request(Object.assign({ path: `/api/mobile-app-review/seed`, method: "POST", body: data, secure: true, type:
|
|
3674
|
+
seedMobileAppReview: (data, params = {}) => this.request(Object.assign({ path: `/api/mobile-app-review/seed`, method: "POST", body: data, secure: true, type: "application/json", format: "json" }, params)),
|
|
3708
3675
|
/**
|
|
3709
3676
|
* No description
|
|
3710
3677
|
*
|
|
@@ -3716,7 +3683,7 @@ export class Api extends HttpClient {
|
|
|
3716
3683
|
* @response `200` `MonthlyPaymentCalculator` OK
|
|
3717
3684
|
* @response `422` `ProblemDetails` Unprocessable Content
|
|
3718
3685
|
*/
|
|
3719
|
-
calculateMortgageMonthlyPayment: (data, params = {}) => this.request(Object.assign({ path: `/api/mortgage-calculators/monthly-payment`, method: "POST", body: data, secure: true, type:
|
|
3686
|
+
calculateMortgageMonthlyPayment: (data, params = {}) => this.request(Object.assign({ path: `/api/mortgage-calculators/monthly-payment`, method: "POST", body: data, secure: true, type: "application/json", format: "json" }, params)),
|
|
3720
3687
|
/**
|
|
3721
3688
|
* No description
|
|
3722
3689
|
*
|
|
@@ -3728,7 +3695,7 @@ export class Api extends HttpClient {
|
|
|
3728
3695
|
* @response `200` `AffordabilityCalculator` OK
|
|
3729
3696
|
* @response `422` `ProblemDetails` Unprocessable Content
|
|
3730
3697
|
*/
|
|
3731
|
-
calculateMortgageAffordability: (data, params = {}) => this.request(Object.assign({ path: `/api/mortgage-calculators/affordability`, method: "POST", body: data, secure: true, type:
|
|
3698
|
+
calculateMortgageAffordability: (data, params = {}) => this.request(Object.assign({ path: `/api/mortgage-calculators/affordability`, method: "POST", body: data, secure: true, type: "application/json", format: "json" }, params)),
|
|
3732
3699
|
/**
|
|
3733
3700
|
* No description
|
|
3734
3701
|
*
|
|
@@ -3740,7 +3707,7 @@ export class Api extends HttpClient {
|
|
|
3740
3707
|
* @response `200` `LoanComparisonCalculator` OK
|
|
3741
3708
|
* @response `422` `ProblemDetails` Unprocessable Content
|
|
3742
3709
|
*/
|
|
3743
|
-
calculateMortgageLoanComparison: (data, params = {}) => this.request(Object.assign({ path: `/api/mortgage-calculators/loan-comparison`, method: "POST", body: data, secure: true, type:
|
|
3710
|
+
calculateMortgageLoanComparison: (data, params = {}) => this.request(Object.assign({ path: `/api/mortgage-calculators/loan-comparison`, method: "POST", body: data, secure: true, type: "application/json", format: "json" }, params)),
|
|
3744
3711
|
/**
|
|
3745
3712
|
* No description
|
|
3746
3713
|
*
|
|
@@ -3752,7 +3719,7 @@ export class Api extends HttpClient {
|
|
|
3752
3719
|
* @response `200` `RefinanceCalculator` OK
|
|
3753
3720
|
* @response `422` `ProblemDetails` Unprocessable Content
|
|
3754
3721
|
*/
|
|
3755
|
-
calculateMortgageRefinance: (data, params = {}) => this.request(Object.assign({ path: `/api/mortgage-calculators/refinance`, method: "POST", body: data, secure: true, type:
|
|
3722
|
+
calculateMortgageRefinance: (data, params = {}) => this.request(Object.assign({ path: `/api/mortgage-calculators/refinance`, method: "POST", body: data, secure: true, type: "application/json", format: "json" }, params)),
|
|
3756
3723
|
/**
|
|
3757
3724
|
* No description
|
|
3758
3725
|
*
|
|
@@ -3775,7 +3742,7 @@ export class Api extends HttpClient {
|
|
|
3775
3742
|
* @response `201` `NotificationTemplate` Created
|
|
3776
3743
|
* @response `422` `UnprocessableEntity` Unprocessable Content
|
|
3777
3744
|
*/
|
|
3778
|
-
createNotificationTemplate: (data, params = {}) => this.request(Object.assign({ path: `/api/notification-templates`, method: "POST", body: data, secure: true, type:
|
|
3745
|
+
createNotificationTemplate: (data, params = {}) => this.request(Object.assign({ path: `/api/notification-templates`, method: "POST", body: data, secure: true, type: "application/json", format: "json" }, params)),
|
|
3779
3746
|
/**
|
|
3780
3747
|
* No description
|
|
3781
3748
|
*
|
|
@@ -3786,7 +3753,7 @@ export class Api extends HttpClient {
|
|
|
3786
3753
|
* @secure
|
|
3787
3754
|
* @response `200` `NotificationTemplateBasePaginated` OK
|
|
3788
3755
|
*/
|
|
3789
|
-
searchNotificationTemplates: (data, query, params = {}) => this.request(Object.assign({ path: `/api/notification-templates/search`, method: "POST", query: query, body: data, secure: true, type:
|
|
3756
|
+
searchNotificationTemplates: (data, query, params = {}) => this.request(Object.assign({ path: `/api/notification-templates/search`, method: "POST", query: query, body: data, secure: true, type: "application/json", format: "json" }, params)),
|
|
3790
3757
|
/**
|
|
3791
3758
|
* No description
|
|
3792
3759
|
*
|
|
@@ -3809,7 +3776,7 @@ export class Api extends HttpClient {
|
|
|
3809
3776
|
* @response `200` `NotificationTemplate` OK
|
|
3810
3777
|
* @response `422` `UnprocessableEntity` Unprocessable Content
|
|
3811
3778
|
*/
|
|
3812
|
-
replaceNotificationTemplate: (id, data, params = {}) => this.request(Object.assign({ path: `/api/notification-templates/${id}`, method: "PUT", body: data, secure: true, type:
|
|
3779
|
+
replaceNotificationTemplate: (id, data, params = {}) => this.request(Object.assign({ path: `/api/notification-templates/${id}`, method: "PUT", body: data, secure: true, type: "application/json", format: "json" }, params)),
|
|
3813
3780
|
/**
|
|
3814
3781
|
* No description
|
|
3815
3782
|
*
|
|
@@ -3853,7 +3820,7 @@ export class Api extends HttpClient {
|
|
|
3853
3820
|
* @secure
|
|
3854
3821
|
* @response `200` `NotificationTemplateVersion` OK
|
|
3855
3822
|
*/
|
|
3856
|
-
createNotificationTemplateVersion: (notificationId, data, params = {}) => this.request(Object.assign({ path: `/api/notification-templates/${notificationId}/versions`, method: "POST", body: data, secure: true, type:
|
|
3823
|
+
createNotificationTemplateVersion: (notificationId, data, params = {}) => this.request(Object.assign({ path: `/api/notification-templates/${notificationId}/versions`, method: "POST", body: data, secure: true, type: "application/json", format: "json" }, params)),
|
|
3857
3824
|
/**
|
|
3858
3825
|
* No description
|
|
3859
3826
|
*
|
|
@@ -3875,7 +3842,7 @@ export class Api extends HttpClient {
|
|
|
3875
3842
|
* @secure
|
|
3876
3843
|
* @response `200` `NotificationTemplateVersion` OK
|
|
3877
3844
|
*/
|
|
3878
|
-
replaceNotificationTemplateVersion: (notificationId, id, data, params = {}) => this.request(Object.assign({ path: `/api/notification-templates/${notificationId}/versions/${id}`, method: "PUT", body: data, secure: true, type:
|
|
3845
|
+
replaceNotificationTemplateVersion: (notificationId, id, data, params = {}) => this.request(Object.assign({ path: `/api/notification-templates/${notificationId}/versions/${id}`, method: "PUT", body: data, secure: true, type: "application/json", format: "json" }, params)),
|
|
3879
3846
|
/**
|
|
3880
3847
|
* No description
|
|
3881
3848
|
*
|
|
@@ -3908,7 +3875,7 @@ export class Api extends HttpClient {
|
|
|
3908
3875
|
* @secure
|
|
3909
3876
|
* @response `200` `BranchUserPaginated` OK
|
|
3910
3877
|
*/
|
|
3911
|
-
searchPartners: (data, query, params = {}) => this.request(Object.assign({ path: `/api/partners/search`, method: "POST", query: query, body: data, secure: true, type:
|
|
3878
|
+
searchPartners: (data, query, params = {}) => this.request(Object.assign({ path: `/api/partners/search`, method: "POST", query: query, body: data, secure: true, type: "application/json", format: "json" }, params)),
|
|
3912
3879
|
/**
|
|
3913
3880
|
* No description
|
|
3914
3881
|
*
|
|
@@ -3931,7 +3898,7 @@ export class Api extends HttpClient {
|
|
|
3931
3898
|
* @response `200` `SiteConfiguration` OK
|
|
3932
3899
|
* @response `422` `UnprocessableEntity` Unprocessable Content
|
|
3933
3900
|
*/
|
|
3934
|
-
createPartnerSiteConfiguration: (realtorId, data, params = {}) => this.request(Object.assign({ path: `/api/partners/${realtorId}/site-configurations`, method: "POST", body: data, secure: true, type:
|
|
3901
|
+
createPartnerSiteConfiguration: (realtorId, data, params = {}) => this.request(Object.assign({ path: `/api/partners/${realtorId}/site-configurations`, method: "POST", body: data, secure: true, type: "application/json", format: "json" }, params)),
|
|
3935
3902
|
/**
|
|
3936
3903
|
* No description
|
|
3937
3904
|
*
|
|
@@ -3954,7 +3921,7 @@ export class Api extends HttpClient {
|
|
|
3954
3921
|
* @response `200` `SiteConfiguration` OK
|
|
3955
3922
|
* @response `422` `UnprocessableEntity` Unprocessable Content
|
|
3956
3923
|
*/
|
|
3957
|
-
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:
|
|
3924
|
+
replacePartnerSiteConfiguration: (realtorId, siteConfigurationId, data, query, params = {}) => this.request(Object.assign({ path: `/api/partners/${realtorId}/site-configurations/${siteConfigurationId}`, method: "PUT", query: query, body: data, secure: true, type: "application/json", format: "json" }, params)),
|
|
3958
3925
|
/**
|
|
3959
3926
|
* No description
|
|
3960
3927
|
*
|
|
@@ -3978,7 +3945,7 @@ export class Api extends HttpClient {
|
|
|
3978
3945
|
* @response `200` `SiteConfigurationByUrl` OK
|
|
3979
3946
|
* @response `422` `UnprocessableEntity` Unprocessable Content
|
|
3980
3947
|
*/
|
|
3981
|
-
searchSiteConfigurationByUrl: (data, params = {}) => this.request(Object.assign({ path: `/api/site-configurations/url`, method: "POST", body: data, secure: true, type:
|
|
3948
|
+
searchSiteConfigurationByUrl: (data, params = {}) => this.request(Object.assign({ path: `/api/site-configurations/url`, method: "POST", body: data, secure: true, type: "application/json", format: "json" }, params)),
|
|
3982
3949
|
/**
|
|
3983
3950
|
* No description
|
|
3984
3951
|
*
|
|
@@ -4003,7 +3970,7 @@ export class Api extends HttpClient {
|
|
|
4003
3970
|
* @response `200` `SiteConfiguration` OK
|
|
4004
3971
|
* @response `422` `UnprocessableEntity` Unprocessable Content
|
|
4005
3972
|
*/
|
|
4006
|
-
searchSiteConfigurationByLoanOfficerUser: (data, params = {}) => this.request(Object.assign({ path: `/api/site-configurations/louser`, method: "POST", body: data, secure: true, type:
|
|
3973
|
+
searchSiteConfigurationByLoanOfficerUser: (data, params = {}) => this.request(Object.assign({ path: `/api/site-configurations/louser`, method: "POST", body: data, secure: true, type: "application/json", format: "json" }, params)),
|
|
4007
3974
|
/**
|
|
4008
3975
|
* No description
|
|
4009
3976
|
*
|
|
@@ -4027,7 +3994,7 @@ export class Api extends HttpClient {
|
|
|
4027
3994
|
* @response `200` `SiteConfigurationSummaryPaginated` OK
|
|
4028
3995
|
* @response `422` `UnprocessableEntity` Unprocessable Content
|
|
4029
3996
|
*/
|
|
4030
|
-
searchSiteConfigurations: (data, query, params = {}) => this.request(Object.assign({ path: `/api/site-configurations/search`, method: "POST", query: query, body: data, secure: true, type:
|
|
3997
|
+
searchSiteConfigurations: (data, query, params = {}) => this.request(Object.assign({ path: `/api/site-configurations/search`, method: "POST", query: query, body: data, secure: true, type: "application/json", format: "json" }, params)),
|
|
4031
3998
|
/**
|
|
4032
3999
|
* No description
|
|
4033
4000
|
*
|
|
@@ -4119,7 +4086,85 @@ export class Api extends HttpClient {
|
|
|
4119
4086
|
* @secure
|
|
4120
4087
|
* @response `200` `GetForm` OK
|
|
4121
4088
|
*/
|
|
4122
|
-
getFormBySiteConfigurationSlug: (data, params = {}) => this.request(Object.assign({ path: `/api/site-forms`, method: "POST", body: data, secure: true, type:
|
|
4089
|
+
getFormBySiteConfigurationSlug: (data, params = {}) => this.request(Object.assign({ path: `/api/site-forms`, method: "POST", body: data, secure: true, type: "application/json", format: "json" }, params)),
|
|
4090
|
+
/**
|
|
4091
|
+
* No description
|
|
4092
|
+
*
|
|
4093
|
+
* @tags SiteTiles
|
|
4094
|
+
* @name SearchSiteTiles
|
|
4095
|
+
* @summary Search Site Tiles
|
|
4096
|
+
* @request POST:/api/site-tiles/search
|
|
4097
|
+
* @secure
|
|
4098
|
+
* @response `200` `SiteTilePaginated` OK
|
|
4099
|
+
* @response `403` `ProblemDetails` Forbidden
|
|
4100
|
+
*/
|
|
4101
|
+
searchSiteTiles: (data, query, params = {}) => this.request(Object.assign({ path: `/api/site-tiles/search`, method: "POST", query: query, body: data, secure: true, type: "application/json", format: "json" }, params)),
|
|
4102
|
+
/**
|
|
4103
|
+
* No description
|
|
4104
|
+
*
|
|
4105
|
+
* @tags SiteTiles
|
|
4106
|
+
* @name GetSiteTilesBySiteConfiguration
|
|
4107
|
+
* @summary Get Site Tiles by site configuration and location
|
|
4108
|
+
* @request GET:/api/site-tiles/by-site-configuration
|
|
4109
|
+
* @secure
|
|
4110
|
+
* @response `200` `(SiteTileView)[]` OK
|
|
4111
|
+
* @response `401` `ProblemDetails` Unauthorized
|
|
4112
|
+
* @response `404` `ProblemDetails` Not Found
|
|
4113
|
+
*/
|
|
4114
|
+
getSiteTilesBySiteConfiguration: (query, params = {}) => this.request(Object.assign({ path: `/api/site-tiles/by-site-configuration`, method: "GET", query: query, secure: true, format: "json" }, params)),
|
|
4115
|
+
/**
|
|
4116
|
+
* No description
|
|
4117
|
+
*
|
|
4118
|
+
* @tags SiteTiles
|
|
4119
|
+
* @name GetSiteTile
|
|
4120
|
+
* @summary Get Site Tile by ID
|
|
4121
|
+
* @request GET:/api/site-tiles/{siteTileId}
|
|
4122
|
+
* @secure
|
|
4123
|
+
* @response `200` `SiteTile` OK
|
|
4124
|
+
* @response `403` `ProblemDetails` Forbidden
|
|
4125
|
+
* @response `404` `ProblemDetails` Not Found
|
|
4126
|
+
*/
|
|
4127
|
+
getSiteTile: (siteTileId, params = {}) => this.request(Object.assign({ path: `/api/site-tiles/${siteTileId}`, method: "GET", secure: true, format: "json" }, params)),
|
|
4128
|
+
/**
|
|
4129
|
+
* No description
|
|
4130
|
+
*
|
|
4131
|
+
* @tags SiteTiles
|
|
4132
|
+
* @name UpdateSiteTile
|
|
4133
|
+
* @summary Update Site Tile
|
|
4134
|
+
* @request PUT:/api/site-tiles/{siteTileId}
|
|
4135
|
+
* @secure
|
|
4136
|
+
* @response `200` `SiteTile` OK
|
|
4137
|
+
* @response `400` `ProblemDetails` Bad Request
|
|
4138
|
+
* @response `403` `ProblemDetails` Forbidden
|
|
4139
|
+
* @response `404` `ProblemDetails` Not Found
|
|
4140
|
+
*/
|
|
4141
|
+
updateSiteTile: (siteTileId, data, params = {}) => this.request(Object.assign({ path: `/api/site-tiles/${siteTileId}`, method: "PUT", body: data, secure: true, type: "application/json", format: "json" }, params)),
|
|
4142
|
+
/**
|
|
4143
|
+
* No description
|
|
4144
|
+
*
|
|
4145
|
+
* @tags SiteTiles
|
|
4146
|
+
* @name DeleteSiteTile
|
|
4147
|
+
* @summary Delete Site Tile
|
|
4148
|
+
* @request DELETE:/api/site-tiles/{siteTileId}
|
|
4149
|
+
* @secure
|
|
4150
|
+
* @response `204` `void` No Content
|
|
4151
|
+
* @response `403` `ProblemDetails` Forbidden
|
|
4152
|
+
* @response `404` `ProblemDetails` Not Found
|
|
4153
|
+
*/
|
|
4154
|
+
deleteSiteTile: (siteTileId, params = {}) => this.request(Object.assign({ path: `/api/site-tiles/${siteTileId}`, method: "DELETE", secure: true }, params)),
|
|
4155
|
+
/**
|
|
4156
|
+
* No description
|
|
4157
|
+
*
|
|
4158
|
+
* @tags SiteTiles
|
|
4159
|
+
* @name CreateSiteTile
|
|
4160
|
+
* @summary Create Site Tile
|
|
4161
|
+
* @request POST:/api/site-tiles
|
|
4162
|
+
* @secure
|
|
4163
|
+
* @response `201` `SiteTile` Created
|
|
4164
|
+
* @response `400` `ProblemDetails` Bad Request
|
|
4165
|
+
* @response `403` `ProblemDetails` Forbidden
|
|
4166
|
+
*/
|
|
4167
|
+
createSiteTile: (data, params = {}) => this.request(Object.assign({ path: `/api/site-tiles`, method: "POST", body: data, secure: true, type: "application/json", format: "json" }, params)),
|
|
4123
4168
|
/**
|
|
4124
4169
|
* No description
|
|
4125
4170
|
*
|
|
@@ -4142,7 +4187,7 @@ export class Api extends HttpClient {
|
|
|
4142
4187
|
* @response `200` `(SocialSurveyRecord)[]` OK
|
|
4143
4188
|
* @response `422` `UnprocessableEntity` Unprocessable Content
|
|
4144
4189
|
*/
|
|
4145
|
-
getSurveysByUser: (data, params = {}) => this.request(Object.assign({ path: `/api/surveys`, method: "POST", body: data, secure: true, type:
|
|
4190
|
+
getSurveysByUser: (data, params = {}) => this.request(Object.assign({ path: `/api/surveys`, method: "POST", body: data, secure: true, type: "application/json", format: "json" }, params)),
|
|
4146
4191
|
/**
|
|
4147
4192
|
* No description
|
|
4148
4193
|
*
|
|
@@ -4165,7 +4210,7 @@ export class Api extends HttpClient {
|
|
|
4165
4210
|
* @secure
|
|
4166
4211
|
* @response `201` `Task` Created
|
|
4167
4212
|
*/
|
|
4168
|
-
createTask: (data, params = {}) => this.request(Object.assign({ path: `/api/tasks`, method: "POST", body: data, secure: true, type:
|
|
4213
|
+
createTask: (data, params = {}) => this.request(Object.assign({ path: `/api/tasks`, method: "POST", body: data, secure: true, type: "application/json", format: "json" }, params)),
|
|
4169
4214
|
/**
|
|
4170
4215
|
* No description
|
|
4171
4216
|
*
|
|
@@ -4189,7 +4234,7 @@ export class Api extends HttpClient {
|
|
|
4189
4234
|
* @response `200` `Task` OK
|
|
4190
4235
|
* @response `404` `ProblemDetails` Not Found
|
|
4191
4236
|
*/
|
|
4192
|
-
replaceTask: (id, data, params = {}) => this.request(Object.assign({ path: `/api/tasks/${id}`, method: "PUT", body: data, secure: true, type:
|
|
4237
|
+
replaceTask: (id, data, params = {}) => this.request(Object.assign({ path: `/api/tasks/${id}`, method: "PUT", body: data, secure: true, type: "application/json", format: "json" }, params)),
|
|
4193
4238
|
/**
|
|
4194
4239
|
* No description
|
|
4195
4240
|
*
|
|
@@ -4212,7 +4257,7 @@ export class Api extends HttpClient {
|
|
|
4212
4257
|
* @secure
|
|
4213
4258
|
* @response `200` `TaskPaginated` OK
|
|
4214
4259
|
*/
|
|
4215
|
-
searchTasks: (data, query, params = {}) => this.request(Object.assign({ path: `/api/tasks/search`, method: "POST", query: query, body: data, secure: true, type:
|
|
4260
|
+
searchTasks: (data, query, params = {}) => this.request(Object.assign({ path: `/api/tasks/search`, method: "POST", query: query, body: data, secure: true, type: "application/json", format: "json" }, params)),
|
|
4216
4261
|
/**
|
|
4217
4262
|
* No description
|
|
4218
4263
|
*
|
|
@@ -4222,7 +4267,7 @@ export class Api extends HttpClient {
|
|
|
4222
4267
|
* @secure
|
|
4223
4268
|
* @response `200` `void` OK
|
|
4224
4269
|
*/
|
|
4225
|
-
integrationsLosLoansCreate: (data, params = {}) => this.request(Object.assign({ path: `/api/integrations/los/loans`, method: "POST", body: data, secure: true, type:
|
|
4270
|
+
integrationsLosLoansCreate: (data, params = {}) => this.request(Object.assign({ path: `/api/integrations/los/loans`, method: "POST", body: data, secure: true, type: "application/json" }, params)),
|
|
4226
4271
|
/**
|
|
4227
4272
|
* No description
|
|
4228
4273
|
*
|
|
@@ -4233,7 +4278,7 @@ export class Api extends HttpClient {
|
|
|
4233
4278
|
* @secure
|
|
4234
4279
|
* @response `200` `EncompassRequestLogPaginated` OK
|
|
4235
4280
|
*/
|
|
4236
|
-
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:
|
|
4281
|
+
searchEncompassLogs: (losId, query, data, params = {}) => this.request(Object.assign({ path: `/api/los/encompass/logs/${losId}/search`, method: "POST", query: query, body: data, secure: true, type: "application/json", format: "json" }, params)),
|
|
4237
4282
|
/**
|
|
4238
4283
|
* No description
|
|
4239
4284
|
*
|
|
@@ -4256,7 +4301,7 @@ export class Api extends HttpClient {
|
|
|
4256
4301
|
* @secure
|
|
4257
4302
|
* @response `201` `LosCredentials` Created
|
|
4258
4303
|
*/
|
|
4259
|
-
createEncompassCredentials: (data, params = {}) => this.request(Object.assign({ path: `/api/los/encompass/credentials`, method: "POST", body: data, secure: true, type:
|
|
4304
|
+
createEncompassCredentials: (data, params = {}) => this.request(Object.assign({ path: `/api/los/encompass/credentials`, method: "POST", body: data, secure: true, type: "application/json", format: "json" }, params)),
|
|
4260
4305
|
/**
|
|
4261
4306
|
* No description
|
|
4262
4307
|
*
|
|
@@ -4267,7 +4312,7 @@ export class Api extends HttpClient {
|
|
|
4267
4312
|
* @secure
|
|
4268
4313
|
* @response `200` `EncompassCredentialsDetail` OK
|
|
4269
4314
|
*/
|
|
4270
|
-
updateEncompassCredentials: (data, params = {}) => this.request(Object.assign({ path: `/api/los/encompass/credentials`, method: "PUT", body: data, secure: true, type:
|
|
4315
|
+
updateEncompassCredentials: (data, params = {}) => this.request(Object.assign({ path: `/api/los/encompass/credentials`, method: "PUT", body: data, secure: true, type: "application/json", format: "json" }, params)),
|
|
4271
4316
|
/**
|
|
4272
4317
|
* No description
|
|
4273
4318
|
*
|
|
@@ -4289,7 +4334,7 @@ export class Api extends HttpClient {
|
|
|
4289
4334
|
* @secure
|
|
4290
4335
|
* @response `201` `LosWebhook` Created
|
|
4291
4336
|
*/
|
|
4292
|
-
createEncompassWebhook: (data, params = {}) => this.request(Object.assign({ path: `/api/los/encompass/webhooks`, method: "POST", body: data, secure: true, type:
|
|
4337
|
+
createEncompassWebhook: (data, params = {}) => this.request(Object.assign({ path: `/api/los/encompass/webhooks`, method: "POST", body: data, secure: true, type: "application/json", format: "json" }, params)),
|
|
4293
4338
|
/**
|
|
4294
4339
|
* No description
|
|
4295
4340
|
*
|
|
@@ -4311,7 +4356,7 @@ export class Api extends HttpClient {
|
|
|
4311
4356
|
* @secure
|
|
4312
4357
|
* @response `200` `LosSyncPaginated` OK
|
|
4313
4358
|
*/
|
|
4314
|
-
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:
|
|
4359
|
+
searchLosSyncs: (loanId, query, data, params = {}) => this.request(Object.assign({ path: `/api/los/encompass/syncs/${loanId}/search`, method: "POST", query: query, body: data, secure: true, type: "application/json", format: "json" }, params)),
|
|
4315
4360
|
/**
|
|
4316
4361
|
* No description
|
|
4317
4362
|
*
|
|
@@ -4394,7 +4439,7 @@ export class Api extends HttpClient {
|
|
|
4394
4439
|
* @response `201` `UserDevice` Created
|
|
4395
4440
|
* @response `400` `ProblemDetails` Bad Request
|
|
4396
4441
|
*/
|
|
4397
|
-
createUserDevice: (data, params = {}) => this.request(Object.assign({ path: `/api/userdevices`, method: "POST", body: data, secure: true, type:
|
|
4442
|
+
createUserDevice: (data, params = {}) => this.request(Object.assign({ path: `/api/userdevices`, method: "POST", body: data, secure: true, type: "application/json", format: "json" }, params)),
|
|
4398
4443
|
/**
|
|
4399
4444
|
* No description
|
|
4400
4445
|
*
|
|
@@ -4439,7 +4484,7 @@ export class Api extends HttpClient {
|
|
|
4439
4484
|
* @secure
|
|
4440
4485
|
* @response `200` `UserDraft` OK
|
|
4441
4486
|
*/
|
|
4442
|
-
addDraftUsers: (draftId, userId, data, params = {}) => this.request(Object.assign({ path: `/api/loans/drafts/${draftId}/users/${userId}`, method: "POST", body: data, secure: true, type:
|
|
4487
|
+
addDraftUsers: (draftId, userId, data, params = {}) => this.request(Object.assign({ path: `/api/loans/drafts/${draftId}/users/${userId}`, method: "POST", body: data, secure: true, type: "application/json", format: "json" }, params)),
|
|
4443
4488
|
/**
|
|
4444
4489
|
* No description
|
|
4445
4490
|
*
|
|
@@ -4472,7 +4517,7 @@ export class Api extends HttpClient {
|
|
|
4472
4517
|
* @secure
|
|
4473
4518
|
* @response `200` `UserGroupAccessScope` OK
|
|
4474
4519
|
*/
|
|
4475
|
-
createUserGroupAccessScope: (groupId, data, params = {}) => this.request(Object.assign({ path: `/api/user-groups/${groupId}/scopes`, method: "POST", body: data, secure: true, type:
|
|
4520
|
+
createUserGroupAccessScope: (groupId, data, params = {}) => this.request(Object.assign({ path: `/api/user-groups/${groupId}/scopes`, method: "POST", body: data, secure: true, type: "application/json", format: "json" }, params)),
|
|
4476
4521
|
/**
|
|
4477
4522
|
* No description
|
|
4478
4523
|
*
|
|
@@ -4505,7 +4550,7 @@ export class Api extends HttpClient {
|
|
|
4505
4550
|
* @secure
|
|
4506
4551
|
* @response `200` `UserGroupMember` OK
|
|
4507
4552
|
*/
|
|
4508
|
-
createUserGroupMember: (groupId, data, query, params = {}) => this.request(Object.assign({ path: `/api/user-groups/${groupId}/members`, method: "POST", query: query, body: data, secure: true, type:
|
|
4553
|
+
createUserGroupMember: (groupId, data, query, params = {}) => this.request(Object.assign({ path: `/api/user-groups/${groupId}/members`, method: "POST", query: query, body: data, secure: true, type: "application/json", format: "json" }, params)),
|
|
4509
4554
|
/**
|
|
4510
4555
|
* No description
|
|
4511
4556
|
*
|
|
@@ -4549,7 +4594,7 @@ export class Api extends HttpClient {
|
|
|
4549
4594
|
* @secure
|
|
4550
4595
|
* @response `200` `UserGroup` OK
|
|
4551
4596
|
*/
|
|
4552
|
-
updateUserGroup: (groupId, data, params = {}) => this.request(Object.assign({ path: `/api/user-groups/${groupId}`, method: "PUT", body: data, secure: true, type:
|
|
4597
|
+
updateUserGroup: (groupId, data, params = {}) => this.request(Object.assign({ path: `/api/user-groups/${groupId}`, method: "PUT", body: data, secure: true, type: "application/json", format: "json" }, params)),
|
|
4553
4598
|
/**
|
|
4554
4599
|
* No description
|
|
4555
4600
|
*
|
|
@@ -4571,7 +4616,7 @@ export class Api extends HttpClient {
|
|
|
4571
4616
|
* @secure
|
|
4572
4617
|
* @response `201` `UserGroup` Created
|
|
4573
4618
|
*/
|
|
4574
|
-
createUserGroup: (data, params = {}) => this.request(Object.assign({ path: `/api/user-groups`, method: "POST", body: data, secure: true, type:
|
|
4619
|
+
createUserGroup: (data, params = {}) => this.request(Object.assign({ path: `/api/user-groups`, method: "POST", body: data, secure: true, type: "application/json", format: "json" }, params)),
|
|
4575
4620
|
/**
|
|
4576
4621
|
* No description
|
|
4577
4622
|
*
|
|
@@ -4584,7 +4629,7 @@ export class Api extends HttpClient {
|
|
|
4584
4629
|
* @response `404` `Error` Not Found
|
|
4585
4630
|
* @response `422` `UnprocessableEntity` Unprocessable Content
|
|
4586
4631
|
*/
|
|
4587
|
-
requestImpersonation: (data, params = {}) => this.request(Object.assign({ path: `/api/users/impersonation/request`, method: "POST", body: data, secure: true, type:
|
|
4632
|
+
requestImpersonation: (data, params = {}) => this.request(Object.assign({ path: `/api/users/impersonation/request`, method: "POST", body: data, secure: true, type: "application/json" }, params)),
|
|
4588
4633
|
/**
|
|
4589
4634
|
* No description
|
|
4590
4635
|
*
|
|
@@ -4597,7 +4642,7 @@ export class Api extends HttpClient {
|
|
|
4597
4642
|
* @response `404` `Error` Not Found
|
|
4598
4643
|
* @response `422` `UnprocessableEntity` Unprocessable Content
|
|
4599
4644
|
*/
|
|
4600
|
-
allowImpersonation: (data, params = {}) => this.request(Object.assign({ path: `/api/users/impersonation/allow`, method: "POST", body: data, secure: true, type:
|
|
4645
|
+
allowImpersonation: (data, params = {}) => this.request(Object.assign({ path: `/api/users/impersonation/allow`, method: "POST", body: data, secure: true, type: "application/json" }, params)),
|
|
4601
4646
|
/**
|
|
4602
4647
|
* No description
|
|
4603
4648
|
*
|
|
@@ -4647,7 +4692,7 @@ export class Api extends HttpClient {
|
|
|
4647
4692
|
* @response `404` `Error` Not Found
|
|
4648
4693
|
* @response `422` `UnprocessableEntity` Unprocessable Content
|
|
4649
4694
|
*/
|
|
4650
|
-
forceImpersonation: (data, params = {}) => this.request(Object.assign({ path: `/api/users/impersonation/force`, method: "POST", body: data, secure: true, type:
|
|
4695
|
+
forceImpersonation: (data, params = {}) => this.request(Object.assign({ path: `/api/users/impersonation/force`, method: "POST", body: data, secure: true, type: "application/json" }, params)),
|
|
4651
4696
|
/**
|
|
4652
4697
|
* No description
|
|
4653
4698
|
*
|
|
@@ -4671,7 +4716,7 @@ export class Api extends HttpClient {
|
|
|
4671
4716
|
* @response `204` `void` No Content
|
|
4672
4717
|
* @response `422` `UnprocessableEntity` Unprocessable Content
|
|
4673
4718
|
*/
|
|
4674
|
-
inviteUser: (data, params = {}) => this.request(Object.assign({ path: `/api/users/invites`, method: "POST", body: data, secure: true, type:
|
|
4719
|
+
inviteUser: (data, params = {}) => this.request(Object.assign({ path: `/api/users/invites`, method: "POST", body: data, secure: true, type: "application/json" }, params)),
|
|
4675
4720
|
/**
|
|
4676
4721
|
* No description
|
|
4677
4722
|
*
|
|
@@ -4718,7 +4763,7 @@ export class Api extends HttpClient {
|
|
|
4718
4763
|
* @secure
|
|
4719
4764
|
* @response `204` `void` No Content
|
|
4720
4765
|
*/
|
|
4721
|
-
createUserRelation: (userId, data, params = {}) => this.request(Object.assign({ path: `/api/users/${userId}/relations`, method: "POST", body: data, secure: true, type:
|
|
4766
|
+
createUserRelation: (userId, data, params = {}) => this.request(Object.assign({ path: `/api/users/${userId}/relations`, method: "POST", body: data, secure: true, type: "application/json" }, params)),
|
|
4722
4767
|
/**
|
|
4723
4768
|
* No description
|
|
4724
4769
|
*
|
|
@@ -4763,7 +4808,7 @@ export class Api extends HttpClient {
|
|
|
4763
4808
|
* @response `200` `DetailedUser` OK
|
|
4764
4809
|
* @response `422` `UnprocessableEntity` Unprocessable Content
|
|
4765
4810
|
*/
|
|
4766
|
-
createUser: (data, params = {}) => this.request(Object.assign({ path: `/api/users`, method: "POST", body: data, secure: true, type:
|
|
4811
|
+
createUser: (data, params = {}) => this.request(Object.assign({ path: `/api/users`, method: "POST", body: data, secure: true, type: "application/json", format: "json" }, params)),
|
|
4767
4812
|
/**
|
|
4768
4813
|
* No description
|
|
4769
4814
|
*
|
|
@@ -4774,7 +4819,7 @@ export class Api extends HttpClient {
|
|
|
4774
4819
|
* @secure
|
|
4775
4820
|
* @response `200` `UserPaginated` OK
|
|
4776
4821
|
*/
|
|
4777
|
-
searchUsers: (data, query, params = {}) => this.request(Object.assign({ path: `/api/users/search`, method: "POST", query: query, body: data, secure: true, type:
|
|
4822
|
+
searchUsers: (data, query, params = {}) => this.request(Object.assign({ path: `/api/users/search`, method: "POST", query: query, body: data, secure: true, type: "application/json", format: "json" }, params)),
|
|
4778
4823
|
/**
|
|
4779
4824
|
* No description
|
|
4780
4825
|
*
|
|
@@ -4785,7 +4830,7 @@ export class Api extends HttpClient {
|
|
|
4785
4830
|
* @secure
|
|
4786
4831
|
* @response `200` `AdminAccessUser` OK
|
|
4787
4832
|
*/
|
|
4788
|
-
getUserByEmail: (data, params = {}) => this.request(Object.assign({ path: `/api/users/byemail`, method: "POST", body: data, secure: true, type:
|
|
4833
|
+
getUserByEmail: (data, params = {}) => this.request(Object.assign({ path: `/api/users/byemail`, method: "POST", body: data, secure: true, type: "application/json", format: "json" }, params)),
|
|
4789
4834
|
/**
|
|
4790
4835
|
* No description
|
|
4791
4836
|
*
|
|
@@ -4797,7 +4842,7 @@ export class Api extends HttpClient {
|
|
|
4797
4842
|
* @response `200` `User` OK
|
|
4798
4843
|
* @response `422` `UnprocessableEntity` Unprocessable Content
|
|
4799
4844
|
*/
|
|
4800
|
-
signUp: (data, params = {}) => this.request(Object.assign({ path: `/api/users/register`, method: "POST", body: data, secure: true, type:
|
|
4845
|
+
signUp: (data, params = {}) => this.request(Object.assign({ path: `/api/users/register`, method: "POST", body: data, secure: true, type: "application/json", format: "json" }, params)),
|
|
4801
4846
|
/**
|
|
4802
4847
|
* No description
|
|
4803
4848
|
*
|
|
@@ -4809,7 +4854,7 @@ export class Api extends HttpClient {
|
|
|
4809
4854
|
* @response `200` `DetailedUser` OK
|
|
4810
4855
|
* @response `422` `UnprocessableEntity` Unprocessable Content
|
|
4811
4856
|
*/
|
|
4812
|
-
replaceUser: (id, data, params = {}) => this.request(Object.assign({ path: `/api/users/${id}`, method: "PUT", body: data, secure: true, type:
|
|
4857
|
+
replaceUser: (id, data, params = {}) => this.request(Object.assign({ path: `/api/users/${id}`, method: "PUT", body: data, secure: true, type: "application/json", format: "json" }, params)),
|
|
4813
4858
|
/**
|
|
4814
4859
|
* No description
|
|
4815
4860
|
*
|
|
@@ -4843,7 +4888,7 @@ export class Api extends HttpClient {
|
|
|
4843
4888
|
* @response `204` `void` No Content
|
|
4844
4889
|
* @response `422` `UnprocessableEntity` Unprocessable Content
|
|
4845
4890
|
*/
|
|
4846
|
-
changePassword: (data, params = {}) => this.request(Object.assign({ path: `/api/users/change-password`, method: "POST", body: data, secure: true, type:
|
|
4891
|
+
changePassword: (data, params = {}) => this.request(Object.assign({ path: `/api/users/change-password`, method: "POST", body: data, secure: true, type: "application/json" }, params)),
|
|
4847
4892
|
/**
|
|
4848
4893
|
* No description
|
|
4849
4894
|
*
|
|
@@ -4855,7 +4900,7 @@ export class Api extends HttpClient {
|
|
|
4855
4900
|
* @response `204` `void` No Content
|
|
4856
4901
|
* @response `422` `UnprocessableEntity` Unprocessable Content
|
|
4857
4902
|
*/
|
|
4858
|
-
verifyPassword: (data, params = {}) => this.request(Object.assign({ path: `/api/users/verify-password`, method: "POST", body: data, secure: true, type:
|
|
4903
|
+
verifyPassword: (data, params = {}) => this.request(Object.assign({ path: `/api/users/verify-password`, method: "POST", body: data, secure: true, type: "application/json" }, params)),
|
|
4859
4904
|
/**
|
|
4860
4905
|
* No description
|
|
4861
4906
|
*
|
|
@@ -4867,7 +4912,7 @@ export class Api extends HttpClient {
|
|
|
4867
4912
|
* @response `204` `void` No Content
|
|
4868
4913
|
* @response `422` `UnprocessableEntity` Unprocessable Content
|
|
4869
4914
|
*/
|
|
4870
|
-
overridePassword: (id, data, params = {}) => this.request(Object.assign({ path: `/api/users/${id}/override-password`, method: "POST", body: data, secure: true, type:
|
|
4915
|
+
overridePassword: (id, data, params = {}) => this.request(Object.assign({ path: `/api/users/${id}/override-password`, method: "POST", body: data, secure: true, type: "application/json" }, params)),
|
|
4871
4916
|
/**
|
|
4872
4917
|
* No description
|
|
4873
4918
|
*
|
|
@@ -4879,7 +4924,7 @@ export class Api extends HttpClient {
|
|
|
4879
4924
|
* @response `204` `void` No Content
|
|
4880
4925
|
* @response `422` `UnprocessableEntity` Unprocessable Content
|
|
4881
4926
|
*/
|
|
4882
|
-
forgotPassword: (data, params = {}) => this.request(Object.assign({ path: `/api/users/forgot-password`, method: "POST", body: data, secure: true, type:
|
|
4927
|
+
forgotPassword: (data, params = {}) => this.request(Object.assign({ path: `/api/users/forgot-password`, method: "POST", body: data, secure: true, type: "application/json" }, params)),
|
|
4883
4928
|
/**
|
|
4884
4929
|
* No description
|
|
4885
4930
|
*
|
|
@@ -4903,7 +4948,7 @@ export class Api extends HttpClient {
|
|
|
4903
4948
|
* @response `204` `void` No Content
|
|
4904
4949
|
* @response `422` `UnprocessableEntity` Unprocessable Content
|
|
4905
4950
|
*/
|
|
4906
|
-
verifyUserMobilePhone: (data, params = {}) => this.request(Object.assign({ path: `/api/users/mobile-phone/verify-code`, method: "PUT", body: data, secure: true, type:
|
|
4951
|
+
verifyUserMobilePhone: (data, params = {}) => this.request(Object.assign({ path: `/api/users/mobile-phone/verify-code`, method: "PUT", body: data, secure: true, type: "application/json" }, params)),
|
|
4907
4952
|
/**
|
|
4908
4953
|
* No description
|
|
4909
4954
|
*
|
|
@@ -4926,7 +4971,7 @@ export class Api extends HttpClient {
|
|
|
4926
4971
|
* @secure
|
|
4927
4972
|
* @response `200` `DetailedUser` OK
|
|
4928
4973
|
*/
|
|
4929
|
-
replaceMe: (data, params = {}) => this.request(Object.assign({ path: `/api/users/me`, method: "PUT", body: data, secure: true, type:
|
|
4974
|
+
replaceMe: (data, params = {}) => this.request(Object.assign({ path: `/api/users/me`, method: "PUT", body: data, secure: true, type: "application/json", format: "json" }, params)),
|
|
4930
4975
|
/**
|
|
4931
4976
|
* @description Update the phone number If changed will send a verification code to the new number
|
|
4932
4977
|
*
|
|
@@ -4937,7 +4982,7 @@ export class Api extends HttpClient {
|
|
|
4937
4982
|
* @secure
|
|
4938
4983
|
* @response `204` `DetailedUser` No Content
|
|
4939
4984
|
*/
|
|
4940
|
-
updateMyPhone: (data, params = {}) => this.request(Object.assign({ path: `/api/users/me/phone-number`, method: "PUT", body: data, secure: true, type:
|
|
4985
|
+
updateMyPhone: (data, params = {}) => this.request(Object.assign({ path: `/api/users/me/phone-number`, method: "PUT", body: data, secure: true, type: "application/json", format: "json" }, params)),
|
|
4941
4986
|
/**
|
|
4942
4987
|
* No description
|
|
4943
4988
|
*
|
|
@@ -4981,7 +5026,7 @@ export class Api extends HttpClient {
|
|
|
4981
5026
|
* @secure
|
|
4982
5027
|
* @response `204` `void` No Content
|
|
4983
5028
|
*/
|
|
4984
|
-
deleteMe: (data, params = {}) => this.request(Object.assign({ path: `/api/users/me/delete`, method: "POST", body: data, secure: true, type:
|
|
5029
|
+
deleteMe: (data, params = {}) => this.request(Object.assign({ path: `/api/users/me/delete`, method: "POST", body: data, secure: true, type: "application/json" }, params)),
|
|
4985
5030
|
/**
|
|
4986
5031
|
* No description
|
|
4987
5032
|
*
|
|
@@ -4992,7 +5037,7 @@ export class Api extends HttpClient {
|
|
|
4992
5037
|
* @secure
|
|
4993
5038
|
* @response `200` `GetForm` OK
|
|
4994
5039
|
*/
|
|
4995
|
-
getWorkflow: (data, params = {}) => this.request(Object.assign({ path: `/api/workflow`, method: "POST", body: data, secure: true, type:
|
|
5040
|
+
getWorkflow: (data, params = {}) => this.request(Object.assign({ path: `/api/workflow`, method: "POST", body: data, secure: true, type: "application/json", format: "json" }, params)),
|
|
4996
5041
|
};
|
|
4997
5042
|
this.sso = {
|
|
4998
5043
|
/**
|