aiinbx 0.59.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 (64) hide show
  1. aiinbx/__init__.py +92 -0
  2. aiinbx/_base_client.py +1995 -0
  3. aiinbx/_client.py +422 -0
  4. aiinbx/_compat.py +219 -0
  5. aiinbx/_constants.py +14 -0
  6. aiinbx/_exceptions.py +108 -0
  7. aiinbx/_files.py +123 -0
  8. aiinbx/_models.py +857 -0
  9. aiinbx/_qs.py +150 -0
  10. aiinbx/_resource.py +43 -0
  11. aiinbx/_response.py +830 -0
  12. aiinbx/_streaming.py +331 -0
  13. aiinbx/_types.py +260 -0
  14. aiinbx/_utils/__init__.py +64 -0
  15. aiinbx/_utils/_compat.py +45 -0
  16. aiinbx/_utils/_datetime_parse.py +136 -0
  17. aiinbx/_utils/_logs.py +25 -0
  18. aiinbx/_utils/_proxy.py +65 -0
  19. aiinbx/_utils/_reflection.py +42 -0
  20. aiinbx/_utils/_resources_proxy.py +24 -0
  21. aiinbx/_utils/_streams.py +12 -0
  22. aiinbx/_utils/_sync.py +58 -0
  23. aiinbx/_utils/_transform.py +457 -0
  24. aiinbx/_utils/_typing.py +156 -0
  25. aiinbx/_utils/_utils.py +421 -0
  26. aiinbx/_version.py +4 -0
  27. aiinbx/lib/.keep +4 -0
  28. aiinbx/py.typed +0 -0
  29. aiinbx/resources/__init__.py +64 -0
  30. aiinbx/resources/domains.py +455 -0
  31. aiinbx/resources/emails.py +451 -0
  32. aiinbx/resources/meta.py +147 -0
  33. aiinbx/resources/threads.py +468 -0
  34. aiinbx/resources/webhooks.py +34 -0
  35. aiinbx/types/__init__.py +35 -0
  36. aiinbx/types/domain_create_params.py +11 -0
  37. aiinbx/types/domain_create_response.py +26 -0
  38. aiinbx/types/domain_delete_response.py +11 -0
  39. aiinbx/types/domain_list_response.py +50 -0
  40. aiinbx/types/domain_retrieve_response.py +46 -0
  41. aiinbx/types/domain_verify_response.py +149 -0
  42. aiinbx/types/email_reply_params.py +47 -0
  43. aiinbx/types/email_reply_response.py +15 -0
  44. aiinbx/types/email_retrieve_response.py +90 -0
  45. aiinbx/types/email_send_params.py +53 -0
  46. aiinbx/types/email_send_response.py +15 -0
  47. aiinbx/types/inbound_email_received_webhook_event.py +113 -0
  48. aiinbx/types/meta_webhooks_schema_response.py +298 -0
  49. aiinbx/types/outbound_email_bounced_webhook_event.py +44 -0
  50. aiinbx/types/outbound_email_clicked_webhook_event.py +36 -0
  51. aiinbx/types/outbound_email_complained_webhook_event.py +36 -0
  52. aiinbx/types/outbound_email_delivered_webhook_event.py +36 -0
  53. aiinbx/types/outbound_email_opened_webhook_event.py +32 -0
  54. aiinbx/types/outbound_email_rejected_webhook_event.py +30 -0
  55. aiinbx/types/thread_forward_params.py +43 -0
  56. aiinbx/types/thread_forward_response.py +15 -0
  57. aiinbx/types/thread_retrieve_response.py +100 -0
  58. aiinbx/types/thread_search_params.py +61 -0
  59. aiinbx/types/thread_search_response.py +43 -0
  60. aiinbx/types/unwrap_webhook_event.py +24 -0
  61. aiinbx-0.59.0.dist-info/METADATA +397 -0
  62. aiinbx-0.59.0.dist-info/RECORD +64 -0
  63. aiinbx-0.59.0.dist-info/WHEEL +4 -0
  64. aiinbx-0.59.0.dist-info/licenses/LICENSE +201 -0
