@matech/thebigpos-sdk 2.43.1-rc.0 → 2.43.8-aibi-1
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/.husky/pre-commit +2 -2
- package/LICENSE +21 -21
- package/README.md +2 -2
- package/dist/index.d.ts +947 -151
- package/dist/index.js +645 -162
- package/dist/index.js.map +1 -1
- package/package.json +3 -3
- package/src/index.ts +2238 -1046
- package/tsconfig.json +27 -27
package/src/index.ts
CHANGED
|
@@ -398,6 +398,111 @@ 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
|
+
| "VerificationGaps"
|
|
433
|
+
| "CreditScoreDistribution"
|
|
434
|
+
| "OccupancyMix"
|
|
435
|
+
| "PropertyTypeMix"
|
|
436
|
+
| "FirstTimeHomebuyer"
|
|
437
|
+
| "SelfEmployed"
|
|
438
|
+
| "ReferralSourcePerformance"
|
|
439
|
+
| "AmortizationMix"
|
|
440
|
+
| "TimeToClose"
|
|
441
|
+
| "ConversionFunnel"
|
|
442
|
+
| "MonthlyProduction"
|
|
443
|
+
| "PaymentAffordability"
|
|
444
|
+
| "DownPaymentCashToClose"
|
|
445
|
+
| "ApprovalExpirations"
|
|
446
|
+
| "ApplicationCompleteness"
|
|
447
|
+
| "LosSyncHealth"
|
|
448
|
+
| "DeclarationsRisk"
|
|
449
|
+
| "MilitaryEligibility";
|
|
450
|
+
|
|
451
|
+
export type AiPromptCategory =
|
|
452
|
+
| "DocumentAnalysis"
|
|
453
|
+
| "DataQuery"
|
|
454
|
+
| "General"
|
|
455
|
+
| "Action";
|
|
456
|
+
|
|
457
|
+
export type AiOutputType = "Text" | "Document";
|
|
458
|
+
|
|
459
|
+
export type AiIntent =
|
|
460
|
+
| "Greeting"
|
|
461
|
+
| "Invalid"
|
|
462
|
+
| "Relevant"
|
|
463
|
+
| "LoanSpecific"
|
|
464
|
+
| "DocumentList"
|
|
465
|
+
| "GeneralKnowledge"
|
|
466
|
+
| "Blocked"
|
|
467
|
+
| "Action"
|
|
468
|
+
| "ConversationMeta";
|
|
469
|
+
|
|
470
|
+
export type AiGuardrailCategory =
|
|
471
|
+
| "ContentSafety"
|
|
472
|
+
| "PromptInjection"
|
|
473
|
+
| "Privacy"
|
|
474
|
+
| "Legal";
|
|
475
|
+
|
|
476
|
+
export type AiDisplayHint =
|
|
477
|
+
| "Table"
|
|
478
|
+
| "SummaryCards"
|
|
479
|
+
| "RankedList"
|
|
480
|
+
| "Comparison"
|
|
481
|
+
| "ExecutiveBrief";
|
|
482
|
+
|
|
483
|
+
export type AiAuditEventType =
|
|
484
|
+
| "Error"
|
|
485
|
+
| "GuardrailBlockedPre"
|
|
486
|
+
| "GuardrailPassedPre"
|
|
487
|
+
| "IntentClassified"
|
|
488
|
+
| "LoanResolvedFromMessage"
|
|
489
|
+
| "DocumentNotFound"
|
|
490
|
+
| "GuardrailBlockedPost"
|
|
491
|
+
| "GuardrailPassedPost"
|
|
492
|
+
| "DocumentAnalyzed"
|
|
493
|
+
| "DocumentList"
|
|
494
|
+
| "DocumentResolutionAmbiguous"
|
|
495
|
+
| "ResponseGenerated"
|
|
496
|
+
| "ParametersExtracted"
|
|
497
|
+
| "QueryExecuted"
|
|
498
|
+
| "LoanContextNotFound"
|
|
499
|
+
| "LoanContextLoaded"
|
|
500
|
+
| "GuardrailBlockedBedrock"
|
|
501
|
+
| "PromptMatched"
|
|
502
|
+
| "QueryCondensed"
|
|
503
|
+
| "IntentParseFailed"
|
|
504
|
+
| "LoanSearchTermDiscarded";
|
|
505
|
+
|
|
401
506
|
export type AddressFamily =
|
|
402
507
|
| "Unspecified"
|
|
403
508
|
| "Unix"
|
|
@@ -485,7 +590,7 @@ export interface AccountBilling {
|
|
|
485
590
|
}
|
|
486
591
|
|
|
487
592
|
export interface AccountBillingRequest {
|
|
488
|
-
billingType:
|
|
593
|
+
billingType: "ClosedLoan" | "LoanOfficer";
|
|
489
594
|
/** @format double */
|
|
490
595
|
contractedRate: number;
|
|
491
596
|
}
|
|
@@ -518,12 +623,14 @@ export interface AccountSettings {
|
|
|
518
623
|
smsNumber?: string | null;
|
|
519
624
|
ssoHostOverride?: string | null;
|
|
520
625
|
isEarlyAdopter: boolean;
|
|
626
|
+
isAIEnabled: boolean;
|
|
521
627
|
}
|
|
522
628
|
|
|
523
629
|
export interface AccountSettingsRequest {
|
|
524
630
|
isSmsEnabled: boolean;
|
|
525
631
|
smsNumber?: string | null;
|
|
526
632
|
isEarlyAdopter: boolean;
|
|
633
|
+
isAIEnabled: boolean;
|
|
527
634
|
}
|
|
528
635
|
|
|
529
636
|
export interface Action {
|
|
@@ -533,7 +640,7 @@ export interface Action {
|
|
|
533
640
|
comments?: string | null;
|
|
534
641
|
/** @format uuid */
|
|
535
642
|
siteConfigurationID: string;
|
|
536
|
-
applicationSettings?: any
|
|
643
|
+
applicationSettings?: any;
|
|
537
644
|
surveysToken?: string | null;
|
|
538
645
|
}
|
|
539
646
|
|
|
@@ -677,6 +784,298 @@ export interface AffordabilityCalculatorRequest {
|
|
|
677
784
|
annualInsurance: number;
|
|
678
785
|
}
|
|
679
786
|
|
|
787
|
+
export interface AiAdminSettings {
|
|
788
|
+
bedrockModelId: string;
|
|
789
|
+
/** @format int32 */
|
|
790
|
+
maxTokens: number;
|
|
791
|
+
/** @format double */
|
|
792
|
+
temperature: number;
|
|
793
|
+
/** @format int32 */
|
|
794
|
+
conversationContextTurns: number;
|
|
795
|
+
/** @format int32 */
|
|
796
|
+
requestTimeoutSeconds: number;
|
|
797
|
+
bedrockRegion: string;
|
|
798
|
+
}
|
|
799
|
+
|
|
800
|
+
export interface AiAdminSettingsRequest {
|
|
801
|
+
bedrockModelId?: string | null;
|
|
802
|
+
/** @format int32 */
|
|
803
|
+
maxTokens?: number | null;
|
|
804
|
+
/** @format double */
|
|
805
|
+
temperature?: number | null;
|
|
806
|
+
/** @format int32 */
|
|
807
|
+
conversationContextTurns?: number | null;
|
|
808
|
+
/** @format int32 */
|
|
809
|
+
requestTimeoutSeconds?: number | null;
|
|
810
|
+
}
|
|
811
|
+
|
|
812
|
+
export interface AiAdminStats {
|
|
813
|
+
/** @format int32 */
|
|
814
|
+
totalRequests: number;
|
|
815
|
+
/** @format int32 */
|
|
816
|
+
blockedRequests: number;
|
|
817
|
+
/** @format double */
|
|
818
|
+
averageResponseTimeMs: number;
|
|
819
|
+
intentDistribution: Record<string, number>;
|
|
820
|
+
topQueryTemplates: Record<string, number>;
|
|
821
|
+
period: string;
|
|
822
|
+
}
|
|
823
|
+
|
|
824
|
+
export interface AiAuditLog {
|
|
825
|
+
/** @format uuid */
|
|
826
|
+
id: string;
|
|
827
|
+
/** @format uuid */
|
|
828
|
+
requestId: string;
|
|
829
|
+
/** @format uuid */
|
|
830
|
+
userId: string;
|
|
831
|
+
eventType:
|
|
832
|
+
| "Error"
|
|
833
|
+
| "GuardrailBlockedPre"
|
|
834
|
+
| "GuardrailPassedPre"
|
|
835
|
+
| "IntentClassified"
|
|
836
|
+
| "LoanResolvedFromMessage"
|
|
837
|
+
| "DocumentNotFound"
|
|
838
|
+
| "GuardrailBlockedPost"
|
|
839
|
+
| "GuardrailPassedPost"
|
|
840
|
+
| "DocumentAnalyzed"
|
|
841
|
+
| "DocumentList"
|
|
842
|
+
| "DocumentResolutionAmbiguous"
|
|
843
|
+
| "ResponseGenerated"
|
|
844
|
+
| "ParametersExtracted"
|
|
845
|
+
| "QueryExecuted"
|
|
846
|
+
| "LoanContextNotFound"
|
|
847
|
+
| "LoanContextLoaded"
|
|
848
|
+
| "GuardrailBlockedBedrock"
|
|
849
|
+
| "PromptMatched"
|
|
850
|
+
| "QueryCondensed"
|
|
851
|
+
| "IntentParseFailed"
|
|
852
|
+
| "LoanSearchTermDiscarded";
|
|
853
|
+
details?: any;
|
|
854
|
+
/** @format date-time */
|
|
855
|
+
createdAt: string;
|
|
856
|
+
}
|
|
857
|
+
|
|
858
|
+
export interface AiAuditLogPaginated {
|
|
859
|
+
rows: AiAuditLog[];
|
|
860
|
+
pagination: Pagination;
|
|
861
|
+
/** @format int64 */
|
|
862
|
+
count: number;
|
|
863
|
+
}
|
|
864
|
+
|
|
865
|
+
export interface AiCanonicalField {
|
|
866
|
+
/** @format uuid */
|
|
867
|
+
id: string;
|
|
868
|
+
canonicalName: string;
|
|
869
|
+
displayName: string;
|
|
870
|
+
description: string;
|
|
871
|
+
allowedRoles: string[];
|
|
872
|
+
efPath?: string | null;
|
|
873
|
+
isPii: boolean;
|
|
874
|
+
isActive: boolean;
|
|
875
|
+
dataSource: string;
|
|
876
|
+
isDefault: boolean;
|
|
877
|
+
category?: string | null;
|
|
878
|
+
jsonPropertyName?: string | null;
|
|
879
|
+
textractKey?: string | null;
|
|
880
|
+
textractKeyAliases?: string | null;
|
|
881
|
+
hasAccountOverride: boolean;
|
|
882
|
+
/** @format date-time */
|
|
883
|
+
createdAt: string;
|
|
884
|
+
/** @format date-time */
|
|
885
|
+
updatedAt?: string | null;
|
|
886
|
+
}
|
|
887
|
+
|
|
888
|
+
export interface AiChat {
|
|
889
|
+
/** @format uuid */
|
|
890
|
+
conversationId: string;
|
|
891
|
+
/** @format uuid */
|
|
892
|
+
messageId: string;
|
|
893
|
+
response: AiChatBody;
|
|
894
|
+
metadata: AiChatMetadata;
|
|
895
|
+
}
|
|
896
|
+
|
|
897
|
+
export interface AiChatBody {
|
|
898
|
+
text: string;
|
|
899
|
+
data?: AiChatStructuredData | null;
|
|
900
|
+
}
|
|
901
|
+
|
|
902
|
+
export interface AiChatMessage {
|
|
903
|
+
/** @format uuid */
|
|
904
|
+
id: string;
|
|
905
|
+
userMessage: string;
|
|
906
|
+
assistantResponse: string;
|
|
907
|
+
intent?: AiIntent | null;
|
|
908
|
+
fieldsAccessed?: string[] | null;
|
|
909
|
+
data?: AiChatStructuredData | null;
|
|
910
|
+
/** @format date-time */
|
|
911
|
+
createdAt: string;
|
|
912
|
+
}
|
|
913
|
+
|
|
914
|
+
export interface AiChatMessagePaginated {
|
|
915
|
+
rows: AiChatMessage[];
|
|
916
|
+
pagination: Pagination;
|
|
917
|
+
/** @format int64 */
|
|
918
|
+
count: number;
|
|
919
|
+
}
|
|
920
|
+
|
|
921
|
+
export interface AiChatMetadata {
|
|
922
|
+
intent:
|
|
923
|
+
| "Greeting"
|
|
924
|
+
| "Invalid"
|
|
925
|
+
| "Relevant"
|
|
926
|
+
| "LoanSpecific"
|
|
927
|
+
| "DocumentList"
|
|
928
|
+
| "GeneralKnowledge"
|
|
929
|
+
| "Blocked"
|
|
930
|
+
| "Action"
|
|
931
|
+
| "ConversationMeta";
|
|
932
|
+
fieldsAccessed: string[];
|
|
933
|
+
/** @format int64 */
|
|
934
|
+
queryTimeMs: number;
|
|
935
|
+
/** @format int64 */
|
|
936
|
+
llmTimeMs: number;
|
|
937
|
+
wasBlocked: boolean;
|
|
938
|
+
blockedReason?: string | null;
|
|
939
|
+
}
|
|
940
|
+
|
|
941
|
+
export interface AiChatRequest {
|
|
942
|
+
message: string;
|
|
943
|
+
/** @format uuid */
|
|
944
|
+
conversationId?: string | null;
|
|
945
|
+
/** @format uuid */
|
|
946
|
+
loanId?: string | null;
|
|
947
|
+
documentIds?: string[] | null;
|
|
948
|
+
/** @format uuid */
|
|
949
|
+
promptId?: string | null;
|
|
950
|
+
}
|
|
951
|
+
|
|
952
|
+
export interface AiChatStructuredData {
|
|
953
|
+
type: "Table" | "DocumentAnalysis" | "DocumentList" | "GeneratedDocument";
|
|
954
|
+
displayHint?: AiDisplayHint | null;
|
|
955
|
+
detectedDocumentType?: string | null;
|
|
956
|
+
columns: string[];
|
|
957
|
+
rows: string[][];
|
|
958
|
+
/** @format uuid */
|
|
959
|
+
generatedDocumentId?: string | null;
|
|
960
|
+
generatedFileName?: string | null;
|
|
961
|
+
}
|
|
962
|
+
|
|
963
|
+
export interface AiConversationDetail {
|
|
964
|
+
/** @format uuid */
|
|
965
|
+
id: string;
|
|
966
|
+
name?: string | null;
|
|
967
|
+
isPinned: boolean;
|
|
968
|
+
/** @format date-time */
|
|
969
|
+
createdAt: string;
|
|
970
|
+
/** @format date-time */
|
|
971
|
+
updatedAt?: string | null;
|
|
972
|
+
/** @format int32 */
|
|
973
|
+
messageCount: number;
|
|
974
|
+
}
|
|
975
|
+
|
|
976
|
+
export interface AiConversationListItem {
|
|
977
|
+
/** @format uuid */
|
|
978
|
+
id: string;
|
|
979
|
+
name?: string | null;
|
|
980
|
+
preview: string;
|
|
981
|
+
/** @format int32 */
|
|
982
|
+
messageCount: number;
|
|
983
|
+
isPinned: boolean;
|
|
984
|
+
/** @format date-time */
|
|
985
|
+
createdAt: string;
|
|
986
|
+
/** @format date-time */
|
|
987
|
+
updatedAt?: string | null;
|
|
988
|
+
}
|
|
989
|
+
|
|
990
|
+
export interface AiConversationListItemPaginated {
|
|
991
|
+
rows: AiConversationListItem[];
|
|
992
|
+
pagination: Pagination;
|
|
993
|
+
/** @format int64 */
|
|
994
|
+
count: number;
|
|
995
|
+
}
|
|
996
|
+
|
|
997
|
+
export interface AiGuardrail {
|
|
998
|
+
/** @format uuid */
|
|
999
|
+
id: string;
|
|
1000
|
+
name: string;
|
|
1001
|
+
category: "ContentSafety" | "PromptInjection" | "Privacy" | "Legal";
|
|
1002
|
+
description?: string | null;
|
|
1003
|
+
keywords: string[];
|
|
1004
|
+
responseTemplate: string;
|
|
1005
|
+
isDefault: boolean;
|
|
1006
|
+
isEnabled: boolean;
|
|
1007
|
+
hasAccountOverride: boolean;
|
|
1008
|
+
/** @format date-time */
|
|
1009
|
+
createdAt: string;
|
|
1010
|
+
/** @format date-time */
|
|
1011
|
+
updatedAt?: string | null;
|
|
1012
|
+
}
|
|
1013
|
+
|
|
1014
|
+
export interface AiPrompt {
|
|
1015
|
+
/** @format uuid */
|
|
1016
|
+
id: string;
|
|
1017
|
+
title: string;
|
|
1018
|
+
slug?: string | null;
|
|
1019
|
+
description: string;
|
|
1020
|
+
documentTypes: string[];
|
|
1021
|
+
applicableUrlSourceIds: string[];
|
|
1022
|
+
allowedRoles: string[];
|
|
1023
|
+
systemPrompt: string;
|
|
1024
|
+
/** @format int32 */
|
|
1025
|
+
sortOrder: number;
|
|
1026
|
+
isDefault: boolean;
|
|
1027
|
+
/** @format uuid */
|
|
1028
|
+
accountId?: string | null;
|
|
1029
|
+
isActive: boolean;
|
|
1030
|
+
category?: AiPromptCategory | null;
|
|
1031
|
+
queryTemplateName?: AiQueryTemplateName | null;
|
|
1032
|
+
displayHint?: AiDisplayHint | null;
|
|
1033
|
+
bedrockModelId?: string | null;
|
|
1034
|
+
requiredDataSources?: string[] | null;
|
|
1035
|
+
outputType?: AiOutputType | null;
|
|
1036
|
+
hasAccountOverride: boolean;
|
|
1037
|
+
/** @format date-time */
|
|
1038
|
+
createdAt: string;
|
|
1039
|
+
/** @format date-time */
|
|
1040
|
+
updatedAt?: string | null;
|
|
1041
|
+
}
|
|
1042
|
+
|
|
1043
|
+
export interface AiPromptSummary {
|
|
1044
|
+
/** @format uuid */
|
|
1045
|
+
id: string;
|
|
1046
|
+
title: string;
|
|
1047
|
+
slug?: string | null;
|
|
1048
|
+
description: string;
|
|
1049
|
+
documentTypes: string[];
|
|
1050
|
+
applicableUrlSourceIds: string[];
|
|
1051
|
+
/** @format int32 */
|
|
1052
|
+
sortOrder: number;
|
|
1053
|
+
category?: AiPromptCategory | null;
|
|
1054
|
+
queryTemplateName?: AiQueryTemplateName | null;
|
|
1055
|
+
displayHint?: AiDisplayHint | null;
|
|
1056
|
+
bedrockModelId?: string | null;
|
|
1057
|
+
requiredDataSources?: string[] | null;
|
|
1058
|
+
outputType?: AiOutputType | null;
|
|
1059
|
+
}
|
|
1060
|
+
|
|
1061
|
+
export interface AiUrlSource {
|
|
1062
|
+
/** @format uuid */
|
|
1063
|
+
id: string;
|
|
1064
|
+
slug?: string | null;
|
|
1065
|
+
name: string;
|
|
1066
|
+
url: string;
|
|
1067
|
+
description?: string | null;
|
|
1068
|
+
category: "Regulatory" | "Guidelines" | "MarketData" | "Custom";
|
|
1069
|
+
scope: "FullDomain" | "SpecificPath";
|
|
1070
|
+
isActive: boolean;
|
|
1071
|
+
isDefault: boolean;
|
|
1072
|
+
hasAccountOverride: boolean;
|
|
1073
|
+
/** @format date-time */
|
|
1074
|
+
createdAt: string;
|
|
1075
|
+
/** @format date-time */
|
|
1076
|
+
updatedAt?: string | null;
|
|
1077
|
+
}
|
|
1078
|
+
|
|
680
1079
|
export interface AllowImpersonationRequest {
|
|
681
1080
|
email: string;
|
|
682
1081
|
}
|
|
@@ -785,14 +1184,21 @@ export interface AuditLogEntry {
|
|
|
785
1184
|
/** @format uuid */
|
|
786
1185
|
id: string;
|
|
787
1186
|
entityType: string;
|
|
788
|
-
changeType:
|
|
1187
|
+
changeType:
|
|
1188
|
+
| "Created"
|
|
1189
|
+
| "Modified"
|
|
1190
|
+
| "SoftDeleted"
|
|
1191
|
+
| "HardDeleted"
|
|
1192
|
+
| "Restored"
|
|
1193
|
+
| "Deactivated"
|
|
1194
|
+
| "Reactivated";
|
|
789
1195
|
/** @format uuid */
|
|
790
1196
|
entityId: string;
|
|
791
1197
|
performedBy?: AuditLogUser | null;
|
|
792
1198
|
rootEntityType?: string | null;
|
|
793
1199
|
/** @format uuid */
|
|
794
1200
|
rootEntityId?: string | null;
|
|
795
|
-
changes?: any
|
|
1201
|
+
changes?: any;
|
|
796
1202
|
/** @format date-time */
|
|
797
1203
|
createdAt: string;
|
|
798
1204
|
}
|
|
@@ -837,7 +1243,20 @@ export interface BorrowerCount {
|
|
|
837
1243
|
firstName: string;
|
|
838
1244
|
lastName: string;
|
|
839
1245
|
email: string;
|
|
840
|
-
role:
|
|
1246
|
+
role:
|
|
1247
|
+
| "Borrower"
|
|
1248
|
+
| "CoBorrower"
|
|
1249
|
+
| "NonBorrower"
|
|
1250
|
+
| "LoanOfficer"
|
|
1251
|
+
| "LoanProcessor"
|
|
1252
|
+
| "LoanOfficerAssistant"
|
|
1253
|
+
| "SupportingLoanOfficer"
|
|
1254
|
+
| "BuyerAgent"
|
|
1255
|
+
| "SellerAgent"
|
|
1256
|
+
| "TitleInsuranceAgent"
|
|
1257
|
+
| "EscrowAgent"
|
|
1258
|
+
| "SettlementAgent"
|
|
1259
|
+
| "Admin";
|
|
841
1260
|
/** @format int32 */
|
|
842
1261
|
count: number;
|
|
843
1262
|
}
|
|
@@ -848,7 +1267,20 @@ export interface BorrowerIdentity {
|
|
|
848
1267
|
firstName: string;
|
|
849
1268
|
lastName: string;
|
|
850
1269
|
email: string;
|
|
851
|
-
role:
|
|
1270
|
+
role:
|
|
1271
|
+
| "Borrower"
|
|
1272
|
+
| "CoBorrower"
|
|
1273
|
+
| "NonBorrower"
|
|
1274
|
+
| "LoanOfficer"
|
|
1275
|
+
| "LoanProcessor"
|
|
1276
|
+
| "LoanOfficerAssistant"
|
|
1277
|
+
| "SupportingLoanOfficer"
|
|
1278
|
+
| "BuyerAgent"
|
|
1279
|
+
| "SellerAgent"
|
|
1280
|
+
| "TitleInsuranceAgent"
|
|
1281
|
+
| "EscrowAgent"
|
|
1282
|
+
| "SettlementAgent"
|
|
1283
|
+
| "Admin";
|
|
852
1284
|
}
|
|
853
1285
|
|
|
854
1286
|
export interface BorrowersNotUsingPosSummary {
|
|
@@ -1109,7 +1541,7 @@ export interface CorporateSearchCriteria {
|
|
|
1109
1541
|
}
|
|
1110
1542
|
|
|
1111
1543
|
export interface CreateAccessScopeRequest {
|
|
1112
|
-
scopeType:
|
|
1544
|
+
scopeType: "User" | "Branch";
|
|
1113
1545
|
/** @format uuid */
|
|
1114
1546
|
userId?: string | null;
|
|
1115
1547
|
/** @format uuid */
|
|
@@ -1128,11 +1560,54 @@ export interface CreateAccountRequest {
|
|
|
1128
1560
|
/** @format int64 */
|
|
1129
1561
|
nlmsid: number;
|
|
1130
1562
|
settings: AccountSettingsRequest;
|
|
1131
|
-
environment:
|
|
1563
|
+
environment: "Development" | "Staging" | "UAT" | "Production";
|
|
1132
1564
|
losIntegration: LOSIntegration;
|
|
1133
1565
|
billingSettings: AccountBillingRequest;
|
|
1134
1566
|
}
|
|
1135
1567
|
|
|
1568
|
+
export interface CreateAiCanonicalFieldRequest {
|
|
1569
|
+
displayName: string;
|
|
1570
|
+
description: string;
|
|
1571
|
+
allowedRoles: string[];
|
|
1572
|
+
isPii: boolean;
|
|
1573
|
+
dataSource: string;
|
|
1574
|
+
category?: string | null;
|
|
1575
|
+
}
|
|
1576
|
+
|
|
1577
|
+
export interface CreateAiGuardrailRequest {
|
|
1578
|
+
name: string;
|
|
1579
|
+
category: "ContentSafety" | "PromptInjection" | "Privacy" | "Legal";
|
|
1580
|
+
description?: string | null;
|
|
1581
|
+
keywords: string[];
|
|
1582
|
+
responseTemplate: string;
|
|
1583
|
+
}
|
|
1584
|
+
|
|
1585
|
+
export interface CreateAiPromptRequest {
|
|
1586
|
+
title: string;
|
|
1587
|
+
slug?: string | null;
|
|
1588
|
+
description: string;
|
|
1589
|
+
documentTypes: string[];
|
|
1590
|
+
applicableUrlSourceIds: string[];
|
|
1591
|
+
allowedRoles: string[];
|
|
1592
|
+
systemPrompt: string;
|
|
1593
|
+
/** @format int32 */
|
|
1594
|
+
sortOrder: number;
|
|
1595
|
+
category?: AiPromptCategory | null;
|
|
1596
|
+
queryTemplateName?: AiQueryTemplateName | null;
|
|
1597
|
+
displayHint?: AiDisplayHint | null;
|
|
1598
|
+
bedrockModelId?: string | null;
|
|
1599
|
+
requiredDataSources?: string[] | null;
|
|
1600
|
+
outputType?: AiOutputType | null;
|
|
1601
|
+
}
|
|
1602
|
+
|
|
1603
|
+
export interface CreateAiUrlSourceRequest {
|
|
1604
|
+
name: string;
|
|
1605
|
+
url: string;
|
|
1606
|
+
description?: string | null;
|
|
1607
|
+
category: "Regulatory" | "Guidelines" | "MarketData" | "Custom";
|
|
1608
|
+
scope: "FullDomain" | "SpecificPath";
|
|
1609
|
+
}
|
|
1610
|
+
|
|
1136
1611
|
export interface CreateBranchRequest {
|
|
1137
1612
|
name: string;
|
|
1138
1613
|
/** @format uuid */
|
|
@@ -1155,8 +1630,15 @@ export interface CreateCustomFieldDefinitionRequest {
|
|
|
1155
1630
|
name: string;
|
|
1156
1631
|
defaultValue?: string | null;
|
|
1157
1632
|
regexPattern?: string | null;
|
|
1158
|
-
dataType:
|
|
1159
|
-
|
|
1633
|
+
dataType:
|
|
1634
|
+
| "String"
|
|
1635
|
+
| "Number"
|
|
1636
|
+
| "Decimal"
|
|
1637
|
+
| "Boolean"
|
|
1638
|
+
| "Date"
|
|
1639
|
+
| "SingleSelect"
|
|
1640
|
+
| "MultiSelect";
|
|
1641
|
+
entityType: "Loan";
|
|
1160
1642
|
options?: CustomFieldOptionRequest[] | null;
|
|
1161
1643
|
permissions?: CustomFieldPermissionRequest[] | null;
|
|
1162
1644
|
}
|
|
@@ -1173,7 +1655,20 @@ export interface CreateDocumentTemplateRequest {
|
|
|
1173
1655
|
export interface CreateGroupMemberRequest {
|
|
1174
1656
|
/** @format uuid */
|
|
1175
1657
|
userId: string;
|
|
1176
|
-
loanRole:
|
|
1658
|
+
loanRole:
|
|
1659
|
+
| "Borrower"
|
|
1660
|
+
| "CoBorrower"
|
|
1661
|
+
| "NonBorrower"
|
|
1662
|
+
| "LoanOfficer"
|
|
1663
|
+
| "LoanProcessor"
|
|
1664
|
+
| "LoanOfficerAssistant"
|
|
1665
|
+
| "SupportingLoanOfficer"
|
|
1666
|
+
| "BuyerAgent"
|
|
1667
|
+
| "SellerAgent"
|
|
1668
|
+
| "TitleInsuranceAgent"
|
|
1669
|
+
| "EscrowAgent"
|
|
1670
|
+
| "SettlementAgent"
|
|
1671
|
+
| "Admin";
|
|
1177
1672
|
}
|
|
1178
1673
|
|
|
1179
1674
|
export interface CreateInviteRequest {
|
|
@@ -1182,7 +1677,7 @@ export interface CreateInviteRequest {
|
|
|
1182
1677
|
emailAddress: string;
|
|
1183
1678
|
phoneNumber?: string | null;
|
|
1184
1679
|
/** @deprecated */
|
|
1185
|
-
relationship:
|
|
1680
|
+
relationship: "NotApplicable" | "Spouse" | "NonSpouse";
|
|
1186
1681
|
loanID: string;
|
|
1187
1682
|
route?: string | null;
|
|
1188
1683
|
/** @format uuid */
|
|
@@ -1204,7 +1699,7 @@ export interface CreateLoanImportRequest {
|
|
|
1204
1699
|
endDate: string;
|
|
1205
1700
|
/** @format date-time */
|
|
1206
1701
|
startDate: string;
|
|
1207
|
-
importMode:
|
|
1702
|
+
importMode: "All" | "NewOnly" | "UpdateOnly";
|
|
1208
1703
|
}
|
|
1209
1704
|
|
|
1210
1705
|
export interface CreateSession {
|
|
@@ -1226,7 +1721,20 @@ export interface CreateUserDeviceRequest {
|
|
|
1226
1721
|
}
|
|
1227
1722
|
|
|
1228
1723
|
export interface CreateUserDraft {
|
|
1229
|
-
loanRole:
|
|
1724
|
+
loanRole:
|
|
1725
|
+
| "Borrower"
|
|
1726
|
+
| "CoBorrower"
|
|
1727
|
+
| "NonBorrower"
|
|
1728
|
+
| "LoanOfficer"
|
|
1729
|
+
| "LoanProcessor"
|
|
1730
|
+
| "LoanOfficerAssistant"
|
|
1731
|
+
| "SupportingLoanOfficer"
|
|
1732
|
+
| "BuyerAgent"
|
|
1733
|
+
| "SellerAgent"
|
|
1734
|
+
| "TitleInsuranceAgent"
|
|
1735
|
+
| "EscrowAgent"
|
|
1736
|
+
| "SettlementAgent"
|
|
1737
|
+
| "Admin";
|
|
1230
1738
|
}
|
|
1231
1739
|
|
|
1232
1740
|
export interface CreateUserGroupRequest {
|
|
@@ -1294,8 +1802,15 @@ export interface CustomFieldDefinition {
|
|
|
1294
1802
|
name: string;
|
|
1295
1803
|
defaultValue?: string | null;
|
|
1296
1804
|
regexPattern?: string | null;
|
|
1297
|
-
dataType:
|
|
1298
|
-
|
|
1805
|
+
dataType:
|
|
1806
|
+
| "String"
|
|
1807
|
+
| "Number"
|
|
1808
|
+
| "Decimal"
|
|
1809
|
+
| "Boolean"
|
|
1810
|
+
| "Date"
|
|
1811
|
+
| "SingleSelect"
|
|
1812
|
+
| "MultiSelect";
|
|
1813
|
+
entityType: "Loan";
|
|
1299
1814
|
options: CustomFieldOption[];
|
|
1300
1815
|
permissions: CustomFieldPermission[];
|
|
1301
1816
|
encompassMapping?: EncompassMapping | null;
|
|
@@ -1310,7 +1825,14 @@ export interface CustomFieldEntry {
|
|
|
1310
1825
|
displayOrder: number;
|
|
1311
1826
|
name: string;
|
|
1312
1827
|
value: string;
|
|
1313
|
-
dataType:
|
|
1828
|
+
dataType:
|
|
1829
|
+
| "String"
|
|
1830
|
+
| "Number"
|
|
1831
|
+
| "Decimal"
|
|
1832
|
+
| "Boolean"
|
|
1833
|
+
| "Date"
|
|
1834
|
+
| "SingleSelect"
|
|
1835
|
+
| "MultiSelect";
|
|
1314
1836
|
}
|
|
1315
1837
|
|
|
1316
1838
|
export interface CustomFieldOption {
|
|
@@ -1330,13 +1852,31 @@ export interface CustomFieldOptionRequest {
|
|
|
1330
1852
|
export interface CustomFieldPermission {
|
|
1331
1853
|
/** @format uuid */
|
|
1332
1854
|
id: string;
|
|
1333
|
-
role:
|
|
1334
|
-
|
|
1855
|
+
role:
|
|
1856
|
+
| "Borrower"
|
|
1857
|
+
| "LoanOfficer"
|
|
1858
|
+
| "Admin"
|
|
1859
|
+
| "SuperAdmin"
|
|
1860
|
+
| "Realtor"
|
|
1861
|
+
| "SettlementAgent"
|
|
1862
|
+
| "LoanProcessor"
|
|
1863
|
+
| "LoanOfficerAssistant"
|
|
1864
|
+
| "SystemAdmin";
|
|
1865
|
+
accessLevel: "NoAccess" | "ReadOnly" | "ReadWrite";
|
|
1335
1866
|
}
|
|
1336
1867
|
|
|
1337
1868
|
export interface CustomFieldPermissionRequest {
|
|
1338
|
-
role:
|
|
1339
|
-
|
|
1869
|
+
role:
|
|
1870
|
+
| "Borrower"
|
|
1871
|
+
| "LoanOfficer"
|
|
1872
|
+
| "Admin"
|
|
1873
|
+
| "SuperAdmin"
|
|
1874
|
+
| "Realtor"
|
|
1875
|
+
| "SettlementAgent"
|
|
1876
|
+
| "LoanProcessor"
|
|
1877
|
+
| "LoanOfficerAssistant"
|
|
1878
|
+
| "SystemAdmin";
|
|
1879
|
+
accessLevel: "NoAccess" | "ReadOnly" | "ReadWrite";
|
|
1340
1880
|
}
|
|
1341
1881
|
|
|
1342
1882
|
export interface CustomFieldValue {
|
|
@@ -1348,7 +1888,14 @@ export interface CustomFieldValue {
|
|
|
1348
1888
|
customFieldDefinitionID: string;
|
|
1349
1889
|
value: string;
|
|
1350
1890
|
definitionName: string;
|
|
1351
|
-
dataType:
|
|
1891
|
+
dataType:
|
|
1892
|
+
| "String"
|
|
1893
|
+
| "Number"
|
|
1894
|
+
| "Decimal"
|
|
1895
|
+
| "Boolean"
|
|
1896
|
+
| "Date"
|
|
1897
|
+
| "SingleSelect"
|
|
1898
|
+
| "MultiSelect";
|
|
1352
1899
|
}
|
|
1353
1900
|
|
|
1354
1901
|
export interface DetailedUser {
|
|
@@ -1605,7 +2152,7 @@ export interface Draft {
|
|
|
1605
2152
|
siteConfiguration: SiteConfigurationReduced;
|
|
1606
2153
|
/** @format uuid */
|
|
1607
2154
|
loanID?: string | null;
|
|
1608
|
-
type:
|
|
2155
|
+
type: "NewLoan" | "EditLoan";
|
|
1609
2156
|
isCoBorrower: boolean;
|
|
1610
2157
|
}
|
|
1611
2158
|
|
|
@@ -1624,7 +2171,7 @@ export interface DraftContent {
|
|
|
1624
2171
|
siteConfiguration: SiteConfigurationReduced;
|
|
1625
2172
|
/** @format uuid */
|
|
1626
2173
|
loanID?: string | null;
|
|
1627
|
-
type:
|
|
2174
|
+
type: "NewLoan" | "EditLoan";
|
|
1628
2175
|
isCoBorrower: boolean;
|
|
1629
2176
|
applicationPayload: any;
|
|
1630
2177
|
}
|
|
@@ -1643,7 +2190,7 @@ export interface DraftLoanOfficerReassignRequest {
|
|
|
1643
2190
|
|
|
1644
2191
|
export interface DraftRequest {
|
|
1645
2192
|
applicationPayload: any;
|
|
1646
|
-
customData?: any
|
|
2193
|
+
customData?: any;
|
|
1647
2194
|
isCoBorrower: boolean;
|
|
1648
2195
|
}
|
|
1649
2196
|
|
|
@@ -1721,9 +2268,9 @@ export interface EncompassCredentialsDetail {
|
|
|
1721
2268
|
clearStateIfUnlicensed: boolean;
|
|
1722
2269
|
/** @deprecated */
|
|
1723
2270
|
baseUrl?: string | null;
|
|
1724
|
-
encompassEnvironment:
|
|
2271
|
+
encompassEnvironment: "Production" | "UAT";
|
|
1725
2272
|
consumerConnectWidgetHost?: string | null;
|
|
1726
|
-
signingMethod:
|
|
2273
|
+
signingMethod: "ConsumerConnect" | "POSF";
|
|
1727
2274
|
subscriptionId?: string | null;
|
|
1728
2275
|
environment?: string | null;
|
|
1729
2276
|
}
|
|
@@ -1740,9 +2287,9 @@ export interface EncompassCredentialsRequest {
|
|
|
1740
2287
|
clearStateIfUnlicensed: boolean;
|
|
1741
2288
|
/** @deprecated */
|
|
1742
2289
|
baseUrl?: string | null;
|
|
1743
|
-
encompassEnvironment:
|
|
2290
|
+
encompassEnvironment: "Production" | "UAT";
|
|
1744
2291
|
consumerConnectWidgetHost?: string | null;
|
|
1745
|
-
signingMethod:
|
|
2292
|
+
signingMethod: "ConsumerConnect" | "POSF";
|
|
1746
2293
|
subscriptionId?: string | null;
|
|
1747
2294
|
environment?: string | null;
|
|
1748
2295
|
clientID?: string | null;
|
|
@@ -1863,8 +2410,15 @@ export interface EncompassRequestLog {
|
|
|
1863
2410
|
losId?: string | null;
|
|
1864
2411
|
/** @format uuid */
|
|
1865
2412
|
accountId: string;
|
|
1866
|
-
operationType:
|
|
1867
|
-
|
|
2413
|
+
operationType:
|
|
2414
|
+
| "FieldUpdate"
|
|
2415
|
+
| "ConsentUpdate"
|
|
2416
|
+
| "DocumentSync"
|
|
2417
|
+
| "MilestoneUpdate"
|
|
2418
|
+
| "DocumentAttachment"
|
|
2419
|
+
| "General"
|
|
2420
|
+
| "FieldReader";
|
|
2421
|
+
outcome: "Success" | "Failure" | "PartialSuccess";
|
|
1868
2422
|
message: string;
|
|
1869
2423
|
endpoint?: string | null;
|
|
1870
2424
|
httpMethod?: string | null;
|
|
@@ -1872,7 +2426,7 @@ export interface EncompassRequestLog {
|
|
|
1872
2426
|
httpStatusCode?: number | null;
|
|
1873
2427
|
/** @format int64 */
|
|
1874
2428
|
durationMs?: number | null;
|
|
1875
|
-
context?: any
|
|
2429
|
+
context?: any;
|
|
1876
2430
|
/** @format date-time */
|
|
1877
2431
|
createdAt: string;
|
|
1878
2432
|
}
|
|
@@ -1918,7 +2472,7 @@ export interface FileSearchCriteria {
|
|
|
1918
2472
|
export interface FileWithBytes {
|
|
1919
2473
|
name: string;
|
|
1920
2474
|
/** @format byte */
|
|
1921
|
-
data:
|
|
2475
|
+
data: string;
|
|
1922
2476
|
fileName: string;
|
|
1923
2477
|
mimeType?: string | null;
|
|
1924
2478
|
extension?: string | null;
|
|
@@ -1997,7 +2551,7 @@ export interface FormSubmission {
|
|
|
1997
2551
|
subjectPropertyAddressCounty?: string | null;
|
|
1998
2552
|
subjectPropertyAddressState?: string | null;
|
|
1999
2553
|
subjectPropertyAddressZip?: string | null;
|
|
2000
|
-
data?: any
|
|
2554
|
+
data?: any;
|
|
2001
2555
|
/** @format uuid */
|
|
2002
2556
|
listingID?: string | null;
|
|
2003
2557
|
listing?: Listing | null;
|
|
@@ -2035,7 +2589,7 @@ export interface FormSubmissionRequest {
|
|
|
2035
2589
|
subjectPropertyAddressCounty?: string | null;
|
|
2036
2590
|
subjectPropertyAddressState?: string | null;
|
|
2037
2591
|
subjectPropertyAddressZip?: string | null;
|
|
2038
|
-
data?: any
|
|
2592
|
+
data?: any;
|
|
2039
2593
|
/** @format uuid */
|
|
2040
2594
|
listingID?: string | null;
|
|
2041
2595
|
}
|
|
@@ -2090,7 +2644,20 @@ export interface FusionFieldDisplay {
|
|
|
2090
2644
|
}
|
|
2091
2645
|
|
|
2092
2646
|
export interface FusionReportFilter {
|
|
2093
|
-
filterType:
|
|
2647
|
+
filterType:
|
|
2648
|
+
| "DateGreaterThanOrEqualTo"
|
|
2649
|
+
| "DateGreaterThan"
|
|
2650
|
+
| "DateLessThan"
|
|
2651
|
+
| "DateLessThanOrEqualTo"
|
|
2652
|
+
| "DateEquals"
|
|
2653
|
+
| "DateDoesntEqual"
|
|
2654
|
+
| "DateNonEmpty"
|
|
2655
|
+
| "DateEmpty"
|
|
2656
|
+
| "StringContains"
|
|
2657
|
+
| "StringEquals"
|
|
2658
|
+
| "StringNotEmpty"
|
|
2659
|
+
| "StringNotEquals"
|
|
2660
|
+
| "StringNotContains";
|
|
2094
2661
|
targetField: string;
|
|
2095
2662
|
targetValue: string;
|
|
2096
2663
|
}
|
|
@@ -2109,6 +2676,15 @@ export interface GenerateDocumentRequest {
|
|
|
2109
2676
|
recipients: string[];
|
|
2110
2677
|
}
|
|
2111
2678
|
|
|
2679
|
+
export interface GenerateSystemPrompt {
|
|
2680
|
+
systemPrompt: string;
|
|
2681
|
+
}
|
|
2682
|
+
|
|
2683
|
+
export interface GenerateSystemPromptRequest {
|
|
2684
|
+
description: string;
|
|
2685
|
+
category: "DocumentAnalysis" | "DataQuery" | "General" | "Action";
|
|
2686
|
+
}
|
|
2687
|
+
|
|
2112
2688
|
export interface GetApplications {
|
|
2113
2689
|
applications: ApplicationRowData[];
|
|
2114
2690
|
}
|
|
@@ -2202,12 +2778,45 @@ export interface GetWorkflowRequest {
|
|
|
2202
2778
|
export interface GuidPatchOperation {
|
|
2203
2779
|
op: string;
|
|
2204
2780
|
path: string;
|
|
2205
|
-
value?: any
|
|
2781
|
+
value?: any;
|
|
2206
2782
|
from?: string | null;
|
|
2207
2783
|
}
|
|
2208
2784
|
|
|
2209
2785
|
export interface IPAddress {
|
|
2210
|
-
addressFamily:
|
|
2786
|
+
addressFamily:
|
|
2787
|
+
| "Unspecified"
|
|
2788
|
+
| "Unix"
|
|
2789
|
+
| "InterNetwork"
|
|
2790
|
+
| "ImpLink"
|
|
2791
|
+
| "Pup"
|
|
2792
|
+
| "Chaos"
|
|
2793
|
+
| "NS"
|
|
2794
|
+
| "Ipx"
|
|
2795
|
+
| "Iso"
|
|
2796
|
+
| "Osi"
|
|
2797
|
+
| "Ecma"
|
|
2798
|
+
| "DataKit"
|
|
2799
|
+
| "Ccitt"
|
|
2800
|
+
| "Sna"
|
|
2801
|
+
| "DecNet"
|
|
2802
|
+
| "DataLink"
|
|
2803
|
+
| "Lat"
|
|
2804
|
+
| "HyperChannel"
|
|
2805
|
+
| "AppleTalk"
|
|
2806
|
+
| "NetBios"
|
|
2807
|
+
| "VoiceView"
|
|
2808
|
+
| "FireFox"
|
|
2809
|
+
| "Banyan"
|
|
2810
|
+
| "Atm"
|
|
2811
|
+
| "InterNetworkV6"
|
|
2812
|
+
| "Cluster"
|
|
2813
|
+
| "Ieee12844"
|
|
2814
|
+
| "Irda"
|
|
2815
|
+
| "NetworkDesigners"
|
|
2816
|
+
| "Max"
|
|
2817
|
+
| "Packet"
|
|
2818
|
+
| "ControllerAreaNetwork"
|
|
2819
|
+
| "Unknown";
|
|
2211
2820
|
/** @format int64 */
|
|
2212
2821
|
scopeId: number;
|
|
2213
2822
|
isIPv6Multicast: boolean;
|
|
@@ -2466,7 +3075,7 @@ export interface Loan {
|
|
|
2466
3075
|
userLoans: UserLoan[];
|
|
2467
3076
|
contacts: LoanContact[];
|
|
2468
3077
|
customFields: CustomFieldEntry[];
|
|
2469
|
-
signingMethod:
|
|
3078
|
+
signingMethod: "ConsumerConnect" | "POSF";
|
|
2470
3079
|
}
|
|
2471
3080
|
|
|
2472
3081
|
export interface LoanApplication {
|
|
@@ -2504,7 +3113,7 @@ export interface LoanApplicationRequest {
|
|
|
2504
3113
|
nonOwningBorrowers: LoanNonOwningBorrowerRequest[];
|
|
2505
3114
|
/** @format uuid */
|
|
2506
3115
|
draftId?: string | null;
|
|
2507
|
-
additionalFields?: Record<string, any
|
|
3116
|
+
additionalFields?: Record<string, any>;
|
|
2508
3117
|
/** @format uuid */
|
|
2509
3118
|
existingLoanId?: string | null;
|
|
2510
3119
|
}
|
|
@@ -2524,7 +3133,7 @@ export interface LoanBorrower {
|
|
|
2524
3133
|
citizenship?: LoanCitizenship | null;
|
|
2525
3134
|
maritalStatus?: LoanMaritalStatus | null;
|
|
2526
3135
|
languagePreference?: LoanLanguagePreference | null;
|
|
2527
|
-
applicationStatus:
|
|
3136
|
+
applicationStatus: "Draft" | "Complete";
|
|
2528
3137
|
/** @format int32 */
|
|
2529
3138
|
numberOfDependents?: number | null;
|
|
2530
3139
|
isPrimaryBorrower: boolean;
|
|
@@ -3293,7 +3902,7 @@ export interface LoanConsentRequest {
|
|
|
3293
3902
|
borrowerEConsent?: boolean | null;
|
|
3294
3903
|
borrowerCreditAuth?: boolean | null;
|
|
3295
3904
|
borrowerTCPAOptIn?: boolean | null;
|
|
3296
|
-
additionalFields?: Record<string, string
|
|
3905
|
+
additionalFields?: Record<string, string>;
|
|
3297
3906
|
}
|
|
3298
3907
|
|
|
3299
3908
|
export interface LoanContact {
|
|
@@ -3312,7 +3921,20 @@ export interface LoanContact {
|
|
|
3312
3921
|
email?: string | null;
|
|
3313
3922
|
phone?: string | null;
|
|
3314
3923
|
companyName?: string | null;
|
|
3315
|
-
role:
|
|
3924
|
+
role:
|
|
3925
|
+
| "Borrower"
|
|
3926
|
+
| "CoBorrower"
|
|
3927
|
+
| "NonBorrower"
|
|
3928
|
+
| "LoanOfficer"
|
|
3929
|
+
| "LoanProcessor"
|
|
3930
|
+
| "LoanOfficerAssistant"
|
|
3931
|
+
| "SupportingLoanOfficer"
|
|
3932
|
+
| "BuyerAgent"
|
|
3933
|
+
| "SellerAgent"
|
|
3934
|
+
| "TitleInsuranceAgent"
|
|
3935
|
+
| "EscrowAgent"
|
|
3936
|
+
| "SettlementAgent"
|
|
3937
|
+
| "Admin";
|
|
3316
3938
|
}
|
|
3317
3939
|
|
|
3318
3940
|
export interface LoanContactList {
|
|
@@ -3320,7 +3942,7 @@ export interface LoanContactList {
|
|
|
3320
3942
|
}
|
|
3321
3943
|
|
|
3322
3944
|
export interface LoanCustomFieldsRequest {
|
|
3323
|
-
additionalFields?: Record<string, string
|
|
3945
|
+
additionalFields?: Record<string, string>;
|
|
3324
3946
|
}
|
|
3325
3947
|
|
|
3326
3948
|
export interface LoanDocument {
|
|
@@ -3366,13 +3988,39 @@ export interface LoanDocumentFolderPermission {
|
|
|
3366
3988
|
id: string;
|
|
3367
3989
|
/** @format uuid */
|
|
3368
3990
|
loanDocumentFolderID: string;
|
|
3369
|
-
role:
|
|
3370
|
-
|
|
3991
|
+
role:
|
|
3992
|
+
| "Borrower"
|
|
3993
|
+
| "CoBorrower"
|
|
3994
|
+
| "NonBorrower"
|
|
3995
|
+
| "LoanOfficer"
|
|
3996
|
+
| "LoanProcessor"
|
|
3997
|
+
| "LoanOfficerAssistant"
|
|
3998
|
+
| "SupportingLoanOfficer"
|
|
3999
|
+
| "BuyerAgent"
|
|
4000
|
+
| "SellerAgent"
|
|
4001
|
+
| "TitleInsuranceAgent"
|
|
4002
|
+
| "EscrowAgent"
|
|
4003
|
+
| "SettlementAgent"
|
|
4004
|
+
| "Admin";
|
|
4005
|
+
level: "None" | "Read" | "Write" | "Manage";
|
|
3371
4006
|
}
|
|
3372
4007
|
|
|
3373
4008
|
export interface LoanDocumentFolderPermissionRequest {
|
|
3374
|
-
role:
|
|
3375
|
-
|
|
4009
|
+
role:
|
|
4010
|
+
| "Borrower"
|
|
4011
|
+
| "CoBorrower"
|
|
4012
|
+
| "NonBorrower"
|
|
4013
|
+
| "LoanOfficer"
|
|
4014
|
+
| "LoanProcessor"
|
|
4015
|
+
| "LoanOfficerAssistant"
|
|
4016
|
+
| "SupportingLoanOfficer"
|
|
4017
|
+
| "BuyerAgent"
|
|
4018
|
+
| "SellerAgent"
|
|
4019
|
+
| "TitleInsuranceAgent"
|
|
4020
|
+
| "EscrowAgent"
|
|
4021
|
+
| "SettlementAgent"
|
|
4022
|
+
| "Admin";
|
|
4023
|
+
level: "None" | "Read" | "Write" | "Manage";
|
|
3376
4024
|
}
|
|
3377
4025
|
|
|
3378
4026
|
export interface LoanDocumentFolderUsage {
|
|
@@ -3481,14 +4129,19 @@ export interface LoanImport {
|
|
|
3481
4129
|
/** @format int32 */
|
|
3482
4130
|
importedCount: number;
|
|
3483
4131
|
statusMessage?: string | null;
|
|
3484
|
-
status:
|
|
3485
|
-
|
|
4132
|
+
status:
|
|
4133
|
+
| "WaitingProcess"
|
|
4134
|
+
| "InProgress"
|
|
4135
|
+
| "Completed"
|
|
4136
|
+
| "Failed"
|
|
4137
|
+
| "Cancelled";
|
|
4138
|
+
importMode: "All" | "NewOnly" | "UpdateOnly";
|
|
3486
4139
|
/** @format date-time */
|
|
3487
4140
|
createdAt?: string | null;
|
|
3488
4141
|
}
|
|
3489
4142
|
|
|
3490
4143
|
export interface LoanImportLog {
|
|
3491
|
-
level:
|
|
4144
|
+
level: "None" | "Info" | "Warning" | "Error";
|
|
3492
4145
|
message: string;
|
|
3493
4146
|
/** @format date-time */
|
|
3494
4147
|
createdAt: string;
|
|
@@ -3549,8 +4202,24 @@ export interface LoanListPaginated {
|
|
|
3549
4202
|
export interface LoanLog {
|
|
3550
4203
|
/** @format uuid */
|
|
3551
4204
|
id: string;
|
|
3552
|
-
level:
|
|
3553
|
-
type:
|
|
4205
|
+
level: "None" | "Info" | "Warning" | "Error";
|
|
4206
|
+
type:
|
|
4207
|
+
| "Loan"
|
|
4208
|
+
| "Queue"
|
|
4209
|
+
| "POSFlagChanged"
|
|
4210
|
+
| "Verification"
|
|
4211
|
+
| "DocumentUploaded"
|
|
4212
|
+
| "LoanCreated"
|
|
4213
|
+
| "WorkflowSubmitted"
|
|
4214
|
+
| "UserInvitationSent"
|
|
4215
|
+
| "CoBorrowerAdded"
|
|
4216
|
+
| "TaskCompleted"
|
|
4217
|
+
| "LoanStatusChanged"
|
|
4218
|
+
| "Consent"
|
|
4219
|
+
| "SensitiveDataPurge"
|
|
4220
|
+
| "ClosingDateUpdated"
|
|
4221
|
+
| "ConsumerConnectAssociation"
|
|
4222
|
+
| "TaskReminderSent";
|
|
3554
4223
|
message: string;
|
|
3555
4224
|
/** @format date-time */
|
|
3556
4225
|
createdAt: string;
|
|
@@ -3559,8 +4228,24 @@ export interface LoanLog {
|
|
|
3559
4228
|
export interface LoanLogDetail {
|
|
3560
4229
|
/** @format uuid */
|
|
3561
4230
|
id: string;
|
|
3562
|
-
level:
|
|
3563
|
-
type:
|
|
4231
|
+
level: "None" | "Info" | "Warning" | "Error";
|
|
4232
|
+
type:
|
|
4233
|
+
| "Loan"
|
|
4234
|
+
| "Queue"
|
|
4235
|
+
| "POSFlagChanged"
|
|
4236
|
+
| "Verification"
|
|
4237
|
+
| "DocumentUploaded"
|
|
4238
|
+
| "LoanCreated"
|
|
4239
|
+
| "WorkflowSubmitted"
|
|
4240
|
+
| "UserInvitationSent"
|
|
4241
|
+
| "CoBorrowerAdded"
|
|
4242
|
+
| "TaskCompleted"
|
|
4243
|
+
| "LoanStatusChanged"
|
|
4244
|
+
| "Consent"
|
|
4245
|
+
| "SensitiveDataPurge"
|
|
4246
|
+
| "ClosingDateUpdated"
|
|
4247
|
+
| "ConsumerConnectAssociation"
|
|
4248
|
+
| "TaskReminderSent";
|
|
3564
4249
|
message: string;
|
|
3565
4250
|
/** @format date-time */
|
|
3566
4251
|
createdAt: string;
|
|
@@ -3786,7 +4471,7 @@ export interface LoanQueueWithData {
|
|
|
3786
4471
|
user: UserPublic;
|
|
3787
4472
|
loanOfficer: LoanOfficerPublic;
|
|
3788
4473
|
siteConfiguration: SiteConfigurationReduced;
|
|
3789
|
-
data?: any
|
|
4474
|
+
data?: any;
|
|
3790
4475
|
}
|
|
3791
4476
|
|
|
3792
4477
|
export interface LoanRecord {
|
|
@@ -3822,7 +4507,7 @@ export interface LoanTaskSearchRequest {
|
|
|
3822
4507
|
}
|
|
3823
4508
|
|
|
3824
4509
|
export interface LoanTaskStatusSummary {
|
|
3825
|
-
status:
|
|
4510
|
+
status: "Outstanding" | "Pending" | "Completed" | "Rejected" | "Unknown";
|
|
3826
4511
|
/** @format int32 */
|
|
3827
4512
|
count: number;
|
|
3828
4513
|
}
|
|
@@ -3835,7 +4520,20 @@ export interface LoanUser {
|
|
|
3835
4520
|
email: string;
|
|
3836
4521
|
phone?: string | null;
|
|
3837
4522
|
role: string;
|
|
3838
|
-
loanRole:
|
|
4523
|
+
loanRole:
|
|
4524
|
+
| "Borrower"
|
|
4525
|
+
| "CoBorrower"
|
|
4526
|
+
| "NonBorrower"
|
|
4527
|
+
| "LoanOfficer"
|
|
4528
|
+
| "LoanProcessor"
|
|
4529
|
+
| "LoanOfficerAssistant"
|
|
4530
|
+
| "SupportingLoanOfficer"
|
|
4531
|
+
| "BuyerAgent"
|
|
4532
|
+
| "SellerAgent"
|
|
4533
|
+
| "TitleInsuranceAgent"
|
|
4534
|
+
| "EscrowAgent"
|
|
4535
|
+
| "SettlementAgent"
|
|
4536
|
+
| "Admin";
|
|
3839
4537
|
isUser: boolean;
|
|
3840
4538
|
/** @format date-time */
|
|
3841
4539
|
createdAt: string;
|
|
@@ -3871,7 +4569,13 @@ export interface LosOperationTracking {
|
|
|
3871
4569
|
operationType: string;
|
|
3872
4570
|
correlationKey: string;
|
|
3873
4571
|
lastTriggerSource?: string | null;
|
|
3874
|
-
status:
|
|
4572
|
+
status:
|
|
4573
|
+
| "Pending"
|
|
4574
|
+
| "Success"
|
|
4575
|
+
| "Failed"
|
|
4576
|
+
| "ConfigurationError"
|
|
4577
|
+
| "PermanentFailure"
|
|
4578
|
+
| "Locked";
|
|
3875
4579
|
/** @format date-time */
|
|
3876
4580
|
createdAt: string;
|
|
3877
4581
|
/** @format date-time */
|
|
@@ -3938,7 +4642,7 @@ export interface LosSyncStep {
|
|
|
3938
4642
|
/** @format int32 */
|
|
3939
4643
|
order: number;
|
|
3940
4644
|
name: string;
|
|
3941
|
-
severity:
|
|
4645
|
+
severity: "Success" | "Info" | "Warning" | "Error";
|
|
3942
4646
|
message: string;
|
|
3943
4647
|
/** @format date-time */
|
|
3944
4648
|
atUtc: string;
|
|
@@ -4037,7 +4741,7 @@ export interface ModuleParameterValue {
|
|
|
4037
4741
|
parameterID: string;
|
|
4038
4742
|
parameterName: string;
|
|
4039
4743
|
parameterType: string;
|
|
4040
|
-
value?: any
|
|
4744
|
+
value?: any;
|
|
4041
4745
|
isInherited: boolean;
|
|
4042
4746
|
}
|
|
4043
4747
|
|
|
@@ -4223,7 +4927,7 @@ export interface NotificationTemplateVersionUpdateRequest {
|
|
|
4223
4927
|
|
|
4224
4928
|
export interface Operation {
|
|
4225
4929
|
op?: string;
|
|
4226
|
-
value?:
|
|
4930
|
+
value?: string | number | boolean | null | object;
|
|
4227
4931
|
path?: string;
|
|
4228
4932
|
}
|
|
4229
4933
|
|
|
@@ -4276,6 +4980,10 @@ export interface PendingTasksSummary {
|
|
|
4276
4980
|
borrowers: BorrowerCount[];
|
|
4277
4981
|
}
|
|
4278
4982
|
|
|
4983
|
+
export interface PinAiConversationRequest {
|
|
4984
|
+
isPinned: boolean;
|
|
4985
|
+
}
|
|
4986
|
+
|
|
4279
4987
|
export interface PostLoanComparisonPdfRequest {
|
|
4280
4988
|
/** @format uuid */
|
|
4281
4989
|
siteConfigurationID: string;
|
|
@@ -4436,6 +5144,10 @@ export interface RegisterUserRequest {
|
|
|
4436
5144
|
inviteCode?: string | null;
|
|
4437
5145
|
}
|
|
4438
5146
|
|
|
5147
|
+
export interface RenameAiConversationRequest {
|
|
5148
|
+
name: string;
|
|
5149
|
+
}
|
|
5150
|
+
|
|
4439
5151
|
export interface RequestImpersonationRequest {
|
|
4440
5152
|
email: string;
|
|
4441
5153
|
}
|
|
@@ -4566,7 +5278,7 @@ export interface SiteConfiguration {
|
|
|
4566
5278
|
deletedAt?: string | null;
|
|
4567
5279
|
/** @format uuid */
|
|
4568
5280
|
id: string;
|
|
4569
|
-
type:
|
|
5281
|
+
type: "None" | "Account" | "Corporate" | "Branch" | "LoanOfficer" | "Partner";
|
|
4570
5282
|
/** @format uuid */
|
|
4571
5283
|
entityID: string;
|
|
4572
5284
|
/** @format int32 */
|
|
@@ -4760,7 +5472,7 @@ export interface SiteConfigurationByUrl {
|
|
|
4760
5472
|
deletedAt?: string | null;
|
|
4761
5473
|
/** @format uuid */
|
|
4762
5474
|
id: string;
|
|
4763
|
-
type:
|
|
5475
|
+
type: "None" | "Account" | "Corporate" | "Branch" | "LoanOfficer" | "Partner";
|
|
4764
5476
|
/** @format uuid */
|
|
4765
5477
|
entityID: string;
|
|
4766
5478
|
/** @format int32 */
|
|
@@ -4972,7 +5684,7 @@ export interface SiteConfigurationForm {
|
|
|
4972
5684
|
export interface SiteConfigurationReduced {
|
|
4973
5685
|
/** @format uuid */
|
|
4974
5686
|
id: string;
|
|
4975
|
-
type:
|
|
5687
|
+
type: "None" | "Account" | "Corporate" | "Branch" | "LoanOfficer" | "Partner";
|
|
4976
5688
|
url?: string | null;
|
|
4977
5689
|
name: string;
|
|
4978
5690
|
/** @format int64 */
|
|
@@ -4990,7 +5702,7 @@ export interface SiteConfigurationRequest {
|
|
|
4990
5702
|
entityID: string;
|
|
4991
5703
|
/** @format int32 */
|
|
4992
5704
|
entityType: number;
|
|
4993
|
-
type:
|
|
5705
|
+
type: "None" | "Account" | "Corporate" | "Branch" | "LoanOfficer" | "Partner";
|
|
4994
5706
|
url: string;
|
|
4995
5707
|
name: string;
|
|
4996
5708
|
introduction?: string | null;
|
|
@@ -5167,7 +5879,7 @@ export interface SiteConfigurationSearchCriteria {
|
|
|
5167
5879
|
export interface SiteConfigurationSummary {
|
|
5168
5880
|
/** @format uuid */
|
|
5169
5881
|
id: string;
|
|
5170
|
-
type:
|
|
5882
|
+
type: "None" | "Account" | "Corporate" | "Branch" | "LoanOfficer" | "Partner";
|
|
5171
5883
|
url?: string | null;
|
|
5172
5884
|
name: string;
|
|
5173
5885
|
/** @format int64 */
|
|
@@ -5215,6 +5927,14 @@ export interface SocialSurveyRecord {
|
|
|
5215
5927
|
reviewCompletedTimeStamp?: string | null;
|
|
5216
5928
|
}
|
|
5217
5929
|
|
|
5930
|
+
export interface SupportedModel {
|
|
5931
|
+
modelId: string;
|
|
5932
|
+
displayName: string;
|
|
5933
|
+
provider: string;
|
|
5934
|
+
description?: string | null;
|
|
5935
|
+
isDefault: boolean;
|
|
5936
|
+
}
|
|
5937
|
+
|
|
5218
5938
|
export interface SurveyEmailRequest {
|
|
5219
5939
|
loanOfficerEmailAddress: string;
|
|
5220
5940
|
}
|
|
@@ -5450,7 +6170,20 @@ export interface UnregisteredBorrower {
|
|
|
5450
6170
|
lastName?: string | null;
|
|
5451
6171
|
fullName?: string | null;
|
|
5452
6172
|
email?: string | null;
|
|
5453
|
-
role:
|
|
6173
|
+
role:
|
|
6174
|
+
| "Borrower"
|
|
6175
|
+
| "CoBorrower"
|
|
6176
|
+
| "NonBorrower"
|
|
6177
|
+
| "LoanOfficer"
|
|
6178
|
+
| "LoanProcessor"
|
|
6179
|
+
| "LoanOfficerAssistant"
|
|
6180
|
+
| "SupportingLoanOfficer"
|
|
6181
|
+
| "BuyerAgent"
|
|
6182
|
+
| "SellerAgent"
|
|
6183
|
+
| "TitleInsuranceAgent"
|
|
6184
|
+
| "EscrowAgent"
|
|
6185
|
+
| "SettlementAgent"
|
|
6186
|
+
| "Admin";
|
|
5454
6187
|
}
|
|
5455
6188
|
|
|
5456
6189
|
export interface UpdateAccountRequest {
|
|
@@ -5463,6 +6196,47 @@ export interface UpdateAccountRequest {
|
|
|
5463
6196
|
settings: AccountSettingsRequest;
|
|
5464
6197
|
}
|
|
5465
6198
|
|
|
6199
|
+
export interface UpdateAiCanonicalFieldRequest {
|
|
6200
|
+
displayName: string;
|
|
6201
|
+
description: string;
|
|
6202
|
+
allowedRoles: string[];
|
|
6203
|
+
isPii: boolean;
|
|
6204
|
+
category?: string | null;
|
|
6205
|
+
}
|
|
6206
|
+
|
|
6207
|
+
export interface UpdateAiGuardrailRequest {
|
|
6208
|
+
name: string;
|
|
6209
|
+
category: "ContentSafety" | "PromptInjection" | "Privacy" | "Legal";
|
|
6210
|
+
description?: string | null;
|
|
6211
|
+
keywords: string[];
|
|
6212
|
+
responseTemplate: string;
|
|
6213
|
+
}
|
|
6214
|
+
|
|
6215
|
+
export interface UpdateAiPromptRequest {
|
|
6216
|
+
title: string;
|
|
6217
|
+
description: string;
|
|
6218
|
+
documentTypes: string[];
|
|
6219
|
+
applicableUrlSourceIds: string[];
|
|
6220
|
+
allowedRoles: string[];
|
|
6221
|
+
systemPrompt: string;
|
|
6222
|
+
/** @format int32 */
|
|
6223
|
+
sortOrder: number;
|
|
6224
|
+
category?: AiPromptCategory | null;
|
|
6225
|
+
queryTemplateName?: AiQueryTemplateName | null;
|
|
6226
|
+
displayHint?: AiDisplayHint | null;
|
|
6227
|
+
bedrockModelId?: string | null;
|
|
6228
|
+
requiredDataSources?: string[] | null;
|
|
6229
|
+
outputType?: AiOutputType | null;
|
|
6230
|
+
}
|
|
6231
|
+
|
|
6232
|
+
export interface UpdateAiUrlSourceRequest {
|
|
6233
|
+
name: string;
|
|
6234
|
+
url: string;
|
|
6235
|
+
description?: string | null;
|
|
6236
|
+
category: "Regulatory" | "Guidelines" | "MarketData" | "Custom";
|
|
6237
|
+
scope: "FullDomain" | "SpecificPath";
|
|
6238
|
+
}
|
|
6239
|
+
|
|
5466
6240
|
export interface UpdateCustomFieldDefinitionRequest {
|
|
5467
6241
|
isRequired: boolean;
|
|
5468
6242
|
/** @format int32 */
|
|
@@ -5772,7 +6546,20 @@ export interface UserDevice {
|
|
|
5772
6546
|
export interface UserDraft {
|
|
5773
6547
|
/** @format uuid */
|
|
5774
6548
|
draftID: string;
|
|
5775
|
-
role:
|
|
6549
|
+
role:
|
|
6550
|
+
| "Borrower"
|
|
6551
|
+
| "CoBorrower"
|
|
6552
|
+
| "NonBorrower"
|
|
6553
|
+
| "LoanOfficer"
|
|
6554
|
+
| "LoanProcessor"
|
|
6555
|
+
| "LoanOfficerAssistant"
|
|
6556
|
+
| "SupportingLoanOfficer"
|
|
6557
|
+
| "BuyerAgent"
|
|
6558
|
+
| "SellerAgent"
|
|
6559
|
+
| "TitleInsuranceAgent"
|
|
6560
|
+
| "EscrowAgent"
|
|
6561
|
+
| "SettlementAgent"
|
|
6562
|
+
| "Admin";
|
|
5776
6563
|
user: User;
|
|
5777
6564
|
}
|
|
5778
6565
|
|
|
@@ -5799,7 +6586,7 @@ export interface UserGroupAccessScope {
|
|
|
5799
6586
|
id: string;
|
|
5800
6587
|
/** @format uuid */
|
|
5801
6588
|
groupId: string;
|
|
5802
|
-
scopeType:
|
|
6589
|
+
scopeType: "User" | "Branch";
|
|
5803
6590
|
/** @format uuid */
|
|
5804
6591
|
userId?: string | null;
|
|
5805
6592
|
/** @format uuid */
|
|
@@ -5835,7 +6622,20 @@ export interface UserLoan {
|
|
|
5835
6622
|
deletedAt?: string | null;
|
|
5836
6623
|
loanID: string;
|
|
5837
6624
|
user: User;
|
|
5838
|
-
role:
|
|
6625
|
+
role:
|
|
6626
|
+
| "Borrower"
|
|
6627
|
+
| "CoBorrower"
|
|
6628
|
+
| "NonBorrower"
|
|
6629
|
+
| "LoanOfficer"
|
|
6630
|
+
| "LoanProcessor"
|
|
6631
|
+
| "LoanOfficerAssistant"
|
|
6632
|
+
| "SupportingLoanOfficer"
|
|
6633
|
+
| "BuyerAgent"
|
|
6634
|
+
| "SellerAgent"
|
|
6635
|
+
| "TitleInsuranceAgent"
|
|
6636
|
+
| "EscrowAgent"
|
|
6637
|
+
| "SettlementAgent"
|
|
6638
|
+
| "Admin";
|
|
5839
6639
|
/** @format int32 */
|
|
5840
6640
|
borrowerPair?: number | null;
|
|
5841
6641
|
/** @format int32 */
|
|
@@ -5848,11 +6648,11 @@ export interface UserLoanConsent {
|
|
|
5848
6648
|
id: string;
|
|
5849
6649
|
/** @format uuid */
|
|
5850
6650
|
userLoanID: string;
|
|
5851
|
-
type:
|
|
6651
|
+
type: "Econsent" | "CreditAuthorization" | "Tcpa";
|
|
5852
6652
|
providedConsent: boolean;
|
|
5853
6653
|
source?: ConsentSource | null;
|
|
5854
6654
|
ipAddress?: string | null;
|
|
5855
|
-
losSyncStatus:
|
|
6655
|
+
losSyncStatus: "NotStarted" | "Failed" | "Success";
|
|
5856
6656
|
/** @format date-time */
|
|
5857
6657
|
createdAt: string;
|
|
5858
6658
|
/** @format date-time */
|
|
@@ -5996,7 +6796,16 @@ export interface UserSummary {
|
|
|
5996
6796
|
id: string;
|
|
5997
6797
|
name?: string | null;
|
|
5998
6798
|
email?: string | null;
|
|
5999
|
-
role:
|
|
6799
|
+
role:
|
|
6800
|
+
| "Borrower"
|
|
6801
|
+
| "LoanOfficer"
|
|
6802
|
+
| "Admin"
|
|
6803
|
+
| "SuperAdmin"
|
|
6804
|
+
| "Realtor"
|
|
6805
|
+
| "SettlementAgent"
|
|
6806
|
+
| "LoanProcessor"
|
|
6807
|
+
| "LoanOfficerAssistant"
|
|
6808
|
+
| "SystemAdmin";
|
|
6000
6809
|
}
|
|
6001
6810
|
|
|
6002
6811
|
export interface VerifyPasswordRequest {
|
|
@@ -6026,771 +6835,1039 @@ export interface Workflow {
|
|
|
6026
6835
|
icon: string;
|
|
6027
6836
|
}
|
|
6028
6837
|
|
|
6029
|
-
|
|
6838
|
+
import type {
|
|
6839
|
+
AxiosInstance,
|
|
6840
|
+
AxiosRequestConfig,
|
|
6841
|
+
AxiosResponse,
|
|
6842
|
+
HeadersDefaults,
|
|
6843
|
+
ResponseType,
|
|
6844
|
+
} from "axios";
|
|
6845
|
+
import axios from "axios";
|
|
6030
6846
|
|
|
6031
|
-
export type
|
|
6032
|
-
| "Created"
|
|
6033
|
-
| "Modified"
|
|
6034
|
-
| "SoftDeleted"
|
|
6035
|
-
| "HardDeleted"
|
|
6036
|
-
| "Restored"
|
|
6037
|
-
| "Deactivated"
|
|
6038
|
-
| "Reactivated";
|
|
6847
|
+
export type QueryParamsType = Record<string | number, any>;
|
|
6039
6848
|
|
|
6040
|
-
export
|
|
6041
|
-
| "
|
|
6042
|
-
|
|
6043
|
-
|
|
6044
|
-
|
|
6045
|
-
|
|
6046
|
-
|
|
6047
|
-
|
|
6048
|
-
|
|
6049
|
-
|
|
6050
|
-
|
|
6051
|
-
|
|
6052
|
-
|
|
6053
|
-
|
|
6849
|
+
export interface FullRequestParams
|
|
6850
|
+
extends Omit<AxiosRequestConfig, "data" | "params" | "url" | "responseType"> {
|
|
6851
|
+
/** set parameter to `true` for call `securityWorker` for this request */
|
|
6852
|
+
secure?: boolean;
|
|
6853
|
+
/** request path */
|
|
6854
|
+
path: string;
|
|
6855
|
+
/** content type of request body */
|
|
6856
|
+
type?: ContentType;
|
|
6857
|
+
/** query params */
|
|
6858
|
+
query?: QueryParamsType;
|
|
6859
|
+
/** format of response (i.e. response.json() -> format: "json") */
|
|
6860
|
+
format?: ResponseType;
|
|
6861
|
+
/** request body */
|
|
6862
|
+
body?: unknown;
|
|
6863
|
+
}
|
|
6054
6864
|
|
|
6055
|
-
export type
|
|
6056
|
-
|
|
6057
|
-
| "
|
|
6058
|
-
|
|
6059
|
-
| "LoanOfficer"
|
|
6060
|
-
| "LoanProcessor"
|
|
6061
|
-
| "LoanOfficerAssistant"
|
|
6062
|
-
| "SupportingLoanOfficer"
|
|
6063
|
-
| "BuyerAgent"
|
|
6064
|
-
| "SellerAgent"
|
|
6065
|
-
| "TitleInsuranceAgent"
|
|
6066
|
-
| "EscrowAgent"
|
|
6067
|
-
| "SettlementAgent"
|
|
6068
|
-
| "Admin";
|
|
6069
|
-
|
|
6070
|
-
export type CreateAccessScopeRequestScopeTypeEnum = "User" | "Branch";
|
|
6071
|
-
|
|
6072
|
-
export type CreateAccountRequestEnvironmentEnum =
|
|
6073
|
-
| "Development"
|
|
6074
|
-
| "Staging"
|
|
6075
|
-
| "UAT"
|
|
6076
|
-
| "Production";
|
|
6077
|
-
|
|
6078
|
-
export type CreateCustomFieldDefinitionRequestDataTypeEnum =
|
|
6079
|
-
| "String"
|
|
6080
|
-
| "Number"
|
|
6081
|
-
| "Decimal"
|
|
6082
|
-
| "Boolean"
|
|
6083
|
-
| "Date"
|
|
6084
|
-
| "SingleSelect"
|
|
6085
|
-
| "MultiSelect";
|
|
6086
|
-
|
|
6087
|
-
export type CreateCustomFieldDefinitionRequestEntityTypeEnum = "Loan";
|
|
6088
|
-
|
|
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";
|
|
6103
|
-
|
|
6104
|
-
/** @deprecated */
|
|
6105
|
-
export type CreateInviteRequestRelationshipEnum =
|
|
6106
|
-
| "NotApplicable"
|
|
6107
|
-
| "Spouse"
|
|
6108
|
-
| "NonSpouse";
|
|
6109
|
-
|
|
6110
|
-
export type CreateLoanImportRequestImportModeEnum =
|
|
6111
|
-
| "All"
|
|
6112
|
-
| "NewOnly"
|
|
6113
|
-
| "UpdateOnly";
|
|
6865
|
+
export type RequestParams = Omit<
|
|
6866
|
+
FullRequestParams,
|
|
6867
|
+
"body" | "method" | "query" | "path"
|
|
6868
|
+
>;
|
|
6114
6869
|
|
|
6115
|
-
export
|
|
6116
|
-
| "
|
|
6117
|
-
|
|
6118
|
-
|
|
6119
|
-
|
|
|
6120
|
-
|
|
6121
|
-
|
|
6122
|
-
|
|
6123
|
-
| "BuyerAgent"
|
|
6124
|
-
| "SellerAgent"
|
|
6125
|
-
| "TitleInsuranceAgent"
|
|
6126
|
-
| "EscrowAgent"
|
|
6127
|
-
| "SettlementAgent"
|
|
6128
|
-
| "Admin";
|
|
6870
|
+
export interface ApiConfig<SecurityDataType = unknown>
|
|
6871
|
+
extends Omit<AxiosRequestConfig, "data" | "cancelToken"> {
|
|
6872
|
+
securityWorker?: (
|
|
6873
|
+
securityData: SecurityDataType | null,
|
|
6874
|
+
) => Promise<AxiosRequestConfig | void> | AxiosRequestConfig | void;
|
|
6875
|
+
secure?: boolean;
|
|
6876
|
+
format?: ResponseType;
|
|
6877
|
+
}
|
|
6129
6878
|
|
|
6130
|
-
export
|
|
6131
|
-
|
|
6132
|
-
|
|
6133
|
-
|
|
6134
|
-
|
|
6135
|
-
|
|
6136
|
-
|
|
6137
|
-
|
|
6879
|
+
export enum ContentType {
|
|
6880
|
+
JsonPatch = "application/json-patch+json",
|
|
6881
|
+
Json = "application/json",
|
|
6882
|
+
JsonApi = "application/vnd.api+json",
|
|
6883
|
+
FormData = "multipart/form-data",
|
|
6884
|
+
UrlEncoded = "application/x-www-form-urlencoded",
|
|
6885
|
+
Text = "text/plain",
|
|
6886
|
+
}
|
|
6138
6887
|
|
|
6139
|
-
export
|
|
6888
|
+
export class HttpClient<SecurityDataType = unknown> {
|
|
6889
|
+
public instance: AxiosInstance;
|
|
6890
|
+
private securityData: SecurityDataType | null = null;
|
|
6891
|
+
private securityWorker?: ApiConfig<SecurityDataType>["securityWorker"];
|
|
6892
|
+
private secure?: boolean;
|
|
6893
|
+
private format?: ResponseType;
|
|
6140
6894
|
|
|
6141
|
-
|
|
6142
|
-
|
|
6143
|
-
|
|
6144
|
-
|
|
6145
|
-
|
|
6146
|
-
|
|
6147
|
-
|
|
6148
|
-
|
|
6895
|
+
constructor({
|
|
6896
|
+
securityWorker,
|
|
6897
|
+
secure,
|
|
6898
|
+
format,
|
|
6899
|
+
...axiosConfig
|
|
6900
|
+
}: ApiConfig<SecurityDataType> = {}) {
|
|
6901
|
+
this.instance = axios.create({
|
|
6902
|
+
...axiosConfig,
|
|
6903
|
+
baseURL: axiosConfig.baseURL || "",
|
|
6904
|
+
});
|
|
6905
|
+
this.secure = secure;
|
|
6906
|
+
this.format = format;
|
|
6907
|
+
this.securityWorker = securityWorker;
|
|
6908
|
+
}
|
|
6149
6909
|
|
|
6150
|
-
|
|
6151
|
-
|
|
6152
|
-
|
|
6153
|
-
| "Admin"
|
|
6154
|
-
| "SuperAdmin"
|
|
6155
|
-
| "Realtor"
|
|
6156
|
-
| "SettlementAgent"
|
|
6157
|
-
| "LoanProcessor"
|
|
6158
|
-
| "LoanOfficerAssistant"
|
|
6159
|
-
| "SystemAdmin";
|
|
6910
|
+
public setSecurityData = (data: SecurityDataType | null) => {
|
|
6911
|
+
this.securityData = data;
|
|
6912
|
+
};
|
|
6160
6913
|
|
|
6161
|
-
|
|
6162
|
-
|
|
6163
|
-
|
|
6164
|
-
|
|
6914
|
+
protected mergeRequestParams(
|
|
6915
|
+
params1: AxiosRequestConfig,
|
|
6916
|
+
params2?: AxiosRequestConfig,
|
|
6917
|
+
): AxiosRequestConfig {
|
|
6918
|
+
const method = params1.method || (params2 && params2.method);
|
|
6165
6919
|
|
|
6166
|
-
|
|
6167
|
-
|
|
6168
|
-
|
|
6169
|
-
|
|
6170
|
-
|
|
6171
|
-
|
|
6172
|
-
|
|
6173
|
-
|
|
6174
|
-
|
|
6175
|
-
|
|
6920
|
+
return {
|
|
6921
|
+
...this.instance.defaults,
|
|
6922
|
+
...params1,
|
|
6923
|
+
...(params2 || {}),
|
|
6924
|
+
headers: {
|
|
6925
|
+
...((method &&
|
|
6926
|
+
this.instance.defaults.headers[
|
|
6927
|
+
method.toLowerCase() as keyof HeadersDefaults
|
|
6928
|
+
]) ||
|
|
6929
|
+
{}),
|
|
6930
|
+
...(params1.headers || {}),
|
|
6931
|
+
...((params2 && params2.headers) || {}),
|
|
6932
|
+
},
|
|
6933
|
+
};
|
|
6934
|
+
}
|
|
6176
6935
|
|
|
6177
|
-
|
|
6178
|
-
|
|
6179
|
-
|
|
6180
|
-
|
|
6936
|
+
protected stringifyFormItem(formItem: unknown) {
|
|
6937
|
+
if (typeof formItem === "object" && formItem !== null) {
|
|
6938
|
+
return JSON.stringify(formItem);
|
|
6939
|
+
} else {
|
|
6940
|
+
return `${formItem}`;
|
|
6941
|
+
}
|
|
6942
|
+
}
|
|
6181
6943
|
|
|
6182
|
-
|
|
6183
|
-
|
|
6184
|
-
|
|
6185
|
-
|
|
6186
|
-
|
|
6187
|
-
|
|
6188
|
-
|
|
6189
|
-
|
|
6944
|
+
protected createFormData(input: Record<string, unknown>): FormData {
|
|
6945
|
+
if (input instanceof FormData) {
|
|
6946
|
+
return input;
|
|
6947
|
+
}
|
|
6948
|
+
return Object.keys(input || {}).reduce((formData, key) => {
|
|
6949
|
+
const property = input[key];
|
|
6950
|
+
const propertyContent: any[] =
|
|
6951
|
+
property instanceof Array ? property : [property];
|
|
6190
6952
|
|
|
6191
|
-
|
|
6953
|
+
for (const formItem of propertyContent) {
|
|
6954
|
+
const isFileType = formItem instanceof Blob || formItem instanceof File;
|
|
6955
|
+
formData.append(
|
|
6956
|
+
key,
|
|
6957
|
+
isFileType ? formItem : this.stringifyFormItem(formItem),
|
|
6958
|
+
);
|
|
6959
|
+
}
|
|
6192
6960
|
|
|
6193
|
-
|
|
6961
|
+
return formData;
|
|
6962
|
+
}, new FormData());
|
|
6963
|
+
}
|
|
6194
6964
|
|
|
6195
|
-
|
|
6196
|
-
|
|
6197
|
-
|
|
6965
|
+
public request = async <T = any, _E = any>({
|
|
6966
|
+
secure,
|
|
6967
|
+
path,
|
|
6968
|
+
type,
|
|
6969
|
+
query,
|
|
6970
|
+
format,
|
|
6971
|
+
body,
|
|
6972
|
+
...params
|
|
6973
|
+
}: FullRequestParams): Promise<AxiosResponse<T>> => {
|
|
6974
|
+
const secureParams =
|
|
6975
|
+
((typeof secure === "boolean" ? secure : this.secure) &&
|
|
6976
|
+
this.securityWorker &&
|
|
6977
|
+
(await this.securityWorker(this.securityData))) ||
|
|
6978
|
+
{};
|
|
6979
|
+
const requestParams = this.mergeRequestParams(params, secureParams);
|
|
6980
|
+
const responseFormat = format || this.format || undefined;
|
|
6198
6981
|
|
|
6199
|
-
|
|
6200
|
-
|
|
6201
|
-
|
|
6982
|
+
if (
|
|
6983
|
+
type === ContentType.FormData &&
|
|
6984
|
+
body &&
|
|
6985
|
+
body !== null &&
|
|
6986
|
+
typeof body === "object"
|
|
6987
|
+
) {
|
|
6988
|
+
body = this.createFormData(body as Record<string, unknown>);
|
|
6989
|
+
}
|
|
6202
6990
|
|
|
6203
|
-
|
|
6204
|
-
|
|
6205
|
-
|
|
6991
|
+
if (
|
|
6992
|
+
type === ContentType.Text &&
|
|
6993
|
+
body &&
|
|
6994
|
+
body !== null &&
|
|
6995
|
+
typeof body !== "string"
|
|
6996
|
+
) {
|
|
6997
|
+
body = JSON.stringify(body);
|
|
6998
|
+
}
|
|
6206
6999
|
|
|
6207
|
-
|
|
6208
|
-
|
|
6209
|
-
|
|
7000
|
+
return this.instance.request({
|
|
7001
|
+
...requestParams,
|
|
7002
|
+
headers: {
|
|
7003
|
+
...(requestParams.headers || {}),
|
|
7004
|
+
...(type ? { "Content-Type": type } : {}),
|
|
7005
|
+
},
|
|
7006
|
+
params: query,
|
|
7007
|
+
responseType: responseFormat,
|
|
7008
|
+
data: body,
|
|
7009
|
+
url: path,
|
|
7010
|
+
});
|
|
7011
|
+
};
|
|
7012
|
+
}
|
|
6210
7013
|
|
|
6211
|
-
|
|
6212
|
-
|
|
6213
|
-
|
|
6214
|
-
|
|
6215
|
-
|
|
6216
|
-
|
|
6217
|
-
|
|
6218
|
-
|
|
7014
|
+
/**
|
|
7015
|
+
* @title The Big POS API
|
|
7016
|
+
* @version v2.43.8
|
|
7017
|
+
* @termsOfService https://www.thebigpos.com/terms-of-use/
|
|
7018
|
+
* @contact Mortgage Automation Technologies <support@thebigpos.com> (https://www.thebigpos.com/terms-of-use/)
|
|
7019
|
+
*/
|
|
7020
|
+
export class Api<
|
|
7021
|
+
SecurityDataType extends unknown,
|
|
7022
|
+
> extends HttpClient<SecurityDataType> {
|
|
7023
|
+
/**
|
|
7024
|
+
* No description
|
|
7025
|
+
*
|
|
7026
|
+
* @tags Saml
|
|
7027
|
+
* @name PostRoot
|
|
7028
|
+
* @request POST:/
|
|
7029
|
+
* @secure
|
|
7030
|
+
* @response `200` `void` OK
|
|
7031
|
+
*/
|
|
7032
|
+
postRoot = (params: RequestParams = {}) =>
|
|
7033
|
+
this.request<void, any>({
|
|
7034
|
+
path: `/`,
|
|
7035
|
+
method: "POST",
|
|
7036
|
+
secure: true,
|
|
7037
|
+
...params,
|
|
7038
|
+
});
|
|
6219
7039
|
|
|
6220
|
-
|
|
6221
|
-
|
|
6222
|
-
|
|
6223
|
-
|
|
7040
|
+
/**
|
|
7041
|
+
* No description
|
|
7042
|
+
*
|
|
7043
|
+
* @tags TheBigPOS
|
|
7044
|
+
* @name GetRoot
|
|
7045
|
+
* @request GET:/
|
|
7046
|
+
* @secure
|
|
7047
|
+
* @response `200` `string` OK
|
|
7048
|
+
*/
|
|
7049
|
+
getRoot = (params: RequestParams = {}) =>
|
|
7050
|
+
this.request<string, any>({
|
|
7051
|
+
path: `/`,
|
|
7052
|
+
method: "GET",
|
|
7053
|
+
secure: true,
|
|
7054
|
+
...params,
|
|
7055
|
+
});
|
|
6224
7056
|
|
|
6225
|
-
|
|
6226
|
-
|
|
6227
|
-
|
|
6228
|
-
|
|
6229
|
-
|
|
6230
|
-
|
|
6231
|
-
|
|
6232
|
-
|
|
6233
|
-
|
|
6234
|
-
|
|
6235
|
-
|
|
6236
|
-
|
|
6237
|
-
|
|
6238
|
-
|
|
6239
|
-
|
|
6240
|
-
|
|
6241
|
-
|
|
6242
|
-
|
|
6243
|
-
|
|
6244
|
-
|
|
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";
|
|
7057
|
+
api = {
|
|
7058
|
+
/**
|
|
7059
|
+
* No description
|
|
7060
|
+
*
|
|
7061
|
+
* @tags Account
|
|
7062
|
+
* @name GetMyAccount
|
|
7063
|
+
* @summary Get
|
|
7064
|
+
* @request GET:/api/account
|
|
7065
|
+
* @secure
|
|
7066
|
+
* @response `200` `Account` OK
|
|
7067
|
+
* @response `404` `ProblemDetails` Not Found
|
|
7068
|
+
*/
|
|
7069
|
+
getMyAccount: (params: RequestParams = {}) =>
|
|
7070
|
+
this.request<Account, ProblemDetails>({
|
|
7071
|
+
path: `/api/account`,
|
|
7072
|
+
method: "GET",
|
|
7073
|
+
secure: true,
|
|
7074
|
+
format: "json",
|
|
7075
|
+
...params,
|
|
7076
|
+
}),
|
|
6488
7077
|
|
|
6489
|
-
|
|
7078
|
+
/**
|
|
7079
|
+
* No description
|
|
7080
|
+
*
|
|
7081
|
+
* @tags Account
|
|
7082
|
+
* @name ReplaceMyAccount
|
|
7083
|
+
* @summary Replace
|
|
7084
|
+
* @request PUT:/api/account
|
|
7085
|
+
* @secure
|
|
7086
|
+
* @response `200` `Account` OK
|
|
7087
|
+
* @response `404` `ProblemDetails` Not Found
|
|
7088
|
+
* @response `422` `ProblemDetails` Unprocessable Content
|
|
7089
|
+
*/
|
|
7090
|
+
replaceMyAccount: (
|
|
7091
|
+
data: UpdateAccountRequest,
|
|
7092
|
+
params: RequestParams = {},
|
|
7093
|
+
) =>
|
|
7094
|
+
this.request<Account, ProblemDetails>({
|
|
7095
|
+
path: `/api/account`,
|
|
7096
|
+
method: "PUT",
|
|
7097
|
+
body: data,
|
|
7098
|
+
secure: true,
|
|
7099
|
+
type: ContentType.Json,
|
|
7100
|
+
format: "json",
|
|
7101
|
+
...params,
|
|
7102
|
+
}),
|
|
6490
7103
|
|
|
6491
|
-
|
|
6492
|
-
|
|
6493
|
-
|
|
6494
|
-
|
|
6495
|
-
|
|
6496
|
-
|
|
6497
|
-
|
|
6498
|
-
|
|
6499
|
-
|
|
6500
|
-
|
|
6501
|
-
|
|
6502
|
-
|
|
6503
|
-
|
|
6504
|
-
|
|
7104
|
+
/**
|
|
7105
|
+
* No description
|
|
7106
|
+
*
|
|
7107
|
+
* @tags Account
|
|
7108
|
+
* @name GetSiteConfigurationByAccount
|
|
7109
|
+
* @summary Get Site Configuration
|
|
7110
|
+
* @request GET:/api/account/site-configurations
|
|
7111
|
+
* @secure
|
|
7112
|
+
* @response `200` `SiteConfiguration` OK
|
|
7113
|
+
*/
|
|
7114
|
+
getSiteConfigurationByAccount: (params: RequestParams = {}) =>
|
|
7115
|
+
this.request<SiteConfiguration, any>({
|
|
7116
|
+
path: `/api/account/site-configurations`,
|
|
7117
|
+
method: "GET",
|
|
7118
|
+
secure: true,
|
|
7119
|
+
format: "json",
|
|
7120
|
+
...params,
|
|
7121
|
+
}),
|
|
6505
7122
|
|
|
6506
|
-
|
|
6507
|
-
|
|
6508
|
-
|
|
6509
|
-
|
|
7123
|
+
/**
|
|
7124
|
+
* No description
|
|
7125
|
+
*
|
|
7126
|
+
* @tags Account
|
|
7127
|
+
* @name UpdateSiteConfigurationForAccount
|
|
7128
|
+
* @summary Update Site Configuration
|
|
7129
|
+
* @request PUT:/api/account/site-configurations
|
|
7130
|
+
* @secure
|
|
7131
|
+
* @response `200` `SiteConfiguration` OK
|
|
7132
|
+
* @response `422` `UnprocessableEntity` Unprocessable Content
|
|
7133
|
+
*/
|
|
7134
|
+
updateSiteConfigurationForAccount: (
|
|
7135
|
+
data: SiteConfiguration,
|
|
7136
|
+
params: RequestParams = {},
|
|
7137
|
+
) =>
|
|
7138
|
+
this.request<SiteConfiguration, UnprocessableEntity>({
|
|
7139
|
+
path: `/api/account/site-configurations`,
|
|
7140
|
+
method: "PUT",
|
|
7141
|
+
body: data,
|
|
7142
|
+
secure: true,
|
|
7143
|
+
type: ContentType.Json,
|
|
7144
|
+
format: "json",
|
|
7145
|
+
...params,
|
|
7146
|
+
}),
|
|
6510
7147
|
|
|
6511
|
-
|
|
6512
|
-
|
|
6513
|
-
|
|
6514
|
-
|
|
7148
|
+
/**
|
|
7149
|
+
* No description
|
|
7150
|
+
*
|
|
7151
|
+
* @tags AccountReactivation
|
|
7152
|
+
* @name RequestAccountReactivation
|
|
7153
|
+
* @summary Request account reactivation
|
|
7154
|
+
* @request POST:/api/account/reactivation/request
|
|
7155
|
+
* @secure
|
|
7156
|
+
* @response `204` `void` No Content
|
|
7157
|
+
*/
|
|
7158
|
+
requestAccountReactivation: (
|
|
7159
|
+
data: AccountReactivationRequest,
|
|
7160
|
+
params: RequestParams = {},
|
|
7161
|
+
) =>
|
|
7162
|
+
this.request<void, any>({
|
|
7163
|
+
path: `/api/account/reactivation/request`,
|
|
7164
|
+
method: "POST",
|
|
7165
|
+
body: data,
|
|
7166
|
+
secure: true,
|
|
7167
|
+
type: ContentType.Json,
|
|
7168
|
+
...params,
|
|
7169
|
+
}),
|
|
6515
7170
|
|
|
6516
|
-
|
|
6517
|
-
|
|
6518
|
-
|
|
6519
|
-
|
|
6520
|
-
|
|
6521
|
-
|
|
6522
|
-
|
|
6523
|
-
|
|
6524
|
-
|
|
6525
|
-
|
|
7171
|
+
/**
|
|
7172
|
+
* No description
|
|
7173
|
+
*
|
|
7174
|
+
* @tags AccountReactivation
|
|
7175
|
+
* @name CompleteAccountReactivation
|
|
7176
|
+
* @summary Complete account reactivation with new password
|
|
7177
|
+
* @request POST:/api/account/reactivation/complete
|
|
7178
|
+
* @secure
|
|
7179
|
+
* @response `204` `void` No Content
|
|
7180
|
+
* @response `400` `ProblemDetails` Bad Request
|
|
7181
|
+
*/
|
|
7182
|
+
completeAccountReactivation: (
|
|
7183
|
+
data: AccountReactivationCompleteRequest,
|
|
7184
|
+
params: RequestParams = {},
|
|
7185
|
+
) =>
|
|
7186
|
+
this.request<void, ProblemDetails>({
|
|
7187
|
+
path: `/api/account/reactivation/complete`,
|
|
7188
|
+
method: "POST",
|
|
7189
|
+
body: data,
|
|
7190
|
+
secure: true,
|
|
7191
|
+
type: ContentType.Json,
|
|
7192
|
+
...params,
|
|
7193
|
+
}),
|
|
6526
7194
|
|
|
6527
|
-
|
|
7195
|
+
/**
|
|
7196
|
+
* No description
|
|
7197
|
+
*
|
|
7198
|
+
* @tags Accounts
|
|
7199
|
+
* @name GetAccounts
|
|
7200
|
+
* @summary Get All
|
|
7201
|
+
* @request GET:/api/accounts
|
|
7202
|
+
* @secure
|
|
7203
|
+
* @response `200` `(Account)[]` OK
|
|
7204
|
+
*/
|
|
7205
|
+
getAccounts: (params: RequestParams = {}) =>
|
|
7206
|
+
this.request<Account[], any>({
|
|
7207
|
+
path: `/api/accounts`,
|
|
7208
|
+
method: "GET",
|
|
7209
|
+
secure: true,
|
|
7210
|
+
format: "json",
|
|
7211
|
+
...params,
|
|
7212
|
+
}),
|
|
6528
7213
|
|
|
6529
|
-
/**
|
|
6530
|
-
|
|
6531
|
-
|
|
6532
|
-
|
|
6533
|
-
|
|
6534
|
-
|
|
6535
|
-
|
|
6536
|
-
|
|
6537
|
-
|
|
6538
|
-
|
|
6539
|
-
|
|
7214
|
+
/**
|
|
7215
|
+
* No description
|
|
7216
|
+
*
|
|
7217
|
+
* @tags Accounts
|
|
7218
|
+
* @name CreateAccount
|
|
7219
|
+
* @summary Create
|
|
7220
|
+
* @request POST:/api/accounts
|
|
7221
|
+
* @secure
|
|
7222
|
+
* @response `201` `Account` Created
|
|
7223
|
+
* @response `422` `ProblemDetails` Unprocessable Content
|
|
7224
|
+
*/
|
|
7225
|
+
createAccount: (data: CreateAccountRequest, params: RequestParams = {}) =>
|
|
7226
|
+
this.request<Account, ProblemDetails>({
|
|
7227
|
+
path: `/api/accounts`,
|
|
7228
|
+
method: "POST",
|
|
7229
|
+
body: data,
|
|
7230
|
+
secure: true,
|
|
7231
|
+
type: ContentType.Json,
|
|
7232
|
+
format: "json",
|
|
7233
|
+
...params,
|
|
7234
|
+
}),
|
|
6540
7235
|
|
|
6541
|
-
|
|
6542
|
-
|
|
6543
|
-
|
|
6544
|
-
|
|
7236
|
+
/**
|
|
7237
|
+
* No description
|
|
7238
|
+
*
|
|
7239
|
+
* @tags Accounts
|
|
7240
|
+
* @name GetAccount
|
|
7241
|
+
* @summary Get by ID
|
|
7242
|
+
* @request GET:/api/accounts/{id}
|
|
7243
|
+
* @secure
|
|
7244
|
+
* @response `201` `Account` Created
|
|
7245
|
+
* @response `422` `ProblemDetails` Unprocessable Content
|
|
7246
|
+
*/
|
|
7247
|
+
getAccount: (id: string, params: RequestParams = {}) =>
|
|
7248
|
+
this.request<Account, ProblemDetails>({
|
|
7249
|
+
path: `/api/accounts/${id}`,
|
|
7250
|
+
method: "GET",
|
|
7251
|
+
secure: true,
|
|
7252
|
+
format: "json",
|
|
7253
|
+
...params,
|
|
7254
|
+
}),
|
|
6545
7255
|
|
|
6546
|
-
|
|
6547
|
-
|
|
6548
|
-
|
|
6549
|
-
|
|
7256
|
+
/**
|
|
7257
|
+
* No description
|
|
7258
|
+
*
|
|
7259
|
+
* @tags Accounts
|
|
7260
|
+
* @name DeleteAccount
|
|
7261
|
+
* @summary Delete
|
|
7262
|
+
* @request DELETE:/api/accounts/{id}
|
|
7263
|
+
* @secure
|
|
7264
|
+
* @response `204` `Account` No Content
|
|
7265
|
+
* @response `404` `ProblemDetails` Not Found
|
|
7266
|
+
* @response `422` `ProblemDetails` Unprocessable Content
|
|
7267
|
+
*/
|
|
7268
|
+
deleteAccount: (
|
|
7269
|
+
id: string,
|
|
7270
|
+
query?: {
|
|
7271
|
+
/** @default false */
|
|
7272
|
+
hardDelete?: boolean;
|
|
7273
|
+
},
|
|
7274
|
+
params: RequestParams = {},
|
|
7275
|
+
) =>
|
|
7276
|
+
this.request<Account, ProblemDetails>({
|
|
7277
|
+
path: `/api/accounts/${id}`,
|
|
7278
|
+
method: "DELETE",
|
|
7279
|
+
query: query,
|
|
7280
|
+
secure: true,
|
|
7281
|
+
format: "json",
|
|
7282
|
+
...params,
|
|
7283
|
+
}),
|
|
6550
7284
|
|
|
6551
|
-
|
|
6552
|
-
|
|
6553
|
-
|
|
6554
|
-
|
|
7285
|
+
/**
|
|
7286
|
+
* No description
|
|
7287
|
+
*
|
|
7288
|
+
* @tags Accounts
|
|
7289
|
+
* @name UpdateAccountBilling
|
|
7290
|
+
* @summary Update billing configuration
|
|
7291
|
+
* @request PUT:/api/accounts/{id}/billing
|
|
7292
|
+
* @secure
|
|
7293
|
+
* @response `200` `AccountBilling` OK
|
|
7294
|
+
* @response `404` `ProblemDetails` Not Found
|
|
7295
|
+
* @response `422` `ProblemDetails` Unprocessable Content
|
|
7296
|
+
*/
|
|
7297
|
+
updateAccountBilling: (
|
|
7298
|
+
id: string,
|
|
7299
|
+
data: AccountBillingRequest,
|
|
7300
|
+
params: RequestParams = {},
|
|
7301
|
+
) =>
|
|
7302
|
+
this.request<AccountBilling, ProblemDetails>({
|
|
7303
|
+
path: `/api/accounts/${id}/billing`,
|
|
7304
|
+
method: "PUT",
|
|
7305
|
+
body: data,
|
|
7306
|
+
secure: true,
|
|
7307
|
+
type: ContentType.Json,
|
|
7308
|
+
format: "json",
|
|
7309
|
+
...params,
|
|
7310
|
+
}),
|
|
6555
7311
|
|
|
6556
|
-
|
|
6557
|
-
|
|
6558
|
-
|
|
6559
|
-
|
|
7312
|
+
/**
|
|
7313
|
+
* No description
|
|
7314
|
+
*
|
|
7315
|
+
* @tags AiAdmin
|
|
7316
|
+
* @name GetAiAuditLogs
|
|
7317
|
+
* @summary Get paginated audit logs
|
|
7318
|
+
* @request GET:/api/ai/admin/audit-logs
|
|
7319
|
+
* @secure
|
|
7320
|
+
* @response `200` `AiAuditLogPaginated` OK
|
|
7321
|
+
*/
|
|
7322
|
+
getAiAuditLogs: (
|
|
7323
|
+
query?: {
|
|
7324
|
+
eventType?: AiAuditEventType;
|
|
7325
|
+
/** @format date-time */
|
|
7326
|
+
startDate?: string;
|
|
7327
|
+
/** @format date-time */
|
|
7328
|
+
endDate?: string;
|
|
7329
|
+
/** @format int32 */
|
|
7330
|
+
pageSize?: number;
|
|
7331
|
+
/** @format int32 */
|
|
7332
|
+
pageNumber?: number;
|
|
7333
|
+
sortBy?: string;
|
|
7334
|
+
sortDirection?: string;
|
|
7335
|
+
},
|
|
7336
|
+
params: RequestParams = {},
|
|
7337
|
+
) =>
|
|
7338
|
+
this.request<AiAuditLogPaginated, any>({
|
|
7339
|
+
path: `/api/ai/admin/audit-logs`,
|
|
7340
|
+
method: "GET",
|
|
7341
|
+
query: query,
|
|
7342
|
+
secure: true,
|
|
7343
|
+
format: "json",
|
|
7344
|
+
...params,
|
|
7345
|
+
}),
|
|
6560
7346
|
|
|
6561
|
-
|
|
6562
|
-
|
|
6563
|
-
|
|
6564
|
-
|
|
6565
|
-
|
|
6566
|
-
|
|
6567
|
-
|
|
6568
|
-
|
|
7347
|
+
/**
|
|
7348
|
+
* No description
|
|
7349
|
+
*
|
|
7350
|
+
* @tags AiAdmin
|
|
7351
|
+
* @name GetAiAdminStats
|
|
7352
|
+
* @summary Get AI admin dashboard stats
|
|
7353
|
+
* @request GET:/api/ai/admin/stats
|
|
7354
|
+
* @secure
|
|
7355
|
+
* @response `200` `AiAdminStats` OK
|
|
7356
|
+
*/
|
|
7357
|
+
getAiAdminStats: (
|
|
7358
|
+
query?: {
|
|
7359
|
+
/** @format date-time */
|
|
7360
|
+
startDate?: string;
|
|
7361
|
+
/** @format date-time */
|
|
7362
|
+
endDate?: string;
|
|
7363
|
+
},
|
|
7364
|
+
params: RequestParams = {},
|
|
7365
|
+
) =>
|
|
7366
|
+
this.request<AiAdminStats, any>({
|
|
7367
|
+
path: `/api/ai/admin/stats`,
|
|
7368
|
+
method: "GET",
|
|
7369
|
+
query: query,
|
|
7370
|
+
secure: true,
|
|
7371
|
+
format: "json",
|
|
7372
|
+
...params,
|
|
7373
|
+
}),
|
|
6569
7374
|
|
|
6570
|
-
|
|
7375
|
+
/**
|
|
7376
|
+
* No description
|
|
7377
|
+
*
|
|
7378
|
+
* @tags AiAdminPrompt
|
|
7379
|
+
* @name GetAiPrompts
|
|
7380
|
+
* @summary Get all prompts
|
|
7381
|
+
* @request GET:/api/ai/admin/prompts
|
|
7382
|
+
* @secure
|
|
7383
|
+
* @response `200` `(AiPrompt)[]` OK
|
|
7384
|
+
*/
|
|
7385
|
+
getAiPrompts: (params: RequestParams = {}) =>
|
|
7386
|
+
this.request<AiPrompt[], any>({
|
|
7387
|
+
path: `/api/ai/admin/prompts`,
|
|
7388
|
+
method: "GET",
|
|
7389
|
+
secure: true,
|
|
7390
|
+
format: "json",
|
|
7391
|
+
...params,
|
|
7392
|
+
}),
|
|
6571
7393
|
|
|
6572
|
-
|
|
6573
|
-
|
|
6574
|
-
|
|
6575
|
-
|
|
6576
|
-
|
|
6577
|
-
|
|
6578
|
-
|
|
6579
|
-
|
|
6580
|
-
|
|
6581
|
-
|
|
6582
|
-
|
|
6583
|
-
|
|
6584
|
-
|
|
6585
|
-
|
|
6586
|
-
|
|
7394
|
+
/**
|
|
7395
|
+
* No description
|
|
7396
|
+
*
|
|
7397
|
+
* @tags AiAdminPrompt
|
|
7398
|
+
* @name CreateAiPrompt
|
|
7399
|
+
* @summary Create custom prompt
|
|
7400
|
+
* @request POST:/api/ai/admin/prompts
|
|
7401
|
+
* @secure
|
|
7402
|
+
* @response `201` `AiPrompt` Created
|
|
7403
|
+
* @response `400` `ProblemDetails` Bad Request
|
|
7404
|
+
*/
|
|
7405
|
+
createAiPrompt: (data: CreateAiPromptRequest, params: RequestParams = {}) =>
|
|
7406
|
+
this.request<AiPrompt, ProblemDetails>({
|
|
7407
|
+
path: `/api/ai/admin/prompts`,
|
|
7408
|
+
method: "POST",
|
|
7409
|
+
body: data,
|
|
7410
|
+
secure: true,
|
|
7411
|
+
type: ContentType.Json,
|
|
7412
|
+
format: "json",
|
|
7413
|
+
...params,
|
|
7414
|
+
}),
|
|
6587
7415
|
|
|
6588
|
-
|
|
6589
|
-
|
|
6590
|
-
|
|
6591
|
-
|
|
7416
|
+
/**
|
|
7417
|
+
* No description
|
|
7418
|
+
*
|
|
7419
|
+
* @tags AiAdminPrompt
|
|
7420
|
+
* @name GetAiPrompt
|
|
7421
|
+
* @summary Get prompt by ID
|
|
7422
|
+
* @request GET:/api/ai/admin/prompts/{id}
|
|
7423
|
+
* @secure
|
|
7424
|
+
* @response `200` `AiPrompt` OK
|
|
7425
|
+
* @response `404` `ProblemDetails` Not Found
|
|
7426
|
+
*/
|
|
7427
|
+
getAiPrompt: (id: string, params: RequestParams = {}) =>
|
|
7428
|
+
this.request<AiPrompt, ProblemDetails>({
|
|
7429
|
+
path: `/api/ai/admin/prompts/${id}`,
|
|
7430
|
+
method: "GET",
|
|
7431
|
+
secure: true,
|
|
7432
|
+
format: "json",
|
|
7433
|
+
...params,
|
|
7434
|
+
}),
|
|
6592
7435
|
|
|
6593
|
-
|
|
6594
|
-
|
|
6595
|
-
|
|
6596
|
-
|
|
6597
|
-
|
|
6598
|
-
|
|
6599
|
-
|
|
6600
|
-
|
|
7436
|
+
/**
|
|
7437
|
+
* No description
|
|
7438
|
+
*
|
|
7439
|
+
* @tags AiAdminPrompt
|
|
7440
|
+
* @name UpdateAiPrompt
|
|
7441
|
+
* @summary Update prompt
|
|
7442
|
+
* @request PUT:/api/ai/admin/prompts/{id}
|
|
7443
|
+
* @secure
|
|
7444
|
+
* @response `200` `AiPrompt` OK
|
|
7445
|
+
* @response `400` `ProblemDetails` Bad Request
|
|
7446
|
+
* @response `404` `ProblemDetails` Not Found
|
|
7447
|
+
*/
|
|
7448
|
+
updateAiPrompt: (
|
|
7449
|
+
id: string,
|
|
7450
|
+
data: UpdateAiPromptRequest,
|
|
7451
|
+
params: RequestParams = {},
|
|
7452
|
+
) =>
|
|
7453
|
+
this.request<AiPrompt, ProblemDetails>({
|
|
7454
|
+
path: `/api/ai/admin/prompts/${id}`,
|
|
7455
|
+
method: "PUT",
|
|
7456
|
+
body: data,
|
|
7457
|
+
secure: true,
|
|
7458
|
+
type: ContentType.Json,
|
|
7459
|
+
format: "json",
|
|
7460
|
+
...params,
|
|
7461
|
+
}),
|
|
6601
7462
|
|
|
6602
|
-
|
|
6603
|
-
|
|
6604
|
-
|
|
6605
|
-
|
|
6606
|
-
|
|
6607
|
-
|
|
7463
|
+
/**
|
|
7464
|
+
* No description
|
|
7465
|
+
*
|
|
7466
|
+
* @tags AiAdminPrompt
|
|
7467
|
+
* @name DeleteAiPrompt
|
|
7468
|
+
* @summary Delete prompt
|
|
7469
|
+
* @request DELETE:/api/ai/admin/prompts/{id}
|
|
7470
|
+
* @secure
|
|
7471
|
+
* @response `204` `void` No Content
|
|
7472
|
+
* @response `400` `ProblemDetails` Bad Request
|
|
7473
|
+
* @response `404` `ProblemDetails` Not Found
|
|
7474
|
+
*/
|
|
7475
|
+
deleteAiPrompt: (id: string, params: RequestParams = {}) =>
|
|
7476
|
+
this.request<void, ProblemDetails>({
|
|
7477
|
+
path: `/api/ai/admin/prompts/${id}`,
|
|
7478
|
+
method: "DELETE",
|
|
7479
|
+
secure: true,
|
|
7480
|
+
...params,
|
|
7481
|
+
}),
|
|
6608
7482
|
|
|
6609
|
-
|
|
6610
|
-
|
|
6611
|
-
|
|
6612
|
-
|
|
6613
|
-
|
|
6614
|
-
|
|
7483
|
+
/**
|
|
7484
|
+
* No description
|
|
7485
|
+
*
|
|
7486
|
+
* @tags AiAdminPrompt
|
|
7487
|
+
* @name ToggleAiPrompt
|
|
7488
|
+
* @summary Toggle prompt active/inactive
|
|
7489
|
+
* @request PATCH:/api/ai/admin/prompts/{id}/toggle
|
|
7490
|
+
* @secure
|
|
7491
|
+
* @response `200` `AiPrompt` OK
|
|
7492
|
+
* @response `404` `ProblemDetails` Not Found
|
|
7493
|
+
*/
|
|
7494
|
+
toggleAiPrompt: (id: string, params: RequestParams = {}) =>
|
|
7495
|
+
this.request<AiPrompt, ProblemDetails>({
|
|
7496
|
+
path: `/api/ai/admin/prompts/${id}/toggle`,
|
|
7497
|
+
method: "PATCH",
|
|
7498
|
+
secure: true,
|
|
7499
|
+
format: "json",
|
|
7500
|
+
...params,
|
|
7501
|
+
}),
|
|
6615
7502
|
|
|
6616
|
-
|
|
6617
|
-
|
|
6618
|
-
|
|
6619
|
-
|
|
6620
|
-
|
|
6621
|
-
|
|
6622
|
-
|
|
6623
|
-
|
|
6624
|
-
|
|
6625
|
-
|
|
6626
|
-
|
|
6627
|
-
|
|
6628
|
-
|
|
6629
|
-
|
|
7503
|
+
/**
|
|
7504
|
+
* No description
|
|
7505
|
+
*
|
|
7506
|
+
* @tags AiAdminPrompt
|
|
7507
|
+
* @name GenerateAiSystemPrompt
|
|
7508
|
+
* @summary Generate a system prompt from description
|
|
7509
|
+
* @request POST:/api/ai/admin/prompts/generate
|
|
7510
|
+
* @secure
|
|
7511
|
+
* @response `200` `GenerateSystemPrompt` OK
|
|
7512
|
+
* @response `400` `ProblemDetails` Bad Request
|
|
7513
|
+
*/
|
|
7514
|
+
generateAiSystemPrompt: (
|
|
7515
|
+
data: GenerateSystemPromptRequest,
|
|
7516
|
+
params: RequestParams = {},
|
|
7517
|
+
) =>
|
|
7518
|
+
this.request<GenerateSystemPrompt, ProblemDetails>({
|
|
7519
|
+
path: `/api/ai/admin/prompts/generate`,
|
|
7520
|
+
method: "POST",
|
|
7521
|
+
body: data,
|
|
7522
|
+
secure: true,
|
|
7523
|
+
type: ContentType.JsonPatch,
|
|
7524
|
+
format: "json",
|
|
7525
|
+
...params,
|
|
7526
|
+
}),
|
|
6630
7527
|
|
|
6631
|
-
|
|
6632
|
-
|
|
6633
|
-
|
|
7528
|
+
/**
|
|
7529
|
+
* No description
|
|
7530
|
+
*
|
|
7531
|
+
* @tags AiAdminPrompt
|
|
7532
|
+
* @name GetSupportedModels
|
|
7533
|
+
* @summary Get supported LLM models
|
|
7534
|
+
* @request GET:/api/ai/admin/prompts/supported-models
|
|
7535
|
+
* @secure
|
|
7536
|
+
* @response `200` `(SupportedModel)[]` OK
|
|
7537
|
+
*/
|
|
7538
|
+
getSupportedModels: (params: RequestParams = {}) =>
|
|
7539
|
+
this.request<SupportedModel[], any>({
|
|
7540
|
+
path: `/api/ai/admin/prompts/supported-models`,
|
|
7541
|
+
method: "GET",
|
|
7542
|
+
secure: true,
|
|
7543
|
+
format: "json",
|
|
7544
|
+
...params,
|
|
7545
|
+
}),
|
|
6634
7546
|
|
|
6635
|
-
|
|
6636
|
-
|
|
6637
|
-
|
|
6638
|
-
|
|
6639
|
-
|
|
7547
|
+
/**
|
|
7548
|
+
* No description
|
|
7549
|
+
*
|
|
7550
|
+
* @tags AiAdminSettings
|
|
7551
|
+
* @name GetAiAdminSettings
|
|
7552
|
+
* @summary Get global AI settings
|
|
7553
|
+
* @request GET:/api/ai/admin/settings
|
|
7554
|
+
* @secure
|
|
7555
|
+
* @response `200` `AiAdminSettings` OK
|
|
7556
|
+
*/
|
|
7557
|
+
getAiAdminSettings: (params: RequestParams = {}) =>
|
|
7558
|
+
this.request<AiAdminSettings, any>({
|
|
7559
|
+
path: `/api/ai/admin/settings`,
|
|
7560
|
+
method: "GET",
|
|
7561
|
+
secure: true,
|
|
7562
|
+
format: "json",
|
|
7563
|
+
...params,
|
|
7564
|
+
}),
|
|
6640
7565
|
|
|
6641
|
-
|
|
6642
|
-
|
|
6643
|
-
|
|
6644
|
-
|
|
6645
|
-
|
|
6646
|
-
|
|
6647
|
-
|
|
6648
|
-
|
|
6649
|
-
|
|
6650
|
-
|
|
6651
|
-
|
|
6652
|
-
|
|
6653
|
-
|
|
6654
|
-
|
|
6655
|
-
|
|
7566
|
+
/**
|
|
7567
|
+
* No description
|
|
7568
|
+
*
|
|
7569
|
+
* @tags AiAdminSettings
|
|
7570
|
+
* @name UpdateAiAdminSettings
|
|
7571
|
+
* @summary Update global AI settings
|
|
7572
|
+
* @request PUT:/api/ai/admin/settings
|
|
7573
|
+
* @secure
|
|
7574
|
+
* @response `200` `AiAdminSettings` OK
|
|
7575
|
+
* @response `400` `ProblemDetails` Bad Request
|
|
7576
|
+
*/
|
|
7577
|
+
updateAiAdminSettings: (
|
|
7578
|
+
data: AiAdminSettingsRequest,
|
|
7579
|
+
params: RequestParams = {},
|
|
7580
|
+
) =>
|
|
7581
|
+
this.request<AiAdminSettings, ProblemDetails>({
|
|
7582
|
+
path: `/api/ai/admin/settings`,
|
|
7583
|
+
method: "PUT",
|
|
7584
|
+
body: data,
|
|
7585
|
+
secure: true,
|
|
7586
|
+
type: ContentType.Json,
|
|
7587
|
+
format: "json",
|
|
7588
|
+
...params,
|
|
7589
|
+
}),
|
|
6656
7590
|
|
|
6657
|
-
|
|
6658
|
-
|
|
6659
|
-
|
|
6660
|
-
|
|
6661
|
-
|
|
6662
|
-
|
|
6663
|
-
|
|
7591
|
+
/**
|
|
7592
|
+
* No description
|
|
7593
|
+
*
|
|
7594
|
+
* @tags AiCanonicalField
|
|
7595
|
+
* @name GetAiCanonicalFields
|
|
7596
|
+
* @summary Get all canonical fields
|
|
7597
|
+
* @request GET:/api/ai/admin/fields
|
|
7598
|
+
* @secure
|
|
7599
|
+
* @response `200` `(AiCanonicalField)[]` OK
|
|
7600
|
+
*/
|
|
7601
|
+
getAiCanonicalFields: (params: RequestParams = {}) =>
|
|
7602
|
+
this.request<AiCanonicalField[], any>({
|
|
7603
|
+
path: `/api/ai/admin/fields`,
|
|
7604
|
+
method: "GET",
|
|
7605
|
+
secure: true,
|
|
7606
|
+
format: "json",
|
|
7607
|
+
...params,
|
|
7608
|
+
}),
|
|
6664
7609
|
|
|
6665
|
-
|
|
6666
|
-
|
|
6667
|
-
|
|
6668
|
-
|
|
6669
|
-
|
|
6670
|
-
|
|
6671
|
-
|
|
6672
|
-
|
|
7610
|
+
/**
|
|
7611
|
+
* No description
|
|
7612
|
+
*
|
|
7613
|
+
* @tags AiCanonicalField
|
|
7614
|
+
* @name CreateAiCanonicalField
|
|
7615
|
+
* @summary Create canonical field
|
|
7616
|
+
* @request POST:/api/ai/admin/fields
|
|
7617
|
+
* @secure
|
|
7618
|
+
* @response `201` `AiCanonicalField` Created
|
|
7619
|
+
* @response `400` `ProblemDetails` Bad Request
|
|
7620
|
+
*/
|
|
7621
|
+
createAiCanonicalField: (
|
|
7622
|
+
data: CreateAiCanonicalFieldRequest,
|
|
7623
|
+
params: RequestParams = {},
|
|
7624
|
+
) =>
|
|
7625
|
+
this.request<AiCanonicalField, ProblemDetails>({
|
|
7626
|
+
path: `/api/ai/admin/fields`,
|
|
7627
|
+
method: "POST",
|
|
7628
|
+
body: data,
|
|
7629
|
+
secure: true,
|
|
7630
|
+
type: ContentType.Json,
|
|
7631
|
+
format: "json",
|
|
7632
|
+
...params,
|
|
7633
|
+
}),
|
|
6673
7634
|
|
|
6674
|
-
|
|
6675
|
-
|
|
6676
|
-
|
|
6677
|
-
|
|
6678
|
-
|
|
6679
|
-
|
|
6680
|
-
|
|
7635
|
+
/**
|
|
7636
|
+
* No description
|
|
7637
|
+
*
|
|
7638
|
+
* @tags AiCanonicalField
|
|
7639
|
+
* @name GetAiCanonicalField
|
|
7640
|
+
* @summary Get canonical field by ID
|
|
7641
|
+
* @request GET:/api/ai/admin/fields/{id}
|
|
7642
|
+
* @secure
|
|
7643
|
+
* @response `200` `AiCanonicalField` OK
|
|
7644
|
+
* @response `404` `ProblemDetails` Not Found
|
|
7645
|
+
*/
|
|
7646
|
+
getAiCanonicalField: (id: string, params: RequestParams = {}) =>
|
|
7647
|
+
this.request<AiCanonicalField, ProblemDetails>({
|
|
7648
|
+
path: `/api/ai/admin/fields/${id}`,
|
|
7649
|
+
method: "GET",
|
|
7650
|
+
secure: true,
|
|
7651
|
+
format: "json",
|
|
7652
|
+
...params,
|
|
7653
|
+
}),
|
|
6681
7654
|
|
|
6682
|
-
|
|
6683
|
-
|
|
6684
|
-
|
|
7655
|
+
/**
|
|
7656
|
+
* No description
|
|
7657
|
+
*
|
|
7658
|
+
* @tags AiCanonicalField
|
|
7659
|
+
* @name UpdateAiCanonicalField
|
|
7660
|
+
* @summary Update canonical field
|
|
7661
|
+
* @request PUT:/api/ai/admin/fields/{id}
|
|
7662
|
+
* @secure
|
|
7663
|
+
* @response `200` `AiCanonicalField` OK
|
|
7664
|
+
* @response `400` `ProblemDetails` Bad Request
|
|
7665
|
+
* @response `404` `ProblemDetails` Not Found
|
|
7666
|
+
*/
|
|
7667
|
+
updateAiCanonicalField: (
|
|
7668
|
+
id: string,
|
|
7669
|
+
data: UpdateAiCanonicalFieldRequest,
|
|
7670
|
+
params: RequestParams = {},
|
|
7671
|
+
) =>
|
|
7672
|
+
this.request<AiCanonicalField, ProblemDetails>({
|
|
7673
|
+
path: `/api/ai/admin/fields/${id}`,
|
|
7674
|
+
method: "PUT",
|
|
7675
|
+
body: data,
|
|
7676
|
+
secure: true,
|
|
7677
|
+
type: ContentType.Json,
|
|
7678
|
+
format: "json",
|
|
7679
|
+
...params,
|
|
7680
|
+
}),
|
|
6685
7681
|
|
|
6686
|
-
|
|
6687
|
-
|
|
6688
|
-
|
|
6689
|
-
|
|
6690
|
-
|
|
6691
|
-
|
|
6692
|
-
|
|
6693
|
-
|
|
6694
|
-
|
|
6695
|
-
|
|
6696
|
-
|
|
6697
|
-
|
|
6698
|
-
|
|
6699
|
-
|
|
6700
|
-
|
|
6701
|
-
|
|
7682
|
+
/**
|
|
7683
|
+
* No description
|
|
7684
|
+
*
|
|
7685
|
+
* @tags AiCanonicalField
|
|
7686
|
+
* @name DeleteAiCanonicalField
|
|
7687
|
+
* @summary Delete canonical field
|
|
7688
|
+
* @request DELETE:/api/ai/admin/fields/{id}
|
|
7689
|
+
* @secure
|
|
7690
|
+
* @response `204` `void` No Content
|
|
7691
|
+
* @response `404` `ProblemDetails` Not Found
|
|
7692
|
+
*/
|
|
7693
|
+
deleteAiCanonicalField: (id: string, params: RequestParams = {}) =>
|
|
7694
|
+
this.request<void, ProblemDetails>({
|
|
7695
|
+
path: `/api/ai/admin/fields/${id}`,
|
|
7696
|
+
method: "DELETE",
|
|
7697
|
+
secure: true,
|
|
7698
|
+
...params,
|
|
7699
|
+
}),
|
|
6702
7700
|
|
|
6703
|
-
|
|
6704
|
-
|
|
6705
|
-
|
|
6706
|
-
|
|
6707
|
-
|
|
6708
|
-
|
|
6709
|
-
|
|
6710
|
-
|
|
7701
|
+
/**
|
|
7702
|
+
* No description
|
|
7703
|
+
*
|
|
7704
|
+
* @tags AiCanonicalField
|
|
7705
|
+
* @name ToggleAiCanonicalField
|
|
7706
|
+
* @summary Toggle canonical field active/inactive
|
|
7707
|
+
* @request PATCH:/api/ai/admin/fields/{id}/toggle
|
|
7708
|
+
* @secure
|
|
7709
|
+
* @response `200` `AiCanonicalField` OK
|
|
7710
|
+
* @response `404` `ProblemDetails` Not Found
|
|
7711
|
+
*/
|
|
7712
|
+
toggleAiCanonicalField: (id: string, params: RequestParams = {}) =>
|
|
7713
|
+
this.request<AiCanonicalField, ProblemDetails>({
|
|
7714
|
+
path: `/api/ai/admin/fields/${id}/toggle`,
|
|
7715
|
+
method: "PATCH",
|
|
7716
|
+
secure: true,
|
|
7717
|
+
format: "json",
|
|
7718
|
+
...params,
|
|
7719
|
+
}),
|
|
6711
7720
|
|
|
6712
|
-
|
|
6713
|
-
|
|
6714
|
-
|
|
6715
|
-
|
|
6716
|
-
|
|
6717
|
-
|
|
6718
|
-
|
|
6719
|
-
|
|
7721
|
+
/**
|
|
7722
|
+
* No description
|
|
7723
|
+
*
|
|
7724
|
+
* @tags AiChat
|
|
7725
|
+
* @name AiChat
|
|
7726
|
+
* @summary Send AI chat message
|
|
7727
|
+
* @request POST:/api/ai/chat
|
|
7728
|
+
* @secure
|
|
7729
|
+
* @response `200` `AiChat` OK
|
|
7730
|
+
* @response `400` `ProblemDetails` Bad Request
|
|
7731
|
+
* @response `401` `ProblemDetails` Unauthorized
|
|
7732
|
+
*/
|
|
7733
|
+
aiChat: (data: AiChatRequest, params: RequestParams = {}) =>
|
|
7734
|
+
this.request<AiChat, ProblemDetails>({
|
|
7735
|
+
path: `/api/ai/chat`,
|
|
7736
|
+
method: "POST",
|
|
7737
|
+
body: data,
|
|
7738
|
+
secure: true,
|
|
7739
|
+
type: ContentType.JsonPatch,
|
|
7740
|
+
format: "json",
|
|
7741
|
+
...params,
|
|
7742
|
+
}),
|
|
6720
7743
|
|
|
6721
|
-
|
|
6722
|
-
|
|
6723
|
-
|
|
6724
|
-
|
|
6725
|
-
|
|
7744
|
+
/**
|
|
7745
|
+
* No description
|
|
7746
|
+
*
|
|
7747
|
+
* @tags AiConversation
|
|
7748
|
+
* @name GetAiConversations
|
|
7749
|
+
* @summary Get user conversations
|
|
7750
|
+
* @request GET:/api/ai/conversations
|
|
7751
|
+
* @secure
|
|
7752
|
+
* @response `200` `AiConversationListItemPaginated` OK
|
|
7753
|
+
*/
|
|
7754
|
+
getAiConversations: (
|
|
7755
|
+
query?: {
|
|
7756
|
+
/** @format int32 */
|
|
7757
|
+
pageSize?: number;
|
|
7758
|
+
/** @format int32 */
|
|
7759
|
+
pageNumber?: number;
|
|
7760
|
+
sortBy?: string;
|
|
7761
|
+
sortDirection?: string;
|
|
6726
7762
|
},
|
|
6727
|
-
params:
|
|
6728
|
-
|
|
6729
|
-
|
|
6730
|
-
|
|
6731
|
-
|
|
6732
|
-
|
|
6733
|
-
|
|
7763
|
+
params: RequestParams = {},
|
|
7764
|
+
) =>
|
|
7765
|
+
this.request<AiConversationListItemPaginated, any>({
|
|
7766
|
+
path: `/api/ai/conversations`,
|
|
7767
|
+
method: "GET",
|
|
7768
|
+
query: query,
|
|
7769
|
+
secure: true,
|
|
7770
|
+
format: "json",
|
|
7771
|
+
...params,
|
|
7772
|
+
}),
|
|
6734
7773
|
|
|
6735
|
-
/**
|
|
6736
|
-
|
|
6737
|
-
|
|
6738
|
-
|
|
6739
|
-
|
|
6740
|
-
|
|
6741
|
-
|
|
6742
|
-
|
|
6743
|
-
|
|
6744
|
-
|
|
6745
|
-
|
|
6746
|
-
|
|
6747
|
-
|
|
6748
|
-
|
|
6749
|
-
|
|
6750
|
-
|
|
6751
|
-
|
|
6752
|
-
|
|
6753
|
-
|
|
6754
|
-
|
|
6755
|
-
|
|
6756
|
-
|
|
6757
|
-
|
|
6758
|
-
|
|
6759
|
-
|
|
7774
|
+
/**
|
|
7775
|
+
* No description
|
|
7776
|
+
*
|
|
7777
|
+
* @tags AiConversation
|
|
7778
|
+
* @name GetAiConversation
|
|
7779
|
+
* @summary Get conversation metadata
|
|
7780
|
+
* @request GET:/api/ai/conversations/{id}
|
|
7781
|
+
* @secure
|
|
7782
|
+
* @response `200` `AiConversationDetail` OK
|
|
7783
|
+
* @response `403` `ProblemDetails` Forbidden
|
|
7784
|
+
* @response `404` `ProblemDetails` Not Found
|
|
7785
|
+
*/
|
|
7786
|
+
getAiConversation: (id: string, params: RequestParams = {}) =>
|
|
7787
|
+
this.request<AiConversationDetail, ProblemDetails>({
|
|
7788
|
+
path: `/api/ai/conversations/${id}`,
|
|
7789
|
+
method: "GET",
|
|
7790
|
+
secure: true,
|
|
7791
|
+
format: "json",
|
|
7792
|
+
...params,
|
|
7793
|
+
}),
|
|
7794
|
+
|
|
7795
|
+
/**
|
|
7796
|
+
* No description
|
|
7797
|
+
*
|
|
7798
|
+
* @tags AiConversation
|
|
7799
|
+
* @name RenameAiConversation
|
|
7800
|
+
* @summary Rename conversation
|
|
7801
|
+
* @request PATCH:/api/ai/conversations/{id}
|
|
7802
|
+
* @secure
|
|
7803
|
+
* @response `200` `AiConversationDetail` OK
|
|
7804
|
+
* @response `400` `ProblemDetails` Bad Request
|
|
7805
|
+
* @response `403` `ProblemDetails` Forbidden
|
|
7806
|
+
* @response `404` `ProblemDetails` Not Found
|
|
7807
|
+
*/
|
|
7808
|
+
renameAiConversation: (
|
|
7809
|
+
id: string,
|
|
7810
|
+
data: JsonPatchDocument,
|
|
7811
|
+
params: RequestParams = {},
|
|
7812
|
+
) =>
|
|
7813
|
+
this.request<AiConversationDetail, ProblemDetails>({
|
|
7814
|
+
path: `/api/ai/conversations/${id}`,
|
|
7815
|
+
method: "PATCH",
|
|
7816
|
+
body: data,
|
|
7817
|
+
secure: true,
|
|
7818
|
+
type: ContentType.JsonPatch,
|
|
7819
|
+
format: "json",
|
|
7820
|
+
...params,
|
|
7821
|
+
}),
|
|
6760
7822
|
|
|
6761
|
-
|
|
6762
|
-
|
|
6763
|
-
|
|
6764
|
-
|
|
6765
|
-
|
|
6766
|
-
|
|
6767
|
-
|
|
6768
|
-
|
|
6769
|
-
|
|
6770
|
-
|
|
6771
|
-
|
|
6772
|
-
|
|
6773
|
-
|
|
6774
|
-
|
|
6775
|
-
|
|
6776
|
-
|
|
7823
|
+
/**
|
|
7824
|
+
* No description
|
|
7825
|
+
*
|
|
7826
|
+
* @tags AiConversation
|
|
7827
|
+
* @name DeleteAiConversation
|
|
7828
|
+
* @summary Delete conversation
|
|
7829
|
+
* @request DELETE:/api/ai/conversations/{id}
|
|
7830
|
+
* @secure
|
|
7831
|
+
* @response `204` `void` No Content
|
|
7832
|
+
* @response `403` `ProblemDetails` Forbidden
|
|
7833
|
+
* @response `404` `ProblemDetails` Not Found
|
|
7834
|
+
*/
|
|
7835
|
+
deleteAiConversation: (id: string, params: RequestParams = {}) =>
|
|
7836
|
+
this.request<void, ProblemDetails>({
|
|
7837
|
+
path: `/api/ai/conversations/${id}`,
|
|
7838
|
+
method: "DELETE",
|
|
7839
|
+
secure: true,
|
|
7840
|
+
...params,
|
|
7841
|
+
}),
|
|
6777
7842
|
|
|
6778
|
-
api = {
|
|
6779
7843
|
/**
|
|
6780
7844
|
* No description
|
|
6781
7845
|
*
|
|
6782
|
-
* @tags
|
|
6783
|
-
* @name
|
|
6784
|
-
* @summary Get
|
|
6785
|
-
* @request GET:/api/
|
|
7846
|
+
* @tags AiConversation
|
|
7847
|
+
* @name GetAiConversationMessages
|
|
7848
|
+
* @summary Get conversation messages
|
|
7849
|
+
* @request GET:/api/ai/conversations/{id}/messages
|
|
6786
7850
|
* @secure
|
|
6787
|
-
* @response `200` `
|
|
7851
|
+
* @response `200` `AiChatMessagePaginated` OK
|
|
7852
|
+
* @response `403` `ProblemDetails` Forbidden
|
|
6788
7853
|
* @response `404` `ProblemDetails` Not Found
|
|
6789
7854
|
*/
|
|
6790
|
-
|
|
6791
|
-
|
|
6792
|
-
|
|
7855
|
+
getAiConversationMessages: (
|
|
7856
|
+
id: string,
|
|
7857
|
+
query?: {
|
|
7858
|
+
/** @format int32 */
|
|
7859
|
+
pageSize?: number;
|
|
7860
|
+
/** @format int32 */
|
|
7861
|
+
pageNumber?: number;
|
|
7862
|
+
sortBy?: string;
|
|
7863
|
+
sortDirection?: string;
|
|
7864
|
+
},
|
|
7865
|
+
params: RequestParams = {},
|
|
7866
|
+
) =>
|
|
7867
|
+
this.request<AiChatMessagePaginated, ProblemDetails>({
|
|
7868
|
+
path: `/api/ai/conversations/${id}/messages`,
|
|
6793
7869
|
method: "GET",
|
|
7870
|
+
query: query,
|
|
6794
7871
|
secure: true,
|
|
6795
7872
|
format: "json",
|
|
6796
7873
|
...params,
|
|
@@ -6799,25 +7876,46 @@ export class Api<
|
|
|
6799
7876
|
/**
|
|
6800
7877
|
* No description
|
|
6801
7878
|
*
|
|
6802
|
-
* @tags
|
|
6803
|
-
* @name
|
|
6804
|
-
* @summary
|
|
6805
|
-
* @request
|
|
7879
|
+
* @tags AiConversation
|
|
7880
|
+
* @name ClearAiConversationHistory
|
|
7881
|
+
* @summary Clear conversation history
|
|
7882
|
+
* @request DELETE:/api/ai/conversations/{id}/messages
|
|
6806
7883
|
* @secure
|
|
6807
|
-
* @response `
|
|
7884
|
+
* @response `204` `void` No Content
|
|
7885
|
+
* @response `403` `ProblemDetails` Forbidden
|
|
6808
7886
|
* @response `404` `ProblemDetails` Not Found
|
|
6809
|
-
* @response `422` `ProblemDetails` Unprocessable Content
|
|
6810
7887
|
*/
|
|
6811
|
-
|
|
6812
|
-
|
|
7888
|
+
clearAiConversationHistory: (id: string, params: RequestParams = {}) =>
|
|
7889
|
+
this.request<void, ProblemDetails>({
|
|
7890
|
+
path: `/api/ai/conversations/${id}/messages`,
|
|
7891
|
+
method: "DELETE",
|
|
7892
|
+
secure: true,
|
|
7893
|
+
...params,
|
|
7894
|
+
}),
|
|
7895
|
+
|
|
7896
|
+
/**
|
|
7897
|
+
* No description
|
|
7898
|
+
*
|
|
7899
|
+
* @tags AiConversation
|
|
7900
|
+
* @name PinAiConversation
|
|
7901
|
+
* @summary Pin or unpin conversation
|
|
7902
|
+
* @request PUT:/api/ai/conversations/{id}/pin
|
|
7903
|
+
* @secure
|
|
7904
|
+
* @response `200` `AiConversationDetail` OK
|
|
7905
|
+
* @response `403` `ProblemDetails` Forbidden
|
|
7906
|
+
* @response `404` `ProblemDetails` Not Found
|
|
7907
|
+
*/
|
|
7908
|
+
pinAiConversation: (
|
|
7909
|
+
id: string,
|
|
7910
|
+
data: PinAiConversationRequest,
|
|
6813
7911
|
params: RequestParams = {},
|
|
6814
7912
|
) =>
|
|
6815
|
-
this.request<
|
|
6816
|
-
path: `/api/
|
|
7913
|
+
this.request<AiConversationDetail, ProblemDetails>({
|
|
7914
|
+
path: `/api/ai/conversations/${id}/pin`,
|
|
6817
7915
|
method: "PUT",
|
|
6818
7916
|
body: data,
|
|
6819
7917
|
secure: true,
|
|
6820
|
-
type:
|
|
7918
|
+
type: ContentType.Json,
|
|
6821
7919
|
format: "json",
|
|
6822
7920
|
...params,
|
|
6823
7921
|
}),
|
|
@@ -6825,16 +7923,16 @@ export class Api<
|
|
|
6825
7923
|
/**
|
|
6826
7924
|
* No description
|
|
6827
7925
|
*
|
|
6828
|
-
* @tags
|
|
6829
|
-
* @name
|
|
6830
|
-
* @summary Get
|
|
6831
|
-
* @request GET:/api/
|
|
7926
|
+
* @tags AiGuardrail
|
|
7927
|
+
* @name GetAiGuardrails
|
|
7928
|
+
* @summary Get all guardrails
|
|
7929
|
+
* @request GET:/api/ai/admin/guardrails
|
|
6832
7930
|
* @secure
|
|
6833
|
-
* @response `200` `
|
|
7931
|
+
* @response `200` `(AiGuardrail)[]` OK
|
|
6834
7932
|
*/
|
|
6835
|
-
|
|
6836
|
-
this.request<
|
|
6837
|
-
path: `/api/
|
|
7933
|
+
getAiGuardrails: (params: RequestParams = {}) =>
|
|
7934
|
+
this.request<AiGuardrail[], any>({
|
|
7935
|
+
path: `/api/ai/admin/guardrails`,
|
|
6838
7936
|
method: "GET",
|
|
6839
7937
|
secure: true,
|
|
6840
7938
|
format: "json",
|
|
@@ -6844,24 +7942,24 @@ export class Api<
|
|
|
6844
7942
|
/**
|
|
6845
7943
|
* No description
|
|
6846
7944
|
*
|
|
6847
|
-
* @tags
|
|
6848
|
-
* @name
|
|
6849
|
-
* @summary
|
|
6850
|
-
* @request
|
|
7945
|
+
* @tags AiGuardrail
|
|
7946
|
+
* @name CreateAiGuardrail
|
|
7947
|
+
* @summary Create custom guardrail
|
|
7948
|
+
* @request POST:/api/ai/admin/guardrails
|
|
6851
7949
|
* @secure
|
|
6852
|
-
* @response `
|
|
6853
|
-
* @response `
|
|
7950
|
+
* @response `201` `AiGuardrail` Created
|
|
7951
|
+
* @response `400` `ProblemDetails` Bad Request
|
|
6854
7952
|
*/
|
|
6855
|
-
|
|
6856
|
-
data:
|
|
7953
|
+
createAiGuardrail: (
|
|
7954
|
+
data: CreateAiGuardrailRequest,
|
|
6857
7955
|
params: RequestParams = {},
|
|
6858
7956
|
) =>
|
|
6859
|
-
this.request<
|
|
6860
|
-
path: `/api/
|
|
6861
|
-
method: "
|
|
7957
|
+
this.request<AiGuardrail, ProblemDetails>({
|
|
7958
|
+
path: `/api/ai/admin/guardrails`,
|
|
7959
|
+
method: "POST",
|
|
6862
7960
|
body: data,
|
|
6863
7961
|
secure: true,
|
|
6864
|
-
type:
|
|
7962
|
+
type: ContentType.Json,
|
|
6865
7963
|
format: "json",
|
|
6866
7964
|
...params,
|
|
6867
7965
|
}),
|
|
@@ -6869,63 +7967,128 @@ export class Api<
|
|
|
6869
7967
|
/**
|
|
6870
7968
|
* No description
|
|
6871
7969
|
*
|
|
6872
|
-
* @tags
|
|
6873
|
-
* @name
|
|
6874
|
-
* @summary
|
|
6875
|
-
* @request
|
|
7970
|
+
* @tags AiGuardrail
|
|
7971
|
+
* @name GetAiGuardrail
|
|
7972
|
+
* @summary Get guardrail by ID
|
|
7973
|
+
* @request GET:/api/ai/admin/guardrails/{id}
|
|
6876
7974
|
* @secure
|
|
6877
|
-
* @response `
|
|
7975
|
+
* @response `200` `AiGuardrail` OK
|
|
7976
|
+
* @response `404` `ProblemDetails` Not Found
|
|
6878
7977
|
*/
|
|
6879
|
-
|
|
6880
|
-
|
|
7978
|
+
getAiGuardrail: (id: string, params: RequestParams = {}) =>
|
|
7979
|
+
this.request<AiGuardrail, ProblemDetails>({
|
|
7980
|
+
path: `/api/ai/admin/guardrails/${id}`,
|
|
7981
|
+
method: "GET",
|
|
7982
|
+
secure: true,
|
|
7983
|
+
format: "json",
|
|
7984
|
+
...params,
|
|
7985
|
+
}),
|
|
7986
|
+
|
|
7987
|
+
/**
|
|
7988
|
+
* No description
|
|
7989
|
+
*
|
|
7990
|
+
* @tags AiGuardrail
|
|
7991
|
+
* @name UpdateAiGuardrail
|
|
7992
|
+
* @summary Update guardrail
|
|
7993
|
+
* @request PUT:/api/ai/admin/guardrails/{id}
|
|
7994
|
+
* @secure
|
|
7995
|
+
* @response `200` `AiGuardrail` OK
|
|
7996
|
+
* @response `400` `ProblemDetails` Bad Request
|
|
7997
|
+
* @response `404` `ProblemDetails` Not Found
|
|
7998
|
+
*/
|
|
7999
|
+
updateAiGuardrail: (
|
|
8000
|
+
id: string,
|
|
8001
|
+
data: UpdateAiGuardrailRequest,
|
|
6881
8002
|
params: RequestParams = {},
|
|
6882
8003
|
) =>
|
|
6883
|
-
this.request<
|
|
6884
|
-
path: `/api/
|
|
6885
|
-
method: "
|
|
8004
|
+
this.request<AiGuardrail, ProblemDetails>({
|
|
8005
|
+
path: `/api/ai/admin/guardrails/${id}`,
|
|
8006
|
+
method: "PUT",
|
|
6886
8007
|
body: data,
|
|
6887
8008
|
secure: true,
|
|
6888
|
-
type:
|
|
8009
|
+
type: ContentType.Json,
|
|
8010
|
+
format: "json",
|
|
6889
8011
|
...params,
|
|
6890
8012
|
}),
|
|
6891
8013
|
|
|
6892
8014
|
/**
|
|
6893
8015
|
* No description
|
|
6894
8016
|
*
|
|
6895
|
-
* @tags
|
|
6896
|
-
* @name
|
|
6897
|
-
* @summary
|
|
6898
|
-
* @request
|
|
8017
|
+
* @tags AiGuardrail
|
|
8018
|
+
* @name DeleteAiGuardrail
|
|
8019
|
+
* @summary Delete guardrail
|
|
8020
|
+
* @request DELETE:/api/ai/admin/guardrails/{id}
|
|
6899
8021
|
* @secure
|
|
6900
8022
|
* @response `204` `void` No Content
|
|
6901
8023
|
* @response `400` `ProblemDetails` Bad Request
|
|
8024
|
+
* @response `404` `ProblemDetails` Not Found
|
|
6902
8025
|
*/
|
|
6903
|
-
|
|
6904
|
-
|
|
8026
|
+
deleteAiGuardrail: (id: string, params: RequestParams = {}) =>
|
|
8027
|
+
this.request<void, ProblemDetails>({
|
|
8028
|
+
path: `/api/ai/admin/guardrails/${id}`,
|
|
8029
|
+
method: "DELETE",
|
|
8030
|
+
secure: true,
|
|
8031
|
+
...params,
|
|
8032
|
+
}),
|
|
8033
|
+
|
|
8034
|
+
/**
|
|
8035
|
+
* No description
|
|
8036
|
+
*
|
|
8037
|
+
* @tags AiGuardrail
|
|
8038
|
+
* @name ToggleAiGuardrail
|
|
8039
|
+
* @summary Toggle guardrail enabled/disabled
|
|
8040
|
+
* @request PATCH:/api/ai/admin/guardrails/{id}/toggle
|
|
8041
|
+
* @secure
|
|
8042
|
+
* @response `200` `AiGuardrail` OK
|
|
8043
|
+
* @response `404` `ProblemDetails` Not Found
|
|
8044
|
+
*/
|
|
8045
|
+
toggleAiGuardrail: (id: string, params: RequestParams = {}) =>
|
|
8046
|
+
this.request<AiGuardrail, ProblemDetails>({
|
|
8047
|
+
path: `/api/ai/admin/guardrails/${id}/toggle`,
|
|
8048
|
+
method: "PATCH",
|
|
8049
|
+
secure: true,
|
|
8050
|
+
format: "json",
|
|
8051
|
+
...params,
|
|
8052
|
+
}),
|
|
8053
|
+
|
|
8054
|
+
/**
|
|
8055
|
+
* No description
|
|
8056
|
+
*
|
|
8057
|
+
* @tags AiPrompt
|
|
8058
|
+
* @name GetAvailablePrompts
|
|
8059
|
+
* @summary Get available prompts for current user
|
|
8060
|
+
* @request GET:/api/ai/prompts
|
|
8061
|
+
* @secure
|
|
8062
|
+
* @response `200` `(AiPromptSummary)[]` OK
|
|
8063
|
+
*/
|
|
8064
|
+
getAvailablePrompts: (
|
|
8065
|
+
query?: {
|
|
8066
|
+
documentType?: string;
|
|
8067
|
+
},
|
|
6905
8068
|
params: RequestParams = {},
|
|
6906
8069
|
) =>
|
|
6907
|
-
this.request<
|
|
6908
|
-
path: `/api/
|
|
6909
|
-
method: "
|
|
6910
|
-
|
|
8070
|
+
this.request<AiPromptSummary[], any>({
|
|
8071
|
+
path: `/api/ai/prompts`,
|
|
8072
|
+
method: "GET",
|
|
8073
|
+
query: query,
|
|
6911
8074
|
secure: true,
|
|
6912
|
-
|
|
8075
|
+
format: "json",
|
|
6913
8076
|
...params,
|
|
6914
8077
|
}),
|
|
6915
8078
|
|
|
6916
8079
|
/**
|
|
6917
8080
|
* No description
|
|
6918
8081
|
*
|
|
6919
|
-
* @tags
|
|
6920
|
-
* @name
|
|
6921
|
-
* @summary Get
|
|
6922
|
-
* @request GET:/api/
|
|
8082
|
+
* @tags AiUrlSource
|
|
8083
|
+
* @name GetAiUrlSources
|
|
8084
|
+
* @summary Get all URL sources
|
|
8085
|
+
* @request GET:/api/ai/admin/url-sources
|
|
6923
8086
|
* @secure
|
|
6924
|
-
* @response `200` `(
|
|
8087
|
+
* @response `200` `(AiUrlSource)[]` OK
|
|
6925
8088
|
*/
|
|
6926
|
-
|
|
6927
|
-
this.request<
|
|
6928
|
-
path: `/api/
|
|
8089
|
+
getAiUrlSources: (params: RequestParams = {}) =>
|
|
8090
|
+
this.request<AiUrlSource[], any>({
|
|
8091
|
+
path: `/api/ai/admin/url-sources`,
|
|
6929
8092
|
method: "GET",
|
|
6930
8093
|
secure: true,
|
|
6931
8094
|
format: "json",
|
|
@@ -6935,21 +8098,25 @@ export class Api<
|
|
|
6935
8098
|
/**
|
|
6936
8099
|
* No description
|
|
6937
8100
|
*
|
|
6938
|
-
* @tags
|
|
6939
|
-
* @name
|
|
6940
|
-
* @summary Create
|
|
6941
|
-
* @request POST:/api/
|
|
8101
|
+
* @tags AiUrlSource
|
|
8102
|
+
* @name CreateAiUrlSource
|
|
8103
|
+
* @summary Create URL source
|
|
8104
|
+
* @request POST:/api/ai/admin/url-sources
|
|
6942
8105
|
* @secure
|
|
6943
|
-
* @response `201` `
|
|
6944
|
-
* @response `
|
|
8106
|
+
* @response `201` `AiUrlSource` Created
|
|
8107
|
+
* @response `400` `ProblemDetails` Bad Request
|
|
8108
|
+
* @response `409` `ProblemDetails` Conflict
|
|
6945
8109
|
*/
|
|
6946
|
-
|
|
6947
|
-
|
|
6948
|
-
|
|
8110
|
+
createAiUrlSource: (
|
|
8111
|
+
data: CreateAiUrlSourceRequest,
|
|
8112
|
+
params: RequestParams = {},
|
|
8113
|
+
) =>
|
|
8114
|
+
this.request<AiUrlSource, ProblemDetails>({
|
|
8115
|
+
path: `/api/ai/admin/url-sources`,
|
|
6949
8116
|
method: "POST",
|
|
6950
8117
|
body: data,
|
|
6951
8118
|
secure: true,
|
|
6952
|
-
type:
|
|
8119
|
+
type: ContentType.JsonPatch,
|
|
6953
8120
|
format: "json",
|
|
6954
8121
|
...params,
|
|
6955
8122
|
}),
|
|
@@ -6957,17 +8124,17 @@ export class Api<
|
|
|
6957
8124
|
/**
|
|
6958
8125
|
* No description
|
|
6959
8126
|
*
|
|
6960
|
-
* @tags
|
|
6961
|
-
* @name
|
|
6962
|
-
* @summary Get by ID
|
|
6963
|
-
* @request GET:/api/
|
|
8127
|
+
* @tags AiUrlSource
|
|
8128
|
+
* @name GetAiUrlSource
|
|
8129
|
+
* @summary Get URL source by ID
|
|
8130
|
+
* @request GET:/api/ai/admin/url-sources/{id}
|
|
6964
8131
|
* @secure
|
|
6965
|
-
* @response `
|
|
6966
|
-
* @response `
|
|
8132
|
+
* @response `200` `AiUrlSource` OK
|
|
8133
|
+
* @response `404` `ProblemDetails` Not Found
|
|
6967
8134
|
*/
|
|
6968
|
-
|
|
6969
|
-
this.request<
|
|
6970
|
-
path: `/api/
|
|
8135
|
+
getAiUrlSource: (id: string, params: RequestParams = {}) =>
|
|
8136
|
+
this.request<AiUrlSource, ProblemDetails>({
|
|
8137
|
+
path: `/api/ai/admin/url-sources/${id}`,
|
|
6971
8138
|
method: "GET",
|
|
6972
8139
|
secure: true,
|
|
6973
8140
|
format: "json",
|
|
@@ -6977,28 +8144,27 @@ export class Api<
|
|
|
6977
8144
|
/**
|
|
6978
8145
|
* No description
|
|
6979
8146
|
*
|
|
6980
|
-
* @tags
|
|
6981
|
-
* @name
|
|
6982
|
-
* @summary
|
|
6983
|
-
* @request
|
|
8147
|
+
* @tags AiUrlSource
|
|
8148
|
+
* @name UpdateAiUrlSource
|
|
8149
|
+
* @summary Update URL source
|
|
8150
|
+
* @request PUT:/api/ai/admin/url-sources/{id}
|
|
6984
8151
|
* @secure
|
|
6985
|
-
* @response `
|
|
8152
|
+
* @response `200` `AiUrlSource` OK
|
|
8153
|
+
* @response `400` `ProblemDetails` Bad Request
|
|
6986
8154
|
* @response `404` `ProblemDetails` Not Found
|
|
6987
|
-
* @response `
|
|
8155
|
+
* @response `409` `ProblemDetails` Conflict
|
|
6988
8156
|
*/
|
|
6989
|
-
|
|
8157
|
+
updateAiUrlSource: (
|
|
6990
8158
|
id: string,
|
|
6991
|
-
|
|
6992
|
-
/** @default false */
|
|
6993
|
-
hardDelete?: boolean;
|
|
6994
|
-
},
|
|
8159
|
+
data: UpdateAiUrlSourceRequest,
|
|
6995
8160
|
params: RequestParams = {},
|
|
6996
8161
|
) =>
|
|
6997
|
-
this.request<
|
|
6998
|
-
path: `/api/
|
|
6999
|
-
method: "
|
|
7000
|
-
|
|
8162
|
+
this.request<AiUrlSource, ProblemDetails>({
|
|
8163
|
+
path: `/api/ai/admin/url-sources/${id}`,
|
|
8164
|
+
method: "PUT",
|
|
8165
|
+
body: data,
|
|
7001
8166
|
secure: true,
|
|
8167
|
+
type: ContentType.Json,
|
|
7002
8168
|
format: "json",
|
|
7003
8169
|
...params,
|
|
7004
8170
|
}),
|
|
@@ -7006,26 +8172,38 @@ export class Api<
|
|
|
7006
8172
|
/**
|
|
7007
8173
|
* No description
|
|
7008
8174
|
*
|
|
7009
|
-
* @tags
|
|
7010
|
-
* @name
|
|
7011
|
-
* @summary
|
|
7012
|
-
* @request
|
|
8175
|
+
* @tags AiUrlSource
|
|
8176
|
+
* @name DeleteAiUrlSource
|
|
8177
|
+
* @summary Delete URL source
|
|
8178
|
+
* @request DELETE:/api/ai/admin/url-sources/{id}
|
|
7013
8179
|
* @secure
|
|
7014
|
-
* @response `
|
|
8180
|
+
* @response `204` `void` No Content
|
|
7015
8181
|
* @response `404` `ProblemDetails` Not Found
|
|
7016
|
-
* @response `422` `ProblemDetails` Unprocessable Content
|
|
7017
8182
|
*/
|
|
7018
|
-
|
|
7019
|
-
|
|
7020
|
-
|
|
7021
|
-
|
|
7022
|
-
|
|
7023
|
-
|
|
7024
|
-
|
|
7025
|
-
|
|
7026
|
-
|
|
8183
|
+
deleteAiUrlSource: (id: string, params: RequestParams = {}) =>
|
|
8184
|
+
this.request<void, ProblemDetails>({
|
|
8185
|
+
path: `/api/ai/admin/url-sources/${id}`,
|
|
8186
|
+
method: "DELETE",
|
|
8187
|
+
secure: true,
|
|
8188
|
+
...params,
|
|
8189
|
+
}),
|
|
8190
|
+
|
|
8191
|
+
/**
|
|
8192
|
+
* No description
|
|
8193
|
+
*
|
|
8194
|
+
* @tags AiUrlSource
|
|
8195
|
+
* @name ToggleAiUrlSource
|
|
8196
|
+
* @summary Toggle URL source active/inactive
|
|
8197
|
+
* @request PATCH:/api/ai/admin/url-sources/{id}/toggle
|
|
8198
|
+
* @secure
|
|
8199
|
+
* @response `200` `AiUrlSource` OK
|
|
8200
|
+
* @response `404` `ProblemDetails` Not Found
|
|
8201
|
+
*/
|
|
8202
|
+
toggleAiUrlSource: (id: string, params: RequestParams = {}) =>
|
|
8203
|
+
this.request<AiUrlSource, ProblemDetails>({
|
|
8204
|
+
path: `/api/ai/admin/url-sources/${id}/toggle`,
|
|
8205
|
+
method: "PATCH",
|
|
7027
8206
|
secure: true,
|
|
7028
|
-
type: "application/json",
|
|
7029
8207
|
format: "json",
|
|
7030
8208
|
...params,
|
|
7031
8209
|
}),
|
|
@@ -7058,7 +8236,7 @@ export class Api<
|
|
|
7058
8236
|
query: query,
|
|
7059
8237
|
body: data,
|
|
7060
8238
|
secure: true,
|
|
7061
|
-
type:
|
|
8239
|
+
type: ContentType.JsonPatch,
|
|
7062
8240
|
format: "json",
|
|
7063
8241
|
...params,
|
|
7064
8242
|
}),
|
|
@@ -7123,7 +8301,7 @@ export class Api<
|
|
|
7123
8301
|
method: "POST",
|
|
7124
8302
|
body: data,
|
|
7125
8303
|
secure: true,
|
|
7126
|
-
type:
|
|
8304
|
+
type: ContentType.Json,
|
|
7127
8305
|
format: "json",
|
|
7128
8306
|
...params,
|
|
7129
8307
|
}),
|
|
@@ -7145,7 +8323,7 @@ export class Api<
|
|
|
7145
8323
|
method: "POST",
|
|
7146
8324
|
body: data,
|
|
7147
8325
|
secure: true,
|
|
7148
|
-
type:
|
|
8326
|
+
type: ContentType.Json,
|
|
7149
8327
|
format: "json",
|
|
7150
8328
|
...params,
|
|
7151
8329
|
}),
|
|
@@ -7170,7 +8348,7 @@ export class Api<
|
|
|
7170
8348
|
method: "POST",
|
|
7171
8349
|
body: data,
|
|
7172
8350
|
secure: true,
|
|
7173
|
-
type:
|
|
8351
|
+
type: ContentType.Json,
|
|
7174
8352
|
format: "json",
|
|
7175
8353
|
...params,
|
|
7176
8354
|
}),
|
|
@@ -7192,7 +8370,7 @@ export class Api<
|
|
|
7192
8370
|
method: "POST",
|
|
7193
8371
|
body: data,
|
|
7194
8372
|
secure: true,
|
|
7195
|
-
type:
|
|
8373
|
+
type: ContentType.Json,
|
|
7196
8374
|
format: "json",
|
|
7197
8375
|
...params,
|
|
7198
8376
|
}),
|
|
@@ -7214,7 +8392,7 @@ export class Api<
|
|
|
7214
8392
|
method: "POST",
|
|
7215
8393
|
body: data,
|
|
7216
8394
|
secure: true,
|
|
7217
|
-
type:
|
|
8395
|
+
type: ContentType.Json,
|
|
7218
8396
|
format: "json",
|
|
7219
8397
|
...params,
|
|
7220
8398
|
}),
|
|
@@ -7287,7 +8465,7 @@ export class Api<
|
|
|
7287
8465
|
method: "POST",
|
|
7288
8466
|
body: data,
|
|
7289
8467
|
secure: true,
|
|
7290
|
-
type:
|
|
8468
|
+
type: ContentType.Json,
|
|
7291
8469
|
format: "json",
|
|
7292
8470
|
...params,
|
|
7293
8471
|
}),
|
|
@@ -7320,7 +8498,7 @@ export class Api<
|
|
|
7320
8498
|
query: query,
|
|
7321
8499
|
body: data,
|
|
7322
8500
|
secure: true,
|
|
7323
|
-
type:
|
|
8501
|
+
type: ContentType.Json,
|
|
7324
8502
|
format: "json",
|
|
7325
8503
|
...params,
|
|
7326
8504
|
}),
|
|
@@ -7365,7 +8543,7 @@ export class Api<
|
|
|
7365
8543
|
method: "PUT",
|
|
7366
8544
|
body: data,
|
|
7367
8545
|
secure: true,
|
|
7368
|
-
type:
|
|
8546
|
+
type: ContentType.Json,
|
|
7369
8547
|
format: "json",
|
|
7370
8548
|
...params,
|
|
7371
8549
|
}),
|
|
@@ -7428,7 +8606,7 @@ export class Api<
|
|
|
7428
8606
|
method: "POST",
|
|
7429
8607
|
body: data,
|
|
7430
8608
|
secure: true,
|
|
7431
|
-
type:
|
|
8609
|
+
type: ContentType.Json,
|
|
7432
8610
|
format: "json",
|
|
7433
8611
|
...params,
|
|
7434
8612
|
}),
|
|
@@ -7482,7 +8660,7 @@ export class Api<
|
|
|
7482
8660
|
query: query,
|
|
7483
8661
|
body: data,
|
|
7484
8662
|
secure: true,
|
|
7485
|
-
type:
|
|
8663
|
+
type: ContentType.Json,
|
|
7486
8664
|
format: "json",
|
|
7487
8665
|
...params,
|
|
7488
8666
|
}),
|
|
@@ -7551,7 +8729,7 @@ export class Api<
|
|
|
7551
8729
|
method: "POST",
|
|
7552
8730
|
body: data,
|
|
7553
8731
|
secure: true,
|
|
7554
|
-
type:
|
|
8732
|
+
type: ContentType.Json,
|
|
7555
8733
|
format: "json",
|
|
7556
8734
|
...params,
|
|
7557
8735
|
}),
|
|
@@ -7596,7 +8774,7 @@ export class Api<
|
|
|
7596
8774
|
method: "PUT",
|
|
7597
8775
|
body: data,
|
|
7598
8776
|
secure: true,
|
|
7599
|
-
type:
|
|
8777
|
+
type: ContentType.Json,
|
|
7600
8778
|
format: "json",
|
|
7601
8779
|
...params,
|
|
7602
8780
|
}),
|
|
@@ -7657,7 +8835,7 @@ export class Api<
|
|
|
7657
8835
|
method: "POST",
|
|
7658
8836
|
body: data,
|
|
7659
8837
|
secure: true,
|
|
7660
|
-
type:
|
|
8838
|
+
type: ContentType.Json,
|
|
7661
8839
|
format: "json",
|
|
7662
8840
|
...params,
|
|
7663
8841
|
}),
|
|
@@ -7751,7 +8929,7 @@ export class Api<
|
|
|
7751
8929
|
method: "POST",
|
|
7752
8930
|
body: data,
|
|
7753
8931
|
secure: true,
|
|
7754
|
-
type:
|
|
8932
|
+
type: ContentType.Json,
|
|
7755
8933
|
format: "json",
|
|
7756
8934
|
...params,
|
|
7757
8935
|
}),
|
|
@@ -7784,7 +8962,7 @@ export class Api<
|
|
|
7784
8962
|
query: query,
|
|
7785
8963
|
body: data,
|
|
7786
8964
|
secure: true,
|
|
7787
|
-
type:
|
|
8965
|
+
type: ContentType.Json,
|
|
7788
8966
|
format: "json",
|
|
7789
8967
|
...params,
|
|
7790
8968
|
}),
|
|
@@ -7829,7 +9007,7 @@ export class Api<
|
|
|
7829
9007
|
method: "PUT",
|
|
7830
9008
|
body: data,
|
|
7831
9009
|
secure: true,
|
|
7832
|
-
type:
|
|
9010
|
+
type: ContentType.Json,
|
|
7833
9011
|
format: "json",
|
|
7834
9012
|
...params,
|
|
7835
9013
|
}),
|
|
@@ -7891,7 +9069,7 @@ export class Api<
|
|
|
7891
9069
|
method: "POST",
|
|
7892
9070
|
body: data,
|
|
7893
9071
|
secure: true,
|
|
7894
|
-
type:
|
|
9072
|
+
type: ContentType.Json,
|
|
7895
9073
|
format: "json",
|
|
7896
9074
|
...params,
|
|
7897
9075
|
}),
|
|
@@ -7945,7 +9123,7 @@ export class Api<
|
|
|
7945
9123
|
query: query,
|
|
7946
9124
|
body: data,
|
|
7947
9125
|
secure: true,
|
|
7948
|
-
type:
|
|
9126
|
+
type: ContentType.Json,
|
|
7949
9127
|
format: "json",
|
|
7950
9128
|
...params,
|
|
7951
9129
|
}),
|
|
@@ -8000,7 +9178,7 @@ export class Api<
|
|
|
8000
9178
|
*/
|
|
8001
9179
|
getCustomFieldDefinitions: (
|
|
8002
9180
|
query?: {
|
|
8003
|
-
entityType?:
|
|
9181
|
+
entityType?: "Loan";
|
|
8004
9182
|
},
|
|
8005
9183
|
params: RequestParams = {},
|
|
8006
9184
|
) =>
|
|
@@ -8034,7 +9212,7 @@ export class Api<
|
|
|
8034
9212
|
method: "POST",
|
|
8035
9213
|
body: data,
|
|
8036
9214
|
secure: true,
|
|
8037
|
-
type:
|
|
9215
|
+
type: ContentType.Json,
|
|
8038
9216
|
format: "json",
|
|
8039
9217
|
...params,
|
|
8040
9218
|
}),
|
|
@@ -8083,7 +9261,7 @@ export class Api<
|
|
|
8083
9261
|
method: "PUT",
|
|
8084
9262
|
body: data,
|
|
8085
9263
|
secure: true,
|
|
8086
|
-
type:
|
|
9264
|
+
type: ContentType.Json,
|
|
8087
9265
|
format: "json",
|
|
8088
9266
|
...params,
|
|
8089
9267
|
}),
|
|
@@ -8217,7 +9395,7 @@ export class Api<
|
|
|
8217
9395
|
method: "PUT",
|
|
8218
9396
|
body: data,
|
|
8219
9397
|
secure: true,
|
|
8220
|
-
type:
|
|
9398
|
+
type: ContentType.Json,
|
|
8221
9399
|
format: "json",
|
|
8222
9400
|
...params,
|
|
8223
9401
|
}),
|
|
@@ -8336,7 +9514,7 @@ export class Api<
|
|
|
8336
9514
|
method: "POST",
|
|
8337
9515
|
body: data,
|
|
8338
9516
|
secure: true,
|
|
8339
|
-
type:
|
|
9517
|
+
type: ContentType.Json,
|
|
8340
9518
|
format: "json",
|
|
8341
9519
|
...params,
|
|
8342
9520
|
}),
|
|
@@ -8413,7 +9591,7 @@ export class Api<
|
|
|
8413
9591
|
method: "PUT",
|
|
8414
9592
|
body: data,
|
|
8415
9593
|
secure: true,
|
|
8416
|
-
type:
|
|
9594
|
+
type: ContentType.Json,
|
|
8417
9595
|
format: "json",
|
|
8418
9596
|
...params,
|
|
8419
9597
|
}),
|
|
@@ -8500,7 +9678,7 @@ export class Api<
|
|
|
8500
9678
|
method: "POST",
|
|
8501
9679
|
body: data,
|
|
8502
9680
|
secure: true,
|
|
8503
|
-
type:
|
|
9681
|
+
type: ContentType.Json,
|
|
8504
9682
|
format: "json",
|
|
8505
9683
|
...params,
|
|
8506
9684
|
}),
|
|
@@ -8549,7 +9727,7 @@ export class Api<
|
|
|
8549
9727
|
method: "PUT",
|
|
8550
9728
|
body: data,
|
|
8551
9729
|
secure: true,
|
|
8552
|
-
type:
|
|
9730
|
+
type: ContentType.Json,
|
|
8553
9731
|
format: "json",
|
|
8554
9732
|
...params,
|
|
8555
9733
|
}),
|
|
@@ -8624,7 +9802,7 @@ export class Api<
|
|
|
8624
9802
|
method: "POST",
|
|
8625
9803
|
body: data,
|
|
8626
9804
|
secure: true,
|
|
8627
|
-
type:
|
|
9805
|
+
type: ContentType.Json,
|
|
8628
9806
|
format: "json",
|
|
8629
9807
|
...params,
|
|
8630
9808
|
}),
|
|
@@ -8800,7 +9978,7 @@ export class Api<
|
|
|
8800
9978
|
method: "POST",
|
|
8801
9979
|
body: data,
|
|
8802
9980
|
secure: true,
|
|
8803
|
-
type:
|
|
9981
|
+
type: ContentType.Json,
|
|
8804
9982
|
format: "json",
|
|
8805
9983
|
...params,
|
|
8806
9984
|
}),
|
|
@@ -8863,7 +10041,7 @@ export class Api<
|
|
|
8863
10041
|
method: "POST",
|
|
8864
10042
|
body: data,
|
|
8865
10043
|
secure: true,
|
|
8866
|
-
type:
|
|
10044
|
+
type: ContentType.FormData,
|
|
8867
10045
|
format: "json",
|
|
8868
10046
|
...params,
|
|
8869
10047
|
}),
|
|
@@ -8904,7 +10082,7 @@ export class Api<
|
|
|
8904
10082
|
method: "PUT",
|
|
8905
10083
|
body: data,
|
|
8906
10084
|
secure: true,
|
|
8907
|
-
type:
|
|
10085
|
+
type: ContentType.Json,
|
|
8908
10086
|
format: "json",
|
|
8909
10087
|
...params,
|
|
8910
10088
|
}),
|
|
@@ -8955,7 +10133,7 @@ export class Api<
|
|
|
8955
10133
|
query: query,
|
|
8956
10134
|
body: data,
|
|
8957
10135
|
secure: true,
|
|
8958
|
-
type:
|
|
10136
|
+
type: ContentType.Json,
|
|
8959
10137
|
format: "json",
|
|
8960
10138
|
...params,
|
|
8961
10139
|
}),
|
|
@@ -9002,7 +10180,7 @@ export class Api<
|
|
|
9002
10180
|
method: "POST",
|
|
9003
10181
|
body: data,
|
|
9004
10182
|
secure: true,
|
|
9005
|
-
type:
|
|
10183
|
+
type: ContentType.Json,
|
|
9006
10184
|
format: "json",
|
|
9007
10185
|
...params,
|
|
9008
10186
|
}),
|
|
@@ -9043,7 +10221,7 @@ export class Api<
|
|
|
9043
10221
|
method: "PUT",
|
|
9044
10222
|
body: data,
|
|
9045
10223
|
secure: true,
|
|
9046
|
-
type:
|
|
10224
|
+
type: ContentType.Json,
|
|
9047
10225
|
format: "json",
|
|
9048
10226
|
...params,
|
|
9049
10227
|
}),
|
|
@@ -9109,7 +10287,7 @@ export class Api<
|
|
|
9109
10287
|
method: "POST",
|
|
9110
10288
|
body: data,
|
|
9111
10289
|
secure: true,
|
|
9112
|
-
type:
|
|
10290
|
+
type: ContentType.FormData,
|
|
9113
10291
|
format: "json",
|
|
9114
10292
|
...params,
|
|
9115
10293
|
}),
|
|
@@ -9217,7 +10395,7 @@ export class Api<
|
|
|
9217
10395
|
query: query,
|
|
9218
10396
|
body: data,
|
|
9219
10397
|
secure: true,
|
|
9220
|
-
type:
|
|
10398
|
+
type: ContentType.Json,
|
|
9221
10399
|
format: "json",
|
|
9222
10400
|
...params,
|
|
9223
10401
|
}),
|
|
@@ -9261,7 +10439,7 @@ export class Api<
|
|
|
9261
10439
|
method: "PUT",
|
|
9262
10440
|
body: data,
|
|
9263
10441
|
secure: true,
|
|
9264
|
-
type:
|
|
10442
|
+
type: ContentType.Json,
|
|
9265
10443
|
format: "json",
|
|
9266
10444
|
...params,
|
|
9267
10445
|
}),
|
|
@@ -9312,7 +10490,7 @@ export class Api<
|
|
|
9312
10490
|
query: query,
|
|
9313
10491
|
body: data,
|
|
9314
10492
|
secure: true,
|
|
9315
|
-
type:
|
|
10493
|
+
type: ContentType.Json,
|
|
9316
10494
|
format: "json",
|
|
9317
10495
|
...params,
|
|
9318
10496
|
}),
|
|
@@ -9356,7 +10534,7 @@ export class Api<
|
|
|
9356
10534
|
method: "POST",
|
|
9357
10535
|
body: data,
|
|
9358
10536
|
secure: true,
|
|
9359
|
-
type:
|
|
10537
|
+
type: ContentType.Json,
|
|
9360
10538
|
format: "json",
|
|
9361
10539
|
...params,
|
|
9362
10540
|
}),
|
|
@@ -9401,7 +10579,7 @@ export class Api<
|
|
|
9401
10579
|
method: "PUT",
|
|
9402
10580
|
body: data,
|
|
9403
10581
|
secure: true,
|
|
9404
|
-
type:
|
|
10582
|
+
type: ContentType.Json,
|
|
9405
10583
|
format: "json",
|
|
9406
10584
|
...params,
|
|
9407
10585
|
}),
|
|
@@ -9489,7 +10667,7 @@ export class Api<
|
|
|
9489
10667
|
method: "PATCH",
|
|
9490
10668
|
body: data,
|
|
9491
10669
|
secure: true,
|
|
9492
|
-
type:
|
|
10670
|
+
type: ContentType.JsonPatch,
|
|
9493
10671
|
format: "json",
|
|
9494
10672
|
...params,
|
|
9495
10673
|
}),
|
|
@@ -9510,7 +10688,7 @@ export class Api<
|
|
|
9510
10688
|
method: "POST",
|
|
9511
10689
|
body: data,
|
|
9512
10690
|
secure: true,
|
|
9513
|
-
type:
|
|
10691
|
+
type: ContentType.Json,
|
|
9514
10692
|
format: "json",
|
|
9515
10693
|
...params,
|
|
9516
10694
|
}),
|
|
@@ -9542,7 +10720,7 @@ export class Api<
|
|
|
9542
10720
|
query: query,
|
|
9543
10721
|
body: data,
|
|
9544
10722
|
secure: true,
|
|
9545
|
-
type:
|
|
10723
|
+
type: ContentType.Json,
|
|
9546
10724
|
format: "json",
|
|
9547
10725
|
...params,
|
|
9548
10726
|
}),
|
|
@@ -9573,7 +10751,7 @@ export class Api<
|
|
|
9573
10751
|
query: query,
|
|
9574
10752
|
body: data,
|
|
9575
10753
|
secure: true,
|
|
9576
|
-
type:
|
|
10754
|
+
type: ContentType.Json,
|
|
9577
10755
|
format: "json",
|
|
9578
10756
|
...params,
|
|
9579
10757
|
}),
|
|
@@ -9599,7 +10777,7 @@ export class Api<
|
|
|
9599
10777
|
method: "PATCH",
|
|
9600
10778
|
body: data,
|
|
9601
10779
|
secure: true,
|
|
9602
|
-
type:
|
|
10780
|
+
type: ContentType.JsonPatch,
|
|
9603
10781
|
format: "json",
|
|
9604
10782
|
...params,
|
|
9605
10783
|
}),
|
|
@@ -9626,7 +10804,7 @@ export class Api<
|
|
|
9626
10804
|
method: "PATCH",
|
|
9627
10805
|
body: data,
|
|
9628
10806
|
secure: true,
|
|
9629
|
-
type:
|
|
10807
|
+
type: ContentType.JsonPatch,
|
|
9630
10808
|
format: "json",
|
|
9631
10809
|
...params,
|
|
9632
10810
|
}),
|
|
@@ -9783,7 +10961,7 @@ export class Api<
|
|
|
9783
10961
|
method: "POST",
|
|
9784
10962
|
body: data,
|
|
9785
10963
|
secure: true,
|
|
9786
|
-
type:
|
|
10964
|
+
type: ContentType.Json,
|
|
9787
10965
|
format: "json",
|
|
9788
10966
|
...params,
|
|
9789
10967
|
}),
|
|
@@ -9843,7 +11021,7 @@ export class Api<
|
|
|
9843
11021
|
method: "POST",
|
|
9844
11022
|
body: data,
|
|
9845
11023
|
secure: true,
|
|
9846
|
-
type:
|
|
11024
|
+
type: ContentType.FormData,
|
|
9847
11025
|
format: "json",
|
|
9848
11026
|
...params,
|
|
9849
11027
|
}),
|
|
@@ -9868,7 +11046,7 @@ export class Api<
|
|
|
9868
11046
|
method: "PATCH",
|
|
9869
11047
|
body: data,
|
|
9870
11048
|
secure: true,
|
|
9871
|
-
type:
|
|
11049
|
+
type: ContentType.JsonPatch,
|
|
9872
11050
|
format: "json",
|
|
9873
11051
|
...params,
|
|
9874
11052
|
}),
|
|
@@ -9923,7 +11101,7 @@ export class Api<
|
|
|
9923
11101
|
method: "POST",
|
|
9924
11102
|
body: data,
|
|
9925
11103
|
secure: true,
|
|
9926
|
-
type:
|
|
11104
|
+
type: ContentType.FormData,
|
|
9927
11105
|
format: "json",
|
|
9928
11106
|
...params,
|
|
9929
11107
|
}),
|
|
@@ -9948,7 +11126,7 @@ export class Api<
|
|
|
9948
11126
|
method: "PATCH",
|
|
9949
11127
|
body: data,
|
|
9950
11128
|
secure: true,
|
|
9951
|
-
type:
|
|
11129
|
+
type: ContentType.JsonPatch,
|
|
9952
11130
|
format: "json",
|
|
9953
11131
|
...params,
|
|
9954
11132
|
}),
|
|
@@ -10022,7 +11200,7 @@ export class Api<
|
|
|
10022
11200
|
method: "POST",
|
|
10023
11201
|
body: data,
|
|
10024
11202
|
secure: true,
|
|
10025
|
-
type:
|
|
11203
|
+
type: ContentType.Json,
|
|
10026
11204
|
format: "json",
|
|
10027
11205
|
...params,
|
|
10028
11206
|
}),
|
|
@@ -10085,7 +11263,7 @@ export class Api<
|
|
|
10085
11263
|
method: "PUT",
|
|
10086
11264
|
body: data,
|
|
10087
11265
|
secure: true,
|
|
10088
|
-
type:
|
|
11266
|
+
type: ContentType.Json,
|
|
10089
11267
|
format: "json",
|
|
10090
11268
|
...params,
|
|
10091
11269
|
}),
|
|
@@ -10136,7 +11314,7 @@ export class Api<
|
|
|
10136
11314
|
query: query,
|
|
10137
11315
|
body: data,
|
|
10138
11316
|
secure: true,
|
|
10139
|
-
type:
|
|
11317
|
+
type: ContentType.Json,
|
|
10140
11318
|
format: "json",
|
|
10141
11319
|
...params,
|
|
10142
11320
|
}),
|
|
@@ -10164,7 +11342,7 @@ export class Api<
|
|
|
10164
11342
|
method: "PUT",
|
|
10165
11343
|
body: data,
|
|
10166
11344
|
secure: true,
|
|
10167
|
-
type:
|
|
11345
|
+
type: ContentType.FormData,
|
|
10168
11346
|
format: "json",
|
|
10169
11347
|
...params,
|
|
10170
11348
|
}),
|
|
@@ -10247,7 +11425,7 @@ export class Api<
|
|
|
10247
11425
|
method: "POST",
|
|
10248
11426
|
body: data,
|
|
10249
11427
|
secure: true,
|
|
10250
|
-
type:
|
|
11428
|
+
type: ContentType.Json,
|
|
10251
11429
|
format: "json",
|
|
10252
11430
|
...params,
|
|
10253
11431
|
}),
|
|
@@ -10294,7 +11472,7 @@ export class Api<
|
|
|
10294
11472
|
method: "POST",
|
|
10295
11473
|
body: data,
|
|
10296
11474
|
secure: true,
|
|
10297
|
-
type:
|
|
11475
|
+
type: ContentType.Json,
|
|
10298
11476
|
format: "json",
|
|
10299
11477
|
...params,
|
|
10300
11478
|
}),
|
|
@@ -10342,7 +11520,7 @@ export class Api<
|
|
|
10342
11520
|
method: "POST",
|
|
10343
11521
|
body: data,
|
|
10344
11522
|
secure: true,
|
|
10345
|
-
type:
|
|
11523
|
+
type: ContentType.Json,
|
|
10346
11524
|
...params,
|
|
10347
11525
|
}),
|
|
10348
11526
|
|
|
@@ -10407,7 +11585,7 @@ export class Api<
|
|
|
10407
11585
|
method: "PUT",
|
|
10408
11586
|
body: data,
|
|
10409
11587
|
secure: true,
|
|
10410
|
-
type:
|
|
11588
|
+
type: ContentType.Json,
|
|
10411
11589
|
...params,
|
|
10412
11590
|
}),
|
|
10413
11591
|
|
|
@@ -10435,7 +11613,7 @@ export class Api<
|
|
|
10435
11613
|
method: "PUT",
|
|
10436
11614
|
body: data,
|
|
10437
11615
|
secure: true,
|
|
10438
|
-
type:
|
|
11616
|
+
type: ContentType.Json,
|
|
10439
11617
|
...params,
|
|
10440
11618
|
}),
|
|
10441
11619
|
|
|
@@ -10501,7 +11679,7 @@ export class Api<
|
|
|
10501
11679
|
method: "POST",
|
|
10502
11680
|
body: data,
|
|
10503
11681
|
secure: true,
|
|
10504
|
-
type:
|
|
11682
|
+
type: ContentType.Json,
|
|
10505
11683
|
format: "json",
|
|
10506
11684
|
...params,
|
|
10507
11685
|
}),
|
|
@@ -10546,7 +11724,7 @@ export class Api<
|
|
|
10546
11724
|
method: "POST",
|
|
10547
11725
|
body: data,
|
|
10548
11726
|
secure: true,
|
|
10549
|
-
type:
|
|
11727
|
+
type: ContentType.Json,
|
|
10550
11728
|
format: "json",
|
|
10551
11729
|
...params,
|
|
10552
11730
|
}),
|
|
@@ -10595,7 +11773,7 @@ export class Api<
|
|
|
10595
11773
|
method: "PUT",
|
|
10596
11774
|
body: data,
|
|
10597
11775
|
secure: true,
|
|
10598
|
-
type:
|
|
11776
|
+
type: ContentType.Json,
|
|
10599
11777
|
format: "json",
|
|
10600
11778
|
...params,
|
|
10601
11779
|
}),
|
|
@@ -10730,7 +11908,7 @@ export class Api<
|
|
|
10730
11908
|
method: "POST",
|
|
10731
11909
|
body: data,
|
|
10732
11910
|
secure: true,
|
|
10733
|
-
type:
|
|
11911
|
+
type: ContentType.Json,
|
|
10734
11912
|
format: "json",
|
|
10735
11913
|
...params,
|
|
10736
11914
|
}),
|
|
@@ -10764,7 +11942,7 @@ export class Api<
|
|
|
10764
11942
|
query: query,
|
|
10765
11943
|
body: data,
|
|
10766
11944
|
secure: true,
|
|
10767
|
-
type:
|
|
11945
|
+
type: ContentType.Json,
|
|
10768
11946
|
format: "json",
|
|
10769
11947
|
...params,
|
|
10770
11948
|
}),
|
|
@@ -10794,7 +11972,7 @@ export class Api<
|
|
|
10794
11972
|
query: query,
|
|
10795
11973
|
body: data,
|
|
10796
11974
|
secure: true,
|
|
10797
|
-
type:
|
|
11975
|
+
type: ContentType.Json,
|
|
10798
11976
|
format: "json",
|
|
10799
11977
|
...params,
|
|
10800
11978
|
}),
|
|
@@ -10807,7 +11985,7 @@ export class Api<
|
|
|
10807
11985
|
* @summary Download By ID
|
|
10808
11986
|
* @request GET:/api/loans/{loanId}/documents/{documentId}/download
|
|
10809
11987
|
* @secure
|
|
10810
|
-
* @response `200` `
|
|
11988
|
+
* @response `200` `string` OK
|
|
10811
11989
|
* @response `404` `ProblemDetails` Not Found
|
|
10812
11990
|
*/
|
|
10813
11991
|
downloadLoanDocument: (
|
|
@@ -10815,7 +11993,7 @@ export class Api<
|
|
|
10815
11993
|
documentId: string,
|
|
10816
11994
|
params: RequestParams = {},
|
|
10817
11995
|
) =>
|
|
10818
|
-
this.request<
|
|
11996
|
+
this.request<string, ProblemDetails>({
|
|
10819
11997
|
path: `/api/loans/${loanId}/documents/${documentId}/download`,
|
|
10820
11998
|
method: "GET",
|
|
10821
11999
|
secure: true,
|
|
@@ -10852,7 +12030,7 @@ export class Api<
|
|
|
10852
12030
|
method: "POST",
|
|
10853
12031
|
body: data,
|
|
10854
12032
|
secure: true,
|
|
10855
|
-
type:
|
|
12033
|
+
type: ContentType.FormData,
|
|
10856
12034
|
format: "json",
|
|
10857
12035
|
...params,
|
|
10858
12036
|
}),
|
|
@@ -10902,7 +12080,7 @@ export class Api<
|
|
|
10902
12080
|
method: "POST",
|
|
10903
12081
|
body: data,
|
|
10904
12082
|
secure: true,
|
|
10905
|
-
type:
|
|
12083
|
+
type: ContentType.Json,
|
|
10906
12084
|
format: "json",
|
|
10907
12085
|
...params,
|
|
10908
12086
|
}),
|
|
@@ -10929,7 +12107,7 @@ export class Api<
|
|
|
10929
12107
|
method: "POST",
|
|
10930
12108
|
body: data,
|
|
10931
12109
|
secure: true,
|
|
10932
|
-
type:
|
|
12110
|
+
type: ContentType.Json,
|
|
10933
12111
|
...params,
|
|
10934
12112
|
}),
|
|
10935
12113
|
|
|
@@ -10993,7 +12171,7 @@ export class Api<
|
|
|
10993
12171
|
method: "POST",
|
|
10994
12172
|
body: data,
|
|
10995
12173
|
secure: true,
|
|
10996
|
-
type:
|
|
12174
|
+
type: ContentType.Json,
|
|
10997
12175
|
format: "json",
|
|
10998
12176
|
...params,
|
|
10999
12177
|
}),
|
|
@@ -11056,7 +12234,7 @@ export class Api<
|
|
|
11056
12234
|
method: "PUT",
|
|
11057
12235
|
body: data,
|
|
11058
12236
|
secure: true,
|
|
11059
|
-
type:
|
|
12237
|
+
type: ContentType.Json,
|
|
11060
12238
|
format: "json",
|
|
11061
12239
|
...params,
|
|
11062
12240
|
}),
|
|
@@ -11107,7 +12285,7 @@ export class Api<
|
|
|
11107
12285
|
query: query,
|
|
11108
12286
|
body: data,
|
|
11109
12287
|
secure: true,
|
|
11110
|
-
type:
|
|
12288
|
+
type: ContentType.Json,
|
|
11111
12289
|
format: "json",
|
|
11112
12290
|
...params,
|
|
11113
12291
|
}),
|
|
@@ -11132,7 +12310,7 @@ export class Api<
|
|
|
11132
12310
|
method: "PUT",
|
|
11133
12311
|
body: data,
|
|
11134
12312
|
secure: true,
|
|
11135
|
-
type:
|
|
12313
|
+
type: ContentType.Json,
|
|
11136
12314
|
format: "json",
|
|
11137
12315
|
...params,
|
|
11138
12316
|
}),
|
|
@@ -11207,7 +12385,7 @@ export class Api<
|
|
|
11207
12385
|
method: "POST",
|
|
11208
12386
|
body: data,
|
|
11209
12387
|
secure: true,
|
|
11210
|
-
type:
|
|
12388
|
+
type: ContentType.Json,
|
|
11211
12389
|
format: "json",
|
|
11212
12390
|
...params,
|
|
11213
12391
|
}),
|
|
@@ -11303,7 +12481,7 @@ export class Api<
|
|
|
11303
12481
|
method: "POST",
|
|
11304
12482
|
body: data,
|
|
11305
12483
|
secure: true,
|
|
11306
|
-
type:
|
|
12484
|
+
type: ContentType.Json,
|
|
11307
12485
|
format: "json",
|
|
11308
12486
|
...params,
|
|
11309
12487
|
}),
|
|
@@ -11337,7 +12515,7 @@ export class Api<
|
|
|
11337
12515
|
query: query,
|
|
11338
12516
|
body: data,
|
|
11339
12517
|
secure: true,
|
|
11340
|
-
type:
|
|
12518
|
+
type: ContentType.Json,
|
|
11341
12519
|
format: "json",
|
|
11342
12520
|
...params,
|
|
11343
12521
|
}),
|
|
@@ -11425,7 +12603,7 @@ export class Api<
|
|
|
11425
12603
|
query: query,
|
|
11426
12604
|
body: data,
|
|
11427
12605
|
secure: true,
|
|
11428
|
-
type:
|
|
12606
|
+
type: ContentType.Json,
|
|
11429
12607
|
format: "json",
|
|
11430
12608
|
...params,
|
|
11431
12609
|
}),
|
|
@@ -11470,7 +12648,7 @@ export class Api<
|
|
|
11470
12648
|
method: "POST",
|
|
11471
12649
|
body: data,
|
|
11472
12650
|
secure: true,
|
|
11473
|
-
type:
|
|
12651
|
+
type: ContentType.Json,
|
|
11474
12652
|
format: "json",
|
|
11475
12653
|
...params,
|
|
11476
12654
|
}),
|
|
@@ -11524,7 +12702,7 @@ export class Api<
|
|
|
11524
12702
|
query: query,
|
|
11525
12703
|
body: data,
|
|
11526
12704
|
secure: true,
|
|
11527
|
-
type:
|
|
12705
|
+
type: ContentType.Json,
|
|
11528
12706
|
format: "json",
|
|
11529
12707
|
...params,
|
|
11530
12708
|
}),
|
|
@@ -11557,7 +12735,7 @@ export class Api<
|
|
|
11557
12735
|
query: query,
|
|
11558
12736
|
body: data,
|
|
11559
12737
|
secure: true,
|
|
11560
|
-
type:
|
|
12738
|
+
type: ContentType.Json,
|
|
11561
12739
|
format: "json",
|
|
11562
12740
|
...params,
|
|
11563
12741
|
}),
|
|
@@ -11603,7 +12781,7 @@ export class Api<
|
|
|
11603
12781
|
method: "PUT",
|
|
11604
12782
|
body: data,
|
|
11605
12783
|
secure: true,
|
|
11606
|
-
type:
|
|
12784
|
+
type: ContentType.Json,
|
|
11607
12785
|
format: "json",
|
|
11608
12786
|
...params,
|
|
11609
12787
|
}),
|
|
@@ -11704,7 +12882,7 @@ export class Api<
|
|
|
11704
12882
|
method: "POST",
|
|
11705
12883
|
body: data,
|
|
11706
12884
|
secure: true,
|
|
11707
|
-
type:
|
|
12885
|
+
type: ContentType.Json,
|
|
11708
12886
|
format: "json",
|
|
11709
12887
|
...params,
|
|
11710
12888
|
}),
|
|
@@ -11737,7 +12915,7 @@ export class Api<
|
|
|
11737
12915
|
query: query,
|
|
11738
12916
|
body: data,
|
|
11739
12917
|
secure: true,
|
|
11740
|
-
type:
|
|
12918
|
+
type: ContentType.Json,
|
|
11741
12919
|
format: "json",
|
|
11742
12920
|
...params,
|
|
11743
12921
|
}),
|
|
@@ -11757,12 +12935,17 @@ export class Api<
|
|
|
11757
12935
|
* @response `404` `ProblemDetails` Not Found
|
|
11758
12936
|
* @response `409` `any` Conflict
|
|
11759
12937
|
*/
|
|
11760
|
-
updateLoan: (
|
|
12938
|
+
updateLoan: (
|
|
12939
|
+
loanId: string,
|
|
12940
|
+
data: LoanPatchRequestGuidPatchDocument,
|
|
12941
|
+
params: RequestParams = {},
|
|
12942
|
+
) =>
|
|
11761
12943
|
this.request<Loan, ProblemDetails>({
|
|
11762
12944
|
path: `/api/loans/${loanId}`,
|
|
11763
12945
|
method: "PATCH",
|
|
11764
12946
|
body: data,
|
|
11765
12947
|
secure: true,
|
|
12948
|
+
type: ContentType.JsonPatch,
|
|
11766
12949
|
format: "json",
|
|
11767
12950
|
...params,
|
|
11768
12951
|
}),
|
|
@@ -11872,7 +13055,7 @@ export class Api<
|
|
|
11872
13055
|
method: "POST",
|
|
11873
13056
|
body: data,
|
|
11874
13057
|
secure: true,
|
|
11875
|
-
type:
|
|
13058
|
+
type: ContentType.Json,
|
|
11876
13059
|
format: "json",
|
|
11877
13060
|
...params,
|
|
11878
13061
|
}),
|
|
@@ -11908,7 +13091,7 @@ export class Api<
|
|
|
11908
13091
|
query: query,
|
|
11909
13092
|
body: data,
|
|
11910
13093
|
secure: true,
|
|
11911
|
-
type:
|
|
13094
|
+
type: ContentType.Json,
|
|
11912
13095
|
format: "json",
|
|
11913
13096
|
...params,
|
|
11914
13097
|
}),
|
|
@@ -11960,7 +13143,7 @@ export class Api<
|
|
|
11960
13143
|
method: "POST",
|
|
11961
13144
|
body: data,
|
|
11962
13145
|
secure: true,
|
|
11963
|
-
type:
|
|
13146
|
+
type: ContentType.Json,
|
|
11964
13147
|
format: "json",
|
|
11965
13148
|
...params,
|
|
11966
13149
|
}),
|
|
@@ -11988,7 +13171,7 @@ export class Api<
|
|
|
11988
13171
|
method: "PUT",
|
|
11989
13172
|
body: data,
|
|
11990
13173
|
secure: true,
|
|
11991
|
-
type:
|
|
13174
|
+
type: ContentType.Json,
|
|
11992
13175
|
format: "json",
|
|
11993
13176
|
...params,
|
|
11994
13177
|
}),
|
|
@@ -12047,7 +13230,7 @@ export class Api<
|
|
|
12047
13230
|
method: "POST",
|
|
12048
13231
|
body: data,
|
|
12049
13232
|
secure: true,
|
|
12050
|
-
type:
|
|
13233
|
+
type: ContentType.FormData,
|
|
12051
13234
|
format: "json",
|
|
12052
13235
|
...params,
|
|
12053
13236
|
}),
|
|
@@ -12120,7 +13303,7 @@ export class Api<
|
|
|
12120
13303
|
method: "POST",
|
|
12121
13304
|
body: data,
|
|
12122
13305
|
secure: true,
|
|
12123
|
-
type:
|
|
13306
|
+
type: ContentType.Json,
|
|
12124
13307
|
...params,
|
|
12125
13308
|
}),
|
|
12126
13309
|
|
|
@@ -12152,7 +13335,7 @@ export class Api<
|
|
|
12152
13335
|
query: query,
|
|
12153
13336
|
body: data,
|
|
12154
13337
|
secure: true,
|
|
12155
|
-
type:
|
|
13338
|
+
type: ContentType.Json,
|
|
12156
13339
|
format: "json",
|
|
12157
13340
|
...params,
|
|
12158
13341
|
}),
|
|
@@ -12177,7 +13360,7 @@ export class Api<
|
|
|
12177
13360
|
method: "POST",
|
|
12178
13361
|
body: data,
|
|
12179
13362
|
secure: true,
|
|
12180
|
-
type:
|
|
13363
|
+
type: ContentType.Json,
|
|
12181
13364
|
format: "json",
|
|
12182
13365
|
...params,
|
|
12183
13366
|
}),
|
|
@@ -12264,7 +13447,7 @@ export class Api<
|
|
|
12264
13447
|
method: "POST",
|
|
12265
13448
|
body: data,
|
|
12266
13449
|
secure: true,
|
|
12267
|
-
type:
|
|
13450
|
+
type: ContentType.Json,
|
|
12268
13451
|
format: "json",
|
|
12269
13452
|
...params,
|
|
12270
13453
|
}),
|
|
@@ -12290,7 +13473,7 @@ export class Api<
|
|
|
12290
13473
|
method: "POST",
|
|
12291
13474
|
body: data,
|
|
12292
13475
|
secure: true,
|
|
12293
|
-
type:
|
|
13476
|
+
type: ContentType.Json,
|
|
12294
13477
|
format: "json",
|
|
12295
13478
|
...params,
|
|
12296
13479
|
}),
|
|
@@ -12317,7 +13500,7 @@ export class Api<
|
|
|
12317
13500
|
method: "PUT",
|
|
12318
13501
|
body: data,
|
|
12319
13502
|
secure: true,
|
|
12320
|
-
type:
|
|
13503
|
+
type: ContentType.Json,
|
|
12321
13504
|
format: "json",
|
|
12322
13505
|
...params,
|
|
12323
13506
|
}),
|
|
@@ -12434,7 +13617,7 @@ export class Api<
|
|
|
12434
13617
|
method: "POST",
|
|
12435
13618
|
body: data,
|
|
12436
13619
|
secure: true,
|
|
12437
|
-
type:
|
|
13620
|
+
type: ContentType.Json,
|
|
12438
13621
|
format: "json",
|
|
12439
13622
|
...params,
|
|
12440
13623
|
}),
|
|
@@ -12512,7 +13695,7 @@ export class Api<
|
|
|
12512
13695
|
query: query,
|
|
12513
13696
|
body: data,
|
|
12514
13697
|
secure: true,
|
|
12515
|
-
type:
|
|
13698
|
+
type: ContentType.Json,
|
|
12516
13699
|
format: "json",
|
|
12517
13700
|
...params,
|
|
12518
13701
|
}),
|
|
@@ -12556,7 +13739,7 @@ export class Api<
|
|
|
12556
13739
|
method: "POST",
|
|
12557
13740
|
body: data,
|
|
12558
13741
|
secure: true,
|
|
12559
|
-
type:
|
|
13742
|
+
type: ContentType.Json,
|
|
12560
13743
|
format: "json",
|
|
12561
13744
|
...params,
|
|
12562
13745
|
}),
|
|
@@ -12603,7 +13786,7 @@ export class Api<
|
|
|
12603
13786
|
method: "PUT",
|
|
12604
13787
|
body: data,
|
|
12605
13788
|
secure: true,
|
|
12606
|
-
type:
|
|
13789
|
+
type: ContentType.Json,
|
|
12607
13790
|
format: "json",
|
|
12608
13791
|
...params,
|
|
12609
13792
|
}),
|
|
@@ -12649,7 +13832,7 @@ export class Api<
|
|
|
12649
13832
|
method: "POST",
|
|
12650
13833
|
body: data,
|
|
12651
13834
|
secure: true,
|
|
12652
|
-
type:
|
|
13835
|
+
type: ContentType.Json,
|
|
12653
13836
|
format: "json",
|
|
12654
13837
|
...params,
|
|
12655
13838
|
}),
|
|
@@ -12674,7 +13857,7 @@ export class Api<
|
|
|
12674
13857
|
method: "POST",
|
|
12675
13858
|
body: data,
|
|
12676
13859
|
secure: true,
|
|
12677
|
-
type:
|
|
13860
|
+
type: ContentType.Json,
|
|
12678
13861
|
format: "json",
|
|
12679
13862
|
...params,
|
|
12680
13863
|
}),
|
|
@@ -12699,7 +13882,7 @@ export class Api<
|
|
|
12699
13882
|
method: "POST",
|
|
12700
13883
|
body: data,
|
|
12701
13884
|
secure: true,
|
|
12702
|
-
type:
|
|
13885
|
+
type: ContentType.Json,
|
|
12703
13886
|
format: "json",
|
|
12704
13887
|
...params,
|
|
12705
13888
|
}),
|
|
@@ -12724,7 +13907,7 @@ export class Api<
|
|
|
12724
13907
|
method: "POST",
|
|
12725
13908
|
body: data,
|
|
12726
13909
|
secure: true,
|
|
12727
|
-
type:
|
|
13910
|
+
type: ContentType.Json,
|
|
12728
13911
|
format: "json",
|
|
12729
13912
|
...params,
|
|
12730
13913
|
}),
|
|
@@ -12749,7 +13932,7 @@ export class Api<
|
|
|
12749
13932
|
method: "POST",
|
|
12750
13933
|
body: data,
|
|
12751
13934
|
secure: true,
|
|
12752
|
-
type:
|
|
13935
|
+
type: ContentType.Json,
|
|
12753
13936
|
format: "json",
|
|
12754
13937
|
...params,
|
|
12755
13938
|
}),
|
|
@@ -12774,7 +13957,7 @@ export class Api<
|
|
|
12774
13957
|
method: "POST",
|
|
12775
13958
|
body: data,
|
|
12776
13959
|
secure: true,
|
|
12777
|
-
type:
|
|
13960
|
+
type: ContentType.Json,
|
|
12778
13961
|
...params,
|
|
12779
13962
|
}),
|
|
12780
13963
|
|
|
@@ -12798,7 +13981,7 @@ export class Api<
|
|
|
12798
13981
|
method: "POST",
|
|
12799
13982
|
body: data,
|
|
12800
13983
|
secure: true,
|
|
12801
|
-
type:
|
|
13984
|
+
type: ContentType.Json,
|
|
12802
13985
|
...params,
|
|
12803
13986
|
}),
|
|
12804
13987
|
|
|
@@ -12847,7 +14030,7 @@ export class Api<
|
|
|
12847
14030
|
method: "POST",
|
|
12848
14031
|
body: data,
|
|
12849
14032
|
secure: true,
|
|
12850
|
-
type:
|
|
14033
|
+
type: ContentType.Json,
|
|
12851
14034
|
format: "json",
|
|
12852
14035
|
...params,
|
|
12853
14036
|
}),
|
|
@@ -12880,7 +14063,7 @@ export class Api<
|
|
|
12880
14063
|
query: query,
|
|
12881
14064
|
body: data,
|
|
12882
14065
|
secure: true,
|
|
12883
|
-
type:
|
|
14066
|
+
type: ContentType.Json,
|
|
12884
14067
|
format: "json",
|
|
12885
14068
|
...params,
|
|
12886
14069
|
}),
|
|
@@ -12925,7 +14108,7 @@ export class Api<
|
|
|
12925
14108
|
method: "PUT",
|
|
12926
14109
|
body: data,
|
|
12927
14110
|
secure: true,
|
|
12928
|
-
type:
|
|
14111
|
+
type: ContentType.Json,
|
|
12929
14112
|
format: "json",
|
|
12930
14113
|
...params,
|
|
12931
14114
|
}),
|
|
@@ -13009,7 +14192,7 @@ export class Api<
|
|
|
13009
14192
|
method: "POST",
|
|
13010
14193
|
body: data,
|
|
13011
14194
|
secure: true,
|
|
13012
|
-
type:
|
|
14195
|
+
type: ContentType.Json,
|
|
13013
14196
|
format: "json",
|
|
13014
14197
|
...params,
|
|
13015
14198
|
}),
|
|
@@ -13058,7 +14241,7 @@ export class Api<
|
|
|
13058
14241
|
method: "PUT",
|
|
13059
14242
|
body: data,
|
|
13060
14243
|
secure: true,
|
|
13061
|
-
type:
|
|
14244
|
+
type: ContentType.Json,
|
|
13062
14245
|
format: "json",
|
|
13063
14246
|
...params,
|
|
13064
14247
|
}),
|
|
@@ -13100,7 +14283,16 @@ export class Api<
|
|
|
13100
14283
|
query?: {
|
|
13101
14284
|
showAll?: boolean;
|
|
13102
14285
|
/** @default "Realtor" */
|
|
13103
|
-
role?:
|
|
14286
|
+
role?:
|
|
14287
|
+
| "Borrower"
|
|
14288
|
+
| "LoanOfficer"
|
|
14289
|
+
| "Admin"
|
|
14290
|
+
| "SuperAdmin"
|
|
14291
|
+
| "Realtor"
|
|
14292
|
+
| "SettlementAgent"
|
|
14293
|
+
| "LoanProcessor"
|
|
14294
|
+
| "LoanOfficerAssistant"
|
|
14295
|
+
| "SystemAdmin";
|
|
13104
14296
|
/** @format int32 */
|
|
13105
14297
|
pageSize?: number;
|
|
13106
14298
|
/** @format int32 */
|
|
@@ -13147,7 +14339,7 @@ export class Api<
|
|
|
13147
14339
|
query: query,
|
|
13148
14340
|
body: data,
|
|
13149
14341
|
secure: true,
|
|
13150
|
-
type:
|
|
14342
|
+
type: ContentType.Json,
|
|
13151
14343
|
format: "json",
|
|
13152
14344
|
...params,
|
|
13153
14345
|
}),
|
|
@@ -13192,7 +14384,7 @@ export class Api<
|
|
|
13192
14384
|
method: "POST",
|
|
13193
14385
|
body: data,
|
|
13194
14386
|
secure: true,
|
|
13195
|
-
type:
|
|
14387
|
+
type: ContentType.Json,
|
|
13196
14388
|
format: "json",
|
|
13197
14389
|
...params,
|
|
13198
14390
|
}),
|
|
@@ -13246,7 +14438,7 @@ export class Api<
|
|
|
13246
14438
|
query: query,
|
|
13247
14439
|
body: data,
|
|
13248
14440
|
secure: true,
|
|
13249
|
-
type:
|
|
14441
|
+
type: ContentType.Json,
|
|
13250
14442
|
format: "json",
|
|
13251
14443
|
...params,
|
|
13252
14444
|
}),
|
|
@@ -13291,7 +14483,7 @@ export class Api<
|
|
|
13291
14483
|
method: "POST",
|
|
13292
14484
|
body: data,
|
|
13293
14485
|
secure: true,
|
|
13294
|
-
type:
|
|
14486
|
+
type: ContentType.Json,
|
|
13295
14487
|
format: "json",
|
|
13296
14488
|
...params,
|
|
13297
14489
|
}),
|
|
@@ -13343,7 +14535,7 @@ export class Api<
|
|
|
13343
14535
|
method: "POST",
|
|
13344
14536
|
body: data,
|
|
13345
14537
|
secure: true,
|
|
13346
|
-
type:
|
|
14538
|
+
type: ContentType.Json,
|
|
13347
14539
|
format: "json",
|
|
13348
14540
|
...params,
|
|
13349
14541
|
}),
|
|
@@ -13400,7 +14592,7 @@ export class Api<
|
|
|
13400
14592
|
query: query,
|
|
13401
14593
|
body: data,
|
|
13402
14594
|
secure: true,
|
|
13403
|
-
type:
|
|
14595
|
+
type: ContentType.Json,
|
|
13404
14596
|
format: "json",
|
|
13405
14597
|
...params,
|
|
13406
14598
|
}),
|
|
@@ -13436,7 +14628,7 @@ export class Api<
|
|
|
13436
14628
|
* @response `404` `ProblemDetails` Not Found
|
|
13437
14629
|
*/
|
|
13438
14630
|
getSamlMetadata: (
|
|
13439
|
-
sSoIntegration:
|
|
14631
|
+
sSoIntegration: "ConsumerConnect" | "TheBigPOS" | "POSF",
|
|
13440
14632
|
ssoIntegration: string,
|
|
13441
14633
|
params: RequestParams = {},
|
|
13442
14634
|
) =>
|
|
@@ -13458,7 +14650,7 @@ export class Api<
|
|
|
13458
14650
|
* @response `200` `File` OK
|
|
13459
14651
|
*/
|
|
13460
14652
|
createOrReplaceSamlMetadata: (
|
|
13461
|
-
sSoIntegration:
|
|
14653
|
+
sSoIntegration: "ConsumerConnect" | "TheBigPOS" | "POSF",
|
|
13462
14654
|
ssoIntegration: string,
|
|
13463
14655
|
params: RequestParams = {},
|
|
13464
14656
|
) =>
|
|
@@ -13583,7 +14775,7 @@ export class Api<
|
|
|
13583
14775
|
method: "POST",
|
|
13584
14776
|
body: data,
|
|
13585
14777
|
secure: true,
|
|
13586
|
-
type:
|
|
14778
|
+
type: ContentType.Json,
|
|
13587
14779
|
format: "json",
|
|
13588
14780
|
...params,
|
|
13589
14781
|
}),
|
|
@@ -13631,7 +14823,7 @@ export class Api<
|
|
|
13631
14823
|
method: "POST",
|
|
13632
14824
|
body: data,
|
|
13633
14825
|
secure: true,
|
|
13634
|
-
type:
|
|
14826
|
+
type: ContentType.Json,
|
|
13635
14827
|
format: "json",
|
|
13636
14828
|
...params,
|
|
13637
14829
|
}),
|
|
@@ -13683,7 +14875,7 @@ export class Api<
|
|
|
13683
14875
|
method: "POST",
|
|
13684
14876
|
body: data,
|
|
13685
14877
|
secure: true,
|
|
13686
|
-
type:
|
|
14878
|
+
type: ContentType.Json,
|
|
13687
14879
|
format: "json",
|
|
13688
14880
|
...params,
|
|
13689
14881
|
}),
|
|
@@ -13725,7 +14917,7 @@ export class Api<
|
|
|
13725
14917
|
method: "PUT",
|
|
13726
14918
|
body: data,
|
|
13727
14919
|
secure: true,
|
|
13728
|
-
type:
|
|
14920
|
+
type: ContentType.Json,
|
|
13729
14921
|
format: "json",
|
|
13730
14922
|
...params,
|
|
13731
14923
|
}),
|
|
@@ -13777,7 +14969,7 @@ export class Api<
|
|
|
13777
14969
|
query: query,
|
|
13778
14970
|
body: data,
|
|
13779
14971
|
secure: true,
|
|
13780
|
-
type:
|
|
14972
|
+
type: ContentType.Json,
|
|
13781
14973
|
format: "json",
|
|
13782
14974
|
...params,
|
|
13783
14975
|
}),
|
|
@@ -13800,7 +14992,7 @@ export class Api<
|
|
|
13800
14992
|
method: "POST",
|
|
13801
14993
|
body: data,
|
|
13802
14994
|
secure: true,
|
|
13803
|
-
type:
|
|
14995
|
+
type: ContentType.Json,
|
|
13804
14996
|
...params,
|
|
13805
14997
|
}),
|
|
13806
14998
|
|
|
@@ -13833,7 +15025,7 @@ export class Api<
|
|
|
13833
15025
|
query: query,
|
|
13834
15026
|
body: data,
|
|
13835
15027
|
secure: true,
|
|
13836
|
-
type:
|
|
15028
|
+
type: ContentType.Json,
|
|
13837
15029
|
format: "json",
|
|
13838
15030
|
...params,
|
|
13839
15031
|
}),
|
|
@@ -13877,7 +15069,7 @@ export class Api<
|
|
|
13877
15069
|
method: "POST",
|
|
13878
15070
|
body: data,
|
|
13879
15071
|
secure: true,
|
|
13880
|
-
type:
|
|
15072
|
+
type: ContentType.Json,
|
|
13881
15073
|
format: "json",
|
|
13882
15074
|
...params,
|
|
13883
15075
|
}),
|
|
@@ -13901,7 +15093,7 @@ export class Api<
|
|
|
13901
15093
|
method: "PUT",
|
|
13902
15094
|
body: data,
|
|
13903
15095
|
secure: true,
|
|
13904
|
-
type:
|
|
15096
|
+
type: ContentType.Json,
|
|
13905
15097
|
format: "json",
|
|
13906
15098
|
...params,
|
|
13907
15099
|
}),
|
|
@@ -13944,7 +15136,7 @@ export class Api<
|
|
|
13944
15136
|
method: "POST",
|
|
13945
15137
|
body: data,
|
|
13946
15138
|
secure: true,
|
|
13947
|
-
type:
|
|
15139
|
+
type: ContentType.Json,
|
|
13948
15140
|
format: "json",
|
|
13949
15141
|
...params,
|
|
13950
15142
|
}),
|
|
@@ -13996,7 +15188,7 @@ export class Api<
|
|
|
13996
15188
|
query: query,
|
|
13997
15189
|
body: data,
|
|
13998
15190
|
secure: true,
|
|
13999
|
-
type:
|
|
15191
|
+
type: ContentType.Json,
|
|
14000
15192
|
format: "json",
|
|
14001
15193
|
...params,
|
|
14002
15194
|
}),
|
|
@@ -14170,7 +15362,7 @@ export class Api<
|
|
|
14170
15362
|
method: "POST",
|
|
14171
15363
|
body: data,
|
|
14172
15364
|
secure: true,
|
|
14173
|
-
type:
|
|
15365
|
+
type: ContentType.Json,
|
|
14174
15366
|
format: "json",
|
|
14175
15367
|
...params,
|
|
14176
15368
|
}),
|
|
@@ -14269,7 +15461,7 @@ export class Api<
|
|
|
14269
15461
|
method: "POST",
|
|
14270
15462
|
body: data,
|
|
14271
15463
|
secure: true,
|
|
14272
|
-
type:
|
|
15464
|
+
type: ContentType.Json,
|
|
14273
15465
|
format: "json",
|
|
14274
15466
|
...params,
|
|
14275
15467
|
}),
|
|
@@ -14335,7 +15527,7 @@ export class Api<
|
|
|
14335
15527
|
method: "POST",
|
|
14336
15528
|
body: data,
|
|
14337
15529
|
secure: true,
|
|
14338
|
-
type:
|
|
15530
|
+
type: ContentType.Json,
|
|
14339
15531
|
format: "json",
|
|
14340
15532
|
...params,
|
|
14341
15533
|
}),
|
|
@@ -14406,7 +15598,7 @@ export class Api<
|
|
|
14406
15598
|
query: query,
|
|
14407
15599
|
body: data,
|
|
14408
15600
|
secure: true,
|
|
14409
|
-
type:
|
|
15601
|
+
type: ContentType.Json,
|
|
14410
15602
|
format: "json",
|
|
14411
15603
|
...params,
|
|
14412
15604
|
}),
|
|
@@ -14503,7 +15695,7 @@ export class Api<
|
|
|
14503
15695
|
method: "PUT",
|
|
14504
15696
|
body: data,
|
|
14505
15697
|
secure: true,
|
|
14506
|
-
type:
|
|
15698
|
+
type: ContentType.Json,
|
|
14507
15699
|
format: "json",
|
|
14508
15700
|
...params,
|
|
14509
15701
|
}),
|
|
@@ -14545,7 +15737,7 @@ export class Api<
|
|
|
14545
15737
|
method: "POST",
|
|
14546
15738
|
body: data,
|
|
14547
15739
|
secure: true,
|
|
14548
|
-
type:
|
|
15740
|
+
type: ContentType.Json,
|
|
14549
15741
|
format: "json",
|
|
14550
15742
|
...params,
|
|
14551
15743
|
}),
|
|
@@ -14571,7 +15763,7 @@ export class Api<
|
|
|
14571
15763
|
method: "POST",
|
|
14572
15764
|
body: data,
|
|
14573
15765
|
secure: true,
|
|
14574
|
-
type:
|
|
15766
|
+
type: ContentType.Json,
|
|
14575
15767
|
...params,
|
|
14576
15768
|
}),
|
|
14577
15769
|
|
|
@@ -14596,7 +15788,7 @@ export class Api<
|
|
|
14596
15788
|
method: "POST",
|
|
14597
15789
|
body: data,
|
|
14598
15790
|
secure: true,
|
|
14599
|
-
type:
|
|
15791
|
+
type: ContentType.Json,
|
|
14600
15792
|
...params,
|
|
14601
15793
|
}),
|
|
14602
15794
|
|
|
@@ -14682,7 +15874,7 @@ export class Api<
|
|
|
14682
15874
|
method: "POST",
|
|
14683
15875
|
body: data,
|
|
14684
15876
|
secure: true,
|
|
14685
|
-
type:
|
|
15877
|
+
type: ContentType.Json,
|
|
14686
15878
|
...params,
|
|
14687
15879
|
}),
|
|
14688
15880
|
|
|
@@ -14722,7 +15914,7 @@ export class Api<
|
|
|
14722
15914
|
method: "POST",
|
|
14723
15915
|
body: data,
|
|
14724
15916
|
secure: true,
|
|
14725
|
-
type:
|
|
15917
|
+
type: ContentType.Json,
|
|
14726
15918
|
...params,
|
|
14727
15919
|
}),
|
|
14728
15920
|
|
|
@@ -14805,7 +15997,7 @@ export class Api<
|
|
|
14805
15997
|
method: "POST",
|
|
14806
15998
|
body: data,
|
|
14807
15999
|
secure: true,
|
|
14808
|
-
type:
|
|
16000
|
+
type: ContentType.Json,
|
|
14809
16001
|
...params,
|
|
14810
16002
|
}),
|
|
14811
16003
|
|
|
@@ -14897,7 +16089,7 @@ export class Api<
|
|
|
14897
16089
|
method: "POST",
|
|
14898
16090
|
body: data,
|
|
14899
16091
|
secure: true,
|
|
14900
|
-
type:
|
|
16092
|
+
type: ContentType.Json,
|
|
14901
16093
|
format: "json",
|
|
14902
16094
|
...params,
|
|
14903
16095
|
}),
|
|
@@ -14930,7 +16122,7 @@ export class Api<
|
|
|
14930
16122
|
query: query,
|
|
14931
16123
|
body: data,
|
|
14932
16124
|
secure: true,
|
|
14933
|
-
type:
|
|
16125
|
+
type: ContentType.Json,
|
|
14934
16126
|
format: "json",
|
|
14935
16127
|
...params,
|
|
14936
16128
|
}),
|
|
@@ -14951,7 +16143,7 @@ export class Api<
|
|
|
14951
16143
|
method: "POST",
|
|
14952
16144
|
body: data,
|
|
14953
16145
|
secure: true,
|
|
14954
|
-
type:
|
|
16146
|
+
type: ContentType.Json,
|
|
14955
16147
|
format: "json",
|
|
14956
16148
|
...params,
|
|
14957
16149
|
}),
|
|
@@ -14973,7 +16165,7 @@ export class Api<
|
|
|
14973
16165
|
method: "POST",
|
|
14974
16166
|
body: data,
|
|
14975
16167
|
secure: true,
|
|
14976
|
-
type:
|
|
16168
|
+
type: ContentType.Json,
|
|
14977
16169
|
format: "json",
|
|
14978
16170
|
...params,
|
|
14979
16171
|
}),
|
|
@@ -14999,7 +16191,7 @@ export class Api<
|
|
|
14999
16191
|
method: "PUT",
|
|
15000
16192
|
body: data,
|
|
15001
16193
|
secure: true,
|
|
15002
|
-
type:
|
|
16194
|
+
type: ContentType.Json,
|
|
15003
16195
|
format: "json",
|
|
15004
16196
|
...params,
|
|
15005
16197
|
}),
|
|
@@ -15065,7 +16257,7 @@ export class Api<
|
|
|
15065
16257
|
method: "POST",
|
|
15066
16258
|
body: data,
|
|
15067
16259
|
secure: true,
|
|
15068
|
-
type:
|
|
16260
|
+
type: ContentType.Json,
|
|
15069
16261
|
...params,
|
|
15070
16262
|
}),
|
|
15071
16263
|
|
|
@@ -15086,7 +16278,7 @@ export class Api<
|
|
|
15086
16278
|
method: "POST",
|
|
15087
16279
|
body: data,
|
|
15088
16280
|
secure: true,
|
|
15089
|
-
type:
|
|
16281
|
+
type: ContentType.Json,
|
|
15090
16282
|
...params,
|
|
15091
16283
|
}),
|
|
15092
16284
|
|
|
@@ -15111,7 +16303,7 @@ export class Api<
|
|
|
15111
16303
|
method: "POST",
|
|
15112
16304
|
body: data,
|
|
15113
16305
|
secure: true,
|
|
15114
|
-
type:
|
|
16306
|
+
type: ContentType.Json,
|
|
15115
16307
|
...params,
|
|
15116
16308
|
}),
|
|
15117
16309
|
|
|
@@ -15135,7 +16327,7 @@ export class Api<
|
|
|
15135
16327
|
method: "POST",
|
|
15136
16328
|
body: data,
|
|
15137
16329
|
secure: true,
|
|
15138
|
-
type:
|
|
16330
|
+
type: ContentType.Json,
|
|
15139
16331
|
...params,
|
|
15140
16332
|
}),
|
|
15141
16333
|
|
|
@@ -15178,7 +16370,7 @@ export class Api<
|
|
|
15178
16370
|
method: "PUT",
|
|
15179
16371
|
body: data,
|
|
15180
16372
|
secure: true,
|
|
15181
|
-
type:
|
|
16373
|
+
type: ContentType.Json,
|
|
15182
16374
|
...params,
|
|
15183
16375
|
}),
|
|
15184
16376
|
|
|
@@ -15218,7 +16410,7 @@ export class Api<
|
|
|
15218
16410
|
method: "PUT",
|
|
15219
16411
|
body: data,
|
|
15220
16412
|
secure: true,
|
|
15221
|
-
type:
|
|
16413
|
+
type: ContentType.Json,
|
|
15222
16414
|
format: "json",
|
|
15223
16415
|
...params,
|
|
15224
16416
|
}),
|
|
@@ -15242,7 +16434,7 @@ export class Api<
|
|
|
15242
16434
|
method: "PUT",
|
|
15243
16435
|
body: data,
|
|
15244
16436
|
secure: true,
|
|
15245
|
-
type:
|
|
16437
|
+
type: ContentType.Json,
|
|
15246
16438
|
format: "json",
|
|
15247
16439
|
...params,
|
|
15248
16440
|
}),
|
|
@@ -15319,7 +16511,7 @@ export class Api<
|
|
|
15319
16511
|
method: "POST",
|
|
15320
16512
|
body: data,
|
|
15321
16513
|
secure: true,
|
|
15322
|
-
type:
|
|
16514
|
+
type: ContentType.Json,
|
|
15323
16515
|
...params,
|
|
15324
16516
|
}),
|
|
15325
16517
|
|
|
@@ -15339,7 +16531,7 @@ export class Api<
|
|
|
15339
16531
|
method: "POST",
|
|
15340
16532
|
body: data,
|
|
15341
16533
|
secure: true,
|
|
15342
|
-
type:
|
|
16534
|
+
type: ContentType.Json,
|
|
15343
16535
|
format: "json",
|
|
15344
16536
|
...params,
|
|
15345
16537
|
}),
|