@matech/thebigpos-sdk 3.1.2-rc1 → 3.1.5-dev-219

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.js CHANGED
@@ -30,15 +30,6 @@ var __rest = (this && this.__rest) || function (s, e) {
30
30
  return t;
31
31
  };
32
32
  import axios from "axios";
33
- export var ContentType;
34
- (function (ContentType) {
35
- ContentType["JsonPatch"] = "application/json-patch+json";
36
- ContentType["Json"] = "application/json";
37
- ContentType["JsonApi"] = "application/vnd.api+json";
38
- ContentType["FormData"] = "multipart/form-data";
39
- ContentType["UrlEncoded"] = "application/x-www-form-urlencoded";
40
- ContentType["Text"] = "text/plain";
41
- })(ContentType || (ContentType = {}));
42
33
  export class HttpClient {
43
34
  constructor(_a = {}) {
44
35
  var { securityWorker, secure, format } = _a, axiosConfig = __rest(_a, ["securityWorker", "secure", "format"]);
@@ -54,13 +45,13 @@ export class HttpClient {
54
45
  {};
55
46
  const requestParams = this.mergeRequestParams(params, secureParams);
56
47
  const responseFormat = format || this.format || undefined;
57
- if (type === ContentType.FormData &&
48
+ if (type === "multipart/form-data" &&
58
49
  body &&
59
50
  body !== null &&
60
51
  typeof body === "object") {
61
52
  body = this.createFormData(body);
62
53
  }
63
- if (type === ContentType.Text &&
54
+ if (type === "text/plain" &&
64
55
  body &&
65
56
  body !== null &&
66
57
  typeof body !== "string") {
@@ -104,7 +95,7 @@ export class HttpClient {
104
95
  }
105
96
  /**
106
97
  * @title The Big POS API
107
- * @version v3.1.2
98
+ * @version v3.1.5
108
99
  * @termsOfService https://www.thebigpos.com/terms-of-use/
109
100
  * @contact Mortgage Automation Technologies <support@thebigpos.com> (https://www.thebigpos.com/terms-of-use/)
110
101
  */
@@ -156,7 +147,7 @@ export class Api extends HttpClient {
156
147
  * @response `404` `ProblemDetails` Not Found
157
148
  * @response `422` `ProblemDetails` Unprocessable Content
158
149
  */
159
- replaceMyAccount: (data, params = {}) => this.request(Object.assign({ path: `/api/account`, method: "PUT", body: data, secure: true, type: ContentType.Json, format: "json" }, params)),
150
+ replaceMyAccount: (data, params = {}) => this.request(Object.assign({ path: `/api/account`, method: "PUT", body: data, secure: true, type: "application/json", format: "json" }, params)),
160
151
  /**
161
152
  * No description
162
153
  *
@@ -179,7 +170,7 @@ export class Api extends HttpClient {
179
170
  * @response `200` `SiteConfiguration` OK
180
171
  * @response `422` `UnprocessableEntity` Unprocessable Content
181
172
  */
182
- updateSiteConfigurationForAccount: (data, params = {}) => this.request(Object.assign({ path: `/api/account/site-configurations`, method: "PUT", body: data, secure: true, type: ContentType.Json, format: "json" }, params)),
173
+ updateSiteConfigurationForAccount: (data, params = {}) => this.request(Object.assign({ path: `/api/account/site-configurations`, method: "PUT", body: data, secure: true, type: "application/json", format: "json" }, params)),
183
174
  /**
184
175
  * No description
185
176
  *
@@ -202,7 +193,7 @@ export class Api extends HttpClient {
202
193
  * @response `201` `Account` Created
203
194
  * @response `422` `ProblemDetails` Unprocessable Content
204
195
  */
205
- createAccount: (data, params = {}) => this.request(Object.assign({ path: `/api/accounts`, method: "POST", body: data, secure: true, type: ContentType.Json, format: "json" }, params)),
196
+ createAccount: (data, params = {}) => this.request(Object.assign({ path: `/api/accounts`, method: "POST", body: data, secure: true, type: "application/json", format: "json" }, params)),
206
197
  /**
207
198
  * No description
208
199
  *
@@ -240,7 +231,7 @@ export class Api extends HttpClient {
240
231
  * @response `404` `ProblemDetails` Not Found
241
232
  * @response `422` `ProblemDetails` Unprocessable Content
242
233
  */
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)),
234
+ 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)),
244
235
  /**
245
236
  * No description
246
237
  *
@@ -273,7 +264,7 @@ export class Api extends HttpClient {
273
264
  * @secure
274
265
  * @response `204` `void` No Content
275
266
  */
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)),
267
+ 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)),
277
268
  /**
278
269
  * No description
279
270
  *
@@ -296,7 +287,7 @@ export class Api extends HttpClient {
296
287
  * @response `200` `AiAccountSettings` OK
297
288
  * @response `400` `ProblemDetails` Bad Request
298
289
  */
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)),
290
+ updateAiAccountSettings: (data, params = {}) => this.request(Object.assign({ path: `/api/ai/account-settings`, method: "PUT", body: data, secure: true, type: "application/json", format: "json" }, params)),
300
291
  /**
301
292
  * No description
302
293
  *
@@ -319,7 +310,7 @@ export class Api extends HttpClient {
319
310
  * @response `201` `AiPrompt` Created
320
311
  * @response `400` `ProblemDetails` Bad Request
321
312
  */
322
- createAiPrompt: (data, params = {}) => this.request(Object.assign({ path: `/api/ai/prompts`, method: "POST", body: data, secure: true, type: ContentType.Json, format: "json" }, params)),
313
+ createAiPrompt: (data, params = {}) => this.request(Object.assign({ path: `/api/ai/prompts`, method: "POST", body: data, secure: true, type: "application/json", format: "json" }, params)),
323
314
  /**
324
315
  * No description
325
316
  *
@@ -344,7 +335,7 @@ export class Api extends HttpClient {
344
335
  * @response `400` `ProblemDetails` Bad Request
345
336
  * @response `404` `ProblemDetails` Not Found
346
337
  */
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)),
338
+ 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)),
348
339
  /**
349
340
  * No description
350
341
  *
@@ -381,7 +372,7 @@ export class Api extends HttpClient {
381
372
  * @response `400` `ProblemDetails` Bad Request
382
373
  * @response `404` `ProblemDetails` Not Found
383
374
  */
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)),
375
+ 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)),
385
376
  /**
386
377
  * No description
387
378
  *
@@ -405,7 +396,7 @@ export class Api extends HttpClient {
405
396
  * @response `200` `GenerateSystemPrompt` OK
406
397
  * @response `400` `ProblemDetails` Bad Request
407
398
  */
408
- generateAiSystemPrompt: (data, params = {}) => this.request(Object.assign({ path: `/api/ai/prompts/generate`, method: "POST", body: data, secure: true, type: ContentType.Json, format: "json" }, params)),
399
+ generateAiSystemPrompt: (data, params = {}) => this.request(Object.assign({ path: `/api/ai/prompts/generate`, method: "POST", body: data, secure: true, type: "application/json", format: "json" }, params)),
409
400
  /**
410
401
  * No description
411
402
  *
@@ -439,7 +430,7 @@ export class Api extends HttpClient {
439
430
  * @response `200` `AiAdminSettings` OK
440
431
  * @response `400` `ProblemDetails` Bad Request
441
432
  */
442
- updateAiAdminSettings: (data, params = {}) => this.request(Object.assign({ path: `/api/ai/settings`, method: "PUT", body: data, secure: true, type: ContentType.Json, format: "json" }, params)),
433
+ updateAiAdminSettings: (data, params = {}) => this.request(Object.assign({ path: `/api/ai/settings`, method: "PUT", body: data, secure: true, type: "application/json", format: "json" }, params)),
443
434
  /**
444
435
  * No description
445
436
  *
@@ -517,7 +508,7 @@ export class Api extends HttpClient {
517
508
  * @response `201` `AiCanonicalField` Created
518
509
  * @response `400` `ProblemDetails` Bad Request
519
510
  */
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)),
511
+ createAiCanonicalField: (data, params = {}) => this.request(Object.assign({ path: `/api/ai/canonical-fields`, method: "POST", body: data, secure: true, type: "application/json", format: "json" }, params)),
521
512
  /**
522
513
  * No description
523
514
  *
@@ -542,7 +533,7 @@ export class Api extends HttpClient {
542
533
  * @response `400` `ProblemDetails` Bad Request
543
534
  * @response `404` `ProblemDetails` Not Found
544
535
  */
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)),
536
+ 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)),
546
537
  /**
547
538
  * No description
548
539
  *
@@ -580,7 +571,7 @@ export class Api extends HttpClient {
580
571
  * @response `401` `ProblemDetails` Unauthorized
581
572
  * @response `429` `ProblemDetails` Too Many Requests
582
573
  */
583
- aiChat: (data, params = {}) => this.request(Object.assign({ path: `/api/ai/chats`, method: "POST", body: data, secure: true, type: ContentType.Json, format: "json" }, params)),
574
+ aiChat: (data, params = {}) => this.request(Object.assign({ path: `/api/ai/chats`, method: "POST", body: data, secure: true, type: "application/json", format: "json" }, params)),
584
575
  /**
585
576
  * No description
586
577
  *
@@ -642,7 +633,7 @@ export class Api extends HttpClient {
642
633
  * @response `403` `ProblemDetails` Forbidden
643
634
  * @response `404` `ProblemDetails` Not Found
644
635
  */
645
- renameAiConversation: (id, data, params = {}) => this.request(Object.assign({ path: `/api/ai/conversations/${id}`, method: "PATCH", body: data, secure: true, type: ContentType.Json, format: "json" }, params)),
636
+ 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)),
646
637
  /**
647
638
  * No description
648
639
  *
@@ -694,7 +685,7 @@ export class Api extends HttpClient {
694
685
  * @response `403` `ProblemDetails` Forbidden
695
686
  * @response `404` `ProblemDetails` Not Found
696
687
  */
697
- 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
+ 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)),
698
689
  /**
699
690
  * No description
700
691
  *
@@ -752,7 +743,7 @@ export class Api extends HttpClient {
752
743
  * @response `201` `AiGuardrail` Created
753
744
  * @response `400` `ProblemDetails` Bad Request
754
745
  */
755
- createAiGuardrail: (data, params = {}) => this.request(Object.assign({ path: `/api/ai/guardrails`, method: "POST", body: data, secure: true, type: ContentType.Json, format: "json" }, params)),
746
+ createAiGuardrail: (data, params = {}) => this.request(Object.assign({ path: `/api/ai/guardrails`, method: "POST", body: data, secure: true, type: "application/json", format: "json" }, params)),
756
747
  /**
757
748
  * No description
758
749
  *
@@ -777,7 +768,7 @@ export class Api extends HttpClient {
777
768
  * @response `400` `ProblemDetails` Bad Request
778
769
  * @response `404` `ProblemDetails` Not Found
779
770
  */
780
- 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
+ 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)),
781
772
  /**
782
773
  * No description
783
774
  *
@@ -824,7 +815,7 @@ export class Api extends HttpClient {
824
815
  * @secure
825
816
  * @response `200` `AiAccountUsageOverviewPaginated` OK
826
817
  */
827
- searchAiAccountTokenUsage: (data, query, params = {}) => this.request(Object.assign({ path: `/api/ai/token-usage/search`, method: "POST", query: query, body: data, secure: true, type: ContentType.Json, format: "json" }, params)),
818
+ 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)),
828
819
  /**
829
820
  * No description
830
821
  *
@@ -858,7 +849,53 @@ export class Api extends HttpClient {
858
849
  * @response `200` `AiTokenBudgetStatus` OK
859
850
  * @response `400` `ProblemDetails` Bad Request
860
851
  */
861
- 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
+ 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)),
853
+ /**
854
+ * No description
855
+ *
856
+ * @tags AiUrlDomain
857
+ * @name GetPendingAiUrlDomains
858
+ * @summary Get domains awaiting review
859
+ * @request GET:/api/ai/url-domains/pending
860
+ * @secure
861
+ * @response `200` `(AiUrlDomain)[]` OK
862
+ */
863
+ getPendingAiUrlDomains: (params = {}) => this.request(Object.assign({ path: `/api/ai/url-domains/pending`, method: "GET", secure: true, format: "json" }, params)),
864
+ /**
865
+ * No description
866
+ *
867
+ * @tags AiUrlDomain
868
+ * @name GetAiUrlDomains
869
+ * @summary Get reviewed domains
870
+ * @request GET:/api/ai/url-domains
871
+ * @secure
872
+ * @response `200` `(AiUrlDomain)[]` OK
873
+ */
874
+ getAiUrlDomains: (params = {}) => this.request(Object.assign({ path: `/api/ai/url-domains`, method: "GET", secure: true, format: "json" }, params)),
875
+ /**
876
+ * No description
877
+ *
878
+ * @tags AiUrlDomain
879
+ * @name ApproveAiUrlDomain
880
+ * @summary Approve a domain for URL source fetching
881
+ * @request POST:/api/ai/url-domains/approve
882
+ * @secure
883
+ * @response `200` `AiUrlDomain` OK
884
+ * @response `400` `ProblemDetails` Bad Request
885
+ */
886
+ approveAiUrlDomain: (data, params = {}) => this.request(Object.assign({ path: `/api/ai/url-domains/approve`, method: "POST", body: data, secure: true, type: "application/json", format: "json" }, params)),
887
+ /**
888
+ * No description
889
+ *
890
+ * @tags AiUrlDomain
891
+ * @name RejectAiUrlDomain
892
+ * @summary Reject a domain for URL source fetching
893
+ * @request POST:/api/ai/url-domains/reject
894
+ * @secure
895
+ * @response `200` `AiUrlDomain` OK
896
+ * @response `400` `ProblemDetails` Bad Request
897
+ */
898
+ rejectAiUrlDomain: (data, params = {}) => this.request(Object.assign({ path: `/api/ai/url-domains/reject`, method: "POST", body: data, secure: true, type: "application/json", format: "json" }, params)),
862
899
  /**
863
900
  * No description
864
901
  *
@@ -882,7 +919,7 @@ export class Api extends HttpClient {
882
919
  * @response `400` `ProblemDetails` Bad Request
883
920
  * @response `409` `ProblemDetails` Conflict
884
921
  */
