@matech/thebigpos-sdk 2.40.6-rc1 → 2.42.1
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/dist/index.d.ts +43 -23
- package/dist/index.js +172 -169
- package/dist/index.js.map +1 -1
- package/package.json +2 -2
- package/src/index.ts +224 -182
package/dist/index.js
CHANGED
|
@@ -30,14 +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["Json"] = "application/json";
|
|
36
|
-
ContentType["JsonApi"] = "application/vnd.api+json";
|
|
37
|
-
ContentType["FormData"] = "multipart/form-data";
|
|
38
|
-
ContentType["UrlEncoded"] = "application/x-www-form-urlencoded";
|
|
39
|
-
ContentType["Text"] = "text/plain";
|
|
40
|
-
})(ContentType || (ContentType = {}));
|
|
41
33
|
export class HttpClient {
|
|
42
34
|
constructor(_a = {}) {
|
|
43
35
|
var { securityWorker, secure, format } = _a, axiosConfig = __rest(_a, ["securityWorker", "secure", "format"]);
|
|
@@ -53,13 +45,13 @@ export class HttpClient {
|
|
|
53
45
|
{};
|
|
54
46
|
const requestParams = this.mergeRequestParams(params, secureParams);
|
|
55
47
|
const responseFormat = format || this.format || undefined;
|
|
56
|
-
if (type ===
|
|
48
|
+
if (type === "multipart/form-data" &&
|
|
57
49
|
body &&
|
|
58
50
|
body !== null &&
|
|
59
51
|
typeof body === "object") {
|
|
60
52
|
body = this.createFormData(body);
|
|
61
53
|
}
|
|
62
|
-
if (type ===
|
|
54
|
+
if (type === "text/plain" &&
|
|
63
55
|
body &&
|
|
64
56
|
body !== null &&
|
|
65
57
|
typeof body !== "string") {
|
|
@@ -103,7 +95,7 @@ export class HttpClient {
|
|
|
103
95
|
}
|
|
104
96
|
/**
|
|
105
97
|
* @title The Big POS API
|
|
106
|
-
* @version v2.
|
|
98
|
+
* @version v2.42.0
|
|
107
99
|
* @termsOfService https://www.thebigpos.com/terms-of-use/
|
|
108
100
|
* @contact Mortgage Automation Technologies <support@thebigpos.com> (https://www.thebigpos.com/terms-of-use/)
|
|
109
101
|
*/
|
|
@@ -155,7 +147,7 @@ export class Api extends HttpClient {
|
|
|
155
147
|
* @response `404` `ProblemDetails` Not Found
|
|
156
148
|
* @response `422` `ProblemDetails` Client Error
|
|
157
149
|
*/
|
|
158
|
-
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)),
|
|
159
151
|
/**
|
|
160
152
|
* No description
|
|
161
153
|
*
|
|
@@ -178,7 +170,7 @@ export class Api extends HttpClient {
|
|
|
178
170
|
* @response `200` `SiteConfiguration` Success
|
|
179
171
|
* @response `422` `UnprocessableEntity` Client Error
|
|
180
172
|
*/
|
|
181
|
-
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)),
|
|
182
174
|
/**
|
|
183
175
|
* No description
|
|
184
176
|
*
|
|
@@ -189,7 +181,7 @@ export class Api extends HttpClient {
|
|
|
189
181
|
* @secure
|
|
190
182
|
* @response `204` `void` No Content
|
|
191
183
|
*/
|
|
192
|
-
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)),
|
|
193
185
|
/**
|
|
194
186
|
* No description
|
|
195
187
|
*
|
|
@@ -201,7 +193,7 @@ export class Api extends HttpClient {
|
|
|
201
193
|
* @response `204` `void` No Content
|
|
202
194
|
* @response `400` `ProblemDetails` Bad Request
|
|
203
195
|
*/
|
|
204
|
-
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)),
|
|
205
197
|
/**
|
|
206
198
|
* No description
|
|
207
199
|
*
|
|
@@ -224,7 +216,7 @@ export class Api extends HttpClient {
|
|
|
224
216
|
* @response `201` `Account` Created
|
|
225
217
|
* @response `422` `ProblemDetails` Client Error
|
|
226
218
|
*/
|
|
227
|
-
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)),
|
|
228
220
|
/**
|
|
229
221
|
* No description
|
|
230
222
|
*
|
|
@@ -262,7 +254,7 @@ export class Api extends HttpClient {
|
|
|
262
254
|
* @response `404` `ProblemDetails` Not Found
|
|
263
255
|
* @response `422` `ProblemDetails` Client Error
|
|
264
256
|
*/
|
|
265
|
-
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)),
|
|
266
258
|
/**
|
|
267
259
|
* No description
|
|
268
260
|
*
|
|
@@ -273,7 +265,7 @@ export class Api extends HttpClient {
|
|
|
273
265
|
* @secure
|
|
274
266
|
* @response `200` `AuditLogEntryPaginated` Success
|
|
275
267
|
*/
|
|
276
|
-
searchAuditLogs: (data, query, params = {}) => this.request(Object.assign({ path: `/api/audit-logs/search`, method: "POST", query: query, body: data, secure: true, type:
|
|
268
|
+
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)),
|
|
277
269
|
/**
|
|
278
270
|
* No description
|
|
279
271
|
*
|
|
@@ -309,7 +301,7 @@ export class Api extends HttpClient {
|
|
|
309
301
|
* @response `401` `ProblemDetails` Unauthorized
|
|
310
302
|
* @response `422` `UnprocessableEntity` Client Error
|
|
311
303
|
*/
|
|
312
|
-
getTokenFromRefreshToken: (data, params = {}) => this.request(Object.assign({ path: `/api/refresh-token`, method: "POST", body: data, secure: true, type:
|
|
304
|
+
getTokenFromRefreshToken: (data, params = {}) => this.request(Object.assign({ path: `/api/refresh-token`, method: "POST", body: data, secure: true, type: "application/json", format: "json" }, params)),
|
|
313
305
|
/**
|
|
314
306
|
* No description
|
|
315
307
|
*
|
|
@@ -321,7 +313,7 @@ export class Api extends HttpClient {
|
|
|
321
313
|
* @response `200` `AccountDeactivated` Success
|
|
322
314
|
* @response `422` `UnprocessableEntity` Client Error
|
|
323
315
|
*/
|
|
324
|
-
getToken: (data, params = {}) => this.request(Object.assign({ path: `/api/token`, method: "POST", body: data, secure: true, type:
|
|
316
|
+
getToken: (data, params = {}) => this.request(Object.assign({ path: `/api/token`, method: "POST", body: data, secure: true, type: "application/json", format: "json" }, params)),
|
|
325
317
|
/**
|
|
326
318
|
* No description
|
|
327
319
|
*
|
|
@@ -333,7 +325,7 @@ export class Api extends HttpClient {
|
|
|
333
325
|
* @response `200` `AccountDeactivated` Success
|
|
334
326
|
* @response `422` `UnprocessableEntity` Client Error
|
|
335
327
|
*/
|
|
336
|
-
getTokenFromChallengeCode: (data, params = {}) => this.request(Object.assign({ path: `/api/token/code`, method: "POST", body: data, secure: true, type:
|
|
328
|
+
getTokenFromChallengeCode: (data, params = {}) => this.request(Object.assign({ path: `/api/token/code`, method: "POST", body: data, secure: true, type: "application/json", format: "json" }, params)),
|
|
337
329
|
/**
|
|
338
330
|
* No description
|
|
339
331
|
*
|
|
@@ -345,7 +337,7 @@ export class Api extends HttpClient {
|
|
|
345
337
|
* @response `200` `Token` Success
|
|
346
338
|
* @response `422` `UnprocessableEntity` Client Error
|
|
347
339
|
*/
|
|
348
|
-
getSystemToken: (data, params = {}) => this.request(Object.assign({ path: `/api/oauth2/token`, method: "POST", body: data, secure: true, type:
|
|
340
|
+
getSystemToken: (data, params = {}) => this.request(Object.assign({ path: `/api/oauth2/token`, method: "POST", body: data, secure: true, type: "application/json", format: "json" }, params)),
|
|
349
341
|
/**
|
|
350
342
|
* No description
|
|
351
343
|
*
|
|
@@ -357,7 +349,7 @@ export class Api extends HttpClient {
|
|
|
357
349
|
* @response `200` `SSOToken` Success
|
|
358
350
|
* @response `422` `UnprocessableEntity` Client Error
|
|
359
351
|
*/
|
|
360
|
-
getSsoToken: (data, params = {}) => this.request(Object.assign({ path: `/api/token/sso`, method: "POST", body: data, secure: true, type:
|
|
352
|
+
getSsoToken: (data, params = {}) => this.request(Object.assign({ path: `/api/token/sso`, method: "POST", body: data, secure: true, type: "application/json", format: "json" }, params)),
|
|
361
353
|
/**
|
|
362
354
|
* No description
|
|
363
355
|
*
|
|
@@ -392,7 +384,7 @@ export class Api extends HttpClient {
|
|
|
392
384
|
* @response `200` `GetBranch` Success
|
|
393
385
|
* @response `422` `UnprocessableEntity` Client Error
|
|
394
386
|
*/
|
|
395
|
-
createBranch: (data, params = {}) => this.request(Object.assign({ path: `/api/branches`, method: "POST", body: data, secure: true, type:
|
|
387
|
+
createBranch: (data, params = {}) => this.request(Object.assign({ path: `/api/branches`, method: "POST", body: data, secure: true, type: "application/json", format: "json" }, params)),
|
|
396
388
|
/**
|
|
397
389
|
* No description
|
|
398
390
|
*
|
|
@@ -403,7 +395,7 @@ export class Api extends HttpClient {
|
|
|
403
395
|
* @secure
|
|
404
396
|
* @response `200` `GetBranchPaginated` Success
|
|
405
397
|
*/
|
|
406
|
-
searchBranches: (data, query, params = {}) => this.request(Object.assign({ path: `/api/branches/search`, method: "POST", query: query, body: data, secure: true, type:
|
|
398
|
+
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)),
|
|
407
399
|
/**
|
|
408
400
|
* No description
|
|
409
401
|
*
|
|
@@ -426,7 +418,7 @@ export class Api extends HttpClient {
|
|
|
426
418
|
* @response `200` `GetBranch` Success
|
|
427
419
|
* @response `422` `UnprocessableEntity` Client Error
|
|
428
420
|
*/
|
|
429
|
-
replaceBranch: (branchId, data, params = {}) => this.request(Object.assign({ path: `/api/branches/${branchId}`, method: "PUT", body: data, secure: true, type:
|
|
421
|
+
replaceBranch: (branchId, data, params = {}) => this.request(Object.assign({ path: `/api/branches/${branchId}`, method: "PUT", body: data, secure: true, type: "application/json", format: "json" }, params)),
|
|
430
422
|
/**
|
|
431
423
|
* No description
|
|
432
424
|
*
|
|
@@ -461,7 +453,7 @@ export class Api extends HttpClient {
|
|
|
461
453
|
* @response `200` `SiteConfiguration` Success
|
|
462
454
|
* @response `422` `UnprocessableEntity` Client Error
|
|
463
455
|
*/
|
|
464
|
-
createBranchSiteConfiguration: (branchId, data, params = {}) => this.request(Object.assign({ path: `/api/branches/${branchId}/site-configurations`, method: "POST", body: data, secure: true, type:
|
|
456
|
+
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)),
|
|
465
457
|
/**
|
|
466
458
|
* No description
|
|
467
459
|
*
|
|
@@ -484,7 +476,7 @@ export class Api extends HttpClient {
|
|
|
484
476
|
* @response `200` `SiteConfiguration` Success
|
|
485
477
|
* @response `422` `UnprocessableEntity` Client Error
|
|
486
478
|
*/
|
|
487
|
-
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:
|
|
479
|
+
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)),
|
|
488
480
|
/**
|
|
489
481
|
* No description
|
|
490
482
|
*
|
|
@@ -518,7 +510,7 @@ export class Api extends HttpClient {
|
|
|
518
510
|
* @response `200` `BusinessRule` Success
|
|
519
511
|
* @response `422` `UnprocessableEntity` Client Error
|
|
520
512
|
*/
|
|
521
|
-
createBusinessRule: (data, params = {}) => this.request(Object.assign({ path: `/api/business-rules`, method: "POST", body: data, secure: true, type:
|
|
513
|
+
createBusinessRule: (data, params = {}) => this.request(Object.assign({ path: `/api/business-rules`, method: "POST", body: data, secure: true, type: "application/json", format: "json" }, params)),
|
|
522
514
|
/**
|
|
523
515
|
* No description
|
|
524
516
|
*
|
|
@@ -541,7 +533,7 @@ export class Api extends HttpClient {
|
|
|
541
533
|
* @response `200` `BusinessRule` Success
|
|
542
534
|
* @response `422` `UnprocessableEntity` Client Error
|
|
543
535
|
*/
|
|
544
|
-
replaceBusinessRule: (id, data, params = {}) => this.request(Object.assign({ path: `/api/business-rules/${id}`, method: "PUT", body: data, secure: true, type:
|
|
536
|
+
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)),
|
|
545
537
|
/**
|
|
546
538
|
* No description
|
|
547
539
|
*
|
|
@@ -574,7 +566,7 @@ export class Api extends HttpClient {
|
|
|
574
566
|
* @secure
|
|
575
567
|
* @response `200` `ClosedLoansReport` Success
|
|
576
568
|
*/
|
|
577
|
-
getClosedLoansReport: (data, params = {}) => this.request(Object.assign({ path: `/api/loans/reports/closed-loans`, method: "POST", body: data, secure: true, type:
|
|
569
|
+
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)),
|
|
578
570
|
/**
|
|
579
571
|
* No description
|
|
580
572
|
*
|
|
@@ -619,7 +611,7 @@ export class Api extends HttpClient {
|
|
|
619
611
|
* @response `200` `Corporate` Success
|
|
620
612
|
* @response `422` `UnprocessableEntity` Client Error
|
|
621
613
|
*/
|
|
622
|
-
createCorporate: (data, params = {}) => this.request(Object.assign({ path: `/api/corporates`, method: "POST", body: data, secure: true, type:
|
|
614
|
+
createCorporate: (data, params = {}) => this.request(Object.assign({ path: `/api/corporates`, method: "POST", body: data, secure: true, type: "application/json", format: "json" }, params)),
|
|
623
615
|
/**
|
|
624
616
|
* No description
|
|
625
617
|
*
|
|
@@ -630,7 +622,7 @@ export class Api extends HttpClient {
|
|
|
630
622
|
* @secure
|
|
631
623
|
* @response `200` `CorporatePaginated` Success
|
|
632
624
|
*/
|
|
633
|
-
searchCorporate: (data, query, params = {}) => this.request(Object.assign({ path: `/api/corporates/search`, method: "POST", query: query, body: data, secure: true, type:
|
|
625
|
+
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)),
|
|
634
626
|
/**
|
|
635
627
|
* No description
|
|
636
628
|
*
|
|
@@ -653,7 +645,7 @@ export class Api extends HttpClient {
|
|
|
653
645
|
* @response `200` `Corporate` Success
|
|
654
646
|
* @response `422` `UnprocessableEntity` Client Error
|
|
655
647
|
*/
|
|
656
|
-
replaceCorporate: (id, data, params = {}) => this.request(Object.assign({ path: `/api/corporates/${id}`, method: "PUT", body: data, secure: true, type:
|
|
648
|
+
replaceCorporate: (id, data, params = {}) => this.request(Object.assign({ path: `/api/corporates/${id}`, method: "PUT", body: data, secure: true, type: "application/json", format: "json" }, params)),
|
|
657
649
|
/**
|
|
658
650
|
* No description
|
|
659
651
|
*
|
|
@@ -687,7 +679,7 @@ export class Api extends HttpClient {
|
|
|
687
679
|
* @response `200` `SiteConfiguration` Success
|
|
688
680
|
* @response `422` `UnprocessableEntity` Client Error
|
|
689
681
|
*/
|
|
690
|
-
createCorporateSiteConfiguration: (corporateId, data, params = {}) => this.request(Object.assign({ path: `/api/corporates/${corporateId}/site-configurations`, method: "POST", body: data, secure: true, type:
|
|
682
|
+
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)),
|
|
691
683
|
/**
|
|
692
684
|
* No description
|
|
693
685
|
*
|
|
@@ -710,7 +702,7 @@ export class Api extends HttpClient {
|
|
|
710
702
|
* @response `200` `SiteConfiguration` Success
|
|
711
703
|
* @response `422` `UnprocessableEntity` Client Error
|
|
712
704
|
*/
|
|
713
|
-
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:
|
|
705
|
+
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)),
|
|
714
706
|
/**
|
|
715
707
|
* No description
|
|
716
708
|
*
|
|
@@ -756,7 +748,7 @@ export class Api extends HttpClient {
|
|
|
756
748
|
* @response `409` `ProblemDetails` Conflict
|
|
757
749
|
* @response `422` `ProblemDetails` Client Error
|
|
758
750
|
*/
|
|
759
|
-
createCustomFieldDefinition: (data, params = {}) => this.request(Object.assign({ path: `/api/custom-field-definitions`, method: "POST", body: data, secure: true, type:
|
|
751
|
+
createCustomFieldDefinition: (data, params = {}) => this.request(Object.assign({ path: `/api/custom-field-definitions`, method: "POST", body: data, secure: true, type: "application/json", format: "json" }, params)),
|
|
760
752
|
/**
|
|
761
753
|
* No description
|
|
762
754
|
*
|
|
@@ -783,7 +775,7 @@ export class Api extends HttpClient {
|
|
|
783
775
|
* @response `409` `ProblemDetails` Conflict
|
|
784
776
|
* @response `422` `ProblemDetails` Client Error
|
|
785
777
|
*/
|
|
786
|
-
updateCustomFieldDefinition: (id, data, params = {}) => this.request(Object.assign({ path: `/api/custom-field-definitions/${id}`, method: "PUT", body: data, secure: true, type:
|
|
778
|
+
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)),
|
|
787
779
|
/**
|
|
788
780
|
* No description
|
|
789
781
|
*
|
|
@@ -853,7 +845,7 @@ export class Api extends HttpClient {
|
|
|
853
845
|
* @secure
|
|
854
846
|
* @response `200` `Device` Success
|
|
855
847
|
*/
|
|
856
|
-
updateDevice: (id, data, params = {}) => this.request(Object.assign({ path: `/api/devices/${id}`, method: "PUT", body: data, secure: true, type:
|
|
848
|
+
updateDevice: (id, data, params = {}) => this.request(Object.assign({ path: `/api/devices/${id}`, method: "PUT", body: data, secure: true, type: "application/json", format: "json" }, params)),
|
|
857
849
|
/**
|
|
858
850
|
* No description
|
|
859
851
|
*
|
|
@@ -910,7 +902,7 @@ export class Api extends HttpClient {
|
|
|
910
902
|
* @response `404` `ProblemDetails` Not Found
|
|
911
903
|
* @response `422` `UnprocessableEntity` Client Error
|
|
912
904
|
*/
|
|
913
|
-
createDocumentTemplate: (data, params = {}) => this.request(Object.assign({ path: `/api/document-templates`, method: "POST", body: data, secure: true, type:
|
|
905
|
+
createDocumentTemplate: (data, params = {}) => this.request(Object.assign({ path: `/api/document-templates`, method: "POST", body: data, secure: true, type: "application/json", format: "json" }, params)),
|
|
914
906
|
/**
|
|
915
907
|
* No description
|
|
916
908
|
*
|
|
@@ -947,7 +939,7 @@ export class Api extends HttpClient {
|
|
|
947
939
|
* @response `404` `ProblemDetails` Not Found
|
|
948
940
|
* @response `422` `UnprocessableEntity` Client Error
|
|
949
941
|
*/
|
|
950
|
-
replaceDocumentTemplate: (id, data, params = {}) => this.request(Object.assign({ path: `/api/document-templates/${id}`, method: "PUT", body: data, secure: true, type:
|
|
942
|
+
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)),
|
|
951
943
|
/**
|
|
952
944
|
* No description
|
|
953
945
|
*
|
|
@@ -995,7 +987,7 @@ export class Api extends HttpClient {
|
|
|
995
987
|
* @secure
|
|
996
988
|
* @response `200` `DocumentTemplateVersion` Success
|
|
997
989
|
*/
|
|
998
|
-
createDocumentTemplateVersion: (documentId, data, params = {}) => this.request(Object.assign({ path: `/api/document-templates/${documentId}/versions`, method: "POST", body: data, secure: true, type:
|
|
990
|
+
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)),
|
|
999
991
|
/**
|
|
1000
992
|
* No description
|
|
1001
993
|
*
|
|
@@ -1017,7 +1009,7 @@ export class Api extends HttpClient {
|
|
|
1017
1009
|
* @secure
|
|
1018
1010
|
* @response `200` `DocumentTemplateVersion` Success
|
|
1019
1011
|
*/
|
|
1020
|
-
replaceDocumentTemplateVersion: (documentId, id, data, params = {}) => this.request(Object.assign({ path: `/api/document-templates/${documentId}/versions/${id}`, method: "PUT", body: data, secure: true, type:
|
|
1012
|
+
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)),
|
|
1021
1013
|
/**
|
|
1022
1014
|
* No description
|
|
1023
1015
|
*
|
|
@@ -1053,7 +1045,7 @@ export class Api extends HttpClient {
|
|
|
1053
1045
|
* @response `409` `void` Conflict
|
|
1054
1046
|
* @response `422` `ProblemDetails` Client Error
|
|
1055
1047
|
*/
|
|
1056
|
-
addEncompassCustomFieldMapping: (definitionId, data, params = {}) => this.request(Object.assign({ path: `/api/los/encompass/custom-field-mappings/${definitionId}`, method: "POST", body: data, secure: true, type:
|
|
1048
|
+
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)),
|
|
1057
1049
|
/**
|
|
1058
1050
|
* No description
|
|
1059
1051
|
*
|
|
@@ -1138,7 +1130,7 @@ export class Api extends HttpClient {
|
|
|
1138
1130
|
* @response `404` `EncompassError` Not Found
|
|
1139
1131
|
* @response `500` `EncompassError` Server Error
|
|
1140
1132
|
*/
|
|
1141
|
-
createEncompassSession: (data, params = {}) => this.request(Object.assign({ path: `/api/los/encompass/eclose/sessions`, method: "POST", body: data, secure: true, type:
|
|
1133
|
+
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)),
|
|
1142
1134
|
/**
|
|
1143
1135
|
* No description
|
|
1144
1136
|
*
|
|
@@ -1161,7 +1153,7 @@ export class Api extends HttpClient {
|
|
|
1161
1153
|
* @response `201` `File` Created
|
|
1162
1154
|
* @response `422` `UnprocessableEntity` Client Error
|
|
1163
1155
|
*/
|
|
1164
|
-
uploadFile: (data, params = {}) => this.request(Object.assign({ path: `/api/files`, method: "POST", body: data, secure: true, type:
|
|
1156
|
+
uploadFile: (data, params = {}) => this.request(Object.assign({ path: `/api/files`, method: "POST", body: data, secure: true, type: "multipart/form-data", format: "json" }, params)),
|
|
1165
1157
|
/**
|
|
1166
1158
|
* No description
|
|
1167
1159
|
*
|
|
@@ -1184,7 +1176,7 @@ export class Api extends HttpClient {
|
|
|
1184
1176
|
* @response `200` `string` Success
|
|
1185
1177
|
* @response `422` `UnprocessableEntity` Client Error
|
|
1186
1178
|
*/
|
|
1187
|
-
replaceFile: (id, data, params = {}) => this.request(Object.assign({ path: `/api/files/${id}`, method: "PUT", body: data, secure: true, type:
|
|
1179
|
+
replaceFile: (id, data, params = {}) => this.request(Object.assign({ path: `/api/files/${id}`, method: "PUT", body: data, secure: true, type: "application/json", format: "json" }, params)),
|
|
1188
1180
|
/**
|
|
1189
1181
|
* No description
|
|
1190
1182
|
*
|
|
@@ -1206,7 +1198,7 @@ export class Api extends HttpClient {
|
|
|
1206
1198
|
* @secure
|
|
1207
1199
|
* @response `200` `FilePaginated` Success
|
|
1208
1200
|
*/
|
|
1209
|
-
searchFiles: (data, query, params = {}) => this.request(Object.assign({ path: `/api/files/search`, method: "POST", query: query, body: data, secure: true, type:
|
|
1201
|
+
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)),
|
|
1210
1202
|
/**
|
|
1211
1203
|
* No description
|
|
1212
1204
|
*
|
|
@@ -1229,7 +1221,7 @@ export class Api extends HttpClient {
|
|
|
1229
1221
|
* @response `201` `Form` Created
|
|
1230
1222
|
* @response `422` `UnprocessableEntity` Client Error
|
|
1231
1223
|
*/
|
|
1232
|
-
createForm: (data, params = {}) => this.request(Object.assign({ path: `/api/forms`, method: "POST", body: data, secure: true, type:
|
|
1224
|
+
createForm: (data, params = {}) => this.request(Object.assign({ path: `/api/forms`, method: "POST", body: data, secure: true, type: "application/json", format: "json" }, params)),
|
|
1233
1225
|
/**
|
|
1234
1226
|
* No description
|
|
1235
1227
|
*
|
|
@@ -1252,7 +1244,7 @@ export class Api extends HttpClient {
|
|
|
1252
1244
|
* @response `200` `Form` Success
|
|
1253
1245
|
* @response `422` `UnprocessableEntity` Client Error
|
|
1254
1246
|
*/
|
|
1255
|
-
replaceForm: (id, data, params = {}) => this.request(Object.assign({ path: `/api/forms/${id}`, method: "PUT", body: data, secure: true, type:
|
|
1247
|
+
replaceForm: (id, data, params = {}) => this.request(Object.assign({ path: `/api/forms/${id}`, method: "PUT", body: data, secure: true, type: "application/json", format: "json" }, params)),
|
|
1256
1248
|
/**
|
|
1257
1249
|
* No description
|
|
1258
1250
|
*
|
|
@@ -1285,7 +1277,7 @@ export class Api extends HttpClient {
|
|
|
1285
1277
|
* @secure
|
|
1286
1278
|
* @response `200` `FormSubmissionFile` Success
|
|
1287
1279
|
*/
|
|
1288
|
-
addFormSubmissionFile: (formSubmissionId, data, params = {}) => this.request(Object.assign({ path: `/api/form-submissions/${formSubmissionId}/files`, method: "POST", body: data, secure: true, type:
|
|
1280
|
+
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)),
|
|
1289
1281
|
/**
|
|
1290
1282
|
* No description
|
|
1291
1283
|
*
|
|
@@ -1329,7 +1321,7 @@ export class Api extends HttpClient {
|
|
|
1329
1321
|
* @secure
|
|
1330
1322
|
* @response `201` `FormSubmission` Created
|
|
1331
1323
|
*/
|
|
1332
|
-
createFormSubmission: (data, query, params = {}) => this.request(Object.assign({ path: `/api/form-submissions`, method: "POST", query: query, body: data, secure: true, type:
|
|
1324
|
+
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)),
|
|
1333
1325
|
/**
|
|
1334
1326
|
* No description
|
|
1335
1327
|
*
|
|
@@ -1351,7 +1343,7 @@ export class Api extends HttpClient {
|
|
|
1351
1343
|
* @secure
|
|
1352
1344
|
* @response `200` `FormSubmission` Success
|
|
1353
1345
|
*/
|
|
1354
|
-
replaceFormSubmission: (id, data, params = {}) => this.request(Object.assign({ path: `/api/form-submissions/${id}`, method: "PUT", body: data, secure: true, type:
|
|
1346
|
+
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)),
|
|
1355
1347
|
/**
|
|
1356
1348
|
* No description
|
|
1357
1349
|
*
|
|
@@ -1373,7 +1365,7 @@ export class Api extends HttpClient {
|
|
|
1373
1365
|
* @secure
|
|
1374
1366
|
* @response `200` `FormSubmissionPaginated` Success
|
|
1375
1367
|
*/
|
|
1376
|
-
searchFormSubmissions: (data, query, params = {}) => this.request(Object.assign({ path: `/api/form-submissions/search`, method: "POST", query: query, body: data, secure: true, type:
|
|
1368
|
+
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)),
|
|
1377
1369
|
/**
|
|
1378
1370
|
* No description
|
|
1379
1371
|
*
|
|
@@ -1395,7 +1387,7 @@ export class Api extends HttpClient {
|
|
|
1395
1387
|
* @secure
|
|
1396
1388
|
* @response `200` `FormVersion` Success
|
|
1397
1389
|
*/
|
|
1398
|
-
createFormVersion: (formId, data, params = {}) => this.request(Object.assign({ path: `/api/forms/${formId}/versions`, method: "POST", body: data, secure: true, type:
|
|
1390
|
+
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)),
|
|
1399
1391
|
/**
|
|
1400
1392
|
* No description
|
|
1401
1393
|
*
|
|
@@ -1417,7 +1409,7 @@ export class Api extends HttpClient {
|
|
|
1417
1409
|
* @secure
|
|
1418
1410
|
* @response `200` `FormVersion` Success
|
|
1419
1411
|
*/
|
|
1420
|
-
replaceFormVersion: (formId, id, data, params = {}) => this.request(Object.assign({ path: `/api/forms/${formId}/versions/${id}`, method: "PUT", body: data, secure: true, type:
|
|
1412
|
+
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)),
|
|
1421
1413
|
/**
|
|
1422
1414
|
* No description
|
|
1423
1415
|
*
|
|
@@ -1429,6 +1421,17 @@ export class Api extends HttpClient {
|
|
|
1429
1421
|
* @response `200` `FormVersion` Success
|
|
1430
1422
|
*/
|
|
1431
1423
|
deleteFormVersion: (formId, id, params = {}) => this.request(Object.assign({ path: `/api/forms/${formId}/versions/${id}`, method: "DELETE", secure: true, format: "json" }, params)),
|
|
1424
|
+
/**
|
|
1425
|
+
* No description
|
|
1426
|
+
*
|
|
1427
|
+
* @tags IntegrationSettings
|
|
1428
|
+
* @name GetIntegrationSettings
|
|
1429
|
+
* @summary Get Integration Settings
|
|
1430
|
+
* @request GET:/api/integrations/settings
|
|
1431
|
+
* @secure
|
|
1432
|
+
* @response `200` `IntegrationSettings` Success
|
|
1433
|
+
*/
|
|
1434
|
+
getIntegrationSettings: (params = {}) => this.request(Object.assign({ path: `/api/integrations/settings`, method: "GET", secure: true, format: "json" }, params)),
|
|
1432
1435
|
/**
|
|
1433
1436
|
* No description
|
|
1434
1437
|
*
|
|
@@ -1452,7 +1455,7 @@ export class Api extends HttpClient {
|
|
|
1452
1455
|
* @response `200` `string` Success
|
|
1453
1456
|
* @response `422` `UnprocessableEntity` Client Error
|
|
1454
1457
|
*/
|
|
1455
|
-
updateLoanConsentAndCustomFieldsObsolete: (loanId, data, params = {}) => this.request(Object.assign({ path: `/api/los/loan/application/${loanId}`, method: "PATCH", body: data, secure: true, type:
|
|
1458
|
+
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)),
|
|
1456
1459
|
/**
|
|
1457
1460
|
* No description
|
|
1458
1461
|
*
|
|
@@ -1463,7 +1466,7 @@ export class Api extends HttpClient {
|
|
|
1463
1466
|
* @secure
|
|
1464
1467
|
* @response `200` `GetReport` Success
|
|
1465
1468
|
*/
|
|
1466
|
-
getLoansReport: (data, params = {}) => this.request(Object.assign({ path: `/api/los/loan/reports`, method: "POST", body: data, secure: true, type:
|
|
1469
|
+
getLoansReport: (data, params = {}) => this.request(Object.assign({ path: `/api/los/loan/reports`, method: "POST", body: data, secure: true, type: "application/json", format: "json" }, params)),
|
|
1467
1470
|
/**
|
|
1468
1471
|
* No description
|
|
1469
1472
|
*
|
|
@@ -1477,7 +1480,7 @@ export class Api extends HttpClient {
|
|
|
1477
1480
|
* @response `422` `UnprocessableEntity` Client Error
|
|
1478
1481
|
* @response `423` `UnprocessableEntity` Client Error
|
|
1479
1482
|
*/
|
|
1480
|
-
createLoan: (data, query, params = {}) => this.request(Object.assign({ path: `/api/los/loan/application`, method: "POST", query: query, body: data, secure: true, type:
|
|
1483
|
+
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)),
|
|
1481
1484
|
/**
|
|
1482
1485
|
* No description
|
|
1483
1486
|
*
|
|
@@ -1490,7 +1493,7 @@ export class Api extends HttpClient {
|
|
|
1490
1493
|
* @response `422` `UnprocessableEntity` Client Error
|
|
1491
1494
|
* @response `423` `UnprocessableEntity` Client Error
|
|
1492
1495
|
*/
|
|
1493
|
-
createLoanInternal: (data, query, params = {}) => this.request(Object.assign({ path: `/api/los/loan/application/internal`, method: "POST", query: query, body: data, secure: true, type:
|
|
1496
|
+
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)),
|
|
1494
1497
|
/**
|
|
1495
1498
|
* No description
|
|
1496
1499
|
*
|
|
@@ -1502,7 +1505,7 @@ export class Api extends HttpClient {
|
|
|
1502
1505
|
* @response `200` `string` Success
|
|
1503
1506
|
* @response `422` `UnprocessableEntity` Client Error
|
|
1504
1507
|
*/
|
|
1505
|
-
updateLoanCustomFields: (loanId, data, params = {}) => this.request(Object.assign({ path: `/api/los/loan/application/${loanId}/custom-fields`, method: "PATCH", body: data, secure: true, type:
|
|
1508
|
+
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)),
|
|
1506
1509
|
/**
|
|
1507
1510
|
* No description
|
|
1508
1511
|
*
|
|
@@ -1515,7 +1518,7 @@ export class Api extends HttpClient {
|
|
|
1515
1518
|
* @response `202` `string` Accepted
|
|
1516
1519
|
* @response `422` `UnprocessableEntity` Client Error
|
|
1517
1520
|
*/
|
|
1518
|
-
updateLoanConsent: (loanId, data, params = {}) => this.request(Object.assign({ path: `/api/los/loan/application/${loanId}/consent`, method: "PATCH", body: data, secure: true, type:
|
|
1521
|
+
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)),
|
|
1519
1522
|
/**
|
|
1520
1523
|
* No description
|
|
1521
1524
|
*
|
|
@@ -1593,7 +1596,7 @@ export class Api extends HttpClient {
|
|
|
1593
1596
|
* @secure
|
|
1594
1597
|
* @response `200` `DocumentDataRequest` Success
|
|
1595
1598
|
*/
|
|
1596
|
-
createLegacyLoanDocument: (data, params = {}) => this.request(Object.assign({ path: `/api/los/loan/generatedocument`, method: "POST", body: data, secure: true, type:
|
|
1599
|
+
createLegacyLoanDocument: (data, params = {}) => this.request(Object.assign({ path: `/api/los/loan/generatedocument`, method: "POST", body: data, secure: true, type: "application/json", format: "json" }, params)),
|
|
1597
1600
|
/**
|
|
1598
1601
|
* No description
|
|
1599
1602
|
*
|
|
@@ -1618,7 +1621,7 @@ export class Api extends HttpClient {
|
|
|
1618
1621
|
* @secure
|
|
1619
1622
|
* @response `200` `ListingFile` Success
|
|
1620
1623
|
*/
|
|
1621
|
-
addListingFile: (listingId, data, params = {}) => this.request(Object.assign({ path: `/api/listings/${listingId}/files`, method: "POST", body: data, secure: true, type:
|
|
1624
|
+
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)),
|
|
1622
1625
|
/**
|
|
1623
1626
|
* No description
|
|
1624
1627
|
*
|
|
@@ -1629,7 +1632,7 @@ export class Api extends HttpClient {
|
|
|
1629
1632
|
* @secure
|
|
1630
1633
|
* @response `200` `ListingFile` Success
|
|
1631
1634
|
*/
|
|
1632
|
-
updateListingFiles: (listingId, data, params = {}) => this.request(Object.assign({ path: `/api/listings/${listingId}/files`, method: "PATCH", body: data, secure: true, type:
|
|
1635
|
+
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)),
|
|
1633
1636
|
/**
|
|
1634
1637
|
* No description
|
|
1635
1638
|
*
|
|
@@ -1651,7 +1654,7 @@ export class Api extends HttpClient {
|
|
|
1651
1654
|
* @secure
|
|
1652
1655
|
* @response `200` `ListingPhoto` Success
|
|
1653
1656
|
*/
|
|
1654
|
-
addListingPhoto: (listingId, data, params = {}) => this.request(Object.assign({ path: `/api/listings/${listingId}/photos`, method: "POST", body: data, secure: true, type:
|
|
1657
|
+
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)),
|
|
1655
1658
|
/**
|
|
1656
1659
|
* No description
|
|
1657
1660
|
*
|
|
@@ -1662,7 +1665,7 @@ export class Api extends HttpClient {
|
|
|
1662
1665
|
* @secure
|
|
1663
1666
|
* @response `200` `(ListingPhoto)[]` Success
|
|
1664
1667
|
*/
|
|
1665
|
-
updateListingPhotos: (listingId, data, params = {}) => this.request(Object.assign({ path: `/api/listings/${listingId}/photos`, method: "PATCH", body: data, secure: true, type:
|
|
1668
|
+
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)),
|
|
1666
1669
|
/**
|
|
1667
1670
|
* No description
|
|
1668
1671
|
*
|
|
@@ -1695,7 +1698,7 @@ export class Api extends HttpClient {
|
|
|
1695
1698
|
* @secure
|
|
1696
1699
|
* @response `201` `Listing` Created
|
|
1697
1700
|
*/
|
|
1698
|
-
createListing: (data, params = {}) => this.request(Object.assign({ path: `/api/listings`, method: "POST", body: data, secure: true, type:
|
|
1701
|
+
createListing: (data, params = {}) => this.request(Object.assign({ path: `/api/listings`, method: "POST", body: data, secure: true, type: "application/json", format: "json" }, params)),
|
|
1699
1702
|
/**
|
|
1700
1703
|
* No description
|
|
1701
1704
|
*
|
|
@@ -1728,7 +1731,7 @@ export class Api extends HttpClient {
|
|
|
1728
1731
|
* @secure
|
|
1729
1732
|
* @response `200` `Listing` Success
|
|
1730
1733
|
*/
|
|
1731
|
-
replaceListing: (id, data, params = {}) => this.request(Object.assign({ path: `/api/listings/${id}`, method: "PUT", body: data, secure: true, type:
|
|
1734
|
+
replaceListing: (id, data, params = {}) => this.request(Object.assign({ path: `/api/listings/${id}`, method: "PUT", body: data, secure: true, type: "application/json", format: "json" }, params)),
|
|
1732
1735
|
/**
|
|
1733
1736
|
* No description
|
|
1734
1737
|
*
|
|
@@ -1750,7 +1753,7 @@ export class Api extends HttpClient {
|
|
|
1750
1753
|
* @secure
|
|
1751
1754
|
* @response `200` `ListingPaginated` Success
|
|
1752
1755
|
*/
|
|
1753
|
-
searchListings: (data, query, params = {}) => this.request(Object.assign({ path: `/api/listings/search`, method: "POST", query: query, body: data, secure: true, type:
|
|
1756
|
+
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)),
|
|
1754
1757
|
/**
|
|
1755
1758
|
* No description
|
|
1756
1759
|
*
|
|
@@ -1761,7 +1764,7 @@ export class Api extends HttpClient {
|
|
|
1761
1764
|
* @secure
|
|
1762
1765
|
* @response `200` `File` Success
|
|
1763
1766
|
*/
|
|
1764
|
-
updateListingBackgroundImage: (id, data, params = {}) => this.request(Object.assign({ path: `/api/listings/${id}/background-image`, method: "PUT", body: data, secure: true, type:
|
|
1767
|
+
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)),
|
|
1765
1768
|
/**
|
|
1766
1769
|
* No description
|
|
1767
1770
|
*
|
|
@@ -1807,7 +1810,7 @@ export class Api extends HttpClient {
|
|
|
1807
1810
|
* @response `422` `UnprocessableEntity` Client Error
|
|
1808
1811
|
* @response `423` `UnprocessableEntity` Client Error
|
|
1809
1812
|
*/
|
|
1810
|
-
runLoanCalculator: (loanId, data, params = {}) => this.request(Object.assign({ path: `/api/loans/${loanId}/calculators/loan-calculator`, method: "POST", body: data, secure: true, type:
|
|
1813
|
+
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)),
|
|
1811
1814
|
/**
|
|
1812
1815
|
* No description
|
|
1813
1816
|
*
|
|
@@ -1831,7 +1834,7 @@ export class Api extends HttpClient {
|
|
|
1831
1834
|
* @response `422` `UnprocessableEntity` Client Error
|
|
1832
1835
|
* @response `423` `UnprocessableEntity` Client Error
|
|
1833
1836
|
*/
|
|
1834
|
-
createLoanComparison: (loanId, index, data, params = {}) => this.request(Object.assign({ path: `/api/loans/${loanId}/loan-comparison/${index}`, method: "POST", body: data, secure: true, type:
|
|
1837
|
+
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)),
|
|
1835
1838
|
/**
|
|
1836
1839
|
* No description
|
|
1837
1840
|
*
|
|
@@ -1854,7 +1857,7 @@ export class Api extends HttpClient {
|
|
|
1854
1857
|
* @response `204` `void` No Content
|
|
1855
1858
|
* @response `422` `UnprocessableEntity` Client Error
|
|
1856
1859
|
*/
|
|
1857
|
-
createLoanComparisonPdf: (loanId, data, params = {}) => this.request(Object.assign({ path: `/api/loans/${loanId}/loan-comparison/pdf`, method: "POST", body: data, secure: true, type:
|
|
1860
|
+
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)),
|
|
1858
1861
|
/**
|
|
1859
1862
|
* No description
|
|
1860
1863
|
*
|
|
@@ -1891,7 +1894,7 @@ export class Api extends HttpClient {
|
|
|
1891
1894
|
* @response `400` `ProblemDetails` Bad Request
|
|
1892
1895
|
* @response `422` `ProblemDetails` Client Error
|
|
1893
1896
|
*/
|
|
1894
|
-
bulkSetLoanCustomFieldValues: (loanId, data, params = {}) => this.request(Object.assign({ path: `/api/loans/${loanId}/custom-fields`, method: "PUT", body: data, secure: true, type:
|
|
1897
|
+
bulkSetLoanCustomFieldValues: (loanId, data, params = {}) => this.request(Object.assign({ path: `/api/loans/${loanId}/custom-fields`, method: "PUT", body: data, secure: true, type: "application/json" }, params)),
|
|
1895
1898
|
/**
|
|
1896
1899
|
* No description
|
|
1897
1900
|
*
|
|
@@ -1905,7 +1908,7 @@ export class Api extends HttpClient {
|
|
|
1905
1908
|
* @response `404` `ProblemDetails` Not Found
|
|
1906
1909
|
* @response `422` `ProblemDetails` Client Error
|
|
1907
1910
|
*/
|
|
1908
|
-
setLoanCustomFieldValue: (loanId, definitionId, data, params = {}) => this.request(Object.assign({ path: `/api/loans/${loanId}/custom-fields/${definitionId}`, method: "PUT", body: data, secure: true, type:
|
|
1911
|
+
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)),
|
|
1909
1912
|
/**
|
|
1910
1913
|
* No description
|
|
1911
1914
|
*
|
|
@@ -1939,7 +1942,7 @@ export class Api extends HttpClient {
|
|
|
1939
1942
|
* @secure
|
|
1940
1943
|
* @response `201` `(string)[]` Created
|
|
1941
1944
|
*/
|
|
1942
|
-
createLoanDocumentBuckets: (loanId, data, params = {}) => this.request(Object.assign({ path: `/api/loans/${loanId}/documents/buckets`, method: "POST", body: data, secure: true, type:
|
|
1945
|
+
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)),
|
|
1943
1946
|
/**
|
|
1944
1947
|
* No description
|
|
1945
1948
|
*
|
|
@@ -1963,7 +1966,7 @@ export class Api extends HttpClient {
|
|
|
1963
1966
|
* @response `409` `ProblemDetails` Conflict
|
|
1964
1967
|
* @response `422` `ProblemDetails` Client Error
|
|
1965
1968
|
*/
|
|
1966
|
-
createLoanDocumentFolder: (data, params = {}) => this.request(Object.assign({ path: `/api/loan-document-folders`, method: "POST", body: data, secure: true, type:
|
|
1969
|
+
createLoanDocumentFolder: (data, params = {}) => this.request(Object.assign({ path: `/api/loan-document-folders`, method: "POST", body: data, secure: true, type: "application/json", format: "json" }, params)),
|
|
1967
1970
|
/**
|
|
1968
1971
|
* No description
|
|
1969
1972
|
*
|
|
@@ -1990,7 +1993,7 @@ export class Api extends HttpClient {
|
|
|
1990
1993
|
* @response `409` `ProblemDetails` Conflict
|
|
1991
1994
|
* @response `422` `ProblemDetails` Client Error
|
|
1992
1995
|
*/
|
|
1993
|
-
updateLoanDocumentFolder: (id, data, params = {}) => this.request(Object.assign({ path: `/api/loan-document-folders/${id}`, method: "PUT", body: data, secure: true, type:
|
|
1996
|
+
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)),
|
|
1994
1997
|
/**
|
|
1995
1998
|
* No description
|
|
1996
1999
|
*
|
|
@@ -2065,7 +2068,7 @@ export class Api extends HttpClient {
|
|
|
2065
2068
|
* @response `200` `Record<string,string>` Success
|
|
2066
2069
|
* @response `400` `ProblemDetails` Bad Request
|
|
2067
2070
|
*/
|
|
2068
|
-
getLoanDocumentPreviews: (loanId, data, params = {}) => this.request(Object.assign({ path: `/api/loans/${loanId}/documents/previews`, method: "POST", body: data, secure: true, type:
|
|
2071
|
+
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)),
|
|
2069
2072
|
/**
|
|
2070
2073
|
* No description
|
|
2071
2074
|
*
|
|
@@ -2076,7 +2079,7 @@ export class Api extends HttpClient {
|
|
|
2076
2079
|
* @secure
|
|
2077
2080
|
* @response `200` `LoanDocumentSearchPaginated` Success
|
|
2078
2081
|
*/
|
|
2079
|
-
searchLoanDocuments: (loanId, data, query, params = {}) => this.request(Object.assign({ path: `/api/loans/${loanId}/documents/search`, method: "POST", query: query, body: data, secure: true, type:
|
|
2082
|
+
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)),
|
|
2080
2083
|
/**
|
|
2081
2084
|
* @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).
|
|
2082
2085
|
*
|
|
@@ -2087,7 +2090,7 @@ export class Api extends HttpClient {
|
|
|
2087
2090
|
* @secure
|
|
2088
2091
|
* @response `200` `(DocumentFolder)[]` Success
|
|
2089
2092
|
*/
|
|
2090
|
-
getLoanDocumentFolders: (loanId, data, query, params = {}) => this.request(Object.assign({ path: `/api/loans/${loanId}/documents/folders`, method: "POST", query: query, body: data, secure: true, type:
|
|
2093
|
+
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)),
|
|
2091
2094
|
/**
|
|
2092
2095
|
* No description
|
|
2093
2096
|
*
|
|
@@ -2096,7 +2099,7 @@ export class Api extends HttpClient {
|
|
|
2096
2099
|
* @summary Download By ID
|
|
2097
2100
|
* @request GET:/api/loans/{loanId}/documents/{documentId}/download
|
|
2098
2101
|
* @secure
|
|
2099
|
-
* @response `200` `
|
|
2102
|
+
* @response `200` `Blob` Success
|
|
2100
2103
|
* @response `404` `ProblemDetails` Not Found
|
|
2101
2104
|
*/
|
|
2102
2105
|
downloadLoanDocument: (loanId, documentId, params = {}) => this.request(Object.assign({ path: `/api/loans/${loanId}/documents/${documentId}/download`, method: "GET", secure: true, format: "json" }, params)),
|
|
@@ -2112,7 +2115,7 @@ export class Api extends HttpClient {
|
|
|
2112
2115
|
* @response `404` `ProblemDetails` Not Found
|
|
2113
2116
|
* @response `422` `UnprocessableEntity` Client Error
|
|
2114
2117
|
*/
|
|
2115
|
-
createLoanDocument: (loanId, data, params = {}) => this.request(Object.assign({ path: `/api/loans/${loanId}/documents`, method: "POST", body: data, secure: true, type:
|
|
2118
|
+
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)),
|
|
2116
2119
|
/**
|
|
2117
2120
|
* No description
|
|
2118
2121
|
*
|
|
@@ -2136,7 +2139,7 @@ export class Api extends HttpClient {
|
|
|
2136
2139
|
* @secure
|
|
2137
2140
|
* @response `200` `DocumentDataRequest` Success
|
|
2138
2141
|
*/
|
|
2139
|
-
generateLoanDocument: (loanId, data, params = {}) => this.request(Object.assign({ path: `/api/loans/${loanId}/documents/generate`, method: "POST", body: data, secure: true, type:
|
|
2142
|
+
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)),
|
|
2140
2143
|
/**
|
|
2141
2144
|
* No description
|
|
2142
2145
|
*
|
|
@@ -2149,7 +2152,7 @@ export class Api extends HttpClient {
|
|
|
2149
2152
|
* @response `400` `ProblemDetails` Bad Request
|
|
2150
2153
|
* @response `404` `ProblemDetails` Not Found
|
|
2151
2154
|
*/
|
|
2152
|
-
sendLoanDocuments: (loanId, data, params = {}) => this.request(Object.assign({ path: `/api/loans/${loanId}/documents/distribute`, method: "POST", body: data, secure: true, type:
|
|
2155
|
+
sendLoanDocuments: (loanId, data, params = {}) => this.request(Object.assign({ path: `/api/loans/${loanId}/documents/distribute`, method: "POST", body: data, secure: true, type: "application/json" }, params)),
|
|
2153
2156
|
/**
|
|
2154
2157
|
* @description Fetches all documents from Encompass that don't exist locally and stores them in S3
|
|
2155
2158
|
*
|
|
@@ -2185,7 +2188,7 @@ export class Api extends HttpClient {
|
|
|
2185
2188
|
* @secure
|
|
2186
2189
|
* @response `201` `Draft` Created
|
|
2187
2190
|
*/
|
|
2188
|
-
createLoanDraft: (data, params = {}) => this.request(Object.assign({ path: `/api/loans/drafts`, method: "POST", body: data, secure: true, type:
|
|
2191
|
+
createLoanDraft: (data, params = {}) => this.request(Object.assign({ path: `/api/loans/drafts`, method: "POST", body: data, secure: true, type: "application/json", format: "json" }, params)),
|
|
2189
2192
|
/**
|
|
2190
2193
|
* No description
|
|
2191
2194
|
*
|
|
@@ -2218,7 +2221,7 @@ export class Api extends HttpClient {
|
|
|
2218
2221
|
* @secure
|
|
2219
2222
|
* @response `200` `Draft` Success
|
|
2220
2223
|
*/
|
|
2221
|
-
replaceLoanDraft: (draftId, data, params = {}) => this.request(Object.assign({ path: `/api/loans/drafts/${draftId}`, method: "PUT", body: data, secure: true, type:
|
|
2224
|
+
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)),
|
|
2222
2225
|
/**
|
|
2223
2226
|
* No description
|
|
2224
2227
|
*
|
|
@@ -2240,7 +2243,7 @@ export class Api extends HttpClient {
|
|
|
2240
2243
|
* @secure
|
|
2241
2244
|
* @response `201` `DraftContentPaginated` Created
|
|
2242
2245
|
*/
|
|
2243
|
-
searchLoanDrafts: (data, query, params = {}) => this.request(Object.assign({ path: `/api/loans/drafts/search`, method: "POST", query: query, body: data, secure: true, type:
|
|
2246
|
+
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)),
|
|
2244
2247
|
/**
|
|
2245
2248
|
* No description
|
|
2246
2249
|
*
|
|
@@ -2251,7 +2254,7 @@ export class Api extends HttpClient {
|
|
|
2251
2254
|
* @secure
|
|
2252
2255
|
* @response `200` `Draft` Success
|
|
2253
2256
|
*/
|
|
2254
|
-
reassignLoanOfficer: (draftId, data, params = {}) => this.request(Object.assign({ path: `/api/loans/drafts/${draftId}/reassign`, method: "PUT", body: data, secure: true, type:
|
|
2257
|
+
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)),
|
|
2255
2258
|
/**
|
|
2256
2259
|
* No description
|
|
2257
2260
|
*
|
|
@@ -2284,7 +2287,7 @@ export class Api extends HttpClient {
|
|
|
2284
2287
|
* @secure
|
|
2285
2288
|
* @response `201` `LoanImport` Created
|
|
2286
2289
|
*/
|
|
2287
|
-
createLoanImport: (data, params = {}) => this.request(Object.assign({ path: `/api/loan-imports`, method: "POST", body: data, secure: true, type:
|
|
2290
|
+
createLoanImport: (data, params = {}) => this.request(Object.assign({ path: `/api/loan-imports`, method: "POST", body: data, secure: true, type: "application/json", format: "json" }, params)),
|
|
2288
2291
|
/**
|
|
2289
2292
|
* No description
|
|
2290
2293
|
*
|
|
@@ -2330,7 +2333,7 @@ export class Api extends HttpClient {
|
|
|
2330
2333
|
* @response `200` `(Invite)[]` Success
|
|
2331
2334
|
* @response `404` `ProblemDetails` Not Found
|
|
2332
2335
|
*/
|
|
2333
|
-
inviteLoanContacts: (loanId, data, params = {}) => this.request(Object.assign({ path: `/api/loans/${loanId}/invites`, method: "POST", body: data, secure: true, type:
|
|
2336
|
+
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)),
|
|
2334
2337
|
/**
|
|
2335
2338
|
* No description
|
|
2336
2339
|
*
|
|
@@ -2341,7 +2344,7 @@ export class Api extends HttpClient {
|
|
|
2341
2344
|
* @secure
|
|
2342
2345
|
* @response `200` `LoanLogPaginated` Success
|
|
2343
2346
|
*/
|
|
2344
|
-
searchLoanLogs: (loanId, data, query, params = {}) => this.request(Object.assign({ path: `/api/loans/${loanId}/logs/search`, method: "POST", query: query, body: data, secure: true, type:
|
|
2347
|
+
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)),
|
|
2345
2348
|
/**
|
|
2346
2349
|
* No description
|
|
2347
2350
|
*
|
|
@@ -2375,7 +2378,7 @@ export class Api extends HttpClient {
|
|
|
2375
2378
|
* @secure
|
|
2376
2379
|
* @response `200` `BranchUserPaginated` Success
|
|
2377
2380
|
*/
|
|
2378
|
-
searchLoanOfficers: (data, query, params = {}) => this.request(Object.assign({ path: `/api/loan-officers/search`, method: "POST", query: query, body: data, secure: true, type:
|
|
2381
|
+
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)),
|
|
2379
2382
|
/**
|
|
2380
2383
|
* No description
|
|
2381
2384
|
*
|
|
@@ -2398,7 +2401,7 @@ export class Api extends HttpClient {
|
|
|
2398
2401
|
* @response `200` `SiteConfiguration` Success
|
|
2399
2402
|
* @response `422` `UnprocessableEntity` Client Error
|
|
2400
2403
|
*/
|
|
2401
|
-
createLoanOfficerSiteConfiguration: (loanOfficerId, data, params = {}) => this.request(Object.assign({ path: `/api/loan-officers/${loanOfficerId}/site-configurations`, method: "POST", body: data, secure: true, type:
|
|
2404
|
+
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)),
|
|
2402
2405
|
/**
|
|
2403
2406
|
* No description
|
|
2404
2407
|
*
|
|
@@ -2421,7 +2424,7 @@ export class Api extends HttpClient {
|
|
|
2421
2424
|
* @response `200` `SiteConfiguration` Success
|
|
2422
2425
|
* @response `422` `UnprocessableEntity` Client Error
|
|
2423
2426
|
*/
|
|
2424
|
-
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:
|
|
2427
|
+
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)),
|
|
2425
2428
|
/**
|
|
2426
2429
|
* No description
|
|
2427
2430
|
*
|
|
@@ -2432,7 +2435,7 @@ export class Api extends HttpClient {
|
|
|
2432
2435
|
* @secure
|
|
2433
2436
|
* @response `200` `LoanQueuePaginated` Success
|
|
2434
2437
|
*/
|
|
2435
|
-
searchLoanQueue: (data, query, params = {}) => this.request(Object.assign({ path: `/api/loans/queue/search`, method: "POST", query: query, body: data, secure: true, type:
|
|
2438
|
+
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)),
|
|
2436
2439
|
/**
|
|
2437
2440
|
* No description
|
|
2438
2441
|
*
|
|
@@ -2456,7 +2459,7 @@ export class Api extends HttpClient {
|
|
|
2456
2459
|
* @response `200` `LoanQueueWithData` Success
|
|
2457
2460
|
* @response `404` `ProblemDetails` Not Found
|
|
2458
2461
|
*/
|
|
2459
|
-
replaceLoanQueue: (loanQueueId, data, params = {}) => this.request(Object.assign({ path: `/api/loans/queue/${loanQueueId}`, method: "PUT", body: data, secure: true, type:
|
|
2462
|
+
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)),
|
|
2460
2463
|
/**
|
|
2461
2464
|
* No description
|
|
2462
2465
|
*
|
|
@@ -2517,7 +2520,7 @@ export class Api extends HttpClient {
|
|
|
2517
2520
|
* @response `401` `ProblemDetails` Unauthorized
|
|
2518
2521
|
* @response `403` `ProblemDetails` Forbidden
|
|
2519
2522
|
*/
|
|
2520
|
-
createLoanv3: (data, params = {}) => this.request(Object.assign({ path: `/api/loans`, method: "POST", body: data, secure: true, type:
|
|
2523
|
+
createLoanv3: (data, params = {}) => this.request(Object.assign({ path: `/api/loans`, method: "POST", body: data, secure: true, type: "application/json", format: "json" }, params)),
|
|
2521
2524
|
/**
|
|
2522
2525
|
* No description
|
|
2523
2526
|
*
|
|
@@ -2528,7 +2531,7 @@ export class Api extends HttpClient {
|
|
|
2528
2531
|
* @secure
|
|
2529
2532
|
* @response `200` `LoanListPaginated` Success
|
|
2530
2533
|
*/
|
|
2531
|
-
searchLoans: (data, query, params = {}) => this.request(Object.assign({ path: `/api/loans/search`, method: "POST", query: query, body: data, secure: true, type:
|
|
2534
|
+
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)),
|
|
2532
2535
|
/**
|
|
2533
2536
|
* No description
|
|
2534
2537
|
*
|
|
@@ -2606,7 +2609,7 @@ export class Api extends HttpClient {
|
|
|
2606
2609
|
* @response `400` `ProblemDetails` Bad Request
|
|
2607
2610
|
* @response `404` `ProblemDetails` Not Found
|
|
2608
2611
|
*/
|
|
2609
|
-
triggerAso: (loanId, data, params = {}) => this.request(Object.assign({ path: `/api/loans/${loanId}/aso`, method: "POST", body: data, secure: true, type:
|
|
2612
|
+
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)),
|
|
2610
2613
|
/**
|
|
2611
2614
|
* No description
|
|
2612
2615
|
*
|
|
@@ -2618,7 +2621,7 @@ export class Api extends HttpClient {
|
|
|
2618
2621
|
* @response `200` `TaskCommentPaginated` Success
|
|
2619
2622
|
* @response `404` `ProblemDetails` Not Found
|
|
2620
2623
|
*/
|
|
2621
|
-
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:
|
|
2624
|
+
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)),
|
|
2622
2625
|
/**
|
|
2623
2626
|
* No description
|
|
2624
2627
|
*
|
|
@@ -2642,7 +2645,7 @@ export class Api extends HttpClient {
|
|
|
2642
2645
|
* @response `201` `TaskComment` Created
|
|
2643
2646
|
* @response `404` `ProblemDetails` Not Found
|
|
2644
2647
|
*/
|
|
2645
|
-
createLoanTaskComment: (loanId, userLoanTaskId, data, params = {}) => this.request(Object.assign({ path: `/api/loans/${loanId}/tasks/${userLoanTaskId}/comments`, method: "POST", body: data, secure: true, type:
|
|
2648
|
+
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)),
|
|
2646
2649
|
/**
|
|
2647
2650
|
* No description
|
|
2648
2651
|
*
|
|
@@ -2654,7 +2657,7 @@ export class Api extends HttpClient {
|
|
|
2654
2657
|
* @response `200` `TaskComment` Success
|
|
2655
2658
|
* @response `404` `ProblemDetails` Not Found
|
|
2656
2659
|
*/
|
|
2657
|
-
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:
|
|
2660
|
+
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)),
|
|
2658
2661
|
/**
|
|
2659
2662
|
* No description
|
|
2660
2663
|
*
|
|
@@ -2679,7 +2682,7 @@ export class Api extends HttpClient {
|
|
|
2679
2682
|
* @response `404` `ProblemDetails` Not Found
|
|
2680
2683
|
* @response `422` `UnprocessableEntity` Client Error
|
|
2681
2684
|
*/
|
|
2682
|
-
createLoanTaskDocument: (loanId, loanTaskId, data, params = {}) => this.request(Object.assign({ path: `/api/loans/${loanId}/tasks/${loanTaskId}/documents`, method: "POST", body: data, secure: true, type:
|
|
2685
|
+
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)),
|
|
2683
2686
|
/**
|
|
2684
2687
|
* No description
|
|
2685
2688
|
*
|
|
@@ -2716,7 +2719,7 @@ export class Api extends HttpClient {
|
|
|
2716
2719
|
* @response `400` `ProblemDetails` Bad Request
|
|
2717
2720
|
* @response `404` `ProblemDetails` Not Found
|
|
2718
2721
|
*/
|
|
2719
|
-
sendLoanTaskReminder: (loanId, data, params = {}) => this.request(Object.assign({ path: `/api/loans/${loanId}/tasks/reminders`, method: "POST", body: data, secure: true, type:
|
|
2722
|
+
sendLoanTaskReminder: (loanId, data, params = {}) => this.request(Object.assign({ path: `/api/loans/${loanId}/tasks/reminders`, method: "POST", body: data, secure: true, type: "application/json" }, params)),
|
|
2720
2723
|
/**
|
|
2721
2724
|
* @description Search tasks across all loans
|
|
2722
2725
|
*
|
|
@@ -2727,7 +2730,7 @@ export class Api extends HttpClient {
|
|
|
2727
2730
|
* @secure
|
|
2728
2731
|
* @response `200` `UserLoanTaskPaginated` Success
|
|
2729
2732
|
*/
|
|
2730
|
-
searchLoanTasks: (data, query, params = {}) => this.request(Object.assign({ path: `/api/loans/tasks/search`, method: "POST", query: query, body: data, secure: true, type:
|
|
2733
|
+
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)),
|
|
2731
2734
|
/**
|
|
2732
2735
|
* @description Returns task counts grouped by status for loans accessible to the current user based on their role
|
|
2733
2736
|
*
|
|
@@ -2739,7 +2742,7 @@ export class Api extends HttpClient {
|
|
|
2739
2742
|
* @response `200` `(LoanTaskStatusSummary)[]` Success
|
|
2740
2743
|
* @response `422` `UnprocessableEntity` Client Error
|
|
2741
2744
|
*/
|
|
2742
|
-
searchLoanTasksSummary: (data, params = {}) => this.request(Object.assign({ path: `/api/loans/tasks/search/summary`, method: "POST", body: data, secure: true, type:
|
|
2745
|
+
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)),
|
|
2743
2746
|
/**
|
|
2744
2747
|
* No description
|
|
2745
2748
|
*
|
|
@@ -2787,7 +2790,7 @@ export class Api extends HttpClient {
|
|
|
2787
2790
|
* @response `201` `UserLoanTask` Created
|
|
2788
2791
|
* @response `404` `ProblemDetails` Not Found
|
|
2789
2792
|
*/
|
|
2790
|
-
createLoanTask: (loanId, taskId, data, params = {}) => this.request(Object.assign({ path: `/api/loans/${loanId}/tasks/${taskId}`, method: "POST", body: data, secure: true, type:
|
|
2793
|
+
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)),
|
|
2791
2794
|
/**
|
|
2792
2795
|
* No description
|
|
2793
2796
|
*
|
|
@@ -2799,7 +2802,7 @@ export class Api extends HttpClient {
|
|
|
2799
2802
|
* @response `201` `(UserLoanTask)[]` Created
|
|
2800
2803
|
* @response `404` `ProblemDetails` Not Found
|
|
2801
2804
|
*/
|
|
2802
|
-
importLoanTask: (loanId, data, params = {}) => this.request(Object.assign({ path: `/api/loans/${loanId}/tasks/import`, method: "POST", body: data, secure: true, type:
|
|
2805
|
+
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)),
|
|
2803
2806
|
/**
|
|
2804
2807
|
* No description
|
|
2805
2808
|
*
|
|
@@ -2811,7 +2814,7 @@ export class Api extends HttpClient {
|
|
|
2811
2814
|
* @response `200` `UserLoanTask` Success
|
|
2812
2815
|
* @response `404` `ProblemDetails` Not Found
|
|
2813
2816
|
*/
|
|
2814
|
-
replaceLoanTask: (loanId, userLoanTaskId, data, params = {}) => this.request(Object.assign({ path: `/api/loans/${loanId}/tasks/${userLoanTaskId}`, method: "PUT", body: data, secure: true, type:
|
|
2817
|
+
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)),
|
|
2815
2818
|
/**
|
|
2816
2819
|
* No description
|
|
2817
2820
|
*
|
|
@@ -2870,7 +2873,7 @@ export class Api extends HttpClient {
|
|
|
2870
2873
|
* @secure
|
|
2871
2874
|
* @response `201` `LoanUser` Created
|
|
2872
2875
|
*/
|
|
2873
|
-
addLoanUser: (loanId, userId, data, params = {}) => this.request(Object.assign({ path: `/api/loans/${loanId}/users/${userId}`, method: "POST", body: data, secure: true, type:
|
|
2876
|
+
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)),
|
|
2874
2877
|
/**
|
|
2875
2878
|
* No description
|
|
2876
2879
|
*
|
|
@@ -2903,7 +2906,7 @@ export class Api extends HttpClient {
|
|
|
2903
2906
|
* @secure
|
|
2904
2907
|
* @response `200` `LosOperationTrackingPaginated` Success
|
|
2905
2908
|
*/
|
|
2906
|
-
searchLosOperationTracking: (data, query, params = {}) => this.request(Object.assign({ path: `/api/los-operation-tracking/search`, method: "POST", query: query, body: data, secure: true, type:
|
|
2909
|
+
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)),
|
|
2907
2910
|
/**
|
|
2908
2911
|
* No description
|
|
2909
2912
|
*
|
|
@@ -2926,7 +2929,7 @@ export class Api extends HttpClient {
|
|
|
2926
2929
|
* @response `201` `MilestoneConfiguration` Created
|
|
2927
2930
|
* @response `422` `UnprocessableEntity` Client Error
|
|
2928
2931
|
*/
|
|
2929
|
-
createMilestone: (data, params = {}) => this.request(Object.assign({ path: `/api/milestones`, method: "POST", body: data, secure: true, type:
|
|
2932
|
+
createMilestone: (data, params = {}) => this.request(Object.assign({ path: `/api/milestones`, method: "POST", body: data, secure: true, type: "application/json", format: "json" }, params)),
|
|
2930
2933
|
/**
|
|
2931
2934
|
* No description
|
|
2932
2935
|
*
|
|
@@ -2951,7 +2954,7 @@ export class Api extends HttpClient {
|
|
|
2951
2954
|
* @response `404` `Error` Not Found
|
|
2952
2955
|
* @response `422` `UnprocessableEntity` Client Error
|
|
2953
2956
|
*/
|
|
2954
|
-
replaceMilestone: (id, data, params = {}) => this.request(Object.assign({ path: `/api/milestones/${id}`, method: "PUT", body: data, secure: true, type:
|
|
2957
|
+
replaceMilestone: (id, data, params = {}) => this.request(Object.assign({ path: `/api/milestones/${id}`, method: "PUT", body: data, secure: true, type: "application/json", format: "json" }, params)),
|
|
2955
2958
|
/**
|
|
2956
2959
|
* No description
|
|
2957
2960
|
*
|
|
@@ -2977,7 +2980,7 @@ export class Api extends HttpClient {
|
|
|
2977
2980
|
* @response `404` `ProblemDetails` Not Found
|
|
2978
2981
|
* @response `422` `ProblemDetails` Client Error
|
|
2979
2982
|
*/
|
|
2980
|
-
seedMobileAppReview: (data, params = {}) => this.request(Object.assign({ path: `/api/mobile-app-review/seed`, method: "POST", body: data, secure: true, type:
|
|
2983
|
+
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)),
|
|
2981
2984
|
/**
|
|
2982
2985
|
* No description
|
|
2983
2986
|
*
|
|
@@ -2989,7 +2992,7 @@ export class Api extends HttpClient {
|
|
|
2989
2992
|
* @response `200` `MonthlyPaymentCalculator` Success
|
|
2990
2993
|
* @response `422` `ProblemDetails` Client Error
|
|
2991
2994
|
*/
|
|
2992
|
-
calculateMortgageMonthlyPayment: (data, params = {}) => this.request(Object.assign({ path: `/api/mortgage-calculators/monthly-payment`, method: "POST", body: data, secure: true, type:
|
|
2995
|
+
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)),
|
|
2993
2996
|
/**
|
|
2994
2997
|
* No description
|
|
2995
2998
|
*
|
|
@@ -3001,7 +3004,7 @@ export class Api extends HttpClient {
|
|
|
3001
3004
|
* @response `200` `AffordabilityCalculator` Success
|
|
3002
3005
|
* @response `422` `ProblemDetails` Client Error
|
|
3003
3006
|
*/
|
|
3004
|
-
calculateMortgageAffordability: (data, params = {}) => this.request(Object.assign({ path: `/api/mortgage-calculators/affordability`, method: "POST", body: data, secure: true, type:
|
|
3007
|
+
calculateMortgageAffordability: (data, params = {}) => this.request(Object.assign({ path: `/api/mortgage-calculators/affordability`, method: "POST", body: data, secure: true, type: "application/json", format: "json" }, params)),
|
|
3005
3008
|
/**
|
|
3006
3009
|
* No description
|
|
3007
3010
|
*
|
|
@@ -3013,7 +3016,7 @@ export class Api extends HttpClient {
|
|
|
3013
3016
|
* @response `200` `LoanComparisonCalculator` Success
|
|
3014
3017
|
* @response `422` `ProblemDetails` Client Error
|
|
3015
3018
|
*/
|
|
3016
|
-
calculateMortgageLoanComparison: (data, params = {}) => this.request(Object.assign({ path: `/api/mortgage-calculators/loan-comparison`, method: "POST", body: data, secure: true, type:
|
|
3019
|
+
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)),
|
|
3017
3020
|
/**
|
|
3018
3021
|
* No description
|
|
3019
3022
|
*
|
|
@@ -3025,7 +3028,7 @@ export class Api extends HttpClient {
|
|
|
3025
3028
|
* @response `200` `RefinanceCalculator` Success
|
|
3026
3029
|
* @response `422` `ProblemDetails` Client Error
|
|
3027
3030
|
*/
|
|
3028
|
-
calculateMortgageRefinance: (data, params = {}) => this.request(Object.assign({ path: `/api/mortgage-calculators/refinance`, method: "POST", body: data, secure: true, type:
|
|
3031
|
+
calculateMortgageRefinance: (data, params = {}) => this.request(Object.assign({ path: `/api/mortgage-calculators/refinance`, method: "POST", body: data, secure: true, type: "application/json", format: "json" }, params)),
|
|
3029
3032
|
/**
|
|
3030
3033
|
* No description
|
|
3031
3034
|
*
|
|
@@ -3037,7 +3040,7 @@ export class Api extends HttpClient {
|
|
|
3037
3040
|
* @response `200` `void` Success
|
|
3038
3041
|
* @response `422` `UnprocessableEntity` Client Error
|
|
3039
3042
|
*/
|
|
3040
|
-
sendNotificationForLoan: (data, params = {}) => this.request(Object.assign({ path: `/api/notifications`, method: "POST", body: data, secure: true, type:
|
|
3043
|
+
sendNotificationForLoan: (data, params = {}) => this.request(Object.assign({ path: `/api/notifications`, method: "POST", body: data, secure: true, type: "application/json" }, params)),
|
|
3041
3044
|
/**
|
|
3042
3045
|
* No description
|
|
3043
3046
|
*
|
|
@@ -3049,7 +3052,7 @@ export class Api extends HttpClient {
|
|
|
3049
3052
|
* @response `200` `void` Success
|
|
3050
3053
|
* @response `422` `UnprocessableEntity` Client Error
|
|
3051
3054
|
*/
|
|
3052
|
-
sendTestNotificationForLoan: (data, params = {}) => this.request(Object.assign({ path: `/api/notifications/test`, method: "POST", body: data, secure: true, type:
|
|
3055
|
+
sendTestNotificationForLoan: (data, params = {}) => this.request(Object.assign({ path: `/api/notifications/test`, method: "POST", body: data, secure: true, type: "application/json" }, params)),
|
|
3053
3056
|
/**
|
|
3054
3057
|
* No description
|
|
3055
3058
|
*
|
|
@@ -3072,7 +3075,7 @@ export class Api extends HttpClient {
|
|
|
3072
3075
|
* @response `201` `NotificationTemplate` Created
|
|
3073
3076
|
* @response `422` `UnprocessableEntity` Client Error
|
|
3074
3077
|
*/
|
|
3075
|
-
createNotificationTemplate: (data, params = {}) => this.request(Object.assign({ path: `/api/notification-templates`, method: "POST", body: data, secure: true, type:
|
|
3078
|
+
createNotificationTemplate: (data, params = {}) => this.request(Object.assign({ path: `/api/notification-templates`, method: "POST", body: data, secure: true, type: "application/json", format: "json" }, params)),
|
|
3076
3079
|
/**
|
|
3077
3080
|
* No description
|
|
3078
3081
|
*
|
|
@@ -3083,7 +3086,7 @@ export class Api extends HttpClient {
|
|
|
3083
3086
|
* @secure
|
|
3084
3087
|
* @response `200` `NotificationTemplateBasePaginated` Success
|
|
3085
3088
|
*/
|
|
3086
|
-
searchNotificationTemplates: (data, query, params = {}) => this.request(Object.assign({ path: `/api/notification-templates/search`, method: "POST", query: query, body: data, secure: true, type:
|
|
3089
|
+
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)),
|
|
3087
3090
|
/**
|
|
3088
3091
|
* No description
|
|
3089
3092
|
*
|
|
@@ -3106,7 +3109,7 @@ export class Api extends HttpClient {
|
|
|
3106
3109
|
* @response `200` `NotificationTemplate` Success
|
|
3107
3110
|
* @response `422` `UnprocessableEntity` Client Error
|
|
3108
3111
|
*/
|
|
3109
|
-
replaceNotificationTemplate: (id, data, params = {}) => this.request(Object.assign({ path: `/api/notification-templates/${id}`, method: "PUT", body: data, secure: true, type:
|
|
3112
|
+
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)),
|
|
3110
3113
|
/**
|
|
3111
3114
|
* No description
|
|
3112
3115
|
*
|
|
@@ -3150,7 +3153,7 @@ export class Api extends HttpClient {
|
|
|
3150
3153
|
* @secure
|
|
3151
3154
|
* @response `200` `NotificationTemplateVersion` Success
|
|
3152
3155
|
*/
|
|
3153
|
-
createNotificationTemplateVersion: (notificationId, data, params = {}) => this.request(Object.assign({ path: `/api/notification-templates/${notificationId}/versions`, method: "POST", body: data, secure: true, type:
|
|
3156
|
+
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)),
|
|
3154
3157
|
/**
|
|
3155
3158
|
* No description
|
|
3156
3159
|
*
|
|
@@ -3172,7 +3175,7 @@ export class Api extends HttpClient {
|
|
|
3172
3175
|
* @secure
|
|
3173
3176
|
* @response `200` `NotificationTemplateVersion` Success
|
|
3174
3177
|
*/
|
|
3175
|
-
replaceNotificationTemplateVersion: (notificationId, id, data, params = {}) => this.request(Object.assign({ path: `/api/notification-templates/${notificationId}/versions/${id}`, method: "PUT", body: data, secure: true, type:
|
|
3178
|
+
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)),
|
|
3176
3179
|
/**
|
|
3177
3180
|
* No description
|
|
3178
3181
|
*
|
|
@@ -3205,7 +3208,7 @@ export class Api extends HttpClient {
|
|
|
3205
3208
|
* @secure
|
|
3206
3209
|
* @response `200` `BranchUserPaginated` Success
|
|
3207
3210
|
*/
|
|
3208
|
-
searchPartners: (data, query, params = {}) => this.request(Object.assign({ path: `/api/partners/search`, method: "POST", query: query, body: data, secure: true, type:
|
|
3211
|
+
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)),
|
|
3209
3212
|
/**
|
|
3210
3213
|
* No description
|
|
3211
3214
|
*
|
|
@@ -3228,7 +3231,7 @@ export class Api extends HttpClient {
|
|
|
3228
3231
|
* @response `200` `SiteConfiguration` Success
|
|
3229
3232
|
* @response `422` `UnprocessableEntity` Client Error
|
|
3230
3233
|
*/
|
|
3231
|
-
createPartnerSiteConfiguration: (realtorId, data, params = {}) => this.request(Object.assign({ path: `/api/partners/${realtorId}/site-configurations`, method: "POST", body: data, secure: true, type:
|
|
3234
|
+
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)),
|
|
3232
3235
|
/**
|
|
3233
3236
|
* No description
|
|
3234
3237
|
*
|
|
@@ -3251,7 +3254,7 @@ export class Api extends HttpClient {
|
|
|
3251
3254
|
* @response `200` `SiteConfiguration` Success
|
|
3252
3255
|
* @response `422` `UnprocessableEntity` Client Error
|
|
3253
3256
|
*/
|
|
3254
|
-
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:
|
|
3257
|
+
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)),
|
|
3255
3258
|
/**
|
|
3256
3259
|
* No description
|
|
3257
3260
|
*
|
|
@@ -3275,7 +3278,7 @@ export class Api extends HttpClient {
|
|
|
3275
3278
|
* @response `200` `SiteConfigurationByUrl` Success
|
|
3276
3279
|
* @response `422` `UnprocessableEntity` Client Error
|
|
3277
3280
|
*/
|
|
3278
|
-
searchSiteConfigurationByUrl: (data, params = {}) => this.request(Object.assign({ path: `/api/site-configurations/url`, method: "POST", body: data, secure: true, type:
|
|
3281
|
+
searchSiteConfigurationByUrl: (data, params = {}) => this.request(Object.assign({ path: `/api/site-configurations/url`, method: "POST", body: data, secure: true, type: "application/json", format: "json" }, params)),
|
|
3279
3282
|
/**
|
|
3280
3283
|
* No description
|
|
3281
3284
|
*
|
|
@@ -3300,7 +3303,7 @@ export class Api extends HttpClient {
|
|
|
3300
3303
|
* @response `200` `SiteConfiguration` Success
|
|
3301
3304
|
* @response `422` `UnprocessableEntity` Client Error
|
|
3302
3305
|
*/
|
|
3303
|
-
searchSiteConfigurationByLoanOfficerUser: (data, params = {}) => this.request(Object.assign({ path: `/api/site-configurations/louser`, method: "POST", body: data, secure: true, type:
|
|
3306
|
+
searchSiteConfigurationByLoanOfficerUser: (data, params = {}) => this.request(Object.assign({ path: `/api/site-configurations/louser`, method: "POST", body: data, secure: true, type: "application/json", format: "json" }, params)),
|
|
3304
3307
|
/**
|
|
3305
3308
|
* No description
|
|
3306
3309
|
*
|
|
@@ -3324,7 +3327,7 @@ export class Api extends HttpClient {
|
|
|
3324
3327
|
* @response `200` `SiteConfigurationSummaryPaginated` Success
|
|
3325
3328
|
* @response `422` `UnprocessableEntity` Client Error
|
|
3326
3329
|
*/
|
|
3327
|
-
searchSiteConfigurations: (data, query, params = {}) => this.request(Object.assign({ path: `/api/site-configurations/search`, method: "POST", query: query, body: data, secure: true, type:
|
|
3330
|
+
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)),
|
|
3328
3331
|
/**
|
|
3329
3332
|
* No description
|
|
3330
3333
|
*
|
|
@@ -3416,7 +3419,7 @@ export class Api extends HttpClient {
|
|
|
3416
3419
|
* @secure
|
|
3417
3420
|
* @response `200` `GetForm` Success
|
|
3418
3421
|
*/
|
|
3419
|
-
getFormBySiteConfigurationSlug: (data, params = {}) => this.request(Object.assign({ path: `/api/site-forms`, method: "POST", body: data, secure: true, type:
|
|
3422
|
+
getFormBySiteConfigurationSlug: (data, params = {}) => this.request(Object.assign({ path: `/api/site-forms`, method: "POST", body: data, secure: true, type: "application/json", format: "json" }, params)),
|
|
3420
3423
|
/**
|
|
3421
3424
|
* No description
|
|
3422
3425
|
*
|
|
@@ -3439,7 +3442,7 @@ export class Api extends HttpClient {
|
|
|
3439
3442
|
* @response `200` `(SocialSurveyRecord)[]` Success
|
|
3440
3443
|
* @response `422` `UnprocessableEntity` Client Error
|
|
3441
3444
|
*/
|
|
3442
|
-
getSurveysByUser: (data, params = {}) => this.request(Object.assign({ path: `/api/surveys`, method: "POST", body: data, secure: true, type:
|
|
3445
|
+
getSurveysByUser: (data, params = {}) => this.request(Object.assign({ path: `/api/surveys`, method: "POST", body: data, secure: true, type: "application/json", format: "json" }, params)),
|
|
3443
3446
|
/**
|
|
3444
3447
|
* No description
|
|
3445
3448
|
*
|
|
@@ -3462,7 +3465,7 @@ export class Api extends HttpClient {
|
|
|
3462
3465
|
* @secure
|
|
3463
3466
|
* @response `201` `Task` Created
|
|
3464
3467
|
*/
|
|
3465
|
-
createTask: (data, params = {}) => this.request(Object.assign({ path: `/api/tasks`, method: "POST", body: data, secure: true, type:
|
|
3468
|
+
createTask: (data, params = {}) => this.request(Object.assign({ path: `/api/tasks`, method: "POST", body: data, secure: true, type: "application/json", format: "json" }, params)),
|
|
3466
3469
|
/**
|
|
3467
3470
|
* No description
|
|
3468
3471
|
*
|
|
@@ -3486,7 +3489,7 @@ export class Api extends HttpClient {
|
|
|
3486
3489
|
* @response `200` `void` Success
|
|
3487
3490
|
* @response `404` `ProblemDetails` Not Found
|
|
3488
3491
|
*/
|
|
3489
|
-
replaceTask: (id, data, params = {}) => this.request(Object.assign({ path: `/api/tasks/${id}`, method: "PUT", body: data, secure: true, type:
|
|
3492
|
+
replaceTask: (id, data, params = {}) => this.request(Object.assign({ path: `/api/tasks/${id}`, method: "PUT", body: data, secure: true, type: "application/json" }, params)),
|
|
3490
3493
|
/**
|
|
3491
3494
|
* No description
|
|
3492
3495
|
*
|
|
@@ -3509,7 +3512,7 @@ export class Api extends HttpClient {
|
|
|
3509
3512
|
* @secure
|
|
3510
3513
|
* @response `200` `TaskPaginated` Success
|
|
3511
3514
|
*/
|
|
3512
|
-
searchTasks: (data, query, params = {}) => this.request(Object.assign({ path: `/api/tasks/search`, method: "POST", query: query, body: data, secure: true, type:
|
|
3515
|
+
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)),
|
|
3513
3516
|
/**
|
|
3514
3517
|
* No description
|
|
3515
3518
|
*
|
|
@@ -3519,7 +3522,7 @@ export class Api extends HttpClient {
|
|
|
3519
3522
|
* @secure
|
|
3520
3523
|
* @response `200` `void` Success
|
|
3521
3524
|
*/
|
|
3522
|
-
integrationsLosLoansCreate: (data, params = {}) => this.request(Object.assign({ path: `/api/integrations/los/loans`, method: "POST", body: data, secure: true, type:
|
|
3525
|
+
integrationsLosLoansCreate: (data, params = {}) => this.request(Object.assign({ path: `/api/integrations/los/loans`, method: "POST", body: data, secure: true, type: "application/json" }, params)),
|
|
3523
3526
|
/**
|
|
3524
3527
|
* No description
|
|
3525
3528
|
*
|
|
@@ -3529,7 +3532,7 @@ export class Api extends HttpClient {
|
|
|
3529
3532
|
* @secure
|
|
3530
3533
|
* @response `200` `EncompassRequestLogPaginated` Success
|
|
3531
3534
|
*/
|
|
3532
|
-
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:
|
|
3535
|
+
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)),
|
|
3533
3536
|
/**
|
|
3534
3537
|
* No description
|
|
3535
3538
|
*
|
|
@@ -3550,7 +3553,7 @@ export class Api extends HttpClient {
|
|
|
3550
3553
|
* @secure
|
|
3551
3554
|
* @response `201` `LosCredentials` Created
|
|
3552
3555
|
*/
|
|
3553
|
-
createEncompassCredentials: (data, params = {}) => this.request(Object.assign({ path: `/api/los/encompass/credentials`, method: "POST", body: data, secure: true, type:
|
|
3556
|
+
createEncompassCredentials: (data, params = {}) => this.request(Object.assign({ path: `/api/los/encompass/credentials`, method: "POST", body: data, secure: true, type: "application/json", format: "json" }, params)),
|
|
3554
3557
|
/**
|
|
3555
3558
|
* No description
|
|
3556
3559
|
*
|
|
@@ -3560,7 +3563,7 @@ export class Api extends HttpClient {
|
|
|
3560
3563
|
* @secure
|
|
3561
3564
|
* @response `200` `EncompassCredentialsDetail` Success
|
|
3562
3565
|
*/
|
|
3563
|
-
updateEncompassCredentials: (data, params = {}) => this.request(Object.assign({ path: `/api/los/encompass/credentials`, method: "PUT", body: data, secure: true, type:
|
|
3566
|
+
updateEncompassCredentials: (data, params = {}) => this.request(Object.assign({ path: `/api/los/encompass/credentials`, method: "PUT", body: data, secure: true, type: "application/json", format: "json" }, params)),
|
|
3564
3567
|
/**
|
|
3565
3568
|
* No description
|
|
3566
3569
|
*
|
|
@@ -3580,7 +3583,7 @@ export class Api extends HttpClient {
|
|
|
3580
3583
|
* @secure
|
|
3581
3584
|
* @response `201` `LosWebhook` Created
|
|
3582
3585
|
*/
|
|
3583
|
-
createEncompassWebhook: (data, params = {}) => this.request(Object.assign({ path: `/api/los/encompass/webhooks`, method: "POST", body: data, secure: true, type:
|
|
3586
|
+
createEncompassWebhook: (data, params = {}) => this.request(Object.assign({ path: `/api/los/encompass/webhooks`, method: "POST", body: data, secure: true, type: "application/json", format: "json" }, params)),
|
|
3584
3587
|
/**
|
|
3585
3588
|
* No description
|
|
3586
3589
|
*
|
|
@@ -3600,7 +3603,7 @@ export class Api extends HttpClient {
|
|
|
3600
3603
|
* @secure
|
|
3601
3604
|
* @response `200` `LosSyncPaginated` Success
|
|
3602
3605
|
*/
|
|
3603
|
-
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:
|
|
3606
|
+
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)),
|
|
3604
3607
|
/**
|
|
3605
3608
|
* No description
|
|
3606
3609
|
*
|
|
@@ -3683,7 +3686,7 @@ export class Api extends HttpClient {
|
|
|
3683
3686
|
* @response `201` `UserDevice` Created
|
|
3684
3687
|
* @response `400` `ProblemDetails` Bad Request
|
|
3685
3688
|
*/
|
|
3686
|
-
createUserDevice: (data, params = {}) => this.request(Object.assign({ path: `/api/userdevices`, method: "POST", body: data, secure: true, type:
|
|
3689
|
+
createUserDevice: (data, params = {}) => this.request(Object.assign({ path: `/api/userdevices`, method: "POST", body: data, secure: true, type: "application/json", format: "json" }, params)),
|
|
3687
3690
|
/**
|
|
3688
3691
|
* No description
|
|
3689
3692
|
*
|
|
@@ -3728,7 +3731,7 @@ export class Api extends HttpClient {
|
|
|
3728
3731
|
* @secure
|
|
3729
3732
|
* @response `200` `UserDraft` Success
|
|
3730
3733
|
*/
|
|
3731
|
-
addDraftUsers: (draftId, userId, data, params = {}) => this.request(Object.assign({ path: `/api/loans/drafts/${draftId}/users/${userId}`, method: "POST", body: data, secure: true, type:
|
|
3734
|
+
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)),
|
|
3732
3735
|
/**
|
|
3733
3736
|
* No description
|
|
3734
3737
|
*
|
|
@@ -3761,7 +3764,7 @@ export class Api extends HttpClient {
|
|
|
3761
3764
|
* @secure
|
|
3762
3765
|
* @response `200` `UserGroupAccessScope` Success
|
|
3763
3766
|
*/
|
|
3764
|
-
createUserGroupAccessScope: (groupId, data, params = {}) => this.request(Object.assign({ path: `/api/user-groups/${groupId}/scopes`, method: "POST", body: data, secure: true, type:
|
|
3767
|
+
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)),
|
|
3765
3768
|
/**
|
|
3766
3769
|
* No description
|
|
3767
3770
|
*
|
|
@@ -3794,7 +3797,7 @@ export class Api extends HttpClient {
|
|
|
3794
3797
|
* @secure
|
|
3795
3798
|
* @response `200` `UserGroupMember` Success
|
|
3796
3799
|
*/
|
|
3797
|
-
createUserGroupMember: (groupId, data, query, params = {}) => this.request(Object.assign({ path: `/api/user-groups/${groupId}/members`, method: "POST", query: query, body: data, secure: true, type:
|
|
3800
|
+
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)),
|
|
3798
3801
|
/**
|
|
3799
3802
|
* No description
|
|
3800
3803
|
*
|
|
@@ -3838,7 +3841,7 @@ export class Api extends HttpClient {
|
|
|
3838
3841
|
* @secure
|
|
3839
3842
|
* @response `200` `UserGroup` Success
|
|
3840
3843
|
*/
|
|
3841
|
-
updateUserGroup: (groupId, data, params = {}) => this.request(Object.assign({ path: `/api/user-groups/${groupId}`, method: "PUT", body: data, secure: true, type:
|
|
3844
|
+
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)),
|
|
3842
3845
|
/**
|
|
3843
3846
|
* No description
|
|
3844
3847
|
*
|
|
@@ -3860,7 +3863,7 @@ export class Api extends HttpClient {
|
|
|
3860
3863
|
* @secure
|
|
3861
3864
|
* @response `201` `UserGroup` Created
|
|
3862
3865
|
*/
|
|
3863
|
-
createUserGroup: (data, params = {}) => this.request(Object.assign({ path: `/api/user-groups`, method: "POST", body: data, secure: true, type:
|
|
3866
|
+
createUserGroup: (data, params = {}) => this.request(Object.assign({ path: `/api/user-groups`, method: "POST", body: data, secure: true, type: "application/json", format: "json" }, params)),
|
|
3864
3867
|
/**
|
|
3865
3868
|
* No description
|
|
3866
3869
|
*
|
|
@@ -3873,7 +3876,7 @@ export class Api extends HttpClient {
|
|
|
3873
3876
|
* @response `404` `Error` Not Found
|
|
3874
3877
|
* @response `422` `UnprocessableEntity` Client Error
|
|
3875
3878
|
*/
|
|
3876
|
-
requestImpersonation: (data, params = {}) => this.request(Object.assign({ path: `/api/users/impersonation/request`, method: "POST", body: data, secure: true, type:
|
|
3879
|
+
requestImpersonation: (data, params = {}) => this.request(Object.assign({ path: `/api/users/impersonation/request`, method: "POST", body: data, secure: true, type: "application/json" }, params)),
|
|
3877
3880
|
/**
|
|
3878
3881
|
* No description
|
|
3879
3882
|
*
|
|
@@ -3886,7 +3889,7 @@ export class Api extends HttpClient {
|
|
|
3886
3889
|
* @response `404` `Error` Not Found
|
|
3887
3890
|
* @response `422` `UnprocessableEntity` Client Error
|
|
3888
3891
|
*/
|
|
3889
|
-
allowImpersonation: (data, params = {}) => this.request(Object.assign({ path: `/api/users/impersonation/allow`, method: "POST", body: data, secure: true, type:
|
|
3892
|
+
allowImpersonation: (data, params = {}) => this.request(Object.assign({ path: `/api/users/impersonation/allow`, method: "POST", body: data, secure: true, type: "application/json" }, params)),
|
|
3890
3893
|
/**
|
|
3891
3894
|
* No description
|
|
3892
3895
|
*
|
|
@@ -3936,7 +3939,7 @@ export class Api extends HttpClient {
|
|
|
3936
3939
|
* @response `404` `Error` Not Found
|
|
3937
3940
|
* @response `422` `UnprocessableEntity` Client Error
|
|
3938
3941
|
*/
|
|
3939
|
-
forceImpersonation: (data, params = {}) => this.request(Object.assign({ path: `/api/users/impersonation/force`, method: "POST", body: data, secure: true, type:
|
|
3942
|
+
forceImpersonation: (data, params = {}) => this.request(Object.assign({ path: `/api/users/impersonation/force`, method: "POST", body: data, secure: true, type: "application/json" }, params)),
|
|
3940
3943
|
/**
|
|
3941
3944
|
* No description
|
|
3942
3945
|
*
|
|
@@ -3960,7 +3963,7 @@ export class Api extends HttpClient {
|
|
|
3960
3963
|
* @response `204` `void` No Content
|
|
3961
3964
|
* @response `422` `UnprocessableEntity` Client Error
|
|
3962
3965
|
*/
|
|
3963
|
-
inviteUser: (data, params = {}) => this.request(Object.assign({ path: `/api/users/invites`, method: "POST", body: data, secure: true, type:
|
|
3966
|
+
inviteUser: (data, params = {}) => this.request(Object.assign({ path: `/api/users/invites`, method: "POST", body: data, secure: true, type: "application/json" }, params)),
|
|
3964
3967
|
/**
|
|
3965
3968
|
* No description
|
|
3966
3969
|
*
|
|
@@ -4007,7 +4010,7 @@ export class Api extends HttpClient {
|
|
|
4007
4010
|
* @secure
|
|
4008
4011
|
* @response `204` `void` No Content
|
|
4009
4012
|
*/
|
|
4010
|
-
createUserRelation: (userId, data, params = {}) => this.request(Object.assign({ path: `/api/users/${userId}/relations`, method: "POST", body: data, secure: true, type:
|
|
4013
|
+
createUserRelation: (userId, data, params = {}) => this.request(Object.assign({ path: `/api/users/${userId}/relations`, method: "POST", body: data, secure: true, type: "application/json" }, params)),
|
|
4011
4014
|
/**
|
|
4012
4015
|
* No description
|
|
4013
4016
|
*
|
|
@@ -4052,7 +4055,7 @@ export class Api extends HttpClient {
|
|
|
4052
4055
|
* @response `200` `DetailedUser` Success
|
|
4053
4056
|
* @response `422` `UnprocessableEntity` Client Error
|
|
4054
4057
|
*/
|
|
4055
|
-
createUser: (data, params = {}) => this.request(Object.assign({ path: `/api/users`, method: "POST", body: data, secure: true, type:
|
|
4058
|
+
createUser: (data, params = {}) => this.request(Object.assign({ path: `/api/users`, method: "POST", body: data, secure: true, type: "application/json", format: "json" }, params)),
|
|
4056
4059
|
/**
|
|
4057
4060
|
* No description
|
|
4058
4061
|
*
|
|
@@ -4063,7 +4066,7 @@ export class Api extends HttpClient {
|
|
|
4063
4066
|
* @secure
|
|
4064
4067
|
* @response `200` `UserPaginated` Success
|
|
4065
4068
|
*/
|
|
4066
|
-
searchUsers: (data, query, params = {}) => this.request(Object.assign({ path: `/api/users/search`, method: "POST", query: query, body: data, secure: true, type:
|
|
4069
|
+
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)),
|
|
4067
4070
|
/**
|
|
4068
4071
|
* No description
|
|
4069
4072
|
*
|
|
@@ -4074,7 +4077,7 @@ export class Api extends HttpClient {
|
|
|
4074
4077
|
* @secure
|
|
4075
4078
|
* @response `200` `AdminAccessUser` Success
|
|
4076
4079
|
*/
|
|
4077
|
-
getUserByEmail: (data, params = {}) => this.request(Object.assign({ path: `/api/users/byemail`, method: "POST", body: data, secure: true, type:
|
|
4080
|
+
getUserByEmail: (data, params = {}) => this.request(Object.assign({ path: `/api/users/byemail`, method: "POST", body: data, secure: true, type: "application/json", format: "json" }, params)),
|
|
4078
4081
|
/**
|
|
4079
4082
|
* No description
|
|
4080
4083
|
*
|
|
@@ -4086,7 +4089,7 @@ export class Api extends HttpClient {
|
|
|
4086
4089
|
* @response `200` `User` Success
|
|
4087
4090
|
* @response `422` `UnprocessableEntity` Client Error
|
|
4088
4091
|
*/
|
|
4089
|
-
signUp: (data, params = {}) => this.request(Object.assign({ path: `/api/users/register`, method: "POST", body: data, secure: true, type:
|
|
4092
|
+
signUp: (data, params = {}) => this.request(Object.assign({ path: `/api/users/register`, method: "POST", body: data, secure: true, type: "application/json", format: "json" }, params)),
|
|
4090
4093
|
/**
|
|
4091
4094
|
* No description
|
|
4092
4095
|
*
|
|
@@ -4098,7 +4101,7 @@ export class Api extends HttpClient {
|
|
|
4098
4101
|
* @response `200` `DetailedUser` Success
|
|
4099
4102
|
* @response `422` `UnprocessableEntity` Client Error
|
|
4100
4103
|
*/
|
|
4101
|
-
replaceUser: (id, data, params = {}) => this.request(Object.assign({ path: `/api/users/${id}`, method: "PUT", body: data, secure: true, type:
|
|
4104
|
+
replaceUser: (id, data, params = {}) => this.request(Object.assign({ path: `/api/users/${id}`, method: "PUT", body: data, secure: true, type: "application/json", format: "json" }, params)),
|
|
4102
4105
|
/**
|
|
4103
4106
|
* No description
|
|
4104
4107
|
*
|
|
@@ -4132,7 +4135,7 @@ export class Api extends HttpClient {
|
|
|
4132
4135
|
* @response `204` `void` No Content
|
|
4133
4136
|
* @response `422` `UnprocessableEntity` Client Error
|
|
4134
4137
|
*/
|
|
4135
|
-
changePassword: (data, params = {}) => this.request(Object.assign({ path: `/api/users/change-password`, method: "POST", body: data, secure: true, type:
|
|
4138
|
+
changePassword: (data, params = {}) => this.request(Object.assign({ path: `/api/users/change-password`, method: "POST", body: data, secure: true, type: "application/json" }, params)),
|
|
4136
4139
|
/**
|
|
4137
4140
|
* No description
|
|
4138
4141
|
*
|
|
@@ -4144,7 +4147,7 @@ export class Api extends HttpClient {
|
|
|
4144
4147
|
* @response `204` `void` No Content
|
|
4145
4148
|
* @response `422` `UnprocessableEntity` Client Error
|
|
4146
4149
|
*/
|
|
4147
|
-
verifyPassword: (data, params = {}) => this.request(Object.assign({ path: `/api/users/verify-password`, method: "POST", body: data, secure: true, type:
|
|
4150
|
+
verifyPassword: (data, params = {}) => this.request(Object.assign({ path: `/api/users/verify-password`, method: "POST", body: data, secure: true, type: "application/json" }, params)),
|
|
4148
4151
|
/**
|
|
4149
4152
|
* No description
|
|
4150
4153
|
*
|
|
@@ -4156,7 +4159,7 @@ export class Api extends HttpClient {
|
|
|
4156
4159
|
* @response `204` `void` No Content
|
|
4157
4160
|
* @response `422` `UnprocessableEntity` Client Error
|
|
4158
4161
|
*/
|
|
4159
|
-
overridePassword: (id, data, params = {}) => this.request(Object.assign({ path: `/api/users/${id}/override-password`, method: "POST", body: data, secure: true, type:
|
|
4162
|
+
overridePassword: (id, data, params = {}) => this.request(Object.assign({ path: `/api/users/${id}/override-password`, method: "POST", body: data, secure: true, type: "application/json" }, params)),
|
|
4160
4163
|
/**
|
|
4161
4164
|
* No description
|
|
4162
4165
|
*
|
|
@@ -4168,7 +4171,7 @@ export class Api extends HttpClient {
|
|
|
4168
4171
|
* @response `204` `void` No Content
|
|
4169
4172
|
* @response `422` `UnprocessableEntity` Client Error
|
|
4170
4173
|
*/
|
|
4171
|
-
forgotPassword: (data, params = {}) => this.request(Object.assign({ path: `/api/users/forgot-password`, method: "POST", body: data, secure: true, type:
|
|
4174
|
+
forgotPassword: (data, params = {}) => this.request(Object.assign({ path: `/api/users/forgot-password`, method: "POST", body: data, secure: true, type: "application/json" }, params)),
|
|
4172
4175
|
/**
|
|
4173
4176
|
* No description
|
|
4174
4177
|
*
|
|
@@ -4192,7 +4195,7 @@ export class Api extends HttpClient {
|
|
|
4192
4195
|
* @response `204` `void` No Content
|
|
4193
4196
|
* @response `422` `UnprocessableEntity` Client Error
|
|
4194
4197
|
*/
|
|
4195
|
-
verifyUserMobilePhone: (data, params = {}) => this.request(Object.assign({ path: `/api/users/mobile-phone/verify-code`, method: "PUT", body: data, secure: true, type:
|
|
4198
|
+
verifyUserMobilePhone: (data, params = {}) => this.request(Object.assign({ path: `/api/users/mobile-phone/verify-code`, method: "PUT", body: data, secure: true, type: "application/json" }, params)),
|
|
4196
4199
|
/**
|
|
4197
4200
|
* No description
|
|
4198
4201
|
*
|
|
@@ -4215,7 +4218,7 @@ export class Api extends HttpClient {
|
|
|
4215
4218
|
* @secure
|
|
4216
4219
|
* @response `200` `DetailedUser` Success
|
|
4217
4220
|
*/
|
|
4218
|
-
replaceMe: (data, params = {}) => this.request(Object.assign({ path: `/api/users/me`, method: "PUT", body: data, secure: true, type:
|
|
4221
|
+
replaceMe: (data, params = {}) => this.request(Object.assign({ path: `/api/users/me`, method: "PUT", body: data, secure: true, type: "application/json", format: "json" }, params)),
|
|
4219
4222
|
/**
|
|
4220
4223
|
* @description Update the phone number If changed will send a verification code to the new number
|
|
4221
4224
|
*
|
|
@@ -4226,7 +4229,7 @@ export class Api extends HttpClient {
|
|
|
4226
4229
|
* @secure
|
|
4227
4230
|
* @response `204` `DetailedUser` No Content
|
|
4228
4231
|
*/
|
|
4229
|
-
updateMyPhone: (data, params = {}) => this.request(Object.assign({ path: `/api/users/me/phone-number`, method: "PUT", body: data, secure: true, type:
|
|
4232
|
+
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)),
|
|
4230
4233
|
/**
|
|
4231
4234
|
* No description
|
|
4232
4235
|
*
|
|
@@ -4270,7 +4273,7 @@ export class Api extends HttpClient {
|
|
|
4270
4273
|
* @secure
|
|
4271
4274
|
* @response `204` `void` No Content
|
|
4272
4275
|
*/
|
|
4273
|
-
deleteMe: (data, params = {}) => this.request(Object.assign({ path: `/api/users/me/delete`, method: "POST", body: data, secure: true, type:
|
|
4276
|
+
deleteMe: (data, params = {}) => this.request(Object.assign({ path: `/api/users/me/delete`, method: "POST", body: data, secure: true, type: "application/json" }, params)),
|
|
4274
4277
|
/**
|
|
4275
4278
|
* No description
|
|
4276
4279
|
*
|
|
@@ -4281,7 +4284,7 @@ export class Api extends HttpClient {
|
|
|
4281
4284
|
* @secure
|
|
4282
4285
|
* @response `200` `GetForm` Success
|
|
4283
4286
|
*/
|
|
4284
|
-
getWorkflow: (data, params = {}) => this.request(Object.assign({ path: `/api/workflow`, method: "POST", body: data, secure: true, type:
|
|
4287
|
+
getWorkflow: (data, params = {}) => this.request(Object.assign({ path: `/api/workflow`, method: "POST", body: data, secure: true, type: "application/json", format: "json" }, params)),
|
|
4285
4288
|
};
|
|
4286
4289
|
this.sso = {
|
|
4287
4290
|
/**
|