@emilgroup/migration-sdk 0.1.1-beta.11 → 0.1.1-beta.2

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.
Files changed (39) hide show
  1. package/.openapi-generator/FILES +0 -10
  2. package/README.md +2 -2
  3. package/api/migration-api.ts +24 -846
  4. package/dist/api/migration-api.d.ts +16 -479
  5. package/dist/api/migration-api.js +8 -648
  6. package/dist/models/index.d.ts +0 -10
  7. package/dist/models/index.js +0 -10
  8. package/models/index.ts +0 -10
  9. package/package.json +1 -1
  10. package/dist/models/flush-ingested-data-request-dto.d.ts +0 -24
  11. package/dist/models/flush-ingested-data-request-dto.js +0 -15
  12. package/dist/models/flush-ingested-data-response-class.d.ts +0 -25
  13. package/dist/models/flush-ingested-data-response-class.js +0 -15
  14. package/dist/models/get-ingest-flush-response-class.d.ts +0 -25
  15. package/dist/models/get-ingest-flush-response-class.js +0 -15
  16. package/dist/models/ingest-flush-class.d.ts +0 -85
  17. package/dist/models/ingest-flush-class.js +0 -15
  18. package/dist/models/ingest-flush-entity-class.d.ts +0 -84
  19. package/dist/models/ingest-flush-entity-class.js +0 -15
  20. package/dist/models/ingest-run-record-class.d.ts +0 -102
  21. package/dist/models/ingest-run-record-class.js +0 -15
  22. package/dist/models/list-ingest-flushes-response-class.d.ts +0 -43
  23. package/dist/models/list-ingest-flushes-response-class.js +0 -15
  24. package/dist/models/list-ingest-run-records-response-class.d.ts +0 -43
  25. package/dist/models/list-ingest-run-records-response-class.js +0 -15
  26. package/dist/models/stop-ingest-flush-request-dto.d.ts +0 -24
  27. package/dist/models/stop-ingest-flush-request-dto.js +0 -15
  28. package/dist/models/stop-ingest-flush-response-class.d.ts +0 -25
  29. package/dist/models/stop-ingest-flush-response-class.js +0 -15
  30. package/models/flush-ingested-data-request-dto.ts +0 -30
  31. package/models/flush-ingested-data-response-class.ts +0 -31
  32. package/models/get-ingest-flush-response-class.ts +0 -31
  33. package/models/ingest-flush-class.ts +0 -91
  34. package/models/ingest-flush-entity-class.ts +0 -90
  35. package/models/ingest-run-record-class.ts +0 -108
  36. package/models/list-ingest-flushes-response-class.ts +0 -49
  37. package/models/list-ingest-run-records-response-class.ts +0 -49
  38. package/models/stop-ingest-flush-request-dto.ts +0 -30
  39. package/models/stop-ingest-flush-response-class.ts +0 -31
