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

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.js CHANGED
@@ -30,6 +30,15 @@ var __rest = (this && this.__rest) || function (s, e) {
30
30
  return t;
31
31
  };
32
32
  import axios from "axios";
33
+ export var ContentType;
34
+ (function (ContentType) {
35
+ ContentType["JsonPatch"] = "application/json-patch+json";
36
+ ContentType["Json"] = "application/json";
37
+ ContentType["JsonApi"] = "application/vnd.api+json";
38
+ ContentType["FormData"] = "multipart/form-data";
39
+ ContentType["UrlEncoded"] = "application/x-www-form-urlencoded";
40
+ ContentType["Text"] = "text/plain";
41
+ })(ContentType || (ContentType = {}));
33
42
  export class HttpClient {
34
43
  constructor(_a = {}) {
35
44
  var { securityWorker, secure, format } = _a, axiosConfig = __rest(_a, ["securityWorker", "secure", "format"]);
@@ -45,13 +54,13 @@ export class HttpClient {
45
54
  {};
46
55
  const requestParams = this.mergeRequestParams(params, secureParams);
47
56
  const responseFormat = format || this.format || undefined;
48
- if (type === "multipart/form-data" &&
57
+ if (type === ContentType.FormData &&
49
58
  body &&
50
59
  body !== null &&
51
60
  typeof body === "object") {
52
61
  body = this.createFormData(body);
53
62
  }
54
- if (type === "text/plain" &&
63
+ if (type === ContentType.Text &&
55
64
  body &&
56
65
  body !== null &&
57
66
  typeof body !== "string") {
@@ -95,7 +104,7 @@ export class HttpClient {
95
104
  }
96
105
  /**
97
106
  * @title The Big POS API
98
- * @version v2.44.2
107
+ * @version v2.45.0
99
108
  * @termsOfService https://www.thebigpos.com/terms-of-use/
100
109
  * @contact Mortgage Automation Technologies <support@thebigpos.com> (https://www.thebigpos.com/terms-of-use/)
101
110
  */
@@ -147,7 +156,7 @@ export class Api extends HttpClient {
147
156
  * @response `404` `ProblemDetails` Not Found
148
157
  * @response `422` `ProblemDetails` Unprocessable Content
149
158
  */
150
- replaceMyAccount: (data, params = {}) => this.request(Object.assign({ path: `/api/account`, method: "PUT", body: data, secure: true, type: "application/json", format: "json" }, params)),
159
+ replaceMyAccount: (data, params = {}) => this.request(Object.assign({ path: `/api/account`, method: "PUT", body: data, secure: true, type: ContentType.Json, format: "json" }, params)),
151
160
  /**
152
161
  * No description
153
162
  *
@@ -170,7 +179,7 @@ export class Api extends HttpClient {
170
179
  * @response `200` `SiteConfiguration` OK
171
180
  * @response `422` `UnprocessableEntity` Unprocessable Content
172
181
  */
173
- updateSiteConfigurationForAccount: (data, params = {}) => this.request(Object.assign({ path: `/api/account/site-configurations`, method: "PUT", body: data, secure: true, type: "application/json", format: "json" }, params)),
182
+ updateSiteConfigurationForAccount: (data, params = {}) => this.request(Object.assign({ path: `/api/account/site-configurations`, method: "PUT", body: data, secure: true, type: ContentType.Json, format: "json" }, params)),
174
183
  /**
175
184
  * No description
176
185
  *
@@ -181,7 +190,7 @@ export class Api extends HttpClient {
181
190
  * @secure
182
191
  * @response `204` `void` No Content
183
192
  */
184
- requestAccountReactivation: (data, params = {}) => this.request(Object.assign({ path: `/api/account/reactivation/request`, method: "POST", body: data, secure: true, type: "application/json" }, params)),
193
+ requestAccountReactivation: (data, params = {}) => this.request(Object.assign({ path: `/api/account/reactivation/request`, method: "POST", body: data, secure: true, type: ContentType.Json }, params)),
185
194
  /**
186
195
  * No description
187
196
  *
@@ -193,7 +202,7 @@ export class Api extends HttpClient {
193
202
  * @response `204` `void` No Content
194
203
  * @response `400` `ProblemDetails` Bad Request
195
204
  */
196
- completeAccountReactivation: (data, params = {}) => this.request(Object.assign({ path: `/api/account/reactivation/complete`, method: "POST", body: data, secure: true, type: "application/json" }, params)),
205
+ completeAccountReactivation: (data, params = {}) => this.request(Object.assign({ path: `/api/account/reactivation/complete`, method: "POST", body: data, secure: true, type: ContentType.Json }, params)),
197
206
  /**
198
207
  * No description
199
208
  *
@@ -216,7 +225,7 @@ export class Api extends HttpClient {
216
225
  * @response `201` `Account` Created
217
226
  * @response `422` `ProblemDetails` Unprocessable Content
218
227
  */
219
- createAccount: (data, params = {}) => this.request(Object.assign({ path: `/api/accounts`, method: "POST", body: data, secure: true, type: "application/json", format: "json" }, params)),
228
+ createAccount: (data, params = {}) => this.request(Object.assign({ path: `/api/accounts`, method: "POST", body: data, secure: true, type: ContentType.Json, format: "json" }, params)),
220
229
  /**
221
230
  * No description
222
231
  *
@@ -254,7 +263,683 @@ export class Api extends HttpClient {
254
263
  * @response `404` `ProblemDetails` Not Found
255
264
  * @response `422` `ProblemDetails` Unprocessable Content
256
265
  */
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)),
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)),
267
+ /**
268
+ * No description
269
+ *
270
+ * @tags AiAccountSettings
271
+ * @name GetAiAccountSettings
272
+ * @summary Get account AI settings
273
+ * @request GET:/api/ai/admin/account-settings
274
+ * @secure
275
+ * @response `200` `AiAccountSettings` OK
276
+ */
277
+ getAiAccountSettings: (params = {}) => this.request(Object.assign({ path: `/api/ai/admin/account-settings`, method: "GET", secure: true, format: "json" }, params)),
278
+ /**
279
+ * No description
280
+ *
281
+ * @tags AiAccountSettings
282
+ * @name UpdateAiAccountSettings
283
+ * @summary Update account AI settings
284
+ * @request PUT:/api/ai/admin/account-settings
285
+ * @secure
286
+ * @response `200` `AiAccountSettings` OK
287
+ * @response `400` `ProblemDetails` Bad Request
288
+ */
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)),
290
+ /**
291
+ * No description
292
+ *
293
+ * @tags AiAdmin
294
+ * @name GetAiAuditLogs
295
+ * @summary Get paginated audit logs
296
+ * @request GET:/api/ai/admin/audit-logs
297
+ * @secure
298
+ * @response `200` `AiAuditLogPaginated` OK
299
+ */
300
+ getAiAuditLogs: (query, params = {}) => this.request(Object.assign({ path: `/api/ai/admin/audit-logs`, method: "GET", query: query, secure: true, format: "json" }, params)),
301
+ /**
302
+ * No description
303
+ *
304
+ * @tags AiAdmin
305
+ * @name GetAiRequestLifecycle
306
+ * @summary Get the full event lifecycle of a single AI request
307
+ * @request GET:/api/ai/admin/audit-logs/request/{requestId}
308
+ * @secure
309
+ * @response `200` `(AiAuditLog)[]` OK
310
+ */
311
+ getAiRequestLifecycle: (requestId, params = {}) => this.request(Object.assign({ path: `/api/ai/admin/audit-logs/request/${requestId}`, method: "GET", secure: true, format: "json" }, params)),
312
+ /**
313
+ * No description
314
+ *
315
+ * @tags AiAdmin
316
+ * @name GetAiAuditConversations
317
+ * @summary List conversations with their audit roll-up — origin user, turns, status, tokens
318
+ * @request GET:/api/ai/admin/audit-conversations
319
+ * @secure
320
+ * @response `200` `AiConversationAuditSummaryPaginated` OK
321
+ */
322
+ getAiAuditConversations: (query, params = {}) => this.request(Object.assign({ path: `/api/ai/admin/audit-conversations`, method: "GET", query: query, secure: true, format: "json" }, params)),
323
+ /**
324
+ * No description
325
+ *
326
+ * @tags AiAdmin
327
+ * @name GetAiAdminStats
328
+ * @summary Get AI admin dashboard stats
329
+ * @request GET:/api/ai/admin/stats
330
+ * @secure
331
+ * @response `200` `AiAdminStats` OK
332
+ */
333
+ getAiAdminStats: (query, params = {}) => this.request(Object.assign({ path: `/api/ai/admin/stats`, method: "GET", query: query, secure: true, format: "json" }, params)),
334
+ /**
335
+ * No description
336
+ *
337
+ * @tags AiAdmin
338
+ * @name GetAiConfigChanges
339
+ * @summary Get the AI configuration change history (who changed prompts, guardrails, fields, sources)
340
+ * @request GET:/api/ai/admin/config-changes
341
+ * @secure
342
+ * @response `200` `AiConfigChangeLogPaginated` OK
343
+ */
344
+ getAiConfigChanges: (query, params = {}) => this.request(Object.assign({ path: `/api/ai/admin/config-changes`, method: "GET", query: query, secure: true, format: "json" }, params)),
345
+ /**
346
+ * No description
347
+ *
348
+ * @tags AiAdminPrompt
349
+ * @name GetAiPrompts
350
+ * @summary Get all prompts
351
+ * @request GET:/api/ai/admin/prompts
352
+ * @secure
353
+ * @response `200` `(AiPrompt)[]` OK
354
+ */
355
+ getAiPrompts: (params = {}) => this.request(Object.assign({ path: `/api/ai/admin/prompts`, method: "GET", secure: true, format: "json" }, params)),
356
+ /**
357
+ * No description
358
+ *
359
+ * @tags AiAdminPrompt
360
+ * @name CreateAiPrompt
361
+ * @summary Create custom prompt
362
+ * @request POST:/api/ai/admin/prompts
363
+ * @secure
364
+ * @response `201` `AiPrompt` Created
365
+ * @response `400` `ProblemDetails` Bad Request
366
+ */
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)),
368
+ /**
369
+ * No description
370
+ *
371
+ * @tags AiAdminPrompt
372
+ * @name GetAiPrompt
373
+ * @summary Get prompt by ID
374
+ * @request GET:/api/ai/admin/prompts/{id}
375
+ * @secure
376
+ * @response `200` `AiPrompt` OK
377
+ * @response `404` `ProblemDetails` Not Found
378
+ */
379
+ getAiPrompt: (id, params = {}) => this.request(Object.assign({ path: `/api/ai/admin/prompts/${id}`, method: "GET", secure: true, format: "json" }, params)),
380
+ /**
381
+ * No description
382
+ *
383
+ * @tags AiAdminPrompt
384
+ * @name UpdateAiPrompt
385
+ * @summary Update prompt
386
+ * @request PUT:/api/ai/admin/prompts/{id}
387
+ * @secure
388
+ * @response `200` `AiPrompt` OK
389
+ * @response `400` `ProblemDetails` Bad Request
390
+ * @response `404` `ProblemDetails` Not Found
391
+ */
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)),
393
+ /**
394
+ * No description
395
+ *
396
+ * @tags AiAdminPrompt
397
+ * @name DeleteAiPrompt
398
+ * @summary Delete prompt
399
+ * @request DELETE:/api/ai/admin/prompts/{id}
400
+ * @secure
401
+ * @response `204` `void` No Content
402
+ * @response `400` `ProblemDetails` Bad Request
403
+ * @response `404` `ProblemDetails` Not Found
404
+ */
405
+ deleteAiPrompt: (id, params = {}) => this.request(Object.assign({ path: `/api/ai/admin/prompts/${id}`, method: "DELETE", secure: true }, params)),
406
+ /**
407
+ * No description
408
+ *
409
+ * @tags AiAdminPrompt
410
+ * @name ToggleAiPrompt
411
+ * @summary Toggle prompt active/inactive
412
+ * @request PATCH:/api/ai/admin/prompts/{id}/toggle
413
+ * @secure
414
+ * @response `200` `AiPrompt` OK
415
+ * @response `404` `ProblemDetails` Not Found
416
+ */
417
+ toggleAiPrompt: (id, params = {}) => this.request(Object.assign({ path: `/api/ai/admin/prompts/${id}/toggle`, method: "PATCH", secure: true, format: "json" }, params)),
418
+ /**
419
+ * No description
420
+ *
421
+ * @tags AiAdminPrompt
422
+ * @name GenerateAiSystemPrompt
423
+ * @summary Generate a system prompt from description
424
+ * @request POST:/api/ai/admin/prompts/generate
425
+ * @secure
426
+ * @response `200` `GenerateSystemPrompt` OK
427
+ * @response `400` `ProblemDetails` Bad Request
428
+ */
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)),
430
+ /**
431
+ * No description
432
+ *
433
+ * @tags AiAdminPrompt
434
+ * @name GetSupportedModels
435
+ * @summary Get supported LLM models
436
+ * @request GET:/api/ai/admin/prompts/supported-models
437
+ * @secure
438
+ * @response `200` `(SupportedModel)[]` OK
439
+ */
440
+ getSupportedModels: (params = {}) => this.request(Object.assign({ path: `/api/ai/admin/prompts/supported-models`, method: "GET", secure: true, format: "json" }, params)),
441
+ /**
442
+ * No description
443
+ *
444
+ * @tags AiAdminSettings
445
+ * @name GetAiAdminSettings
446
+ * @summary Get global AI settings
447
+ * @request GET:/api/ai/admin/settings
448
+ * @secure
449
+ * @response `200` `AiAdminSettings` OK
450
+ */
451
+ getAiAdminSettings: (params = {}) => this.request(Object.assign({ path: `/api/ai/admin/settings`, method: "GET", secure: true, format: "json" }, params)),
452
+ /**
453
+ * No description
454
+ *
455
+ * @tags AiAdminSettings
456
+ * @name UpdateAiAdminSettings
457
+ * @summary Update global AI settings
458
+ * @request PUT:/api/ai/admin/settings
459
+ * @secure
460
+ * @response `200` `AiAdminSettings` OK
461
+ * @response `400` `ProblemDetails` Bad Request
462
+ */
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)),
464
+ /**
465
+ * No description
466
+ *
467
+ * @tags AiCanonicalField
468
+ * @name GetAiCanonicalFields
469
+ * @summary Get all canonical fields
470
+ * @request GET:/api/ai/admin/fields
471
+ * @secure
472
+ * @response `200` `(AiCanonicalField)[]` OK
473
+ */
474
+ getAiCanonicalFields: (params = {}) => this.request(Object.assign({ path: `/api/ai/admin/fields`, method: "GET", secure: true, format: "json" }, params)),
475
+ /**
476
+ * No description
477
+ *
478
+ * @tags AiCanonicalField
479
+ * @name CreateAiCanonicalField
480
+ * @summary Create canonical field
481
+ * @request POST:/api/ai/admin/fields
482
+ * @secure
483
+ * @response `201` `AiCanonicalField` Created
484
+ * @response `400` `ProblemDetails` Bad Request
485
+ */
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)),
487
+ /**
488
+ * No description
489
+ *
490
+ * @tags AiCanonicalField
491
+ * @name GetAiCanonicalField
492
+ * @summary Get canonical field by ID
493
+ * @request GET:/api/ai/admin/fields/{id}
494
+ * @secure
495
+ * @response `200` `AiCanonicalField` OK
496
+ * @response `404` `ProblemDetails` Not Found
497
+ */
498
+ getAiCanonicalField: (id, params = {}) => this.request(Object.assign({ path: `/api/ai/admin/fields/${id}`, method: "GET", secure: true, format: "json" }, params)),
499
+ /**
500
+ * No description
501
+ *
502
+ * @tags AiCanonicalField
503
+ * @name UpdateAiCanonicalField
504
+ * @summary Update canonical field
505
+ * @request PUT:/api/ai/admin/fields/{id}
506
+ * @secure
507
+ * @response `200` `AiCanonicalField` OK
508
+ * @response `400` `ProblemDetails` Bad Request
509
+ * @response `404` `ProblemDetails` Not Found
510
+ */
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)),
512
+ /**
513
+ * No description
514
+ *
515
+ * @tags AiCanonicalField
516
+ * @name DeleteAiCanonicalField
517
+ * @summary Delete canonical field
518
+ * @request DELETE:/api/ai/admin/fields/{id}
519
+ * @secure
520
+ * @response `204` `void` No Content
521
+ * @response `404` `ProblemDetails` Not Found
522
+ */
523
+ deleteAiCanonicalField: (id, params = {}) => this.request(Object.assign({ path: `/api/ai/admin/fields/${id}`, method: "DELETE", secure: true }, params)),
524
+ /**
525
+ * No description
526
+ *
527
+ * @tags AiCanonicalField
528
+ * @name ToggleAiCanonicalField
529
+ * @summary Toggle canonical field active/inactive
530
+ * @request PATCH:/api/ai/admin/fields/{id}/toggle
531
+ * @secure
532
+ * @response `200` `AiCanonicalField` OK
533
+ * @response `404` `ProblemDetails` Not Found
534
+ */
535
+ toggleAiCanonicalField: (id, params = {}) => this.request(Object.assign({ path: `/api/ai/admin/fields/${id}/toggle`, method: "PATCH", secure: true, format: "json" }, params)),
536
+ /**
537
+ * No description
538
+ *
539
+ * @tags AiChat
540
+ * @name AiChat
541
+ * @summary Send AI chat message
542
+ * @request POST:/api/ai/chat
543
+ * @secure
544
+ * @response `200` `AiChat` OK
545
+ * @response `400` `ProblemDetails` Bad Request
546
+ * @response `401` `ProblemDetails` Unauthorized
547
+ */
548
+ aiChat: (data, params = {}) => this.request(Object.assign({ path: `/api/ai/chat`, method: "POST", body: data, secure: true, type: ContentType.JsonPatch, format: "json" }, params)),
549
+ /**
550
+ * No description
551
+ *
552
+ * @tags AiConversation
553
+ * @name GetAiConversations
554
+ * @summary Get user conversations
555
+ * @request GET:/api/ai/conversations
556
+ * @secure
557
+ * @response `200` `AiConversationListItemPaginated` OK
558
+ */
559
+ getAiConversations: (query, params = {}) => this.request(Object.assign({ path: `/api/ai/conversations`, method: "GET", query: query, secure: true, format: "json" }, params)),
560
+ /**
561
+ * No description
562
+ *
563
+ * @tags AiConversation
564
+ * @name GetAiConversation
565
+ * @summary Get conversation metadata
566
+ * @request GET:/api/ai/conversations/{id}
567
+ * @secure
568
+ * @response `200` `AiConversationDetail` OK
569
+ * @response `403` `ProblemDetails` Forbidden
570
+ * @response `404` `ProblemDetails` Not Found
571
+ */
572
+ getAiConversation: (id, params = {}) => this.request(Object.assign({ path: `/api/ai/conversations/${id}`, method: "GET", secure: true, format: "json" }, params)),
573
+ /**
574
+ * No description
575
+ *
576
+ * @tags AiConversation
577
+ * @name RenameAiConversation
578
+ * @summary Rename conversation
579
+ * @request PATCH:/api/ai/conversations/{id}
580
+ * @secure
581
+ * @response `200` `AiConversationDetail` OK
582
+ * @response `400` `ProblemDetails` Bad Request
583
+ * @response `403` `ProblemDetails` Forbidden
584
+ * @response `404` `ProblemDetails` Not Found
585
+ */
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)),
587
+ /**
588
+ * No description
589
+ *
590
+ * @tags AiConversation
591
+ * @name DeleteAiConversation
592
+ * @summary Delete conversation
593
+ * @request DELETE:/api/ai/conversations/{id}
594
+ * @secure
595
+ * @response `204` `void` No Content
596
+ * @response `403` `ProblemDetails` Forbidden
597
+ * @response `404` `ProblemDetails` Not Found
598
+ */
599
+ deleteAiConversation: (id, params = {}) => this.request(Object.assign({ path: `/api/ai/conversations/${id}`, method: "DELETE", secure: true }, params)),
600
+ /**
601
+ * No description
602
+ *
603
+ * @tags AiConversation
604
+ * @name GetAiConversationMessages
605
+ * @summary Get conversation messages
606
+ * @request GET:/api/ai/conversations/{id}/messages
607
+ * @secure
608
+ * @response `200` `AiChatMessagePaginated` OK
609
+ * @response `403` `ProblemDetails` Forbidden
610
+ * @response `404` `ProblemDetails` Not Found
611
+ */
612
+ getAiConversationMessages: (id, query, params = {}) => this.request(Object.assign({ path: `/api/ai/conversations/${id}/messages`, method: "GET", query: query, secure: true, format: "json" }, params)),
613
+ /**
614
+ * No description
615
+ *
616
+ * @tags AiConversation
617
+ * @name ClearAiConversationHistory
618
+ * @summary Clear conversation history
619
+ * @request DELETE:/api/ai/conversations/{id}/messages
620
+ * @secure
621
+ * @response `204` `void` No Content
622
+ * @response `403` `ProblemDetails` Forbidden
623
+ * @response `404` `ProblemDetails` Not Found
624
+ */
625
+ clearAiConversationHistory: (id, params = {}) => this.request(Object.assign({ path: `/api/ai/conversations/${id}/messages`, method: "DELETE", secure: true }, params)),
626
+ /**
627
+ * No description
628
+ *
629
+ * @tags AiConversation
630
+ * @name PinAiConversation
631
+ * @summary Pin or unpin conversation
632
+ * @request PUT:/api/ai/conversations/{id}/pin
633
+ * @secure
634
+ * @response `200` `AiConversationDetail` OK
635
+ * @response `403` `ProblemDetails` Forbidden
636
+ * @response `404` `ProblemDetails` Not Found
637
+ */
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)),
639
+ /**
640
+ * No description
641
+ *
642
+ * @tags AiConversationAdmin
643
+ * @name GetAiAccountConversations
644
+ * @summary List AI conversations across the account, optionally filtered by user (admin supervision)
645
+ * @request GET:/api/ai/admin/conversations
646
+ * @secure
647
+ * @response `200` `AiConversationListItemPaginated` OK
648
+ */
649
+ getAiAccountConversations: (query, params = {}) => this.request(Object.assign({ path: `/api/ai/admin/conversations`, method: "GET", query: query, secure: true, format: "json" }, params)),
650
+ /**
651
+ * No description
652
+ *
653
+ * @tags AiConversationAdmin
654
+ * @name GetAiAccountConversation
655
+ * @summary Get an account conversation's detail (admin supervision)
656
+ * @request GET:/api/ai/admin/conversations/{id}
657
+ * @secure
658
+ * @response `200` `AiConversationDetail` OK
659
+ * @response `404` `ProblemDetails` Not Found
660
+ */
661
+ getAiAccountConversation: (id, params = {}) => this.request(Object.assign({ path: `/api/ai/admin/conversations/${id}`, method: "GET", secure: true, format: "json" }, params)),
662
+ /**
663
+ * No description
664
+ *
665
+ * @tags AiConversationAdmin
666
+ * @name GetAiAccountConversationMessages
667
+ * @summary Get an account conversation's messages (admin supervision)
668
+ * @request GET:/api/ai/admin/conversations/{id}/messages
669
+ * @secure
670
+ * @response `200` `AiChatMessagePaginated` OK
671
+ * @response `404` `ProblemDetails` Not Found
672
+ */
673
+ getAiAccountConversationMessages: (id, query, params = {}) => this.request(Object.assign({ path: `/api/ai/admin/conversations/${id}/messages`, method: "GET", query: query, secure: true, format: "json" }, params)),
674
+ /**
675
+ * No description
676
+ *
677
+ * @tags AiGuardrail
678
+ * @name GetAiGuardrails
679
+ * @summary Get all guardrails
680
+ * @request GET:/api/ai/admin/guardrails
681
+ * @secure
682
+ * @response `200` `(AiGuardrail)[]` OK
683
+ */
684
+ getAiGuardrails: (params = {}) => this.request(Object.assign({ path: `/api/ai/admin/guardrails`, method: "GET", secure: true, format: "json" }, params)),
685
+ /**
686
+ * No description
687
+ *
688
+ * @tags AiGuardrail
689
+ * @name CreateAiGuardrail
690
+ * @summary Create custom guardrail
691
+ * @request POST:/api/ai/admin/guardrails
692
+ * @secure
693
+ * @response `201` `AiGuardrail` Created
694
+ * @response `400` `ProblemDetails` Bad Request
695
+ */
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)),
697
+ /**
698
+ * No description
699
+ *
700
+ * @tags AiGuardrail
701
+ * @name GetAiGuardrail
702
+ * @summary Get guardrail by ID
703
+ * @request GET:/api/ai/admin/guardrails/{id}
704
+ * @secure
705
+ * @response `200` `AiGuardrail` OK
706
+ * @response `404` `ProblemDetails` Not Found
707
+ */
708
+ getAiGuardrail: (id, params = {}) => this.request(Object.assign({ path: `/api/ai/admin/guardrails/${id}`, method: "GET", secure: true, format: "json" }, params)),
709
+ /**
710
+ * No description
711
+ *
712
+ * @tags AiGuardrail
713
+ * @name UpdateAiGuardrail
714
+ * @summary Update guardrail
715
+ * @request PUT:/api/ai/admin/guardrails/{id}
716
+ * @secure
717
+ * @response `200` `AiGuardrail` OK
718
+ * @response `400` `ProblemDetails` Bad Request
719
+ * @response `404` `ProblemDetails` Not Found
720
+ */
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)),
722
+ /**
723
+ * No description
724
+ *
725
+ * @tags AiGuardrail
726
+ * @name DeleteAiGuardrail
727
+ * @summary Delete guardrail
728
+ * @request DELETE:/api/ai/admin/guardrails/{id}
729
+ * @secure
730
+ * @response `204` `void` No Content
731
+ * @response `400` `ProblemDetails` Bad Request
732
+ * @response `404` `ProblemDetails` Not Found
733
+ */
734
+ deleteAiGuardrail: (id, params = {}) => this.request(Object.assign({ path: `/api/ai/admin/guardrails/${id}`, method: "DELETE", secure: true }, params)),
735
+ /**
736
+ * No description
737
+ *
738
+ * @tags AiGuardrail
739
+ * @name ToggleAiGuardrail
740
+ * @summary Toggle guardrail enabled/disabled
741
+ * @request PATCH:/api/ai/admin/guardrails/{id}/toggle
742
+ * @secure
743
+ * @response `200` `AiGuardrail` OK
744
+ * @response `404` `ProblemDetails` Not Found
745
+ */
746
+ toggleAiGuardrail: (id, params = {}) => this.request(Object.assign({ path: `/api/ai/admin/guardrails/${id}/toggle`, method: "PATCH", secure: true, format: "json" }, params)),
747
+ /**
748
+ * No description
749
+ *
750
+ * @tags AiPrompt
751
+ * @name GetAvailablePrompts
752
+ * @summary Get available prompts for current user
753
+ * @request GET:/api/ai/prompts
754
+ * @secure
755
+ * @response `200` `(AiPromptSummary)[]` OK
756
+ */
757
+ getAvailablePrompts: (query, params = {}) => this.request(Object.assign({ path: `/api/ai/prompts`, method: "GET", query: query, secure: true, format: "json" }, params)),
758
+ /**
759
+ * No description
760
+ *
761
+ * @tags AiSuperAdmin
762
+ * @name GetAiAuditLogsCrossAccount
763
+ * @summary Get AI audit logs for a specific account or across all accounts
764
+ * @request GET:/api/ai/superadmin/audit-logs
765
+ * @secure
766
+ * @response `200` `AiAuditLogPaginated` OK
767
+ */
768
+ getAiAuditLogsCrossAccount: (query, params = {}) => this.request(Object.assign({ path: `/api/ai/superadmin/audit-logs`, method: "GET", query: query, secure: true, format: "json" }, params)),
769
+ /**
770
+ * No description
771
+ *
772
+ * @tags AiSuperAdmin
773
+ * @name GetAiRequestLifecycleCrossAccount
774
+ * @summary Get the full event lifecycle of a single AI request from any account
775
+ * @request GET:/api/ai/superadmin/audit-logs/request/{requestId}
776
+ * @secure
777
+ * @response `200` `(AiAuditLog)[]` OK
778
+ */
779
+ getAiRequestLifecycleCrossAccount: (requestId, query, params = {}) => this.request(Object.assign({ path: `/api/ai/superadmin/audit-logs/request/${requestId}`, method: "GET", query: query, secure: true, format: "json" }, params)),
780
+ /**
781
+ * No description
782
+ *
783
+ * @tags AiSuperAdmin
784
+ * @name GetAiStatsCrossAccount
785
+ * @summary Get AI stats for a specific account or platform-wide
786
+ * @request GET:/api/ai/superadmin/stats
787
+ * @secure
788
+ * @response `200` `AiAdminStats` OK
789
+ */
790
+ getAiStatsCrossAccount: (query, params = {}) => this.request(Object.assign({ path: `/api/ai/superadmin/stats`, method: "GET", query: query, secure: true, format: "json" }, params)),
791
+ /**
792
+ * No description
793
+ *
794
+ * @tags AiSuperAdmin
795
+ * @name GetAiConfigChangesCrossAccount
796
+ * @summary Get AI configuration change history for a specific account or across all accounts (incl. global defaults)
797
+ * @request GET:/api/ai/superadmin/config-changes
798
+ * @secure
799
+ * @response `200` `AiConfigChangeLogPaginated` OK
800
+ */
801
+ getAiConfigChangesCrossAccount: (query, params = {}) => this.request(Object.assign({ path: `/api/ai/superadmin/config-changes`, method: "GET", query: query, secure: true, format: "json" }, params)),
802
+ /**
803
+ * No description
804
+ *
805
+ * @tags AiTokenUsageAdmin
806
+ * @name SearchAiAccountTokenUsage
807
+ * @summary Search accounts by current-month AI token usage and classification
808
+ * @request POST:/api/ai/admin/token-usage/search
809
+ * @secure
810
+ * @response `200` `AiAccountUsageOverviewPaginated` OK
811
+ */
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)),
813
+ /**
814
+ * No description
815
+ *
816
+ * @tags AiTokenUsageAdmin
817
+ * @name GetAiAccountTokenUsage
818
+ * @summary Get an account's current-month AI token usage
819
+ * @request GET:/api/ai/admin/token-usage/{accountId}
820
+ * @secure
821
+ * @response `200` `AiTokenBudgetStatus` OK
822
+ */
823
+ getAiAccountTokenUsage: (accountId, params = {}) => this.request(Object.assign({ path: `/api/ai/admin/token-usage/${accountId}`, method: "GET", secure: true, format: "json" }, params)),
824
+ /**
825
+ * No description
826
+ *
827
+ * @tags AiTokenUsageAdmin
828
+ * @name GetAiAccountTokenUsageHistory
829
+ * @summary Get an account's monthly AI token usage history
830
+ * @request GET:/api/ai/admin/token-usage/{accountId}/history
831
+ * @secure
832
+ * @response `200` `AiTokenUsageWindowPaginated` OK
833
+ */
834
+ getAiAccountTokenUsageHistory: (accountId, query, params = {}) => this.request(Object.assign({ path: `/api/ai/admin/token-usage/${accountId}/history`, method: "GET", query: query, secure: true, format: "json" }, params)),
835
+ /**
836
+ * No description
837
+ *
838
+ * @tags AiTokenUsageAdmin
839
+ * @name SetAiAccountTokenLimit
840
+ * @summary Set or raise an account's monthly AI token limit
841
+ * @request PUT:/api/ai/admin/token-usage/{accountId}/limit
842
+ * @secure
843
+ * @response `200` `AiTokenBudgetStatus` OK
844
+ * @response `400` `ProblemDetails` Bad Request
845
+ */
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)),
847
+ /**
848
+ * No description
849
+ *
850
+ * @tags AiUrlSource
851
+ * @name GetAiUrlSources
852
+ * @summary Get all URL sources
853
+ * @request GET:/api/ai/admin/url-sources
854
+ * @secure
855
+ * @response `200` `(AiUrlSource)[]` OK
856
+ */
857
+ getAiUrlSources: (params = {}) => this.request(Object.assign({ path: `/api/ai/admin/url-sources`, method: "GET", secure: true, format: "json" }, params)),
858
+ /**
859
+ * No description
860
+ *
861
+ * @tags AiUrlSource
862
+ * @name CreateAiUrlSource
863
+ * @summary Create URL source
864
+ * @request POST:/api/ai/admin/url-sources
865
+ * @secure
866
+ * @response `201` `AiUrlSource` Created
867
+ * @response `400` `ProblemDetails` Bad Request
868
+ * @response `409` `ProblemDetails` Conflict
869
+ */
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)),
871
+ /**
872
+ * No description
873
+ *
874
+ * @tags AiUrlSource
875
+ * @name GetAiUrlSource
876
+ * @summary Get URL source by ID
877
+ * @request GET:/api/ai/admin/url-sources/{id}
878
+ * @secure
879
+ * @response `200` `AiUrlSource` OK
880
+ * @response `404` `ProblemDetails` Not Found
881
+ */
882
+ getAiUrlSource: (id, params = {}) => this.request(Object.assign({ path: `/api/ai/admin/url-sources/${id}`, method: "GET", secure: true, format: "json" }, params)),
883
+ /**
884
+ * No description
885
+ *
886
+ * @tags AiUrlSource
887
+ * @name UpdateAiUrlSource
888
+ * @summary Update URL source
889
+ * @request PUT:/api/ai/admin/url-sources/{id}
890
+ * @secure
891
+ * @response `200` `AiUrlSource` OK
892
+ * @response `400` `ProblemDetails` Bad Request
893
+ * @response `404` `ProblemDetails` Not Found
894
+ * @response `409` `ProblemDetails` Conflict
895
+ */
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)),
897
+ /**
898
+ * No description
899
+ *
900
+ * @tags AiUrlSource
901
+ * @name DeleteAiUrlSource
902
+ * @summary Delete URL source
903
+ * @request DELETE:/api/ai/admin/url-sources/{id}
904
+ * @secure
905
+ * @response `204` `void` No Content
906
+ * @response `404` `ProblemDetails` Not Found
907
+ */
908
+ deleteAiUrlSource: (id, params = {}) => this.request(Object.assign({ path: `/api/ai/admin/url-sources/${id}`, method: "DELETE", secure: true }, params)),
909
+ /**
910
+ * No description
911
+ *
912
+ * @tags AiUrlSource
913
+ * @name ToggleAiUrlSource
914
+ * @summary Toggle URL source active/inactive
915
+ * @request PATCH:/api/ai/admin/url-sources/{id}/toggle
916
+ * @secure
917
+ * @response `200` `AiUrlSource` OK
918
+ * @response `404` `ProblemDetails` Not Found
919
+ */
920
+ toggleAiUrlSource: (id, params = {}) => this.request(Object.assign({ path: `/api/ai/admin/url-sources/${id}/toggle`, method: "PATCH", secure: true, format: "json" }, params)),
921
+ /**
922
+ * No description
923
+ *
924
+ * @tags AiUsage
925
+ * @name GetAiUsage
926
+ * @summary Get the current account's AI token usage for the active monthly window
927
+ * @request GET:/api/ai/usage
928
+ * @secure
929
+ * @response `200` `AiTokenBudgetStatus` OK
930
+ */
931
+ getAiUsage: (params = {}) => this.request(Object.assign({ path: `/api/ai/usage`, method: "GET", secure: true, format: "json" }, params)),
932
+ /**
933
+ * No description
934
+ *
935
+ * @tags AiUsage
936
+ * @name GetAiUsageHistory
937
+ * @summary Get the current account's monthly AI token usage history
938
+ * @request GET:/api/ai/usage/history
939
+ * @secure
940
+ * @response `200` `AiTokenUsageWindowPaginated` OK
941
+ */
942
+ getAiUsageHistory: (query, params = {}) => this.request(Object.assign({ path: `/api/ai/usage/history`, method: "GET", query: query, secure: true, format: "json" }, params)),
258
943
  /**
259
944
  * No description
260
945
  *
@@ -265,7 +950,7 @@ export class Api extends HttpClient {
265
950
  * @secure
266
951
  * @response `200` `AuditLogEntryPaginated` OK
267
952
  */
