@fnt-eve/esi-client-typescript
Version:
[](https://www.npmjs.com/package/@fnt-eve/esi-client-typescript)
325 lines (324 loc) • 14.8 kB
JavaScript
/* tslint:disable */
/* eslint-disable */
/**
* EVE Swagger Interface
* An OpenAPI for EVE Online
*
* The version of the OpenAPI document: 1.36
*
*
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
* https://openapi-generator.tech
* Do not edit the class manually.
*/
/**
* @export
*/
export const GetCharactersCharacterIdNotifications200OkSenderTypeEnum = {
Character: 'character',
Corporation: 'corporation',
Alliance: 'alliance',
Faction: 'faction',
Other: 'other'
};
/**
* @export
*/
export const GetCharactersCharacterIdNotifications200OkTypeEnum = {
AcceptedAlly: 'AcceptedAlly',
AcceptedSurrender: 'AcceptedSurrender',
AgentRetiredTrigravian: 'AgentRetiredTrigravian',
AllAnchoringMsg: 'AllAnchoringMsg',
AllMaintenanceBillMsg: 'AllMaintenanceBillMsg',
AllStrucInvulnerableMsg: 'AllStrucInvulnerableMsg',
AllStructVulnerableMsg: 'AllStructVulnerableMsg',
AllWarCorpJoinedAllianceMsg: 'AllWarCorpJoinedAllianceMsg',
AllWarDeclaredMsg: 'AllWarDeclaredMsg',
AllWarInvalidatedMsg: 'AllWarInvalidatedMsg',
AllWarRetractedMsg: 'AllWarRetractedMsg',
AllWarSurrenderMsg: 'AllWarSurrenderMsg',
AllianceCapitalChanged: 'AllianceCapitalChanged',
AllianceWarDeclaredV2: 'AllianceWarDeclaredV2',
AllyContractCancelled: 'AllyContractCancelled',
AllyJoinedWarAggressorMsg: 'AllyJoinedWarAggressorMsg',
AllyJoinedWarAllyMsg: 'AllyJoinedWarAllyMsg',
AllyJoinedWarDefenderMsg: 'AllyJoinedWarDefenderMsg',
BattlePunishFriendlyFire: 'BattlePunishFriendlyFire',
BillOutOfMoneyMsg: 'BillOutOfMoneyMsg',
BillPaidCorpAllMsg: 'BillPaidCorpAllMsg',
BountyClaimMsg: 'BountyClaimMsg',
BountyEssShared: 'BountyESSShared',
BountyEssTaken: 'BountyESSTaken',
BountyPlacedAlliance: 'BountyPlacedAlliance',
BountyPlacedChar: 'BountyPlacedChar',
BountyPlacedCorp: 'BountyPlacedCorp',
BountyYourBountyClaimed: 'BountyYourBountyClaimed',
BuddyConnectContactAdd: 'BuddyConnectContactAdd',
CharAppAcceptMsg: 'CharAppAcceptMsg',
CharAppRejectMsg: 'CharAppRejectMsg',
CharAppWithdrawMsg: 'CharAppWithdrawMsg',
CharLeftCorpMsg: 'CharLeftCorpMsg',
CharMedalMsg: 'CharMedalMsg',
CharTerminationMsg: 'CharTerminationMsg',
CloneActivationMsg: 'CloneActivationMsg',
CloneActivationMsg2: 'CloneActivationMsg2',
CloneMovedMsg: 'CloneMovedMsg',
CloneRevokedMsg1: 'CloneRevokedMsg1',
CloneRevokedMsg2: 'CloneRevokedMsg2',
CombatOperationFinished: 'CombatOperationFinished',
ContactAdd: 'ContactAdd',
ContactEdit: 'ContactEdit',
ContainerPasswordMsg: 'ContainerPasswordMsg',
ContractRegionChangedToPochven: 'ContractRegionChangedToPochven',
CorpAllBillMsg: 'CorpAllBillMsg',
CorpAppAcceptMsg: 'CorpAppAcceptMsg',
CorpAppInvitedMsg: 'CorpAppInvitedMsg',
CorpAppNewMsg: 'CorpAppNewMsg',
CorpAppRejectCustomMsg: 'CorpAppRejectCustomMsg',
CorpAppRejectMsg: 'CorpAppRejectMsg',
CorpBecameWarEligible: 'CorpBecameWarEligible',
CorpDividendMsg: 'CorpDividendMsg',
CorpFriendlyFireDisableTimerCompleted: 'CorpFriendlyFireDisableTimerCompleted',
CorpFriendlyFireDisableTimerStarted: 'CorpFriendlyFireDisableTimerStarted',
CorpFriendlyFireEnableTimerCompleted: 'CorpFriendlyFireEnableTimerCompleted',
CorpFriendlyFireEnableTimerStarted: 'CorpFriendlyFireEnableTimerStarted',
CorpKicked: 'CorpKicked',
CorpLiquidationMsg: 'CorpLiquidationMsg',
CorpNewCeoMsg: 'CorpNewCEOMsg',
CorpNewsMsg: 'CorpNewsMsg',
CorpNoLongerWarEligible: 'CorpNoLongerWarEligible',
CorpOfficeExpirationMsg: 'CorpOfficeExpirationMsg',
CorpStructLostMsg: 'CorpStructLostMsg',
CorpTaxChangeMsg: 'CorpTaxChangeMsg',
CorpVoteCeoRevokedMsg: 'CorpVoteCEORevokedMsg',
CorpVoteMsg: 'CorpVoteMsg',
CorpWarDeclaredMsg: 'CorpWarDeclaredMsg',
CorpWarDeclaredV2: 'CorpWarDeclaredV2',
CorpWarFightingLegalMsg: 'CorpWarFightingLegalMsg',
CorpWarInvalidatedMsg: 'CorpWarInvalidatedMsg',
CorpWarRetractedMsg: 'CorpWarRetractedMsg',
CorpWarSurrenderMsg: 'CorpWarSurrenderMsg',
CorporationGoalClosed: 'CorporationGoalClosed',
CorporationGoalCompleted: 'CorporationGoalCompleted',
CorporationGoalCreated: 'CorporationGoalCreated',
CorporationGoalExpired: 'CorporationGoalExpired',
CorporationGoalLimitReached: 'CorporationGoalLimitReached',
CorporationGoalNameChange: 'CorporationGoalNameChange',
CorporationLeft: 'CorporationLeft',
CustomsMsg: 'CustomsMsg',
DailyItemRewardAutoClaimed: 'DailyItemRewardAutoClaimed',
DeclareWar: 'DeclareWar',
DistrictAttacked: 'DistrictAttacked',
DustAppAcceptedMsg: 'DustAppAcceptedMsg',
EssMainBankLink: 'ESSMainBankLink',
EntosisCaptureStarted: 'EntosisCaptureStarted',
ExpertSystemExpired: 'ExpertSystemExpired',
ExpertSystemExpiryImminent: 'ExpertSystemExpiryImminent',
FwAllianceKickMsg: 'FWAllianceKickMsg',
FwAllianceWarningMsg: 'FWAllianceWarningMsg',
FwCharKickMsg: 'FWCharKickMsg',
FwCharRankGainMsg: 'FWCharRankGainMsg',
FwCharRankLossMsg: 'FWCharRankLossMsg',
FwCharWarningMsg: 'FWCharWarningMsg',
FwCorpJoinMsg: 'FWCorpJoinMsg',
FwCorpKickMsg: 'FWCorpKickMsg',
FwCorpLeaveMsg: 'FWCorpLeaveMsg',
FwCorpWarningMsg: 'FWCorpWarningMsg',
FacWarCorpJoinRequestMsg: 'FacWarCorpJoinRequestMsg',
FacWarCorpJoinWithdrawMsg: 'FacWarCorpJoinWithdrawMsg',
FacWarCorpLeaveRequestMsg: 'FacWarCorpLeaveRequestMsg',
FacWarCorpLeaveWithdrawMsg: 'FacWarCorpLeaveWithdrawMsg',
FacWarLpDisqualifiedEvent: 'FacWarLPDisqualifiedEvent',
FacWarLpDisqualifiedKill: 'FacWarLPDisqualifiedKill',
FacWarLpPayoutEvent: 'FacWarLPPayoutEvent',
FacWarLpPayoutKill: 'FacWarLPPayoutKill',
FreelanceProjectClosed: 'FreelanceProjectClosed',
FreelanceProjectCompleted: 'FreelanceProjectCompleted',
FreelanceProjectCreated: 'FreelanceProjectCreated',
FreelanceProjectExpired: 'FreelanceProjectExpired',
FreelanceProjectLimitReached: 'FreelanceProjectLimitReached',
FreelanceProjectParticipantKicked: 'FreelanceProjectParticipantKicked',
GameTimeAdded: 'GameTimeAdded',
GameTimeReceived: 'GameTimeReceived',
GameTimeSent: 'GameTimeSent',
GiftReceived: 'GiftReceived',
IHubDestroyedByBillFailure: 'IHubDestroyedByBillFailure',
IncursionCompletedMsg: 'IncursionCompletedMsg',
IndustryOperationFinished: 'IndustryOperationFinished',
IndustryTeamAuctionLost: 'IndustryTeamAuctionLost',
IndustryTeamAuctionWon: 'IndustryTeamAuctionWon',
InfrastructureHubBillAboutToExpire: 'InfrastructureHubBillAboutToExpire',
InsuranceExpirationMsg: 'InsuranceExpirationMsg',
InsuranceFirstShipMsg: 'InsuranceFirstShipMsg',
InsuranceInvalidatedMsg: 'InsuranceInvalidatedMsg',
InsuranceIssuedMsg: 'InsuranceIssuedMsg',
InsurancePayoutMsg: 'InsurancePayoutMsg',
InvasionCompletedMsg: 'InvasionCompletedMsg',
InvasionSystemLogin: 'InvasionSystemLogin',
InvasionSystemStart: 'InvasionSystemStart',
JumpCloneDeletedMsg1: 'JumpCloneDeletedMsg1',
JumpCloneDeletedMsg2: 'JumpCloneDeletedMsg2',
KillReportFinalBlow: 'KillReportFinalBlow',
KillReportVictim: 'KillReportVictim',
KillRightAvailable: 'KillRightAvailable',
KillRightAvailableOpen: 'KillRightAvailableOpen',
KillRightEarned: 'KillRightEarned',
KillRightUnavailable: 'KillRightUnavailable',
KillRightUnavailableOpen: 'KillRightUnavailableOpen',
KillRightUsed: 'KillRightUsed',
LpAutoRedeemed: 'LPAutoRedeemed',
LocateCharMsg: 'LocateCharMsg',
MadeWarMutual: 'MadeWarMutual',
MercOfferRetractedMsg: 'MercOfferRetractedMsg',
MercOfferedNegotiationMsg: 'MercOfferedNegotiationMsg',
MercenaryDenAttacked: 'MercenaryDenAttacked',
MercenaryDenNewMto: 'MercenaryDenNewMTO',
MercenaryDenReinforced: 'MercenaryDenReinforced',
MissionCanceledTriglavian: 'MissionCanceledTriglavian',
MissionOfferExpirationMsg: 'MissionOfferExpirationMsg',
MissionTimeoutMsg: 'MissionTimeoutMsg',
MoonminingAutomaticFracture: 'MoonminingAutomaticFracture',
MoonminingExtractionCancelled: 'MoonminingExtractionCancelled',
MoonminingExtractionFinished: 'MoonminingExtractionFinished',
MoonminingExtractionStarted: 'MoonminingExtractionStarted',
MoonminingLaserFired: 'MoonminingLaserFired',
MutualWarExpired: 'MutualWarExpired',
MutualWarInviteAccepted: 'MutualWarInviteAccepted',
MutualWarInviteRejected: 'MutualWarInviteRejected',
MutualWarInviteSent: 'MutualWarInviteSent',
NpcStandingsGained: 'NPCStandingsGained',
NpcStandingsLost: 'NPCStandingsLost',
OfferToAllyRetracted: 'OfferToAllyRetracted',
OfferedSurrender: 'OfferedSurrender',
OfferedToAlly: 'OfferedToAlly',
OfficeLeaseCanceledInsufficientStandings: 'OfficeLeaseCanceledInsufficientStandings',
OldLscMessages: 'OldLscMessages',
OperationFinished: 'OperationFinished',
OrbitalAttacked: 'OrbitalAttacked',
OrbitalReinforced: 'OrbitalReinforced',
OwnershipTransferred: 'OwnershipTransferred',
RaffleCreated: 'RaffleCreated',
RaffleExpired: 'RaffleExpired',
RaffleFinished: 'RaffleFinished',
ReimbursementMsg: 'ReimbursementMsg',
ResearchMissionAvailableMsg: 'ResearchMissionAvailableMsg',
RetractsWar: 'RetractsWar',
SpAutoRedeemed: 'SPAutoRedeemed',
SeasonalChallengeCompleted: 'SeasonalChallengeCompleted',
SkinSequencingCompleted: 'SkinSequencingCompleted',
SkyhookDeployed: 'SkyhookDeployed',
SkyhookDestroyed: 'SkyhookDestroyed',
SkyhookLostShields: 'SkyhookLostShields',
SkyhookOnline: 'SkyhookOnline',
SkyhookUnderAttack: 'SkyhookUnderAttack',
SovAllClaimAquiredMsg: 'SovAllClaimAquiredMsg',
SovAllClaimLostMsg: 'SovAllClaimLostMsg',
SovCommandNodeEventStarted: 'SovCommandNodeEventStarted',
SovCorpBillLateMsg: 'SovCorpBillLateMsg',
SovCorpClaimFailMsg: 'SovCorpClaimFailMsg',
SovDisruptorMsg: 'SovDisruptorMsg',
SovStationEnteredFreeport: 'SovStationEnteredFreeport',
SovStructureDestroyed: 'SovStructureDestroyed',
SovStructureReinforced: 'SovStructureReinforced',
SovStructureSelfDestructCancel: 'SovStructureSelfDestructCancel',
SovStructureSelfDestructFinished: 'SovStructureSelfDestructFinished',
SovStructureSelfDestructRequested: 'SovStructureSelfDestructRequested',
SovereigntyIhDamageMsg: 'SovereigntyIHDamageMsg',
SovereigntySbuDamageMsg: 'SovereigntySBUDamageMsg',
SovereigntyTcuDamageMsg: 'SovereigntyTCUDamageMsg',
StationAggressionMsg1: 'StationAggressionMsg1',
StationAggressionMsg2: 'StationAggressionMsg2',
StationConquerMsg: 'StationConquerMsg',
StationServiceDisabled: 'StationServiceDisabled',
StationServiceEnabled: 'StationServiceEnabled',
StationStateChangeMsg: 'StationStateChangeMsg',
StoryLineMissionAvailableMsg: 'StoryLineMissionAvailableMsg',
StructureAnchoring: 'StructureAnchoring',
StructureCourierContractChanged: 'StructureCourierContractChanged',
StructureDestroyed: 'StructureDestroyed',
StructureFuelAlert: 'StructureFuelAlert',
StructureImpendingAbandonmentAssetsAtRisk: 'StructureImpendingAbandonmentAssetsAtRisk',
StructureItemsDelivered: 'StructureItemsDelivered',
StructureItemsMovedToSafety: 'StructureItemsMovedToSafety',
StructureLostArmor: 'StructureLostArmor',
StructureLostShields: 'StructureLostShields',
StructureLowReagentsAlert: 'StructureLowReagentsAlert',
StructureNoReagentsAlert: 'StructureNoReagentsAlert',
StructureOnline: 'StructureOnline',
StructurePaintPurchased: 'StructurePaintPurchased',
StructureServicesOffline: 'StructureServicesOffline',
StructureUnanchoring: 'StructureUnanchoring',
StructureUnderAttack: 'StructureUnderAttack',
StructureWentHighPower: 'StructureWentHighPower',
StructureWentLowPower: 'StructureWentLowPower',
StructuresJobsCancelled: 'StructuresJobsCancelled',
StructuresJobsPaused: 'StructuresJobsPaused',
StructuresReinforcementChanged: 'StructuresReinforcementChanged',
TowerAlertMsg: 'TowerAlertMsg',
TowerResourceAlertMsg: 'TowerResourceAlertMsg',
TransactionReversalMsg: 'TransactionReversalMsg',
TutorialMsg: 'TutorialMsg',
WarAdopted: 'WarAdopted ',
WarAllyInherited: 'WarAllyInherited',
WarAllyOfferDeclinedMsg: 'WarAllyOfferDeclinedMsg',
WarConcordInvalidates: 'WarConcordInvalidates',
WarDeclared: 'WarDeclared',
WarEndedHqSecurityDrop: 'WarEndedHqSecurityDrop',
WarHqRemovedFromSpace: 'WarHQRemovedFromSpace',
WarInherited: 'WarInherited',
WarInvalid: 'WarInvalid',
WarRetracted: 'WarRetracted',
WarRetractedByConcord: 'WarRetractedByConcord',
WarSurrenderDeclinedMsg: 'WarSurrenderDeclinedMsg',
WarSurrenderOfferMsg: 'WarSurrenderOfferMsg'
};
/**
* Check if a given object implements the GetCharactersCharacterIdNotifications200Ok interface.
*/
export function instanceOfGetCharactersCharacterIdNotifications200Ok(value) {
if (!('notificationId' in value) || value['notificationId'] === undefined)
return false;
if (!('senderId' in value) || value['senderId'] === undefined)
return false;
if (!('senderType' in value) || value['senderType'] === undefined)
return false;
if (!('timestamp' in value) || value['timestamp'] === undefined)
return false;
if (!('type' in value) || value['type'] === undefined)
return false;
return true;
}
export function GetCharactersCharacterIdNotifications200OkFromJSON(json) {
return GetCharactersCharacterIdNotifications200OkFromJSONTyped(json, false);
}
export function GetCharactersCharacterIdNotifications200OkFromJSONTyped(json, ignoreDiscriminator) {
if (json == null) {
return json;
}
return {
'isRead': json['is_read'] == null ? undefined : json['is_read'],
'notificationId': json['notification_id'],
'senderId': json['sender_id'],
'senderType': json['sender_type'],
'text': json['text'] == null ? undefined : json['text'],
'timestamp': (new Date(json['timestamp'])),
'type': json['type'],
};
}
export function GetCharactersCharacterIdNotifications200OkToJSON(json) {
return GetCharactersCharacterIdNotifications200OkToJSONTyped(json, false);
}
export function GetCharactersCharacterIdNotifications200OkToJSONTyped(value, ignoreDiscriminator = false) {
if (value == null) {
return value;
}
return {
'is_read': value['isRead'],
'notification_id': value['notificationId'],
'sender_id': value['senderId'],
'sender_type': value['senderType'],
'text': value['text'],
'timestamp': ((value['timestamp']).toISOString()),
'type': value['type'],
};
}