@matech/thebigpos-sdk 2.43.0-aibi-1 → 2.43.1-rc.0

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
@@ -398,89 +398,6 @@ export type AuditChangeType =
398
398
  | "Deactivated"
399
399
  | "Reactivated";
400
400
 
401
- export type AiUrlSourceScope = "FullDomain" | "SpecificPath";
402
-
403
- export type AiUrlSourceCategory =
404
- | "Regulatory"
405
- | "Guidelines"
406
- | "MarketData"
407
- | "Custom";
408
-
409
- export type AiStructuredDataType =
410
- | "Table"
411
- | "DocumentAnalysis"
412
- | "DocumentList"
413
- | "GeneratedDocument";
414
-
415
- export type AiQueryTemplateName =
416
- | "PipelineSummary"
417
- | "LoanDetail"
418
- | "LoansClosing"
419
- | "StaleLoans"
420
- | "LoansByType"
421
- | "LoansByOfficer"
422
- | "AverageLoanAmount"
423
- | "LockedVsUnlocked"
424
- | "LoansByPurpose"
425
- | "LoansByPropertyState"
426
- | "LoansByRate"
427
- | "DtiLtvRisk"
428
- | "DisclosureTracking"
429
- | "NewLoans"
430
- | "ExpiringLocks"
431
- | "ClosedLoans";
432
-
433
- export type AiPromptCategory =
434
- | "DocumentAnalysis"
435
- | "DataQuery"
436
- | "General"
437
- | "Action";
438
-
439
- export type AiOutputType = "Text" | "Document";
440
-
441
- export type AiIntent =
442
- | "Greeting"
443
- | "Invalid"
444
- | "Relevant"
445
- | "LoanSpecific"
446
- | "DocumentList"
447
- | "GeneralKnowledge"
448
- | "Blocked"
449
- | "Action";
450
-
451
- export type AiGuardrailCategory =
452
- | "ContentSafety"
453
- | "PromptInjection"
454
- | "Privacy"
455
- | "Legal";
456
-
457
- export type AiDisplayHint =
458
- | "Table"
459
- | "SummaryCards"
460
- | "RankedList"
461
- | "Comparison"
462
- | "ExecutiveBrief";
463
-
464
- export type AiAuditEventType =
465
- | "Error"
466
- | "GuardrailBlockedPre"
467
- | "GuardrailPassedPre"
468
- | "IntentClassified"
469
- | "LoanResolvedFromMessage"
470
- | "DocumentNotFound"
471
- | "GuardrailBlockedPost"
472
- | "GuardrailPassedPost"
473
- | "DocumentAnalyzed"
474
- | "DocumentList"
475
- | "DocumentResolutionAmbiguous"
476
- | "ResponseGenerated"
477
- | "ParametersExtracted"
478
- | "QueryExecuted"
479
- | "LoanContextNotFound"
480
- | "LoanContextLoaded"
481
- | "GuardrailBlockedBedrock"
482
- | "PromptMatched";
483
-
484
401
  export type AddressFamily =
485
402
  | "Unspecified"
486
403
  | "Unix"
@@ -568,7 +485,7 @@ export interface AccountBilling {
568
485
  }
569
486
 
570
487
  export interface AccountBillingRequest {
571
- billingType: "ClosedLoan" | "LoanOfficer";
488
+ billingType: AccountBillingRequestBillingTypeEnum;
572
489
  /** @format double */
573
490
  contractedRate: number;
574
491
  }
@@ -601,14 +518,12 @@ export interface AccountSettings {
601
518
  smsNumber?: string | null;
602
519
  ssoHostOverride?: string | null;
603
520
  isEarlyAdopter: boolean;
604
- isAIEnabled: boolean;
605
521
  }
606
522
 
607
523
  export interface AccountSettingsRequest {
608
524
  isSmsEnabled: boolean;
609
525
  smsNumber?: string | null;
610
526
  isEarlyAdopter: boolean;
611
- isAIEnabled: boolean;
612
527
  }
613
528
 
