UNPKG

@cotofe/service-of-oms

Version:

OpenAPI client for @cotofe/service-of-oms

1,373 lines (1,372 loc) 154 kB
"use strict"; /** * Platform * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) * * The version of the OpenAPI document: 1.0.0 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech * Do not edit the class manually. */ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) { function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); } return new (P || (P = Promise))(function (resolve, reject) { function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } } function rejected(value) { try { step(generator["throw"](value)); } catch (e) { reject(e); } } function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); } step((generator = generator.apply(thisArg, _arguments || [])).next()); }); }; Object.defineProperty(exports, "__esModule", { value: true }); exports.EdgeApi = void 0; const runtime = require("../runtime"); /** * */ class EdgeApi extends runtime.BaseAPI { /** * getDeviceGrowthData * getDeviceGrowthData */ getDeviceGrowthDataUsingDELETERaw(initOverrides) { return __awaiter(this, void 0, void 0, function* () { const queryParameters = {}; const headerParameters = {}; if (this.configuration && this.configuration.apiKey) { headerParameters.authorization = yield this.configuration.apiKey('authorization'); // apikey-header-authorization authentication } const response = yield this.request({ path: `/api/v1/edge/getDeviceGrowthData`, method: 'DELETE', headers: headerParameters, query: queryParameters, }, initOverrides); return new runtime.JSONApiResponse(response); }); } /** * getDeviceGrowthData * getDeviceGrowthData */ getDeviceGrowthDataUsingDELETE(initOverrides) { return __awaiter(this, void 0, void 0, function* () { const response = yield this.getDeviceGrowthDataUsingDELETERaw(initOverrides); return yield response.value(); }); } /** * getDeviceGrowthData * getDeviceGrowthData */ getDeviceGrowthDataUsingGETRaw(initOverrides) { return __awaiter(this, void 0, void 0, function* () { const queryParameters = {}; const headerParameters = {}; if (this.configuration && this.configuration.apiKey) { headerParameters.authorization = yield this.configuration.apiKey('authorization'); // apikey-header-authorization authentication } const response = yield this.request({ path: `/api/v1/edge/getDeviceGrowthData`, method: 'GET', headers: headerParameters, query: queryParameters, }, initOverrides); return new runtime.JSONApiResponse(response); }); } /** * getDeviceGrowthData * getDeviceGrowthData */ getDeviceGrowthDataUsingGET(initOverrides) { return __awaiter(this, void 0, void 0, function* () { const response = yield this.getDeviceGrowthDataUsingGETRaw(initOverrides); return yield response.value(); }); } /** * getDeviceGrowthData * getDeviceGrowthData */ getDeviceGrowthDataUsingHEADRaw(initOverrides) { return __awaiter(this, void 0, void 0, function* () { const queryParameters = {}; const headerParameters = {}; if (this.configuration && this.configuration.apiKey) { headerParameters.authorization = yield this.configuration.apiKey('authorization'); // apikey-header-authorization authentication } const response = yield this.request({ path: `/api/v1/edge/getDeviceGrowthData`, method: 'HEAD', headers: headerParameters, query: queryParameters, }, initOverrides); return new runtime.JSONApiResponse(response); }); } /** * getDeviceGrowthData * getDeviceGrowthData */ getDeviceGrowthDataUsingHEAD(initOverrides) { return __awaiter(this, void 0, void 0, function* () { const response = yield this.getDeviceGrowthDataUsingHEADRaw(initOverrides); return yield response.value(); }); } /** * getDeviceGrowthData * getDeviceGrowthData */ getDeviceGrowthDataUsingOPTIONSRaw(initOverrides) { return __awaiter(this, void 0, void 0, function* () { const queryParameters = {}; const headerParameters = {}; if (this.configuration && this.configuration.apiKey) { headerParameters.authorization = yield this.configuration.apiKey('authorization'); // apikey-header-authorization authentication } const response = yield this.request({ path: `/api/v1/edge/getDeviceGrowthData`, method: 'OPTIONS', headers: headerParameters, query: queryParameters, }, initOverrides); return new runtime.JSONApiResponse(response); }); } /** * getDeviceGrowthData * getDeviceGrowthData */ getDeviceGrowthDataUsingOPTIONS(initOverrides) { return __awaiter(this, void 0, void 0, function* () { const response = yield this.getDeviceGrowthDataUsingOPTIONSRaw(initOverrides); return yield response.value(); }); } /** * getDeviceGrowthData * getDeviceGrowthData */ getDeviceGrowthDataUsingPATCHRaw(initOverrides) { return __awaiter(this, void 0, void 0, function* () { const queryParameters = {}; const headerParameters = {}; if (this.configuration && this.configuration.apiKey) { headerParameters.authorization = yield this.configuration.apiKey('authorization'); // apikey-header-authorization authentication } const response = yield this.request({ path: `/api/v1/edge/getDeviceGrowthData`, method: 'PATCH', headers: headerParameters, query: queryParameters, }, initOverrides); return new runtime.JSONApiResponse(response); }); } /** * getDeviceGrowthData * getDeviceGrowthData */ getDeviceGrowthDataUsingPATCH(initOverrides) { return __awaiter(this, void 0, void 0, function* () { const response = yield this.getDeviceGrowthDataUsingPATCHRaw(initOverrides); return yield response.value(); }); } /** * getDeviceGrowthData * getDeviceGrowthData */ getDeviceGrowthDataUsingPOSTRaw(initOverrides) { return __awaiter(this, void 0, void 0, function* () { const queryParameters = {}; const headerParameters = {}; if (this.configuration && this.configuration.apiKey) { headerParameters.authorization = yield this.configuration.apiKey('authorization'); // apikey-header-authorization authentication } const response = yield this.request({ path: `/api/v1/edge/getDeviceGrowthData`, method: 'POST', headers: headerParameters, query: queryParameters, }, initOverrides); return new runtime.JSONApiResponse(response); }); } /** * getDeviceGrowthData * getDeviceGrowthData */ getDeviceGrowthDataUsingPOST(initOverrides) { return __awaiter(this, void 0, void 0, function* () { const response = yield this.getDeviceGrowthDataUsingPOSTRaw(initOverrides); return yield response.value(); }); } /** * getDeviceGrowthData * getDeviceGrowthData */ getDeviceGrowthDataUsingPUTRaw(initOverrides) { return __awaiter(this, void 0, void 0, function* () { const queryParameters = {}; const headerParameters = {}; if (this.configuration && this.configuration.apiKey) { headerParameters.authorization = yield this.configuration.apiKey('authorization'); // apikey-header-authorization authentication } const response = yield this.request({ path: `/api/v1/edge/getDeviceGrowthData`, method: 'PUT', headers: headerParameters, query: queryParameters, }, initOverrides); return new runtime.JSONApiResponse(response); }); } /** * getDeviceGrowthData * getDeviceGrowthData */ getDeviceGrowthDataUsingPUT(initOverrides) { return __awaiter(this, void 0, void 0, function* () { const response = yield this.getDeviceGrowthDataUsingPUTRaw(initOverrides); return yield response.value(); }); } /** * getEdgeCount * getEdgeCount */ getEdgeCountUsingDELETERaw(initOverrides) { return __awaiter(this, void 0, void 0, function* () { const queryParameters = {}; const headerParameters = {}; if (this.configuration && this.configuration.apiKey) { headerParameters.authorization = yield this.configuration.apiKey('authorization'); // apikey-header-authorization authentication } const response = yield this.request({ path: `/api/v1/edge/getEdgeCount`, method: 'DELETE', headers: headerParameters, query: queryParameters, }, initOverrides); return new runtime.JSONApiResponse(response); }); } /** * getEdgeCount * getEdgeCount */ getEdgeCountUsingDELETE(initOverrides) { return __awaiter(this, void 0, void 0, function* () { const response = yield this.getEdgeCountUsingDELETERaw(initOverrides); return yield response.value(); }); } /** * getEdgeCount * getEdgeCount */ getEdgeCountUsingGETRaw(initOverrides) { return __awaiter(this, void 0, void 0, function* () { const queryParameters = {}; const headerParameters = {}; if (this.configuration && this.configuration.apiKey) { headerParameters.authorization = yield this.configuration.apiKey('authorization'); // apikey-header-authorization authentication } const response = yield this.request({ path: `/api/v1/edge/getEdgeCount`, method: 'GET', headers: headerParameters, query: queryParameters, }, initOverrides); return new runtime.JSONApiResponse(response); }); } /** * getEdgeCount * getEdgeCount */ getEdgeCountUsingGET(initOverrides) { return __awaiter(this, void 0, void 0, function* () { const response = yield this.getEdgeCountUsingGETRaw(initOverrides); return yield response.value(); }); } /** * getEdgeCount * getEdgeCount */ getEdgeCountUsingHEADRaw(initOverrides) { return __awaiter(this, void 0, void 0, function* () { const queryParameters = {}; const headerParameters = {}; if (this.configuration && this.configuration.apiKey) { headerParameters.authorization = yield this.configuration.apiKey('authorization'); // apikey-header-authorization authentication } const response = yield this.request({ path: `/api/v1/edge/getEdgeCount`, method: 'HEAD', headers: headerParameters, query: queryParameters, }, initOverrides); return new runtime.JSONApiResponse(response); }); } /** * getEdgeCount * getEdgeCount */ getEdgeCountUsingHEAD(initOverrides) { return __awaiter(this, void 0, void 0, function* () { const response = yield this.getEdgeCountUsingHEADRaw(initOverrides); return yield response.value(); }); } /** * getEdgeCount * getEdgeCount */ getEdgeCountUsingOPTIONSRaw(initOverrides) { return __awaiter(this, void 0, void 0, function* () { const queryParameters = {}; const headerParameters = {}; if (this.configuration && this.configuration.apiKey) { headerParameters.authorization = yield this.configuration.apiKey('authorization'); // apikey-header-authorization authentication } const response = yield this.request({ path: `/api/v1/edge/getEdgeCount`, method: 'OPTIONS', headers: headerParameters, query: queryParameters, }, initOverrides); return new runtime.JSONApiResponse(response); }); } /** * getEdgeCount * getEdgeCount */ getEdgeCountUsingOPTIONS(initOverrides) { return __awaiter(this, void 0, void 0, function* () { const response = yield this.getEdgeCountUsingOPTIONSRaw(initOverrides); return yield response.value(); }); } /** * getEdgeCount * getEdgeCount */ getEdgeCountUsingPATCHRaw(initOverrides) { return __awaiter(this, void 0, void 0, function* () { const queryParameters = {}; const headerParameters = {}; if (this.configuration && this.configuration.apiKey) { headerParameters.authorization = yield this.configuration.apiKey('authorization'); // apikey-header-authorization authentication } const response = yield this.request({ path: `/api/v1/edge/getEdgeCount`, method: 'PATCH', headers: headerParameters, query: queryParameters, }, initOverrides); return new runtime.JSONApiResponse(response); }); } /** * getEdgeCount * getEdgeCount */ getEdgeCountUsingPATCH(initOverrides) { return __awaiter(this, void 0, void 0, function* () { const response = yield this.getEdgeCountUsingPATCHRaw(initOverrides); return yield response.value(); }); } /** * getEdgeCount * getEdgeCount */ getEdgeCountUsingPOSTRaw(initOverrides) { return __awaiter(this, void 0, void 0, function* () { const queryParameters = {}; const headerParameters = {}; if (this.configuration && this.configuration.apiKey) { headerParameters.authorization = yield this.configuration.apiKey('authorization'); // apikey-header-authorization authentication } const response = yield this.request({ path: `/api/v1/edge/getEdgeCount`, method: 'POST', headers: headerParameters, query: queryParameters, }, initOverrides); return new runtime.JSONApiResponse(response); }); } /** * getEdgeCount * getEdgeCount */ getEdgeCountUsingPOST(initOverrides) { return __awaiter(this, void 0, void 0, function* () { const response = yield this.getEdgeCountUsingPOSTRaw(initOverrides); return yield response.value(); }); } /** * getEdgeCount * getEdgeCount */ getEdgeCountUsingPUTRaw(initOverrides) { return __awaiter(this, void 0, void 0, function* () { const queryParameters = {}; const headerParameters = {}; if (this.configuration && this.configuration.apiKey) { headerParameters.authorization = yield this.configuration.apiKey('authorization'); // apikey-header-authorization authentication } const response = yield this.request({ path: `/api/v1/edge/getEdgeCount`, method: 'PUT', headers: headerParameters, query: queryParameters, }, initOverrides); return new runtime.JSONApiResponse(response); }); } /** * getEdgeCount * getEdgeCount */ getEdgeCountUsingPUT(initOverrides) { return __awaiter(this, void 0, void 0, function* () { const response = yield this.getEdgeCountUsingPUTRaw(initOverrides); return yield response.value(); }); } /** * getEdgeData * getEdgeData */ getEdgeDataUsingDELETERaw(initOverrides) { return __awaiter(this, void 0, void 0, function* () { const queryParameters = {}; const headerParameters = {}; if (this.configuration && this.configuration.apiKey) { headerParameters.authorization = yield this.configuration.apiKey('authorization'); // apikey-header-authorization authentication } const response = yield this.request({ path: `/api/v1/edge/getEdgeData`, method: 'DELETE', headers: headerParameters, query: queryParameters, }, initOverrides); return new runtime.JSONApiResponse(response); }); } /** * getEdgeData * getEdgeData */ getEdgeDataUsingDELETE(initOverrides) { return __awaiter(this, void 0, void 0, function* () { const response = yield this.getEdgeDataUsingDELETERaw(initOverrides); return yield response.value(); }); } /** * getEdgeData * getEdgeData */ getEdgeDataUsingGETRaw(initOverrides) { return __awaiter(this, void 0, void 0, function* () { const queryParameters = {}; const headerParameters = {}; if (this.configuration && this.configuration.apiKey) { headerParameters.authorization = yield this.configuration.apiKey('authorization'); // apikey-header-authorization authentication } const response = yield this.request({ path: `/api/v1/edge/getEdgeData`, method: 'GET', headers: headerParameters, query: queryParameters, }, initOverrides); return new runtime.JSONApiResponse(response); }); } /** * getEdgeData * getEdgeData */ getEdgeDataUsingGET(initOverrides) { return __awaiter(this, void 0, void 0, function* () { const response = yield this.getEdgeDataUsingGETRaw(initOverrides); return yield response.value(); }); } /** * getEdgeData * getEdgeData */ getEdgeDataUsingHEADRaw(initOverrides) { return __awaiter(this, void 0, void 0, function* () { const queryParameters = {}; const headerParameters = {}; if (this.configuration && this.configuration.apiKey) { headerParameters.authorization = yield this.configuration.apiKey('authorization'); // apikey-header-authorization authentication } const response = yield this.request({ path: `/api/v1/edge/getEdgeData`, method: 'HEAD', headers: headerParameters, query: queryParameters, }, initOverrides); return new runtime.JSONApiResponse(response); }); } /** * getEdgeData * getEdgeData */ getEdgeDataUsingHEAD(initOverrides) { return __awaiter(this, void 0, void 0, function* () { const response = yield this.getEdgeDataUsingHEADRaw(initOverrides); return yield response.value(); }); } /** * getEdgeData * getEdgeData */ getEdgeDataUsingOPTIONSRaw(initOverrides) { return __awaiter(this, void 0, void 0, function* () { const queryParameters = {}; const headerParameters = {}; if (this.configuration && this.configuration.apiKey) { headerParameters.authorization = yield this.configuration.apiKey('authorization'); // apikey-header-authorization authentication } const response = yield this.request({ path: `/api/v1/edge/getEdgeData`, method: 'OPTIONS', headers: headerParameters, query: queryParameters, }, initOverrides); return new runtime.JSONApiResponse(response); }); } /** * getEdgeData * getEdgeData */ getEdgeDataUsingOPTIONS(initOverrides) { return __awaiter(this, void 0, void 0, function* () { const response = yield this.getEdgeDataUsingOPTIONSRaw(initOverrides); return yield response.value(); }); } /** * getEdgeData * getEdgeData */ getEdgeDataUsingPATCHRaw(initOverrides) { return __awaiter(this, void 0, void 0, function* () { const queryParameters = {}; const headerParameters = {}; if (this.configuration && this.configuration.apiKey) { headerParameters.authorization = yield this.configuration.apiKey('authorization'); // apikey-header-authorization authentication } const response = yield this.request({ path: `/api/v1/edge/getEdgeData`, method: 'PATCH', headers: headerParameters, query: queryParameters, }, initOverrides); return new runtime.JSONApiResponse(response); }); } /** * getEdgeData * getEdgeData */ getEdgeDataUsingPATCH(initOverrides) { return __awaiter(this, void 0, void 0, function* () { const response = yield this.getEdgeDataUsingPATCHRaw(initOverrides); return yield response.value(); }); } /** * getEdgeData * getEdgeData */ getEdgeDataUsingPOSTRaw(initOverrides) { return __awaiter(this, void 0, void 0, function* () { const queryParameters = {}; const headerParameters = {}; if (this.configuration && this.configuration.apiKey) { headerParameters.authorization = yield this.configuration.apiKey('authorization'); // apikey-header-authorization authentication } const response = yield this.request({ path: `/api/v1/edge/getEdgeData`, method: 'POST', headers: headerParameters, query: queryParameters, }, initOverrides); return new runtime.JSONApiResponse(response); }); } /** * getEdgeData * getEdgeData */ getEdgeDataUsingPOST(initOverrides) { return __awaiter(this, void 0, void 0, function* () { const response = yield this.getEdgeDataUsingPOSTRaw(initOverrides); return yield response.value(); }); } /** * getEdgeData * getEdgeData */ getEdgeDataUsingPUTRaw(initOverrides) { return __awaiter(this, void 0, void 0, function* () { const queryParameters = {}; const headerParameters = {}; if (this.configuration && this.configuration.apiKey) { headerParameters.authorization = yield this.configuration.apiKey('authorization'); // apikey-header-authorization authentication } const response = yield this.request({ path: `/api/v1/edge/getEdgeData`, method: 'PUT', headers: headerParameters, query: queryParameters, }, initOverrides); return new runtime.JSONApiResponse(response); }); } /** * getEdgeData * getEdgeData */ getEdgeDataUsingPUT(initOverrides) { return __awaiter(this, void 0, void 0, function* () { const response = yield this.getEdgeDataUsingPUTRaw(initOverrides); return yield response.value(); }); } /** * getEdgesData * getEdgesTimeData */ getEdgesDataUsingDELETERaw(initOverrides) { return __awaiter(this, void 0, void 0, function* () { const queryParameters = {}; const headerParameters = {}; if (this.configuration && this.configuration.apiKey) { headerParameters.authorization = yield this.configuration.apiKey('authorization'); // apikey-header-authorization authentication } const response = yield this.request({ path: `/api/v1/edge/getEdgesTimeData`, method: 'DELETE', headers: headerParameters, query: queryParameters, }, initOverrides); return new runtime.JSONApiResponse(response); }); } /** * getEdgesData * getEdgesTimeData */ getEdgesDataUsingDELETE(initOverrides) { return __awaiter(this, void 0, void 0, function* () { const response = yield this.getEdgesDataUsingDELETERaw(initOverrides); return yield response.value(); }); } /** * getEdgesData * getEdgesTimeData */ getEdgesDataUsingGETRaw(initOverrides) { return __awaiter(this, void 0, void 0, function* () { const queryParameters = {}; const headerParameters = {}; if (this.configuration && this.configuration.apiKey) { headerParameters.authorization = yield this.configuration.apiKey('authorization'); // apikey-header-authorization authentication } const response = yield this.request({ path: `/api/v1/edge/getEdgesTimeData`, method: 'GET', headers: headerParameters, query: queryParameters, }, initOverrides); return new runtime.JSONApiResponse(response); }); } /** * getEdgesData * getEdgesTimeData */ getEdgesDataUsingGET(initOverrides) { return __awaiter(this, void 0, void 0, function* () { const response = yield this.getEdgesDataUsingGETRaw(initOverrides); return yield response.value(); }); } /** * getEdgesData * getEdgesTimeData */ getEdgesDataUsingHEADRaw(initOverrides) { return __awaiter(this, void 0, void 0, function* () { const queryParameters = {}; const headerParameters = {}; if (this.configuration && this.configuration.apiKey) { headerParameters.authorization = yield this.configuration.apiKey('authorization'); // apikey-header-authorization authentication } const response = yield this.request({ path: `/api/v1/edge/getEdgesTimeData`, method: 'HEAD', headers: headerParameters, query: queryParameters, }, initOverrides); return new runtime.JSONApiResponse(response); }); } /** * getEdgesData * getEdgesTimeData */ getEdgesDataUsingHEAD(initOverrides) { return __awaiter(this, void 0, void 0, function* () { const response = yield this.getEdgesDataUsingHEADRaw(initOverrides); return yield response.value(); }); } /** * getEdgesData * getEdgesTimeData */ getEdgesDataUsingOPTIONSRaw(initOverrides) { return __awaiter(this, void 0, void 0, function* () { const queryParameters = {}; const headerParameters = {}; if (this.configuration && this.configuration.apiKey) { headerParameters.authorization = yield this.configuration.apiKey('authorization'); // apikey-header-authorization authentication } const response = yield this.request({ path: `/api/v1/edge/getEdgesTimeData`, method: 'OPTIONS', headers: headerParameters, query: queryParameters, }, initOverrides); return new runtime.JSONApiResponse(response); }); } /** * getEdgesData * getEdgesTimeData */ getEdgesDataUsingOPTIONS(initOverrides) { return __awaiter(this, void 0, void 0, function* () { const response = yield this.getEdgesDataUsingOPTIONSRaw(initOverrides); return yield response.value(); }); } /** * getEdgesData * getEdgesTimeData */ getEdgesDataUsingPATCHRaw(initOverrides) { return __awaiter(this, void 0, void 0, function* () { const queryParameters = {}; const headerParameters = {}; if (this.configuration && this.configuration.apiKey) { headerParameters.authorization = yield this.configuration.apiKey('authorization'); // apikey-header-authorization authentication } const response = yield this.request({ path: `/api/v1/edge/getEdgesTimeData`, method: 'PATCH', headers: headerParameters, query: queryParameters, }, initOverrides); return new runtime.JSONApiResponse(response); }); } /** * getEdgesData * getEdgesTimeData */ getEdgesDataUsingPATCH(initOverrides) { return __awaiter(this, void 0, void 0, function* () { const response = yield this.getEdgesDataUsingPATCHRaw(initOverrides); return yield response.value(); }); } /** * getEdgesData * getEdgesTimeData */ getEdgesDataUsingPOSTRaw(initOverrides) { return __awaiter(this, void 0, void 0, function* () { const queryParameters = {}; const headerParameters = {}; if (this.configuration && this.configuration.apiKey) { headerParameters.authorization = yield this.configuration.apiKey('authorization'); // apikey-header-authorization authentication } const response = yield this.request({ path: `/api/v1/edge/getEdgesTimeData`, method: 'POST', headers: headerParameters, query: queryParameters, }, initOverrides); return new runtime.JSONApiResponse(response); }); } /** * getEdgesData * getEdgesTimeData */ getEdgesDataUsingPOST(initOverrides) { return __awaiter(this, void 0, void 0, function* () { const response = yield this.getEdgesDataUsingPOSTRaw(initOverrides); return yield response.value(); }); } /** * getEdgesData * getEdgesTimeData */ getEdgesDataUsingPUTRaw(initOverrides) { return __awaiter(this, void 0, void 0, function* () { const queryParameters = {}; const headerParameters = {}; if (this.configuration && this.configuration.apiKey) { headerParameters.authorization = yield this.configuration.apiKey('authorization'); // apikey-header-authorization authentication } const response = yield this.request({ path: `/api/v1/edge/getEdgesTimeData`, method: 'PUT', headers: headerParameters, query: queryParameters, }, initOverrides); return new runtime.JSONApiResponse(response); }); } /** * getEdgesData * getEdgesTimeData */ getEdgesDataUsingPUT(initOverrides) { return __awaiter(this, void 0, void 0, function* () { const response = yield this.getEdgesDataUsingPUTRaw(initOverrides); return yield response.value(); }); } /** * getIpData * getIpData */ getIpDataUsingDELETERaw(initOverrides) { return __awaiter(this, void 0, void 0, function* () { const queryParameters = {}; const headerParameters = {}; if (this.configuration && this.configuration.apiKey) { headerParameters.authorization = yield this.configuration.apiKey('authorization'); // apikey-header-authorization authentication } const response = yield this.request({ path: `/api/v1/edge/getIpData`, method: 'DELETE', headers: headerParameters, query: queryParameters, }, initOverrides); return new runtime.JSONApiResponse(response); }); } /** * getIpData * getIpData */ getIpDataUsingDELETE(initOverrides) { return __awaiter(this, void 0, void 0, function* () { const response = yield this.getIpDataUsingDELETERaw(initOverrides); return yield response.value(); }); } /** * getIpData * getIpData */ getIpDataUsingGET1Raw(initOverrides) { return __awaiter(this, void 0, void 0, function* () { const queryParameters = {}; const headerParameters = {}; if (this.configuration && this.configuration.apiKey) { headerParameters.authorization = yield this.configuration.apiKey('authorization'); // apikey-header-authorization authentication } const response = yield this.request({ path: `/api/v1/edge/getIpData`, method: 'GET', headers: headerParameters, query: queryParameters, }, initOverrides); return new runtime.JSONApiResponse(response); }); } /** * getIpData * getIpData */ getIpDataUsingGET1(initOverrides) { return __awaiter(this, void 0, void 0, function* () { const response = yield this.getIpDataUsingGET1Raw(initOverrides); return yield response.value(); }); } /** * getIpData * getIpData */ getIpDataUsingHEADRaw(initOverrides) { return __awaiter(this, void 0, void 0, function* () { const queryParameters = {}; const headerParameters = {}; if (this.configuration && this.configuration.apiKey) { headerParameters.authorization = yield this.configuration.apiKey('authorization'); // apikey-header-authorization authentication } const response = yield this.request({ path: `/api/v1/edge/getIpData`, method: 'HEAD', headers: headerParameters, query: queryParameters, }, initOverrides); return new runtime.JSONApiResponse(response); }); } /** * getIpData * getIpData */ getIpDataUsingHEAD(initOverrides) { return __awaiter(this, void 0, void 0, function* () { const response = yield this.getIpDataUsingHEADRaw(initOverrides); return yield response.value(); }); } /** * getIpData * getIpData */ getIpDataUsingOPTIONSRaw(initOverrides) { return __awaiter(this, void 0, void 0, function* () { const queryParameters = {}; const headerParameters = {}; if (this.configuration && this.configuration.apiKey) { headerParameters.authorization = yield this.configuration.apiKey('authorization'); // apikey-header-authorization authentication } const response = yield this.request({ path: `/api/v1/edge/getIpData`, method: 'OPTIONS', headers: headerParameters, query: queryParameters, }, initOverrides); return new runtime.JSONApiResponse(response); }); } /** * getIpData * getIpData */ getIpDataUsingOPTIONS(initOverrides) { return __awaiter(this, void 0, void 0, function* () { const response = yield this.getIpDataUsingOPTIONSRaw(initOverrides); return yield response.value(); }); } /** * getIpData * getIpData */ getIpDataUsingPATCHRaw(initOverrides) { return __awaiter(this, void 0, void 0, function* () { const queryParameters = {}; const headerParameters = {}; if (this.configuration && this.configuration.apiKey) { headerParameters.authorization = yield this.configuration.apiKey('authorization'); // apikey-header-authorization authentication } const response = yield this.request({ path: `/api/v1/edge/getIpData`, method: 'PATCH', headers: headerParameters, query: queryParameters, }, initOverrides); return new runtime.JSONApiResponse(response); }); } /** * getIpData * getIpData */ getIpDataUsingPATCH(initOverrides) { return __awaiter(this, void 0, void 0, function* () { const response = yield this.getIpDataUsingPATCHRaw(initOverrides); return yield response.value(); }); } /** * getIpData * getIpData */ getIpDataUsingPOSTRaw(initOverrides) { return __awaiter(this, void 0, void 0, function* () { const queryParameters = {}; const headerParameters = {}; if (this.configuration && this.configuration.apiKey) { headerParameters.authorization = yield this.configuration.apiKey('authorization'); // apikey-header-authorization authentication } const response = yield this.request({ path: `/api/v1/edge/getIpData`, method: 'POST', headers: headerParameters, query: queryParameters, }, initOverrides); return new runtime.JSONApiResponse(response); }); } /** * getIpData * getIpData */ getIpDataUsingPOST(initOverrides) { return __awaiter(this, void 0, void 0, function* () { const response = yield this.getIpDataUsingPOSTRaw(initOverrides); return yield response.value(); }); } /** * getIpData * getIpData */ getIpDataUsingPUTRaw(initOverrides) { return __awaiter(this, void 0, void 0, function* () { const queryParameters = {}; const headerParameters = {}; if (this.configuration && this.configuration.apiKey) { headerParameters.authorization = yield this.configuration.apiKey('authorization'); // apikey-header-authorization authentication } const response = yield this.request({ path: `/api/v1/edge/getIpData`, method: 'PUT', headers: headerParameters, query: queryParameters, }, initOverrides); return new runtime.JSONApiResponse(response); }); } /** * getIpData * getIpData */ getIpDataUsingPUT(initOverrides) { return __awaiter(this, void 0, void 0, function* () { const response = yield this.getIpDataUsingPUTRaw(initOverrides); return yield response.value(); }); } /** * getRunData * getRunData */ getRunDataUsingDELETERaw(initOverrides) { return __awaiter(this, void 0, void 0, function* () { const queryParameters = {}; const headerParameters = {}; if (this.configuration && this.configuration.apiKey) { headerParameters.authorization = yield this.configuration.apiKey('authorization'); // apikey-header-authorization authentication } const response = yield this.request({ path: `/api/v1/edge/getRunData`, method: 'DELETE', headers: headerParameters, query: queryParameters, }, initOverrides); return new runtime.JSONApiResponse(response); }); } /** * getRunData * getRunData */ getRunDataUsingDELETE(initOverrides) { return __awaiter(this, void 0, void 0, function* () { const response = yield this.getRunDataUsingDELETERaw(initOverrides); return yield response.value(); }); } /** * getRunData * getRunData */ getRunDataUsingGETRaw(initOverrides) { return __awaiter(this, void 0, void 0, function* () { const queryParameters = {}; const headerParameters = {}; if (this.configuration && this.configuration.apiKey) { headerParameters.authorization = yield this.configuration.apiKey('authorization'); // apikey-header-authorization authentication } const response = yield this.request({ path: `/api/v1/edge/getRunData`, method: 'GET', headers: headerParameters, query: queryParameters, }, initOverrides); return new runtime.JSONApiResponse(response); }); } /** * getRunData * getRunData */ getRunDataUsingGET(initOverrides) { return __awaiter(this, void 0, void 0, function* () { const response = yield this.getRunDataUsingGETRaw(initOverrides); return yield response.value(); }); } /** * getRunData * getRunData */ getRunDataUsingHEADRaw(initOverrides) { return __awaiter(this, void 0, void 0, function* () { const queryParameters = {}; const headerParameters = {}; if (this.configuration && this.configuration.apiKey) { headerParameters.authorization = yield this.configuration.apiKey('authorization'); // apikey-header-authorization authentication } const response = yield this.request({ path: `/api/v1/edge/getRunData`, method: 'HEAD', headers: headerParameters, query: queryParameters, }, initOverrides); return new runtime.JSONApiResponse(response); }); } /** * getRunData * getRunData */ getRunDataUsingHEAD(initOverrides) { return __awaiter(this, void 0, void 0, function* () { const response = yield this.getRunDataUsingHEADRaw(initOverrides); return yield response.value(); }); } /** * getRunData * getRunData */ getRunDataUsingOPTIONSRaw(initOverrides) { return __awaiter(this, void 0, void 0, function* () { const queryParameters = {}; const headerParameters = {}; if (this.configuration && this.configuration.apiKey) { headerParameters.authorization = yield this.configuration.apiKey('authorization'); // apikey-header-authorization authentication } const response = yield this.request({ path: `/api/v1/edge/getRunData`, method: 'OPTIONS', headers: headerParameters, query: queryParameters, }, initOverrides); return new runtime.JSONApiResponse(response); }); } /** * getRunData * getRunData */ getRunDataUsingOPTIONS(initOverrides) { return __awaiter(this, void 0, void 0, function* () { const response = yield this.getRunDataUsingOPTIONSRaw(initOverrides); return yield response.value(); }); } /** * getRunData * getRunData */ getRunDataUsingPATCHRaw(initOverrides) { return __awaiter(this, void 0, void 0, function* () { const queryParameters = {}; const headerParameters = {}; if (this.configuration && this.configuration.apiKey) { headerParameters.authorization = yield this.configuration.apiKey('authorization'); // apikey-header-authorization authentication } const response = yield this.request({ path: `/api/v1/edge/getRunData`, method: 'PATCH', headers: headerParameters, query: queryParameters, }, initOverrides); return new runtime.JSONApiResponse(response); }); } /** * getRunData * getRunData */ getRunDataUsingPATCH(initOverrides) { return __awaiter(this, void 0, void 0, function* () { const response = yield this.getRunDataUsingPATCHRaw(initOverrides); return yield response.value(); }); } /** * getRunData * getRunData */ getRunDataUsingPOSTRaw(initOverrides) { return __awaiter(this, void 0, void 0, function* () { const queryParameters = {}; const headerParameters = {}; if (this.configuration && this.configuration.apiKey) { headerParameters.authorization = yield this.configuration.apiKey('authorization'); // apikey-header-authorization authentication } const response = yield this.request({ path: `/api/v1/edge/getRunData`, method: 'POST', headers: headerParameters, query: queryParameters, }, initOverrides); return new runtime.JSONApiResponse(response); }); } /** * getRunData * getRunData */ getRunDataUsingPOST(initOverrides) { return __awaiter(this, void 0, void 0, function* () { const response = yield this.getRunDataUsingPOSTRaw(initOverrides); return yield response.value(); }); } /** * getRunData * getRunData */ getRunDataUsingPUTRaw(initOverrides) { return __awaiter(this, void 0, void 0, function* () { const queryParameters = {}; const headerParameters = {}; if (this.configuration && this.configuration.apiKey) { headerParameters.authorization = yield this.configuration.apiKey('authorization'); // apikey-header-authorization authentication } const response = yield this.request({ path: `/api/v1/edge/getRunData`, method: 'PUT', headers: headerParameters, query: queryParameters, }, initOverrides); return new runtime.JSONApiResponse(response); }); } /** * getRunData * getRunData */ getRunDataUsingPUT(initOverrides) { return __awaiter(this, void 0, void 0, function* () { const response = yield this.getRunDataUsingPUTRaw(initOverrides); return yield response.value(); }); } /** * getRunsTimeData * getRunsTimeData */ getRunsDataUsingDELETERaw(initOverrides) { return __awaiter(this, void 0, void 0, function* () { const queryParameters = {}; const headerParameters = {}; if (this.configuration && this.configuration.apiKey) { headerParameters.authorization = yield this.configuration.apiKey('authorization'); // apikey-header-authorization authentication } const response = yield this.request({ path: `/api/v1/edge/getRunsTimeData`, method: 'DELETE', headers: headerParameters, query: queryParameters, }, initOverrides); return new runtime.JSONApiResponse(response); }); } /** * getRunsTimeData * getRunsTimeData */ getRunsDataUsingDELETE(initOverrides) { return __awaiter(this, void 0, void 0, function* () { const response = yield this.getRunsDataUsingDELETERaw(initOverrides); return yield response.value(); }); } /** * getRunsTimeData * getRunsTimeData */ getRunsDataUsingGETRaw(initOverrides) { return __awaiter(this, void 0, void 0, function* () { const queryParameters = {}; const headerParameters = {}; if (this.configuration && this.configuration.apiKey) { headerParameters.authorization = yield this.configuration.apiKey('authorization'); // apikey-header-authorization authentication