@matech/thebigpos-sdk 2.49.0-rc0 → 2.49.3-rc0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.js CHANGED
@@ -30,6 +30,15 @@ var __rest = (this && this.__rest) || function (s, e) {
30
30
  return t;
31
31
  };
32
32
  import axios from "axios";
33
+ export var ContentType;
34
+ (function (ContentType) {
35
+ ContentType["JsonPatch"] = "application/json-patch+json";
36
+ ContentType["Json"] = "application/json";
37
+ ContentType["JsonApi"] = "application/vnd.api+json";
38
+ ContentType["FormData"] = "multipart/form-data";
39
+ ContentType["UrlEncoded"] = "application/x-www-form-urlencoded";
40
+ ContentType["Text"] = "text/plain";
41
+ })(ContentType || (ContentType = {}));
33
42
  export class HttpClient {
34
43
  constructor(_a = {}) {
35
44
  var { securityWorker, secure, format } = _a, axiosConfig = __rest(_a, ["securityWorker", "secure", "format"]);
@@ -45,13 +54,13 @@ export class HttpClient {
45
54
  {};
46
55
  const requestParams = this.mergeRequestParams(params, secureParams);
47
56
  const responseFormat = format || this.format || undefined;
48
- if (type === "multipart/form-data" &&
57
+ if (type === ContentType.FormData &&
49
58
  body &&
50
59
  body !== null &&
51
60
  typeof body === "object") {
52
61
  body = this.createFormData(body);
53
62
  }
54
- if (type === "text/plain" &&
63
+ if (type === ContentType.Text &&
55
64
  body &&
56
65
  body !== null &&
57
66
  typeof body !== "string") {
@@ -95,7 +104,7 @@ export class HttpClient {
95
104
  }
96
105
  /**
97
106
  * @title The Big POS API
98
- * @version v2.49.0
107
+ * @version v2.49.3
99
108
  * @termsOfService https://www.thebigpos.com/terms-of-use/
100
109
  * @contact Mortgage Automation Technologies <support@thebigpos.com> (https://www.thebigpos.com/terms-of-use/)
101
110
  */
@@ -147,7 +156,7 @@ export class Api extends HttpClient {
147
156
  * @response `404` `ProblemDetails` Not Found
148
157
  * @response `422` `ProblemDetails` Unprocessable Content
149
158
  */
150
- replaceMyAccount: (data, params = {}) => this.request(Object.assign({ path: `/api/account`, method: "PUT", body: data, secure: true, type: "application/json", format: "json" }, params)),
159
+ replaceMyAccount: (data, params = {}) => this.request(Object.assign({ path: `/api/account`, method: "PUT", body: data, secure: true, type: ContentType.Json, format: "json" }, params)),
151
160
  /**
152
161
  * No description
153
162
  *
@@ -170,30 +179,7 @@ export class Api extends HttpClient {
170
179
  * @response `200` `SiteConfiguration` OK
171
180
  * @response `422` `UnprocessableEntity` Unprocessable Content
172
181
  */
173
- updateSiteConfigurationForAccount: (data, params = {}) => this.request(Object.assign({ path: `/api/account/site-configurations`, method: "PUT", body: data, secure: true, type: "application/json", format: "json" }, params)),
174
- /**
175
- * No description
176
- *
177
- * @tags AccountReactivation
178
- * @name RequestAccountReactivation
179
- * @summary Request account reactivation
180
- * @request POST:/api/account/reactivation/request
181
- * @secure
182
- * @response `204` `void` No Content
183
- */
184
- requestAccountReactivation: (data, params = {}) => this.request(Object.assign({ path: `/api/account/reactivation/request`, method: "POST", body: data, secure: true, type: "application/json" }, params)),
185
- /**
186
- * No description
187
- *
188
- * @tags AccountReactivation
189
- * @name CompleteAccountReactivation
190
- * @summary Complete account reactivation with new password
191
- * @request POST:/api/account/reactivation/complete
192
- * @secure
193
- * @response `204` `void` No Content
194
- * @response `400` `ProblemDetails` Bad Request
195
- */
196
- completeAccountReactivation: (data, params = {}) => this.request(Object.assign({ path: `/api/account/reactivation/complete`, method: "POST", body: data, secure: true, type: "application/json" }, params)),
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)),
197
183
  /**
198
184
  * No description
199
185
  *
@@ -216,7 +202,7 @@ export class Api extends HttpClient {
216
202
  * @response `201` `Account` Created
217
203
  * @response `422` `ProblemDetails` Unprocessable Content
218
204
  */
219
- createAccount: (data, params = {}) => this.request(Object.assign({ path: `/api/accounts`, method: "POST", body: data, secure: true, type: "application/json", format: "json" }, params)),
205
+ createAccount: (data, params = {}) => this.request(Object.assign({ path: `/api/accounts`, method: "POST", body: data, secure: true, type: ContentType.Json, format: "json" }, params)),
220
206
  /**
221
207
  * No description
222
208
  *
@@ -254,7 +240,7 @@ export class Api extends HttpClient {
254
240
  * @response `404` `ProblemDetails` Not Found
255
241
  * @response `422` `ProblemDetails` Unprocessable Content
256
242
  */
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)),
243
+ updateAccountBilling: (id, data, params = {}) => this.request(Object.assign({ path: `/api/accounts/${id}/billing`, method: "PUT", body: data, secure: true, type: ContentType.Json, format: "json" }, params)),
258
244
  /**
259
245
  * No description
260
246
  *
@@ -287,7 +273,7 @@ export class Api extends HttpClient {
287
273
  * @secure
288
274
  * @response `204` `void` No Content
289
275
  */
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)),
276
+ setAccountAiEnabled: (accountId, data, params = {}) => this.request(Object.assign({ path: `/api/ai/accounts/${accountId}/ai-enabled`, method: "PUT", body: data, secure: true, type: ContentType.Json }, params)),
291
277
  /**
292
278
  * No description
293
279
  *
@@ -310,7 +296,7 @@ export class Api extends HttpClient {
310
296
  * @response `200` `AiAccountSettings` OK
311
297
  * @response `400` `ProblemDetails` Bad Request
312
298
  */
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)),
299
+ updateAiAccountSettings: (data, params = {}) => this.request(Object.assign({ path: `/api/ai/account-settings`, method: "PUT", body: data, secure: true, type: ContentType.Json, format: "json" }, params)),
314
300
  /**
315
301
  * No description
316
302
  *
@@ -333,7 +319,7 @@ export class Api extends HttpClient {
333
319
  * @response `201` `AiPrompt` Created
334
320
  * @response `400` `ProblemDetails` Bad Request
335
321
  */
336
- createAiPrompt: (data, params = {}) => this.request(Object.assign({ path: `/api/ai/prompts`, method: "POST", body: data, secure: true, type: "application/json", format: "json" }, params)),
322
+ createAiPrompt: (data, params = {}) => this.request(Object.assign({ path: `/api/ai/prompts`, method: "POST", body: data, secure: true, type: ContentType.Json, format: "json" }, params)),
337
323
  /**
338
324
  * No description
339
325
  *
@@ -358,7 +344,7 @@ export class Api extends HttpClient {
358
344
  * @response `400` `ProblemDetails` Bad Request
359
345
  * @response `404` `ProblemDetails` Not Found
360
346
  */
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)),
347
+ updateAiPrompt: (id, data, params = {}) => this.request(Object.assign({ path: `/api/ai/prompts/${id}`, method: "PUT", body: data, secure: true, type: ContentType.Json, format: "json" }, params)),
362
348
  /**
363
349
  * No description
364
350
  *
@@ -395,7 +381,7 @@ export class Api extends HttpClient {
395
381
  * @response `400` `ProblemDetails` Bad Request
396
382
  * @response `404` `ProblemDetails` Not Found
397
383
  */
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)),
384
+ updateAiPromptTools: (id, data, params = {}) => this.request(Object.assign({ path: `/api/ai/prompts/${id}/tools`, method: "PUT", body: data, secure: true, type: ContentType.Json, format: "json" }, params)),
399
385
  /**
400
386
  * No description
401
387
  *
@@ -419,7 +405,7 @@ export class Api extends HttpClient {
419
405
  * @response `200` `GenerateSystemPrompt` OK
420
406
  * @response `400` `ProblemDetails` Bad Request
421
407
  */
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)),
408
+ generateAiSystemPrompt: (data, params = {}) => this.request(Object.assign({ path: `/api/ai/prompts/generate`, method: "POST", body: data, secure: true, type: ContentType.JsonPatch, format: "json" }, params)),
423
409
  /**
424
410
  * No description
425
411
  *
@@ -453,7 +439,7 @@ export class Api extends HttpClient {
453
439
  * @response `200` `AiAdminSettings` OK
454
440
  * @response `400` `ProblemDetails` Bad Request
455
441
  */
456
- updateAiAdminSettings: (data, params = {}) => this.request(Object.assign({ path: `/api/ai/settings`, method: "PUT", body: data, secure: true, type: "application/json", format: "json" }, params)),
442
+ updateAiAdminSettings: (data, params = {}) => this.request(Object.assign({ path: `/api/ai/settings`, method: "PUT", body: data, secure: true, type: ContentType.Json, format: "json" }, params)),
457
443
  /**
458
444
  * No description
459
445
  *
@@ -531,7 +517,7 @@ export class Api extends HttpClient {
531
517
  * @response `201` `AiCanonicalField` Created
532
518
  * @response `400` `ProblemDetails` Bad Request
533
519
  */
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)),
520
+ createAiCanonicalField: (data, params = {}) => this.request(Object.assign({ path: `/api/ai/canonical-fields`, method: "POST", body: data, secure: true, type: ContentType.Json, format: "json" }, params)),
535
521
  /**
536
522
  * No description
537
523
  *
@@ -556,7 +542,7 @@ export class Api extends HttpClient {
556
542
  * @response `400` `ProblemDetails` Bad Request
557
543
  * @response `404` `ProblemDetails` Not Found
558
544
  */
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)),
545
+ updateAiCanonicalField: (id, data, params = {}) => this.request(Object.assign({ path: `/api/ai/canonical-fields/${id}`, method: "PUT", body: data, secure: true, type: ContentType.Json, format: "json" }, params)),
560
546
  /**
561
547
  * No description
562
548
  *
@@ -594,7 +580,7 @@ export class Api extends HttpClient {
594
580
  * @response `401` `ProblemDetails` Unauthorized
595
581
  * @response `429` `ProblemDetails` Too Many Requests
596
582
  */
597
- aiChat: (data, params = {}) => this.request(Object.assign({ path: `/api/ai/chats`, method: "POST", body: data, secure: true, type: "application/json", format: "json" }, params)),
583
+ aiChat: (data, params = {}) => this.request(Object.assign({ path: `/api/ai/chats`, method: "POST", body: data, secure: true, type: ContentType.JsonPatch, format: "json" }, params)),
598
584
  /**
599
585
  * No description
600
586
  *
@@ -632,7 +618,7 @@ export class Api extends HttpClient {
632
618
  * @response `403` `ProblemDetails` Forbidden
633
619
  * @response `404` `ProblemDetails` Not Found
634
620
  */
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)),
621
+ 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)),
636
622
  /**
637
623
  * No description
638
624
  *
@@ -684,7 +670,7 @@ export class Api extends HttpClient {
684
670
  * @response `403` `ProblemDetails` Forbidden
685
671
  * @response `404` `ProblemDetails` Not Found
686
672
  */
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)),
673
+ pinAiConversation: (id, data, params = {}) => this.request(Object.assign({ path: `/api/ai/conversations/${id}/pin`, method: "PUT", body: data, secure: true, type: ContentType.Json, format: "json" }, params)),
688
674
  /**
689
675
  * No description
690
676
  *
@@ -742,7 +728,7 @@ export class Api extends HttpClient {
742
728
  * @response `201` `AiGuardrail` Created
743
729
  * @response `400` `ProblemDetails` Bad Request
744
730
  */
745
- createAiGuardrail: (data, params = {}) => this.request(Object.assign({ path: `/api/ai/guardrails`, method: "POST", body: data, secure: true, type: "application/json", format: "json" }, params)),
731
+ createAiGuardrail: (data, params = {}) => this.request(Object.assign({ path: `/api/ai/guardrails`, method: "POST", body: data, secure: true, type: ContentType.Json, format: "json" }, params)),
746
732
  /**
747
733
  * No description
748
734
  *
@@ -767,7 +753,7 @@ export class Api extends HttpClient {
767
753
  * @response `400` `ProblemDetails` Bad Request
768
754
  * @response `404` `ProblemDetails` Not Found
769
755
  */
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)),
756
+ updateAiGuardrail: (id, data, params = {}) => this.request(Object.assign({ path: `/api/ai/guardrails/${id}`, method: "PUT", body: data, secure: true, type: ContentType.Json, format: "json" }, params)),
771
757
  /**
772
758
  * No description
773
759
  *
@@ -814,7 +800,7 @@ export class Api extends HttpClient {
814
800
  * @secure
815
801
  * @response `200` `AiAccountUsageOverviewPaginated` OK
816
802
  */
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)),
803
+ searchAiAccountTokenUsage: (data, query, params = {}) => this.request(Object.assign({ path: `/api/ai/token-usage/search`, method: "POST", query: query, body: data, secure: true, type: ContentType.JsonPatch, format: "json" }, params)),
818
804
  /**
819
805
  * No description
820
806
  *
@@ -848,7 +834,7 @@ export class Api extends HttpClient {
848
834
  * @response `200` `AiTokenBudgetStatus` OK
849
835
  * @response `400` `ProblemDetails` Bad Request
850
836
  */
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)),
837
+ setAiAccountTokenLimit: (accountId, data, params = {}) => this.request(Object.assign({ path: `/api/ai/token-usage/${accountId}/limit`, method: "PUT", body: data, secure: true, type: ContentType.Json, format: "json" }, params)),
852
838
  /**
853
839
  * No description
854
840
  *
@@ -872,7 +858,7 @@ export class Api extends HttpClient {
872
858
  * @response `400` `ProblemDetails` Bad Request
873
859
  * @response `409` `ProblemDetails` Conflict
874
860
  */
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)),
861
+ createAiUrlSource: (data, params = {}) => this.request(Object.assign({ path: `/api/ai/url-sources`, method: "POST", body: data, secure: true, type: ContentType.Json, format: "json" }, params)),
876
862
  /**
877
863
  * No description
878
864
  *
@@ -898,7 +884,7 @@ export class Api extends HttpClient {
898
884
  * @response `404` `ProblemDetails` Not Found
899
885
  * @response `409` `ProblemDetails` Conflict
900
886
  */
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)),
887
+ updateAiUrlSource: (id, data, params = {}) => this.request(Object.assign({ path: `/api/ai/url-sources/${id}`, method: "PUT", body: data, secure: true, type: ContentType.Json, format: "json" }, params)),
902
888
  /**
903
889
  * No description
904
890
  *
@@ -955,7 +941,7 @@ export class Api extends HttpClient {
955
941
  * @secure
956
942
  * @response `200` `AuditLogEntryPaginated` OK
957
943
  */
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)),
944
+ 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)),
959
945
  /**
960
946
  * No description
961
947
  *
@@ -990,7 +976,7 @@ export class Api extends HttpClient {
990
976
  * @response `204` `void` No Content
991
977
  * @response `422` `UnprocessableEntity` Unprocessable Content
992
978
  */
