@matech/thebigpos-sdk 2.41.0-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/.husky/pre-commit +2 -2
- package/LICENSE +21 -21
- package/README.md +73 -73
- package/dist/index.d.ts +146 -87
- package/dist/index.js +161 -170
- package/dist/index.js.map +1 -1
- package/package.json +3 -3
- package/src/index.ts +736 -517
- package/tsconfig.json +27 -27
package/dist/index.js
CHANGED
|
@@ -30,15 +30,6 @@ var __rest = (this && this.__rest) || function (s, e) {
|
|
|
30
30
|
return t;
|
|
31
31
|
};
|
|
32
32
|
import axios from "axios";
|
|
33
|
-
export var ContentType;
|
|
34
|
-
(function (ContentType) {
|
|
35
|
-
ContentType["JsonPatch"] = "application/json-patch+json";
|
|
36
|
-
ContentType["Json"] = "application/json";
|
|
37
|
-
ContentType["JsonApi"] = "application/vnd.api+json";
|
|
38
|
-
ContentType["FormData"] = "multipart/form-data";
|
|
39
|
-
ContentType["UrlEncoded"] = "application/x-www-form-urlencoded";
|
|
40
|
-
ContentType["Text"] = "text/plain";
|
|
41
|
-
})(ContentType || (ContentType = {}));
|
|
42
33
|
export class HttpClient {
|
|
43
34
|
constructor(_a = {}) {
|
|
44
35
|
var { securityWorker, secure, format } = _a, axiosConfig = __rest(_a, ["securityWorker", "secure", "format"]);
|
|
@@ -54,13 +45,13 @@ export class HttpClient {
|
|
|
54
45
|
{};
|
|
55
46
|
const requestParams = this.mergeRequestParams(params, secureParams);
|
|
56
47
|
const responseFormat = format || this.format || undefined;
|
|
57
|
-
if (type ===
|
|
48
|
+
if (type === "multipart/form-data" &&
|
|
58
49
|
body &&
|
|
59
50
|
body !== null &&
|
|
60
51
|
typeof body === "object") {
|
|
61
52
|
body = this.createFormData(body);
|
|
62
53
|
}
|
|
63
|
-
if (type ===
|
|
54
|
+
if (type === "text/plain" &&
|
|
64
55
|
body &&
|
|
65
56
|
body !== null &&
|
|
66
57
|
typeof body !== "string") {
|
|
@@ -104,7 +95,7 @@ export class HttpClient {
|
|
|
104
95
|
}
|
|
105
96
|
/**
|
|
106
97
|
* @title The Big POS API
|
|
107
|
-
* @version v2.
|
|
98
|
+
* @version v2.42.0
|
|
108
99
|
* @termsOfService https://www.thebigpos.com/terms-of-use/
|
|
109
100
|
* @contact Mortgage Automation Technologies <support@thebigpos.com> (https://www.thebigpos.com/terms-of-use/)
|
|
110
101
|
*/
|
|
@@ -156,7 +147,7 @@ export class Api extends HttpClient {
|
|
|
156
147
|
* @response `404` `ProblemDetails` Not Found
|
|
157
148
|
* @response `422` `ProblemDetails` Client Error
|
|
158
149
|
*/
|
|
159
|
-
replaceMyAccount: (data, params = {}) => this.request(Object.assign({ path: `/api/account`, method: "PUT", body: data, secure: true, type:
|
|
150
|
+
replaceMyAccount: (data, params = {}) => this.request(Object.assign({ path: `/api/account`, method: "PUT", body: data, secure: true, type: "application/json", format: "json" }, params)),
|
|
160
151
|
/**
|
|
161
152
|
* No description
|
|
162
153
|
*
|
|
@@ -179,7 +170,7 @@ export class Api extends HttpClient {
|
|
|
179
170
|
* @response `200` `SiteConfiguration` Success
|
|
180
171
|
* @response `422` `UnprocessableEntity` Client Error
|
|
181
172
|
*/
|
|
182
|
-
updateSiteConfigurationForAccount: (data, params = {}) => this.request(Object.assign({ path: `/api/account/site-configurations`, method: "PUT", body: data, secure: true, type:
|
|
173
|
+
updateSiteConfigurationForAccount: (data, params = {}) => this.request(Object.assign({ path: `/api/account/site-configurations`, method: "PUT", body: data, secure: true, type: "application/json", format: "json" }, params)),
|
|
183
174
|
/**
|
|
184
175
|
* No description
|
|
185
176
|
*
|
|
@@ -190,7 +181,7 @@ export class Api extends HttpClient {
|
|
|
190
181
|
* @secure
|
|
191
182
|
* @response `204` `void` No Content
|
|
192
183
|
*/
|
|
193
|
-
requestAccountReactivation: (data, params = {}) => this.request(Object.assign({ path: `/api/account/reactivation/request`, method: "POST", body: data, secure: true, type:
|
|
184
|
+
requestAccountReactivation: (data, params = {}) => this.request(Object.assign({ path: `/api/account/reactivation/request`, method: "POST", body: data, secure: true, type: "application/json" }, params)),
|
|
194
185
|
/**
|
|
195
186
|
* No description
|
|
196
187
|
*
|
|
@@ -202,7 +193,7 @@ export class Api extends HttpClient {
|
|
|
202
193
|
* @response `204` `void` No Content
|
|
203
194
|
* @response `400` `ProblemDetails` Bad Request
|
|
204
195
|
*/
|
|
205
|
-
completeAccountReactivation: (data, params = {}) => this.request(Object.assign({ path: `/api/account/reactivation/complete`, method: "POST", body: data, secure: true, type:
|
|
196
|
+
completeAccountReactivation: (data, params = {}) => this.request(Object.assign({ path: `/api/account/reactivation/complete`, method: "POST", body: data, secure: true, type: "application/json" }, params)),
|
|
206
197
|
/**
|
|
207
198
|
* No description
|
|
208
199
|
*
|
|
@@ -225,7 +216,7 @@ export class Api extends HttpClient {
|
|
|
225
216
|
* @response `201` `Account` Created
|
|
226
217
|
* @response `422` `ProblemDetails` Client Error
|
|
227
218
|
*/
|
|
228
|
-
createAccount: (data, params = {}) => this.request(Object.assign({ path: `/api/accounts`, method: "POST", body: data, secure: true, type:
|
|
219
|
+
createAccount: (data, params = {}) => this.request(Object.assign({ path: `/api/accounts`, method: "POST", body: data, secure: true, type: "application/json", format: "json" }, params)),
|
|
229
220
|
/**
|
|
230
221
|
* No description
|
|
231
222
|
*
|
|
@@ -263,7 +254,7 @@ export class Api extends HttpClient {
|
|
|
263
254
|
* @response `404` `ProblemDetails` Not Found
|
|
264
255
|
* @response `422` `ProblemDetails` Client Error
|
|
265
256
|
*/
|
|
266
|
-
updateAccountBilling: (id, data, params = {}) => this.request(Object.assign({ path: `/api/accounts/${id}/billing`, method: "PUT", body: data, secure: true, type:
|
|
257
|
+
updateAccountBilling: (id, data, params = {}) => this.request(Object.assign({ path: `/api/accounts/${id}/billing`, method: "PUT", body: data, secure: true, type: "application/json", format: "json" }, params)),
|
|
267
258
|
/**
|
|
268
259
|
* No description
|
|
269
260
|
*
|
|
@@ -274,7 +265,7 @@ export class Api extends HttpClient {
|
|
|
274
265
|
* @secure
|
|
275
266
|
* @response `200` `AuditLogEntryPaginated` Success
|
|
276
267
|
*/
|
|
277
|
-
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)),
|
|
278
269
|
/**
|
|
279
270
|
* No description
|
|
280
271
|
*
|
|
@@ -310,7 +301,7 @@ export class Api extends HttpClient {
|
|
|
310
301
|
* @response `401` `ProblemDetails` Unauthorized
|
|
311
302
|
* @response `422` `UnprocessableEntity` Client Error
|
|
312
303
|
*/
|
|
313
|
-
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)),
|
|
314
305
|
/**
|
|
315
306
|
* No description
|
|
316
307
|
*
|
|
@@ -322,7 +313,7 @@ export class Api extends HttpClient {
|
|
|
322
313
|
* @response `200` `AccountDeactivated` Success
|
|
323
314
|
* @response `422` `UnprocessableEntity` Client Error
|
|
324
315
|
*/
|
|
325
|
-
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)),
|
|
326
317
|
/**
|
|
327
318
|
* No description
|
|
328
319
|
*
|
|
@@ -334,7 +325,7 @@ export class Api extends HttpClient {
|
|
|
334
325
|
* @response `200` `AccountDeactivated` Success
|
|
335
326
|
* @response `422` `UnprocessableEntity` Client Error
|
|
336
327
|
*/
|
|
337
|
-
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)),
|
|
338
329
|
/**
|
|
339
330
|
* No description
|
|
340
331
|
*
|
|
@@ -346,7 +337,7 @@ export class Api extends HttpClient {
|
|
|
346
337
|
* @response `200` `Token` Success
|
|
347
338
|
* @response `422` `UnprocessableEntity` Client Error
|
|
348
339
|
*/
|
|
349
|
-
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)),
|
|
350
341
|
/**
|
|
351
342
|
* No description
|
|
352
343
|
*
|
|
@@ -358,7 +349,7 @@ export class Api extends HttpClient {
|
|
|
358
349
|
* @response `200` `SSOToken` Success
|
|
359
350
|
* @response `422` `UnprocessableEntity` Client Error
|
|
360
351
|
*/
|
|
361
|
-
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)),
|
|
362
353
|
/**
|
|
363
354
|
* No description
|
|
364
355
|
*
|
|
@@ -393,7 +384,7 @@ export class Api extends HttpClient {
|
|
|
393
384
|
* @response `200` `GetBranch` Success
|
|
394
385
|
* @response `422` `UnprocessableEntity` Client Error
|
|
395
386
|
*/
|
|
396
|
-
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)),
|
|
397
388
|
/**
|
|
398
389
|
* No description
|
|
399
390
|
*
|
|
@@ -404,7 +395,7 @@ export class Api extends HttpClient {
|
|
|
404
395
|
* @secure
|
|
405
396
|
* @response `200` `GetBranchPaginated` Success
|
|
406
397
|
*/
|
|
407
|
-
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)),
|
|
408
399
|
/**
|
|
409
400
|
* No description
|
|
410
401
|
*
|
|
@@ -427,7 +418,7 @@ export class Api extends HttpClient {
|
|
|
427
418
|
* @response `200` `GetBranch` Success
|
|
428
419
|
* @response `422` `UnprocessableEntity` Client Error
|
|
429
420
|
*/
|
|
430
|
-
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)),
|
|
431
422
|
/**
|
|
432
423
|
* No description
|
|
433
424
|
*
|
|
@@ -462,7 +453,7 @@ export class Api extends HttpClient {
|
|
|
462
453
|
* @response `200` `SiteConfiguration` Success
|
|
463
454
|
* @response `422` `UnprocessableEntity` Client Error
|
|
464
455
|
*/
|
|
465
|
-
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)),
|
|
466
457
|
/**
|
|
467
458
|
* No description
|
|
468
459
|
*
|
|
@@ -485,7 +476,7 @@ export class Api extends HttpClient {
|
|
|
485
476
|
* @response `200` `SiteConfiguration` Success
|
|
486
477
|
* @response `422` `UnprocessableEntity` Client Error
|
|
487
478
|
*/
|
|
488
|
-
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)),
|
|
489
480
|
/**
|
|
490
481
|
* No description
|
|
491
482
|
*
|
|
@@ -519,7 +510,7 @@ export class Api extends HttpClient {
|
|
|
519
510
|
* @response `200` `BusinessRule` Success
|
|
520
511
|
* @response `422` `UnprocessableEntity` Client Error
|
|
521
512
|
*/
|
|
522
|
-
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)),
|
|
523
514
|
/**
|
|
524
515
|
* No description
|
|
525
516
|
*
|
|
@@ -542,7 +533,7 @@ export class Api extends HttpClient {
|
|
|
542
533
|
* @response `200` `BusinessRule` Success
|
|
543
534
|
* @response `422` `UnprocessableEntity` Client Error
|
|
544
535
|
*/
|
|
545
|
-
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)),
|
|
546
537
|
/**
|
|
547
538
|
* No description
|
|
548
539
|
*
|
|
@@ -575,7 +566,7 @@ export class Api extends HttpClient {
|
|
|
575
566
|
* @secure
|
|
576
567
|
* @response `200` `ClosedLoansReport` Success
|
|
577
568
|
*/
|
|
578
|
-
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)),
|
|
579
570
|
/**
|
|
580
571
|
* No description
|
|
581
572
|
*
|
|
@@ -620,7 +611,7 @@ export class Api extends HttpClient {
|
|
|
620
611
|
* @response `200` `Corporate` Success
|
|
621
612
|
* @response `422` `UnprocessableEntity` Client Error
|
|
622
613
|
*/
|
|
623
|
-
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)),
|
|
624
615
|
/**
|
|
625
616
|
* No description
|
|
626
617
|
*
|
|
@@ -631,7 +622,7 @@ export class Api extends HttpClient {
|
|
|
631
622
|
* @secure
|
|
632
623
|
* @response `200` `CorporatePaginated` Success
|
|
633
624
|
*/
|
|
634
|
-
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)),
|
|
635
626
|
/**
|
|
636
627
|
* No description
|
|
637
628
|
*
|
|
@@ -654,7 +645,7 @@ export class Api extends HttpClient {
|
|
|
654
645
|
* @response `200` `Corporate` Success
|
|
655
646
|
* @response `422` `UnprocessableEntity` Client Error
|
|
656
647
|
*/
|
|
657
|
-
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)),
|
|
658
649
|
/**
|
|
659
650
|
* No description
|
|
660
651
|
*
|
|
@@ -688,7 +679,7 @@ export class Api extends HttpClient {
|
|
|
688
679
|
* @response `200` `SiteConfiguration` Success
|
|
689
680
|
* @response `422` `UnprocessableEntity` Client Error
|
|
690
681
|
*/
|
|
691
|
-
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)),
|
|
692
683
|
/**
|
|
693
684
|
* No description
|
|
694
685
|
*
|
|
@@ -711,7 +702,7 @@ export class Api extends HttpClient {
|
|
|
711
702
|
* @response `200` `SiteConfiguration` Success
|
|
712
703
|
* @response `422` `UnprocessableEntity` Client Error
|
|
713
704
|
*/
|
|
714
|
-
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)),
|
|
715
706
|
/**
|
|
716
707
|
* No description
|
|
717
708
|
*
|
|
@@ -757,7 +748,7 @@ export class Api extends HttpClient {
|
|
|
757
748
|
* @response `409` `ProblemDetails` Conflict
|
|
758
749
|
* @response `422` `ProblemDetails` Client Error
|
|
759
750
|
*/
|
|
760
|
-
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)),
|
|
761
752
|
/**
|
|
762
753
|
* No description
|
|
763
754
|
*
|
|
@@ -784,7 +775,7 @@ export class Api extends HttpClient {
|
|
|
784
775
|
* @response `409` `ProblemDetails` Conflict
|
|
785
776
|
* @response `422` `ProblemDetails` Client Error
|
|
786
777
|
*/
|
|
787
|
-
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)),
|
|
788
779
|
/**
|
|
789
780
|
* No description
|
|
790
781
|
*
|
|
@@ -854,7 +845,7 @@ export class Api extends HttpClient {
|
|
|
854
845
|
* @secure
|
|
855
846
|
* @response `200` `Device` Success
|
|
856
847
|
*/
|
|
857
|
-
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)),
|
|
858
849
|
/**
|
|
859
850
|
* No description
|
|
860
851
|
*
|
|
@@ -911,7 +902,7 @@ export class Api extends HttpClient {
|
|
|
911
902
|
* @response `404` `ProblemDetails` Not Found
|
|
912
903
|
* @response `422` `UnprocessableEntity` Client Error
|
|
913
904
|
*/
|
|
914
|
-
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)),
|
|
915
906
|
/**
|
|
916
907
|
* No description
|
|
917
908
|
*
|
|
@@ -948,7 +939,7 @@ export class Api extends HttpClient {
|
|
|
948
939
|
* @response `404` `ProblemDetails` Not Found
|
|
949
940
|
* @response `422` `UnprocessableEntity` Client Error
|
|
950
941
|
*/
|
|
951
|
-
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)),
|
|
952
943
|
/**
|
|
953
944
|
* No description
|
|
954
945
|
*
|
|
@@ -996,7 +987,7 @@ export class Api extends HttpClient {
|
|
|
996
987
|
* @secure
|
|
997
988
|
* @response `200` `DocumentTemplateVersion` Success
|
|
998
989
|
*/
|
|
999
|
-
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)),
|
|
1000
991
|
/**
|
|
1001
992
|
* No description
|
|
1002
993
|
*
|
|
@@ -1018,7 +1009,7 @@ export class Api extends HttpClient {
|
|
|
1018
1009
|
* @secure
|
|
1019
1010
|
* @response `200` `DocumentTemplateVersion` Success
|
|
1020
1011
|
*/
|
|
1021
|
-
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)),
|
|
1022
1013
|
/**
|
|
1023
1014
|
* No description
|
|
1024
1015
|
*
|
|
@@ -1054,7 +1045,7 @@ export class Api extends HttpClient {
|
|
|
1054
1045
|
* @response `409` `void` Conflict
|
|
1055
1046
|
* @response `422` `ProblemDetails` Client Error
|
|
1056
1047
|
*/
|
|
1057
|
-
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)),
|
|
1058
1049
|
/**
|
|
1059
1050
|
* No description
|
|
1060
1051
|
*
|
|
@@ -1139,7 +1130,7 @@ export class Api extends HttpClient {
|
|
|
1139
1130
|
* @response `404` `EncompassError` Not Found
|
|
1140
1131
|
* @response `500` `EncompassError` Server Error
|
|
1141
1132
|
*/
|
|
1142
|
-
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)),
|
|
1143
1134
|
/**
|
|
1144
1135
|
* No description
|
|
1145
1136
|
*
|
|
@@ -1162,7 +1153,7 @@ export class Api extends HttpClient {
|
|
|
1162
1153
|
* @response `201` `File` Created
|
|
1163
1154
|
* @response `422` `UnprocessableEntity` Client Error
|
|
1164
1155
|
*/
|
|
1165
|
-
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)),
|
|
1166
1157
|
/**
|
|
1167
1158
|
* No description
|
|
1168
1159
|
*
|
|
@@ -1185,7 +1176,7 @@ export class Api extends HttpClient {
|
|
|
1185
1176
|
* @response `200` `string` Success
|
|
1186
1177
|
* @response `422` `UnprocessableEntity` Client Error
|
|
1187
1178
|
*/
|
|
1188
|
-
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)),
|
|
1189
1180
|
/**
|
|
1190
1181
|
* No description
|
|
1191
1182
|
*
|
|
@@ -1207,7 +1198,7 @@ export class Api extends HttpClient {
|
|
|
1207
1198
|
* @secure
|
|
1208
1199
|
* @response `200` `FilePaginated` Success
|
|
1209
1200
|
*/
|
|
1210
|
-
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)),
|
|
1211
1202
|
/**
|
|
1212
1203
|
* No description
|
|
1213
1204
|
*
|
|
@@ -1230,7 +1221,7 @@ export class Api extends HttpClient {
|
|
|
1230
1221
|
* @response `201` `Form` Created
|
|
1231
1222
|
* @response `422` `UnprocessableEntity` Client Error
|
|
1232
1223
|
*/
|
|
1233
|
-
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)),
|
|
1234
1225
|
/**
|
|
1235
1226
|
* No description
|
|
1236
1227
|
*
|
|
@@ -1253,7 +1244,7 @@ export class Api extends HttpClient {
|
|
|
1253
1244
|
* @response `200` `Form` Success
|
|
1254
1245
|
* @response `422` `UnprocessableEntity` Client Error
|
|
1255
1246
|
*/
|
|
1256
|
-
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)),
|
|
1257
1248
|
/**
|
|
1258
1249
|
* No description
|
|
1259
1250
|
*
|
|
@@ -1286,7 +1277,7 @@ export class Api extends HttpClient {
|
|
|
1286
1277
|
* @secure
|
|
1287
1278
|
* @response `200` `FormSubmissionFile` Success
|
|
1288
1279
|
*/
|
|
1289
|
-
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)),
|
|
1290
1281
|
/**
|
|
1291
1282
|
* No description
|
|
1292
1283
|
*
|
|
@@ -1330,7 +1321,7 @@ export class Api extends HttpClient {
|
|
|
1330
1321
|
* @secure
|
|
1331
1322
|
* @response `201` `FormSubmission` Created
|
|
1332
1323
|
*/
|
|
1333
|
-
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)),
|
|
1334
1325
|
/**
|
|
1335
1326
|
* No description
|
|
1336
1327
|
*
|
|
@@ -1352,7 +1343,7 @@ export class Api extends HttpClient {
|
|
|
1352
1343
|
* @secure
|
|
1353
1344
|
* @response `200` `FormSubmission` Success
|
|
1354
1345
|
*/
|
|
1355
|
-
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)),
|
|
1356
1347
|
/**
|
|
1357
1348
|
* No description
|
|
1358
1349
|
*
|
|
@@ -1374,7 +1365,7 @@ export class Api extends HttpClient {
|
|
|
1374
1365
|
* @secure
|
|
1375
1366
|
* @response `200` `FormSubmissionPaginated` Success
|
|
1376
1367
|
*/
|
|
1377
|
-
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)),
|
|
1378
1369
|
/**
|
|
1379
1370
|
* No description
|
|
1380
1371
|
*
|
|
@@ -1396,7 +1387,7 @@ export class Api extends HttpClient {
|
|
|
1396
1387
|
* @secure
|
|
1397
1388
|
* @response `200` `FormVersion` Success
|
|
1398
1389
|
*/
|
|
1399
|
-
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)),
|
|
1400
1391
|
/**
|
|
1401
1392
|
* No description
|
|
1402
1393
|
*
|
|
@@ -1418,7 +1409,7 @@ export class Api extends HttpClient {
|
|
|
1418
1409
|
* @secure
|
|
1419
1410
|
* @response `200` `FormVersion` Success
|
|
1420
1411
|
*/
|
|
1421
|
-
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)),
|
|
1422
1413
|
/**
|
|
1423
1414
|
* No description
|
|
1424
1415
|
*
|
|
@@ -1464,7 +1455,7 @@ export class Api extends HttpClient {
|
|
|
1464
1455
|
* @response `200` `string` Success
|
|
1465
1456
|
* @response `422` `UnprocessableEntity` Client Error
|
|
1466
1457
|
*/
|
|
1467
|
-
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)),
|
|
1468
1459
|
/**
|
|
1469
1460
|
* No description
|
|
1470
1461
|
*
|
|
@@ -1475,7 +1466,7 @@ export class Api extends HttpClient {
|
|
|
1475
1466
|
* @secure
|
|
1476
1467
|
* @response `200` `GetReport` Success
|
|
1477
1468
|
*/
|
|
1478
|
-
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)),
|
|
1479
1470
|
/**
|
|
1480
1471
|
* No description
|
|
1481
1472
|
*
|
|
@@ -1489,7 +1480,7 @@ export class Api extends HttpClient {
|
|
|
1489
1480
|
* @response `422` `UnprocessableEntity` Client Error
|
|
1490
1481
|
* @response `423` `UnprocessableEntity` Client Error
|
|
1491
1482
|
*/
|
|
1492
|
-
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)),
|
|
1493
1484
|
/**
|
|
1494
1485
|
* No description
|
|
1495
1486
|
*
|
|
@@ -1502,7 +1493,7 @@ export class Api extends HttpClient {
|
|
|
1502
1493
|
* @response `422` `UnprocessableEntity` Client Error
|
|
1503
1494
|
* @response `423` `UnprocessableEntity` Client Error
|
|
1504
1495
|
*/
|
|
1505
|
-
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)),
|
|
1506
1497
|
/**
|
|
1507
1498
|
* No description
|
|
1508
1499
|
*
|
|
@@ -1514,7 +1505,7 @@ export class Api extends HttpClient {
|
|
|
1514
1505
|
* @response `200` `string` Success
|
|
1515
1506
|
* @response `422` `UnprocessableEntity` Client Error
|
|
1516
1507
|
*/
|
|
1517
|
-
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)),
|
|
1518
1509
|
/**
|
|
1519
1510
|
* No description
|
|
1520
1511
|
*
|
|
@@ -1527,7 +1518,7 @@ export class Api extends HttpClient {
|
|
|
1527
1518
|
* @response `202` `string` Accepted
|
|
1528
1519
|
* @response `422` `UnprocessableEntity` Client Error
|
|
1529
1520
|
*/
|
|
1530
|
-
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)),
|
|
1531
1522
|
/**
|
|
1532
1523
|
* No description
|
|
1533
1524
|
*
|
|
@@ -1605,7 +1596,7 @@ export class Api extends HttpClient {
|
|
|
1605
1596
|
* @secure
|
|
1606
1597
|
* @response `200` `DocumentDataRequest` Success
|
|
1607
1598
|
*/
|
|
1608
|
-
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)),
|
|
1609
1600
|
/**
|
|
1610
1601
|
* No description
|
|
1611
1602
|
*
|
|
@@ -1630,7 +1621,7 @@ export class Api extends HttpClient {
|
|
|
1630
1621
|
* @secure
|
|
1631
1622
|
* @response `200` `ListingFile` Success
|
|
1632
1623
|
*/
|
|
1633
|
-
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)),
|
|
1634
1625
|
/**
|
|
1635
1626
|
* No description
|
|
1636
1627
|
*
|
|
@@ -1641,7 +1632,7 @@ export class Api extends HttpClient {
|
|
|
1641
1632
|
* @secure
|
|
1642
1633
|
* @response `200` `ListingFile` Success
|
|
1643
1634
|
*/
|
|
1644
|
-
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)),
|
|
1645
1636
|
/**
|
|
1646
1637
|
* No description
|
|
1647
1638
|
*
|
|
@@ -1663,7 +1654,7 @@ export class Api extends HttpClient {
|
|
|
1663
1654
|
* @secure
|
|
1664
1655
|
* @response `200` `ListingPhoto` Success
|
|
1665
1656
|
*/
|
|
1666
|
-
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)),
|
|
1667
1658
|
/**
|
|
1668
1659
|
* No description
|
|
1669
1660
|
*
|
|
@@ -1674,7 +1665,7 @@ export class Api extends HttpClient {
|
|
|
1674
1665
|
* @secure
|
|
1675
1666
|
* @response `200` `(ListingPhoto)[]` Success
|
|
1676
1667
|
*/
|
|
1677
|
-
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)),
|
|
1678
1669
|
/**
|
|
1679
1670
|
* No description
|
|
1680
1671
|
*
|
|
@@ -1707,7 +1698,7 @@ export class Api extends HttpClient {
|
|
|
1707
1698
|
* @secure
|
|
1708
1699
|
* @response `201` `Listing` Created
|
|
1709
1700
|
*/
|
|
1710
|
-
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)),
|
|
1711
1702
|
/**
|
|
1712
1703
|
* No description
|
|
1713
1704
|
*
|
|
@@ -1740,7 +1731,7 @@ export class Api extends HttpClient {
|
|
|
1740
1731
|
* @secure
|
|
1741
1732
|
* @response `200` `Listing` Success
|
|
1742
1733
|
*/
|
|
1743
|
-
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)),
|
|
1744
1735
|
/**
|
|
1745
1736
|
* No description
|
|
1746
1737
|
*
|
|
@@ -1762,7 +1753,7 @@ export class Api extends HttpClient {
|
|
|
1762
1753
|
* @secure
|
|
1763
1754
|
* @response `200` `ListingPaginated` Success
|
|
1764
1755
|
*/
|
|
1765
|
-
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)),
|
|
1766
1757
|
/**
|
|
1767
1758
|
* No description
|
|
1768
1759
|
*
|
|
@@ -1773,7 +1764,7 @@ export class Api extends HttpClient {
|
|
|
1773
1764
|
* @secure
|
|
1774
1765
|
* @response `200` `File` Success
|
|
1775
1766
|
*/
|
|
1776
|
-
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)),
|
|
1777
1768
|
/**
|
|
1778
1769
|
* No description
|
|
1779
1770
|
*
|
|
@@ -1819,7 +1810,7 @@ export class Api extends HttpClient {
|
|
|
1819
1810
|
* @response `422` `UnprocessableEntity` Client Error
|
|
1820
1811
|
* @response `423` `UnprocessableEntity` Client Error
|
|
1821
1812
|
*/
|
|
1822
|
-
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)),
|
|
1823
1814
|
/**
|
|
1824
1815
|
* No description
|
|
1825
1816
|
*
|
|
@@ -1843,7 +1834,7 @@ export class Api extends HttpClient {
|
|
|
1843
1834
|
* @response `422` `UnprocessableEntity` Client Error
|
|
1844
1835
|
* @response `423` `UnprocessableEntity` Client Error
|
|
1845
1836
|
*/
|
|
1846
|
-
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)),
|
|
1847
1838
|
/**
|
|
1848
1839
|
* No description
|
|
1849
1840
|
*
|
|
@@ -1866,7 +1857,7 @@ export class Api extends HttpClient {
|
|
|
1866
1857
|
* @response `204` `void` No Content
|
|
1867
1858
|
* @response `422` `UnprocessableEntity` Client Error
|
|
1868
1859
|
*/
|
|
1869
|
-
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)),
|
|
1870
1861
|
/**
|
|
1871
1862
|
* No description
|
|
1872
1863
|
*
|
|
@@ -1903,7 +1894,7 @@ export class Api extends HttpClient {
|
|
|
1903
1894
|
* @response `400` `ProblemDetails` Bad Request
|
|
1904
1895
|
* @response `422` `ProblemDetails` Client Error
|
|
1905
1896
|
*/
|
|
1906
|
-
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)),
|
|
1907
1898
|
/**
|
|
1908
1899
|
* No description
|
|
1909
1900
|
*
|
|
@@ -1917,7 +1908,7 @@ export class Api extends HttpClient {
|
|
|
1917
1908
|
* @response `404` `ProblemDetails` Not Found
|
|
1918
1909
|
* @response `422` `ProblemDetails` Client Error
|
|
1919
1910
|
*/
|
|
1920
|
-
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)),
|
|
1921
1912
|
/**
|
|
1922
1913
|
* No description
|
|
1923
1914
|
*
|
|
@@ -1951,7 +1942,7 @@ export class Api extends HttpClient {
|
|
|
1951
1942
|
* @secure
|
|
1952
1943
|
* @response `201` `(string)[]` Created
|
|
1953
1944
|
*/
|
|
1954
|
-
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)),
|
|
1955
1946
|
/**
|
|
1956
1947
|
* No description
|
|
1957
1948
|
*
|
|
@@ -1975,7 +1966,7 @@ export class Api extends HttpClient {
|
|
|
1975
1966
|
* @response `409` `ProblemDetails` Conflict
|
|
1976
1967
|
* @response `422` `ProblemDetails` Client Error
|
|
1977
1968
|
*/
|
|
1978
|
-
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)),
|
|
1979
1970
|
/**
|
|
1980
1971
|
* No description
|
|
1981
1972
|
*
|
|
@@ -2002,7 +1993,7 @@ export class Api extends HttpClient {
|
|
|
2002
1993
|
* @response `409` `ProblemDetails` Conflict
|
|
2003
1994
|
* @response `422` `ProblemDetails` Client Error
|
|
2004
1995
|
*/
|
|
2005
|
-
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)),
|
|
2006
1997
|
/**
|
|
2007
1998
|
* No description
|
|
2008
1999
|
*
|
|
@@ -2077,7 +2068,7 @@ export class Api extends HttpClient {
|
|
|
2077
2068
|
* @response `200` `Record<string,string>` Success
|
|
2078
2069
|
* @response `400` `ProblemDetails` Bad Request
|
|
2079
2070
|
*/
|
|
2080
|
-
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)),
|
|
2081
2072
|
/**
|
|
2082
2073
|
* No description
|
|
2083
2074
|
*
|
|
@@ -2088,7 +2079,7 @@ export class Api extends HttpClient {
|
|
|
2088
2079
|
* @secure
|
|
2089
2080
|
* @response `200` `LoanDocumentSearchPaginated` Success
|
|
2090
2081
|
*/
|
|
2091
|
-
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)),
|
|
2092
2083
|
/**
|
|
2093
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).
|
|
2094
2085
|
*
|
|
@@ -2099,7 +2090,7 @@ export class Api extends HttpClient {
|
|
|
2099
2090
|
* @secure
|
|
2100
2091
|
* @response `200` `(DocumentFolder)[]` Success
|
|
2101
2092
|
*/
|
|
2102
|
-
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)),
|
|
2103
2094
|
/**
|
|
2104
2095
|
* No description
|
|
2105
2096
|
*
|
|
@@ -2108,7 +2099,7 @@ export class Api extends HttpClient {
|
|
|
2108
2099
|
* @summary Download By ID
|
|
2109
2100
|
* @request GET:/api/loans/{loanId}/documents/{documentId}/download
|
|
2110
2101
|
* @secure
|
|
2111
|
-
* @response `200` `
|
|
2102
|
+
* @response `200` `Blob` Success
|
|
2112
2103
|
* @response `404` `ProblemDetails` Not Found
|
|
2113
2104
|
*/
|
|
2114
2105
|
downloadLoanDocument: (loanId, documentId, params = {}) => this.request(Object.assign({ path: `/api/loans/${loanId}/documents/${documentId}/download`, method: "GET", secure: true, format: "json" }, params)),
|
|
@@ -2124,7 +2115,7 @@ export class Api extends HttpClient {
|
|
|
2124
2115
|
* @response `404` `ProblemDetails` Not Found
|
|
2125
2116
|
* @response `422` `UnprocessableEntity` Client Error
|
|
2126
2117
|
*/
|
|
2127
|
-
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)),
|
|
2128
2119
|
/**
|
|
2129
2120
|
* No description
|
|
2130
2121
|
*
|
|
@@ -2148,7 +2139,7 @@ export class Api extends HttpClient {
|
|
|
2148
2139
|
* @secure
|
|
2149
2140
|
* @response `200` `DocumentDataRequest` Success
|
|
2150
2141
|
*/
|
|
2151
|
-
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)),
|
|
2152
2143
|
/**
|
|
2153
2144
|
* No description
|
|
2154
2145
|
*
|
|
@@ -2161,7 +2152,7 @@ export class Api extends HttpClient {
|
|
|
2161
2152
|
* @response `400` `ProblemDetails` Bad Request
|
|
2162
2153
|
* @response `404` `ProblemDetails` Not Found
|
|
2163
2154
|
*/
|
|
2164
|
-
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)),
|
|
2165
2156
|
/**
|
|
2166
2157
|
* @description Fetches all documents from Encompass that don't exist locally and stores them in S3
|
|
2167
2158
|
*
|
|
@@ -2197,7 +2188,7 @@ export class Api extends HttpClient {
|
|
|
2197
2188
|
* @secure
|
|
2198
2189
|
* @response `201` `Draft` Created
|
|
2199
2190
|
*/
|
|
2200
|
-
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)),
|
|
2201
2192
|
/**
|
|
2202
2193
|
* No description
|
|
2203
2194
|
*
|
|
@@ -2230,7 +2221,7 @@ export class Api extends HttpClient {
|
|
|
2230
2221
|
* @secure
|
|
2231
2222
|
* @response `200` `Draft` Success
|
|
2232
2223
|
*/
|
|
2233
|
-
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)),
|
|
2234
2225
|
/**
|
|
2235
2226
|
* No description
|
|
2236
2227
|
*
|
|
@@ -2252,7 +2243,7 @@ export class Api extends HttpClient {
|
|
|
2252
2243
|
* @secure
|
|
2253
2244
|
* @response `201` `DraftContentPaginated` Created
|
|
2254
2245
|
*/
|
|
2255
|
-
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)),
|
|
2256
2247
|
/**
|
|
2257
2248
|
* No description
|
|
2258
2249
|
*
|
|
@@ -2263,7 +2254,7 @@ export class Api extends HttpClient {
|
|
|
2263
2254
|
* @secure
|
|
2264
2255
|
* @response `200` `Draft` Success
|
|
2265
2256
|
*/
|
|
2266
|
-
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)),
|
|
2267
2258
|
/**
|
|
2268
2259
|
* No description
|
|
2269
2260
|
*
|
|
@@ -2296,7 +2287,7 @@ export class Api extends HttpClient {
|
|
|
2296
2287
|
* @secure
|
|
2297
2288
|
* @response `201` `LoanImport` Created
|
|
2298
2289
|
*/
|
|
2299
|
-
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)),
|
|
2300
2291
|
/**
|
|
2301
2292
|
* No description
|
|
2302
2293
|
*
|
|
@@ -2342,7 +2333,7 @@ export class Api extends HttpClient {
|
|
|
2342
2333
|
* @response `200` `(Invite)[]` Success
|
|
2343
2334
|
* @response `404` `ProblemDetails` Not Found
|
|
2344
2335
|
*/
|
|
2345
|
-
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)),
|
|
2346
2337
|
/**
|
|
2347
2338
|
* No description
|
|
2348
2339
|
*
|
|
@@ -2353,7 +2344,7 @@ export class Api extends HttpClient {
|
|
|
2353
2344
|
* @secure
|
|
2354
2345
|
* @response `200` `LoanLogPaginated` Success
|
|
2355
2346
|
*/
|
|
2356
|
-
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)),
|
|
2357
2348
|
/**
|
|
2358
2349
|
* No description
|
|
2359
2350
|
*
|
|
@@ -2387,7 +2378,7 @@ export class Api extends HttpClient {
|
|
|
2387
2378
|
* @secure
|
|
2388
2379
|
* @response `200` `BranchUserPaginated` Success
|
|
2389
2380
|
*/
|
|
2390
|
-
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)),
|
|
2391
2382
|
/**
|
|
2392
2383
|
* No description
|
|
2393
2384
|
*
|
|
@@ -2410,7 +2401,7 @@ export class Api extends HttpClient {
|
|
|
2410
2401
|
* @response `200` `SiteConfiguration` Success
|
|
2411
2402
|
* @response `422` `UnprocessableEntity` Client Error
|
|
2412
2403
|
*/
|
|
2413
|
-
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)),
|
|
2414
2405
|
/**
|
|
2415
2406
|
* No description
|
|
2416
2407
|
*
|
|
@@ -2433,7 +2424,7 @@ export class Api extends HttpClient {
|
|
|
2433
2424
|
* @response `200` `SiteConfiguration` Success
|
|
2434
2425
|
* @response `422` `UnprocessableEntity` Client Error
|
|
2435
2426
|
*/
|
|
2436
|
-
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)),
|
|
2437
2428
|
/**
|
|
2438
2429
|
* No description
|
|
2439
2430
|
*
|
|
@@ -2444,7 +2435,7 @@ export class Api extends HttpClient {
|
|
|
2444
2435
|
* @secure
|
|
2445
2436
|
* @response `200` `LoanQueuePaginated` Success
|
|
2446
2437
|
*/
|
|
2447
|
-
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)),
|
|
2448
2439
|
/**
|
|
2449
2440
|
* No description
|
|
2450
2441
|
*
|
|
@@ -2468,7 +2459,7 @@ export class Api extends HttpClient {
|
|
|
2468
2459
|
* @response `200` `LoanQueueWithData` Success
|
|
2469
2460
|
* @response `404` `ProblemDetails` Not Found
|
|
2470
2461
|
*/
|
|
2471
|
-
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)),
|
|
2472
2463
|
/**
|
|
2473
2464
|
* No description
|
|
2474
2465
|
*
|
|
@@ -2529,7 +2520,7 @@ export class Api extends HttpClient {
|
|
|
2529
2520
|
* @response `401` `ProblemDetails` Unauthorized
|
|
2530
2521
|
* @response `403` `ProblemDetails` Forbidden
|
|
2531
2522
|
*/
|
|
2532
|
-
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)),
|
|
2533
2524
|
/**
|
|
2534
2525
|
* No description
|
|
2535
2526
|
*
|
|
@@ -2540,7 +2531,7 @@ export class Api extends HttpClient {
|
|
|
2540
2531
|
* @secure
|
|
2541
2532
|
* @response `200` `LoanListPaginated` Success
|
|
2542
2533
|
*/
|
|
2543
|
-
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)),
|
|
2544
2535
|
/**
|
|
2545
2536
|
* No description
|
|
2546
2537
|
*
|
|
@@ -2618,7 +2609,7 @@ export class Api extends HttpClient {
|
|
|
2618
2609
|
* @response `400` `ProblemDetails` Bad Request
|
|
2619
2610
|
* @response `404` `ProblemDetails` Not Found
|
|
2620
2611
|
*/
|
|
2621
|
-
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)),
|
|
2622
2613
|
/**
|
|
2623
2614
|
* No description
|
|
2624
2615
|
*
|
|
@@ -2630,7 +2621,7 @@ export class Api extends HttpClient {
|
|
|
2630
2621
|
* @response `200` `TaskCommentPaginated` Success
|
|
2631
2622
|
* @response `404` `ProblemDetails` Not Found
|
|
2632
2623
|
*/
|
|
2633
|
-
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)),
|
|
2634
2625
|
/**
|
|
2635
2626
|
* No description
|
|
2636
2627
|
*
|
|
@@ -2654,7 +2645,7 @@ export class Api extends HttpClient {
|
|
|
2654
2645
|
* @response `201` `TaskComment` Created
|
|
2655
2646
|
* @response `404` `ProblemDetails` Not Found
|
|
2656
2647
|
*/
|
|
2657
|
-
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)),
|
|
2658
2649
|
/**
|
|
2659
2650
|
* No description
|
|
2660
2651
|
*
|
|
@@ -2666,7 +2657,7 @@ export class Api extends HttpClient {
|
|
|
2666
2657
|
* @response `200` `TaskComment` Success
|
|
2667
2658
|
* @response `404` `ProblemDetails` Not Found
|
|
2668
2659
|
*/
|
|
2669
|
-
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)),
|
|
2670
2661
|
/**
|
|
2671
2662
|
* No description
|
|
2672
2663
|
*
|
|
@@ -2691,7 +2682,7 @@ export class Api extends HttpClient {
|
|
|
2691
2682
|
* @response `404` `ProblemDetails` Not Found
|
|
2692
2683
|
* @response `422` `UnprocessableEntity` Client Error
|
|
2693
2684
|
*/
|
|
2694
|
-
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)),
|
|
2695
2686
|
/**
|
|
2696
2687
|
* No description
|
|
2697
2688
|
*
|
|
@@ -2728,7 +2719,7 @@ export class Api extends HttpClient {
|
|
|
2728
2719
|
* @response `400` `ProblemDetails` Bad Request
|
|
2729
2720
|
* @response `404` `ProblemDetails` Not Found
|
|
2730
2721
|
*/
|
|
2731
|
-
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)),
|
|
2732
2723
|
/**
|
|
2733
2724
|
* @description Search tasks across all loans
|
|
2734
2725
|
*
|
|
@@ -2739,7 +2730,7 @@ export class Api extends HttpClient {
|
|
|
2739
2730
|
* @secure
|
|
2740
2731
|
* @response `200` `UserLoanTaskPaginated` Success
|
|
2741
2732
|
*/
|
|
2742
|
-
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)),
|
|
2743
2734
|
/**
|
|
2744
2735
|
* @description Returns task counts grouped by status for loans accessible to the current user based on their role
|
|
2745
2736
|
*
|
|
@@ -2751,7 +2742,7 @@ export class Api extends HttpClient {
|
|
|
2751
2742
|
* @response `200` `(LoanTaskStatusSummary)[]` Success
|
|
2752
2743
|
* @response `422` `UnprocessableEntity` Client Error
|
|
2753
2744
|
*/
|
|
2754
|
-
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)),
|
|
2755
2746
|
/**
|
|
2756
2747
|
* No description
|
|
2757
2748
|
*
|
|
@@ -2799,7 +2790,7 @@ export class Api extends HttpClient {
|
|
|
2799
2790
|
* @response `201` `UserLoanTask` Created
|
|
2800
2791
|
* @response `404` `ProblemDetails` Not Found
|
|
2801
2792
|
*/
|
|
2802
|
-
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)),
|
|
2803
2794
|
/**
|
|
2804
2795
|
* No description
|
|
2805
2796
|
*
|
|
@@ -2811,7 +2802,7 @@ export class Api extends HttpClient {
|
|
|
2811
2802
|
* @response `201` `(UserLoanTask)[]` Created
|
|
2812
2803
|
* @response `404` `ProblemDetails` Not Found
|
|
2813
2804
|
*/
|
|
2814
|
-
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)),
|
|
2815
2806
|
/**
|
|
2816
2807
|
* No description
|
|
2817
2808
|
*
|
|
@@ -2823,7 +2814,7 @@ export class Api extends HttpClient {
|
|
|
2823
2814
|
* @response `200` `UserLoanTask` Success
|
|
2824
2815
|
* @response `404` `ProblemDetails` Not Found
|
|
2825
2816
|
*/
|
|
2826
|
-
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)),
|
|
2827
2818
|
/**
|
|
2828
2819
|
* No description
|
|
2829
2820
|
*
|
|
@@ -2882,7 +2873,7 @@ export class Api extends HttpClient {
|
|
|
2882
2873
|
* @secure
|
|
2883
2874
|
* @response `201` `LoanUser` Created
|
|
2884
2875
|
*/
|
|
2885
|
-
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)),
|
|
2886
2877
|
/**
|
|
2887
2878
|
* No description
|
|
2888
2879
|
*
|
|
@@ -2915,7 +2906,7 @@ export class Api extends HttpClient {
|
|
|
2915
2906
|
* @secure
|
|
2916
2907
|
* @response `200` `LosOperationTrackingPaginated` Success
|
|
2917
2908
|
*/
|
|
2918
|
-
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)),
|
|
2919
2910
|
/**
|
|
2920
2911
|
* No description
|
|
2921
2912
|
*
|
|
@@ -2938,7 +2929,7 @@ export class Api extends HttpClient {
|
|
|
2938
2929
|
* @response `201` `MilestoneConfiguration` Created
|
|
2939
2930
|
* @response `422` `UnprocessableEntity` Client Error
|
|
2940
2931
|
*/
|
|
2941
|
-
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)),
|
|
2942
2933
|
/**
|
|
2943
2934
|
* No description
|
|
2944
2935
|
*
|
|
@@ -2963,7 +2954,7 @@ export class Api extends HttpClient {
|
|
|
2963
2954
|
* @response `404` `Error` Not Found
|
|
2964
2955
|
* @response `422` `UnprocessableEntity` Client Error
|
|
2965
2956
|
*/
|
|
2966
|
-
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)),
|
|
2967
2958
|
/**
|
|
2968
2959
|
* No description
|
|
2969
2960
|
*
|
|
@@ -2989,7 +2980,7 @@ export class Api extends HttpClient {
|
|
|
2989
2980
|
* @response `404` `ProblemDetails` Not Found
|
|
2990
2981
|
* @response `422` `ProblemDetails` Client Error
|
|
2991
2982
|
*/
|
|
2992
|
-
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)),
|
|
2993
2984
|
/**
|
|
2994
2985
|
* No description
|
|
2995
2986
|
*
|
|
@@ -3001,7 +2992,7 @@ export class Api extends HttpClient {
|
|
|
3001
2992
|
* @response `200` `MonthlyPaymentCalculator` Success
|
|
3002
2993
|
* @response `422` `ProblemDetails` Client Error
|
|
3003
2994
|
*/
|
|
3004
|
-
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)),
|
|
3005
2996
|
/**
|
|
3006
2997
|
* No description
|
|
3007
2998
|
*
|
|
@@ -3013,7 +3004,7 @@ export class Api extends HttpClient {
|
|
|
3013
3004
|
* @response `200` `AffordabilityCalculator` Success
|
|
3014
3005
|
* @response `422` `ProblemDetails` Client Error
|
|
3015
3006
|
*/
|
|
3016
|
-
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)),
|
|
3017
3008
|
/**
|
|
3018
3009
|
* No description
|
|
3019
3010
|
*
|
|
@@ -3025,7 +3016,7 @@ export class Api extends HttpClient {
|
|
|
3025
3016
|
* @response `200` `LoanComparisonCalculator` Success
|
|
3026
3017
|
* @response `422` `ProblemDetails` Client Error
|
|
3027
3018
|
*/
|
|
3028
|
-
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)),
|
|
3029
3020
|
/**
|
|
3030
3021
|
* No description
|
|
3031
3022
|
*
|
|
@@ -3037,7 +3028,7 @@ export class Api extends HttpClient {
|
|
|
3037
3028
|
* @response `200` `RefinanceCalculator` Success
|
|
3038
3029
|
* @response `422` `ProblemDetails` Client Error
|
|
3039
3030
|
*/
|
|
3040
|
-
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)),
|
|
3041
3032
|
/**
|
|
3042
3033
|
* No description
|
|
3043
3034
|
*
|
|
@@ -3049,7 +3040,7 @@ export class Api extends HttpClient {
|
|
|
3049
3040
|
* @response `200` `void` Success
|
|
3050
3041
|
* @response `422` `UnprocessableEntity` Client Error
|
|
3051
3042
|
*/
|
|
3052
|
-
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)),
|
|
3053
3044
|
/**
|
|
3054
3045
|
* No description
|
|
3055
3046
|
*
|
|
@@ -3061,7 +3052,7 @@ export class Api extends HttpClient {
|
|
|
3061
3052
|
* @response `200` `void` Success
|
|
3062
3053
|
* @response `422` `UnprocessableEntity` Client Error
|
|
3063
3054
|
*/
|
|
3064
|
-
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)),
|
|
3065
3056
|
/**
|
|
3066
3057
|
* No description
|
|
3067
3058
|
*
|
|
@@ -3084,7 +3075,7 @@ export class Api extends HttpClient {
|
|
|
3084
3075
|
* @response `201` `NotificationTemplate` Created
|
|
3085
3076
|
* @response `422` `UnprocessableEntity` Client Error
|
|
3086
3077
|
*/
|
|
3087
|
-
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)),
|
|
3088
3079
|
/**
|
|
3089
3080
|
* No description
|
|
3090
3081
|
*
|
|
@@ -3095,7 +3086,7 @@ export class Api extends HttpClient {
|
|
|
3095
3086
|
* @secure
|
|
3096
3087
|
* @response `200` `NotificationTemplateBasePaginated` Success
|
|
3097
3088
|
*/
|
|
3098
|
-
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)),
|
|
3099
3090
|
/**
|
|
3100
3091
|
* No description
|
|
3101
3092
|
*
|
|
@@ -3118,7 +3109,7 @@ export class Api extends HttpClient {
|
|
|
3118
3109
|
* @response `200` `NotificationTemplate` Success
|
|
3119
3110
|
* @response `422` `UnprocessableEntity` Client Error
|
|
3120
3111
|
*/
|
|
3121
|
-
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)),
|
|
3122
3113
|
/**
|
|
3123
3114
|
* No description
|
|
3124
3115
|
*
|
|
@@ -3162,7 +3153,7 @@ export class Api extends HttpClient {
|
|
|
3162
3153
|
* @secure
|
|
3163
3154
|
* @response `200` `NotificationTemplateVersion` Success
|
|
3164
3155
|
*/
|
|
3165
|
-
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)),
|
|
3166
3157
|
/**
|
|
3167
3158
|
* No description
|
|
3168
3159
|
*
|
|
@@ -3184,7 +3175,7 @@ export class Api extends HttpClient {
|
|
|
3184
3175
|
* @secure
|
|
3185
3176
|
* @response `200` `NotificationTemplateVersion` Success
|
|
3186
3177
|
*/
|
|
3187
|
-
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)),
|
|
3188
3179
|
/**
|
|
3189
3180
|
* No description
|
|
3190
3181
|
*
|
|
@@ -3217,7 +3208,7 @@ export class Api extends HttpClient {
|
|
|
3217
3208
|
* @secure
|
|
3218
3209
|
* @response `200` `BranchUserPaginated` Success
|
|
3219
3210
|
*/
|
|
3220
|
-
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)),
|
|
3221
3212
|
/**
|
|
3222
3213
|
* No description
|
|
3223
3214
|
*
|
|
@@ -3240,7 +3231,7 @@ export class Api extends HttpClient {
|
|
|
3240
3231
|
* @response `200` `SiteConfiguration` Success
|
|
3241
3232
|
* @response `422` `UnprocessableEntity` Client Error
|
|
3242
3233
|
*/
|
|
3243
|
-
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)),
|
|
3244
3235
|
/**
|
|
3245
3236
|
* No description
|
|
3246
3237
|
*
|
|
@@ -3263,7 +3254,7 @@ export class Api extends HttpClient {
|
|
|
3263
3254
|
* @response `200` `SiteConfiguration` Success
|
|
3264
3255
|
* @response `422` `UnprocessableEntity` Client Error
|
|
3265
3256
|
*/
|
|
3266
|
-
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)),
|
|
3267
3258
|
/**
|
|
3268
3259
|
* No description
|
|
3269
3260
|
*
|
|
@@ -3287,7 +3278,7 @@ export class Api extends HttpClient {
|
|
|
3287
3278
|
* @response `200` `SiteConfigurationByUrl` Success
|
|
3288
3279
|
* @response `422` `UnprocessableEntity` Client Error
|
|
3289
3280
|
*/
|
|
3290
|
-
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)),
|
|
3291
3282
|
/**
|
|
3292
3283
|
* No description
|
|
3293
3284
|
*
|
|
@@ -3312,7 +3303,7 @@ export class Api extends HttpClient {
|
|
|
3312
3303
|
* @response `200` `SiteConfiguration` Success
|
|
3313
3304
|
* @response `422` `UnprocessableEntity` Client Error
|
|
3314
3305
|
*/
|
|
3315
|
-
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)),
|
|
3316
3307
|
/**
|
|
3317
3308
|
* No description
|
|
3318
3309
|
*
|
|
@@ -3336,7 +3327,7 @@ export class Api extends HttpClient {
|
|
|
3336
3327
|
* @response `200` `SiteConfigurationSummaryPaginated` Success
|
|
3337
3328
|
* @response `422` `UnprocessableEntity` Client Error
|
|
3338
3329
|
*/
|
|
3339
|
-
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)),
|
|
3340
3331
|
/**
|
|
3341
3332
|
* No description
|
|
3342
3333
|
*
|
|
@@ -3428,7 +3419,7 @@ export class Api extends HttpClient {
|
|
|
3428
3419
|
* @secure
|
|
3429
3420
|
* @response `200` `GetForm` Success
|
|
3430
3421
|
*/
|
|
3431
|
-
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)),
|
|
3432
3423
|
/**
|
|
3433
3424
|
* No description
|
|
3434
3425
|
*
|
|
@@ -3451,7 +3442,7 @@ export class Api extends HttpClient {
|
|
|
3451
3442
|
* @response `200` `(SocialSurveyRecord)[]` Success
|
|
3452
3443
|
* @response `422` `UnprocessableEntity` Client Error
|
|
3453
3444
|
*/
|
|
3454
|
-
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)),
|
|
3455
3446
|
/**
|
|
3456
3447
|
* No description
|
|
3457
3448
|
*
|
|
@@ -3474,7 +3465,7 @@ export class Api extends HttpClient {
|
|
|
3474
3465
|
* @secure
|
|
3475
3466
|
* @response `201` `Task` Created
|
|
3476
3467
|
*/
|
|
3477
|
-
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)),
|
|
3478
3469
|
/**
|
|
3479
3470
|
* No description
|
|
3480
3471
|
*
|
|
@@ -3498,7 +3489,7 @@ export class Api extends HttpClient {
|
|
|
3498
3489
|
* @response `200` `void` Success
|
|
3499
3490
|
* @response `404` `ProblemDetails` Not Found
|
|
3500
3491
|
*/
|
|
3501
|
-
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)),
|
|
3502
3493
|
/**
|
|
3503
3494
|
* No description
|
|
3504
3495
|
*
|
|
@@ -3521,7 +3512,7 @@ export class Api extends HttpClient {
|
|
|
3521
3512
|
* @secure
|
|
3522
3513
|
* @response `200` `TaskPaginated` Success
|
|
3523
3514
|
*/
|
|
3524
|
-
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)),
|
|
3525
3516
|
/**
|
|
3526
3517
|
* No description
|
|
3527
3518
|
*
|
|
@@ -3531,7 +3522,7 @@ export class Api extends HttpClient {
|
|
|
3531
3522
|
* @secure
|
|
3532
3523
|
* @response `200` `void` Success
|
|
3533
3524
|
*/
|
|
3534
|
-
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)),
|
|
3535
3526
|
/**
|
|
3536
3527
|
* No description
|
|
3537
3528
|
*
|
|
@@ -3541,7 +3532,7 @@ export class Api extends HttpClient {
|
|
|
3541
3532
|
* @secure
|
|
3542
3533
|
* @response `200` `EncompassRequestLogPaginated` Success
|
|
3543
3534
|
*/
|
|
3544
|
-
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)),
|
|
3545
3536
|
/**
|
|
3546
3537
|
* No description
|
|
3547
3538
|
*
|
|
@@ -3562,7 +3553,7 @@ export class Api extends HttpClient {
|
|
|
3562
3553
|
* @secure
|
|
3563
3554
|
* @response `201` `LosCredentials` Created
|
|
3564
3555
|
*/
|
|
3565
|
-
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)),
|
|
3566
3557
|
/**
|
|
3567
3558
|
* No description
|
|
3568
3559
|
*
|
|
@@ -3572,7 +3563,7 @@ export class Api extends HttpClient {
|
|
|
3572
3563
|
* @secure
|
|
3573
3564
|
* @response `200` `EncompassCredentialsDetail` Success
|
|
3574
3565
|
*/
|
|
3575
|
-
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)),
|
|
3576
3567
|
/**
|
|
3577
3568
|
* No description
|
|
3578
3569
|
*
|
|
@@ -3592,7 +3583,7 @@ export class Api extends HttpClient {
|
|
|
3592
3583
|
* @secure
|
|
3593
3584
|
* @response `201` `LosWebhook` Created
|
|
3594
3585
|
*/
|
|
3595
|
-
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)),
|
|
3596
3587
|
/**
|
|
3597
3588
|
* No description
|
|
3598
3589
|
*
|
|
@@ -3612,7 +3603,7 @@ export class Api extends HttpClient {
|
|
|
3612
3603
|
* @secure
|
|
3613
3604
|
* @response `200` `LosSyncPaginated` Success
|
|
3614
3605
|
*/
|
|
3615
|
-
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)),
|
|
3616
3607
|
/**
|
|
3617
3608
|
* No description
|
|
3618
3609
|
*
|
|
@@ -3695,7 +3686,7 @@ export class Api extends HttpClient {
|
|
|
3695
3686
|
* @response `201` `UserDevice` Created
|
|
3696
3687
|
* @response `400` `ProblemDetails` Bad Request
|
|
3697
3688
|
*/
|
|
3698
|
-
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)),
|
|
3699
3690
|
/**
|
|
3700
3691
|
* No description
|
|
3701
3692
|
*
|
|
@@ -3740,7 +3731,7 @@ export class Api extends HttpClient {
|
|
|
3740
3731
|
* @secure
|
|
3741
3732
|
* @response `200` `UserDraft` Success
|
|
3742
3733
|
*/
|
|
3743
|
-
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)),
|
|
3744
3735
|
/**
|
|
3745
3736
|
* No description
|
|
3746
3737
|
*
|
|
@@ -3773,7 +3764,7 @@ export class Api extends HttpClient {
|
|
|
3773
3764
|
* @secure
|
|
3774
3765
|
* @response `200` `UserGroupAccessScope` Success
|
|
3775
3766
|
*/
|
|
3776
|
-
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)),
|
|
3777
3768
|
/**
|
|
3778
3769
|
* No description
|
|
3779
3770
|
*
|
|
@@ -3806,7 +3797,7 @@ export class Api extends HttpClient {
|
|
|
3806
3797
|
* @secure
|
|
3807
3798
|
* @response `200` `UserGroupMember` Success
|
|
3808
3799
|
*/
|
|
3809
|
-
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)),
|
|
3810
3801
|
/**
|
|
3811
3802
|
* No description
|
|
3812
3803
|
*
|
|
@@ -3850,7 +3841,7 @@ export class Api extends HttpClient {
|
|
|
3850
3841
|
* @secure
|
|
3851
3842
|
* @response `200` `UserGroup` Success
|
|
3852
3843
|
*/
|
|
3853
|
-
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)),
|
|
3854
3845
|
/**
|
|
3855
3846
|
* No description
|
|
3856
3847
|
*
|
|
@@ -3872,7 +3863,7 @@ export class Api extends HttpClient {
|
|
|
3872
3863
|
* @secure
|
|
3873
3864
|
* @response `201` `UserGroup` Created
|
|
3874
3865
|
*/
|
|
3875
|
-
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)),
|
|
3876
3867
|
/**
|
|
3877
3868
|
* No description
|
|
3878
3869
|
*
|
|
@@ -3885,7 +3876,7 @@ export class Api extends HttpClient {
|
|
|
3885
3876
|
* @response `404` `Error` Not Found
|
|
3886
3877
|
* @response `422` `UnprocessableEntity` Client Error
|
|
3887
3878
|
*/
|
|
3888
|
-
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)),
|
|
3889
3880
|
/**
|
|
3890
3881
|
* No description
|
|
3891
3882
|
*
|
|
@@ -3898,7 +3889,7 @@ export class Api extends HttpClient {
|
|
|
3898
3889
|
* @response `404` `Error` Not Found
|
|
3899
3890
|
* @response `422` `UnprocessableEntity` Client Error
|
|
3900
3891
|
*/
|
|
3901
|
-
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)),
|
|
3902
3893
|
/**
|
|
3903
3894
|
* No description
|
|
3904
3895
|
*
|
|
@@ -3948,7 +3939,7 @@ export class Api extends HttpClient {
|
|
|
3948
3939
|
* @response `404` `Error` Not Found
|
|
3949
3940
|
* @response `422` `UnprocessableEntity` Client Error
|
|
3950
3941
|
*/
|
|
3951
|
-
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)),
|
|
3952
3943
|
/**
|
|
3953
3944
|
* No description
|
|
3954
3945
|
*
|
|
@@ -3972,7 +3963,7 @@ export class Api extends HttpClient {
|
|
|
3972
3963
|
* @response `204` `void` No Content
|
|
3973
3964
|
* @response `422` `UnprocessableEntity` Client Error
|
|
3974
3965
|
*/
|
|
3975
|
-
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)),
|
|
3976
3967
|
/**
|
|
3977
3968
|
* No description
|
|
3978
3969
|
*
|
|
@@ -4019,7 +4010,7 @@ export class Api extends HttpClient {
|
|
|
4019
4010
|
* @secure
|
|
4020
4011
|
* @response `204` `void` No Content
|
|
4021
4012
|
*/
|
|
4022
|
-
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)),
|
|
4023
4014
|
/**
|
|
4024
4015
|
* No description
|
|
4025
4016
|
*
|
|
@@ -4064,7 +4055,7 @@ export class Api extends HttpClient {
|
|
|
4064
4055
|
* @response `200` `DetailedUser` Success
|
|
4065
4056
|
* @response `422` `UnprocessableEntity` Client Error
|
|
4066
4057
|
*/
|
|
4067
|
-
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)),
|
|
4068
4059
|
/**
|
|
4069
4060
|
* No description
|
|
4070
4061
|
*
|
|
@@ -4075,7 +4066,7 @@ export class Api extends HttpClient {
|
|
|
4075
4066
|
* @secure
|
|
4076
4067
|
* @response `200` `UserPaginated` Success
|
|
4077
4068
|
*/
|
|
4078
|
-
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)),
|
|
4079
4070
|
/**
|
|
4080
4071
|
* No description
|
|
4081
4072
|
*
|
|
@@ -4086,7 +4077,7 @@ export class Api extends HttpClient {
|
|
|
4086
4077
|
* @secure
|
|
4087
4078
|
* @response `200` `AdminAccessUser` Success
|
|
4088
4079
|
*/
|
|
4089
|
-
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)),
|
|
4090
4081
|
/**
|
|
4091
4082
|
* No description
|
|
4092
4083
|
*
|
|
@@ -4098,7 +4089,7 @@ export class Api extends HttpClient {
|
|
|
4098
4089
|
* @response `200` `User` Success
|
|
4099
4090
|
* @response `422` `UnprocessableEntity` Client Error
|
|
4100
4091
|
*/
|
|
4101
|
-
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)),
|
|
4102
4093
|
/**
|
|
4103
4094
|
* No description
|
|
4104
4095
|
*
|
|
@@ -4110,7 +4101,7 @@ export class Api extends HttpClient {
|
|
|
4110
4101
|
* @response `200` `DetailedUser` Success
|
|
4111
4102
|
* @response `422` `UnprocessableEntity` Client Error
|
|
4112
4103
|
*/
|
|
4113
|
-
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)),
|
|
4114
4105
|
/**
|
|
4115
4106
|
* No description
|
|
4116
4107
|
*
|
|
@@ -4144,7 +4135,7 @@ export class Api extends HttpClient {
|
|
|
4144
4135
|
* @response `204` `void` No Content
|
|
4145
4136
|
* @response `422` `UnprocessableEntity` Client Error
|
|
4146
4137
|
*/
|
|
4147
|
-
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)),
|
|
4148
4139
|
/**
|
|
4149
4140
|
* No description
|
|
4150
4141
|
*
|
|
@@ -4156,7 +4147,7 @@ export class Api extends HttpClient {
|
|
|
4156
4147
|
* @response `204` `void` No Content
|
|
4157
4148
|
* @response `422` `UnprocessableEntity` Client Error
|
|
4158
4149
|
*/
|
|
4159
|
-
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)),
|
|
4160
4151
|
/**
|
|
4161
4152
|
* No description
|
|
4162
4153
|
*
|
|
@@ -4168,7 +4159,7 @@ export class Api extends HttpClient {
|
|
|
4168
4159
|
* @response `204` `void` No Content
|
|
4169
4160
|
* @response `422` `UnprocessableEntity` Client Error
|
|
4170
4161
|
*/
|
|
4171
|
-
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)),
|
|
4172
4163
|
/**
|
|
4173
4164
|
* No description
|
|
4174
4165
|
*
|
|
@@ -4180,7 +4171,7 @@ export class Api extends HttpClient {
|
|
|
4180
4171
|
* @response `204` `void` No Content
|
|
4181
4172
|
* @response `422` `UnprocessableEntity` Client Error
|
|
4182
4173
|
*/
|
|
4183
|
-
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)),
|
|
4184
4175
|
/**
|
|
4185
4176
|
* No description
|
|
4186
4177
|
*
|
|
@@ -4204,7 +4195,7 @@ export class Api extends HttpClient {
|
|
|
4204
4195
|
* @response `204` `void` No Content
|
|
4205
4196
|
* @response `422` `UnprocessableEntity` Client Error
|
|
4206
4197
|
*/
|
|
4207
|
-
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)),
|
|
4208
4199
|
/**
|
|
4209
4200
|
* No description
|
|
4210
4201
|
*
|
|
@@ -4227,7 +4218,7 @@ export class Api extends HttpClient {
|
|
|
4227
4218
|
* @secure
|
|
4228
4219
|
* @response `200` `DetailedUser` Success
|
|
4229
4220
|
*/
|
|
4230
|
-
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)),
|
|
4231
4222
|
/**
|
|
4232
4223
|
* @description Update the phone number If changed will send a verification code to the new number
|
|
4233
4224
|
*
|
|
@@ -4238,7 +4229,7 @@ export class Api extends HttpClient {
|
|
|
4238
4229
|
* @secure
|
|
4239
4230
|
* @response `204` `DetailedUser` No Content
|
|
4240
4231
|
*/
|
|
4241
|
-
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)),
|
|
4242
4233
|
/**
|
|
4243
4234
|
* No description
|
|
4244
4235
|
*
|
|
@@ -4282,7 +4273,7 @@ export class Api extends HttpClient {
|
|
|
4282
4273
|
* @secure
|
|
4283
4274
|
* @response `204` `void` No Content
|
|
4284
4275
|
*/
|
|
4285
|
-
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)),
|
|
4286
4277
|
/**
|
|
4287
4278
|
* No description
|
|
4288
4279
|
*
|
|
@@ -4293,7 +4284,7 @@ export class Api extends HttpClient {
|
|
|
4293
4284
|
* @secure
|
|
4294
4285
|
* @response `200` `GetForm` Success
|
|
4295
4286
|
*/
|
|
4296
|
-
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)),
|
|
4297
4288
|
};
|
|
4298
4289
|
this.sso = {
|
|
4299
4290
|
/**
|