Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

satellite-api-react-flight-tracker-axios

Package Overview
Dependencies
Maintainers
0
Versions
6
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

satellite-api-react-flight-tracker-axios - npm Package Compare versions

Comparing version 1.0.3 to 1.0.4

71

api.ts

@@ -69,2 +69,15 @@ /* tslint:disable */

* @export
* @interface V1GetSatelliteGroupsResponse
*/
export interface V1GetSatelliteGroupsResponse {
/**
*
* @type {Array<string>}
* @memberof V1GetSatelliteGroupsResponse
*/
'groups'?: Array<string>;
}
/**
*
* @export
* @interface V1GetSatellitePositionsResponse

@@ -418,2 +431,31 @@ */

*
* @param {*} [options] Override http request option.
* @throws {RequiredError}
*/
satelliteServiceGetSatelliteGroups: async (options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
const localVarPath = `/v1/satellite/groups`;
// use dummy base URL string because the URL constructor only accepts absolute URLs.
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
let baseOptions;
if (configuration) {
baseOptions = configuration.baseOptions;
}
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
const localVarHeaderParameter = {} as any;
const localVarQueryParameter = {} as any;
setSearchParams(localVarUrlObj, localVarQueryParameter);
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
return {
url: toPathString(localVarUrlObj),
options: localVarRequestOptions,
};
},
/**
*
* @param {string} [time]

@@ -482,2 +524,13 @@ * @param {Array<string>} [groups]

*
* @param {*} [options] Override http request option.
* @throws {RequiredError}
*/
async satelliteServiceGetSatelliteGroups(options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<V1GetSatelliteGroupsResponse>> {
const localVarAxiosArgs = await localVarAxiosParamCreator.satelliteServiceGetSatelliteGroups(options);
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
const localVarOperationServerBasePath = operationServerMap['SatelliteServiceApi.satelliteServiceGetSatelliteGroups']?.[localVarOperationServerIndex]?.url;
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
},
/**
*
* @param {string} [time]

@@ -515,2 +568,10 @@ * @param {Array<string>} [groups]

*
* @param {*} [options] Override http request option.
* @throws {RequiredError}
*/
satelliteServiceGetSatelliteGroups(options?: any): AxiosPromise<V1GetSatelliteGroupsResponse> {
return localVarFp.satelliteServiceGetSatelliteGroups(options).then((request) => request(axios, basePath));
},
/**
*
* @param {string} [time]

@@ -547,2 +608,12 @@ * @param {Array<string>} [groups]

*
* @param {*} [options] Override http request option.
* @throws {RequiredError}
* @memberof SatelliteServiceApi
*/
public satelliteServiceGetSatelliteGroups(options?: RawAxiosRequestConfig) {
return SatelliteServiceApiFp(this.configuration).satelliteServiceGetSatelliteGroups(options).then((request) => request(this.axios, this.basePath));
}
/**
*
* @param {string} [time]

@@ -549,0 +620,0 @@ * @param {Array<string>} [groups]

@@ -58,2 +58,15 @@ /**

* @export
* @interface V1GetSatelliteGroupsResponse
*/
export interface V1GetSatelliteGroupsResponse {
/**
*
* @type {Array<string>}
* @memberof V1GetSatelliteGroupsResponse
*/
'groups'?: Array<string>;
}
/**
*
* @export
* @interface V1GetSatellitePositionsResponse

@@ -379,2 +392,8 @@ */

*
* @param {*} [options] Override http request option.
* @throws {RequiredError}
*/
satelliteServiceGetSatelliteGroups: (options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
/**
*
* @param {string} [time]

@@ -401,2 +420,8 @@ * @param {Array<string>} [groups]

*
* @param {*} [options] Override http request option.
* @throws {RequiredError}
*/
satelliteServiceGetSatelliteGroups(options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<V1GetSatelliteGroupsResponse>>;
/**
*
* @param {string} [time]

@@ -423,2 +448,8 @@ * @param {Array<string>} [groups]

*
* @param {*} [options] Override http request option.
* @throws {RequiredError}
*/
satelliteServiceGetSatelliteGroups(options?: any): AxiosPromise<V1GetSatelliteGroupsResponse>;
/**
*
* @param {string} [time]

@@ -448,2 +479,9 @@ * @param {Array<string>} [groups]

*
* @param {*} [options] Override http request option.
* @throws {RequiredError}
* @memberof SatelliteServiceApi
*/
satelliteServiceGetSatelliteGroups(options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<V1GetSatelliteGroupsResponse, any>>;
/**
*
* @param {string} [time]

@@ -450,0 +488,0 @@ * @param {Array<string>} [groups]

@@ -139,2 +139,34 @@ "use strict";

*
* @param {*} [options] Override http request option.
* @throws {RequiredError}
*/
satelliteServiceGetSatelliteGroups: function () {
var args_1 = [];
for (var _i = 0; _i < arguments.length; _i++) {
args_1[_i] = arguments[_i];
}
return __awaiter(_this, __spreadArray([], args_1, true), void 0, function (options) {
var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
if (options === void 0) { options = {}; }
return __generator(this, function (_a) {
localVarPath = "/v1/satellite/groups";
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
if (configuration) {
baseOptions = configuration.baseOptions;
}
localVarRequestOptions = __assign(__assign({ method: 'GET' }, baseOptions), options);
localVarHeaderParameter = {};
localVarQueryParameter = {};
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
return [2 /*return*/, {
url: (0, common_1.toPathString)(localVarUrlObj),
options: localVarRequestOptions,
}];
});
});
},
/**
*
* @param {string} [time]

@@ -214,2 +246,23 @@ * @param {Array<string>} [groups]

*
* @param {*} [options] Override http request option.
* @throws {RequiredError}
*/
satelliteServiceGetSatelliteGroups: function (options) {
return __awaiter(this, void 0, void 0, function () {
var localVarAxiosArgs, localVarOperationServerIndex, localVarOperationServerBasePath;
var _a, _b, _c;
return __generator(this, function (_d) {
switch (_d.label) {
case 0: return [4 /*yield*/, localVarAxiosParamCreator.satelliteServiceGetSatelliteGroups(options)];
case 1:
localVarAxiosArgs = _d.sent();
localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['SatelliteServiceApi.satelliteServiceGetSatelliteGroups']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
return [2 /*return*/, function (axios, basePath) { return (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath); }];
}
});
});
},
/**
*
* @param {string} [time]

@@ -257,2 +310,10 @@ * @param {Array<string>} [groups]

*
* @param {*} [options] Override http request option.
* @throws {RequiredError}
*/
satelliteServiceGetSatelliteGroups: function (options) {
return localVarFp.satelliteServiceGetSatelliteGroups(options).then(function (request) { return request(axios, basePath); });
},
/**
*
* @param {string} [time]

@@ -293,2 +354,12 @@ * @param {Array<string>} [groups]

*
* @param {*} [options] Override http request option.
* @throws {RequiredError}
* @memberof SatelliteServiceApi
*/
SatelliteServiceApi.prototype.satelliteServiceGetSatelliteGroups = function (options) {
var _this = this;
return (0, exports.SatelliteServiceApiFp)(this.configuration).satelliteServiceGetSatelliteGroups(options).then(function (request) { return request(_this.axios, _this.basePath); });
};
/**
*
* @param {string} [time]

@@ -295,0 +366,0 @@ * @param {Array<string>} [groups]

4

package.json
{
"name": "satellite-api-react-flight-tracker-axios",
"version": "1.0.3",
"version": "1.0.4",
"description": "OpenAPI Axios client for satellite-api-react-flight-tracker",

@@ -25,3 +25,3 @@ "repository": {

"prepare": "npm run build",
"gen": "npx openapi-generator-cli generate -i https://raw.githubusercontent.com/StartUpNationLabs/react-flight-tracker-satellite/develop/gen/openapiv2/proto/satellite/v1/satellite.swagger.json -g typescript-axios --additional-properties=npmName=satellite-api-react-flight-tracker,npmVersion=1.0.3 -o ."
"gen": "npx openapi-generator-cli generate -i https://raw.githubusercontent.com/StartUpNationLabs/react-flight-tracker-satellite/develop/gen/openapiv2/proto/satellite/v1/satellite.swagger.json -g typescript-axios --additional-properties=npmName=satellite-api-react-flight-tracker,npmVersion=1.0.4 -o ."
},

@@ -28,0 +28,0 @@ "dependencies": {

@@ -1,2 +0,2 @@

## satellite-api-react-flight-tracker@1.0.3
## satellite-api-react-flight-tracker@1.0.4

@@ -39,3 +39,3 @@ This generator creates TypeScript/JavaScript client that utilizes [axios](https://github.com/axios/axios). The generated Node module can be used in the following environments:

```
npm install satellite-api-react-flight-tracker@1.0.3 --save
npm install satellite-api-react-flight-tracker@1.0.4 --save
```

@@ -42,0 +42,0 @@

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc