@matech/thebigpos-sdk 3.1.0 → 3.1.2-rc1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.js CHANGED
@@ -30,6 +30,15 @@ var __rest = (this && this.__rest) || function (s, e) {
30
30
  return t;
31
31
  };
32
32
  import axios from "axios";
33
+ export var ContentType;
34
+ (function (ContentType) {
35
+ ContentType["JsonPatch"] = "application/json-patch+json";
36
+ ContentType["Json"] = "application/json";
37
+ ContentType["JsonApi"] = "application/vnd.api+json";
38
+ ContentType["FormData"] = "multipart/form-data";
39
+ ContentType["UrlEncoded"] = "application/x-www-form-urlencoded";
40
+ ContentType["Text"] = "text/plain";
41
+ })(ContentType || (ContentType = {}));
33
42
  export class HttpClient {
34
43
  constructor(_a = {}) {
35
44
  var { securityWorker, secure, format } = _a, axiosConfig = __rest(_a, ["securityWorker", "secure", "format"]);
@@ -45,13 +54,13 @@ export class HttpClient {
45
54
  {};
46
55
  const requestParams = this.mergeRequestParams(params, secureParams);
47
56
  const responseFormat = format || this.format || undefined;
48
- if (type === "multipart/form-data" &&
57
+ if (type === ContentType.FormData &&
49
58
  body &&
50
59
  body !== null &&
51
60
  typeof body === "object") {
52
61
  body = this.createFormData(body);
53
62
  }
54
- if (type === "text/plain" &&
63
+ if (type === ContentType.Text &&
55
64
  body &&
56
65
  body !== null &&
57
66
  typeof body !== "string") {
@@ -95,7 +104,7 @@ export class HttpClient {
95
104
  }
96
105
  /**
97
106
  * @title The Big POS API
98
- * @version v3.1.0
107
+ * @version v3.1.2
99
108
  * @termsOfService https://www.thebigpos.com/terms-of-use/
100
109
  * @contact Mortgage Automation Technologies <support@thebigpos.com> (https://www.thebigpos.com/terms-of-use/)
101
110
  */
@@ -147,7 +156,7 @@ export class Api extends HttpClient {
147
156
  * @response `404` `ProblemDetails` Not Found
148
157
  * @response `422` `ProblemDetails` Unprocessable Content
149
158
  */
150
- replaceMyAccount: (data, params = {}) => this.request(Object.assign({ path: `/api/account`, method: "PUT", body: data, secure: true, type: "application/json", format: "json" }, params)),
159
+ replaceMyAccount: (data, params = {}) => this.request(Object.assign({ path: `/api/account`, method: "PUT", body: data, secure: true, type: ContentType.Json, format: "json" }, params)),
151
160
  /**
152
161
  * No description
153
162
  *
@@ -170,7 +179,7 @@ export class Api extends HttpClient {
170
179
  * @response `200` `SiteConfiguration` OK
171
180
  * @response `422` `UnprocessableEntity` Unprocessable Content
172
181
  */
173
- updateSiteConfigurationForAccount: (data, params = {}) => this.request(Object.assign({ path: `/api/account/site-configurations`, method: "PUT", body: data, secure: true, type: "application/json", format: "json" }, params)),
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)),
174
183
  /**
175
184
  * No description
176
185
  *
@@ -193,7 +202,7 @@ export class Api extends HttpClient {
193
202
  * @response `201` `Account` Created
194
203
  * @response `422` `ProblemDetails` Unprocessable Content
195
204
  */
196
- createAccount: (data, params = {}) => this.request(Object.assign({ path: `/api/accounts`, method: "POST", body: data, secure: true, type: "application/json", format: "json" }, params)),
205
+ createAccount: (data, params = {}) => this.request(Object.assign({ path: `/api/accounts`, method: "POST", body: data, secure: true, type: ContentType.Json, format: "json" }, params)),
197
206
  /**
198
207
  * No description
199
208
  *
@@ -231,7 +240,7 @@ export class Api extends HttpClient {
231
240
  * @response `404` `ProblemDetails` Not Found
232
241
  * @response `422` `ProblemDetails` Unprocessable Content
233
242
  */
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)),
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)),
235
244
  /**
236
245
  * No description
237
246
  *
@@ -264,7 +273,7 @@ export class Api extends HttpClient {
264
273
  * @secure
265
274
  * @response `204` `void` No Content
266
275
  */
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)),
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)),
268
277
  /**
269
278
  * No description
270
279
  *
@@ -287,7 +296,7 @@ export class Api extends HttpClient {
287
296
  * @response `200` `AiAccountSettings` OK
288
297
  * @response `400` `ProblemDetails` Bad Request
289
298
  */
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)),
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)),
291
300
  /**
292
301
  * No description
293
302
  *
@@ -310,7 +319,7 @@ export class Api extends HttpClient {
310
319
  * @response `201` `AiPrompt` Created
311
320
  * @response `400` `ProblemDetails` Bad Request
312
321
  */
313
- createAiPrompt: (data, params = {}) => this.request(Object.assign({ path: `/api/ai/prompts`, method: "POST", body: data, secure: true, type: "application/json", format: "json" }, params)),
322
+ createAiPrompt: (data, params = {}) => this.request(Object.assign({ path: `/api/ai/prompts`, method: "POST", body: data, secure: true, type: ContentType.Json, format: "json" }, params)),
314
323
  /**
315
324
  * No description
316
325
  *
@@ -335,7 +344,7 @@ export class Api extends HttpClient {
335
344
  * @response `400` `ProblemDetails` Bad Request
336
345
  * @response `404` `ProblemDetails` Not Found
337
346
  */
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)),
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)),
339
348
  /**
340
349
  * No description
341
350
  *
@@ -372,7 +381,7 @@ export class Api extends HttpClient {
372
381
  * @response `400` `ProblemDetails` Bad Request
373
382
  * @response `404` `ProblemDetails` Not Found
374
383
  */
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)),
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)),
376
385
  /**
377
386
  * No description
378
387
  *
@@ -396,7 +405,7 @@ export class Api extends HttpClient {
396
405
  * @response `200` `GenerateSystemPrompt` OK
397
406
  * @response `400` `ProblemDetails` Bad Request
398
407
  */
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)),
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)),
400
409
  /**
401
410
  * No description
402
411
  *
@@ -430,7 +439,7 @@ export class Api extends HttpClient {
430
439
  * @response `200` `AiAdminSettings` OK
431
440
  * @response `400` `ProblemDetails` Bad Request
432
441
  */
433
- updateAiAdminSettings: (data, params = {}) => this.request(Object.assign({ path: `/api/ai/settings`, method: "PUT", body: data, secure: true, type: "application/json", format: "json" }, params)),
442
+ updateAiAdminSettings: (data, params = {}) => this.request(Object.assign({ path: `/api/ai/settings`, method: "PUT", body: data, secure: true, type: ContentType.Json, format: "json" }, params)),
434
443
  /**
435
444
  * No description
436
445
  *
@@ -508,7 +517,7 @@ export class Api extends HttpClient {
508
517
  * @response `201` `AiCanonicalField` Created
509
518
  * @response `400` `ProblemDetails` Bad Request
510
519
  */
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)),
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)),
512
521
  /**
513
522
  * No description
514
523
  *
@@ -533,7 +542,7 @@ export class Api extends HttpClient {
533
542
  * @response `400` `ProblemDetails` Bad Request
534
543
  * @response `404` `ProblemDetails` Not Found
535
544
  */
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)),
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)),
537
546
  /**
538
547
  * No description
539
548
  *
@@ -571,7 +580,7 @@ export class Api extends HttpClient {
571
580
  * @response `401` `ProblemDetails` Unauthorized
572
581
  * @response `429` `ProblemDetails` Too Many Requests
573
582
  */
574
- aiChat: (data, params = {}) => this.request(Object.assign({ path: `/api/ai/chats`, method: "POST", body: data, secure: true, type: "application/json", format: "json" }, params)),
583
+ aiChat: (data, params = {}) => this.request(Object.assign({ path: `/api/ai/chats`, method: "POST", body: data, secure: true, type: ContentType.Json, format: "json" }, params)),
575
584
  /**
576
585
  * No description
577
586
  *
@@ -633,7 +642,7 @@ export class Api extends HttpClient {
633
642
  * @response `403` `ProblemDetails` Forbidden
634
643
  * @response `404` `ProblemDetails` Not Found
635
644
  */
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)),
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)),
637
646
  /**
638
647
  * No description
639
648
  *
@@ -685,7 +694,7 @@ export class Api extends HttpClient {
685
694
  * @response `403` `ProblemDetails` Forbidden
686
695
  * @response `404` `ProblemDetails` Not Found
687
696
  */
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)),
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)),
689
698
  /**
690
699
  * No description
691
700
  *
@@ -743,7 +752,7 @@ export class Api extends HttpClient {
743
752
  * @response `201` `AiGuardrail` Created
744
753
  * @response `400` `ProblemDetails` Bad Request
745
754
  */
746
- createAiGuardrail: (data, params = {}) => this.request(Object.assign({ path: `/api/ai/guardrails`, method: "POST", body: data, secure: true, type: "application/json", format: "json" }, params)),
755
+ createAiGuardrail: (data, params = {}) => this.request(Object.assign({ path: `/api/ai/guardrails`, method: "POST", body: data, secure: true, type: ContentType.Json, format: "json" }, params)),
747
756
  /**
748
757
  * No description
749
758
  *
@@ -768,7 +777,7 @@ export class Api extends HttpClient {
768
777
  * @response `400` `ProblemDetails` Bad Request
769
778
  * @response `404` `ProblemDetails` Not Found
770
779
  */
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)),
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)),
772
781
  /**
773
782
  * No description
774
783
  *
@@ -815,7 +824,7 @@ export class Api extends HttpClient {
815
824
  * @secure
816
825
  * @response `200` `AiAccountUsageOverviewPaginated` OK
817
826
  */
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)),
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)),
819
828
  /**
820
829
  * No description
821
830
  *
@@ -849,7 +858,7 @@ export class Api extends HttpClient {
849
858
  * @response `200` `AiTokenBudgetStatus` OK
850
859
  * @response `400` `ProblemDetails` Bad Request
851
860
  */
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)),
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)),
853
862
  /**
854
863
  * No description
855
864
  *
@@ -873,7 +882,7 @@ export class Api extends HttpClient {
873
882
  * @response `400` `ProblemDetails` Bad Request
874
883
  * @response `409` `ProblemDetails` Conflict
875
884
  */
876
- createAiUrlSource: (data, params = {}) => this.request(Object.assign({ path: `/api/ai/url-sources`, method: "POST", body: data, secure: true, type: "application/json", format: "json" }, params)),
885
+ createAiUrlSource: (data, params = {}) => this.request(Object.assign({ path: `/api/ai/url-sources`, method: "POST", body: data, secure: true, type: ContentType.Json, format: "json" }, params)),
877
886
  /**
878
887
  * No description
879
888
  *
@@ -899,7 +908,7 @@ export class Api extends HttpClient {
899
908
  * @response `404` `ProblemDetails` Not Found
900
909
  * @response `409` `ProblemDetails` Conflict
901
910
  */
902
- updateAiUrlSource: (id, data, params = {}) => this.request(Object.assign({ path: `/api/ai/url-sources/${id}`, method: "PUT", body: data, secure: true, type: "application/json", format: "json" }, params)),
911
+ 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)),
903
912
  /**
904
913
  * No description
905
914
  *
@@ -983,7 +992,7 @@ export class Api extends HttpClient {
983
992
  * @secure
984
993
  * @response `200` `AuditLogEntryPaginated` OK
985
994
  */
986
- 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)),
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)),
987
996
  /**
988
997
  * No description
989
998
  *
@@ -1018,7 +1027,7 @@ export class Api extends HttpClient {
1018
1027
  * @response `204` `void` No Content
1019
1028
  * @response `422` `UnprocessableEntity` Unprocessable Content
1020
1029
  */
1021
- authForgotPassword: (data, params = {}) => this.request(Object.assign({ path: `/api/auth/forgot-password`, method: "POST", body: data, secure: true, type: "application/json" }, params)),
1030
+ authForgotPassword: (data, params = {}) => this.request(Object.assign({ path: `/api/auth/forgot-password`, method: "POST", body: data, secure: true, type: ContentType.Json }, params)),
1022
1031
  /**
1023
1032
  * No description
1024
1033
  *
@@ -1030,7 +1039,7 @@ export class Api extends HttpClient {
1030
1039
  * @response `204` `void` No Content
1031
1040
  * @response `422` `UnprocessableEntity` Unprocessable Content
1032
1041
  */
1033
- authResetPassword: (data, params = {}) => this.request(Object.assign({ path: `/api/auth/reset-password`, method: "POST", body: data, secure: true, type: "application/json" }, params)),
1042
+ authResetPassword: (data, params = {}) => this.request(Object.assign({ path: `/api/auth/reset-password`, method: "POST", body: data, secure: true, type: ContentType.Json }, params)),
1034
1043
  /**
1035
1044
  * No description
1036
1045
  *
@@ -1042,7 +1051,7 @@ export class Api extends HttpClient {
1042
1051
  * @response `204` `void` No Content
1043
1052
  * @response `422` `UnprocessableEntity` Unprocessable Content
1044
1053
  */
1045
- authSetPassword: (data, params = {}) => this.request(Object.assign({ path: `/api/auth/set-password`, method: "POST", body: data, secure: true, type: "application/json" }, params)),
1054
+ authSetPassword: (data, params = {}) => this.request(Object.assign({ path: `/api/auth/set-password`, method: "POST", body: data, secure: true, type: ContentType.Json }, params)),
1046
1055
  /**
1047
1056
  * No description
1048
1057
  *
@@ -1065,7 +1074,7 @@ export class Api extends HttpClient {
1065
1074
  * @response `204` `void` No Content
1066
1075
  * @response `422` `UnprocessableEntity` Unprocessable Content
1067
1076
  */
1068
- authVerifyEmail: (data, params = {}) => this.request(Object.assign({ path: `/api/auth/verify-email`, method: "POST", body: data, secure: true, type: "application/json" }, params)),
1077
+ authVerifyEmail: (data, params = {}) => this.request(Object.assign({ path: `/api/auth/verify-email`, method: "POST", body: data, secure: true, type: ContentType.Json }, params)),
1069
1078
  /**
1070
1079
  * No description
1071
1080
  *
@@ -1078,7 +1087,7 @@ export class Api extends HttpClient {
1078
1087
  * @response `401` `ProblemDetails` Unauthorized
1079
1088
  * @response `422` `UnprocessableEntity` Unprocessable Content
1080
1089
  */
1081
- getTokenFromRefreshToken: (data, params = {}) => this.request(Object.assign({ path: `/api/refresh-token`, method: "POST", body: data, secure: true, type: "application/json", format: "json" }, params)),
1090
+ getTokenFromRefreshToken: (data, params = {}) => this.request(Object.assign({ path: `/api/refresh-token`, method: "POST", body: data, secure: true, type: ContentType.Json, format: "json" }, params)),
1082
1091
  /**
1083
1092
  * No description
1084
1093
  *
@@ -1090,7 +1099,7 @@ export class Api extends HttpClient {
1090
1099
  * @response `200` `UserDeactivated` OK
1091
1100
  * @response `422` `UnprocessableEntity` Unprocessable Content
1092
1101
  */
1093
- getToken: (data, params = {}) => this.request(Object.assign({ path: `/api/token`, method: "POST", body: data, secure: true, type: "application/json", format: "json" }, params)),
1102
+ getToken: (data, params = {}) => this.request(Object.assign({ path: `/api/token`, method: "POST", body: data, secure: true, type: ContentType.Json, format: "json" }, params)),
1094
1103
  /**
1095
1104
  * No description
1096
1105
  *
@@ -1102,7 +1111,7 @@ export class Api extends HttpClient {
1102
1111
  * @response `200` `UserDeactivated` OK
1103
1112
  * @response `422` `UnprocessableEntity` Unprocessable Content
1104
1113
  */
1105
- getTokenFromChallengeCode: (data, params = {}) => this.request(Object.assign({ path: `/api/token/code`, method: "POST", body: data, secure: true, type: "application/json", format: "json" }, params)),
1114
+ getTokenFromChallengeCode: (data, params = {}) => this.request(Object.assign({ path: `/api/token/code`, method: "POST", body: data, secure: true, type: ContentType.Json, format: "json" }, params)),
1106
1115
  /**
1107
1116
  * No description
1108
1117
  *
@@ -1114,7 +1123,7 @@ export class Api extends HttpClient {
1114
1123
  * @response `200` `Token` OK
1115
1124
  * @response `422` `UnprocessableEntity` Unprocessable Content
1116
1125
  */
1117
- getSystemToken: (data, params = {}) => this.request(Object.assign({ path: `/api/oauth2/token`, method: "POST", body: data, secure: true, type: "application/json", format: "json" }, params)),
1126
+ getSystemToken: (data, params = {}) => this.request(Object.assign({ path: `/api/oauth2/token`, method: "POST", body: data, secure: true, type: ContentType.Json, format: "json" }, params)),
1118
1127
  /**
1119
1128
  * No description
1120
1129
  *
@@ -1126,7 +1135,7 @@ export class Api extends HttpClient {
1126
1135
  * @response `200` `SSOToken` OK
1127
1136
  * @response `422` `UnprocessableEntity` Unprocessable Content
1128
1137
  */
1129
- getSsoToken: (data, params = {}) => this.request(Object.assign({ path: `/api/token/sso`, method: "POST", body: data, secure: true, type: "application/json", format: "json" }, params)),
1138
+ getSsoToken: (data, params = {}) => this.request(Object.assign({ path: `/api/token/sso`, method: "POST", body: data, secure: true, type: ContentType.Json, format: "json" }, params)),
1130
1139
  /**
1131
1140
  * No description
1132
1141
  *
@@ -1161,7 +1170,7 @@ export class Api extends HttpClient {
1161
1170
  * @response `200` `GetBranch` OK
1162
1171
  * @response `422` `UnprocessableEntity` Unprocessable Content
1163
1172
  */
1164
- createBranch: (data, params = {}) => this.request(Object.assign({ path: `/api/branches`, method: "POST", body: data, secure: true, type: "application/json", format: "json" }, params)),
1173
+ createBranch: (data, params = {}) => this.request(Object.assign({ path: `/api/branches`, method: "POST", body: data, secure: true, type: ContentType.Json, format: "json" }, params)),
1165
1174
  /**
1166
1175
  * No description
1167
1176
  *
@@ -1172,7 +1181,7 @@ export class Api extends HttpClient {
1172
1181
  * @secure
1173
1182
  * @response `200` `GetBranchPaginated` OK
1174
1183
  */
1175
- 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)),
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)),
1176
1185
  /**
1177
1186
  * No description
1178
1187
  *
@@ -1195,7 +1204,7 @@ export class Api extends HttpClient {
1195
1204
  * @response `200` `GetBranch` OK
1196
1205
  * @response `422` `UnprocessableEntity` Unprocessable Content
1197
1206
  */
1198
- replaceBranch: (branchId, data, params = {}) => this.request(Object.assign({ path: `/api/branches/${branchId}`, method: "PUT", body: data, secure: true, type: "application/json", format: "json" }, params)),
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)),
1199
1208
  /**
1200
1209
  * No description
1201
1210
  *
@@ -1230,7 +1239,7 @@ export class Api extends HttpClient {
1230
1239
  * @response `200` `SiteConfiguration` OK
1231
1240
  * @response `422` `UnprocessableEntity` Unprocessable Content
1232
1241
  */
1233
- 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)),
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)),
1234
1243
  /**
1235
1244
  * No description
1236
1245
  *
@@ -1253,7 +1262,7 @@ export class Api extends HttpClient {
1253
1262
  * @response `200` `SiteConfiguration` OK
1254
1263
  * @response `422` `UnprocessableEntity` Unprocessable Content
1255
1264
  */
1256
- 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)),
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)),
1257
1266
  /**
1258
1267
  * No description
1259
1268
  *
@@ -1287,7 +1296,7 @@ export class Api extends HttpClient {
1287
1296
  * @response `200` `BusinessRule` OK
1288
1297
  * @response `422` `UnprocessableEntity` Unprocessable Content
1289
1298
  */
1290
- createBusinessRule: (data, params = {}) => this.request(Object.assign({ path: `/api/business-rules`, method: "POST", body: data, secure: true, type: "application/json", format: "json" }, params)),
1299
+ createBusinessRule: (data, params = {}) => this.request(Object.assign({ path: `/api/business-rules`, method: "POST", body: data, secure: true, type: ContentType.Json, format: "json" }, params)),
1291
1300
  /**
1292
1301
  * No description
1293
1302
  *
@@ -1310,7 +1319,7 @@ export class Api extends HttpClient {
1310
1319
  * @response `200` `BusinessRule` OK
1311
1320
  * @response `422` `UnprocessableEntity` Unprocessable Content
1312
1321
  */
1313
- 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)),
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)),
1314
1323
  /**
1315
1324
  * No description
1316
1325
  *
@@ -1343,7 +1352,7 @@ export class Api extends HttpClient {
1343
1352
  * @secure
1344
1353
  * @response `200` `ClosedLoansReport` OK
1345
1354
  */
1346
- 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)),
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)),
1347
1356
  /**
1348
1357
  * No description
1349
1358
  *
@@ -1367,7 +1376,7 @@ export class Api extends HttpClient {
1367
1376
  * @response `400` `ProblemDetails` Bad Request
1368
1377
  * @response `409` `ProblemDetails` Conflict
1369
1378
  */
1370
- createCompanyDocumentFolder: (data, params = {}) => this.request(Object.assign({ path: `/api/company-document-folders`, method: "POST", body: data, secure: true, type: "application/json", format: "json" }, params)),
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)),
1371
1380
  /**
1372
1381
  * No description
1373
1382
  *
@@ -1393,7 +1402,7 @@ export class Api extends HttpClient {
1393
1402
  * @response `404` `ProblemDetails` Not Found
1394
1403
  * @response `409` `ProblemDetails` Conflict
1395
1404
  */
1396
- 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)),
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)),
1397
1406
  /**
1398
1407
  * No description
1399
1408
  *
@@ -1419,7 +1428,7 @@ export class Api extends HttpClient {
1419
1428
  * @response `200` `CompanyDocumentPaginated` OK
1420
1429
  * @response `400` `ProblemDetails` Bad Request
1421
1430
  */
1422
- 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)),
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)),
1423
1432
  /**
1424
1433
  * No description
1425
1434
  *
@@ -1445,7 +1454,7 @@ export class Api extends HttpClient {
1445
1454
  * @response `404` `ProblemDetails` Not Found
1446
1455
  * @response `409` `ProblemDetails` Conflict
1447
1456
  */
1448
- 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)),
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)),
1449
1458
  /**
1450
1459
  * No description
1451
1460
  *
@@ -1469,7 +1478,7 @@ export class Api extends HttpClient {
1469
1478
  * @response `200` `Record<string,string>` OK
1470
1479
  * @response `400` `ProblemDetails` Bad Request
1471
1480
  */
