linq-python 0.63.0__py3-none-any.whl → 0.65.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.
linq/_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__ = "linq"
4
- __version__ = "0.63.0" # x-release-please-version
4
+ __version__ = "0.65.0" # x-release-please-version
@@ -868,6 +868,8 @@ class ChatsResource(SyncAPIResource):
868
868
  line has no active contact card, the request is rejected with `404` (error code
869
869
  `2012`, "Contact card not found").
870
870
 
871
+ Rate limited per chat: at most 1 share per chat every 5 minutes.
872
+
871
873
  Args:
872
874
  extra_headers: Send extra headers
873
875
 
@@ -1677,6 +1679,8 @@ class AsyncChatsResource(AsyncAPIResource):
1677
1679
  line has no active contact card, the request is rejected with `404` (error code
1678
1680
  `2012`, "Contact card not found").
1679
1681
 
1682
+ Rate limited per chat: at most 1 share per chat every 5 minutes.
1683
+
1680
1684
  Args:
1681
1685
  extra_headers: Send extra headers
1682
1686
 
@@ -82,6 +82,10 @@ class ContactCardResource(SyncAPIResource):
82
82
  existing card is never overwritten by accident. Use `PATCH /v3/contact_card` to
83
83
  change it.
84
84
 
85
+ Rate limited per phone number: `POST` and `PATCH` share a budget of 3 calls
86
+ every 10 minutes. Further calls return `429`, with `Retry-After` carrying the
87
+ wait.
88
+
85
89
  Args:
86
90
  first_name: First name for the contact card. Required.
87
91
 
@@ -185,6 +189,10 @@ class ContactCardResource(SyncAPIResource):
185
189
  The update did not reach the line, so the card is left not active — wait before
186
190
  retrying, because repeated attempts extend the rate limit.
187
191
 
192
+ Rate limited per phone number: `POST` and `PATCH` share a budget of 3 calls
193
+ every 10 minutes. Further calls return `429`, with `Retry-After` carrying the
194
+ wait.
195
+
188
196
  Args:
189
197
  phone_number: E.164 phone number of the contact card to update
190
198
 
@@ -285,6 +293,10 @@ class AsyncContactCardResource(AsyncAPIResource):
285
293
  existing card is never overwritten by accident. Use `PATCH /v3/contact_card` to
286
294
  change it.
287
295
 
296
+ Rate limited per phone number: `POST` and `PATCH` share a budget of 3 calls
297
+ every 10 minutes. Further calls return `429`, with `Retry-After` carrying the
298
+ wait.
299
+
288
300
  Args:
289
301
  first_name: First name for the contact card. Required.
290
302
 
@@ -388,6 +400,10 @@ class AsyncContactCardResource(AsyncAPIResource):
388
400
  The update did not reach the line, so the card is left not active — wait before
389
401
  retrying, because repeated attempts extend the rate limit.
390
402
 
403
+ Rate limited per phone number: `POST` and `PATCH` share a budget of 3 calls
404
+ every 10 minutes. Further calls return `429`, with `Retry-After` carrying the
405
+ wait.
406
+
391
407
  Args:
392
408
  phone_number: E.164 phone number of the contact card to update
393
409
 
@@ -66,6 +66,15 @@ class PhoneNumber(BaseModel):
66
66
  Null when no forwarding number is configured.