614
529
  export interface Action {
@@ -618,7 +533,7 @@ export interface Action {
618
533
  comments?: string | null;
619
534
  /** @format uuid */
620
535
  siteConfigurationID: string;
621
- applicationSettings?: any;
536
+ applicationSettings?: any | null;
622
537
  surveysToken?: string | null;
623
538
  }
624
539
 
@@ -762,281 +677,6 @@ export interface AffordabilityCalculatorRequest {
762
677
  annualInsurance: number;
763
678
  }
764
679
 
765
- export interface AiAdminSettings {
766
- bedrockModelId: string;
767
- /** @format int32 */
768
- maxTokens: number;
769
- /** @format double */
770
- temperature: number;
771
- /** @format int32 */
772
- conversationContextTurns: number;
773
- /** @format int32 */
774
- requestTimeoutSeconds: number;
775
- bedrockRegion: string;
776
- }
777
-
778
- export interface AiAdminSettingsRequest {
779
- bedrockModelId?: string | null;
780
- /** @format int32 */
781
- maxTokens?: number | null;
782
- /** @format double */
783
- temperature?: number | null;
784
- /** @format int32 */
785
- conversationContextTurns?: number | null;
786
- /** @format int32 */
787
- requestTimeoutSeconds?: number | null;
788
- }
789
-
790
- export interface AiAdminStats {
791
- /** @format int32 */
792
- totalRequests: number;
793
- /** @format int32 */
794
- blockedRequests: number;
795
- /** @format double */
796
- averageResponseTimeMs: number;
797
- intentDistribution: Record<string, number>;
798
- topQueryTemplates: Record<string, number>;
799
- period: string;
800
- }
801
-
802
- export interface AiAuditLog {
803
- /** @format uuid */
804
- id: string;
805
- /** @format uuid */
806
- requestId: string;
807
- /** @format uuid */
808
- userId: string;
809
- eventType:
810
- | "Error"
811
- | "GuardrailBlockedPre"
812
- | "GuardrailPassedPre"
813
- | "IntentClassified"
814
- | "LoanResolvedFromMessage"
815
- | "DocumentNotFound"
816
- | "GuardrailBlockedPost"
817
- | "GuardrailPassedPost"
818
- | "DocumentAnalyzed"
819
- | "DocumentList"
820
- | "DocumentResolutionAmbiguous"
821
- | "ResponseGenerated"
822
- | "ParametersExtracted"
823
- | "QueryExecuted"
824
- | "LoanContextNotFound"
825
- | "LoanContextLoaded"
826
- | "GuardrailBlockedBedrock"
827
- | "PromptMatched";
828
- details?: any;
829
- /** @format date-time */
830
- createdAt: string;
831
- }
832
-
833
- export interface AiAuditLogPaginated {
834
- rows: AiAuditLog[];
835
- pagination: Pagination;
836
- /** @format int64 */
837
- count: number;
838
- }
839
-
840
- export interface AiCanonicalField {
841
- /** @format uuid */
842
- id: string;
843
- canonicalName: string;
844
- displayName: string;
845
- description: string;
846
- allowedRoles: string[];
847
- efPath?: string | null;
848
- isPii: boolean;
849
- isActive: boolean;
850
- dataSource: string;
851
- isDefault: boolean;
852
- category?: string | null;
853
- jsonPropertyName?: string | null;
854
- textractKey?: string | null;
855
- textractKeyAliases?: string | null;
856
- hasAccountOverride: boolean;
857
- /** @format date-time */
858
- createdAt: string;
859
- /** @format date-time */
860
- updatedAt?: string | null;
861
- }
862
-
863
- export interface AiChat {
864
- /** @format uuid */
865
- conversationId: string;
866
- /** @format uuid */
867
- messageId: string;
868
- response: AiChatBody;
869
- metadata: AiChatMetadata;
870
- }
871
-
872
- export interface AiChatBody {
873
- text: string;
874
- data?: AiChatStructuredData | null;
875
- }
876
-
877
- export interface AiChatMessage {
878
- /** @format uuid */
879
- id: string;
880
- userMessage: string;
881
- assistantResponse: string;
882
- intent?: AiIntent | null;
883
- fieldsAccessed?: string[] | null;
884
- /** @format date-time */
885
- createdAt: string;
886
- }
887
-
888
- export interface AiChatMetadata {
889
- intent:
890
- | "Greeting"
891
- | "Invalid"
892
- | "Relevant"
893
- | "LoanSpecific"
894
- | "DocumentList"
895
- | "GeneralKnowledge"
896
- | "Blocked"
897
- | "Action";
898
- fieldsAccessed: string[];
899
- /** @format int64 */
900
- queryTimeMs: number;
901
- /** @format int64 */
902
- llmTimeMs: number;
903
- wasBlocked: boolean;
904
- blockedReason?: string | null;
905
- }
906
-
907
- export interface AiChatRequest {
908
- message: string;
909
- /** @format uuid */
910
- conversationId?: string | null;
911
- /** @format uuid */
912
- loanId?: string | null;
913
- documentIds?: string[] | null;
914
- /** @format uuid */
915
- promptId?: string | null;
916
- }
917
-
918
- export interface AiChatStructuredData {
919
- type: "Table" | "DocumentAnalysis" | "DocumentList" | "GeneratedDocument";
920
- displayHint?: AiDisplayHint | null;
921
- detectedDocumentType?: string | null;
922
- columns: string[];
923
- rows: string[][];
924
- /** @format uuid */
925
- generatedDocumentId?: string | null;
926
- generatedFileName?: string | null;
927
- }
928
-
929
- export interface AiConversationDetail {
930
- /** @format uuid */
931
- id: string;
932
- /** @format date-time */
933
- createdAt: string;
934
- /** @format date-time */
935
- updatedAt?: string | null;
936
- messages: AiChatMessage[];
937
- }
938
-
939
- export interface AiConversationListItem {
940
- /** @format uuid */
941
- id: string;
942
- preview: string;
943
- /** @format int32 */
944
- messageCount: number;
945
- /** @format date-time */
946
- createdAt: string;
947
- /** @format date-time */
948
- updatedAt?: string | null;
949
- }
950
-
951
- export interface AiConversationListItemPaginated {
952
- rows: AiConversationListItem[];
953
- pagination: Pagination;
954
- /** @format int64 */
955
- count: number;
956
- }
957
-
958
- export interface AiGuardrail {
959
- /** @format uuid */
960
- id: string;
961
- name: string;
962
- category: "ContentSafety" | "PromptInjection" | "Privacy" | "Legal";
963
- description?: string | null;
964
- keywords: string[];
965
- responseTemplate: string;
966
- isDefault: boolean;
967
- isEnabled: boolean;
968
- hasAccountOverride: boolean;
969
- /** @format date-time */
970
- createdAt: string;
971
- /** @format date-time */
972
- updatedAt?: string | null;
973
- }
974
-
975
- export interface AiPrompt {
976
- /** @format uuid */
977
- id: string;
978
- title: string;
979
- slug: string;
980
- description: string;
981
- documentTypes: string[];
982
- applicableUrlSourceIds: string[];
983
- allowedRoles: string[];
984
- systemPrompt: string;
985
- /** @format int32 */
986
- sortOrder: number;
987
- isDefault: boolean;
988
- /** @format uuid */
989
- accountId?: string | null;
990
- isActive: boolean;
991
- category?: AiPromptCategory | null;
992
- queryTemplateName?: AiQueryTemplateName | null;
993
- displayHint?: AiDisplayHint | null;
994
- bedrockModelId?: string | null;
995
- requiredDataSources?: string[] | null;
996
- outputType?: AiOutputType | null;
997
- hasAccountOverride: boolean;
998
- /** @format date-time */
999
- createdAt: string;
1000
- /** @format date-time */
1001
- updatedAt?: string | null;
1002
- }
1003
-
1004
- export interface AiPromptSummary {
1005
- /** @format uuid */
1006
- id: string;
1007
- title: string;
1008
- slug: string;
1009
- description: string;
1010
- documentTypes: string[];
1011
- applicableUrlSourceIds: string[];
1012
- /** @format int32 */
1013
- sortOrder: number;
1014
- category?: AiPromptCategory | null;
1015
- queryTemplateName?: AiQueryTemplateName | null;
1016
- displayHint?: AiDisplayHint | null;
1017
- bedrockModelId?: string | null;
1018
- requiredDataSources?: string[] | null;
1019
- outputType?: AiOutputType | null;
1020
- }
1021
-
1022
- export interface AiUrlSource {
1023
- /** @format uuid */
1024
- id: string;
1025
- slug?: string | null;
1026
- name: string;
1027
- url: string;
1028
- description?: string | null;
1029
- category: "Regulatory" | "Guidelines" | "MarketData" | "Custom";
1030
- scope: "FullDomain" | "SpecificPath";
1031
- isActive: boolean;
1032
- isDefault: boolean;
1033
- hasAccountOverride: boolean;
1034
- /** @format date-time */
1035
- createdAt: string;
1036
- /** @format date-time */
1037
- updatedAt?: string | null;
1038
- }
1039
-
1040
680
  export interface AllowImpersonationRequest {
1041
681
  email: string;
1042
682
  }
@@ -1145,21 +785,14 @@ export interface AuditLogEntry {
1145
785
  /** @format uuid */
1146
786
  id: string;
1147
787
  entityType: string;
1148
- changeType:
1149
- | "Created"
1150
- | "Modified"
1151
- | "SoftDeleted"
1152
- | "HardDeleted"
1153
- | "Restored"
1154
- | "Deactivated"
1155
- | "Reactivated";
788
+ changeType: AuditLogEntryChangeTypeEnum;
1156
789
  /** @format uuid */
1157
790
  entityId: string;
1158
791
  performedBy?: AuditLogUser | null;
1159
792
  rootEntityType?: string | null;
1160
793
  /** @format uuid */
1161
794
  rootEntityId?: string | null;
1162
- changes?: any;
795
+ changes?: any | null;
1163
796
  /** @format date-time */
1164
797
  createdAt: string;
1165
798
  }
@@ -1204,24 +837,26 @@ export interface BorrowerCount {
1204
837
  firstName: string;
1205
838
  lastName: string;
1206
839
  email: string;
1207
- role:
1208
- | "Borrower"
1209
- | "CoBorrower"
1210
- | "NonBorrower"
1211
- | "LoanOfficer"
1212
- | "LoanProcessor"
1213
- | "LoanOfficerAssistant"
1214
- | "SupportingLoanOfficer"
1215
- | "BuyerAgent"
1216
- | "SellerAgent"
1217
- | "TitleInsuranceAgent"
1218
- | "EscrowAgent"
1219
- | "SettlementAgent"
1220
- | "Admin";
840
+ role: BorrowerCountRoleEnum;
1221
841
  /** @format int32 */
1222
842
  count: number;
1223
843
  }
1224
844
 
845
+ export interface BorrowerIdentity {
846
+ /** @format uuid */
847
+ userId: string;
848
+ firstName: string;
849
+ lastName: string;
850
+ email: string;
851
+ role: BorrowerIdentityRoleEnum;
852
+ }
853
+
854
+ export interface BorrowersNotUsingPosSummary {
855
+ /** @format int32 */
856
+ total: number;
857
+ borrowers: UnregisteredBorrower[];
858
+ }
859
+
1225
860
  export interface BranchBase {
1226
861
  /** @format date-time */
1227
862
  createdAt: string;
@@ -1474,7 +1109,7 @@ export interface CorporateSearchCriteria {
1474
1109
  }
1475
1110
 
1476
1111
  export interface CreateAccessScopeRequest {
1477
- scopeType: "User" | "Branch";
1112
+ scopeType: CreateAccessScopeRequestScopeTypeEnum;
1478
1113
  /** @format uuid */
1479
1114
  userId?: string | null;
1480
1115
  /** @format uuid */
@@ -1493,54 +1128,11 @@ export interface CreateAccountRequest {
1493
1128
  /** @format int64 */
1494
1129
  nlmsid: number;
1495
1130
  settings: AccountSettingsRequest;
1496
- environment: "Development" | "Staging" | "UAT" | "Production";
1131
+ environment: CreateAccountRequestEnvironmentEnum;
1497
1132
  losIntegration: LOSIntegration;
1498
1133
  billingSettings: AccountBillingRequest;
1499
1134
  }
1500
1135
 
1501
- export interface CreateAiCanonicalFieldRequest {
1502
- displayName: string;
1503
- description: string;
1504
- allowedRoles: string[];
1505
- isPii: boolean;
1506
- dataSource: string;
1507
- category?: string | null;
1508
- }
1509
-
1510
- export interface CreateAiGuardrailRequest {
1511
- name: string;
1512
- category: "ContentSafety" | "PromptInjection" | "Privacy" | "Legal";
1513
- description?: string | null;
1514
- keywords: string[];
1515
- responseTemplate: string;
1516
- }
1517
-
1518
- export interface CreateAiPromptRequest {
1519
- title: string;
1520
- slug: string;
1521
- description: string;
1522
- documentTypes: string[];
1523
- applicableUrlSourceIds: string[];
1524
- allowedRoles: string[];
1525
- systemPrompt: string;
1526
- /** @format int32 */
1527
- sortOrder: number;
1528
- category?: AiPromptCategory | null;
1529
- queryTemplateName?: AiQueryTemplateName | null;
1530
- displayHint?: AiDisplayHint | null;
1531
- bedrockModelId?: string | null;
1532
- requiredDataSources?: string[] | null;
1533
- outputType?: AiOutputType | null;
1534
- }
1535
-
1536
- export interface CreateAiUrlSourceRequest {
1537
- name: string;
1538
- url: string;
1539
- description?: string | null;
1540
- category: "Regulatory" | "Guidelines" | "MarketData" | "Custom";
1541
- scope: "FullDomain" | "SpecificPath";
1542
- }
1543
-
1544
1136
  export interface CreateBranchRequest {
1545
1137
  name: string;
1546
1138
  /** @format uuid */
@@ -1563,15 +1155,8 @@ export interface CreateCustomFieldDefinitionRequest {
1563
1155
  name: string;
1564
1156
  defaultValue?: string | null;
1565
1157
  regexPattern?: string | null;
1566
- dataType:
1567
- | "String"
1568
- | "Number"
1569
- | "Decimal"
1570
- | "Boolean"
1571
- | "Date"
1572
- | "SingleSelect"
1573
- | "MultiSelect";
1574
- entityType: "Loan";
1158
+ dataType: CreateCustomFieldDefinitionRequestDataTypeEnum;
1159
+ entityType: CreateCustomFieldDefinitionRequestEntityTypeEnum;
1575
1160
  options?: CustomFieldOptionRequest[] | null;
1576
1161
  permissions?: CustomFieldPermissionRequest[] | null;
1577
1162
  }
@@ -1588,20 +1173,7 @@ export interface CreateDocumentTemplateRequest {
1588
1173
  export interface CreateGroupMemberRequest {
1589
1174
  /** @format uuid */
1590
1175
  userId: string;
1591
- loanRole:
1592
- | "Borrower"
1593
- | "CoBorrower"
1594
- | "NonBorrower"
1595
- | "LoanOfficer"
1596
- | "LoanProcessor"
1597
- | "LoanOfficerAssistant"
1598
- | "SupportingLoanOfficer"
1599
- | "BuyerAgent"
1600
- | "SellerAgent"
1601
- | "TitleInsuranceAgent"
1602
- | "EscrowAgent"
1603
- | "SettlementAgent"
1604
- | "Admin";
1176
+ loanRole: CreateGroupMemberRequestLoanRoleEnum;
1605
1177
  }
1606
1178
 
1607
1179
  export interface CreateInviteRequest {
@@ -1610,7 +1182,7 @@ export interface CreateInviteRequest {
1610
1182
  emailAddress: string;
1611
1183
  phoneNumber?: string | null;
1612
1184
  /** @deprecated */
1613
- relationship: "NotApplicable" | "Spouse" | "NonSpouse";
1185
+ relationship: CreateInviteRequestRelationshipEnum;
1614
1186
  loanID: string;
1615
1187
  route?: string | null;
1616
1188
  /** @format uuid */
@@ -1632,7 +1204,7 @@ export interface CreateLoanImportRequest {
1632
1204
  endDate: string;
1633
1205
  /** @format date-time */
1634
1206
  startDate: string;
1635
- importMode: "All" | "NewOnly" | "UpdateOnly";
1207
+ importMode: CreateLoanImportRequestImportModeEnum;
1636
1208
  }
1637
1209
 
1638
1210
  export interface CreateSession {
@@ -1654,20 +1226,7 @@ export interface CreateUserDeviceRequest {
1654
1226
  }
1655
1227
 
1656
1228
  export interface CreateUserDraft {
1657
- loanRole:
1658
- | "Borrower"
1659
- | "CoBorrower"
1660
- | "NonBorrower"
1661
- | "LoanOfficer"
1662
- | "LoanProcessor"
1663
- | "LoanOfficerAssistant"
1664
- | "SupportingLoanOfficer"
1665
- | "BuyerAgent"
1666
- | "SellerAgent"
1667
- | "TitleInsuranceAgent"
1668
- | "EscrowAgent"
1669
- | "SettlementAgent"
1670
- | "Admin";
1229
+ loanRole: CreateUserDraftLoanRoleEnum;
1671
1230
  }
1672
1231
 
1673
1232
  export interface CreateUserGroupRequest {
@@ -1703,6 +1262,12 @@ export interface CreateWebhookRequest {
1703
1262
  webhookPath: string;
1704
1263
  }
1705
1264
 
1265
+ export interface CreditAuthPendingSummary {
1266
+ /** @format int32 */
1267
+ total: number;
1268
+ borrowers: BorrowerIdentity[];
1269
+ }
1270
+
1706
1271
  export interface CustomFieldDefinition {
1707
1272
  /** @format date-time */
1708
1273
  createdAt: string;
@@ -1729,15 +1294,8 @@ export interface CustomFieldDefinition {
1729
1294
  name: string;
1730
1295
  defaultValue?: string | null;
1731
1296
  regexPattern?: string | null;
1732
- dataType:
1733
- | "String"
1734
- | "Number"
1735
- | "Decimal"
1736
- | "Boolean"
1737
- | "Date"
1738
- | "SingleSelect"
1739
- | "MultiSelect";
1740
- entityType: "Loan";
1297
+ dataType: CustomFieldDefinitionDataTypeEnum;
1298
+ entityType: CustomFieldDefinitionEntityTypeEnum;
1741
1299
  options: CustomFieldOption[];
1742
1300
  permissions: CustomFieldPermission[];
1743
1301
  encompassMapping?: EncompassMapping | null;
@@ -1752,14 +1310,7 @@ export interface CustomFieldEntry {
1752
1310
  displayOrder: number;
1753
1311
  name: string;
1754
1312
  value: string;
1755
- dataType:
1756
- | "String"
1757
- | "Number"
1758
- | "Decimal"
1759
- | "Boolean"
1760
- | "Date"
1761
- | "SingleSelect"
1762
- | "MultiSelect";
1313
+ dataType: CustomFieldEntryDataTypeEnum;
1763
1314
  }
1764
1315
 
1765
1316
  export interface CustomFieldOption {
@@ -1779,31 +1330,13 @@ export interface CustomFieldOptionRequest {
1779
1330
  export interface CustomFieldPermission {
1780
1331
  /** @format uuid */
1781
1332
  id: string;
1782
- role:
1783
- | "Borrower"
1784
- | "LoanOfficer"
1785
- | "Admin"
1786
- | "SuperAdmin"
1787
- | "Realtor"
1788
- | "SettlementAgent"
1789
- | "LoanProcessor"
1790
- | "LoanOfficerAssistant"
1791
- | "SystemAdmin";
1792
- accessLevel: "NoAccess" | "ReadOnly" | "ReadWrite";
1333
+ role: CustomFieldPermissionRoleEnum;
1334
+ accessLevel: CustomFieldPermissionAccessLevelEnum;
1793
1335
  }
1794
1336
 
1795
1337
  export interface CustomFieldPermissionRequest {
1796
- role:
1797
- | "Borrower"
1798
- | "LoanOfficer"
1799
- | "Admin"
1800
- | "SuperAdmin"
1801
- | "Realtor"
1802
- | "SettlementAgent"
1803
- | "LoanProcessor"
1804
- | "LoanOfficerAssistant"
1805
- | "SystemAdmin";
1806
- accessLevel: "NoAccess" | "ReadOnly" | "ReadWrite";
1338
+ role: CustomFieldPermissionRequestRoleEnum;
1339
+ accessLevel: CustomFieldPermissionRequestAccessLevelEnum;
1807
1340
  }
1808
1341
 
1809
1342
  export interface CustomFieldValue {
@@ -1815,14 +1348,7 @@ export interface CustomFieldValue {
1815
1348
  customFieldDefinitionID: string;
1816
1349
  value: string;
1817
1350
  definitionName: string;
1818
- dataType:
1819
- | "String"
1820
- | "Number"
1821
- | "Decimal"
1822
- | "Boolean"
1823
- | "Date"
1824
- | "SingleSelect"
1825
- | "MultiSelect";
1351
+ dataType: CustomFieldValueDataTypeEnum;
1826
1352
  }
1827
1353
 
1828
1354
  export interface DetailedUser {
@@ -2079,7 +1605,7 @@ export interface Draft {
2079
1605
  siteConfiguration: SiteConfigurationReduced;
2080
1606
  /** @format uuid */
2081
1607
  loanID?: string | null;
2082
- type: "NewLoan" | "EditLoan";
1608
+ type: DraftTypeEnum;
2083
1609
  isCoBorrower: boolean;
2084
1610
  }
2085
1611
 
@@ -2098,7 +1624,7 @@ export interface DraftContent {
2098
1624
  siteConfiguration: SiteConfigurationReduced;
2099
1625
  /** @format uuid */
2100
1626
  loanID?: string | null;
2101
- type: "NewLoan" | "EditLoan";
1627
+ type: DraftContentTypeEnum;
2102
1628
  isCoBorrower: boolean;
2103
1629
  applicationPayload: any;
2104
1630
  }
@@ -2117,10 +1643,16 @@ export interface DraftLoanOfficerReassignRequest {
2117
1643
 
2118
1644
  export interface DraftRequest {
2119
1645
  applicationPayload: any;
2120
- customData?: any;
1646
+ customData?: any | null;
2121
1647
  isCoBorrower: boolean;
2122
1648
  }
2123
1649
 
1650
+ export interface EconsentPendingSummary {
1651
+ /** @format int32 */
1652
+ total: number;
1653
+ borrowers: BorrowerIdentity[];
1654
+ }
1655
+
2124
1656
  export interface EnabledServices {
2125
1657
  /** @format date-time */
2126
1658
  createdAt: string;
@@ -2189,9 +1721,9 @@ export interface EncompassCredentialsDetail {
2189
1721
  clearStateIfUnlicensed: boolean;
2190
1722
  /** @deprecated */
2191
1723
  baseUrl?: string | null;
2192
- encompassEnvironment: "Production" | "UAT";
1724
+ encompassEnvironment: EncompassCredentialsDetailEncompassEnvironmentEnum;
2193
1725
  consumerConnectWidgetHost?: string | null;
2194
- signingMethod: "ConsumerConnect" | "POSF";
1726
+ signingMethod: EncompassCredentialsDetailSigningMethodEnum;
2195
1727
  subscriptionId?: string | null;
2196
1728
  environment?: string | null;
2197
1729
  }
@@ -2208,9 +1740,9 @@ export interface EncompassCredentialsRequest {
2208
1740
  clearStateIfUnlicensed: boolean;
2209
1741
  /** @deprecated */
2210
1742
  baseUrl?: string | null;
2211
- encompassEnvironment: "Production" | "UAT";
1743
+ encompassEnvironment: EncompassCredentialsRequestEncompassEnvironmentEnum;
2212
1744
  consumerConnectWidgetHost?: string | null;
2213
- signingMethod: "ConsumerConnect" | "POSF";
1745
+ signingMethod: EncompassCredentialsRequestSigningMethodEnum;
2214
1746
  subscriptionId?: string | null;
2215
1747
  environment?: string | null;
2216
1748
  clientID?: string | null;
@@ -2331,15 +1863,8 @@ export interface EncompassRequestLog {
2331
1863
  losId?: string | null;
2332
1864
  /** @format uuid */
2333
1865
  accountId: string;
2334
- operationType:
2335
- | "FieldUpdate"
2336
- | "ConsentUpdate"
2337
- | "DocumentSync"
2338
- | "MilestoneUpdate"
2339
- | "DocumentAttachment"
2340
- | "General"
2341
- | "FieldReader";
2342
- outcome: "Success" | "Failure" | "PartialSuccess";
1866
+ operationType: EncompassRequestLogOperationTypeEnum;
1867
+ outcome: EncompassRequestLogOutcomeEnum;
2343
1868
  message: string;
2344
1869
  endpoint?: string | null;
2345
1870
  httpMethod?: string | null;
@@ -2347,7 +1872,7 @@ export interface EncompassRequestLog {
2347
1872
  httpStatusCode?: number | null;
2348
1873
  /** @format int64 */
2349
1874
  durationMs?: number | null;
2350
- context?: any;
1875
+ context?: any | null;
2351
1876
  /** @format date-time */
2352
1877
  createdAt: string;
2353
1878
  }
@@ -2393,7 +1918,7 @@ export interface FileSearchCriteria {
2393
1918
  export interface FileWithBytes {
2394
1919
  name: string;
2395
1920
  /** @format byte */
2396
- data: string;
1921
+ data: Blob;
2397
1922
  fileName: string;
2398
1923
  mimeType?: string | null;
2399
1924
  extension?: string | null;
@@ -2472,7 +1997,7 @@ export interface FormSubmission {
2472
1997
  subjectPropertyAddressCounty?: string | null;
2473
1998
  subjectPropertyAddressState?: string | null;
2474
1999
  subjectPropertyAddressZip?: string | null;
2475
- data?: any;
2000
+ data?: any | null;
2476
2001
  /** @format uuid */
2477
2002
  listingID?: string | null;
2478
2003
  listing?: Listing | null;
@@ -2510,7 +2035,7 @@ export interface FormSubmissionRequest {
2510
2035
  subjectPropertyAddressCounty?: string | null;
2511
2036
  subjectPropertyAddressState?: string | null;
2512
2037
  subjectPropertyAddressZip?: string | null;
2513
- data?: any;
2038
+ data?: any | null;
2514
2039
  /** @format uuid */
2515
2040
  listingID?: string | null;
2516
2041
  }
@@ -2565,20 +2090,7 @@ export interface FusionFieldDisplay {
2565
2090
  }
2566
2091
 
2567
2092
  export interface FusionReportFilter {
2568
- filterType:
2569
- | "DateGreaterThanOrEqualTo"
2570
- | "DateGreaterThan"
2571
- | "DateLessThan"
2572
- | "DateLessThanOrEqualTo"
2573
- | "DateEquals"
2574
- | "DateDoesntEqual"
2575
- | "DateNonEmpty"
2576
- | "DateEmpty"
2577
- | "StringContains"
2578
- | "StringEquals"
2579
- | "StringNotEmpty"
2580
- | "StringNotEquals"
2581
- | "StringNotContains";
2093
+ filterType: FusionReportFilterFilterTypeEnum;
2582
2094
  targetField: string;
2583
2095
  targetValue: string;
2584
2096
  }
@@ -2597,15 +2109,6 @@ export interface GenerateDocumentRequest {
2597
2109
  recipients: string[];
2598
2110
  }
2599
2111
 
2600
- export interface GenerateSystemPrompt {
2601
- systemPrompt: string;
2602
- }
2603
-
2604
- export interface GenerateSystemPromptRequest {
2605
- description: string;
2606
- category: "DocumentAnalysis" | "DataQuery" | "General" | "Action";
2607
- }
2608
-
2609
2112
  export interface GetApplications {
2610
2113
  applications: ApplicationRowData[];
2611
2114
  }
@@ -2699,45 +2202,12 @@ export interface GetWorkflowRequest {
2699
2202
  export interface GuidPatchOperation {
2700
2203
  op: string;
2701
2204
  path: string;
2702
- value?: any;
2205
+ value?: any | null;
2703
2206
  from?: string | null;
2704
2207
  }
2705
2208
 
2706
2209
  export interface IPAddress {
2707
- addressFamily:
2708
- | "Unspecified"
2709
- | "Unix"
2710
- | "InterNetwork"
2711
- | "ImpLink"
2712
- | "Pup"
2713
- | "Chaos"
2714
- | "NS"
2715
- | "Ipx"
2716
- | "Iso"
2717
- | "Osi"
2718
- | "Ecma"
2719
- | "DataKit"
2720
- | "Ccitt"
2721
- | "Sna"
2722
- | "DecNet"
2723
- | "DataLink"
2724
- | "Lat"
2725
- | "HyperChannel"
2726
- | "AppleTalk"
2727
- | "NetBios"
2728
- | "VoiceView"
2729
- | "FireFox"
2730
- | "Banyan"
2731
- | "Atm"
2732
- | "InterNetworkV6"
2733
- | "Cluster"
2734
- | "Ieee12844"
2735
- | "Irda"
2736
- | "NetworkDesigners"
2737
- | "Max"
2738
- | "Packet"
2739
- | "ControllerAreaNetwork"
2740
- | "Unknown";
2210
+ addressFamily: IpAddressAddressFamilyEnum;
2741
2211
  /** @format int64 */
2742
2212
  scopeId: number;
2743
2213
  isIPv6Multicast: boolean;
@@ -2996,7 +2466,7 @@ export interface Loan {
2996
2466
  userLoans: UserLoan[];
2997
2467
  contacts: LoanContact[];
2998
2468
  customFields: CustomFieldEntry[];
2999
- signingMethod: "ConsumerConnect" | "POSF";
2469
+ signingMethod: LoanSigningMethodEnum;
3000
2470
  }
3001
2471
 
3002
2472
  export interface LoanApplication {
@@ -3034,7 +2504,7 @@ export interface LoanApplicationRequest {
3034
2504
  nonOwningBorrowers: LoanNonOwningBorrowerRequest[];
3035
2505
  /** @format uuid */
3036
2506
  draftId?: string | null;
3037
- additionalFields?: Record<string, any>;
2507
+ additionalFields?: Record<string, any> | null;
3038
2508
  /** @format uuid */
3039
2509
  existingLoanId?: string | null;
3040
2510
  }
@@ -3054,7 +2524,7 @@ export interface LoanBorrower {
3054
2524
  citizenship?: LoanCitizenship | null;
3055
2525
  maritalStatus?: LoanMaritalStatus | null;
3056
2526
  languagePreference?: LoanLanguagePreference | null;
3057
- applicationStatus: "Draft" | "Complete";
2527
+ applicationStatus: LoanBorrowerApplicationStatusEnum;
3058
2528
  /** @format int32 */
3059
2529
  numberOfDependents?: number | null;
3060
2530
  isPrimaryBorrower: boolean;
@@ -3823,7 +3293,7 @@ export interface LoanConsentRequest {
3823
3293
  borrowerEConsent?: boolean | null;
3824
3294
  borrowerCreditAuth?: boolean | null;
3825
3295
  borrowerTCPAOptIn?: boolean | null;
3826
- additionalFields?: Record<string, string>;
3296
+ additionalFields?: Record<string, string> | null;
3827
3297
  }
3828
3298
 
3829
3299
  export interface LoanContact {
@@ -3842,20 +3312,7 @@ export interface LoanContact {
3842
3312
  email?: string | null;
3843
3313
  phone?: string | null;
3844
3314
  companyName?: string | null;
3845
- role:
3846
- | "Borrower"
3847
- | "CoBorrower"
3848
- | "NonBorrower"
3849
- | "LoanOfficer"
3850
- | "LoanProcessor"
3851
- | "LoanOfficerAssistant"
3852
- | "SupportingLoanOfficer"
3853
- | "BuyerAgent"
3854
- | "SellerAgent"
3855
- | "TitleInsuranceAgent"
3856
- | "EscrowAgent"
3857
- | "SettlementAgent"
3858
- | "Admin";
3315
+ role: LoanContactRoleEnum;
3859
3316
  }
3860
3317
 
3861
3318
  export interface LoanContactList {
@@ -3863,7 +3320,7 @@ export interface LoanContactList {
3863
3320
  }
3864
3321
 
3865
3322
  export interface LoanCustomFieldsRequest {
3866
- additionalFields?: Record<string, string>;
3323
+ additionalFields?: Record<string, string> | null;
3867
3324
  }
3868
3325
 
3869
3326
  export interface LoanDocument {
@@ -3909,39 +3366,13 @@ export interface LoanDocumentFolderPermission {
3909
3366
  id: string;
3910
3367
  /** @format uuid */
3911
3368
  loanDocumentFolderID: string;
3912
- role:
3913
- | "Borrower"
3914
- | "CoBorrower"
3915
- | "NonBorrower"
3916
- | "LoanOfficer"
3917
- | "LoanProcessor"
3918
- | "LoanOfficerAssistant"
3919
- | "SupportingLoanOfficer"
3920
- | "BuyerAgent"
3921
- | "SellerAgent"
3922
- | "TitleInsuranceAgent"
3923
- | "EscrowAgent"
3924
- | "SettlementAgent"
3925
- | "Admin";
3926
- level: "None" | "Read" | "Write" | "Manage";
3369
+ role: LoanDocumentFolderPermissionRoleEnum;
3370
+ level: LoanDocumentFolderPermissionLevelEnum;
3927
3371
  }
3928
3372
 
3929
3373
  export interface LoanDocumentFolderPermissionRequest {
3930
- role:
3931
- | "Borrower"
3932
- | "CoBorrower"
3933
- | "NonBorrower"
3934
- | "LoanOfficer"
3935
- | "LoanProcessor"
3936
- | "LoanOfficerAssistant"
3937
- | "SupportingLoanOfficer"
3938
- | "BuyerAgent"
3939
- | "SellerAgent"
3940
- | "TitleInsuranceAgent"
3941
- | "EscrowAgent"
3942
- | "SettlementAgent"
3943
- | "Admin";
3944
- level: "None" | "Read" | "Write" | "Manage";
3374
+ role: LoanDocumentFolderPermissionRequestRoleEnum;
3375
+ level: LoanDocumentFolderPermissionRequestLevelEnum;
3945
3376
  }
3946
3377
 
3947
3378
  export interface LoanDocumentFolderUsage {
@@ -4050,19 +3481,14 @@ export interface LoanImport {
4050
3481
  /** @format int32 */
4051
3482
  importedCount: number;
4052
3483
  statusMessage?: string | null;
4053
- status:
4054
- | "WaitingProcess"
4055
- | "InProgress"
4056
- | "Completed"
4057
- | "Failed"
4058
- | "Cancelled";
4059
- importMode: "All" | "NewOnly" | "UpdateOnly";
3484
+ status: LoanImportStatusEnum;
3485
+ importMode: LoanImportImportModeEnum;
4060
3486
  /** @format date-time */
4061
3487
  createdAt?: string | null;
4062
3488
  }
4063
3489
 
4064
3490
  export interface LoanImportLog {
4065
- level: "None" | "Info" | "Warning" | "Error";
3491
+ level: LoanImportLogLevelEnum;
4066
3492
  message: string;
4067
3493
  /** @format date-time */
4068
3494
  createdAt: string;
@@ -4123,24 +3549,8 @@ export interface LoanListPaginated {
4123
3549
  export interface LoanLog {
4124
3550
  /** @format uuid */
4125
3551
  id: string;
4126
- level: "None" | "Info" | "Warning" | "Error";
4127
- type:
4128
- | "Loan"
4129
- | "Queue"
4130
- | "POSFlagChanged"
4131
- | "Verification"
4132
- | "DocumentUploaded"
4133
- | "LoanCreated"
4134
- | "WorkflowSubmitted"
4135
- | "UserInvitationSent"
4136
- | "CoBorrowerAdded"
4137
- | "TaskCompleted"
4138
- | "LoanStatusChanged"
4139
- | "Consent"
4140
- | "SensitiveDataPurge"
4141
- | "ClosingDateUpdated"
4142
- | "ConsumerConnectAssociation"
4143
- | "TaskReminderSent";
3552
+ level: LoanLogLevelEnum;
3553
+ type: LoanLogTypeEnum;
4144
3554
  message: string;
4145
3555
  /** @format date-time */
4146
3556
  createdAt: string;
@@ -4149,24 +3559,8 @@ export interface LoanLog {
4149
3559
  export interface LoanLogDetail {
4150
3560
  /** @format uuid */
4151
3561
  id: string;
4152
- level: "None" | "Info" | "Warning" | "Error";
4153
- type:
4154
- | "Loan"
4155
- | "Queue"
4156
- | "POSFlagChanged"
4157
- | "Verification"
4158
- | "DocumentUploaded"
4159
- | "LoanCreated"
4160
- | "WorkflowSubmitted"
4161
- | "UserInvitationSent"
4162
- | "CoBorrowerAdded"
4163
- | "TaskCompleted"
4164
- | "LoanStatusChanged"
4165
- | "Consent"
4166
- | "SensitiveDataPurge"
4167
- | "ClosingDateUpdated"
4168
- | "ConsumerConnectAssociation"
4169
- | "TaskReminderSent";
3562
+ level: LoanLogDetailLevelEnum;
3563
+ type: LoanLogDetailTypeEnum;
4170
3564
  message: string;
4171
3565
  /** @format date-time */
4172
3566
  createdAt: string;
@@ -4247,6 +3641,10 @@ export interface LoanOutstandingItems {
4247
3641
  pendingSignaturePackages: number;
4248
3642
  pendingTasks: PendingTasksSummary;
4249
3643
  pendingSignatures: PendingSignaturesSummary;
3644
+ pendingInvites: PendingInvitesSummary;
3645
+ creditAuthPending: CreditAuthPendingSummary;
3646
+ econsentPending: EconsentPendingSummary;
3647
+ borrowersNotUsingPos: BorrowersNotUsingPosSummary;
4250
3648
  }
4251
3649
 
4252
3650
  export interface LoanPatchRequestGuidPatchDocument {
@@ -4388,7 +3786,7 @@ export interface LoanQueueWithData {
4388
3786
  user: UserPublic;
4389
3787
  loanOfficer: LoanOfficerPublic;
4390
3788
  siteConfiguration: SiteConfigurationReduced;
4391
- data?: any;
3789
+ data?: any | null;
4392
3790
  }
4393
3791
 
4394
3792
  export interface LoanRecord {
@@ -4424,7 +3822,7 @@ export interface LoanTaskSearchRequest {
4424
3822
  }
4425
3823
 
4426
3824
  export interface LoanTaskStatusSummary {
4427
- status: "Outstanding" | "Pending" | "Completed" | "Rejected" | "Unknown";
3825
+ status: LoanTaskStatusSummaryStatusEnum;
4428
3826
  /** @format int32 */
4429
3827
  count: number;
4430
3828
  }
@@ -4437,20 +3835,7 @@ export interface LoanUser {
4437
3835
  email: string;
4438
3836
  phone?: string | null;
4439
3837
  role: string;
4440
- loanRole:
4441
- | "Borrower"
4442
- | "CoBorrower"
4443
- | "NonBorrower"
4444
- | "LoanOfficer"
4445
- | "LoanProcessor"
4446
- | "LoanOfficerAssistant"
4447
- | "SupportingLoanOfficer"
4448
- | "BuyerAgent"
4449
- | "SellerAgent"
4450
- | "TitleInsuranceAgent"
4451
- | "EscrowAgent"
4452
- | "SettlementAgent"
4453
- | "Admin";
3838
+ loanRole: LoanUserLoanRoleEnum;
4454
3839
  isUser: boolean;
4455
3840
  /** @format date-time */
4456
3841
  createdAt: string;
@@ -4486,13 +3871,7 @@ export interface LosOperationTracking {
4486
3871
  operationType: string;
4487
3872
  correlationKey: string;
4488
3873
  lastTriggerSource?: string | null;
4489
- status:
4490
- | "Pending"
4491
- | "Success"
4492
- | "Failed"
4493
- | "ConfigurationError"
4494
- | "PermanentFailure"
4495
- | "Locked";
3874
+ status: LosOperationTrackingStatusEnum;
4496
3875
  /** @format date-time */
4497
3876
  createdAt: string;
4498
3877
  /** @format date-time */
@@ -4559,7 +3938,7 @@ export interface LosSyncStep {
4559
3938
  /** @format int32 */
4560
3939
  order: number;
4561
3940
  name: string;
4562
- severity: "Success" | "Info" | "Warning" | "Error";
3941
+ severity: LosSyncStepSeverityEnum;
4563
3942
  message: string;
4564
3943
  /** @format date-time */
4565
3944
  atUtc: string;
@@ -4658,7 +4037,7 @@ export interface ModuleParameterValue {
4658
4037
  parameterID: string;
4659
4038
  parameterName: string;
4660
4039
  parameterType: string;
4661
- value?: any;
4040
+ value?: any | null;
4662
4041
  isInherited: boolean;
4663
4042
  }
4664
4043
 
@@ -4844,7 +4223,7 @@ export interface NotificationTemplateVersionUpdateRequest {
4844
4223
 
4845
4224
  export interface Operation {
4846
4225
  op?: string;
4847
- value?: string | number | boolean | null | object;
4226
+ value?: object | null;
4848
4227
  path?: string;
4849
4228
  }
4850
4229
 
@@ -4866,6 +4245,25 @@ export interface PartnerSearchCriteria {
4866
4245
  roles?: UserRole[] | null;
4867
4246
  }
4868
4247
 
4248
+ export interface PendingInvite {
4249
+ /** @format uuid */
4250
+ inviteId: string;
4251
+ firstName: string;
4252
+ lastName: string;
4253
+ email: string;
4254
+ phoneNumber?: string | null;
4255
+ role?: LoanRole | null;
4256
+ /** @format date-time */
4257
+ createdAt: string;
4258
+ url: string;
4259
+ }
4260
+
4261
+ export interface PendingInvitesSummary {
4262
+ /** @format int32 */
4263
+ total: number;
4264
+ invites: PendingInvite[];
4265
+ }
4266
+
4869
4267
  export interface PendingSignaturesSummary {
4870
4268
  /** @format int32 */
4871
4269
  total: number;
@@ -5168,7 +4566,7 @@ export interface SiteConfiguration {
5168
4566
  deletedAt?: string | null;
5169
4567
  /** @format uuid */
5170
4568
  id: string;
5171
- type: "None" | "Account" | "Corporate" | "Branch" | "LoanOfficer" | "Partner";
4569
+ type: SiteConfigurationTypeEnum;
5172
4570
  /** @format uuid */
5173
4571
  entityID: string;
5174
4572
  /** @format int32 */
@@ -5362,7 +4760,7 @@ export interface SiteConfigurationByUrl {
5362
4760
  deletedAt?: string | null;
5363
4761
  /** @format uuid */
5364
4762
  id: string;
5365
- type: "None" | "Account" | "Corporate" | "Branch" | "LoanOfficer" | "Partner";
4763
+ type: SiteConfigurationByUrlTypeEnum;
5366
4764
  /** @format uuid */
5367
4765
  entityID: string;
5368
4766
  /** @format int32 */
@@ -5574,7 +4972,7 @@ export interface SiteConfigurationForm {
5574
4972
  export interface SiteConfigurationReduced {
5575
4973
  /** @format uuid */
5576
4974
  id: string;
5577
- type: "None" | "Account" | "Corporate" | "Branch" | "LoanOfficer" | "Partner";
4975
+ type: SiteConfigurationReducedTypeEnum;
5578
4976
  url?: string | null;
5579
4977
  name: string;
5580
4978
  /** @format int64 */
@@ -5592,7 +4990,7 @@ export interface SiteConfigurationRequest {
5592
4990
  entityID: string;
5593
4991
  /** @format int32 */
5594
4992
  entityType: number;
5595
- type: "None" | "Account" | "Corporate" | "Branch" | "LoanOfficer" | "Partner";
4993
+ type: SiteConfigurationRequestTypeEnum;
5596
4994
  url: string;
5597
4995
  name: string;
5598
4996
  introduction?: string | null;
@@ -5769,7 +5167,7 @@ export interface SiteConfigurationSearchCriteria {
5769
5167
  export interface SiteConfigurationSummary {
5770
5168
  /** @format uuid */
5771
5169
  id: string;
5772
- type: "None" | "Account" | "Corporate" | "Branch" | "LoanOfficer" | "Partner";
5170
+ type: SiteConfigurationSummaryTypeEnum;
5773
5171
  url?: string | null;
5774
5172
  name: string;
5775
5173
  /** @format int64 */
@@ -5817,14 +5215,6 @@ export interface SocialSurveyRecord {
5817
5215
  reviewCompletedTimeStamp?: string | null;
5818
5216
  }
5819
5217
 
5820
- export interface SupportedModel {
5821
- modelId: string;
5822
- displayName: string;
5823
- provider: string;
5824
- description?: string | null;
5825
- isDefault: boolean;
5826
- }
5827
-
5828
5218
  export interface SurveyEmailRequest {
5829
5219
  loanOfficerEmailAddress: string;
5830
5220
  }
@@ -6053,6 +5443,16 @@ export interface UnprocessableEntityError {
6053
5443
  property: string;
6054
5444
  }
6055
5445
 
5446
+ export interface UnregisteredBorrower {
5447
+ /** @format uuid */
5448
+ contactId: string;
5449
+ firstName?: string | null;
5450
+ lastName?: string | null;
5451
+ fullName?: string | null;
5452
+ email?: string | null;
5453
+ role: UnregisteredBorrowerRoleEnum;
5454
+ }
5455
+
6056
5456
  export interface UpdateAccountRequest {
6057
5457
  name: string;
6058
5458
  mfaPreference: string;
@@ -6063,46 +5463,6 @@ export interface UpdateAccountRequest {
6063
5463
  settings: AccountSettingsRequest;
6064
5464
  }
6065
5465
 
6066
- export interface UpdateAiCanonicalFieldRequest {
6067
- displayName: string;
6068
- description: string;
6069
- allowedRoles: string[];
6070
- isPii: boolean;
6071
- }
6072
-
6073
- export interface UpdateAiGuardrailRequest {
6074
- name: string;
6075
- category: "ContentSafety" | "PromptInjection" | "Privacy" | "Legal";
6076
- description?: string | null;
6077
- keywords: string[];
6078
- responseTemplate: string;
6079
- }
6080
-
6081
- export interface UpdateAiPromptRequest {
6082
- title: string;
6083
- description: string;
6084
- documentTypes: string[];
6085
- applicableUrlSourceIds: string[];
6086
- allowedRoles: string[];
6087
- systemPrompt: string;
6088
- /** @format int32 */
6089
- sortOrder: number;
6090
- category?: AiPromptCategory | null;
6091
- queryTemplateName?: AiQueryTemplateName | null;
6092
- displayHint?: AiDisplayHint | null;
6093
- bedrockModelId?: string | null;
6094
- requiredDataSources?: string[] | null;
6095
- outputType?: AiOutputType | null;
6096
- }
6097
-
6098
- export interface UpdateAiUrlSourceRequest {
6099
- name: string;
6100
- url: string;
6101
- description?: string | null;
6102
- category: "Regulatory" | "Guidelines" | "MarketData" | "Custom";
6103
- scope: "FullDomain" | "SpecificPath";
6104
- }
6105
-
6106
5466
  export interface UpdateCustomFieldDefinitionRequest {
6107
5467
  isRequired: boolean;
6108
5468
  /** @format int32 */
@@ -6412,20 +5772,7 @@ export interface UserDevice {
6412
5772
  export interface UserDraft {
6413
5773
  /** @format uuid */
6414
5774
  draftID: string;
6415
- role:
6416
- | "Borrower"
6417
- | "CoBorrower"
6418
- | "NonBorrower"
6419
- | "LoanOfficer"
6420
- | "LoanProcessor"
6421
- | "LoanOfficerAssistant"
6422
- | "SupportingLoanOfficer"
6423
- | "BuyerAgent"
6424
- | "SellerAgent"
6425
- | "TitleInsuranceAgent"
6426
- | "EscrowAgent"
6427
- | "SettlementAgent"
6428
- | "Admin";
5775
+ role: UserDraftRoleEnum;
6429
5776
  user: User;
6430
5777
  }
6431
5778
 
@@ -6452,7 +5799,7 @@ export interface UserGroupAccessScope {
6452
5799
  id: string;
6453
5800
  /** @format uuid */
6454
5801
  groupId: string;
6455
- scopeType: "User" | "Branch";
5802
+ scopeType: UserGroupAccessScopeScopeTypeEnum;
6456
5803
  /** @format uuid */
6457
5804
  userId?: string | null;
6458
5805
  /** @format uuid */
@@ -6488,20 +5835,7 @@ export interface UserLoan {
6488
5835
  deletedAt?: string | null;
6489
5836
  loanID: string;
6490
5837
  user: User;
6491
- role:
6492
- | "Borrower"
6493
- | "CoBorrower"
6494
- | "NonBorrower"
6495
- | "LoanOfficer"
6496
- | "LoanProcessor"
6497
- | "LoanOfficerAssistant"
6498
- | "SupportingLoanOfficer"
6499
- | "BuyerAgent"
6500
- | "SellerAgent"
6501
- | "TitleInsuranceAgent"
6502
- | "EscrowAgent"
6503
- | "SettlementAgent"
6504
- | "Admin";
5838
+ role: UserLoanRoleEnum;
6505
5839
  /** @format int32 */
6506
5840
  borrowerPair?: number | null;
6507
5841
  /** @format int32 */
@@ -6514,11 +5848,11 @@ export interface UserLoanConsent {
6514
5848
  id: string;
6515
5849
  /** @format uuid */
6516
5850
  userLoanID: string;
6517
- type: "Econsent" | "CreditAuthorization" | "Tcpa";
5851
+ type: UserLoanConsentTypeEnum;
6518
5852
  providedConsent: boolean;
6519
5853
  source?: ConsentSource | null;
6520
5854
  ipAddress?: string | null;
6521
- losSyncStatus: "NotStarted" | "Failed" | "Success";
5855
+ losSyncStatus: UserLoanConsentLosSyncStatusEnum;
6522
5856
  /** @format date-time */
6523
5857
  createdAt: string;
6524
5858
  /** @format date-time */
@@ -6662,16 +5996,7 @@ export interface UserSummary {
6662
5996
  id: string;
6663
5997
  name?: string | null;
6664
5998
  email?: string | null;
6665
- role:
6666
- | "Borrower"
6667
- | "LoanOfficer"
6668
- | "Admin"
6669
- | "SuperAdmin"
6670
- | "Realtor"
6671
- | "SettlementAgent"
6672
- | "LoanProcessor"
6673
- | "LoanOfficerAssistant"
6674
- | "SystemAdmin";
5999
+ role: UserSummaryRoleEnum;
6675
6000
  }
6676
6001
 
6677
6002
  export interface VerifyPasswordRequest {
@@ -6701,996 +6026,770 @@ export interface Workflow {
6701
6026
  icon: string;
6702
6027
  }
6703
6028
 
6704
- import type {
6705
- AxiosInstance,
6706
- AxiosRequestConfig,
6707
- AxiosResponse,
6708
- HeadersDefaults,
6709
- ResponseType,
6710
- } from "axios";
6711
- import axios from "axios";
6029
+ export type AccountBillingRequestBillingTypeEnum = "ClosedLoan" | "LoanOfficer";
6712
6030
 
6713
- export type QueryParamsType = Record<string | number, any>;
6031
+ export type AuditLogEntryChangeTypeEnum =
6032
+ | "Created"
6033
+ | "Modified"
6034
+ | "SoftDeleted"
6035
+ | "HardDeleted"
6036
+ | "Restored"
6037
+ | "Deactivated"
6038
+ | "Reactivated";
6714
6039
 
6715
- export interface FullRequestParams
6716
- extends Omit<AxiosRequestConfig, "data" | "params" | "url" | "responseType"> {
6717
- /** set parameter to `true` for call `securityWorker` for this request */
6718
- secure?: boolean;
6719
- /** request path */
6720
- path: string;
6721
- /** content type of request body */
6722
- type?: ContentType;
6723
- /** query params */
6724
- query?: QueryParamsType;
6725
- /** format of response (i.e. response.json() -> format: "json") */
6726
- format?: ResponseType;
6727
- /** request body */
6728
- body?: unknown;
6729
- }
6040
+ export type BorrowerCountRoleEnum =
6041
+ | "Borrower"
6042
+ | "CoBorrower"
6043
+ | "NonBorrower"
6044
+ | "LoanOfficer"
6045
+ | "LoanProcessor"
6046
+ | "LoanOfficerAssistant"
6047
+ | "SupportingLoanOfficer"
6048
+ | "BuyerAgent"
6049
+ | "SellerAgent"
6050
+ | "TitleInsuranceAgent"
6051
+ | "EscrowAgent"
6052
+ | "SettlementAgent"
6053
+ | "Admin";
6730
6054
 
6731
- export type RequestParams = Omit<
6732
- FullRequestParams,
6733
- "body" | "method" | "query" | "path"
6734
- >;
6055
+ export type BorrowerIdentityRoleEnum =
6056
+ | "Borrower"
6057
+ | "CoBorrower"
6058
+ | "NonBorrower"
6059
+ | "LoanOfficer"
6060
+ | "LoanProcessor"
6061
+ | "LoanOfficerAssistant"
6062
+ | "SupportingLoanOfficer"
6063
+ | "BuyerAgent"
6064
+ | "SellerAgent"
6065
+ | "TitleInsuranceAgent"
6066
+ | "EscrowAgent"
6067
+ | "SettlementAgent"
6068
+ | "Admin";
6735
6069
 
6736
- export interface ApiConfig<SecurityDataType = unknown>
6737
- extends Omit<AxiosRequestConfig, "data" | "cancelToken"> {
6738
- securityWorker?: (
6739
- securityData: SecurityDataType | null,
6740
- ) => Promise<AxiosRequestConfig | void> | AxiosRequestConfig | void;
6741
- secure?: boolean;
6742
- format?: ResponseType;
6743
- }
6070
+ export type CreateAccessScopeRequestScopeTypeEnum = "User" | "Branch";
6744
6071
 
6745
- export enum ContentType {
6746
- JsonPatch = "application/json-patch+json",
6747
- Json = "application/json",
6748
- JsonApi = "application/vnd.api+json",
6749
- FormData = "multipart/form-data",
6750
- UrlEncoded = "application/x-www-form-urlencoded",
6751
- Text = "text/plain",
6752
- }
6072
+ export type CreateAccountRequestEnvironmentEnum =
6073
+ | "Development"
6074
+ | "Staging"
6075
+ | "UAT"
6076
+ | "Production";
6753
6077
 
6754
- export class HttpClient<SecurityDataType = unknown> {
6755
- public instance: AxiosInstance;
6756
- private securityData: SecurityDataType | null = null;
6757
- private securityWorker?: ApiConfig<SecurityDataType>["securityWorker"];
6758
- private secure?: boolean;
6759
- private format?: ResponseType;
6078
+ export type CreateCustomFieldDefinitionRequestDataTypeEnum =
6079
+ | "String"
6080
+ | "Number"
6081
+ | "Decimal"
6082
+ | "Boolean"
6083
+ | "Date"
6084
+ | "SingleSelect"
6085
+ | "MultiSelect";
6760
6086
 
6761
- constructor({
6762
- securityWorker,
6763
- secure,
6764
- format,
6765
- ...axiosConfig
6766
- }: ApiConfig<SecurityDataType> = {}) {
6767
- this.instance = axios.create({
6768
- ...axiosConfig,
6769
- baseURL: axiosConfig.baseURL || "",
6770
- });
6771
- this.secure = secure;
6772
- this.format = format;
6773
- this.securityWorker = securityWorker;
6774
- }
6087
+ export type CreateCustomFieldDefinitionRequestEntityTypeEnum = "Loan";
6775
6088
 
6776
- public setSecurityData = (data: SecurityDataType | null) => {
6777
- this.securityData = data;
6778
- };
6089
+ export type CreateGroupMemberRequestLoanRoleEnum =
6090
+ | "Borrower"
6091
+ | "CoBorrower"
6092
+ | "NonBorrower"
6093
+ | "LoanOfficer"
6094
+ | "LoanProcessor"
6095
+ | "LoanOfficerAssistant"
6096
+ | "SupportingLoanOfficer"
6097
+ | "BuyerAgent"
6098
+ | "SellerAgent"
6099
+ | "TitleInsuranceAgent"
6100
+ | "EscrowAgent"
6101
+ | "SettlementAgent"
6102
+ | "Admin";
6779
6103
 
6780
- protected mergeRequestParams(
6781
- params1: AxiosRequestConfig,
6782
- params2?: AxiosRequestConfig,
6783
- ): AxiosRequestConfig {
6784
- const method = params1.method || (params2 && params2.method);
6104
+ /** @deprecated */
6105
+ export type CreateInviteRequestRelationshipEnum =
6106
+ | "NotApplicable"
6107
+ | "Spouse"
6108
+ | "NonSpouse";
6785
6109
 
6786
- return {
6787
- ...this.instance.defaults,
6788
- ...params1,
6789
- ...(params2 || {}),
6790
- headers: {
6791
- ...((method &&
6792
- this.instance.defaults.headers[
6793
- method.toLowerCase() as keyof HeadersDefaults
6794
- ]) ||
6795
- {}),
6796
- ...(params1.headers || {}),
6797
- ...((params2 && params2.headers) || {}),
6798
- },
6799
- };
6800
- }
6110
+ export type CreateLoanImportRequestImportModeEnum =
6111
+ | "All"
6112
+ | "NewOnly"
6113
+ | "UpdateOnly";
6801
6114
 
6802
- protected stringifyFormItem(formItem: unknown) {
6803
- if (typeof formItem === "object" && formItem !== null) {
6804
- return JSON.stringify(formItem);
6805
- } else {
6806
- return `${formItem}`;
6807
- }
6808
- }
6115
+ export type CreateUserDraftLoanRoleEnum =
6116
+ | "Borrower"
6117
+ | "CoBorrower"
6118
+ | "NonBorrower"
6119
+ | "LoanOfficer"
6120
+ | "LoanProcessor"
6121
+ | "LoanOfficerAssistant"
6122
+ | "SupportingLoanOfficer"
6123
+ | "BuyerAgent"
6124
+ | "SellerAgent"
6125
+ | "TitleInsuranceAgent"
6126
+ | "EscrowAgent"
6127
+ | "SettlementAgent"
6128
+ | "Admin";
6809
6129
 
6810
- protected createFormData(input: Record<string, unknown>): FormData {
6811
- if (input instanceof FormData) {
6812
- return input;
6813
- }
6814
- return Object.keys(input || {}).reduce((formData, key) => {
6815
- const property = input[key];
6816
- const propertyContent: any[] =
6817
- property instanceof Array ? property : [property];
6130
+ export type CustomFieldDefinitionDataTypeEnum =
6131
+ | "String"
6132
+ | "Number"
6133
+ | "Decimal"
6134
+ | "Boolean"
6135
+ | "Date"
6136
+ | "SingleSelect"
6137
+ | "MultiSelect";
6818
6138
 
6819
- for (const formItem of propertyContent) {
6820
- const isFileType = formItem instanceof Blob || formItem instanceof File;
6821
- formData.append(
6822
- key,
6823
- isFileType ? formItem : this.stringifyFormItem(formItem),
6824
- );
6825
- }
6139
+ export type CustomFieldDefinitionEntityTypeEnum = "Loan";
6826
6140
 
6827
- return formData;
6828
- }, new FormData());
6829
- }
6141
+ export type CustomFieldEntryDataTypeEnum =
6142
+ | "String"
6143
+ | "Number"
6144
+ | "Decimal"
6145
+ | "Boolean"
6146
+ | "Date"
6147
+ | "SingleSelect"
6148
+ | "MultiSelect";
6830
6149
 
6831
- public request = async <T = any, _E = any>({
6832
- secure,
6833
- path,
6834
- type,
6835
- query,
6836
- format,
6837
- body,
6838
- ...params
6839
- }: FullRequestParams): Promise<AxiosResponse<T>> => {
6840
- const secureParams =
6841
- ((typeof secure === "boolean" ? secure : this.secure) &&
6842
- this.securityWorker &&
6843
- (await this.securityWorker(this.securityData))) ||
6844
- {};
6845
- const requestParams = this.mergeRequestParams(params, secureParams);
6846
- const responseFormat = format || this.format || undefined;
6150
+ export type CustomFieldPermissionRoleEnum =
6151
+ | "Borrower"
6152
+ | "LoanOfficer"
6153
+ | "Admin"
6154
+ | "SuperAdmin"
6155
+ | "Realtor"
6156
+ | "SettlementAgent"
6157
+ | "LoanProcessor"
6158
+ | "LoanOfficerAssistant"
6159
+ | "SystemAdmin";
6847
6160
 
6848
- if (
6849
- type === ContentType.FormData &&
6850
- body &&
6851
- body !== null &&
6852
- typeof body === "object"
6853
- ) {
6854
- body = this.createFormData(body as Record<string, unknown>);
6855
- }
6161
+ export type CustomFieldPermissionAccessLevelEnum =
6162
+ | "NoAccess"
6163
+ | "ReadOnly"
6164
+ | "ReadWrite";
6856
6165
 
6857
- if (
6858
- type === ContentType.Text &&
6859
- body &&
6860
- body !== null &&
6861
- typeof body !== "string"
6862
- ) {
6863
- body = JSON.stringify(body);
6864
- }
6166
+ export type CustomFieldPermissionRequestRoleEnum =
6167
+ | "Borrower"
6168
+ | "LoanOfficer"
6169
+ | "Admin"
6170
+ | "SuperAdmin"
6171
+ | "Realtor"
6172
+ | "SettlementAgent"
6173
+ | "LoanProcessor"
6174
+ | "LoanOfficerAssistant"
6175
+ | "SystemAdmin";
6865
6176
 
6866
- return this.instance.request({
6867
- ...requestParams,
6868
- headers: {
6869
- ...(requestParams.headers || {}),
6870
- ...(type ? { "Content-Type": type } : {}),
6871
- },
6872
- params: query,
6873
- responseType: responseFormat,
6874
- data: body,
6875
- url: path,
6876
- });
6877
- };
6878
- }
6177
+ export type CustomFieldPermissionRequestAccessLevelEnum =
6178
+ | "NoAccess"
6179
+ | "ReadOnly"
6180
+ | "ReadWrite";
6879
6181
 
6880
- /**
6881
- * @title The Big POS API
6882
- * @version v2.43.0
6883
- * @termsOfService https://www.thebigpos.com/terms-of-use/
6884
- * @contact Mortgage Automation Technologies <support@thebigpos.com> (https://www.thebigpos.com/terms-of-use/)
6885
- */
6886
- export class Api<
6887
- SecurityDataType extends unknown,
6888
- > extends HttpClient<SecurityDataType> {
6889
- /**
6890
- * No description
6891
- *
6892
- * @tags Saml
6893
- * @name PostRoot
6894
- * @request POST:/
6895
- * @secure
6896
- * @response `200` `void` OK
6897
- */
6898
- postRoot = (params: RequestParams = {}) =>
6899
- this.request<void, any>({
6900
- path: `/`,
6901
- method: "POST",
6902
- secure: true,
6903
- ...params,
6904
- });
6182
+ export type CustomFieldValueDataTypeEnum =
6183
+ | "String"
6184
+ | "Number"
6185
+ | "Decimal"
6186
+ | "Boolean"
6187
+ | "Date"
6188
+ | "SingleSelect"
6189
+ | "MultiSelect";
6905
6190
 
6906
- /**
6907
- * No description
6908
- *
6909
- * @tags TheBigPOS
6910
- * @name GetRoot
6911
- * @request GET:/
6912
- * @secure
6913
- * @response `200` `string` OK
6914
- */
6915
- getRoot = (params: RequestParams = {}) =>
6916
- this.request<string, any>({
6917
- path: `/`,
6918
- method: "GET",
6919
- secure: true,
6920
- ...params,
6921
- });
6191
+ export type DraftTypeEnum = "NewLoan" | "EditLoan";
6922
6192
 
6923
- api = {
6924
- /**
6925
- * No description
6926
- *
6927
- * @tags Account
6928
- * @name GetMyAccount
6929
- * @summary Get
6930
- * @request GET:/api/account
6931
- * @secure
6932
- * @response `200` `Account` OK
6933
- * @response `404` `ProblemDetails` Not Found
6934
- */
6935
- getMyAccount: (params: RequestParams = {}) =>
6936
- this.request<Account, ProblemDetails>({
6937
- path: `/api/account`,
6938
- method: "GET",
6939
- secure: true,
6940
- format: "json",
6941
- ...params,
6942
- }),
6193
+ export type DraftContentTypeEnum = "NewLoan" | "EditLoan";
6943
6194
 
6944
- /**
6945
- * No description
6946
- *
6947
- * @tags Account
6948
- * @name ReplaceMyAccount
6949
- * @summary Replace
6950
- * @request PUT:/api/account
6951
- * @secure
6952
- * @response `200` `Account` OK
6953
- * @response `404` `ProblemDetails` Not Found
6954
- * @response `422` `ProblemDetails` Unprocessable Content
6955
- */
6956
- replaceMyAccount: (
6957
- data: UpdateAccountRequest,
6958
- params: RequestParams = {},
6959
- ) =>
6960
- this.request<Account, ProblemDetails>({
6961
- path: `/api/account`,
6962
- method: "PUT",
6963
- body: data,
6964
- secure: true,
6965
- type: ContentType.Json,
6966
- format: "json",
6967
- ...params,
6968
- }),
6195
+ export type EncompassCredentialsDetailEncompassEnvironmentEnum =
6196
+ | "Production"
6197
+ | "UAT";
6969
6198
 
6970
- /**
6971
- * No description
6972
- *
6973
- * @tags Account
6974
- * @name GetSiteConfigurationByAccount
6975
- * @summary Get Site Configuration
6976
- * @request GET:/api/account/site-configurations
6977
- * @secure
6978
- * @response `200` `SiteConfiguration` OK
6979
- */
6980
- getSiteConfigurationByAccount: (params: RequestParams = {}) =>
6981
- this.request<SiteConfiguration, any>({
6982
- path: `/api/account/site-configurations`,
6983
- method: "GET",
6984
- secure: true,
6985
- format: "json",
6986
- ...params,
6987
- }),
6199
+ export type EncompassCredentialsDetailSigningMethodEnum =
6200
+ | "ConsumerConnect"
6201
+ | "POSF";
6988
6202
 
6989
- /**
6990
- * No description
6991
- *
6992
- * @tags Account
6993
- * @name UpdateSiteConfigurationForAccount
6994
- * @summary Update Site Configuration
6995
- * @request PUT:/api/account/site-configurations
6996
- * @secure
6997
- * @response `200` `SiteConfiguration` OK
6998
- * @response `422` `UnprocessableEntity` Unprocessable Content
6999
- */
7000
- updateSiteConfigurationForAccount: (
7001
- data: SiteConfiguration,
7002
- params: RequestParams = {},
7003
- ) =>
7004
- this.request<SiteConfiguration, UnprocessableEntity>({
7005
- path: `/api/account/site-configurations`,
7006
- method: "PUT",
7007
- body: data,
7008
- secure: true,
7009
- type: ContentType.Json,
7010
- format: "json",
7011
- ...params,
7012
- }),
6203
+ export type EncompassCredentialsRequestEncompassEnvironmentEnum =
6204
+ | "Production"
6205
+ | "UAT";
7013
6206
 
7014
- /**
7015
- * No description
7016
- *
7017
- * @tags AccountReactivation
7018
- * @name RequestAccountReactivation
7019
- * @summary Request account reactivation
7020
- * @request POST:/api/account/reactivation/request
7021
- * @secure
7022
- * @response `204` `void` No Content
7023
- */
7024
- requestAccountReactivation: (
7025
- data: AccountReactivationRequest,
7026
- params: RequestParams = {},
7027
- ) =>
7028
- this.request<void, any>({
7029
- path: `/api/account/reactivation/request`,
7030
- method: "POST",
7031
- body: data,
7032
- secure: true,
7033
- type: ContentType.Json,
7034
- ...params,
7035
- }),
6207
+ export type EncompassCredentialsRequestSigningMethodEnum =
6208
+ | "ConsumerConnect"
6209
+ | "POSF";
7036
6210
 
7037
- /**
7038
- * No description
7039
- *
7040
- * @tags AccountReactivation
7041
- * @name CompleteAccountReactivation
7042
- * @summary Complete account reactivation with new password
7043
- * @request POST:/api/account/reactivation/complete
7044
- * @secure
7045
- * @response `204` `void` No Content
7046
- * @response `400` `ProblemDetails` Bad Request
7047
- */
7048
- completeAccountReactivation: (
7049
- data: AccountReactivationCompleteRequest,
7050
- params: RequestParams = {},
7051
- ) =>
7052
- this.request<void, ProblemDetails>({
7053
- path: `/api/account/reactivation/complete`,
7054
- method: "POST",
7055
- body: data,
7056
- secure: true,
7057
- type: ContentType.Json,
7058
- ...params,
7059
- }),
6211
+ export type EncompassRequestLogOperationTypeEnum =
6212
+ | "FieldUpdate"
6213
+ | "ConsentUpdate"
6214
+ | "DocumentSync"
6215
+ | "MilestoneUpdate"
6216
+ | "DocumentAttachment"
6217
+ | "General"
6218
+ | "FieldReader";
7060
6219
 
7061
- /**
7062
- * No description
7063
- *
7064
- * @tags Accounts
7065
- * @name GetAccounts
7066
- * @summary Get All
7067
- * @request GET:/api/accounts
7068
- * @secure
7069
- * @response `200` `(Account)[]` OK
7070
- */
7071
- getAccounts: (params: RequestParams = {}) =>
7072
- this.request<Account[], any>({
7073
- path: `/api/accounts`,
7074
- method: "GET",
7075
- secure: true,
7076
- format: "json",
7077
- ...params,
7078
- }),
6220
+ export type EncompassRequestLogOutcomeEnum =
6221
+ | "Success"
6222
+ | "Failure"
6223
+ | "PartialSuccess";
6224
+
6225
+ export type FusionReportFilterFilterTypeEnum =
6226
+ | "DateGreaterThanOrEqualTo"
6227
+ | "DateGreaterThan"
6228
+ | "DateLessThan"
6229
+ | "DateLessThanOrEqualTo"
6230
+ | "DateEquals"
6231
+ | "DateDoesntEqual"
6232
+ | "DateNonEmpty"
6233
+ | "DateEmpty"
6234
+ | "StringContains"
6235
+ | "StringEquals"
6236
+ | "StringNotEmpty"
6237
+ | "StringNotEquals"
6238
+ | "StringNotContains";
6239
+
6240
+ export type IpAddressAddressFamilyEnum =
6241
+ | "Unspecified"
6242
+ | "Unix"
6243
+ | "InterNetwork"
6244
+ | "ImpLink"
6245
+ | "Pup"
6246
+ | "Chaos"
6247
+ | "NS"
6248
+ | "Ipx"
6249
+ | "Iso"
6250
+ | "Osi"
6251
+ | "Ecma"
6252
+ | "DataKit"
6253
+ | "Ccitt"
6254
+ | "Sna"
6255
+ | "DecNet"
6256
+ | "DataLink"
6257
+ | "Lat"
6258
+ | "HyperChannel"
6259
+ | "AppleTalk"
6260
+ | "NetBios"
6261
+ | "VoiceView"
6262
+ | "FireFox"
6263
+ | "Banyan"
6264
+ | "Atm"
6265
+ | "InterNetworkV6"
6266
+ | "Cluster"
6267
+ | "Ieee12844"
6268
+ | "Irda"
6269
+ | "NetworkDesigners"
6270
+ | "Max"
6271
+ | "Packet"
6272
+ | "ControllerAreaNetwork"
6273
+ | "Unknown";
6274
+
6275
+ export type LoanSigningMethodEnum = "ConsumerConnect" | "POSF";
6276
+
6277
+ export type LoanBorrowerApplicationStatusEnum = "Draft" | "Complete";
6278
+
6279
+ export type LoanContactRoleEnum =
6280
+ | "Borrower"
6281
+ | "CoBorrower"
6282
+ | "NonBorrower"
6283
+ | "LoanOfficer"
6284
+ | "LoanProcessor"
6285
+ | "LoanOfficerAssistant"
6286
+ | "SupportingLoanOfficer"
6287
+ | "BuyerAgent"
6288
+ | "SellerAgent"
6289
+ | "TitleInsuranceAgent"
6290
+ | "EscrowAgent"
6291
+ | "SettlementAgent"
6292
+ | "Admin";
6293
+
6294
+ export type LoanDocumentFolderPermissionRoleEnum =
6295
+ | "Borrower"
6296
+ | "CoBorrower"
6297
+ | "NonBorrower"
6298
+ | "LoanOfficer"
6299
+ | "LoanProcessor"
6300
+ | "LoanOfficerAssistant"
6301
+ | "SupportingLoanOfficer"
6302
+ | "BuyerAgent"
6303
+ | "SellerAgent"
6304
+ | "TitleInsuranceAgent"
6305
+ | "EscrowAgent"
6306
+ | "SettlementAgent"
6307
+ | "Admin";
6308
+
6309
+ export type LoanDocumentFolderPermissionLevelEnum =
6310
+ | "None"
6311
+ | "Read"
6312
+ | "Write"
6313
+ | "Manage";
6314
+
6315
+ export type LoanDocumentFolderPermissionRequestRoleEnum =
6316
+ | "Borrower"
6317
+ | "CoBorrower"
6318
+ | "NonBorrower"
6319
+ | "LoanOfficer"
6320
+ | "LoanProcessor"
6321
+ | "LoanOfficerAssistant"
6322
+ | "SupportingLoanOfficer"
6323
+ | "BuyerAgent"
6324
+ | "SellerAgent"
6325
+ | "TitleInsuranceAgent"
6326
+ | "EscrowAgent"
6327
+ | "SettlementAgent"
6328
+ | "Admin";
6329
+
6330
+ export type LoanDocumentFolderPermissionRequestLevelEnum =
6331
+ | "None"
6332
+ | "Read"
6333
+ | "Write"
6334
+ | "Manage";
6335
+
6336
+ export type LoanImportStatusEnum =
6337
+ | "WaitingProcess"
6338
+ | "InProgress"
6339
+ | "Completed"
6340
+ | "Failed"
6341
+ | "Cancelled";
6342
+
6343
+ export type LoanImportImportModeEnum = "All" | "NewOnly" | "UpdateOnly";
6344
+
6345
+ export type LoanImportLogLevelEnum = "None" | "Info" | "Warning" | "Error";
6346
+
6347
+ export type LoanLogLevelEnum = "None" | "Info" | "Warning" | "Error";
6348
+
6349
+ export type LoanLogTypeEnum =
6350
+ | "Loan"
6351
+ | "Queue"
6352
+ | "POSFlagChanged"
6353
+ | "Verification"
6354
+ | "DocumentUploaded"
6355
+ | "LoanCreated"
6356
+ | "WorkflowSubmitted"
6357
+ | "UserInvitationSent"
6358
+ | "CoBorrowerAdded"
6359
+ | "TaskCompleted"
6360
+ | "LoanStatusChanged"
6361
+ | "Consent"
6362
+ | "SensitiveDataPurge"
6363
+ | "ClosingDateUpdated"
6364
+ | "ConsumerConnectAssociation"
6365
+ | "TaskReminderSent";
6366
+
6367
+ export type LoanLogDetailLevelEnum = "None" | "Info" | "Warning" | "Error";
6368
+
6369
+ export type LoanLogDetailTypeEnum =
6370
+ | "Loan"
6371
+ | "Queue"
6372
+ | "POSFlagChanged"
6373
+ | "Verification"
6374
+ | "DocumentUploaded"
6375
+ | "LoanCreated"
6376
+ | "WorkflowSubmitted"
6377
+ | "UserInvitationSent"
6378
+ | "CoBorrowerAdded"
6379
+ | "TaskCompleted"
6380
+ | "LoanStatusChanged"
6381
+ | "Consent"
6382
+ | "SensitiveDataPurge"
6383
+ | "ClosingDateUpdated"
6384
+ | "ConsumerConnectAssociation"
6385
+ | "TaskReminderSent";
6386
+
6387
+ export type LoanTaskStatusSummaryStatusEnum =
6388
+ | "Outstanding"
6389
+ | "Pending"
6390
+ | "Completed"
6391
+ | "Rejected"
6392
+ | "Unknown";
6393
+
6394
+ export type LoanUserLoanRoleEnum =
6395
+ | "Borrower"
6396
+ | "CoBorrower"
6397
+ | "NonBorrower"
6398
+ | "LoanOfficer"
6399
+ | "LoanProcessor"
6400
+ | "LoanOfficerAssistant"
6401
+ | "SupportingLoanOfficer"
6402
+ | "BuyerAgent"
6403
+ | "SellerAgent"
6404
+ | "TitleInsuranceAgent"
6405
+ | "EscrowAgent"
6406
+ | "SettlementAgent"
6407
+ | "Admin";
6408
+
6409
+ export type LosOperationTrackingStatusEnum =
6410
+ | "Pending"
6411
+ | "Success"
6412
+ | "Failed"
6413
+ | "ConfigurationError"
6414
+ | "PermanentFailure"
6415
+ | "Locked";
6416
+
6417
+ export type LosSyncStepSeverityEnum = "Success" | "Info" | "Warning" | "Error";
6418
+
6419
+ export type SiteConfigurationTypeEnum =
6420
+ | "None"
6421
+ | "Account"
6422
+ | "Corporate"
6423
+ | "Branch"
6424
+ | "LoanOfficer"
6425
+ | "Partner";
6426
+
6427
+ export type SiteConfigurationByUrlTypeEnum =
6428
+ | "None"
6429
+ | "Account"
6430
+ | "Corporate"
6431
+ | "Branch"
6432
+ | "LoanOfficer"
6433
+ | "Partner";
6434
+
6435
+ export type SiteConfigurationReducedTypeEnum =
6436
+ | "None"
6437
+ | "Account"
6438
+ | "Corporate"
6439
+ | "Branch"
6440
+ | "LoanOfficer"
6441
+ | "Partner";
6442
+
6443
+ export type SiteConfigurationRequestTypeEnum =
6444
+ | "None"
6445
+ | "Account"
6446
+ | "Corporate"
6447
+ | "Branch"
6448
+ | "LoanOfficer"
6449
+ | "Partner";
6450
+
6451
+ export type SiteConfigurationSummaryTypeEnum =
6452
+ | "None"
6453
+ | "Account"
6454
+ | "Corporate"
6455
+ | "Branch"
6456
+ | "LoanOfficer"
6457
+ | "Partner";
6458
+
6459
+ export type UnregisteredBorrowerRoleEnum =
6460
+ | "Borrower"
6461
+ | "CoBorrower"
6462
+ | "NonBorrower"
6463
+ | "LoanOfficer"
6464
+ | "LoanProcessor"
6465
+ | "LoanOfficerAssistant"
6466
+ | "SupportingLoanOfficer"
6467
+ | "BuyerAgent"
6468
+ | "SellerAgent"
6469
+ | "TitleInsuranceAgent"
6470
+ | "EscrowAgent"
6471
+ | "SettlementAgent"
6472
+ | "Admin";
6473
+
6474
+ export type UserDraftRoleEnum =
6475
+ | "Borrower"
6476
+ | "CoBorrower"
6477
+ | "NonBorrower"
6478
+ | "LoanOfficer"
6479
+ | "LoanProcessor"
6480
+ | "LoanOfficerAssistant"
6481
+ | "SupportingLoanOfficer"
6482
+ | "BuyerAgent"
6483
+ | "SellerAgent"
6484
+ | "TitleInsuranceAgent"
6485
+ | "EscrowAgent"
6486
+ | "SettlementAgent"
6487
+ | "Admin";
6488
+
6489
+ export type UserGroupAccessScopeScopeTypeEnum = "User" | "Branch";
6490
+
6491
+ export type UserLoanRoleEnum =
6492
+ | "Borrower"
6493
+ | "CoBorrower"
6494
+ | "NonBorrower"
6495
+ | "LoanOfficer"
6496
+ | "LoanProcessor"
6497
+ | "LoanOfficerAssistant"
6498
+ | "SupportingLoanOfficer"
6499
+ | "BuyerAgent"
6500
+ | "SellerAgent"
6501
+ | "TitleInsuranceAgent"
6502
+ | "EscrowAgent"
6503
+ | "SettlementAgent"
6504
+ | "Admin";
7079
6505
 
7080
- /**
7081
- * No description
7082
- *
7083
- * @tags Accounts
7084
- * @name CreateAccount
7085
- * @summary Create
7086
- * @request POST:/api/accounts
7087
- * @secure
7088
- * @response `201` `Account` Created
7089
- * @response `422` `ProblemDetails` Unprocessable Content
7090
- */
7091
- createAccount: (data: CreateAccountRequest, params: RequestParams = {}) =>
7092
- this.request<Account, ProblemDetails>({
7093
- path: `/api/accounts`,
7094
- method: "POST",
7095
- body: data,
7096
- secure: true,
7097
- type: ContentType.Json,
7098
- format: "json",
7099
- ...params,
7100
- }),
6506
+ export type UserLoanConsentTypeEnum =
6507
+ | "Econsent"
6508
+ | "CreditAuthorization"
6509
+ | "Tcpa";
7101
6510
 
7102
- /**
7103
- * No description
7104
- *
7105
- * @tags Accounts
7106
- * @name GetAccount
7107
- * @summary Get by ID
7108
- * @request GET:/api/accounts/{id}
7109
- * @secure
7110
- * @response `201` `Account` Created
7111
- * @response `422` `ProblemDetails` Unprocessable Content
7112
- */
7113
- getAccount: (id: string, params: RequestParams = {}) =>
7114
- this.request<Account, ProblemDetails>({
7115
- path: `/api/accounts/${id}`,
7116
- method: "GET",
7117
- secure: true,
7118
- format: "json",
7119
- ...params,
7120
- }),
6511
+ export type UserLoanConsentLosSyncStatusEnum =
6512
+ | "NotStarted"
6513
+ | "Failed"
6514
+ | "Success";
7121
6515
 
7122
- /**
7123
- * No description
7124
- *
7125
- * @tags Accounts
7126
- * @name DeleteAccount
7127
- * @summary Delete
7128
- * @request DELETE:/api/accounts/{id}
7129
- * @secure
7130
- * @response `204` `Account` No Content
7131
- * @response `404` `ProblemDetails` Not Found
7132
- * @response `422` `ProblemDetails` Unprocessable Content
7133
- */
7134
- deleteAccount: (
7135
- id: string,
7136
- query?: {
7137
- /** @default false */
7138
- hardDelete?: boolean;
7139
- },
7140
- params: RequestParams = {},
7141
- ) =>
7142
- this.request<Account, ProblemDetails>({
7143
- path: `/api/accounts/${id}`,
7144
- method: "DELETE",
7145
- query: query,
7146
- secure: true,
7147
- format: "json",
7148
- ...params,
7149
- }),
6516
+ export type UserSummaryRoleEnum =
6517
+ | "Borrower"
6518
+ | "LoanOfficer"
6519
+ | "Admin"
6520
+ | "SuperAdmin"
6521
+ | "Realtor"
6522
+ | "SettlementAgent"
6523
+ | "LoanProcessor"
6524
+ | "LoanOfficerAssistant"
6525
+ | "SystemAdmin";
7150
6526
 
7151
- /**
7152
- * No description
7153
- *
7154
- * @tags Accounts
7155
- * @name UpdateAccountBilling
7156
- * @summary Update billing configuration
7157
- * @request PUT:/api/accounts/{id}/billing
7158
- * @secure
7159
- * @response `200` `AccountBilling` OK
7160
- * @response `404` `ProblemDetails` Not Found
7161
- * @response `422` `ProblemDetails` Unprocessable Content
7162
- */
7163
- updateAccountBilling: (
7164
- id: string,
7165
- data: AccountBillingRequest,
7166
- params: RequestParams = {},
7167
- ) =>
7168
- this.request<AccountBilling, ProblemDetails>({
7169
- path: `/api/accounts/${id}/billing`,
7170
- method: "PUT",
7171
- body: data,
7172
- secure: true,
7173
- type: ContentType.Json,
7174
- format: "json",
7175
- ...params,
7176
- }),
6527
+ export type GetCustomFieldDefinitionsParamsEntityTypeEnum = "Loan";
7177
6528
 
7178
- /**
7179
- * No description
7180
- *
7181
- * @tags AiAdmin
7182
- * @name GetAiAuditLogs
7183
- * @summary Get paginated audit logs
7184
- * @request GET:/api/ai/admin/audit-logs
7185
- * @secure
7186
- * @response `200` `AiAuditLogPaginated` OK
7187
- */
7188
- getAiAuditLogs: (
7189
- query?: {
7190
- eventType?: AiAuditEventType;
7191
- /** @format date-time */
7192
- startDate?: string;
7193
- /** @format date-time */
7194
- endDate?: string;
7195
- /** @format int32 */
7196
- pageSize?: number;
7197
- /** @format int32 */
7198
- pageNumber?: number;
7199
- sortBy?: string;
7200
- sortDirection?: string;
7201
- },
7202
- params: RequestParams = {},
7203
- ) =>
7204
- this.request<AiAuditLogPaginated, any>({
7205
- path: `/api/ai/admin/audit-logs`,
7206
- method: "GET",
7207
- query: query,
7208
- secure: true,
7209
- format: "json",
7210
- ...params,
7211
- }),
6529
+ /** @default "Realtor" */
6530
+ export type GetPartnersParamsRoleEnum =
6531
+ | "Borrower"
6532
+ | "LoanOfficer"
6533
+ | "Admin"
6534
+ | "SuperAdmin"
6535
+ | "Realtor"
6536
+ | "SettlementAgent"
6537
+ | "LoanProcessor"
6538
+ | "LoanOfficerAssistant"
6539
+ | "SystemAdmin";
7212
6540
 
7213
- /**
7214
- * No description
7215
- *
7216
- * @tags AiAdmin
7217
- * @name GetAiAdminStats
7218
- * @summary Get AI admin dashboard stats
7219
- * @request GET:/api/ai/admin/stats
7220
- * @secure
7221
- * @response `200` `AiAdminStats` OK
7222
- */
7223
- getAiAdminStats: (
7224
- query?: {
7225
- /** @format date-time */
7226
- startDate?: string;
7227
- /** @format date-time */
7228
- endDate?: string;
7229
- },
7230
- params: RequestParams = {},
7231
- ) =>
7232
- this.request<AiAdminStats, any>({
7233
- path: `/api/ai/admin/stats`,
7234
- method: "GET",
7235
- query: query,
7236
- secure: true,
7237
- format: "json",
7238
- ...params,
7239
- }),
6541
+ export type GetSamlMetadataParamsSSoIntegrationEnum =
6542
+ | "ConsumerConnect"
6543
+ | "TheBigPOS"
6544
+ | "POSF";
7240
6545
 
7241
- /**
7242
- * No description
7243
- *
7244
- * @tags AiAdminPrompt
7245
- * @name GetAiPrompts
7246
- * @summary Get all prompts
7247
- * @request GET:/api/ai/admin/prompts
7248
- * @secure
7249
- * @response `200` `(AiPrompt)[]` OK
7250
- */
7251
- getAiPrompts: (params: RequestParams = {}) =>
7252
- this.request<AiPrompt[], any>({
7253
- path: `/api/ai/admin/prompts`,
7254
- method: "GET",
7255
- secure: true,
7256
- format: "json",
7257
- ...params,
7258
- }),
6546
+ export type GetSamlMetadataParamsEnum =
6547
+ | "ConsumerConnect"
6548
+ | "TheBigPOS"
6549
+ | "POSF";
7259
6550
 
7260
- /**
7261
- * No description
7262
- *
7263
- * @tags AiAdminPrompt
7264
- * @name CreateAiPrompt
7265
- * @summary Create custom prompt
7266
- * @request POST:/api/ai/admin/prompts
7267
- * @secure
7268
- * @response `201` `AiPrompt` Created
7269
- * @response `400` `ProblemDetails` Bad Request
7270
- */
7271
- createAiPrompt: (data: CreateAiPromptRequest, params: RequestParams = {}) =>
7272
- this.request<AiPrompt, ProblemDetails>({
7273
- path: `/api/ai/admin/prompts`,
7274
- method: "POST",
7275
- body: data,
7276
- secure: true,
7277
- type: ContentType.Json,
7278
- format: "json",
7279
- ...params,
7280
- }),
6551
+ export type CreateOrReplaceSamlMetadataParamsSSoIntegrationEnum =
6552
+ | "ConsumerConnect"
6553
+ | "TheBigPOS"
6554
+ | "POSF";
7281
6555
 
7282
- /**
7283
- * No description
7284
- *
7285
- * @tags AiAdminPrompt
7286
- * @name GetAiPrompt
7287
- * @summary Get prompt by ID
7288
- * @request GET:/api/ai/admin/prompts/{id}
7289
- * @secure
7290
- * @response `200` `AiPrompt` OK
7291
- * @response `404` `ProblemDetails` Not Found
7292
- */
7293
- getAiPrompt: (id: string, params: RequestParams = {}) =>
7294
- this.request<AiPrompt, ProblemDetails>({
7295
- path: `/api/ai/admin/prompts/${id}`,
7296
- method: "GET",
7297
- secure: true,
7298
- format: "json",
7299
- ...params,
7300
- }),
6556
+ export type CreateOrReplaceSamlMetadataParamsEnum =
6557
+ | "ConsumerConnect"
6558
+ | "TheBigPOS"
6559
+ | "POSF";
7301
6560
 
7302
- /**
7303
- * No description
7304
- *
7305
- * @tags AiAdminPrompt
7306
- * @name UpdateAiPrompt
7307
- * @summary Update prompt
7308
- * @request PUT:/api/ai/admin/prompts/{id}
7309
- * @secure
7310
- * @response `200` `AiPrompt` OK
7311
- * @response `400` `ProblemDetails` Bad Request
7312
- * @response `404` `ProblemDetails` Not Found
7313
- */
7314
- updateAiPrompt: (
7315
- id: string,
7316
- data: UpdateAiPromptRequest,
7317
- params: RequestParams = {},
7318
- ) =>
7319
- this.request<AiPrompt, ProblemDetails>({
7320
- path: `/api/ai/admin/prompts/${id}`,
7321
- method: "PUT",
7322
- body: data,
7323
- secure: true,
7324
- type: ContentType.Json,
7325
- format: "json",
7326
- ...params,
7327
- }),
6561
+ import type {
6562
+ AxiosInstance,
6563
+ AxiosRequestConfig,
6564
+ AxiosResponse,
6565
+ HeadersDefaults,
6566
+ ResponseType,
6567
+ } from "axios";
6568
+ import axios from "axios";
7328
6569
 
7329
- /**
7330
- * No description
7331
- *
7332
- * @tags AiAdminPrompt
7333
- * @name DeleteAiPrompt
7334
- * @summary Delete prompt
7335
- * @request DELETE:/api/ai/admin/prompts/{id}
7336
- * @secure
7337
- * @response `204` `void` No Content
7338
- * @response `400` `ProblemDetails` Bad Request
7339
- * @response `404` `ProblemDetails` Not Found
7340
- */
7341
- deleteAiPrompt: (id: string, params: RequestParams = {}) =>
7342
- this.request<void, ProblemDetails>({
7343
- path: `/api/ai/admin/prompts/${id}`,
7344
- method: "DELETE",
7345
- secure: true,
7346
- ...params,
7347
- }),
6570
+ export type QueryParamsType = Record<string | number, any>;
7348
6571
 
7349
- /**
7350
- * No description
7351
- *
7352
- * @tags AiAdminPrompt
7353
- * @name ToggleAiPrompt
7354
- * @summary Toggle prompt active/inactive
7355
- * @request PATCH:/api/ai/admin/prompts/{id}/toggle
7356
- * @secure
7357
- * @response `200` `AiPrompt` OK
7358
- * @response `404` `ProblemDetails` Not Found
7359
- */
7360
- toggleAiPrompt: (id: string, params: RequestParams = {}) =>
7361
- this.request<AiPrompt, ProblemDetails>({
7362
- path: `/api/ai/admin/prompts/${id}/toggle`,
7363
- method: "PATCH",
7364
- secure: true,
7365
- format: "json",
7366
- ...params,
7367
- }),
6572
+ export interface FullRequestParams
6573
+ extends Omit<AxiosRequestConfig, "data" | "params" | "url" | "responseType"> {
6574
+ /** set parameter to `true` for call `securityWorker` for this request */
6575
+ secure?: boolean;
6576
+ /** request path */
6577
+ path: string;
6578
+ /** content type of request body */
6579
+ type?: ContentType;
6580
+ /** query params */
6581
+ query?: QueryParamsType;
6582
+ /** format of response (i.e. response.json() -> format: "json") */
6583
+ format?: ResponseType;
6584
+ /** request body */
6585
+ body?: unknown;
6586
+ }
6587
+
6588
+ export type RequestParams = Omit<
6589
+ FullRequestParams,
6590
+ "body" | "method" | "query" | "path"
6591
+ >;
6592
+
6593
+ export interface ApiConfig<SecurityDataType = unknown>
6594
+ extends Omit<AxiosRequestConfig, "data" | "cancelToken"> {
6595
+ securityWorker?: (
6596
+ securityData: SecurityDataType | null,
6597
+ ) => Promise<AxiosRequestConfig | void> | AxiosRequestConfig | void;
6598
+ secure?: boolean;
6599
+ format?: ResponseType;
6600
+ }
7368
6601
 
7369
- /**
7370
- * No description
7371
- *
7372
- * @tags AiAdminPrompt
7373
- * @name GenerateAiSystemPrompt
7374
- * @summary Generate a system prompt from description
7375
- * @request POST:/api/ai/admin/prompts/generate
7376
- * @secure
7377
- * @response `200` `GenerateSystemPrompt` OK
7378
- * @response `400` `ProblemDetails` Bad Request
7379
- */
7380
- generateAiSystemPrompt: (
7381
- data: GenerateSystemPromptRequest,
7382
- params: RequestParams = {},
7383
- ) =>
7384
- this.request<GenerateSystemPrompt, ProblemDetails>({
7385
- path: `/api/ai/admin/prompts/generate`,
7386
- method: "POST",
7387
- body: data,
7388
- secure: true,
7389
- type: ContentType.JsonPatch,
7390
- format: "json",
7391
- ...params,
7392
- }),
6602
+ export type ContentType =
6603
+ | "application/json"
6604
+ | "application/vnd.api+json"
6605
+ | "multipart/form-data"
6606
+ | "application/x-www-form-urlencoded"
6607
+ | "text/plain";
7393
6608
 
7394
- /**
7395
- * No description
7396
- *
7397
- * @tags AiAdminPrompt
7398
- * @name GetSupportedModels
7399
- * @summary Get supported LLM models
7400
- * @request GET:/api/ai/admin/prompts/supported-models
7401
- * @secure
7402
- * @response `200` `(SupportedModel)[]` OK
7403
- */
7404
- getSupportedModels: (params: RequestParams = {}) =>
7405
- this.request<SupportedModel[], any>({
7406
- path: `/api/ai/admin/prompts/supported-models`,
7407
- method: "GET",
7408
- secure: true,
7409
- format: "json",
7410
- ...params,
7411
- }),
6609
+ export class HttpClient<SecurityDataType = unknown> {
6610
+ public instance: AxiosInstance;
6611
+ private securityData: SecurityDataType | null = null;
6612
+ private securityWorker?: ApiConfig<SecurityDataType>["securityWorker"];
6613
+ private secure?: boolean;
6614
+ private format?: ResponseType;
7412
6615
 
7413
- /**
7414
- * No description
7415
- *
7416
- * @tags AiAdminSettings
7417
- * @name GetAiAdminSettings
7418
- * @summary Get global AI settings
7419
- * @request GET:/api/ai/admin/settings
7420
- * @secure
7421
- * @response `200` `AiAdminSettings` OK
7422
- */
7423
- getAiAdminSettings: (params: RequestParams = {}) =>
7424
- this.request<AiAdminSettings, any>({
7425
- path: `/api/ai/admin/settings`,
7426
- method: "GET",
7427
- secure: true,
7428
- format: "json",
7429
- ...params,
7430
- }),
6616
+ constructor({
6617
+ securityWorker,
6618
+ secure,
6619
+ format,
6620
+ ...axiosConfig
6621
+ }: ApiConfig<SecurityDataType> = {}) {
6622
+ this.instance = axios.create({
6623
+ ...axiosConfig,
6624
+ baseURL: axiosConfig.baseURL || "",
6625
+ });
6626
+ this.secure = secure;
6627
+ this.format = format;
6628
+ this.securityWorker = securityWorker;
6629
+ }
7431
6630
 
7432
- /**
7433
- * No description
7434
- *
7435
- * @tags AiAdminSettings
7436
- * @name UpdateAiAdminSettings
7437
- * @summary Update global AI settings
7438
- * @request PUT:/api/ai/admin/settings
7439
- * @secure
7440
- * @response `200` `AiAdminSettings` OK
7441
- * @response `400` `ProblemDetails` Bad Request
7442
- */
7443
- updateAiAdminSettings: (
7444
- data: AiAdminSettingsRequest,
7445
- params: RequestParams = {},
7446
- ) =>
7447
- this.request<AiAdminSettings, ProblemDetails>({
7448
- path: `/api/ai/admin/settings`,
7449
- method: "PUT",
7450
- body: data,
7451
- secure: true,
7452
- type: ContentType.Json,
7453
- format: "json",
7454
- ...params,
7455
- }),
6631
+ public setSecurityData = (data: SecurityDataType | null) => {
6632
+ this.securityData = data;
6633
+ };
7456
6634
 
7457
- /**
7458
- * No description
7459
- *
7460
- * @tags AiCanonicalField
7461
- * @name GetAiCanonicalFields
7462
- * @summary Get all canonical fields
7463
- * @request GET:/api/ai/admin/fields
7464
- * @secure
7465
- * @response `200` `(AiCanonicalField)[]` OK
7466
- */
7467
- getAiCanonicalFields: (params: RequestParams = {}) =>
7468
- this.request<AiCanonicalField[], any>({
7469
- path: `/api/ai/admin/fields`,
7470
- method: "GET",
7471
- secure: true,
7472
- format: "json",
7473
- ...params,
7474
- }),
6635
+ protected mergeRequestParams(
6636
+ params1: AxiosRequestConfig,
6637
+ params2?: AxiosRequestConfig,
6638
+ ): AxiosRequestConfig {
6639
+ const method = params1.method || (params2 && params2.method);
7475
6640
 
7476
- /**
7477
- * No description
7478
- *
7479
- * @tags AiCanonicalField
7480
- * @name CreateAiCanonicalField
7481
- * @summary Create canonical field
7482
- * @request POST:/api/ai/admin/fields
7483
- * @secure
7484
- * @response `201` `AiCanonicalField` Created
7485
- * @response `400` `ProblemDetails` Bad Request
7486
- */
7487
- createAiCanonicalField: (
7488
- data: CreateAiCanonicalFieldRequest,
7489
- params: RequestParams = {},
7490
- ) =>
7491
- this.request<AiCanonicalField, ProblemDetails>({
7492
- path: `/api/ai/admin/fields`,
7493
- method: "POST",
7494
- body: data,
7495
- secure: true,
7496
- type: ContentType.Json,
7497
- format: "json",
7498
- ...params,
7499
- }),
6641
+ return {
6642
+ ...this.instance.defaults,
6643
+ ...params1,
6644
+ ...(params2 || {}),
6645
+ headers: {
6646
+ ...((method &&
6647
+ this.instance.defaults.headers[
6648
+ method.toLowerCase() as keyof HeadersDefaults
6649
+ ]) ||
6650
+ {}),
6651
+ ...(params1.headers || {}),
6652
+ ...((params2 && params2.headers) || {}),
6653
+ },
6654
+ };
6655
+ }
7500
6656
 
7501
- /**
7502
- * No description
7503
- *
7504
- * @tags AiCanonicalField
7505
- * @name GetAiCanonicalField
7506
- * @summary Get canonical field by ID
7507
- * @request GET:/api/ai/admin/fields/{id}
7508
- * @secure
7509
- * @response `200` `AiCanonicalField` OK
7510
- * @response `404` `ProblemDetails` Not Found
7511
- */
7512
- getAiCanonicalField: (id: string, params: RequestParams = {}) =>
7513
- this.request<AiCanonicalField, ProblemDetails>({
7514
- path: `/api/ai/admin/fields/${id}`,
7515
- method: "GET",
7516
- secure: true,
7517
- format: "json",
7518
- ...params,
7519
- }),
6657
+ protected stringifyFormItem(formItem: unknown) {
6658
+ if (typeof formItem === "object" && formItem !== null) {
6659
+ return JSON.stringify(formItem);
6660
+ } else {
6661
+ return `${formItem}`;
6662
+ }
6663
+ }
7520
6664
 
7521
- /**
7522
- * No description
7523
- *
7524
- * @tags AiCanonicalField
7525
- * @name UpdateAiCanonicalField
7526
- * @summary Update canonical field
7527
- * @request PUT:/api/ai/admin/fields/{id}
7528
- * @secure
7529
- * @response `200` `AiCanonicalField` OK
7530
- * @response `400` `ProblemDetails` Bad Request
7531
- * @response `404` `ProblemDetails` Not Found
7532
- */
7533
- updateAiCanonicalField: (
7534
- id: string,
7535
- data: UpdateAiCanonicalFieldRequest,
7536
- params: RequestParams = {},
7537
- ) =>
7538
- this.request<AiCanonicalField, ProblemDetails>({
7539
- path: `/api/ai/admin/fields/${id}`,
7540
- method: "PUT",
7541
- body: data,
7542
- secure: true,
7543
- type: ContentType.Json,
7544
- format: "json",
7545
- ...params,
7546
- }),
6665
+ protected createFormData(input: Record<string, unknown>): FormData {
6666
+ if (input instanceof FormData) {
6667
+ return input;
6668
+ }
6669
+ return Object.keys(input || {}).reduce((formData, key) => {
6670
+ const property = input[key];
6671
+ const propertyContent: any[] =
6672
+ property instanceof Array ? property : [property];
7547
6673
 
7548
- /**
7549
- * No description
7550
- *
7551
- * @tags AiCanonicalField
7552
- * @name DeleteAiCanonicalField
7553
- * @summary Delete canonical field
7554
- * @request DELETE:/api/ai/admin/fields/{id}
7555
- * @secure
7556
- * @response `204` `void` No Content
7557
- * @response `404` `ProblemDetails` Not Found
7558
- */
7559
- deleteAiCanonicalField: (id: string, params: RequestParams = {}) =>
7560
- this.request<void, ProblemDetails>({
7561
- path: `/api/ai/admin/fields/${id}`,
7562
- method: "DELETE",
7563
- secure: true,
7564
- ...params,
7565
- }),
6674
+ for (const formItem of propertyContent) {
6675
+ const isFileType = formItem instanceof Blob || formItem instanceof File;
6676
+ formData.append(
6677
+ key,
6678
+ isFileType ? formItem : this.stringifyFormItem(formItem),
6679
+ );
6680
+ }
7566
6681
 
7567
- /**
7568
- * No description
7569
- *
7570
- * @tags AiCanonicalField
7571
- * @name ToggleAiCanonicalField
7572
- * @summary Toggle canonical field active/inactive
7573
- * @request PATCH:/api/ai/admin/fields/{id}/toggle
7574
- * @secure
7575
- * @response `200` `AiCanonicalField` OK
7576
- * @response `404` `ProblemDetails` Not Found
7577
- */
7578
- toggleAiCanonicalField: (id: string, params: RequestParams = {}) =>
7579
- this.request<AiCanonicalField, ProblemDetails>({
7580
- path: `/api/ai/admin/fields/${id}/toggle`,
7581
- method: "PATCH",
7582
- secure: true,
7583
- format: "json",
7584
- ...params,
7585
- }),
6682
+ return formData;
6683
+ }, new FormData());
6684
+ }
7586
6685
 
7587
- /**
7588
- * No description
7589
- *
7590
- * @tags AiChat
7591
- * @name AiChat
7592
- * @summary Send AI chat message
7593
- * @request POST:/api/ai/chat
7594
- * @secure
7595
- * @response `200` `AiChat` OK
7596
- * @response `400` `ProblemDetails` Bad Request
7597
- * @response `401` `ProblemDetails` Unauthorized
7598
- */
7599
- aiChat: (data: AiChatRequest, params: RequestParams = {}) =>
7600
- this.request<AiChat, ProblemDetails>({
7601
- path: `/api/ai/chat`,
7602
- method: "POST",
7603
- body: data,
7604
- secure: true,
7605
- type: ContentType.JsonPatch,
7606
- format: "json",
7607
- ...params,
7608
- }),
6686
+ public request = async <T = any, _E = any>({
6687
+ secure,
6688
+ path,
6689
+ type,
6690
+ query,
6691
+ format,
6692
+ body,
6693
+ ...params
6694
+ }: FullRequestParams): Promise<AxiosResponse<T>> => {
6695
+ const secureParams =
6696
+ ((typeof secure === "boolean" ? secure : this.secure) &&
6697
+ this.securityWorker &&
6698
+ (await this.securityWorker(this.securityData))) ||
6699
+ {};
6700
+ const requestParams = this.mergeRequestParams(params, secureParams);
6701
+ const responseFormat = format || this.format || undefined;
7609
6702
 
7610
- /**
7611
- * No description
7612
- *
7613
- * @tags AiConversation
7614
- * @name GetAiConversations
7615
- * @summary Get user conversations
7616
- * @request GET:/api/ai/conversations
7617
- * @secure
7618
- * @response `200` `AiConversationListItemPaginated` OK
7619
- */
7620
- getAiConversations: (
7621
- query?: {
7622
- /** @format int32 */
7623
- pageSize?: number;
7624
- /** @format int32 */
7625
- pageNumber?: number;
7626
- sortBy?: string;
7627
- sortDirection?: string;
6703
+ if (
6704
+ type === "multipart/form-data" &&
6705
+ body &&
6706
+ body !== null &&
6707
+ typeof body === "object"
6708
+ ) {
6709
+ body = this.createFormData(body as Record<string, unknown>);
6710
+ }
6711
+
6712
+ if (
6713
+ type === "text/plain" &&
6714
+ body &&
6715
+ body !== null &&
6716
+ typeof body !== "string"
6717
+ ) {
6718
+ body = JSON.stringify(body);
6719
+ }
6720
+
6721
+ return this.instance.request({
6722
+ ...requestParams,
6723
+ headers: {
6724
+ ...(requestParams.headers || {}),
6725
+ ...(type ? { "Content-Type": type } : {}),
7628
6726
  },
7629
- params: RequestParams = {},
7630
- ) =>
7631
- this.request<AiConversationListItemPaginated, any>({
7632
- path: `/api/ai/conversations`,
7633
- method: "GET",
7634
- query: query,
7635
- secure: true,
7636
- format: "json",
7637
- ...params,
7638
- }),
6727
+ params: query,
6728
+ responseType: responseFormat,
6729
+ data: body,
6730
+ url: path,
6731
+ });
6732
+ };
6733
+ }
7639
6734
 
7640
- /**
7641
- * No description
7642
- *
7643
- * @tags AiConversation
7644
- * @name GetAiConversation
7645
- * @summary Get conversation with messages
7646
- * @request GET:/api/ai/conversations/{id}
7647
- * @secure
7648
- * @response `200` `AiConversationDetail` OK
7649
- * @response `403` `ProblemDetails` Forbidden
7650
- * @response `404` `ProblemDetails` Not Found
7651
- */
7652
- getAiConversation: (id: string, params: RequestParams = {}) =>
7653
- this.request<AiConversationDetail, ProblemDetails>({
7654
- path: `/api/ai/conversations/${id}`,
7655
- method: "GET",
7656
- secure: true,
7657
- format: "json",
7658
- ...params,
7659
- }),
6735
+ /**
6736
+ * @title The Big POS API
6737
+ * @version v2.43.0
6738
+ * @termsOfService https://www.thebigpos.com/terms-of-use/
6739
+ * @contact Mortgage Automation Technologies <support@thebigpos.com> (https://www.thebigpos.com/terms-of-use/)
6740
+ */
6741
+ export class Api<
6742
+ SecurityDataType extends unknown,
6743
+ > extends HttpClient<SecurityDataType> {
6744
+ /**
6745
+ * No description
6746
+ *
6747
+ * @tags Saml
6748
+ * @name PostRoot
6749
+ * @request POST:/
6750
+ * @secure
6751
+ * @response `200` `void` OK
6752
+ */
6753
+ postRoot = (params: RequestParams = {}) =>
6754
+ this.request<void, any>({
6755
+ path: `/`,
6756
+ method: "POST",
6757
+ secure: true,
6758
+ ...params,
6759
+ });
7660
6760
 
7661
- /**
7662
- * No description
7663
- *
7664
- * @tags AiConversation
7665
- * @name DeleteAiConversation
7666
- * @summary Delete conversation
7667
- * @request DELETE:/api/ai/conversations/{id}
7668
- * @secure
7669
- * @response `204` `void` No Content
7670
- * @response `403` `ProblemDetails` Forbidden
7671
- * @response `404` `ProblemDetails` Not Found
7672
- */
7673
- deleteAiConversation: (id: string, params: RequestParams = {}) =>
7674
- this.request<void, ProblemDetails>({
7675
- path: `/api/ai/conversations/${id}`,
7676
- method: "DELETE",
7677
- secure: true,
7678
- ...params,
7679
- }),
6761
+ /**
6762
+ * No description
6763
+ *
6764
+ * @tags TheBigPOS
6765
+ * @name GetRoot
6766
+ * @request GET:/
6767
+ * @secure
6768
+ * @response `200` `string` OK
6769
+ */
6770
+ getRoot = (params: RequestParams = {}) =>
6771
+ this.request<string, any>({
6772
+ path: `/`,
6773
+ method: "GET",
6774
+ secure: true,
6775
+ ...params,
6776
+ });
7680
6777
 
6778
+ api = {
7681
6779
  /**
7682
6780
  * No description
7683
6781
  *
7684
- * @tags AiGuardrail
7685
- * @name GetAiGuardrails
7686
- * @summary Get all guardrails
7687
- * @request GET:/api/ai/admin/guardrails
6782
+ * @tags Account
6783
+ * @name GetMyAccount
6784
+ * @summary Get
6785
+ * @request GET:/api/account
7688
6786
  * @secure
7689
- * @response `200` `(AiGuardrail)[]` OK
6787
+ * @response `200` `Account` OK
6788
+ * @response `404` `ProblemDetails` Not Found
7690
6789
  */
7691
- getAiGuardrails: (params: RequestParams = {}) =>
7692
- this.request<AiGuardrail[], any>({
7693
- path: `/api/ai/admin/guardrails`,
6790
+ getMyAccount: (params: RequestParams = {}) =>
6791
+ this.request<Account, ProblemDetails>({
6792
+ path: `/api/account`,
7694
6793
  method: "GET",
7695
6794
  secure: true,
7696
6795
  format: "json",
@@ -7700,24 +6799,25 @@ export class Api<
7700
6799
  /**
7701
6800
  * No description
7702
6801
  *
7703
- * @tags AiGuardrail
7704
- * @name CreateAiGuardrail
7705
- * @summary Create custom guardrail
7706
- * @request POST:/api/ai/admin/guardrails
6802
+ * @tags Account
6803
+ * @name ReplaceMyAccount
6804
+ * @summary Replace
6805
+ * @request PUT:/api/account
7707
6806
  * @secure
7708
- * @response `201` `AiGuardrail` Created
7709
- * @response `400` `ProblemDetails` Bad Request
6807
+ * @response `200` `Account` OK
6808
+ * @response `404` `ProblemDetails` Not Found
6809
+ * @response `422` `ProblemDetails` Unprocessable Content
7710
6810
  */
7711
- createAiGuardrail: (
7712
- data: CreateAiGuardrailRequest,
6811
+ replaceMyAccount: (
6812
+ data: UpdateAccountRequest,
7713
6813
  params: RequestParams = {},
7714
6814
  ) =>
7715
- this.request<AiGuardrail, ProblemDetails>({
7716
- path: `/api/ai/admin/guardrails`,
7717
- method: "POST",
6815
+ this.request<Account, ProblemDetails>({
6816
+ path: `/api/account`,
6817
+ method: "PUT",
7718
6818
  body: data,
7719
6819
  secure: true,
7720
- type: ContentType.Json,
6820
+ type: "application/json",
7721
6821
  format: "json",
7722
6822
  ...params,
7723
6823
  }),
@@ -7725,17 +6825,16 @@ export class Api<
7725
6825
  /**
7726
6826
  * No description
7727
6827
  *
7728
- * @tags AiGuardrail
7729
- * @name GetAiGuardrail
7730
- * @summary Get guardrail by ID
7731
- * @request GET:/api/ai/admin/guardrails/{id}
6828
+ * @tags Account
6829
+ * @name GetSiteConfigurationByAccount
6830
+ * @summary Get Site Configuration
6831
+ * @request GET:/api/account/site-configurations
7732
6832
  * @secure
7733
- * @response `200` `AiGuardrail` OK
7734
- * @response `404` `ProblemDetails` Not Found
6833
+ * @response `200` `SiteConfiguration` OK
7735
6834
  */
7736
- getAiGuardrail: (id: string, params: RequestParams = {}) =>
7737
- this.request<AiGuardrail, ProblemDetails>({
7738
- path: `/api/ai/admin/guardrails/${id}`,
6835
+ getSiteConfigurationByAccount: (params: RequestParams = {}) =>
6836
+ this.request<SiteConfiguration, any>({
6837
+ path: `/api/account/site-configurations`,
7739
6838
  method: "GET",
7740
6839
  secure: true,
7741
6840
  format: "json",
@@ -7745,26 +6844,24 @@ export class Api<
7745
6844
  /**
7746
6845
  * No description
7747
6846
  *
7748
- * @tags AiGuardrail
7749
- * @name UpdateAiGuardrail
7750
- * @summary Update guardrail
7751
- * @request PUT:/api/ai/admin/guardrails/{id}
6847
+ * @tags Account
6848
+ * @name UpdateSiteConfigurationForAccount
6849
+ * @summary Update Site Configuration
6850
+ * @request PUT:/api/account/site-configurations
7752
6851
  * @secure
7753
- * @response `200` `AiGuardrail` OK
7754
- * @response `400` `ProblemDetails` Bad Request
7755
- * @response `404` `ProblemDetails` Not Found
6852
+ * @response `200` `SiteConfiguration` OK
6853
+ * @response `422` `UnprocessableEntity` Unprocessable Content
7756
6854
  */
7757
- updateAiGuardrail: (
7758
- id: string,
7759
- data: UpdateAiGuardrailRequest,
6855
+ updateSiteConfigurationForAccount: (
6856
+ data: SiteConfiguration,
7760
6857
  params: RequestParams = {},
7761
6858
  ) =>
7762
- this.request<AiGuardrail, ProblemDetails>({
7763
- path: `/api/ai/admin/guardrails/${id}`,
6859
+ this.request<SiteConfiguration, UnprocessableEntity>({
6860
+ path: `/api/account/site-configurations`,
7764
6861
  method: "PUT",
7765
6862
  body: data,
7766
6863
  secure: true,
7767
- type: ContentType.Json,
6864
+ type: "application/json",
7768
6865
  format: "json",
7769
6866
  ...params,
7770
6867
  }),
@@ -7772,81 +6869,63 @@ export class Api<
7772
6869
  /**
7773
6870
  * No description
7774
6871
  *
7775
- * @tags AiGuardrail
7776
- * @name DeleteAiGuardrail
7777
- * @summary Delete guardrail
7778
- * @request DELETE:/api/ai/admin/guardrails/{id}
6872
+ * @tags AccountReactivation
6873
+ * @name RequestAccountReactivation
6874
+ * @summary Request account reactivation
6875
+ * @request POST:/api/account/reactivation/request
7779
6876
  * @secure
7780
6877
  * @response `204` `void` No Content
7781
- * @response `400` `ProblemDetails` Bad Request
7782
- * @response `404` `ProblemDetails` Not Found
7783
- */
7784
- deleteAiGuardrail: (id: string, params: RequestParams = {}) =>
7785
- this.request<void, ProblemDetails>({
7786
- path: `/api/ai/admin/guardrails/${id}`,
7787
- method: "DELETE",
7788
- secure: true,
7789
- ...params,
7790
- }),
7791
-
7792
- /**
7793
- * No description
7794
- *
7795
- * @tags AiGuardrail
7796
- * @name ToggleAiGuardrail
7797
- * @summary Toggle guardrail enabled/disabled
7798
- * @request PATCH:/api/ai/admin/guardrails/{id}/toggle
7799
- * @secure
7800
- * @response `200` `AiGuardrail` OK
7801
- * @response `404` `ProblemDetails` Not Found
7802
6878
  */
7803
- toggleAiGuardrail: (id: string, params: RequestParams = {}) =>
7804
- this.request<AiGuardrail, ProblemDetails>({
7805
- path: `/api/ai/admin/guardrails/${id}/toggle`,
7806
- method: "PATCH",
6879
+ requestAccountReactivation: (
6880
+ data: AccountReactivationRequest,
6881
+ params: RequestParams = {},
6882
+ ) =>
6883
+ this.request<void, any>({
6884
+ path: `/api/account/reactivation/request`,
6885
+ method: "POST",
6886
+ body: data,
7807
6887
  secure: true,
7808
- format: "json",
6888
+ type: "application/json",
7809
6889
  ...params,
7810
6890
  }),
7811
6891
 
7812
6892
  /**
7813
6893
  * No description
7814
6894
  *
7815
- * @tags AiPrompt
7816
- * @name GetAvailablePrompts
7817
- * @summary Get available prompts for current user
7818
- * @request GET:/api/ai/prompts
6895
+ * @tags AccountReactivation
6896
+ * @name CompleteAccountReactivation
6897
+ * @summary Complete account reactivation with new password
6898
+ * @request POST:/api/account/reactivation/complete
7819
6899
  * @secure
7820
- * @response `200` `(AiPromptSummary)[]` OK
6900
+ * @response `204` `void` No Content
6901
+ * @response `400` `ProblemDetails` Bad Request
7821
6902
  */
7822
- getAvailablePrompts: (
7823
- query?: {
7824
- documentType?: string;
7825
- },
6903
+ completeAccountReactivation: (
6904
+ data: AccountReactivationCompleteRequest,
7826
6905
  params: RequestParams = {},
7827
6906
  ) =>
7828
- this.request<AiPromptSummary[], any>({
7829
- path: `/api/ai/prompts`,
7830
- method: "GET",
7831
- query: query,
6907
+ this.request<void, ProblemDetails>({
6908
+ path: `/api/account/reactivation/complete`,
6909
+ method: "POST",
6910
+ body: data,
7832
6911
  secure: true,
7833
- format: "json",
6912
+ type: "application/json",
7834
6913
  ...params,
7835
6914
  }),
7836
6915
 
7837
6916
  /**
7838
6917
  * No description
7839
6918
  *
7840
- * @tags AiUrlSource
7841
- * @name GetAiUrlSources
7842
- * @summary Get all URL sources
7843
- * @request GET:/api/ai/admin/url-sources
6919
+ * @tags Accounts
6920
+ * @name GetAccounts
6921
+ * @summary Get All
6922
+ * @request GET:/api/accounts
7844
6923
  * @secure
7845
- * @response `200` `(AiUrlSource)[]` OK
6924
+ * @response `200` `(Account)[]` OK
7846
6925
  */
7847
- getAiUrlSources: (params: RequestParams = {}) =>
7848
- this.request<AiUrlSource[], any>({
7849
- path: `/api/ai/admin/url-sources`,
6926
+ getAccounts: (params: RequestParams = {}) =>
6927
+ this.request<Account[], any>({
6928
+ path: `/api/accounts`,
7850
6929
  method: "GET",
7851
6930
  secure: true,
7852
6931
  format: "json",
@@ -7856,25 +6935,21 @@ export class Api<
7856
6935
  /**
7857
6936
  * No description
7858
6937
  *
7859
- * @tags AiUrlSource
7860
- * @name CreateAiUrlSource
7861
- * @summary Create URL source
7862
- * @request POST:/api/ai/admin/url-sources
6938
+ * @tags Accounts
6939
+ * @name CreateAccount
6940
+ * @summary Create
6941
+ * @request POST:/api/accounts
7863
6942
  * @secure
7864
- * @response `201` `AiUrlSource` Created
7865
- * @response `400` `ProblemDetails` Bad Request
7866
- * @response `409` `ProblemDetails` Conflict
6943
+ * @response `201` `Account` Created
6944
+ * @response `422` `ProblemDetails` Unprocessable Content
7867
6945
  */
7868
- createAiUrlSource: (
7869
- data: CreateAiUrlSourceRequest,
7870
- params: RequestParams = {},
7871
- ) =>
7872
- this.request<AiUrlSource, ProblemDetails>({
7873
- path: `/api/ai/admin/url-sources`,
6946
+ createAccount: (data: CreateAccountRequest, params: RequestParams = {}) =>
6947
+ this.request<Account, ProblemDetails>({
6948
+ path: `/api/accounts`,
7874
6949
  method: "POST",
7875
6950
  body: data,
7876
6951
  secure: true,
7877
- type: ContentType.JsonPatch,
6952
+ type: "application/json",
7878
6953
  format: "json",
7879
6954
  ...params,
7880
6955
  }),
@@ -7882,17 +6957,17 @@ export class Api<
7882
6957
  /**
7883
6958
  * No description
7884
6959
  *
7885
- * @tags AiUrlSource
7886
- * @name GetAiUrlSource
7887
- * @summary Get URL source by ID
7888
- * @request GET:/api/ai/admin/url-sources/{id}
6960
+ * @tags Accounts
6961
+ * @name GetAccount
6962
+ * @summary Get by ID
6963
+ * @request GET:/api/accounts/{id}
7889
6964
  * @secure
7890
- * @response `200` `AiUrlSource` OK
7891
- * @response `404` `ProblemDetails` Not Found
6965
+ * @response `201` `Account` Created
6966
+ * @response `422` `ProblemDetails` Unprocessable Content
7892
6967
  */
7893
- getAiUrlSource: (id: string, params: RequestParams = {}) =>
7894
- this.request<AiUrlSource, ProblemDetails>({
7895
- path: `/api/ai/admin/url-sources/${id}`,
6968
+ getAccount: (id: string, params: RequestParams = {}) =>
6969
+ this.request<Account, ProblemDetails>({
6970
+ path: `/api/accounts/${id}`,
7896
6971
  method: "GET",
7897
6972
  secure: true,
7898
6973
  format: "json",
@@ -7902,66 +6977,55 @@ export class Api<
7902
6977
  /**
7903
6978
  * No description
7904
6979
  *
7905
- * @tags AiUrlSource
7906
- * @name UpdateAiUrlSource
7907
- * @summary Update URL source
7908
- * @request PUT:/api/ai/admin/url-sources/{id}
6980
+ * @tags Accounts
6981
+ * @name DeleteAccount
6982
+ * @summary Delete
6983
+ * @request DELETE:/api/accounts/{id}
7909
6984
  * @secure
7910
- * @response `200` `AiUrlSource` OK
7911
- * @response `400` `ProblemDetails` Bad Request
6985
+ * @response `204` `Account` No Content
7912
6986
  * @response `404` `ProblemDetails` Not Found
7913
- * @response `409` `ProblemDetails` Conflict
6987
+ * @response `422` `ProblemDetails` Unprocessable Content
7914
6988
  */
7915
- updateAiUrlSource: (
6989
+ deleteAccount: (
7916
6990
  id: string,
7917
- data: UpdateAiUrlSourceRequest,
6991
+ query?: {
6992
+ /** @default false */
6993
+ hardDelete?: boolean;
6994
+ },
7918
6995
  params: RequestParams = {},
7919
6996
  ) =>
7920
- this.request<AiUrlSource, ProblemDetails>({
7921
- path: `/api/ai/admin/url-sources/${id}`,
7922
- method: "PUT",
7923
- body: data,
7924
- secure: true,
7925
- type: ContentType.Json,
7926
- format: "json",
7927
- ...params,
7928
- }),
7929
-
7930
- /**
7931
- * No description
7932
- *
7933
- * @tags AiUrlSource
7934
- * @name DeleteAiUrlSource
7935
- * @summary Delete URL source
7936
- * @request DELETE:/api/ai/admin/url-sources/{id}
7937
- * @secure
7938
- * @response `204` `void` No Content
7939
- * @response `404` `ProblemDetails` Not Found
7940
- */
7941
- deleteAiUrlSource: (id: string, params: RequestParams = {}) =>
7942
- this.request<void, ProblemDetails>({
7943
- path: `/api/ai/admin/url-sources/${id}`,
6997
+ this.request<Account, ProblemDetails>({
6998
+ path: `/api/accounts/${id}`,
7944
6999
  method: "DELETE",
7000
+ query: query,
7945
7001
  secure: true,
7002
+ format: "json",
7946
7003
  ...params,
7947
7004
  }),
7948
7005
 
7949
7006
  /**
7950
7007
  * No description
7951
7008
  *
7952
- * @tags AiUrlSource
7953
- * @name ToggleAiUrlSource
7954
- * @summary Toggle URL source active/inactive
7955
- * @request PATCH:/api/ai/admin/url-sources/{id}/toggle
7009
+ * @tags Accounts
7010
+ * @name UpdateAccountBilling
7011
+ * @summary Update billing configuration
7012
+ * @request PUT:/api/accounts/{id}/billing
7956
7013
  * @secure
7957
- * @response `200` `AiUrlSource` OK
7014
+ * @response `200` `AccountBilling` OK
7958
7015
  * @response `404` `ProblemDetails` Not Found
7016
+ * @response `422` `ProblemDetails` Unprocessable Content
7959
7017
  */
7960
- toggleAiUrlSource: (id: string, params: RequestParams = {}) =>
7961
- this.request<AiUrlSource, ProblemDetails>({
7962
- path: `/api/ai/admin/url-sources/${id}/toggle`,
7963
- method: "PATCH",
7018
+ updateAccountBilling: (
7019
+ id: string,
7020
+ data: AccountBillingRequest,
7021
+ params: RequestParams = {},
7022
+ ) =>
7023
+ this.request<AccountBilling, ProblemDetails>({
7024
+ path: `/api/accounts/${id}/billing`,
7025
+ method: "PUT",
7026
+ body: data,
7964
7027
  secure: true,
7028
+ type: "application/json",
7965
7029
  format: "json",
7966
7030
  ...params,
7967
7031
  }),
@@ -7994,7 +7058,7 @@ export class Api<
7994
7058
  query: query,
7995
7059
  body: data,
7996
7060
  secure: true,
7997
- type: ContentType.JsonPatch,
7061
+ type: "application/json",
7998
7062
  format: "json",
7999
7063
  ...params,
8000
7064
  }),
@@ -8059,7 +7123,7 @@ export class Api<
8059
7123
  method: "POST",
8060
7124
  body: data,
8061
7125
  secure: true,
8062
- type: ContentType.Json,
7126
+ type: "application/json",
8063
7127
  format: "json",
8064
7128
  ...params,
8065
7129
  }),
@@ -8081,7 +7145,7 @@ export class Api<
8081
7145
  method: "POST",
8082
7146
  body: data,
8083
7147
  secure: true,
8084
- type: ContentType.Json,
7148
+ type: "application/json",
8085
7149
  format: "json",
8086
7150
  ...params,
8087
7151
  }),
@@ -8106,7 +7170,7 @@ export class Api<
8106
7170
  method: "POST",
8107
7171
  body: data,
8108
7172
  secure: true,
8109
- type: ContentType.Json,
7173
+ type: "application/json",
8110
7174
  format: "json",
8111
7175
  ...params,
8112
7176
  }),
@@ -8128,7 +7192,7 @@ export class Api<
8128
7192
  method: "POST",
8129
7193
  body: data,
8130
7194
  secure: true,
8131
- type: ContentType.Json,
7195
+ type: "application/json",
8132
7196
  format: "json",
8133
7197
  ...params,
8134
7198
  }),
@@ -8150,7 +7214,7 @@ export class Api<
8150
7214
  method: "POST",
8151
7215
  body: data,
8152
7216
  secure: true,
8153
- type: ContentType.Json,
7217
+ type: "application/json",
8154
7218
  format: "json",
8155
7219
  ...params,
8156
7220
  }),
@@ -8223,7 +7287,7 @@ export class Api<
8223
7287
  method: "POST",
8224
7288
  body: data,
8225
7289
  secure: true,
8226
- type: ContentType.Json,
7290
+ type: "application/json",
8227
7291
  format: "json",
8228
7292
  ...params,
8229
7293
  }),
@@ -8256,7 +7320,7 @@ export class Api<
8256
7320
  query: query,
8257
7321
  body: data,
8258
7322
  secure: true,
8259
- type: ContentType.Json,
7323
+ type: "application/json",
8260
7324
  format: "json",
8261
7325
  ...params,
8262
7326
  }),
@@ -8301,7 +7365,7 @@ export class Api<
8301
7365
  method: "PUT",
8302
7366
  body: data,
8303
7367
  secure: true,
8304
- type: ContentType.Json,
7368
+ type: "application/json",
8305
7369
  format: "json",
8306
7370
  ...params,
8307
7371
  }),
@@ -8364,7 +7428,7 @@ export class Api<
8364
7428
  method: "POST",
8365
7429
  body: data,
8366
7430
  secure: true,
8367
- type: ContentType.Json,
7431
+ type: "application/json",
8368
7432
  format: "json",
8369
7433
  ...params,
8370
7434
  }),
@@ -8418,7 +7482,7 @@ export class Api<
8418
7482
  query: query,
8419
7483
  body: data,
8420
7484
  secure: true,
8421
- type: ContentType.Json,
7485
+ type: "application/json",
8422
7486
  format: "json",
8423
7487
  ...params,
8424
7488
  }),
@@ -8487,7 +7551,7 @@ export class Api<
8487
7551
  method: "POST",
8488
7552
  body: data,
8489
7553
  secure: true,
8490
- type: ContentType.Json,
7554
+ type: "application/json",
8491
7555
  format: "json",
8492
7556
  ...params,
8493
7557
  }),
@@ -8532,7 +7596,7 @@ export class Api<
8532
7596
  method: "PUT",
8533
7597
  body: data,
8534
7598
  secure: true,
8535
- type: ContentType.Json,
7599
+ type: "application/json",
8536
7600
  format: "json",
8537
7601
  ...params,
8538
7602
  }),
@@ -8593,7 +7657,7 @@ export class Api<
8593
7657
  method: "POST",
8594
7658
  body: data,
8595
7659
  secure: true,
8596
- type: ContentType.Json,
7660
+ type: "application/json",
8597
7661
  format: "json",
8598
7662
  ...params,
8599
7663
  }),
@@ -8687,7 +7751,7 @@ export class Api<
8687
7751
  method: "POST",
8688
7752
  body: data,
8689
7753
  secure: true,
8690
- type: ContentType.Json,
7754
+ type: "application/json",
8691
7755
  format: "json",
8692
7756
  ...params,
8693
7757
  }),
@@ -8720,7 +7784,7 @@ export class Api<
8720
7784
  query: query,
8721
7785
  body: data,
8722
7786
  secure: true,
8723
- type: ContentType.Json,
7787
+ type: "application/json",
8724
7788
  format: "json",
8725
7789
  ...params,
8726
7790
  }),
@@ -8765,7 +7829,7 @@ export class Api<
8765
7829
  method: "PUT",
8766
7830
  body: data,
8767
7831
  secure: true,
8768
- type: ContentType.Json,
7832
+ type: "application/json",
8769
7833
  format: "json",
8770
7834
  ...params,
8771
7835
  }),
@@ -8827,7 +7891,7 @@ export class Api<
8827
7891
  method: "POST",
8828
7892
  body: data,
8829
7893
  secure: true,
8830
- type: ContentType.Json,
7894
+ type: "application/json",
8831
7895
  format: "json",
8832
7896
  ...params,
8833
7897
  }),
@@ -8881,7 +7945,7 @@ export class Api<
8881
7945
  query: query,
8882
7946
  body: data,
8883
7947
  secure: true,
8884
- type: ContentType.Json,
7948
+ type: "application/json",
8885
7949
  format: "json",
8886
7950
  ...params,
8887
7951
  }),
@@ -8936,7 +8000,7 @@ export class Api<
8936
8000
  */
8937
8001
  getCustomFieldDefinitions: (
8938
8002
  query?: {
8939
- entityType?: "Loan";
8003
+ entityType?: GetCustomFieldDefinitionsParamsEntityTypeEnum;
8940
8004
  },
8941
8005
  params: RequestParams = {},
8942
8006
  ) =>
@@ -8970,7 +8034,7 @@ export class Api<
8970
8034
  method: "POST",
8971
8035
  body: data,
8972
8036
  secure: true,
8973
- type: ContentType.Json,
8037
+ type: "application/json",
8974
8038
  format: "json",
8975
8039
  ...params,
8976
8040
  }),
@@ -9019,7 +8083,7 @@ export class Api<
9019
8083
  method: "PUT",
9020
8084
  body: data,
9021
8085
  secure: true,
9022
- type: ContentType.Json,
8086
+ type: "application/json",
9023
8087
  format: "json",
9024
8088
  ...params,
9025
8089
  }),
@@ -9153,7 +8217,7 @@ export class Api<
9153
8217
  method: "PUT",
9154
8218
  body: data,
9155
8219
  secure: true,
9156
- type: ContentType.Json,
8220
+ type: "application/json",
9157
8221
  format: "json",
9158
8222
  ...params,
9159
8223
  }),
@@ -9272,7 +8336,7 @@ export class Api<
9272
8336
  method: "POST",
9273
8337
  body: data,
9274
8338
  secure: true,
9275
- type: ContentType.Json,
8339
+ type: "application/json",
9276
8340
  format: "json",
9277
8341
  ...params,
9278
8342
  }),
@@ -9349,7 +8413,7 @@ export class Api<
9349
8413
  method: "PUT",
9350
8414
  body: data,
9351
8415
  secure: true,
9352
- type: ContentType.Json,
8416
+ type: "application/json",
9353
8417
  format: "json",
9354
8418
  ...params,
9355
8419
  }),
@@ -9436,7 +8500,7 @@ export class Api<
9436
8500
  method: "POST",
9437
8501
  body: data,
9438
8502
  secure: true,
9439
- type: ContentType.Json,
8503
+ type: "application/json",
9440
8504
  format: "json",
9441
8505
  ...params,
9442
8506
  }),
@@ -9485,7 +8549,7 @@ export class Api<
9485
8549
  method: "PUT",
9486
8550
  body: data,
9487
8551
  secure: true,
9488
- type: ContentType.Json,
8552
+ type: "application/json",
9489
8553
  format: "json",
9490
8554
  ...params,
9491
8555
  }),
@@ -9560,7 +8624,7 @@ export class Api<
9560
8624
  method: "POST",
9561
8625
  body: data,
9562
8626
  secure: true,
9563
- type: ContentType.Json,
8627
+ type: "application/json",
9564
8628
  format: "json",
9565
8629
  ...params,
9566
8630
  }),
@@ -9736,7 +8800,7 @@ export class Api<
9736
8800
  method: "POST",
9737
8801
  body: data,
9738
8802
  secure: true,
9739
- type: ContentType.Json,
8803
+ type: "application/json",
9740
8804
  format: "json",
9741
8805
  ...params,
9742
8806
  }),
@@ -9799,7 +8863,7 @@ export class Api<
9799
8863
  method: "POST",
9800
8864
  body: data,
9801
8865
  secure: true,
9802
- type: ContentType.FormData,
8866
+ type: "multipart/form-data",
9803
8867
  format: "json",
9804
8868
  ...params,
9805
8869
  }),
@@ -9840,7 +8904,7 @@ export class Api<
9840
8904
  method: "PUT",
9841
8905
  body: data,
9842
8906
  secure: true,
9843
- type: ContentType.Json,
8907
+ type: "application/json",
9844
8908
  format: "json",
9845
8909
  ...params,
9846
8910
  }),
@@ -9891,7 +8955,7 @@ export class Api<
9891
8955
  query: query,
9892
8956
  body: data,
9893
8957
  secure: true,
9894
- type: ContentType.Json,
8958
+ type: "application/json",
9895
8959
  format: "json",
9896
8960
  ...params,
9897
8961
  }),
@@ -9938,7 +9002,7 @@ export class Api<
9938
9002
  method: "POST",
9939
9003
  body: data,
9940
9004
  secure: true,
9941
- type: ContentType.Json,
9005
+ type: "application/json",
9942
9006
  format: "json",
9943
9007
  ...params,
9944
9008
  }),
@@ -9979,7 +9043,7 @@ export class Api<
9979
9043
  method: "PUT",
9980
9044
  body: data,
9981
9045
  secure: true,
9982
- type: ContentType.Json,
9046
+ type: "application/json",
9983
9047
  format: "json",
9984
9048
  ...params,
9985
9049
  }),
@@ -10045,7 +9109,7 @@ export class Api<
10045
9109
  method: "POST",
10046
9110
  body: data,
10047
9111
  secure: true,
10048
- type: ContentType.FormData,
9112
+ type: "multipart/form-data",
10049
9113
  format: "json",
10050
9114
  ...params,
10051
9115
  }),
@@ -10153,7 +9217,7 @@ export class Api<
10153
9217
  query: query,
10154
9218
  body: data,
10155
9219
  secure: true,
10156
- type: ContentType.Json,
9220
+ type: "application/json",
10157
9221
  format: "json",
10158
9222
  ...params,
10159
9223
  }),
@@ -10197,7 +9261,7 @@ export class Api<
10197
9261
  method: "PUT",
10198
9262
  body: data,
10199
9263
  secure: true,
10200
- type: ContentType.Json,
9264
+ type: "application/json",
10201
9265
  format: "json",
10202
9266
  ...params,
10203
9267
  }),
@@ -10248,7 +9312,7 @@ export class Api<
10248
9312
  query: query,
10249
9313
  body: data,
10250
9314
  secure: true,
10251
- type: ContentType.Json,
9315
+ type: "application/json",
10252
9316
  format: "json",
10253
9317
  ...params,
10254
9318
  }),
@@ -10292,7 +9356,7 @@ export class Api<
10292
9356
  method: "POST",
10293
9357
  body: data,
10294
9358
  secure: true,
10295
- type: ContentType.Json,
9359
+ type: "application/json",
10296
9360
  format: "json",
10297
9361
  ...params,
10298
9362
  }),
@@ -10337,7 +9401,7 @@ export class Api<
10337
9401
  method: "PUT",
10338
9402
  body: data,
10339
9403
  secure: true,
10340
- type: ContentType.Json,
9404
+ type: "application/json",
10341
9405
  format: "json",
10342
9406
  ...params,
10343
9407
  }),
@@ -10425,7 +9489,7 @@ export class Api<
10425
9489
  method: "PATCH",
10426
9490
  body: data,
10427
9491
  secure: true,
10428
- type: ContentType.JsonPatch,
9492
+ type: "application/json",
10429
9493
  format: "json",
10430
9494
  ...params,
10431
9495
  }),
@@ -10446,7 +9510,7 @@ export class Api<
10446
9510
  method: "POST",
10447
9511
  body: data,
10448
9512
  secure: true,
10449
- type: ContentType.Json,
9513
+ type: "application/json",
10450
9514
  format: "json",
10451
9515
  ...params,
10452
9516
  }),
@@ -10478,7 +9542,7 @@ export class Api<
10478
9542
  query: query,
10479
9543
  body: data,
10480
9544
  secure: true,
10481
- type: ContentType.Json,
9545
+ type: "application/json",
10482
9546
  format: "json",
10483
9547
  ...params,
10484
9548
  }),
@@ -10509,7 +9573,7 @@ export class Api<
10509
9573
  query: query,
10510
9574
  body: data,
10511
9575
  secure: true,
10512
- type: ContentType.Json,
9576
+ type: "application/json",
10513
9577
  format: "json",
10514
9578
  ...params,
10515
9579
  }),
@@ -10535,7 +9599,7 @@ export class Api<
10535
9599
  method: "PATCH",
10536
9600
  body: data,
10537
9601
  secure: true,
10538
- type: ContentType.JsonPatch,
9602
+ type: "application/json",
10539
9603
  format: "json",
10540
9604
  ...params,
10541
9605
  }),
@@ -10562,7 +9626,7 @@ export class Api<
10562
9626
  method: "PATCH",
10563
9627
  body: data,
10564
9628
  secure: true,
10565
- type: ContentType.JsonPatch,
9629
+ type: "application/json",
10566
9630
  format: "json",
10567
9631
  ...params,
10568
9632
  }),
@@ -10719,7 +9783,7 @@ export class Api<
10719
9783
  method: "POST",
10720
9784
  body: data,
10721
9785
  secure: true,
10722
- type: ContentType.Json,
9786
+ type: "application/json",
10723
9787
  format: "json",
10724
9788
  ...params,
10725
9789
  }),
@@ -10779,7 +9843,7 @@ export class Api<
10779
9843
  method: "POST",
10780
9844
  body: data,
10781
9845
  secure: true,
10782
- type: ContentType.FormData,
9846
+ type: "multipart/form-data",
10783
9847
  format: "json",
10784
9848
  ...params,
10785
9849
  }),
@@ -10804,7 +9868,7 @@ export class Api<
10804
9868
  method: "PATCH",
10805
9869
  body: data,
10806
9870
  secure: true,
10807
- type: ContentType.JsonPatch,
9871
+ type: "application/json",
10808
9872
  format: "json",
10809
9873
  ...params,
10810
9874
  }),