1472
- getCompanyDocumentPreviews: (data, params = {}) => this.request(Object.assign({ path: `/api/company-documents/previews`, method: "POST", body: data, secure: true, type: "application/json", format: "json" }, params)),
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)),
1473
1482
  /**
1474
1483
  * No description
1475
1484
  *
@@ -1495,7 +1504,7 @@ export class Api extends HttpClient {
1495
1504
  * @response `404` `ProblemDetails` Not Found
1496
1505
  * @response `409` `ProblemDetails` Conflict
1497
1506
  */
1498
- createCompanyDocument: (data, params = {}) => this.request(Object.assign({ path: `/api/company-documents`, method: "POST", body: data, secure: true, type: "multipart/form-data", format: "json" }, params)),
1507
+ createCompanyDocument: (data, params = {}) => this.request(Object.assign({ path: `/api/company-documents`, method: "POST", body: data, secure: true, type: ContentType.FormData, format: "json" }, params)),
1499
1508
  /**
1500
1509
  * No description
1501
1510
  *
@@ -1509,7 +1518,7 @@ export class Api extends HttpClient {
1509
1518
  * @response `404` `ProblemDetails` Not Found
1510
1519
  * @response `409` `ProblemDetails` Conflict
1511
1520
  */
1512
- createCompanyTextDocument: (data, params = {}) => this.request(Object.assign({ path: `/api/company-documents/text`, method: "POST", body: data, secure: true, type: "application/json", format: "json" }, params)),
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)),
1513
1522
  /**
1514
1523
  * No description
1515
1524
  *
@@ -1568,7 +1577,7 @@ export class Api extends HttpClient {
1568
1577
  * @response `200` `Corporate` OK
1569
1578
  * @response `422` `UnprocessableEntity` Unprocessable Content
1570
1579
  */
1571
- createCorporate: (data, params = {}) => this.request(Object.assign({ path: `/api/corporates`, method: "POST", body: data, secure: true, type: "application/json", format: "json" }, params)),
1580
+ createCorporate: (data, params = {}) => this.request(Object.assign({ path: `/api/corporates`, method: "POST", body: data, secure: true, type: ContentType.Json, format: "json" }, params)),
1572
1581
  /**
1573
1582
  * No description
1574
1583
  *
@@ -1579,7 +1588,7 @@ export class Api extends HttpClient {
1579
1588
  * @secure
1580
1589
  * @response `200` `CorporatePaginated` OK
1581
1590
  */
1582
- 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)),
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)),
1583
1592
  /**
1584
1593
  * No description
1585
1594
  *
@@ -1602,7 +1611,7 @@ export class Api extends HttpClient {
1602
1611
  * @response `200` `Corporate` OK
1603
1612
  * @response `422` `UnprocessableEntity` Unprocessable Content
1604
1613
  */
1605
- replaceCorporate: (id, data, params = {}) => this.request(Object.assign({ path: `/api/corporates/${id}`, method: "PUT", body: data, secure: true, type: "application/json", format: "json" }, params)),
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)),
1606
1615
  /**
1607
1616
  * No description
1608
1617
  *
@@ -1636,7 +1645,7 @@ export class Api extends HttpClient {
1636
1645
  * @response `200` `SiteConfiguration` OK
1637
1646
  * @response `422` `UnprocessableEntity` Unprocessable Content
1638
1647
  */
1639
- 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)),
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)),
1640
1649
  /**
1641
1650
  * No description
1642
1651
  *
@@ -1659,7 +1668,7 @@ export class Api extends HttpClient {
1659
1668
  * @response `200` `SiteConfiguration` OK
1660
1669
  * @response `422` `UnprocessableEntity` Unprocessable Content
1661
1670
  */
1662
- 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)),
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)),
1663
1672
  /**
1664
1673
  * No description
1665
1674
  *
@@ -1705,7 +1714,7 @@ export class Api extends HttpClient {
1705
1714
  * @response `409` `ProblemDetails` Conflict
1706
1715
  * @response `422` `ProblemDetails` Unprocessable Content
1707
1716
  */
1708
- createCustomFieldDefinition: (data, params = {}) => this.request(Object.assign({ path: `/api/custom-field-definitions`, method: "POST", body: data, secure: true, type: "application/json", format: "json" }, params)),
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)),
1709
1718
  /**
1710
1719
  * No description
1711
1720
  *
@@ -1732,7 +1741,7 @@ export class Api extends HttpClient {
1732
1741
  * @response `409` `ProblemDetails` Conflict
1733
1742
  * @response `422` `ProblemDetails` Unprocessable Content
1734
1743
  */
1735
- 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)),
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)),
1736
1745
  /**
1737
1746
  * No description
1738
1747
  *
@@ -1802,7 +1811,7 @@ export class Api extends HttpClient {
1802
1811
  * @secure
1803
1812
  * @response `200` `Device` OK
1804
1813
  */
1805
- updateDevice: (id, data, params = {}) => this.request(Object.assign({ path: `/api/devices/${id}`, method: "PUT", body: data, secure: true, type: "application/json", format: "json" }, params)),
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)),
1806
1815
  /**
1807
1816
  * No description
1808
1817
  *
@@ -1860,7 +1869,7 @@ export class Api extends HttpClient {
1860
1869
  * @response `404` `ProblemDetails` Not Found
1861
1870
  * @response `422` `UnprocessableEntity` Unprocessable Content
1862
1871
  */
1863
- createDocumentTemplate: (data, params = {}) => this.request(Object.assign({ path: `/api/document-templates`, method: "POST", body: data, secure: true, type: "application/json", format: "json" }, params)),
1872
+ createDocumentTemplate: (data, params = {}) => this.request(Object.assign({ path: `/api/document-templates`, method: "POST", body: data, secure: true, type: ContentType.Json, format: "json" }, params)),
1864
1873
  /**
1865
1874
  * No description
1866
1875
  *
@@ -1897,7 +1906,7 @@ export class Api extends HttpClient {
1897
1906
  * @response `404` `ProblemDetails` Not Found
1898
1907
  * @response `422` `UnprocessableEntity` Unprocessable Content
1899
1908
  */
1900
- 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)),
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)),
1901
1910
  /**
1902
1911
  * No description
1903
1912
  *
@@ -1945,7 +1954,7 @@ export class Api extends HttpClient {
1945
1954
  * @secure
1946
1955
  * @response `200` `DocumentTemplateVersion` OK
1947
1956
  */
1948
- 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)),
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)),
1949
1958
  /**
1950
1959
  * No description
1951
1960
  *
@@ -1967,7 +1976,7 @@ export class Api extends HttpClient {
1967
1976
  * @secure
1968
1977
  * @response `200` `DocumentTemplateVersion` OK
1969
1978
  */
1970
- 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)),
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)),
1971
1980
  /**
1972
1981
  * No description
1973
1982
  *
@@ -2005,7 +2014,7 @@ export class Api extends HttpClient {
2005
2014
  * @response `409` `void` Conflict
2006
2015
  * @response `422` `ProblemDetails` Unprocessable Content
2007
2016
  */
2008
- 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)),
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)),
2009
2018
  /**
2010
2019
  * No description
2011
2020
  *
@@ -2052,9 +2061,40 @@ export class Api extends HttpClient {
2052
2061
  * @request GET:/api/los/encompass/custom-fields
2053
2062
  * @secure
2054
2063
  * @response `200` `(EncompassFieldListItem)[]` OK
2064
+ * @response `403` `void` Forbidden
2055
2065
  * @response `502` `ProblemDetails` Bad Gateway
2056
2066
  */
2057
- getEncompassFields: (params = {}) => this.request(Object.assign({ path: `/api/los/encompass/custom-fields`, method: "GET", secure: true, format: "json" }, params)),
2067
+ getEncompassFields: (query, params = {}) => this.request(Object.assign({ path: `/api/los/encompass/custom-fields`, method: "GET", query: query, secure: true, format: "json" }, params)),
2068
+ /**
2069
+ * No description
2070
+ *
2071
+ * @tags Encompass Custom Fields
2072
+ * @name CreateEncompassField
2073
+ * @summary Create a custom field definition on the account's Encompass instance
2074
+ * @request POST:/api/los/encompass/custom-fields
2075
+ * @secure
2076
+ * @response `201` `EncompassFieldListItem` Created
2077
+ * @response `400` `void` Bad Request
2078
+ * @response `403` `void` Forbidden
2079
+ * @response `409` `void` Conflict
2080
+ * @response `422` `ProblemDetails` Unprocessable Content
2081
+ */
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)),
2083
+ /**
2084
+ * No description
2085
+ *
2086
+ * @tags Encompass Custom Fields
2087
+ * @name DeleteEncompassField
2088
+ * @summary Delete a custom field definition from the account's Encompass instance
2089
+ * @request DELETE:/api/los/encompass/custom-fields/{fieldId}
2090
+ * @secure
2091
+ * @response `204` `void` No Content
2092
+ * @response `403` `void` Forbidden
2093
+ * @response `404` `void` Not Found
2094
+ * @response `409` `void` Conflict
2095
+ * @response `422` `ProblemDetails` Unprocessable Content
2096
+ */
2097
+ deleteEncompassField: (fieldId, query, params = {}) => this.request(Object.assign({ path: `/api/los/encompass/custom-fields/${fieldId}`, method: "DELETE", query: query, secure: true }, params)),
2058
2098
  /**
2059
2099
  * No description
2060
2100
  *
@@ -2108,7 +2148,7 @@ export class Api extends HttpClient {
2108
2148
  * @response `404` `EncompassError` Not Found
2109
2149
  * @response `500` `EncompassError` Internal Server Error
2110
2150
  */
2111
- 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)),
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)),
2112
2152
  /**
2113
2153
  * No description
2114
2154
  *
@@ -2122,7 +2162,7 @@ export class Api extends HttpClient {
2122
2162
  * @response `401` `ProblemDetails` Unauthorized
2123
2163
  * @response `403` `ProblemDetails` Forbidden
2124
2164
  */
2125
- 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)),
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)),
2126
2166
  /**
2127
2167
  * No description
2128
2168
  *
@@ -2135,7 +2175,7 @@ export class Api extends HttpClient {
2135
2175
  * @response `401` `ProblemDetails` Unauthorized
2136
2176
  * @response `403` `ProblemDetails` Forbidden
2137
2177
  */
2138
- 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)),
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)),
2139
2179
  /**
2140
2180
  * No description
2141
2181
  *
@@ -2149,7 +2189,7 @@ export class Api extends HttpClient {
2149
2189
  * @response `401` `ProblemDetails` Unauthorized
2150
2190
  * @response `403` `ProblemDetails` Forbidden
2151
2191
  */
2152
- 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)),
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)),
2153
2193
  /**
2154
2194
  * No description
2155
2195
  *
@@ -2176,7 +2216,7 @@ export class Api extends HttpClient {
2176
2216
  * @response `401` `ProblemDetails` Unauthorized
2177
2217
  * @response `403` `ProblemDetails` Forbidden
2178
2218
  */
2179
- 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)),
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)),
2180
2220
  /**
2181
2221
  * No description
2182
2222
  *
@@ -2217,7 +2257,7 @@ export class Api extends HttpClient {
2217
2257
  * @response `403` `ProblemDetails` Forbidden
2218
2258
  * @response `404` `ProblemDetails` Not Found
2219
2259
  */
2220
- 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)),
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)),
2221
2261
  /**
2222
2262
  * No description
2223
2263
  *
@@ -2231,7 +2271,7 @@ export class Api extends HttpClient {
2231
2271
  * @response `401` `ProblemDetails` Unauthorized
2232
2272
  * @response `403` `ProblemDetails` Forbidden
2233
2273
  */