268
- 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)),
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)),
269
954
  /**
270
955
  * No description
271
956
  *
@@ -301,7 +986,7 @@ export class Api extends HttpClient {
301
986
  * @response `401` `ProblemDetails` Unauthorized
302
987
  * @response `422` `UnprocessableEntity` Unprocessable Content
303
988
  */
304
- getTokenFromRefreshToken: (data, params = {}) => this.request(Object.assign({ path: `/api/refresh-token`, method: "POST", body: data, secure: true, type: "application/json", format: "json" }, params)),
989
+ getTokenFromRefreshToken: (data, params = {}) => this.request(Object.assign({ path: `/api/refresh-token`, method: "POST", body: data, secure: true, type: ContentType.Json, format: "json" }, params)),
305
990
  /**
306
991
  * No description
307
992
  *
@@ -313,7 +998,7 @@ export class Api extends HttpClient {
313
998
  * @response `200` `AccountDeactivated` OK
314
999
  * @response `422` `UnprocessableEntity` Unprocessable Content
315
1000
  */
316
- getToken: (data, params = {}) => this.request(Object.assign({ path: `/api/token`, method: "POST", body: data, secure: true, type: "application/json", format: "json" }, params)),
1001
+ getToken: (data, params = {}) => this.request(Object.assign({ path: `/api/token`, method: "POST", body: data, secure: true, type: ContentType.Json, format: "json" }, params)),
317
1002
  /**
318
1003
  * No description
319
1004
  *
@@ -325,7 +1010,7 @@ export class Api extends HttpClient {
325
1010
  * @response `200` `AccountDeactivated` OK
326
1011
  * @response `422` `UnprocessableEntity` Unprocessable Content
327
1012
  */