885
- createAiUrlSource: (data, params = {}) => this.request(Object.assign({ path: `/api/ai/url-sources`, method: "POST", body: data, secure: true, type: ContentType.Json, format: "json" }, params)),
922
+ createAiUrlSource: (data, params = {}) => this.request(Object.assign({ path: `/api/ai/url-sources`, method: "POST", body: data, secure: true, type: "application/json", format: "json" }, params)),
886
923
  /**
887
924
  * No description
888
925
  *
@@ -908,7 +945,7 @@ export class Api extends HttpClient {
908
945
  * @response `404` `ProblemDetails` Not Found
909
946
  * @response `409` `ProblemDetails` Conflict
910
947
  */
911
- 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)),
948
+ 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)),
912
949
  /**
913
950
  * No description
914
951
  *
@@ -992,7 +1029,7 @@ export class Api extends HttpClient {
992
1029
  * @secure
993
1030
  * @response `200` `AuditLogEntryPaginated` OK
994
1031
  */
995
- searchAuditLogs: (data, query, params = {}) => this.request(Object.assign({ path: `/api/audit-logs/search`, method: "POST", query: query, body: data, secure: true, type: ContentType.Json, format: "json" }, params)),
1032
+ 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)),
996
1033
  /**
997
1034
  * No description
998
1035
  *
@@ -1027,7 +1064,7 @@ export class Api extends HttpClient {
1027
1064
  * @response `204` `void` No Content
1028
1065
  * @response `422` `UnprocessableEntity` Unprocessable Content
1029
1066
  */
1030
- authForgotPassword: (data, params = {}) => this.request(Object.assign({ path: `/api/auth/forgot-password`, method: "POST", body: data, secure: true, type: ContentType.Json }, params)),
1067
+ authForgotPassword: (data, params = {}) => this.request(Object.assign({ path: `/api/auth/forgot-password`, method: "POST", body: data, secure: true, type: "application/json" }, params)),
1031
1068
  /**
1032
1069
  * No description
1033
1070
  *
@@ -1039,7 +1076,7 @@ export class Api extends HttpClient {
1039
1076
  * @response `204` `void` No Content
1040
1077
  * @response `422` `UnprocessableEntity` Unprocessable Content
1041
1078
  */
1042
- authResetPassword: (data, params = {}) => this.request(Object.assign({ path: `/api/auth/reset-password`, method: "POST", body: data, secure: true, type: ContentType.Json }, params)),
1079
+ authResetPassword: (data, params = {}) => this.request(Object.assign({ path: `/api/auth/reset-password`, method: "POST", body: data, secure: true, type: "application/json" }, params)),
1043
1080
  /**
1044
1081
  * No description
1045
1082
  *
@@ -1051,7 +1088,7 @@ export class Api extends HttpClient {
1051
1088
  * @response `204` `void` No Content
1052
1089
  * @response `422` `UnprocessableEntity` Unprocessable Content
1053
1090
  */
1054
- authSetPassword: (data, params = {}) => this.request(Object.assign({ path: `/api/auth/set-password`, method: "POST", body: data, secure: true, type: ContentType.Json }, params)),
1091
+ authSetPassword: (data, params = {}) => this.request(Object.assign({ path: `/api/auth/set-password`, method: "POST", body: data, secure: true, type: "application/json" }, params)),
1055
1092
  /**
1056
1093
  * No description
1057
1094
  *
@@ -1074,7 +1111,7 @@ export class Api extends HttpClient {
1074
1111
  * @response `204` `void` No Content
1075
1112
  * @response `422` `UnprocessableEntity` Unprocessable Content
1076
1113
  */
1077
- authVerifyEmail: (data, params = {}) => this.request(Object.assign({ path: `/api/auth/verify-email`, method: "POST", body: data, secure: true, type: ContentType.Json }, params)),
1114
+ authVerifyEmail: (data, params = {}) => this.request(Object.assign({ path: `/api/auth/verify-email`, method: "POST", body: data, secure: true, type: "application/json" }, params)),
1078
1115
  /**
1079
1116
  * No description
1080
1117
  *
@@ -1087,7 +1124,7 @@ export class Api extends HttpClient {
1087
1124
  * @response `401` `ProblemDetails` Unauthorized
1088
1125
  * @response `422` `UnprocessableEntity` Unprocessable Content
1089
1126
  */
1090
- getTokenFromRefreshToken: (data, params = {}) => this.request(Object.assign({ path: `/api/refresh-token`, method: "POST", body: data, secure: true, type: ContentType.Json, format: "json" }, params)),
1127
+ getTokenFromRefreshToken: (data, params = {}) => this.request(Object.assign({ path: `/api/refresh-token`, method: "POST", body: data, secure: true, type: "application/json", format: "json" }, params)),
1091
1128
  /**
1092
1129
  * No description
1093
1130
  *
@@ -1099,7 +1136,7 @@ export class Api extends HttpClient {
1099
1136
  * @response `200` `UserDeactivated` OK
1100
1137
  * @response `422` `UnprocessableEntity` Unprocessable Content
1101
1138
  */
1102
- getToken: (data, params = {}) => this.request(Object.assign({ path: `/api/token`, method: "POST", body: data, secure: true, type: ContentType.Json, format: "json" }, params)),
1139
+ getToken: (data, params = {}) => this.request(Object.assign({ path: `/api/token`, method: "POST", body: data, secure: true, type: "application/json", format: "json" }, params)),
1103
1140
  /**
1104
1141
  * No description
1105
1142
  *
@@ -1111,7 +1148,7 @@ export class Api extends HttpClient {
1111
1148
  * @response `200` `UserDeactivated` OK
1112
1149
  * @response `422` `UnprocessableEntity` Unprocessable Content
1113
1150
  */
1114
- getTokenFromChallengeCode: (data, params = {}) => this.request(Object.assign({ path: `/api/token/code`, method: "POST", body: data, secure: true, type: ContentType.Json, format: "json" }, params)),
1151
+ getTokenFromChallengeCode: (data, params = {}) => this.request(Object.assign({ path: `/api/token/code`, method: "POST", body: data, secure: true, type: "application/json", format: "json" }, params)),
1115
1152
  /**
1116
1153
  * No description
1117
1154
  *
@@ -1123,7 +1160,7 @@ export class Api extends HttpClient {
1123
1160
  * @response `200` `Token` OK
1124
1161
  * @response `422` `UnprocessableEntity` Unprocessable Content
1125
1162
  */
1126
- getSystemToken: (data, params = {}) => this.request(Object.assign({ path: `/api/oauth2/token`, method: "POST", body: data, secure: true, type: ContentType.Json, format: "json" }, params)),
1163
+ getSystemToken: (data, params = {}) => this.request(Object.assign({ path: `/api/oauth2/token`, method: "POST", body: data, secure: true, type: "application/json", format: "json" }, params)),
1127
1164
  /**
1128
1165
  * No description
1129
1166
  *
@@ -1135,7 +1172,7 @@ export class Api extends HttpClient {
1135
1172
  * @response `200` `SSOToken` OK
1136
1173
  * @response `422` `UnprocessableEntity` Unprocessable Content
1137
1174
  */
1138
- getSsoToken: (data, params = {}) => this.request(Object.assign({ path: `/api/token/sso`, method: "POST", body: data, secure: true, type: ContentType.Json, format: "json" }, params)),
1175
+ getSsoToken: (data, params = {}) => this.request(Object.assign({ path: `/api/token/sso`, method: "POST", body: data, secure: true, type: "application/json", format: "json" }, params)),
1139
1176
  /**
1140
1177
  * No description
1141
1178
  *
@@ -1170,7 +1207,7 @@ export class Api extends HttpClient {
1170
1207
  * @response `200` `GetBranch` OK
1171
1208
  * @response `422` `UnprocessableEntity` Unprocessable Content
1172
1209
  */
1173
- createBranch: (data, params = {}) => this.request(Object.assign({ path: `/api/branches`, method: "POST", body: data, secure: true, type: ContentType.Json, format: "json" }, params)),
1210
+ createBranch: (data, params = {}) => this.request(Object.assign({ path: `/api/branches`, method: "POST", body: data, secure: true, type: "application/json", format: "json" }, params)),
1174
1211
  /**
1175
1212
  * No description
1176
1213
  *
@@ -1181,7 +1218,7 @@ export class Api extends HttpClient {
1181
1218
  * @secure
1182
1219
  * @response `200` `GetBranchPaginated` OK
1183
1220
  */
1184
- 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)),
1221
+ 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)),
1185
1222
  /**
1186
1223
  * No description
1187
1224
  *
@@ -1204,7 +1241,7 @@ export class Api extends HttpClient {
1204
1241
  * @response `200` `GetBranch` OK
1205
1242
  * @response `422` `UnprocessableEntity` Unprocessable Content
1206
1243
  */
1207
- replaceBranch: (branchId, data, params = {}) => this.request(Object.assign({ path: `/api/branches/${branchId}`, method: "PUT", body: data, secure: true, type: ContentType.Json, format: "json" }, params)),
1244
+ replaceBranch: (branchId, data, params = {}) => this.request(Object.assign({ path: `/api/branches/${branchId}`, method: "PUT", body: data, secure: true, type: "application/json", format: "json" }, params)),
1208
1245
  /**
1209
1246
  * No description
1210
1247
  *
@@ -1239,7 +1276,7 @@ export class Api extends HttpClient {
1239
1276
  * @response `200` `SiteConfiguration` OK
1240
1277
  * @response `422` `UnprocessableEntity` Unprocessable Content
1241
1278
  */
1242
- 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)),
1279
+ 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)),
1243
1280
  /**
1244
1281
  * No description
1245
1282
  *
@@ -1262,7 +1299,7 @@ export class Api extends HttpClient {
1262
1299
  * @response `200` `SiteConfiguration` OK
1263
1300
  * @response `422` `UnprocessableEntity` Unprocessable Content
1264
1301
  */
1265
- 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)),
1302
+ 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)),
1266
1303
  /**
1267
1304
  * No description
1268
1305
  *
@@ -1296,7 +1333,7 @@ export class Api extends HttpClient {
1296
1333
  * @response `200` `BusinessRule` OK
1297
1334
  * @response `422` `UnprocessableEntity` Unprocessable Content
1298
1335
  */
1299
- createBusinessRule: (data, params = {}) => this.request(Object.assign({ path: `/api/business-rules`, method: "POST", body: data, secure: true, type: ContentType.Json, format: "json" }, params)),
1336
+ createBusinessRule: (data, params = {}) => this.request(Object.assign({ path: `/api/business-rules`, method: "POST", body: data, secure: true, type: "application/json", format: "json" }, params)),
1300
1337
  /**
1301
1338
  * No description
1302
1339
  *
@@ -1319,7 +1356,7 @@ export class Api extends HttpClient {
1319
1356
  * @response `200` `BusinessRule` OK
1320
1357
  * @response `422` `UnprocessableEntity` Unprocessable Content
1321
1358
  */
1322
- 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)),
1359
+ 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)),
1323
1360
  /**
1324
1361
  * No description
1325
1362
  *
@@ -1352,7 +1389,7 @@ export class Api extends HttpClient {
1352
1389
  * @secure
1353
1390
  * @response `200` `ClosedLoansReport` OK
1354
1391
  */
1355
- 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)),
1392
+ 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)),
1356
1393
  /**
1357
1394
  * No description
1358
1395
  *
@@ -1376,7 +1413,7 @@ export class Api extends HttpClient {
1376
1413
  * @response `400` `ProblemDetails` Bad Request
1377
1414
  * @response `409` `ProblemDetails` Conflict
1378
1415
  */
1379
- createCompanyDocumentFolder: (data, params = {}) => this.request(Object.assign({ path: `/api/company-document-folders`, method: "POST", body: data, secure: true, type: ContentType.Json, format: "json" }, params)),
1416
+ createCompanyDocumentFolder: (data, params = {}) => this.request(Object.assign({ path: `/api/company-document-folders`, method: "POST", body: data, secure: true, type: "application/json", format: "json" }, params)),
1380
1417
  /**
1381
1418
  * No description
1382
1419
  *
@@ -1402,7 +1439,7 @@ export class Api extends HttpClient {
1402
1439
  * @response `404` `ProblemDetails` Not Found
1403
1440
  * @response `409` `ProblemDetails` Conflict
1404
1441
  */
1405
- 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)),
1442
+ 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)),
1406
1443
  /**
1407
1444
  * No description
1408
1445
  *
@@ -1428,7 +1465,7 @@ export class Api extends HttpClient {
1428
1465
  * @response `200` `CompanyDocumentPaginated` OK
1429
1466
  * @response `400` `ProblemDetails` Bad Request
1430
1467
  */
1431
- 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)),
1468
+ 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)),
1432
1469
  /**
1433
1470
  * No description
1434
1471
  *
@@ -1454,7 +1491,7 @@ export class Api extends HttpClient {
1454
1491
  * @response `404` `ProblemDetails` Not Found
1455
1492
  * @response `409` `ProblemDetails` Conflict
1456
1493
  */
1457
- 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)),
1494
+ 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)),
1458
1495
  /**
1459
1496
  * No description
1460
1497
  *
@@ -1478,7 +1515,7 @@ export class Api extends HttpClient {
1478
1515
  * @response `200` `Record<string,string>` OK
1479
1516
  * @response `400` `ProblemDetails` Bad Request
1480
1517
  */
1481
- getCompanyDocumentPreviews: (data, params = {}) => this.request(Object.assign({ path: `/api/company-documents/previews`, method: "POST", body: data, secure: true, type: ContentType.Json, format: "json" }, params)),
1518
+ getCompanyDocumentPreviews: (data, params = {}) => this.request(Object.assign({ path: `/api/company-documents/previews`, method: "POST", body: data, secure: true, type: "application/json", format: "json" }, params)),
1482
1519
  /**
1483
1520
  * No description
1484
1521
  *
@@ -1504,7 +1541,7 @@ export class Api extends HttpClient {
1504
1541
  * @response `404` `ProblemDetails` Not Found
1505
1542
  * @response `409` `ProblemDetails` Conflict
1506
1543
  */
