fgo-api-types 2025.9.18.13.21.51__tar.gz → 2025.9.21.13.18.6__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.
- {fgo_api_types-2025.9.18.13.21.51 → fgo_api_types-2025.9.21.13.18.6}/PKG-INFO +1 -1
- {fgo_api_types-2025.9.18.13.21.51 → fgo_api_types-2025.9.21.13.18.6}/fgo_api_types/enums.py +5 -0
- {fgo_api_types-2025.9.18.13.21.51 → fgo_api_types-2025.9.21.13.18.6}/fgo_api_types/search.py +4 -0
- {fgo_api_types-2025.9.18.13.21.51 → fgo_api_types-2025.9.21.13.18.6}/pyproject.toml +1 -1
- {fgo_api_types-2025.9.18.13.21.51 → fgo_api_types-2025.9.21.13.18.6}/LICENSE +0 -0
- {fgo_api_types-2025.9.18.13.21.51 → fgo_api_types-2025.9.21.13.18.6}/README.md +0 -0
- {fgo_api_types-2025.9.18.13.21.51 → fgo_api_types-2025.9.21.13.18.6}/fgo_api_types/__init__.py +0 -0
- {fgo_api_types-2025.9.18.13.21.51 → fgo_api_types-2025.9.21.13.18.6}/fgo_api_types/base.py +0 -0
- {fgo_api_types-2025.9.18.13.21.51 → fgo_api_types-2025.9.21.13.18.6}/fgo_api_types/basic.py +0 -0
- {fgo_api_types-2025.9.18.13.21.51 → fgo_api_types-2025.9.21.13.18.6}/fgo_api_types/common.py +0 -0
- {fgo_api_types-2025.9.18.13.21.51 → fgo_api_types-2025.9.21.13.18.6}/fgo_api_types/gameenums.py +0 -0
- {fgo_api_types-2025.9.18.13.21.51 → fgo_api_types-2025.9.21.13.18.6}/fgo_api_types/nice.py +0 -0
- {fgo_api_types-2025.9.18.13.21.51 → fgo_api_types-2025.9.21.13.18.6}/fgo_api_types/raw.py +0 -0
- {fgo_api_types-2025.9.18.13.21.51 → fgo_api_types-2025.9.21.13.18.6}/fgo_api_types/rayshift.py +0 -0
@@ -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-2025.9.18.13.21.51 → fgo_api_types-2025.9.21.13.18.6}/fgo_api_types/search.py
RENAMED
@@ -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
|
|
File without changes
|
File without changes
|
{fgo_api_types-2025.9.18.13.21.51 → fgo_api_types-2025.9.21.13.18.6}/fgo_api_types/__init__.py
RENAMED
File without changes
|
File without changes
|
File without changes
|
{fgo_api_types-2025.9.18.13.21.51 → fgo_api_types-2025.9.21.13.18.6}/fgo_api_types/common.py
RENAMED
File without changes
|
{fgo_api_types-2025.9.18.13.21.51 → fgo_api_types-2025.9.21.13.18.6}/fgo_api_types/gameenums.py
RENAMED
File without changes
|
File without changes
|
File without changes
|
{fgo_api_types-2025.9.18.13.21.51 → fgo_api_types-2025.9.21.13.18.6}/fgo_api_types/rayshift.py
RENAMED
File without changes
|