2234
- 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)),
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)),
2235
2275
  /**
2236
2276
  * No description
2237
2277
  *
@@ -2268,7 +2308,7 @@ export class Api extends HttpClient {
2268
2308
  * @response `201` `File` Created
2269
2309
  * @response `422` `UnprocessableEntity` Unprocessable Content
2270
2310
  */
2271
- uploadFile: (data, params = {}) => this.request(Object.assign({ path: `/api/files`, method: "POST", body: data, secure: true, type: "multipart/form-data", format: "json" }, params)),
2311
+ uploadFile: (data, params = {}) => this.request(Object.assign({ path: `/api/files`, method: "POST", body: data, secure: true, type: ContentType.FormData, format: "json" }, params)),
2272
2312
  /**
2273
2313
  * No description
2274
2314
  *
@@ -2291,7 +2331,7 @@ export class Api extends HttpClient {
2291
2331
  * @response `200` `string` OK
2292
2332
  * @response `422` `UnprocessableEntity` Unprocessable Content
2293
2333
  */
2294
- replaceFile: (id, data, params = {}) => this.request(Object.assign({ path: `/api/files/${id}`, method: "PUT", body: data, secure: true, type: "application/json", format: "json" }, params)),
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)),
2295
2335
  /**
2296
2336
  * No description
2297
2337
  *
@@ -2313,7 +2353,7 @@ export class Api extends HttpClient {
2313
2353
  * @secure
2314
2354
  * @response `200` `FilePaginated` OK
2315
2355
  */
2316
- 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)),
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)),
2317
2357
  /**
2318
2358
  * No description
2319
2359
  *
@@ -2336,7 +2376,7 @@ export class Api extends HttpClient {
2336
2376
  * @response `201` `Form` Created
2337
2377
  * @response `422` `UnprocessableEntity` Unprocessable Content
2338
2378
  */
2339
- createForm: (data, params = {}) => this.request(Object.assign({ path: `/api/forms`, method: "POST", body: data, secure: true, type: "application/json", format: "json" }, params)),
2379
+ createForm: (data, params = {}) => this.request(Object.assign({ path: `/api/forms`, method: "POST", body: data, secure: true, type: ContentType.Json, format: "json" }, params)),
2340
2380
  /**
2341
2381
  * No description
2342
2382
  *
@@ -2359,7 +2399,7 @@ export class Api extends HttpClient {
2359
2399
  * @response `200` `Form` OK
2360
2400
  * @response `422` `UnprocessableEntity` Unprocessable Content
2361
2401
  */
2362
- replaceForm: (id, data, params = {}) => this.request(Object.assign({ path: `/api/forms/${id}`, method: "PUT", body: data, secure: true, type: "application/json", format: "json" }, params)),
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)),
2363
2403
  /**
2364
2404
  * No description
2365
2405
  *
@@ -2392,7 +2432,7 @@ export class Api extends HttpClient {
2392
2432
  * @secure
2393
2433
  * @response `200` `FormSubmissionFile` OK
2394
2434
  */
2395
- 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)),
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)),
2396
2436
  /**
2397
2437
  * No description
2398
2438
  *
@@ -2436,7 +2476,7 @@ export class Api extends HttpClient {
2436
2476
  * @secure
2437
2477
  * @response `201` `FormSubmission` Created
2438
2478
  */
2439
- 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)),
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)),
2440
2480
  /**
2441
2481
  * No description
2442
2482
  *
@@ -2458,7 +2498,7 @@ export class Api extends HttpClient {
2458
2498
  * @secure
2459
2499
  * @response `200` `FormSubmission` OK
2460
2500
  */
2461
- 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)),
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)),
2462
2502
  /**
2463
2503
  * No description
2464
2504
  *
@@ -2480,7 +2520,7 @@ export class Api extends HttpClient {
2480
2520
  * @secure
2481
2521
  * @response `200` `FormSubmissionPaginated` OK
2482
2522
  */
2483
- 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)),
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)),
2484
2524
  /**
2485
2525
  * No description
2486
2526
  *
@@ -2502,7 +2542,7 @@ export class Api extends HttpClient {
2502
2542
  * @secure
2503
2543
  * @response `200` `FormVersion` OK
2504
2544
  */
2505
- 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)),
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)),
2506
2546
  /**
2507
2547
  * No description
2508
2548
  *
@@ -2524,7 +2564,7 @@ export class Api extends HttpClient {
2524
2564
  * @secure
2525
2565
  * @response `200` `FormVersion` OK
2526
2566
  */
2527
- 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)),
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)),
2528
2568
  /**
2529
2569
  * No description
2530
2570
  *
@@ -2570,7 +2610,7 @@ export class Api extends HttpClient {
2570
2610
  * @response `200` `string` OK
2571
2611
  * @response `422` `UnprocessableEntity` Unprocessable Content
2572
2612
  */
2573
- 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)),
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)),
2574
2614
  /**
2575
2615
  * No description
2576
2616
  *
@@ -2581,7 +2621,7 @@ export class Api extends HttpClient {
2581
2621
  * @secure
2582
2622
  * @response `200` `GetReport` OK
2583
2623
  */
2584
- getLoansReport: (data, params = {}) => this.request(Object.assign({ path: `/api/los/loan/reports`, method: "POST", body: data, secure: true, type: "application/json", format: "json" }, params)),
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)),
2585
2625
  /**
2586
2626
  * No description
2587
2627
  *
@@ -2595,7 +2635,7 @@ export class Api extends HttpClient {
2595
2635
  * @response `422` `UnprocessableEntity` Unprocessable Content
2596
2636
  * @response `423` `UnprocessableEntity` Locked
2597
2637
  */
2598
- 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)),
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)),
2599
2639
  /**
2600
2640
  * No description
2601
2641
  *
@@ -2608,7 +2648,7 @@ export class Api extends HttpClient {
2608
2648
  * @response `422` `UnprocessableEntity` Unprocessable Content
2609
2649
  * @response `423` `UnprocessableEntity` Locked
2610
2650
  */
2611
- 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)),
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)),
2612
2652
  /**
2613
2653
  * No description
2614
2654
  *
@@ -2620,7 +2660,7 @@ export class Api extends HttpClient {
2620
2660
  * @response `200` `string` OK
2621
2661
  * @response `422` `UnprocessableEntity` Unprocessable Content
2622
2662
  */
2623
- 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)),
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)),
2624
2664
  /**
2625
2665
  * No description
2626
2666
  *
@@ -2633,7 +2673,7 @@ export class Api extends HttpClient {
2633
2673
  * @response `202` `string` Accepted
2634
2674
  * @response `422` `UnprocessableEntity` Unprocessable Content
2635
2675
  */
2636
- 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)),
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)),
2637
2677
  /**
2638
2678
  * No description
2639
2679
  *
@@ -2713,7 +2753,7 @@ export class Api extends HttpClient {
2713
2753
  * @secure
2714
2754
  * @response `200` `ListingFile` OK
2715
2755
  */
2716
- 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)),
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)),
2717
2757
  /**
2718
2758
  * No description
2719
2759
  *
@@ -2724,7 +2764,7 @@ export class Api extends HttpClient {
2724
2764
  * @secure
2725
2765
  * @response `200` `ListingFile` OK
2726
2766
  */
2727
- 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)),
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)),
2728
2768
  /**
2729
2769
  * No description
2730
2770
  *
@@ -2746,7 +2786,7 @@ export class Api extends HttpClient {
2746
2786
  * @secure
2747
2787
  * @response `200` `ListingPhoto` OK
2748
2788
  */
2749
- 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)),
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)),
2750
2790
  /**
2751
2791
  * No description
2752
2792
  *
@@ -2757,7 +2797,7 @@ export class Api extends HttpClient {
2757
2797
  * @secure
2758
2798
  * @response `200` `(ListingPhoto)[]` OK
2759
2799
  */
2760
- 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)),
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)),
2761
2801
  /**
2762
2802
  * No description
2763
2803
  *
@@ -2790,7 +2830,7 @@ export class Api extends HttpClient {
2790
2830
  * @secure
2791
2831
  * @response `201` `Listing` Created
2792
2832
  */
2793
- createListing: (data, params = {}) => this.request(Object.assign({ path: `/api/listings`, method: "POST", body: data, secure: true, type: "application/json", format: "json" }, params)),
2833
+ createListing: (data, params = {}) => this.request(Object.assign({ path: `/api/listings`, method: "POST", body: data, secure: true, type: ContentType.Json, format: "json" }, params)),
2794
2834
  /**
2795
2835
  * No description
2796
2836
  *
@@ -2823,7 +2863,7 @@ export class Api extends HttpClient {
2823
2863
  * @secure
2824
2864
  * @response `200` `Listing` OK
2825
2865
  */
2826
- replaceListing: (id, data, params = {}) => this.request(Object.assign({ path: `/api/listings/${id}`, method: "PUT", body: data, secure: true, type: "application/json", format: "json" }, params)),
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)),
2827
2867
  /**
2828
2868
  * No description
2829
2869
  *
@@ -2845,7 +2885,7 @@ export class Api extends HttpClient {
2845
2885
  * @secure
2846
2886
  * @response `200` `ListingPaginated` OK
2847
2887
  */
2848
- 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)),
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)),
2849
2889
  /**
2850
2890
  * No description
2851
2891
  *
@@ -2856,7 +2896,7 @@ export class Api extends HttpClient {
2856
2896
  * @secure
2857
2897
  * @response `200` `File` OK
2858
2898
  */
2859
- 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)),
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)),
2860
2900
  /**
2861
2901
  * No description
2862
2902
  *
@@ -2902,7 +2942,7 @@ export class Api extends HttpClient {
2902
2942
  * @response `422` `UnprocessableEntity` Unprocessable Content
2903
2943
  * @response `423` `UnprocessableEntity` Locked
2904
2944
  */
2905
- 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)),
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)),
2906
2946
  /**
2907
2947
  * No description
2908
2948
  *
@@ -2926,7 +2966,7 @@ export class Api extends HttpClient {
2926
2966
  * @response `422` `UnprocessableEntity` Unprocessable Content
2927
2967
  * @response `423` `UnprocessableEntity` Locked
2928
2968
  */
2929
- 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)),
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)),
2930
2970
  /**
2931
2971
  * No description
2932
2972
  *
@@ -2949,7 +2989,7 @@ export class Api extends HttpClient {
2949
2989
  * @response `204` `void` No Content
2950
2990
  * @response `422` `UnprocessableEntity` Unprocessable Content
2951
2991
  */
2952
- 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)),
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)),
2953
2993
  /**
2954
2994
  * No description
2955
2995
  *
@@ -2986,7 +3026,7 @@ export class Api extends HttpClient {
2986
3026
  * @response `400` `ProblemDetails` Bad Request
2987
3027
  * @response `422` `ProblemDetails` Unprocessable Content
2988
3028
  */
2989
- bulkSetLoanCustomFieldValues: (loanId, data, params = {}) => this.request(Object.assign({ path: `/api/loans/${loanId}/custom-fields`, method: "PUT", body: data, secure: true, type: "application/json" }, params)),
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)),
2990
3030
  /**
2991
3031
  * No description
2992
3032
  *
@@ -3000,7 +3040,7 @@ export class Api extends HttpClient {
3000
3040
  * @response `404` `ProblemDetails` Not Found
3001
3041
  * @response `422` `ProblemDetails` Unprocessable Content
3002
3042
  */
3003
- 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)),
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)),
3004
3044
  /**
3005
3045
  * No description
3006
3046
  *
@@ -3035,7 +3075,7 @@ export class Api extends HttpClient {
3035
3075
  * @secure
3036
3076
  * @response `200` `LoanDocumentFolderPaginated` OK
3037
3077
  */
