@matech/thebigpos-sdk 2.45.0-rc0 → 2.45.0-rc5

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.js CHANGED
@@ -30,15 +30,6 @@ var __rest = (this && this.__rest) || function (s, e) {
30
30
  return t;
31
31
  };
32
32
  import axios from "axios";
33
- export var ContentType;
34
- (function (ContentType) {
35
- ContentType["JsonPatch"] = "application/json-patch+json";
36
- ContentType["Json"] = "application/json";
37
- ContentType["JsonApi"] = "application/vnd.api+json";
38
- ContentType["FormData"] = "multipart/form-data";
39
- ContentType["UrlEncoded"] = "application/x-www-form-urlencoded";
40
- ContentType["Text"] = "text/plain";
41
- })(ContentType || (ContentType = {}));
42
33
  export class HttpClient {
43
34
  constructor(_a = {}) {
44
35
  var { securityWorker, secure, format } = _a, axiosConfig = __rest(_a, ["securityWorker", "secure", "format"]);
@@ -54,13 +45,13 @@ export class HttpClient {
54
45
  {};
55
46
  const requestParams = this.mergeRequestParams(params, secureParams);
56
47
  const responseFormat = format || this.format || undefined;
57
- if (type === ContentType.FormData &&
48
+ if (type === "multipart/form-data" &&
58
49
  body &&
59
50
  body !== null &&
60
51
  typeof body === "object") {
61
52
  body = this.createFormData(body);
62
53
  }
63
- if (type === ContentType.Text &&
54
+ if (type === "text/plain" &&
64
55
  body &&
65
56
  body !== null &&
66
57
  typeof body !== "string") {
@@ -156,7 +147,7 @@ export class Api extends HttpClient {
156
147
  * @response `404` `ProblemDetails` Not Found
157
148
  * @response `422` `ProblemDetails` Unprocessable Content
158
149
  */
159
- replaceMyAccount: (data, params = {}) => this.request(Object.assign({ path: `/api/account`, method: "PUT", body: data, secure: true, type: ContentType.Json, format: "json" }, params)),
150
+ replaceMyAccount: (data, params = {}) => this.request(Object.assign({ path: `/api/account`, method: "PUT", body: data, secure: true, type: "application/json", format: "json" }, params)),
160
151
  /**
161
152
  * No description
162
153
  *
@@ -179,7 +170,7 @@ export class Api extends HttpClient {
179
170
  * @response `200` `SiteConfiguration` OK
180
171
  * @response `422` `UnprocessableEntity` Unprocessable Content
181
172
  */
182
- updateSiteConfigurationForAccount: (data, params = {}) => this.request(Object.assign({ path: `/api/account/site-configurations`, method: "PUT", body: data, secure: true, type: ContentType.Json, format: "json" }, params)),
173
+ updateSiteConfigurationForAccount: (data, params = {}) => this.request(Object.assign({ path: `/api/account/site-configurations`, method: "PUT", body: data, secure: true, type: "application/json", format: "json" }, params)),
183
174
  /**
184
175
  * No description
185
176
  *
@@ -190,7 +181,7 @@ export class Api extends HttpClient {
190
181
  * @secure
191
182
  * @response `204` `void` No Content
192
183
  */
193
- requestAccountReactivation: (data, params = {}) => this.request(Object.assign({ path: `/api/account/reactivation/request`, method: "POST", body: data, secure: true, type: ContentType.Json }, params)),
184
+ requestAccountReactivation: (data, params = {}) => this.request(Object.assign({ path: `/api/account/reactivation/request`, method: "POST", body: data, secure: true, type: "application/json" }, params)),
194
185
  /**
195
186
  * No description
196
187
  *
@@ -202,7 +193,7 @@ export class Api extends HttpClient {
202
193
  * @response `204` `void` No Content
203
194
  * @response `400` `ProblemDetails` Bad Request
204
195
  */
205
- completeAccountReactivation: (data, params = {}) => this.request(Object.assign({ path: `/api/account/reactivation/complete`, method: "POST", body: data, secure: true, type: ContentType.Json }, params)),
196
+ completeAccountReactivation: (data, params = {}) => this.request(Object.assign({ path: `/api/account/reactivation/complete`, method: "POST", body: data, secure: true, type: "application/json" }, params)),
206
197
  /**
207
198
  * No description
208
199
  *
@@ -225,7 +216,7 @@ export class Api extends HttpClient {
225
216
  * @response `201` `Account` Created
226
217
  * @response `422` `ProblemDetails` Unprocessable Content
227
218
  */
228
- createAccount: (data, params = {}) => this.request(Object.assign({ path: `/api/accounts`, method: "POST", body: data, secure: true, type: ContentType.Json, format: "json" }, params)),
219
+ createAccount: (data, params = {}) => this.request(Object.assign({ path: `/api/accounts`, method: "POST", body: data, secure: true, type: "application/json", format: "json" }, params)),
229
220
  /**
230
221
  * No description
231
222
  *
@@ -263,7 +254,7 @@ export class Api extends HttpClient {
263
254
  * @response `404` `ProblemDetails` Not Found
264
255
  * @response `422` `ProblemDetails` Unprocessable Content
265
256
  */
266
- updateAccountBilling: (id, data, params = {}) => this.request(Object.assign({ path: `/api/accounts/${id}/billing`, method: "PUT", body: data, secure: true, type: ContentType.Json, format: "json" }, params)),
257
+ updateAccountBilling: (id, data, params = {}) => this.request(Object.assign({ path: `/api/accounts/${id}/billing`, method: "PUT", body: data, secure: true, type: "application/json", format: "json" }, params)),
267
258
  /**
268
259
  * No description
269
260
  *
@@ -286,7 +277,7 @@ export class Api extends HttpClient {
286
277
  * @response `200` `AiAccountSettings` OK
287
278
  * @response `400` `ProblemDetails` Bad Request
288
279
  */
289
- updateAiAccountSettings: (data, params = {}) => this.request(Object.assign({ path: `/api/ai/admin/account-settings`, method: "PUT", body: data, secure: true, type: ContentType.Json, format: "json" }, params)),
280
+ updateAiAccountSettings: (data, params = {}) => this.request(Object.assign({ path: `/api/ai/admin/account-settings`, method: "PUT", body: data, secure: true, type: "application/json", format: "json" }, params)),
290
281
  /**
291
282
  * No description
292
283
  *
@@ -364,7 +355,7 @@ export class Api extends HttpClient {
364
355
  * @response `201` `AiPrompt` Created
365
356
  * @response `400` `ProblemDetails` Bad Request
366
357
  */
367
- createAiPrompt: (data, params = {}) => this.request(Object.assign({ path: `/api/ai/admin/prompts`, method: "POST", body: data, secure: true, type: ContentType.Json, format: "json" }, params)),
358
+ createAiPrompt: (data, params = {}) => this.request(Object.assign({ path: `/api/ai/admin/prompts`, method: "POST", body: data, secure: true, type: "application/json", format: "json" }, params)),
368
359
  /**
369
360
  * No description
370
361
  *
@@ -389,7 +380,7 @@ export class Api extends HttpClient {
389
380
  * @response `400` `ProblemDetails` Bad Request
390
381
  * @response `404` `ProblemDetails` Not Found
391
382
  */
392
- updateAiPrompt: (id, data, params = {}) => this.request(Object.assign({ path: `/api/ai/admin/prompts/${id}`, method: "PUT", body: data, secure: true, type: ContentType.Json, format: "json" }, params)),
383
+ updateAiPrompt: (id, data, params = {}) => this.request(Object.assign({ path: `/api/ai/admin/prompts/${id}`, method: "PUT", body: data, secure: true, type: "application/json", format: "json" }, params)),
393
384
  /**
394
385
  * No description
395
386
  *
@@ -426,7 +417,7 @@ export class Api extends HttpClient {
426
417
  * @response `200` `GenerateSystemPrompt` OK
427
418
  * @response `400` `ProblemDetails` Bad Request
428
419
  */
429
- generateAiSystemPrompt: (data, params = {}) => this.request(Object.assign({ path: `/api/ai/admin/prompts/generate`, method: "POST", body: data, secure: true, type: ContentType.JsonPatch, format: "json" }, params)),
420
+ generateAiSystemPrompt: (data, params = {}) => this.request(Object.assign({ path: `/api/ai/admin/prompts/generate`, method: "POST", body: data, secure: true, type: "application/json", format: "json" }, params)),
430
421
  /**
431
422
  * No description
432
423
  *
@@ -460,7 +451,7 @@ export class Api extends HttpClient {
460
451
  * @response `200` `AiAdminSettings` OK
461
452
  * @response `400` `ProblemDetails` Bad Request
462
453
  */
463
- updateAiAdminSettings: (data, params = {}) => this.request(Object.assign({ path: `/api/ai/admin/settings`, method: "PUT", body: data, secure: true, type: ContentType.Json, format: "json" }, params)),
454
+ updateAiAdminSettings: (data, params = {}) => this.request(Object.assign({ path: `/api/ai/admin/settings`, method: "PUT", body: data, secure: true, type: "application/json", format: "json" }, params)),
464
455
  /**
465
456
  * No description
466
457
  *
@@ -483,7 +474,7 @@ export class Api extends HttpClient {
483
474
  * @response `201` `AiCanonicalField` Created
484
475
  * @response `400` `ProblemDetails` Bad Request
485
476
  */
486
- createAiCanonicalField: (data, params = {}) => this.request(Object.assign({ path: `/api/ai/admin/fields`, method: "POST", body: data, secure: true, type: ContentType.Json, format: "json" }, params)),
477
+ createAiCanonicalField: (data, params = {}) => this.request(Object.assign({ path: `/api/ai/admin/fields`, method: "POST", body: data, secure: true, type: "application/json", format: "json" }, params)),
487
478
  /**
488
479
  * No description
489
480
  *
@@ -508,7 +499,7 @@ export class Api extends HttpClient {
508
499
  * @response `400` `ProblemDetails` Bad Request
509
500
  * @response `404` `ProblemDetails` Not Found
510
501
  */
511
- updateAiCanonicalField: (id, data, params = {}) => this.request(Object.assign({ path: `/api/ai/admin/fields/${id}`, method: "PUT", body: data, secure: true, type: ContentType.Json, format: "json" }, params)),
502
+ updateAiCanonicalField: (id, data, params = {}) => this.request(Object.assign({ path: `/api/ai/admin/fields/${id}`, method: "PUT", body: data, secure: true, type: "application/json", format: "json" }, params)),
512
503
  /**
513
504
  * No description
514
505
  *
@@ -545,7 +536,7 @@ export class Api extends HttpClient {
545
536
  * @response `400` `ProblemDetails` Bad Request
546
537
  * @response `401` `ProblemDetails` Unauthorized
547
538
  */
548
- aiChat: (data, params = {}) => this.request(Object.assign({ path: `/api/ai/chat`, method: "POST", body: data, secure: true, type: ContentType.JsonPatch, format: "json" }, params)),
539
+ aiChat: (data, params = {}) => this.request(Object.assign({ path: `/api/ai/chat`, method: "POST", body: data, secure: true, type: "application/json", format: "json" }, params)),
549
540
  /**
550
541
  * No description
551
542
  *
@@ -583,7 +574,7 @@ export class Api extends HttpClient {
583
574
  * @response `403` `ProblemDetails` Forbidden
584
575
  * @response `404` `ProblemDetails` Not Found
585
576
  */
586
- renameAiConversation: (id, data, params = {}) => this.request(Object.assign({ path: `/api/ai/conversations/${id}`, method: "PATCH", body: data, secure: true, type: ContentType.JsonPatch, format: "json" }, params)),
577
+ 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)),
587
578
  /**
588
579
  * No description
589
580
  *
@@ -635,7 +626,7 @@ export class Api extends HttpClient {
635
626
  * @response `403` `ProblemDetails` Forbidden
636
627
  * @response `404` `ProblemDetails` Not Found
637
628
  */
638
- 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)),
629
+ 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)),
639
630
  /**
640
631
  * No description
641
632
  *
@@ -693,7 +684,7 @@ export class Api extends HttpClient {
693
684
  * @response `201` `AiGuardrail` Created
694
685
  * @response `400` `ProblemDetails` Bad Request
695
686
  */
696
- createAiGuardrail: (data, params = {}) => this.request(Object.assign({ path: `/api/ai/admin/guardrails`, method: "POST", body: data, secure: true, type: ContentType.Json, format: "json" }, params)),
687
+ createAiGuardrail: (data, params = {}) => this.request(Object.assign({ path: `/api/ai/admin/guardrails`, method: "POST", body: data, secure: true, type: "application/json", format: "json" }, params)),
697
688
  /**
698
689
  * No description
699
690
  *
@@ -718,7 +709,7 @@ export class Api extends HttpClient {
718
709
  * @response `400` `ProblemDetails` Bad Request
719
710
  * @response `404` `ProblemDetails` Not Found
720
711
  */
721
- updateAiGuardrail: (id, data, params = {}) => this.request(Object.assign({ path: `/api/ai/admin/guardrails/${id}`, method: "PUT", body: data, secure: true, type: ContentType.Json, format: "json" }, params)),
712
+ updateAiGuardrail: (id, data, params = {}) => this.request(Object.assign({ path: `/api/ai/admin/guardrails/${id}`, method: "PUT", body: data, secure: true, type: "application/json", format: "json" }, params)),
722
713
  /**
723
714
  * No description
724
715
  *
@@ -809,7 +800,7 @@ export class Api extends HttpClient {
809
800
  * @secure
810
801
  * @response `200` `AiAccountUsageOverviewPaginated` OK
811
802
  */
812
- searchAiAccountTokenUsage: (data, query, params = {}) => this.request(Object.assign({ path: `/api/ai/admin/token-usage/search`, method: "POST", query: query, body: data, secure: true, type: ContentType.JsonPatch, format: "json" }, params)),
803
+ searchAiAccountTokenUsage: (data, query, params = {}) => this.request(Object.assign({ path: `/api/ai/admin/token-usage/search`, method: "POST", query: query, body: data, secure: true, type: "application/json", format: "json" }, params)),
813
804
  /**
814
805
  * No description
815
806
  *
@@ -843,7 +834,7 @@ export class Api extends HttpClient {
843
834
  * @response `200` `AiTokenBudgetStatus` OK
844
835
  * @response `400` `ProblemDetails` Bad Request
845
836
  */
846
- setAiAccountTokenLimit: (accountId, data, params = {}) => this.request(Object.assign({ path: `/api/ai/admin/token-usage/${accountId}/limit`, method: "PUT", body: data, secure: true, type: ContentType.Json, format: "json" }, params)),
837
+ setAiAccountTokenLimit: (accountId, data, params = {}) => this.request(Object.assign({ path: `/api/ai/admin/token-usage/${accountId}/limit`, method: "PUT", body: data, secure: true, type: "application/json", format: "json" }, params)),
847
838
  /**
848
839
  * No description
849
840
  *
@@ -867,7 +858,7 @@ export class Api extends HttpClient {
867
858
  * @response `400` `ProblemDetails` Bad Request
868
859
  * @response `409` `ProblemDetails` Conflict
869
860
  */
870
- createAiUrlSource: (data, params = {}) => this.request(Object.assign({ path: `/api/ai/admin/url-sources`, method: "POST", body: data, secure: true, type: ContentType.Json, format: "json" }, params)),
861
+ createAiUrlSource: (data, params = {}) => this.request(Object.assign({ path: `/api/ai/admin/url-sources`, method: "POST", body: data, secure: true, type: "application/json", format: "json" }, params)),
871
862
  /**
872
863
  * No description
873
864
  *
@@ -893,7 +884,7 @@ export class Api extends HttpClient {
893
884
  * @response `404` `ProblemDetails` Not Found
894
885
  * @response `409` `ProblemDetails` Conflict
895
886
  */
896
- updateAiUrlSource: (id, data, params = {}) => this.request(Object.assign({ path: `/api/ai/admin/url-sources/${id}`, method: "PUT", body: data, secure: true, type: ContentType.Json, format: "json" }, params)),
887
+ updateAiUrlSource: (id, data, params = {}) => this.request(Object.assign({ path: `/api/ai/admin/url-sources/${id}`, method: "PUT", body: data, secure: true, type: "application/json", format: "json" }, params)),
897
888
  /**
898
889
  * No description
899
890
  *
@@ -950,7 +941,7 @@ export class Api extends HttpClient {
950
941
  * @secure
951
942
  * @response `200` `AuditLogEntryPaginated` OK
952
943
  */
953
- searchAuditLogs: (data, query, params = {}) => this.request(Object.assign({ path: `/api/audit-logs/search`, method: "POST", query: query, body: data, secure: true, type: ContentType.JsonPatch, format: "json" }, params)),
944
+ 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)),
954
945
  /**
955
946
  * No description
956
947
  *
@@ -986,7 +977,7 @@ export class Api extends HttpClient {
986
977
  * @response `401` `ProblemDetails` Unauthorized
987
978
  * @response `422` `UnprocessableEntity` Unprocessable Content
988
979
  */
