@matech/thebigpos-sdk 2.44.1-rc0 → 2.44.2-ai-bi

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.0
107
+ * @version v2.44.2
99
108
  * @termsOfService https://www.thebigpos.com/terms-of-use/
100
109
  * @contact Mortgage Automation Technologies <support@thebigpos.com> (https://www.thebigpos.com/terms-of-use/)
101
110
  */
@@ -147,7 +156,7 @@ export class Api extends HttpClient {
147
156
  * @response `404` `ProblemDetails` Not Found
148
157
  * @response `422` `ProblemDetails` Unprocessable Content
149
158
  */
150
- replaceMyAccount: (data, params = {}) => this.request(Object.assign({ path: `/api/account`, method: "PUT", body: data, secure: true, type: "application/json", format: "json" }, params)),
159
+ replaceMyAccount: (data, params = {}) => this.request(Object.assign({ path: `/api/account`, method: "PUT", body: data, secure: true, type: ContentType.Json, format: "json" }, params)),
151
160
  /**
152
161
  * No description
153
162
  *
@@ -170,7 +179,7 @@ export class Api extends HttpClient {
170
179
  * @response `200` `SiteConfiguration` OK
171
180
  * @response `422` `UnprocessableEntity` Unprocessable Content
172
181
  */
173
- updateSiteConfigurationForAccount: (data, params = {}) => this.request(Object.assign({ path: `/api/account/site-configurations`, method: "PUT", body: data, secure: true, type: "application/json", format: "json" }, params)),
182
+ updateSiteConfigurationForAccount: (data, params = {}) => this.request(Object.assign({ path: `/api/account/site-configurations`, method: "PUT", body: data, secure: true, type: ContentType.Json, format: "json" }, params)),
174
183
  /**
175
184
  * No description
176
185
  *
@@ -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,660 @@ 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 AiAdmin
271
+ * @name GetAiAuditLogs
272
+ * @summary Get paginated audit logs
273
+ * @request GET:/api/ai/admin/audit-logs
274
+ * @secure
275
+ * @response `200` `AiAuditLogPaginated` OK
276
+ */
277
+ getAiAuditLogs: (query, params = {}) => this.request(Object.assign({ path: `/api/ai/admin/audit-logs`, method: "GET", query: query, secure: true, format: "json" }, params)),
278
+ /**
279
+ * No description
280
+ *
281
+ * @tags AiAdmin
282
+ * @name GetAiRequestLifecycle
283
+ * @summary Get the full event lifecycle of a single AI request
284
+ * @request GET:/api/ai/admin/audit-logs/request/{requestId}
285
+ * @secure
286
+ * @response `200` `(AiAuditLog)[]` OK
287
+ */
288
+ getAiRequestLifecycle: (requestId, params = {}) => this.request(Object.assign({ path: `/api/ai/admin/audit-logs/request/${requestId}`, method: "GET", secure: true, format: "json" }, params)),
289
+ /**
290
+ * No description
291
+ *
292
+ * @tags AiAdmin
293
+ * @name GetAiAuditConversations
294
+ * @summary List conversations with their audit roll-up — origin user, turns, status, tokens
295
+ * @request GET:/api/ai/admin/audit-conversations
296
+ * @secure
297
+ * @response `200` `AiConversationAuditSummaryPaginated` OK
298
+ */
299
+ getAiAuditConversations: (query, params = {}) => this.request(Object.assign({ path: `/api/ai/admin/audit-conversations`, method: "GET", query: query, secure: true, format: "json" }, params)),
300
+ /**
301
+ * No description
302
+ *
303
+ * @tags AiAdmin
304
+ * @name GetAiAdminStats
305
+ * @summary Get AI admin dashboard stats
306
+ * @request GET:/api/ai/admin/stats
307
+ * @secure
308
+ * @response `200` `AiAdminStats` OK
309
+ */
310
+ getAiAdminStats: (query, params = {}) => this.request(Object.assign({ path: `/api/ai/admin/stats`, method: "GET", query: query, secure: true, format: "json" }, params)),
311
+ /**
312
+ * No description
313
+ *
314
+ * @tags AiAdmin
315
+ * @name GetAiConfigChanges
316
+ * @summary Get the AI configuration change history (who changed prompts, guardrails, fields, sources)
317
+ * @request GET:/api/ai/admin/config-changes
318
+ * @secure
319
+ * @response `200` `AiConfigChangeLogPaginated` OK
320
+ */
321
+ getAiConfigChanges: (query, params = {}) => this.request(Object.assign({ path: `/api/ai/admin/config-changes`, method: "GET", query: query, secure: true, format: "json" }, params)),
322
+ /**
323
+ * No description
324
+ *
325
+ * @tags AiAdminPrompt
326
+ * @name GetAiPrompts
327
+ * @summary Get all prompts
328
+ * @request GET:/api/ai/admin/prompts
329
+ * @secure
330
+ * @response `200` `(AiPrompt)[]` OK
331
+ */
332
+ getAiPrompts: (params = {}) => this.request(Object.assign({ path: `/api/ai/admin/prompts`, method: "GET", secure: true, format: "json" }, params)),
333
+ /**
334
+ * No description
335
+ *
336
+ * @tags AiAdminPrompt
337
+ * @name CreateAiPrompt
338
+ * @summary Create custom prompt
339
+ * @request POST:/api/ai/admin/prompts
340
+ * @secure
341
+ * @response `201` `AiPrompt` Created
342
+ * @response `400` `ProblemDetails` Bad Request
343
+ */
344
+ createAiPrompt: (data, params = {}) => this.request(Object.assign({ path: `/api/ai/admin/prompts`, method: "POST", body: data, secure: true, type: ContentType.Json, format: "json" }, params)),
345
+ /**
346
+ * No description
347
+ *
348
+ * @tags AiAdminPrompt
349
+ * @name GetAiPrompt
350
+ * @summary Get prompt by ID
351
+ * @request GET:/api/ai/admin/prompts/{id}
352
+ * @secure
353
+ * @response `200` `AiPrompt` OK
354
+ * @response `404` `ProblemDetails` Not Found
355
+ */
356
+ getAiPrompt: (id, params = {}) => this.request(Object.assign({ path: `/api/ai/admin/prompts/${id}`, method: "GET", secure: true, format: "json" }, params)),
357
+ /**
358
+ * No description
359
+ *
360
+ * @tags AiAdminPrompt
361
+ * @name UpdateAiPrompt
362
+ * @summary Update prompt
363
+ * @request PUT:/api/ai/admin/prompts/{id}
364
+ * @secure
365
+ * @response `200` `AiPrompt` OK
366
+ * @response `400` `ProblemDetails` Bad Request
367
+ * @response `404` `ProblemDetails` Not Found
368
+ */
369
+ 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)),
370
+ /**
371
+ * No description
372
+ *
373
+ * @tags AiAdminPrompt
374
+ * @name DeleteAiPrompt
375
+ * @summary Delete prompt
376
+ * @request DELETE:/api/ai/admin/prompts/{id}
377
+ * @secure
378
+ * @response `204` `void` No Content
379
+ * @response `400` `ProblemDetails` Bad Request
380
+ * @response `404` `ProblemDetails` Not Found
381
+ */
382
+ deleteAiPrompt: (id, params = {}) => this.request(Object.assign({ path: `/api/ai/admin/prompts/${id}`, method: "DELETE", secure: true }, params)),
383
+ /**
384
+ * No description
385
+ *
386
+ * @tags AiAdminPrompt
387
+ * @name ToggleAiPrompt
388
+ * @summary Toggle prompt active/inactive
389
+ * @request PATCH:/api/ai/admin/prompts/{id}/toggle
390
+ * @secure
391
+ * @response `200` `AiPrompt` OK
392
+ * @response `404` `ProblemDetails` Not Found
393
+ */
394
+ toggleAiPrompt: (id, params = {}) => this.request(Object.assign({ path: `/api/ai/admin/prompts/${id}/toggle`, method: "PATCH", secure: true, format: "json" }, params)),
395
+ /**
396
+ * No description
397
+ *
398
+ * @tags AiAdminPrompt
399
+ * @name GenerateAiSystemPrompt
400
+ * @summary Generate a system prompt from description
401
+ * @request POST:/api/ai/admin/prompts/generate
402
+ * @secure
403
+ * @response `200` `GenerateSystemPrompt` OK
404
+ * @response `400` `ProblemDetails` Bad Request
405
+ */
406
+ 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)),
407
+ /**
408
+ * No description
409
+ *
410
+ * @tags AiAdminPrompt
411
+ * @name GetSupportedModels
412
+ * @summary Get supported LLM models
413
+ * @request GET:/api/ai/admin/prompts/supported-models
414
+ * @secure
415
+ * @response `200` `(SupportedModel)[]` OK
416
+ */
417
+ getSupportedModels: (params = {}) => this.request(Object.assign({ path: `/api/ai/admin/prompts/supported-models`, method: "GET", secure: true, format: "json" }, params)),
418
+ /**
419
+ * No description
420
+ *
421
+ * @tags AiAdminSettings
422
+ * @name GetAiAdminSettings
423
+ * @summary Get global AI settings
424
+ * @request GET:/api/ai/admin/settings
425
+ * @secure
426
+ * @response `200` `AiAdminSettings` OK
427
+ */
428
+ getAiAdminSettings: (params = {}) => this.request(Object.assign({ path: `/api/ai/admin/settings`, method: "GET", secure: true, format: "json" }, params)),
429
+ /**
430
+ * No description
431
+ *
432
+ * @tags AiAdminSettings
433
+ * @name UpdateAiAdminSettings
434
+ * @summary Update global AI settings
435
+ * @request PUT:/api/ai/admin/settings
436
+ * @secure
437
+ * @response `200` `AiAdminSettings` OK
438
+ * @response `400` `ProblemDetails` Bad Request
439
+ */
440
+ updateAiAdminSettings: (data, params = {}) => this.request(Object.assign({ path: `/api/ai/admin/settings`, method: "PUT", body: data, secure: true, type: ContentType.Json, format: "json" }, params)),
441
+ /**
442
+ * No description
443
+ *
444
+ * @tags AiCanonicalField
445
+ * @name GetAiCanonicalFields
446
+ * @summary Get all canonical fields
447
+ * @request GET:/api/ai/admin/fields
448
+ * @secure
449
+ * @response `200` `(AiCanonicalField)[]` OK
450
+ */
451
+ getAiCanonicalFields: (params = {}) => this.request(Object.assign({ path: `/api/ai/admin/fields`, method: "GET", secure: true, format: "json" }, params)),
452
+ /**
453
+ * No description
454
+ *
455
+ * @tags AiCanonicalField
456
+ * @name CreateAiCanonicalField
457
+ * @summary Create canonical field
458
+ * @request POST:/api/ai/admin/fields
459
+ * @secure
460
+ * @response `201` `AiCanonicalField` Created
461
+ * @response `400` `ProblemDetails` Bad Request
462
+ */
463
+ createAiCanonicalField: (data, params = {}) => this.request(Object.assign({ path: `/api/ai/admin/fields`, method: "POST", body: data, secure: true, type: ContentType.Json, format: "json" }, params)),
464
+ /**
465
+ * No description
466
+ *
467
+ * @tags AiCanonicalField
468
+ * @name GetAiCanonicalField
469
+ * @summary Get canonical field by ID
470
+ * @request GET:/api/ai/admin/fields/{id}
471
+ * @secure
472
+ * @response `200` `AiCanonicalField` OK
473
+ * @response `404` `ProblemDetails` Not Found
474
+ */
475
+ getAiCanonicalField: (id, params = {}) => this.request(Object.assign({ path: `/api/ai/admin/fields/${id}`, method: "GET", secure: true, format: "json" }, params)),
476
+ /**
477
+ * No description
478
+ *
479
+ * @tags AiCanonicalField
480
+ * @name UpdateAiCanonicalField
481
+ * @summary Update canonical field
482
+ * @request PUT:/api/ai/admin/fields/{id}
483
+ * @secure
484
+ * @response `200` `AiCanonicalField` OK
485
+ * @response `400` `ProblemDetails` Bad Request
486
+ * @response `404` `ProblemDetails` Not Found
487
+ */
488
+ 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)),
489
+ /**
490
+ * No description
491
+ *
492
+ * @tags AiCanonicalField
493
+ * @name DeleteAiCanonicalField
494
+ * @summary Delete canonical field
495
+ * @request DELETE:/api/ai/admin/fields/{id}
496
+ * @secure
497
+ * @response `204` `void` No Content
498
+ * @response `404` `ProblemDetails` Not Found
499
+ */
500
+ deleteAiCanonicalField: (id, params = {}) => this.request(Object.assign({ path: `/api/ai/admin/fields/${id}`, method: "DELETE", secure: true }, params)),
501
+ /**
502
+ * No description
503
+ *
504
+ * @tags AiCanonicalField
505
+ * @name ToggleAiCanonicalField
506
+ * @summary Toggle canonical field active/inactive
507
+ * @request PATCH:/api/ai/admin/fields/{id}/toggle
508
+ * @secure
509
+ * @response `200` `AiCanonicalField` OK
510
+ * @response `404` `ProblemDetails` Not Found
511
+ */
512
+ toggleAiCanonicalField: (id, params = {}) => this.request(Object.assign({ path: `/api/ai/admin/fields/${id}/toggle`, method: "PATCH", secure: true, format: "json" }, params)),
513
+ /**
514
+ * No description
515
+ *
516
+ * @tags AiChat
517
+ * @name AiChat
518
+ * @summary Send AI chat message
519
+ * @request POST:/api/ai/chat
520
+ * @secure
521
+ * @response `200` `AiChat` OK
522
+ * @response `400` `ProblemDetails` Bad Request
523
+ * @response `401` `ProblemDetails` Unauthorized
524
+ */
525
+ aiChat: (data, params = {}) => this.request(Object.assign({ path: `/api/ai/chat`, method: "POST", body: data, secure: true, type: ContentType.JsonPatch, format: "json" }, params)),
526
+ /**
527
+ * No description
528
+ *
529
+ * @tags AiConversation
530
+ * @name GetAiConversations
531
+ * @summary Get user conversations
532
+ * @request GET:/api/ai/conversations
533
+ * @secure
534
+ * @response `200` `AiConversationListItemPaginated` OK
535
+ */
536
+ getAiConversations: (query, params = {}) => this.request(Object.assign({ path: `/api/ai/conversations`, method: "GET", query: query, secure: true, format: "json" }, params)),
537
+ /**
538
+ * No description
539
+ *
540
+ * @tags AiConversation
541
+ * @name GetAiConversation
542
+ * @summary Get conversation metadata
543
+ * @request GET:/api/ai/conversations/{id}
544
+ * @secure
545
+ * @response `200` `AiConversationDetail` OK
546
+ * @response `403` `ProblemDetails` Forbidden
547
+ * @response `404` `ProblemDetails` Not Found
548
+ */
549
+ getAiConversation: (id, params = {}) => this.request(Object.assign({ path: `/api/ai/conversations/${id}`, method: "GET", secure: true, format: "json" }, params)),
550
+ /**
551
+ * No description
552
+ *
553
+ * @tags AiConversation
554
+ * @name RenameAiConversation
555
+ * @summary Rename conversation
556
+ * @request PATCH:/api/ai/conversations/{id}
557
+ * @secure
558
+ * @response `200` `AiConversationDetail` OK
559
+ * @response `400` `ProblemDetails` Bad Request
560
+ * @response `403` `ProblemDetails` Forbidden
561
+ * @response `404` `ProblemDetails` Not Found
562
+ */
563
+ 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)),
564
+ /**
565
+ * No description
566
+ *
567
+ * @tags AiConversation
568
+ * @name DeleteAiConversation
569
+ * @summary Delete conversation
570
+ * @request DELETE:/api/ai/conversations/{id}
571
+ * @secure
572
+ * @response `204` `void` No Content
573
+ * @response `403` `ProblemDetails` Forbidden
574
+ * @response `404` `ProblemDetails` Not Found
575
+ */
576
+ deleteAiConversation: (id, params = {}) => this.request(Object.assign({ path: `/api/ai/conversations/${id}`, method: "DELETE", secure: true }, params)),
577
+ /**
578
+ * No description
579
+ *
580
+ * @tags AiConversation
581
+ * @name GetAiConversationMessages
582
+ * @summary Get conversation messages
583
+ * @request GET:/api/ai/conversations/{id}/messages
584
+ * @secure
585
+ * @response `200` `AiChatMessagePaginated` OK
586
+ * @response `403` `ProblemDetails` Forbidden
587
+ * @response `404` `ProblemDetails` Not Found
588
+ */
589
+ getAiConversationMessages: (id, query, params = {}) => this.request(Object.assign({ path: `/api/ai/conversations/${id}/messages`, method: "GET", query: query, secure: true, format: "json" }, params)),
590
+ /**
591
+ * No description
592
+ *
593
+ * @tags AiConversation
594
+ * @name ClearAiConversationHistory
595
+ * @summary Clear conversation history
596
+ * @request DELETE:/api/ai/conversations/{id}/messages
597
+ * @secure
598
+ * @response `204` `void` No Content
599
+ * @response `403` `ProblemDetails` Forbidden
600
+ * @response `404` `ProblemDetails` Not Found
601
+ */
602
+ clearAiConversationHistory: (id, params = {}) => this.request(Object.assign({ path: `/api/ai/conversations/${id}/messages`, method: "DELETE", secure: true }, params)),
603
+ /**
604
+ * No description
605
+ *
606
+ * @tags AiConversation
607
+ * @name PinAiConversation
608
+ * @summary Pin or unpin conversation
609
+ * @request PUT:/api/ai/conversations/{id}/pin
610
+ * @secure
611
+ * @response `200` `AiConversationDetail` OK
612
+ * @response `403` `ProblemDetails` Forbidden
613
+ * @response `404` `ProblemDetails` Not Found
614
+ */
615
+ 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)),
616
+ /**
617
+ * No description
618
+ *
619
+ * @tags AiConversationAdmin
620
+ * @name GetAiAccountConversations
621
+ * @summary List AI conversations across the account, optionally filtered by user (admin supervision)
622
+ * @request GET:/api/ai/admin/conversations
623
+ * @secure
624
+ * @response `200` `AiConversationListItemPaginated` OK
625
+ */
626
+ getAiAccountConversations: (query, params = {}) => this.request(Object.assign({ path: `/api/ai/admin/conversations`, method: "GET", query: query, secure: true, format: "json" }, params)),
627
+ /**
628
+ * No description
629
+ *
630
+ * @tags AiConversationAdmin
631
+ * @name GetAiAccountConversation
632
+ * @summary Get an account conversation's detail (admin supervision)
633
+ * @request GET:/api/ai/admin/conversations/{id}
634
+ * @secure
635
+ * @response `200` `AiConversationDetail` OK
636
+ * @response `404` `ProblemDetails` Not Found
637
+ */
638
+ getAiAccountConversation: (id, params = {}) => this.request(Object.assign({ path: `/api/ai/admin/conversations/${id}`, method: "GET", secure: true, format: "json" }, params)),
639
+ /**
640
+ * No description
641
+ *
642
+ * @tags AiConversationAdmin
643
+ * @name GetAiAccountConversationMessages
644
+ * @summary Get an account conversation's messages (admin supervision)
645
+ * @request GET:/api/ai/admin/conversations/{id}/messages
646
+ * @secure
647
+ * @response `200` `AiChatMessagePaginated` OK
648
+ * @response `404` `ProblemDetails` Not Found
649
+ */
650
+ getAiAccountConversationMessages: (id, query, params = {}) => this.request(Object.assign({ path: `/api/ai/admin/conversations/${id}/messages`, method: "GET", query: query, secure: true, format: "json" }, params)),
651
+ /**
652
+ * No description
653
+ *
654
+ * @tags AiGuardrail
655
+ * @name GetAiGuardrails
656
+ * @summary Get all guardrails
657
+ * @request GET:/api/ai/admin/guardrails
658
+ * @secure
659
+ * @response `200` `(AiGuardrail)[]` OK
660
+ */
661
+ getAiGuardrails: (params = {}) => this.request(Object.assign({ path: `/api/ai/admin/guardrails`, method: "GET", secure: true, format: "json" }, params)),
662
+ /**
663
+ * No description
664
+ *
665
+ * @tags AiGuardrail
666
+ * @name CreateAiGuardrail
667
+ * @summary Create custom guardrail
668
+ * @request POST:/api/ai/admin/guardrails
669
+ * @secure
670
+ * @response `201` `AiGuardrail` Created
671
+ * @response `400` `ProblemDetails` Bad Request
672
+ */
673
+ createAiGuardrail: (data, params = {}) => this.request(Object.assign({ path: `/api/ai/admin/guardrails`, method: "POST", body: data, secure: true, type: ContentType.Json, format: "json" }, params)),
674
+ /**
675
+ * No description
676
+ *
677
+ * @tags AiGuardrail
678
+ * @name GetAiGuardrail
679
+ * @summary Get guardrail by ID
680
+ * @request GET:/api/ai/admin/guardrails/{id}
681
+ * @secure
682
+ * @response `200` `AiGuardrail` OK
683
+ * @response `404` `ProblemDetails` Not Found
684
+ */
685
+ getAiGuardrail: (id, params = {}) => this.request(Object.assign({ path: `/api/ai/admin/guardrails/${id}`, method: "GET", secure: true, format: "json" }, params)),
686
+ /**
687
+ * No description
688
+ *
689
+ * @tags AiGuardrail
690
+ * @name UpdateAiGuardrail
691
+ * @summary Update guardrail
692
+ * @request PUT:/api/ai/admin/guardrails/{id}
693
+ * @secure
694
+ * @response `200` `AiGuardrail` OK
695
+ * @response `400` `ProblemDetails` Bad Request
696
+ * @response `404` `ProblemDetails` Not Found
697
+ */
698
+ 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)),
699
+ /**
700
+ * No description
701
+ *
702
+ * @tags AiGuardrail
703
+ * @name DeleteAiGuardrail
704
+ * @summary Delete guardrail
705
+ * @request DELETE:/api/ai/admin/guardrails/{id}
706
+ * @secure
707
+ * @response `204` `void` No Content
708
+ * @response `400` `ProblemDetails` Bad Request
709
+ * @response `404` `ProblemDetails` Not Found
710
+ */
711
+ deleteAiGuardrail: (id, params = {}) => this.request(Object.assign({ path: `/api/ai/admin/guardrails/${id}`, method: "DELETE", secure: true }, params)),
712
+ /**
713
+ * No description
714
+ *
715
+ * @tags AiGuardrail
716
+ * @name ToggleAiGuardrail
717
+ * @summary Toggle guardrail enabled/disabled
718
+ * @request PATCH:/api/ai/admin/guardrails/{id}/toggle
719
+ * @secure
720
+ * @response `200` `AiGuardrail` OK
721
+ * @response `404` `ProblemDetails` Not Found
722
+ */
723
+ toggleAiGuardrail: (id, params = {}) => this.request(Object.assign({ path: `/api/ai/admin/guardrails/${id}/toggle`, method: "PATCH", secure: true, format: "json" }, params)),
724
+ /**
725
+ * No description
726
+ *
727
+ * @tags AiPrompt
728
+ * @name GetAvailablePrompts
729
+ * @summary Get available prompts for current user
730
+ * @request GET:/api/ai/prompts
731
+ * @secure
732
+ * @response `200` `(AiPromptSummary)[]` OK
733
+ */
734
+ getAvailablePrompts: (query, params = {}) => this.request(Object.assign({ path: `/api/ai/prompts`, method: "GET", query: query, secure: true, format: "json" }, params)),
735
+ /**
736
+ * No description
737
+ *
738
+ * @tags AiSuperAdmin
739
+ * @name GetAiAuditLogsCrossAccount
740
+ * @summary Get AI audit logs for a specific account or across all accounts
741
+ * @request GET:/api/ai/superadmin/audit-logs
742
+ * @secure
743
+ * @response `200` `AiAuditLogPaginated` OK
744
+ */
745
+ getAiAuditLogsCrossAccount: (query, params = {}) => this.request(Object.assign({ path: `/api/ai/superadmin/audit-logs`, method: "GET", query: query, secure: true, format: "json" }, params)),
746
+ /**
747
+ * No description
748
+ *
749
+ * @tags AiSuperAdmin
750
+ * @name GetAiRequestLifecycleCrossAccount
751
+ * @summary Get the full event lifecycle of a single AI request from any account
752
+ * @request GET:/api/ai/superadmin/audit-logs/request/{requestId}
753
+ * @secure
754
+ * @response `200` `(AiAuditLog)[]` OK
755
+ */
756
+ 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)),
757
+ /**
758
+ * No description
759
+ *
760
+ * @tags AiSuperAdmin
761
+ * @name GetAiStatsCrossAccount
762
+ * @summary Get AI stats for a specific account or platform-wide
763
+ * @request GET:/api/ai/superadmin/stats
764
+ * @secure
765
+ * @response `200` `AiAdminStats` OK
766
+ */
767
+ getAiStatsCrossAccount: (query, params = {}) => this.request(Object.assign({ path: `/api/ai/superadmin/stats`, method: "GET", query: query, secure: true, format: "json" }, params)),
768
+ /**
769
+ * No description
770
+ *
771
+ * @tags AiSuperAdmin
772
+ * @name GetAiConfigChangesCrossAccount
773
+ * @summary Get AI configuration change history for a specific account or across all accounts (incl. global defaults)
774
+ * @request GET:/api/ai/superadmin/config-changes
775
+ * @secure
776
+ * @response `200` `AiConfigChangeLogPaginated` OK
777
+ */
778
+ getAiConfigChangesCrossAccount: (query, params = {}) => this.request(Object.assign({ path: `/api/ai/superadmin/config-changes`, method: "GET", query: query, secure: true, format: "json" }, params)),
779
+ /**
780
+ * No description
781
+ *
782
+ * @tags AiTokenUsageAdmin
783
+ * @name SearchAiAccountTokenUsage
784
+ * @summary Search accounts by current-month AI token usage and classification
785
+ * @request POST:/api/ai/admin/token-usage/search
786
+ * @secure
787
+ * @response `200` `AiAccountUsageOverviewPaginated` OK
788
+ */
789
+ 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)),
790
+ /**
791
+ * No description
792
+ *
793
+ * @tags AiTokenUsageAdmin
794
+ * @name GetAiAccountTokenUsage
795
+ * @summary Get an account's current-month AI token usage
796
+ * @request GET:/api/ai/admin/token-usage/{accountId}
797
+ * @secure
798
+ * @response `200` `AiTokenBudgetStatus` OK
799
+ */
800
+ getAiAccountTokenUsage: (accountId, params = {}) => this.request(Object.assign({ path: `/api/ai/admin/token-usage/${accountId}`, method: "GET", secure: true, format: "json" }, params)),
801
+ /**
802
+ * No description
803
+ *
804
+ * @tags AiTokenUsageAdmin
805
+ * @name GetAiAccountTokenUsageHistory
806
+ * @summary Get an account's monthly AI token usage history
807
+ * @request GET:/api/ai/admin/token-usage/{accountId}/history
808
+ * @secure
809
+ * @response `200` `AiTokenUsageWindowPaginated` OK
810
+ */
811
+ 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)),
812
+ /**
813
+ * No description
814
+ *
815
+ * @tags AiTokenUsageAdmin
816
+ * @name SetAiAccountTokenLimit
817
+ * @summary Set or raise an account's monthly AI token limit
818
+ * @request PUT:/api/ai/admin/token-usage/{accountId}/limit
819
+ * @secure
820
+ * @response `200` `AiTokenBudgetStatus` OK
821
+ * @response `400` `ProblemDetails` Bad Request
822
+ */
823
+ 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)),
824
+ /**
825
+ * No description
826
+ *
827
+ * @tags AiUrlSource
828
+ * @name GetAiUrlSources
829
+ * @summary Get all URL sources
830
+ * @request GET:/api/ai/admin/url-sources
831
+ * @secure
832
+ * @response `200` `(AiUrlSource)[]` OK
833
+ */
834
+ getAiUrlSources: (params = {}) => this.request(Object.assign({ path: `/api/ai/admin/url-sources`, method: "GET", secure: true, format: "json" }, params)),
835
+ /**
836
+ * No description
837
+ *
838
+ * @tags AiUrlSource
839
+ * @name CreateAiUrlSource
840
+ * @summary Create URL source
841
+ * @request POST:/api/ai/admin/url-sources
842
+ * @secure
843
+ * @response `201` `AiUrlSource` Created
844
+ * @response `400` `ProblemDetails` Bad Request
845
+ * @response `409` `ProblemDetails` Conflict
846
+ */
847
+ 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)),
848
+ /**
849
+ * No description
850
+ *
851
+ * @tags AiUrlSource
852
+ * @name GetAiUrlSource
853
+ * @summary Get URL source by ID
854
+ * @request GET:/api/ai/admin/url-sources/{id}
855
+ * @secure
856
+ * @response `200` `AiUrlSource` OK
857
+ * @response `404` `ProblemDetails` Not Found
858
+ */
859
+ getAiUrlSource: (id, params = {}) => this.request(Object.assign({ path: `/api/ai/admin/url-sources/${id}`, method: "GET", secure: true, format: "json" }, params)),
860
+ /**
861
+ * No description
862
+ *
863
+ * @tags AiUrlSource
864
+ * @name UpdateAiUrlSource
865
+ * @summary Update URL source
866
+ * @request PUT:/api/ai/admin/url-sources/{id}
867
+ * @secure
868
+ * @response `200` `AiUrlSource` OK
869
+ * @response `400` `ProblemDetails` Bad Request
870
+ * @response `404` `ProblemDetails` Not Found
871
+ * @response `409` `ProblemDetails` Conflict
872
+ */
873
+ 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)),
874
+ /**
875
+ * No description
876
+ *
877
+ * @tags AiUrlSource
878
+ * @name DeleteAiUrlSource
879
+ * @summary Delete URL source
880
+ * @request DELETE:/api/ai/admin/url-sources/{id}
881
+ * @secure
882
+ * @response `204` `void` No Content
883
+ * @response `404` `ProblemDetails` Not Found
884
+ */
885
+ deleteAiUrlSource: (id, params = {}) => this.request(Object.assign({ path: `/api/ai/admin/url-sources/${id}`, method: "DELETE", secure: true }, params)),
886
+ /**
887
+ * No description
888
+ *
889
+ * @tags AiUrlSource
890
+ * @name ToggleAiUrlSource
891
+ * @summary Toggle URL source active/inactive
892
+ * @request PATCH:/api/ai/admin/url-sources/{id}/toggle
893
+ * @secure
894
+ * @response `200` `AiUrlSource` OK
895
+ * @response `404` `ProblemDetails` Not Found
896
+ */
897
+ toggleAiUrlSource: (id, params = {}) => this.request(Object.assign({ path: `/api/ai/admin/url-sources/${id}/toggle`, method: "PATCH", secure: true, format: "json" }, params)),
898
+ /**
899
+ * No description
900
+ *
901
+ * @tags AiUsage
902
+ * @name GetAiUsage
903
+ * @summary Get the current account's AI token usage for the active monthly window
904
+ * @request GET:/api/ai/usage
905
+ * @secure
906
+ * @response `200` `AiTokenBudgetStatus` OK
907
+ */
908
+ getAiUsage: (params = {}) => this.request(Object.assign({ path: `/api/ai/usage`, method: "GET", secure: true, format: "json" }, params)),
909
+ /**
910
+ * No description
911
+ *
912
+ * @tags AiUsage
913
+ * @name GetAiUsageHistory
914
+ * @summary Get the current account's monthly AI token usage history
915
+ * @request GET:/api/ai/usage/history
916
+ * @secure
917
+ * @response `200` `AiTokenUsageWindowPaginated` OK
918
+ */
919
+ getAiUsageHistory: (query, params = {}) => this.request(Object.assign({ path: `/api/ai/usage/history`, method: "GET", query: query, secure: true, format: "json" }, params)),
258
920
  /**
259
921
  * No description
260
922
  *
@@ -265,7 +927,7 @@ export class Api extends HttpClient {
265
927
  * @secure
266
928
  * @response `200` `AuditLogEntryPaginated` OK
267
929
  */
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)),
930
+ 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
931
  /**
270
932
  * No description
271
933
  *
@@ -301,7 +963,7 @@ export class Api extends HttpClient {
301
963
  * @response `401` `ProblemDetails` Unauthorized
302
964
  * @response `422` `UnprocessableEntity` Unprocessable Content
303
965
  */
