esisl_genoa_client 0.1.1 → 0.1.6
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 +105 -0
- package/README.md +119 -5
- package/dist/apis/AllianceApi.d.ts +25 -17
- package/dist/apis/AllianceApi.js +42 -17
- package/dist/apis/AssetsApi.d.ts +37 -25
- package/dist/apis/AssetsApi.js +62 -25
- package/dist/apis/CalendarApi.d.ts +25 -17
- package/dist/apis/CalendarApi.js +42 -18
- package/dist/apis/CharacterApi.d.ts +85 -57
- package/dist/apis/CharacterApi.js +142 -63
- package/dist/apis/ClonesApi.d.ts +13 -9
- package/dist/apis/ClonesApi.js +22 -9
- package/dist/apis/ContactsApi.d.ts +55 -37
- package/dist/apis/ContactsApi.js +92 -39
- package/dist/apis/ContractsApi.d.ts +55 -37
- package/dist/apis/ContractsApi.js +92 -37
- package/dist/apis/CorporationApi.d.ts +133 -89
- package/dist/apis/CorporationApi.js +222 -95
- package/dist/apis/CorporationProjectsApi.d.ts +288 -0
- package/dist/apis/CorporationProjectsApi.js +514 -0
- package/dist/apis/DogmaApi.d.ts +31 -21
- package/dist/apis/DogmaApi.js +52 -21
- package/dist/apis/FactionWarfareApi.d.ts +49 -33
- package/dist/apis/FactionWarfareApi.js +82 -33
- package/dist/apis/FittingsApi.d.ts +19 -13
- package/dist/apis/FittingsApi.js +32 -14
- package/dist/apis/FleetsApi.d.ts +85 -57
- package/dist/apis/FleetsApi.js +142 -65
- package/dist/apis/FreelanceJobsApi.d.ts +396 -0
- package/dist/apis/FreelanceJobsApi.js +696 -0
- package/dist/apis/IncursionsApi.d.ts +7 -5
- package/dist/apis/IncursionsApi.js +12 -5
- package/dist/apis/IndustryApi.d.ts +49 -33
- package/dist/apis/IndustryApi.js +82 -33
- package/dist/apis/InsuranceApi.d.ts +7 -5
- package/dist/apis/InsuranceApi.js +12 -5
- package/dist/apis/KillmailsApi.d.ts +19 -13
- package/dist/apis/KillmailsApi.js +32 -13
- package/dist/apis/LocationApi.d.ts +19 -13
- package/dist/apis/LocationApi.js +32 -13
- package/dist/apis/LoyaltyApi.d.ts +13 -9
- package/dist/apis/LoyaltyApi.js +22 -9
- package/dist/apis/MailApi.d.ts +55 -37
- package/dist/apis/MailApi.js +92 -52
- package/dist/apis/MarketApi.d.ts +67 -45
- package/dist/apis/MarketApi.js +112 -45
- package/dist/apis/MetaApi.d.ts +70 -10
- package/dist/apis/MetaApi.js +116 -10
- package/dist/apis/PlanetaryInteractionApi.d.ts +25 -17
- package/dist/apis/PlanetaryInteractionApi.js +42 -17
- package/dist/apis/RoutesApi.d.ts +29 -39
- package/dist/apis/RoutesApi.js +48 -55
- package/dist/apis/SearchApi.d.ts +7 -5
- package/dist/apis/SearchApi.js +12 -5
- package/dist/apis/SkillsApi.d.ts +19 -13
- package/dist/apis/SkillsApi.js +32 -13
- package/dist/apis/SovereigntyApi.d.ts +19 -13
- package/dist/apis/SovereigntyApi.js +32 -13
- package/dist/apis/StatusApi.d.ts +7 -5
- package/dist/apis/StatusApi.js +12 -5
- package/dist/apis/UniverseApi.d.ts +181 -121
- package/dist/apis/UniverseApi.js +302 -121
- package/dist/apis/UserInterfaceApi.d.ts +31 -21
- package/dist/apis/UserInterfaceApi.js +52 -26
- package/dist/apis/WalletApi.d.ts +37 -25
- package/dist/apis/WalletApi.js +62 -31
- package/dist/apis/WarsApi.d.ts +19 -13
- package/dist/apis/WarsApi.js +32 -13
- package/dist/apis/index.d.ts +2 -0
- package/dist/apis/index.js +2 -0
- package/dist/constants.d.ts +8 -0
- package/dist/constants.js +13 -0
- package/dist/index.d.ts +1 -0
- package/dist/index.js +5 -0
- package/dist/models/index.d.ts +2339 -295
- package/dist/models/index.js +165 -2
- package/dist/runtime.d.ts +6 -56
- package/dist/runtime.js +4 -309
- package/docs/AllianceApi.md +24 -12
- package/docs/AllianceId.md +14 -0
- package/docs/AssetsApi.md +36 -18
- package/docs/CalendarApi.md +24 -12
- package/docs/CaptureFwComplex.md +14 -0
- package/docs/CharacterApi.md +84 -42
- package/docs/CharacterId.md +14 -0
- package/docs/CharactersFreelanceJobsListing.md +14 -0
- package/docs/CharactersFreelanceJobsParticipation.md +16 -0
- package/docs/ClonesApi.md +12 -6
- package/docs/ConstellationId.md +14 -0
- package/docs/ContactsApi.md +54 -27
- package/docs/ContractsApi.md +54 -27
- package/docs/CorporationApi.md +132 -66
- package/docs/CorporationId.md +14 -0
- package/docs/CorporationItemDelivery.md +14 -0
- package/docs/CorporationProjectsApi.md +393 -0
- package/docs/CorporationsFreelanceJobsListing.md +15 -0
- package/docs/CorporationsFreelanceJobsParticipants.md +15 -0
- package/docs/CorporationsFreelanceJobsParticipantsParticipant.md +17 -0
- package/docs/CorporationsProjectsContribution.md +15 -0
- package/docs/CorporationsProjectsContributors.md +15 -0
- package/docs/CorporationsProjectsContributorsContributor.md +16 -0
- package/docs/CorporationsProjectsDetail.md +23 -0
- package/docs/CorporationsProjectsDetailConfiguration.md +31 -0
- package/docs/CorporationsProjectsDetailConfigurationcapturefwcomplex.md +16 -0
- package/docs/CorporationsProjectsDetailConfigurationcapturefwcomplexLocationsInner.md +16 -0
- package/docs/CorporationsProjectsDetailConfigurationdamageship.md +16 -0
- package/docs/CorporationsProjectsDetailConfigurationdamageshipIdentitiesInner.md +17 -0
- package/docs/CorporationsProjectsDetailConfigurationdamageshipShipsInner.md +15 -0
- package/docs/CorporationsProjectsDetailConfigurationdefendfwcomplex.md +16 -0
- package/docs/CorporationsProjectsDetailConfigurationdeliveritem.md +16 -0
- package/docs/CorporationsProjectsDetailConfigurationdeliveritemDockingLocationsInner.md +15 -0
- package/docs/CorporationsProjectsDetailConfigurationdeliveritemItemsInner.md +15 -0
- package/docs/CorporationsProjectsDetailConfigurationdestroynpc.md +14 -0
- package/docs/CorporationsProjectsDetailConfigurationdestroyship.md +16 -0
- package/docs/CorporationsProjectsDetailConfigurationearnloyaltypoints.md +14 -0
- package/docs/CorporationsProjectsDetailConfigurationlostship.md +16 -0
- package/docs/CorporationsProjectsDetailConfigurationmanufactureitem.md +16 -0
- package/docs/CorporationsProjectsDetailConfigurationmatcherarchetype.md +14 -0
- package/docs/CorporationsProjectsDetailConfigurationmatchercorporation.md +14 -0
- package/docs/CorporationsProjectsDetailConfigurationmatcherfaction.md +14 -0
- package/docs/CorporationsProjectsDetailConfigurationmatchersignature.md +14 -0
- package/docs/CorporationsProjectsDetailConfigurationminematerial.md +15 -0
- package/docs/CorporationsProjectsDetailConfigurationremoteboostshield.md +16 -0
- package/docs/CorporationsProjectsDetailConfigurationremoterepairarmor.md +16 -0
- package/docs/CorporationsProjectsDetailConfigurationsalvagewreck.md +14 -0
- package/docs/CorporationsProjectsDetailConfigurationscansignature.md +15 -0
- package/docs/CorporationsProjectsDetailConfigurationshipinsurance.md +18 -0
- package/docs/CorporationsProjectsDetailConfigurationunknown.md +15 -0
- package/docs/CorporationsProjectsDetailContribution.md +17 -0
- package/docs/CorporationsProjectsDetailCreator.md +15 -0
- package/docs/CorporationsProjectsDetailDetails.md +18 -0
- package/docs/CorporationsProjectsDetailProgress.md +15 -0
- package/docs/CorporationsProjectsDetailProject.md +19 -0
- package/docs/CorporationsProjectsDetailReward.md +15 -0
- package/docs/CorporationsProjectsListing.md +15 -0
- package/docs/Cursor.md +15 -0
- package/docs/DamageShip.md +14 -0
- package/docs/DefendFwComplex.md +14 -0
- package/docs/DeliverItem.md +14 -0
- package/docs/DestroyNpc.md +14 -0
- package/docs/DestroyShip.md +14 -0
- package/docs/DogmaApi.md +30 -15
- package/docs/EarnLoyaltyPoint.md +14 -0
- package/docs/FactionId.md +14 -0
- package/docs/FactionWarfareApi.md +48 -24
- package/docs/FittingsApi.md +18 -9
- package/docs/FleetsApi.md +84 -42
- package/docs/FreelanceJobsApi.md +561 -0
- package/docs/FreelanceJobsDetail.md +23 -0
- package/docs/FreelanceJobsDetailAccessandvisibility.md +16 -0
- package/docs/FreelanceJobsDetailBroadcastlocations.md +15 -0
- package/docs/FreelanceJobsDetailConfiguration.md +16 -0
- package/docs/FreelanceJobsDetailConfigurationParametersValue.md +17 -0
- package/docs/FreelanceJobsDetailContribution.md +18 -0
- package/docs/FreelanceJobsDetailCreator.md +15 -0
- package/docs/FreelanceJobsDetailCreatorcharacter.md +15 -0
- package/docs/FreelanceJobsDetailCreatorcorporation.md +15 -0
- package/docs/FreelanceJobsDetailDetails.md +19 -0
- package/docs/FreelanceJobsDetailFreelancejob.md +19 -0
- package/docs/FreelanceJobsDetailParameterboolean.md +14 -0
- package/docs/FreelanceJobsDetailParametercorporationitemdelivery.md +15 -0
- package/docs/FreelanceJobsDetailParametermatcher.md +14 -0
- package/docs/FreelanceJobsDetailParametermatchervalue.md +15 -0
- package/docs/FreelanceJobsDetailParameteroptions.md +14 -0
- package/docs/FreelanceJobsDetailProgress.md +15 -0
- package/docs/FreelanceJobsDetailRestrictions.md +15 -0
- package/docs/FreelanceJobsDetailReward.md +15 -0
- package/docs/FreelanceJobsListing.md +15 -0
- package/docs/GroupId.md +14 -0
- package/docs/GroupId1.md +14 -0
- package/docs/IncursionsApi.md +6 -3
- package/docs/IndustryApi.md +48 -24
- package/docs/InsuranceApi.md +6 -3
- package/docs/KillmailsApi.md +18 -9
- package/docs/LocationApi.md +18 -9
- package/docs/LostShip.md +14 -0
- package/docs/LoyaltyApi.md +12 -6
- package/docs/MailApi.md +54 -27
- package/docs/Manual.md +14 -0
- package/docs/ManufactureItem.md +14 -0
- package/docs/MarketApi.md +66 -33
- package/docs/Matcher.md +14 -0
- package/docs/MetaApi.md +95 -8
- package/docs/MetaChangelogEntry.md +1 -1
- package/docs/MetaStatus.md +14 -0
- package/docs/MetaStatusRoutestatus.md +16 -0
- package/docs/MineMaterial.md +14 -0
- package/docs/ModelBoolean.md +14 -0
- package/docs/Options.md +14 -0
- package/docs/PlanetaryInteractionApi.md +24 -12
- package/docs/RegionId.md +14 -0
- package/docs/RemoteBoostShield.md +14 -0
- package/docs/RemoteRepairArmor.md +14 -0
- package/docs/Route.md +14 -0
- package/docs/RouteConnection.md +15 -0
- package/docs/RouteRequestBody.md +17 -0
- package/docs/RoutesApi.md +24 -27
- package/docs/SalvageWreck.md +14 -0
- package/docs/ScanSignature.md +14 -0
- package/docs/SearchApi.md +6 -3
- package/docs/ShipInsurance.md +14 -0
- package/docs/SkillsApi.md +18 -9
- package/docs/SolarSystemId.md +14 -0
- package/docs/SovereigntyApi.md +18 -9
- package/docs/StationId.md +14 -0
- package/docs/StatusApi.md +6 -3
- package/docs/StructureId.md +14 -0
- package/docs/TypeId.md +14 -0
- package/docs/UniverseApi.md +180 -90
- package/docs/Unknown.md +14 -0
- package/docs/UserInterfaceApi.md +30 -15
- package/docs/WalletApi.md +36 -18
- package/docs/WarsApi.md +18 -9
- package/esisl_genoa_client-0.1.6.tgz +0 -0
- package/package.json +1 -1
- package/src/apis/AllianceApi.ts +70 -25
- package/src/apis/AssetsApi.ts +104 -37
- package/src/apis/CalendarApi.ts +70 -25
- package/src/apis/CharacterApi.ts +240 -89
- package/src/apis/ClonesApi.ts +36 -13
- package/src/apis/ContactsApi.ts +155 -55
- package/src/apis/ContractsApi.ts +155 -55
- package/src/apis/CorporationApi.ts +376 -137
- package/src/apis/CorporationProjectsApi.ts +667 -0
- package/src/apis/DogmaApi.ts +87 -31
- package/src/apis/FactionWarfareApi.ts +138 -49
- package/src/apis/FittingsApi.ts +53 -19
- package/src/apis/FleetsApi.ts +240 -85
- package/src/apis/FreelanceJobsApi.ts +907 -0
- package/src/apis/IncursionsApi.ts +19 -7
- package/src/apis/IndustryApi.ts +138 -49
- package/src/apis/InsuranceApi.ts +19 -7
- package/src/apis/KillmailsApi.ts +53 -19
- package/src/apis/LocationApi.ts +53 -19
- package/src/apis/LoyaltyApi.ts +36 -13
- package/src/apis/MailApi.ts +155 -63
- package/src/apis/MarketApi.ts +189 -67
- package/src/apis/MetaApi.ts +156 -13
- package/src/apis/PlanetaryInteractionApi.ts +70 -25
- package/src/apis/RoutesApi.ts +67 -66
- package/src/apis/SearchApi.ts +19 -7
- package/src/apis/SkillsApi.ts +53 -19
- package/src/apis/SovereigntyApi.ts +53 -19
- package/src/apis/StatusApi.ts +19 -7
- package/src/apis/UniverseApi.ts +512 -181
- package/src/apis/UserInterfaceApi.ts +87 -31
- package/src/apis/WalletApi.ts +104 -41
- package/src/apis/WarsApi.ts +53 -19
- package/src/apis/index.ts +2 -0
- package/src/constants.ts +10 -0
- package/src/index.ts +1 -0
- package/src/models/index.ts +2374 -308
- package/src/runtime.ts +14 -225
- package/esisl_genoa_client-0.1.0.tgz +0 -0
- package/esisl_genoa_client-0.1.1.tgz +0 -0
|
@@ -0,0 +1,907 @@
|
|
|
1
|
+
/* tslint:disable */
|
|
2
|
+
/* eslint-disable */
|
|
3
|
+
/**
|
|
4
|
+
* EVE Stable Infrastructure (ESI) - tranquility
|
|
5
|
+
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
|
|
6
|
+
*
|
|
7
|
+
* The version of the OpenAPI document: 2025-12-16
|
|
8
|
+
* Contact: arcyfa_github@pm.me
|
|
9
|
+
*
|
|
10
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
11
|
+
* https://openapi-generator.tech
|
|
12
|
+
* Do not edit the class manually.
|
|
13
|
+
*/
|
|
14
|
+
|
|
15
|
+
|
|
16
|
+
import * as runtime from '../runtime';
|
|
17
|
+
import { ESI_COMPATIBILITY_DATE } from '../constants';
|
|
18
|
+
|
|
19
|
+
import type {
|
|
20
|
+
CharactersFreelanceJobsListing,
|
|
21
|
+
CharactersFreelanceJobsParticipation,
|
|
22
|
+
CorporationsFreelanceJobsListing,
|
|
23
|
+
CorporationsFreelanceJobsParticipants,
|
|
24
|
+
FreelanceJobsDetail,
|
|
25
|
+
FreelanceJobsListing,
|
|
26
|
+
} from '../models/index';
|
|
27
|
+
|
|
28
|
+
export interface GetCharactersFreelanceJobsListingRequest {
|
|
29
|
+
characterId: number;
|
|
30
|
+
xCompatibilityDate: GetCharactersFreelanceJobsListingXCompatibilityDateEnum;
|
|
31
|
+
acceptLanguage?: GetCharactersFreelanceJobsListingAcceptLanguageEnum;
|
|
32
|
+
ifNoneMatch?: string;
|
|
33
|
+
xTenant?: string;
|
|
34
|
+
ifModifiedSince?: string;
|
|
35
|
+
}
|
|
36
|
+
|
|
37
|
+
export interface GetCharactersFreelanceJobsParticipationRequest {
|
|
38
|
+
characterId: number;
|
|
39
|
+
jobId: string;
|
|
40
|
+
xCompatibilityDate: GetCharactersFreelanceJobsParticipationXCompatibilityDateEnum;
|
|
41
|
+
acceptLanguage?: GetCharactersFreelanceJobsParticipationAcceptLanguageEnum;
|
|
42
|
+
ifNoneMatch?: string;
|
|
43
|
+
xTenant?: string;
|
|
44
|
+
ifModifiedSince?: string;
|
|
45
|
+
}
|
|
46
|
+
|
|
47
|
+
export interface GetCorporationsFreelanceJobsListingRequest {
|
|
48
|
+
corporationId: number;
|
|
49
|
+
xCompatibilityDate: GetCorporationsFreelanceJobsListingXCompatibilityDateEnum;
|
|
50
|
+
after?: string;
|
|
51
|
+
before?: string;
|
|
52
|
+
limit?: number;
|
|
53
|
+
acceptLanguage?: GetCorporationsFreelanceJobsListingAcceptLanguageEnum;
|
|
54
|
+
ifNoneMatch?: string;
|
|
55
|
+
xTenant?: string;
|
|
56
|
+
ifModifiedSince?: string;
|
|
57
|
+
}
|
|
58
|
+
|
|
59
|
+
export interface GetCorporationsFreelanceJobsParticipantsRequest {
|
|
60
|
+
corporationId: number;
|
|
61
|
+
jobId: string;
|
|
62
|
+
xCompatibilityDate: GetCorporationsFreelanceJobsParticipantsXCompatibilityDateEnum;
|
|
63
|
+
after?: string;
|
|
64
|
+
before?: string;
|
|
65
|
+
limit?: number;
|
|
66
|
+
acceptLanguage?: GetCorporationsFreelanceJobsParticipantsAcceptLanguageEnum;
|
|
67
|
+
ifNoneMatch?: string;
|
|
68
|
+
xTenant?: string;
|
|
69
|
+
ifModifiedSince?: string;
|
|
70
|
+
}
|
|
71
|
+
|
|
72
|
+
export interface GetFreelanceJobsDetailRequest {
|
|
73
|
+
jobId: string;
|
|
74
|
+
xCompatibilityDate: GetFreelanceJobsDetailXCompatibilityDateEnum;
|
|
75
|
+
acceptLanguage?: GetFreelanceJobsDetailAcceptLanguageEnum;
|
|
76
|
+
ifNoneMatch?: string;
|
|
77
|
+
xTenant?: string;
|
|
78
|
+
ifModifiedSince?: string;
|
|
79
|
+
}
|
|
80
|
+
|
|
81
|
+
export interface GetFreelanceJobsListingRequest {
|
|
82
|
+
xCompatibilityDate: GetFreelanceJobsListingXCompatibilityDateEnum;
|
|
83
|
+
after?: string;
|
|
84
|
+
before?: string;
|
|
85
|
+
limit?: number;
|
|
86
|
+
corporationId?: number;
|
|
87
|
+
acceptLanguage?: GetFreelanceJobsListingAcceptLanguageEnum;
|
|
88
|
+
ifNoneMatch?: string;
|
|
89
|
+
xTenant?: string;
|
|
90
|
+
ifModifiedSince?: string;
|
|
91
|
+
}
|
|
92
|
+
|
|
93
|
+
/**
|
|
94
|
+
* FreelanceJobsApi - interface
|
|
95
|
+
*
|
|
96
|
+
* @export
|
|
97
|
+
* @interface FreelanceJobsApiInterface
|
|
98
|
+
*/
|
|
99
|
+
export interface FreelanceJobsApiInterface {
|
|
100
|
+
/**
|
|
101
|
+
* Listing of all freelance jobs you are actively participating in.
|
|
102
|
+
* @summary List character freelance jobs
|
|
103
|
+
* @param {number} characterId The ID of the character
|
|
104
|
+
* @param {'2025-12-16'} xCompatibilityDate The compatibility date for the request.
|
|
105
|
+
* @param {'en' | 'de' | 'fr' | 'ja' | 'ru' | 'zh' | 'ko' | 'es'} [acceptLanguage] The language to use for the response.
|
|
106
|
+
* @param {string} [ifNoneMatch] The ETag of the previous request. A 304 will be returned if this matches the current ETag.
|
|
107
|
+
* @param {string} [xTenant] The tenant ID for the request.
|
|
108
|
+
* @param {string} [ifModifiedSince] The date the resource was last modified. A 304 will be returned if the resource has not been modified since this date.
|
|
109
|
+
* @param {*} [options] Override http request option.
|
|
110
|
+
* @throws {RequiredError}
|
|
111
|
+
* @memberof FreelanceJobsApiInterface
|
|
112
|
+
*/
|
|
113
|
+
getCharactersFreelanceJobsListingRaw(requestParameters: GetCharactersFreelanceJobsListingRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<CharactersFreelanceJobsListing>>;
|
|
114
|
+
|
|
115
|
+
/**
|
|
116
|
+
* Listing of all freelance jobs you are actively participating in.
|
|
117
|
+
* List character freelance jobs
|
|
118
|
+
*/
|
|
119
|
+
getCharactersFreelanceJobsListing(requestParameters: GetCharactersFreelanceJobsListingRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<any>;
|
|
120
|
+
|
|
121
|
+
/**
|
|
122
|
+
* Show your participation in a freelance job.
|
|
123
|
+
* @summary Get character freelance job participation
|
|
124
|
+
* @param {number} characterId The ID of the character
|
|
125
|
+
* @param {string} jobId The ID of the freelance job
|
|
126
|
+
* @param {'2025-12-16'} xCompatibilityDate The compatibility date for the request.
|
|
127
|
+
* @param {'en' | 'de' | 'fr' | 'ja' | 'ru' | 'zh' | 'ko' | 'es'} [acceptLanguage] The language to use for the response.
|
|
128
|
+
* @param {string} [ifNoneMatch] The ETag of the previous request. A 304 will be returned if this matches the current ETag.
|
|
129
|
+
* @param {string} [xTenant] The tenant ID for the request.
|
|
130
|
+
* @param {string} [ifModifiedSince] The date the resource was last modified. A 304 will be returned if the resource has not been modified since this date.
|
|
131
|
+
* @param {*} [options] Override http request option.
|
|
132
|
+
* @throws {RequiredError}
|
|
133
|
+
* @memberof FreelanceJobsApiInterface
|
|
134
|
+
*/
|
|
135
|
+
getCharactersFreelanceJobsParticipationRaw(requestParameters: GetCharactersFreelanceJobsParticipationRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<CharactersFreelanceJobsParticipation>>;
|
|
136
|
+
|
|
137
|
+
/**
|
|
138
|
+
* Show your participation in a freelance job.
|
|
139
|
+
* Get character freelance job participation
|
|
140
|
+
*/
|
|
141
|
+
getCharactersFreelanceJobsParticipation(requestParameters: GetCharactersFreelanceJobsParticipationRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<any>;
|
|
142
|
+
|
|
143
|
+
/**
|
|
144
|
+
* Listing of all freelance jobs for your corporation.
|
|
145
|
+
* @summary List corporation freelance jobs
|
|
146
|
+
* @param {number} corporationId The ID of the corporation
|
|
147
|
+
* @param {'2025-12-16'} xCompatibilityDate The compatibility date for the request.
|
|
148
|
+
* @param {string} [after] Return records from after this cursor (mutual exclusive with \'before\'). \'0\' to start from the beginning.
|
|
149
|
+
* @param {string} [before] Return records from before this cursor (mutual exclusive with \'after\'). \'0\' to start from the end.
|
|
150
|
+
* @param {number} [limit] The amount of records to retrieve per request.
|
|
151
|
+
* @param {'en' | 'de' | 'fr' | 'ja' | 'ru' | 'zh' | 'ko' | 'es'} [acceptLanguage] The language to use for the response.
|
|
152
|
+
* @param {string} [ifNoneMatch] The ETag of the previous request. A 304 will be returned if this matches the current ETag.
|
|
153
|
+
* @param {string} [xTenant] The tenant ID for the request.
|
|
154
|
+
* @param {string} [ifModifiedSince] The date the resource was last modified. A 304 will be returned if the resource has not been modified since this date.
|
|
155
|
+
* @param {*} [options] Override http request option.
|
|
156
|
+
* @throws {RequiredError}
|
|
157
|
+
* @memberof FreelanceJobsApiInterface
|
|
158
|
+
*/
|
|
159
|
+
getCorporationsFreelanceJobsListingRaw(requestParameters: GetCorporationsFreelanceJobsListingRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<CorporationsFreelanceJobsListing>>;
|
|
160
|
+
|
|
161
|
+
/**
|
|
162
|
+
* Listing of all freelance jobs for your corporation.
|
|
163
|
+
* List corporation freelance jobs
|
|
164
|
+
*/
|
|
165
|
+
getCorporationsFreelanceJobsListing(requestParameters: GetCorporationsFreelanceJobsListingRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<any>;
|
|
166
|
+
|
|
167
|
+
/**
|
|
168
|
+
* Listing of all participants of a freelance job.
|
|
169
|
+
* @summary List participants of a freelance job
|
|
170
|
+
* @param {number} corporationId The ID of the corporation
|
|
171
|
+
* @param {string} jobId The ID of the job
|
|
172
|
+
* @param {'2025-12-16'} xCompatibilityDate The compatibility date for the request.
|
|
173
|
+
* @param {string} [after] Return records from after this cursor (mutual exclusive with \'before\'). \'0\' to start from the beginning.
|
|
174
|
+
* @param {string} [before] Return records from before this cursor (mutual exclusive with \'after\'). \'0\' to start from the end.
|
|
175
|
+
* @param {number} [limit] The amount of records to retrieve per request.
|
|
176
|
+
* @param {'en' | 'de' | 'fr' | 'ja' | 'ru' | 'zh' | 'ko' | 'es'} [acceptLanguage] The language to use for the response.
|
|
177
|
+
* @param {string} [ifNoneMatch] The ETag of the previous request. A 304 will be returned if this matches the current ETag.
|
|
178
|
+
* @param {string} [xTenant] The tenant ID for the request.
|
|
179
|
+
* @param {string} [ifModifiedSince] The date the resource was last modified. A 304 will be returned if the resource has not been modified since this date.
|
|
180
|
+
* @param {*} [options] Override http request option.
|
|
181
|
+
* @throws {RequiredError}
|
|
182
|
+
* @memberof FreelanceJobsApiInterface
|
|
183
|
+
*/
|
|
184
|
+
getCorporationsFreelanceJobsParticipantsRaw(requestParameters: GetCorporationsFreelanceJobsParticipantsRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<CorporationsFreelanceJobsParticipants>>;
|
|
185
|
+
|
|
186
|
+
/**
|
|
187
|
+
* Listing of all participants of a freelance job.
|
|
188
|
+
* List participants of a freelance job
|
|
189
|
+
*/
|
|
190
|
+
getCorporationsFreelanceJobsParticipants(requestParameters: GetCorporationsFreelanceJobsParticipantsRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<any>;
|
|
191
|
+
|
|
192
|
+
/**
|
|
193
|
+
* Get the details of a freelance job. Jobs without an ACL (public jobs) does not require authentication. Jobs with an ACL requires authentication, and requires that the character is: - An active participant of the job, or - A freelance job manager for the corporation that owns the job.
|
|
194
|
+
* @summary Get freelance job details
|
|
195
|
+
* @param {string} jobId The ID of the freelance job
|
|
196
|
+
* @param {'2025-12-16'} xCompatibilityDate The compatibility date for the request.
|
|
197
|
+
* @param {'en' | 'de' | 'fr' | 'ja' | 'ru' | 'zh' | 'ko' | 'es'} [acceptLanguage] The language to use for the response.
|
|
198
|
+
* @param {string} [ifNoneMatch] The ETag of the previous request. A 304 will be returned if this matches the current ETag.
|
|
199
|
+
* @param {string} [xTenant] The tenant ID for the request.
|
|
200
|
+
* @param {string} [ifModifiedSince] The date the resource was last modified. A 304 will be returned if the resource has not been modified since this date.
|
|
201
|
+
* @param {*} [options] Override http request option.
|
|
202
|
+
* @throws {RequiredError}
|
|
203
|
+
* @memberof FreelanceJobsApiInterface
|
|
204
|
+
*/
|
|
205
|
+
getFreelanceJobsDetailRaw(requestParameters: GetFreelanceJobsDetailRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<FreelanceJobsDetail>>;
|
|
206
|
+
|
|
207
|
+
/**
|
|
208
|
+
* Get the details of a freelance job. Jobs without an ACL (public jobs) does not require authentication. Jobs with an ACL requires authentication, and requires that the character is: - An active participant of the job, or - A freelance job manager for the corporation that owns the job.
|
|
209
|
+
* Get freelance job details
|
|
210
|
+
*/
|
|
211
|
+
getFreelanceJobsDetail(requestParameters: GetFreelanceJobsDetailRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<any>;
|
|
212
|
+
|
|
213
|
+
/**
|
|
214
|
+
* Listing of all public freelance jobs.
|
|
215
|
+
* @summary List freelance jobs
|
|
216
|
+
* @param {'2025-12-16'} xCompatibilityDate The compatibility date for the request.
|
|
217
|
+
* @param {string} [after] Return records from after this cursor (mutual exclusive with \'before\'). \'0\' to start from the beginning.
|
|
218
|
+
* @param {string} [before] Return records from before this cursor (mutual exclusive with \'after\'). \'0\' to start from the end.
|
|
219
|
+
* @param {number} [limit] The amount of records to retrieve per request.
|
|
220
|
+
* @param {number} [corporationId] Filter on corporation ID
|
|
221
|
+
* @param {'en' | 'de' | 'fr' | 'ja' | 'ru' | 'zh' | 'ko' | 'es'} [acceptLanguage] The language to use for the response.
|
|
222
|
+
* @param {string} [ifNoneMatch] The ETag of the previous request. A 304 will be returned if this matches the current ETag.
|
|
223
|
+
* @param {string} [xTenant] The tenant ID for the request.
|
|
224
|
+
* @param {string} [ifModifiedSince] The date the resource was last modified. A 304 will be returned if the resource has not been modified since this date.
|
|
225
|
+
* @param {*} [options] Override http request option.
|
|
226
|
+
* @throws {RequiredError}
|
|
227
|
+
* @memberof FreelanceJobsApiInterface
|
|
228
|
+
*/
|
|
229
|
+
getFreelanceJobsListingRaw(requestParameters: GetFreelanceJobsListingRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<FreelanceJobsListing>>;
|
|
230
|
+
|
|
231
|
+
/**
|
|
232
|
+
* Listing of all public freelance jobs.
|
|
233
|
+
* List freelance jobs
|
|
234
|
+
*/
|
|
235
|
+
getFreelanceJobsListing(requestParameters: GetFreelanceJobsListingRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<any>;
|
|
236
|
+
|
|
237
|
+
}
|
|
238
|
+
|
|
239
|
+
/**
|
|
240
|
+
*
|
|
241
|
+
*/
|
|
242
|
+
export class FreelanceJobsApi extends runtime.BaseAPI implements FreelanceJobsApiInterface {
|
|
243
|
+
|
|
244
|
+
/**
|
|
245
|
+
* Listing of all freelance jobs you are actively participating in.
|
|
246
|
+
* List character freelance jobs
|
|
247
|
+
*/
|
|
248
|
+
async getCharactersFreelanceJobsListingRaw(requestParameters: GetCharactersFreelanceJobsListingRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<CharactersFreelanceJobsListing>> {
|
|
249
|
+
if (requestParameters['characterId'] == null) {
|
|
250
|
+
throw new runtime.RequiredError(
|
|
251
|
+
'characterId',
|
|
252
|
+
'Required parameter "characterId" was null or undefined when calling getCharactersFreelanceJobsListing().'
|
|
253
|
+
);
|
|
254
|
+
}
|
|
255
|
+
|
|
256
|
+
if (requestParameters['xCompatibilityDate'] == null) {
|
|
257
|
+
throw new runtime.RequiredError(
|
|
258
|
+
'xCompatibilityDate',
|
|
259
|
+
'Required parameter "xCompatibilityDate" was null or undefined when calling getCharactersFreelanceJobsListing().'
|
|
260
|
+
);
|
|
261
|
+
}
|
|
262
|
+
|
|
263
|
+
const queryParameters: any = {};
|
|
264
|
+
|
|
265
|
+
const headerParameters: runtime.HTTPHeaders = {};
|
|
266
|
+
|
|
267
|
+
if (requestParameters['acceptLanguage'] != null) {
|
|
268
|
+
headerParameters['Accept-Language'] = String(requestParameters['acceptLanguage']);
|
|
269
|
+
}
|
|
270
|
+
|
|
271
|
+
if (requestParameters['ifNoneMatch'] != null) {
|
|
272
|
+
headerParameters['If-None-Match'] = String(requestParameters['ifNoneMatch']);
|
|
273
|
+
}
|
|
274
|
+
|
|
275
|
+
if (requestParameters['xCompatibilityDate'] != null) {
|
|
276
|
+
headerParameters['X-Compatibility-Date'] = String(requestParameters['xCompatibilityDate']);
|
|
277
|
+
}
|
|
278
|
+
|
|
279
|
+
if (requestParameters['xTenant'] != null) {
|
|
280
|
+
headerParameters['X-Tenant'] = String(requestParameters['xTenant']);
|
|
281
|
+
}
|
|
282
|
+
|
|
283
|
+
if (requestParameters['ifModifiedSince'] != null) {
|
|
284
|
+
headerParameters['If-Modified-Since'] = String(requestParameters['ifModifiedSince']);
|
|
285
|
+
}
|
|
286
|
+
|
|
287
|
+
/*
|
|
288
|
+
if (this.configuration && this.configuration.accessToken) {
|
|
289
|
+
// oauth required
|
|
290
|
+
headerParameters["Authorization"] = await this.configuration.accessToken("OAuth2", ["esi-characters.read_freelance_jobs.v1"]);
|
|
291
|
+
}
|
|
292
|
+
|
|
293
|
+
*/
|
|
294
|
+
|
|
295
|
+
let urlPath = `/characters/{character_id}/freelance-jobs`;
|
|
296
|
+
urlPath = urlPath.replace(`{${"character_id"}}`, encodeURIComponent(String(requestParameters['characterId'])));
|
|
297
|
+
|
|
298
|
+
// Auto-inject X-Compatibility-Date if not already provided
|
|
299
|
+
if (!headerParameters['X-Compatibility-Date']) {
|
|
300
|
+
headerParameters['X-Compatibility-Date'] = ESI_COMPATIBILITY_DATE;
|
|
301
|
+
}
|
|
302
|
+
|
|
303
|
+
const facade = this.configuration?.apiFacade;
|
|
304
|
+
if (!facade) {
|
|
305
|
+
throw new runtime.RequiredError('apiFacade', 'apiFacade is required in Configuration. Provide it via new Configuration({ apiFacade: myFacade })');
|
|
306
|
+
}
|
|
307
|
+
|
|
308
|
+
const response = await facade.esi.proxy({
|
|
309
|
+
path: urlPath,
|
|
310
|
+
method: 'GET',
|
|
311
|
+
headers: headerParameters,
|
|
312
|
+
query: queryParameters,
|
|
313
|
+
}, initOverrides);
|
|
314
|
+
|
|
315
|
+
return response;
|
|
316
|
+
}
|
|
317
|
+
|
|
318
|
+
/**
|
|
319
|
+
* Listing of all freelance jobs you are actively participating in.
|
|
320
|
+
* List character freelance jobs
|
|
321
|
+
*/
|
|
322
|
+
async getCharactersFreelanceJobsListing(requestParameters: GetCharactersFreelanceJobsListingRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<any> {
|
|
323
|
+
const response = await this.getCharactersFreelanceJobsListingRaw(requestParameters, initOverrides);
|
|
324
|
+
return response;
|
|
325
|
+
}
|
|
326
|
+
|
|
327
|
+
/**
|
|
328
|
+
* Show your participation in a freelance job.
|
|
329
|
+
* Get character freelance job participation
|
|
330
|
+
*/
|
|
331
|
+
async getCharactersFreelanceJobsParticipationRaw(requestParameters: GetCharactersFreelanceJobsParticipationRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<CharactersFreelanceJobsParticipation>> {
|
|
332
|
+
if (requestParameters['characterId'] == null) {
|
|
333
|
+
throw new runtime.RequiredError(
|
|
334
|
+
'characterId',
|
|
335
|
+
'Required parameter "characterId" was null or undefined when calling getCharactersFreelanceJobsParticipation().'
|
|
336
|
+
);
|
|
337
|
+
}
|
|
338
|
+
|
|
339
|
+
if (requestParameters['jobId'] == null) {
|
|
340
|
+
throw new runtime.RequiredError(
|
|
341
|
+
'jobId',
|
|
342
|
+
'Required parameter "jobId" was null or undefined when calling getCharactersFreelanceJobsParticipation().'
|
|
343
|
+
);
|
|
344
|
+
}
|
|
345
|
+
|
|
346
|
+
if (requestParameters['xCompatibilityDate'] == null) {
|
|
347
|
+
throw new runtime.RequiredError(
|
|
348
|
+
'xCompatibilityDate',
|
|
349
|
+
'Required parameter "xCompatibilityDate" was null or undefined when calling getCharactersFreelanceJobsParticipation().'
|
|
350
|
+
);
|
|
351
|
+
}
|
|
352
|
+
|
|
353
|
+
const queryParameters: any = {};
|
|
354
|
+
|
|
355
|
+
const headerParameters: runtime.HTTPHeaders = {};
|
|
356
|
+
|
|
357
|
+
if (requestParameters['acceptLanguage'] != null) {
|
|
358
|
+
headerParameters['Accept-Language'] = String(requestParameters['acceptLanguage']);
|
|
359
|
+
}
|
|
360
|
+
|
|
361
|
+
if (requestParameters['ifNoneMatch'] != null) {
|
|
362
|
+
headerParameters['If-None-Match'] = String(requestParameters['ifNoneMatch']);
|
|
363
|
+
}
|
|
364
|
+
|
|
365
|
+
if (requestParameters['xCompatibilityDate'] != null) {
|
|
366
|
+
headerParameters['X-Compatibility-Date'] = String(requestParameters['xCompatibilityDate']);
|
|
367
|
+
}
|
|
368
|
+
|
|
369
|
+
if (requestParameters['xTenant'] != null) {
|
|
370
|
+
headerParameters['X-Tenant'] = String(requestParameters['xTenant']);
|
|
371
|
+
}
|
|
372
|
+
|
|
373
|
+
if (requestParameters['ifModifiedSince'] != null) {
|
|
374
|
+
headerParameters['If-Modified-Since'] = String(requestParameters['ifModifiedSince']);
|
|
375
|
+
}
|
|
376
|
+
|
|
377
|
+
/*
|
|
378
|
+
if (this.configuration && this.configuration.accessToken) {
|
|
379
|
+
// oauth required
|
|
380
|
+
headerParameters["Authorization"] = await this.configuration.accessToken("OAuth2", ["esi-characters.read_freelance_jobs.v1"]);
|
|
381
|
+
}
|
|
382
|
+
|
|
383
|
+
*/
|
|
384
|
+
|
|
385
|
+
let urlPath = `/characters/{character_id}/freelance-jobs/{job_id}/participation`;
|
|
386
|
+
urlPath = urlPath.replace(`{${"character_id"}}`, encodeURIComponent(String(requestParameters['characterId'])));
|
|
387
|
+
urlPath = urlPath.replace(`{${"job_id"}}`, encodeURIComponent(String(requestParameters['jobId'])));
|
|
388
|
+
|
|
389
|
+
// Auto-inject X-Compatibility-Date if not already provided
|
|
390
|
+
if (!headerParameters['X-Compatibility-Date']) {
|
|
391
|
+
headerParameters['X-Compatibility-Date'] = ESI_COMPATIBILITY_DATE;
|
|
392
|
+
}
|
|
393
|
+
|
|
394
|
+
const facade = this.configuration?.apiFacade;
|
|
395
|
+
if (!facade) {
|
|
396
|
+
throw new runtime.RequiredError('apiFacade', 'apiFacade is required in Configuration. Provide it via new Configuration({ apiFacade: myFacade })');
|
|
397
|
+
}
|
|
398
|
+
|
|
399
|
+
const response = await facade.esi.proxy({
|
|
400
|
+
path: urlPath,
|
|
401
|
+
method: 'GET',
|
|
402
|
+
headers: headerParameters,
|
|
403
|
+
query: queryParameters,
|
|
404
|
+
}, initOverrides);
|
|
405
|
+
|
|
406
|
+
return response;
|
|
407
|
+
}
|
|
408
|
+
|
|
409
|
+
/**
|
|
410
|
+
* Show your participation in a freelance job.
|
|
411
|
+
* Get character freelance job participation
|
|
412
|
+
*/
|
|
413
|
+
async getCharactersFreelanceJobsParticipation(requestParameters: GetCharactersFreelanceJobsParticipationRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<any> {
|
|
414
|
+
const response = await this.getCharactersFreelanceJobsParticipationRaw(requestParameters, initOverrides);
|
|
415
|
+
return response;
|
|
416
|
+
}
|
|
417
|
+
|
|
418
|
+
/**
|
|
419
|
+
* Listing of all freelance jobs for your corporation.
|
|
420
|
+
* List corporation freelance jobs
|
|
421
|
+
*/
|
|
422
|
+
async getCorporationsFreelanceJobsListingRaw(requestParameters: GetCorporationsFreelanceJobsListingRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<CorporationsFreelanceJobsListing>> {
|
|
423
|
+
if (requestParameters['corporationId'] == null) {
|
|
424
|
+
throw new runtime.RequiredError(
|
|
425
|
+
'corporationId',
|
|
426
|
+
'Required parameter "corporationId" was null or undefined when calling getCorporationsFreelanceJobsListing().'
|
|
427
|
+
);
|
|
428
|
+
}
|
|
429
|
+
|
|
430
|
+
if (requestParameters['xCompatibilityDate'] == null) {
|
|
431
|
+
throw new runtime.RequiredError(
|
|
432
|
+
'xCompatibilityDate',
|
|
433
|
+
'Required parameter "xCompatibilityDate" was null or undefined when calling getCorporationsFreelanceJobsListing().'
|
|
434
|
+
);
|
|
435
|
+
}
|
|
436
|
+
|
|
437
|
+
const queryParameters: any = {};
|
|
438
|
+
|
|
439
|
+
if (requestParameters['after'] != null) {
|
|
440
|
+
queryParameters['after'] = requestParameters['after'];
|
|
441
|
+
}
|
|
442
|
+
|
|
443
|
+
if (requestParameters['before'] != null) {
|
|
444
|
+
queryParameters['before'] = requestParameters['before'];
|
|
445
|
+
}
|
|
446
|
+
|
|
447
|
+
if (requestParameters['limit'] != null) {
|
|
448
|
+
queryParameters['limit'] = requestParameters['limit'];
|
|
449
|
+
}
|
|
450
|
+
|
|
451
|
+
const headerParameters: runtime.HTTPHeaders = {};
|
|
452
|
+
|
|
453
|
+
if (requestParameters['acceptLanguage'] != null) {
|
|
454
|
+
headerParameters['Accept-Language'] = String(requestParameters['acceptLanguage']);
|
|
455
|
+
}
|
|
456
|
+
|
|
457
|
+
if (requestParameters['ifNoneMatch'] != null) {
|
|
458
|
+
headerParameters['If-None-Match'] = String(requestParameters['ifNoneMatch']);
|
|
459
|
+
}
|
|
460
|
+
|
|
461
|
+
if (requestParameters['xCompatibilityDate'] != null) {
|
|
462
|
+
headerParameters['X-Compatibility-Date'] = String(requestParameters['xCompatibilityDate']);
|
|
463
|
+
}
|
|
464
|
+
|
|
465
|
+
if (requestParameters['xTenant'] != null) {
|
|
466
|
+
headerParameters['X-Tenant'] = String(requestParameters['xTenant']);
|
|
467
|
+
}
|
|
468
|
+
|
|
469
|
+
if (requestParameters['ifModifiedSince'] != null) {
|
|
470
|
+
headerParameters['If-Modified-Since'] = String(requestParameters['ifModifiedSince']);
|
|
471
|
+
}
|
|
472
|
+
|
|
473
|
+
/*
|
|
474
|
+
if (this.configuration && this.configuration.accessToken) {
|
|
475
|
+
// oauth required
|
|
476
|
+
headerParameters["Authorization"] = await this.configuration.accessToken("OAuth2", ["esi-corporations.read_freelance_jobs.v1"]);
|
|
477
|
+
}
|
|
478
|
+
|
|
479
|
+
*/
|
|
480
|
+
|
|
481
|
+
let urlPath = `/corporations/{corporation_id}/freelance-jobs`;
|
|
482
|
+
urlPath = urlPath.replace(`{${"corporation_id"}}`, encodeURIComponent(String(requestParameters['corporationId'])));
|
|
483
|
+
|
|
484
|
+
// Auto-inject X-Compatibility-Date if not already provided
|
|
485
|
+
if (!headerParameters['X-Compatibility-Date']) {
|
|
486
|
+
headerParameters['X-Compatibility-Date'] = ESI_COMPATIBILITY_DATE;
|
|
487
|
+
}
|
|
488
|
+
|
|
489
|
+
const facade = this.configuration?.apiFacade;
|
|
490
|
+
if (!facade) {
|
|
491
|
+
throw new runtime.RequiredError('apiFacade', 'apiFacade is required in Configuration. Provide it via new Configuration({ apiFacade: myFacade })');
|
|
492
|
+
}
|
|
493
|
+
|
|
494
|
+
const response = await facade.esi.proxy({
|
|
495
|
+
path: urlPath,
|
|
496
|
+
method: 'GET',
|
|
497
|
+
headers: headerParameters,
|
|
498
|
+
query: queryParameters,
|
|
499
|
+
}, initOverrides);
|
|
500
|
+
|
|
501
|
+
return response;
|
|
502
|
+
}
|
|
503
|
+
|
|
504
|
+
/**
|
|
505
|
+
* Listing of all freelance jobs for your corporation.
|
|
506
|
+
* List corporation freelance jobs
|
|
507
|
+
*/
|
|
508
|
+
async getCorporationsFreelanceJobsListing(requestParameters: GetCorporationsFreelanceJobsListingRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<any> {
|
|
509
|
+
const response = await this.getCorporationsFreelanceJobsListingRaw(requestParameters, initOverrides);
|
|
510
|
+
return response;
|
|
511
|
+
}
|
|
512
|
+
|
|
513
|
+
/**
|
|
514
|
+
* Listing of all participants of a freelance job.
|
|
515
|
+
* List participants of a freelance job
|
|
516
|
+
*/
|
|
517
|
+
async getCorporationsFreelanceJobsParticipantsRaw(requestParameters: GetCorporationsFreelanceJobsParticipantsRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<CorporationsFreelanceJobsParticipants>> {
|
|
518
|
+
if (requestParameters['corporationId'] == null) {
|
|
519
|
+
throw new runtime.RequiredError(
|
|
520
|
+
'corporationId',
|
|
521
|
+
'Required parameter "corporationId" was null or undefined when calling getCorporationsFreelanceJobsParticipants().'
|
|
522
|
+
);
|
|
523
|
+
}
|
|
524
|
+
|
|
525
|
+
if (requestParameters['jobId'] == null) {
|
|
526
|
+
throw new runtime.RequiredError(
|
|
527
|
+
'jobId',
|
|
528
|
+
'Required parameter "jobId" was null or undefined when calling getCorporationsFreelanceJobsParticipants().'
|
|
529
|
+
);
|
|
530
|
+
}
|
|
531
|
+
|
|
532
|
+
if (requestParameters['xCompatibilityDate'] == null) {
|
|
533
|
+
throw new runtime.RequiredError(
|
|
534
|
+
'xCompatibilityDate',
|
|
535
|
+
'Required parameter "xCompatibilityDate" was null or undefined when calling getCorporationsFreelanceJobsParticipants().'
|
|
536
|
+
);
|
|
537
|
+
}
|
|
538
|
+
|
|
539
|
+
const queryParameters: any = {};
|
|
540
|
+
|
|
541
|
+
if (requestParameters['after'] != null) {
|
|
542
|
+
queryParameters['after'] = requestParameters['after'];
|
|
543
|
+
}
|
|
544
|
+
|
|
545
|
+
if (requestParameters['before'] != null) {
|
|
546
|
+
queryParameters['before'] = requestParameters['before'];
|
|
547
|
+
}
|
|
548
|
+
|
|
549
|
+
if (requestParameters['limit'] != null) {
|
|
550
|
+
queryParameters['limit'] = requestParameters['limit'];
|
|
551
|
+
}
|
|
552
|
+
|
|
553
|
+
const headerParameters: runtime.HTTPHeaders = {};
|
|
554
|
+
|
|
555
|
+
if (requestParameters['acceptLanguage'] != null) {
|
|
556
|
+
headerParameters['Accept-Language'] = String(requestParameters['acceptLanguage']);
|
|
557
|
+
}
|
|
558
|
+
|
|
559
|
+
if (requestParameters['ifNoneMatch'] != null) {
|
|
560
|
+
headerParameters['If-None-Match'] = String(requestParameters['ifNoneMatch']);
|
|
561
|
+
}
|
|
562
|
+
|
|
563
|
+
if (requestParameters['xCompatibilityDate'] != null) {
|
|
564
|
+
headerParameters['X-Compatibility-Date'] = String(requestParameters['xCompatibilityDate']);
|
|
565
|
+
}
|
|
566
|
+
|
|
567
|
+
if (requestParameters['xTenant'] != null) {
|
|
568
|
+
headerParameters['X-Tenant'] = String(requestParameters['xTenant']);
|
|
569
|
+
}
|
|
570
|
+
|
|
571
|
+
if (requestParameters['ifModifiedSince'] != null) {
|
|
572
|
+
headerParameters['If-Modified-Since'] = String(requestParameters['ifModifiedSince']);
|
|
573
|
+
}
|
|
574
|
+
|
|
575
|
+
/*
|
|
576
|
+
if (this.configuration && this.configuration.accessToken) {
|
|
577
|
+
// oauth required
|
|
578
|
+
headerParameters["Authorization"] = await this.configuration.accessToken("OAuth2", ["esi-corporations.read_freelance_jobs.v1"]);
|
|
579
|
+
}
|
|
580
|
+
|
|
581
|
+
*/
|
|
582
|
+
|
|
583
|
+
let urlPath = `/corporations/{corporation_id}/freelance-jobs/{job_id}/participants`;
|
|
584
|
+
urlPath = urlPath.replace(`{${"corporation_id"}}`, encodeURIComponent(String(requestParameters['corporationId'])));
|
|
585
|
+
urlPath = urlPath.replace(`{${"job_id"}}`, encodeURIComponent(String(requestParameters['jobId'])));
|
|
586
|
+
|
|
587
|
+
// Auto-inject X-Compatibility-Date if not already provided
|
|
588
|
+
if (!headerParameters['X-Compatibility-Date']) {
|
|
589
|
+
headerParameters['X-Compatibility-Date'] = ESI_COMPATIBILITY_DATE;
|
|
590
|
+
}
|
|
591
|
+
|
|
592
|
+
const facade = this.configuration?.apiFacade;
|
|
593
|
+
if (!facade) {
|
|
594
|
+
throw new runtime.RequiredError('apiFacade', 'apiFacade is required in Configuration. Provide it via new Configuration({ apiFacade: myFacade })');
|
|
595
|
+
}
|
|
596
|
+
|
|
597
|
+
const response = await facade.esi.proxy({
|
|
598
|
+
path: urlPath,
|
|
599
|
+
method: 'GET',
|
|
600
|
+
headers: headerParameters,
|
|
601
|
+
query: queryParameters,
|
|
602
|
+
}, initOverrides);
|
|
603
|
+
|
|
604
|
+
return response;
|
|
605
|
+
}
|
|
606
|
+
|
|
607
|
+
/**
|
|
608
|
+
* Listing of all participants of a freelance job.
|
|
609
|
+
* List participants of a freelance job
|
|
610
|
+
*/
|
|
611
|
+
async getCorporationsFreelanceJobsParticipants(requestParameters: GetCorporationsFreelanceJobsParticipantsRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<any> {
|
|
612
|
+
const response = await this.getCorporationsFreelanceJobsParticipantsRaw(requestParameters, initOverrides);
|
|
613
|
+
return response;
|
|
614
|
+
}
|
|
615
|
+
|
|
616
|
+
/**
|
|
617
|
+
* Get the details of a freelance job. Jobs without an ACL (public jobs) does not require authentication. Jobs with an ACL requires authentication, and requires that the character is: - An active participant of the job, or - A freelance job manager for the corporation that owns the job.
|
|
618
|
+
* Get freelance job details
|
|
619
|
+
*/
|
|
620
|
+
async getFreelanceJobsDetailRaw(requestParameters: GetFreelanceJobsDetailRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<FreelanceJobsDetail>> {
|
|
621
|
+
if (requestParameters['jobId'] == null) {
|
|
622
|
+
throw new runtime.RequiredError(
|
|
623
|
+
'jobId',
|
|
624
|
+
'Required parameter "jobId" was null or undefined when calling getFreelanceJobsDetail().'
|
|
625
|
+
);
|
|
626
|
+
}
|
|
627
|
+
|
|
628
|
+
if (requestParameters['xCompatibilityDate'] == null) {
|
|
629
|
+
throw new runtime.RequiredError(
|
|
630
|
+
'xCompatibilityDate',
|
|
631
|
+
'Required parameter "xCompatibilityDate" was null or undefined when calling getFreelanceJobsDetail().'
|
|
632
|
+
);
|
|
633
|
+
}
|
|
634
|
+
|
|
635
|
+
const queryParameters: any = {};
|
|
636
|
+
|
|
637
|
+
const headerParameters: runtime.HTTPHeaders = {};
|
|
638
|
+
|
|
639
|
+
if (requestParameters['acceptLanguage'] != null) {
|
|
640
|
+
headerParameters['Accept-Language'] = String(requestParameters['acceptLanguage']);
|
|
641
|
+
}
|
|
642
|
+
|
|
643
|
+
if (requestParameters['ifNoneMatch'] != null) {
|
|
644
|
+
headerParameters['If-None-Match'] = String(requestParameters['ifNoneMatch']);
|
|
645
|
+
}
|
|
646
|
+
|
|
647
|
+
if (requestParameters['xCompatibilityDate'] != null) {
|
|
648
|
+
headerParameters['X-Compatibility-Date'] = String(requestParameters['xCompatibilityDate']);
|
|
649
|
+
}
|
|
650
|
+
|
|
651
|
+
if (requestParameters['xTenant'] != null) {
|
|
652
|
+
headerParameters['X-Tenant'] = String(requestParameters['xTenant']);
|
|
653
|
+
}
|
|
654
|
+
|
|
655
|
+
if (requestParameters['ifModifiedSince'] != null) {
|
|
656
|
+
headerParameters['If-Modified-Since'] = String(requestParameters['ifModifiedSince']);
|
|
657
|
+
}
|
|
658
|
+
|
|
659
|
+
/*
|
|
660
|
+
*/
|
|
661
|
+
|
|
662
|
+
let urlPath = `/freelance-jobs/{job_id}`;
|
|
663
|
+
urlPath = urlPath.replace(`{${"job_id"}}`, encodeURIComponent(String(requestParameters['jobId'])));
|
|
664
|
+
|
|
665
|
+
// Auto-inject X-Compatibility-Date if not already provided
|
|
666
|
+
if (!headerParameters['X-Compatibility-Date']) {
|
|
667
|
+
headerParameters['X-Compatibility-Date'] = ESI_COMPATIBILITY_DATE;
|
|
668
|
+
}
|
|
669
|
+
|
|
670
|
+
const facade = this.configuration?.apiFacade;
|
|
671
|
+
if (!facade) {
|
|
672
|
+
throw new runtime.RequiredError('apiFacade', 'apiFacade is required in Configuration. Provide it via new Configuration({ apiFacade: myFacade })');
|
|
673
|
+
}
|
|
674
|
+
|
|
675
|
+
const response = await facade.esi.proxy({
|
|
676
|
+
path: urlPath,
|
|
677
|
+
method: 'GET',
|
|
678
|
+
headers: headerParameters,
|
|
679
|
+
query: queryParameters,
|
|
680
|
+
}, initOverrides);
|
|
681
|
+
|
|
682
|
+
return response;
|
|
683
|
+
}
|
|
684
|
+
|
|
685
|
+
/**
|
|
686
|
+
* Get the details of a freelance job. Jobs without an ACL (public jobs) does not require authentication. Jobs with an ACL requires authentication, and requires that the character is: - An active participant of the job, or - A freelance job manager for the corporation that owns the job.
|
|
687
|
+
* Get freelance job details
|
|
688
|
+
*/
|
|
689
|
+
async getFreelanceJobsDetail(requestParameters: GetFreelanceJobsDetailRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<any> {
|
|
690
|
+
const response = await this.getFreelanceJobsDetailRaw(requestParameters, initOverrides);
|
|
691
|
+
return response;
|
|
692
|
+
}
|
|
693
|
+
|
|
694
|
+
/**
|
|
695
|
+
* Listing of all public freelance jobs.
|
|
696
|
+
* List freelance jobs
|
|
697
|
+
*/
|
|
698
|
+
async getFreelanceJobsListingRaw(requestParameters: GetFreelanceJobsListingRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<FreelanceJobsListing>> {
|
|
699
|
+
if (requestParameters['xCompatibilityDate'] == null) {
|
|
700
|
+
throw new runtime.RequiredError(
|
|
701
|
+
'xCompatibilityDate',
|
|
702
|
+
'Required parameter "xCompatibilityDate" was null or undefined when calling getFreelanceJobsListing().'
|
|
703
|
+
);
|
|
704
|
+
}
|
|
705
|
+
|
|
706
|
+
const queryParameters: any = {};
|
|
707
|
+
|
|
708
|
+
if (requestParameters['after'] != null) {
|
|
709
|
+
queryParameters['after'] = requestParameters['after'];
|
|
710
|
+
}
|
|
711
|
+
|
|
712
|
+
if (requestParameters['before'] != null) {
|
|
713
|
+
queryParameters['before'] = requestParameters['before'];
|
|
714
|
+
}
|
|
715
|
+
|
|
716
|
+
if (requestParameters['limit'] != null) {
|
|
717
|
+
queryParameters['limit'] = requestParameters['limit'];
|
|
718
|
+
}
|
|
719
|
+
|
|
720
|
+
if (requestParameters['corporationId'] != null) {
|
|
721
|
+
queryParameters['corporation_id'] = requestParameters['corporationId'];
|
|
722
|
+
}
|
|
723
|
+
|
|
724
|
+
const headerParameters: runtime.HTTPHeaders = {};
|
|
725
|
+
|
|
726
|
+
if (requestParameters['acceptLanguage'] != null) {
|
|
727
|
+
headerParameters['Accept-Language'] = String(requestParameters['acceptLanguage']);
|
|
728
|
+
}
|
|
729
|
+
|
|
730
|
+
if (requestParameters['ifNoneMatch'] != null) {
|
|
731
|
+
headerParameters['If-None-Match'] = String(requestParameters['ifNoneMatch']);
|
|
732
|
+
}
|
|
733
|
+
|
|
734
|
+
if (requestParameters['xCompatibilityDate'] != null) {
|
|
735
|
+
headerParameters['X-Compatibility-Date'] = String(requestParameters['xCompatibilityDate']);
|
|
736
|
+
}
|
|
737
|
+
|
|
738
|
+
if (requestParameters['xTenant'] != null) {
|
|
739
|
+
headerParameters['X-Tenant'] = String(requestParameters['xTenant']);
|
|
740
|
+
}
|
|
741
|
+
|
|
742
|
+
if (requestParameters['ifModifiedSince'] != null) {
|
|
743
|
+
headerParameters['If-Modified-Since'] = String(requestParameters['ifModifiedSince']);
|
|
744
|
+
}
|
|
745
|
+
|
|
746
|
+
/*
|
|
747
|
+
*/
|
|
748
|
+
|
|
749
|
+
let urlPath = `/freelance-jobs`;
|
|
750
|
+
|
|
751
|
+
// Auto-inject X-Compatibility-Date if not already provided
|
|
752
|
+
if (!headerParameters['X-Compatibility-Date']) {
|
|
753
|
+
headerParameters['X-Compatibility-Date'] = ESI_COMPATIBILITY_DATE;
|
|
754
|
+
}
|
|
755
|
+
|
|
756
|
+
const facade = this.configuration?.apiFacade;
|
|
757
|
+
if (!facade) {
|
|
758
|
+
throw new runtime.RequiredError('apiFacade', 'apiFacade is required in Configuration. Provide it via new Configuration({ apiFacade: myFacade })');
|
|
759
|
+
}
|
|
760
|
+
|
|
761
|
+
const response = await facade.esi.proxy({
|
|
762
|
+
path: urlPath,
|
|
763
|
+
method: 'GET',
|
|
764
|
+
headers: headerParameters,
|
|
765
|
+
query: queryParameters,
|
|
766
|
+
}, initOverrides);
|
|
767
|
+
|
|
768
|
+
return response;
|
|
769
|
+
}
|
|
770
|
+
|
|
771
|
+
/**
|
|
772
|
+
* Listing of all public freelance jobs.
|
|
773
|
+
* List freelance jobs
|
|
774
|
+
*/
|
|
775
|
+
async getFreelanceJobsListing(requestParameters: GetFreelanceJobsListingRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<any> {
|
|
776
|
+
const response = await this.getFreelanceJobsListingRaw(requestParameters, initOverrides);
|
|
777
|
+
return response;
|
|
778
|
+
}
|
|
779
|
+
|
|
780
|
+
}
|
|
781
|
+
|
|
782
|
+
/**
|
|
783
|
+
* @export
|
|
784
|
+
* @enum {string}
|
|
785
|
+
*/
|
|
786
|
+
export enum GetCharactersFreelanceJobsListingXCompatibilityDateEnum {
|
|
787
|
+
_20251216 = '2025-12-16'
|
|
788
|
+
}
|
|
789
|
+
/**
|
|
790
|
+
* @export
|
|
791
|
+
* @enum {string}
|
|
792
|
+
*/
|
|
793
|
+
export enum GetCharactersFreelanceJobsListingAcceptLanguageEnum {
|
|
794
|
+
En = 'en',
|
|
795
|
+
De = 'de',
|
|
796
|
+
Fr = 'fr',
|
|
797
|
+
Ja = 'ja',
|
|
798
|
+
Ru = 'ru',
|
|
799
|
+
Zh = 'zh',
|
|
800
|
+
Ko = 'ko',
|
|
801
|
+
Es = 'es'
|
|
802
|
+
}
|
|
803
|
+
/**
|
|
804
|
+
* @export
|
|
805
|
+
* @enum {string}
|
|
806
|
+
*/
|
|
807
|
+
export enum GetCharactersFreelanceJobsParticipationXCompatibilityDateEnum {
|
|
808
|
+
_20251216 = '2025-12-16'
|
|
809
|
+
}
|
|
810
|
+
/**
|
|
811
|
+
* @export
|
|
812
|
+
* @enum {string}
|
|
813
|
+
*/
|
|
814
|
+
export enum GetCharactersFreelanceJobsParticipationAcceptLanguageEnum {
|
|
815
|
+
En = 'en',
|
|
816
|
+
De = 'de',
|
|
817
|
+
Fr = 'fr',
|
|
818
|
+
Ja = 'ja',
|
|
819
|
+
Ru = 'ru',
|
|
820
|
+
Zh = 'zh',
|
|
821
|
+
Ko = 'ko',
|
|
822
|
+
Es = 'es'
|
|
823
|
+
}
|
|
824
|
+
/**
|
|
825
|
+
* @export
|
|
826
|
+
* @enum {string}
|
|
827
|
+
*/
|
|
828
|
+
export enum GetCorporationsFreelanceJobsListingXCompatibilityDateEnum {
|
|
829
|
+
_20251216 = '2025-12-16'
|
|
830
|
+
}
|
|
831
|
+
/**
|
|
832
|
+
* @export
|
|
833
|
+
* @enum {string}
|
|
834
|
+
*/
|
|
835
|
+
export enum GetCorporationsFreelanceJobsListingAcceptLanguageEnum {
|
|
836
|
+
En = 'en',
|
|
837
|
+
De = 'de',
|
|
838
|
+
Fr = 'fr',
|
|
839
|
+
Ja = 'ja',
|
|
840
|
+
Ru = 'ru',
|
|
841
|
+
Zh = 'zh',
|
|
842
|
+
Ko = 'ko',
|
|
843
|
+
Es = 'es'
|
|
844
|
+
}
|
|
845
|
+
/**
|
|
846
|
+
* @export
|
|
847
|
+
* @enum {string}
|
|
848
|
+
*/
|
|
849
|
+
export enum GetCorporationsFreelanceJobsParticipantsXCompatibilityDateEnum {
|
|
850
|
+
_20251216 = '2025-12-16'
|
|
851
|
+
}
|
|
852
|
+
/**
|
|
853
|
+
* @export
|
|
854
|
+
* @enum {string}
|
|
855
|
+
*/
|
|
856
|
+
export enum GetCorporationsFreelanceJobsParticipantsAcceptLanguageEnum {
|
|
857
|
+
En = 'en',
|
|
858
|
+
De = 'de',
|
|
859
|
+
Fr = 'fr',
|
|
860
|
+
Ja = 'ja',
|
|
861
|
+
Ru = 'ru',
|
|
862
|
+
Zh = 'zh',
|
|
863
|
+
Ko = 'ko',
|
|
864
|
+
Es = 'es'
|
|
865
|
+
}
|
|
866
|
+
/**
|
|
867
|
+
* @export
|
|
868
|
+
* @enum {string}
|
|
869
|
+
*/
|
|
870
|
+
export enum GetFreelanceJobsDetailXCompatibilityDateEnum {
|
|
871
|
+
_20251216 = '2025-12-16'
|
|
872
|
+
}
|
|
873
|
+
/**
|
|
874
|
+
* @export
|
|
875
|
+
* @enum {string}
|
|
876
|
+
*/
|
|
877
|
+
export enum GetFreelanceJobsDetailAcceptLanguageEnum {
|
|
878
|
+
En = 'en',
|
|
879
|
+
De = 'de',
|
|
880
|
+
Fr = 'fr',
|
|
881
|
+
Ja = 'ja',
|
|
882
|
+
Ru = 'ru',
|
|
883
|
+
Zh = 'zh',
|
|
884
|
+
Ko = 'ko',
|
|
885
|
+
Es = 'es'
|
|
886
|
+
}
|
|
887
|
+
/**
|
|
888
|
+
* @export
|
|
889
|
+
* @enum {string}
|
|
890
|
+
*/
|
|
891
|
+
export enum GetFreelanceJobsListingXCompatibilityDateEnum {
|
|
892
|
+
_20251216 = '2025-12-16'
|
|
893
|
+
}
|
|
894
|
+
/**
|
|
895
|
+
* @export
|
|
896
|
+
* @enum {string}
|
|
897
|
+
*/
|
|
898
|
+
export enum GetFreelanceJobsListingAcceptLanguageEnum {
|
|
899
|
+
En = 'en',
|
|
900
|
+
De = 'de',
|
|
901
|
+
Fr = 'fr',
|
|
902
|
+
Ja = 'ja',
|
|
903
|
+
Ru = 'ru',
|
|
904
|
+
Zh = 'zh',
|
|
905
|
+
Ko = 'ko',
|
|
906
|
+
Es = 'es'
|
|
907
|
+
}
|