1507
- createCompanyDocument: (data, params = {}) => this.request(Object.assign({ path: `/api/company-documents`, method: "POST", body: data, secure: true, type: ContentType.FormData, format: "json" }, params)),
1544
+ createCompanyDocument: (data, params = {}) => this.request(Object.assign({ path: `/api/company-documents`, method: "POST", body: data, secure: true, type: "multipart/form-data", format: "json" }, params)),
1508
1545
  /**
1509
1546
  * No description
1510
1547
  *
@@ -1518,7 +1555,7 @@ export class Api extends HttpClient {
1518
1555
  * @response `404` `ProblemDetails` Not Found
1519
1556
  * @response `409` `ProblemDetails` Conflict
1520
1557
  */
1521
- createCompanyTextDocument: (data, params = {}) => this.request(Object.assign({ path: `/api/company-documents/text`, method: "POST", body: data, secure: true, type: ContentType.Json, format: "json" }, params)),
1558
+ createCompanyTextDocument: (data, params = {}) => this.request(Object.assign({ path: `/api/company-documents/text`, method: "POST", body: data, secure: true, type: "application/json", format: "json" }, params)),
1522
1559
  /**
1523
1560
  * No description
1524
1561
  *
@@ -1577,7 +1614,7 @@ export class Api extends HttpClient {
1577
1614
  * @response `200` `Corporate` OK
1578
1615
  * @response `422` `UnprocessableEntity` Unprocessable Content
1579
1616
  */
1580
- createCorporate: (data, params = {}) => this.request(Object.assign({ path: `/api/corporates`, method: "POST", body: data, secure: true, type: ContentType.Json, format: "json" }, params)),
1617
+ createCorporate: (data, params = {}) => this.request(Object.assign({ path: `/api/corporates`, method: "POST", body: data, secure: true, type: "application/json", format: "json" }, params)),
1581
1618
  /**
1582
1619
  * No description
1583
1620
  *
@@ -1588,7 +1625,7 @@ export class Api extends HttpClient {
1588
1625
  * @secure
1589
1626
  * @response `200` `CorporatePaginated` OK
1590
1627
  */
1591
- 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)),
1628
+ 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)),
1592
1629
  /**
1593
1630
  * No description
1594
1631
  *
@@ -1611,7 +1648,7 @@ export class Api extends HttpClient {
1611
1648
  * @response `200` `Corporate` OK
1612
1649
  * @response `422` `UnprocessableEntity` Unprocessable Content
1613
1650
  */
1614
- replaceCorporate: (id, data, params = {}) => this.request(Object.assign({ path: `/api/corporates/${id}`, method: "PUT", body: data, secure: true, type: ContentType.Json, format: "json" }, params)),
1651
+ replaceCorporate: (id, data, params = {}) => this.request(Object.assign({ path: `/api/corporates/${id}`, method: "PUT", body: data, secure: true, type: "application/json", format: "json" }, params)),
1615
1652
  /**
1616
1653
  * No description
1617
1654
  *
@@ -1645,7 +1682,7 @@ export class Api extends HttpClient {
1645
1682
  * @response `200` `SiteConfiguration` OK
1646
1683
  * @response `422` `UnprocessableEntity` Unprocessable Content
1647
1684
  */
1648
- 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)),
1685
+ 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)),
1649
1686
  /**
1650
1687
  * No description
1651
1688
  *
@@ -1668,7 +1705,7 @@ export class Api extends HttpClient {
1668
1705
  * @response `200` `SiteConfiguration` OK
1669
1706
  * @response `422` `UnprocessableEntity` Unprocessable Content
1670
1707
  */
1671
- 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)),
1708
+ 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)),
1672
1709
  /**
1673
1710
  * No description
1674
1711
  *
@@ -1714,7 +1751,7 @@ export class Api extends HttpClient {
1714
1751
  * @response `409` `ProblemDetails` Conflict
1715
1752
  * @response `422` `ProblemDetails` Unprocessable Content
1716
1753
  */
1717
- createCustomFieldDefinition: (data, params = {}) => this.request(Object.assign({ path: `/api/custom-field-definitions`, method: "POST", body: data, secure: true, type: ContentType.Json, format: "json" }, params)),
1754
+ createCustomFieldDefinition: (data, params = {}) => this.request(Object.assign({ path: `/api/custom-field-definitions`, method: "POST", body: data, secure: true, type: "application/json", format: "json" }, params)),
1718
1755
  /**
1719
1756
  * No description
1720
1757
  *
@@ -1741,7 +1778,7 @@ export class Api extends HttpClient {
1741
1778
  * @response `409` `ProblemDetails` Conflict
1742
1779
  * @response `422` `ProblemDetails` Unprocessable Content
1743
1780
  */
1744
- 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)),
1781
+ 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)),
1745
1782
  /**
1746
1783
  * No description
1747
1784
  *
@@ -1811,7 +1848,7 @@ export class Api extends HttpClient {
1811
1848
  * @secure
1812
1849
  * @response `200` `Device` OK
1813
1850
  */
1814
- updateDevice: (id, data, params = {}) => this.request(Object.assign({ path: `/api/devices/${id}`, method: "PUT", body: data, secure: true, type: ContentType.Json, format: "json" }, params)),
1851
+ updateDevice: (id, data, params = {}) => this.request(Object.assign({ path: `/api/devices/${id}`, method: "PUT", body: data, secure: true, type: "application/json", format: "json" }, params)),
1815
1852
  /**
1816
1853
  * No description
1817
1854
  *
@@ -1869,7 +1906,7 @@ export class Api extends HttpClient {
1869
1906
  * @response `404` `ProblemDetails` Not Found
1870
1907
  * @response `422` `UnprocessableEntity` Unprocessable Content
1871
1908
  */
1872
- createDocumentTemplate: (data, params = {}) => this.request(Object.assign({ path: `/api/document-templates`, method: "POST", body: data, secure: true, type: ContentType.Json, format: "json" }, params)),
1909
+ createDocumentTemplate: (data, params = {}) => this.request(Object.assign({ path: `/api/document-templates`, method: "POST", body: data, secure: true, type: "application/json", format: "json" }, params)),
1873
1910
  /**
1874
1911
  * No description
1875
1912
  *
@@ -1906,7 +1943,7 @@ export class Api extends HttpClient {
1906
1943
  * @response `404` `ProblemDetails` Not Found
1907
1944
  * @response `422` `UnprocessableEntity` Unprocessable Content
1908
1945
  */
1909
- 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)),
1946
+ 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)),
1910
1947
  /**
1911
1948
  * No description
1912
1949
  *
@@ -1954,7 +1991,7 @@ export class Api extends HttpClient {
1954
1991
  * @secure
1955
1992
  * @response `200` `DocumentTemplateVersion` OK
1956
1993
  */
1957
- 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)),
1994
+ 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)),
1958
1995
  /**
1959
1996
  * No description
1960
1997
  *
@@ -1976,7 +2013,7 @@ export class Api extends HttpClient {
1976
2013
  * @secure
1977
2014
  * @response `200` `DocumentTemplateVersion` OK
1978
2015
  */
1979
- 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)),
2016
+ 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)),
1980
2017
  /**
1981
2018
  * No description
1982
2019
  *
@@ -2014,7 +2051,7 @@ export class Api extends HttpClient {
2014
2051
  * @response `409` `void` Conflict
2015
2052
  * @response `422` `ProblemDetails` Unprocessable Content
2016
2053
  */
2017
- 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)),
2054
+ 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)),
2018
2055
  /**
2019
2056
  * No description
2020
2057
  *
@@ -2079,7 +2116,7 @@ export class Api extends HttpClient {
2079
2116
  * @response `409` `void` Conflict
2080
2117
  * @response `422` `ProblemDetails` Unprocessable Content
2081
2118
  */
2082
- createEncompassField: (data, query, params = {}) => this.request(Object.assign({ path: `/api/los/encompass/custom-fields`, method: "POST", query: query, body: data, secure: true, type: ContentType.Json, format: "json" }, params)),
2119
+ createEncompassField: (data, query, params = {}) => this.request(Object.assign({ path: `/api/los/encompass/custom-fields`, method: "POST", query: query, body: data, secure: true, type: "application/json", format: "json" }, params)),
2083
2120
  /**
2084
2121
  * No description
2085
2122
  *
@@ -2148,7 +2185,7 @@ export class Api extends HttpClient {
2148
2185
  * @response `404` `EncompassError` Not Found
2149
2186
  * @response `500` `EncompassError` Internal Server Error
2150
2187
  */
2151
- 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)),
2188
+ 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)),
2152
2189
  /**
2153
2190
  * No description
2154
2191
  *
@@ -2162,7 +2199,7 @@ export class Api extends HttpClient {
2162
2199
  * @response `401` `ProblemDetails` Unauthorized
2163
2200
  * @response `403` `ProblemDetails` Forbidden
2164
2201
  */
2165
- 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)),
2202
+ searchEncompassIntegrations: (data, query, params = {}) => this.request(Object.assign({ path: `/api/monitoring/encompass-integrations/search`, method: "POST", query: query, body: data, secure: true, type: "application/json", format: "json" }, params)),
2166
2203
  /**
2167
2204
  * No description
2168
2205
  *
@@ -2175,7 +2212,7 @@ export class Api extends HttpClient {
2175
2212
  * @response `401` `ProblemDetails` Unauthorized
2176
2213
  * @response `403` `ProblemDetails` Forbidden
2177
2214
  */
2178
- 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)),
2215
+ getEncompassIntegrationsSummary: (data, query, params = {}) => this.request(Object.assign({ path: `/api/monitoring/encompass-integrations/summary`, method: "POST", query: query, body: data, secure: true, type: "application/json", format: "json" }, params)),
2179
2216
  /**
2180
2217
  * No description
2181
2218
  *
@@ -2189,7 +2226,7 @@ export class Api extends HttpClient {
2189
2226
  * @response `401` `ProblemDetails` Unauthorized
2190
2227
  * @response `403` `ProblemDetails` Forbidden
2191
2228
  */
2192
- 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)),
2229
+ getEncompassIntegrationsHealth: (data, params = {}) => this.request(Object.assign({ path: `/api/monitoring/encompass-integrations/health`, method: "POST", body: data, secure: true, type: "application/json", format: "json" }, params)),
2193
2230
  /**
2194
2231
  * No description
2195
2232
  *
@@ -2216,7 +2253,7 @@ export class Api extends HttpClient {
2216
2253
  * @response `401` `ProblemDetails` Unauthorized
2217
2254
  * @response `403` `ProblemDetails` Forbidden
2218
2255
  */
2219
- 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)),
2256
+ getEncompassIntegrationsWebhooks: (data, params = {}) => this.request(Object.assign({ path: `/api/monitoring/encompass-integrations/webhooks`, method: "POST", body: data, secure: true, type: "application/json", format: "json" }, params)),
2220
2257
  /**
2221
2258
  * No description
2222
2259
  *
@@ -2230,6 +2267,61 @@ export class Api extends HttpClient {
2230
2267
  * @response `403` `ProblemDetails` Forbidden
2231
2268
  */
2232
2269
  recheckEncompassIntegrationWebhooks: (accountId, params = {}) => this.request(Object.assign({ path: `/api/monitoring/encompass-integrations/${accountId}/webhooks/recheck`, method: "POST", secure: true, format: "json" }, params)),
2270
+ /**
2271
+ * No description
2272
+ *
2273
+ * @tags EncompassIntegrations
2274
+ * @name SyncEncompassIntegrationsWebhookSigningKeys
2275
+ * @summary Backfill the Encompass webhook signing keys for a set of accounts (SuperAdmin)
2276
+ * @request POST:/api/monitoring/encompass-integrations/webhooks/signing-keys/sync
2277
+ * @secure
2278
+ * @response `200` `(LosWebhookSigningKeySyncResult)[]` OK
2279
+ * @response `400` `ProblemDetails` Bad Request
2280
+ * @response `401` `ProblemDetails` Unauthorized
2281
+ * @response `403` `ProblemDetails` Forbidden
2282
+ */
2283
+ syncEncompassIntegrationsWebhookSigningKeys: (data, params = {}) => this.request(Object.assign({ path: `/api/monitoring/encompass-integrations/webhooks/signing-keys/sync`, method: "POST", body: data, secure: true, type: "application/json", format: "json" }, params)),
2284
+ /**
2285
+ * No description
2286
+ *
2287
+ * @tags EncompassIntegrations
2288
+ * @name SyncEncompassIntegrationWebhookSigningKeys
2289
+ * @summary Backfill the Encompass webhook signing keys for one account (SuperAdmin)
2290
+ * @request POST:/api/monitoring/encompass-integrations/{accountId}/webhooks/signing-keys/sync
2291
+ * @secure
2292
+ * @response `200` `LosWebhookSigningKeySyncResult` OK
2293
+ * @response `401` `ProblemDetails` Unauthorized
2294
+ * @response `403` `ProblemDetails` Forbidden
2295
+ */
2296
+ syncEncompassIntegrationWebhookSigningKeys: (accountId, params = {}) => this.request(Object.assign({ path: `/api/monitoring/encompass-integrations/${accountId}/webhooks/signing-keys/sync`, method: "POST", secure: true, format: "json" }, params)),
2297
+ /**
2298
+ * No description
2299
+ *
2300
+ * @tags EncompassIntegrations
2301
+ * @name GetEncompassIntegrationWebhookSubscriptions
2302
+ * @summary Get the stored Encompass webhook subscriptions for one account (SuperAdmin)
2303
+ * @request GET:/api/monitoring/encompass-integrations/{accountId}/webhooks/subscriptions
2304
+ * @secure
2305
+ * @response `200` `(EncompassWebhookSubscription)[]` OK
2306
+ * @response `401` `ProblemDetails` Unauthorized
2307
+ * @response `403` `ProblemDetails` Forbidden
2308
+ */
2309
+ getEncompassIntegrationWebhookSubscriptions: (accountId, params = {}) => this.request(Object.assign({ path: `/api/monitoring/encompass-integrations/${accountId}/webhooks/subscriptions`, method: "GET", secure: true, format: "json" }, params)),
2310
+ /**
2311
+ * No description
2312
+ *
2313
+ * @tags EncompassIntegrations
2314
+ * @name SetEncompassIntegrationWebhookSignatureValidation
2315
+ * @summary Turn inbound signature validation on or off for one Encompass webhook subscription (SuperAdmin)
2316
+ * @request PUT:/api/monitoring/encompass-integrations/{accountId}/webhooks/{webhookType}/signature-validation
2317
+ * @secure
2318
+ * @response `200` `EncompassWebhookSubscription` OK
2319
+ * @response `400` `ProblemDetails` Bad Request
2320
+ * @response `401` `ProblemDetails` Unauthorized
2321
+ * @response `403` `ProblemDetails` Forbidden
2322
+ * @response `404` `ProblemDetails` Not Found
2323
+ */
2324
+ setEncompassIntegrationWebhookSignatureValidation: (accountId, webhookType, data, params = {}) => this.request(Object.assign({ path: `/api/monitoring/encompass-integrations/${accountId}/webhooks/${webhookType}/signature-validation`, method: "PUT", body: data, secure: true, type: "application/json", format: "json" }, params)),
2233
2325
  /**
2234
2326
  * No description
2235
2327
  *
@@ -2257,7 +2349,7 @@ export class Api extends HttpClient {
2257
2349
  * @response `403` `ProblemDetails` Forbidden
2258
2350
  * @response `404` `ProblemDetails` Not Found
2259
2351
  */
