anchorbrowser 0.3.13__py3-none-any.whl → 0.4.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.
- anchorbrowser/_client.py +9 -9
- anchorbrowser/_version.py +1 -1
- anchorbrowser/resources/__init__.py +13 -13
- anchorbrowser/resources/identities.py +163 -0
- anchorbrowser/types/__init__.py +3 -3
- anchorbrowser/types/identity_retrieve_credentials_response.py +72 -0
- {anchorbrowser-0.3.13.dist-info → anchorbrowser-0.4.0.dist-info}/METADATA +1 -1
- {anchorbrowser-0.3.13.dist-info → anchorbrowser-0.4.0.dist-info}/RECORD +10 -12
- anchorbrowser/resources/batch_sessions.py +0 -288
- anchorbrowser/types/batch_session_create_params.py +0 -521
- anchorbrowser/types/batch_session_create_response.py +0 -27
- anchorbrowser/types/batch_session_retrieve_response.py +0 -90
- {anchorbrowser-0.3.13.dist-info → anchorbrowser-0.4.0.dist-info}/WHEEL +0 -0
- {anchorbrowser-0.3.13.dist-info → anchorbrowser-0.4.0.dist-info}/licenses/LICENSE +0 -0
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,
|
|
24
|
+
from .resources import task, agent, tools, events, browser, profiles, extensions, identities
|
|
25
25
|
from ._streaming import Stream as Stream, AsyncStream as AsyncStream
|
|
26
26
|
from ._exceptions import APIStatusError, AnchorbrowserError
|
|
27
27
|
from ._base_client import (
|
|
@@ -51,8 +51,8 @@ class Anchorbrowser(SyncAPIClient):
|
|
|
51
51
|
browser: browser.BrowserResource
|
|
52
52
|
agent: agent.AgentResource
|
|
53
53
|
events: events.EventsResource
|
|
54
|
-
batch_sessions: batch_sessions.BatchSessionsResource
|
|
55
54
|
task: task.TaskResource
|
|
55
|
+
identities: identities.IdentitiesResource
|
|
56
56
|
with_raw_response: AnchorbrowserWithRawResponse
|
|
57
57
|
with_streaming_response: AnchorbrowserWithStreamedResponse
|
|
58
58
|
|
|
@@ -117,8 +117,8 @@ class Anchorbrowser(SyncAPIClient):
|
|
|
117
117
|
self.browser = browser.BrowserResource(self)
|
|
118
118
|
self.agent = agent.AgentResource(self)
|
|
119
119
|
self.events = events.EventsResource(self)
|
|
120
|
-
self.batch_sessions = batch_sessions.BatchSessionsResource(self)
|
|
121
120
|
self.task = task.TaskResource(self)
|
|
121
|
+
self.identities = identities.IdentitiesResource(self)
|
|
122
122
|
self.with_raw_response = AnchorbrowserWithRawResponse(self)
|
|
123
123
|
self.with_streaming_response = AnchorbrowserWithStreamedResponse(self)
|
|
124
124
|
|
|
@@ -235,8 +235,8 @@ class AsyncAnchorbrowser(AsyncAPIClient):
|
|
|
235
235
|
browser: browser.AsyncBrowserResource
|
|
236
236
|
agent: agent.AsyncAgentResource
|
|
237
237
|
events: events.AsyncEventsResource
|
|
238
|
-
batch_sessions: batch_sessions.AsyncBatchSessionsResource
|
|
239
238
|
task: task.AsyncTaskResource
|
|
239
|
+
identities: identities.AsyncIdentitiesResource
|
|
240
240
|
with_raw_response: AsyncAnchorbrowserWithRawResponse
|
|
241
241
|
with_streaming_response: AsyncAnchorbrowserWithStreamedResponse
|
|
242
242
|
|
|
@@ -301,8 +301,8 @@ class AsyncAnchorbrowser(AsyncAPIClient):
|
|
|
301
301
|
self.browser = browser.AsyncBrowserResource(self)
|
|
302
302
|
self.agent = agent.AsyncAgentResource(self)
|
|
303
303
|
self.events = events.AsyncEventsResource(self)
|
|
304
|
-
self.batch_sessions = batch_sessions.AsyncBatchSessionsResource(self)
|
|
305
304
|
self.task = task.AsyncTaskResource(self)
|
|
305
|
+
self.identities = identities.AsyncIdentitiesResource(self)
|
|
306
306
|
self.with_raw_response = AsyncAnchorbrowserWithRawResponse(self)
|
|
307
307
|
self.with_streaming_response = AsyncAnchorbrowserWithStreamedResponse(self)
|
|
308
308
|
|
|
@@ -420,8 +420,8 @@ class AnchorbrowserWithRawResponse:
|
|
|
420
420
|
self.browser = browser.BrowserResourceWithRawResponse(client.browser)
|
|
421
421
|
self.agent = agent.AgentResourceWithRawResponse(client.agent)
|
|
422
422
|
self.events = events.EventsResourceWithRawResponse(client.events)
|
|
423
|
-
self.batch_sessions = batch_sessions.BatchSessionsResourceWithRawResponse(client.batch_sessions)
|
|
424
423
|
self.task = task.TaskResourceWithRawResponse(client.task)
|
|
424
|
+
self.identities = identities.IdentitiesResourceWithRawResponse(client.identities)
|
|
425
425
|
|
|
426
426
|
|
|
427
427
|
class AsyncAnchorbrowserWithRawResponse:
|
|
@@ -433,8 +433,8 @@ class AsyncAnchorbrowserWithRawResponse:
|
|
|
433
433
|
self.browser = browser.AsyncBrowserResourceWithRawResponse(client.browser)
|
|
434
434
|
self.agent = agent.AsyncAgentResourceWithRawResponse(client.agent)
|
|
435
435
|
self.events = events.AsyncEventsResourceWithRawResponse(client.events)
|
|
436
|
-
self.batch_sessions = batch_sessions.AsyncBatchSessionsResourceWithRawResponse(client.batch_sessions)
|
|
437
436
|
self.task = task.AsyncTaskResourceWithRawResponse(client.task)
|
|
437
|
+
self.identities = identities.AsyncIdentitiesResourceWithRawResponse(client.identities)
|
|
438
438
|
|
|
439
439
|
|
|
440
440
|
class AnchorbrowserWithStreamedResponse:
|
|
@@ -446,8 +446,8 @@ class AnchorbrowserWithStreamedResponse:
|
|
|
446
446
|
self.browser = browser.BrowserResourceWithStreamingResponse(client.browser)
|
|
447
447
|
self.agent = agent.AgentResourceWithStreamingResponse(client.agent)
|
|
448
448
|
self.events = events.EventsResourceWithStreamingResponse(client.events)
|
|
449
|
-
self.batch_sessions = batch_sessions.BatchSessionsResourceWithStreamingResponse(client.batch_sessions)
|
|
450
449
|
self.task = task.TaskResourceWithStreamingResponse(client.task)
|
|
450
|
+
self.identities = identities.IdentitiesResourceWithStreamingResponse(client.identities)
|
|
451
451
|
|
|
452
452
|
|
|
453
453
|
class AsyncAnchorbrowserWithStreamedResponse:
|
|
@@ -459,8 +459,8 @@ class AsyncAnchorbrowserWithStreamedResponse:
|
|
|
459
459
|
self.browser = browser.AsyncBrowserResourceWithStreamingResponse(client.browser)
|
|
460
460
|
self.agent = agent.AsyncAgentResourceWithStreamingResponse(client.agent)
|
|
461
461
|
self.events = events.AsyncEventsResourceWithStreamingResponse(client.events)
|
|
462
|
-
self.batch_sessions = batch_sessions.AsyncBatchSessionsResourceWithStreamingResponse(client.batch_sessions)
|
|
463
462
|
self.task = task.AsyncTaskResourceWithStreamingResponse(client.task)
|
|
463
|
+
self.identities = identities.AsyncIdentitiesResourceWithStreamingResponse(client.identities)
|
|
464
464
|
|
|
465
465
|
|
|
466
466
|
Client = Anchorbrowser
|
anchorbrowser/_version.py
CHANGED
|
@@ -48,13 +48,13 @@ from .extensions import (
|
|
|
48
48
|
ExtensionsResourceWithStreamingResponse,
|
|
49
49
|
AsyncExtensionsResourceWithStreamingResponse,
|
|
50
50
|
)
|
|
51
|
-
from .
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
51
|
+
from .identities import (
|
|
52
|
+
IdentitiesResource,
|
|
53
|
+
AsyncIdentitiesResource,
|
|
54
|
+
IdentitiesResourceWithRawResponse,
|
|
55
|
+
AsyncIdentitiesResourceWithRawResponse,
|
|
56
|
+
IdentitiesResourceWithStreamingResponse,
|
|
57
|
+
AsyncIdentitiesResourceWithStreamingResponse,
|
|
58
58
|
)
|
|
59
59
|
|
|
60
60
|
__all__ = [
|
|
@@ -88,16 +88,16 @@ __all__ = [
|
|
|
88
88
|
"AsyncEventsResourceWithRawResponse",
|
|
89
89
|
"EventsResourceWithStreamingResponse",
|
|
90
90
|
"AsyncEventsResourceWithStreamingResponse",
|
|
91
|
-
"BatchSessionsResource",
|
|
92
|
-
"AsyncBatchSessionsResource",
|
|
93
|
-
"BatchSessionsResourceWithRawResponse",
|
|
94
|
-
"AsyncBatchSessionsResourceWithRawResponse",
|
|
95
|
-
"BatchSessionsResourceWithStreamingResponse",
|
|
96
|
-
"AsyncBatchSessionsResourceWithStreamingResponse",
|
|
97
91
|
"TaskResource",
|
|
98
92
|
"AsyncTaskResource",
|
|
99
93
|
"TaskResourceWithRawResponse",
|
|
100
94
|
"AsyncTaskResourceWithRawResponse",
|
|
101
95
|
"TaskResourceWithStreamingResponse",
|
|
102
96
|
"AsyncTaskResourceWithStreamingResponse",
|
|
97
|
+
"IdentitiesResource",
|
|
98
|
+
"AsyncIdentitiesResource",
|
|
99
|
+
"IdentitiesResourceWithRawResponse",
|
|
100
|
+
"AsyncIdentitiesResourceWithRawResponse",
|
|
101
|
+
"IdentitiesResourceWithStreamingResponse",
|
|
102
|
+
"AsyncIdentitiesResourceWithStreamingResponse",
|
|
103
103
|
]
|
|
@@ -0,0 +1,163 @@
|
|
|
1
|
+
# File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
|
|
2
|
+
|
|
3
|
+
from __future__ import annotations
|
|
4
|
+
|
|
5
|
+
import httpx
|
|
6
|
+
|
|
7
|
+
from .._types import Body, Query, Headers, NotGiven, not_given
|
|
8
|
+
from .._compat import cached_property
|
|
9
|
+
from .._resource import SyncAPIResource, AsyncAPIResource
|
|
10
|
+
from .._response import (
|
|
11
|
+
to_raw_response_wrapper,
|
|
12
|
+
to_streamed_response_wrapper,
|
|
13
|
+
async_to_raw_response_wrapper,
|
|
14
|
+
async_to_streamed_response_wrapper,
|
|
15
|
+
)
|
|
16
|
+
from .._base_client import make_request_options
|
|
17
|
+
from ..types.identity_retrieve_credentials_response import IdentityRetrieveCredentialsResponse
|
|
18
|
+
|
|
19
|
+
__all__ = ["IdentitiesResource", "AsyncIdentitiesResource"]
|
|
20
|
+
|
|
21
|
+
|
|
22
|
+
class IdentitiesResource(SyncAPIResource):
|
|
23
|
+
@cached_property
|
|
24
|
+
def with_raw_response(self) -> IdentitiesResourceWithRawResponse:
|
|
25
|
+
"""
|
|
26
|
+
This property can be used as a prefix for any HTTP method call to return
|
|
27
|
+
the raw response object instead of the parsed content.
|
|
28
|
+
|
|
29
|
+
For more information, see https://www.github.com/anchorbrowser/AnchorBrowser-SDK-Python#accessing-raw-response-data-eg-headers
|
|
30
|
+
"""
|
|
31
|
+
return IdentitiesResourceWithRawResponse(self)
|
|
32
|
+
|
|
33
|
+
@cached_property
|
|
34
|
+
def with_streaming_response(self) -> IdentitiesResourceWithStreamingResponse:
|
|
35
|
+
"""
|
|
36
|
+
An alternative to `.with_raw_response` that doesn't eagerly read the response body.
|
|
37
|
+
|
|
38
|
+
For more information, see https://www.github.com/anchorbrowser/AnchorBrowser-SDK-Python#with_streaming_response
|
|
39
|
+
"""
|
|
40
|
+
return IdentitiesResourceWithStreamingResponse(self)
|
|
41
|
+
|
|
42
|
+
def retrieve_credentials(
|
|
43
|
+
self,
|
|
44
|
+
identity_id: str,
|
|
45
|
+
*,
|
|
46
|
+
# Use the following arguments if you need to pass additional parameters to the API that aren't available via kwargs.
|
|
47
|
+
# The extra values given here take precedence over values defined on the client or passed to this method.
|
|
48
|
+
extra_headers: Headers | None = None,
|
|
49
|
+
extra_query: Query | None = None,
|
|
50
|
+
extra_body: Body | None = None,
|
|
51
|
+
timeout: float | httpx.Timeout | None | NotGiven = not_given,
|
|
52
|
+
) -> IdentityRetrieveCredentialsResponse:
|
|
53
|
+
"""
|
|
54
|
+
Retrieves the credentials for a specific identity.
|
|
55
|
+
|
|
56
|
+
Args:
|
|
57
|
+
extra_headers: Send extra headers
|
|
58
|
+
|
|
59
|
+
extra_query: Add additional query parameters to the request
|
|
60
|
+
|
|
61
|
+
extra_body: Add additional JSON properties to the request
|
|
62
|
+
|
|
63
|
+
timeout: Override the client-level default timeout for this request, in seconds
|
|
64
|
+
"""
|
|
65
|
+
if not identity_id:
|
|
66
|
+
raise ValueError(f"Expected a non-empty value for `identity_id` but received {identity_id!r}")
|
|
67
|
+
return self._get(
|
|
68
|
+
f"/v1/identities/{identity_id}/credentials",
|
|
69
|
+
options=make_request_options(
|
|
70
|
+
extra_headers=extra_headers, extra_query=extra_query, extra_body=extra_body, timeout=timeout
|
|
71
|
+
),
|
|
72
|
+
cast_to=IdentityRetrieveCredentialsResponse,
|
|
73
|
+
)
|
|
74
|
+
|
|
75
|
+
|
|
76
|
+
class AsyncIdentitiesResource(AsyncAPIResource):
|
|
77
|
+
@cached_property
|
|
78
|
+
def with_raw_response(self) -> AsyncIdentitiesResourceWithRawResponse:
|
|
79
|
+
"""
|
|
80
|
+
This property can be used as a prefix for any HTTP method call to return
|
|
81
|
+
the raw response object instead of the parsed content.
|
|
82
|
+
|
|
83
|
+
For more information, see https://www.github.com/anchorbrowser/AnchorBrowser-SDK-Python#accessing-raw-response-data-eg-headers
|
|
84
|
+
"""
|
|
85
|
+
return AsyncIdentitiesResourceWithRawResponse(self)
|
|
86
|
+
|
|
87
|
+
@cached_property
|
|
88
|
+
def with_streaming_response(self) -> AsyncIdentitiesResourceWithStreamingResponse:
|
|
89
|
+
"""
|
|
90
|
+
An alternative to `.with_raw_response` that doesn't eagerly read the response body.
|
|
91
|
+
|
|
92
|
+
For more information, see https://www.github.com/anchorbrowser/AnchorBrowser-SDK-Python#with_streaming_response
|
|
93
|
+
"""
|
|
94
|
+
return AsyncIdentitiesResourceWithStreamingResponse(self)
|
|
95
|
+
|
|
96
|
+
async def retrieve_credentials(
|
|
97
|
+
self,
|
|
98
|
+
identity_id: str,
|
|
99
|
+
*,
|
|
100
|
+
# Use the following arguments if you need to pass additional parameters to the API that aren't available via kwargs.
|
|
101
|
+
# The extra values given here take precedence over values defined on the client or passed to this method.
|
|
102
|
+
extra_headers: Headers | None = None,
|
|
103
|
+
extra_query: Query | None = None,
|
|
104
|
+
extra_body: Body | None = None,
|
|
105
|
+
timeout: float | httpx.Timeout | None | NotGiven = not_given,
|
|
106
|
+
) -> IdentityRetrieveCredentialsResponse:
|
|
107
|
+
"""
|
|
108
|
+
Retrieves the credentials for a specific identity.
|
|
109
|
+
|
|
110
|
+
Args:
|
|
111
|
+
extra_headers: Send extra headers
|
|
112
|
+
|
|
113
|
+
extra_query: Add additional query parameters to the request
|
|
114
|
+
|
|
115
|
+
extra_body: Add additional JSON properties to the request
|
|
116
|
+
|
|
117
|
+
timeout: Override the client-level default timeout for this request, in seconds
|
|
118
|
+
"""
|
|
119
|
+
if not identity_id:
|
|
120
|
+
raise ValueError(f"Expected a non-empty value for `identity_id` but received {identity_id!r}")
|
|
121
|
+
return await self._get(
|
|
122
|
+
f"/v1/identities/{identity_id}/credentials",
|
|
123
|
+
options=make_request_options(
|
|
124
|
+
extra_headers=extra_headers, extra_query=extra_query, extra_body=extra_body, timeout=timeout
|
|
125
|
+
),
|
|
126
|
+
cast_to=IdentityRetrieveCredentialsResponse,
|
|
127
|
+
)
|
|
128
|
+
|
|
129
|
+
|
|
130
|
+
class IdentitiesResourceWithRawResponse:
|
|
131
|
+
def __init__(self, identities: IdentitiesResource) -> None:
|
|
132
|
+
self._identities = identities
|
|
133
|
+
|
|
134
|
+
self.retrieve_credentials = to_raw_response_wrapper(
|
|
135
|
+
identities.retrieve_credentials,
|
|
136
|
+
)
|
|
137
|
+
|
|
138
|
+
|
|
139
|
+
class AsyncIdentitiesResourceWithRawResponse:
|
|
140
|
+
def __init__(self, identities: AsyncIdentitiesResource) -> None:
|
|
141
|
+
self._identities = identities
|
|
142
|
+
|
|
143
|
+
self.retrieve_credentials = async_to_raw_response_wrapper(
|
|
144
|
+
identities.retrieve_credentials,
|
|
145
|
+
)
|
|
146
|
+
|
|
147
|
+
|
|
148
|
+
class IdentitiesResourceWithStreamingResponse:
|
|
149
|
+
def __init__(self, identities: IdentitiesResource) -> None:
|
|
150
|
+
self._identities = identities
|
|
151
|
+
|
|
152
|
+
self.retrieve_credentials = to_streamed_response_wrapper(
|
|
153
|
+
identities.retrieve_credentials,
|
|
154
|
+
)
|
|
155
|
+
|
|
156
|
+
|
|
157
|
+
class AsyncIdentitiesResourceWithStreamingResponse:
|
|
158
|
+
def __init__(self, identities: AsyncIdentitiesResource) -> None:
|
|
159
|
+
self._identities = identities
|
|
160
|
+
|
|
161
|
+
self.retrieve_credentials = async_to_streamed_response_wrapper(
|
|
162
|
+
identities.retrieve_credentials,
|
|
163
|
+
)
|
anchorbrowser/types/__init__.py
CHANGED
|
@@ -30,16 +30,16 @@ from .profile_retrieve_response import ProfileRetrieveResponse as ProfileRetriev
|
|
|
30
30
|
from .session_retrieve_response import SessionRetrieveResponse as SessionRetrieveResponse
|
|
31
31
|
from .tool_fetch_webpage_params import ToolFetchWebpageParams as ToolFetchWebpageParams
|
|
32
32
|
from .session_upload_file_params import SessionUploadFileParams as SessionUploadFileParams
|
|
33
|
-
from .batch_session_create_params import BatchSessionCreateParams as BatchSessionCreateParams
|
|
34
33
|
from .extension_retrieve_response import ExtensionRetrieveResponse as ExtensionRetrieveResponse
|
|
35
34
|
from .session_list_pages_response import SessionListPagesResponse as SessionListPagesResponse
|
|
36
35
|
from .tool_fetch_webpage_response import ToolFetchWebpageResponse as ToolFetchWebpageResponse
|
|
37
36
|
from .session_drag_and_drop_params import SessionDragAndDropParams as SessionDragAndDropParams
|
|
38
37
|
from .session_upload_file_response import SessionUploadFileResponse as SessionUploadFileResponse
|
|
39
38
|
from .tool_perform_web_task_params import ToolPerformWebTaskParams as ToolPerformWebTaskParams
|
|
40
|
-
from .batch_session_create_response import BatchSessionCreateResponse as BatchSessionCreateResponse
|
|
41
39
|
from .session_drag_and_drop_response import SessionDragAndDropResponse as SessionDragAndDropResponse
|
|
42
40
|
from .tool_perform_web_task_response import ToolPerformWebTaskResponse as ToolPerformWebTaskResponse
|
|
43
41
|
from .tool_screenshot_webpage_params import ToolScreenshotWebpageParams as ToolScreenshotWebpageParams
|
|
44
|
-
from .batch_session_retrieve_response import BatchSessionRetrieveResponse as BatchSessionRetrieveResponse
|
|
45
42
|
from .session_retrieve_downloads_response import SessionRetrieveDownloadsResponse as SessionRetrieveDownloadsResponse
|
|
43
|
+
from .identity_retrieve_credentials_response import (
|
|
44
|
+
IdentityRetrieveCredentialsResponse as IdentityRetrieveCredentialsResponse,
|
|
45
|
+
)
|
|
@@ -0,0 +1,72 @@
|
|
|
1
|
+
# File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
|
|
2
|
+
|
|
3
|
+
from typing import List, Union, Optional
|
|
4
|
+
from typing_extensions import Literal, TypeAlias
|
|
5
|
+
|
|
6
|
+
from .._models import BaseModel
|
|
7
|
+
|
|
8
|
+
__all__ = [
|
|
9
|
+
"IdentityRetrieveCredentialsResponse",
|
|
10
|
+
"Credential",
|
|
11
|
+
"CredentialUsernamePasswordCredentialSchema",
|
|
12
|
+
"CredentialAuthenticatorCredentialSchema",
|
|
13
|
+
"CredentialCustomCredentialSchema",
|
|
14
|
+
"CredentialCustomCredentialSchemaField",
|
|
15
|
+
]
|
|
16
|
+
|
|
17
|
+
|
|
18
|
+
class CredentialUsernamePasswordCredentialSchema(BaseModel):
|
|
19
|
+
password: Optional[str] = None
|
|
20
|
+
"""The password of the credential"""
|
|
21
|
+
|
|
22
|
+
type: Optional[Literal["username_password"]] = None
|
|
23
|
+
"""The type of credential"""
|
|
24
|
+
|
|
25
|
+
username: Optional[str] = None
|
|
26
|
+
"""The username of the credential"""
|
|
27
|
+
|
|
28
|
+
|
|
29
|
+
class CredentialAuthenticatorCredentialSchema(BaseModel):
|
|
30
|
+
otp: Optional[str] = None
|
|
31
|
+
"""The OTP of the credential"""
|
|
32
|
+
|
|
33
|
+
secret: Optional[str] = None
|
|
34
|
+
"""The secret of the credential"""
|
|
35
|
+
|
|
36
|
+
type: Optional[Literal["authenticator"]] = None
|
|
37
|
+
"""The type of credential"""
|
|
38
|
+
|
|
39
|
+
|
|
40
|
+
class CredentialCustomCredentialSchemaField(BaseModel):
|
|
41
|
+
name: Optional[str] = None
|
|
42
|
+
"""The name of the field"""
|
|
43
|
+
|
|
44
|
+
value: Optional[str] = None
|
|
45
|
+
"""The value of the field"""
|
|
46
|
+
|
|
47
|
+
|
|
48
|
+
class CredentialCustomCredentialSchema(BaseModel):
|
|
49
|
+
fields: Optional[List[CredentialCustomCredentialSchemaField]] = None
|
|
50
|
+
|
|
51
|
+
type: Optional[Literal["custom"]] = None
|
|
52
|
+
"""The type of credential"""
|
|
53
|
+
|
|
54
|
+
|
|
55
|
+
Credential: TypeAlias = Union[
|
|
56
|
+
CredentialUsernamePasswordCredentialSchema,
|
|
57
|
+
CredentialAuthenticatorCredentialSchema,
|
|
58
|
+
CredentialCustomCredentialSchema,
|
|
59
|
+
]
|
|
60
|
+
|
|
61
|
+
|
|
62
|
+
class IdentityRetrieveCredentialsResponse(BaseModel):
|
|
63
|
+
id: Optional[str] = None
|
|
64
|
+
"""The ID of the identity"""
|
|
65
|
+
|
|
66
|
+
credentials: Optional[List[Credential]] = None
|
|
67
|
+
|
|
68
|
+
name: Optional[str] = None
|
|
69
|
+
"""The name of the identity"""
|
|
70
|
+
|
|
71
|
+
source: Optional[str] = None
|
|
72
|
+
"""The url related to the identity"""
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.3
|
|
2
2
|
Name: anchorbrowser
|
|
3
|
-
Version: 0.
|
|
3
|
+
Version: 0.4.0
|
|
4
4
|
Summary: The official Python library for the anchorbrowser API
|
|
5
5
|
Project-URL: Homepage, https://github.com/anchorbrowser/AnchorBrowser-SDK-Python
|
|
6
6
|
Project-URL: Repository, https://github.com/anchorbrowser/AnchorBrowser-SDK-Python
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
anchorbrowser/__init__.py,sha256=Wl16NhVAsaRBCpDtHZjZXDY31QMKfCIRNjzJcfb8D9E,2728
|
|
2
2
|
anchorbrowser/_base_client.py,sha256=fl8ELiO1VjtUQLGCkJiTouZAxtX3b-teiU8Z0ANoR7g,67054
|
|
3
|
-
anchorbrowser/_client.py,sha256=
|
|
3
|
+
anchorbrowser/_client.py,sha256=kOirdFb7E1Ka4i8OmYvReMdFN4L-uvY9l_X2Zk-lNXs,19478
|
|
4
4
|
anchorbrowser/_compat.py,sha256=DQBVORjFb33zch24jzkhM14msvnzY7mmSmgDLaVFUM8,6562
|
|
5
5
|
anchorbrowser/_constants.py,sha256=rKs4WwdZfRAvd1f_BWJm7vbaHYIdDm7Z7tz5NQKGbPM,468
|
|
6
6
|
anchorbrowser/_exceptions.py,sha256=Qz7WOsYUFZ3bEoN28V-C9Wk-EvYerqP83-fMUINlZKQ,3234
|
|
@@ -11,7 +11,7 @@ anchorbrowser/_resource.py,sha256=7lE1EgpVj5kwckk-27umtigTOf9nKTyRl97cgNwRbRQ,11
|
|
|
11
11
|
anchorbrowser/_response.py,sha256=xsiyWOC8LWW-NvbFtZ-MJD4f7eI9RnivKwtKImZ-8o4,28860
|
|
12
12
|
anchorbrowser/_streaming.py,sha256=ey2jst1hntYHV6HDiCFfHhWr_dUCSG4dG-VUqQkmCQ4,10249
|
|
13
13
|
anchorbrowser/_types.py,sha256=nAsmJDL_VDIWprgQ9LdTLnW1NtUssCOAD8OKIqeaHQ8,7302
|
|
14
|
-
anchorbrowser/_version.py,sha256=
|
|
14
|
+
anchorbrowser/_version.py,sha256=KQiS3RIMQmAztrARiHxHAgknVHATAvEnd1JxsxWRouo,165
|
|
15
15
|
anchorbrowser/py.typed,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
16
16
|
anchorbrowser/_utils/__init__.py,sha256=7fch0GT9zpNnErbciSpUNa-SjTxxjY6kxHxKMOM4AGs,2305
|
|
17
17
|
anchorbrowser/_utils/_compat.py,sha256=D8gtAvjJQrDWt9upS0XaG9Rr5l1QhiAx_I_1utT_tt0,1195
|
|
@@ -28,12 +28,12 @@ anchorbrowser/_utils/_utils.py,sha256=ugfUaneOK7I8h9b3656flwf5u_kthY0gvNuqvgOLoS
|
|
|
28
28
|
anchorbrowser/lib/.keep,sha256=wuNrz-5SXo3jJaJOJgz4vFHM41YH_g20F5cRQo0vLes,224
|
|
29
29
|
anchorbrowser/lib/agent.py,sha256=bPaGn2-Eta1HL0hB0cClL9WSmjwRfHphruBofq1oVvI,3533
|
|
30
30
|
anchorbrowser/lib/browser.py,sha256=I8BGLRRBEAURb_rJHvMh5qGaN73Ln9jmXBwTkHJXOS0,6349
|
|
31
|
-
anchorbrowser/resources/__init__.py,sha256=
|
|
31
|
+
anchorbrowser/resources/__init__.py,sha256=7EiFSg_zGe3PD-8qVTwpphzf2YNWHbUOzHt-iE607IA,3369
|
|
32
32
|
anchorbrowser/resources/agent.py,sha256=-pceCs4e76Ofe-yAfSU_AjNekTl7EWWk3NiDcCf6pKI,19597
|
|
33
|
-
anchorbrowser/resources/batch_sessions.py,sha256=d7Jy59NHE0u7mw4sx1N9mhG60-93reu_DqsXsU3stZo,11336
|
|
34
33
|
anchorbrowser/resources/browser.py,sha256=BB5hq_ayIDL_ziYHq13oj8US3XkHzkoXiGLBm7h9dH0,5548
|
|
35
34
|
anchorbrowser/resources/events.py,sha256=B6TwziBmOVMjWwoFO7OJR2X_Jt_3jtzNhQg4lgY-7SE,10780
|
|
36
35
|
anchorbrowser/resources/extensions.py,sha256=KWySN-tu8Cxy-LbY3TXLNMPs1s5Hzwwk7Rmr1AYLVeU,15943
|
|
36
|
+
anchorbrowser/resources/identities.py,sha256=fsRJwlO6-4r67ZcUlO_wJVKobFyw5adl4JdFG1zxQ-0,6378
|
|
37
37
|
anchorbrowser/resources/profiles.py,sha256=g6xLjfmdXfRM5QV-N-omShpSPO_jMvRRmxKjOllq5RQ,16206
|
|
38
38
|
anchorbrowser/resources/task.py,sha256=mimwjwBWvSDbXUYhjq7fVpbmGbsxDkBVEmxDTHiVeTQ,16580
|
|
39
39
|
anchorbrowser/resources/tools.py,sha256=lqVo9w1gvDD7Q_bRV9H_KoLa3RDHac7-yDzw7KV6mlg,25988
|
|
@@ -50,10 +50,7 @@ anchorbrowser/resources/sessions/recordings/__init__.py,sha256=MRWTb2Kwpc-wGBrca
|
|
|
50
50
|
anchorbrowser/resources/sessions/recordings/primary.py,sha256=p739aM0tU6CUx2KAgbo2O0oS-5T438Ho7SeUH9eSKXI,6569
|
|
51
51
|
anchorbrowser/resources/sessions/recordings/recordings.py,sha256=LtaT51hX5GWdl21ypu2SGKzEHJHfsjWhJkqAy_fjWGo,13746
|
|
52
52
|
anchorbrowser/resources/task/run.py,sha256=wgh4guYSaeysvEmbnxBZtrrZXTJGv62aiacXPqxM3MU,7919
|
|
53
|
-
anchorbrowser/types/__init__.py,sha256=
|
|
54
|
-
anchorbrowser/types/batch_session_create_params.py,sha256=XeyFgTBqdW1cqsmN_wCtiC96cEpDH-XpLYK-t5SwwfM,12448
|
|
55
|
-
anchorbrowser/types/batch_session_create_response.py,sha256=K3EqFJzenfNDjzoTaWefPjuyULlxTMhdemBjKAd3_Dg,761
|
|
56
|
-
anchorbrowser/types/batch_session_retrieve_response.py,sha256=nCA22nuUPnmq2Ec-0ZzkZehNpMLCtLJa0aBPdaVAGDk,2800
|
|
53
|
+
anchorbrowser/types/__init__.py,sha256=NsF4l7kljN8D5Pjf1OlqOH_Lbr_py-dzA4ZBDsbEezg,3456
|
|
57
54
|
anchorbrowser/types/event_signal_params.py,sha256=aEq0J4fq3YBGz3LLo2jtQH5GQUmfXj8Nuk-VFnnXRs8,372
|
|
58
55
|
anchorbrowser/types/event_wait_for_params.py,sha256=hyBubY4vBGTtX5AfS6KhkTQHseWKCdhSY4TIzyxPqAo,448
|
|
59
56
|
anchorbrowser/types/event_wait_for_response.py,sha256=QDjO9rVVpn34OGb5q6eQqrve1rSzzhaT8lPl_TCRXOs,319
|
|
@@ -63,6 +60,7 @@ anchorbrowser/types/extension_manifest.py,sha256=jgQzqKbPODPjEPiGPcEjCXx6yBdgFXZ
|
|
|
63
60
|
anchorbrowser/types/extension_retrieve_response.py,sha256=wBpk7gNgAbVf1etsCSrC4JOrKD6c_9HTv2S2FjNiAiM,807
|
|
64
61
|
anchorbrowser/types/extension_upload_params.py,sha256=bBd8BMRVHu6P18jJovVMLPnIzGXGlV8Geb8TdiuGPbQ,470
|
|
65
62
|
anchorbrowser/types/extension_upload_response.py,sha256=ee8KYWIb-AjURMzrtAMNUTjV3Izhj6AB0LeAvR0npvk,868
|
|
63
|
+
anchorbrowser/types/identity_retrieve_credentials_response.py,sha256=JEbMSc2IJ-z9BGbBAmfR7V2a1YRisFNkfA1mhoyFxMA,1930
|
|
66
64
|
anchorbrowser/types/profile_create_params.py,sha256=JU53ky-FAMbjHPFQzA70H63qrgvyZDmxU6v8CaUcriI,839
|
|
67
65
|
anchorbrowser/types/profile_list_response.py,sha256=8mDdiQ_YHaKeAzVbzw9D9XbFbyLL1MSBaJQN9dE1xeE,1041
|
|
68
66
|
anchorbrowser/types/profile_retrieve_response.py,sha256=OW5f6dcJfWUJUl1uKFQmwul5Uw4J5iyxP-f4vP19ufc,891
|
|
@@ -118,7 +116,7 @@ anchorbrowser/types/sessions/agent/file_upload_response.py,sha256=9DnqplfvEud89U
|
|
|
118
116
|
anchorbrowser/types/sessions/recordings/__init__.py,sha256=OKfJYcKb4NObdiRObqJV_dOyDQ8feXekDUge2o_4pXQ,122
|
|
119
117
|
anchorbrowser/types/shared/__init__.py,sha256=FQKjY3VDxI8T0feNRazdY5TOqb2KDeEwZaoJjsxuEl4,152
|
|
120
118
|
anchorbrowser/types/shared/success_response.py,sha256=l9OWrucXoSjBdsx5QKdvBPFtxv8d0YdpYY6iL5cWWuc,314
|
|
121
|
-
anchorbrowser-0.
|
|
122
|
-
anchorbrowser-0.
|
|
123
|
-
anchorbrowser-0.
|
|
124
|
-
anchorbrowser-0.
|
|
119
|
+
anchorbrowser-0.4.0.dist-info/METADATA,sha256=u76Is3ph5Wo62g-cp5nGSPDb_j_NDlKixBkDkW5UMvo,15407
|
|
120
|
+
anchorbrowser-0.4.0.dist-info/WHEEL,sha256=C2FUgwZgiLbznR-k0b_5k3Ai_1aASOXDss3lzCUsUug,87
|
|
121
|
+
anchorbrowser-0.4.0.dist-info/licenses/LICENSE,sha256=QYTH6OztHxnELDn890vME8F7-euzmsHhWI4XOSYxwOg,11343
|
|
122
|
+
anchorbrowser-0.4.0.dist-info/RECORD,,
|