993
- authForgotPassword: (data, params = {}) => this.request(Object.assign({ path: `/api/auth/forgot-password`, method: "POST", body: data, secure: true, type: "application/json" }, params)),
979
+ authForgotPassword: (data, params = {}) => this.request(Object.assign({ path: `/api/auth/forgot-password`, method: "POST", body: data, secure: true, type: ContentType.Json }, params)),
994
980
  /**
995
981
  * No description
996
982
  *
@@ -1002,7 +988,7 @@ export class Api extends HttpClient {
1002
988
  * @response `204` `void` No Content
1003
989
  * @response `422` `UnprocessableEntity` Unprocessable Content
1004
990
  */
1005
- authResetPassword: (data, params = {}) => this.request(Object.assign({ path: `/api/auth/reset-password`, method: "POST", body: data, secure: true, type: "application/json" }, params)),
991
+ authResetPassword: (data, params = {}) => this.request(Object.assign({ path: `/api/auth/reset-password`, method: "POST", body: data, secure: true, type: ContentType.Json }, params)),
1006
992
  /**
1007
993
  * No description
1008
994
  *
@@ -1014,7 +1000,7 @@ export class Api extends HttpClient {
1014
1000
  * @response `204` `void` No Content
1015
1001
  * @response `422` `UnprocessableEntity` Unprocessable Content
1016
1002
  */
1017
- authSetPassword: (data, params = {}) => this.request(Object.assign({ path: `/api/auth/set-password`, method: "POST", body: data, secure: true, type: "application/json" }, params)),
1003
+ authSetPassword: (data, params = {}) => this.request(Object.assign({ path: `/api/auth/set-password`, method: "POST", body: data, secure: true, type: ContentType.Json }, params)),
1018
1004
  /**
1019
1005
  * No description
1020
1006
  *
@@ -1037,7 +1023,7 @@ export class Api extends HttpClient {
1037
1023
  * @response `204` `void` No Content
1038
1024
  * @response `422` `UnprocessableEntity` Unprocessable Content
1039
1025
  */
1040
- authVerifyEmail: (data, params = {}) => this.request(Object.assign({ path: `/api/auth/verify-email`, method: "POST", body: data, secure: true, type: "application/json" }, params)),
1026
+ authVerifyEmail: (data, params = {}) => this.request(Object.assign({ path: `/api/auth/verify-email`, method: "POST", body: data, secure: true, type: ContentType.Json }, params)),
1041
1027
  /**
1042
1028
  * No description
1043
1029
  *
@@ -1050,7 +1036,7 @@ export class Api extends HttpClient {
1050
1036
  * @response `401` `ProblemDetails` Unauthorized
1051
1037
  * @response `422` `UnprocessableEntity` Unprocessable Content
1052
1038
  */
1053
- getTokenFromRefreshToken: (data, params = {}) => this.request(Object.assign({ path: `/api/refresh-token`, method: "POST", body: data, secure: true, type: "application/json", format: "json" }, params)),
1039
+ getTokenFromRefreshToken: (data, params = {}) => this.request(Object.assign({ path: `/api/refresh-token`, method: "POST", body: data, secure: true, type: ContentType.Json, format: "json" }, params)),
1054
1040
  /**
1055
1041
  * No description
1056
1042
  *
@@ -1059,10 +1045,10 @@ export class Api extends HttpClient {
1059
1045
  * @summary Get Token
1060
1046
  * @request POST:/api/token
1061
1047
  * @secure
1062
- * @response `200` `AccountDeactivated` OK
1048
+ * @response `200` `UserDeactivated` OK
1063
1049
  * @response `422` `UnprocessableEntity` Unprocessable Content
1064
1050
  */
1065
- getToken: (data, params = {}) => this.request(Object.assign({ path: `/api/token`, method: "POST", body: data, secure: true, type: "application/json", format: "json" }, params)),
1051
+ getToken: (data, params = {}) => this.request(Object.assign({ path: `/api/token`, method: "POST", body: data, secure: true, type: ContentType.Json, format: "json" }, params)),
1066
1052
  /**
1067
1053
  * No description
1068
1054
  *
@@ -1071,10 +1057,10 @@ export class Api extends HttpClient {
1071
1057
  * @summary Get Token From Challenge Code
1072
1058
  * @request POST:/api/token/code
1073
1059
  * @secure
1074
- * @response `200` `AccountDeactivated` OK
1060
+ * @response `200` `UserDeactivated` OK
1075
1061
  * @response `422` `UnprocessableEntity` Unprocessable Content
1076
1062
  */
1077
- getTokenFromChallengeCode: (data, params = {}) => this.request(Object.assign({ path: `/api/token/code`, method: "POST", body: data, secure: true, type: "application/json", format: "json" }, params)),
1063
+ getTokenFromChallengeCode: (data, params = {}) => this.request(Object.assign({ path: `/api/token/code`, method: "POST", body: data, secure: true, type: ContentType.Json, format: "json" }, params)),
1078
1064
  /**
1079
1065
  * No description
1080
1066
  *
@@ -1086,7 +1072,7 @@ export class Api extends HttpClient {
1086
1072
  * @response `200` `Token` OK
1087
1073
  * @response `422` `UnprocessableEntity` Unprocessable Content
1088
1074
  */
1089
- getSystemToken: (data, params = {}) => this.request(Object.assign({ path: `/api/oauth2/token`, method: "POST", body: data, secure: true, type: "application/json", format: "json" }, params)),
1075
+ getSystemToken: (data, params = {}) => this.request(Object.assign({ path: `/api/oauth2/token`, method: "POST", body: data, secure: true, type: ContentType.Json, format: "json" }, params)),
1090
1076
  /**
1091
1077
  * No description
1092
1078
  *
@@ -1098,7 +1084,7 @@ export class Api extends HttpClient {
1098
1084
  * @response `200` `SSOToken` OK
1099
1085
  * @response `422` `UnprocessableEntity` Unprocessable Content
1100
1086
  */
1101
- getSsoToken: (data, params = {}) => this.request(Object.assign({ path: `/api/token/sso`, method: "POST", body: data, secure: true, type: "application/json", format: "json" }, params)),
1087
+ getSsoToken: (data, params = {}) => this.request(Object.assign({ path: `/api/token/sso`, method: "POST", body: data, secure: true, type: ContentType.Json, format: "json" }, params)),
1102
1088
  /**
1103
1089
  * No description
1104
1090
  *
@@ -1133,7 +1119,7 @@ export class Api extends HttpClient {
1133
1119
  * @response `200` `GetBranch` OK
1134
1120
  * @response `422` `UnprocessableEntity` Unprocessable Content
1135
1121
  */
1136
- createBranch: (data, params = {}) => this.request(Object.assign({ path: `/api/branches`, method: "POST", body: data, secure: true, type: "application/json", format: "json" }, params)),
1122
+ createBranch: (data, params = {}) => this.request(Object.assign({ path: `/api/branches`, method: "POST", body: data, secure: true, type: ContentType.Json, format: "json" }, params)),
1137
1123
  /**
1138
1124
  * No description
1139
1125
  *
@@ -1144,7 +1130,7 @@ export class Api extends HttpClient {
1144
1130
  * @secure
1145
1131
  * @response `200` `GetBranchPaginated` OK
1146
1132
  */
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)),
1133
+ searchBranches: (data, query, params = {}) => this.request(Object.assign({ path: `/api/branches/search`, method: "POST", query: query, body: data, secure: true, type: ContentType.Json, format: "json" }, params)),
1148
1134
  /**
1149
1135
  * No description
1150
1136
  *
@@ -1167,7 +1153,7 @@ export class Api extends HttpClient {
1167
1153
  * @response `200` `GetBranch` OK
1168
1154
  * @response `422` `UnprocessableEntity` Unprocessable Content
1169
1155
  */
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)),
1156
+ replaceBranch: (branchId, data, params = {}) => this.request(Object.assign({ path: `/api/branches/${branchId}`, method: "PUT", body: data, secure: true, type: ContentType.Json, format: "json" }, params)),
1171
1157
  /**
1172
1158
  * No description
1173
1159
  *
@@ -1202,7 +1188,7 @@ export class Api extends HttpClient {
1202
1188
  * @response `200` `SiteConfiguration` OK
1203
1189
  * @response `422` `UnprocessableEntity` Unprocessable Content
1204
1190
  */
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)),
1191
+ createBranchSiteConfiguration: (branchId, data, params = {}) => this.request(Object.assign({ path: `/api/branches/${branchId}/site-configurations`, method: "POST", body: data, secure: true, type: ContentType.Json, format: "json" }, params)),
1206
1192
  /**
1207
1193
  * No description
1208
1194
  *
@@ -1225,7 +1211,7 @@ export class Api extends HttpClient {
1225
1211
  * @response `200` `SiteConfiguration` OK
1226
1212
  * @response `422` `UnprocessableEntity` Unprocessable Content
1227
1213
  */
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)),
1214
+ replaceBranchSiteConfiguration: (branchId, siteConfigurationId, data, query, params = {}) => this.request(Object.assign({ path: `/api/branches/${branchId}/site-configurations/${siteConfigurationId}`, method: "PUT", query: query, body: data, secure: true, type: ContentType.Json, format: "json" }, params)),
1229
1215
  /**
1230
1216
  * No description
1231
1217
  *
@@ -1259,7 +1245,7 @@ export class Api extends HttpClient {
1259
1245
  * @response `200` `BusinessRule` OK
1260
1246
  * @response `422` `UnprocessableEntity` Unprocessable Content
1261
1247
  */
1262
- createBusinessRule: (data, params = {}) => this.request(Object.assign({ path: `/api/business-rules`, method: "POST", body: data, secure: true, type: "application/json", format: "json" }, params)),
1248
+ createBusinessRule: (data, params = {}) => this.request(Object.assign({ path: `/api/business-rules`, method: "POST", body: data, secure: true, type: ContentType.Json, format: "json" }, params)),
1263
1249
  /**
1264
1250
  * No description
1265
1251
  *
@@ -1282,7 +1268,7 @@ export class Api extends HttpClient {
1282
1268
  * @response `200` `BusinessRule` OK
1283
1269
  * @response `422` `UnprocessableEntity` Unprocessable Content
1284
1270
  */
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)),
1271
+ replaceBusinessRule: (id, data, params = {}) => this.request(Object.assign({ path: `/api/business-rules/${id}`, method: "PUT", body: data, secure: true, type: ContentType.Json, format: "json" }, params)),
1286
1272
  /**
1287
1273
  * No description
1288
1274
  *
@@ -1315,7 +1301,7 @@ export class Api extends HttpClient {
1315
1301
  * @secure
1316
1302
  * @response `200` `ClosedLoansReport` OK
1317
1303
  */
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)),
1304
+ getClosedLoansReport: (data, params = {}) => this.request(Object.assign({ path: `/api/loans/reports/closed-loans`, method: "POST", body: data, secure: true, type: ContentType.Json, format: "json" }, params)),
1319
1305
  /**
1320
1306
  * No description
1321
1307
  *
@@ -1339,7 +1325,7 @@ export class Api extends HttpClient {
1339
1325
  * @response `400` `ProblemDetails` Bad Request
1340
1326
  * @response `409` `ProblemDetails` Conflict
1341
1327
  */
1342
- createCompanyDocumentFolder: (data, params = {}) => this.request(Object.assign({ path: `/api/company-document-folders`, method: "POST", body: data, secure: true, type: "application/json", format: "json" }, params)),
1328
+ createCompanyDocumentFolder: (data, params = {}) => this.request(Object.assign({ path: `/api/company-document-folders`, method: "POST", body: data, secure: true, type: ContentType.Json, format: "json" }, params)),
1343
1329
  /**
1344
1330
  * No description
1345
1331
  *
@@ -1365,7 +1351,7 @@ export class Api extends HttpClient {
1365
1351
  * @response `404` `ProblemDetails` Not Found
1366
1352
  * @response `409` `ProblemDetails` Conflict
1367
1353
  */
1368
- updateCompanyDocumentFolder: (id, data, params = {}) => this.request(Object.assign({ path: `/api/company-document-folders/${id}`, method: "PUT", body: data, secure: true, type: "application/json", format: "json" }, params)),
1354
+ updateCompanyDocumentFolder: (id, data, params = {}) => this.request(Object.assign({ path: `/api/company-document-folders/${id}`, method: "PUT", body: data, secure: true, type: ContentType.Json, format: "json" }, params)),
1369
1355
  /**
1370
1356
  * No description
1371
1357
  *
@@ -1391,7 +1377,7 @@ export class Api extends HttpClient {
1391
1377
  * @response `200` `CompanyDocumentPaginated` OK
1392
1378
  * @response `400` `ProblemDetails` Bad Request
1393
1379
  */
1394
- searchCompanyDocuments: (data, query, params = {}) => this.request(Object.assign({ path: `/api/company-documents/search`, method: "POST", query: query, body: data, secure: true, type: "application/json", format: "json" }, params)),
1380
+ searchCompanyDocuments: (data, query, params = {}) => this.request(Object.assign({ path: `/api/company-documents/search`, method: "POST", query: query, body: data, secure: true, type: ContentType.Json, format: "json" }, params)),
1395
1381
  /**
1396
1382
  * No description
1397
1383
  *
@@ -1403,7 +1389,7 @@ export class Api extends HttpClient {
1403
1389
  * @response `200` `CompanyDocument` OK
1404
1390
  * @response `404` `ProblemDetails` Not Found
1405
1391
  */
1406
- getCompanyDocument: (id, params = {}) => this.request(Object.assign({ path: `/api/company-documents/${id}`, method: "GET", secure: true, format: "json" }, params)),
1392
+ getCompanyDocument: (id, query, params = {}) => this.request(Object.assign({ path: `/api/company-documents/${id}`, method: "GET", query: query, secure: true, format: "json" }, params)),
1407
1393
  /**
1408
1394
  * No description
1409
1395
  *
@@ -1417,7 +1403,7 @@ export class Api extends HttpClient {
1417
1403
  * @response `404` `ProblemDetails` Not Found
1418
1404
  * @response `409` `ProblemDetails` Conflict
1419
1405
  */
1420
- updateCompanyDocument: (id, data, params = {}) => this.request(Object.assign({ path: `/api/company-documents/${id}`, method: "PUT", body: data, secure: true, type: "application/json", format: "json" }, params)),
1406
+ updateCompanyDocument: (id, data, params = {}) => this.request(Object.assign({ path: `/api/company-documents/${id}`, method: "PUT", body: data, secure: true, type: ContentType.Json, format: "json" }, params)),
1421
1407
  /**
1422
1408
  * No description
1423
1409
  *
@@ -1430,6 +1416,18 @@ export class Api extends HttpClient {
1430
1416
  * @response `404` `ProblemDetails` Not Found
1431
1417
  */