2260
- 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)),
2352
+ updateEncompassIntegrationCredentials: (accountId, data, params = {}) => this.request(Object.assign({ path: `/api/monitoring/encompass-integrations/${accountId}/credentials`, method: "PUT", body: data, secure: true, type: "application/json", format: "json" }, params)),
2261
2353
  /**
2262
2354
  * No description
2263
2355
  *
@@ -2271,7 +2363,7 @@ export class Api extends HttpClient {
2271
2363
  * @response `401` `ProblemDetails` Unauthorized
2272
2364
  * @response `403` `ProblemDetails` Forbidden
2273
2365
  */
2274
- 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)),
2366
+ registerEncompassIntegrationWebhook: (accountId, data, params = {}) => this.request(Object.assign({ path: `/api/monitoring/encompass-integrations/${accountId}/webhooks`, method: "POST", body: data, secure: true, type: "application/json", format: "json" }, params)),
2275
2367
  /**
2276
2368
  * No description
2277
2369
  *
@@ -2308,7 +2400,7 @@ export class Api extends HttpClient {
2308
2400
  * @response `201` `File` Created
2309
2401
  * @response `422` `UnprocessableEntity` Unprocessable Content
2310
2402
  */
2311
- uploadFile: (data, params = {}) => this.request(Object.assign({ path: `/api/files`, method: "POST", body: data, secure: true, type: ContentType.FormData, format: "json" }, params)),
2403
+ uploadFile: (data, params = {}) => this.request(Object.assign({ path: `/api/files`, method: "POST", body: data, secure: true, type: "multipart/form-data", format: "json" }, params)),
2312
2404
  /**
2313
2405
  * No description
2314
2406
  *
@@ -2331,7 +2423,7 @@ export class Api extends HttpClient {
2331
2423
  * @response `200` `string` OK
2332
2424
  * @response `422` `UnprocessableEntity` Unprocessable Content
2333
2425
  */
2334
- replaceFile: (id, data, params = {}) => this.request(Object.assign({ path: `/api/files/${id}`, method: "PUT", body: data, secure: true, type: ContentType.Json, format: "json" }, params)),
2426
+ replaceFile: (id, data, params = {}) => this.request(Object.assign({ path: `/api/files/${id}`, method: "PUT", body: data, secure: true, type: "application/json", format: "json" }, params)),
2335
2427
  /**
2336
2428
  * No description
2337
2429
  *
@@ -2353,7 +2445,7 @@ export class Api extends HttpClient {
2353
2445
  * @secure
2354
2446
  * @response `200` `FilePaginated` OK
2355
2447
  */
2356
- 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)),
2448
+ 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)),
2357
2449
  /**
2358
2450
  * No description
2359
2451
  *
@@ -2376,7 +2468,7 @@ export class Api extends HttpClient {
2376
2468
  * @response `201` `Form` Created
2377
2469
  * @response `422` `UnprocessableEntity` Unprocessable Content
2378
2470
  */
2379
- createForm: (data, params = {}) => this.request(Object.assign({ path: `/api/forms`, method: "POST", body: data, secure: true, type: ContentType.Json, format: "json" }, params)),
2471
+ createForm: (data, params = {}) => this.request(Object.assign({ path: `/api/forms`, method: "POST", body: data, secure: true, type: "application/json", format: "json" }, params)),
2380
2472
  /**
2381
2473
  * No description
2382
2474
  *
@@ -2399,7 +2491,7 @@ export class Api extends HttpClient {
2399
2491
  * @response `200` `Form` OK
2400
2492
  * @response `422` `UnprocessableEntity` Unprocessable Content
2401
2493
  */
2402
- replaceForm: (id, data, params = {}) => this.request(Object.assign({ path: `/api/forms/${id}`, method: "PUT", body: data, secure: true, type: ContentType.Json, format: "json" }, params)),
2494
+ replaceForm: (id, data, params = {}) => this.request(Object.assign({ path: `/api/forms/${id}`, method: "PUT", body: data, secure: true, type: "application/json", format: "json" }, params)),
2403
2495
  /**
2404
2496
  * No description
2405
2497
  *
@@ -2432,7 +2524,7 @@ export class Api extends HttpClient {
2432
2524
  * @secure
2433
2525
  * @response `200` `FormSubmissionFile` OK
2434
2526
  */
2435
- 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)),
2527
+ 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)),
2436
2528
  /**
2437
2529
  * No description
2438
2530
  *
@@ -2476,7 +2568,7 @@ export class Api extends HttpClient {
2476
2568
  * @secure
2477
2569
  * @response `201` `FormSubmission` Created
2478
2570
  */
2479
- 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)),
2571
+ 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)),
2480
2572
  /**
2481
2573
  * No description
2482
2574
  *
@@ -2498,7 +2590,7 @@ export class Api extends HttpClient {
2498
2590
  * @secure
2499
2591
  * @response `200` `FormSubmission` OK
2500
2592
  */
2501
- 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)),
2593
+ 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)),
2502
2594
  /**
2503
2595
  * No description
2504
2596
  *
@@ -2520,7 +2612,7 @@ export class Api extends HttpClient {
2520
2612
  * @secure
2521
2613
  * @response `200` `FormSubmissionPaginated` OK
2522
2614
  */
2523
- 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)),
2615
+ 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)),
2524
2616
  /**
2525
2617
  * No description
2526
2618
  *
@@ -2542,7 +2634,7 @@ export class Api extends HttpClient {
2542
2634
  * @secure
2543
2635
  * @response `200` `FormVersion` OK
2544
2636
  */
2545
- 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)),
2637
+ 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)),
2546
2638
  /**
2547
2639
  * No description
2548
2640
  *
@@ -2564,7 +2656,7 @@ export class Api extends HttpClient {
2564
2656
  * @secure
2565
2657
  * @response `200` `FormVersion` OK
2566
2658
  */
2567
- 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)),
2659
+ 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)),
2568
2660
  /**
2569
2661
  * No description
2570
2662
  *
@@ -2610,7 +2702,7 @@ export class Api extends HttpClient {
2610
2702
  * @response `200` `string` OK
2611
2703
  * @response `422` `UnprocessableEntity` Unprocessable Content
2612
2704
  */
2613
- updateLoanConsentAndCustomFieldsObsolete: (loanId, data, params = {}) => this.request(Object.assign({ path: `/api/los/loan/application/${loanId}`, method: "PATCH", body: data, secure: true, type: ContentType.Json, format: "json" }, params)),
2705
+ 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)),
2614
2706
  /**
2615
2707
  * No description
2616
2708
  *
@@ -2621,7 +2713,7 @@ export class Api extends HttpClient {
2621
2713
  * @secure
2622
2714
  * @response `200` `GetReport` OK
2623
2715
  */
2624
- getLoansReport: (data, params = {}) => this.request(Object.assign({ path: `/api/los/loan/reports`, method: "POST", body: data, secure: true, type: ContentType.Json, format: "json" }, params)),
2716
+ getLoansReport: (data, params = {}) => this.request(Object.assign({ path: `/api/los/loan/reports`, method: "POST", body: data, secure: true, type: "application/json", format: "json" }, params)),
2625
2717
  /**
2626
2718
  * No description
2627
2719
  *
@@ -2635,7 +2727,7 @@ export class Api extends HttpClient {
2635
2727
  * @response `422` `UnprocessableEntity` Unprocessable Content
2636
2728
  * @response `423` `UnprocessableEntity` Locked
2637
2729
  */
2638
- 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)),
2730
+ 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)),
2639
2731
  /**
2640
2732
  * No description
2641
2733
  *
@@ -2648,7 +2740,7 @@ export class Api extends HttpClient {
2648
2740
  * @response `422` `UnprocessableEntity` Unprocessable Content
2649
2741
  * @response `423` `UnprocessableEntity` Locked
2650
2742
  */
2651
- 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)),
2743
+ 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)),
2652
2744
  /**
2653
2745
  * No description
2654
2746
  *
@@ -2660,7 +2752,7 @@ export class Api extends HttpClient {
2660
2752
  * @response `200` `string` OK
2661
2753
  * @response `422` `UnprocessableEntity` Unprocessable Content
2662
2754
  */
2663
- updateLoanCustomFields: (loanId, data, params = {}) => this.request(Object.assign({ path: `/api/los/loan/application/${loanId}/custom-fields`, method: "PATCH", body: data, secure: true, type: ContentType.Json, format: "json" }, params)),
2755
+ 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)),
2664
2756
  /**
2665
2757
  * No description
2666
2758
  *
@@ -2673,7 +2765,7 @@ export class Api extends HttpClient {
2673
2765
  * @response `202` `string` Accepted
2674
2766
  * @response `422` `UnprocessableEntity` Unprocessable Content
2675
2767
  */
2676
- updateLoanConsent: (loanId, data, params = {}) => this.request(Object.assign({ path: `/api/los/loan/application/${loanId}/consent`, method: "PATCH", body: data, secure: true, type: ContentType.Json, format: "json" }, params)),
2768
+ 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)),
2677
2769
  /**
2678
2770
  * No description
2679
2771
  *
@@ -2753,7 +2845,7 @@ export class Api extends HttpClient {
2753
2845
  * @secure
2754
2846
  * @response `200` `ListingFile` OK
2755
2847
  */
2756
- 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)),
2848
+ 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)),
2757
2849
  /**
2758
2850
  * No description
2759
2851
  *
@@ -2764,7 +2856,7 @@ export class Api extends HttpClient {
2764
2856
  * @secure
2765
2857
  * @response `200` `ListingFile` OK
2766
2858
  */
2767
- updateListingFiles: (listingId, data, params = {}) => this.request(Object.assign({ path: `/api/listings/${listingId}/files`, method: "PATCH", body: data, secure: true, type: ContentType.Json, format: "json" }, params)),
2859
+ 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)),
2768
2860
  /**
2769
2861
  * No description
2770
2862
  *
@@ -2786,7 +2878,7 @@ export class Api extends HttpClient {
2786
2878
  * @secure
2787
2879
  * @response `200` `ListingPhoto` OK
2788
2880
  */
2789
- 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)),
2881
+ 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)),
2790
2882
  /**
2791
2883
  * No description
2792
2884
  *
@@ -2797,7 +2889,7 @@ export class Api extends HttpClient {
2797
2889
  * @secure
2798
2890
  * @response `200` `(ListingPhoto)[]` OK
2799
2891
  */
2800
- updateListingPhotos: (listingId, data, params = {}) => this.request(Object.assign({ path: `/api/listings/${listingId}/photos`, method: "PATCH", body: data, secure: true, type: ContentType.Json, format: "json" }, params)),
2892
+ 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)),
2801
2893
  /**
2802
2894
  * No description
2803
2895
  *
@@ -2830,7 +2922,7 @@ export class Api extends HttpClient {
2830
2922
  * @secure
2831
2923
  * @response `201` `Listing` Created
2832
2924
  */
2833
- createListing: (data, params = {}) => this.request(Object.assign({ path: `/api/listings`, method: "POST", body: data, secure: true, type: ContentType.Json, format: "json" }, params)),
2925
+ createListing: (data, params = {}) => this.request(Object.assign({ path: `/api/listings`, method: "POST", body: data, secure: true, type: "application/json", format: "json" }, params)),
2834
2926
  /**
2835
2927
  * No description
2836
2928
  *
@@ -2863,7 +2955,7 @@ export class Api extends HttpClient {
2863
2955
  * @secure
2864
2956
  * @response `200` `Listing` OK
2865
2957
  */
2866
- replaceListing: (id, data, params = {}) => this.request(Object.assign({ path: `/api/listings/${id}`, method: "PUT", body: data, secure: true, type: ContentType.Json, format: "json" }, params)),
2958
+ replaceListing: (id, data, params = {}) => this.request(Object.assign({ path: `/api/listings/${id}`, method: "PUT", body: data, secure: true, type: "application/json", format: "json" }, params)),
2867
2959
  /**
2868
2960
  * No description
2869
2961
  *
@@ -2885,7 +2977,7 @@ export class Api extends HttpClient {
2885
2977
  * @secure
2886
2978
  * @response `200` `ListingPaginated` OK
2887
2979
  */
2888
- 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)),
2980
+ 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)),
2889
2981
  /**
2890
2982
  * No description
2891
2983
  *
@@ -2896,7 +2988,7 @@ export class Api extends HttpClient {
2896
2988
  * @secure
2897
2989
  * @response `200` `File` OK
2898
2990
  */
2899
- 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)),
2991
+ 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)),
2900
2992
  /**
2901
2993
  * No description
2902
2994
  *
@@ -2942,7 +3034,7 @@ export class Api extends HttpClient {
2942
3034
  * @response `422` `UnprocessableEntity` Unprocessable Content
2943
3035
  * @response `423` `UnprocessableEntity` Locked
2944
3036
  */
