@emilgroup/migration-sdk 0.10.1-beta.13 → 0.10.1-beta.17
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/README.md +2 -2
- package/api/migration-api.ts +68 -34
- package/base.ts +157 -43
- package/common.ts +3 -2
- package/configuration.ts +11 -2
- package/dist/api/health-api.d.ts +1 -1
- package/dist/api/migration-api.d.ts +17 -17
- package/dist/api/migration-api.js +104 -63
- package/dist/base.d.ts +22 -1
- package/dist/base.js +161 -58
- package/dist/common.d.ts +1 -1
- package/dist/common.js +1 -0
- package/dist/configuration.d.ts +10 -2
- package/dist/configuration.js +1 -0
- package/dist/models/create-ingest-run-async-request-dto.d.ts +1 -0
- package/dist/models/create-ingest-run-async-request-dto.js +2 -1
- package/dist/models/create-ingest-run-sync-request-dto.d.ts +1 -0
- package/dist/models/create-ingest-run-sync-request-dto.js +2 -1
- package/dist/models/flush-ingested-data-request-dto.d.ts +1 -0
- package/dist/models/flush-ingested-data-request-dto.js +2 -1
- package/models/create-ingest-run-async-request-dto.ts +2 -1
- package/models/create-ingest-run-sync-request-dto.ts +2 -1
- package/models/flush-ingested-data-request-dto.ts +2 -1
- package/package.json +2 -2
|
@@ -1181,7 +1181,7 @@ export declare class MigrationApi extends BaseAPI {
|
|
|
1181
1181
|
* @throws {RequiredError}
|
|
1182
1182
|
* @memberof MigrationApi
|
|
1183
1183
|
*/
|
|
1184
|
-
cleanupIngestRunAsync(requestParameters: MigrationApiCleanupIngestRunAsyncRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<CleanupIngestRunAsyncResponseClass, any, {}>>;
|
|
1184
|
+
cleanupIngestRunAsync(requestParameters: MigrationApiCleanupIngestRunAsyncRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<CleanupIngestRunAsyncResponseClass, any, {}, any>>;
|
|
1185
1185
|
/**
|
|
1186
1186
|
* This will start synchronous ingest run cleanup. **Required Permissions** \"migration.ingest-runs.*\"
|
|
1187
1187
|
* @summary Cleans up the ingest run synchronously
|
|
@@ -1190,7 +1190,7 @@ export declare class MigrationApi extends BaseAPI {
|
|
|
1190
1190
|
* @throws {RequiredError}
|
|
1191
1191
|
* @memberof MigrationApi
|
|
1192
1192
|
*/
|
|
1193
|
-
cleanupIngestRunSync(requestParameters: MigrationApiCleanupIngestRunSyncRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<CleanupIngestRunSyncResponseClass, any, {}>>;
|
|
1193
|
+
cleanupIngestRunSync(requestParameters: MigrationApiCleanupIngestRunSyncRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<CleanupIngestRunSyncResponseClass, any, {}, any>>;
|
|
1194
1194
|
/**
|
|
1195
1195
|
* This will start asynchronous ingest run. **Required Permissions** \"migration.ingest-runs.*\"
|
|
1196
1196
|
* @summary Create the Async ingest run
|
|
@@ -1199,7 +1199,7 @@ export declare class MigrationApi extends BaseAPI {
|
|
|
1199
1199
|
* @throws {RequiredError}
|
|
1200
1200
|
* @memberof MigrationApi
|
|
1201
1201
|
*/
|
|
1202
|
-
createIngestRunAsync(requestParameters: MigrationApiCreateIngestRunAsyncRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<CreateIngestRunAsyncResponseClass, any, {}>>;
|
|
1202
|
+
createIngestRunAsync(requestParameters: MigrationApiCreateIngestRunAsyncRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<CreateIngestRunAsyncResponseClass, any, {}, any>>;
|
|
1203
1203
|
/**
|
|
1204
1204
|
* This will start synchronous ingest run. **Required Permissions** \"migration.ingest-runs.*\"
|
|
1205
1205
|
* @summary Create the Sync ingest run
|
|
@@ -1208,7 +1208,7 @@ export declare class MigrationApi extends BaseAPI {
|
|
|
1208
1208
|
* @throws {RequiredError}
|
|
1209
1209
|
* @memberof MigrationApi
|
|
1210
1210
|
*/
|
|
1211
|
-
createIngestRunSync(requestParameters: MigrationApiCreateIngestRunSyncRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<CreateIngestRunSyncResponseClass, any, {}>>;
|
|
1211
|
+
createIngestRunSync(requestParameters: MigrationApiCreateIngestRunSyncRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<CreateIngestRunSyncResponseClass, any, {}, any>>;
|
|
1212
1212
|
/**
|
|
1213
1213
|
* This will start synchronous ingest flush. **Required Permissions** \"migration.ingest-flushes.*\"
|
|
1214
1214
|
* @summary Create the Sync ingest flush
|
|
@@ -1217,7 +1217,7 @@ export declare class MigrationApi extends BaseAPI {
|
|
|
1217
1217
|
* @throws {RequiredError}
|
|
1218
1218
|
* @memberof MigrationApi
|
|
1219
1219
|
*/
|
|
1220
|
-
flushIngestedDataAsync(requestParameters: MigrationApiFlushIngestedDataAsyncRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<FlushIngestedDataResponseClass, any, {}>>;
|
|
1220
|
+
flushIngestedDataAsync(requestParameters: MigrationApiFlushIngestedDataAsyncRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<FlushIngestedDataResponseClass, any, {}, any>>;
|
|
1221
1221
|
/**
|
|
1222
1222
|
* This will start synchronous ingest flush. **Required Permissions** \"migration.ingest-flushes.*\"
|
|
1223
1223
|
* @summary Create the Sync ingest flush
|
|
@@ -1226,7 +1226,7 @@ export declare class MigrationApi extends BaseAPI {
|
|
|
1226
1226
|
* @throws {RequiredError}
|
|
1227
1227
|
* @memberof MigrationApi
|
|
1228
1228
|
*/
|
|
1229
|
-
flushIngestedDataSync(requestParameters: MigrationApiFlushIngestedDataSyncRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<FlushIngestedDataResponseClass, any, {}>>;
|
|
1229
|
+
flushIngestedDataSync(requestParameters: MigrationApiFlushIngestedDataSyncRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<FlushIngestedDataResponseClass, any, {}, any>>;
|
|
1230
1230
|
/**
|
|
1231
1231
|
* Retrieves the details of the ingest flush that was previously created. Supply the unique ingest flush code that was returned when you created it and Emil Api will return the corresponding ingest flush information. **Required Permissions** \"migration.ingest-flushes.view\"
|
|
1232
1232
|
* @summary Retrieve the ingest flush
|
|
@@ -1235,7 +1235,7 @@ export declare class MigrationApi extends BaseAPI {
|
|
|
1235
1235
|
* @throws {RequiredError}
|
|
1236
1236
|
* @memberof MigrationApi
|
|
1237
1237
|
*/
|
|
1238
|
-
getIngestFlush(requestParameters: MigrationApiGetIngestFlushRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<GetIngestFlushResponseClass, any, {}>>;
|
|
1238
|
+
getIngestFlush(requestParameters: MigrationApiGetIngestFlushRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<GetIngestFlushResponseClass, any, {}, any>>;
|
|
1239
1239
|
/**
|
|
1240
1240
|
* Retrieves the details of the ingest run that was previously created. Supply the unique ingest run code that was returned when you created it and Emil Api will return the corresponding ingest run information. **Required Permissions** \"migration.ingest-runs.view\"
|
|
1241
1241
|
* @summary Retrieve the ingest run
|
|
@@ -1244,7 +1244,7 @@ export declare class MigrationApi extends BaseAPI {
|
|
|
1244
1244
|
* @throws {RequiredError}
|
|
1245
1245
|
* @memberof MigrationApi
|
|
1246
1246
|
*/
|
|
1247
|
-
getIngestRun(requestParameters: MigrationApiGetIngestRunRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<GetIngestRunResponseClass, any, {}>>;
|
|
1247
|
+
getIngestRun(requestParameters: MigrationApiGetIngestRunRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<GetIngestRunResponseClass, any, {}, any>>;
|
|
1248
1248
|
/**
|
|
1249
1249
|
* Retrieves the details of the JSON schemas that was previously created. Supply the unique JSON schemas code that was returned when you created it and Emil Api will return the corresponding JSON schemas information. **Required Permissions** \"migration.json-schemas.view\"
|
|
1250
1250
|
* @summary Retrieve the JSON schemas
|
|
@@ -1253,7 +1253,7 @@ export declare class MigrationApi extends BaseAPI {
|
|
|
1253
1253
|
* @throws {RequiredError}
|
|
1254
1254
|
* @memberof MigrationApi
|
|
1255
1255
|
*/
|
|
1256
|
-
getJsonSchemas(requestParameters: MigrationApiGetJsonSchemasRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<GetJsonSchemasResponseClass, any, {}>>;
|
|
1256
|
+
getJsonSchemas(requestParameters: MigrationApiGetJsonSchemasRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<GetJsonSchemasResponseClass, any, {}, any>>;
|
|
1257
1257
|
/**
|
|
1258
1258
|
* Returns a list of entity mappings you have previously created. The entity mappings are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation. **Required Permissions** \"migration.ingest-runs.view\"
|
|
1259
1259
|
* @summary List entity mappings
|
|
@@ -1262,7 +1262,7 @@ export declare class MigrationApi extends BaseAPI {
|
|
|
1262
1262
|
* @throws {RequiredError}
|
|
1263
1263
|
* @memberof MigrationApi
|
|
1264
1264
|
*/
|
|
1265
|
-
listEntityMappings(requestParameters?: MigrationApiListEntityMappingsRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<ListEntityMappingsResponseClass, any, {}>>;
|
|
1265
|
+
listEntityMappings(requestParameters?: MigrationApiListEntityMappingsRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<ListEntityMappingsResponseClass, any, {}, any>>;
|
|
1266
1266
|
/**
|
|
1267
1267
|
* Returns a list of ingest flushes you have previously created. The ingest flushes are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation. **Required Permissions** \"migration.ingest-flushes.view\"
|
|
1268
1268
|
* @summary List ingest flushes
|
|
@@ -1271,7 +1271,7 @@ export declare class MigrationApi extends BaseAPI {
|
|
|
1271
1271
|
* @throws {RequiredError}
|
|
1272
1272
|
* @memberof MigrationApi
|
|
1273
1273
|
*/
|
|
1274
|
-
listIngestFlushes(requestParameters?: MigrationApiListIngestFlushesRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<ListIngestFlushesResponseClass, any, {}>>;
|
|
1274
|
+
listIngestFlushes(requestParameters?: MigrationApiListIngestFlushesRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<ListIngestFlushesResponseClass, any, {}, any>>;
|
|
1275
1275
|
/**
|
|
1276
1276
|
* Returns a list of ingest run batches you have previously created. The ingest run batches are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation. **Required Permissions** \"migration.ingest-runs.view\"
|
|
1277
1277
|
* @summary List ingest run batches
|
|
@@ -1280,7 +1280,7 @@ export declare class MigrationApi extends BaseAPI {
|
|
|
1280
1280
|
* @throws {RequiredError}
|
|
1281
1281
|
* @memberof MigrationApi
|
|
1282
1282
|
*/
|
|
1283
|
-
listIngestRunBatches(requestParameters: MigrationApiListIngestRunBatchesRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<ListIngestRunBatchesResponseClass, any, {}>>;
|
|
1283
|
+
listIngestRunBatches(requestParameters: MigrationApiListIngestRunBatchesRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<ListIngestRunBatchesResponseClass, any, {}, any>>;
|
|
1284
1284
|
/**
|
|
1285
1285
|
* Returns a list of ingest run records you have previously created. The ingest run records are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation. **Required Permissions** \"migration.ingest-runs.view\"
|
|
1286
1286
|
* @summary List ingest run records
|
|
@@ -1289,7 +1289,7 @@ export declare class MigrationApi extends BaseAPI {
|
|
|
1289
1289
|
* @throws {RequiredError}
|
|
1290
1290
|
* @memberof MigrationApi
|
|
1291
1291
|
*/
|
|
1292
|
-
listIngestRunRecords(requestParameters: MigrationApiListIngestRunRecordsRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<ListIngestRunRecordsResponseClass, any, {}>>;
|
|
1292
|
+
listIngestRunRecords(requestParameters: MigrationApiListIngestRunRecordsRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<ListIngestRunRecordsResponseClass, any, {}, any>>;
|
|
1293
1293
|
/**
|
|
1294
1294
|
* Returns a list of ingest runs you have previously created. The ingest runs are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation. **Required Permissions** \"migration.ingest-runs.view\"
|
|
1295
1295
|
* @summary List ingest runs
|
|
@@ -1298,7 +1298,7 @@ export declare class MigrationApi extends BaseAPI {
|
|
|
1298
1298
|
* @throws {RequiredError}
|
|
1299
1299
|
* @memberof MigrationApi
|
|
1300
1300
|
*/
|
|
1301
|
-
listIngestRuns(requestParameters?: MigrationApiListIngestRunsRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<ListIngestRunsResponseClass, any, {}>>;
|
|
1301
|
+
listIngestRuns(requestParameters?: MigrationApiListIngestRunsRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<ListIngestRunsResponseClass, any, {}, any>>;
|
|
1302
1302
|
/**
|
|
1303
1303
|
* This will stop the running ingest flush. **Required Permissions** \"migration.ingest-flushes.*\"
|
|
1304
1304
|
* @summary Stops the ingest flush
|
|
@@ -1307,7 +1307,7 @@ export declare class MigrationApi extends BaseAPI {
|
|
|
1307
1307
|
* @throws {RequiredError}
|
|
1308
1308
|
* @memberof MigrationApi
|
|
1309
1309
|
*/
|
|
1310
|
-
stopIngestFlush(requestParameters: MigrationApiStopIngestFlushRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<StopIngestFlushResponseClass, any, {}>>;
|
|
1310
|
+
stopIngestFlush(requestParameters: MigrationApiStopIngestFlushRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<StopIngestFlushResponseClass, any, {}, any>>;
|
|
1311
1311
|
/**
|
|
1312
1312
|
* This will stop the running ingest run. **Required Permissions** \"migration.ingest-runs.*\"
|
|
1313
1313
|
* @summary Stops the ingest run
|
|
@@ -1316,7 +1316,7 @@ export declare class MigrationApi extends BaseAPI {
|
|
|
1316
1316
|
* @throws {RequiredError}
|
|
1317
1317
|
* @memberof MigrationApi
|
|
1318
1318
|
*/
|
|
1319
|
-
stopIngestRun(requestParameters: MigrationApiStopIngestRunRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<StopIngestRunResponseClass, any, {}>>;
|
|
1319
|
+
stopIngestRun(requestParameters: MigrationApiStopIngestRunRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<StopIngestRunResponseClass, any, {}, any>>;
|
|
1320
1320
|
/**
|
|
1321
1321
|
* This will stop the ingest run cleanup. **Required Permissions** \"migration.ingest-runs.*\"
|
|
1322
1322
|
* @summary Stops the ingest run cleanup
|
|
@@ -1325,5 +1325,5 @@ export declare class MigrationApi extends BaseAPI {
|
|
|
1325
1325
|
* @throws {RequiredError}
|
|
1326
1326
|
* @memberof MigrationApi
|
|
1327
1327
|
*/
|
|
1328
|
-
stopIngestRunCleanup(requestParameters: MigrationApiStopIngestRunCleanupRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<StopIngestRunResponseClass, any, {}>>;
|
|
1328
|
+
stopIngestRunCleanup(requestParameters: MigrationApiStopIngestRunCleanupRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<StopIngestRunResponseClass, any, {}, any>>;
|
|
1329
1329
|
}
|
|
@@ -104,7 +104,7 @@ var MigrationApiAxiosParamCreator = function (configuration) {
|
|
|
104
104
|
cleanupIngestRunAsync: function (code, body, authorization, options) {
|
|
105
105
|
if (options === void 0) { options = {}; }
|
|
106
106
|
return __awaiter(_this, void 0, void 0, function () {
|
|
107
|
-
var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
107
|
+
var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, authorizationValue, headersFromBaseOptions;
|
|
108
108
|
return __generator(this, function (_a) {
|
|
109
109
|
switch (_a.label) {
|
|
110
110
|
case 0:
|
|
@@ -124,13 +124,16 @@ var MigrationApiAxiosParamCreator = function (configuration) {
|
|
|
124
124
|
localVarQueryParameter = {};
|
|
125
125
|
// authentication bearer required
|
|
126
126
|
// http bearer authentication required
|
|
127
|
-
return [4 /*yield*/, (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration)
|
|
127
|
+
return [4 /*yield*/, (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration)
|
|
128
|
+
// Only Authorization falls back to the configured token; an empty value is never sent.
|
|
129
|
+
];
|
|
128
130
|
case 1:
|
|
129
131
|
// authentication bearer required
|
|
130
132
|
// http bearer authentication required
|
|
131
133
|
_a.sent();
|
|
132
|
-
|
|
133
|
-
|
|
134
|
+
authorizationValue = 'Authorization'.toLowerCase() === 'authorization' ? (authorization || baseAccessToken) : authorization;
|
|
135
|
+
if (authorizationValue) {
|
|
136
|
+
localVarHeaderParameter['Authorization'] = String(authorizationValue);
|
|
134
137
|
}
|
|
135
138
|
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
136
139
|
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
@@ -157,7 +160,7 @@ var MigrationApiAxiosParamCreator = function (configuration) {
|
|
|
157
160
|
cleanupIngestRunSync: function (code, body, authorization, options) {
|
|
158
161
|
if (options === void 0) { options = {}; }
|
|
159
162
|
return __awaiter(_this, void 0, void 0, function () {
|
|
160
|
-
var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
163
|
+
var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, authorizationValue, headersFromBaseOptions;
|
|
161
164
|
return __generator(this, function (_a) {
|
|
162
165
|
switch (_a.label) {
|
|
163
166
|
case 0:
|
|
@@ -177,13 +180,16 @@ var MigrationApiAxiosParamCreator = function (configuration) {
|
|
|
177
180
|
localVarQueryParameter = {};
|
|
178
181
|
// authentication bearer required
|
|
179
182
|
// http bearer authentication required
|
|
180
|
-
return [4 /*yield*/, (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration)
|
|
183
|
+
return [4 /*yield*/, (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration)
|
|
184
|
+
// Only Authorization falls back to the configured token; an empty value is never sent.
|
|
185
|
+
];
|
|
181
186
|
case 1:
|
|
182
187
|
// authentication bearer required
|
|
183
188
|
// http bearer authentication required
|
|
184
189
|
_a.sent();
|
|
185
|
-
|
|
186
|
-
|
|
190
|
+
authorizationValue = 'Authorization'.toLowerCase() === 'authorization' ? (authorization || baseAccessToken) : authorization;
|
|
191
|
+
if (authorizationValue) {
|
|
192
|
+
localVarHeaderParameter['Authorization'] = String(authorizationValue);
|
|
187
193
|
}
|
|
188
194
|
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
189
195
|
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
@@ -209,7 +215,7 @@ var MigrationApiAxiosParamCreator = function (configuration) {
|
|
|
209
215
|
createIngestRunAsync: function (createIngestRunAsyncRequestDto, authorization, options) {
|
|
210
216
|
if (options === void 0) { options = {}; }
|
|
211
217
|
return __awaiter(_this, void 0, void 0, function () {
|
|
212
|
-
var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
218
|
+
var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, authorizationValue, headersFromBaseOptions;
|
|
213
219
|
return __generator(this, function (_a) {
|
|
214
220
|
switch (_a.label) {
|
|
215
221
|
case 0:
|
|
@@ -226,13 +232,16 @@ var MigrationApiAxiosParamCreator = function (configuration) {
|
|
|
226
232
|
localVarQueryParameter = {};
|
|
227
233
|
// authentication bearer required
|
|
228
234
|
// http bearer authentication required
|
|
229
|
-
return [4 /*yield*/, (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration)
|
|
235
|
+
return [4 /*yield*/, (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration)
|
|
236
|
+
// Only Authorization falls back to the configured token; an empty value is never sent.
|
|
237
|
+
];
|
|
230
238
|
case 1:
|
|
231
239
|
// authentication bearer required
|
|
232
240
|
// http bearer authentication required
|
|
233
241
|
_a.sent();
|
|
234
|
-
|
|
235
|
-
|
|
242
|
+
authorizationValue = 'Authorization'.toLowerCase() === 'authorization' ? (authorization || baseAccessToken) : authorization;
|
|
243
|
+
if (authorizationValue) {
|
|
244
|
+
localVarHeaderParameter['Authorization'] = String(authorizationValue);
|
|
236
245
|
}
|
|
237
246
|
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
238
247
|
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
@@ -258,7 +267,7 @@ var MigrationApiAxiosParamCreator = function (configuration) {
|
|
|
258
267
|
createIngestRunSync: function (createIngestRunSyncRequestDto, authorization, options) {
|
|
259
268
|
if (options === void 0) { options = {}; }
|
|
260
269
|
return __awaiter(_this, void 0, void 0, function () {
|
|
261
|
-
var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
270
|
+
var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, authorizationValue, headersFromBaseOptions;
|
|
262
271
|
return __generator(this, function (_a) {
|
|
263
272
|
switch (_a.label) {
|
|
264
273
|
case 0:
|
|
@@ -275,13 +284,16 @@ var MigrationApiAxiosParamCreator = function (configuration) {
|
|
|
275
284
|
localVarQueryParameter = {};
|
|
276
285
|
// authentication bearer required
|
|
277
286
|
// http bearer authentication required
|
|
278
|
-
return [4 /*yield*/, (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration)
|
|
287
|
+
return [4 /*yield*/, (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration)
|
|
288
|
+
// Only Authorization falls back to the configured token; an empty value is never sent.
|
|
289
|
+
];
|
|
279
290
|
case 1:
|
|
280
291
|
// authentication bearer required
|
|
281
292
|
// http bearer authentication required
|
|
282
293
|
_a.sent();
|
|
283
|
-
|
|
284
|
-
|
|
294
|
+
authorizationValue = 'Authorization'.toLowerCase() === 'authorization' ? (authorization || baseAccessToken) : authorization;
|
|
295
|
+
if (authorizationValue) {
|
|
296
|
+
localVarHeaderParameter['Authorization'] = String(authorizationValue);
|
|
285
297
|
}
|
|
286
298
|
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
287
299
|
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
@@ -307,7 +319,7 @@ var MigrationApiAxiosParamCreator = function (configuration) {
|
|
|
307
319
|
flushIngestedDataAsync: function (flushIngestedDataRequestDto, authorization, options) {
|
|
308
320
|
if (options === void 0) { options = {}; }
|
|
309
321
|
return __awaiter(_this, void 0, void 0, function () {
|
|
310
|
-
var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
322
|
+
var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, authorizationValue, headersFromBaseOptions;
|
|
311
323
|
return __generator(this, function (_a) {
|
|
312
324
|
switch (_a.label) {
|
|
313
325
|
case 0:
|
|
@@ -324,13 +336,16 @@ var MigrationApiAxiosParamCreator = function (configuration) {
|
|
|
324
336
|
localVarQueryParameter = {};
|
|
325
337
|
// authentication bearer required
|
|
326
338
|
// http bearer authentication required
|
|
327
|
-
return [4 /*yield*/, (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration)
|
|
339
|
+
return [4 /*yield*/, (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration)
|
|
340
|
+
// Only Authorization falls back to the configured token; an empty value is never sent.
|
|
341
|
+
];
|
|
328
342
|
case 1:
|
|
329
343
|
// authentication bearer required
|
|
330
344
|
// http bearer authentication required
|
|
331
345
|
_a.sent();
|
|
332
|
-
|
|
333
|
-
|
|
346
|
+
authorizationValue = 'Authorization'.toLowerCase() === 'authorization' ? (authorization || baseAccessToken) : authorization;
|
|
347
|
+
if (authorizationValue) {
|
|
348
|
+
localVarHeaderParameter['Authorization'] = String(authorizationValue);
|
|
334
349
|
}
|
|
335
350
|
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
336
351
|
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
@@ -356,7 +371,7 @@ var MigrationApiAxiosParamCreator = function (configuration) {
|
|
|
356
371
|
flushIngestedDataSync: function (flushIngestedDataRequestDto, authorization, options) {
|
|
357
372
|
if (options === void 0) { options = {}; }
|
|
358
373
|
return __awaiter(_this, void 0, void 0, function () {
|
|
359
|
-
var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
374
|
+
var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, authorizationValue, headersFromBaseOptions;
|
|
360
375
|
return __generator(this, function (_a) {
|
|
361
376
|
switch (_a.label) {
|
|
362
377
|
case 0:
|
|
@@ -373,13 +388,16 @@ var MigrationApiAxiosParamCreator = function (configuration) {
|
|
|
373
388
|
localVarQueryParameter = {};
|
|
374
389
|
// authentication bearer required
|
|
375
390
|
// http bearer authentication required
|
|
376
|
-
return [4 /*yield*/, (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration)
|
|
391
|
+
return [4 /*yield*/, (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration)
|
|
392
|
+
// Only Authorization falls back to the configured token; an empty value is never sent.
|
|
393
|
+
];
|
|
377
394
|
case 1:
|
|
378
395
|
// authentication bearer required
|
|
379
396
|
// http bearer authentication required
|
|
380
397
|
_a.sent();
|
|
381
|
-
|
|
382
|
-
|
|
398
|
+
authorizationValue = 'Authorization'.toLowerCase() === 'authorization' ? (authorization || baseAccessToken) : authorization;
|
|
399
|
+
if (authorizationValue) {
|
|
400
|
+
localVarHeaderParameter['Authorization'] = String(authorizationValue);
|
|
383
401
|
}
|
|
384
402
|
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
385
403
|
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
@@ -405,7 +423,7 @@ var MigrationApiAxiosParamCreator = function (configuration) {
|
|
|
405
423
|
getIngestFlush: function (code, authorization, options) {
|
|
406
424
|
if (options === void 0) { options = {}; }
|
|
407
425
|
return __awaiter(_this, void 0, void 0, function () {
|
|
408
|
-
var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
426
|
+
var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, authorizationValue, headersFromBaseOptions;
|
|
409
427
|
return __generator(this, function (_a) {
|
|
410
428
|
switch (_a.label) {
|
|
411
429
|
case 0:
|
|
@@ -423,13 +441,16 @@ var MigrationApiAxiosParamCreator = function (configuration) {
|
|
|
423
441
|
localVarQueryParameter = {};
|
|
424
442
|
// authentication bearer required
|
|
425
443
|
// http bearer authentication required
|
|
426
|
-
return [4 /*yield*/, (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration)
|
|
444
|
+
return [4 /*yield*/, (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration)
|
|
445
|
+
// Only Authorization falls back to the configured token; an empty value is never sent.
|
|
446
|
+
];
|
|
427
447
|
case 1:
|
|
428
448
|
// authentication bearer required
|
|
429
449
|
// http bearer authentication required
|
|
430
450
|
_a.sent();
|
|
431
|
-
|
|
432
|
-
|
|
451
|
+
authorizationValue = 'Authorization'.toLowerCase() === 'authorization' ? (authorization || baseAccessToken) : authorization;
|
|
452
|
+
if (authorizationValue) {
|
|
453
|
+
localVarHeaderParameter['Authorization'] = String(authorizationValue);
|
|
433
454
|
}
|
|
434
455
|
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
435
456
|
headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
@@ -453,7 +474,7 @@ var MigrationApiAxiosParamCreator = function (configuration) {
|
|
|
453
474
|
getIngestRun: function (code, authorization, options) {
|
|
454
475
|
if (options === void 0) { options = {}; }
|
|
455
476
|
return __awaiter(_this, void 0, void 0, function () {
|
|
456
|
-
var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
477
|
+
var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, authorizationValue, headersFromBaseOptions;
|
|
457
478
|
return __generator(this, function (_a) {
|
|
458
479
|
switch (_a.label) {
|
|
459
480
|
case 0:
|
|
@@ -471,13 +492,16 @@ var MigrationApiAxiosParamCreator = function (configuration) {
|
|
|
471
492
|
localVarQueryParameter = {};
|
|
472
493
|
// authentication bearer required
|
|
473
494
|
// http bearer authentication required
|
|
474
|
-
return [4 /*yield*/, (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration)
|
|
495
|
+
return [4 /*yield*/, (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration)
|
|
496
|
+
// Only Authorization falls back to the configured token; an empty value is never sent.
|
|
497
|
+
];
|
|
475
498
|
case 1:
|
|
476
499
|
// authentication bearer required
|
|
477
500
|
// http bearer authentication required
|
|
478
501
|
_a.sent();
|
|
479
|
-
|
|
480
|
-
|
|
502
|
+
authorizationValue = 'Authorization'.toLowerCase() === 'authorization' ? (authorization || baseAccessToken) : authorization;
|
|
503
|
+
if (authorizationValue) {
|
|
504
|
+
localVarHeaderParameter['Authorization'] = String(authorizationValue);
|
|
481
505
|
}
|
|
482
506
|
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
483
507
|
headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
@@ -501,7 +525,7 @@ var MigrationApiAxiosParamCreator = function (configuration) {
|
|
|
501
525
|
getJsonSchemas: function (sourceEntity, authorization, options) {
|
|
502
526
|
if (options === void 0) { options = {}; }
|
|
503
527
|
return __awaiter(_this, void 0, void 0, function () {
|
|
504
|
-
var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
528
|
+
var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, authorizationValue, headersFromBaseOptions;
|
|
505
529
|
return __generator(this, function (_a) {
|
|
506
530
|
switch (_a.label) {
|
|
507
531
|
case 0:
|
|
@@ -519,13 +543,16 @@ var MigrationApiAxiosParamCreator = function (configuration) {
|
|
|
519
543
|
localVarQueryParameter = {};
|
|
520
544
|
// authentication bearer required
|
|
521
545
|
// http bearer authentication required
|
|
522
|
-
return [4 /*yield*/, (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration)
|
|
546
|
+
return [4 /*yield*/, (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration)
|
|
547
|
+
// Only Authorization falls back to the configured token; an empty value is never sent.
|
|
548
|
+
];
|
|
523
549
|
case 1:
|
|
524
550
|
// authentication bearer required
|
|
525
551
|
// http bearer authentication required
|
|
526
552
|
_a.sent();
|
|
527
|
-
|
|
528
|
-
|
|
553
|
+
authorizationValue = 'Authorization'.toLowerCase() === 'authorization' ? (authorization || baseAccessToken) : authorization;
|
|
554
|
+
if (authorizationValue) {
|
|
555
|
+
localVarHeaderParameter['Authorization'] = String(authorizationValue);
|
|
529
556
|
}
|
|
530
557
|
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
531
558
|
headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
@@ -555,7 +582,7 @@ var MigrationApiAxiosParamCreator = function (configuration) {
|
|
|
555
582
|
listEntityMappings: function (authorization, pageSize, pageToken, filter, search, order, expand, filters, options) {
|
|
556
583
|
if (options === void 0) { options = {}; }
|
|
557
584
|
return __awaiter(_this, void 0, void 0, function () {
|
|
558
|
-
var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
585
|
+
var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, authorizationValue, headersFromBaseOptions;
|
|
559
586
|
return __generator(this, function (_a) {
|
|
560
587
|
switch (_a.label) {
|
|
561
588
|
case 0:
|
|
@@ -596,8 +623,9 @@ var MigrationApiAxiosParamCreator = function (configuration) {
|
|
|
596
623
|
if (filters !== undefined) {
|
|
597
624
|
localVarQueryParameter['filters'] = filters;
|
|
598
625
|
}
|
|
599
|
-
|
|
600
|
-
|
|
626
|
+
authorizationValue = 'Authorization'.toLowerCase() === 'authorization' ? (authorization || baseAccessToken) : authorization;
|
|
627
|
+
if (authorizationValue) {
|
|
628
|
+
localVarHeaderParameter['Authorization'] = String(authorizationValue);
|
|
601
629
|
}
|
|
602
630
|
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
603
631
|
headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
@@ -627,7 +655,7 @@ var MigrationApiAxiosParamCreator = function (configuration) {
|
|
|
627
655
|
listIngestFlushes: function (authorization, pageSize, pageToken, filter, search, order, expand, filters, options) {
|
|
628
656
|
if (options === void 0) { options = {}; }
|
|
629
657
|
return __awaiter(_this, void 0, void 0, function () {
|
|
630
|
-
var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
658
|
+
var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, authorizationValue, headersFromBaseOptions;
|
|
631
659
|
return __generator(this, function (_a) {
|
|
632
660
|
switch (_a.label) {
|
|
633
661
|
case 0:
|
|
@@ -668,8 +696,9 @@ var MigrationApiAxiosParamCreator = function (configuration) {
|
|
|
668
696
|
if (filters !== undefined) {
|
|
669
697
|
localVarQueryParameter['filters'] = filters;
|
|
670
698
|
}
|
|
671
|
-
|
|
672
|
-
|
|
699
|
+
authorizationValue = 'Authorization'.toLowerCase() === 'authorization' ? (authorization || baseAccessToken) : authorization;
|
|
700
|
+
if (authorizationValue) {
|
|
701
|
+
localVarHeaderParameter['Authorization'] = String(authorizationValue);
|
|
673
702
|
}
|
|
674
703
|
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
675
704
|
headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
@@ -700,7 +729,7 @@ var MigrationApiAxiosParamCreator = function (configuration) {
|
|
|
700
729
|
listIngestRunBatches: function (code, authorization, pageSize, pageToken, filter, search, order, expand, filters, options) {
|
|
701
730
|
if (options === void 0) { options = {}; }
|
|
702
731
|
return __awaiter(_this, void 0, void 0, function () {
|
|
703
|
-
var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
732
|
+
var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, authorizationValue, headersFromBaseOptions;
|
|
704
733
|
return __generator(this, function (_a) {
|
|
705
734
|
switch (_a.label) {
|
|
706
735
|
case 0:
|
|
@@ -744,8 +773,9 @@ var MigrationApiAxiosParamCreator = function (configuration) {
|
|
|
744
773
|
if (filters !== undefined) {
|
|
745
774
|
localVarQueryParameter['filters'] = filters;
|
|
746
775
|
}
|
|
747
|
-
|
|
748
|
-
|
|
776
|
+
authorizationValue = 'Authorization'.toLowerCase() === 'authorization' ? (authorization || baseAccessToken) : authorization;
|
|
777
|
+
if (authorizationValue) {
|
|
778
|
+
localVarHeaderParameter['Authorization'] = String(authorizationValue);
|
|
749
779
|
}
|
|
750
780
|
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
751
781
|
headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
@@ -776,7 +806,7 @@ var MigrationApiAxiosParamCreator = function (configuration) {
|
|
|
776
806
|
listIngestRunRecords: function (code, authorization, pageSize, pageToken, filter, search, order, expand, filters, options) {
|
|
777
807
|
if (options === void 0) { options = {}; }
|
|
778
808
|
return __awaiter(_this, void 0, void 0, function () {
|
|
779
|
-
var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
809
|
+
var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, authorizationValue, headersFromBaseOptions;
|
|
780
810
|
return __generator(this, function (_a) {
|
|
781
811
|
switch (_a.label) {
|
|
782
812
|
case 0:
|
|
@@ -820,8 +850,9 @@ var MigrationApiAxiosParamCreator = function (configuration) {
|
|
|
820
850
|
if (filters !== undefined) {
|
|
821
851
|
localVarQueryParameter['filters'] = filters;
|
|
822
852
|
}
|
|
823
|
-
|
|
824
|
-
|
|
853
|
+
authorizationValue = 'Authorization'.toLowerCase() === 'authorization' ? (authorization || baseAccessToken) : authorization;
|
|
854
|
+
if (authorizationValue) {
|
|
855
|
+
localVarHeaderParameter['Authorization'] = String(authorizationValue);
|
|
825
856
|
}
|
|
826
857
|
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
827
858
|
headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
@@ -851,7 +882,7 @@ var MigrationApiAxiosParamCreator = function (configuration) {
|
|
|
851
882
|
listIngestRuns: function (authorization, pageSize, pageToken, filter, search, order, expand, filters, options) {
|
|
852
883
|
if (options === void 0) { options = {}; }
|
|
853
884
|
return __awaiter(_this, void 0, void 0, function () {
|
|
854
|
-
var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
885
|
+
var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, authorizationValue, headersFromBaseOptions;
|
|
855
886
|
return __generator(this, function (_a) {
|
|
856
887
|
switch (_a.label) {
|
|
857
888
|
case 0:
|
|
@@ -892,8 +923,9 @@ var MigrationApiAxiosParamCreator = function (configuration) {
|
|
|
892
923
|
if (filters !== undefined) {
|
|
893
924
|
localVarQueryParameter['filters'] = filters;
|
|
894
925
|
}
|
|
895
|
-
|
|
896
|
-
|
|
926
|
+
authorizationValue = 'Authorization'.toLowerCase() === 'authorization' ? (authorization || baseAccessToken) : authorization;
|
|
927
|
+
if (authorizationValue) {
|
|
928
|
+
localVarHeaderParameter['Authorization'] = String(authorizationValue);
|
|
897
929
|
}
|
|
898
930
|
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
899
931
|
headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
@@ -918,7 +950,7 @@ var MigrationApiAxiosParamCreator = function (configuration) {
|
|
|
918
950
|
stopIngestFlush: function (code, stopIngestFlushRequestDto, authorization, options) {
|
|
919
951
|
if (options === void 0) { options = {}; }
|
|
920
952
|
return __awaiter(_this, void 0, void 0, function () {
|
|
921
|
-
var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
953
|
+
var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, authorizationValue, headersFromBaseOptions;
|
|
922
954
|
return __generator(this, function (_a) {
|
|
923
955
|
switch (_a.label) {
|
|
924
956
|
case 0:
|
|
@@ -938,13 +970,16 @@ var MigrationApiAxiosParamCreator = function (configuration) {
|
|
|
938
970
|
localVarQueryParameter = {};
|
|
939
971
|
// authentication bearer required
|
|
940
972
|
// http bearer authentication required
|
|
941
|
-
return [4 /*yield*/, (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration)
|
|
973
|
+
return [4 /*yield*/, (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration)
|
|
974
|
+
// Only Authorization falls back to the configured token; an empty value is never sent.
|
|
975
|
+
];
|
|
942
976
|
case 1:
|
|
943
977
|
// authentication bearer required
|
|
944
978
|
// http bearer authentication required
|
|
945
979
|
_a.sent();
|
|
946
|
-
|
|
947
|
-
|
|
980
|
+
authorizationValue = 'Authorization'.toLowerCase() === 'authorization' ? (authorization || baseAccessToken) : authorization;
|
|
981
|
+
if (authorizationValue) {
|
|
982
|
+
localVarHeaderParameter['Authorization'] = String(authorizationValue);
|
|
948
983
|
}
|
|
949
984
|
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
950
985
|
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
@@ -971,7 +1006,7 @@ var MigrationApiAxiosParamCreator = function (configuration) {
|
|
|
971
1006
|
stopIngestRun: function (code, stopIngestRunRequestDto, authorization, options) {
|
|
972
1007
|
if (options === void 0) { options = {}; }
|
|
973
1008
|
return __awaiter(_this, void 0, void 0, function () {
|
|
974
|
-
var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
1009
|
+
var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, authorizationValue, headersFromBaseOptions;
|
|
975
1010
|
return __generator(this, function (_a) {
|
|
976
1011
|
switch (_a.label) {
|
|
977
1012
|
case 0:
|
|
@@ -991,13 +1026,16 @@ var MigrationApiAxiosParamCreator = function (configuration) {
|
|
|
991
1026
|
localVarQueryParameter = {};
|
|
992
1027
|
// authentication bearer required
|
|
993
1028
|
// http bearer authentication required
|
|
994
|
-
return [4 /*yield*/, (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration)
|
|
1029
|
+
return [4 /*yield*/, (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration)
|
|
1030
|
+
// Only Authorization falls back to the configured token; an empty value is never sent.
|
|
1031
|
+
];
|
|
995
1032
|
case 1:
|
|
996
1033
|
// authentication bearer required
|
|
997
1034
|
// http bearer authentication required
|
|
998
1035
|
_a.sent();
|
|
999
|
-
|
|
1000
|
-
|
|
1036
|
+
authorizationValue = 'Authorization'.toLowerCase() === 'authorization' ? (authorization || baseAccessToken) : authorization;
|
|
1037
|
+
if (authorizationValue) {
|
|
1038
|
+
localVarHeaderParameter['Authorization'] = String(authorizationValue);
|
|
1001
1039
|
}
|
|
1002
1040
|
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
1003
1041
|
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
@@ -1024,7 +1062,7 @@ var MigrationApiAxiosParamCreator = function (configuration) {
|
|
|
1024
1062
|
stopIngestRunCleanup: function (code, stopIngestRunCleanupRequestDto, authorization, options) {
|
|
1025
1063
|
if (options === void 0) { options = {}; }
|
|
1026
1064
|
return __awaiter(_this, void 0, void 0, function () {
|
|
1027
|
-
var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
1065
|
+
var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, authorizationValue, headersFromBaseOptions;
|
|
1028
1066
|
return __generator(this, function (_a) {
|
|
1029
1067
|
switch (_a.label) {
|
|
1030
1068
|
case 0:
|
|
@@ -1044,13 +1082,16 @@ var MigrationApiAxiosParamCreator = function (configuration) {
|
|
|
1044
1082
|
localVarQueryParameter = {};
|
|
1045
1083
|
// authentication bearer required
|
|
1046
1084
|
// http bearer authentication required
|
|
1047
|
-
return [4 /*yield*/, (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration)
|
|
1085
|
+
return [4 /*yield*/, (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration)
|
|
1086
|
+
// Only Authorization falls back to the configured token; an empty value is never sent.
|
|
1087
|
+
];
|
|
1048
1088
|
case 1:
|
|
1049
1089
|
// authentication bearer required
|
|
1050
1090
|
// http bearer authentication required
|
|
1051
1091
|
_a.sent();
|
|
1052
|
-
|
|
1053
|
-
|
|
1092
|
+
authorizationValue = 'Authorization'.toLowerCase() === 'authorization' ? (authorization || baseAccessToken) : authorization;
|
|
1093
|
+
if (authorizationValue) {
|
|
1094
|
+
localVarHeaderParameter['Authorization'] = String(authorizationValue);
|
|
1054
1095
|
}
|
|
1055
1096
|
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
1056
1097
|
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|