aiinbx 0.109.0__py3-none-any.whl → 0.114.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.
aiinbx/_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__ = "aiinbx"
4
- __version__ = "0.109.0" # x-release-please-version
4
+ __version__ = "0.114.0" # x-release-please-version
@@ -93,6 +93,8 @@ class DomainsResource(SyncAPIResource):
93
93
  Retrieve a domain by its ID
94
94
 
95
95
  Args:
96
+ domain_id: The unique identifier of the domain
97
+
96
98
  extra_headers: Send extra headers
97
99
 
98
100
  extra_query: Add additional query parameters to the request
@@ -266,6 +268,8 @@ class AsyncDomainsResource(AsyncAPIResource):
266
268
  Retrieve a domain by its ID
267
269
 
268
270
  Args:
271
+ domain_id: The unique identifier of the domain
272
+
269
273
  extra_headers: Send extra headers
270
274
 
271
275
  extra_query: Add additional query parameters to the request
@@ -60,6 +60,8 @@ class EmailsResource(SyncAPIResource):
60
60
  Retrieve a specific email by its ID using API key authentication
61
61
 
62
62
  Args:
63
+ email_id: The unique identifier of the email
64
+
63
65
  extra_headers: Send extra headers
64
66
 
65
67
  extra_query: Add additional query parameters to the request
@@ -93,6 +95,8 @@ class EmailsResource(SyncAPIResource):
93
95
  subject: str | Omit = omit,
94
96
  text: str | Omit = omit,
95
97
  to: Union[str, SequenceNotStr[str]] | Omit = omit,
98
+ track_clicks: bool | Omit = omit,
99
+ track_opens: bool | Omit = omit,
96
100
  # Use the following arguments if you need to pass additional parameters to the API that aren't available via kwargs.
97
101
  # The extra values given here take precedence over values defined on the client or passed to this method.
98
102
  extra_headers: Headers | None = None,
@@ -132,6 +136,8 @@ class EmailsResource(SyncAPIResource):
132
136
  "subject": subject,
133
137
  "text": text,
134
138
  "to": to,
139
+ "track_clicks": track_clicks,
140
+ "track_opens": track_opens,
135
141
  },
136
142
  email_reply_params.EmailReplyParams,
137
143
  ),
@@ -158,6 +164,8 @@ class EmailsResource(SyncAPIResource):
158
164
  reply_to: Union[str, SequenceNotStr[str]] | Omit = omit,
159
165
  text: str | Omit = omit,
160
166
  thread_id: str | Omit = omit,
167
+ track_clicks: bool | Omit = omit,
168
+ track_opens: bool | Omit = omit,
161
169
  # Use the following arguments if you need to pass additional parameters to the API that aren't available via kwargs.
162
170
  # The extra values given here take precedence over values defined on the client or passed to this method.
163
171
  extra_headers: Headers | None = None,
@@ -198,6 +206,8 @@ class EmailsResource(SyncAPIResource):
198
206
  "reply_to": reply_to,
199
207
  "text": text,
200
208
  "thread_id": thread_id,
209
+ "track_clicks": track_clicks,
210
+ "track_opens": track_opens,
201
211
  },
202
212
  email_send_params.EmailSendParams,
203
213
  ),
@@ -243,6 +253,8 @@ class AsyncEmailsResource(AsyncAPIResource):
243
253
  Retrieve a specific email by its ID using API key authentication
244
254
 
245
255
  Args:
256
+ email_id: The unique identifier of the email
257
+
246
258
  extra_headers: Send extra headers
247
259
 
248
260
  extra_query: Add additional query parameters to the request
@@ -276,6 +288,8 @@ class AsyncEmailsResource(AsyncAPIResource):
276
288
  subject: str | Omit = omit,
277
289
  text: str | Omit = omit,
278
290
  to: Union[str, SequenceNotStr[str]] | Omit = omit,
291
+ track_clicks: bool | Omit = omit,
292
+ track_opens: bool | Omit = omit,
279
293
  # Use the following arguments if you need to pass additional parameters to the API that aren't available via kwargs.
280
294
  # The extra values given here take precedence over values defined on the client or passed to this method.
281
295
  extra_headers: Headers | None = None,
@@ -315,6 +329,8 @@ class AsyncEmailsResource(AsyncAPIResource):
315
329
  "subject": subject,
316
330
  "text": text,
317
331
  "to": to,
332
+ "track_clicks": track_clicks,
333
+ "track_opens": track_opens,
318
334
  },
319
335
  email_reply_params.EmailReplyParams,
320
336
  ),