304
- getTokenFromRefreshToken: (data, params = {}) => this.request(Object.assign({ path: `/api/refresh-token`, method: "POST", body: data, secure: true, type: "application/json", format: "json" }, params)),
966
+ getTokenFromRefreshToken: (data, params = {}) => this.request(Object.assign({ path: `/api/refresh-token`, method: "POST", body: data, secure: true, type: ContentType.Json, format: "json" }, params)),
305
967
  /**
306
968
  * No description
307
969
  *
@@ -313,7 +975,7 @@ export class Api extends HttpClient {
313
975
  * @response `200` `AccountDeactivated` OK
314
976
  * @response `422` `UnprocessableEntity` Unprocessable Content
315
977
  */
316
- getToken: (data, params = {}) => this.request(Object.assign({ path: `/api/token`, method: "POST", body: data, secure: true, type: "application/json", format: "json" }, params)),
978
+ getToken: (data, params = {}) => this.request(Object.assign({ path: `/api/token`, method: "POST", body: data, secure: true, type: ContentType.Json, format: "json" }, params)),
317
979
  /**
318
980
  * No description
319
981
  *
@@ -325,7 +987,7 @@ export class Api extends HttpClient {
325
987
  * @response `200` `AccountDeactivated` OK
326
988
  * @response `422` `UnprocessableEntity` Unprocessable Content
327
989
  */