328
- getTokenFromChallengeCode: (data, params = {}) => this.request(Object.assign({ path: `/api/token/code`, method: "POST", body: data, secure: true, type: "application/json", format: "json" }, params)),
1013
+ getTokenFromChallengeCode: (data, params = {}) => this.request(Object.assign({ path: `/api/token/code`, method: "POST", body: data, secure: true, type: ContentType.Json, format: "json" }, params)),
329
1014
  /**
330
1015
  * No description
331
1016
  *
@@ -337,7 +1022,7 @@ export class Api extends HttpClient {
337
1022
  * @response `200` `Token` OK
338
1023
  * @response `422` `UnprocessableEntity` Unprocessable Content
339
1024
  */
340
- getSystemToken: (data, params = {}) => this.request(Object.assign({ path: `/api/oauth2/token`, method: "POST", body: data, secure: true, type: "application/json", format: "json" }, params)),
1025
+ getSystemToken: (data, params = {}) => this.request(Object.assign({ path: `/api/oauth2/token`, method: "POST", body: data, secure: true, type: ContentType.Json, format: "json" }, params)),
341
1026
  /**
342
1027
  * No description
343
1028
  *
@@ -349,7 +1034,7 @@ export class Api extends HttpClient {
349
1034
  * @response `200` `SSOToken` OK
350
1035
  * @response `422` `UnprocessableEntity` Unprocessable Content
351
1036
  */
