anchorbrowser 0.5.3__py3-none-any.whl → 0.6.0__py3-none-any.whl

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 (38) hide show
  1. anchorbrowser/_base_client.py +1 -1
  2. anchorbrowser/_client.py +8 -1
  3. anchorbrowser/_version.py +1 -1
  4. anchorbrowser/resources/__init__.py +14 -0
  5. anchorbrowser/resources/applications/__init__.py +33 -0
  6. anchorbrowser/resources/applications/applications.py +715 -0
  7. anchorbrowser/resources/applications/auth_flows.py +547 -0
  8. anchorbrowser/resources/identities.py +453 -1
  9. anchorbrowser/resources/sessions/sessions.py +14 -0
  10. anchorbrowser/types/__init__.py +20 -0
  11. anchorbrowser/types/application_create_identity_token_params.py +17 -0
  12. anchorbrowser/types/application_create_identity_token_response.py +23 -0
  13. anchorbrowser/types/application_create_params.py +18 -0
  14. anchorbrowser/types/application_create_response.py +25 -0
  15. anchorbrowser/types/application_delete_response.py +12 -0
  16. anchorbrowser/types/application_list_identities_params.py +12 -0
  17. anchorbrowser/types/application_list_identities_response.py +33 -0
  18. anchorbrowser/types/application_list_params.py +12 -0
  19. anchorbrowser/types/application_list_response.py +41 -0
  20. anchorbrowser/types/application_retrieve_response.py +37 -0
  21. anchorbrowser/types/applications/__init__.py +10 -0
  22. anchorbrowser/types/applications/auth_flow_create_params.py +30 -0
  23. anchorbrowser/types/applications/auth_flow_create_response.py +39 -0
  24. anchorbrowser/types/applications/auth_flow_delete_response.py +12 -0
  25. anchorbrowser/types/applications/auth_flow_list_response.py +43 -0
  26. anchorbrowser/types/applications/auth_flow_update_params.py +32 -0
  27. anchorbrowser/types/applications/auth_flow_update_response.py +39 -0
  28. anchorbrowser/types/identity_create_params.py +84 -0
  29. anchorbrowser/types/identity_create_response.py +26 -0
  30. anchorbrowser/types/identity_delete_response.py +12 -0
  31. anchorbrowser/types/identity_retrieve_response.py +32 -0
  32. anchorbrowser/types/identity_update_params.py +70 -0
  33. anchorbrowser/types/identity_update_response.py +22 -0
  34. anchorbrowser/types/session_create_params.py +15 -0
  35. {anchorbrowser-0.5.3.dist-info → anchorbrowser-0.6.0.dist-info}/METADATA +1 -1
  36. {anchorbrowser-0.5.3.dist-info → anchorbrowser-0.6.0.dist-info}/RECORD +38 -12
  37. {anchorbrowser-0.5.3.dist-info → anchorbrowser-0.6.0.dist-info}/licenses/LICENSE +1 -1
  38. {anchorbrowser-0.5.3.dist-info → anchorbrowser-0.6.0.dist-info}/WHEEL +0 -0
@@ -1774,7 +1774,7 @@ class AsyncAPIClient(BaseClient[httpx.AsyncClient, AsyncStream[Any]]):
1774
1774
  options: RequestOptions = {},
1775
1775
  ) -> ResponseT:
1776
1776
  opts = FinalRequestOptions.construct(
1777
- method="patch", url=path, json_data=body, files=to_httpx_files(files), **options
1777
+ method="patch", url=path, json_data=body, files=await async_to_httpx_files(files), **options
1778
1778
  )
1779
1779
  return await self.request(cast_to, opts)
1780
1780
 
anchorbrowser/_client.py CHANGED
@@ -412,6 +412,8 @@ class AsyncAnchorbrowser(AsyncAPIClient):
412
412
 
413
413
 
414
414
  class AnchorbrowserWithRawResponse:
415
+ _client: Anchorbrowser
416
+
415
417
  def __init__(self, client: Anchorbrowser) -> None:
416
418
  self.profiles = profiles.ProfilesResourceWithRawResponse(client.profiles)
417
419
  self.sessions = sessions.SessionsResourceWithRawResponse(client.sessions)
@@ -425,6 +427,8 @@ class AnchorbrowserWithRawResponse:
425
427
 
426
428
 
427
429
  class AsyncAnchorbrowserWithRawResponse:
430
+ _client: AsyncAnchorbrowser
431
+
428
432
  def __init__(self, client: AsyncAnchorbrowser) -> None:
429
433
  self.profiles = profiles.AsyncProfilesResourceWithRawResponse(client.profiles)
430
434
  self.sessions = sessions.AsyncSessionsResourceWithRawResponse(client.sessions)
