@matech/thebigpos-sdk 2.48.0-rc2 → 2.48.0-rc4

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.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 === ContentType.FormData &&
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 === ContentType.Text &&
54
+ if (type === "text/plain" &&
64
55
  body &&
65
56
  body !== null &&
66
57
  typeof body !== "string") {
@@ -156,7 +147,7 @@ export class Api extends HttpClient {
156
147
  * @response `404` `ProblemDetails` Not Found
157
148
  * @response `422` `ProblemDetails` Unprocessable Content
158
149
  */
159
- replaceMyAccount: (data, params = {}) => this.request(Object.assign({ path: `/api/account`, method: "PUT", body: data, secure: true, type: ContentType.Json, format: "json" }, params)),
150
+ replaceMyAccount: (data, params = {}) => this.request(Object.assign({ path: `/api/account`, method: "PUT", body: data, secure: true, type: "application/json", format: "json" }, params)),
160
151
  /**
161
152
  * No description
162
153
  *
@@ -179,7 +170,7 @@ export class Api extends HttpClient {
179
170
  * @response `200` `SiteConfiguration` OK
180
171
  * @response `422` `UnprocessableEntity` Unprocessable Content
181
172
  */
182
- updateSiteConfigurationForAccount: (data, params = {}) => this.request(Object.assign({ path: `/api/account/site-configurations`, method: "PUT", body: data, secure: true, type: ContentType.Json, format: "json" }, params)),
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: ContentType.Json }, params)),
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: ContentType.Json }, params)),
196
+ completeAccountReactivation: (data, params = {}) => this.request(Object.assign({ path: `/api/account/reactivation/complete`, method: "POST", body: data, secure: true, type: "application/json" }, params)),
206
197
  /**
207
198
  * No description
208
199
  *
@@ -225,7 +216,7 @@ export class Api extends HttpClient {
225
216
  * @response `201` `Account` Created
226
217
  * @response `422` `ProblemDetails` Unprocessable Content
227
218
  */
228
- createAccount: (data, params = {}) => this.request(Object.assign({ path: `/api/accounts`, method: "POST", body: data, secure: true, type: ContentType.Json, format: "json" }, params)),
219
+ createAccount: (data, params = {}) => this.request(Object.assign({ path: `/api/accounts`, method: "POST", body: data, secure: true, type: "application/json", format: "json" }, params)),
229
220
  /**
230
221
  * No description
231
222
  *
@@ -263,7 +254,7 @@ export class Api extends HttpClient {
263
254
  * @response `404` `ProblemDetails` Not Found
264
255
  * @response `422` `ProblemDetails` Unprocessable Content
265
256
  */
266
- updateAccountBilling: (id, data, params = {}) => this.request(Object.assign({ path: `/api/accounts/${id}/billing`, method: "PUT", body: data, secure: true, type: ContentType.Json, format: "json" }, params)),
257
+ updateAccountBilling: (id, data, params = {}) => this.request(Object.assign({ path: `/api/accounts/${id}/billing`, method: "PUT", body: data, secure: true, type: "application/json", format: "json" }, params)),
267
258
  /**
268
259
  * No description
269
260
  *
@@ -296,7 +287,7 @@ export class Api extends HttpClient {
296
287
  * @secure
297
288
  * @response `204` `void` No Content
298
289
  */
299
- setAccountAiEnabled: (accountId, data, params = {}) => this.request(Object.assign({ path: `/api/ai/accounts/${accountId}/ai-enabled`, method: "PUT", body: data, secure: true, type: ContentType.Json }, params)),
290
+ setAccountAiEnabled: (accountId, data, params = {}) => this.request(Object.assign({ path: `/api/ai/accounts/${accountId}/ai-enabled`, method: "PUT", body: data, secure: true, type: "application/json" }, params)),
300
291
  /**
301
292
  * No description
302
293
  *
@@ -319,7 +310,7 @@ export class Api extends HttpClient {
319
310
  * @response `200` `AiAccountSettings` OK
320
311
  * @response `400` `ProblemDetails` Bad Request
321
312
  */
322
- updateAiAccountSettings: (data, params = {}) => this.request(Object.assign({ path: `/api/ai/account-settings`, method: "PUT", body: data, secure: true, type: ContentType.Json, format: "json" }, params)),
313
+ updateAiAccountSettings: (data, params = {}) => this.request(Object.assign({ path: `/api/ai/account-settings`, method: "PUT", body: data, secure: true, type: "application/json", format: "json" }, params)),
323
314
  /**
324
315
  * No description
325
316
  *
@@ -342,7 +333,7 @@ export class Api extends HttpClient {
342
333
  * @response `201` `AiPrompt` Created
343
334
  * @response `400` `ProblemDetails` Bad Request
344
335
  */
345
- createAiPrompt: (data, params = {}) => this.request(Object.assign({ path: `/api/ai/prompts`, method: "POST", body: data, secure: true, type: ContentType.Json, format: "json" }, params)),
336
+ createAiPrompt: (data, params = {}) => this.request(Object.assign({ path: `/api/ai/prompts`, method: "POST", body: data, secure: true, type: "application/json", format: "json" }, params)),
346
337
  /**
347
338
  * No description
348
339
  *
@@ -367,7 +358,7 @@ export class Api extends HttpClient {
367
358
  * @response `400` `ProblemDetails` Bad Request
368
359
  * @response `404` `ProblemDetails` Not Found
369
360
  */
370
- updateAiPrompt: (id, data, params = {}) => this.request(Object.assign({ path: `/api/ai/prompts/${id}`, method: "PUT", body: data, secure: true, type: ContentType.Json, format: "json" }, params)),
361
+ updateAiPrompt: (id, data, params = {}) => this.request(Object.assign({ path: `/api/ai/prompts/${id}`, method: "PUT", body: data, secure: true, type: "application/json", format: "json" }, params)),
371
362
  /**
372
363
  * No description
373
364
  *
@@ -404,7 +395,7 @@ export class Api extends HttpClient {
404
395
  * @response `400` `ProblemDetails` Bad Request
405
396
  * @response `404` `ProblemDetails` Not Found
406
397
  */
407
- updateAiPromptTools: (id, data, params = {}) => this.request(Object.assign({ path: `/api/ai/prompts/${id}/tools`, method: "PUT", body: data, secure: true, type: ContentType.Json, format: "json" }, params)),
398
+ updateAiPromptTools: (id, data, params = {}) => this.request(Object.assign({ path: `/api/ai/prompts/${id}/tools`, method: "PUT", body: data, secure: true, type: "application/json", format: "json" }, params)),
408
399
  /**
409
400
  * No description
410
401
  *
@@ -428,7 +419,7 @@ export class Api extends HttpClient {
428
419
  * @response `200` `GenerateSystemPrompt` OK
429
420
  * @response `400` `ProblemDetails` Bad Request
430
421
  */
431
- generateAiSystemPrompt: (data, params = {}) => this.request(Object.assign({ path: `/api/ai/prompts/generate`, method: "POST", body: data, secure: true, type: ContentType.JsonPatch, format: "json" }, params)),
422
+ generateAiSystemPrompt: (data, params = {}) => this.request(Object.assign({ path: `/api/ai/prompts/generate`, method: "POST", body: data, secure: true, type: "application/json", format: "json" }, params)),
432
423
  /**
433
424
  * No description
434
425
  *
@@ -462,7 +453,7 @@ export class Api extends HttpClient {
462
453
  * @response `200` `AiAdminSettings` OK
463
454
  * @response `400` `ProblemDetails` Bad Request
464
455
  */
465
- updateAiAdminSettings: (data, params = {}) => this.request(Object.assign({ path: `/api/ai/settings`, method: "PUT", body: data, secure: true, type: ContentType.Json, format: "json" }, params)),
456
+ updateAiAdminSettings: (data, params = {}) => this.request(Object.assign({ path: `/api/ai/settings`, method: "PUT", body: data, secure: true, type: "application/json", format: "json" }, params)),
466
457
  /**
467
458
  * No description
468
459
  *
@@ -540,7 +531,7 @@ export class Api extends HttpClient {
540
531
  * @response `201` `AiCanonicalField` Created
541
532
  * @response `400` `ProblemDetails` Bad Request
542
533
  */
543
- createAiCanonicalField: (data, params = {}) => this.request(Object.assign({ path: `/api/ai/canonical-fields`, method: "POST", body: data, secure: true, type: ContentType.Json, format: "json" }, params)),
534
+ createAiCanonicalField: (data, params = {}) => this.request(Object.assign({ path: `/api/ai/canonical-fields`, method: "POST", body: data, secure: true, type: "application/json", format: "json" }, params)),
544
535
  /**
545
536
  * No description
546
537
  *
@@ -565,7 +556,7 @@ export class Api extends HttpClient {
565
556
  * @response `400` `ProblemDetails` Bad Request
566
557
  * @response `404` `ProblemDetails` Not Found
567
558
  */
568
- updateAiCanonicalField: (id, data, params = {}) => this.request(Object.assign({ path: `/api/ai/canonical-fields/${id}`, method: "PUT", body: data, secure: true, type: ContentType.Json, format: "json" }, params)),
559
+ updateAiCanonicalField: (id, data, params = {}) => this.request(Object.assign({ path: `/api/ai/canonical-fields/${id}`, method: "PUT", body: data, secure: true, type: "application/json", format: "json" }, params)),
569
560
  /**
570
561
  * No description
571
562
  *
@@ -603,7 +594,7 @@ export class Api extends HttpClient {
603
594
  * @response `401` `ProblemDetails` Unauthorized
604
595
  * @response `429` `ProblemDetails` Too Many Requests
605
596
  */
606
- aiChat: (data, params = {}) => this.request(Object.assign({ path: `/api/ai/chats`, method: "POST", body: data, secure: true, type: ContentType.JsonPatch, format: "json" }, params)),
597
+ aiChat: (data, params = {}) => this.request(Object.assign({ path: `/api/ai/chats`, method: "POST", body: data, secure: true, type: "application/json", format: "json" }, params)),
607
598
  /**
608
599
  * No description
609
600
  *
@@ -641,7 +632,7 @@ export class Api extends HttpClient {
641
632
  * @response `403` `ProblemDetails` Forbidden
642
633
  * @response `404` `ProblemDetails` Not Found
643
634
  */
644
- renameAiConversation: (id, data, params = {}) => this.request(Object.assign({ path: `/api/ai/conversations/${id}`, method: "PATCH", body: data, secure: true, type: ContentType.JsonPatch, format: "json" }, params)),
635
+ renameAiConversation: (id, data, params = {}) => this.request(Object.assign({ path: `/api/ai/conversations/${id}`, method: "PATCH", body: data, secure: true, type: "application/json", format: "json" }, params)),
645
636
  /**
646
637
  * No description
647
638
  *
@@ -693,7 +684,7 @@ export class Api extends HttpClient {
693
684
  * @response `403` `ProblemDetails` Forbidden
694
685
  * @response `404` `ProblemDetails` Not Found
695
686
  */
696
- pinAiConversation: (id, data, params = {}) => this.request(Object.assign({ path: `/api/ai/conversations/${id}/pin`, method: "PUT", body: data, secure: true, type: ContentType.Json, format: "json" }, params)),
687
+ pinAiConversation: (id, data, params = {}) => this.request(Object.assign({ path: `/api/ai/conversations/${id}/pin`, method: "PUT", body: data, secure: true, type: "application/json", format: "json" }, params)),
697
688
  /**
698
689
  * No description
699
690
  *
@@ -751,7 +742,7 @@ export class Api extends HttpClient {
751
742
  * @response `201` `AiGuardrail` Created
752
743
  * @response `400` `ProblemDetails` Bad Request
753
744
  */
754
- createAiGuardrail: (data, params = {}) => this.request(Object.assign({ path: `/api/ai/guardrails`, method: "POST", body: data, secure: true, type: ContentType.Json, format: "json" }, params)),
745
+ createAiGuardrail: (data, params = {}) => this.request(Object.assign({ path: `/api/ai/guardrails`, method: "POST", body: data, secure: true, type: "application/json", format: "json" }, params)),
755
746
  /**
756
747
  * No description
757
748
  *
@@ -776,7 +767,7 @@ export class Api extends HttpClient {
776
767
  * @response `400` `ProblemDetails` Bad Request
777
768
  * @response `404` `ProblemDetails` Not Found
778
769
  */
779
- updateAiGuardrail: (id, data, params = {}) => this.request(Object.assign({ path: `/api/ai/guardrails/${id}`, method: "PUT", body: data, secure: true, type: ContentType.Json, format: "json" }, params)),
770
+ updateAiGuardrail: (id, data, params = {}) => this.request(Object.assign({ path: `/api/ai/guardrails/${id}`, method: "PUT", body: data, secure: true, type: "application/json", format: "json" }, params)),
780
771
  /**
781
772
  * No description
782
773
  *
@@ -823,7 +814,7 @@ export class Api extends HttpClient {
823
814
  * @secure
824
815
  * @response `200` `AiAccountUsageOverviewPaginated` OK
825
816
  */
826
- searchAiAccountTokenUsage: (data, query, params = {}) => this.request(Object.assign({ path: `/api/ai/token-usage/search`, method: "POST", query: query, body: data, secure: true, type: ContentType.JsonPatch, format: "json" }, params)),
817
+ searchAiAccountTokenUsage: (data, query, params = {}) => this.request(Object.assign({ path: `/api/ai/token-usage/search`, method: "POST", query: query, body: data, secure: true, type: "application/json", format: "json" }, params)),
827
818
  /**
828
819
  * No description
829
820
  *
@@ -857,7 +848,7 @@ export class Api extends HttpClient {
857
848
  * @response `200` `AiTokenBudgetStatus` OK
858
849
  * @response `400` `ProblemDetails` Bad Request
859
850
  */
860
- setAiAccountTokenLimit: (accountId, data, params = {}) => this.request(Object.assign({ path: `/api/ai/token-usage/${accountId}/limit`, method: "PUT", body: data, secure: true, type: ContentType.Json, format: "json" }, params)),
851
+ setAiAccountTokenLimit: (accountId, data, params = {}) => this.request(Object.assign({ path: `/api/ai/token-usage/${accountId}/limit`, method: "PUT", body: data, secure: true, type: "application/json", format: "json" }, params)),
861
852
  /**
862
853
  * No description
863
854
  *
@@ -881,7 +872,7 @@ export class Api extends HttpClient {
881
872
  * @response `400` `ProblemDetails` Bad Request
882
873
  * @response `409` `ProblemDetails` Conflict
883
874
  */
884
- createAiUrlSource: (data, params = {}) => this.request(Object.assign({ path: `/api/ai/url-sources`, method: "POST", body: data, secure: true, type: ContentType.Json, format: "json" }, params)),
875
+ createAiUrlSource: (data, params = {}) => this.request(Object.assign({ path: `/api/ai/url-sources`, method: "POST", body: data, secure: true, type: "application/json", format: "json" }, params)),
885
876
  /**
886
877
  * No description
887
878
  *
@@ -907,7 +898,7 @@ export class Api extends HttpClient {
907
898
  * @response `404` `ProblemDetails` Not Found
908
899
  * @response `409` `ProblemDetails` Conflict
909
900
  */
910
- updateAiUrlSource: (id, data, params = {}) => this.request(Object.assign({ path: `/api/ai/url-sources/${id}`, method: "PUT", body: data, secure: true, type: ContentType.Json, format: "json" }, params)),
901
+ updateAiUrlSource: (id, data, params = {}) => this.request(Object.assign({ path: `/api/ai/url-sources/${id}`, method: "PUT", body: data, secure: true, type: "application/json", format: "json" }, params)),
911
902
  /**
912
903
  * No description
913
904
  *
@@ -964,7 +955,7 @@ export class Api extends HttpClient {
964
955
  * @secure
965
956
  * @response `200` `AuditLogEntryPaginated` OK
966
957
  */