989
- getTokenFromRefreshToken: (data, params = {}) => this.request(Object.assign({ path: `/api/refresh-token`, method: "POST", body: data, secure: true, type: ContentType.Json, format: "json" }, params)),
980
+ getTokenFromRefreshToken: (data, params = {}) => this.request(Object.assign({ path: `/api/refresh-token`, method: "POST", body: data, secure: true, type: "application/json", format: "json" }, params)),
990
981
  /**
991
982
  * No description
992
983
  *
@@ -998,7 +989,7 @@ export class Api extends HttpClient {
998
989
  * @response `200` `AccountDeactivated` OK
999
990
  * @response `422` `UnprocessableEntity` Unprocessable Content
1000
991
  */
1001
- getToken: (data, params = {}) => this.request(Object.assign({ path: `/api/token`, method: "POST", body: data, secure: true, type: ContentType.Json, format: "json" }, params)),
992
+ getToken: (data, params = {}) => this.request(Object.assign({ path: `/api/token`, method: "POST", body: data, secure: true, type: "application/json", format: "json" }, params)),
1002
993
  /**
1003
994
  * No description
1004
995
  *
@@ -1010,7 +1001,7 @@ export class Api extends HttpClient {
1010
1001
  * @response `200` `AccountDeactivated` OK
1011
1002
  * @response `422` `UnprocessableEntity` Unprocessable Content
1012
1003
  */
1013
- getTokenFromChallengeCode: (data, params = {}) => this.request(Object.assign({ path: `/api/token/code`, method: "POST", body: data, secure: true, type: ContentType.Json, format: "json" }, params)),
1004
+ getTokenFromChallengeCode: (data, params = {}) => this.request(Object.assign({ path: `/api/token/code`, method: "POST", body: data, secure: true, type: "application/json", format: "json" }, params)),
1014
1005
  /**
1015
1006
  * No description
1016
1007
  *
@@ -1022,7 +1013,7 @@ export class Api extends HttpClient {
1022
1013
  * @response `200` `Token` OK
1023
1014
  * @response `422` `UnprocessableEntity` Unprocessable Content
1024
1015
  */
1025
- getSystemToken: (data, params = {}) => this.request(Object.assign({ path: `/api/oauth2/token`, method: "POST", body: data, secure: true, type: ContentType.Json, format: "json" }, params)),
1016
+ getSystemToken: (data, params = {}) => this.request(Object.assign({ path: `/api/oauth2/token`, method: "POST", body: data, secure: true, type: "application/json", format: "json" }, params)),
1026
1017
  /**
1027
1018
  * No description
1028
1019
  *
@@ -1034,7 +1025,7 @@ export class Api extends HttpClient {
1034
1025
  * @response `200` `SSOToken` OK
1035
1026
  * @response `422` `UnprocessableEntity` Unprocessable Content
1036
1027
  */
1037
- getSsoToken: (data, params = {}) => this.request(Object.assign({ path: `/api/token/sso`, method: "POST", body: data, secure: true, type: ContentType.Json, format: "json" }, params)),
1028
+ getSsoToken: (data, params = {}) => this.request(Object.assign({ path: `/api/token/sso`, method: "POST", body: data, secure: true, type: "application/json", format: "json" }, params)),
1038
1029
  /**
1039
1030
  * No description
1040
1031
  *
@@ -1069,7 +1060,7 @@ export class Api extends HttpClient {
1069
1060
  * @response `200` `GetBranch` OK
1070
1061
  * @response `422` `UnprocessableEntity` Unprocessable Content
1071
1062
  */
1072
- createBranch: (data, params = {}) => this.request(Object.assign({ path: `/api/branches`, method: "POST", body: data, secure: true, type: ContentType.Json, format: "json" }, params)),
1063
+ createBranch: (data, params = {}) => this.request(Object.assign({ path: `/api/branches`, method: "POST", body: data, secure: true, type: "application/json", format: "json" }, params)),
1073
1064
  /**
1074
1065
  * No description
1075
1066
  *
@@ -1080,7 +1071,7 @@ export class Api extends HttpClient {
1080
1071
  * @secure
1081
1072
  * @response `200` `GetBranchPaginated` OK
1082
1073
  */
1083
- 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)),
1074
+ 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)),
1084
1075
  /**
1085
1076
  * No description
1086
1077
  *
@@ -1103,7 +1094,7 @@ export class Api extends HttpClient {
1103
1094
  * @response `200` `GetBranch` OK
1104
1095
  * @response `422` `UnprocessableEntity` Unprocessable Content
1105
1096
  */
1106
- replaceBranch: (branchId, data, params = {}) => this.request(Object.assign({ path: `/api/branches/${branchId}`, method: "PUT", body: data, secure: true, type: ContentType.Json, format: "json" }, params)),
1097
+ replaceBranch: (branchId, data, params = {}) => this.request(Object.assign({ path: `/api/branches/${branchId}`, method: "PUT", body: data, secure: true, type: "application/json", format: "json" }, params)),
1107
1098
  /**
1108
1099
  * No description
1109
1100
  *
@@ -1138,7 +1129,7 @@ export class Api extends HttpClient {
1138
1129
  * @response `200` `SiteConfiguration` OK
1139
1130
  * @response `422` `UnprocessableEntity` Unprocessable Content
1140
1131
  */
1141
- 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)),
1132
+ 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)),
1142
1133
  /**
1143
1134
  * No description
1144
1135
  *
@@ -1161,7 +1152,7 @@ export class Api extends HttpClient {
1161
1152
  * @response `200` `SiteConfiguration` OK
1162
1153
  * @response `422` `UnprocessableEntity` Unprocessable Content
1163
1154
  */
1164
- 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)),
1155
+ 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)),
1165
1156
  /**
1166
1157
  * No description
1167
1158
  *
@@ -1195,7 +1186,7 @@ export class Api extends HttpClient {
1195
1186
  * @response `200` `BusinessRule` OK
1196
1187
  * @response `422` `UnprocessableEntity` Unprocessable Content
1197
1188
  */
1198
- createBusinessRule: (data, params = {}) => this.request(Object.assign({ path: `/api/business-rules`, method: "POST", body: data, secure: true, type: ContentType.Json, format: "json" }, params)),
1189
+ createBusinessRule: (data, params = {}) => this.request(Object.assign({ path: `/api/business-rules`, method: "POST", body: data, secure: true, type: "application/json", format: "json" }, params)),
1199
1190
  /**
1200
1191
  * No description
1201
1192
  *
@@ -1218,7 +1209,7 @@ export class Api extends HttpClient {
1218
1209
  * @response `200` `BusinessRule` OK
1219
1210
  * @response `422` `UnprocessableEntity` Unprocessable Content
1220
1211
  */