1432
1418
  deleteCompanyDocument: (id, params = {}) => this.request(Object.assign({ path: `/api/company-documents/${id}`, method: "DELETE", secure: true }, params)),
1419
+ /**
1420
+ * No description
1421
+ *
1422
+ * @tags CompanyDocuments
1423
+ * @name GetCompanyDocumentPreviews
1424
+ * @summary Get company document previews in batch
1425
+ * @request POST:/api/company-documents/previews
1426
+ * @secure
1427
+ * @response `200` `Record<string,string>` OK
1428
+ * @response `400` `ProblemDetails` Bad Request
1429
+ */
1430
+ getCompanyDocumentPreviews: (data, params = {}) => this.request(Object.assign({ path: `/api/company-documents/previews`, method: "POST", body: data, secure: true, type: ContentType.Json, format: "json" }, params)),
1433
1431
  /**
1434
1432
  * No description
1435
1433
  *
@@ -1455,7 +1453,7 @@ export class Api extends HttpClient {
1455
1453
  * @response `404` `ProblemDetails` Not Found
1456
1454
  * @response `409` `ProblemDetails` Conflict
1457
1455
  */
1458
- createCompanyDocument: (data, params = {}) => this.request(Object.assign({ path: `/api/company-documents`, method: "POST", body: data, secure: true, type: "multipart/form-data", format: "json" }, params)),
1456
+ createCompanyDocument: (data, params = {}) => this.request(Object.assign({ path: `/api/company-documents`, method: "POST", body: data, secure: true, type: ContentType.FormData, format: "json" }, params)),
1459
1457
  /**
1460
1458
  * No description
1461
1459
  *
@@ -1469,7 +1467,7 @@ export class Api extends HttpClient {
1469
1467
  * @response `404` `ProblemDetails` Not Found
1470
1468
  * @response `409` `ProblemDetails` Conflict
1471
1469
  */
1472
- createCompanyTextDocument: (data, params = {}) => this.request(Object.assign({ path: `/api/company-documents/text`, method: "POST", body: data, secure: true, type: "application/json", format: "json" }, params)),
1470
+ createCompanyTextDocument: (data, params = {}) => this.request(Object.assign({ path: `/api/company-documents/text`, method: "POST", body: data, secure: true, type: ContentType.Json, format: "json" }, params)),
1473
1471
  /**
1474
1472
  * No description
1475
1473
  *
@@ -1527,7 +1525,7 @@ export class Api extends HttpClient {
1527
1525
  * @response `200` `Corporate` OK
1528
1526
  * @response `422` `UnprocessableEntity` Unprocessable Content
1529
1527
  */
1530
- createCorporate: (data, params = {}) => this.request(Object.assign({ path: `/api/corporates`, method: "POST", body: data, secure: true, type: "application/json", format: "json" }, params)),
1528
+ createCorporate: (data, params = {}) => this.request(Object.assign({ path: `/api/corporates`, method: "POST", body: data, secure: true, type: ContentType.Json, format: "json" }, params)),
1531
1529
  /**
1532
1530
  * No description
1533
1531
  *
@@ -1538,7 +1536,7 @@ export class Api extends HttpClient {
1538
1536
  * @secure
1539
1537
  * @response `200` `CorporatePaginated` OK
1540
1538
  */
1541
- 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)),
1539
+ searchCorporate: (data, query, params = {}) => this.request(Object.assign({ path: `/api/corporates/search`, method: "POST", query: query, body: data, secure: true, type: ContentType.Json, format: "json" }, params)),
1542
1540
  /**
1543
1541
  * No description
1544
1542
  *
@@ -1561,7 +1559,7 @@ export class Api extends HttpClient {
1561
1559
  * @response `200` `Corporate` OK
1562
1560
  * @response `422` `UnprocessableEntity` Unprocessable Content
1563
1561
  */
1564
- replaceCorporate: (id, data, params = {}) => this.request(Object.assign({ path: `/api/corporates/${id}`, method: "PUT", body: data, secure: true, type: "application/json", format: "json" }, params)),
1562
+ replaceCorporate: (id, data, params = {}) => this.request(Object.assign({ path: `/api/corporates/${id}`, method: "PUT", body: data, secure: true, type: ContentType.Json, format: "json" }, params)),
1565
1563
  /**
1566
1564
  * No description
1567
1565
  *
@@ -1595,7 +1593,7 @@ export class Api extends HttpClient {
1595
1593
  * @response `200` `SiteConfiguration` OK
1596
1594
  * @response `422` `UnprocessableEntity` Unprocessable Content
1597
1595
  */
1598
- 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)),
1596
+ createCorporateSiteConfiguration: (corporateId, data, params = {}) => this.request(Object.assign({ path: `/api/corporates/${corporateId}/site-configurations`, method: "POST", body: data, secure: true, type: ContentType.Json, format: "json" }, params)),
1599
1597
  /**
1600
1598
  * No description
1601
1599
  *
@@ -1618,7 +1616,7 @@ export class Api extends HttpClient {
1618
1616
  * @response `200` `SiteConfiguration` OK
1619
1617
  * @response `422` `UnprocessableEntity` Unprocessable Content
1620
1618
  */
1621
- 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)),
1619
+ replaceCorporateSiteConfiguration: (corporateId, siteConfigurationId, data, query, params = {}) => this.request(Object.assign({ path: `/api/corporates/${corporateId}/site-configurations/${siteConfigurationId}`, method: "PUT", query: query, body: data, secure: true, type: ContentType.Json, format: "json" }, params)),
1622
1620
  /**
1623
1621
  * No description
1624
1622
  *
@@ -1664,7 +1662,7 @@ export class Api extends HttpClient {
1664
1662
  * @response `409` `ProblemDetails` Conflict
1665
1663
  * @response `422` `ProblemDetails` Unprocessable Content
1666
1664
  */
1667
- createCustomFieldDefinition: (data, params = {}) => this.request(Object.assign({ path: `/api/custom-field-definitions`, method: "POST", body: data, secure: true, type: "application/json", format: "json" }, params)),
1665
+ createCustomFieldDefinition: (data, params = {}) => this.request(Object.assign({ path: `/api/custom-field-definitions`, method: "POST", body: data, secure: true, type: ContentType.Json, format: "json" }, params)),
1668
1666
  /**
1669
1667
  * No description
1670
1668
  *
@@ -1691,7 +1689,7 @@ export class Api extends HttpClient {
1691
1689
  * @response `409` `ProblemDetails` Conflict
1692
1690
  * @response `422` `ProblemDetails` Unprocessable Content
1693
1691
  */
1694
- 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)),
1692
+ updateCustomFieldDefinition: (id, data, params = {}) => this.request(Object.assign({ path: `/api/custom-field-definitions/${id}`, method: "PUT", body: data, secure: true, type: ContentType.Json, format: "json" }, params)),
1695
1693
  /**
1696
1694
  * No description
1697
1695
  *
@@ -1761,7 +1759,7 @@ export class Api extends HttpClient {
1761
1759
  * @secure
1762
1760
  * @response `200` `Device` OK
1763
1761
  */
1764
- updateDevice: (id, data, params = {}) => this.request(Object.assign({ path: `/api/devices/${id}`, method: "PUT", body: data, secure: true, type: "application/json", format: "json" }, params)),
1762
+ updateDevice: (id, data, params = {}) => this.request(Object.assign({ path: `/api/devices/${id}`, method: "PUT", body: data, secure: true, type: ContentType.Json, format: "json" }, params)),
1765
1763
  /**
1766
1764
  * No description
1767
1765
  *
@@ -1819,7 +1817,7 @@ export class Api extends HttpClient {
1819
1817
  * @response `404` `ProblemDetails` Not Found
1820
1818
  * @response `422` `UnprocessableEntity` Unprocessable Content
1821
1819
  */
1822
- createDocumentTemplate: (data, params = {}) => this.request(Object.assign({ path: `/api/document-templates`, method: "POST", body: data, secure: true, type: "application/json", format: "json" }, params)),
1820
+ createDocumentTemplate: (data, params = {}) => this.request(Object.assign({ path: `/api/document-templates`, method: "POST", body: data, secure: true, type: ContentType.Json, format: "json" }, params)),
1823
1821
  /**
1824
1822
  * No description
1825
1823
  *
@@ -1856,7 +1854,7 @@ export class Api extends HttpClient {
1856
1854
  * @response `404` `ProblemDetails` Not Found
1857
1855
  * @response `422` `UnprocessableEntity` Unprocessable Content
1858
1856
  */
1859
- 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)),
1857
+ replaceDocumentTemplate: (id, data, params = {}) => this.request(Object.assign({ path: `/api/document-templates/${id}`, method: "PUT", body: data, secure: true, type: ContentType.Json, format: "json" }, params)),
1860
1858
  /**
1861
1859
  * No description
1862
1860
  *
@@ -1904,7 +1902,7 @@ export class Api extends HttpClient {
1904
1902
  * @secure
1905
1903
  * @response `200` `DocumentTemplateVersion` OK
1906
1904
  */
1907
- 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)),
1905
+ createDocumentTemplateVersion: (documentId, data, params = {}) => this.request(Object.assign({ path: `/api/document-templates/${documentId}/versions`, method: "POST", body: data, secure: true, type: ContentType.Json, format: "json" }, params)),
1908
1906
  /**
1909
1907
  * No description
1910
1908
  *
@@ -1926,7 +1924,7 @@ export class Api extends HttpClient {
1926
1924
  * @secure
1927
1925
  * @response `200` `DocumentTemplateVersion` OK
1928
1926
  */
1929
- 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)),
1927
+ replaceDocumentTemplateVersion: (documentId, id, data, params = {}) => this.request(Object.assign({ path: `/api/document-templates/${documentId}/versions/${id}`, method: "PUT", body: data, secure: true, type: ContentType.Json, format: "json" }, params)),
1930
1928
  /**
1931
1929
  * No description
1932
1930
  *
@@ -1964,7 +1962,7 @@ export class Api extends HttpClient {
1964
1962
  * @response `409` `void` Conflict
1965
1963
  * @response `422` `ProblemDetails` Unprocessable Content
1966
1964
  */
1967
- 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)),
1965
+ addEncompassCustomFieldMapping: (definitionId, data, params = {}) => this.request(Object.assign({ path: `/api/los/encompass/custom-field-mappings/${definitionId}`, method: "POST", body: data, secure: true, type: ContentType.Json, format: "json" }, params)),
1968
1966
  /**
1969
1967
  * No description
1970
1968
  *
@@ -2067,7 +2065,144 @@ export class Api extends HttpClient {
2067
2065
  * @response `404` `EncompassError` Not Found
2068
2066
  * @response `500` `EncompassError` Internal Server Error
2069
2067
  */