352
- getSsoToken: (data, params = {}) => this.request(Object.assign({ path: `/api/token/sso`, method: "POST", body: data, secure: true, type: "application/json", format: "json" }, params)),
1037
+ getSsoToken: (data, params = {}) => this.request(Object.assign({ path: `/api/token/sso`, method: "POST", body: data, secure: true, type: ContentType.Json, format: "json" }, params)),
353
1038
  /**
354
1039
  * No description
355
1040
  *
@@ -384,7 +1069,7 @@ export class Api extends HttpClient {
384
1069
  * @response `200` `GetBranch` OK
385
1070
  * @response `422` `UnprocessableEntity` Unprocessable Content
386
1071
  */
387
- createBranch: (data, params = {}) => this.request(Object.assign({ path: `/api/branches`, method: "POST", body: data, secure: true, type: "application/json", format: "json" }, params)),
1072
+ createBranch: (data, params = {}) => this.request(Object.assign({ path: `/api/branches`, method: "POST", body: data, secure: true, type: ContentType.Json, format: "json" }, params)),
388
1073
  /**
389
1074
  * No description
390
1075
  *
@@ -395,7 +1080,7 @@ export class Api extends HttpClient {
395
1080
  * @secure
396
1081
  * @response `200` `GetBranchPaginated` OK
397
1082
  */
398
- 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)),
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)),
399
1084
  /**
400
1085
  * No description
401
1086
  *
@@ -418,7 +1103,7 @@ export class Api extends HttpClient {
418
1103
  * @response `200` `GetBranch` OK
419
1104
  * @response `422` `UnprocessableEntity` Unprocessable Content
420
1105
  */
421
- replaceBranch: (branchId, data, params = {}) => this.request(Object.assign({ path: `/api/branches/${branchId}`, method: "PUT", body: data, secure: true, type: "application/json", format: "json" }, params)),
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)),
422
1107
  /**
423
1108
  * No description
424
1109
  *
@@ -453,7 +1138,7 @@ export class Api extends HttpClient {
453
1138
  * @response `200` `SiteConfiguration` OK
454
1139
  * @response `422` `UnprocessableEntity` Unprocessable Content
455
1140
  */
456
- 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)),
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)),
457
1142
  /**
458
1143
  * No description
459
1144
  *
@@ -476,7 +1161,7 @@ export class Api extends HttpClient {
476
1161
  * @response `200` `SiteConfiguration` OK
477
1162
  * @response `422` `UnprocessableEntity` Unprocessable Content
478
1163
  */
479
- 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)),
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)),
480
1165
  /**
481
1166
  * No description
482
1167
  *
@@ -510,7 +1195,7 @@ export class Api extends HttpClient {
510
1195
  * @response `200` `BusinessRule` OK
511
1196
  * @response `422` `UnprocessableEntity` Unprocessable Content
512
1197
  */
513
- createBusinessRule: (data, params = {}) => this.request(Object.assign({ path: `/api/business-rules`, method: "POST", body: data, secure: true, type: "application/json", format: "json" }, params)),
1198
+ createBusinessRule: (data, params = {}) => this.request(Object.assign({ path: `/api/business-rules`, method: "POST", body: data, secure: true, type: ContentType.Json, format: "json" }, params)),
514
1199
  /**
515
1200
  * No description
516
1201
  *
@@ -533,7 +1218,7 @@ export class Api extends HttpClient {
533
1218
  * @response `200` `BusinessRule` OK
534
1219
  * @response `422` `UnprocessableEntity` Unprocessable Content
535
1220
  */
536
- 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)),
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)),
537
1222
  /**
538
1223
  * No description
539
1224
  *
@@ -566,7 +1251,7 @@ export class Api extends HttpClient {
566
1251
  * @secure
567
1252
  * @response `200` `ClosedLoansReport` OK
568
1253
  */
569
- 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)),
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)),
570
1255
  /**
571
1256
  * No description
572
1257
  *
@@ -611,7 +1296,7 @@ export class Api extends HttpClient {
611
1296
  * @response `200` `Corporate` OK
612
1297
  * @response `422` `UnprocessableEntity` Unprocessable Content
613
1298
  */
614
- createCorporate: (data, params = {}) => this.request(Object.assign({ path: `/api/corporates`, method: "POST", body: data, secure: true, type: "application/json", format: "json" }, params)),
1299
+ createCorporate: (data, params = {}) => this.request(Object.assign({ path: `/api/corporates`, method: "POST", body: data, secure: true, type: ContentType.Json, format: "json" }, params)),
615
1300
  /**
616
1301
  * No description
617
1302
  *
@@ -622,7 +1307,7 @@ export class Api extends HttpClient {
622
1307
  * @secure
623
1308
  * @response `200` `CorporatePaginated` OK
624
1309
  */
625
- 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)),
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)),
626
1311
  /**
627
1312
  * No description
628
1313
  *
@@ -645,7 +1330,7 @@ export class Api extends HttpClient {
645
1330
  * @response `200` `Corporate` OK
646
1331
  * @response `422` `UnprocessableEntity` Unprocessable Content
647
1332
  */
648
- replaceCorporate: (id, data, params = {}) => this.request(Object.assign({ path: `/api/corporates/${id}`, method: "PUT", body: data, secure: true, type: "application/json", format: "json" }, params)),
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)),
649
1334
  /**
650
1335
  * No description
651
1336
  *
@@ -679,7 +1364,7 @@ export class Api extends HttpClient {
679
1364
  * @response `200` `SiteConfiguration` OK
680
1365
  * @response `422` `UnprocessableEntity` Unprocessable Content
681
1366
  */
682
- 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)),
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)),
683
1368
  /**
684
1369
  * No description
685
1370
  *
@@ -702,7 +1387,7 @@ export class Api extends HttpClient {
702
1387
  * @response `200` `SiteConfiguration` OK
703
1388
  * @response `422` `UnprocessableEntity` Unprocessable Content
704
1389
  */
705
- 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)),
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)),
706
1391
  /**
707
1392
  * No description
708
1393
  *
@@ -748,7 +1433,7 @@ export class Api extends HttpClient {
748
1433
  * @response `409` `ProblemDetails` Conflict
749
1434
  * @response `422` `ProblemDetails` Unprocessable Content
750
1435
  */
751
- createCustomFieldDefinition: (data, params = {}) => this.request(Object.assign({ path: `/api/custom-field-definitions`, method: "POST", body: data, secure: true, type: "application/json", format: "json" }, params)),
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)),
752
1437
  /**
753
1438
  * No description
754
1439
  *
@@ -775,7 +1460,7 @@ export class Api extends HttpClient {
775
1460
  * @response `409` `ProblemDetails` Conflict
776
1461
  * @response `422` `ProblemDetails` Unprocessable Content
777
1462
  */
778
- 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)),
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)),
779
1464
  /**
780
1465
  * No description
781
1466
  *
@@ -845,7 +1530,7 @@ export class Api extends HttpClient {
845
1530
  * @secure
846
1531
  * @response `200` `Device` OK
847
1532
  */
848
- updateDevice: (id, data, params = {}) => this.request(Object.assign({ path: `/api/devices/${id}`, method: "PUT", body: data, secure: true, type: "application/json", format: "json" }, params)),
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)),
849
1534
  /**
850
1535
  * No description
851
1536
  *
@@ -902,7 +1587,7 @@ export class Api extends HttpClient {
902
1587
  * @response `404` `ProblemDetails` Not Found
903
1588
  * @response `422` `UnprocessableEntity` Unprocessable Content
904
1589
  */
905
- createDocumentTemplate: (data, params = {}) => this.request(Object.assign({ path: `/api/document-templates`, method: "POST", body: data, secure: true, type: "application/json", format: "json" }, params)),
1590
+ createDocumentTemplate: (data, params = {}) => this.request(Object.assign({ path: `/api/document-templates`, method: "POST", body: data, secure: true, type: ContentType.Json, format: "json" }, params)),
906
1591
  /**
907
1592
  * No description
908
1593
  *
@@ -939,7 +1624,7 @@ export class Api extends HttpClient {
939
1624
  * @response `404` `ProblemDetails` Not Found
940
1625
  * @response `422` `UnprocessableEntity` Unprocessable Content
941
1626
  */
942
- 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)),
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)),
943
1628
  /**
944
1629
  * No description
945
1630
  *
@@ -987,7 +1672,7 @@ export class Api extends HttpClient {
987
1672
  * @secure
988
1673
  * @response `200` `DocumentTemplateVersion` OK
989
1674
  */
990
- 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)),
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)),
991
1676
  /**
992
1677
  * No description
993
1678
  *
@@ -1009,7 +1694,7 @@ export class Api extends HttpClient {
1009
1694
  * @secure
1010
1695
  * @response `200` `DocumentTemplateVersion` OK
1011
1696
  */
1012
- 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)),
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)),
1013
1698
  /**
1014
1699
  * No description
1015
1700
  *
@@ -1047,7 +1732,7 @@ export class Api extends HttpClient {
1047
1732
  * @response `409` `void` Conflict
1048
1733
  * @response `422` `ProblemDetails` Unprocessable Content
1049
1734
  */
1050
- 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)),
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)),
1051
1736
  /**
1052
1737
  * No description
1053
1738
  *
@@ -1136,7 +1821,7 @@ export class Api extends HttpClient {
1136
1821
  * @response `404` `EncompassError` Not Found
1137
1822
  * @response `500` `EncompassError` Internal Server Error
1138
1823
  */
1139
- 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)),
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)),
1140
1825
  /**
1141
1826
  * No description
1142
1827
  *
@@ -1159,7 +1844,7 @@ export class Api extends HttpClient {
1159
1844
  * @response `201` `File` Created
1160
1845
  * @response `422` `UnprocessableEntity` Unprocessable Content
1161
1846
  */
1162
- uploadFile: (data, params = {}) => this.request(Object.assign({ path: `/api/files`, method: "POST", body: data, secure: true, type: "multipart/form-data", format: "json" }, params)),
1847
+ uploadFile: (data, params = {}) => this.request(Object.assign({ path: `/api/files`, method: "POST", body: data, secure: true, type: ContentType.FormData, format: "json" }, params)),
1163
1848
  /**
1164
1849
  * No description
1165
1850
  *
@@ -1182,7 +1867,7 @@ export class Api extends HttpClient {
1182
1867
  * @response `200` `string` OK
1183
1868
  * @response `422` `UnprocessableEntity` Unprocessable Content
1184
1869
  */
1185
- replaceFile: (id, data, params = {}) => this.request(Object.assign({ path: `/api/files/${id}`, method: "PUT", body: data, secure: true, type: "application/json", format: "json" }, params)),
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)),
1186
1871
  /**
1187
1872
  * No description
1188
1873
  *
@@ -1204,7 +1889,7 @@ export class Api extends HttpClient {
1204
1889
  * @secure
1205
1890
  * @response `200` `FilePaginated` OK
1206
1891
  */
1207
- 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)),
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)),
1208
1893
  /**
1209
1894
  * No description
1210
1895
  *
@@ -1227,7 +1912,7 @@ export class Api extends HttpClient {
1227
1912
  * @response `201` `Form` Created
1228
1913
  * @response `422` `UnprocessableEntity` Unprocessable Content
1229
1914
  */
1230
- createForm: (data, params = {}) => this.request(Object.assign({ path: `/api/forms`, method: "POST", body: data, secure: true, type: "application/json", format: "json" }, params)),
1915
+ createForm: (data, params = {}) => this.request(Object.assign({ path: `/api/forms`, method: "POST", body: data, secure: true, type: ContentType.Json, format: "json" }, params)),
1231
1916
  /**
1232
1917
  * No description
1233
1918
  *
@@ -1250,7 +1935,7 @@ export class Api extends HttpClient {
1250
1935
  * @response `200` `Form` OK
1251
1936
  * @response `422` `UnprocessableEntity` Unprocessable Content
1252
1937
  */
1253
- replaceForm: (id, data, params = {}) => this.request(Object.assign({ path: `/api/forms/${id}`, method: "PUT", body: data, secure: true, type: "application/json", format: "json" }, params)),
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)),
1254
1939
  /**
1255
1940
  * No description
1256
1941
  *
@@ -1283,7 +1968,7 @@ export class Api extends HttpClient {
1283
1968
  * @secure
1284
1969
  * @response `200` `FormSubmissionFile` OK
1285
1970
  */
1286
- 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)),
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)),
1287
1972
  /**
1288
1973
  * No description
1289
1974
  *
@@ -1327,7 +2012,7 @@ export class Api extends HttpClient {
1327
2012
  * @secure
1328
2013
  * @response `201` `FormSubmission` Created
1329
2014
  */
1330
- 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)),
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)),
1331
2016
  /**
1332
2017
  * No description
1333
2018
  *
@@ -1349,7 +2034,7 @@ export class Api extends HttpClient {
1349
2034
  * @secure
1350
2035
  * @response `200` `FormSubmission` OK
1351
2036
  */
1352
- 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)),
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)),
1353
2038
  /**
1354
2039
  * No description
1355
2040
  *
@@ -1371,7 +2056,7 @@ export class Api extends HttpClient {
1371
2056
  * @secure
1372
2057
  * @response `200` `FormSubmissionPaginated` OK
1373
2058
  */