3038
- 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)),
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)),
3039
3079
  /**
3040
3080
  * No description
3041
3081
  *
@@ -3062,7 +3102,7 @@ export class Api extends HttpClient {
3062
3102
  * @response `409` `ProblemDetails` Conflict
3063
3103
  * @response `422` `ProblemDetails` Unprocessable Content
3064
3104
  */
3065
- 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)),
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)),
3066
3106
  /**
3067
3107
  * No description
3068
3108
  *
@@ -3089,7 +3129,7 @@ export class Api extends HttpClient {
3089
3129
  * @response `409` `ProblemDetails` Conflict
3090
3130
  * @response `422` `ProblemDetails` Unprocessable Content
3091
3131
  */
3092
- createLoanDocumentFolder: (data, params = {}) => this.request(Object.assign({ path: `/api/loan-document-folders`, method: "POST", body: data, secure: true, type: "application/json", format: "json" }, params)),
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)),
3093
3133
  /**
3094
3134
  * No description
3095
3135
  *
@@ -3149,7 +3189,7 @@ export class Api extends HttpClient {
3149
3189
  * @secure
3150
3190
  * @response `200` `(DocumentFolder)[]` OK
3151
3191
  */
3152
- 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)),
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)),
3153
3193
  /**
3154
3194
  * No description
3155
3195
  *
@@ -3173,7 +3213,7 @@ export class Api extends HttpClient {
3173
3213
  * @response `200` `Record<string,string>` OK
3174
3214
  * @response `400` `ProblemDetails` Bad Request
3175
3215
  */
3176
- 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)),
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)),
3177
3217
  /**
3178
3218
  * No description
3179
3219
  *
@@ -3184,7 +3224,7 @@ export class Api extends HttpClient {
3184
3224
  * @secure
3185
3225
  * @response `200` `LoanDocumentSearchPaginated` OK
3186
3226
  */
3187
- 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)),
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)),
3188
3228
  /**
3189
3229
  * No description
3190
3230
  *
@@ -3193,7 +3233,7 @@ export class Api extends HttpClient {
3193
3233
  * @summary Download By ID
3194
3234
  * @request GET:/api/loans/{loanId}/documents/{documentId}/download
3195
3235
  * @secure
3196
- * @response `200` `Blob` OK
3236
+ * @response `200` `string` OK
3197
3237
  * @response `404` `ProblemDetails` Not Found
3198
3238
  */
3199
3239
  downloadLoanDocument: (loanId, documentId, params = {}) => this.request(Object.assign({ path: `/api/loans/${loanId}/documents/${documentId}/download`, method: "GET", secure: true, format: "json" }, params)),
@@ -3209,7 +3249,7 @@ export class Api extends HttpClient {
3209
3249
  * @response `404` `ProblemDetails` Not Found
3210
3250
  * @response `422` `UnprocessableEntity` Unprocessable Content
3211
3251
  */
3212
- 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)),
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)),
3213
3253
  /**
3214
3254
  * No description
3215
3255
  *
@@ -3233,7 +3273,7 @@ export class Api extends HttpClient {
3233
3273
  * @secure
3234
3274
  * @response `200` `DocumentDataRequest` OK
3235
3275
  */
3236
- 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)),
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)),
3237
3277
  /**
3238
3278
  * No description
3239
3279
  *
@@ -3246,7 +3286,7 @@ export class Api extends HttpClient {
3246
3286
  * @response `400` `ProblemDetails` Bad Request
3247
3287
  * @response `404` `ProblemDetails` Not Found
3248
3288
  */
3249
- sendLoanDocuments: (loanId, data, params = {}) => this.request(Object.assign({ path: `/api/loans/${loanId}/documents/distribute`, method: "POST", body: data, secure: true, type: "application/json" }, params)),
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)),
3250
3290
  /**
3251
3291
  * @description Fetches all documents from Encompass that don't exist locally and stores them in S3
3252
3292
  *
@@ -3271,7 +3311,7 @@ export class Api extends HttpClient {
3271
3311
  * @response `404` `ProblemDetails` Not Found
3272
3312
  * @response `422` `UnprocessableEntity` Unprocessable Content
3273
3313
  */
3274
- 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)),
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)),
3275
3315
  /**
3276
3316
  * @description Re-attempts to push a failed document to LOS
3277
3317
  *
@@ -3295,7 +3335,7 @@ export class Api extends HttpClient {
3295
3335
  * @secure
3296
3336
  * @response `201` `Draft` Created
3297
3337
  */
3298
- createLoanDraft: (data, params = {}) => this.request(Object.assign({ path: `/api/loans/drafts`, method: "POST", body: data, secure: true, type: "application/json", format: "json" }, params)),
3338
+ createLoanDraft: (data, params = {}) => this.request(Object.assign({ path: `/api/loans/drafts`, method: "POST", body: data, secure: true, type: ContentType.Json, format: "json" }, params)),
3299
3339
  /**
3300
3340
  * No description
3301
3341
  *
@@ -3328,7 +3368,7 @@ export class Api extends HttpClient {
3328
3368
  * @secure
3329
3369
  * @response `200` `Draft` OK
3330
3370
  */
3331
- 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)),
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)),
3332
3372
  /**
3333
3373
  * No description
3334
3374
  *
@@ -3350,7 +3390,7 @@ export class Api extends HttpClient {
3350
3390
  * @secure
3351
3391
  * @response `201` `DraftContentPaginated` Created
3352
3392
  */
3353
- 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)),
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)),
3354
3394
  /**
3355
3395
  * No description
3356
3396
  *
@@ -3361,7 +3401,7 @@ export class Api extends HttpClient {
3361
3401
  * @secure
3362
3402
  * @response `200` `Draft` OK
3363
3403
  */
3364
- 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)),
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)),
3365
3405
  /**
3366
3406
  * No description
3367
3407
  *
@@ -3394,7 +3434,7 @@ export class Api extends HttpClient {
3394
3434
  * @secure
3395
3435
  * @response `201` `LoanImport` Created
3396
3436
  */
3397
- createLoanImport: (data, params = {}) => this.request(Object.assign({ path: `/api/loan-imports`, method: "POST", body: data, secure: true, type: "application/json", format: "json" }, params)),
3437
+ createLoanImport: (data, params = {}) => this.request(Object.assign({ path: `/api/loan-imports`, method: "POST", body: data, secure: true, type: ContentType.Json, format: "json" }, params)),
3398
3438
  /**
3399
3439
  * No description
3400
3440
  *
@@ -3440,7 +3480,7 @@ export class Api extends HttpClient {
3440
3480
  * @response `200` `(Invite)[]` OK
3441
3481
  * @response `404` `ProblemDetails` Not Found
3442
3482
  */
3443
- 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)),
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)),
3444
3484
  /**
3445
3485
  * No description
3446
3486
  *
@@ -3463,7 +3503,7 @@ export class Api extends HttpClient {
3463
3503
  * @secure
3464
3504
  * @response `200` `LoanLogPaginated` OK
3465
3505
  */
3466
- 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)),
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)),
3467
3507
  /**
3468
3508
  * No description
3469
3509
  *
@@ -3488,7 +3528,7 @@ export class Api extends HttpClient {
3488
3528
  * @response `400` `ProblemDetails` Bad Request
3489
3529
  * @response `404` `ProblemDetails` Not Found
3490
3530
  */
3491
- 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)),
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)),
3492
3532
  /**
3493
3533
  * No description
3494
3534
  *
@@ -3501,7 +3541,7 @@ export class Api extends HttpClient {
3501
3541
  * @response `400` `ProblemDetails` Bad Request
3502
3542
  * @response `404` `ProblemDetails` Not Found
3503
3543
  */
3504
- 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)),
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)),
3505
3545
  /**
3506
3546
  * No description
3507
3547
  *
@@ -3523,7 +3563,7 @@ export class Api extends HttpClient {
3523
3563
  * @secure
3524
3564
  * @response `200` `BranchUserPaginated` OK
3525
3565
  */
3526
- 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)),
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)),
3527
3567
  /**
3528
3568
  * No description
3529
3569
  *
@@ -3546,7 +3586,7 @@ export class Api extends HttpClient {
3546
3586
  * @response `200` `SiteConfiguration` OK
3547
3587
  * @response `422` `UnprocessableEntity` Unprocessable Content
3548
3588
  */
3549
- 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)),
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)),
3550
3590
  /**
3551
3591
  * No description
3552
3592
  *
@@ -3569,7 +3609,7 @@ export class Api extends HttpClient {
3569
3609
  * @response `200` `SiteConfiguration` OK
3570
3610
  * @response `422` `UnprocessableEntity` Unprocessable Content
3571
3611
  */
3572
- 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)),
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)),
3573
3613
  /**
3574
3614
  * No description
3575
3615
  *
@@ -3580,7 +3620,7 @@ export class Api extends HttpClient {
3580
3620
  * @secure
3581
3621
  * @response `200` `LoanQueuePaginated` OK
3582
3622
  */
3583
- 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)),
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)),
3584
3624
  /**
3585
3625
  * No description
3586
3626
  *
@@ -3604,7 +3644,7 @@ export class Api extends HttpClient {
3604
3644
  * @response `200` `LoanQueueWithData` OK
3605
3645
  * @response `404` `ProblemDetails` Not Found
3606
3646
  */
3607
- 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)),
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)),
3608
3648
  /**
3609
3649
  * No description
3610
3650
  *
@@ -3665,7 +3705,7 @@ export class Api extends HttpClient {
3665
3705
  * @response `401` `ProblemDetails` Unauthorized
3666
3706
  * @response `403` `ProblemDetails` Forbidden
3667
3707
  */
3668
- createLoanv3: (data, params = {}) => this.request(Object.assign({ path: `/api/loans`, method: "POST", body: data, secure: true, type: "application/json", format: "json" }, params)),
3708
+ createLoanv3: (data, params = {}) => this.request(Object.assign({ path: `/api/loans`, method: "POST", body: data, secure: true, type: ContentType.Json, format: "json" }, params)),
3669
3709
  /**
3670
3710
  * No description
3671
3711
  *
@@ -3676,7 +3716,7 @@ export class Api extends HttpClient {
3676
3716
  * @secure
3677
3717
  * @response `200` `LoanListPaginated` OK
3678
3718
  */
3679
- 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)),
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)),
3680
3720
  /**
3681
3721
  * No description
3682
3722
  *
@@ -3692,7 +3732,7 @@ export class Api extends HttpClient {
3692
3732
  * @response `404` `ProblemDetails` Not Found
3693
3733
  * @response `409` `any` Conflict
3694
3734
  */
3695
- updateLoan: (loanId, data, params = {}) => this.request(Object.assign({ path: `/api/loans/${loanId}`, method: "PATCH", body: data, secure: true, type: "application/json", format: "json" }, params)),
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)),
3696
3736
  /**
3697
3737
  * No description
3698
3738
  *
@@ -3754,7 +3794,7 @@ export class Api extends HttpClient {
3754
3794
  * @response `400` `ProblemDetails` Bad Request
3755
3795
  * @response `404` `ProblemDetails` Not Found
3756
3796
  */
3757
- 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)),
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)),
3758
3798
  /**
3759
3799
  * No description
3760
3800
  *
@@ -3766,7 +3806,7 @@ export class Api extends HttpClient {
3766
3806
  * @response `200` `TaskCommentPaginated` OK
3767
3807
  * @response `404` `ProblemDetails` Not Found
3768
3808
  */
3769
- 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)),
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)),
3770
3810
  /**
3771
3811
  * No description
3772
3812
  *
@@ -3790,7 +3830,7 @@ export class Api extends HttpClient {
3790
3830
  * @response `201` `TaskComment` Created
3791
3831
  * @response `404` `ProblemDetails` Not Found
3792
3832
  */