967
- searchAuditLogs: (data, query, params = {}) => this.request(Object.assign({ path: `/api/audit-logs/search`, method: "POST", query: query, body: data, secure: true, type: ContentType.JsonPatch, format: "json" }, params)),
958
+ 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)),
968
959
  /**
969
960
  * No description
970
961
  *
@@ -988,6 +979,65 @@ export class Api extends HttpClient {
988
979
  * @response `404` `ProblemDetails` Not Found
989
980
  */
990
981
  getAuditLogById: (id, params = {}) => this.request(Object.assign({ path: `/api/audit-logs/${id}`, method: "GET", secure: true, format: "json" }, params)),
982
+ /**
983
+ * No description
984
+ *
985
+ * @tags Auth
986
+ * @name AuthForgotPassword
987
+ * @summary Forgot Password (branded)
988
+ * @request POST:/api/auth/forgot-password
989
+ * @secure
990
+ * @response `204` `void` No Content
991
+ * @response `422` `UnprocessableEntity` Unprocessable Content
992
+ */
993
+ authForgotPassword: (data, params = {}) => this.request(Object.assign({ path: `/api/auth/forgot-password`, method: "POST", body: data, secure: true, type: "application/json" }, params)),
994
+ /**
995
+ * No description
996
+ *
997
+ * @tags Auth
998
+ * @name AuthResetPassword
999
+ * @summary Reset Password (branded)
1000
+ * @request POST:/api/auth/reset-password
1001
+ * @secure
1002
+ * @response `204` `void` No Content
1003
+ * @response `422` `UnprocessableEntity` Unprocessable Content
1004
+ */
1005
+ authResetPassword: (data, params = {}) => this.request(Object.assign({ path: `/api/auth/reset-password`, method: "POST", body: data, secure: true, type: "application/json" }, params)),
1006
+ /**
1007
+ * No description
1008
+ *
1009
+ * @tags Auth
1010
+ * @name AuthSetPassword
1011
+ * @summary Set Password (branded account setup)
1012
+ * @request POST:/api/auth/set-password
1013
+ * @secure
1014
+ * @response `204` `void` No Content
1015
+ * @response `422` `UnprocessableEntity` Unprocessable Content
1016
+ */
1017
+ authSetPassword: (data, params = {}) => this.request(Object.assign({ path: `/api/auth/set-password`, method: "POST", body: data, secure: true, type: "application/json" }, params)),
1018
+ /**
1019
+ * No description
1020
+ *
1021
+ * @tags Auth
1022
+ * @name AuthSendVerificationEmail
1023
+ * @summary Send branded email-verification link to the current user
1024
+ * @request POST:/api/auth/send-verification-email
1025
+ * @secure
1026
+ * @response `204` `void` No Content
1027
+ */
1028
+ authSendVerificationEmail: (params = {}) => this.request(Object.assign({ path: `/api/auth/send-verification-email`, method: "POST", secure: true }, params)),
1029
+ /**
1030
+ * No description
1031
+ *
1032
+ * @tags Auth
1033
+ * @name AuthVerifyEmail
1034
+ * @summary Verify Email (branded)
1035
+ * @request POST:/api/auth/verify-email
1036
+ * @secure
1037
+ * @response `204` `void` No Content
1038
+ * @response `422` `UnprocessableEntity` Unprocessable Content
1039
+ */
1040
+ authVerifyEmail: (data, params = {}) => this.request(Object.assign({ path: `/api/auth/verify-email`, method: "POST", body: data, secure: true, type: "application/json" }, params)),
991
1041
  /**
992
1042
  * No description
993
1043
  *
@@ -1000,7 +1050,7 @@ export class Api extends HttpClient {
1000
1050
  * @response `401` `ProblemDetails` Unauthorized
1001
1051
  * @response `422` `UnprocessableEntity` Unprocessable Content
1002
1052
  */
1003
- getTokenFromRefreshToken: (data, params = {}) => this.request(Object.assign({ path: `/api/refresh-token`, method: "POST", body: data, secure: true, type: ContentType.Json, format: "json" }, params)),
1053
+ getTokenFromRefreshToken: (data, params = {}) => this.request(Object.assign({ path: `/api/refresh-token`, method: "POST", body: data, secure: true, type: "application/json", format: "json" }, params)),
1004
1054
  /**
1005
1055
  * No description
1006
1056
  *
@@ -1012,7 +1062,7 @@ export class Api extends HttpClient {
1012
1062
  * @response `200` `AccountDeactivated` OK
1013
1063
  * @response `422` `UnprocessableEntity` Unprocessable Content
1014
1064
  */
1015
- getToken: (data, params = {}) => this.request(Object.assign({ path: `/api/token`, method: "POST", body: data, secure: true, type: ContentType.Json, format: "json" }, params)),
1065
+ getToken: (data, params = {}) => this.request(Object.assign({ path: `/api/token`, method: "POST", body: data, secure: true, type: "application/json", format: "json" }, params)),
1016
1066
  /**
1017
1067
  * No description
1018
1068
  *
@@ -1024,7 +1074,7 @@ export class Api extends HttpClient {
1024
1074
  * @response `200` `AccountDeactivated` OK
1025
1075
  * @response `422` `UnprocessableEntity` Unprocessable Content
1026
1076
  */
1027
- getTokenFromChallengeCode: (data, params = {}) => this.request(Object.assign({ path: `/api/token/code`, method: "POST", body: data, secure: true, type: ContentType.Json, format: "json" }, params)),
1077
+ getTokenFromChallengeCode: (data, params = {}) => this.request(Object.assign({ path: `/api/token/code`, method: "POST", body: data, secure: true, type: "application/json", format: "json" }, params)),
1028
1078
  /**
1029
1079
  * No description
1030
1080
  *
@@ -1036,7 +1086,7 @@ export class Api extends HttpClient {
1036
1086
  * @response `200` `Token` OK
1037
1087
  * @response `422` `UnprocessableEntity` Unprocessable Content
1038
1088
  */
1039
- getSystemToken: (data, params = {}) => this.request(Object.assign({ path: `/api/oauth2/token`, method: "POST", body: data, secure: true, type: ContentType.Json, format: "json" }, params)),
1089
+ getSystemToken: (data, params = {}) => this.request(Object.assign({ path: `/api/oauth2/token`, method: "POST", body: data, secure: true, type: "application/json", format: "json" }, params)),
1040
1090
  /**
1041
1091
  * No description
1042
1092
  *
@@ -1048,7 +1098,7 @@ export class Api extends HttpClient {
1048
1098
  * @response `200` `SSOToken` OK
1049
1099
  * @response `422` `UnprocessableEntity` Unprocessable Content
1050
1100
  */
1051
- getSsoToken: (data, params = {}) => this.request(Object.assign({ path: `/api/token/sso`, method: "POST", body: data, secure: true, type: ContentType.Json, format: "json" }, params)),
1101
+ getSsoToken: (data, params = {}) => this.request(Object.assign({ path: `/api/token/sso`, method: "POST", body: data, secure: true, type: "application/json", format: "json" }, params)),
1052
1102
  /**
1053
1103
  * No description
1054
1104
  *
@@ -1083,7 +1133,7 @@ export class Api extends HttpClient {
1083
1133
  * @response `200` `GetBranch` OK
1084
1134
  * @response `422` `UnprocessableEntity` Unprocessable Content
1085
1135
  */
1086
- createBranch: (data, params = {}) => this.request(Object.assign({ path: `/api/branches`, method: "POST", body: data, secure: true, type: ContentType.Json, format: "json" }, params)),
1136
+ createBranch: (data, params = {}) => this.request(Object.assign({ path: `/api/branches`, method: "POST", body: data, secure: true, type: "application/json", format: "json" }, params)),
1087
1137
  /**
1088
1138
  * No description
1089
1139
  *
@@ -1094,7 +1144,7 @@ export class Api extends HttpClient {
1094
1144
  * @secure
1095
1145
  * @response `200` `GetBranchPaginated` OK
1096
1146
  */
1097
- searchBranches: (data, query, params = {}) => this.request(Object.assign({ path: `/api/branches/search`, method: "POST", query: query, body: data, secure: true, type: ContentType.Json, format: "json" }, params)),
1147
+ 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)),
1098
1148
  /**
1099
1149
  * No description
1100
1150
  *
@@ -1117,7 +1167,7 @@ export class Api extends HttpClient {
1117
1167
  * @response `200` `GetBranch` OK
1118
1168
  * @response `422` `UnprocessableEntity` Unprocessable Content
1119
1169
  */
1120
- replaceBranch: (branchId, data, params = {}) => this.request(Object.assign({ path: `/api/branches/${branchId}`, method: "PUT", body: data, secure: true, type: ContentType.Json, format: "json" }, params)),
1170
+ replaceBranch: (branchId, data, params = {}) => this.request(Object.assign({ path: `/api/branches/${branchId}`, method: "PUT", body: data, secure: true, type: "application/json", format: "json" }, params)),
1121
1171
  /**
1122
1172
  * No description
1123
1173
  *
@@ -1152,7 +1202,7 @@ export class Api extends HttpClient {
1152
1202
  * @response `200` `SiteConfiguration` OK
1153
1203
  * @response `422` `UnprocessableEntity` Unprocessable Content
1154
1204
  */
1155
- createBranchSiteConfiguration: (branchId, data, params = {}) => this.request(Object.assign({ path: `/api/branches/${branchId}/site-configurations`, method: "POST", body: data, secure: true, type: ContentType.Json, format: "json" }, params)),
1205
+ 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)),
1156
1206
  /**
1157
1207
  * No description
1158
1208
  *
@@ -1175,7 +1225,7 @@ export class Api extends HttpClient {
1175
1225
  * @response `200` `SiteConfiguration` OK
1176
1226
  * @response `422` `UnprocessableEntity` Unprocessable Content
1177
1227
  */
1178
- replaceBranchSiteConfiguration: (branchId, siteConfigurationId, data, query, params = {}) => this.request(Object.assign({ path: `/api/branches/${branchId}/site-configurations/${siteConfigurationId}`, method: "PUT", query: query, body: data, secure: true, type: ContentType.Json, format: "json" }, params)),
1228
+ 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)),
1179
1229
  /**
1180
1230
  * No description
1181
1231
  *
@@ -1209,7 +1259,7 @@ export class Api extends HttpClient {
1209
1259
  * @response `200` `BusinessRule` OK
1210
1260
  * @response `422` `UnprocessableEntity` Unprocessable Content
1211
1261
  */
1212
- createBusinessRule: (data, params = {}) => this.request(Object.assign({ path: `/api/business-rules`, method: "POST", body: data, secure: true, type: ContentType.Json, format: "json" }, params)),
1262
+ createBusinessRule: (data, params = {}) => this.request(Object.assign({ path: `/api/business-rules`, method: "POST", body: data, secure: true, type: "application/json", format: "json" }, params)),
1213
1263
  /**
1214
1264
  * No description
1215
1265
  *
@@ -1232,7 +1282,7 @@ export class Api extends HttpClient {
1232
1282
  * @response `200` `BusinessRule` OK
1233
1283
  * @response `422` `UnprocessableEntity` Unprocessable Content
1234
1284
  */
1235
- replaceBusinessRule: (id, data, params = {}) => this.request(Object.assign({ path: `/api/business-rules/${id}`, method: "PUT", body: data, secure: true, type: ContentType.Json, format: "json" }, params)),
1285
+ 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)),
1236
1286
  /**
1237
1287
  * No description
1238
1288
  *
@@ -1265,174 +1315,7 @@ export class Api extends HttpClient {
1265
1315
  * @secure
1266
1316
  * @response `200` `ClosedLoansReport` OK
1267
1317
  */
