UNPKG

@fnt-eve/esi-client-typescript

Version:

[![npm version](https://img.shields.io/npm/v/@fnt-eve/esi-client-typescript)](https://www.npmjs.com/package/@fnt-eve/esi-client-typescript)

251 lines (250 loc) 11.2 kB
/* 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 GetCharactersCharacterIdWalletJournal200OkContextIdTypeEnum = { StructureId: 'structure_id', StationId: 'station_id', MarketTransactionId: 'market_transaction_id', CharacterId: 'character_id', CorporationId: 'corporation_id', AllianceId: 'alliance_id', EveSystem: 'eve_system', IndustryJobId: 'industry_job_id', ContractId: 'contract_id', PlanetId: 'planet_id', SystemId: 'system_id', TypeId: 'type_id' }; /** * @export */ export const GetCharactersCharacterIdWalletJournal200OkRefTypeEnum = { AccelerationGateFee: 'acceleration_gate_fee', AdvertisementListingFee: 'advertisement_listing_fee', AgentDonation: 'agent_donation', AgentLocationServices: 'agent_location_services', AgentMiscellaneous: 'agent_miscellaneous', AgentMissionCollateralPaid: 'agent_mission_collateral_paid', AgentMissionCollateralRefunded: 'agent_mission_collateral_refunded', AgentMissionReward: 'agent_mission_reward', AgentMissionRewardCorporationTax: 'agent_mission_reward_corporation_tax', AgentMissionTimeBonusReward: 'agent_mission_time_bonus_reward', AgentMissionTimeBonusRewardCorporationTax: 'agent_mission_time_bonus_reward_corporation_tax', AgentSecurityServices: 'agent_security_services', AgentServicesRendered: 'agent_services_rendered', AgentsPreward: 'agents_preward', AirCareerProgramReward: 'air_career_program_reward', AllianceMaintainanceFee: 'alliance_maintainance_fee', AllianceRegistrationFee: 'alliance_registration_fee', AllignmentBasedGateToll: 'allignment_based_gate_toll', AssetSafetyRecoveryTax: 'asset_safety_recovery_tax', Bounty: 'bounty', BountyPrize: 'bounty_prize', BountyPrizeCorporationTax: 'bounty_prize_corporation_tax', BountyPrizes: 'bounty_prizes', BountyReimbursement: 'bounty_reimbursement', BountySurcharge: 'bounty_surcharge', BrokersFee: 'brokers_fee', CloneActivation: 'clone_activation', CloneTransfer: 'clone_transfer', ContrabandFine: 'contraband_fine', ContractAuctionBid: 'contract_auction_bid', ContractAuctionBidCorp: 'contract_auction_bid_corp', ContractAuctionBidRefund: 'contract_auction_bid_refund', ContractAuctionSold: 'contract_auction_sold', ContractBrokersFee: 'contract_brokers_fee', ContractBrokersFeeCorp: 'contract_brokers_fee_corp', ContractCollateral: 'contract_collateral', ContractCollateralDepositedCorp: 'contract_collateral_deposited_corp', ContractCollateralPayout: 'contract_collateral_payout', ContractCollateralRefund: 'contract_collateral_refund', ContractDeposit: 'contract_deposit', ContractDepositCorp: 'contract_deposit_corp', ContractDepositRefund: 'contract_deposit_refund', ContractDepositSalesTax: 'contract_deposit_sales_tax', ContractPrice: 'contract_price', ContractPricePaymentCorp: 'contract_price_payment_corp', ContractReversal: 'contract_reversal', ContractReward: 'contract_reward', ContractRewardDeposited: 'contract_reward_deposited', ContractRewardDepositedCorp: 'contract_reward_deposited_corp', ContractRewardRefund: 'contract_reward_refund', ContractSalesTax: 'contract_sales_tax', Copying: 'copying', CorporateRewardPayout: 'corporate_reward_payout', CorporateRewardTax: 'corporate_reward_tax', CorporationAccountWithdrawal: 'corporation_account_withdrawal', CorporationBulkPayment: 'corporation_bulk_payment', CorporationDividendPayment: 'corporation_dividend_payment', CorporationLiquidation: 'corporation_liquidation', CorporationLogoChangeCost: 'corporation_logo_change_cost', CorporationPayment: 'corporation_payment', CorporationRegistrationFee: 'corporation_registration_fee', CosmeticMarketComponentItemPurchase: 'cosmetic_market_component_item_purchase', CosmeticMarketSkinPurchase: 'cosmetic_market_skin_purchase', CosmeticMarketSkinSale: 'cosmetic_market_skin_sale', CosmeticMarketSkinSaleBrokerFee: 'cosmetic_market_skin_sale_broker_fee', CosmeticMarketSkinSaleTax: 'cosmetic_market_skin_sale_tax', CosmeticMarketSkinTransaction: 'cosmetic_market_skin_transaction', CourierMissionEscrow: 'courier_mission_escrow', Cspa: 'cspa', Cspaofflinerefund: 'cspaofflinerefund', DailyChallengeReward: 'daily_challenge_reward', DailyGoalPayouts: 'daily_goal_payouts', DailyGoalPayoutsTax: 'daily_goal_payouts_tax', DatacoreFee: 'datacore_fee', DnaModificationFee: 'dna_modification_fee', DockingFee: 'docking_fee', DuelWagerEscrow: 'duel_wager_escrow', DuelWagerPayment: 'duel_wager_payment', DuelWagerRefund: 'duel_wager_refund', EssEscrowTransfer: 'ess_escrow_transfer', ExternalTradeDelivery: 'external_trade_delivery', ExternalTradeFreeze: 'external_trade_freeze', ExternalTradeThaw: 'external_trade_thaw', FactorySlotRentalFee: 'factory_slot_rental_fee', FluxPayout: 'flux_payout', FluxTax: 'flux_tax', FluxTicketRepayment: 'flux_ticket_repayment', FluxTicketSale: 'flux_ticket_sale', FreelanceJobsBroadcastingFee: 'freelance_jobs_broadcasting_fee', FreelanceJobsDurationFee: 'freelance_jobs_duration_fee', FreelanceJobsEscrowRefund: 'freelance_jobs_escrow_refund', FreelanceJobsReward: 'freelance_jobs_reward', FreelanceJobsRewardCorporationTax: 'freelance_jobs_reward_corporation_tax', FreelanceJobsRewardEscrow: 'freelance_jobs_reward_escrow', GmCashTransfer: 'gm_cash_transfer', GmPlexFeeRefund: 'gm_plex_fee_refund', IndustryJobTax: 'industry_job_tax', InfrastructureHubMaintenance: 'infrastructure_hub_maintenance', Inheritance: 'inheritance', Insurance: 'insurance', InsurgencyCorruptionContributionReward: 'insurgency_corruption_contribution_reward', InsurgencySuppressionContributionReward: 'insurgency_suppression_contribution_reward', ItemTraderPayment: 'item_trader_payment', JumpCloneActivationFee: 'jump_clone_activation_fee', JumpCloneInstallationFee: 'jump_clone_installation_fee', KillRightFee: 'kill_right_fee', LpStore: 'lp_store', Manufacturing: 'manufacturing', MarketEscrow: 'market_escrow', MarketFinePaid: 'market_fine_paid', MarketProviderTax: 'market_provider_tax', MarketTransaction: 'market_transaction', MedalCreation: 'medal_creation', MedalIssued: 'medal_issued', MilestoneRewardPayment: 'milestone_reward_payment', MissionCompletion: 'mission_completion', MissionCost: 'mission_cost', MissionExpiration: 'mission_expiration', MissionReward: 'mission_reward', OfficeRentalFee: 'office_rental_fee', OperationBonus: 'operation_bonus', OpportunityReward: 'opportunity_reward', PlanetaryConstruction: 'planetary_construction', PlanetaryExportTax: 'planetary_export_tax', PlanetaryImportTax: 'planetary_import_tax', PlayerDonation: 'player_donation', PlayerTrading: 'player_trading', ProjectDiscoveryReward: 'project_discovery_reward', ProjectDiscoveryTax: 'project_discovery_tax', ProjectPayouts: 'project_payouts', Reaction: 'reaction', RedeemedIskToken: 'redeemed_isk_token', ReleaseOfImpoundedProperty: 'release_of_impounded_property', RepairBill: 'repair_bill', ReprocessingTax: 'reprocessing_tax', ResearchingMaterialProductivity: 'researching_material_productivity', ResearchingTechnology: 'researching_technology', ResearchingTimeProductivity: 'researching_time_productivity', ResourceWarsReward: 'resource_wars_reward', ReverseEngineering: 'reverse_engineering', SeasonChallengeReward: 'season_challenge_reward', SecurityProcessingFee: 'security_processing_fee', Shares: 'shares', SkillPurchase: 'skill_purchase', SkyhookClaimFee: 'skyhook_claim_fee', SovereignityBill: 'sovereignity_bill', StorePurchase: 'store_purchase', StorePurchaseRefund: 'store_purchase_refund', StructureGateJump: 'structure_gate_jump', TransactionTax: 'transaction_tax', UnderConstruction: 'under_construction', UpkeepAdjustmentFee: 'upkeep_adjustment_fee', WarAllyContract: 'war_ally_contract', WarFee: 'war_fee', WarFeeSurrender: 'war_fee_surrender' }; /** * Check if a given object implements the GetCharactersCharacterIdWalletJournal200Ok interface. */ export function instanceOfGetCharactersCharacterIdWalletJournal200Ok(value) { if (!('date' in value) || value['date'] === undefined) return false; if (!('description' in value) || value['description'] === undefined) return false; if (!('id' in value) || value['id'] === undefined) return false; if (!('refType' in value) || value['refType'] === undefined) return false; return true; } export function GetCharactersCharacterIdWalletJournal200OkFromJSON(json) { return GetCharactersCharacterIdWalletJournal200OkFromJSONTyped(json, false); } export function GetCharactersCharacterIdWalletJournal200OkFromJSONTyped(json, ignoreDiscriminator) { if (json == null) { return json; } return { 'amount': json['amount'] == null ? undefined : json['amount'], 'balance': json['balance'] == null ? undefined : json['balance'], 'contextId': json['context_id'] == null ? undefined : json['context_id'], 'contextIdType': json['context_id_type'] == null ? undefined : json['context_id_type'], 'date': (new Date(json['date'])), 'description': json['description'], 'firstPartyId': json['first_party_id'] == null ? undefined : json['first_party_id'], 'id': json['id'], 'reason': json['reason'] == null ? undefined : json['reason'], 'refType': json['ref_type'], 'secondPartyId': json['second_party_id'] == null ? undefined : json['second_party_id'], 'tax': json['tax'] == null ? undefined : json['tax'], 'taxReceiverId': json['tax_receiver_id'] == null ? undefined : json['tax_receiver_id'], }; } export function GetCharactersCharacterIdWalletJournal200OkToJSON(json) { return GetCharactersCharacterIdWalletJournal200OkToJSONTyped(json, false); } export function GetCharactersCharacterIdWalletJournal200OkToJSONTyped(value, ignoreDiscriminator = false) { if (value == null) { return value; } return { 'amount': value['amount'], 'balance': value['balance'], 'context_id': value['contextId'], 'context_id_type': value['contextIdType'], 'date': ((value['date']).toISOString()), 'description': value['description'], 'first_party_id': value['firstPartyId'], 'id': value['id'], 'reason': value['reason'], 'ref_type': value['refType'], 'second_party_id': value['secondPartyId'], 'tax': value['tax'], 'tax_receiver_id': value['taxReceiverId'], }; }