2945
- 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)),
3037
+ 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)),
2946
3038
  /**
2947
3039
  * No description
2948
3040
  *
@@ -2966,7 +3058,7 @@ export class Api extends HttpClient {
2966
3058
  * @response `422` `UnprocessableEntity` Unprocessable Content
2967
3059
  * @response `423` `UnprocessableEntity` Locked
2968
3060
  */
2969
- 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)),
3061
+ 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)),
2970
3062
  /**
2971
3063
  * No description
2972
3064
  *
@@ -2989,7 +3081,7 @@ export class Api extends HttpClient {
2989
3081
  * @response `204` `void` No Content
2990
3082
  * @response `422` `UnprocessableEntity` Unprocessable Content
2991
3083
  */
2992
- 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)),
3084
+ 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)),
2993
3085
  /**
2994
3086
  * No description
2995
3087
  *
@@ -3026,7 +3118,7 @@ export class Api extends HttpClient {
3026
3118
  * @response `400` `ProblemDetails` Bad Request
3027
3119
  * @response `422` `ProblemDetails` Unprocessable Content
3028
3120
  */
3029
- bulkSetLoanCustomFieldValues: (loanId, data, params = {}) => this.request(Object.assign({ path: `/api/loans/${loanId}/custom-fields`, method: "PUT", body: data, secure: true, type: ContentType.Json }, params)),
3121
+ bulkSetLoanCustomFieldValues: (loanId, data, params = {}) => this.request(Object.assign({ path: `/api/loans/${loanId}/custom-fields`, method: "PUT", body: data, secure: true, type: "application/json" }, params)),
3030
3122
  /**
3031
3123
  * No description
3032
3124
  *
@@ -3040,7 +3132,7 @@ export class Api extends HttpClient {
3040
3132
  * @response `404` `ProblemDetails` Not Found
3041
3133
  * @response `422` `ProblemDetails` Unprocessable Content
3042
3134
  */
3043
- 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)),
3135
+ 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)),
3044
3136
  /**
3045
3137
  * No description
3046
3138
  *
@@ -3075,7 +3167,7 @@ export class Api extends HttpClient {
3075
3167
  * @secure
3076
3168
  * @response `200` `LoanDocumentFolderPaginated` OK
3077
3169
  */
3078
- 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)),
3170
+ 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)),
3079
3171
  /**
3080
3172
  * No description
3081
3173
  *
@@ -3102,7 +3194,7 @@ export class Api extends HttpClient {
3102
3194
  * @response `409` `ProblemDetails` Conflict
3103
3195
  * @response `422` `ProblemDetails` Unprocessable Content
3104
3196
  */
3105
- 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)),
3197
+ 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)),
3106
3198
  /**
3107
3199
  * No description
3108
3200
  *
@@ -3129,7 +3221,7 @@ export class Api extends HttpClient {
3129
3221
  * @response `409` `ProblemDetails` Conflict
3130
3222
  * @response `422` `ProblemDetails` Unprocessable Content
3131
3223
  */
3132
- createLoanDocumentFolder: (data, params = {}) => this.request(Object.assign({ path: `/api/loan-document-folders`, method: "POST", body: data, secure: true, type: ContentType.Json, format: "json" }, params)),
3224
+ createLoanDocumentFolder: (data, params = {}) => this.request(Object.assign({ path: `/api/loan-document-folders`, method: "POST", body: data, secure: true, type: "application/json", format: "json" }, params)),
3133
3225
  /**
3134
3226
  * No description
3135
3227
  *
@@ -3189,7 +3281,7 @@ export class Api extends HttpClient {
3189
3281
  * @secure
3190
3282
  * @response `200` `(DocumentFolder)[]` OK
3191
3283
  */
3192
- 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)),
3284
+ 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)),
3193
3285
  /**
3194
3286
  * No description
3195
3287
  *
@@ -3213,7 +3305,7 @@ export class Api extends HttpClient {
3213
3305
  * @response `200` `Record<string,string>` OK
3214
3306
  * @response `400` `ProblemDetails` Bad Request
3215
3307
  */
3216
- 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)),
3308
+ 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)),
3217
3309
  /**
3218
3310
  * No description
3219
3311
  *
@@ -3224,7 +3316,7 @@ export class Api extends HttpClient {
3224
3316
  * @secure
3225
3317
  * @response `200` `LoanDocumentSearchPaginated` OK
3226
3318
  */
3227
- 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)),
3319
+ 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)),
3228
3320
  /**
3229
3321
  * No description
3230
3322
  *
@@ -3233,7 +3325,7 @@ export class Api extends HttpClient {
3233
3325
  * @summary Download By ID
3234
3326
  * @request GET:/api/loans/{loanId}/documents/{documentId}/download
3235
3327
  * @secure
3236
- * @response `200` `string` OK
3328
+ * @response `200` `Blob` OK
3237
3329
  * @response `404` `ProblemDetails` Not Found
3238
3330
  */
3239
3331
  downloadLoanDocument: (loanId, documentId, params = {}) => this.request(Object.assign({ path: `/api/loans/${loanId}/documents/${documentId}/download`, method: "GET", secure: true, format: "json" }, params)),
@@ -3249,7 +3341,7 @@ export class Api extends HttpClient {
3249
3341
  * @response `404` `ProblemDetails` Not Found
3250
3342
  * @response `422` `UnprocessableEntity` Unprocessable Content
3251
3343
  */
3252
- 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)),
3344
+ 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)),
3253
3345
  /**
3254
3346
  * No description
3255
3347
  *
@@ -3273,7 +3365,7 @@ export class Api extends HttpClient {
3273
3365
  * @secure
3274
3366
  * @response `200` `DocumentDataRequest` OK
3275
3367
  */
3276
- 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)),
3368
+ 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)),
3277
3369
  /**
3278
3370
  * No description
3279
3371
  *
@@ -3286,7 +3378,7 @@ export class Api extends HttpClient {
3286
3378
  * @response `400` `ProblemDetails` Bad Request
3287
3379
  * @response `404` `ProblemDetails` Not Found
3288
3380
  */
3289
- sendLoanDocuments: (loanId, data, params = {}) => this.request(Object.assign({ path: `/api/loans/${loanId}/documents/distribute`, method: "POST", body: data, secure: true, type: ContentType.Json }, params)),
3381
+ sendLoanDocuments: (loanId, data, params = {}) => this.request(Object.assign({ path: `/api/loans/${loanId}/documents/distribute`, method: "POST", body: data, secure: true, type: "application/json" }, params)),
3290
3382
  /**
3291
3383
  * @description Fetches all documents from Encompass that don't exist locally and stores them in S3
3292
3384
  *
@@ -3311,7 +3403,7 @@ export class Api extends HttpClient {
3311
3403
  * @response `404` `ProblemDetails` Not Found
3312
3404
  * @response `422` `UnprocessableEntity` Unprocessable Content
3313
3405
  */
3314
- 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)),
3406
+ 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)),
3315
3407
  /**
3316
3408
  * @description Re-attempts to push a failed document to LOS
3317
3409
  *
@@ -3335,7 +3427,7 @@ export class Api extends HttpClient {
3335
3427
  * @secure
3336
3428
  * @response `201` `Draft` Created
3337
3429
  */
3338
- createLoanDraft: (data, params = {}) => this.request(Object.assign({ path: `/api/loans/drafts`, method: "POST", body: data, secure: true, type: ContentType.Json, format: "json" }, params)),
3430
+ createLoanDraft: (data, params = {}) => this.request(Object.assign({ path: `/api/loans/drafts`, method: "POST", body: data, secure: true, type: "application/json", format: "json" }, params)),
3339
3431
  /**
3340
3432
  * No description
3341
3433
  *
@@ -3368,7 +3460,7 @@ export class Api extends HttpClient {
3368
3460
  * @secure
3369
3461
  * @response `200` `Draft` OK
3370
3462
  */
3371
- 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)),
3463
+ 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)),
3372
3464
  /**
3373
3465
  * No description
3374
3466
  *
@@ -3390,7 +3482,7 @@ export class Api extends HttpClient {
3390
3482
  * @secure
3391
3483
  * @response `201` `DraftContentPaginated` Created
3392
3484
  */
3393
- 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)),
3485
+ 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)),
3394
3486
  /**
3395
3487
  * No description
3396
3488
  *
@@ -3401,7 +3493,7 @@ export class Api extends HttpClient {
3401
3493
  * @secure
3402
3494
  * @response `200` `Draft` OK
3403
3495
  */
3404
- 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)),
3496
+ 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)),
3405
3497
  /**
3406
3498
  * No description
3407
3499
  *
@@ -3434,7 +3526,7 @@ export class Api extends HttpClient {
3434
3526
  * @secure
3435
3527
  * @response `201` `LoanImport` Created
3436
3528
  */
3437
- createLoanImport: (data, params = {}) => this.request(Object.assign({ path: `/api/loan-imports`, method: "POST", body: data, secure: true, type: ContentType.Json, format: "json" }, params)),
3529
+ createLoanImport: (data, params = {}) => this.request(Object.assign({ path: `/api/loan-imports`, method: "POST", body: data, secure: true, type: "application/json", format: "json" }, params)),
3438
3530
  /**
3439
3531
  * No description
3440
3532
  *
@@ -3480,7 +3572,7 @@ export class Api extends HttpClient {
3480
3572
  * @response `200` `(Invite)[]` OK
3481
3573
  * @response `404` `ProblemDetails` Not Found
3482
3574
  */
3483
- 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)),
3575
+ 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)),
3484
3576
  /**
3485
3577
  * No description
3486
3578
  *
@@ -3503,7 +3595,7 @@ export class Api extends HttpClient {
3503
3595
  * @secure
3504
3596
  * @response `200` `LoanLogPaginated` OK
3505
3597
  */
3506
- 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)),
3598
+ 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)),
3507
3599
  /**
3508
3600
  * No description
3509
3601
  *
@@ -3528,7 +3620,7 @@ export class Api extends HttpClient {
3528
3620
  * @response `400` `ProblemDetails` Bad Request
3529
3621
  * @response `404` `ProblemDetails` Not Found
3530
3622
  */
3531
- 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)),
3623
+ 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)),
3532
3624
  /**
3533
3625
  * No description
3534
3626
  *
@@ -3541,7 +3633,7 @@ export class Api extends HttpClient {
3541
3633
  * @response `400` `ProblemDetails` Bad Request
3542
3634
  * @response `404` `ProblemDetails` Not Found
3543
3635
  */
3544
- 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)),
3636
+ 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)),
3545
3637
  /**
3546
3638
  * No description
3547
3639
  *
@@ -3563,7 +3655,7 @@ export class Api extends HttpClient {
3563
3655
  * @secure
3564
3656
  * @response `200` `BranchUserPaginated` OK
3565
3657
  */
3566
- 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)),
3658
+ 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)),
3567
3659
  /**
3568
3660
  * No description
3569
3661
  *
@@ -3586,7 +3678,7 @@ export class Api extends HttpClient {
3586
3678
  * @response `200` `SiteConfiguration` OK
3587
3679
  * @response `422` `UnprocessableEntity` Unprocessable Content
3588
3680
  */
3589
- 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)),
3681
+ 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)),
3590
3682
  /**
3591
3683
  * No description
3592
3684
  *
@@ -3609,7 +3701,7 @@ export class Api extends HttpClient {
3609
3701
  * @response `200` `SiteConfiguration` OK
3610
3702
  * @response `422` `UnprocessableEntity` Unprocessable Content
3611
3703
  */
3612
- 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)),
3704
+ 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)),
3613
3705
  /**
3614
3706
  * No description
3615
3707
  *
@@ -3620,7 +3712,7 @@ export class Api extends HttpClient {
3620
3712
  * @secure
3621
3713
  * @response `200` `LoanQueuePaginated` OK
3622
3714
  */
3623
- 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)),
3715
+ 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)),
3624
3716
  /**
3625
3717
  * No description
3626
3718
  *
@@ -3644,7 +3736,7 @@ export class Api extends HttpClient {
3644
3736
  * @response `200` `LoanQueueWithData` OK
3645
3737
  * @response `404` `ProblemDetails` Not Found
3646
3738
  */
3647
- 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)),
3739
+ 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)),
3648
3740
  /**
3649
3741
  * No description
3650
3742
  *
@@ -3705,7 +3797,7 @@ export class Api extends HttpClient {
3705
3797
  * @response `401` `ProblemDetails` Unauthorized
3706
3798
  * @response `403` `ProblemDetails` Forbidden
3707
3799
  */
3708
- createLoanv3: (data, params = {}) => this.request(Object.assign({ path: `/api/loans`, method: "POST", body: data, secure: true, type: ContentType.Json, format: "json" }, params)),
3800
+ createLoanv3: (data, params = {}) => this.request(Object.assign({ path: `/api/loans`, method: "POST", body: data, secure: true, type: "application/json", format: "json" }, params)),
3709
3801
  /**
3710
3802
  * No description
3711
3803
  *
@@ -3716,7 +3808,7 @@ export class Api extends HttpClient {
3716
3808
  * @secure
3717
3809
  * @response `200` `LoanListPaginated` OK
3718
3810
  */
3719
- 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)),
3811
+ 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)),
3720
3812
  /**
3721
3813
  * No description
3722
3814
  *
@@ -3732,7 +3824,7 @@ export class Api extends HttpClient {
3732
3824
  * @response `404` `ProblemDetails` Not Found
3733
3825
  * @response `409` `any` Conflict
3734
3826
  */
3735
- updateLoan: (loanId, data, params = {}) => this.request(Object.assign({ path: `/api/loans/${loanId}`, method: "PATCH", body: data, secure: true, type: ContentType.Json, format: "json" }, params)),
3827
+ updateLoan: (loanId, data, params = {}) => this.request(Object.assign({ path: `/api/loans/${loanId}`, method: "PATCH", body: data, secure: true, type: "application/json", format: "json" }, params)),
3736
3828
  /**
3737
3829
  * No description
3738
3830
  *
@@ -3794,7 +3886,7 @@ export class Api extends HttpClient {
3794
3886
  * @response `400` `ProblemDetails` Bad Request
3795
3887
  * @response `404` `ProblemDetails` Not Found
3796
3888
  */
