@product-live/api-sdk 2.23.0 → 2.26.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/package.json +4 -39
- package/.openapi-generator/FILES +0 -74
- package/.openapi-generator/VERSION +0 -1
- package/.openapi-generator-ignore +0 -23
- package/DataFactoryFileApi.md +0 -182
- package/DefaultApi.md +0 -105
- package/ItemApi.md +0 -125
- package/JobApi.md +0 -333
- package/JobExecutionApi.md +0 -185
- package/README.md +0 -80
- package/TaskApi.md +0 -375
- package/TaskExecutionApi.md +0 -130
- package/VariableApi.md +0 -315
- package/apis/DataFactoryFileApi.ts +0 -307
- package/apis/DefaultApi.ts +0 -117
- package/apis/ItemApi.ts +0 -197
- package/apis/JobApi.ts +0 -507
- package/apis/JobExecutionApi.ts +0 -289
- package/apis/TaskApi.ts +0 -558
- package/apis/TaskExecutionApi.ts +0 -212
- package/apis/VariableApi.ts +0 -495
- package/apis/baseapi.ts +0 -37
- package/apis/exception.ts +0 -15
- package/auth/auth.ts +0 -107
- package/configuration.ts +0 -82
- package/dist/apis/DataFactoryFileApi.d.ts +0 -15
- package/dist/apis/DataFactoryFileApi.js +0 -359
- package/dist/apis/DataFactoryFileApi.js.map +0 -1
- package/dist/apis/DefaultApi.d.ts +0 -11
- package/dist/apis/DefaultApi.js +0 -172
- package/dist/apis/DefaultApi.js.map +0 -1
- package/dist/apis/ItemApi.d.ts +0 -13
- package/dist/apis/ItemApi.js +0 -249
- package/dist/apis/ItemApi.js.map +0 -1
- package/dist/apis/JobApi.d.ts +0 -21
- package/dist/apis/JobApi.js +0 -547
- package/dist/apis/JobApi.js.map +0 -1
- package/dist/apis/JobExecutionApi.d.ts +0 -16
- package/dist/apis/JobExecutionApi.js +0 -339
- package/dist/apis/JobExecutionApi.js.map +0 -1
- package/dist/apis/TaskApi.d.ts +0 -24
- package/dist/apis/TaskApi.js +0 -609
- package/dist/apis/TaskApi.js.map +0 -1
- package/dist/apis/TaskExecutionApi.d.ts +0 -13
- package/dist/apis/TaskExecutionApi.js +0 -259
- package/dist/apis/TaskExecutionApi.js.map +0 -1
- package/dist/apis/VariableApi.d.ts +0 -22
- package/dist/apis/VariableApi.js +0 -529
- package/dist/apis/VariableApi.js.map +0 -1
- package/dist/apis/baseapi.d.ts +0 -18
- package/dist/apis/baseapi.js +0 -46
- package/dist/apis/baseapi.js.map +0 -1
- package/dist/apis/exception.d.ts +0 -10
- package/dist/apis/exception.js +0 -32
- package/dist/apis/exception.js.map +0 -1
- package/dist/auth/auth.d.ts +0 -42
- package/dist/auth/auth.js +0 -45
- package/dist/auth/auth.js.map +0 -1
- package/dist/configuration.d.ts +0 -18
- package/dist/configuration.js +0 -22
- package/dist/configuration.js.map +0 -1
- package/dist/http/http.d.ts +0 -82
- package/dist/http/http.js +0 -229
- package/dist/http/http.js.map +0 -1
- package/dist/http/isomorphic-fetch.d.ts +0 -5
- package/dist/http/isomorphic-fetch.js +0 -34
- package/dist/http/isomorphic-fetch.js.map +0 -1
- package/dist/index.d.ts +0 -10
- package/dist/index.js +0 -36
- package/dist/index.js.map +0 -1
- package/dist/middleware.d.ts +0 -16
- package/dist/middleware.js +0 -18
- package/dist/middleware.js.map +0 -1
- package/dist/models/CreateJobDto.d.ts +0 -30
- package/dist/models/CreateJobDto.js +0 -82
- package/dist/models/CreateJobDto.js.map +0 -1
- package/dist/models/CreateJobExecutionDto.d.ts +0 -21
- package/dist/models/CreateJobExecutionDto.js +0 -34
- package/dist/models/CreateJobExecutionDto.js.map +0 -1
- package/dist/models/CreateTaskDto.d.ts +0 -21
- package/dist/models/CreateTaskDto.js +0 -46
- package/dist/models/CreateTaskDto.js.map +0 -1
- package/dist/models/CreateVariableDto.d.ts +0 -22
- package/dist/models/CreateVariableDto.js +0 -46
- package/dist/models/CreateVariableDto.js.map +0 -1
- package/dist/models/FileDto.d.ts +0 -23
- package/dist/models/FileDto.js +0 -52
- package/dist/models/FileDto.js.map +0 -1
- package/dist/models/FindVariablesRequest.d.ts +0 -23
- package/dist/models/FindVariablesRequest.js +0 -46
- package/dist/models/FindVariablesRequest.js.map +0 -1
- package/dist/models/GetFiles200Response.d.ts +0 -21
- package/dist/models/GetFiles200Response.js +0 -34
- package/dist/models/GetFiles200Response.js.map +0 -1
- package/dist/models/GetItems200Response.d.ts +0 -21
- package/dist/models/GetItems200Response.js +0 -34
- package/dist/models/GetItems200Response.js.map +0 -1
- package/dist/models/GetJobExecutionById400Response.d.ts +0 -17
- package/dist/models/GetJobExecutionById400Response.js +0 -22
- package/dist/models/GetJobExecutionById400Response.js.map +0 -1
- package/dist/models/GetJobExecutions200Response.d.ts +0 -21
- package/dist/models/GetJobExecutions200Response.js +0 -34
- package/dist/models/GetJobExecutions200Response.js.map +0 -1
- package/dist/models/GetJobs200Response.d.ts +0 -21
- package/dist/models/GetJobs200Response.js +0 -34
- package/dist/models/GetJobs200Response.js.map +0 -1
- package/dist/models/GetTasks200Response.d.ts +0 -21
- package/dist/models/GetTasks200Response.js +0 -34
- package/dist/models/GetTasks200Response.js.map +0 -1
- package/dist/models/GetVariables200Response.d.ts +0 -21
- package/dist/models/GetVariables200Response.js +0 -34
- package/dist/models/GetVariables200Response.js.map +0 -1
- package/dist/models/HighOrderQuery.d.ts +0 -19
- package/dist/models/HighOrderQuery.js +0 -28
- package/dist/models/HighOrderQuery.js.map +0 -1
- package/dist/models/ItemDto.d.ts +0 -28
- package/dist/models/ItemDto.js +0 -64
- package/dist/models/ItemDto.js.map +0 -1
- package/dist/models/ItemFieldDTO.d.ts +0 -19
- package/dist/models/ItemFieldDTO.js +0 -34
- package/dist/models/ItemFieldDTO.js.map +0 -1
- package/dist/models/ItemFieldFile.d.ts +0 -18
- package/dist/models/ItemFieldFile.js +0 -22
- package/dist/models/ItemFieldFile.js.map +0 -1
- package/dist/models/ItemFieldFileData.d.ts +0 -18
- package/dist/models/ItemFieldFileData.js +0 -28
- package/dist/models/ItemFieldFileData.js.map +0 -1
- package/dist/models/ItemFieldMultipleSelectWithCommentAndQuantity.d.ts +0 -18
- package/dist/models/ItemFieldMultipleSelectWithCommentAndQuantity.js +0 -22
- package/dist/models/ItemFieldMultipleSelectWithCommentAndQuantity.js.map +0 -1
- package/dist/models/ItemFieldMultipleSelectWithCommentAndQuantityData.d.ts +0 -19
- package/dist/models/ItemFieldMultipleSelectWithCommentAndQuantityData.js +0 -34
- package/dist/models/ItemFieldMultipleSelectWithCommentAndQuantityData.js.map +0 -1
- package/dist/models/ItemFieldSimpleNumber.d.ts +0 -18
- package/dist/models/ItemFieldSimpleNumber.js +0 -28
- package/dist/models/ItemFieldSimpleNumber.js.map +0 -1
- package/dist/models/ItemFieldSimpleString.d.ts +0 -17
- package/dist/models/ItemFieldSimpleString.js +0 -22
- package/dist/models/ItemFieldSimpleString.js.map +0 -1
- package/dist/models/ItemFieldSimpleStringArray.d.ts +0 -17
- package/dist/models/ItemFieldSimpleStringArray.js +0 -22
- package/dist/models/ItemFieldSimpleStringArray.js.map +0 -1
- package/dist/models/ItemMetadataDTO.d.ts +0 -23
- package/dist/models/ItemMetadataDTO.js +0 -58
- package/dist/models/ItemMetadataDTO.js.map +0 -1
- package/dist/models/JobDto.d.ts +0 -35
- package/dist/models/JobDto.js +0 -106
- package/dist/models/JobDto.js.map +0 -1
- package/dist/models/JobExecutionDto.d.ts +0 -33
- package/dist/models/JobExecutionDto.js +0 -88
- package/dist/models/JobExecutionDto.js.map +0 -1
- package/dist/models/LowOrderQuery.d.ts +0 -22
- package/dist/models/LowOrderQuery.js +0 -40
- package/dist/models/LowOrderQuery.js.map +0 -1
- package/dist/models/LowOrderQueryValue.d.ts +0 -16
- package/dist/models/LowOrderQueryValue.js +0 -15
- package/dist/models/LowOrderQueryValue.js.map +0 -1
- package/dist/models/ObjectSerializer.d.ts +0 -45
- package/dist/models/ObjectSerializer.js +0 -347
- package/dist/models/ObjectSerializer.js.map +0 -1
- package/dist/models/PatchTaskExecutionDto.d.ts +0 -22
- package/dist/models/PatchTaskExecutionDto.js +0 -34
- package/dist/models/PatchTaskExecutionDto.js.map +0 -1
- package/dist/models/Query1.d.ts +0 -23
- package/dist/models/Query1.js +0 -46
- package/dist/models/Query1.js.map +0 -1
- package/dist/models/TaskDto.d.ts +0 -26
- package/dist/models/TaskDto.js +0 -70
- package/dist/models/TaskDto.js.map +0 -1
- package/dist/models/TaskExecutionDto.d.ts +0 -30
- package/dist/models/TaskExecutionDto.js +0 -64
- package/dist/models/TaskExecutionDto.js.map +0 -1
- package/dist/models/UpdateJobDto.d.ts +0 -31
- package/dist/models/UpdateJobDto.js +0 -88
- package/dist/models/UpdateJobDto.js.map +0 -1
- package/dist/models/UpdateTaskDto.d.ts +0 -22
- package/dist/models/UpdateTaskDto.js +0 -52
- package/dist/models/UpdateTaskDto.js.map +0 -1
- package/dist/models/UpdateVariableDto.d.ts +0 -23
- package/dist/models/UpdateVariableDto.js +0 -52
- package/dist/models/UpdateVariableDto.js.map +0 -1
- package/dist/models/VariableDto.d.ts +0 -27
- package/dist/models/VariableDto.js +0 -70
- package/dist/models/VariableDto.js.map +0 -1
- package/dist/models/all.d.ts +0 -36
- package/dist/models/all.js +0 -53
- package/dist/models/all.js.map +0 -1
- package/dist/rxjsStub.d.ts +0 -10
- package/dist/rxjsStub.js +0 -33
- package/dist/rxjsStub.js.map +0 -1
- package/dist/servers.d.ts +0 -17
- package/dist/servers.js +0 -32
- package/dist/servers.js.map +0 -1
- package/dist/types/ObjectParamAPI.d.ts +0 -187
- package/dist/types/ObjectParamAPI.js +0 -160
- package/dist/types/ObjectParamAPI.js.map +0 -1
- package/dist/types/ObservableAPI.d.ts +0 -109
- package/dist/types/ObservableAPI.js +0 -758
- package/dist/types/ObservableAPI.js.map +0 -1
- package/dist/types/PromiseAPI.d.ts +0 -92
- package/dist/types/PromiseAPI.js +0 -180
- package/dist/types/PromiseAPI.js.map +0 -1
- package/dist/util.d.ts +0 -2
- package/dist/util.js +0 -29
- package/dist/util.js.map +0 -1
- package/git_push.sh +0 -51
- package/http/http.ts +0 -229
- package/http/isomorphic-fetch.ts +0 -32
- package/index.ts +0 -12
- package/middleware.ts +0 -66
- package/models/CreateJobDto.ts +0 -108
- package/models/CreateJobExecutionDto.ts +0 -49
- package/models/CreateTaskDto.ts +0 -63
- package/models/CreateVariableDto.ts +0 -66
- package/models/FileDto.ts +0 -73
- package/models/FindVariablesRequest.ts +0 -68
- package/models/GetFiles200Response.ts +0 -53
- package/models/GetItems200Response.ts +0 -53
- package/models/GetJobExecutionById400Response.ts +0 -35
- package/models/GetJobExecutions200Response.ts +0 -53
- package/models/GetJobs200Response.ts +0 -53
- package/models/GetTasks200Response.ts +0 -53
- package/models/GetVariables200Response.ts +0 -53
- package/models/HighOrderQuery.ts +0 -45
- package/models/ItemDto.ts +0 -86
- package/models/ItemFieldDTO.ts +0 -49
- package/models/ItemFieldFile.ts +0 -36
- package/models/ItemFieldFileData.ts +0 -42
- package/models/ItemFieldMultipleSelectWithCommentAndQuantity.ts +0 -36
- package/models/ItemFieldMultipleSelectWithCommentAndQuantityData.ts +0 -49
- package/models/ItemFieldSimpleNumber.ts +0 -42
- package/models/ItemFieldSimpleString.ts +0 -35
- package/models/ItemFieldSimpleStringArray.ts +0 -35
- package/models/ItemMetadataDTO.ts +0 -77
- package/models/JobDto.ts +0 -137
- package/models/JobExecutionDto.ts +0 -115
- package/models/LowOrderQuery.ts +0 -60
- package/models/LowOrderQueryValue.ts +0 -29
- package/models/ObjectSerializer.ts +0 -358
- package/models/PatchTaskExecutionDto.ts +0 -52
- package/models/Query1.ts +0 -69
- package/models/TaskDto.ts +0 -94
- package/models/TaskExecutionDto.ts +0 -88
- package/models/UpdateJobDto.ts +0 -115
- package/models/UpdateTaskDto.ts +0 -70
- package/models/UpdateVariableDto.ts +0 -73
- package/models/VariableDto.ts +0 -95
- package/models/all.ts +0 -36
- package/rxjsStub.ts +0 -27
- package/servers.ts +0 -55
- package/tsconfig.json +0 -28
- package/types/ObjectParamAPI.ts +0 -675
- package/types/ObservableAPI.ts +0 -837
- package/types/PromiseAPI.ts +0 -452
- package/util.ts +0 -37
package/configuration.ts
DELETED
|
@@ -1,82 +0,0 @@
|
|
|
1
|
-
import { HttpLibrary } from "./http/http";
|
|
2
|
-
import { Middleware, PromiseMiddleware, PromiseMiddlewareWrapper } from "./middleware";
|
|
3
|
-
import { IsomorphicFetchHttpLibrary as DefaultHttpLibrary } from "./http/isomorphic-fetch";
|
|
4
|
-
import { BaseServerConfiguration, server1 } from "./servers";
|
|
5
|
-
import { configureAuthMethods, AuthMethods, AuthMethodsConfiguration } from "./auth/auth";
|
|
6
|
-
|
|
7
|
-
export interface Configuration {
|
|
8
|
-
readonly baseServer: BaseServerConfiguration;
|
|
9
|
-
readonly httpApi: HttpLibrary;
|
|
10
|
-
readonly middleware: Middleware[];
|
|
11
|
-
readonly authMethods: AuthMethods;
|
|
12
|
-
}
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
/**
|
|
16
|
-
* Interface with which a configuration object can be configured.
|
|
17
|
-
*/
|
|
18
|
-
export interface ConfigurationParameters {
|
|
19
|
-
/**
|
|
20
|
-
* Default server to use - a list of available servers (according to the
|
|
21
|
-
* OpenAPI yaml definition) is included in the `servers` const in `./servers`. You can also
|
|
22
|
-
* create your own server with the `ServerConfiguration` class from the same
|
|
23
|
-
* file.
|
|
24
|
-
*/
|
|
25
|
-
baseServer?: BaseServerConfiguration;
|
|
26
|
-
/**
|
|
27
|
-
* HTTP library to use e.g. IsomorphicFetch. This can usually be skipped as
|
|
28
|
-
* all generators come with a default library.
|
|
29
|
-
* If available, additional libraries can be imported from `./http/*`
|
|
30
|
-
*/
|
|
31
|
-
httpApi?: HttpLibrary;
|
|
32
|
-
|
|
33
|
-
/**
|
|
34
|
-
* The middlewares which will be applied to requests and responses. You can
|
|
35
|
-
* add any number of middleware components to modify requests before they
|
|
36
|
-
* are sent or before they are deserialized by implementing the `Middleware`
|
|
37
|
-
* interface defined in `./middleware`
|
|
38
|
-
*/
|
|
39
|
-
middleware?: Middleware[];
|
|
40
|
-
/**
|
|
41
|
-
* Configures middleware functions that return promises instead of
|
|
42
|
-
* Observables (which are used by `middleware`). Otherwise allows for the
|
|
43
|
-
* same functionality as `middleware`, i.e., modifying requests before they
|
|
44
|
-
* are sent and before they are deserialized.
|
|
45
|
-
*/
|
|
46
|
-
promiseMiddleware?: PromiseMiddleware[];
|
|
47
|
-
/**
|
|
48
|
-
* Configuration for the available authentication methods (e.g., api keys)
|
|
49
|
-
* according to the OpenAPI yaml definition. For the definition, please refer to
|
|
50
|
-
* `./auth/auth`
|
|
51
|
-
*/
|
|
52
|
-
authMethods?: AuthMethodsConfiguration
|
|
53
|
-
}
|
|
54
|
-
|
|
55
|
-
/**
|
|
56
|
-
* Provide your `ConfigurationParameters` to this function to get a `Configuration`
|
|
57
|
-
* object that can be used to configure your APIs (in the constructor or
|
|
58
|
-
* for each request individually).
|
|
59
|
-
*
|
|
60
|
-
* If a property is not included in conf, a default is used:
|
|
61
|
-
* - baseServer: server1
|
|
62
|
-
* - httpApi: IsomorphicFetchHttpLibrary
|
|
63
|
-
* - middleware: []
|
|
64
|
-
* - promiseMiddleware: []
|
|
65
|
-
* - authMethods: {}
|
|
66
|
-
*
|
|
67
|
-
* @param conf partial configuration
|
|
68
|
-
*/
|
|
69
|
-
export function createConfiguration(conf: ConfigurationParameters = {}): Configuration {
|
|
70
|
-
const configuration: Configuration = {
|
|
71
|
-
baseServer: conf.baseServer !== undefined ? conf.baseServer : server1,
|
|
72
|
-
httpApi: conf.httpApi || new DefaultHttpLibrary(),
|
|
73
|
-
middleware: conf.middleware || [],
|
|
74
|
-
authMethods: configureAuthMethods(conf.authMethods)
|
|
75
|
-
};
|
|
76
|
-
if (conf.promiseMiddleware) {
|
|
77
|
-
conf.promiseMiddleware.forEach(
|
|
78
|
-
m => configuration.middleware.push(new PromiseMiddlewareWrapper(m))
|
|
79
|
-
);
|
|
80
|
-
}
|
|
81
|
-
return configuration;
|
|
82
|
-
}
|
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
import { BaseAPIRequestFactory } from './baseapi';
|
|
2
|
-
import { Configuration } from '../configuration';
|
|
3
|
-
import { RequestContext, ResponseContext, HttpFile } from '../http/http';
|
|
4
|
-
import { FileDto } from '../models/FileDto';
|
|
5
|
-
import { GetFiles200Response } from '../models/GetFiles200Response';
|
|
6
|
-
export declare class DataFactoryFileApiRequestFactory extends BaseAPIRequestFactory {
|
|
7
|
-
getFileById(id: string, _options?: Configuration): Promise<RequestContext>;
|
|
8
|
-
getFiles(size?: number, page?: number, _options?: Configuration): Promise<RequestContext>;
|
|
9
|
-
uploadFile(file: HttpFile, _options?: Configuration): Promise<RequestContext>;
|
|
10
|
-
}
|
|
11
|
-
export declare class DataFactoryFileApiResponseProcessor {
|
|
12
|
-
getFileById(response: ResponseContext): Promise<FileDto>;
|
|
13
|
-
getFiles(response: ResponseContext): Promise<GetFiles200Response>;
|
|
14
|
-
uploadFile(response: ResponseContext): Promise<FileDto>;
|
|
15
|
-
}
|
|
@@ -1,359 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
var __extends = (this && this.__extends) || (function () {
|
|
3
|
-
var extendStatics = function (d, b) {
|
|
4
|
-
extendStatics = Object.setPrototypeOf ||
|
|
5
|
-
({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
|
|
6
|
-
function (d, b) { for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p]; };
|
|
7
|
-
return extendStatics(d, b);
|
|
8
|
-
};
|
|
9
|
-
return function (d, b) {
|
|
10
|
-
if (typeof b !== "function" && b !== null)
|
|
11
|
-
throw new TypeError("Class extends value " + String(b) + " is not a constructor or null");
|
|
12
|
-
extendStatics(d, b);
|
|
13
|
-
function __() { this.constructor = d; }
|
|
14
|
-
d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
|
|
15
|
-
};
|
|
16
|
-
})();
|
|
17
|
-
var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {
|
|
18
|
-
function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
|
|
19
|
-
return new (P || (P = Promise))(function (resolve, reject) {
|
|
20
|
-
function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }
|
|
21
|
-
function rejected(value) { try { step(generator["throw"](value)); } catch (e) { reject(e); } }
|
|
22
|
-
function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }
|
|
23
|
-
step((generator = generator.apply(thisArg, _arguments || [])).next());
|
|
24
|
-
});
|
|
25
|
-
};
|
|
26
|
-
var __generator = (this && this.__generator) || function (thisArg, body) {
|
|
27
|
-
var _ = { label: 0, sent: function() { if (t[0] & 1) throw t[1]; return t[1]; }, trys: [], ops: [] }, f, y, t, g;
|
|
28
|
-
return g = { next: verb(0), "throw": verb(1), "return": verb(2) }, typeof Symbol === "function" && (g[Symbol.iterator] = function() { return this; }), g;
|
|
29
|
-
function verb(n) { return function (v) { return step([n, v]); }; }
|
|
30
|
-
function step(op) {
|
|
31
|
-
if (f) throw new TypeError("Generator is already executing.");
|
|
32
|
-
while (g && (g = 0, op[0] && (_ = 0)), _) try {
|
|
33
|
-
if (f = 1, y && (t = op[0] & 2 ? y["return"] : op[0] ? y["throw"] || ((t = y["return"]) && t.call(y), 0) : y.next) && !(t = t.call(y, op[1])).done) return t;
|
|
34
|
-
if (y = 0, t) op = [op[0] & 2, t.value];
|
|
35
|
-
switch (op[0]) {
|
|
36
|
-
case 0: case 1: t = op; break;
|
|
37
|
-
case 4: _.label++; return { value: op[1], done: false };
|
|
38
|
-
case 5: _.label++; y = op[1]; op = [0]; continue;
|
|
39
|
-
case 7: op = _.ops.pop(); _.trys.pop(); continue;
|
|
40
|
-
default:
|
|
41
|
-
if (!(t = _.trys, t = t.length > 0 && t[t.length - 1]) && (op[0] === 6 || op[0] === 2)) { _ = 0; continue; }
|
|
42
|
-
if (op[0] === 3 && (!t || (op[1] > t[0] && op[1] < t[3]))) { _.label = op[1]; break; }
|
|
43
|
-
if (op[0] === 6 && _.label < t[1]) { _.label = t[1]; t = op; break; }
|
|
44
|
-
if (t && _.label < t[2]) { _.label = t[2]; _.ops.push(op); break; }
|
|
45
|
-
if (t[2]) _.ops.pop();
|
|
46
|
-
_.trys.pop(); continue;
|
|
47
|
-
}
|
|
48
|
-
op = body.call(thisArg, _);
|
|
49
|
-
} catch (e) { op = [6, e]; y = 0; } finally { f = t = 0; }
|
|
50
|
-
if (op[0] & 5) throw op[1]; return { value: op[0] ? op[1] : void 0, done: true };
|
|
51
|
-
}
|
|
52
|
-
};
|
|
53
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
54
|
-
exports.DataFactoryFileApiResponseProcessor = exports.DataFactoryFileApiRequestFactory = void 0;
|
|
55
|
-
var baseapi_1 = require("./baseapi");
|
|
56
|
-
var http_1 = require("../http/http");
|
|
57
|
-
var FormData = require("form-data");
|
|
58
|
-
var url_1 = require("url");
|
|
59
|
-
var ObjectSerializer_1 = require("../models/ObjectSerializer");
|
|
60
|
-
var exception_1 = require("./exception");
|
|
61
|
-
var util_1 = require("../util");
|
|
62
|
-
var DataFactoryFileApiRequestFactory = (function (_super) {
|
|
63
|
-
__extends(DataFactoryFileApiRequestFactory, _super);
|
|
64
|
-
function DataFactoryFileApiRequestFactory() {
|
|
65
|
-
return _super !== null && _super.apply(this, arguments) || this;
|
|
66
|
-
}
|
|
67
|
-
DataFactoryFileApiRequestFactory.prototype.getFileById = function (id, _options) {
|
|
68
|
-
var _a, _b, _c;
|
|
69
|
-
return __awaiter(this, void 0, void 0, function () {
|
|
70
|
-
var _config, localVarPath, requestContext, authMethod, defaultAuth;
|
|
71
|
-
return __generator(this, function (_d) {
|
|
72
|
-
switch (_d.label) {
|
|
73
|
-
case 0:
|
|
74
|
-
_config = _options || this.configuration;
|
|
75
|
-
if (id === null || id === undefined) {
|
|
76
|
-
throw new baseapi_1.RequiredError("DataFactoryFileApi", "getFileById", "id");
|
|
77
|
-
}
|
|
78
|
-
localVarPath = '/v1/data_factory/files/{id}'
|
|
79
|
-
.replace('{' + 'id' + '}', encodeURIComponent(String(id)));
|
|
80
|
-
requestContext = _config.baseServer.makeRequestContext(localVarPath, http_1.HttpMethod.GET);
|
|
81
|
-
requestContext.setHeaderParam("Accept", "application/json, */*;q=0.8");
|
|
82
|
-
authMethod = _config.authMethods["ApiKeyAuthQuery"];
|
|
83
|
-
if (!(authMethod === null || authMethod === void 0 ? void 0 : authMethod.applySecurityAuthentication)) return [3, 2];
|
|
84
|
-
return [4, (authMethod === null || authMethod === void 0 ? void 0 : authMethod.applySecurityAuthentication(requestContext))];
|
|
85
|
-
case 1:
|
|
86
|
-
_d.sent();
|
|
87
|
-
_d.label = 2;
|
|
88
|
-
case 2:
|
|
89
|
-
authMethod = _config.authMethods["ApiKeyAuthHeader"];
|
|
90
|
-
if (!(authMethod === null || authMethod === void 0 ? void 0 : authMethod.applySecurityAuthentication)) return [3, 4];
|
|
91
|
-
return [4, (authMethod === null || authMethod === void 0 ? void 0 : authMethod.applySecurityAuthentication(requestContext))];
|
|
92
|
-
case 3:
|
|
93
|
-
_d.sent();
|
|
94
|
-
_d.label = 4;
|
|
95
|
-
case 4:
|
|
96
|
-
defaultAuth = ((_a = _options === null || _options === void 0 ? void 0 : _options.authMethods) === null || _a === void 0 ? void 0 : _a.default) || ((_c = (_b = this.configuration) === null || _b === void 0 ? void 0 : _b.authMethods) === null || _c === void 0 ? void 0 : _c.default);
|
|
97
|
-
if (!(defaultAuth === null || defaultAuth === void 0 ? void 0 : defaultAuth.applySecurityAuthentication)) return [3, 6];
|
|
98
|
-
return [4, (defaultAuth === null || defaultAuth === void 0 ? void 0 : defaultAuth.applySecurityAuthentication(requestContext))];
|
|
99
|
-
case 5:
|
|
100
|
-
_d.sent();
|
|
101
|
-
_d.label = 6;
|
|
102
|
-
case 6: return [2, requestContext];
|
|
103
|
-
}
|
|
104
|
-
});
|
|
105
|
-
});
|
|
106
|
-
};
|
|
107
|
-
DataFactoryFileApiRequestFactory.prototype.getFiles = function (size, page, _options) {
|
|
108
|
-
var _a, _b, _c;
|
|
109
|
-
return __awaiter(this, void 0, void 0, function () {
|
|
110
|
-
var _config, localVarPath, requestContext, authMethod, defaultAuth;
|
|
111
|
-
return __generator(this, function (_d) {
|
|
112
|
-
switch (_d.label) {
|
|
113
|
-
case 0:
|
|
114
|
-
_config = _options || this.configuration;
|
|
115
|
-
localVarPath = '/v1/data_factory/files';
|
|
116
|
-
requestContext = _config.baseServer.makeRequestContext(localVarPath, http_1.HttpMethod.GET);
|
|
117
|
-
requestContext.setHeaderParam("Accept", "application/json, */*;q=0.8");
|
|
118
|
-
if (size !== undefined) {
|
|
119
|
-
requestContext.setQueryParam("size", ObjectSerializer_1.ObjectSerializer.serialize(size, "number", ""));
|
|
120
|
-
}
|
|
121
|
-
if (page !== undefined) {
|
|
122
|
-
requestContext.setQueryParam("page", ObjectSerializer_1.ObjectSerializer.serialize(page, "number", ""));
|
|
123
|
-
}
|
|
124
|
-
authMethod = _config.authMethods["ApiKeyAuthQuery"];
|
|
125
|
-
if (!(authMethod === null || authMethod === void 0 ? void 0 : authMethod.applySecurityAuthentication)) return [3, 2];
|
|
126
|
-
return [4, (authMethod === null || authMethod === void 0 ? void 0 : authMethod.applySecurityAuthentication(requestContext))];
|
|
127
|
-
case 1:
|
|
128
|
-
_d.sent();
|
|
129
|
-
_d.label = 2;
|
|
130
|
-
case 2:
|
|
131
|
-
authMethod = _config.authMethods["ApiKeyAuthHeader"];
|
|
132
|
-
if (!(authMethod === null || authMethod === void 0 ? void 0 : authMethod.applySecurityAuthentication)) return [3, 4];
|
|
133
|
-
return [4, (authMethod === null || authMethod === void 0 ? void 0 : authMethod.applySecurityAuthentication(requestContext))];
|
|
134
|
-
case 3:
|
|
135
|
-
_d.sent();
|
|
136
|
-
_d.label = 4;
|
|
137
|
-
case 4:
|
|
138
|
-
defaultAuth = ((_a = _options === null || _options === void 0 ? void 0 : _options.authMethods) === null || _a === void 0 ? void 0 : _a.default) || ((_c = (_b = this.configuration) === null || _b === void 0 ? void 0 : _b.authMethods) === null || _c === void 0 ? void 0 : _c.default);
|
|
139
|
-
if (!(defaultAuth === null || defaultAuth === void 0 ? void 0 : defaultAuth.applySecurityAuthentication)) return [3, 6];
|
|
140
|
-
return [4, (defaultAuth === null || defaultAuth === void 0 ? void 0 : defaultAuth.applySecurityAuthentication(requestContext))];
|
|
141
|
-
case 5:
|
|
142
|
-
_d.sent();
|
|
143
|
-
_d.label = 6;
|
|
144
|
-
case 6: return [2, requestContext];
|
|
145
|
-
}
|
|
146
|
-
});
|
|
147
|
-
});
|
|
148
|
-
};
|
|
149
|
-
DataFactoryFileApiRequestFactory.prototype.uploadFile = function (file, _options) {
|
|
150
|
-
var _a, _b, _c;
|
|
151
|
-
return __awaiter(this, void 0, void 0, function () {
|
|
152
|
-
var _config, localVarPath, requestContext, useForm, localVarFormParams, contentType, authMethod, defaultAuth;
|
|
153
|
-
return __generator(this, function (_d) {
|
|
154
|
-
switch (_d.label) {
|
|
155
|
-
case 0:
|
|
156
|
-
_config = _options || this.configuration;
|
|
157
|
-
if (file === null || file === undefined) {
|
|
158
|
-
throw new baseapi_1.RequiredError("DataFactoryFileApi", "uploadFile", "file");
|
|
159
|
-
}
|
|
160
|
-
localVarPath = '/v1/data_factory/files';
|
|
161
|
-
requestContext = _config.baseServer.makeRequestContext(localVarPath, http_1.HttpMethod.POST);
|
|
162
|
-
requestContext.setHeaderParam("Accept", "application/json, */*;q=0.8");
|
|
163
|
-
useForm = (0, util_1.canConsumeForm)([
|
|
164
|
-
'multipart/form-data',
|
|
165
|
-
]);
|
|
166
|
-
if (useForm) {
|
|
167
|
-
localVarFormParams = new FormData();
|
|
168
|
-
}
|
|
169
|
-
else {
|
|
170
|
-
localVarFormParams = new url_1.URLSearchParams();
|
|
171
|
-
}
|
|
172
|
-
if (file !== undefined) {
|
|
173
|
-
if (localVarFormParams instanceof FormData) {
|
|
174
|
-
localVarFormParams.append('file', file.data, file.name);
|
|
175
|
-
}
|
|
176
|
-
}
|
|
177
|
-
requestContext.setBody(localVarFormParams);
|
|
178
|
-
if (!useForm) {
|
|
179
|
-
contentType = ObjectSerializer_1.ObjectSerializer.getPreferredMediaType([
|
|
180
|
-
"multipart/form-data"
|
|
181
|
-
]);
|
|
182
|
-
requestContext.setHeaderParam("Content-Type", contentType);
|
|
183
|
-
}
|
|
184
|
-
authMethod = _config.authMethods["ApiKeyAuthQuery"];
|
|
185
|
-
if (!(authMethod === null || authMethod === void 0 ? void 0 : authMethod.applySecurityAuthentication)) return [3, 2];
|
|
186
|
-
return [4, (authMethod === null || authMethod === void 0 ? void 0 : authMethod.applySecurityAuthentication(requestContext))];
|
|
187
|
-
case 1:
|
|
188
|
-
_d.sent();
|
|
189
|
-
_d.label = 2;
|
|
190
|
-
case 2:
|
|
191
|
-
authMethod = _config.authMethods["ApiKeyAuthHeader"];
|
|
192
|
-
if (!(authMethod === null || authMethod === void 0 ? void 0 : authMethod.applySecurityAuthentication)) return [3, 4];
|
|
193
|
-
return [4, (authMethod === null || authMethod === void 0 ? void 0 : authMethod.applySecurityAuthentication(requestContext))];
|
|
194
|
-
case 3:
|
|
195
|
-
_d.sent();
|
|
196
|
-
_d.label = 4;
|
|
197
|
-
case 4:
|
|
198
|
-
defaultAuth = ((_a = _options === null || _options === void 0 ? void 0 : _options.authMethods) === null || _a === void 0 ? void 0 : _a.default) || ((_c = (_b = this.configuration) === null || _b === void 0 ? void 0 : _b.authMethods) === null || _c === void 0 ? void 0 : _c.default);
|
|
199
|
-
if (!(defaultAuth === null || defaultAuth === void 0 ? void 0 : defaultAuth.applySecurityAuthentication)) return [3, 6];
|
|
200
|
-
return [4, (defaultAuth === null || defaultAuth === void 0 ? void 0 : defaultAuth.applySecurityAuthentication(requestContext))];
|
|
201
|
-
case 5:
|
|
202
|
-
_d.sent();
|
|
203
|
-
_d.label = 6;
|
|
204
|
-
case 6: return [2, requestContext];
|
|
205
|
-
}
|
|
206
|
-
});
|
|
207
|
-
});
|
|
208
|
-
};
|
|
209
|
-
return DataFactoryFileApiRequestFactory;
|
|
210
|
-
}(baseapi_1.BaseAPIRequestFactory));
|
|
211
|
-
exports.DataFactoryFileApiRequestFactory = DataFactoryFileApiRequestFactory;
|
|
212
|
-
var DataFactoryFileApiResponseProcessor = (function () {
|
|
213
|
-
function DataFactoryFileApiResponseProcessor() {
|
|
214
|
-
}
|
|
215
|
-
DataFactoryFileApiResponseProcessor.prototype.getFileById = function (response) {
|
|
216
|
-
return __awaiter(this, void 0, void 0, function () {
|
|
217
|
-
var contentType, body, _a, _b, _c, _d, body, _e, _f, _g, _h, body, _j, _k, _l, _m, _o, _p;
|
|
218
|
-
return __generator(this, function (_q) {
|
|
219
|
-
switch (_q.label) {
|
|
220
|
-
case 0:
|
|
221
|
-
contentType = ObjectSerializer_1.ObjectSerializer.normalizeMediaType(response.headers["content-type"]);
|
|
222
|
-
if (!(0, util_1.isCodeInRange)("200", response.httpStatusCode)) return [3, 2];
|
|
223
|
-
_b = (_a = ObjectSerializer_1.ObjectSerializer).deserialize;
|
|
224
|
-
_d = (_c = ObjectSerializer_1.ObjectSerializer).parse;
|
|
225
|
-
return [4, response.body.text()];
|
|
226
|
-
case 1:
|
|
227
|
-
body = _b.apply(_a, [_d.apply(_c, [_q.sent(), contentType]),
|
|
228
|
-
"FileDto", ""]);
|
|
229
|
-
return [2, body];
|
|
230
|
-
case 2:
|
|
231
|
-
if (!(0, util_1.isCodeInRange)("400", response.httpStatusCode)) return [3, 4];
|
|
232
|
-
_f = (_e = ObjectSerializer_1.ObjectSerializer).deserialize;
|
|
233
|
-
_h = (_g = ObjectSerializer_1.ObjectSerializer).parse;
|
|
234
|
-
return [4, response.body.text()];
|
|
235
|
-
case 3:
|
|
236
|
-
body = _f.apply(_e, [_h.apply(_g, [_q.sent(), contentType]),
|
|
237
|
-
"GetJobExecutionById400Response", ""]);
|
|
238
|
-
throw new exception_1.ApiException(response.httpStatusCode, "Bad Request - Malformed syntax", body, response.headers);
|
|
239
|
-
case 4:
|
|
240
|
-
if ((0, util_1.isCodeInRange)("401", response.httpStatusCode)) {
|
|
241
|
-
throw new exception_1.ApiException(response.httpStatusCode, "Unauthorized", undefined, response.headers);
|
|
242
|
-
}
|
|
243
|
-
if ((0, util_1.isCodeInRange)("404", response.httpStatusCode)) {
|
|
244
|
-
throw new exception_1.ApiException(response.httpStatusCode, "Not found", undefined, response.headers);
|
|
245
|
-
}
|
|
246
|
-
if (!(response.httpStatusCode >= 200 && response.httpStatusCode <= 299)) return [3, 6];
|
|
247
|
-
_k = (_j = ObjectSerializer_1.ObjectSerializer).deserialize;
|
|
248
|
-
_m = (_l = ObjectSerializer_1.ObjectSerializer).parse;
|
|
249
|
-
return [4, response.body.text()];
|
|
250
|
-
case 5:
|
|
251
|
-
body = _k.apply(_j, [_m.apply(_l, [_q.sent(), contentType]),
|
|
252
|
-
"FileDto", ""]);
|
|
253
|
-
return [2, body];
|
|
254
|
-
case 6:
|
|
255
|
-
_o = exception_1.ApiException.bind;
|
|
256
|
-
_p = [void 0, response.httpStatusCode, "Unknown API Status Code!"];
|
|
257
|
-
return [4, response.getBodyAsAny()];
|
|
258
|
-
case 7: throw new (_o.apply(exception_1.ApiException, _p.concat([_q.sent(), response.headers])))();
|
|
259
|
-
}
|
|
260
|
-
});
|
|
261
|
-
});
|
|
262
|
-
};
|
|
263
|
-
DataFactoryFileApiResponseProcessor.prototype.getFiles = function (response) {
|
|
264
|
-
return __awaiter(this, void 0, void 0, function () {
|
|
265
|
-
var contentType, body, _a, _b, _c, _d, body, _e, _f, _g, _h, body, _j, _k, _l, _m, _o, _p;
|
|
266
|
-
return __generator(this, function (_q) {
|
|
267
|
-
switch (_q.label) {
|
|
268
|
-
case 0:
|
|
269
|
-
contentType = ObjectSerializer_1.ObjectSerializer.normalizeMediaType(response.headers["content-type"]);
|
|
270
|
-
if (!(0, util_1.isCodeInRange)("200", response.httpStatusCode)) return [3, 2];
|
|
271
|
-
_b = (_a = ObjectSerializer_1.ObjectSerializer).deserialize;
|
|
272
|
-
_d = (_c = ObjectSerializer_1.ObjectSerializer).parse;
|
|
273
|
-
return [4, response.body.text()];
|
|
274
|
-
case 1:
|
|
275
|
-
body = _b.apply(_a, [_d.apply(_c, [_q.sent(), contentType]),
|
|
276
|
-
"GetFiles200Response", ""]);
|
|
277
|
-
return [2, body];
|
|
278
|
-
case 2:
|
|
279
|
-
if (!(0, util_1.isCodeInRange)("400", response.httpStatusCode)) return [3, 4];
|
|
280
|
-
_f = (_e = ObjectSerializer_1.ObjectSerializer).deserialize;
|
|
281
|
-
_h = (_g = ObjectSerializer_1.ObjectSerializer).parse;
|
|
282
|
-
return [4, response.body.text()];
|
|
283
|
-
case 3:
|
|
284
|
-
body = _f.apply(_e, [_h.apply(_g, [_q.sent(), contentType]),
|
|
285
|
-
"GetJobExecutionById400Response", ""]);
|
|
286
|
-
throw new exception_1.ApiException(response.httpStatusCode, "Bad Request - Malformed syntax", body, response.headers);
|
|
287
|
-
case 4:
|
|
288
|
-
if ((0, util_1.isCodeInRange)("401", response.httpStatusCode)) {
|
|
289
|
-
throw new exception_1.ApiException(response.httpStatusCode, "Unauthorized", undefined, response.headers);
|
|
290
|
-
}
|
|
291
|
-
if (!(response.httpStatusCode >= 200 && response.httpStatusCode <= 299)) return [3, 6];
|
|
292
|
-
_k = (_j = ObjectSerializer_1.ObjectSerializer).deserialize;
|
|
293
|
-
_m = (_l = ObjectSerializer_1.ObjectSerializer).parse;
|
|
294
|
-
return [4, response.body.text()];
|
|
295
|
-
case 5:
|
|
296
|
-
body = _k.apply(_j, [_m.apply(_l, [_q.sent(), contentType]),
|
|
297
|
-
"GetFiles200Response", ""]);
|
|
298
|
-
return [2, body];
|
|
299
|
-
case 6:
|
|
300
|
-
_o = exception_1.ApiException.bind;
|
|
301
|
-
_p = [void 0, response.httpStatusCode, "Unknown API Status Code!"];
|
|
302
|
-
return [4, response.getBodyAsAny()];
|
|
303
|
-
case 7: throw new (_o.apply(exception_1.ApiException, _p.concat([_q.sent(), response.headers])))();
|
|
304
|
-
}
|
|
305
|
-
});
|
|
306
|
-
});
|
|
307
|
-
};
|
|
308
|
-
DataFactoryFileApiResponseProcessor.prototype.uploadFile = function (response) {
|
|
309
|
-
return __awaiter(this, void 0, void 0, function () {
|
|
310
|
-
var contentType, body, _a, _b, _c, _d, body, _e, _f, _g, _h, body, _j, _k, _l, _m, _o, _p;
|
|
311
|
-
return __generator(this, function (_q) {
|
|
312
|
-
switch (_q.label) {
|
|
313
|
-
case 0:
|
|
314
|
-
contentType = ObjectSerializer_1.ObjectSerializer.normalizeMediaType(response.headers["content-type"]);
|
|
315
|
-
if (!(0, util_1.isCodeInRange)("201", response.httpStatusCode)) return [3, 2];
|
|
316
|
-
_b = (_a = ObjectSerializer_1.ObjectSerializer).deserialize;
|
|
317
|
-
_d = (_c = ObjectSerializer_1.ObjectSerializer).parse;
|
|
318
|
-
return [4, response.body.text()];
|
|
319
|
-
case 1:
|
|
320
|
-
body = _b.apply(_a, [_d.apply(_c, [_q.sent(), contentType]),
|
|
321
|
-
"FileDto", ""]);
|
|
322
|
-
return [2, body];
|
|
323
|
-
case 2:
|
|
324
|
-
if ((0, util_1.isCodeInRange)("400", response.httpStatusCode)) {
|
|
325
|
-
throw new exception_1.ApiException(response.httpStatusCode, "Bad Request - Malformed syntax", undefined, response.headers);
|
|
326
|
-
}
|
|
327
|
-
if ((0, util_1.isCodeInRange)("401", response.httpStatusCode)) {
|
|
328
|
-
throw new exception_1.ApiException(response.httpStatusCode, "Unauthorized", undefined, response.headers);
|
|
329
|
-
}
|
|
330
|
-
if (!(0, util_1.isCodeInRange)("413", response.httpStatusCode)) return [3, 4];
|
|
331
|
-
_f = (_e = ObjectSerializer_1.ObjectSerializer).deserialize;
|
|
332
|
-
_h = (_g = ObjectSerializer_1.ObjectSerializer).parse;
|
|
333
|
-
return [4, response.body.text()];
|
|
334
|
-
case 3:
|
|
335
|
-
body = _f.apply(_e, [_h.apply(_g, [_q.sent(), contentType]),
|
|
336
|
-
"GetJobExecutionById400Response", ""]);
|
|
337
|
-
throw new exception_1.ApiException(response.httpStatusCode, "Request Entity Too Large", body, response.headers);
|
|
338
|
-
case 4:
|
|
339
|
-
if (!(response.httpStatusCode >= 200 && response.httpStatusCode <= 299)) return [3, 6];
|
|
340
|
-
_k = (_j = ObjectSerializer_1.ObjectSerializer).deserialize;
|
|
341
|
-
_m = (_l = ObjectSerializer_1.ObjectSerializer).parse;
|
|
342
|
-
return [4, response.body.text()];
|
|
343
|
-
case 5:
|
|
344
|
-
body = _k.apply(_j, [_m.apply(_l, [_q.sent(), contentType]),
|
|
345
|
-
"FileDto", ""]);
|
|
346
|
-
return [2, body];
|
|
347
|
-
case 6:
|
|
348
|
-
_o = exception_1.ApiException.bind;
|
|
349
|
-
_p = [void 0, response.httpStatusCode, "Unknown API Status Code!"];
|
|
350
|
-
return [4, response.getBodyAsAny()];
|
|
351
|
-
case 7: throw new (_o.apply(exception_1.ApiException, _p.concat([_q.sent(), response.headers])))();
|
|
352
|
-
}
|
|
353
|
-
});
|
|
354
|
-
});
|
|
355
|
-
};
|
|
356
|
-
return DataFactoryFileApiResponseProcessor;
|
|
357
|
-
}());
|
|
358
|
-
exports.DataFactoryFileApiResponseProcessor = DataFactoryFileApiResponseProcessor;
|
|
359
|
-
//# sourceMappingURL=DataFactoryFileApi.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"DataFactoryFileApi.js","sourceRoot":"","sources":["../../apis/DataFactoryFileApi.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AACA,qCAAmF;AAEnF,qCAAmF;AACnF,oCAAsC;AACtC,2BAAsC;AACtC,+DAA4D;AAC5D,yCAAyC;AACzC,gCAAsD;AAWtD;IAAsD,oDAAqB;IAA3E;;IAgKA,CAAC;IA1JgB,sDAAW,GAAxB,UAAyB,EAAU,EAAE,QAAwB;;;;;;;wBACrD,OAAO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;wBACA,KAAA,CAAA,KAAA,mCAAgB,CAAA,CAAC,WAAW,CAAA;wBACrE,KAAA,CAAA,KAAA,mCAAgB,CAAA,CAAC,KAAK,CAAA;wBAAC,WAAM,QAAQ,CAAC,IAAI,CAAC,IAAI,EAAE,EAAA;;wBAD/C,IAAI,GAAmC,cACzC,cAAuB,SAA0B,EAAE,WAAW,EAAC;4BAC/D,gCAAgC,EAAE,EAAE,EACL;wBACnC,MAAM,IAAI,wBAAY,CAAiC,QAAQ,CAAC,cAAc,EAAE,0BAA0B,EAAE,IAAI,EAAE,QAAQ,CAAC,OAAO,CAAC,CAAC;;6BAIpI,CAAA,QAAQ,CAAC,cAAc,IAAI,GAAG,IAAI,QAAQ,CAAC,cAAc,IAAI,GAAG,CAAA,EAAhE,cAAgE;wBAC1C,KAAA,CAAA,KAAA,mCAAgB,CAAA,CAAC,WAAW,CAAA;wBAC9C,KAAA,CAAA,KAAA,mCAAgB,CAAA,CAAC,KAAK,CAAA;wBAAC,WAAM,QAAQ,CAAC,IAAI,CAAC,IAAI,EAAE,EAAA;;wBAD/C,IAAI,GAAY,cAClB,cAAuB,SAA0B,EAAE,WAAW,EAAC;4BAC/D,SAAS,EAAE,EAAE,EACL;wBACZ,WAAO,IAAI,EAAC;;6BAGN,wBAAY;sCAA8B,QAAQ,CAAC,cAAc,EAAE,0BAA0B;wBAAE,WAAM,QAAQ,CAAC,YAAY,EAAE,EAAA;4BAAtI,MAAM,cAAI,wBAAY,aAAmF,SAA6B,EAAE,QAAQ,CAAC,OAAO,MAAC,CAAC;;;;KAC7J;IAEL,0CAAC;AAAD,CAAC,AA7HD,IA6HC;AA7HY,kFAAmC"}
|
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
import { BaseAPIRequestFactory } from './baseapi';
|
|
2
|
-
import { Configuration } from '../configuration';
|
|
3
|
-
import { RequestContext, ResponseContext } from '../http/http';
|
|
4
|
-
export declare class DefaultApiRequestFactory extends BaseAPIRequestFactory {
|
|
5
|
-
liveness(_options?: Configuration): Promise<RequestContext>;
|
|
6
|
-
readiness(_options?: Configuration): Promise<RequestContext>;
|
|
7
|
-
}
|
|
8
|
-
export declare class DefaultApiResponseProcessor {
|
|
9
|
-
liveness(response: ResponseContext): Promise<void>;
|
|
10
|
-
readiness(response: ResponseContext): Promise<void>;
|
|
11
|
-
}
|