1221
- 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)),
1212
+ 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)),
1222
1213
  /**
1223
1214
  * No description
1224
1215
  *
@@ -1251,7 +1242,7 @@ export class Api extends HttpClient {
1251
1242
  * @secure
1252
1243
  * @response `200` `ClosedLoansReport` OK
1253
1244
  */
1254
- 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)),
1245
+ 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)),
1255
1246
  /**
1256
1247
  * No description
1257
1248
  *
@@ -1296,7 +1287,7 @@ export class Api extends HttpClient {
1296
1287
  * @response `200` `Corporate` OK
1297
1288
  * @response `422` `UnprocessableEntity` Unprocessable Content
1298
1289
  */
1299
- createCorporate: (data, params = {}) => this.request(Object.assign({ path: `/api/corporates`, method: "POST", body: data, secure: true, type: ContentType.Json, format: "json" }, params)),
1290
+ createCorporate: (data, params = {}) => this.request(Object.assign({ path: `/api/corporates`, method: "POST", body: data, secure: true, type: "application/json", format: "json" }, params)),
1300
1291
  /**
1301
1292
  * No description
1302
1293
  *
@@ -1307,7 +1298,7 @@ export class Api extends HttpClient {
1307
1298
  * @secure
1308
1299
  * @response `200` `CorporatePaginated` OK
1309
1300
  */
1310
- 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)),
1301
+ 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)),
1311
1302
  /**
1312
1303
  * No description
1313
1304
  *
@@ -1330,7 +1321,7 @@ export class Api extends HttpClient {
1330
1321
  * @response `200` `Corporate` OK
1331
1322
  * @response `422` `UnprocessableEntity` Unprocessable Content
1332
1323
  */
1333
- replaceCorporate: (id, data, params = {}) => this.request(Object.assign({ path: `/api/corporates/${id}`, method: "PUT", body: data, secure: true, type: ContentType.Json, format: "json" }, params)),
1324
+ replaceCorporate: (id, data, params = {}) => this.request(Object.assign({ path: `/api/corporates/${id}`, method: "PUT", body: data, secure: true, type: "application/json", format: "json" }, params)),
1334
1325
  /**
1335
1326
  * No description
1336
1327
  *
@@ -1364,7 +1355,7 @@ export class Api extends HttpClient {
1364
1355
  * @response `200` `SiteConfiguration` OK
1365
1356
  * @response `422` `UnprocessableEntity` Unprocessable Content
1366
1357
  */
1367
- 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)),
1358
+ 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)),
1368
1359
  /**
1369
1360
  * No description
1370
1361
  *
@@ -1387,7 +1378,7 @@ export class Api extends HttpClient {
1387
1378
  * @response `200` `SiteConfiguration` OK
1388
1379
  * @response `422` `UnprocessableEntity` Unprocessable Content
1389
1380
  */
1390
- 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)),
1381
+ 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)),
1391
1382
  /**
1392
1383
  * No description
1393
1384
  *
@@ -1433,7 +1424,7 @@ export class Api extends HttpClient {
1433
1424
  * @response `409` `ProblemDetails` Conflict
1434
1425
  * @response `422` `ProblemDetails` Unprocessable Content
1435
1426
  */
1436
- createCustomFieldDefinition: (data, params = {}) => this.request(Object.assign({ path: `/api/custom-field-definitions`, method: "POST", body: data, secure: true, type: ContentType.Json, format: "json" }, params)),
1427
+ createCustomFieldDefinition: (data, params = {}) => this.request(Object.assign({ path: `/api/custom-field-definitions`, method: "POST", body: data, secure: true, type: "application/json", format: "json" }, params)),
1437
1428
  /**
1438
1429
  * No description
1439
1430
  *
@@ -1460,7 +1451,7 @@ export class Api extends HttpClient {
1460
1451
  * @response `409` `ProblemDetails` Conflict
1461
1452
  * @response `422` `ProblemDetails` Unprocessable Content
1462
1453
  */
1463
- 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)),
1454
+ 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)),
1464
1455
  /**
1465
1456
  * No description
1466
1457
  *
@@ -1530,7 +1521,7 @@ export class Api extends HttpClient {
1530
1521
  * @secure
1531
1522
  * @response `200` `Device` OK
1532
1523
  */
1533
- updateDevice: (id, data, params = {}) => this.request(Object.assign({ path: `/api/devices/${id}`, method: "PUT", body: data, secure: true, type: ContentType.Json, format: "json" }, params)),
1524
+ updateDevice: (id, data, params = {}) => this.request(Object.assign({ path: `/api/devices/${id}`, method: "PUT", body: data, secure: true, type: "application/json", format: "json" }, params)),
1534
1525
  /**
1535
1526
  * No description
1536
1527
  *
@@ -1587,7 +1578,7 @@ export class Api extends HttpClient {
1587
1578
  * @response `404` `ProblemDetails` Not Found
1588
1579
  * @response `422` `UnprocessableEntity` Unprocessable Content
1589
1580
  */
1590
- createDocumentTemplate: (data, params = {}) => this.request(Object.assign({ path: `/api/document-templates`, method: "POST", body: data, secure: true, type: ContentType.Json, format: "json" }, params)),
1581
+ createDocumentTemplate: (data, params = {}) => this.request(Object.assign({ path: `/api/document-templates`, method: "POST", body: data, secure: true, type: "application/json", format: "json" }, params)),
1591
1582
  /**
1592
1583
  * No description
1593
1584
  *
@@ -1624,7 +1615,7 @@ export class Api extends HttpClient {
1624
1615
  * @response `404` `ProblemDetails` Not Found
1625
1616
  * @response `422` `UnprocessableEntity` Unprocessable Content
1626
1617
  */
1627
- 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)),
1618
+ 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)),
1628
1619
  /**
1629
1620
  * No description
1630
1621
  *
@@ -1672,7 +1663,7 @@ export class Api extends HttpClient {
1672
1663
  * @secure
1673
1664
  * @response `200` `DocumentTemplateVersion` OK
1674
1665
  */
1675
- 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)),
1666
+ 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)),
1676
1667
  /**
1677
1668
  * No description
1678
1669
  *
@@ -1694,7 +1685,7 @@ export class Api extends HttpClient {
1694
1685
  * @secure
1695
1686
  * @response `200` `DocumentTemplateVersion` OK
1696
1687
  */
1697
- 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)),
1688
+ 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)),
1698
1689
  /**
1699
1690
  * No description
1700
1691
  *
@@ -1732,7 +1723,7 @@ export class Api extends HttpClient {
1732
1723
  * @response `409` `void` Conflict
1733
1724
  * @response `422` `ProblemDetails` Unprocessable Content
1734
1725
  */
1735
- 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)),
1726
+ 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)),
1736
1727
  /**
1737
1728
  * No description
1738
1729
  *
@@ -1821,7 +1812,7 @@ export class Api extends HttpClient {
1821
1812
  * @response `404` `EncompassError` Not Found
1822
1813
  * @response `500` `EncompassError` Internal Server Error
1823
1814
  */
1824
- 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)),
1815
+ 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)),
1825
1816
  /**
1826
1817
  * No description
1827
1818
  *
@@ -1844,7 +1835,7 @@ export class Api extends HttpClient {
1844
1835
  * @response `201` `File` Created
1845
1836
  * @response `422` `UnprocessableEntity` Unprocessable Content
1846
1837
  */
1847
- uploadFile: (data, params = {}) => this.request(Object.assign({ path: `/api/files`, method: "POST", body: data, secure: true, type: ContentType.FormData, format: "json" }, params)),
1838
+ uploadFile: (data, params = {}) => this.request(Object.assign({ path: `/api/files`, method: "POST", body: data, secure: true, type: "multipart/form-data", format: "json" }, params)),
1848
1839
  /**
1849
1840
  * No description
1850
1841
  *
@@ -1867,7 +1858,7 @@ export class Api extends HttpClient {
1867
1858
  * @response `200` `string` OK
1868
1859
  * @response `422` `UnprocessableEntity` Unprocessable Content
1869
1860
  */
1870
- replaceFile: (id, data, params = {}) => this.request(Object.assign({ path: `/api/files/${id}`, method: "PUT", body: data, secure: true, type: ContentType.Json, format: "json" }, params)),
1861
+ replaceFile: (id, data, params = {}) => this.request(Object.assign({ path: `/api/files/${id}`, method: "PUT", body: data, secure: true, type: "application/json", format: "json" }, params)),
1871
1862
  /**
1872
1863
  * No description
1873
1864
  *
@@ -1889,7 +1880,7 @@ export class Api extends HttpClient {
1889
1880
  * @secure
1890
1881
  * @response `200` `FilePaginated` OK
1891
1882
  */
1892
- 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)),
1883
+ 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)),
1893
1884
  /**
1894
1885
  * No description
1895
1886
  *
@@ -1912,7 +1903,7 @@ export class Api extends HttpClient {
1912
1903
  * @response `201` `Form` Created
1913
1904
  * @response `422` `UnprocessableEntity` Unprocessable Content
1914
1905
  */
1915
- createForm: (data, params = {}) => this.request(Object.assign({ path: `/api/forms`, method: "POST", body: data, secure: true, type: ContentType.Json, format: "json" }, params)),
1906
+ createForm: (data, params = {}) => this.request(Object.assign({ path: `/api/forms`, method: "POST", body: data, secure: true, type: "application/json", format: "json" }, params)),
1916
1907
  /**
1917
1908
  * No description
1918
1909
  *
@@ -1935,7 +1926,7 @@ export class Api extends HttpClient {
1935
1926
  * @response `200` `Form` OK
1936
1927
  * @response `422` `UnprocessableEntity` Unprocessable Content
1937
1928
  */
1938
- replaceForm: (id, data, params = {}) => this.request(Object.assign({ path: `/api/forms/${id}`, method: "PUT", body: data, secure: true, type: ContentType.Json, format: "json" }, params)),
1929
+ replaceForm: (id, data, params = {}) => this.request(Object.assign({ path: `/api/forms/${id}`, method: "PUT", body: data, secure: true, type: "application/json", format: "json" }, params)),
1939
1930
  /**
1940
1931
  * No description
1941
1932
  *
@@ -1968,7 +1959,7 @@ export class Api extends HttpClient {
1968
1959
  * @secure
1969
1960
  * @response `200` `FormSubmissionFile` OK
1970
1961
  */
1971
- 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)),
1962
+ 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)),
1972
1963
  /**
1973
1964
  * No description
1974
1965
  *
@@ -2012,7 +2003,7 @@ export class Api extends HttpClient {
2012
2003
  * @secure
2013
2004
  * @response `201` `FormSubmission` Created
2014
2005
  */
2015
- 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)),
2006
+ 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)),
2016
2007
  /**
2017
2008
  * No description
2018
2009
  *
@@ -2034,7 +2025,7 @@ export class Api extends HttpClient {
2034
2025
  * @secure
2035
2026
  * @response `200` `FormSubmission` OK
2036
2027
  */
2037
- 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)),
2028
+ 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)),
2038
2029
  /**
2039
2030
  * No description
2040
2031
  *
@@ -2056,7 +2047,7 @@ export class Api extends HttpClient {
2056
2047
  * @secure
2057
2048
  * @response `200` `FormSubmissionPaginated` OK
2058
2049
  */
2059
- 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)),
2050
+ 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)),
2060
2051
  /**
2061
2052
  * No description
2062
2053
  *
@@ -2078,7 +2069,7 @@ export class Api extends HttpClient {
2078
2069
  * @secure
2079
2070
  * @response `200` `FormVersion` OK
2080
2071
  */
