fgo-api-types 2025.9.12.20.3.14__tar.gz → 2025.9.21.13.4.20__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.
@@ -1,7 +1,8 @@
1
- Metadata-Version: 2.3
1
+ Metadata-Version: 2.4
2
2
  Name: fgo-api-types
3
- Version: 2025.9.12.20.3.14
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
@@ -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
 
@@ -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
@@ -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
 
@@ -1,6 +1,6 @@
1
1
  [tool.poetry]
2
2
  name = "fgo-api-types"
3
- version = "2025.09.12.20.03.14"
3
+ version = "2025.09.21.13.04.20"
4
4
  description = "Provide Pydantic types from FGO API"
5
5
  authors = ["squaresmile <squaresmile@protonmail.com>"]
6
6
  readme = "README.md"