fgo-api-types 2025.9.12.20.3.14__py3-none-any.whl → 2025.9.21.13.4.20__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.
- fgo_api_types/enums.py +5 -0
- fgo_api_types/raw.py +7 -0
- fgo_api_types/search.py +3 -0
- {fgo_api_types-2025.9.12.20.3.14.dist-info → fgo_api_types-2025.9.21.13.4.20.dist-info}/METADATA +4 -2
- fgo_api_types-2025.9.21.13.4.20.dist-info/RECORD +14 -0
- {fgo_api_types-2025.9.12.20.3.14.dist-info → fgo_api_types-2025.9.21.13.4.20.dist-info}/WHEEL +1 -1
- fgo_api_types-2025.9.12.20.3.14.dist-info/RECORD +0 -14
- {fgo_api_types-2025.9.12.20.3.14.dist-info → fgo_api_types-2025.9.21.13.4.20.dist-info/licenses}/LICENSE +0 -0
fgo_api_types/enums.py
CHANGED
@@ -45,6 +45,7 @@ from .gameenums import (
|
|
45
45
|
NiceFuncType,
|
46
46
|
NiceGender,
|
47
47
|
NicePayType,
|
48
|
+
NicePurchaseType,
|
48
49
|
NiceQuestFlag,
|
49
50
|
NiceQuestType,
|
50
51
|
NiceShopType,
|
@@ -573,6 +574,10 @@ SHOP_TYPE_NAME_REVERSE: dict[NiceShopType, int] = {
|
|
573
574
|
|
574
575
|
PAY_TYPE_NAME_REVERSE: dict[NicePayType, int] = {v: k for k, v in PAY_TYPE_NAME.items()}
|
575
576
|
|
577
|
+
PURCHASE_TYPE_NAME_REVERSE: dict[NicePurchaseType, int] = {
|
578
|
+
v: k for k, v in PURCHASE_TYPE_NAME.items()
|
579
|
+
}
|
580
|
+
|
576
581
|
|
577
582
|
### EventPointActivity.objectType ###
|
578
583
|
|
fgo_api_types/raw.py
CHANGED
@@ -1983,6 +1983,13 @@ class MstQuestConsumeItem(BaseModelORJson):
|
|
1983
1983
|
questId: int # 94032410
|
1984
1984
|
|
1985
1985
|
|
1986
|
+
class MstQuestDateRange(BaseModelORJson):
|
1987
|
+
id: int
|
1988
|
+
idx: int
|
1989
|
+
openedAt: int
|
1990
|
+
closedAt: int
|
1991
|
+
|
1992
|
+
|
1986
1993
|
class MstQuestExtension(BaseModelORJson):
|
1987
1994
|
questId: int
|
1988
1995
|
subType: int
|
fgo_api_types/search.py
CHANGED
@@ -25,6 +25,7 @@ from .gameenums import (
|
|
25
25
|
NiceGender,
|
26
26
|
NiceItemType,
|
27
27
|
NicePayType,
|
28
|
+
NicePurchaseType,
|
28
29
|
NiceQuestFlag,
|
29
30
|
NiceQuestType,
|
30
31
|
NiceShopType,
|
@@ -522,6 +523,7 @@ class ShopSearchQueryParams:
|
|
522
523
|
eventId: list[int] = Query([])
|
523
524
|
type: list[NiceShopType] = Query([])
|
524
525
|
payType: list[NicePayType] = Query([])
|
526
|
+
purchaseType: list[NicePurchaseType] = Query([])
|
525
527
|
|
526
528
|
def hasSearchParams(self) -> bool:
|
527
529
|
return any(
|
@@ -530,6 +532,7 @@ class ShopSearchQueryParams:
|
|
530
532
|
self.eventId,
|
531
533
|
self.type,
|
532
534
|
self.payType,
|
535
|
+
self.purchaseType,
|
533
536
|
]
|
534
537
|
)
|
535
538
|
|
{fgo_api_types-2025.9.12.20.3.14.dist-info → fgo_api_types-2025.9.21.13.4.20.dist-info}/METADATA
RENAMED
@@ -1,7 +1,8 @@
|
|
1
|
-
Metadata-Version: 2.
|
1
|
+
Metadata-Version: 2.4
|
2
2
|
Name: fgo-api-types
|
3
|
-
Version: 2025.9.
|
3
|
+
Version: 2025.9.21.13.4.20
|
4
4
|
Summary: Provide Pydantic types from FGO API
|
5
|
+
License-File: LICENSE
|
5
6
|
Author: squaresmile
|
6
7
|
Author-email: squaresmile@protonmail.com
|
7
8
|
Requires-Python: >=3.6,<4.0
|
@@ -14,6 +15,7 @@ Classifier: Programming Language :: Python :: 3.10
|
|
14
15
|
Classifier: Programming Language :: Python :: 3.11
|
15
16
|
Classifier: Programming Language :: Python :: 3.12
|
16
17
|
Classifier: Programming Language :: Python :: 3.13
|
18
|
+
Classifier: Programming Language :: Python :: 3.14
|
17
19
|
Requires-Dist: pydantic (>=2,<3)
|
18
20
|
Project-URL: Homepage, https://api.atlasacademy.io
|
19
21
|
Project-URL: Repository, https://github.com/atlasacademy/fgo-game-data-api
|
@@ -0,0 +1,14 @@
|
|
1
|
+
fgo_api_types/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
2
|
+
fgo_api_types/base.py,sha256=lNLs5_mzc3x1Cl8Mxvdxw4jOcGld9Bwv28okCsM1B3M,353
|
3
|
+
fgo_api_types/basic.py,sha256=EwQoPT_c_LJe22JZek_L-q_ax3Yocy4hceSlEDdzPdo,4589
|
4
|
+
fgo_api_types/common.py,sha256=NZCkvmf6wSvSqh3IUd-l_ta1O3Uv-oofd0zoxxCF4U0,4565
|
5
|
+
fgo_api_types/enums.py,sha256=WxiUBCyQEKkDKXM4c0xEWFEpPhMkK0_RIb1fHYPuz7w,47989
|
6
|
+
fgo_api_types/gameenums.py,sha256=FZA0AnU23kbjKgeQNeHRBW4Bb7U4WJ9N9WffGEYMtgk,227506
|
7
|
+
fgo_api_types/nice.py,sha256=s4Pho3_BAwU9r2ug1yr8BDypMfiWGV1WOKKn7erqeF8,99081
|
8
|
+
fgo_api_types/raw.py,sha256=KJPKvKnwERBWcEd6MuuQGXN1l-324_o6qTCszaoyT7E,64515
|
9
|
+
fgo_api_types/rayshift.py,sha256=GctwvpMBMVEd18_KuTAIMC4aY5_2WuC77-81skk55xM,4854
|
10
|
+
fgo_api_types/search.py,sha256=LUXXczhE9GzJd7rgngkikBITkf8M5CBKgJm_RUO_ztU,20106
|
11
|
+
fgo_api_types-2025.9.21.13.4.20.dist-info/METADATA,sha256=4MfglUyMtYhjOwkPvtY2QRFz3KeMOJIF30UcnlqwUug,1378
|
12
|
+
fgo_api_types-2025.9.21.13.4.20.dist-info/WHEEL,sha256=M5asmiAlL6HEcOq52Yi5mmk9KmTVjY2RDPtO4p9DMrc,88
|
13
|
+
fgo_api_types-2025.9.21.13.4.20.dist-info/licenses/LICENSE,sha256=hIahDEOTzuHCU5J2nd07LWwkLW7Hko4UFO__ffsvB-8,34523
|
14
|
+
fgo_api_types-2025.9.21.13.4.20.dist-info/RECORD,,
|
@@ -1,14 +0,0 @@
|
|
1
|
-
fgo_api_types/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
2
|
-
fgo_api_types/base.py,sha256=lNLs5_mzc3x1Cl8Mxvdxw4jOcGld9Bwv28okCsM1B3M,353
|
3
|
-
fgo_api_types/basic.py,sha256=EwQoPT_c_LJe22JZek_L-q_ax3Yocy4hceSlEDdzPdo,4589
|
4
|
-
fgo_api_types/common.py,sha256=NZCkvmf6wSvSqh3IUd-l_ta1O3Uv-oofd0zoxxCF4U0,4565
|
5
|
-
fgo_api_types/enums.py,sha256=UQy0wLtwrIM-Mb5AoXEGMePkzFZ-m04KjH1j6rgfYfs,47856
|
6
|
-
fgo_api_types/gameenums.py,sha256=FZA0AnU23kbjKgeQNeHRBW4Bb7U4WJ9N9WffGEYMtgk,227506
|
7
|
-
fgo_api_types/nice.py,sha256=s4Pho3_BAwU9r2ug1yr8BDypMfiWGV1WOKKn7erqeF8,99081
|
8
|
-
fgo_api_types/raw.py,sha256=ZDjm3SPrK2r8N5gDQ5GRcjTrtsryp-APG8tSC_izHsQ,64410
|
9
|
-
fgo_api_types/rayshift.py,sha256=GctwvpMBMVEd18_KuTAIMC4aY5_2WuC77-81skk55xM,4854
|
10
|
-
fgo_api_types/search.py,sha256=N1vZh1oGLhyrYRd_Ctcm-iUUynrzRPCiZUFxly3qjP0,19996
|
11
|
-
fgo_api_types-2025.9.12.20.3.14.dist-info/LICENSE,sha256=hIahDEOTzuHCU5J2nd07LWwkLW7Hko4UFO__ffsvB-8,34523
|
12
|
-
fgo_api_types-2025.9.12.20.3.14.dist-info/METADATA,sha256=V9_78089_I3b53fbs4q9lbteQA-HJm9bUn_npsaUsbs,1305
|
13
|
-
fgo_api_types-2025.9.12.20.3.14.dist-info/WHEEL,sha256=b4K_helf-jlQoXBBETfwnf4B04YC67LOev0jo4fX5m8,88
|
14
|
-
fgo_api_types-2025.9.12.20.3.14.dist-info/RECORD,,
|
File without changes
|