@@ -10859,7 +9923,7 @@ export class Api<
10859
9923
  method: "POST",
10860
9924
  body: data,
10861
9925
  secure: true,
10862
- type: ContentType.FormData,
9926
+ type: "multipart/form-data",
10863
9927
  format: "json",
10864
9928
  ...params,
10865
9929
  }),
@@ -10884,7 +9948,7 @@ export class Api<
10884
9948
  method: "PATCH",
10885
9949
  body: data,
10886
9950
  secure: true,
10887
- type: ContentType.JsonPatch,
9951
+ type: "application/json",
10888
9952
  format: "json",
10889
9953
  ...params,
10890
9954
  }),
@@ -10958,7 +10022,7 @@ export class Api<
10958
10022
  method: "POST",
10959
10023
  body: data,
10960
10024
  secure: true,
10961
- type: ContentType.Json,
10025
+ type: "application/json",
10962
10026
  format: "json",
10963
10027
  ...params,
10964
10028
  }),
@@ -11021,7 +10085,7 @@ export class Api<
11021
10085
  method: "PUT",
11022
10086
  body: data,
11023
10087
  secure: true,
11024
- type: ContentType.Json,
10088
+ type: "application/json",
11025
10089
  format: "json",
11026
10090
  ...params,
11027
10091
  }),
