@matech/thebigpos-sdk 2.43.0-aibi-3 → 2.43.8
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +73 -73
- package/dist/index.d.ts +54 -807
- package/dist/index.js +2 -436
- package/dist/index.js.map +1 -1
- package/package.json +6 -5
- package/src/index.ts +99 -1314
package/src/index.ts
CHANGED
|
@@ -398,93 +398,6 @@ export type AuditChangeType =
|
|
|
398
398
|
| "Deactivated"
|
|
399
399
|
| "Reactivated";
|
|
400
400
|
|
|
401
|
-
export type AiUrlSourceScope = "FullDomain" | "SpecificPath";
|
|
402
|
-
|
|
403
|
-
export type AiUrlSourceCategory =
|
|
404
|
-
| "Regulatory"
|
|
405
|
-
| "Guidelines"
|
|
406
|
-
| "MarketData"
|
|
407
|
-
| "Custom";
|
|
408
|
-
|
|
409
|
-
export type AiStructuredDataType =
|
|
410
|
-
| "Table"
|
|
411
|
-
| "DocumentAnalysis"
|
|
412
|
-
| "DocumentList"
|
|
413
|
-
| "GeneratedDocument";
|
|
414
|
-
|
|
415
|
-
export type AiQueryTemplateName =
|
|
416
|
-
| "PipelineSummary"
|
|
417
|
-
| "LoanDetail"
|
|
418
|
-
| "LoansClosing"
|
|
419
|
-
| "StaleLoans"
|
|
420
|
-
| "LoansByType"
|
|
421
|
-
| "LoansByOfficer"
|
|
422
|
-
| "AverageLoanAmount"
|
|
423
|
-
| "LockedVsUnlocked"
|
|
424
|
-
| "LoansByPurpose"
|
|
425
|
-
| "LoansByPropertyState"
|
|
426
|
-
| "LoansByRate"
|
|
427
|
-
| "DtiLtvRisk"
|
|
428
|
-
| "DisclosureTracking"
|
|
429
|
-
| "NewLoans"
|
|
430
|
-
| "ExpiringLocks"
|
|
431
|
-
| "ClosedLoans";
|
|
432
|
-
|
|
433
|
-
export type AiPromptCategory =
|
|
434
|
-
| "DocumentAnalysis"
|
|
435
|
-
| "DataQuery"
|
|
436
|
-
| "General"
|
|
437
|
-
| "Action";
|
|
438
|
-
|
|
439
|
-
export type AiOutputType = "Text" | "Document";
|
|
440
|
-
|
|
441
|
-
export type AiIntent =
|
|
442
|
-
| "Greeting"
|
|
443
|
-
| "Invalid"
|
|
444
|
-
| "Relevant"
|
|
445
|
-
| "LoanSpecific"
|
|
446
|
-
| "DocumentList"
|
|
447
|
-
| "GeneralKnowledge"
|
|
448
|
-
| "Blocked"
|
|
449
|
-
| "Action"
|
|
450
|
-
| "ConversationMeta";
|
|
451
|
-
|
|
452
|
-
export type AiGuardrailCategory =
|
|
453
|
-
| "ContentSafety"
|
|
454
|
-
| "PromptInjection"
|
|
455
|
-
| "Privacy"
|
|
456
|
-
| "Legal";
|
|
457
|
-
|
|
458
|
-
export type AiDisplayHint =
|
|
459
|
-
| "Table"
|
|
460
|
-
| "SummaryCards"
|
|
461
|
-
| "RankedList"
|
|
462
|
-
| "Comparison"
|
|
463
|
-
| "ExecutiveBrief";
|
|
464
|
-
|
|
465
|
-
export type AiAuditEventType =
|
|
466
|
-
| "Error"
|
|
467
|
-
| "GuardrailBlockedPre"
|
|
468
|
-
| "GuardrailPassedPre"
|
|
469
|
-
| "IntentClassified"
|
|
470
|
-
| "LoanResolvedFromMessage"
|
|
471
|
-
| "DocumentNotFound"
|
|
472
|
-
| "GuardrailBlockedPost"
|
|
473
|
-
| "GuardrailPassedPost"
|
|
474
|
-
| "DocumentAnalyzed"
|
|
475
|
-
| "DocumentList"
|
|
476
|
-
| "DocumentResolutionAmbiguous"
|
|
477
|
-
| "ResponseGenerated"
|
|
478
|
-
| "ParametersExtracted"
|
|
479
|
-
| "QueryExecuted"
|
|
480
|
-
| "LoanContextNotFound"
|
|
481
|
-
| "LoanContextLoaded"
|
|
482
|
-
| "GuardrailBlockedBedrock"
|
|
483
|
-
| "PromptMatched"
|
|
484
|
-
| "QueryCondensed"
|
|
485
|
-
| "IntentParseFailed"
|
|
486
|
-
| "LoanSearchTermDiscarded";
|
|
487
|
-
|
|
488
401
|
export type AddressFamily =
|
|
489
402
|
| "Unspecified"
|
|
490
403
|
| "Unix"
|
|
@@ -605,14 +518,12 @@ export interface AccountSettings {
|
|
|
605
518
|
smsNumber?: string | null;
|
|
606
519
|
ssoHostOverride?: string | null;
|
|
607
520
|
isEarlyAdopter: boolean;
|
|
608
|
-
isAIEnabled: boolean;
|
|
609
521
|
}
|
|
610
522
|
|
|
611
523
|
export interface AccountSettingsRequest {
|
|
612
524
|
isSmsEnabled: boolean;
|
|
613
525
|
smsNumber?: string | null;
|
|
614
526
|
isEarlyAdopter: boolean;
|
|
615
|
-
isAIEnabled: boolean;
|
|
616
527
|
}
|
|
617
528
|
|
|
618
529
|
export interface Action {
|
|
@@ -766,294 +677,6 @@ export interface AffordabilityCalculatorRequest {
|
|
|
766
677
|
annualInsurance: number;
|
|
767
678
|
}
|
|
768
679
|
|
|
769
|
-
export interface AiAdminSettings {
|
|
770
|
-
bedrockModelId: string;
|
|
771
|
-
/** @format int32 */
|
|
772
|
-
maxTokens: number;
|
|
773
|
-
/** @format double */
|
|
774
|
-
temperature: number;
|
|
775
|
-
/** @format int32 */
|
|
776
|
-
conversationContextTurns: number;
|
|
777
|
-
/** @format int32 */
|
|
778
|
-
requestTimeoutSeconds: number;
|
|
779
|
-
bedrockRegion: string;
|
|
780
|
-
}
|
|
781
|
-
|
|
782
|
-
export interface AiAdminSettingsRequest {
|
|
783
|
-
bedrockModelId?: string | null;
|
|
784
|
-
/** @format int32 */
|
|
785
|
-
maxTokens?: number | null;
|
|
786
|
-
/** @format double */
|
|
787
|
-
temperature?: number | null;
|
|
788
|
-
/** @format int32 */
|
|
789
|
-
conversationContextTurns?: number | null;
|
|
790
|
-
/** @format int32 */
|
|
791
|
-
requestTimeoutSeconds?: number | null;
|
|
792
|
-
}
|
|
793
|
-
|
|
794
|
-
export interface AiAdminStats {
|
|
795
|
-
/** @format int32 */
|
|
796
|
-
totalRequests: number;
|
|
797
|
-
/** @format int32 */
|
|
798
|
-
blockedRequests: number;
|
|
799
|
-
/** @format double */
|
|
800
|
-
averageResponseTimeMs: number;
|
|
801
|
-
intentDistribution: Record<string, number>;
|
|
802
|
-
topQueryTemplates: Record<string, number>;
|
|
803
|
-
period: string;
|
|
804
|
-
}
|
|
805
|
-
|
|
806
|
-
export interface AiAuditLog {
|
|
807
|
-
/** @format uuid */
|
|
808
|
-
id: string;
|
|
809
|
-
/** @format uuid */
|
|
810
|
-
requestId: string;
|
|
811
|
-
/** @format uuid */
|
|
812
|
-
userId: string;
|
|
813
|
-
eventType:
|
|
814
|
-
| "Error"
|
|
815
|
-
| "GuardrailBlockedPre"
|
|
816
|
-
| "GuardrailPassedPre"
|
|
817
|
-
| "IntentClassified"
|
|
818
|
-
| "LoanResolvedFromMessage"
|
|
819
|
-
| "DocumentNotFound"
|
|
820
|
-
| "GuardrailBlockedPost"
|
|
821
|
-
| "GuardrailPassedPost"
|
|
822
|
-
| "DocumentAnalyzed"
|
|
823
|
-
| "DocumentList"
|
|
824
|
-
| "DocumentResolutionAmbiguous"
|
|
825
|
-
| "ResponseGenerated"
|
|
826
|
-
| "ParametersExtracted"
|
|
827
|
-
| "QueryExecuted"
|
|
828
|
-
| "LoanContextNotFound"
|
|
829
|
-
| "LoanContextLoaded"
|
|
830
|
-
| "GuardrailBlockedBedrock"
|
|
831
|
-
| "PromptMatched"
|
|
832
|
-
| "QueryCondensed"
|
|
833
|
-
| "IntentParseFailed"
|
|
834
|
-
| "LoanSearchTermDiscarded";
|
|
835
|
-
details?: any;
|
|
836
|
-
/** @format date-time */
|
|
837
|
-
createdAt: string;
|
|
838
|
-
}
|
|
839
|
-
|
|
840
|
-
export interface AiAuditLogPaginated {
|
|
841
|
-
rows: AiAuditLog[];
|
|
842
|
-
pagination: Pagination;
|
|
843
|
-
/** @format int64 */
|
|
844
|
-
count: number;
|
|
845
|
-
}
|
|
846
|
-
|
|
847
|
-
export interface AiCanonicalField {
|
|
848
|
-
/** @format uuid */
|
|
849
|
-
id: string;
|
|
850
|
-
canonicalName: string;
|
|
851
|
-
displayName: string;
|
|
852
|
-
description: string;
|
|
853
|
-
allowedRoles: string[];
|
|
854
|
-
efPath?: string | null;
|
|
855
|
-
isPii: boolean;
|
|
856
|
-
isActive: boolean;
|
|
857
|
-
dataSource: string;
|
|
858
|
-
isDefault: boolean;
|
|
859
|
-
category?: string | null;
|
|
860
|
-
jsonPropertyName?: string | null;
|
|
861
|
-
textractKey?: string | null;
|
|
862
|
-
textractKeyAliases?: string | null;
|
|
863
|
-
hasAccountOverride: boolean;
|
|
864
|
-
/** @format date-time */
|
|
865
|
-
createdAt: string;
|
|
866
|
-
/** @format date-time */
|
|
867
|
-
updatedAt?: string | null;
|
|
868
|
-
}
|
|
869
|
-
|
|
870
|
-
export interface AiChat {
|
|
871
|
-
/** @format uuid */
|
|
872
|
-
conversationId: string;
|
|
873
|
-
/** @format uuid */
|
|
874
|
-
messageId: string;
|
|
875
|
-
response: AiChatBody;
|
|
876
|
-
metadata: AiChatMetadata;
|
|
877
|
-
}
|
|
878
|
-
|
|
879
|
-
export interface AiChatBody {
|
|
880
|
-
text: string;
|
|
881
|
-
data?: AiChatStructuredData | null;
|
|
882
|
-
}
|
|
883
|
-
|
|
884
|
-
export interface AiChatMessage {
|
|
885
|
-
/** @format uuid */
|
|
886
|
-
id: string;
|
|
887
|
-
userMessage: string;
|
|
888
|
-
assistantResponse: string;
|
|
889
|
-
intent?: AiIntent | null;
|
|
890
|
-
fieldsAccessed?: string[] | null;
|
|
891
|
-
data?: AiChatStructuredData | null;
|
|
892
|
-
/** @format date-time */
|
|
893
|
-
createdAt: string;
|
|
894
|
-
}
|
|
895
|
-
|
|
896
|
-
export interface AiChatMessagePaginated {
|
|
897
|
-
rows: AiChatMessage[];
|
|
898
|
-
pagination: Pagination;
|
|
899
|
-
/** @format int64 */
|
|
900
|
-
count: number;
|
|
901
|
-
}
|
|
902
|
-
|
|
903
|
-
export interface AiChatMetadata {
|
|
904
|
-
intent:
|
|
905
|
-
| "Greeting"
|
|
906
|
-
| "Invalid"
|
|
907
|
-
| "Relevant"
|
|
908
|
-
| "LoanSpecific"
|
|
909
|
-
| "DocumentList"
|
|
910
|
-
| "GeneralKnowledge"
|
|
911
|
-
| "Blocked"
|
|
912
|
-
| "Action"
|
|
913
|
-
| "ConversationMeta";
|
|
914
|
-
fieldsAccessed: string[];
|
|
915
|
-
/** @format int64 */
|
|
916
|
-
queryTimeMs: number;
|
|
917
|
-
/** @format int64 */
|
|
918
|
-
llmTimeMs: number;
|
|
919
|
-
wasBlocked: boolean;
|
|
920
|
-
blockedReason?: string | null;
|
|
921
|
-
}
|
|
922
|
-
|
|
923
|
-
export interface AiChatRequest {
|
|
924
|
-
message: string;
|
|
925
|
-
/** @format uuid */
|
|
926
|
-
conversationId?: string | null;
|
|
927
|
-
/** @format uuid */
|
|
928
|
-
loanId?: string | null;
|
|
929
|
-
documentIds?: string[] | null;
|
|
930
|
-
/** @format uuid */
|
|
931
|
-
promptId?: string | null;
|
|
932
|
-
}
|
|
933
|
-
|
|
934
|
-
export interface AiChatStructuredData {
|
|
935
|
-
type: "Table" | "DocumentAnalysis" | "DocumentList" | "GeneratedDocument";
|
|
936
|
-
displayHint?: AiDisplayHint | null;
|
|
937
|
-
detectedDocumentType?: string | null;
|
|
938
|
-
columns: string[];
|
|
939
|
-
rows: string[][];
|
|
940
|
-
/** @format uuid */
|
|
941
|
-
generatedDocumentId?: string | null;
|
|
942
|
-
generatedFileName?: string | null;
|
|
943
|
-
}
|
|
944
|
-
|
|
945
|
-
export interface AiConversationDetail {
|
|
946
|
-
/** @format uuid */
|
|
947
|
-
id: string;
|
|
948
|
-
/** @format date-time */
|
|
949
|
-
createdAt: string;
|
|
950
|
-
/** @format date-time */
|
|
951
|
-
updatedAt?: string | null;
|
|
952
|
-
/** @format int32 */
|
|
953
|
-
messageCount: number;
|
|
954
|
-
}
|
|
955
|
-
|
|
956
|
-
export interface AiConversationListItem {
|
|
957
|
-
/** @format uuid */
|
|
958
|
-
id: string;
|
|
959
|
-
preview: string;
|
|
960
|
-
/** @format int32 */
|
|
961
|
-
messageCount: number;
|
|
962
|
-
/** @format date-time */
|
|
963
|
-
createdAt: string;
|
|
964
|
-
/** @format date-time */
|
|
965
|
-
updatedAt?: string | null;
|
|
966
|
-
}
|
|
967
|
-
|
|
968
|
-
export interface AiConversationListItemPaginated {
|
|
969
|
-
rows: AiConversationListItem[];
|
|
970
|
-
pagination: Pagination;
|
|
971
|
-
/** @format int64 */
|
|
972
|
-
count: number;
|
|
973
|
-
}
|
|
974
|
-
|
|
975
|
-
export interface AiGuardrail {
|
|
976
|
-
/** @format uuid */
|
|
977
|
-
id: string;
|
|
978
|
-
name: string;
|
|
979
|
-
category: "ContentSafety" | "PromptInjection" | "Privacy" | "Legal";
|
|
980
|
-
description?: string | null;
|
|
981
|
-
keywords: string[];
|
|
982
|
-
responseTemplate: string;
|
|
983
|
-
isDefault: boolean;
|
|
984
|
-
isEnabled: boolean;
|
|
985
|
-
hasAccountOverride: boolean;
|
|
986
|
-
/** @format date-time */
|
|
987
|
-
createdAt: string;
|
|
988
|
-
/** @format date-time */
|
|
989
|
-
updatedAt?: string | null;
|
|
990
|
-
}
|
|
991
|
-
|
|
992
|
-
export interface AiPrompt {
|
|
993
|
-
/** @format uuid */
|
|
994
|
-
id: string;
|
|
995
|
-
title: string;
|
|
996
|
-
slug?: string | null;
|
|
997
|
-
description: string;
|
|
998
|
-
documentTypes: string[];
|
|
999
|
-
applicableUrlSourceIds: string[];
|
|
1000
|
-
allowedRoles: string[];
|
|
1001
|
-
systemPrompt: string;
|
|
1002
|
-
/** @format int32 */
|
|
1003
|
-
sortOrder: number;
|
|
1004
|
-
isDefault: boolean;
|
|
1005
|
-
/** @format uuid */
|
|
1006
|
-
accountId?: string | null;
|
|
1007
|
-
isActive: boolean;
|
|
1008
|
-
category?: AiPromptCategory | null;
|
|
1009
|
-
queryTemplateName?: AiQueryTemplateName | null;
|
|
1010
|
-
displayHint?: AiDisplayHint | null;
|
|
1011
|
-
bedrockModelId?: string | null;
|
|
1012
|
-
requiredDataSources?: string[] | null;
|
|
1013
|
-
outputType?: AiOutputType | null;
|
|
1014
|
-
hasAccountOverride: boolean;
|
|
1015
|
-
/** @format date-time */
|
|
1016
|
-
createdAt: string;
|
|
1017
|
-
/** @format date-time */
|
|
1018
|
-
updatedAt?: string | null;
|
|
1019
|
-
}
|
|
1020
|
-
|
|
1021
|
-
export interface AiPromptSummary {
|
|
1022
|
-
/** @format uuid */
|
|
1023
|
-
id: string;
|
|
1024
|
-
title: string;
|
|
1025
|
-
slug?: string | null;
|
|
1026
|
-
description: string;
|
|
1027
|
-
documentTypes: string[];
|
|
1028
|
-
applicableUrlSourceIds: string[];
|
|
1029
|
-
/** @format int32 */
|
|
1030
|
-
sortOrder: number;
|
|
1031
|
-
category?: AiPromptCategory | null;
|
|
1032
|
-
queryTemplateName?: AiQueryTemplateName | null;
|
|
1033
|
-
displayHint?: AiDisplayHint | null;
|
|
1034
|
-
bedrockModelId?: string | null;
|
|
1035
|
-
requiredDataSources?: string[] | null;
|
|
1036
|
-
outputType?: AiOutputType | null;
|
|
1037
|
-
}
|
|
1038
|
-
|
|
1039
|
-
export interface AiUrlSource {
|
|
1040
|
-
/** @format uuid */
|
|
1041
|
-
id: string;
|
|
1042
|
-
slug?: string | null;
|
|
1043
|
-
name: string;
|
|
1044
|
-
url: string;
|
|
1045
|
-
description?: string | null;
|
|
1046
|
-
category: "Regulatory" | "Guidelines" | "MarketData" | "Custom";
|
|
1047
|
-
scope: "FullDomain" | "SpecificPath";
|
|
1048
|
-
isActive: boolean;
|
|
1049
|
-
isDefault: boolean;
|
|
1050
|
-
hasAccountOverride: boolean;
|
|
1051
|
-
/** @format date-time */
|
|
1052
|
-
createdAt: string;
|
|
1053
|
-
/** @format date-time */
|
|
1054
|
-
updatedAt?: string | null;
|
|
1055
|
-
}
|
|
1056
|
-
|
|
1057
680
|
export interface AllowImpersonationRequest {
|
|
1058
681
|
email: string;
|
|
1059
682
|
}
|
|
@@ -1239,6 +862,34 @@ export interface BorrowerCount {
|
|
|
1239
862
|
count: number;
|
|
1240
863
|
}
|
|
1241
864
|
|
|
865
|
+
export interface BorrowerIdentity {
|
|
866
|
+
/** @format uuid */
|
|
867
|
+
userId: string;
|
|
868
|
+
firstName: string;
|
|
869
|
+
lastName: string;
|
|
870
|
+
email: string;
|
|
871
|
+
role:
|
|
872
|
+
| "Borrower"
|
|
873
|
+
| "CoBorrower"
|
|
874
|
+
| "NonBorrower"
|
|
875
|
+
| "LoanOfficer"
|
|
876
|
+
| "LoanProcessor"
|
|
877
|
+
| "LoanOfficerAssistant"
|
|
878
|
+
| "SupportingLoanOfficer"
|
|
879
|
+
| "BuyerAgent"
|
|
880
|
+
| "SellerAgent"
|
|
881
|
+
| "TitleInsuranceAgent"
|
|
882
|
+
| "EscrowAgent"
|
|
883
|
+
| "SettlementAgent"
|
|
884
|
+
| "Admin";
|
|
885
|
+
}
|
|
886
|
+
|
|
887
|
+
export interface BorrowersNotUsingPosSummary {
|
|
888
|
+
/** @format int32 */
|
|
889
|
+
total: number;
|
|
890
|
+
borrowers: UnregisteredBorrower[];
|
|
891
|
+
}
|
|
892
|
+
|
|
1242
893
|
export interface BranchBase {
|
|
1243
894
|
/** @format date-time */
|
|
1244
895
|
createdAt: string;
|
|
@@ -1515,49 +1166,6 @@ export interface CreateAccountRequest {
|
|
|
1515
1166
|
billingSettings: AccountBillingRequest;
|
|
1516
1167
|
}
|
|
1517
1168
|
|
|
1518
|
-
export interface CreateAiCanonicalFieldRequest {
|
|
1519
|
-
displayName: string;
|
|
1520
|
-
description: string;
|
|
1521
|
-
allowedRoles: string[];
|
|
1522
|
-
isPii: boolean;
|
|
1523
|
-
dataSource: string;
|
|
1524
|
-
category?: string | null;
|
|
1525
|
-
}
|
|
1526
|
-
|
|
1527
|
-
export interface CreateAiGuardrailRequest {
|
|
1528
|
-
name: string;
|
|
1529
|
-
category: "ContentSafety" | "PromptInjection" | "Privacy" | "Legal";
|
|
1530
|
-
description?: string | null;
|
|
1531
|
-
keywords: string[];
|
|
1532
|
-
responseTemplate: string;
|
|
1533
|
-
}
|
|
1534
|
-
|
|
1535
|
-
export interface CreateAiPromptRequest {
|
|
1536
|
-
title: string;
|
|
1537
|
-
slug?: string | null;
|
|
1538
|
-
description: string;
|
|
1539
|
-
documentTypes: string[];
|
|
1540
|
-
applicableUrlSourceIds: string[];
|
|
1541
|
-
allowedRoles: string[];
|
|
1542
|
-
systemPrompt: string;
|
|
1543
|
-
/** @format int32 */
|
|
1544
|
-
sortOrder: number;
|
|
1545
|
-
category?: AiPromptCategory | null;
|
|
1546
|
-
queryTemplateName?: AiQueryTemplateName | null;
|
|
1547
|
-
displayHint?: AiDisplayHint | null;
|
|
1548
|
-
bedrockModelId?: string | null;
|
|
1549
|
-
requiredDataSources?: string[] | null;
|
|
1550
|
-
outputType?: AiOutputType | null;
|
|
1551
|
-
}
|
|
1552
|
-
|
|
1553
|
-
export interface CreateAiUrlSourceRequest {
|
|
1554
|
-
name: string;
|
|
1555
|
-
url: string;
|
|
1556
|
-
description?: string | null;
|
|
1557
|
-
category: "Regulatory" | "Guidelines" | "MarketData" | "Custom";
|
|
1558
|
-
scope: "FullDomain" | "SpecificPath";
|
|
1559
|
-
}
|
|
1560
|
-
|
|
1561
1169
|
export interface CreateBranchRequest {
|
|
1562
1170
|
name: string;
|
|
1563
1171
|
/** @format uuid */
|
|
@@ -1720,6 +1328,12 @@ export interface CreateWebhookRequest {
|
|
|
1720
1328
|
webhookPath: string;
|
|
1721
1329
|
}
|
|
1722
1330
|
|
|
1331
|
+
export interface CreditAuthPendingSummary {
|
|
1332
|
+
/** @format int32 */
|
|
1333
|
+
total: number;
|
|
1334
|
+
borrowers: BorrowerIdentity[];
|
|
1335
|
+
}
|
|
1336
|
+
|
|
1723
1337
|
export interface CustomFieldDefinition {
|
|
1724
1338
|
/** @format date-time */
|
|
1725
1339
|
createdAt: string;
|
|
@@ -2138,6 +1752,12 @@ export interface DraftRequest {
|
|
|
2138
1752
|
isCoBorrower: boolean;
|
|
2139
1753
|
}
|
|
2140
1754
|
|
|
1755
|
+
export interface EconsentPendingSummary {
|
|
1756
|
+
/** @format int32 */
|
|
1757
|
+
total: number;
|
|
1758
|
+
borrowers: BorrowerIdentity[];
|
|
1759
|
+
}
|
|
1760
|
+
|
|
2141
1761
|
export interface EnabledServices {
|
|
2142
1762
|
/** @format date-time */
|
|
2143
1763
|
createdAt: string;
|
|
@@ -2614,15 +2234,6 @@ export interface GenerateDocumentRequest {
|
|
|
2614
2234
|
recipients: string[];
|
|
2615
2235
|
}
|
|
2616
2236
|
|
|
2617
|
-
export interface GenerateSystemPrompt {
|
|
2618
|
-
systemPrompt: string;
|
|
2619
|
-
}
|
|
2620
|
-
|
|
2621
|
-
export interface GenerateSystemPromptRequest {
|
|
2622
|
-
description: string;
|
|
2623
|
-
category: "DocumentAnalysis" | "DataQuery" | "General" | "Action";
|
|
2624
|
-
}
|
|
2625
|
-
|
|
2626
2237
|
export interface GetApplications {
|
|
2627
2238
|
applications: ApplicationRowData[];
|
|
2628
2239
|
}
|
|
@@ -4264,6 +3875,10 @@ export interface LoanOutstandingItems {
|
|
|
4264
3875
|
pendingSignaturePackages: number;
|
|
4265
3876
|
pendingTasks: PendingTasksSummary;
|
|
4266
3877
|
pendingSignatures: PendingSignaturesSummary;
|
|
3878
|
+
pendingInvites: PendingInvitesSummary;
|
|
3879
|
+
creditAuthPending: CreditAuthPendingSummary;
|
|
3880
|
+
econsentPending: EconsentPendingSummary;
|
|
3881
|
+
borrowersNotUsingPos: BorrowersNotUsingPosSummary;
|
|
4267
3882
|
}
|
|
4268
3883
|
|
|
4269
3884
|
export interface LoanPatchRequestGuidPatchDocument {
|
|
@@ -4883,6 +4498,25 @@ export interface PartnerSearchCriteria {
|
|
|
4883
4498
|
roles?: UserRole[] | null;
|
|
4884
4499
|
}
|
|
4885
4500
|
|
|
4501
|
+
export interface PendingInvite {
|
|
4502
|
+
/** @format uuid */
|
|
4503
|
+
inviteId: string;
|
|
4504
|
+
firstName: string;
|
|
4505
|
+
lastName: string;
|
|
4506
|
+
email: string;
|
|
4507
|
+
phoneNumber?: string | null;
|
|
4508
|
+
role?: LoanRole | null;
|
|
4509
|
+
/** @format date-time */
|
|
4510
|
+
createdAt: string;
|
|
4511
|
+
url: string;
|
|
4512
|
+
}
|
|
4513
|
+
|
|
4514
|
+
export interface PendingInvitesSummary {
|
|
4515
|
+
/** @format int32 */
|
|
4516
|
+
total: number;
|
|
4517
|
+
invites: PendingInvite[];
|
|
4518
|
+
}
|
|
4519
|
+
|
|
4886
4520
|
export interface PendingSignaturesSummary {
|
|
4887
4521
|
/** @format int32 */
|
|
4888
4522
|
total: number;
|
|
@@ -5834,14 +5468,6 @@ export interface SocialSurveyRecord {
|
|
|
5834
5468
|
reviewCompletedTimeStamp?: string | null;
|
|
5835
5469
|
}
|
|
5836
5470
|
|
|
5837
|
-
export interface SupportedModel {
|
|
5838
|
-
modelId: string;
|
|
5839
|
-
displayName: string;
|
|
5840
|
-
provider: string;
|
|
5841
|
-
description?: string | null;
|
|
5842
|
-
isDefault: boolean;
|
|
5843
|
-
}
|
|
5844
|
-
|
|
5845
5471
|
export interface SurveyEmailRequest {
|
|
5846
5472
|
loanOfficerEmailAddress: string;
|
|
5847
5473
|
}
|
|
@@ -6070,6 +5696,29 @@ export interface UnprocessableEntityError {
|
|
|
6070
5696
|
property: string;
|
|
6071
5697
|
}
|
|
6072
5698
|
|
|
5699
|
+
export interface UnregisteredBorrower {
|
|
5700
|
+
/** @format uuid */
|
|
5701
|
+
contactId: string;
|
|
5702
|
+
firstName?: string | null;
|
|
5703
|
+
lastName?: string | null;
|
|
5704
|
+
fullName?: string | null;
|
|
5705
|
+
email?: string | null;
|
|
5706
|
+
role:
|
|
5707
|
+
| "Borrower"
|
|
5708
|
+
| "CoBorrower"
|
|
5709
|
+
| "NonBorrower"
|
|
5710
|
+
| "LoanOfficer"
|
|
5711
|
+
| "LoanProcessor"
|
|
5712
|
+
| "LoanOfficerAssistant"
|
|
5713
|
+
| "SupportingLoanOfficer"
|
|
5714
|
+
| "BuyerAgent"
|
|
5715
|
+
| "SellerAgent"
|
|
5716
|
+
| "TitleInsuranceAgent"
|
|
5717
|
+
| "EscrowAgent"
|
|
5718
|
+
| "SettlementAgent"
|
|
5719
|
+
| "Admin";
|
|
5720
|
+
}
|
|
5721
|
+
|
|
6073
5722
|
export interface UpdateAccountRequest {
|
|
6074
5723
|
name: string;
|
|
6075
5724
|
mfaPreference: string;
|
|
@@ -6080,48 +5729,8 @@ export interface UpdateAccountRequest {
|
|
|
6080
5729
|
settings: AccountSettingsRequest;
|
|
6081
5730
|
}
|
|
6082
5731
|
|
|
6083
|
-
export interface
|
|
6084
|
-
|
|
6085
|
-
description: string;
|
|
6086
|
-
allowedRoles: string[];
|
|
6087
|
-
isPii: boolean;
|
|
6088
|
-
}
|
|
6089
|
-
|
|
6090
|
-
export interface UpdateAiGuardrailRequest {
|
|
6091
|
-
name: string;
|
|
6092
|
-
category: "ContentSafety" | "PromptInjection" | "Privacy" | "Legal";
|
|
6093
|
-
description?: string | null;
|
|
6094
|
-
keywords: string[];
|
|
6095
|
-
responseTemplate: string;
|
|
6096
|
-
}
|
|
6097
|
-
|
|
6098
|
-
export interface UpdateAiPromptRequest {
|
|
6099
|
-
title: string;
|
|
6100
|
-
description: string;
|
|
6101
|
-
documentTypes: string[];
|
|
6102
|
-
applicableUrlSourceIds: string[];
|
|
6103
|
-
allowedRoles: string[];
|
|
6104
|
-
systemPrompt: string;
|
|
6105
|
-
/** @format int32 */
|
|
6106
|
-
sortOrder: number;
|
|
6107
|
-
category?: AiPromptCategory | null;
|
|
6108
|
-
queryTemplateName?: AiQueryTemplateName | null;
|
|
6109
|
-
displayHint?: AiDisplayHint | null;
|
|
6110
|
-
bedrockModelId?: string | null;
|
|
6111
|
-
requiredDataSources?: string[] | null;
|
|
6112
|
-
outputType?: AiOutputType | null;
|
|
6113
|
-
}
|
|
6114
|
-
|
|
6115
|
-
export interface UpdateAiUrlSourceRequest {
|
|
6116
|
-
name: string;
|
|
6117
|
-
url: string;
|
|
6118
|
-
description?: string | null;
|
|
6119
|
-
category: "Regulatory" | "Guidelines" | "MarketData" | "Custom";
|
|
6120
|
-
scope: "FullDomain" | "SpecificPath";
|
|
6121
|
-
}
|
|
6122
|
-
|
|
6123
|
-
export interface UpdateCustomFieldDefinitionRequest {
|
|
6124
|
-
isRequired: boolean;
|
|
5732
|
+
export interface UpdateCustomFieldDefinitionRequest {
|
|
5733
|
+
isRequired: boolean;
|
|
6125
5734
|
/** @format int32 */
|
|
6126
5735
|
displayOrder: number;
|
|
6127
5736
|
/** @format int32 */
|
|
@@ -6896,7 +6505,7 @@ export class HttpClient<SecurityDataType = unknown> {
|
|
|
6896
6505
|
|
|
6897
6506
|
/**
|
|
6898
6507
|
* @title The Big POS API
|
|
6899
|
-
* @version v2.43.
|
|
6508
|
+
* @version v2.43.8
|
|
6900
6509
|
* @termsOfService https://www.thebigpos.com/terms-of-use/
|
|
6901
6510
|
* @contact Mortgage Automation Technologies <support@thebigpos.com> (https://www.thebigpos.com/terms-of-use/)
|
|
6902
6511
|
*/
|
|
@@ -7195,20 +6804,16 @@ export class Api<
|
|
|
7195
6804
|
/**
|
|
7196
6805
|
* No description
|
|
7197
6806
|
*
|
|
7198
|
-
* @tags
|
|
7199
|
-
* @name
|
|
7200
|
-
* @summary
|
|
7201
|
-
* @request
|
|
6807
|
+
* @tags AuditLog
|
|
6808
|
+
* @name SearchAuditLogs
|
|
6809
|
+
* @summary Search
|
|
6810
|
+
* @request POST:/api/audit-logs/search
|
|
7202
6811
|
* @secure
|
|
7203
|
-
* @response `200` `
|
|
6812
|
+
* @response `200` `AuditLogEntryPaginated` OK
|
|
7204
6813
|
*/
|
|
7205
|
-
|
|
6814
|
+
searchAuditLogs: (
|
|
6815
|
+
data: AuditLogSearchCriteria,
|
|
7206
6816
|
query?: {
|
|
7207
|
-
eventType?: AiAuditEventType;
|
|
7208
|
-
/** @format date-time */
|
|
7209
|
-
startDate?: string;
|
|
7210
|
-
/** @format date-time */
|
|
7211
|
-
endDate?: string;
|
|
7212
6817
|
/** @format int32 */
|
|
7213
6818
|
pageSize?: number;
|
|
7214
6819
|
/** @format int32 */
|
|
@@ -7218,296 +6823,10 @@ export class Api<
|
|
|
7218
6823
|
},
|
|
7219
6824
|
params: RequestParams = {},
|
|
7220
6825
|
) =>
|
|
7221
|
-
this.request<
|
|
7222
|
-
path: `/api/
|
|
7223
|
-
method: "GET",
|
|
7224
|
-
query: query,
|
|
7225
|
-
secure: true,
|
|
7226
|
-
format: "json",
|
|
7227
|
-
...params,
|
|
7228
|
-
}),
|
|
7229
|
-
|
|
7230
|
-
/**
|
|
7231
|
-
* No description
|
|
7232
|
-
*
|
|
7233
|
-
* @tags AiAdmin
|
|
7234
|
-
* @name GetAiAdminStats
|
|
7235
|
-
* @summary Get AI admin dashboard stats
|
|
7236
|
-
* @request GET:/api/ai/admin/stats
|
|
7237
|
-
* @secure
|
|
7238
|
-
* @response `200` `AiAdminStats` OK
|
|
7239
|
-
*/
|
|
7240
|
-
getAiAdminStats: (
|
|
7241
|
-
query?: {
|
|
7242
|
-
/** @format date-time */
|
|
7243
|
-
startDate?: string;
|
|
7244
|
-
/** @format date-time */
|
|
7245
|
-
endDate?: string;
|
|
7246
|
-
},
|
|
7247
|
-
params: RequestParams = {},
|
|
7248
|
-
) =>
|
|
7249
|
-
this.request<AiAdminStats, any>({
|
|
7250
|
-
path: `/api/ai/admin/stats`,
|
|
7251
|
-
method: "GET",
|
|
7252
|
-
query: query,
|
|
7253
|
-
secure: true,
|
|
7254
|
-
format: "json",
|
|
7255
|
-
...params,
|
|
7256
|
-
}),
|
|
7257
|
-
|
|
7258
|
-
/**
|
|
7259
|
-
* No description
|
|
7260
|
-
*
|
|
7261
|
-
* @tags AiAdminPrompt
|
|
7262
|
-
* @name GetAiPrompts
|
|
7263
|
-
* @summary Get all prompts
|
|
7264
|
-
* @request GET:/api/ai/admin/prompts
|
|
7265
|
-
* @secure
|
|
7266
|
-
* @response `200` `(AiPrompt)[]` OK
|
|
7267
|
-
*/
|
|
7268
|
-
getAiPrompts: (params: RequestParams = {}) =>
|
|
7269
|
-
this.request<AiPrompt[], any>({
|
|
7270
|
-
path: `/api/ai/admin/prompts`,
|
|
7271
|
-
method: "GET",
|
|
7272
|
-
secure: true,
|
|
7273
|
-
format: "json",
|
|
7274
|
-
...params,
|
|
7275
|
-
}),
|
|
7276
|
-
|
|
7277
|
-
/**
|
|
7278
|
-
* No description
|
|
7279
|
-
*
|
|
7280
|
-
* @tags AiAdminPrompt
|
|
7281
|
-
* @name CreateAiPrompt
|
|
7282
|
-
* @summary Create custom prompt
|
|
7283
|
-
* @request POST:/api/ai/admin/prompts
|
|
7284
|
-
* @secure
|
|
7285
|
-
* @response `201` `AiPrompt` Created
|
|
7286
|
-
* @response `400` `ProblemDetails` Bad Request
|
|
7287
|
-
*/
|
|
7288
|
-
createAiPrompt: (data: CreateAiPromptRequest, params: RequestParams = {}) =>
|
|
7289
|
-
this.request<AiPrompt, ProblemDetails>({
|
|
7290
|
-
path: `/api/ai/admin/prompts`,
|
|
7291
|
-
method: "POST",
|
|
7292
|
-
body: data,
|
|
7293
|
-
secure: true,
|
|
7294
|
-
type: ContentType.Json,
|
|
7295
|
-
format: "json",
|
|
7296
|
-
...params,
|
|
7297
|
-
}),
|
|
7298
|
-
|
|
7299
|
-
/**
|
|
7300
|
-
* No description
|
|
7301
|
-
*
|
|
7302
|
-
* @tags AiAdminPrompt
|
|
7303
|
-
* @name GetAiPrompt
|
|
7304
|
-
* @summary Get prompt by ID
|
|
7305
|
-
* @request GET:/api/ai/admin/prompts/{id}
|
|
7306
|
-
* @secure
|
|
7307
|
-
* @response `200` `AiPrompt` OK
|
|
7308
|
-
* @response `404` `ProblemDetails` Not Found
|
|
7309
|
-
*/
|
|
7310
|
-
getAiPrompt: (id: string, params: RequestParams = {}) =>
|
|
7311
|
-
this.request<AiPrompt, ProblemDetails>({
|
|
7312
|
-
path: `/api/ai/admin/prompts/${id}`,
|
|
7313
|
-
method: "GET",
|
|
7314
|
-
secure: true,
|
|
7315
|
-
format: "json",
|
|
7316
|
-
...params,
|
|
7317
|
-
}),
|
|
7318
|
-
|
|
7319
|
-
/**
|
|
7320
|
-
* No description
|
|
7321
|
-
*
|
|
7322
|
-
* @tags AiAdminPrompt
|
|
7323
|
-
* @name UpdateAiPrompt
|
|
7324
|
-
* @summary Update prompt
|
|
7325
|
-
* @request PUT:/api/ai/admin/prompts/{id}
|
|
7326
|
-
* @secure
|
|
7327
|
-
* @response `200` `AiPrompt` OK
|
|
7328
|
-
* @response `400` `ProblemDetails` Bad Request
|
|
7329
|
-
* @response `404` `ProblemDetails` Not Found
|
|
7330
|
-
*/
|
|
7331
|
-
updateAiPrompt: (
|
|
7332
|
-
id: string,
|
|
7333
|
-
data: UpdateAiPromptRequest,
|
|
7334
|
-
params: RequestParams = {},
|
|
7335
|
-
) =>
|
|
7336
|
-
this.request<AiPrompt, ProblemDetails>({
|
|
7337
|
-
path: `/api/ai/admin/prompts/${id}`,
|
|
7338
|
-
method: "PUT",
|
|
7339
|
-
body: data,
|
|
7340
|
-
secure: true,
|
|
7341
|
-
type: ContentType.Json,
|
|
7342
|
-
format: "json",
|
|
7343
|
-
...params,
|
|
7344
|
-
}),
|
|
7345
|
-
|
|
7346
|
-
/**
|
|
7347
|
-
* No description
|
|
7348
|
-
*
|
|
7349
|
-
* @tags AiAdminPrompt
|
|
7350
|
-
* @name DeleteAiPrompt
|
|
7351
|
-
* @summary Delete prompt
|
|
7352
|
-
* @request DELETE:/api/ai/admin/prompts/{id}
|
|
7353
|
-
* @secure
|
|
7354
|
-
* @response `204` `void` No Content
|
|
7355
|
-
* @response `400` `ProblemDetails` Bad Request
|
|
7356
|
-
* @response `404` `ProblemDetails` Not Found
|
|
7357
|
-
*/
|
|
7358
|
-
deleteAiPrompt: (id: string, params: RequestParams = {}) =>
|
|
7359
|
-
this.request<void, ProblemDetails>({
|
|
7360
|
-
path: `/api/ai/admin/prompts/${id}`,
|
|
7361
|
-
method: "DELETE",
|
|
7362
|
-
secure: true,
|
|
7363
|
-
...params,
|
|
7364
|
-
}),
|
|
7365
|
-
|
|
7366
|
-
/**
|
|
7367
|
-
* No description
|
|
7368
|
-
*
|
|
7369
|
-
* @tags AiAdminPrompt
|
|
7370
|
-
* @name ToggleAiPrompt
|
|
7371
|
-
* @summary Toggle prompt active/inactive
|
|
7372
|
-
* @request PATCH:/api/ai/admin/prompts/{id}/toggle
|
|
7373
|
-
* @secure
|
|
7374
|
-
* @response `200` `AiPrompt` OK
|
|
7375
|
-
* @response `404` `ProblemDetails` Not Found
|
|
7376
|
-
*/
|
|
7377
|
-
toggleAiPrompt: (id: string, params: RequestParams = {}) =>
|
|
7378
|
-
this.request<AiPrompt, ProblemDetails>({
|
|
7379
|
-
path: `/api/ai/admin/prompts/${id}/toggle`,
|
|
7380
|
-
method: "PATCH",
|
|
7381
|
-
secure: true,
|
|
7382
|
-
format: "json",
|
|
7383
|
-
...params,
|
|
7384
|
-
}),
|
|
7385
|
-
|
|
7386
|
-
/**
|
|
7387
|
-
* No description
|
|
7388
|
-
*
|
|
7389
|
-
* @tags AiAdminPrompt
|
|
7390
|
-
* @name GenerateAiSystemPrompt
|
|
7391
|
-
* @summary Generate a system prompt from description
|
|
7392
|
-
* @request POST:/api/ai/admin/prompts/generate
|
|
7393
|
-
* @secure
|
|
7394
|
-
* @response `200` `GenerateSystemPrompt` OK
|
|
7395
|
-
* @response `400` `ProblemDetails` Bad Request
|
|
7396
|
-
*/
|
|
7397
|
-
generateAiSystemPrompt: (
|
|
7398
|
-
data: GenerateSystemPromptRequest,
|
|
7399
|
-
params: RequestParams = {},
|
|
7400
|
-
) =>
|
|
7401
|
-
this.request<GenerateSystemPrompt, ProblemDetails>({
|
|
7402
|
-
path: `/api/ai/admin/prompts/generate`,
|
|
7403
|
-
method: "POST",
|
|
7404
|
-
body: data,
|
|
7405
|
-
secure: true,
|
|
7406
|
-
type: ContentType.JsonPatch,
|
|
7407
|
-
format: "json",
|
|
7408
|
-
...params,
|
|
7409
|
-
}),
|
|
7410
|
-
|
|
7411
|
-
/**
|
|
7412
|
-
* No description
|
|
7413
|
-
*
|
|
7414
|
-
* @tags AiAdminPrompt
|
|
7415
|
-
* @name GetSupportedModels
|
|
7416
|
-
* @summary Get supported LLM models
|
|
7417
|
-
* @request GET:/api/ai/admin/prompts/supported-models
|
|
7418
|
-
* @secure
|
|
7419
|
-
* @response `200` `(SupportedModel)[]` OK
|
|
7420
|
-
*/
|
|
7421
|
-
getSupportedModels: (params: RequestParams = {}) =>
|
|
7422
|
-
this.request<SupportedModel[], any>({
|
|
7423
|
-
path: `/api/ai/admin/prompts/supported-models`,
|
|
7424
|
-
method: "GET",
|
|
7425
|
-
secure: true,
|
|
7426
|
-
format: "json",
|
|
7427
|
-
...params,
|
|
7428
|
-
}),
|
|
7429
|
-
|
|
7430
|
-
/**
|
|
7431
|
-
* No description
|
|
7432
|
-
*
|
|
7433
|
-
* @tags AiAdminSettings
|
|
7434
|
-
* @name GetAiAdminSettings
|
|
7435
|
-
* @summary Get global AI settings
|
|
7436
|
-
* @request GET:/api/ai/admin/settings
|
|
7437
|
-
* @secure
|
|
7438
|
-
* @response `200` `AiAdminSettings` OK
|
|
7439
|
-
*/
|
|
7440
|
-
getAiAdminSettings: (params: RequestParams = {}) =>
|
|
7441
|
-
this.request<AiAdminSettings, any>({
|
|
7442
|
-
path: `/api/ai/admin/settings`,
|
|
7443
|
-
method: "GET",
|
|
7444
|
-
secure: true,
|
|
7445
|
-
format: "json",
|
|
7446
|
-
...params,
|
|
7447
|
-
}),
|
|
7448
|
-
|
|
7449
|
-
/**
|
|
7450
|
-
* No description
|
|
7451
|
-
*
|
|
7452
|
-
* @tags AiAdminSettings
|
|
7453
|
-
* @name UpdateAiAdminSettings
|
|
7454
|
-
* @summary Update global AI settings
|
|
7455
|
-
* @request PUT:/api/ai/admin/settings
|
|
7456
|
-
* @secure
|
|
7457
|
-
* @response `200` `AiAdminSettings` OK
|
|
7458
|
-
* @response `400` `ProblemDetails` Bad Request
|
|
7459
|
-
*/
|
|
7460
|
-
updateAiAdminSettings: (
|
|
7461
|
-
data: AiAdminSettingsRequest,
|
|
7462
|
-
params: RequestParams = {},
|
|
7463
|
-
) =>
|
|
7464
|
-
this.request<AiAdminSettings, ProblemDetails>({
|
|
7465
|
-
path: `/api/ai/admin/settings`,
|
|
7466
|
-
method: "PUT",
|
|
7467
|
-
body: data,
|
|
7468
|
-
secure: true,
|
|
7469
|
-
type: ContentType.Json,
|
|
7470
|
-
format: "json",
|
|
7471
|
-
...params,
|
|
7472
|
-
}),
|
|
7473
|
-
|
|
7474
|
-
/**
|
|
7475
|
-
* No description
|
|
7476
|
-
*
|
|
7477
|
-
* @tags AiCanonicalField
|
|
7478
|
-
* @name GetAiCanonicalFields
|
|
7479
|
-
* @summary Get all canonical fields
|
|
7480
|
-
* @request GET:/api/ai/admin/fields
|
|
7481
|
-
* @secure
|
|
7482
|
-
* @response `200` `(AiCanonicalField)[]` OK
|
|
7483
|
-
*/
|
|
7484
|
-
getAiCanonicalFields: (params: RequestParams = {}) =>
|
|
7485
|
-
this.request<AiCanonicalField[], any>({
|
|
7486
|
-
path: `/api/ai/admin/fields`,
|
|
7487
|
-
method: "GET",
|
|
7488
|
-
secure: true,
|
|
7489
|
-
format: "json",
|
|
7490
|
-
...params,
|
|
7491
|
-
}),
|
|
7492
|
-
|
|
7493
|
-
/**
|
|
7494
|
-
* No description
|
|
7495
|
-
*
|
|
7496
|
-
* @tags AiCanonicalField
|
|
7497
|
-
* @name CreateAiCanonicalField
|
|
7498
|
-
* @summary Create canonical field
|
|
7499
|
-
* @request POST:/api/ai/admin/fields
|
|
7500
|
-
* @secure
|
|
7501
|
-
* @response `201` `AiCanonicalField` Created
|
|
7502
|
-
* @response `400` `ProblemDetails` Bad Request
|
|
7503
|
-
*/
|
|
7504
|
-
createAiCanonicalField: (
|
|
7505
|
-
data: CreateAiCanonicalFieldRequest,
|
|
7506
|
-
params: RequestParams = {},
|
|
7507
|
-
) =>
|
|
7508
|
-
this.request<AiCanonicalField, ProblemDetails>({
|
|
7509
|
-
path: `/api/ai/admin/fields`,
|
|
6826
|
+
this.request<AuditLogEntryPaginated, any>({
|
|
6827
|
+
path: `/api/audit-logs/search`,
|
|
7510
6828
|
method: "POST",
|
|
6829
|
+
query: query,
|
|
7511
6830
|
body: data,
|
|
7512
6831
|
secure: true,
|
|
7513
6832
|
type: ContentType.Json,
|
|
@@ -7515,540 +6834,6 @@ export class Api<
|
|
|
7515
6834
|
...params,
|
|
7516
6835
|
}),
|
|
7517
6836
|
|
|
7518
|
-
/**
|
|
7519
|
-
* No description
|
|
7520
|
-
*
|
|
7521
|
-
* @tags AiCanonicalField
|
|
7522
|
-
* @name GetAiCanonicalField
|
|
7523
|
-
* @summary Get canonical field by ID
|
|
7524
|
-
* @request GET:/api/ai/admin/fields/{id}
|
|
7525
|
-
* @secure
|
|
7526
|
-
* @response `200` `AiCanonicalField` OK
|
|
7527
|
-
* @response `404` `ProblemDetails` Not Found
|
|
7528
|
-
*/
|
|
7529
|
-
getAiCanonicalField: (id: string, params: RequestParams = {}) =>
|
|
7530
|
-
this.request<AiCanonicalField, ProblemDetails>({
|
|
7531
|
-
path: `/api/ai/admin/fields/${id}`,
|
|
7532
|
-
method: "GET",
|
|
7533
|
-
secure: true,
|
|
7534
|
-
format: "json",
|
|
7535
|
-
...params,
|
|
7536
|
-
}),
|
|
7537
|
-
|
|
7538
|
-
/**
|
|
7539
|
-
* No description
|
|
7540
|
-
*
|
|
7541
|
-
* @tags AiCanonicalField
|
|
7542
|
-
* @name UpdateAiCanonicalField
|
|
7543
|
-
* @summary Update canonical field
|
|
7544
|
-
* @request PUT:/api/ai/admin/fields/{id}
|
|
7545
|
-
* @secure
|
|
7546
|
-
* @response `200` `AiCanonicalField` OK
|
|
7547
|
-
* @response `400` `ProblemDetails` Bad Request
|
|
7548
|
-
* @response `404` `ProblemDetails` Not Found
|
|
7549
|
-
*/
|
|
7550
|
-
updateAiCanonicalField: (
|
|
7551
|
-
id: string,
|
|
7552
|
-
data: UpdateAiCanonicalFieldRequest,
|
|
7553
|
-
params: RequestParams = {},
|
|
7554
|
-
) =>
|
|
7555
|
-
this.request<AiCanonicalField, ProblemDetails>({
|
|
7556
|
-
path: `/api/ai/admin/fields/${id}`,
|
|
7557
|
-
method: "PUT",
|
|
7558
|
-
body: data,
|
|
7559
|
-
secure: true,
|
|
7560
|
-
type: ContentType.Json,
|
|
7561
|
-
format: "json",
|
|
7562
|
-
...params,
|
|
7563
|
-
}),
|
|
7564
|
-
|
|
7565
|
-
/**
|
|
7566
|
-
* No description
|
|
7567
|
-
*
|
|
7568
|
-
* @tags AiCanonicalField
|
|
7569
|
-
* @name DeleteAiCanonicalField
|
|
7570
|
-
* @summary Delete canonical field
|
|
7571
|
-
* @request DELETE:/api/ai/admin/fields/{id}
|
|
7572
|
-
* @secure
|
|
7573
|
-
* @response `204` `void` No Content
|
|
7574
|
-
* @response `404` `ProblemDetails` Not Found
|
|
7575
|
-
*/
|
|
7576
|
-
deleteAiCanonicalField: (id: string, params: RequestParams = {}) =>
|
|
7577
|
-
this.request<void, ProblemDetails>({
|
|
7578
|
-
path: `/api/ai/admin/fields/${id}`,
|
|
7579
|
-
method: "DELETE",
|
|
7580
|
-
secure: true,
|
|
7581
|
-
...params,
|
|
7582
|
-
}),
|
|
7583
|
-
|
|
7584
|
-
/**
|
|
7585
|
-
* No description
|
|
7586
|
-
*
|
|
7587
|
-
* @tags AiCanonicalField
|
|
7588
|
-
* @name ToggleAiCanonicalField
|
|
7589
|
-
* @summary Toggle canonical field active/inactive
|
|
7590
|
-
* @request PATCH:/api/ai/admin/fields/{id}/toggle
|
|
7591
|
-
* @secure
|
|
7592
|
-
* @response `200` `AiCanonicalField` OK
|
|
7593
|
-
* @response `404` `ProblemDetails` Not Found
|
|
7594
|
-
*/
|
|
7595
|
-
toggleAiCanonicalField: (id: string, params: RequestParams = {}) =>
|
|
7596
|
-
this.request<AiCanonicalField, ProblemDetails>({
|
|
7597
|
-
path: `/api/ai/admin/fields/${id}/toggle`,
|
|
7598
|
-
method: "PATCH",
|
|
7599
|
-
secure: true,
|
|
7600
|
-
format: "json",
|
|
7601
|
-
...params,
|
|
7602
|
-
}),
|
|
7603
|
-
|
|
7604
|
-
/**
|
|
7605
|
-
* No description
|
|
7606
|
-
*
|
|
7607
|
-
* @tags AiChat
|
|
7608
|
-
* @name AiChat
|
|
7609
|
-
* @summary Send AI chat message
|
|
7610
|
-
* @request POST:/api/ai/chat
|
|
7611
|
-
* @secure
|
|
7612
|
-
* @response `200` `AiChat` OK
|
|
7613
|
-
* @response `400` `ProblemDetails` Bad Request
|
|
7614
|
-
* @response `401` `ProblemDetails` Unauthorized
|
|
7615
|
-
*/
|
|
7616
|
-
aiChat: (data: AiChatRequest, params: RequestParams = {}) =>
|
|
7617
|
-
this.request<AiChat, ProblemDetails>({
|
|
7618
|
-
path: `/api/ai/chat`,
|
|
7619
|
-
method: "POST",
|
|
7620
|
-
body: data,
|
|
7621
|
-
secure: true,
|
|
7622
|
-
type: ContentType.JsonPatch,
|
|
7623
|
-
format: "json",
|
|
7624
|
-
...params,
|
|
7625
|
-
}),
|
|
7626
|
-
|
|
7627
|
-
/**
|
|
7628
|
-
* No description
|
|
7629
|
-
*
|
|
7630
|
-
* @tags AiConversation
|
|
7631
|
-
* @name GetAiConversations
|
|
7632
|
-
* @summary Get user conversations
|
|
7633
|
-
* @request GET:/api/ai/conversations
|
|
7634
|
-
* @secure
|
|
7635
|
-
* @response `200` `AiConversationListItemPaginated` OK
|
|
7636
|
-
*/
|
|
7637
|
-
getAiConversations: (
|
|
7638
|
-
query?: {
|
|
7639
|
-
/** @format int32 */
|
|
7640
|
-
pageSize?: number;
|
|
7641
|
-
/** @format int32 */
|
|
7642
|
-
pageNumber?: number;
|
|
7643
|
-
sortBy?: string;
|
|
7644
|
-
sortDirection?: string;
|
|
7645
|
-
},
|
|
7646
|
-
params: RequestParams = {},
|
|
7647
|
-
) =>
|
|
7648
|
-
this.request<AiConversationListItemPaginated, any>({
|
|
7649
|
-
path: `/api/ai/conversations`,
|
|
7650
|
-
method: "GET",
|
|
7651
|
-
query: query,
|
|
7652
|
-
secure: true,
|
|
7653
|
-
format: "json",
|
|
7654
|
-
...params,
|
|
7655
|
-
}),
|
|
7656
|
-
|
|
7657
|
-
/**
|
|
7658
|
-
* No description
|
|
7659
|
-
*
|
|
7660
|
-
* @tags AiConversation
|
|
7661
|
-
* @name GetAiConversation
|
|
7662
|
-
* @summary Get conversation metadata
|
|
7663
|
-
* @request GET:/api/ai/conversations/{id}
|
|
7664
|
-
* @secure
|
|
7665
|
-
* @response `200` `AiConversationDetail` OK
|
|
7666
|
-
* @response `403` `ProblemDetails` Forbidden
|
|
7667
|
-
* @response `404` `ProblemDetails` Not Found
|
|
7668
|
-
*/
|
|
7669
|
-
getAiConversation: (id: string, params: RequestParams = {}) =>
|
|
7670
|
-
this.request<AiConversationDetail, ProblemDetails>({
|
|
7671
|
-
path: `/api/ai/conversations/${id}`,
|
|
7672
|
-
method: "GET",
|
|
7673
|
-
secure: true,
|
|
7674
|
-
format: "json",
|
|
7675
|
-
...params,
|
|
7676
|
-
}),
|
|
7677
|
-
|
|
7678
|
-
/**
|
|
7679
|
-
* No description
|
|
7680
|
-
*
|
|
7681
|
-
* @tags AiConversation
|
|
7682
|
-
* @name DeleteAiConversation
|
|
7683
|
-
* @summary Delete conversation
|
|
7684
|
-
* @request DELETE:/api/ai/conversations/{id}
|
|
7685
|
-
* @secure
|
|
7686
|
-
* @response `204` `void` No Content
|
|
7687
|
-
* @response `403` `ProblemDetails` Forbidden
|
|
7688
|
-
* @response `404` `ProblemDetails` Not Found
|
|
7689
|
-
*/
|
|
7690
|
-
deleteAiConversation: (id: string, params: RequestParams = {}) =>
|
|
7691
|
-
this.request<void, ProblemDetails>({
|
|
7692
|
-
path: `/api/ai/conversations/${id}`,
|
|
7693
|
-
method: "DELETE",
|
|
7694
|
-
secure: true,
|
|
7695
|
-
...params,
|
|
7696
|
-
}),
|
|
7697
|
-
|
|
7698
|
-
/**
|
|
7699
|
-
* No description
|
|
7700
|
-
*
|
|
7701
|
-
* @tags AiConversation
|
|
7702
|
-
* @name GetAiConversationMessages
|
|
7703
|
-
* @summary Get conversation messages
|
|
7704
|
-
* @request GET:/api/ai/conversations/{id}/messages
|
|
7705
|
-
* @secure
|
|
7706
|
-
* @response `200` `AiChatMessagePaginated` OK
|
|
7707
|
-
* @response `403` `ProblemDetails` Forbidden
|
|
7708
|
-
* @response `404` `ProblemDetails` Not Found
|
|
7709
|
-
*/
|
|
7710
|
-
getAiConversationMessages: (
|
|
7711
|
-
id: string,
|
|
7712
|
-
query?: {
|
|
7713
|
-
/** @format int32 */
|
|
7714
|
-
pageSize?: number;
|
|
7715
|
-
/** @format int32 */
|
|
7716
|
-
pageNumber?: number;
|
|
7717
|
-
sortBy?: string;
|
|
7718
|
-
sortDirection?: string;
|
|
7719
|
-
},
|
|
7720
|
-
params: RequestParams = {},
|
|
7721
|
-
) =>
|
|
7722
|
-
this.request<AiChatMessagePaginated, ProblemDetails>({
|
|
7723
|
-
path: `/api/ai/conversations/${id}/messages`,
|
|
7724
|
-
method: "GET",
|
|
7725
|
-
query: query,
|
|
7726
|
-
secure: true,
|
|
7727
|
-
format: "json",
|
|
7728
|
-
...params,
|
|
7729
|
-
}),
|
|
7730
|
-
|
|
7731
|
-
/**
|
|
7732
|
-
* No description
|
|
7733
|
-
*
|
|
7734
|
-
* @tags AiGuardrail
|
|
7735
|
-
* @name GetAiGuardrails
|
|
7736
|
-
* @summary Get all guardrails
|
|
7737
|
-
* @request GET:/api/ai/admin/guardrails
|
|
7738
|
-
* @secure
|
|
7739
|
-
* @response `200` `(AiGuardrail)[]` OK
|
|
7740
|
-
*/
|
|
7741
|
-
getAiGuardrails: (params: RequestParams = {}) =>
|
|
7742
|
-
this.request<AiGuardrail[], any>({
|
|
7743
|
-
path: `/api/ai/admin/guardrails`,
|
|
7744
|
-
method: "GET",
|
|
7745
|
-
secure: true,
|
|
7746
|
-
format: "json",
|
|
7747
|
-
...params,
|
|
7748
|
-
}),
|
|
7749
|
-
|
|
7750
|
-
/**
|
|
7751
|
-
* No description
|
|
7752
|
-
*
|
|
7753
|
-
* @tags AiGuardrail
|
|
7754
|
-
* @name CreateAiGuardrail
|
|
7755
|
-
* @summary Create custom guardrail
|
|
7756
|
-
* @request POST:/api/ai/admin/guardrails
|
|
7757
|
-
* @secure
|
|
7758
|
-
* @response `201` `AiGuardrail` Created
|
|
7759
|
-
* @response `400` `ProblemDetails` Bad Request
|
|
7760
|
-
*/
|
|
7761
|
-
createAiGuardrail: (
|
|
7762
|
-
data: CreateAiGuardrailRequest,
|
|
7763
|
-
params: RequestParams = {},
|
|
7764
|
-
) =>
|
|
7765
|
-
this.request<AiGuardrail, ProblemDetails>({
|
|
7766
|
-
path: `/api/ai/admin/guardrails`,
|
|
7767
|
-
method: "POST",
|
|
7768
|
-
body: data,
|
|
7769
|
-
secure: true,
|
|
7770
|
-
type: ContentType.Json,
|
|
7771
|
-
format: "json",
|
|
7772
|
-
...params,
|
|
7773
|
-
}),
|
|
7774
|
-
|
|
7775
|
-
/**
|
|
7776
|
-
* No description
|
|
7777
|
-
*
|
|
7778
|
-
* @tags AiGuardrail
|
|
7779
|
-
* @name GetAiGuardrail
|
|
7780
|
-
* @summary Get guardrail by ID
|
|
7781
|
-
* @request GET:/api/ai/admin/guardrails/{id}
|
|
7782
|
-
* @secure
|
|
7783
|
-
* @response `200` `AiGuardrail` OK
|
|
7784
|
-
* @response `404` `ProblemDetails` Not Found
|
|
7785
|
-
*/
|
|
7786
|
-
getAiGuardrail: (id: string, params: RequestParams = {}) =>
|
|
7787
|
-
this.request<AiGuardrail, ProblemDetails>({
|
|
7788
|
-
path: `/api/ai/admin/guardrails/${id}`,
|
|
7789
|
-
method: "GET",
|
|
7790
|
-
secure: true,
|
|
7791
|
-
format: "json",
|
|
7792
|
-
...params,
|
|
7793
|
-
}),
|
|
7794
|
-
|
|
7795
|
-
/**
|
|
7796
|
-
* No description
|
|
7797
|
-
*
|
|
7798
|
-
* @tags AiGuardrail
|
|
7799
|
-
* @name UpdateAiGuardrail
|
|
7800
|
-
* @summary Update guardrail
|
|
7801
|
-
* @request PUT:/api/ai/admin/guardrails/{id}
|
|
7802
|
-
* @secure
|
|
7803
|
-
* @response `200` `AiGuardrail` OK
|
|
7804
|
-
* @response `400` `ProblemDetails` Bad Request
|
|
7805
|
-
* @response `404` `ProblemDetails` Not Found
|
|
7806
|
-
*/
|
|
7807
|
-
updateAiGuardrail: (
|
|
7808
|
-
id: string,
|
|
7809
|
-
data: UpdateAiGuardrailRequest,
|
|
7810
|
-
params: RequestParams = {},
|
|
7811
|
-
) =>
|
|
7812
|
-
this.request<AiGuardrail, ProblemDetails>({
|
|
7813
|
-
path: `/api/ai/admin/guardrails/${id}`,
|
|
7814
|
-
method: "PUT",
|
|
7815
|
-
body: data,
|
|
7816
|
-
secure: true,
|
|
7817
|
-
type: ContentType.Json,
|
|
7818
|
-
format: "json",
|
|
7819
|
-
...params,
|
|
7820
|
-
}),
|
|
7821
|
-
|
|
7822
|
-
/**
|
|
7823
|
-
* No description
|
|
7824
|
-
*
|
|
7825
|
-
* @tags AiGuardrail
|
|
7826
|
-
* @name DeleteAiGuardrail
|
|
7827
|
-
* @summary Delete guardrail
|
|
7828
|
-
* @request DELETE:/api/ai/admin/guardrails/{id}
|
|
7829
|
-
* @secure
|
|
7830
|
-
* @response `204` `void` No Content
|
|
7831
|
-
* @response `400` `ProblemDetails` Bad Request
|
|
7832
|
-
* @response `404` `ProblemDetails` Not Found
|
|
7833
|
-
*/
|
|
7834
|
-
deleteAiGuardrail: (id: string, params: RequestParams = {}) =>
|
|
7835
|
-
this.request<void, ProblemDetails>({
|
|
7836
|
-
path: `/api/ai/admin/guardrails/${id}`,
|
|
7837
|
-
method: "DELETE",
|
|
7838
|
-
secure: true,
|
|
7839
|
-
...params,
|
|
7840
|
-
}),
|
|
7841
|
-
|
|
7842
|
-
/**
|
|
7843
|
-
* No description
|
|
7844
|
-
*
|
|
7845
|
-
* @tags AiGuardrail
|
|
7846
|
-
* @name ToggleAiGuardrail
|
|
7847
|
-
* @summary Toggle guardrail enabled/disabled
|
|
7848
|
-
* @request PATCH:/api/ai/admin/guardrails/{id}/toggle
|
|
7849
|
-
* @secure
|
|
7850
|
-
* @response `200` `AiGuardrail` OK
|
|
7851
|
-
* @response `404` `ProblemDetails` Not Found
|
|
7852
|
-
*/
|
|
7853
|
-
toggleAiGuardrail: (id: string, params: RequestParams = {}) =>
|
|
7854
|
-
this.request<AiGuardrail, ProblemDetails>({
|
|
7855
|
-
path: `/api/ai/admin/guardrails/${id}/toggle`,
|
|
7856
|
-
method: "PATCH",
|
|
7857
|
-
secure: true,
|
|
7858
|
-
format: "json",
|
|
7859
|
-
...params,
|
|
7860
|
-
}),
|
|
7861
|
-
|
|
7862
|
-
/**
|
|
7863
|
-
* No description
|
|
7864
|
-
*
|
|
7865
|
-
* @tags AiPrompt
|
|
7866
|
-
* @name GetAvailablePrompts
|
|
7867
|
-
* @summary Get available prompts for current user
|
|
7868
|
-
* @request GET:/api/ai/prompts
|
|
7869
|
-
* @secure
|
|
7870
|
-
* @response `200` `(AiPromptSummary)[]` OK
|
|
7871
|
-
*/
|
|
7872
|
-
getAvailablePrompts: (
|
|
7873
|
-
query?: {
|
|
7874
|
-
documentType?: string;
|
|
7875
|
-
},
|
|
7876
|
-
params: RequestParams = {},
|
|
7877
|
-
) =>
|
|
7878
|
-
this.request<AiPromptSummary[], any>({
|
|
7879
|
-
path: `/api/ai/prompts`,
|
|
7880
|
-
method: "GET",
|
|
7881
|
-
query: query,
|
|
7882
|
-
secure: true,
|
|
7883
|
-
format: "json",
|
|
7884
|
-
...params,
|
|
7885
|
-
}),
|
|
7886
|
-
|
|
7887
|
-
/**
|
|
7888
|
-
* No description
|
|
7889
|
-
*
|
|
7890
|
-
* @tags AiUrlSource
|
|
7891
|
-
* @name GetAiUrlSources
|
|
7892
|
-
* @summary Get all URL sources
|
|
7893
|
-
* @request GET:/api/ai/admin/url-sources
|
|
7894
|
-
* @secure
|
|
7895
|
-
* @response `200` `(AiUrlSource)[]` OK
|
|
7896
|
-
*/
|
|
7897
|
-
getAiUrlSources: (params: RequestParams = {}) =>
|
|
7898
|
-
this.request<AiUrlSource[], any>({
|
|
7899
|
-
path: `/api/ai/admin/url-sources`,
|
|
7900
|
-
method: "GET",
|
|
7901
|
-
secure: true,
|
|
7902
|
-
format: "json",
|
|
7903
|
-
...params,
|
|
7904
|
-
}),
|
|
7905
|
-
|
|
7906
|
-
/**
|
|
7907
|
-
* No description
|
|
7908
|
-
*
|
|
7909
|
-
* @tags AiUrlSource
|
|
7910
|
-
* @name CreateAiUrlSource
|
|
7911
|
-
* @summary Create URL source
|
|
7912
|
-
* @request POST:/api/ai/admin/url-sources
|
|
7913
|
-
* @secure
|
|
7914
|
-
* @response `201` `AiUrlSource` Created
|
|
7915
|
-
* @response `400` `ProblemDetails` Bad Request
|
|
7916
|
-
* @response `409` `ProblemDetails` Conflict
|
|
7917
|
-
*/
|
|
7918
|
-
createAiUrlSource: (
|
|
7919
|
-
data: CreateAiUrlSourceRequest,
|
|
7920
|
-
params: RequestParams = {},
|
|
7921
|
-
) =>
|
|
7922
|
-
this.request<AiUrlSource, ProblemDetails>({
|
|
7923
|
-
path: `/api/ai/admin/url-sources`,
|
|
7924
|
-
method: "POST",
|
|
7925
|
-
body: data,
|
|
7926
|
-
secure: true,
|
|
7927
|
-
type: ContentType.JsonPatch,
|
|
7928
|
-
format: "json",
|
|
7929
|
-
...params,
|
|
7930
|
-
}),
|
|
7931
|
-
|
|
7932
|
-
/**
|
|
7933
|
-
* No description
|
|
7934
|
-
*
|
|
7935
|
-
* @tags AiUrlSource
|
|
7936
|
-
* @name GetAiUrlSource
|
|
7937
|
-
* @summary Get URL source by ID
|
|
7938
|
-
* @request GET:/api/ai/admin/url-sources/{id}
|
|
7939
|
-
* @secure
|
|
7940
|
-
* @response `200` `AiUrlSource` OK
|
|
7941
|
-
* @response `404` `ProblemDetails` Not Found
|
|
7942
|
-
*/
|
|
7943
|
-
getAiUrlSource: (id: string, params: RequestParams = {}) =>
|
|
7944
|
-
this.request<AiUrlSource, ProblemDetails>({
|
|
7945
|
-
path: `/api/ai/admin/url-sources/${id}`,
|
|
7946
|
-
method: "GET",
|
|
7947
|
-
secure: true,
|
|
7948
|
-
format: "json",
|
|
7949
|
-
...params,
|
|
7950
|
-
}),
|
|
7951
|
-
|
|
7952
|
-
/**
|
|
7953
|
-
* No description
|
|
7954
|
-
*
|
|
7955
|
-
* @tags AiUrlSource
|
|
7956
|
-
* @name UpdateAiUrlSource
|
|
7957
|
-
* @summary Update URL source
|
|
7958
|
-
* @request PUT:/api/ai/admin/url-sources/{id}
|
|
7959
|
-
* @secure
|
|
7960
|
-
* @response `200` `AiUrlSource` OK
|
|
7961
|
-
* @response `400` `ProblemDetails` Bad Request
|
|
7962
|
-
* @response `404` `ProblemDetails` Not Found
|
|
7963
|
-
* @response `409` `ProblemDetails` Conflict
|
|
7964
|
-
*/
|
|
7965
|
-
updateAiUrlSource: (
|
|
7966
|
-
id: string,
|
|
7967
|
-
data: UpdateAiUrlSourceRequest,
|
|
7968
|
-
params: RequestParams = {},
|
|
7969
|
-
) =>
|
|
7970
|
-
this.request<AiUrlSource, ProblemDetails>({
|
|
7971
|
-
path: `/api/ai/admin/url-sources/${id}`,
|
|
7972
|
-
method: "PUT",
|
|
7973
|
-
body: data,
|
|
7974
|
-
secure: true,
|
|
7975
|
-
type: ContentType.Json,
|
|
7976
|
-
format: "json",
|
|
7977
|
-
...params,
|
|
7978
|
-
}),
|
|
7979
|
-
|
|
7980
|
-
/**
|
|
7981
|
-
* No description
|
|
7982
|
-
*
|
|
7983
|
-
* @tags AiUrlSource
|
|
7984
|
-
* @name DeleteAiUrlSource
|
|
7985
|
-
* @summary Delete URL source
|
|
7986
|
-
* @request DELETE:/api/ai/admin/url-sources/{id}
|
|
7987
|
-
* @secure
|
|
7988
|
-
* @response `204` `void` No Content
|
|
7989
|
-
* @response `404` `ProblemDetails` Not Found
|
|
7990
|
-
*/
|
|
7991
|
-
deleteAiUrlSource: (id: string, params: RequestParams = {}) =>
|
|
7992
|
-
this.request<void, ProblemDetails>({
|
|
7993
|
-
path: `/api/ai/admin/url-sources/${id}`,
|
|
7994
|
-
method: "DELETE",
|
|
7995
|
-
secure: true,
|
|
7996
|
-
...params,
|
|
7997
|
-
}),
|
|
7998
|
-
|
|
7999
|
-
/**
|
|
8000
|
-
* No description
|
|
8001
|
-
*
|
|
8002
|
-
* @tags AiUrlSource
|
|
8003
|
-
* @name ToggleAiUrlSource
|
|
8004
|
-
* @summary Toggle URL source active/inactive
|
|
8005
|
-
* @request PATCH:/api/ai/admin/url-sources/{id}/toggle
|
|
8006
|
-
* @secure
|
|
8007
|
-
* @response `200` `AiUrlSource` OK
|
|
8008
|
-
* @response `404` `ProblemDetails` Not Found
|
|
8009
|
-
*/
|
|
8010
|
-
toggleAiUrlSource: (id: string, params: RequestParams = {}) =>
|
|
8011
|
-
this.request<AiUrlSource, ProblemDetails>({
|
|
8012
|
-
path: `/api/ai/admin/url-sources/${id}/toggle`,
|
|
8013
|
-
method: "PATCH",
|
|
8014
|
-
secure: true,
|
|
8015
|
-
format: "json",
|
|
8016
|
-
...params,
|
|
8017
|
-
}),
|
|
8018
|
-
|
|
8019
|
-
/**
|
|
8020
|
-
* No description
|
|
8021
|
-
*
|
|
8022
|
-
* @tags AuditLog
|
|
8023
|
-
* @name SearchAuditLogs
|
|
8024
|
-
* @summary Search
|
|
8025
|
-
* @request POST:/api/audit-logs/search
|
|
8026
|
-
* @secure
|
|
8027
|
-
* @response `200` `AuditLogEntryPaginated` OK
|
|
8028
|
-
*/
|
|
8029
|
-
searchAuditLogs: (
|
|
8030
|
-
data: AuditLogSearchCriteria,
|
|
8031
|
-
query?: {
|
|
8032
|
-
/** @format int32 */
|
|
8033
|
-
pageSize?: number;
|
|
8034
|
-
/** @format int32 */
|
|
8035
|
-
pageNumber?: number;
|
|
8036
|
-
sortBy?: string;
|
|
8037
|
-
sortDirection?: string;
|
|
8038
|
-
},
|
|
8039
|
-
params: RequestParams = {},
|
|
8040
|
-
) =>
|
|
8041
|
-
this.request<AuditLogEntryPaginated, any>({
|
|
8042
|
-
path: `/api/audit-logs/search`,
|
|
8043
|
-
method: "POST",
|
|
8044
|
-
query: query,
|
|
8045
|
-
body: data,
|
|
8046
|
-
secure: true,
|
|
8047
|
-
type: ContentType.JsonPatch,
|
|
8048
|
-
format: "json",
|
|
8049
|
-
...params,
|
|
8050
|
-
}),
|
|
8051
|
-
|
|
8052
6837
|
/**
|
|
8053
6838
|
* No description
|
|
8054
6839
|
*
|