linq-python 0.64.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 +1 -1
- linq/resources/chats/chats.py +4 -0
- linq/resources/contact_card.py +16 -0
- {linq_python-0.64.0.dist-info → linq_python-0.65.0.dist-info}/METADATA +1 -1
- {linq_python-0.64.0.dist-info → linq_python-0.65.0.dist-info}/RECORD +7 -7
- {linq_python-0.64.0.dist-info → linq_python-0.65.0.dist-info}/WHEEL +0 -0
- {linq_python-0.64.0.dist-info → linq_python-0.65.0.dist-info}/licenses/LICENSE +0 -0
linq/_version.py
CHANGED
linq/resources/chats/chats.py
CHANGED
|
@@ -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
|
|
linq/resources/contact_card.py
CHANGED
|
@@ -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
|
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.3
|
|
2
2
|
Name: linq-python
|
|
3
|
-
Version: 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=
|
|
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=
|
|
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=
|
|
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
|
|
@@ -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.
|
|
251
|
-
linq_python-0.
|
|
252
|
-
linq_python-0.
|
|
253
|
-
linq_python-0.
|
|
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,,
|
|
File without changes
|
|
File without changes
|