@matech/thebigpos-sdk 2.37.6-aibi-11 → 2.37.8

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/src/index.ts CHANGED
@@ -347,81 +347,6 @@ export type AuditChangeType =
347
347
  | "HardDeleted"
348
348
  | "Restored";
349
349
 
350
- export type AiStructuredDataType =
351
- | "Table"
352
- | "DocumentAnalysis"
353
- | "DocumentList"
354
- | "GeneratedDocument";
355
-
356
- export type AiQueryTemplateName =
357
- | "PipelineSummary"
358
- | "LoanDetail"
359
- | "LoansClosing"
360
- | "StaleLoans"
361
- | "LoansByType"
362
- | "LoansByOfficer"
363
- | "AverageLoanAmount"
364
- | "LockedVsUnlocked"
365
- | "LoansByPurpose"
366
- | "LoansByPropertyState"
367
- | "LoansByRate"
368
- | "DtiLtvRisk"
369
- | "DisclosureTracking"
370
- | "NewLoans"
371
- | "ExpiringLocks"
372
- | "ClosedLoans";
373
-
374
- export type AiPromptCategory =
375
- | "DocumentAnalysis"
376
- | "DataQuery"
377
- | "General"
378
- | "Action";
379
-
380
- export type AiOutputType = "Text" | "Document";
381
-
382
- export type AiIntent =
383
- | "Greeting"
384
- | "Invalid"
385
- | "Relevant"
386
- | "LoanSpecific"
387
- | "DocumentList"
388
- | "GeneralKnowledge"
389
- | "Blocked"
390
- | "Action";
391
-
392
- export type AiGuardrailCategory =
393
- | "ContentSafety"
394
- | "PromptInjection"
395
- | "Privacy"
396
- | "Legal";
397
-
398
- export type AiDisplayHint =
399
- | "Table"
400
- | "SummaryCards"
401
- | "RankedList"
402
- | "Comparison"
403
- | "ExecutiveBrief";
404
-
405
- export type AiAuditEventType =
406
- | "Error"
407
- | "GuardrailBlockedPre"
408
- | "GuardrailPassedPre"
409
- | "IntentClassified"
410
- | "LoanResolvedFromMessage"
411
- | "DocumentNotFound"
412
- | "GuardrailBlockedPost"
413
- | "GuardrailPassedPost"
414
- | "DocumentAnalyzed"
415
- | "DocumentList"
416
- | "DocumentResolutionAmbiguous"
417
- | "ResponseGenerated"
418
- | "ParametersExtracted"
419
- | "QueryExecuted"
420
- | "LoanContextNotFound"
421
- | "LoanContextLoaded"
422
- | "GuardrailBlockedBedrock"
423
- | "PromptMatched";
424
-
425
350
  export type AddressFamily =
426
351
  | "Unspecified"
427
352
  | "Unix"
@@ -509,7 +434,7 @@ export interface AccountBilling {
509
434
  }
510
435
 