328
- getTokenFromChallengeCode: (data, params = {}) => this.request(Object.assign({ path: `/api/token/code`, method: "POST", body: data, secure: true, type: "application/json", format: "json" }, params)),
990
+ getTokenFromChallengeCode: (data, params = {}) => this.request(Object.assign({ path: `/api/token/code`, method: "POST", body: data, secure: true, type: ContentType.Json, format: "json" }, params)),
329
991
  /**
330
992
  * No description
331
993
  *
@@ -337,7 +999,7 @@ export class Api extends HttpClient {
337
999
  * @response `200` `Token` OK
338
1000
  * @response `422` `UnprocessableEntity` Unprocessable Content
339
1001
  */
340
- getSystemToken: (data, params = {}) => this.request(Object.assign({ path: `/api/oauth2/token`, method: "POST", body: data, secure: true, type: "application/json", format: "json" }, params)),
1002
+ getSystemToken: (data, params = {}) => this.request(Object.assign({ path: `/api/oauth2/token`, method: "POST", body: data, secure: true, type: ContentType.Json, format: "json" }, params)),
341
1003
  /**
342
1004
  * No description
343
1005
  *
@@ -349,7 +1011,7 @@ export class Api extends HttpClient {
349
1011
  * @response `200` `SSOToken` OK
350
1012
  * @response `422` `UnprocessableEntity` Unprocessable Content
351
1013
  */
352
- getSsoToken: (data, params = {}) => this.request(Object.assign({ path: `/api/token/sso`, method: "POST", body: data, secure: true, type: "application/json", format: "json" }, params)),
1014
+ getSsoToken: (data, params = {}) => this.request(Object.assign({ path: `/api/token/sso`, method: "POST", body: data, secure: true, type: ContentType.Json, format: "json" }, params)),
353
1015
  /**
354
1016
  * No description
355
1017
  *
@@ -384,7 +1046,7 @@ export class Api extends HttpClient {
384
1046
  * @response `200` `GetBranch` OK
385
1047
  * @response `422` `UnprocessableEntity` Unprocessable Content
386
1048
  */
387
- createBranch: (data, params = {}) => this.request(Object.assign({ path: `/api/branches`, method: "POST", body: data, secure: true, type: "application/json", format: "json" }, params)),
1049
+ createBranch: (data, params = {}) => this.request(Object.assign({ path: `/api/branches`, method: "POST", body: data, secure: true, type: ContentType.Json, format: "json" }, params)),
388
1050
  /**
389
1051
  * No description
390
1052
  *
@@ -395,7 +1057,7 @@ export class Api extends HttpClient {
395
1057
  * @secure
396
1058
  * @response `200` `GetBranchPaginated` OK
397
1059
  */
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)),
1060
+ 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
1061
  /**
400
1062
  * No description
401
1063
  *
@@ -418,7 +1080,7 @@ export class Api extends HttpClient {
418
1080
  * @response `200` `GetBranch` OK
419
1081
  * @response `422` `UnprocessableEntity` Unprocessable Content
420
1082
  */
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)),
1083
+ 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
1084
  /**
423
1085
  * No description
424
1086
  *
@@ -453,7 +1115,7 @@ export class Api extends HttpClient {
453
1115
  * @response `200` `SiteConfiguration` OK
454
1116
  * @response `422` `UnprocessableEntity` Unprocessable Content
455
1117
  */
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)),
1118
+ 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
1119
  /**
458
1120
  * No description
459
1121
  *
@@ -476,7 +1138,7 @@ export class Api extends HttpClient {
476
1138
  * @response `200` `SiteConfiguration` OK
477
1139
  * @response `422` `UnprocessableEntity` Unprocessable Content
478
1140
  */
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)),
1141
+ 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
1142
  /**
481
1143
  * No description
482
1144
  *
@@ -510,7 +1172,7 @@ export class Api extends HttpClient {
510
1172
  * @response `200` `BusinessRule` OK
511
1173
  * @response `422` `UnprocessableEntity` Unprocessable Content
512
1174
  */