3797
- 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)),
3889
+ 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)),
3798
3890
  /**
3799
3891
  * No description
3800
3892
  *
@@ -3806,7 +3898,7 @@ export class Api extends HttpClient {
3806
3898
  * @response `200` `TaskCommentPaginated` OK
3807
3899
  * @response `404` `ProblemDetails` Not Found
3808
3900
  */
3809
- 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)),
3901
+ 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)),
3810
3902
  /**
3811
3903
  * No description
3812
3904
  *
@@ -3830,7 +3922,7 @@ export class Api extends HttpClient {
3830
3922
  * @response `201` `TaskComment` Created
3831
3923
  * @response `404` `ProblemDetails` Not Found
3832
3924
  */
3833
- 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)),
3925
+ 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)),
3834
3926
  /**
3835
3927
  * No description
3836
3928
  *
@@ -3842,7 +3934,7 @@ export class Api extends HttpClient {
3842
3934
  * @response `200` `TaskComment` OK
3843
3935
  * @response `404` `ProblemDetails` Not Found
3844
3936
  */
3845
- 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)),
3937
+ 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)),
3846
3938
  /**
3847
3939
  * No description
3848
3940
  *
@@ -3867,7 +3959,7 @@ export class Api extends HttpClient {
3867
3959
  * @response `404` `ProblemDetails` Not Found
3868
3960
  * @response `422` `UnprocessableEntity` Unprocessable Content
3869
3961
  */
3870
- 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)),
3962
+ 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)),
3871
3963
  /**
3872
3964
  * No description
3873
3965
  *
@@ -3881,7 +3973,7 @@ export class Api extends HttpClient {
3881
3973
  * @response `404` `ProblemDetails` Not Found
3882
3974
  * @response `422` `ProblemDetails` Unprocessable Content
3883
3975
  */
3884
- 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)),
3976
+ 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)),
3885
3977
  /**
3886
3978
  * No description
3887
3979
  *
@@ -3894,7 +3986,7 @@ export class Api extends HttpClient {
3894
3986
  * @response `400` `ProblemDetails` Bad Request
3895
3987
  * @response `404` `ProblemDetails` Not Found
3896
3988
  */
3897
- sendLoanTaskReminder: (loanId, data, params = {}) => this.request(Object.assign({ path: `/api/loans/${loanId}/tasks/reminders`, method: "POST", body: data, secure: true, type: ContentType.Json }, params)),
3989
+ sendLoanTaskReminder: (loanId, data, params = {}) => this.request(Object.assign({ path: `/api/loans/${loanId}/tasks/reminders`, method: "POST", body: data, secure: true, type: "application/json" }, params)),
3898
3990
  /**
3899
3991
  * @description Search tasks across all loans
3900
3992
  *
@@ -3905,7 +3997,7 @@ export class Api extends HttpClient {
3905
3997
  * @secure
3906
3998
  * @response `200` `UserLoanTaskPaginated` OK
3907
3999
  */
3908
- 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)),
4000
+ 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)),
3909
4001
  /**
3910
4002
  * @description Returns task counts grouped by status for loans accessible to the current user based on their role
3911
4003
  *
@@ -3917,7 +4009,7 @@ export class Api extends HttpClient {
3917
4009
  * @response `200` `(LoanTaskStatusSummary)[]` OK
3918
4010
  * @response `422` `UnprocessableEntity` Unprocessable Content
3919
4011
  */
3920
- 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)),
4012
+ 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)),
3921
4013
  /**
3922
4014
  * No description
3923
4015
  *
@@ -3965,7 +4057,7 @@ export class Api extends HttpClient {
3965
4057
  * @response `201` `UserLoanTask` Created
3966
4058
  * @response `404` `ProblemDetails` Not Found
3967
4059
  */
3968
- 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)),
4060
+ 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)),
3969
4061
  /**
3970
4062
  * No description
3971
4063
  *
@@ -3977,7 +4069,7 @@ export class Api extends HttpClient {
3977
4069
  * @response `201` `(UserLoanTask)[]` Created
3978
4070
  * @response `404` `ProblemDetails` Not Found
3979
4071
  */
3980
- 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)),
4072
+ 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)),
3981
4073
  /**
3982
4074
  * No description
3983
4075
  *
@@ -3989,7 +4081,7 @@ export class Api extends HttpClient {
3989
4081
  * @response `200` `UserLoanTask` OK
3990
4082
  * @response `404` `ProblemDetails` Not Found
3991
4083
  */
3992
- 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)),
4084
+ 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)),
3993
4085
  /**
3994
4086
  * No description
3995
4087
  *
@@ -4048,7 +4140,7 @@ export class Api extends HttpClient {
4048
4140
  * @secure
4049
4141
  * @response `201` `LoanUser` Created
4050
4142
  */
4051
- 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)),
4143
+ 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)),
4052
4144
  /**
4053
4145
  * No description
4054
4146
  *
@@ -4081,7 +4173,62 @@ export class Api extends HttpClient {
4081
4173
  * @secure
4082
4174
  * @response `200` `LosOperationTrackingPaginated` OK
4083
4175
  */
4084
- 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)),
4176
+ 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)),
4177
+ /**
4178
+ * No description
4179
+ *
4180
+ * @tags LosOutboundSyncFailures
4181
+ * @name SearchOutboundSyncFailures
4182
+ * @summary Search cross-account failed outbound Encompass syncs (SuperAdmin)
4183
+ * @request POST:/api/monitoring/outbound-sync-failures/search
4184
+ * @secure
4185
+ * @response `200` `LosSyncPaginated` OK
4186
+ * @response `400` `ProblemDetails` Bad Request
4187
+ * @response `401` `ProblemDetails` Unauthorized
4188
+ * @response `403` `ProblemDetails` Forbidden
4189
+ */
4190
+ searchOutboundSyncFailures: (data, query, params = {}) => this.request(Object.assign({ path: `/api/monitoring/outbound-sync-failures/search`, method: "POST", query: query, body: data, secure: true, type: "application/json", format: "json" }, params)),
4191
+ /**
4192
+ * No description
4193
+ *
4194
+ * @tags LosOutboundSyncFailures
4195
+ * @name GetOutboundSyncFailuresSummary
4196
+ * @summary Summarize cross-account failed outbound Encompass syncs (SuperAdmin)
4197
+ * @request POST:/api/monitoring/outbound-sync-failures/summary
4198
+ * @secure
4199
+ * @response `200` `LosSyncOutboundFailuresSummary` OK
4200
+ * @response `401` `ProblemDetails` Unauthorized
4201
+ * @response `403` `ProblemDetails` Forbidden
4202
+ */
4203
+ getOutboundSyncFailuresSummary: (data, query, params = {}) => this.request(Object.assign({ path: `/api/monitoring/outbound-sync-failures/summary`, method: "POST", query: query, body: data, secure: true, type: "application/json", format: "json" }, params)),
4204
+ /**
4205
+ * No description
4206
+ *
4207
+ * @tags LosOutboundSyncFailures
4208
+ * @name ResyncOutboundSyncFailure
4209
+ * @summary Manually re-sync a failed outbound Encompass sync (SuperAdmin)
4210
+ * @request POST:/api/monitoring/outbound-sync-failures/{correlationId}/resync
4211
+ * @secure
4212
+ * @response `202` `void` Accepted
4213
+ * @response `401` `ProblemDetails` Unauthorized
4214
+ * @response `403` `ProblemDetails` Forbidden
4215
+ * @response `404` `ProblemDetails` Not Found
4216
+ */
4217
+ resyncOutboundSyncFailure: (correlationId, query, params = {}) => this.request(Object.assign({ path: `/api/monitoring/outbound-sync-failures/${correlationId}/resync`, method: "POST", query: query, secure: true }, params)),
4218
+ /**
4219
+ * No description
4220
+ *
4221
+ * @tags LosOutboundSyncFailures
4222
+ * @name GetCurrentOutboundSync
4223
+ * @summary Get the latest outbound Encompass sync for a loan in any state, including in-flight (SuperAdmin)
4224
+ * @request GET:/api/monitoring/outbound-sync-failures/loans/{loanId}/current
4225
+ * @secure
4226
+ * @response `200` `LosSync` OK
4227
+ * @response `401` `ProblemDetails` Unauthorized
4228
+ * @response `403` `ProblemDetails` Forbidden
4229
+ * @response `404` `ProblemDetails` Not Found
4230
+ */
4231
+ getCurrentOutboundSync: (loanId, query, params = {}) => this.request(Object.assign({ path: `/api/monitoring/outbound-sync-failures/loans/${loanId}/current`, method: "GET", query: query, secure: true, format: "json" }, params)),
4085
4232
  /**
4086
4233
  * No description
4087
4234
  *
@@ -4094,7 +4241,7 @@ export class Api extends HttpClient {
4094
4241
  * @response `401` `ProblemDetails` Unauthorized
4095
4242
  * @response `403` `ProblemDetails` Forbidden
4096
4243
  */
4097
- 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)),
4244
+ 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)),
4098
4245
  /**
4099
4246
  * No description
4100
4247
  *
@@ -4107,7 +4254,7 @@ export class Api extends HttpClient {
4107
4254
  * @response `401` `ProblemDetails` Unauthorized
4108
4255
  * @response `403` `ProblemDetails` Forbidden
4109
4256
  */
4110
- 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)),
4257
+ 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)),
4111
4258
  /**
4112
4259
  * No description
4113
4260
  *
@@ -4144,7 +4291,7 @@ export class Api extends HttpClient {
4144
4291
  * @response `201` `MilestoneConfiguration` Created
4145
4292
  * @response `422` `UnprocessableEntity` Unprocessable Content
4146
4293
  */
4147
- createMilestone: (data, params = {}) => this.request(Object.assign({ path: `/api/milestones`, method: "POST", body: data, secure: true, type: ContentType.Json, format: "json" }, params)),
4294
+ createMilestone: (data, params = {}) => this.request(Object.assign({ path: `/api/milestones`, method: "POST", body: data, secure: true, type: "application/json", format: "json" }, params)),
4148
4295
  /**
4149
4296
  * No description
4150
4297
  *
@@ -4169,7 +4316,7 @@ export class Api extends HttpClient {
4169
4316
  * @response `404` `Error` Not Found
4170
4317
  * @response `422` `UnprocessableEntity` Unprocessable Content
4171
4318
  */
4172
- replaceMilestone: (id, data, params = {}) => this.request(Object.assign({ path: `/api/milestones/${id}`, method: "PUT", body: data, secure: true, type: ContentType.Json, format: "json" }, params)),
4319
+ replaceMilestone: (id, data, params = {}) => this.request(Object.assign({ path: `/api/milestones/${id}`, method: "PUT", body: data, secure: true, type: "application/json", format: "json" }, params)),
4173
4320
  /**
4174
4321
  * No description
4175
4322
  *
@@ -4195,7 +4342,7 @@ export class Api extends HttpClient {
4195
4342
  * @response `404` `ProblemDetails` Not Found
4196
4343
  * @response `422` `ProblemDetails` Unprocessable Content
4197
4344
  */
4198
- 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)),
4345
+ 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)),
4199
4346
  /**
4200
4347
  * No description
4201
4348
  *
@@ -4207,7 +4354,7 @@ export class Api extends HttpClient {
4207
4354
  * @response `200` `MonthlyPaymentCalculator` OK
4208
4355
  * @response `422` `ProblemDetails` Unprocessable Content
4209
4356
  */
4210
- 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)),
4357
+ 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)),
4211
4358
  /**
4212
4359
  * No description
4213
4360
  *
@@ -4219,7 +4366,7 @@ export class Api extends HttpClient {
4219
4366
  * @response `200` `AffordabilityCalculator` OK
4220
4367
  * @response `422` `ProblemDetails` Unprocessable Content
4221
4368
  */
4222
- calculateMortgageAffordability: (data, params = {}) => this.request(Object.assign({ path: `/api/mortgage-calculators/affordability`, method: "POST", body: data, secure: true, type: ContentType.Json, format: "json" }, params)),
4369
+ calculateMortgageAffordability: (data, params = {}) => this.request(Object.assign({ path: `/api/mortgage-calculators/affordability`, method: "POST", body: data, secure: true, type: "application/json", format: "json" }, params)),
4223
4370
  /**
4224
4371
  * No description
4225
4372
  *
@@ -4231,7 +4378,7 @@ export class Api extends HttpClient {
4231
4378
  * @response `200` `LoanComparisonCalculator` OK
4232
4379
  * @response `422` `ProblemDetails` Unprocessable Content
4233
4380
  */
4234
- 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)),
4381
+ 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)),
4235
4382
  /**
4236
4383
  * No description
4237
4384
  *
@@ -4243,7 +4390,7 @@ export class Api extends HttpClient {
4243
4390
  * @response `200` `RefinanceCalculator` OK
4244
4391
  * @response `422` `ProblemDetails` Unprocessable Content
4245
4392
  */
4246
- calculateMortgageRefinance: (data, params = {}) => this.request(Object.assign({ path: `/api/mortgage-calculators/refinance`, method: "POST", body: data, secure: true, type: ContentType.Json, format: "json" }, params)),
4393
+ calculateMortgageRefinance: (data, params = {}) => this.request(Object.assign({ path: `/api/mortgage-calculators/refinance`, method: "POST", body: data, secure: true, type: "application/json", format: "json" }, params)),
4247
4394
  /**
4248
4395
  * No description
4249
4396
  *
@@ -4266,7 +4413,7 @@ export class Api extends HttpClient {
4266
4413
  * @response `201` `NotificationTemplate` Created
4267
4414
  * @response `422` `UnprocessableEntity` Unprocessable Content
4268
4415
  */