2070
- 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)),
2068
+ createEncompassSession: (data, params = {}) => this.request(Object.assign({ path: `/api/los/encompass/eclose/sessions`, method: "POST", body: data, secure: true, type: ContentType.Json, format: "json" }, params)),
2069
+ /**
2070
+ * No description
2071
+ *
2072
+ * @tags EncompassIntegrations
2073
+ * @name SearchEncompassIntegrations
2074
+ * @summary Search registered Encompass integrations across accounts (SuperAdmin)
2075
+ * @request POST:/api/monitoring/encompass-integrations/search
2076
+ * @secure
2077
+ * @response `200` `LosIntegrationPaginated` OK
2078
+ * @response `400` `ProblemDetails` Bad Request
2079
+ * @response `401` `ProblemDetails` Unauthorized
2080
+ * @response `403` `ProblemDetails` Forbidden
2081
+ */
2082
+ searchEncompassIntegrations: (data, query, params = {}) => this.request(Object.assign({ path: `/api/monitoring/encompass-integrations/search`, method: "POST", query: query, body: data, secure: true, type: ContentType.Json, format: "json" }, params)),
2083
+ /**
2084
+ * No description
2085
+ *
2086
+ * @tags EncompassIntegrations
2087
+ * @name GetEncompassIntegrationsSummary
2088
+ * @summary Summarize registered Encompass integration health across accounts (SuperAdmin)
2089
+ * @request POST:/api/monitoring/encompass-integrations/summary
2090
+ * @secure
2091
+ * @response `200` `LosIntegrationsSummary` OK
2092
+ * @response `401` `ProblemDetails` Unauthorized
2093
+ * @response `403` `ProblemDetails` Forbidden
2094
+ */
2095
+ getEncompassIntegrationsSummary: (data, query, params = {}) => this.request(Object.assign({ path: `/api/monitoring/encompass-integrations/summary`, method: "POST", query: query, body: data, secure: true, type: ContentType.Json, format: "json" }, params)),
2096
+ /**
2097
+ * No description
2098
+ *
2099
+ * @tags EncompassIntegrations
2100
+ * @name GetEncompassIntegrationsHealth
2101
+ * @summary Get Encompass login health for a set of accounts (SuperAdmin)
2102
+ * @request POST:/api/monitoring/encompass-integrations/health
2103
+ * @secure
2104
+ * @response `200` `(LosCredentialHealth)[]` OK
2105
+ * @response `400` `ProblemDetails` Bad Request
2106
+ * @response `401` `ProblemDetails` Unauthorized
2107
+ * @response `403` `ProblemDetails` Forbidden
2108
+ */
2109
+ getEncompassIntegrationsHealth: (data, params = {}) => this.request(Object.assign({ path: `/api/monitoring/encompass-integrations/health`, method: "POST", body: data, secure: true, type: ContentType.Json, format: "json" }, params)),
2110
+ /**
2111
+ * No description
2112
+ *
2113
+ * @tags EncompassIntegrations
2114
+ * @name RecheckEncompassIntegrationHealth
2115
+ * @summary Force a fresh Encompass login health check for one account (SuperAdmin)
2116
+ * @request POST:/api/monitoring/encompass-integrations/{accountId}/health/recheck
2117
+ * @secure
2118
+ * @response `200` `LosCredentialHealth` OK
2119
+ * @response `401` `ProblemDetails` Unauthorized
2120
+ * @response `403` `ProblemDetails` Forbidden
2121
+ */
2122
+ recheckEncompassIntegrationHealth: (accountId, params = {}) => this.request(Object.assign({ path: `/api/monitoring/encompass-integrations/${accountId}/health/recheck`, method: "POST", secure: true, format: "json" }, params)),
2123
+ /**
2124
+ * No description
2125
+ *
2126
+ * @tags EncompassIntegrations
2127
+ * @name GetEncompassIntegrationsWebhooks
2128
+ * @summary Get registered-versus-expected Encompass webhooks for a set of accounts (SuperAdmin)
2129
+ * @request POST:/api/monitoring/encompass-integrations/webhooks
2130
+ * @secure
2131
+ * @response `200` `(LosWebhookInventory)[]` OK
2132
+ * @response `400` `ProblemDetails` Bad Request
2133
+ * @response `401` `ProblemDetails` Unauthorized
2134
+ * @response `403` `ProblemDetails` Forbidden
2135
+ */
2136
+ getEncompassIntegrationsWebhooks: (data, params = {}) => this.request(Object.assign({ path: `/api/monitoring/encompass-integrations/webhooks`, method: "POST", body: data, secure: true, type: ContentType.Json, format: "json" }, params)),
2137
+ /**
2138
+ * No description
2139
+ *
2140
+ * @tags EncompassIntegrations
2141
+ * @name RecheckEncompassIntegrationWebhooks
2142
+ * @summary Force a fresh Encompass webhook inventory read for one account (SuperAdmin)
2143
+ * @request POST:/api/monitoring/encompass-integrations/{accountId}/webhooks/recheck
2144
+ * @secure
2145
+ * @response `200` `LosWebhookInventory` OK
2146
+ * @response `401` `ProblemDetails` Unauthorized
2147
+ * @response `403` `ProblemDetails` Forbidden
2148
+ */
2149
+ recheckEncompassIntegrationWebhooks: (accountId, params = {}) => this.request(Object.assign({ path: `/api/monitoring/encompass-integrations/${accountId}/webhooks/recheck`, method: "POST", secure: true, format: "json" }, params)),
2150
+ /**
2151
+ * No description
2152
+ *
2153
+ * @tags EncompassIntegrations
2154
+ * @name GetEncompassIntegrationCredentials
2155
+ * @summary Get Encompass credentials including secrets for a specific account (SuperAdmin)
2156
+ * @request GET:/api/monitoring/encompass-integrations/{accountId}/credentials
2157
+ * @secure
2158
+ * @response `200` `LosIntegrationCredentials` OK
2159
+ * @response `401` `ProblemDetails` Unauthorized
2160
+ * @response `403` `ProblemDetails` Forbidden
2161
+ * @response `404` `ProblemDetails` Not Found
2162
+ */
2163
+ getEncompassIntegrationCredentials: (accountId, params = {}) => this.request(Object.assign({ path: `/api/monitoring/encompass-integrations/${accountId}/credentials`, method: "GET", secure: true, format: "json" }, params)),
2164
+ /**
2165
+ * No description
2166
+ *
2167
+ * @tags EncompassIntegrations
2168
+ * @name UpdateEncompassIntegrationCredentials
2169
+ * @summary Update Encompass credentials for a specific account (SuperAdmin)
2170
+ * @request PUT:/api/monitoring/encompass-integrations/{accountId}/credentials
2171
+ * @secure
2172
+ * @response `200` `EncompassCredentialsDetail` OK
2173
+ * @response `401` `ProblemDetails` Unauthorized
2174
+ * @response `403` `ProblemDetails` Forbidden
2175
+ * @response `404` `ProblemDetails` Not Found
2176
+ */
2177
+ updateEncompassIntegrationCredentials: (accountId, data, params = {}) => this.request(Object.assign({ path: `/api/monitoring/encompass-integrations/${accountId}/credentials`, method: "PUT", body: data, secure: true, type: ContentType.Json, format: "json" }, params)),
2178
+ /**
2179
+ * No description
2180
+ *
2181
+ * @tags EncompassIntegrations
2182
+ * @name RegisterEncompassIntegrationWebhook
2183
+ * @summary Register an expected Encompass webhook for a specific account (SuperAdmin)
2184
+ * @request POST:/api/monitoring/encompass-integrations/{accountId}/webhooks
2185
+ * @secure
2186
+ * @response `201` `LosWebhook` Created
2187
+ * @response `400` `ProblemDetails` Bad Request
2188
+ * @response `401` `ProblemDetails` Unauthorized
2189
+ * @response `403` `ProblemDetails` Forbidden
2190
+ */
2191
+ registerEncompassIntegrationWebhook: (accountId, data, params = {}) => this.request(Object.assign({ path: `/api/monitoring/encompass-integrations/${accountId}/webhooks`, method: "POST", body: data, secure: true, type: ContentType.Json, format: "json" }, params)),
2192
+ /**
2193
+ * No description
2194
+ *
2195
+ * @tags EncompassIntegrations
2196
+ * @name DeleteEncompassIntegrationWebhook
2197
+ * @summary Delete an Encompass webhook for a specific account (SuperAdmin)
2198
+ * @request DELETE:/api/monitoring/encompass-integrations/{accountId}/webhooks/{webhookId}
2199
+ * @secure
2200
+ * @response `204` `void` No Content
2201
+ * @response `401` `ProblemDetails` Unauthorized
2202
+ * @response `403` `ProblemDetails` Forbidden
2203
+ * @response `404` `ProblemDetails` Not Found
2204
+ */
2205
+ deleteEncompassIntegrationWebhook: (accountId, webhookId, params = {}) => this.request(Object.assign({ path: `/api/monitoring/encompass-integrations/${accountId}/webhooks/${webhookId}`, method: "DELETE", secure: true }, params)),
2071
2206
  /**
2072
2207
  * No description
2073
2208
  *
@@ -2090,7 +2225,7 @@ export class Api extends HttpClient {
2090
2225
  * @response `201` `File` Created
2091
2226
  * @response `422` `UnprocessableEntity` Unprocessable Content
2092
2227
  */
2093
- uploadFile: (data, params = {}) => this.request(Object.assign({ path: `/api/files`, method: "POST", body: data, secure: true, type: "multipart/form-data", format: "json" }, params)),
2228
+ uploadFile: (data, params = {}) => this.request(Object.assign({ path: `/api/files`, method: "POST", body: data, secure: true, type: ContentType.FormData, format: "json" }, params)),
2094
2229
  /**
2095
2230
  * No description
2096
2231
  *
@@ -2113,7 +2248,7 @@ export class Api extends HttpClient {
2113
2248
  * @response `200` `string` OK
2114
2249
  * @response `422` `UnprocessableEntity` Unprocessable Content
2115
2250
  */
2116
- replaceFile: (id, data, params = {}) => this.request(Object.assign({ path: `/api/files/${id}`, method: "PUT", body: data, secure: true, type: "application/json", format: "json" }, params)),
2251
+ replaceFile: (id, data, params = {}) => this.request(Object.assign({ path: `/api/files/${id}`, method: "PUT", body: data, secure: true, type: ContentType.Json, format: "json" }, params)),
2117
2252
  /**
2118
2253
  * No description
2119
2254
  *
@@ -2135,7 +2270,7 @@ export class Api extends HttpClient {
2135
2270
  * @secure
2136
2271
  * @response `200` `FilePaginated` OK
2137
2272
  */
2138
- 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)),
2273
+ searchFiles: (data, query, params = {}) => this.request(Object.assign({ path: `/api/files/search`, method: "POST", query: query, body: data, secure: true, type: ContentType.Json, format: "json" }, params)),
2139
2274
  /**
2140
2275
  * No description
2141
2276
  *
@@ -2158,7 +2293,7 @@ export class Api extends HttpClient {
2158
2293
  * @response `201` `Form` Created
2159
2294
  * @response `422` `UnprocessableEntity` Unprocessable Content
2160
2295
  */
2161
- createForm: (data, params = {}) => this.request(Object.assign({ path: `/api/forms`, method: "POST", body: data, secure: true, type: "application/json", format: "json" }, params)),
2296
+ createForm: (data, params = {}) => this.request(Object.assign({ path: `/api/forms`, method: "POST", body: data, secure: true, type: ContentType.Json, format: "json" }, params)),
2162
2297
  /**
2163
2298
  * No description
2164
2299
  *
@@ -2181,7 +2316,7 @@ export class Api extends HttpClient {
2181
2316
  * @response `200` `Form` OK
2182
2317
  * @response `422` `UnprocessableEntity` Unprocessable Content
2183
2318
  */
2184
- replaceForm: (id, data, params = {}) => this.request(Object.assign({ path: `/api/forms/${id}`, method: "PUT", body: data, secure: true, type: "application/json", format: "json" }, params)),
2319
+ replaceForm: (id, data, params = {}) => this.request(Object.assign({ path: `/api/forms/${id}`, method: "PUT", body: data, secure: true, type: ContentType.Json, format: "json" }, params)),
2185
2320
  /**
2186
2321
  * No description
2187
2322
  *
@@ -2214,7 +2349,7 @@ export class Api extends HttpClient {
2214
2349
  * @secure
2215
2350
  * @response `200` `FormSubmissionFile` OK
2216
2351
  */
2217
- 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)),
2352
+ addFormSubmissionFile: (formSubmissionId, data, params = {}) => this.request(Object.assign({ path: `/api/form-submissions/${formSubmissionId}/files`, method: "POST", body: data, secure: true, type: ContentType.FormData, format: "json" }, params)),
2218
2353
  /**
2219
2354
  * No description
2220
2355
  *
@@ -2258,7 +2393,7 @@ export class Api extends HttpClient {
2258
2393
  * @secure
2259
2394
  * @response `201` `FormSubmission` Created
2260
2395
  */
2261
- 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)),
2396
+ createFormSubmission: (data, query, params = {}) => this.request(Object.assign({ path: `/api/form-submissions`, method: "POST", query: query, body: data, secure: true, type: ContentType.Json, format: "json" }, params)),
2262
2397
  /**
2263
2398
  * No description
2264
2399
  *
@@ -2280,7 +2415,7 @@ export class Api extends HttpClient {
2280
2415
  * @secure
2281
2416
  * @response `200` `FormSubmission` OK
2282
2417
  */
2283
- 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)),
2418
+ replaceFormSubmission: (id, data, params = {}) => this.request(Object.assign({ path: `/api/form-submissions/${id}`, method: "PUT", body: data, secure: true, type: ContentType.Json, format: "json" }, params)),
2284
2419
  /**
2285
2420
  * No description
2286
2421
  *
@@ -2302,7 +2437,7 @@ export class Api extends HttpClient {
2302
2437
  * @secure
2303
2438
  * @response `200` `FormSubmissionPaginated` OK
2304
2439
  */
2305
- 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)),
2440
+ searchFormSubmissions: (data, query, params = {}) => this.request(Object.assign({ path: `/api/form-submissions/search`, method: "POST", query: query, body: data, secure: true, type: ContentType.Json, format: "json" }, params)),
2306
2441
  /**
2307
2442
  * No description
2308
2443
  *
@@ -2324,7 +2459,7 @@ export class Api extends HttpClient {
2324
2459
  * @secure
2325
2460
  * @response `200` `FormVersion` OK
2326
2461
  */
2327
- 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)),
2462
+ createFormVersion: (formId, data, params = {}) => this.request(Object.assign({ path: `/api/forms/${formId}/versions`, method: "POST", body: data, secure: true, type: ContentType.Json, format: "json" }, params)),
2328
2463
  /**
2329
2464
  * No description
2330
2465
  *
@@ -2346,7 +2481,7 @@ export class Api extends HttpClient {
2346
2481
  * @secure
2347
2482
  * @response `200` `FormVersion` OK
2348
2483
  */
2349
- 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)),
2484
+ replaceFormVersion: (formId, id, data, params = {}) => this.request(Object.assign({ path: `/api/forms/${formId}/versions/${id}`, method: "PUT", body: data, secure: true, type: ContentType.Json, format: "json" }, params)),
2350
2485
  /**
2351
2486
  * No description
2352
2487
  *
@@ -2392,7 +2527,7 @@ export class Api extends HttpClient {
2392
2527
  * @response `200` `string` OK
2393
2528
  * @response `422` `UnprocessableEntity` Unprocessable Content
2394
2529
  */
2395
- 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)),
2530
+ 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)),
2396
2531
  /**
2397
2532
  * No description
2398
2533
  *
@@ -2403,7 +2538,7 @@ export class Api extends HttpClient {
2403
2538
  * @secure
2404
2539
  * @response `200` `GetReport` OK
2405
2540
  */
2406
- getLoansReport: (data, params = {}) => this.request(Object.assign({ path: `/api/los/loan/reports`, method: "POST", body: data, secure: true, type: "application/json", format: "json" }, params)),
2541
+ getLoansReport: (data, params = {}) => this.request(Object.assign({ path: `/api/los/loan/reports`, method: "POST", body: data, secure: true, type: ContentType.Json, format: "json" }, params)),
2407
2542
  /**
2408
2543
  * No description
2409
2544
  *
@@ -2417,7 +2552,7 @@ export class Api extends HttpClient {
2417
2552
  * @response `422` `UnprocessableEntity` Unprocessable Content
2418
2553
  * @response `423` `UnprocessableEntity` Locked
2419
2554
  */
2420
- 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)),
2555
+ createLoan: (data, query, params = {}) => this.request(Object.assign({ path: `/api/los/loan/application`, method: "POST", query: query, body: data, secure: true, type: ContentType.Json, format: "json" }, params)),
2421
2556
  /**
2422
2557
  * No description
2423
2558
  *
@@ -2430,7 +2565,7 @@ export class Api extends HttpClient {
2430
2565
  * @response `422` `UnprocessableEntity` Unprocessable Content
2431
2566
  * @response `423` `UnprocessableEntity` Locked
2432
2567
  */
2433
- 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)),
2568
+ createLoanInternal: (data, query, params = {}) => this.request(Object.assign({ path: `/api/los/loan/application/internal`, method: "POST", query: query, body: data, secure: true, type: ContentType.Json, format: "json" }, params)),
2434
2569
  /**
2435
2570
  * No description
2436
2571
  *
@@ -2442,7 +2577,7 @@ export class Api extends HttpClient {
2442
2577
  * @response `200` `string` OK
2443
2578
  * @response `422` `UnprocessableEntity` Unprocessable Content
2444
2579
  */
2445
- 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)),
2580
+ updateLoanCustomFields: (loanId, data, params = {}) => this.request(Object.assign({ path: `/api/los/loan/application/${loanId}/custom-fields`, method: "PATCH", body: data, secure: true, type: ContentType.JsonPatch, format: "json" }, params)),
2446
2581
  /**
2447
2582
  * No description
2448
2583
  *
@@ -2455,7 +2590,7 @@ export class Api extends HttpClient {
2455
2590
  * @response `202` `string` Accepted
2456
2591
  * @response `422` `UnprocessableEntity` Unprocessable Content
2457
2592
  */
2458
- 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)),
2593
+ 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)),
2459
2594
  /**
2460
2595
  * No description
2461
2596
  *
@@ -2535,7 +2670,7 @@ export class Api extends HttpClient {
2535
2670
  * @secure
2536
2671
  * @response `200` `ListingFile` OK
2537
2672
  */
2538
- 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)),
2673
+ addListingFile: (listingId, data, params = {}) => this.request(Object.assign({ path: `/api/listings/${listingId}/files`, method: "POST", body: data, secure: true, type: ContentType.FormData, format: "json" }, params)),
2539
2674
  /**
2540
2675
  * No description
2541
2676
  *
@@ -2546,7 +2681,7 @@ export class Api extends HttpClient {
2546
2681
  * @secure
2547
2682
  * @response `200` `ListingFile` OK
2548
2683
  */
2549
- 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)),
2684
+ 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)),
2550
2685
  /**
2551
2686
  * No description
2552
2687
  *
@@ -2568,7 +2703,7 @@ export class Api extends HttpClient {
2568
2703
  * @secure
2569
2704
  * @response `200` `ListingPhoto` OK
2570
2705
  */