1268
- getClosedLoansReport: (data, params = {}) => this.request(Object.assign({ path: `/api/loans/reports/closed-loans`, method: "POST", body: data, secure: true, type: ContentType.Json, format: "json" }, params)),
1269
- /**
1270
- * No description
1271
- *
1272
- * @tags CompanyDocumentFolders
1273
- * @name GetCompanyDocumentFolders
1274
- * @summary Get all company document folders
1275
- * @request GET:/api/company-document-folders
1276
- * @secure
1277
- * @response `200` `(CompanyDocumentFolder)[]` OK
1278
- */
1279
- getCompanyDocumentFolders: (params = {}) => this.request(Object.assign({ path: `/api/company-document-folders`, method: "GET", secure: true, format: "json" }, params)),
1280
- /**
1281
- * No description
1282
- *
1283
- * @tags CompanyDocumentFolders
1284
- * @name CreateCompanyDocumentFolder
1285
- * @summary Create company document folder
1286
- * @request POST:/api/company-document-folders
1287
- * @secure
1288
- * @response `201` `CompanyDocumentFolder` Created
1289
- * @response `400` `ProblemDetails` Bad Request
1290
- * @response `409` `ProblemDetails` Conflict
1291
- */
1292
- createCompanyDocumentFolder: (data, params = {}) => this.request(Object.assign({ path: `/api/company-document-folders`, method: "POST", body: data, secure: true, type: ContentType.Json, format: "json" }, params)),
1293
- /**
1294
- * No description
1295
- *
1296
- * @tags CompanyDocumentFolders
1297
- * @name GetCompanyDocumentFolder
1298
- * @summary Get company document folder by ID
1299
- * @request GET:/api/company-document-folders/{id}
1300
- * @secure
1301
- * @response `200` `CompanyDocumentFolder` OK
1302
- * @response `404` `ProblemDetails` Not Found
1303
- */
1304
- getCompanyDocumentFolder: (id, params = {}) => this.request(Object.assign({ path: `/api/company-document-folders/${id}`, method: "GET", secure: true, format: "json" }, params)),
1305
- /**
1306
- * No description
1307
- *
1308
- * @tags CompanyDocumentFolders
1309
- * @name UpdateCompanyDocumentFolder
1310
- * @summary Update company document folder
1311
- * @request PUT:/api/company-document-folders/{id}
1312
- * @secure
1313
- * @response `200` `CompanyDocumentFolder` OK
1314
- * @response `400` `ProblemDetails` Bad Request
1315
- * @response `404` `ProblemDetails` Not Found
1316
- * @response `409` `ProblemDetails` Conflict
1317
- */
1318
- updateCompanyDocumentFolder: (id, data, params = {}) => this.request(Object.assign({ path: `/api/company-document-folders/${id}`, method: "PUT", body: data, secure: true, type: ContentType.Json, format: "json" }, params)),
1319
- /**
1320
- * No description
1321
- *
1322
- * @tags CompanyDocumentFolders
1323
- * @name DeleteCompanyDocumentFolder
1324
- * @summary Delete company document folder
1325
- * @request DELETE:/api/company-document-folders/{id}
1326
- * @secure
1327
- * @response `204` `void` No Content
1328
- * @response `400` `ProblemDetails` Bad Request
1329
- * @response `404` `ProblemDetails` Not Found
1330
- * @response `409` `ProblemDetails` Conflict
1331
- */
1332
- deleteCompanyDocumentFolder: (id, params = {}) => this.request(Object.assign({ path: `/api/company-document-folders/${id}`, method: "DELETE", secure: true }, params)),
1333
- /**
1334
- * No description
1335
- *
1336
- * @tags CompanyDocuments
1337
- * @name SearchCompanyDocuments
1338
- * @summary Search company documents
1339
- * @request POST:/api/company-documents/search
1340
- * @secure
1341
- * @response `200` `CompanyDocumentPaginated` OK
1342
- * @response `400` `ProblemDetails` Bad Request
1343
- */
1344
- searchCompanyDocuments: (data, query, params = {}) => this.request(Object.assign({ path: `/api/company-documents/search`, method: "POST", query: query, body: data, secure: true, type: ContentType.Json, format: "json" }, params)),
1345
- /**
1346
- * No description
1347
- *
1348
- * @tags CompanyDocuments
1349
- * @name GetCompanyDocument
1350
- * @summary Get company document by ID
1351
- * @request GET:/api/company-documents/{id}
1352
- * @secure
1353
- * @response `200` `CompanyDocument` OK
1354
- * @response `404` `ProblemDetails` Not Found
1355
- */
1356
- getCompanyDocument: (id, params = {}) => this.request(Object.assign({ path: `/api/company-documents/${id}`, method: "GET", secure: true, format: "json" }, params)),
1357
- /**
1358
- * No description
1359
- *
1360
- * @tags CompanyDocuments
1361
- * @name UpdateCompanyDocument
1362
- * @summary Update company document
1363
- * @request PUT:/api/company-documents/{id}
1364
- * @secure
1365
- * @response `200` `CompanyDocument` OK
1366
- * @response `400` `ProblemDetails` Bad Request
1367
- * @response `404` `ProblemDetails` Not Found
1368
- * @response `409` `ProblemDetails` Conflict
1369
- */
1370
- updateCompanyDocument: (id, data, params = {}) => this.request(Object.assign({ path: `/api/company-documents/${id}`, method: "PUT", body: data, secure: true, type: ContentType.Json, format: "json" }, params)),
1371
- /**
1372
- * No description
1373
- *
1374
- * @tags CompanyDocuments
1375
- * @name DeleteCompanyDocument
1376
- * @summary Delete company document
1377
- * @request DELETE:/api/company-documents/{id}
1378
- * @secure
1379
- * @response `204` `void` No Content
1380
- * @response `404` `ProblemDetails` Not Found
1381
- */
1382
- deleteCompanyDocument: (id, params = {}) => this.request(Object.assign({ path: `/api/company-documents/${id}`, method: "DELETE", secure: true }, params)),
1383
- /**
1384
- * No description
1385
- *
1386
- * @tags CompanyDocuments
1387
- * @name DownloadCompanyDocument
1388
- * @summary Download company document
1389
- * @request GET:/api/company-documents/{id}/download
1390
- * @secure
1391
- * @response `200` `void` OK
1392
- * @response `404` `ProblemDetails` Not Found
1393
- */
1394
- downloadCompanyDocument: (id, params = {}) => this.request(Object.assign({ path: `/api/company-documents/${id}/download`, method: "GET", secure: true }, params)),
1395
- /**
1396
- * No description
1397
- *
1398
- * @tags CompanyDocuments
1399
- * @name CreateCompanyDocument
1400
- * @summary Upload company document
1401
- * @request POST:/api/company-documents
1402
- * @secure
1403
- * @response `201` `CompanyDocument` Created
1404
- * @response `400` `ProblemDetails` Bad Request
1405
- * @response `404` `ProblemDetails` Not Found
1406
- * @response `409` `ProblemDetails` Conflict
1407
- */
1408
- createCompanyDocument: (data, params = {}) => this.request(Object.assign({ path: `/api/company-documents`, method: "POST", body: data, secure: true, type: ContentType.FormData, format: "json" }, params)),
1409
- /**
1410
- * No description
1411
- *
1412
- * @tags CompanyDocuments
1413
- * @name CreateCompanyTextDocument
1414
- * @summary Create free-form text company document
1415
- * @request POST:/api/company-documents/text
1416
- * @secure
1417
- * @response `201` `CompanyDocument` Created
1418
- * @response `400` `ProblemDetails` Bad Request
1419
- * @response `404` `ProblemDetails` Not Found
1420
- * @response `409` `ProblemDetails` Conflict
1421
- */
1422
- createCompanyTextDocument: (data, params = {}) => this.request(Object.assign({ path: `/api/company-documents/text`, method: "POST", body: data, secure: true, type: ContentType.Json, format: "json" }, params)),
1423
- /**
1424
- * No description
1425
- *
1426
- * @tags CompanyDocuments
1427
- * @name ReindexCompanyDocument
1428
- * @summary Re-index a failed company document
1429
- * @request POST:/api/company-documents/{id}/reindex
1430
- * @secure
1431
- * @response `200` `CompanyDocument` OK
1432
- * @response `400` `ProblemDetails` Bad Request
1433
- * @response `404` `ProblemDetails` Not Found
1434
- */
1435
- reindexCompanyDocument: (id, params = {}) => this.request(Object.assign({ path: `/api/company-documents/${id}/reindex`, method: "POST", secure: true, format: "json" }, params)),
1318
+ 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)),
1436
1319
  /**
1437
1320
  * No description
1438
1321
  *
@@ -1477,7 +1360,7 @@ export class Api extends HttpClient {
1477
1360
  * @response `200` `Corporate` OK
1478
1361
  * @response `422` `UnprocessableEntity` Unprocessable Content
1479
1362
  */
1480
- createCorporate: (data, params = {}) => this.request(Object.assign({ path: `/api/corporates`, method: "POST", body: data, secure: true, type: ContentType.Json, format: "json" }, params)),
1363
+ createCorporate: (data, params = {}) => this.request(Object.assign({ path: `/api/corporates`, method: "POST", body: data, secure: true, type: "application/json", format: "json" }, params)),
1481
1364
  /**
1482
1365
  * No description
1483
1366
  *
@@ -1488,7 +1371,7 @@ export class Api extends HttpClient {
1488
1371
  * @secure
1489
1372
  * @response `200` `CorporatePaginated` OK
1490
1373
  */
1491
- searchCorporate: (data, query, params = {}) => this.request(Object.assign({ path: `/api/corporates/search`, method: "POST", query: query, body: data, secure: true, type: ContentType.Json, format: "json" }, params)),
1374
+ 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)),
1492
1375
  /**
1493
1376
  * No description
1494
1377
  *
@@ -1511,7 +1394,7 @@ export class Api extends HttpClient {
1511
1394
  * @response `200` `Corporate` OK
1512
1395
  * @response `422` `UnprocessableEntity` Unprocessable Content
1513
1396
  */
1514
- replaceCorporate: (id, data, params = {}) => this.request(Object.assign({ path: `/api/corporates/${id}`, method: "PUT", body: data, secure: true, type: ContentType.Json, format: "json" }, params)),
1397
+ replaceCorporate: (id, data, params = {}) => this.request(Object.assign({ path: `/api/corporates/${id}`, method: "PUT", body: data, secure: true, type: "application/json", format: "json" }, params)),
1515
1398
  /**
1516
1399
  * No description
1517
1400
  *
@@ -1545,7 +1428,7 @@ export class Api extends HttpClient {
1545
1428
  * @response `200` `SiteConfiguration` OK
1546
1429
  * @response `422` `UnprocessableEntity` Unprocessable Content
1547
1430
  */
1548
- createCorporateSiteConfiguration: (corporateId, data, params = {}) => this.request(Object.assign({ path: `/api/corporates/${corporateId}/site-configurations`, method: "POST", body: data, secure: true, type: ContentType.Json, format: "json" }, params)),
1431
+ 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)),
1549
1432
  /**
1550
1433
  * No description
1551
1434
  *
@@ -1568,7 +1451,7 @@ export class Api extends HttpClient {
1568
1451
  * @response `200` `SiteConfiguration` OK
1569
1452
  * @response `422` `UnprocessableEntity` Unprocessable Content
1570
1453
  */
1571
- replaceCorporateSiteConfiguration: (corporateId, siteConfigurationId, data, query, params = {}) => this.request(Object.assign({ path: `/api/corporates/${corporateId}/site-configurations/${siteConfigurationId}`, method: "PUT", query: query, body: data, secure: true, type: ContentType.Json, format: "json" }, params)),
1454
+ 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)),
1572
1455
  /**
1573
1456
  * No description
1574
1457
  *
@@ -1614,7 +1497,7 @@ export class Api extends HttpClient {
1614
1497
  * @response `409` `ProblemDetails` Conflict
1615
1498
  * @response `422` `ProblemDetails` Unprocessable Content
1616
1499
  */
1617
- createCustomFieldDefinition: (data, params = {}) => this.request(Object.assign({ path: `/api/custom-field-definitions`, method: "POST", body: data, secure: true, type: ContentType.Json, format: "json" }, params)),
1500
+ createCustomFieldDefinition: (data, params = {}) => this.request(Object.assign({ path: `/api/custom-field-definitions`, method: "POST", body: data, secure: true, type: "application/json", format: "json" }, params)),
1618
1501
  /**
1619
1502
  * No description
1620
1503
  *
@@ -1641,7 +1524,7 @@ export class Api extends HttpClient {
1641
1524
  * @response `409` `ProblemDetails` Conflict
1642
1525
  * @response `422` `ProblemDetails` Unprocessable Content
1643
1526
  */
1644
- updateCustomFieldDefinition: (id, data, params = {}) => this.request(Object.assign({ path: `/api/custom-field-definitions/${id}`, method: "PUT", body: data, secure: true, type: ContentType.Json, format: "json" }, params)),
1527
+ 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)),
1645
1528
  /**
1646
1529
  * No description
1647
1530
  *
@@ -1711,7 +1594,7 @@ export class Api extends HttpClient {
1711
1594
  * @secure
1712
1595
  * @response `200` `Device` OK
1713
1596
  */
1714
- updateDevice: (id, data, params = {}) => this.request(Object.assign({ path: `/api/devices/${id}`, method: "PUT", body: data, secure: true, type: ContentType.Json, format: "json" }, params)),
1597
+ updateDevice: (id, data, params = {}) => this.request(Object.assign({ path: `/api/devices/${id}`, method: "PUT", body: data, secure: true, type: "application/json", format: "json" }, params)),
1715
1598
  /**
1716
1599
  * No description
1717
1600
  *
@@ -1768,7 +1651,7 @@ export class Api extends HttpClient {
1768
1651
  * @response `404` `ProblemDetails` Not Found
1769
1652
  * @response `422` `UnprocessableEntity` Unprocessable Content
1770
1653
  */
1771
- createDocumentTemplate: (data, params = {}) => this.request(Object.assign({ path: `/api/document-templates`, method: "POST", body: data, secure: true, type: ContentType.Json, format: "json" }, params)),
1654
+ createDocumentTemplate: (data, params = {}) => this.request(Object.assign({ path: `/api/document-templates`, method: "POST", body: data, secure: true, type: "application/json", format: "json" }, params)),
1772
1655
  /**
1773
1656
  * No description
1774
1657
  *
@@ -1805,7 +1688,7 @@ export class Api extends HttpClient {
1805
1688
  * @response `404` `ProblemDetails` Not Found
1806
1689
  * @response `422` `UnprocessableEntity` Unprocessable Content
1807
1690
  */
1808
- replaceDocumentTemplate: (id, data, params = {}) => this.request(Object.assign({ path: `/api/document-templates/${id}`, method: "PUT", body: data, secure: true, type: ContentType.Json, format: "json" }, params)),
1691
+ 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)),
1809
1692
  /**
1810
1693
  * No description
1811
1694
  *
@@ -1853,7 +1736,7 @@ export class Api extends HttpClient {
1853
1736
  * @secure
1854
1737
  * @response `200` `DocumentTemplateVersion` OK
1855
1738
  */
1856
- createDocumentTemplateVersion: (documentId, data, params = {}) => this.request(Object.assign({ path: `/api/document-templates/${documentId}/versions`, method: "POST", body: data, secure: true, type: ContentType.Json, format: "json" }, params)),
1739
+ 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)),
1857
1740
  /**
1858
1741
  * No description
1859
1742
  *
@@ -1875,7 +1758,7 @@ export class Api extends HttpClient {
1875
1758
  * @secure
1876
1759
  * @response `200` `DocumentTemplateVersion` OK
1877
1760
  */
1878
- replaceDocumentTemplateVersion: (documentId, id, data, params = {}) => this.request(Object.assign({ path: `/api/document-templates/${documentId}/versions/${id}`, method: "PUT", body: data, secure: true, type: ContentType.Json, format: "json" }, params)),
1761
+ 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)),
1879
1762
  /**
1880
1763
  * No description
1881
1764
  *
@@ -1913,7 +1796,7 @@ export class Api extends HttpClient {
1913
1796
  * @response `409` `void` Conflict
1914
1797
  * @response `422` `ProblemDetails` Unprocessable Content
1915
1798
  */
1916
- addEncompassCustomFieldMapping: (definitionId, data, params = {}) => this.request(Object.assign({ path: `/api/los/encompass/custom-field-mappings/${definitionId}`, method: "POST", body: data, secure: true, type: ContentType.Json, format: "json" }, params)),
1799
+ 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)),
1917
1800
  /**
1918
1801
  * No description
1919
1802
  *
@@ -2016,7 +1899,7 @@ export class Api extends HttpClient {
2016
1899
  * @response `404` `EncompassError` Not Found
2017
1900
  * @response `500` `EncompassError` Internal Server Error
2018
1901
  */
2019
- createEncompassSession: (data, params = {}) => this.request(Object.assign({ path: `/api/los/encompass/eclose/sessions`, method: "POST", body: data, secure: true, type: ContentType.Json, format: "json" }, params)),
1902
+ 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)),
2020
1903
  /**
2021
1904
  * No description
2022
1905
  *
@@ -2039,7 +1922,7 @@ export class Api extends HttpClient {
2039
1922
  * @response `201` `File` Created
2040
1923
  * @response `422` `UnprocessableEntity` Unprocessable Content
2041
1924
  */
2042
- uploadFile: (data, params = {}) => this.request(Object.assign({ path: `/api/files`, method: "POST", body: data, secure: true, type: ContentType.FormData, format: "json" }, params)),
1925
+ uploadFile: (data, params = {}) => this.request(Object.assign({ path: `/api/files`, method: "POST", body: data, secure: true, type: "multipart/form-data", format: "json" }, params)),
2043
1926
  /**
2044
1927
  * No description
2045
1928
  *
@@ -2062,7 +1945,7 @@ export class Api extends HttpClient {
2062
1945
  * @response `200` `string` OK
2063
1946
  * @response `422` `UnprocessableEntity` Unprocessable Content
2064
1947
  */
2065
- replaceFile: (id, data, params = {}) => this.request(Object.assign({ path: `/api/files/${id}`, method: "PUT", body: data, secure: true, type: ContentType.Json, format: "json" }, params)),
1948
+ replaceFile: (id, data, params = {}) => this.request(Object.assign({ path: `/api/files/${id}`, method: "PUT", body: data, secure: true, type: "application/json", format: "json" }, params)),
2066
1949
  /**
2067
1950
  * No description
2068
1951
  *
@@ -2084,7 +1967,7 @@ export class Api extends HttpClient {
2084
1967
  * @secure
2085
1968
  * @response `200` `FilePaginated` OK
2086
1969
  */
2087
- searchFiles: (data, query, params = {}) => this.request(Object.assign({ path: `/api/files/search`, method: "POST", query: query, body: data, secure: true, type: ContentType.Json, format: "json" }, params)),
1970
+ 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)),
2088
1971
  /**
2089
1972
  * No description
2090
1973
  *
@@ -2107,7 +1990,7 @@ export class Api extends HttpClient {
2107
1990
  * @response `201` `Form` Created
2108
1991
  * @response `422` `UnprocessableEntity` Unprocessable Content
2109
1992
  */
2110
- createForm: (data, params = {}) => this.request(Object.assign({ path: `/api/forms`, method: "POST", body: data, secure: true, type: ContentType.Json, format: "json" }, params)),
1993
+ createForm: (data, params = {}) => this.request(Object.assign({ path: `/api/forms`, method: "POST", body: data, secure: true, type: "application/json", format: "json" }, params)),
2111
1994
  /**
2112
1995
  * No description
2113
1996
  *
@@ -2130,7 +2013,7 @@ export class Api extends HttpClient {
2130
2013
  * @response `200` `Form` OK
2131
2014
  * @response `422` `UnprocessableEntity` Unprocessable Content
2132
2015
  */
