esisl_genoa_client 0.1.0
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.
- package/.openapi-generator/FILES +306 -0
- package/.openapi-generator/VERSION +1 -0
- package/.openapi-generator-ignore +23 -0
- package/README.md +623 -0
- package/dist/apis/AllianceApi.d.ts +248 -0
- package/dist/apis/AllianceApi.js +420 -0
- package/dist/apis/AssetsApi.d.ts +374 -0
- package/dist/apis/AssetsApi.js +622 -0
- package/dist/apis/CalendarApi.d.ts +260 -0
- package/dist/apis/CalendarApi.js +442 -0
- package/dist/apis/CharacterApi.d.ts +814 -0
- package/dist/apis/CharacterApi.js +1299 -0
- package/dist/apis/ClonesApi.d.ts +138 -0
- package/dist/apis/ClonesApi.js +252 -0
- package/dist/apis/ContactsApi.d.ts +554 -0
- package/dist/apis/ContactsApi.js +899 -0
- package/dist/apis/ContractsApi.d.ts +550 -0
- package/dist/apis/ContractsApi.js +888 -0
- package/dist/apis/CorporationApi.d.ts +1278 -0
- package/dist/apis/CorporationApi.js +2011 -0
- package/dist/apis/DogmaApi.d.ts +304 -0
- package/dist/apis/DogmaApi.js +506 -0
- package/dist/apis/FactionWarfareApi.d.ts +462 -0
- package/dist/apis/FactionWarfareApi.js +744 -0
- package/dist/apis/FittingsApi.d.ts +198 -0
- package/dist/apis/FittingsApi.js +345 -0
- package/dist/apis/FleetsApi.d.ts +834 -0
- package/dist/apis/FleetsApi.js +1321 -0
- package/dist/apis/IncursionsApi.d.ts +80 -0
- package/dist/apis/IncursionsApi.js +162 -0
- package/dist/apis/IndustryApi.d.ts +486 -0
- package/dist/apis/IndustryApi.js +785 -0
- package/dist/apis/InsuranceApi.d.ts +80 -0
- package/dist/apis/InsuranceApi.js +162 -0
- package/dist/apis/KillmailsApi.d.ts +200 -0
- package/dist/apis/KillmailsApi.js +348 -0
- package/dist/apis/LocationApi.d.ts +194 -0
- package/dist/apis/LocationApi.js +338 -0
- package/dist/apis/LoyaltyApi.d.ts +138 -0
- package/dist/apis/LoyaltyApi.js +252 -0
- package/dist/apis/MailApi.d.ts +548 -0
- package/dist/apis/MailApi.js +897 -0
- package/dist/apis/MarketApi.d.ts +665 -0
- package/dist/apis/MarketApi.js +1061 -0
- package/dist/apis/MetaApi.d.ts +134 -0
- package/dist/apis/MetaApi.js +244 -0
- package/dist/apis/PlanetaryInteractionApi.d.ts +254 -0
- package/dist/apis/PlanetaryInteractionApi.js +431 -0
- package/dist/apis/RoutesApi.d.ts +98 -0
- package/dist/apis/RoutesApi.js +189 -0
- package/dist/apis/SearchApi.d.ts +105 -0
- package/dist/apis/SearchApi.js +199 -0
- package/dist/apis/SkillsApi.d.ts +194 -0
- package/dist/apis/SkillsApi.js +338 -0
- package/dist/apis/SovereigntyApi.d.ts +188 -0
- package/dist/apis/SovereigntyApi.js +326 -0
- package/dist/apis/StatusApi.d.ts +80 -0
- package/dist/apis/StatusApi.js +162 -0
- package/dist/apis/UniverseApi.d.ts +1692 -0
- package/dist/apis/UniverseApi.js +2625 -0
- package/dist/apis/UserInterfaceApi.d.ts +310 -0
- package/dist/apis/UserInterfaceApi.js +521 -0
- package/dist/apis/WalletApi.d.ts +374 -0
- package/dist/apis/WalletApi.js +622 -0
- package/dist/apis/WarsApi.d.ts +196 -0
- package/dist/apis/WarsApi.js +340 -0
- package/dist/apis/index.d.ts +31 -0
- package/dist/apis/index.js +49 -0
- package/dist/index.d.ts +3 -0
- package/dist/index.js +21 -0
- package/dist/models/index.d.ts +12463 -0
- package/dist/models/index.js +3557 -0
- package/dist/runtime.d.ts +181 -0
- package/dist/runtime.js +555 -0
- package/dist/serviceFacade.d.ts +6 -0
- package/dist/serviceFacade.js +46 -0
- package/docs/AllianceApi.md +329 -0
- package/docs/AlliancesAllianceIdContactsGetInner.md +17 -0
- package/docs/AlliancesAllianceIdContactsLabelsGetInner.md +15 -0
- package/docs/AlliancesAllianceIdGet.md +20 -0
- package/docs/AlliancesAllianceIdIconsGet.md +15 -0
- package/docs/AssetsApi.md +536 -0
- package/docs/CalendarApi.md +363 -0
- package/docs/CharacterApi.md +1188 -0
- package/docs/CharactersAffiliationPostInner.md +17 -0
- package/docs/CharactersCharacterIdAgentsResearchGetInner.md +18 -0
- package/docs/CharactersCharacterIdAssetsGetInner.md +21 -0
- package/docs/CharactersCharacterIdAssetsLocationsPostInner.md +15 -0
- package/docs/CharactersCharacterIdAssetsLocationsPostInnerPosition.md +16 -0
- package/docs/CharactersCharacterIdAssetsNamesPostInner.md +15 -0
- package/docs/CharactersCharacterIdAttributesGet.md +21 -0
- package/docs/CharactersCharacterIdBlueprintsGetInner.md +21 -0
- package/docs/CharactersCharacterIdCalendarEventIdAttendeesGetInner.md +16 -0
- package/docs/CharactersCharacterIdCalendarEventIdGet.md +24 -0
- package/docs/CharactersCharacterIdCalendarGetInner.md +19 -0
- package/docs/CharactersCharacterIdClonesGet.md +17 -0
- package/docs/CharactersCharacterIdClonesGetHomeLocation.md +15 -0
- package/docs/CharactersCharacterIdClonesGetJumpClonesInner.md +19 -0
- package/docs/CharactersCharacterIdContactsGetInner.md +19 -0
- package/docs/CharactersCharacterIdContractsContractIdBidsGetInner.md +17 -0
- package/docs/CharactersCharacterIdContractsContractIdItemsGetInner.md +19 -0
- package/docs/CharactersCharacterIdContractsGetInner.md +35 -0
- package/docs/CharactersCharacterIdCorporationhistoryGetInner.md +17 -0
- package/docs/CharactersCharacterIdFatigueGet.md +16 -0
- package/docs/CharactersCharacterIdFittingsGetInner.md +18 -0
- package/docs/CharactersCharacterIdFittingsGetInnerItemsInner.md +17 -0
- package/docs/CharactersCharacterIdFittingsPost.md +15 -0
- package/docs/CharactersCharacterIdFleetGet.md +18 -0
- package/docs/CharactersCharacterIdFwStatsGet.md +19 -0
- package/docs/CharactersCharacterIdFwStatsGetKills.md +17 -0
- package/docs/CharactersCharacterIdFwStatsGetVictoryPoints.md +17 -0
- package/docs/CharactersCharacterIdGet.md +24 -0
- package/docs/CharactersCharacterIdIndustryJobsGetInner.md +35 -0
- package/docs/CharactersCharacterIdKillmailsRecentGetInner.md +15 -0
- package/docs/CharactersCharacterIdLocationGet.md +16 -0
- package/docs/CharactersCharacterIdLoyaltyPointsGetInner.md +15 -0
- package/docs/CharactersCharacterIdMailGetInner.md +20 -0
- package/docs/CharactersCharacterIdMailLabelsGet.md +15 -0
- package/docs/CharactersCharacterIdMailLabelsGetLabelsInner.md +18 -0
- package/docs/CharactersCharacterIdMailListsGetInner.md +15 -0
- package/docs/CharactersCharacterIdMailMailIdGet.md +20 -0
- package/docs/CharactersCharacterIdMedalsGetInner.md +22 -0
- package/docs/CharactersCharacterIdMedalsGetInnerGraphicsInner.md +18 -0
- package/docs/CharactersCharacterIdMiningGetInner.md +17 -0
- package/docs/CharactersCharacterIdNotificationsContactsGetInner.md +18 -0
- package/docs/CharactersCharacterIdNotificationsGetInner.md +20 -0
- package/docs/CharactersCharacterIdOnlineGet.md +17 -0
- package/docs/CharactersCharacterIdOrdersGetInner.md +27 -0
- package/docs/CharactersCharacterIdOrdersHistoryGetInner.md +28 -0
- package/docs/CharactersCharacterIdPlanetsGetInner.md +20 -0
- package/docs/CharactersCharacterIdPlanetsPlanetIdGet.md +16 -0
- package/docs/CharactersCharacterIdPlanetsPlanetIdGetLinksInner.md +17 -0
- package/docs/CharactersCharacterIdPlanetsPlanetIdGetPinsInner.md +25 -0
- package/docs/CharactersCharacterIdPlanetsPlanetIdGetPinsInnerContentsInner.md +16 -0
- package/docs/CharactersCharacterIdPlanetsPlanetIdGetPinsInnerExtractorDetails.md +18 -0
- package/docs/CharactersCharacterIdPlanetsPlanetIdGetPinsInnerExtractorDetailsHeadsInner.md +17 -0
- package/docs/CharactersCharacterIdPlanetsPlanetIdGetPinsInnerFactoryDetails.md +14 -0
- package/docs/CharactersCharacterIdPlanetsPlanetIdGetRoutesInner.md +20 -0
- package/docs/CharactersCharacterIdPortraitGet.md +17 -0
- package/docs/CharactersCharacterIdRolesGet.md +17 -0
- package/docs/CharactersCharacterIdSearchGet.md +24 -0
- package/docs/CharactersCharacterIdShipGet.md +16 -0
- package/docs/CharactersCharacterIdSkillqueueGetInner.md +21 -0
- package/docs/CharactersCharacterIdSkillsGet.md +16 -0
- package/docs/CharactersCharacterIdSkillsGetSkillsInner.md +18 -0
- package/docs/CharactersCharacterIdStandingsGetInner.md +16 -0
- package/docs/CharactersCharacterIdTitlesGetInner.md +15 -0
- package/docs/CharactersCharacterIdWalletJournalGetInner.md +26 -0
- package/docs/CharactersCharacterIdWalletTransactionsGetInner.md +24 -0
- package/docs/ClonesApi.md +178 -0
- package/docs/ContactsApi.md +809 -0
- package/docs/ContractsApi.md +791 -0
- package/docs/ContractsPublicBidsContractIdGetInner.md +16 -0
- package/docs/ContractsPublicItemsContractIdGetInner.md +22 -0
- package/docs/ContractsPublicRegionIdGetInner.md +29 -0
- package/docs/CorporationApi.md +1892 -0
- package/docs/CorporationCorporationIdMiningExtractionsGetInner.md +18 -0
- package/docs/CorporationCorporationIdMiningObserversGetInner.md +16 -0
- package/docs/CorporationCorporationIdMiningObserversObserverIdGetInner.md +18 -0
- package/docs/CorporationsCorporationIdAlliancehistoryGetInner.md +17 -0
- package/docs/CorporationsCorporationIdAssetsGetInner.md +21 -0
- package/docs/CorporationsCorporationIdBlueprintsGetInner.md +21 -0
- package/docs/CorporationsCorporationIdContactsGetInner.md +18 -0
- package/docs/CorporationsCorporationIdContainersLogsGetInner.md +25 -0
- package/docs/CorporationsCorporationIdContractsGetInner.md +35 -0
- package/docs/CorporationsCorporationIdCustomsOfficesGetInner.md +27 -0
- package/docs/CorporationsCorporationIdDivisionsGet.md +15 -0
- package/docs/CorporationsCorporationIdDivisionsGetHangarInner.md +16 -0
- package/docs/CorporationsCorporationIdDivisionsGetWalletInner.md +16 -0
- package/docs/CorporationsCorporationIdFacilitiesGetInner.md +16 -0
- package/docs/CorporationsCorporationIdFwStatsGet.md +18 -0
- package/docs/CorporationsCorporationIdFwStatsGetKills.md +17 -0
- package/docs/CorporationsCorporationIdFwStatsGetVictoryPoints.md +17 -0
- package/docs/CorporationsCorporationIdGet.md +27 -0
- package/docs/CorporationsCorporationIdIconsGet.md +16 -0
- package/docs/CorporationsCorporationIdIndustryJobsGetInner.md +35 -0
- package/docs/CorporationsCorporationIdMedalsGetInner.md +18 -0
- package/docs/CorporationsCorporationIdMedalsIssuedGetInner.md +19 -0
- package/docs/CorporationsCorporationIdMembersTitlesGetInner.md +15 -0
- package/docs/CorporationsCorporationIdMembertrackingGetInner.md +20 -0
- package/docs/CorporationsCorporationIdOrdersGetInner.md +28 -0
- package/docs/CorporationsCorporationIdOrdersHistoryGetInner.md +29 -0
- package/docs/CorporationsCorporationIdRolesGetInner.md +22 -0
- package/docs/CorporationsCorporationIdRolesHistoryGetInner.md +19 -0
- package/docs/CorporationsCorporationIdShareholdersGetInner.md +16 -0
- package/docs/CorporationsCorporationIdStarbasesGetInner.md +21 -0
- package/docs/CorporationsCorporationIdStarbasesStarbaseIdGet.md +27 -0
- package/docs/CorporationsCorporationIdStarbasesStarbaseIdGetFuelsInner.md +16 -0
- package/docs/CorporationsCorporationIdStructuresGetInner.md +28 -0
- package/docs/CorporationsCorporationIdStructuresGetInnerServicesInner.md +16 -0
- package/docs/CorporationsCorporationIdTitlesGetInner.md +23 -0
- package/docs/CorporationsCorporationIdWalletsDivisionJournalGetInner.md +26 -0
- package/docs/CorporationsCorporationIdWalletsDivisionTransactionsGetInner.md +23 -0
- package/docs/CorporationsCorporationIdWalletsGetInner.md +15 -0
- package/docs/DogmaApi.md +410 -0
- package/docs/DogmaAttributesAttributeIdGet.md +23 -0
- package/docs/DogmaDynamicItemsTypeIdItemIdGet.md +18 -0
- package/docs/DogmaDynamicItemsTypeIdItemIdGetDogmaAttributesInner.md +16 -0
- package/docs/DogmaDynamicItemsTypeIdItemIdGetDogmaEffectsInner.md +16 -0
- package/docs/DogmaEffectsEffectIdGet.md +34 -0
- package/docs/DogmaEffectsEffectIdGetModifiersInner.md +20 -0
- package/docs/ErrorDetail.md +16 -0
- package/docs/FactionWarfareApi.md +646 -0
- package/docs/FittingsApi.md +269 -0
- package/docs/FleetsApi.md +1234 -0
- package/docs/FleetsFleetIdGet.md +17 -0
- package/docs/FleetsFleetIdMembersGetInner.md +23 -0
- package/docs/FleetsFleetIdWingsGetInner.md +16 -0
- package/docs/FleetsFleetIdWingsGetInnerSquadsInner.md +16 -0
- package/docs/FleetsFleetIdWingsPost.md +15 -0
- package/docs/FleetsFleetIdWingsWingIdSquadsPost.md +15 -0
- package/docs/FwLeaderboardsCharactersGet.md +15 -0
- package/docs/FwLeaderboardsCharactersGetKills.md +17 -0
- package/docs/FwLeaderboardsCharactersGetKillsActiveTotalInner.md +16 -0
- package/docs/FwLeaderboardsCharactersGetKillsLastWeekInner.md +16 -0
- package/docs/FwLeaderboardsCharactersGetKillsYesterdayInner.md +16 -0
- package/docs/FwLeaderboardsCharactersGetVictoryPoints.md +17 -0
- package/docs/FwLeaderboardsCharactersGetVictoryPointsActiveTotalInner.md +16 -0
- package/docs/FwLeaderboardsCharactersGetVictoryPointsLastWeekInner.md +16 -0
- package/docs/FwLeaderboardsCharactersGetVictoryPointsYesterdayInner.md +16 -0
- package/docs/FwLeaderboardsCorporationsGet.md +15 -0
- package/docs/FwLeaderboardsCorporationsGetKills.md +17 -0
- package/docs/FwLeaderboardsCorporationsGetKillsActiveTotalInner.md +16 -0
- package/docs/FwLeaderboardsCorporationsGetKillsLastWeekInner.md +16 -0
- package/docs/FwLeaderboardsCorporationsGetKillsYesterdayInner.md +16 -0
- package/docs/FwLeaderboardsCorporationsGetVictoryPoints.md +17 -0
- package/docs/FwLeaderboardsCorporationsGetVictoryPointsActiveTotalInner.md +16 -0
- package/docs/FwLeaderboardsCorporationsGetVictoryPointsLastWeekInner.md +16 -0
- package/docs/FwLeaderboardsCorporationsGetVictoryPointsYesterdayInner.md +16 -0
- package/docs/FwLeaderboardsGet.md +15 -0
- package/docs/FwLeaderboardsGetKills.md +17 -0
- package/docs/FwLeaderboardsGetKillsActiveTotalInner.md +16 -0
- package/docs/FwLeaderboardsGetKillsLastWeekInner.md +16 -0
- package/docs/FwLeaderboardsGetKillsYesterdayInner.md +16 -0
- package/docs/FwLeaderboardsGetVictoryPoints.md +17 -0
- package/docs/FwLeaderboardsGetVictoryPointsActiveTotalInner.md +16 -0
- package/docs/FwLeaderboardsGetVictoryPointsLastWeekInner.md +16 -0
- package/docs/FwLeaderboardsGetVictoryPointsYesterdayInner.md +16 -0
- package/docs/FwStatsGetInner.md +18 -0
- package/docs/FwStatsGetInnerKills.md +17 -0
- package/docs/FwStatsGetInnerVictoryPoints.md +17 -0
- package/docs/FwSystemsGetInner.md +19 -0
- package/docs/FwWarsGetInner.md +15 -0
- package/docs/IncursionsApi.md +86 -0
- package/docs/IncursionsGetInner.md +21 -0
- package/docs/IndustryApi.md +698 -0
- package/docs/IndustryFacilitiesGetInner.md +19 -0
- package/docs/IndustrySystemsGetInner.md +15 -0
- package/docs/IndustrySystemsGetInnerCostIndicesInner.md +16 -0
- package/docs/InsuranceApi.md +86 -0
- package/docs/InsurancePricesGetInner.md +15 -0
- package/docs/InsurancePricesGetInnerLevelsInner.md +17 -0
- package/docs/KillmailsApi.md +268 -0
- package/docs/KillmailsKillmailIdKillmailHashGet.md +20 -0
- package/docs/KillmailsKillmailIdKillmailHashGetAttackersInner.md +23 -0
- package/docs/KillmailsKillmailIdKillmailHashGetVictim.md +21 -0
- package/docs/KillmailsKillmailIdKillmailHashGetVictimItemsInner.md +20 -0
- package/docs/KillmailsKillmailIdKillmailHashGetVictimItemsInnerItemsInner.md +19 -0
- package/docs/KillmailsKillmailIdKillmailHashGetVictimPosition.md +17 -0
- package/docs/LocationApi.md +263 -0
- package/docs/LoyaltyApi.md +174 -0
- package/docs/LoyaltyStoresCorporationIdOffersGetInner.md +20 -0
- package/docs/LoyaltyStoresCorporationIdOffersGetInnerRequiredItemsInner.md +16 -0
- package/docs/MailApi.md +800 -0
- package/docs/MarketApi.md +940 -0
- package/docs/MarketsGroupsMarketGroupIdGet.md +18 -0
- package/docs/MarketsPricesGetInner.md +16 -0
- package/docs/MarketsRegionIdHistoryGetInner.md +19 -0
- package/docs/MarketsRegionIdOrdersGetInner.md +25 -0
- package/docs/MarketsStructuresStructureIdGetInner.md +24 -0
- package/docs/MetaApi.md +164 -0
- package/docs/MetaChangelog.md +14 -0
- package/docs/MetaChangelogEntry.md +18 -0
- package/docs/MetaCompatibilityDates.md +14 -0
- package/docs/ModelError.md +15 -0
- package/docs/PlanetaryInteractionApi.md +350 -0
- package/docs/PostCharactersCharacterIdFittingsRequest.md +17 -0
- package/docs/PostCharactersCharacterIdFittingsRequestItemsInner.md +17 -0
- package/docs/PostCharactersCharacterIdMailLabelsRequest.md +15 -0
- package/docs/PostCharactersCharacterIdMailRequest.md +17 -0
- package/docs/PostCharactersCharacterIdMailRequestRecipientsInner.md +16 -0
- package/docs/PostFleetsFleetIdMembersRequest.md +17 -0
- package/docs/PostUiOpenwindowNewmailRequest.md +18 -0
- package/docs/PutCharactersCharacterIdCalendarEventIdRequest.md +14 -0
- package/docs/PutCharactersCharacterIdMailMailIdRequest.md +15 -0
- package/docs/PutFleetsFleetIdMembersMemberIdRequest.md +16 -0
- package/docs/PutFleetsFleetIdRequest.md +15 -0
- package/docs/PutFleetsFleetIdSquadsSquadIdRequest.md +14 -0
- package/docs/RoutesApi.md +101 -0
- package/docs/SearchApi.md +102 -0
- package/docs/SkillsApi.md +263 -0
- package/docs/SovereigntyApi.md +242 -0
- package/docs/SovereigntyCampaignsGetInner.md +23 -0
- package/docs/SovereigntyCampaignsGetInnerParticipantsInner.md +16 -0
- package/docs/SovereigntyMapGetInner.md +17 -0
- package/docs/SovereigntyStructuresGetInner.md +20 -0
- package/docs/StatusApi.md +86 -0
- package/docs/StatusGet.md +17 -0
- package/docs/UniverseAncestriesGetInner.md +19 -0
- package/docs/UniverseApi.md +2409 -0
- package/docs/UniverseAsteroidBeltsAsteroidBeltIdGet.md +16 -0
- package/docs/UniverseBloodlinesGetInner.md +24 -0
- package/docs/UniverseCategoriesCategoryIdGet.md +17 -0
- package/docs/UniverseConstellationsConstellationIdGet.md +18 -0
- package/docs/UniverseFactionsGetInner.md +23 -0
- package/docs/UniverseGraphicsGraphicIdGet.md +21 -0
- package/docs/UniverseGroupsGroupIdGet.md +18 -0
- package/docs/UniverseIdsPost.md +23 -0
- package/docs/UniverseIdsPostAgentsInner.md +16 -0
- package/docs/UniverseIdsPostAlliancesInner.md +16 -0
- package/docs/UniverseIdsPostCharactersInner.md +16 -0
- package/docs/UniverseIdsPostConstellationsInner.md +16 -0
- package/docs/UniverseIdsPostCorporationsInner.md +16 -0
- package/docs/UniverseIdsPostFactionsInner.md +16 -0
- package/docs/UniverseIdsPostInventoryTypesInner.md +16 -0
- package/docs/UniverseIdsPostRegionsInner.md +16 -0
- package/docs/UniverseIdsPostStationsInner.md +16 -0
- package/docs/UniverseIdsPostSystemsInner.md +16 -0
- package/docs/UniverseMoonsMoonIdGet.md +17 -0
- package/docs/UniverseNamesPostInner.md +16 -0
- package/docs/UniversePlanetsPlanetIdGet.md +18 -0
- package/docs/UniverseRacesGetInner.md +17 -0
- package/docs/UniverseRegionsRegionIdGet.md +17 -0
- package/docs/UniverseSchematicsSchematicIdGet.md +15 -0
- package/docs/UniverseStargatesStargateIdGet.md +19 -0
- package/docs/UniverseStargatesStargateIdGetDestination.md +15 -0
- package/docs/UniverseStarsStarIdGet.md +21 -0
- package/docs/UniverseStationsStationIdGet.md +25 -0
- package/docs/UniverseStructuresStructureIdGet.md +18 -0
- package/docs/UniverseStructuresStructureIdGetPosition.md +17 -0
- package/docs/UniverseSystemJumpsGetInner.md +15 -0
- package/docs/UniverseSystemKillsGetInner.md +17 -0
- package/docs/UniverseSystemsSystemIdGet.md +23 -0
- package/docs/UniverseSystemsSystemIdGetPlanetsInner.md +17 -0
- package/docs/UniverseTypesTypeIdGet.md +29 -0
- package/docs/UserInterfaceApi.md +439 -0
- package/docs/WalletApi.md +536 -0
- package/docs/WarsApi.md +254 -0
- package/docs/WarsWarIdGet.md +23 -0
- package/docs/WarsWarIdGetAggressor.md +18 -0
- package/docs/WarsWarIdGetAlliesInner.md +16 -0
- package/docs/WarsWarIdGetDefender.md +18 -0
- package/esisl_genoa_client-0.1.0.tgz +0 -0
- package/package.json +19 -0
- package/src/apis/AllianceApi.ts +480 -0
- package/src/apis/AssetsApi.ts +808 -0
- package/src/apis/CalendarApi.ts +559 -0
- package/src/apis/CharacterApi.ts +1705 -0
- package/src/apis/ClonesApi.ts +273 -0
- package/src/apis/ContactsApi.ts +1205 -0
- package/src/apis/ContractsApi.ts +1166 -0
- package/src/apis/CorporationApi.ts +2702 -0
- package/src/apis/DogmaApi.ts +594 -0
- package/src/apis/FactionWarfareApi.ts +898 -0
- package/src/apis/FittingsApi.ts +414 -0
- package/src/apis/FleetsApi.ts +1820 -0
- package/src/apis/IncursionsApi.ts +140 -0
- package/src/apis/IndustryApi.ts +1010 -0
- package/src/apis/InsuranceApi.ts +140 -0
- package/src/apis/KillmailsApi.ts +409 -0
- package/src/apis/LocationApi.ts +393 -0
- package/src/apis/LoyaltyApi.ts +269 -0
- package/src/apis/MailApi.ts +1198 -0
- package/src/apis/MarketApi.ts +1370 -0
- package/src/apis/MetaApi.ts +244 -0
- package/src/apis/PlanetaryInteractionApi.ts +523 -0
- package/src/apis/RoutesApi.ts +184 -0
- package/src/apis/SearchApi.ts +204 -0
- package/src/apis/SkillsApi.ts +393 -0
- package/src/apis/SovereigntyApi.ts +348 -0
- package/src/apis/StatusApi.ts +140 -0
- package/src/apis/UniverseApi.ts +3343 -0
- package/src/apis/UserInterfaceApi.ts +662 -0
- package/src/apis/WalletApi.ts +797 -0
- package/src/apis/WarsApi.ts +379 -0
- package/src/apis/index.ts +33 -0
- package/src/index.ts +5 -0
- package/src/models/index.ts +12585 -0
- package/src/runtime.ts +425 -0
- package/src/serviceFacade.ts +7 -0
- package/tsconfig.json +20 -0
package/dist/runtime.js
ADDED
|
@@ -0,0 +1,555 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/* tslint:disable */
|
|
3
|
+
/* eslint-disable */
|
|
4
|
+
/**
|
|
5
|
+
* EVE Stable Infrastructure (ESI) - tranquility
|
|
6
|
+
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
|
|
7
|
+
*
|
|
8
|
+
* The version of the OpenAPI document: 2020-01-01
|
|
9
|
+
* Contact: arcyfa_github@pm.me
|
|
10
|
+
*
|
|
11
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
12
|
+
* https://openapi-generator.tech
|
|
13
|
+
* Do not edit the class manually.
|
|
14
|
+
*/
|
|
15
|
+
var __extends = (this && this.__extends) || (function () {
|
|
16
|
+
var extendStatics = function (d, b) {
|
|
17
|
+
extendStatics = Object.setPrototypeOf ||
|
|
18
|
+
({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
|
|
19
|
+
function (d, b) { for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p]; };
|
|
20
|
+
return extendStatics(d, b);
|
|
21
|
+
};
|
|
22
|
+
return function (d, b) {
|
|
23
|
+
if (typeof b !== "function" && b !== null)
|
|
24
|
+
throw new TypeError("Class extends value " + String(b) + " is not a constructor or null");
|
|
25
|
+
extendStatics(d, b);
|
|
26
|
+
function __() { this.constructor = d; }
|
|
27
|
+
d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
|
|
28
|
+
};
|
|
29
|
+
})();
|
|
30
|
+
var __assign = (this && this.__assign) || function () {
|
|
31
|
+
__assign = Object.assign || function(t) {
|
|
32
|
+
for (var s, i = 1, n = arguments.length; i < n; i++) {
|
|
33
|
+
s = arguments[i];
|
|
34
|
+
for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p))
|
|
35
|
+
t[p] = s[p];
|
|
36
|
+
}
|
|
37
|
+
return t;
|
|
38
|
+
};
|
|
39
|
+
return __assign.apply(this, arguments);
|
|
40
|
+
};
|
|
41
|
+
var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {
|
|
42
|
+
function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
|
|
43
|
+
return new (P || (P = Promise))(function (resolve, reject) {
|
|
44
|
+
function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }
|
|
45
|
+
function rejected(value) { try { step(generator["throw"](value)); } catch (e) { reject(e); } }
|
|
46
|
+
function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }
|
|
47
|
+
step((generator = generator.apply(thisArg, _arguments || [])).next());
|
|
48
|
+
});
|
|
49
|
+
};
|
|
50
|
+
var __generator = (this && this.__generator) || function (thisArg, body) {
|
|
51
|
+
var _ = { label: 0, sent: function() { if (t[0] & 1) throw t[1]; return t[1]; }, trys: [], ops: [] }, f, y, t, g = Object.create((typeof Iterator === "function" ? Iterator : Object).prototype);
|
|
52
|
+
return g.next = verb(0), g["throw"] = verb(1), g["return"] = verb(2), typeof Symbol === "function" && (g[Symbol.iterator] = function() { return this; }), g;
|
|
53
|
+
function verb(n) { return function (v) { return step([n, v]); }; }
|
|
54
|
+
function step(op) {
|
|
55
|
+
if (f) throw new TypeError("Generator is already executing.");
|
|
56
|
+
while (g && (g = 0, op[0] && (_ = 0)), _) try {
|
|
57
|
+
if (f = 1, y && (t = op[0] & 2 ? y["return"] : op[0] ? y["throw"] || ((t = y["return"]) && t.call(y), 0) : y.next) && !(t = t.call(y, op[1])).done) return t;
|
|
58
|
+
if (y = 0, t) op = [op[0] & 2, t.value];
|
|
59
|
+
switch (op[0]) {
|
|
60
|
+
case 0: case 1: t = op; break;
|
|
61
|
+
case 4: _.label++; return { value: op[1], done: false };
|
|
62
|
+
case 5: _.label++; y = op[1]; op = [0]; continue;
|
|
63
|
+
case 7: op = _.ops.pop(); _.trys.pop(); continue;
|
|
64
|
+
default:
|
|
65
|
+
if (!(t = _.trys, t = t.length > 0 && t[t.length - 1]) && (op[0] === 6 || op[0] === 2)) { _ = 0; continue; }
|
|
66
|
+
if (op[0] === 3 && (!t || (op[1] > t[0] && op[1] < t[3]))) { _.label = op[1]; break; }
|
|
67
|
+
if (op[0] === 6 && _.label < t[1]) { _.label = t[1]; t = op; break; }
|
|
68
|
+
if (t && _.label < t[2]) { _.label = t[2]; _.ops.push(op); break; }
|
|
69
|
+
if (t[2]) _.ops.pop();
|
|
70
|
+
_.trys.pop(); continue;
|
|
71
|
+
}
|
|
72
|
+
op = body.call(thisArg, _);
|
|
73
|
+
} catch (e) { op = [6, e]; y = 0; } finally { f = t = 0; }
|
|
74
|
+
if (op[0] & 5) throw op[1]; return { value: op[0] ? op[1] : void 0, done: true };
|
|
75
|
+
}
|
|
76
|
+
};
|
|
77
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
78
|
+
exports.TextApiResponse = exports.BlobApiResponse = exports.VoidApiResponse = exports.JSONApiResponse = exports.COLLECTION_FORMATS = exports.RequiredError = exports.FetchError = exports.ResponseError = exports.BaseAPI = exports.DefaultConfig = exports.Configuration = exports.BASE_PATH = void 0;
|
|
79
|
+
exports.querystring = querystring;
|
|
80
|
+
exports.exists = exists;
|
|
81
|
+
exports.canConsumeForm = canConsumeForm;
|
|
82
|
+
exports.BASE_PATH = "https://esi.evetech.net".replace(/\/+$/, "");
|
|
83
|
+
var Configuration = /** @class */ (function () {
|
|
84
|
+
function Configuration(configuration) {
|
|
85
|
+
if (configuration === void 0) { configuration = {}; }
|
|
86
|
+
this.configuration = configuration;
|
|
87
|
+
}
|
|
88
|
+
Object.defineProperty(Configuration.prototype, "config", {
|
|
89
|
+
set: function (configuration) {
|
|
90
|
+
this.configuration = configuration;
|
|
91
|
+
},
|
|
92
|
+
enumerable: false,
|
|
93
|
+
configurable: true
|
|
94
|
+
});
|
|
95
|
+
Object.defineProperty(Configuration.prototype, "basePath", {
|
|
96
|
+
get: function () {
|
|
97
|
+
return this.configuration.basePath != null ? this.configuration.basePath : exports.BASE_PATH;
|
|
98
|
+
},
|
|
99
|
+
enumerable: false,
|
|
100
|
+
configurable: true
|
|
101
|
+
});
|
|
102
|
+
Object.defineProperty(Configuration.prototype, "fetchApi", {
|
|
103
|
+
get: function () {
|
|
104
|
+
return this.configuration.fetchApi;
|
|
105
|
+
},
|
|
106
|
+
enumerable: false,
|
|
107
|
+
configurable: true
|
|
108
|
+
});
|
|
109
|
+
Object.defineProperty(Configuration.prototype, "middleware", {
|
|
110
|
+
get: function () {
|
|
111
|
+
return this.configuration.middleware || [];
|
|
112
|
+
},
|
|
113
|
+
enumerable: false,
|
|
114
|
+
configurable: true
|
|
115
|
+
});
|
|
116
|
+
Object.defineProperty(Configuration.prototype, "queryParamsStringify", {
|
|
117
|
+
get: function () {
|
|
118
|
+
return this.configuration.queryParamsStringify || querystring;
|
|
119
|
+
},
|
|
120
|
+
enumerable: false,
|
|
121
|
+
configurable: true
|
|
122
|
+
});
|
|
123
|
+
Object.defineProperty(Configuration.prototype, "username", {
|
|
124
|
+
get: function () {
|
|
125
|
+
return this.configuration.username;
|
|
126
|
+
},
|
|
127
|
+
enumerable: false,
|
|
128
|
+
configurable: true
|
|
129
|
+
});
|
|
130
|
+
Object.defineProperty(Configuration.prototype, "password", {
|
|
131
|
+
get: function () {
|
|
132
|
+
return this.configuration.password;
|
|
133
|
+
},
|
|
134
|
+
enumerable: false,
|
|
135
|
+
configurable: true
|
|
136
|
+
});
|
|
137
|
+
Object.defineProperty(Configuration.prototype, "apiKey", {
|
|
138
|
+
get: function () {
|
|
139
|
+
var apiKey = this.configuration.apiKey;
|
|
140
|
+
if (apiKey) {
|
|
141
|
+
return typeof apiKey === 'function' ? apiKey : function () { return apiKey; };
|
|
142
|
+
}
|
|
143
|
+
return undefined;
|
|
144
|
+
},
|
|
145
|
+
enumerable: false,
|
|
146
|
+
configurable: true
|
|
147
|
+
});
|
|
148
|
+
Object.defineProperty(Configuration.prototype, "accessToken", {
|
|
149
|
+
get: function () {
|
|
150
|
+
var _this = this;
|
|
151
|
+
var accessToken = this.configuration.accessToken;
|
|
152
|
+
if (accessToken) {
|
|
153
|
+
return typeof accessToken === 'function' ? accessToken : function () { return __awaiter(_this, void 0, void 0, function () { return __generator(this, function (_a) {
|
|
154
|
+
return [2 /*return*/, accessToken];
|
|
155
|
+
}); }); };
|
|
156
|
+
}
|
|
157
|
+
return undefined;
|
|
158
|
+
},
|
|
159
|
+
enumerable: false,
|
|
160
|
+
configurable: true
|
|
161
|
+
});
|
|
162
|
+
Object.defineProperty(Configuration.prototype, "headers", {
|
|
163
|
+
get: function () {
|
|
164
|
+
return this.configuration.headers;
|
|
165
|
+
},
|
|
166
|
+
enumerable: false,
|
|
167
|
+
configurable: true
|
|
168
|
+
});
|
|
169
|
+
Object.defineProperty(Configuration.prototype, "credentials", {
|
|
170
|
+
get: function () {
|
|
171
|
+
return this.configuration.credentials;
|
|
172
|
+
},
|
|
173
|
+
enumerable: false,
|
|
174
|
+
configurable: true
|
|
175
|
+
});
|
|
176
|
+
return Configuration;
|
|
177
|
+
}());
|
|
178
|
+
exports.Configuration = Configuration;
|
|
179
|
+
exports.DefaultConfig = new Configuration();
|
|
180
|
+
/**
|
|
181
|
+
* This is the base class for all generated API classes.
|
|
182
|
+
*/
|
|
183
|
+
var BaseAPI = /** @class */ (function () {
|
|
184
|
+
function BaseAPI(configuration) {
|
|
185
|
+
if (configuration === void 0) { configuration = exports.DefaultConfig; }
|
|
186
|
+
var _this = this;
|
|
187
|
+
this.configuration = configuration;
|
|
188
|
+
this.fetchApi = function (url, init) { return __awaiter(_this, void 0, void 0, function () {
|
|
189
|
+
var fetchParams, _i, _a, middleware, response, e_1, _b, _c, middleware, _d, _e, middleware;
|
|
190
|
+
return __generator(this, function (_f) {
|
|
191
|
+
switch (_f.label) {
|
|
192
|
+
case 0:
|
|
193
|
+
fetchParams = { url: url, init: init };
|
|
194
|
+
_i = 0, _a = this.middleware;
|
|
195
|
+
_f.label = 1;
|
|
196
|
+
case 1:
|
|
197
|
+
if (!(_i < _a.length)) return [3 /*break*/, 4];
|
|
198
|
+
middleware = _a[_i];
|
|
199
|
+
if (!middleware.pre) return [3 /*break*/, 3];
|
|
200
|
+
return [4 /*yield*/, middleware.pre(__assign({ fetch: this.fetchApi }, fetchParams))];
|
|
201
|
+
case 2:
|
|
202
|
+
fetchParams = (_f.sent()) || fetchParams;
|
|
203
|
+
_f.label = 3;
|
|
204
|
+
case 3:
|
|
205
|
+
_i++;
|
|
206
|
+
return [3 /*break*/, 1];
|
|
207
|
+
case 4:
|
|
208
|
+
response = undefined;
|
|
209
|
+
_f.label = 5;
|
|
210
|
+
case 5:
|
|
211
|
+
_f.trys.push([5, 7, , 12]);
|
|
212
|
+
return [4 /*yield*/, (this.configuration.fetchApi || fetch)(fetchParams.url, fetchParams.init)];
|
|
213
|
+
case 6:
|
|
214
|
+
response = _f.sent();
|
|
215
|
+
return [3 /*break*/, 12];
|
|
216
|
+
case 7:
|
|
217
|
+
e_1 = _f.sent();
|
|
218
|
+
_b = 0, _c = this.middleware;
|
|
219
|
+
_f.label = 8;
|
|
220
|
+
case 8:
|
|
221
|
+
if (!(_b < _c.length)) return [3 /*break*/, 11];
|
|
222
|
+
middleware = _c[_b];
|
|
223
|
+
if (!middleware.onError) return [3 /*break*/, 10];
|
|
224
|
+
return [4 /*yield*/, middleware.onError({
|
|
225
|
+
fetch: this.fetchApi,
|
|
226
|
+
url: fetchParams.url,
|
|
227
|
+
init: fetchParams.init,
|
|
228
|
+
error: e_1,
|
|
229
|
+
response: response ? response.clone() : undefined,
|
|
230
|
+
})];
|
|
231
|
+
case 9:
|
|
232
|
+
response = (_f.sent()) || response;
|
|
233
|
+
_f.label = 10;
|
|
234
|
+
case 10:
|
|
235
|
+
_b++;
|
|
236
|
+
return [3 /*break*/, 8];
|
|
237
|
+
case 11:
|
|
238
|
+
if (response === undefined) {
|
|
239
|
+
if (e_1 instanceof Error) {
|
|
240
|
+
throw new FetchError(e_1, 'The request failed and the interceptors did not return an alternative response');
|
|
241
|
+
}
|
|
242
|
+
else {
|
|
243
|
+
throw e_1;
|
|
244
|
+
}
|
|
245
|
+
}
|
|
246
|
+
return [3 /*break*/, 12];
|
|
247
|
+
case 12:
|
|
248
|
+
_d = 0, _e = this.middleware;
|
|
249
|
+
_f.label = 13;
|
|
250
|
+
case 13:
|
|
251
|
+
if (!(_d < _e.length)) return [3 /*break*/, 16];
|
|
252
|
+
middleware = _e[_d];
|
|
253
|
+
if (!middleware.post) return [3 /*break*/, 15];
|
|
254
|
+
return [4 /*yield*/, middleware.post({
|
|
255
|
+
fetch: this.fetchApi,
|
|
256
|
+
url: fetchParams.url,
|
|
257
|
+
init: fetchParams.init,
|
|
258
|
+
response: response.clone(),
|
|
259
|
+
})];
|
|
260
|
+
case 14:
|
|
261
|
+
response = (_f.sent()) || response;
|
|
262
|
+
_f.label = 15;
|
|
263
|
+
case 15:
|
|
264
|
+
_d++;
|
|
265
|
+
return [3 /*break*/, 13];
|
|
266
|
+
case 16: return [2 /*return*/, response];
|
|
267
|
+
}
|
|
268
|
+
});
|
|
269
|
+
}); };
|
|
270
|
+
this.middleware = configuration.middleware;
|
|
271
|
+
}
|
|
272
|
+
BaseAPI.prototype.withMiddleware = function () {
|
|
273
|
+
var _a;
|
|
274
|
+
var middlewares = [];
|
|
275
|
+
for (var _i = 0; _i < arguments.length; _i++) {
|
|
276
|
+
middlewares[_i] = arguments[_i];
|
|
277
|
+
}
|
|
278
|
+
var next = this.clone();
|
|
279
|
+
next.middleware = (_a = next.middleware).concat.apply(_a, middlewares);
|
|
280
|
+
return next;
|
|
281
|
+
};
|
|
282
|
+
BaseAPI.prototype.withPreMiddleware = function () {
|
|
283
|
+
var preMiddlewares = [];
|
|
284
|
+
for (var _i = 0; _i < arguments.length; _i++) {
|
|
285
|
+
preMiddlewares[_i] = arguments[_i];
|
|
286
|
+
}
|
|
287
|
+
var middlewares = preMiddlewares.map(function (pre) { return ({ pre: pre }); });
|
|
288
|
+
return this.withMiddleware.apply(this, middlewares);
|
|
289
|
+
};
|
|
290
|
+
BaseAPI.prototype.withPostMiddleware = function () {
|
|
291
|
+
var postMiddlewares = [];
|
|
292
|
+
for (var _i = 0; _i < arguments.length; _i++) {
|
|
293
|
+
postMiddlewares[_i] = arguments[_i];
|
|
294
|
+
}
|
|
295
|
+
var middlewares = postMiddlewares.map(function (post) { return ({ post: post }); });
|
|
296
|
+
return this.withMiddleware.apply(this, middlewares);
|
|
297
|
+
};
|
|
298
|
+
/**
|
|
299
|
+
* Check if the given MIME is a JSON MIME.
|
|
300
|
+
* JSON MIME examples:
|
|
301
|
+
* application/json
|
|
302
|
+
* application/json; charset=UTF8
|
|
303
|
+
* APPLICATION/JSON
|
|
304
|
+
* application/vnd.company+json
|
|
305
|
+
* @param mime - MIME (Multipurpose Internet Mail Extensions)
|
|
306
|
+
* @return True if the given MIME is JSON, false otherwise.
|
|
307
|
+
*/
|
|
308
|
+
BaseAPI.prototype.isJsonMime = function (mime) {
|
|
309
|
+
if (!mime) {
|
|
310
|
+
return false;
|
|
311
|
+
}
|
|
312
|
+
return BaseAPI.jsonRegex.test(mime);
|
|
313
|
+
};
|
|
314
|
+
BaseAPI.prototype.request = function (context, initOverrides) {
|
|
315
|
+
return __awaiter(this, void 0, void 0, function () {
|
|
316
|
+
var _a, url, init, response;
|
|
317
|
+
return __generator(this, function (_b) {
|
|
318
|
+
switch (_b.label) {
|
|
319
|
+
case 0: return [4 /*yield*/, this.createFetchParams(context, initOverrides)];
|
|
320
|
+
case 1:
|
|
321
|
+
_a = _b.sent(), url = _a.url, init = _a.init;
|
|
322
|
+
return [4 /*yield*/, this.fetchApi(url, init)];
|
|
323
|
+
case 2:
|
|
324
|
+
response = _b.sent();
|
|
325
|
+
if (response && (response.status >= 200 && response.status < 300)) {
|
|
326
|
+
return [2 /*return*/, response];
|
|
327
|
+
}
|
|
328
|
+
throw new ResponseError(response, 'Response returned an error code');
|
|
329
|
+
}
|
|
330
|
+
});
|
|
331
|
+
});
|
|
332
|
+
};
|
|
333
|
+
BaseAPI.prototype.createFetchParams = function (context, initOverrides) {
|
|
334
|
+
return __awaiter(this, void 0, void 0, function () {
|
|
335
|
+
var url, headers, initOverrideFn, initParams, overriddenInit, _a, body, init;
|
|
336
|
+
var _this = this;
|
|
337
|
+
return __generator(this, function (_b) {
|
|
338
|
+
switch (_b.label) {
|
|
339
|
+
case 0:
|
|
340
|
+
url = this.configuration.basePath + context.path;
|
|
341
|
+
if (context.query !== undefined && Object.keys(context.query).length !== 0) {
|
|
342
|
+
// only add the querystring to the URL if there are query parameters.
|
|
343
|
+
// this is done to avoid urls ending with a "?" character which buggy webservers
|
|
344
|
+
// do not handle correctly sometimes.
|
|
345
|
+
url += '?' + this.configuration.queryParamsStringify(context.query);
|
|
346
|
+
}
|
|
347
|
+
headers = Object.assign({}, this.configuration.headers, context.headers);
|
|
348
|
+
Object.keys(headers).forEach(function (key) { return headers[key] === undefined ? delete headers[key] : {}; });
|
|
349
|
+
initOverrideFn = typeof initOverrides === "function"
|
|
350
|
+
? initOverrides
|
|
351
|
+
: function () { return __awaiter(_this, void 0, void 0, function () { return __generator(this, function (_a) {
|
|
352
|
+
return [2 /*return*/, initOverrides];
|
|
353
|
+
}); }); };
|
|
354
|
+
initParams = {
|
|
355
|
+
method: context.method,
|
|
356
|
+
headers: headers,
|
|
357
|
+
body: context.body,
|
|
358
|
+
credentials: this.configuration.credentials,
|
|
359
|
+
};
|
|
360
|
+
_a = [__assign({}, initParams)];
|
|
361
|
+
return [4 /*yield*/, initOverrideFn({
|
|
362
|
+
init: initParams,
|
|
363
|
+
context: context,
|
|
364
|
+
})];
|
|
365
|
+
case 1:
|
|
366
|
+
overriddenInit = __assign.apply(void 0, _a.concat([(_b.sent())]));
|
|
367
|
+
if (isFormData(overriddenInit.body)
|
|
368
|
+
|| (overriddenInit.body instanceof URLSearchParams)
|
|
369
|
+
|| isBlob(overriddenInit.body)) {
|
|
370
|
+
body = overriddenInit.body;
|
|
371
|
+
}
|
|
372
|
+
else if (this.isJsonMime(headers['Content-Type'])) {
|
|
373
|
+
body = JSON.stringify(overriddenInit.body);
|
|
374
|
+
}
|
|
375
|
+
else {
|
|
376
|
+
body = overriddenInit.body;
|
|
377
|
+
}
|
|
378
|
+
init = __assign(__assign({}, overriddenInit), { body: body });
|
|
379
|
+
return [2 /*return*/, { url: url, init: init }];
|
|
380
|
+
}
|
|
381
|
+
});
|
|
382
|
+
});
|
|
383
|
+
};
|
|
384
|
+
/**
|
|
385
|
+
* Create a shallow clone of `this` by constructing a new instance
|
|
386
|
+
* and then shallow cloning data members.
|
|
387
|
+
*/
|
|
388
|
+
BaseAPI.prototype.clone = function () {
|
|
389
|
+
var constructor = this.constructor;
|
|
390
|
+
var next = new constructor(this.configuration);
|
|
391
|
+
next.middleware = this.middleware.slice();
|
|
392
|
+
return next;
|
|
393
|
+
};
|
|
394
|
+
BaseAPI.jsonRegex = new RegExp('^(:?application\/json|[^;/ \t]+\/[^;/ \t]+[+]json)[ \t]*(:?;.*)?$', 'i');
|
|
395
|
+
return BaseAPI;
|
|
396
|
+
}());
|
|
397
|
+
exports.BaseAPI = BaseAPI;
|
|
398
|
+
;
|
|
399
|
+
function isBlob(value) {
|
|
400
|
+
return typeof Blob !== 'undefined' && value instanceof Blob;
|
|
401
|
+
}
|
|
402
|
+
function isFormData(value) {
|
|
403
|
+
return typeof FormData !== "undefined" && value instanceof FormData;
|
|
404
|
+
}
|
|
405
|
+
var ResponseError = /** @class */ (function (_super) {
|
|
406
|
+
__extends(ResponseError, _super);
|
|
407
|
+
function ResponseError(response, msg) {
|
|
408
|
+
var _this = _super.call(this, msg) || this;
|
|
409
|
+
_this.response = response;
|
|
410
|
+
_this.name = "ResponseError";
|
|
411
|
+
return _this;
|
|
412
|
+
}
|
|
413
|
+
return ResponseError;
|
|
414
|
+
}(Error));
|
|
415
|
+
exports.ResponseError = ResponseError;
|
|
416
|
+
var FetchError = /** @class */ (function (_super) {
|
|
417
|
+
__extends(FetchError, _super);
|
|
418
|
+
function FetchError(cause, msg) {
|
|
419
|
+
var _this = _super.call(this, msg) || this;
|
|
420
|
+
_this.cause = cause;
|
|
421
|
+
_this.name = "FetchError";
|
|
422
|
+
return _this;
|
|
423
|
+
}
|
|
424
|
+
return FetchError;
|
|
425
|
+
}(Error));
|
|
426
|
+
exports.FetchError = FetchError;
|
|
427
|
+
var RequiredError = /** @class */ (function (_super) {
|
|
428
|
+
__extends(RequiredError, _super);
|
|
429
|
+
function RequiredError(field, msg) {
|
|
430
|
+
var _this = _super.call(this, msg) || this;
|
|
431
|
+
_this.field = field;
|
|
432
|
+
_this.name = "RequiredError";
|
|
433
|
+
return _this;
|
|
434
|
+
}
|
|
435
|
+
return RequiredError;
|
|
436
|
+
}(Error));
|
|
437
|
+
exports.RequiredError = RequiredError;
|
|
438
|
+
exports.COLLECTION_FORMATS = {
|
|
439
|
+
csv: ",",
|
|
440
|
+
ssv: " ",
|
|
441
|
+
tsv: "\t",
|
|
442
|
+
pipes: "|",
|
|
443
|
+
};
|
|
444
|
+
function querystring(params, prefix) {
|
|
445
|
+
if (prefix === void 0) { prefix = ''; }
|
|
446
|
+
return Object.keys(params)
|
|
447
|
+
.map(function (key) { return querystringSingleKey(key, params[key], prefix); })
|
|
448
|
+
.filter(function (part) { return part.length > 0; })
|
|
449
|
+
.join('&');
|
|
450
|
+
}
|
|
451
|
+
function querystringSingleKey(key, value, keyPrefix) {
|
|
452
|
+
if (keyPrefix === void 0) { keyPrefix = ''; }
|
|
453
|
+
var fullKey = keyPrefix + (keyPrefix.length ? "[".concat(key, "]") : key);
|
|
454
|
+
if (value instanceof Array) {
|
|
455
|
+
var multiValue = value.map(function (singleValue) { return encodeURIComponent(String(singleValue)); })
|
|
456
|
+
.join("&".concat(encodeURIComponent(fullKey), "="));
|
|
457
|
+
return "".concat(encodeURIComponent(fullKey), "=").concat(multiValue);
|
|
458
|
+
}
|
|
459
|
+
if (value instanceof Set) {
|
|
460
|
+
var valueAsArray = Array.from(value);
|
|
461
|
+
return querystringSingleKey(key, valueAsArray, keyPrefix);
|
|
462
|
+
}
|
|
463
|
+
if (value instanceof Date) {
|
|
464
|
+
return "".concat(encodeURIComponent(fullKey), "=").concat(encodeURIComponent(value.toISOString()));
|
|
465
|
+
}
|
|
466
|
+
if (value instanceof Object) {
|
|
467
|
+
return querystring(value, fullKey);
|
|
468
|
+
}
|
|
469
|
+
return "".concat(encodeURIComponent(fullKey), "=").concat(encodeURIComponent(String(value)));
|
|
470
|
+
}
|
|
471
|
+
function exists(json, key) {
|
|
472
|
+
var value = json[key];
|
|
473
|
+
return value !== null && value !== undefined;
|
|
474
|
+
}
|
|
475
|
+
function canConsumeForm(consumes) {
|
|
476
|
+
for (var _i = 0, consumes_1 = consumes; _i < consumes_1.length; _i++) {
|
|
477
|
+
var consume = consumes_1[_i];
|
|
478
|
+
if ('multipart/form-data' === consume.contentType) {
|
|
479
|
+
return true;
|
|
480
|
+
}
|
|
481
|
+
}
|
|
482
|
+
return false;
|
|
483
|
+
}
|
|
484
|
+
var JSONApiResponse = /** @class */ (function () {
|
|
485
|
+
function JSONApiResponse(raw, transformer) {
|
|
486
|
+
if (transformer === void 0) { transformer = function (jsonValue) { return jsonValue; }; }
|
|
487
|
+
this.raw = raw;
|
|
488
|
+
this.transformer = transformer;
|
|
489
|
+
}
|
|
490
|
+
JSONApiResponse.prototype.value = function () {
|
|
491
|
+
return __awaiter(this, void 0, void 0, function () {
|
|
492
|
+
var _a;
|
|
493
|
+
return __generator(this, function (_b) {
|
|
494
|
+
switch (_b.label) {
|
|
495
|
+
case 0:
|
|
496
|
+
_a = this.transformer;
|
|
497
|
+
return [4 /*yield*/, this.raw.json()];
|
|
498
|
+
case 1: return [2 /*return*/, _a.apply(this, [_b.sent()])];
|
|
499
|
+
}
|
|
500
|
+
});
|
|
501
|
+
});
|
|
502
|
+
};
|
|
503
|
+
return JSONApiResponse;
|
|
504
|
+
}());
|
|
505
|
+
exports.JSONApiResponse = JSONApiResponse;
|
|
506
|
+
var VoidApiResponse = /** @class */ (function () {
|
|
507
|
+
function VoidApiResponse(raw) {
|
|
508
|
+
this.raw = raw;
|
|
509
|
+
}
|
|
510
|
+
VoidApiResponse.prototype.value = function () {
|
|
511
|
+
return __awaiter(this, void 0, void 0, function () {
|
|
512
|
+
return __generator(this, function (_a) {
|
|
513
|
+
return [2 /*return*/, undefined];
|
|
514
|
+
});
|
|
515
|
+
});
|
|
516
|
+
};
|
|
517
|
+
return VoidApiResponse;
|
|
518
|
+
}());
|
|
519
|
+
exports.VoidApiResponse = VoidApiResponse;
|
|
520
|
+
var BlobApiResponse = /** @class */ (function () {
|
|
521
|
+
function BlobApiResponse(raw) {
|
|
522
|
+
this.raw = raw;
|
|
523
|
+
}
|
|
524
|
+
BlobApiResponse.prototype.value = function () {
|
|
525
|
+
return __awaiter(this, void 0, void 0, function () {
|
|
526
|
+
return __generator(this, function (_a) {
|
|
527
|
+
switch (_a.label) {
|
|
528
|
+
case 0: return [4 /*yield*/, this.raw.blob()];
|
|
529
|
+
case 1: return [2 /*return*/, _a.sent()];
|
|
530
|
+
}
|
|
531
|
+
});
|
|
532
|
+
});
|
|
533
|
+
};
|
|
534
|
+
;
|
|
535
|
+
return BlobApiResponse;
|
|
536
|
+
}());
|
|
537
|
+
exports.BlobApiResponse = BlobApiResponse;
|
|
538
|
+
var TextApiResponse = /** @class */ (function () {
|
|
539
|
+
function TextApiResponse(raw) {
|
|
540
|
+
this.raw = raw;
|
|
541
|
+
}
|
|
542
|
+
TextApiResponse.prototype.value = function () {
|
|
543
|
+
return __awaiter(this, void 0, void 0, function () {
|
|
544
|
+
return __generator(this, function (_a) {
|
|
545
|
+
switch (_a.label) {
|
|
546
|
+
case 0: return [4 /*yield*/, this.raw.text()];
|
|
547
|
+
case 1: return [2 /*return*/, _a.sent()];
|
|
548
|
+
}
|
|
549
|
+
});
|
|
550
|
+
});
|
|
551
|
+
};
|
|
552
|
+
;
|
|
553
|
+
return TextApiResponse;
|
|
554
|
+
}());
|
|
555
|
+
exports.TextApiResponse = TextApiResponse;
|
|
@@ -0,0 +1,46 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {
|
|
3
|
+
function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
|
|
4
|
+
return new (P || (P = Promise))(function (resolve, reject) {
|
|
5
|
+
function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }
|
|
6
|
+
function rejected(value) { try { step(generator["throw"](value)); } catch (e) { reject(e); } }
|
|
7
|
+
function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }
|
|
8
|
+
step((generator = generator.apply(thisArg, _arguments || [])).next());
|
|
9
|
+
});
|
|
10
|
+
};
|
|
11
|
+
var __generator = (this && this.__generator) || function (thisArg, body) {
|
|
12
|
+
var _ = { label: 0, sent: function() { if (t[0] & 1) throw t[1]; return t[1]; }, trys: [], ops: [] }, f, y, t, g = Object.create((typeof Iterator === "function" ? Iterator : Object).prototype);
|
|
13
|
+
return g.next = verb(0), g["throw"] = verb(1), g["return"] = verb(2), typeof Symbol === "function" && (g[Symbol.iterator] = function() { return this; }), g;
|
|
14
|
+
function verb(n) { return function (v) { return step([n, v]); }; }
|
|
15
|
+
function step(op) {
|
|
16
|
+
if (f) throw new TypeError("Generator is already executing.");
|
|
17
|
+
while (g && (g = 0, op[0] && (_ = 0)), _) try {
|
|
18
|
+
if (f = 1, y && (t = op[0] & 2 ? y["return"] : op[0] ? y["throw"] || ((t = y["return"]) && t.call(y), 0) : y.next) && !(t = t.call(y, op[1])).done) return t;
|
|
19
|
+
if (y = 0, t) op = [op[0] & 2, t.value];
|
|
20
|
+
switch (op[0]) {
|
|
21
|
+
case 0: case 1: t = op; break;
|
|
22
|
+
case 4: _.label++; return { value: op[1], done: false };
|
|
23
|
+
case 5: _.label++; y = op[1]; op = [0]; continue;
|
|
24
|
+
case 7: op = _.ops.pop(); _.trys.pop(); continue;
|
|
25
|
+
default:
|
|
26
|
+
if (!(t = _.trys, t = t.length > 0 && t[t.length - 1]) && (op[0] === 6 || op[0] === 2)) { _ = 0; continue; }
|
|
27
|
+
if (op[0] === 3 && (!t || (op[1] > t[0] && op[1] < t[3]))) { _.label = op[1]; break; }
|
|
28
|
+
if (op[0] === 6 && _.label < t[1]) { _.label = t[1]; t = op; break; }
|
|
29
|
+
if (t && _.label < t[2]) { _.label = t[2]; _.ops.push(op); break; }
|
|
30
|
+
if (t[2]) _.ops.pop();
|
|
31
|
+
_.trys.pop(); continue;
|
|
32
|
+
}
|
|
33
|
+
op = body.call(thisArg, _);
|
|
34
|
+
} catch (e) { op = [6, e]; y = 0; } finally { f = t = 0; }
|
|
35
|
+
if (op[0] & 5) throw op[1]; return { value: op[0] ? op[1] : void 0, done: true };
|
|
36
|
+
}
|
|
37
|
+
};
|
|
38
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
39
|
+
var api = {
|
|
40
|
+
esi: {
|
|
41
|
+
proxy: function (one, two) { return __awaiter(void 0, void 0, void 0, function () { return __generator(this, function (_a) {
|
|
42
|
+
return [2 /*return*/, ({ "string": "mocked response" })];
|
|
43
|
+
}); }); }
|
|
44
|
+
}
|
|
45
|
+
};
|
|
46
|
+
exports.default = api;
|