2081
- 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)),
2072
+ 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)),
2082
2073
  /**
2083
2074
  * No description
2084
2075
  *
@@ -2100,7 +2091,7 @@ export class Api extends HttpClient {
2100
2091
  * @secure
2101
2092
  * @response `200` `FormVersion` OK
2102
2093
  */
2103
- 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)),
2094
+ 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)),
2104
2095
  /**
2105
2096
  * No description
2106
2097
  *
@@ -2146,7 +2137,7 @@ export class Api extends HttpClient {
2146
2137
  * @response `200` `string` OK
2147
2138
  * @response `422` `UnprocessableEntity` Unprocessable Content
2148
2139
  */
2149
- updateLoanConsentAndCustomFieldsObsolete: (loanId, data, params = {}) => this.request(Object.assign({ path: `/api/los/loan/application/${loanId}`, method: "PATCH", body: data, secure: true, type: ContentType.JsonPatch, format: "json" }, params)),
2140
+ 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)),
2150
2141
  /**
2151
2142
  * No description
2152
2143
  *
@@ -2157,7 +2148,7 @@ export class Api extends HttpClient {
2157
2148
  * @secure
2158
2149
  * @response `200` `GetReport` OK
2159
2150
  */
2160
- getLoansReport: (data, params = {}) => this.request(Object.assign({ path: `/api/los/loan/reports`, method: "POST", body: data, secure: true, type: ContentType.Json, format: "json" }, params)),
2151
+ getLoansReport: (data, params = {}) => this.request(Object.assign({ path: `/api/los/loan/reports`, method: "POST", body: data, secure: true, type: "application/json", format: "json" }, params)),
2161
2152
  /**
2162
2153
  * No description
2163
2154
  *
@@ -2171,7 +2162,7 @@ export class Api extends HttpClient {
2171
2162
  * @response `422` `UnprocessableEntity` Unprocessable Content
2172
2163
  * @response `423` `UnprocessableEntity` Locked
2173
2164
  */
2174
- 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)),
2165
+ 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)),
2175
2166
  /**
2176
2167
  * No description
2177
2168
  *
@@ -2184,7 +2175,7 @@ export class Api extends HttpClient {
2184
2175
  * @response `422` `UnprocessableEntity` Unprocessable Content
2185
2176
  * @response `423` `UnprocessableEntity` Locked
2186
2177
  */
2187
- 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)),
2178
+ 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)),
2188
2179
  /**
2189
2180
  * No description
2190
2181
  *
@@ -2196,7 +2187,7 @@ export class Api extends HttpClient {
2196
2187
  * @response `200` `string` OK
2197
2188
  * @response `422` `UnprocessableEntity` Unprocessable Content
2198
2189
  */
2199
- updateLoanCustomFields: (loanId, data, params = {}) => this.request(Object.assign({ path: `/api/los/loan/application/${loanId}/custom-fields`, method: "PATCH", body: data, secure: true, type: ContentType.JsonPatch, format: "json" }, params)),
2190
+ 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)),
2200
2191
  /**
2201
2192
  * No description
2202
2193
  *
@@ -2209,7 +2200,7 @@ export class Api extends HttpClient {
2209
2200
  * @response `202` `string` Accepted
2210
2201
  * @response `422` `UnprocessableEntity` Unprocessable Content
2211
2202
  */
2212
- updateLoanConsent: (loanId, data, params = {}) => this.request(Object.assign({ path: `/api/los/loan/application/${loanId}/consent`, method: "PATCH", body: data, secure: true, type: ContentType.JsonPatch, format: "json" }, params)),
2203
+ 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)),
2213
2204
  /**
2214
2205
  * No description
2215
2206
  *
@@ -2287,7 +2278,7 @@ export class Api extends HttpClient {
2287
2278
  * @secure
2288
2279
  * @response `200` `DocumentDataRequest` OK
2289
2280
  */
2290
- createLegacyLoanDocument: (data, params = {}) => this.request(Object.assign({ path: `/api/los/loan/generatedocument`, method: "POST", body: data, secure: true, type: ContentType.Json, format: "json" }, params)),
2281
+ createLegacyLoanDocument: (data, params = {}) => this.request(Object.assign({ path: `/api/los/loan/generatedocument`, method: "POST", body: data, secure: true, type: "application/json", format: "json" }, params)),
2291
2282
  /**
2292
2283
  * No description
2293
2284
  *
@@ -2312,7 +2303,7 @@ export class Api extends HttpClient {
2312
2303
  * @secure
2313
2304
  * @response `200` `ListingFile` OK
2314
2305
  */
2315
- 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)),
2306
+ 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)),
2316
2307
  /**
2317
2308
  * No description
2318
2309
  *
@@ -2323,7 +2314,7 @@ export class Api extends HttpClient {
2323
2314
  * @secure
2324
2315
  * @response `200` `ListingFile` OK
2325
2316
  */
2326
- updateListingFiles: (listingId, data, params = {}) => this.request(Object.assign({ path: `/api/listings/${listingId}/files`, method: "PATCH", body: data, secure: true, type: ContentType.JsonPatch, format: "json" }, params)),
2317
+ 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)),
2327
2318
  /**
2328
2319
  * No description
2329
2320
  *
@@ -2345,7 +2336,7 @@ export class Api extends HttpClient {
2345
2336
  * @secure
2346
2337
  * @response `200` `ListingPhoto` OK
2347
2338
  */
2348
- 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)),
2339
+ 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)),
2349
2340
  /**
2350
2341
  * No description
2351
2342
  *
@@ -2356,7 +2347,7 @@ export class Api extends HttpClient {
2356
2347
  * @secure
2357
2348
  * @response `200` `(ListingPhoto)[]` OK
2358
2349
  */
2359
- updateListingPhotos: (listingId, data, params = {}) => this.request(Object.assign({ path: `/api/listings/${listingId}/photos`, method: "PATCH", body: data, secure: true, type: ContentType.JsonPatch, format: "json" }, params)),
2350
+ 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)),
2360
2351
  /**
2361
2352
  * No description
2362
2353
  *
@@ -2389,7 +2380,7 @@ export class Api extends HttpClient {
2389
2380
  * @secure
2390
2381
  * @response `201` `Listing` Created
2391
2382
  */
2392
- createListing: (data, params = {}) => this.request(Object.assign({ path: `/api/listings`, method: "POST", body: data, secure: true, type: ContentType.Json, format: "json" }, params)),
2383
+ createListing: (data, params = {}) => this.request(Object.assign({ path: `/api/listings`, method: "POST", body: data, secure: true, type: "application/json", format: "json" }, params)),
2393
2384
  /**
2394
2385
  * No description
2395
2386
  *
@@ -2422,7 +2413,7 @@ export class Api extends HttpClient {
2422
2413
  * @secure
2423
2414
  * @response `200` `Listing` OK
2424
2415
  */
2425
- replaceListing: (id, data, params = {}) => this.request(Object.assign({ path: `/api/listings/${id}`, method: "PUT", body: data, secure: true, type: ContentType.Json, format: "json" }, params)),
2416
+ replaceListing: (id, data, params = {}) => this.request(Object.assign({ path: `/api/listings/${id}`, method: "PUT", body: data, secure: true, type: "application/json", format: "json" }, params)),
2426
2417
  /**
2427
2418
  * No description
2428
2419
  *
@@ -2444,7 +2435,7 @@ export class Api extends HttpClient {
2444
2435
  * @secure
2445
2436
  * @response `200` `ListingPaginated` OK
2446
2437
  */
2447
- 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)),
2438
+ 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)),
2448
2439
  /**
2449
2440
  * No description
2450
2441
  *
@@ -2455,7 +2446,7 @@ export class Api extends HttpClient {
2455
2446
  * @secure
2456
2447
  * @response `200` `File` OK
2457
2448
  */
2458
- 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)),
2449
+ 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)),
2459
2450
  /**
2460
2451
  * No description
2461
2452
  *
@@ -2501,7 +2492,7 @@ export class Api extends HttpClient {
2501
2492
  * @response `422` `UnprocessableEntity` Unprocessable Content
2502
2493
  * @response `423` `UnprocessableEntity` Locked
2503
2494
  */
2504
- 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)),
2495
+ 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)),
2505
2496
  /**
2506
2497
  * No description
2507
2498
  *
@@ -2525,7 +2516,7 @@ export class Api extends HttpClient {
2525
2516
  * @response `422` `UnprocessableEntity` Unprocessable Content
2526
2517
  * @response `423` `UnprocessableEntity` Locked
2527
2518
  */
2528
- 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)),
2519
+ 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)),
2529
2520
  /**
2530
2521
  * No description
2531
2522
  *
@@ -2548,7 +2539,7 @@ export class Api extends HttpClient {
2548
2539
  * @response `204` `void` No Content
2549
2540
  * @response `422` `UnprocessableEntity` Unprocessable Content
2550
2541
  */
2551
- 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)),
2542
+ 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)),
2552
2543
  /**
2553
2544
  * No description
2554
2545
  *
@@ -2585,7 +2576,7 @@ export class Api extends HttpClient {
2585
2576
  * @response `400` `ProblemDetails` Bad Request
2586
2577
  * @response `422` `ProblemDetails` Unprocessable Content
2587
2578
  */
2588
- bulkSetLoanCustomFieldValues: (loanId, data, params = {}) => this.request(Object.assign({ path: `/api/loans/${loanId}/custom-fields`, method: "PUT", body: data, secure: true, type: ContentType.Json }, params)),
2579
+ bulkSetLoanCustomFieldValues: (loanId, data, params = {}) => this.request(Object.assign({ path: `/api/loans/${loanId}/custom-fields`, method: "PUT", body: data, secure: true, type: "application/json" }, params)),
2589
2580
  /**
2590
2581
  * No description
2591
2582
  *
@@ -2599,7 +2590,7 @@ export class Api extends HttpClient {
2599
2590
  * @response `404` `ProblemDetails` Not Found
2600
2591
  * @response `422` `ProblemDetails` Unprocessable Content
2601
2592
  */
2602
- 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)),
2593
+ 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)),
2603
2594
  /**
2604
2595
  * No description
2605
2596
  *
@@ -2633,7 +2624,7 @@ export class Api extends HttpClient {
2633
2624
  * @secure
2634
2625
  * @response `201` `(string)[]` Created
2635
2626
  */
2636
- createLoanDocumentBuckets: (loanId, data, params = {}) => this.request(Object.assign({ path: `/api/loans/${loanId}/documents/buckets`, method: "POST", body: data, secure: true, type: ContentType.Json, format: "json" }, params)),
2627
+ createLoanDocumentBuckets: (loanId, data, params = {}) => this.request(Object.assign({ path: `/api/loans/${loanId}/documents/buckets`, method: "POST", body: data, secure: true, type: "application/json", format: "json" }, params)),
2637
2628
  /**
2638
2629
  * No description
2639
2630
  *
@@ -2657,7 +2648,7 @@ export class Api extends HttpClient {
2657
2648
  * @response `409` `ProblemDetails` Conflict
2658
2649
  * @response `422` `ProblemDetails` Unprocessable Content
2659
2650
  */
2660
- createLoanDocumentFolder: (data, params = {}) => this.request(Object.assign({ path: `/api/loan-document-folders`, method: "POST", body: data, secure: true, type: ContentType.Json, format: "json" }, params)),
2651
+ createLoanDocumentFolder: (data, params = {}) => this.request(Object.assign({ path: `/api/loan-document-folders`, method: "POST", body: data, secure: true, type: "application/json", format: "json" }, params)),
2661
2652
  /**
2662
2653
  * No description
2663
2654
  *
@@ -2684,7 +2675,7 @@ export class Api extends HttpClient {
2684
2675
  * @response `409` `ProblemDetails` Conflict
2685
2676
  * @response `422` `ProblemDetails` Unprocessable Content
2686
2677
  */
