fgo-api-types 2025.9.18.13.21.51__py3-none-any.whl → 2025.9.21.13.18.6__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 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/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,8 @@ 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([])
527
+ limit: int = Query(10000, le=10000)
525
528
 
526
529
  def hasSearchParams(self) -> bool:
527
530
  return any(
@@ -530,6 +533,7 @@ class ShopSearchQueryParams:
530
533
  self.eventId,
531
534
  self.type,
532
535
  self.payType,
536
+ self.purchaseType,
533
537
  ]
534
538
  )
535
539
 
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: fgo-api-types
3
- Version: 2025.9.18.13.21.51
3
+ Version: 2025.9.21.13.18.6
4
4
  Summary: Provide Pydantic types from FGO API
5
5
  License-File: LICENSE
6
6
  Author: squaresmile
@@ -2,13 +2,13 @@ fgo_api_types/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
2
2
  fgo_api_types/base.py,sha256=lNLs5_mzc3x1Cl8Mxvdxw4jOcGld9Bwv28okCsM1B3M,353
3
3
  fgo_api_types/basic.py,sha256=EwQoPT_c_LJe22JZek_L-q_ax3Yocy4hceSlEDdzPdo,4589
4
4
  fgo_api_types/common.py,sha256=NZCkvmf6wSvSqh3IUd-l_ta1O3Uv-oofd0zoxxCF4U0,4565
5
- fgo_api_types/enums.py,sha256=UQy0wLtwrIM-Mb5AoXEGMePkzFZ-m04KjH1j6rgfYfs,47856
5
+ fgo_api_types/enums.py,sha256=WxiUBCyQEKkDKXM4c0xEWFEpPhMkK0_RIb1fHYPuz7w,47989
6
6
  fgo_api_types/gameenums.py,sha256=FZA0AnU23kbjKgeQNeHRBW4Bb7U4WJ9N9WffGEYMtgk,227506
7
7
  fgo_api_types/nice.py,sha256=s4Pho3_BAwU9r2ug1yr8BDypMfiWGV1WOKKn7erqeF8,99081
8
8
  fgo_api_types/raw.py,sha256=KJPKvKnwERBWcEd6MuuQGXN1l-324_o6qTCszaoyT7E,64515
9
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.18.13.21.51.dist-info/METADATA,sha256=1uZCtW4m_G2MgL5ltk6sjbXEckEESYph9OCHEeWSEzA,1379
12
- fgo_api_types-2025.9.18.13.21.51.dist-info/WHEEL,sha256=M5asmiAlL6HEcOq52Yi5mmk9KmTVjY2RDPtO4p9DMrc,88
13
- fgo_api_types-2025.9.18.13.21.51.dist-info/licenses/LICENSE,sha256=hIahDEOTzuHCU5J2nd07LWwkLW7Hko4UFO__ffsvB-8,34523
14
- fgo_api_types-2025.9.18.13.21.51.dist-info/RECORD,,
10
+ fgo_api_types/search.py,sha256=hdmiY6gG-AB0hyZqW96nxpLi6YAS15eAK3fY0LRuMQM,20146
11
+ fgo_api_types-2025.9.21.13.18.6.dist-info/METADATA,sha256=MyrQYd03Q2ETmZ8QtxDBxZRODUuvIYbMD13D8tr_GdI,1378
12
+ fgo_api_types-2025.9.21.13.18.6.dist-info/WHEEL,sha256=M5asmiAlL6HEcOq52Yi5mmk9KmTVjY2RDPtO4p9DMrc,88
13
+ fgo_api_types-2025.9.21.13.18.6.dist-info/licenses/LICENSE,sha256=hIahDEOTzuHCU5J2nd07LWwkLW7Hko4UFO__ffsvB-8,34523
14
+ fgo_api_types-2025.9.21.13.18.6.dist-info/RECORD,,