From 8e6833502256039109d1ead8312b96432e1ce4e4 Mon Sep 17 00:00:00 2001 From: apify-service-account Date: Tue, 14 Apr 2026 11:06:21 +0000 Subject: [PATCH 1/2] [TODO]: update generated models from apify-docs PR #2428 --- src/apify_client/_models.py | 372 ++++++++++++++++++++++++++++++++++++ 1 file changed, 372 insertions(+) diff --git a/src/apify_client/_models.py b/src/apify_client/_models.py index e6cec5fb..85c00e40 100644 --- a/src/apify_client/_models.py +++ b/src/apify_client/_models.py @@ -95,27 +95,399 @@ class ListOfActorsResponse(BaseModel): class ErrorType(StrEnum): """Machine-processable error type identifier.""" + FIELD_3D_SECURE_AUTH_FAILED = '3d-secure-auth-failed' + ACCESS_RIGHT_ALREADY_EXISTS = 'access-right-already-exists' + ACTION_NOT_FOUND = 'action-not-found' + ACTOR_ALREADY_RENTED = 'actor-already-rented' + ACTOR_CAN_NOT_BE_RENTED = 'actor-can-not-be-rented' + ACTOR_DISABLED = 'actor-disabled' + ACTOR_IS_NOT_RENTED = 'actor-is-not-rented' ACTOR_MEMORY_LIMIT_EXCEEDED = 'actor-memory-limit-exceeded' + ACTOR_NAME_EXISTS_NEW_OWNER = 'actor-name-exists-new-owner' + ACTOR_NAME_NOT_UNIQUE = 'actor-name-not-unique' ACTOR_NOT_FOUND = 'actor-not-found' + ACTOR_NOT_GITHUB_ACTOR = 'actor-not-github-actor' + ACTOR_NOT_PUBLIC = 'actor-not-public' + ACTOR_PERMISSION_LEVEL_NOT_SUPPORTED_FOR_AGENTIC_PAYMENTS = ( + 'actor-permission-level-not-supported-for-agentic-payments' + ) + ACTOR_REVIEW_ALREADY_EXISTS = 'actor-review-already-exists' + ACTOR_RUN_FAILED = 'actor-run-failed' + ACTOR_STANDBY_NOT_SUPPORTED_FOR_AGENTIC_PAYMENTS = 'actor-standby-not-supported-for-agentic-payments' + ACTOR_TASK_NAME_NOT_UNIQUE = 'actor-task-name-not-unique' + AGENTIC_PAYMENT_INFO_RETRIEVAL_ERROR = 'agentic-payment-info-retrieval-error' + AGENTIC_PAYMENT_INFORMATION_MISSING = 'agentic-payment-information-missing' + AGENTIC_PAYMENT_INSUFFICIENT_AMOUNT = 'agentic-payment-insufficient-amount' + AGENTIC_PAYMENT_PROVIDER_INTERNAL_ERROR = 'agentic-payment-provider-internal-error' + AGENTIC_PAYMENT_PROVIDER_UNAUTHORIZED = 'agentic-payment-provider-unauthorized' + AIRTABLE_WEBHOOK_DEPRECATED = 'airtable-webhook-deprecated' + ALREADY_SUBSCRIBED_TO_PAID_ACTOR = 'already-subscribed-to-paid-actor' + APIFY_PLAN_REQUIRED_TO_USE_PAID_ACTOR = 'apify-plan-required-to-use-paid-actor' + APIFY_SIGNUP_NOT_ALLOWED = 'apify-signup-not-allowed' + AUTH_METHOD_NOT_SUPPORTED = 'auth-method-not-supported' + AUTHORIZATION_SERVER_NOT_FOUND = 'authorization-server-not-found' + AUTO_ISSUE_DATE_INVALID = 'auto-issue-date-invalid' + BACKGROUND_CHECK_REQUIRED = 'background-check-required' + BILLING_SYSTEM_ERROR = 'billing-system-error' + BLACK_FRIDAY_PLAN_EXPIRED = 'black-friday-plan-expired' + BRAINTREE_ERROR = 'braintree-error' + BRAINTREE_NOT_LINKED = 'braintree-not-linked' + BRAINTREE_OPERATION_TIMED_OUT = 'braintree-operation-timed-out' + BRAINTREE_UNSUPPORTED_CURRENCY = 'braintree-unsupported-currency' + BUILD_NOT_FOUND = 'build-not-found' + BUILD_OUTDATED = 'build-outdated' + CANNOT_ADD_APIFY_EVENTS_TO_PPE_ACTOR = 'cannot-add-apify-events-to-ppe-actor' + CANNOT_ADD_MULTIPLE_PRICING_INFOS = 'cannot-add-multiple-pricing-infos' + CANNOT_ADD_PRICING_INFO_THAT_ALTERS_PAST = 'cannot-add-pricing-info-that-alters-past' + CANNOT_ADD_SECOND_FUTURE_PRICING_INFO = 'cannot-add-second-future-pricing-info' + CANNOT_BUILD_ACTOR_FROM_WEBHOOK = 'cannot-build-actor-from-webhook' + CANNOT_CHANGE_BILLING_INTERVAL = 'cannot-change-billing-interval' + CANNOT_CHANGE_OWNER = 'cannot-change-owner' + CANNOT_CHARGE_APIFY_EVENT = 'cannot-charge-apify-event' + CANNOT_CHARGE_NON_PAY_PER_EVENT_ACTOR = 'cannot-charge-non-pay-per-event-actor' + CANNOT_COMMENT_AS_OTHER_USER = 'cannot-comment-as-other-user' + CANNOT_COPY_ACTOR_TASK = 'cannot-copy-actor-task' + CANNOT_CREATE_PAYOUT = 'cannot-create-payout' + CANNOT_CREATE_PUBLIC_ACTOR = 'cannot-create-public-actor' + CANNOT_CREATE_TAX_TRANSACTION = 'cannot-create-tax-transaction' + CANNOT_DELETE_CRITICAL_ACTOR = 'cannot-delete-critical-actor' + CANNOT_DELETE_INVOICE = 'cannot-delete-invoice' + CANNOT_DELETE_PAID_ACTOR = 'cannot-delete-paid-actor' + CANNOT_DISABLE_ONE_TIME_EVENT_FOR_APIFY_START_EVENT = 'cannot-disable-one-time-event-for-apify-start-event' + CANNOT_DISABLE_ORGANIZATION_WITH_ENABLED_MEMBERS = 'cannot-disable-organization-with-enabled-members' + CANNOT_DISABLE_USER_WITH_SUBSCRIPTION = 'cannot-disable-user-with-subscription' + CANNOT_LINK_OAUTH_TO_UNVERIFIED_EMAIL = 'cannot-link-oauth-to-unverified-email' + CANNOT_METAMORPH_TO_PAY_PER_RESULT_ACTOR = 'cannot-metamorph-to-pay-per-result-actor' + CANNOT_MODIFY_ACTOR_PRICING_TOO_FREQUENTLY = 'cannot-modify-actor-pricing-too-frequently' + CANNOT_MODIFY_ACTOR_PRICING_WITH_IMMEDIATE_EFFECT = 'cannot-modify-actor-pricing-with-immediate-effect' + CANNOT_OVERRIDE_PAID_ACTOR_TRIAL = 'cannot-override-paid-actor-trial' + CANNOT_PERMANENTLY_DELETE_SUBSCRIPTION = 'cannot-permanently-delete-subscription' + CANNOT_PUBLISH_ACTOR = 'cannot-publish-actor' + CANNOT_REDUCE_LAST_FULL_TOKEN = 'cannot-reduce-last-full-token' + CANNOT_REIMBURSE_MORE_THAN_ORIGINAL_CHARGE = 'cannot-reimburse-more-than-original-charge' + CANNOT_REIMBURSE_NON_RENTAL_CHARGE = 'cannot-reimburse-non-rental-charge' + CANNOT_REMOVE_OWN_ACTOR_FROM_RECENTLY_USED = 'cannot-remove-own-actor-from-recently-used' + CANNOT_REMOVE_PAYMENT_METHOD = 'cannot-remove-payment-method' + CANNOT_REMOVE_PRICING_INFO = 'cannot-remove-pricing-info' + CANNOT_REMOVE_RUNNING_RUN = 'cannot-remove-running-run' + CANNOT_REMOVE_USER_WITH_PUBLIC_ACTORS = 'cannot-remove-user-with-public-actors' + CANNOT_REMOVE_USER_WITH_SUBSCRIPTION = 'cannot-remove-user-with-subscription' + CANNOT_REMOVE_USER_WITH_UNPAID_INVOICE = 'cannot-remove-user-with-unpaid-invoice' + CANNOT_RENAME_ENV_VAR = 'cannot-rename-env-var' + CANNOT_RENT_PAID_ACTOR = 'cannot-rent-paid-actor' + CANNOT_REVIEW_OWN_ACTOR = 'cannot-review-own-actor' + CANNOT_SET_ACCESS_RIGHTS_FOR_OWNER = 'cannot-set-access-rights-for-owner' + CANNOT_SET_IS_STATUS_MESSAGE_TERMINAL = 'cannot-set-is-status-message-terminal' + CANNOT_UNPUBLISH_CRITICAL_ACTOR = 'cannot-unpublish-critical-actor' + CANNOT_UNPUBLISH_PAID_ACTOR = 'cannot-unpublish-paid-actor' + CANNOT_UNPUBLISH_PROFILE = 'cannot-unpublish-profile' + CANNOT_UPDATE_INVOICE_FIELD = 'cannot-update-invoice-field' + CONCURRENT_RUNS_LIMIT_EXCEEDED = 'concurrent-runs-limit-exceeded' + CONCURRENT_UPDATE_DETECTED = 'concurrent-update-detected' + CONFERENCE_TOKEN_NOT_FOUND = 'conference-token-not-found' + CONTENT_ENCODING_FORBIDDEN_FOR_HTML = 'content-encoding-forbidden-for-html' + COUPON_ALREADY_REDEEMED = 'coupon-already-redeemed' + COUPON_EXPIRED = 'coupon-expired' + COUPON_FOR_NEW_CUSTOMERS = 'coupon-for-new-customers' + COUPON_FOR_SUBSCRIBED_USERS = 'coupon-for-subscribed-users' + COUPON_LIMITS_ARE_IN_CONFLICT_WITH_CURRENT_LIMITS = 'coupon-limits-are-in-conflict-with-current-limits' + COUPON_MAX_NUMBER_OF_REDEMPTIONS_REACHED = 'coupon-max-number-of-redemptions-reached' + COUPON_NOT_FOUND = 'coupon-not-found' + COUPON_NOT_UNIQUE = 'coupon-not-unique' + COUPONS_DISABLED = 'coupons-disabled' + CREATE_GITHUB_ISSUE_NOT_ALLOWED = 'create-github-issue-not-allowed' + CREATOR_PLAN_NOT_AVAILABLE = 'creator-plan-not-available' + CRON_EXPRESSION_INVALID = 'cron-expression-invalid' + DAILY_AI_TOKEN_LIMIT_EXCEEDED = 'daily-ai-token-limit-exceeded' + DAILY_PUBLICATION_LIMIT_EXCEEDED = 'daily-publication-limit-exceeded' + DATASET_DOES_NOT_HAVE_FIELDS_SCHEMA = 'dataset-does-not-have-fields-schema' + DATASET_DOES_NOT_HAVE_SCHEMA = 'dataset-does-not-have-schema' + DATASET_LOCKED = 'dataset-locked' + DATASET_SCHEMA_INVALID = 'dataset-schema-invalid' + DCR_NOT_SUPPORTED = 'dcr-not-supported' + DEFAULT_DATASET_NOT_FOUND = 'default-dataset-not-found' + DELETING_DEFAULT_BUILD = 'deleting-default-build' + DELETING_UNFINISHED_BUILD = 'deleting-unfinished-build' + EMAIL_ALREADY_TAKEN = 'email-already-taken' + EMAIL_ALREADY_TAKEN_REMOVED_USER = 'email-already-taken-removed-user' + EMAIL_DOMAIN_NOT_ALLOWED_FOR_COUPON = 'email-domain-not-allowed-for-coupon' + EMAIL_INVALID = 'email-invalid' + EMAIL_NOT_ALLOWED = 'email-not-allowed' + EMAIL_NOT_VALID = 'email-not-valid' + EMAIL_UPDATE_TOO_SOON = 'email-update-too-soon' + ELEVATED_PERMISSIONS_NEEDED = 'elevated-permissions-needed' + ENV_VAR_ALREADY_EXISTS = 'env-var-already-exists' + EXCHANGE_RATE_FETCH_FAILED = 'exchange-rate-fetch-failed' + EXPIRED_CONFERENCE_TOKEN = 'expired-conference-token' + FAILED_TO_CHARGE_USER = 'failed-to-charge-user' + FINAL_INVOICE_NEGATIVE = 'final-invoice-negative' + GITHUB_BRANCH_EMPTY = 'github-branch-empty' + GITHUB_ISSUE_ALREADY_EXISTS = 'github-issue-already-exists' + GITHUB_PUBLIC_KEY_NOT_FOUND = 'github-public-key-not-found' + GITHUB_REPOSITORY_NOT_FOUND = 'github-repository-not-found' + GITHUB_SIGNATURE_DOES_NOT_MATCH_PAYLOAD = 'github-signature-does-not-match-payload' + GITHUB_USER_NOT_AUTHORIZED_FOR_ISSUES = 'github-user-not-authorized-for-issues' + GMAIL_NOT_ALLOWED = 'gmail-not-allowed' + ID_DOES_NOT_MATCH = 'id-does-not-match' + INCOMPATIBLE_BILLING_INTERVAL = 'incompatible-billing-interval' + INCOMPLETE_PAYOUT_BILLING_INFO = 'incomplete-payout-billing-info' + INCONSISTENT_CURRENCIES = 'inconsistent-currencies' + INCORRECT_PRICING_MODIFIER_PREFIX = 'incorrect-pricing-modifier-prefix' + INPUT_JSON_INVALID_CHARACTERS = 'input-json-invalid-characters' + INPUT_JSON_NOT_OBJECT = 'input-json-not-object' + INPUT_JSON_TOO_LONG = 'input-json-too-long' + INPUT_UPDATE_COLLISION = 'input-update-collision' + INSUFFICIENT_PERMISSIONS = 'insufficient-permissions' + INSUFFICIENT_PERMISSIONS_TO_CHANGE_FIELD = 'insufficient-permissions-to-change-field' + INSUFFICIENT_SECURITY_MEASURES = 'insufficient-security-measures' + INSUFFICIENT_TAX_COUNTRY_EVIDENCE = 'insufficient-tax-country-evidence' + INTEGRATION_AUTH_ERROR = 'integration-auth-error' + INTERNAL_SERVER_ERROR = 'internal-server-error' + INVALID_BILLING_INFO = 'invalid-billing-info' + INVALID_BILLING_PERIOD_FOR_PAYOUT = 'invalid-billing-period-for-payout' + INVALID_BUILD = 'invalid-build' + INVALID_CLIENT_KEY = 'invalid-client-key' + INVALID_COLLECTION = 'invalid-collection' + INVALID_CONFERENCE_LOGIN_PASSWORD = 'invalid-conference-login-password' + INVALID_CONTENT_TYPE_HEADER = 'invalid-content-type-header' + INVALID_CREDENTIALS = 'invalid-credentials' + INVALID_GIT_AUTH_TOKEN = 'invalid-git-auth-token' + INVALID_GITHUB_ISSUE_URL = 'invalid-github-issue-url' + INVALID_HEADER = 'invalid-header' + INVALID_ID = 'invalid-id' + INVALID_IDEMPOTENCY_KEY = 'invalid-idempotency-key' INVALID_INPUT = 'invalid-input' + INVALID_INPUT_SCHEMA = 'invalid-input-schema' + INVALID_INVOICE = 'invalid-invoice' + INVALID_INVOICE_TYPE = 'invalid-invoice-type' + INVALID_ISSUE_DATE = 'invalid-issue-date' + INVALID_LABEL_PARAMS = 'invalid-label-params' + INVALID_MAIN_ACCOUNT_USER_ID = 'invalid-main-account-user-id' + INVALID_OAUTH_APP = 'invalid-oauth-app' + INVALID_OAUTH_SCOPE = 'invalid-oauth-scope' + INVALID_ONE_TIME_INVOICE = 'invalid-one-time-invoice' + INVALID_PARAMETER = 'invalid-parameter' + INVALID_PAYOUT_STATUS = 'invalid-payout-status' + INVALID_PICTURE_URL = 'invalid-picture-url' + INVALID_RECORD_KEY = 'invalid-record-key' + INVALID_REQUEST = 'invalid-request' + INVALID_RESOURCE_TYPE = 'invalid-resource-type' + INVALID_SIGNATURE = 'invalid-signature' + INVALID_SUBSCRIPTION_PLAN = 'invalid-subscription-plan' + INVALID_TAX_NUMBER = 'invalid-tax-number' + INVALID_TAX_NUMBER_FORMAT = 'invalid-tax-number-format' + INVALID_TOKEN = 'invalid-token' + INVALID_TOKEN_TYPE = 'invalid-token-type' + INVALID_TWO_FACTOR_CODE = 'invalid-two-factor-code' + INVALID_TWO_FACTOR_CODE_OR_RECOVERY_CODE = 'invalid-two-factor-code-or-recovery-code' + INVALID_TWO_FACTOR_RECOVERY_CODE = 'invalid-two-factor-recovery-code' + INVALID_USERNAME = 'invalid-username' + INVALID_VALUE = 'invalid-value' + INVITATION_INVALID_RESOURCE_TYPE = 'invitation-invalid-resource-type' + INVITATION_NO_LONGER_VALID = 'invitation-no-longer-valid' + INVOICE_CANCELED = 'invoice-canceled' + INVOICE_CANNOT_BE_REFUNDED_DUE_TO_TOO_HIGH_AMOUNT = 'invoice-cannot-be-refunded-due-to-too-high-amount' + INVOICE_INCOMPLETE = 'invoice-incomplete' + INVOICE_IS_DRAFT = 'invoice-is-draft' + INVOICE_LOCKED = 'invoice-locked' + INVOICE_MUST_BE_BUFFER = 'invoice-must-be-buffer' + INVOICE_NOT_CANCELED = 'invoice-not-canceled' + INVOICE_NOT_DRAFT = 'invoice-not-draft' + INVOICE_NOT_FOUND = 'invoice-not-found' + INVOICE_OUTDATED = 'invoice-outdated' + INVOICE_PAID_ALREADY = 'invoice-paid-already' + ISSUE_ALREADY_CONNECTED_TO_GITHUB = 'issue-already-connected-to-github' + ISSUE_NOT_FOUND = 'issue-not-found' + ISSUES_BAD_REQUEST = 'issues-bad-request' + ISSUER_NOT_REGISTERED = 'issuer-not-registered' + JOB_FINISHED = 'job-finished' + LABEL_ALREADY_LINKED = 'label-already-linked' + LAST_API_TOKEN = 'last-api-token' + LIMIT_REACHED = 'limit-reached' + MAX_ITEMS_MUST_BE_GREATER_THAN_ZERO = 'max-items-must-be-greater-than-zero' + MAX_METAMORPHS_EXCEEDED = 'max-metamorphs-exceeded' + MAX_TOTAL_CHARGE_USD_BELOW_MINIMUM = 'max-total-charge-usd-below-minimum' + MAX_TOTAL_CHARGE_USD_MUST_BE_GREATER_THAN_ZERO = 'max-total-charge-usd-must-be-greater-than-zero' METHOD_NOT_ALLOWED = 'method-not-allowed' + MIGRATION_DISABLED = 'migration-disabled' + MISSING_ACTOR_RIGHTS = 'missing-actor-rights' + MISSING_API_TOKEN = 'missing-api-token' + MISSING_BILLING_INFO = 'missing-billing-info' + MISSING_LINE_ITEMS = 'missing-line-items' + MISSING_PAYMENT_DATE = 'missing-payment-date' + MISSING_PAYOUT_BILLING_INFO = 'missing-payout-billing-info' + MISSING_PROXY_PASSWORD = 'missing-proxy-password' + MISSING_REPORTING_FIELDS = 'missing-reporting-fields' + MISSING_RESOURCE_NAME = 'missing-resource-name' + MISSING_SETTINGS = 'missing-settings' + MISSING_USERNAME = 'missing-username' + MONTHLY_USAGE_LIMIT_TOO_LOW = 'monthly-usage-limit-too-low' + MORE_THAN_ONE_UPDATE_NOT_ALLOWED = 'more-than-one-update-not-allowed' + MULTIPLE_RECORDS_FOUND = 'multiple-records-found' + MUST_BE_ADMIN = 'must-be-admin' + NAME_NOT_UNIQUE = 'name-not-unique' + NEXT_RUNTIME_COMPUTATION_FAILED = 'next-runtime-computation-failed' + NO_COLUMNS_IN_EXPORTED_DATASET = 'no-columns-in-exported-dataset' + NO_PAYMENT_ATTEMPT_FOR_REFUND_FOUND = 'no-payment-attempt-for-refund-found' + NO_PAYMENT_METHOD_AVAILABLE = 'no-payment-method-available' + NO_TEAM_ACCOUNT_SEATS_AVAILABLE = 'no-team-account-seats-available' + NON_TEMPORARY_EMAIL = 'non-temporary-email' + NOT_ENOUGH_USAGE_TO_RUN_PAID_ACTOR = 'not-enough-usage-to-run-paid-actor' + NOT_IMPLEMENTED = 'not-implemented' + NOT_SUPPORTED_CURRENCIES = 'not-supported-currencies' + O_AUTH_SERVICE_ALREADY_CONNECTED = 'o-auth-service-already-connected' + O_AUTH_SERVICE_NOT_CONNECTED = 'o-auth-service-not-connected' + OAUTH_RESOURCE_ACCESS_FAILED = 'oauth-resource-access-failed' + ONE_TIME_INVOICE_ALREADY_MARKED_PAID = 'one-time-invoice-already-marked-paid' + ONLY_DRAFTS_CAN_BE_DELETED = 'only-drafts-can-be-deleted' + OPERATION_CANCELED = 'operation-canceled' + OPERATION_NOT_ALLOWED = 'operation-not-allowed' + OPERATION_TIMED_OUT = 'operation-timed-out' + ORGANIZATION_CANNOT_OWN_ITSELF = 'organization-cannot-own-itself' + ORGANIZATION_ROLE_NOT_FOUND = 'organization-role-not-found' + OVERLAPPING_PAYOUT_BILLING_PERIODS = 'overlapping-payout-billing-periods' + OWN_TOKEN_REQUIRED = 'own-token-required' PAGE_NOT_FOUND = 'page-not-found' + PARAM_NOT_ONE_OF = 'param-not-one-of' + PARAMETER_REQUIRED = 'parameter-required' + PARAMETERS_MISMATCHED = 'parameters-mismatched' + PASSWORD_RESET_EMAIL_ALREADY_SENT = 'password-reset-email-already-sent' + PASSWORD_RESET_TOKEN_EXPIRED = 'password-reset-token-expired' + PAY_AS_YOU_GO_WITHOUT_MONTHLY_INTERVAL = 'pay-as-you-go-without-monthly-interval' + PAYMENT_ATTEMPT_STATUS_MESSAGE_REQUIRED = 'payment-attempt-status-message-required' + PAYOUT_ALREADY_PAID = 'payout-already-paid' + PAYOUT_CANCELED = 'payout-canceled' + PAYOUT_INVALID_STATE = 'payout-invalid-state' + PAYOUT_MUST_BE_APPROVED_TO_BE_MARKED_PAID = 'payout-must-be-approved-to-be-marked-paid' + PAYOUT_NOT_FOUND = 'payout-not-found' + PAYOUT_NUMBER_ALREADY_EXISTS = 'payout-number-already-exists' PERMISSION_DENIED = 'permission-denied' + PHONE_NUMBER_INVALID = 'phone-number-invalid' + PHONE_NUMBER_LANDLINE = 'phone-number-landline' + PHONE_NUMBER_OPTED_OUT = 'phone-number-opted-out' + PHONE_VERIFICATION_DISABLED = 'phone-verification-disabled' + PLATFORM_FEATURE_DISABLED = 'platform-feature-disabled' + PRICE_OVERRIDES_VALIDATION_FAILED = 'price-overrides-validation-failed' + PRICING_MODEL_NOT_SUPPORTED = 'pricing-model-not-supported' + PROMOTIONAL_PLAN_NOT_AVAILABLE = 'promotional-plan-not-available' + PROXY_AUTH_IP_NOT_UNIQUE = 'proxy-auth-ip-not-unique' + PUBLIC_ACTOR_DISABLED = 'public-actor-disabled' + QUERY_TIMEOUT = 'query-timeout' + QUOTED_PRICE_OUTDATED = 'quoted-price-outdated' RATE_LIMIT_EXCEEDED = 'rate-limit-exceeded' + RECAPTCHA_INVALID = 'recaptcha-invalid' + RECAPTCHA_REQUIRED = 'recaptcha-required' RECORD_NOT_FOUND = 'record-not-found' + RECORD_NOT_PUBLIC = 'record-not-public' RECORD_NOT_UNIQUE = 'record-not-unique' RECORD_OR_TOKEN_NOT_FOUND = 'record-or-token-not-found' + RECORD_TOO_LARGE = 'record-too-large' + REDIRECT_URI_MISMATCH = 'redirect-uri-mismatch' + REDUCED_PLAN_NOT_AVAILABLE = 'reduced-plan-not-available' + RENTAL_CHARGE_ALREADY_REIMBURSED = 'rental-charge-already-reimbursed' + RENTAL_NOT_ALLOWED = 'rental-not-allowed' + REQUEST_ABORTED_PREMATURELY = 'request-aborted-prematurely' + REQUEST_HANDLED_OR_LOCKED = 'request-handled-or-locked' REQUEST_ID_INVALID = 'request-id-invalid' + REQUEST_QUEUE_DUPLICATE_REQUESTS = 'request-queue-duplicate-requests' REQUEST_TOO_LARGE = 'request-too-large' + REQUESTED_DATASET_VIEW_DOES_NOT_EXIST = 'requested-dataset-view-does-not-exist' + RESUME_TOKEN_EXPIRED = 'resume-token-expired' RUN_FAILED = 'run-failed' RUN_TIMEOUT_EXCEEDED = 'run-timeout-exceeded' + RUSSIA_IS_EVIL = 'russia-is-evil' + SAME_USER = 'same-user' SCHEDULE_ACTOR_NOT_FOUND = 'schedule-actor-not-found' SCHEDULE_ACTOR_TASK_NOT_FOUND = 'schedule-actor-task-not-found' + SCHEDULE_NAME_NOT_UNIQUE = 'schedule-name-not-unique' + SCHEMA_VALIDATION = 'schema-validation' + SCHEMA_VALIDATION_FAILED = 'schema-validation-failed' + SIGN_UP_METHOD_NOT_ALLOWED = 'sign-up-method-not-allowed' + SLACK_INTEGRATION_NOT_CUSTOM = 'slack-integration-not-custom' + SOCKET_CLOSED = 'socket-closed' + SOCKET_DESTROYED = 'socket-destroyed' + STORE_SCHEMA_INVALID = 'store-schema-invalid' + STORE_TERMS_NOT_ACCEPTED = 'store-terms-not-accepted' + STRIPE_ENABLED = 'stripe-enabled' + STRIPE_GENERIC_DECLINE = 'stripe-generic-decline' + STRIPE_NOT_ENABLED = 'stripe-not-enabled' + STRIPE_NOT_ENABLED_FOR_USER = 'stripe-not-enabled-for-user' + TAGGED_BUILD_REQUIRED = 'tagged-build-required' + TAX_COUNTRY_INVALID = 'tax-country-invalid' + TAX_NUMBER_INVALID = 'tax-number-invalid' + TAX_NUMBER_VALIDATION_FAILED = 'tax-number-validation-failed' + TAXAMO_CALL_FAILED = 'taxamo-call-failed' + TAXAMO_REQUEST_FAILED = 'taxamo-request-failed' + TESTING_ERROR = 'testing-error' + TOKEN_NOT_PROVIDED = 'token-not-provided' TOKEN_NOT_VALID = 'token-not-valid' + TOO_FEW_VERSIONS = 'too-few-versions' + TOO_MANY_ACTOR_TASKS = 'too-many-actor-tasks' + TOO_MANY_ACTORS = 'too-many-actors' + TOO_MANY_LABELS_ON_RESOURCE = 'too-many-labels-on-resource' + TOO_MANY_MCP_CONNECTORS = 'too-many-mcp-connectors' + TOO_MANY_O_AUTH_APPS = 'too-many-o-auth-apps' + TOO_MANY_ORGANIZATIONS = 'too-many-organizations' + TOO_MANY_REQUESTS = 'too-many-requests' + TOO_MANY_SCHEDULES = 'too-many-schedules' + TOO_MANY_UI_ACCESS_KEYS = 'too-many-ui-access-keys' + TOO_MANY_USER_LABELS = 'too-many-user-labels' + TOO_MANY_VALUES = 'too-many-values' + TOO_MANY_VERSIONS = 'too-many-versions' + TOO_MANY_WEBHOOKS = 'too-many-webhooks' + UNEXPECTED_ROUTE = 'unexpected-route' UNKNOWN_BUILD_TAG = 'unknown-build-tag' + UNKNOWN_PAYMENT_PROVIDER = 'unknown-payment-provider' + UNSUBSCRIBE_TOKEN_INVALID = 'unsubscribe-token-invalid' + UNSUPPORTED_ACTOR_PRICING_MODEL_FOR_AGENTIC_PAYMENTS = 'unsupported-actor-pricing-model-for-agentic-payments' UNSUPPORTED_CONTENT_ENCODING = 'unsupported-content-encoding' + UNSUPPORTED_FILE_TYPE_FOR_ISSUE = 'unsupported-file-type-for-issue' + UNSUPPORTED_FILE_TYPE_IMAGE_EXPECTED = 'unsupported-file-type-image-expected' + UNSUPPORTED_FILE_TYPE_TEXT_OR_JSON_EXPECTED = 'unsupported-file-type-text-or-json-expected' + UNSUPPORTED_PERMISSION = 'unsupported-permission' + UPCOMING_SUBSCRIPTION_BILL_NOT_UP_TO_DATE = 'upcoming-subscription-bill-not-up-to-date' + USER_ALREADY_EXISTS = 'user-already-exists' + USER_ALREADY_VERIFIED = 'user-already-verified' + USER_CREATES_ORGANIZATIONS_TOO_FAST = 'user-creates-organizations-too-fast' + USER_DISABLED = 'user-disabled' + USER_EMAIL_IS_DISPOSABLE = 'user-email-is-disposable' + USER_EMAIL_NOT_SET = 'user-email-not-set' + USER_EMAIL_NOT_VERIFIED = 'user-email-not-verified' + USER_HAS_NO_SUBSCRIPTION = 'user-has-no-subscription' + USER_INTEGRATION_NOT_FOUND = 'user-integration-not-found' + USER_IS_ALREADY_INVITED = 'user-is-already-invited' + USER_IS_ALREADY_ORGANIZATION_MEMBER = 'user-is-already-organization-member' + USER_IS_NOT_MEMBER_OF_ORGANIZATION = 'user-is-not-member-of-organization' + USER_IS_NOT_ORGANIZATION = 'user-is-not-organization' + USER_IS_ORGANIZATION = 'user-is-organization' + USER_IS_ORGANIZATION_OWNER = 'user-is-organization-owner' + USER_IS_REMOVED = 'user-is-removed' USER_NOT_FOUND = 'user-not-found' + USER_NOT_LOGGED_IN = 'user-not-logged-in' + USER_NOT_VERIFIED = 'user-not-verified' + USER_OR_TOKEN_NOT_FOUND = 'user-or-token-not-found' + USER_PLAN_NOT_ALLOWED_FOR_COUPON = 'user-plan-not-allowed-for-coupon' + USER_PROBLEM_WITH_CARD = 'user-problem-with-card' + USER_RECORD_NOT_FOUND = 'user-record-not-found' + USERNAME_ALREADY_TAKEN = 'username-already-taken' + USERNAME_MISSING = 'username-missing' + USERNAME_NOT_ALLOWED = 'username-not-allowed' + USERNAME_REMOVAL_FORBIDDEN = 'username-removal-forbidden' + USERNAME_REQUIRED = 'username-required' + VERIFICATION_EMAIL_ALREADY_SENT = 'verification-email-already-sent' + VERIFICATION_TOKEN_EXPIRED = 'verification-token-expired' + VERSION_ALREADY_EXISTS = 'version-already-exists' + VERSIONS_SIZE_EXCEEDED = 'versions-size-exceeded' + WEAK_PASSWORD = 'weak-password' + X402_AGENTIC_PAYMENT_ALREADY_FINALIZED = 'x402-agentic-payment-already-finalized' + X402_AGENTIC_PAYMENT_INSUFFICIENT_AMOUNT = 'x402-agentic-payment-insufficient-amount' + X402_AGENTIC_PAYMENT_MALFORMED_TOKEN = 'x402-agentic-payment-malformed-token' + X402_AGENTIC_PAYMENT_SETTLEMENT_FAILED = 'x402-agentic-payment-settlement-failed' + X402_AGENTIC_PAYMENT_SETTLEMENT_IN_PROGRESS = 'x402-agentic-payment-settlement-in-progress' + X402_AGENTIC_PAYMENT_SETTLEMENT_STUCK = 'x402-agentic-payment-settlement-stuck' + X402_AGENTIC_PAYMENT_UNAUTHORIZED = 'x402-agentic-payment-unauthorized' X402_PAYMENT_REQUIRED = 'x402-payment-required' + ZERO_INVOICE = 'zero-invoice' @docs_group('Models') From fbf1ec535bb7dac227f4a0eb34ce9b10f99a9806 Mon Sep 17 00:00:00 2001 From: apify-service-account Date: Tue, 14 Apr 2026 11:34:11 +0000 Subject: [PATCH 2/2] [TODO]: update generated models from apify-docs PR #2428 --- src/apify_client/_models.py | 3 --- 1 file changed, 3 deletions(-) diff --git a/src/apify_client/_models.py b/src/apify_client/_models.py index 85c00e40..ef84f0b5 100644 --- a/src/apify_client/_models.py +++ b/src/apify_client/_models.py @@ -361,7 +361,6 @@ class ErrorType(StrEnum): PAYOUT_MUST_BE_APPROVED_TO_BE_MARKED_PAID = 'payout-must-be-approved-to-be-marked-paid' PAYOUT_NOT_FOUND = 'payout-not-found' PAYOUT_NUMBER_ALREADY_EXISTS = 'payout-number-already-exists' - PERMISSION_DENIED = 'permission-denied' PHONE_NUMBER_INVALID = 'phone-number-invalid' PHONE_NUMBER_LANDLINE = 'phone-number-landline' PHONE_NUMBER_OPTED_OUT = 'phone-number-opted-out' @@ -379,7 +378,6 @@ class ErrorType(StrEnum): RECAPTCHA_REQUIRED = 'recaptcha-required' RECORD_NOT_FOUND = 'record-not-found' RECORD_NOT_PUBLIC = 'record-not-public' - RECORD_NOT_UNIQUE = 'record-not-unique' RECORD_OR_TOKEN_NOT_FOUND = 'record-or-token-not-found' RECORD_TOO_LARGE = 'record-too-large' REDIRECT_URI_MISMATCH = 'redirect-uri-mismatch' @@ -420,7 +418,6 @@ class ErrorType(StrEnum): TAXAMO_REQUEST_FAILED = 'taxamo-request-failed' TESTING_ERROR = 'testing-error' TOKEN_NOT_PROVIDED = 'token-not-provided' - TOKEN_NOT_VALID = 'token-not-valid' TOO_FEW_VERSIONS = 'too-few-versions' TOO_MANY_ACTOR_TASKS = 'too-many-actor-tasks' TOO_MANY_ACTORS = 'too-many-actors'