@lumoauth/api-client 1.5.0 → 1.6.0
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/.openapi-generator/FILES +12 -2
- package/README.md +10 -3
- package/api/admin-abac-api.ts +18 -5
- package/api/admin-agents-api.ts +50 -5
- package/api/admin-audit-logs-api.ts +15 -15
- package/api/admin-email-api.ts +15 -15
- package/api/admin-groups-api.ts +15 -15
- package/api/admin-mfa-api.ts +10 -10
- package/api/admin-oauth-clients-api.ts +15 -15
- package/api/admin-roles-api.ts +20 -20
- package/api/admin-settings-api.ts +112 -60
- package/api/admin-users-api.ts +320 -31
- package/api/agents-api.ts +5 -5
- package/api/authorization-api.ts +20 -20
- package/api/oauth-api.ts +116 -5
- package/api/ssf-api.ts +10 -10
- package/dist/api/admin-abac-api.d.ts +10 -2
- package/dist/api/admin-abac-api.js +10 -5
- package/dist/api/admin-agents-api.d.ts +37 -2
- package/dist/api/admin-agents-api.js +37 -6
- package/dist/api/admin-audit-logs-api.d.ts +15 -15
- package/dist/api/admin-audit-logs-api.js +12 -12
- package/dist/api/admin-email-api.d.ts +15 -15
- package/dist/api/admin-email-api.js +12 -12
- package/dist/api/admin-groups-api.d.ts +15 -15
- package/dist/api/admin-groups-api.js +12 -12
- package/dist/api/admin-mfa-api.d.ts +10 -10
- package/dist/api/admin-mfa-api.js +8 -8
- package/dist/api/admin-oauth-clients-api.d.ts +15 -15
- package/dist/api/admin-oauth-clients-api.js +12 -12
- package/dist/api/admin-roles-api.d.ts +20 -20
- package/dist/api/admin-roles-api.js +16 -16
- package/dist/api/admin-settings-api.d.ts +82 -48
- package/dist/api/admin-settings-api.js +68 -52
- package/dist/api/admin-users-api.d.ts +201 -22
- package/dist/api/admin-users-api.js +185 -28
- package/dist/api/agents-api.d.ts +5 -5
- package/dist/api/agents-api.js +4 -4
- package/dist/api/authorization-api.d.ts +20 -20
- package/dist/api/authorization-api.js +16 -16
- package/dist/api/oauth-api.d.ts +70 -5
- package/dist/api/oauth-api.js +76 -4
- package/dist/api/ssf-api.d.ts +10 -10
- package/dist/api/ssf-api.js +8 -8
- package/dist/esm/api/admin-abac-api.d.ts +10 -2
- package/dist/esm/api/admin-abac-api.js +10 -5
- package/dist/esm/api/admin-agents-api.d.ts +37 -2
- package/dist/esm/api/admin-agents-api.js +36 -5
- package/dist/esm/api/admin-audit-logs-api.d.ts +15 -15
- package/dist/esm/api/admin-audit-logs-api.js +12 -12
- package/dist/esm/api/admin-email-api.d.ts +15 -15
- package/dist/esm/api/admin-email-api.js +12 -12
- package/dist/esm/api/admin-groups-api.d.ts +15 -15
- package/dist/esm/api/admin-groups-api.js +12 -12
- package/dist/esm/api/admin-mfa-api.d.ts +10 -10
- package/dist/esm/api/admin-mfa-api.js +8 -8
- package/dist/esm/api/admin-oauth-clients-api.d.ts +15 -15
- package/dist/esm/api/admin-oauth-clients-api.js +12 -12
- package/dist/esm/api/admin-roles-api.d.ts +20 -20
- package/dist/esm/api/admin-roles-api.js +16 -16
- package/dist/esm/api/admin-settings-api.d.ts +82 -48
- package/dist/esm/api/admin-settings-api.js +69 -53
- package/dist/esm/api/admin-users-api.d.ts +201 -22
- package/dist/esm/api/admin-users-api.js +184 -27
- package/dist/esm/api/agents-api.d.ts +5 -5
- package/dist/esm/api/agents-api.js +4 -4
- package/dist/esm/api/authorization-api.d.ts +20 -20
- package/dist/esm/api/authorization-api.js +16 -16
- package/dist/esm/api/oauth-api.d.ts +70 -5
- package/dist/esm/api/oauth-api.js +76 -4
- package/dist/esm/api/ssf-api.d.ts +10 -10
- package/dist/esm/api/ssf-api.js +8 -8
- package/dist/esm/models/abac-attribute-definition.d.ts +6 -0
- package/dist/esm/models/abac-policy.d.ts +7 -1
- package/dist/esm/models/admin-analytics-dashboard-response-data-audit.d.ts +1 -1
- package/dist/esm/models/admin-groups-list-response.d.ts +6 -0
- package/dist/esm/models/admin-mcp-servers-list-response.d.ts +8 -3
- package/dist/esm/models/admin-settings-all-response-data-general.d.ts +13 -1
- package/dist/esm/models/admin-settings-all-response-data.d.ts +4 -5
- package/dist/esm/models/admin-settings-email-get-response.d.ts +4 -5
- package/dist/esm/models/admin-settings-general-get-response-data.d.ts +4 -10
- package/dist/esm/models/{admin-mcp-servers-list-response-meta.d.ts → admin-users-restore-response.d.ts} +9 -14
- package/dist/esm/models/ask-response.d.ts +15 -0
- package/dist/esm/models/ask-response.js +10 -1
- package/dist/esm/models/attest-response.d.ts +2 -2
- package/dist/esm/models/authorization-server-metadata.d.ts +8 -2
- package/dist/esm/models/check-email-first-request.d.ts +30 -0
- package/dist/esm/models/check-email-first-request.js +14 -0
- package/dist/esm/models/check-email-first-response.d.ts +42 -0
- package/dist/esm/models/check-email-first-response.js +14 -0
- package/dist/esm/models/email-sender-settings.d.ts +62 -0
- package/dist/esm/models/email-sender-settings.js +22 -0
- package/dist/esm/models/get-me-response.d.ts +18 -0
- package/dist/esm/models/get-server-challenge-response.d.ts +3 -2
- package/dist/esm/models/get-server-challenge-response.js +1 -0
- package/dist/esm/models/index.d.ts +6 -1
- package/dist/esm/models/index.js +6 -1
- package/dist/esm/models/introspect-response.d.ts +6 -0
- package/dist/esm/models/issue-agent-token-request.d.ts +6 -0
- package/dist/esm/models/list-users-response.d.ts +6 -0
- package/dist/esm/models/oauth-scope.d.ts +1 -7
- package/dist/esm/models/open-id-configuration.d.ts +3 -3
- package/dist/esm/models/put-admin-settings-branding-update-response.d.ts +6 -0
- package/dist/esm/models/put-admin-settings-email-update-request.d.ts +36 -0
- package/dist/esm/models/put-admin-settings-email-update-request.js +14 -0
- package/dist/esm/models/put-admin-settings-email-update-response.d.ts +4 -5
- package/dist/esm/models/put-admin-settings-general-update-request.d.ts +30 -0
- package/dist/esm/models/put-admin-settings-general-update-request.js +14 -0
- package/dist/esm/models/put-admin-settings-general-update-response-data.d.ts +1 -7
- package/dist/esm/models/register-client-response.d.ts +0 -24
- package/dist/esm/models/registered-client-metadata.d.ts +0 -24
- package/dist/esm/models/social-login-provider.d.ts +2 -1
- package/dist/esm/models/user.d.ts +12 -0
- package/dist/esm/models/userinfo-response.d.ts +4 -12
- package/dist/esm/models/userinfo-response.js +0 -2
- package/dist/models/abac-attribute-definition.d.ts +6 -0
- package/dist/models/abac-policy.d.ts +7 -1
- package/dist/models/admin-analytics-dashboard-response-data-audit.d.ts +1 -1
- package/dist/models/admin-groups-list-response.d.ts +6 -0
- package/dist/models/admin-mcp-servers-list-response.d.ts +8 -3
- package/dist/models/admin-settings-all-response-data-general.d.ts +13 -1
- package/dist/models/admin-settings-all-response-data.d.ts +4 -5
- package/dist/models/admin-settings-email-get-response.d.ts +4 -5
- package/dist/models/admin-settings-general-get-response-data.d.ts +4 -10
- package/dist/models/{admin-mcp-servers-list-response-meta.d.ts → admin-users-restore-response.d.ts} +9 -14
- package/dist/models/ask-response.d.ts +15 -0
- package/dist/models/ask-response.js +11 -0
- package/dist/models/attest-response.d.ts +2 -2
- package/dist/models/authorization-server-metadata.d.ts +8 -2
- package/dist/models/check-email-first-request.d.ts +30 -0
- package/dist/models/check-email-first-request.js +15 -0
- package/dist/models/check-email-first-response.d.ts +42 -0
- package/dist/models/check-email-first-response.js +15 -0
- package/dist/models/email-sender-settings.d.ts +62 -0
- package/dist/models/email-sender-settings.js +25 -0
- package/dist/models/get-me-response.d.ts +18 -0
- package/dist/models/get-server-challenge-response.d.ts +3 -2
- package/dist/models/get-server-challenge-response.js +1 -0
- package/dist/models/index.d.ts +6 -1
- package/dist/models/index.js +6 -1
- package/dist/models/introspect-response.d.ts +6 -0
- package/dist/models/issue-agent-token-request.d.ts +6 -0
- package/dist/models/list-users-response.d.ts +6 -0
- package/dist/models/oauth-scope.d.ts +1 -7
- package/dist/models/open-id-configuration.d.ts +3 -3
- package/dist/models/put-admin-settings-branding-update-response.d.ts +6 -0
- package/dist/models/put-admin-settings-email-update-request.d.ts +36 -0
- package/dist/models/put-admin-settings-email-update-request.js +15 -0
- package/dist/models/put-admin-settings-email-update-response.d.ts +4 -5
- package/dist/models/put-admin-settings-general-update-request.d.ts +30 -0
- package/dist/models/put-admin-settings-general-update-request.js +15 -0
- package/dist/models/put-admin-settings-general-update-response-data.d.ts +1 -7
- package/dist/models/register-client-response.d.ts +0 -24
- package/dist/models/registered-client-metadata.d.ts +0 -24
- package/dist/models/social-login-provider.d.ts +2 -1
- package/dist/models/user.d.ts +12 -0
- package/dist/models/userinfo-response.d.ts +4 -12
- package/dist/models/userinfo-response.js +0 -2
- package/docs/AbacAttributeDefinition.md +2 -0
- package/docs/AbacPolicy.md +3 -1
- package/docs/AdminAbacApi.md +14 -9
- package/docs/AdminAgentsApi.md +7 -1
- package/docs/AdminAnalyticsDashboardResponseDataAudit.md +1 -1
- package/docs/AdminAuditLogsApi.md +3 -0
- package/docs/AdminEmailApi.md +3 -0
- package/docs/AdminGroupsApi.md +3 -0
- package/docs/AdminGroupsListResponse.md +2 -0
- package/docs/AdminMcpServersListResponse.md +3 -1
- package/docs/AdminMfaApi.md +4 -2
- package/docs/AdminOAuthClientsApi.md +3 -1
- package/docs/AdminOrganizationsApi.md +13 -5
- package/docs/AdminRolesApi.md +10 -0
- package/docs/AdminSettingsAllResponseData.md +1 -1
- package/docs/AdminSettingsAllResponseDataGeneral.md +5 -1
- package/docs/AdminSettingsApi.md +54 -12
- package/docs/AdminSettingsEmailGetResponse.md +1 -1
- package/docs/AdminSettingsGeneralGetResponseData.md +4 -6
- package/docs/AdminUsersApi.md +104 -2
- package/docs/AdminUsersRestoreResponse.md +22 -0
- package/docs/AgentsApi.md +2 -2
- package/docs/AskResponse.md +2 -0
- package/docs/AttestResponse.md +1 -1
- package/docs/AuthorizationApi.md +4 -4
- package/docs/AuthorizationServerMetadata.md +4 -2
- package/docs/CheckEmailFirstRequest.md +22 -0
- package/docs/CheckEmailFirstResponse.md +26 -0
- package/docs/EmailSenderSettings.md +31 -0
- package/docs/GetMeResponse.md +6 -0
- package/docs/GetServerChallengeResponse.md +1 -1
- package/docs/IdentityApi.md +2 -2
- package/docs/IntrospectResponse.md +2 -0
- package/docs/IssueAgentTokenRequest.md +2 -0
- package/docs/ListUsersResponse.md +2 -0
- package/docs/McpApi.md +5 -6
- package/docs/OAuthApi.md +72 -12
- package/docs/OAuthScope.md +1 -3
- package/docs/OIDCApi.md +4 -4
- package/docs/OpenIdConfiguration.md +3 -3
- package/docs/PutAdminSettingsBrandingUpdateResponse.md +2 -0
- package/docs/PutAdminSettingsEmailUpdateRequest.md +24 -0
- package/docs/PutAdminSettingsEmailUpdateResponse.md +1 -1
- package/docs/PutAdminSettingsGeneralUpdateRequest.md +22 -0
- package/docs/PutAdminSettingsGeneralUpdateResponseData.md +1 -3
- package/docs/RegisterClientResponse.md +0 -8
- package/docs/RegisteredClientMetadata.md +0 -8
- package/docs/SocialLoginProvider.md +1 -1
- package/docs/SsfApi.md +2 -0
- package/docs/User.md +4 -0
- package/docs/UserinfoResponse.md +3 -5
- package/docs/WellKnownApi.md +2 -2
- package/models/abac-attribute-definition.ts +6 -0
- package/models/abac-policy.ts +7 -1
- package/models/admin-analytics-dashboard-response-data-audit.ts +1 -1
- package/models/admin-groups-list-response.ts +6 -0
- package/models/admin-mcp-servers-list-response.ts +8 -5
- package/models/admin-settings-all-response-data-general.ts +13 -1
- package/models/admin-settings-all-response-data.ts +6 -3
- package/models/admin-settings-email-get-response.ts +6 -3
- package/models/admin-settings-general-get-response-data.ts +4 -10
- package/models/{admin-mcp-servers-list-response-meta.ts → admin-users-restore-response.ts} +11 -14
- package/models/ask-response.ts +17 -0
- package/models/attest-response.ts +2 -2
- package/models/authorization-server-metadata.ts +8 -2
- package/models/check-email-first-request.ts +36 -0
- package/models/check-email-first-response.ts +48 -0
- package/models/email-sender-settings.ts +70 -0
- package/models/get-me-response.ts +18 -0
- package/models/get-server-challenge-response.ts +3 -2
- package/models/index.ts +6 -1
- package/models/introspect-response.ts +6 -0
- package/models/issue-agent-token-request.ts +6 -0
- package/models/list-users-response.ts +6 -0
- package/models/oauth-scope.ts +1 -7
- package/models/open-id-configuration.ts +3 -3
- package/models/put-admin-settings-branding-update-response.ts +6 -0
- package/models/put-admin-settings-email-update-request.ts +42 -0
- package/models/put-admin-settings-email-update-response.ts +6 -3
- package/models/put-admin-settings-general-update-request.ts +36 -0
- package/models/put-admin-settings-general-update-response-data.ts +1 -7
- package/models/register-client-response.ts +0 -24
- package/models/registered-client-metadata.ts +0 -24
- package/models/social-login-provider.ts +2 -1
- package/models/user.ts +12 -0
- package/models/userinfo-response.ts +4 -12
- package/package.json +1 -1
- package/docs/AdminMcpServersListResponseMeta.md +0 -24
- /package/dist/esm/models/{admin-mcp-servers-list-response-meta.js → admin-users-restore-response.js} +0 -0
- /package/dist/models/{admin-mcp-servers-list-response-meta.js → admin-users-restore-response.js} +0 -0
|
@@ -135,10 +135,12 @@ export declare const AdminAgentsApiAxiosParamCreator: (configuration?: Configura
|
|
|
135
135
|
*
|
|
136
136
|
* @summary List all agents in the tenant
|
|
137
137
|
* @param {string} orgId
|
|
138
|
+
* @param {AdminAgentsListSortBy} [sortBy] Sort field. Default: name. Another value is ignored.
|
|
139
|
+
* @param {AdminAgentsListSortDir} [sortDir] Sort direction, used with sortBy.
|
|
138
140
|
* @param {*} [options] Override http request option.
|
|
139
141
|
* @throws {RequiredError}
|
|
140
142
|
*/
|
|
141
|
-
adminAgentsList: (orgId: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
143
|
+
adminAgentsList: (orgId: string, sortBy?: AdminAgentsListSortBy, sortDir?: AdminAgentsListSortDir, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
142
144
|
/**
|
|
143
145
|
* For a trusted component of your organization, such as an AI gateway\'s spend callback or an orchestrator, that sees the agent\'s model calls. Adds the tokens and cost to the agent\'s budget windows (current UTC hour, day and month), exactly like POST /agents/me/usage from the agent itself. The report adds no API call and is accepted even when the budget is spent.
|
|
144
146
|
* @summary Report model tokens and cost for an agent
|
|
@@ -300,10 +302,12 @@ export declare const AdminAgentsApiFp: (configuration?: Configuration) => {
|
|
|
300
302
|
*
|
|
301
303
|
* @summary List all agents in the tenant
|
|
302
304
|
* @param {string} orgId
|
|
305
|
+
* @param {AdminAgentsListSortBy} [sortBy] Sort field. Default: name. Another value is ignored.
|
|
306
|
+
* @param {AdminAgentsListSortDir} [sortDir] Sort direction, used with sortBy.
|
|
303
307
|
* @param {*} [options] Override http request option.
|
|
304
308
|
* @throws {RequiredError}
|
|
305
309
|
*/
|
|
306
|
-
adminAgentsList(orgId: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<AdminAgentsListResponse>>;
|
|
310
|
+
adminAgentsList(orgId: string, sortBy?: AdminAgentsListSortBy, sortDir?: AdminAgentsListSortDir, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<AdminAgentsListResponse>>;
|
|
307
311
|
/**
|
|
308
312
|
* For a trusted component of your organization, such as an AI gateway\'s spend callback or an orchestrator, that sees the agent\'s model calls. Adds the tokens and cost to the agent\'s budget windows (current UTC hour, day and month), exactly like POST /agents/me/usage from the agent itself. The report adds no API call and is accepted even when the budget is spent.
|
|
309
313
|
* @summary Report model tokens and cost for an agent
|
|
@@ -880,6 +884,18 @@ export interface AdminAgentsApiAdminAgentsListRequest {
|
|
|
880
884
|
* @memberof AdminAgentsApiAdminAgentsList
|
|
881
885
|
*/
|
|
882
886
|
readonly orgId: string;
|
|
887
|
+
/**
|
|
888
|
+
* Sort field. Default: name. Another value is ignored.
|
|
889
|
+
* @type {'name' | 'agentId' | 'status' | 'createdAt' | 'lastUsedAt'}
|
|
890
|
+
* @memberof AdminAgentsApiAdminAgentsList
|
|
891
|
+
*/
|
|
892
|
+
readonly sortBy?: AdminAgentsListSortBy;
|
|
893
|
+
/**
|
|
894
|
+
* Sort direction, used with sortBy.
|
|
895
|
+
* @type {'ASC' | 'DESC'}
|
|
896
|
+
* @memberof AdminAgentsApiAdminAgentsList
|
|
897
|
+
*/
|
|
898
|
+
readonly sortDir?: AdminAgentsListSortDir;
|
|
883
899
|
}
|
|
884
900
|
/**
|
|
885
901
|
* Request parameters for adminAgentsReportUsage operation in AdminAgentsApi.
|
|
@@ -1186,3 +1202,22 @@ export declare class AdminAgentsApi extends BaseAPI implements AdminAgentsApiInt
|
|
|
1186
1202
|
*/
|
|
1187
1203
|
putAdminAgentsUpdate(requestParameters: AdminAgentsApiPutAdminAgentsUpdateRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<PutAdminAgentsUpdateResponse, any, {}>>;
|
|
1188
1204
|
}
|
|
1205
|
+
/**
|
|
1206
|
+
* @export
|
|
1207
|
+
* @enum {string}
|
|
1208
|
+
*/
|
|
1209
|
+
export declare enum AdminAgentsListSortBy {
|
|
1210
|
+
NAME = "name",
|
|
1211
|
+
AGENT_ID = "agentId",
|
|
1212
|
+
STATUS = "status",
|
|
1213
|
+
CREATED_AT = "createdAt",
|
|
1214
|
+
LAST_USED_AT = "lastUsedAt"
|
|
1215
|
+
}
|
|
1216
|
+
/**
|
|
1217
|
+
* @export
|
|
1218
|
+
* @enum {string}
|
|
1219
|
+
*/
|
|
1220
|
+
export declare enum AdminAgentsListSortDir {
|
|
1221
|
+
ASC = "ASC",
|
|
1222
|
+
DESC = "DESC"
|
|
1223
|
+
}
|
|
@@ -22,7 +22,7 @@ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, ge
|
|
|
22
22
|
});
|
|
23
23
|
};
|
|
24
24
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
25
|
-
exports.AdminAgentsApi = exports.AdminAgentsApiFactory = exports.AdminAgentsApiFp = exports.AdminAgentsApiAxiosParamCreator = void 0;
|
|
25
|
+
exports.AdminAgentsListSortDir = exports.AdminAgentsListSortBy = exports.AdminAgentsApi = exports.AdminAgentsApiFactory = exports.AdminAgentsApiFp = exports.AdminAgentsApiAxiosParamCreator = void 0;
|
|
26
26
|
const axios_1 = require("axios");
|
|
27
27
|
// Some imports not used depending on template conditions
|
|
28
28
|
// @ts-ignore
|
|
@@ -426,10 +426,12 @@ const AdminAgentsApiAxiosParamCreator = function (configuration) {
|
|
|
426
426
|
*
|
|
427
427
|
* @summary List all agents in the tenant
|
|
428
428
|
* @param {string} orgId
|
|
429
|
+
* @param {AdminAgentsListSortBy} [sortBy] Sort field. Default: name. Another value is ignored.
|
|
430
|
+
* @param {AdminAgentsListSortDir} [sortDir] Sort direction, used with sortBy.
|
|
429
431
|
* @param {*} [options] Override http request option.
|
|
430
432
|
* @throws {RequiredError}
|
|
431
433
|
*/
|
|
432
|
-
adminAgentsList: (orgId_1, ...args_1) => __awaiter(this, [orgId_1, ...args_1], void 0, function* (orgId, options = {}) {
|
|
434
|
+
adminAgentsList: (orgId_1, sortBy_1, sortDir_1, ...args_1) => __awaiter(this, [orgId_1, sortBy_1, sortDir_1, ...args_1], void 0, function* (orgId, sortBy, sortDir, options = {}) {
|
|
433
435
|
// verify required parameter 'orgId' is not null or undefined
|
|
434
436
|
(0, common_1.assertParamExists)('adminAgentsList', 'orgId', orgId);
|
|
435
437
|
const localVarPath = `/orgs/{orgId}/api/v1/admin/agents`
|
|
@@ -448,6 +450,12 @@ const AdminAgentsApiAxiosParamCreator = function (configuration) {
|
|
|
448
450
|
// authentication BearerAuth required
|
|
449
451
|
// http bearer authentication required
|
|
450
452
|
yield (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration);
|
|
453
|
+
if (sortBy !== undefined) {
|
|
454
|
+
localVarQueryParameter['sortBy'] = sortBy;
|
|
455
|
+
}
|
|
456
|
+
if (sortDir !== undefined) {
|
|
457
|
+
localVarQueryParameter['sortDir'] = sortDir;
|
|
458
|
+
}
|
|
451
459
|
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
452
460
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
453
461
|
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
@@ -893,13 +901,15 @@ const AdminAgentsApiFp = function (configuration) {
|
|
|
893
901
|
*
|
|
894
902
|
* @summary List all agents in the tenant
|
|
895
903
|
* @param {string} orgId
|
|
904
|
+
* @param {AdminAgentsListSortBy} [sortBy] Sort field. Default: name. Another value is ignored.
|
|
905
|
+
* @param {AdminAgentsListSortDir} [sortDir] Sort direction, used with sortBy.
|
|
896
906
|
* @param {*} [options] Override http request option.
|
|
897
907
|
* @throws {RequiredError}
|
|
898
908
|
*/
|
|
899
|
-
adminAgentsList(orgId, options) {
|
|
909
|
+
adminAgentsList(orgId, sortBy, sortDir, options) {
|
|
900
910
|
return __awaiter(this, void 0, void 0, function* () {
|
|
901
911
|
var _a, _b, _c;
|
|
902
|
-
const localVarAxiosArgs = yield localVarAxiosParamCreator.adminAgentsList(orgId, options);
|
|
912
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.adminAgentsList(orgId, sortBy, sortDir, options);
|
|
903
913
|
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
904
914
|
const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['AdminAgentsApi.adminAgentsList']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
905
915
|
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
@@ -1130,7 +1140,7 @@ const AdminAgentsApiFactory = function (configuration, basePath, axios) {
|
|
|
1130
1140
|
* @throws {RequiredError}
|
|
1131
1141
|
*/
|
|
1132
1142
|
adminAgentsList(requestParameters, options) {
|
|
1133
|
-
return localVarFp.adminAgentsList(requestParameters.orgId, options).then((request) => request(axios, basePath));
|
|
1143
|
+
return localVarFp.adminAgentsList(requestParameters.orgId, requestParameters.sortBy, requestParameters.sortDir, options).then((request) => request(axios, basePath));
|
|
1134
1144
|
},
|
|
1135
1145
|
/**
|
|
1136
1146
|
* For a trusted component of your organization, such as an AI gateway\'s spend callback or an orchestrator, that sees the agent\'s model calls. Adds the tokens and cost to the agent\'s budget windows (current UTC hour, day and month), exactly like POST /agents/me/usage from the agent itself. The report adds no API call and is accepted even when the budget is spent.
|
|
@@ -1321,7 +1331,7 @@ class AdminAgentsApi extends base_1.BaseAPI {
|
|
|
1321
1331
|
* @memberof AdminAgentsApi
|
|
1322
1332
|
*/
|
|
1323
1333
|
adminAgentsList(requestParameters, options) {
|
|
1324
|
-
return (0, exports.AdminAgentsApiFp)(this.configuration).adminAgentsList(requestParameters.orgId, options).then((request) => request(this.axios, this.basePath));
|
|
1334
|
+
return (0, exports.AdminAgentsApiFp)(this.configuration).adminAgentsList(requestParameters.orgId, requestParameters.sortBy, requestParameters.sortDir, options).then((request) => request(this.axios, this.basePath));
|
|
1325
1335
|
}
|
|
1326
1336
|
/**
|
|
1327
1337
|
* For a trusted component of your organization, such as an AI gateway\'s spend callback or an orchestrator, that sees the agent\'s model calls. Adds the tokens and cost to the agent\'s budget windows (current UTC hour, day and month), exactly like POST /agents/me/usage from the agent itself. The report adds no API call and is accepted even when the budget is spent.
|
|
@@ -1391,3 +1401,24 @@ class AdminAgentsApi extends base_1.BaseAPI {
|
|
|
1391
1401
|
}
|
|
1392
1402
|
}
|
|
1393
1403
|
exports.AdminAgentsApi = AdminAgentsApi;
|
|
1404
|
+
/**
|
|
1405
|
+
* @export
|
|
1406
|
+
* @enum {string}
|
|
1407
|
+
*/
|
|
1408
|
+
var AdminAgentsListSortBy;
|
|
1409
|
+
(function (AdminAgentsListSortBy) {
|
|
1410
|
+
AdminAgentsListSortBy["NAME"] = "name";
|
|
1411
|
+
AdminAgentsListSortBy["AGENT_ID"] = "agentId";
|
|
1412
|
+
AdminAgentsListSortBy["STATUS"] = "status";
|
|
1413
|
+
AdminAgentsListSortBy["CREATED_AT"] = "createdAt";
|
|
1414
|
+
AdminAgentsListSortBy["LAST_USED_AT"] = "lastUsedAt";
|
|
1415
|
+
})(AdminAgentsListSortBy || (exports.AdminAgentsListSortBy = AdminAgentsListSortBy = {}));
|
|
1416
|
+
/**
|
|
1417
|
+
* @export
|
|
1418
|
+
* @enum {string}
|
|
1419
|
+
*/
|
|
1420
|
+
var AdminAgentsListSortDir;
|
|
1421
|
+
(function (AdminAgentsListSortDir) {
|
|
1422
|
+
AdminAgentsListSortDir["ASC"] = "ASC";
|
|
1423
|
+
AdminAgentsListSortDir["DESC"] = "DESC";
|
|
1424
|
+
})(AdminAgentsListSortDir || (exports.AdminAgentsListSortDir = AdminAgentsListSortDir = {}));
|
|
@@ -31,7 +31,7 @@ export declare const AdminAuditLogsApiAxiosParamCreator: (configuration?: Config
|
|
|
31
31
|
*/
|
|
32
32
|
adminAuditLogsActions: (orgId: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
33
33
|
/**
|
|
34
|
-
*
|
|
34
|
+
* Needs `audit.export` and `audit.view`, as the export on the portal\'s audit log page does.
|
|
35
35
|
* @summary Export audit logs as CSV (default) or JSON
|
|
36
36
|
* @param {string} orgId
|
|
37
37
|
* @param {*} [options] Override http request option.
|
|
@@ -72,7 +72,7 @@ export declare const AdminAuditLogsApiAxiosParamCreator: (configuration?: Config
|
|
|
72
72
|
*/
|
|
73
73
|
adminAuditLogsStats: (orgId: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
74
74
|
/**
|
|
75
|
-
*
|
|
75
|
+
* Needs `settings.manage` and `gdpr.manage`, as the GDPR settings page in the portal does.
|
|
76
76
|
* @summary Update audit log retention settings
|
|
77
77
|
* @param {string} orgId
|
|
78
78
|
* @param {*} [options] Override http request option.
|
|
@@ -80,7 +80,7 @@ export declare const AdminAuditLogsApiAxiosParamCreator: (configuration?: Config
|
|
|
80
80
|
*/
|
|
81
81
|
patchAdminAuditLogsRetentionUpdate: (orgId: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
82
82
|
/**
|
|
83
|
-
*
|
|
83
|
+
* Needs `settings.manage` and `gdpr.manage`, as the GDPR settings page in the portal does.
|
|
84
84
|
* @summary Update audit log retention settings
|
|
85
85
|
* @param {string} orgId
|
|
86
86
|
* @param {*} [options] Override http request option.
|
|
@@ -102,7 +102,7 @@ export declare const AdminAuditLogsApiFp: (configuration?: Configuration) => {
|
|
|
102
102
|
*/
|
|
103
103
|
adminAuditLogsActions(orgId: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<AdminAuditLogsActionsResponse>>;
|
|
104
104
|
/**
|
|
105
|
-
*
|
|
105
|
+
* Needs `audit.export` and `audit.view`, as the export on the portal\'s audit log page does.
|
|
106
106
|
* @summary Export audit logs as CSV (default) or JSON
|
|
107
107
|
* @param {string} orgId
|
|
108
108
|
* @param {*} [options] Override http request option.
|
|
@@ -143,7 +143,7 @@ export declare const AdminAuditLogsApiFp: (configuration?: Configuration) => {
|
|
|
143
143
|
*/
|
|
144
144
|
adminAuditLogsStats(orgId: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<AdminAuditLogsStatsResponse>>;
|
|
145
145
|
/**
|
|
146
|
-
*
|
|
146
|
+
* Needs `settings.manage` and `gdpr.manage`, as the GDPR settings page in the portal does.
|
|
147
147
|
* @summary Update audit log retention settings
|
|
148
148
|
* @param {string} orgId
|
|
149
149
|
* @param {*} [options] Override http request option.
|
|
@@ -151,7 +151,7 @@ export declare const AdminAuditLogsApiFp: (configuration?: Configuration) => {
|
|
|
151
151
|
*/
|
|
152
152
|
patchAdminAuditLogsRetentionUpdate(orgId: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<AdminAuditLogsRetentionResponse>>;
|
|
153
153
|
/**
|
|
154
|
-
*
|
|
154
|
+
* Needs `settings.manage` and `gdpr.manage`, as the GDPR settings page in the portal does.
|
|
155
155
|
* @summary Update audit log retention settings
|
|
156
156
|
* @param {string} orgId
|
|
157
157
|
* @param {*} [options] Override http request option.
|
|
@@ -173,7 +173,7 @@ export declare const AdminAuditLogsApiFactory: (configuration?: Configuration, b
|
|
|
173
173
|
*/
|
|
174
174
|
adminAuditLogsActions(requestParameters: AdminAuditLogsApiAdminAuditLogsActionsRequest, options?: RawAxiosRequestConfig): AxiosPromise<AdminAuditLogsActionsResponse>;
|
|
175
175
|
/**
|
|
176
|
-
*
|
|
176
|
+
* Needs `audit.export` and `audit.view`, as the export on the portal\'s audit log page does.
|
|
177
177
|
* @summary Export audit logs as CSV (default) or JSON
|
|
178
178
|
* @param {AdminAuditLogsApiAdminAuditLogsExportRequest} requestParameters Request parameters.
|
|
179
179
|
* @param {*} [options] Override http request option.
|
|
@@ -213,7 +213,7 @@ export declare const AdminAuditLogsApiFactory: (configuration?: Configuration, b
|
|
|
213
213
|
*/
|
|
214
214
|
adminAuditLogsStats(requestParameters: AdminAuditLogsApiAdminAuditLogsStatsRequest, options?: RawAxiosRequestConfig): AxiosPromise<AdminAuditLogsStatsResponse>;
|
|
215
215
|
/**
|
|
216
|
-
*
|
|
216
|
+
* Needs `settings.manage` and `gdpr.manage`, as the GDPR settings page in the portal does.
|
|
217
217
|
* @summary Update audit log retention settings
|
|
218
218
|
* @param {AdminAuditLogsApiPatchAdminAuditLogsRetentionUpdateRequest} requestParameters Request parameters.
|
|
219
219
|
* @param {*} [options] Override http request option.
|
|
@@ -221,7 +221,7 @@ export declare const AdminAuditLogsApiFactory: (configuration?: Configuration, b
|
|
|
221
221
|
*/
|
|
222
222
|
patchAdminAuditLogsRetentionUpdate(requestParameters: AdminAuditLogsApiPatchAdminAuditLogsRetentionUpdateRequest, options?: RawAxiosRequestConfig): AxiosPromise<AdminAuditLogsRetentionResponse>;
|
|
223
223
|
/**
|
|
224
|
-
*
|
|
224
|
+
* Needs `settings.manage` and `gdpr.manage`, as the GDPR settings page in the portal does.
|
|
225
225
|
* @summary Update audit log retention settings
|
|
226
226
|
* @param {AdminAuditLogsApiPutAdminAuditLogsRetentionUpdateRequest} requestParameters Request parameters.
|
|
227
227
|
* @param {*} [options] Override http request option.
|
|
@@ -245,7 +245,7 @@ export interface AdminAuditLogsApiInterface {
|
|
|
245
245
|
*/
|
|
246
246
|
adminAuditLogsActions(requestParameters: AdminAuditLogsApiAdminAuditLogsActionsRequest, options?: RawAxiosRequestConfig): AxiosPromise<AdminAuditLogsActionsResponse>;
|
|
247
247
|
/**
|
|
248
|
-
*
|
|
248
|
+
* Needs `audit.export` and `audit.view`, as the export on the portal\'s audit log page does.
|
|
249
249
|
* @summary Export audit logs as CSV (default) or JSON
|
|
250
250
|
* @param {AdminAuditLogsApiAdminAuditLogsExportRequest} requestParameters Request parameters.
|
|
251
251
|
* @param {*} [options] Override http request option.
|
|
@@ -290,7 +290,7 @@ export interface AdminAuditLogsApiInterface {
|
|
|
290
290
|
*/
|
|
291
291
|
adminAuditLogsStats(requestParameters: AdminAuditLogsApiAdminAuditLogsStatsRequest, options?: RawAxiosRequestConfig): AxiosPromise<AdminAuditLogsStatsResponse>;
|
|
292
292
|
/**
|
|
293
|
-
*
|
|
293
|
+
* Needs `settings.manage` and `gdpr.manage`, as the GDPR settings page in the portal does.
|
|
294
294
|
* @summary Update audit log retention settings
|
|
295
295
|
* @param {AdminAuditLogsApiPatchAdminAuditLogsRetentionUpdateRequest} requestParameters Request parameters.
|
|
296
296
|
* @param {*} [options] Override http request option.
|
|
@@ -299,7 +299,7 @@ export interface AdminAuditLogsApiInterface {
|
|
|
299
299
|
*/
|
|
300
300
|
patchAdminAuditLogsRetentionUpdate(requestParameters: AdminAuditLogsApiPatchAdminAuditLogsRetentionUpdateRequest, options?: RawAxiosRequestConfig): AxiosPromise<AdminAuditLogsRetentionResponse>;
|
|
301
301
|
/**
|
|
302
|
-
*
|
|
302
|
+
* Needs `settings.manage` and `gdpr.manage`, as the GDPR settings page in the portal does.
|
|
303
303
|
* @summary Update audit log retention settings
|
|
304
304
|
* @param {AdminAuditLogsApiPutAdminAuditLogsRetentionUpdateRequest} requestParameters Request parameters.
|
|
305
305
|
* @param {*} [options] Override http request option.
|
|
@@ -435,7 +435,7 @@ export declare class AdminAuditLogsApi extends BaseAPI implements AdminAuditLogs
|
|
|
435
435
|
*/
|
|
436
436
|
adminAuditLogsActions(requestParameters: AdminAuditLogsApiAdminAuditLogsActionsRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<AdminAuditLogsActionsResponse, any, {}>>;
|
|
437
437
|
/**
|
|
438
|
-
*
|
|
438
|
+
* Needs `audit.export` and `audit.view`, as the export on the portal\'s audit log page does.
|
|
439
439
|
* @summary Export audit logs as CSV (default) or JSON
|
|
440
440
|
* @param {AdminAuditLogsApiAdminAuditLogsExportRequest} requestParameters Request parameters.
|
|
441
441
|
* @param {*} [options] Override http request option.
|
|
@@ -480,7 +480,7 @@ export declare class AdminAuditLogsApi extends BaseAPI implements AdminAuditLogs
|
|
|
480
480
|
*/
|
|
481
481
|
adminAuditLogsStats(requestParameters: AdminAuditLogsApiAdminAuditLogsStatsRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<AdminAuditLogsStatsResponse, any, {}>>;
|
|
482
482
|
/**
|
|
483
|
-
*
|
|
483
|
+
* Needs `settings.manage` and `gdpr.manage`, as the GDPR settings page in the portal does.
|
|
484
484
|
* @summary Update audit log retention settings
|
|
485
485
|
* @param {AdminAuditLogsApiPatchAdminAuditLogsRetentionUpdateRequest} requestParameters Request parameters.
|
|
486
486
|
* @param {*} [options] Override http request option.
|
|
@@ -489,7 +489,7 @@ export declare class AdminAuditLogsApi extends BaseAPI implements AdminAuditLogs
|
|
|
489
489
|
*/
|
|
490
490
|
patchAdminAuditLogsRetentionUpdate(requestParameters: AdminAuditLogsApiPatchAdminAuditLogsRetentionUpdateRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<AdminAuditLogsRetentionResponse, any, {}>>;
|
|
491
491
|
/**
|
|
492
|
-
*
|
|
492
|
+
* Needs `settings.manage` and `gdpr.manage`, as the GDPR settings page in the portal does.
|
|
493
493
|
* @summary Update audit log retention settings
|
|
494
494
|
* @param {AdminAuditLogsApiPutAdminAuditLogsRetentionUpdateRequest} requestParameters Request parameters.
|
|
495
495
|
* @param {*} [options] Override http request option.
|
|
@@ -70,7 +70,7 @@ const AdminAuditLogsApiAxiosParamCreator = function (configuration) {
|
|
|
70
70
|
};
|
|
71
71
|
}),
|
|
72
72
|
/**
|
|
73
|
-
*
|
|
73
|
+
* Needs `audit.export` and `audit.view`, as the export on the portal\'s audit log page does.
|
|
74
74
|
* @summary Export audit logs as CSV (default) or JSON
|
|
75
75
|
* @param {string} orgId
|
|
76
76
|
* @param {*} [options] Override http request option.
|
|
@@ -244,7 +244,7 @@ const AdminAuditLogsApiAxiosParamCreator = function (configuration) {
|
|
|
244
244
|
};
|
|
245
245
|
}),
|
|
246
246
|
/**
|
|
247
|
-
*
|
|
247
|
+
* Needs `settings.manage` and `gdpr.manage`, as the GDPR settings page in the portal does.
|
|
248
248
|
* @summary Update audit log retention settings
|
|
249
249
|
* @param {string} orgId
|
|
250
250
|
* @param {*} [options] Override http request option.
|
|
@@ -278,7 +278,7 @@ const AdminAuditLogsApiAxiosParamCreator = function (configuration) {
|
|
|
278
278
|
};
|
|
279
279
|
}),
|
|
280
280
|
/**
|
|
281
|
-
*
|
|
281
|
+
* Needs `settings.manage` and `gdpr.manage`, as the GDPR settings page in the portal does.
|
|
282
282
|
* @summary Update audit log retention settings
|
|
283
283
|
* @param {string} orgId
|
|
284
284
|
* @param {*} [options] Override http request option.
|
|
@@ -338,7 +338,7 @@ const AdminAuditLogsApiFp = function (configuration) {
|
|
|
338
338
|
});
|
|
339
339
|
},
|
|
340
340
|
/**
|
|
341
|
-
*
|
|
341
|
+
* Needs `audit.export` and `audit.view`, as the export on the portal\'s audit log page does.
|
|
342
342
|
* @summary Export audit logs as CSV (default) or JSON
|
|
343
343
|
* @param {string} orgId
|
|
344
344
|
* @param {*} [options] Override http request option.
|
|
@@ -419,7 +419,7 @@ const AdminAuditLogsApiFp = function (configuration) {
|
|
|
419
419
|
});
|
|
420
420
|
},
|
|
421
421
|
/**
|
|
422
|
-
*
|
|
422
|
+
* Needs `settings.manage` and `gdpr.manage`, as the GDPR settings page in the portal does.
|
|
423
423
|
* @summary Update audit log retention settings
|
|
424
424
|
* @param {string} orgId
|
|
425
425
|
* @param {*} [options] Override http request option.
|
|
@@ -435,7 +435,7 @@ const AdminAuditLogsApiFp = function (configuration) {
|
|
|
435
435
|
});
|
|
436
436
|
},
|
|
437
437
|
/**
|
|
438
|
-
*
|
|
438
|
+
* Needs `settings.manage` and `gdpr.manage`, as the GDPR settings page in the portal does.
|
|
439
439
|
* @summary Update audit log retention settings
|
|
440
440
|
* @param {string} orgId
|
|
441
441
|
* @param {*} [options] Override http request option.
|
|
@@ -471,7 +471,7 @@ const AdminAuditLogsApiFactory = function (configuration, basePath, axios) {
|
|
|
471
471
|
return localVarFp.adminAuditLogsActions(requestParameters.orgId, options).then((request) => request(axios, basePath));
|
|
472
472
|
},
|
|
473
473
|
/**
|
|
474
|
-
*
|
|
474
|
+
* Needs `audit.export` and `audit.view`, as the export on the portal\'s audit log page does.
|
|
475
475
|
* @summary Export audit logs as CSV (default) or JSON
|
|
476
476
|
* @param {AdminAuditLogsApiAdminAuditLogsExportRequest} requestParameters Request parameters.
|
|
477
477
|
* @param {*} [options] Override http request option.
|
|
@@ -521,7 +521,7 @@ const AdminAuditLogsApiFactory = function (configuration, basePath, axios) {
|
|
|
521
521
|
return localVarFp.adminAuditLogsStats(requestParameters.orgId, options).then((request) => request(axios, basePath));
|
|
522
522
|
},
|
|
523
523
|
/**
|
|
524
|
-
*
|
|
524
|
+
* Needs `settings.manage` and `gdpr.manage`, as the GDPR settings page in the portal does.
|
|
525
525
|
* @summary Update audit log retention settings
|
|
526
526
|
* @param {AdminAuditLogsApiPatchAdminAuditLogsRetentionUpdateRequest} requestParameters Request parameters.
|
|
527
527
|
* @param {*} [options] Override http request option.
|
|
@@ -531,7 +531,7 @@ const AdminAuditLogsApiFactory = function (configuration, basePath, axios) {
|
|
|
531
531
|
return localVarFp.patchAdminAuditLogsRetentionUpdate(requestParameters.orgId, options).then((request) => request(axios, basePath));
|
|
532
532
|
},
|
|
533
533
|
/**
|
|
534
|
-
*
|
|
534
|
+
* Needs `settings.manage` and `gdpr.manage`, as the GDPR settings page in the portal does.
|
|
535
535
|
* @summary Update audit log retention settings
|
|
536
536
|
* @param {AdminAuditLogsApiPutAdminAuditLogsRetentionUpdateRequest} requestParameters Request parameters.
|
|
537
537
|
* @param {*} [options] Override http request option.
|
|
@@ -562,7 +562,7 @@ class AdminAuditLogsApi extends base_1.BaseAPI {
|
|
|
562
562
|
return (0, exports.AdminAuditLogsApiFp)(this.configuration).adminAuditLogsActions(requestParameters.orgId, options).then((request) => request(this.axios, this.basePath));
|
|
563
563
|
}
|
|
564
564
|
/**
|
|
565
|
-
*
|
|
565
|
+
* Needs `audit.export` and `audit.view`, as the export on the portal\'s audit log page does.
|
|
566
566
|
* @summary Export audit logs as CSV (default) or JSON
|
|
567
567
|
* @param {AdminAuditLogsApiAdminAuditLogsExportRequest} requestParameters Request parameters.
|
|
568
568
|
* @param {*} [options] Override http request option.
|
|
@@ -617,7 +617,7 @@ class AdminAuditLogsApi extends base_1.BaseAPI {
|
|
|
617
617
|
return (0, exports.AdminAuditLogsApiFp)(this.configuration).adminAuditLogsStats(requestParameters.orgId, options).then((request) => request(this.axios, this.basePath));
|
|
618
618
|
}
|
|
619
619
|
/**
|
|
620
|
-
*
|
|
620
|
+
* Needs `settings.manage` and `gdpr.manage`, as the GDPR settings page in the portal does.
|
|
621
621
|
* @summary Update audit log retention settings
|
|
622
622
|
* @param {AdminAuditLogsApiPatchAdminAuditLogsRetentionUpdateRequest} requestParameters Request parameters.
|
|
623
623
|
* @param {*} [options] Override http request option.
|
|
@@ -628,7 +628,7 @@ class AdminAuditLogsApi extends base_1.BaseAPI {
|
|
|
628
628
|
return (0, exports.AdminAuditLogsApiFp)(this.configuration).patchAdminAuditLogsRetentionUpdate(requestParameters.orgId, options).then((request) => request(this.axios, this.basePath));
|
|
629
629
|
}
|
|
630
630
|
/**
|
|
631
|
-
*
|
|
631
|
+
* Needs `settings.manage` and `gdpr.manage`, as the GDPR settings page in the portal does.
|
|
632
632
|
* @summary Update audit log retention settings
|
|
633
633
|
* @param {AdminAuditLogsApiPutAdminAuditLogsRetentionUpdateRequest} requestParameters Request parameters.
|
|
634
634
|
* @param {*} [options] Override http request option.
|
|
@@ -34,7 +34,7 @@ export declare const AdminEmailApiAxiosParamCreator: (configuration?: Configurat
|
|
|
34
34
|
*/
|
|
35
35
|
adminEmailTemplatesDelete: (orgId: string, type: string, locale?: string, clientId?: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
36
36
|
/**
|
|
37
|
-
*
|
|
37
|
+
* Needs `settings.manage` and `users.delete`, as the email template pages in the portal do.
|
|
38
38
|
* @summary Get an email template (custom or built-in default)
|
|
39
39
|
* @param {string} orgId
|
|
40
40
|
* @param {string} type
|
|
@@ -45,7 +45,7 @@ export declare const AdminEmailApiAxiosParamCreator: (configuration?: Configurat
|
|
|
45
45
|
*/
|
|
46
46
|
adminEmailTemplatesGet: (orgId: string, type: string, locale?: string, clientId?: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
47
47
|
/**
|
|
48
|
-
*
|
|
48
|
+
* Needs `settings.manage` and `users.delete`, as the email template pages in the portal do.
|
|
49
49
|
* @summary List every email template type with its current (custom or built-in) template
|
|
50
50
|
* @param {string} orgId
|
|
51
51
|
* @param {*} [options] Override http request option.
|
|
@@ -71,7 +71,7 @@ export declare const AdminEmailApiAxiosParamCreator: (configuration?: Configurat
|
|
|
71
71
|
*/
|
|
72
72
|
adminEmailTemplatesUpsert: (orgId: string, type: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
73
73
|
/**
|
|
74
|
-
*
|
|
74
|
+
* Needs `settings.manage` and `users.delete`, as the email template pages in the portal do.
|
|
75
75
|
* @summary List the placeholders available to an email template type
|
|
76
76
|
* @param {string} orgId
|
|
77
77
|
* @param {string} type
|
|
@@ -97,7 +97,7 @@ export declare const AdminEmailApiFp: (configuration?: Configuration) => {
|
|
|
97
97
|
*/
|
|
98
98
|
adminEmailTemplatesDelete(orgId: string, type: string, locale?: string, clientId?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<MessageResponse>>;
|
|
99
99
|
/**
|
|
100
|
-
*
|
|
100
|
+
* Needs `settings.manage` and `users.delete`, as the email template pages in the portal do.
|
|
101
101
|
* @summary Get an email template (custom or built-in default)
|
|
102
102
|
* @param {string} orgId
|
|
103
103
|
* @param {string} type
|
|
@@ -108,7 +108,7 @@ export declare const AdminEmailApiFp: (configuration?: Configuration) => {
|
|
|
108
108
|
*/
|
|
109
109
|
adminEmailTemplatesGet(orgId: string, type: string, locale?: string, clientId?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<EmailTemplate>>;
|
|
110
110
|
/**
|
|
111
|
-
*
|
|
111
|
+
* Needs `settings.manage` and `users.delete`, as the email template pages in the portal do.
|
|
112
112
|
* @summary List every email template type with its current (custom or built-in) template
|
|
113
113
|
* @param {string} orgId
|
|
114
114
|
* @param {*} [options] Override http request option.
|
|
@@ -134,7 +134,7 @@ export declare const AdminEmailApiFp: (configuration?: Configuration) => {
|
|
|
134
134
|
*/
|
|
135
135
|
adminEmailTemplatesUpsert(orgId: string, type: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<EmailTemplate>>;
|
|
136
136
|
/**
|
|
137
|
-
*
|
|
137
|
+
* Needs `settings.manage` and `users.delete`, as the email template pages in the portal do.
|
|
138
138
|
* @summary List the placeholders available to an email template type
|
|
139
139
|
* @param {string} orgId
|
|
140
140
|
* @param {string} type
|
|
@@ -157,7 +157,7 @@ export declare const AdminEmailApiFactory: (configuration?: Configuration, baseP
|
|
|
157
157
|
*/
|
|
158
158
|
adminEmailTemplatesDelete(requestParameters: AdminEmailApiAdminEmailTemplatesDeleteRequest, options?: RawAxiosRequestConfig): AxiosPromise<MessageResponse>;
|
|
159
159
|
/**
|
|
160
|
-
*
|
|
160
|
+
* Needs `settings.manage` and `users.delete`, as the email template pages in the portal do.
|
|
161
161
|
* @summary Get an email template (custom or built-in default)
|
|
162
162
|
* @param {AdminEmailApiAdminEmailTemplatesGetRequest} requestParameters Request parameters.
|
|
163
163
|
* @param {*} [options] Override http request option.
|
|
@@ -165,7 +165,7 @@ export declare const AdminEmailApiFactory: (configuration?: Configuration, baseP
|
|
|
165
165
|
*/
|
|
166
166
|
adminEmailTemplatesGet(requestParameters: AdminEmailApiAdminEmailTemplatesGetRequest, options?: RawAxiosRequestConfig): AxiosPromise<EmailTemplate>;
|
|
167
167
|
/**
|
|
168
|
-
*
|
|
168
|
+
* Needs `settings.manage` and `users.delete`, as the email template pages in the portal do.
|
|
169
169
|
* @summary List every email template type with its current (custom or built-in) template
|
|
170
170
|
* @param {AdminEmailApiAdminEmailTemplatesListRequest} requestParameters Request parameters.
|
|
171
171
|
* @param {*} [options] Override http request option.
|
|
@@ -189,7 +189,7 @@ export declare const AdminEmailApiFactory: (configuration?: Configuration, baseP
|
|
|
189
189
|
*/
|
|
190
190
|
adminEmailTemplatesUpsert(requestParameters: AdminEmailApiAdminEmailTemplatesUpsertRequest, options?: RawAxiosRequestConfig): AxiosPromise<EmailTemplate>;
|
|
191
191
|
/**
|
|
192
|
-
*
|
|
192
|
+
* Needs `settings.manage` and `users.delete`, as the email template pages in the portal do.
|
|
193
193
|
* @summary List the placeholders available to an email template type
|
|
194
194
|
* @param {AdminEmailApiAdminEmailTemplatesVariablesRequest} requestParameters Request parameters.
|
|
195
195
|
* @param {*} [options] Override http request option.
|
|
@@ -213,7 +213,7 @@ export interface AdminEmailApiInterface {
|
|
|
213
213
|
*/
|
|
214
214
|
adminEmailTemplatesDelete(requestParameters: AdminEmailApiAdminEmailTemplatesDeleteRequest, options?: RawAxiosRequestConfig): AxiosPromise<MessageResponse>;
|
|
215
215
|
/**
|
|
216
|
-
*
|
|
216
|
+
* Needs `settings.manage` and `users.delete`, as the email template pages in the portal do.
|
|
217
217
|
* @summary Get an email template (custom or built-in default)
|
|
218
218
|
* @param {AdminEmailApiAdminEmailTemplatesGetRequest} requestParameters Request parameters.
|
|
219
219
|
* @param {*} [options] Override http request option.
|
|
@@ -222,7 +222,7 @@ export interface AdminEmailApiInterface {
|
|
|
222
222
|
*/
|
|
223
223
|
adminEmailTemplatesGet(requestParameters: AdminEmailApiAdminEmailTemplatesGetRequest, options?: RawAxiosRequestConfig): AxiosPromise<EmailTemplate>;
|
|
224
224
|
/**
|
|
225
|
-
*
|
|
225
|
+
* Needs `settings.manage` and `users.delete`, as the email template pages in the portal do.
|
|
226
226
|
* @summary List every email template type with its current (custom or built-in) template
|
|
227
227
|
* @param {AdminEmailApiAdminEmailTemplatesListRequest} requestParameters Request parameters.
|
|
228
228
|
* @param {*} [options] Override http request option.
|
|
@@ -249,7 +249,7 @@ export interface AdminEmailApiInterface {
|
|
|
249
249
|
*/
|
|
250
250
|
adminEmailTemplatesUpsert(requestParameters: AdminEmailApiAdminEmailTemplatesUpsertRequest, options?: RawAxiosRequestConfig): AxiosPromise<EmailTemplate>;
|
|
251
251
|
/**
|
|
252
|
-
*
|
|
252
|
+
* Needs `settings.manage` and `users.delete`, as the email template pages in the portal do.
|
|
253
253
|
* @summary List the placeholders available to an email template type
|
|
254
254
|
* @param {AdminEmailApiAdminEmailTemplatesVariablesRequest} requestParameters Request parameters.
|
|
255
255
|
* @param {*} [options] Override http request option.
|
|
@@ -407,7 +407,7 @@ export declare class AdminEmailApi extends BaseAPI implements AdminEmailApiInter
|
|
|
407
407
|
*/
|
|
408
408
|
adminEmailTemplatesDelete(requestParameters: AdminEmailApiAdminEmailTemplatesDeleteRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<MessageResponse, any, {}>>;
|
|
409
409
|
/**
|
|
410
|
-
*
|
|
410
|
+
* Needs `settings.manage` and `users.delete`, as the email template pages in the portal do.
|
|
411
411
|
* @summary Get an email template (custom or built-in default)
|
|
412
412
|
* @param {AdminEmailApiAdminEmailTemplatesGetRequest} requestParameters Request parameters.
|
|
413
413
|
* @param {*} [options] Override http request option.
|
|
@@ -416,7 +416,7 @@ export declare class AdminEmailApi extends BaseAPI implements AdminEmailApiInter
|
|
|
416
416
|
*/
|
|
417
417
|
adminEmailTemplatesGet(requestParameters: AdminEmailApiAdminEmailTemplatesGetRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<EmailTemplate, any, {}>>;
|
|
418
418
|
/**
|
|
419
|
-
*
|
|
419
|
+
* Needs `settings.manage` and `users.delete`, as the email template pages in the portal do.
|
|
420
420
|
* @summary List every email template type with its current (custom or built-in) template
|
|
421
421
|
* @param {AdminEmailApiAdminEmailTemplatesListRequest} requestParameters Request parameters.
|
|
422
422
|
* @param {*} [options] Override http request option.
|
|
@@ -443,7 +443,7 @@ export declare class AdminEmailApi extends BaseAPI implements AdminEmailApiInter
|
|
|
443
443
|
*/
|
|
444
444
|
adminEmailTemplatesUpsert(requestParameters: AdminEmailApiAdminEmailTemplatesUpsertRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<EmailTemplate, any, {}>>;
|
|
445
445
|
/**
|
|
446
|
-
*
|
|
446
|
+
* Needs `settings.manage` and `users.delete`, as the email template pages in the portal do.
|
|
447
447
|
* @summary List the placeholders available to an email template type
|
|
448
448
|
* @param {AdminEmailApiAdminEmailTemplatesVariablesRequest} requestParameters Request parameters.
|
|
449
449
|
* @param {*} [options] Override http request option.
|
|
@@ -82,7 +82,7 @@ const AdminEmailApiAxiosParamCreator = function (configuration) {
|
|
|
82
82
|
};
|
|
83
83
|
}),
|
|
84
84
|
/**
|
|
85
|
-
*
|
|
85
|
+
* Needs `settings.manage` and `users.delete`, as the email template pages in the portal do.
|
|
86
86
|
* @summary Get an email template (custom or built-in default)
|
|
87
87
|
* @param {string} orgId
|
|
88
88
|
* @param {string} type
|
|
@@ -128,7 +128,7 @@ const AdminEmailApiAxiosParamCreator = function (configuration) {
|
|
|
128
128
|
};
|
|
129
129
|
}),
|
|
130
130
|
/**
|
|
131
|
-
*
|
|
131
|
+
* Needs `settings.manage` and `users.delete`, as the email template pages in the portal do.
|
|
132
132
|
* @summary List every email template type with its current (custom or built-in) template
|
|
133
133
|
* @param {string} orgId
|
|
134
134
|
* @param {*} [options] Override http request option.
|
|
@@ -238,7 +238,7 @@ const AdminEmailApiAxiosParamCreator = function (configuration) {
|
|
|
238
238
|
};
|
|
239
239
|
}),
|
|
240
240
|
/**
|
|
241
|
-
*
|
|
241
|
+
* Needs `settings.manage` and `users.delete`, as the email template pages in the portal do.
|
|
242
242
|
* @summary List the placeholders available to an email template type
|
|
243
243
|
* @param {string} orgId
|
|
244
244
|
* @param {string} type
|
|
@@ -305,7 +305,7 @@ const AdminEmailApiFp = function (configuration) {
|
|
|
305
305
|
});
|
|
306
306
|
},
|
|
307
307
|
/**
|
|
308
|
-
*
|
|
308
|
+
* Needs `settings.manage` and `users.delete`, as the email template pages in the portal do.
|
|
309
309
|
* @summary Get an email template (custom or built-in default)
|
|
310
310
|
* @param {string} orgId
|
|
311
311
|
* @param {string} type
|
|
@@ -324,7 +324,7 @@ const AdminEmailApiFp = function (configuration) {
|
|
|
324
324
|
});
|
|
325
325
|
},
|
|
326
326
|
/**
|
|
327
|
-
*
|
|
327
|
+
* Needs `settings.manage` and `users.delete`, as the email template pages in the portal do.
|
|
328
328
|
* @summary List every email template type with its current (custom or built-in) template
|
|
329
329
|
* @param {string} orgId
|
|
330
330
|
* @param {*} [options] Override http request option.
|
|
@@ -374,7 +374,7 @@ const AdminEmailApiFp = function (configuration) {
|
|
|
374
374
|
});
|
|
375
375
|
},
|
|
376
376
|
/**
|
|
377
|
-
*
|
|
377
|
+
* Needs `settings.manage` and `users.delete`, as the email template pages in the portal do.
|
|
378
378
|
* @summary List the placeholders available to an email template type
|
|
379
379
|
* @param {string} orgId
|
|
380
380
|
* @param {string} type
|
|
@@ -411,7 +411,7 @@ const AdminEmailApiFactory = function (configuration, basePath, axios) {
|
|
|
411
411
|
return localVarFp.adminEmailTemplatesDelete(requestParameters.orgId, requestParameters.type, requestParameters.locale, requestParameters.clientId, options).then((request) => request(axios, basePath));
|
|
412
412
|
},
|
|
413
413
|
/**
|
|
414
|
-
*
|
|
414
|
+
* Needs `settings.manage` and `users.delete`, as the email template pages in the portal do.
|
|
415
415
|
* @summary Get an email template (custom or built-in default)
|
|
416
416
|
* @param {AdminEmailApiAdminEmailTemplatesGetRequest} requestParameters Request parameters.
|
|
417
417
|
* @param {*} [options] Override http request option.
|
|
@@ -421,7 +421,7 @@ const AdminEmailApiFactory = function (configuration, basePath, axios) {
|
|
|
421
421
|
return localVarFp.adminEmailTemplatesGet(requestParameters.orgId, requestParameters.type, requestParameters.locale, requestParameters.clientId, options).then((request) => request(axios, basePath));
|
|
422
422
|
},
|
|
423
423
|
/**
|
|
424
|
-
*
|
|
424
|
+
* Needs `settings.manage` and `users.delete`, as the email template pages in the portal do.
|
|
425
425
|
* @summary List every email template type with its current (custom or built-in) template
|
|
426
426
|
* @param {AdminEmailApiAdminEmailTemplatesListRequest} requestParameters Request parameters.
|
|
427
427
|
* @param {*} [options] Override http request option.
|
|
@@ -451,7 +451,7 @@ const AdminEmailApiFactory = function (configuration, basePath, axios) {
|
|
|
451
451
|
return localVarFp.adminEmailTemplatesUpsert(requestParameters.orgId, requestParameters.type, options).then((request) => request(axios, basePath));
|
|
452
452
|
},
|
|
453
453
|
/**
|
|
454
|
-
*
|
|
454
|
+
* Needs `settings.manage` and `users.delete`, as the email template pages in the portal do.
|
|
455
455
|
* @summary List the placeholders available to an email template type
|
|
456
456
|
* @param {AdminEmailApiAdminEmailTemplatesVariablesRequest} requestParameters Request parameters.
|
|
457
457
|
* @param {*} [options] Override http request option.
|
|
@@ -482,7 +482,7 @@ class AdminEmailApi extends base_1.BaseAPI {
|
|
|
482
482
|
return (0, exports.AdminEmailApiFp)(this.configuration).adminEmailTemplatesDelete(requestParameters.orgId, requestParameters.type, requestParameters.locale, requestParameters.clientId, options).then((request) => request(this.axios, this.basePath));
|
|
483
483
|
}
|
|
484
484
|
/**
|
|
485
|
-
*
|
|
485
|
+
* Needs `settings.manage` and `users.delete`, as the email template pages in the portal do.
|
|
486
486
|
* @summary Get an email template (custom or built-in default)
|
|
487
487
|
* @param {AdminEmailApiAdminEmailTemplatesGetRequest} requestParameters Request parameters.
|
|
488
488
|
* @param {*} [options] Override http request option.
|
|
@@ -493,7 +493,7 @@ class AdminEmailApi extends base_1.BaseAPI {
|
|
|
493
493
|
return (0, exports.AdminEmailApiFp)(this.configuration).adminEmailTemplatesGet(requestParameters.orgId, requestParameters.type, requestParameters.locale, requestParameters.clientId, options).then((request) => request(this.axios, this.basePath));
|
|
494
494
|
}
|
|
495
495
|
/**
|
|
496
|
-
*
|
|
496
|
+
* Needs `settings.manage` and `users.delete`, as the email template pages in the portal do.
|
|
497
497
|
* @summary List every email template type with its current (custom or built-in) template
|
|
498
498
|
* @param {AdminEmailApiAdminEmailTemplatesListRequest} requestParameters Request parameters.
|
|
499
499
|
* @param {*} [options] Override http request option.
|
|
@@ -526,7 +526,7 @@ class AdminEmailApi extends base_1.BaseAPI {
|
|
|
526
526
|
return (0, exports.AdminEmailApiFp)(this.configuration).adminEmailTemplatesUpsert(requestParameters.orgId, requestParameters.type, options).then((request) => request(this.axios, this.basePath));
|
|
527
527
|
}
|
|
528
528
|
/**
|
|
529
|
-
*
|
|
529
|
+
* Needs `settings.manage` and `users.delete`, as the email template pages in the portal do.
|
|
530
530
|
* @summary List the placeholders available to an email template type
|
|
531
531
|
* @param {AdminEmailApiAdminEmailTemplatesVariablesRequest} requestParameters Request parameters.
|
|
532
532
|
* @param {*} [options] Override http request option.
|