@matech/thebigpos-sdk 2.36.9-rc0 → 2.36.11-aibi

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
@@ -42,15 +42,24 @@ export type LoanAccountAssetType = "Checking" | "Savings" | "MoneyMarket" | "Cer
42
42
  export type LoanAccessScopeType = "User" | "Branch";
43
43
  export type LOSStatus = "Unknown" | "Pending" | "Retrying" | "Successful" | "Failed" | "FailedPermanently" | "Uploaded" | "PendingSync";
44
44
  export type FilterType = "DateGreaterThanOrEqualTo" | "DateGreaterThan" | "DateLessThan" | "DateLessThanOrEqualTo" | "DateEquals" | "DateDoesntEqual" | "DateNonEmpty" | "DateEmpty" | "StringContains" | "StringEquals" | "StringNotEmpty" | "StringNotEquals" | "StringNotContains";
45
+ export type Environment = "Development" | "Staging" | "UAT" | "Production";
45
46
  export type EntityType = "Account" | "Corporate" | "Branch" | "LoanOfficer" | "Realtor";
46
47
  export type EncompassLogOutcome = "Success" | "Failure" | "PartialSuccess";
47
48
  export type EncompassLogOperationType = "FieldUpdate" | "EConsentUpdate" | "DocumentSync" | "MilestoneUpdate" | "DocumentAttachment" | "General" | "FieldReader";
48
49
  export type DraftType = "NewLoan" | "EditLoan";
49
50
  export type ConsentType = "Econsent" | "CreditAuthorization" | "Tcpa";
51
+ export type ConsentLosSyncStatus = "NotStarted" | "Failed" | "Success";
50
52
  export type BranchType = "Mortgage" | "RealEstate";
51
53
  export type BorrowerType = "Borrower" | "CoBorrower" | "Unknown";
52
54
  export type BorrowerRelationship = "NotApplicable" | "Spouse" | "NonSpouse";
53
55
  export type BillingType = "ClosedLoan" | "LoanOfficer";
56
+ export type AiStructuredDataType = "Table" | "DocumentAnalysis" | "DocumentList";
57
+ export type AiQueryTemplateName = "PipelineSummary" | "LoanDetail" | "LoansClosing" | "StaleLoans" | "LoansByType" | "LoansByOfficer" | "AverageLoanAmount" | "LockedVsUnlocked";
58
+ export type AiPromptCategory = "DocumentAnalysis" | "DataQuery" | "General";
59
+ export type AiIntent = "Greeting" | "Invalid" | "Relevant" | "DocumentList" | "GeneralKnowledge" | "Blocked";
60
+ export type AiGuardrailCategory = "ContentSafety" | "PromptInjection" | "Privacy" | "Legal";
61
+ export type AiDisplayHint = "Table" | "SummaryCards" | "RankedList" | "Comparison" | "ExecutiveBrief";
62
+ export type AiAuditEventType = "Error" | "GuardrailBlockedPre" | "GuardrailPassedPre" | "IntentClassified" | "LoanResolvedFromMessage" | "DocumentNotFound" | "GuardrailBlockedPost" | "GuardrailPassedPost" | "DocumentAnalyzed" | "DocumentList" | "DocumentResolutionAmbiguous" | "ResponseGenerated" | "ParametersExtracted" | "QueryExecuted" | "LoanContextNotFound" | "LoanContextLoaded" | "GuardrailBlockedBedrock" | "PromptMatched";
54
63
  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";
