@product-live/api-sdk 2.13.0 → 2.20.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/.openapi-generator/FILES +74 -0
- package/.openapi-generator/VERSION +1 -0
- package/.openapi-generator-ignore +23 -0
- package/ItemApi.md +125 -0
- package/apis/ItemApi.ts +197 -0
- package/dist/apis/DataFactoryFileApi.d.ts +15 -15
- package/dist/apis/DataFactoryFileApi.js +358 -358
- package/dist/apis/DefaultApi.d.ts +11 -11
- package/dist/apis/DefaultApi.js +171 -171
- package/dist/apis/ItemApi.d.ts +13 -0
- package/dist/apis/ItemApi.js +249 -0
- package/dist/apis/ItemApi.js.map +1 -0
- package/dist/apis/JobApi.d.ts +21 -21
- package/dist/apis/JobApi.js +546 -546
- package/dist/apis/JobExecutionApi.d.ts +16 -16
- package/dist/apis/JobExecutionApi.js +338 -338
- package/dist/apis/TaskApi.d.ts +24 -24
- package/dist/apis/TaskApi.js +608 -608
- package/dist/apis/TaskExecutionApi.d.ts +13 -13
- package/dist/apis/TaskExecutionApi.js +258 -258
- package/dist/apis/VariableApi.d.ts +22 -22
- package/dist/apis/VariableApi.js +528 -528
- package/dist/apis/baseapi.d.ts +18 -18
- package/dist/apis/baseapi.js +45 -45
- package/dist/apis/exception.d.ts +10 -10
- package/dist/apis/exception.js +31 -31
- package/dist/auth/auth.d.ts +42 -42
- package/dist/auth/auth.js +44 -44
- package/dist/configuration.d.ts +18 -18
- package/dist/configuration.js +21 -21
- package/dist/http/http.d.ts +82 -82
- package/dist/http/http.js +228 -228
- package/dist/http/isomorphic-fetch.d.ts +5 -5
- package/dist/http/isomorphic-fetch.js +33 -33
- package/dist/index.d.ts +10 -10
- package/dist/index.js +35 -34
- package/dist/index.js.map +1 -1
- package/dist/middleware.d.ts +16 -16
- package/dist/middleware.js +17 -17
- package/dist/models/CreateJobDto.d.ts +30 -30
- package/dist/models/CreateJobDto.js +81 -81
- package/dist/models/CreateJobExecutionDto.d.ts +21 -21
- package/dist/models/CreateJobExecutionDto.js +33 -33
- package/dist/models/CreateTaskDto.d.ts +21 -21
- package/dist/models/CreateTaskDto.js +45 -45
- package/dist/models/CreateVariableDto.d.ts +22 -22
- package/dist/models/CreateVariableDto.js +45 -45
- package/dist/models/FileDto.d.ts +23 -23
- package/dist/models/FileDto.js +51 -51
- package/dist/models/FindVariablesRequest.d.ts +23 -24
- package/dist/models/FindVariablesRequest.js +45 -45
- package/dist/models/FindVariablesRequest.js.map +1 -1
- package/dist/models/GetFiles200Response.d.ts +21 -21
- package/dist/models/GetFiles200Response.js +33 -33
- package/dist/models/GetItems200Response.d.ts +21 -0
- package/dist/models/GetItems200Response.js +34 -0
- package/dist/models/GetItems200Response.js.map +1 -0
- package/dist/models/GetJobExecutionById400Response.d.ts +17 -17
- package/dist/models/GetJobExecutionById400Response.js +21 -21
- package/dist/models/GetJobExecutions200Response.d.ts +21 -21
- package/dist/models/GetJobExecutions200Response.js +33 -33
- package/dist/models/GetJobs200Response.d.ts +21 -21
- package/dist/models/GetJobs200Response.js +33 -33
- package/dist/models/GetTasks200Response.d.ts +21 -21
- package/dist/models/GetTasks200Response.js +33 -33
- package/dist/models/GetVariables200Response.d.ts +21 -21
- package/dist/models/GetVariables200Response.js +33 -33
- package/dist/models/HighOrderQuery.d.ts +19 -20
- package/dist/models/HighOrderQuery.js +27 -27
- package/dist/models/HighOrderQuery.js.map +1 -1
- package/dist/models/ItemDto.d.ts +28 -0
- package/dist/models/ItemDto.js +64 -0
- package/dist/models/ItemDto.js.map +1 -0
- package/dist/models/{Query.d.ts → ItemFieldDTO.d.ts} +19 -18
- package/dist/models/ItemFieldDTO.js +34 -0
- package/dist/models/ItemFieldDTO.js.map +1 -0
- package/dist/models/ItemFieldFile.d.ts +18 -0
- package/dist/models/ItemFieldFile.js +22 -0
- package/dist/models/ItemFieldFile.js.map +1 -0
- package/dist/models/ItemFieldFileData.d.ts +18 -0
- package/dist/models/ItemFieldFileData.js +28 -0
- package/dist/models/ItemFieldFileData.js.map +1 -0
- package/dist/models/ItemFieldMultipleSelectWithCommentAndQuantity.d.ts +18 -0
- package/dist/models/ItemFieldMultipleSelectWithCommentAndQuantity.js +22 -0
- package/dist/models/ItemFieldMultipleSelectWithCommentAndQuantity.js.map +1 -0
- package/dist/models/ItemFieldMultipleSelectWithCommentAndQuantityData.d.ts +19 -0
- package/dist/models/ItemFieldMultipleSelectWithCommentAndQuantityData.js +34 -0
- package/dist/models/ItemFieldMultipleSelectWithCommentAndQuantityData.js.map +1 -0
- package/dist/models/ItemFieldSimpleNumber.d.ts +18 -0
- package/dist/models/ItemFieldSimpleNumber.js +28 -0
- package/dist/models/ItemFieldSimpleNumber.js.map +1 -0
- package/dist/models/ItemFieldSimpleString.d.ts +17 -0
- package/dist/models/ItemFieldSimpleString.js +22 -0
- package/dist/models/ItemFieldSimpleString.js.map +1 -0
- package/dist/models/ItemFieldSimpleStringArray.d.ts +17 -0
- package/dist/models/ItemFieldSimpleStringArray.js +22 -0
- package/dist/models/ItemFieldSimpleStringArray.js.map +1 -0
- package/dist/models/ItemMetadataDTO.d.ts +23 -0
- package/dist/models/ItemMetadataDTO.js +58 -0
- package/dist/models/ItemMetadataDTO.js.map +1 -0
- package/dist/models/JobDto.d.ts +35 -35
- package/dist/models/JobDto.js +105 -105
- package/dist/models/JobExecutionDto.d.ts +33 -33
- package/dist/models/JobExecutionDto.js +87 -87
- package/dist/models/LowOrderQuery.d.ts +22 -22
- package/dist/models/LowOrderQuery.js +39 -39
- package/dist/models/LowOrderQueryValue.d.ts +16 -16
- package/dist/models/LowOrderQueryValue.js +14 -14
- package/dist/models/ObjectSerializer.d.ts +45 -34
- package/dist/models/ObjectSerializer.js +346 -312
- package/dist/models/ObjectSerializer.js.map +1 -1
- package/dist/models/PatchTaskExecutionDto.d.ts +22 -22
- package/dist/models/PatchTaskExecutionDto.js +33 -33
- package/dist/models/Query1.d.ts +23 -0
- package/dist/models/Query1.js +46 -0
- package/dist/models/Query1.js.map +1 -0
- package/dist/models/TaskDto.d.ts +26 -26
- package/dist/models/TaskDto.js +69 -69
- package/dist/models/TaskExecutionDto.d.ts +30 -30
- package/dist/models/TaskExecutionDto.js +63 -63
- package/dist/models/UpdateJobDto.d.ts +31 -31
- package/dist/models/UpdateJobDto.js +87 -87
- package/dist/models/UpdateTaskDto.d.ts +22 -22
- package/dist/models/UpdateTaskDto.js +51 -51
- package/dist/models/UpdateVariableDto.d.ts +23 -23
- package/dist/models/UpdateVariableDto.js +51 -51
- package/dist/models/VariableDto.d.ts +27 -27
- package/dist/models/VariableDto.js +69 -69
- package/dist/models/all.d.ts +36 -25
- package/dist/models/all.js +52 -41
- package/dist/models/all.js.map +1 -1
- package/dist/rxjsStub.d.ts +10 -10
- package/dist/rxjsStub.js +32 -32
- package/dist/servers.d.ts +17 -17
- package/dist/servers.js +31 -31
- package/dist/types/ObjectParamAPI.d.ts +187 -171
- package/dist/types/ObjectParamAPI.js +159 -144
- package/dist/types/ObjectParamAPI.js.map +1 -1
- package/dist/types/ObservableAPI.d.ts +109 -98
- package/dist/types/ObservableAPI.js +757 -699
- package/dist/types/ObservableAPI.js.map +1 -1
- package/dist/types/PromiseAPI.d.ts +92 -83
- package/dist/types/PromiseAPI.js +179 -163
- package/dist/types/PromiseAPI.js.map +1 -1
- package/dist/util.d.ts +2 -2
- package/dist/util.js +28 -28
- package/index.ts +1 -1
- package/models/CreateJobDto.ts +1 -1
- package/models/CreateJobExecutionDto.ts +1 -1
- package/models/CreateTaskDto.ts +1 -1
- package/models/CreateVariableDto.ts +1 -1
- package/models/FileDto.ts +1 -1
- package/models/FindVariablesRequest.ts +10 -12
- package/models/GetFiles200Response.ts +1 -1
- package/models/GetItems200Response.ts +53 -0
- package/models/GetJobExecutionById400Response.ts +1 -1
- package/models/GetJobExecutions200Response.ts +1 -1
- package/models/GetJobs200Response.ts +1 -1
- package/models/GetTasks200Response.ts +1 -1
- package/models/GetVariables200Response.ts +1 -1
- package/models/HighOrderQuery.ts +3 -4
- package/models/ItemDto.ts +86 -0
- package/models/ItemFieldDTO.ts +49 -0
- package/models/{Query.ts → ItemFieldFile.ts} +8 -10
- package/models/ItemFieldFileData.ts +42 -0
- package/models/ItemFieldMultipleSelectWithCommentAndQuantity.ts +36 -0
- package/models/ItemFieldMultipleSelectWithCommentAndQuantityData.ts +49 -0
- package/models/ItemFieldSimpleNumber.ts +42 -0
- package/models/ItemFieldSimpleString.ts +35 -0
- package/models/ItemFieldSimpleStringArray.ts +35 -0
- package/models/ItemMetadataDTO.ts +77 -0
- package/models/JobDto.ts +1 -1
- package/models/JobExecutionDto.ts +1 -1
- package/models/LowOrderQuery.ts +2 -2
- package/models/LowOrderQueryValue.ts +1 -1
- package/models/ObjectSerializer.ts +39 -5
- package/models/PatchTaskExecutionDto.ts +1 -1
- package/models/Query1.ts +69 -0
- package/models/TaskDto.ts +1 -1
- package/models/TaskExecutionDto.ts +1 -1
- package/models/UpdateJobDto.ts +1 -1
- package/models/UpdateTaskDto.ts +1 -1
- package/models/UpdateVariableDto.ts +1 -1
- package/models/VariableDto.ts +1 -1
- package/models/all.ts +12 -1
- package/package.json +2 -2
- package/tsconfig.json +28 -0
- package/types/ObjectParamAPI.ts +64 -1
- package/types/ObservableAPI.ts +77 -1
- package/types/PromiseAPI.ts +50 -1
- package/dist/models/Query.js +0 -22
- package/dist/models/Query.js.map +0 -1
package/dist/http/http.js
CHANGED
|
@@ -1,229 +1,229 @@
|
|
|
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 __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
18
|
-
if (k2 === undefined) k2 = k;
|
|
19
|
-
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
20
|
-
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
21
|
-
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
22
|
-
}
|
|
23
|
-
Object.defineProperty(o, k2, desc);
|
|
24
|
-
}) : (function(o, m, k, k2) {
|
|
25
|
-
if (k2 === undefined) k2 = k;
|
|
26
|
-
o[k2] = m[k];
|
|
27
|
-
}));
|
|
28
|
-
var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
29
|
-
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
30
|
-
};
|
|
31
|
-
var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {
|
|
32
|
-
function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
|
|
33
|
-
return new (P || (P = Promise))(function (resolve, reject) {
|
|
34
|
-
function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }
|
|
35
|
-
function rejected(value) { try { step(generator["throw"](value)); } catch (e) { reject(e); } }
|
|
36
|
-
function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }
|
|
37
|
-
step((generator = generator.apply(thisArg, _arguments || [])).next());
|
|
38
|
-
});
|
|
39
|
-
};
|
|
40
|
-
var __generator = (this && this.__generator) || function (thisArg, body) {
|
|
41
|
-
var _ = { label: 0, sent: function() { if (t[0] & 1) throw t[1]; return t[1]; }, trys: [], ops: [] }, f, y, t, g;
|
|
42
|
-
return g = { next: verb(0), "throw": verb(1), "return": verb(2) }, typeof Symbol === "function" && (g[Symbol.iterator] = function() { return this; }), g;
|
|
43
|
-
function verb(n) { return function (v) { return step([n, v]); }; }
|
|
44
|
-
function step(op) {
|
|
45
|
-
if (f) throw new TypeError("Generator is already executing.");
|
|
46
|
-
while (g && (g = 0, op[0] && (_ = 0)), _) try {
|
|
47
|
-
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;
|
|
48
|
-
if (y = 0, t) op = [op[0] & 2, t.value];
|
|
49
|
-
switch (op[0]) {
|
|
50
|
-
case 0: case 1: t = op; break;
|
|
51
|
-
case 4: _.label++; return { value: op[1], done: false };
|
|
52
|
-
case 5: _.label++; y = op[1]; op = [0]; continue;
|
|
53
|
-
case 7: op = _.ops.pop(); _.trys.pop(); continue;
|
|
54
|
-
default:
|
|
55
|
-
if (!(t = _.trys, t = t.length > 0 && t[t.length - 1]) && (op[0] === 6 || op[0] === 2)) { _ = 0; continue; }
|
|
56
|
-
if (op[0] === 3 && (!t || (op[1] > t[0] && op[1] < t[3]))) { _.label = op[1]; break; }
|
|
57
|
-
if (op[0] === 6 && _.label < t[1]) { _.label = t[1]; t = op; break; }
|
|
58
|
-
if (t && _.label < t[2]) { _.label = t[2]; _.ops.push(op); break; }
|
|
59
|
-
if (t[2]) _.ops.pop();
|
|
60
|
-
_.trys.pop(); continue;
|
|
61
|
-
}
|
|
62
|
-
op = body.call(thisArg, _);
|
|
63
|
-
} catch (e) { op = [6, e]; y = 0; } finally { f = t = 0; }
|
|
64
|
-
if (op[0] & 5) throw op[1]; return { value: op[0] ? op[1] : void 0, done: true };
|
|
65
|
-
}
|
|
66
|
-
};
|
|
67
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
68
|
-
exports.wrapHttpLibrary = exports.ResponseContext = exports.SelfDecodingBody = exports.RequestContext = exports.HttpException = exports.HttpMethod = void 0;
|
|
69
|
-
var url_1 = require("url");
|
|
70
|
-
var rxjsStub_1 = require("../rxjsStub");
|
|
71
|
-
__exportStar(require("./isomorphic-fetch"), exports);
|
|
72
|
-
var HttpMethod;
|
|
73
|
-
(function (HttpMethod) {
|
|
74
|
-
HttpMethod["GET"] = "GET";
|
|
75
|
-
HttpMethod["HEAD"] = "HEAD";
|
|
76
|
-
HttpMethod["POST"] = "POST";
|
|
77
|
-
HttpMethod["PUT"] = "PUT";
|
|
78
|
-
HttpMethod["DELETE"] = "DELETE";
|
|
79
|
-
HttpMethod["CONNECT"] = "CONNECT";
|
|
80
|
-
HttpMethod["OPTIONS"] = "OPTIONS";
|
|
81
|
-
HttpMethod["TRACE"] = "TRACE";
|
|
82
|
-
HttpMethod["PATCH"] = "PATCH";
|
|
83
|
-
})(HttpMethod = exports.HttpMethod || (exports.HttpMethod = {}));
|
|
84
|
-
var HttpException = (function (_super) {
|
|
85
|
-
__extends(HttpException, _super);
|
|
86
|
-
function HttpException(msg) {
|
|
87
|
-
return _super.call(this, msg) || this;
|
|
88
|
-
}
|
|
89
|
-
return HttpException;
|
|
90
|
-
}(Error));
|
|
91
|
-
exports.HttpException = HttpException;
|
|
92
|
-
var RequestContext = (function () {
|
|
93
|
-
function RequestContext(url, httpMethod) {
|
|
94
|
-
this.httpMethod = httpMethod;
|
|
95
|
-
this.headers = {};
|
|
96
|
-
this.body = undefined;
|
|
97
|
-
this.agent = undefined;
|
|
98
|
-
this.url = new url_1.URL(url);
|
|
99
|
-
}
|
|
100
|
-
RequestContext.prototype.getUrl = function () {
|
|
101
|
-
return this.url.toString().endsWith("/") ?
|
|
102
|
-
this.url.toString().slice(0, -1)
|
|
103
|
-
: this.url.toString();
|
|
104
|
-
};
|
|
105
|
-
RequestContext.prototype.setUrl = function (url) {
|
|
106
|
-
this.url = new url_1.URL(url);
|
|
107
|
-
};
|
|
108
|
-
RequestContext.prototype.setBody = function (body) {
|
|
109
|
-
this.body = body;
|
|
110
|
-
};
|
|
111
|
-
RequestContext.prototype.getHttpMethod = function () {
|
|
112
|
-
return this.httpMethod;
|
|
113
|
-
};
|
|
114
|
-
RequestContext.prototype.getHeaders = function () {
|
|
115
|
-
return this.headers;
|
|
116
|
-
};
|
|
117
|
-
RequestContext.prototype.getBody = function () {
|
|
118
|
-
return this.body;
|
|
119
|
-
};
|
|
120
|
-
RequestContext.prototype.setQueryParam = function (name, value) {
|
|
121
|
-
this.url.searchParams.set(name, value);
|
|
122
|
-
};
|
|
123
|
-
RequestContext.prototype.addCookie = function (name, value) {
|
|
124
|
-
if (!this.headers["Cookie"]) {
|
|
125
|
-
this.headers["Cookie"] = "";
|
|
126
|
-
}
|
|
127
|
-
this.headers["Cookie"] += name + "=" + value + "; ";
|
|
128
|
-
};
|
|
129
|
-
RequestContext.prototype.setHeaderParam = function (key, value) {
|
|
130
|
-
this.headers[key] = value;
|
|
131
|
-
};
|
|
132
|
-
RequestContext.prototype.setAgent = function (agent) {
|
|
133
|
-
this.agent = agent;
|
|
134
|
-
};
|
|
135
|
-
RequestContext.prototype.getAgent = function () {
|
|
136
|
-
return this.agent;
|
|
137
|
-
};
|
|
138
|
-
return RequestContext;
|
|
139
|
-
}());
|
|
140
|
-
exports.RequestContext = RequestContext;
|
|
141
|
-
var SelfDecodingBody = (function () {
|
|
142
|
-
function SelfDecodingBody(dataSource) {
|
|
143
|
-
this.dataSource = dataSource;
|
|
144
|
-
}
|
|
145
|
-
SelfDecodingBody.prototype.binary = function () {
|
|
146
|
-
return this.dataSource;
|
|
147
|
-
};
|
|
148
|
-
SelfDecodingBody.prototype.text = function () {
|
|
149
|
-
return __awaiter(this, void 0, void 0, function () {
|
|
150
|
-
var data;
|
|
151
|
-
return __generator(this, function (_a) {
|
|
152
|
-
switch (_a.label) {
|
|
153
|
-
case 0: return [4, this.dataSource];
|
|
154
|
-
case 1:
|
|
155
|
-
data = _a.sent();
|
|
156
|
-
return [2, data.toString()];
|
|
157
|
-
}
|
|
158
|
-
});
|
|
159
|
-
});
|
|
160
|
-
};
|
|
161
|
-
return SelfDecodingBody;
|
|
162
|
-
}());
|
|
163
|
-
exports.SelfDecodingBody = SelfDecodingBody;
|
|
164
|
-
var ResponseContext = (function () {
|
|
165
|
-
function ResponseContext(httpStatusCode, headers, body) {
|
|
166
|
-
this.httpStatusCode = httpStatusCode;
|
|
167
|
-
this.headers = headers;
|
|
168
|
-
this.body = body;
|
|
169
|
-
}
|
|
170
|
-
ResponseContext.prototype.getParsedHeader = function (headerName) {
|
|
171
|
-
var result = {};
|
|
172
|
-
if (!this.headers[headerName]) {
|
|
173
|
-
return result;
|
|
174
|
-
}
|
|
175
|
-
var parameters = this.headers[headerName].split(";");
|
|
176
|
-
for (var _i = 0, parameters_1 = parameters; _i < parameters_1.length; _i++) {
|
|
177
|
-
var parameter = parameters_1[_i];
|
|
178
|
-
var _a = parameter.split("=", 2), key = _a[0], value = _a[1];
|
|
179
|
-
key = key.toLowerCase().trim();
|
|
180
|
-
if (value === undefined) {
|
|
181
|
-
result[""] = key;
|
|
182
|
-
}
|
|
183
|
-
else {
|
|
184
|
-
value = value.trim();
|
|
185
|
-
if (value.startsWith('"') && value.endsWith('"')) {
|
|
186
|
-
value = value.substring(1, value.length - 1);
|
|
187
|
-
}
|
|
188
|
-
result[key] = value;
|
|
189
|
-
}
|
|
190
|
-
}
|
|
191
|
-
return result;
|
|
192
|
-
};
|
|
193
|
-
ResponseContext.prototype.getBodyAsFile = function () {
|
|
194
|
-
return __awaiter(this, void 0, void 0, function () {
|
|
195
|
-
var data, fileName;
|
|
196
|
-
return __generator(this, function (_a) {
|
|
197
|
-
switch (_a.label) {
|
|
198
|
-
case 0: return [4, this.body.binary()];
|
|
199
|
-
case 1:
|
|
200
|
-
data = _a.sent();
|
|
201
|
-
fileName = this.getParsedHeader("content-disposition")["filename"] || "";
|
|
202
|
-
return [2, { data: data, name: fileName }];
|
|
203
|
-
}
|
|
204
|
-
});
|
|
205
|
-
});
|
|
206
|
-
};
|
|
207
|
-
ResponseContext.prototype.getBodyAsAny = function () {
|
|
208
|
-
try {
|
|
209
|
-
return this.body.text();
|
|
210
|
-
}
|
|
211
|
-
catch (_a) { }
|
|
212
|
-
try {
|
|
213
|
-
return this.body.binary();
|
|
214
|
-
}
|
|
215
|
-
catch (_b) { }
|
|
216
|
-
return Promise.resolve(undefined);
|
|
217
|
-
};
|
|
218
|
-
return ResponseContext;
|
|
219
|
-
}());
|
|
220
|
-
exports.ResponseContext = ResponseContext;
|
|
221
|
-
function wrapHttpLibrary(promiseHttpLibrary) {
|
|
222
|
-
return {
|
|
223
|
-
send: function (request) {
|
|
224
|
-
return (0, rxjsStub_1.from)(promiseHttpLibrary.send(request));
|
|
225
|
-
}
|
|
226
|
-
};
|
|
227
|
-
}
|
|
228
|
-
exports.wrapHttpLibrary = wrapHttpLibrary;
|
|
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 __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
18
|
+
if (k2 === undefined) k2 = k;
|
|
19
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
20
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
21
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
22
|
+
}
|
|
23
|
+
Object.defineProperty(o, k2, desc);
|
|
24
|
+
}) : (function(o, m, k, k2) {
|
|
25
|
+
if (k2 === undefined) k2 = k;
|
|
26
|
+
o[k2] = m[k];
|
|
27
|
+
}));
|
|
28
|
+
var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
29
|
+
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
30
|
+
};
|
|
31
|
+
var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {
|
|
32
|
+
function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
|
|
33
|
+
return new (P || (P = Promise))(function (resolve, reject) {
|
|
34
|
+
function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }
|
|
35
|
+
function rejected(value) { try { step(generator["throw"](value)); } catch (e) { reject(e); } }
|
|
36
|
+
function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }
|
|
37
|
+
step((generator = generator.apply(thisArg, _arguments || [])).next());
|
|
38
|
+
});
|
|
39
|
+
};
|
|
40
|
+
var __generator = (this && this.__generator) || function (thisArg, body) {
|
|
41
|
+
var _ = { label: 0, sent: function() { if (t[0] & 1) throw t[1]; return t[1]; }, trys: [], ops: [] }, f, y, t, g;
|
|
42
|
+
return g = { next: verb(0), "throw": verb(1), "return": verb(2) }, typeof Symbol === "function" && (g[Symbol.iterator] = function() { return this; }), g;
|
|
43
|
+
function verb(n) { return function (v) { return step([n, v]); }; }
|
|
44
|
+
function step(op) {
|
|
45
|
+
if (f) throw new TypeError("Generator is already executing.");
|
|
46
|
+
while (g && (g = 0, op[0] && (_ = 0)), _) try {
|
|
47
|
+
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;
|
|
48
|
+
if (y = 0, t) op = [op[0] & 2, t.value];
|
|
49
|
+
switch (op[0]) {
|
|
50
|
+
case 0: case 1: t = op; break;
|
|
51
|
+
case 4: _.label++; return { value: op[1], done: false };
|
|
52
|
+
case 5: _.label++; y = op[1]; op = [0]; continue;
|
|
53
|
+
case 7: op = _.ops.pop(); _.trys.pop(); continue;
|
|
54
|
+
default:
|
|
55
|
+
if (!(t = _.trys, t = t.length > 0 && t[t.length - 1]) && (op[0] === 6 || op[0] === 2)) { _ = 0; continue; }
|
|
56
|
+
if (op[0] === 3 && (!t || (op[1] > t[0] && op[1] < t[3]))) { _.label = op[1]; break; }
|
|
57
|
+
if (op[0] === 6 && _.label < t[1]) { _.label = t[1]; t = op; break; }
|
|
58
|
+
if (t && _.label < t[2]) { _.label = t[2]; _.ops.push(op); break; }
|
|
59
|
+
if (t[2]) _.ops.pop();
|
|
60
|
+
_.trys.pop(); continue;
|
|
61
|
+
}
|
|
62
|
+
op = body.call(thisArg, _);
|
|
63
|
+
} catch (e) { op = [6, e]; y = 0; } finally { f = t = 0; }
|
|
64
|
+
if (op[0] & 5) throw op[1]; return { value: op[0] ? op[1] : void 0, done: true };
|
|
65
|
+
}
|
|
66
|
+
};
|
|
67
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
68
|
+
exports.wrapHttpLibrary = exports.ResponseContext = exports.SelfDecodingBody = exports.RequestContext = exports.HttpException = exports.HttpMethod = void 0;
|
|
69
|
+
var url_1 = require("url");
|
|
70
|
+
var rxjsStub_1 = require("../rxjsStub");
|
|
71
|
+
__exportStar(require("./isomorphic-fetch"), exports);
|
|
72
|
+
var HttpMethod;
|
|
73
|
+
(function (HttpMethod) {
|
|
74
|
+
HttpMethod["GET"] = "GET";
|
|
75
|
+
HttpMethod["HEAD"] = "HEAD";
|
|
76
|
+
HttpMethod["POST"] = "POST";
|
|
77
|
+
HttpMethod["PUT"] = "PUT";
|
|
78
|
+
HttpMethod["DELETE"] = "DELETE";
|
|
79
|
+
HttpMethod["CONNECT"] = "CONNECT";
|
|
80
|
+
HttpMethod["OPTIONS"] = "OPTIONS";
|
|
81
|
+
HttpMethod["TRACE"] = "TRACE";
|
|
82
|
+
HttpMethod["PATCH"] = "PATCH";
|
|
83
|
+
})(HttpMethod = exports.HttpMethod || (exports.HttpMethod = {}));
|
|
84
|
+
var HttpException = (function (_super) {
|
|
85
|
+
__extends(HttpException, _super);
|
|
86
|
+
function HttpException(msg) {
|
|
87
|
+
return _super.call(this, msg) || this;
|
|
88
|
+
}
|
|
89
|
+
return HttpException;
|
|
90
|
+
}(Error));
|
|
91
|
+
exports.HttpException = HttpException;
|
|
92
|
+
var RequestContext = (function () {
|
|
93
|
+
function RequestContext(url, httpMethod) {
|
|
94
|
+
this.httpMethod = httpMethod;
|
|
95
|
+
this.headers = {};
|
|
96
|
+
this.body = undefined;
|
|
97
|
+
this.agent = undefined;
|
|
98
|
+
this.url = new url_1.URL(url);
|
|
99
|
+
}
|
|
100
|
+
RequestContext.prototype.getUrl = function () {
|
|
101
|
+
return this.url.toString().endsWith("/") ?
|
|
102
|
+
this.url.toString().slice(0, -1)
|
|
103
|
+
: this.url.toString();
|
|
104
|
+
};
|
|
105
|
+
RequestContext.prototype.setUrl = function (url) {
|
|
106
|
+
this.url = new url_1.URL(url);
|
|
107
|
+
};
|
|
108
|
+
RequestContext.prototype.setBody = function (body) {
|
|
109
|
+
this.body = body;
|
|
110
|
+
};
|
|
111
|
+
RequestContext.prototype.getHttpMethod = function () {
|
|
112
|
+
return this.httpMethod;
|
|
113
|
+
};
|
|
114
|
+
RequestContext.prototype.getHeaders = function () {
|
|
115
|
+
return this.headers;
|
|
116
|
+
};
|
|
117
|
+
RequestContext.prototype.getBody = function () {
|
|
118
|
+
return this.body;
|
|
119
|
+
};
|
|
120
|
+
RequestContext.prototype.setQueryParam = function (name, value) {
|
|
121
|
+
this.url.searchParams.set(name, value);
|
|
122
|
+
};
|
|
123
|
+
RequestContext.prototype.addCookie = function (name, value) {
|
|
124
|
+
if (!this.headers["Cookie"]) {
|
|
125
|
+
this.headers["Cookie"] = "";
|
|
126
|
+
}
|
|
127
|
+
this.headers["Cookie"] += name + "=" + value + "; ";
|
|
128
|
+
};
|
|
129
|
+
RequestContext.prototype.setHeaderParam = function (key, value) {
|
|
130
|
+
this.headers[key] = value;
|
|
131
|
+
};
|
|
132
|
+
RequestContext.prototype.setAgent = function (agent) {
|
|
133
|
+
this.agent = agent;
|
|
134
|
+
};
|
|
135
|
+
RequestContext.prototype.getAgent = function () {
|
|
136
|
+
return this.agent;
|
|
137
|
+
};
|
|
138
|
+
return RequestContext;
|
|
139
|
+
}());
|
|
140
|
+
exports.RequestContext = RequestContext;
|
|
141
|
+
var SelfDecodingBody = (function () {
|
|
142
|
+
function SelfDecodingBody(dataSource) {
|
|
143
|
+
this.dataSource = dataSource;
|
|
144
|
+
}
|
|
145
|
+
SelfDecodingBody.prototype.binary = function () {
|
|
146
|
+
return this.dataSource;
|
|
147
|
+
};
|
|
148
|
+
SelfDecodingBody.prototype.text = function () {
|
|
149
|
+
return __awaiter(this, void 0, void 0, function () {
|
|
150
|
+
var data;
|
|
151
|
+
return __generator(this, function (_a) {
|
|
152
|
+
switch (_a.label) {
|
|
153
|
+
case 0: return [4, this.dataSource];
|
|
154
|
+
case 1:
|
|
155
|
+
data = _a.sent();
|
|
156
|
+
return [2, data.toString()];
|
|
157
|
+
}
|
|
158
|
+
});
|
|
159
|
+
});
|
|
160
|
+
};
|
|
161
|
+
return SelfDecodingBody;
|
|
162
|
+
}());
|
|
163
|
+
exports.SelfDecodingBody = SelfDecodingBody;
|
|
164
|
+
var ResponseContext = (function () {
|
|
165
|
+
function ResponseContext(httpStatusCode, headers, body) {
|
|
166
|
+
this.httpStatusCode = httpStatusCode;
|
|
167
|
+
this.headers = headers;
|
|
168
|
+
this.body = body;
|
|
169
|
+
}
|
|
170
|
+
ResponseContext.prototype.getParsedHeader = function (headerName) {
|
|
171
|
+
var result = {};
|
|
172
|
+
if (!this.headers[headerName]) {
|
|
173
|
+
return result;
|
|
174
|
+
}
|
|
175
|
+
var parameters = this.headers[headerName].split(";");
|
|
176
|
+
for (var _i = 0, parameters_1 = parameters; _i < parameters_1.length; _i++) {
|
|
177
|
+
var parameter = parameters_1[_i];
|
|
178
|
+
var _a = parameter.split("=", 2), key = _a[0], value = _a[1];
|
|
179
|
+
key = key.toLowerCase().trim();
|
|
180
|
+
if (value === undefined) {
|
|
181
|
+
result[""] = key;
|
|
182
|
+
}
|
|
183
|
+
else {
|
|
184
|
+
value = value.trim();
|
|
185
|
+
if (value.startsWith('"') && value.endsWith('"')) {
|
|
186
|
+
value = value.substring(1, value.length - 1);
|
|
187
|
+
}
|
|
188
|
+
result[key] = value;
|
|
189
|
+
}
|
|
190
|
+
}
|
|
191
|
+
return result;
|
|
192
|
+
};
|
|
193
|
+
ResponseContext.prototype.getBodyAsFile = function () {
|
|
194
|
+
return __awaiter(this, void 0, void 0, function () {
|
|
195
|
+
var data, fileName;
|
|
196
|
+
return __generator(this, function (_a) {
|
|
197
|
+
switch (_a.label) {
|
|
198
|
+
case 0: return [4, this.body.binary()];
|
|
199
|
+
case 1:
|
|
200
|
+
data = _a.sent();
|
|
201
|
+
fileName = this.getParsedHeader("content-disposition")["filename"] || "";
|
|
202
|
+
return [2, { data: data, name: fileName }];
|
|
203
|
+
}
|
|
204
|
+
});
|
|
205
|
+
});
|
|
206
|
+
};
|
|
207
|
+
ResponseContext.prototype.getBodyAsAny = function () {
|
|
208
|
+
try {
|
|
209
|
+
return this.body.text();
|
|
210
|
+
}
|
|
211
|
+
catch (_a) { }
|
|
212
|
+
try {
|
|
213
|
+
return this.body.binary();
|
|
214
|
+
}
|
|
215
|
+
catch (_b) { }
|
|
216
|
+
return Promise.resolve(undefined);
|
|
217
|
+
};
|
|
218
|
+
return ResponseContext;
|
|
219
|
+
}());
|
|
220
|
+
exports.ResponseContext = ResponseContext;
|
|
221
|
+
function wrapHttpLibrary(promiseHttpLibrary) {
|
|
222
|
+
return {
|
|
223
|
+
send: function (request) {
|
|
224
|
+
return (0, rxjsStub_1.from)(promiseHttpLibrary.send(request));
|
|
225
|
+
}
|
|
226
|
+
};
|
|
227
|
+
}
|
|
228
|
+
exports.wrapHttpLibrary = wrapHttpLibrary;
|
|
229
229
|
//# sourceMappingURL=http.js.map
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { HttpLibrary, RequestContext, ResponseContext } from './http';
|
|
2
|
-
import { Observable } from '../rxjsStub';
|
|
3
|
-
export declare class IsomorphicFetchHttpLibrary implements HttpLibrary {
|
|
4
|
-
send(request: RequestContext): Observable<ResponseContext>;
|
|
5
|
-
}
|
|
1
|
+
import { HttpLibrary, RequestContext, ResponseContext } from './http';
|
|
2
|
+
import { Observable } from '../rxjsStub';
|
|
3
|
+
export declare class IsomorphicFetchHttpLibrary implements HttpLibrary {
|
|
4
|
+
send(request: RequestContext): Observable<ResponseContext>;
|
|
5
|
+
}
|
|
@@ -1,34 +1,34 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.IsomorphicFetchHttpLibrary = void 0;
|
|
4
|
-
var http_1 = require("./http");
|
|
5
|
-
var rxjsStub_1 = require("../rxjsStub");
|
|
6
|
-
var node_fetch_1 = require("node-fetch");
|
|
7
|
-
var IsomorphicFetchHttpLibrary = (function () {
|
|
8
|
-
function IsomorphicFetchHttpLibrary() {
|
|
9
|
-
}
|
|
10
|
-
IsomorphicFetchHttpLibrary.prototype.send = function (request) {
|
|
11
|
-
var method = request.getHttpMethod().toString();
|
|
12
|
-
var body = request.getBody();
|
|
13
|
-
var resultPromise = (0, node_fetch_1.default)(request.getUrl(), {
|
|
14
|
-
method: method,
|
|
15
|
-
body: body,
|
|
16
|
-
headers: request.getHeaders(),
|
|
17
|
-
agent: request.getAgent(),
|
|
18
|
-
}).then(function (resp) {
|
|
19
|
-
var headers = {};
|
|
20
|
-
resp.headers.forEach(function (value, name) {
|
|
21
|
-
headers[name] = value;
|
|
22
|
-
});
|
|
23
|
-
var body = {
|
|
24
|
-
text: function () { return resp.text(); },
|
|
25
|
-
binary: function () { return resp.buffer(); }
|
|
26
|
-
};
|
|
27
|
-
return new http_1.ResponseContext(resp.status, headers, body);
|
|
28
|
-
});
|
|
29
|
-
return (0, rxjsStub_1.from)(resultPromise);
|
|
30
|
-
};
|
|
31
|
-
return IsomorphicFetchHttpLibrary;
|
|
32
|
-
}());
|
|
33
|
-
exports.IsomorphicFetchHttpLibrary = IsomorphicFetchHttpLibrary;
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.IsomorphicFetchHttpLibrary = void 0;
|
|
4
|
+
var http_1 = require("./http");
|
|
5
|
+
var rxjsStub_1 = require("../rxjsStub");
|
|
6
|
+
var node_fetch_1 = require("node-fetch");
|
|
7
|
+
var IsomorphicFetchHttpLibrary = (function () {
|
|
8
|
+
function IsomorphicFetchHttpLibrary() {
|
|
9
|
+
}
|
|
10
|
+
IsomorphicFetchHttpLibrary.prototype.send = function (request) {
|
|
11
|
+
var method = request.getHttpMethod().toString();
|
|
12
|
+
var body = request.getBody();
|
|
13
|
+
var resultPromise = (0, node_fetch_1.default)(request.getUrl(), {
|
|
14
|
+
method: method,
|
|
15
|
+
body: body,
|
|
16
|
+
headers: request.getHeaders(),
|
|
17
|
+
agent: request.getAgent(),
|
|
18
|
+
}).then(function (resp) {
|
|
19
|
+
var headers = {};
|
|
20
|
+
resp.headers.forEach(function (value, name) {
|
|
21
|
+
headers[name] = value;
|
|
22
|
+
});
|
|
23
|
+
var body = {
|
|
24
|
+
text: function () { return resp.text(); },
|
|
25
|
+
binary: function () { return resp.buffer(); }
|
|
26
|
+
};
|
|
27
|
+
return new http_1.ResponseContext(resp.status, headers, body);
|
|
28
|
+
});
|
|
29
|
+
return (0, rxjsStub_1.from)(resultPromise);
|
|
30
|
+
};
|
|
31
|
+
return IsomorphicFetchHttpLibrary;
|
|
32
|
+
}());
|
|
33
|
+
exports.IsomorphicFetchHttpLibrary = IsomorphicFetchHttpLibrary;
|
|
34
34
|
//# sourceMappingURL=isomorphic-fetch.js.map
|
package/dist/index.d.ts
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
export * from "./http/http";
|
|
2
|
-
export * from "./auth/auth";
|
|
3
|
-
export * from "./models/all";
|
|
4
|
-
export { createConfiguration } from "./configuration";
|
|
5
|
-
export { Configuration } from "./configuration";
|
|
6
|
-
export * from "./apis/exception";
|
|
7
|
-
export * from "./servers";
|
|
8
|
-
export { RequiredError } from "./apis/baseapi";
|
|
9
|
-
export { PromiseMiddleware as Middleware } from './middleware';
|
|
10
|
-
export { PromiseDataFactoryFileApi as DataFactoryFileApi, PromiseDefaultApi as DefaultApi, PromiseJobApi as JobApi, PromiseJobExecutionApi as JobExecutionApi, PromiseTaskApi as TaskApi, PromiseTaskExecutionApi as TaskExecutionApi, PromiseVariableApi as VariableApi } from './types/PromiseAPI';
|
|
1
|
+
export * from "./http/http";
|
|
2
|
+
export * from "./auth/auth";
|
|
3
|
+
export * from "./models/all";
|
|
4
|
+
export { createConfiguration } from "./configuration";
|
|
5
|
+
export { Configuration } from "./configuration";
|
|
6
|
+
export * from "./apis/exception";
|
|
7
|
+
export * from "./servers";
|
|
8
|
+
export { RequiredError } from "./apis/baseapi";
|
|
9
|
+
export { PromiseMiddleware as Middleware } from './middleware';
|
|
10
|
+
export { PromiseDataFactoryFileApi as DataFactoryFileApi, PromiseDefaultApi as DefaultApi, PromiseItemApi as ItemApi, PromiseJobApi as JobApi, PromiseJobExecutionApi as JobExecutionApi, PromiseTaskApi as TaskApi, PromiseTaskExecutionApi as TaskExecutionApi, PromiseVariableApi as VariableApi } from './types/PromiseAPI';
|
package/dist/index.js
CHANGED
|
@@ -1,35 +1,36 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
3
|
-
if (k2 === undefined) k2 = k;
|
|
4
|
-
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
5
|
-
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
6
|
-
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
7
|
-
}
|
|
8
|
-
Object.defineProperty(o, k2, desc);
|
|
9
|
-
}) : (function(o, m, k, k2) {
|
|
10
|
-
if (k2 === undefined) k2 = k;
|
|
11
|
-
o[k2] = m[k];
|
|
12
|
-
}));
|
|
13
|
-
var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
14
|
-
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
15
|
-
};
|
|
16
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
17
|
-
exports.VariableApi = exports.TaskExecutionApi = exports.TaskApi = exports.JobExecutionApi = exports.JobApi = exports.DefaultApi = exports.DataFactoryFileApi = exports.RequiredError = exports.createConfiguration = void 0;
|
|
18
|
-
__exportStar(require("./http/http"), exports);
|
|
19
|
-
__exportStar(require("./auth/auth"), exports);
|
|
20
|
-
__exportStar(require("./models/all"), exports);
|
|
21
|
-
var configuration_1 = require("./configuration");
|
|
22
|
-
Object.defineProperty(exports, "createConfiguration", { enumerable: true, get: function () { return configuration_1.createConfiguration; } });
|
|
23
|
-
__exportStar(require("./apis/exception"), exports);
|
|
24
|
-
__exportStar(require("./servers"), exports);
|
|
25
|
-
var baseapi_1 = require("./apis/baseapi");
|
|
26
|
-
Object.defineProperty(exports, "RequiredError", { enumerable: true, get: function () { return baseapi_1.RequiredError; } });
|
|
27
|
-
var PromiseAPI_1 = require("./types/PromiseAPI");
|
|
28
|
-
Object.defineProperty(exports, "DataFactoryFileApi", { enumerable: true, get: function () { return PromiseAPI_1.PromiseDataFactoryFileApi; } });
|
|
29
|
-
Object.defineProperty(exports, "DefaultApi", { enumerable: true, get: function () { return PromiseAPI_1.PromiseDefaultApi; } });
|
|
30
|
-
Object.defineProperty(exports, "
|
|
31
|
-
Object.defineProperty(exports, "
|
|
32
|
-
Object.defineProperty(exports, "
|
|
33
|
-
Object.defineProperty(exports, "
|
|
34
|
-
Object.defineProperty(exports, "
|
|
1
|
+
"use strict";
|
|
2
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
3
|
+
if (k2 === undefined) k2 = k;
|
|
4
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
5
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
6
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
7
|
+
}
|
|
8
|
+
Object.defineProperty(o, k2, desc);
|
|
9
|
+
}) : (function(o, m, k, k2) {
|
|
10
|
+
if (k2 === undefined) k2 = k;
|
|
11
|
+
o[k2] = m[k];
|
|
12
|
+
}));
|
|
13
|
+
var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
14
|
+
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
15
|
+
};
|
|
16
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
17
|
+
exports.VariableApi = exports.TaskExecutionApi = exports.TaskApi = exports.JobExecutionApi = exports.JobApi = exports.ItemApi = exports.DefaultApi = exports.DataFactoryFileApi = exports.RequiredError = exports.createConfiguration = void 0;
|
|
18
|
+
__exportStar(require("./http/http"), exports);
|
|
19
|
+
__exportStar(require("./auth/auth"), exports);
|
|
20
|
+
__exportStar(require("./models/all"), exports);
|
|
21
|
+
var configuration_1 = require("./configuration");
|
|
22
|
+
Object.defineProperty(exports, "createConfiguration", { enumerable: true, get: function () { return configuration_1.createConfiguration; } });
|
|
23
|
+
__exportStar(require("./apis/exception"), exports);
|
|
24
|
+
__exportStar(require("./servers"), exports);
|
|
25
|
+
var baseapi_1 = require("./apis/baseapi");
|
|
26
|
+
Object.defineProperty(exports, "RequiredError", { enumerable: true, get: function () { return baseapi_1.RequiredError; } });
|
|
27
|
+
var PromiseAPI_1 = require("./types/PromiseAPI");
|
|
28
|
+
Object.defineProperty(exports, "DataFactoryFileApi", { enumerable: true, get: function () { return PromiseAPI_1.PromiseDataFactoryFileApi; } });
|
|
29
|
+
Object.defineProperty(exports, "DefaultApi", { enumerable: true, get: function () { return PromiseAPI_1.PromiseDefaultApi; } });
|
|
30
|
+
Object.defineProperty(exports, "ItemApi", { enumerable: true, get: function () { return PromiseAPI_1.PromiseItemApi; } });
|
|
31
|
+
Object.defineProperty(exports, "JobApi", { enumerable: true, get: function () { return PromiseAPI_1.PromiseJobApi; } });
|
|
32
|
+
Object.defineProperty(exports, "JobExecutionApi", { enumerable: true, get: function () { return PromiseAPI_1.PromiseJobExecutionApi; } });
|
|
33
|
+
Object.defineProperty(exports, "TaskApi", { enumerable: true, get: function () { return PromiseAPI_1.PromiseTaskApi; } });
|
|
34
|
+
Object.defineProperty(exports, "TaskExecutionApi", { enumerable: true, get: function () { return PromiseAPI_1.PromiseTaskExecutionApi; } });
|
|
35
|
+
Object.defineProperty(exports, "VariableApi", { enumerable: true, get: function () { return PromiseAPI_1.PromiseVariableApi; } });
|
|
35
36
|
//# sourceMappingURL=index.js.map
|
package/dist/index.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;AAAA,8CAA4B;AAC5B,8CAA4B;AAC5B,+CAA6B;AAC7B,iDAAqD;AAA5C,oHAAA,mBAAmB,OAAA;AAE5B,mDAAiC;AACjC,4CAA0B;AAC1B,0CAA+C;AAAtC,wGAAA,aAAa,OAAA;AAGtB,
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;AAAA,8CAA4B;AAC5B,8CAA4B;AAC5B,+CAA6B;AAC7B,iDAAqD;AAA5C,oHAAA,mBAAmB,OAAA;AAE5B,mDAAiC;AACjC,4CAA0B;AAC1B,0CAA+C;AAAtC,wGAAA,aAAa,OAAA;AAGtB,iDAAuU;AAA9T,gHAAA,yBAAyB,OAAsB;AAAG,wGAAA,iBAAiB,OAAc;AAAG,qGAAA,cAAc,OAAW;AAAG,oGAAA,aAAa,OAAU;AAAG,6GAAA,sBAAsB,OAAmB;AAAG,qGAAA,cAAc,OAAW;AAAG,8GAAA,uBAAuB,OAAoB;AAAG,yGAAA,kBAAkB,OAAe"}
|