Skip to content

Commit c84a264

Browse files
Automatically update staging Python SDK
1 parent 35749f7 commit c84a264

35 files changed

Lines changed: 620 additions & 178 deletions

File tree

‎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.25.0b0"
7+
version = "1.26.0b0"
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": "affe2275d9c9bfd075212104623f7465daeb3cb3",
6+
"originGitCommit": "b1f42d1d60ff1412e5e38e070b24fac121d35f37",
77
"originGitCommitIsDirty": true,
88
"invokedBy": "ci",
99
"ciProvider": "github"

‎trophy/__init__.py‎

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -196,6 +196,7 @@
196196
PointsTriggerTimeUnit,
197197
PointsTriggerType,
198198
PointsTriggerUserAttributesItem,
199+
ResetStreaksResponse,
199200
RestoreStreaksResponse,
200201
StreakEvaluationModePreference,
201202
StreakFrequency,
@@ -492,6 +493,7 @@
492493
"PointsTriggerTimeUnit": ".types",
493494
"PointsTriggerType": ".types",
494495
"PointsTriggerUserAttributesItem": ".types",
496+
"ResetStreaksResponse": ".types",
495497
"RestoreStreaksResponse": ".types",
496498
"StreakEvaluationModePreference": ".types",
497499
"StreakFrequency": ".types",
@@ -814,6 +816,7 @@ def __dir__():
814816
"PointsTriggerTimeUnit",
815817
"PointsTriggerType",
816818
"PointsTriggerUserAttributesItem",
819+
"ResetStreaksResponse",
817820
"RestoreStreaksResponse",
818821
"StreakEvaluationModePreference",
819822
"StreakFrequency",

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

‎trophy/admin/__init__.py‎

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,8 +18,9 @@
1818
streaks,
1919
tenants,
2020
)
21-
from .streaks import RestoreStreaksRequestUsersItem
21+
from .streaks import ResetStreaksRequestUsersItem, RestoreStreaksRequestUsersItem
2222
_dynamic_imports: typing.Dict[str, str] = {
23+
"ResetStreaksRequestUsersItem": ".streaks",
2324
"RestoreStreaksRequestUsersItem": ".streaks",
2425
"achievements": ".achievements",
2526
"application_api_keys": ".application_api_keys",
@@ -56,6 +57,7 @@ def __dir__():
5657

5758

5859
__all__ = [
60+
"ResetStreaksRequestUsersItem",
5961
"RestoreStreaksRequestUsersItem",
6062
"achievements",
6163
"application_api_keys",

‎trophy/admin/achievements/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.25.0",
66+
"1.26.0",
6767
tenant_id="YOUR_TENANT_ID",
6868
api_key="YOUR_API_KEY",
6969
)
@@ -98,7 +98,7 @@ def create(
9898
from trophy import CreateAchievementRequestItem, TrophyApi
9999
100100
client = TrophyApi(
101-
"1.25.0",
101+
"1.26.0",
102102
tenant_id="YOUR_TENANT_ID",
103103
api_key="YOUR_API_KEY",
104104
)
@@ -148,7 +148,7 @@ def delete(
148148
from trophy import TrophyApi
149149
150150
client = TrophyApi(
151-
"1.25.0",
151+
"1.26.0",
152152
tenant_id="YOUR_TENANT_ID",
153153
api_key="YOUR_API_KEY",
154154
)
@@ -185,7 +185,7 @@ def update(
185185
from trophy import TrophyApi, UpdateAchievementRequestItem
186186
187187
client = TrophyApi(
188-
"1.25.0",
188+
"1.26.0",
189189
tenant_id="YOUR_TENANT_ID",
190190
api_key="YOUR_API_KEY",
191191
)
@@ -224,7 +224,7 @@ def get(self, id: str, *, request_options: typing.Optional[RequestOptions] = Non
224224
from trophy import TrophyApi
225225
226226
client = TrophyApi(
227-
"1.25.0",
227+
"1.26.0",
228228
tenant_id="YOUR_TENANT_ID",
229229
api_key="YOUR_API_KEY",
230230
)
@@ -284,7 +284,7 @@ async def list(
284284
from trophy import AsyncTrophyApi
285285
286286
client = AsyncTrophyApi(
287-
"1.25.0",
287+
"1.26.0",
288288
tenant_id="YOUR_TENANT_ID",
289289
api_key="YOUR_API_KEY",
290290
)
@@ -327,7 +327,7 @@ async def create(
327327
from trophy import AsyncTrophyApi, CreateAchievementRequestItem
328328
329329
client = AsyncTrophyApi(
330-
"1.25.0",
330+
"1.26.0",
331331
tenant_id="YOUR_TENANT_ID",
332332
api_key="YOUR_API_KEY",
333333
)
@@ -385,7 +385,7 @@ async def delete(
385385
from trophy import AsyncTrophyApi
386386
387387
client = AsyncTrophyApi(
388-
"1.25.0",
388+
"1.26.0",
389389
tenant_id="YOUR_TENANT_ID",
390390
api_key="YOUR_API_KEY",
391391
)
@@ -430,7 +430,7 @@ async def update(
430430
from trophy import AsyncTrophyApi, UpdateAchievementRequestItem
431431
432432
client = AsyncTrophyApi(
433-
"1.25.0",
433+
"1.26.0",
434434
tenant_id="YOUR_TENANT_ID",
435435
api_key="YOUR_API_KEY",
436436
)
@@ -477,7 +477,7 @@ async def get(self, id: str, *, request_options: typing.Optional[RequestOptions]
477477
from trophy import AsyncTrophyApi
478478
479479
client = AsyncTrophyApi(
480-
"1.25.0",
480+
"1.26.0",
481481
tenant_id="YOUR_TENANT_ID",
482482
api_key="YOUR_API_KEY",
483483
)

‎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.25.0",
54+
"1.26.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.25.0",
99+
"1.26.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.25.0",
151+
"1.26.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.25.0",
204+
"1.26.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.25.0",
66+
"1.26.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.25.0",
101+
"1.26.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.25.0",
150+
"1.26.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.25.0",
187+
"1.26.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.25.0",
225+
"1.26.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.25.0",
285+
"1.26.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.25.0",
328+
"1.26.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.25.0",
385+
"1.26.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.25.0",
430+
"1.26.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.25.0",
476+
"1.26.0",
477477
tenant_id="YOUR_TENANT_ID",
478478
api_key="YOUR_API_KEY",
479479
)

‎trophy/admin/environments/client.py‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ def list(self, *, request_options: typing.Optional[RequestOptions] = None) -> Li
4242
from trophy import TrophyApi
4343
4444
client = TrophyApi(
45-
"1.25.0",
45+
"1.26.0",
4646
tenant_id="YOUR_TENANT_ID",
4747
api_key="YOUR_API_KEY",
4848
)
@@ -88,7 +88,7 @@ async def list(self, *, request_options: typing.Optional[RequestOptions] = None)
8888
from trophy import AsyncTrophyApi
8989
9090
client = AsyncTrophyApi(
91-
"1.25.0",
91+
"1.26.0",
9292
tenant_id="YOUR_TENANT_ID",
9393
api_key="YOUR_API_KEY",
9494
)

0 commit comments

Comments
 (0)