3793
- 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)),
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)),
3794
3834
  /**
3795
3835
  * No description
3796
3836
  *
@@ -3802,7 +3842,7 @@ export class Api extends HttpClient {
3802
3842
  * @response `200` `TaskComment` OK
3803
3843
  * @response `404` `ProblemDetails` Not Found
3804
3844
  */
3805
- 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)),
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)),
3806
3846
  /**
3807
3847
  * No description
3808
3848
  *
@@ -3827,7 +3867,7 @@ export class Api extends HttpClient {
3827
3867
  * @response `404` `ProblemDetails` Not Found
3828
3868
  * @response `422` `UnprocessableEntity` Unprocessable Content
3829
3869
  */
3830
- 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)),
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)),
3831
3871
  /**
3832
3872
  * No description
3833
3873
  *
@@ -3841,7 +3881,7 @@ export class Api extends HttpClient {
3841
3881
  * @response `404` `ProblemDetails` Not Found
3842
3882
  * @response `422` `ProblemDetails` Unprocessable Content
3843
3883
  */
3844
- 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)),
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)),
3845
3885
  /**
3846
3886
  * No description
3847
3887
  *
@@ -3854,7 +3894,7 @@ export class Api extends HttpClient {
3854
3894
  * @response `400` `ProblemDetails` Bad Request
3855
3895
  * @response `404` `ProblemDetails` Not Found
3856
3896
  */
3857
- sendLoanTaskReminder: (loanId, data, params = {}) => this.request(Object.assign({ path: `/api/loans/${loanId}/tasks/reminders`, method: "POST", body: data, secure: true, type: "application/json" }, params)),
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)),
3858
3898
  /**
3859
3899
  * @description Search tasks across all loans
3860
3900
  *
@@ -3865,7 +3905,7 @@ export class Api extends HttpClient {
3865
3905
  * @secure
3866
3906
  * @response `200` `UserLoanTaskPaginated` OK
3867
3907
  */
3868
- 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)),
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)),
3869
3909
  /**
3870
3910
  * @description Returns task counts grouped by status for loans accessible to the current user based on their role
3871
3911
  *
@@ -3877,7 +3917,7 @@ export class Api extends HttpClient {
3877
3917
  * @response `200` `(LoanTaskStatusSummary)[]` OK
3878
3918
  * @response `422` `UnprocessableEntity` Unprocessable Content
3879
3919
  */
3880
- 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)),
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)),
3881
3921
  /**
3882
3922
  * No description
3883
3923
  *
@@ -3925,7 +3965,7 @@ export class Api extends HttpClient {
3925
3965
  * @response `201` `UserLoanTask` Created
3926
3966
  * @response `404` `ProblemDetails` Not Found
3927
3967
  */
3928
- 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)),
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)),
3929
3969
  /**
3930
3970
  * No description
3931
3971
  *
@@ -3937,7 +3977,7 @@ export class Api extends HttpClient {
3937
3977
  * @response `201` `(UserLoanTask)[]` Created
3938
3978
  * @response `404` `ProblemDetails` Not Found
3939
3979
  */
3940
- 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)),
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)),
3941
3981
  /**
3942
3982
  * No description
3943
3983
  *
@@ -3949,7 +3989,7 @@ export class Api extends HttpClient {
3949
3989
  * @response `200` `UserLoanTask` OK
3950
3990
  * @response `404` `ProblemDetails` Not Found
3951
3991
  */
3952
- 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)),
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)),
3953
3993
  /**
3954
3994
  * No description
3955
3995
  *
@@ -4008,7 +4048,7 @@ export class Api extends HttpClient {
4008
4048
  * @secure
4009
4049
  * @response `201` `LoanUser` Created
4010
4050
  */
4011
- 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)),
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)),
4012
4052
  /**
4013
4053
  * No description
4014
4054
  *
@@ -4041,7 +4081,7 @@ export class Api extends HttpClient {
4041
4081
  * @secure
4042
4082
  * @response `200` `LosOperationTrackingPaginated` OK
4043
4083
  */
4044
- 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)),
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)),
4045
4085
  /**
4046
4086
  * No description
4047
4087
  *
@@ -4054,7 +4094,7 @@ export class Api extends HttpClient {
4054
4094
  * @response `401` `ProblemDetails` Unauthorized
4055
4095
  * @response `403` `ProblemDetails` Forbidden
4056
4096
  */
4057
- 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)),
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)),
4058
4098
  /**
4059
4099
  * No description
4060
4100
  *
@@ -4067,7 +4107,7 @@ export class Api extends HttpClient {
4067
4107
  * @response `401` `ProblemDetails` Unauthorized
4068
4108
  * @response `403` `ProblemDetails` Forbidden
4069
4109
  */
4070
- 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)),
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)),
4071
4111
  /**
4072
4112
  * No description
4073
4113
  *
@@ -4104,7 +4144,7 @@ export class Api extends HttpClient {
4104
4144
  * @response `201` `MilestoneConfiguration` Created
4105
4145
  * @response `422` `UnprocessableEntity` Unprocessable Content
4106
4146
  */
4107
- createMilestone: (data, params = {}) => this.request(Object.assign({ path: `/api/milestones`, method: "POST", body: data, secure: true, type: "application/json", format: "json" }, params)),
4147
+ createMilestone: (data, params = {}) => this.request(Object.assign({ path: `/api/milestones`, method: "POST", body: data, secure: true, type: ContentType.Json, format: "json" }, params)),
4108
4148
  /**
4109
4149
  * No description
4110
4150
  *
@@ -4129,7 +4169,7 @@ export class Api extends HttpClient {
4129
4169
  * @response `404` `Error` Not Found
4130
4170
  * @response `422` `UnprocessableEntity` Unprocessable Content
4131
4171
  */
4132
- replaceMilestone: (id, data, params = {}) => this.request(Object.assign({ path: `/api/milestones/${id}`, method: "PUT", body: data, secure: true, type: "application/json", format: "json" }, params)),
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)),
4133
4173
  /**
4134
4174
  * No description
4135
4175
  *
@@ -4155,7 +4195,7 @@ export class Api extends HttpClient {
4155
4195
  * @response `404` `ProblemDetails` Not Found
4156
4196
  * @response `422` `ProblemDetails` Unprocessable Content
4157
4197
  */
4158
- 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)),
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)),
4159
4199
  /**
4160
4200
  * No description
4161
4201
  *
@@ -4167,7 +4207,7 @@ export class Api extends HttpClient {
4167
4207
  * @response `200` `MonthlyPaymentCalculator` OK
4168
4208
  * @response `422` `ProblemDetails` Unprocessable Content
4169
4209
  */
4170
- 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)),
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)),
4171
4211
  /**
4172
4212
  * No description
4173
4213
  *
@@ -4179,7 +4219,7 @@ export class Api extends HttpClient {
4179
4219
  * @response `200` `AffordabilityCalculator` OK
4180
4220
  * @response `422` `ProblemDetails` Unprocessable Content
4181
4221
  */
4182
- calculateMortgageAffordability: (data, params = {}) => this.request(Object.assign({ path: `/api/mortgage-calculators/affordability`, method: "POST", body: data, secure: true, type: "application/json", format: "json" }, params)),
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)),
4183
4223
  /**
4184
4224
  * No description
4185
4225
  *
@@ -4191,7 +4231,7 @@ export class Api extends HttpClient {
4191
4231
  * @response `200` `LoanComparisonCalculator` OK
4192
4232
  * @response `422` `ProblemDetails` Unprocessable Content
4193
4233
  */
4194
- 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)),
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)),
4195
4235
  /**
4196
4236
  * No description
4197
4237
  *
@@ -4203,7 +4243,7 @@ export class Api extends HttpClient {
4203
4243
  * @response `200` `RefinanceCalculator` OK
4204
4244
  * @response `422` `ProblemDetails` Unprocessable Content
4205
4245
  */
4206
- calculateMortgageRefinance: (data, params = {}) => this.request(Object.assign({ path: `/api/mortgage-calculators/refinance`, method: "POST", body: data, secure: true, type: "application/json", format: "json" }, params)),
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)),
4207
4247
  /**
4208
4248
  * No description
4209
4249
  *
@@ -4226,7 +4266,7 @@ export class Api extends HttpClient {
4226
4266
  * @response `201` `NotificationTemplate` Created
4227
4267
  * @response `422` `UnprocessableEntity` Unprocessable Content
4228
4268
  */
4229
- createNotificationTemplate: (data, params = {}) => this.request(Object.assign({ path: `/api/notification-templates`, method: "POST", body: data, secure: true, type: "application/json", format: "json" }, params)),
4269
+ createNotificationTemplate: (data, params = {}) => this.request(Object.assign({ path: `/api/notification-templates`, method: "POST", body: data, secure: true, type: ContentType.Json, format: "json" }, params)),
4230
4270
  /**
4231
4271
  * No description
4232
4272
  *
@@ -4237,7 +4277,7 @@ export class Api extends HttpClient {
4237
4277
  * @secure
4238
4278
  * @response `200` `NotificationTemplateBasePaginated` OK
4239
4279
  */
4240
- 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)),
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)),
4241
4281
  /**
4242
4282
  * No description
4243
4283
  *
@@ -4260,7 +4300,7 @@ export class Api extends HttpClient {
4260
4300
  * @response `200` `NotificationTemplate` OK
4261
4301
  * @response `422` `UnprocessableEntity` Unprocessable Content
4262
4302
  */
4263
- 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)),
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)),
4264
4304
  /**
4265
4305
  * No description
4266
4306
  *
@@ -4304,7 +4344,7 @@ export class Api extends HttpClient {
4304
4344
  * @secure
4305
4345
  * @response `200` `NotificationTemplateVersion` OK
4306
4346
  */
4307
- 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)),
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)),
4308
4348
  /**
4309
4349
  * No description
4310
4350
  *
@@ -4326,7 +4366,7 @@ export class Api extends HttpClient {
4326
4366
  * @secure
4327
4367
  * @response `200` `NotificationTemplateVersion` OK
4328
4368
  */
4329
- 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)),
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)),
4330
4370
  /**
4331
4371
  * No description
4332
4372
  *
@@ -4359,7 +4399,7 @@ export class Api extends HttpClient {
4359
4399
  * @secure
4360
4400
  * @response `200` `BranchUserPaginated` OK
4361
4401
  */
4362
- 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)),
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)),
4363
4403
  /**
4364
4404
  * No description
4365
4405
  *
@@ -4382,7 +4422,7 @@ export class Api extends HttpClient {
4382
4422
  * @response `200` `SiteConfiguration` OK
4383
4423
  * @response `422` `UnprocessableEntity` Unprocessable Content
4384
4424
  */
4385
- 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)),
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)),
4386
4426
  /**
4387
4427
  * No description
4388
4428
  *
@@ -4405,7 +4445,7 @@ export class Api extends HttpClient {
4405
4445
  * @response `200` `SiteConfiguration` OK
4406
4446
  * @response `422` `UnprocessableEntity` Unprocessable Content
4407
4447
  */
4408
- 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)),
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)),
4409
4449
  /**
4410
4450
  * No description
4411
4451
  *
@@ -4429,7 +4469,7 @@ export class Api extends HttpClient {
4429
4469
  * @response `200` `SiteConfigurationByUrl` OK
4430
4470
  * @response `422` `UnprocessableEntity` Unprocessable Content
4431
4471
  */