4269
- createNotificationTemplate: (data, params = {}) => this.request(Object.assign({ path: `/api/notification-templates`, method: "POST", body: data, secure: true, type: ContentType.Json, format: "json" }, params)),
4416
+ createNotificationTemplate: (data, params = {}) => this.request(Object.assign({ path: `/api/notification-templates`, method: "POST", body: data, secure: true, type: "application/json", format: "json" }, params)),
4270
4417
  /**
4271
4418
  * No description
4272
4419
  *
@@ -4277,7 +4424,7 @@ export class Api extends HttpClient {
4277
4424
  * @secure
4278
4425
  * @response `200` `NotificationTemplateBasePaginated` OK
4279
4426
  */
4280
- 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)),
4427
+ 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)),
4281
4428
  /**
4282
4429
  * No description
4283
4430
  *
@@ -4300,7 +4447,7 @@ export class Api extends HttpClient {
4300
4447
  * @response `200` `NotificationTemplate` OK
4301
4448
  * @response `422` `UnprocessableEntity` Unprocessable Content
4302
4449
  */
4303
- 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)),
4450
+ 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)),
4304
4451
  /**
4305
4452
  * No description
4306
4453
  *
@@ -4344,7 +4491,7 @@ export class Api extends HttpClient {
4344
4491
  * @secure
4345
4492
  * @response `200` `NotificationTemplateVersion` OK
4346
4493
  */
4347
- 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)),
4494
+ 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)),
4348
4495
  /**
4349
4496
  * No description
4350
4497
  *
@@ -4366,7 +4513,7 @@ export class Api extends HttpClient {
4366
4513
  * @secure
4367
4514
  * @response `200` `NotificationTemplateVersion` OK
4368
4515
  */
4369
- 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)),
4516
+ 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)),
4370
4517
  /**
4371
4518
  * No description
4372
4519
  *
@@ -4399,7 +4546,7 @@ export class Api extends HttpClient {
4399
4546
  * @secure
4400
4547
  * @response `200` `BranchUserPaginated` OK
4401
4548
  */
4402
- 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)),
4549
+ 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)),
4403
4550
  /**
4404
4551
  * No description
4405
4552
  *
@@ -4422,7 +4569,7 @@ export class Api extends HttpClient {
4422
4569
  * @response `200` `SiteConfiguration` OK
4423
4570
  * @response `422` `UnprocessableEntity` Unprocessable Content
4424
4571
  */
4425
- 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)),
4572
+ 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)),
4426
4573
  /**
4427
4574
  * No description
4428
4575
  *
@@ -4445,7 +4592,7 @@ export class Api extends HttpClient {
4445
4592
  * @response `200` `SiteConfiguration` OK
4446
4593
  * @response `422` `UnprocessableEntity` Unprocessable Content
4447
4594
  */
4448
- 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)),
4595
+ 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)),
4449
4596
  /**
4450
4597
  * No description
4451
4598
  *
@@ -4469,7 +4616,7 @@ export class Api extends HttpClient {
4469
4616
  * @response `200` `SiteConfigurationByUrl` OK
4470
4617
  * @response `422` `UnprocessableEntity` Unprocessable Content
4471
4618
  */
4472
- searchSiteConfigurationByUrl: (data, params = {}) => this.request(Object.assign({ path: `/api/site-configurations/url`, method: "POST", body: data, secure: true, type: ContentType.Json, format: "json" }, params)),
4619
+ searchSiteConfigurationByUrl: (data, params = {}) => this.request(Object.assign({ path: `/api/site-configurations/url`, method: "POST", body: data, secure: true, type: "application/json", format: "json" }, params)),
4473
4620
  /**
4474
4621
  * No description
4475
4622
  *
@@ -4494,7 +4641,7 @@ export class Api extends HttpClient {
4494
4641
  * @response `200` `SiteConfiguration` OK
4495
4642
  * @response `422` `UnprocessableEntity` Unprocessable Content
4496
4643
  */
4497
- searchSiteConfigurationByLoanOfficerUser: (data, params = {}) => this.request(Object.assign({ path: `/api/site-configurations/louser`, method: "POST", body: data, secure: true, type: ContentType.Json, format: "json" }, params)),
4644
+ searchSiteConfigurationByLoanOfficerUser: (data, params = {}) => this.request(Object.assign({ path: `/api/site-configurations/louser`, method: "POST", body: data, secure: true, type: "application/json", format: "json" }, params)),
4498
4645
  /**
4499
4646
  * No description
4500
4647
  *
@@ -4518,7 +4665,7 @@ export class Api extends HttpClient {
4518
4665
  * @response `200` `SiteConfigurationSummaryPaginated` OK
4519
4666
  * @response `422` `UnprocessableEntity` Unprocessable Content
4520
4667
  */
4521
- 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)),
4668
+ 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)),
4522
4669
  /**
4523
4670
  * No description
4524
4671
  *
@@ -4610,7 +4757,7 @@ export class Api extends HttpClient {
4610
4757
  * @secure
4611
4758
  * @response `200` `GetForm` OK
4612
4759
  */
4613
- getFormBySiteConfigurationSlug: (data, params = {}) => this.request(Object.assign({ path: `/api/site-forms`, method: "POST", body: data, secure: true, type: ContentType.Json, format: "json" }, params)),
4760
+ getFormBySiteConfigurationSlug: (data, params = {}) => this.request(Object.assign({ path: `/api/site-forms`, method: "POST", body: data, secure: true, type: "application/json", format: "json" }, params)),
4614
4761
  /**
4615
4762
  * No description
4616
4763
  *
@@ -4622,7 +4769,7 @@ export class Api extends HttpClient {
4622
4769
  * @response `200` `SiteTilePaginated` OK
4623
4770
  * @response `403` `ProblemDetails` Forbidden
4624
4771
  */
4625
- 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)),
4772
+ 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)),
4626
4773
  /**
4627
4774
  * No description
4628
4775
  *
@@ -4662,7 +4809,7 @@ export class Api extends HttpClient {
4662
4809
  * @response `403` `ProblemDetails` Forbidden
4663
4810
  * @response `404` `ProblemDetails` Not Found
4664
4811
  */
4665
- 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)),
4812
+ 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)),
4666
4813
  /**
4667
4814
  * No description
4668
4815
  *
@@ -4688,7 +4835,7 @@ export class Api extends HttpClient {
4688
4835
  * @response `400` `ProblemDetails` Bad Request
4689
4836
  * @response `403` `ProblemDetails` Forbidden
4690
4837
  */
4691
- createSiteTile: (data, params = {}) => this.request(Object.assign({ path: `/api/site-tiles`, method: "POST", body: data, secure: true, type: ContentType.Json, format: "json" }, params)),
4838
+ createSiteTile: (data, params = {}) => this.request(Object.assign({ path: `/api/site-tiles`, method: "POST", body: data, secure: true, type: "application/json", format: "json" }, params)),
4692
4839
  /**
4693
4840
  * No description
4694
4841
  *
@@ -4711,7 +4858,7 @@ export class Api extends HttpClient {
4711
4858
  * @response `200` `(SocialSurveyRecord)[]` OK
4712
4859
  * @response `422` `UnprocessableEntity` Unprocessable Content
4713
4860
  */
4714
- getSurveysByUser: (data, params = {}) => this.request(Object.assign({ path: `/api/surveys`, method: "POST", body: data, secure: true, type: ContentType.Json, format: "json" }, params)),
4861
+ getSurveysByUser: (data, params = {}) => this.request(Object.assign({ path: `/api/surveys`, method: "POST", body: data, secure: true, type: "application/json", format: "json" }, params)),
4715
4862
  /**
4716
4863
  * No description
4717
4864
  *
@@ -4734,7 +4881,7 @@ export class Api extends HttpClient {
4734
4881
  * @secure
4735
4882
  * @response `201` `Task` Created
4736
4883
  */
4737
- createTask: (data, params = {}) => this.request(Object.assign({ path: `/api/tasks`, method: "POST", body: data, secure: true, type: ContentType.Json, format: "json" }, params)),
4884
+ createTask: (data, params = {}) => this.request(Object.assign({ path: `/api/tasks`, method: "POST", body: data, secure: true, type: "application/json", format: "json" }, params)),
4738
4885
  /**
4739
4886
  * No description
4740
4887
  *
@@ -4758,7 +4905,7 @@ export class Api extends HttpClient {
4758
4905
  * @response `200` `Task` OK
4759
4906
  * @response `404` `ProblemDetails` Not Found
4760
4907
  */
4761
- replaceTask: (id, data, params = {}) => this.request(Object.assign({ path: `/api/tasks/${id}`, method: "PUT", body: data, secure: true, type: ContentType.Json, format: "json" }, params)),
4908
+ replaceTask: (id, data, params = {}) => this.request(Object.assign({ path: `/api/tasks/${id}`, method: "PUT", body: data, secure: true, type: "application/json", format: "json" }, params)),
4762
4909
  /**
4763
4910
  * No description
4764
4911
  *
@@ -4781,7 +4928,7 @@ export class Api extends HttpClient {
4781
4928
  * @secure
4782
4929
  * @response `200` `TaskPaginated` OK
4783
4930
  */
4784
- 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)),
4931
+ 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)),
4785
4932
  /**
4786
4933
  * No description
4787
4934
  *
@@ -4791,7 +4938,7 @@ export class Api extends HttpClient {
4791
4938
  * @secure
4792
4939
  * @response `200` `void` OK
4793
4940
  */
4794
- integrationsLosLoansCreate: (data, params = {}) => this.request(Object.assign({ path: `/api/integrations/los/loans`, method: "POST", body: data, secure: true, type: ContentType.Json }, params)),
4941
+ integrationsLosLoansCreate: (data, params = {}) => this.request(Object.assign({ path: `/api/integrations/los/loans`, method: "POST", body: data, secure: true, type: "application/json" }, params)),
4795
4942
  /**
4796
4943
  * No description
4797
4944
  *
@@ -4802,7 +4949,7 @@ export class Api extends HttpClient {
4802
4949
  * @secure
4803
4950
  * @response `200` `EncompassRequestLogPaginated` OK
4804
4951
  */
4805
- 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)),
4952
+ 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)),
4806
4953
  /**
4807
4954
  * No description
4808
4955
  *
@@ -4825,7 +4972,7 @@ export class Api extends HttpClient {
4825
4972
  * @secure
4826
4973
  * @response `201` `LosCredentials` Created
4827
4974
  */
4828
- createEncompassCredentials: (data, params = {}) => this.request(Object.assign({ path: `/api/los/encompass/credentials`, method: "POST", body: data, secure: true, type: ContentType.Json, format: "json" }, params)),
4975
+ createEncompassCredentials: (data, params = {}) => this.request(Object.assign({ path: `/api/los/encompass/credentials`, method: "POST", body: data, secure: true, type: "application/json", format: "json" }, params)),
4829
4976
  /**
4830
4977
  * No description
4831
4978
  *
@@ -4836,7 +4983,7 @@ export class Api extends HttpClient {
4836
4983
  * @secure
4837
4984
  * @response `200` `EncompassCredentialsDetail` OK
4838
4985
  */
4839
- updateEncompassCredentials: (data, params = {}) => this.request(Object.assign({ path: `/api/los/encompass/credentials`, method: "PUT", body: data, secure: true, type: ContentType.Json, format: "json" }, params)),
4986
+ updateEncompassCredentials: (data, params = {}) => this.request(Object.assign({ path: `/api/los/encompass/credentials`, method: "PUT", body: data, secure: true, type: "application/json", format: "json" }, params)),
4840
4987
  /**
4841
4988
  * No description
4842
4989
  *
@@ -4858,7 +5005,7 @@ export class Api extends HttpClient {
4858
5005
  * @secure
4859
5006
  * @response `201` `LosWebhook` Created
4860
5007
  */
4861
- createEncompassWebhook: (data, params = {}) => this.request(Object.assign({ path: `/api/los/encompass/webhooks`, method: "POST", body: data, secure: true, type: ContentType.Json, format: "json" }, params)),
5008
+ createEncompassWebhook: (data, params = {}) => this.request(Object.assign({ path: `/api/los/encompass/webhooks`, method: "POST", body: data, secure: true, type: "application/json", format: "json" }, params)),
4862
5009
  /**
4863
5010
  * No description
4864
5011
  *
@@ -4880,7 +5027,7 @@ export class Api extends HttpClient {
4880
5027
  * @secure
4881
5028
  * @response `200` `LosSyncPaginated` OK
4882
5029
  */
4883
- 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)),
5030
+ 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)),
4884
5031
  /**
4885
5032
  * No description
4886
5033
  *
@@ -4963,7 +5110,7 @@ export class Api extends HttpClient {
4963
5110
  * @response `201` `UserDevice` Created
4964
5111
  * @response `400` `ProblemDetails` Bad Request
4965
5112
  */
4966
- createUserDevice: (data, params = {}) => this.request(Object.assign({ path: `/api/userdevices`, method: "POST", body: data, secure: true, type: ContentType.Json, format: "json" }, params)),
5113
+ createUserDevice: (data, params = {}) => this.request(Object.assign({ path: `/api/userdevices`, method: "POST", body: data, secure: true, type: "application/json", format: "json" }, params)),
4967
5114
  /**
4968
5115
  * No description
4969
5116
  *
@@ -5010,7 +5157,7 @@ export class Api extends HttpClient {
5010
5157
  * @response `404` `ProblemDetails` Not Found
5011
5158
  * @response `409` `ProblemDetails` Conflict
5012
5159
  */
5013
- 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)),
5160
+ 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)),
5014
5161
  /**
5015
5162
  * No description
5016
5163
  *
@@ -5043,7 +5190,7 @@ export class Api extends HttpClient {
5043
5190
  * @secure
5044
5191
  * @response `200` `UserGroupAccessScope` OK
5045
5192
  */
5046
- 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)),
5193
+ 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)),
5047
5194
  /**
5048
5195
  * No description
5049
5196
  *
@@ -5076,7 +5223,7 @@ export class Api extends HttpClient {
5076
5223
  * @secure
5077
5224
  * @response `200` `UserGroupMember` OK
5078
5225
  */
5079
- 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)),
5226
+ 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)),
5080
5227
  /**
5081
5228
  * No description
5082
5229
  *
@@ -5120,7 +5267,7 @@ export class Api extends HttpClient {
5120
5267
  * @secure
5121
5268
  * @response `200` `UserGroup` OK
5122
5269
  */