@@ -11072,7 +10136,7 @@ export class Api<
11072
10136
  query: query,
11073
10137
  body: data,
11074
10138
  secure: true,
11075
- type: ContentType.Json,
10139
+ type: "application/json",
11076
10140
  format: "json",
11077
10141
  ...params,
11078
10142
  }),
@@ -11100,7 +10164,7 @@ export class Api<
11100
10164
  method: "PUT",
11101
10165
  body: data,
11102
10166
  secure: true,
11103
- type: ContentType.FormData,
10167
+ type: "multipart/form-data",
11104
10168
  format: "json",
11105
10169
  ...params,
11106
10170
  }),
@@ -11183,7 +10247,7 @@ export class Api<
11183
10247
  method: "POST",
11184
10248
  body: data,
11185
10249
  secure: true,
11186
- type: ContentType.Json,
10250
+ type: "application/json",
11187
10251
  format: "json",
11188
10252
  ...params,
11189
10253
  }),
@@ -11230,7 +10294,7 @@ export class Api<
11230
10294
  method: "POST",
11231
10295
  body: data,
11232
10296
  secure: true,
11233
- type: ContentType.Json,
10297
+ type: "application/json",
11234
10298
  format: "json",
11235
10299
  ...params,
11236
10300
  }),
@@ -11278,7 +10342,7 @@ export class Api<
11278
10342
  method: "POST",
