fgo-api-types 2025.7.26.16.13.50__tar.gz → 2025.7.28.1.37.25__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,6 +1,6 @@
1
1
  Metadata-Version: 2.3
2
2
  Name: fgo-api-types
3
- Version: 2025.7.26.16.13.50
3
+ Version: 2025.7.28.1.37.25
4
4
  Summary: Provide Pydantic types from FGO API
5
5
  Author: squaresmile
6
6
  Author-email: squaresmile@protonmail.com
@@ -18,6 +18,20 @@ class RepoInfo(BaseModelORJson):
18
18
  timestamp: int
19
19
 
20
20
 
21
+ class RegioinAssetBundle(BaseModelORJson):
22
+ folderName: str
23
+ animalName: str
24
+ zooName: str
25
+
26
+
27
+ class RegionInfo(RepoInfo):
28
+ serverHash: str
29
+ serverTimestamp: int
30
+ dataVer: int | None = None
31
+ dateVer: int | None = None
32
+ assetbundle: RegioinAssetBundle | None = None
33
+
34
+
21
35
  class Region(StrEnum):
22
36
  """Region Enum"""
23
37
 
@@ -6868,3 +6868,30 @@ QUEST_EXTENSION_SUB_TYPE_NAME: dict[int, NiceQuestExtensionSubType] = {
6868
6868
  0: NiceQuestExtensionSubType.none,
6869
6869
  1: NiceQuestExtensionSubType.svtCoin,
6870
6870
  }
6871
+
6872
+
6873
+ class BuffConditionType(IntEnum):
6874
+ HP_HIGHER = 0
6875
+ HP_LOWER = 1
6876
+ INDIVIDUALITIE = 2
6877
+ INDIVIDUALITIE_OR = 3
6878
+ INDIVIDUALITIE_AND = 4
6879
+
6880
+
6881
+ class NiceBuffConditionType(StrEnum):
6882
+ """Condition Type for Conditional Battle Buff"""
6883
+
6884
+ hpHigher = "hpHigher"
6885
+ hpLower = "hpLower"
6886
+ individualitie = "individualitie"
6887
+ individualitieOr = "individualitieOr"
6888
+ individualitieAnd = "individualitieAnd"
6889
+
6890
+
6891
+ BUFF_CONDITION_TYPE: dict[int, NiceBuffConditionType] = {
6892
+ 0: NiceBuffConditionType.hpHigher,
6893
+ 1: NiceBuffConditionType.hpLower,
6894
+ 2: NiceBuffConditionType.individualitie,
6895
+ 3: NiceBuffConditionType.individualitieOr,
6896
+ 4: NiceBuffConditionType.individualitieAnd,
6897
+ }
@@ -1,6 +1,6 @@
1
1
  [tool.poetry]
2
2
  name = "fgo-api-types"
3
- version = "2025.07.26.16.13.50"
3
+ version = "2025.07.28.01.37.25"
4
4
  description = "Provide Pydantic types from FGO API"
5
5
  authors = ["squaresmile <squaresmile@protonmail.com>"]
6
6
  readme = "README.md"