2687
- 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)),
2678
+ 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)),
2688
2679
  /**
2689
2680
  * No description
2690
2681
  *
@@ -2759,7 +2750,7 @@ export class Api extends HttpClient {
2759
2750
  * @response `200` `Record<string,string>` OK
2760
2751
  * @response `400` `ProblemDetails` Bad Request
2761
2752
  */
2762
- 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)),
2753
+ 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)),
2763
2754
  /**
2764
2755
  * No description
2765
2756
  *
@@ -2770,7 +2761,7 @@ export class Api extends HttpClient {
2770
2761
  * @secure
2771
2762
  * @response `200` `LoanDocumentSearchPaginated` OK
2772
2763
  */
2773
- 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)),
2764
+ 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)),
2774
2765
  /**
2775
2766
  * @description Returns all documents grouped by folder for sidebar display. Use folderNamesOnly=true to get simplified response with folder names and counts for mobile (Files array will be empty).
2776
2767
  *
@@ -2781,7 +2772,7 @@ export class Api extends HttpClient {
2781
2772
  * @secure
2782
2773
  * @response `200` `(DocumentFolder)[]` OK
2783
2774
  */
2784
- 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)),
2775
+ 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)),
2785
2776
  /**
2786
2777
  * No description
2787
2778
  *
@@ -2790,7 +2781,7 @@ export class Api extends HttpClient {
2790
2781
  * @summary Download By ID
2791
2782
  * @request GET:/api/loans/{loanId}/documents/{documentId}/download
2792
2783
  * @secure
2793
- * @response `200` `string` OK
2784
+ * @response `200` `Blob` OK
2794
2785
  * @response `404` `ProblemDetails` Not Found
2795
2786
  */
2796
2787
  downloadLoanDocument: (loanId, documentId, params = {}) => this.request(Object.assign({ path: `/api/loans/${loanId}/documents/${documentId}/download`, method: "GET", secure: true, format: "json" }, params)),
@@ -2806,7 +2797,7 @@ export class Api extends HttpClient {
2806
2797
  * @response `404` `ProblemDetails` Not Found
2807
2798
  * @response `422` `UnprocessableEntity` Unprocessable Content
2808
2799
  */
2809
- 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)),
2800
+ 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)),
2810
2801
  /**
2811
2802
  * No description
2812
2803
  *
@@ -2830,7 +2821,7 @@ export class Api extends HttpClient {
2830
2821
  * @secure
2831
2822
  * @response `200` `DocumentDataRequest` OK
2832
2823
  */
2833
- 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)),
2824
+ 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)),
2834
2825
  /**
2835
2826
  * No description
2836
2827
  *
@@ -2843,7 +2834,7 @@ export class Api extends HttpClient {
2843
2834
  * @response `400` `ProblemDetails` Bad Request
2844
2835
  * @response `404` `ProblemDetails` Not Found
2845
2836
  */
2846
- sendLoanDocuments: (loanId, data, params = {}) => this.request(Object.assign({ path: `/api/loans/${loanId}/documents/distribute`, method: "POST", body: data, secure: true, type: ContentType.Json }, params)),
2837
+ sendLoanDocuments: (loanId, data, params = {}) => this.request(Object.assign({ path: `/api/loans/${loanId}/documents/distribute`, method: "POST", body: data, secure: true, type: "application/json" }, params)),
2847
2838
  /**
2848
2839
  * @description Fetches all documents from Encompass that don't exist locally and stores them in S3
2849
2840
  *
@@ -2868,7 +2859,7 @@ export class Api extends HttpClient {
2868
2859
  * @response `404` `ProblemDetails` Not Found
2869
2860
  * @response `422` `UnprocessableEntity` Unprocessable Content
2870
2861
  */
2871
- 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)),
2862
+ 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)),
2872
2863
  /**
2873
2864
  * @description Re-attempts to push a failed document to LOS
2874
2865
  *
@@ -2892,7 +2883,7 @@ export class Api extends HttpClient {
2892
2883
  * @secure
2893
2884
  * @response `201` `Draft` Created
2894
2885
  */
2895
- createLoanDraft: (data, params = {}) => this.request(Object.assign({ path: `/api/loans/drafts`, method: "POST", body: data, secure: true, type: ContentType.Json, format: "json" }, params)),
2886
+ createLoanDraft: (data, params = {}) => this.request(Object.assign({ path: `/api/loans/drafts`, method: "POST", body: data, secure: true, type: "application/json", format: "json" }, params)),
2896
2887
  /**
2897
2888
  * No description
2898
2889
  *
@@ -2925,7 +2916,7 @@ export class Api extends HttpClient {
2925
2916
  * @secure
2926
2917
  * @response `200` `Draft` OK
2927
2918
  */
2928
- 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)),
2919
+ 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)),
2929
2920
  /**
2930
2921
  * No description
2931
2922
  *
@@ -2947,7 +2938,7 @@ export class Api extends HttpClient {
2947
2938
  * @secure
2948
2939
  * @response `201` `DraftContentPaginated` Created
2949
2940
  */
2950
- 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)),
2941
+ 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)),
2951
2942
  /**
2952
2943
  * No description
2953
2944
  *
@@ -2958,7 +2949,7 @@ export class Api extends HttpClient {
2958
2949
  * @secure
2959
2950
  * @response `200` `Draft` OK
2960
2951
  */
2961
- 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)),
2952
+ 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)),
2962
2953
  /**
2963
2954
  * No description
2964
2955
  *
@@ -2991,7 +2982,7 @@ export class Api extends HttpClient {
2991
2982
  * @secure
2992
2983
  * @response `201` `LoanImport` Created
2993
2984
  */
2994
- createLoanImport: (data, params = {}) => this.request(Object.assign({ path: `/api/loan-imports`, method: "POST", body: data, secure: true, type: ContentType.Json, format: "json" }, params)),
2985
+ createLoanImport: (data, params = {}) => this.request(Object.assign({ path: `/api/loan-imports`, method: "POST", body: data, secure: true, type: "application/json", format: "json" }, params)),
2995
2986
  /**
2996
2987
  * No description
2997
2988
  *
@@ -3037,7 +3028,7 @@ export class Api extends HttpClient {
3037
3028
  * @response `200` `(Invite)[]` OK
3038
3029
  * @response `404` `ProblemDetails` Not Found
3039
3030
  */
3040
- 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)),
3031
+ 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)),
3041
3032
  /**
3042
3033
  * No description
3043
3034
  *
@@ -3048,7 +3039,7 @@ export class Api extends HttpClient {
3048
3039
  * @secure
3049
3040
  * @response `200` `LoanLogPaginated` OK
3050
3041
  */
3051
- 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)),
3042
+ 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)),
3052
3043
  /**
3053
3044
  * No description
3054
3045
  *
@@ -3073,7 +3064,7 @@ export class Api extends HttpClient {
3073
3064
  * @response `400` `ProblemDetails` Bad Request
3074
3065
  * @response `404` `ProblemDetails` Not Found
3075
3066
  */
3076
- 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)),
3067
+ 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)),
3077
3068
  /**
3078
3069
  * No description
3079
3070
  *
@@ -3086,7 +3077,7 @@ export class Api extends HttpClient {
3086
3077
  * @response `400` `ProblemDetails` Bad Request
3087
3078
  * @response `404` `ProblemDetails` Not Found
3088
3079
  */
3089
- 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)),
3080
+ 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)),
3090
3081
  /**
3091
3082
  * No description
3092
3083
  *
@@ -3108,7 +3099,7 @@ export class Api extends HttpClient {
3108
3099
  * @secure
3109
3100
  * @response `200` `BranchUserPaginated` OK
3110
3101
  */
3111
- 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)),
3102
+ 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)),
3112
3103
  /**
3113
3104
  * No description
3114
3105
  *
@@ -3131,7 +3122,7 @@ export class Api extends HttpClient {
3131
3122
  * @response `200` `SiteConfiguration` OK
3132
3123
  * @response `422` `UnprocessableEntity` Unprocessable Content
3133
3124
  */
3134
- 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)),
3125
+ 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)),
3135
3126
  /**
3136
3127
  * No description
3137
3128
  *
@@ -3154,7 +3145,7 @@ export class Api extends HttpClient {
3154
3145
  * @response `200` `SiteConfiguration` OK
3155
3146
  * @response `422` `UnprocessableEntity` Unprocessable Content
3156
3147
  */
3157
- 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)),
3148
+ 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)),
3158
3149
  /**
3159
3150
  * No description
3160
3151
  *
@@ -3165,7 +3156,7 @@ export class Api extends HttpClient {
3165
3156
  * @secure
3166
3157
  * @response `200` `LoanQueuePaginated` OK
3167
3158
  */
3168
- 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)),
3159
+ 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)),
3169
3160
  /**
3170
3161
  * No description
3171
3162
  *
@@ -3189,7 +3180,7 @@ export class Api extends HttpClient {
3189
3180
  * @response `200` `LoanQueueWithData` OK
3190
3181
  * @response `404` `ProblemDetails` Not Found
3191
3182
  */
3192
- 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)),
3183
+ 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)),
3193
3184
  /**
3194
3185
  * No description
3195
3186
  *
@@ -3250,7 +3241,7 @@ export class Api extends HttpClient {
3250
3241
  * @response `401` `ProblemDetails` Unauthorized
3251
3242
  * @response `403` `ProblemDetails` Forbidden
3252
3243
  */
3253
- createLoanv3: (data, params = {}) => this.request(Object.assign({ path: `/api/loans`, method: "POST", body: data, secure: true, type: ContentType.Json, format: "json" }, params)),
3244
+ createLoanv3: (data, params = {}) => this.request(Object.assign({ path: `/api/loans`, method: "POST", body: data, secure: true, type: "application/json", format: "json" }, params)),
3254
3245
  /**
3255
3246
  * No description
3256
3247
  *
@@ -3261,7 +3252,7 @@ export class Api extends HttpClient {
3261
3252
  * @secure
3262
3253
  * @response `200` `LoanListPaginated` OK
3263
3254
  */
3264
- 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)),
3255
+ 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)),
3265
3256
  /**
3266
3257
  * No description
3267
3258
  *
@@ -3277,7 +3268,7 @@ export class Api extends HttpClient {
3277
3268
  * @response `404` `ProblemDetails` Not Found
3278
3269
  * @response `409` `any` Conflict
3279
3270
  */
3280
- updateLoan: (loanId, data, params = {}) => this.request(Object.assign({ path: `/api/loans/${loanId}`, method: "PATCH", body: data, secure: true, type: ContentType.JsonPatch, format: "json" }, params)),
3271
+ updateLoan: (loanId, data, params = {}) => this.request(Object.assign({ path: `/api/loans/${loanId}`, method: "PATCH", body: data, secure: true, type: "application/json", format: "json" }, params)),
3281
3272
  /**
3282
3273
  * No description
3283
3274
  *
@@ -3339,7 +3330,7 @@ export class Api extends HttpClient {
3339
3330
  * @response `400` `ProblemDetails` Bad Request
3340
3331
  * @response `404` `ProblemDetails` Not Found
3341
3332
  */
3342
- 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)),
3333
+ 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)),
3343
3334
  /**
3344
3335
  * No description
3345
3336
  *
@@ -3351,7 +3342,7 @@ export class Api extends HttpClient {
3351
3342
  * @response `200` `TaskCommentPaginated` OK
3352
3343
  * @response `404` `ProblemDetails` Not Found
3353
3344
  */
3354
- 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)),
3345
+ 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)),
3355
3346
  /**
3356
3347
  * No description
3357
3348
  *
@@ -3375,7 +3366,7 @@ export class Api extends HttpClient {
3375
3366
  * @response `201` `TaskComment` Created
3376
3367
  * @response `404` `ProblemDetails` Not Found
3377
3368
  */