2133
- replaceForm: (id, data, params = {}) => this.request(Object.assign({ path: `/api/forms/${id}`, method: "PUT", body: data, secure: true, type: ContentType.Json, format: "json" }, params)),
2016
+ replaceForm: (id, data, params = {}) => this.request(Object.assign({ path: `/api/forms/${id}`, method: "PUT", body: data, secure: true, type: "application/json", format: "json" }, params)),
2134
2017
  /**
2135
2018
  * No description
2136
2019
  *
@@ -2163,7 +2046,7 @@ export class Api extends HttpClient {
2163
2046
  * @secure
2164
2047
  * @response `200` `FormSubmissionFile` OK
2165
2048
  */
2166
- addFormSubmissionFile: (formSubmissionId, data, params = {}) => this.request(Object.assign({ path: `/api/form-submissions/${formSubmissionId}/files`, method: "POST", body: data, secure: true, type: ContentType.FormData, format: "json" }, params)),
2049
+ 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)),
2167
2050
  /**
2168
2051
  * No description
2169
2052
  *
@@ -2207,7 +2090,7 @@ export class Api extends HttpClient {
2207
2090
  * @secure
2208
2091
  * @response `201` `FormSubmission` Created
2209
2092
  */
2210
- createFormSubmission: (data, query, params = {}) => this.request(Object.assign({ path: `/api/form-submissions`, method: "POST", query: query, body: data, secure: true, type: ContentType.Json, format: "json" }, params)),
2093
+ 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)),
2211
2094
  /**
2212
2095
  * No description
2213
2096
  *
@@ -2229,7 +2112,7 @@ export class Api extends HttpClient {
2229
2112
  * @secure
2230
2113
  * @response `200` `FormSubmission` OK
2231
2114
  */
2232
- replaceFormSubmission: (id, data, params = {}) => this.request(Object.assign({ path: `/api/form-submissions/${id}`, method: "PUT", body: data, secure: true, type: ContentType.Json, format: "json" }, params)),
2115
+ 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)),
2233
2116
  /**
2234
2117
  * No description
2235
2118
  *
@@ -2251,7 +2134,7 @@ export class Api extends HttpClient {
2251
2134
  * @secure
2252
2135
  * @response `200` `FormSubmissionPaginated` OK
2253
2136
  */
2254
- searchFormSubmissions: (data, query, params = {}) => this.request(Object.assign({ path: `/api/form-submissions/search`, method: "POST", query: query, body: data, secure: true, type: ContentType.Json, format: "json" }, params)),
2137
+ 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)),
2255
2138
  /**
2256
2139
  * No description
2257
2140
  *
@@ -2273,7 +2156,7 @@ export class Api extends HttpClient {
2273
2156
  * @secure
2274
2157
  * @response `200` `FormVersion` OK
2275
2158
  */
2276
- createFormVersion: (formId, data, params = {}) => this.request(Object.assign({ path: `/api/forms/${formId}/versions`, method: "POST", body: data, secure: true, type: ContentType.Json, format: "json" }, params)),
2159
+ 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)),
2277
2160
  /**
2278
2161
  * No description
2279
2162
  *
@@ -2295,7 +2178,7 @@ export class Api extends HttpClient {
2295
2178
  * @secure
2296
2179
  * @response `200` `FormVersion` OK
2297
2180
  */
2298
- replaceFormVersion: (formId, id, data, params = {}) => this.request(Object.assign({ path: `/api/forms/${formId}/versions/${id}`, method: "PUT", body: data, secure: true, type: ContentType.Json, format: "json" }, params)),
2181
+ 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)),
2299
2182
  /**
2300
2183
  * No description
2301
2184
  *
@@ -2341,7 +2224,7 @@ export class Api extends HttpClient {
2341
2224
  * @response `200` `string` OK
2342
2225
  * @response `422` `UnprocessableEntity` Unprocessable Content
2343
2226
  */
2344
- updateLoanConsentAndCustomFieldsObsolete: (loanId, data, params = {}) => this.request(Object.assign({ path: `/api/los/loan/application/${loanId}`, method: "PATCH", body: data, secure: true, type: ContentType.JsonPatch, format: "json" }, params)),
2227
+ 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)),
2345
2228
  /**
2346
2229
  * No description
2347
2230
  *
@@ -2352,7 +2235,7 @@ export class Api extends HttpClient {
2352
2235
  * @secure
2353
2236
  * @response `200` `GetReport` OK
2354
2237
  */
2355
- getLoansReport: (data, params = {}) => this.request(Object.assign({ path: `/api/los/loan/reports`, method: "POST", body: data, secure: true, type: ContentType.Json, format: "json" }, params)),
2238
+ getLoansReport: (data, params = {}) => this.request(Object.assign({ path: `/api/los/loan/reports`, method: "POST", body: data, secure: true, type: "application/json", format: "json" }, params)),
2356
2239
  /**
2357
2240
  * No description
2358
2241
  *
@@ -2366,7 +2249,7 @@ export class Api extends HttpClient {
2366
2249
  * @response `422` `UnprocessableEntity` Unprocessable Content
2367
2250
  * @response `423` `UnprocessableEntity` Locked
2368
2251
  */
2369
- createLoan: (data, query, params = {}) => this.request(Object.assign({ path: `/api/los/loan/application`, method: "POST", query: query, body: data, secure: true, type: ContentType.Json, format: "json" }, params)),
2252
+ 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)),
2370
2253
  /**
2371
2254
  * No description
2372
2255
  *
@@ -2379,7 +2262,7 @@ export class Api extends HttpClient {
2379
2262
  * @response `422` `UnprocessableEntity` Unprocessable Content
2380
2263
  * @response `423` `UnprocessableEntity` Locked
2381
2264
  */
2382
- createLoanInternal: (data, query, params = {}) => this.request(Object.assign({ path: `/api/los/loan/application/internal`, method: "POST", query: query, body: data, secure: true, type: ContentType.Json, format: "json" }, params)),
2265
+ 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)),
2383
2266
  /**
2384
2267
  * No description
2385
2268
  *
@@ -2391,7 +2274,7 @@ export class Api extends HttpClient {
2391
2274
  * @response `200` `string` OK
2392
2275
  * @response `422` `UnprocessableEntity` Unprocessable Content
2393
2276
  */
2394
- updateLoanCustomFields: (loanId, data, params = {}) => this.request(Object.assign({ path: `/api/los/loan/application/${loanId}/custom-fields`, method: "PATCH", body: data, secure: true, type: ContentType.JsonPatch, format: "json" }, params)),
2277
+ 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)),
2395
2278
  /**
2396
2279
  * No description
2397
2280
  *
@@ -2404,7 +2287,7 @@ export class Api extends HttpClient {
2404
2287
  * @response `202` `string` Accepted
2405
2288
  * @response `422` `UnprocessableEntity` Unprocessable Content
2406
2289
  */
2407
- updateLoanConsent: (loanId, data, params = {}) => this.request(Object.assign({ path: `/api/los/loan/application/${loanId}/consent`, method: "PATCH", body: data, secure: true, type: ContentType.JsonPatch, format: "json" }, params)),
2290
+ 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)),
2408
2291
  /**
2409
2292
  * No description
2410
2293
  *
@@ -2484,7 +2367,7 @@ export class Api extends HttpClient {
2484
2367
  * @secure
2485
2368
  * @response `200` `ListingFile` OK
2486
2369
  */
2487
- addListingFile: (listingId, data, params = {}) => this.request(Object.assign({ path: `/api/listings/${listingId}/files`, method: "POST", body: data, secure: true, type: ContentType.FormData, format: "json" }, params)),
2370
+ 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)),
2488
2371
  /**
2489
2372
  * No description
2490
2373
  *
@@ -2495,7 +2378,7 @@ export class Api extends HttpClient {
2495
2378
  * @secure
2496
2379
  * @response `200` `ListingFile` OK
2497
2380
  */
2498
- updateListingFiles: (listingId, data, params = {}) => this.request(Object.assign({ path: `/api/listings/${listingId}/files`, method: "PATCH", body: data, secure: true, type: ContentType.JsonPatch, format: "json" }, params)),
2381
+ 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)),
2499
2382
  /**
2500
2383
  * No description
2501
2384
  *
@@ -2517,7 +2400,7 @@ export class Api extends HttpClient {
2517
2400
  * @secure
2518
2401
  * @response `200` `ListingPhoto` OK
2519
2402
  */
2520
- addListingPhoto: (listingId, data, params = {}) => this.request(Object.assign({ path: `/api/listings/${listingId}/photos`, method: "POST", body: data, secure: true, type: ContentType.FormData, format: "json" }, params)),
2403
+ 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)),
2521
2404
  /**
2522
2405
  * No description
2523
2406
  *
@@ -2528,7 +2411,7 @@ export class Api extends HttpClient {
2528
2411
  * @secure
2529
2412
  * @response `200` `(ListingPhoto)[]` OK
2530
2413
  */
2531
- updateListingPhotos: (listingId, data, params = {}) => this.request(Object.assign({ path: `/api/listings/${listingId}/photos`, method: "PATCH", body: data, secure: true, type: ContentType.JsonPatch, format: "json" }, params)),
2414
+ 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)),
2532
2415
  /**
2533
2416
  * No description
2534
2417
  *
@@ -2561,7 +2444,7 @@ export class Api extends HttpClient {
2561
2444
  * @secure
2562
2445
  * @response `201` `Listing` Created
2563
2446
  */
2564
- createListing: (data, params = {}) => this.request(Object.assign({ path: `/api/listings`, method: "POST", body: data, secure: true, type: ContentType.Json, format: "json" }, params)),
2447
+ createListing: (data, params = {}) => this.request(Object.assign({ path: `/api/listings`, method: "POST", body: data, secure: true, type: "application/json", format: "json" }, params)),
2565
2448
  /**
2566
2449
  * No description
2567
2450
  *
@@ -2594,7 +2477,7 @@ export class Api extends HttpClient {
2594
2477
  * @secure
2595
2478
  * @response `200` `Listing` OK
2596
2479
  */
2597
- replaceListing: (id, data, params = {}) => this.request(Object.assign({ path: `/api/listings/${id}`, method: "PUT", body: data, secure: true, type: ContentType.Json, format: "json" }, params)),
2480
+ replaceListing: (id, data, params = {}) => this.request(Object.assign({ path: `/api/listings/${id}`, method: "PUT", body: data, secure: true, type: "application/json", format: "json" }, params)),
2598
2481
  /**
2599
2482
  * No description
2600
2483
  *
@@ -2616,7 +2499,7 @@ export class Api extends HttpClient {
2616
2499
  * @secure
2617
2500
  * @response `200` `ListingPaginated` OK
2618
2501
  */
2619
- searchListings: (data, query, params = {}) => this.request(Object.assign({ path: `/api/listings/search`, method: "POST", query: query, body: data, secure: true, type: ContentType.Json, format: "json" }, params)),
2502
+ 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)),
2620
2503
  /**
2621
2504
  * No description
2622
2505
  *
@@ -2627,7 +2510,7 @@ export class Api extends HttpClient {
2627
2510
  * @secure
2628
2511
  * @response `200` `File` OK
2629
2512
  */
2630
- updateListingBackgroundImage: (id, data, params = {}) => this.request(Object.assign({ path: `/api/listings/${id}/background-image`, method: "PUT", body: data, secure: true, type: ContentType.FormData, format: "json" }, params)),
2513
+ 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)),
2631
2514
  /**
2632
2515
  * No description
2633
2516
  *
@@ -2673,7 +2556,7 @@ export class Api extends HttpClient {
2673
2556
  * @response `422` `UnprocessableEntity` Unprocessable Content
2674
2557
  * @response `423` `UnprocessableEntity` Locked
2675
2558
  */
2676
- runLoanCalculator: (loanId, data, params = {}) => this.request(Object.assign({ path: `/api/loans/${loanId}/calculators/loan-calculator`, method: "POST", body: data, secure: true, type: ContentType.Json, format: "json" }, params)),
2559
+ 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)),
2677
2560
  /**
2678
2561
  * No description
2679
2562
  *
@@ -2697,7 +2580,7 @@ export class Api extends HttpClient {
2697
2580
  * @response `422` `UnprocessableEntity` Unprocessable Content
2698
2581
  * @response `423` `UnprocessableEntity` Locked
2699
2582
  */
2700
- createLoanComparison: (loanId, index, data, params = {}) => this.request(Object.assign({ path: `/api/loans/${loanId}/loan-comparison/${index}`, method: "POST", body: data, secure: true, type: ContentType.Json, format: "json" }, params)),
2583
+ 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)),
2701
2584
  /**
2702
2585
  * No description
2703
2586
  *
@@ -2720,7 +2603,7 @@ export class Api extends HttpClient {
2720
2603
  * @response `204` `void` No Content
2721
2604
  * @response `422` `UnprocessableEntity` Unprocessable Content
2722
2605
  */
2723
- createLoanComparisonPdf: (loanId, data, params = {}) => this.request(Object.assign({ path: `/api/loans/${loanId}/loan-comparison/pdf`, method: "POST", body: data, secure: true, type: ContentType.Json }, params)),
2606
+ 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)),
2724
2607
  /**
2725
2608
  * No description
2726
2609
  *
@@ -2757,7 +2640,7 @@ export class Api extends HttpClient {
2757
2640
  * @response `400` `ProblemDetails` Bad Request
2758
2641
  * @response `422` `ProblemDetails` Unprocessable Content
2759
2642
  */
2760
- bulkSetLoanCustomFieldValues: (loanId, data, params = {}) => this.request(Object.assign({ path: `/api/loans/${loanId}/custom-fields`, method: "PUT", body: data, secure: true, type: ContentType.Json }, params)),
2643
+ bulkSetLoanCustomFieldValues: (loanId, data, params = {}) => this.request(Object.assign({ path: `/api/loans/${loanId}/custom-fields`, method: "PUT", body: data, secure: true, type: "application/json" }, params)),
2761
2644
  /**
2762
2645
  * No description
2763
2646
  *
@@ -2771,7 +2654,7 @@ export class Api extends HttpClient {
2771
2654
  * @response `404` `ProblemDetails` Not Found
2772
2655
  * @response `422` `ProblemDetails` Unprocessable Content
2773
2656
  */
2774
- setLoanCustomFieldValue: (loanId, definitionId, data, params = {}) => this.request(Object.assign({ path: `/api/loans/${loanId}/custom-fields/${definitionId}`, method: "PUT", body: data, secure: true, type: ContentType.Json }, params)),
2657
+ 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)),
2775
2658
  /**
2776
2659
  * No description
2777
2660
  *
@@ -2805,7 +2688,7 @@ export class Api extends HttpClient {
2805
2688
  * @secure
2806
2689
  * @response `201` `(string)[]` Created
2807
2690
  */
2808
- createLoanDocumentBuckets: (loanId, data, params = {}) => this.request(Object.assign({ path: `/api/loans/${loanId}/documents/buckets`, method: "POST", body: data, secure: true, type: ContentType.Json, format: "json" }, params)),
2691
+ 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)),
2809
2692
  /**
2810
2693
  * No description
2811
2694
  *
@@ -2829,7 +2712,7 @@ export class Api extends HttpClient {
2829
2712
  * @response `409` `ProblemDetails` Conflict
2830
2713
  * @response `422` `ProblemDetails` Unprocessable Content
2831
2714
  */
2832
- createLoanDocumentFolder: (data, params = {}) => this.request(Object.assign({ path: `/api/loan-document-folders`, method: "POST", body: data, secure: true, type: ContentType.Json, format: "json" }, params)),
2715
+ createLoanDocumentFolder: (data, params = {}) => this.request(Object.assign({ path: `/api/loan-document-folders`, method: "POST", body: data, secure: true, type: "application/json", format: "json" }, params)),
2833
2716
  /**
2834
2717
  * No description
2835
2718
  *
@@ -2856,7 +2739,7 @@ export class Api extends HttpClient {
2856
2739
  * @response `409` `ProblemDetails` Conflict
2857
2740
  * @response `422` `ProblemDetails` Unprocessable Content
2858
2741
  */