@@ -296,152 +296,6 @@ 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
- },
445
299
  /**
446
300
  * 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\"
447
301
  * @summary Retrieve the ingest run
@@ -610,154 +464,6 @@ var MigrationApiAxiosParamCreator = function (configuration) {
610
464
  });
611
465
  });
612
466
  },
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
- },
685
- /**
686
- * 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\"
687
- * @summary List ingest run records
688
- * @param {string} code
689
- * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
690
- * @param {number} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
691
- * @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.
692
- * @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, ingestRunId, ingestBatchId, createdAt, updatedAt, ern, rowNo, externalId, errorMessage</i>
693
- * @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: externalId, errorMessage</i>
694
- * @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, ingestRunId, ingestBatchId, rowNo, externalId, status, stage, errorMessage</i>
695
- * @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/>
696
- * @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, ingestRunId, ingestBatchId, createdAt, updatedAt, ern, rowNo, externalId, errorMessage</i>
697
- * @param {*} [options] Override http request option.
698
- * @throws {RequiredError}
699
- */
700
- listIngestRunRecords: function (code, authorization, pageSize, pageToken, filter, search, order, expand, filters, options) {
701
- if (options === void 0) { options = {}; }
702
- return __awaiter(_this, void 0, void 0, function () {
703
- var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
704
- return __generator(this, function (_a) {
705
- switch (_a.label) {
706
- case 0:
707
- // verify required parameter 'code' is not null or undefined
708
- (0, common_1.assertParamExists)('listIngestRunRecords', 'code', code);
709
- localVarPath = "/migrationservice/v1/ingest-runs/{code}/records"
710
- .replace("{".concat("code", "}"), encodeURIComponent(String(code)));
711
- localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
712
- if (configuration) {
713
- baseOptions = configuration.baseOptions;
714
- baseAccessToken = configuration.accessToken;
715
- }
716
- localVarRequestOptions = __assign(__assign({ method: 'GET' }, baseOptions), options);
717
- localVarHeaderParameter = {};
718
- localVarQueryParameter = {};
719
- // authentication bearer required
720
- // http bearer authentication required
721
- return [4 /*yield*/, (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration)];
722
- case 1:
723
- // authentication bearer required
724
- // http bearer authentication required
725
- _a.sent();
726
- if (pageSize !== undefined) {
727
- localVarQueryParameter['pageSize'] = pageSize;
728
- }
729
- if (pageToken !== undefined) {
730
- localVarQueryParameter['pageToken'] = pageToken;
731
- }
732
- if (filter !== undefined) {
733
- localVarQueryParameter['filter'] = filter;
734
- }
735
- if (search !== undefined) {
736
- localVarQueryParameter['search'] = search;
737
- }
738
- if (order !== undefined) {
739
- localVarQueryParameter['order'] = order;
740
- }
741
- if (expand !== undefined) {
742
- localVarQueryParameter['expand'] = expand;
743
- }
744
- if (filters !== undefined) {
745
- localVarQueryParameter['filters'] = filters;
746
- }
747
- if (authorization !== undefined && authorization !== null || baseAccessToken !== undefined && baseAccessToken !== null) {
748
- localVarHeaderParameter['Authorization'] = String(authorization ? authorization : baseAccessToken);
749
- }
750
- (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
751
- headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
752
- localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
753
- return [2 /*return*/, {
754
- url: (0, common_1.toPathString)(localVarUrlObj),
755
- options: localVarRequestOptions,
756
- }];
757
- }
758
- });
759
- });
760
- },
761
467
  /**
762
468
  * 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\"
763
469
  * @summary List ingest runs
@@ -772,7 +478,7 @@ var MigrationApiAxiosParamCreator = function (configuration) {
772
478
  * @param {*} [options] Override http request option.
773
479
  * @throws {RequiredError}
774
480
  */
775
- listIngestRuns: function (authorization, pageSize, pageToken, filter, search, order, expand, filters, options) {
481
+ listTasks: function (authorization, pageSize, pageToken, filter, search, order, expand, filters, options) {
776
482
  if (options === void 0) { options = {}; }
777
483
  return __awaiter(_this, void 0, void 0, function () {
778
484
  var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
@@ -830,59 +536,6 @@ var MigrationApiAxiosParamCreator = function (configuration) {
830
536
  });
831
537
  });
832
538
  },
833
- /**
834
- * This will stop the running ingest flush. **Required Permissions** \"migration.ingest-flushes.*\"
835
- * @summary Stops the ingest flush
836
- * @param {string} code
837
- * @param {StopIngestFlushRequestDto} stopIngestFlushRequestDto
838
- * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
839
- * @param {*} [options] Override http request option.
840
- * @throws {RequiredError}
841
- */
842
- stopIngestFlush: function (code, stopIngestFlushRequestDto, authorization, options) {
843
- if (options === void 0) { options = {}; }
844
- return __awaiter(_this, void 0, void 0, function () {
845
- var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
846
- return __generator(this, function (_a) {
847
- switch (_a.label) {
848
- case 0:
849
- // verify required parameter 'code' is not null or undefined
850
- (0, common_1.assertParamExists)('stopIngestFlush', 'code', code);
851
- // verify required parameter 'stopIngestFlushRequestDto' is not null or undefined
852
- (0, common_1.assertParamExists)('stopIngestFlush', 'stopIngestFlushRequestDto', stopIngestFlushRequestDto);
853
- localVarPath = "/migrationservice/v1/flushes/{code}"
854
- .replace("{".concat("code", "}"), encodeURIComponent(String(code)));
855
- localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
856
- if (configuration) {
857
- baseOptions = configuration.baseOptions;
858
- baseAccessToken = configuration.accessToken;
859
- }
860
- localVarRequestOptions = __assign(__assign({ method: 'PUT' }, baseOptions), options);
861
- localVarHeaderParameter = {};
862
- localVarQueryParameter = {};
863
- // authentication bearer required
864
- // http bearer authentication required
865
- return [4 /*yield*/, (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration)];
866
- case 1:
867
- // authentication bearer required
868
- // http bearer authentication required
869
- _a.sent();
870
- if (authorization !== undefined && authorization !== null || baseAccessToken !== undefined && baseAccessToken !== null) {
871
- localVarHeaderParameter['Authorization'] = String(authorization ? authorization : baseAccessToken);
872
- }
873
- localVarHeaderParameter['Content-Type'] = 'application/json';
874
- (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
875
- headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
876
- localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
877
- localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(stopIngestFlushRequestDto, localVarRequestOptions, configuration);
878
- return [2 /*return*/, {
879
- url: (0, common_1.toPathString)(localVarUrlObj),
880
- options: localVarRequestOptions,
881
- }];
882
- }
883
- });
884
- });
885
- },
886
539
  /**
887
540
  * This will stop the running ingest run. **Required Permissions** \"migration.ingest-runs.*\"
888
541
  * @summary Stops the ingest run
@@ -1085,69 +738,6 @@ var MigrationApiFp = function (configuration) {
1085
738
  });
1086
739
  });
1087
740
  },
1088
- /**
1089
- * This will start synchronous ingest flush. **Required Permissions** \"migration.ingest-flushes.*\"
1090
- * @summary Create the Sync ingest flush
1091
- * @param {FlushIngestedDataRequestDto} flushIngestedDataRequestDto
1092
- * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
1093
- * @param {*} [options] Override http request option.
1094
- * @throws {RequiredError}
1095
- */
1096
- flushIngestedDataAsync: function (flushIngestedDataRequestDto, authorization, options) {
1097
- return __awaiter(this, void 0, void 0, function () {
1098
- var localVarAxiosArgs;
1099
- return __generator(this, function (_a) {
1100
- switch (_a.label) {
1101
- case 0: return [4 /*yield*/, localVarAxiosParamCreator.flushIngestedDataAsync(flushIngestedDataRequestDto, authorization, options)];
1102
- case 1:
1103
- localVarAxiosArgs = _a.sent();
1104
- return [2 /*return*/, (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
1105
- }
1106
- });
1107
- });
1108
- },
1109
- /**
1110
- * This will start synchronous ingest flush. **Required Permissions** \"migration.ingest-flushes.*\"
1111
- * @summary Create the Sync ingest flush
1112
- * @param {FlushIngestedDataRequestDto} flushIngestedDataRequestDto
1113
- * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
1114
- * @param {*} [options] Override http request option.
1115
- * @throws {RequiredError}
1116
- */
1117
- flushIngestedDataSync: function (flushIngestedDataRequestDto, authorization, options) {
1118
- return __awaiter(this, void 0, void 0, function () {
1119
- var localVarAxiosArgs;
1120
- return __generator(this, function (_a) {
1121
- switch (_a.label) {
1122
- case 0: return [4 /*yield*/, localVarAxiosParamCreator.flushIngestedDataSync(flushIngestedDataRequestDto, authorization, options)];
1123
- case 1:
1124
- localVarAxiosArgs = _a.sent();
1125
- return [2 /*return*/, (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
1126
- }
1127
- });
1128
- });
1129
- },
1130
- /**
1131
- * 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\"
1132
- * @summary Retrieve the ingest flush
1133
- * @param {string} code
1134
- * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
1135
- * @param {*} [options] Override http request option.
1136
- * @throws {RequiredError}
1137
- */
1138
- getIngestFlush: function (code, authorization, options) {
1139
- return __awaiter(this, void 0, void 0, function () {
1140
- var localVarAxiosArgs;
1141
- return __generator(this, function (_a) {
1142
- switch (_a.label) {
1143
- case 0: return [4 /*yield*/, localVarAxiosParamCreator.getIngestFlush(code, authorization, options)];
1144
- case 1:
1145
- localVarAxiosArgs = _a.sent();
1146
- return [2 /*return*/, (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
1147
- }
1148
- });
1149
- });
1150
- },
1151
741
  /**
1152
742
  * 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\"
1153
743
  * @summary Retrieve the ingest run
@@ -1217,61 +807,6 @@ var MigrationApiFp = function (configuration) {
1217
807
  });
1218
808
  });
1219
809
  },
1220
- /**
1221
- * 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\"
1222
- * @summary List ingest flushes
1223
- * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
1224
- * @param {number} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
1225
- * @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.
1226
- * @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>
1227
- * @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>
1228
- * @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>
1229
- * @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>
1230
- * @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>
1231
- * @param {*} [options] Override http request option.
1232
- * @throws {RequiredError}
1233
- */
1234
- listIngestFlushes: function (authorization, pageSize, pageToken, filter, search, order, expand, filters, options) {
1235
- return __awaiter(this, void 0, void 0, function () {
1236
- var localVarAxiosArgs;
1237
- return __generator(this, function (_a) {
1238
- switch (_a.label) {
1239
- case 0: return [4 /*yield*/, localVarAxiosParamCreator.listIngestFlushes(authorization, pageSize, pageToken, filter, search, order, expand, filters, options)];
1240
- case 1:
1241
- localVarAxiosArgs = _a.sent();
1242
- return [2 /*return*/, (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
1243
- }
1244
- });
1245
- });
1246
- },
1247
- /**
1248
- * 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\"
1249
- * @summary List ingest run records
1250
- * @param {string} code
1251
- * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
1252
- * @param {number} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
1253
- * @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.
1254
- * @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, ingestRunId, ingestBatchId, createdAt, updatedAt, ern, rowNo, externalId, errorMessage</i>
1255
- * @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: externalId, errorMessage</i>
1256
- * @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, ingestRunId, ingestBatchId, rowNo, externalId, status, stage, errorMessage</i>
1257
- * @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/>
1258
- * @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, ingestRunId, ingestBatchId, createdAt, updatedAt, ern, rowNo, externalId, errorMessage</i>
1259
- * @param {*} [options] Override http request option.
1260
- * @throws {RequiredError}
1261
- */
1262
- listIngestRunRecords: function (code, authorization, pageSize, pageToken, filter, search, order, expand, filters, options) {
1263
- return __awaiter(this, void 0, void 0, function () {
1264
- var localVarAxiosArgs;
1265
- return __generator(this, function (_a) {
1266
- switch (_a.label) {
1267
- case 0: return [4 /*yield*/, localVarAxiosParamCreator.listIngestRunRecords(code, authorization, pageSize, pageToken, filter, search, order, expand, filters, options)];
1268
- case 1:
1269
- localVarAxiosArgs = _a.sent();
1270
- return [2 /*return*/, (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
1271
- }
1272
- });
1273
- });
1274
- },
1275
810
  /**
1276
811
  * 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\"
1277
812
  * @summary List ingest runs
@@ -1286,34 +821,12 @@ var MigrationApiFp = function (configuration) {
1286
821
  * @param {*} [options] Override http request option.
1287
822
  * @throws {RequiredError}
1288
823
  */
1289
- listIngestRuns: function (authorization, pageSize, pageToken, filter, search, order, expand, filters, options) {
824
+ listTasks: function (authorization, pageSize, pageToken, filter, search, order, expand, filters, options) {
1290
825
  return __awaiter(this, void 0, void 0, function () {
1291
826
  var localVarAxiosArgs;
1292
827
  return __generator(this, function (_a) {
1293
828
  switch (_a.label) {
1294
- case 0: return [4 /*yield*/, localVarAxiosParamCreator.listIngestRuns(authorization, pageSize, pageToken, filter, search, order, expand, filters, options)];
1295
- case 1:
1296
- localVarAxiosArgs = _a.sent();
1297
- return [2 /*return*/, (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
1298
- }
1299
- });
1300
- });
1301
- },
1302
- /**
1303
- * This will stop the running ingest flush. **Required Permissions** \"migration.ingest-flushes.*\"
1304
- * @summary Stops the ingest flush
1305
- * @param {string} code
1306
- * @param {StopIngestFlushRequestDto} stopIngestFlushRequestDto
1307
- * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
1308
- * @param {*} [options] Override http request option.
1309
- * @throws {RequiredError}
1310
- */
1311
- stopIngestFlush: function (code, stopIngestFlushRequestDto, authorization, options) {
1312
- return __awaiter(this, void 0, void 0, function () {
1313
- var localVarAxiosArgs;
1314
- return __generator(this, function (_a) {
1315
- switch (_a.label) {
1316
- case 0: return [4 /*yield*/, localVarAxiosParamCreator.stopIngestFlush(code, stopIngestFlushRequestDto, authorization, options)];
829
+ case 0: return [4 /*yield*/, localVarAxiosParamCreator.listTasks(authorization, pageSize, pageToken, filter, search, order, expand, filters, options)];
1317
830
  case 1:
1318
831
  localVarAxiosArgs = _a.sent();
1319
832
  return [2 /*return*/, (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
@@ -1421,39 +934,6 @@ var MigrationApiFactory = function (configuration, basePath, axios) {
1421
934
  createIngestRunSync: function (createIngestRunSyncRequestDto, authorization, options) {
1422
935
  return localVarFp.createIngestRunSync(createIngestRunSyncRequestDto, authorization, options).then(function (request) { return request(axios, basePath); });
1423
936
  },
1424
- /**
1425
- * This will start synchronous ingest flush. **Required Permissions** \"migration.ingest-flushes.*\"
1426
- * @summary Create the Sync ingest flush
1427
- * @param {FlushIngestedDataRequestDto} flushIngestedDataRequestDto
1428
- * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
1429
- * @param {*} [options] Override http request option.
1430
- * @throws {RequiredError}
1431
- */
1432
- flushIngestedDataAsync: function (flushIngestedDataRequestDto, authorization, options) {
1433
- return localVarFp.flushIngestedDataAsync(flushIngestedDataRequestDto, authorization, options).then(function (request) { return request(axios, basePath); });
1434
- },
1435
- /**
1436
- * This will start synchronous ingest flush. **Required Permissions** \"migration.ingest-flushes.*\"
1437
- * @summary Create the Sync ingest flush
1438
- * @param {FlushIngestedDataRequestDto} flushIngestedDataRequestDto
1439
- * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
1440
- * @param {*} [options] Override http request option.
1441
- * @throws {RequiredError}
1442
- */
1443
- flushIngestedDataSync: function (flushIngestedDataRequestDto, authorization, options) {
1444
- return localVarFp.flushIngestedDataSync(flushIngestedDataRequestDto, authorization, options).then(function (request) { return request(axios, basePath); });
1445
- },
1446
- /**
1447
- * 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\"
1448
- * @summary Retrieve the ingest flush
1449
- * @param {string} code
1450
- * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
1451
- * @param {*} [options] Override http request option.
1452
- * @throws {RequiredError}
1453
- */
1454
- getIngestFlush: function (code, authorization, options) {
1455
- return localVarFp.getIngestFlush(code, authorization, options).then(function (request) { return request(axios, basePath); });
1456
- },
1457
937
  /**
1458
938
  * 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\"
1459
939
  * @summary Retrieve the ingest run
@@ -1493,41 +973,6 @@ var MigrationApiFactory = function (configuration, basePath, axios) {
1493
973
  listEntityMappings: function (authorization, pageSize, pageToken, filter, search, order, expand, filters, options) {
1494
974
  return localVarFp.listEntityMappings(authorization, pageSize, pageToken, filter, search, order, expand, filters, options).then(function (request) { return request(axios, basePath); });
1495
975
  },
1496
- /**
1497
- * 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\"
1498
- * @summary List ingest flushes
1499
- * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
1500
- * @param {number} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
1501
- * @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.
1502
- * @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>
1503
- * @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>
1504
- * @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>
1505
- * @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>
1506
- * @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>
1507
- * @param {*} [options] Override http request option.
1508
- * @throws {RequiredError}
1509
- */
1510
- listIngestFlushes: function (authorization, pageSize, pageToken, filter, search, order, expand, filters, options) {
1511
- return localVarFp.listIngestFlushes(authorization, pageSize, pageToken, filter, search, order, expand, filters, options).then(function (request) { return request(axios, basePath); });
1512
- },
1513
- /**
1514
- * 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\"
1515
- * @summary List ingest run records
1516
- * @param {string} code
1517
- * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
1518
- * @param {number} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
1519
- * @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.
1520
- * @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, ingestRunId, ingestBatchId, createdAt, updatedAt, ern, rowNo, externalId, errorMessage</i>
1521
- * @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: externalId, errorMessage</i>
1522
- * @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, ingestRunId, ingestBatchId, rowNo, externalId, status, stage, errorMessage</i>
1523
- * @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/>
1524
- * @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, ingestRunId, ingestBatchId, createdAt, updatedAt, ern, rowNo, externalId, errorMessage</i>
1525
- * @param {*} [options] Override http request option.
1526
- * @throws {RequiredError}
1527
- */
1528
- listIngestRunRecords: function (code, authorization, pageSize, pageToken, filter, search, order, expand, filters, options) {
1529
- return localVarFp.listIngestRunRecords(code, authorization, pageSize, pageToken, filter, search, order, expand, filters, options).then(function (request) { return request(axios, basePath); });
1530
- },
1531
976
  /**
1532
977
  * 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\"
1533
978
  * @summary List ingest runs
@@ -1542,20 +987,8 @@ var MigrationApiFactory = function (configuration, basePath, axios) {
1542
987
  * @param {*} [options] Override http request option.
1543
988
  * @throws {RequiredError}
1544
989
  */
1545
- listIngestRuns: function (authorization, pageSize, pageToken, filter, search, order, expand, filters, options) {
1546
- return localVarFp.listIngestRuns(authorization, pageSize, pageToken, filter, search, order, expand, filters, options).then(function (request) { return request(axios, basePath); });
1547
- },
1548
- /**
1549
- * This will stop the running ingest flush. **Required Permissions** \"migration.ingest-flushes.*\"
1550
- * @summary Stops the ingest flush
1551
- * @param {string} code
1552
- * @param {StopIngestFlushRequestDto} stopIngestFlushRequestDto
1553
- * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
1554
- * @param {*} [options] Override http request option.
1555
- * @throws {RequiredError}
1556
- */
1557
- stopIngestFlush: function (code, stopIngestFlushRequestDto, authorization, options) {
1558
- return localVarFp.stopIngestFlush(code, stopIngestFlushRequestDto, authorization, options).then(function (request) { return request(axios, basePath); });
990
+ listTasks: function (authorization, pageSize, pageToken, filter, search, order, expand, filters, options) {
991
+ return localVarFp.listTasks(authorization, pageSize, pageToken, filter, search, order, expand, filters, options).then(function (request) { return request(axios, basePath); });
1559
992
  },
1560
993
  /**
1561
994
  * This will stop the running ingest run. **Required Permissions** \"migration.ingest-runs.*\"
@@ -1643,42 +1076,6 @@ var MigrationApi = /** @class */ (function (_super) {
1643
1076
  var _this = this;
1644
1077
  return (0, exports.MigrationApiFp)(this.configuration).createIngestRunSync(requestParameters.createIngestRunSyncRequestDto, requestParameters.authorization, options).then(function (request) { return request(_this.axios, _this.basePath); });
1645
1078
  };
1646
- /**
1647
- * This will start synchronous ingest flush. **Required Permissions** \"migration.ingest-flushes.*\"
1648
- * @summary Create the Sync ingest flush
1649
- * @param {MigrationApiFlushIngestedDataAsyncRequest} requestParameters Request parameters.
1650
- * @param {*} [options] Override http request option.
1651
- * @throws {RequiredError}
1652
- * @memberof MigrationApi
1653
- */
1654
- MigrationApi.prototype.flushIngestedDataAsync = function (requestParameters, options) {
1655
- var _this = this;
1656
- return (0, exports.MigrationApiFp)(this.configuration).flushIngestedDataAsync(requestParameters.flushIngestedDataRequestDto, requestParameters.authorization, options).then(function (request) { return request(_this.axios, _this.basePath); });
1657
- };
1658
- /**
1659
- * This will start synchronous ingest flush. **Required Permissions** \"migration.ingest-flushes.*\"
1660
- * @summary Create the Sync ingest flush
1661
- * @param {MigrationApiFlushIngestedDataSyncRequest} requestParameters Request parameters.
1662
- * @param {*} [options] Override http request option.
1663
- * @throws {RequiredError}
1664
- * @memberof MigrationApi
1665
- */
1666
- MigrationApi.prototype.flushIngestedDataSync = function (requestParameters, options) {
1667
- var _this = this;
1668
- return (0, exports.MigrationApiFp)(this.configuration).flushIngestedDataSync(requestParameters.flushIngestedDataRequestDto, requestParameters.authorization, options).then(function (request) { return request(_this.axios, _this.basePath); });
1669
- };
1670
- /**
1671
- * 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\"
1672
- * @summary Retrieve the ingest flush
1673
- * @param {MigrationApiGetIngestFlushRequest} requestParameters Request parameters.
1674
- * @param {*} [options] Override http request option.
1675
- * @throws {RequiredError}
1676
- * @memberof MigrationApi
1677
- */
1678
- MigrationApi.prototype.getIngestFlush = function (requestParameters, options) {
1679
- var _this = this;
1680
- return (0, exports.MigrationApiFp)(this.configuration).getIngestFlush(requestParameters.code, requestParameters.authorization, options).then(function (request) { return request(_this.axios, _this.basePath); });
1681
- };
1682
1079
  /**
1683
1080
  * 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\"
1684
1081
  * @summary Retrieve the ingest run
@@ -1716,55 +1113,18 @@ var MigrationApi = /** @class */ (function (_super) {
1716
1113
  if (requestParameters === void 0) { requestParameters = {}; }
1717
1114
  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); });
1718
1115
  };
1719
- /**
1720
- * 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\"
1721
- * @summary List ingest flushes
1722
- * @param {MigrationApiListIngestFlushesRequest} requestParameters Request parameters.
1723
- * @param {*} [options] Override http request option.
1724
- * @throws {RequiredError}
1725
- * @memberof MigrationApi
1726
- */
1727
- MigrationApi.prototype.listIngestFlushes = function (requestParameters, options) {
1728
- var _this = this;
1729
- if (requestParameters === void 0) { requestParameters = {}; }
1730
- 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); });
1731
- };
1732
- /**
1733
- * 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\"
1734
- * @summary List ingest run records
1735
- * @param {MigrationApiListIngestRunRecordsRequest} requestParameters Request parameters.
1736
- * @param {*} [options] Override http request option.
1737
- * @throws {RequiredError}
1738
- * @memberof MigrationApi
1739
- */
1740
- MigrationApi.prototype.listIngestRunRecords = function (requestParameters, options) {
1741
- var _this = this;
1742
- return (0, exports.MigrationApiFp)(this.configuration).listIngestRunRecords(requestParameters.code, 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); });
1743
- };
1744
1116
  /**
1745
1117
  * 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\"
1746
1118
  * @summary List ingest runs
1747
- * @param {MigrationApiListIngestRunsRequest} requestParameters Request parameters.
1119
+ * @param {MigrationApiListTasksRequest} requestParameters Request parameters.
1748
1120
  * @param {*} [options] Override http request option.
1749
1121
  * @throws {RequiredError}
1750
1122
  * @memberof MigrationApi
1751
1123
  */
1752
- MigrationApi.prototype.listIngestRuns = function (requestParameters, options) {
1124
+ MigrationApi.prototype.listTasks = function (requestParameters, options) {
1753
1125
  var _this = this;
1754
1126
  if (requestParameters === void 0) { requestParameters = {}; }
1755
- 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); });
1756
- };
1757
- /**
1758
- * This will stop the running ingest flush. **Required Permissions** \"migration.ingest-flushes.*\"
1759
- * @summary Stops the ingest flush
1760
- * @param {MigrationApiStopIngestFlushRequest} requestParameters Request parameters.
1761
- * @param {*} [options] Override http request option.
1762
- * @throws {RequiredError}
1763
- * @memberof MigrationApi
1764
- */
1765
- MigrationApi.prototype.stopIngestFlush = function (requestParameters, options) {
1766
- var _this = this;
1767
- return (0, exports.MigrationApiFp)(this.configuration).stopIngestFlush(requestParameters.code, requestParameters.stopIngestFlushRequestDto, requestParameters.authorization, options).then(function (request) { return request(_this.axios, _this.basePath); });
1127
+ return (0, exports.MigrationApiFp)(this.configuration).listTasks(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); });
1768
1128
  };
1769
1129
  /**
1770
1130
  * This will stop the running ingest run. **Required Permissions** \"migration.ingest-runs.*\"