Skip to content

Commit d9104c5

Browse files
Automatically update Python SDK
1 parent ccc336f commit d9104c5

27 files changed

Lines changed: 408 additions & 144 deletions

pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ build-backend = "setuptools.build_meta"
44

55
[project]
66
name = "trophy"
7-
version = "1.16.0"
7+
version = "1.17.0"
88
description = "A Python library for the Trophy API"
99
license = {text = "MIT"}
1010
readme = "README.md"

trophy/.fern/metadata.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
"generatorName": "fernapi/fern-python-sdk",
44
"generatorVersion": "5.15.1",
55
"generatorConfig": {},
6-
"originGitCommit": "6fa27414d96efb5bd19536d91363e0946cf43387",
6+
"originGitCommit": "885d82705d6aef1477e8e3db3c503783d437a659",
77
"originGitCommitIsDirty": false,
88
"invokedBy": "ci",
99
"ciProvider": "github"

trophy/__init__.py

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -194,6 +194,12 @@
194194
UserPreferencesResponse,
195195
WebhookUserLeaderboardResponse,
196196
WebhooksAchievementCompletedPayload,
197+
WebhooksEmailsAchievementDuePayload,
198+
WebhooksEmailsReactivationDuePayload,
199+
WebhooksEmailsReactivationDuePayloadReactivation,
200+
WebhooksEmailsRecapDuePayload,
201+
WebhooksEmailsRecapDuePayloadRecap,
202+
WebhooksEmailsStreakReminderDuePayload,
197203
WebhooksLeaderboardChangedPayload,
198204
WebhooksLeaderboardFinishedPayload,
199205
WebhooksLeaderboardRankChangedPayload,
@@ -436,6 +442,12 @@
436442
"UsersPointsEventSummaryResponseItem": ".users",
437443
"WebhookUserLeaderboardResponse": ".types",
438444
"WebhooksAchievementCompletedPayload": ".types",
445+
"WebhooksEmailsAchievementDuePayload": ".types",
446+
"WebhooksEmailsReactivationDuePayload": ".types",
447+
"WebhooksEmailsReactivationDuePayloadReactivation": ".types",
448+
"WebhooksEmailsRecapDuePayload": ".types",
449+
"WebhooksEmailsRecapDuePayloadRecap": ".types",
450+
"WebhooksEmailsStreakReminderDuePayload": ".types",
439451
"WebhooksLeaderboardChangedPayload": ".types",
440452
"WebhooksLeaderboardFinishedPayload": ".types",
441453
"WebhooksLeaderboardRankChangedPayload": ".types",
@@ -696,6 +708,12 @@ def __dir__():
696708
"UsersPointsEventSummaryResponseItem",
697709
"WebhookUserLeaderboardResponse",
698710
"WebhooksAchievementCompletedPayload",
711+
"WebhooksEmailsAchievementDuePayload",
712+
"WebhooksEmailsReactivationDuePayload",
713+
"WebhooksEmailsReactivationDuePayloadReactivation",
714+
"WebhooksEmailsRecapDuePayload",
715+
"WebhooksEmailsRecapDuePayloadRecap",
716+
"WebhooksEmailsStreakReminderDuePayload",
699717
"WebhooksLeaderboardChangedPayload",
700718
"WebhooksLeaderboardFinishedPayload",
701719
"WebhooksLeaderboardRankChangedPayload",

