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

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.d.ts CHANGED
@@ -28,7 +28,7 @@ export type LoanNameSuffix = "Jr" | "Sr" | "II" | "III" | "IV" | "V" | "VI" | "V
28
28
  export type LoanNamePrefix = "Mr" | "Mrs" | "Ms";
29
29
  export type LoanMilitaryServiceType = "Current" | "RetiredDischargedSeparated" | "NonActivatedNationalGuard" | "SurvivingSpouse";
30
30
  export type LoanMaritalStatus = "Married" | "Separated" | "Unmarried";
31
- export type LoanLogType = "Loan" | "Queue" | "POSFlagChanged" | "Verification" | "DocumentUploaded" | "LoanCreated" | "WorkflowSubmitted" | "UserInvitationSent" | "CoBorrowerAdded" | "TaskCompleted" | "LoanStatusChanged" | "Consent" | "SensitiveDataPurge" | "ClosingDateUpdated" | "ConsumerConnectAssociation" | "TaskReminderSent";
31
+ export type LoanLogType = "Loan" | "Queue" | "POSFlagChanged" | "Verification" | "DocumentUploaded" | "LoanCreated" | "WorkflowSubmitted" | "UserInvitationSent" | "CoBorrowerAdded" | "TaskCompleted" | "LoanStatusChanged" | "Consent" | "SensitiveDataPurge" | "ClosingDateUpdated" | "ConsumerConnectAssociation" | "TaskReminderSent" | "DocumentClassified";
32
32
  export type LoanLienPosition = "First" | "Subordinate";
33
33
  export type LoanLiabilityType = "Revolving" | "Installment" | "Open30Day" | "Lease" | "Other";
34
34
  export type LoanLanguagePreference = "English" | "Chinese" | "Korean" | "Spanish" | "Tagalog" | "Vietnamese" | "Other";
@@ -41,6 +41,7 @@ export type LoanHispanicEthnicity = "Mexican" | "PuertoRican" | "Cuban" | "Other
41
41
  export type LoanGiftSource = "CommunityNonProfit" | "Employer" | "FederalAgency" | "LocalAgency" | "Relative" | "ReligiousNonProfit" | "StateAgency" | "UnmarriedPartner" | "Lender" | "Other";
42
42
  export type LoanGiftAssetType = "Cash" | "Asset" | "Equity";
43
43
  export type LoanGenderType = "Male" | "Female";
44
+ export type LoanDocumentType = "W2" | "Paystub" | "Form1099" | "Form1099Int" | "Form1099Misc" | "Form1099Nec" | "Form1099R" | "Form1099G" | "Form1099Div" | "Form1099Ssa" | "FederalTaxReturn1040" | "TaxReturnScheduleC" | "TaxReturnScheduleD" | "TaxReturnScheduleE" | "Form1065" | "Form1120" | "Form1120S" | "ProfitAndLossStatement" | "VerificationOfEmployment" | "BankStatement" | "InvestmentStatement" | "CreditCardStatement" | "MortgageStatement" | "PayoffStatement" | "HoaDocuments" | "UtilityBill" | "IdentityDocument" | "DemographicAddendum" | "Ssa89" | "Vba260551" | "Hud92900B" | "Check" | "Invoice" | "Receipt" | "LoanApplication1003" | "UnderwritingTransmittal1008" | "Other" | "SalesContract" | "TitleCommitment" | "DriversLicense" | "VerificationOfIncome" | "VerificationOfAssets" | "FloodCertificate" | "FraudReport" | "AddendumToSalesContract" | "GiftLetter" | "CpaLetter" | "TaxBill" | "CondoQuestionnaire" | "CondoBudget" | "CondoBylaws" | "RentalAgreements" | "Lease" | "HazardInsurance" | "VaCertificateOfEligibility" | "Appraisal" | "CreditReport" | "CondoMasterPolicy";
44
45
  export type LoanDocumentFolderPermissionLevel = "None" | "Read" | "Write" | "Manage";
45
46
  export type LoanCitizenship = "USCitizen" | "PermanentResidentAlien" | "NonPermanentResidentAlien";
46
47
  export type LoanBankruptcyType = "Chapter7" | "Chapter11" | "Chapter12" | "Chapter13";
@@ -62,12 +63,25 @@ export type CustomFieldAccessLevel = "NoAccess" | "ReadOnly" | "ReadWrite";
62
63
  export type ConsentType = "Econsent" | "CreditAuthorization" | "Tcpa";
63
64
  export type ConsentSource = "TheBigPOS" | "ConsumerConnect";
64
65
  export type ConsentLosSyncStatus = "NotStarted" | "Failed" | "Success";
66
+ export type ClassificationSource = "Textract" | "Llm" | "Manual";
65
67
  export type BranchType = "Mortgage" | "RealEstate";
66
68
  export type BorrowerType = "Borrower" | "CoBorrower" | "Unknown";
67
69
  export type BorrowerRelationship = "NotApplicable" | "Spouse" | "NonSpouse";
68
70
  export type BorrowerApplicationStatus = "Draft" | "Complete";
69
71
  export type BillingType = "ClosedLoan" | "LoanOfficer";
70
72
  export type AuditChangeType = "Created" | "Modified" | "SoftDeleted" | "HardDeleted" | "Restored" | "Deactivated" | "Reactivated";
73
+ export type AiUrlSourceScope = "FullDomain" | "SpecificPath";
74
+ export type AiUrlSourceCategory = "Regulatory" | "Guidelines" | "MarketData" | "Custom";
75
+ export type AiStructuredDataType = "Table" | "DocumentAnalysis" | "DocumentList" | "GeneratedDocument";
76
+ export type AiQueryTemplateName = "PipelineSummary" | "LoanDetail" | "LoansClosing" | "StaleLoans" | "LoansByType" | "LoansByOfficer" | "AverageLoanAmount" | "LockedVsUnlocked" | "LoansByPurpose" | "LoansByPropertyState" | "LoansByRate" | "DtiLtvRisk" | "DisclosureTracking" | "NewLoans" | "ExpiringLocks" | "ClosedLoans" | "VerificationGaps" | "CreditScoreDistribution" | "OccupancyMix" | "PropertyTypeMix" | "FirstTimeHomebuyer" | "SelfEmployed" | "ReferralSourcePerformance" | "AmortizationMix" | "TimeToClose" | "ConversionFunnel" | "MonthlyProduction" | "PaymentAffordability" | "DownPaymentCashToClose" | "ApprovalExpirations" | "ApplicationCompleteness" | "LosSyncHealth" | "DeclarationsRisk" | "MilitaryEligibility";
77
+ export type AiPromptCategory = "DocumentAnalysis" | "DataQuery" | "General" | "Action";
78
+ export type AiOutputType = "Text" | "Document";
79
+ export type AiIntent = "Greeting" | "Invalid" | "Relevant" | "LoanSpecific" | "DocumentList" | "GeneralKnowledge" | "Blocked" | "Action" | "ConversationMeta" | "Capabilities" | "UsageReport";
80
+ export type AiGuardrailCategory = "ContentSafety" | "PromptInjection" | "Privacy" | "Legal";
81
+ export type AiDisplayHint = "Table" | "SummaryCards" | "RankedList" | "Comparison" | "ExecutiveBrief";
82
+ export type AiConfigEntityType = "Prompt" | "Guardrail" | "CanonicalField" | "UrlSource" | "AdminSettings" | "AccountTokenSettings" | "AccountSettings";
83
+ export type AiConfigChangeAction = "Created" | "Updated" | "Deleted" | "Toggled";
84
+ export type AiAuditEventType = "Error" | "GuardrailBlockedPre" | "GuardrailPassedPre" | "IntentClassified" | "LoanResolvedFromMessage" | "DocumentNotFound" | "GuardrailBlockedPost" | "GuardrailPassedPost" | "DocumentAnalyzed" | "DocumentList" | "DocumentResolutionAmbiguous" | "ResponseGenerated" | "ParametersExtracted" | "QueryExecuted" | "LoanContextNotFound" | "LoanContextLoaded" | "GuardrailBlockedBedrock" | "PromptMatched" | "QueryCondensed" | "IntentParseFailed" | "LoanSearchTermDiscarded" | "CanonicalFieldsSelected";
71
85
  export type AddressFamily = "Unspecified" | "Unix" | "InterNetwork" | "ImpLink" | "Pup" | "Chaos" | "NS" | "Ipx" | "Iso" | "Osi" | "Ecma" | "DataKit" | "Ccitt" | "Sna" | "DecNet" | "DataLink" | "Lat" | "HyperChannel" | "AppleTalk" | "NetBios" | "VoiceView" | "FireFox" | "Banyan" | "Atm" | "InterNetworkV6" | "Cluster" | "Ieee12844" | "Irda" | "NetworkDesigners" | "Max" | "Packet" | "ControllerAreaNetwork" | "Unknown";