@@ -438,6 +442,8 @@ class AsyncAnchorbrowserWithRawResponse:
438
442
 
439
443
 
440
444
  class AnchorbrowserWithStreamedResponse:
445
+ _client: Anchorbrowser
446
+
441
447
  def __init__(self, client: Anchorbrowser) -> None:
442
448
  self.profiles = profiles.ProfilesResourceWithStreamingResponse(client.profiles)
443
449
  self.sessions = sessions.SessionsResourceWithStreamingResponse(client.sessions)
@@ -451,6 +457,8 @@ class AnchorbrowserWithStreamedResponse:
451
457
 
452
458
 
453
459
  class AsyncAnchorbrowserWithStreamedResponse:
460
+ _client: AsyncAnchorbrowser
461
+
454
462
  def __init__(self, client: AsyncAnchorbrowser) -> None:
455
463
  self.profiles = profiles.AsyncProfilesResourceWithStreamingResponse(client.profiles)
456
464
  self.sessions = sessions.AsyncSessionsResourceWithStreamingResponse(client.sessions)
@@ -462,7 +470,6 @@ class AsyncAnchorbrowserWithStreamedResponse:
462
470
  self.task = task.AsyncTaskResourceWithStreamingResponse(client.task)
463
471
  self.identities = identities.AsyncIdentitiesResourceWithStreamingResponse(client.identities)
464
472
 
465
-
466
473
  Client = Anchorbrowser
467
474
 
468
475
  AsyncClient = AsyncAnchorbrowser
anchorbrowser/_version.py CHANGED
@@ -1,4 +1,4 @@
1
1
  # File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
2
2
 
3
3
  __title__ = "anchorbrowser"
4
- __version__ = "0.5.3" # x-release-please-version
4
+ __version__ = "0.6.0" # x-release-please-version
@@ -56,6 +56,14 @@ from .identities import (
56
56
  IdentitiesResourceWithStreamingResponse,
57
57
  AsyncIdentitiesResourceWithStreamingResponse,
58
58
  )
59
+ from .applications import (
60
+ ApplicationsResource,
61
+ AsyncApplicationsResource,
62
+ ApplicationsResourceWithRawResponse,
63
+ AsyncApplicationsResourceWithRawResponse,
64
+ ApplicationsResourceWithStreamingResponse,
65
+ AsyncApplicationsResourceWithStreamingResponse,
66
+ )
59
67
 
60
68
  __all__ = [
61
69
  "ProfilesResource",
@@ -100,4 +108,10 @@ __all__ = [
100
108
  "AsyncIdentitiesResourceWithRawResponse",
101
109
  "IdentitiesResourceWithStreamingResponse",
102
110
  "AsyncIdentitiesResourceWithStreamingResponse",
111
+ "ApplicationsResource",
112
+ "AsyncApplicationsResource",
113
+ "ApplicationsResourceWithRawResponse",
114
+ "AsyncApplicationsResourceWithRawResponse",
115
+ "ApplicationsResourceWithStreamingResponse",
116
+ "AsyncApplicationsResourceWithStreamingResponse",
103
117
  ]
@@ -0,0 +1,33 @@
1
+ # File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
2
+
3
+ from .auth_flows import (
4
+ AuthFlowsResource,
5
+ AsyncAuthFlowsResource,
6
+ AuthFlowsResourceWithRawResponse,
7
+ AsyncAuthFlowsResourceWithRawResponse,
8
+ AuthFlowsResourceWithStreamingResponse,
9
+ AsyncAuthFlowsResourceWithStreamingResponse,
10
+ )
11
+ from .applications import (
12
+ ApplicationsResource,
13
+ AsyncApplicationsResource,
14
+ ApplicationsResourceWithRawResponse,
15
+ AsyncApplicationsResourceWithRawResponse,
16
+ ApplicationsResourceWithStreamingResponse,
17
+ AsyncApplicationsResourceWithStreamingResponse,
18
+ )
19
+
20
+ __all__ = [
21
+ "AuthFlowsResource",
22
+ "AsyncAuthFlowsResource",
23
+ "AuthFlowsResourceWithRawResponse",
24
+ "AsyncAuthFlowsResourceWithRawResponse",
25
+ "AuthFlowsResourceWithStreamingResponse",
26
+ "AsyncAuthFlowsResourceWithStreamingResponse",
27
+ "ApplicationsResource",
28
+ "AsyncApplicationsResource",
29
+ "ApplicationsResourceWithRawResponse",
30
+ "AsyncApplicationsResourceWithRawResponse",
31
+ "ApplicationsResourceWithStreamingResponse",
32
+ "AsyncApplicationsResourceWithStreamingResponse",
33
+ ]