trophy/achievements/client.py

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@ def all_(
5252
from trophy import TrophyApi
5353
5454
client = TrophyApi(
55-
"1.16.0",
55+
"1.17.0",
5656
tenant_id="YOUR_TENANT_ID",
5757
api_key="YOUR_API_KEY",
5858
)
@@ -90,7 +90,7 @@ def complete(
9090
from trophy import TrophyApi, UpsertedUser
9191
9292
client = TrophyApi(
93-
"1.16.0",
93+
"1.17.0",
9494
tenant_id="YOUR_TENANT_ID",
9595
api_key="YOUR_API_KEY",
9696
)
@@ -148,7 +148,7 @@ async def all_(
148148
from trophy import AsyncTrophyApi
149149
150150
client = AsyncTrophyApi(
151-
"1.16.0",
151+
"1.17.0",
152152
tenant_id="YOUR_TENANT_ID",
153153
api_key="YOUR_API_KEY",
154154
)
@@ -194,7 +194,7 @@ async def complete(
194194
from trophy import AsyncTrophyApi, UpsertedUser
195195
196196
client = AsyncTrophyApi(
197-
"1.16.0",
197+
"1.17.0",
198198
tenant_id="YOUR_TENANT_ID",
199199
api_key="YOUR_API_KEY",
200200
)

trophy/admin/attributes/client.py

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,7 @@ def list(
6363
from trophy import TrophyApi
6464
6565
client = TrophyApi(
66-
"1.16.0",
66+
"1.17.0",
6767
tenant_id="YOUR_TENANT_ID",
6868
api_key="YOUR_API_KEY",
6969
)
@@ -98,7 +98,7 @@ def create(
9898
from trophy import CreateAttributeRequestItem, TrophyApi
9999
100100
client = TrophyApi(
101-
"1.16.0",
101+
"1.17.0",
102102
tenant_id="YOUR_TENANT_ID",
103103
api_key="YOUR_API_KEY",
104104
)
@@ -147,7 +147,7 @@ def delete(
147147
from trophy import TrophyApi
148148
149149
client = TrophyApi(
150-
"1.16.0",
150+
"1.17.0",
151151
tenant_id="YOUR_TENANT_ID",
152152
api_key="YOUR_API_KEY",
153153
)
@@ -184,7 +184,7 @@ def update(
184184
from trophy import TrophyApi, UpdateAttributeRequestItem
185185
186186
client = TrophyApi(
187-
"1.16.0",
187+
"1.17.0",
188188
tenant_id="YOUR_TENANT_ID",
189189
api_key="YOUR_API_KEY",
190190
)
@@ -222,7 +222,7 @@ def get(self, id: str, *, request_options: typing.Optional[RequestOptions] = Non
222222
from trophy import TrophyApi
223223
224224
client = TrophyApi(
225-
"1.16.0",
225+
"1.17.0",
226226
tenant_id="YOUR_TENANT_ID",
227227
api_key="YOUR_API_KEY",
228228
)
@@ -282,7 +282,7 @@ async def list(
282282
from trophy import AsyncTrophyApi
283283
284284
client = AsyncTrophyApi(
285-
"1.16.0",
285+
"1.17.0",
286286
tenant_id="YOUR_TENANT_ID",
287287
api_key="YOUR_API_KEY",
288288
)
@@ -325,7 +325,7 @@ async def create(
325325
from trophy import AsyncTrophyApi, CreateAttributeRequestItem
326326
327327
client = AsyncTrophyApi(
328-
"1.16.0",
328+
"1.17.0",
329329
tenant_id="YOUR_TENANT_ID",
330330
api_key="YOUR_API_KEY",
331331
)
@@ -382,7 +382,7 @@ async def delete(
382382
from trophy import AsyncTrophyApi
383383
384384
client = AsyncTrophyApi(
385-
"1.16.0",
385+
"1.17.0",
386386
tenant_id="YOUR_TENANT_ID",
387387
api_key="YOUR_API_KEY",
388388
)
@@ -427,7 +427,7 @@ async def update(
427427
from trophy import AsyncTrophyApi, UpdateAttributeRequestItem
428428
429429
client = AsyncTrophyApi(
430-
"1.16.0",
430+
"1.17.0",
431431
tenant_id="YOUR_TENANT_ID",
432432
api_key="YOUR_API_KEY",
433433
)
@@ -473,7 +473,7 @@ async def get(self, id: str, *, request_options: typing.Optional[RequestOptions]
473473
from trophy import AsyncTrophyApi
474474
475475
client = AsyncTrophyApi(
476-
"1.16.0",
476+
"1.17.0",
477477
tenant_id="YOUR_TENANT_ID",
478478
api_key="YOUR_API_KEY",
479479
)

trophy/admin/leaderboards/client.py

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,7 @@ def list(
6363
from trophy import TrophyApi
6464
6565
client = TrophyApi(
66-
"1.16.0",
66+
"1.17.0",
6767
tenant_id="YOUR_TENANT_ID",
6868
api_key="YOUR_API_KEY",
6969
)
@@ -98,7 +98,7 @@ def create(
9898
from trophy import CreateLeaderboardRequestItem, TrophyApi
9999
100100
client = TrophyApi(
101-
"1.16.0",
101+
"1.17.0",
102102
tenant_id="YOUR_TENANT_ID",
103103
api_key="YOUR_API_KEY",
104104
)
@@ -156,7 +156,7 @@ def delete(
156156
from trophy import TrophyApi
157157
158158
client = TrophyApi(
159-
"1.16.0",
159+
"1.17.0",
160160
tenant_id="YOUR_TENANT_ID",
161161
api_key="YOUR_API_KEY",
162162
)
@@ -190,7 +190,7 @@ def update(
190190
from trophy import TrophyApi, UpdateLeaderboardRequestItem
191191
192192
client = TrophyApi(
193-
"1.16.0",
193+
"1.17.0",
194194
tenant_id="YOUR_TENANT_ID",
195195
api_key="YOUR_API_KEY",
196196
)
@@ -234,7 +234,7 @@ def get(self, id: str, *, request_options: typing.Optional[RequestOptions] = Non
234234
from trophy import TrophyApi
235235
236236
client = TrophyApi(
237-
"1.16.0",
237+
"1.17.0",
238238
tenant_id="YOUR_TENANT_ID",
239239
api_key="YOUR_API_KEY",
240240
)
@@ -294,7 +294,7 @@ async def list(
294294
from trophy import AsyncTrophyApi
295295
296296
client = AsyncTrophyApi(
297-
"1.16.0",
297+
"1.17.0",
298298
tenant_id="YOUR_TENANT_ID",
299299
api_key="YOUR_API_KEY",
300300
)
@@ -337,7 +337,7 @@ async def create(
337337
from trophy import AsyncTrophyApi, CreateLeaderboardRequestItem
338338
339339
client = AsyncTrophyApi(
340-
"1.16.0",
340+
"1.17.0",
341341
tenant_id="YOUR_TENANT_ID",
342342
api_key="YOUR_API_KEY",
343343
)
@@ -403,7 +403,7 @@ async def delete(
403403
from trophy import AsyncTrophyApi
404404
405405
client = AsyncTrophyApi(
406-
"1.16.0",
406+
"1.17.0",
407407
tenant_id="YOUR_TENANT_ID",
408408
api_key="YOUR_API_KEY",
409409
)
@@ -445,7 +445,7 @@ async def update(
445445
from trophy import AsyncTrophyApi, UpdateLeaderboardRequestItem
446446
447447
client = AsyncTrophyApi(
448-
"1.16.0",
448+
"1.17.0",
449449
tenant_id="YOUR_TENANT_ID",
450450
api_key="YOUR_API_KEY",
451451
)
@@ -497,7 +497,7 @@ async def get(self, id: str, *, request_options: typing.Optional[RequestOptions]
497497
from trophy import AsyncTrophyApi
498498
499499
client = AsyncTrophyApi(
500-
"1.16.0",
500+
"1.17.0",
501501
tenant_id="YOUR_TENANT_ID",
502502
api_key="YOUR_API_KEY",
503503
)

trophy/admin/metrics/client.py

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,7 @@ def list(
6363
from trophy import TrophyApi
6464
6565
client = TrophyApi(
66-
"1.16.0",
66+
"1.17.0",
6767
tenant_id="YOUR_TENANT_ID",
6868
api_key="YOUR_API_KEY",
6969
)
@@ -98,7 +98,7 @@ def create(
9898
from trophy import CreateMetricRequestItem, TrophyApi
9999
100100
client = TrophyApi(
101-
"1.16.0",
101+
"1.17.0",
102102
tenant_id="YOUR_TENANT_ID",
103103
api_key="YOUR_API_KEY",
104104
)
@@ -147,7 +147,7 @@ def delete(
147147
from trophy import TrophyApi
148148
149149
client = TrophyApi(
150-
"1.16.0",
150+
"1.17.0",
151151
tenant_id="YOUR_TENANT_ID",
152152
api_key="YOUR_API_KEY",
153153
)
@@ -184,7 +184,7 @@ def update(
184184
from trophy import TrophyApi, UpdateMetricRequestItem
185185
186186
client = TrophyApi(
187-
"1.16.0",
187+
"1.17.0",
188188
tenant_id="YOUR_TENANT_ID",
189189
api_key="YOUR_API_KEY",
190190
)
@@ -228,7 +228,7 @@ def get(self, id: str, *, request_options: typing.Optional[RequestOptions] = Non
228228
from trophy import TrophyApi
229229
230230
client = TrophyApi(
231-
"1.16.0",
231+
"1.17.0",
232232
tenant_id="YOUR_TENANT_ID",
233233
api_key="YOUR_API_KEY",
234234
)
@@ -288,7 +288,7 @@ async def list(
288288
from trophy import AsyncTrophyApi
289289
290290
client = AsyncTrophyApi(
291-
"1.16.0",
291+
"1.17.0",
292292
tenant_id="YOUR_TENANT_ID",
293293
api_key="YOUR_API_KEY",
294294
)
@@ -331,7 +331,7 @@ async def create(
331331
from trophy import AsyncTrophyApi, CreateMetricRequestItem
332332
333333
client = AsyncTrophyApi(
334-
"1.16.0",
334+
"1.17.0",
335335
tenant_id="YOUR_TENANT_ID",
336336
api_key="YOUR_API_KEY",
337337
)
@@ -388,7 +388,7 @@ async def delete(
388388
from trophy import AsyncTrophyApi
389389
390390
client = AsyncTrophyApi(
391-
"1.16.0",
391+
"1.17.0",
392392
tenant_id="YOUR_TENANT_ID",
393393
api_key="YOUR_API_KEY",
394394
)
@@ -433,7 +433,7 @@ async def update(
433433
from trophy import AsyncTrophyApi, UpdateMetricRequestItem
434434
435435
client = AsyncTrophyApi(
436-
"1.16.0",
436+
"1.17.0",
437437
tenant_id="YOUR_TENANT_ID",
438438
api_key="YOUR_API_KEY",
439439
)
@@ -485,7 +485,7 @@ async def get(self, id: str, *, request_options: typing.Optional[RequestOptions]
485485
from trophy import AsyncTrophyApi
486486
487487
client = AsyncTrophyApi(
488-
"1.16.0",
488+
"1.17.0",
489489
tenant_id="YOUR_TENANT_ID",
490490
api_key="YOUR_API_KEY",
491491
)

0 commit comments

Comments
 (0)