Skip to content

Commit 5b9ed8e

Browse files
Automatically update Python SDK
1 parent 3be344a commit 5b9ed8e

36 files changed

Lines changed: 1218 additions & 152 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.20.1"
7+
version = "1.21.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": "5fc8cc0be0c9b4ad63549b5685bebdbb42c108ed",
6+
"originGitCommit": "1c1de0d3d4c33e852911220e42e3ef756ec5bcf7",
77
"originGitCommitIsDirty": false,
88
"invokedBy": "ci",
99
"ciProvider": "github"

‎trophy/__init__.py‎

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -38,6 +38,8 @@
3838
AdminPointsTriggerTimeUnit,
3939
AdminPointsTriggerType,
4040
AdminPointsTriggerUserAttributesItem,
41+
AdminStreakPause,
42+
AdminStreakPauseStatus,
4143
AdminTenant,
4244
AdminTenantStatus,
4345
BaseStreakResponse,
@@ -85,6 +87,7 @@
8587
CreatePointsTriggersRequest,
8688
CreatePointsTriggersResponse,
8789
CreateStreakFreezesResponse,
90+
CreateStreakPausesResponse,
8891
CreateTenantRequestItem,
8992
CreateTenantsRequest,
9093
CreateTenantsResponse,
@@ -100,6 +103,7 @@
100103
DeletePointsLevelsResponse,
101104
DeletePointsSystemsResponse,
102105
DeletePointsTriggersResponse,
106+
DeleteStreakPausesResponse,
103107
DeleteTenantsResponse,
104108
DeletedResource,
105109
ErrorBody,
@@ -171,6 +175,7 @@
171175
StreakMetricPreference,
172176
StreakPreferences,
173177
StreakResponse,
178+
StreakResponsePausesItem,
174179
StreakResponseStreakHistoryItem,
175180
UpdateAttributeRequestItem,
176181
UpdateAttributesRequest,
@@ -278,6 +283,8 @@
278283
"AdminPointsTriggerTimeUnit": ".types",
279284
"AdminPointsTriggerType": ".types",
280285
"AdminPointsTriggerUserAttributesItem": ".types",
286+
"AdminStreakPause": ".types",
287+
"AdminStreakPauseStatus": ".types",
281288
"AdminTenant": ".types",
282289
"AdminTenantStatus": ".types",
283290
"AsyncTrophyApi": ".client",
@@ -327,6 +334,7 @@
327334
"CreatePointsTriggersRequest": ".types",
328335
"CreatePointsTriggersResponse": ".types",
329336
"CreateStreakFreezesResponse": ".types",
337+
"CreateStreakPausesResponse": ".types",
330338
"CreateTenantRequestItem": ".types",
331339
"CreateTenantsRequest": ".types",
332340
"CreateTenantsResponse": ".types",
@@ -344,6 +352,7 @@
344352
"DeletePointsLevelsResponse": ".types",
345353
"DeletePointsSystemsResponse": ".types",
346354
"DeletePointsTriggersResponse": ".types",
355+
"DeleteStreakPausesResponse": ".types",
347356
"DeleteTenantsResponse": ".types",
348357
"DeletedResource": ".types",
349358
"ErrorBody": ".types",
@@ -419,6 +428,7 @@
419428
"StreakMetricPreference": ".types",
420429
"StreakPreferences": ".types",
421430
"StreakResponse": ".types",
431+
"StreakResponsePausesItem": ".types",
422432
"StreakResponseStreakHistoryItem": ".types",
423433
"TrophyApi": ".client",
424434
"TrophyApiEnvironment": ".environment",
@@ -552,6 +562,8 @@ def __dir__():
552562
"AdminPointsTriggerTimeUnit",
553563
"AdminPointsTriggerType",
554564
"AdminPointsTriggerUserAttributesItem",
565+
"AdminStreakPause",
566+
"AdminStreakPauseStatus",
555567
"AdminTenant",
556568
"AdminTenantStatus",
557569
"AsyncTrophyApi",
@@ -601,6 +613,7 @@ def __dir__():
601613
"CreatePointsTriggersRequest",
602614
"CreatePointsTriggersResponse",
603615
"CreateStreakFreezesResponse",
616+
"CreateStreakPausesResponse",
604617
"CreateTenantRequestItem",
605618
"CreateTenantsRequest",
606619
"CreateTenantsResponse",
@@ -618,6 +631,7 @@ def __dir__():
618631
"DeletePointsLevelsResponse",
619632
"DeletePointsSystemsResponse",
620633
"DeletePointsTriggersResponse",
634+
"DeleteStreakPausesResponse",
621635
"DeleteTenantsResponse",
622636
"DeletedResource",
623637
"ErrorBody",
@@ -693,6 +707,7 @@ def __dir__():
693707
"StreakMetricPreference",
694708
"StreakPreferences",
695709
"StreakResponse",
710+
"StreakResponsePausesItem",
696711
"StreakResponseStreakHistoryItem",
697712
"TrophyApi",
698713
"TrophyApiEnvironment",

‎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.20.1",
55+
"1.21.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.20.1",
93+
"1.21.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.20.1",
151+
"1.21.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.20.1",
197+
"1.21.0",
198198
tenant_id="YOUR_TENANT_ID",
199199
api_key="YOUR_API_KEY",
200200
)

‎trophy/admin/application_api_keys/client.py‎

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@ def create(
5151
from trophy import CreateApplicationKeyRequestItem, TrophyApi
5252
5353
client = TrophyApi(
54-
"1.20.1",
54+
"1.21.0",
5555
tenant_id="YOUR_TENANT_ID",
5656
api_key="YOUR_API_KEY",
5757
)
@@ -96,7 +96,7 @@ def delete(
9696
from trophy import TrophyApi
9797
9898
client = TrophyApi(
99-
"1.20.1",
99+
"1.21.0",
100100
tenant_id="YOUR_TENANT_ID",
101101
api_key="YOUR_API_KEY",
102102
)
@@ -148,7 +148,7 @@ async def create(
148148
from trophy import AsyncTrophyApi, CreateApplicationKeyRequestItem
149149
150150
client = AsyncTrophyApi(
151-
"1.20.1",
151+
"1.21.0",
152152
tenant_id="YOUR_TENANT_ID",
153153
api_key="YOUR_API_KEY",
154154
)
@@ -201,7 +201,7 @@ async def delete(
201201
from trophy import AsyncTrophyApi
202202
203203
client = AsyncTrophyApi(
204-
"1.20.1",
204+
"1.21.0",
205205
tenant_id="YOUR_TENANT_ID",
206206
api_key="YOUR_API_KEY",
207207
)

‎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.20.1",
66+
"1.21.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.20.1",
101+
"1.21.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.20.1",
150+
"1.21.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.20.1",
187+
"1.21.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.20.1",
225+
"1.21.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.20.1",
285+
"1.21.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.20.1",
328+
"1.21.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.20.1",
385+
"1.21.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.20.1",
430+
"1.21.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.20.1",
476+
"1.21.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.20.1",
66+
"1.21.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.20.1",
101+
"1.21.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.20.1",
159+
"1.21.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.20.1",
193+
"1.21.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.20.1",
237+
"1.21.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.20.1",
297+
"1.21.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.20.1",
340+
"1.21.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.20.1",
406+
"1.21.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.20.1",
448+
"1.21.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.20.1",
500+
"1.21.0",
501501
tenant_id="YOUR_TENANT_ID",
502502
api_key="YOUR_API_KEY",
503503
)

0 commit comments

Comments
 (0)