2859
- updateLoanDocumentFolder: (id, data, params = {}) => this.request(Object.assign({ path: `/api/loan-document-folders/${id}`, method: "PUT", body: data, secure: true, type: ContentType.Json, format: "json" }, params)),
2742
+ 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)),
2860
2743
  /**
2861
2744
  * No description
2862
2745
  *
@@ -2931,7 +2814,7 @@ export class Api extends HttpClient {
2931
2814
  * @response `200` `Record<string,string>` OK
2932
2815
  * @response `400` `ProblemDetails` Bad Request
2933
2816
  */
2934
- getLoanDocumentPreviews: (loanId, data, params = {}) => this.request(Object.assign({ path: `/api/loans/${loanId}/documents/previews`, method: "POST", body: data, secure: true, type: ContentType.Json, format: "json" }, params)),
2817
+ 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)),
2935
2818
  /**
2936
2819
  * No description
2937
2820
  *
@@ -2942,7 +2825,7 @@ export class Api extends HttpClient {
2942
2825
  * @secure
2943
2826
  * @response `200` `LoanDocumentSearchPaginated` OK
2944
2827
  */
2945
- searchLoanDocuments: (loanId, data, query, params = {}) => this.request(Object.assign({ path: `/api/loans/${loanId}/documents/search`, method: "POST", query: query, body: data, secure: true, type: ContentType.Json, format: "json" }, params)),
2828
+ 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)),
2946
2829
  /**
2947
2830
  * @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).
2948
2831
  *
@@ -2953,7 +2836,7 @@ export class Api extends HttpClient {
2953
2836
  * @secure
2954
2837
  * @response `200` `(DocumentFolder)[]` OK
2955
2838
  */
2956
- getLoanDocumentFolders: (loanId, data, query, params = {}) => this.request(Object.assign({ path: `/api/loans/${loanId}/documents/folders`, method: "POST", query: query, body: data, secure: true, type: ContentType.Json, format: "json" }, params)),
2839
+ 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)),
2957
2840
  /**
2958
2841
  * No description
2959
2842
  *
@@ -2962,7 +2845,7 @@ export class Api extends HttpClient {
2962
2845
  * @summary Download By ID
2963
2846
  * @request GET:/api/loans/{loanId}/documents/{documentId}/download
2964
2847
  * @secure
2965
- * @response `200` `string` OK
2848
+ * @response `200` `Blob` OK
2966
2849
  * @response `404` `ProblemDetails` Not Found
2967
2850
  */
2968
2851
  downloadLoanDocument: (loanId, documentId, params = {}) => this.request(Object.assign({ path: `/api/loans/${loanId}/documents/${documentId}/download`, method: "GET", secure: true, format: "json" }, params)),
@@ -2978,7 +2861,7 @@ export class Api extends HttpClient {
2978
2861
  * @response `404` `ProblemDetails` Not Found
2979
2862
  * @response `422` `UnprocessableEntity` Unprocessable Content
2980
2863
  */
2981
- createLoanDocument: (loanId, data, params = {}) => this.request(Object.assign({ path: `/api/loans/${loanId}/documents`, method: "POST", body: data, secure: true, type: ContentType.FormData, format: "json" }, params)),
2864
+ 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)),
2982
2865
  /**
2983
2866
  * No description
2984
2867
  *
@@ -3002,7 +2885,7 @@ export class Api extends HttpClient {
3002
2885
  * @secure
3003
2886
  * @response `200` `DocumentDataRequest` OK
3004
2887
  */
3005
- generateLoanDocument: (loanId, data, params = {}) => this.request(Object.assign({ path: `/api/loans/${loanId}/documents/generate`, method: "POST", body: data, secure: true, type: ContentType.Json, format: "json" }, params)),
2888
+ 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)),
3006
2889
  /**
3007
2890
  * No description
3008
2891
  *
@@ -3015,7 +2898,7 @@ export class Api extends HttpClient {
3015
2898
  * @response `400` `ProblemDetails` Bad Request
3016
2899
  * @response `404` `ProblemDetails` Not Found
3017
2900
  */
3018
- sendLoanDocuments: (loanId, data, params = {}) => this.request(Object.assign({ path: `/api/loans/${loanId}/documents/distribute`, method: "POST", body: data, secure: true, type: ContentType.Json }, params)),
2901
+ sendLoanDocuments: (loanId, data, params = {}) => this.request(Object.assign({ path: `/api/loans/${loanId}/documents/distribute`, method: "POST", body: data, secure: true, type: "application/json" }, params)),
3019
2902
  /**
3020
2903
  * @description Fetches all documents from Encompass that don't exist locally and stores them in S3
3021
2904
  *
@@ -3040,7 +2923,7 @@ export class Api extends HttpClient {
3040
2923
  * @response `404` `ProblemDetails` Not Found
3041
2924
  * @response `422` `UnprocessableEntity` Unprocessable Content
3042
2925
  */
3043
- classifyLoanDocumentManually: (loanId, documentId, data, params = {}) => this.request(Object.assign({ path: `/api/loans/${loanId}/documents/${documentId}/classify-manual`, method: "POST", body: data, secure: true, type: ContentType.Json, format: "json" }, params)),
2926
+ classifyLoanDocumentManually: (loanId, documentId, data, params = {}) => this.request(Object.assign({ path: `/api/loans/${loanId}/documents/${documentId}/classify-manual`, method: "POST", body: data, secure: true, type: "application/json", format: "json" }, params)),
3044
2927
  /**
3045
2928
  * @description Re-attempts to push a failed document to LOS
3046
2929
  *
@@ -3064,7 +2947,7 @@ export class Api extends HttpClient {
3064
2947
  * @secure
3065
2948
  * @response `201` `Draft` Created
3066
2949
  */
3067
- createLoanDraft: (data, params = {}) => this.request(Object.assign({ path: `/api/loans/drafts`, method: "POST", body: data, secure: true, type: ContentType.Json, format: "json" }, params)),
2950
+ createLoanDraft: (data, params = {}) => this.request(Object.assign({ path: `/api/loans/drafts`, method: "POST", body: data, secure: true, type: "application/json", format: "json" }, params)),
3068
2951
  /**
3069
2952
  * No description
3070
2953
  *
@@ -3097,7 +2980,7 @@ export class Api extends HttpClient {
3097
2980
  * @secure
3098
2981
  * @response `200` `Draft` OK
3099
2982
  */
3100
- replaceLoanDraft: (draftId, data, params = {}) => this.request(Object.assign({ path: `/api/loans/drafts/${draftId}`, method: "PUT", body: data, secure: true, type: ContentType.Json, format: "json" }, params)),
2983
+ 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)),
3101
2984
  /**
3102
2985
  * No description
3103
2986
  *
@@ -3119,7 +3002,7 @@ export class Api extends HttpClient {
3119
3002
  * @secure
3120
3003
  * @response `201` `DraftContentPaginated` Created
3121
3004
  */
3122
- searchLoanDrafts: (data, query, params = {}) => this.request(Object.assign({ path: `/api/loans/drafts/search`, method: "POST", query: query, body: data, secure: true, type: ContentType.Json, format: "json" }, params)),
3005
+ 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)),
3123
3006
  /**
3124
3007
  * No description
3125
3008
  *
@@ -3130,7 +3013,7 @@ export class Api extends HttpClient {
3130
3013
  * @secure
3131
3014
  * @response `200` `Draft` OK
3132
3015
  */
3133
- reassignLoanOfficer: (draftId, data, params = {}) => this.request(Object.assign({ path: `/api/loans/drafts/${draftId}/reassign`, method: "PUT", body: data, secure: true, type: ContentType.Json, format: "json" }, params)),
3016
+ 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)),
3134
3017
  /**
3135
3018
  * No description
3136
3019
  *
@@ -3163,7 +3046,7 @@ export class Api extends HttpClient {
3163
3046
  * @secure
3164
3047
  * @response `201` `LoanImport` Created
3165
3048
  */
3166
- createLoanImport: (data, params = {}) => this.request(Object.assign({ path: `/api/loan-imports`, method: "POST", body: data, secure: true, type: ContentType.Json, format: "json" }, params)),
3049
+ createLoanImport: (data, params = {}) => this.request(Object.assign({ path: `/api/loan-imports`, method: "POST", body: data, secure: true, type: "application/json", format: "json" }, params)),
3167
3050
  /**
3168
3051
  * No description
3169
3052
  *
@@ -3209,7 +3092,7 @@ export class Api extends HttpClient {
3209
3092
  * @response `200` `(Invite)[]` OK
3210
3093
  * @response `404` `ProblemDetails` Not Found
3211
3094
  */
3212
- inviteLoanContacts: (loanId, data, params = {}) => this.request(Object.assign({ path: `/api/loans/${loanId}/invites`, method: "POST", body: data, secure: true, type: ContentType.Json, format: "json" }, params)),
3095
+ 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)),
3213
3096
  /**
3214
3097
  * No description
3215
3098
  *
@@ -3220,7 +3103,7 @@ export class Api extends HttpClient {
3220
3103
  * @secure
3221
3104
  * @response `200` `LoanLogPaginated` OK
3222
3105
  */
3223
- searchLoanLogs: (loanId, data, query, params = {}) => this.request(Object.assign({ path: `/api/loans/${loanId}/logs/search`, method: "POST", query: query, body: data, secure: true, type: ContentType.Json, format: "json" }, params)),
3106
+ 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)),
3224
3107
  /**
3225
3108
  * No description
3226
3109
  *
@@ -3245,7 +3128,7 @@ export class Api extends HttpClient {
3245
3128
  * @response `400` `ProblemDetails` Bad Request
3246
3129
  * @response `404` `ProblemDetails` Not Found
3247
3130
  */
3248
- sendLoanOptInReminder: (loanId, data, params = {}) => this.request(Object.assign({ path: `/api/loans/${loanId}/notifications/opt-in-reminders`, method: "POST", body: data, secure: true, type: ContentType.Json }, params)),
3131
+ sendLoanOptInReminder: (loanId, data, params = {}) => this.request(Object.assign({ path: `/api/loans/${loanId}/notifications/opt-in-reminders`, method: "POST", body: data, secure: true, type: "application/json" }, params)),
3249
3132
  /**
3250
3133
  * No description
3251
3134
  *
@@ -3258,7 +3141,7 @@ export class Api extends HttpClient {
3258
3141
  * @response `400` `ProblemDetails` Bad Request
3259
3142
  * @response `404` `ProblemDetails` Not Found
3260
3143
  */
3261
- sendESignatureReminder: (loanId, data, params = {}) => this.request(Object.assign({ path: `/api/loans/${loanId}/notifications/esignature-reminders`, method: "POST", body: data, secure: true, type: ContentType.Json }, params)),
3144
+ sendESignatureReminder: (loanId, data, params = {}) => this.request(Object.assign({ path: `/api/loans/${loanId}/notifications/esignature-reminders`, method: "POST", body: data, secure: true, type: "application/json" }, params)),
3262
3145
  /**
3263
3146
  * No description
3264
3147
  *
@@ -3280,7 +3163,7 @@ export class Api extends HttpClient {
3280
3163
  * @secure
3281
3164
  * @response `200` `BranchUserPaginated` OK
3282
3165
  */
3283
- searchLoanOfficers: (data, query, params = {}) => this.request(Object.assign({ path: `/api/loan-officers/search`, method: "POST", query: query, body: data, secure: true, type: ContentType.Json, format: "json" }, params)),
3166
+ 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)),
3284
3167
  /**
3285
3168
  * No description
3286
3169
  *
@@ -3303,7 +3186,7 @@ export class Api extends HttpClient {
3303
3186
  * @response `200` `SiteConfiguration` OK
3304
3187
  * @response `422` `UnprocessableEntity` Unprocessable Content
3305
3188
  */
3306
- createLoanOfficerSiteConfiguration: (loanOfficerId, data, params = {}) => this.request(Object.assign({ path: `/api/loan-officers/${loanOfficerId}/site-configurations`, method: "POST", body: data, secure: true, type: ContentType.Json, format: "json" }, params)),
3189
+ 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)),
3307
3190
  /**
3308
3191
  * No description
3309
3192
  *
@@ -3326,7 +3209,7 @@ export class Api extends HttpClient {
3326
3209
  * @response `200` `SiteConfiguration` OK
3327
3210
  * @response `422` `UnprocessableEntity` Unprocessable Content
3328
3211
  */
3329
- replaceLoanOfficerSiteConfiguration: (loanOfficerId, siteConfigurationId, data, query, params = {}) => this.request(Object.assign({ path: `/api/loan-officers/${loanOfficerId}/site-configurations/${siteConfigurationId}`, method: "PUT", query: query, body: data, secure: true, type: ContentType.Json, format: "json" }, params)),
3212
+ 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)),
3330
3213
  /**
3331
3214
  * No description
3332
3215
  *
@@ -3337,7 +3220,7 @@ export class Api extends HttpClient {
3337
3220
  * @secure
3338
3221
  * @response `200` `LoanQueuePaginated` OK
3339
3222
  */
3340
- searchLoanQueue: (data, query, params = {}) => this.request(Object.assign({ path: `/api/loans/queue/search`, method: "POST", query: query, body: data, secure: true, type: ContentType.Json, format: "json" }, params)),
3223
+ 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)),
3341
3224
  /**
3342
3225
  * No description
3343
3226
  *
@@ -3361,7 +3244,7 @@ export class Api extends HttpClient {
3361
3244
  * @response `200` `LoanQueueWithData` OK
3362
3245
  * @response `404` `ProblemDetails` Not Found
3363
3246
  */
3364
- replaceLoanQueue: (loanQueueId, data, params = {}) => this.request(Object.assign({ path: `/api/loans/queue/${loanQueueId}`, method: "PUT", body: data, secure: true, type: ContentType.Json, format: "json" }, params)),
3247
+ 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)),
3365
3248
  /**
3366
3249
  * No description
3367
3250
  *
@@ -3422,7 +3305,7 @@ export class Api extends HttpClient {
3422
3305
  * @response `401` `ProblemDetails` Unauthorized
3423
3306
  * @response `403` `ProblemDetails` Forbidden
3424
3307
  */
3425
- createLoanv3: (data, params = {}) => this.request(Object.assign({ path: `/api/loans`, method: "POST", body: data, secure: true, type: ContentType.Json, format: "json" }, params)),
3308
+ createLoanv3: (data, params = {}) => this.request(Object.assign({ path: `/api/loans`, method: "POST", body: data, secure: true, type: "application/json", format: "json" }, params)),
3426
3309
  /**
3427
3310
  * No description
3428
3311
  *
@@ -3433,7 +3316,7 @@ export class Api extends HttpClient {
3433
3316
  * @secure
3434
3317
  * @response `200` `LoanListPaginated` OK
3435
3318
  */
3436
- searchLoans: (data, query, params = {}) => this.request(Object.assign({ path: `/api/loans/search`, method: "POST", query: query, body: data, secure: true, type: ContentType.Json, format: "json" }, params)),
3319
+ 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)),
3437
3320
  /**
3438
3321
  * No description
3439
3322
  *
@@ -3449,7 +3332,7 @@ export class Api extends HttpClient {
3449
3332
  * @response `404` `ProblemDetails` Not Found
3450
3333
  * @response `409` `any` Conflict
3451
3334
  */
3452
- updateLoan: (loanId, data, params = {}) => this.request(Object.assign({ path: `/api/loans/${loanId}`, method: "PATCH", body: data, secure: true, type: ContentType.JsonPatch, format: "json" }, params)),
3335
+ updateLoan: (loanId, data, params = {}) => this.request(Object.assign({ path: `/api/loans/${loanId}`, method: "PATCH", body: data, secure: true, type: "application/json", format: "json" }, params)),
3453
3336
  /**
3454
3337
  * No description
3455
3338
  *
@@ -3511,7 +3394,7 @@ export class Api extends HttpClient {
3511
3394
  * @response `400` `ProblemDetails` Bad Request
3512
3395
  * @response `404` `ProblemDetails` Not Found
3513
3396
  */