3378
- 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)),
3369
+ 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)),
3379
3370
  /**
3380
3371
  * No description
3381
3372
  *
@@ -3387,7 +3378,7 @@ export class Api extends HttpClient {
3387
3378
  * @response `200` `TaskComment` OK
3388
3379
  * @response `404` `ProblemDetails` Not Found
3389
3380
  */
3390
- 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)),
3381
+ 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)),
3391
3382
  /**
3392
3383
  * No description
3393
3384
  *
@@ -3412,7 +3403,7 @@ export class Api extends HttpClient {
3412
3403
  * @response `404` `ProblemDetails` Not Found
3413
3404
  * @response `422` `UnprocessableEntity` Unprocessable Content
3414
3405
  */
3415
- 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)),
3406
+ 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)),
3416
3407
  /**
3417
3408
  * No description
3418
3409
  *
@@ -3449,7 +3440,7 @@ export class Api extends HttpClient {
3449
3440
  * @response `400` `ProblemDetails` Bad Request
3450
3441
  * @response `404` `ProblemDetails` Not Found
3451
3442
  */
3452
- sendLoanTaskReminder: (loanId, data, params = {}) => this.request(Object.assign({ path: `/api/loans/${loanId}/tasks/reminders`, method: "POST", body: data, secure: true, type: ContentType.Json }, params)),
3443
+ sendLoanTaskReminder: (loanId, data, params = {}) => this.request(Object.assign({ path: `/api/loans/${loanId}/tasks/reminders`, method: "POST", body: data, secure: true, type: "application/json" }, params)),
3453
3444
  /**
3454
3445
  * @description Search tasks across all loans
3455
3446
  *
@@ -3460,7 +3451,7 @@ export class Api extends HttpClient {
3460
3451
  * @secure
3461
3452
  * @response `200` `UserLoanTaskPaginated` OK
3462
3453
  */
3463
- 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)),
3454
+ 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)),
3464
3455
  /**
3465
3456
  * @description Returns task counts grouped by status for loans accessible to the current user based on their role
3466
3457
  *
@@ -3472,7 +3463,7 @@ export class Api extends HttpClient {
3472
3463
  * @response `200` `(LoanTaskStatusSummary)[]` OK
3473
3464
  * @response `422` `UnprocessableEntity` Unprocessable Content
3474
3465
  */
3475
- 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)),
3466
+ 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)),
3476
3467
  /**
3477
3468
  * No description
3478
3469
  *
@@ -3520,7 +3511,7 @@ export class Api extends HttpClient {
3520
3511
  * @response `201` `UserLoanTask` Created
3521
3512
  * @response `404` `ProblemDetails` Not Found
3522
3513
  */
3523
- 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)),
3514
+ 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)),
3524
3515
  /**
3525
3516
  * No description
3526
3517
  *
@@ -3532,7 +3523,7 @@ export class Api extends HttpClient {
3532
3523
  * @response `201` `(UserLoanTask)[]` Created
3533
3524
  * @response `404` `ProblemDetails` Not Found
3534
3525
  */
3535
- 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)),
3526
+ 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)),
3536
3527
  /**
3537
3528
  * No description
3538
3529
  *
@@ -3544,7 +3535,7 @@ export class Api extends HttpClient {
3544
3535
  * @response `200` `UserLoanTask` OK
3545
3536
  * @response `404` `ProblemDetails` Not Found
3546
3537
  */
3547
- 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)),
3538
+ 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)),
3548
3539
  /**
3549
3540
  * No description
3550
3541
  *
@@ -3603,7 +3594,7 @@ export class Api extends HttpClient {
3603
3594
  * @secure
3604
3595
  * @response `201` `LoanUser` Created
3605
3596
  */
3606
- 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)),
3597
+ 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)),
3607
3598
  /**
3608
3599
  * No description
3609
3600
  *
@@ -3636,7 +3627,7 @@ export class Api extends HttpClient {
3636
3627
  * @secure
3637
3628
  * @response `200` `LosOperationTrackingPaginated` OK
3638
3629
  */
3639
- 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)),
3630
+ 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)),
3640
3631
  /**
3641
3632
  * No description
3642
3633
  *
@@ -3659,7 +3650,7 @@ export class Api extends HttpClient {
3659
3650
  * @response `201` `MilestoneConfiguration` Created
3660
3651
  * @response `422` `UnprocessableEntity` Unprocessable Content
3661
3652
  */
3662
- createMilestone: (data, params = {}) => this.request(Object.assign({ path: `/api/milestones`, method: "POST", body: data, secure: true, type: ContentType.Json, format: "json" }, params)),
3653
+ createMilestone: (data, params = {}) => this.request(Object.assign({ path: `/api/milestones`, method: "POST", body: data, secure: true, type: "application/json", format: "json" }, params)),
3663
3654
  /**
3664
3655
  * No description
3665
3656
  *
@@ -3684,7 +3675,7 @@ export class Api extends HttpClient {
3684
3675
  * @response `404` `Error` Not Found
3685
3676
  * @response `422` `UnprocessableEntity` Unprocessable Content
3686
3677
  */
3687
- replaceMilestone: (id, data, params = {}) => this.request(Object.assign({ path: `/api/milestones/${id}`, method: "PUT", body: data, secure: true, type: ContentType.Json, format: "json" }, params)),
3678
+ replaceMilestone: (id, data, params = {}) => this.request(Object.assign({ path: `/api/milestones/${id}`, method: "PUT", body: data, secure: true, type: "application/json", format: "json" }, params)),
3688
3679
  /**
3689
3680
  * No description
3690
3681
  *
@@ -3710,7 +3701,7 @@ export class Api extends HttpClient {
3710
3701
  * @response `404` `ProblemDetails` Not Found
3711
3702
  * @response `422` `ProblemDetails` Unprocessable Content
3712
3703
  */
3713
- 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)),
3704
+ 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)),
3714
3705
  /**
3715
3706
  * No description
3716
3707
  *
@@ -3722,7 +3713,7 @@ export class Api extends HttpClient {
3722
3713
  * @response `200` `MonthlyPaymentCalculator` OK
3723
3714
  * @response `422` `ProblemDetails` Unprocessable Content
3724
3715
  */
3725
- 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)),
3716
+ 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)),
3726
3717
  /**
3727
3718
  * No description
3728
3719
  *
@@ -3734,7 +3725,7 @@ export class Api extends HttpClient {
3734
3725
  * @response `200` `AffordabilityCalculator` OK
3735
3726
  * @response `422` `ProblemDetails` Unprocessable Content
3736
3727
  */
3737
- calculateMortgageAffordability: (data, params = {}) => this.request(Object.assign({ path: `/api/mortgage-calculators/affordability`, method: "POST", body: data, secure: true, type: ContentType.Json, format: "json" }, params)),
3728
+ calculateMortgageAffordability: (data, params = {}) => this.request(Object.assign({ path: `/api/mortgage-calculators/affordability`, method: "POST", body: data, secure: true, type: "application/json", format: "json" }, params)),
3738
3729
  /**
3739
3730
  * No description
3740
3731
  *
@@ -3746,7 +3737,7 @@ export class Api extends HttpClient {
3746
3737
  * @response `200` `LoanComparisonCalculator` OK
3747
3738
  * @response `422` `ProblemDetails` Unprocessable Content
3748
3739
  */
3749
- 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)),
3740
+ 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)),
3750
3741
  /**
3751
3742
  * No description
3752
3743
  *
@@ -3758,7 +3749,7 @@ export class Api extends HttpClient {
3758
3749
  * @response `200` `RefinanceCalculator` OK
3759
3750
  * @response `422` `ProblemDetails` Unprocessable Content
3760
3751
  */
3761
- calculateMortgageRefinance: (data, params = {}) => this.request(Object.assign({ path: `/api/mortgage-calculators/refinance`, method: "POST", body: data, secure: true, type: ContentType.Json, format: "json" }, params)),
3752
+ calculateMortgageRefinance: (data, params = {}) => this.request(Object.assign({ path: `/api/mortgage-calculators/refinance`, method: "POST", body: data, secure: true, type: "application/json", format: "json" }, params)),
3762
3753
  /**
3763
3754
  * No description
3764
3755
  *
@@ -3771,7 +3762,7 @@ export class Api extends HttpClient {
3771
3762
  * @response `200` `void` OK
3772
3763
  * @response `422` `UnprocessableEntity` Unprocessable Content
3773
3764
  */
3774
- sendNotificationForLoan: (data, params = {}) => this.request(Object.assign({ path: `/api/notifications`, method: "POST", body: data, secure: true, type: ContentType.Json }, params)),
3765
+ sendNotificationForLoan: (data, params = {}) => this.request(Object.assign({ path: `/api/notifications`, method: "POST", body: data, secure: true, type: "application/json" }, params)),
3775
3766
  /**
3776
3767
  * No description
3777
3768
  *
@@ -3784,7 +3775,7 @@ export class Api extends HttpClient {
3784
3775
  * @response `200` `void` OK
3785
3776
  * @response `422` `UnprocessableEntity` Unprocessable Content
3786
3777
  */
3787
- sendTestNotificationForLoan: (data, params = {}) => this.request(Object.assign({ path: `/api/notifications/test`, method: "POST", body: data, secure: true, type: ContentType.Json }, params)),
3778
+ sendTestNotificationForLoan: (data, params = {}) => this.request(Object.assign({ path: `/api/notifications/test`, method: "POST", body: data, secure: true, type: "application/json" }, params)),
3788
3779
  /**
3789
3780
  * No description
3790
3781
  *
@@ -3807,7 +3798,7 @@ export class Api extends HttpClient {
3807
3798
  * @response `201` `NotificationTemplate` Created
3808
3799
  * @response `422` `UnprocessableEntity` Unprocessable Content
3809
3800
  */
3810
- createNotificationTemplate: (data, params = {}) => this.request(Object.assign({ path: `/api/notification-templates`, method: "POST", body: data, secure: true, type: ContentType.Json, format: "json" }, params)),
3801
+ createNotificationTemplate: (data, params = {}) => this.request(Object.assign({ path: `/api/notification-templates`, method: "POST", body: data, secure: true, type: "application/json", format: "json" }, params)),
3811
3802
  /**
3812
3803
  * No description
3813
3804
  *
@@ -3818,7 +3809,7 @@ export class Api extends HttpClient {
3818
3809
  * @secure
3819
3810
  * @response `200` `NotificationTemplateBasePaginated` OK
3820
3811
  */
3821
- 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)),
3812
+ 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)),
3822
3813
  /**
3823
3814
  * No description
3824
3815
  *
@@ -3841,7 +3832,7 @@ export class Api extends HttpClient {
3841
3832
  * @response `200` `NotificationTemplate` OK
3842
3833
  * @response `422` `UnprocessableEntity` Unprocessable Content
3843
3834
  */
3844
- 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)),
3835
+ 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)),
3845
3836
  /**
3846
3837
  * No description
3847
3838
  *
@@ -3885,7 +3876,7 @@ export class Api extends HttpClient {
3885
3876
  * @secure
3886
3877
  * @response `200` `NotificationTemplateVersion` OK
3887
3878
  */
3888
- 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)),
3879
+ 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)),
3889
3880
  /**
3890
3881
  * No description
3891
3882
  *
@@ -3907,7 +3898,7 @@ export class Api extends HttpClient {
3907
3898
  * @secure
3908
3899
  * @response `200` `NotificationTemplateVersion` OK
3909
3900
  */
3910
- 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)),
3901
+ 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)),
3911
3902
  /**
3912
3903
  * No description
3913
3904
  *
@@ -3940,7 +3931,7 @@ export class Api extends HttpClient {
3940
3931
  * @secure
3941
3932
  * @response `200` `BranchUserPaginated` OK
3942
3933
  */
3943
- 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)),
3934
+ 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)),
3944
3935
  /**
3945
3936
  * No description
3946
3937
  *
@@ -3963,7 +3954,7 @@ export class Api extends HttpClient {
3963
3954
  * @response `200` `SiteConfiguration` OK
3964
3955
  * @response `422` `UnprocessableEntity` Unprocessable Content
3965
3956
  */