@@ -0,0 +1,61 @@
1
+ # File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
2
+
3
+ from __future__ import annotations
4
+
5
+ from typing_extensions import Literal, Annotated, TypedDict
6
+
7
+ from .._types import SequenceNotStr
8
+ from .._utils import PropertyInfo
9
+
10
+ __all__ = ["ThreadSearchParams"]
11
+
12
+
13
+ class ThreadSearchParams(TypedDict, total=False):
14
+ conversation_state: Annotated[
15
+ Literal["awaiting_reply", "needs_reply", "active", "stale"], PropertyInfo(alias="conversationState")
16
+ ]
17
+
18
+ created_after: Annotated[str, PropertyInfo(alias="createdAfter")]
19
+
20
+ created_before: Annotated[str, PropertyInfo(alias="createdBefore")]
21
+
22
+ has_email_from_address: Annotated[str, PropertyInfo(alias="hasEmailFromAddress")]
23
+
24
+ has_email_to_address: Annotated[str, PropertyInfo(alias="hasEmailToAddress")]
25
+
26
+ has_participant_emails: Annotated[SequenceNotStr[str], PropertyInfo(alias="hasParticipantEmails")]
27
+
28
+ last_email_after: Annotated[str, PropertyInfo(alias="lastEmailAfter")]
29
+
30
+ last_email_before: Annotated[str, PropertyInfo(alias="lastEmailBefore")]
31
+
32
+ limit: float
33
+
34
+ offset: float
35
+
36
+ some_email_has_direction: Annotated[Literal["INBOUND", "OUTBOUND"], PropertyInfo(alias="someEmailHasDirection")]
37
+
38
+ some_email_has_status: Annotated[
39
+ Literal[
40
+ "DRAFT",
41
+ "QUEUED",
42
+ "ACCEPTED",
43
+ "SENT",
44
+ "RECEIVED",
45
+ "FAILED",
46
+ "BOUNCED",
47
+ "COMPLAINED",
48
+ "REJECTED",
49
+ "READ",
50
+ "ARCHIVED",
51
+ ],
52
+ PropertyInfo(alias="someEmailHasStatus"),
53
+ ]
54
+
55
+ sort_by: Annotated[Literal["createdAt", "lastEmailAt", "subject"], PropertyInfo(alias="sortBy")]
56
+
57
+ sort_order: Annotated[Literal["asc", "desc"], PropertyInfo(alias="sortOrder")]
58
+
59
+ stale_threshold_days: Annotated[float, PropertyInfo(alias="staleThresholdDays")]
60
+
61
+ subject_contains: Annotated[str, PropertyInfo(alias="subjectContains")]
@@ -0,0 +1,43 @@
1
+ # File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
2
+
3
+ from typing import List, Optional
4
+
5
+ from pydantic import Field as FieldInfo
6
+
7
+ from .._models import BaseModel
8
+
9
+ __all__ = ["ThreadSearchResponse", "Pagination", "Thread"]
10
+
11
+
12
+ class Pagination(BaseModel):
13
+ has_more: bool = FieldInfo(alias="hasMore")
14
+
15
+ limit: float
16
+
17
+ offset: float
18
+
19
+ total: float
20
+
21
+
22
+ class Thread(BaseModel):
23
+ id: str
24
+
25
+ created_at: str = FieldInfo(alias="createdAt")
26
+
27
+ email_count: float = FieldInfo(alias="emailCount")
28
+
29
+ last_email_at: Optional[str] = FieldInfo(alias="lastEmailAt", default=None)
30
+
31
+ participant_emails: List[str] = FieldInfo(alias="participantEmails")
32
+
33
+ snippet: Optional[str] = None
34
+
35
+ subject: Optional[str] = None
36
+
37
+ updated_at: str = FieldInfo(alias="updatedAt")
38
+
39
+
40
+ class ThreadSearchResponse(BaseModel):
41
+ pagination: Pagination
42
+
43
+ threads: List[Thread]
@@ -0,0 +1,24 @@
1
+ # File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
2
+
3
+ from typing import Union
4
+ from typing_extensions import TypeAlias
5
+
6
+ from .outbound_email_opened_webhook_event import OutboundEmailOpenedWebhookEvent
7
+ from .inbound_email_received_webhook_event import InboundEmailReceivedWebhookEvent
8
+ from .outbound_email_bounced_webhook_event import OutboundEmailBouncedWebhookEvent
9
+ from .outbound_email_clicked_webhook_event import OutboundEmailClickedWebhookEvent
10
+ from .outbound_email_rejected_webhook_event import OutboundEmailRejectedWebhookEvent
11
+ from .outbound_email_delivered_webhook_event import OutboundEmailDeliveredWebhookEvent
12
+ from .outbound_email_complained_webhook_event import OutboundEmailComplainedWebhookEvent
13
+
14
+ __all__ = ["UnwrapWebhookEvent"]
15
+
16
+ UnwrapWebhookEvent: TypeAlias = Union[
17
+ InboundEmailReceivedWebhookEvent,
18
+ OutboundEmailDeliveredWebhookEvent,
19
+ OutboundEmailBouncedWebhookEvent,
20
+ OutboundEmailComplainedWebhookEvent,
21
+ OutboundEmailRejectedWebhookEvent,
22
+ OutboundEmailOpenedWebhookEvent,
23
+ OutboundEmailClickedWebhookEvent,
24
+ ]
@@ -0,0 +1,397 @@
1
+ Metadata-Version: 2.3
2
+ Name: aiinbx
3
+ Version: 0.59.0
4
+ Summary: The official Python library for the AIInbx API
5
+ Project-URL: Homepage, https://github.com/aiinbx/aiinbx-py
6
+ Project-URL: Repository, https://github.com/aiinbx/aiinbx-py
7
+ Author: AI Inbx
8
+ License: Apache-2.0
9
+ Classifier: Intended Audience :: Developers
10
+ Classifier: License :: OSI Approved :: Apache Software License
11
+ Classifier: Operating System :: MacOS
12
+ Classifier: Operating System :: Microsoft :: Windows
13
+ Classifier: Operating System :: OS Independent
14
+ Classifier: Operating System :: POSIX
15
+ Classifier: Operating System :: POSIX :: Linux
16
+ Classifier: Programming Language :: Python :: 3.9
17
+ Classifier: Programming Language :: Python :: 3.10
18
+ Classifier: Programming Language :: Python :: 3.11
19
+ Classifier: Programming Language :: Python :: 3.12
20
+ Classifier: Programming Language :: Python :: 3.13
21
+ Classifier: Topic :: Software Development :: Libraries :: Python Modules
22
+ Classifier: Typing :: Typed
23
+ Requires-Python: >=3.9
24
+ Requires-Dist: anyio<5,>=3.5.0
25
+ Requires-Dist: distro<2,>=1.7.0
26
+ Requires-Dist: httpx<1,>=0.23.0
27
+ Requires-Dist: pydantic<3,>=1.9.0
28
+ Requires-Dist: sniffio
29
+ Requires-Dist: typing-extensions<5,>=4.10
30
+ Provides-Extra: aiohttp
31
+ Requires-Dist: aiohttp; extra == 'aiohttp'
32
+ Requires-Dist: httpx-aiohttp>=0.1.9; extra == 'aiohttp'
33
+ Description-Content-Type: text/markdown
34
+
35
+ # AI Inbx Python API library
36
+
37
+ <!-- prettier-ignore -->
38
+ [![PyPI version](https://img.shields.io/pypi/v/aiinbx.svg?label=pypi%20(stable))](https://pypi.org/project/aiinbx/)
39
+
40
+ The AI Inbx Python library provides convenient access to the AI Inbx REST API from any Python 3.9+
41
+ application. The library includes type definitions for all request params and response fields,
42
+ and offers both synchronous and asynchronous clients powered by [httpx](https://github.com/encode/httpx).
43
+
44
+ It is generated with [Stainless](https://www.stainless.com/).
45
+
46
+ ## Documentation
47
+
48
+ The full API of this library can be found in [api.md](https://github.com/aiinbx/aiinbx-py/tree/main/api.md).
49
+
50
+ ## Installation
51
+
52
+ ```sh
53
+ # install from PyPI
54
+ pip install aiinbx
55
+ ```
56
+
57
+ ## Usage
58
+
59
+ The full API of this library can be found in [api.md](https://github.com/aiinbx/aiinbx-py/tree/main/api.md).
60
+
61
+ ```python
62
+ import os
63
+ from aiinbx import AIInbx
64
+
65
+ client = AIInbx(
66
+ api_key=os.environ.get("AI_INBX_API_KEY"), # This is the default and can be omitted
67
+ )
68
+
69
+ response = client.threads.search()
70
+ print(response.pagination)
71
+ ```
72
+
73
+ While you can provide an `api_key` keyword argument,
74
+ we recommend using [python-dotenv](https://pypi.org/project/python-dotenv/)
75
+ to add `AI_INBX_API_KEY="My API Key"` to your `.env` file
76
+ so that your API Key is not stored in source control.
77
+
78
+ ## Async usage
79
+
80
+ Simply import `AsyncAIInbx` instead of `AIInbx` and use `await` with each API call:
81
+
82
+ ```python
83
+ import os
84
+ import asyncio
85
+ from aiinbx import AsyncAIInbx
86
+
87
+ client = AsyncAIInbx(
88
+ api_key=os.environ.get("AI_INBX_API_KEY"), # This is the default and can be omitted
89
+ )
90
+
91
+
92
+ async def main() -> None:
93
+ response = await client.threads.search()
94
+ print(response.pagination)
95
+
96
+
97
+ asyncio.run(main())
98
+ ```
99
+
100
+ Functionality between the synchronous and asynchronous clients is otherwise identical.
101
+
102
+ ### With aiohttp
103
+
104
+ By default, the async client uses `httpx` for HTTP requests. However, for improved concurrency performance you may also use `aiohttp` as the HTTP backend.
105
+
106
+ You can enable this by installing `aiohttp`:
107
+
108
+ ```sh
109
+ # install from PyPI
110
+ pip install aiinbx[aiohttp]
111
+ ```
112
+
113
+ Then you can enable it by instantiating the client with `http_client=DefaultAioHttpClient()`:
114
+
115
+ ```python
116
+ import asyncio
117
+ from aiinbx import DefaultAioHttpClient
118
+ from aiinbx import AsyncAIInbx
119
+
120
+
121
+ async def main() -> None:
122
+ async with AsyncAIInbx(
123
+ api_key="My API Key",
124
+ http_client=DefaultAioHttpClient(),
125
+ ) as client:
126
+ response = await client.threads.search()
127
+ print(response.pagination)
128
+
129
+
130
+ asyncio.run(main())
131
+ ```
132
+
133
+ ## Using types
134
+
135
+ Nested request parameters are [TypedDicts](https://docs.python.org/3/library/typing.html#typing.TypedDict). Responses are [Pydantic models](https://docs.pydantic.dev) which also provide helper methods for things like:
136
+
137
+ - Serializing back into JSON, `model.to_json()`
138
+ - Converting to a dictionary, `model.to_dict()`
139
+
140
+ Typed requests and responses provide autocomplete and documentation within your editor. If you would like to see type errors in VS Code to help catch bugs earlier, set `python.analysis.typeCheckingMode` to `basic`.
141
+
142
+ ## Handling errors
143
+
144
+ When the library is unable to connect to the API (for example, due to network connection problems or a timeout), a subclass of `aiinbx.APIConnectionError` is raised.
145
+
146
+ When the API returns a non-success status code (that is, 4xx or 5xx
147
+ response), a subclass of `aiinbx.APIStatusError` is raised, containing `status_code` and `response` properties.
148
+
149
+ All errors inherit from `aiinbx.APIError`.
150
+
151
+ ```python
152
+ import aiinbx
153
+ from aiinbx import AIInbx
154
+
155
+ client = AIInbx()
156
+
157
+ try:
158
+ client.threads.search()
159
+ except aiinbx.APIConnectionError as e:
160
+ print("The server could not be reached")
161
+ print(e.__cause__) # an underlying Exception, likely raised within httpx.
162
+ except aiinbx.RateLimitError as e:
163
+ print("A 429 status code was received; we should back off a bit.")
164
+ except aiinbx.APIStatusError as e:
165
+ print("Another non-200-range status code was received")
166
+ print(e.status_code)
167
+ print(e.response)
168
+ ```
169
+
170
+ Error codes are as follows:
171
+
172
+ | Status Code | Error Type |
173
+ | ----------- | -------------------------- |
174
+ | 400 | `BadRequestError` |
175
+ | 401 | `AuthenticationError` |
176
+ | 403 | `PermissionDeniedError` |
177
+ | 404 | `NotFoundError` |
178
+ | 422 | `UnprocessableEntityError` |
179
+ | 429 | `RateLimitError` |
180
+ | >=500 | `InternalServerError` |
181
+ | N/A | `APIConnectionError` |
182
+
183
+ ### Retries
184
+
185
+ Certain errors are automatically retried 2 times by default, with a short exponential backoff.
186
+ Connection errors (for example, due to a network connectivity problem), 408 Request Timeout, 409 Conflict,
187
+ 429 Rate Limit, and >=500 Internal errors are all retried by default.
188
+
189
+ You can use the `max_retries` option to configure or disable retry settings:
190
+
191
+ ```python
192
+ from aiinbx import AIInbx
193
+
194
+ # Configure the default for all requests:
195
+ client = AIInbx(
196
+ # default is 2
197
+ max_retries=0,
198
+ )
199
+
200
+ # Or, configure per-request:
201
+ client.with_options(max_retries=5).threads.search()
202
+ ```
203
+
204
+ ### Timeouts
205
+
206
+ By default requests time out after 1 minute. You can configure this with a `timeout` option,
207
+ which accepts a float or an [`httpx.Timeout`](https://www.python-httpx.org/advanced/timeouts/#fine-tuning-the-configuration) object:
208
+
209
+ ```python
210
+ from aiinbx import AIInbx
211
+
212
+ # Configure the default for all requests:
213
+ client = AIInbx(
214
+ # 20 seconds (default is 1 minute)
215
+ timeout=20.0,
216
+ )
217
+
218
+ # More granular control:
219
+ client = AIInbx(
220
+ timeout=httpx.Timeout(60.0, read=5.0, write=10.0, connect=2.0),
221
+ )
222
+
223
+ # Override per-request:
224
+ client.with_options(timeout=5.0).threads.search()
225
+ ```
226
+
227
+ On timeout, an `APITimeoutError` is thrown.
228
+
229
+ Note that requests that time out are [retried twice by default](https://github.com/aiinbx/aiinbx-py/tree/main/#retries).
230
+
231
+ ## Advanced
232
+
233
+ ### Logging
234
+
235
+ We use the standard library [`logging`](https://docs.python.org/3/library/logging.html) module.
236
+
237
+ You can enable logging by setting the environment variable `AI_INBX_LOG` to `info`.
238
+
239
+ ```shell
240
+ $ export AI_INBX_LOG=info
241
+ ```
242
+
243
+ Or to `debug` for more verbose logging.
244
+
245
+ ### How to tell whether `None` means `null` or missing
246
+
247
+ In an API response, a field may be explicitly `null`, or missing entirely; in either case, its value is `None` in this library. You can differentiate the two cases with `.model_fields_set`:
248
+
249
+ ```py
250
+ if response.my_field is None:
251
+ if 'my_field' not in response.model_fields_set:
252
+ print('Got json like {}, without a "my_field" key present at all.')
253
+ else:
254
+ print('Got json like {"my_field": null}.')
255
+ ```
256
+
257
+ ### Accessing raw response data (e.g. headers)
258
+
259
+ The "raw" Response object can be accessed by prefixing `.with_raw_response.` to any HTTP method call, e.g.,
260
+
261
+ ```py
262
+ from aiinbx import AIInbx
263
+
264
+ client = AIInbx()
265
+ response = client.threads.with_raw_response.search()
266
+ print(response.headers.get('X-My-Header'))
267
+
268
+ thread = response.parse() # get the object that `threads.search()` would have returned
269
+ print(thread.pagination)
270
+ ```
271
+
272
+ These methods return an [`APIResponse`](https://github.com/aiinbx/aiinbx-py/tree/main/src/aiinbx/_response.py) object.
273
+
274
+ The async client returns an [`AsyncAPIResponse`](https://github.com/aiinbx/aiinbx-py/tree/main/src/aiinbx/_response.py) with the same structure, the only difference being `await`able methods for reading the response content.
275
+
276
+ #### `.with_streaming_response`
277
+
278
+ The above interface eagerly reads the full response body when you make the request, which may not always be what you want.
279
+
280
+ To stream the response body, use `.with_streaming_response` instead, which requires a context manager and only reads the response body once you call `.read()`, `.text()`, `.json()`, `.iter_bytes()`, `.iter_text()`, `.iter_lines()` or `.parse()`. In the async client, these are async methods.
281
+
282
+ ```python
283
+ with client.threads.with_streaming_response.search() as response:
284
+ print(response.headers.get("X-My-Header"))
285
+
286
+ for line in response.iter_lines():
287
+ print(line)
288
+ ```
289
+
290
+ The context manager is required so that the response will reliably be closed.
291
+
292
+ ### Making custom/undocumented requests
293
+
294
+ This library is typed for convenient access to the documented API.
295
+
296
+ If you need to access undocumented endpoints, params, or response properties, the library can still be used.
297
+
298
+ #### Undocumented endpoints
299
+
300
+ To make requests to undocumented endpoints, you can make requests using `client.get`, `client.post`, and other
301
+ http verbs. Options on the client will be respected (such as retries) when making this request.
302
+
303
+ ```py
304
+ import httpx
305
+
306
+ response = client.post(
307
+ "/foo",
308
+ cast_to=httpx.Response,
309
+ body={"my_param": True},
310
+ )
311
+
312
+ print(response.headers.get("x-foo"))
313
+ ```
314
+
315
+ #### Undocumented request params
316
+
317
+ If you want to explicitly send an extra param, you can do so with the `extra_query`, `extra_body`, and `extra_headers` request
318
+ options.
319
+
320
+ #### Undocumented response properties
321
+
322
+ To access undocumented response properties, you can access the extra fields like `response.unknown_prop`. You
323
+ can also get all the extra fields on the Pydantic model as a dict with
324
+ [`response.model_extra`](https://docs.pydantic.dev/latest/api/base_model/#pydantic.BaseModel.model_extra).
325
+
326
+ ### Configuring the HTTP client
327
+
328
+ You can directly override the [httpx client](https://www.python-httpx.org/api/#client) to customize it for your use case, including:
329
+
330
+ - Support for [proxies](https://www.python-httpx.org/advanced/proxies/)
331
+ - Custom [transports](https://www.python-httpx.org/advanced/transports/)
332
+ - Additional [advanced](https://www.python-httpx.org/advanced/clients/) functionality
333
+
334
+ ```python
335
+ import httpx
336
+ from aiinbx import AIInbx, DefaultHttpxClient
337
+
338
+ client = AIInbx(
339
+ # Or use the `AI_INBX_BASE_URL` env var
340
+ base_url="http://my.test.server.example.com:8083",
341
+ http_client=DefaultHttpxClient(
342
+ proxy="http://my.test.proxy.example.com",
343
+ transport=httpx.HTTPTransport(local_address="0.0.0.0"),
344
+ ),
345
+ )
346
+ ```
347
+
348
+ You can also customize the client on a per-request basis by using `with_options()`:
349
+
350
+ ```python
351
+ client.with_options(http_client=DefaultHttpxClient(...))
352
+ ```
353
+
354
+ ### Managing HTTP resources
355
+
356
+ By default the library closes underlying HTTP connections whenever the client is [garbage collected](https://docs.python.org/3/reference/datamodel.html#object.__del__). You can manually close the client using the `.close()` method if desired, or with a context manager that closes when exiting.
357
+
358
+ ```py
359
+ from aiinbx import AIInbx
360
+
361
+ with AIInbx() as client:
362
+ # make requests here
363
+ ...
364
+
365
+ # HTTP client is now closed
366
+ ```
367
+
368
+ ## Versioning
369
+
370
+ This package generally follows [SemVer](https://semver.org/spec/v2.0.0.html) conventions, though certain backwards-incompatible changes may be released as minor versions:
371
+
372
+ 1. Changes that only affect static types, without breaking runtime behavior.
373
+ 2. Changes to library internals which are technically public but not intended or documented for external use. _(Please open a GitHub issue to let us know if you are relying on such internals.)_
374
+ 3. Changes that we do not expect to impact the vast majority of users in practice.
375
+
376
+ We take backwards-compatibility seriously and work hard to ensure you can rely on a smooth upgrade experience.
377
+
378
+ We are keen for your feedback; please open an [issue](https://www.github.com/aiinbx/aiinbx-py/issues) with questions, bugs, or suggestions.
379
+
380
+ ### Determining the installed version
381
+
382
+ If you've upgraded to the latest version but aren't seeing any new features you were expecting then your python environment is likely still using an older version.
383
+
384
+ You can determine the version that is being used at runtime with:
385
+
386
+ ```py
387
+ import aiinbx
388
+ print(aiinbx.__version__)
389
+ ```
390
+
391
+ ## Requirements
392
+
393
+ Python 3.9 or higher.
394
+
395
+ ## Contributing
396
+
397
+ See [the contributing documentation](https://github.com/aiinbx/aiinbx-py/tree/main/./CONTRIBUTING.md).
@@ -0,0 +1,64 @@
1
+ aiinbx/__init__.py,sha256=ZcZOv0tXmRKr4E-_FTKTnooxLS8j3TYTy_84dBODo2Y,2624
2
+ aiinbx/_base_client.py,sha256=Lh-GuSxQ-op2DjvV3SZ8jxxomRFP-PtyasPFv9rQSsY,67047
3
+ aiinbx/_client.py,sha256=uFAWY7sVW8bTZ2aa_wOUoqmBkgQO94kMXQAHNanAEnw,16622
4
+ aiinbx/_compat.py,sha256=DQBVORjFb33zch24jzkhM14msvnzY7mmSmgDLaVFUM8,6562
5
+ aiinbx/_constants.py,sha256=S14PFzyN9-I31wiV7SmIlL5Ga0MLHxdvegInGdXH7tM,462
6
+ aiinbx/_exceptions.py,sha256=te3IaD62WIGnCIvhWUCVGpLZmClKvnv6hEjZFsD9MTA,3220
7
+ aiinbx/_files.py,sha256=KnEzGi_O756MvKyJ4fOCW_u3JhOeWPQ4RsmDvqihDQU,3545
8
+ aiinbx/_models.py,sha256=3D65psj_C02Mw0K2zpBWrn1khmrvtEXgTTQ6P4r3tUY,31837
9
+ aiinbx/_qs.py,sha256=craIKyvPktJ94cvf9zn8j8ekG9dWJzhWv0ob34lIOv4,4828
10
+ aiinbx/_resource.py,sha256=R_-4UEtw4XqdaVP9kNZE-XgrsuRBrQeFB0x4vbgWM_k,1100
11
+ aiinbx/_response.py,sha256=bN_uhJdOtEIu7WonnaRndk73_0N7bpUqEqUx_rZUxH8,28788
12
+ aiinbx/_streaming.py,sha256=u-0UUgwRBaD_lIoxSkzfS1Kh8Dzk5zZbhS9Zbqmrh40,10149
13
+ aiinbx/_types.py,sha256=k1TfzLVNmuxwSkopIgy03zuljyVxSEiekHlbSzCR9U0,7236
14
+ aiinbx/_version.py,sha256=hZ8MGrtq4kZSBJLATLmaQWtS8lzrQgkNH2xjPnK5TqA,159
15
+ aiinbx/py.typed,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
16
+ aiinbx/_utils/__init__.py,sha256=7fch0GT9zpNnErbciSpUNa-SjTxxjY6kxHxKMOM4AGs,2305
17
+ aiinbx/_utils/_compat.py,sha256=D8gtAvjJQrDWt9upS0XaG9Rr5l1QhiAx_I_1utT_tt0,1195
18
+ aiinbx/_utils/_datetime_parse.py,sha256=bABTs0Bc6rabdFvnIwXjEhWL15TcRgWZ_6XGTqN8xUk,4204
19
+ aiinbx/_utils/_logs.py,sha256=sQ51aPSf-_mQi158zGXZjNr8ud0Pc5hwcTfVVdi-3HI,775
20
+ aiinbx/_utils/_proxy.py,sha256=aglnj2yBTDyGX9Akk2crZHrl10oqRmceUy2Zp008XEs,1975
21
+ aiinbx/_utils/_reflection.py,sha256=ZmGkIgT_PuwedyNBrrKGbxoWtkpytJNU1uU4QHnmEMU,1364
22
+ aiinbx/_utils/_resources_proxy.py,sha256=fztkxSzabzODGt5MssRl78ubuOjl-46zgwZv9MzZr30,589
23
+ aiinbx/_utils/_streams.py,sha256=SMC90diFFecpEg_zgDRVbdR3hSEIgVVij4taD-noMLM,289
24
+ aiinbx/_utils/_sync.py,sha256=HBnZkkBnzxtwOZe0212C4EyoRvxhTVtTrLFDz2_xVCg,1589
25
+ aiinbx/_utils/_transform.py,sha256=NjCzmnfqYrsAikUHQig6N9QfuTVbKipuP3ur9mcNF-E,15951
26
+ aiinbx/_utils/_typing.py,sha256=N_5PPuFNsaygbtA_npZd98SVN1LQQvFTKL6bkWPBZGU,4786
27
+ aiinbx/_utils/_utils.py,sha256=ugfUaneOK7I8h9b3656flwf5u_kthY0gvNuqvgOLoSU,12252
28
+ aiinbx/lib/.keep,sha256=wuNrz-5SXo3jJaJOJgz4vFHM41YH_g20F5cRQo0vLes,224
29
+ aiinbx/resources/__init__.py,sha256=A9igPOfiP9soOFOLpVfUBwR7looj88eofftT1jXV-jw,2017
30
+ aiinbx/resources/domains.py,sha256=-MNGBG7p7acT_ck-47NDX2nOiJ_pH-9qUrVWjbbjmsk,17432
31
+ aiinbx/resources/emails.py,sha256=jQLcxCDLod1gl3_qhPbduCSUylsc9bplmFhgIvgv2vo,17115
32
+ aiinbx/resources/meta.py,sha256=pG0ICZDnENRpvhVDPjoCZW509jhxgIpjhb8gG4hRusw,5464
33
+ aiinbx/resources/threads.py,sha256=rfBH9PdliTbinebBdaSuFum2GXbVd0ut2_Dd0JHPsxI,18483
34
+ aiinbx/resources/webhooks.py,sha256=2aBYtHvVy4Ngpq_GEEMk0U6Vn_LKFwommXaguEjhhj0,962
35
+ aiinbx/types/__init__.py,sha256=Nax8UISh-wdV5r4vKVb8h1DXCgEhtidtyIjX0ZcBcnE,2424
36
+ aiinbx/types/domain_create_params.py,sha256=6VplEi2RZNbhYkfQ0E08gOYQ9nJyQvvOYu9yUsKfpq8,285
37
+ aiinbx/types/domain_create_response.py,sha256=3fRS7D1lqVuM6P_K1Fr18rNXoSIvSKOW3qtzVvyPegQ,532
38
+ aiinbx/types/domain_delete_response.py,sha256=SKlha3uajVd7dDu2U33WUd-PuG0l6J7HAViRxjnTezs,262
39
+ aiinbx/types/domain_list_response.py,sha256=XQMVuZ8DGHOChARhJPScf7dnTUIDCGb4HpDNzJLq_ro,1293
40
+ aiinbx/types/domain_retrieve_response.py,sha256=z34VlmWhzzygh0Jz9g_pA5Yj4TzAw0g45nWwoNtcozQ,1220
41
+ aiinbx/types/domain_verify_response.py,sha256=63ZL5MDhPQuYC1eIIoJw8ZIGMctoLqz08qJiv_SXP88,3454
42
+ aiinbx/types/email_reply_params.py,sha256=ZlP-bvN-9q-GVgQeMBW4nEq5d_rpjVOjw7sq6kRkqn8,929
43
+ aiinbx/types/email_reply_response.py,sha256=Uq8CkHQx_O577ydGONz34JjK4yMkFUOYEXWqDnu2h9s,382
44
+ aiinbx/types/email_retrieve_response.py,sha256=qycc6BSOHvZ_jqXfTW5sdncL3m-QUnwPYa6vtvIH43s,2188
45
+ aiinbx/types/email_send_params.py,sha256=y7A8UqUMrDkeXaeIFNqsaHLz55OOD0R2VOcwS3p0tSQ,1095
46
+ aiinbx/types/email_send_response.py,sha256=WGJVnCc1IR762j6KHEmYGHuaTUggrylTV9c1GudIjDw,380
47
+ aiinbx/types/inbound_email_received_webhook_event.py,sha256=gzScx4szJgJO9bgZtnak46UOtRCpgsEH5YZDOPICyjE,2608
48
+ aiinbx/types/meta_webhooks_schema_response.py,sha256=eHTx-1la-ByKUarx0wdWa7KyxMb62-3HAUQfj-q435g,7434
49
+ aiinbx/types/outbound_email_bounced_webhook_event.py,sha256=9r8gFch6pVR8x3-m82ryLB3ZB-T0Vm3Xe7WzIEJykmE,1125
50
+ aiinbx/types/outbound_email_clicked_webhook_event.py,sha256=NPxnfLBoM6f91ogGnVG-yVnJ7m4Qh1uckbLXG4O1RSY,880
51
+ aiinbx/types/outbound_email_complained_webhook_event.py,sha256=VPXgnyYr9zb6hXnQUg8GYwzniTUuAz3Esy5K3fIpGdY,938
52
+ aiinbx/types/outbound_email_delivered_webhook_event.py,sha256=Ftn1Rz2sn7y67qb9Ymkxqd4OMR5Fn4b-LuyOHF1bHwA,932
53
+ aiinbx/types/outbound_email_opened_webhook_event.py,sha256=sMsbjWJDFOqmMe1mmWdUS277-JF1PzQUDe22AxkAzao,782
54
+ aiinbx/types/outbound_email_rejected_webhook_event.py,sha256=kmpVDzZvSPLaPktrySAnrND9MY4PN-j-GEhz0nrBxdg,674
55
+ aiinbx/types/thread_forward_params.py,sha256=MmVCeae4j472GzeFeBEzCBt0oPFgJ1nGZJBlMERdTsM,955
56
+ aiinbx/types/thread_forward_response.py,sha256=DmxnVB38C3R-fsNURfKMf5chNbKamQcx_QaubTk_8Ts,388
57
+ aiinbx/types/thread_retrieve_response.py,sha256=s5jj2iwBfcoVPeybIOJUVwRhvnc_0NdEMcbDGJnheEw,2364
58
+ aiinbx/types/thread_search_params.py,sha256=ZvlTTw4b_swhuC0VoLnU2QI1hYjROiEAyJ4HJXCrR9M,1939
59
+ aiinbx/types/thread_search_response.py,sha256=lldugJNQuQ5tsD9BrgxoDNojAYs7Ks8iZDMxwhnjogY,908
60
+ aiinbx/types/unwrap_webhook_event.py,sha256=6Hp4c5iHNs2lw3DYgRrgvRFBOmms0NADJ5XExEZrICI,1091
61
+ aiinbx-0.59.0.dist-info/METADATA,sha256=XBA9lQKVxf6ziDdpqotNmNclxVLjsQESxujO5X6T9e8,13157
62
+ aiinbx-0.59.0.dist-info/WHEEL,sha256=C2FUgwZgiLbznR-k0b_5k3Ai_1aASOXDss3lzCUsUug,87
63
+ aiinbx-0.59.0.dist-info/licenses/LICENSE,sha256=i1rY5G0rFWpuWXv5WPoFrQEOrDWycksLhJxuLBF1tZw,11337
64
+ aiinbx-0.59.0.dist-info/RECORD,,
@@ -0,0 +1,4 @@
1
+ Wheel-Version: 1.0
2
+ Generator: hatchling 1.26.3
3
+ Root-Is-Purelib: true
4
+ Tag: py3-none-any