anchorbrowser 0.5.4__py3-none-any.whl → 0.6.1__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.
- anchorbrowser/_base_client.py +1 -1
- anchorbrowser/_client.py +9 -2
- anchorbrowser/_version.py +1 -1
- anchorbrowser/resources/__init__.py +14 -0
- anchorbrowser/resources/applications/__init__.py +33 -0
- anchorbrowser/resources/applications/applications.py +715 -0
- anchorbrowser/resources/applications/auth_flows.py +547 -0
- anchorbrowser/resources/identities.py +453 -1
- anchorbrowser/resources/sessions/sessions.py +14 -0
- anchorbrowser/types/__init__.py +20 -0
- anchorbrowser/types/application_create_identity_token_params.py +17 -0
- anchorbrowser/types/application_create_identity_token_response.py +23 -0
- anchorbrowser/types/application_create_params.py +18 -0
- anchorbrowser/types/application_create_response.py +25 -0
- anchorbrowser/types/application_delete_response.py +12 -0
- anchorbrowser/types/application_list_identities_params.py +12 -0
- anchorbrowser/types/application_list_identities_response.py +33 -0
- anchorbrowser/types/application_list_params.py +12 -0
- anchorbrowser/types/application_list_response.py +41 -0
- anchorbrowser/types/application_retrieve_response.py +37 -0
- anchorbrowser/types/applications/__init__.py +10 -0
- anchorbrowser/types/applications/auth_flow_create_params.py +30 -0
- anchorbrowser/types/applications/auth_flow_create_response.py +39 -0
- anchorbrowser/types/applications/auth_flow_delete_response.py +12 -0
- anchorbrowser/types/applications/auth_flow_list_response.py +43 -0
- anchorbrowser/types/applications/auth_flow_update_params.py +32 -0
- anchorbrowser/types/applications/auth_flow_update_response.py +39 -0
- anchorbrowser/types/identity_create_params.py +84 -0
- anchorbrowser/types/identity_create_response.py +26 -0
- anchorbrowser/types/identity_delete_response.py +12 -0
- anchorbrowser/types/identity_retrieve_response.py +32 -0
- anchorbrowser/types/identity_update_params.py +70 -0
- anchorbrowser/types/identity_update_response.py +22 -0
- anchorbrowser/types/session_create_params.py +15 -0
- {anchorbrowser-0.5.4.dist-info → anchorbrowser-0.6.1.dist-info}/METADATA +1 -1
- {anchorbrowser-0.5.4.dist-info → anchorbrowser-0.6.1.dist-info}/RECORD +38 -12
- {anchorbrowser-0.5.4.dist-info → anchorbrowser-0.6.1.dist-info}/licenses/LICENSE +1 -1
- {anchorbrowser-0.5.4.dist-info → anchorbrowser-0.6.1.dist-info}/WHEEL +0 -0
anchorbrowser/_base_client.py
CHANGED
|
@@ -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=
|
|
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
|
@@ -21,7 +21,7 @@ from ._types import (
|
|
|
21
21
|
)
|
|
22
22
|
from ._utils import is_given, get_async_library
|
|
23
23
|
from ._version import __version__
|
|
24
|
-
from .resources import task, agent, tools, events, browser, profiles, extensions, identities
|
|
24
|
+
from .resources import task, agent, tools, events, browser, profiles, extensions, identities, applications
|
|
25
25
|
from ._streaming import Stream as Stream, AsyncStream as AsyncStream
|
|
26
26
|
from ._exceptions import APIStatusError, AnchorbrowserError
|
|
27
27
|
from ._base_client import (
|
|
@@ -53,6 +53,7 @@ class Anchorbrowser(SyncAPIClient):
|
|
|
53
53
|
events: events.EventsResource
|
|
54
54
|
task: task.TaskResource
|
|
55
55
|
identities: identities.IdentitiesResource
|
|
56
|
+
applications: applications.ApplicationsResource
|
|
56
57
|
with_raw_response: AnchorbrowserWithRawResponse
|
|
57
58
|
with_streaming_response: AnchorbrowserWithStreamedResponse
|
|
58
59
|
|
|
@@ -119,6 +120,7 @@ class Anchorbrowser(SyncAPIClient):
|
|
|
119
120
|
self.events = events.EventsResource(self)
|
|
120
121
|
self.task = task.TaskResource(self)
|
|
121
122
|
self.identities = identities.IdentitiesResource(self)
|
|
123
|
+
self.applications = applications.ApplicationsResource(self)
|
|
122
124
|
self.with_raw_response = AnchorbrowserWithRawResponse(self)
|
|
123
125
|
self.with_streaming_response = AnchorbrowserWithStreamedResponse(self)
|
|
124
126
|
|
|
@@ -237,6 +239,7 @@ class AsyncAnchorbrowser(AsyncAPIClient):
|
|
|
237
239
|
events: events.AsyncEventsResource
|
|
238
240
|
task: task.AsyncTaskResource
|
|
239
241
|
identities: identities.AsyncIdentitiesResource
|
|
242
|
+
applications: applications.AsyncApplicationsResource
|
|
240
243
|
with_raw_response: AsyncAnchorbrowserWithRawResponse
|
|
241
244
|
with_streaming_response: AsyncAnchorbrowserWithStreamedResponse
|
|
242
245
|
|
|
@@ -303,6 +306,7 @@ class AsyncAnchorbrowser(AsyncAPIClient):
|
|
|
303
306
|
self.events = events.AsyncEventsResource(self)
|
|
304
307
|
self.task = task.AsyncTaskResource(self)
|
|
305
308
|
self.identities = identities.AsyncIdentitiesResource(self)
|
|
309
|
+
self.applications = applications.AsyncApplicationsResource(self)
|
|
306
310
|
self.with_raw_response = AsyncAnchorbrowserWithRawResponse(self)
|
|
307
311
|
self.with_streaming_response = AsyncAnchorbrowserWithStreamedResponse(self)
|
|
308
312
|
|
|
@@ -424,6 +428,7 @@ class AnchorbrowserWithRawResponse:
|
|
|
424
428
|
self.events = events.EventsResourceWithRawResponse(client.events)
|
|
425
429
|
self.task = task.TaskResourceWithRawResponse(client.task)
|
|
426
430
|
self.identities = identities.IdentitiesResourceWithRawResponse(client.identities)
|
|
431
|
+
self.applications = applications.ApplicationsResourceWithRawResponse(client.applications)
|
|
427
432
|
|
|
428
433
|
|
|
429
434
|
class AsyncAnchorbrowserWithRawResponse:
|
|
@@ -439,6 +444,7 @@ class AsyncAnchorbrowserWithRawResponse:
|
|
|
439
444
|
self.events = events.AsyncEventsResourceWithRawResponse(client.events)
|
|
440
445
|
self.task = task.AsyncTaskResourceWithRawResponse(client.task)
|
|
441
446
|
self.identities = identities.AsyncIdentitiesResourceWithRawResponse(client.identities)
|
|
447
|
+
self.applications = applications.AsyncApplicationsResourceWithRawResponse(client.applications)
|
|
442
448
|
|
|
443
449
|
|
|
444
450
|
class AnchorbrowserWithStreamedResponse:
|
|
@@ -454,6 +460,7 @@ class AnchorbrowserWithStreamedResponse:
|
|
|
454
460
|
self.events = events.EventsResourceWithStreamingResponse(client.events)
|
|
455
461
|
self.task = task.TaskResourceWithStreamingResponse(client.task)
|
|
456
462
|
self.identities = identities.IdentitiesResourceWithStreamingResponse(client.identities)
|
|
463
|
+
self.applications = applications.ApplicationsResourceWithStreamingResponse(client.applications)
|
|
457
464
|
|
|
458
465
|
|
|
459
466
|
class AsyncAnchorbrowserWithStreamedResponse:
|
|
@@ -469,7 +476,7 @@ class AsyncAnchorbrowserWithStreamedResponse:
|
|
|
469
476
|
self.events = events.AsyncEventsResourceWithStreamingResponse(client.events)
|
|
470
477
|
self.task = task.AsyncTaskResourceWithStreamingResponse(client.task)
|
|
471
478
|
self.identities = identities.AsyncIdentitiesResourceWithStreamingResponse(client.identities)
|
|
472
|
-
|
|
479
|
+
self.applications = applications.AsyncApplicationsResourceWithStreamingResponse(client.applications)
|
|
473
480
|
|
|
474
481
|
Client = Anchorbrowser
|
|
475
482
|
|
anchorbrowser/_version.py
CHANGED
|
@@ -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
|
+
]
|