growsurf-python 0.3.0__tar.gz → 0.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.
- growsurf_python-0.4.0/.release-please-manifest.json +3 -0
- {growsurf_python-0.3.0 → growsurf_python-0.4.0}/CHANGELOG.md +8 -0
- {growsurf_python-0.3.0 → growsurf_python-0.4.0}/PKG-INFO +1 -1
- {growsurf_python-0.3.0 → growsurf_python-0.4.0}/pyproject.toml +1 -1
- {growsurf_python-0.3.0 → growsurf_python-0.4.0}/src/growsurf/_version.py +1 -1
- {growsurf_python-0.3.0 → growsurf_python-0.4.0}/src/growsurf/resources/campaign/campaign.py +10 -0
- {growsurf_python-0.3.0 → growsurf_python-0.4.0}/src/growsurf/resources/campaign/participant.py +10 -0
- {growsurf_python-0.3.0 → growsurf_python-0.4.0}/src/growsurf/types/campaign/participant.py +6 -0
- {growsurf_python-0.3.0 → growsurf_python-0.4.0}/src/growsurf/types/campaign/participant_add_params.py +6 -0
- {growsurf_python-0.3.0 → growsurf_python-0.4.0}/src/growsurf/types/campaign_create_mobile_participant_token_params.py +6 -0
- {growsurf_python-0.3.0 → growsurf_python-0.4.0}/tests/api_resources/campaign/test_participant.py +2 -0
- {growsurf_python-0.3.0 → growsurf_python-0.4.0}/tests/api_resources/test_campaign.py +2 -0
- growsurf_python-0.3.0/.release-please-manifest.json +0 -3
- {growsurf_python-0.3.0 → growsurf_python-0.4.0}/.gitignore +0 -0
- {growsurf_python-0.3.0 → growsurf_python-0.4.0}/CONTRIBUTING.md +0 -0
- {growsurf_python-0.3.0 → growsurf_python-0.4.0}/LICENSE +0 -0
- {growsurf_python-0.3.0 → growsurf_python-0.4.0}/README.md +0 -0
- {growsurf_python-0.3.0 → growsurf_python-0.4.0}/SECURITY.md +0 -0
- {growsurf_python-0.3.0 → growsurf_python-0.4.0}/api.md +0 -0
- {growsurf_python-0.3.0 → growsurf_python-0.4.0}/bin/check-release-environment +0 -0
- {growsurf_python-0.3.0 → growsurf_python-0.4.0}/bin/publish-pypi +0 -0
- {growsurf_python-0.3.0 → growsurf_python-0.4.0}/examples/.keep +0 -0
- {growsurf_python-0.3.0 → growsurf_python-0.4.0}/release-please-config.json +0 -0
- {growsurf_python-0.3.0 → growsurf_python-0.4.0}/requirements-dev.lock +0 -0
- {growsurf_python-0.3.0 → growsurf_python-0.4.0}/src/growsurf/__init__.py +0 -0
- {growsurf_python-0.3.0 → growsurf_python-0.4.0}/src/growsurf/_base_client.py +0 -0
- {growsurf_python-0.3.0 → growsurf_python-0.4.0}/src/growsurf/_client.py +0 -0
- {growsurf_python-0.3.0 → growsurf_python-0.4.0}/src/growsurf/_compat.py +0 -0
- {growsurf_python-0.3.0 → growsurf_python-0.4.0}/src/growsurf/_constants.py +0 -0
- {growsurf_python-0.3.0 → growsurf_python-0.4.0}/src/growsurf/_exceptions.py +0 -0
- {growsurf_python-0.3.0 → growsurf_python-0.4.0}/src/growsurf/_files.py +0 -0
- {growsurf_python-0.3.0 → growsurf_python-0.4.0}/src/growsurf/_models.py +0 -0
- {growsurf_python-0.3.0 → growsurf_python-0.4.0}/src/growsurf/_qs.py +0 -0
- {growsurf_python-0.3.0 → growsurf_python-0.4.0}/src/growsurf/_resource.py +0 -0
- {growsurf_python-0.3.0 → growsurf_python-0.4.0}/src/growsurf/_response.py +0 -0
- {growsurf_python-0.3.0 → growsurf_python-0.4.0}/src/growsurf/_streaming.py +0 -0
- {growsurf_python-0.3.0 → growsurf_python-0.4.0}/src/growsurf/_types.py +0 -0
- {growsurf_python-0.3.0 → growsurf_python-0.4.0}/src/growsurf/_utils/__init__.py +0 -0
- {growsurf_python-0.3.0 → growsurf_python-0.4.0}/src/growsurf/_utils/_compat.py +0 -0
- {growsurf_python-0.3.0 → growsurf_python-0.4.0}/src/growsurf/_utils/_datetime_parse.py +0 -0
- {growsurf_python-0.3.0 → growsurf_python-0.4.0}/src/growsurf/_utils/_json.py +0 -0
- {growsurf_python-0.3.0 → growsurf_python-0.4.0}/src/growsurf/_utils/_logs.py +0 -0
- {growsurf_python-0.3.0 → growsurf_python-0.4.0}/src/growsurf/_utils/_path.py +0 -0
- {growsurf_python-0.3.0 → growsurf_python-0.4.0}/src/growsurf/_utils/_proxy.py +0 -0
- {growsurf_python-0.3.0 → growsurf_python-0.4.0}/src/growsurf/_utils/_reflection.py +0 -0
- {growsurf_python-0.3.0 → growsurf_python-0.4.0}/src/growsurf/_utils/_resources_proxy.py +0 -0
- {growsurf_python-0.3.0 → growsurf_python-0.4.0}/src/growsurf/_utils/_streams.py +0 -0
- {growsurf_python-0.3.0 → growsurf_python-0.4.0}/src/growsurf/_utils/_sync.py +0 -0
- {growsurf_python-0.3.0 → growsurf_python-0.4.0}/src/growsurf/_utils/_transform.py +0 -0
- {growsurf_python-0.3.0 → growsurf_python-0.4.0}/src/growsurf/_utils/_typing.py +0 -0
- {growsurf_python-0.3.0 → growsurf_python-0.4.0}/src/growsurf/_utils/_utils.py +0 -0
- {growsurf_python-0.3.0 → growsurf_python-0.4.0}/src/growsurf/lib/.keep +0 -0
- {growsurf_python-0.3.0 → growsurf_python-0.4.0}/src/growsurf/py.typed +0 -0
- {growsurf_python-0.3.0 → growsurf_python-0.4.0}/src/growsurf/resources/__init__.py +0 -0
- {growsurf_python-0.3.0 → growsurf_python-0.4.0}/src/growsurf/resources/campaign/__init__.py +0 -0
- {growsurf_python-0.3.0 → growsurf_python-0.4.0}/src/growsurf/resources/campaign/commission.py +0 -0
- {growsurf_python-0.3.0 → growsurf_python-0.4.0}/src/growsurf/resources/campaign/reward.py +0 -0
- {growsurf_python-0.3.0 → growsurf_python-0.4.0}/src/growsurf/types/__init__.py +0 -0
- {growsurf_python-0.3.0 → growsurf_python-0.4.0}/src/growsurf/types/campaign/__init__.py +0 -0
- {growsurf_python-0.3.0 → growsurf_python-0.4.0}/src/growsurf/types/campaign/campaign.py +0 -0
- {growsurf_python-0.3.0 → growsurf_python-0.4.0}/src/growsurf/types/campaign/commission_approve_response.py +0 -0
- {growsurf_python-0.3.0 → growsurf_python-0.4.0}/src/growsurf/types/campaign/commission_delete_response.py +0 -0
- {growsurf_python-0.3.0 → growsurf_python-0.4.0}/src/growsurf/types/campaign/fraud_risk_level.py +0 -0
- {growsurf_python-0.3.0 → growsurf_python-0.4.0}/src/growsurf/types/campaign/participant_delete_response.py +0 -0
- {growsurf_python-0.3.0 → growsurf_python-0.4.0}/src/growsurf/types/campaign/participant_list_commissions_params.py +0 -0
- {growsurf_python-0.3.0 → growsurf_python-0.4.0}/src/growsurf/types/campaign/participant_list_payouts_params.py +0 -0
- {growsurf_python-0.3.0 → growsurf_python-0.4.0}/src/growsurf/types/campaign/participant_list_referrals_params.py +0 -0
- {growsurf_python-0.3.0 → growsurf_python-0.4.0}/src/growsurf/types/campaign/participant_list_rewards_params.py +0 -0
- {growsurf_python-0.3.0 → growsurf_python-0.4.0}/src/growsurf/types/campaign/participant_list_rewards_response.py +0 -0
- {growsurf_python-0.3.0 → growsurf_python-0.4.0}/src/growsurf/types/campaign/participant_record_transaction_params.py +0 -0
- {growsurf_python-0.3.0 → growsurf_python-0.4.0}/src/growsurf/types/campaign/participant_record_transaction_response.py +0 -0
- {growsurf_python-0.3.0 → growsurf_python-0.4.0}/src/growsurf/types/campaign/participant_reward.py +0 -0
- {growsurf_python-0.3.0 → growsurf_python-0.4.0}/src/growsurf/types/campaign/participant_send_invites_params.py +0 -0
- {growsurf_python-0.3.0 → growsurf_python-0.4.0}/src/growsurf/types/campaign/participant_send_invites_response.py +0 -0
- {growsurf_python-0.3.0 → growsurf_python-0.4.0}/src/growsurf/types/campaign/participant_trigger_referral_response.py +0 -0
- {growsurf_python-0.3.0 → growsurf_python-0.4.0}/src/growsurf/types/campaign/participant_update_params.py +0 -0
- {growsurf_python-0.3.0 → growsurf_python-0.4.0}/src/growsurf/types/campaign/referral_source.py +0 -0
- {growsurf_python-0.3.0 → growsurf_python-0.4.0}/src/growsurf/types/campaign/referral_status.py +0 -0
- {growsurf_python-0.3.0 → growsurf_python-0.4.0}/src/growsurf/types/campaign/reward_approve_params.py +0 -0
- {growsurf_python-0.3.0 → growsurf_python-0.4.0}/src/growsurf/types/campaign/reward_approve_response.py +0 -0
- {growsurf_python-0.3.0 → growsurf_python-0.4.0}/src/growsurf/types/campaign/reward_delete_response.py +0 -0
- {growsurf_python-0.3.0 → growsurf_python-0.4.0}/src/growsurf/types/campaign/reward_fulfill_response.py +0 -0
- {growsurf_python-0.3.0 → growsurf_python-0.4.0}/src/growsurf/types/campaign_create_mobile_participant_token_response.py +0 -0
- {growsurf_python-0.3.0 → growsurf_python-0.4.0}/src/growsurf/types/campaign_list_commissions_params.py +0 -0
- {growsurf_python-0.3.0 → growsurf_python-0.4.0}/src/growsurf/types/campaign_list_leaderboard_params.py +0 -0
- {growsurf_python-0.3.0 → growsurf_python-0.4.0}/src/growsurf/types/campaign_list_participants_params.py +0 -0
- {growsurf_python-0.3.0 → growsurf_python-0.4.0}/src/growsurf/types/campaign_list_payouts_params.py +0 -0
- {growsurf_python-0.3.0 → growsurf_python-0.4.0}/src/growsurf/types/campaign_list_referrals_params.py +0 -0
- {growsurf_python-0.3.0 → growsurf_python-0.4.0}/src/growsurf/types/campaign_list_response.py +0 -0
- {growsurf_python-0.3.0 → growsurf_python-0.4.0}/src/growsurf/types/campaign_retrieve_analytics_params.py +0 -0
- {growsurf_python-0.3.0 → growsurf_python-0.4.0}/src/growsurf/types/campaign_retrieve_analytics_response.py +0 -0
- {growsurf_python-0.3.0 → growsurf_python-0.4.0}/src/growsurf/types/commission_structure.py +0 -0
- {growsurf_python-0.3.0 → growsurf_python-0.4.0}/src/growsurf/types/participant_commission_list.py +0 -0
- {growsurf_python-0.3.0 → growsurf_python-0.4.0}/src/growsurf/types/participant_list.py +0 -0
- {growsurf_python-0.3.0 → growsurf_python-0.4.0}/src/growsurf/types/participant_payout_list.py +0 -0
- {growsurf_python-0.3.0 → growsurf_python-0.4.0}/src/growsurf/types/referral_list.py +0 -0
- {growsurf_python-0.3.0 → growsurf_python-0.4.0}/tests/__init__.py +0 -0
- {growsurf_python-0.3.0 → growsurf_python-0.4.0}/tests/api_resources/__init__.py +0 -0
- {growsurf_python-0.3.0 → growsurf_python-0.4.0}/tests/api_resources/campaign/__init__.py +0 -0
- {growsurf_python-0.3.0 → growsurf_python-0.4.0}/tests/api_resources/campaign/test_commission.py +0 -0
- {growsurf_python-0.3.0 → growsurf_python-0.4.0}/tests/api_resources/campaign/test_reward.py +0 -0
- {growsurf_python-0.3.0 → growsurf_python-0.4.0}/tests/conftest.py +0 -0
- {growsurf_python-0.3.0 → growsurf_python-0.4.0}/tests/sample_file.txt +0 -0
- {growsurf_python-0.3.0 → growsurf_python-0.4.0}/tests/test_client.py +0 -0
- {growsurf_python-0.3.0 → growsurf_python-0.4.0}/tests/test_extract_files.py +0 -0
- {growsurf_python-0.3.0 → growsurf_python-0.4.0}/tests/test_files.py +0 -0
- {growsurf_python-0.3.0 → growsurf_python-0.4.0}/tests/test_models.py +0 -0
- {growsurf_python-0.3.0 → growsurf_python-0.4.0}/tests/test_qs.py +0 -0
- {growsurf_python-0.3.0 → growsurf_python-0.4.0}/tests/test_required_args.py +0 -0
- {growsurf_python-0.3.0 → growsurf_python-0.4.0}/tests/test_response.py +0 -0
- {growsurf_python-0.3.0 → growsurf_python-0.4.0}/tests/test_streaming.py +0 -0
- {growsurf_python-0.3.0 → growsurf_python-0.4.0}/tests/test_transform.py +0 -0
- {growsurf_python-0.3.0 → growsurf_python-0.4.0}/tests/test_utils/test_datetime_parse.py +0 -0
- {growsurf_python-0.3.0 → growsurf_python-0.4.0}/tests/test_utils/test_json.py +0 -0
- {growsurf_python-0.3.0 → growsurf_python-0.4.0}/tests/test_utils/test_path.py +0 -0
- {growsurf_python-0.3.0 → growsurf_python-0.4.0}/tests/test_utils/test_proxy.py +0 -0
- {growsurf_python-0.3.0 → growsurf_python-0.4.0}/tests/test_utils/test_typing.py +0 -0
- {growsurf_python-0.3.0 → growsurf_python-0.4.0}/tests/utils.py +0 -0
- {growsurf_python-0.3.0 → growsurf_python-0.4.0}/uv.lock +0 -0
|
@@ -1,5 +1,13 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
+
## 0.4.0 (2026-05-20)
|
|
4
|
+
|
|
5
|
+
Full Changelog: [v0.3.0...v0.4.0](https://github.com/growsurf/growsurf-python/compare/v0.3.0...v0.4.0)
|
|
6
|
+
|
|
7
|
+
### Features
|
|
8
|
+
|
|
9
|
+
* **api:** Add Participant.mobileInstanceId ([0dc8db9](https://github.com/growsurf/growsurf-python/commit/0dc8db9d24e075b782975aaa5236281fb8d4c5fd))
|
|
10
|
+
|
|
3
11
|
## 0.3.0 (2026-05-19)
|
|
4
12
|
|
|
5
13
|
Full Changelog: [v0.2.0...v0.3.0](https://github.com/growsurf/growsurf-python/compare/v0.2.0...v0.3.0)
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.3
|
|
2
2
|
Name: growsurf-python
|
|
3
|
-
Version: 0.
|
|
3
|
+
Version: 0.4.0
|
|
4
4
|
Summary: The official Python library for the growsurf API
|
|
5
5
|
Project-URL: Homepage, https://github.com/growsurf/growsurf-python
|
|
6
6
|
Project-URL: Repository, https://github.com/growsurf/growsurf-python
|
|
@@ -161,6 +161,7 @@ class CampaignResource(SyncAPIResource):
|
|
|
161
161
|
ip_address: str | Omit = omit,
|
|
162
162
|
last_name: str | Omit = omit,
|
|
163
163
|
metadata: Dict[str, object] | Omit = omit,
|
|
164
|
+
mobile_instance_id: str | Omit = omit,
|
|
164
165
|
referral_status: Literal["CREDIT_PENDING", "CREDIT_AWARDED"] | Omit = omit,
|
|
165
166
|
referred_by: str | Omit = omit,
|
|
166
167
|
# Use the following arguments if you need to pass additional parameters to the API that aren't available via kwargs.
|
|
@@ -179,6 +180,9 @@ class CampaignResource(SyncAPIResource):
|
|
|
179
180
|
Args:
|
|
180
181
|
metadata: Shallow custom metadata object.
|
|
181
182
|
|
|
183
|
+
mobile_instance_id: Optional app-install scoped identifier for native mobile anti-fraud. Recommended
|
|
184
|
+
for mobile participant creation and mobile participant token flows.
|
|
185
|
+
|
|
182
186
|
referred_by: Referrer participant ID or email address.
|
|
183
187
|
|
|
184
188
|
extra_headers: Send extra headers
|
|
@@ -201,6 +205,7 @@ class CampaignResource(SyncAPIResource):
|
|
|
201
205
|
"ip_address": ip_address,
|
|
202
206
|
"last_name": last_name,
|
|
203
207
|
"metadata": metadata,
|
|
208
|
+
"mobile_instance_id": mobile_instance_id,
|
|
204
209
|
"referral_status": referral_status,
|
|
205
210
|
"referred_by": referred_by,
|
|
206
211
|
},
|
|
@@ -666,6 +671,7 @@ class AsyncCampaignResource(AsyncAPIResource):
|
|
|
666
671
|
ip_address: str | Omit = omit,
|
|
667
672
|
last_name: str | Omit = omit,
|
|
668
673
|
metadata: Dict[str, object] | Omit = omit,
|
|
674
|
+
mobile_instance_id: str | Omit = omit,
|
|
669
675
|
referral_status: Literal["CREDIT_PENDING", "CREDIT_AWARDED"] | Omit = omit,
|
|
670
676
|
referred_by: str | Omit = omit,
|
|
671
677
|
# Use the following arguments if you need to pass additional parameters to the API that aren't available via kwargs.
|
|
@@ -684,6 +690,9 @@ class AsyncCampaignResource(AsyncAPIResource):
|
|
|
684
690
|
Args:
|
|
685
691
|
metadata: Shallow custom metadata object.
|
|
686
692
|
|
|
693
|
+
mobile_instance_id: Optional app-install scoped identifier for native mobile anti-fraud. Recommended
|
|
694
|
+
for mobile participant creation and mobile participant token flows.
|
|
695
|
+
|
|
687
696
|
referred_by: Referrer participant ID or email address.
|
|
688
697
|
|
|
689
698
|
extra_headers: Send extra headers
|
|
@@ -706,6 +715,7 @@ class AsyncCampaignResource(AsyncAPIResource):
|
|
|
706
715
|
"ip_address": ip_address,
|
|
707
716
|
"last_name": last_name,
|
|
708
717
|
"metadata": metadata,
|
|
718
|
+
"mobile_instance_id": mobile_instance_id,
|
|
709
719
|
"referral_status": referral_status,
|
|
710
720
|
"referred_by": referred_by,
|
|
711
721
|
},
|
{growsurf_python-0.3.0 → growsurf_python-0.4.0}/src/growsurf/resources/campaign/participant.py
RENAMED
|
@@ -222,6 +222,7 @@ class ParticipantResource(SyncAPIResource):
|
|
|
222
222
|
ip_address: str | Omit = omit,
|
|
223
223
|
last_name: str | Omit = omit,
|
|
224
224
|
metadata: Dict[str, object] | Omit = omit,
|
|
225
|
+
mobile_instance_id: str | Omit = omit,
|
|
225
226
|
referral_status: Literal["CREDIT_PENDING", "CREDIT_AWARDED"] | Omit = omit,
|
|
226
227
|
referred_by: str | Omit = omit,
|
|
227
228
|
# Use the following arguments if you need to pass additional parameters to the API that aren't available via kwargs.
|
|
@@ -239,6 +240,9 @@ class ParticipantResource(SyncAPIResource):
|
|
|
239
240
|
Args:
|
|
240
241
|
metadata: Shallow custom metadata object.
|
|
241
242
|
|
|
243
|
+
mobile_instance_id: Optional app-install scoped identifier for native mobile anti-fraud. Recommended
|
|
244
|
+
for mobile participant creation and mobile participant token flows.
|
|
245
|
+
|
|
242
246
|
referred_by: Referrer participant ID or email address.
|
|
243
247
|
|
|
244
248
|
extra_headers: Send extra headers
|
|
@@ -261,6 +265,7 @@ class ParticipantResource(SyncAPIResource):
|
|
|
261
265
|
"ip_address": ip_address,
|
|
262
266
|
"last_name": last_name,
|
|
263
267
|
"metadata": metadata,
|
|
268
|
+
"mobile_instance_id": mobile_instance_id,
|
|
264
269
|
"referral_status": referral_status,
|
|
265
270
|
"referred_by": referred_by,
|
|
266
271
|
},
|
|
@@ -916,6 +921,7 @@ class AsyncParticipantResource(AsyncAPIResource):
|
|
|
916
921
|
ip_address: str | Omit = omit,
|
|
917
922
|
last_name: str | Omit = omit,
|
|
918
923
|
metadata: Dict[str, object] | Omit = omit,
|
|
924
|
+
mobile_instance_id: str | Omit = omit,
|
|
919
925
|
referral_status: Literal["CREDIT_PENDING", "CREDIT_AWARDED"] | Omit = omit,
|
|
920
926
|
referred_by: str | Omit = omit,
|
|
921
927
|
# Use the following arguments if you need to pass additional parameters to the API that aren't available via kwargs.
|
|
@@ -933,6 +939,9 @@ class AsyncParticipantResource(AsyncAPIResource):
|
|
|
933
939
|
Args:
|
|
934
940
|
metadata: Shallow custom metadata object.
|
|
935
941
|
|
|
942
|
+
mobile_instance_id: Optional app-install scoped identifier for native mobile anti-fraud. Recommended
|
|
943
|
+
for mobile participant creation and mobile participant token flows.
|
|
944
|
+
|
|
936
945
|
referred_by: Referrer participant ID or email address.
|
|
937
946
|
|
|
938
947
|
extra_headers: Send extra headers
|
|
@@ -955,6 +964,7 @@ class AsyncParticipantResource(AsyncAPIResource):
|
|
|
955
964
|
"ip_address": ip_address,
|
|
956
965
|
"last_name": last_name,
|
|
957
966
|
"metadata": metadata,
|
|
967
|
+
"mobile_instance_id": mobile_instance_id,
|
|
958
968
|
"referral_status": referral_status,
|
|
959
969
|
"referred_by": referred_by,
|
|
960
970
|
},
|
|
@@ -114,6 +114,12 @@ class Participant(BaseModel):
|
|
|
114
114
|
metadata: Optional[Dict[str, object]] = None
|
|
115
115
|
"""Shallow custom metadata object."""
|
|
116
116
|
|
|
117
|
+
mobile_instance_id: Optional[str] = FieldInfo(alias="mobileInstanceId", default=None)
|
|
118
|
+
"""
|
|
119
|
+
App-install scoped mobile identifier used for anti-fraud matching when provided
|
|
120
|
+
by native mobile apps. Not stored when strict GDPR/CCPA mode is enabled.
|
|
121
|
+
"""
|
|
122
|
+
|
|
117
123
|
monthly_referrals: Optional[List[str]] = FieldInfo(alias="monthlyReferrals", default=None)
|
|
118
124
|
|
|
119
125
|
notes: Optional[str] = None
|
|
@@ -24,6 +24,12 @@ class ParticipantAddParams(TypedDict, total=False):
|
|
|
24
24
|
metadata: Dict[str, object]
|
|
25
25
|
"""Shallow custom metadata object."""
|
|
26
26
|
|
|
27
|
+
mobile_instance_id: Annotated[str, PropertyInfo(alias="mobileInstanceId")]
|
|
28
|
+
"""Optional app-install scoped identifier for native mobile anti-fraud.
|
|
29
|
+
|
|
30
|
+
Recommended for mobile participant creation and mobile participant token flows.
|
|
31
|
+
"""
|
|
32
|
+
|
|
27
33
|
referral_status: Annotated[Literal["CREDIT_PENDING", "CREDIT_AWARDED"], PropertyInfo(alias="referralStatus")]
|
|
28
34
|
|
|
29
35
|
referred_by: Annotated[str, PropertyInfo(alias="referredBy")]
|
|
@@ -24,6 +24,12 @@ class CampaignCreateMobileParticipantTokenParams(TypedDict, total=False):
|
|
|
24
24
|
metadata: Dict[str, object]
|
|
25
25
|
"""Shallow custom metadata object."""
|
|
26
26
|
|
|
27
|
+
mobile_instance_id: Annotated[str, PropertyInfo(alias="mobileInstanceId")]
|
|
28
|
+
"""Optional app-install scoped identifier for native mobile anti-fraud.
|
|
29
|
+
|
|
30
|
+
Recommended for mobile participant creation and mobile participant token flows.
|
|
31
|
+
"""
|
|
32
|
+
|
|
27
33
|
referral_status: Annotated[Literal["CREDIT_PENDING", "CREDIT_AWARDED"], PropertyInfo(alias="referralStatus")]
|
|
28
34
|
|
|
29
35
|
referred_by: Annotated[str, PropertyInfo(alias="referredBy")]
|
{growsurf_python-0.3.0 → growsurf_python-0.4.0}/tests/api_resources/campaign/test_participant.py
RENAMED
|
@@ -224,6 +224,7 @@ class TestParticipant:
|
|
|
224
224
|
ip_address="ipAddress",
|
|
225
225
|
last_name="lastName",
|
|
226
226
|
metadata={"foo": "bar"},
|
|
227
|
+
mobile_instance_id="mobileInstanceId",
|
|
227
228
|
referral_status="CREDIT_PENDING",
|
|
228
229
|
referred_by="referredBy",
|
|
229
230
|
)
|
|
@@ -959,6 +960,7 @@ class TestAsyncParticipant:
|
|
|
959
960
|
ip_address="ipAddress",
|
|
960
961
|
last_name="lastName",
|
|
961
962
|
metadata={"foo": "bar"},
|
|
963
|
+
mobile_instance_id="mobileInstanceId",
|
|
962
964
|
referral_status="CREDIT_PENDING",
|
|
963
965
|
referred_by="referredBy",
|
|
964
966
|
)
|
|
@@ -116,6 +116,7 @@ class TestCampaign:
|
|
|
116
116
|
ip_address="ipAddress",
|
|
117
117
|
last_name="lastName",
|
|
118
118
|
metadata={"foo": "bar"},
|
|
119
|
+
mobile_instance_id="mobileInstanceId",
|
|
119
120
|
referral_status="CREDIT_PENDING",
|
|
120
121
|
referred_by="referredBy",
|
|
121
122
|
)
|
|
@@ -578,6 +579,7 @@ class TestAsyncCampaign:
|
|
|
578
579
|
ip_address="ipAddress",
|
|
579
580
|
last_name="lastName",
|
|
580
581
|
metadata={"foo": "bar"},
|
|
582
|
+
mobile_instance_id="mobileInstanceId",
|
|
581
583
|
referral_status="CREDIT_PENDING",
|
|
582
584
|
referred_by="referredBy",
|
|
583
585
|
)
|
|
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
|
|
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
|
{growsurf_python-0.3.0 → growsurf_python-0.4.0}/src/growsurf/resources/campaign/commission.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{growsurf_python-0.3.0 → growsurf_python-0.4.0}/src/growsurf/types/campaign/fraud_risk_level.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
|
{growsurf_python-0.3.0 → growsurf_python-0.4.0}/src/growsurf/types/campaign/participant_reward.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{growsurf_python-0.3.0 → growsurf_python-0.4.0}/src/growsurf/types/campaign/referral_source.py
RENAMED
|
File without changes
|
{growsurf_python-0.3.0 → growsurf_python-0.4.0}/src/growsurf/types/campaign/referral_status.py
RENAMED
|
File without changes
|
{growsurf_python-0.3.0 → growsurf_python-0.4.0}/src/growsurf/types/campaign/reward_approve_params.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
|
{growsurf_python-0.3.0 → growsurf_python-0.4.0}/src/growsurf/types/campaign_list_payouts_params.py
RENAMED
|
File without changes
|
{growsurf_python-0.3.0 → growsurf_python-0.4.0}/src/growsurf/types/campaign_list_referrals_params.py
RENAMED
|
File without changes
|
{growsurf_python-0.3.0 → growsurf_python-0.4.0}/src/growsurf/types/campaign_list_response.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{growsurf_python-0.3.0 → growsurf_python-0.4.0}/src/growsurf/types/participant_commission_list.py
RENAMED
|
File without changes
|
|
File without changes
|
{growsurf_python-0.3.0 → growsurf_python-0.4.0}/src/growsurf/types/participant_payout_list.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{growsurf_python-0.3.0 → growsurf_python-0.4.0}/tests/api_resources/campaign/test_commission.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
|