driftstack-sdk 0.1.1__tar.gz → 0.1.2__tar.gz

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.
Files changed (20) hide show
  1. {driftstack_sdk-0.1.1 → driftstack_sdk-0.1.2}/PKG-INFO +1 -1
  2. {driftstack_sdk-0.1.1 → driftstack_sdk-0.1.2}/pyproject.toml +1 -1
  3. {driftstack_sdk-0.1.1 → driftstack_sdk-0.1.2}/src/driftstack/_generated/models.py +9 -19
  4. {driftstack_sdk-0.1.1 → driftstack_sdk-0.1.2}/src/driftstack/_version.py +1 -1
  5. {driftstack_sdk-0.1.1 → driftstack_sdk-0.1.2}/.gitignore +0 -0
  6. {driftstack_sdk-0.1.1 → driftstack_sdk-0.1.2}/README.md +0 -0
  7. {driftstack_sdk-0.1.1 → driftstack_sdk-0.1.2}/src/driftstack/__init__.py +0 -0
  8. {driftstack_sdk-0.1.1 → driftstack_sdk-0.1.2}/src/driftstack/_generated/__init__.py +0 -0
  9. {driftstack_sdk-0.1.1 → driftstack_sdk-0.1.2}/src/driftstack/client.py +0 -0
  10. {driftstack_sdk-0.1.1 → driftstack_sdk-0.1.2}/src/driftstack/errors.py +0 -0
  11. {driftstack_sdk-0.1.1 → driftstack_sdk-0.1.2}/src/driftstack/http.py +0 -0
  12. {driftstack_sdk-0.1.1 → driftstack_sdk-0.1.2}/src/driftstack/py.typed +0 -0
  13. {driftstack_sdk-0.1.1 → driftstack_sdk-0.1.2}/src/driftstack/resources/__init__.py +0 -0
  14. {driftstack_sdk-0.1.1 → driftstack_sdk-0.1.2}/src/driftstack/resources/_common.py +0 -0
  15. {driftstack_sdk-0.1.1 → driftstack_sdk-0.1.2}/src/driftstack/resources/api_keys.py +0 -0
  16. {driftstack_sdk-0.1.1 → driftstack_sdk-0.1.2}/src/driftstack/resources/sessions.py +0 -0
  17. {driftstack_sdk-0.1.1 → driftstack_sdk-0.1.2}/src/driftstack/resources/usage.py +0 -0
  18. {driftstack_sdk-0.1.1 → driftstack_sdk-0.1.2}/src/driftstack/resources/webhooks.py +0 -0
  19. {driftstack_sdk-0.1.1 → driftstack_sdk-0.1.2}/src/driftstack/retry.py +0 -0
  20. {driftstack_sdk-0.1.1 → driftstack_sdk-0.1.2}/src/driftstack/webhook_signature.py +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: driftstack-sdk
3
- Version: 0.1.1
3
+ Version: 0.1.2
4
4
  Summary: Driftstack Python SDK — stealth iPhone Safari automation. Import as `driftstack`.
5
5
  Project-URL: Homepage, https://driftstack.dev
6
6
  Project-URL: Repository, https://github.com/driftstackdev/driftstack-api
@@ -4,7 +4,7 @@ build-backend = "hatchling.build"
4
4
 
5
5
  [project]
6
6
  name = "driftstack-sdk"
7
- version = "0.1.1"
7
+ version = "0.1.2"
8
8
  description = "Driftstack Python SDK — stealth iPhone Safari automation. Import as `driftstack`."
9
9
  readme = "README.md"
10
10
  requires-python = ">=3.10"
@@ -1,6 +1,6 @@
1
1
  # generated by datamodel-codegen:
2
2
  # filename: openapi.json
3
- # timestamp: 2026-05-02T20:19:28+00:00
3
+ # timestamp: 2026-05-03T09:09:33+00:00
4
4
 
5
5
  from __future__ import annotations
6
6
 
@@ -34,7 +34,7 @@ class ApiKey(BaseModel):
34
34
  )
35
35
  name: str
36
36
  key_prefix: str
37
- scopes: list[Literal["read", "write", "admin"]]
37
+ scopes: list[Literal["read", "write", "admin", "gui_control"]]
38
38
  last_used_at: AwareDatetime | None
39
39
  """
40
40
  ISO 8601 timestamp with timezone offset, e.g. 2026-05-02T09:15:00Z
@@ -213,38 +213,26 @@ class Action(BaseModel):
213
213
 
214
214
 
215
215
  class Action1(BaseModel):
216
- kind: Literal["tap_at"]
217
- x: conint(ge=0)
218
- y: conint(ge=0)
219
-
220
-
221
- class Action2(BaseModel):
222
216
  kind: Literal["type"]
223
217
  selector: constr(min_length=1)
224
218
  text: constr(max_length=10000)
225
219
  delay_ms: conint(ge=0, le=500) | None = None
226
220
 
227
221
 
228
- class Action3(BaseModel):
229
- kind: Literal["type_focused"]
230
- text: constr(max_length=10000)
231
- delay_ms: conint(ge=0, le=500) | None = None
232
-
233
-
234
- class Action4(BaseModel):
222
+ class Action2(BaseModel):
235
223
  kind: Literal["scroll"]
236
224
  selector: constr(min_length=1) | None = None
237
225
  delta_x: int | None = 0
238
226
  delta_y: int | None = 0
239
227
 
240
228
 
241
- class Action5(BaseModel):
229
+ class Action3(BaseModel):
242
230
  kind: Literal["press"]
243
231
  key: constr(min_length=1, max_length=20)
244
232
 
245
233
 
246
234
  class InteractRequest(BaseModel):
247
- action: Action | Action1 | Action2 | Action3 | Action4 | Action5
235
+ action: Action | Action1 | Action2 | Action3
248
236
  timeout_ms: conint(ge=100, le=60000) | None = None
249
237
 
250
238
 
@@ -298,7 +286,9 @@ class CaptureResponse(BaseModel):
298
286
 
299
287
  class CreateApiKeyRequest(BaseModel):
300
288
  name: constr(min_length=1, max_length=120)
301
- scopes: list[Literal["read", "write", "admin"]] = Field(..., min_length=1)
289
+ scopes: list[Literal["read", "write", "admin", "gui_control"]] = Field(
290
+ ..., min_length=1
291
+ )
302
292
  expires_at: AwareDatetime | None = None
303
293
  """
304
294
  ISO 8601 timestamp with timezone offset, e.g. 2026-05-02T09:15:00Z
@@ -311,7 +301,7 @@ class CreateApiKeyResponse(BaseModel):
311
301
  )
312
302
  name: str
313
303
  key_prefix: str
314
- scopes: list[Literal["read", "write", "admin"]]
304
+ scopes: list[Literal["read", "write", "admin", "gui_control"]]
315
305
  last_used_at: AwareDatetime | None
316
306
  """
317
307
  ISO 8601 timestamp with timezone offset, e.g. 2026-05-02T09:15:00Z
@@ -7,4 +7,4 @@ needed — useful for tools that scrape the version without installing.
7
7
 
8
8
  from __future__ import annotations
9
9
 
10
- __version__ = "0.1.1"
10
+ __version__ = "0.1.2"
File without changes