Skip to content

Commit

Permalink
regenerate for 06-03-2023 reset
Browse files Browse the repository at this point in the history
  • Loading branch information
jonchurch committed Jun 3, 2023
1 parent 4a35d70 commit 6138f71
Show file tree
Hide file tree
Showing 13 changed files with 560 additions and 45 deletions.
7 changes: 7 additions & 0 deletions src/.openapi-generator/FILES
Original file line number Diff line number Diff line change
Expand Up @@ -50,6 +50,7 @@ models/get-faction200-response.ts
models/get-factions200-response.ts
models/get-jump-gate200-response.ts
models/get-market200-response.ts
models/get-mounts200-response.ts
models/get-my-agent200-response.ts
models/get-my-ship-cargo200-response.ts
models/get-my-ship200-response.ts
Expand All @@ -70,6 +71,10 @@ models/get-system200-response.ts
models/get-systems200-response.ts
models/get-waypoint200-response.ts
models/index.ts
models/install-mount-request.ts
models/install-mount201-response-data-transaction.ts
models/install-mount201-response-data.ts
models/install-mount201-response.ts
models/jettison-request.ts
models/jettison200-response-data.ts
models/jettison200-response.ts
Expand Down Expand Up @@ -99,6 +104,8 @@ models/refuel-ship200-response.ts
models/register-request.ts
models/register201-response-data.ts
models/register201-response.ts
models/remove-mount-request.ts
models/remove-mount201-response.ts
models/scanned-ship-engine.ts
models/scanned-ship-frame.ts
models/scanned-ship-mounts-inner.ts
Expand Down
8 changes: 0 additions & 8 deletions src/api/default-api.ts
Original file line number Diff line number Diff line change
Expand Up @@ -52,10 +52,6 @@ export const DefaultApiAxiosParamCreator = function (configuration?: Configurati
const localVarHeaderParameter = {} as any;
const localVarQueryParameter = {} as any;

// authentication AgentToken required
// http bearer authentication required
await setBearerAuthToObject(localVarHeaderParameter, configuration)



setSearchParams(localVarUrlObj, localVarQueryParameter);
Expand Down Expand Up @@ -87,10 +83,6 @@ export const DefaultApiAxiosParamCreator = function (configuration?: Configurati
const localVarHeaderParameter = {} as any;
const localVarQueryParameter = {} as any;

// authentication AgentToken required
// http bearer authentication required
await setBearerAuthToObject(localVarHeaderParameter, configuration)



localVarHeaderParameter['Content-Type'] = 'application/json';
Expand Down
289 changes: 289 additions & 0 deletions src/api/fleet-api.ts

Large diffs are not rendered by default.

24 changes: 0 additions & 24 deletions src/api/systems-api.ts
Original file line number Diff line number Diff line change
Expand Up @@ -68,10 +68,6 @@ export const SystemsApiAxiosParamCreator = function (configuration?: Configurati
const localVarHeaderParameter = {} as any;
const localVarQueryParameter = {} as any;

// authentication AgentToken required
// http bearer authentication required
await setBearerAuthToObject(localVarHeaderParameter, configuration)



setSearchParams(localVarUrlObj, localVarQueryParameter);
Expand Down Expand Up @@ -110,10 +106,6 @@ export const SystemsApiAxiosParamCreator = function (configuration?: Configurati
const localVarHeaderParameter = {} as any;
const localVarQueryParameter = {} as any;

// authentication AgentToken required
// http bearer authentication required
await setBearerAuthToObject(localVarHeaderParameter, configuration)



setSearchParams(localVarUrlObj, localVarQueryParameter);
Expand Down Expand Up @@ -152,10 +144,6 @@ export const SystemsApiAxiosParamCreator = function (configuration?: Configurati
const localVarHeaderParameter = {} as any;
const localVarQueryParameter = {} as any;

// authentication AgentToken required
// http bearer authentication required
await setBearerAuthToObject(localVarHeaderParameter, configuration)



setSearchParams(localVarUrlObj, localVarQueryParameter);
Expand Down Expand Up @@ -190,10 +178,6 @@ export const SystemsApiAxiosParamCreator = function (configuration?: Configurati
const localVarHeaderParameter = {} as any;
const localVarQueryParameter = {} as any;

// authentication AgentToken required
// http bearer authentication required
await setBearerAuthToObject(localVarHeaderParameter, configuration)



setSearchParams(localVarUrlObj, localVarQueryParameter);
Expand Down Expand Up @@ -274,10 +258,6 @@ export const SystemsApiAxiosParamCreator = function (configuration?: Configurati
const localVarHeaderParameter = {} as any;
const localVarQueryParameter = {} as any;

// authentication AgentToken required
// http bearer authentication required
await setBearerAuthToObject(localVarHeaderParameter, configuration)

if (page !== undefined) {
localVarQueryParameter['page'] = page;
}
Expand Down Expand Up @@ -324,10 +304,6 @@ export const SystemsApiAxiosParamCreator = function (configuration?: Configurati
const localVarHeaderParameter = {} as any;
const localVarQueryParameter = {} as any;

// authentication AgentToken required
// http bearer authentication required
await setBearerAuthToObject(localVarHeaderParameter, configuration)



setSearchParams(localVarUrlObj, localVarQueryParameter);
Expand Down
33 changes: 33 additions & 0 deletions src/models/get-mounts200-response.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
/* tslint:disable */
/* eslint-disable */
/**
* SpaceTraders API
* SpaceTraders is an open-universe game and learning platform that offers a set of HTTP endpoints to control a fleet of ships and explore a multiplayer universe. The API is documented using [OpenAPI](https://github.com/SpaceTradersAPI/api-docs). You can send your first request right here in your browser to check the status of the game server. ```json http { \"method\": \"GET\", \"url\": \"https://api.spacetraders.io/v2\", } ``` Unlike a traditional game, SpaceTraders does not have a first-party client or app to play the game. Instead, you can use the API to build your own client, write a script to automate your ships, or try an app built by the community. We have a [Discord channel](https://discord.com/invite/jh6zurdWk5) where you can share your projects, ask questions, and get help from other players.
*
* The version of the OpenAPI document: 2.0.0
* Contact: joel@spacetraders.io
*
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
* https://openapi-generator.tech
* Do not edit the class manually.
*/


// May contain unused imports in some cases
// @ts-ignore
import { ShipMount } from './ship-mount';

/**
*
* @export
* @interface GetMounts200Response
*/
export interface GetMounts200Response {
/**
*
* @type {Array<ShipMount>}
* @memberof GetMounts200Response
*/
'data': Array<ShipMount>;
}

7 changes: 7 additions & 0 deletions src/models/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,7 @@ export * from './get-faction200-response';
export * from './get-factions200-response';
export * from './get-jump-gate200-response';
export * from './get-market200-response';
export * from './get-mounts200-response';
export * from './get-my-agent200-response';
export * from './get-my-ship200-response';
export * from './get-my-ship-cargo200-response';
Expand All @@ -55,6 +56,10 @@ export * from './get-system200-response';
export * from './get-system-waypoints200-response';
export * from './get-systems200-response';
export * from './get-waypoint200-response';
export * from './install-mount201-response';
export * from './install-mount201-response-data';
export * from './install-mount201-response-data-transaction';
export * from './install-mount-request';
export * from './jettison200-response';
export * from './jettison200-response-data';
export * from './jettison-request';
Expand Down Expand Up @@ -84,6 +89,8 @@ export * from './refuel-ship200-response-data';
export * from './register201-response';
export * from './register201-response-data';
export * from './register-request';
export * from './remove-mount201-response';
export * from './remove-mount-request';
export * from './scanned-ship';
export * from './scanned-ship-engine';
export * from './scanned-ship-frame';
Expand Down
30 changes: 30 additions & 0 deletions src/models/install-mount-request.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
/* tslint:disable */
/* eslint-disable */
/**
* SpaceTraders API
* SpaceTraders is an open-universe game and learning platform that offers a set of HTTP endpoints to control a fleet of ships and explore a multiplayer universe. The API is documented using [OpenAPI](https://github.com/SpaceTradersAPI/api-docs). You can send your first request right here in your browser to check the status of the game server. ```json http { \"method\": \"GET\", \"url\": \"https://api.spacetraders.io/v2\", } ``` Unlike a traditional game, SpaceTraders does not have a first-party client or app to play the game. Instead, you can use the API to build your own client, write a script to automate your ships, or try an app built by the community. We have a [Discord channel](https://discord.com/invite/jh6zurdWk5) where you can share your projects, ask questions, and get help from other players.
*
* The version of the OpenAPI document: 2.0.0
* Contact: joel@spacetraders.io
*
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
* https://openapi-generator.tech
* Do not edit the class manually.
*/



/**
*
* @export
* @interface InstallMountRequest
*/
export interface InstallMountRequest {
/**
*
* @type {string}
* @memberof InstallMountRequest
*/
'symbol': string;
}

36 changes: 36 additions & 0 deletions src/models/install-mount201-response-data-transaction.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,36 @@
/* tslint:disable */
/* eslint-disable */
/**
* SpaceTraders API
* SpaceTraders is an open-universe game and learning platform that offers a set of HTTP endpoints to control a fleet of ships and explore a multiplayer universe. The API is documented using [OpenAPI](https://github.com/SpaceTradersAPI/api-docs). You can send your first request right here in your browser to check the status of the game server. ```json http { \"method\": \"GET\", \"url\": \"https://api.spacetraders.io/v2\", } ``` Unlike a traditional game, SpaceTraders does not have a first-party client or app to play the game. Instead, you can use the API to build your own client, write a script to automate your ships, or try an app built by the community. We have a [Discord channel](https://discord.com/invite/jh6zurdWk5) where you can share your projects, ask questions, and get help from other players.
*
* The version of the OpenAPI document: 2.0.0
* Contact: joel@spacetraders.io
*
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
* https://openapi-generator.tech
* Do not edit the class manually.
*/



/**
*
* @export
* @interface InstallMount201ResponseDataTransaction
*/
export interface InstallMount201ResponseDataTransaction {
/**
* The total price of the transaction.
* @type {number}
* @memberof InstallMount201ResponseDataTransaction
*/
'totalPrice': number;
/**
* The timestamp of the transaction.
* @type {string}
* @memberof InstallMount201ResponseDataTransaction
*/
'timestamp': string;
}

60 changes: 60 additions & 0 deletions src/models/install-mount201-response-data.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,60 @@
/* tslint:disable */
/* eslint-disable */
/**
* SpaceTraders API
* SpaceTraders is an open-universe game and learning platform that offers a set of HTTP endpoints to control a fleet of ships and explore a multiplayer universe. The API is documented using [OpenAPI](https://github.com/SpaceTradersAPI/api-docs). You can send your first request right here in your browser to check the status of the game server. ```json http { \"method\": \"GET\", \"url\": \"https://api.spacetraders.io/v2\", } ``` Unlike a traditional game, SpaceTraders does not have a first-party client or app to play the game. Instead, you can use the API to build your own client, write a script to automate your ships, or try an app built by the community. We have a [Discord channel](https://discord.com/invite/jh6zurdWk5) where you can share your projects, ask questions, and get help from other players.
*
* The version of the OpenAPI document: 2.0.0
* Contact: joel@spacetraders.io
*
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
* https://openapi-generator.tech
* Do not edit the class manually.
*/


// May contain unused imports in some cases
// @ts-ignore
import { Agent } from './agent';
// May contain unused imports in some cases
// @ts-ignore
import { InstallMount201ResponseDataTransaction } from './install-mount201-response-data-transaction';
// May contain unused imports in some cases
// @ts-ignore
import { ShipCargo } from './ship-cargo';
// May contain unused imports in some cases
// @ts-ignore
import { ShipMount } from './ship-mount';

/**
*
* @export
* @interface InstallMount201ResponseData
*/
export interface InstallMount201ResponseData {
/**
*
* @type {Agent}
* @memberof InstallMount201ResponseData
*/
'agent': Agent;
/**
*
* @type {Array<ShipMount>}
* @memberof InstallMount201ResponseData
*/
'mounts': Array<ShipMount>;
/**
*
* @type {ShipCargo}
* @memberof InstallMount201ResponseData
*/
'cargo': ShipCargo;
/**
*
* @type {InstallMount201ResponseDataTransaction}
* @memberof InstallMount201ResponseData
*/
'transaction': InstallMount201ResponseDataTransaction;
}

33 changes: 33 additions & 0 deletions src/models/install-mount201-response.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
/* tslint:disable */
/* eslint-disable */
/**
* SpaceTraders API
* SpaceTraders is an open-universe game and learning platform that offers a set of HTTP endpoints to control a fleet of ships and explore a multiplayer universe. The API is documented using [OpenAPI](https://github.com/SpaceTradersAPI/api-docs). You can send your first request right here in your browser to check the status of the game server. ```json http { \"method\": \"GET\", \"url\": \"https://api.spacetraders.io/v2\", } ``` Unlike a traditional game, SpaceTraders does not have a first-party client or app to play the game. Instead, you can use the API to build your own client, write a script to automate your ships, or try an app built by the community. We have a [Discord channel](https://discord.com/invite/jh6zurdWk5) where you can share your projects, ask questions, and get help from other players.
*
* The version of the OpenAPI document: 2.0.0
* Contact: joel@spacetraders.io
*
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
* https://openapi-generator.tech
* Do not edit the class manually.
*/


// May contain unused imports in some cases
// @ts-ignore
import { InstallMount201ResponseData } from './install-mount201-response-data';

/**
*
* @export
* @interface InstallMount201Response
*/
export interface InstallMount201Response {
/**
*
* @type {InstallMount201ResponseData}
* @memberof InstallMount201Response
*/
'data': InstallMount201ResponseData;
}

15 changes: 2 additions & 13 deletions src/models/register-request.ts
Original file line number Diff line number Diff line change
Expand Up @@ -22,10 +22,10 @@
export interface RegisterRequest {
/**
* The faction you choose determines your headquarters.
* @type {string}
* @type {any}
* @memberof RegisterRequest
*/
'faction': RegisterRequestFactionEnum;
'faction': any;
/**
* How other agents will see your ships and information.
* @type {string}
Expand All @@ -40,14 +40,3 @@ export interface RegisterRequest {
'email'?: string;
}

export const RegisterRequestFactionEnum = {
Cosmic: 'COSMIC',
Void: 'VOID',
Galactic: 'GALACTIC',
Quantum: 'QUANTUM',
Dominion: 'DOMINION'
} as const;

export type RegisterRequestFactionEnum = typeof RegisterRequestFactionEnum[keyof typeof RegisterRequestFactionEnum];


30 changes: 30 additions & 0 deletions src/models/remove-mount-request.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
/* tslint:disable */
/* eslint-disable */
/**
* SpaceTraders API
* SpaceTraders is an open-universe game and learning platform that offers a set of HTTP endpoints to control a fleet of ships and explore a multiplayer universe. The API is documented using [OpenAPI](https://github.com/SpaceTradersAPI/api-docs). You can send your first request right here in your browser to check the status of the game server. ```json http { \"method\": \"GET\", \"url\": \"https://api.spacetraders.io/v2\", } ``` Unlike a traditional game, SpaceTraders does not have a first-party client or app to play the game. Instead, you can use the API to build your own client, write a script to automate your ships, or try an app built by the community. We have a [Discord channel](https://discord.com/invite/jh6zurdWk5) where you can share your projects, ask questions, and get help from other players.
*
* The version of the OpenAPI document: 2.0.0
* Contact: joel@spacetraders.io
*
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
* https://openapi-generator.tech
* Do not edit the class manually.
*/



/**
*
* @export
* @interface RemoveMountRequest
*/
export interface RemoveMountRequest {
/**
*
* @type {string}
* @memberof RemoveMountRequest
*/
'symbol': string;
}

0 comments on commit 6138f71

Please sign in to comment.