2571
- 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)),
2706
+ addListingPhoto: (listingId, data, params = {}) => this.request(Object.assign({ path: `/api/listings/${listingId}/photos`, method: "POST", body: data, secure: true, type: ContentType.FormData, format: "json" }, params)),
2572
2707
  /**
2573
2708
  * No description
2574
2709
  *
@@ -2579,7 +2714,7 @@ export class Api extends HttpClient {
2579
2714
  * @secure
2580
2715
  * @response `200` `(ListingPhoto)[]` OK
2581
2716
  */
2582
- 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)),
2717
+ 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)),
2583
2718
  /**
2584
2719
  * No description
2585
2720
  *
@@ -2612,7 +2747,7 @@ export class Api extends HttpClient {
2612
2747
  * @secure
2613
2748
  * @response `201` `Listing` Created
2614
2749
  */
2615
- createListing: (data, params = {}) => this.request(Object.assign({ path: `/api/listings`, method: "POST", body: data, secure: true, type: "application/json", format: "json" }, params)),
2750
+ createListing: (data, params = {}) => this.request(Object.assign({ path: `/api/listings`, method: "POST", body: data, secure: true, type: ContentType.Json, format: "json" }, params)),
2616
2751
  /**
2617
2752
  * No description
2618
2753
  *
@@ -2645,7 +2780,7 @@ export class Api extends HttpClient {
2645
2780
  * @secure
2646
2781
  * @response `200` `Listing` OK
2647
2782
  */
2648
- replaceListing: (id, data, params = {}) => this.request(Object.assign({ path: `/api/listings/${id}`, method: "PUT", body: data, secure: true, type: "application/json", format: "json" }, params)),
2783
+ replaceListing: (id, data, params = {}) => this.request(Object.assign({ path: `/api/listings/${id}`, method: "PUT", body: data, secure: true, type: ContentType.Json, format: "json" }, params)),
2649
2784
  /**
2650
2785
  * No description
2651
2786
  *
@@ -2667,7 +2802,7 @@ export class Api extends HttpClient {
2667
2802
  * @secure
2668
2803
  * @response `200` `ListingPaginated` OK
2669
2804
  */
2670
- 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)),
2805
+ searchListings: (data, query, params = {}) => this.request(Object.assign({ path: `/api/listings/search`, method: "POST", query: query, body: data, secure: true, type: ContentType.Json, format: "json" }, params)),
2671
2806
  /**
2672
2807
  * No description
2673
2808
  *
@@ -2678,7 +2813,7 @@ export class Api extends HttpClient {
2678
2813
  * @secure
2679
2814
  * @response `200` `File` OK
2680
2815
  */
2681
- 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)),
2816
+ updateListingBackgroundImage: (id, data, params = {}) => this.request(Object.assign({ path: `/api/listings/${id}/background-image`, method: "PUT", body: data, secure: true, type: ContentType.FormData, format: "json" }, params)),
2682
2817
  /**
2683
2818
  * No description
2684
2819
  *
@@ -2724,7 +2859,7 @@ export class Api extends HttpClient {
2724
2859
  * @response `422` `UnprocessableEntity` Unprocessable Content
2725
2860
  * @response `423` `UnprocessableEntity` Locked
2726
2861
  */
2727
- 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)),
2862
+ runLoanCalculator: (loanId, data, params = {}) => this.request(Object.assign({ path: `/api/loans/${loanId}/calculators/loan-calculator`, method: "POST", body: data, secure: true, type: ContentType.Json, format: "json" }, params)),
2728
2863
  /**
2729
2864
  * No description
2730
2865
  *
@@ -2748,7 +2883,7 @@ export class Api extends HttpClient {
2748
2883
  * @response `422` `UnprocessableEntity` Unprocessable Content
2749
2884
  * @response `423` `UnprocessableEntity` Locked
2750
2885
  */
2751
- 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)),
2886
+ createLoanComparison: (loanId, index, data, params = {}) => this.request(Object.assign({ path: `/api/loans/${loanId}/loan-comparison/${index}`, method: "POST", body: data, secure: true, type: ContentType.Json, format: "json" }, params)),
2752
2887
  /**
2753
2888
  * No description
2754
2889
  *
@@ -2771,7 +2906,7 @@ export class Api extends HttpClient {
2771
2906
  * @response `204` `void` No Content
2772
2907
  * @response `422` `UnprocessableEntity` Unprocessable Content
2773
2908
  */
2774
- 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)),
2909
+ createLoanComparisonPdf: (loanId, data, params = {}) => this.request(Object.assign({ path: `/api/loans/${loanId}/loan-comparison/pdf`, method: "POST", body: data, secure: true, type: ContentType.Json }, params)),
2775
2910
  /**
2776
2911
  * No description
2777
2912
  *
@@ -2808,7 +2943,7 @@ export class Api extends HttpClient {
2808
2943
  * @response `400` `ProblemDetails` Bad Request
2809
2944
  * @response `422` `ProblemDetails` Unprocessable Content
2810
2945
  */
2811
- bulkSetLoanCustomFieldValues: (loanId, data, params = {}) => this.request(Object.assign({ path: `/api/loans/${loanId}/custom-fields`, method: "PUT", body: data, secure: true, type: "application/json" }, params)),
2946
+ bulkSetLoanCustomFieldValues: (loanId, data, params = {}) => this.request(Object.assign({ path: `/api/loans/${loanId}/custom-fields`, method: "PUT", body: data, secure: true, type: ContentType.Json }, params)),
2812
2947
  /**
2813
2948
  * No description
2814
2949
  *
@@ -2822,7 +2957,7 @@ export class Api extends HttpClient {
2822
2957
  * @response `404` `ProblemDetails` Not Found
2823
2958
  * @response `422` `ProblemDetails` Unprocessable Content
2824
2959
  */
2825
- 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)),
2960
+ setLoanCustomFieldValue: (loanId, definitionId, data, params = {}) => this.request(Object.assign({ path: `/api/loans/${loanId}/custom-fields/${definitionId}`, method: "PUT", body: data, secure: true, type: ContentType.Json }, params)),
2826
2961
  /**
2827
2962
  * No description
2828
2963
  *
@@ -2857,7 +2992,7 @@ export class Api extends HttpClient {
2857
2992
  * @secure
2858
2993
  * @response `200` `LoanDocumentFolderPaginated` OK
2859
2994
  */
2860
- searchLoanDocumentFolders: (data, query, params = {}) => this.request(Object.assign({ path: `/api/loan-document-folders/search`, method: "POST", query: query, body: data, secure: true, type: "application/json", format: "json" }, params)),
2995
+ searchLoanDocumentFolders: (data, query, params = {}) => this.request(Object.assign({ path: `/api/loan-document-folders/search`, method: "POST", query: query, body: data, secure: true, type: ContentType.Json, format: "json" }, params)),
2861
2996
  /**
2862
2997
  * No description
2863
2998
  *
@@ -2884,7 +3019,7 @@ export class Api extends HttpClient {
2884
3019
  * @response `409` `ProblemDetails` Conflict
2885
3020
  * @response `422` `ProblemDetails` Unprocessable Content
2886
3021
  */
2887
- 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)),
3022
+ updateLoanDocumentFolder: (id, data, params = {}) => this.request(Object.assign({ path: `/api/loan-document-folders/${id}`, method: "PUT", body: data, secure: true, type: ContentType.Json, format: "json" }, params)),
2888
3023
  /**
2889
3024
  * No description
2890
3025
  *
@@ -2911,7 +3046,7 @@ export class Api extends HttpClient {
2911
3046
  * @response `409` `ProblemDetails` Conflict
2912
3047
  * @response `422` `ProblemDetails` Unprocessable Content
2913
3048
  */
2914
- createLoanDocumentFolder: (data, params = {}) => this.request(Object.assign({ path: `/api/loan-document-folders`, method: "POST", body: data, secure: true, type: "application/json", format: "json" }, params)),
3049
+ createLoanDocumentFolder: (data, params = {}) => this.request(Object.assign({ path: `/api/loan-document-folders`, method: "POST", body: data, secure: true, type: ContentType.Json, format: "json" }, params)),
2915
3050
  /**
2916
3051
  * No description
2917
3052
  *
@@ -2971,7 +3106,7 @@ export class Api extends HttpClient {
2971
3106
  * @secure
2972
3107
  * @response `200` `(DocumentFolder)[]` OK
2973
3108
  */
2974
- 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)),
3109
+ getLoanDocumentFolders: (loanId, data, query, params = {}) => this.request(Object.assign({ path: `/api/loans/${loanId}/documents/folders`, method: "POST", query: query, body: data, secure: true, type: ContentType.Json, format: "json" }, params)),
2975
3110
  /**
2976
3111
  * No description
2977
3112
  *
@@ -2995,7 +3130,7 @@ export class Api extends HttpClient {
2995
3130
  * @response `200` `Record<string,string>` OK
2996
3131
  * @response `400` `ProblemDetails` Bad Request
2997
3132
  */
2998
- 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)),
3133
+ getLoanDocumentPreviews: (loanId, data, params = {}) => this.request(Object.assign({ path: `/api/loans/${loanId}/documents/previews`, method: "POST", body: data, secure: true, type: ContentType.Json, format: "json" }, params)),
2999
3134
  /**
3000
3135
  * No description
3001
3136
  *
@@ -3006,7 +3141,7 @@ export class Api extends HttpClient {
3006
3141
  * @secure
3007
3142
  * @response `200` `LoanDocumentSearchPaginated` OK
3008
3143
  */
3009
- 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)),
3144
+ searchLoanDocuments: (loanId, data, query, params = {}) => this.request(Object.assign({ path: `/api/loans/${loanId}/documents/search`, method: "POST", query: query, body: data, secure: true, type: ContentType.Json, format: "json" }, params)),
3010
3145
  /**
3011
3146
  * No description
3012
3147
  *
@@ -3015,7 +3150,7 @@ export class Api extends HttpClient {
3015
3150
  * @summary Download By ID
3016
3151
  * @request GET:/api/loans/{loanId}/documents/{documentId}/download
3017
3152
  * @secure
3018
- * @response `200` `Blob` OK
3153
+ * @response `200` `string` OK
3019
3154
  * @response `404` `ProblemDetails` Not Found
3020
3155
  */
3021
3156
  downloadLoanDocument: (loanId, documentId, params = {}) => this.request(Object.assign({ path: `/api/loans/${loanId}/documents/${documentId}/download`, method: "GET", secure: true, format: "json" }, params)),
@@ -3031,7 +3166,7 @@ export class Api extends HttpClient {
3031
3166
  * @response `404` `ProblemDetails` Not Found
3032
3167
  * @response `422` `UnprocessableEntity` Unprocessable Content
3033
3168
  */
3034
- 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)),
3169
+ createLoanDocument: (loanId, data, params = {}) => this.request(Object.assign({ path: `/api/loans/${loanId}/documents`, method: "POST", body: data, secure: true, type: ContentType.FormData, format: "json" }, params)),
3035
3170
  /**
3036
3171
  * No description
3037
3172
  *
@@ -3055,7 +3190,7 @@ export class Api extends HttpClient {
3055
3190
  * @secure
3056
3191
  * @response `200` `DocumentDataRequest` OK
3057
3192
  */
3058
- 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)),
3193
+ generateLoanDocument: (loanId, data, params = {}) => this.request(Object.assign({ path: `/api/loans/${loanId}/documents/generate`, method: "POST", body: data, secure: true, type: ContentType.Json, format: "json" }, params)),
3059
3194
  /**
3060
3195
  * No description
3061
3196
  *
@@ -3068,7 +3203,7 @@ export class Api extends HttpClient {
3068
3203
  * @response `400` `ProblemDetails` Bad Request
3069
3204
  * @response `404` `ProblemDetails` Not Found
3070
3205
  */
3071
- sendLoanDocuments: (loanId, data, params = {}) => this.request(Object.assign({ path: `/api/loans/${loanId}/documents/distribute`, method: "POST", body: data, secure: true, type: "application/json" }, params)),
3206
+ sendLoanDocuments: (loanId, data, params = {}) => this.request(Object.assign({ path: `/api/loans/${loanId}/documents/distribute`, method: "POST", body: data, secure: true, type: ContentType.Json }, params)),
3072
3207
  /**
3073
3208
  * @description Fetches all documents from Encompass that don't exist locally and stores them in S3
3074
3209
  *
@@ -3093,7 +3228,7 @@ export class Api extends HttpClient {
3093
3228
  * @response `404` `ProblemDetails` Not Found
3094
3229
  * @response `422` `UnprocessableEntity` Unprocessable Content
3095
3230
  */
3096
- 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)),
3231
+ classifyLoanDocumentManually: (loanId, documentId, data, params = {}) => this.request(Object.assign({ path: `/api/loans/${loanId}/documents/${documentId}/classify-manual`, method: "POST", body: data, secure: true, type: ContentType.Json, format: "json" }, params)),
3097
3232
  /**
3098
3233
  * @description Re-attempts to push a failed document to LOS
3099
3234
  *
@@ -3117,7 +3252,7 @@ export class Api extends HttpClient {
3117
3252
  * @secure
3118
3253
  * @response `201` `Draft` Created
3119
3254
  */
3120
- createLoanDraft: (data, params = {}) => this.request(Object.assign({ path: `/api/loans/drafts`, method: "POST", body: data, secure: true, type: "application/json", format: "json" }, params)),
3255
+ createLoanDraft: (data, params = {}) => this.request(Object.assign({ path: `/api/loans/drafts`, method: "POST", body: data, secure: true, type: ContentType.Json, format: "json" }, params)),
3121
3256
  /**
3122
3257
  * No description
3123
3258
  *
@@ -3150,7 +3285,7 @@ export class Api extends HttpClient {
3150
3285
  * @secure
3151
3286
  * @response `200` `Draft` OK
3152
3287
  */
3153
- 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)),
3288
+ replaceLoanDraft: (draftId, data, params = {}) => this.request(Object.assign({ path: `/api/loans/drafts/${draftId}`, method: "PUT", body: data, secure: true, type: ContentType.Json, format: "json" }, params)),
3154
3289
  /**
3155
3290
  * No description
3156
3291
  *
@@ -3172,7 +3307,7 @@ export class Api extends HttpClient {
3172
3307
  * @secure
3173
3308
  * @response `201` `DraftContentPaginated` Created
3174
3309
  */
3175
- 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)),
3310
+ searchLoanDrafts: (data, query, params = {}) => this.request(Object.assign({ path: `/api/loans/drafts/search`, method: "POST", query: query, body: data, secure: true, type: ContentType.Json, format: "json" }, params)),
3176
3311
  /**
3177
3312
  * No description
3178
3313
  *
@@ -3183,7 +3318,7 @@ export class Api extends HttpClient {
3183
3318
  * @secure
3184
3319
  * @response `200` `Draft` OK
3185
3320
  */
