sky-api-client 3.2.4__tar.gz → 3.2.6__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.
- {sky_api_client-3.2.4 → sky_api_client-3.2.6}/PKG-INFO +1 -1
- {sky_api_client-3.2.4 → sky_api_client-3.2.6}/setup.py +1 -1
- {sky_api_client-3.2.4 → sky_api_client-3.2.6}/sky_api_client/__init__.py +3 -0
- sky_api_client-3.2.6/sky_api_client/entity/constituent_solicit_code.py +7 -0
- sky_api_client-3.2.6/sky_api_client/entity/list.py +7 -0
- sky_api_client-3.2.6/sky_api_client/entity/solicit_code.py +18 -0
- {sky_api_client-3.2.4 → sky_api_client-3.2.6}/sky_api_client.egg-info/PKG-INFO +1 -1
- {sky_api_client-3.2.4 → sky_api_client-3.2.6}/sky_api_client.egg-info/SOURCES.txt +3 -0
- {sky_api_client-3.2.4 → sky_api_client-3.2.6}/README.md +0 -0
- {sky_api_client-3.2.4 → sky_api_client-3.2.6}/pyproject.toml +0 -0
- {sky_api_client-3.2.4 → sky_api_client-3.2.6}/setup.cfg +0 -0
- {sky_api_client-3.2.4 → sky_api_client-3.2.6}/sky_api_client/client.py +0 -0
- {sky_api_client-3.2.4 → sky_api_client-3.2.6}/sky_api_client/entity/__init__.py +0 -0
- {sky_api_client-3.2.4 → sky_api_client-3.2.6}/sky_api_client/entity/address.py +0 -0
- {sky_api_client-3.2.4 → sky_api_client-3.2.6}/sky_api_client/entity/base.py +0 -0
- {sky_api_client-3.2.4 → sky_api_client-3.2.6}/sky_api_client/entity/code_table.py +0 -0
- {sky_api_client-3.2.4 → sky_api_client-3.2.6}/sky_api_client/entity/constituent.py +0 -0
- {sky_api_client-3.2.4 → sky_api_client-3.2.6}/sky_api_client/entity/constituent_address.py +0 -0
- {sky_api_client-3.2.4 → sky_api_client-3.2.6}/sky_api_client/entity/constituent_code.py +0 -0
- {sky_api_client-3.2.4 → sky_api_client-3.2.6}/sky_api_client/entity/constituent_custom_field.py +0 -0
- {sky_api_client-3.2.4 → sky_api_client-3.2.6}/sky_api_client/entity/constituent_education.py +0 -0
- {sky_api_client-3.2.4 → sky_api_client-3.2.6}/sky_api_client/entity/constituent_email_address.py +0 -0
- {sky_api_client-3.2.4 → sky_api_client-3.2.6}/sky_api_client/entity/constituent_online_presence.py +0 -0
- {sky_api_client-3.2.4 → sky_api_client-3.2.6}/sky_api_client/entity/constituent_phone.py +0 -0
- {sky_api_client-3.2.4 → sky_api_client-3.2.6}/sky_api_client/entity/constituent_relationship.py +0 -0
- {sky_api_client-3.2.4 → sky_api_client-3.2.6}/sky_api_client/entity/custom_field.py +0 -0
- {sky_api_client-3.2.4 → sky_api_client-3.2.6}/sky_api_client/entity/custom_field_categories.py +0 -0
- {sky_api_client-3.2.4 → sky_api_client-3.2.6}/sky_api_client/entity/education.py +0 -0
- {sky_api_client-3.2.4 → sky_api_client-3.2.6}/sky_api_client/entity/email_addresses.py +0 -0
- {sky_api_client-3.2.4 → sky_api_client-3.2.6}/sky_api_client/entity/event.py +0 -0
- {sky_api_client-3.2.4 → sky_api_client-3.2.6}/sky_api_client/entity/event_fee.py +0 -0
- {sky_api_client-3.2.4 → sky_api_client-3.2.6}/sky_api_client/entity/event_participant.py +0 -0
- {sky_api_client-3.2.4 → sky_api_client-3.2.6}/sky_api_client/entity/event_participant_donation.py +0 -0
- {sky_api_client-3.2.4 → sky_api_client-3.2.6}/sky_api_client/entity/event_participant_fee.py +0 -0
- {sky_api_client-3.2.4 → sky_api_client-3.2.6}/sky_api_client/entity/event_participant_fee_payment.py +0 -0
- {sky_api_client-3.2.4 → sky_api_client-3.2.6}/sky_api_client/entity/event_participant_levels.py +0 -0
- {sky_api_client-3.2.4 → sky_api_client-3.2.6}/sky_api_client/entity/event_participation_levels.py +0 -0
- {sky_api_client-3.2.4 → sky_api_client-3.2.6}/sky_api_client/entity/fundraising_appeal.py +0 -0
- {sky_api_client-3.2.4 → sky_api_client-3.2.6}/sky_api_client/entity/fundraising_campaign.py +0 -0
- {sky_api_client-3.2.4 → sky_api_client-3.2.6}/sky_api_client/entity/fundraising_fund.py +0 -0
- {sky_api_client-3.2.4 → sky_api_client-3.2.6}/sky_api_client/entity/fundraising_package.py +0 -0
- {sky_api_client-3.2.4 → sky_api_client-3.2.6}/sky_api_client/entity/gender.py +0 -0
- {sky_api_client-3.2.4 → sky_api_client-3.2.6}/sky_api_client/entity/gift.py +0 -0
- {sky_api_client-3.2.4 → sky_api_client-3.2.6}/sky_api_client/entity/gift_batch.py +0 -0
- {sky_api_client-3.2.4 → sky_api_client-3.2.6}/sky_api_client/entity/gift_batch_gift.py +0 -0
- {sky_api_client-3.2.4 → sky_api_client-3.2.6}/sky_api_client/entity/gift_subtype.py +0 -0
- {sky_api_client-3.2.4 → sky_api_client-3.2.6}/sky_api_client/entity/online_presence.py +0 -0
- {sky_api_client-3.2.4 → sky_api_client-3.2.6}/sky_api_client/entity/phone.py +0 -0
- {sky_api_client-3.2.4 → sky_api_client-3.2.6}/sky_api_client/entity/registry.py +0 -0
- {sky_api_client-3.2.4 → sky_api_client-3.2.6}/sky_api_client/entity/relationship.py +0 -0
- {sky_api_client-3.2.4 → sky_api_client-3.2.6}/sky_api_client/entity/suffix.py +0 -0
- {sky_api_client-3.2.4 → sky_api_client-3.2.6}/sky_api_client/entity/table_entry.py +0 -0
- {sky_api_client-3.2.4 → sky_api_client-3.2.6}/sky_api_client/entity/title.py +0 -0
- {sky_api_client-3.2.4 → sky_api_client-3.2.6}/sky_api_client/entity/webhook_subscription.py +0 -0
- {sky_api_client-3.2.4 → sky_api_client-3.2.6}/sky_api_client/exceptions/__init__.py +0 -0
- {sky_api_client-3.2.4 → sky_api_client-3.2.6}/sky_api_client/exceptions/exception.py +0 -0
- {sky_api_client-3.2.4 → sky_api_client-3.2.6}/sky_api_client.egg-info/dependency_links.txt +0 -0
- {sky_api_client-3.2.4 → sky_api_client-3.2.6}/sky_api_client.egg-info/top_level.txt +0 -0
|
@@ -37,3 +37,6 @@ from sky_api_client.entity import fundraising_appeal # noqa: F401
|
|
|
37
37
|
from sky_api_client.entity import fundraising_fund # noqa: F401
|
|
38
38
|
from sky_api_client.entity import fundraising_campaign # noqa: F401
|
|
39
39
|
from sky_api_client.entity import fundraising_package # noqa: F401
|
|
40
|
+
from sky_api_client.entity import constituent_solicit_code # noqa: F401
|
|
41
|
+
from sky_api_client.entity import solicit_code # noqa: F401
|
|
42
|
+
from sky_api_client.entity import list # noqa: F401
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
from sky_api_client.entity.base import Entity
|
|
2
|
+
from sky_api_client.entity.registry import EntityRegistry
|
|
3
|
+
|
|
4
|
+
|
|
5
|
+
@EntityRegistry.register('constituent_solicit_code')
|
|
6
|
+
class ConstituentSolicitCode(Entity):
|
|
7
|
+
LIST_URL = '/commpref/v1/constituents/{id}/constituentsolicitcodes'
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
from sky_api_client.entity.base import Entity
|
|
2
|
+
from sky_api_client.entity.registry import EntityRegistry
|
|
3
|
+
from sky_api_client.exceptions.exception import MethodNotDefined
|
|
4
|
+
|
|
5
|
+
|
|
6
|
+
@EntityRegistry.register('solicit_code')
|
|
7
|
+
class SolicitCode(Entity):
|
|
8
|
+
CREATE_URL = '/commpref/v1/constituentsolicitcodes'
|
|
9
|
+
GET_URL = '/commpref/v1/constituentsolicitcodes/{id}'
|
|
10
|
+
UPDATE_URL = '/commpref/v1/constituentsolicitcodes/{id}'
|
|
11
|
+
DELETE_URL = '/commpref/v1/constituentsolicitcodes/{id}'
|
|
12
|
+
TYPES_URL = '/commpref/v1/solicitcodes'
|
|
13
|
+
|
|
14
|
+
def types(self):
|
|
15
|
+
if self.TYPES_URL:
|
|
16
|
+
results = self._api.request(method='GET', path=self.TYPES_URL).get('value', [])
|
|
17
|
+
return [result['description'] for result in results]
|
|
18
|
+
raise MethodNotDefined('Types')
|
|
@@ -20,6 +20,7 @@ sky_api_client/entity/constituent_email_address.py
|
|
|
20
20
|
sky_api_client/entity/constituent_online_presence.py
|
|
21
21
|
sky_api_client/entity/constituent_phone.py
|
|
22
22
|
sky_api_client/entity/constituent_relationship.py
|
|
23
|
+
sky_api_client/entity/constituent_solicit_code.py
|
|
23
24
|
sky_api_client/entity/custom_field.py
|
|
24
25
|
sky_api_client/entity/custom_field_categories.py
|
|
25
26
|
sky_api_client/entity/education.py
|
|
@@ -41,10 +42,12 @@ sky_api_client/entity/gift.py
|
|
|
41
42
|
sky_api_client/entity/gift_batch.py
|
|
42
43
|
sky_api_client/entity/gift_batch_gift.py
|
|
43
44
|
sky_api_client/entity/gift_subtype.py
|
|
45
|
+
sky_api_client/entity/list.py
|
|
44
46
|
sky_api_client/entity/online_presence.py
|
|
45
47
|
sky_api_client/entity/phone.py
|
|
46
48
|
sky_api_client/entity/registry.py
|
|
47
49
|
sky_api_client/entity/relationship.py
|
|
50
|
+
sky_api_client/entity/solicit_code.py
|
|
48
51
|
sky_api_client/entity/suffix.py
|
|
49
52
|
sky_api_client/entity/table_entry.py
|
|
50
53
|
sky_api_client/entity/title.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
|
{sky_api_client-3.2.4 → sky_api_client-3.2.6}/sky_api_client/entity/constituent_custom_field.py
RENAMED
|
File without changes
|
{sky_api_client-3.2.4 → sky_api_client-3.2.6}/sky_api_client/entity/constituent_education.py
RENAMED
|
File without changes
|
{sky_api_client-3.2.4 → sky_api_client-3.2.6}/sky_api_client/entity/constituent_email_address.py
RENAMED
|
File without changes
|
{sky_api_client-3.2.4 → sky_api_client-3.2.6}/sky_api_client/entity/constituent_online_presence.py
RENAMED
|
File without changes
|
|
File without changes
|
{sky_api_client-3.2.4 → sky_api_client-3.2.6}/sky_api_client/entity/constituent_relationship.py
RENAMED
|
File without changes
|
|
File without changes
|
{sky_api_client-3.2.4 → sky_api_client-3.2.6}/sky_api_client/entity/custom_field_categories.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{sky_api_client-3.2.4 → sky_api_client-3.2.6}/sky_api_client/entity/event_participant_donation.py
RENAMED
|
File without changes
|
{sky_api_client-3.2.4 → sky_api_client-3.2.6}/sky_api_client/entity/event_participant_fee.py
RENAMED
|
File without changes
|
{sky_api_client-3.2.4 → sky_api_client-3.2.6}/sky_api_client/entity/event_participant_fee_payment.py
RENAMED
|
File without changes
|
{sky_api_client-3.2.4 → sky_api_client-3.2.6}/sky_api_client/entity/event_participant_levels.py
RENAMED
|
File without changes
|
{sky_api_client-3.2.4 → sky_api_client-3.2.6}/sky_api_client/entity/event_participation_levels.py
RENAMED
|
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
|
|
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
|