@matech/thebigpos-sdk 2.45.0-rc7 → 2.45.0-rc8
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 +214 -282
- package/dist/index.js +170 -190
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
- package/src/index.ts +375 -487
package/dist/index.d.ts
CHANGED
|
@@ -79,8 +79,6 @@ export type AiOutputType = "Text" | "Document";
|
|
|
79
79
|
export type AiIntent = "Greeting" | "Invalid" | "Relevant" | "LoanSpecific" | "DocumentList" | "GeneralKnowledge" | "Blocked" | "Action" | "ConversationMeta" | "Capabilities" | "UsageReport";
|
|
80
80
|
export type AiGuardrailCategory = "ContentSafety" | "PromptInjection" | "Privacy" | "Legal";
|
|
81
81
|
export type AiDisplayHint = "Table" | "SummaryCards" | "RankedList" | "Comparison" | "ExecutiveBrief";
|
|
82
|
-
export type AiConfigEntityType = "Prompt" | "Guardrail" | "CanonicalField" | "UrlSource" | "AdminSettings" | "AccountTokenSettings" | "AccountSettings";
|
|
83
|
-
export type AiConfigChangeAction = "Created" | "Updated" | "Deleted" | "Toggled";
|
|
84
82
|
export type AiAuditEventType = "Error" | "GuardrailBlockedPre" | "GuardrailPassedPre" | "IntentClassified" | "LoanResolvedFromMessage" | "DocumentNotFound" | "GuardrailBlockedPost" | "GuardrailPassedPost" | "DocumentAnalyzed" | "DocumentList" | "DocumentResolutionAmbiguous" | "ResponseGenerated" | "ParametersExtracted" | "QueryExecuted" | "LoanContextNotFound" | "LoanContextLoaded" | "GuardrailBlockedBedrock" | "PromptMatched" | "QueryCondensed" | "IntentParseFailed" | "LoanSearchTermDiscarded" | "CanonicalFieldsSelected";
|
|
85
83
|
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";
|
|
86
84
|
export interface ASOSettings {
|
|
@@ -161,7 +159,6 @@ export interface AccountSettings {
|
|
|
161
159
|
smsNumber?: string | null;
|
|
162
160
|
ssoHostOverride?: string | null;
|
|
163
161
|
isEarlyAdopter: boolean;
|
|
164
|
-
isAIEnabled: boolean;
|
|
165
162
|
}
|
|
166
163
|
export interface AccountSettingsRequest {
|
|
167
164
|
isSmsEnabled: boolean;
|
|
@@ -506,28 +503,6 @@ export interface AiChatStructuredData {
|
|
|
506
503
|
generatedDocumentId?: string | null;
|
|
507
504
|
generatedFileName?: string | null;
|
|
508
505
|
}
|
|
509
|
-
export interface AiConfigChangeLog {
|
|
510
|
-
/** @format uuid */
|
|
511
|
-
id: string;
|
|
512
|
-
/** @format uuid */
|
|
513
|
-
accountId?: string | null;
|
|
514
|
-
/** @format uuid */
|
|
515
|
-
actorUserId: string;
|
|
516
|
-
entityType: "Prompt" | "Guardrail" | "CanonicalField" | "UrlSource" | "AdminSettings" | "AccountTokenSettings" | "AccountSettings";
|
|
517
|
-
/** @format uuid */
|
|
518
|
-
entityId?: string | null;
|
|
519
|
-
action: "Created" | "Updated" | "Deleted" | "Toggled";
|
|
520
|
-
before?: any;
|
|
521
|
-
after?: any;
|
|
522
|
-
/** @format date-time */
|
|
523
|
-
createdAt: string;
|
|
524
|
-
}
|
|
525
|
-
export interface AiConfigChangeLogPaginated {
|
|
526
|
-
rows: AiConfigChangeLog[];
|
|
527
|
-
pagination: Pagination;
|
|
528
|
-
/** @format int64 */
|
|
529
|
-
count: number;
|
|
530
|
-
}
|
|
531
506
|
export interface AiConversationAuditSummary {
|
|
532
507
|
/** @format uuid */
|
|
533
508
|
conversationId: string;
|
|
@@ -588,6 +563,9 @@ export interface AiConversationListItemPaginated {
|
|
|
588
563
|
/** @format int64 */
|
|
589
564
|
count: number;
|
|
590
565
|
}
|
|
566
|
+
export interface AiEnabled {
|
|
567
|
+
isEnabled: boolean;
|
|
568
|
+
}
|
|
591
569
|
export interface AiGuardrail {
|
|
592
570
|
/** @format uuid */
|
|
593
571
|
id: string;
|
|
@@ -1787,6 +1765,7 @@ export interface EncompassPackageItem {
|
|
|
1787
1765
|
/** @format date-time */
|
|
1788
1766
|
createdAt: string;
|
|
1789
1767
|
recipientId: string;
|
|
1768
|
+
borrowerName?: string | null;
|
|
1790
1769
|
title?: string | null;
|
|
1791
1770
|
/** @format date-time */
|
|
1792
1771
|
issuedAt?: string | null;
|
|
@@ -6086,13 +6065,35 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
|
|
|
6086
6065
|
* @response `422` `ProblemDetails` Unprocessable Content
|
|
6087
6066
|
*/
|
|
6088
6067
|
updateAccountBilling: (id: string, data: AccountBillingRequest, params?: RequestParams) => Promise<AxiosResponse<AccountBilling, any, {}>>;
|
|
6068
|
+
/**
|
|
6069
|
+
* No description
|
|
6070
|
+
*
|
|
6071
|
+
* @tags AiAccount
|
|
6072
|
+
* @name GetAccountAiEnabled
|
|
6073
|
+
* @summary Get whether AI is enabled for an account (SuperAdmin only)
|
|
6074
|
+
* @request GET:/api/ai/accounts/{accountId}/ai-enabled
|
|
6075
|
+
* @secure
|
|
6076
|
+
* @response `200` `AiEnabled` OK
|
|
6077
|
+
*/
|
|
6078
|
+
getAccountAiEnabled: (accountId: string, params?: RequestParams) => Promise<AxiosResponse<AiEnabled, any, {}>>;
|
|
6079
|
+
/**
|
|
6080
|
+
* No description
|
|
6081
|
+
*
|
|
6082
|
+
* @tags AiAccount
|
|
6083
|
+
* @name SetAccountAiEnabled
|
|
6084
|
+
* @summary Enable or disable AI for an account (SuperAdmin only)
|
|
6085
|
+
* @request PUT:/api/ai/accounts/{accountId}/ai-enabled
|
|
6086
|
+
* @secure
|
|
6087
|
+
* @response `204` `void` No Content
|
|
6088
|
+
*/
|
|
6089
|
+
setAccountAiEnabled: (accountId: string, data: SetAiEnabledRequest, params?: RequestParams) => Promise<AxiosResponse<void, any, {}>>;
|
|
6089
6090
|
/**
|
|
6090
6091
|
* No description
|
|
6091
6092
|
*
|
|
6092
6093
|
* @tags AiAccountSettings
|
|
6093
6094
|
* @name GetAiAccountSettings
|
|
6094
6095
|
* @summary Get account AI settings
|
|
6095
|
-
* @request GET:/api/ai/
|
|
6096
|
+
* @request GET:/api/ai/account-settings
|
|
6096
6097
|
* @secure
|
|
6097
6098
|
* @response `200` `AiAccountSettings` OK
|
|
6098
6099
|
*/
|
|
@@ -6103,127 +6104,19 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
|
|
|
6103
6104
|
* @tags AiAccountSettings
|
|
6104
6105
|
* @name UpdateAiAccountSettings
|
|
6105
6106
|
* @summary Update account AI settings
|
|
6106
|
-
* @request PUT:/api/ai/
|
|
6107
|
+
* @request PUT:/api/ai/account-settings
|
|
6107
6108
|
* @secure
|
|
6108
6109
|
* @response `200` `AiAccountSettings` OK
|
|
6109
6110
|
* @response `400` `ProblemDetails` Bad Request
|
|
6110
6111
|
*/
|
|
6111
6112
|
updateAiAccountSettings: (data: AiAccountSettingsRequest, params?: RequestParams) => Promise<AxiosResponse<AiAccountSettings, any, {}>>;
|
|
6112
|
-
/**
|
|
6113
|
-
* No description
|
|
6114
|
-
*
|
|
6115
|
-
* @tags AiAdmin
|
|
6116
|
-
* @name GetAiAuditLogs
|
|
6117
|
-
* @summary Get paginated audit logs
|
|
6118
|
-
* @request GET:/api/ai/admin/audit-logs
|
|
6119
|
-
* @secure
|
|
6120
|
-
* @response `200` `AiAuditLogPaginated` OK
|
|
6121
|
-
*/
|
|
6122
|
-
getAiAuditLogs: (query?: {
|
|
6123
|
-
eventType?: AiAuditEventType;
|
|
6124
|
-
/** @format uuid */
|
|
6125
|
-
requestId?: string;
|
|
6126
|
-
/** @format uuid */
|
|
6127
|
-
userId?: string;
|
|
6128
|
-
/** @format uuid */
|
|
6129
|
-
conversationId?: string;
|
|
6130
|
-
blockedOnly?: boolean;
|
|
6131
|
-
/** @format date-time */
|
|
6132
|
-
startDate?: string;
|
|
6133
|
-
/** @format date-time */
|
|
6134
|
-
endDate?: string;
|
|
6135
|
-
/** @format int32 */
|
|
6136
|
-
pageSize?: number;
|
|
6137
|
-
/** @format int32 */
|
|
6138
|
-
pageNumber?: number;
|
|
6139
|
-
sortBy?: string;
|
|
6140
|
-
sortDirection?: string;
|
|
6141
|
-
}, params?: RequestParams) => Promise<AxiosResponse<AiAuditLogPaginated, any, {}>>;
|
|
6142
|
-
/**
|
|
6143
|
-
* No description
|
|
6144
|
-
*
|
|
6145
|
-
* @tags AiAdmin
|
|
6146
|
-
* @name GetAiRequestLifecycle
|
|
6147
|
-
* @summary Get the full event lifecycle of a single AI request
|
|
6148
|
-
* @request GET:/api/ai/admin/audit-logs/request/{requestId}
|
|
6149
|
-
* @secure
|
|
6150
|
-
* @response `200` `(AiAuditLog)[]` OK
|
|
6151
|
-
*/
|
|
6152
|
-
getAiRequestLifecycle: (requestId: string, params?: RequestParams) => Promise<AxiosResponse<AiAuditLog[], any, {}>>;
|
|
6153
|
-
/**
|
|
6154
|
-
* No description
|
|
6155
|
-
*
|
|
6156
|
-
* @tags AiAdmin
|
|
6157
|
-
* @name GetAiAuditConversations
|
|
6158
|
-
* @summary List conversations with their audit roll-up — origin user, turns, status, tokens
|
|
6159
|
-
* @request GET:/api/ai/admin/audit-conversations
|
|
6160
|
-
* @secure
|
|
6161
|
-
* @response `200` `AiConversationAuditSummaryPaginated` OK
|
|
6162
|
-
*/
|
|
6163
|
-
getAiAuditConversations: (query?: {
|
|
6164
|
-
searchText?: string;
|
|
6165
|
-
/** @format date-time */
|
|
6166
|
-
startDate?: string;
|
|
6167
|
-
/** @format date-time */
|
|
6168
|
-
endDate?: string;
|
|
6169
|
-
/** @format int32 */
|
|
6170
|
-
pageSize?: number;
|
|
6171
|
-
/** @format int32 */
|
|
6172
|
-
pageNumber?: number;
|
|
6173
|
-
sortBy?: string;
|
|
6174
|
-
sortDirection?: string;
|
|
6175
|
-
}, params?: RequestParams) => Promise<AxiosResponse<AiConversationAuditSummaryPaginated, any, {}>>;
|
|
6176
|
-
/**
|
|
6177
|
-
* No description
|
|
6178
|
-
*
|
|
6179
|
-
* @tags AiAdmin
|
|
6180
|
-
* @name GetAiAdminStats
|
|
6181
|
-
* @summary Get AI admin dashboard stats
|
|
6182
|
-
* @request GET:/api/ai/admin/stats
|
|
6183
|
-
* @secure
|
|
6184
|
-
* @response `200` `AiAdminStats` OK
|
|
6185
|
-
*/
|
|
6186
|
-
getAiAdminStats: (query?: {
|
|
6187
|
-
/** @format date-time */
|
|
6188
|
-
startDate?: string;
|
|
6189
|
-
/** @format date-time */
|
|
6190
|
-
endDate?: string;
|
|
6191
|
-
}, params?: RequestParams) => Promise<AxiosResponse<AiAdminStats, any, {}>>;
|
|
6192
|
-
/**
|
|
6193
|
-
* No description
|
|
6194
|
-
*
|
|
6195
|
-
* @tags AiAdmin
|
|
6196
|
-
* @name GetAiConfigChanges
|
|
6197
|
-
* @summary Get the AI configuration change history (who changed prompts, guardrails, fields, sources)
|
|
6198
|
-
* @request GET:/api/ai/admin/config-changes
|
|
6199
|
-
* @secure
|
|
6200
|
-
* @response `200` `AiConfigChangeLogPaginated` OK
|
|
6201
|
-
*/
|
|
6202
|
-
getAiConfigChanges: (query?: {
|
|
6203
|
-
entityType?: AiConfigEntityType;
|
|
6204
|
-
/** @format uuid */
|
|
6205
|
-
entityId?: string;
|
|
6206
|
-
/** @format uuid */
|
|
6207
|
-
actorUserId?: string;
|
|
6208
|
-
action?: AiConfigChangeAction;
|
|
6209
|
-
/** @format date-time */
|
|
6210
|
-
startDate?: string;
|
|
6211
|
-
/** @format date-time */
|
|
6212
|
-
endDate?: string;
|
|
6213
|
-
/** @format int32 */
|
|
6214
|
-
pageSize?: number;
|
|
6215
|
-
/** @format int32 */
|
|
6216
|
-
pageNumber?: number;
|
|
6217
|
-
sortBy?: string;
|
|
6218
|
-
sortDirection?: string;
|
|
6219
|
-
}, params?: RequestParams) => Promise<AxiosResponse<AiConfigChangeLogPaginated, any, {}>>;
|
|
6220
6113
|
/**
|
|
6221
6114
|
* No description
|
|
6222
6115
|
*
|
|
6223
6116
|
* @tags AiAdminPrompt
|
|
6224
6117
|
* @name GetAiPrompts
|
|
6225
6118
|
* @summary Get all prompts
|
|
6226
|
-
* @request GET:/api/ai/
|
|
6119
|
+
* @request GET:/api/ai/prompts
|
|
6227
6120
|
* @secure
|
|
6228
6121
|
* @response `200` `(AiPrompt)[]` OK
|
|
6229
6122
|
*/
|
|
@@ -6234,7 +6127,7 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
|
|
|
6234
6127
|
* @tags AiAdminPrompt
|
|
6235
6128
|
* @name CreateAiPrompt
|
|
6236
6129
|
* @summary Create custom prompt
|
|
6237
|
-
* @request POST:/api/ai/
|
|
6130
|
+
* @request POST:/api/ai/prompts
|
|
6238
6131
|
* @secure
|
|
6239
6132
|
* @response `201` `AiPrompt` Created
|
|
6240
6133
|
* @response `400` `ProblemDetails` Bad Request
|
|
@@ -6246,7 +6139,7 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
|
|
|
6246
6139
|
* @tags AiAdminPrompt
|
|
6247
6140
|
* @name GetAiPrompt
|
|
6248
6141
|
* @summary Get prompt by ID
|
|
6249
|
-
* @request GET:/api/ai/
|
|
6142
|
+
* @request GET:/api/ai/prompts/{id}
|
|
6250
6143
|
* @secure
|
|
6251
6144
|
* @response `200` `AiPrompt` OK
|
|
6252
6145
|
* @response `404` `ProblemDetails` Not Found
|
|
@@ -6258,7 +6151,7 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
|
|
|
6258
6151
|
* @tags AiAdminPrompt
|
|
6259
6152
|
* @name UpdateAiPrompt
|
|
6260
6153
|
* @summary Update prompt
|
|
6261
|
-
* @request PUT:/api/ai/
|
|
6154
|
+
* @request PUT:/api/ai/prompts/{id}
|
|
6262
6155
|
* @secure
|
|
6263
6156
|
* @response `200` `AiPrompt` OK
|
|
6264
6157
|
* @response `400` `ProblemDetails` Bad Request
|
|
@@ -6271,7 +6164,7 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
|
|
|
6271
6164
|
* @tags AiAdminPrompt
|
|
6272
6165
|
* @name DeleteAiPrompt
|
|
6273
6166
|
* @summary Delete prompt
|
|
6274
|
-
* @request DELETE:/api/ai/
|
|
6167
|
+
* @request DELETE:/api/ai/prompts/{id}
|
|
6275
6168
|
* @secure
|
|
6276
6169
|
* @response `204` `void` No Content
|
|
6277
6170
|
* @response `400` `ProblemDetails` Bad Request
|
|
@@ -6284,7 +6177,7 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
|
|
|
6284
6177
|
* @tags AiAdminPrompt
|
|
6285
6178
|
* @name ToggleAiPrompt
|
|
6286
6179
|
* @summary Toggle prompt active/inactive
|
|
6287
|
-
* @request PATCH:/api/ai/
|
|
6180
|
+
* @request PATCH:/api/ai/prompts/{id}/toggle
|
|
6288
6181
|
* @secure
|
|
6289
6182
|
* @response `200` `AiPrompt` OK
|
|
6290
6183
|
* @response `404` `ProblemDetails` Not Found
|
|
@@ -6296,7 +6189,7 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
|
|
|
6296
6189
|
* @tags AiAdminPrompt
|
|
6297
6190
|
* @name GenerateAiSystemPrompt
|
|
6298
6191
|
* @summary Generate a system prompt from description
|
|
6299
|
-
* @request POST:/api/ai/
|
|
6192
|
+
* @request POST:/api/ai/prompts/generate
|
|
6300
6193
|
* @secure
|
|
6301
6194
|
* @response `200` `GenerateSystemPrompt` OK
|
|
6302
6195
|
* @response `400` `ProblemDetails` Bad Request
|
|
@@ -6306,20 +6199,20 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
|
|
|
6306
6199
|
* No description
|
|
6307
6200
|
*
|
|
6308
6201
|
* @tags AiAdminPrompt
|
|
6309
|
-
* @name
|
|
6202
|
+
* @name GetAiSupportedModels
|
|
6310
6203
|
* @summary Get supported LLM models
|
|
6311
|
-
* @request GET:/api/ai/
|
|
6204
|
+
* @request GET:/api/ai/prompts/supported-models
|
|
6312
6205
|
* @secure
|
|
6313
6206
|
* @response `200` `(SupportedModel)[]` OK
|
|
6314
6207
|
*/
|
|
6315
|
-
|
|
6208
|
+
getAiSupportedModels: (params?: RequestParams) => Promise<AxiosResponse<SupportedModel[], any, {}>>;
|
|
6316
6209
|
/**
|
|
6317
6210
|
* No description
|
|
6318
6211
|
*
|
|
6319
6212
|
* @tags AiAdminSettings
|
|
6320
6213
|
* @name GetAiAdminSettings
|
|
6321
6214
|
* @summary Get global AI settings
|
|
6322
|
-
* @request GET:/api/ai/
|
|
6215
|
+
* @request GET:/api/ai/settings
|
|
6323
6216
|
* @secure
|
|
6324
6217
|
* @response `200` `AiAdminSettings` OK
|
|
6325
6218
|
*/
|
|
@@ -6330,19 +6223,136 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
|
|
|
6330
6223
|
* @tags AiAdminSettings
|
|
6331
6224
|
* @name UpdateAiAdminSettings
|
|
6332
6225
|
* @summary Update global AI settings
|
|
6333
|
-
* @request PUT:/api/ai/
|
|
6226
|
+
* @request PUT:/api/ai/settings
|
|
6334
6227
|
* @secure
|
|
6335
6228
|
* @response `200` `AiAdminSettings` OK
|
|
6336
6229
|
* @response `400` `ProblemDetails` Bad Request
|
|
6337
6230
|
*/
|
|
6338
6231
|
updateAiAdminSettings: (data: AiAdminSettingsRequest, params?: RequestParams) => Promise<AxiosResponse<AiAdminSettings, any, {}>>;
|
|
6232
|
+
/**
|
|
6233
|
+
* No description
|
|
6234
|
+
*
|
|
6235
|
+
* @tags AiAudit
|
|
6236
|
+
* @name GetAiAuditLogs
|
|
6237
|
+
* @summary Get paginated AI audit logs (own account, or any/all accounts for SuperAdmin)
|
|
6238
|
+
* @request GET:/api/ai/audit-logs
|
|
6239
|
+
* @secure
|
|
6240
|
+
* @response `200` `AiAuditLogPaginated` OK
|
|
6241
|
+
*/
|
|
6242
|
+
getAiAuditLogs: (query?: {
|
|
6243
|
+
/** @format uuid */
|
|
6244
|
+
accountId?: string;
|
|
6245
|
+
eventType?: AiAuditEventType;
|
|
6246
|
+
/** @format uuid */
|
|
6247
|
+
requestId?: string;
|
|
6248
|
+
/** @format uuid */
|
|
6249
|
+
userId?: string;
|
|
6250
|
+
/** @format uuid */
|
|
6251
|
+
conversationId?: string;
|
|
6252
|
+
blockedOnly?: boolean;
|
|
6253
|
+
/** @format date-time */
|
|
6254
|
+
startDate?: string;
|
|
6255
|
+
/** @format date-time */
|
|
6256
|
+
endDate?: string;
|
|
6257
|
+
/** @format int32 */
|
|
6258
|
+
pageSize?: number;
|
|
6259
|
+
/** @format int32 */
|
|
6260
|
+
pageNumber?: number;
|
|
6261
|
+
sortBy?: string;
|
|
6262
|
+
sortDirection?: string;
|
|
6263
|
+
}, params?: RequestParams) => Promise<AxiosResponse<AiAuditLogPaginated, any, {}>>;
|
|
6264
|
+
/**
|
|
6265
|
+
* No description
|
|
6266
|
+
*
|
|
6267
|
+
* @tags AiAudit
|
|
6268
|
+
* @name GetAiRequestLifecycle
|
|
6269
|
+
* @summary Get the full event lifecycle of a single AI request
|
|
6270
|
+
* @request GET:/api/ai/audit-logs/request/{requestId}
|
|
6271
|
+
* @secure
|
|
6272
|
+
* @response `200` `(AiAuditLog)[]` OK
|
|
6273
|
+
*/
|
|
6274
|
+
getAiRequestLifecycle: (requestId: string, query?: {
|
|
6275
|
+
/** @format uuid */
|
|
6276
|
+
accountId?: string;
|
|
6277
|
+
}, params?: RequestParams) => Promise<AxiosResponse<AiAuditLog[], any, {}>>;
|
|
6278
|
+
/**
|
|
6279
|
+
* No description
|
|
6280
|
+
*
|
|
6281
|
+
* @tags AiAudit
|
|
6282
|
+
* @name GetAiAuditConversations
|
|
6283
|
+
* @summary List conversations with their audit roll-up — origin user, turns, status, tokens
|
|
6284
|
+
* @request GET:/api/ai/audit-conversations
|
|
6285
|
+
* @secure
|
|
6286
|
+
* @response `200` `AiConversationAuditSummaryPaginated` OK
|
|
6287
|
+
*/
|
|
6288
|
+
getAiAuditConversations: (query?: {
|
|
6289
|
+
/** @format uuid */
|
|
6290
|
+
accountId?: string;
|
|
6291
|
+
searchText?: string;
|
|
6292
|
+
/** @format date-time */
|
|
6293
|
+
startDate?: string;
|
|
6294
|
+
/** @format date-time */
|
|
6295
|
+
endDate?: string;
|
|
6296
|
+
/** @format int32 */
|
|
6297
|
+
pageSize?: number;
|
|
6298
|
+
/** @format int32 */
|
|
6299
|
+
pageNumber?: number;
|
|
6300
|
+
sortBy?: string;
|
|
6301
|
+
sortDirection?: string;
|
|
6302
|
+
}, params?: RequestParams) => Promise<AxiosResponse<AiConversationAuditSummaryPaginated, any, {}>>;
|
|
6303
|
+
/**
|
|
6304
|
+
* No description
|
|
6305
|
+
*
|
|
6306
|
+
* @tags AiAudit
|
|
6307
|
+
* @name GetAiStats
|
|
6308
|
+
* @summary Get AI dashboard stats (own account, or any/all accounts for SuperAdmin)
|
|
6309
|
+
* @request GET:/api/ai/stats
|
|
6310
|
+
* @secure
|
|
6311
|
+
* @response `200` `AiAdminStats` OK
|
|
6312
|
+
*/
|
|
6313
|
+
getAiStats: (query?: {
|
|
6314
|
+
/** @format uuid */
|
|
6315
|
+
accountId?: string;
|
|
6316
|
+
/** @format date-time */
|
|
6317
|
+
startDate?: string;
|
|
6318
|
+
/** @format date-time */
|
|
6319
|
+
endDate?: string;
|
|
6320
|
+
}, params?: RequestParams) => Promise<AxiosResponse<AiAdminStats, any, {}>>;
|
|
6321
|
+
/**
|
|
6322
|
+
* No description
|
|
6323
|
+
*
|
|
6324
|
+
* @tags AiAudit
|
|
6325
|
+
* @name GetAiConfigChanges
|
|
6326
|
+
* @summary Get the AI configuration change history (who changed prompts, guardrails, fields, sources)
|
|
6327
|
+
* @request GET:/api/ai/config-changes
|
|
6328
|
+
* @secure
|
|
6329
|
+
* @response `200` `AuditLogEntryPaginated` OK
|
|
6330
|
+
*/
|
|
6331
|
+
getAiConfigChanges: (query?: {
|
|
6332
|
+
/** @format uuid */
|
|
6333
|
+
accountId?: string;
|
|
6334
|
+
/** @format uuid */
|
|
6335
|
+
entityId?: string;
|
|
6336
|
+
/** @format uuid */
|
|
6337
|
+
actorUserId?: string;
|
|
6338
|
+
/** @format date-time */
|
|
6339
|
+
startDate?: string;
|
|
6340
|
+
/** @format date-time */
|
|
6341
|
+
endDate?: string;
|
|
6342
|
+
/** @format int32 */
|
|
6343
|
+
pageSize?: number;
|
|
6344
|
+
/** @format int32 */
|
|
6345
|
+
pageNumber?: number;
|
|
6346
|
+
sortBy?: string;
|
|
6347
|
+
sortDirection?: string;
|
|
6348
|
+
}, params?: RequestParams) => Promise<AxiosResponse<AuditLogEntryPaginated, any, {}>>;
|
|
6339
6349
|
/**
|
|
6340
6350
|
* No description
|
|
6341
6351
|
*
|
|
6342
6352
|
* @tags AiCanonicalField
|
|
6343
6353
|
* @name GetAiCanonicalFields
|
|
6344
6354
|
* @summary Get all canonical fields
|
|
6345
|
-
* @request GET:/api/ai/
|
|
6355
|
+
* @request GET:/api/ai/canonical-fields
|
|
6346
6356
|
* @secure
|
|
6347
6357
|
* @response `200` `(AiCanonicalField)[]` OK
|
|
6348
6358
|
*/
|
|
@@ -6353,7 +6363,7 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
|
|
|
6353
6363
|
* @tags AiCanonicalField
|
|
6354
6364
|
* @name CreateAiCanonicalField
|
|
6355
6365
|
* @summary Create canonical field
|
|
6356
|
-
* @request POST:/api/ai/
|
|
6366
|
+
* @request POST:/api/ai/canonical-fields
|
|
6357
6367
|
* @secure
|
|
6358
6368
|
* @response `201` `AiCanonicalField` Created
|
|
6359
6369
|
* @response `400` `ProblemDetails` Bad Request
|
|
@@ -6365,7 +6375,7 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
|
|
|
6365
6375
|
* @tags AiCanonicalField
|
|
6366
6376
|
* @name GetAiCanonicalField
|
|
6367
6377
|
* @summary Get canonical field by ID
|
|
6368
|
-
* @request GET:/api/ai/
|
|
6378
|
+
* @request GET:/api/ai/canonical-fields/{id}
|
|
6369
6379
|
* @secure
|
|
6370
6380
|
* @response `200` `AiCanonicalField` OK
|
|
6371
6381
|
* @response `404` `ProblemDetails` Not Found
|
|
@@ -6377,7 +6387,7 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
|
|
|
6377
6387
|
* @tags AiCanonicalField
|
|
6378
6388
|
* @name UpdateAiCanonicalField
|
|
6379
6389
|
* @summary Update canonical field
|
|
6380
|
-
* @request PUT:/api/ai/
|
|
6390
|
+
* @request PUT:/api/ai/canonical-fields/{id}
|
|
6381
6391
|
* @secure
|
|
6382
6392
|
* @response `200` `AiCanonicalField` OK
|
|
6383
6393
|
* @response `400` `ProblemDetails` Bad Request
|
|
@@ -6390,7 +6400,7 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
|
|
|
6390
6400
|
* @tags AiCanonicalField
|
|
6391
6401
|
* @name DeleteAiCanonicalField
|
|
6392
6402
|
* @summary Delete canonical field
|
|
6393
|
-
* @request DELETE:/api/ai/
|
|
6403
|
+
* @request DELETE:/api/ai/canonical-fields/{id}
|
|
6394
6404
|
* @secure
|
|
6395
6405
|
* @response `204` `void` No Content
|
|
6396
6406
|
* @response `404` `ProblemDetails` Not Found
|
|
@@ -6402,7 +6412,7 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
|
|
|
6402
6412
|
* @tags AiCanonicalField
|
|
6403
6413
|
* @name ToggleAiCanonicalField
|
|
6404
6414
|
* @summary Toggle canonical field active/inactive
|
|
6405
|
-
* @request PATCH:/api/ai/
|
|
6415
|
+
* @request PATCH:/api/ai/canonical-fields/{id}/toggle
|
|
6406
6416
|
* @secure
|
|
6407
6417
|
* @response `200` `AiCanonicalField` OK
|
|
6408
6418
|
* @response `404` `ProblemDetails` Not Found
|
|
@@ -6414,7 +6424,7 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
|
|
|
6414
6424
|
* @tags AiChat
|
|
6415
6425
|
* @name AiChat
|
|
6416
6426
|
* @summary Send AI chat message
|
|
6417
|
-
* @request POST:/api/ai/
|
|
6427
|
+
* @request POST:/api/ai/chats
|
|
6418
6428
|
* @secure
|
|
6419
6429
|
* @response `200` `AiChat` OK
|
|
6420
6430
|
* @response `400` `ProblemDetails` Bad Request
|
|
@@ -6531,7 +6541,7 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
|
|
|
6531
6541
|
* @tags AiConversationAdmin
|
|
6532
6542
|
* @name GetAiAccountConversations
|
|
6533
6543
|
* @summary List AI conversations across the account, optionally filtered by user (admin supervision)
|
|
6534
|
-
* @request GET:/api/ai/
|
|
6544
|
+
* @request GET:/api/ai/conversations/all
|
|
6535
6545
|
* @secure
|
|
6536
6546
|
* @response `200` `AiConversationListItemPaginated` OK
|
|
6537
6547
|
*/
|
|
@@ -6551,7 +6561,7 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
|
|
|
6551
6561
|
* @tags AiConversationAdmin
|
|
6552
6562
|
* @name GetAiAccountConversation
|
|
6553
6563
|
* @summary Get an account conversation's detail (admin supervision)
|
|
6554
|
-
* @request GET:/api/ai/
|
|
6564
|
+
* @request GET:/api/ai/conversations/all/{id}
|
|
6555
6565
|
* @secure
|
|
6556
6566
|
* @response `200` `AiConversationDetail` OK
|
|
6557
6567
|
* @response `404` `ProblemDetails` Not Found
|
|
@@ -6563,7 +6573,7 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
|
|
|
6563
6573
|
* @tags AiConversationAdmin
|
|
6564
6574
|
* @name GetAiAccountConversationMessages
|
|
6565
6575
|
* @summary Get an account conversation's messages (admin supervision)
|
|
6566
|
-
* @request GET:/api/ai/
|
|
6576
|
+
* @request GET:/api/ai/conversations/all/{id}/messages
|
|
6567
6577
|
* @secure
|
|
6568
6578
|
* @response `200` `AiChatMessagePaginated` OK
|
|
6569
6579
|
* @response `404` `ProblemDetails` Not Found
|
|
@@ -6582,7 +6592,7 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
|
|
|
6582
6592
|
* @tags AiGuardrail
|
|
6583
6593
|
* @name GetAiGuardrails
|
|
6584
6594
|
* @summary Get all guardrails
|
|
6585
|
-
* @request GET:/api/ai/
|
|
6595
|
+
* @request GET:/api/ai/guardrails
|
|
6586
6596
|
* @secure
|
|
6587
6597
|
* @response `200` `(AiGuardrail)[]` OK
|
|
6588
6598
|
*/
|
|
@@ -6593,7 +6603,7 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
|
|
|
6593
6603
|
* @tags AiGuardrail
|
|
6594
6604
|
* @name CreateAiGuardrail
|
|
6595
6605
|
* @summary Create custom guardrail
|
|
6596
|
-
* @request POST:/api/ai/
|
|
6606
|
+
* @request POST:/api/ai/guardrails
|
|
6597
6607
|
* @secure
|
|
6598
6608
|
* @response `201` `AiGuardrail` Created
|
|
6599
6609
|
* @response `400` `ProblemDetails` Bad Request
|
|
@@ -6605,7 +6615,7 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
|
|
|
6605
6615
|
* @tags AiGuardrail
|
|
6606
6616
|
* @name GetAiGuardrail
|
|
6607
6617
|
* @summary Get guardrail by ID
|
|
6608
|
-
* @request GET:/api/ai/
|
|
6618
|
+
* @request GET:/api/ai/guardrails/{id}
|
|
6609
6619
|
* @secure
|
|
6610
6620
|
* @response `200` `AiGuardrail` OK
|
|
6611
6621
|
* @response `404` `ProblemDetails` Not Found
|
|
@@ -6617,7 +6627,7 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
|
|
|
6617
6627
|
* @tags AiGuardrail
|
|
6618
6628
|
* @name UpdateAiGuardrail
|
|
6619
6629
|
* @summary Update guardrail
|
|
6620
|
-
* @request PUT:/api/ai/
|
|
6630
|
+
* @request PUT:/api/ai/guardrails/{id}
|
|
6621
6631
|
* @secure
|
|
6622
6632
|
* @response `200` `AiGuardrail` OK
|
|
6623
6633
|
* @response `400` `ProblemDetails` Bad Request
|
|
@@ -6630,7 +6640,7 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
|
|
|
6630
6640
|
* @tags AiGuardrail
|
|
6631
6641
|
* @name DeleteAiGuardrail
|
|
6632
6642
|
* @summary Delete guardrail
|
|
6633
|
-
* @request DELETE:/api/ai/
|
|
6643
|
+
* @request DELETE:/api/ai/guardrails/{id}
|
|
6634
6644
|
* @secure
|
|
6635
6645
|
* @response `204` `void` No Content
|
|
6636
6646
|
* @response `400` `ProblemDetails` Bad Request
|
|
@@ -6643,7 +6653,7 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
|
|
|
6643
6653
|
* @tags AiGuardrail
|
|
6644
6654
|
* @name ToggleAiGuardrail
|
|
6645
6655
|
* @summary Toggle guardrail enabled/disabled
|
|
6646
|
-
* @request PATCH:/api/ai/
|
|
6656
|
+
* @request PATCH:/api/ai/guardrails/{id}/toggle
|
|
6647
6657
|
* @secure
|
|
6648
6658
|
* @response `200` `AiGuardrail` OK
|
|
6649
6659
|
* @response `404` `ProblemDetails` Not Found
|
|
@@ -6653,128 +6663,22 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
|
|
|
6653
6663
|
* No description
|
|
6654
6664
|
*
|
|
6655
6665
|
* @tags AiPrompt
|
|
6656
|
-
* @name
|
|
6666
|
+
* @name GetAiAvailablePrompts
|
|
6657
6667
|
* @summary Get available prompts for current user
|
|
6658
|
-
* @request GET:/api/ai/prompts
|
|
6668
|
+
* @request GET:/api/ai/prompts/available
|
|
6659
6669
|
* @secure
|
|
6660
6670
|
* @response `200` `(AiPromptSummary)[]` OK
|
|
6661
6671
|
*/
|
|
6662
|
-
|
|
6672
|
+
getAiAvailablePrompts: (query?: {
|
|
6663
6673
|
documentType?: string;
|
|
6664
6674
|
}, params?: RequestParams) => Promise<AxiosResponse<AiPromptSummary[], any, {}>>;
|
|
6665
|
-
/**
|
|
6666
|
-
* No description
|
|
6667
|
-
*
|
|
6668
|
-
* @tags AiSuperAdmin
|
|
6669
|
-
* @name GetAiAuditLogsCrossAccount
|
|
6670
|
-
* @summary Get AI audit logs for a specific account or across all accounts
|
|
6671
|
-
* @request GET:/api/ai/superadmin/audit-logs
|
|
6672
|
-
* @secure
|
|
6673
|
-
* @response `200` `AiAuditLogPaginated` OK
|
|
6674
|
-
*/
|
|
6675
|
-
getAiAuditLogsCrossAccount: (query?: {
|
|
6676
|
-
/** @format uuid */
|
|
6677
|
-
accountId?: string;
|
|
6678
|
-
eventType?: AiAuditEventType;
|
|
6679
|
-
/** @format uuid */
|
|
6680
|
-
requestId?: string;
|
|
6681
|
-
/** @format uuid */
|
|
6682
|
-
userId?: string;
|
|
6683
|
-
/** @format uuid */
|
|
6684
|
-
conversationId?: string;
|
|
6685
|
-
blockedOnly?: boolean;
|
|
6686
|
-
/** @format date-time */
|
|
6687
|
-
startDate?: string;
|
|
6688
|
-
/** @format date-time */
|
|
6689
|
-
endDate?: string;
|
|
6690
|
-
/** @format int32 */
|
|
6691
|
-
pageSize?: number;
|
|
6692
|
-
/** @format int32 */
|
|
6693
|
-
pageNumber?: number;
|
|
6694
|
-
sortBy?: string;
|
|
6695
|
-
sortDirection?: string;
|
|
6696
|
-
}, params?: RequestParams) => Promise<AxiosResponse<AiAuditLogPaginated, any, {}>>;
|
|
6697
|
-
/**
|
|
6698
|
-
* No description
|
|
6699
|
-
*
|
|
6700
|
-
* @tags AiSuperAdmin
|
|
6701
|
-
* @name GetAiRequestLifecycleCrossAccount
|
|
6702
|
-
* @summary Get the full event lifecycle of a single AI request from any account
|
|
6703
|
-
* @request GET:/api/ai/superadmin/audit-logs/request/{requestId}
|
|
6704
|
-
* @secure
|
|
6705
|
-
* @response `200` `(AiAuditLog)[]` OK
|
|
6706
|
-
*/
|
|
6707
|
-
getAiRequestLifecycleCrossAccount: (requestId: string, query?: {
|
|
6708
|
-
/** @format uuid */
|
|
6709
|
-
accountId?: string;
|
|
6710
|
-
}, params?: RequestParams) => Promise<AxiosResponse<AiAuditLog[], any, {}>>;
|
|
6711
|
-
/**
|
|
6712
|
-
* No description
|
|
6713
|
-
*
|
|
6714
|
-
* @tags AiSuperAdmin
|
|
6715
|
-
* @name GetAiStatsCrossAccount
|
|
6716
|
-
* @summary Get AI stats for a specific account or platform-wide
|
|
6717
|
-
* @request GET:/api/ai/superadmin/stats
|
|
6718
|
-
* @secure
|
|
6719
|
-
* @response `200` `AiAdminStats` OK
|
|
6720
|
-
*/
|
|
6721
|
-
getAiStatsCrossAccount: (query?: {
|
|
6722
|
-
/** @format uuid */
|
|
6723
|
-
accountId?: string;
|
|
6724
|
-
/** @format date-time */
|
|
6725
|
-
startDate?: string;
|
|
6726
|
-
/** @format date-time */
|
|
6727
|
-
endDate?: string;
|
|
6728
|
-
}, params?: RequestParams) => Promise<AxiosResponse<AiAdminStats, any, {}>>;
|
|
6729
|
-
/**
|
|
6730
|
-
* No description
|
|
6731
|
-
*
|
|
6732
|
-
* @tags AiSuperAdmin
|
|
6733
|
-
* @name GetAiConfigChangesCrossAccount
|
|
6734
|
-
* @summary Get AI configuration change history for a specific account or across all accounts (incl. global defaults)
|
|
6735
|
-
* @request GET:/api/ai/superadmin/config-changes
|
|
6736
|
-
* @secure
|
|
6737
|
-
* @response `200` `AiConfigChangeLogPaginated` OK
|
|
6738
|
-
*/
|
|
6739
|
-
getAiConfigChangesCrossAccount: (query?: {
|
|
6740
|
-
/** @format uuid */
|
|
6741
|
-
accountId?: string;
|
|
6742
|
-
entityType?: AiConfigEntityType;
|
|
6743
|
-
/** @format uuid */
|
|
6744
|
-
entityId?: string;
|
|
6745
|
-
/** @format uuid */
|
|
6746
|
-
actorUserId?: string;
|
|
6747
|
-
action?: AiConfigChangeAction;
|
|
6748
|
-
/** @format date-time */
|
|
6749
|
-
startDate?: string;
|
|
6750
|
-
/** @format date-time */
|
|
6751
|
-
endDate?: string;
|
|
6752
|
-
/** @format int32 */
|
|
6753
|
-
pageSize?: number;
|
|
6754
|
-
/** @format int32 */
|
|
6755
|
-
pageNumber?: number;
|
|
6756
|
-
sortBy?: string;
|
|
6757
|
-
sortDirection?: string;
|
|
6758
|
-
}, params?: RequestParams) => Promise<AxiosResponse<AiConfigChangeLogPaginated, any, {}>>;
|
|
6759
|
-
/**
|
|
6760
|
-
* No description
|
|
6761
|
-
*
|
|
6762
|
-
* @tags AiSuperAdmin
|
|
6763
|
-
* @name SetAccountAiEnabled
|
|
6764
|
-
* @summary Enable or disable AI for an account (SuperAdmin only)
|
|
6765
|
-
* @request PUT:/api/ai/superadmin/accounts/{accountId}/ai-enabled
|
|
6766
|
-
* @secure
|
|
6767
|
-
* @response `204` `void` No Content
|
|
6768
|
-
* @response `404` `ProblemDetails` Not Found
|
|
6769
|
-
*/
|
|
6770
|
-
setAccountAiEnabled: (accountId: string, data: SetAiEnabledRequest, params?: RequestParams) => Promise<AxiosResponse<void, any, {}>>;
|
|
6771
6675
|
/**
|
|
6772
6676
|
* No description
|
|
6773
6677
|
*
|
|
6774
6678
|
* @tags AiTokenUsageAdmin
|
|
6775
6679
|
* @name SearchAiAccountTokenUsage
|
|
6776
6680
|
* @summary Search accounts by current-month AI token usage and classification
|
|
6777
|
-
* @request POST:/api/ai/
|
|
6681
|
+
* @request POST:/api/ai/token-usage/search
|
|
6778
6682
|
* @secure
|
|
6779
6683
|
* @response `200` `AiAccountUsageOverviewPaginated` OK
|
|
6780
6684
|
*/
|
|
@@ -6792,7 +6696,7 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
|
|
|
6792
6696
|
* @tags AiTokenUsageAdmin
|
|
6793
6697
|
* @name GetAiAccountTokenUsage
|
|
6794
6698
|
* @summary Get an account's current-month AI token usage
|
|
6795
|
-
* @request GET:/api/ai/
|
|
6699
|
+
* @request GET:/api/ai/token-usage/{accountId}
|
|
6796
6700
|
* @secure
|
|
6797
6701
|
* @response `200` `AiTokenBudgetStatus` OK
|
|
6798
6702
|
*/
|
|
@@ -6803,7 +6707,7 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
|
|
|
6803
6707
|
* @tags AiTokenUsageAdmin
|
|
6804
6708
|
* @name GetAiAccountTokenUsageHistory
|
|
6805
6709
|
* @summary Get an account's monthly AI token usage history
|
|
6806
|
-
* @request GET:/api/ai/
|
|
6710
|
+
* @request GET:/api/ai/token-usage/{accountId}/history
|
|
6807
6711
|
* @secure
|
|
6808
6712
|
* @response `200` `AiTokenUsageWindowPaginated` OK
|
|
6809
6713
|
*/
|
|
@@ -6821,7 +6725,7 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
|
|
|
6821
6725
|
* @tags AiTokenUsageAdmin
|
|
6822
6726
|
* @name SetAiAccountTokenLimit
|
|
6823
6727
|
* @summary Set or raise an account's monthly AI token limit
|
|
6824
|
-
* @request PUT:/api/ai/
|
|
6728
|
+
* @request PUT:/api/ai/token-usage/{accountId}/limit
|
|
6825
6729
|
* @secure
|
|
6826
6730
|
* @response `200` `AiTokenBudgetStatus` OK
|
|
6827
6731
|
* @response `400` `ProblemDetails` Bad Request
|
|
@@ -6833,7 +6737,7 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
|
|
|
6833
6737
|
* @tags AiUrlSource
|
|
6834
6738
|
* @name GetAiUrlSources
|
|
6835
6739
|
* @summary Get all URL sources
|
|
6836
|
-
* @request GET:/api/ai/
|
|
6740
|
+
* @request GET:/api/ai/url-sources
|
|
6837
6741
|
* @secure
|
|
6838
6742
|
* @response `200` `(AiUrlSource)[]` OK
|
|
6839
6743
|
*/
|
|
@@ -6844,7 +6748,7 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
|
|
|
6844
6748
|
* @tags AiUrlSource
|
|
6845
6749
|
* @name CreateAiUrlSource
|
|
6846
6750
|
* @summary Create URL source
|
|
6847
|
-
* @request POST:/api/ai/
|
|
6751
|
+
* @request POST:/api/ai/url-sources
|
|
6848
6752
|
* @secure
|
|
6849
6753
|
* @response `201` `AiUrlSource` Created
|
|
6850
6754
|
* @response `400` `ProblemDetails` Bad Request
|
|
@@ -6857,7 +6761,7 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
|
|
|
6857
6761
|
* @tags AiUrlSource
|
|
6858
6762
|
* @name GetAiUrlSource
|
|
6859
6763
|
* @summary Get URL source by ID
|
|
6860
|
-
* @request GET:/api/ai/
|
|
6764
|
+
* @request GET:/api/ai/url-sources/{id}
|
|
6861
6765
|
* @secure
|
|
6862
6766
|
* @response `200` `AiUrlSource` OK
|
|
6863
6767
|
* @response `404` `ProblemDetails` Not Found
|
|
@@ -6869,7 +6773,7 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
|
|
|
6869
6773
|
* @tags AiUrlSource
|
|
6870
6774
|
* @name UpdateAiUrlSource
|
|
6871
6775
|
* @summary Update URL source
|
|
6872
|
-
* @request PUT:/api/ai/
|
|
6776
|
+
* @request PUT:/api/ai/url-sources/{id}
|
|
6873
6777
|
* @secure
|
|
6874
6778
|
* @response `200` `AiUrlSource` OK
|
|
6875
6779
|
* @response `400` `ProblemDetails` Bad Request
|
|
@@ -6883,7 +6787,7 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
|
|
|
6883
6787
|
* @tags AiUrlSource
|
|
6884
6788
|
* @name DeleteAiUrlSource
|
|
6885
6789
|
* @summary Delete URL source
|
|
6886
|
-
* @request DELETE:/api/ai/
|
|
6790
|
+
* @request DELETE:/api/ai/url-sources/{id}
|
|
6887
6791
|
* @secure
|
|
6888
6792
|
* @response `204` `void` No Content
|
|
6889
6793
|
* @response `404` `ProblemDetails` Not Found
|
|
@@ -6895,7 +6799,7 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
|
|
|
6895
6799
|
* @tags AiUrlSource
|
|
6896
6800
|
* @name ToggleAiUrlSource
|
|
6897
6801
|
* @summary Toggle URL source active/inactive
|
|
6898
|
-
* @request PATCH:/api/ai/
|
|
6802
|
+
* @request PATCH:/api/ai/url-sources/{id}/toggle
|
|
6899
6803
|
* @secure
|
|
6900
6804
|
* @response `200` `AiUrlSource` OK
|
|
6901
6805
|
* @response `404` `ProblemDetails` Not Found
|
|
@@ -7865,6 +7769,34 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
|
|
|
7865
7769
|
sortBy?: string;
|
|
7866
7770
|
sortDirection?: string;
|
|
7867
7771
|
}, params?: RequestParams) => Promise<AxiosResponse<EncompassPackageList, any, {}>>;
|
|
7772
|
+
/**
|
|
7773
|
+
* No description
|
|
7774
|
+
*
|
|
7775
|
+
* @tags Encompass Packages
|
|
7776
|
+
* @name GetLoanPackages
|
|
7777
|
+
* @request GET:/api/los/encompass/eclose/loans/{loanId}/packages
|
|
7778
|
+
* @secure
|
|
7779
|
+
* @response `200` `EncompassPackageList` OK
|
|
7780
|
+
* @response `400` `EncompassError` Bad Request
|
|
7781
|
+
* @response `401` `EncompassError` Unauthorized
|
|
7782
|
+
* @response `403` `EncompassError` Forbidden
|
|
7783
|
+
* @response `500` `EncompassError` Internal Server Error
|
|
7784
|
+
*/
|
|
7785
|
+
getLoanPackages: (loanId: string, query?: {
|
|
7786
|
+
status?: string;
|
|
7787
|
+
/**
|
|
7788
|
+
* @format int32
|
|
7789
|
+
* @default 1
|
|
7790
|
+
*/
|
|
7791
|
+
page?: number;
|
|
7792
|
+
/**
|
|
7793
|
+
* @format int32
|
|
7794
|
+
* @default 20
|
|
7795
|
+
*/
|
|
7796
|
+
pageSize?: number;
|
|
7797
|
+
sortBy?: string;
|
|
7798
|
+
sortDirection?: string;
|
|
7799
|
+
}, params?: RequestParams) => Promise<AxiosResponse<EncompassPackageList, any, {}>>;
|
|
7868
7800
|
/**
|
|
7869
7801
|
* No description
|
|
7870
7802
|
*
|