513
- createBusinessRule: (data, params = {}) => this.request(Object.assign({ path: `/api/business-rules`, method: "POST", body: data, secure: true, type: "application/json", format: "json" }, params)),
1175
+ createBusinessRule: (data, params = {}) => this.request(Object.assign({ path: `/api/business-rules`, method: "POST", body: data, secure: true, type: ContentType.Json, format: "json" }, params)),
514
1176
  /**
515
1177
  * No description
516
1178
  *
@@ -533,7 +1195,7 @@ export class Api extends HttpClient {
533
1195
  * @response `200` `BusinessRule` OK
534
1196
  * @response `422` `UnprocessableEntity` Unprocessable Content
535
1197
  */
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)),
1198
+ 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
1199
  /**
538
1200
  * No description
539
1201
  *
@@ -566,7 +1228,7 @@ export class Api extends HttpClient {
566
1228
  * @secure
567
1229
  * @response `200` `ClosedLoansReport` OK
568
1230
  */
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)),
1231
+ 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
1232
  /**
571
1233
  * No description
572
1234
  *
@@ -611,7 +1273,7 @@ export class Api extends HttpClient {
611
1273
  * @response `200` `Corporate` OK
612
1274
  * @response `422` `UnprocessableEntity` Unprocessable Content
613
1275
  */
614
- createCorporate: (data, params = {}) => this.request(Object.assign({ path: `/api/corporates`, method: "POST", body: data, secure: true, type: "application/json", format: "json" }, params)),
1276
+ createCorporate: (data, params = {}) => this.request(Object.assign({ path: `/api/corporates`, method: "POST", body: data, secure: true, type: ContentType.Json, format: "json" }, params)),
615
1277
  /**
616
1278
  * No description
617
1279
  *
@@ -622,7 +1284,7 @@ export class Api extends HttpClient {
622
1284
  * @secure
623
1285
  * @response `200` `CorporatePaginated` OK
624
1286
  */
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)),
1287
+ 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
1288
  /**
627
1289
  * No description
628
1290
  *
@@ -645,7 +1307,7 @@ export class Api extends HttpClient {
645
1307
  * @response `200` `Corporate` OK
646
1308
  * @response `422` `UnprocessableEntity` Unprocessable Content
647
1309
  */
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)),
1310
+ 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
1311
  /**
650
1312
  * No description
651
1313
  *
@@ -679,7 +1341,7 @@ export class Api extends HttpClient {
679
1341
  * @response `200` `SiteConfiguration` OK
680
1342
  * @response `422` `UnprocessableEntity` Unprocessable Content
681
1343
  */
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)),
1344
+ 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
1345
  /**
684
1346
  * No description
685
1347
  *
@@ -702,7 +1364,7 @@ export class Api extends HttpClient {
702
1364
  * @response `200` `SiteConfiguration` OK
703
1365
  * @response `422` `UnprocessableEntity` Unprocessable Content
704
1366
  */
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)),
1367
+ 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
1368
  /**
707
1369
  * No description
708
1370
  *
@@ -748,7 +1410,7 @@ export class Api extends HttpClient {
748
1410
  * @response `409` `ProblemDetails` Conflict
749
1411
  * @response `422` `ProblemDetails` Unprocessable Content
750
1412
  */
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)),
1413
+ 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
1414
  /**
753
1415
  * No description
754
1416
  *
@@ -775,7 +1437,7 @@ export class Api extends HttpClient {
775
1437
  * @response `409` `ProblemDetails` Conflict
776
1438
  * @response `422` `ProblemDetails` Unprocessable Content
777
1439
  */
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)),
1440
+ 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
1441
  /**
780
1442
  * No description
781
1443
  *
@@ -845,7 +1507,7 @@ export class Api extends HttpClient {
845
1507
  * @secure
846
1508
  * @response `200` `Device` OK
847
1509
  */
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)),
1510
+ 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
1511
  /**
850
1512
  * No description
851
1513
  *
@@ -902,7 +1564,7 @@ export class Api extends HttpClient {
902
1564
  * @response `404` `ProblemDetails` Not Found
903
1565
  * @response `422` `UnprocessableEntity` Unprocessable Content
904
1566
  */
905
- createDocumentTemplate: (data, params = {}) => this.request(Object.assign({ path: `/api/document-templates`, method: "POST", body: data, secure: true, type: "application/json", format: "json" }, params)),
1567
+ createDocumentTemplate: (data, params = {}) => this.request(Object.assign({ path: `/api/document-templates`, method: "POST", body: data, secure: true, type: ContentType.Json, format: "json" }, params)),
906
1568
  /**
907
1569
  * No description
908
1570
  *
@@ -939,7 +1601,7 @@ export class Api extends HttpClient {
939
1601
  * @response `404` `ProblemDetails` Not Found
940
1602
  * @response `422` `UnprocessableEntity` Unprocessable Content
941
1603
  */
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)),
1604
+ 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
1605
  /**
944
1606
  * No description
945
1607
  *
@@ -987,7 +1649,7 @@ export class Api extends HttpClient {
987
1649
  * @secure
988
1650
  * @response `200` `DocumentTemplateVersion` OK
989
1651
  */
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)),
1652
+ 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
1653
  /**
992
1654
  * No description
993
1655
  *
@@ -1009,7 +1671,7 @@ export class Api extends HttpClient {
1009
1671
  * @secure
1010
1672
  * @response `200` `DocumentTemplateVersion` OK
1011
1673
  */
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)),
1674
+ 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
1675
  /**
1014
1676
  * No description
1015
1677
  *
@@ -1047,7 +1709,7 @@ export class Api extends HttpClient {
1047
1709
  * @response `409` `void` Conflict
1048
1710
  * @response `422` `ProblemDetails` Unprocessable Content
1049
1711
  */
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)),
1712
+ 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
1713
  /**
1052
1714
  * No description
1053
1715
  *
@@ -1136,7 +1798,7 @@ export class Api extends HttpClient {
1136
1798
  * @response `404` `EncompassError` Not Found
1137
1799
  * @response `500` `EncompassError` Internal Server Error
1138
1800
  */
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)),
1801
+ 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
1802
  /**
1141
1803
  * No description
1142
1804
  *
@@ -1159,7 +1821,7 @@ export class Api extends HttpClient {
1159
1821
  * @response `201` `File` Created
1160
1822
  * @response `422` `UnprocessableEntity` Unprocessable Content
1161
1823
  */
1162
- uploadFile: (data, params = {}) => this.request(Object.assign({ path: `/api/files`, method: "POST", body: data, secure: true, type: "multipart/form-data", format: "json" }, params)),
1824
+ uploadFile: (data, params = {}) => this.request(Object.assign({ path: `/api/files`, method: "POST", body: data, secure: true, type: ContentType.FormData, format: "json" }, params)),
1163
1825
  /**
1164
1826
  * No description
1165
1827
  *
@@ -1182,7 +1844,7 @@ export class Api extends HttpClient {
1182
1844
  * @response `200` `string` OK
1183
1845
  * @response `422` `UnprocessableEntity` Unprocessable Content
1184
1846
  */
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)),
1847
+ 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
1848
  /**
1187
1849
  * No description
1188
1850
  *
@@ -1204,7 +1866,7 @@ export class Api extends HttpClient {
1204
1866
  * @secure
1205
1867
  * @response `200` `FilePaginated` OK
1206
1868
  */
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)),
1869
+ 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
1870
  /**
1209
1871
  * No description
1210
1872
  *
@@ -1227,7 +1889,7 @@ export class Api extends HttpClient {
1227
1889
  * @response `201` `Form` Created
1228
1890
  * @response `422` `UnprocessableEntity` Unprocessable Content
1229
1891
  */
1230
- createForm: (data, params = {}) => this.request(Object.assign({ path: `/api/forms`, method: "POST", body: data, secure: true, type: "application/json", format: "json" }, params)),
1892
+ createForm: (data, params = {}) => this.request(Object.assign({ path: `/api/forms`, method: "POST", body: data, secure: true, type: ContentType.Json, format: "json" }, params)),
1231
1893
  /**
1232
1894
  * No description
1233
1895
  *
@@ -1250,7 +1912,7 @@ export class Api extends HttpClient {
1250
1912
  * @response `200` `Form` OK
1251
1913
  * @response `422` `UnprocessableEntity` Unprocessable Content
1252
1914
  */
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)),
1915
+ 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
1916
  /**
1255
1917
  * No description
1256
1918
  *
@@ -1283,7 +1945,7 @@ export class Api extends HttpClient {
1283
1945
  * @secure
1284
1946
  * @response `200` `FormSubmissionFile` OK
1285
1947
  */
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)),
1948
+ 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
1949
  /**
1288
1950
  * No description
1289
1951
  *
@@ -1327,7 +1989,7 @@ export class Api extends HttpClient {
1327
1989
  * @secure
1328
1990
  * @response `201` `FormSubmission` Created
1329
1991
  */
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)),
1992
+ 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
1993
  /**
1332
1994
  * No description
1333
1995
  *
@@ -1349,7 +2011,7 @@ export class Api extends HttpClient {
1349
2011
  * @secure
1350
2012
  * @response `200` `FormSubmission` OK
1351
2013
  */
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)),
2014
+ 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
2015
  /**
1354
2016
  * No description
1355
2017
  *
@@ -1371,7 +2033,7 @@ export class Api extends HttpClient {
1371
2033
  * @secure
1372
2034
  * @response `200` `FormSubmissionPaginated` OK
1373
2035
  */
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)),
2036
+ 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
2037
  /**
1376
2038
  * No description
1377
2039
  *
@@ -1393,7 +2055,7 @@ export class Api extends HttpClient {
1393
2055
  * @secure
1394
2056
  * @response `200` `FormVersion` OK
1395
2057
  */
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)),
2058
+ 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
2059
  /**
1398
2060
  * No description
1399
2061
  *
@@ -1415,7 +2077,7 @@ export class Api extends HttpClient {
1415
2077
  * @secure
1416
2078
  * @response `200` `FormVersion` OK
1417
2079
  */
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)),
2080
+ 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
2081
  /**
1420
2082
  * No description
1421
2083
  *
@@ -1461,7 +2123,7 @@ export class Api extends HttpClient {
1461
2123
  * @response `200` `string` OK
1462
2124
  * @response `422` `UnprocessableEntity` Unprocessable Content
1463
2125
  */
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)),
2126
+ 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
2127
  /**
1466
2128
  * No description
1467
2129
  *
@@ -1472,7 +2134,7 @@ export class Api extends HttpClient {
1472
2134
  * @secure
1473
2135
  * @response `200` `GetReport` OK
1474
2136
  */
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)),
2137
+ 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
2138
  /**
1477
2139
  * No description
1478
2140
  *
@@ -1486,7 +2148,7 @@ export class Api extends HttpClient {
1486
2148
  * @response `422` `UnprocessableEntity` Unprocessable Content
1487
2149
  * @response `423` `UnprocessableEntity` Locked
1488
2150
  */
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)),
2151
+ 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
2152
  /**
1491
2153
  * No description
1492
2154
  *
@@ -1499,7 +2161,7 @@ export class Api extends HttpClient {
1499
2161
  * @response `422` `UnprocessableEntity` Unprocessable Content
1500
2162
  * @response `423` `UnprocessableEntity` Locked
1501
2163
  */
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)),
2164
+ 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
2165
  /**
1504
2166
  * No description
1505
2167
  *
@@ -1511,7 +2173,7 @@ export class Api extends HttpClient {
1511
2173
  * @response `200` `string` OK
1512
2174
  * @response `422` `UnprocessableEntity` Unprocessable Content
1513
2175
  */
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)),
2176
+ 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
2177
  /**
1516
2178
  * No description
1517
2179
  *
@@ -1524,7 +2186,7 @@ export class Api extends HttpClient {
1524
2186
  * @response `202` `string` Accepted
1525
2187
  * @response `422` `UnprocessableEntity` Unprocessable Content
1526
2188
  */
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)),
2189
+ 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
2190
  /**
1529
2191
  * No description
1530
2192
  *
@@ -1602,7 +2264,7 @@ export class Api extends HttpClient {
1602
2264
  * @secure
1603
2265
  * @response `200` `DocumentDataRequest` OK
1604
2266
  */
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)),
2267
+ 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
2268
  /**
1607
2269
  * No description
1608
2270
  *
@@ -1627,7 +2289,7 @@ export class Api extends HttpClient {
1627
2289
  * @secure
1628
2290
  * @response `200` `ListingFile` OK
1629
2291
  */
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)),
2292
+ 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
2293
  /**
1632
2294
  * No description
1633
2295
  *
@@ -1638,7 +2300,7 @@ export class Api extends HttpClient {
1638
2300
  * @secure
1639
2301
  * @response `200` `ListingFile` OK
1640
2302
  */
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)),
2303
+ 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
2304
  /**
1643
2305
  * No description
1644
2306
  *
@@ -1660,7 +2322,7 @@ export class Api extends HttpClient {
1660
2322
  * @secure
1661
2323
  * @response `200` `ListingPhoto` OK
1662
2324
  */
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)),
2325
+ 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
2326
  /**
1665
2327
  * No description
1666
2328
  *
@@ -1671,7 +2333,7 @@ export class Api extends HttpClient {
1671
2333
  * @secure
1672
2334
  * @response `200` `(ListingPhoto)[]` OK
1673
2335
  */
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)),
2336
+ 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
2337
  /**
1676
2338
  * No description
1677
2339
  *
@@ -1704,7 +2366,7 @@ export class Api extends HttpClient {
1704
2366
  * @secure
1705
2367
  * @response `201` `Listing` Created
1706
2368
  */