3514
- triggerAso: (loanId, data, params = {}) => this.request(Object.assign({ path: `/api/loans/${loanId}/aso`, method: "POST", body: data, secure: true, type: ContentType.Json, format: "json" }, params)),
3397
+ 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)),
3515
3398
  /**
3516
3399
  * No description
3517
3400
  *
@@ -3523,7 +3406,7 @@ export class Api extends HttpClient {
3523
3406
  * @response `200` `TaskCommentPaginated` OK
3524
3407
  * @response `404` `ProblemDetails` Not Found
3525
3408
  */
3526
- searchLoanTaskComments: (loanId, userLoanTaskId, data, query, params = {}) => this.request(Object.assign({ path: `/api/loans/${loanId}/tasks/${userLoanTaskId}/comments/search`, method: "POST", query: query, body: data, secure: true, type: ContentType.Json, format: "json" }, params)),
3409
+ 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)),
3527
3410
  /**
3528
3411
  * No description
3529
3412
  *
@@ -3547,7 +3430,7 @@ export class Api extends HttpClient {
3547
3430
  * @response `201` `TaskComment` Created
3548
3431
  * @response `404` `ProblemDetails` Not Found
3549
3432
  */
3550
- createLoanTaskComment: (loanId, userLoanTaskId, data, params = {}) => this.request(Object.assign({ path: `/api/loans/${loanId}/tasks/${userLoanTaskId}/comments`, method: "POST", body: data, secure: true, type: ContentType.Json, format: "json" }, params)),
3433
+ 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)),
3551
3434
  /**
3552
3435
  * No description
3553
3436
  *
@@ -3559,7 +3442,7 @@ export class Api extends HttpClient {
3559
3442
  * @response `200` `TaskComment` OK
3560
3443
  * @response `404` `ProblemDetails` Not Found
3561
3444
  */
3562
- replaceLoanTaskComment: (loanId, userLoanTaskId, commentId, data, params = {}) => this.request(Object.assign({ path: `/api/loans/${loanId}/tasks/${userLoanTaskId}/comments/${commentId}`, method: "PUT", body: data, secure: true, type: ContentType.Json, format: "json" }, params)),
3445
+ 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)),
3563
3446
  /**
3564
3447
  * No description
3565
3448
  *
@@ -3584,7 +3467,7 @@ export class Api extends HttpClient {
3584
3467
  * @response `404` `ProblemDetails` Not Found
3585
3468
  * @response `422` `UnprocessableEntity` Unprocessable Content
3586
3469
  */
3587
- createLoanTaskDocument: (loanId, loanTaskId, data, params = {}) => this.request(Object.assign({ path: `/api/loans/${loanId}/tasks/${loanTaskId}/documents`, method: "POST", body: data, secure: true, type: ContentType.FormData, format: "json" }, params)),
3470
+ 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)),
3588
3471
  /**
3589
3472
  * No description
3590
3473
  *
@@ -3598,7 +3481,7 @@ export class Api extends HttpClient {
3598
3481
  * @response `404` `ProblemDetails` Not Found
3599
3482
  * @response `422` `ProblemDetails` Unprocessable Content
3600
3483
  */
3601
- sendOutstandingLoanTaskNotification: (loanId, data, params = {}) => this.request(Object.assign({ path: `/api/loans/${loanId}/tasks/reminders/outstanding`, method: "POST", body: data, secure: true, type: ContentType.Json }, params)),
3484
+ sendOutstandingLoanTaskNotification: (loanId, data, params = {}) => this.request(Object.assign({ path: `/api/loans/${loanId}/tasks/reminders/outstanding`, method: "POST", body: data, secure: true, type: "application/json" }, params)),
3602
3485
  /**
3603
3486
  * No description
3604
3487
  *
@@ -3611,7 +3494,7 @@ export class Api extends HttpClient {
3611
3494
  * @response `400` `ProblemDetails` Bad Request
3612
3495
  * @response `404` `ProblemDetails` Not Found
3613
3496
  */
3614
- sendLoanTaskReminder: (loanId, data, params = {}) => this.request(Object.assign({ path: `/api/loans/${loanId}/tasks/reminders`, method: "POST", body: data, secure: true, type: ContentType.Json }, params)),
3497
+ sendLoanTaskReminder: (loanId, data, params = {}) => this.request(Object.assign({ path: `/api/loans/${loanId}/tasks/reminders`, method: "POST", body: data, secure: true, type: "application/json" }, params)),
3615
3498
  /**
3616
3499
  * @description Search tasks across all loans
3617
3500
  *
@@ -3622,7 +3505,7 @@ export class Api extends HttpClient {
3622
3505
  * @secure
3623
3506
  * @response `200` `UserLoanTaskPaginated` OK
3624
3507
  */
3625
- searchLoanTasks: (data, query, params = {}) => this.request(Object.assign({ path: `/api/loans/tasks/search`, method: "POST", query: query, body: data, secure: true, type: ContentType.Json, format: "json" }, params)),
3508
+ 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)),
3626
3509
  /**
3627
3510
  * @description Returns task counts grouped by status for loans accessible to the current user based on their role
3628
3511
  *
@@ -3634,7 +3517,7 @@ export class Api extends HttpClient {
3634
3517
  * @response `200` `(LoanTaskStatusSummary)[]` OK
3635
3518
  * @response `422` `UnprocessableEntity` Unprocessable Content
3636
3519
  */
3637
- searchLoanTasksSummary: (data, params = {}) => this.request(Object.assign({ path: `/api/loans/tasks/search/summary`, method: "POST", body: data, secure: true, type: ContentType.Json, format: "json" }, params)),
3520
+ 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)),
3638
3521
  /**
3639
3522
  * No description
3640
3523
  *
@@ -3682,7 +3565,7 @@ export class Api extends HttpClient {
3682
3565
  * @response `201` `UserLoanTask` Created
3683
3566
  * @response `404` `ProblemDetails` Not Found
3684
3567
  */
3685
- createLoanTask: (loanId, taskId, data, params = {}) => this.request(Object.assign({ path: `/api/loans/${loanId}/tasks/${taskId}`, method: "POST", body: data, secure: true, type: ContentType.Json, format: "json" }, params)),
3568
+ 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)),
3686
3569
  /**
3687
3570
  * No description
3688
3571
  *
@@ -3694,7 +3577,7 @@ export class Api extends HttpClient {
3694
3577
  * @response `201` `(UserLoanTask)[]` Created
3695
3578
  * @response `404` `ProblemDetails` Not Found
3696
3579
  */
3697
- importLoanTask: (loanId, data, params = {}) => this.request(Object.assign({ path: `/api/loans/${loanId}/tasks/import`, method: "POST", body: data, secure: true, type: ContentType.Json, format: "json" }, params)),
3580
+ 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)),
3698
3581
  /**
3699
3582
  * No description
3700
3583
  *
@@ -3706,7 +3589,7 @@ export class Api extends HttpClient {
3706
3589
  * @response `200` `UserLoanTask` OK
3707
3590
  * @response `404` `ProblemDetails` Not Found
3708
3591
  */
3709
- replaceLoanTask: (loanId, userLoanTaskId, data, params = {}) => this.request(Object.assign({ path: `/api/loans/${loanId}/tasks/${userLoanTaskId}`, method: "PUT", body: data, secure: true, type: ContentType.Json, format: "json" }, params)),
3592
+ 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)),
3710
3593
  /**
3711
3594
  * No description
3712
3595
  *
@@ -3765,7 +3648,7 @@ export class Api extends HttpClient {
3765
3648
  * @secure
3766
3649
  * @response `201` `LoanUser` Created
3767
3650
  */
3768
- addLoanUser: (loanId, userId, data, params = {}) => this.request(Object.assign({ path: `/api/loans/${loanId}/users/${userId}`, method: "POST", body: data, secure: true, type: ContentType.Json, format: "json" }, params)),
3651
+ 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)),
3769
3652
  /**
3770
3653
  * No description
3771
3654
  *
@@ -3798,7 +3681,7 @@ export class Api extends HttpClient {
3798
3681
  * @secure
3799
3682
  * @response `200` `LosOperationTrackingPaginated` OK
3800
3683
  */
3801
- searchLosOperationTracking: (data, query, params = {}) => this.request(Object.assign({ path: `/api/los-operation-tracking/search`, method: "POST", query: query, body: data, secure: true, type: ContentType.Json, format: "json" }, params)),
3684
+ 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)),
3802
3685
  /**
3803
3686
  * No description
3804
3687
  *
@@ -3811,7 +3694,7 @@ export class Api extends HttpClient {
3811
3694
  * @response `401` `ProblemDetails` Unauthorized
3812
3695
  * @response `403` `ProblemDetails` Forbidden
3813
3696
  */
3814
- searchInboundSyncFailures: (data, query, params = {}) => this.request(Object.assign({ path: `/api/monitoring/inbound-sync-failures/search`, method: "POST", query: query, body: data, secure: true, type: ContentType.Json, format: "json" }, params)),
3697
+ searchInboundSyncFailures: (data, query, params = {}) => this.request(Object.assign({ path: `/api/monitoring/inbound-sync-failures/search`, method: "POST", query: query, body: data, secure: true, type: "application/json", format: "json" }, params)),
3815
3698
  /**
3816
3699
  * No description
3817
3700
  *
@@ -3824,7 +3707,21 @@ export class Api extends HttpClient {
3824
3707
  * @response `401` `ProblemDetails` Unauthorized
3825
3708
  * @response `403` `ProblemDetails` Forbidden
3826
3709
  */
3827
- getInboundSyncFailuresSummary: (data, query, params = {}) => this.request(Object.assign({ path: `/api/monitoring/inbound-sync-failures/summary`, method: "POST", query: query, body: data, secure: true, type: ContentType.Json, format: "json" }, params)),
3710
+ getInboundSyncFailuresSummary: (data, query, params = {}) => this.request(Object.assign({ path: `/api/monitoring/inbound-sync-failures/summary`, method: "POST", query: query, body: data, secure: true, type: "application/json", format: "json" }, params)),
3711
+ /**
3712
+ * No description
3713
+ *
3714
+ * @tags LosSyncFailures
3715
+ * @name RedriveInboundSyncFailure
3716
+ * @summary Manually re-drive a failed inbound Encompass sync (SuperAdmin)
3717
+ * @request POST:/api/monitoring/inbound-sync-failures/{correlationId}/redrive
3718
+ * @secure
3719
+ * @response `202` `void` Accepted
3720
+ * @response `401` `ProblemDetails` Unauthorized
3721
+ * @response `403` `ProblemDetails` Forbidden
3722
+ * @response `404` `ProblemDetails` Not Found
3723
+ */
3724
+ redriveInboundSyncFailure: (correlationId, query, params = {}) => this.request(Object.assign({ path: `/api/monitoring/inbound-sync-failures/${correlationId}/redrive`, method: "POST", query: query, secure: true }, params)),
3828
3725
  /**
3829
3726
  * No description
3830
3727
  *
@@ -3847,7 +3744,7 @@ export class Api extends HttpClient {
3847
3744
  * @response `201` `MilestoneConfiguration` Created
3848
3745
  * @response `422` `UnprocessableEntity` Unprocessable Content
3849
3746
  */
3850
- createMilestone: (data, params = {}) => this.request(Object.assign({ path: `/api/milestones`, method: "POST", body: data, secure: true, type: ContentType.Json, format: "json" }, params)),
3747
+ createMilestone: (data, params = {}) => this.request(Object.assign({ path: `/api/milestones`, method: "POST", body: data, secure: true, type: "application/json", format: "json" }, params)),
3851
3748
  /**
3852
3749
  * No description
3853
3750
  *
@@ -3872,7 +3769,7 @@ export class Api extends HttpClient {
3872
3769
  * @response `404` `Error` Not Found
3873
3770
  * @response `422` `UnprocessableEntity` Unprocessable Content
3874
3771
  */
3875
- replaceMilestone: (id, data, params = {}) => this.request(Object.assign({ path: `/api/milestones/${id}`, method: "PUT", body: data, secure: true, type: ContentType.Json, format: "json" }, params)),
3772
+ replaceMilestone: (id, data, params = {}) => this.request(Object.assign({ path: `/api/milestones/${id}`, method: "PUT", body: data, secure: true, type: "application/json", format: "json" }, params)),
3876
3773
  /**
3877
3774
  * No description
3878
3775
  *
@@ -3898,7 +3795,7 @@ export class Api extends HttpClient {
3898
3795
  * @response `404` `ProblemDetails` Not Found
3899
3796
  * @response `422` `ProblemDetails` Unprocessable Content
3900
3797
  */
3901
- seedMobileAppReview: (data, params = {}) => this.request(Object.assign({ path: `/api/mobile-app-review/seed`, method: "POST", body: data, secure: true, type: ContentType.Json, format: "json" }, params)),
3798
+ 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)),
3902
3799
  /**
3903
3800
  * No description
3904
3801
  *
@@ -3910,7 +3807,7 @@ export class Api extends HttpClient {
3910
3807
  * @response `200` `MonthlyPaymentCalculator` OK
3911
3808
  * @response `422` `ProblemDetails` Unprocessable Content
3912
3809
  */
3913
- calculateMortgageMonthlyPayment: (data, params = {}) => this.request(Object.assign({ path: `/api/mortgage-calculators/monthly-payment`, method: "POST", body: data, secure: true, type: ContentType.Json, format: "json" }, params)),
3810
+ 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)),
3914
3811
  /**
3915
3812
  * No description
3916
3813
  *
@@ -3922,7 +3819,7 @@ export class Api extends HttpClient {
3922
3819
  * @response `200` `AffordabilityCalculator` OK
3923
3820
  * @response `422` `ProblemDetails` Unprocessable Content
3924
3821
  */
3925
- calculateMortgageAffordability: (data, params = {}) => this.request(Object.assign({ path: `/api/mortgage-calculators/affordability`, method: "POST", body: data, secure: true, type: ContentType.Json, format: "json" }, params)),
3822
+ calculateMortgageAffordability: (data, params = {}) => this.request(Object.assign({ path: `/api/mortgage-calculators/affordability`, method: "POST", body: data, secure: true, type: "application/json", format: "json" }, params)),
3926
3823
  /**
3927
3824
  * No description
3928
3825
  *
@@ -3934,7 +3831,7 @@ export class Api extends HttpClient {
3934
3831
  * @response `200` `LoanComparisonCalculator` OK
3935
3832
  * @response `422` `ProblemDetails` Unprocessable Content
3936
3833
  */
3937
- calculateMortgageLoanComparison: (data, params = {}) => this.request(Object.assign({ path: `/api/mortgage-calculators/loan-comparison`, method: "POST", body: data, secure: true, type: ContentType.Json, format: "json" }, params)),
3834
+ 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)),
3938
3835
  /**
3939
3836
  * No description
3940
3837
  *
@@ -3946,7 +3843,7 @@ export class Api extends HttpClient {
3946
3843
  * @response `200` `RefinanceCalculator` OK
3947
3844
  * @response `422` `ProblemDetails` Unprocessable Content
3948
3845
  */
3949
- calculateMortgageRefinance: (data, params = {}) => this.request(Object.assign({ path: `/api/mortgage-calculators/refinance`, method: "POST", body: data, secure: true, type: ContentType.Json, format: "json" }, params)),
3846
+ calculateMortgageRefinance: (data, params = {}) => this.request(Object.assign({ path: `/api/mortgage-calculators/refinance`, method: "POST", body: data, secure: true, type: "application/json", format: "json" }, params)),
3950
3847
  /**
3951
3848
  * No description
3952
3849
  *
@@ -3969,7 +3866,7 @@ export class Api extends HttpClient {
3969
3866
  * @response `201` `NotificationTemplate` Created
3970
3867
  * @response `422` `UnprocessableEntity` Unprocessable Content
3971
3868
  */
