@anthropic-ai/sdk
Version:
The official TypeScript library for the Anthropic API
107 lines • 8.62 kB
text/typescript
import { APIResource } from "../../../../../core/resource.mjs";
import * as ConfigurationAPI from "./configuration.mjs";
import { BetaClaudeCodeManagedSettingsConfiguration, BetaClaudeCodeManagedSettingsMode, BetaClaudeCodeManagedSettingsModeParam, BetaClaudeCodeManagedSettingsOrganizationMode, BetaClaudeCodeManagedSettingsOrganizationModeParam, BetaClaudeCodeManagedSettingsRBACGroupsMode, BetaClaudeCodeManagedSettingsRBACGroupsModeParam, Configuration, ConfigurationRetrieveParams, ConfigurationUpdateParams } from "./configuration.mjs";
import * as RBACGroupDefaultAPI from "./rbac-group-default.mjs";
import { BetaClaudeCodeRBACGroupDefaultManagedSettings, RBACGroupDefault, RBACGroupDefaultRetrieveParams, RBACGroupDefaultUpdateParams } from "./rbac-group-default.mjs";
import * as RBACGroupsAPI from "./rbac-groups.mjs";
import { BetaClaudeCodeRBACGroupManagedSettings, BetaClaudeCodeRBACGroupManagedSettingsSummariesPageCursor, BetaClaudeCodeRBACGroupManagedSettingsSummary, BetaClaudeCodeRBACGroupStatus, BetaClaudeCodeRBACGroupStatusActive, BetaClaudeCodeRBACGroupStatusDeleted, BetaClaudeCodeRBACGroupStatusUnknown, BetaDeletedClaudeCodeRBACGroupManagedSettings, RBACGroupDeleteParams, RBACGroupListParams, RBACGroupRetrieveParams, RBACGroupSetParams, RBACGroups } from "./rbac-groups.mjs";
import { BadRequestError, NotFoundError } from "../../../../../core/error.mjs";
/**
* This stored settings document currently cannot be read or replaced. Contact
* support, or, if you no longer need these settings, delete the group's settings
* or clear the default.
*/
export declare class BetaCMEKFeatureUnsupportedError extends BadRequestError {
readonly errorCode: 'cmek_feature_unsupported';
readonly details: BetaCMEKFeatureUnsupportedErrorDetails;
}
/**
* The RBAC Group order already has the most groups allowed. Delete another group's
* settings first.
*/
export declare class BetaRBACGroupOrderLimitExceededError extends BadRequestError {
readonly errorCode: 'rbac_group_order_limit_exceeded';
readonly details: BetaRBACGroupOrderLimitExceededErrorDetails;
}
/**
* The organization has reached its limit of settings documents, counting unused
* ones. An owner can remove unused documents in claude.ai. Deleting a group's
* settings or clearing the default settings also frees a document, if nothing else
* uses it. None of these works once the organization has also reached its settings
* history limit.
*/
export declare class BetaSettingsDocumentLimitExceededError extends BadRequestError {
readonly errorCode: 'settings_document_limit_exceeded';
readonly details: BetaSettingsDocumentLimitExceededErrorDetails;
}
/**
* The organization has reached its settings history limit, a cap on stored
* versions of its settings documents. Nothing in the API or claude.ai lowers the
* count, so contact support. Creating or deleting group settings, creating or
* clearing the default settings, and reordering are refused. Changing the mode
* still works, unless it would copy the organization settings into a new default.
*/
export declare class BetaSettingsHistoryLimitExceededError extends BadRequestError {
readonly errorCode: 'settings_history_limit_exceeded';
readonly details: BetaSettingsHistoryLimitExceededErrorDetails;
}
/**
* This RBAC Group has no Claude Code managed settings.
*/
export declare class BetaRBACGroupManagedSettingsNotFoundError extends NotFoundError {
readonly errorCode: 'rbac_group_managed_settings_not_found';
readonly details: BetaRBACGroupManagedSettingsNotFoundErrorDetails;
}
export declare class ManagedSettings extends APIResource {
configuration: ConfigurationAPI.Configuration;
rbacGroups: RBACGroupsAPI.RBACGroups;
rbacGroupDefault: RBACGroupDefaultAPI.RBACGroupDefault;
}
/**
* This stored settings document currently cannot be read or replaced. Contact
* support, or, if you no longer need these settings, delete the group's settings
* or clear the default.
*/
export interface BetaCMEKFeatureUnsupportedErrorDetails {
error_code: 'cmek_feature_unsupported';
}
/**
* This RBAC Group has no Claude Code managed settings.
*/
export interface BetaRBACGroupManagedSettingsNotFoundErrorDetails {
error_code: 'rbac_group_managed_settings_not_found';
}
/**
* The RBAC Group order already has the most groups allowed. Delete another group's
* settings first.
*/
export interface BetaRBACGroupOrderLimitExceededErrorDetails {
error_code: 'rbac_group_order_limit_exceeded';
}
/**
* The organization has reached its limit of settings documents, counting unused
* ones. An owner can remove unused documents in claude.ai. Deleting a group's
* settings or clearing the default settings also frees a document, if nothing else
* uses it. None of these works once the organization has also reached its settings
* history limit.
*/
export interface BetaSettingsDocumentLimitExceededErrorDetails {
error_code: 'settings_document_limit_exceeded';
}
/**
* The organization has reached its settings history limit, a cap on stored
* versions of its settings documents. Nothing in the API or claude.ai lowers the
* count, so contact support. Creating or deleting group settings, creating or
* clearing the default settings, and reordering are refused. Changing the mode
* still works, unless it would copy the organization settings into a new default.
*/
export interface BetaSettingsHistoryLimitExceededErrorDetails {
error_code: 'settings_history_limit_exceeded';
}
export declare namespace ManagedSettings {
export { BetaCMEKFeatureUnsupportedError as BetaCMEKFeatureUnsupportedError, BetaRBACGroupOrderLimitExceededError as BetaRBACGroupOrderLimitExceededError, BetaSettingsDocumentLimitExceededError as BetaSettingsDocumentLimitExceededError, BetaSettingsHistoryLimitExceededError as BetaSettingsHistoryLimitExceededError, BetaRBACGroupManagedSettingsNotFoundError as BetaRBACGroupManagedSettingsNotFoundError, type BetaCMEKFeatureUnsupportedErrorDetails as BetaCMEKFeatureUnsupportedErrorDetails, type BetaRBACGroupManagedSettingsNotFoundErrorDetails as BetaRBACGroupManagedSettingsNotFoundErrorDetails, type BetaRBACGroupOrderLimitExceededErrorDetails as BetaRBACGroupOrderLimitExceededErrorDetails, type BetaSettingsDocumentLimitExceededErrorDetails as BetaSettingsDocumentLimitExceededErrorDetails, type BetaSettingsHistoryLimitExceededErrorDetails as BetaSettingsHistoryLimitExceededErrorDetails, };
export { Configuration as Configuration, type BetaClaudeCodeManagedSettingsConfiguration as BetaClaudeCodeManagedSettingsConfiguration, type BetaClaudeCodeManagedSettingsMode as BetaClaudeCodeManagedSettingsMode, type BetaClaudeCodeManagedSettingsModeParam as BetaClaudeCodeManagedSettingsModeParam, type BetaClaudeCodeManagedSettingsOrganizationMode as BetaClaudeCodeManagedSettingsOrganizationMode, type BetaClaudeCodeManagedSettingsOrganizationModeParam as BetaClaudeCodeManagedSettingsOrganizationModeParam, type BetaClaudeCodeManagedSettingsRBACGroupsMode as BetaClaudeCodeManagedSettingsRBACGroupsMode, type BetaClaudeCodeManagedSettingsRBACGroupsModeParam as BetaClaudeCodeManagedSettingsRBACGroupsModeParam, type ConfigurationRetrieveParams as ConfigurationRetrieveParams, type ConfigurationUpdateParams as ConfigurationUpdateParams, };
export { RBACGroups as RBACGroups, type BetaClaudeCodeRBACGroupManagedSettings as BetaClaudeCodeRBACGroupManagedSettings, type BetaClaudeCodeRBACGroupManagedSettingsSummary as BetaClaudeCodeRBACGroupManagedSettingsSummary, type BetaClaudeCodeRBACGroupStatus as BetaClaudeCodeRBACGroupStatus, type BetaClaudeCodeRBACGroupStatusActive as BetaClaudeCodeRBACGroupStatusActive, type BetaClaudeCodeRBACGroupStatusDeleted as BetaClaudeCodeRBACGroupStatusDeleted, type BetaClaudeCodeRBACGroupStatusUnknown as BetaClaudeCodeRBACGroupStatusUnknown, type BetaDeletedClaudeCodeRBACGroupManagedSettings as BetaDeletedClaudeCodeRBACGroupManagedSettings, type BetaClaudeCodeRBACGroupManagedSettingsSummariesPageCursor as BetaClaudeCodeRBACGroupManagedSettingsSummariesPageCursor, type RBACGroupRetrieveParams as RBACGroupRetrieveParams, type RBACGroupListParams as RBACGroupListParams, type RBACGroupDeleteParams as RBACGroupDeleteParams, type RBACGroupSetParams as RBACGroupSetParams, };
export { RBACGroupDefault as RBACGroupDefault, type BetaClaudeCodeRBACGroupDefaultManagedSettings as BetaClaudeCodeRBACGroupDefaultManagedSettings, type RBACGroupDefaultRetrieveParams as RBACGroupDefaultRetrieveParams, type RBACGroupDefaultUpdateParams as RBACGroupDefaultUpdateParams, };
}
//# sourceMappingURL=managed-settings.d.mts.map