1707
- createListing: (data, params = {}) => this.request(Object.assign({ path: `/api/listings`, method: "POST", body: data, secure: true, type: "application/json", format: "json" }, params)),
2369
+ createListing: (data, params = {}) => this.request(Object.assign({ path: `/api/listings`, method: "POST", body: data, secure: true, type: ContentType.Json, format: "json" }, params)),
1708
2370
  /**
1709
2371
  * No description
1710
2372
  *
@@ -1737,7 +2399,7 @@ export class Api extends HttpClient {
1737
2399
  * @secure
1738
2400
  * @response `200` `Listing` OK
1739
2401
  */
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)),
2402
+ 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
2403
  /**
1742
2404
  * No description
1743
2405
  *
@@ -1759,7 +2421,7 @@ export class Api extends HttpClient {
1759
2421
  * @secure
1760
2422
  * @response `200` `ListingPaginated` OK
1761
2423
  */
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)),
2424
+ 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
2425
  /**
1764
2426
  * No description
1765
2427
  *
@@ -1770,7 +2432,7 @@ export class Api extends HttpClient {
1770
2432
  * @secure
1771
2433
  * @response `200` `File` OK
1772
2434
  */
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)),
2435
+ 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
2436
  /**
1775
2437
  * No description
1776
2438
  *
@@ -1816,7 +2478,7 @@ export class Api extends HttpClient {
1816
2478
  * @response `422` `UnprocessableEntity` Unprocessable Content
1817
2479
  * @response `423` `UnprocessableEntity` Locked
1818
2480
  */
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)),
2481
+ 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
2482
  /**
1821
2483
  * No description
1822
2484
  *
@@ -1840,7 +2502,7 @@ export class Api extends HttpClient {
1840
2502
  * @response `422` `UnprocessableEntity` Unprocessable Content
1841
2503
  * @response `423` `UnprocessableEntity` Locked
1842
2504
  */
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)),
2505
+ 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
2506
  /**
1845
2507
  * No description
1846
2508
  *
@@ -1863,7 +2525,7 @@ export class Api extends HttpClient {
1863
2525
  * @response `204` `void` No Content
1864
2526
  * @response `422` `UnprocessableEntity` Unprocessable Content
1865
2527
  */
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)),
2528
+ 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
2529
  /**
1868
2530
  * No description
1869
2531
  *
@@ -1900,7 +2562,7 @@ export class Api extends HttpClient {
1900
2562
  * @response `400` `ProblemDetails` Bad Request
1901
2563
  * @response `422` `ProblemDetails` Unprocessable Content
1902
2564
  */
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)),
2565
+ 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
2566
  /**
1905
2567
  * No description
1906
2568
  *
@@ -1914,7 +2576,7 @@ export class Api extends HttpClient {
1914
2576
  * @response `404` `ProblemDetails` Not Found
1915
2577
  * @response `422` `ProblemDetails` Unprocessable Content
1916
2578
  */
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)),
2579
+ 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
2580
  /**
1919
2581
  * No description
1920
2582
  *
@@ -1948,7 +2610,7 @@ export class Api extends HttpClient {
1948
2610
  * @secure
1949
2611
  * @response `201` `(string)[]` Created
1950
2612
  */
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)),
2613
+ 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
2614
  /**
1953
2615
  * No description
1954
2616
  *
@@ -1972,7 +2634,7 @@ export class Api extends HttpClient {
1972
2634
  * @response `409` `ProblemDetails` Conflict
1973
2635
  * @response `422` `ProblemDetails` Unprocessable Content
1974
2636
  */
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)),
2637
+ 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
2638
  /**
1977
2639
  * No description
1978
2640
  *
@@ -1999,7 +2661,7 @@ export class Api extends HttpClient {
1999
2661
  * @response `409` `ProblemDetails` Conflict
2000
2662
  * @response `422` `ProblemDetails` Unprocessable Content
2001
2663
  */
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)),
2664
+ 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
2665
  /**
2004
2666
  * No description
2005
2667
  *
@@ -2074,7 +2736,7 @@ export class Api extends HttpClient {
2074
2736
  * @response `200` `Record<string,string>` OK
2075
2737
  * @response `400` `ProblemDetails` Bad Request
2076
2738
  */
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)),
2739
+ 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
2740
  /**
2079
2741
  * No description
2080
2742
  *
@@ -2085,7 +2747,7 @@ export class Api extends HttpClient {
2085
2747
  * @secure
2086
2748
  * @response `200` `LoanDocumentSearchPaginated` OK
2087
2749
  */
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)),
2750
+ 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
2751
  /**
2090
2752
  * @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
2753
  *
@@ -2096,7 +2758,7 @@ export class Api extends HttpClient {
2096
2758
  * @secure
2097
2759
  * @response `200` `(DocumentFolder)[]` OK
2098
2760
  */
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)),
2761
+ 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
2762
  /**
2101
2763
  * No description
2102
2764
  *
@@ -2105,7 +2767,7 @@ export class Api extends HttpClient {
2105
2767
  * @summary Download By ID
2106
2768
  * @request GET:/api/loans/{loanId}/documents/{documentId}/download
2107
2769
  * @secure
2108
- * @response `200` `Blob` OK
2770
+ * @response `200` `string` OK
2109
2771
  * @response `404` `ProblemDetails` Not Found
2110
2772
  */
2111
2773
  downloadLoanDocument: (loanId, documentId, params = {}) => this.request(Object.assign({ path: `/api/loans/${loanId}/documents/${documentId}/download`, method: "GET", secure: true, format: "json" }, params)),
@@ -2121,7 +2783,7 @@ export class Api extends HttpClient {
2121
2783
  * @response `404` `ProblemDetails` Not Found
2122
2784
  * @response `422` `UnprocessableEntity` Unprocessable Content
2123
2785
  */
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)),
2786
+ 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
2787
  /**
2126
2788
  * No description
2127
2789
  *
@@ -2145,7 +2807,7 @@ export class Api extends HttpClient {
2145
2807
  * @secure
2146
2808
  * @response `200` `DocumentDataRequest` OK
2147
2809
  */
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)),
2810
+ 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
2811
  /**
2150
2812
  * No description
2151
2813
  *
@@ -2158,7 +2820,7 @@ export class Api extends HttpClient {
2158
2820
  * @response `400` `ProblemDetails` Bad Request
2159
2821
  * @response `404` `ProblemDetails` Not Found
2160
2822
  */
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)),
2823
+ 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
2824
  /**
2163
2825
  * @description Fetches all documents from Encompass that don't exist locally and stores them in S3
2164
2826
  *
@@ -2171,6 +2833,19 @@ export class Api extends HttpClient {
2171
2833
  * @response `404` `ProblemDetails` Not Found
2172
2834
  */
2173
2835
  syncLoanDocumentsFromLos: (loanId, params = {}) => this.request(Object.assign({ path: `/api/loans/${loanId}/documents/sync`, method: "POST", secure: true, format: "json" }, params)),
2836
+ /**
2837
+ * No description
2838
+ *
2839
+ * @tags LoanDocuments
2840
+ * @name ClassifyLoanDocumentManually
2841
+ * @summary Manually classify a loan document
2842
+ * @request POST:/api/loans/{loanId}/documents/{documentId}/classify-manual
2843
+ * @secure
2844
+ * @response `200` `LoanDocument` OK
2845
+ * @response `404` `ProblemDetails` Not Found
2846
+ * @response `422` `UnprocessableEntity` Unprocessable Content
2847
+ */
2848
+ 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
2849
  /**
2175
2850
  * @description Re-attempts to push a failed document to LOS
2176
2851
  *
@@ -2194,7 +2869,7 @@ export class Api extends HttpClient {
2194
2869
  * @secure
2195
2870
  * @response `201` `Draft` Created
2196
2871
  */
2197
- createLoanDraft: (data, params = {}) => this.request(Object.assign({ path: `/api/loans/drafts`, method: "POST", body: data, secure: true, type: "application/json", format: "json" }, params)),
2872
+ createLoanDraft: (data, params = {}) => this.request(Object.assign({ path: `/api/loans/drafts`, method: "POST", body: data, secure: true, type: ContentType.Json, format: "json" }, params)),
2198
2873
  /**
2199
2874
  * No description
2200
2875
  *
@@ -2227,7 +2902,7 @@ export class Api extends HttpClient {
2227
2902
  * @secure
2228
2903
  * @response `200` `Draft` OK
2229
2904
  */
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)),
2905
+ 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
2906
  /**
2232
2907
  * No description
2233
2908
  *
@@ -2249,7 +2924,7 @@ export class Api extends HttpClient {
2249
2924
  * @secure
2250
2925
  * @response `201` `DraftContentPaginated` Created
2251
2926
  */
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)),
2927
+ 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
2928
  /**
2254
2929
  * No description
2255
2930
  *
@@ -2260,7 +2935,7 @@ export class Api extends HttpClient {
2260
2935
  * @secure
2261
2936
  * @response `200` `Draft` OK
2262
2937
  */
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)),
2938
+ 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
2939
  /**
2265
2940
  * No description
2266
2941
  *
@@ -2293,7 +2968,7 @@ export class Api extends HttpClient {
2293
2968
  * @secure
2294
2969
  * @response `201` `LoanImport` Created
2295
2970
  */