11279
10343
  body: data,
11280
10344
  secure: true,
11281
- type: ContentType.Json,
10345
+ type: "application/json",
11282
10346
  ...params,
11283
10347
  }),
11284
10348
 
@@ -11343,7 +10407,7 @@ export class Api<
11343
10407
  method: "PUT",
11344
10408
  body: data,
11345
10409
  secure: true,
11346
- type: ContentType.Json,
10410
+ type: "application/json",
11347
10411
  ...params,
11348
10412
  }),
11349
10413
 
@@ -11371,7 +10435,7 @@ export class Api<
11371
10435
  method: "PUT",
11372
10436
  body: data,
11373
10437
  secure: true,
11374
- type: ContentType.Json,
10438
+ type: "application/json",
11375
10439
  ...params,
11376
10440
  }),
11377
10441
 
@@ -11437,7 +10501,7 @@ export class Api<
11437
10501
  method: "POST",
11438
10502
  body: data,
11439
10503
  secure: true,
11440
- type: ContentType.Json,
10504
+ type: "application/json",
11441
10505
  format: "json",
11442
10506
  ...params,
11443
10507
  }),
@@ -11482,7 +10546,7 @@ export class Api<
11482
10546
  method: "POST",
11483
10547
  body: data,
11484
10548
  secure: true,
