@emilgroup/migration-sdk 0.1.1-beta.2 → 0.1.1-beta.6
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 +8 -0
- package/README.md +2 -2
- package/api/migration-api.ts +640 -19
- package/dist/api/migration-api.d.ts +360 -16
- package/dist/api/migration-api.js +514 -8
- package/dist/models/flush-ingested-data-request-dto.d.ts +24 -0
- package/dist/models/flush-ingested-data-request-dto.js +15 -0
- package/dist/models/flush-ingested-data-response-class.d.ts +25 -0
- package/dist/models/flush-ingested-data-response-class.js +15 -0
- package/dist/models/get-ingest-flush-response-class.d.ts +25 -0
- package/dist/models/get-ingest-flush-response-class.js +15 -0
- package/dist/models/index.d.ts +8 -0
- package/dist/models/index.js +8 -0
- package/dist/models/ingest-flush-class.d.ts +85 -0
- package/dist/models/ingest-flush-class.js +15 -0
- package/dist/models/ingest-flush-entity-class.d.ts +84 -0
- package/dist/models/ingest-flush-entity-class.js +15 -0
- package/dist/models/list-ingest-flushes-response-class.d.ts +43 -0
- package/dist/models/list-ingest-flushes-response-class.js +15 -0
- package/dist/models/stop-ingest-flush-request-dto.d.ts +24 -0
- package/dist/models/stop-ingest-flush-request-dto.js +15 -0
- package/dist/models/stop-ingest-flush-response-class.d.ts +25 -0
- package/dist/models/stop-ingest-flush-response-class.js +15 -0
- package/models/flush-ingested-data-request-dto.ts +30 -0
- package/models/flush-ingested-data-response-class.ts +31 -0
- package/models/get-ingest-flush-response-class.ts +31 -0
- package/models/index.ts +8 -0
- package/models/ingest-flush-class.ts +91 -0
- package/models/ingest-flush-entity-class.ts +90 -0
- package/models/list-ingest-flushes-response-class.ts +49 -0
- package/models/stop-ingest-flush-request-dto.ts +30 -0
- package/models/stop-ingest-flush-response-class.ts +31 -0
- package/package.json +1 -1
|
@@ -296,6 +296,152 @@ var MigrationApiAxiosParamCreator = function (configuration) {
|
|
|
296
296
|
});
|
|
297
297
|
});
|
|
298
298
|
},
|
|
299
|
+
/**
|
|
300
|
+
* This will start synchronous ingest flush. **Required Permissions** \"migration.ingest-flushes.*\"
|
|
301
|
+
* @summary Create the Sync ingest flush
|
|
302
|
+
* @param {FlushIngestedDataRequestDto} flushIngestedDataRequestDto
|
|
303
|
+
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
304
|
+
* @param {*} [options] Override http request option.
|
|
305
|
+
* @throws {RequiredError}
|
|
306
|
+
*/
|
|
307
|
+
flushIngestedDataAsync: function (flushIngestedDataRequestDto, authorization, options) {
|
|
308
|
+
if (options === void 0) { options = {}; }
|
|
309
|
+
return __awaiter(_this, void 0, void 0, function () {
|
|
310
|
+
var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
311
|
+
return __generator(this, function (_a) {
|
|
312
|
+
switch (_a.label) {
|
|
313
|
+
case 0:
|
|
314
|
+
// verify required parameter 'flushIngestedDataRequestDto' is not null or undefined
|
|
315
|
+
(0, common_1.assertParamExists)('flushIngestedDataAsync', 'flushIngestedDataRequestDto', flushIngestedDataRequestDto);
|
|
316
|
+
localVarPath = "/migrationservice/v1/flushes/async";
|
|
317
|
+
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
318
|
+
if (configuration) {
|
|
319
|
+
baseOptions = configuration.baseOptions;
|
|
320
|
+
baseAccessToken = configuration.accessToken;
|
|
321
|
+
}
|
|
322
|
+
localVarRequestOptions = __assign(__assign({ method: 'POST' }, baseOptions), options);
|
|
323
|
+
localVarHeaderParameter = {};
|
|
324
|
+
localVarQueryParameter = {};
|
|
325
|
+
// authentication bearer required
|
|
326
|
+
// http bearer authentication required
|
|
327
|
+
return [4 /*yield*/, (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration)];
|
|
328
|
+
case 1:
|
|
329
|
+
// authentication bearer required
|
|
330
|
+
// http bearer authentication required
|
|
331
|
+
_a.sent();
|
|
332
|
+
if (authorization !== undefined && authorization !== null || baseAccessToken !== undefined && baseAccessToken !== null) {
|
|
333
|
+
localVarHeaderParameter['Authorization'] = String(authorization ? authorization : baseAccessToken);
|
|
334
|
+
}
|
|
335
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
336
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
337
|
+
headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
338
|
+
localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
339
|
+
localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(flushIngestedDataRequestDto, localVarRequestOptions, configuration);
|
|
340
|
+
return [2 /*return*/, {
|
|
341
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
342
|
+
options: localVarRequestOptions,
|
|
343
|
+
}];
|
|
344
|
+
}
|
|
345
|
+
});
|
|
346
|
+
});
|
|
347
|
+
},
|
|
348
|
+
/**
|
|
349
|
+
* This will start synchronous ingest flush. **Required Permissions** \"migration.ingest-flushes.*\"
|
|
350
|
+
* @summary Create the Sync ingest flush
|
|
351
|
+
* @param {FlushIngestedDataRequestDto} flushIngestedDataRequestDto
|
|
352
|
+
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
353
|
+
* @param {*} [options] Override http request option.
|
|
354
|
+
* @throws {RequiredError}
|
|
355
|
+
*/
|
|
356
|
+
flushIngestedDataSync: function (flushIngestedDataRequestDto, authorization, options) {
|
|
357
|
+
if (options === void 0) { options = {}; }
|
|
358
|
+
return __awaiter(_this, void 0, void 0, function () {
|
|
359
|
+
var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
360
|
+
return __generator(this, function (_a) {
|
|
361
|
+
switch (_a.label) {
|
|
362
|
+
case 0:
|
|
363
|
+
// verify required parameter 'flushIngestedDataRequestDto' is not null or undefined
|
|
364
|
+
(0, common_1.assertParamExists)('flushIngestedDataSync', 'flushIngestedDataRequestDto', flushIngestedDataRequestDto);
|
|
365
|
+
localVarPath = "/migrationservice/v1/flushes/sync";
|
|
366
|
+
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
367
|
+
if (configuration) {
|
|
368
|
+
baseOptions = configuration.baseOptions;
|
|
369
|
+
baseAccessToken = configuration.accessToken;
|
|
370
|
+
}
|
|
371
|
+
localVarRequestOptions = __assign(__assign({ method: 'POST' }, baseOptions), options);
|
|
372
|
+
localVarHeaderParameter = {};
|
|
373
|
+
localVarQueryParameter = {};
|
|
374
|
+
// authentication bearer required
|
|
375
|
+
// http bearer authentication required
|
|
376
|
+
return [4 /*yield*/, (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration)];
|
|
377
|
+
case 1:
|
|
378
|
+
// authentication bearer required
|
|
379
|
+
// http bearer authentication required
|
|
380
|
+
_a.sent();
|
|
381
|
+
if (authorization !== undefined && authorization !== null || baseAccessToken !== undefined && baseAccessToken !== null) {
|
|
382
|
+
localVarHeaderParameter['Authorization'] = String(authorization ? authorization : baseAccessToken);
|
|
383
|
+
}
|
|
384
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
385
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
386
|
+
headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
387
|
+
localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
388
|
+
localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(flushIngestedDataRequestDto, localVarRequestOptions, configuration);
|
|
389
|
+
return [2 /*return*/, {
|
|
390
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
391
|
+
options: localVarRequestOptions,
|
|
392
|
+
}];
|
|
393
|
+
}
|
|
394
|
+
});
|
|
395
|
+
});
|
|
396
|
+
},
|
|
397
|
+
/**
|
|
398
|
+
* 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\"
|
|
399
|
+
* @summary Retrieve the ingest flush
|
|
400
|
+
* @param {string} code
|
|
401
|
+
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
402
|
+
* @param {*} [options] Override http request option.
|
|
403
|
+
* @throws {RequiredError}
|
|
404
|
+
*/
|
|
405
|
+
getIngestFlush: function (code, authorization, options) {
|
|
406
|
+
if (options === void 0) { options = {}; }
|
|
407
|
+
return __awaiter(_this, void 0, void 0, function () {
|
|
408
|
+
var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
409
|
+
return __generator(this, function (_a) {
|
|
410
|
+
switch (_a.label) {
|
|
411
|
+
case 0:
|
|
412
|
+
// verify required parameter 'code' is not null or undefined
|
|
413
|
+
(0, common_1.assertParamExists)('getIngestFlush', 'code', code);
|
|
414
|
+
localVarPath = "/migrationservice/v1/flushes/{code}"
|
|
415
|
+
.replace("{".concat("code", "}"), encodeURIComponent(String(code)));
|
|
416
|
+
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
417
|
+
if (configuration) {
|
|
418
|
+
baseOptions = configuration.baseOptions;
|
|
419
|
+
baseAccessToken = configuration.accessToken;
|
|
420
|
+
}
|
|
421
|
+
localVarRequestOptions = __assign(__assign({ method: 'GET' }, baseOptions), options);
|
|
422
|
+
localVarHeaderParameter = {};
|
|
423
|
+
localVarQueryParameter = {};
|
|
424
|
+
// authentication bearer required
|
|
425
|
+
// http bearer authentication required
|
|
426
|
+
return [4 /*yield*/, (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration)];
|
|
427
|
+
case 1:
|
|
428
|
+
// authentication bearer required
|
|
429
|
+
// http bearer authentication required
|
|
430
|
+
_a.sent();
|
|
431
|
+
if (authorization !== undefined && authorization !== null || baseAccessToken !== undefined && baseAccessToken !== null) {
|
|
432
|
+
localVarHeaderParameter['Authorization'] = String(authorization ? authorization : baseAccessToken);
|
|
433
|
+
}
|
|
434
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
435
|
+
headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
436
|
+
localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
437
|
+
return [2 /*return*/, {
|
|
438
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
439
|
+
options: localVarRequestOptions,
|
|
440
|
+
}];
|
|
441
|
+
}
|
|
442
|
+
});
|
|
443
|
+
});
|
|
444
|
+
},
|
|
299
445
|
/**
|
|
300
446
|
* 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\"
|
|
301
447
|
* @summary Retrieve the ingest run
|
|
@@ -464,6 +610,78 @@ var MigrationApiAxiosParamCreator = function (configuration) {
|
|
|
464
610
|
});
|
|
465
611
|
});
|
|
466
612
|
},
|
|
613
|
+
/**
|
|
614
|
+
* 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\"
|
|
615
|
+
* @summary List ingest flushes
|
|
616
|
+
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
617
|
+
* @param {number} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
|
|
618
|
+
* @param {string} [pageToken] A cursor for use in pagination. pageToken is an ID that defines your place in the list. For instance, if you make a list request and receive 100 objects and pageToken=1, your subsequent call can include pageToken=2 in order to fetch the next page of the list.
|
|
619
|
+
* @param {string} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.<br/> <br/> <i>Allowed values: id, code, createdAt, updatedAt, ern, sourceSystem, totalDeletedRowCount, isSuccess, errorMessage</i>
|
|
620
|
+
* @param {string} [search] Search the response for matches in any searchable field. Use filter instead where possible for improved performance.<br/> <br/> <i>Searchable fields: sourceSystem, errorMessage, code</i>
|
|
621
|
+
* @param {string} [order] Order allows you to specify the desired order of entities retrieved from the server by ascending (ASC) or descending (DESC) order.<br/> <br/> <i>Allowed values: id, createdAt, updatedAt, code, sourceSystem, totalDeletedRowCount, isSuccess, errorMessage</i>
|
|
622
|
+
* @param {string} [expand] Expand to fetch additional information about the list items. Expanding resources can reduce the number of API calls required to accomplish a task. Use with discretion as some expanded fields can drastically increase payload size.<br/> <br/> <i>Allowed values: entities<i>
|
|
623
|
+
* @param {string} [filters] Filters the response by one or multiple fields. Advanced filter functionality allows you to perform more complex filtering operations.<br/> <br/> <i>Allowed values: id, code, createdAt, updatedAt, ern, sourceSystem, totalDeletedRowCount, isSuccess, errorMessage</i>
|
|
624
|
+
* @param {*} [options] Override http request option.
|
|
625
|
+
* @throws {RequiredError}
|
|
626
|
+
*/
|
|
627
|
+
listIngestFlushes: function (authorization, pageSize, pageToken, filter, search, order, expand, filters, options) {
|
|
628
|
+
if (options === void 0) { options = {}; }
|
|
629
|
+
return __awaiter(_this, void 0, void 0, function () {
|
|
630
|
+
var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
631
|
+
return __generator(this, function (_a) {
|
|
632
|
+
switch (_a.label) {
|
|
633
|
+
case 0:
|
|
634
|
+
localVarPath = "/migrationservice/v1/flushes";
|
|
635
|
+
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
636
|
+
if (configuration) {
|
|
637
|
+
baseOptions = configuration.baseOptions;
|
|
638
|
+
baseAccessToken = configuration.accessToken;
|
|
639
|
+
}
|
|
640
|
+
localVarRequestOptions = __assign(__assign({ method: 'GET' }, baseOptions), options);
|
|
641
|
+
localVarHeaderParameter = {};
|
|
642
|
+
localVarQueryParameter = {};
|
|
643
|
+
// authentication bearer required
|
|
644
|
+
// http bearer authentication required
|
|
645
|
+
return [4 /*yield*/, (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration)];
|
|
646
|
+
case 1:
|
|
647
|
+
// authentication bearer required
|
|
648
|
+
// http bearer authentication required
|
|
649
|
+
_a.sent();
|
|
650
|
+
if (pageSize !== undefined) {
|
|
651
|
+
localVarQueryParameter['pageSize'] = pageSize;
|
|
652
|
+
}
|
|
653
|
+
if (pageToken !== undefined) {
|
|
654
|
+
localVarQueryParameter['pageToken'] = pageToken;
|
|
655
|
+
}
|
|
656
|
+
if (filter !== undefined) {
|
|
657
|
+
localVarQueryParameter['filter'] = filter;
|
|
658
|
+
}
|
|
659
|
+
if (search !== undefined) {
|
|
660
|
+
localVarQueryParameter['search'] = search;
|
|
661
|
+
}
|
|
662
|
+
if (order !== undefined) {
|
|
663
|
+
localVarQueryParameter['order'] = order;
|
|
664
|
+
}
|
|
665
|
+
if (expand !== undefined) {
|
|
666
|
+
localVarQueryParameter['expand'] = expand;
|
|
667
|
+
}
|
|
668
|
+
if (filters !== undefined) {
|
|
669
|
+
localVarQueryParameter['filters'] = filters;
|
|
670
|
+
}
|
|
671
|
+
if (authorization !== undefined && authorization !== null || baseAccessToken !== undefined && baseAccessToken !== null) {
|
|
672
|
+
localVarHeaderParameter['Authorization'] = String(authorization ? authorization : baseAccessToken);
|
|
673
|
+
}
|
|
674
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
675
|
+
headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
676
|
+
localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
677
|
+
return [2 /*return*/, {
|
|
678
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
679
|
+
options: localVarRequestOptions,
|
|
680
|
+
}];
|
|
681
|
+
}
|
|
682
|
+
});
|
|
683
|
+
});
|
|
684
|
+
},
|
|
467
685
|
/**
|
|
468
686
|
* 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\"
|
|
469
687
|
* @summary List ingest runs
|
|
@@ -478,7 +696,7 @@ var MigrationApiAxiosParamCreator = function (configuration) {
|
|
|
478
696
|
* @param {*} [options] Override http request option.
|
|
479
697
|
* @throws {RequiredError}
|
|
480
698
|
*/
|
|
481
|
-
|
|
699
|
+
listIngestRuns: function (authorization, pageSize, pageToken, filter, search, order, expand, filters, options) {
|
|
482
700
|
if (options === void 0) { options = {}; }
|
|
483
701
|
return __awaiter(_this, void 0, void 0, function () {
|
|
484
702
|
var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
@@ -536,6 +754,59 @@ var MigrationApiAxiosParamCreator = function (configuration) {
|
|
|
536
754
|
});
|
|
537
755
|
});
|
|
538
756
|
},
|
|
757
|
+
/**
|
|
758
|
+
* This will stop the running ingest flush. **Required Permissions** \"migration.ingest-flushes.*\"
|
|
759
|
+
* @summary Stops the ingest flush
|
|
760
|
+
* @param {string} code
|
|
761
|
+
* @param {StopIngestFlushRequestDto} stopIngestFlushRequestDto
|
|
762
|
+
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
763
|
+
* @param {*} [options] Override http request option.
|
|
764
|
+
* @throws {RequiredError}
|
|
765
|
+
*/
|
|
766
|
+
stopIngestFlush: function (code, stopIngestFlushRequestDto, authorization, options) {
|
|
767
|
+
if (options === void 0) { options = {}; }
|
|
768
|
+
return __awaiter(_this, void 0, void 0, function () {
|
|
769
|
+
var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
770
|
+
return __generator(this, function (_a) {
|
|
771
|
+
switch (_a.label) {
|
|
772
|
+
case 0:
|
|
773
|
+
// verify required parameter 'code' is not null or undefined
|
|
774
|
+
(0, common_1.assertParamExists)('stopIngestFlush', 'code', code);
|
|
775
|
+
// verify required parameter 'stopIngestFlushRequestDto' is not null or undefined
|
|
776
|
+
(0, common_1.assertParamExists)('stopIngestFlush', 'stopIngestFlushRequestDto', stopIngestFlushRequestDto);
|
|
777
|
+
localVarPath = "/migrationservice/v1/flushes/{code}"
|
|
778
|
+
.replace("{".concat("code", "}"), encodeURIComponent(String(code)));
|
|
779
|
+
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
780
|
+
if (configuration) {
|
|
781
|
+
baseOptions = configuration.baseOptions;
|
|
782
|
+
baseAccessToken = configuration.accessToken;
|
|
783
|
+
}
|
|
784
|
+
localVarRequestOptions = __assign(__assign({ method: 'PUT' }, baseOptions), options);
|
|
785
|
+
localVarHeaderParameter = {};
|
|
786
|
+
localVarQueryParameter = {};
|
|
787
|
+
// authentication bearer required
|
|
788
|
+
// http bearer authentication required
|
|
789
|
+
return [4 /*yield*/, (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration)];
|
|
790
|
+
case 1:
|
|
791
|
+
// authentication bearer required
|
|
792
|
+
// http bearer authentication required
|
|
793
|
+
_a.sent();
|
|
794
|
+
if (authorization !== undefined && authorization !== null || baseAccessToken !== undefined && baseAccessToken !== null) {
|
|
795
|
+
localVarHeaderParameter['Authorization'] = String(authorization ? authorization : baseAccessToken);
|
|
796
|
+
}
|
|
797
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
798
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
799
|
+
headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
800
|
+
localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
801
|
+
localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(stopIngestFlushRequestDto, localVarRequestOptions, configuration);
|
|
802
|
+
return [2 /*return*/, {
|
|
803
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
804
|
+
options: localVarRequestOptions,
|
|
805
|
+
}];
|
|
806
|
+
}
|
|
807
|
+
});
|
|
808
|
+
});
|
|
809
|
+
},
|
|
539
810
|
/**
|
|
540
811
|
* This will stop the running ingest run. **Required Permissions** \"migration.ingest-runs.*\"
|
|
541
812
|
* @summary Stops the ingest run
|
|
@@ -738,6 +1009,69 @@ var MigrationApiFp = function (configuration) {
|
|
|
738
1009
|
});
|
|
739
1010
|
});
|
|
740
1011
|
},
|
|
1012
|
+
/**
|
|
1013
|
+
* This will start synchronous ingest flush. **Required Permissions** \"migration.ingest-flushes.*\"
|
|
1014
|
+
* @summary Create the Sync ingest flush
|
|
1015
|
+
* @param {FlushIngestedDataRequestDto} flushIngestedDataRequestDto
|
|
1016
|
+
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
1017
|
+
* @param {*} [options] Override http request option.
|
|
1018
|
+
* @throws {RequiredError}
|
|
1019
|
+
*/
|
|
1020
|
+
flushIngestedDataAsync: function (flushIngestedDataRequestDto, authorization, options) {
|
|
1021
|
+
return __awaiter(this, void 0, void 0, function () {
|
|
1022
|
+
var localVarAxiosArgs;
|
|
1023
|
+
return __generator(this, function (_a) {
|
|
1024
|
+
switch (_a.label) {
|
|
1025
|
+
case 0: return [4 /*yield*/, localVarAxiosParamCreator.flushIngestedDataAsync(flushIngestedDataRequestDto, authorization, options)];
|
|
1026
|
+
case 1:
|
|
1027
|
+
localVarAxiosArgs = _a.sent();
|
|
1028
|
+
return [2 /*return*/, (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
|
|
1029
|
+
}
|
|
1030
|
+
});
|
|
1031
|
+
});
|
|
1032
|
+
},
|
|
1033
|
+
/**
|
|
1034
|
+
* This will start synchronous ingest flush. **Required Permissions** \"migration.ingest-flushes.*\"
|
|
1035
|
+
* @summary Create the Sync ingest flush
|
|
1036
|
+
* @param {FlushIngestedDataRequestDto} flushIngestedDataRequestDto
|
|
1037
|
+
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
1038
|
+
* @param {*} [options] Override http request option.
|
|
1039
|
+
* @throws {RequiredError}
|
|
1040
|
+
*/
|
|
1041
|
+
flushIngestedDataSync: function (flushIngestedDataRequestDto, authorization, options) {
|
|
1042
|
+
return __awaiter(this, void 0, void 0, function () {
|
|
1043
|
+
var localVarAxiosArgs;
|
|
1044
|
+
return __generator(this, function (_a) {
|
|
1045
|
+
switch (_a.label) {
|
|
1046
|
+
case 0: return [4 /*yield*/, localVarAxiosParamCreator.flushIngestedDataSync(flushIngestedDataRequestDto, authorization, options)];
|
|
1047
|
+
case 1:
|
|
1048
|
+
localVarAxiosArgs = _a.sent();
|
|
1049
|
+
return [2 /*return*/, (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
|
|
1050
|
+
}
|
|
1051
|
+
});
|
|
1052
|
+
});
|
|
1053
|
+
},
|
|
1054
|
+
/**
|
|
1055
|
+
* 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\"
|
|
1056
|
+
* @summary Retrieve the ingest flush
|
|
1057
|
+
* @param {string} code
|
|
1058
|
+
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
1059
|
+
* @param {*} [options] Override http request option.
|
|
1060
|
+
* @throws {RequiredError}
|
|
1061
|
+
*/
|
|
1062
|
+
getIngestFlush: function (code, authorization, options) {
|
|
1063
|
+
return __awaiter(this, void 0, void 0, function () {
|
|
1064
|
+
var localVarAxiosArgs;
|
|
1065
|
+
return __generator(this, function (_a) {
|
|
1066
|
+
switch (_a.label) {
|
|
1067
|
+
case 0: return [4 /*yield*/, localVarAxiosParamCreator.getIngestFlush(code, authorization, options)];
|
|
1068
|
+
case 1:
|
|
1069
|
+
localVarAxiosArgs = _a.sent();
|
|
1070
|
+
return [2 /*return*/, (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
|
|
1071
|
+
}
|
|
1072
|
+
});
|
|
1073
|
+
});
|
|
1074
|
+
},
|
|
741
1075
|
/**
|
|
742
1076
|
* 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\"
|
|
743
1077
|
* @summary Retrieve the ingest run
|
|
@@ -807,6 +1141,33 @@ var MigrationApiFp = function (configuration) {
|
|
|
807
1141
|
});
|
|
808
1142
|
});
|
|
809
1143
|
},
|
|
1144
|
+
/**
|
|
1145
|
+
* 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\"
|
|
1146
|
+
* @summary List ingest flushes
|
|
1147
|
+
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
1148
|
+
* @param {number} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
|
|
1149
|
+
* @param {string} [pageToken] A cursor for use in pagination. pageToken is an ID that defines your place in the list. For instance, if you make a list request and receive 100 objects and pageToken=1, your subsequent call can include pageToken=2 in order to fetch the next page of the list.
|
|
1150
|
+
* @param {string} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.<br/> <br/> <i>Allowed values: id, code, createdAt, updatedAt, ern, sourceSystem, totalDeletedRowCount, isSuccess, errorMessage</i>
|
|
1151
|
+
* @param {string} [search] Search the response for matches in any searchable field. Use filter instead where possible for improved performance.<br/> <br/> <i>Searchable fields: sourceSystem, errorMessage, code</i>
|
|
1152
|
+
* @param {string} [order] Order allows you to specify the desired order of entities retrieved from the server by ascending (ASC) or descending (DESC) order.<br/> <br/> <i>Allowed values: id, createdAt, updatedAt, code, sourceSystem, totalDeletedRowCount, isSuccess, errorMessage</i>
|
|
1153
|
+
* @param {string} [expand] Expand to fetch additional information about the list items. Expanding resources can reduce the number of API calls required to accomplish a task. Use with discretion as some expanded fields can drastically increase payload size.<br/> <br/> <i>Allowed values: entities<i>
|
|
1154
|
+
* @param {string} [filters] Filters the response by one or multiple fields. Advanced filter functionality allows you to perform more complex filtering operations.<br/> <br/> <i>Allowed values: id, code, createdAt, updatedAt, ern, sourceSystem, totalDeletedRowCount, isSuccess, errorMessage</i>
|
|
1155
|
+
* @param {*} [options] Override http request option.
|
|
1156
|
+
* @throws {RequiredError}
|
|
1157
|
+
*/
|
|
1158
|
+
listIngestFlushes: function (authorization, pageSize, pageToken, filter, search, order, expand, filters, options) {
|
|
1159
|
+
return __awaiter(this, void 0, void 0, function () {
|
|
1160
|
+
var localVarAxiosArgs;
|
|
1161
|
+
return __generator(this, function (_a) {
|
|
1162
|
+
switch (_a.label) {
|
|
1163
|
+
case 0: return [4 /*yield*/, localVarAxiosParamCreator.listIngestFlushes(authorization, pageSize, pageToken, filter, search, order, expand, filters, options)];
|
|
1164
|
+
case 1:
|
|
1165
|
+
localVarAxiosArgs = _a.sent();
|
|
1166
|
+
return [2 /*return*/, (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
|
|
1167
|
+
}
|
|
1168
|
+
});
|
|
1169
|
+
});
|
|
1170
|
+
},
|
|
810
1171
|
/**
|
|
811
1172
|
* 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\"
|
|
812
1173
|
* @summary List ingest runs
|
|
@@ -821,12 +1182,34 @@ var MigrationApiFp = function (configuration) {
|
|
|
821
1182
|
* @param {*} [options] Override http request option.
|
|
822
1183
|
* @throws {RequiredError}
|
|
823
1184
|
*/
|
|
824
|
-
|
|
1185
|
+
listIngestRuns: function (authorization, pageSize, pageToken, filter, search, order, expand, filters, options) {
|
|
1186
|
+
return __awaiter(this, void 0, void 0, function () {
|
|
1187
|
+
var localVarAxiosArgs;
|
|
1188
|
+
return __generator(this, function (_a) {
|
|
1189
|
+
switch (_a.label) {
|
|
1190
|
+
case 0: return [4 /*yield*/, localVarAxiosParamCreator.listIngestRuns(authorization, pageSize, pageToken, filter, search, order, expand, filters, options)];
|
|
1191
|
+
case 1:
|
|
1192
|
+
localVarAxiosArgs = _a.sent();
|
|
1193
|
+
return [2 /*return*/, (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
|
|
1194
|
+
}
|
|
1195
|
+
});
|
|
1196
|
+
});
|
|
1197
|
+
},
|
|
1198
|
+
/**
|
|
1199
|
+
* This will stop the running ingest flush. **Required Permissions** \"migration.ingest-flushes.*\"
|
|
1200
|
+
* @summary Stops the ingest flush
|
|
1201
|
+
* @param {string} code
|
|
1202
|
+
* @param {StopIngestFlushRequestDto} stopIngestFlushRequestDto
|
|
1203
|
+
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
1204
|
+
* @param {*} [options] Override http request option.
|
|
1205
|
+
* @throws {RequiredError}
|
|
1206
|
+
*/
|
|
1207
|
+
stopIngestFlush: function (code, stopIngestFlushRequestDto, authorization, options) {
|
|
825
1208
|
return __awaiter(this, void 0, void 0, function () {
|
|
826
1209
|
var localVarAxiosArgs;
|
|
827
1210
|
return __generator(this, function (_a) {
|
|
828
1211
|
switch (_a.label) {
|
|
829
|
-
case 0: return [4 /*yield*/, localVarAxiosParamCreator.
|
|
1212
|
+
case 0: return [4 /*yield*/, localVarAxiosParamCreator.stopIngestFlush(code, stopIngestFlushRequestDto, authorization, options)];
|
|
830
1213
|
case 1:
|
|
831
1214
|
localVarAxiosArgs = _a.sent();
|
|
832
1215
|
return [2 /*return*/, (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
|
|
@@ -934,6 +1317,39 @@ var MigrationApiFactory = function (configuration, basePath, axios) {
|
|
|
934
1317
|
createIngestRunSync: function (createIngestRunSyncRequestDto, authorization, options) {
|
|
935
1318
|
return localVarFp.createIngestRunSync(createIngestRunSyncRequestDto, authorization, options).then(function (request) { return request(axios, basePath); });
|
|
936
1319
|
},
|
|
1320
|
+
/**
|
|
1321
|
+
* This will start synchronous ingest flush. **Required Permissions** \"migration.ingest-flushes.*\"
|
|
1322
|
+
* @summary Create the Sync ingest flush
|
|
1323
|
+
* @param {FlushIngestedDataRequestDto} flushIngestedDataRequestDto
|
|
1324
|
+
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
1325
|
+
* @param {*} [options] Override http request option.
|
|
1326
|
+
* @throws {RequiredError}
|
|
1327
|
+
*/
|
|
1328
|
+
flushIngestedDataAsync: function (flushIngestedDataRequestDto, authorization, options) {
|
|
1329
|
+
return localVarFp.flushIngestedDataAsync(flushIngestedDataRequestDto, authorization, options).then(function (request) { return request(axios, basePath); });
|
|
1330
|
+
},
|
|
1331
|
+
/**
|
|
1332
|
+
* This will start synchronous ingest flush. **Required Permissions** \"migration.ingest-flushes.*\"
|
|
1333
|
+
* @summary Create the Sync ingest flush
|
|
1334
|
+
* @param {FlushIngestedDataRequestDto} flushIngestedDataRequestDto
|
|
1335
|
+
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
1336
|
+
* @param {*} [options] Override http request option.
|
|
1337
|
+
* @throws {RequiredError}
|
|
1338
|
+
*/
|
|
1339
|
+
flushIngestedDataSync: function (flushIngestedDataRequestDto, authorization, options) {
|
|
1340
|
+
return localVarFp.flushIngestedDataSync(flushIngestedDataRequestDto, authorization, options).then(function (request) { return request(axios, basePath); });
|
|
1341
|
+
},
|
|
1342
|
+
/**
|
|
1343
|
+
* 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\"
|
|
1344
|
+
* @summary Retrieve the ingest flush
|
|
1345
|
+
* @param {string} code
|
|
1346
|
+
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
1347
|
+
* @param {*} [options] Override http request option.
|
|
1348
|
+
* @throws {RequiredError}
|
|
1349
|
+
*/
|
|
1350
|
+
getIngestFlush: function (code, authorization, options) {
|
|
1351
|
+
return localVarFp.getIngestFlush(code, authorization, options).then(function (request) { return request(axios, basePath); });
|
|
1352
|
+
},
|
|
937
1353
|
/**
|
|
938
1354
|
* 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\"
|
|
939
1355
|
* @summary Retrieve the ingest run
|
|
@@ -973,6 +1389,23 @@ var MigrationApiFactory = function (configuration, basePath, axios) {
|
|
|
973
1389
|
listEntityMappings: function (authorization, pageSize, pageToken, filter, search, order, expand, filters, options) {
|
|
974
1390
|
return localVarFp.listEntityMappings(authorization, pageSize, pageToken, filter, search, order, expand, filters, options).then(function (request) { return request(axios, basePath); });
|
|
975
1391
|
},
|
|
1392
|
+
/**
|
|
1393
|
+
* 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\"
|
|
1394
|
+
* @summary List ingest flushes
|
|
1395
|
+
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
1396
|
+
* @param {number} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
|
|
1397
|
+
* @param {string} [pageToken] A cursor for use in pagination. pageToken is an ID that defines your place in the list. For instance, if you make a list request and receive 100 objects and pageToken=1, your subsequent call can include pageToken=2 in order to fetch the next page of the list.
|
|
1398
|
+
* @param {string} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.<br/> <br/> <i>Allowed values: id, code, createdAt, updatedAt, ern, sourceSystem, totalDeletedRowCount, isSuccess, errorMessage</i>
|
|
1399
|
+
* @param {string} [search] Search the response for matches in any searchable field. Use filter instead where possible for improved performance.<br/> <br/> <i>Searchable fields: sourceSystem, errorMessage, code</i>
|
|
1400
|
+
* @param {string} [order] Order allows you to specify the desired order of entities retrieved from the server by ascending (ASC) or descending (DESC) order.<br/> <br/> <i>Allowed values: id, createdAt, updatedAt, code, sourceSystem, totalDeletedRowCount, isSuccess, errorMessage</i>
|
|
1401
|
+
* @param {string} [expand] Expand to fetch additional information about the list items. Expanding resources can reduce the number of API calls required to accomplish a task. Use with discretion as some expanded fields can drastically increase payload size.<br/> <br/> <i>Allowed values: entities<i>
|
|
1402
|
+
* @param {string} [filters] Filters the response by one or multiple fields. Advanced filter functionality allows you to perform more complex filtering operations.<br/> <br/> <i>Allowed values: id, code, createdAt, updatedAt, ern, sourceSystem, totalDeletedRowCount, isSuccess, errorMessage</i>
|
|
1403
|
+
* @param {*} [options] Override http request option.
|
|
1404
|
+
* @throws {RequiredError}
|
|
1405
|
+
*/
|
|
1406
|
+
listIngestFlushes: function (authorization, pageSize, pageToken, filter, search, order, expand, filters, options) {
|
|
1407
|
+
return localVarFp.listIngestFlushes(authorization, pageSize, pageToken, filter, search, order, expand, filters, options).then(function (request) { return request(axios, basePath); });
|
|
1408
|
+
},
|
|
976
1409
|
/**
|
|
977
1410
|
* 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\"
|
|
978
1411
|
* @summary List ingest runs
|
|
@@ -987,8 +1420,20 @@ var MigrationApiFactory = function (configuration, basePath, axios) {
|
|
|
987
1420
|
* @param {*} [options] Override http request option.
|
|
988
1421
|
* @throws {RequiredError}
|
|
989
1422
|
*/
|
|
990
|
-
|
|
991
|
-
return localVarFp.
|
|
1423
|
+
listIngestRuns: function (authorization, pageSize, pageToken, filter, search, order, expand, filters, options) {
|
|
1424
|
+
return localVarFp.listIngestRuns(authorization, pageSize, pageToken, filter, search, order, expand, filters, options).then(function (request) { return request(axios, basePath); });
|
|
1425
|
+
},
|
|
1426
|
+
/**
|
|
1427
|
+
* This will stop the running ingest flush. **Required Permissions** \"migration.ingest-flushes.*\"
|
|
1428
|
+
* @summary Stops the ingest flush
|
|
1429
|
+
* @param {string} code
|
|
1430
|
+
* @param {StopIngestFlushRequestDto} stopIngestFlushRequestDto
|
|
1431
|
+
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
1432
|
+
* @param {*} [options] Override http request option.
|
|
1433
|
+
* @throws {RequiredError}
|
|
1434
|
+
*/
|
|
1435
|
+
stopIngestFlush: function (code, stopIngestFlushRequestDto, authorization, options) {
|
|
1436
|
+
return localVarFp.stopIngestFlush(code, stopIngestFlushRequestDto, authorization, options).then(function (request) { return request(axios, basePath); });
|
|
992
1437
|
},
|
|
993
1438
|
/**
|
|
994
1439
|
* This will stop the running ingest run. **Required Permissions** \"migration.ingest-runs.*\"
|
|
@@ -1076,6 +1521,42 @@ var MigrationApi = /** @class */ (function (_super) {
|
|
|
1076
1521
|
var _this = this;
|
|
1077
1522
|
return (0, exports.MigrationApiFp)(this.configuration).createIngestRunSync(requestParameters.createIngestRunSyncRequestDto, requestParameters.authorization, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
1078
1523
|
};
|
|
1524
|
+
/**
|
|
1525
|
+
* This will start synchronous ingest flush. **Required Permissions** \"migration.ingest-flushes.*\"
|
|
1526
|
+
* @summary Create the Sync ingest flush
|
|
1527
|
+
* @param {MigrationApiFlushIngestedDataAsyncRequest} requestParameters Request parameters.
|
|
1528
|
+
* @param {*} [options] Override http request option.
|
|
1529
|
+
* @throws {RequiredError}
|
|
1530
|
+
* @memberof MigrationApi
|
|
1531
|
+
*/
|
|
1532
|
+
MigrationApi.prototype.flushIngestedDataAsync = function (requestParameters, options) {
|
|
1533
|
+
var _this = this;
|
|
1534
|
+
return (0, exports.MigrationApiFp)(this.configuration).flushIngestedDataAsync(requestParameters.flushIngestedDataRequestDto, requestParameters.authorization, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
1535
|
+
};
|
|
1536
|
+
/**
|
|
1537
|
+
* This will start synchronous ingest flush. **Required Permissions** \"migration.ingest-flushes.*\"
|
|
1538
|
+
* @summary Create the Sync ingest flush
|
|
1539
|
+
* @param {MigrationApiFlushIngestedDataSyncRequest} requestParameters Request parameters.
|
|
1540
|
+
* @param {*} [options] Override http request option.
|
|
1541
|
+
* @throws {RequiredError}
|
|
1542
|
+
* @memberof MigrationApi
|
|
1543
|
+
*/
|
|
1544
|
+
MigrationApi.prototype.flushIngestedDataSync = function (requestParameters, options) {
|
|
1545
|
+
var _this = this;
|
|
1546
|
+
return (0, exports.MigrationApiFp)(this.configuration).flushIngestedDataSync(requestParameters.flushIngestedDataRequestDto, requestParameters.authorization, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
1547
|
+
};
|
|
1548
|
+
/**
|
|
1549
|
+
* 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\"
|
|
1550
|
+
* @summary Retrieve the ingest flush
|
|
1551
|
+
* @param {MigrationApiGetIngestFlushRequest} requestParameters Request parameters.
|
|
1552
|
+
* @param {*} [options] Override http request option.
|
|
1553
|
+
* @throws {RequiredError}
|
|
1554
|
+
* @memberof MigrationApi
|
|
1555
|
+
*/
|
|
1556
|
+
MigrationApi.prototype.getIngestFlush = function (requestParameters, options) {
|
|
1557
|
+
var _this = this;
|
|
1558
|
+
return (0, exports.MigrationApiFp)(this.configuration).getIngestFlush(requestParameters.code, requestParameters.authorization, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
1559
|
+
};
|
|
1079
1560
|
/**
|
|
1080
1561
|
* 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\"
|
|
1081
1562
|
* @summary Retrieve the ingest run
|
|
@@ -1113,18 +1594,43 @@ var MigrationApi = /** @class */ (function (_super) {
|
|
|
1113
1594
|
if (requestParameters === void 0) { requestParameters = {}; }
|
|
1114
1595
|
return (0, exports.MigrationApiFp)(this.configuration).listEntityMappings(requestParameters.authorization, requestParameters.pageSize, requestParameters.pageToken, requestParameters.filter, requestParameters.search, requestParameters.order, requestParameters.expand, requestParameters.filters, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
1115
1596
|
};
|
|
1597
|
+
/**
|
|
1598
|
+
* 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\"
|
|
1599
|
+
* @summary List ingest flushes
|
|
1600
|
+
* @param {MigrationApiListIngestFlushesRequest} requestParameters Request parameters.
|
|
1601
|
+
* @param {*} [options] Override http request option.
|
|
1602
|
+
* @throws {RequiredError}
|
|
1603
|
+
* @memberof MigrationApi
|
|
1604
|
+
*/
|
|
1605
|
+
MigrationApi.prototype.listIngestFlushes = function (requestParameters, options) {
|
|
1606
|
+
var _this = this;
|
|
1607
|
+
if (requestParameters === void 0) { requestParameters = {}; }
|
|
1608
|
+
return (0, exports.MigrationApiFp)(this.configuration).listIngestFlushes(requestParameters.authorization, requestParameters.pageSize, requestParameters.pageToken, requestParameters.filter, requestParameters.search, requestParameters.order, requestParameters.expand, requestParameters.filters, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
1609
|
+
};
|
|
1116
1610
|
/**
|
|
1117
1611
|
* 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\"
|
|
1118
1612
|
* @summary List ingest runs
|
|
1119
|
-
* @param {
|
|
1613
|
+
* @param {MigrationApiListIngestRunsRequest} requestParameters Request parameters.
|
|
1120
1614
|
* @param {*} [options] Override http request option.
|
|
1121
1615
|
* @throws {RequiredError}
|
|
1122
1616
|
* @memberof MigrationApi
|
|
1123
1617
|
*/
|
|
1124
|
-
MigrationApi.prototype.
|
|
1618
|
+
MigrationApi.prototype.listIngestRuns = function (requestParameters, options) {
|
|
1125
1619
|
var _this = this;
|
|
1126
1620
|
if (requestParameters === void 0) { requestParameters = {}; }
|
|
1127
|
-
return (0, exports.MigrationApiFp)(this.configuration).
|
|
1621
|
+
return (0, exports.MigrationApiFp)(this.configuration).listIngestRuns(requestParameters.authorization, requestParameters.pageSize, requestParameters.pageToken, requestParameters.filter, requestParameters.search, requestParameters.order, requestParameters.expand, requestParameters.filters, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
1622
|
+
};
|
|
1623
|
+
/**
|
|
1624
|
+
* This will stop the running ingest flush. **Required Permissions** \"migration.ingest-flushes.*\"
|
|
1625
|
+
* @summary Stops the ingest flush
|
|
1626
|
+
* @param {MigrationApiStopIngestFlushRequest} requestParameters Request parameters.
|
|
1627
|
+
* @param {*} [options] Override http request option.
|
|
1628
|
+
* @throws {RequiredError}
|
|
1629
|
+
* @memberof MigrationApi
|
|
1630
|
+
*/
|
|
1631
|
+
MigrationApi.prototype.stopIngestFlush = function (requestParameters, options) {
|
|
1632
|
+
var _this = this;
|
|
1633
|
+
return (0, exports.MigrationApiFp)(this.configuration).stopIngestFlush(requestParameters.code, requestParameters.stopIngestFlushRequestDto, requestParameters.authorization, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
1128
1634
|
};
|
|
1129
1635
|
/**
|
|
1130
1636
|
* This will stop the running ingest run. **Required Permissions** \"migration.ingest-runs.*\"
|