1374
- 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)),
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)),
1375
2060
  /**
1376
2061
  * No description
1377
2062
  *
@@ -1393,7 +2078,7 @@ export class Api extends HttpClient {
1393
2078
  * @secure
1394
2079
  * @response `200` `FormVersion` OK
1395
2080
  */
1396
- 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)),
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)),
1397
2082
  /**
1398
2083
  * No description
1399
2084
  *
@@ -1415,7 +2100,7 @@ export class Api extends HttpClient {
1415
2100
  * @secure
1416
2101
  * @response `200` `FormVersion` OK
1417
2102
  */
1418
- 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)),
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)),
1419
2104
  /**
1420
2105
  * No description
1421
2106
  *
@@ -1461,7 +2146,7 @@ export class Api extends HttpClient {
1461
2146
  * @response `200` `string` OK
1462
2147
  * @response `422` `UnprocessableEntity` Unprocessable Content
1463
2148
  */
1464
- 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)),
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)),
1465
2150
  /**
1466
2151
  * No description
1467
2152
  *
@@ -1472,7 +2157,7 @@ export class Api extends HttpClient {
1472
2157
  * @secure
1473
2158
  * @response `200` `GetReport` OK
1474
2159
  */
1475
- getLoansReport: (data, params = {}) => this.request(Object.assign({ path: `/api/los/loan/reports`, method: "POST", body: data, secure: true, type: "application/json", format: "json" }, params)),
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)),
1476
2161
  /**
1477
2162
  * No description
1478
2163
  *
@@ -1486,7 +2171,7 @@ export class Api extends HttpClient {
1486
2171
  * @response `422` `UnprocessableEntity` Unprocessable Content
1487
2172
  * @response `423` `UnprocessableEntity` Locked
1488
2173
  */
1489
- 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)),
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)),
1490
2175
  /**
1491
2176
  * No description
1492
2177
  *
@@ -1499,7 +2184,7 @@ export class Api extends HttpClient {
1499
2184
  * @response `422` `UnprocessableEntity` Unprocessable Content
1500
2185
  * @response `423` `UnprocessableEntity` Locked
1501
2186
  */
1502
- 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)),
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)),
1503
2188
  /**
1504
2189
  * No description
1505
2190
  *
@@ -1511,7 +2196,7 @@ export class Api extends HttpClient {
1511
2196
  * @response `200` `string` OK
1512
2197
  * @response `422` `UnprocessableEntity` Unprocessable Content
1513
2198
  */
1514
- 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)),
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)),
1515
2200
  /**
1516
2201
  * No description
1517
2202
  *
@@ -1524,7 +2209,7 @@ export class Api extends HttpClient {
1524
2209
  * @response `202` `string` Accepted
1525
2210
  * @response `422` `UnprocessableEntity` Unprocessable Content
1526
2211
  */
1527
- 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)),
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)),
1528
2213
  /**
1529
2214
  * No description
1530
2215
  *
@@ -1602,7 +2287,7 @@ export class Api extends HttpClient {
1602
2287
  * @secure
1603
2288
  * @response `200` `DocumentDataRequest` OK
1604
2289
  */
1605
- createLegacyLoanDocument: (data, params = {}) => this.request(Object.assign({ path: `/api/los/loan/generatedocument`, method: "POST", body: data, secure: true, type: "application/json", format: "json" }, params)),
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)),
1606
2291
  /**
1607
2292
  * No description
1608
2293
  *
@@ -1627,7 +2312,7 @@ export class Api extends HttpClient {
1627
2312
  * @secure
1628
2313
  * @response `200` `ListingFile` OK
1629
2314
  */
1630
- 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)),
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)),
1631
2316
  /**
1632
2317
  * No description
1633
2318
  *
@@ -1638,7 +2323,7 @@ export class Api extends HttpClient {
1638
2323
  * @secure
1639
2324
  * @response `200` `ListingFile` OK
1640
2325
  */
1641
- 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)),
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)),
1642
2327
  /**
1643
2328
  * No description
1644
2329
  *
@@ -1660,7 +2345,7 @@ export class Api extends HttpClient {
1660
2345
  * @secure
1661
2346
  * @response `200` `ListingPhoto` OK
1662
2347
  */
1663
- 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)),
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)),
1664
2349
  /**
1665
2350
  * No description
1666
2351
  *
@@ -1671,7 +2356,7 @@ export class Api extends HttpClient {
1671
2356
  * @secure
1672
2357
  * @response `200` `(ListingPhoto)[]` OK
1673
2358
  */
1674
- 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)),
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)),
1675
2360
  /**
1676
2361
  * No description
1677
2362
  *
@@ -1704,7 +2389,7 @@ export class Api extends HttpClient {
1704
2389
  * @secure
1705
2390
  * @response `201` `Listing` Created
1706
2391
  */
1707
- createListing: (data, params = {}) => this.request(Object.assign({ path: `/api/listings`, method: "POST", body: data, secure: true, type: "application/json", format: "json" }, params)),
2392
+ createListing: (data, params = {}) => this.request(Object.assign({ path: `/api/listings`, method: "POST", body: data, secure: true, type: ContentType.Json, format: "json" }, params)),
1708
2393
  /**
1709
2394
  * No description
1710
2395
  *
@@ -1737,7 +2422,7 @@ export class Api extends HttpClient {
1737
2422
  * @secure
1738
2423
  * @response `200` `Listing` OK
1739
2424
  */
1740
- replaceListing: (id, data, params = {}) => this.request(Object.assign({ path: `/api/listings/${id}`, method: "PUT", body: data, secure: true, type: "application/json", format: "json" }, params)),
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)),
1741
2426
  /**
1742
2427
  * No description
1743
2428
  *
@@ -1759,7 +2444,7 @@ export class Api extends HttpClient {
1759
2444
  * @secure
1760
2445
  * @response `200` `ListingPaginated` OK
1761
2446
  */
1762
- 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)),
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)),
1763
2448
  /**
1764
2449
  * No description
1765
2450
  *
@@ -1770,7 +2455,7 @@ export class Api extends HttpClient {
1770
2455
  * @secure
1771
2456
  * @response `200` `File` OK
1772
2457
  */
1773
- 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)),
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)),
1774
2459
  /**
1775
2460
  * No description
1776
2461
  *
@@ -1816,7 +2501,7 @@ export class Api extends HttpClient {
1816
2501
  * @response `422` `UnprocessableEntity` Unprocessable Content
1817
2502
  * @response `423` `UnprocessableEntity` Locked
1818
2503
  */
1819
- 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)),
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)),
1820
2505
  /**
1821
2506
  * No description
1822
2507
  *
@@ -1840,7 +2525,7 @@ export class Api extends HttpClient {
1840
2525
  * @response `422` `UnprocessableEntity` Unprocessable Content
1841
2526
  * @response `423` `UnprocessableEntity` Locked
1842
2527
  */
1843
- 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)),
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)),
1844
2529
  /**
1845
2530
  * No description
1846
2531
  *
@@ -1863,7 +2548,7 @@ export class Api extends HttpClient {
1863
2548
  * @response `204` `void` No Content
1864
2549
  * @response `422` `UnprocessableEntity` Unprocessable Content
1865
2550
  */
1866
- 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)),
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)),
1867
2552
  /**
1868
2553
  * No description
1869
2554
  *
@@ -1900,7 +2585,7 @@ export class Api extends HttpClient {
1900
2585
  * @response `400` `ProblemDetails` Bad Request
1901
2586
  * @response `422` `ProblemDetails` Unprocessable Content
1902
2587
  */
1903
- bulkSetLoanCustomFieldValues: (loanId, data, params = {}) => this.request(Object.assign({ path: `/api/loans/${loanId}/custom-fields`, method: "PUT", body: data, secure: true, type: "application/json" }, params)),
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)),
1904
2589
  /**
1905
2590
  * No description
1906
2591
  *
@@ -1914,7 +2599,7 @@ export class Api extends HttpClient {
1914
2599
  * @response `404` `ProblemDetails` Not Found
1915
2600
  * @response `422` `ProblemDetails` Unprocessable Content
1916
2601
  */
1917
- 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)),
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)),
1918
2603
  /**
1919
2604
  * No description
1920
2605
  *
@@ -1948,7 +2633,7 @@ export class Api extends HttpClient {
1948
2633
  * @secure
1949
2634
  * @response `201` `(string)[]` Created
1950
2635
  */
1951
- 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)),
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)),
1952
2637
  /**
1953
2638
  * No description
1954
2639
  *
@@ -1972,7 +2657,7 @@ export class Api extends HttpClient {
1972
2657
  * @response `409` `ProblemDetails` Conflict
1973
2658
  * @response `422` `ProblemDetails` Unprocessable Content
1974
2659
  */
1975
- createLoanDocumentFolder: (data, params = {}) => this.request(Object.assign({ path: `/api/loan-document-folders`, method: "POST", body: data, secure: true, type: "application/json", format: "json" }, params)),
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)),
1976
2661
  /**
1977
2662
  * No description
1978
2663
  *
@@ -1999,7 +2684,7 @@ export class Api extends HttpClient {
1999
2684
  * @response `409` `ProblemDetails` Conflict
2000
2685
  * @response `422` `ProblemDetails` Unprocessable Content
2001
2686
  */
2002
- 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)),
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)),
2003
2688
  /**
2004
2689
  * No description
2005
2690
  *
@@ -2074,7 +2759,7 @@ export class Api extends HttpClient {
2074
2759
  * @response `200` `Record<string,string>` OK
2075
2760
  * @response `400` `ProblemDetails` Bad Request
2076
2761
  */
2077
- 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)),
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)),
2078
2763
  /**
2079
2764
  * No description
2080
2765
  *
@@ -2085,7 +2770,7 @@ export class Api extends HttpClient {
2085
2770
  * @secure
2086
2771
  * @response `200` `LoanDocumentSearchPaginated` OK
2087
2772
  */
2088
- 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)),
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)),
2089
2774
  /**
2090
2775
  * @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).
2091
2776
  *
@@ -2096,7 +2781,7 @@ export class Api extends HttpClient {
2096
2781
  * @secure
2097
2782
  * @response `200` `(DocumentFolder)[]` OK
2098
2783
  */
2099
- 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)),
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)),
2100
2785
  /**
2101
2786
  * No description
2102
2787
  *
@@ -2105,7 +2790,7 @@ export class Api extends HttpClient {
2105
2790
  * @summary Download By ID
2106
2791
  * @request GET:/api/loans/{loanId}/documents/{documentId}/download
2107
2792
  * @secure
2108
- * @response `200` `Blob` OK
2793
+ * @response `200` `string` OK
2109
2794
  * @response `404` `ProblemDetails` Not Found
2110
2795
  */
2111
2796
  downloadLoanDocument: (loanId, documentId, params = {}) => this.request(Object.assign({ path: `/api/loans/${loanId}/documents/${documentId}/download`, method: "GET", secure: true, format: "json" }, params)),
@@ -2121,7 +2806,7 @@ export class Api extends HttpClient {
2121
2806
  * @response `404` `ProblemDetails` Not Found
2122
2807
  * @response `422` `UnprocessableEntity` Unprocessable Content
2123
2808
  */
2124
- 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)),
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)),
2125
2810
  /**
2126
2811
  * No description
2127
2812
  *
@@ -2145,7 +2830,7 @@ export class Api extends HttpClient {
2145
2830
  * @secure
2146
2831
  * @response `200` `DocumentDataRequest` OK
2147
2832
  */
2148
- 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)),
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)),
2149
2834
  /**
2150
2835
  * No description
2151
2836
  *
@@ -2158,7 +2843,7 @@ export class Api extends HttpClient {
2158
2843
  * @response `400` `ProblemDetails` Bad Request
2159
2844
  * @response `404` `ProblemDetails` Not Found
2160
2845
  */
2161
- sendLoanDocuments: (loanId, data, params = {}) => this.request(Object.assign({ path: `/api/loans/${loanId}/documents/distribute`, method: "POST", body: data, secure: true, type: "application/json" }, params)),
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)),
2162
2847
  /**
2163
2848
  * @description Fetches all documents from Encompass that don't exist locally and stores them in S3
2164
2849
  *
@@ -2171,6 +2856,19 @@ export class Api extends HttpClient {
2171
2856
  * @response `404` `ProblemDetails` Not Found
2172
2857
  */
2173
2858
  syncLoanDocumentsFromLos: (loanId, params = {}) => this.request(Object.assign({ path: `/api/loans/${loanId}/documents/sync`, method: "POST", secure: true, format: "json" }, params)),
2859
+ /**
2860
+ * No description
2861
+ *
2862
+ * @tags LoanDocuments
2863
+ * @name ClassifyLoanDocumentManually
2864
+ * @summary Manually classify a loan document
2865
+ * @request POST:/api/loans/{loanId}/documents/{documentId}/classify-manual
2866
+ * @secure
2867
+ * @response `200` `LoanDocument` OK
2868
+ * @response `404` `ProblemDetails` Not Found
2869
+ * @response `422` `UnprocessableEntity` Unprocessable Content
2870
+ */
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)),
2174
2872
  /**
2175
2873
  * @description Re-attempts to push a failed document to LOS
2176
2874
  *
@@ -2194,7 +2892,7 @@ export class Api extends HttpClient {
2194
2892
  * @secure
2195
2893
  * @response `201` `Draft` Created
2196
2894
  */