11485
- type: ContentType.Json,
10549
+ type: "application/json",
11486
10550
  format: "json",
11487
10551
  ...params,
11488
10552
  }),
@@ -11531,7 +10595,7 @@ export class Api<
11531
10595
  method: "PUT",
11532
10596
  body: data,
11533
10597
  secure: true,
11534
- type: ContentType.Json,
10598
+ type: "application/json",
11535
10599
  format: "json",
11536
10600
  ...params,
11537
10601
  }),
@@ -11666,7 +10730,7 @@ export class Api<
11666
10730
  method: "POST",
11667
10731
  body: data,
11668
10732
  secure: true,
11669
- type: ContentType.Json,
10733
+ type: "application/json",
11670
10734
  format: "json",
11671
10735
  ...params,
11672
10736
  }),
@@ -11700,7 +10764,7 @@ export class Api<
11700
10764
  query: query,
11701
10765
  body: data,
11702
10766
  secure: true,
11703
- type: ContentType.Json,
10767
+ type: "application/json",
11704
10768
  format: "json",
11705
10769
  ...params,
11706
10770
  }),
@@ -11730,7 +10794,7 @@ export class Api<
11730
10794
  query: query,
11731
10795
  body: data,
11732
10796
  secure: true,
11733
- type: ContentType.Json,
10797
+ type: "application/json",
11734
10798
  format: "json",
