Skip to content

Commit

Permalink
Merge pull request #34 from steven-noorbergen/notification-type-v11
Browse files Browse the repository at this point in the history
Add: NotificationTypeEnumV11 to include new notification types
  • Loading branch information
gitAskur authored Dec 1, 2023
2 parents 0df159e + bbb4977 commit 0c9ebb1
Showing 1 changed file with 20 additions and 8 deletions.
28 changes: 20 additions & 8 deletions eve_glue/notification_type.py
Original file line number Diff line number Diff line change
Expand Up @@ -196,7 +196,8 @@ class NotificationTypeEnumV2(enum.Enum):
add={
"StructuresJobsPaused": 210,
"StructuresJobsCancelled": 211,
})
},
)

NotificationTypeEnumV4 = new_from_enum( # pylint: disable=invalid-name
"NotificationTypeEnumV4",
Expand All @@ -205,7 +206,8 @@ class NotificationTypeEnumV2(enum.Enum):
"CombatOperationFinished": 1013,
"IndustryOperationFinished": 1014,
"ESSMainBankLink": 1015,
})
},
)

NotificationTypeEnumV5 = new_from_enum( # pylint: disable=invalid-name
"NotificationTypeEnumV5",
Expand All @@ -216,7 +218,7 @@ class NotificationTypeEnumV2(enum.Enum):
"WarHQRemovedFromSpace": 223,
"CorpWarDeclaredV2": 224,
"AllianceWarDeclaredV2": 225,
}
},
)

NotificationTypeEnumV6 = new_from_enum( # pylint: disable=invalid-name
Expand All @@ -236,7 +238,7 @@ class NotificationTypeEnumV2(enum.Enum):
"WarRetracted": 238,
"WarRetractedByConcord": 239,
"WarInvalid": 240,
}
},
)

NotificationTypeEnumV7 = new_from_enum( # pylint: disable=invalid-name
Expand All @@ -245,7 +247,8 @@ class NotificationTypeEnumV2(enum.Enum):
add={
"MercOfferRetractedMsg": 241,
"OfferToAllyRetracted": 242,
})
},
)

NotificationTypeEnumV8 = new_from_enum( # pylint: disable=invalid-name
"NotificationTypeEnumV8",
Expand All @@ -262,7 +265,7 @@ class NotificationTypeEnumV2(enum.Enum):
"StructureImpendingAbandonmentAssetsAtRisk": 249,
"OfficeLeaseCanceledInsufficientStandings": 250,
"ContractRegionChangedToPochven": 251,
}
},
)

NotificationTypeEnumV9 = new_from_enum( # pylint: disable=invalid-name
Expand All @@ -271,7 +274,7 @@ class NotificationTypeEnumV2(enum.Enum):
add={
"ExpertSystemExpiryImminent": 252,
"ExpertSystemExpired": 253,
}
},
)

NotificationTypeEnumV10 = new_from_enum(
Expand All @@ -282,5 +285,14 @@ class NotificationTypeEnumV2(enum.Enum):
"CorporationGoalCreated": 260,
"CorporationGoalClosed": 261,
"CorporationGoalCompleted": 262,
}
},
)

NotificationTypeEnumV11 = new_from_enum(
"NotificationTypeEnumV11",
NotificationTypeEnumV10,
add={
"CorporationGoalNameChange": 263,
"CorporationLeft": 270,
},
)

0 comments on commit 0c9ebb1

Please sign in to comment.