growsurf-python 1.7.0__py3-none-any.whl → 1.8.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.
- growsurf/_version.py +1 -1
- growsurf/resources/campaign/campaign.py +6 -0
- growsurf/types/campaign/campaign_design.py +4 -0
- growsurf/types/campaign_create_params.py +23 -9
- {growsurf_python-1.7.0.dist-info → growsurf_python-1.8.0.dist-info}/METADATA +2 -2
- {growsurf_python-1.7.0.dist-info → growsurf_python-1.8.0.dist-info}/RECORD +8 -8
- {growsurf_python-1.7.0.dist-info → growsurf_python-1.8.0.dist-info}/WHEEL +0 -0
- {growsurf_python-1.7.0.dist-info → growsurf_python-1.8.0.dist-info}/licenses/LICENSE +0 -0
growsurf/_version.py
CHANGED
|
@@ -231,7 +231,10 @@ class CampaignResource(SyncAPIResource):
|
|
|
231
231
|
"B2C_SUBSCRIPTIONS",
|
|
232
232
|
"FINANCIAL_SERVICES",
|
|
233
233
|
"ONLINE_EDUCATION",
|
|
234
|
+
"INSURANCE",
|
|
234
235
|
"ONLINE_INSURANCE",
|
|
236
|
+
"TELEHEALTH",
|
|
237
|
+
"HEALTHCARE_PROVIDERS",
|
|
235
238
|
]
|
|
236
239
|
| Omit = omit,
|
|
237
240
|
name: str | Omit = omit,
|
|
@@ -1415,7 +1418,10 @@ class AsyncCampaignResource(AsyncAPIResource):
|
|
|
1415
1418
|
"B2C_SUBSCRIPTIONS",
|
|
1416
1419
|
"FINANCIAL_SERVICES",
|
|
1417
1420
|
"ONLINE_EDUCATION",
|
|
1421
|
+
"INSURANCE",
|
|
1418
1422
|
"ONLINE_INSURANCE",
|
|
1423
|
+
"TELEHEALTH",
|
|
1424
|
+
"HEALTHCARE_PROVIDERS",
|
|
1419
1425
|
]
|
|
1420
1426
|
| Omit = omit,
|
|
1421
1427
|
name: str | Omit = omit,
|
|
@@ -52,6 +52,10 @@ class CampaignDesignResources(TypedDict, total=False):
|
|
|
52
52
|
# available to both program types; its manual payout and Wise fields are
|
|
53
53
|
# affiliate-only. `referredExperience` includes the Claim Offer Popup for both
|
|
54
54
|
# program types, with its colors under `theme.referredExperienceOfferPopup`.
|
|
55
|
+
# `widget` is the website widget shown in a corner of your own site — a button or a
|
|
56
|
+
# card, its placement and offsets, when it appears, and which pages it appears on —
|
|
57
|
+
# with its colors under `theme.widget`. Both of its audience switches start off, so a
|
|
58
|
+
# program shows nothing until you turn one on.
|
|
55
59
|
# `GET` returns the fields configured for the program;
|
|
56
60
|
# `payoutDestinationConfirmation` is omitted when no confirmation fields are
|
|
57
61
|
# stored. Stored `null` fields are returned as `null`; omitted and `null` fields
|
|
@@ -36,17 +36,31 @@ class CampaignCreateParams(TypedDict, total=False):
|
|
|
36
36
|
"B2C_SUBSCRIPTIONS",
|
|
37
37
|
"FINANCIAL_SERVICES",
|
|
38
38
|
"ONLINE_EDUCATION",
|
|
39
|
+
"INSURANCE",
|
|
39
40
|
"ONLINE_INSURANCE",
|
|
41
|
+
"TELEHEALTH",
|
|
42
|
+
"HEALTHCARE_PROVIDERS",
|
|
40
43
|
]
|
|
41
|
-
"""What the program is for, which seeds share
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
44
|
+
"""What the program is for, which seeds the share buttons and the starter rewards that
|
|
45
|
+
suit that audience.
|
|
46
|
+
|
|
47
|
+
Programs whose participants refer other businesses (`CUSTOMERS`, `USERS`,
|
|
48
|
+
`B2B_SAAS_SELF_SERVICE`, `B2B_SAAS_ENTERPRISE`, `HEALTHCARE_PROVIDERS`) start with
|
|
49
|
+
the LinkedIn share button visible; consumer, financial, education, insurance,
|
|
50
|
+
telehealth, newsletter, and waitlist programs (`B2C_SUBSCRIPTIONS`,
|
|
51
|
+
`FINANCIAL_SERVICES`, `ONLINE_EDUCATION`, `INSURANCE`, `ONLINE_INSURANCE`,
|
|
52
|
+
`TELEHEALTH`, `SUBSCRIBERS`, `WAITLIST`) start with it hidden, and on a referral
|
|
53
|
+
program each goal also sets the rest of its share buttons to suit that audience.
|
|
54
|
+
When you create a referral program without `rewards`, the goal also decides the
|
|
55
|
+
starter rewards: most goals get one double-sided reward, `HEALTHCARE_PROVIDERS` gets
|
|
56
|
+
a single-sided reward, `SUBSCRIBERS` gets a four-step milestone ladder, and
|
|
57
|
+
`WAITLIST` gets a leaderboard. Every one arrives switched off with a placeholder
|
|
58
|
+
name, so the program awards nothing until you set the amount and turn one on.
|
|
59
|
+
`TELEHEALTH` is for consumer telehealth and wellness subscriptions;
|
|
60
|
+
`HEALTHCARE_PROVIDERS` is for provider networks and clinician-facing products.
|
|
61
|
+
`INSURANCE` replaces `ONLINE_INSURANCE`, which is still accepted. Omit it and every
|
|
62
|
+
share button keeps its standard default. Set only when the program is created; it is
|
|
63
|
+
not accepted on update.
|
|
50
64
|
"""
|
|
51
65
|
|
|
52
66
|
name: str
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
Metadata-Version: 2.3
|
|
2
2
|
Name: growsurf-python
|
|
3
|
-
Version: 1.
|
|
3
|
+
Version: 1.8.0
|
|
4
4
|
Summary: The official Python library for the growsurf API
|
|
5
|
-
Project-URL: Homepage, https://
|
|
5
|
+
Project-URL: Homepage, https://growsurf.com/
|
|
6
6
|
Project-URL: Repository, https://github.com/growsurf/growsurf-python
|
|
7
7
|
Author: Growsurf
|
|
8
8
|
License: Apache-2.0
|
|
@@ -11,7 +11,7 @@ growsurf/_resource.py,sha256=oeDA0FL2ottIchoUi86M_8eUqmtrGQLYTgfKYEzrsWg,1112
|
|
|
11
11
|
growsurf/_response.py,sha256=RTZ8t27W4S6ExkCjzCg4HbcDUTCdOMgiheiMAuAxgu4,28937
|
|
12
12
|
growsurf/_streaming.py,sha256=9aJ_V6JtddntWCon2Cq_MOLMnySnhc7wuqeZx7sUtKU,10558
|
|
13
13
|
growsurf/_types.py,sha256=r8hAVihrutiLUToaJhSDys9T9sMc8BMy2qUrr3W_8Wo,7751
|
|
14
|
-
growsurf/_version.py,sha256=
|
|
14
|
+
growsurf/_version.py,sha256=O36DV_DBZKjiTb0-a5hQWu4ZXF0b5IR9k9KMxihKrZY,160
|
|
15
15
|
growsurf/py.typed,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
16
16
|
growsurf/_utils/__init__.py,sha256=nQq-iFa5YxTaWySaLigatew5rHgTR0M75FNYm4mrO1s,2313
|
|
17
17
|
growsurf/_utils/_compat.py,sha256=33246eDcl3pwL6kWsEhVuT4Akrd8gZEW9LPTm465ohk,1231
|
|
@@ -32,7 +32,7 @@ growsurf/resources/__init__.py,sha256=RYj6vjnPpErdBftiCuJtbwqGAnll4jXw6sg4qh6o98
|
|
|
32
32
|
growsurf/resources/account.py,sha256=C07rN77026gPHHb0U8y8qlvvluK2ZljUfygztbxxO0A,10173
|
|
33
33
|
growsurf/resources/team.py,sha256=q3KpMg6Kflk3LDCRt0bUQeo2LiEb3Ih-8iHjZ7tRvjM,14781
|
|
34
34
|
growsurf/resources/campaign/__init__.py,sha256=Pz3ef3fSs5bMyAJMwa_IIdVGkfYI-QV0Z1AeSraaDew,5984
|
|
35
|
-
growsurf/resources/campaign/campaign.py,sha256=
|
|
35
|
+
growsurf/resources/campaign/campaign.py,sha256=RsP44J-phS2mWnEGT2vzWmy5Ct3PfsWG664NZ6DroJE,125287
|
|
36
36
|
growsurf/resources/campaign/commission.py,sha256=Li8L2l8xRh4EXa_oD7R9RJ6m4xaA4pmt9gXTxib2Fkk,10426
|
|
37
37
|
growsurf/resources/campaign/design.py,sha256=qw5Uif4dXZX5WxeyS-Sr8b91aVpo1dMhMHwUu-whbEQ,11838
|
|
38
38
|
growsurf/resources/campaign/emails.py,sha256=kECJC5jUUAw5RmarBfOAktGkXmg-5DFKTwcHN4ygVMc,10816
|
|
@@ -57,7 +57,7 @@ growsurf/types/campaign_activation_analytics_response.py,sha256=xQWzx1qIzJtN6Ai6
|
|
|
57
57
|
growsurf/types/campaign_create_affiliate_invite_params.py,sha256=_LO57fk6qNxMSt5mfmLOZLbEqBUxJYIQlMsEZYreDTY,690
|
|
58
58
|
growsurf/types/campaign_create_mobile_participant_token_params.py,sha256=yc0au-0sDR4K5d91EDcqyXnpzjh30vHYQFAy_9POmiI,1594
|
|
59
59
|
growsurf/types/campaign_create_mobile_participant_token_response.py,sha256=IvIgtizBufLI-p9pk7MnyJj3XydHjLvdoAw-PWpPqdI,769
|
|
60
|
-
growsurf/types/campaign_create_params.py,sha256=
|
|
60
|
+
growsurf/types/campaign_create_params.py,sha256=iPfSlb87hL3mMuLfeianG_FunlEs2B8adszD-RbCo74,2944
|
|
61
61
|
growsurf/types/campaign_engagement_analytics.py,sha256=64WQ6cmdwvNE8I-a8rMCjEe_umEHV5puOcHQy_MsjH8,6399
|
|
62
62
|
growsurf/types/campaign_list_affiliate_applications_params.py,sha256=izVlk-VwOp-bzeaDaBq4IABMaIN55rV8HW2pkIaGRMs,558
|
|
63
63
|
growsurf/types/campaign_list_affiliate_invites_params.py,sha256=acShYQXfYgj8UrQnuggai-jtt-Ep8Oxc8ko4kpHCmsY,550
|
|
@@ -85,7 +85,7 @@ growsurf/types/team_update_params.py,sha256=BWe-y5FywSFF3z-riG2cd3qkZTqhbjeLBj_w
|
|
|
85
85
|
growsurf/types/verification_email_response.py,sha256=UYhx3DiXpWWgumukaezuiuIq_OME-3QE2_vG0TnwR00,292
|
|
86
86
|
growsurf/types/campaign/__init__.py,sha256=wq_LDCpJpc8M3WdwHBe02pSdxQYG0iM36LXmnsEv8g8,6627
|
|
87
87
|
growsurf/types/campaign/campaign.py,sha256=Wc-rJufK2qIJr0EuJrd4BuxDVOcCmfJ3NeiSasUvCA0,3786
|
|
88
|
-
growsurf/types/campaign/campaign_design.py,sha256=
|
|
88
|
+
growsurf/types/campaign/campaign_design.py,sha256=AszUM4w76VvwdQHBzvfxbkh4HArPjOjZgAhCuOvkNII,3300
|
|
89
89
|
growsurf/types/campaign/campaign_emails.py,sha256=KQRLNzX7Aw2KzUhZnoMN_SNwwJQMRt1xvJ9CDD96G50,716
|
|
90
90
|
growsurf/types/campaign/campaign_installation.py,sha256=jzRWItlYKibZLoJ9RUaC78SXeyvIjtHBqcEvMv7YdSI,655
|
|
91
91
|
growsurf/types/campaign/campaign_options.py,sha256=O11n1DAXcbaTBZnXZTPUTUitZI53StkXMPFTgZb9lYM,744
|
|
@@ -150,7 +150,7 @@ growsurf/types/campaign/webhook_list_response.py,sha256=tSk9nTbcsj5Y-j4RjQwu9SZc
|
|
|
150
150
|
growsurf/types/campaign/webhook_test_params.py,sha256=X1Osg9-4KGJbZauG_7rDqTE7cKCypeSzgumIhnxj9dk,468
|
|
151
151
|
growsurf/types/campaign/webhook_test_response.py,sha256=AahcckKSLUeIgpwlosOOmbkioF62xREXgLbieHAPAdI,576
|
|
152
152
|
growsurf/types/campaign/webhook_update_params.py,sha256=SavKhws8pfybC7O40ovtCreEmOwihEGPOCEX9Iua9cE,598
|
|
153
|
-
growsurf_python-1.
|
|
154
|
-
growsurf_python-1.
|
|
155
|
-
growsurf_python-1.
|
|
156
|
-
growsurf_python-1.
|
|
153
|
+
growsurf_python-1.8.0.dist-info/METADATA,sha256=6VfPb2t_SXzOL3LDbCK2N6DoTTjJkRmDlfzRu00LcM0,13949
|
|
154
|
+
growsurf_python-1.8.0.dist-info/WHEEL,sha256=C2FUgwZgiLbznR-k0b_5k3Ai_1aASOXDss3lzCUsUug,87
|
|
155
|
+
growsurf_python-1.8.0.dist-info/licenses/LICENSE,sha256=kTHLVE-ra1gtTxcn395uFqcOzcErebE-mDdPNW7b8OU,11338
|
|
156
|
+
growsurf_python-1.8.0.dist-info/RECORD,,
|
|
File without changes
|
|
File without changes
|