4432
- searchSiteConfigurationByUrl: (data, params = {}) => this.request(Object.assign({ path: `/api/site-configurations/url`, method: "POST", body: data, secure: true, type: "application/json", format: "json" }, params)),
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)),
4433
4473
  /**
4434
4474
  * No description
4435
4475
  *
@@ -4454,7 +4494,7 @@ export class Api extends HttpClient {
4454
4494
  * @response `200` `SiteConfiguration` OK
4455
4495
  * @response `422` `UnprocessableEntity` Unprocessable Content
4456
4496
  */
4457
- searchSiteConfigurationByLoanOfficerUser: (data, params = {}) => this.request(Object.assign({ path: `/api/site-configurations/louser`, method: "POST", body: data, secure: true, type: "application/json", format: "json" }, params)),
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)),
4458
4498
  /**
4459
4499
  * No description
4460
4500
  *
@@ -4478,7 +4518,7 @@ export class Api extends HttpClient {
4478
4518
  * @response `200` `SiteConfigurationSummaryPaginated` OK
4479
4519
  * @response `422` `UnprocessableEntity` Unprocessable Content
4480
4520
  */
4481
- 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)),
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)),
4482
4522
  /**
4483
4523
  * No description
4484
4524
  *
@@ -4570,7 +4610,7 @@ export class Api extends HttpClient {
4570
4610
  * @secure
4571
4611
  * @response `200` `GetForm` OK
4572
4612
  */
4573
- getFormBySiteConfigurationSlug: (data, params = {}) => this.request(Object.assign({ path: `/api/site-forms`, method: "POST", body: data, secure: true, type: "application/json", format: "json" }, params)),
4613
+ getFormBySiteConfigurationSlug: (data, params = {}) => this.request(Object.assign({ path: `/api/site-forms`, method: "POST", body: data, secure: true, type: ContentType.Json, format: "json" }, params)),
4574
4614
  /**
4575
4615
  * No description
4576
4616
  *
@@ -4582,7 +4622,7 @@ export class Api extends HttpClient {
4582
4622
  * @response `200` `SiteTilePaginated` OK
4583
4623
  * @response `403` `ProblemDetails` Forbidden
4584
4624
  */
4585
- 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)),
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)),
4586
4626
  /**
4587
4627
  * No description
4588
4628
  *
@@ -4622,7 +4662,7 @@ export class Api extends HttpClient {
4622
4662
  * @response `403` `ProblemDetails` Forbidden
4623
4663
  * @response `404` `ProblemDetails` Not Found
4624
4664
  */
4625
- 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)),
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)),
4626
4666
  /**
4627
4667
  * No description
4628
4668
  *
@@ -4648,7 +4688,7 @@ export class Api extends HttpClient {
4648
4688
  * @response `400` `ProblemDetails` Bad Request
4649
4689
  * @response `403` `ProblemDetails` Forbidden
4650
4690
  */
4651
- createSiteTile: (data, params = {}) => this.request(Object.assign({ path: `/api/site-tiles`, method: "POST", body: data, secure: true, type: "application/json", format: "json" }, params)),
4691
+ createSiteTile: (data, params = {}) => this.request(Object.assign({ path: `/api/site-tiles`, method: "POST", body: data, secure: true, type: ContentType.Json, format: "json" }, params)),
4652
4692
  /**
4653
4693
  * No description
4654
4694
  *
@@ -4671,7 +4711,7 @@ export class Api extends HttpClient {
4671
4711
  * @response `200` `(SocialSurveyRecord)[]` OK
4672
4712
  * @response `422` `UnprocessableEntity` Unprocessable Content
4673
4713
  */
4674
- getSurveysByUser: (data, params = {}) => this.request(Object.assign({ path: `/api/surveys`, method: "POST", body: data, secure: true, type: "application/json", format: "json" }, params)),
4714
+ getSurveysByUser: (data, params = {}) => this.request(Object.assign({ path: `/api/surveys`, method: "POST", body: data, secure: true, type: ContentType.Json, format: "json" }, params)),
4675
4715
  /**
4676
4716
  * No description
4677
4717
  *
@@ -4694,7 +4734,7 @@ export class Api extends HttpClient {
4694
4734
  * @secure
4695
4735
  * @response `201` `Task` Created
4696
4736
  */
4697
- createTask: (data, params = {}) => this.request(Object.assign({ path: `/api/tasks`, method: "POST", body: data, secure: true, type: "application/json", format: "json" }, params)),
4737
+ createTask: (data, params = {}) => this.request(Object.assign({ path: `/api/tasks`, method: "POST", body: data, secure: true, type: ContentType.Json, format: "json" }, params)),
4698
4738
  /**
4699
4739
  * No description
4700
4740
  *
@@ -4718,7 +4758,7 @@ export class Api extends HttpClient {
4718
4758
  * @response `200` `Task` OK
4719
4759
  * @response `404` `ProblemDetails` Not Found
4720
4760
  */
4721
- replaceTask: (id, data, params = {}) => this.request(Object.assign({ path: `/api/tasks/${id}`, method: "PUT", body: data, secure: true, type: "application/json", format: "json" }, params)),
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)),
4722
4762
  /**
4723
4763
  * No description
4724
4764
  *
@@ -4741,7 +4781,7 @@ export class Api extends HttpClient {
4741
4781
  * @secure
4742
4782
  * @response `200` `TaskPaginated` OK
4743
4783
  */
4744
- 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)),
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)),
4745
4785
  /**
4746
4786
  * No description
4747
4787
  *
@@ -4751,7 +4791,7 @@ export class Api extends HttpClient {
4751
4791
  * @secure
4752
4792
  * @response `200` `void` OK
4753
4793
  */
4754
- integrationsLosLoansCreate: (data, params = {}) => this.request(Object.assign({ path: `/api/integrations/los/loans`, method: "POST", body: data, secure: true, type: "application/json" }, params)),
4794
+ integrationsLosLoansCreate: (data, params = {}) => this.request(Object.assign({ path: `/api/integrations/los/loans`, method: "POST", body: data, secure: true, type: ContentType.Json }, params)),
4755
4795
  /**
4756
4796
  * No description
4757
4797
  *
@@ -4762,7 +4802,7 @@ export class Api extends HttpClient {
4762
4802
  * @secure
4763
4803
  * @response `200` `EncompassRequestLogPaginated` OK
4764
4804
  */
4765
- 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)),
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)),
4766
4806
  /**
4767
4807
  * No description
4768
4808
  *
@@ -4785,7 +4825,7 @@ export class Api extends HttpClient {
4785
4825
  * @secure
4786
4826
  * @response `201` `LosCredentials` Created
4787
4827
  */
4788
- createEncompassCredentials: (data, params = {}) => this.request(Object.assign({ path: `/api/los/encompass/credentials`, method: "POST", body: data, secure: true, type: "application/json", format: "json" }, params)),
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)),
4789
4829
  /**
4790
4830
  * No description
4791
4831
  *
@@ -4796,7 +4836,7 @@ export class Api extends HttpClient {
4796
4836
  * @secure
4797
4837
  * @response `200` `EncompassCredentialsDetail` OK
4798
4838
  */
4799
- updateEncompassCredentials: (data, params = {}) => this.request(Object.assign({ path: `/api/los/encompass/credentials`, method: "PUT", body: data, secure: true, type: "application/json", format: "json" }, params)),
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)),
4800
4840
  /**
4801
4841
  * No description
4802
4842
  *
@@ -4818,7 +4858,7 @@ export class Api extends HttpClient {
4818
4858
  * @secure
4819
4859
  * @response `201` `LosWebhook` Created
4820
4860
  */
4821
- createEncompassWebhook: (data, params = {}) => this.request(Object.assign({ path: `/api/los/encompass/webhooks`, method: "POST", body: data, secure: true, type: "application/json", format: "json" }, params)),
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)),
4822
4862
  /**
4823
4863
  * No description
4824
4864
  *
@@ -4840,7 +4880,7 @@ export class Api extends HttpClient {
4840
4880
  * @secure
4841
4881
  * @response `200` `LosSyncPaginated` OK
4842
4882
  */
4843
- 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)),
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)),
4844
4884
  /**
4845
4885
  * No description
4846
4886
  *
@@ -4923,7 +4963,7 @@ export class Api extends HttpClient {
4923
4963
  * @response `201` `UserDevice` Created
4924
4964
  * @response `400` `ProblemDetails` Bad Request
4925
4965
  */
4926
- createUserDevice: (data, params = {}) => this.request(Object.assign({ path: `/api/userdevices`, method: "POST", body: data, secure: true, type: "application/json", format: "json" }, params)),
4966
+ createUserDevice: (data, params = {}) => this.request(Object.assign({ path: `/api/userdevices`, method: "POST", body: data, secure: true, type: ContentType.Json, format: "json" }, params)),
4927
4967
  /**
4928
4968
  * No description
4929
4969
  *
@@ -4970,7 +5010,7 @@ export class Api extends HttpClient {
4970
5010
  * @response `404` `ProblemDetails` Not Found
4971
5011
  * @response `409` `ProblemDetails` Conflict
4972
5012
  */
4973
- 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)),
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)),
4974
5014
  /**
4975
5015
  * No description
4976
5016
  *
@@ -5003,7 +5043,7 @@ export class Api extends HttpClient {
5003
5043
  * @secure
5004
5044
  * @response `200` `UserGroupAccessScope` OK
5005
5045
  */
5006
- 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)),
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)),
5007
5047
  /**
5008
5048
  * No description
5009
5049
  *
@@ -5036,7 +5076,7 @@ export class Api extends HttpClient {
5036
5076
  * @secure
5037
5077
  * @response `200` `UserGroupMember` OK
5038
5078
  */
5039
- 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)),
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)),
5040
5080
  /**
5041
5081
  * No description
5042
5082
  *
@@ -5080,7 +5120,7 @@ export class Api extends HttpClient {
5080
5120
  * @secure
5081
5121
  * @response `200` `UserGroup` OK
5082
5122
  */
5083
- 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)),
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)),
5084
5124
  /**
5085
5125
  * No description
5086
5126
  *
@@ -5102,7 +5142,7 @@ export class Api extends HttpClient {
5102
5142
  * @secure
5103
5143
  * @response `201` `UserGroup` Created
5104
5144
  */
5105
- createUserGroup: (data, params = {}) => this.request(Object.assign({ path: `/api/user-groups`, method: "POST", body: data, secure: true, type: "application/json", format: "json" }, params)),
5145
+ createUserGroup: (data, params = {}) => this.request(Object.assign({ path: `/api/user-groups`, method: "POST", body: data, secure: true, type: ContentType.Json, format: "json" }, params)),
5106
5146
  /**
5107
5147
  * No description
5108
5148
  *
@@ -5115,7 +5155,7 @@ export class Api extends HttpClient {
5115
5155
  * @response `404` `Error` Not Found
5116
5156
  * @response `422` `UnprocessableEntity` Unprocessable Content
5117
5157
  */
5118
- requestImpersonation: (data, params = {}) => this.request(Object.assign({ path: `/api/users/impersonation/request`, method: "POST", body: data, secure: true, type: "application/json" }, params)),
5158
+ requestImpersonation: (data, params = {}) => this.request(Object.assign({ path: `/api/users/impersonation/request`, method: "POST", body: data, secure: true, type: ContentType.Json }, params)),
5119
5159
  /**
5120
5160
  * No description
5121
5161
  *
@@ -5128,7 +5168,7 @@ export class Api extends HttpClient {
5128
5168
  * @response `404` `Error` Not Found
5129
5169
  * @response `422` `UnprocessableEntity` Unprocessable Content
5130
5170
  */