2296
- createLoanImport: (data, params = {}) => this.request(Object.assign({ path: `/api/loan-imports`, method: "POST", body: data, secure: true, type: "application/json", format: "json" }, params)),
2971
+ createLoanImport: (data, params = {}) => this.request(Object.assign({ path: `/api/loan-imports`, method: "POST", body: data, secure: true, type: ContentType.Json, format: "json" }, params)),
2297
2972
  /**
2298
2973
  * No description
2299
2974
  *
@@ -2339,7 +3014,7 @@ export class Api extends HttpClient {
2339
3014
  * @response `200` `(Invite)[]` OK
2340
3015
  * @response `404` `ProblemDetails` Not Found
2341
3016
  */
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)),
3017
+ 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
3018
  /**
2344
3019
  * No description
2345
3020
  *
@@ -2350,7 +3025,7 @@ export class Api extends HttpClient {
2350
3025
  * @secure
2351
3026
  * @response `200` `LoanLogPaginated` OK
2352
3027
  */
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)),
3028
+ 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
3029
  /**
2355
3030
  * No description
2356
3031
  *
@@ -2375,7 +3050,7 @@ export class Api extends HttpClient {
2375
3050
  * @response `400` `ProblemDetails` Bad Request
2376
3051
  * @response `404` `ProblemDetails` Not Found
2377
3052
  */
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)),
3053
+ 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)),
2379
3054
  /**
2380
3055
  * No description
2381
3056
  *
@@ -2397,7 +3072,7 @@ export class Api extends HttpClient {
2397
3072
  * @secure
2398
3073
  * @response `200` `BranchUserPaginated` OK
2399
3074
  */
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)),
3075
+ 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
3076
  /**
2402
3077
  * No description
2403
3078
  *
@@ -2420,7 +3095,7 @@ export class Api extends HttpClient {
2420
3095
  * @response `200` `SiteConfiguration` OK
2421
3096
  * @response `422` `UnprocessableEntity` Unprocessable Content
2422
3097
  */
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)),
3098
+ 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
3099
  /**
2425
3100
  * No description
2426
3101
  *
@@ -2443,7 +3118,7 @@ export class Api extends HttpClient {
2443
3118
  * @response `200` `SiteConfiguration` OK
2444
3119
  * @response `422` `UnprocessableEntity` Unprocessable Content
2445
3120
  */
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)),
3121
+ 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
3122
  /**
2448
3123
  * No description
2449
3124
  *
@@ -2454,7 +3129,7 @@ export class Api extends HttpClient {
2454
3129
  * @secure
2455
3130
  * @response `200` `LoanQueuePaginated` OK
2456
3131
  */
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)),
3132
+ 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
3133
  /**
2459
3134
  * No description
2460
3135
  *
@@ -2478,7 +3153,7 @@ export class Api extends HttpClient {
2478
3153
  * @response `200` `LoanQueueWithData` OK
2479
3154
  * @response `404` `ProblemDetails` Not Found
2480
3155
  */
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)),
3156
+ 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
3157
  /**
2483
3158
  * No description
2484
3159
  *
@@ -2539,7 +3214,7 @@ export class Api extends HttpClient {
2539
3214
  * @response `401` `ProblemDetails` Unauthorized
2540
3215
  * @response `403` `ProblemDetails` Forbidden
2541
3216
  */
2542
- createLoanv3: (data, params = {}) => this.request(Object.assign({ path: `/api/loans`, method: "POST", body: data, secure: true, type: "application/json", format: "json" }, params)),
3217
+ createLoanv3: (data, params = {}) => this.request(Object.assign({ path: `/api/loans`, method: "POST", body: data, secure: true, type: ContentType.Json, format: "json" }, params)),
2543
3218
  /**
2544
3219
  * No description
2545
3220
  *
@@ -2550,7 +3225,7 @@ export class Api extends HttpClient {
2550
3225
  * @secure
2551
3226
  * @response `200` `LoanListPaginated` OK
2552
3227
  */
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)),
3228
+ 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
3229
  /**
2555
3230
  * No description
2556
3231
  *
@@ -2566,7 +3241,7 @@ export class Api extends HttpClient {
2566
3241
  * @response `404` `ProblemDetails` Not Found
2567
3242
  * @response `409` `any` Conflict
2568
3243
  */
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)),
3244
+ 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
3245
  /**
2571
3246
  * No description
2572
3247
  *
@@ -2628,7 +3303,7 @@ export class Api extends HttpClient {
2628
3303
  * @response `400` `ProblemDetails` Bad Request
2629
3304
  * @response `404` `ProblemDetails` Not Found
2630
3305
  */
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)),
3306
+ 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
3307
  /**
2633
3308
  * No description
2634
3309
  *
@@ -2640,7 +3315,7 @@ export class Api extends HttpClient {
2640
3315
  * @response `200` `TaskCommentPaginated` OK
2641
3316
  * @response `404` `ProblemDetails` Not Found
2642
3317
  */
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)),
3318
+ 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
3319
  /**
2645
3320
  * No description
2646
3321
  *
@@ -2664,7 +3339,7 @@ export class Api extends HttpClient {
2664
3339
  * @response `201` `TaskComment` Created
2665
3340
  * @response `404` `ProblemDetails` Not Found
2666
3341
  */
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)),
3342
+ 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
3343
  /**
2669
3344
  * No description
2670
3345
  *
@@ -2676,7 +3351,7 @@ export class Api extends HttpClient {
2676
3351
  * @response `200` `TaskComment` OK
2677
3352
  * @response `404` `ProblemDetails` Not Found
2678
3353
  */
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)),
3354
+ 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
3355
  /**
2681
3356
  * No description
2682
3357
  *
@@ -2701,7 +3376,7 @@ export class Api extends HttpClient {
2701
3376
  * @response `404` `ProblemDetails` Not Found
2702
3377
  * @response `422` `UnprocessableEntity` Unprocessable Content
2703
3378
  */
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)),
3379
+ 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
3380
  /**
2706
3381
  * No description
2707
3382
  *
@@ -2738,7 +3413,7 @@ export class Api extends HttpClient {
2738
3413
  * @response `400` `ProblemDetails` Bad Request
2739
3414
  * @response `404` `ProblemDetails` Not Found
2740
3415
  */
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)),
3416
+ 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
3417
  /**
2743
3418
  * @description Search tasks across all loans
2744
3419
  *
@@ -2749,7 +3424,7 @@ export class Api extends HttpClient {
2749
3424
  * @secure
2750
3425
  * @response `200` `UserLoanTaskPaginated` OK
2751
3426
  */
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)),
3427
+ 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
3428
  /**
2754
3429
  * @description Returns task counts grouped by status for loans accessible to the current user based on their role
2755
3430
  *
@@ -2761,7 +3436,7 @@ export class Api extends HttpClient {
2761
3436
  * @response `200` `(LoanTaskStatusSummary)[]` OK
2762
3437
  * @response `422` `UnprocessableEntity` Unprocessable Content
2763
3438
  */
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)),
3439
+ 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
3440
  /**
2766
3441
  * No description
2767
3442
  *
@@ -2809,7 +3484,7 @@ export class Api extends HttpClient {
2809
3484
  * @response `201` `UserLoanTask` Created
2810
3485
  * @response `404` `ProblemDetails` Not Found
2811
3486
  */
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)),
3487
+ 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
3488
  /**
2814
3489
  * No description
2815
3490
  *
@@ -2821,7 +3496,7 @@ export class Api extends HttpClient {
2821
3496
  * @response `201` `(UserLoanTask)[]` Created
2822
3497
  * @response `404` `ProblemDetails` Not Found
2823
3498
  */
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)),
3499
+ 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
3500
  /**
2826
3501
  * No description
2827
3502
  *
@@ -2833,7 +3508,7 @@ export class Api extends HttpClient {
2833
3508
  * @response `200` `UserLoanTask` OK
2834
3509
  * @response `404` `ProblemDetails` Not Found
2835
3510
  */
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)),
3511
+ 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
3512
  /**
2838
3513
  * No description
2839
3514
  *
@@ -2892,7 +3567,7 @@ export class Api extends HttpClient {
2892
3567
  * @secure
2893
3568
  * @response `201` `LoanUser` Created
2894
3569
  */
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)),
3570
+ 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
3571
  /**
2897
3572
  * No description
2898
3573
  *
@@ -2925,7 +3600,7 @@ export class Api extends HttpClient {
2925
3600
  * @secure
2926
3601
  * @response `200` `LosOperationTrackingPaginated` OK
2927
3602
  */
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)),
3603
+ 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
3604
  /**
2930
3605
  * No description
2931
3606
  *
@@ -2948,7 +3623,7 @@ export class Api extends HttpClient {
2948
3623
  * @response `201` `MilestoneConfiguration` Created
2949
3624
  * @response `422` `UnprocessableEntity` Unprocessable Content
2950
3625
  */
2951
- createMilestone: (data, params = {}) => this.request(Object.assign({ path: `/api/milestones`, method: "POST", body: data, secure: true, type: "application/json", format: "json" }, params)),
3626
+ createMilestone: (data, params = {}) => this.request(Object.assign({ path: `/api/milestones`, method: "POST", body: data, secure: true, type: ContentType.Json, format: "json" }, params)),
2952
3627
  /**
2953
3628
  * No description
2954
3629
  *
@@ -2973,7 +3648,7 @@ export class Api extends HttpClient {
2973
3648
  * @response `404` `Error` Not Found
2974
3649
  * @response `422` `UnprocessableEntity` Unprocessable Content
2975
3650
  */
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)),
3651
+ 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
3652
  /**
2978
3653
  * No description
2979
3654
  *
@@ -2999,7 +3674,7 @@ export class Api extends HttpClient {
2999
3674
  * @response `404` `ProblemDetails` Not Found
3000
3675
  * @response `422` `ProblemDetails` Unprocessable Content
3001
3676
  */
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)),
3677
+ 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
3678
  /**
3004
3679
  * No description
3005
3680
  *
@@ -3011,7 +3686,7 @@ export class Api extends HttpClient {
3011
3686
  * @response `200` `MonthlyPaymentCalculator` OK
3012
3687
  * @response `422` `ProblemDetails` Unprocessable Content
3013
3688
  */
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)),
3689
+ 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
3690
  /**
3016
3691
  * No description
3017
3692
  *
@@ -3023,7 +3698,7 @@ export class Api extends HttpClient {
3023
3698
  * @response `200` `AffordabilityCalculator` OK
3024
3699
  * @response `422` `ProblemDetails` Unprocessable Content
3025
3700
  */
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)),
3701
+ 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
3702
  /**
3028
3703
  * No description
3029
3704
  *
@@ -3035,7 +3710,7 @@ export class Api extends HttpClient {
3035
3710
  * @response `200` `LoanComparisonCalculator` OK
3036
3711
  * @response `422` `ProblemDetails` Unprocessable Content
3037
3712
  */
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)),
3713
+ 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
3714
  /**
3040
3715
  * No description
3041
3716
  *
@@ -3047,7 +3722,7 @@ export class Api extends HttpClient {
3047
3722
  * @response `200` `RefinanceCalculator` OK
3048
3723
  * @response `422` `ProblemDetails` Unprocessable Content
3049
3724
  */
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)),
3725
+ 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
3726
  /**
3052
3727
  * No description
3053
3728
  *
@@ -3055,11 +3730,12 @@ export class Api extends HttpClient {
3055
3730
  * @name SendNotificationForLoan
3056
3731
  * @summary Send Notification for Loan
3057
3732
  * @request POST:/api/notifications
3733
+ * @deprecated
3058
3734
  * @secure
3059
3735
  * @response `200` `void` OK
3060
3736
  * @response `422` `UnprocessableEntity` Unprocessable Content
3061
3737
  */
3062
- sendNotificationForLoan: (data, params = {}) => this.request(Object.assign({ path: `/api/notifications`, method: "POST", body: data, secure: true, type: "application/json" }, params)),
3738
+ sendNotificationForLoan: (data, params = {}) => this.request(Object.assign({ path: `/api/notifications`, method: "POST", body: data, secure: true, type: ContentType.Json }, params)),
3063
3739
  /**
3064
3740
  * No description
3065
3741
  *
@@ -3067,11 +3743,12 @@ export class Api extends HttpClient {
3067
3743
  * @name SendTestNotificationForLoan
3068
3744
  * @summary Send Test Notification for Loan
3069
3745
  * @request POST:/api/notifications/test
3746
+ * @deprecated
3070
3747
  * @secure
3071
3748
  * @response `200` `void` OK
3072
3749
  * @response `422` `UnprocessableEntity` Unprocessable Content
3073
3750
  */
3074
- sendTestNotificationForLoan: (data, params = {}) => this.request(Object.assign({ path: `/api/notifications/test`, method: "POST", body: data, secure: true, type: "application/json" }, params)),
3751
+ sendTestNotificationForLoan: (data, params = {}) => this.request(Object.assign({ path: `/api/notifications/test`, method: "POST", body: data, secure: true, type: ContentType.Json }, params)),
3075
3752
  /**
3076
3753
  * No description
3077
3754
  *
@@ -3094,7 +3771,7 @@ export class Api extends HttpClient {
3094
3771
  * @response `201` `NotificationTemplate` Created
3095
3772
  * @response `422` `UnprocessableEntity` Unprocessable Content
3096
3773
  */
3097
- createNotificationTemplate: (data, params = {}) => this.request(Object.assign({ path: `/api/notification-templates`, method: "POST", body: data, secure: true, type: "application/json", format: "json" }, params)),
3774
+ createNotificationTemplate: (data, params = {}) => this.request(Object.assign({ path: `/api/notification-templates`, method: "POST", body: data, secure: true, type: ContentType.Json, format: "json" }, params)),
3098
3775
  /**
3099
3776
  * No description
3100
3777
  *
@@ -3105,7 +3782,7 @@ export class Api extends HttpClient {
3105
3782
  * @secure
3106
3783
  * @response `200` `NotificationTemplateBasePaginated` OK
3107
3784
  */
