blueink-client-python 1.3.0__tar.gz → 1.4.0__tar.gz
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.
- {blueink_client_python-1.3.0/src/blueink_client_python.egg-info → blueink_client_python-1.4.0}/PKG-INFO +1 -1
- {blueink_client_python-1.3.0 → blueink_client_python-1.4.0}/setup.cfg +1 -1
- {blueink_client_python-1.3.0 → blueink_client_python-1.4.0}/src/blueink/constants.py +2 -0
- {blueink_client_python-1.3.0 → blueink_client_python-1.4.0}/src/blueink/model/bundles.py +2 -0
- {blueink_client_python-1.3.0 → blueink_client_python-1.4.0}/src/blueink/subclients/bundle.py +2 -1
- blueink_client_python-1.4.0/src/blueink/tests/test_apiv2_218_constants.py +23 -0
- {blueink_client_python-1.3.0 → blueink_client_python-1.4.0/src/blueink_client_python.egg-info}/PKG-INFO +1 -1
- {blueink_client_python-1.3.0 → blueink_client_python-1.4.0}/src/blueink_client_python.egg-info/SOURCES.txt +1 -0
- {blueink_client_python-1.3.0 → blueink_client_python-1.4.0}/LICENSE +0 -0
- {blueink_client_python-1.3.0 → blueink_client_python-1.4.0}/README.md +0 -0
- {blueink_client_python-1.3.0 → blueink_client_python-1.4.0}/pyproject.toml +0 -0
- {blueink_client_python-1.3.0 → blueink_client_python-1.4.0}/src/blueink/__init__.py +0 -0
- {blueink_client_python-1.3.0 → blueink_client_python-1.4.0}/src/blueink/bundle_helper.py +0 -0
- {blueink_client_python-1.3.0 → blueink_client_python-1.4.0}/src/blueink/client.py +0 -0
- {blueink_client_python-1.3.0 → blueink_client_python-1.4.0}/src/blueink/endpoints.py +0 -0
- {blueink_client_python-1.3.0 → blueink_client_python-1.4.0}/src/blueink/model/__init__.py +0 -0
- {blueink_client_python-1.3.0 → blueink_client_python-1.4.0}/src/blueink/model/persons.py +0 -0
- {blueink_client_python-1.3.0 → blueink_client_python-1.4.0}/src/blueink/model/webhook.py +0 -0
- {blueink_client_python-1.3.0 → blueink_client_python-1.4.0}/src/blueink/paginator.py +0 -0
- {blueink_client_python-1.3.0 → blueink_client_python-1.4.0}/src/blueink/person_helper.py +0 -0
- {blueink_client_python-1.3.0 → blueink_client_python-1.4.0}/src/blueink/request_helper.py +0 -0
- {blueink_client_python-1.3.0 → blueink_client_python-1.4.0}/src/blueink/subclients/__init__.py +0 -0
- {blueink_client_python-1.3.0 → blueink_client_python-1.4.0}/src/blueink/subclients/envelope_template.py +0 -0
- {blueink_client_python-1.3.0 → blueink_client_python-1.4.0}/src/blueink/subclients/packet.py +0 -0
- {blueink_client_python-1.3.0 → blueink_client_python-1.4.0}/src/blueink/subclients/person.py +0 -0
- {blueink_client_python-1.3.0 → blueink_client_python-1.4.0}/src/blueink/subclients/subclient.py +0 -0
- {blueink_client_python-1.3.0 → blueink_client_python-1.4.0}/src/blueink/subclients/template.py +0 -0
- {blueink_client_python-1.3.0 → blueink_client_python-1.4.0}/src/blueink/subclients/verify.py +0 -0
- {blueink_client_python-1.3.0 → blueink_client_python-1.4.0}/src/blueink/subclients/webhook.py +0 -0
- {blueink_client_python-1.3.0 → blueink_client_python-1.4.0}/src/blueink/tests/__init__.py +0 -0
- {blueink_client_python-1.3.0 → blueink_client_python-1.4.0}/src/blueink/tests/test_bundle_helper.py +0 -0
- {blueink_client_python-1.3.0 → blueink_client_python-1.4.0}/src/blueink/tests/test_client.py +0 -0
- {blueink_client_python-1.3.0 → blueink_client_python-1.4.0}/src/blueink/tests/test_person_helper.py +0 -0
- {blueink_client_python-1.3.0 → blueink_client_python-1.4.0}/src/blueink/utils/__init__.py +0 -0
- {blueink_client_python-1.3.0 → blueink_client_python-1.4.0}/src/blueink/utils/testcase.py +0 -0
- {blueink_client_python-1.3.0 → blueink_client_python-1.4.0}/src/blueink_client_python.egg-info/dependency_links.txt +0 -0
- {blueink_client_python-1.3.0 → blueink_client_python-1.4.0}/src/blueink_client_python.egg-info/requires.txt +0 -0
- {blueink_client_python-1.3.0 → blueink_client_python-1.4.0}/src/blueink_client_python.egg-info/top_level.txt +0 -0
|
@@ -64,6 +64,7 @@ FIELD_KIND = Munch(
|
|
|
64
64
|
CHECKBOX="chk",
|
|
65
65
|
CHECKBOXES="cbx",
|
|
66
66
|
ATTACHMENT="att",
|
|
67
|
+
STAMP="stp",
|
|
67
68
|
)
|
|
68
69
|
|
|
69
70
|
PACKET_STATUS = Munch(
|
|
@@ -75,6 +76,7 @@ PACKET_STATUS = Munch(
|
|
|
75
76
|
EXPIRED="ex",
|
|
76
77
|
COMPLETE="co",
|
|
77
78
|
FAILED="fa",
|
|
79
|
+
REASSIGNED="ra",
|
|
78
80
|
)
|
|
79
81
|
|
|
80
82
|
V_PATTERN = Munch(
|
|
@@ -339,6 +339,8 @@ class Bundle(BaseModel):
|
|
|
339
339
|
team: Optional[str] = None
|
|
340
340
|
signing_brand: Optional[str] = None
|
|
341
341
|
expires: Optional[str] = None
|
|
342
|
+
allow_signer_reassign: Optional[bool] = None
|
|
343
|
+
allow_chained_signer_reassign: Optional[bool] = None
|
|
342
344
|
tag_values: Optional[dict] = None
|
|
343
345
|
|
|
344
346
|
@classmethod
|
{blueink_client_python-1.3.0 → blueink_client_python-1.4.0}/src/blueink/subclients/bundle.py
RENAMED
|
@@ -289,7 +289,8 @@ class BundleSubClient(SubClient):
|
|
|
289
289
|
"""Partially update a Bundle (PATCH).
|
|
290
290
|
|
|
291
291
|
Typically used to update fields such as ``signing_brand``, ``team``,
|
|
292
|
-
``expires``, ``cc_emails
|
|
292
|
+
``expires``, ``cc_emails``, reminder settings, ``allow_signer_reassign``,
|
|
293
|
+
and ``allow_chained_signer_reassign`` on an existing bundle.
|
|
293
294
|
|
|
294
295
|
Args:
|
|
295
296
|
bundle_id: bundle slug
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
from blueink.constants import FIELD_KIND, PACKET_STATUS
|
|
2
|
+
from blueink.model.bundles import Bundle
|
|
3
|
+
from blueink.utils.testcase import TestCase
|
|
4
|
+
|
|
5
|
+
|
|
6
|
+
class TestApiV218Constants(TestCase):
|
|
7
|
+
def test_field_kind_includes_stamp(self):
|
|
8
|
+
self.assert_equal(FIELD_KIND.STAMP, "stp")
|
|
9
|
+
self.assert_in("stp", FIELD_KIND.values())
|
|
10
|
+
|
|
11
|
+
def test_packet_status_includes_reassigned(self):
|
|
12
|
+
self.assert_equal(PACKET_STATUS.REASSIGNED, "ra")
|
|
13
|
+
self.assert_in("ra", PACKET_STATUS.values())
|
|
14
|
+
|
|
15
|
+
def test_bundle_model_accepts_reassign_flags(self):
|
|
16
|
+
bundle = Bundle(
|
|
17
|
+
packets=[],
|
|
18
|
+
documents=[],
|
|
19
|
+
allow_signer_reassign=True,
|
|
20
|
+
allow_chained_signer_reassign=False,
|
|
21
|
+
)
|
|
22
|
+
self.assert_equal(bundle.allow_signer_reassign, True)
|
|
23
|
+
self.assert_equal(bundle.allow_chained_signer_reassign, False)
|
|
@@ -24,6 +24,7 @@ src/blueink/subclients/template.py
|
|
|
24
24
|
src/blueink/subclients/verify.py
|
|
25
25
|
src/blueink/subclients/webhook.py
|
|
26
26
|
src/blueink/tests/__init__.py
|
|
27
|
+
src/blueink/tests/test_apiv2_218_constants.py
|
|
27
28
|
src/blueink/tests/test_bundle_helper.py
|
|
28
29
|
src/blueink/tests/test_client.py
|
|
29
30
|
src/blueink/tests/test_person_helper.py
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{blueink_client_python-1.3.0 → blueink_client_python-1.4.0}/src/blueink/subclients/__init__.py
RENAMED
|
File without changes
|
|
File without changes
|
{blueink_client_python-1.3.0 → blueink_client_python-1.4.0}/src/blueink/subclients/packet.py
RENAMED
|
File without changes
|
{blueink_client_python-1.3.0 → blueink_client_python-1.4.0}/src/blueink/subclients/person.py
RENAMED
|
File without changes
|
{blueink_client_python-1.3.0 → blueink_client_python-1.4.0}/src/blueink/subclients/subclient.py
RENAMED
|
File without changes
|
{blueink_client_python-1.3.0 → blueink_client_python-1.4.0}/src/blueink/subclients/template.py
RENAMED
|
File without changes
|
{blueink_client_python-1.3.0 → blueink_client_python-1.4.0}/src/blueink/subclients/verify.py
RENAMED
|
File without changes
|
{blueink_client_python-1.3.0 → blueink_client_python-1.4.0}/src/blueink/subclients/webhook.py
RENAMED
|
File without changes
|
|
File without changes
|
{blueink_client_python-1.3.0 → blueink_client_python-1.4.0}/src/blueink/tests/test_bundle_helper.py
RENAMED
|
File without changes
|
{blueink_client_python-1.3.0 → blueink_client_python-1.4.0}/src/blueink/tests/test_client.py
RENAMED
|
File without changes
|
{blueink_client_python-1.3.0 → blueink_client_python-1.4.0}/src/blueink/tests/test_person_helper.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|