5131
- allowImpersonation: (data, params = {}) => this.request(Object.assign({ path: `/api/users/impersonation/allow`, method: "POST", body: data, secure: true, type: "application/json" }, params)),
5171
+ allowImpersonation: (data, params = {}) => this.request(Object.assign({ path: `/api/users/impersonation/allow`, method: "POST", body: data, secure: true, type: ContentType.Json }, params)),
5132
5172
  /**
5133
5173
  * No description
5134
5174
  *
@@ -5178,7 +5218,7 @@ export class Api extends HttpClient {
5178
5218
  * @response `404` `Error` Not Found
5179
5219
  * @response `422` `UnprocessableEntity` Unprocessable Content
5180
5220
  */
5181
- forceImpersonation: (data, params = {}) => this.request(Object.assign({ path: `/api/users/impersonation/force`, method: "POST", body: data, secure: true, type: "application/json" }, params)),
5221
+ forceImpersonation: (data, params = {}) => this.request(Object.assign({ path: `/api/users/impersonation/force`, method: "POST", body: data, secure: true, type: ContentType.Json }, params)),
5182
5222
  /**
5183
5223
  * No description
5184
5224
  *
@@ -5202,7 +5242,7 @@ export class Api extends HttpClient {
5202
5242
  * @response `204` `void` No Content
5203
5243
  * @response `422` `UnprocessableEntity` Unprocessable Content
5204
5244
  */
5205
- inviteUser: (data, params = {}) => this.request(Object.assign({ path: `/api/users/invites`, method: "POST", body: data, secure: true, type: "application/json" }, params)),
5245
+ inviteUser: (data, params = {}) => this.request(Object.assign({ path: `/api/users/invites`, method: "POST", body: data, secure: true, type: ContentType.Json }, params)),
5206
5246
  /**
5207
5247
  * No description
5208
5248
  *
@@ -5240,7 +5280,7 @@ export class Api extends HttpClient {
5240
5280
  * @secure
5241
5281
  * @response `204` `void` No Content
5242
5282
  */
5243
- requestUserReactivation: (data, params = {}) => this.request(Object.assign({ path: `/api/users/reactivation/request`, method: "POST", body: data, secure: true, type: "application/json" }, params)),
5283
+ requestUserReactivation: (data, params = {}) => this.request(Object.assign({ path: `/api/users/reactivation/request`, method: "POST", body: data, secure: true, type: ContentType.Json }, params)),
5244
5284
  /**
5245
5285
  * No description
5246
5286
  *
@@ -5252,7 +5292,7 @@ export class Api extends HttpClient {
5252
5292
  * @response `204` `void` No Content
5253
5293
  * @response `400` `ProblemDetails` Bad Request
5254
5294
  */
5255
- completeUserReactivation: (data, params = {}) => this.request(Object.assign({ path: `/api/users/reactivation/complete`, method: "POST", body: data, secure: true, type: "application/json" }, params)),
5295
+ completeUserReactivation: (data, params = {}) => this.request(Object.assign({ path: `/api/users/reactivation/complete`, method: "POST", body: data, secure: true, type: ContentType.Json }, params)),
5256
5296
  /**
5257
5297
  * No description
5258
5298
  *
@@ -5274,7 +5314,7 @@ export class Api extends HttpClient {
5274
5314
  * @secure
5275
5315
  * @response `204` `void` No Content
5276
5316
  */
5277
- createUserRelation: (userId, data, params = {}) => this.request(Object.assign({ path: `/api/users/${userId}/relations`, method: "POST", body: data, secure: true, type: "application/json" }, params)),
5317
+ createUserRelation: (userId, data, params = {}) => this.request(Object.assign({ path: `/api/users/${userId}/relations`, method: "POST", body: data, secure: true, type: ContentType.Json }, params)),
5278
5318
  /**
5279
5319
  * No description
5280
5320
  *
@@ -5320,7 +5360,7 @@ export class Api extends HttpClient {
5320
5360
  * @response `409` `ProblemDetails` Conflict
5321
5361
  * @response `422` `UnprocessableEntity` Unprocessable Content
5322
5362
  */
5323
- createUser: (data, params = {}) => this.request(Object.assign({ path: `/api/users`, method: "POST", body: data, secure: true, type: "application/json", format: "json" }, params)),
5363
+ createUser: (data, params = {}) => this.request(Object.assign({ path: `/api/users`, method: "POST", body: data, secure: true, type: ContentType.Json, format: "json" }, params)),
5324
5364
  /**
5325
5365
  * No description
5326
5366
  *
@@ -5331,7 +5371,7 @@ export class Api extends HttpClient {
5331
5371
  * @secure
5332
5372
  * @response `200` `UserPaginated` OK
5333
5373
  */
5334
- 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)),
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)),
5335
5375
  /**
5336
5376
  * No description
5337
5377
  *
@@ -5342,7 +5382,7 @@ export class Api extends HttpClient {
5342
5382
  * @secure
5343
5383
  * @response `200` `AdminAccessUser` OK
5344
5384
  */
5345
- getUserByEmail: (data, params = {}) => this.request(Object.assign({ path: `/api/users/byemail`, method: "POST", body: data, secure: true, type: "application/json", format: "json" }, params)),
5385
+ getUserByEmail: (data, params = {}) => this.request(Object.assign({ path: `/api/users/byemail`, method: "POST", body: data, secure: true, type: ContentType.Json, format: "json" }, params)),
5346
5386
  /**
5347
5387
  * No description
5348
5388
  *
@@ -5354,7 +5394,7 @@ export class Api extends HttpClient {
5354
5394
  * @response `200` `User` OK
5355
5395
  * @response `422` `UnprocessableEntity` Unprocessable Content
5356
5396
  */
5357
- signUp: (data, params = {}) => this.request(Object.assign({ path: `/api/users/register`, method: "POST", body: data, secure: true, type: "application/json", format: "json" }, params)),
5397
+ signUp: (data, params = {}) => this.request(Object.assign({ path: `/api/users/register`, method: "POST", body: data, secure: true, type: ContentType.Json, format: "json" }, params)),
5358
5398
  /**
5359
5399
  * No description
5360
5400
  *
@@ -5366,7 +5406,7 @@ export class Api extends HttpClient {
5366
5406
  * @response `200` `DetailedUser` OK
5367
5407
  * @response `422` `UnprocessableEntity` Unprocessable Content
5368
5408
  */
5369
- replaceUser: (id, data, params = {}) => this.request(Object.assign({ path: `/api/users/${id}`, method: "PUT", body: data, secure: true, type: "application/json", format: "json" }, params)),
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)),
5370
5410
  /**
5371
5411
  * No description
5372
5412
  *
@@ -5400,7 +5440,7 @@ export class Api extends HttpClient {
5400
5440
  * @response `204` `void` No Content
5401
5441
  * @response `422` `UnprocessableEntity` Unprocessable Content
5402
5442
  */
5403
- changePassword: (data, params = {}) => this.request(Object.assign({ path: `/api/users/change-password`, method: "POST", body: data, secure: true, type: "application/json" }, params)),
5443
+ changePassword: (data, params = {}) => this.request(Object.assign({ path: `/api/users/change-password`, method: "POST", body: data, secure: true, type: ContentType.Json }, params)),
5404
5444
  /**
5405
5445
  * No description
5406
5446
  *
@@ -5413,7 +5453,7 @@ export class Api extends HttpClient {
5413
5453
  * @response `204` `void` No Content
5414
5454
  * @response `422` `UnprocessableEntity` Unprocessable Content
5415
5455
  */
5416
- verifyPassword: (data, params = {}) => this.request(Object.assign({ path: `/api/users/verify-password`, method: "POST", body: data, secure: true, type: "application/json" }, params)),
5456
+ verifyPassword: (data, params = {}) => this.request(Object.assign({ path: `/api/users/verify-password`, method: "POST", body: data, secure: true, type: ContentType.Json }, params)),
5417
5457
  /**
5418
5458
  * No description
5419
5459
  *
@@ -5425,7 +5465,7 @@ export class Api extends HttpClient {
5425
5465
  * @response `204` `void` No Content
5426
5466
  * @response `422` `UnprocessableEntity` Unprocessable Content
5427
5467
  */
5428
- overridePassword: (id, data, params = {}) => this.request(Object.assign({ path: `/api/users/${id}/override-password`, method: "POST", body: data, secure: true, type: "application/json" }, params)),
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)),
5429
5469
  /**
5430
5470
  * No description
5431
5471
  *
@@ -5438,7 +5478,7 @@ export class Api extends HttpClient {
5438
5478
  * @response `204` `void` No Content
5439
5479
  * @response `422` `UnprocessableEntity` Unprocessable Content
5440
5480
  */
5441
- forgotPassword: (data, params = {}) => this.request(Object.assign({ path: `/api/users/forgot-password`, method: "POST", body: data, secure: true, type: "application/json" }, params)),
5481
+ forgotPassword: (data, params = {}) => this.request(Object.assign({ path: `/api/users/forgot-password`, method: "POST", body: data, secure: true, type: ContentType.Json }, params)),
5442
5482
  /**
5443
5483
  * No description
5444
5484
  *
@@ -5462,7 +5502,7 @@ export class Api extends HttpClient {
5462
5502
  * @response `204` `void` No Content
5463
5503
  * @response `422` `UnprocessableEntity` Unprocessable Content
5464
5504
  */
5465
- verifyUserMobilePhone: (data, params = {}) => this.request(Object.assign({ path: `/api/users/mobile-phone/verify-code`, method: "PUT", body: data, secure: true, type: "application/json" }, params)),
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)),
5466
5506
  /**
5467
5507
  * No description
5468
5508
  *
@@ -5487,7 +5527,7 @@ export class Api extends HttpClient {
5487
5527
  * @response `403` `ProblemDetails` Forbidden
5488
5528
  * @response `409` `ProblemDetails` Conflict
5489
5529
  */
5490
- replaceMe: (data, params = {}) => this.request(Object.assign({ path: `/api/users/me`, method: "PUT", body: data, secure: true, type: "application/json", format: "json" }, params)),
5530
+ replaceMe: (data, params = {}) => this.request(Object.assign({ path: `/api/users/me`, method: "PUT", body: data, secure: true, type: ContentType.Json, format: "json" }, params)),
5491
5531
  /**
5492
5532
  * @description Update the phone number If changed will send a verification code to the new number
5493
5533
  *
@@ -5498,7 +5538,7 @@ export class Api extends HttpClient {
5498
5538
  * @secure
5499
5539
  * @response `204` `DetailedUser` No Content
5500
5540
  */
5501
- 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)),
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)),
5502
5542
  /**
5503
5543
  * No description
5504
5544
  *
@@ -5542,7 +5582,7 @@ export class Api extends HttpClient {
5542
5582
  * @secure
5543
5583
  * @response `204` `void` No Content
5544
5584
  */
5545
- deleteMe: (data, params = {}) => this.request(Object.assign({ path: `/api/users/me/delete`, method: "POST", body: data, secure: true, type: "application/json" }, params)),
5585
+ deleteMe: (data, params = {}) => this.request(Object.assign({ path: `/api/users/me/delete`, method: "POST", body: data, secure: true, type: ContentType.Json }, params)),
5546
5586
  /**
5547
5587
  * No description
5548
5588
  *
@@ -5553,7 +5593,7 @@ export class Api extends HttpClient {
5553
5593
  * @secure
5554
5594
  * @response `200` `GetForm` OK
5555
5595
  */
5556
- getWorkflow: (data, params = {}) => this.request(Object.assign({ path: `/api/workflow`, method: "POST", body: data, secure: true, type: "application/json", format: "json" }, params)),
5596
+ getWorkflow: (data, params = {}) => this.request(Object.assign({ path: `/api/workflow`, method: "POST", body: data, secure: true, type: ContentType.Json, format: "json" }, params)),
5557
5597
  };
5558
5598
  this.sso = {
5559
5599
  /**