3186
- 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)),
3321
+ reassignLoanOfficer: (draftId, data, params = {}) => this.request(Object.assign({ path: `/api/loans/drafts/${draftId}/reassign`, method: "PUT", body: data, secure: true, type: ContentType.Json, format: "json" }, params)),
3187
3322
  /**
3188
3323
  * No description
3189
3324
  *
@@ -3216,7 +3351,7 @@ export class Api extends HttpClient {
3216
3351
  * @secure
3217
3352
  * @response `201` `LoanImport` Created
3218
3353
  */
3219
- createLoanImport: (data, params = {}) => this.request(Object.assign({ path: `/api/loan-imports`, method: "POST", body: data, secure: true, type: "application/json", format: "json" }, params)),
3354
+ createLoanImport: (data, params = {}) => this.request(Object.assign({ path: `/api/loan-imports`, method: "POST", body: data, secure: true, type: ContentType.Json, format: "json" }, params)),
3220
3355
  /**
3221
3356
  * No description
3222
3357
  *
@@ -3262,7 +3397,7 @@ export class Api extends HttpClient {
3262
3397
  * @response `200` `(Invite)[]` OK
3263
3398
  * @response `404` `ProblemDetails` Not Found
3264
3399
  */
3265
- 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)),
3400
+ inviteLoanContacts: (loanId, data, params = {}) => this.request(Object.assign({ path: `/api/loans/${loanId}/invites`, method: "POST", body: data, secure: true, type: ContentType.Json, format: "json" }, params)),
3266
3401
  /**
3267
3402
  * No description
3268
3403
  *
@@ -3273,7 +3408,7 @@ export class Api extends HttpClient {
3273
3408
  * @secure
3274
3409
  * @response `200` `LoanLogPaginated` OK
3275
3410
  */
3276
- 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)),
3411
+ 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)),
3277
3412
  /**
3278
3413
  * No description
3279
3414
  *
@@ -3298,7 +3433,7 @@ export class Api extends HttpClient {
3298
3433
  * @response `400` `ProblemDetails` Bad Request
3299
3434
  * @response `404` `ProblemDetails` Not Found
3300
3435
  */
3301
- 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)),
3436
+ 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)),
3302
3437
  /**
3303
3438
  * No description
3304
3439
  *
@@ -3311,7 +3446,7 @@ export class Api extends HttpClient {
3311
3446
  * @response `400` `ProblemDetails` Bad Request
3312
3447
  * @response `404` `ProblemDetails` Not Found
3313
3448
  */
3314
- 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)),
3449
+ 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)),
3315
3450
  /**
3316
3451
  * No description
3317
3452
  *
@@ -3333,7 +3468,7 @@ export class Api extends HttpClient {
3333
3468
  * @secure
3334
3469
  * @response `200` `BranchUserPaginated` OK
3335
3470
  */
3336
- 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)),
3471
+ 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)),
3337
3472
  /**
3338
3473
  * No description
3339
3474
  *
@@ -3356,7 +3491,7 @@ export class Api extends HttpClient {
3356
3491
  * @response `200` `SiteConfiguration` OK
3357
3492
  * @response `422` `UnprocessableEntity` Unprocessable Content
3358
3493
  */
3359
- 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)),
3494
+ 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)),
3360
3495
  /**
3361
3496
  * No description
3362
3497
  *
@@ -3379,7 +3514,7 @@ export class Api extends HttpClient {
3379
3514
  * @response `200` `SiteConfiguration` OK
3380
3515
  * @response `422` `UnprocessableEntity` Unprocessable Content
3381
3516
  */
3382
- 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)),
3517
+ 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)),
3383
3518
  /**
3384
3519
  * No description
3385
3520
  *
@@ -3390,7 +3525,7 @@ export class Api extends HttpClient {
3390
3525
  * @secure
3391
3526
  * @response `200` `LoanQueuePaginated` OK
3392
3527
  */
3393
- 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)),
3528
+ 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)),
3394
3529
  /**
3395
3530
  * No description
3396
3531
  *
@@ -3414,7 +3549,7 @@ export class Api extends HttpClient {
3414
3549
  * @response `200` `LoanQueueWithData` OK
3415
3550
  * @response `404` `ProblemDetails` Not Found
3416
3551
  */
3417
- 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)),
3552
+ 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)),
3418
3553
  /**
3419
3554
  * No description
3420
3555
  *
@@ -3475,7 +3610,7 @@ export class Api extends HttpClient {
3475
3610
  * @response `401` `ProblemDetails` Unauthorized
3476
3611
  * @response `403` `ProblemDetails` Forbidden
3477
3612
  */
3478
- createLoanv3: (data, params = {}) => this.request(Object.assign({ path: `/api/loans`, method: "POST", body: data, secure: true, type: "application/json", format: "json" }, params)),
3613
+ createLoanv3: (data, params = {}) => this.request(Object.assign({ path: `/api/loans`, method: "POST", body: data, secure: true, type: ContentType.Json, format: "json" }, params)),
3479
3614
  /**
3480
3615
  * No description
3481
3616
  *
@@ -3486,7 +3621,7 @@ export class Api extends HttpClient {
3486
3621
  * @secure
3487
3622
  * @response `200` `LoanListPaginated` OK
3488
3623
  */
3489
- 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)),
3624
+ 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)),
3490
3625
  /**
3491
3626
  * No description
3492
3627
  *
@@ -3502,7 +3637,7 @@ export class Api extends HttpClient {
3502
3637
  * @response `404` `ProblemDetails` Not Found
3503
3638
  * @response `409` `any` Conflict
3504
3639
  */
3505
- updateLoan: (loanId, data, params = {}) => this.request(Object.assign({ path: `/api/loans/${loanId}`, method: "PATCH", body: data, secure: true, type: "application/json", format: "json" }, params)),
3640
+ updateLoan: (loanId, data, params = {}) => this.request(Object.assign({ path: `/api/loans/${loanId}`, method: "PATCH", body: data, secure: true, type: ContentType.JsonPatch, format: "json" }, params)),
3506
3641
  /**
3507
3642
  * No description
3508
3643
  *
@@ -3564,7 +3699,7 @@ export class Api extends HttpClient {
3564
3699
  * @response `400` `ProblemDetails` Bad Request
3565
3700
  * @response `404` `ProblemDetails` Not Found
3566
3701
  */
3567
- 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)),
3702
+ 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)),
3568
3703
  /**
3569
3704
  * No description
3570
3705
  *
@@ -3576,7 +3711,7 @@ export class Api extends HttpClient {
3576
3711
  * @response `200` `TaskCommentPaginated` OK
3577
3712
  * @response `404` `ProblemDetails` Not Found
3578
3713
  */
3579
- 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)),
3714
+ 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)),
3580
3715
  /**
3581
3716
  * No description
3582
3717
  *
@@ -3600,7 +3735,7 @@ export class Api extends HttpClient {
3600
3735
  * @response `201` `TaskComment` Created
3601
3736
  * @response `404` `ProblemDetails` Not Found
3602
3737
  */
3603
- 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)),
3738
+ 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)),
3604
3739
  /**
3605
3740
  * No description
3606
3741
  *
@@ -3612,7 +3747,7 @@ export class Api extends HttpClient {
3612
3747
  * @response `200` `TaskComment` OK
3613
3748
  * @response `404` `ProblemDetails` Not Found
3614
3749
  */
3615
- 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)),
3750
+ 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)),
3616
3751
  /**
3617
3752
  * No description
3618
3753
  *
@@ -3637,7 +3772,7 @@ export class Api extends HttpClient {
3637
3772
  * @response `404` `ProblemDetails` Not Found
3638
3773
  * @response `422` `UnprocessableEntity` Unprocessable Content
3639
3774
  */
3640
- 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)),
3775
+ 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)),
3641
3776
  /**
3642
3777
  * No description
3643
3778
  *
@@ -3651,7 +3786,7 @@ export class Api extends HttpClient {
3651
3786
  * @response `404` `ProblemDetails` Not Found
3652
3787
  * @response `422` `ProblemDetails` Unprocessable Content
3653
3788
  */
3654
- 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)),
3789
+ 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)),
3655
3790
  /**
3656
3791
  * No description
3657
3792
  *
@@ -3664,7 +3799,7 @@ export class Api extends HttpClient {
3664
3799
  * @response `400` `ProblemDetails` Bad Request
3665
3800
  * @response `404` `ProblemDetails` Not Found
3666
3801
  */
3667
- sendLoanTaskReminder: (loanId, data, params = {}) => this.request(Object.assign({ path: `/api/loans/${loanId}/tasks/reminders`, method: "POST", body: data, secure: true, type: "application/json" }, params)),
3802
+ sendLoanTaskReminder: (loanId, data, params = {}) => this.request(Object.assign({ path: `/api/loans/${loanId}/tasks/reminders`, method: "POST", body: data, secure: true, type: ContentType.Json }, params)),
3668
3803
  /**
3669
3804
  * @description Search tasks across all loans
3670
3805
  *
@@ -3675,7 +3810,7 @@ export class Api extends HttpClient {
3675
3810
  * @secure
3676
3811
  * @response `200` `UserLoanTaskPaginated` OK
3677
3812
  */
3678
- 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)),
3813
+ 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)),
3679
3814
  /**
3680
3815
  * @description Returns task counts grouped by status for loans accessible to the current user based on their role
3681
3816
  *
@@ -3687,7 +3822,7 @@ export class Api extends HttpClient {
3687
3822
  * @response `200` `(LoanTaskStatusSummary)[]` OK
3688
3823
  * @response `422` `UnprocessableEntity` Unprocessable Content
3689
3824
  */
3690
- 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)),
3825
+ 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)),
3691
3826
  /**
3692
3827
  * No description
3693
3828
  *
@@ -3735,7 +3870,7 @@ export class Api extends HttpClient {
3735
3870
  * @response `201` `UserLoanTask` Created
3736
3871
  * @response `404` `ProblemDetails` Not Found
3737
3872
  */
3738
- 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)),
3873
+ 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)),
3739
3874
  /**
3740
3875
  * No description
3741
3876
  *
@@ -3747,7 +3882,7 @@ export class Api extends HttpClient {
3747
3882
  * @response `201` `(UserLoanTask)[]` Created
3748
3883
  * @response `404` `ProblemDetails` Not Found
3749
3884
  */
3750
- 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)),
3885
+ 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)),
3751
3886
  /**
3752
3887
  * No description
3753
3888
  *
@@ -3759,7 +3894,7 @@ export class Api extends HttpClient {
3759
3894
  * @response `200` `UserLoanTask` OK
3760
3895
  * @response `404` `ProblemDetails` Not Found
3761
3896
  */
3762
- 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)),
3897
+ 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)),
3763
3898
  /**
3764
3899
  * No description
3765
3900
  *
@@ -3818,7 +3953,7 @@ export class Api extends HttpClient {
3818
3953
  * @secure
3819
3954
  * @response `201` `LoanUser` Created
3820
3955
  */
3821
- 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)),
3956
+ 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)),
3822
3957
  /**
3823
3958
  * No description
3824
3959
  *
@@ -3851,7 +3986,7 @@ export class Api extends HttpClient {
3851
3986
  * @secure
3852
3987
  * @response `200` `LosOperationTrackingPaginated` OK
3853
3988
  */
3854
- 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)),
3989
+ 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)),
3855
3990
  /**
3856
3991
  * No description
3857
3992
  *
@@ -3864,7 +3999,7 @@ export class Api extends HttpClient {
3864
3999
  * @response `401` `ProblemDetails` Unauthorized
3865
4000
  * @response `403` `ProblemDetails` Forbidden
3866
4001
  */
3867
- 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)),
4002
+ 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)),
3868
4003
  /**
3869
4004
  * No description
3870
4005
  *
@@ -3877,7 +4012,7 @@ export class Api extends HttpClient {
3877
4012
  * @response `401` `ProblemDetails` Unauthorized
3878
4013
  * @response `403` `ProblemDetails` Forbidden
3879
4014
  */
3880
- 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)),
4015
+ 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)),
3881
4016
  /**
3882
4017
  * No description
3883
4018
  *
@@ -3914,7 +4049,7 @@ export class Api extends HttpClient {
3914
4049
  * @response `201` `MilestoneConfiguration` Created
3915
4050
  * @response `422` `UnprocessableEntity` Unprocessable Content
3916
4051
  */
3917
- createMilestone: (data, params = {}) => this.request(Object.assign({ path: `/api/milestones`, method: "POST", body: data, secure: true, type: "application/json", format: "json" }, params)),
4052
+ createMilestone: (data, params = {}) => this.request(Object.assign({ path: `/api/milestones`, method: "POST", body: data, secure: true, type: ContentType.Json, format: "json" }, params)),
3918
4053
  /**
3919
4054
  * No description
3920
4055
  *
@@ -3939,7 +4074,7 @@ export class Api extends HttpClient {
3939
4074
  * @response `404` `Error` Not Found
3940
4075
  * @response `422` `UnprocessableEntity` Unprocessable Content
3941
4076
  */
3942
- replaceMilestone: (id, data, params = {}) => this.request(Object.assign({ path: `/api/milestones/${id}`, method: "PUT", body: data, secure: true, type: "application/json", format: "json" }, params)),
4077
+ replaceMilestone: (id, data, params = {}) => this.request(Object.assign({ path: `/api/milestones/${id}`, method: "PUT", body: data, secure: true, type: ContentType.Json, format: "json" }, params)),
3943
4078
  /**
3944
4079
  * No description
3945
4080
  *
@@ -3965,7 +4100,7 @@ export class Api extends HttpClient {
3965
4100
  * @response `404` `ProblemDetails` Not Found
3966
4101
  * @response `422` `ProblemDetails` Unprocessable Content
3967
4102
  */
3968
- 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)),
4103
+ 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)),
3969
4104
  /**
3970
4105
  * No description
3971
4106
  *
@@ -3977,7 +4112,7 @@ export class Api extends HttpClient {
3977
4112
  * @response `200` `MonthlyPaymentCalculator` OK
3978
4113
  * @response `422` `ProblemDetails` Unprocessable Content
3979
4114
  */
3980
- 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)),
4115
+ 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)),
3981
4116
  /**
3982
4117
  * No description
3983
4118
  *
@@ -3989,7 +4124,7 @@ export class Api extends HttpClient {
3989
4124
  * @response `200` `AffordabilityCalculator` OK
3990
4125
  * @response `422` `ProblemDetails` Unprocessable Content
3991
4126
  */
3992
- calculateMortgageAffordability: (data, params = {}) => this.request(Object.assign({ path: `/api/mortgage-calculators/affordability`, method: "POST", body: data, secure: true, type: "application/json", format: "json" }, params)),
4127
+ calculateMortgageAffordability: (data, params = {}) => this.request(Object.assign({ path: `/api/mortgage-calculators/affordability`, method: "POST", body: data, secure: true, type: ContentType.Json, format: "json" }, params)),
3993
4128
  /**
3994
4129
  * No description
3995
4130
  *
@@ -4001,7 +4136,7 @@ export class Api extends HttpClient {
4001
4136
  * @response `200` `LoanComparisonCalculator` OK
4002
4137
  * @response `422` `ProblemDetails` Unprocessable Content
4003
4138
  */