2197
- createLoanDraft: (data, params = {}) => this.request(Object.assign({ path: `/api/loans/drafts`, method: "POST", body: data, secure: true, type: "application/json", format: "json" }, params)),
2895
+ createLoanDraft: (data, params = {}) => this.request(Object.assign({ path: `/api/loans/drafts`, method: "POST", body: data, secure: true, type: ContentType.Json, format: "json" }, params)),
2198
2896
  /**
2199
2897
  * No description
2200
2898
  *
@@ -2227,7 +2925,7 @@ export class Api extends HttpClient {
2227
2925
  * @secure
2228
2926
  * @response `200` `Draft` OK
2229
2927
  */
2230
- 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)),
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)),
2231
2929
  /**
2232
2930
  * No description
2233
2931
  *
@@ -2249,7 +2947,7 @@ export class Api extends HttpClient {
2249
2947
  * @secure
2250
2948
  * @response `201` `DraftContentPaginated` Created
2251
2949
  */
2252
- 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)),
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)),
2253
2951
  /**
2254
2952
  * No description
2255
2953
  *
@@ -2260,7 +2958,7 @@ export class Api extends HttpClient {
2260
2958
  * @secure
2261
2959
  * @response `200` `Draft` OK
2262
2960
  */
2263
- 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)),
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)),
2264
2962
  /**
2265
2963
  * No description
2266
2964
  *
@@ -2293,7 +2991,7 @@ export class Api extends HttpClient {
2293
2991
  * @secure
2294
2992
  * @response `201` `LoanImport` Created
2295
2993
  */
2296
- createLoanImport: (data, params = {}) => this.request(Object.assign({ path: `/api/loan-imports`, method: "POST", body: data, secure: true, type: "application/json", format: "json" }, params)),
2994
+ createLoanImport: (data, params = {}) => this.request(Object.assign({ path: `/api/loan-imports`, method: "POST", body: data, secure: true, type: ContentType.Json, format: "json" }, params)),
2297
2995
  /**
2298
2996
  * No description
2299
2997
  *
@@ -2339,7 +3037,7 @@ export class Api extends HttpClient {
2339
3037
  * @response `200` `(Invite)[]` OK
2340
3038
  * @response `404` `ProblemDetails` Not Found
2341
3039
  */
2342
- 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)),
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)),
2343
3041
  /**
2344
3042
  * No description
2345
3043
  *
@@ -2350,7 +3048,7 @@ export class Api extends HttpClient {
2350
3048
  * @secure
2351
3049
  * @response `200` `LoanLogPaginated` OK
2352
3050
  */
2353
- 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)),
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)),
2354
3052
  /**
2355
3053
  * No description
2356
3054
  *
@@ -2375,7 +3073,20 @@ export class Api extends HttpClient {
2375
3073
  * @response `400` `ProblemDetails` Bad Request
2376
3074
  * @response `404` `ProblemDetails` Not Found
2377
3075
  */
2378
- 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)),
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)),
3077
+ /**
3078
+ * No description
3079
+ *
3080
+ * @tags LoanNotification
3081
+ * @name SendESignatureReminder
3082
+ * @summary Send eSignature Reminder
3083
+ * @request POST:/api/loans/{loanID}/notifications/esignature-reminders
3084
+ * @secure
3085
+ * @response `204` `void` No Content
3086
+ * @response `400` `ProblemDetails` Bad Request
3087
+ * @response `404` `ProblemDetails` Not Found
3088
+ */
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)),
2379
3090
  /**
2380
3091
  * No description
2381
3092
  *
@@ -2397,7 +3108,7 @@ export class Api extends HttpClient {
2397
3108
  * @secure
2398
3109
  * @response `200` `BranchUserPaginated` OK
2399
3110
  */
2400
- 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)),
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)),
2401
3112
  /**
2402
3113
  * No description
2403
3114
  *
@@ -2420,7 +3131,7 @@ export class Api extends HttpClient {
2420
3131
  * @response `200` `SiteConfiguration` OK
2421
3132
  * @response `422` `UnprocessableEntity` Unprocessable Content
2422
3133
  */
2423
- 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)),
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)),
2424
3135
  /**
2425
3136
  * No description
2426
3137
  *
@@ -2443,7 +3154,7 @@ export class Api extends HttpClient {
2443
3154
  * @response `200` `SiteConfiguration` OK
2444
3155
  * @response `422` `UnprocessableEntity` Unprocessable Content
2445
3156
  */
2446
- 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)),
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)),
2447
3158
  /**
2448
3159
  * No description
2449
3160
  *
@@ -2454,7 +3165,7 @@ export class Api extends HttpClient {
2454
3165
  * @secure
2455
3166
  * @response `200` `LoanQueuePaginated` OK
2456
3167
  */
2457
- 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)),
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)),
2458
3169
  /**
2459
3170
  * No description
2460
3171
  *
@@ -2478,7 +3189,7 @@ export class Api extends HttpClient {
2478
3189
  * @response `200` `LoanQueueWithData` OK
2479
3190
  * @response `404` `ProblemDetails` Not Found
2480
3191
  */
2481
- 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)),
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)),
2482
3193
  /**
2483
3194
  * No description
2484
3195
  *
@@ -2539,7 +3250,7 @@ export class Api extends HttpClient {
2539
3250
  * @response `401` `ProblemDetails` Unauthorized
2540
3251
  * @response `403` `ProblemDetails` Forbidden
2541
3252
  */
2542
- createLoanv3: (data, params = {}) => this.request(Object.assign({ path: `/api/loans`, method: "POST", body: data, secure: true, type: "application/json", format: "json" }, params)),
3253
+ createLoanv3: (data, params = {}) => this.request(Object.assign({ path: `/api/loans`, method: "POST", body: data, secure: true, type: ContentType.Json, format: "json" }, params)),
2543
3254
  /**
2544
3255
  * No description
2545
3256
  *
@@ -2550,7 +3261,7 @@ export class Api extends HttpClient {
2550
3261
  * @secure
2551
3262
  * @response `200` `LoanListPaginated` OK
2552
3263
  */
2553
- 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)),
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)),
2554
3265
  /**
2555
3266
  * No description
2556
3267
  *
@@ -2566,7 +3277,7 @@ export class Api extends HttpClient {
2566
3277
  * @response `404` `ProblemDetails` Not Found
2567
3278
  * @response `409` `any` Conflict
2568
3279
  */
2569
- updateLoan: (loanId, data, params = {}) => this.request(Object.assign({ path: `/api/loans/${loanId}`, method: "PATCH", body: data, secure: true, type: "application/json", format: "json" }, params)),
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)),
2570
3281
  /**
2571
3282
  * No description
2572
3283
  *
@@ -2628,7 +3339,7 @@ export class Api extends HttpClient {
2628
3339
  * @response `400` `ProblemDetails` Bad Request
2629
3340
  * @response `404` `ProblemDetails` Not Found
2630
3341
  */
2631
- 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)),
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)),
2632
3343
  /**
2633
3344
  * No description
2634
3345
  *
@@ -2640,7 +3351,7 @@ export class Api extends HttpClient {
2640
3351
  * @response `200` `TaskCommentPaginated` OK
2641
3352
  * @response `404` `ProblemDetails` Not Found
2642
3353
  */
2643
- 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)),
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)),
2644
3355
  /**
2645
3356
  * No description
2646
3357
  *
@@ -2664,7 +3375,7 @@ export class Api extends HttpClient {
2664
3375
  * @response `201` `TaskComment` Created
2665
3376
  * @response `404` `ProblemDetails` Not Found
2666
3377
  */
2667
- 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)),
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)),
2668
3379
  /**
2669
3380
  * No description
2670
3381
  *
@@ -2676,7 +3387,7 @@ export class Api extends HttpClient {
2676
3387
  * @response `200` `TaskComment` OK
2677
3388
  * @response `404` `ProblemDetails` Not Found
2678
3389
  */
2679
- 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)),
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)),
2680
3391
  /**
2681
3392
  * No description
2682
3393
  *
@@ -2701,7 +3412,7 @@ export class Api extends HttpClient {
2701
3412
  * @response `404` `ProblemDetails` Not Found
2702
3413
  * @response `422` `UnprocessableEntity` Unprocessable Content
2703
3414
  */
2704
- 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)),
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)),
2705
3416
  /**
2706
3417
  * No description
2707
3418
  *
@@ -2738,7 +3449,7 @@ export class Api extends HttpClient {
2738
3449
  * @response `400` `ProblemDetails` Bad Request
2739
3450
  * @response `404` `ProblemDetails` Not Found
2740
3451
  */
2741
- sendLoanTaskReminder: (loanId, data, params = {}) => this.request(Object.assign({ path: `/api/loans/${loanId}/tasks/reminders`, method: "POST", body: data, secure: true, type: "application/json" }, params)),
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)),
2742
3453
  /**
2743
3454
  * @description Search tasks across all loans
2744
3455
  *
@@ -2749,7 +3460,7 @@ export class Api extends HttpClient {
2749
3460
  * @secure
2750
3461
  * @response `200` `UserLoanTaskPaginated` OK
2751
3462
  */
2752
- 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)),
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)),
2753
3464
  /**
2754
3465
  * @description Returns task counts grouped by status for loans accessible to the current user based on their role
2755
3466
  *
@@ -2761,7 +3472,7 @@ export class Api extends HttpClient {
2761
3472
  * @response `200` `(LoanTaskStatusSummary)[]` OK
2762
3473
  * @response `422` `UnprocessableEntity` Unprocessable Content
2763
3474
  */
2764
- 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)),
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)),
2765
3476
  /**
2766
3477
  * No description
2767
3478
  *
@@ -2809,7 +3520,7 @@ export class Api extends HttpClient {
2809
3520
  * @response `201` `UserLoanTask` Created
2810
3521
  * @response `404` `ProblemDetails` Not Found
2811
3522
  */
2812
- 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)),
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)),
2813
3524
  /**
2814
3525
  * No description
2815
3526
  *
@@ -2821,7 +3532,7 @@ export class Api extends HttpClient {
2821
3532
  * @response `201` `(UserLoanTask)[]` Created
2822
3533
  * @response `404` `ProblemDetails` Not Found
2823
3534
  */
2824
- 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)),
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)),
2825
3536
  /**
2826
3537
  * No description
2827
3538
  *
@@ -2833,7 +3544,7 @@ export class Api extends HttpClient {
2833
3544
  * @response `200` `UserLoanTask` OK
2834
3545
  * @response `404` `ProblemDetails` Not Found
2835
3546
  */
2836
- 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)),
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)),
2837
3548
  /**
2838
3549
  * No description
2839
3550
  *
@@ -2892,7 +3603,7 @@ export class Api extends HttpClient {
2892
3603
  * @secure
2893
3604
  * @response `201` `LoanUser` Created
2894
3605
  */
2895
- 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)),
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)),
2896
3607
  /**
2897
3608
  * No description
2898
3609
  *
@@ -2925,7 +3636,7 @@ export class Api extends HttpClient {
2925
3636
  * @secure
2926
3637
  * @response `200` `LosOperationTrackingPaginated` OK
2927
3638
  */
2928
- 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)),
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)),
2929
3640
  /**
2930
3641
  * No description
2931
3642
  *
@@ -2948,7 +3659,7 @@ export class Api extends HttpClient {
2948
3659
  * @response `201` `MilestoneConfiguration` Created
2949
3660
  * @response `422` `UnprocessableEntity` Unprocessable Content
2950
3661
  */
2951
- createMilestone: (data, params = {}) => this.request(Object.assign({ path: `/api/milestones`, method: "POST", body: data, secure: true, type: "application/json", format: "json" }, params)),
3662
+ createMilestone: (data, params = {}) => this.request(Object.assign({ path: `/api/milestones`, method: "POST", body: data, secure: true, type: ContentType.Json, format: "json" }, params)),
2952
3663
  /**
2953
3664
  * No description
2954
3665
  *
@@ -2973,7 +3684,7 @@ export class Api extends HttpClient {
2973
3684
  * @response `404` `Error` Not Found
2974
3685
  * @response `422` `UnprocessableEntity` Unprocessable Content
2975
3686
  */
2976
- replaceMilestone: (id, data, params = {}) => this.request(Object.assign({ path: `/api/milestones/${id}`, method: "PUT", body: data, secure: true, type: "application/json", format: "json" }, params)),
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)),
2977
3688
  /**
2978
3689
  * No description
2979
3690
  *
@@ -2999,7 +3710,7 @@ export class Api extends HttpClient {
2999
3710
  * @response `404` `ProblemDetails` Not Found
3000
3711
  * @response `422` `ProblemDetails` Unprocessable Content
3001
3712
  */
3002
- 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)),
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)),
3003
3714
  /**
3004
3715
  * No description
3005
3716
  *
@@ -3011,7 +3722,7 @@ export class Api extends HttpClient {
3011
3722
  * @response `200` `MonthlyPaymentCalculator` OK
3012
3723
  * @response `422` `ProblemDetails` Unprocessable Content
3013
3724
  */
3014
- 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)),
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)),
3015
3726
  /**
3016
3727
  * No description
3017
3728
  *
@@ -3023,7 +3734,7 @@ export class Api extends HttpClient {
3023
3734
  * @response `200` `AffordabilityCalculator` OK
3024
3735
  * @response `422` `ProblemDetails` Unprocessable Content
3025
3736
  */