511
436
  export interface AccountBillingRequest {
512
- billingType: "ClosedLoan" | "LoanOfficer";
437
+ billingType: AccountBillingRequestBillingTypeEnum;
513
438
  /**
514
439
  * @format double
515
440
  * @min 0
@@ -524,7 +449,6 @@ export interface AccountSettings {
524
449
  smsNumber?: string | null;
525
450
  ssoHostOverride?: string | null;
526
451
  isEarlyAdopter: boolean;
527
- isAIEnabled: boolean;
528
452
  }
529
453
 
530
454
  export interface AccountSettingsRequest {
@@ -735,248 +659,6 @@ export interface AffordabilityCalculatorRequest {
735
659
  annualInsurance: number;
736
660
  }
737
661
 
738
- export interface AiAdminStats {
739
- /** @format int32 */
740
- totalRequests: number;
741
- /** @format int32 */
742
- blockedRequests: number;
743
- /** @format double */
744
- averageResponseTimeMs: number;
745
- intentDistribution: Record<string, number>;
746
- topQueryTemplates: Record<string, number>;
747
- period: string;
748
- }
749
-
750
- export interface AiAuditLog {
751
- /** @format uuid */
752
- id: string;
753
- /** @format uuid */
754
- requestId: string;
755
- /** @format uuid */
756
- userId: string;
757
- eventType:
758
- | "Error"
759
- | "GuardrailBlockedPre"
760
- | "GuardrailPassedPre"
761
- | "IntentClassified"
762
- | "LoanResolvedFromMessage"
763
- | "DocumentNotFound"
764
- | "GuardrailBlockedPost"
765
- | "GuardrailPassedPost"
766
- | "DocumentAnalyzed"
767
- | "DocumentList"
768
- | "DocumentResolutionAmbiguous"
769
- | "ResponseGenerated"
770
- | "ParametersExtracted"
771
- | "QueryExecuted"
772
- | "LoanContextNotFound"
773
- | "LoanContextLoaded"
774
- | "GuardrailBlockedBedrock"
775
- | "PromptMatched";
776
- details?: any;
777
- /** @format date-time */
778
- createdAt: string;
779
- }
780
-
781
- export interface AiAuditLogPaginated {
782
- rows: AiAuditLog[];
783
- pagination: Pagination;
784
- /** @format int64 */
785
- count: number;
786
- }
787
-
788
- export interface AiCanonicalField {
789
- /** @format uuid */
790
- id: string;
791
- canonicalName: string;
792
- displayName: string;
793
- description: string;
794
- allowedRoles: string[];
795
- efPath?: string | null;
796
- isPii: boolean;
797
- isActive: boolean;
798
- dataSource: string;
799
- isDefault: boolean;
800
- category?: string | null;
801
- jsonPropertyName?: string | null;
802
- textractKey?: string | null;
803
- textractKeyAliases?: string | null;
804
- hasAccountOverride: boolean;
805
- /** @format date-time */
806
- createdAt: string;
807
- /** @format date-time */
808
- updatedAt?: string | null;
809
- }
810
-
811
- export interface AiChat {
812
- /** @format uuid */
813
- conversationId: string;
814
- /** @format uuid */
815
- messageId: string;
816
- response: AiChatBody;
817
- metadata: AiChatMetadata;
818
- }
819
-
820
- export interface AiChatBody {
821
- text: string;
822
- data?: AiChatStructuredData | null;
823
- suggestedFollowUps: string[];
824
- }
825
-
826
- export interface AiChatMessage {
827
- /** @format uuid */
828
- id: string;
829
- userMessage: string;
830
- assistantResponse: string;
831
- intent?: AiIntent | null;
832
- fieldsAccessed?: string[] | null;
833
- /** @format date-time */
834
- createdAt: string;
835
- }
836
-
837
- export interface AiChatMetadata {
838
- intent:
839
- | "Greeting"
840
- | "Invalid"
841
- | "Relevant"
842
- | "LoanSpecific"
843
- | "DocumentList"
844
- | "GeneralKnowledge"
845
- | "Blocked"
846
- | "Action";
847
- fieldsAccessed: string[];
848
- /** @format int64 */
849
- queryTimeMs: number;
850
- /** @format int64 */
851
- llmTimeMs: number;
852
- wasBlocked: boolean;
853
- blockedReason?: string | null;
854
- }
855
-
856
- export interface AiChatRequest {
857
- /**
858
- * @minLength 1
859
- * @maxLength 2000
860
- */
861
- message: string;
862
- /** @format uuid */
863
- conversationId?: string | null;
864
- /** @format uuid */
865
- loanId?: string | null;
866
- documentIds?: string[] | null;
867
- /** @format uuid */
868
- promptId?: string | null;
869
- }
870
-
871
- export interface AiChatStructuredData {
872
- type: "Table" | "DocumentAnalysis" | "DocumentList" | "GeneratedDocument";
873
- displayHint?: AiDisplayHint | null;
874
- detectedDocumentType?: string | null;
875
- columns: string[];
876
- rows: string[][];
877
- /** @format uuid */
878
- generatedDocumentId?: string | null;
879
- generatedFileName?: string | null;
880
- }
881
-
882
- export interface AiConversationDetail {
883
- /** @format uuid */
884
- id: string;
885
- /** @format date-time */
886
- createdAt: string;
887
- /** @format date-time */
888
- updatedAt?: string | null;
889
- messages: AiChatMessage[];
890
- }
891
-
892
- export interface AiConversationListItem {
893
- /** @format uuid */
894
- id: string;
895
- preview: string;
896
- /** @format int32 */
897
- messageCount: number;
898
- /** @format date-time */
899
- createdAt: string;
900
- /** @format date-time */
901
- updatedAt?: string | null;
902
- }
903
-
904
- export interface AiConversationListItemPaginated {
905
- rows: AiConversationListItem[];
906
- pagination: Pagination;
907
- /** @format int64 */
908
- count: number;
909
- }
910
-
911
- export interface AiGuardrail {
912
- /** @format uuid */
913
- id: string;
914
- name: string;
915
- category: "ContentSafety" | "PromptInjection" | "Privacy" | "Legal";
916
- description?: string | null;
917
- keywords: string[];
918
- responseTemplate: string;
919
- isDefault: boolean;
920
- isEnabled: boolean;
921
- hasAccountOverride: boolean;
922
- /** @format date-time */
923
- createdAt: string;
924
- /** @format date-time */
925
- updatedAt?: string | null;
926
- }
927
-
928
- export interface AiPrompt {
929
- /** @format uuid */
930
- id: string;
931
- title: string;
932
- icon: string;
933
- slug: string;
934
- description: string;
935
- documentTypes: string[];
936
- applicableGuidelines: string[];
937
- allowedRoles: string[];
938
- systemPrompt: string;
939
- userPromptTemplate: string;
940
- followUpPrompts: string[];
941
- /** @format int32 */
942
- sortOrder: number;
943
- isDefault: boolean;
944
- /** @format uuid */
945
- accountId?: string | null;
946
- isActive: boolean;
947
- category?: AiPromptCategory | null;
948
- queryTemplateName?: AiQueryTemplateName | null;
949
- displayHint?: AiDisplayHint | null;
950
- bedrockModelId?: string | null;
951
- requiredDataSources?: string[] | null;
952
- outputType?: AiOutputType | null;
953
- hasAccountOverride: boolean;
954
- /** @format date-time */
955
- createdAt: string;
956
- /** @format date-time */
957
- updatedAt?: string | null;
958
- }
959
-
960
- export interface AiPromptSummary {
961
- /** @format uuid */
962
- id: string;
963
- title: string;
964
- icon: string;
965
- slug: string;
966
- description: string;
967
- documentTypes: string[];
968
- applicableGuidelines: string[];
969
- followUpPrompts: string[];
970
- /** @format int32 */
971
- sortOrder: number;
972
- category?: AiPromptCategory | null;
973
- queryTemplateName?: AiQueryTemplateName | null;
974
- displayHint?: AiDisplayHint | null;
975
- bedrockModelId?: string | null;
976
- requiredDataSources?: string[] | null;
977
- outputType?: AiOutputType | null;
978
- }
979
-
980
662
  export interface AllowImpersonationRequest {
981
663
  /**
982
664
  * @format email
@@ -1084,15 +766,13 @@ export interface AuditLogEntry {
1084
766
  /** @format uuid */
1085
767
  id: string;
1086
768
  entityType: string;
1087
- changeType:
1088
- | "Created"
1089
- | "Modified"
1090
- | "SoftDeleted"
1091
- | "HardDeleted"
1092
- | "Restored";
769
+ changeType: AuditLogEntryChangeTypeEnum;
1093
770
  /** @format uuid */
1094
771
  entityId: string;
1095
772
  performedBy?: AuditLogUser | null;
773
+ rootEntityType?: string | null;
774
+ /** @format uuid */
775
+ rootEntityId?: string | null;
1096
776
  changes?: any;
1097
777
  /** @format date-time */
1098
778
  createdAt: string;
@@ -1116,6 +796,9 @@ export interface AuditLogSearchCriteria {
1116
796
  startDate?: string | null;
1117
797
  /** @format date-time */
1118
798
  endDate?: string | null;
799
+ rootEntityType?: string | null;
800
+ /** @format uuid */
801
+ rootEntityId?: string | null;
1119
802
  }
1120
803
 
1121
804
  export interface AuditLogUser {
@@ -1373,7 +1056,7 @@ export interface CorporateSearchCriteria {
1373
1056
  }
1374
1057
 
1375
1058
  export interface CreateAccessScopeRequest {
1376
- scopeType: "User" | "Branch";
1059
+ scopeType: CreateAccessScopeRequestScopeTypeEnum;
1377
1060
  /** @format uuid */
1378
1061
  userId?: string | null;
1379
1062
  /** @format uuid */
@@ -1397,76 +1080,11 @@ export interface CreateAccountRequest {
1397
1080
  */
1398
1081
  nlmsid: number;
1399
1082
  settings: AccountSettingsRequest;
1400
- environment: "Development" | "Staging" | "UAT" | "Production";
1083
+ environment: CreateAccountRequestEnvironmentEnum;
1401
1084
  losIntegration: LOSIntegration;
1402
1085
  billingSettings: AccountBillingRequest;
1403
1086
  }
1404
1087
 
1405
- export interface CreateAiCanonicalFieldRequest {
1406
- /**
1407
- * @minLength 1
1408
- * @maxLength 200
1409
- */
1410
- displayName: string;
1411
- /** @minLength 1 */
1412
- description: string;
1413
- /** @minItems 1 */
1414
- allowedRoles: string[];
1415
- isPii: boolean;
1416
- /** @minLength 1 */
1417
- dataSource: string;
1418
- category?: string | null;
1419
- }
1420
-
1421
- export interface CreateAiGuardrailRequest {
1422
- /**
1423
- * @minLength 1
1424
- * @maxLength 200
1425
- */
1426
- name: string;
1427
- category: "ContentSafety" | "PromptInjection" | "Privacy" | "Legal";
1428
- description?: string | null;
1429
- /** @minItems 1 */
1430
- keywords: string[];
1431
- /** @minLength 1 */
1432
- responseTemplate: string;
1433
- }
1434
-
1435
- export interface CreateAiPromptRequest {
1436
- /**
1437
- * @minLength 1
1438
- * @maxLength 200
1439
- */
1440
- title: string;
1441
- icon: string;
1442
- /**
1443
- * @minLength 1
1444
- * @maxLength 100
1445
- */
1446
- slug: string;
1447
- /**
1448
- * @minLength 1
1449
- * @maxLength 500
1450
- */
1451
- description: string;
1452
- documentTypes: string[];
1453
- applicableGuidelines: string[];
1454
- allowedRoles: string[];
1455
- /** @minLength 1 */
1456
- systemPrompt: string;
1457
- /** @minLength 1 */
1458
- userPromptTemplate: string;
1459
- followUpPrompts: string[];
1460
- /** @format int32 */
1461
- sortOrder: number;
1462
- category?: AiPromptCategory | null;
1463
- queryTemplateName?: AiQueryTemplateName | null;
1464
- displayHint?: AiDisplayHint | null;
1465
- bedrockModelId?: string | null;
1466
- requiredDataSources?: string[] | null;
1467
- outputType?: AiOutputType | null;
1468
- }
1469
-
1470
1088
  export interface CreateBranchRequest {
1471
1089
  /**
1472
1090
  * @minLength 1
@@ -1495,19 +1113,7 @@ export interface CreateDocumentTemplateRequest {
1495
1113
  export interface CreateGroupMemberRequest {
1496
1114
  /** @format uuid */
1497
1115
  userId: string;
1498
- loanRole:
1499
- | "Borrower"
1500
- | "CoBorrower"
1501
- | "NonBorrower"
1502
- | "LoanOfficer"
1503
- | "LoanProcessor"
1504
- | "LoanOfficerAssistant"
1505
- | "SupportingLoanOfficer"
1506
- | "BuyerAgent"
1507
- | "SellerAgent"
1508
- | "TitleInsuranceAgent"
1509
- | "EscrowAgent"
1510
- | "SettlementAgent";
1116
+ loanRole: CreateGroupMemberRequestLoanRoleEnum;
1511
1117
  }
1512
1118
 
1513
1119
  export interface CreateInviteRequest {
@@ -1519,7 +1125,7 @@ export interface CreateInviteRequest {
1519
1125
  emailAddress: string;
1520
1126
  phoneNumber?: string | null;
1521
1127
  /** @deprecated */
1522
- relationship: "NotApplicable" | "Spouse" | "NonSpouse";
1128
+ relationship: CreateInviteRequestRelationshipEnum;
1523
1129
  loanID: string;
1524
1130
  route?: string | null;
1525
1131
  /** @format uuid */
@@ -1542,7 +1148,7 @@ export interface CreateLoanImportRequest {
1542
1148
  * @minLength 1
1543
1149
  */
1544
1150
  startDate: string;
1545
- importMode: "All" | "NewOnly" | "UpdateOnly";
1151
+ importMode: CreateLoanImportRequestImportModeEnum;
1546
1152
  }
1547
1153
 
1548
1154
  export interface CreateSession {
@@ -1564,19 +1170,7 @@ export interface CreateUserDeviceRequest {
1564
1170
  }
1565
1171
 
1566
1172
  export interface CreateUserDraft {
1567
- loanRole:
1568
- | "Borrower"
1569
- | "CoBorrower"
1570
- | "NonBorrower"
1571
- | "LoanOfficer"
1572
- | "LoanProcessor"
1573
- | "LoanOfficerAssistant"
1574
- | "SupportingLoanOfficer"
1575
- | "BuyerAgent"
1576
- | "SellerAgent"
1577
- | "TitleInsuranceAgent"
1578
- | "EscrowAgent"
1579
- | "SettlementAgent";
1173
+ loanRole: CreateUserDraftLoanRoleEnum;
1580
1174
  }
1581
1175
 
1582
1176
  export interface CreateUserGroupRequest {
@@ -1892,7 +1486,7 @@ export interface Draft {
1892
1486
  siteConfiguration: SiteConfigurationReduced;
1893
1487
  /** @format uuid */
1894
1488
  loanID?: string | null;
1895
- type: "NewLoan" | "EditLoan";
1489
+ type: DraftTypeEnum;
1896
1490
  isCoBorrower: boolean;
1897
1491
  }
1898
1492
 
@@ -1911,7 +1505,7 @@ export interface DraftContent {
1911
1505
  siteConfiguration: SiteConfigurationReduced;
1912
1506
  /** @format uuid */
1913
1507
  loanID?: string | null;
1914
- type: "NewLoan" | "EditLoan";
1508
+ type: DraftContentTypeEnum;
1915
1509
  isCoBorrower: boolean;
1916
1510
  applicationPayload: any;
1917
1511
  }
@@ -1931,6 +1525,7 @@ export interface DraftLoanOfficerReassignRequest {
1931
1525
  export interface DraftRequest {
1932
1526
  applicationPayload: any;
1933
1527
  customData?: any;
1528
+ isCoBorrower: boolean;
1934
1529
  }
1935
1530
 
1936
1531
  export interface EConsentInformation {
@@ -2035,21 +1630,25 @@ export interface EncompassPackageList {
2035
1630
  totalPages: number;
2036
1631
  }
2037
1632
 
1633
+ export interface EncompassRecipientItem {
1634
+ /** @format uuid */
1635
+ id: string;
1636
+ /** @format uuid */
1637
+ packageId: string;
1638
+ recipientId: string;
1639
+ status: string;
1640
+ /** @format date-time */
1641
+ createdAt: string;
1642
+ }
1643
+
2038
1644
  export interface EncompassRequestLog {
2039
1645
  /** @format uuid */
2040
1646
  id: string;
2041
1647
  losId?: string | null;
2042
1648
  /** @format uuid */
2043
1649
  accountId: string;
2044
- operationType:
2045
- | "FieldUpdate"
2046
- | "EConsentUpdate"
2047
- | "DocumentSync"
2048
- | "MilestoneUpdate"
2049
- | "DocumentAttachment"
2050
- | "General"
2051
- | "FieldReader";
2052
- outcome: "Success" | "Failure" | "PartialSuccess";
1650
+ operationType: EncompassRequestLogOperationTypeEnum;
1651
+ outcome: EncompassRequestLogOutcomeEnum;
2053
1652
  message: string;
2054
1653
  endpoint?: string | null;
2055
1654
  httpMethod?: string | null;
@@ -2107,7 +1706,7 @@ export interface FileSearchCriteria {
2107
1706
  export interface FileWithBytes {
2108
1707
  name: string;
2109
1708
  /** @format byte */
2110
- data: string;
1709
+ data: Blob;
2111
1710
  fileName: string;
2112
1711
  mimeType?: string | null;
2113
1712
  extension?: string | null;
@@ -2286,20 +1885,7 @@ export interface FusionFieldDisplay {
2286
1885
  }
2287
1886
 
2288
1887
  export interface FusionReportFilter {
2289
- filterType:
2290
- | "DateGreaterThanOrEqualTo"
2291
- | "DateGreaterThan"
2292
- | "DateLessThan"
2293
- | "DateLessThanOrEqualTo"
2294
- | "DateEquals"
2295
- | "DateDoesntEqual"
2296
- | "DateNonEmpty"
2297
- | "DateEmpty"
2298
- | "StringContains"
2299
- | "StringEquals"
2300
- | "StringNotEmpty"
2301
- | "StringNotEquals"
2302
- | "StringNotContains";
1888
+ filterType: FusionReportFilterFilterTypeEnum;
2303
1889
  targetField: string;
2304
1890
  targetValue: string;
2305
1891
  }
@@ -2321,19 +1907,6 @@ export interface GenerateDocumentRequest {
2321
1907
  recipients: string[];
2322
1908
  }
2323
1909
 
2324
- export interface GenerateSystemPrompt {
2325
- systemPrompt: string;
2326
- }
2327
-
2328
- export interface GenerateSystemPromptRequest {
2329
- /**
2330
- * @minLength 1
2331
- * @maxLength 2000
2332
- */
2333
- description: string;
2334
- category: "DocumentAnalysis" | "DataQuery" | "General" | "Action";
2335
- }
2336
-
2337
1910
  export interface GetApplications {
2338
1911
  applications: ApplicationRowData[];
2339
1912
  }
@@ -2440,40 +2013,7 @@ export interface GuidPatchOperation {
2440
2013
  }
2441
2014
 
2442
2015
  export interface IPAddress {
2443
- addressFamily:
2444
- | "Unspecified"
2445
- | "Unix"
2446
- | "InterNetwork"
2447
- | "ImpLink"
2448
- | "Pup"
2449
- | "Chaos"
2450
- | "NS"
2451
- | "Ipx"
2452
- | "Iso"
2453
- | "Osi"
2454
- | "Ecma"
2455
- | "DataKit"
2456
- | "Ccitt"
2457
- | "Sna"
2458
- | "DecNet"
2459
- | "DataLink"
2460
- | "Lat"
2461
- | "HyperChannel"
2462
- | "AppleTalk"
2463
- | "NetBios"
2464
- | "VoiceView"
2465
- | "FireFox"
2466
- | "Banyan"
2467
- | "Atm"
2468
- | "InterNetworkV6"
2469
- | "Cluster"
2470
- | "Ieee12844"
2471
- | "Irda"
2472
- | "NetworkDesigners"
2473
- | "Max"
2474
- | "Packet"
2475
- | "ControllerAreaNetwork"
2476
- | "Unknown";
2016
+ addressFamily: IpAddressAddressFamilyEnum;
2477
2017
  /** @format int64 */
2478
2018
  scopeId: number;
2479
2019
  isIPv6Multicast: boolean;
@@ -2796,7 +2336,7 @@ export interface LoanBorrower {
2796
2336
  citizenship?: LoanCitizenship | null;
2797
2337
  maritalStatus?: LoanMaritalStatus | null;
2798
2338
  languagePreference?: LoanLanguagePreference | null;
2799
- applicationStatus: "Draft" | "Complete";
2339
+ applicationStatus: LoanBorrowerApplicationStatusEnum;
2800
2340
  /** @format int32 */
2801
2341
  numberOfDependents?: number | null;
2802
2342
  isPrimaryBorrower: boolean;
@@ -3721,19 +3261,7 @@ export interface LoanContact {
3721
3261
  email?: string | null;
3722
3262
  phone?: string | null;
3723
3263
  companyName?: string | null;
3724
- role:
3725
- | "Borrower"
3726
- | "CoBorrower"
3727
- | "NonBorrower"
3728
- | "LoanOfficer"
3729
- | "LoanProcessor"
3730
- | "LoanOfficerAssistant"
3731
- | "SupportingLoanOfficer"
3732
- | "BuyerAgent"
3733
- | "SellerAgent"
3734
- | "TitleInsuranceAgent"
3735
- | "EscrowAgent"
3736
- | "SettlementAgent";
3264
+ role: LoanContactRoleEnum;
3737
3265
  }
3738
3266
 
3739
3267
  export interface LoanContactList {
@@ -3869,19 +3397,14 @@ export interface LoanImport {
3869
3397
  /** @format int32 */
3870
3398
  importedCount: number;
3871
3399
  statusMessage?: string | null;
3872
- status:
3873
- | "WaitingProcess"
3874
- | "InProgress"
3875
- | "Completed"
3876
- | "Failed"
3877
- | "Cancelled";
3878
- importMode: "All" | "NewOnly" | "UpdateOnly";
3400
+ status: LoanImportStatusEnum;
3401
+ importMode: LoanImportImportModeEnum;
3879
3402
  /** @format date-time */
3880
3403
  createdAt?: string | null;
3881
3404
  }
3882
3405
 
3883
3406
  export interface LoanImportLog {
3884
- level: "None" | "Info" | "Warning" | "Error";
3407
+ level: LoanImportLogLevelEnum;
3885
3408
  message: string;
3886
3409
  /** @format date-time */
3887
3410
  createdAt: string;
@@ -3942,22 +3465,8 @@ export interface LoanListPaginated {
3942
3465
  export interface LoanLog {
3943
3466
  /** @format uuid */
3944
3467
  id: string;
3945
- level: "None" | "Info" | "Warning" | "Error";
3946
- type:
3947
- | "Loan"
3948
- | "Queue"
3949
- | "POSFlagChanged"
3950
- | "Verification"
3951
- | "DocumentUploaded"
3952
- | "LoanCreated"
3953
- | "WorkflowSubmitted"
3954
- | "UserInvitationSent"
3955
- | "CoBorrowerAdded"
3956
- | "TaskCompleted"
3957
- | "LoanStatusChanged"
3958
- | "EConsent"
3959
- | "SensitiveDataPurge"
3960
- | "ClosingDateUpdated";
3468
+ level: LoanLogLevelEnum;
3469
+ type: LoanLogTypeEnum;
3961
3470
  message: string;
3962
3471
  /** @format date-time */
3963
3472
  createdAt: string;
@@ -3966,22 +3475,8 @@ export interface LoanLog {
3966
3475
  export interface LoanLogDetail {
3967
3476
  /** @format uuid */
3968
3477
  id: string;
3969
- level: "None" | "Info" | "Warning" | "Error";
3970
- type:
3971
- | "Loan"
3972
- | "Queue"
3973
- | "POSFlagChanged"
3974
- | "Verification"
3975
- | "DocumentUploaded"
3976
- | "LoanCreated"
3977
- | "WorkflowSubmitted"
3978
- | "UserInvitationSent"
3979
- | "CoBorrowerAdded"
3980
- | "TaskCompleted"
3981
- | "LoanStatusChanged"
3982
- | "EConsent"
3983
- | "SensitiveDataPurge"
3984
- | "ClosingDateUpdated";
3478
+ level: LoanLogDetailLevelEnum;
3479
+ type: LoanLogDetailTypeEnum;
3985
3480
  message: string;
3986
3481
  /** @format date-time */
3987
3482
  createdAt: string;
@@ -4265,19 +3760,7 @@ export interface LoanUser {
4265
3760
  email: string;
4266
3761
  phone?: string | null;
4267
3762
  role: string;
4268
- loanRole:
4269
- | "Borrower"
4270
- | "CoBorrower"
4271
- | "NonBorrower"
4272
- | "LoanOfficer"
4273
- | "LoanProcessor"
4274
- | "LoanOfficerAssistant"
4275
- | "SupportingLoanOfficer"
4276
- | "BuyerAgent"
4277
- | "SellerAgent"
4278
- | "TitleInsuranceAgent"
4279
- | "EscrowAgent"
4280
- | "SettlementAgent";
3763
+ loanRole: LoanUserLoanRoleEnum;
4281
3764
  isUser: boolean;
4282
3765
  /** @format date-time */
4283
3766
  createdAt: string;
@@ -4922,7 +4405,7 @@ export interface SSOTokenRequest {
4922
4405
  }
4923
4406
 
4924
4407
  export interface SamlMetadataRequest {
4925
- ssoIntegration: "ConsumerConnect" | "TheBigPOS" | "POSF";
4408
+ ssoIntegration: SamlMetadataRequestSsoIntegrationEnum;
4926
4409
  }
4927
4410
 
4928
4411
  export interface SendForgotPasswordRequest {
@@ -4961,7 +4444,7 @@ export interface SiteConfiguration {
4961
4444
  deletedAt?: string | null;
4962
4445
  /** @format uuid */
4963
4446
  id: string;
4964
- type: "None" | "Account" | "Corporate" | "Branch" | "LoanOfficer" | "Partner";
4447
+ type: SiteConfigurationTypeEnum;
4965
4448
  /** @format uuid */
4966
4449
  entityID: string;
4967
4450
  /** @format int32 */
@@ -5156,7 +4639,7 @@ export interface SiteConfigurationByUrl {
5156
4639
  deletedAt?: string | null;
5157
4640
  /** @format uuid */
5158
4641
  id: string;
5159
- type: "None" | "Account" | "Corporate" | "Branch" | "LoanOfficer" | "Partner";
4642
+ type: SiteConfigurationByUrlTypeEnum;
5160
4643
  /** @format uuid */
5161
4644
  entityID: string;
5162
4645
  /** @format int32 */
@@ -5369,7 +4852,7 @@ export interface SiteConfigurationForm {
5369
4852
  export interface SiteConfigurationReduced {
5370
4853
  /** @format uuid */
5371
4854
  id: string;
5372
- type: "None" | "Account" | "Corporate" | "Branch" | "LoanOfficer" | "Partner";
4855
+ type: SiteConfigurationReducedTypeEnum;
5373
4856
  url?: string | null;
5374
4857
  name: string;
5375
4858
  /** @format int64 */
@@ -5387,7 +4870,7 @@ export interface SiteConfigurationRequest {
5387
4870
  entityID: string;
5388
4871
  /** @format int32 */
5389
4872
  entityType: number;
5390
- type: "None" | "Account" | "Corporate" | "Branch" | "LoanOfficer" | "Partner";
4873
+ type: SiteConfigurationRequestTypeEnum;
5391
4874
  url: string;
5392
4875
  name: string;
5393
4876
  introduction?: string | null;
@@ -5564,7 +5047,7 @@ export interface SiteConfigurationSearchCriteria {
5564
5047
  export interface SiteConfigurationSummary {
5565
5048
  /** @format uuid */
5566
5049
  id: string;
5567
- type: "None" | "Account" | "Corporate" | "Branch" | "LoanOfficer" | "Partner";
5050
+ type: SiteConfigurationSummaryTypeEnum;
5568
5051
  url?: string | null;
5569
5052
  name: string;
5570
5053
  /** @format int64 */
@@ -5612,14 +5095,6 @@ export interface SocialSurveyRecord {
5612
5095
  reviewCompletedTimeStamp?: string | null;
5613
5096
  }
5614
5097
 
5615
- export interface SupportedModel {
5616
- modelId: string;
5617
- displayName: string;
5618
- provider: string;
5619
- description?: string | null;
5620
- isDefault: boolean;
5621
- }
5622
-
5623
5098
  export interface SurveyEmailRequest {
5624
5099
  /** @minLength 1 */
5625
5100
  loanOfficerEmailAddress: string;
@@ -5880,63 +5355,6 @@ export interface UpdateAccountRequest {
5880
5355
  settings: AccountSettingsRequest;
5881
5356
  }
5882
5357
 
5883
- export interface UpdateAiCanonicalFieldRequest {
5884
- /**
5885
- * @minLength 1
5886
- * @maxLength 200
5887
- */
5888
- displayName: string;
5889
- /** @minLength 1 */
5890
- description: string;
5891
- /** @minItems 1 */
5892
- allowedRoles: string[];
5893
- isPii: boolean;
5894
- }
5895
-
5896
- export interface UpdateAiGuardrailRequest {
5897
- /**
5898
- * @minLength 1
5899
- * @maxLength 200
5900
- */
5901
- name: string;
5902
- category: "ContentSafety" | "PromptInjection" | "Privacy" | "Legal";
5903
- description?: string | null;
5904
- /** @minItems 1 */
5905
- keywords: string[];
5906
- /** @minLength 1 */
5907
- responseTemplate: string;
5908
- }
5909
-
5910
- export interface UpdateAiPromptRequest {
5911
- /**
5912
- * @minLength 1
5913
- * @maxLength 200
5914
- */
5915
- title: string;
5916
- icon: string;
5917
- /**
5918
- * @minLength 1
5919
- * @maxLength 500
5920
- */
5921
- description: string;
5922
- documentTypes: string[];
5923
- applicableGuidelines: string[];
5924
- allowedRoles: string[];
5925
- /** @minLength 1 */
5926
- systemPrompt: string;
5927
- /** @minLength 1 */
5928
- userPromptTemplate: string;
5929
- followUpPrompts: string[];
5930
- /** @format int32 */
5931
- sortOrder: number;
5932
- category?: AiPromptCategory | null;
5933
- queryTemplateName?: AiQueryTemplateName | null;
5934
- displayHint?: AiDisplayHint | null;
5935
- bedrockModelId?: string | null;
5936
- requiredDataSources?: string[] | null;
5937
- outputType?: AiOutputType | null;
5938
- }
5939
-
5940
5358
  export interface UpdateDocumentTemplateRequest {
5941
5359
  /** @minLength 1 */
5942
5360
  htmlBody: string;
@@ -6255,19 +5673,7 @@ export interface UserDevice {
6255
5673
  export interface UserDraft {
6256
5674
  /** @format uuid */
6257
5675
  draftID: string;
6258
- role:
6259
- | "Borrower"
6260
- | "CoBorrower"
6261
- | "NonBorrower"
6262
- | "LoanOfficer"
6263
- | "LoanProcessor"
6264
- | "LoanOfficerAssistant"
6265
- | "SupportingLoanOfficer"
6266
- | "BuyerAgent"
6267
- | "SellerAgent"
6268
- | "TitleInsuranceAgent"
6269
- | "EscrowAgent"
6270
- | "SettlementAgent";
5676
+ role: UserDraftRoleEnum;
6271
5677
  user: User;
6272
5678
  }
6273
5679
 
@@ -6294,7 +5700,7 @@ export interface UserGroupAccessScope {
6294
5700
  id: string;
6295
5701
  /** @format uuid */
6296
5702
  groupId: string;
6297
- scopeType: "User" | "Branch";
5703
+ scopeType: UserGroupAccessScopeScopeTypeEnum;
6298
5704
  /** @format uuid */
6299
5705
  userId?: string | null;
6300
5706
  /** @format uuid */
@@ -6330,19 +5736,7 @@ export interface UserLoan {
6330
5736
  deletedAt?: string | null;
6331
5737
  loanID: string;
6332
5738
  user: User;
6333
- role:
6334
- | "Borrower"
6335
- | "CoBorrower"
6336
- | "NonBorrower"
6337
- | "LoanOfficer"
6338
- | "LoanProcessor"
6339
- | "LoanOfficerAssistant"
6340
- | "SupportingLoanOfficer"
6341
- | "BuyerAgent"
6342
- | "SellerAgent"
6343
- | "TitleInsuranceAgent"
6344
- | "EscrowAgent"
6345
- | "SettlementAgent";
5739
+ role: UserLoanRoleEnum;
6346
5740
  /** @format int32 */
6347
5741
  borrowerPair?: number | null;
6348
5742
  /** @format int32 */
@@ -6355,10 +5749,10 @@ export interface UserLoanConsent {
6355
5749
  id: string;
6356
5750
  /** @format uuid */
6357
5751
  userLoanID: string;
6358
- type: "Econsent" | "CreditAuthorization" | "Tcpa";
5752
+ type: UserLoanConsentTypeEnum;
6359
5753
  providedConsent: boolean;
6360
5754
  ipAddress?: string | null;
6361
- losSyncStatus: "NotStarted" | "Failed" | "Success";
5755
+ losSyncStatus: UserLoanConsentLosSyncStatusEnum;
6362
5756
  /** @format date-time */
6363
5757
  createdAt: string;
6364
5758
  }
@@ -6503,16 +5897,7 @@ export interface UserSummary {
6503
5897
  id: string;
6504
5898
  name?: string | null;
6505
5899
  email?: string | null;
6506
- role:
6507
- | "Borrower"
6508
- | "LoanOfficer"
6509
- | "Admin"
6510
- | "SuperAdmin"
6511
- | "Realtor"
6512
- | "SettlementAgent"
6513
- | "LoanProcessor"
6514
- | "LoanOfficerAssistant"
6515
- | "SystemAdmin";
5900
+ role: UserSummaryRoleEnum;
6516
5901
  }
6517
5902
 
6518
5903
  export interface VerifyPasswordRequest {
@@ -6548,681 +5933,569 @@ export interface Workflow {
6548
5933
  icon: string;
6549
5934
  }
6550
5935
 
6551
- import type {
6552
- AxiosInstance,
6553
- AxiosRequestConfig,
6554
- AxiosResponse,
6555
- HeadersDefaults,
6556
- ResponseType,
6557
- } from "axios";
6558
- import axios from "axios";
5936
+ export type AccountBillingRequestBillingTypeEnum = "ClosedLoan" | "LoanOfficer";
6559
5937
 
6560
- export type QueryParamsType = Record<string | number, any>;
5938
+ export type AuditLogEntryChangeTypeEnum =
5939
+ | "Created"
5940
+ | "Modified"
5941
+ | "SoftDeleted"
5942
+ | "HardDeleted"
5943
+ | "Restored";
6561
5944
 
6562
- export interface FullRequestParams
6563
- extends Omit<AxiosRequestConfig, "data" | "params" | "url" | "responseType"> {
6564
- /** set parameter to `true` for call `securityWorker` for this request */
6565
- secure?: boolean;
6566
- /** request path */
6567
- path: string;
6568
- /** content type of request body */
6569
- type?: ContentType;
6570
- /** query params */
6571
- query?: QueryParamsType;
6572
- /** format of response (i.e. response.json() -> format: "json") */
6573
- format?: ResponseType;
6574
- /** request body */
6575
- body?: unknown;
6576
- }
5945
+ export type CreateAccessScopeRequestScopeTypeEnum = "User" | "Branch";
6577
5946
 
6578
- export type RequestParams = Omit<
6579
- FullRequestParams,
6580
- "body" | "method" | "query" | "path"
6581
- >;
5947
+ export type CreateAccountRequestEnvironmentEnum =
5948
+ | "Development"
5949
+ | "Staging"
5950
+ | "UAT"
5951
+ | "Production";
6582
5952
 
6583
- export interface ApiConfig<SecurityDataType = unknown>
6584
- extends Omit<AxiosRequestConfig, "data" | "cancelToken"> {
6585
- securityWorker?: (
6586
- securityData: SecurityDataType | null,
6587
- ) => Promise<AxiosRequestConfig | void> | AxiosRequestConfig | void;
6588
- secure?: boolean;
6589
- format?: ResponseType;
6590
- }
5953
+ export type CreateGroupMemberRequestLoanRoleEnum =
5954
+ | "Borrower"
5955
+ | "CoBorrower"
5956
+ | "NonBorrower"
5957
+ | "LoanOfficer"
5958
+ | "LoanProcessor"
5959
+ | "LoanOfficerAssistant"
5960
+ | "SupportingLoanOfficer"
5961
+ | "BuyerAgent"
5962
+ | "SellerAgent"
5963
+ | "TitleInsuranceAgent"
5964
+ | "EscrowAgent"
5965
+ | "SettlementAgent";
6591
5966
 
6592
- export enum ContentType {
6593
- JsonPatch = "application/json-patch+json",
6594
- Json = "application/json",
6595
- JsonApi = "application/vnd.api+json",
6596
- FormData = "multipart/form-data",
6597
- UrlEncoded = "application/x-www-form-urlencoded",
6598
- Text = "text/plain",
6599
- }
5967
+ /** @deprecated */
5968
+ export type CreateInviteRequestRelationshipEnum =
5969
+ | "NotApplicable"
5970
+ | "Spouse"
5971
+ | "NonSpouse";
6600
5972
 
6601
- export class HttpClient<SecurityDataType = unknown> {
6602
- public instance: AxiosInstance;
6603
- private securityData: SecurityDataType | null = null;
6604
- private securityWorker?: ApiConfig<SecurityDataType>["securityWorker"];
6605
- private secure?: boolean;
6606
- private format?: ResponseType;
5973
+ export type CreateLoanImportRequestImportModeEnum =
5974
+ | "All"
5975
+ | "NewOnly"
5976
+ | "UpdateOnly";
6607
5977
 
6608
- constructor({
6609
- securityWorker,
6610
- secure,
6611
- format,
6612
- ...axiosConfig
6613
- }: ApiConfig<SecurityDataType> = {}) {
6614
- this.instance = axios.create({
6615
- ...axiosConfig,
6616
- baseURL: axiosConfig.baseURL || "",
6617
- });
6618
- this.secure = secure;
6619
- this.format = format;
6620
- this.securityWorker = securityWorker;
6621
- }
5978
+ export type CreateUserDraftLoanRoleEnum =
5979
+ | "Borrower"
5980
+ | "CoBorrower"
5981
+ | "NonBorrower"
5982
+ | "LoanOfficer"
5983
+ | "LoanProcessor"
5984
+ | "LoanOfficerAssistant"
5985
+ | "SupportingLoanOfficer"
5986
+ | "BuyerAgent"
5987
+ | "SellerAgent"
5988
+ | "TitleInsuranceAgent"
5989
+ | "EscrowAgent"
5990
+ | "SettlementAgent";
6622
5991
 
6623
- public setSecurityData = (data: SecurityDataType | null) => {
6624
- this.securityData = data;
6625
- };
5992
+ export type DraftTypeEnum = "NewLoan" | "EditLoan";
6626
5993
 
6627
- protected mergeRequestParams(
6628
- params1: AxiosRequestConfig,
6629
- params2?: AxiosRequestConfig,
6630
- ): AxiosRequestConfig {
6631
- const method = params1.method || (params2 && params2.method);
5994
+ export type DraftContentTypeEnum = "NewLoan" | "EditLoan";
6632
5995
 
6633
- return {
6634
- ...this.instance.defaults,
6635
- ...params1,
6636
- ...(params2 || {}),
6637
- headers: {
6638
- ...((method &&
6639
- this.instance.defaults.headers[
6640
- method.toLowerCase() as keyof HeadersDefaults
6641
- ]) ||
6642
- {}),
6643
- ...(params1.headers || {}),
6644
- ...((params2 && params2.headers) || {}),
6645
- },
6646
- };
6647
- }
5996
+ export type EncompassRequestLogOperationTypeEnum =
5997
+ | "FieldUpdate"
5998
+ | "EConsentUpdate"
5999
+ | "DocumentSync"
6000
+ | "MilestoneUpdate"
6001
+ | "DocumentAttachment"
6002
+ | "General"
6003
+ | "FieldReader";
6648
6004
 
6649
- protected stringifyFormItem(formItem: unknown) {
6650
- if (typeof formItem === "object" && formItem !== null) {
6651
- return JSON.stringify(formItem);
6652
- } else {
6653
- return `${formItem}`;
6654
- }
6655
- }
6005
+ export type EncompassRequestLogOutcomeEnum =
6006
+ | "Success"
6007
+ | "Failure"
6008
+ | "PartialSuccess";
6656
6009
 
6657
- protected createFormData(input: Record<string, unknown>): FormData {
6658
- if (input instanceof FormData) {
6659
- return input;
6660
- }
6661
- return Object.keys(input || {}).reduce((formData, key) => {
6662
- const property = input[key];
6663
- const propertyContent: any[] =
6664
- property instanceof Array ? property : [property];
6010
+ export type FusionReportFilterFilterTypeEnum =
6011
+ | "DateGreaterThanOrEqualTo"
6012
+ | "DateGreaterThan"
6013
+ | "DateLessThan"
6014
+ | "DateLessThanOrEqualTo"
6015
+ | "DateEquals"
6016
+ | "DateDoesntEqual"
6017
+ | "DateNonEmpty"
6018
+ | "DateEmpty"
6019
+ | "StringContains"
6020
+ | "StringEquals"
6021
+ | "StringNotEmpty"
6022
+ | "StringNotEquals"
6023
+ | "StringNotContains";
6665
6024
 
6666
- for (const formItem of propertyContent) {
6667
- const isFileType = formItem instanceof Blob || formItem instanceof File;
6668
- formData.append(
6669
- key,
6670
- isFileType ? formItem : this.stringifyFormItem(formItem),
6671
- );
6672
- }
6025
+ export type IpAddressAddressFamilyEnum =
6026
+ | "Unspecified"
6027
+ | "Unix"
6028
+ | "InterNetwork"
6029
+ | "ImpLink"
6030
+ | "Pup"
6031
+ | "Chaos"
6032
+ | "NS"
6033
+ | "Ipx"
6034
+ | "Iso"
6035
+ | "Osi"
6036
+ | "Ecma"
6037
+ | "DataKit"
6038
+ | "Ccitt"
6039
+ | "Sna"
6040
+ | "DecNet"
6041
+ | "DataLink"
6042
+ | "Lat"
6043
+ | "HyperChannel"
6044
+ | "AppleTalk"
6045
+ | "NetBios"
6046
+ | "VoiceView"
6047
+ | "FireFox"
6048
+ | "Banyan"
6049
+ | "Atm"
6050
+ | "InterNetworkV6"
6051
+ | "Cluster"
6052
+ | "Ieee12844"
6053
+ | "Irda"
6054
+ | "NetworkDesigners"
6055
+ | "Max"
6056
+ | "Packet"
6057
+ | "ControllerAreaNetwork"
6058
+ | "Unknown";
6673
6059
 
6674
- return formData;
6675
- }, new FormData());
6676
- }
6060
+ export type LoanBorrowerApplicationStatusEnum = "Draft" | "Complete";
6677
6061
 
6678
- public request = async <T = any, _E = any>({
6679
- secure,
6680
- path,
6681
- type,
6682
- query,
6683
- format,
6684
- body,
6685
- ...params
6686
- }: FullRequestParams): Promise<AxiosResponse<T>> => {
6687
- const secureParams =
6688
- ((typeof secure === "boolean" ? secure : this.secure) &&
6689
- this.securityWorker &&
6690
- (await this.securityWorker(this.securityData))) ||
6691
- {};
6692
- const requestParams = this.mergeRequestParams(params, secureParams);
6693
- const responseFormat = format || this.format || undefined;
6062
+ export type LoanContactRoleEnum =
6063
+ | "Borrower"
6064
+ | "CoBorrower"
6065
+ | "NonBorrower"
6066
+ | "LoanOfficer"
6067
+ | "LoanProcessor"
6068
+ | "LoanOfficerAssistant"
6069
+ | "SupportingLoanOfficer"
6070
+ | "BuyerAgent"
6071
+ | "SellerAgent"
6072
+ | "TitleInsuranceAgent"
6073
+ | "EscrowAgent"
6074
+ | "SettlementAgent";
6694
6075
 
6695
- if (
6696
- type === ContentType.FormData &&
6697
- body &&
6698
- body !== null &&
6699
- typeof body === "object"
6700
- ) {
6701
- body = this.createFormData(body as Record<string, unknown>);
6702
- }
6076
+ export type LoanImportStatusEnum =
6077
+ | "WaitingProcess"
6078
+ | "InProgress"
6079
+ | "Completed"
6080
+ | "Failed"
6081
+ | "Cancelled";
6703
6082
 
6704
- if (
6705
- type === ContentType.Text &&
6706
- body &&
6707
- body !== null &&
6708
- typeof body !== "string"
6709
- ) {
6710
- body = JSON.stringify(body);
6711
- }
6083
+ export type LoanImportImportModeEnum = "All" | "NewOnly" | "UpdateOnly";
6712
6084
 
6713
- return this.instance.request({
6714
- ...requestParams,
6715
- headers: {
6716
- ...(requestParams.headers || {}),
6717
- ...(type ? { "Content-Type": type } : {}),
6718
- },
6719
- params: query,
6720
- responseType: responseFormat,
6721
- data: body,
6722
- url: path,
6723
- });
6724
- };
6725
- }
6085
+ export type LoanImportLogLevelEnum = "None" | "Info" | "Warning" | "Error";
6726
6086
 
6727
- /**
6728
- * @title The Big POS API
6729
- * @version v2.37.6
6730
- * @termsOfService https://www.thebigpos.com/terms-of-use/
6731
- * @contact Mortgage Automation Technologies <support@thebigpos.com> (https://www.thebigpos.com/terms-of-use/)
6732
- */
6733
- export class Api<
6734
- SecurityDataType extends unknown,
6735
- > extends HttpClient<SecurityDataType> {
6736
- /**
6737
- * No description
6738
- *
6739
- * @tags Saml
6740
- * @name PostRoot
6741
- * @request POST:/
6742
- * @secure
6743
- * @response `200` `void` Success
6744
- */
6745
- postRoot = (params: RequestParams = {}) =>
6746
- this.request<void, any>({
6747
- path: `/`,
6748
- method: "POST",
6749
- secure: true,
6750
- ...params,
6751
- });
6087
+ export type LoanLogLevelEnum = "None" | "Info" | "Warning" | "Error";
6752
6088
 
6753
- /**
6754
- * No description
6755
- *
6756
- * @tags TheBigPOS
6757
- * @name GetRoot
6758
- * @request GET:/
6759
- * @secure
6760
- * @response `200` `string` Success
6761
- */
6762
- getRoot = (params: RequestParams = {}) =>
6763
- this.request<string, any>({
6764
- path: `/`,
6765
- method: "GET",
6766
- secure: true,
6767
- ...params,
6768
- });
6089
+ export type LoanLogTypeEnum =
6090
+ | "Loan"
6091
+ | "Queue"
6092
+ | "POSFlagChanged"
6093
+ | "Verification"
6094
+ | "DocumentUploaded"
6095
+ | "LoanCreated"
6096
+ | "WorkflowSubmitted"
6097
+ | "UserInvitationSent"
6098
+ | "CoBorrowerAdded"
6099
+ | "TaskCompleted"
6100
+ | "LoanStatusChanged"
6101
+ | "EConsent"
6102
+ | "SensitiveDataPurge"
6103
+ | "ClosingDateUpdated";
6769
6104
 
6770
- api = {
6771
- /**
6772
- * No description
6773
- *
6774
- * @tags Account
6775
- * @name GetMyAccount
6776
- * @summary Get
6777
- * @request GET:/api/account
6778
- * @secure
6779
- * @response `200` `Account` Success
6780
- * @response `404` `ProblemDetails` Not Found
6781
- */
6782
- getMyAccount: (params: RequestParams = {}) =>
6783
- this.request<Account, ProblemDetails>({
6784
- path: `/api/account`,
6785
- method: "GET",
6786
- secure: true,
6787
- format: "json",
6788
- ...params,
6789
- }),
6105
+ export type LoanLogDetailLevelEnum = "None" | "Info" | "Warning" | "Error";
6790
6106
 
6791
- /**
6792
- * No description
6793
- *
6794
- * @tags Account
6795
- * @name ReplaceMyAccount
6796
- * @summary Replace
6797
- * @request PUT:/api/account
6798
- * @secure
6799
- * @response `200` `Account` Success
6800
- * @response `404` `ProblemDetails` Not Found
6801
- * @response `422` `ProblemDetails` Client Error
6802
- */
6803
- replaceMyAccount: (
6804
- data: UpdateAccountRequest,
6805
- params: RequestParams = {},
6806
- ) =>
6807
- this.request<Account, ProblemDetails>({
6808
- path: `/api/account`,
6809
- method: "PUT",
6810
- body: data,
6811
- secure: true,
6812
- type: ContentType.Json,
6813
- format: "json",
6814
- ...params,
6815
- }),
6107
+ export type LoanLogDetailTypeEnum =
6108
+ | "Loan"
6109
+ | "Queue"
6110
+ | "POSFlagChanged"
6111
+ | "Verification"
6112
+ | "DocumentUploaded"
6113
+ | "LoanCreated"
6114
+ | "WorkflowSubmitted"
6115
+ | "UserInvitationSent"
6116
+ | "CoBorrowerAdded"
6117
+ | "TaskCompleted"
6118
+ | "LoanStatusChanged"
6119
+ | "EConsent"
6120
+ | "SensitiveDataPurge"
6121
+ | "ClosingDateUpdated";
6816
6122
 
6817
- /**
6818
- * No description
6819
- *
6820
- * @tags Account
6821
- * @name GetSiteConfigurationByAccount
6822
- * @summary Get Site Configuration
6823
- * @request GET:/api/account/site-configurations
6824
- * @secure
6825
- * @response `200` `SiteConfiguration` Success
6826
- */
6827
- getSiteConfigurationByAccount: (params: RequestParams = {}) =>
6828
- this.request<SiteConfiguration, any>({
6829
- path: `/api/account/site-configurations`,
6830
- method: "GET",
6831
- secure: true,
6832
- format: "json",
6833
- ...params,
6834
- }),
6123
+ export type LoanUserLoanRoleEnum =
6124
+ | "Borrower"
6125
+ | "CoBorrower"
6126
+ | "NonBorrower"
6127
+ | "LoanOfficer"
6128
+ | "LoanProcessor"
6129
+ | "LoanOfficerAssistant"
6130
+ | "SupportingLoanOfficer"
6131
+ | "BuyerAgent"
6132
+ | "SellerAgent"
6133
+ | "TitleInsuranceAgent"
6134
+ | "EscrowAgent"
6135
+ | "SettlementAgent";
6835
6136
 
6836
- /**
6837
- * No description
6838
- *
6839
- * @tags Account
6840
- * @name UpdateSiteConfigurationForAccount
6841
- * @summary Update Site Configuration
6842
- * @request PUT:/api/account/site-configurations
6843
- * @secure
6844
- * @response `200` `SiteConfiguration` Success
6845
- * @response `422` `UnprocessableEntity` Client Error
6846
- */
6847
- updateSiteConfigurationForAccount: (
6848
- data: SiteConfiguration,
6849
- params: RequestParams = {},
6850
- ) =>
6851
- this.request<SiteConfiguration, UnprocessableEntity>({
6852
- path: `/api/account/site-configurations`,
6853
- method: "PUT",
6854
- body: data,
6855
- secure: true,
6856
- type: ContentType.Json,
6857
- format: "json",
6858
- ...params,
6859
- }),
6137
+ export type SamlMetadataRequestSsoIntegrationEnum =
6138
+ | "ConsumerConnect"
6139
+ | "TheBigPOS"
6140
+ | "POSF";
6860
6141
 
6861
- /**
6862
- * No description
6863
- *
6864
- * @tags Accounts
6865
- * @name GetAccounts
6866
- * @summary Get All
6867
- * @request GET:/api/accounts
6868
- * @secure
6869
- * @response `200` `(Account)[]` Success
6870
- */
6871
- getAccounts: (params: RequestParams = {}) =>
6872
- this.request<Account[], any>({
6873
- path: `/api/accounts`,
6874
- method: "GET",
6875
- secure: true,
6876
- format: "json",
6877
- ...params,
6878
- }),
6142
+ export type SiteConfigurationTypeEnum =
6143
+ | "None"
6144
+ | "Account"
6145
+ | "Corporate"
6146
+ | "Branch"
6147
+ | "LoanOfficer"
6148
+ | "Partner";
6879
6149
 
6880
- /**
6881
- * No description
6882
- *
6883
- * @tags Accounts
6884
- * @name CreateAccount
6885
- * @summary Create
6886
- * @request POST:/api/accounts
6887
- * @secure
6888
- * @response `201` `Account` Created
6889
- * @response `422` `ProblemDetails` Client Error
6890
- */
6891
- createAccount: (data: CreateAccountRequest, params: RequestParams = {}) =>
6892
- this.request<Account, ProblemDetails>({
6893
- path: `/api/accounts`,
6894
- method: "POST",
6895
- body: data,
6896
- secure: true,
6897
- type: ContentType.Json,
6898
- format: "json",
6899
- ...params,
6900
- }),
6150
+ export type SiteConfigurationByUrlTypeEnum =
6151
+ | "None"
6152
+ | "Account"
6153
+ | "Corporate"
6154
+ | "Branch"
6155
+ | "LoanOfficer"
6156
+ | "Partner";
6901
6157
 
6902
- /**
6903
- * No description
6904
- *
6905
- * @tags Accounts
6906
- * @name GetAccount
6907
- * @summary Get by ID
6908
- * @request GET:/api/accounts/{id}
6909
- * @secure
6910
- * @response `201` `Account` Created
6911
- * @response `422` `ProblemDetails` Client Error
6912
- */
6913
- getAccount: (id: string, params: RequestParams = {}) =>
6914
- this.request<Account, ProblemDetails>({
6915
- path: `/api/accounts/${id}`,
6916
- method: "GET",
6917
- secure: true,
6918
- format: "json",
6919
- ...params,
6920
- }),
6158
+ export type SiteConfigurationReducedTypeEnum =
6159
+ | "None"
6160
+ | "Account"
6161
+ | "Corporate"
6162
+ | "Branch"
6163
+ | "LoanOfficer"
6164
+ | "Partner";
6921
6165
 
6922
- /**
6923
- * No description
6924
- *
6925
- * @tags Accounts
6926
- * @name DeleteAccount
6927
- * @summary Delete
6928
- * @request DELETE:/api/accounts/{id}
6929
- * @secure
6930
- * @response `204` `Account` No Content
6931
- * @response `404` `ProblemDetails` Not Found
6932
- * @response `422` `ProblemDetails` Client Error
6933
- */
6934
- deleteAccount: (
6935
- id: string,
6936
- query?: {
6937
- /** @default false */
6938
- hardDelete?: boolean;
6939
- },
6940
- params: RequestParams = {},
6941
- ) =>
6942
- this.request<Account, ProblemDetails>({
6943
- path: `/api/accounts/${id}`,
6944
- method: "DELETE",
6945
- query: query,
6946
- secure: true,
6947
- format: "json",
6948
- ...params,
6949
- }),
6166
+ export type SiteConfigurationRequestTypeEnum =
6167
+ | "None"
6168
+ | "Account"
6169
+ | "Corporate"
6170
+ | "Branch"
6171
+ | "LoanOfficer"
6172
+ | "Partner";
6950
6173
 
6951
- /**
6952
- * No description
6953
- *
6954
- * @tags Accounts
6955
- * @name UpdateAccountBilling
6956
- * @summary Update billing configuration
6957
- * @request PUT:/api/accounts/{id}/billing
6958
- * @secure
6959
- * @response `200` `AccountBilling` Success
6960
- * @response `404` `ProblemDetails` Not Found
6961
- * @response `422` `ProblemDetails` Client Error
6962
- */
6963
- updateAccountBilling: (
6964
- id: string,
6965
- data: AccountBillingRequest,
6966
- params: RequestParams = {},
6967
- ) =>
6968
- this.request<AccountBilling, ProblemDetails>({
6969
- path: `/api/accounts/${id}/billing`,
6970
- method: "PUT",
6971
- body: data,
6972
- secure: true,
6973
- type: ContentType.Json,
6974
- format: "json",
6975
- ...params,
6976
- }),
6174
+ export type SiteConfigurationSummaryTypeEnum =
6175
+ | "None"
6176
+ | "Account"
6177
+ | "Corporate"
6178
+ | "Branch"
6179
+ | "LoanOfficer"
6180
+ | "Partner";
6181
+
6182
+ export type UserDraftRoleEnum =
6183
+ | "Borrower"
6184
+ | "CoBorrower"
6185
+ | "NonBorrower"
6186
+ | "LoanOfficer"
6187
+ | "LoanProcessor"
6188
+ | "LoanOfficerAssistant"
6189
+ | "SupportingLoanOfficer"
6190
+ | "BuyerAgent"
6191
+ | "SellerAgent"
6192
+ | "TitleInsuranceAgent"
6193
+ | "EscrowAgent"
6194
+ | "SettlementAgent";
6195
+
6196
+ export type UserGroupAccessScopeScopeTypeEnum = "User" | "Branch";
6197
+
6198
+ export type UserLoanRoleEnum =
6199
+ | "Borrower"
6200
+ | "CoBorrower"
6201
+ | "NonBorrower"
6202
+ | "LoanOfficer"
6203
+ | "LoanProcessor"
6204
+ | "LoanOfficerAssistant"
6205
+ | "SupportingLoanOfficer"
6206
+ | "BuyerAgent"
6207
+ | "SellerAgent"
6208
+ | "TitleInsuranceAgent"
6209
+ | "EscrowAgent"
6210
+ | "SettlementAgent";
6211
+
6212
+ export type UserLoanConsentTypeEnum =
6213
+ | "Econsent"
6214
+ | "CreditAuthorization"
6215
+ | "Tcpa";
6216
+
6217
+ export type UserLoanConsentLosSyncStatusEnum =
6218
+ | "NotStarted"
6219
+ | "Failed"
6220
+ | "Success";
6221
+
6222
+ export type UserSummaryRoleEnum =
6223
+ | "Borrower"
6224
+ | "LoanOfficer"
6225
+ | "Admin"
6226
+ | "SuperAdmin"
6227
+ | "Realtor"
6228
+ | "SettlementAgent"
6229
+ | "LoanProcessor"
6230
+ | "LoanOfficerAssistant"
6231
+ | "SystemAdmin";
6232
+
6233
+ /** @default "Realtor" */
6234
+ export type GetPartnersParamsRoleEnum =
6235
+ | "Borrower"
6236
+ | "LoanOfficer"
6237
+ | "Admin"
6238
+ | "SuperAdmin"
6239
+ | "Realtor"
6240
+ | "SettlementAgent"
6241
+ | "LoanProcessor"
6242
+ | "LoanOfficerAssistant"
6243
+ | "SystemAdmin";
6244
+
6245
+ export type GetSamlMetadataParamsSSoIntegrationEnum =
6246
+ | "ConsumerConnect"
6247
+ | "TheBigPOS"
6248
+ | "POSF";
6249
+
6250
+ export type GetSamlMetadataParamsEnum =
6251
+ | "ConsumerConnect"
6252
+ | "TheBigPOS"
6253
+ | "POSF";
6254
+
6255
+ export type CreateOrReplaceSamlMetadataParamsSSoIntegrationEnum =
6256
+ | "ConsumerConnect"
6257
+ | "TheBigPOS"
6258
+ | "POSF";
6259
+
6260
+ export type CreateOrReplaceSamlMetadataParamsEnum =
6261
+ | "ConsumerConnect"
6262
+ | "TheBigPOS"
6263
+ | "POSF";
6264
+
6265
+ import type {
6266
+ AxiosInstance,
6267
+ AxiosRequestConfig,
6268
+ AxiosResponse,
6269
+ HeadersDefaults,
6270
+ ResponseType,
6271
+ } from "axios";
6272
+ import axios from "axios";
6273
+
6274
+ export type QueryParamsType = Record<string | number, any>;
6275
+
6276
+ export interface FullRequestParams
6277
+ extends Omit<AxiosRequestConfig, "data" | "params" | "url" | "responseType"> {
6278
+ /** set parameter to `true` for call `securityWorker` for this request */
6279
+ secure?: boolean;
6280
+ /** request path */
6281
+ path: string;
6282
+ /** content type of request body */
6283
+ type?: ContentType;
6284
+ /** query params */
6285
+ query?: QueryParamsType;
6286
+ /** format of response (i.e. response.json() -> format: "json") */
6287
+ format?: ResponseType;
6288
+ /** request body */
6289
+ body?: unknown;
6290
+ }
6291
+
6292
+ export type RequestParams = Omit<
6293
+ FullRequestParams,
6294
+ "body" | "method" | "query" | "path"
6295
+ >;
6296
+
6297
+ export interface ApiConfig<SecurityDataType = unknown>
6298
+ extends Omit<AxiosRequestConfig, "data" | "cancelToken"> {
6299
+ securityWorker?: (
6300
+ securityData: SecurityDataType | null,
6301
+ ) => Promise<AxiosRequestConfig | void> | AxiosRequestConfig | void;
6302
+ secure?: boolean;
6303
+ format?: ResponseType;
6304
+ }
6305
+
6306
+ export enum ContentType {
6307
+ JsonPatch = "application/json-patch+json",
6308
+ Json = "application/json",
6309
+ JsonApi = "application/vnd.api+json",
6310
+ FormData = "multipart/form-data",
6311
+ UrlEncoded = "application/x-www-form-urlencoded",
6312
+ Text = "text/plain",
6313
+ }
6314
+
6315
+ export class HttpClient<SecurityDataType = unknown> {
6316
+ public instance: AxiosInstance;
6317
+ private securityData: SecurityDataType | null = null;
6318
+ private securityWorker?: ApiConfig<SecurityDataType>["securityWorker"];
6319
+ private secure?: boolean;
6320
+ private format?: ResponseType;
6321
+
6322
+ constructor({
6323
+ securityWorker,
6324
+ secure,
6325
+ format,
6326
+ ...axiosConfig
6327
+ }: ApiConfig<SecurityDataType> = {}) {
6328
+ this.instance = axios.create({
6329
+ ...axiosConfig,
6330
+ baseURL: axiosConfig.baseURL || "",
6331
+ });
6332
+ this.secure = secure;
6333
+ this.format = format;
6334
+ this.securityWorker = securityWorker;
6335
+ }
6977
6336
 
6978
- /**
6979
- * No description
6980
- *
6981
- * @tags AiAdmin
6982
- * @name GetAiAuditLogs
6983
- * @summary Get paginated audit logs
6984
- * @request GET:/api/ai/admin/audit-logs
6985
- * @secure
6986
- * @response `200` `AiAuditLogPaginated` Success
6987
- */
6988
- getAiAuditLogs: (
6989
- query?: {
6990
- eventType?: AiAuditEventType;
6991
- /** @format date-time */
6992
- startDate?: string;
6993
- /** @format date-time */
6994
- endDate?: string;
6995
- /** @format int32 */
6996
- pageSize?: number;
6997
- /** @format int32 */
6998
- pageNumber?: number;
6999
- sortBy?: string;
7000
- sortDirection?: string;
7001
- },
7002
- params: RequestParams = {},
7003
- ) =>
7004
- this.request<AiAuditLogPaginated, any>({
7005
- path: `/api/ai/admin/audit-logs`,
7006
- method: "GET",
7007
- query: query,
7008
- secure: true,
7009
- format: "json",
7010
- ...params,
7011
- }),
6337
+ public setSecurityData = (data: SecurityDataType | null) => {
6338
+ this.securityData = data;
6339
+ };
7012
6340
 
7013
- /**
7014
- * No description
7015
- *
7016
- * @tags AiAdmin
7017
- * @name GetAiAdminStats
7018
- * @summary Get AI admin dashboard stats
7019
- * @request GET:/api/ai/admin/stats
7020
- * @secure
7021
- * @response `200` `AiAdminStats` Success
7022
- */
7023
- getAiAdminStats: (
7024
- query?: {
7025
- /** @format date-time */
7026
- startDate?: string;
7027
- /** @format date-time */
7028
- endDate?: string;
6341
+ protected mergeRequestParams(
6342
+ params1: AxiosRequestConfig,
6343
+ params2?: AxiosRequestConfig,
6344
+ ): AxiosRequestConfig {
6345
+ const method = params1.method || (params2 && params2.method);
6346
+
6347
+ return {
6348
+ ...this.instance.defaults,
6349
+ ...params1,
6350
+ ...(params2 || {}),
6351
+ headers: {
6352
+ ...((method &&
6353
+ this.instance.defaults.headers[
6354
+ method.toLowerCase() as keyof HeadersDefaults
6355
+ ]) ||
6356
+ {}),
6357
+ ...(params1.headers || {}),
6358
+ ...((params2 && params2.headers) || {}),
7029
6359
  },
7030
- params: RequestParams = {},
7031
- ) =>
7032
- this.request<AiAdminStats, any>({
7033
- path: `/api/ai/admin/stats`,
7034
- method: "GET",
7035
- query: query,
7036
- secure: true,
7037
- format: "json",
7038
- ...params,
7039
- }),
6360
+ };
6361
+ }
7040
6362
 
7041
- /**
7042
- * No description
7043
- *
7044
- * @tags AiAdminPrompt
7045
- * @name GetAiPrompts
7046
- * @summary Get all prompts
7047
- * @request GET:/api/ai/admin/prompts
7048
- * @secure
7049
- * @response `200` `(AiPrompt)[]` Success
7050
- */
7051
- getAiPrompts: (params: RequestParams = {}) =>
7052
- this.request<AiPrompt[], any>({
7053
- path: `/api/ai/admin/prompts`,
7054
- method: "GET",
7055
- secure: true,
7056
- format: "json",
7057
- ...params,
7058
- }),
6363
+ protected stringifyFormItem(formItem: unknown) {
6364
+ if (typeof formItem === "object" && formItem !== null) {
6365
+ return JSON.stringify(formItem);
6366
+ } else {
6367
+ return `${formItem}`;
6368
+ }
6369
+ }
7059
6370
 
7060
- /**
7061
- * No description
7062
- *
7063
- * @tags AiAdminPrompt
7064
- * @name CreateAiPrompt
7065
- * @summary Create custom prompt
7066
- * @request POST:/api/ai/admin/prompts
7067
- * @secure
7068
- * @response `201` `AiPrompt` Created
7069
- * @response `400` `ProblemDetails` Bad Request
7070
- */
7071
- createAiPrompt: (data: CreateAiPromptRequest, params: RequestParams = {}) =>
7072
- this.request<AiPrompt, ProblemDetails>({
7073
- path: `/api/ai/admin/prompts`,
7074
- method: "POST",
7075
- body: data,
7076
- secure: true,
7077
- type: ContentType.Json,
7078
- format: "json",
7079
- ...params,
7080
- }),
6371
+ protected createFormData(input: Record<string, unknown>): FormData {
6372
+ if (input instanceof FormData) {
6373
+ return input;
6374
+ }
6375
+ return Object.keys(input || {}).reduce((formData, key) => {
6376
+ const property = input[key];
6377
+ const propertyContent: any[] =
6378
+ property instanceof Array ? property : [property];
7081
6379
 
7082
- /**
7083
- * No description
7084
- *
7085
- * @tags AiAdminPrompt
7086
- * @name GetAiPrompt
7087
- * @summary Get prompt by ID
7088
- * @request GET:/api/ai/admin/prompts/{id}
7089
- * @secure
7090
- * @response `200` `AiPrompt` Success
7091
- * @response `404` `ProblemDetails` Not Found
7092
- */
7093
- getAiPrompt: (id: string, params: RequestParams = {}) =>
7094
- this.request<AiPrompt, ProblemDetails>({
7095
- path: `/api/ai/admin/prompts/${id}`,
7096
- method: "GET",
7097
- secure: true,
7098
- format: "json",
7099
- ...params,
7100
- }),
6380
+ for (const formItem of propertyContent) {
6381
+ const isFileType = formItem instanceof Blob || formItem instanceof File;
6382
+ formData.append(
6383
+ key,
6384
+ isFileType ? formItem : this.stringifyFormItem(formItem),
6385
+ );
6386
+ }
7101
6387
 
7102
- /**
7103
- * No description
7104
- *
7105
- * @tags AiAdminPrompt
7106
- * @name UpdateAiPrompt
7107
- * @summary Update prompt
7108
- * @request PUT:/api/ai/admin/prompts/{id}
7109
- * @secure
7110
- * @response `200` `AiPrompt` Success
7111
- * @response `400` `ProblemDetails` Bad Request
7112
- * @response `404` `ProblemDetails` Not Found
7113
- */
7114
- updateAiPrompt: (
7115
- id: string,
7116
- data: UpdateAiPromptRequest,
7117
- params: RequestParams = {},
7118
- ) =>
7119
- this.request<AiPrompt, ProblemDetails>({
7120
- path: `/api/ai/admin/prompts/${id}`,
7121
- method: "PUT",
7122
- body: data,
7123
- secure: true,
7124
- type: ContentType.Json,
7125
- format: "json",
7126
- ...params,
7127
- }),
6388
+ return formData;
6389
+ }, new FormData());
6390
+ }
7128
6391
 
7129
- /**
7130
- * No description
7131
- *
7132
- * @tags AiAdminPrompt
7133
- * @name DeleteAiPrompt
7134
- * @summary Delete prompt
7135
- * @request DELETE:/api/ai/admin/prompts/{id}
7136
- * @secure
7137
- * @response `204` `void` No Content
7138
- * @response `400` `ProblemDetails` Bad Request
7139
- * @response `404` `ProblemDetails` Not Found
7140
- */
7141
- deleteAiPrompt: (id: string, params: RequestParams = {}) =>
7142
- this.request<void, ProblemDetails>({
7143
- path: `/api/ai/admin/prompts/${id}`,
7144
- method: "DELETE",
7145
- secure: true,
7146
- ...params,
7147
- }),
6392
+ public request = async <T = any, _E = any>({
6393
+ secure,
6394
+ path,
6395
+ type,
6396
+ query,
6397
+ format,
6398
+ body,
6399
+ ...params
6400
+ }: FullRequestParams): Promise<AxiosResponse<T>> => {
6401
+ const secureParams =
6402
+ ((typeof secure === "boolean" ? secure : this.secure) &&
6403
+ this.securityWorker &&
6404
+ (await this.securityWorker(this.securityData))) ||
6405
+ {};
6406
+ const requestParams = this.mergeRequestParams(params, secureParams);
6407
+ const responseFormat = format || this.format || undefined;
7148
6408
 
7149
- /**
7150
- * No description
7151
- *
7152
- * @tags AiAdminPrompt
7153
- * @name ToggleAiPrompt
7154
- * @summary Toggle prompt active/inactive
7155
- * @request PATCH:/api/ai/admin/prompts/{id}/toggle
7156
- * @secure
7157
- * @response `200` `AiPrompt` Success
7158
- * @response `404` `ProblemDetails` Not Found
7159
- */
7160
- toggleAiPrompt: (id: string, params: RequestParams = {}) =>
7161
- this.request<AiPrompt, ProblemDetails>({
7162
- path: `/api/ai/admin/prompts/${id}/toggle`,
7163
- method: "PATCH",
7164
- secure: true,
7165
- format: "json",
7166
- ...params,
7167
- }),
6409
+ if (
6410
+ type === ContentType.FormData &&
6411
+ body &&
6412
+ body !== null &&
6413
+ typeof body === "object"
6414
+ ) {
6415
+ body = this.createFormData(body as Record<string, unknown>);
6416
+ }
7168
6417
 
7169
- /**
7170
- * No description
7171
- *
7172
- * @tags AiAdminPrompt
7173
- * @name GenerateAiSystemPrompt
7174
- * @summary Generate a system prompt from description
7175
- * @request POST:/api/ai/admin/prompts/generate
7176
- * @secure
7177
- * @response `200` `GenerateSystemPrompt` Success
7178
- * @response `400` `ProblemDetails` Bad Request
7179
- */
7180
- generateAiSystemPrompt: (
7181
- data: GenerateSystemPromptRequest,
7182
- params: RequestParams = {},
7183
- ) =>
7184
- this.request<GenerateSystemPrompt, ProblemDetails>({
7185
- path: `/api/ai/admin/prompts/generate`,
7186
- method: "POST",
7187
- body: data,
7188
- secure: true,
7189
- type: ContentType.JsonPatch,
7190
- format: "json",
7191
- ...params,
7192
- }),
6418
+ if (
6419
+ type === ContentType.Text &&
6420
+ body &&
6421
+ body !== null &&
6422
+ typeof body !== "string"
6423
+ ) {
6424
+ body = JSON.stringify(body);
6425
+ }
7193
6426
 
7194
- /**
7195
- * No description
7196
- *
7197
- * @tags AiAdminPrompt
7198
- * @name GetSupportedModels
7199
- * @summary Get supported LLM models
7200
- * @request GET:/api/ai/admin/prompts/supported-models
7201
- * @secure
7202
- * @response `200` `(SupportedModel)[]` Success
7203
- */
7204
- getSupportedModels: (params: RequestParams = {}) =>
7205
- this.request<SupportedModel[], any>({
7206
- path: `/api/ai/admin/prompts/supported-models`,
7207
- method: "GET",
7208
- secure: true,
7209
- format: "json",
7210
- ...params,
7211
- }),
6427
+ return this.instance.request({
6428
+ ...requestParams,
6429
+ headers: {
6430
+ ...(requestParams.headers || {}),
6431
+ ...(type ? { "Content-Type": type } : {}),
6432
+ },
6433
+ params: query,
6434
+ responseType: responseFormat,
6435
+ data: body,
6436
+ url: path,
6437
+ });
6438
+ };
6439
+ }
6440
+
6441
+ /**
6442
+ * @title The Big POS API
6443
+ * @version v2.37.8
6444
+ * @termsOfService https://www.thebigpos.com/terms-of-use/
6445
+ * @contact Mortgage Automation Technologies <support@thebigpos.com> (https://www.thebigpos.com/terms-of-use/)
6446
+ */
6447
+ export class Api<
6448
+ SecurityDataType extends unknown,
6449
+ > extends HttpClient<SecurityDataType> {
6450
+ /**
6451
+ * No description
6452
+ *
6453
+ * @tags Saml
6454
+ * @name PostRoot
6455
+ * @request POST:/
6456
+ * @secure
6457
+ * @response `200` `void` Success
6458
+ */
6459
+ postRoot = (params: RequestParams = {}) =>
6460
+ this.request<void, any>({
6461
+ path: `/`,
6462
+ method: "POST",
6463
+ secure: true,
6464
+ ...params,
6465
+ });
6466
+
6467
+ /**
6468
+ * No description
6469
+ *
6470
+ * @tags TheBigPOS
6471
+ * @name GetRoot
6472
+ * @request GET:/
6473
+ * @secure
6474
+ * @response `200` `string` Success
6475
+ */
6476
+ getRoot = (params: RequestParams = {}) =>
6477
+ this.request<string, any>({
6478
+ path: `/`,
6479
+ method: "GET",
6480
+ secure: true,
6481
+ ...params,
6482
+ });
7212
6483
 
6484
+ api = {
7213
6485
  /**
7214
6486
  * No description
7215
6487
  *
7216
- * @tags AiCanonicalField
7217
- * @name GetAiCanonicalFields
7218
- * @summary Get all canonical fields
7219
- * @request GET:/api/ai/admin/fields
6488
+ * @tags Account
6489
+ * @name GetMyAccount
6490
+ * @summary Get
6491
+ * @request GET:/api/account
7220
6492
  * @secure
7221
- * @response `200` `(AiCanonicalField)[]` Success
6493
+ * @response `200` `Account` Success
6494
+ * @response `404` `ProblemDetails` Not Found
7222
6495
  */
7223
- getAiCanonicalFields: (params: RequestParams = {}) =>
7224
- this.request<AiCanonicalField[], any>({
7225
- path: `/api/ai/admin/fields`,
6496
+ getMyAccount: (params: RequestParams = {}) =>
6497
+ this.request<Account, ProblemDetails>({
6498
+ path: `/api/account`,
7226
6499
  method: "GET",
7227
6500
  secure: true,
7228
6501
  format: "json",
@@ -7232,21 +6505,22 @@ export class Api<
7232
6505
  /**
7233
6506
  * No description
7234
6507
  *
7235
- * @tags AiCanonicalField
7236
- * @name CreateAiCanonicalField
7237
- * @summary Create canonical field
7238
- * @request POST:/api/ai/admin/fields
6508
+ * @tags Account
6509
+ * @name ReplaceMyAccount
6510
+ * @summary Replace
6511
+ * @request PUT:/api/account
7239
6512
  * @secure
7240
- * @response `201` `AiCanonicalField` Created
7241
- * @response `400` `ProblemDetails` Bad Request
6513
+ * @response `200` `Account` Success
6514
+ * @response `404` `ProblemDetails` Not Found
6515
+ * @response `422` `ProblemDetails` Client Error
7242
6516
  */
7243
- createAiCanonicalField: (
7244
- data: CreateAiCanonicalFieldRequest,
6517
+ replaceMyAccount: (
6518
+ data: UpdateAccountRequest,
7245
6519
  params: RequestParams = {},
7246
6520
  ) =>
7247
- this.request<AiCanonicalField, ProblemDetails>({
7248
- path: `/api/ai/admin/fields`,
7249
- method: "POST",
6521
+ this.request<Account, ProblemDetails>({
6522
+ path: `/api/account`,
6523
+ method: "PUT",
7250
6524
  body: data,
7251
6525
  secure: true,
7252
6526
  type: ContentType.Json,
@@ -7257,17 +6531,16 @@ export class Api<
7257
6531
  /**
7258
6532
  * No description
7259
6533
  *
7260
- * @tags AiCanonicalField
7261
- * @name GetAiCanonicalField
7262
- * @summary Get canonical field by ID
7263
- * @request GET:/api/ai/admin/fields/{id}
6534
+ * @tags Account
6535
+ * @name GetSiteConfigurationByAccount
6536
+ * @summary Get Site Configuration
6537
+ * @request GET:/api/account/site-configurations
7264
6538
  * @secure
7265
- * @response `200` `AiCanonicalField` Success
7266
- * @response `404` `ProblemDetails` Not Found
6539
+ * @response `200` `SiteConfiguration` Success
7267
6540
  */
7268
- getAiCanonicalField: (id: string, params: RequestParams = {}) =>
7269
- this.request<AiCanonicalField, ProblemDetails>({
7270
- path: `/api/ai/admin/fields/${id}`,
6541
+ getSiteConfigurationByAccount: (params: RequestParams = {}) =>
6542
+ this.request<SiteConfiguration, any>({
6543
+ path: `/api/account/site-configurations`,
7271
6544
  method: "GET",
7272
6545
  secure: true,
7273
6546
  format: "json",
@@ -7277,22 +6550,20 @@ export class Api<
7277
6550
  /**
7278
6551
  * No description
7279
6552
  *
7280
- * @tags AiCanonicalField
7281
- * @name UpdateAiCanonicalField
7282
- * @summary Update canonical field
7283
- * @request PUT:/api/ai/admin/fields/{id}
6553
+ * @tags Account
6554
+ * @name UpdateSiteConfigurationForAccount
6555
+ * @summary Update Site Configuration
6556
+ * @request PUT:/api/account/site-configurations
7284
6557
  * @secure
7285
- * @response `200` `AiCanonicalField` Success
7286
- * @response `400` `ProblemDetails` Bad Request
7287
- * @response `404` `ProblemDetails` Not Found
6558
+ * @response `200` `SiteConfiguration` Success
6559
+ * @response `422` `UnprocessableEntity` Client Error
7288
6560
  */
7289
- updateAiCanonicalField: (
7290
- id: string,
7291
- data: UpdateAiCanonicalFieldRequest,
6561
+ updateSiteConfigurationForAccount: (
6562
+ data: SiteConfiguration,
7292
6563
  params: RequestParams = {},
7293
6564
  ) =>
7294
- this.request<AiCanonicalField, ProblemDetails>({
7295
- path: `/api/ai/admin/fields/${id}`,
6565
+ this.request<SiteConfiguration, UnprocessableEntity>({
6566
+ path: `/api/account/site-configurations`,
7296
6567
  method: "PUT",
7297
6568
  body: data,
7298
6569
  secure: true,
@@ -7304,37 +6575,17 @@ export class Api<
7304
6575
  /**
7305
6576
  * No description
7306
6577
  *
7307
- * @tags AiCanonicalField
7308
- * @name DeleteAiCanonicalField
7309
- * @summary Delete canonical field
7310
- * @request DELETE:/api/ai/admin/fields/{id}
7311
- * @secure
7312
- * @response `204` `void` No Content
7313
- * @response `404` `ProblemDetails` Not Found
7314
- */
7315
- deleteAiCanonicalField: (id: string, params: RequestParams = {}) =>
7316
- this.request<void, ProblemDetails>({
7317
- path: `/api/ai/admin/fields/${id}`,
7318
- method: "DELETE",
7319
- secure: true,
7320
- ...params,
7321
- }),
7322
-
7323
- /**
7324
- * No description
7325
- *
7326
- * @tags AiCanonicalField
7327
- * @name ToggleAiCanonicalField
7328
- * @summary Toggle canonical field active/inactive
7329
- * @request PATCH:/api/ai/admin/fields/{id}/toggle
6578
+ * @tags Accounts
6579
+ * @name GetAccounts
6580
+ * @summary Get All
6581
+ * @request GET:/api/accounts
7330
6582
  * @secure
7331
- * @response `200` `AiCanonicalField` Success
7332
- * @response `404` `ProblemDetails` Not Found
6583
+ * @response `200` `(Account)[]` Success
7333
6584
  */
7334
- toggleAiCanonicalField: (id: string, params: RequestParams = {}) =>
7335
- this.request<AiCanonicalField, ProblemDetails>({
7336
- path: `/api/ai/admin/fields/${id}/toggle`,
7337
- method: "PATCH",
6585
+ getAccounts: (params: RequestParams = {}) =>
6586
+ this.request<Account[], any>({
6587
+ path: `/api/accounts`,
6588
+ method: "GET",
7338
6589
  secure: true,
7339
6590
  format: "json",
7340
6591
  ...params,
@@ -7343,52 +6594,21 @@ export class Api<
7343
6594
  /**
7344
6595
  * No description
7345
6596
  *
7346
- * @tags AiChat
7347
- * @name AiChat
7348
- * @summary Send AI chat message
7349
- * @request POST:/api/ai/chat
6597
+ * @tags Accounts
6598
+ * @name CreateAccount
6599
+ * @summary Create
6600
+ * @request POST:/api/accounts
7350
6601
  * @secure
7351
- * @response `200` `AiChat` Success
7352
- * @response `400` `ProblemDetails` Bad Request
7353
- * @response `401` `ProblemDetails` Unauthorized
6602
+ * @response `201` `Account` Created
6603
+ * @response `422` `ProblemDetails` Client Error
7354
6604
  */
7355
- aiChat: (data: AiChatRequest, params: RequestParams = {}) =>
7356
- this.request<AiChat, ProblemDetails>({
7357
- path: `/api/ai/chat`,
6605
+ createAccount: (data: CreateAccountRequest, params: RequestParams = {}) =>
6606
+ this.request<Account, ProblemDetails>({
6607
+ path: `/api/accounts`,
7358
6608
  method: "POST",
7359
6609
  body: data,
7360
6610
  secure: true,
7361
- type: ContentType.JsonPatch,
7362
- format: "json",
7363
- ...params,
7364
- }),
7365
-
7366
- /**
7367
- * No description
7368
- *
7369
- * @tags AiConversation
7370
- * @name GetAiConversations
7371
- * @summary Get user conversations
7372
- * @request GET:/api/ai/conversations
7373
- * @secure
7374
- * @response `200` `AiConversationListItemPaginated` Success
7375
- */
7376
- getAiConversations: (
7377
- query?: {
7378
- /** @format int32 */
7379
- pageSize?: number;
7380
- /** @format int32 */
7381
- pageNumber?: number;
7382
- sortBy?: string;
7383
- sortDirection?: string;
7384
- },
7385
- params: RequestParams = {},
7386
- ) =>
7387
- this.request<AiConversationListItemPaginated, any>({
7388
- path: `/api/ai/conversations`,
7389
- method: "GET",
7390
- query: query,
7391
- secure: true,
6611
+ type: ContentType.Json,
7392
6612
  format: "json",
7393
6613
  ...params,
7394
6614
  }),
@@ -7396,18 +6616,17 @@ export class Api<
7396
6616
  /**
7397
6617
  * No description
7398
6618
  *
7399
- * @tags AiConversation
7400
- * @name GetAiConversation
7401
- * @summary Get conversation with messages
7402
- * @request GET:/api/ai/conversations/{id}
6619
+ * @tags Accounts
6620
+ * @name GetAccount
6621
+ * @summary Get by ID
6622
+ * @request GET:/api/accounts/{id}
7403
6623
  * @secure
7404
- * @response `200` `AiConversationDetail` Success
7405
- * @response `403` `ProblemDetails` Forbidden
7406
- * @response `404` `ProblemDetails` Not Found
6624
+ * @response `201` `Account` Created
6625
+ * @response `422` `ProblemDetails` Client Error
7407
6626
  */
7408
- getAiConversation: (id: string, params: RequestParams = {}) =>
7409
- this.request<AiConversationDetail, ProblemDetails>({
7410
- path: `/api/ai/conversations/${id}`,
6627
+ getAccount: (id: string, params: RequestParams = {}) =>
6628
+ this.request<Account, ProblemDetails>({
6629
+ path: `/api/accounts/${id}`,
7411
6630
  method: "GET",
7412
6631
  secure: true,
7413
6632
  format: "json",
@@ -7417,82 +6636,27 @@ export class Api<
7417
6636
  /**
7418
6637
  * No description
7419
6638
  *
7420
- * @tags AiConversation
7421
- * @name DeleteAiConversation
7422
- * @summary Delete conversation
7423
- * @request DELETE:/api/ai/conversations/{id}
6639
+ * @tags Accounts
6640
+ * @name DeleteAccount
6641
+ * @summary Delete
6642
+ * @request DELETE:/api/accounts/{id}
7424
6643
  * @secure
7425
- * @response `204` `void` No Content
7426
- * @response `403` `ProblemDetails` Forbidden
6644
+ * @response `204` `Account` No Content
7427
6645
  * @response `404` `ProblemDetails` Not Found
6646
+ * @response `422` `ProblemDetails` Client Error
7428
6647
  */
7429
- deleteAiConversation: (id: string, params: RequestParams = {}) =>
7430
- this.request<void, ProblemDetails>({
7431
- path: `/api/ai/conversations/${id}`,
7432
- method: "DELETE",
7433
- secure: true,
7434
- ...params,
7435
- }),
7436
-
7437
- /**
7438
- * No description
7439
- *
7440
- * @tags AiGuardrail
7441
- * @name GetAiGuardrails
7442
- * @summary Get all guardrails
7443
- * @request GET:/api/ai/admin/guardrails
7444
- * @secure
7445
- * @response `200` `(AiGuardrail)[]` Success
7446
- */
7447
- getAiGuardrails: (params: RequestParams = {}) =>
7448
- this.request<AiGuardrail[], any>({
7449
- path: `/api/ai/admin/guardrails`,
7450
- method: "GET",
7451
- secure: true,
7452
- format: "json",
7453
- ...params,
7454
- }),
7455
-
7456
- /**
7457
- * No description
7458
- *
7459
- * @tags AiGuardrail
7460
- * @name CreateAiGuardrail
7461
- * @summary Create custom guardrail
7462
- * @request POST:/api/ai/admin/guardrails
7463
- * @secure
7464
- * @response `201` `AiGuardrail` Created
7465
- * @response `400` `ProblemDetails` Bad Request
7466
- */
7467
- createAiGuardrail: (
7468
- data: CreateAiGuardrailRequest,
6648
+ deleteAccount: (
6649
+ id: string,
6650
+ query?: {
6651
+ /** @default false */
6652
+ hardDelete?: boolean;
6653
+ },
7469
6654
  params: RequestParams = {},
7470
6655
  ) =>
7471
- this.request<AiGuardrail, ProblemDetails>({
7472
- path: `/api/ai/admin/guardrails`,
7473
- method: "POST",
7474
- body: data,
7475
- secure: true,
7476
- type: ContentType.Json,
7477
- format: "json",
7478
- ...params,
7479
- }),
7480
-
7481
- /**
7482
- * No description
7483
- *
7484
- * @tags AiGuardrail
7485
- * @name GetAiGuardrail
7486
- * @summary Get guardrail by ID
7487
- * @request GET:/api/ai/admin/guardrails/{id}
7488
- * @secure
7489
- * @response `200` `AiGuardrail` Success
7490
- * @response `404` `ProblemDetails` Not Found
7491
- */
7492
- getAiGuardrail: (id: string, params: RequestParams = {}) =>
7493
- this.request<AiGuardrail, ProblemDetails>({
7494
- path: `/api/ai/admin/guardrails/${id}`,
7495
- method: "GET",
6656
+ this.request<Account, ProblemDetails>({
6657
+ path: `/api/accounts/${id}`,
6658
+ method: "DELETE",
6659
+ query: query,
7496
6660
  secure: true,
7497
6661
  format: "json",
7498
6662
  ...params,
@@ -7501,22 +6665,22 @@ export class Api<
7501
6665
  /**
7502
6666
  * No description
7503
6667
  *
7504
- * @tags AiGuardrail
7505
- * @name UpdateAiGuardrail
7506
- * @summary Update guardrail
7507
- * @request PUT:/api/ai/admin/guardrails/{id}
6668
+ * @tags Accounts
6669
+ * @name UpdateAccountBilling
6670
+ * @summary Update billing configuration
6671
+ * @request PUT:/api/accounts/{id}/billing
7508
6672
  * @secure
7509
- * @response `200` `AiGuardrail` Success
7510
- * @response `400` `ProblemDetails` Bad Request
6673
+ * @response `200` `AccountBilling` Success
7511
6674
  * @response `404` `ProblemDetails` Not Found
6675
+ * @response `422` `ProblemDetails` Client Error
7512
6676
  */
7513
- updateAiGuardrail: (
6677
+ updateAccountBilling: (
7514
6678
  id: string,
7515
- data: UpdateAiGuardrailRequest,
6679
+ data: AccountBillingRequest,
7516
6680
  params: RequestParams = {},
7517
6681
  ) =>
7518
- this.request<AiGuardrail, ProblemDetails>({
7519
- path: `/api/ai/admin/guardrails/${id}`,
6682
+ this.request<AccountBilling, ProblemDetails>({
6683
+ path: `/api/accounts/${id}/billing`,
7520
6684
  method: "PUT",
7521
6685
  body: data,
7522
6686
  secure: true,
@@ -7525,71 +6689,6 @@ export class Api<
7525
6689
  ...params,
7526
6690
  }),
7527
6691
 
7528
- /**
7529
- * No description
7530
- *
7531
- * @tags AiGuardrail
7532
- * @name DeleteAiGuardrail
7533
- * @summary Delete guardrail
7534
- * @request DELETE:/api/ai/admin/guardrails/{id}
7535
- * @secure
7536
- * @response `204` `void` No Content
7537
- * @response `400` `ProblemDetails` Bad Request
7538
- * @response `404` `ProblemDetails` Not Found
7539
- */
7540
- deleteAiGuardrail: (id: string, params: RequestParams = {}) =>
7541
- this.request<void, ProblemDetails>({
7542
- path: `/api/ai/admin/guardrails/${id}`,
7543
- method: "DELETE",
7544
- secure: true,
7545
- ...params,
7546
- }),
7547
-
7548
- /**
7549
- * No description
7550
- *
7551
- * @tags AiGuardrail
7552
- * @name ToggleAiGuardrail
7553
- * @summary Toggle guardrail enabled/disabled
7554
- * @request PATCH:/api/ai/admin/guardrails/{id}/toggle
7555
- * @secure
7556
- * @response `200` `AiGuardrail` Success
7557
- * @response `404` `ProblemDetails` Not Found
7558
- */
7559
- toggleAiGuardrail: (id: string, params: RequestParams = {}) =>
7560
- this.request<AiGuardrail, ProblemDetails>({
7561
- path: `/api/ai/admin/guardrails/${id}/toggle`,
7562
- method: "PATCH",
7563
- secure: true,
7564
- format: "json",
7565
- ...params,
7566
- }),
7567
-
7568
- /**
7569
- * No description
7570
- *
7571
- * @tags AiPrompt
7572
- * @name GetAvailablePrompts
7573
- * @summary Get available prompts for current user
7574
- * @request GET:/api/ai/prompts
7575
- * @secure
7576
- * @response `200` `(AiPromptSummary)[]` Success
7577
- */
7578
- getAvailablePrompts: (
7579
- query?: {
7580
- documentType?: string;
7581
- },
7582
- params: RequestParams = {},
7583
- ) =>
7584
- this.request<AiPromptSummary[], any>({
7585
- path: `/api/ai/prompts`,
7586
- method: "GET",
7587
- query: query,
7588
- secure: true,
7589
- format: "json",
7590
- ...params,
7591
- }),
7592
-
7593
6692
  /**
7594
6693
  * No description
7595
6694
  *
@@ -7618,7 +6717,7 @@ export class Api<
7618
6717
  query: query,
7619
6718
  body: data,
7620
6719
  secure: true,
7621
- type: ContentType.JsonPatch,
6720
+ type: ContentType.Json,
7622
6721
  format: "json",
7623
6722
  ...params,
7624
6723
  }),
@@ -8957,6 +8056,26 @@ export class Api<
8957
8056
  ...params,
8958
8057
  }),
8959
8058
 
8059
+ /**
8060
+ * No description
8061
+ *
8062
+ * @tags Encompass Recipients
8063
+ * @name GetUserRecipients
8064
+ * @request GET:/api/los/encompass/eclose/recipients
8065
+ * @secure
8066
+ * @response `200` `(EncompassRecipientItem)[]` Success
8067
+ * @response `401` `EncompassError` Unauthorized
8068
+ * @response `500` `EncompassError` Server Error
8069
+ */
8070
+ getUserRecipients: (params: RequestParams = {}) =>
8071
+ this.request<EncompassRecipientItem[], EncompassError>({
8072
+ path: `/api/los/encompass/eclose/recipients`,
8073
+ method: "GET",
8074
+ secure: true,
8075
+ format: "json",
8076
+ ...params,
8077
+ }),
8078
+
8960
8079
  /**
8961
8080
  * No description
8962
8081
  *
@@ -10652,7 +9771,7 @@ export class Api<
10652
9771
  * @summary Download By ID
10653
9772
  * @request GET:/api/loans/{loanId}/documents/{documentId}/download
10654
9773
  * @secure
10655
- * @response `200` `string` Success
9774
+ * @response `200` `Blob` Success
10656
9775
  * @response `404` `ProblemDetails` Not Found
10657
9776
  */
10658
9777
  downloadLoanDocument: (
@@ -10660,7 +9779,7 @@ export class Api<
10660
9779
  documentId: string,
10661
9780
  params: RequestParams = {},
10662
9781
  ) =>
10663
- this.request<string, ProblemDetails>({
9782
+ this.request<Blob, ProblemDetails>({
10664
9783
  path: `/api/loans/${loanId}/documents/${documentId}/download`,
10665
9784
  method: "GET",
10666
9785
  secure: true,
@@ -12715,16 +11834,7 @@ export class Api<
12715
11834
  query?: {
12716
11835
  showAll?: boolean;
12717
11836
  /** @default "Realtor" */
12718
- role?:
12719
- | "Borrower"
12720
- | "LoanOfficer"
12721
- | "Admin"
12722
- | "SuperAdmin"
12723
- | "Realtor"
12724
- | "SettlementAgent"
12725
- | "LoanProcessor"
12726
- | "LoanOfficerAssistant"
12727
- | "SystemAdmin";
11837
+ role?: GetPartnersParamsRoleEnum;
12728
11838
  /** @format int32 */
12729
11839
  pageSize?: number;
12730
11840
  /** @format int32 */
@@ -13060,7 +12170,7 @@ export class Api<
13060
12170
  * @response `404` `ProblemDetails` Not Found
13061
12171
  */
13062
12172
  getSamlMetadata: (
13063
- sSoIntegration: "ConsumerConnect" | "TheBigPOS" | "POSF",
12173
+ sSoIntegration: GetSamlMetadataParamsEnum,
13064
12174
  ssoIntegration: string,
13065
12175
  params: RequestParams = {},
13066
12176
  ) =>
@@ -13082,7 +12192,7 @@ export class Api<
13082
12192
  * @response `200` `File` Success
13083
12193
  */
13084
12194
  createOrReplaceSamlMetadata: (
13085
- sSoIntegration: "ConsumerConnect" | "TheBigPOS" | "POSF",
12195
+ sSoIntegration: CreateOrReplaceSamlMetadataParamsEnum,
13086
12196
  ssoIntegration: string,
13087
12197
  params: RequestParams = {},
13088
12198
  ) =>