55
64
  export interface ASOSettings {
56
65
  enabled: boolean;
@@ -101,7 +110,7 @@ export interface AccountBilling {
101
110
  contractedRate: number;
102
111
  }
103
112
  export interface AccountBillingRequest {
104
- billingType: AccountBillingRequestBillingTypeEnum;
113
+ billingType: "ClosedLoan" | "LoanOfficer";
105
114
  /**
106
115
  * @format double
107
116
  * @min 0
@@ -115,6 +124,7 @@ export interface AccountSettings {
115
124
  smsNumber?: string | null;
116
125
  ssoHostOverride?: string | null;
117
126
  isEarlyAdopter: boolean;
127
+ isAIEnabled: boolean;
118
128
  }
119
129
  export interface AccountSettingsRequest {
120
130
  isSmsEnabled: boolean;
@@ -314,6 +324,195 @@ export interface AffordabilityCalculatorRequest {
314
324
  */
315
325
  annualInsurance: number;
316
326
  }
327
+ export interface AiAdminStats {
328
+ /** @format int32 */
329
+ totalRequests: number;
330
+ /** @format int32 */
331
+ blockedRequests: number;
332
+ /** @format double */
333
+ averageResponseTimeMs: number;
334
+ intentDistribution: Record<string, number>;
335
+ topQueryTemplates: Record<string, number>;
336
+ period: string;
337
+ }
338
+ export interface AiAuditLog {
339
+ /** @format uuid */
340
+ id: string;
341
+ /** @format uuid */
342
+ requestId: string;
343
+ /** @format uuid */
344
+ userId: string;
345
+ eventType: "Error" | "GuardrailBlockedPre" | "GuardrailPassedPre" | "IntentClassified" | "LoanResolvedFromMessage" | "DocumentNotFound" | "GuardrailBlockedPost" | "GuardrailPassedPost" | "DocumentAnalyzed" | "DocumentList" | "DocumentResolutionAmbiguous" | "ResponseGenerated" | "ParametersExtracted" | "QueryExecuted" | "LoanContextNotFound" | "LoanContextLoaded" | "GuardrailBlockedBedrock" | "PromptMatched";
346
+ details?: any;
347
+ /** @format date-time */
348
+ createdAt: string;
349
+ }
350
+ export interface AiAuditLogPaginated {
351
+ rows: AiAuditLog[];
352
+ pagination: Pagination;
353
+ /** @format int64 */
354
+ count: number;
355
+ }
356
+ export interface AiCanonicalField {
357
+ /** @format uuid */
358
+ id: string;
359
+ canonicalName: string;
360
+ displayName: string;
361
+ description: string;
362
+ allowedRoles: string[];
363
+ efPath?: string | null;
364
+ isPii: boolean;
365
+ isActive: boolean;
366
+ dataSource: string;
367
+ isDefault: boolean;
368
+ category?: string | null;
369
+ jsonPropertyName?: string | null;
370
+ textractKey?: string | null;
371
+ textractKeyAliases?: string | null;
372
+ hasAccountOverride: boolean;
373
+ /** @format date-time */
374
+ createdAt: string;
375
+ /** @format date-time */
376
+ updatedAt?: string | null;
377
+ }
378
+ export interface AiChat {
379
+ /** @format uuid */
380
+ conversationId: string;
381
+ /** @format uuid */
382
+ messageId: string;
383
+ response: AiChatBody;
384
+ metadata: AiChatMetadata;
385
+ }
386
+ export interface AiChatBody {
387
+ text: string;
388
+ data?: AiChatStructuredData | null;
389
+ suggestedFollowUps: string[];
390
+ }
391
+ export interface AiChatMessage {
392
+ /** @format uuid */
393
+ id: string;
394
+ userMessage: string;
395
+ assistantResponse: string;
396
+ intent?: AiIntent | null;
397
+ fieldsAccessed?: string[] | null;
398
+ /** @format date-time */
399
+ createdAt: string;
400
+ }
401
+ export interface AiChatMetadata {
402
+ intent: "Greeting" | "Invalid" | "Relevant" | "DocumentList" | "GeneralKnowledge" | "Blocked";
403
+ fieldsAccessed: string[];
404
+ /** @format int64 */
405
+ queryTimeMs: number;
406
+ /** @format int64 */
407
+ llmTimeMs: number;
408
+ wasBlocked: boolean;
409
+ blockedReason?: string | null;
410
+ }
411
+ export interface AiChatRequest {
412
+ /**
413
+ * @minLength 1
414
+ * @maxLength 2000
415
+ */
416
+ message: string;
417
+ /** @format uuid */
418
+ conversationId?: string | null;
419
+ /** @format uuid */
420
+ loanId?: string | null;
421
+ /** @format uuid */
422
+ documentId?: string | null;
423
+ /** @format uuid */
424
+ promptId?: string | null;
425
+ }
426
+ export interface AiChatStructuredData {
427
+ type: "Table" | "DocumentAnalysis" | "DocumentList";
428
+ detectedDocumentType?: string | null;
429
+ columns: string[];
430
+ rows: string[][];
431
+ }
432
+ export interface AiConversationDetail {
433
+ /** @format uuid */
434
+ id: string;
435
+ /** @format date-time */
436
+ createdAt: string;
437
+ /** @format date-time */
438
+ updatedAt?: string | null;
439
+ messages: AiChatMessage[];
440
+ }
441
+ export interface AiConversationListItem {
442
+ /** @format uuid */
443
+ id: string;
444
+ preview: string;
445
+ /** @format int32 */
446
+ messageCount: number;
447
+ /** @format date-time */
448
+ createdAt: string;
449
+ /** @format date-time */
450
+ updatedAt?: string | null;
451
+ }
452
+ export interface AiConversationListItemPaginated {
453
+ rows: AiConversationListItem[];
454
+ pagination: Pagination;
455
+ /** @format int64 */
456
+ count: number;
457
+ }
458
+ export interface AiGuardrail {
459
+ /** @format uuid */
460
+ id: string;
461
+ name: string;
462
+ category: "ContentSafety" | "PromptInjection" | "Privacy" | "Legal";
463
+ description?: string | null;
464
+ keywords: string[];
465
+ responseTemplate: string;
466
+ isDefault: boolean;
467
+ isEnabled: boolean;
468
+ /** @format date-time */
469
+ createdAt: string;
470
+ /** @format date-time */
471
+ updatedAt?: string | null;
472
+ }
473
+ export interface AiPrompt {
474
+ /** @format uuid */
475
+ id: string;
476
+ title: string;
477
+ icon: string;
478
+ slug: string;
479
+ description: string;
480
+ documentTypes: string[];
481
+ applicableGuidelines: string[];
482
+ allowedRoles: string[];
483
+ systemPrompt: string;
484
+ userPromptTemplate: string;
485
+ followUpPrompts: string[];
486
+ /** @format int32 */
487
+ sortOrder: number;
488
+ isDefault: boolean;
489
+ /** @format uuid */
490
+ accountId?: string | null;
491
+ isActive: boolean;
492
+ category?: AiPromptCategory | null;
493
+ queryTemplateName?: AiQueryTemplateName | null;
494
+ displayHint?: AiDisplayHint | null;
495
+ /** @format date-time */
496
+ createdAt: string;
497
+ /** @format date-time */
498
+ updatedAt?: string | null;
499
+ }
500
+ export interface AiPromptSummary {
501
+ /** @format uuid */
502
+ id: string;
503
+ title: string;
504
+ icon: string;
505
+ slug: string;
506
+ description: string;
507
+ documentTypes: string[];
508
+ applicableGuidelines: string[];
509
+ followUpPrompts: string[];
510
+ /** @format int32 */
511
+ sortOrder: number;
512
+ category?: AiPromptCategory | null;
513
+ queryTemplateName?: AiQueryTemplateName | null;
514
+ displayHint?: AiDisplayHint | null;
515
+ }
317
516
  export interface AllowImpersonationRequest {
318
517
  /**
319
518
  * @format email
@@ -636,7 +835,7 @@ export interface CorporateSearchCriteria {
636
835
  isActive?: boolean | null;
637
836
  }
638
837
  export interface CreateAccessScopeRequest {
639
- scopeType: CreateAccessScopeRequestScopeTypeEnum;
838
+ scopeType: "User" | "Branch";
640
839
  /** @format uuid */
641
840
  userId?: string | null;
642
841
  /** @format uuid */
@@ -648,17 +847,87 @@ export interface CreateAccountRequest {
648
847
  /** @minLength 1 */
649
848
  domain: string;
650
849
  eConsentBucket?: string | null;
850
+ ignoreCoBorrowerRelationship: boolean;
651
851
  user: AdminUser;
652
852
  companyAddress: CompanyAddress;
653
853
  contactInfo: ContactInfo;
854
+ theme: Theme;
654
855
  /**
655
856
  * @format int64
656
857
  * @min 0
657
858
  */
658
859
  nlmsid: number;
659
860
  settings: AccountSettingsRequest;
861
+ environment: "Development" | "Staging" | "UAT" | "Production";
862
+ losIntegration: LOSIntegration;
660
863
  billingSettings: AccountBillingRequest;
661
864
  }
865
+ export interface CreateAiCanonicalFieldRequest {
866
+ /**
867
+ * @minLength 1
868
+ * @maxLength 200
869
+ */
870
+ canonicalName: string;
871
+ /**
872
+ * @minLength 1
873
+ * @maxLength 200
874
+ */
875
+ displayName: string;
876
+ /** @minLength 1 */
877
+ description: string;
878
+ /** @minItems 1 */
879
+ allowedRoles: string[];
880
+ isPii: boolean;
881
+ /** @minLength 1 */
882
+ dataSource: string;
883
+ textractKey?: string | null;
884
+ textractKeyAliases?: string | null;
885
+ category?: string | null;
886
+ }
887
+ export interface CreateAiGuardrailRequest {
888
+ /**
889
+ * @minLength 1
890
+ * @maxLength 200
891
+ */
892
+ name: string;
893
+ category: "ContentSafety" | "PromptInjection" | "Privacy" | "Legal";
894
+ description?: string | null;
895
+ /** @minItems 1 */
896
+ keywords: string[];
897
+ /** @minLength 1 */
898
+ responseTemplate: string;
899
+ }
900
+ export interface CreateAiPromptRequest {
901
+ /**
902
+ * @minLength 1
903
+ * @maxLength 200
904
+ */
905
+ title: string;
906
+ icon: string;
907
+ /**
908
+ * @minLength 1
909
+ * @maxLength 100
910
+ */
911
+ slug: string;
912
+ /**
913
+ * @minLength 1
914
+ * @maxLength 500
915
+ */
916
+ description: string;
917
+ documentTypes: string[];
918
+ applicableGuidelines: string[];
919
+ allowedRoles: string[];
920
+ /** @minLength 1 */
921
+ systemPrompt: string;
922
+ /** @minLength 1 */
923
+ userPromptTemplate: string;
924
+ followUpPrompts: string[];
925
+ /** @format int32 */
926
+ sortOrder: number;
927
+ category?: AiPromptCategory | null;
928
+ queryTemplateName?: AiQueryTemplateName | null;
929
+ displayHint?: AiDisplayHint | null;
930
+ }
662
931
  export interface CreateBranchRequest {
663
932
  /**
664
933
  * @minLength 1
@@ -685,7 +954,7 @@ export interface CreateDocumentTemplateRequest {
685
954
  export interface CreateGroupMemberRequest {
686
955
  /** @format uuid */
687
956
  userId: string;
688
- loanRole: CreateGroupMemberRequestLoanRoleEnum;
957
+ loanRole: "Borrower" | "CoBorrower" | "NonBorrower" | "LoanOfficer" | "LoanProcessor" | "LoanOfficerAssistant" | "SupportingLoanOfficer" | "BuyerAgent" | "SellerAgent" | "TitleInsuranceAgent" | "EscrowAgent" | "SettlementAgent";
689
958
  }
690
959
  export interface CreateInviteRequest {
691
960
  /** @minLength 1 */
@@ -696,7 +965,7 @@ export interface CreateInviteRequest {
696
965
  emailAddress: string;
697
966
  phoneNumber?: string | null;
698
967
  /** @deprecated */
699
- relationship: CreateInviteRequestRelationshipEnum;
968
+ relationship: "NotApplicable" | "Spouse" | "NonSpouse";
700
969
  loanID: string;
701
970
  route?: string | null;
702
971
  /** @format uuid */
@@ -718,7 +987,7 @@ export interface CreateLoanImportRequest {
718
987
  * @minLength 1
719
988
  */
720
989
  startDate: string;
721
- importMode: CreateLoanImportRequestImportModeEnum;
990
+ importMode: "All" | "NewOnly" | "UpdateOnly";
722
991
  }
723
992
  export interface CreateSession {
724
993
  sessionId: string;
@@ -736,7 +1005,7 @@ export interface CreateUserDeviceRequest {
736
1005
  token: string;
737
1006
  }
738
1007
  export interface CreateUserDraft {
739
- loanRole: CreateUserDraftLoanRoleEnum;
1008
+ loanRole: "Borrower" | "CoBorrower" | "NonBorrower" | "LoanOfficer" | "LoanProcessor" | "LoanOfficerAssistant" | "SupportingLoanOfficer" | "BuyerAgent" | "SellerAgent" | "TitleInsuranceAgent" | "EscrowAgent" | "SettlementAgent";
740
1009
  }
741
1010
  export interface CreateUserGroupRequest {
742
1011
  /**
@@ -1028,7 +1297,7 @@ export interface Draft {
1028
1297
  siteConfiguration: SiteConfigurationReduced;
1029
1298
  /** @format uuid */
1030
1299
  loanID?: string | null;
1031
- type: DraftTypeEnum;
1300
+ type: "NewLoan" | "EditLoan";
1032
1301
  isCoBorrower: boolean;
1033
1302
  }
1034
1303
  export interface DraftContent {
@@ -1046,7 +1315,7 @@ export interface DraftContent {
1046
1315
  siteConfiguration: SiteConfigurationReduced;
1047
1316
  /** @format uuid */
1048
1317
  loanID?: string | null;
1049
- type: DraftContentTypeEnum;
1318
+ type: "NewLoan" | "EditLoan";
1050
1319
  isCoBorrower: boolean;
1051
1320
  applicationPayload: any;
1052
1321
  }
@@ -1165,8 +1434,8 @@ export interface EncompassRequestLog {
1165
1434
  losId?: string | null;
1166
1435
  /** @format uuid */
1167
1436
  accountId: string;
1168
- operationType: EncompassRequestLogOperationTypeEnum;
1169
- outcome: EncompassRequestLogOutcomeEnum;
1437
+ operationType: "FieldUpdate" | "EConsentUpdate" | "DocumentSync" | "MilestoneUpdate" | "DocumentAttachment" | "General" | "FieldReader";
1438
+ outcome: "Success" | "Failure" | "PartialSuccess";
1170
1439
  message: string;
1171
1440
  endpoint?: string | null;
1172
1441
  httpMethod?: string | null;
@@ -1222,6 +1491,10 @@ export interface FileWithBytes {
1222
1491
  mimeType?: string | null;
1223
1492
  extension?: string | null;
1224
1493
  }
1494
+ export interface ForcePasswordReset {
1495
+ forcePasswordReset: boolean;
1496
+ email: string;
1497
+ }
1225
1498
  export interface Form {
1226
1499
  /** @format date-time */
1227
1500
  createdAt?: string | null;
@@ -1379,7 +1652,7 @@ export interface FusionFieldDisplay {
1379
1652
  fieldValue: string;
1380
1653
  }
1381
1654
  export interface FusionReportFilter {
1382
- filterType: FusionReportFilterFilterTypeEnum;
1655
+ filterType: "DateGreaterThanOrEqualTo" | "DateGreaterThan" | "DateLessThan" | "DateLessThanOrEqualTo" | "DateEquals" | "DateDoesntEqual" | "DateNonEmpty" | "DateEmpty" | "StringContains" | "StringEquals" | "StringNotEmpty" | "StringNotEquals" | "StringNotContains";
1383
1656
  targetField: string;
1384
1657
  targetValue: string;
1385
1658
  }
@@ -1493,7 +1766,7 @@ export interface GuidPatchOperation {
1493
1766
  from?: string | null;
1494
1767
  }
1495
1768
  export interface IPAddress {
1496
- addressFamily: IpAddressAddressFamilyEnum;
1769
+ 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";
1497
1770
  /** @format int64 */
1498
1771
  scopeId: number;
1499
1772
  isIPv6Multicast: boolean;
@@ -1577,6 +1850,9 @@ export interface Invite {
1577
1850
  }
1578
1851
  /** Array of operations to perform */
1579
1852
  export type JsonPatchDocument = Operation[];
1853
+ export interface LOSIntegration {
1854
+ instanceID: string;
1855
+ }
1580
1856
  export interface LOSSettings {
1581
1857
  retailLoanClosingDateFieldID: string;
1582
1858
  wholesaleLoanClosingDateFieldID: string;
@@ -2652,7 +2928,7 @@ export interface LoanContact {
2652
2928
  email?: string | null;
2653
2929
  phone?: string | null;
2654
2930
  companyName?: string | null;
2655
- role: LoanContactRoleEnum;
2931
+ role: "Borrower" | "CoBorrower" | "NonBorrower" | "LoanOfficer" | "LoanProcessor" | "LoanOfficerAssistant" | "SupportingLoanOfficer" | "BuyerAgent" | "SellerAgent" | "TitleInsuranceAgent" | "EscrowAgent" | "SettlementAgent";
2656
2932
  }
2657
2933
  export interface LoanContactList {
2658
2934
  email: string;
@@ -2777,13 +3053,13 @@ export interface LoanImport {
2777
3053
  /** @format int32 */
2778
3054
  importedCount: number;
2779
3055
  statusMessage?: string | null;
2780
- status: LoanImportStatusEnum;
2781
- importMode: LoanImportImportModeEnum;
3056
+ status: "WaitingProcess" | "InProgress" | "Completed" | "Failed" | "Cancelled";
3057
+ importMode: "All" | "NewOnly" | "UpdateOnly";
2782
3058
  /** @format date-time */
2783
3059
  createdAt?: string | null;
2784
3060
  }
2785
3061
  export interface LoanImportLog {
2786
- level: LoanImportLogLevelEnum;
3062
+ level: "None" | "Info" | "Warning" | "Error";
2787
3063
  message: string;
2788
3064
  /** @format date-time */
2789
3065
  createdAt: string;
@@ -2838,8 +3114,8 @@ export interface LoanListPaginated {
2838
3114
  export interface LoanLog {
2839
3115
  /** @format uuid */
2840
3116
  id: string;
2841
- level: LoanLogLevelEnum;
2842
- type: LoanLogTypeEnum;
3117
+ level: "None" | "Info" | "Warning" | "Error";
3118
+ type: "Loan" | "Queue" | "POSFlagChanged" | "Verification" | "DocumentUploaded" | "LoanCreated" | "WorkflowSubmitted" | "UserInvitationSent" | "CoBorrowerAdded" | "TaskCompleted" | "LoanStatusChanged" | "EConsent" | "SensitiveDataPurge";
2843
3119
  message: string;
2844
3120
  /** @format date-time */
2845
3121
  createdAt: string;
@@ -3102,7 +3378,7 @@ export interface LoanUser {
3102
3378
  email: string;
3103
3379
  phone?: string | null;
3104
3380
  role: string;
3105
- loanRole: LoanUserLoanRoleEnum;
3381
+ loanRole: "Borrower" | "CoBorrower" | "NonBorrower" | "LoanOfficer" | "LoanProcessor" | "LoanOfficerAssistant" | "SupportingLoanOfficer" | "BuyerAgent" | "SellerAgent" | "TitleInsuranceAgent" | "EscrowAgent" | "SettlementAgent";
3106
3382
  isUser: boolean;
3107
3383
  /** @format date-time */
3108
3384
  createdAt: string;
@@ -3709,7 +3985,7 @@ export interface SSOTokenRequest {
3709
3985
  redirectUri: string;
3710
3986
  }
3711
3987
  export interface SamlMetadataRequest {
3712
- ssoIntegration: SamlMetadataRequestSsoIntegrationEnum;
3988
+ ssoIntegration: "ConsumerConnect" | "TheBigPOS" | "POSF";
3713
3989
  }
3714
3990
  export interface SendForgotPasswordRequest {
3715
3991
  /**
@@ -3744,7 +4020,7 @@ export interface SiteConfiguration {
3744
4020
  deletedAt?: string | null;
3745
4021
  /** @format uuid */
3746
4022
  id: string;
3747
- type: SiteConfigurationTypeEnum;
4023
+ type: "None" | "Account" | "Corporate" | "Branch" | "LoanOfficer" | "Partner";
3748
4024
  /** @format uuid */
3749
4025
  entityID: string;
3750
4026
  /** @format int32 */
@@ -3938,7 +4214,7 @@ export interface SiteConfigurationByUrl {
3938
4214
  deletedAt?: string | null;
3939
4215
  /** @format uuid */
3940
4216
  id: string;
3941
- type: SiteConfigurationByUrlTypeEnum;
4217
+ type: "None" | "Account" | "Corporate" | "Branch" | "LoanOfficer" | "Partner";
3942
4218
  /** @format uuid */
3943
4219
  entityID: string;
3944
4220
  /** @format int32 */
@@ -4149,7 +4425,7 @@ export interface SiteConfigurationForm {
4149
4425
  export interface SiteConfigurationReduced {
4150
4426
  /** @format uuid */
4151
4427
  id: string;
4152
- type: SiteConfigurationReducedTypeEnum;
4428
+ type: "None" | "Account" | "Corporate" | "Branch" | "LoanOfficer" | "Partner";
4153
4429
  url?: string | null;
4154
4430
  name: string;
4155
4431
  /** @format int64 */
@@ -4166,7 +4442,7 @@ export interface SiteConfigurationRequest {
4166
4442
  entityID: string;
4167
4443
  /** @format int32 */
4168
4444
  entityType: number;
4169
- type: SiteConfigurationRequestTypeEnum;
4445
+ type: "None" | "Account" | "Corporate" | "Branch" | "LoanOfficer" | "Partner";
4170
4446
  url: string;
4171
4447
  name: string;
4172
4448
  introduction?: string | null;
@@ -4341,7 +4617,7 @@ export interface SiteConfigurationSearchCriteria {
4341
4617
  export interface SiteConfigurationSummary {
4342
4618
  /** @format uuid */
4343
4619
  id: string;
4344
- type: SiteConfigurationSummaryTypeEnum;
4620
+ type: "None" | "Account" | "Corporate" | "Branch" | "LoanOfficer" | "Partner";
4345
4621
  url?: string | null;
4346
4622
  name: string;
4347
4623
  /** @format int64 */
@@ -4513,6 +4789,14 @@ export interface TestSendNotificationForLoanRequest {
4513
4789
  templateName?: string | null;
4514
4790
  attachments: Attachment[];
4515
4791
  }
4792
+ export interface Theme {
4793
+ logoURL: string;
4794
+ primaryColor: string;
4795
+ secondaryColor: string;
4796
+ backgroundColor?: string | null;
4797
+ textColor?: string | null;
4798
+ iconColor?: string | null;
4799
+ }
4516
4800
  export interface TimeAtAddress {
4517
4801
  /** @format uuid */
4518
4802
  id?: string | null;
@@ -4614,6 +4898,57 @@ export interface UpdateAccountRequest {
4614
4898
  asoSettings?: ASOSettings | null;
4615
4899
  settings: AccountSettingsRequest;
4616
4900
  }
4901
+ export interface UpdateAiCanonicalFieldRequest {
4902
+ /**
4903
+ * @minLength 1
4904
+ * @maxLength 200
4905
+ */
4906
+ displayName: string;
4907
+ /** @minLength 1 */
4908
+ description: string;
4909
+ /** @minItems 1 */
4910
+ allowedRoles: string[];
4911
+ isPii: boolean;
4912
+ }
4913
+ export interface UpdateAiGuardrailRequest {
4914
+ /**
4915
+ * @minLength 1
4916
+ * @maxLength 200
4917
+ */
4918
+ name: string;
4919
+ category: "ContentSafety" | "PromptInjection" | "Privacy" | "Legal";
4920
+ description?: string | null;
4921
+ /** @minItems 1 */
4922
+ keywords: string[];
4923
+ /** @minLength 1 */
4924
+ responseTemplate: string;
4925
+ }
4926
+ export interface UpdateAiPromptRequest {
4927
+ /**
4928
+ * @minLength 1
4929
+ * @maxLength 200
4930
+ */
4931
+ title: string;
4932
+ icon: string;
4933
+ /**
4934
+ * @minLength 1
4935
+ * @maxLength 500
4936
+ */
4937
+ description: string;
4938
+ documentTypes: string[];
4939
+ applicableGuidelines: string[];
4940
+ allowedRoles: string[];
4941
+ /** @minLength 1 */
4942
+ systemPrompt: string;
4943
+ /** @minLength 1 */
4944
+ userPromptTemplate: string;
4945
+ followUpPrompts: string[];
4946
+ /** @format int32 */
4947
+ sortOrder: number;
4948
+ category?: AiPromptCategory | null;
4949
+ queryTemplateName?: AiQueryTemplateName | null;
4950
+ displayHint?: AiDisplayHint | null;
4951
+ }
4617
4952
  export interface UpdateDocumentTemplateRequest {
4618
4953
  /** @minLength 1 */
4619
4954
  htmlBody: string;
@@ -4910,7 +5245,7 @@ export interface UserDevice {
4910
5245
  export interface UserDraft {
4911
5246
  /** @format uuid */
4912
5247
  draftID: string;
4913
- role: UserDraftRoleEnum;
5248
+ role: "Borrower" | "CoBorrower" | "NonBorrower" | "LoanOfficer" | "LoanProcessor" | "LoanOfficerAssistant" | "SupportingLoanOfficer" | "BuyerAgent" | "SellerAgent" | "TitleInsuranceAgent" | "EscrowAgent" | "SettlementAgent";
4914
5249
  user: User;
4915
5250
  }
4916
5251
  export interface UserDraftPaginated {
@@ -4934,7 +5269,7 @@ export interface UserGroupAccessScope {
4934
5269
  id: string;
4935
5270
  /** @format uuid */
4936
5271
  groupId: string;
4937
- scopeType: UserGroupAccessScopeScopeTypeEnum;
5272
+ scopeType: "User" | "Branch";
4938
5273
  /** @format uuid */
4939
5274
  userId?: string | null;
4940
5275
  /** @format uuid */
@@ -4967,7 +5302,7 @@ export interface UserLoan {
4967
5302
  deletedAt?: string | null;
4968
5303
  loanID: string;
4969
5304
  user: User;
4970
- role: UserLoanRoleEnum;
5305
+ role: "Borrower" | "CoBorrower" | "NonBorrower" | "LoanOfficer" | "LoanProcessor" | "LoanOfficerAssistant" | "SupportingLoanOfficer" | "BuyerAgent" | "SellerAgent" | "TitleInsuranceAgent" | "EscrowAgent" | "SettlementAgent";
4971
5306
  /** @format int32 */
4972
5307
  borrowerPair?: number | null;
4973
5308
  /** @format int32 */
@@ -4979,9 +5314,10 @@ export interface UserLoanConsent {
4979
5314
  id: string;
4980
5315
  /** @format uuid */
4981
5316
  userLoanID: string;
4982
- type: UserLoanConsentTypeEnum;
5317
+ type: "Econsent" | "CreditAuthorization" | "Tcpa";
4983
5318
  providedConsent: boolean;
4984
5319
  ipAddress?: string | null;
5320
+ losSyncStatus: "NotStarted" | "Failed" | "Success";
4985
5321
  /** @format date-time */
4986
5322
  createdAt: string;
4987
5323
  }
@@ -5113,7 +5449,7 @@ export interface UserSummary {
5113
5449
  id: string;
5114
5450
  name?: string | null;
5115
5451
  email?: string | null;
5116
- role: UserSummaryRoleEnum;
5452
+ role: "Borrower" | "LoanOfficer" | "Admin" | "SuperAdmin" | "Realtor" | "SettlementAgent" | "LoanProcessor" | "LoanOfficerAssistant" | "BranchManager" | "SystemAdmin";
5117
5453
  }
5118
5454
  export interface VerifyPasswordRequest {
5119
5455
  /**
@@ -5146,43 +5482,6 @@ export interface Workflow {
5146
5482
  tileSubtitle: string;
5147
5483
  icon: string;
5148
5484
  }
5149
- export type AccountBillingRequestBillingTypeEnum = "ClosedLoan" | "LoanOfficer";
5150
- export type CreateAccessScopeRequestScopeTypeEnum = "User" | "Branch";
5151
- export type CreateGroupMemberRequestLoanRoleEnum = "Borrower" | "CoBorrower" | "NonBorrower" | "LoanOfficer" | "LoanProcessor" | "LoanOfficerAssistant" | "SupportingLoanOfficer" | "BuyerAgent" | "SellerAgent" | "TitleInsuranceAgent" | "EscrowAgent" | "SettlementAgent";
5152
- /** @deprecated */
5153
- export type CreateInviteRequestRelationshipEnum = "NotApplicable" | "Spouse" | "NonSpouse";
5154
- export type CreateLoanImportRequestImportModeEnum = "All" | "NewOnly" | "UpdateOnly";
5155
- export type CreateUserDraftLoanRoleEnum = "Borrower" | "CoBorrower" | "NonBorrower" | "LoanOfficer" | "LoanProcessor" | "LoanOfficerAssistant" | "SupportingLoanOfficer" | "BuyerAgent" | "SellerAgent" | "TitleInsuranceAgent" | "EscrowAgent" | "SettlementAgent";
5156
- export type DraftTypeEnum = "NewLoan" | "EditLoan";
5157
- export type DraftContentTypeEnum = "NewLoan" | "EditLoan";
5158
- export type EncompassRequestLogOperationTypeEnum = "FieldUpdate" | "EConsentUpdate" | "DocumentSync" | "MilestoneUpdate" | "DocumentAttachment" | "General" | "FieldReader";
5159
- export type EncompassRequestLogOutcomeEnum = "Success" | "Failure" | "PartialSuccess";
5160
- export type FusionReportFilterFilterTypeEnum = "DateGreaterThanOrEqualTo" | "DateGreaterThan" | "DateLessThan" | "DateLessThanOrEqualTo" | "DateEquals" | "DateDoesntEqual" | "DateNonEmpty" | "DateEmpty" | "StringContains" | "StringEquals" | "StringNotEmpty" | "StringNotEquals" | "StringNotContains";
5161
- 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";
5162
- export type LoanContactRoleEnum = "Borrower" | "CoBorrower" | "NonBorrower" | "LoanOfficer" | "LoanProcessor" | "LoanOfficerAssistant" | "SupportingLoanOfficer" | "BuyerAgent" | "SellerAgent" | "TitleInsuranceAgent" | "EscrowAgent" | "SettlementAgent";
5163
- export type LoanImportStatusEnum = "WaitingProcess" | "InProgress" | "Completed" | "Failed" | "Cancelled";
5164
- export type LoanImportImportModeEnum = "All" | "NewOnly" | "UpdateOnly";
5165
- export type LoanImportLogLevelEnum = "None" | "Info" | "Warning" | "Error";
5166
- export type LoanLogLevelEnum = "None" | "Info" | "Warning" | "Error";
5167
- export type LoanLogTypeEnum = "Loan" | "Queue" | "POSFlagChanged" | "Verification" | "DocumentUploaded" | "LoanCreated" | "WorkflowSubmitted" | "UserInvitationSent" | "CoBorrowerAdded" | "TaskCompleted" | "LoanStatusChanged" | "EConsent" | "SensitiveDataPurge";
5168
- export type LoanUserLoanRoleEnum = "Borrower" | "CoBorrower" | "NonBorrower" | "LoanOfficer" | "LoanProcessor" | "LoanOfficerAssistant" | "SupportingLoanOfficer" | "BuyerAgent" | "SellerAgent" | "TitleInsuranceAgent" | "EscrowAgent" | "SettlementAgent";
5169
- export type SamlMetadataRequestSsoIntegrationEnum = "ConsumerConnect" | "TheBigPOS" | "POSF";
5170
- export type SiteConfigurationTypeEnum = "None" | "Account" | "Corporate" | "Branch" | "LoanOfficer" | "Partner";
5171
- export type SiteConfigurationByUrlTypeEnum = "None" | "Account" | "Corporate" | "Branch" | "LoanOfficer" | "Partner";
5172
- export type SiteConfigurationReducedTypeEnum = "None" | "Account" | "Corporate" | "Branch" | "LoanOfficer" | "Partner";
5173
- export type SiteConfigurationRequestTypeEnum = "None" | "Account" | "Corporate" | "Branch" | "LoanOfficer" | "Partner";
5174
- export type SiteConfigurationSummaryTypeEnum = "None" | "Account" | "Corporate" | "Branch" | "LoanOfficer" | "Partner";
5175
- export type UserDraftRoleEnum = "Borrower" | "CoBorrower" | "NonBorrower" | "LoanOfficer" | "LoanProcessor" | "LoanOfficerAssistant" | "SupportingLoanOfficer" | "BuyerAgent" | "SellerAgent" | "TitleInsuranceAgent" | "EscrowAgent" | "SettlementAgent";
5176
- export type UserGroupAccessScopeScopeTypeEnum = "User" | "Branch";
5177
- export type UserLoanRoleEnum = "Borrower" | "CoBorrower" | "NonBorrower" | "LoanOfficer" | "LoanProcessor" | "LoanOfficerAssistant" | "SupportingLoanOfficer" | "BuyerAgent" | "SellerAgent" | "TitleInsuranceAgent" | "EscrowAgent" | "SettlementAgent";
5178
- export type UserLoanConsentTypeEnum = "Econsent" | "CreditAuthorization" | "Tcpa";
5179
- export type UserSummaryRoleEnum = "Borrower" | "LoanOfficer" | "Admin" | "SuperAdmin" | "Realtor" | "SettlementAgent" | "LoanProcessor" | "LoanOfficerAssistant" | "BranchManager" | "SystemAdmin";
5180
- /** @default "Realtor" */
5181
- export type GetPartnersParamsRoleEnum = "Borrower" | "LoanOfficer" | "Admin" | "SuperAdmin" | "Realtor" | "SettlementAgent" | "LoanProcessor" | "LoanOfficerAssistant" | "BranchManager" | "SystemAdmin";
5182
- export type GetSamlMetadataParamsSSoIntegrationEnum = "ConsumerConnect" | "TheBigPOS" | "POSF";
5183
- export type GetSamlMetadataParamsEnum = "ConsumerConnect" | "TheBigPOS" | "POSF";
5184
- export type CreateOrReplaceSamlMetadataParamsSSoIntegrationEnum = "ConsumerConnect" | "TheBigPOS" | "POSF";
5185
- export type CreateOrReplaceSamlMetadataParamsEnum = "ConsumerConnect" | "TheBigPOS" | "POSF";
5186
5485
  import type { AxiosInstance, AxiosRequestConfig, AxiosResponse, ResponseType } from "axios";
5187
5486
  export type QueryParamsType = Record<string | number, any>;
5188
5487
  export interface FullRequestParams extends Omit<AxiosRequestConfig, "data" | "params" | "url" | "responseType"> {
@@ -5228,7 +5527,7 @@ export declare class HttpClient<SecurityDataType = unknown> {
5228
5527
  }
5229
5528
  /**
5230
5529
  * @title The Big POS API
5231
- * @version v2.36.9
5530
+ * @version v2.36.11
5232
5531
  * @termsOfService https://www.thebigpos.com/terms-of-use/
5233
5532
  * @contact Mortgage Automation Technologies <support@thebigpos.com> (https://www.thebigpos.com/terms-of-use/)
5234
5533
  */
@@ -5366,6 +5665,333 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
5366
5665
  * @response `422` `ProblemDetails` Client Error
5367
5666
  */
5368
5667
  updateAccountBilling: (id: string, data: AccountBillingRequest, params?: RequestParams) => Promise<AxiosResponse<AccountBilling, any, {}>>;
5668
+ /**
5669
+ * No description
5670
+ *
5671
+ * @tags AiAdmin
5672
+ * @name GetAiAuditLogs
5673
+ * @summary Get paginated audit logs
5674
+ * @request GET:/api/ai/admin/audit-logs
5675
+ * @secure
5676
+ * @response `200` `AiAuditLogPaginated` Success
5677
+ */
5678
+ getAiAuditLogs: (query?: {
5679
+ eventType?: AiAuditEventType;
5680
+ /** @format date-time */
5681
+ startDate?: string;
5682
+ /** @format date-time */
5683
+ endDate?: string;
5684
+ /** @format int32 */
5685
+ pageSize?: number;
5686
+ /** @format int32 */
5687
+ pageNumber?: number;
5688
+ sortBy?: string;
5689
+ sortDirection?: string;
5690
+ }, params?: RequestParams) => Promise<AxiosResponse<AiAuditLogPaginated, any, {}>>;
5691
+ /**
5692
+ * No description
5693
+ *
5694
+ * @tags AiAdmin
5695
+ * @name GetAiAdminStats
5696
+ * @summary Get AI admin dashboard stats
5697
+ * @request GET:/api/ai/admin/stats
5698
+ * @secure
5699
+ * @response `200` `AiAdminStats` Success
5700
+ */
5701
+ getAiAdminStats: (query?: {
5702
+ /** @format date-time */
5703
+ startDate?: string;
5704
+ /** @format date-time */
5705
+ endDate?: string;
5706
+ }, params?: RequestParams) => Promise<AxiosResponse<AiAdminStats, any, {}>>;
5707
+ /**
5708
+ * No description
5709
+ *
5710
+ * @tags AiAdminPrompt
5711
+ * @name GetAiPrompts
5712
+ * @summary Get all prompts
5713
+ * @request GET:/api/ai/admin/prompts
5714
+ * @secure
5715
+ * @response `200` `(AiPrompt)[]` Success
5716
+ */
5717
+ getAiPrompts: (params?: RequestParams) => Promise<AxiosResponse<AiPrompt[], any, {}>>;
5718
+ /**
5719
+ * No description
5720
+ *
5721
+ * @tags AiAdminPrompt
5722
+ * @name CreateAiPrompt
5723
+ * @summary Create custom prompt
5724
+ * @request POST:/api/ai/admin/prompts
5725
+ * @secure
5726
+ * @response `201` `AiPrompt` Created
5727
+ * @response `400` `ProblemDetails` Bad Request
5728
+ */
5729
+ createAiPrompt: (data: CreateAiPromptRequest, params?: RequestParams) => Promise<AxiosResponse<AiPrompt, any, {}>>;
5730
+ /**
5731
+ * No description
5732
+ *
5733
+ * @tags AiAdminPrompt
5734
+ * @name GetAiPrompt
5735
+ * @summary Get prompt by ID
5736
+ * @request GET:/api/ai/admin/prompts/{id}
5737
+ * @secure
5738
+ * @response `200` `AiPrompt` Success
5739
+ * @response `404` `ProblemDetails` Not Found
5740
+ */
5741
+ getAiPrompt: (id: string, params?: RequestParams) => Promise<AxiosResponse<AiPrompt, any, {}>>;
5742
+ /**
5743
+ * No description
5744
+ *
5745
+ * @tags AiAdminPrompt
5746
+ * @name UpdateAiPrompt
5747
+ * @summary Update prompt
5748
+ * @request PUT:/api/ai/admin/prompts/{id}
5749
+ * @secure
5750
+ * @response `200` `AiPrompt` Success
5751
+ * @response `400` `ProblemDetails` Bad Request
5752
+ * @response `404` `ProblemDetails` Not Found
5753
+ */
5754
+ updateAiPrompt: (id: string, data: UpdateAiPromptRequest, params?: RequestParams) => Promise<AxiosResponse<AiPrompt, any, {}>>;
5755
+ /**
5756
+ * No description
5757
+ *
5758
+ * @tags AiAdminPrompt
5759
+ * @name DeleteAiPrompt
5760
+ * @summary Delete prompt
5761
+ * @request DELETE:/api/ai/admin/prompts/{id}
5762
+ * @secure
5763
+ * @response `204` `void` No Content
5764
+ * @response `400` `ProblemDetails` Bad Request
5765
+ * @response `404` `ProblemDetails` Not Found
5766
+ */
5767
+ deleteAiPrompt: (id: string, params?: RequestParams) => Promise<AxiosResponse<void, any, {}>>;
5768
+ /**
5769
+ * No description
5770
+ *
5771
+ * @tags AiAdminPrompt
5772
+ * @name ToggleAiPrompt
5773
+ * @summary Toggle prompt active/inactive
5774
+ * @request PATCH:/api/ai/admin/prompts/{id}/toggle
5775
+ * @secure
5776
+ * @response `200` `AiPrompt` Success
5777
+ * @response `404` `ProblemDetails` Not Found
5778
+ */
5779
+ toggleAiPrompt: (id: string, params?: RequestParams) => Promise<AxiosResponse<AiPrompt, any, {}>>;
5780
+ /**
5781
+ * No description
5782
+ *
5783
+ * @tags AiCanonicalField
5784
+ * @name GetAiCanonicalFields
5785
+ * @summary Get all canonical fields
5786
+ * @request GET:/api/ai/admin/fields
5787
+ * @secure
5788
+ * @response `200` `(AiCanonicalField)[]` Success
5789
+ */
5790
+ getAiCanonicalFields: (params?: RequestParams) => Promise<AxiosResponse<AiCanonicalField[], any, {}>>;
5791
+ /**
5792
+ * No description
5793
+ *
5794
+ * @tags AiCanonicalField
5795
+ * @name CreateAiCanonicalField
5796
+ * @summary Create canonical field
5797
+ * @request POST:/api/ai/admin/fields
5798
+ * @secure
5799
+ * @response `201` `AiCanonicalField` Created
5800
+ * @response `400` `ProblemDetails` Bad Request
5801
+ */
5802
+ createAiCanonicalField: (data: CreateAiCanonicalFieldRequest, params?: RequestParams) => Promise<AxiosResponse<AiCanonicalField, any, {}>>;
5803
+ /**
5804
+ * No description
5805
+ *
5806
+ * @tags AiCanonicalField
5807
+ * @name GetAiCanonicalField
5808
+ * @summary Get canonical field by ID
5809
+ * @request GET:/api/ai/admin/fields/{id}
5810
+ * @secure
5811
+ * @response `200` `AiCanonicalField` Success
5812
+ * @response `404` `ProblemDetails` Not Found
5813
+ */
5814
+ getAiCanonicalField: (id: string, params?: RequestParams) => Promise<AxiosResponse<AiCanonicalField, any, {}>>;
5815
+ /**
5816
+ * No description
5817
+ *
5818
+ * @tags AiCanonicalField
5819
+ * @name UpdateAiCanonicalField
5820
+ * @summary Update canonical field
5821
+ * @request PUT:/api/ai/admin/fields/{id}
5822
+ * @secure
5823
+ * @response `200` `AiCanonicalField` Success
5824
+ * @response `400` `ProblemDetails` Bad Request
5825
+ * @response `404` `ProblemDetails` Not Found
5826
+ */
5827
+ updateAiCanonicalField: (id: string, data: UpdateAiCanonicalFieldRequest, params?: RequestParams) => Promise<AxiosResponse<AiCanonicalField, any, {}>>;
5828
+ /**
5829
+ * No description
5830
+ *
5831
+ * @tags AiCanonicalField
5832
+ * @name DeleteAiCanonicalField
5833
+ * @summary Delete canonical field
5834
+ * @request DELETE:/api/ai/admin/fields/{id}
5835
+ * @secure
5836
+ * @response `204` `void` No Content
5837
+ * @response `404` `ProblemDetails` Not Found
5838
+ */
5839
+ deleteAiCanonicalField: (id: string, params?: RequestParams) => Promise<AxiosResponse<void, any, {}>>;
5840
+ /**
5841
+ * No description
5842
+ *
5843
+ * @tags AiCanonicalField
5844
+ * @name ToggleAiCanonicalField
5845
+ * @summary Toggle canonical field active/inactive
5846
+ * @request PATCH:/api/ai/admin/fields/{id}/toggle
5847
+ * @secure
5848
+ * @response `200` `AiCanonicalField` Success
5849
+ * @response `404` `ProblemDetails` Not Found
5850
+ */
5851
+ toggleAiCanonicalField: (id: string, params?: RequestParams) => Promise<AxiosResponse<AiCanonicalField, any, {}>>;
5852
+ /**
5853
+ * No description
5854
+ *
5855
+ * @tags AiChat
5856
+ * @name AiChat
5857
+ * @summary Send AI chat message
5858
+ * @request POST:/api/ai/chat
5859
+ * @secure
5860
+ * @response `200` `AiChat` Success
5861
+ * @response `400` `ProblemDetails` Bad Request
5862
+ * @response `401` `ProblemDetails` Unauthorized
5863
+ */
5864
+ aiChat: (data: AiChatRequest, params?: RequestParams) => Promise<AxiosResponse<AiChat, any, {}>>;
5865
+ /**
5866
+ * No description
5867
+ *
5868
+ * @tags AiConversation
5869
+ * @name GetAiConversations
5870
+ * @summary Get user conversations
5871
+ * @request GET:/api/ai/conversations
5872
+ * @secure
5873
+ * @response `200` `AiConversationListItemPaginated` Success
5874
+ */
5875
+ getAiConversations: (query?: {
5876
+ /** @format int32 */
5877
+ pageSize?: number;
5878
+ /** @format int32 */
5879
+ pageNumber?: number;
5880
+ sortBy?: string;
5881
+ sortDirection?: string;
5882
+ }, params?: RequestParams) => Promise<AxiosResponse<AiConversationListItemPaginated, any, {}>>;
5883
+ /**
5884
+ * No description
5885
+ *
5886
+ * @tags AiConversation
5887
+ * @name GetAiConversation
5888
+ * @summary Get conversation with messages
5889
+ * @request GET:/api/ai/conversations/{id}
5890
+ * @secure
5891
+ * @response `200` `AiConversationDetail` Success
5892
+ * @response `403` `ProblemDetails` Forbidden
5893
+ * @response `404` `ProblemDetails` Not Found
5894
+ */
5895
+ getAiConversation: (id: string, params?: RequestParams) => Promise<AxiosResponse<AiConversationDetail, any, {}>>;
5896
+ /**
5897
+ * No description
5898
+ *
5899
+ * @tags AiConversation
5900
+ * @name DeleteAiConversation
5901
+ * @summary Delete conversation
5902
+ * @request DELETE:/api/ai/conversations/{id}
5903
+ * @secure
5904
+ * @response `204` `void` No Content
5905
+ * @response `403` `ProblemDetails` Forbidden
5906
+ * @response `404` `ProblemDetails` Not Found
5907
+ */
5908
+ deleteAiConversation: (id: string, params?: RequestParams) => Promise<AxiosResponse<void, any, {}>>;
5909
+ /**
5910
+ * No description
5911
+ *
5912
+ * @tags AiGuardrail
5913
+ * @name GetAiGuardrails
5914
+ * @summary Get all guardrails
5915
+ * @request GET:/api/ai/admin/guardrails
5916
+ * @secure
5917
+ * @response `200` `(AiGuardrail)[]` Success
5918
+ */
5919
+ getAiGuardrails: (params?: RequestParams) => Promise<AxiosResponse<AiGuardrail[], any, {}>>;
5920
+ /**
5921
+ * No description
5922
+ *
5923
+ * @tags AiGuardrail
5924
+ * @name CreateAiGuardrail
5925
+ * @summary Create custom guardrail
5926
+ * @request POST:/api/ai/admin/guardrails
5927
+ * @secure
5928
+ * @response `201` `AiGuardrail` Created
5929
+ * @response `400` `ProblemDetails` Bad Request
5930
+ */
5931
+ createAiGuardrail: (data: CreateAiGuardrailRequest, params?: RequestParams) => Promise<AxiosResponse<AiGuardrail, any, {}>>;
5932
+ /**
5933
+ * No description
5934
+ *
5935
+ * @tags AiGuardrail
5936
+ * @name GetAiGuardrail
5937
+ * @summary Get guardrail by ID
5938
+ * @request GET:/api/ai/admin/guardrails/{id}
5939
+ * @secure
5940
+ * @response `200` `AiGuardrail` Success
5941
+ * @response `404` `ProblemDetails` Not Found
5942
+ */
5943
+ getAiGuardrail: (id: string, params?: RequestParams) => Promise<AxiosResponse<AiGuardrail, any, {}>>;
5944
+ /**
5945
+ * No description
5946
+ *
5947
+ * @tags AiGuardrail
5948
+ * @name UpdateAiGuardrail
5949
+ * @summary Update guardrail
5950
+ * @request PUT:/api/ai/admin/guardrails/{id}
5951
+ * @secure
5952
+ * @response `200` `AiGuardrail` Success
5953
+ * @response `400` `ProblemDetails` Bad Request
5954
+ * @response `404` `ProblemDetails` Not Found
5955
+ */
5956
+ updateAiGuardrail: (id: string, data: UpdateAiGuardrailRequest, params?: RequestParams) => Promise<AxiosResponse<AiGuardrail, any, {}>>;
5957
+ /**
5958
+ * No description
5959
+ *
5960
+ * @tags AiGuardrail
5961
+ * @name DeleteAiGuardrail
5962
+ * @summary Delete guardrail
5963
+ * @request DELETE:/api/ai/admin/guardrails/{id}
5964
+ * @secure
5965
+ * @response `204` `void` No Content
5966
+ * @response `400` `ProblemDetails` Bad Request
5967
+ * @response `404` `ProblemDetails` Not Found
5968
+ */
5969
+ deleteAiGuardrail: (id: string, params?: RequestParams) => Promise<AxiosResponse<void, any, {}>>;
5970
+ /**
5971
+ * No description
5972
+ *
5973
+ * @tags AiGuardrail
5974
+ * @name ToggleAiGuardrail
5975
+ * @summary Toggle guardrail enabled/disabled
5976
+ * @request PATCH:/api/ai/admin/guardrails/{id}/toggle
5977
+ * @secure
5978
+ * @response `200` `AiGuardrail` Success
5979
+ * @response `404` `ProblemDetails` Not Found
5980
+ */
5981
+ toggleAiGuardrail: (id: string, params?: RequestParams) => Promise<AxiosResponse<AiGuardrail, any, {}>>;
5982
+ /**
5983
+ * No description
5984
+ *
5985
+ * @tags AiPrompt
5986
+ * @name GetAvailablePrompts
5987
+ * @summary Get available prompts for current user
5988
+ * @request GET:/api/ai/prompts
5989
+ * @secure
5990
+ * @response `200` `(AiPromptSummary)[]` Success
5991
+ */
5992
+ getAvailablePrompts: (query?: {
5993
+ documentType?: string;
5994
+ }, params?: RequestParams) => Promise<AxiosResponse<AiPromptSummary[], any, {}>>;
5369
5995
  /**
5370
5996
  * No description
5371
5997
  *
@@ -5387,10 +6013,10 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
5387
6013
  * @summary Get Token
5388
6014
  * @request POST:/api/token
5389
6015
  * @secure
5390
- * @response `200` `Token` Success
6016
+ * @response `200` `ForcePasswordReset` Success
5391
6017
  * @response `422` `UnprocessableEntity` Client Error
5392
6018
  */
5393
- getToken: (data: TokenRequest, params?: RequestParams) => Promise<AxiosResponse<Token, any, {}>>;
6019
+ getToken: (data: TokenRequest, params?: RequestParams) => Promise<AxiosResponse<ForcePasswordReset, any, {}>>;
5394
6020
  /**
5395
6021
  * No description
5396
6022
  *
@@ -5399,10 +6025,10 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
5399
6025
  * @summary Get Token From Challenge Code
5400
6026
  * @request POST:/api/token/code
5401
6027
  * @secure
5402
- * @response `200` `Token` Success
6028
+ * @response `200` `ForcePasswordReset` Success
5403
6029
  * @response `422` `UnprocessableEntity` Client Error
5404
6030
  */
5405
- getTokenFromChallengeCode: (data: TokenChallengeRequest, params?: RequestParams) => Promise<AxiosResponse<Token, any, {}>>;
6031
+ getTokenFromChallengeCode: (data: TokenChallengeRequest, params?: RequestParams) => Promise<AxiosResponse<ForcePasswordReset, any, {}>>;
5406
6032
  /**
5407
6033
  * No description
5408
6034
  *
@@ -8023,7 +8649,7 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
8023
8649
  getPartners: (query?: {
8024
8650
  showAll?: boolean;
8025
8651
  /** @default "Realtor" */
8026
- role?: GetPartnersParamsRoleEnum;
8652
+ role?: "Borrower" | "LoanOfficer" | "Admin" | "SuperAdmin" | "Realtor" | "SettlementAgent" | "LoanProcessor" | "LoanOfficerAssistant" | "BranchManager" | "SystemAdmin";
8027
8653
  /** @format int32 */
8028
8654
  pageSize?: number;
8029
8655
  /** @format int32 */
@@ -8201,7 +8827,7 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
8201
8827
  * @response `200` `File` Success
8202
8828
  * @response `404` `ProblemDetails` Not Found
8203
8829
  */
8204
- getSamlMetadata: (sSoIntegration: GetSamlMetadataParamsEnum, ssoIntegration: string, params?: RequestParams) => Promise<AxiosResponse<File, any, {}>>;
8830
+ getSamlMetadata: (sSoIntegration: "ConsumerConnect" | "TheBigPOS" | "POSF", ssoIntegration: string, params?: RequestParams) => Promise<AxiosResponse<File, any, {}>>;
8205
8831
  /**
8206
8832
  * No description
8207
8833
  *
@@ -8212,7 +8838,7 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
8212
8838
  * @secure
8213
8839
  * @response `200` `File` Success
8214
8840
  */
8215
- createOrReplaceSamlMetadata: (sSoIntegration: CreateOrReplaceSamlMetadataParamsEnum, ssoIntegration: string, params?: RequestParams) => Promise<AxiosResponse<File, any, {}>>;
8841
+ createOrReplaceSamlMetadata: (sSoIntegration: "ConsumerConnect" | "TheBigPOS" | "POSF", ssoIntegration: string, params?: RequestParams) => Promise<AxiosResponse<File, any, {}>>;
8216
8842
  /**
8217
8843
  * No description
8218
8844
  *