3026
- calculateMortgageAffordability: (data, params = {}) => this.request(Object.assign({ path: `/api/mortgage-calculators/affordability`, method: "POST", body: data, secure: true, type: "application/json", format: "json" }, params)),
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)),
3027
3738
  /**
3028
3739
  * No description
3029
3740
  *
@@ -3035,7 +3746,7 @@ export class Api extends HttpClient {
3035
3746
  * @response `200` `LoanComparisonCalculator` OK
3036
3747
  * @response `422` `ProblemDetails` Unprocessable Content
3037
3748
  */
3038
- 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)),
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)),
3039
3750
  /**
3040
3751
  * No description
3041
3752
  *
@@ -3047,7 +3758,7 @@ export class Api extends HttpClient {
3047
3758
  * @response `200` `RefinanceCalculator` OK
3048
3759
  * @response `422` `ProblemDetails` Unprocessable Content
3049
3760
  */
3050
- calculateMortgageRefinance: (data, params = {}) => this.request(Object.assign({ path: `/api/mortgage-calculators/refinance`, method: "POST", body: data, secure: true, type: "application/json", format: "json" }, params)),
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)),
3051
3762
  /**
3052
3763
  * No description
3053
3764
  *
@@ -3060,7 +3771,7 @@ export class Api extends HttpClient {
3060
3771
  * @response `200` `void` OK
3061
3772
  * @response `422` `UnprocessableEntity` Unprocessable Content
3062
3773
  */
3063
- sendNotificationForLoan: (data, params = {}) => this.request(Object.assign({ path: `/api/notifications`, method: "POST", body: data, secure: true, type: "application/json" }, params)),
3774
+ sendNotificationForLoan: (data, params = {}) => this.request(Object.assign({ path: `/api/notifications`, method: "POST", body: data, secure: true, type: ContentType.Json }, params)),
3064
3775
  /**
3065
3776
  * No description
3066
3777
  *
@@ -3073,7 +3784,7 @@ export class Api extends HttpClient {
3073
3784
  * @response `200` `void` OK
3074
3785
  * @response `422` `UnprocessableEntity` Unprocessable Content
3075
3786
  */
3076
- sendTestNotificationForLoan: (data, params = {}) => this.request(Object.assign({ path: `/api/notifications/test`, method: "POST", body: data, secure: true, type: "application/json" }, params)),
3787
+ sendTestNotificationForLoan: (data, params = {}) => this.request(Object.assign({ path: `/api/notifications/test`, method: "POST", body: data, secure: true, type: ContentType.Json }, params)),
3077
3788
  /**
3078
3789
  * No description
3079
3790
  *
@@ -3096,7 +3807,7 @@ export class Api extends HttpClient {
3096
3807
  * @response `201` `NotificationTemplate` Created
3097
3808
  * @response `422` `UnprocessableEntity` Unprocessable Content
3098
3809
  */
3099
- createNotificationTemplate: (data, params = {}) => this.request(Object.assign({ path: `/api/notification-templates`, method: "POST", body: data, secure: true, type: "application/json", format: "json" }, params)),
3810
+ createNotificationTemplate: (data, params = {}) => this.request(Object.assign({ path: `/api/notification-templates`, method: "POST", body: data, secure: true, type: ContentType.Json, format: "json" }, params)),
3100
3811
  /**
3101
3812
  * No description
3102
3813
  *
@@ -3107,7 +3818,7 @@ export class Api extends HttpClient {
3107
3818
  * @secure
3108
3819
  * @response `200` `NotificationTemplateBasePaginated` OK
3109
3820
  */
3110
- 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)),
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)),
3111
3822
  /**
3112
3823
  * No description
3113
3824
  *
@@ -3130,7 +3841,7 @@ export class Api extends HttpClient {
3130
3841
  * @response `200` `NotificationTemplate` OK
3131
3842
  * @response `422` `UnprocessableEntity` Unprocessable Content
3132
3843
  */
3133
- 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)),
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)),
3134
3845
  /**
3135
3846
  * No description
3136
3847
  *
@@ -3174,7 +3885,7 @@ export class Api extends HttpClient {
3174
3885
  * @secure
3175
3886
  * @response `200` `NotificationTemplateVersion` OK
3176
3887
  */
3177
- 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)),
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)),
3178
3889
  /**
3179
3890
  * No description
3180
3891
  *
@@ -3196,7 +3907,7 @@ export class Api extends HttpClient {
3196
3907
  * @secure
3197
3908
  * @response `200` `NotificationTemplateVersion` OK
3198
3909
  */
3199
- 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)),
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)),
3200
3911
  /**
3201
3912
  * No description
3202
3913
  *
@@ -3229,7 +3940,7 @@ export class Api extends HttpClient {
3229
3940
  * @secure
3230
3941
  * @response `200` `BranchUserPaginated` OK
3231
3942
  */
3232
- 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)),
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)),
3233
3944
  /**
3234
3945
  * No description
3235
3946
  *
@@ -3252,7 +3963,7 @@ export class Api extends HttpClient {
3252
3963
  * @response `200` `SiteConfiguration` OK
3253
3964
  * @response `422` `UnprocessableEntity` Unprocessable Content
3254
3965
  */
3255
- 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)),
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)),
3256
3967
  /**
3257
3968
  * No description
3258
3969
  *
@@ -3275,7 +3986,7 @@ export class Api extends HttpClient {
3275
3986
  * @response `200` `SiteConfiguration` OK
3276
3987
  * @response `422` `UnprocessableEntity` Unprocessable Content
3277
3988
  */
3278
- 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)),
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)),
3279
3990
  /**
3280
3991
  * No description
3281
3992
  *
@@ -3299,7 +4010,7 @@ export class Api extends HttpClient {
3299
4010
  * @response `200` `SiteConfigurationByUrl` OK
3300
4011
  * @response `422` `UnprocessableEntity` Unprocessable Content
3301
4012
  */
3302
- searchSiteConfigurationByUrl: (data, params = {}) => this.request(Object.assign({ path: `/api/site-configurations/url`, method: "POST", body: data, secure: true, type: "application/json", format: "json" }, params)),
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)),
3303
4014
  /**
3304
4015
  * No description
3305
4016
  *
@@ -3324,7 +4035,7 @@ export class Api extends HttpClient {
3324
4035
  * @response `200` `SiteConfiguration` OK
3325
4036
  * @response `422` `UnprocessableEntity` Unprocessable Content
3326
4037
  */
3327
- searchSiteConfigurationByLoanOfficerUser: (data, params = {}) => this.request(Object.assign({ path: `/api/site-configurations/louser`, method: "POST", body: data, secure: true, type: "application/json", format: "json" }, params)),
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)),
3328
4039
  /**
3329
4040
  * No description
3330
4041
  *
@@ -3348,7 +4059,7 @@ export class Api extends HttpClient {
3348
4059
  * @response `200` `SiteConfigurationSummaryPaginated` OK
3349
4060
  * @response `422` `UnprocessableEntity` Unprocessable Content
3350
4061
  */
3351
- 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)),
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)),
3352
4063
  /**
3353
4064
  * No description
3354
4065
  *
@@ -3440,7 +4151,7 @@ export class Api extends HttpClient {
3440
4151
  * @secure
3441
4152
  * @response `200` `GetForm` OK
3442
4153
  */
3443
- getFormBySiteConfigurationSlug: (data, params = {}) => this.request(Object.assign({ path: `/api/site-forms`, method: "POST", body: data, secure: true, type: "application/json", format: "json" }, params)),
4154
+ getFormBySiteConfigurationSlug: (data, params = {}) => this.request(Object.assign({ path: `/api/site-forms`, method: "POST", body: data, secure: true, type: ContentType.Json, format: "json" }, params)),
3444
4155
  /**
3445
4156
  * No description
3446
4157
  *
@@ -3463,7 +4174,7 @@ export class Api extends HttpClient {
3463
4174
  * @response `200` `(SocialSurveyRecord)[]` OK
3464
4175
  * @response `422` `UnprocessableEntity` Unprocessable Content
3465
4176
  */
3466
- getSurveysByUser: (data, params = {}) => this.request(Object.assign({ path: `/api/surveys`, method: "POST", body: data, secure: true, type: "application/json", format: "json" }, params)),
4177
+ getSurveysByUser: (data, params = {}) => this.request(Object.assign({ path: `/api/surveys`, method: "POST", body: data, secure: true, type: ContentType.Json, format: "json" }, params)),
3467
4178
  /**
3468
4179
  * No description
3469
4180
  *
@@ -3486,7 +4197,7 @@ export class Api extends HttpClient {
3486
4197
  * @secure
3487
4198
  * @response `201` `Task` Created
3488
4199
  */
3489
- createTask: (data, params = {}) => this.request(Object.assign({ path: `/api/tasks`, method: "POST", body: data, secure: true, type: "application/json", format: "json" }, params)),
4200
+ createTask: (data, params = {}) => this.request(Object.assign({ path: `/api/tasks`, method: "POST", body: data, secure: true, type: ContentType.Json, format: "json" }, params)),
3490
4201
  /**
3491
4202
  * No description
3492
4203
  *
@@ -3510,7 +4221,7 @@ export class Api extends HttpClient {
3510
4221
  * @response `200` `Task` OK
3511
4222
  * @response `404` `ProblemDetails` Not Found
3512
4223
  */
3513
- replaceTask: (id, data, params = {}) => this.request(Object.assign({ path: `/api/tasks/${id}`, method: "PUT", body: data, secure: true, type: "application/json", format: "json" }, params)),
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)),
3514
4225
  /**
3515
4226
  * No description
3516
4227
  *
@@ -3533,7 +4244,7 @@ export class Api extends HttpClient {
3533
4244
  * @secure
3534
4245
  * @response `200` `TaskPaginated` OK
3535
4246
  */
3536
- 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)),
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)),
3537
4248
  /**
3538
4249
  * No description
3539
4250
  *
@@ -3543,7 +4254,7 @@ export class Api extends HttpClient {
3543
4254
  * @secure
3544
4255
  * @response `200` `void` OK
3545
4256
  */
3546
- integrationsLosLoansCreate: (data, params = {}) => this.request(Object.assign({ path: `/api/integrations/los/loans`, method: "POST", body: data, secure: true, type: "application/json" }, params)),
4257
+ integrationsLosLoansCreate: (data, params = {}) => this.request(Object.assign({ path: `/api/integrations/los/loans`, method: "POST", body: data, secure: true, type: ContentType.Json }, params)),
3547
4258
  /**
3548
4259
  * No description
3549
4260
  *
@@ -3554,7 +4265,7 @@ export class Api extends HttpClient {
3554
4265
  * @secure
3555
4266
  * @response `200` `EncompassRequestLogPaginated` OK
3556
4267
  */
3557
- 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)),
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)),
3558
4269
  /**
3559
4270
  * No description
3560
4271
  *
@@ -3577,7 +4288,7 @@ export class Api extends HttpClient {
3577
4288
  * @secure
3578
4289
  * @response `201` `LosCredentials` Created
3579
4290
  */
3580
- createEncompassCredentials: (data, params = {}) => this.request(Object.assign({ path: `/api/los/encompass/credentials`, method: "POST", body: data, secure: true, type: "application/json", format: "json" }, params)),
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)),
3581
4292
  /**
3582
4293
  * No description
3583
4294
  *
@@ -3588,7 +4299,7 @@ export class Api extends HttpClient {
3588
4299
  * @secure
3589
4300
  * @response `200` `EncompassCredentialsDetail` OK
3590
4301
  */
3591
- updateEncompassCredentials: (data, params = {}) => this.request(Object.assign({ path: `/api/los/encompass/credentials`, method: "PUT", body: data, secure: true, type: "application/json", format: "json" }, params)),
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)),
3592
4303
  /**
3593
4304
  * No description
3594
4305
  *
@@ -3610,7 +4321,7 @@ export class Api extends HttpClient {
3610
4321
  * @secure
3611
4322
  * @response `201` `LosWebhook` Created
3612
4323
  */
3613
- createEncompassWebhook: (data, params = {}) => this.request(Object.assign({ path: `/api/los/encompass/webhooks`, method: "POST", body: data, secure: true, type: "application/json", format: "json" }, params)),
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)),
3614
4325
  /**
3615
4326
  * No description
3616
4327
  *
@@ -3632,7 +4343,7 @@ export class Api extends HttpClient {
3632
4343
  * @secure
3633
4344
  * @response `200` `LosSyncPaginated` OK
3634
4345
  */
3635
- 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)),
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)),
3636
4347
  /**
3637
4348
  * No description
3638
4349
  *
@@ -3715,7 +4426,7 @@ export class Api extends HttpClient {
3715
4426
  * @response `201` `UserDevice` Created
3716
4427
  * @response `400` `ProblemDetails` Bad Request
3717
4428
  */
3718
- createUserDevice: (data, params = {}) => this.request(Object.assign({ path: `/api/userdevices`, method: "POST", body: data, secure: true, type: "application/json", format: "json" }, params)),
4429
+ createUserDevice: (data, params = {}) => this.request(Object.assign({ path: `/api/userdevices`, method: "POST", body: data, secure: true, type: ContentType.Json, format: "json" }, params)),
3719
4430
  /**
3720
4431
  * No description
3721
4432
  *
@@ -3760,7 +4471,7 @@ export class Api extends HttpClient {
3760
4471
  * @secure
3761
4472
  * @response `200` `UserDraft` OK
3762
4473
  */
