@matech/thebigpos-sdk 2.36.11-aibi-2 → 2.36.14
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 +74 -678
- package/dist/index.js +1 -302
- package/dist/index.js.map +1 -1
- package/docs/sdk_generation.md +149 -0
- package/package.json +1 -1
- package/src/index.ts +612 -1456
package/dist/index.d.ts
CHANGED
|
@@ -53,13 +53,6 @@ export type BranchType = "Mortgage" | "RealEstate";
|
|
|
53
53
|
export type BorrowerType = "Borrower" | "CoBorrower" | "Unknown";
|
|
54
54
|
export type BorrowerRelationship = "NotApplicable" | "Spouse" | "NonSpouse";
|
|
55
55
|
export type BillingType = "ClosedLoan" | "LoanOfficer";
|
|
56
|
-
export type AiStructuredDataType = "Table" | "DocumentAnalysis" | "DocumentList";
|
|
57
|
-
export type AiQueryTemplateName = "PipelineSummary" | "LoanDetail" | "LoansClosing" | "StaleLoans" | "LoansByType" | "LoansByOfficer" | "AverageLoanAmount" | "LockedVsUnlocked";
|
|
58
|
-
export type AiPromptCategory = "DocumentAnalysis" | "DataQuery" | "General";
|
|
59
|
-
export type AiIntent = "Greeting" | "Invalid" | "Relevant" | "DocumentList" | "GeneralKnowledge" | "Blocked";
|
|
60
|
-
export type AiGuardrailCategory = "ContentSafety" | "PromptInjection" | "Privacy" | "Legal";
|
|
61
|
-
export type AiDisplayHint = "Table" | "SummaryCards" | "RankedList" | "Comparison" | "ExecutiveBrief";
|
|
62
|
-
export type AiAuditEventType = "Error" | "GuardrailBlockedPre" | "GuardrailPassedPre" | "IntentClassified" | "LoanResolvedFromMessage" | "DocumentNotFound" | "GuardrailBlockedPost" | "GuardrailPassedPost" | "DocumentAnalyzed" | "DocumentList" | "DocumentResolutionAmbiguous" | "ResponseGenerated" | "ParametersExtracted" | "QueryExecuted" | "LoanContextNotFound" | "LoanContextLoaded" | "GuardrailBlockedBedrock" | "PromptMatched";
|
|
63
56
|
export type AddressFamily = "Unspecified" | "Unix" | "InterNetwork" | "ImpLink" | "Pup" | "Chaos" | "NS" | "Ipx" | "Iso" | "Osi" | "Ecma" | "DataKit" | "Ccitt" | "Sna" | "DecNet" | "DataLink" | "Lat" | "HyperChannel" | "AppleTalk" | "NetBios" | "VoiceView" | "FireFox" | "Banyan" | "Atm" | "InterNetworkV6" | "Cluster" | "Ieee12844" | "Irda" | "NetworkDesigners" | "Max" | "Packet" | "ControllerAreaNetwork" | "Unknown";
|
|
64
57
|
export interface ASOSettings {
|
|
65
58
|
enabled: boolean;
|
|
@@ -110,7 +103,7 @@ export interface AccountBilling {
|
|
|
110
103
|
contractedRate: number;
|
|
111
104
|
}
|
|
112
105
|
export interface AccountBillingRequest {
|
|
113
|
-
billingType:
|
|
106
|
+
billingType: AccountBillingRequestBillingTypeEnum;
|
|
114
107
|
/**
|
|
115
108
|
* @format double
|
|
116
109
|
* @min 0
|
|
@@ -124,7 +117,6 @@ export interface AccountSettings {
|
|
|
124
117
|
smsNumber?: string | null;
|
|
125
118
|
ssoHostOverride?: string | null;
|
|
126
119
|
isEarlyAdopter: boolean;
|
|
127
|
-
isAIEnabled: boolean;
|
|
128
120
|
}
|
|
129
121
|
export interface AccountSettingsRequest {
|
|
130
122
|
isSmsEnabled: boolean;
|
|
@@ -335,197 +327,6 @@ export interface AffordabilityCalculatorRequest {
|
|
|
335
327
|
*/
|
|
336
328
|
annualInsurance: number;
|
|
337
329
|
}
|
|
338
|
-
export interface AiAdminStats {
|
|
339
|
-
/** @format int32 */
|
|
340
|
-
totalRequests: number;
|
|
341
|
-
/** @format int32 */
|
|
342
|
-
blockedRequests: number;
|
|
343
|
-
/** @format double */
|
|
344
|
-
averageResponseTimeMs: number;
|
|
345
|
-
intentDistribution: Record<string, number>;
|
|
346
|
-
topQueryTemplates: Record<string, number>;
|
|
347
|
-
period: string;
|
|
348
|
-
}
|
|
349
|
-
export interface AiAuditLog {
|
|
350
|
-
/** @format uuid */
|
|
351
|
-
id: string;
|
|
352
|
-
/** @format uuid */
|
|
353
|
-
requestId: string;
|
|
354
|
-
/** @format uuid */
|
|
355
|
-
userId: string;
|
|
356
|
-
eventType: "Error" | "GuardrailBlockedPre" | "GuardrailPassedPre" | "IntentClassified" | "LoanResolvedFromMessage" | "DocumentNotFound" | "GuardrailBlockedPost" | "GuardrailPassedPost" | "DocumentAnalyzed" | "DocumentList" | "DocumentResolutionAmbiguous" | "ResponseGenerated" | "ParametersExtracted" | "QueryExecuted" | "LoanContextNotFound" | "LoanContextLoaded" | "GuardrailBlockedBedrock" | "PromptMatched";
|
|
357
|
-
details?: any;
|
|
358
|
-
/** @format date-time */
|
|
359
|
-
createdAt: string;
|
|
360
|
-
}
|
|
361
|
-
export interface AiAuditLogPaginated {
|
|
362
|
-
rows: AiAuditLog[];
|
|
363
|
-
pagination: Pagination;
|
|
364
|
-
/** @format int64 */
|
|
365
|
-
count: number;
|
|
366
|
-
}
|
|
367
|
-
export interface AiCanonicalField {
|
|
368
|
-
/** @format uuid */
|
|
369
|
-
id: string;
|
|
370
|
-
canonicalName: string;
|
|
371
|
-
displayName: string;
|
|
372
|
-
description: string;
|
|
373
|
-
allowedRoles: string[];
|
|
374
|
-
efPath?: string | null;
|
|
375
|
-
isPii: boolean;
|
|
376
|
-
isActive: boolean;
|
|
377
|
-
dataSource: string;
|
|
378
|
-
isDefault: boolean;
|
|
379
|
-
category?: string | null;
|
|
380
|
-
jsonPropertyName?: string | null;
|
|
381
|
-
textractKey?: string | null;
|
|
382
|
-
textractKeyAliases?: string | null;
|
|
383
|
-
hasAccountOverride: boolean;
|
|
384
|
-
/** @format date-time */
|
|
385
|
-
createdAt: string;
|
|
386
|
-
/** @format date-time */
|
|
387
|
-
updatedAt?: string | null;
|
|
388
|
-
}
|
|
389
|
-
export interface AiChat {
|
|
390
|
-
/** @format uuid */
|
|
391
|
-
conversationId: string;
|
|
392
|
-
/** @format uuid */
|
|
393
|
-
messageId: string;
|
|
394
|
-
response: AiChatBody;
|
|
395
|
-
metadata: AiChatMetadata;
|
|
396
|
-
}
|
|
397
|
-
export interface AiChatBody {
|
|
398
|
-
text: string;
|
|
399
|
-
data?: AiChatStructuredData | null;
|
|
400
|
-
suggestedFollowUps: string[];
|
|
401
|
-
}
|
|
402
|
-
export interface AiChatMessage {
|
|
403
|
-
/** @format uuid */
|
|
404
|
-
id: string;
|
|
405
|
-
userMessage: string;
|
|
406
|
-
assistantResponse: string;
|
|
407
|
-
intent?: AiIntent | null;
|
|
408
|
-
fieldsAccessed?: string[] | null;
|
|
409
|
-
/** @format date-time */
|
|
410
|
-
createdAt: string;
|
|
411
|
-
}
|
|
412
|
-
export interface AiChatMetadata {
|
|
413
|
-
intent: "Greeting" | "Invalid" | "Relevant" | "DocumentList" | "GeneralKnowledge" | "Blocked";
|
|
414
|
-
fieldsAccessed: string[];
|
|
415
|
-
/** @format int64 */
|
|
416
|
-
queryTimeMs: number;
|
|
417
|
-
/** @format int64 */
|
|
418
|
-
llmTimeMs: number;
|
|
419
|
-
wasBlocked: boolean;
|
|
420
|
-
blockedReason?: string | null;
|
|
421
|
-
}
|
|
422
|
-
export interface AiChatRequest {
|
|
423
|
-
/**
|
|
424
|
-
* @minLength 1
|
|
425
|
-
* @maxLength 2000
|
|
426
|
-
*/
|
|
427
|
-
message: string;
|
|
428
|
-
/** @format uuid */
|
|
429
|
-
conversationId?: string | null;
|
|
430
|
-
/** @format uuid */
|
|
431
|
-
loanId?: string | null;
|
|
432
|
-
/** @format uuid */
|
|
433
|
-
documentId?: string | null;
|
|
434
|
-
/** @format uuid */
|
|
435
|
-
promptId?: string | null;
|
|
436
|
-
}
|
|
437
|
-
export interface AiChatStructuredData {
|
|
438
|
-
type: "Table" | "DocumentAnalysis" | "DocumentList";
|
|
439
|
-
detectedDocumentType?: string | null;
|
|
440
|
-
columns: string[];
|
|
441
|
-
rows: string[][];
|
|
442
|
-
}
|
|
443
|
-
export interface AiConversationDetail {
|
|
444
|
-
/** @format uuid */
|
|
445
|
-
id: string;
|
|
446
|
-
/** @format date-time */
|
|
447
|
-
createdAt: string;
|
|
448
|
-
/** @format date-time */
|
|
449
|
-
updatedAt?: string | null;
|
|
450
|
-
messages: AiChatMessage[];
|
|
451
|
-
}
|
|
452
|
-
export interface AiConversationListItem {
|
|
453
|
-
/** @format uuid */
|
|
454
|
-
id: string;
|
|
455
|
-
preview: string;
|
|
456
|
-
/** @format int32 */
|
|
457
|
-
messageCount: number;
|
|
458
|
-
/** @format date-time */
|
|
459
|
-
createdAt: string;
|
|
460
|
-
/** @format date-time */
|
|
461
|
-
updatedAt?: string | null;
|
|
462
|
-
}
|
|
463
|
-
export interface AiConversationListItemPaginated {
|
|
464
|
-
rows: AiConversationListItem[];
|
|
465
|
-
pagination: Pagination;
|
|
466
|
-
/** @format int64 */
|
|
467
|
-
count: number;
|
|
468
|
-
}
|
|
469
|
-
export interface AiGuardrail {
|
|
470
|
-
/** @format uuid */
|
|
471
|
-
id: string;
|
|
472
|
-
name: string;
|
|
473
|
-
category: "ContentSafety" | "PromptInjection" | "Privacy" | "Legal";
|
|
474
|
-
description?: string | null;
|
|
475
|
-
keywords: string[];
|
|
476
|
-
responseTemplate: string;
|
|
477
|
-
isDefault: boolean;
|
|
478
|
-
isEnabled: boolean;
|
|
479
|
-
hasAccountOverride: boolean;
|
|
480
|
-
/** @format date-time */
|
|
481
|
-
createdAt: string;
|
|
482
|
-
/** @format date-time */
|
|
483
|
-
updatedAt?: string | null;
|
|
484
|
-
}
|
|
485
|
-
export interface AiPrompt {
|
|
486
|
-
/** @format uuid */
|
|
487
|
-
id: string;
|
|
488
|
-
title: string;
|
|
489
|
-
icon: string;
|
|
490
|
-
slug: string;
|
|
491
|
-
description: string;
|
|
492
|
-
documentTypes: string[];
|
|
493
|
-
applicableGuidelines: string[];
|
|
494
|
-
allowedRoles: string[];
|
|
495
|
-
systemPrompt: string;
|
|
496
|
-
userPromptTemplate: string;
|
|
497
|
-
followUpPrompts: string[];
|
|
498
|
-
/** @format int32 */
|
|
499
|
-
sortOrder: number;
|
|
500
|
-
isDefault: boolean;
|
|
501
|
-
/** @format uuid */
|
|
502
|
-
accountId?: string | null;
|
|
503
|
-
isActive: boolean;
|
|
504
|
-
category?: AiPromptCategory | null;
|
|
505
|
-
queryTemplateName?: AiQueryTemplateName | null;
|
|
506
|
-
displayHint?: AiDisplayHint | null;
|
|
507
|
-
hasAccountOverride: boolean;
|
|
508
|
-
/** @format date-time */
|
|
509
|
-
createdAt: string;
|
|
510
|
-
/** @format date-time */
|
|
511
|
-
updatedAt?: string | null;
|
|
512
|
-
}
|
|
513
|
-
export interface AiPromptSummary {
|
|
514
|
-
/** @format uuid */
|
|
515
|
-
id: string;
|
|
516
|
-
title: string;
|
|
517
|
-
icon: string;
|
|
518
|
-
slug: string;
|
|
519
|
-
description: string;
|
|
520
|
-
documentTypes: string[];
|
|
521
|
-
applicableGuidelines: string[];
|
|
522
|
-
followUpPrompts: string[];
|
|
523
|
-
/** @format int32 */
|
|
524
|
-
sortOrder: number;
|
|
525
|
-
category?: AiPromptCategory | null;
|
|
526
|
-
queryTemplateName?: AiQueryTemplateName | null;
|
|
527
|
-
displayHint?: AiDisplayHint | null;
|
|
528
|
-
}
|
|
529
330
|
export interface AllowImpersonationRequest {
|
|
530
331
|
/**
|
|
531
332
|
* @format email
|
|
@@ -848,7 +649,7 @@ export interface CorporateSearchCriteria {
|
|
|
848
649
|
isActive?: boolean | null;
|
|
849
650
|
}
|
|
850
651
|
export interface CreateAccessScopeRequest {
|
|
851
|
-
scopeType:
|
|
652
|
+
scopeType: CreateAccessScopeRequestScopeTypeEnum;
|
|
852
653
|
/** @format uuid */
|
|
853
654
|
userId?: string | null;
|
|
854
655
|
/** @format uuid */
|
|
@@ -871,76 +672,10 @@ export interface CreateAccountRequest {
|
|
|
871
672
|
*/
|
|
872
673
|
nlmsid: number;
|
|
873
674
|
settings: AccountSettingsRequest;
|
|
874
|
-
environment:
|
|
675
|
+
environment: CreateAccountRequestEnvironmentEnum;
|
|
875
676
|
losIntegration: LOSIntegration;
|
|
876
677
|
billingSettings: AccountBillingRequest;
|
|
877
678
|
}
|
|
878
|
-
export interface CreateAiCanonicalFieldRequest {
|
|
879
|
-
/**
|
|
880
|
-
* @minLength 1
|
|
881
|
-
* @maxLength 200
|
|
882
|
-
*/
|
|
883
|
-
canonicalName: string;
|
|
884
|
-
/**
|
|
885
|
-
* @minLength 1
|
|
886
|
-
* @maxLength 200
|
|
887
|
-
*/
|
|
888
|
-
displayName: string;
|
|
889
|
-
/** @minLength 1 */
|
|
890
|
-
description: string;
|
|
891
|
-
/** @minItems 1 */
|
|
892
|
-
allowedRoles: string[];
|
|
893
|
-
isPii: boolean;
|
|
894
|
-
/** @minLength 1 */
|
|
895
|
-
dataSource: string;
|
|
896
|
-
textractKey?: string | null;
|
|
897
|
-
textractKeyAliases?: string | null;
|
|
898
|
-
category?: string | null;
|
|
899
|
-
}
|
|
900
|
-
export interface CreateAiGuardrailRequest {
|
|
901
|
-
/**
|
|
902
|
-
* @minLength 1
|
|
903
|
-
* @maxLength 200
|
|
904
|
-
*/
|
|
905
|
-
name: string;
|
|
906
|
-
category: "ContentSafety" | "PromptInjection" | "Privacy" | "Legal";
|
|
907
|
-
description?: string | null;
|
|
908
|
-
/** @minItems 1 */
|
|
909
|
-
keywords: string[];
|
|
910
|
-
/** @minLength 1 */
|
|
911
|
-
responseTemplate: string;
|
|
912
|
-
}
|
|
913
|
-
export interface CreateAiPromptRequest {
|
|
914
|
-
/**
|
|
915
|
-
* @minLength 1
|
|
916
|
-
* @maxLength 200
|
|
917
|
-
*/
|
|
918
|
-
title: string;
|
|
919
|
-
icon: string;
|
|
920
|
-
/**
|
|
921
|
-
* @minLength 1
|
|
922
|
-
* @maxLength 100
|
|
923
|
-
*/
|
|
924
|
-
slug: string;
|
|
925
|
-
/**
|
|
926
|
-
* @minLength 1
|
|
927
|
-
* @maxLength 500
|
|
928
|
-
*/
|
|
929
|
-
description: string;
|
|
930
|
-
documentTypes: string[];
|
|
931
|
-
applicableGuidelines: string[];
|
|
932
|
-
allowedRoles: string[];
|
|
933
|
-
/** @minLength 1 */
|
|
934
|
-
systemPrompt: string;
|
|
935
|
-
/** @minLength 1 */
|
|
936
|
-
userPromptTemplate: string;
|
|
937
|
-
followUpPrompts: string[];
|
|
938
|
-
/** @format int32 */
|
|
939
|
-
sortOrder: number;
|
|
940
|
-
category?: AiPromptCategory | null;
|
|
941
|
-
queryTemplateName?: AiQueryTemplateName | null;
|
|
942
|
-
displayHint?: AiDisplayHint | null;
|
|
943
|
-
}
|
|
944
679
|
export interface CreateBranchRequest {
|
|
945
680
|
/**
|
|
946
681
|
* @minLength 1
|
|
@@ -967,7 +702,7 @@ export interface CreateDocumentTemplateRequest {
|
|
|
967
702
|
export interface CreateGroupMemberRequest {
|
|
968
703
|
/** @format uuid */
|
|
969
704
|
userId: string;
|
|
970
|
-
loanRole:
|
|
705
|
+
loanRole: CreateGroupMemberRequestLoanRoleEnum;
|
|
971
706
|
}
|
|
972
707
|
export interface CreateInviteRequest {
|
|
973
708
|
/** @minLength 1 */
|
|
@@ -978,7 +713,7 @@ export interface CreateInviteRequest {
|
|
|
978
713
|
emailAddress: string;
|
|
979
714
|
phoneNumber?: string | null;
|
|
980
715
|
/** @deprecated */
|
|
981
|
-
relationship:
|
|
716
|
+
relationship: CreateInviteRequestRelationshipEnum;
|
|
982
717
|
loanID: string;
|
|
983
718
|
route?: string | null;
|
|
984
719
|
/** @format uuid */
|
|
@@ -1000,7 +735,7 @@ export interface CreateLoanImportRequest {
|
|
|
1000
735
|
* @minLength 1
|
|
1001
736
|
*/
|
|
1002
737
|
startDate: string;
|
|
1003
|
-
importMode:
|
|
738
|
+
importMode: CreateLoanImportRequestImportModeEnum;
|
|
1004
739
|
}
|
|
1005
740
|
export interface CreateSession {
|
|
1006
741
|
sessionId: string;
|
|
@@ -1018,7 +753,7 @@ export interface CreateUserDeviceRequest {
|
|
|
1018
753
|
token: string;
|
|
1019
754
|
}
|
|
1020
755
|
export interface CreateUserDraft {
|
|
1021
|
-
loanRole:
|
|
756
|
+
loanRole: CreateUserDraftLoanRoleEnum;
|
|
1022
757
|
}
|
|
1023
758
|
export interface CreateUserGroupRequest {
|
|
1024
759
|
/**
|
|
@@ -1310,7 +1045,7 @@ export interface Draft {
|
|
|
1310
1045
|
siteConfiguration: SiteConfigurationReduced;
|
|
1311
1046
|
/** @format uuid */
|
|
1312
1047
|
loanID?: string | null;
|
|
1313
|
-
type:
|
|
1048
|
+
type: DraftTypeEnum;
|
|
1314
1049
|
isCoBorrower: boolean;
|
|
1315
1050
|
}
|
|
1316
1051
|
export interface DraftContent {
|
|
@@ -1328,7 +1063,7 @@ export interface DraftContent {
|
|
|
1328
1063
|
siteConfiguration: SiteConfigurationReduced;
|
|
1329
1064
|
/** @format uuid */
|
|
1330
1065
|
loanID?: string | null;
|
|
1331
|
-
type:
|
|
1066
|
+
type: DraftContentTypeEnum;
|
|
1332
1067
|
isCoBorrower: boolean;
|
|
1333
1068
|
applicationPayload: any;
|
|
1334
1069
|
}
|
|
@@ -1447,8 +1182,8 @@ export interface EncompassRequestLog {
|
|
|
1447
1182
|
losId?: string | null;
|
|
1448
1183
|
/** @format uuid */
|
|
1449
1184
|
accountId: string;
|
|
1450
|
-
operationType:
|
|
1451
|
-
outcome:
|
|
1185
|
+
operationType: EncompassRequestLogOperationTypeEnum;
|
|
1186
|
+
outcome: EncompassRequestLogOutcomeEnum;
|
|
1452
1187
|
message: string;
|
|
1453
1188
|
endpoint?: string | null;
|
|
1454
1189
|
httpMethod?: string | null;
|
|
@@ -1665,7 +1400,7 @@ export interface FusionFieldDisplay {
|
|
|
1665
1400
|
fieldValue: string;
|
|
1666
1401
|
}
|
|
1667
1402
|
export interface FusionReportFilter {
|
|
1668
|
-
filterType:
|
|
1403
|
+
filterType: FusionReportFilterFilterTypeEnum;
|
|
1669
1404
|
targetField: string;
|
|
1670
1405
|
targetValue: string;
|
|
1671
1406
|
}
|
|
@@ -1779,7 +1514,7 @@ export interface GuidPatchOperation {
|
|
|
1779
1514
|
from?: string | null;
|
|
1780
1515
|
}
|
|
1781
1516
|
export interface IPAddress {
|
|
1782
|
-
addressFamily:
|
|
1517
|
+
addressFamily: IpAddressAddressFamilyEnum;
|
|
1783
1518
|
/** @format int64 */
|
|
1784
1519
|
scopeId: number;
|
|
1785
1520
|
isIPv6Multicast: boolean;
|
|
@@ -2942,7 +2677,7 @@ export interface LoanContact {
|
|
|
2942
2677
|
email?: string | null;
|
|
2943
2678
|
phone?: string | null;
|
|
2944
2679
|
companyName?: string | null;
|
|
2945
|
-
role:
|
|
2680
|
+
role: LoanContactRoleEnum;
|
|
2946
2681
|
}
|
|
2947
2682
|
export interface LoanContactList {
|
|
2948
2683
|
email: string;
|
|
@@ -3067,13 +2802,13 @@ export interface LoanImport {
|
|
|
3067
2802
|
/** @format int32 */
|
|
3068
2803
|
importedCount: number;
|
|
3069
2804
|
statusMessage?: string | null;
|
|
3070
|
-
status:
|
|
3071
|
-
importMode:
|
|
2805
|
+
status: LoanImportStatusEnum;
|
|
2806
|
+
importMode: LoanImportImportModeEnum;
|
|
3072
2807
|
/** @format date-time */
|
|
3073
2808
|
createdAt?: string | null;
|
|
3074
2809
|
}
|
|
3075
2810
|
export interface LoanImportLog {
|
|
3076
|
-
level:
|
|
2811
|
+
level: LoanImportLogLevelEnum;
|
|
3077
2812
|
message: string;
|
|
3078
2813
|
/** @format date-time */
|
|
3079
2814
|
createdAt: string;
|
|
@@ -3128,8 +2863,8 @@ export interface LoanListPaginated {
|
|
|
3128
2863
|
export interface LoanLog {
|
|
3129
2864
|
/** @format uuid */
|
|
3130
2865
|
id: string;
|
|
3131
|
-
level:
|
|
3132
|
-
type:
|
|
2866
|
+
level: LoanLogLevelEnum;
|
|
2867
|
+
type: LoanLogTypeEnum;
|
|
3133
2868
|
message: string;
|
|
3134
2869
|
/** @format date-time */
|
|
3135
2870
|
createdAt: string;
|
|
@@ -3389,7 +3124,7 @@ export interface LoanUser {
|
|
|
3389
3124
|
email: string;
|
|
3390
3125
|
phone?: string | null;
|
|
3391
3126
|
role: string;
|
|
3392
|
-
loanRole:
|
|
3127
|
+
loanRole: LoanUserLoanRoleEnum;
|
|
3393
3128
|
isUser: boolean;
|
|
3394
3129
|
/** @format date-time */
|
|
3395
3130
|
createdAt: string;
|
|
@@ -3996,7 +3731,7 @@ export interface SSOTokenRequest {
|
|
|
3996
3731
|
redirectUri: string;
|
|
3997
3732
|
}
|
|
3998
3733
|
export interface SamlMetadataRequest {
|
|
3999
|
-
ssoIntegration:
|
|
3734
|
+
ssoIntegration: SamlMetadataRequestSsoIntegrationEnum;
|
|
4000
3735
|
}
|
|
4001
3736
|
export interface SendForgotPasswordRequest {
|
|
4002
3737
|
/**
|
|
@@ -4031,7 +3766,7 @@ export interface SiteConfiguration {
|
|
|
4031
3766
|
deletedAt?: string | null;
|
|
4032
3767
|
/** @format uuid */
|
|
4033
3768
|
id: string;
|
|
4034
|
-
type:
|
|
3769
|
+
type: SiteConfigurationTypeEnum;
|
|
4035
3770
|
/** @format uuid */
|
|
4036
3771
|
entityID: string;
|
|
4037
3772
|
/** @format int32 */
|
|
@@ -4225,7 +3960,7 @@ export interface SiteConfigurationByUrl {
|
|
|
4225
3960
|
deletedAt?: string | null;
|
|
4226
3961
|
/** @format uuid */
|
|
4227
3962
|
id: string;
|
|
4228
|
-
type:
|
|
3963
|
+
type: SiteConfigurationByUrlTypeEnum;
|
|
4229
3964
|
/** @format uuid */
|
|
4230
3965
|
entityID: string;
|
|
4231
3966
|
/** @format int32 */
|
|
@@ -4436,7 +4171,7 @@ export interface SiteConfigurationForm {
|
|
|
4436
4171
|
export interface SiteConfigurationReduced {
|
|
4437
4172
|
/** @format uuid */
|
|
4438
4173
|
id: string;
|
|
4439
|
-
type:
|
|
4174
|
+
type: SiteConfigurationReducedTypeEnum;
|
|
4440
4175
|
url?: string | null;
|
|
4441
4176
|
name: string;
|
|
4442
4177
|
/** @format int64 */
|
|
@@ -4453,7 +4188,7 @@ export interface SiteConfigurationRequest {
|
|
|
4453
4188
|
entityID: string;
|
|
4454
4189
|
/** @format int32 */
|
|
4455
4190
|
entityType: number;
|
|
4456
|
-
type:
|
|
4191
|
+
type: SiteConfigurationRequestTypeEnum;
|
|
4457
4192
|
url: string;
|
|
4458
4193
|
name: string;
|
|
4459
4194
|
introduction?: string | null;
|
|
@@ -4628,7 +4363,7 @@ export interface SiteConfigurationSearchCriteria {
|
|
|
4628
4363
|
export interface SiteConfigurationSummary {
|
|
4629
4364
|
/** @format uuid */
|
|
4630
4365
|
id: string;
|
|
4631
|
-
type:
|
|
4366
|
+
type: SiteConfigurationSummaryTypeEnum;
|
|
4632
4367
|
url?: string | null;
|
|
4633
4368
|
name: string;
|
|
4634
4369
|
/** @format int64 */
|
|
@@ -4909,57 +4644,6 @@ export interface UpdateAccountRequest {
|
|
|
4909
4644
|
asoSettings?: ASOSettings | null;
|
|
4910
4645
|
settings: AccountSettingsRequest;
|
|
4911
4646
|
}
|
|
4912
|
-
export interface UpdateAiCanonicalFieldRequest {
|
|
4913
|
-
/**
|
|
4914
|
-
* @minLength 1
|
|
4915
|
-
* @maxLength 200
|
|
4916
|
-
*/
|
|
4917
|
-
displayName: string;
|
|
4918
|
-
/** @minLength 1 */
|
|
4919
|
-
description: string;
|
|
4920
|
-
/** @minItems 1 */
|
|
4921
|
-
allowedRoles: string[];
|
|
4922
|
-
isPii: boolean;
|
|
4923
|
-
}
|
|
4924
|
-
export interface UpdateAiGuardrailRequest {
|
|
4925
|
-
/**
|
|
4926
|
-
* @minLength 1
|
|
4927
|
-
* @maxLength 200
|
|
4928
|
-
*/
|
|
4929
|
-
name: string;
|
|
4930
|
-
category: "ContentSafety" | "PromptInjection" | "Privacy" | "Legal";
|
|
4931
|
-
description?: string | null;
|
|
4932
|
-
/** @minItems 1 */
|
|
4933
|
-
keywords: string[];
|
|
4934
|
-
/** @minLength 1 */
|
|
4935
|
-
responseTemplate: string;
|
|
4936
|
-
}
|
|
4937
|
-
export interface UpdateAiPromptRequest {
|
|
4938
|
-
/**
|
|
4939
|
-
* @minLength 1
|
|
4940
|
-
* @maxLength 200
|
|
4941
|
-
*/
|
|
4942
|
-
title: string;
|
|
4943
|
-
icon: string;
|
|
4944
|
-
/**
|
|
4945
|
-
* @minLength 1
|
|
4946
|
-
* @maxLength 500
|
|
4947
|
-
*/
|
|
4948
|
-
description: string;
|
|
4949
|
-
documentTypes: string[];
|
|
4950
|
-
applicableGuidelines: string[];
|
|
4951
|
-
allowedRoles: string[];
|
|
4952
|
-
/** @minLength 1 */
|
|
4953
|
-
systemPrompt: string;
|
|
4954
|
-
/** @minLength 1 */
|
|
4955
|
-
userPromptTemplate: string;
|
|
4956
|
-
followUpPrompts: string[];
|
|
4957
|
-
/** @format int32 */
|
|
4958
|
-
sortOrder: number;
|
|
4959
|
-
category?: AiPromptCategory | null;
|
|
4960
|
-
queryTemplateName?: AiQueryTemplateName | null;
|
|
4961
|
-
displayHint?: AiDisplayHint | null;
|
|
4962
|
-
}
|
|
4963
4647
|
export interface UpdateDocumentTemplateRequest {
|
|
4964
4648
|
/** @minLength 1 */
|
|
4965
4649
|
htmlBody: string;
|
|
@@ -5256,7 +4940,7 @@ export interface UserDevice {
|
|
|
5256
4940
|
export interface UserDraft {
|
|
5257
4941
|
/** @format uuid */
|
|
5258
4942
|
draftID: string;
|
|
5259
|
-
role:
|
|
4943
|
+
role: UserDraftRoleEnum;
|
|
5260
4944
|
user: User;
|
|
5261
4945
|
}
|
|
5262
4946
|
export interface UserDraftPaginated {
|
|
@@ -5280,7 +4964,7 @@ export interface UserGroupAccessScope {
|
|
|
5280
4964
|
id: string;
|
|
5281
4965
|
/** @format uuid */
|
|
5282
4966
|
groupId: string;
|
|
5283
|
-
scopeType:
|
|
4967
|
+
scopeType: UserGroupAccessScopeScopeTypeEnum;
|
|
5284
4968
|
/** @format uuid */
|
|
5285
4969
|
userId?: string | null;
|
|
5286
4970
|
/** @format uuid */
|
|
@@ -5313,7 +4997,7 @@ export interface UserLoan {
|
|
|
5313
4997
|
deletedAt?: string | null;
|
|
5314
4998
|
loanID: string;
|
|
5315
4999
|
user: User;
|
|
5316
|
-
role:
|
|
5000
|
+
role: UserLoanRoleEnum;
|
|
5317
5001
|
/** @format int32 */
|
|
5318
5002
|
borrowerPair?: number | null;
|
|
5319
5003
|
/** @format int32 */
|
|
@@ -5325,10 +5009,10 @@ export interface UserLoanConsent {
|
|
|
5325
5009
|
id: string;
|
|
5326
5010
|
/** @format uuid */
|
|
5327
5011
|
userLoanID: string;
|
|
5328
|
-
type:
|
|
5012
|
+
type: UserLoanConsentTypeEnum;
|
|
5329
5013
|
providedConsent: boolean;
|
|
5330
5014
|
ipAddress?: string | null;
|
|
5331
|
-
losSyncStatus:
|
|
5015
|
+
losSyncStatus: UserLoanConsentLosSyncStatusEnum;
|
|
5332
5016
|
/** @format date-time */
|
|
5333
5017
|
createdAt: string;
|
|
5334
5018
|
}
|
|
@@ -5460,7 +5144,7 @@ export interface UserSummary {
|
|
|
5460
5144
|
id: string;
|
|
5461
5145
|
name?: string | null;
|
|
5462
5146
|
email?: string | null;
|
|
5463
|
-
role:
|
|
5147
|
+
role: UserSummaryRoleEnum;
|
|
5464
5148
|
}
|
|
5465
5149
|
export interface VerifyPasswordRequest {
|
|
5466
5150
|
/**
|
|
@@ -5493,6 +5177,45 @@ export interface Workflow {
|
|
|
5493
5177
|
tileSubtitle: string;
|
|
5494
5178
|
icon: string;
|
|
5495
5179
|
}
|
|
5180
|
+
export type AccountBillingRequestBillingTypeEnum = "ClosedLoan" | "LoanOfficer";
|
|
5181
|
+
export type CreateAccessScopeRequestScopeTypeEnum = "User" | "Branch";
|
|
5182
|
+
export type CreateAccountRequestEnvironmentEnum = "Development" | "Staging" | "UAT" | "Production";
|
|
5183
|
+
export type CreateGroupMemberRequestLoanRoleEnum = "Borrower" | "CoBorrower" | "NonBorrower" | "LoanOfficer" | "LoanProcessor" | "LoanOfficerAssistant" | "SupportingLoanOfficer" | "BuyerAgent" | "SellerAgent" | "TitleInsuranceAgent" | "EscrowAgent" | "SettlementAgent";
|
|
5184
|
+
/** @deprecated */
|
|
5185
|
+
export type CreateInviteRequestRelationshipEnum = "NotApplicable" | "Spouse" | "NonSpouse";
|
|
5186
|
+
export type CreateLoanImportRequestImportModeEnum = "All" | "NewOnly" | "UpdateOnly";
|
|
5187
|
+
export type CreateUserDraftLoanRoleEnum = "Borrower" | "CoBorrower" | "NonBorrower" | "LoanOfficer" | "LoanProcessor" | "LoanOfficerAssistant" | "SupportingLoanOfficer" | "BuyerAgent" | "SellerAgent" | "TitleInsuranceAgent" | "EscrowAgent" | "SettlementAgent";
|
|
5188
|
+
export type DraftTypeEnum = "NewLoan" | "EditLoan";
|
|
5189
|
+
export type DraftContentTypeEnum = "NewLoan" | "EditLoan";
|
|
5190
|
+
export type EncompassRequestLogOperationTypeEnum = "FieldUpdate" | "EConsentUpdate" | "DocumentSync" | "MilestoneUpdate" | "DocumentAttachment" | "General" | "FieldReader";
|
|
5191
|
+
export type EncompassRequestLogOutcomeEnum = "Success" | "Failure" | "PartialSuccess";
|
|
5192
|
+
export type FusionReportFilterFilterTypeEnum = "DateGreaterThanOrEqualTo" | "DateGreaterThan" | "DateLessThan" | "DateLessThanOrEqualTo" | "DateEquals" | "DateDoesntEqual" | "DateNonEmpty" | "DateEmpty" | "StringContains" | "StringEquals" | "StringNotEmpty" | "StringNotEquals" | "StringNotContains";
|
|
5193
|
+
export type IpAddressAddressFamilyEnum = "Unspecified" | "Unix" | "InterNetwork" | "ImpLink" | "Pup" | "Chaos" | "NS" | "Ipx" | "Iso" | "Osi" | "Ecma" | "DataKit" | "Ccitt" | "Sna" | "DecNet" | "DataLink" | "Lat" | "HyperChannel" | "AppleTalk" | "NetBios" | "VoiceView" | "FireFox" | "Banyan" | "Atm" | "InterNetworkV6" | "Cluster" | "Ieee12844" | "Irda" | "NetworkDesigners" | "Max" | "Packet" | "ControllerAreaNetwork" | "Unknown";
|
|
5194
|
+
export type LoanContactRoleEnum = "Borrower" | "CoBorrower" | "NonBorrower" | "LoanOfficer" | "LoanProcessor" | "LoanOfficerAssistant" | "SupportingLoanOfficer" | "BuyerAgent" | "SellerAgent" | "TitleInsuranceAgent" | "EscrowAgent" | "SettlementAgent";
|
|
5195
|
+
export type LoanImportStatusEnum = "WaitingProcess" | "InProgress" | "Completed" | "Failed" | "Cancelled";
|
|
5196
|
+
export type LoanImportImportModeEnum = "All" | "NewOnly" | "UpdateOnly";
|
|
5197
|
+
export type LoanImportLogLevelEnum = "None" | "Info" | "Warning" | "Error";
|
|
5198
|
+
export type LoanLogLevelEnum = "None" | "Info" | "Warning" | "Error";
|
|
5199
|
+
export type LoanLogTypeEnum = "Loan" | "Queue" | "POSFlagChanged" | "Verification" | "DocumentUploaded" | "LoanCreated" | "WorkflowSubmitted" | "UserInvitationSent" | "CoBorrowerAdded" | "TaskCompleted" | "LoanStatusChanged" | "EConsent" | "SensitiveDataPurge";
|
|
5200
|
+
export type LoanUserLoanRoleEnum = "Borrower" | "CoBorrower" | "NonBorrower" | "LoanOfficer" | "LoanProcessor" | "LoanOfficerAssistant" | "SupportingLoanOfficer" | "BuyerAgent" | "SellerAgent" | "TitleInsuranceAgent" | "EscrowAgent" | "SettlementAgent";
|
|
5201
|
+
export type SamlMetadataRequestSsoIntegrationEnum = "ConsumerConnect" | "TheBigPOS" | "POSF";
|
|
5202
|
+
export type SiteConfigurationTypeEnum = "None" | "Account" | "Corporate" | "Branch" | "LoanOfficer" | "Partner";
|
|
5203
|
+
export type SiteConfigurationByUrlTypeEnum = "None" | "Account" | "Corporate" | "Branch" | "LoanOfficer" | "Partner";
|
|
5204
|
+
export type SiteConfigurationReducedTypeEnum = "None" | "Account" | "Corporate" | "Branch" | "LoanOfficer" | "Partner";
|
|
5205
|
+
export type SiteConfigurationRequestTypeEnum = "None" | "Account" | "Corporate" | "Branch" | "LoanOfficer" | "Partner";
|
|
5206
|
+
export type SiteConfigurationSummaryTypeEnum = "None" | "Account" | "Corporate" | "Branch" | "LoanOfficer" | "Partner";
|
|
5207
|
+
export type UserDraftRoleEnum = "Borrower" | "CoBorrower" | "NonBorrower" | "LoanOfficer" | "LoanProcessor" | "LoanOfficerAssistant" | "SupportingLoanOfficer" | "BuyerAgent" | "SellerAgent" | "TitleInsuranceAgent" | "EscrowAgent" | "SettlementAgent";
|
|
5208
|
+
export type UserGroupAccessScopeScopeTypeEnum = "User" | "Branch";
|
|
5209
|
+
export type UserLoanRoleEnum = "Borrower" | "CoBorrower" | "NonBorrower" | "LoanOfficer" | "LoanProcessor" | "LoanOfficerAssistant" | "SupportingLoanOfficer" | "BuyerAgent" | "SellerAgent" | "TitleInsuranceAgent" | "EscrowAgent" | "SettlementAgent";
|
|
5210
|
+
export type UserLoanConsentTypeEnum = "Econsent" | "CreditAuthorization" | "Tcpa";
|
|
5211
|
+
export type UserLoanConsentLosSyncStatusEnum = "NotStarted" | "Failed" | "Success";
|
|
5212
|
+
export type UserSummaryRoleEnum = "Borrower" | "LoanOfficer" | "Admin" | "SuperAdmin" | "Realtor" | "SettlementAgent" | "LoanProcessor" | "LoanOfficerAssistant" | "SystemAdmin";
|
|
5213
|
+
/** @default "Realtor" */
|
|
5214
|
+
export type GetPartnersParamsRoleEnum = "Borrower" | "LoanOfficer" | "Admin" | "SuperAdmin" | "Realtor" | "SettlementAgent" | "LoanProcessor" | "LoanOfficerAssistant" | "SystemAdmin";
|
|
5215
|
+
export type GetSamlMetadataParamsSSoIntegrationEnum = "ConsumerConnect" | "TheBigPOS" | "POSF";
|
|
5216
|
+
export type GetSamlMetadataParamsEnum = "ConsumerConnect" | "TheBigPOS" | "POSF";
|
|
5217
|
+
export type CreateOrReplaceSamlMetadataParamsSSoIntegrationEnum = "ConsumerConnect" | "TheBigPOS" | "POSF";
|
|
5218
|
+
export type CreateOrReplaceSamlMetadataParamsEnum = "ConsumerConnect" | "TheBigPOS" | "POSF";
|
|
5496
5219
|
import type { AxiosInstance, AxiosRequestConfig, AxiosResponse, ResponseType } from "axios";
|
|
5497
5220
|
export type QueryParamsType = Record<string | number, any>;
|
|
5498
5221
|
export interface FullRequestParams extends Omit<AxiosRequestConfig, "data" | "params" | "url" | "responseType"> {
|
|
@@ -5676,333 +5399,6 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
|
|
|
5676
5399
|
* @response `422` `ProblemDetails` Client Error
|
|
5677
5400
|
*/
|
|
5678
5401
|
updateAccountBilling: (id: string, data: AccountBillingRequest, params?: RequestParams) => Promise<AxiosResponse<AccountBilling, any, {}>>;
|
|
5679
|
-
/**
|
|
5680
|
-
* No description
|
|
5681
|
-
*
|
|
5682
|
-
* @tags AiAdmin
|
|
5683
|
-
* @name GetAiAuditLogs
|
|
5684
|
-
* @summary Get paginated audit logs
|
|
5685
|
-
* @request GET:/api/ai/admin/audit-logs
|
|
5686
|
-
* @secure
|
|
5687
|
-
* @response `200` `AiAuditLogPaginated` Success
|
|
5688
|
-
*/
|
|
5689
|
-
getAiAuditLogs: (query?: {
|
|
5690
|
-
eventType?: AiAuditEventType;
|
|
5691
|
-
/** @format date-time */
|
|
5692
|
-
startDate?: string;
|
|
5693
|
-
/** @format date-time */
|
|
5694
|
-
endDate?: string;
|
|
5695
|
-
/** @format int32 */
|
|
5696
|
-
pageSize?: number;
|
|
5697
|
-
/** @format int32 */
|
|
5698
|
-
pageNumber?: number;
|
|
5699
|
-
sortBy?: string;
|
|
5700
|
-
sortDirection?: string;
|
|
5701
|
-
}, params?: RequestParams) => Promise<AxiosResponse<AiAuditLogPaginated, any, {}>>;
|
|
5702
|
-
/**
|
|
5703
|
-
* No description
|
|
5704
|
-
*
|
|
5705
|
-
* @tags AiAdmin
|
|
5706
|
-
* @name GetAiAdminStats
|
|
5707
|
-
* @summary Get AI admin dashboard stats
|
|
5708
|
-
* @request GET:/api/ai/admin/stats
|
|
5709
|
-
* @secure
|
|
5710
|
-
* @response `200` `AiAdminStats` Success
|
|
5711
|
-
*/
|
|
5712
|
-
getAiAdminStats: (query?: {
|
|
5713
|
-
/** @format date-time */
|
|
5714
|
-
startDate?: string;
|
|
5715
|
-
/** @format date-time */
|
|
5716
|
-
endDate?: string;
|
|
5717
|
-
}, params?: RequestParams) => Promise<AxiosResponse<AiAdminStats, any, {}>>;
|
|
5718
|
-
/**
|
|
5719
|
-
* No description
|
|
5720
|
-
*
|
|
5721
|
-
* @tags AiAdminPrompt
|
|
5722
|
-
* @name GetAiPrompts
|
|
5723
|
-
* @summary Get all prompts
|
|
5724
|
-
* @request GET:/api/ai/admin/prompts
|
|
5725
|
-
* @secure
|
|
5726
|
-
* @response `200` `(AiPrompt)[]` Success
|
|
5727
|
-
*/
|
|
5728
|
-
getAiPrompts: (params?: RequestParams) => Promise<AxiosResponse<AiPrompt[], any, {}>>;
|
|
5729
|
-
/**
|
|
5730
|
-
* No description
|
|
5731
|
-
*
|
|
5732
|
-
* @tags AiAdminPrompt
|
|
5733
|
-
* @name CreateAiPrompt
|
|
5734
|
-
* @summary Create custom prompt
|
|
5735
|
-
* @request POST:/api/ai/admin/prompts
|
|
5736
|
-
* @secure
|
|
5737
|
-
* @response `201` `AiPrompt` Created
|
|
5738
|
-
* @response `400` `ProblemDetails` Bad Request
|
|
5739
|
-
*/
|
|
5740
|
-
createAiPrompt: (data: CreateAiPromptRequest, params?: RequestParams) => Promise<AxiosResponse<AiPrompt, any, {}>>;
|
|
5741
|
-
/**
|
|
5742
|
-
* No description
|
|
5743
|
-
*
|
|
5744
|
-
* @tags AiAdminPrompt
|
|
5745
|
-
* @name GetAiPrompt
|
|
5746
|
-
* @summary Get prompt by ID
|
|
5747
|
-
* @request GET:/api/ai/admin/prompts/{id}
|
|
5748
|
-
* @secure
|
|
5749
|
-
* @response `200` `AiPrompt` Success
|
|
5750
|
-
* @response `404` `ProblemDetails` Not Found
|
|
5751
|
-
*/
|
|
5752
|
-
getAiPrompt: (id: string, params?: RequestParams) => Promise<AxiosResponse<AiPrompt, any, {}>>;
|
|
5753
|
-
/**
|
|
5754
|
-
* No description
|
|
5755
|
-
*
|
|
5756
|
-
* @tags AiAdminPrompt
|
|
5757
|
-
* @name UpdateAiPrompt
|
|
5758
|
-
* @summary Update prompt
|
|
5759
|
-
* @request PUT:/api/ai/admin/prompts/{id}
|
|
5760
|
-
* @secure
|
|
5761
|
-
* @response `200` `AiPrompt` Success
|
|
5762
|
-
* @response `400` `ProblemDetails` Bad Request
|
|
5763
|
-
* @response `404` `ProblemDetails` Not Found
|
|
5764
|
-
*/
|
|
5765
|
-
updateAiPrompt: (id: string, data: UpdateAiPromptRequest, params?: RequestParams) => Promise<AxiosResponse<AiPrompt, any, {}>>;
|
|
5766
|
-
/**
|
|
5767
|
-
* No description
|
|
5768
|
-
*
|
|
5769
|
-
* @tags AiAdminPrompt
|
|
5770
|
-
* @name DeleteAiPrompt
|
|
5771
|
-
* @summary Delete prompt
|
|
5772
|
-
* @request DELETE:/api/ai/admin/prompts/{id}
|
|
5773
|
-
* @secure
|
|
5774
|
-
* @response `204` `void` No Content
|
|
5775
|
-
* @response `400` `ProblemDetails` Bad Request
|
|
5776
|
-
* @response `404` `ProblemDetails` Not Found
|
|
5777
|
-
*/
|
|
5778
|
-
deleteAiPrompt: (id: string, params?: RequestParams) => Promise<AxiosResponse<void, any, {}>>;
|
|
5779
|
-
/**
|
|
5780
|
-
* No description
|
|
5781
|
-
*
|
|
5782
|
-
* @tags AiAdminPrompt
|
|
5783
|
-
* @name ToggleAiPrompt
|
|
5784
|
-
* @summary Toggle prompt active/inactive
|
|
5785
|
-
* @request PATCH:/api/ai/admin/prompts/{id}/toggle
|
|
5786
|
-
* @secure
|
|
5787
|
-
* @response `200` `AiPrompt` Success
|
|
5788
|
-
* @response `404` `ProblemDetails` Not Found
|
|
5789
|
-
*/
|
|
5790
|
-
toggleAiPrompt: (id: string, params?: RequestParams) => Promise<AxiosResponse<AiPrompt, any, {}>>;
|
|
5791
|
-
/**
|
|
5792
|
-
* No description
|
|
5793
|
-
*
|
|
5794
|
-
* @tags AiCanonicalField
|
|
5795
|
-
* @name GetAiCanonicalFields
|
|
5796
|
-
* @summary Get all canonical fields
|
|
5797
|
-
* @request GET:/api/ai/admin/fields
|
|
5798
|
-
* @secure
|
|
5799
|
-
* @response `200` `(AiCanonicalField)[]` Success
|
|
5800
|
-
*/
|
|
5801
|
-
getAiCanonicalFields: (params?: RequestParams) => Promise<AxiosResponse<AiCanonicalField[], any, {}>>;
|
|
5802
|
-
/**
|
|
5803
|
-
* No description
|
|
5804
|
-
*
|
|
5805
|
-
* @tags AiCanonicalField
|
|
5806
|
-
* @name CreateAiCanonicalField
|
|
5807
|
-
* @summary Create canonical field
|
|
5808
|
-
* @request POST:/api/ai/admin/fields
|
|
5809
|
-
* @secure
|
|
5810
|
-
* @response `201` `AiCanonicalField` Created
|
|
5811
|
-
* @response `400` `ProblemDetails` Bad Request
|
|
5812
|
-
*/
|
|
5813
|
-
createAiCanonicalField: (data: CreateAiCanonicalFieldRequest, params?: RequestParams) => Promise<AxiosResponse<AiCanonicalField, any, {}>>;
|
|
5814
|
-
/**
|
|
5815
|
-
* No description
|
|
5816
|
-
*
|
|
5817
|
-
* @tags AiCanonicalField
|
|
5818
|
-
* @name GetAiCanonicalField
|
|
5819
|
-
* @summary Get canonical field by ID
|
|
5820
|
-
* @request GET:/api/ai/admin/fields/{id}
|
|
5821
|
-
* @secure
|
|
5822
|
-
* @response `200` `AiCanonicalField` Success
|
|
5823
|
-
* @response `404` `ProblemDetails` Not Found
|
|
5824
|
-
*/
|
|
5825
|
-
getAiCanonicalField: (id: string, params?: RequestParams) => Promise<AxiosResponse<AiCanonicalField, any, {}>>;
|
|
5826
|
-
/**
|
|
5827
|
-
* No description
|
|
5828
|
-
*
|
|
5829
|
-
* @tags AiCanonicalField
|
|
5830
|
-
* @name UpdateAiCanonicalField
|
|
5831
|
-
* @summary Update canonical field
|
|
5832
|
-
* @request PUT:/api/ai/admin/fields/{id}
|
|
5833
|
-
* @secure
|
|
5834
|
-
* @response `200` `AiCanonicalField` Success
|
|
5835
|
-
* @response `400` `ProblemDetails` Bad Request
|
|
5836
|
-
* @response `404` `ProblemDetails` Not Found
|
|
5837
|
-
*/
|
|
5838
|
-
updateAiCanonicalField: (id: string, data: UpdateAiCanonicalFieldRequest, params?: RequestParams) => Promise<AxiosResponse<AiCanonicalField, any, {}>>;
|
|
5839
|
-
/**
|
|
5840
|
-
* No description
|
|
5841
|
-
*
|
|
5842
|
-
* @tags AiCanonicalField
|
|
5843
|
-
* @name DeleteAiCanonicalField
|
|
5844
|
-
* @summary Delete canonical field
|
|
5845
|
-
* @request DELETE:/api/ai/admin/fields/{id}
|
|
5846
|
-
* @secure
|
|
5847
|
-
* @response `204` `void` No Content
|
|
5848
|
-
* @response `404` `ProblemDetails` Not Found
|
|
5849
|
-
*/
|
|
5850
|
-
deleteAiCanonicalField: (id: string, params?: RequestParams) => Promise<AxiosResponse<void, any, {}>>;
|
|
5851
|
-
/**
|
|
5852
|
-
* No description
|
|
5853
|
-
*
|
|
5854
|
-
* @tags AiCanonicalField
|
|
5855
|
-
* @name ToggleAiCanonicalField
|
|
5856
|
-
* @summary Toggle canonical field active/inactive
|
|
5857
|
-
* @request PATCH:/api/ai/admin/fields/{id}/toggle
|
|
5858
|
-
* @secure
|
|
5859
|
-
* @response `200` `AiCanonicalField` Success
|
|
5860
|
-
* @response `404` `ProblemDetails` Not Found
|
|
5861
|
-
*/
|
|
5862
|
-
toggleAiCanonicalField: (id: string, params?: RequestParams) => Promise<AxiosResponse<AiCanonicalField, any, {}>>;
|
|
5863
|
-
/**
|
|
5864
|
-
* No description
|
|
5865
|
-
*
|
|
5866
|
-
* @tags AiChat
|
|
5867
|
-
* @name AiChat
|
|
5868
|
-
* @summary Send AI chat message
|
|
5869
|
-
* @request POST:/api/ai/chat
|
|
5870
|
-
* @secure
|
|
5871
|
-
* @response `200` `AiChat` Success
|
|
5872
|
-
* @response `400` `ProblemDetails` Bad Request
|
|
5873
|
-
* @response `401` `ProblemDetails` Unauthorized
|
|
5874
|
-
*/
|
|
5875
|
-
aiChat: (data: AiChatRequest, params?: RequestParams) => Promise<AxiosResponse<AiChat, any, {}>>;
|
|
5876
|
-
/**
|
|
5877
|
-
* No description
|
|
5878
|
-
*
|
|
5879
|
-
* @tags AiConversation
|
|
5880
|
-
* @name GetAiConversations
|
|
5881
|
-
* @summary Get user conversations
|
|
5882
|
-
* @request GET:/api/ai/conversations
|
|
5883
|
-
* @secure
|
|
5884
|
-
* @response `200` `AiConversationListItemPaginated` Success
|
|
5885
|
-
*/
|
|
5886
|
-
getAiConversations: (query?: {
|
|
5887
|
-
/** @format int32 */
|
|
5888
|
-
pageSize?: number;
|
|
5889
|
-
/** @format int32 */
|
|
5890
|
-
pageNumber?: number;
|
|
5891
|
-
sortBy?: string;
|
|
5892
|
-
sortDirection?: string;
|
|
5893
|
-
}, params?: RequestParams) => Promise<AxiosResponse<AiConversationListItemPaginated, any, {}>>;
|
|
5894
|
-
/**
|
|
5895
|
-
* No description
|
|
5896
|
-
*
|
|
5897
|
-
* @tags AiConversation
|
|
5898
|
-
* @name GetAiConversation
|
|
5899
|
-
* @summary Get conversation with messages
|
|
5900
|
-
* @request GET:/api/ai/conversations/{id}
|
|
5901
|
-
* @secure
|
|
5902
|
-
* @response `200` `AiConversationDetail` Success
|
|
5903
|
-
* @response `403` `ProblemDetails` Forbidden
|
|
5904
|
-
* @response `404` `ProblemDetails` Not Found
|
|
5905
|
-
*/
|
|
5906
|
-
getAiConversation: (id: string, params?: RequestParams) => Promise<AxiosResponse<AiConversationDetail, any, {}>>;
|
|
5907
|
-
/**
|
|
5908
|
-
* No description
|
|
5909
|
-
*
|
|
5910
|
-
* @tags AiConversation
|
|
5911
|
-
* @name DeleteAiConversation
|
|
5912
|
-
* @summary Delete conversation
|
|
5913
|
-
* @request DELETE:/api/ai/conversations/{id}
|
|
5914
|
-
* @secure
|
|
5915
|
-
* @response `204` `void` No Content
|
|
5916
|
-
* @response `403` `ProblemDetails` Forbidden
|
|
5917
|
-
* @response `404` `ProblemDetails` Not Found
|
|
5918
|
-
*/
|
|
5919
|
-
deleteAiConversation: (id: string, params?: RequestParams) => Promise<AxiosResponse<void, any, {}>>;
|
|
5920
|
-
/**
|
|
5921
|
-
* No description
|
|
5922
|
-
*
|
|
5923
|
-
* @tags AiGuardrail
|
|
5924
|
-
* @name GetAiGuardrails
|
|
5925
|
-
* @summary Get all guardrails
|
|
5926
|
-
* @request GET:/api/ai/admin/guardrails
|
|
5927
|
-
* @secure
|
|
5928
|
-
* @response `200` `(AiGuardrail)[]` Success
|
|
5929
|
-
*/
|
|
5930
|
-
getAiGuardrails: (params?: RequestParams) => Promise<AxiosResponse<AiGuardrail[], any, {}>>;
|
|
5931
|
-
/**
|
|
5932
|
-
* No description
|
|
5933
|
-
*
|
|
5934
|
-
* @tags AiGuardrail
|
|
5935
|
-
* @name CreateAiGuardrail
|
|
5936
|
-
* @summary Create custom guardrail
|
|
5937
|
-
* @request POST:/api/ai/admin/guardrails
|
|
5938
|
-
* @secure
|
|
5939
|
-
* @response `201` `AiGuardrail` Created
|
|
5940
|
-
* @response `400` `ProblemDetails` Bad Request
|
|
5941
|
-
*/
|
|
5942
|
-
createAiGuardrail: (data: CreateAiGuardrailRequest, params?: RequestParams) => Promise<AxiosResponse<AiGuardrail, any, {}>>;
|
|
5943
|
-
/**
|
|
5944
|
-
* No description
|
|
5945
|
-
*
|
|
5946
|
-
* @tags AiGuardrail
|
|
5947
|
-
* @name GetAiGuardrail
|
|
5948
|
-
* @summary Get guardrail by ID
|
|
5949
|
-
* @request GET:/api/ai/admin/guardrails/{id}
|
|
5950
|
-
* @secure
|
|
5951
|
-
* @response `200` `AiGuardrail` Success
|
|
5952
|
-
* @response `404` `ProblemDetails` Not Found
|
|
5953
|
-
*/
|
|
5954
|
-
getAiGuardrail: (id: string, params?: RequestParams) => Promise<AxiosResponse<AiGuardrail, any, {}>>;
|
|
5955
|
-
/**
|
|
5956
|
-
* No description
|
|
5957
|
-
*
|
|
5958
|
-
* @tags AiGuardrail
|
|
5959
|
-
* @name UpdateAiGuardrail
|
|
5960
|
-
* @summary Update guardrail
|
|
5961
|
-
* @request PUT:/api/ai/admin/guardrails/{id}
|
|
5962
|
-
* @secure
|
|
5963
|
-
* @response `200` `AiGuardrail` Success
|
|
5964
|
-
* @response `400` `ProblemDetails` Bad Request
|
|
5965
|
-
* @response `404` `ProblemDetails` Not Found
|
|
5966
|
-
*/
|
|
5967
|
-
updateAiGuardrail: (id: string, data: UpdateAiGuardrailRequest, params?: RequestParams) => Promise<AxiosResponse<AiGuardrail, any, {}>>;
|
|
5968
|
-
/**
|
|
5969
|
-
* No description
|
|
5970
|
-
*
|
|
5971
|
-
* @tags AiGuardrail
|
|
5972
|
-
* @name DeleteAiGuardrail
|
|
5973
|
-
* @summary Delete guardrail
|
|
5974
|
-
* @request DELETE:/api/ai/admin/guardrails/{id}
|
|
5975
|
-
* @secure
|
|
5976
|
-
* @response `204` `void` No Content
|
|
5977
|
-
* @response `400` `ProblemDetails` Bad Request
|
|
5978
|
-
* @response `404` `ProblemDetails` Not Found
|
|
5979
|
-
*/
|
|
5980
|
-
deleteAiGuardrail: (id: string, params?: RequestParams) => Promise<AxiosResponse<void, any, {}>>;
|
|
5981
|
-
/**
|
|
5982
|
-
* No description
|
|
5983
|
-
*
|
|
5984
|
-
* @tags AiGuardrail
|
|
5985
|
-
* @name ToggleAiGuardrail
|
|
5986
|
-
* @summary Toggle guardrail enabled/disabled
|
|
5987
|
-
* @request PATCH:/api/ai/admin/guardrails/{id}/toggle
|
|
5988
|
-
* @secure
|
|
5989
|
-
* @response `200` `AiGuardrail` Success
|
|
5990
|
-
* @response `404` `ProblemDetails` Not Found
|
|
5991
|
-
*/
|
|
5992
|
-
toggleAiGuardrail: (id: string, params?: RequestParams) => Promise<AxiosResponse<AiGuardrail, any, {}>>;
|
|
5993
|
-
/**
|
|
5994
|
-
* No description
|
|
5995
|
-
*
|
|
5996
|
-
* @tags AiPrompt
|
|
5997
|
-
* @name GetAvailablePrompts
|
|
5998
|
-
* @summary Get available prompts for current user
|
|
5999
|
-
* @request GET:/api/ai/prompts
|
|
6000
|
-
* @secure
|
|
6001
|
-
* @response `200` `(AiPromptSummary)[]` Success
|
|
6002
|
-
*/
|
|
6003
|
-
getAvailablePrompts: (query?: {
|
|
6004
|
-
documentType?: string;
|
|
6005
|
-
}, params?: RequestParams) => Promise<AxiosResponse<AiPromptSummary[], any, {}>>;
|
|
6006
5402
|
/**
|
|
6007
5403
|
* No description
|
|
6008
5404
|
*
|
|
@@ -8660,7 +8056,7 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
|
|
|
8660
8056
|
getPartners: (query?: {
|
|
8661
8057
|
showAll?: boolean;
|
|
8662
8058
|
/** @default "Realtor" */
|
|
8663
|
-
role?:
|
|
8059
|
+
role?: GetPartnersParamsRoleEnum;
|
|
8664
8060
|
/** @format int32 */
|
|
8665
8061
|
pageSize?: number;
|
|
8666
8062
|
/** @format int32 */
|
|
@@ -8838,7 +8234,7 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
|
|
|
8838
8234
|
* @response `200` `File` Success
|
|
8839
8235
|
* @response `404` `ProblemDetails` Not Found
|
|
8840
8236
|
*/
|
|
8841
|
-
getSamlMetadata: (sSoIntegration:
|
|
8237
|
+
getSamlMetadata: (sSoIntegration: GetSamlMetadataParamsEnum, ssoIntegration: string, params?: RequestParams) => Promise<AxiosResponse<File, any, {}>>;
|
|
8842
8238
|
/**
|
|
8843
8239
|
* No description
|
|
8844
8240
|
*
|
|
@@ -8849,7 +8245,7 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
|
|
|
8849
8245
|
* @secure
|
|
8850
8246
|
* @response `200` `File` Success
|
|
8851
8247
|
*/
|
|
8852
|
-
createOrReplaceSamlMetadata: (sSoIntegration:
|
|
8248
|
+
createOrReplaceSamlMetadata: (sSoIntegration: CreateOrReplaceSamlMetadataParamsEnum, ssoIntegration: string, params?: RequestParams) => Promise<AxiosResponse<File, any, {}>>;
|
|
8853
8249
|
/**
|
|
8854
8250
|
* No description
|
|
8855
8251
|
*
|