driftstack-sdk 0.1.0__tar.gz → 0.1.1__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.0 → driftstack_sdk-0.1.1}/PKG-INFO +1 -1
  2. {driftstack_sdk-0.1.0 → driftstack_sdk-0.1.1}/pyproject.toml +1 -1
  3. {driftstack_sdk-0.1.0 → driftstack_sdk-0.1.1}/src/driftstack/_generated/models.py +16 -4
  4. {driftstack_sdk-0.1.0 → driftstack_sdk-0.1.1}/src/driftstack/_version.py +1 -1
  5. {driftstack_sdk-0.1.0 → driftstack_sdk-0.1.1}/.gitignore +0 -0
  6. {driftstack_sdk-0.1.0 → driftstack_sdk-0.1.1}/README.md +0 -0
  7. {driftstack_sdk-0.1.0 → driftstack_sdk-0.1.1}/src/driftstack/__init__.py +0 -0
  8. {driftstack_sdk-0.1.0 → driftstack_sdk-0.1.1}/src/driftstack/_generated/__init__.py +0 -0
  9. {driftstack_sdk-0.1.0 → driftstack_sdk-0.1.1}/src/driftstack/client.py +0 -0
  10. {driftstack_sdk-0.1.0 → driftstack_sdk-0.1.1}/src/driftstack/errors.py +0 -0
  11. {driftstack_sdk-0.1.0 → driftstack_sdk-0.1.1}/src/driftstack/http.py +0 -0
  12. {driftstack_sdk-0.1.0 → driftstack_sdk-0.1.1}/src/driftstack/py.typed +0 -0
  13. {driftstack_sdk-0.1.0 → driftstack_sdk-0.1.1}/src/driftstack/resources/__init__.py +0 -0
  14. {driftstack_sdk-0.1.0 → driftstack_sdk-0.1.1}/src/driftstack/resources/_common.py +0 -0
  15. {driftstack_sdk-0.1.0 → driftstack_sdk-0.1.1}/src/driftstack/resources/api_keys.py +0 -0
  16. {driftstack_sdk-0.1.0 → driftstack_sdk-0.1.1}/src/driftstack/resources/sessions.py +0 -0
  17. {driftstack_sdk-0.1.0 → driftstack_sdk-0.1.1}/src/driftstack/resources/usage.py +0 -0
  18. {driftstack_sdk-0.1.0 → driftstack_sdk-0.1.1}/src/driftstack/resources/webhooks.py +0 -0
  19. {driftstack_sdk-0.1.0 → driftstack_sdk-0.1.1}/src/driftstack/retry.py +0 -0
  20. {driftstack_sdk-0.1.0 → driftstack_sdk-0.1.1}/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.0
3
+ Version: 0.1.1
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.0"
7
+ version = "0.1.1"
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-02T16:11:24+00:00
3
+ # timestamp: 2026-05-02T20:19:28+00:00
4
4
 
5
5
  from __future__ import annotations
6
6
 
@@ -213,26 +213,38 @@ 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):
216
222
  kind: Literal["type"]
217
223
  selector: constr(min_length=1)
218
224
  text: constr(max_length=10000)
219
225
  delay_ms: conint(ge=0, le=500) | None = None
220
226
 
221
227
 
222
- class Action2(BaseModel):
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):
223
235
  kind: Literal["scroll"]
224
236
  selector: constr(min_length=1) | None = None
225
237
  delta_x: int | None = 0
226
238
  delta_y: int | None = 0
227
239
 
228
240
 
229
- class Action3(BaseModel):
241
+ class Action5(BaseModel):
230
242
  kind: Literal["press"]
231
243
  key: constr(min_length=1, max_length=20)
232
244
 
233
245
 
234
246
  class InteractRequest(BaseModel):
235
- action: Action | Action1 | Action2 | Action3
247
+ action: Action | Action1 | Action2 | Action3 | Action4 | Action5
236
248
  timeout_ms: conint(ge=100, le=60000) | None = None
237
249
 
238
250
 
@@ -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.0"
10
+ __version__ = "0.1.1"
File without changes