3763
- 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)),
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)),
3764
4475
  /**
3765
4476
  * No description
3766
4477
  *
@@ -3793,7 +4504,7 @@ export class Api extends HttpClient {
3793
4504
  * @secure
3794
4505
  * @response `200` `UserGroupAccessScope` OK
3795
4506
  */
3796
- 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)),
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)),
3797
4508
  /**
3798
4509
  * No description
3799
4510
  *
@@ -3826,7 +4537,7 @@ export class Api extends HttpClient {
3826
4537
  * @secure
3827
4538
  * @response `200` `UserGroupMember` OK
3828
4539
  */
3829
- 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)),
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)),
3830
4541
  /**
3831
4542
  * No description
3832
4543
  *
@@ -3870,7 +4581,7 @@ export class Api extends HttpClient {
3870
4581
  * @secure
3871
4582
  * @response `200` `UserGroup` OK
3872
4583
  */
3873
- 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)),
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)),
3874
4585
  /**
3875
4586
  * No description
3876
4587
  *
@@ -3892,7 +4603,7 @@ export class Api extends HttpClient {
3892
4603
  * @secure
3893
4604
  * @response `201` `UserGroup` Created
3894
4605
  */
3895
- createUserGroup: (data, params = {}) => this.request(Object.assign({ path: `/api/user-groups`, method: "POST", body: data, secure: true, type: "application/json", format: "json" }, params)),
4606
+ createUserGroup: (data, params = {}) => this.request(Object.assign({ path: `/api/user-groups`, method: "POST", body: data, secure: true, type: ContentType.Json, format: "json" }, params)),
3896
4607
  /**
3897
4608
  * No description
3898
4609
  *
@@ -3905,7 +4616,7 @@ export class Api extends HttpClient {
3905
4616
  * @response `404` `Error` Not Found
3906
4617
  * @response `422` `UnprocessableEntity` Unprocessable Content
3907
4618
  */
3908
- requestImpersonation: (data, params = {}) => this.request(Object.assign({ path: `/api/users/impersonation/request`, method: "POST", body: data, secure: true, type: "application/json" }, params)),
4619
+ requestImpersonation: (data, params = {}) => this.request(Object.assign({ path: `/api/users/impersonation/request`, method: "POST", body: data, secure: true, type: ContentType.Json }, params)),
3909
4620
  /**
3910
4621
  * No description
3911
4622
  *
@@ -3918,7 +4629,7 @@ export class Api extends HttpClient {
3918
4629
  * @response `404` `Error` Not Found
3919
4630
  * @response `422` `UnprocessableEntity` Unprocessable Content
3920
4631
  */
3921
- allowImpersonation: (data, params = {}) => this.request(Object.assign({ path: `/api/users/impersonation/allow`, method: "POST", body: data, secure: true, type: "application/json" }, params)),
4632
+ allowImpersonation: (data, params = {}) => this.request(Object.assign({ path: `/api/users/impersonation/allow`, method: "POST", body: data, secure: true, type: ContentType.Json }, params)),
3922
4633
  /**
3923
4634
  * No description
3924
4635
  *
@@ -3968,7 +4679,7 @@ export class Api extends HttpClient {
3968
4679
  * @response `404` `Error` Not Found
3969
4680
  * @response `422` `UnprocessableEntity` Unprocessable Content
3970
4681
  */
3971
- forceImpersonation: (data, params = {}) => this.request(Object.assign({ path: `/api/users/impersonation/force`, method: "POST", body: data, secure: true, type: "application/json" }, params)),
4682
+ forceImpersonation: (data, params = {}) => this.request(Object.assign({ path: `/api/users/impersonation/force`, method: "POST", body: data, secure: true, type: ContentType.Json }, params)),
3972
4683
  /**
3973
4684
  * No description
3974
4685
  *
@@ -3992,7 +4703,7 @@ export class Api extends HttpClient {
3992
4703
  * @response `204` `void` No Content
3993
4704
  * @response `422` `UnprocessableEntity` Unprocessable Content
3994
4705
  */
3995
- inviteUser: (data, params = {}) => this.request(Object.assign({ path: `/api/users/invites`, method: "POST", body: data, secure: true, type: "application/json" }, params)),
4706
+ inviteUser: (data, params = {}) => this.request(Object.assign({ path: `/api/users/invites`, method: "POST", body: data, secure: true, type: ContentType.Json }, params)),
3996
4707
  /**
3997
4708
  * No description
3998
4709
  *
@@ -4039,7 +4750,7 @@ export class Api extends HttpClient {
4039
4750
  * @secure
4040
4751
  * @response `204` `void` No Content
4041
4752
  */
4042
- createUserRelation: (userId, data, params = {}) => this.request(Object.assign({ path: `/api/users/${userId}/relations`, method: "POST", body: data, secure: true, type: "application/json" }, params)),
4753
+ createUserRelation: (userId, data, params = {}) => this.request(Object.assign({ path: `/api/users/${userId}/relations`, method: "POST", body: data, secure: true, type: ContentType.Json }, params)),
4043
4754
  /**
4044
4755
  * No description
4045
4756
  *
@@ -4084,7 +4795,7 @@ export class Api extends HttpClient {
4084
4795
  * @response `200` `DetailedUser` OK
4085
4796
  * @response `422` `UnprocessableEntity` Unprocessable Content
4086
4797
  */
4087
- createUser: (data, params = {}) => this.request(Object.assign({ path: `/api/users`, method: "POST", body: data, secure: true, type: "application/json", format: "json" }, params)),
4798
+ createUser: (data, params = {}) => this.request(Object.assign({ path: `/api/users`, method: "POST", body: data, secure: true, type: ContentType.Json, format: "json" }, params)),
4088
4799
  /**
4089
4800
  * No description
4090
4801
  *
@@ -4095,7 +4806,7 @@ export class Api extends HttpClient {
4095
4806
  * @secure
4096
4807
  * @response `200` `UserPaginated` OK
4097
4808
  */
4098
- 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)),
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)),
4099
4810
  /**
4100
4811
  * No description
4101
4812
  *
@@ -4106,7 +4817,7 @@ export class Api extends HttpClient {
4106
4817
  * @secure
4107
4818
  * @response `200` `AdminAccessUser` OK
4108
4819
  */
4109
- getUserByEmail: (data, params = {}) => this.request(Object.assign({ path: `/api/users/byemail`, method: "POST", body: data, secure: true, type: "application/json", format: "json" }, params)),
4820
+ getUserByEmail: (data, params = {}) => this.request(Object.assign({ path: `/api/users/byemail`, method: "POST", body: data, secure: true, type: ContentType.Json, format: "json" }, params)),
4110
4821
  /**
4111
4822
  * No description
4112
4823
  *
@@ -4118,7 +4829,7 @@ export class Api extends HttpClient {
4118
4829
  * @response `200` `User` OK
4119
4830
  * @response `422` `UnprocessableEntity` Unprocessable Content
4120
4831
  */
4121
- signUp: (data, params = {}) => this.request(Object.assign({ path: `/api/users/register`, method: "POST", body: data, secure: true, type: "application/json", format: "json" }, params)),
4832
+ signUp: (data, params = {}) => this.request(Object.assign({ path: `/api/users/register`, method: "POST", body: data, secure: true, type: ContentType.Json, format: "json" }, params)),
4122
4833
  /**
4123
4834
  * No description
4124
4835
  *
@@ -4130,7 +4841,7 @@ export class Api extends HttpClient {
4130
4841
  * @response `200` `DetailedUser` OK
4131
4842
  * @response `422` `UnprocessableEntity` Unprocessable Content
4132
4843
  */
4133
- replaceUser: (id, data, params = {}) => this.request(Object.assign({ path: `/api/users/${id}`, method: "PUT", body: data, secure: true, type: "application/json", format: "json" }, params)),
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)),
4134
4845
  /**
4135
4846
  * No description
4136
4847
  *
@@ -4164,7 +4875,7 @@ export class Api extends HttpClient {
4164
4875
  * @response `204` `void` No Content
4165
4876
  * @response `422` `UnprocessableEntity` Unprocessable Content
4166
4877
  */
4167
- changePassword: (data, params = {}) => this.request(Object.assign({ path: `/api/users/change-password`, method: "POST", body: data, secure: true, type: "application/json" }, params)),
4878
+ changePassword: (data, params = {}) => this.request(Object.assign({ path: `/api/users/change-password`, method: "POST", body: data, secure: true, type: ContentType.Json }, params)),
4168
4879
  /**
4169
4880
  * No description
4170
4881
  *
@@ -4176,7 +4887,7 @@ export class Api extends HttpClient {
4176
4887
  * @response `204` `void` No Content
4177
4888
  * @response `422` `UnprocessableEntity` Unprocessable Content
4178
4889
  */
4179
- verifyPassword: (data, params = {}) => this.request(Object.assign({ path: `/api/users/verify-password`, method: "POST", body: data, secure: true, type: "application/json" }, params)),
4890
+ verifyPassword: (data, params = {}) => this.request(Object.assign({ path: `/api/users/verify-password`, method: "POST", body: data, secure: true, type: ContentType.Json }, params)),
4180
4891
  /**
4181
4892
  * No description
4182
4893
  *
@@ -4188,7 +4899,7 @@ export class Api extends HttpClient {
4188
4899
  * @response `204` `void` No Content
4189
4900
  * @response `422` `UnprocessableEntity` Unprocessable Content
4190
4901
  */
4191
- overridePassword: (id, data, params = {}) => this.request(Object.assign({ path: `/api/users/${id}/override-password`, method: "POST", body: data, secure: true, type: "application/json" }, params)),
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)),
4192
4903
  /**
4193
4904
  * No description
4194
4905
  *
@@ -4200,7 +4911,7 @@ export class Api extends HttpClient {
4200
4911
  * @response `204` `void` No Content
4201
4912
  * @response `422` `UnprocessableEntity` Unprocessable Content
4202
4913
  */
4203
- forgotPassword: (data, params = {}) => this.request(Object.assign({ path: `/api/users/forgot-password`, method: "POST", body: data, secure: true, type: "application/json" }, params)),
4914
+ forgotPassword: (data, params = {}) => this.request(Object.assign({ path: `/api/users/forgot-password`, method: "POST", body: data, secure: true, type: ContentType.Json }, params)),
4204
4915
  /**
4205
4916
  * No description
4206
4917
  *
@@ -4224,7 +4935,7 @@ export class Api extends HttpClient {
4224
4935
  * @response `204` `void` No Content
4225
4936
  * @response `422` `UnprocessableEntity` Unprocessable Content
4226
4937
  */
4227
- verifyUserMobilePhone: (data, params = {}) => this.request(Object.assign({ path: `/api/users/mobile-phone/verify-code`, method: "PUT", body: data, secure: true, type: "application/json" }, params)),
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)),
4228
4939
  /**
4229
4940
  * No description
4230
4941
  *
@@ -4247,7 +4958,7 @@ export class Api extends HttpClient {
4247
4958
  * @secure
4248
4959
  * @response `200` `DetailedUser` OK
4249
4960
  */
4250
- replaceMe: (data, params = {}) => this.request(Object.assign({ path: `/api/users/me`, method: "PUT", body: data, secure: true, type: "application/json", format: "json" }, params)),
4961
+ replaceMe: (data, params = {}) => this.request(Object.assign({ path: `/api/users/me`, method: "PUT", body: data, secure: true, type: ContentType.Json, format: "json" }, params)),
4251
4962
  /**
4252
4963
  * @description Update the phone number If changed will send a verification code to the new number
4253
4964
  *
@@ -4258,7 +4969,7 @@ export class Api extends HttpClient {
4258
4969
  * @secure
4259
4970
  * @response `204` `DetailedUser` No Content
4260
4971
  */
4261
- 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)),
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)),
4262
4973
  /**
4263
4974
  * No description
4264
4975
  *
@@ -4302,7 +5013,7 @@ export class Api extends HttpClient {
4302
5013
  * @secure
4303
5014
  * @response `204` `void` No Content
4304
5015
  */
4305
- deleteMe: (data, params = {}) => this.request(Object.assign({ path: `/api/users/me/delete`, method: "POST", body: data, secure: true, type: "application/json" }, params)),
5016
+ deleteMe: (data, params = {}) => this.request(Object.assign({ path: `/api/users/me/delete`, method: "POST", body: data, secure: true, type: ContentType.Json }, params)),
4306
5017
  /**
4307
5018
  * No description
4308
5019
  *
@@ -4313,7 +5024,7 @@ export class Api extends HttpClient {
4313
5024
  * @secure
4314
5025
  * @response `200` `GetForm` OK
4315
5026
  */
4316
- getWorkflow: (data, params = {}) => this.request(Object.assign({ path: `/api/workflow`, method: "POST", body: data, secure: true, type: "application/json", format: "json" }, params)),
5027
+ getWorkflow: (data, params = {}) => this.request(Object.assign({ path: `/api/workflow`, method: "POST", body: data, secure: true, type: ContentType.Json, format: "json" }, params)),
4317
5028
  };
4318
5029
  this.sso = {
4319
5030
  /**