4004
- 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)),
4139
+ 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)),
4005
4140
  /**
4006
4141
  * No description
4007
4142
  *
@@ -4013,7 +4148,7 @@ export class Api extends HttpClient {
4013
4148
  * @response `200` `RefinanceCalculator` OK
4014
4149
  * @response `422` `ProblemDetails` Unprocessable Content
4015
4150
  */
4016
- calculateMortgageRefinance: (data, params = {}) => this.request(Object.assign({ path: `/api/mortgage-calculators/refinance`, method: "POST", body: data, secure: true, type: "application/json", format: "json" }, params)),
4151
+ calculateMortgageRefinance: (data, params = {}) => this.request(Object.assign({ path: `/api/mortgage-calculators/refinance`, method: "POST", body: data, secure: true, type: ContentType.Json, format: "json" }, params)),
4017
4152
  /**
4018
4153
  * No description
4019
4154
  *
@@ -4036,7 +4171,7 @@ export class Api extends HttpClient {
4036
4171
  * @response `201` `NotificationTemplate` Created
4037
4172
  * @response `422` `UnprocessableEntity` Unprocessable Content
4038
4173
  */
4039
- createNotificationTemplate: (data, params = {}) => this.request(Object.assign({ path: `/api/notification-templates`, method: "POST", body: data, secure: true, type: "application/json", format: "json" }, params)),
4174
+ createNotificationTemplate: (data, params = {}) => this.request(Object.assign({ path: `/api/notification-templates`, method: "POST", body: data, secure: true, type: ContentType.Json, format: "json" }, params)),
4040
4175
  /**
4041
4176
  * No description
4042
4177
  *
@@ -4047,7 +4182,7 @@ export class Api extends HttpClient {
4047
4182
  * @secure
4048
4183
  * @response `200` `NotificationTemplateBasePaginated` OK
4049
4184
  */
4050
- 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)),
4185
+ 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)),
4051
4186
  /**
4052
4187
  * No description
4053
4188
  *
@@ -4070,7 +4205,7 @@ export class Api extends HttpClient {
4070
4205
  * @response `200` `NotificationTemplate` OK
4071
4206
  * @response `422` `UnprocessableEntity` Unprocessable Content
4072
4207
  */
4073
- 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)),
4208
+ 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)),
4074
4209
  /**
4075
4210
  * No description
4076
4211
  *
@@ -4114,7 +4249,7 @@ export class Api extends HttpClient {
4114
4249
  * @secure
4115
4250
  * @response `200` `NotificationTemplateVersion` OK
4116
4251
  */
4117
- 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)),
4252
+ 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)),
4118
4253
  /**
4119
4254
  * No description
4120
4255
  *
@@ -4136,7 +4271,7 @@ export class Api extends HttpClient {
4136
4271
  * @secure
4137
4272
  * @response `200` `NotificationTemplateVersion` OK
4138
4273
  */
4139
- 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)),
4274
+ 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)),
4140
4275
  /**
4141
4276
  * No description
4142
4277
  *
@@ -4169,7 +4304,7 @@ export class Api extends HttpClient {
4169
4304
  * @secure
4170
4305
  * @response `200` `BranchUserPaginated` OK
4171
4306
  */
4172
- 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)),
4307
+ 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)),
4173
4308
  /**
4174
4309
  * No description
4175
4310
  *
@@ -4192,7 +4327,7 @@ export class Api extends HttpClient {
4192
4327
  * @response `200` `SiteConfiguration` OK
4193
4328
  * @response `422` `UnprocessableEntity` Unprocessable Content
4194
4329
  */
4195
- 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)),
4330
+ 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)),
4196
4331
  /**
4197
4332
  * No description
4198
4333
  *
@@ -4215,7 +4350,7 @@ export class Api extends HttpClient {
4215
4350
  * @response `200` `SiteConfiguration` OK
4216
4351
  * @response `422` `UnprocessableEntity` Unprocessable Content
4217
4352
  */
4218
- 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)),
4353
+ 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)),
4219
4354
  /**
4220
4355
  * No description
4221
4356
  *
@@ -4239,7 +4374,7 @@ export class Api extends HttpClient {
4239
4374
  * @response `200` `SiteConfigurationByUrl` OK
4240
4375
  * @response `422` `UnprocessableEntity` Unprocessable Content
4241
4376
  */
4242
- searchSiteConfigurationByUrl: (data, params = {}) => this.request(Object.assign({ path: `/api/site-configurations/url`, method: "POST", body: data, secure: true, type: "application/json", format: "json" }, params)),
4377
+ searchSiteConfigurationByUrl: (data, params = {}) => this.request(Object.assign({ path: `/api/site-configurations/url`, method: "POST", body: data, secure: true, type: ContentType.Json, format: "json" }, params)),
4243
4378
  /**
4244
4379
  * No description
4245
4380
  *
@@ -4264,7 +4399,7 @@ export class Api extends HttpClient {
4264
4399
  * @response `200` `SiteConfiguration` OK
4265
4400
  * @response `422` `UnprocessableEntity` Unprocessable Content
4266
4401
  */
4267
- searchSiteConfigurationByLoanOfficerUser: (data, params = {}) => this.request(Object.assign({ path: `/api/site-configurations/louser`, method: "POST", body: data, secure: true, type: "application/json", format: "json" }, params)),
4402
+ searchSiteConfigurationByLoanOfficerUser: (data, params = {}) => this.request(Object.assign({ path: `/api/site-configurations/louser`, method: "POST", body: data, secure: true, type: ContentType.Json, format: "json" }, params)),
4268
4403
  /**
4269
4404
  * No description
4270
4405
  *
@@ -4288,7 +4423,7 @@ export class Api extends HttpClient {
4288
4423
  * @response `200` `SiteConfigurationSummaryPaginated` OK
4289
4424
  * @response `422` `UnprocessableEntity` Unprocessable Content
4290
4425
  */
4291
- 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)),
4426
+ 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)),
4292
4427
  /**
4293
4428
  * No description
4294
4429
  *
@@ -4380,7 +4515,7 @@ export class Api extends HttpClient {
4380
4515
  * @secure
4381
4516
  * @response `200` `GetForm` OK
4382
4517
  */
4383
- getFormBySiteConfigurationSlug: (data, params = {}) => this.request(Object.assign({ path: `/api/site-forms`, method: "POST", body: data, secure: true, type: "application/json", format: "json" }, params)),
4518
+ getFormBySiteConfigurationSlug: (data, params = {}) => this.request(Object.assign({ path: `/api/site-forms`, method: "POST", body: data, secure: true, type: ContentType.Json, format: "json" }, params)),
4384
4519
  /**
4385
4520
  * No description
4386
4521
  *
@@ -4392,7 +4527,7 @@ export class Api extends HttpClient {
4392
4527
  * @response `200` `SiteTilePaginated` OK
4393
4528
  * @response `403` `ProblemDetails` Forbidden
4394
4529
  */
4395
- 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)),
4530
+ 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)),
4396
4531
  /**
4397
4532
  * No description
4398
4533
  *
@@ -4432,7 +4567,7 @@ export class Api extends HttpClient {
4432
4567
  * @response `403` `ProblemDetails` Forbidden
4433
4568
  * @response `404` `ProblemDetails` Not Found
4434
4569
  */
4435
- 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)),
4570
+ 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)),
4436
4571
  /**
4437
4572
  * No description
4438
4573
  *
@@ -4458,7 +4593,7 @@ export class Api extends HttpClient {
4458
4593
  * @response `400` `ProblemDetails` Bad Request
4459
4594
  * @response `403` `ProblemDetails` Forbidden
4460
4595
  */
4461
- createSiteTile: (data, params = {}) => this.request(Object.assign({ path: `/api/site-tiles`, method: "POST", body: data, secure: true, type: "application/json", format: "json" }, params)),
4596
+ createSiteTile: (data, params = {}) => this.request(Object.assign({ path: `/api/site-tiles`, method: "POST", body: data, secure: true, type: ContentType.Json, format: "json" }, params)),
4462
4597
  /**
4463
4598
  * No description
4464
4599
  *
@@ -4481,7 +4616,7 @@ export class Api extends HttpClient {
4481
4616
  * @response `200` `(SocialSurveyRecord)[]` OK
4482
4617
  * @response `422` `UnprocessableEntity` Unprocessable Content
4483
4618
  */
4484
- getSurveysByUser: (data, params = {}) => this.request(Object.assign({ path: `/api/surveys`, method: "POST", body: data, secure: true, type: "application/json", format: "json" }, params)),
4619
+ getSurveysByUser: (data, params = {}) => this.request(Object.assign({ path: `/api/surveys`, method: "POST", body: data, secure: true, type: ContentType.Json, format: "json" }, params)),
4485
4620
  /**
4486
4621
  * No description
4487
4622
  *
@@ -4504,7 +4639,7 @@ export class Api extends HttpClient {
4504
4639
  * @secure
4505
4640
  * @response `201` `Task` Created
4506
4641
  */
4507
- createTask: (data, params = {}) => this.request(Object.assign({ path: `/api/tasks`, method: "POST", body: data, secure: true, type: "application/json", format: "json" }, params)),
4642
+ createTask: (data, params = {}) => this.request(Object.assign({ path: `/api/tasks`, method: "POST", body: data, secure: true, type: ContentType.Json, format: "json" }, params)),
4508
4643
  /**
4509
4644
  * No description
4510
4645
  *
@@ -4528,7 +4663,7 @@ export class Api extends HttpClient {
4528
4663
  * @response `200` `Task` OK
4529
4664
  * @response `404` `ProblemDetails` Not Found
4530
4665
  */
4531
- replaceTask: (id, data, params = {}) => this.request(Object.assign({ path: `/api/tasks/${id}`, method: "PUT", body: data, secure: true, type: "application/json", format: "json" }, params)),
4666
+ replaceTask: (id, data, params = {}) => this.request(Object.assign({ path: `/api/tasks/${id}`, method: "PUT", body: data, secure: true, type: ContentType.Json, format: "json" }, params)),
4532
4667
  /**
4533
4668
  * No description
4534
4669
  *
@@ -4551,7 +4686,7 @@ export class Api extends HttpClient {
4551
4686
  * @secure
4552
4687
  * @response `200` `TaskPaginated` OK
4553
4688
  */
4554
- 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)),
4689
+ 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)),
4555
4690
  /**
4556
4691
  * No description
4557
4692
  *
@@ -4561,7 +4696,7 @@ export class Api extends HttpClient {
4561
4696
  * @secure
4562
4697
  * @response `200` `void` OK
4563
4698
  */
4564
- integrationsLosLoansCreate: (data, params = {}) => this.request(Object.assign({ path: `/api/integrations/los/loans`, method: "POST", body: data, secure: true, type: "application/json" }, params)),
4699
+ integrationsLosLoansCreate: (data, params = {}) => this.request(Object.assign({ path: `/api/integrations/los/loans`, method: "POST", body: data, secure: true, type: ContentType.Json }, params)),
4565
4700
  /**
4566
4701
  * No description
4567
4702
  *
@@ -4572,7 +4707,7 @@ export class Api extends HttpClient {
4572
4707
  * @secure
4573
4708
  * @response `200` `EncompassRequestLogPaginated` OK
4574
4709
  */
4575
- 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)),
4710
+ 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)),
4576
4711
  /**
4577
4712
  * No description
4578
4713
  *
@@ -4595,7 +4730,7 @@ export class Api extends HttpClient {
4595
4730
  * @secure
4596
4731
  * @response `201` `LosCredentials` Created
4597
4732
  */
4598
- createEncompassCredentials: (data, params = {}) => this.request(Object.assign({ path: `/api/los/encompass/credentials`, method: "POST", body: data, secure: true, type: "application/json", format: "json" }, params)),
4733
+ createEncompassCredentials: (data, params = {}) => this.request(Object.assign({ path: `/api/los/encompass/credentials`, method: "POST", body: data, secure: true, type: ContentType.Json, format: "json" }, params)),
4599
4734
  /**
4600
4735
  * No description
4601
4736
  *
@@ -4606,7 +4741,7 @@ export class Api extends HttpClient {
4606
4741
  * @secure
4607
4742
  * @response `200` `EncompassCredentialsDetail` OK
4608
4743
  */
4609
- updateEncompassCredentials: (data, params = {}) => this.request(Object.assign({ path: `/api/los/encompass/credentials`, method: "PUT", body: data, secure: true, type: "application/json", format: "json" }, params)),
4744
+ updateEncompassCredentials: (data, params = {}) => this.request(Object.assign({ path: `/api/los/encompass/credentials`, method: "PUT", body: data, secure: true, type: ContentType.Json, format: "json" }, params)),
4610
4745
  /**
4611
4746
  * No description
4612
4747
  *
@@ -4628,7 +4763,7 @@ export class Api extends HttpClient {
4628
4763
  * @secure
4629
4764
  * @response `201` `LosWebhook` Created
4630
4765
  */
4631
- createEncompassWebhook: (data, params = {}) => this.request(Object.assign({ path: `/api/los/encompass/webhooks`, method: "POST", body: data, secure: true, type: "application/json", format: "json" }, params)),
4766
+ createEncompassWebhook: (data, params = {}) => this.request(Object.assign({ path: `/api/los/encompass/webhooks`, method: "POST", body: data, secure: true, type: ContentType.Json, format: "json" }, params)),
4632
4767
  /**
4633
4768
  * No description
4634
4769
  *
@@ -4650,7 +4785,7 @@ export class Api extends HttpClient {
4650
4785
  * @secure
4651
4786
  * @response `200` `LosSyncPaginated` OK
4652
4787
  */
4653
- 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)),
4788
+ 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)),
4654
4789
  /**
4655
4790
  * No description
4656
4791
  *
@@ -4733,7 +4868,7 @@ export class Api extends HttpClient {
4733
4868
  * @response `201` `UserDevice` Created
4734
4869
  * @response `400` `ProblemDetails` Bad Request
4735
4870
  */
4736
- createUserDevice: (data, params = {}) => this.request(Object.assign({ path: `/api/userdevices`, method: "POST", body: data, secure: true, type: "application/json", format: "json" }, params)),
4871
+ createUserDevice: (data, params = {}) => this.request(Object.assign({ path: `/api/userdevices`, method: "POST", body: data, secure: true, type: ContentType.Json, format: "json" }, params)),
4737
4872
  /**
4738
4873
  * No description
4739
4874
  *
@@ -4780,7 +4915,7 @@ export class Api extends HttpClient {
4780
4915
  * @response `404` `ProblemDetails` Not Found
4781
4916
  * @response `409` `ProblemDetails` Conflict
4782
4917
  */
4783
- 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)),
4918
+ 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)),
4784
4919
  /**
4785
4920
  * No description
4786
4921
  *
@@ -4813,7 +4948,7 @@ export class Api extends HttpClient {
4813
4948
  * @secure
4814
4949
  * @response `200` `UserGroupAccessScope` OK
4815
4950
  */
4816
- 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)),
4951
+ 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)),
4817
4952
  /**
4818
4953
  * No description
4819
4954
  *
@@ -4846,7 +4981,7 @@ export class Api extends HttpClient {
4846
4981
  * @secure
4847
4982
  * @response `200` `UserGroupMember` OK
4848
4983
  */