11735
10799
  ...params,
11736
10800
  }),
@@ -11743,7 +10807,7 @@ export class Api<
11743
10807
  * @summary Download By ID
11744
10808
  * @request GET:/api/loans/{loanId}/documents/{documentId}/download
11745
10809
  * @secure
11746
- * @response `200` `string` OK
10810
+ * @response `200` `Blob` OK
11747
10811
  * @response `404` `ProblemDetails` Not Found
11748
10812
  */
11749
10813
  downloadLoanDocument: (
@@ -11751,7 +10815,7 @@ export class Api<
11751
10815
  documentId: string,
11752
10816
  params: RequestParams = {},
11753
10817
  ) =>
11754
- this.request<string, ProblemDetails>({
10818
+ this.request<Blob, ProblemDetails>({
11755
10819
  path: `/api/loans/${loanId}/documents/${documentId}/download`,
11756
10820
  method: "GET",
11757
10821
  secure: true,
@@ -11788,7 +10852,7 @@ export class Api<
11788
10852
  method: "POST",
11789
10853
  body: data,
11790
10854
  secure: true,
11791
- type: ContentType.FormData,
10855
+ type: "multipart/form-data",
11792
10856
  format: "json",
11793
10857
  ...params,
11794
10858
  }),
@@ -11838,7 +10902,7 @@ export class Api<
11838
10902
  method: "POST",
11839
10903
  body: data,
11840
10904
  secure: true,
11841
- type: ContentType.Json,
10905
+ type: "application/json",
11842
10906
  format: "json",
11843
10907
  ...params,
11844
10908
  }),
@@ -11865,7 +10929,7 @@ export class Api<
11865
10929
  method: "POST",
11866
10930
  body: data,
11867
10931
  secure: true,
11868
- type: ContentType.Json,
10932
+ type: "application/json",
11869
10933
  ...params,
11870
10934
  }),
11871
10935
 
@@ -11929,7 +10993,7 @@ export class Api<
11929
10993
  method: "POST",
11930
10994
  body: data,
11931
10995
  secure: true,
11932
- type: ContentType.Json,
10996
+ type: "application/json",
11933
10997
  format: "json",
11934
10998
  ...params,
11935
10999
  }),
@@ -11992,7 +11056,7 @@ export class Api<
11992
11056
  method: "PUT",
11993
11057
  body: data,
11994
11058
  secure: true,
11995
- type: ContentType.Json,
11059
+ type: "application/json",
11996
11060
  format: "json",
11997
11061
  ...params,
11998
11062
  }),
@@ -12043,7 +11107,7 @@ export class Api<
12043
11107
  query: query,
12044
11108
  body: data,
12045
11109
  secure: true,
12046
- type: ContentType.Json,
11110
+ type: "application/json",
12047
11111
  format: "json",
12048
11112
  ...params,
12049
11113
  }),
@@ -12068,7 +11132,7 @@ export class Api<
12068
11132
  method: "PUT",
12069
11133
  body: data,
12070
11134
  secure: true,
12071
- type: ContentType.Json,
11135
+ type: "application/json",
12072
11136
  format: "json",
12073
11137
  ...params,
12074
11138
  }),
@@ -12143,7 +11207,7 @@ export class Api<
12143
11207
  method: "POST",
12144
11208
  body: data,
12145
11209
  secure: true,
12146
- type: ContentType.Json,
11210
+ type: "application/json",
12147
11211
  format: "json",
12148
11212
  ...params,
12149
11213
  }),
@@ -12239,7 +11303,7 @@ export class Api<
12239
11303
  method: "POST",
12240
11304
  body: data,
12241
11305
  secure: true,
12242
- type: ContentType.Json,
11306
+ type: "application/json",
12243
11307
  format: "json",
12244
11308
  ...params,
12245
11309
  }),
@@ -12273,7 +11337,7 @@ export class Api<
12273
11337
  query: query,
12274
11338
  body: data,
12275
11339
  secure: true,
12276
- type: ContentType.Json,
11340
+ type: "application/json",
12277
11341
  format: "json",
12278
11342
  ...params,
12279
11343
  }),
@@ -12361,7 +11425,7 @@ export class Api<
12361
11425
  query: query,
12362
11426
  body: data,
12363
11427
  secure: true,
12364
- type: ContentType.Json,
11428
+ type: "application/json",
12365
11429
  format: "json",
12366
11430
  ...params,
12367
11431
  }),
@@ -12406,7 +11470,7 @@ export class Api<
12406
11470
  method: "POST",
12407
11471
  body: data,
12408
11472
  secure: true,
12409
- type: ContentType.Json,
11473
+ type: "application/json",
12410
11474
  format: "json",
12411
11475
  ...params,
12412
11476
  }),
@@ -12460,7 +11524,7 @@ export class Api<
12460
11524
  query: query,
12461
11525
  body: data,
12462
11526
  secure: true,
12463
- type: ContentType.Json,
11527
+ type: "application/json",
12464
11528
  format: "json",
12465
11529
  ...params,
12466
11530
  }),
@@ -12493,7 +11557,7 @@ export class Api<
12493
11557
  query: query,
12494
11558
  body: data,
12495
11559
  secure: true,
12496
- type: ContentType.Json,
11560
+ type: "application/json",
12497
11561
  format: "json",
12498
11562
  ...params,
12499
11563
  }),
@@ -12539,7 +11603,7 @@ export class Api<
12539
11603
  method: "PUT",
12540
11604
  body: data,
12541
11605
  secure: true,
12542
- type: ContentType.Json,
11606
+ type: "application/json",
12543
11607
  format: "json",
12544
11608
  ...params,
12545
11609
  }),
@@ -12640,7 +11704,7 @@ export class Api<
12640
11704
  method: "POST",
12641
11705
  body: data,
12642
11706
  secure: true,
12643
- type: ContentType.Json,
11707
+ type: "application/json",
12644
11708
  format: "json",
12645
11709
  ...params,
12646
11710
  }),
@@ -12673,7 +11737,7 @@ export class Api<
12673
11737
  query: query,
12674
11738
  body: data,
12675
11739
  secure: true,
12676
- type: ContentType.Json,
11740
+ type: "application/json",
12677
11741
  format: "json",
12678
11742
  ...params,
12679
11743
  }),
@@ -12808,7 +11872,7 @@ export class Api<
12808
11872
  method: "POST",
