driftstack-sdk 0.1.1__tar.gz → 0.1.3__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.3}/PKG-INFO +1 -1
  2. {driftstack_sdk-0.1.1 → driftstack_sdk-0.1.3}/pyproject.toml +1 -1
  3. {driftstack_sdk-0.1.1 → driftstack_sdk-0.1.3}/src/driftstack/_generated/models.py +9 -25
  4. {driftstack_sdk-0.1.1 → driftstack_sdk-0.1.3}/src/driftstack/_version.py +1 -1
  5. {driftstack_sdk-0.1.1 → driftstack_sdk-0.1.3}/.gitignore +0 -0
  6. {driftstack_sdk-0.1.1 → driftstack_sdk-0.1.3}/README.md +0 -0
  7. {driftstack_sdk-0.1.1 → driftstack_sdk-0.1.3}/src/driftstack/__init__.py +0 -0
  8. {driftstack_sdk-0.1.1 → driftstack_sdk-0.1.3}/src/driftstack/_generated/__init__.py +0 -0
  9. {driftstack_sdk-0.1.1 → driftstack_sdk-0.1.3}/src/driftstack/client.py +0 -0
  10. {driftstack_sdk-0.1.1 → driftstack_sdk-0.1.3}/src/driftstack/errors.py +0 -0
  11. {driftstack_sdk-0.1.1 → driftstack_sdk-0.1.3}/src/driftstack/http.py +0 -0
  12. {driftstack_sdk-0.1.1 → driftstack_sdk-0.1.3}/src/driftstack/py.typed +0 -0
  13. {driftstack_sdk-0.1.1 → driftstack_sdk-0.1.3}/src/driftstack/resources/__init__.py +0 -0
  14. {driftstack_sdk-0.1.1 → driftstack_sdk-0.1.3}/src/driftstack/resources/_common.py +0 -0
  15. {driftstack_sdk-0.1.1 → driftstack_sdk-0.1.3}/src/driftstack/resources/api_keys.py +0 -0
  16. {driftstack_sdk-0.1.1 → driftstack_sdk-0.1.3}/src/driftstack/resources/sessions.py +0 -0
  17. {driftstack_sdk-0.1.1 → driftstack_sdk-0.1.3}/src/driftstack/resources/usage.py +0 -0
  18. {driftstack_sdk-0.1.1 → driftstack_sdk-0.1.3}/src/driftstack/resources/webhooks.py +0 -0
  19. {driftstack_sdk-0.1.1 → driftstack_sdk-0.1.3}/src/driftstack/retry.py +0 -0
  20. {driftstack_sdk-0.1.1 → driftstack_sdk-0.1.3}/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.3
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.3"
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-03T10:05:29+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
@@ -201,50 +201,32 @@ class NavigateResponse(BaseModel):
201
201
  duration_ms: conint(ge=0)
202
202
 
203
203
 
204
- class Offset(BaseModel):
205
- x: int
206
- y: int
207
-
208
-
209
204
  class Action(BaseModel):
210
205
  kind: Literal["tap"]
211
206
  selector: constr(min_length=1)
212
- offset: Offset | None = None
213
207
 
214
208
 
215
209
  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
210
  kind: Literal["type"]
223
211
  selector: constr(min_length=1)
224
212
  text: constr(max_length=10000)
225
213
  delay_ms: conint(ge=0, le=500) | None = None
226
214
 
227
215
 
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):
216
+ class Action2(BaseModel):
235
217
  kind: Literal["scroll"]
236
218
  selector: constr(min_length=1) | None = None
237
219
  delta_x: int | None = 0
238
220
  delta_y: int | None = 0
239
221
 
240
222
 
241
- class Action5(BaseModel):
223
+ class Action3(BaseModel):
242
224
  kind: Literal["press"]
243
225
  key: constr(min_length=1, max_length=20)
244
226
 
245
227
 
246
228
  class InteractRequest(BaseModel):
247
- action: Action | Action1 | Action2 | Action3 | Action4 | Action5
229
+ action: Action | Action1 | Action2 | Action3
248
230
  timeout_ms: conint(ge=100, le=60000) | None = None
249
231
 
250
232
 
@@ -298,7 +280,9 @@ class CaptureResponse(BaseModel):
298
280
 
299
281
  class CreateApiKeyRequest(BaseModel):
300
282
  name: constr(min_length=1, max_length=120)
301
- scopes: list[Literal["read", "write", "admin"]] = Field(..., min_length=1)
283
+ scopes: list[Literal["read", "write", "admin", "gui_control"]] = Field(
284
+ ..., min_length=1
285
+ )
302
286
  expires_at: AwareDatetime | None = None
303
287
  """
304
288
  ISO 8601 timestamp with timezone offset, e.g. 2026-05-02T09:15:00Z
@@ -311,7 +295,7 @@ class CreateApiKeyResponse(BaseModel):
311
295
  )
312
296
  name: str
313
297
  key_prefix: str
314
- scopes: list[Literal["read", "write", "admin"]]
298
+ scopes: list[Literal["read", "write", "admin", "gui_control"]]
315
299
  last_used_at: AwareDatetime | None
316
300
  """
317
301
  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.3"
File without changes