5123
- 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)),
5270
+ 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)),
5124
5271
  /**
5125
5272
  * No description
5126
5273
  *
@@ -5142,7 +5289,7 @@ export class Api extends HttpClient {
5142
5289
  * @secure
5143
5290
  * @response `201` `UserGroup` Created
5144
5291
  */
5145
- createUserGroup: (data, params = {}) => this.request(Object.assign({ path: `/api/user-groups`, method: "POST", body: data, secure: true, type: ContentType.Json, format: "json" }, params)),
5292
+ createUserGroup: (data, params = {}) => this.request(Object.assign({ path: `/api/user-groups`, method: "POST", body: data, secure: true, type: "application/json", format: "json" }, params)),
5146
5293
  /**
5147
5294
  * No description
5148
5295
  *
@@ -5155,7 +5302,7 @@ export class Api extends HttpClient {
5155
5302
  * @response `404` `Error` Not Found
5156
5303
  * @response `422` `UnprocessableEntity` Unprocessable Content
5157
5304
  */
5158
- requestImpersonation: (data, params = {}) => this.request(Object.assign({ path: `/api/users/impersonation/request`, method: "POST", body: data, secure: true, type: ContentType.Json }, params)),
5305
+ requestImpersonation: (data, params = {}) => this.request(Object.assign({ path: `/api/users/impersonation/request`, method: "POST", body: data, secure: true, type: "application/json" }, params)),
5159
5306
  /**
5160
5307
  * No description
5161
5308
  *
@@ -5168,7 +5315,7 @@ export class Api extends HttpClient {
5168
5315
  * @response `404` `Error` Not Found
5169
5316
  * @response `422` `UnprocessableEntity` Unprocessable Content
5170
5317
  */
5171
- allowImpersonation: (data, params = {}) => this.request(Object.assign({ path: `/api/users/impersonation/allow`, method: "POST", body: data, secure: true, type: ContentType.Json }, params)),
5318
+ allowImpersonation: (data, params = {}) => this.request(Object.assign({ path: `/api/users/impersonation/allow`, method: "POST", body: data, secure: true, type: "application/json" }, params)),
5172
5319
  /**
5173
5320
  * No description
5174
5321
  *
@@ -5218,7 +5365,7 @@ export class Api extends HttpClient {
5218
5365
  * @response `404` `Error` Not Found
5219
5366
  * @response `422` `UnprocessableEntity` Unprocessable Content
5220
5367
  */
5221
- forceImpersonation: (data, params = {}) => this.request(Object.assign({ path: `/api/users/impersonation/force`, method: "POST", body: data, secure: true, type: ContentType.Json }, params)),
5368
+ forceImpersonation: (data, params = {}) => this.request(Object.assign({ path: `/api/users/impersonation/force`, method: "POST", body: data, secure: true, type: "application/json" }, params)),
5222
5369
  /**
5223
5370
  * No description
5224
5371
  *
@@ -5242,7 +5389,7 @@ export class Api extends HttpClient {
5242
5389
  * @response `204` `void` No Content
5243
5390
  * @response `422` `UnprocessableEntity` Unprocessable Content
5244
5391
  */
5245
- inviteUser: (data, params = {}) => this.request(Object.assign({ path: `/api/users/invites`, method: "POST", body: data, secure: true, type: ContentType.Json }, params)),
5392
+ inviteUser: (data, params = {}) => this.request(Object.assign({ path: `/api/users/invites`, method: "POST", body: data, secure: true, type: "application/json" }, params)),
5246
5393
  /**
5247
5394
  * No description
5248
5395
  *
@@ -5280,7 +5427,7 @@ export class Api extends HttpClient {
5280
5427
  * @secure
5281
5428
  * @response `204` `void` No Content
5282
5429
  */
5283
- requestUserReactivation: (data, params = {}) => this.request(Object.assign({ path: `/api/users/reactivation/request`, method: "POST", body: data, secure: true, type: ContentType.Json }, params)),
5430
+ requestUserReactivation: (data, params = {}) => this.request(Object.assign({ path: `/api/users/reactivation/request`, method: "POST", body: data, secure: true, type: "application/json" }, params)),
5284
5431
  /**
5285
5432
  * No description
5286
5433
  *
@@ -5292,7 +5439,7 @@ export class Api extends HttpClient {
5292
5439
  * @response `204` `void` No Content
5293
5440
  * @response `400` `ProblemDetails` Bad Request
5294
5441
  */
5295
- completeUserReactivation: (data, params = {}) => this.request(Object.assign({ path: `/api/users/reactivation/complete`, method: "POST", body: data, secure: true, type: ContentType.Json }, params)),
5442
+ completeUserReactivation: (data, params = {}) => this.request(Object.assign({ path: `/api/users/reactivation/complete`, method: "POST", body: data, secure: true, type: "application/json" }, params)),
5296
5443
  /**
5297
5444
  * No description
5298
5445
  *
@@ -5314,7 +5461,7 @@ export class Api extends HttpClient {
5314
5461
  * @secure
5315
5462
  * @response `204` `void` No Content
5316
5463
  */
5317
- createUserRelation: (userId, data, params = {}) => this.request(Object.assign({ path: `/api/users/${userId}/relations`, method: "POST", body: data, secure: true, type: ContentType.Json }, params)),
5464
+ createUserRelation: (userId, data, params = {}) => this.request(Object.assign({ path: `/api/users/${userId}/relations`, method: "POST", body: data, secure: true, type: "application/json" }, params)),
5318
5465
  /**
5319
5466
  * No description
5320
5467
  *
@@ -5360,7 +5507,7 @@ export class Api extends HttpClient {
5360
5507
  * @response `409` `ProblemDetails` Conflict
5361
5508
  * @response `422` `UnprocessableEntity` Unprocessable Content
5362
5509
  */
5363
- createUser: (data, params = {}) => this.request(Object.assign({ path: `/api/users`, method: "POST", body: data, secure: true, type: ContentType.Json, format: "json" }, params)),
5510
+ createUser: (data, params = {}) => this.request(Object.assign({ path: `/api/users`, method: "POST", body: data, secure: true, type: "application/json", format: "json" }, params)),
5364
5511
  /**
5365
5512
  * No description
5366
5513
  *
@@ -5371,7 +5518,7 @@ export class Api extends HttpClient {
5371
5518
  * @secure
5372
5519
  * @response `200` `UserPaginated` OK
5373
5520
  */
5374
- 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)),
5521
+ 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)),
5375
5522
  /**
5376
5523
  * No description
5377
5524
  *
@@ -5382,7 +5529,7 @@ export class Api extends HttpClient {
5382
5529
  * @secure
5383
5530
  * @response `200` `AdminAccessUser` OK
5384
5531
  */
5385
- getUserByEmail: (data, params = {}) => this.request(Object.assign({ path: `/api/users/byemail`, method: "POST", body: data, secure: true, type: ContentType.Json, format: "json" }, params)),
5532
+ getUserByEmail: (data, params = {}) => this.request(Object.assign({ path: `/api/users/byemail`, method: "POST", body: data, secure: true, type: "application/json", format: "json" }, params)),
5386
5533
  /**
5387
5534
  * No description
5388
5535
  *
@@ -5394,7 +5541,7 @@ export class Api extends HttpClient {
5394
5541
  * @response `200` `User` OK
5395
5542
  * @response `422` `UnprocessableEntity` Unprocessable Content
5396
5543
  */
5397
- signUp: (data, params = {}) => this.request(Object.assign({ path: `/api/users/register`, method: "POST", body: data, secure: true, type: ContentType.Json, format: "json" }, params)),
5544
+ signUp: (data, params = {}) => this.request(Object.assign({ path: `/api/users/register`, method: "POST", body: data, secure: true, type: "application/json", format: "json" }, params)),
5398
5545
  /**
5399
5546
  * No description
5400
5547
  *
@@ -5406,7 +5553,7 @@ export class Api extends HttpClient {
5406
5553
  * @response `200` `DetailedUser` OK
5407
5554
  * @response `422` `UnprocessableEntity` Unprocessable Content
5408
5555
  */
5409
- replaceUser: (id, data, params = {}) => this.request(Object.assign({ path: `/api/users/${id}`, method: "PUT", body: data, secure: true, type: ContentType.Json, format: "json" }, params)),
5556
+ replaceUser: (id, data, params = {}) => this.request(Object.assign({ path: `/api/users/${id}`, method: "PUT", body: data, secure: true, type: "application/json", format: "json" }, params)),
5410
5557
  /**
5411
5558
  * No description
5412
5559
  *
@@ -5440,7 +5587,7 @@ export class Api extends HttpClient {
5440
5587
  * @response `204` `void` No Content
5441
5588
  * @response `422` `UnprocessableEntity` Unprocessable Content
5442
5589
  */
5443
- changePassword: (data, params = {}) => this.request(Object.assign({ path: `/api/users/change-password`, method: "POST", body: data, secure: true, type: ContentType.Json }, params)),
5590
+ changePassword: (data, params = {}) => this.request(Object.assign({ path: `/api/users/change-password`, method: "POST", body: data, secure: true, type: "application/json" }, params)),
5444
5591
  /**
5445
5592
  * No description
5446
5593
  *
@@ -5453,7 +5600,7 @@ export class Api extends HttpClient {
5453
5600
  * @response `204` `void` No Content
5454
5601
  * @response `422` `UnprocessableEntity` Unprocessable Content
5455
5602
  */
5456
- verifyPassword: (data, params = {}) => this.request(Object.assign({ path: `/api/users/verify-password`, method: "POST", body: data, secure: true, type: ContentType.Json }, params)),
5603
+ verifyPassword: (data, params = {}) => this.request(Object.assign({ path: `/api/users/verify-password`, method: "POST", body: data, secure: true, type: "application/json" }, params)),
5457
5604
  /**
5458
5605
  * No description
5459
5606
  *
@@ -5465,7 +5612,7 @@ export class Api extends HttpClient {
5465
5612
  * @response `204` `void` No Content
5466
5613
  * @response `422` `UnprocessableEntity` Unprocessable Content
5467
5614
  */
5468
- overridePassword: (id, data, params = {}) => this.request(Object.assign({ path: `/api/users/${id}/override-password`, method: "POST", body: data, secure: true, type: ContentType.Json }, params)),
5615
+ overridePassword: (id, data, params = {}) => this.request(Object.assign({ path: `/api/users/${id}/override-password`, method: "POST", body: data, secure: true, type: "application/json" }, params)),
5469
5616
  /**
5470
5617
  * No description
5471
5618
  *
@@ -5478,7 +5625,7 @@ export class Api extends HttpClient {
5478
5625
  * @response `204` `void` No Content
5479
5626
  * @response `422` `UnprocessableEntity` Unprocessable Content
5480
5627
  */
5481
- forgotPassword: (data, params = {}) => this.request(Object.assign({ path: `/api/users/forgot-password`, method: "POST", body: data, secure: true, type: ContentType.Json }, params)),
5628
+ forgotPassword: (data, params = {}) => this.request(Object.assign({ path: `/api/users/forgot-password`, method: "POST", body: data, secure: true, type: "application/json" }, params)),
5482
5629
  /**
5483
5630
  * No description
5484
5631
  *
@@ -5502,7 +5649,7 @@ export class Api extends HttpClient {
5502
5649
  * @response `204` `void` No Content
5503
5650
  * @response `422` `UnprocessableEntity` Unprocessable Content
5504
5651
  */
5505
- verifyUserMobilePhone: (data, params = {}) => this.request(Object.assign({ path: `/api/users/mobile-phone/verify-code`, method: "PUT", body: data, secure: true, type: ContentType.Json }, params)),
5652
+ verifyUserMobilePhone: (data, params = {}) => this.request(Object.assign({ path: `/api/users/mobile-phone/verify-code`, method: "PUT", body: data, secure: true, type: "application/json" }, params)),
5506
5653
  /**
5507
5654
  * No description
5508
5655
  *
@@ -5527,7 +5674,7 @@ export class Api extends HttpClient {
5527
5674
  * @response `403` `ProblemDetails` Forbidden
5528
5675
  * @response `409` `ProblemDetails` Conflict
5529
5676
  */
5530
- replaceMe: (data, params = {}) => this.request(Object.assign({ path: `/api/users/me`, method: "PUT", body: data, secure: true, type: ContentType.Json, format: "json" }, params)),
5677
+ replaceMe: (data, params = {}) => this.request(Object.assign({ path: `/api/users/me`, method: "PUT", body: data, secure: true, type: "application/json", format: "json" }, params)),
5531
5678
  /**
5532
5679
  * @description Update the phone number If changed will send a verification code to the new number
5533
5680
  *
@@ -5538,7 +5685,7 @@ export class Api extends HttpClient {
5538
5685
  * @secure
5539
5686
  * @response `204` `DetailedUser` No Content
5540
5687
  */
5541
- 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)),
5688
+ 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)),
5542
5689
  /**
5543
5690
  * No description
5544
5691
  *
@@ -5582,7 +5729,7 @@ export class Api extends HttpClient {
5582
5729
  * @secure
5583
5730
  * @response `204` `void` No Content
5584
5731
  */
5585
- deleteMe: (data, params = {}) => this.request(Object.assign({ path: `/api/users/me/delete`, method: "POST", body: data, secure: true, type: ContentType.Json }, params)),
5732
+ deleteMe: (data, params = {}) => this.request(Object.assign({ path: `/api/users/me/delete`, method: "POST", body: data, secure: true, type: "application/json" }, params)),
5586
5733
  /**
5587
5734
  * No description
5588
5735
  *
@@ -5593,7 +5740,7 @@ export class Api extends HttpClient {
5593
5740
  * @secure
5594
5741
  * @response `200` `GetForm` OK
5595
5742
  */
5596
- getWorkflow: (data, params = {}) => this.request(Object.assign({ path: `/api/workflow`, method: "POST", body: data, secure: true, type: ContentType.Json, format: "json" }, params)),
5743
+ getWorkflow: (data, params = {}) => this.request(Object.assign({ path: `/api/workflow`, method: "POST", body: data, secure: true, type: "application/json", format: "json" }, params)),
5597
5744
  };
5598
5745
  this.sso = {
5599
5746
  /**