fgo-api-types 2025.10.5.3.57.8__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.
@@ -2140,6 +2140,7 @@ class DataValsType(IntEnum):
2140
2140
  IsClassIconChangeSaveGrand = 238
2141
2141
  ExecuteEffectId = 239
2142
2142
  PriorityUpHate = 240
2143
+ JudgeUseEveryTime = 241
2143
2144
 
2144
2145
 
2145
2146
  class ClassRelationOverwriteType(IntEnum):
@@ -2593,18 +2594,18 @@ class CardType(IntEnum):
2593
2594
  class NiceCardType(StrEnum):
2594
2595
  """Card Type Enum"""
2595
2596
 
2596
- none = "none"
2597
- arts = "arts"
2598
- buster = "buster"
2599
- quick = "quick"
2600
- addattack = "extra"
2601
- blank = "blank"
2602
- weak = "weak"
2603
- strength = "strength"
2604
- weakalt1 = "weakalt1"
2605
- weakalt2 = "weakalt2"
2606
- busteralt1 = "busteralt1"
2607
- 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"
2608
2609
 
2609
2610
 
2610
2611
  CARD_TYPE_NAME: dict[int, NiceCardType] = {
@@ -6588,6 +6589,7 @@ class ItemTransitionType(IntEnum):
6588
6589
  SUMMON = 16
6589
6590
  REVIVAL_ITEM = 17
6590
6591
  BLANK_EARTH_SCENARIO = 18
6592
+ LOGIN_BONUS = 19
6591
6593
 
6592
6594
 
6593
6595
  class NiceItemTransitionType(StrEnum):
@@ -6612,6 +6614,7 @@ class NiceItemTransitionType(StrEnum):
6612
6614
  summon = "summon"
6613
6615
  revivalItem = "revivalItem"
6614
6616
  blankEarthScenario = "blankEarthScenario"
6617
+ loginBonus = "loginBonus"
6615
6618
 
6616
6619
 
6617
6620
  ITEM_TRANSITION_TYPE_NAME: dict[int, NiceItemTransitionType] = {
@@ -6634,6 +6637,7 @@ ITEM_TRANSITION_TYPE_NAME: dict[int, NiceItemTransitionType] = {
6634
6637
  16: NiceItemTransitionType.summon,
6635
6638
  17: NiceItemTransitionType.revivalItem,
6636
6639
  18: NiceItemTransitionType.blankEarthScenario,
6640
+ 19: NiceItemTransitionType.loginBonus,
6637
6641
  }
6638
6642
 
6639
6643
 
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,
@@ -657,6 +656,7 @@ class BaseVals(BaseModel):
657
656
  IsClassIconChangeSaveGrand: int | None = None
658
657
  ExecuteEffectId: int | None = None
659
658
  PriorityUpHate: int | None = None
659
+ JudgeUseEveryTime: int | None = None
660
660
  # These are not DataVals but guesses from SkillLvEntity and EventDropUpValInfo
661
661
  Individuality: Optional[int] = None
662
662
  EventId: Optional[int] = None
@@ -750,7 +750,7 @@ class TdChangeByBattlePoint(BaseModel):
750
750
 
751
751
  class SelectTreasureDeviceInfoTreasureDevice(BaseModel):
752
752
  id: int
753
- type: NiceCardType
753
+ type: str
754
754
  message: str
755
755
 
756
756
 
@@ -891,7 +891,7 @@ class NiceTdSvt(BaseModelORJson):
891
891
  condLv: int = 0
892
892
  condFriendshipRank: int = 0
893
893
  motion: int
894
- card: NiceCardType
894
+ card: str
895
895
  releaseConditions: list[NiceSvtSkillRelease] = []
896
896
 
897
897
 
@@ -899,7 +899,7 @@ class NiceTd(BaseModelORJson):
899
899
  id: int
900
900
  num: int
901
901
  npNum: int
902
- card: NiceCardType
902
+ card: str
903
903
  name: str
904
904
  originalName: str
905
905
  ruby: str
@@ -1544,13 +1544,13 @@ class NiceServant(BaseModelORJson):
1544
1544
  instantDeathChance: int = Field(
1545
1545
  ..., title="Instant death chance", description="Instant death chance."
1546
1546
  )
1547
- cards: list[NiceCardType] = Field(..., title="Card deck", description="Card deck.")
1548
- hitsDistribution: dict[NiceCardType, list[int]] = Field(
1547
+ cards: list[str] = Field(..., title="Card deck", description="Card deck.")
1548
+ hitsDistribution: dict[str, list[int]] = Field(
1549
1549
  ...,
1550
1550
  title="Hits distribution",
1551
1551
  description="[DEPRECATED] Use the `cardDetails` field. Mapping <Card type, Hits distribution>.",
1552
1552
  )
1553
- cardDetails: dict[NiceCardType, NiceCardDetail] = Field(
1553
+ cardDetails: dict[str, NiceCardDetail] = Field(
1554
1554
  ...,
1555
1555
  title="Card detail",
1556
1556
  description="Mapping <Card type, Card detail>, containing attack traits.",
@@ -2320,7 +2320,7 @@ class NiceEventCommandAssist(BaseModelORJson):
2320
2320
  priority: int
2321
2321
  lv: int
2322
2322
  name: str
2323
- assistCard: NiceCardType
2323
+ assistCard: str
2324
2324
  image: HttpUrl
2325
2325
  skill: NiceSkill
2326
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.5.3.57.8
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=S74ZOVaCwbRxRhU9BHfMtWK4VnrwIMEHWYb1UycPq0s,236993
7
- fgo_api_types/nice.py,sha256=lQ3P3iyzAKZelTHmgMs4Via9qSy-i0WY8u0Orwev17g,99255
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.5.3.57.8.dist-info/METADATA,sha256=UDVnBelM_McrFwTlG4FSF86T7Tc1wzEt7Rje88Bso_s,1377
12
- fgo_api_types-2025.10.5.3.57.8.dist-info/WHEEL,sha256=zp0Cn7JsFoX2ATtOhtaFYIiE2rmFAD4OcMhtUki8W3U,88
13
- fgo_api_types-2025.10.5.3.57.8.dist-info/licenses/LICENSE,sha256=hIahDEOTzuHCU5J2nd07LWwkLW7Hko4UFO__ffsvB-8,34523
14
- fgo_api_types-2025.10.5.3.57.8.dist-info/RECORD,,