@@ -341,6 +357,8 @@ class AsyncEmailsResource(AsyncAPIResource):
341
357
  reply_to: Union[str, SequenceNotStr[str]] | Omit = omit,
342
358
  text: str | Omit = omit,
343
359
  thread_id: str | Omit = omit,
360
+ track_clicks: bool | Omit = omit,
361
+ track_opens: bool | Omit = omit,
344
362
  # Use the following arguments if you need to pass additional parameters to the API that aren't available via kwargs.
345
363
  # The extra values given here take precedence over values defined on the client or passed to this method.
346
364
  extra_headers: Headers | None = None,
@@ -381,6 +399,8 @@ class AsyncEmailsResource(AsyncAPIResource):
381
399
  "reply_to": reply_to,
382
400
  "text": text,
383
401
  "thread_id": thread_id,
402
+ "track_clicks": track_clicks,
403
+ "track_opens": track_opens,
384
404
  },
385
405
  email_send_params.EmailSendParams,
386
406
  ),
@@ -62,6 +62,8 @@ class ThreadsResource(SyncAPIResource):
62
62
  authentication
63
63
 
64
64
  Args:
65
+ thread_id: The unique identifier of the thread
66
+
65
67
  extra_headers: Send extra headers
66
68
 
67
69
  extra_query: Add additional query parameters to the request
@@ -93,6 +95,8 @@ class ThreadsResource(SyncAPIResource):
93
95
  include_attachments: bool | Omit = omit,
94
96
  is_draft: bool | Omit = omit,
95
97
  note: str | Omit = omit,
98
+ track_clicks: bool | Omit = omit,
99
+ track_opens: bool | Omit = omit,
96
100
  # Use the following arguments if you need to pass additional parameters to the API that aren't available via kwargs.
97
101
  # The extra values given here take precedence over values defined on the client or passed to this method.
98
102
  extra_headers: Headers | None = None,
@@ -127,6 +131,8 @@ class ThreadsResource(SyncAPIResource):
127
131
  "include_attachments": include_attachments,
128
132
  "is_draft": is_draft,
129
133
  "note": note,
134
+ "track_clicks": track_clicks,
135
+ "track_opens": track_opens,
130
136
  },
131
137
  thread_forward_params.ThreadForwardParams,
132
138
  ),
@@ -253,6 +259,8 @@ class AsyncThreadsResource(AsyncAPIResource):
253
259
  authentication
254
260
 
255
261
  Args:
262
+ thread_id: The unique identifier of the thread
263
+
256
264
  extra_headers: Send extra headers
257
265
 
258
266
  extra_query: Add additional query parameters to the request
@@ -284,6 +292,8 @@ class AsyncThreadsResource(AsyncAPIResource):
284
292
  include_attachments: bool | Omit = omit,
285
293
  is_draft: bool | Omit = omit,
286
294
  note: str | Omit = omit,
295
+ track_clicks: bool | Omit = omit,
296
+ track_opens: bool | Omit = omit,
287
297
  # Use the following arguments if you need to pass additional parameters to the API that aren't available via kwargs.
288
298
  # The extra values given here take precedence over values defined on the client or passed to this method.
289
299
  extra_headers: Headers | None = None,
@@ -318,6 +328,8 @@ class AsyncThreadsResource(AsyncAPIResource):
318
328
  "include_attachments": include_attachments,
319
329
  "is_draft": is_draft,
320
330
  "note": note,
331
+ "track_clicks": track_clicks,
332
+ "track_opens": track_opens,
321
333
  },
322
334
  thread_forward_params.ThreadForwardParams,
323
335
  ),
@@ -34,6 +34,10 @@ class EmailReplyParams(TypedDict, total=False):
34
34
 
35
35
  to: Union[str, SequenceNotStr[str]]
36
36
 
37
+ track_clicks: bool
38
+
39
+ track_opens: bool
40
+
37
41
 
38
42
  class Attachment(TypedDict, total=False):
39
43
  content: Required[str]
@@ -40,6 +40,10 @@ class EmailSendParams(TypedDict, total=False):
40
40
 
41
41
  thread_id: Annotated[str, PropertyInfo(alias="threadId")]
42
42
 
43
+ track_clicks: bool
44
+
45
+ track_opens: bool
46
+
43
47
 
44
48
  class Attachment(TypedDict, total=False):
45
49
  content: Required[str]
@@ -30,6 +30,10 @@ class ThreadForwardParams(TypedDict, total=False):
30
30
 
31
31
  note: str
32
32
 