3972
- createNotificationTemplate: (data, params = {}) => this.request(Object.assign({ path: `/api/notification-templates`, method: "POST", body: data, secure: true, type: ContentType.Json, format: "json" }, params)),
3869
+ createNotificationTemplate: (data, params = {}) => this.request(Object.assign({ path: `/api/notification-templates`, method: "POST", body: data, secure: true, type: "application/json", format: "json" }, params)),
3973
3870
  /**
3974
3871
  * No description
3975
3872
  *
@@ -3980,7 +3877,7 @@ export class Api extends HttpClient {
3980
3877
  * @secure
3981
3878
  * @response `200` `NotificationTemplateBasePaginated` OK
3982
3879
  */
3983
- searchNotificationTemplates: (data, query, params = {}) => this.request(Object.assign({ path: `/api/notification-templates/search`, method: "POST", query: query, body: data, secure: true, type: ContentType.Json, format: "json" }, params)),
3880
+ 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)),
3984
3881
  /**
3985
3882
  * No description
3986
3883
  *
@@ -4003,7 +3900,7 @@ export class Api extends HttpClient {
4003
3900
  * @response `200` `NotificationTemplate` OK
4004
3901
  * @response `422` `UnprocessableEntity` Unprocessable Content
4005
3902
  */
4006
- replaceNotificationTemplate: (id, data, params = {}) => this.request(Object.assign({ path: `/api/notification-templates/${id}`, method: "PUT", body: data, secure: true, type: ContentType.Json, format: "json" }, params)),
3903
+ 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)),
4007
3904
  /**
4008
3905
  * No description
4009
3906
  *
@@ -4047,7 +3944,7 @@ export class Api extends HttpClient {
4047
3944
  * @secure
4048
3945
  * @response `200` `NotificationTemplateVersion` OK
4049
3946
  */
4050
- createNotificationTemplateVersion: (notificationId, data, params = {}) => this.request(Object.assign({ path: `/api/notification-templates/${notificationId}/versions`, method: "POST", body: data, secure: true, type: ContentType.Json, format: "json" }, params)),
3947
+ 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)),
4051
3948
  /**
4052
3949
  * No description
4053
3950
  *
@@ -4069,7 +3966,7 @@ export class Api extends HttpClient {
4069
3966
  * @secure
4070
3967
  * @response `200` `NotificationTemplateVersion` OK
4071
3968
  */
4072
- replaceNotificationTemplateVersion: (notificationId, id, data, params = {}) => this.request(Object.assign({ path: `/api/notification-templates/${notificationId}/versions/${id}`, method: "PUT", body: data, secure: true, type: ContentType.Json, format: "json" }, params)),
3969
+ 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)),
4073
3970
  /**
4074
3971
  * No description
4075
3972
  *
@@ -4102,7 +3999,7 @@ export class Api extends HttpClient {
4102
3999
  * @secure
4103
4000
  * @response `200` `BranchUserPaginated` OK
4104
4001
  */
4105
- searchPartners: (data, query, params = {}) => this.request(Object.assign({ path: `/api/partners/search`, method: "POST", query: query, body: data, secure: true, type: ContentType.Json, format: "json" }, params)),
4002
+ 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)),
4106
4003
  /**
4107
4004
  * No description
4108
4005
  *
@@ -4125,7 +4022,7 @@ export class Api extends HttpClient {
4125
4022
  * @response `200` `SiteConfiguration` OK
4126
4023
  * @response `422` `UnprocessableEntity` Unprocessable Content
4127
4024
  */
4128
- createPartnerSiteConfiguration: (realtorId, data, params = {}) => this.request(Object.assign({ path: `/api/partners/${realtorId}/site-configurations`, method: "POST", body: data, secure: true, type: ContentType.Json, format: "json" }, params)),
4025
+ 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)),
4129
4026
  /**
4130
4027
  * No description
4131
4028
  *
@@ -4148,7 +4045,7 @@ export class Api extends HttpClient {
4148
4045
  * @response `200` `SiteConfiguration` OK
4149
4046
  * @response `422` `UnprocessableEntity` Unprocessable Content
4150
4047
  */
4151
- replacePartnerSiteConfiguration: (realtorId, siteConfigurationId, data, query, params = {}) => this.request(Object.assign({ path: `/api/partners/${realtorId}/site-configurations/${siteConfigurationId}`, method: "PUT", query: query, body: data, secure: true, type: ContentType.Json, format: "json" }, params)),
4048
+ 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)),
4152
4049
  /**
4153
4050
  * No description
4154
4051
  *
@@ -4172,7 +4069,7 @@ export class Api extends HttpClient {
4172
4069
  * @response `200` `SiteConfigurationByUrl` OK
4173
4070
  * @response `422` `UnprocessableEntity` Unprocessable Content
4174
4071
  */
4175
- searchSiteConfigurationByUrl: (data, params = {}) => this.request(Object.assign({ path: `/api/site-configurations/url`, method: "POST", body: data, secure: true, type: ContentType.Json, format: "json" }, params)),
4072
+ searchSiteConfigurationByUrl: (data, params = {}) => this.request(Object.assign({ path: `/api/site-configurations/url`, method: "POST", body: data, secure: true, type: "application/json", format: "json" }, params)),
4176
4073
  /**
4177
4074
  * No description
4178
4075
  *
@@ -4197,7 +4094,7 @@ export class Api extends HttpClient {
4197
4094
  * @response `200` `SiteConfiguration` OK
4198
4095
  * @response `422` `UnprocessableEntity` Unprocessable Content
4199
4096
  */
4200
- searchSiteConfigurationByLoanOfficerUser: (data, params = {}) => this.request(Object.assign({ path: `/api/site-configurations/louser`, method: "POST", body: data, secure: true, type: ContentType.Json, format: "json" }, params)),
4097
+ searchSiteConfigurationByLoanOfficerUser: (data, params = {}) => this.request(Object.assign({ path: `/api/site-configurations/louser`, method: "POST", body: data, secure: true, type: "application/json", format: "json" }, params)),
4201
4098
  /**
4202
4099
  * No description
4203
4100
  *
@@ -4221,7 +4118,7 @@ export class Api extends HttpClient {
4221
4118
  * @response `200` `SiteConfigurationSummaryPaginated` OK
4222
4119
  * @response `422` `UnprocessableEntity` Unprocessable Content
4223
4120
  */
4224
- searchSiteConfigurations: (data, query, params = {}) => this.request(Object.assign({ path: `/api/site-configurations/search`, method: "POST", query: query, body: data, secure: true, type: ContentType.Json, format: "json" }, params)),
4121
+ 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)),
4225
4122
  /**
4226
4123
  * No description
4227
4124
  *
@@ -4313,7 +4210,7 @@ export class Api extends HttpClient {
4313
4210
  * @secure
4314
4211
  * @response `200` `GetForm` OK
4315
4212
  */
4316
- getFormBySiteConfigurationSlug: (data, params = {}) => this.request(Object.assign({ path: `/api/site-forms`, method: "POST", body: data, secure: true, type: ContentType.Json, format: "json" }, params)),
4213
+ getFormBySiteConfigurationSlug: (data, params = {}) => this.request(Object.assign({ path: `/api/site-forms`, method: "POST", body: data, secure: true, type: "application/json", format: "json" }, params)),
4317
4214
  /**
4318
4215
  * No description
4319
4216
  *
@@ -4325,7 +4222,7 @@ export class Api extends HttpClient {
4325
4222
  * @response `200` `SiteTilePaginated` OK
4326
4223
  * @response `403` `ProblemDetails` Forbidden
4327
4224
  */
4328
- searchSiteTiles: (data, query, params = {}) => this.request(Object.assign({ path: `/api/site-tiles/search`, method: "POST", query: query, body: data, secure: true, type: ContentType.Json, format: "json" }, params)),
4225
+ searchSiteTiles: (data, query, params = {}) => this.request(Object.assign({ path: `/api/site-tiles/search`, method: "POST", query: query, body: data, secure: true, type: "application/json", format: "json" }, params)),
4329
4226
  /**
4330
4227
  * No description
4331
4228
  *
@@ -4365,7 +4262,7 @@ export class Api extends HttpClient {
4365
4262
  * @response `403` `ProblemDetails` Forbidden
4366
4263
  * @response `404` `ProblemDetails` Not Found
4367
4264
  */
4368
- updateSiteTile: (siteTileId, data, params = {}) => this.request(Object.assign({ path: `/api/site-tiles/${siteTileId}`, method: "PUT", body: data, secure: true, type: ContentType.Json, format: "json" }, params)),
4265
+ updateSiteTile: (siteTileId, data, params = {}) => this.request(Object.assign({ path: `/api/site-tiles/${siteTileId}`, method: "PUT", body: data, secure: true, type: "application/json", format: "json" }, params)),
4369
4266
  /**
4370
4267
  * No description
4371
4268
  *
@@ -4391,7 +4288,7 @@ export class Api extends HttpClient {
4391
4288
  * @response `400` `ProblemDetails` Bad Request
4392
4289
  * @response `403` `ProblemDetails` Forbidden
4393
4290
  */
4394
- createSiteTile: (data, params = {}) => this.request(Object.assign({ path: `/api/site-tiles`, method: "POST", body: data, secure: true, type: ContentType.Json, format: "json" }, params)),
4291
+ createSiteTile: (data, params = {}) => this.request(Object.assign({ path: `/api/site-tiles`, method: "POST", body: data, secure: true, type: "application/json", format: "json" }, params)),
4395
4292
  /**
4396
4293
  * No description
4397
4294
  *
@@ -4414,7 +4311,7 @@ export class Api extends HttpClient {
4414
4311
  * @response `200` `(SocialSurveyRecord)[]` OK
4415
4312
  * @response `422` `UnprocessableEntity` Unprocessable Content
4416
4313
  */
4417
- getSurveysByUser: (data, params = {}) => this.request(Object.assign({ path: `/api/surveys`, method: "POST", body: data, secure: true, type: ContentType.Json, format: "json" }, params)),
4314
+ getSurveysByUser: (data, params = {}) => this.request(Object.assign({ path: `/api/surveys`, method: "POST", body: data, secure: true, type: "application/json", format: "json" }, params)),
4418
4315
  /**
4419
4316
  * No description
4420
4317
  *
@@ -4437,7 +4334,7 @@ export class Api extends HttpClient {
4437
4334
  * @secure
4438
4335
  * @response `201` `Task` Created
4439
4336
  */
4440
- createTask: (data, params = {}) => this.request(Object.assign({ path: `/api/tasks`, method: "POST", body: data, secure: true, type: ContentType.Json, format: "json" }, params)),
4337
+ createTask: (data, params = {}) => this.request(Object.assign({ path: `/api/tasks`, method: "POST", body: data, secure: true, type: "application/json", format: "json" }, params)),
4441
4338
  /**
4442
4339
  * No description
4443
4340
  *
@@ -4461,7 +4358,7 @@ export class Api extends HttpClient {
4461
4358
  * @response `200` `Task` OK
4462
4359
  * @response `404` `ProblemDetails` Not Found
4463
4360
  */
4464
- replaceTask: (id, data, params = {}) => this.request(Object.assign({ path: `/api/tasks/${id}`, method: "PUT", body: data, secure: true, type: ContentType.Json, format: "json" }, params)),
4361
+ replaceTask: (id, data, params = {}) => this.request(Object.assign({ path: `/api/tasks/${id}`, method: "PUT", body: data, secure: true, type: "application/json", format: "json" }, params)),
4465
4362
  /**
4466
4363
  * No description
4467
4364
  *
@@ -4484,7 +4381,7 @@ export class Api extends HttpClient {
4484
4381
  * @secure
4485
4382
  * @response `200` `TaskPaginated` OK
4486
4383
  */
4487
- searchTasks: (data, query, params = {}) => this.request(Object.assign({ path: `/api/tasks/search`, method: "POST", query: query, body: data, secure: true, type: ContentType.Json, format: "json" }, params)),
4384
+ 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)),
4488
4385
  /**
4489
4386
  * No description
4490
4387
  *
@@ -4494,7 +4391,7 @@ export class Api extends HttpClient {
4494
4391
  * @secure
4495
4392
  * @response `200` `void` OK
4496
4393
  */
4497
- integrationsLosLoansCreate: (data, params = {}) => this.request(Object.assign({ path: `/api/integrations/los/loans`, method: "POST", body: data, secure: true, type: ContentType.Json }, params)),
4394
+ integrationsLosLoansCreate: (data, params = {}) => this.request(Object.assign({ path: `/api/integrations/los/loans`, method: "POST", body: data, secure: true, type: "application/json" }, params)),
4498
4395
  /**
4499
4396
  * No description
4500
4397
  *
@@ -4505,7 +4402,7 @@ export class Api extends HttpClient {
4505
4402
  * @secure
4506
4403
  * @response `200` `EncompassRequestLogPaginated` OK
4507
4404
  */
4508
- searchEncompassLogs: (losId, query, data, params = {}) => this.request(Object.assign({ path: `/api/los/encompass/logs/${losId}/search`, method: "POST", query: query, body: data, secure: true, type: ContentType.Json, format: "json" }, params)),
4405
+ 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)),
4509
4406
  /**
4510
4407
  * No description
4511
4408
  *
@@ -4528,7 +4425,7 @@ export class Api extends HttpClient {
4528
4425
  * @secure
4529
4426
  * @response `201` `LosCredentials` Created
4530
4427
  */
4531
- createEncompassCredentials: (data, params = {}) => this.request(Object.assign({ path: `/api/los/encompass/credentials`, method: "POST", body: data, secure: true, type: ContentType.Json, format: "json" }, params)),
4428
+ createEncompassCredentials: (data, params = {}) => this.request(Object.assign({ path: `/api/los/encompass/credentials`, method: "POST", body: data, secure: true, type: "application/json", format: "json" }, params)),
4532
4429
  /**
4533
4430
  * No description
4534
4431
  *
@@ -4539,7 +4436,7 @@ export class Api extends HttpClient {
4539
4436
  * @secure
4540
4437
  * @response `200` `EncompassCredentialsDetail` OK
4541
4438
  */
4542
- updateEncompassCredentials: (data, params = {}) => this.request(Object.assign({ path: `/api/los/encompass/credentials`, method: "PUT", body: data, secure: true, type: ContentType.Json, format: "json" }, params)),
4439
+ updateEncompassCredentials: (data, params = {}) => this.request(Object.assign({ path: `/api/los/encompass/credentials`, method: "PUT", body: data, secure: true, type: "application/json", format: "json" }, params)),
4543
4440
  /**
4544
4441
  * No description
4545
4442
  *
@@ -4561,7 +4458,7 @@ export class Api extends HttpClient {
4561
4458
  * @secure
4562
4459
  * @response `201` `LosWebhook` Created
4563
4460
  */
4564
- createEncompassWebhook: (data, params = {}) => this.request(Object.assign({ path: `/api/los/encompass/webhooks`, method: "POST", body: data, secure: true, type: ContentType.Json, format: "json" }, params)),
4461
+ createEncompassWebhook: (data, params = {}) => this.request(Object.assign({ path: `/api/los/encompass/webhooks`, method: "POST", body: data, secure: true, type: "application/json", format: "json" }, params)),
4565
4462
  /**
4566
4463
  * No description
4567
4464
  *
@@ -4583,7 +4480,7 @@ export class Api extends HttpClient {
4583
4480
  * @secure
4584
4481
  * @response `200` `LosSyncPaginated` OK
4585
4482
  */
4586
- searchLosSyncs: (loanId, query, data, params = {}) => this.request(Object.assign({ path: `/api/los/encompass/syncs/${loanId}/search`, method: "POST", query: query, body: data, secure: true, type: ContentType.Json, format: "json" }, params)),
4483
+ 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)),
4587
4484
  /**
4588
4485
  * No description
4589
4486
  *
@@ -4666,7 +4563,7 @@ export class Api extends HttpClient {
4666
4563
  * @response `201` `UserDevice` Created
4667
4564
  * @response `400` `ProblemDetails` Bad Request
4668
4565
  */