4849
- 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)),
4984
+ 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)),
4850
4985
  /**
4851
4986
  * No description
4852
4987
  *
@@ -4890,7 +5025,7 @@ export class Api extends HttpClient {
4890
5025
  * @secure
4891
5026
  * @response `200` `UserGroup` OK
4892
5027
  */
4893
- 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)),
5028
+ 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)),
4894
5029
  /**
4895
5030
  * No description
4896
5031
  *
@@ -4912,7 +5047,7 @@ export class Api extends HttpClient {
4912
5047
  * @secure
4913
5048
  * @response `201` `UserGroup` Created
4914
5049
  */
4915
- createUserGroup: (data, params = {}) => this.request(Object.assign({ path: `/api/user-groups`, method: "POST", body: data, secure: true, type: "application/json", format: "json" }, params)),
5050
+ createUserGroup: (data, params = {}) => this.request(Object.assign({ path: `/api/user-groups`, method: "POST", body: data, secure: true, type: ContentType.Json, format: "json" }, params)),
4916
5051
  /**
4917
5052
  * No description
4918
5053
  *
@@ -4925,7 +5060,7 @@ export class Api extends HttpClient {
4925
5060
  * @response `404` `Error` Not Found
4926
5061
  * @response `422` `UnprocessableEntity` Unprocessable Content
4927
5062
  */
4928
- requestImpersonation: (data, params = {}) => this.request(Object.assign({ path: `/api/users/impersonation/request`, method: "POST", body: data, secure: true, type: "application/json" }, params)),
5063
+ requestImpersonation: (data, params = {}) => this.request(Object.assign({ path: `/api/users/impersonation/request`, method: "POST", body: data, secure: true, type: ContentType.Json }, params)),
4929
5064
  /**
4930
5065
  * No description
4931
5066
  *
@@ -4938,7 +5073,7 @@ export class Api extends HttpClient {
4938
5073
  * @response `404` `Error` Not Found
4939
5074
  * @response `422` `UnprocessableEntity` Unprocessable Content
4940
5075
  */
4941
- allowImpersonation: (data, params = {}) => this.request(Object.assign({ path: `/api/users/impersonation/allow`, method: "POST", body: data, secure: true, type: "application/json" }, params)),
5076
+ allowImpersonation: (data, params = {}) => this.request(Object.assign({ path: `/api/users/impersonation/allow`, method: "POST", body: data, secure: true, type: ContentType.Json }, params)),
4942
5077
  /**
4943
5078
  * No description
4944
5079
  *
@@ -4988,7 +5123,7 @@ export class Api extends HttpClient {
4988
5123
  * @response `404` `Error` Not Found
4989
5124
  * @response `422` `UnprocessableEntity` Unprocessable Content
4990
5125
  */
4991
- forceImpersonation: (data, params = {}) => this.request(Object.assign({ path: `/api/users/impersonation/force`, method: "POST", body: data, secure: true, type: "application/json" }, params)),
5126
+ forceImpersonation: (data, params = {}) => this.request(Object.assign({ path: `/api/users/impersonation/force`, method: "POST", body: data, secure: true, type: ContentType.Json }, params)),
4992
5127
  /**
4993
5128
  * No description
4994
5129
  *
@@ -5012,7 +5147,7 @@ export class Api extends HttpClient {
5012
5147
  * @response `204` `void` No Content
5013
5148
  * @response `422` `UnprocessableEntity` Unprocessable Content
5014
5149
  */
5015
- inviteUser: (data, params = {}) => this.request(Object.assign({ path: `/api/users/invites`, method: "POST", body: data, secure: true, type: "application/json" }, params)),
5150
+ inviteUser: (data, params = {}) => this.request(Object.assign({ path: `/api/users/invites`, method: "POST", body: data, secure: true, type: ContentType.Json }, params)),
5016
5151
  /**
5017
5152
  * No description
5018
5153
  *
@@ -5038,6 +5173,29 @@ export class Api extends HttpClient {
5038
5173
  * @response `422` `UnprocessableEntity` Unprocessable Content
5039
5174
  */
5040
5175
  verifyUserInvite: (token, params = {}) => this.request(Object.assign({ path: `/api/users/invites/${token}/verify`, method: "GET", secure: true, format: "json" }, params)),
5176
+ /**
5177
+ * No description
5178
+ *
5179
+ * @tags UserReactivation
5180
+ * @name RequestUserReactivation
5181
+ * @summary Request user reactivation
5182
+ * @request POST:/api/users/reactivation/request
5183
+ * @secure
5184
+ * @response `204` `void` No Content
5185
+ */
5186
+ requestUserReactivation: (data, params = {}) => this.request(Object.assign({ path: `/api/users/reactivation/request`, method: "POST", body: data, secure: true, type: ContentType.Json }, params)),
5187
+ /**
5188
+ * No description
5189
+ *
5190
+ * @tags UserReactivation
5191
+ * @name CompleteUserReactivation
5192
+ * @summary Complete user reactivation with new password
5193
+ * @request POST:/api/users/reactivation/complete
5194
+ * @secure
5195
+ * @response `204` `void` No Content
5196
+ * @response `400` `ProblemDetails` Bad Request
5197
+ */
5198
+ completeUserReactivation: (data, params = {}) => this.request(Object.assign({ path: `/api/users/reactivation/complete`, method: "POST", body: data, secure: true, type: ContentType.Json }, params)),
5041
5199
  /**
5042
5200
  * No description
5043
5201
  *
@@ -5059,7 +5217,7 @@ export class Api extends HttpClient {
5059
5217
  * @secure
5060
5218
  * @response `204` `void` No Content
5061
5219
  */
5062
- createUserRelation: (userId, data, params = {}) => this.request(Object.assign({ path: `/api/users/${userId}/relations`, method: "POST", body: data, secure: true, type: "application/json" }, params)),
5220
+ createUserRelation: (userId, data, params = {}) => this.request(Object.assign({ path: `/api/users/${userId}/relations`, method: "POST", body: data, secure: true, type: ContentType.Json }, params)),
5063
5221
  /**
5064
5222
  * No description
5065
5223
  *
@@ -5102,9 +5260,10 @@ export class Api extends HttpClient {
5102
5260
  * @request POST:/api/users
5103
5261
  * @secure
5104
5262
  * @response `200` `DetailedUser` OK
5263
+ * @response `409` `ProblemDetails` Conflict
5105
5264
  * @response `422` `UnprocessableEntity` Unprocessable Content
5106
5265
  */
5107
- createUser: (data, params = {}) => this.request(Object.assign({ path: `/api/users`, method: "POST", body: data, secure: true, type: "application/json", format: "json" }, params)),
5266
+ createUser: (data, params = {}) => this.request(Object.assign({ path: `/api/users`, method: "POST", body: data, secure: true, type: ContentType.Json, format: "json" }, params)),
5108
5267
  /**
5109
5268
  * No description
5110
5269
  *
@@ -5115,7 +5274,7 @@ export class Api extends HttpClient {
5115
5274
  * @secure
5116
5275
  * @response `200` `UserPaginated` OK
5117
5276
  */
5118
- 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)),
5277
+ 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)),
5119
5278
  /**
5120
5279
  * No description
5121
5280
  *
@@ -5126,7 +5285,7 @@ export class Api extends HttpClient {
5126
5285
  * @secure
5127
5286
  * @response `200` `AdminAccessUser` OK
5128
5287
  */
5129
- getUserByEmail: (data, params = {}) => this.request(Object.assign({ path: `/api/users/byemail`, method: "POST", body: data, secure: true, type: "application/json", format: "json" }, params)),
5288
+ getUserByEmail: (data, params = {}) => this.request(Object.assign({ path: `/api/users/byemail`, method: "POST", body: data, secure: true, type: ContentType.Json, format: "json" }, params)),
5130
5289
  /**
5131
5290
  * No description
5132
5291
  *
@@ -5138,7 +5297,7 @@ export class Api extends HttpClient {
5138
5297
  * @response `200` `User` OK
5139
5298
  * @response `422` `UnprocessableEntity` Unprocessable Content
5140
5299
  */
5141
- signUp: (data, params = {}) => this.request(Object.assign({ path: `/api/users/register`, method: "POST", body: data, secure: true, type: "application/json", format: "json" }, params)),
5300
+ signUp: (data, params = {}) => this.request(Object.assign({ path: `/api/users/register`, method: "POST", body: data, secure: true, type: ContentType.Json, format: "json" }, params)),
5142
5301
  /**
5143
5302
  * No description
5144
5303
  *
@@ -5150,7 +5309,7 @@ export class Api extends HttpClient {
5150
5309
  * @response `200` `DetailedUser` OK
5151
5310
  * @response `422` `UnprocessableEntity` Unprocessable Content
5152
5311
  */
5153
- replaceUser: (id, data, params = {}) => this.request(Object.assign({ path: `/api/users/${id}`, method: "PUT", body: data, secure: true, type: "application/json", format: "json" }, params)),
5312
+ replaceUser: (id, data, params = {}) => this.request(Object.assign({ path: `/api/users/${id}`, method: "PUT", body: data, secure: true, type: ContentType.Json, format: "json" }, params)),
5154
5313
  /**
5155
5314
  * No description
5156
5315
  *
@@ -5184,7 +5343,7 @@ export class Api extends HttpClient {
5184
5343
  * @response `204` `void` No Content
5185
5344
  * @response `422` `UnprocessableEntity` Unprocessable Content
5186
5345
  */
5187
- changePassword: (data, params = {}) => this.request(Object.assign({ path: `/api/users/change-password`, method: "POST", body: data, secure: true, type: "application/json" }, params)),
5346
+ changePassword: (data, params = {}) => this.request(Object.assign({ path: `/api/users/change-password`, method: "POST", body: data, secure: true, type: ContentType.Json }, params)),
5188
5347
  /**
5189
5348
  * No description
5190
5349
  *
@@ -5197,7 +5356,7 @@ export class Api extends HttpClient {
5197
5356
  * @response `204` `void` No Content
5198
5357
  * @response `422` `UnprocessableEntity` Unprocessable Content
5199
5358
  */
5200
- verifyPassword: (data, params = {}) => this.request(Object.assign({ path: `/api/users/verify-password`, method: "POST", body: data, secure: true, type: "application/json" }, params)),
5359
+ verifyPassword: (data, params = {}) => this.request(Object.assign({ path: `/api/users/verify-password`, method: "POST", body: data, secure: true, type: ContentType.Json }, params)),
5201
5360
  /**
5202
5361
  * No description
5203
5362
  *
@@ -5209,7 +5368,7 @@ export class Api extends HttpClient {
5209
5368
  * @response `204` `void` No Content
5210
5369
  * @response `422` `UnprocessableEntity` Unprocessable Content
5211
5370
  */
5212
- overridePassword: (id, data, params = {}) => this.request(Object.assign({ path: `/api/users/${id}/override-password`, method: "POST", body: data, secure: true, type: "application/json" }, params)),
5371
+ overridePassword: (id, data, params = {}) => this.request(Object.assign({ path: `/api/users/${id}/override-password`, method: "POST", body: data, secure: true, type: ContentType.Json }, params)),
5213
5372
  /**
5214
5373
  * No description
5215
5374
  *
@@ -5222,7 +5381,7 @@ export class Api extends HttpClient {
5222
5381
  * @response `204` `void` No Content
5223
5382
  * @response `422` `UnprocessableEntity` Unprocessable Content
5224
5383
  */
5225
- forgotPassword: (data, params = {}) => this.request(Object.assign({ path: `/api/users/forgot-password`, method: "POST", body: data, secure: true, type: "application/json" }, params)),
5384
+ forgotPassword: (data, params = {}) => this.request(Object.assign({ path: `/api/users/forgot-password`, method: "POST", body: data, secure: true, type: ContentType.Json }, params)),
5226
5385
  /**
5227
5386
  * No description
5228
5387
  *
@@ -5246,7 +5405,7 @@ export class Api extends HttpClient {
5246
5405
  * @response `204` `void` No Content
5247
5406
  * @response `422` `UnprocessableEntity` Unprocessable Content
5248
5407
  */
5249
- verifyUserMobilePhone: (data, params = {}) => this.request(Object.assign({ path: `/api/users/mobile-phone/verify-code`, method: "PUT", body: data, secure: true, type: "application/json" }, params)),
5408
+ verifyUserMobilePhone: (data, params = {}) => this.request(Object.assign({ path: `/api/users/mobile-phone/verify-code`, method: "PUT", body: data, secure: true, type: ContentType.Json }, params)),
5250
5409
  /**
5251
5410
  * No description
5252
5411
  *
@@ -5268,8 +5427,10 @@ export class Api extends HttpClient {
5268
5427
  * @request PUT:/api/users/me
5269
5428
  * @secure
5270
5429
  * @response `200` `DetailedUser` OK
5430
+ * @response `403` `ProblemDetails` Forbidden
5431
+ * @response `409` `ProblemDetails` Conflict
5271
5432
  */
5272
- replaceMe: (data, params = {}) => this.request(Object.assign({ path: `/api/users/me`, method: "PUT", body: data, secure: true, type: "application/json", format: "json" }, params)),
5433
+ replaceMe: (data, params = {}) => this.request(Object.assign({ path: `/api/users/me`, method: "PUT", body: data, secure: true, type: ContentType.Json, format: "json" }, params)),
5273
5434
  /**
5274
5435
  * @description Update the phone number If changed will send a verification code to the new number
5275
5436
  *
@@ -5280,7 +5441,7 @@ export class Api extends HttpClient {
5280
5441
  * @secure
5281
5442
  * @response `204` `DetailedUser` No Content
5282
5443
  */
5283
- 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)),
5444
+ 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)),
5284
5445
  /**
5285
5446
  * No description
5286
5447
  *
@@ -5324,7 +5485,7 @@ export class Api extends HttpClient {
5324
5485
  * @secure
5325
5486
  * @response `204` `void` No Content
5326
5487
  */
5327
- deleteMe: (data, params = {}) => this.request(Object.assign({ path: `/api/users/me/delete`, method: "POST", body: data, secure: true, type: "application/json" }, params)),
5488
+ deleteMe: (data, params = {}) => this.request(Object.assign({ path: `/api/users/me/delete`, method: "POST", body: data, secure: true, type: ContentType.Json }, params)),
5328
5489
  /**
5329
5490
  * No description
5330
5491
  *
@@ -5335,7 +5496,7 @@ export class Api extends HttpClient {
5335
5496
  * @secure
5336
5497
  * @response `200` `GetForm` OK
5337
5498
  */
5338
- getWorkflow: (data, params = {}) => this.request(Object.assign({ path: `/api/workflow`, method: "POST", body: data, secure: true, type: "application/json", format: "json" }, params)),
5499
+ getWorkflow: (data, params = {}) => this.request(Object.assign({ path: `/api/workflow`, method: "POST", body: data, secure: true, type: ContentType.Json, format: "json" }, params)),
5339
5500
  };
5340
5501
  this.sso = {
5341
5502
  /**