33
+ track_clicks: bool
34
+
35
+ track_opens: bool
36
+
33
37
 
34
38
  class Attachment(TypedDict, total=False):
35
39
  content: Required[str]
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.3
2
2
  Name: aiinbx
3
- Version: 0.109.0
3
+ Version: 0.114.0
4
4
  Summary: The official Python library for the AIInbx API
5
5
  Project-URL: Homepage, https://github.com/aiinbx/aiinbx-py
6
6
  Project-URL: Repository, https://github.com/aiinbx/aiinbx-py
@@ -11,7 +11,7 @@ aiinbx/_resource.py,sha256=R_-4UEtw4XqdaVP9kNZE-XgrsuRBrQeFB0x4vbgWM_k,1100
11
11
  aiinbx/_response.py,sha256=bN_uhJdOtEIu7WonnaRndk73_0N7bpUqEqUx_rZUxH8,28788
12
12
  aiinbx/_streaming.py,sha256=u-0UUgwRBaD_lIoxSkzfS1Kh8Dzk5zZbhS9Zbqmrh40,10149
13
13
  aiinbx/_types.py,sha256=k1TfzLVNmuxwSkopIgy03zuljyVxSEiekHlbSzCR9U0,7236
14
- aiinbx/_version.py,sha256=aQR6ZDcCiUEv6jJK64hOng7v5zdj1ZeY-wUhaa50T3k,160
14
+ aiinbx/_version.py,sha256=bHg1IuZLzv6JkIyoIKXOZ-EQbudmPHBImQa5MVsRFXI,160
15
15
  aiinbx/py.typed,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
16
16
  aiinbx/_utils/__init__.py,sha256=7fch0GT9zpNnErbciSpUNa-SjTxxjY6kxHxKMOM4AGs,2305
17
17
  aiinbx/_utils/_compat.py,sha256=D8gtAvjJQrDWt9upS0XaG9Rr5l1QhiAx_I_1utT_tt0,1195
@@ -27,10 +27,10 @@ aiinbx/_utils/_typing.py,sha256=N_5PPuFNsaygbtA_npZd98SVN1LQQvFTKL6bkWPBZGU,4786
27
27
  aiinbx/_utils/_utils.py,sha256=ugfUaneOK7I8h9b3656flwf5u_kthY0gvNuqvgOLoSU,12252
28
28
  aiinbx/lib/.keep,sha256=wuNrz-5SXo3jJaJOJgz4vFHM41YH_g20F5cRQo0vLes,224
29
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
30
+ aiinbx/resources/domains.py,sha256=xY9R9UNLwo72X8XOHEVs7bb7samZqHR4uBEyzUNw2z8,17548
31
+ aiinbx/resources/emails.py,sha256=5_FexN9HgTP27_HyfZJuhJswlYiUji_H2Xavgl5EeIs,17951
32
32
  aiinbx/resources/meta.py,sha256=pG0ICZDnENRpvhVDPjoCZW509jhxgIpjhb8gG4hRusw,5464
33
- aiinbx/resources/threads.py,sha256=rfBH9PdliTbinebBdaSuFum2GXbVd0ut2_Dd0JHPsxI,18483
33
+ aiinbx/resources/threads.py,sha256=2M68tKRV-hJU-ZszTCjVqaxY530GIvACO9ewwEH6Lbk,18961
34
34
  aiinbx/resources/webhooks.py,sha256=2aBYtHvVy4Ngpq_GEEMk0U6Vn_LKFwommXaguEjhhj0,962
35
35
  aiinbx/types/__init__.py,sha256=Nax8UISh-wdV5r4vKVb8h1DXCgEhtidtyIjX0ZcBcnE,2424
36
36
  aiinbx/types/domain_create_params.py,sha256=6VplEi2RZNbhYkfQ0E08gOYQ9nJyQvvOYu9yUsKfpq8,285
@@ -39,10 +39,10 @@ aiinbx/types/domain_delete_response.py,sha256=SKlha3uajVd7dDu2U33WUd-PuG0l6J7HAV
39
39
  aiinbx/types/domain_list_response.py,sha256=XQMVuZ8DGHOChARhJPScf7dnTUIDCGb4HpDNzJLq_ro,1293
40
40
  aiinbx/types/domain_retrieve_response.py,sha256=z34VlmWhzzygh0Jz9g_pA5Yj4TzAw0g45nWwoNtcozQ,1220