12809
11873
  body: data,
12810
11874
  secure: true,
12811
- type: ContentType.JsonPatch,
11875
+ type: "application/json",
12812
11876
  format: "json",
12813
11877
  ...params,
12814
11878
  }),
@@ -12844,7 +11908,7 @@ export class Api<
12844
11908
  query: query,
12845
11909
  body: data,
12846
11910
  secure: true,
12847
- type: ContentType.Json,
11911
+ type: "application/json",
12848
11912
  format: "json",
12849
11913
  ...params,
12850
11914
  }),
@@ -12896,7 +11960,7 @@ export class Api<
12896
11960
  method: "POST",
12897
11961
  body: data,
12898
11962
  secure: true,
12899
- type: ContentType.Json,
11963
+ type: "application/json",
12900
11964
  format: "json",
12901
11965
  ...params,
12902
11966
  }),
@@ -12924,7 +11988,7 @@ export class Api<
12924
11988
  method: "PUT",
12925
11989
  body: data,
12926
11990
  secure: true,
12927
- type: ContentType.Json,
11991
+ type: "application/json",
12928
11992
  format: "json",
12929
11993
  ...params,
12930
11994
  }),
@@ -12983,7 +12047,7 @@ export class Api<
12983
12047
  method: "POST",
12984
12048
  body: data,
12985
12049
  secure: true,
12986
- type: ContentType.FormData,
12050
+ type: "multipart/form-data",
12987
12051
  format: "json",
12988
12052
  ...params,
12989
12053
  }),
@@ -13056,7 +12120,7 @@ export class Api<
13056
12120
  method: "POST",
13057
12121
  body: data,
13058
12122
  secure: true,
13059
- type: ContentType.Json,
12123
+ type: "application/json",
13060
12124
  ...params,
13061
12125
  }),
13062
12126
 
@@ -13088,7 +12152,7 @@ export class Api<
13088
12152
  query: query,
13089
12153
  body: data,
13090
12154
  secure: true,
13091
- type: ContentType.Json,
12155
+ type: "application/json",
13092
12156
  format: "json",
13093
12157
  ...params,
13094
12158
  }),
@@ -13113,7 +12177,7 @@ export class Api<
13113
12177
  method: "POST",
13114
12178
  body: data,
13115
12179
  secure: true,
13116
- type: ContentType.Json,
12180
+ type: "application/json",
13117
12181
  format: "json",
13118
12182
  ...params,
13119
12183
  }),
@@ -13200,7 +12264,7 @@ export class Api<
13200
12264
  method: "POST",
13201
12265
  body: data,
13202
12266
  secure: true,
13203
- type: ContentType.Json,
12267
+ type: "application/json",
13204
12268
  format: "json",
13205
12269
  ...params,
13206
12270
  }),
@@ -13226,7 +12290,7 @@ export class Api<
13226
12290
  method: "POST",
13227
12291
  body: data,
13228
12292
  secure: true,
13229
- type: ContentType.Json,
12293
+ type: "application/json",
13230
12294
  format: "json",
13231
12295
  ...params,
13232
12296
  }),
@@ -13253,7 +12317,7 @@ export class Api<
13253
12317
  method: "PUT",
13254
12318
  body: data,
13255
12319
  secure: true,
13256
- type: ContentType.Json,
12320
+ type: "application/json",
13257
12321
  format: "json",
13258
12322
  ...params,
13259
12323
  }),
@@ -13370,7 +12434,7 @@ export class Api<
13370
12434
  method: "POST",
13371
12435
  body: data,
13372
12436
  secure: true,
13373
- type: ContentType.Json,
12437
+ type: "application/json",
13374
12438
  format: "json",
13375
12439
  ...params,
13376
12440
  }),
@@ -13448,7 +12512,7 @@ export class Api<
13448
12512
  query: query,
13449
12513
  body: data,
13450
12514
  secure: true,
13451
- type: ContentType.Json,
12515
+ type: "application/json",
13452
12516
  format: "json",
13453
12517
  ...params,
13454
12518
  }),
@@ -13492,7 +12556,7 @@ export class Api<
13492
12556
  method: "POST",
13493
12557
  body: data,
13494
12558
  secure: true,
13495
- type: ContentType.Json,
12559
+ type: "application/json",
13496
12560
  format: "json",
13497
12561
  ...params,
13498
12562
  }),
@@ -13539,7 +12603,7 @@ export class Api<
13539
12603
  method: "PUT",
13540
12604
  body: data,
13541
12605
  secure: true,
13542
- type: ContentType.Json,
12606
+ type: "application/json",
13543
12607
  format: "json",
13544
12608
  ...params,
13545
12609
  }),
@@ -13585,7 +12649,7 @@ export class Api<
13585
12649
  method: "POST",
13586
12650
  body: data,
13587
12651
  secure: true,
13588
- type: ContentType.Json,
12652
+ type: "application/json",
13589
12653
  format: "json",
13590
12654
  ...params,
13591
12655
  }),
@@ -13610,7 +12674,7 @@ export class Api<
13610
12674
  method: "POST",
13611
12675
  body: data,
13612
12676
  secure: true,
13613
- type: ContentType.Json,
12677
+ type: "application/json",
13614
12678
  format: "json",
13615
12679
  ...params,
13616
12680
  }),
@@ -13635,7 +12699,7 @@ export class Api<
13635
12699
  method: "POST",
13636
12700
  body: data,
13637
12701
  secure: true,
13638
- type: ContentType.Json,
12702
+ type: "application/json",
13639
12703
  format: "json",
13640
12704
  ...params,
13641
12705
  }),
@@ -13660,7 +12724,7 @@ export class Api<
13660
12724
  method: "POST",
13661
12725
  body: data,
13662
12726
  secure: true,
13663
- type: ContentType.Json,
12727
+ type: "application/json",
13664
12728
  format: "json",
13665
12729
  ...params,
13666
12730
  }),
@@ -13685,7 +12749,7 @@ export class Api<
13685
12749
  method: "POST",
13686
12750
  body: data,
13687
12751
  secure: true,
13688
- type: ContentType.Json,
12752
+ type: "application/json",
13689
12753
  format: "json",
13690
12754
  ...params,
13691
12755
  }),
@@ -13710,7 +12774,7 @@ export class Api<
13710
12774
  method: "POST",
13711
12775
  body: data,
13712
12776
  secure: true,
13713
- type: ContentType.Json,
12777
+ type: "application/json",
13714
12778
  ...params,
13715
12779
  }),
13716
12780
 
@@ -13734,7 +12798,7 @@ export class Api<
13734
12798
  method: "POST",
13735
12799
  body: data,
13736
12800
  secure: true,
13737
- type: ContentType.Json,
12801
+ type: "application/json",
13738
12802
  ...params,
13739
12803
  }),
13740
12804
 
@@ -13783,7 +12847,7 @@ export class Api<
13783
12847
  method: "POST",
13784
12848
  body: data,
13785
12849
  secure: true,
13786
- type: ContentType.Json,
12850
+ type: "application/json",
13787
12851
  format: "json",
13788
12852
  ...params,
13789
12853
  }),
@@ -13816,7 +12880,7 @@ export class Api<
13816
12880
  query: query,
13817
12881
  body: data,
13818
12882
  secure: true,
13819
- type: ContentType.Json,
12883
+ type: "application/json",
13820
12884
  format: "json",
13821
12885
  ...params,
13822
12886
  }),
@@ -13861,7 +12925,7 @@ export class Api<
13861
12925
  method: "PUT",
13862
12926
  body: data,
13863
12927
  secure: true,
13864
- type: ContentType.Json,
12928
+ type: "application/json",
13865
12929
  format: "json",
13866
12930
  ...params,
13867
12931
  }),
@@ -13945,7 +13009,7 @@ export class Api<
13945
13009
  method: "POST",
13946
13010
  body: data,
13947
13011
  secure: true,
13948
- type: ContentType.Json,
13012
+ type: "application/json",
13949
13013
  format: "json",
13950
13014
  ...params,
13951
13015
  }),
@@ -13994,7 +13058,7 @@ export class Api<
13994
13058
  method: "PUT",
13995
13059
  body: data,
13996
13060
  secure: true,
13997
- type: ContentType.Json,
13061
+ type: "application/json",
13998
13062
  format: "json",
13999
13063
  ...params,
14000
13064
  }),
@@ -14036,16 +13100,7 @@ export class Api<
14036
13100
  query?: {
14037
13101
  showAll?: boolean;
14038
13102
  /** @default "Realtor" */
14039
- role?:
14040
- | "Borrower"
14041
- | "LoanOfficer"
14042
- | "Admin"
14043
- | "SuperAdmin"
14044
- | "Realtor"
14045
- | "SettlementAgent"
14046
- | "LoanProcessor"
14047
- | "LoanOfficerAssistant"
14048
- | "SystemAdmin";
13103
+ role?: GetPartnersParamsRoleEnum;
14049
13104
  /** @format int32 */
14050
13105
  pageSize?: number;
14051
13106
  /** @format int32 */
@@ -14092,7 +13147,7 @@ export class Api<
14092
13147
  query: query,
14093
13148
  body: data,
14094
13149
  secure: true,
14095
- type: ContentType.Json,
13150
+ type: "application/json",
14096
13151
  format: "json",
14097
13152
  ...params,
14098
13153
  }),
@@ -14137,7 +13192,7 @@ export class Api<
14137
13192
  method: "POST",
14138
13193
  body: data,
14139
13194
  secure: true,
14140
- type: ContentType.Json,
13195
+ type: "application/json",
14141
13196
  format: "json",
14142
13197
  ...params,
14143
13198
  }),
@@ -14191,7 +13246,7 @@ export class Api<
14191
13246
  query: query,
14192
13247
  body: data,
14193
13248
  secure: true,
14194
- type: ContentType.Json,
13249
+ type: "application/json",
14195
13250
  format: "json",
14196
13251
  ...params,
14197
13252
  }),
@@ -14236,7 +13291,7 @@ export class Api<
14236
13291
  method: "POST",
14237
13292
  body: data,
14238
13293
  secure: true,
14239
- type: ContentType.Json,
13294
+ type: "application/json",
14240
13295
  format: "json",
14241
13296
  ...params,
14242
13297
  }),
@@ -14288,7 +13343,7 @@ export class Api<
14288
13343
  method: "POST",
14289
13344
  body: data,
14290
13345
  secure: true,
14291
- type: ContentType.Json,
13346
+ type: "application/json",
14292
13347
  format: "json",
14293
13348
  ...params,
14294
13349
  }),
@@ -14345,7 +13400,7 @@ export class Api<
14345
13400
  query: query,
14346
13401
  body: data,
14347
13402
  secure: true,
14348
- type: ContentType.Json,
13403
+ type: "application/json",
14349
13404
  format: "json",
14350
13405
  ...params,
14351
13406
  }),
@@ -14381,7 +13436,7 @@ export class Api<
14381
13436
  * @response `404` `ProblemDetails` Not Found
14382
13437
  */
14383
13438
  getSamlMetadata: (
14384
- sSoIntegration: "ConsumerConnect" | "TheBigPOS" | "POSF",
13439
+ sSoIntegration: GetSamlMetadataParamsEnum,
14385
13440
  ssoIntegration: string,
14386
13441
  params: RequestParams = {},
14387
13442
  ) =>
@@ -14403,7 +13458,7 @@ export class Api<
14403
13458
  * @response `200` `File` OK
14404
13459
  */
14405
13460
  createOrReplaceSamlMetadata: (
14406
- sSoIntegration: "ConsumerConnect" | "TheBigPOS" | "POSF",
13461
+ sSoIntegration: CreateOrReplaceSamlMetadataParamsEnum,
14407
13462
  ssoIntegration: string,
14408
13463
  params: RequestParams = {},
14409
13464
  ) =>
@@ -14528,7 +13583,7 @@ export class Api<
14528
13583
  method: "POST",
14529
13584
  body: data,
14530
13585
  secure: true,
14531
- type: ContentType.Json,
13586
+ type: "application/json",
14532
13587
  format: "json",
14533
13588
  ...params,
14534
13589
  }),
@@ -14576,7 +13631,7 @@ export class Api<
14576
13631
  method: "POST",
14577
13632
  body: data,
14578
13633
  secure: true,
14579
- type: ContentType.Json,
13634
+ type: "application/json",
14580
13635
  format: "json",
14581
13636
  ...params,
14582
13637
  }),
@@ -14628,7 +13683,7 @@ export class Api<
14628
13683
  method: "POST",
14629
13684
  body: data,
14630
13685
  secure: true,
14631
- type: ContentType.Json,
13686
+ type: "application/json",
14632
13687
  format: "json",
14633
13688
  ...params,
14634
13689
  }),
@@ -14670,7 +13725,7 @@ export class Api<
14670
13725
  method: "PUT",
14671
13726
  body: data,
14672
13727
  secure: true,
14673
- type: ContentType.Json,
13728
+ type: "application/json",
14674
13729
  format: "json",
14675
13730
  ...params,
14676
13731
  }),
@@ -14722,7 +13777,7 @@ export class Api<
14722
13777
  query: query,
14723
13778
  body: data,
14724
13779
  secure: true,
14725
- type: ContentType.Json,
13780
+ type: "application/json",
14726
13781
  format: "json",
14727
13782
  ...params,
14728
13783
  }),
@@ -14745,7 +13800,7 @@ export class Api<
14745
13800
  method: "POST",
14746
13801
  body: data,
14747
13802
  secure: true,
14748
- type: ContentType.Json,
13803
+ type: "application/json",
14749
13804
  ...params,
14750
13805
  }),
14751
13806
 
@@ -14778,7 +13833,7 @@ export class Api<
14778
13833
  query: query,
14779
13834
  body: data,
14780
13835
  secure: true,
14781
- type: ContentType.Json,
13836
+ type: "application/json",
14782
13837
  format: "json",
14783
13838
  ...params,
14784
13839
  }),
@@ -14822,7 +13877,7 @@ export class Api<
14822
13877
  method: "POST",
14823
13878
  body: data,
14824
13879
  secure: true,
14825
- type: ContentType.Json,
13880
+ type: "application/json",
14826
13881
  format: "json",
14827
13882
  ...params,
14828
13883
  }),
@@ -14846,7 +13901,7 @@ export class Api<
14846
13901
  method: "PUT",
14847
13902
  body: data,
14848
13903
  secure: true,
14849
- type: ContentType.Json,
13904
+ type: "application/json",
14850
13905
  format: "json",
14851
13906
  ...params,
14852
13907
  }),
@@ -14889,7 +13944,7 @@ export class Api<
14889
13944
  method: "POST",
14890
13945
  body: data,
14891
13946
  secure: true,
14892
- type: ContentType.Json,
13947
+ type: "application/json",
14893
13948
  format: "json",
14894
13949
  ...params,
14895
13950
  }),
@@ -14941,7 +13996,7 @@ export class Api<
14941
13996
  query: query,
14942
13997
  body: data,
14943
13998
  secure: true,
14944
- type: ContentType.Json,
13999
+ type: "application/json",
14945
14000
  format: "json",
14946
14001
  ...params,
14947
14002
  }),
@@ -15115,7 +14170,7 @@ export class Api<
15115
14170
  method: "POST",
15116
14171
  body: data,
15117
14172
  secure: true,
15118
- type: ContentType.Json,
14173
+ type: "application/json",
15119
14174
  format: "json",
15120
14175
  ...params,
15121
14176
  }),
@@ -15214,7 +14269,7 @@ export class Api<
15214
14269
  method: "POST",
15215
14270
  body: data,
15216
14271
  secure: true,
15217
- type: ContentType.Json,
14272
+ type: "application/json",
15218
14273
  format: "json",
15219
14274
  ...params,
15220
14275
  }),
@@ -15280,7 +14335,7 @@ export class Api<
15280
14335
  method: "POST",
15281
14336
  body: data,
15282
14337
  secure: true,
15283
- type: ContentType.Json,
14338
+ type: "application/json",
15284
14339
  format: "json",
15285
14340
  ...params,
15286
14341
  }),
@@ -15351,7 +14406,7 @@ export class Api<
15351
14406
  query: query,
15352
14407
  body: data,
15353
14408
  secure: true,
15354
- type: ContentType.Json,
14409
+ type: "application/json",
15355
14410
  format: "json",
15356
14411
  ...params,
15357
14412
  }),
@@ -15448,7 +14503,7 @@ export class Api<
15448
14503
  method: "PUT",
15449
14504
  body: data,
15450
14505
  secure: true,
15451
- type: ContentType.Json,
14506
+ type: "application/json",
15452
14507
  format: "json",
15453
14508
  ...params,
15454
14509
  }),
@@ -15490,7 +14545,7 @@ export class Api<
15490
14545
  method: "POST",
15491
14546
  body: data,
15492
14547
  secure: true,
15493
- type: ContentType.Json,
14548
+ type: "application/json",
15494
14549
  format: "json",
15495
14550
  ...params,
15496
14551
  }),
@@ -15516,7 +14571,7 @@ export class Api<
15516
14571
  method: "POST",
15517
14572
  body: data,
15518
14573
  secure: true,
15519
- type: ContentType.Json,
14574
+ type: "application/json",
15520
14575
  ...params,
15521
14576
  }),
15522
14577
 
@@ -15541,7 +14596,7 @@ export class Api<
15541
14596
  method: "POST",
15542
14597
  body: data,
15543
14598
  secure: true,
15544
- type: ContentType.Json,
14599
+ type: "application/json",
15545
14600
  ...params,
15546
14601
  }),
15547
14602
 
@@ -15627,7 +14682,7 @@ export class Api<
15627
14682
  method: "POST",
15628
14683
  body: data,
15629
14684
  secure: true,
15630
- type: ContentType.Json,
14685
+ type: "application/json",
15631
14686
  ...params,
15632
14687
  }),
15633
14688
 
@@ -15667,7 +14722,7 @@ export class Api<
15667
14722
  method: "POST",
15668
14723
  body: data,
15669
14724
  secure: true,
15670
- type: ContentType.Json,
14725
+ type: "application/json",
15671
14726
  ...params,
15672
14727
  }),
15673
14728
 
@@ -15750,7 +14805,7 @@ export class Api<
15750
14805
  method: "POST",
15751
14806
  body: data,
15752
14807
  secure: true,
15753
- type: ContentType.Json,
14808
+ type: "application/json",
15754
14809
  ...params,
15755
14810
  }),
15756
14811
 
@@ -15842,7 +14897,7 @@ export class Api<
15842
14897
  method: "POST",
15843
14898
  body: data,
15844
14899
  secure: true,
15845
- type: ContentType.Json,
14900
+ type: "application/json",
15846
14901
  format: "json",
15847
14902
  ...params,
15848
14903
  }),
@@ -15875,7 +14930,7 @@ export class Api<
15875
14930
  query: query,
15876
14931
  body: data,
15877
14932
  secure: true,
15878
- type: ContentType.Json,
14933
+ type: "application/json",
15879
14934
  format: "json",
15880
14935
  ...params,
15881
14936
  }),
@@ -15896,7 +14951,7 @@ export class Api<
15896
14951
  method: "POST",
15897
14952
  body: data,
15898
14953
  secure: true,
15899
- type: ContentType.Json,
14954
+ type: "application/json",
15900
14955
  format: "json",
15901
14956
  ...params,
15902
14957
  }),
@@ -15918,7 +14973,7 @@ export class Api<
15918
14973
  method: "POST",
15919
14974
  body: data,
15920
14975
  secure: true,
15921
- type: ContentType.Json,
14976
+ type: "application/json",
15922
14977
  format: "json",
15923
14978
  ...params,
15924
14979
  }),
@@ -15944,7 +14999,7 @@ export class Api<
15944
14999
  method: "PUT",
15945
15000
  body: data,
15946
15001
  secure: true,
15947
- type: ContentType.Json,
15002
+ type: "application/json",
15948
15003
  format: "json",
15949
15004
  ...params,
15950
15005
  }),
@@ -16010,7 +15065,7 @@ export class Api<
16010
15065
  method: "POST",
16011
15066
  body: data,
16012
15067
  secure: true,
16013
- type: ContentType.Json,
15068
+ type: "application/json",
16014
15069
  ...params,
16015
15070
  }),
16016
15071
 
@@ -16031,7 +15086,7 @@ export class Api<
16031
15086
  method: "POST",
16032
15087
  body: data,
16033
15088
  secure: true,
16034
- type: ContentType.Json,
15089
+ type: "application/json",
16035
15090
  ...params,
16036
15091
  }),
16037
15092
 
@@ -16056,7 +15111,7 @@ export class Api<
16056
15111
  method: "POST",
16057
15112
  body: data,
16058
15113
  secure: true,
16059
- type: ContentType.Json,
15114
+ type: "application/json",
16060
15115
  ...params,
16061
15116
  }),
16062
15117
 
@@ -16080,7 +15135,7 @@ export class Api<
16080
15135
  method: "POST",
16081
15136
  body: data,
16082
15137
  secure: true,
16083
- type: ContentType.Json,
15138
+ type: "application/json",
16084
15139
  ...params,
16085
15140
  }),
16086
15141
 
@@ -16123,7 +15178,7 @@ export class Api<
16123
15178
  method: "PUT",
16124
15179
  body: data,
16125
15180
  secure: true,
16126
- type: ContentType.Json,
15181
+ type: "application/json",
16127
15182
  ...params,
16128
15183
  }),
16129
15184
 
@@ -16163,7 +15218,7 @@ export class Api<
16163
15218
  method: "PUT",
16164
15219
  body: data,
16165
15220
  secure: true,
16166
- type: ContentType.Json,
15221
+ type: "application/json",
16167
15222
  format: "json",
16168
15223
  ...params,
16169
15224
  }),
@@ -16187,7 +15242,7 @@ export class Api<
16187
15242
  method: "PUT",
16188
15243
  body: data,
16189
15244
  secure: true,
16190
- type: ContentType.Json,
15245
+ type: "application/json",
16191
15246
  format: "json",
16192
15247
  ...params,
16193
15248
  }),
@@ -16264,7 +15319,7 @@ export class Api<
16264
15319
  method: "POST",
16265
15320
  body: data,
16266
15321
  secure: true,
16267
- type: ContentType.Json,
15322
+ type: "application/json",
16268
15323
  ...params,
16269
15324
  }),
16270
15325
 
@@ -16284,7 +15339,7 @@ export class Api<
16284
15339
  method: "POST",
16285
15340
  body: data,
16286
15341
  secure: true,
16287
- type: ContentType.Json,
15342
+ type: "application/json",
16288
15343
  format: "json",
16289
15344
  ...params,
16290
15345
  }),