fgo-api-types 2025.10.8.11.46.6__py3-none-any.whl → 2025.10.14.1.20.46__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.
@@ -2594,18 +2594,18 @@ class CardType(IntEnum):
2594
2594
  class NiceCardType(StrEnum):
2595
2595
  """Card Type Enum"""
2596
2596
 
2597
- none = "none"
2598
- arts = "arts"
2599
- buster = "buster"
2600
- quick = "quick"
2601
- addattack = "extra"
2602
- blank = "blank"
2603
- weak = "weak"
2604
- strength = "strength"
2605
- weakalt1 = "weakalt1"
2606
- weakalt2 = "weakalt2"
2607
- busteralt1 = "busteralt1"
2608
- extra2 = "extra2"
2597
+ none = "0"
2598
+ arts = "1"
2599
+ buster = "2"
2600
+ quick = "3"
2601
+ addattack = "4"
2602
+ blank = "5"
2603
+ weak = "10"
2604
+ strength = "11"
2605
+ weakalt1 = "21"
2606
+ weakalt2 = "22"
2607
+ busteralt1 = "60"
2608
+ extra2 = "104"
2609
2609
 
2610
2610
 
2611
2611
  CARD_TYPE_NAME: dict[int, NiceCardType] = {
fgo_api_types/nice.py CHANGED
@@ -48,7 +48,6 @@ from .gameenums import (
48
48
  NiceBattleFieldEnvironmentGrantType,
49
49
  NiceBattlePointFlag,
50
50
  NiceBuffType,
51
- NiceCardType,
52
51
  NiceClassBoardSkillType,
53
52
  NiceClassBoardSquareFlag,
54
53
  NiceCombineAdjustTarget,
@@ -751,7 +750,7 @@ class TdChangeByBattlePoint(BaseModel):
751
750
 
752
751
  class SelectTreasureDeviceInfoTreasureDevice(BaseModel):
753
752
  id: int
754
- type: NiceCardType
753
+ type: str
755
754
  message: str
756
755
 
757
756
 
@@ -892,7 +891,7 @@ class NiceTdSvt(BaseModelORJson):
892
891
  condLv: int = 0
893
892
  condFriendshipRank: int = 0
894
893
  motion: int
895
- card: NiceCardType
894
+ card: str
896
895
  releaseConditions: list[NiceSvtSkillRelease] = []
897
896
 
898
897
 
@@ -900,7 +899,7 @@ class NiceTd(BaseModelORJson):
900
899
  id: int
901
900
  num: int
902
901
  npNum: int
903
- card: NiceCardType
902
+ card: str
904
903
  name: str
905
904
  originalName: str
906
905
  ruby: str
@@ -1545,13 +1544,13 @@ class NiceServant(BaseModelORJson):
1545
1544
  instantDeathChance: int = Field(
1546
1545
  ..., title="Instant death chance", description="Instant death chance."
1547
1546
  )
1548
- cards: list[NiceCardType] = Field(..., title="Card deck", description="Card deck.")
1549
- hitsDistribution: dict[NiceCardType, list[int]] = Field(
1547
+ cards: list[str] = Field(..., title="Card deck", description="Card deck.")
1548
+ hitsDistribution: dict[str, list[int]] = Field(
1550
1549
  ...,
1551
1550
  title="Hits distribution",
1552
1551
  description="[DEPRECATED] Use the `cardDetails` field. Mapping <Card type, Hits distribution>.",
1553
1552
  )
1554
- cardDetails: dict[NiceCardType, NiceCardDetail] = Field(
1553
+ cardDetails: dict[str, NiceCardDetail] = Field(
1555
1554
  ...,
1556
1555
  title="Card detail",
1557
1556
  description="Mapping <Card type, Card detail>, containing attack traits.",
@@ -2321,7 +2320,7 @@ class NiceEventCommandAssist(BaseModelORJson):
2321
2320
  priority: int
2322
2321
  lv: int
2323
2322
  name: str
2324
- assistCard: NiceCardType
2323
+ assistCard: str
2325
2324
  image: HttpUrl
2326
2325
  skill: NiceSkill
2327
2326
  skillLv: int
fgo_api_types/search.py CHANGED
@@ -17,7 +17,6 @@ from .enums import (
17
17
  from .gameenums import (
18
18
  Attribute,
19
19
  NiceBuffType,
20
- NiceCardType,
21
20
  NiceCombineAdjustTarget,
22
21
  NiceEventType,
23
22
  NiceFuncTargetType,
@@ -253,7 +252,7 @@ class SkillSearchParams:
253
252
  class TdSearchParams:
254
253
  region: Region
255
254
  name: Optional[str] = Query(None, max_length=999)
256
- card: Optional[list[NiceCardType]] = Query(None)
255
+ card: Optional[list[str]] = Query(None)
257
256
  individuality: list[Union[Trait, int]] = Query([])
258
257
  hits: Optional[list[int]] = Query(None)
259
258
  strengthStatus: Optional[list[int]] = Query(None)
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: fgo-api-types
3
- Version: 2025.10.8.11.46.6
3
+ Version: 2025.10.14.1.20.46
4
4
  Summary: Provide Pydantic types from FGO API
5
5
  License-File: LICENSE
6
6
  Author: squaresmile
@@ -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=Hsn1MfnMRvdr-OIF60kja7DOpD8-XR5bB_J0g2rQ-L4,237061
7
+ fgo_api_types/nice.py,sha256=fAomJp-E4guVneSrgsMw5Xso7JKKdB5UWsRTQPfvPwY,99215
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=_G5rMw2IhAQmZfx8tKYAEzsgZLfQrgt7Ys4XpWMRoDI,20119
11
+ fgo_api_types-2025.10.14.1.20.46.dist-info/METADATA,sha256=Sg7jmfKn12f4aF_HKuEuqJ5K275tRFnvocldPNyQ7vg,1379
12
+ fgo_api_types-2025.10.14.1.20.46.dist-info/WHEEL,sha256=zp0Cn7JsFoX2ATtOhtaFYIiE2rmFAD4OcMhtUki8W3U,88
13
+ fgo_api_types-2025.10.14.1.20.46.dist-info/licenses/LICENSE,sha256=hIahDEOTzuHCU5J2nd07LWwkLW7Hko4UFO__ffsvB-8,34523
14
+ fgo_api_types-2025.10.14.1.20.46.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=WxiUBCyQEKkDKXM4c0xEWFEpPhMkK0_RIb1fHYPuz7w,47989
6
- fgo_api_types/gameenums.py,sha256=VikN51pSRv8LsvGUK64av2kA-TL82B57DZqaw1DyIUs,237115
7
- fgo_api_types/nice.py,sha256=NaSTMImDCKzajDNG0omZtE5txt3k9bjfCvXw29DcBg4,99296
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=hdmiY6gG-AB0hyZqW96nxpLi6YAS15eAK3fY0LRuMQM,20146
11
- fgo_api_types-2025.10.8.11.46.6.dist-info/METADATA,sha256=aHBT2vLTxg4ALJKbVkEjYyBA3X-vDxhVrnE26nZyy8E,1378
12
- fgo_api_types-2025.10.8.11.46.6.dist-info/WHEEL,sha256=zp0Cn7JsFoX2ATtOhtaFYIiE2rmFAD4OcMhtUki8W3U,88
13
- fgo_api_types-2025.10.8.11.46.6.dist-info/licenses/LICENSE,sha256=hIahDEOTzuHCU5J2nd07LWwkLW7Hko4UFO__ffsvB-8,34523
14
- fgo_api_types-2025.10.8.11.46.6.dist-info/RECORD,,