41
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
42
+ aiinbx/types/email_reply_params.py,sha256=ofWm2uV0VAdWTtgKAYFvouplo-ZcuvSLBxAgH87VpzA,976
43
43
  aiinbx/types/email_reply_response.py,sha256=Uq8CkHQx_O577ydGONz34JjK4yMkFUOYEXWqDnu2h9s,382
44
44
  aiinbx/types/email_retrieve_response.py,sha256=qycc6BSOHvZ_jqXfTW5sdncL3m-QUnwPYa6vtvIH43s,2188
45
- aiinbx/types/email_send_params.py,sha256=y7A8UqUMrDkeXaeIFNqsaHLz55OOD0R2VOcwS3p0tSQ,1095
45
+ aiinbx/types/email_send_params.py,sha256=JTp8HthcdxPSQoizNlAlNGDtVYIOVGPDPaT2e13VPAM,1142
46
46
  aiinbx/types/email_send_response.py,sha256=WGJVnCc1IR762j6KHEmYGHuaTUggrylTV9c1GudIjDw,380
47
47
  aiinbx/types/inbound_email_received_webhook_event.py,sha256=gzScx4szJgJO9bgZtnak46UOtRCpgsEH5YZDOPICyjE,2608
48
48
  aiinbx/types/meta_webhooks_schema_response.py,sha256=eHTx-1la-ByKUarx0wdWa7KyxMb62-3HAUQfj-q435g,7434
@@ -52,13 +52,13 @@ aiinbx/types/outbound_email_complained_webhook_event.py,sha256=VPXgnyYr9zb6hXnQU
52
52
  aiinbx/types/outbound_email_delivered_webhook_event.py,sha256=Ftn1Rz2sn7y67qb9Ymkxqd4OMR5Fn4b-LuyOHF1bHwA,932
53
53
  aiinbx/types/outbound_email_opened_webhook_event.py,sha256=sMsbjWJDFOqmMe1mmWdUS277-JF1PzQUDe22AxkAzao,782
54
54
  aiinbx/types/outbound_email_rejected_webhook_event.py,sha256=kmpVDzZvSPLaPktrySAnrND9MY4PN-j-GEhz0nrBxdg,674
55
- aiinbx/types/thread_forward_params.py,sha256=MmVCeae4j472GzeFeBEzCBt0oPFgJ1nGZJBlMERdTsM,955
55
+ aiinbx/types/thread_forward_params.py,sha256=Ad9J1pcj-gXyHwvnDad_0z6mgn7sG26GHN97fkODCHE,1002
56
56
  aiinbx/types/thread_forward_response.py,sha256=DmxnVB38C3R-fsNURfKMf5chNbKamQcx_QaubTk_8Ts,388
57
57
  aiinbx/types/thread_retrieve_response.py,sha256=s5jj2iwBfcoVPeybIOJUVwRhvnc_0NdEMcbDGJnheEw,2364
58
58
  aiinbx/types/thread_search_params.py,sha256=ZvlTTw4b_swhuC0VoLnU2QI1hYjROiEAyJ4HJXCrR9M,1939
59
59
  aiinbx/types/thread_search_response.py,sha256=lldugJNQuQ5tsD9BrgxoDNojAYs7Ks8iZDMxwhnjogY,908
60
60
  aiinbx/types/unwrap_webhook_event.py,sha256=6Hp4c5iHNs2lw3DYgRrgvRFBOmms0NADJ5XExEZrICI,1091
61
- aiinbx-0.109.0.dist-info/METADATA,sha256=4H-LFcFEs_WnHcgTZ-Ux88q1awZQqrERDKY-6DwfEqA,13209
62
- aiinbx-0.109.0.dist-info/WHEEL,sha256=C2FUgwZgiLbznR-k0b_5k3Ai_1aASOXDss3lzCUsUug,87
63
- aiinbx-0.109.0.dist-info/licenses/LICENSE,sha256=i1rY5G0rFWpuWXv5WPoFrQEOrDWycksLhJxuLBF1tZw,11337
64
- aiinbx-0.109.0.dist-info/RECORD,,
61
+ aiinbx-0.114.0.dist-info/METADATA,sha256=5wBaK3LNpoteCPf6XswMS9GEadwM6xXPRxewATz6mjk,13209
62
+ aiinbx-0.114.0.dist-info/WHEEL,sha256=C2FUgwZgiLbznR-k0b_5k3Ai_1aASOXDss3lzCUsUug,87
63
+ aiinbx-0.114.0.dist-info/licenses/LICENSE,sha256=i1rY5G0rFWpuWXv5WPoFrQEOrDWycksLhJxuLBF1tZw,11337
64
+ aiinbx-0.114.0.dist-info/RECORD,,