3108
- 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)),
3785
+ 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)),
3109
3786
  /**
3110
3787
  * No description
3111
3788
  *
@@ -3128,7 +3805,7 @@ export class Api extends HttpClient {
3128
3805
  * @response `200` `NotificationTemplate` OK
3129
3806
  * @response `422` `UnprocessableEntity` Unprocessable Content
3130
3807
  */
3131
- 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)),
3808
+ 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)),
3132
3809
  /**
3133
3810
  * No description
3134
3811
  *
@@ -3172,7 +3849,7 @@ export class Api extends HttpClient {
3172
3849
  * @secure
3173
3850
  * @response `200` `NotificationTemplateVersion` OK
3174
3851
  */
3175
- 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)),
3852
+ 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)),
3176
3853
  /**
3177
3854
  * No description
3178
3855
  *
@@ -3194,7 +3871,7 @@ export class Api extends HttpClient {
3194
3871
  * @secure
3195
3872
  * @response `200` `NotificationTemplateVersion` OK
3196
3873
  */
3197
- 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)),
3874
+ 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)),
3198
3875
  /**
3199
3876
  * No description
3200
3877
  *
@@ -3227,7 +3904,7 @@ export class Api extends HttpClient {
3227
3904
  * @secure
3228
3905
  * @response `200` `BranchUserPaginated` OK
3229
3906
  */
3230
- 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)),
3907
+ 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)),
3231
3908
  /**
3232
3909
  * No description
3233
3910
  *
@@ -3250,7 +3927,7 @@ export class Api extends HttpClient {
3250
3927
  * @response `200` `SiteConfiguration` OK
3251
3928
  * @response `422` `UnprocessableEntity` Unprocessable Content
3252
3929
  */
3253
- 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)),
3930
+ 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)),
3254
3931
  /**
3255
3932
  * No description
3256
3933
  *
@@ -3273,7 +3950,7 @@ export class Api extends HttpClient {
3273
3950
  * @response `200` `SiteConfiguration` OK
3274
3951
  * @response `422` `UnprocessableEntity` Unprocessable Content
3275
3952
  */
3276
- 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)),
3953
+ 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)),
3277
3954
  /**
3278
3955
  * No description
3279
3956
  *
@@ -3297,7 +3974,7 @@ export class Api extends HttpClient {
3297
3974
  * @response `200` `SiteConfigurationByUrl` OK
3298
3975
  * @response `422` `UnprocessableEntity` Unprocessable Content
3299
3976
  */
3300
- searchSiteConfigurationByUrl: (data, params = {}) => this.request(Object.assign({ path: `/api/site-configurations/url`, method: "POST", body: data, secure: true, type: "application/json", format: "json" }, params)),
3977
+ searchSiteConfigurationByUrl: (data, params = {}) => this.request(Object.assign({ path: `/api/site-configurations/url`, method: "POST", body: data, secure: true, type: ContentType.Json, format: "json" }, params)),
3301
3978
  /**
3302
3979
  * No description
3303
3980
  *
@@ -3322,7 +3999,7 @@ export class Api extends HttpClient {
3322
3999
  * @response `200` `SiteConfiguration` OK
3323
4000
  * @response `422` `UnprocessableEntity` Unprocessable Content
3324
4001
  */
3325
- searchSiteConfigurationByLoanOfficerUser: (data, params = {}) => this.request(Object.assign({ path: `/api/site-configurations/louser`, method: "POST", body: data, secure: true, type: "application/json", format: "json" }, params)),
4002
+ searchSiteConfigurationByLoanOfficerUser: (data, params = {}) => this.request(Object.assign({ path: `/api/site-configurations/louser`, method: "POST", body: data, secure: true, type: ContentType.Json, format: "json" }, params)),
3326
4003
  /**
3327
4004
  * No description
3328
4005
  *
@@ -3346,7 +4023,7 @@ export class Api extends HttpClient {
3346
4023
  * @response `200` `SiteConfigurationSummaryPaginated` OK
3347
4024
  * @response `422` `UnprocessableEntity` Unprocessable Content
3348
4025
  */
3349
- 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)),
4026
+ 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)),
3350
4027
  /**
3351
4028
  * No description
3352
4029
  *
@@ -3438,7 +4115,7 @@ export class Api extends HttpClient {
3438
4115
  * @secure
3439
4116
  * @response `200` `GetForm` OK
3440
4117
  */
3441
- getFormBySiteConfigurationSlug: (data, params = {}) => this.request(Object.assign({ path: `/api/site-forms`, method: "POST", body: data, secure: true, type: "application/json", format: "json" }, params)),
4118
+ getFormBySiteConfigurationSlug: (data, params = {}) => this.request(Object.assign({ path: `/api/site-forms`, method: "POST", body: data, secure: true, type: ContentType.Json, format: "json" }, params)),
3442
4119
  /**
3443
4120
  * No description
3444
4121
  *
@@ -3461,7 +4138,7 @@ export class Api extends HttpClient {
3461
4138
  * @response `200` `(SocialSurveyRecord)[]` OK
3462
4139
  * @response `422` `UnprocessableEntity` Unprocessable Content
3463
4140
  */
3464
- getSurveysByUser: (data, params = {}) => this.request(Object.assign({ path: `/api/surveys`, method: "POST", body: data, secure: true, type: "application/json", format: "json" }, params)),
4141
+ getSurveysByUser: (data, params = {}) => this.request(Object.assign({ path: `/api/surveys`, method: "POST", body: data, secure: true, type: ContentType.Json, format: "json" }, params)),
3465
4142
  /**
3466
4143
  * No description
3467
4144
  *
@@ -3484,7 +4161,7 @@ export class Api extends HttpClient {
3484
4161
  * @secure
3485
4162
  * @response `201` `Task` Created
3486
4163
  */
3487
- createTask: (data, params = {}) => this.request(Object.assign({ path: `/api/tasks`, method: "POST", body: data, secure: true, type: "application/json", format: "json" }, params)),
4164
+ createTask: (data, params = {}) => this.request(Object.assign({ path: `/api/tasks`, method: "POST", body: data, secure: true, type: ContentType.Json, format: "json" }, params)),
3488
4165
  /**
3489
4166
  * No description
3490
4167
  *
@@ -3508,7 +4185,7 @@ export class Api extends HttpClient {
3508
4185
  * @response `200` `Task` OK
3509
4186
  * @response `404` `ProblemDetails` Not Found
3510
4187
  */
3511
- replaceTask: (id, data, params = {}) => this.request(Object.assign({ path: `/api/tasks/${id}`, method: "PUT", body: data, secure: true, type: "application/json", format: "json" }, params)),
4188
+ replaceTask: (id, data, params = {}) => this.request(Object.assign({ path: `/api/tasks/${id}`, method: "PUT", body: data, secure: true, type: ContentType.Json, format: "json" }, params)),
3512
4189
  /**
3513
4190
  * No description
3514
4191
  *
@@ -3531,7 +4208,7 @@ export class Api extends HttpClient {
3531
4208
  * @secure
3532
4209
  * @response `200` `TaskPaginated` OK
3533
4210
  */
3534
- 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)),
4211
+ 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)),
3535
4212
  /**
3536
4213
  * No description
3537
4214
  *
@@ -3541,7 +4218,7 @@ export class Api extends HttpClient {
3541
4218
  * @secure
3542
4219
  * @response `200` `void` OK
3543
4220
  */
3544
- integrationsLosLoansCreate: (data, params = {}) => this.request(Object.assign({ path: `/api/integrations/los/loans`, method: "POST", body: data, secure: true, type: "application/json" }, params)),
4221
+ integrationsLosLoansCreate: (data, params = {}) => this.request(Object.assign({ path: `/api/integrations/los/loans`, method: "POST", body: data, secure: true, type: ContentType.Json }, params)),
3545
4222
  /**
3546
4223
  * No description
3547
4224
  *
@@ -3552,7 +4229,7 @@ export class Api extends HttpClient {
3552
4229
  * @secure
3553
4230
  * @response `200` `EncompassRequestLogPaginated` OK
3554
4231
  */
3555
- 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)),
4232
+ 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)),
3556
4233
  /**
3557
4234
  * No description
3558
4235
  *
@@ -3575,7 +4252,7 @@ export class Api extends HttpClient {
3575
4252
  * @secure
3576
4253
  * @response `201` `LosCredentials` Created
3577
4254
  */
3578
- createEncompassCredentials: (data, params = {}) => this.request(Object.assign({ path: `/api/los/encompass/credentials`, method: "POST", body: data, secure: true, type: "application/json", format: "json" }, params)),
4255
+ createEncompassCredentials: (data, params = {}) => this.request(Object.assign({ path: `/api/los/encompass/credentials`, method: "POST", body: data, secure: true, type: ContentType.Json, format: "json" }, params)),
3579
4256
  /**
3580
4257
  * No description
3581
4258
  *
@@ -3586,7 +4263,7 @@ export class Api extends HttpClient {
3586
4263
  * @secure
3587
4264
  * @response `200` `EncompassCredentialsDetail` OK
3588
4265
  */
3589
- updateEncompassCredentials: (data, params = {}) => this.request(Object.assign({ path: `/api/los/encompass/credentials`, method: "PUT", body: data, secure: true, type: "application/json", format: "json" }, params)),
4266
+ updateEncompassCredentials: (data, params = {}) => this.request(Object.assign({ path: `/api/los/encompass/credentials`, method: "PUT", body: data, secure: true, type: ContentType.Json, format: "json" }, params)),
3590
4267
  /**
3591
4268
  * No description
3592
4269
  *
@@ -3608,7 +4285,7 @@ export class Api extends HttpClient {
3608
4285
  * @secure
3609
4286
  * @response `201` `LosWebhook` Created
3610
4287
  */
3611
- createEncompassWebhook: (data, params = {}) => this.request(Object.assign({ path: `/api/los/encompass/webhooks`, method: "POST", body: data, secure: true, type: "application/json", format: "json" }, params)),
4288
+ createEncompassWebhook: (data, params = {}) => this.request(Object.assign({ path: `/api/los/encompass/webhooks`, method: "POST", body: data, secure: true, type: ContentType.Json, format: "json" }, params)),
3612
4289
  /**
3613
4290
  * No description
3614
4291
  *
@@ -3630,7 +4307,7 @@ export class Api extends HttpClient {
3630
4307
  * @secure
3631
4308
  * @response `200` `LosSyncPaginated` OK
3632
4309
  */
3633
- 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)),
4310
+ 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)),
3634
4311
  /**
3635
4312
  * No description
3636
4313
  *
@@ -3713,7 +4390,7 @@ export class Api extends HttpClient {
3713
4390
  * @response `201` `UserDevice` Created
3714
4391
  * @response `400` `ProblemDetails` Bad Request
3715
4392
  */
3716
- createUserDevice: (data, params = {}) => this.request(Object.assign({ path: `/api/userdevices`, method: "POST", body: data, secure: true, type: "application/json", format: "json" }, params)),
4393
+ createUserDevice: (data, params = {}) => this.request(Object.assign({ path: `/api/userdevices`, method: "POST", body: data, secure: true, type: ContentType.Json, format: "json" }, params)),
3717
4394
  /**
3718
4395
  * No description
3719
4396
  *
@@ -3758,7 +4435,7 @@ export class Api extends HttpClient {
3758
4435
  * @secure
3759
4436
  * @response `200` `UserDraft` OK
3760
4437
  */
3761
- 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)),
4438
+ 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)),
3762
4439
  /**
3763
4440
  * No description
3764
4441
  *
@@ -3791,7 +4468,7 @@ export class Api extends HttpClient {
3791
4468
  * @secure
3792
4469
  * @response `200` `UserGroupAccessScope` OK
3793
4470
  */
3794
- 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)),
4471
+ 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)),
3795
4472
  /**
3796
4473
  * No description
3797
4474
  *
@@ -3824,7 +4501,7 @@ export class Api extends HttpClient {
3824
4501
  * @secure
3825
4502
  * @response `200` `UserGroupMember` OK
3826
4503
  */
3827
- 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)),
4504
+ 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)),
3828
4505
  /**
3829
4506
  * No description
3830
4507
  *
@@ -3868,7 +4545,7 @@ export class Api extends HttpClient {
3868
4545
  * @secure
3869
4546
  * @response `200` `UserGroup` OK
3870
4547
  */
3871
- 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)),
4548
+ 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)),
3872
4549
  /**
3873
4550
  * No description
3874
4551
  *
@@ -3890,7 +4567,7 @@ export class Api extends HttpClient {
3890
4567
  * @secure
3891
4568
  * @response `201` `UserGroup` Created
3892
4569
  */