72
86
  export interface ASOSettings {
73
87
  enabled: boolean;
@@ -118,7 +132,7 @@ export interface AccountBilling {
118
132
  contractedRate: number;
119
133
  }
120
134
  export interface AccountBillingRequest {
121
- billingType: AccountBillingRequestBillingTypeEnum;
135
+ billingType: "ClosedLoan" | "LoanOfficer";
122
136
  /** @format double */
123
137
  contractedRate: number;
124
138
  }
@@ -147,11 +161,13 @@ export interface AccountSettings {
147
161
  smsNumber?: string | null;
148
162
  ssoHostOverride?: string | null;
149
163
  isEarlyAdopter: boolean;
164
+ isAIEnabled: boolean;
150
165
  }
151
166
  export interface AccountSettingsRequest {
152
167
  isSmsEnabled: boolean;
153
168
  smsNumber?: string | null;
154
169
  isEarlyAdopter: boolean;
170
+ isAIEnabled: boolean;
155
171
  }
156
172
  export interface Action {
157
173
  /** @format uuid */
@@ -160,7 +176,7 @@ export interface Action {
160
176
  comments?: string | null;
161
177
  /** @format uuid */
162
178
  siteConfigurationID: string;
163
- applicationSettings?: any | null;
179
+ applicationSettings?: any;
164
180
  surveysToken?: string | null;
165
181
  }
166
182
  export interface Address {
@@ -295,6 +311,404 @@ export interface AffordabilityCalculatorRequest {
295
311
  /** @format double */
296
312
  annualInsurance: number;
297
313
  }
314
+ export interface AiAccountSettings {
315
+ bedrockModelId: string;
316
+ isUsingAppDefault: boolean;
317
+ }
318
+ export interface AiAccountSettingsRequest {
319
+ bedrockModelId?: string | null;
320
+ }
321
+ export interface AiAccountUsageOverview {
322
+ /** @format uuid */
323
+ accountId: string;
324
+ accountName: string;
325
+ /** @format int32 */
326
+ limit: number;
327
+ /** @format int64 */
328
+ used: number;
329
+ /** @format int64 */
330
+ remaining: number;
331
+ /** @format double */
332
+ percentUsed: number;
333
+ limitReached: boolean;
334
+ /** @format date-time */
335
+ windowStart: string;
336
+ /** @format date-time */
337
+ windowEnd: string;
338
+ }
339
+ export interface AiAccountUsageOverviewPaginated {
340
+ rows: AiAccountUsageOverview[];
341
+ pagination: Pagination;
342
+ /** @format int64 */
343
+ count: number;
344
+ }
345
+ export interface AiAdminSettings {
346
+ bedrockModelId: string;
347
+ /** @format int32 */
348
+ maxTokens: number;
349
+ /** @format double */
350
+ temperature: number;
351
+ /** @format int32 */
352
+ conversationContextTurns: number;
353
+ /** @format int32 */
354
+ requestTimeoutSeconds: number;
355
+ /** @format int32 */
356
+ defaultTokenLimit: number;
357
+ bedrockRegion: string;
358
+ }
359
+ export interface AiAdminSettingsRequest {
360
+ bedrockModelId?: string | null;
361
+ /** @format int32 */
362
+ maxTokens?: number | null;
363
+ /** @format double */
364
+ temperature?: number | null;
365
+ /** @format int32 */
366
+ conversationContextTurns?: number | null;
367
+ /** @format int32 */
368
+ requestTimeoutSeconds?: number | null;
369
+ /** @format int32 */
370
+ defaultTokenLimit?: number | null;
371
+ }
372
+ export interface AiAdminStats {
373
+ /** @format int32 */
374
+ totalRequests: number;
375
+ /** @format int32 */
376
+ blockedRequests: number;
377
+ /** @format double */
378
+ averageResponseTimeMs: number;
379
+ /** @format int32 */
380
+ totalInputTokens: number;
381
+ /** @format int32 */
382
+ totalOutputTokens: number;
383
+ /** @format int32 */
384
+ totalTokens: number;
385
+ intentDistribution: Record<string, number>;
386
+ topQueryTemplates: Record<string, number>;
387
+ period: string;
388
+ }
389
+ export interface AiAuditLog {
390
+ /** @format uuid */
391
+ id: string;
392
+ /** @format uuid */
393
+ requestId: string;
394
+ /** @format uuid */
395
+ userId: string;
396
+ /** @format uuid */
397
+ conversationId?: string | null;
398
+ /** @format uuid */
399
+ messageId?: string | null;
400
+ eventType: "Error" | "GuardrailBlockedPre" | "GuardrailPassedPre" | "IntentClassified" | "LoanResolvedFromMessage" | "DocumentNotFound" | "GuardrailBlockedPost" | "GuardrailPassedPost" | "DocumentAnalyzed" | "DocumentList" | "DocumentResolutionAmbiguous" | "ResponseGenerated" | "ParametersExtracted" | "QueryExecuted" | "LoanContextNotFound" | "LoanContextLoaded" | "GuardrailBlockedBedrock" | "PromptMatched" | "QueryCondensed" | "IntentParseFailed" | "LoanSearchTermDiscarded" | "CanonicalFieldsSelected";
401
+ modelId?: string | null;
402
+ /** @format int32 */
403
+ inputTokens?: number | null;
404
+ /** @format int32 */
405
+ outputTokens?: number | null;
406
+ /** @format int32 */
407
+ latencyMs?: number | null;
408
+ bedrockRequestId?: string | null;
409
+ guardrailName?: string | null;
410
+ guardrailCategory?: string | null;
411
+ rawRequest?: string | null;
412
+ rawResponse?: string | null;
413
+ details?: any;
414
+ /** @format date-time */
415
+ createdAt: string;
416
+ }
417
+ export interface AiAuditLogPaginated {
418
+ rows: AiAuditLog[];
419
+ pagination: Pagination;
420
+ /** @format int64 */
421
+ count: number;
422
+ }
423
+ export interface AiCanonicalField {
424
+ /** @format uuid */
425
+ id: string;
426
+ canonicalName: string;
427
+ displayName: string;
428
+ description: string;
429
+ allowedRoles: string[];
430
+ efPath?: string | null;
431
+ isPii: boolean;
432
+ isActive: boolean;
433
+ dataSource: string;
434
+ isDefault: boolean;
435
+ category?: string | null;
436
+ jsonPropertyName?: string | null;
437
+ textractKey?: string | null;
438
+ textractKeyAliases: string[];
439
+ hasAccountOverride: boolean;
440
+ /** @format date-time */
441
+ createdAt: string;
442
+ /** @format date-time */
443
+ updatedAt?: string | null;
444
+ }
445
+ export interface AiChat {
446
+ /** @format uuid */
447
+ conversationId: string;
448
+ /** @format uuid */
449
+ messageId: string;
450
+ response: AiChatBody;
451
+ metadata: AiChatMetadata;
452
+ }
453
+ export interface AiChatBody {
454
+ text: string;
455
+ data?: AiChatStructuredData | null;
456
+ }
457
+ export interface AiChatMessage {
458
+ /** @format uuid */
459
+ id: string;
460
+ userMessage: string;
461
+ assistantResponse: string;
462
+ intent?: AiIntent | null;
463
+ fieldsAccessed?: string[] | null;
464
+ data?: AiChatStructuredData | null;
465
+ /** @format date-time */
466
+ createdAt: string;
467
+ }
468
+ export interface AiChatMessagePaginated {
469
+ rows: AiChatMessage[];
470
+ pagination: Pagination;
471
+ /** @format int64 */
472
+ count: number;
473
+ }
474
+ export interface AiChatMetadata {
475
+ intent: "Greeting" | "Invalid" | "Relevant" | "LoanSpecific" | "DocumentList" | "GeneralKnowledge" | "Blocked" | "Action" | "ConversationMeta" | "Capabilities" | "UsageReport";
476
+ fieldsAccessed: string[];
477
+ /** @format int64 */
478
+ queryTimeMs: number;
479
+ /** @format int64 */
480
+ llmTimeMs: number;
481
+ /** @format int32 */
482
+ inputTokens: number;
483
+ /** @format int32 */
484
+ outputTokens: number;
485
+ modelId?: string | null;
486
+ wasBlocked: boolean;
487
+ blockedReason?: string | null;
488
+ tokenBudget?: AiTokenBudgetStatus | null;
489
+ }
490
+ export interface AiChatRequest {
491
+ message: string;
492
+ /** @format uuid */
493
+ conversationId?: string | null;
494
+ /** @format uuid */
495
+ loanId?: string | null;
496
+ documentIds?: string[] | null;
497
+ /** @format uuid */
498
+ promptId?: string | null;
499
+ }
500
+ export interface AiChatStructuredData {
501
+ type: "Table" | "DocumentAnalysis" | "DocumentList" | "GeneratedDocument";
502
+ displayHint?: AiDisplayHint | null;
503
+ detectedDocumentType?: string | null;
504
+ columns: string[];
505
+ rows: string[][];
506
+ /** @format uuid */
507
+ generatedDocumentId?: string | null;
508
+ generatedFileName?: string | null;
509
+ }
510
+ export interface AiConfigChangeLog {
511
+ /** @format uuid */
512
+ id: string;
513
+ /** @format uuid */
514
+ accountId?: string | null;
515
+ /** @format uuid */
516
+ actorUserId: string;
517
+ entityType: "Prompt" | "Guardrail" | "CanonicalField" | "UrlSource" | "AdminSettings" | "AccountTokenSettings" | "AccountSettings";
518
+ /** @format uuid */
519
+ entityId?: string | null;
520
+ action: "Created" | "Updated" | "Deleted" | "Toggled";
521
+ before?: any;
522
+ after?: any;
523
+ /** @format date-time */
524
+ createdAt: string;
525
+ }
526
+ export interface AiConfigChangeLogPaginated {
527
+ rows: AiConfigChangeLog[];
528
+ pagination: Pagination;
529
+ /** @format int64 */
530
+ count: number;
531
+ }
532
+ export interface AiConversationAuditSummary {
533
+ /** @format uuid */
534
+ conversationId: string;
535
+ /** @format uuid */
536
+ userId: string;
537
+ userName?: string | null;
538
+ userRole?: string | null;
539
+ name?: string | null;
540
+ /** @format int32 */
541
+ turnCount: number;
542
+ /** @format int32 */
543
+ completedCount: number;
544
+ /** @format int32 */
545
+ blockedCount: number;
546
+ /** @format int32 */
547
+ errorCount: number;
548
+ /** @format int32 */
549
+ totalTokens: number;
550
+ /** @format date-time */
551
+ lastActivityAt: string;
552
+ }
553
+ export interface AiConversationAuditSummaryPaginated {
554
+ rows: AiConversationAuditSummary[];
555
+ pagination: Pagination;
556
+ /** @format int64 */
557
+ count: number;
558
+ }
559
+ export interface AiConversationDetail {
560
+ /** @format uuid */
561
+ id: string;
562
+ name?: string | null;
563
+ isPinned: boolean;
564
+ /** @format date-time */
565
+ createdAt: string;
566
+ /** @format date-time */
567
+ updatedAt?: string | null;
568
+ /** @format int32 */
569
+ messageCount: number;
570
+ }
571
+ export interface AiConversationListItem {
572
+ /** @format uuid */
573
+ id: string;
574
+ /** @format uuid */
575
+ userId: string;
576
+ name?: string | null;
577
+ preview: string;
578
+ /** @format int32 */
579
+ messageCount: number;
580
+ isPinned: boolean;
581
+ /** @format date-time */
582
+ createdAt: string;
583
+ /** @format date-time */
584
+ updatedAt?: string | null;
585
+ }
586
+ export interface AiConversationListItemPaginated {
587
+ rows: AiConversationListItem[];
588
+ pagination: Pagination;
589
+ /** @format int64 */
590
+ count: number;
591
+ }
592
+ export interface AiGuardrail {
593
+ /** @format uuid */
594
+ id: string;
595
+ name: string;
596
+ category: "ContentSafety" | "PromptInjection" | "Privacy" | "Legal";
597
+ description?: string | null;
598
+ keywords: string[];
599
+ responseTemplate: string;
600
+ isDefault: boolean;
601
+ isEnabled: boolean;
602
+ hasAccountOverride: boolean;
603
+ /** @format date-time */
604
+ createdAt: string;
605
+ /** @format date-time */
606
+ updatedAt?: string | null;
607
+ }
608
+ export interface AiPrompt {
609
+ /** @format uuid */
610
+ id: string;
611
+ title: string;
612
+ slug?: string | null;
613
+ description: string;
614
+ documentTypes: string[];
615
+ applicableUrlSourceIds: string[];
616
+ allowedRoles: string[];
617
+ systemPrompt: string;
618
+ /** @format int32 */
619
+ sortOrder: number;
620
+ isDefault: boolean;
621
+ /** @format uuid */
622
+ accountId?: string | null;
623
+ isActive: boolean;
624
+ category?: AiPromptCategory | null;
625
+ queryTemplateName?: AiQueryTemplateName | null;
626
+ displayHint?: AiDisplayHint | null;
627
+ bedrockModelId?: string | null;
628
+ requiredDataSources?: string[] | null;
629
+ outputType?: AiOutputType | null;
630
+ hasAccountOverride: boolean;
631
+ /** @format date-time */
632
+ createdAt: string;
633
+ /** @format date-time */
634
+ updatedAt?: string | null;
635
+ }
636
+ export interface AiPromptSummary {
637
+ /** @format uuid */
638
+ id: string;
639
+ title: string;
640
+ slug?: string | null;
641
+ description: string;
642
+ documentTypes: string[];
643
+ applicableUrlSourceIds: string[];
644
+ /** @format int32 */
645
+ sortOrder: number;
646
+ category?: AiPromptCategory | null;
647
+ queryTemplateName?: AiQueryTemplateName | null;
648
+ displayHint?: AiDisplayHint | null;
649
+ bedrockModelId?: string | null;
650
+ requiredDataSources?: string[] | null;
651
+ outputType?: AiOutputType | null;
652
+ }
653
+ export interface AiTokenBudgetStatus {
654
+ /** @format int32 */
655
+ limit: number;
656
+ /** @format int64 */
657
+ used: number;
658
+ /** @format int64 */
659
+ inputTokens: number;
660
+ /** @format int64 */
661
+ outputTokens: number;
662
+ /** @format int64 */
663
+ remaining: number;
664
+ /** @format double */
665
+ percentUsed: number;
666
+ /** @format date-time */
667
+ windowStart: string;
668
+ /** @format date-time */
669
+ windowEnd: string;
670
+ limitReached: boolean;
671
+ }
672
+ export interface AiTokenUsageWindow {
673
+ /** @format date-time */
674
+ windowStart: string;
675
+ /** @format date-time */
676
+ windowEnd: string;
677
+ /** @format int32 */
678
+ limit: number;
679
+ /** @format int64 */
680
+ used: number;
681
+ /** @format int64 */
682
+ inputTokens: number;
683
+ /** @format int64 */
684
+ outputTokens: number;
685
+ /** @format double */
686
+ percentUsed: number;
687
+ limitReached: boolean;
688
+ }
689
+ export interface AiTokenUsageWindowPaginated {
690
+ rows: AiTokenUsageWindow[];
691
+ pagination: Pagination;
692
+ /** @format int64 */
693
+ count: number;
694
+ }
695
+ export interface AiUrlSource {
696
+ /** @format uuid */
697
+ id: string;
698
+ slug?: string | null;
699
+ name: string;
700
+ url: string;
701
+ description?: string | null;
702
+ category: "Regulatory" | "Guidelines" | "MarketData" | "Custom";
703
+ scope: "FullDomain" | "SpecificPath";
704
+ isActive: boolean;
705
+ isDefault: boolean;
706
+ hasAccountOverride: boolean;
707
+ /** @format date-time */
708
+ createdAt: string;
709
+ /** @format date-time */
710
+ updatedAt?: string | null;
711
+ }
298
712
  export interface AllowImpersonationRequest {
299
713
  email: string;
300
714
  }
@@ -397,14 +811,14 @@ export interface AuditLogEntry {
397
811
  /** @format uuid */
398
812
  id: string;
399
813
  entityType: string;
400
- changeType: AuditLogEntryChangeTypeEnum;
814
+ changeType: "Created" | "Modified" | "SoftDeleted" | "HardDeleted" | "Restored" | "Deactivated" | "Reactivated";
401
815
  /** @format uuid */
402
816
  entityId: string;
403
817
  performedBy?: AuditLogUser | null;
404
818
  rootEntityType?: string | null;
405
819
  /** @format uuid */
406
820
  rootEntityId?: string | null;
407
- changes?: any | null;
821
+ changes?: any;
408
822
  /** @format date-time */
409
823
  createdAt: string;
410
824
  }
@@ -444,7 +858,7 @@ export interface BorrowerCount {
444
858
  firstName: string;
445
859
  lastName: string;
446
860
  email: string;
447
- role: BorrowerCountRoleEnum;
861
+ role: "Borrower" | "CoBorrower" | "NonBorrower" | "LoanOfficer" | "LoanProcessor" | "LoanOfficerAssistant" | "SupportingLoanOfficer" | "BuyerAgent" | "SellerAgent" | "TitleInsuranceAgent" | "EscrowAgent" | "SettlementAgent" | "Admin";
448
862
  /** @format int32 */
449
863
  count: number;
450
864
  }
@@ -454,7 +868,7 @@ export interface BorrowerIdentity {
454
868
  firstName: string;
455
869
  lastName: string;
456
870
  email: string;
457
- role: BorrowerIdentityRoleEnum;
871
+ role: "Borrower" | "CoBorrower" | "NonBorrower" | "LoanOfficer" | "LoanProcessor" | "LoanOfficerAssistant" | "SupportingLoanOfficer" | "BuyerAgent" | "SellerAgent" | "TitleInsuranceAgent" | "EscrowAgent" | "SettlementAgent" | "Admin";
458
872
  }
459
873
  export interface BorrowersNotUsingPosSummary {
460
874
  /** @format int32 */
@@ -688,7 +1102,7 @@ export interface CorporateSearchCriteria {
688
1102
  isActive?: boolean | null;
689
1103
  }
690
1104
  export interface CreateAccessScopeRequest {
691
- scopeType: CreateAccessScopeRequestScopeTypeEnum;
1105
+ scopeType: "User" | "Branch";
692
1106
  /** @format uuid */
693
1107
  userId?: string | null;
694
1108
  /** @format uuid */
@@ -706,10 +1120,49 @@ export interface CreateAccountRequest {
706
1120
  /** @format int64 */
707
1121
  nlmsid: number;
708
1122
  settings: AccountSettingsRequest;
709
- environment: CreateAccountRequestEnvironmentEnum;
1123
+ environment: "Development" | "Staging" | "UAT" | "Production";
710
1124
  losIntegration: LOSIntegration;
711
1125
  billingSettings: AccountBillingRequest;
712
1126
  }
1127
+ export interface CreateAiCanonicalFieldRequest {
1128
+ displayName: string;
1129
+ description: string;
1130
+ allowedRoles: string[];
1131
+ isPii: boolean;
1132
+ dataSource: string;
1133
+ category?: string | null;
1134
+ }
1135
+ export interface CreateAiGuardrailRequest {
1136
+ name: string;
1137
+ category: "ContentSafety" | "PromptInjection" | "Privacy" | "Legal";
1138
+ description?: string | null;
1139
+ keywords: string[];
1140
+ responseTemplate: string;
1141
+ }
1142
+ export interface CreateAiPromptRequest {
1143
+ title: string;
1144
+ slug?: string | null;
1145
+ description: string;
1146
+ documentTypes: string[];
1147
+ applicableUrlSourceIds: string[];
1148
+ allowedRoles: string[];
1149
+ systemPrompt: string;
1150
+ /** @format int32 */
1151
+ sortOrder: number;
1152
+ category?: AiPromptCategory | null;
1153
+ queryTemplateName?: AiQueryTemplateName | null;
1154
+ displayHint?: AiDisplayHint | null;
1155
+ bedrockModelId?: string | null;
1156
+ requiredDataSources?: string[] | null;
1157
+ outputType?: AiOutputType | null;
1158
+ }
1159
+ export interface CreateAiUrlSourceRequest {
1160
+ name: string;
1161
+ url: string;
1162
+ description?: string | null;
1163
+ category: "Regulatory" | "Guidelines" | "MarketData" | "Custom";
1164
+ scope: "FullDomain" | "SpecificPath";
1165
+ }
713
1166
  export interface CreateBranchRequest {
714
1167
  name: string;
715
1168
  /** @format uuid */
@@ -731,8 +1184,8 @@ export interface CreateCustomFieldDefinitionRequest {
731
1184
  name: string;
732
1185
  defaultValue?: string | null;
733
1186
  regexPattern?: string | null;
734
- dataType: CreateCustomFieldDefinitionRequestDataTypeEnum;
735
- entityType: CreateCustomFieldDefinitionRequestEntityTypeEnum;
1187
+ dataType: "String" | "Number" | "Decimal" | "Boolean" | "Date" | "SingleSelect" | "MultiSelect";
1188
+ entityType: "Loan";
736
1189
  options?: CustomFieldOptionRequest[] | null;
737
1190
  permissions?: CustomFieldPermissionRequest[] | null;
738
1191
  }
@@ -747,7 +1200,7 @@ export interface CreateDocumentTemplateRequest {
747
1200
  export interface CreateGroupMemberRequest {
748
1201
  /** @format uuid */
749
1202
  userId: string;
750
- loanRole: CreateGroupMemberRequestLoanRoleEnum;
1203
+ loanRole: "Borrower" | "CoBorrower" | "NonBorrower" | "LoanOfficer" | "LoanProcessor" | "LoanOfficerAssistant" | "SupportingLoanOfficer" | "BuyerAgent" | "SellerAgent" | "TitleInsuranceAgent" | "EscrowAgent" | "SettlementAgent" | "Admin";
751
1204
  }
752
1205
  export interface CreateInviteRequest {
753
1206
  firstName: string;
@@ -755,7 +1208,7 @@ export interface CreateInviteRequest {
755
1208
  emailAddress: string;
756
1209
  phoneNumber?: string | null;
757
1210
  /** @deprecated */
758
- relationship: CreateInviteRequestRelationshipEnum;
1211
+ relationship: "NotApplicable" | "Spouse" | "NonSpouse";
759
1212
  loanID: string;
760
1213
  route?: string | null;
761
1214
  /** @format uuid */
@@ -775,7 +1228,7 @@ export interface CreateLoanImportRequest {
775
1228
  endDate: string;
776
1229
  /** @format date-time */
777
1230
  startDate: string;
778
- importMode: CreateLoanImportRequestImportModeEnum;
1231
+ importMode: "All" | "NewOnly" | "UpdateOnly";
779
1232
  }
780
1233
  export interface CreateSession {
781
1234
  sessionId: string;
@@ -793,7 +1246,7 @@ export interface CreateUserDeviceRequest {
793
1246
  token: string;
794
1247
  }
795
1248
  export interface CreateUserDraft {
796
- loanRole: CreateUserDraftLoanRoleEnum;
1249
+ loanRole: "Borrower" | "CoBorrower" | "NonBorrower" | "LoanOfficer" | "LoanProcessor" | "LoanOfficerAssistant" | "SupportingLoanOfficer" | "BuyerAgent" | "SellerAgent" | "TitleInsuranceAgent" | "EscrowAgent" | "SettlementAgent" | "Admin";
797
1250
  }
798
1251
  export interface CreateUserGroupRequest {
799
1252
  name: string;
@@ -854,8 +1307,8 @@ export interface CustomFieldDefinition {
854
1307
  name: string;
855
1308
  defaultValue?: string | null;
856
1309
  regexPattern?: string | null;
857
- dataType: CustomFieldDefinitionDataTypeEnum;
858
- entityType: CustomFieldDefinitionEntityTypeEnum;
1310
+ dataType: "String" | "Number" | "Decimal" | "Boolean" | "Date" | "SingleSelect" | "MultiSelect";
1311
+ entityType: "Loan";
859
1312
  options: CustomFieldOption[];
860
1313
  permissions: CustomFieldPermission[];
861
1314
  encompassMapping?: EncompassMapping | null;
@@ -869,7 +1322,7 @@ export interface CustomFieldEntry {
869
1322
  displayOrder: number;
870
1323
  name: string;
871
1324
  value: string;
872
- dataType: CustomFieldEntryDataTypeEnum;
1325
+ dataType: "String" | "Number" | "Decimal" | "Boolean" | "Date" | "SingleSelect" | "MultiSelect";
873
1326
  }
874
1327
  export interface CustomFieldOption {
875
1328
  /** @format uuid */
@@ -886,12 +1339,12 @@ export interface CustomFieldOptionRequest {
886
1339
  export interface CustomFieldPermission {
887
1340
  /** @format uuid */
888
1341
  id: string;
889
- role: CustomFieldPermissionRoleEnum;
890
- accessLevel: CustomFieldPermissionAccessLevelEnum;
1342
+ role: "Borrower" | "LoanOfficer" | "Admin" | "SuperAdmin" | "Realtor" | "SettlementAgent" | "LoanProcessor" | "LoanOfficerAssistant" | "SystemAdmin";
1343
+ accessLevel: "NoAccess" | "ReadOnly" | "ReadWrite";
891
1344
  }
892
1345
  export interface CustomFieldPermissionRequest {
893
- role: CustomFieldPermissionRequestRoleEnum;
894
- accessLevel: CustomFieldPermissionRequestAccessLevelEnum;
1346
+ role: "Borrower" | "LoanOfficer" | "Admin" | "SuperAdmin" | "Realtor" | "SettlementAgent" | "LoanProcessor" | "LoanOfficerAssistant" | "SystemAdmin";
1347
+ accessLevel: "NoAccess" | "ReadOnly" | "ReadWrite";
895
1348
  }
896
1349
  export interface CustomFieldValue {
897
1350
  /** @format uuid */
@@ -902,7 +1355,7 @@ export interface CustomFieldValue {
902
1355
  customFieldDefinitionID: string;
903
1356
  value: string;
904
1357
  definitionName: string;
905
- dataType: CustomFieldValueDataTypeEnum;
1358
+ dataType: "String" | "Number" | "Decimal" | "Boolean" | "Date" | "SingleSelect" | "MultiSelect";
906
1359
  }
907
1360
  export interface DetailedUser {
908
1361
  /** @format date-time */
@@ -1140,7 +1593,7 @@ export interface Draft {
1140
1593
  siteConfiguration: SiteConfigurationReduced;
1141
1594
  /** @format uuid */
1142
1595
  loanID?: string | null;
1143
- type: DraftTypeEnum;
1596
+ type: "NewLoan" | "EditLoan";
1144
1597
  isCoBorrower: boolean;
1145
1598
  }
1146
1599
  export interface DraftContent {
@@ -1158,7 +1611,7 @@ export interface DraftContent {
1158
1611
  siteConfiguration: SiteConfigurationReduced;
1159
1612
  /** @format uuid */
1160
1613
  loanID?: string | null;
1161
- type: DraftContentTypeEnum;
1614
+ type: "NewLoan" | "EditLoan";
1162
1615
  isCoBorrower: boolean;
1163
1616
  applicationPayload: any;
1164
1617
  }
@@ -1174,7 +1627,7 @@ export interface DraftLoanOfficerReassignRequest {
1174
1627
  }
1175
1628
  export interface DraftRequest {
1176
1629
  applicationPayload: any;
1177
- customData?: any | null;
1630
+ customData?: any;
1178
1631
  isCoBorrower: boolean;
1179
1632
  }
1180
1633
  export interface EconsentPendingSummary {
@@ -1248,9 +1701,9 @@ export interface EncompassCredentialsDetail {
1248
1701
  clearStateIfUnlicensed: boolean;
1249
1702
  /** @deprecated */
1250
1703
  baseUrl?: string | null;
1251
- encompassEnvironment: EncompassCredentialsDetailEncompassEnvironmentEnum;
1704
+ encompassEnvironment: "Production" | "UAT";
1252
1705
  consumerConnectWidgetHost?: string | null;
1253
- signingMethod: EncompassCredentialsDetailSigningMethodEnum;
1706
+ signingMethod: "ConsumerConnect" | "POSF";
1254
1707
  subscriptionId?: string | null;
1255
1708
  environment?: string | null;
1256
1709
  }
@@ -1266,9 +1719,9 @@ export interface EncompassCredentialsRequest {
1266
1719
  clearStateIfUnlicensed: boolean;
1267
1720
  /** @deprecated */
1268
1721
  baseUrl?: string | null;
1269
- encompassEnvironment: EncompassCredentialsRequestEncompassEnvironmentEnum;
1722
+ encompassEnvironment: "Production" | "UAT";
1270
1723
  consumerConnectWidgetHost?: string | null;
1271
- signingMethod: EncompassCredentialsRequestSigningMethodEnum;
1724
+ signingMethod: "ConsumerConnect" | "POSF";
1272
1725
  subscriptionId?: string | null;
1273
1726
  environment?: string | null;
1274
1727
  clientID?: string | null;
@@ -1377,8 +1830,8 @@ export interface EncompassRequestLog {
1377
1830
  losId?: string | null;
1378
1831
  /** @format uuid */
1379
1832
  accountId: string;
1380
- operationType: EncompassRequestLogOperationTypeEnum;
1381
- outcome: EncompassRequestLogOutcomeEnum;
1833
+ operationType: "FieldUpdate" | "ConsentUpdate" | "DocumentSync" | "MilestoneUpdate" | "DocumentAttachment" | "General" | "FieldReader";
1834
+ outcome: "Success" | "Failure" | "PartialSuccess";
1382
1835
  message: string;
1383
1836
  endpoint?: string | null;
1384
1837
  httpMethod?: string | null;
@@ -1386,7 +1839,7 @@ export interface EncompassRequestLog {
1386
1839
  httpStatusCode?: number | null;
1387
1840
  /** @format int64 */
1388
1841
  durationMs?: number | null;
1389
- context?: any | null;
1842
+ context?: any;
1390
1843
  /** @format date-time */
1391
1844
  createdAt: string;
1392
1845
  }
@@ -1425,7 +1878,7 @@ export interface FileSearchCriteria {
1425
1878
  export interface FileWithBytes {
1426
1879
  name: string;
1427
1880
  /** @format byte */
1428
- data: Blob;
1881
+ data: string;
1429
1882
  fileName: string;
1430
1883
  mimeType?: string | null;
1431
1884
  extension?: string | null;
@@ -1501,7 +1954,7 @@ export interface FormSubmission {
1501
1954
  subjectPropertyAddressCounty?: string | null;
1502
1955
  subjectPropertyAddressState?: string | null;
1503
1956
  subjectPropertyAddressZip?: string | null;
1504
- data?: any | null;
1957
+ data?: any;
1505
1958
  /** @format uuid */
1506
1959
  listingID?: string | null;
1507
1960
  listing?: Listing | null;
@@ -1536,7 +1989,7 @@ export interface FormSubmissionRequest {
1536
1989
  subjectPropertyAddressCounty?: string | null;
1537
1990
  subjectPropertyAddressState?: string | null;
1538
1991
  subjectPropertyAddressZip?: string | null;
1539
- data?: any | null;
1992
+ data?: any;
1540
1993
  /** @format uuid */
1541
1994
  listingID?: string | null;
1542
1995
  }
@@ -1585,7 +2038,7 @@ export interface FusionFieldDisplay {
1585
2038
  fieldValue: string;
1586
2039
  }
1587
2040
  export interface FusionReportFilter {
1588
- filterType: FusionReportFilterFilterTypeEnum;
2041
+ filterType: "DateGreaterThanOrEqualTo" | "DateGreaterThan" | "DateLessThan" | "DateLessThanOrEqualTo" | "DateEquals" | "DateDoesntEqual" | "DateNonEmpty" | "DateEmpty" | "StringContains" | "StringEquals" | "StringNotEmpty" | "StringNotEquals" | "StringNotContains";
1589
2042
  targetField: string;
1590
2043
  targetValue: string;
1591
2044
  }
@@ -1602,6 +2055,13 @@ export interface GenerateDocumentRequest {
1602
2055
  preview: boolean;
1603
2056
  recipients: string[];
1604
2057
  }
2058
+ export interface GenerateSystemPrompt {
2059
+ systemPrompt: string;
2060
+ }
2061
+ export interface GenerateSystemPromptRequest {
2062
+ description: string;
2063
+ category: "DocumentAnalysis" | "DataQuery" | "General" | "Action";
2064
+ }
1605
2065
  export interface GetApplications {
1606
2066
  applications: ApplicationRowData[];
1607
2067
  }
@@ -1684,11 +2144,11 @@ export interface GetWorkflowRequest {
1684
2144
  export interface GuidPatchOperation {
1685
2145
  op: string;
1686
2146
  path: string;
1687
- value?: any | null;
2147
+ value?: any;
1688
2148
  from?: string | null;
1689
2149
  }
1690
2150
  export interface IPAddress {
1691
- addressFamily: IpAddressAddressFamilyEnum;
2151
+ addressFamily: "Unspecified" | "Unix" | "InterNetwork" | "ImpLink" | "Pup" | "Chaos" | "NS" | "Ipx" | "Iso" | "Osi" | "Ecma" | "DataKit" | "Ccitt" | "Sna" | "DecNet" | "DataLink" | "Lat" | "HyperChannel" | "AppleTalk" | "NetBios" | "VoiceView" | "FireFox" | "Banyan" | "Atm" | "InterNetworkV6" | "Cluster" | "Ieee12844" | "Irda" | "NetworkDesigners" | "Max" | "Packet" | "ControllerAreaNetwork" | "Unknown";
1692
2152
  /** @format int64 */
1693
2153
  scopeId: number;
1694
2154
  isIPv6Multicast: boolean;
@@ -1935,7 +2395,7 @@ export interface Loan {
1935
2395
  contacts: LoanContact[];
1936
2396
  customFields: CustomFieldEntry[];
1937
2397
  milestones: LoanMilestone[];
1938
- signingMethod: LoanSigningMethodEnum;
2398
+ signingMethod: "ConsumerConnect" | "POSF";
1939
2399
  }
1940
2400
  export interface LoanApplication {
1941
2401
  /** @format uuid */
@@ -1971,7 +2431,7 @@ export interface LoanApplicationRequest {
1971
2431
  nonOwningBorrowers: LoanNonOwningBorrowerRequest[];
1972
2432
  /** @format uuid */
1973
2433
  draftId?: string | null;
1974
- additionalFields?: Record<string, any> | null;
2434
+ additionalFields?: Record<string, any>;
1975
2435
  /** @format uuid */
1976
2436
  existingLoanId?: string | null;
1977
2437
  }
@@ -1990,7 +2450,7 @@ export interface LoanBorrower {
1990
2450
  citizenship?: LoanCitizenship | null;
1991
2451
  maritalStatus?: LoanMaritalStatus | null;
1992
2452
  languagePreference?: LoanLanguagePreference | null;
1993
- applicationStatus: LoanBorrowerApplicationStatusEnum;
2453
+ applicationStatus: "Draft" | "Complete";
1994
2454
  /** @format int32 */
1995
2455
  numberOfDependents?: number | null;
1996
2456
  isPrimaryBorrower: boolean;
@@ -2692,7 +3152,7 @@ export interface LoanConsentRequest {
2692
3152
  borrowerEConsent?: boolean | null;
2693
3153
  borrowerCreditAuth?: boolean | null;
2694
3154
  borrowerTCPAOptIn?: boolean | null;
2695
- additionalFields?: Record<string, string> | null;
3155
+ additionalFields?: Record<string, string>;
2696
3156
  }
2697
3157
  export interface LoanContact {
2698
3158
  /** @format date-time */
@@ -2710,13 +3170,13 @@ export interface LoanContact {
2710
3170
  email?: string | null;
2711
3171
  phone?: string | null;
2712
3172
  companyName?: string | null;
2713
- role: LoanContactRoleEnum;
3173
+ role: "Borrower" | "CoBorrower" | "NonBorrower" | "LoanOfficer" | "LoanProcessor" | "LoanOfficerAssistant" | "SupportingLoanOfficer" | "BuyerAgent" | "SellerAgent" | "TitleInsuranceAgent" | "EscrowAgent" | "SettlementAgent" | "Admin";
2714
3174
  }
2715
3175
  export interface LoanContactList {
2716
3176
  email: string;
2717
3177
  }
2718
3178
  export interface LoanCustomFieldsRequest {
2719
- additionalFields?: Record<string, string> | null;
3179
+ additionalFields?: Record<string, string>;
2720
3180
  }
2721
3181
  export interface LoanDocument {
2722
3182
  /** @format date-time */
@@ -2737,6 +3197,13 @@ export interface LoanDocument {
2737
3197
  failoverDocumentPath?: string | null;
2738
3198
  /** @format date-time */
2739
3199
  sensitiveDataPurgedOn?: string | null;
3200
+ observedDocumentType?: LoanDocumentType | null;
3201
+ classificationSource?: ClassificationSource | null;
3202
+ verified: boolean;
3203
+ /** @format date-time */
3204
+ classifiedAt?: string | null;
3205
+ classificationMismatch: boolean;
3206
+ classificationMismatchReason?: string | null;
2740
3207
  }
2741
3208
  export interface LoanDocumentFolder {
2742
3209
  /** @format uuid */
@@ -2759,12 +3226,12 @@ export interface LoanDocumentFolderPermission {
2759
3226
  id: string;
2760
3227
  /** @format uuid */
2761
3228
  loanDocumentFolderID: string;
2762
- role: LoanDocumentFolderPermissionRoleEnum;
2763
- level: LoanDocumentFolderPermissionLevelEnum;
3229
+ role: "Borrower" | "CoBorrower" | "NonBorrower" | "LoanOfficer" | "LoanProcessor" | "LoanOfficerAssistant" | "SupportingLoanOfficer" | "BuyerAgent" | "SellerAgent" | "TitleInsuranceAgent" | "EscrowAgent" | "SettlementAgent" | "Admin";
3230
+ level: "None" | "Read" | "Write" | "Manage";
2764
3231
  }
2765
3232
  export interface LoanDocumentFolderPermissionRequest {
2766
- role: LoanDocumentFolderPermissionRequestRoleEnum;
2767
- level: LoanDocumentFolderPermissionRequestLevelEnum;
3233
+ role: "Borrower" | "CoBorrower" | "NonBorrower" | "LoanOfficer" | "LoanProcessor" | "LoanOfficerAssistant" | "SupportingLoanOfficer" | "BuyerAgent" | "SellerAgent" | "TitleInsuranceAgent" | "EscrowAgent" | "SettlementAgent" | "Admin";
3234
+ level: "None" | "Read" | "Write" | "Manage";
2768
3235
  }
2769
3236
  export interface LoanDocumentFolderUsage {
2770
3237
  /** @format uuid */
@@ -2880,13 +3347,13 @@ export interface LoanImport {
2880
3347
  /** @format int32 */
2881
3348
  importedCount: number;
2882
3349
  statusMessage?: string | null;
2883
- status: LoanImportStatusEnum;
2884
- importMode: LoanImportImportModeEnum;
3350
+ status: "WaitingProcess" | "InProgress" | "Completed" | "Failed" | "Cancelled";
3351
+ importMode: "All" | "NewOnly" | "UpdateOnly";
2885
3352
  /** @format date-time */
2886
3353
  createdAt?: string | null;
2887
3354
  }
2888
3355
  export interface LoanImportLog {
2889
- level: LoanImportLogLevelEnum;
3356
+ level: "None" | "Info" | "Warning" | "Error";
2890
3357
  message: string;
2891
3358
  /** @format date-time */
2892
3359
  createdAt: string;
@@ -2941,8 +3408,8 @@ export interface LoanListPaginated {
2941
3408
  export interface LoanLog {
2942
3409
  /** @format uuid */
2943
3410
  id: string;
2944
- level: LoanLogLevelEnum;
2945
- type: LoanLogTypeEnum;
3411
+ level: "None" | "Info" | "Warning" | "Error";
3412
+ type: "Loan" | "Queue" | "POSFlagChanged" | "Verification" | "DocumentUploaded" | "LoanCreated" | "WorkflowSubmitted" | "UserInvitationSent" | "CoBorrowerAdded" | "TaskCompleted" | "LoanStatusChanged" | "Consent" | "SensitiveDataPurge" | "ClosingDateUpdated" | "ConsumerConnectAssociation" | "TaskReminderSent" | "DocumentClassified";
2946
3413
  message: string;
2947
3414
  /** @format date-time */
2948
3415
  createdAt: string;
@@ -2950,8 +3417,8 @@ export interface LoanLog {
2950
3417
  export interface LoanLogDetail {
2951
3418
  /** @format uuid */
2952
3419
  id: string;
2953
- level: LoanLogDetailLevelEnum;
2954
- type: LoanLogDetailTypeEnum;
3420
+ level: "None" | "Info" | "Warning" | "Error";
3421
+ type: "Loan" | "Queue" | "POSFlagChanged" | "Verification" | "DocumentUploaded" | "LoanCreated" | "WorkflowSubmitted" | "UserInvitationSent" | "CoBorrowerAdded" | "TaskCompleted" | "LoanStatusChanged" | "Consent" | "SensitiveDataPurge" | "ClosingDateUpdated" | "ConsumerConnectAssociation" | "TaskReminderSent" | "DocumentClassified";
2955
3422
  message: string;
2956
3423
  /** @format date-time */
2957
3424
  createdAt: string;
@@ -3185,7 +3652,7 @@ export interface LoanQueueWithData {
3185
3652
  user: UserPublic;
3186
3653
  loanOfficer: LoanOfficerPublic;
3187
3654
  siteConfiguration: SiteConfigurationReduced;
3188
- data?: any | null;
3655
+ data?: any;
3189
3656
  }
3190
3657
  export interface LoanRecord {
3191
3658
  loanGuid: string;
@@ -3216,7 +3683,7 @@ export interface LoanTaskSearchRequest {
3216
3683
  loanStatus?: LoanTaskActivityFilter | null;
3217
3684
  }
3218
3685
  export interface LoanTaskStatusSummary {
3219
- status: LoanTaskStatusSummaryStatusEnum;
3686
+ status: "Outstanding" | "Pending" | "Completed" | "Rejected" | "Unknown";
3220
3687
  /** @format int32 */
3221
3688
  count: number;
3222
3689
  }
@@ -3228,7 +3695,7 @@ export interface LoanUser {
3228
3695
  email: string;
3229
3696
  phone?: string | null;
3230
3697
  role: string;
3231
- loanRole: LoanUserLoanRoleEnum;
3698
+ loanRole: "Borrower" | "CoBorrower" | "NonBorrower" | "LoanOfficer" | "LoanProcessor" | "LoanOfficerAssistant" | "SupportingLoanOfficer" | "BuyerAgent" | "SellerAgent" | "TitleInsuranceAgent" | "EscrowAgent" | "SettlementAgent" | "Admin";
3232
3699
  isUser: boolean;
3233
3700
  /** @format date-time */
3234
3701
  createdAt: string;
@@ -3261,7 +3728,7 @@ export interface LosOperationTracking {
3261
3728
  operationType: string;
3262
3729
  correlationKey: string;
3263
3730
  lastTriggerSource?: string | null;
3264
- status: LosOperationTrackingStatusEnum;
3731
+ status: "Pending" | "Success" | "Failed" | "ConfigurationError" | "PermanentFailure" | "Locked";
3265
3732
  /** @format date-time */
3266
3733
  createdAt: string;
3267
3734
  /** @format date-time */
@@ -3322,7 +3789,7 @@ export interface LosSyncStep {
3322
3789
  /** @format int32 */
3323
3790
  order: number;
3324
3791
  name: string;
3325
- severity: LosSyncStepSeverityEnum;
3792
+ severity: "Success" | "Info" | "Warning" | "Error";
3326
3793
  message: string;
3327
3794
  /** @format date-time */
3328
3795
  atUtc: string;
@@ -3335,6 +3802,9 @@ export interface LosWebhook {
3335
3802
  events: string[];
3336
3803
  enableSubscription: boolean;
3337
3804
  }
3805
+ export interface ManualDocumentClassificationRequest {
3806
+ documentType: "W2" | "Paystub" | "Form1099" | "Form1099Int" | "Form1099Misc" | "Form1099Nec" | "Form1099R" | "Form1099G" | "Form1099Div" | "Form1099Ssa" | "FederalTaxReturn1040" | "TaxReturnScheduleC" | "TaxReturnScheduleD" | "TaxReturnScheduleE" | "Form1065" | "Form1120" | "Form1120S" | "ProfitAndLossStatement" | "VerificationOfEmployment" | "BankStatement" | "InvestmentStatement" | "CreditCardStatement" | "MortgageStatement" | "PayoffStatement" | "HoaDocuments" | "UtilityBill" | "IdentityDocument" | "DemographicAddendum" | "Ssa89" | "Vba260551" | "Hud92900B" | "Check" | "Invoice" | "Receipt" | "LoanApplication1003" | "UnderwritingTransmittal1008" | "Other" | "SalesContract" | "TitleCommitment" | "DriversLicense" | "VerificationOfIncome" | "VerificationOfAssets" | "FloodCertificate" | "FraudReport" | "AddendumToSalesContract" | "GiftLetter" | "CpaLetter" | "TaxBill" | "CondoQuestionnaire" | "CondoBudget" | "CondoBylaws" | "RentalAgreements" | "Lease" | "HazardInsurance" | "VaCertificateOfEligibility" | "Appraisal" | "CreditReport" | "CondoMasterPolicy";
3807
+ }
3338
3808
  export interface MdmUser {
3339
3809
  user_email?: string | null;
3340
3810
  user_id?: string | null;
@@ -3412,7 +3882,7 @@ export interface ModuleParameterValue {
3412
3882
  parameterID: string;
3413
3883
  parameterName: string;
3414
3884
  parameterType: string;
3415
- value?: any | null;
3885
+ value?: any;
3416
3886
  isInherited: boolean;
3417
3887
  }
3418
3888
  export interface MonthlyPaymentCalculator {
@@ -3585,7 +4055,7 @@ export interface NotificationTemplateVersionUpdateRequest {
3585
4055
  }
3586
4056
  export interface Operation {
3587
4057
  op?: string;
3588
- value?: object | null;
4058
+ value?: string | number | boolean | null | object;
3589
4059
  path?: string;
3590
4060
  }
3591
4061
  export interface OverridePasswordRequest {
@@ -3630,6 +4100,9 @@ export interface PendingTasksSummary {
3630
4100
  total: number;
3631
4101
  borrowers: BorrowerCount[];
3632
4102
  }
4103
+ export interface PinAiConversationRequest {
4104
+ isPinned: boolean;
4105
+ }
3633
4106
  export interface PostLoanComparisonPdfRequest {
3634
4107
  /** @format uuid */
3635
4108
  siteConfigurationID: string;
@@ -3779,6 +4252,9 @@ export interface RegisterUserRequest {
3779
4252
  /** @format uuid */
3780
4253
  inviteCode?: string | null;
3781
4254
  }
4255
+ export interface RenameAiConversationRequest {
4256
+ name: string;
4257
+ }
3782
4258
  export interface RequestImpersonationRequest {
3783
4259
  email: string;
3784
4260
  }
@@ -3858,6 +4334,13 @@ export interface SSOTokenRequest {
3858
4334
  email: string;
3859
4335
  redirectUri?: string | null;
3860
4336
  }
4337
+ export interface SearchCriteria {
4338
+ searchText?: string | null;
4339
+ }
4340
+ export interface SendESignatureReminderRequest {
4341
+ /** @format uuid */
4342
+ userId: string;
4343
+ }
3861
4344
  export interface SendForgotPasswordRequest {
3862
4345
  email: string;
3863
4346
  }
@@ -3902,7 +4385,7 @@ export interface SiteConfiguration {
3902
4385
  deletedAt?: string | null;
3903
4386
  /** @format uuid */
3904
4387
  id: string;
3905
- type: SiteConfigurationTypeEnum;
4388
+ type: "None" | "Account" | "Corporate" | "Branch" | "LoanOfficer" | "Partner";
3906
4389
  /** @format uuid */
3907
4390
  entityID: string;
3908
4391
  /** @format int32 */
@@ -4095,7 +4578,7 @@ export interface SiteConfigurationByUrl {
4095
4578
  deletedAt?: string | null;
4096
4579
  /** @format uuid */
4097
4580
  id: string;
4098
- type: SiteConfigurationByUrlTypeEnum;
4581
+ type: "None" | "Account" | "Corporate" | "Branch" | "LoanOfficer" | "Partner";
4099
4582
  /** @format uuid */
4100
4583
  entityID: string;
4101
4584
  /** @format int32 */
@@ -4305,7 +4788,7 @@ export interface SiteConfigurationForm {
4305
4788
  export interface SiteConfigurationReduced {
4306
4789
  /** @format uuid */
4307
4790
  id: string;
4308
- type: SiteConfigurationReducedTypeEnum;
4791
+ type: "None" | "Account" | "Corporate" | "Branch" | "LoanOfficer" | "Partner";
4309
4792
  url?: string | null;
4310
4793
  name: string;
4311
4794
  /** @format int64 */
@@ -4322,7 +4805,7 @@ export interface SiteConfigurationRequest {
4322
4805
  entityID: string;
4323
4806
  /** @format int32 */
4324
4807
  entityType: number;
4325
- type: SiteConfigurationRequestTypeEnum;
4808
+ type: "None" | "Account" | "Corporate" | "Branch" | "LoanOfficer" | "Partner";
4326
4809
  url: string;
4327
4810
  name: string;
4328
4811
  introduction?: string | null;
@@ -4497,7 +4980,7 @@ export interface SiteConfigurationSearchCriteria {
4497
4980
  export interface SiteConfigurationSummary {
4498
4981
  /** @format uuid */
4499
4982
  id: string;
4500
- type: SiteConfigurationSummaryTypeEnum;
4983
+ type: "None" | "Account" | "Corporate" | "Branch" | "LoanOfficer" | "Partner";
4501
4984
  url?: string | null;
4502
4985
  name: string;
4503
4986
  /** @format int64 */
@@ -4541,6 +5024,13 @@ export interface SocialSurveyRecord {
4541
5024
  /** @format date-time */
4542
5025
  reviewCompletedTimeStamp?: string | null;
4543
5026
  }
5027
+ export interface SupportedModel {
5028
+ modelId: string;
5029
+ displayName: string;
5030
+ provider: string;
5031
+ description?: string | null;
5032
+ isDefault: boolean;
5033
+ }
4544
5034
  export interface SurveyEmailRequest {
4545
5035
  loanOfficerEmailAddress: string;
4546
5036
  }
@@ -4753,7 +5243,7 @@ export interface UnregisteredBorrower {
4753
5243
  lastName?: string | null;
4754
5244
  fullName?: string | null;
4755
5245
  email?: string | null;
4756
- role: UnregisteredBorrowerRoleEnum;
5246
+ role: "Borrower" | "CoBorrower" | "NonBorrower" | "LoanOfficer" | "LoanProcessor" | "LoanOfficerAssistant" | "SupportingLoanOfficer" | "BuyerAgent" | "SellerAgent" | "TitleInsuranceAgent" | "EscrowAgent" | "SettlementAgent" | "Admin";
4757
5247
  }
4758
5248
  export interface UpdateAccountRequest {
4759
5249
  name: string;
@@ -4764,6 +5254,47 @@ export interface UpdateAccountRequest {
4764
5254
  asoSettings?: ASOSettings | null;
4765
5255
  settings: AccountSettingsRequest;
4766
5256
  }
5257
+ export interface UpdateAiAccountTokenLimitRequest {
5258
+ /** @format int32 */
5259
+ tokenLimit: number;
5260
+ }
5261
+ export interface UpdateAiCanonicalFieldRequest {
5262
+ displayName: string;
5263
+ description: string;
5264
+ allowedRoles: string[];
5265
+ isPii: boolean;
5266
+ category?: string | null;
5267
+ }
5268
+ export interface UpdateAiGuardrailRequest {
5269
+ name: string;
5270
+ category: "ContentSafety" | "PromptInjection" | "Privacy" | "Legal";
5271
+ description?: string | null;
5272
+ keywords: string[];
5273
+ responseTemplate: string;
5274
+ }
5275
+ export interface UpdateAiPromptRequest {
5276
+ title: string;
5277
+ description: string;
5278
+ documentTypes: string[];
5279
+ applicableUrlSourceIds: string[];
5280
+ allowedRoles: string[];
5281
+ systemPrompt: string;
5282
+ /** @format int32 */
5283
+ sortOrder: number;
5284
+ category?: AiPromptCategory | null;
5285
+ queryTemplateName?: AiQueryTemplateName | null;
5286
+ displayHint?: AiDisplayHint | null;
5287
+ bedrockModelId?: string | null;
5288
+ requiredDataSources?: string[] | null;
5289
+ outputType?: AiOutputType | null;
5290
+ }
5291
+ export interface UpdateAiUrlSourceRequest {
5292
+ name: string;
5293
+ url: string;
5294
+ description?: string | null;
5295
+ category: "Regulatory" | "Guidelines" | "MarketData" | "Custom";
5296
+ scope: "FullDomain" | "SpecificPath";
5297
+ }
4767
5298
  export interface UpdateCustomFieldDefinitionRequest {
4768
5299
  isRequired: boolean;
4769
5300
  /** @format int32 */
@@ -5049,7 +5580,7 @@ export interface UserDevice {
5049
5580
  export interface UserDraft {
5050
5581
  /** @format uuid */
5051
5582
  draftID: string;
5052
- role: UserDraftRoleEnum;
5583
+ role: "Borrower" | "CoBorrower" | "NonBorrower" | "LoanOfficer" | "LoanProcessor" | "LoanOfficerAssistant" | "SupportingLoanOfficer" | "BuyerAgent" | "SellerAgent" | "TitleInsuranceAgent" | "EscrowAgent" | "SettlementAgent" | "Admin";
5053
5584
  user: User;
5054
5585
  }
5055
5586
  export interface UserDraftPaginated {
@@ -5073,7 +5604,7 @@ export interface UserGroupAccessScope {
5073
5604
  id: string;
5074
5605
  /** @format uuid */
5075
5606
  groupId: string;
5076
- scopeType: UserGroupAccessScopeScopeTypeEnum;
5607
+ scopeType: "User" | "Branch";
5077
5608
  /** @format uuid */
5078
5609
  userId?: string | null;
5079
5610
  /** @format uuid */
@@ -5106,7 +5637,7 @@ export interface UserLoan {
5106
5637
  deletedAt?: string | null;
5107
5638
  loanID: string;
5108
5639
  user: User;
5109
- role: UserLoanRoleEnum;
5640
+ role: "Borrower" | "CoBorrower" | "NonBorrower" | "LoanOfficer" | "LoanProcessor" | "LoanOfficerAssistant" | "SupportingLoanOfficer" | "BuyerAgent" | "SellerAgent" | "TitleInsuranceAgent" | "EscrowAgent" | "SettlementAgent" | "Admin";
5110
5641
  /** @format int32 */
5111
5642
  borrowerPair?: number | null;
5112
5643
  /** @format int32 */
@@ -5118,11 +5649,11 @@ export interface UserLoanConsent {
5118
5649
  id: string;
5119
5650
  /** @format uuid */
5120
5651
  userLoanID: string;
5121
- type: UserLoanConsentTypeEnum;
5652
+ type: "Econsent" | "CreditAuthorization" | "Tcpa";
5122
5653
  providedConsent: boolean;
5123
5654
  source?: ConsentSource | null;
5124
5655
  ipAddress?: string | null;
5125
- losSyncStatus: UserLoanConsentLosSyncStatusEnum;
5656
+ losSyncStatus: "NotStarted" | "Failed" | "Success";
5126
5657
  /** @format date-time */
5127
5658
  createdAt: string;
5128
5659
  /** @format date-time */
@@ -5252,7 +5783,7 @@ export interface UserSummary {
5252
5783
  id: string;
5253
5784
  name?: string | null;
5254
5785
  email?: string | null;
5255
- role: UserSummaryRoleEnum;
5786
+ role: "Borrower" | "LoanOfficer" | "Admin" | "SuperAdmin" | "Realtor" | "SettlementAgent" | "LoanProcessor" | "LoanOfficerAssistant" | "SystemAdmin";
5256
5787
  }
5257
5788
  export interface VerifyPasswordRequest {
5258
5789
  email: string;
@@ -5279,74 +5810,6 @@ export interface Workflow {
5279
5810
  tileSubtitle: string;
5280
5811
  icon: string;
5281
5812
  }
5282
- export type AccountBillingRequestBillingTypeEnum = "ClosedLoan" | "LoanOfficer";
5283
- export type AuditLogEntryChangeTypeEnum = "Created" | "Modified" | "SoftDeleted" | "HardDeleted" | "Restored" | "Deactivated" | "Reactivated";
5284
- export type BorrowerCountRoleEnum = "Borrower" | "CoBorrower" | "NonBorrower" | "LoanOfficer" | "LoanProcessor" | "LoanOfficerAssistant" | "SupportingLoanOfficer" | "BuyerAgent" | "SellerAgent" | "TitleInsuranceAgent" | "EscrowAgent" | "SettlementAgent" | "Admin";
5285
- export type BorrowerIdentityRoleEnum = "Borrower" | "CoBorrower" | "NonBorrower" | "LoanOfficer" | "LoanProcessor" | "LoanOfficerAssistant" | "SupportingLoanOfficer" | "BuyerAgent" | "SellerAgent" | "TitleInsuranceAgent" | "EscrowAgent" | "SettlementAgent" | "Admin";
5286
- export type CreateAccessScopeRequestScopeTypeEnum = "User" | "Branch";
5287
- export type CreateAccountRequestEnvironmentEnum = "Development" | "Staging" | "UAT" | "Production";
5288
- export type CreateCustomFieldDefinitionRequestDataTypeEnum = "String" | "Number" | "Decimal" | "Boolean" | "Date" | "SingleSelect" | "MultiSelect";
5289
- export type CreateCustomFieldDefinitionRequestEntityTypeEnum = "Loan";
5290
- export type CreateGroupMemberRequestLoanRoleEnum = "Borrower" | "CoBorrower" | "NonBorrower" | "LoanOfficer" | "LoanProcessor" | "LoanOfficerAssistant" | "SupportingLoanOfficer" | "BuyerAgent" | "SellerAgent" | "TitleInsuranceAgent" | "EscrowAgent" | "SettlementAgent" | "Admin";
5291
- /** @deprecated */
5292
- export type CreateInviteRequestRelationshipEnum = "NotApplicable" | "Spouse" | "NonSpouse";
5293
- export type CreateLoanImportRequestImportModeEnum = "All" | "NewOnly" | "UpdateOnly";
5294
- export type CreateUserDraftLoanRoleEnum = "Borrower" | "CoBorrower" | "NonBorrower" | "LoanOfficer" | "LoanProcessor" | "LoanOfficerAssistant" | "SupportingLoanOfficer" | "BuyerAgent" | "SellerAgent" | "TitleInsuranceAgent" | "EscrowAgent" | "SettlementAgent" | "Admin";
5295
- export type CustomFieldDefinitionDataTypeEnum = "String" | "Number" | "Decimal" | "Boolean" | "Date" | "SingleSelect" | "MultiSelect";
5296
- export type CustomFieldDefinitionEntityTypeEnum = "Loan";
5297
- export type CustomFieldEntryDataTypeEnum = "String" | "Number" | "Decimal" | "Boolean" | "Date" | "SingleSelect" | "MultiSelect";
5298
- export type CustomFieldPermissionRoleEnum = "Borrower" | "LoanOfficer" | "Admin" | "SuperAdmin" | "Realtor" | "SettlementAgent" | "LoanProcessor" | "LoanOfficerAssistant" | "SystemAdmin";
5299
- export type CustomFieldPermissionAccessLevelEnum = "NoAccess" | "ReadOnly" | "ReadWrite";
5300
- export type CustomFieldPermissionRequestRoleEnum = "Borrower" | "LoanOfficer" | "Admin" | "SuperAdmin" | "Realtor" | "SettlementAgent" | "LoanProcessor" | "LoanOfficerAssistant" | "SystemAdmin";
5301
- export type CustomFieldPermissionRequestAccessLevelEnum = "NoAccess" | "ReadOnly" | "ReadWrite";
5302
- export type CustomFieldValueDataTypeEnum = "String" | "Number" | "Decimal" | "Boolean" | "Date" | "SingleSelect" | "MultiSelect";
5303
- export type DraftTypeEnum = "NewLoan" | "EditLoan";
5304
- export type DraftContentTypeEnum = "NewLoan" | "EditLoan";
5305
- export type EncompassCredentialsDetailEncompassEnvironmentEnum = "Production" | "UAT";
5306
- export type EncompassCredentialsDetailSigningMethodEnum = "ConsumerConnect" | "POSF";
5307
- export type EncompassCredentialsRequestEncompassEnvironmentEnum = "Production" | "UAT";
5308
- export type EncompassCredentialsRequestSigningMethodEnum = "ConsumerConnect" | "POSF";
5309
- export type EncompassRequestLogOperationTypeEnum = "FieldUpdate" | "ConsentUpdate" | "DocumentSync" | "MilestoneUpdate" | "DocumentAttachment" | "General" | "FieldReader";
5310
- export type EncompassRequestLogOutcomeEnum = "Success" | "Failure" | "PartialSuccess";
5311
- export type FusionReportFilterFilterTypeEnum = "DateGreaterThanOrEqualTo" | "DateGreaterThan" | "DateLessThan" | "DateLessThanOrEqualTo" | "DateEquals" | "DateDoesntEqual" | "DateNonEmpty" | "DateEmpty" | "StringContains" | "StringEquals" | "StringNotEmpty" | "StringNotEquals" | "StringNotContains";
5312
- export type IpAddressAddressFamilyEnum = "Unspecified" | "Unix" | "InterNetwork" | "ImpLink" | "Pup" | "Chaos" | "NS" | "Ipx" | "Iso" | "Osi" | "Ecma" | "DataKit" | "Ccitt" | "Sna" | "DecNet" | "DataLink" | "Lat" | "HyperChannel" | "AppleTalk" | "NetBios" | "VoiceView" | "FireFox" | "Banyan" | "Atm" | "InterNetworkV6" | "Cluster" | "Ieee12844" | "Irda" | "NetworkDesigners" | "Max" | "Packet" | "ControllerAreaNetwork" | "Unknown";
5313
- export type LoanSigningMethodEnum = "ConsumerConnect" | "POSF";
5314
- export type LoanBorrowerApplicationStatusEnum = "Draft" | "Complete";
5315
- export type LoanContactRoleEnum = "Borrower" | "CoBorrower" | "NonBorrower" | "LoanOfficer" | "LoanProcessor" | "LoanOfficerAssistant" | "SupportingLoanOfficer" | "BuyerAgent" | "SellerAgent" | "TitleInsuranceAgent" | "EscrowAgent" | "SettlementAgent" | "Admin";
5316
- export type LoanDocumentFolderPermissionRoleEnum = "Borrower" | "CoBorrower" | "NonBorrower" | "LoanOfficer" | "LoanProcessor" | "LoanOfficerAssistant" | "SupportingLoanOfficer" | "BuyerAgent" | "SellerAgent" | "TitleInsuranceAgent" | "EscrowAgent" | "SettlementAgent" | "Admin";
5317
- export type LoanDocumentFolderPermissionLevelEnum = "None" | "Read" | "Write" | "Manage";
5318
- export type LoanDocumentFolderPermissionRequestRoleEnum = "Borrower" | "CoBorrower" | "NonBorrower" | "LoanOfficer" | "LoanProcessor" | "LoanOfficerAssistant" | "SupportingLoanOfficer" | "BuyerAgent" | "SellerAgent" | "TitleInsuranceAgent" | "EscrowAgent" | "SettlementAgent" | "Admin";
5319
- export type LoanDocumentFolderPermissionRequestLevelEnum = "None" | "Read" | "Write" | "Manage";
5320
- export type LoanImportStatusEnum = "WaitingProcess" | "InProgress" | "Completed" | "Failed" | "Cancelled";
5321
- export type LoanImportImportModeEnum = "All" | "NewOnly" | "UpdateOnly";
5322
- export type LoanImportLogLevelEnum = "None" | "Info" | "Warning" | "Error";
5323
- export type LoanLogLevelEnum = "None" | "Info" | "Warning" | "Error";
5324
- export type LoanLogTypeEnum = "Loan" | "Queue" | "POSFlagChanged" | "Verification" | "DocumentUploaded" | "LoanCreated" | "WorkflowSubmitted" | "UserInvitationSent" | "CoBorrowerAdded" | "TaskCompleted" | "LoanStatusChanged" | "Consent" | "SensitiveDataPurge" | "ClosingDateUpdated" | "ConsumerConnectAssociation" | "TaskReminderSent";
5325
- export type LoanLogDetailLevelEnum = "None" | "Info" | "Warning" | "Error";
5326
- export type LoanLogDetailTypeEnum = "Loan" | "Queue" | "POSFlagChanged" | "Verification" | "DocumentUploaded" | "LoanCreated" | "WorkflowSubmitted" | "UserInvitationSent" | "CoBorrowerAdded" | "TaskCompleted" | "LoanStatusChanged" | "Consent" | "SensitiveDataPurge" | "ClosingDateUpdated" | "ConsumerConnectAssociation" | "TaskReminderSent";
5327
- export type LoanTaskStatusSummaryStatusEnum = "Outstanding" | "Pending" | "Completed" | "Rejected" | "Unknown";
5328
- export type LoanUserLoanRoleEnum = "Borrower" | "CoBorrower" | "NonBorrower" | "LoanOfficer" | "LoanProcessor" | "LoanOfficerAssistant" | "SupportingLoanOfficer" | "BuyerAgent" | "SellerAgent" | "TitleInsuranceAgent" | "EscrowAgent" | "SettlementAgent" | "Admin";
5329
- export type LosOperationTrackingStatusEnum = "Pending" | "Success" | "Failed" | "ConfigurationError" | "PermanentFailure" | "Locked";
5330
- export type LosSyncStepSeverityEnum = "Success" | "Info" | "Warning" | "Error";
5331
- export type SiteConfigurationTypeEnum = "None" | "Account" | "Corporate" | "Branch" | "LoanOfficer" | "Partner";
5332
- export type SiteConfigurationByUrlTypeEnum = "None" | "Account" | "Corporate" | "Branch" | "LoanOfficer" | "Partner";
5333
- export type SiteConfigurationReducedTypeEnum = "None" | "Account" | "Corporate" | "Branch" | "LoanOfficer" | "Partner";
5334
- export type SiteConfigurationRequestTypeEnum = "None" | "Account" | "Corporate" | "Branch" | "LoanOfficer" | "Partner";
5335
- export type SiteConfigurationSummaryTypeEnum = "None" | "Account" | "Corporate" | "Branch" | "LoanOfficer" | "Partner";
5336
- export type UnregisteredBorrowerRoleEnum = "Borrower" | "CoBorrower" | "NonBorrower" | "LoanOfficer" | "LoanProcessor" | "LoanOfficerAssistant" | "SupportingLoanOfficer" | "BuyerAgent" | "SellerAgent" | "TitleInsuranceAgent" | "EscrowAgent" | "SettlementAgent" | "Admin";
5337
- export type UserDraftRoleEnum = "Borrower" | "CoBorrower" | "NonBorrower" | "LoanOfficer" | "LoanProcessor" | "LoanOfficerAssistant" | "SupportingLoanOfficer" | "BuyerAgent" | "SellerAgent" | "TitleInsuranceAgent" | "EscrowAgent" | "SettlementAgent" | "Admin";
5338
- export type UserGroupAccessScopeScopeTypeEnum = "User" | "Branch";
5339
- export type UserLoanRoleEnum = "Borrower" | "CoBorrower" | "NonBorrower" | "LoanOfficer" | "LoanProcessor" | "LoanOfficerAssistant" | "SupportingLoanOfficer" | "BuyerAgent" | "SellerAgent" | "TitleInsuranceAgent" | "EscrowAgent" | "SettlementAgent" | "Admin";
5340
- export type UserLoanConsentTypeEnum = "Econsent" | "CreditAuthorization" | "Tcpa";
5341
- export type UserLoanConsentLosSyncStatusEnum = "NotStarted" | "Failed" | "Success";
5342
- export type UserSummaryRoleEnum = "Borrower" | "LoanOfficer" | "Admin" | "SuperAdmin" | "Realtor" | "SettlementAgent" | "LoanProcessor" | "LoanOfficerAssistant" | "SystemAdmin";
5343
- export type GetCustomFieldDefinitionsParamsEntityTypeEnum = "Loan";
5344
- /** @default "Realtor" */
5345
- export type GetPartnersParamsRoleEnum = "Borrower" | "LoanOfficer" | "Admin" | "SuperAdmin" | "Realtor" | "SettlementAgent" | "LoanProcessor" | "LoanOfficerAssistant" | "SystemAdmin";
5346
- export type GetSamlMetadataParamsSSoIntegrationEnum = "ConsumerConnect" | "TheBigPOS" | "POSF";
5347
- export type GetSamlMetadataParamsEnum = "ConsumerConnect" | "TheBigPOS" | "POSF";
5348
- export type CreateOrReplaceSamlMetadataParamsSSoIntegrationEnum = "ConsumerConnect" | "TheBigPOS" | "POSF";
5349
- export type CreateOrReplaceSamlMetadataParamsEnum = "ConsumerConnect" | "TheBigPOS" | "POSF";
5350
5813
  import type { AxiosInstance, AxiosRequestConfig, AxiosResponse, ResponseType } from "axios";
5351
5814
  export type QueryParamsType = Record<string | number, any>;
5352
5815
  export interface FullRequestParams extends Omit<AxiosRequestConfig, "data" | "params" | "url" | "responseType"> {
@@ -5369,7 +5832,14 @@ export interface ApiConfig<SecurityDataType = unknown> extends Omit<AxiosRequest
5369
5832
  secure?: boolean;
5370
5833
  format?: ResponseType;
5371
5834
  }
5372
- export type ContentType = "application/json" | "application/vnd.api+json" | "multipart/form-data" | "application/x-www-form-urlencoded" | "text/plain";
5835
+ export declare enum ContentType {
5836
+ JsonPatch = "application/json-patch+json",
5837
+ Json = "application/json",
5838
+ JsonApi = "application/vnd.api+json",
5839
+ FormData = "multipart/form-data",
5840
+ UrlEncoded = "application/x-www-form-urlencoded",
5841
+ Text = "text/plain"
5842
+ }
5373
5843
  export declare class HttpClient<SecurityDataType = unknown> {
5374
5844
  instance: AxiosInstance;
5375
5845
  private securityData;
@@ -5385,7 +5855,7 @@ export declare class HttpClient<SecurityDataType = unknown> {
5385
5855
  }
5386
5856
  /**
5387
5857
  * @title The Big POS API
5388
- * @version v2.44.2
5858
+ * @version v2.45.0
5389
5859
  * @termsOfService https://www.thebigpos.com/terms-of-use/
5390
5860
  * @contact Mortgage Automation Technologies <support@thebigpos.com> (https://www.thebigpos.com/terms-of-use/)
5391
5861
  */
@@ -5549,10 +6019,842 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
5549
6019
  /**
5550
6020
  * No description
5551
6021
  *
5552
- * @tags AuditLog
5553
- * @name SearchAuditLogs
5554
- * @summary Search
5555
- * @request POST:/api/audit-logs/search
6022
+ * @tags AiAccountSettings
6023
+ * @name GetAiAccountSettings
6024
+ * @summary Get account AI settings
6025
+ * @request GET:/api/ai/admin/account-settings
6026
+ * @secure
6027
+ * @response `200` `AiAccountSettings` OK
6028
+ */
6029
+ getAiAccountSettings: (params?: RequestParams) => Promise<AxiosResponse<AiAccountSettings, any, {}>>;
6030
+ /**
6031
+ * No description
6032
+ *
6033
+ * @tags AiAccountSettings
6034
+ * @name UpdateAiAccountSettings
6035
+ * @summary Update account AI settings
6036
+ * @request PUT:/api/ai/admin/account-settings
6037
+ * @secure
6038
+ * @response `200` `AiAccountSettings` OK
6039
+ * @response `400` `ProblemDetails` Bad Request
6040
+ */
6041
+ updateAiAccountSettings: (data: AiAccountSettingsRequest, params?: RequestParams) => Promise<AxiosResponse<AiAccountSettings, any, {}>>;
6042
+ /**
6043
+ * No description
6044
+ *
6045
+ * @tags AiAdmin
6046
+ * @name GetAiAuditLogs
6047
+ * @summary Get paginated audit logs
6048
+ * @request GET:/api/ai/admin/audit-logs
6049
+ * @secure
6050
+ * @response `200` `AiAuditLogPaginated` OK
6051
+ */
6052
+ getAiAuditLogs: (query?: {
6053
+ eventType?: AiAuditEventType;
6054
+ /** @format uuid */
6055
+ requestId?: string;
6056
+ /** @format uuid */
6057
+ userId?: string;
6058
+ /** @format uuid */
6059
+ conversationId?: string;
6060
+ blockedOnly?: boolean;
6061
+ /** @format date-time */
6062
+ startDate?: string;
6063
+ /** @format date-time */
6064
+ endDate?: string;
6065
+ /** @format int32 */
6066
+ pageSize?: number;
6067
+ /** @format int32 */
6068
+ pageNumber?: number;
6069
+ sortBy?: string;
6070
+ sortDirection?: string;
6071
+ }, params?: RequestParams) => Promise<AxiosResponse<AiAuditLogPaginated, any, {}>>;
6072
+ /**
6073
+ * No description
6074
+ *
6075
+ * @tags AiAdmin
6076
+ * @name GetAiRequestLifecycle
6077
+ * @summary Get the full event lifecycle of a single AI request
6078
+ * @request GET:/api/ai/admin/audit-logs/request/{requestId}
6079
+ * @secure
6080
+ * @response `200` `(AiAuditLog)[]` OK
6081
+ */
6082
+ getAiRequestLifecycle: (requestId: string, params?: RequestParams) => Promise<AxiosResponse<AiAuditLog[], any, {}>>;
6083
+ /**
6084
+ * No description
6085
+ *
6086
+ * @tags AiAdmin
6087
+ * @name GetAiAuditConversations
6088
+ * @summary List conversations with their audit roll-up — origin user, turns, status, tokens
6089
+ * @request GET:/api/ai/admin/audit-conversations
6090
+ * @secure
6091
+ * @response `200` `AiConversationAuditSummaryPaginated` OK
6092
+ */
6093
+ getAiAuditConversations: (query?: {
6094
+ searchText?: string;
6095
+ /** @format date-time */
6096
+ startDate?: string;
6097
+ /** @format date-time */
6098
+ endDate?: string;
6099
+ /** @format int32 */
6100
+ pageSize?: number;
6101
+ /** @format int32 */
6102
+ pageNumber?: number;
6103
+ sortBy?: string;
6104
+ sortDirection?: string;
6105
+ }, params?: RequestParams) => Promise<AxiosResponse<AiConversationAuditSummaryPaginated, any, {}>>;
6106
+ /**
6107
+ * No description
6108
+ *
6109
+ * @tags AiAdmin
6110
+ * @name GetAiAdminStats
6111
+ * @summary Get AI admin dashboard stats
6112
+ * @request GET:/api/ai/admin/stats
6113
+ * @secure
6114
+ * @response `200` `AiAdminStats` OK
6115
+ */
6116
+ getAiAdminStats: (query?: {
6117
+ /** @format date-time */
6118
+ startDate?: string;
6119
+ /** @format date-time */
6120
+ endDate?: string;
6121
+ }, params?: RequestParams) => Promise<AxiosResponse<AiAdminStats, any, {}>>;
6122
+ /**
6123
+ * No description
6124
+ *
6125
+ * @tags AiAdmin
6126
+ * @name GetAiConfigChanges
6127
+ * @summary Get the AI configuration change history (who changed prompts, guardrails, fields, sources)
6128
+ * @request GET:/api/ai/admin/config-changes
6129
+ * @secure
6130
+ * @response `200` `AiConfigChangeLogPaginated` OK
6131
+ */
6132
+ getAiConfigChanges: (query?: {
6133
+ entityType?: AiConfigEntityType;
6134
+ /** @format uuid */
6135
+ entityId?: string;
6136
+ /** @format uuid */
6137
+ actorUserId?: string;
6138
+ action?: AiConfigChangeAction;
6139
+ /** @format date-time */
6140
+ startDate?: string;
6141
+ /** @format date-time */
6142
+ endDate?: string;
6143
+ /** @format int32 */
6144
+ pageSize?: number;
6145
+ /** @format int32 */
6146
+ pageNumber?: number;
6147
+ sortBy?: string;
6148
+ sortDirection?: string;
6149
+ }, params?: RequestParams) => Promise<AxiosResponse<AiConfigChangeLogPaginated, any, {}>>;
6150
+ /**
6151
+ * No description
6152
+ *
6153
+ * @tags AiAdminPrompt
6154
+ * @name GetAiPrompts
6155
+ * @summary Get all prompts
6156
+ * @request GET:/api/ai/admin/prompts
6157
+ * @secure
6158
+ * @response `200` `(AiPrompt)[]` OK
6159
+ */
6160
+ getAiPrompts: (params?: RequestParams) => Promise<AxiosResponse<AiPrompt[], any, {}>>;
6161
+ /**
6162
+ * No description
6163
+ *
6164
+ * @tags AiAdminPrompt
6165
+ * @name CreateAiPrompt
6166
+ * @summary Create custom prompt
6167
+ * @request POST:/api/ai/admin/prompts
6168
+ * @secure
6169
+ * @response `201` `AiPrompt` Created
6170
+ * @response `400` `ProblemDetails` Bad Request
6171
+ */
6172
+ createAiPrompt: (data: CreateAiPromptRequest, params?: RequestParams) => Promise<AxiosResponse<AiPrompt, any, {}>>;
6173
+ /**
6174
+ * No description
6175
+ *
6176
+ * @tags AiAdminPrompt
6177
+ * @name GetAiPrompt
6178
+ * @summary Get prompt by ID
6179
+ * @request GET:/api/ai/admin/prompts/{id}
6180
+ * @secure
6181
+ * @response `200` `AiPrompt` OK
6182
+ * @response `404` `ProblemDetails` Not Found
6183
+ */
6184
+ getAiPrompt: (id: string, params?: RequestParams) => Promise<AxiosResponse<AiPrompt, any, {}>>;
6185
+ /**
6186
+ * No description
6187
+ *
6188
+ * @tags AiAdminPrompt
6189
+ * @name UpdateAiPrompt
6190
+ * @summary Update prompt
6191
+ * @request PUT:/api/ai/admin/prompts/{id}
6192
+ * @secure
6193
+ * @response `200` `AiPrompt` OK
6194
+ * @response `400` `ProblemDetails` Bad Request
6195
+ * @response `404` `ProblemDetails` Not Found
6196
+ */
6197
+ updateAiPrompt: (id: string, data: UpdateAiPromptRequest, params?: RequestParams) => Promise<AxiosResponse<AiPrompt, any, {}>>;
6198
+ /**
6199
+ * No description
6200
+ *
6201
+ * @tags AiAdminPrompt
6202
+ * @name DeleteAiPrompt
6203
+ * @summary Delete prompt
6204
+ * @request DELETE:/api/ai/admin/prompts/{id}
6205
+ * @secure
6206
+ * @response `204` `void` No Content
6207
+ * @response `400` `ProblemDetails` Bad Request
6208
+ * @response `404` `ProblemDetails` Not Found
6209
+ */
6210
+ deleteAiPrompt: (id: string, params?: RequestParams) => Promise<AxiosResponse<void, any, {}>>;
6211
+ /**
6212
+ * No description
6213
+ *
6214
+ * @tags AiAdminPrompt
6215
+ * @name ToggleAiPrompt
6216
+ * @summary Toggle prompt active/inactive
6217
+ * @request PATCH:/api/ai/admin/prompts/{id}/toggle
6218
+ * @secure
6219
+ * @response `200` `AiPrompt` OK
6220
+ * @response `404` `ProblemDetails` Not Found
6221
+ */
6222
+ toggleAiPrompt: (id: string, params?: RequestParams) => Promise<AxiosResponse<AiPrompt, any, {}>>;
6223
+ /**
6224
+ * No description
6225
+ *
6226
+ * @tags AiAdminPrompt
6227
+ * @name GenerateAiSystemPrompt
6228
+ * @summary Generate a system prompt from description
6229
+ * @request POST:/api/ai/admin/prompts/generate
6230
+ * @secure
6231
+ * @response `200` `GenerateSystemPrompt` OK
6232
+ * @response `400` `ProblemDetails` Bad Request
6233
+ */
6234
+ generateAiSystemPrompt: (data: GenerateSystemPromptRequest, params?: RequestParams) => Promise<AxiosResponse<GenerateSystemPrompt, any, {}>>;
6235
+ /**
6236
+ * No description
6237
+ *
6238
+ * @tags AiAdminPrompt
6239
+ * @name GetSupportedModels
6240
+ * @summary Get supported LLM models
6241
+ * @request GET:/api/ai/admin/prompts/supported-models
6242
+ * @secure
6243
+ * @response `200` `(SupportedModel)[]` OK
6244
+ */
6245
+ getSupportedModels: (params?: RequestParams) => Promise<AxiosResponse<SupportedModel[], any, {}>>;
6246
+ /**
6247
+ * No description
6248
+ *
6249
+ * @tags AiAdminSettings
6250
+ * @name GetAiAdminSettings
6251
+ * @summary Get global AI settings
6252
+ * @request GET:/api/ai/admin/settings
6253
+ * @secure
6254
+ * @response `200` `AiAdminSettings` OK
6255
+ */
6256
+ getAiAdminSettings: (params?: RequestParams) => Promise<AxiosResponse<AiAdminSettings, any, {}>>;
6257
+ /**
6258
+ * No description
6259
+ *
6260
+ * @tags AiAdminSettings
6261
+ * @name UpdateAiAdminSettings
6262
+ * @summary Update global AI settings
6263
+ * @request PUT:/api/ai/admin/settings
6264
+ * @secure
6265
+ * @response `200` `AiAdminSettings` OK
6266
+ * @response `400` `ProblemDetails` Bad Request
6267
+ */
6268
+ updateAiAdminSettings: (data: AiAdminSettingsRequest, params?: RequestParams) => Promise<AxiosResponse<AiAdminSettings, any, {}>>;
6269
+ /**
6270
+ * No description
6271
+ *
6272
+ * @tags AiCanonicalField
6273
+ * @name GetAiCanonicalFields
6274
+ * @summary Get all canonical fields
6275
+ * @request GET:/api/ai/admin/fields
6276
+ * @secure
6277
+ * @response `200` `(AiCanonicalField)[]` OK
6278
+ */
6279
+ getAiCanonicalFields: (params?: RequestParams) => Promise<AxiosResponse<AiCanonicalField[], any, {}>>;
6280
+ /**
6281
+ * No description
6282
+ *
6283
+ * @tags AiCanonicalField
6284
+ * @name CreateAiCanonicalField
6285
+ * @summary Create canonical field
6286
+ * @request POST:/api/ai/admin/fields
6287
+ * @secure
6288
+ * @response `201` `AiCanonicalField` Created
6289
+ * @response `400` `ProblemDetails` Bad Request
6290
+ */
6291
+ createAiCanonicalField: (data: CreateAiCanonicalFieldRequest, params?: RequestParams) => Promise<AxiosResponse<AiCanonicalField, any, {}>>;
6292
+ /**
6293
+ * No description
6294
+ *
6295
+ * @tags AiCanonicalField
6296
+ * @name GetAiCanonicalField
6297
+ * @summary Get canonical field by ID
6298
+ * @request GET:/api/ai/admin/fields/{id}
6299
+ * @secure
6300
+ * @response `200` `AiCanonicalField` OK
6301
+ * @response `404` `ProblemDetails` Not Found
6302
+ */
6303
+ getAiCanonicalField: (id: string, params?: RequestParams) => Promise<AxiosResponse<AiCanonicalField, any, {}>>;
6304
+ /**
6305
+ * No description
6306
+ *
6307
+ * @tags AiCanonicalField
6308
+ * @name UpdateAiCanonicalField
6309
+ * @summary Update canonical field
6310
+ * @request PUT:/api/ai/admin/fields/{id}
6311
+ * @secure
6312
+ * @response `200` `AiCanonicalField` OK
6313
+ * @response `400` `ProblemDetails` Bad Request
6314
+ * @response `404` `ProblemDetails` Not Found
6315
+ */
6316
+ updateAiCanonicalField: (id: string, data: UpdateAiCanonicalFieldRequest, params?: RequestParams) => Promise<AxiosResponse<AiCanonicalField, any, {}>>;
6317
+ /**
6318
+ * No description
6319
+ *
6320
+ * @tags AiCanonicalField
6321
+ * @name DeleteAiCanonicalField
6322
+ * @summary Delete canonical field
6323
+ * @request DELETE:/api/ai/admin/fields/{id}
6324
+ * @secure
6325
+ * @response `204` `void` No Content
6326
+ * @response `404` `ProblemDetails` Not Found
6327
+ */
6328
+ deleteAiCanonicalField: (id: string, params?: RequestParams) => Promise<AxiosResponse<void, any, {}>>;
6329
+ /**
6330
+ * No description
6331
+ *
6332
+ * @tags AiCanonicalField
6333
+ * @name ToggleAiCanonicalField
6334
+ * @summary Toggle canonical field active/inactive
6335
+ * @request PATCH:/api/ai/admin/fields/{id}/toggle
6336
+ * @secure
6337
+ * @response `200` `AiCanonicalField` OK
6338
+ * @response `404` `ProblemDetails` Not Found
6339
+ */
6340
+ toggleAiCanonicalField: (id: string, params?: RequestParams) => Promise<AxiosResponse<AiCanonicalField, any, {}>>;
6341
+ /**
6342
+ * No description
6343
+ *
6344
+ * @tags AiChat
6345
+ * @name AiChat
6346
+ * @summary Send AI chat message
6347
+ * @request POST:/api/ai/chat
6348
+ * @secure
6349
+ * @response `200` `AiChat` OK
6350
+ * @response `400` `ProblemDetails` Bad Request
6351
+ * @response `401` `ProblemDetails` Unauthorized
6352
+ */
6353
+ aiChat: (data: AiChatRequest, params?: RequestParams) => Promise<AxiosResponse<AiChat, any, {}>>;
6354
+ /**
6355
+ * No description
6356
+ *
6357
+ * @tags AiConversation
6358
+ * @name GetAiConversations
6359
+ * @summary Get user conversations
6360
+ * @request GET:/api/ai/conversations
6361
+ * @secure
6362
+ * @response `200` `AiConversationListItemPaginated` OK
6363
+ */
6364
+ getAiConversations: (query?: {
6365
+ /** @format int32 */
6366
+ pageSize?: number;
6367
+ /** @format int32 */
6368
+ pageNumber?: number;
6369
+ sortBy?: string;
6370
+ sortDirection?: string;
6371
+ }, params?: RequestParams) => Promise<AxiosResponse<AiConversationListItemPaginated, any, {}>>;
6372
+ /**
6373
+ * No description
6374
+ *
6375
+ * @tags AiConversation
6376
+ * @name GetAiConversation
6377
+ * @summary Get conversation metadata
6378
+ * @request GET:/api/ai/conversations/{id}
6379
+ * @secure
6380
+ * @response `200` `AiConversationDetail` OK
6381
+ * @response `403` `ProblemDetails` Forbidden
6382
+ * @response `404` `ProblemDetails` Not Found
6383
+ */
6384
+ getAiConversation: (id: string, params?: RequestParams) => Promise<AxiosResponse<AiConversationDetail, any, {}>>;
6385
+ /**
6386
+ * No description
6387
+ *
6388
+ * @tags AiConversation
6389
+ * @name RenameAiConversation
6390
+ * @summary Rename conversation
6391
+ * @request PATCH:/api/ai/conversations/{id}
6392
+ * @secure
6393
+ * @response `200` `AiConversationDetail` OK
6394
+ * @response `400` `ProblemDetails` Bad Request
6395
+ * @response `403` `ProblemDetails` Forbidden
6396
+ * @response `404` `ProblemDetails` Not Found
6397
+ */
6398
+ renameAiConversation: (id: string, data: JsonPatchDocument, params?: RequestParams) => Promise<AxiosResponse<AiConversationDetail, any, {}>>;
6399
+ /**
6400
+ * No description
6401
+ *
6402
+ * @tags AiConversation
6403
+ * @name DeleteAiConversation
6404
+ * @summary Delete conversation
6405
+ * @request DELETE:/api/ai/conversations/{id}
6406
+ * @secure
6407
+ * @response `204` `void` No Content
6408
+ * @response `403` `ProblemDetails` Forbidden
6409
+ * @response `404` `ProblemDetails` Not Found
6410
+ */
6411
+ deleteAiConversation: (id: string, params?: RequestParams) => Promise<AxiosResponse<void, any, {}>>;
6412
+ /**
6413
+ * No description
6414
+ *
6415
+ * @tags AiConversation
6416
+ * @name GetAiConversationMessages
6417
+ * @summary Get conversation messages
6418
+ * @request GET:/api/ai/conversations/{id}/messages
6419
+ * @secure
6420
+ * @response `200` `AiChatMessagePaginated` OK
6421
+ * @response `403` `ProblemDetails` Forbidden
6422
+ * @response `404` `ProblemDetails` Not Found
6423
+ */
6424
+ getAiConversationMessages: (id: string, query?: {
6425
+ /** @format int32 */
6426
+ pageSize?: number;
6427
+ /** @format int32 */
6428
+ pageNumber?: number;
6429
+ sortBy?: string;
6430
+ sortDirection?: string;
6431
+ }, params?: RequestParams) => Promise<AxiosResponse<AiChatMessagePaginated, any, {}>>;
6432
+ /**
6433
+ * No description
6434
+ *
6435
+ * @tags AiConversation
6436
+ * @name ClearAiConversationHistory
6437
+ * @summary Clear conversation history
6438
+ * @request DELETE:/api/ai/conversations/{id}/messages
6439
+ * @secure
6440
+ * @response `204` `void` No Content
6441
+ * @response `403` `ProblemDetails` Forbidden
6442
+ * @response `404` `ProblemDetails` Not Found
6443
+ */
6444
+ clearAiConversationHistory: (id: string, params?: RequestParams) => Promise<AxiosResponse<void, any, {}>>;
6445
+ /**
6446
+ * No description
6447
+ *
6448
+ * @tags AiConversation
6449
+ * @name PinAiConversation
6450
+ * @summary Pin or unpin conversation
6451
+ * @request PUT:/api/ai/conversations/{id}/pin
6452
+ * @secure
6453
+ * @response `200` `AiConversationDetail` OK
6454
+ * @response `403` `ProblemDetails` Forbidden
6455
+ * @response `404` `ProblemDetails` Not Found
6456
+ */
6457
+ pinAiConversation: (id: string, data: PinAiConversationRequest, params?: RequestParams) => Promise<AxiosResponse<AiConversationDetail, any, {}>>;
6458
+ /**
6459
+ * No description
6460
+ *
6461
+ * @tags AiConversationAdmin
6462
+ * @name GetAiAccountConversations
6463
+ * @summary List AI conversations across the account, optionally filtered by user (admin supervision)
6464
+ * @request GET:/api/ai/admin/conversations
6465
+ * @secure
6466
+ * @response `200` `AiConversationListItemPaginated` OK
6467
+ */
6468
+ getAiAccountConversations: (query?: {
6469
+ /** @format uuid */
6470
+ userId?: string;
6471
+ /** @format int32 */
6472
+ pageSize?: number;
6473
+ /** @format int32 */
6474
+ pageNumber?: number;
6475
+ sortBy?: string;
6476
+ sortDirection?: string;
6477
+ }, params?: RequestParams) => Promise<AxiosResponse<AiConversationListItemPaginated, any, {}>>;
6478
+ /**
6479
+ * No description
6480
+ *
6481
+ * @tags AiConversationAdmin
6482
+ * @name GetAiAccountConversation
6483
+ * @summary Get an account conversation's detail (admin supervision)
6484
+ * @request GET:/api/ai/admin/conversations/{id}
6485
+ * @secure
6486
+ * @response `200` `AiConversationDetail` OK
6487
+ * @response `404` `ProblemDetails` Not Found
6488
+ */
6489
+ getAiAccountConversation: (id: string, params?: RequestParams) => Promise<AxiosResponse<AiConversationDetail, any, {}>>;
6490
+ /**
6491
+ * No description
6492
+ *
6493
+ * @tags AiConversationAdmin
6494
+ * @name GetAiAccountConversationMessages
6495
+ * @summary Get an account conversation's messages (admin supervision)
6496
+ * @request GET:/api/ai/admin/conversations/{id}/messages
6497
+ * @secure
6498
+ * @response `200` `AiChatMessagePaginated` OK
6499
+ * @response `404` `ProblemDetails` Not Found
6500
+ */
6501
+ getAiAccountConversationMessages: (id: string, query?: {
6502
+ /** @format int32 */
6503
+ pageSize?: number;
6504
+ /** @format int32 */
6505
+ pageNumber?: number;
6506
+ sortBy?: string;
6507
+ sortDirection?: string;
6508
+ }, params?: RequestParams) => Promise<AxiosResponse<AiChatMessagePaginated, any, {}>>;
6509
+ /**
6510
+ * No description
6511
+ *
6512
+ * @tags AiGuardrail
6513
+ * @name GetAiGuardrails
6514
+ * @summary Get all guardrails
6515
+ * @request GET:/api/ai/admin/guardrails
6516
+ * @secure
6517
+ * @response `200` `(AiGuardrail)[]` OK
6518
+ */
6519
+ getAiGuardrails: (params?: RequestParams) => Promise<AxiosResponse<AiGuardrail[], any, {}>>;
6520
+ /**
6521
+ * No description
6522
+ *
6523
+ * @tags AiGuardrail
6524
+ * @name CreateAiGuardrail
6525
+ * @summary Create custom guardrail
6526
+ * @request POST:/api/ai/admin/guardrails
6527
+ * @secure
6528
+ * @response `201` `AiGuardrail` Created
6529
+ * @response `400` `ProblemDetails` Bad Request
6530
+ */
6531
+ createAiGuardrail: (data: CreateAiGuardrailRequest, params?: RequestParams) => Promise<AxiosResponse<AiGuardrail, any, {}>>;
6532
+ /**
6533
+ * No description
6534
+ *
6535
+ * @tags AiGuardrail
6536
+ * @name GetAiGuardrail
6537
+ * @summary Get guardrail by ID
6538
+ * @request GET:/api/ai/admin/guardrails/{id}
6539
+ * @secure
6540
+ * @response `200` `AiGuardrail` OK
6541
+ * @response `404` `ProblemDetails` Not Found
6542
+ */
6543
+ getAiGuardrail: (id: string, params?: RequestParams) => Promise<AxiosResponse<AiGuardrail, any, {}>>;
6544
+ /**
6545
+ * No description
6546
+ *
6547
+ * @tags AiGuardrail
6548
+ * @name UpdateAiGuardrail
6549
+ * @summary Update guardrail
6550
+ * @request PUT:/api/ai/admin/guardrails/{id}
6551
+ * @secure
6552
+ * @response `200` `AiGuardrail` OK
6553
+ * @response `400` `ProblemDetails` Bad Request
6554
+ * @response `404` `ProblemDetails` Not Found
6555
+ */
6556
+ updateAiGuardrail: (id: string, data: UpdateAiGuardrailRequest, params?: RequestParams) => Promise<AxiosResponse<AiGuardrail, any, {}>>;
6557
+ /**
6558
+ * No description
6559
+ *
6560
+ * @tags AiGuardrail
6561
+ * @name DeleteAiGuardrail
6562
+ * @summary Delete guardrail
6563
+ * @request DELETE:/api/ai/admin/guardrails/{id}
6564
+ * @secure
6565
+ * @response `204` `void` No Content
6566
+ * @response `400` `ProblemDetails` Bad Request
6567
+ * @response `404` `ProblemDetails` Not Found
6568
+ */
6569
+ deleteAiGuardrail: (id: string, params?: RequestParams) => Promise<AxiosResponse<void, any, {}>>;
6570
+ /**
6571
+ * No description
6572
+ *
6573
+ * @tags AiGuardrail
6574
+ * @name ToggleAiGuardrail
6575
+ * @summary Toggle guardrail enabled/disabled
6576
+ * @request PATCH:/api/ai/admin/guardrails/{id}/toggle
6577
+ * @secure
6578
+ * @response `200` `AiGuardrail` OK
6579
+ * @response `404` `ProblemDetails` Not Found
6580
+ */
6581
+ toggleAiGuardrail: (id: string, params?: RequestParams) => Promise<AxiosResponse<AiGuardrail, any, {}>>;
6582
+ /**
6583
+ * No description
6584
+ *
6585
+ * @tags AiPrompt
6586
+ * @name GetAvailablePrompts
6587
+ * @summary Get available prompts for current user
6588
+ * @request GET:/api/ai/prompts
6589
+ * @secure
6590
+ * @response `200` `(AiPromptSummary)[]` OK
6591
+ */
6592
+ getAvailablePrompts: (query?: {
6593
+ documentType?: string;
6594
+ }, params?: RequestParams) => Promise<AxiosResponse<AiPromptSummary[], any, {}>>;
6595
+ /**
6596
+ * No description
6597
+ *
6598
+ * @tags AiSuperAdmin
6599
+ * @name GetAiAuditLogsCrossAccount
6600
+ * @summary Get AI audit logs for a specific account or across all accounts
6601
+ * @request GET:/api/ai/superadmin/audit-logs
6602
+ * @secure
6603
+ * @response `200` `AiAuditLogPaginated` OK
6604
+ */
6605
+ getAiAuditLogsCrossAccount: (query?: {
6606
+ /** @format uuid */
6607
+ accountId?: string;
6608
+ eventType?: AiAuditEventType;
6609
+ /** @format uuid */
6610
+ requestId?: string;
6611
+ /** @format uuid */
6612
+ userId?: string;
6613
+ /** @format uuid */
6614
+ conversationId?: string;
6615
+ blockedOnly?: boolean;
6616
+ /** @format date-time */
6617
+ startDate?: string;
6618
+ /** @format date-time */
6619
+ endDate?: string;
6620
+ /** @format int32 */
6621
+ pageSize?: number;
6622
+ /** @format int32 */
6623
+ pageNumber?: number;
6624
+ sortBy?: string;
6625
+ sortDirection?: string;
6626
+ }, params?: RequestParams) => Promise<AxiosResponse<AiAuditLogPaginated, any, {}>>;
6627
+ /**
6628
+ * No description
6629
+ *
6630
+ * @tags AiSuperAdmin
6631
+ * @name GetAiRequestLifecycleCrossAccount
6632
+ * @summary Get the full event lifecycle of a single AI request from any account
6633
+ * @request GET:/api/ai/superadmin/audit-logs/request/{requestId}
6634
+ * @secure
6635
+ * @response `200` `(AiAuditLog)[]` OK
6636
+ */
6637
+ getAiRequestLifecycleCrossAccount: (requestId: string, query?: {
6638
+ /** @format uuid */
6639
+ accountId?: string;
6640
+ }, params?: RequestParams) => Promise<AxiosResponse<AiAuditLog[], any, {}>>;
6641
+ /**
6642
+ * No description
6643
+ *
6644
+ * @tags AiSuperAdmin
6645
+ * @name GetAiStatsCrossAccount
6646
+ * @summary Get AI stats for a specific account or platform-wide
6647
+ * @request GET:/api/ai/superadmin/stats
6648
+ * @secure
6649
+ * @response `200` `AiAdminStats` OK
6650
+ */
6651
+ getAiStatsCrossAccount: (query?: {
6652
+ /** @format uuid */
6653
+ accountId?: string;
6654
+ /** @format date-time */
6655
+ startDate?: string;
6656
+ /** @format date-time */
6657
+ endDate?: string;
6658
+ }, params?: RequestParams) => Promise<AxiosResponse<AiAdminStats, any, {}>>;
6659
+ /**
6660
+ * No description
6661
+ *
6662
+ * @tags AiSuperAdmin
6663
+ * @name GetAiConfigChangesCrossAccount
6664
+ * @summary Get AI configuration change history for a specific account or across all accounts (incl. global defaults)
6665
+ * @request GET:/api/ai/superadmin/config-changes
6666
+ * @secure
6667
+ * @response `200` `AiConfigChangeLogPaginated` OK
6668
+ */
6669
+ getAiConfigChangesCrossAccount: (query?: {
6670
+ /** @format uuid */
6671
+ accountId?: string;
6672
+ entityType?: AiConfigEntityType;
6673
+ /** @format uuid */
6674
+ entityId?: string;
6675
+ /** @format uuid */
6676
+ actorUserId?: string;
6677
+ action?: AiConfigChangeAction;
6678
+ /** @format date-time */
6679
+ startDate?: string;
6680
+ /** @format date-time */
6681
+ endDate?: string;
6682
+ /** @format int32 */
6683
+ pageSize?: number;
6684
+ /** @format int32 */
6685
+ pageNumber?: number;
6686
+ sortBy?: string;
6687
+ sortDirection?: string;
6688
+ }, params?: RequestParams) => Promise<AxiosResponse<AiConfigChangeLogPaginated, any, {}>>;
6689
+ /**
6690
+ * No description
6691
+ *
6692
+ * @tags AiTokenUsageAdmin
6693
+ * @name SearchAiAccountTokenUsage
6694
+ * @summary Search accounts by current-month AI token usage and classification
6695
+ * @request POST:/api/ai/admin/token-usage/search
6696
+ * @secure
6697
+ * @response `200` `AiAccountUsageOverviewPaginated` OK
6698
+ */
6699
+ searchAiAccountTokenUsage: (data: SearchCriteria, query?: {
6700
+ /** @format int32 */
6701
+ pageSize?: number;
6702
+ /** @format int32 */
6703
+ pageNumber?: number;
6704
+ sortBy?: string;
6705
+ sortDirection?: string;
6706
+ }, params?: RequestParams) => Promise<AxiosResponse<AiAccountUsageOverviewPaginated, any, {}>>;
6707
+ /**
6708
+ * No description
6709
+ *
6710
+ * @tags AiTokenUsageAdmin
6711
+ * @name GetAiAccountTokenUsage
6712
+ * @summary Get an account's current-month AI token usage
6713
+ * @request GET:/api/ai/admin/token-usage/{accountId}
6714
+ * @secure
6715
+ * @response `200` `AiTokenBudgetStatus` OK
6716
+ */
6717
+ getAiAccountTokenUsage: (accountId: string, params?: RequestParams) => Promise<AxiosResponse<AiTokenBudgetStatus, any, {}>>;
6718
+ /**
6719
+ * No description
6720
+ *
6721
+ * @tags AiTokenUsageAdmin
6722
+ * @name GetAiAccountTokenUsageHistory
6723
+ * @summary Get an account's monthly AI token usage history
6724
+ * @request GET:/api/ai/admin/token-usage/{accountId}/history
6725
+ * @secure
6726
+ * @response `200` `AiTokenUsageWindowPaginated` OK
6727
+ */
6728
+ getAiAccountTokenUsageHistory: (accountId: string, query?: {
6729
+ /** @format int32 */
6730
+ pageSize?: number;
6731
+ /** @format int32 */
6732
+ pageNumber?: number;
6733
+ sortBy?: string;
6734
+ sortDirection?: string;
6735
+ }, params?: RequestParams) => Promise<AxiosResponse<AiTokenUsageWindowPaginated, any, {}>>;
6736
+ /**
6737
+ * No description
6738
+ *
6739
+ * @tags AiTokenUsageAdmin
6740
+ * @name SetAiAccountTokenLimit
6741
+ * @summary Set or raise an account's monthly AI token limit
6742
+ * @request PUT:/api/ai/admin/token-usage/{accountId}/limit
6743
+ * @secure
6744
+ * @response `200` `AiTokenBudgetStatus` OK
6745
+ * @response `400` `ProblemDetails` Bad Request
6746
+ */
6747
+ setAiAccountTokenLimit: (accountId: string, data: UpdateAiAccountTokenLimitRequest, params?: RequestParams) => Promise<AxiosResponse<AiTokenBudgetStatus, any, {}>>;
6748
+ /**
6749
+ * No description
6750
+ *
6751
+ * @tags AiUrlSource
6752
+ * @name GetAiUrlSources
6753
+ * @summary Get all URL sources
6754
+ * @request GET:/api/ai/admin/url-sources
6755
+ * @secure
6756
+ * @response `200` `(AiUrlSource)[]` OK
6757
+ */
6758
+ getAiUrlSources: (params?: RequestParams) => Promise<AxiosResponse<AiUrlSource[], any, {}>>;
6759
+ /**
6760
+ * No description
6761
+ *
6762
+ * @tags AiUrlSource
6763
+ * @name CreateAiUrlSource
6764
+ * @summary Create URL source
6765
+ * @request POST:/api/ai/admin/url-sources
6766
+ * @secure
6767
+ * @response `201` `AiUrlSource` Created
6768
+ * @response `400` `ProblemDetails` Bad Request
6769
+ * @response `409` `ProblemDetails` Conflict
6770
+ */
6771
+ createAiUrlSource: (data: CreateAiUrlSourceRequest, params?: RequestParams) => Promise<AxiosResponse<AiUrlSource, any, {}>>;
6772
+ /**
6773
+ * No description
6774
+ *
6775
+ * @tags AiUrlSource
6776
+ * @name GetAiUrlSource
6777
+ * @summary Get URL source by ID
6778
+ * @request GET:/api/ai/admin/url-sources/{id}
6779
+ * @secure
6780
+ * @response `200` `AiUrlSource` OK
6781
+ * @response `404` `ProblemDetails` Not Found
6782
+ */
6783
+ getAiUrlSource: (id: string, params?: RequestParams) => Promise<AxiosResponse<AiUrlSource, any, {}>>;
6784
+ /**
6785
+ * No description
6786
+ *
6787
+ * @tags AiUrlSource
6788
+ * @name UpdateAiUrlSource
6789
+ * @summary Update URL source
6790
+ * @request PUT:/api/ai/admin/url-sources/{id}
6791
+ * @secure
6792
+ * @response `200` `AiUrlSource` OK
6793
+ * @response `400` `ProblemDetails` Bad Request
6794
+ * @response `404` `ProblemDetails` Not Found
6795
+ * @response `409` `ProblemDetails` Conflict
6796
+ */
6797
+ updateAiUrlSource: (id: string, data: UpdateAiUrlSourceRequest, params?: RequestParams) => Promise<AxiosResponse<AiUrlSource, any, {}>>;
6798
+ /**
6799
+ * No description
6800
+ *
6801
+ * @tags AiUrlSource
6802
+ * @name DeleteAiUrlSource
6803
+ * @summary Delete URL source
6804
+ * @request DELETE:/api/ai/admin/url-sources/{id}
6805
+ * @secure
6806
+ * @response `204` `void` No Content
6807
+ * @response `404` `ProblemDetails` Not Found
6808
+ */
6809
+ deleteAiUrlSource: (id: string, params?: RequestParams) => Promise<AxiosResponse<void, any, {}>>;
6810
+ /**
6811
+ * No description
6812
+ *
6813
+ * @tags AiUrlSource
6814
+ * @name ToggleAiUrlSource
6815
+ * @summary Toggle URL source active/inactive
6816
+ * @request PATCH:/api/ai/admin/url-sources/{id}/toggle
6817
+ * @secure
6818
+ * @response `200` `AiUrlSource` OK
6819
+ * @response `404` `ProblemDetails` Not Found
6820
+ */
6821
+ toggleAiUrlSource: (id: string, params?: RequestParams) => Promise<AxiosResponse<AiUrlSource, any, {}>>;
6822
+ /**
6823
+ * No description
6824
+ *
6825
+ * @tags AiUsage
6826
+ * @name GetAiUsage
6827
+ * @summary Get the current account's AI token usage for the active monthly window
6828
+ * @request GET:/api/ai/usage
6829
+ * @secure
6830
+ * @response `200` `AiTokenBudgetStatus` OK
6831
+ */
6832
+ getAiUsage: (params?: RequestParams) => Promise<AxiosResponse<AiTokenBudgetStatus, any, {}>>;
6833
+ /**
6834
+ * No description
6835
+ *
6836
+ * @tags AiUsage
6837
+ * @name GetAiUsageHistory
6838
+ * @summary Get the current account's monthly AI token usage history
6839
+ * @request GET:/api/ai/usage/history
6840
+ * @secure
6841
+ * @response `200` `AiTokenUsageWindowPaginated` OK
6842
+ */
6843
+ getAiUsageHistory: (query?: {
6844
+ /** @format int32 */
6845
+ pageSize?: number;
6846
+ /** @format int32 */
6847
+ pageNumber?: number;
6848
+ sortBy?: string;
6849
+ sortDirection?: string;
6850
+ }, params?: RequestParams) => Promise<AxiosResponse<AiTokenUsageWindowPaginated, any, {}>>;
6851
+ /**
6852
+ * No description
6853
+ *
6854
+ * @tags AuditLog
6855
+ * @name SearchAuditLogs
6856
+ * @summary Search
6857
+ * @request POST:/api/audit-logs/search
5556
6858
  * @secure
5557
6859
  * @response `200` `AuditLogEntryPaginated` OK
5558
6860
  */
@@ -6070,7 +7372,7 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
6070
7372
  * @response `200` `(CustomFieldDefinition)[]` OK
6071
7373
  */
6072
7374
  getCustomFieldDefinitions: (query?: {
6073
- entityType?: GetCustomFieldDefinitionsParamsEntityTypeEnum;
7375
+ entityType?: "Loan";
6074
7376
  }, params?: RequestParams) => Promise<AxiosResponse<CustomFieldDefinition[], any, {}>>;
6075
7377
  /**
6076
7378
  * No description
@@ -7577,10 +8879,10 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
7577
8879
  * @summary Download By ID
7578
8880
  * @request GET:/api/loans/{loanId}/documents/{documentId}/download
7579
8881
  * @secure
7580
- * @response `200` `Blob` OK
8882
+ * @response `200` `string` OK
7581
8883
  * @response `404` `ProblemDetails` Not Found
7582
8884
  */
7583
- downloadLoanDocument: (loanId: string, documentId: string, params?: RequestParams) => Promise<AxiosResponse<Blob, any, {}>>;
8885
+ downloadLoanDocument: (loanId: string, documentId: string, params?: RequestParams) => Promise<AxiosResponse<string, any, {}>>;
7584
8886
  /**
7585
8887
  * No description
7586
8888
  *
@@ -7650,6 +8952,19 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
7650
8952
  * @response `404` `ProblemDetails` Not Found
7651
8953
  */
7652
8954
  syncLoanDocumentsFromLos: (loanId: string, params?: RequestParams) => Promise<AxiosResponse<DocumentSync, any, {}>>;
8955
+ /**
8956
+ * No description
8957
+ *
8958
+ * @tags LoanDocuments
8959
+ * @name ClassifyLoanDocumentManually
8960
+ * @summary Manually classify a loan document
8961
+ * @request POST:/api/loans/{loanId}/documents/{documentId}/classify-manual
8962
+ * @secure
8963
+ * @response `200` `LoanDocument` OK
8964
+ * @response `404` `ProblemDetails` Not Found
8965
+ * @response `422` `UnprocessableEntity` Unprocessable Content
8966
+ */
8967
+ classifyLoanDocumentManually: (loanId: string, documentId: string, data: ManualDocumentClassificationRequest, params?: RequestParams) => Promise<AxiosResponse<LoanDocument, any, {}>>;
7653
8968
  /**
7654
8969
  * @description Re-attempts to push a failed document to LOS
7655
8970
  *
@@ -7885,6 +9200,19 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
7885
9200
  * @response `404` `ProblemDetails` Not Found
7886
9201
  */
7887
9202
  sendLoanOptInReminder: (loanId: string, data: SendLoanOptInReminderRequest, params?: RequestParams) => Promise<AxiosResponse<void, any, {}>>;
9203
+ /**
9204
+ * No description
9205
+ *
9206
+ * @tags LoanNotification
9207
+ * @name SendESignatureReminder
9208
+ * @summary Send eSignature Reminder
9209
+ * @request POST:/api/loans/{loanID}/notifications/esignature-reminders
9210
+ * @secure
9211
+ * @response `204` `void` No Content
9212
+ * @response `400` `ProblemDetails` Bad Request
9213
+ * @response `404` `ProblemDetails` Not Found
9214
+ */
9215
+ sendESignatureReminder: (loanId: string, data: SendESignatureReminderRequest, params?: RequestParams) => Promise<AxiosResponse<void, any, {}>>;
7888
9216
  /**
7889
9217
  * No description
7890
9218
  *
@@ -8798,7 +10126,7 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
8798
10126
  getPartners: (query?: {
8799
10127
  showAll?: boolean;
8800
10128
  /** @default "Realtor" */
8801
- role?: GetPartnersParamsRoleEnum;
10129
+ role?: "Borrower" | "LoanOfficer" | "Admin" | "SuperAdmin" | "Realtor" | "SettlementAgent" | "LoanProcessor" | "LoanOfficerAssistant" | "SystemAdmin";
8802
10130
  /** @format int32 */
8803
10131
  pageSize?: number;
8804
10132
  /** @format int32 */
@@ -8976,7 +10304,7 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
8976
10304
  * @response `200` `File` OK
8977
10305
  * @response `404` `ProblemDetails` Not Found
8978
10306
  */
8979
- getSamlMetadata: (sSoIntegration: GetSamlMetadataParamsEnum, ssoIntegration: string, params?: RequestParams) => Promise<AxiosResponse<File, any, {}>>;
10307
+ getSamlMetadata: (sSoIntegration: "ConsumerConnect" | "TheBigPOS" | "POSF", ssoIntegration: string, params?: RequestParams) => Promise<AxiosResponse<File, any, {}>>;
8980
10308
  /**
8981
10309
  * No description
8982
10310
  *
@@ -8987,7 +10315,7 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
8987
10315
  * @secure
8988
10316
  * @response `200` `File` OK
8989
10317
  */
8990
- createOrReplaceSamlMetadata: (sSoIntegration: CreateOrReplaceSamlMetadataParamsEnum, ssoIntegration: string, params?: RequestParams) => Promise<AxiosResponse<File, any, {}>>;
10318
+ createOrReplaceSamlMetadata: (sSoIntegration: "ConsumerConnect" | "TheBigPOS" | "POSF", ssoIntegration: string, params?: RequestParams) => Promise<AxiosResponse<File, any, {}>>;
8991
10319
  /**
8992
10320
  * No description
8993
10321
  *