3966
- 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)),
3957
+ 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)),
3967
3958
  /**
3968
3959
  * No description
3969
3960
  *
@@ -3986,7 +3977,7 @@ export class Api extends HttpClient {
3986
3977
  * @response `200` `SiteConfiguration` OK
3987
3978
  * @response `422` `UnprocessableEntity` Unprocessable Content
3988
3979
  */
3989
- 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)),
3980
+ 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)),
3990
3981
  /**
3991
3982
  * No description
3992
3983
  *
@@ -4010,7 +4001,7 @@ export class Api extends HttpClient {
4010
4001
  * @response `200` `SiteConfigurationByUrl` OK
4011
4002
  * @response `422` `UnprocessableEntity` Unprocessable Content
4012
4003
  */
4013
- searchSiteConfigurationByUrl: (data, params = {}) => this.request(Object.assign({ path: `/api/site-configurations/url`, method: "POST", body: data, secure: true, type: ContentType.Json, format: "json" }, params)),
4004
+ searchSiteConfigurationByUrl: (data, params = {}) => this.request(Object.assign({ path: `/api/site-configurations/url`, method: "POST", body: data, secure: true, type: "application/json", format: "json" }, params)),
4014
4005
  /**
4015
4006
  * No description
4016
4007
  *
@@ -4035,7 +4026,7 @@ export class Api extends HttpClient {
4035
4026
  * @response `200` `SiteConfiguration` OK
4036
4027
  * @response `422` `UnprocessableEntity` Unprocessable Content
4037
4028
  */
4038
- searchSiteConfigurationByLoanOfficerUser: (data, params = {}) => this.request(Object.assign({ path: `/api/site-configurations/louser`, method: "POST", body: data, secure: true, type: ContentType.Json, format: "json" }, params)),
4029
+ searchSiteConfigurationByLoanOfficerUser: (data, params = {}) => this.request(Object.assign({ path: `/api/site-configurations/louser`, method: "POST", body: data, secure: true, type: "application/json", format: "json" }, params)),
4039
4030
  /**
4040
4031
  * No description
4041
4032
  *
@@ -4059,7 +4050,7 @@ export class Api extends HttpClient {
4059
4050
  * @response `200` `SiteConfigurationSummaryPaginated` OK
4060
4051
  * @response `422` `UnprocessableEntity` Unprocessable Content
4061
4052
  */
4062
- 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)),
4053
+ 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)),
4063
4054
  /**
4064
4055
  * No description
4065
4056
  *
@@ -4151,7 +4142,7 @@ export class Api extends HttpClient {
4151
4142
  * @secure
4152
4143
  * @response `200` `GetForm` OK
4153
4144
  */
4154
- getFormBySiteConfigurationSlug: (data, params = {}) => this.request(Object.assign({ path: `/api/site-forms`, method: "POST", body: data, secure: true, type: ContentType.Json, format: "json" }, params)),
4145
+ getFormBySiteConfigurationSlug: (data, params = {}) => this.request(Object.assign({ path: `/api/site-forms`, method: "POST", body: data, secure: true, type: "application/json", format: "json" }, params)),
4155
4146
  /**
4156
4147
  * No description
4157
4148
  *
@@ -4174,7 +4165,7 @@ export class Api extends HttpClient {
4174
4165
  * @response `200` `(SocialSurveyRecord)[]` OK
4175
4166
  * @response `422` `UnprocessableEntity` Unprocessable Content
4176
4167
  */
4177
- getSurveysByUser: (data, params = {}) => this.request(Object.assign({ path: `/api/surveys`, method: "POST", body: data, secure: true, type: ContentType.Json, format: "json" }, params)),
4168
+ getSurveysByUser: (data, params = {}) => this.request(Object.assign({ path: `/api/surveys`, method: "POST", body: data, secure: true, type: "application/json", format: "json" }, params)),
4178
4169
  /**
4179
4170
  * No description
4180
4171
  *
@@ -4197,7 +4188,7 @@ export class Api extends HttpClient {
4197
4188
  * @secure
4198
4189
  * @response `201` `Task` Created
4199
4190
  */
4200
- createTask: (data, params = {}) => this.request(Object.assign({ path: `/api/tasks`, method: "POST", body: data, secure: true, type: ContentType.Json, format: "json" }, params)),
4191
+ createTask: (data, params = {}) => this.request(Object.assign({ path: `/api/tasks`, method: "POST", body: data, secure: true, type: "application/json", format: "json" }, params)),
4201
4192
  /**
4202
4193
  * No description
4203
4194
  *
@@ -4221,7 +4212,7 @@ export class Api extends HttpClient {
4221
4212
  * @response `200` `Task` OK
4222
4213
  * @response `404` `ProblemDetails` Not Found
4223
4214
  */
4224
- replaceTask: (id, data, params = {}) => this.request(Object.assign({ path: `/api/tasks/${id}`, method: "PUT", body: data, secure: true, type: ContentType.Json, format: "json" }, params)),
4215
+ replaceTask: (id, data, params = {}) => this.request(Object.assign({ path: `/api/tasks/${id}`, method: "PUT", body: data, secure: true, type: "application/json", format: "json" }, params)),
4225
4216
  /**
4226
4217
  * No description
4227
4218
  *
@@ -4244,7 +4235,7 @@ export class Api extends HttpClient {
4244
4235
  * @secure
4245
4236
  * @response `200` `TaskPaginated` OK
4246
4237
  */
4247
- 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)),
4238
+ 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)),
4248
4239
  /**
4249
4240
  * No description
4250
4241
  *
@@ -4254,7 +4245,7 @@ export class Api extends HttpClient {
4254
4245
  * @secure
4255
4246
  * @response `200` `void` OK
4256
4247
  */
4257
- integrationsLosLoansCreate: (data, params = {}) => this.request(Object.assign({ path: `/api/integrations/los/loans`, method: "POST", body: data, secure: true, type: ContentType.Json }, params)),
4248
+ integrationsLosLoansCreate: (data, params = {}) => this.request(Object.assign({ path: `/api/integrations/los/loans`, method: "POST", body: data, secure: true, type: "application/json" }, params)),
4258
4249
  /**
4259
4250
  * No description
4260
4251
  *
@@ -4265,7 +4256,7 @@ export class Api extends HttpClient {
4265
4256
  * @secure
4266
4257
  * @response `200` `EncompassRequestLogPaginated` OK
4267
4258
  */
4268
- 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)),
4259
+ 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)),
4269
4260
  /**
4270
4261
  * No description
4271
4262
  *
@@ -4288,7 +4279,7 @@ export class Api extends HttpClient {
4288
4279
  * @secure
4289
4280
  * @response `201` `LosCredentials` Created
4290
4281
  */
4291
- createEncompassCredentials: (data, params = {}) => this.request(Object.assign({ path: `/api/los/encompass/credentials`, method: "POST", body: data, secure: true, type: ContentType.Json, format: "json" }, params)),
4282
+ createEncompassCredentials: (data, params = {}) => this.request(Object.assign({ path: `/api/los/encompass/credentials`, method: "POST", body: data, secure: true, type: "application/json", format: "json" }, params)),
4292
4283
  /**
4293
4284
  * No description
4294
4285
  *
@@ -4299,7 +4290,7 @@ export class Api extends HttpClient {
4299
4290
  * @secure
4300
4291
  * @response `200` `EncompassCredentialsDetail` OK
4301
4292
  */
4302
- updateEncompassCredentials: (data, params = {}) => this.request(Object.assign({ path: `/api/los/encompass/credentials`, method: "PUT", body: data, secure: true, type: ContentType.Json, format: "json" }, params)),
4293
+ updateEncompassCredentials: (data, params = {}) => this.request(Object.assign({ path: `/api/los/encompass/credentials`, method: "PUT", body: data, secure: true, type: "application/json", format: "json" }, params)),
4303
4294
  /**
4304
4295
  * No description
4305
4296
  *
@@ -4321,7 +4312,7 @@ export class Api extends HttpClient {
4321
4312
  * @secure
4322
4313
  * @response `201` `LosWebhook` Created
4323
4314
  */
4324
- createEncompassWebhook: (data, params = {}) => this.request(Object.assign({ path: `/api/los/encompass/webhooks`, method: "POST", body: data, secure: true, type: ContentType.Json, format: "json" }, params)),
4315
+ createEncompassWebhook: (data, params = {}) => this.request(Object.assign({ path: `/api/los/encompass/webhooks`, method: "POST", body: data, secure: true, type: "application/json", format: "json" }, params)),
4325
4316
  /**
4326
4317
  * No description
4327
4318
  *
@@ -4343,7 +4334,7 @@ export class Api extends HttpClient {
4343
4334
  * @secure
4344
4335
  * @response `200` `LosSyncPaginated` OK
4345
4336
  */
4346
- 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)),
4337
+ 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)),
4347
4338
  /**
4348
4339
  * No description
4349
4340
  *
@@ -4426,7 +4417,7 @@ export class Api extends HttpClient {
4426
4417
  * @response `201` `UserDevice` Created
4427
4418
  * @response `400` `ProblemDetails` Bad Request
4428
4419
  */
4429
- createUserDevice: (data, params = {}) => this.request(Object.assign({ path: `/api/userdevices`, method: "POST", body: data, secure: true, type: ContentType.Json, format: "json" }, params)),
4420
+ createUserDevice: (data, params = {}) => this.request(Object.assign({ path: `/api/userdevices`, method: "POST", body: data, secure: true, type: "application/json", format: "json" }, params)),
4430
4421
  /**
4431
4422
  * No description
4432
4423
  *
@@ -4471,7 +4462,7 @@ export class Api extends HttpClient {
4471
4462
  * @secure
4472
4463
  * @response `200` `UserDraft` OK
4473
4464
  */
4474
- 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)),
4465
+ 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)),
4475
4466
  /**
4476
4467
  * No description
4477
4468
  *
@@ -4504,7 +4495,7 @@ export class Api extends HttpClient {
4504
4495
  * @secure
4505
4496
  * @response `200` `UserGroupAccessScope` OK
4506
4497
  */
4507
- 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)),
4498
+ 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)),
4508
4499
  /**
4509
4500
  * No description
4510
4501
  *
@@ -4537,7 +4528,7 @@ export class Api extends HttpClient {
4537
4528
  * @secure
4538
4529
  * @response `200` `UserGroupMember` OK
4539
4530
  */
4540
- 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)),
4531
+ 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)),
4541
4532
  /**
4542
4533
  * No description
4543
4534
  *
@@ -4581,7 +4572,7 @@ export class Api extends HttpClient {
4581
4572
  * @secure
4582
4573
  * @response `200` `UserGroup` OK
4583
4574
  */
4584
- 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)),
4575
+ 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)),
4585
4576
  /**
4586
4577
  * No description
4587
4578
  *
@@ -4603,7 +4594,7 @@ export class Api extends HttpClient {
4603
4594
  * @secure
4604
4595
  * @response `201` `UserGroup` Created
4605
4596
  */
4606
- createUserGroup: (data, params = {}) => this.request(Object.assign({ path: `/api/user-groups`, method: "POST", body: data, secure: true, type: ContentType.Json, format: "json" }, params)),
4597
+ createUserGroup: (data, params = {}) => this.request(Object.assign({ path: `/api/user-groups`, method: "POST", body: data, secure: true, type: "application/json", format: "json" }, params)),
4607
4598
  /**
4608
4599
  * No description
4609
4600
  *
@@ -4616,7 +4607,7 @@ export class Api extends HttpClient {
4616
4607
  * @response `404` `Error` Not Found
4617
4608
  * @response `422` `UnprocessableEntity` Unprocessable Content
4618
4609
  */