3893
- createUserGroup: (data, params = {}) => this.request(Object.assign({ path: `/api/user-groups`, method: "POST", body: data, secure: true, type: "application/json", format: "json" }, params)),
4570
+ createUserGroup: (data, params = {}) => this.request(Object.assign({ path: `/api/user-groups`, method: "POST", body: data, secure: true, type: ContentType.Json, format: "json" }, params)),
3894
4571
  /**
3895
4572
  * No description
3896
4573
  *
@@ -3903,7 +4580,7 @@ export class Api extends HttpClient {
3903
4580
  * @response `404` `Error` Not Found
3904
4581
  * @response `422` `UnprocessableEntity` Unprocessable Content
3905
4582
  */
3906
- requestImpersonation: (data, params = {}) => this.request(Object.assign({ path: `/api/users/impersonation/request`, method: "POST", body: data, secure: true, type: "application/json" }, params)),
4583
+ requestImpersonation: (data, params = {}) => this.request(Object.assign({ path: `/api/users/impersonation/request`, method: "POST", body: data, secure: true, type: ContentType.Json }, params)),
3907
4584
  /**
3908
4585
  * No description
3909
4586
  *
@@ -3916,7 +4593,7 @@ export class Api extends HttpClient {
3916
4593
  * @response `404` `Error` Not Found
3917
4594
  * @response `422` `UnprocessableEntity` Unprocessable Content
3918
4595
  */
3919
- allowImpersonation: (data, params = {}) => this.request(Object.assign({ path: `/api/users/impersonation/allow`, method: "POST", body: data, secure: true, type: "application/json" }, params)),
4596
+ allowImpersonation: (data, params = {}) => this.request(Object.assign({ path: `/api/users/impersonation/allow`, method: "POST", body: data, secure: true, type: ContentType.Json }, params)),
3920
4597
  /**
3921
4598
  * No description
3922
4599
  *
@@ -3966,7 +4643,7 @@ export class Api extends HttpClient {
3966
4643
  * @response `404` `Error` Not Found
3967
4644
  * @response `422` `UnprocessableEntity` Unprocessable Content
3968
4645
  */
3969
- forceImpersonation: (data, params = {}) => this.request(Object.assign({ path: `/api/users/impersonation/force`, method: "POST", body: data, secure: true, type: "application/json" }, params)),
4646
+ forceImpersonation: (data, params = {}) => this.request(Object.assign({ path: `/api/users/impersonation/force`, method: "POST", body: data, secure: true, type: ContentType.Json }, params)),
3970
4647
  /**
3971
4648
  * No description
3972
4649
  *
@@ -3990,7 +4667,7 @@ export class Api extends HttpClient {
3990
4667
  * @response `204` `void` No Content
3991
4668
  * @response `422` `UnprocessableEntity` Unprocessable Content
3992
4669
  */
3993
- inviteUser: (data, params = {}) => this.request(Object.assign({ path: `/api/users/invites`, method: "POST", body: data, secure: true, type: "application/json" }, params)),
4670
+ inviteUser: (data, params = {}) => this.request(Object.assign({ path: `/api/users/invites`, method: "POST", body: data, secure: true, type: ContentType.Json }, params)),
3994
4671
  /**
3995
4672
  * No description
3996
4673
  *
@@ -4037,7 +4714,7 @@ export class Api extends HttpClient {
4037
4714
  * @secure
4038
4715
  * @response `204` `void` No Content
4039
4716
  */
4040
- createUserRelation: (userId, data, params = {}) => this.request(Object.assign({ path: `/api/users/${userId}/relations`, method: "POST", body: data, secure: true, type: "application/json" }, params)),
4717
+ createUserRelation: (userId, data, params = {}) => this.request(Object.assign({ path: `/api/users/${userId}/relations`, method: "POST", body: data, secure: true, type: ContentType.Json }, params)),
4041
4718
  /**
4042
4719
  * No description
4043
4720
  *
@@ -4082,7 +4759,7 @@ export class Api extends HttpClient {
4082
4759
  * @response `200` `DetailedUser` OK
4083
4760
  * @response `422` `UnprocessableEntity` Unprocessable Content
4084
4761
  */
4085
- createUser: (data, params = {}) => this.request(Object.assign({ path: `/api/users`, method: "POST", body: data, secure: true, type: "application/json", format: "json" }, params)),
4762
+ createUser: (data, params = {}) => this.request(Object.assign({ path: `/api/users`, method: "POST", body: data, secure: true, type: ContentType.Json, format: "json" }, params)),
4086
4763
  /**
4087
4764
  * No description
4088
4765
  *
@@ -4093,7 +4770,7 @@ export class Api extends HttpClient {
4093
4770
  * @secure
4094
4771
  * @response `200` `UserPaginated` OK
4095
4772
  */
4096
- 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)),
4773
+ 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)),
4097
4774
  /**
4098
4775
  * No description
4099
4776
  *
@@ -4104,7 +4781,7 @@ export class Api extends HttpClient {
4104
4781
  * @secure
4105
4782
  * @response `200` `AdminAccessUser` OK
4106
4783
  */
4107
- getUserByEmail: (data, params = {}) => this.request(Object.assign({ path: `/api/users/byemail`, method: "POST", body: data, secure: true, type: "application/json", format: "json" }, params)),
4784
+ getUserByEmail: (data, params = {}) => this.request(Object.assign({ path: `/api/users/byemail`, method: "POST", body: data, secure: true, type: ContentType.Json, format: "json" }, params)),
4108
4785
  /**
4109
4786
  * No description
4110
4787
  *
@@ -4116,7 +4793,7 @@ export class Api extends HttpClient {
4116
4793
  * @response `200` `User` OK
4117
4794
  * @response `422` `UnprocessableEntity` Unprocessable Content
4118
4795
  */
4119
- signUp: (data, params = {}) => this.request(Object.assign({ path: `/api/users/register`, method: "POST", body: data, secure: true, type: "application/json", format: "json" }, params)),
4796
+ signUp: (data, params = {}) => this.request(Object.assign({ path: `/api/users/register`, method: "POST", body: data, secure: true, type: ContentType.Json, format: "json" }, params)),
4120
4797
  /**
4121
4798
  * No description
4122
4799
  *
@@ -4128,7 +4805,7 @@ export class Api extends HttpClient {
4128
4805
  * @response `200` `DetailedUser` OK
4129
4806
  * @response `422` `UnprocessableEntity` Unprocessable Content
4130
4807
  */
4131
- replaceUser: (id, data, params = {}) => this.request(Object.assign({ path: `/api/users/${id}`, method: "PUT", body: data, secure: true, type: "application/json", format: "json" }, params)),
4808
+ replaceUser: (id, data, params = {}) => this.request(Object.assign({ path: `/api/users/${id}`, method: "PUT", body: data, secure: true, type: ContentType.Json, format: "json" }, params)),
4132
4809
  /**
4133
4810
  * No description
4134
4811
  *
@@ -4162,7 +4839,7 @@ export class Api extends HttpClient {
4162
4839
  * @response `204` `void` No Content
4163
4840
  * @response `422` `UnprocessableEntity` Unprocessable Content
4164
4841
  */
4165
- changePassword: (data, params = {}) => this.request(Object.assign({ path: `/api/users/change-password`, method: "POST", body: data, secure: true, type: "application/json" }, params)),
4842
+ changePassword: (data, params = {}) => this.request(Object.assign({ path: `/api/users/change-password`, method: "POST", body: data, secure: true, type: ContentType.Json }, params)),
4166
4843
  /**
4167
4844
  * No description
4168
4845
  *
@@ -4174,7 +4851,7 @@ export class Api extends HttpClient {
4174
4851
  * @response `204` `void` No Content
4175
4852
  * @response `422` `UnprocessableEntity` Unprocessable Content
4176
4853
  */
4177
- verifyPassword: (data, params = {}) => this.request(Object.assign({ path: `/api/users/verify-password`, method: "POST", body: data, secure: true, type: "application/json" }, params)),
4854
+ verifyPassword: (data, params = {}) => this.request(Object.assign({ path: `/api/users/verify-password`, method: "POST", body: data, secure: true, type: ContentType.Json }, params)),
4178
4855
  /**
4179
4856
  * No description
4180
4857
  *
@@ -4186,7 +4863,7 @@ export class Api extends HttpClient {
4186
4863
  * @response `204` `void` No Content
4187
4864
  * @response `422` `UnprocessableEntity` Unprocessable Content
4188
4865
  */
4189
- overridePassword: (id, data, params = {}) => this.request(Object.assign({ path: `/api/users/${id}/override-password`, method: "POST", body: data, secure: true, type: "application/json" }, params)),
4866
+ overridePassword: (id, data, params = {}) => this.request(Object.assign({ path: `/api/users/${id}/override-password`, method: "POST", body: data, secure: true, type: ContentType.Json }, params)),
4190
4867
  /**
4191
4868
  * No description
4192
4869
  *
@@ -4198,7 +4875,7 @@ export class Api extends HttpClient {
4198
4875
  * @response `204` `void` No Content
4199
4876
  * @response `422` `UnprocessableEntity` Unprocessable Content
4200
4877
  */
4201
- forgotPassword: (data, params = {}) => this.request(Object.assign({ path: `/api/users/forgot-password`, method: "POST", body: data, secure: true, type: "application/json" }, params)),
4878
+ forgotPassword: (data, params = {}) => this.request(Object.assign({ path: `/api/users/forgot-password`, method: "POST", body: data, secure: true, type: ContentType.Json }, params)),
4202
4879
  /**
4203
4880
  * No description
4204
4881
  *
@@ -4222,7 +4899,7 @@ export class Api extends HttpClient {
4222
4899
  * @response `204` `void` No Content
4223
4900
  * @response `422` `UnprocessableEntity` Unprocessable Content
4224
4901
  */
4225
- verifyUserMobilePhone: (data, params = {}) => this.request(Object.assign({ path: `/api/users/mobile-phone/verify-code`, method: "PUT", body: data, secure: true, type: "application/json" }, params)),
4902
+ verifyUserMobilePhone: (data, params = {}) => this.request(Object.assign({ path: `/api/users/mobile-phone/verify-code`, method: "PUT", body: data, secure: true, type: ContentType.Json }, params)),
4226
4903
  /**
4227
4904
  * No description
4228
4905
  *
@@ -4245,7 +4922,7 @@ export class Api extends HttpClient {
4245
4922
  * @secure
4246
4923
  * @response `200` `DetailedUser` OK
4247
4924
  */
4248
- replaceMe: (data, params = {}) => this.request(Object.assign({ path: `/api/users/me`, method: "PUT", body: data, secure: true, type: "application/json", format: "json" }, params)),
4925
+ replaceMe: (data, params = {}) => this.request(Object.assign({ path: `/api/users/me`, method: "PUT", body: data, secure: true, type: ContentType.Json, format: "json" }, params)),
4249
4926
  /**
4250
4927
  * @description Update the phone number If changed will send a verification code to the new number
4251
4928
  *
@@ -4256,7 +4933,7 @@ export class Api extends HttpClient {
4256
4933
  * @secure
4257
4934
  * @response `204` `DetailedUser` No Content
4258
4935
  */
4259
- 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)),
4936
+ 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)),
4260
4937
  /**
4261
4938
  * No description
4262
4939
  *
@@ -4300,7 +4977,7 @@ export class Api extends HttpClient {
4300
4977
  * @secure
4301
4978
  * @response `204` `void` No Content
4302
4979
  */
4303
- deleteMe: (data, params = {}) => this.request(Object.assign({ path: `/api/users/me/delete`, method: "POST", body: data, secure: true, type: "application/json" }, params)),
4980
+ deleteMe: (data, params = {}) => this.request(Object.assign({ path: `/api/users/me/delete`, method: "POST", body: data, secure: true, type: ContentType.Json }, params)),
4304
4981
  /**
4305
4982
  * No description
4306
4983
  *
@@ -4311,7 +4988,7 @@ export class Api extends HttpClient {
4311
4988
  * @secure
4312
4989
  * @response `200` `GetForm` OK
4313
4990
  */
4314
- getWorkflow: (data, params = {}) => this.request(Object.assign({ path: `/api/workflow`, method: "POST", body: data, secure: true, type: "application/json", format: "json" }, params)),
4991
+ getWorkflow: (data, params = {}) => this.request(Object.assign({ path: `/api/workflow`, method: "POST", body: data, secure: true, type: ContentType.Json, format: "json" }, params)),
4315
4992
  };
4316
4993
  this.sso = {
4317
4994
  /**