Skip to content

Commit 4a3b30f

Browse files
feat: add models for Actor OAuth, Git repositories and webhook integrations (#1167)
- Regenerates the Pydantic models, TypedDicts, and literal aliases from the [published OpenAPI specification](https://docs.apify.com/api/openapi.json), and records its version in `pyproject.toml`. - Specification version: `v2-2026-10-26T112451Z` -> `v2-2026-10-27T134926Z`.
1 parent ec80bbd commit 4a3b30f

6 files changed

Lines changed: 1040 additions & 18 deletions

File tree

‎pyproject.toml‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -251,7 +251,7 @@ keep_model_order = true
251251
# workflow committing nothing unless the models changed. A local regeneration that only moves this line is that
252252
# same case - drop it rather than committing it alone.
253253
[tool.apify.openapi-spec]
254-
version = "v2-2026-10-26T112451Z"
254+
version = "v2-2026-10-27T134926Z"
255255

256256
[tool.uv]
257257
# Minimal defense against supply-chain atatcks.

‎src/apify_client/_literals.py‎

Lines changed: 28 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,15 @@
3030
"""Determines the permission level that the Actor requires to run. For details, see [Actor permissions](https://docs.apify.com/platform/actors/development/permissions)."""
3131

3232

33+
Encoding = (
34+
Literal[
35+
'utf-8',
36+
'base64',
37+
]
38+
| str
39+
)
40+
41+
3342
ErrorType = (
3443
Literal[
3544
'3d-secure-auth-failed',
@@ -470,6 +479,25 @@
470479
)
471480

472481

482+
OAuthProviderType = (
483+
Literal[
484+
'CUSTOM',
485+
'GOOGLE',
486+
]
487+
| str
488+
)
489+
490+
491+
Provider = (
492+
Literal[
493+
'github',
494+
'gitlab',
495+
'bitbucket',
496+
]
497+
| str
498+
)
499+
500+
473501
RunOrigin = (
474502
Literal[
475503
'DEVELOPMENT',

0 commit comments

Comments
 (0)