4619
- requestImpersonation: (data, params = {}) => this.request(Object.assign({ path: `/api/users/impersonation/request`, method: "POST", body: data, secure: true, type: ContentType.Json }, params)),
4610
+ requestImpersonation: (data, params = {}) => this.request(Object.assign({ path: `/api/users/impersonation/request`, method: "POST", body: data, secure: true, type: "application/json" }, params)),
4620
4611
  /**
4621
4612
  * No description
4622
4613
  *
@@ -4629,7 +4620,7 @@ export class Api extends HttpClient {
4629
4620
  * @response `404` `Error` Not Found
4630
4621
  * @response `422` `UnprocessableEntity` Unprocessable Content
4631
4622
  */
4632
- allowImpersonation: (data, params = {}) => this.request(Object.assign({ path: `/api/users/impersonation/allow`, method: "POST", body: data, secure: true, type: ContentType.Json }, params)),
4623
+ allowImpersonation: (data, params = {}) => this.request(Object.assign({ path: `/api/users/impersonation/allow`, method: "POST", body: data, secure: true, type: "application/json" }, params)),
4633
4624
  /**
4634
4625
  * No description
4635
4626
  *
@@ -4679,7 +4670,7 @@ export class Api extends HttpClient {
4679
4670
  * @response `404` `Error` Not Found
4680
4671
  * @response `422` `UnprocessableEntity` Unprocessable Content
4681
4672
  */
4682
- forceImpersonation: (data, params = {}) => this.request(Object.assign({ path: `/api/users/impersonation/force`, method: "POST", body: data, secure: true, type: ContentType.Json }, params)),
4673
+ forceImpersonation: (data, params = {}) => this.request(Object.assign({ path: `/api/users/impersonation/force`, method: "POST", body: data, secure: true, type: "application/json" }, params)),
4683
4674
  /**
4684
4675
  * No description
4685
4676
  *
@@ -4703,7 +4694,7 @@ export class Api extends HttpClient {
4703
4694
  * @response `204` `void` No Content
4704
4695
  * @response `422` `UnprocessableEntity` Unprocessable Content
4705
4696
  */
4706
- inviteUser: (data, params = {}) => this.request(Object.assign({ path: `/api/users/invites`, method: "POST", body: data, secure: true, type: ContentType.Json }, params)),
4697
+ inviteUser: (data, params = {}) => this.request(Object.assign({ path: `/api/users/invites`, method: "POST", body: data, secure: true, type: "application/json" }, params)),
4707
4698
  /**
4708
4699
  * No description
4709
4700
  *
@@ -4750,7 +4741,7 @@ export class Api extends HttpClient {
4750
4741
  * @secure
4751
4742
  * @response `204` `void` No Content
4752
4743
  */
4753
- createUserRelation: (userId, data, params = {}) => this.request(Object.assign({ path: `/api/users/${userId}/relations`, method: "POST", body: data, secure: true, type: ContentType.Json }, params)),
4744
+ createUserRelation: (userId, data, params = {}) => this.request(Object.assign({ path: `/api/users/${userId}/relations`, method: "POST", body: data, secure: true, type: "application/json" }, params)),
4754
4745
  /**
4755
4746
  * No description
4756
4747
  *
@@ -4795,7 +4786,7 @@ export class Api extends HttpClient {
4795
4786
  * @response `200` `DetailedUser` OK
4796
4787
  * @response `422` `UnprocessableEntity` Unprocessable Content
4797
4788
  */
4798
- createUser: (data, params = {}) => this.request(Object.assign({ path: `/api/users`, method: "POST", body: data, secure: true, type: ContentType.Json, format: "json" }, params)),
4789
+ createUser: (data, params = {}) => this.request(Object.assign({ path: `/api/users`, method: "POST", body: data, secure: true, type: "application/json", format: "json" }, params)),
4799
4790
  /**
4800
4791
  * No description
4801
4792
  *
@@ -4806,7 +4797,7 @@ export class Api extends HttpClient {
4806
4797
  * @secure
4807
4798
  * @response `200` `UserPaginated` OK
4808
4799
  */
4809
- 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)),
4800
+ 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)),
4810
4801
  /**
4811
4802
  * No description
4812
4803
  *
@@ -4817,7 +4808,7 @@ export class Api extends HttpClient {
4817
4808
  * @secure
4818
4809
  * @response `200` `AdminAccessUser` OK
4819
4810
  */
4820
- getUserByEmail: (data, params = {}) => this.request(Object.assign({ path: `/api/users/byemail`, method: "POST", body: data, secure: true, type: ContentType.Json, format: "json" }, params)),
4811
+ getUserByEmail: (data, params = {}) => this.request(Object.assign({ path: `/api/users/byemail`, method: "POST", body: data, secure: true, type: "application/json", format: "json" }, params)),
4821
4812
  /**
4822
4813
  * No description
4823
4814
  *
@@ -4829,7 +4820,7 @@ export class Api extends HttpClient {
4829
4820
  * @response `200` `User` OK
4830
4821
  * @response `422` `UnprocessableEntity` Unprocessable Content
4831
4822
  */
4832
- signUp: (data, params = {}) => this.request(Object.assign({ path: `/api/users/register`, method: "POST", body: data, secure: true, type: ContentType.Json, format: "json" }, params)),
4823
+ signUp: (data, params = {}) => this.request(Object.assign({ path: `/api/users/register`, method: "POST", body: data, secure: true, type: "application/json", format: "json" }, params)),
4833
4824
  /**
4834
4825
  * No description
4835
4826
  *
@@ -4841,7 +4832,7 @@ export class Api extends HttpClient {
4841
4832
  * @response `200` `DetailedUser` OK
4842
4833
  * @response `422` `UnprocessableEntity` Unprocessable Content
4843
4834
  */
4844
- replaceUser: (id, data, params = {}) => this.request(Object.assign({ path: `/api/users/${id}`, method: "PUT", body: data, secure: true, type: ContentType.Json, format: "json" }, params)),
4835
+ replaceUser: (id, data, params = {}) => this.request(Object.assign({ path: `/api/users/${id}`, method: "PUT", body: data, secure: true, type: "application/json", format: "json" }, params)),
4845
4836
  /**
4846
4837
  * No description
4847
4838
  *
@@ -4875,7 +4866,7 @@ export class Api extends HttpClient {
4875
4866
  * @response `204` `void` No Content
4876
4867
  * @response `422` `UnprocessableEntity` Unprocessable Content
4877
4868
  */
4878
- changePassword: (data, params = {}) => this.request(Object.assign({ path: `/api/users/change-password`, method: "POST", body: data, secure: true, type: ContentType.Json }, params)),
4869
+ changePassword: (data, params = {}) => this.request(Object.assign({ path: `/api/users/change-password`, method: "POST", body: data, secure: true, type: "application/json" }, params)),
4879
4870
  /**
4880
4871
  * No description
4881
4872
  *
@@ -4887,7 +4878,7 @@ export class Api extends HttpClient {
4887
4878
  * @response `204` `void` No Content
4888
4879
  * @response `422` `UnprocessableEntity` Unprocessable Content
4889
4880
  */
4890
- verifyPassword: (data, params = {}) => this.request(Object.assign({ path: `/api/users/verify-password`, method: "POST", body: data, secure: true, type: ContentType.Json }, params)),
4881
+ verifyPassword: (data, params = {}) => this.request(Object.assign({ path: `/api/users/verify-password`, method: "POST", body: data, secure: true, type: "application/json" }, params)),
4891
4882
  /**
4892
4883
  * No description
4893
4884
  *
@@ -4899,7 +4890,7 @@ export class Api extends HttpClient {
4899
4890
  * @response `204` `void` No Content
4900
4891
  * @response `422` `UnprocessableEntity` Unprocessable Content
4901
4892
  */
4902
- overridePassword: (id, data, params = {}) => this.request(Object.assign({ path: `/api/users/${id}/override-password`, method: "POST", body: data, secure: true, type: ContentType.Json }, params)),
4893
+ overridePassword: (id, data, params = {}) => this.request(Object.assign({ path: `/api/users/${id}/override-password`, method: "POST", body: data, secure: true, type: "application/json" }, params)),
4903
4894
  /**
4904
4895
  * No description
4905
4896
  *
@@ -4911,7 +4902,7 @@ export class Api extends HttpClient {
4911
4902
  * @response `204` `void` No Content
4912
4903
  * @response `422` `UnprocessableEntity` Unprocessable Content
4913
4904
  */
4914
- forgotPassword: (data, params = {}) => this.request(Object.assign({ path: `/api/users/forgot-password`, method: "POST", body: data, secure: true, type: ContentType.Json }, params)),
4905
+ forgotPassword: (data, params = {}) => this.request(Object.assign({ path: `/api/users/forgot-password`, method: "POST", body: data, secure: true, type: "application/json" }, params)),
4915
4906
  /**
4916
4907
  * No description
4917
4908
  *
@@ -4935,7 +4926,7 @@ export class Api extends HttpClient {
4935
4926
  * @response `204` `void` No Content
4936
4927
  * @response `422` `UnprocessableEntity` Unprocessable Content
4937
4928
  */
4938
- verifyUserMobilePhone: (data, params = {}) => this.request(Object.assign({ path: `/api/users/mobile-phone/verify-code`, method: "PUT", body: data, secure: true, type: ContentType.Json }, params)),
4929
+ verifyUserMobilePhone: (data, params = {}) => this.request(Object.assign({ path: `/api/users/mobile-phone/verify-code`, method: "PUT", body: data, secure: true, type: "application/json" }, params)),
4939
4930
  /**
4940
4931
  * No description
4941
4932
  *
@@ -4958,7 +4949,7 @@ export class Api extends HttpClient {
4958
4949
  * @secure
4959
4950
  * @response `200` `DetailedUser` OK
4960
4951
  */
4961
- replaceMe: (data, params = {}) => this.request(Object.assign({ path: `/api/users/me`, method: "PUT", body: data, secure: true, type: ContentType.Json, format: "json" }, params)),
4952
+ replaceMe: (data, params = {}) => this.request(Object.assign({ path: `/api/users/me`, method: "PUT", body: data, secure: true, type: "application/json", format: "json" }, params)),
4962
4953
  /**
4963
4954
  * @description Update the phone number If changed will send a verification code to the new number
4964
4955
  *
@@ -4969,7 +4960,7 @@ export class Api extends HttpClient {
4969
4960
  * @secure
4970
4961
  * @response `204` `DetailedUser` No Content
4971
4962
  */
4972
- 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)),
4963
+ 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)),
4973
4964
  /**
4974
4965
  * No description
4975
4966
  *
@@ -5013,7 +5004,7 @@ export class Api extends HttpClient {
5013
5004
  * @secure
5014
5005
  * @response `204` `void` No Content
5015
5006
  */
5016
- deleteMe: (data, params = {}) => this.request(Object.assign({ path: `/api/users/me/delete`, method: "POST", body: data, secure: true, type: ContentType.Json }, params)),
5007
+ deleteMe: (data, params = {}) => this.request(Object.assign({ path: `/api/users/me/delete`, method: "POST", body: data, secure: true, type: "application/json" }, params)),
5017
5008
  /**
5018
5009
  * No description
5019
5010
  *
@@ -5024,7 +5015,7 @@ export class Api extends HttpClient {
5024
5015
  * @secure
5025
5016
  * @response `200` `GetForm` OK
5026
5017
  */
5027
- getWorkflow: (data, params = {}) => this.request(Object.assign({ path: `/api/workflow`, method: "POST", body: data, secure: true, type: ContentType.Json, format: "json" }, params)),
5018
+ getWorkflow: (data, params = {}) => this.request(Object.assign({ path: `/api/workflow`, method: "POST", body: data, secure: true, type: "application/json", format: "json" }, params)),
5028
5019
  };
5029
5020
  this.sso = {
5030
5021
  /**