4669
- createUserDevice: (data, params = {}) => this.request(Object.assign({ path: `/api/userdevices`, method: "POST", body: data, secure: true, type: ContentType.Json, format: "json" }, params)),
4566
+ createUserDevice: (data, params = {}) => this.request(Object.assign({ path: `/api/userdevices`, method: "POST", body: data, secure: true, type: "application/json", format: "json" }, params)),
4670
4567
  /**
4671
4568
  * No description
4672
4569
  *
@@ -4711,7 +4608,7 @@ export class Api extends HttpClient {
4711
4608
  * @secure
4712
4609
  * @response `200` `UserDraft` OK
4713
4610
  */
4714
- addDraftUsers: (draftId, userId, data, params = {}) => this.request(Object.assign({ path: `/api/loans/drafts/${draftId}/users/${userId}`, method: "POST", body: data, secure: true, type: ContentType.Json, format: "json" }, params)),
4611
+ 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)),
4715
4612
  /**
4716
4613
  * No description
4717
4614
  *
@@ -4744,7 +4641,7 @@ export class Api extends HttpClient {
4744
4641
  * @secure
4745
4642
  * @response `200` `UserGroupAccessScope` OK
4746
4643
  */
4747
- createUserGroupAccessScope: (groupId, data, params = {}) => this.request(Object.assign({ path: `/api/user-groups/${groupId}/scopes`, method: "POST", body: data, secure: true, type: ContentType.Json, format: "json" }, params)),
4644
+ 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)),
4748
4645
  /**
4749
4646
  * No description
4750
4647
  *
@@ -4777,7 +4674,7 @@ export class Api extends HttpClient {
4777
4674
  * @secure
4778
4675
  * @response `200` `UserGroupMember` OK
4779
4676
  */
4780
- createUserGroupMember: (groupId, data, query, params = {}) => this.request(Object.assign({ path: `/api/user-groups/${groupId}/members`, method: "POST", query: query, body: data, secure: true, type: ContentType.Json, format: "json" }, params)),
4677
+ 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)),
4781
4678
  /**
4782
4679
  * No description
4783
4680
  *
@@ -4821,7 +4718,7 @@ export class Api extends HttpClient {
4821
4718
  * @secure
4822
4719
  * @response `200` `UserGroup` OK
4823
4720
  */
4824
- updateUserGroup: (groupId, data, params = {}) => this.request(Object.assign({ path: `/api/user-groups/${groupId}`, method: "PUT", body: data, secure: true, type: ContentType.Json, format: "json" }, params)),
4721
+ 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)),
4825
4722
  /**
4826
4723
  * No description
4827
4724
  *
@@ -4843,7 +4740,7 @@ export class Api extends HttpClient {
4843
4740
  * @secure
4844
4741
  * @response `201` `UserGroup` Created
4845
4742
  */
4846
- createUserGroup: (data, params = {}) => this.request(Object.assign({ path: `/api/user-groups`, method: "POST", body: data, secure: true, type: ContentType.Json, format: "json" }, params)),
4743
+ createUserGroup: (data, params = {}) => this.request(Object.assign({ path: `/api/user-groups`, method: "POST", body: data, secure: true, type: "application/json", format: "json" }, params)),
4847
4744
  /**
4848
4745
  * No description
4849
4746
  *
@@ -4856,7 +4753,7 @@ export class Api extends HttpClient {
4856
4753
  * @response `404` `Error` Not Found
4857
4754
  * @response `422` `UnprocessableEntity` Unprocessable Content
4858
4755
  */
4859
- requestImpersonation: (data, params = {}) => this.request(Object.assign({ path: `/api/users/impersonation/request`, method: "POST", body: data, secure: true, type: ContentType.Json }, params)),
4756
+ requestImpersonation: (data, params = {}) => this.request(Object.assign({ path: `/api/users/impersonation/request`, method: "POST", body: data, secure: true, type: "application/json" }, params)),
4860
4757
  /**
4861
4758
  * No description
4862
4759
  *
@@ -4869,7 +4766,7 @@ export class Api extends HttpClient {
4869
4766
  * @response `404` `Error` Not Found
4870
4767
  * @response `422` `UnprocessableEntity` Unprocessable Content
4871
4768
  */
4872
- allowImpersonation: (data, params = {}) => this.request(Object.assign({ path: `/api/users/impersonation/allow`, method: "POST", body: data, secure: true, type: ContentType.Json }, params)),
4769
+ allowImpersonation: (data, params = {}) => this.request(Object.assign({ path: `/api/users/impersonation/allow`, method: "POST", body: data, secure: true, type: "application/json" }, params)),
4873
4770
  /**
4874
4771
  * No description
4875
4772
  *
@@ -4919,7 +4816,7 @@ export class Api extends HttpClient {
4919
4816
  * @response `404` `Error` Not Found
4920
4817
  * @response `422` `UnprocessableEntity` Unprocessable Content
4921
4818
  */
4922
- forceImpersonation: (data, params = {}) => this.request(Object.assign({ path: `/api/users/impersonation/force`, method: "POST", body: data, secure: true, type: ContentType.Json }, params)),
4819
+ forceImpersonation: (data, params = {}) => this.request(Object.assign({ path: `/api/users/impersonation/force`, method: "POST", body: data, secure: true, type: "application/json" }, params)),
4923
4820
  /**
4924
4821
  * No description
4925
4822
  *
@@ -4943,7 +4840,7 @@ export class Api extends HttpClient {
4943
4840
  * @response `204` `void` No Content
4944
4841
  * @response `422` `UnprocessableEntity` Unprocessable Content
4945
4842
  */
4946
- inviteUser: (data, params = {}) => this.request(Object.assign({ path: `/api/users/invites`, method: "POST", body: data, secure: true, type: ContentType.Json }, params)),
4843
+ inviteUser: (data, params = {}) => this.request(Object.assign({ path: `/api/users/invites`, method: "POST", body: data, secure: true, type: "application/json" }, params)),
4947
4844
  /**
4948
4845
  * No description
4949
4846
  *
@@ -4990,7 +4887,7 @@ export class Api extends HttpClient {
4990
4887
  * @secure
4991
4888
  * @response `204` `void` No Content
4992
4889
  */
4993
- createUserRelation: (userId, data, params = {}) => this.request(Object.assign({ path: `/api/users/${userId}/relations`, method: "POST", body: data, secure: true, type: ContentType.Json }, params)),
4890
+ createUserRelation: (userId, data, params = {}) => this.request(Object.assign({ path: `/api/users/${userId}/relations`, method: "POST", body: data, secure: true, type: "application/json" }, params)),
4994
4891
  /**
4995
4892
  * No description
4996
4893
  *
@@ -5035,7 +4932,7 @@ export class Api extends HttpClient {
5035
4932
  * @response `200` `DetailedUser` OK
5036
4933
  * @response `422` `UnprocessableEntity` Unprocessable Content
5037
4934
  */
5038
- createUser: (data, params = {}) => this.request(Object.assign({ path: `/api/users`, method: "POST", body: data, secure: true, type: ContentType.Json, format: "json" }, params)),
4935
+ createUser: (data, params = {}) => this.request(Object.assign({ path: `/api/users`, method: "POST", body: data, secure: true, type: "application/json", format: "json" }, params)),
5039
4936
  /**
5040
4937
  * No description
5041
4938
  *
@@ -5046,7 +4943,7 @@ export class Api extends HttpClient {
5046
4943
  * @secure
5047
4944
  * @response `200` `UserPaginated` OK
5048
4945
  */
5049
- searchUsers: (data, query, params = {}) => this.request(Object.assign({ path: `/api/users/search`, method: "POST", query: query, body: data, secure: true, type: ContentType.Json, format: "json" }, params)),
4946
+ 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)),
5050
4947
  /**
5051
4948
  * No description
5052
4949
  *
@@ -5057,7 +4954,7 @@ export class Api extends HttpClient {
5057
4954
  * @secure
5058
4955
  * @response `200` `AdminAccessUser` OK
5059
4956
  */
5060
- getUserByEmail: (data, params = {}) => this.request(Object.assign({ path: `/api/users/byemail`, method: "POST", body: data, secure: true, type: ContentType.Json, format: "json" }, params)),
4957
+ getUserByEmail: (data, params = {}) => this.request(Object.assign({ path: `/api/users/byemail`, method: "POST", body: data, secure: true, type: "application/json", format: "json" }, params)),
5061
4958
  /**
5062
4959
  * No description
5063
4960
  *
@@ -5069,7 +4966,7 @@ export class Api extends HttpClient {
5069
4966
  * @response `200` `User` OK
5070
4967
  * @response `422` `UnprocessableEntity` Unprocessable Content
5071
4968
  */
5072
- signUp: (data, params = {}) => this.request(Object.assign({ path: `/api/users/register`, method: "POST", body: data, secure: true, type: ContentType.Json, format: "json" }, params)),
4969
+ signUp: (data, params = {}) => this.request(Object.assign({ path: `/api/users/register`, method: "POST", body: data, secure: true, type: "application/json", format: "json" }, params)),
5073
4970
  /**
5074
4971
  * No description
5075
4972
  *
@@ -5081,7 +4978,7 @@ export class Api extends HttpClient {
5081
4978
  * @response `200` `DetailedUser` OK
5082
4979
  * @response `422` `UnprocessableEntity` Unprocessable Content
5083
4980
  */
5084
- replaceUser: (id, data, params = {}) => this.request(Object.assign({ path: `/api/users/${id}`, method: "PUT", body: data, secure: true, type: ContentType.Json, format: "json" }, params)),
4981
+ replaceUser: (id, data, params = {}) => this.request(Object.assign({ path: `/api/users/${id}`, method: "PUT", body: data, secure: true, type: "application/json", format: "json" }, params)),
5085
4982
  /**
5086
4983
  * No description
5087
4984
  *
@@ -5115,19 +5012,20 @@ export class Api extends HttpClient {
5115
5012
  * @response `204` `void` No Content
5116
5013
  * @response `422` `UnprocessableEntity` Unprocessable Content
5117
5014
  */
5118
- changePassword: (data, params = {}) => this.request(Object.assign({ path: `/api/users/change-password`, method: "POST", body: data, secure: true, type: ContentType.Json }, params)),
5015
+ changePassword: (data, params = {}) => this.request(Object.assign({ path: `/api/users/change-password`, method: "POST", body: data, secure: true, type: "application/json" }, params)),
5119
5016
  /**
5120
5017
  * No description
5121
5018
  *
5122
5019
  * @tags Users
5123
5020
  * @name VerifyPassword
5124
- * @summary Verify Password
5021
+ * @summary Verify Password (deprecated; use api/auth/reset-password)
5125
5022
  * @request POST:/api/users/verify-password
5023
+ * @deprecated
5126
5024
  * @secure
5127
5025
  * @response `204` `void` No Content
5128
5026
  * @response `422` `UnprocessableEntity` Unprocessable Content
5129
5027
  */
5130
- verifyPassword: (data, params = {}) => this.request(Object.assign({ path: `/api/users/verify-password`, method: "POST", body: data, secure: true, type: ContentType.Json }, params)),
5028
+ verifyPassword: (data, params = {}) => this.request(Object.assign({ path: `/api/users/verify-password`, method: "POST", body: data, secure: true, type: "application/json" }, params)),
5131
5029
  /**
5132
5030
  * No description
5133
5031
  *
@@ -5139,19 +5037,20 @@ export class Api extends HttpClient {
5139
5037
  * @response `204` `void` No Content
5140
5038
  * @response `422` `UnprocessableEntity` Unprocessable Content
5141
5039
  */
5142
- overridePassword: (id, data, params = {}) => this.request(Object.assign({ path: `/api/users/${id}/override-password`, method: "POST", body: data, secure: true, type: ContentType.Json }, params)),
5040
+ overridePassword: (id, data, params = {}) => this.request(Object.assign({ path: `/api/users/${id}/override-password`, method: "POST", body: data, secure: true, type: "application/json" }, params)),
5143
5041
  /**
5144
5042
  * No description
5145
5043
  *
5146
5044
  * @tags Users
5147
5045
  * @name ForgotPassword
5148
- * @summary Forgot Password
5046
+ * @summary Forgot Password (deprecated; use api/auth/forgot-password)
5149
5047
  * @request POST:/api/users/forgot-password
5048
+ * @deprecated
5150
5049
  * @secure
5151
5050
  * @response `204` `void` No Content
5152
5051
  * @response `422` `UnprocessableEntity` Unprocessable Content
5153
5052
  */
5154
- forgotPassword: (data, params = {}) => this.request(Object.assign({ path: `/api/users/forgot-password`, method: "POST", body: data, secure: true, type: ContentType.Json }, params)),
5053
+ forgotPassword: (data, params = {}) => this.request(Object.assign({ path: `/api/users/forgot-password`, method: "POST", body: data, secure: true, type: "application/json" }, params)),
5155
5054
  /**
5156
5055
  * No description
5157
5056
  *
@@ -5175,7 +5074,7 @@ export class Api extends HttpClient {
5175
5074
  * @response `204` `void` No Content
5176
5075
  * @response `422` `UnprocessableEntity` Unprocessable Content
5177
5076
  */
5178
- verifyUserMobilePhone: (data, params = {}) => this.request(Object.assign({ path: `/api/users/mobile-phone/verify-code`, method: "PUT", body: data, secure: true, type: ContentType.Json }, params)),
5077
+ verifyUserMobilePhone: (data, params = {}) => this.request(Object.assign({ path: `/api/users/mobile-phone/verify-code`, method: "PUT", body: data, secure: true, type: "application/json" }, params)),
5179
5078
  /**
5180
5079
  * No description
5181
5080
  *
@@ -5198,7 +5097,7 @@ export class Api extends HttpClient {
5198
5097
  * @secure
5199
5098
  * @response `200` `DetailedUser` OK
5200
5099
  */
5201
- replaceMe: (data, params = {}) => this.request(Object.assign({ path: `/api/users/me`, method: "PUT", body: data, secure: true, type: ContentType.Json, format: "json" }, params)),
5100
+ replaceMe: (data, params = {}) => this.request(Object.assign({ path: `/api/users/me`, method: "PUT", body: data, secure: true, type: "application/json", format: "json" }, params)),
5202
5101
  /**
5203
5102
  * @description Update the phone number If changed will send a verification code to the new number
5204
5103
  *
@@ -5209,7 +5108,7 @@ export class Api extends HttpClient {
5209
5108
  * @secure
5210
5109
  * @response `204` `DetailedUser` No Content
5211
5110
  */
5212
- updateMyPhone: (data, params = {}) => this.request(Object.assign({ path: `/api/users/me/phone-number`, method: "PUT", body: data, secure: true, type: ContentType.Json, format: "json" }, params)),
5111
+ 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)),
5213
5112
  /**
5214
5113
  * No description
5215
5114
  *
@@ -5253,7 +5152,7 @@ export class Api extends HttpClient {
5253
5152
  * @secure
5254
5153
  * @response `204` `void` No Content
5255
5154
  */
5256
- deleteMe: (data, params = {}) => this.request(Object.assign({ path: `/api/users/me/delete`, method: "POST", body: data, secure: true, type: ContentType.Json }, params)),
5155
+ deleteMe: (data, params = {}) => this.request(Object.assign({ path: `/api/users/me/delete`, method: "POST", body: data, secure: true, type: "application/json" }, params)),
5257
5156
  /**
5258
5157
  * No description
5259
5158
  *
@@ -5264,7 +5163,7 @@ export class Api extends HttpClient {
5264
5163
  * @secure
5265
5164
  * @response `200` `GetForm` OK
5266
5165
  */
5267
- getWorkflow: (data, params = {}) => this.request(Object.assign({ path: `/api/workflow`, method: "POST", body: data, secure: true, type: ContentType.Json, format: "json" }, params)),
5166
+ getWorkflow: (data, params = {}) => this.request(Object.assign({ path: `/api/workflow`, method: "POST", body: data, secure: true, type: "application/json", format: "json" }, params)),
5268
5167
  };
5269
5168
  this.sso = {
5270
5169
  /**