67
67
  """
68
68
 
69
+ line_type: Optional[Literal["iMessage", "RCS"]] = None
70
+ """
71
+ The kind of line: `iMessage` for an iMessage-capable line, `RCS` for an RCS-only
72
+ line, which sends RCS and SMS but never iMessage. Same values as the `type`
73
+ parameter on `GET /v3/available_number`. A property of the line itself, so
74
+ unlike `service` it does not change with the conversation: an iMessage-capable
75
+ line can still carry an RCS or SMS conversation.
76
+ """
77
+
69
78
 
70
79
  class PhoneNumberListResponse(BaseModel):
71
80
  phone_numbers: List[PhoneNumber]
@@ -34,5 +34,14 @@ class ChatHandle(BaseModel):
34
34
  left_at: Optional[datetime] = None
35
35
  """When they left (if applicable)"""
36
36
 
37
+ line_type: Optional[Literal["iMessage", "RCS"]] = None
38
+ """
39
+ The kind of line: `iMessage` for an iMessage-capable line, `RCS` for an RCS-only
40
+ line, which sends RCS and SMS but never iMessage. Same values as the `type`
41
+ parameter on `GET /v3/available_number`. A property of the line itself, so
42
+ unlike `service` it does not change with the conversation: an iMessage-capable
43
+ line can still carry an RCS or SMS conversation.
44
+ """
45
+
37
46
  status: Optional[Literal["active", "left", "removed"]] = None
38
47
  """Participant status"""
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.3
2
2
  Name: linq-python
3
- Version: 0.63.0
3
+ Version: 0.65.0
4
4
  Summary: The official Python library for the linq-api-v3 API
5
5
  Project-URL: Homepage, https://github.com/linq-team/linq-python
6
6
  Project-URL: Repository, https://github.com/linq-team/linq-python
@@ -11,7 +11,7 @@ linq/_resource.py,sha256=IvbBkxho8w_Ru0GHWOBUDwiuaI-CQoi8WWQJZCkfhyg,1118
11
11
  linq/_response.py,sha256=Pyf_g81OCXWawxoGZDNp6h1sHMlDgCOsM5vI9fGEBKE,28923
12
12
  linq/_streaming.py,sha256=zmn_k0MQ0d2f4KisSxNc4cqa3mTw2j75iPRyTL5jk9I,10562
13
13
  linq/_types.py,sha256=qrCEcjX_Yc2ofAEdW5DcTaji-Ct1o6v7P0mCi-wDlDM,7747
14
- linq/_version.py,sha256=dqQ7wYphG6zVsMHIJlAUe2_NNDElpGyegR-SXIjkUmc,157
14
+ linq/_version.py,sha256=YkSudC85st15W9-1U3nnx43zAPlYXPNvr_xUNn0dfV0,157
15
15
  linq/pagination.py,sha256=LxWl_sqhWdi6dYzDK1QyEIJd43fvxXMcCwF6Y4ill9I,2464
16
16
  linq/py.typed,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
17
17
  linq/_utils/__init__.py,sha256=nQq-iFa5YxTaWySaLigatew5rHgTR0M75FNYm4mrO1s,2313
@@ -34,7 +34,7 @@ linq/resources/attachments.py,sha256=iT67-6UKBA09OSpNd6eSgYgu4MnzZjEu260UQx2ZUEc
34
34
  linq/resources/available_number.py,sha256=u4eddgAgY--3X-vBSf6-BDBDlTA-QbxKhjj0AjCE1rA,14388
35
35
  linq/resources/blocked_handles.py,sha256=CVL9ol1vUAZUfwkwiYxE63m3PIQTieHEY5gPVZI6N04,14884
36
36
  linq/resources/capability.py,sha256=pDsfEnGkvCtnVdvE5VYMfQuaHKWROkE0DXVSPMEyeUQ,13040
37
- linq/resources/contact_card.py,sha256=PDdknp20dGeCjhGmXeNeR_L9WnaT1qc7DzCttTC25r8,19317
37
+ linq/resources/contact_card.py,sha256=5A-3tkb-QqgcPTExKES9s5M7zqUJ6VS5jp5v8v0CWw8,20057
38
38
  linq/resources/experiences.py,sha256=5oQqlpaG0-JOp0t-0HU5ExZY-DAqdD1ZoSBN19wu5AE,13184
39
39
  linq/resources/payment_handles.py,sha256=aqQl0Ny7NXTw3TS42MHFBMBPORwvTKPH0-24GlY9IVY,18555
40
40
  linq/resources/payment_providers.py,sha256=yxy4pleWTFoq_VatQl8OSZpgVS1vwyUFQVnRCUsT3OU,11204
@@ -47,7 +47,7 @@ linq/resources/webhook_subscriptions.py,sha256=zcJnaWSigZL_VDROHA_hvcNJbvFJTla2K
47
47
  linq/resources/webhooks.py,sha256=pHFKEshdKffAQVnt8y7EQvCcqCmmArX24ouW7X-JmvQ,2356
48
48
  linq/resources/chats/__init__.py,sha256=izIxQJ8BfoKQDjiKIZO7WebHNhn2G062PVBpRCV75dI,3408
49
49
  linq/resources/chats/background.py,sha256=CRPlK5aokq8FVL8dbkzFDGb7-OyN308IMP90rujRkik,16358
50
- linq/resources/chats/chats.py,sha256=5B9_3D2vfVgcBkt04S-WNMvl3MBYH5S9XfYsTRrji-Y,169840
50
+ linq/resources/chats/chats.py,sha256=pJUcXtFwuwtWDToUalaEJxXnz6oOLthIH6ZSR1ASfTE,169988
51
51
  linq/resources/chats/location.py,sha256=qD0YuUYjMAI2Rzop1ZIefCiaxaOqsEwO6xXrMkL6n2w,21804
52
52
  linq/resources/chats/messages.py,sha256=ySMKRTbTx2ve4N7PgG0RVqn19S67cKjalJ-k-9BZGEE,32904
53
53
  linq/resources/chats/participants.py,sha256=8Y0Qo84yWIDF9YJ-wm1s5fatPPkKs2cD8dGhPhO82sI,12959
@@ -157,7 +157,7 @@ linq/types/payment_request_list_response.py,sha256=AhLoSpWNV-EInmvdOkYXP0NP5wu_V
157
157
  linq/types/payment_succeeded_webhook_event.py,sha256=ACeodBNBJHLKy6zn3g4xFuFBg63GwS7-p2luk_zJiQ8,7114
158
158
  linq/types/phone_number_assigned_webhook_event.py,sha256=84IURf70YSq2gkt8ywW8jZ5b6Fvc2FlM7eO4getZBCg,3844
159
159
  linq/types/phone_number_forwarding_updated_webhook_event.py,sha256=ShQdWOqiaZ2sNy2FB9YcNd_PjPLgJnGhFlowkDigVRw,12736
160
- linq/types/phone_number_list_response.py,sha256=9QLoBb7D3rvd6xsPLdHJf4Q_8q_ZiJSJFnFo2Mqd49A,2675
160
+ linq/types/phone_number_list_response.py,sha256=2jJdf3m-GmeyGHHgVz2K-nDBw98DmYPQK66x5PDfZO0,3131
161
161
  linq/types/phone_number_released_webhook_event.py,sha256=VhNBaReFcR17qieyTHvSqDTHQilt_d4g80ugJPd58os,3844
162
162
  linq/types/phone_number_status_updated_webhook_event.py,sha256=roZA8dVzfTA9zguAW5Mns6qFGh-TDWM3KfTF4H-AbQk,4189
163
163
  linq/types/phone_number_update_params.py,sha256=MCe9AusPptApEV1rhjMjgG2cO77oV_XU4GKhYGw986k,431
@@ -234,7 +234,7 @@ linq/types/messages/__init__.py,sha256=AN3uf-myDaZVWA6xC7ijCSd86N1qin_sBcbGmBAOC
234
234
  linq/types/messages/poll_add_options_params.py,sha256=vMgWfRW4P3Pa7Rel7B9kULzvvdMK-QF3__ONgS17p_A,405
235
235
  linq/types/messages/poll_vote_params.py,sha256=tC5SdR0ORZRAGzhpSK3NFGw_KopXSGls8RtNzq4VIOE,438
236
236
  linq/types/shared/__init__.py,sha256=SYG03dMIQw0RjO_fFYC4Lm3Fj_BDhoTHiOaj4j091dw,645
237
- linq/types/shared/chat_handle.py,sha256=XGN113XkQ_cyHC7MbsBuehQBO0u5wAKdQc8qEPAyJIk,1055
237
+ linq/types/shared/chat_handle.py,sha256=P6AtER6fwmYgPjivTU4mJ937K9ZdokfhucP-8b8dgqI,1511
238
238
  linq/types/shared/inline_sticker_response.py,sha256=goSaZcsr7rN8zSuV2jQ1AXc8Pgz5jAxfesBV8Chzn0c,1054
239
239
  linq/types/shared/link_part_response.py,sha256=8xOaGAKFnZPGYik2D1X0j8HQZYj84Fh-VI_n06gQIMU,531
240
240
  linq/types/shared/media_part_response.py,sha256=yCN-NhIPRstFgAMj7gEjcFaASjZpqDmNMnF5dt6tSlE,789
@@ -247,7 +247,7 @@ linq/types/shared_params/__init__.py,sha256=FZWRsA1D5DW6IXxenxo9U8-bDW6YiizL-xaw
247
247
  linq/types/shared_params/reaction_type.py,sha256=MP4ekeDAr9lK0wqdvl6FMVa5s0j2w6JhwF8TcF48aSA,317
248
248
  linq/types/shared_params/service_type.py,sha256=AV_VS3d0v059_wou2dts8Jy-NzbGFXa3_VRRpG42N48,259
249
249
  linq/types/shared_params/text_decoration.py,sha256=H-ph17ldBaFRNhajm77DfqjjtQbTNFJj9sepoHHcD80,881
250
- linq_python-0.63.0.dist-info/METADATA,sha256=dsGpv3gpoxGCEZCfefHtAXJrKg6OTwXOZpPdJ6Sly8Y,18056
251
- linq_python-0.63.0.dist-info/WHEEL,sha256=C2FUgwZgiLbznR-k0b_5k3Ai_1aASOXDss3lzCUsUug,87
252
- linq_python-0.63.0.dist-info/licenses/LICENSE,sha256=zP4mO5gBwuMBJx2-sVWVdjklSfevmIQT68JUQfvjy40,11341
253
- linq_python-0.63.0.dist-info/RECORD,,
250
+ linq_python-0.65.0.dist-info/METADATA,sha256=1oHf2d0kTIYWXzP_SlsRVGGWFpCcc0VTvPg2DS_yQLw,18056
251
+ linq_python-0.65.0.dist-info/WHEEL,sha256=C2FUgwZgiLbznR-k0b_5k3Ai_1aASOXDss3lzCUsUug,87
252
+ linq_python-0.65.0.dist-info/licenses/LICENSE,sha256=zP4mO5gBwuMBJx2-sVWVdjklSfevmIQT68JUQfvjy40,11341
253
+ linq_python-0.65.0.dist-info/RECORD,,