@matech/thebigpos-sdk 2.40.3-aibi-1 → 2.40.4-rc1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.d.ts +71 -835
- package/dist/index.js +38 -402
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
- package/src/index.ts +253 -1428
package/src/index.ts
CHANGED
|
@@ -356,6 +356,8 @@ export type EncompassLogOperationType =
|
|
|
356
356
|
| "General"
|
|
357
357
|
| "FieldReader";
|
|
358
358
|
|
|
359
|
+
export type EncompassEnvironment = "Production" | "UAT";
|
|
360
|
+
|
|
359
361
|
export type DraftType = "NewLoan" | "EditLoan";
|
|
360
362
|
|
|
361
363
|
export type CustomFieldEntityType = "Loan";
|
|
@@ -390,90 +392,9 @@ export type AuditChangeType =
|
|
|
390
392
|
| "Modified"
|
|
391
393
|
| "SoftDeleted"
|
|
392
394
|
| "HardDeleted"
|
|
393
|
-
| "Restored"
|
|
394
|
-
|
|
395
|
-
|
|
396
|
-
|
|
397
|
-
export type AiUrlSourceCategory =
|
|
398
|
-
| "Regulatory"
|
|
399
|
-
| "Guidelines"
|
|
400
|
-
| "MarketData"
|
|
401
|
-
| "Custom";
|
|
402
|
-
|
|
403
|
-
export type AiStructuredDataType =
|
|
404
|
-
| "Table"
|
|
405
|
-
| "DocumentAnalysis"
|
|
406
|
-
| "DocumentList"
|
|
407
|
-
| "GeneratedDocument";
|
|
408
|
-
|
|
409
|
-
export type AiQueryTemplateName =
|
|
410
|
-
| "PipelineSummary"
|
|
411
|
-
| "LoanDetail"
|
|
412
|
-
| "LoansClosing"
|
|
413
|
-
| "StaleLoans"
|
|
414
|
-
| "LoansByType"
|
|
415
|
-
| "LoansByOfficer"
|
|
416
|
-
| "AverageLoanAmount"
|
|
417
|
-
| "LockedVsUnlocked"
|
|
418
|
-
| "LoansByPurpose"
|
|
419
|
-
| "LoansByPropertyState"
|
|
420
|
-
| "LoansByRate"
|
|
421
|
-
| "DtiLtvRisk"
|
|
422
|
-
| "DisclosureTracking"
|
|
423
|
-
| "NewLoans"
|
|
424
|
-
| "ExpiringLocks"
|
|
425
|
-
| "ClosedLoans";
|
|
426
|
-
|
|
427
|
-
export type AiPromptCategory =
|
|
428
|
-
| "DocumentAnalysis"
|
|
429
|
-
| "DataQuery"
|
|
430
|
-
| "General"
|
|
431
|
-
| "Action";
|
|
432
|
-
|
|
433
|
-
export type AiOutputType = "Text" | "Document";
|
|
434
|
-
|
|
435
|
-
export type AiIntent =
|
|
436
|
-
| "Greeting"
|
|
437
|
-
| "Invalid"
|
|
438
|
-
| "Relevant"
|
|
439
|
-
| "LoanSpecific"
|
|
440
|
-
| "DocumentList"
|
|
441
|
-
| "GeneralKnowledge"
|
|
442
|
-
| "Blocked"
|
|
443
|
-
| "Action";
|
|
444
|
-
|
|
445
|
-
export type AiGuardrailCategory =
|
|
446
|
-
| "ContentSafety"
|
|
447
|
-
| "PromptInjection"
|
|
448
|
-
| "Privacy"
|
|
449
|
-
| "Legal";
|
|
450
|
-
|
|
451
|
-
export type AiDisplayHint =
|
|
452
|
-
| "Table"
|
|
453
|
-
| "SummaryCards"
|
|
454
|
-
| "RankedList"
|
|
455
|
-
| "Comparison"
|
|
456
|
-
| "ExecutiveBrief";
|
|
457
|
-
|
|
458
|
-
export type AiAuditEventType =
|
|
459
|
-
| "Error"
|
|
460
|
-
| "GuardrailBlockedPre"
|
|
461
|
-
| "GuardrailPassedPre"
|
|
462
|
-
| "IntentClassified"
|
|
463
|
-
| "LoanResolvedFromMessage"
|
|
464
|
-
| "DocumentNotFound"
|
|
465
|
-
| "GuardrailBlockedPost"
|
|
466
|
-
| "GuardrailPassedPost"
|
|
467
|
-
| "DocumentAnalyzed"
|
|
468
|
-
| "DocumentList"
|
|
469
|
-
| "DocumentResolutionAmbiguous"
|
|
470
|
-
| "ResponseGenerated"
|
|
471
|
-
| "ParametersExtracted"
|
|
472
|
-
| "QueryExecuted"
|
|
473
|
-
| "LoanContextNotFound"
|
|
474
|
-
| "LoanContextLoaded"
|
|
475
|
-
| "GuardrailBlockedBedrock"
|
|
476
|
-
| "PromptMatched";
|
|
395
|
+
| "Restored"
|
|
396
|
+
| "Deactivated"
|
|
397
|
+
| "Reactivated";
|
|
477
398
|
|
|
478
399
|
export type AddressFamily =
|
|
479
400
|
| "Unspecified"
|
|
@@ -571,13 +492,34 @@ export interface AccountBillingRequest {
|
|
|
571
492
|
contractedRate: number;
|
|
572
493
|
}
|
|
573
494
|
|
|
495
|
+
export interface AccountDeactivated {
|
|
496
|
+
accountDeactivated: boolean;
|
|
497
|
+
email: string;
|
|
498
|
+
}
|
|
499
|
+
|
|
500
|
+
export interface AccountReactivationCompleteRequest {
|
|
501
|
+
/** @format uuid */
|
|
502
|
+
token: string;
|
|
503
|
+
/** @minLength 8 */
|
|
504
|
+
newPassword: string;
|
|
505
|
+
}
|
|
506
|
+
|
|
507
|
+
export interface AccountReactivationRequest {
|
|
508
|
+
/**
|
|
509
|
+
* @format email
|
|
510
|
+
* @minLength 1
|
|
511
|
+
*/
|
|
512
|
+
email: string;
|
|
513
|
+
/** @format uuid */
|
|
514
|
+
siteConfigurationId: string;
|
|
515
|
+
}
|
|
516
|
+
|
|
574
517
|
export interface AccountSettings {
|
|
575
518
|
isSmsEnabled: boolean;
|
|
576
519
|
isLoanEditEnabled: boolean;
|
|
577
520
|
smsNumber?: string | null;
|
|
578
521
|
ssoHostOverride?: string | null;
|
|
579
522
|
isEarlyAdopter: boolean;
|
|
580
|
-
isAIEnabled: boolean;
|
|
581
523
|
}
|
|
582
524
|
|
|
583
525
|
export interface AccountSettingsRequest {
|
|
@@ -789,263 +731,6 @@ export interface AffordabilityCalculatorRequest {
|
|
|
789
731
|
annualInsurance: number;
|
|
790
732
|
}
|
|
791
733
|
|
|
792
|
-
export interface AiAdminStats {
|
|
793
|
-
/** @format int32 */
|
|
794
|
-
totalRequests: number;
|
|
795
|
-
/** @format int32 */
|
|
796
|
-
blockedRequests: number;
|
|
797
|
-
/** @format double */
|
|
798
|
-
averageResponseTimeMs: number;
|
|
799
|
-
intentDistribution: Record<string, number>;
|
|
800
|
-
topQueryTemplates: Record<string, number>;
|
|
801
|
-
period: string;
|
|
802
|
-
}
|
|
803
|
-
|
|
804
|
-
export interface AiAuditLog {
|
|
805
|
-
/** @format uuid */
|
|
806
|
-
id: string;
|
|
807
|
-
/** @format uuid */
|
|
808
|
-
requestId: string;
|
|
809
|
-
/** @format uuid */
|
|
810
|
-
userId: string;
|
|
811
|
-
eventType:
|
|
812
|
-
| "Error"
|
|
813
|
-
| "GuardrailBlockedPre"
|
|
814
|
-
| "GuardrailPassedPre"
|
|
815
|
-
| "IntentClassified"
|
|
816
|
-
| "LoanResolvedFromMessage"
|
|
817
|
-
| "DocumentNotFound"
|
|
818
|
-
| "GuardrailBlockedPost"
|
|
819
|
-
| "GuardrailPassedPost"
|
|
820
|
-
| "DocumentAnalyzed"
|
|
821
|
-
| "DocumentList"
|
|
822
|
-
| "DocumentResolutionAmbiguous"
|
|
823
|
-
| "ResponseGenerated"
|
|
824
|
-
| "ParametersExtracted"
|
|
825
|
-
| "QueryExecuted"
|
|
826
|
-
| "LoanContextNotFound"
|
|
827
|
-
| "LoanContextLoaded"
|
|
828
|
-
| "GuardrailBlockedBedrock"
|
|
829
|
-
| "PromptMatched";
|
|
830
|
-
details?: any;
|
|
831
|
-
/** @format date-time */
|
|
832
|
-
createdAt: string;
|
|
833
|
-
}
|
|
834
|
-
|
|
835
|
-
export interface AiAuditLogPaginated {
|
|
836
|
-
rows: AiAuditLog[];
|
|
837
|
-
pagination: Pagination;
|
|
838
|
-
/** @format int64 */
|
|
839
|
-
count: number;
|
|
840
|
-
}
|
|
841
|
-
|
|
842
|
-
export interface AiCanonicalField {
|
|
843
|
-
/** @format uuid */
|
|
844
|
-
id: string;
|
|
845
|
-
canonicalName: string;
|
|
846
|
-
displayName: string;
|
|
847
|
-
description: string;
|
|
848
|
-
allowedRoles: string[];
|
|
849
|
-
efPath?: string | null;
|
|
850
|
-
isPii: boolean;
|
|
851
|
-
isActive: boolean;
|
|
852
|
-
dataSource: string;
|
|
853
|
-
isDefault: boolean;
|
|
854
|
-
category?: string | null;
|
|
855
|
-
jsonPropertyName?: string | null;
|
|
856
|
-
textractKey?: string | null;
|
|
857
|
-
textractKeyAliases?: string | null;
|
|
858
|
-
hasAccountOverride: boolean;
|
|
859
|
-
/** @format date-time */
|
|
860
|
-
createdAt: string;
|
|
861
|
-
/** @format date-time */
|
|
862
|
-
updatedAt?: string | null;
|
|
863
|
-
}
|
|
864
|
-
|
|
865
|
-
export interface AiChat {
|
|
866
|
-
/** @format uuid */
|
|
867
|
-
conversationId: string;
|
|
868
|
-
/** @format uuid */
|
|
869
|
-
messageId: string;
|
|
870
|
-
response: AiChatBody;
|
|
871
|
-
metadata: AiChatMetadata;
|
|
872
|
-
}
|
|
873
|
-
|
|
874
|
-
export interface AiChatBody {
|
|
875
|
-
text: string;
|
|
876
|
-
data?: AiChatStructuredData | null;
|
|
877
|
-
suggestedFollowUps: string[];
|
|
878
|
-
}
|
|
879
|
-
|
|
880
|
-
export interface AiChatMessage {
|
|
881
|
-
/** @format uuid */
|
|
882
|
-
id: string;
|
|
883
|
-
userMessage: string;
|
|
884
|
-
assistantResponse: string;
|
|
885
|
-
intent?: AiIntent | null;
|
|
886
|
-
fieldsAccessed?: string[] | null;
|
|
887
|
-
/** @format date-time */
|
|
888
|
-
createdAt: string;
|
|
889
|
-
}
|
|
890
|
-
|
|
891
|
-
export interface AiChatMetadata {
|
|
892
|
-
intent:
|
|
893
|
-
| "Greeting"
|
|
894
|
-
| "Invalid"
|
|
895
|
-
| "Relevant"
|
|
896
|
-
| "LoanSpecific"
|
|
897
|
-
| "DocumentList"
|
|
898
|
-
| "GeneralKnowledge"
|
|
899
|
-
| "Blocked"
|
|
900
|
-
| "Action";
|
|
901
|
-
fieldsAccessed: string[];
|
|
902
|
-
/** @format int64 */
|
|
903
|
-
queryTimeMs: number;
|
|
904
|
-
/** @format int64 */
|
|
905
|
-
llmTimeMs: number;
|
|
906
|
-
wasBlocked: boolean;
|
|
907
|
-
blockedReason?: string | null;
|
|
908
|
-
}
|
|
909
|
-
|
|
910
|
-
export interface AiChatRequest {
|
|
911
|
-
/**
|
|
912
|
-
* @minLength 1
|
|
913
|
-
* @maxLength 2000
|
|
914
|
-
*/
|
|
915
|
-
message: string;
|
|
916
|
-
/** @format uuid */
|
|
917
|
-
conversationId?: string | null;
|
|
918
|
-
/** @format uuid */
|
|
919
|
-
loanId?: string | null;
|
|
920
|
-
documentIds?: string[] | null;
|
|
921
|
-
/** @format uuid */
|
|
922
|
-
promptId?: string | null;
|
|
923
|
-
}
|
|
924
|
-
|
|
925
|
-
export interface AiChatStructuredData {
|
|
926
|
-
type: "Table" | "DocumentAnalysis" | "DocumentList" | "GeneratedDocument";
|
|
927
|
-
displayHint?: AiDisplayHint | null;
|
|
928
|
-
detectedDocumentType?: string | null;
|
|
929
|
-
columns: string[];
|
|
930
|
-
rows: string[][];
|
|
931
|
-
/** @format uuid */
|
|
932
|
-
generatedDocumentId?: string | null;
|
|
933
|
-
generatedFileName?: string | null;
|
|
934
|
-
}
|
|
935
|
-
|
|
936
|
-
export interface AiConversationDetail {
|
|
937
|
-
/** @format uuid */
|
|
938
|
-
id: string;
|
|
939
|
-
/** @format date-time */
|
|
940
|
-
createdAt: string;
|
|
941
|
-
/** @format date-time */
|
|
942
|
-
updatedAt?: string | null;
|
|
943
|
-
messages: AiChatMessage[];
|
|
944
|
-
}
|
|
945
|
-
|
|
946
|
-
export interface AiConversationListItem {
|
|
947
|
-
/** @format uuid */
|
|
948
|
-
id: string;
|
|
949
|
-
preview: string;
|
|
950
|
-
/** @format int32 */
|
|
951
|
-
messageCount: number;
|
|
952
|
-
/** @format date-time */
|
|
953
|
-
createdAt: string;
|
|
954
|
-
/** @format date-time */
|
|
955
|
-
updatedAt?: string | null;
|
|
956
|
-
}
|
|
957
|
-
|
|
958
|
-
export interface AiConversationListItemPaginated {
|
|
959
|
-
rows: AiConversationListItem[];
|
|
960
|
-
pagination: Pagination;
|
|
961
|
-
/** @format int64 */
|
|
962
|
-
count: number;
|
|
963
|
-
}
|
|
964
|
-
|
|
965
|
-
export interface AiGuardrail {
|
|
966
|
-
/** @format uuid */
|
|
967
|
-
id: string;
|
|
968
|
-
name: string;
|
|
969
|
-
category: "ContentSafety" | "PromptInjection" | "Privacy" | "Legal";
|
|
970
|
-
description?: string | null;
|
|
971
|
-
keywords: string[];
|
|
972
|
-
responseTemplate: string;
|
|
973
|
-
isDefault: boolean;
|
|
974
|
-
isEnabled: boolean;
|
|
975
|
-
hasAccountOverride: boolean;
|
|
976
|
-
/** @format date-time */
|
|
977
|
-
createdAt: string;
|
|
978
|
-
/** @format date-time */
|
|
979
|
-
updatedAt?: string | null;
|
|
980
|
-
}
|
|
981
|
-
|
|
982
|
-
export interface AiPrompt {
|
|
983
|
-
/** @format uuid */
|
|
984
|
-
id: string;
|
|
985
|
-
title: string;
|
|
986
|
-
icon: string;
|
|
987
|
-
slug: string;
|
|
988
|
-
description: string;
|
|
989
|
-
documentTypes: string[];
|
|
990
|
-
applicableGuidelines: string[];
|
|
991
|
-
allowedRoles: string[];
|
|
992
|
-
systemPrompt: string;
|
|
993
|
-
userPromptTemplate: string;
|
|
994
|
-
followUpPrompts: string[];
|
|
995
|
-
/** @format int32 */
|
|
996
|
-
sortOrder: number;
|
|
997
|
-
isDefault: boolean;
|
|
998
|
-
/** @format uuid */
|
|
999
|
-
accountId?: string | null;
|
|
1000
|
-
isActive: boolean;
|
|
1001
|
-
category?: AiPromptCategory | null;
|
|
1002
|
-
queryTemplateName?: AiQueryTemplateName | null;
|
|
1003
|
-
displayHint?: AiDisplayHint | null;
|
|
1004
|
-
bedrockModelId?: string | null;
|
|
1005
|
-
requiredDataSources?: string[] | null;
|
|
1006
|
-
outputType?: AiOutputType | null;
|
|
1007
|
-
hasAccountOverride: boolean;
|
|
1008
|
-
/** @format date-time */
|
|
1009
|
-
createdAt: string;
|
|
1010
|
-
/** @format date-time */
|
|
1011
|
-
updatedAt?: string | null;
|
|
1012
|
-
}
|
|
1013
|
-
|
|
1014
|
-
export interface AiPromptSummary {
|
|
1015
|
-
/** @format uuid */
|
|
1016
|
-
id: string;
|
|
1017
|
-
title: string;
|
|
1018
|
-
icon: string;
|
|
1019
|
-
slug: string;
|
|
1020
|
-
description: string;
|
|
1021
|
-
documentTypes: string[];
|
|
1022
|
-
applicableGuidelines: string[];
|
|
1023
|
-
followUpPrompts: string[];
|
|
1024
|
-
/** @format int32 */
|
|
1025
|
-
sortOrder: number;
|
|
1026
|
-
category?: AiPromptCategory | null;
|
|
1027
|
-
queryTemplateName?: AiQueryTemplateName | null;
|
|
1028
|
-
displayHint?: AiDisplayHint | null;
|
|
1029
|
-
bedrockModelId?: string | null;
|
|
1030
|
-
requiredDataSources?: string[] | null;
|
|
1031
|
-
outputType?: AiOutputType | null;
|
|
1032
|
-
}
|
|
1033
|
-
|
|
1034
|
-
export interface AiUrlSource {
|
|
1035
|
-
/** @format uuid */
|
|
1036
|
-
id: string;
|
|
1037
|
-
name: string;
|
|
1038
|
-
url: string;
|
|
1039
|
-
description?: string | null;
|
|
1040
|
-
category: "Regulatory" | "Guidelines" | "MarketData" | "Custom";
|
|
1041
|
-
scope: "FullDomain" | "SpecificPath";
|
|
1042
|
-
isActive: boolean;
|
|
1043
|
-
/** @format date-time */
|
|
1044
|
-
createdAt: string;
|
|
1045
|
-
/** @format date-time */
|
|
1046
|
-
updatedAt?: string | null;
|
|
1047
|
-
}
|
|
1048
|
-
|
|
1049
734
|
export interface AllowImpersonationRequest {
|
|
1050
735
|
/**
|
|
1051
736
|
* @format email
|
|
@@ -1163,7 +848,9 @@ export interface AuditLogEntry {
|
|
|
1163
848
|
| "Modified"
|
|
1164
849
|
| "SoftDeleted"
|
|
1165
850
|
| "HardDeleted"
|
|
1166
|
-
| "Restored"
|
|
851
|
+
| "Restored"
|
|
852
|
+
| "Deactivated"
|
|
853
|
+
| "Reactivated";
|
|
1167
854
|
/** @format uuid */
|
|
1168
855
|
entityId: string;
|
|
1169
856
|
performedBy?: AuditLogUser | null;
|
|
@@ -1506,87 +1193,6 @@ export interface CreateAccountRequest {
|
|
|
1506
1193
|
billingSettings: AccountBillingRequest;
|
|
1507
1194
|
}
|
|
1508
1195
|
|
|
1509
|
-
export interface CreateAiCanonicalFieldRequest {
|
|
1510
|
-
/**
|
|
1511
|
-
* @minLength 1
|
|
1512
|
-
* @maxLength 200
|
|
1513
|
-
*/
|
|
1514
|
-
displayName: string;
|
|
1515
|
-
/** @minLength 1 */
|
|
1516
|
-
description: string;
|
|
1517
|
-
/** @minItems 1 */
|
|
1518
|
-
allowedRoles: string[];
|
|
1519
|
-
isPii: boolean;
|
|
1520
|
-
/** @minLength 1 */
|
|
1521
|
-
dataSource: string;
|
|
1522
|
-
category?: string | null;
|
|
1523
|
-
}
|
|
1524
|
-
|
|
1525
|
-
export interface CreateAiGuardrailRequest {
|
|
1526
|
-
/**
|
|
1527
|
-
* @minLength 1
|
|
1528
|
-
* @maxLength 200
|
|
1529
|
-
*/
|
|
1530
|
-
name: string;
|
|
1531
|
-
category: "ContentSafety" | "PromptInjection" | "Privacy" | "Legal";
|
|
1532
|
-
description?: string | null;
|
|
1533
|
-
/** @minItems 1 */
|
|
1534
|
-
keywords: string[];
|
|
1535
|
-
/** @minLength 1 */
|
|
1536
|
-
responseTemplate: string;
|
|
1537
|
-
}
|
|
1538
|
-
|
|
1539
|
-
export interface CreateAiPromptRequest {
|
|
1540
|
-
/**
|
|
1541
|
-
* @minLength 1
|
|
1542
|
-
* @maxLength 200
|
|
1543
|
-
*/
|
|
1544
|
-
title: string;
|
|
1545
|
-
icon: string;
|
|
1546
|
-
/**
|
|
1547
|
-
* @minLength 1
|
|
1548
|
-
* @maxLength 100
|
|
1549
|
-
*/
|
|
1550
|
-
slug: string;
|
|
1551
|
-
/**
|
|
1552
|
-
* @minLength 1
|
|
1553
|
-
* @maxLength 500
|
|
1554
|
-
*/
|
|
1555
|
-
description: string;
|
|
1556
|
-
documentTypes: string[];
|
|
1557
|
-
applicableGuidelines: string[];
|
|
1558
|
-
allowedRoles: string[];
|
|
1559
|
-
/** @minLength 1 */
|
|
1560
|
-
systemPrompt: string;
|
|
1561
|
-
/** @minLength 1 */
|
|
1562
|
-
userPromptTemplate: string;
|
|
1563
|
-
followUpPrompts: string[];
|
|
1564
|
-
/** @format int32 */
|
|
1565
|
-
sortOrder: number;
|
|
1566
|
-
category?: AiPromptCategory | null;
|
|
1567
|
-
queryTemplateName?: AiQueryTemplateName | null;
|
|
1568
|
-
displayHint?: AiDisplayHint | null;
|
|
1569
|
-
bedrockModelId?: string | null;
|
|
1570
|
-
requiredDataSources?: string[] | null;
|
|
1571
|
-
outputType?: AiOutputType | null;
|
|
1572
|
-
}
|
|
1573
|
-
|
|
1574
|
-
export interface CreateAiUrlSourceRequest {
|
|
1575
|
-
/**
|
|
1576
|
-
* @minLength 1
|
|
1577
|
-
* @maxLength 200
|
|
1578
|
-
*/
|
|
1579
|
-
name: string;
|
|
1580
|
-
/**
|
|
1581
|
-
* @minLength 1
|
|
1582
|
-
* @maxLength 2048
|
|
1583
|
-
*/
|
|
1584
|
-
url: string;
|
|
1585
|
-
description?: string | null;
|
|
1586
|
-
category: "Regulatory" | "Guidelines" | "MarketData" | "Custom";
|
|
1587
|
-
scope: "FullDomain" | "SpecificPath";
|
|
1588
|
-
}
|
|
1589
|
-
|
|
1590
1196
|
export interface CreateBranchRequest {
|
|
1591
1197
|
/**
|
|
1592
1198
|
* @minLength 1
|
|
@@ -1925,10 +1531,6 @@ export interface CustomFieldValue {
|
|
|
1925
1531
|
| "MultiSelect";
|
|
1926
1532
|
}
|
|
1927
1533
|
|
|
1928
|
-
export interface CustomLoanData {
|
|
1929
|
-
eConsentInformation?: EConsentInformation | null;
|
|
1930
|
-
}
|
|
1931
|
-
|
|
1932
1534
|
export interface DetailedUser {
|
|
1933
1535
|
/** @format date-time */
|
|
1934
1536
|
createdAt: string;
|
|
@@ -2228,14 +1830,6 @@ export interface DraftRequest {
|
|
|
2228
1830
|
isCoBorrower: boolean;
|
|
2229
1831
|
}
|
|
2230
1832
|
|
|
2231
|
-
export interface EConsentInformation {
|
|
2232
|
-
status: string;
|
|
2233
|
-
/** @format date-time */
|
|
2234
|
-
acceptedDate?: string | null;
|
|
2235
|
-
ipAddress?: string | null;
|
|
2236
|
-
source?: string | null;
|
|
2237
|
-
}
|
|
2238
|
-
|
|
2239
1833
|
export interface EnabledServices {
|
|
2240
1834
|
/** @format date-time */
|
|
2241
1835
|
createdAt: string;
|
|
@@ -2303,6 +1897,8 @@ export interface EncompassCredentialsDetail {
|
|
|
2303
1897
|
defaultLoanOfficerUserName?: string | null;
|
|
2304
1898
|
clearStateIfUnlicensed: boolean;
|
|
2305
1899
|
baseUrl?: string | null;
|
|
1900
|
+
encompassEnvironment: "Production" | "UAT";
|
|
1901
|
+
consumerConnectWidgetHost?: string | null;
|
|
2306
1902
|
signingMethod: "ConsumerConnect" | "POSF";
|
|
2307
1903
|
subscriptionId?: string | null;
|
|
2308
1904
|
environment?: string | null;
|
|
@@ -2319,6 +1915,8 @@ export interface EncompassCredentialsRequest {
|
|
|
2319
1915
|
defaultLoanOfficerUserName?: string | null;
|
|
2320
1916
|
clearStateIfUnlicensed: boolean;
|
|
2321
1917
|
baseUrl?: string | null;
|
|
1918
|
+
encompassEnvironment: "Production" | "UAT";
|
|
1919
|
+
consumerConnectWidgetHost?: string | null;
|
|
2322
1920
|
signingMethod: "ConsumerConnect" | "POSF";
|
|
2323
1921
|
subscriptionId?: string | null;
|
|
2324
1922
|
environment?: string | null;
|
|
@@ -2358,6 +1956,10 @@ export interface EncompassFieldListItem {
|
|
|
2358
1956
|
inUse: boolean;
|
|
2359
1957
|
}
|
|
2360
1958
|
|
|
1959
|
+
export interface EncompassIntegrationSettings {
|
|
1960
|
+
consumerConnectWidgetHost?: string | null;
|
|
1961
|
+
}
|
|
1962
|
+
|
|
2361
1963
|
export interface EncompassLogSearchCriteria {
|
|
2362
1964
|
searchText?: string | null;
|
|
2363
1965
|
operationTypes?: EncompassLogOperationType[] | null;
|
|
@@ -2508,11 +2110,6 @@ export interface FileWithBytes {
|
|
|
2508
2110
|
extension?: string | null;
|
|
2509
2111
|
}
|
|
2510
2112
|
|
|
2511
|
-
export interface ForcePasswordReset {
|
|
2512
|
-
forcePasswordReset: boolean;
|
|
2513
|
-
email: string;
|
|
2514
|
-
}
|
|
2515
|
-
|
|
2516
2113
|
export interface Form {
|
|
2517
2114
|
/** @format date-time */
|
|
2518
2115
|
createdAt: string;
|
|
@@ -2716,19 +2313,6 @@ export interface GenerateDocumentRequest {
|
|
|
2716
2313
|
recipients: string[];
|
|
2717
2314
|
}
|
|
2718
2315
|
|
|
2719
|
-
export interface GenerateSystemPrompt {
|
|
2720
|
-
systemPrompt: string;
|
|
2721
|
-
}
|
|
2722
|
-
|
|
2723
|
-
export interface GenerateSystemPromptRequest {
|
|
2724
|
-
/**
|
|
2725
|
-
* @minLength 1
|
|
2726
|
-
* @maxLength 2000
|
|
2727
|
-
*/
|
|
2728
|
-
description: string;
|
|
2729
|
-
category: "DocumentAnalysis" | "DataQuery" | "General" | "Action";
|
|
2730
|
-
}
|
|
2731
|
-
|
|
2732
2316
|
export interface GetApplications {
|
|
2733
2317
|
applications: ApplicationRowData[];
|
|
2734
2318
|
}
|
|
@@ -2928,6 +2512,10 @@ export interface ImportUserLoanTaskRequest {
|
|
|
2928
2512
|
userID: string;
|
|
2929
2513
|
}
|
|
2930
2514
|
|
|
2515
|
+
export interface IntegrationSettings {
|
|
2516
|
+
encompass?: EncompassIntegrationSettings | null;
|
|
2517
|
+
}
|
|
2518
|
+
|
|
2931
2519
|
export interface Invite {
|
|
2932
2520
|
/** @format uuid */
|
|
2933
2521
|
id: string;
|
|
@@ -6274,14 +5862,6 @@ export interface SocialSurveyRecord {
|
|
|
6274
5862
|
reviewCompletedTimeStamp?: string | null;
|
|
6275
5863
|
}
|
|
6276
5864
|
|
|
6277
|
-
export interface SupportedModel {
|
|
6278
|
-
modelId: string;
|
|
6279
|
-
displayName: string;
|
|
6280
|
-
provider: string;
|
|
6281
|
-
description?: string | null;
|
|
6282
|
-
isDefault: boolean;
|
|
6283
|
-
}
|
|
6284
|
-
|
|
6285
5865
|
export interface SurveyEmailRequest {
|
|
6286
5866
|
/** @minLength 1 */
|
|
6287
5867
|
loanOfficerEmailAddress: string;
|
|
@@ -6547,97 +6127,24 @@ export interface UpdateAccountRequest {
|
|
|
6547
6127
|
settings: AccountSettingsRequest;
|
|
6548
6128
|
}
|
|
6549
6129
|
|
|
6550
|
-
export interface
|
|
6130
|
+
export interface UpdateCustomFieldDefinitionRequest {
|
|
6131
|
+
isRequired: boolean;
|
|
6551
6132
|
/**
|
|
6552
|
-
* @
|
|
6553
|
-
* @
|
|
6133
|
+
* @format int32
|
|
6134
|
+
* @min 0
|
|
6554
6135
|
*/
|
|
6555
|
-
|
|
6556
|
-
/** @
|
|
6557
|
-
|
|
6558
|
-
/** @
|
|
6559
|
-
|
|
6560
|
-
|
|
6561
|
-
|
|
6562
|
-
|
|
6563
|
-
|
|
6136
|
+
displayOrder: number;
|
|
6137
|
+
/** @format int32 */
|
|
6138
|
+
minLength?: number | null;
|
|
6139
|
+
/** @format int32 */
|
|
6140
|
+
maxLength?: number | null;
|
|
6141
|
+
/** @format double */
|
|
6142
|
+
minValue?: number | null;
|
|
6143
|
+
/** @format double */
|
|
6144
|
+
maxValue?: number | null;
|
|
6564
6145
|
/**
|
|
6565
6146
|
* @minLength 1
|
|
6566
|
-
* @maxLength
|
|
6567
|
-
*/
|
|
6568
|
-
name: string;
|
|
6569
|
-
category: "ContentSafety" | "PromptInjection" | "Privacy" | "Legal";
|
|
6570
|
-
description?: string | null;
|
|
6571
|
-
/** @minItems 1 */
|
|
6572
|
-
keywords: string[];
|
|
6573
|
-
/** @minLength 1 */
|
|
6574
|
-
responseTemplate: string;
|
|
6575
|
-
}
|
|
6576
|
-
|
|
6577
|
-
export interface UpdateAiPromptRequest {
|
|
6578
|
-
/**
|
|
6579
|
-
* @minLength 1
|
|
6580
|
-
* @maxLength 200
|
|
6581
|
-
*/
|
|
6582
|
-
title: string;
|
|
6583
|
-
icon: string;
|
|
6584
|
-
/**
|
|
6585
|
-
* @minLength 1
|
|
6586
|
-
* @maxLength 500
|
|
6587
|
-
*/
|
|
6588
|
-
description: string;
|
|
6589
|
-
documentTypes: string[];
|
|
6590
|
-
applicableGuidelines: string[];
|
|
6591
|
-
allowedRoles: string[];
|
|
6592
|
-
/** @minLength 1 */
|
|
6593
|
-
systemPrompt: string;
|
|
6594
|
-
/** @minLength 1 */
|
|
6595
|
-
userPromptTemplate: string;
|
|
6596
|
-
followUpPrompts: string[];
|
|
6597
|
-
/** @format int32 */
|
|
6598
|
-
sortOrder: number;
|
|
6599
|
-
category?: AiPromptCategory | null;
|
|
6600
|
-
queryTemplateName?: AiQueryTemplateName | null;
|
|
6601
|
-
displayHint?: AiDisplayHint | null;
|
|
6602
|
-
bedrockModelId?: string | null;
|
|
6603
|
-
requiredDataSources?: string[] | null;
|
|
6604
|
-
outputType?: AiOutputType | null;
|
|
6605
|
-
}
|
|
6606
|
-
|
|
6607
|
-
export interface UpdateAiUrlSourceRequest {
|
|
6608
|
-
/**
|
|
6609
|
-
* @minLength 1
|
|
6610
|
-
* @maxLength 200
|
|
6611
|
-
*/
|
|
6612
|
-
name: string;
|
|
6613
|
-
/**
|
|
6614
|
-
* @minLength 1
|
|
6615
|
-
* @maxLength 2048
|
|
6616
|
-
*/
|
|
6617
|
-
url: string;
|
|
6618
|
-
description?: string | null;
|
|
6619
|
-
category: "Regulatory" | "Guidelines" | "MarketData" | "Custom";
|
|
6620
|
-
scope: "FullDomain" | "SpecificPath";
|
|
6621
|
-
}
|
|
6622
|
-
|
|
6623
|
-
export interface UpdateCustomFieldDefinitionRequest {
|
|
6624
|
-
isRequired: boolean;
|
|
6625
|
-
/**
|
|
6626
|
-
* @format int32
|
|
6627
|
-
* @min 0
|
|
6628
|
-
*/
|
|
6629
|
-
displayOrder: number;
|
|
6630
|
-
/** @format int32 */
|
|
6631
|
-
minLength?: number | null;
|
|
6632
|
-
/** @format int32 */
|
|
6633
|
-
maxLength?: number | null;
|
|
6634
|
-
/** @format double */
|
|
6635
|
-
minValue?: number | null;
|
|
6636
|
-
/** @format double */
|
|
6637
|
-
maxValue?: number | null;
|
|
6638
|
-
/**
|
|
6639
|
-
* @minLength 1
|
|
6640
|
-
* @maxLength 250
|
|
6147
|
+
* @maxLength 250
|
|
6641
6148
|
*/
|
|
6642
6149
|
name: string;
|
|
6643
6150
|
defaultValue?: string | null;
|
|
@@ -7069,7 +6576,6 @@ export interface UserLoan {
|
|
|
7069
6576
|
borrowerPair?: number | null;
|
|
7070
6577
|
/** @format int32 */
|
|
7071
6578
|
borrowerPosition?: number | null;
|
|
7072
|
-
customLoanData?: CustomLoanData | null;
|
|
7073
6579
|
consents: UserLoanConsent[];
|
|
7074
6580
|
}
|
|
7075
6581
|
|
|
@@ -7447,739 +6953,74 @@ export class HttpClient<SecurityDataType = unknown> {
|
|
|
7447
6953
|
...requestParams,
|
|
7448
6954
|
headers: {
|
|
7449
6955
|
...(requestParams.headers || {}),
|
|
7450
|
-
...(type ? { "Content-Type": type } : {}),
|
|
7451
|
-
},
|
|
7452
|
-
params: query,
|
|
7453
|
-
responseType: responseFormat,
|
|
7454
|
-
data: body,
|
|
7455
|
-
url: path,
|
|
7456
|
-
});
|
|
7457
|
-
};
|
|
7458
|
-
}
|
|
7459
|
-
|
|
7460
|
-
/**
|
|
7461
|
-
* @title The Big POS API
|
|
7462
|
-
* @version v2.40.3
|
|
7463
|
-
* @termsOfService https://www.thebigpos.com/terms-of-use/
|
|
7464
|
-
* @contact Mortgage Automation Technologies <support@thebigpos.com> (https://www.thebigpos.com/terms-of-use/)
|
|
7465
|
-
*/
|
|
7466
|
-
export class Api<
|
|
7467
|
-
SecurityDataType extends unknown,
|
|
7468
|
-
> extends HttpClient<SecurityDataType> {
|
|
7469
|
-
/**
|
|
7470
|
-
* No description
|
|
7471
|
-
*
|
|
7472
|
-
* @tags Saml
|
|
7473
|
-
* @name PostRoot
|
|
7474
|
-
* @request POST:/
|
|
7475
|
-
* @secure
|
|
7476
|
-
* @response `200` `void` Success
|
|
7477
|
-
*/
|
|
7478
|
-
postRoot = (params: RequestParams = {}) =>
|
|
7479
|
-
this.request<void, any>({
|
|
7480
|
-
path: `/`,
|
|
7481
|
-
method: "POST",
|
|
7482
|
-
secure: true,
|
|
7483
|
-
...params,
|
|
7484
|
-
});
|
|
7485
|
-
|
|
7486
|
-
/**
|
|
7487
|
-
* No description
|
|
7488
|
-
*
|
|
7489
|
-
* @tags TheBigPOS
|
|
7490
|
-
* @name GetRoot
|
|
7491
|
-
* @request GET:/
|
|
7492
|
-
* @secure
|
|
7493
|
-
* @response `200` `string` Success
|
|
7494
|
-
*/
|
|
7495
|
-
getRoot = (params: RequestParams = {}) =>
|
|
7496
|
-
this.request<string, any>({
|
|
7497
|
-
path: `/`,
|
|
7498
|
-
method: "GET",
|
|
7499
|
-
secure: true,
|
|
7500
|
-
...params,
|
|
7501
|
-
});
|
|
7502
|
-
|
|
7503
|
-
api = {
|
|
7504
|
-
/**
|
|
7505
|
-
* No description
|
|
7506
|
-
*
|
|
7507
|
-
* @tags Account
|
|
7508
|
-
* @name GetMyAccount
|
|
7509
|
-
* @summary Get
|
|
7510
|
-
* @request GET:/api/account
|
|
7511
|
-
* @secure
|
|
7512
|
-
* @response `200` `Account` Success
|
|
7513
|
-
* @response `404` `ProblemDetails` Not Found
|
|
7514
|
-
*/
|
|
7515
|
-
getMyAccount: (params: RequestParams = {}) =>
|
|
7516
|
-
this.request<Account, ProblemDetails>({
|
|
7517
|
-
path: `/api/account`,
|
|
7518
|
-
method: "GET",
|
|
7519
|
-
secure: true,
|
|
7520
|
-
format: "json",
|
|
7521
|
-
...params,
|
|
7522
|
-
}),
|
|
7523
|
-
|
|
7524
|
-
/**
|
|
7525
|
-
* No description
|
|
7526
|
-
*
|
|
7527
|
-
* @tags Account
|
|
7528
|
-
* @name ReplaceMyAccount
|
|
7529
|
-
* @summary Replace
|
|
7530
|
-
* @request PUT:/api/account
|
|
7531
|
-
* @secure
|
|
7532
|
-
* @response `200` `Account` Success
|
|
7533
|
-
* @response `404` `ProblemDetails` Not Found
|
|
7534
|
-
* @response `422` `ProblemDetails` Client Error
|
|
7535
|
-
*/
|
|
7536
|
-
replaceMyAccount: (
|
|
7537
|
-
data: UpdateAccountRequest,
|
|
7538
|
-
params: RequestParams = {},
|
|
7539
|
-
) =>
|
|
7540
|
-
this.request<Account, ProblemDetails>({
|
|
7541
|
-
path: `/api/account`,
|
|
7542
|
-
method: "PUT",
|
|
7543
|
-
body: data,
|
|
7544
|
-
secure: true,
|
|
7545
|
-
type: ContentType.Json,
|
|
7546
|
-
format: "json",
|
|
7547
|
-
...params,
|
|
7548
|
-
}),
|
|
7549
|
-
|
|
7550
|
-
/**
|
|
7551
|
-
* No description
|
|
7552
|
-
*
|
|
7553
|
-
* @tags Account
|
|
7554
|
-
* @name GetSiteConfigurationByAccount
|
|
7555
|
-
* @summary Get Site Configuration
|
|
7556
|
-
* @request GET:/api/account/site-configurations
|
|
7557
|
-
* @secure
|
|
7558
|
-
* @response `200` `SiteConfiguration` Success
|
|
7559
|
-
*/
|
|
7560
|
-
getSiteConfigurationByAccount: (params: RequestParams = {}) =>
|
|
7561
|
-
this.request<SiteConfiguration, any>({
|
|
7562
|
-
path: `/api/account/site-configurations`,
|
|
7563
|
-
method: "GET",
|
|
7564
|
-
secure: true,
|
|
7565
|
-
format: "json",
|
|
7566
|
-
...params,
|
|
7567
|
-
}),
|
|
7568
|
-
|
|
7569
|
-
/**
|
|
7570
|
-
* No description
|
|
7571
|
-
*
|
|
7572
|
-
* @tags Account
|
|
7573
|
-
* @name UpdateSiteConfigurationForAccount
|
|
7574
|
-
* @summary Update Site Configuration
|
|
7575
|
-
* @request PUT:/api/account/site-configurations
|
|
7576
|
-
* @secure
|
|
7577
|
-
* @response `200` `SiteConfiguration` Success
|
|
7578
|
-
* @response `422` `UnprocessableEntity` Client Error
|
|
7579
|
-
*/
|
|
7580
|
-
updateSiteConfigurationForAccount: (
|
|
7581
|
-
data: SiteConfiguration,
|
|
7582
|
-
params: RequestParams = {},
|
|
7583
|
-
) =>
|
|
7584
|
-
this.request<SiteConfiguration, UnprocessableEntity>({
|
|
7585
|
-
path: `/api/account/site-configurations`,
|
|
7586
|
-
method: "PUT",
|
|
7587
|
-
body: data,
|
|
7588
|
-
secure: true,
|
|
7589
|
-
type: ContentType.Json,
|
|
7590
|
-
format: "json",
|
|
7591
|
-
...params,
|
|
7592
|
-
}),
|
|
7593
|
-
|
|
7594
|
-
/**
|
|
7595
|
-
* No description
|
|
7596
|
-
*
|
|
7597
|
-
* @tags Accounts
|
|
7598
|
-
* @name GetAccounts
|
|
7599
|
-
* @summary Get All
|
|
7600
|
-
* @request GET:/api/accounts
|
|
7601
|
-
* @secure
|
|
7602
|
-
* @response `200` `(Account)[]` Success
|
|
7603
|
-
*/
|
|
7604
|
-
getAccounts: (params: RequestParams = {}) =>
|
|
7605
|
-
this.request<Account[], any>({
|
|
7606
|
-
path: `/api/accounts`,
|
|
7607
|
-
method: "GET",
|
|
7608
|
-
secure: true,
|
|
7609
|
-
format: "json",
|
|
7610
|
-
...params,
|
|
7611
|
-
}),
|
|
7612
|
-
|
|
7613
|
-
/**
|
|
7614
|
-
* No description
|
|
7615
|
-
*
|
|
7616
|
-
* @tags Accounts
|
|
7617
|
-
* @name CreateAccount
|
|
7618
|
-
* @summary Create
|
|
7619
|
-
* @request POST:/api/accounts
|
|
7620
|
-
* @secure
|
|
7621
|
-
* @response `201` `Account` Created
|
|
7622
|
-
* @response `422` `ProblemDetails` Client Error
|
|
7623
|
-
*/
|
|
7624
|
-
createAccount: (data: CreateAccountRequest, params: RequestParams = {}) =>
|
|
7625
|
-
this.request<Account, ProblemDetails>({
|
|
7626
|
-
path: `/api/accounts`,
|
|
7627
|
-
method: "POST",
|
|
7628
|
-
body: data,
|
|
7629
|
-
secure: true,
|
|
7630
|
-
type: ContentType.Json,
|
|
7631
|
-
format: "json",
|
|
7632
|
-
...params,
|
|
7633
|
-
}),
|
|
7634
|
-
|
|
7635
|
-
/**
|
|
7636
|
-
* No description
|
|
7637
|
-
*
|
|
7638
|
-
* @tags Accounts
|
|
7639
|
-
* @name GetAccount
|
|
7640
|
-
* @summary Get by ID
|
|
7641
|
-
* @request GET:/api/accounts/{id}
|
|
7642
|
-
* @secure
|
|
7643
|
-
* @response `201` `Account` Created
|
|
7644
|
-
* @response `422` `ProblemDetails` Client Error
|
|
7645
|
-
*/
|
|
7646
|
-
getAccount: (id: string, params: RequestParams = {}) =>
|
|
7647
|
-
this.request<Account, ProblemDetails>({
|
|
7648
|
-
path: `/api/accounts/${id}`,
|
|
7649
|
-
method: "GET",
|
|
7650
|
-
secure: true,
|
|
7651
|
-
format: "json",
|
|
7652
|
-
...params,
|
|
7653
|
-
}),
|
|
7654
|
-
|
|
7655
|
-
/**
|
|
7656
|
-
* No description
|
|
7657
|
-
*
|
|
7658
|
-
* @tags Accounts
|
|
7659
|
-
* @name DeleteAccount
|
|
7660
|
-
* @summary Delete
|
|
7661
|
-
* @request DELETE:/api/accounts/{id}
|
|
7662
|
-
* @secure
|
|
7663
|
-
* @response `204` `Account` No Content
|
|
7664
|
-
* @response `404` `ProblemDetails` Not Found
|
|
7665
|
-
* @response `422` `ProblemDetails` Client Error
|
|
7666
|
-
*/
|
|
7667
|
-
deleteAccount: (
|
|
7668
|
-
id: string,
|
|
7669
|
-
query?: {
|
|
7670
|
-
/** @default false */
|
|
7671
|
-
hardDelete?: boolean;
|
|
7672
|
-
},
|
|
7673
|
-
params: RequestParams = {},
|
|
7674
|
-
) =>
|
|
7675
|
-
this.request<Account, ProblemDetails>({
|
|
7676
|
-
path: `/api/accounts/${id}`,
|
|
7677
|
-
method: "DELETE",
|
|
7678
|
-
query: query,
|
|
7679
|
-
secure: true,
|
|
7680
|
-
format: "json",
|
|
7681
|
-
...params,
|
|
7682
|
-
}),
|
|
7683
|
-
|
|
7684
|
-
/**
|
|
7685
|
-
* No description
|
|
7686
|
-
*
|
|
7687
|
-
* @tags Accounts
|
|
7688
|
-
* @name UpdateAccountBilling
|
|
7689
|
-
* @summary Update billing configuration
|
|
7690
|
-
* @request PUT:/api/accounts/{id}/billing
|
|
7691
|
-
* @secure
|
|
7692
|
-
* @response `200` `AccountBilling` Success
|
|
7693
|
-
* @response `404` `ProblemDetails` Not Found
|
|
7694
|
-
* @response `422` `ProblemDetails` Client Error
|
|
7695
|
-
*/
|
|
7696
|
-
updateAccountBilling: (
|
|
7697
|
-
id: string,
|
|
7698
|
-
data: AccountBillingRequest,
|
|
7699
|
-
params: RequestParams = {},
|
|
7700
|
-
) =>
|
|
7701
|
-
this.request<AccountBilling, ProblemDetails>({
|
|
7702
|
-
path: `/api/accounts/${id}/billing`,
|
|
7703
|
-
method: "PUT",
|
|
7704
|
-
body: data,
|
|
7705
|
-
secure: true,
|
|
7706
|
-
type: ContentType.Json,
|
|
7707
|
-
format: "json",
|
|
7708
|
-
...params,
|
|
7709
|
-
}),
|
|
7710
|
-
|
|
7711
|
-
/**
|
|
7712
|
-
* No description
|
|
7713
|
-
*
|
|
7714
|
-
* @tags AiAdmin
|
|
7715
|
-
* @name GetAiAuditLogs
|
|
7716
|
-
* @summary Get paginated audit logs
|
|
7717
|
-
* @request GET:/api/ai/admin/audit-logs
|
|
7718
|
-
* @secure
|
|
7719
|
-
* @response `200` `AiAuditLogPaginated` Success
|
|
7720
|
-
*/
|
|
7721
|
-
getAiAuditLogs: (
|
|
7722
|
-
query?: {
|
|
7723
|
-
eventType?: AiAuditEventType;
|
|
7724
|
-
/** @format date-time */
|
|
7725
|
-
startDate?: string;
|
|
7726
|
-
/** @format date-time */
|
|
7727
|
-
endDate?: string;
|
|
7728
|
-
/** @format int32 */
|
|
7729
|
-
pageSize?: number;
|
|
7730
|
-
/** @format int32 */
|
|
7731
|
-
pageNumber?: number;
|
|
7732
|
-
sortBy?: string;
|
|
7733
|
-
sortDirection?: string;
|
|
7734
|
-
},
|
|
7735
|
-
params: RequestParams = {},
|
|
7736
|
-
) =>
|
|
7737
|
-
this.request<AiAuditLogPaginated, any>({
|
|
7738
|
-
path: `/api/ai/admin/audit-logs`,
|
|
7739
|
-
method: "GET",
|
|
7740
|
-
query: query,
|
|
7741
|
-
secure: true,
|
|
7742
|
-
format: "json",
|
|
7743
|
-
...params,
|
|
7744
|
-
}),
|
|
7745
|
-
|
|
7746
|
-
/**
|
|
7747
|
-
* No description
|
|
7748
|
-
*
|
|
7749
|
-
* @tags AiAdmin
|
|
7750
|
-
* @name GetAiAdminStats
|
|
7751
|
-
* @summary Get AI admin dashboard stats
|
|
7752
|
-
* @request GET:/api/ai/admin/stats
|
|
7753
|
-
* @secure
|
|
7754
|
-
* @response `200` `AiAdminStats` Success
|
|
7755
|
-
*/
|
|
7756
|
-
getAiAdminStats: (
|
|
7757
|
-
query?: {
|
|
7758
|
-
/** @format date-time */
|
|
7759
|
-
startDate?: string;
|
|
7760
|
-
/** @format date-time */
|
|
7761
|
-
endDate?: string;
|
|
7762
|
-
},
|
|
7763
|
-
params: RequestParams = {},
|
|
7764
|
-
) =>
|
|
7765
|
-
this.request<AiAdminStats, any>({
|
|
7766
|
-
path: `/api/ai/admin/stats`,
|
|
7767
|
-
method: "GET",
|
|
7768
|
-
query: query,
|
|
7769
|
-
secure: true,
|
|
7770
|
-
format: "json",
|
|
7771
|
-
...params,
|
|
7772
|
-
}),
|
|
7773
|
-
|
|
7774
|
-
/**
|
|
7775
|
-
* No description
|
|
7776
|
-
*
|
|
7777
|
-
* @tags AiAdminPrompt
|
|
7778
|
-
* @name GetAiPrompts
|
|
7779
|
-
* @summary Get all prompts
|
|
7780
|
-
* @request GET:/api/ai/admin/prompts
|
|
7781
|
-
* @secure
|
|
7782
|
-
* @response `200` `(AiPrompt)[]` Success
|
|
7783
|
-
*/
|
|
7784
|
-
getAiPrompts: (params: RequestParams = {}) =>
|
|
7785
|
-
this.request<AiPrompt[], any>({
|
|
7786
|
-
path: `/api/ai/admin/prompts`,
|
|
7787
|
-
method: "GET",
|
|
7788
|
-
secure: true,
|
|
7789
|
-
format: "json",
|
|
7790
|
-
...params,
|
|
7791
|
-
}),
|
|
7792
|
-
|
|
7793
|
-
/**
|
|
7794
|
-
* No description
|
|
7795
|
-
*
|
|
7796
|
-
* @tags AiAdminPrompt
|
|
7797
|
-
* @name CreateAiPrompt
|
|
7798
|
-
* @summary Create custom prompt
|
|
7799
|
-
* @request POST:/api/ai/admin/prompts
|
|
7800
|
-
* @secure
|
|
7801
|
-
* @response `201` `AiPrompt` Created
|
|
7802
|
-
* @response `400` `ProblemDetails` Bad Request
|
|
7803
|
-
*/
|
|
7804
|
-
createAiPrompt: (data: CreateAiPromptRequest, params: RequestParams = {}) =>
|
|
7805
|
-
this.request<AiPrompt, ProblemDetails>({
|
|
7806
|
-
path: `/api/ai/admin/prompts`,
|
|
7807
|
-
method: "POST",
|
|
7808
|
-
body: data,
|
|
7809
|
-
secure: true,
|
|
7810
|
-
type: ContentType.Json,
|
|
7811
|
-
format: "json",
|
|
7812
|
-
...params,
|
|
7813
|
-
}),
|
|
7814
|
-
|
|
7815
|
-
/**
|
|
7816
|
-
* No description
|
|
7817
|
-
*
|
|
7818
|
-
* @tags AiAdminPrompt
|
|
7819
|
-
* @name GetAiPrompt
|
|
7820
|
-
* @summary Get prompt by ID
|
|
7821
|
-
* @request GET:/api/ai/admin/prompts/{id}
|
|
7822
|
-
* @secure
|
|
7823
|
-
* @response `200` `AiPrompt` Success
|
|
7824
|
-
* @response `404` `ProblemDetails` Not Found
|
|
7825
|
-
*/
|
|
7826
|
-
getAiPrompt: (id: string, params: RequestParams = {}) =>
|
|
7827
|
-
this.request<AiPrompt, ProblemDetails>({
|
|
7828
|
-
path: `/api/ai/admin/prompts/${id}`,
|
|
7829
|
-
method: "GET",
|
|
7830
|
-
secure: true,
|
|
7831
|
-
format: "json",
|
|
7832
|
-
...params,
|
|
7833
|
-
}),
|
|
7834
|
-
|
|
7835
|
-
/**
|
|
7836
|
-
* No description
|
|
7837
|
-
*
|
|
7838
|
-
* @tags AiAdminPrompt
|
|
7839
|
-
* @name UpdateAiPrompt
|
|
7840
|
-
* @summary Update prompt
|
|
7841
|
-
* @request PUT:/api/ai/admin/prompts/{id}
|
|
7842
|
-
* @secure
|
|
7843
|
-
* @response `200` `AiPrompt` Success
|
|
7844
|
-
* @response `400` `ProblemDetails` Bad Request
|
|
7845
|
-
* @response `404` `ProblemDetails` Not Found
|
|
7846
|
-
*/
|
|
7847
|
-
updateAiPrompt: (
|
|
7848
|
-
id: string,
|
|
7849
|
-
data: UpdateAiPromptRequest,
|
|
7850
|
-
params: RequestParams = {},
|
|
7851
|
-
) =>
|
|
7852
|
-
this.request<AiPrompt, ProblemDetails>({
|
|
7853
|
-
path: `/api/ai/admin/prompts/${id}`,
|
|
7854
|
-
method: "PUT",
|
|
7855
|
-
body: data,
|
|
7856
|
-
secure: true,
|
|
7857
|
-
type: ContentType.Json,
|
|
7858
|
-
format: "json",
|
|
7859
|
-
...params,
|
|
7860
|
-
}),
|
|
7861
|
-
|
|
7862
|
-
/**
|
|
7863
|
-
* No description
|
|
7864
|
-
*
|
|
7865
|
-
* @tags AiAdminPrompt
|
|
7866
|
-
* @name DeleteAiPrompt
|
|
7867
|
-
* @summary Delete prompt
|
|
7868
|
-
* @request DELETE:/api/ai/admin/prompts/{id}
|
|
7869
|
-
* @secure
|
|
7870
|
-
* @response `204` `void` No Content
|
|
7871
|
-
* @response `400` `ProblemDetails` Bad Request
|
|
7872
|
-
* @response `404` `ProblemDetails` Not Found
|
|
7873
|
-
*/
|
|
7874
|
-
deleteAiPrompt: (id: string, params: RequestParams = {}) =>
|
|
7875
|
-
this.request<void, ProblemDetails>({
|
|
7876
|
-
path: `/api/ai/admin/prompts/${id}`,
|
|
7877
|
-
method: "DELETE",
|
|
7878
|
-
secure: true,
|
|
7879
|
-
...params,
|
|
7880
|
-
}),
|
|
7881
|
-
|
|
7882
|
-
/**
|
|
7883
|
-
* No description
|
|
7884
|
-
*
|
|
7885
|
-
* @tags AiAdminPrompt
|
|
7886
|
-
* @name ToggleAiPrompt
|
|
7887
|
-
* @summary Toggle prompt active/inactive
|
|
7888
|
-
* @request PATCH:/api/ai/admin/prompts/{id}/toggle
|
|
7889
|
-
* @secure
|
|
7890
|
-
* @response `200` `AiPrompt` Success
|
|
7891
|
-
* @response `404` `ProblemDetails` Not Found
|
|
7892
|
-
*/
|
|
7893
|
-
toggleAiPrompt: (id: string, params: RequestParams = {}) =>
|
|
7894
|
-
this.request<AiPrompt, ProblemDetails>({
|
|
7895
|
-
path: `/api/ai/admin/prompts/${id}/toggle`,
|
|
7896
|
-
method: "PATCH",
|
|
7897
|
-
secure: true,
|
|
7898
|
-
format: "json",
|
|
7899
|
-
...params,
|
|
7900
|
-
}),
|
|
7901
|
-
|
|
7902
|
-
/**
|
|
7903
|
-
* No description
|
|
7904
|
-
*
|
|
7905
|
-
* @tags AiAdminPrompt
|
|
7906
|
-
* @name GenerateAiSystemPrompt
|
|
7907
|
-
* @summary Generate a system prompt from description
|
|
7908
|
-
* @request POST:/api/ai/admin/prompts/generate
|
|
7909
|
-
* @secure
|
|
7910
|
-
* @response `200` `GenerateSystemPrompt` Success
|
|
7911
|
-
* @response `400` `ProblemDetails` Bad Request
|
|
7912
|
-
*/
|
|
7913
|
-
generateAiSystemPrompt: (
|
|
7914
|
-
data: GenerateSystemPromptRequest,
|
|
7915
|
-
params: RequestParams = {},
|
|
7916
|
-
) =>
|
|
7917
|
-
this.request<GenerateSystemPrompt, ProblemDetails>({
|
|
7918
|
-
path: `/api/ai/admin/prompts/generate`,
|
|
7919
|
-
method: "POST",
|
|
7920
|
-
body: data,
|
|
7921
|
-
secure: true,
|
|
7922
|
-
type: ContentType.JsonPatch,
|
|
7923
|
-
format: "json",
|
|
7924
|
-
...params,
|
|
7925
|
-
}),
|
|
7926
|
-
|
|
7927
|
-
/**
|
|
7928
|
-
* No description
|
|
7929
|
-
*
|
|
7930
|
-
* @tags AiAdminPrompt
|
|
7931
|
-
* @name GetSupportedModels
|
|
7932
|
-
* @summary Get supported LLM models
|
|
7933
|
-
* @request GET:/api/ai/admin/prompts/supported-models
|
|
7934
|
-
* @secure
|
|
7935
|
-
* @response `200` `(SupportedModel)[]` Success
|
|
7936
|
-
*/
|
|
7937
|
-
getSupportedModels: (params: RequestParams = {}) =>
|
|
7938
|
-
this.request<SupportedModel[], any>({
|
|
7939
|
-
path: `/api/ai/admin/prompts/supported-models`,
|
|
7940
|
-
method: "GET",
|
|
7941
|
-
secure: true,
|
|
7942
|
-
format: "json",
|
|
7943
|
-
...params,
|
|
7944
|
-
}),
|
|
7945
|
-
|
|
7946
|
-
/**
|
|
7947
|
-
* No description
|
|
7948
|
-
*
|
|
7949
|
-
* @tags AiCanonicalField
|
|
7950
|
-
* @name GetAiCanonicalFields
|
|
7951
|
-
* @summary Get all canonical fields
|
|
7952
|
-
* @request GET:/api/ai/admin/fields
|
|
7953
|
-
* @secure
|
|
7954
|
-
* @response `200` `(AiCanonicalField)[]` Success
|
|
7955
|
-
*/
|
|
7956
|
-
getAiCanonicalFields: (params: RequestParams = {}) =>
|
|
7957
|
-
this.request<AiCanonicalField[], any>({
|
|
7958
|
-
path: `/api/ai/admin/fields`,
|
|
7959
|
-
method: "GET",
|
|
7960
|
-
secure: true,
|
|
7961
|
-
format: "json",
|
|
7962
|
-
...params,
|
|
7963
|
-
}),
|
|
7964
|
-
|
|
7965
|
-
/**
|
|
7966
|
-
* No description
|
|
7967
|
-
*
|
|
7968
|
-
* @tags AiCanonicalField
|
|
7969
|
-
* @name CreateAiCanonicalField
|
|
7970
|
-
* @summary Create canonical field
|
|
7971
|
-
* @request POST:/api/ai/admin/fields
|
|
7972
|
-
* @secure
|
|
7973
|
-
* @response `201` `AiCanonicalField` Created
|
|
7974
|
-
* @response `400` `ProblemDetails` Bad Request
|
|
7975
|
-
*/
|
|
7976
|
-
createAiCanonicalField: (
|
|
7977
|
-
data: CreateAiCanonicalFieldRequest,
|
|
7978
|
-
params: RequestParams = {},
|
|
7979
|
-
) =>
|
|
7980
|
-
this.request<AiCanonicalField, ProblemDetails>({
|
|
7981
|
-
path: `/api/ai/admin/fields`,
|
|
7982
|
-
method: "POST",
|
|
7983
|
-
body: data,
|
|
7984
|
-
secure: true,
|
|
7985
|
-
type: ContentType.Json,
|
|
7986
|
-
format: "json",
|
|
7987
|
-
...params,
|
|
7988
|
-
}),
|
|
7989
|
-
|
|
7990
|
-
/**
|
|
7991
|
-
* No description
|
|
7992
|
-
*
|
|
7993
|
-
* @tags AiCanonicalField
|
|
7994
|
-
* @name GetAiCanonicalField
|
|
7995
|
-
* @summary Get canonical field by ID
|
|
7996
|
-
* @request GET:/api/ai/admin/fields/{id}
|
|
7997
|
-
* @secure
|
|
7998
|
-
* @response `200` `AiCanonicalField` Success
|
|
7999
|
-
* @response `404` `ProblemDetails` Not Found
|
|
8000
|
-
*/
|
|
8001
|
-
getAiCanonicalField: (id: string, params: RequestParams = {}) =>
|
|
8002
|
-
this.request<AiCanonicalField, ProblemDetails>({
|
|
8003
|
-
path: `/api/ai/admin/fields/${id}`,
|
|
8004
|
-
method: "GET",
|
|
8005
|
-
secure: true,
|
|
8006
|
-
format: "json",
|
|
8007
|
-
...params,
|
|
8008
|
-
}),
|
|
8009
|
-
|
|
8010
|
-
/**
|
|
8011
|
-
* No description
|
|
8012
|
-
*
|
|
8013
|
-
* @tags AiCanonicalField
|
|
8014
|
-
* @name UpdateAiCanonicalField
|
|
8015
|
-
* @summary Update canonical field
|
|
8016
|
-
* @request PUT:/api/ai/admin/fields/{id}
|
|
8017
|
-
* @secure
|
|
8018
|
-
* @response `200` `AiCanonicalField` Success
|
|
8019
|
-
* @response `400` `ProblemDetails` Bad Request
|
|
8020
|
-
* @response `404` `ProblemDetails` Not Found
|
|
8021
|
-
*/
|
|
8022
|
-
updateAiCanonicalField: (
|
|
8023
|
-
id: string,
|
|
8024
|
-
data: UpdateAiCanonicalFieldRequest,
|
|
8025
|
-
params: RequestParams = {},
|
|
8026
|
-
) =>
|
|
8027
|
-
this.request<AiCanonicalField, ProblemDetails>({
|
|
8028
|
-
path: `/api/ai/admin/fields/${id}`,
|
|
8029
|
-
method: "PUT",
|
|
8030
|
-
body: data,
|
|
8031
|
-
secure: true,
|
|
8032
|
-
type: ContentType.Json,
|
|
8033
|
-
format: "json",
|
|
8034
|
-
...params,
|
|
8035
|
-
}),
|
|
8036
|
-
|
|
8037
|
-
/**
|
|
8038
|
-
* No description
|
|
8039
|
-
*
|
|
8040
|
-
* @tags AiCanonicalField
|
|
8041
|
-
* @name DeleteAiCanonicalField
|
|
8042
|
-
* @summary Delete canonical field
|
|
8043
|
-
* @request DELETE:/api/ai/admin/fields/{id}
|
|
8044
|
-
* @secure
|
|
8045
|
-
* @response `204` `void` No Content
|
|
8046
|
-
* @response `404` `ProblemDetails` Not Found
|
|
8047
|
-
*/
|
|
8048
|
-
deleteAiCanonicalField: (id: string, params: RequestParams = {}) =>
|
|
8049
|
-
this.request<void, ProblemDetails>({
|
|
8050
|
-
path: `/api/ai/admin/fields/${id}`,
|
|
8051
|
-
method: "DELETE",
|
|
8052
|
-
secure: true,
|
|
8053
|
-
...params,
|
|
8054
|
-
}),
|
|
8055
|
-
|
|
8056
|
-
/**
|
|
8057
|
-
* No description
|
|
8058
|
-
*
|
|
8059
|
-
* @tags AiCanonicalField
|
|
8060
|
-
* @name ToggleAiCanonicalField
|
|
8061
|
-
* @summary Toggle canonical field active/inactive
|
|
8062
|
-
* @request PATCH:/api/ai/admin/fields/{id}/toggle
|
|
8063
|
-
* @secure
|
|
8064
|
-
* @response `200` `AiCanonicalField` Success
|
|
8065
|
-
* @response `404` `ProblemDetails` Not Found
|
|
8066
|
-
*/
|
|
8067
|
-
toggleAiCanonicalField: (id: string, params: RequestParams = {}) =>
|
|
8068
|
-
this.request<AiCanonicalField, ProblemDetails>({
|
|
8069
|
-
path: `/api/ai/admin/fields/${id}/toggle`,
|
|
8070
|
-
method: "PATCH",
|
|
8071
|
-
secure: true,
|
|
8072
|
-
format: "json",
|
|
8073
|
-
...params,
|
|
8074
|
-
}),
|
|
8075
|
-
|
|
8076
|
-
/**
|
|
8077
|
-
* No description
|
|
8078
|
-
*
|
|
8079
|
-
* @tags AiChat
|
|
8080
|
-
* @name AiChat
|
|
8081
|
-
* @summary Send AI chat message
|
|
8082
|
-
* @request POST:/api/ai/chat
|
|
8083
|
-
* @secure
|
|
8084
|
-
* @response `200` `AiChat` Success
|
|
8085
|
-
* @response `400` `ProblemDetails` Bad Request
|
|
8086
|
-
* @response `401` `ProblemDetails` Unauthorized
|
|
8087
|
-
*/
|
|
8088
|
-
aiChat: (data: AiChatRequest, params: RequestParams = {}) =>
|
|
8089
|
-
this.request<AiChat, ProblemDetails>({
|
|
8090
|
-
path: `/api/ai/chat`,
|
|
8091
|
-
method: "POST",
|
|
8092
|
-
body: data,
|
|
8093
|
-
secure: true,
|
|
8094
|
-
type: ContentType.JsonPatch,
|
|
8095
|
-
format: "json",
|
|
8096
|
-
...params,
|
|
8097
|
-
}),
|
|
8098
|
-
|
|
8099
|
-
/**
|
|
8100
|
-
* No description
|
|
8101
|
-
*
|
|
8102
|
-
* @tags AiConversation
|
|
8103
|
-
* @name GetAiConversations
|
|
8104
|
-
* @summary Get user conversations
|
|
8105
|
-
* @request GET:/api/ai/conversations
|
|
8106
|
-
* @secure
|
|
8107
|
-
* @response `200` `AiConversationListItemPaginated` Success
|
|
8108
|
-
*/
|
|
8109
|
-
getAiConversations: (
|
|
8110
|
-
query?: {
|
|
8111
|
-
/** @format int32 */
|
|
8112
|
-
pageSize?: number;
|
|
8113
|
-
/** @format int32 */
|
|
8114
|
-
pageNumber?: number;
|
|
8115
|
-
sortBy?: string;
|
|
8116
|
-
sortDirection?: string;
|
|
6956
|
+
...(type ? { "Content-Type": type } : {}),
|
|
8117
6957
|
},
|
|
8118
|
-
params:
|
|
8119
|
-
|
|
8120
|
-
|
|
8121
|
-
|
|
8122
|
-
|
|
8123
|
-
|
|
8124
|
-
|
|
8125
|
-
format: "json",
|
|
8126
|
-
...params,
|
|
8127
|
-
}),
|
|
6958
|
+
params: query,
|
|
6959
|
+
responseType: responseFormat,
|
|
6960
|
+
data: body,
|
|
6961
|
+
url: path,
|
|
6962
|
+
});
|
|
6963
|
+
};
|
|
6964
|
+
}
|
|
8128
6965
|
|
|
8129
|
-
|
|
8130
|
-
|
|
8131
|
-
|
|
8132
|
-
|
|
8133
|
-
|
|
8134
|
-
|
|
8135
|
-
|
|
8136
|
-
|
|
8137
|
-
|
|
8138
|
-
|
|
8139
|
-
|
|
8140
|
-
|
|
8141
|
-
|
|
8142
|
-
|
|
8143
|
-
|
|
8144
|
-
|
|
8145
|
-
|
|
8146
|
-
|
|
8147
|
-
|
|
8148
|
-
|
|
6966
|
+
/**
|
|
6967
|
+
* @title The Big POS API
|
|
6968
|
+
* @version v2.40.4
|
|
6969
|
+
* @termsOfService https://www.thebigpos.com/terms-of-use/
|
|
6970
|
+
* @contact Mortgage Automation Technologies <support@thebigpos.com> (https://www.thebigpos.com/terms-of-use/)
|
|
6971
|
+
*/
|
|
6972
|
+
export class Api<
|
|
6973
|
+
SecurityDataType extends unknown,
|
|
6974
|
+
> extends HttpClient<SecurityDataType> {
|
|
6975
|
+
/**
|
|
6976
|
+
* No description
|
|
6977
|
+
*
|
|
6978
|
+
* @tags Saml
|
|
6979
|
+
* @name PostRoot
|
|
6980
|
+
* @request POST:/
|
|
6981
|
+
* @secure
|
|
6982
|
+
* @response `200` `void` Success
|
|
6983
|
+
*/
|
|
6984
|
+
postRoot = (params: RequestParams = {}) =>
|
|
6985
|
+
this.request<void, any>({
|
|
6986
|
+
path: `/`,
|
|
6987
|
+
method: "POST",
|
|
6988
|
+
secure: true,
|
|
6989
|
+
...params,
|
|
6990
|
+
});
|
|
8149
6991
|
|
|
8150
|
-
|
|
8151
|
-
|
|
8152
|
-
|
|
8153
|
-
|
|
8154
|
-
|
|
8155
|
-
|
|
8156
|
-
|
|
8157
|
-
|
|
8158
|
-
|
|
8159
|
-
|
|
8160
|
-
|
|
8161
|
-
|
|
8162
|
-
|
|
8163
|
-
|
|
8164
|
-
|
|
8165
|
-
|
|
8166
|
-
secure: true,
|
|
8167
|
-
...params,
|
|
8168
|
-
}),
|
|
6992
|
+
/**
|
|
6993
|
+
* No description
|
|
6994
|
+
*
|
|
6995
|
+
* @tags TheBigPOS
|
|
6996
|
+
* @name GetRoot
|
|
6997
|
+
* @request GET:/
|
|
6998
|
+
* @secure
|
|
6999
|
+
* @response `200` `string` Success
|
|
7000
|
+
*/
|
|
7001
|
+
getRoot = (params: RequestParams = {}) =>
|
|
7002
|
+
this.request<string, any>({
|
|
7003
|
+
path: `/`,
|
|
7004
|
+
method: "GET",
|
|
7005
|
+
secure: true,
|
|
7006
|
+
...params,
|
|
7007
|
+
});
|
|
8169
7008
|
|
|
7009
|
+
api = {
|
|
8170
7010
|
/**
|
|
8171
7011
|
* No description
|
|
8172
7012
|
*
|
|
8173
|
-
* @tags
|
|
8174
|
-
* @name
|
|
8175
|
-
* @summary Get
|
|
8176
|
-
* @request GET:/api/
|
|
7013
|
+
* @tags Account
|
|
7014
|
+
* @name GetMyAccount
|
|
7015
|
+
* @summary Get
|
|
7016
|
+
* @request GET:/api/account
|
|
8177
7017
|
* @secure
|
|
8178
|
-
* @response `200` `
|
|
7018
|
+
* @response `200` `Account` Success
|
|
7019
|
+
* @response `404` `ProblemDetails` Not Found
|
|
8179
7020
|
*/
|
|
8180
|
-
|
|
8181
|
-
this.request<
|
|
8182
|
-
path: `/api/
|
|
7021
|
+
getMyAccount: (params: RequestParams = {}) =>
|
|
7022
|
+
this.request<Account, ProblemDetails>({
|
|
7023
|
+
path: `/api/account`,
|
|
8183
7024
|
method: "GET",
|
|
8184
7025
|
secure: true,
|
|
8185
7026
|
format: "json",
|
|
@@ -8189,21 +7030,22 @@ export class Api<
|
|
|
8189
7030
|
/**
|
|
8190
7031
|
* No description
|
|
8191
7032
|
*
|
|
8192
|
-
* @tags
|
|
8193
|
-
* @name
|
|
8194
|
-
* @summary
|
|
8195
|
-
* @request
|
|
7033
|
+
* @tags Account
|
|
7034
|
+
* @name ReplaceMyAccount
|
|
7035
|
+
* @summary Replace
|
|
7036
|
+
* @request PUT:/api/account
|
|
8196
7037
|
* @secure
|
|
8197
|
-
* @response `
|
|
8198
|
-
* @response `
|
|
7038
|
+
* @response `200` `Account` Success
|
|
7039
|
+
* @response `404` `ProblemDetails` Not Found
|
|
7040
|
+
* @response `422` `ProblemDetails` Client Error
|
|
8199
7041
|
*/
|
|
8200
|
-
|
|
8201
|
-
data:
|
|
7042
|
+
replaceMyAccount: (
|
|
7043
|
+
data: UpdateAccountRequest,
|
|
8202
7044
|
params: RequestParams = {},
|
|
8203
7045
|
) =>
|
|
8204
|
-
this.request<
|
|
8205
|
-
path: `/api/
|
|
8206
|
-
method: "
|
|
7046
|
+
this.request<Account, ProblemDetails>({
|
|
7047
|
+
path: `/api/account`,
|
|
7048
|
+
method: "PUT",
|
|
8207
7049
|
body: data,
|
|
8208
7050
|
secure: true,
|
|
8209
7051
|
type: ContentType.Json,
|
|
@@ -8214,17 +7056,16 @@ export class Api<
|
|
|
8214
7056
|
/**
|
|
8215
7057
|
* No description
|
|
8216
7058
|
*
|
|
8217
|
-
* @tags
|
|
8218
|
-
* @name
|
|
8219
|
-
* @summary Get
|
|
8220
|
-
* @request GET:/api/
|
|
7059
|
+
* @tags Account
|
|
7060
|
+
* @name GetSiteConfigurationByAccount
|
|
7061
|
+
* @summary Get Site Configuration
|
|
7062
|
+
* @request GET:/api/account/site-configurations
|
|
8221
7063
|
* @secure
|
|
8222
|
-
* @response `200` `
|
|
8223
|
-
* @response `404` `ProblemDetails` Not Found
|
|
7064
|
+
* @response `200` `SiteConfiguration` Success
|
|
8224
7065
|
*/
|
|
8225
|
-
|
|
8226
|
-
this.request<
|
|
8227
|
-
path: `/api/
|
|
7066
|
+
getSiteConfigurationByAccount: (params: RequestParams = {}) =>
|
|
7067
|
+
this.request<SiteConfiguration, any>({
|
|
7068
|
+
path: `/api/account/site-configurations`,
|
|
8228
7069
|
method: "GET",
|
|
8229
7070
|
secure: true,
|
|
8230
7071
|
format: "json",
|
|
@@ -8234,22 +7075,20 @@ export class Api<
|
|
|
8234
7075
|
/**
|
|
8235
7076
|
* No description
|
|
8236
7077
|
*
|
|
8237
|
-
* @tags
|
|
8238
|
-
* @name
|
|
8239
|
-
* @summary Update
|
|
8240
|
-
* @request PUT:/api/
|
|
7078
|
+
* @tags Account
|
|
7079
|
+
* @name UpdateSiteConfigurationForAccount
|
|
7080
|
+
* @summary Update Site Configuration
|
|
7081
|
+
* @request PUT:/api/account/site-configurations
|
|
8241
7082
|
* @secure
|
|
8242
|
-
* @response `200` `
|
|
8243
|
-
* @response `
|
|
8244
|
-
* @response `404` `ProblemDetails` Not Found
|
|
7083
|
+
* @response `200` `SiteConfiguration` Success
|
|
7084
|
+
* @response `422` `UnprocessableEntity` Client Error
|
|
8245
7085
|
*/
|
|
8246
|
-
|
|
8247
|
-
|
|
8248
|
-
data: UpdateAiGuardrailRequest,
|
|
7086
|
+
updateSiteConfigurationForAccount: (
|
|
7087
|
+
data: SiteConfiguration,
|
|
8249
7088
|
params: RequestParams = {},
|
|
8250
7089
|
) =>
|
|
8251
|
-
this.request<
|
|
8252
|
-
path: `/api/
|
|
7090
|
+
this.request<SiteConfiguration, UnprocessableEntity>({
|
|
7091
|
+
path: `/api/account/site-configurations`,
|
|
8253
7092
|
method: "PUT",
|
|
8254
7093
|
body: data,
|
|
8255
7094
|
secure: true,
|
|
@@ -8261,81 +7100,63 @@ export class Api<
|
|
|
8261
7100
|
/**
|
|
8262
7101
|
* No description
|
|
8263
7102
|
*
|
|
8264
|
-
* @tags
|
|
8265
|
-
* @name
|
|
8266
|
-
* @summary
|
|
8267
|
-
* @request
|
|
7103
|
+
* @tags AccountReactivation
|
|
7104
|
+
* @name RequestAccountReactivation
|
|
7105
|
+
* @summary Request account reactivation
|
|
7106
|
+
* @request POST:/api/account/reactivation/request
|
|
8268
7107
|
* @secure
|
|
8269
7108
|
* @response `204` `void` No Content
|
|
8270
|
-
* @response `400` `ProblemDetails` Bad Request
|
|
8271
|
-
* @response `404` `ProblemDetails` Not Found
|
|
8272
|
-
*/
|
|
8273
|
-
deleteAiGuardrail: (id: string, params: RequestParams = {}) =>
|
|
8274
|
-
this.request<void, ProblemDetails>({
|
|
8275
|
-
path: `/api/ai/admin/guardrails/${id}`,
|
|
8276
|
-
method: "DELETE",
|
|
8277
|
-
secure: true,
|
|
8278
|
-
...params,
|
|
8279
|
-
}),
|
|
8280
|
-
|
|
8281
|
-
/**
|
|
8282
|
-
* No description
|
|
8283
|
-
*
|
|
8284
|
-
* @tags AiGuardrail
|
|
8285
|
-
* @name ToggleAiGuardrail
|
|
8286
|
-
* @summary Toggle guardrail enabled/disabled
|
|
8287
|
-
* @request PATCH:/api/ai/admin/guardrails/{id}/toggle
|
|
8288
|
-
* @secure
|
|
8289
|
-
* @response `200` `AiGuardrail` Success
|
|
8290
|
-
* @response `404` `ProblemDetails` Not Found
|
|
8291
7109
|
*/
|
|
8292
|
-
|
|
8293
|
-
|
|
8294
|
-
|
|
8295
|
-
|
|
7110
|
+
requestAccountReactivation: (
|
|
7111
|
+
data: AccountReactivationRequest,
|
|
7112
|
+
params: RequestParams = {},
|
|
7113
|
+
) =>
|
|
7114
|
+
this.request<void, any>({
|
|
7115
|
+
path: `/api/account/reactivation/request`,
|
|
7116
|
+
method: "POST",
|
|
7117
|
+
body: data,
|
|
8296
7118
|
secure: true,
|
|
8297
|
-
|
|
7119
|
+
type: ContentType.Json,
|
|
8298
7120
|
...params,
|
|
8299
7121
|
}),
|
|
8300
7122
|
|
|
8301
7123
|
/**
|
|
8302
7124
|
* No description
|
|
8303
7125
|
*
|
|
8304
|
-
* @tags
|
|
8305
|
-
* @name
|
|
8306
|
-
* @summary
|
|
8307
|
-
* @request
|
|
7126
|
+
* @tags AccountReactivation
|
|
7127
|
+
* @name CompleteAccountReactivation
|
|
7128
|
+
* @summary Complete account reactivation with new password
|
|
7129
|
+
* @request POST:/api/account/reactivation/complete
|
|
8308
7130
|
* @secure
|
|
8309
|
-
* @response `
|
|
7131
|
+
* @response `204` `void` No Content
|
|
7132
|
+
* @response `400` `ProblemDetails` Bad Request
|
|
8310
7133
|
*/
|
|
8311
|
-
|
|
8312
|
-
|
|
8313
|
-
documentType?: string;
|
|
8314
|
-
},
|
|
7134
|
+
completeAccountReactivation: (
|
|
7135
|
+
data: AccountReactivationCompleteRequest,
|
|
8315
7136
|
params: RequestParams = {},
|
|
8316
7137
|
) =>
|
|
8317
|
-
this.request<
|
|
8318
|
-
path: `/api/
|
|
8319
|
-
method: "
|
|
8320
|
-
|
|
7138
|
+
this.request<void, ProblemDetails>({
|
|
7139
|
+
path: `/api/account/reactivation/complete`,
|
|
7140
|
+
method: "POST",
|
|
7141
|
+
body: data,
|
|
8321
7142
|
secure: true,
|
|
8322
|
-
|
|
7143
|
+
type: ContentType.Json,
|
|
8323
7144
|
...params,
|
|
8324
7145
|
}),
|
|
8325
7146
|
|
|
8326
7147
|
/**
|
|
8327
7148
|
* No description
|
|
8328
7149
|
*
|
|
8329
|
-
* @tags
|
|
8330
|
-
* @name
|
|
8331
|
-
* @summary Get
|
|
8332
|
-
* @request GET:/api/
|
|
7150
|
+
* @tags Accounts
|
|
7151
|
+
* @name GetAccounts
|
|
7152
|
+
* @summary Get All
|
|
7153
|
+
* @request GET:/api/accounts
|
|
8333
7154
|
* @secure
|
|
8334
|
-
* @response `200` `(
|
|
7155
|
+
* @response `200` `(Account)[]` Success
|
|
8335
7156
|
*/
|
|
8336
|
-
|
|
8337
|
-
this.request<
|
|
8338
|
-
path: `/api/
|
|
7157
|
+
getAccounts: (params: RequestParams = {}) =>
|
|
7158
|
+
this.request<Account[], any>({
|
|
7159
|
+
path: `/api/accounts`,
|
|
8339
7160
|
method: "GET",
|
|
8340
7161
|
secure: true,
|
|
8341
7162
|
format: "json",
|
|
@@ -8345,25 +7166,21 @@ export class Api<
|
|
|
8345
7166
|
/**
|
|
8346
7167
|
* No description
|
|
8347
7168
|
*
|
|
8348
|
-
* @tags
|
|
8349
|
-
* @name
|
|
8350
|
-
* @summary Create
|
|
8351
|
-
* @request POST:/api/
|
|
7169
|
+
* @tags Accounts
|
|
7170
|
+
* @name CreateAccount
|
|
7171
|
+
* @summary Create
|
|
7172
|
+
* @request POST:/api/accounts
|
|
8352
7173
|
* @secure
|
|
8353
|
-
* @response `201` `
|
|
8354
|
-
* @response `
|
|
8355
|
-
* @response `409` `ProblemDetails` Conflict
|
|
7174
|
+
* @response `201` `Account` Created
|
|
7175
|
+
* @response `422` `ProblemDetails` Client Error
|
|
8356
7176
|
*/
|
|
8357
|
-
|
|
8358
|
-
|
|
8359
|
-
|
|
8360
|
-
) =>
|
|
8361
|
-
this.request<AiUrlSource, ProblemDetails>({
|
|
8362
|
-
path: `/api/ai/admin/url-sources`,
|
|
7177
|
+
createAccount: (data: CreateAccountRequest, params: RequestParams = {}) =>
|
|
7178
|
+
this.request<Account, ProblemDetails>({
|
|
7179
|
+
path: `/api/accounts`,
|
|
8363
7180
|
method: "POST",
|
|
8364
7181
|
body: data,
|
|
8365
7182
|
secure: true,
|
|
8366
|
-
type: ContentType.
|
|
7183
|
+
type: ContentType.Json,
|
|
8367
7184
|
format: "json",
|
|
8368
7185
|
...params,
|
|
8369
7186
|
}),
|
|
@@ -8371,17 +7188,17 @@ export class Api<
|
|
|
8371
7188
|
/**
|
|
8372
7189
|
* No description
|
|
8373
7190
|
*
|
|
8374
|
-
* @tags
|
|
8375
|
-
* @name
|
|
8376
|
-
* @summary Get
|
|
8377
|
-
* @request GET:/api/
|
|
7191
|
+
* @tags Accounts
|
|
7192
|
+
* @name GetAccount
|
|
7193
|
+
* @summary Get by ID
|
|
7194
|
+
* @request GET:/api/accounts/{id}
|
|
8378
7195
|
* @secure
|
|
8379
|
-
* @response `
|
|
8380
|
-
* @response `
|
|
7196
|
+
* @response `201` `Account` Created
|
|
7197
|
+
* @response `422` `ProblemDetails` Client Error
|
|
8381
7198
|
*/
|
|
8382
|
-
|
|
8383
|
-
this.request<
|
|
8384
|
-
path: `/api/
|
|
7199
|
+
getAccount: (id: string, params: RequestParams = {}) =>
|
|
7200
|
+
this.request<Account, ProblemDetails>({
|
|
7201
|
+
path: `/api/accounts/${id}`,
|
|
8385
7202
|
method: "GET",
|
|
8386
7203
|
secure: true,
|
|
8387
7204
|
format: "json",
|
|
@@ -8391,66 +7208,55 @@ export class Api<
|
|
|
8391
7208
|
/**
|
|
8392
7209
|
* No description
|
|
8393
7210
|
*
|
|
8394
|
-
* @tags
|
|
8395
|
-
* @name
|
|
8396
|
-
* @summary
|
|
8397
|
-
* @request
|
|
7211
|
+
* @tags Accounts
|
|
7212
|
+
* @name DeleteAccount
|
|
7213
|
+
* @summary Delete
|
|
7214
|
+
* @request DELETE:/api/accounts/{id}
|
|
8398
7215
|
* @secure
|
|
8399
|
-
* @response `
|
|
8400
|
-
* @response `400` `ProblemDetails` Bad Request
|
|
7216
|
+
* @response `204` `Account` No Content
|
|
8401
7217
|
* @response `404` `ProblemDetails` Not Found
|
|
8402
|
-
* @response `
|
|
7218
|
+
* @response `422` `ProblemDetails` Client Error
|
|
8403
7219
|
*/
|
|
8404
|
-
|
|
7220
|
+
deleteAccount: (
|
|
8405
7221
|
id: string,
|
|
8406
|
-
|
|
7222
|
+
query?: {
|
|
7223
|
+
/** @default false */
|
|
7224
|
+
hardDelete?: boolean;
|
|
7225
|
+
},
|
|
8407
7226
|
params: RequestParams = {},
|
|
8408
7227
|
) =>
|
|
8409
|
-
this.request<
|
|
8410
|
-
path: `/api/
|
|
8411
|
-
method: "PUT",
|
|
8412
|
-
body: data,
|
|
8413
|
-
secure: true,
|
|
8414
|
-
type: ContentType.Json,
|
|
8415
|
-
format: "json",
|
|
8416
|
-
...params,
|
|
8417
|
-
}),
|
|
8418
|
-
|
|
8419
|
-
/**
|
|
8420
|
-
* No description
|
|
8421
|
-
*
|
|
8422
|
-
* @tags AiUrlSource
|
|
8423
|
-
* @name DeleteAiUrlSource
|
|
8424
|
-
* @summary Delete URL source
|
|
8425
|
-
* @request DELETE:/api/ai/admin/url-sources/{id}
|
|
8426
|
-
* @secure
|
|
8427
|
-
* @response `204` `void` No Content
|
|
8428
|
-
* @response `404` `ProblemDetails` Not Found
|
|
8429
|
-
*/
|
|
8430
|
-
deleteAiUrlSource: (id: string, params: RequestParams = {}) =>
|
|
8431
|
-
this.request<void, ProblemDetails>({
|
|
8432
|
-
path: `/api/ai/admin/url-sources/${id}`,
|
|
7228
|
+
this.request<Account, ProblemDetails>({
|
|
7229
|
+
path: `/api/accounts/${id}`,
|
|
8433
7230
|
method: "DELETE",
|
|
7231
|
+
query: query,
|
|
8434
7232
|
secure: true,
|
|
7233
|
+
format: "json",
|
|
8435
7234
|
...params,
|
|
8436
7235
|
}),
|
|
8437
7236
|
|
|
8438
7237
|
/**
|
|
8439
7238
|
* No description
|
|
8440
7239
|
*
|
|
8441
|
-
* @tags
|
|
8442
|
-
* @name
|
|
8443
|
-
* @summary
|
|
8444
|
-
* @request
|
|
7240
|
+
* @tags Accounts
|
|
7241
|
+
* @name UpdateAccountBilling
|
|
7242
|
+
* @summary Update billing configuration
|
|
7243
|
+
* @request PUT:/api/accounts/{id}/billing
|
|
8445
7244
|
* @secure
|
|
8446
|
-
* @response `200` `
|
|
7245
|
+
* @response `200` `AccountBilling` Success
|
|
8447
7246
|
* @response `404` `ProblemDetails` Not Found
|
|
7247
|
+
* @response `422` `ProblemDetails` Client Error
|
|
8448
7248
|
*/
|
|
8449
|
-
|
|
8450
|
-
|
|
8451
|
-
|
|
8452
|
-
|
|
7249
|
+
updateAccountBilling: (
|
|
7250
|
+
id: string,
|
|
7251
|
+
data: AccountBillingRequest,
|
|
7252
|
+
params: RequestParams = {},
|
|
7253
|
+
) =>
|
|
7254
|
+
this.request<AccountBilling, ProblemDetails>({
|
|
7255
|
+
path: `/api/accounts/${id}/billing`,
|
|
7256
|
+
method: "PUT",
|
|
7257
|
+
body: data,
|
|
8453
7258
|
secure: true,
|
|
7259
|
+
type: ContentType.Json,
|
|
8454
7260
|
format: "json",
|
|
8455
7261
|
...params,
|
|
8456
7262
|
}),
|
|
@@ -8483,7 +7289,7 @@ export class Api<
|
|
|
8483
7289
|
query: query,
|
|
8484
7290
|
body: data,
|
|
8485
7291
|
secure: true,
|
|
8486
|
-
type: ContentType.
|
|
7292
|
+
type: ContentType.Json,
|
|
8487
7293
|
format: "json",
|
|
8488
7294
|
...params,
|
|
8489
7295
|
}),
|
|
@@ -8561,11 +7367,11 @@ export class Api<
|
|
|
8561
7367
|
* @summary Get Token
|
|
8562
7368
|
* @request POST:/api/token
|
|
8563
7369
|
* @secure
|
|
8564
|
-
* @response `200` `
|
|
7370
|
+
* @response `200` `AccountDeactivated` Success
|
|
8565
7371
|
* @response `422` `UnprocessableEntity` Client Error
|
|
8566
7372
|
*/
|
|
8567
7373
|
getToken: (data: TokenRequest, params: RequestParams = {}) =>
|
|
8568
|
-
this.request<
|
|
7374
|
+
this.request<AccountDeactivated, UnprocessableEntity>({
|
|
8569
7375
|
path: `/api/token`,
|
|
8570
7376
|
method: "POST",
|
|
8571
7377
|
body: data,
|
|
@@ -8583,14 +7389,14 @@ export class Api<
|
|
|
8583
7389
|
* @summary Get Token From Challenge Code
|
|
8584
7390
|
* @request POST:/api/token/code
|
|
8585
7391
|
* @secure
|
|
8586
|
-
* @response `200` `
|
|
7392
|
+
* @response `200` `AccountDeactivated` Success
|
|
8587
7393
|
* @response `422` `UnprocessableEntity` Client Error
|
|
8588
7394
|
*/
|
|
8589
7395
|
getTokenFromChallengeCode: (
|
|
8590
7396
|
data: TokenChallengeRequest,
|
|
8591
7397
|
params: RequestParams = {},
|
|
8592
7398
|
) =>
|
|
8593
|
-
this.request<
|
|
7399
|
+
this.request<AccountDeactivated, UnprocessableEntity>({
|
|
8594
7400
|
path: `/api/token/code`,
|
|
8595
7401
|
method: "POST",
|
|
8596
7402
|
body: data,
|
|
@@ -10847,6 +9653,25 @@ export class Api<
|
|
|
10847
9653
|
...params,
|
|
10848
9654
|
}),
|
|
10849
9655
|
|
|
9656
|
+
/**
|
|
9657
|
+
* No description
|
|
9658
|
+
*
|
|
9659
|
+
* @tags IntegrationSettings
|
|
9660
|
+
* @name GetIntegrationSettings
|
|
9661
|
+
* @summary Get Integration Settings
|
|
9662
|
+
* @request GET:/api/integrations/settings
|
|
9663
|
+
* @secure
|
|
9664
|
+
* @response `200` `IntegrationSettings` Success
|
|
9665
|
+
*/
|
|
9666
|
+
getIntegrationSettings: (params: RequestParams = {}) =>
|
|
9667
|
+
this.request<IntegrationSettings, any>({
|
|
9668
|
+
path: `/api/integrations/settings`,
|
|
9669
|
+
method: "GET",
|
|
9670
|
+
secure: true,
|
|
9671
|
+
format: "json",
|
|
9672
|
+
...params,
|
|
9673
|
+
}),
|
|
9674
|
+
|
|
10850
9675
|
/**
|
|
10851
9676
|
* No description
|
|
10852
9677
|
*
|