@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.
- package/.openapi-generator/FILES +0 -10
- package/README.md +2 -2
- package/api/migration-api.ts +24 -846
- package/dist/api/migration-api.d.ts +16 -479
- package/dist/api/migration-api.js +8 -648
- package/dist/models/index.d.ts +0 -10
- package/dist/models/index.js +0 -10
- package/models/index.ts +0 -10
- package/package.json +1 -1
- package/dist/models/flush-ingested-data-request-dto.d.ts +0 -24
- package/dist/models/flush-ingested-data-request-dto.js +0 -15
- package/dist/models/flush-ingested-data-response-class.d.ts +0 -25
- package/dist/models/flush-ingested-data-response-class.js +0 -15
- package/dist/models/get-ingest-flush-response-class.d.ts +0 -25
- package/dist/models/get-ingest-flush-response-class.js +0 -15
- package/dist/models/ingest-flush-class.d.ts +0 -85
- package/dist/models/ingest-flush-class.js +0 -15
- package/dist/models/ingest-flush-entity-class.d.ts +0 -84
- package/dist/models/ingest-flush-entity-class.js +0 -15
- package/dist/models/ingest-run-record-class.d.ts +0 -102
- package/dist/models/ingest-run-record-class.js +0 -15
- package/dist/models/list-ingest-flushes-response-class.d.ts +0 -43
- package/dist/models/list-ingest-flushes-response-class.js +0 -15
- package/dist/models/list-ingest-run-records-response-class.d.ts +0 -43
- package/dist/models/list-ingest-run-records-response-class.js +0 -15
- package/dist/models/stop-ingest-flush-request-dto.d.ts +0 -24
- package/dist/models/stop-ingest-flush-request-dto.js +0 -15
- package/dist/models/stop-ingest-flush-response-class.d.ts +0 -25
- package/dist/models/stop-ingest-flush-response-class.js +0 -15
- package/models/flush-ingested-data-request-dto.ts +0 -30
- package/models/flush-ingested-data-response-class.ts +0 -31
- package/models/get-ingest-flush-response-class.ts +0 -31
- package/models/ingest-flush-class.ts +0 -91
- package/models/ingest-flush-entity-class.ts +0 -90
- package/models/ingest-run-record-class.ts +0 -108
- package/models/list-ingest-flushes-response-class.ts +0 -49
- package/models/list-ingest-run-records-response-class.ts +0 -49
- package/models/stop-ingest-flush-request-dto.ts +0 -30
- package/models/stop-ingest-flush-response-class.ts +0 -31
package/api/migration-api.ts
CHANGED
|
@@ -33,28 +33,14 @@ import { CreateIngestRunSyncRequestDto } from '../models';
|
|
|
33
33
|
// @ts-ignore
|
|
34
34
|
import { CreateIngestRunSyncResponseClass } from '../models';
|
|
35
35
|
// @ts-ignore
|
|
36
|
-
import { FlushIngestedDataRequestDto } from '../models';
|
|
37
|
-
// @ts-ignore
|
|
38
|
-
import { FlushIngestedDataResponseClass } from '../models';
|
|
39
|
-
// @ts-ignore
|
|
40
|
-
import { GetIngestFlushResponseClass } from '../models';
|
|
41
|
-
// @ts-ignore
|
|
42
36
|
import { GetIngestRunResponseClass } from '../models';
|
|
43
37
|
// @ts-ignore
|
|
44
38
|
import { GetJsonSchemasResponseClass } from '../models';
|
|
45
39
|
// @ts-ignore
|
|
46
40
|
import { ListEntityMappingsResponseClass } from '../models';
|
|
47
41
|
// @ts-ignore
|
|
48
|
-
import { ListIngestFlushesResponseClass } from '../models';
|
|
49
|
-
// @ts-ignore
|
|
50
|
-
import { ListIngestRunRecordsResponseClass } from '../models';
|
|
51
|
-
// @ts-ignore
|
|
52
42
|
import { ListIngestRunsResponseClass } from '../models';
|
|
53
43
|
// @ts-ignore
|
|
54
|
-
import { StopIngestFlushRequestDto } from '../models';
|
|
55
|
-
// @ts-ignore
|
|
56
|
-
import { StopIngestFlushResponseClass } from '../models';
|
|
57
|
-
// @ts-ignore
|
|
58
44
|
import { StopIngestRunCleanupRequestDto } from '../models';
|
|
59
45
|
// @ts-ignore
|
|
60
46
|
import { StopIngestRunRequestDto } from '../models';
|
|
@@ -262,145 +248,6 @@ export const MigrationApiAxiosParamCreator = function (configuration?: Configura
|
|
|
262
248
|
options: localVarRequestOptions,
|
|
263
249
|
};
|
|
264
250
|
},
|
|
265
|
-
/**
|
|
266
|
-
* This will start synchronous ingest flush. **Required Permissions** \"migration.ingest-flushes.*\"
|
|
267
|
-
* @summary Create the Sync ingest flush
|
|
268
|
-
* @param {FlushIngestedDataRequestDto} flushIngestedDataRequestDto
|
|
269
|
-
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
270
|
-
* @param {*} [options] Override http request option.
|
|
271
|
-
* @throws {RequiredError}
|
|
272
|
-
*/
|
|
273
|
-
flushIngestedDataAsync: async (flushIngestedDataRequestDto: FlushIngestedDataRequestDto, authorization?: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
274
|
-
// verify required parameter 'flushIngestedDataRequestDto' is not null or undefined
|
|
275
|
-
assertParamExists('flushIngestedDataAsync', 'flushIngestedDataRequestDto', flushIngestedDataRequestDto)
|
|
276
|
-
const localVarPath = `/migrationservice/v1/flushes/async`;
|
|
277
|
-
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
278
|
-
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
279
|
-
let baseOptions;
|
|
280
|
-
let baseAccessToken;
|
|
281
|
-
if (configuration) {
|
|
282
|
-
baseOptions = configuration.baseOptions;
|
|
283
|
-
baseAccessToken = configuration.accessToken;
|
|
284
|
-
}
|
|
285
|
-
|
|
286
|
-
const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};
|
|
287
|
-
const localVarHeaderParameter = {} as any;
|
|
288
|
-
const localVarQueryParameter = {} as any;
|
|
289
|
-
|
|
290
|
-
// authentication bearer required
|
|
291
|
-
// http bearer authentication required
|
|
292
|
-
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
293
|
-
|
|
294
|
-
if (authorization !== undefined && authorization !== null || baseAccessToken !== undefined && baseAccessToken !== null) {
|
|
295
|
-
localVarHeaderParameter['Authorization'] = String(authorization ? authorization : baseAccessToken);
|
|
296
|
-
}
|
|
297
|
-
|
|
298
|
-
|
|
299
|
-
|
|
300
|
-
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
301
|
-
|
|
302
|
-
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
303
|
-
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
304
|
-
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
305
|
-
localVarRequestOptions.data = serializeDataIfNeeded(flushIngestedDataRequestDto, localVarRequestOptions, configuration)
|
|
306
|
-
|
|
307
|
-
return {
|
|
308
|
-
url: toPathString(localVarUrlObj),
|
|
309
|
-
options: localVarRequestOptions,
|
|
310
|
-
};
|
|
311
|
-
},
|
|
312
|
-
/**
|
|
313
|
-
* This will start synchronous ingest flush. **Required Permissions** \"migration.ingest-flushes.*\"
|
|
314
|
-
* @summary Create the Sync ingest flush
|
|
315
|
-
* @param {FlushIngestedDataRequestDto} flushIngestedDataRequestDto
|
|
316
|
-
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
317
|
-
* @param {*} [options] Override http request option.
|
|
318
|
-
* @throws {RequiredError}
|
|
319
|
-
*/
|
|
320
|
-
flushIngestedDataSync: async (flushIngestedDataRequestDto: FlushIngestedDataRequestDto, authorization?: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
321
|
-
// verify required parameter 'flushIngestedDataRequestDto' is not null or undefined
|
|
322
|
-
assertParamExists('flushIngestedDataSync', 'flushIngestedDataRequestDto', flushIngestedDataRequestDto)
|
|
323
|
-
const localVarPath = `/migrationservice/v1/flushes/sync`;
|
|
324
|
-
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
325
|
-
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
326
|
-
let baseOptions;
|
|
327
|
-
let baseAccessToken;
|
|
328
|
-
if (configuration) {
|
|
329
|
-
baseOptions = configuration.baseOptions;
|
|
330
|
-
baseAccessToken = configuration.accessToken;
|
|
331
|
-
}
|
|
332
|
-
|
|
333
|
-
const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};
|
|
334
|
-
const localVarHeaderParameter = {} as any;
|
|
335
|
-
const localVarQueryParameter = {} as any;
|
|
336
|
-
|
|
337
|
-
// authentication bearer required
|
|
338
|
-
// http bearer authentication required
|
|
339
|
-
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
340
|
-
|
|
341
|
-
if (authorization !== undefined && authorization !== null || baseAccessToken !== undefined && baseAccessToken !== null) {
|
|
342
|
-
localVarHeaderParameter['Authorization'] = String(authorization ? authorization : baseAccessToken);
|
|
343
|
-
}
|
|
344
|
-
|
|
345
|
-
|
|
346
|
-
|
|
347
|
-
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
348
|
-
|
|
349
|
-
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
350
|
-
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
351
|
-
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
352
|
-
localVarRequestOptions.data = serializeDataIfNeeded(flushIngestedDataRequestDto, localVarRequestOptions, configuration)
|
|
353
|
-
|
|
354
|
-
return {
|
|
355
|
-
url: toPathString(localVarUrlObj),
|
|
356
|
-
options: localVarRequestOptions,
|
|
357
|
-
};
|
|
358
|
-
},
|
|
359
|
-
/**
|
|
360
|
-
* 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\"
|
|
361
|
-
* @summary Retrieve the ingest flush
|
|
362
|
-
* @param {string} code
|
|
363
|
-
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
364
|
-
* @param {*} [options] Override http request option.
|
|
365
|
-
* @throws {RequiredError}
|
|
366
|
-
*/
|
|
367
|
-
getIngestFlush: async (code: string, authorization?: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
368
|
-
// verify required parameter 'code' is not null or undefined
|
|
369
|
-
assertParamExists('getIngestFlush', 'code', code)
|
|
370
|
-
const localVarPath = `/migrationservice/v1/flushes/{code}`
|
|
371
|
-
.replace(`{${"code"}}`, encodeURIComponent(String(code)));
|
|
372
|
-
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
373
|
-
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
374
|
-
let baseOptions;
|
|
375
|
-
let baseAccessToken;
|
|
376
|
-
if (configuration) {
|
|
377
|
-
baseOptions = configuration.baseOptions;
|
|
378
|
-
baseAccessToken = configuration.accessToken;
|
|
379
|
-
}
|
|
380
|
-
|
|
381
|
-
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
|
|
382
|
-
const localVarHeaderParameter = {} as any;
|
|
383
|
-
const localVarQueryParameter = {} as any;
|
|
384
|
-
|
|
385
|
-
// authentication bearer required
|
|
386
|
-
// http bearer authentication required
|
|
387
|
-
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
388
|
-
|
|
389
|
-
if (authorization !== undefined && authorization !== null || baseAccessToken !== undefined && baseAccessToken !== null) {
|
|
390
|
-
localVarHeaderParameter['Authorization'] = String(authorization ? authorization : baseAccessToken);
|
|
391
|
-
}
|
|
392
|
-
|
|
393
|
-
|
|
394
|
-
|
|
395
|
-
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
396
|
-
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
397
|
-
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
398
|
-
|
|
399
|
-
return {
|
|
400
|
-
url: toPathString(localVarUrlObj),
|
|
401
|
-
options: localVarRequestOptions,
|
|
402
|
-
};
|
|
403
|
-
},
|
|
404
251
|
/**
|
|
405
252
|
* 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\"
|
|
406
253
|
* @summary Retrieve the ingest run
|
|
@@ -558,162 +405,6 @@ export const MigrationApiAxiosParamCreator = function (configuration?: Configura
|
|
|
558
405
|
|
|
559
406
|
|
|
560
407
|
|
|
561
|
-
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
562
|
-
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
563
|
-
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
564
|
-
|
|
565
|
-
return {
|
|
566
|
-
url: toPathString(localVarUrlObj),
|
|
567
|
-
options: localVarRequestOptions,
|
|
568
|
-
};
|
|
569
|
-
},
|
|
570
|
-
/**
|
|
571
|
-
* 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\"
|
|
572
|
-
* @summary List ingest flushes
|
|
573
|
-
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
574
|
-
* @param {number} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
|
|
575
|
-
* @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.
|
|
576
|
-
* @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>
|
|
577
|
-
* @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>
|
|
578
|
-
* @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>
|
|
579
|
-
* @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>
|
|
580
|
-
* @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>
|
|
581
|
-
* @param {*} [options] Override http request option.
|
|
582
|
-
* @throws {RequiredError}
|
|
583
|
-
*/
|
|
584
|
-
listIngestFlushes: async (authorization?: string, pageSize?: number, pageToken?: string, filter?: string, search?: string, order?: string, expand?: string, filters?: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
585
|
-
const localVarPath = `/migrationservice/v1/flushes`;
|
|
586
|
-
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
587
|
-
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
588
|
-
let baseOptions;
|
|
589
|
-
let baseAccessToken;
|
|
590
|
-
if (configuration) {
|
|
591
|
-
baseOptions = configuration.baseOptions;
|
|
592
|
-
baseAccessToken = configuration.accessToken;
|
|
593
|
-
}
|
|
594
|
-
|
|
595
|
-
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
|
|
596
|
-
const localVarHeaderParameter = {} as any;
|
|
597
|
-
const localVarQueryParameter = {} as any;
|
|
598
|
-
|
|
599
|
-
// authentication bearer required
|
|
600
|
-
// http bearer authentication required
|
|
601
|
-
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
602
|
-
|
|
603
|
-
if (pageSize !== undefined) {
|
|
604
|
-
localVarQueryParameter['pageSize'] = pageSize;
|
|
605
|
-
}
|
|
606
|
-
|
|
607
|
-
if (pageToken !== undefined) {
|
|
608
|
-
localVarQueryParameter['pageToken'] = pageToken;
|
|
609
|
-
}
|
|
610
|
-
|
|
611
|
-
if (filter !== undefined) {
|
|
612
|
-
localVarQueryParameter['filter'] = filter;
|
|
613
|
-
}
|
|
614
|
-
|
|
615
|
-
if (search !== undefined) {
|
|
616
|
-
localVarQueryParameter['search'] = search;
|
|
617
|
-
}
|
|
618
|
-
|
|
619
|
-
if (order !== undefined) {
|
|
620
|
-
localVarQueryParameter['order'] = order;
|
|
621
|
-
}
|
|
622
|
-
|
|
623
|
-
if (expand !== undefined) {
|
|
624
|
-
localVarQueryParameter['expand'] = expand;
|
|
625
|
-
}
|
|
626
|
-
|
|
627
|
-
if (filters !== undefined) {
|
|
628
|
-
localVarQueryParameter['filters'] = filters;
|
|
629
|
-
}
|
|
630
|
-
|
|
631
|
-
if (authorization !== undefined && authorization !== null || baseAccessToken !== undefined && baseAccessToken !== null) {
|
|
632
|
-
localVarHeaderParameter['Authorization'] = String(authorization ? authorization : baseAccessToken);
|
|
633
|
-
}
|
|
634
|
-
|
|
635
|
-
|
|
636
|
-
|
|
637
|
-
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
638
|
-
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
639
|
-
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
640
|
-
|
|
641
|
-
return {
|
|
642
|
-
url: toPathString(localVarUrlObj),
|
|
643
|
-
options: localVarRequestOptions,
|
|
644
|
-
};
|
|
645
|
-
},
|
|
646
|
-
/**
|
|
647
|
-
* 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\"
|
|
648
|
-
* @summary List ingest run records
|
|
649
|
-
* @param {string} code
|
|
650
|
-
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
651
|
-
* @param {number} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
|
|
652
|
-
* @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.
|
|
653
|
-
* @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>
|
|
654
|
-
* @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>
|
|
655
|
-
* @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>
|
|
656
|
-
* @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/>
|
|
657
|
-
* @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>
|
|
658
|
-
* @param {*} [options] Override http request option.
|
|
659
|
-
* @throws {RequiredError}
|
|
660
|
-
*/
|
|
661
|
-
listIngestRunRecords: async (code: string, authorization?: string, pageSize?: number, pageToken?: string, filter?: string, search?: string, order?: string, expand?: string, filters?: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
662
|
-
// verify required parameter 'code' is not null or undefined
|
|
663
|
-
assertParamExists('listIngestRunRecords', 'code', code)
|
|
664
|
-
const localVarPath = `/migrationservice/v1/ingest-runs/{code}/records`
|
|
665
|
-
.replace(`{${"code"}}`, encodeURIComponent(String(code)));
|
|
666
|
-
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
667
|
-
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
668
|
-
let baseOptions;
|
|
669
|
-
let baseAccessToken;
|
|
670
|
-
if (configuration) {
|
|
671
|
-
baseOptions = configuration.baseOptions;
|
|
672
|
-
baseAccessToken = configuration.accessToken;
|
|
673
|
-
}
|
|
674
|
-
|
|
675
|
-
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
|
|
676
|
-
const localVarHeaderParameter = {} as any;
|
|
677
|
-
const localVarQueryParameter = {} as any;
|
|
678
|
-
|
|
679
|
-
// authentication bearer required
|
|
680
|
-
// http bearer authentication required
|
|
681
|
-
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
682
|
-
|
|
683
|
-
if (pageSize !== undefined) {
|
|
684
|
-
localVarQueryParameter['pageSize'] = pageSize;
|
|
685
|
-
}
|
|
686
|
-
|
|
687
|
-
if (pageToken !== undefined) {
|
|
688
|
-
localVarQueryParameter['pageToken'] = pageToken;
|
|
689
|
-
}
|
|
690
|
-
|
|
691
|
-
if (filter !== undefined) {
|
|
692
|
-
localVarQueryParameter['filter'] = filter;
|
|
693
|
-
}
|
|
694
|
-
|
|
695
|
-
if (search !== undefined) {
|
|
696
|
-
localVarQueryParameter['search'] = search;
|
|
697
|
-
}
|
|
698
|
-
|
|
699
|
-
if (order !== undefined) {
|
|
700
|
-
localVarQueryParameter['order'] = order;
|
|
701
|
-
}
|
|
702
|
-
|
|
703
|
-
if (expand !== undefined) {
|
|
704
|
-
localVarQueryParameter['expand'] = expand;
|
|
705
|
-
}
|
|
706
|
-
|
|
707
|
-
if (filters !== undefined) {
|
|
708
|
-
localVarQueryParameter['filters'] = filters;
|
|
709
|
-
}
|
|
710
|
-
|
|
711
|
-
if (authorization !== undefined && authorization !== null || baseAccessToken !== undefined && baseAccessToken !== null) {
|
|
712
|
-
localVarHeaderParameter['Authorization'] = String(authorization ? authorization : baseAccessToken);
|
|
713
|
-
}
|
|
714
|
-
|
|
715
|
-
|
|
716
|
-
|
|
717
408
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
718
409
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
719
410
|
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
@@ -737,7 +428,7 @@ export const MigrationApiAxiosParamCreator = function (configuration?: Configura
|
|
|
737
428
|
* @param {*} [options] Override http request option.
|
|
738
429
|
* @throws {RequiredError}
|
|
739
430
|
*/
|
|
740
|
-
|
|
431
|
+
listTasks: async (authorization?: string, pageSize?: number, pageToken?: string, filter?: string, search?: string, order?: string, expand?: string, filters?: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
741
432
|
const localVarPath = `/migrationservice/v1/ingest-runs`;
|
|
742
433
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
743
434
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
@@ -799,57 +490,6 @@ export const MigrationApiAxiosParamCreator = function (configuration?: Configura
|
|
|
799
490
|
options: localVarRequestOptions,
|
|
800
491
|
};
|
|
801
492
|
},
|
|
802
|
-
/**
|
|
803
|
-
* This will stop the running ingest flush. **Required Permissions** \"migration.ingest-flushes.*\"
|
|
804
|
-
* @summary Stops the ingest flush
|
|
805
|
-
* @param {string} code
|
|
806
|
-
* @param {StopIngestFlushRequestDto} stopIngestFlushRequestDto
|
|
807
|
-
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
808
|
-
* @param {*} [options] Override http request option.
|
|
809
|
-
* @throws {RequiredError}
|
|
810
|
-
*/
|
|
811
|
-
stopIngestFlush: async (code: string, stopIngestFlushRequestDto: StopIngestFlushRequestDto, authorization?: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
812
|
-
// verify required parameter 'code' is not null or undefined
|
|
813
|
-
assertParamExists('stopIngestFlush', 'code', code)
|
|
814
|
-
// verify required parameter 'stopIngestFlushRequestDto' is not null or undefined
|
|
815
|
-
assertParamExists('stopIngestFlush', 'stopIngestFlushRequestDto', stopIngestFlushRequestDto)
|
|
816
|
-
const localVarPath = `/migrationservice/v1/flushes/{code}`
|
|
817
|
-
.replace(`{${"code"}}`, encodeURIComponent(String(code)));
|
|
818
|
-
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
819
|
-
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
820
|
-
let baseOptions;
|
|
821
|
-
let baseAccessToken;
|
|
822
|
-
if (configuration) {
|
|
823
|
-
baseOptions = configuration.baseOptions;
|
|
824
|
-
baseAccessToken = configuration.accessToken;
|
|
825
|
-
}
|
|
826
|
-
|
|
827
|
-
const localVarRequestOptions = { method: 'PUT', ...baseOptions, ...options};
|
|
828
|
-
const localVarHeaderParameter = {} as any;
|
|
829
|
-
const localVarQueryParameter = {} as any;
|
|
830
|
-
|
|
831
|
-
// authentication bearer required
|
|
832
|
-
// http bearer authentication required
|
|
833
|
-
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
834
|
-
|
|
835
|
-
if (authorization !== undefined && authorization !== null || baseAccessToken !== undefined && baseAccessToken !== null) {
|
|
836
|
-
localVarHeaderParameter['Authorization'] = String(authorization ? authorization : baseAccessToken);
|
|
837
|
-
}
|
|
838
|
-
|
|
839
|
-
|
|
840
|
-
|
|
841
|
-
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
842
|
-
|
|
843
|
-
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
844
|
-
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
845
|
-
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
846
|
-
localVarRequestOptions.data = serializeDataIfNeeded(stopIngestFlushRequestDto, localVarRequestOptions, configuration)
|
|
847
|
-
|
|
848
|
-
return {
|
|
849
|
-
url: toPathString(localVarUrlObj),
|
|
850
|
-
options: localVarRequestOptions,
|
|
851
|
-
};
|
|
852
|
-
},
|
|
853
493
|
/**
|
|
854
494
|
* This will stop the running ingest run. **Required Permissions** \"migration.ingest-runs.*\"
|
|
855
495
|
* @summary Stops the ingest run
|
|
@@ -1012,42 +652,6 @@ export const MigrationApiFp = function(configuration?: Configuration) {
|
|
|
1012
652
|
const localVarAxiosArgs = await localVarAxiosParamCreator.createIngestRunSync(createIngestRunSyncRequestDto, authorization, options);
|
|
1013
653
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
1014
654
|
},
|
|
1015
|
-
/**
|
|
1016
|
-
* This will start synchronous ingest flush. **Required Permissions** \"migration.ingest-flushes.*\"
|
|
1017
|
-
* @summary Create the Sync ingest flush
|
|
1018
|
-
* @param {FlushIngestedDataRequestDto} flushIngestedDataRequestDto
|
|
1019
|
-
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
1020
|
-
* @param {*} [options] Override http request option.
|
|
1021
|
-
* @throws {RequiredError}
|
|
1022
|
-
*/
|
|
1023
|
-
async flushIngestedDataAsync(flushIngestedDataRequestDto: FlushIngestedDataRequestDto, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<FlushIngestedDataResponseClass>> {
|
|
1024
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.flushIngestedDataAsync(flushIngestedDataRequestDto, authorization, options);
|
|
1025
|
-
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
1026
|
-
},
|
|
1027
|
-
/**
|
|
1028
|
-
* This will start synchronous ingest flush. **Required Permissions** \"migration.ingest-flushes.*\"
|
|
1029
|
-
* @summary Create the Sync ingest flush
|
|
1030
|
-
* @param {FlushIngestedDataRequestDto} flushIngestedDataRequestDto
|
|
1031
|
-
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
1032
|
-
* @param {*} [options] Override http request option.
|
|
1033
|
-
* @throws {RequiredError}
|
|
1034
|
-
*/
|
|
1035
|
-
async flushIngestedDataSync(flushIngestedDataRequestDto: FlushIngestedDataRequestDto, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<FlushIngestedDataResponseClass>> {
|
|
1036
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.flushIngestedDataSync(flushIngestedDataRequestDto, authorization, options);
|
|
1037
|
-
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
1038
|
-
},
|
|
1039
|
-
/**
|
|
1040
|
-
* 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\"
|
|
1041
|
-
* @summary Retrieve the ingest flush
|
|
1042
|
-
* @param {string} code
|
|
1043
|
-
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
1044
|
-
* @param {*} [options] Override http request option.
|
|
1045
|
-
* @throws {RequiredError}
|
|
1046
|
-
*/
|
|
1047
|
-
async getIngestFlush(code: string, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<GetIngestFlushResponseClass>> {
|
|
1048
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.getIngestFlush(code, authorization, options);
|
|
1049
|
-
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
1050
|
-
},
|
|
1051
655
|
/**
|
|
1052
656
|
* 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\"
|
|
1053
657
|
* @summary Retrieve the ingest run
|
|
@@ -1090,72 +694,22 @@ export const MigrationApiFp = function(configuration?: Configuration) {
|
|
|
1090
694
|
const localVarAxiosArgs = await localVarAxiosParamCreator.listEntityMappings(authorization, pageSize, pageToken, filter, search, order, expand, filters, options);
|
|
1091
695
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
1092
696
|
},
|
|
1093
|
-
/**
|
|
1094
|
-
* 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\"
|
|
1095
|
-
* @summary List ingest flushes
|
|
1096
|
-
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
1097
|
-
* @param {number} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
|
|
1098
|
-
* @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.
|
|
1099
|
-
* @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>
|
|
1100
|
-
* @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>
|
|
1101
|
-
* @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>
|
|
1102
|
-
* @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>
|
|
1103
|
-
* @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>
|
|
1104
|
-
* @param {*} [options] Override http request option.
|
|
1105
|
-
* @throws {RequiredError}
|
|
1106
|
-
*/
|
|
1107
|
-
async listIngestFlushes(authorization?: string, pageSize?: number, pageToken?: string, filter?: string, search?: string, order?: string, expand?: string, filters?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ListIngestFlushesResponseClass>> {
|
|
1108
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.listIngestFlushes(authorization, pageSize, pageToken, filter, search, order, expand, filters, options);
|
|
1109
|
-
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
1110
|
-
},
|
|
1111
|
-
/**
|
|
1112
|
-
* 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\"
|
|
1113
|
-
* @summary List ingest run records
|
|
1114
|
-
* @param {string} code
|
|
1115
|
-
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
1116
|
-
* @param {number} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
|
|
1117
|
-
* @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.
|
|
1118
|
-
* @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>
|
|
1119
|
-
* @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>
|
|
1120
|
-
* @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>
|
|
1121
|
-
* @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/>
|
|
1122
|
-
* @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>
|
|
1123
|
-
* @param {*} [options] Override http request option.
|
|
1124
|
-
* @throws {RequiredError}
|
|
1125
|
-
*/
|
|
1126
|
-
async listIngestRunRecords(code: string, authorization?: string, pageSize?: number, pageToken?: string, filter?: string, search?: string, order?: string, expand?: string, filters?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ListIngestRunRecordsResponseClass>> {
|
|
1127
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.listIngestRunRecords(code, authorization, pageSize, pageToken, filter, search, order, expand, filters, options);
|
|
1128
|
-
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
1129
|
-
},
|
|
1130
697
|
/**
|
|
1131
698
|
* 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\"
|
|
1132
699
|
* @summary List ingest runs
|
|
1133
700
|
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
1134
701
|
* @param {number} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
|
|
1135
702
|
* @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.
|
|
1136
|
-
* @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, sourceEntity, fileUrl, recordCount, isSuccess, errorMessage</i>
|
|
1137
|
-
* @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, sourceEntity, payload, fileUrl, errorMessage, code</i>
|
|
1138
|
-
* @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, sourceEntity, fileUrl, recordCount, isSuccess, errorMessage</i>
|
|
1139
|
-
* @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: batches<i>
|
|
1140
|
-
* @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, sourceEntity, fileUrl, recordCount, isSuccess, errorMessage</i>
|
|
1141
|
-
* @param {*} [options] Override http request option.
|
|
1142
|
-
* @throws {RequiredError}
|
|
1143
|
-
*/
|
|
1144
|
-
async listIngestRuns(authorization?: string, pageSize?: number, pageToken?: string, filter?: string, search?: string, order?: string, expand?: string, filters?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ListIngestRunsResponseClass>> {
|
|
1145
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.listIngestRuns(authorization, pageSize, pageToken, filter, search, order, expand, filters, options);
|
|
1146
|
-
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
1147
|
-
},
|
|
1148
|
-
/**
|
|
1149
|
-
* This will stop the running ingest flush. **Required Permissions** \"migration.ingest-flushes.*\"
|
|
1150
|
-
* @summary Stops the ingest flush
|
|
1151
|
-
* @param {string} code
|
|
1152
|
-
* @param {StopIngestFlushRequestDto} stopIngestFlushRequestDto
|
|
1153
|
-
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
703
|
+
* @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, sourceEntity, fileUrl, recordCount, isSuccess, errorMessage</i>
|
|
704
|
+
* @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, sourceEntity, payload, fileUrl, errorMessage, code</i>
|
|
705
|
+
* @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, sourceEntity, fileUrl, recordCount, isSuccess, errorMessage</i>
|
|
706
|
+
* @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: batches<i>
|
|
707
|
+
* @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, sourceEntity, fileUrl, recordCount, isSuccess, errorMessage</i>
|
|
1154
708
|
* @param {*} [options] Override http request option.
|
|
1155
709
|
* @throws {RequiredError}
|
|
1156
710
|
*/
|
|
1157
|
-
async
|
|
1158
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.
|
|
711
|
+
async listTasks(authorization?: string, pageSize?: number, pageToken?: string, filter?: string, search?: string, order?: string, expand?: string, filters?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ListIngestRunsResponseClass>> {
|
|
712
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.listTasks(authorization, pageSize, pageToken, filter, search, order, expand, filters, options);
|
|
1159
713
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
1160
714
|
},
|
|
1161
715
|
/**
|
|
@@ -1240,39 +794,6 @@ export const MigrationApiFactory = function (configuration?: Configuration, base
|
|
|
1240
794
|
createIngestRunSync(createIngestRunSyncRequestDto: CreateIngestRunSyncRequestDto, authorization?: string, options?: any): AxiosPromise<CreateIngestRunSyncResponseClass> {
|
|
1241
795
|
return localVarFp.createIngestRunSync(createIngestRunSyncRequestDto, authorization, options).then((request) => request(axios, basePath));
|
|
1242
796
|
},
|
|
1243
|
-
/**
|
|
1244
|
-
* This will start synchronous ingest flush. **Required Permissions** \"migration.ingest-flushes.*\"
|
|
1245
|
-
* @summary Create the Sync ingest flush
|
|
1246
|
-
* @param {FlushIngestedDataRequestDto} flushIngestedDataRequestDto
|
|
1247
|
-
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
1248
|
-
* @param {*} [options] Override http request option.
|
|
1249
|
-
* @throws {RequiredError}
|
|
1250
|
-
*/
|
|
1251
|
-
flushIngestedDataAsync(flushIngestedDataRequestDto: FlushIngestedDataRequestDto, authorization?: string, options?: any): AxiosPromise<FlushIngestedDataResponseClass> {
|
|
1252
|
-
return localVarFp.flushIngestedDataAsync(flushIngestedDataRequestDto, authorization, options).then((request) => request(axios, basePath));
|
|
1253
|
-
},
|
|
1254
|
-
/**
|
|
1255
|
-
* This will start synchronous ingest flush. **Required Permissions** \"migration.ingest-flushes.*\"
|
|
1256
|
-
* @summary Create the Sync ingest flush
|
|
1257
|
-
* @param {FlushIngestedDataRequestDto} flushIngestedDataRequestDto
|
|
1258
|
-
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
1259
|
-
* @param {*} [options] Override http request option.
|
|
1260
|
-
* @throws {RequiredError}
|
|
1261
|
-
*/
|
|
1262
|
-
flushIngestedDataSync(flushIngestedDataRequestDto: FlushIngestedDataRequestDto, authorization?: string, options?: any): AxiosPromise<FlushIngestedDataResponseClass> {
|
|
1263
|
-
return localVarFp.flushIngestedDataSync(flushIngestedDataRequestDto, authorization, options).then((request) => request(axios, basePath));
|
|
1264
|
-
},
|
|
1265
|
-
/**
|
|
1266
|
-
* 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\"
|
|
1267
|
-
* @summary Retrieve the ingest flush
|
|
1268
|
-
* @param {string} code
|
|
1269
|
-
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
1270
|
-
* @param {*} [options] Override http request option.
|
|
1271
|
-
* @throws {RequiredError}
|
|
1272
|
-
*/
|
|
1273
|
-
getIngestFlush(code: string, authorization?: string, options?: any): AxiosPromise<GetIngestFlushResponseClass> {
|
|
1274
|
-
return localVarFp.getIngestFlush(code, authorization, options).then((request) => request(axios, basePath));
|
|
1275
|
-
},
|
|
1276
797
|
/**
|
|
1277
798
|
* 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\"
|
|
1278
799
|
* @summary Retrieve the ingest run
|
|
@@ -1312,41 +833,6 @@ export const MigrationApiFactory = function (configuration?: Configuration, base
|
|
|
1312
833
|
listEntityMappings(authorization?: string, pageSize?: number, pageToken?: string, filter?: string, search?: string, order?: string, expand?: string, filters?: string, options?: any): AxiosPromise<ListEntityMappingsResponseClass> {
|
|
1313
834
|
return localVarFp.listEntityMappings(authorization, pageSize, pageToken, filter, search, order, expand, filters, options).then((request) => request(axios, basePath));
|
|
1314
835
|
},
|
|
1315
|
-
/**
|
|
1316
|
-
* 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\"
|
|
1317
|
-
* @summary List ingest flushes
|
|
1318
|
-
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
1319
|
-
* @param {number} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
|
|
1320
|
-
* @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.
|
|
1321
|
-
* @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>
|
|
1322
|
-
* @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>
|
|
1323
|
-
* @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>
|
|
1324
|
-
* @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>
|
|
1325
|
-
* @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>
|
|
1326
|
-
* @param {*} [options] Override http request option.
|
|
1327
|
-
* @throws {RequiredError}
|
|
1328
|
-
*/
|
|
1329
|
-
listIngestFlushes(authorization?: string, pageSize?: number, pageToken?: string, filter?: string, search?: string, order?: string, expand?: string, filters?: string, options?: any): AxiosPromise<ListIngestFlushesResponseClass> {
|
|
1330
|
-
return localVarFp.listIngestFlushes(authorization, pageSize, pageToken, filter, search, order, expand, filters, options).then((request) => request(axios, basePath));
|
|
1331
|
-
},
|
|
1332
|
-
/**
|
|
1333
|
-
* 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\"
|
|
1334
|
-
* @summary List ingest run records
|
|
1335
|
-
* @param {string} code
|
|
1336
|
-
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
1337
|
-
* @param {number} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
|
|
1338
|
-
* @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.
|
|
1339
|
-
* @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>
|
|
1340
|
-
* @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>
|
|
1341
|
-
* @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>
|
|
1342
|
-
* @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/>
|
|
1343
|
-
* @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>
|
|
1344
|
-
* @param {*} [options] Override http request option.
|
|
1345
|
-
* @throws {RequiredError}
|
|
1346
|
-
*/
|
|
1347
|
-
listIngestRunRecords(code: string, authorization?: string, pageSize?: number, pageToken?: string, filter?: string, search?: string, order?: string, expand?: string, filters?: string, options?: any): AxiosPromise<ListIngestRunRecordsResponseClass> {
|
|
1348
|
-
return localVarFp.listIngestRunRecords(code, authorization, pageSize, pageToken, filter, search, order, expand, filters, options).then((request) => request(axios, basePath));
|
|
1349
|
-
},
|
|
1350
836
|
/**
|
|
1351
837
|
* 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\"
|
|
1352
838
|
* @summary List ingest runs
|
|
@@ -1361,20 +847,8 @@ export const MigrationApiFactory = function (configuration?: Configuration, base
|
|
|
1361
847
|
* @param {*} [options] Override http request option.
|
|
1362
848
|
* @throws {RequiredError}
|
|
1363
849
|
*/
|
|
1364
|
-
|
|
1365
|
-
return localVarFp.
|
|
1366
|
-
},
|
|
1367
|
-
/**
|
|
1368
|
-
* This will stop the running ingest flush. **Required Permissions** \"migration.ingest-flushes.*\"
|
|
1369
|
-
* @summary Stops the ingest flush
|
|
1370
|
-
* @param {string} code
|
|
1371
|
-
* @param {StopIngestFlushRequestDto} stopIngestFlushRequestDto
|
|
1372
|
-
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
1373
|
-
* @param {*} [options] Override http request option.
|
|
1374
|
-
* @throws {RequiredError}
|
|
1375
|
-
*/
|
|
1376
|
-
stopIngestFlush(code: string, stopIngestFlushRequestDto: StopIngestFlushRequestDto, authorization?: string, options?: any): AxiosPromise<StopIngestFlushResponseClass> {
|
|
1377
|
-
return localVarFp.stopIngestFlush(code, stopIngestFlushRequestDto, authorization, options).then((request) => request(axios, basePath));
|
|
850
|
+
listTasks(authorization?: string, pageSize?: number, pageToken?: string, filter?: string, search?: string, order?: string, expand?: string, filters?: string, options?: any): AxiosPromise<ListIngestRunsResponseClass> {
|
|
851
|
+
return localVarFp.listTasks(authorization, pageSize, pageToken, filter, search, order, expand, filters, options).then((request) => request(axios, basePath));
|
|
1378
852
|
},
|
|
1379
853
|
/**
|
|
1380
854
|
* This will stop the running ingest run. **Required Permissions** \"migration.ingest-runs.*\"
|
|
@@ -1501,69 +975,6 @@ export interface MigrationApiCreateIngestRunSyncRequest {
|
|
|
1501
975
|
readonly authorization?: string
|
|
1502
976
|
}
|
|
1503
977
|
|
|
1504
|
-
/**
|
|
1505
|
-
* Request parameters for flushIngestedDataAsync operation in MigrationApi.
|
|
1506
|
-
* @export
|
|
1507
|
-
* @interface MigrationApiFlushIngestedDataAsyncRequest
|
|
1508
|
-
*/
|
|
1509
|
-
export interface MigrationApiFlushIngestedDataAsyncRequest {
|
|
1510
|
-
/**
|
|
1511
|
-
*
|
|
1512
|
-
* @type {FlushIngestedDataRequestDto}
|
|
1513
|
-
* @memberof MigrationApiFlushIngestedDataAsync
|
|
1514
|
-
*/
|
|
1515
|
-
readonly flushIngestedDataRequestDto: FlushIngestedDataRequestDto
|
|
1516
|
-
|
|
1517
|
-
/**
|
|
1518
|
-
* Bearer Token: provided by the login endpoint under the name accessToken.
|
|
1519
|
-
* @type {string}
|
|
1520
|
-
* @memberof MigrationApiFlushIngestedDataAsync
|
|
1521
|
-
*/
|
|
1522
|
-
readonly authorization?: string
|
|
1523
|
-
}
|
|
1524
|
-
|
|
1525
|
-
/**
|
|
1526
|
-
* Request parameters for flushIngestedDataSync operation in MigrationApi.
|
|
1527
|
-
* @export
|
|
1528
|
-
* @interface MigrationApiFlushIngestedDataSyncRequest
|
|
1529
|
-
*/
|
|
1530
|
-
export interface MigrationApiFlushIngestedDataSyncRequest {
|
|
1531
|
-
/**
|
|
1532
|
-
*
|
|
1533
|
-
* @type {FlushIngestedDataRequestDto}
|
|
1534
|
-
* @memberof MigrationApiFlushIngestedDataSync
|
|
1535
|
-
*/
|
|
1536
|
-
readonly flushIngestedDataRequestDto: FlushIngestedDataRequestDto
|
|
1537
|
-
|
|
1538
|
-
/**
|
|
1539
|
-
* Bearer Token: provided by the login endpoint under the name accessToken.
|
|
1540
|
-
* @type {string}
|
|
1541
|
-
* @memberof MigrationApiFlushIngestedDataSync
|
|
1542
|
-
*/
|
|
1543
|
-
readonly authorization?: string
|
|
1544
|
-
}
|
|
1545
|
-
|
|
1546
|
-
/**
|
|
1547
|
-
* Request parameters for getIngestFlush operation in MigrationApi.
|
|
1548
|
-
* @export
|
|
1549
|
-
* @interface MigrationApiGetIngestFlushRequest
|
|
1550
|
-
*/
|
|
1551
|
-
export interface MigrationApiGetIngestFlushRequest {
|
|
1552
|
-
/**
|
|
1553
|
-
*
|
|
1554
|
-
* @type {string}
|
|
1555
|
-
* @memberof MigrationApiGetIngestFlush
|
|
1556
|
-
*/
|
|
1557
|
-
readonly code: string
|
|
1558
|
-
|
|
1559
|
-
/**
|
|
1560
|
-
* Bearer Token: provided by the login endpoint under the name accessToken.
|
|
1561
|
-
* @type {string}
|
|
1562
|
-
* @memberof MigrationApiGetIngestFlush
|
|
1563
|
-
*/
|
|
1564
|
-
readonly authorization?: string
|
|
1565
|
-
}
|
|
1566
|
-
|
|
1567
978
|
/**
|
|
1568
979
|
* Request parameters for getIngestRun operation in MigrationApi.
|
|
1569
980
|
* @export
|
|
@@ -1670,229 +1081,68 @@ export interface MigrationApiListEntityMappingsRequest {
|
|
|
1670
1081
|
}
|
|
1671
1082
|
|
|
1672
1083
|
/**
|
|
1673
|
-
* Request parameters for
|
|
1674
|
-
* @export
|
|
1675
|
-
* @interface MigrationApiListIngestFlushesRequest
|
|
1676
|
-
*/
|
|
1677
|
-
export interface MigrationApiListIngestFlushesRequest {
|
|
1678
|
-
/**
|
|
1679
|
-
* Bearer Token: provided by the login endpoint under the name accessToken.
|
|
1680
|
-
* @type {string}
|
|
1681
|
-
* @memberof MigrationApiListIngestFlushes
|
|
1682
|
-
*/
|
|
1683
|
-
readonly authorization?: string
|
|
1684
|
-
|
|
1685
|
-
/**
|
|
1686
|
-
* A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
|
|
1687
|
-
* @type {number}
|
|
1688
|
-
* @memberof MigrationApiListIngestFlushes
|
|
1689
|
-
*/
|
|
1690
|
-
readonly pageSize?: number
|
|
1691
|
-
|
|
1692
|
-
/**
|
|
1693
|
-
* 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.
|
|
1694
|
-
* @type {string}
|
|
1695
|
-
* @memberof MigrationApiListIngestFlushes
|
|
1696
|
-
*/
|
|
1697
|
-
readonly pageToken?: string
|
|
1698
|
-
|
|
1699
|
-
/**
|
|
1700
|
-
* 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>
|
|
1701
|
-
* @type {string}
|
|
1702
|
-
* @memberof MigrationApiListIngestFlushes
|
|
1703
|
-
*/
|
|
1704
|
-
readonly filter?: string
|
|
1705
|
-
|
|
1706
|
-
/**
|
|
1707
|
-
* 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>
|
|
1708
|
-
* @type {string}
|
|
1709
|
-
* @memberof MigrationApiListIngestFlushes
|
|
1710
|
-
*/
|
|
1711
|
-
readonly search?: string
|
|
1712
|
-
|
|
1713
|
-
/**
|
|
1714
|
-
* 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>
|
|
1715
|
-
* @type {string}
|
|
1716
|
-
* @memberof MigrationApiListIngestFlushes
|
|
1717
|
-
*/
|
|
1718
|
-
readonly order?: string
|
|
1719
|
-
|
|
1720
|
-
/**
|
|
1721
|
-
* 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>
|
|
1722
|
-
* @type {string}
|
|
1723
|
-
* @memberof MigrationApiListIngestFlushes
|
|
1724
|
-
*/
|
|
1725
|
-
readonly expand?: string
|
|
1726
|
-
|
|
1727
|
-
/**
|
|
1728
|
-
* 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>
|
|
1729
|
-
* @type {string}
|
|
1730
|
-
* @memberof MigrationApiListIngestFlushes
|
|
1731
|
-
*/
|
|
1732
|
-
readonly filters?: string
|
|
1733
|
-
}
|
|
1734
|
-
|
|
1735
|
-
/**
|
|
1736
|
-
* Request parameters for listIngestRunRecords operation in MigrationApi.
|
|
1737
|
-
* @export
|
|
1738
|
-
* @interface MigrationApiListIngestRunRecordsRequest
|
|
1739
|
-
*/
|
|
1740
|
-
export interface MigrationApiListIngestRunRecordsRequest {
|
|
1741
|
-
/**
|
|
1742
|
-
*
|
|
1743
|
-
* @type {string}
|
|
1744
|
-
* @memberof MigrationApiListIngestRunRecords
|
|
1745
|
-
*/
|
|
1746
|
-
readonly code: string
|
|
1747
|
-
|
|
1748
|
-
/**
|
|
1749
|
-
* Bearer Token: provided by the login endpoint under the name accessToken.
|
|
1750
|
-
* @type {string}
|
|
1751
|
-
* @memberof MigrationApiListIngestRunRecords
|
|
1752
|
-
*/
|
|
1753
|
-
readonly authorization?: string
|
|
1754
|
-
|
|
1755
|
-
/**
|
|
1756
|
-
* A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
|
|
1757
|
-
* @type {number}
|
|
1758
|
-
* @memberof MigrationApiListIngestRunRecords
|
|
1759
|
-
*/
|
|
1760
|
-
readonly pageSize?: number
|
|
1761
|
-
|
|
1762
|
-
/**
|
|
1763
|
-
* 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.
|
|
1764
|
-
* @type {string}
|
|
1765
|
-
* @memberof MigrationApiListIngestRunRecords
|
|
1766
|
-
*/
|
|
1767
|
-
readonly pageToken?: string
|
|
1768
|
-
|
|
1769
|
-
/**
|
|
1770
|
-
* 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>
|
|
1771
|
-
* @type {string}
|
|
1772
|
-
* @memberof MigrationApiListIngestRunRecords
|
|
1773
|
-
*/
|
|
1774
|
-
readonly filter?: string
|
|
1775
|
-
|
|
1776
|
-
/**
|
|
1777
|
-
* 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>
|
|
1778
|
-
* @type {string}
|
|
1779
|
-
* @memberof MigrationApiListIngestRunRecords
|
|
1780
|
-
*/
|
|
1781
|
-
readonly search?: string
|
|
1782
|
-
|
|
1783
|
-
/**
|
|
1784
|
-
* 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>
|
|
1785
|
-
* @type {string}
|
|
1786
|
-
* @memberof MigrationApiListIngestRunRecords
|
|
1787
|
-
*/
|
|
1788
|
-
readonly order?: string
|
|
1789
|
-
|
|
1790
|
-
/**
|
|
1791
|
-
* 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/>
|
|
1792
|
-
* @type {string}
|
|
1793
|
-
* @memberof MigrationApiListIngestRunRecords
|
|
1794
|
-
*/
|
|
1795
|
-
readonly expand?: string
|
|
1796
|
-
|
|
1797
|
-
/**
|
|
1798
|
-
* 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>
|
|
1799
|
-
* @type {string}
|
|
1800
|
-
* @memberof MigrationApiListIngestRunRecords
|
|
1801
|
-
*/
|
|
1802
|
-
readonly filters?: string
|
|
1803
|
-
}
|
|
1804
|
-
|
|
1805
|
-
/**
|
|
1806
|
-
* Request parameters for listIngestRuns operation in MigrationApi.
|
|
1084
|
+
* Request parameters for listTasks operation in MigrationApi.
|
|
1807
1085
|
* @export
|
|
1808
|
-
* @interface
|
|
1086
|
+
* @interface MigrationApiListTasksRequest
|
|
1809
1087
|
*/
|
|
1810
|
-
export interface
|
|
1088
|
+
export interface MigrationApiListTasksRequest {
|
|
1811
1089
|
/**
|
|
1812
1090
|
* Bearer Token: provided by the login endpoint under the name accessToken.
|
|
1813
1091
|
* @type {string}
|
|
1814
|
-
* @memberof
|
|
1092
|
+
* @memberof MigrationApiListTasks
|
|
1815
1093
|
*/
|
|
1816
1094
|
readonly authorization?: string
|
|
1817
1095
|
|
|
1818
1096
|
/**
|
|
1819
1097
|
* A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
|
|
1820
1098
|
* @type {number}
|
|
1821
|
-
* @memberof
|
|
1099
|
+
* @memberof MigrationApiListTasks
|
|
1822
1100
|
*/
|
|
1823
1101
|
readonly pageSize?: number
|
|
1824
1102
|
|
|
1825
1103
|
/**
|
|
1826
1104
|
* 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.
|
|
1827
1105
|
* @type {string}
|
|
1828
|
-
* @memberof
|
|
1106
|
+
* @memberof MigrationApiListTasks
|
|
1829
1107
|
*/
|
|
1830
1108
|
readonly pageToken?: string
|
|
1831
1109
|
|
|
1832
1110
|
/**
|
|
1833
1111
|
* 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, sourceEntity, fileUrl, recordCount, isSuccess, errorMessage</i>
|
|
1834
1112
|
* @type {string}
|
|
1835
|
-
* @memberof
|
|
1113
|
+
* @memberof MigrationApiListTasks
|
|
1836
1114
|
*/
|
|
1837
1115
|
readonly filter?: string
|
|
1838
1116
|
|
|
1839
1117
|
/**
|
|
1840
1118
|
* Search the response for matches in any searchable field. Use filter instead where possible for improved performance.<br/> <br/> <i>Searchable fields: sourceSystem, sourceEntity, payload, fileUrl, errorMessage, code</i>
|
|
1841
1119
|
* @type {string}
|
|
1842
|
-
* @memberof
|
|
1120
|
+
* @memberof MigrationApiListTasks
|
|
1843
1121
|
*/
|
|
1844
1122
|
readonly search?: string
|
|
1845
1123
|
|
|
1846
1124
|
/**
|
|
1847
1125
|
* 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, sourceEntity, fileUrl, recordCount, isSuccess, errorMessage</i>
|
|
1848
1126
|
* @type {string}
|
|
1849
|
-
* @memberof
|
|
1127
|
+
* @memberof MigrationApiListTasks
|
|
1850
1128
|
*/
|
|
1851
1129
|
readonly order?: string
|
|
1852
1130
|
|
|
1853
1131
|
/**
|
|
1854
1132
|
* 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: batches<i>
|
|
1855
1133
|
* @type {string}
|
|
1856
|
-
* @memberof
|
|
1134
|
+
* @memberof MigrationApiListTasks
|
|
1857
1135
|
*/
|
|
1858
1136
|
readonly expand?: string
|
|
1859
1137
|
|
|
1860
1138
|
/**
|
|
1861
1139
|
* 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, sourceEntity, fileUrl, recordCount, isSuccess, errorMessage</i>
|
|
1862
1140
|
* @type {string}
|
|
1863
|
-
* @memberof
|
|
1141
|
+
* @memberof MigrationApiListTasks
|
|
1864
1142
|
*/
|
|
1865
1143
|
readonly filters?: string
|
|
1866
1144
|
}
|
|
1867
1145
|
|
|
1868
|
-
/**
|
|
1869
|
-
* Request parameters for stopIngestFlush operation in MigrationApi.
|
|
1870
|
-
* @export
|
|
1871
|
-
* @interface MigrationApiStopIngestFlushRequest
|
|
1872
|
-
*/
|
|
1873
|
-
export interface MigrationApiStopIngestFlushRequest {
|
|
1874
|
-
/**
|
|
1875
|
-
*
|
|
1876
|
-
* @type {string}
|
|
1877
|
-
* @memberof MigrationApiStopIngestFlush
|
|
1878
|
-
*/
|
|
1879
|
-
readonly code: string
|
|
1880
|
-
|
|
1881
|
-
/**
|
|
1882
|
-
*
|
|
1883
|
-
* @type {StopIngestFlushRequestDto}
|
|
1884
|
-
* @memberof MigrationApiStopIngestFlush
|
|
1885
|
-
*/
|
|
1886
|
-
readonly stopIngestFlushRequestDto: StopIngestFlushRequestDto
|
|
1887
|
-
|
|
1888
|
-
/**
|
|
1889
|
-
* Bearer Token: provided by the login endpoint under the name accessToken.
|
|
1890
|
-
* @type {string}
|
|
1891
|
-
* @memberof MigrationApiStopIngestFlush
|
|
1892
|
-
*/
|
|
1893
|
-
readonly authorization?: string
|
|
1894
|
-
}
|
|
1895
|
-
|
|
1896
1146
|
/**
|
|
1897
1147
|
* Request parameters for stopIngestRun operation in MigrationApi.
|
|
1898
1148
|
* @export
|
|
@@ -2004,42 +1254,6 @@ export class MigrationApi extends BaseAPI {
|
|
|
2004
1254
|
return MigrationApiFp(this.configuration).createIngestRunSync(requestParameters.createIngestRunSyncRequestDto, requestParameters.authorization, options).then((request) => request(this.axios, this.basePath));
|
|
2005
1255
|
}
|
|
2006
1256
|
|
|
2007
|
-
/**
|
|
2008
|
-
* This will start synchronous ingest flush. **Required Permissions** \"migration.ingest-flushes.*\"
|
|
2009
|
-
* @summary Create the Sync ingest flush
|
|
2010
|
-
* @param {MigrationApiFlushIngestedDataAsyncRequest} requestParameters Request parameters.
|
|
2011
|
-
* @param {*} [options] Override http request option.
|
|
2012
|
-
* @throws {RequiredError}
|
|
2013
|
-
* @memberof MigrationApi
|
|
2014
|
-
*/
|
|
2015
|
-
public flushIngestedDataAsync(requestParameters: MigrationApiFlushIngestedDataAsyncRequest, options?: AxiosRequestConfig) {
|
|
2016
|
-
return MigrationApiFp(this.configuration).flushIngestedDataAsync(requestParameters.flushIngestedDataRequestDto, requestParameters.authorization, options).then((request) => request(this.axios, this.basePath));
|
|
2017
|
-
}
|
|
2018
|
-
|
|
2019
|
-
/**
|
|
2020
|
-
* This will start synchronous ingest flush. **Required Permissions** \"migration.ingest-flushes.*\"
|
|
2021
|
-
* @summary Create the Sync ingest flush
|
|
2022
|
-
* @param {MigrationApiFlushIngestedDataSyncRequest} requestParameters Request parameters.
|
|
2023
|
-
* @param {*} [options] Override http request option.
|
|
2024
|
-
* @throws {RequiredError}
|
|
2025
|
-
* @memberof MigrationApi
|
|
2026
|
-
*/
|
|
2027
|
-
public flushIngestedDataSync(requestParameters: MigrationApiFlushIngestedDataSyncRequest, options?: AxiosRequestConfig) {
|
|
2028
|
-
return MigrationApiFp(this.configuration).flushIngestedDataSync(requestParameters.flushIngestedDataRequestDto, requestParameters.authorization, options).then((request) => request(this.axios, this.basePath));
|
|
2029
|
-
}
|
|
2030
|
-
|
|
2031
|
-
/**
|
|
2032
|
-
* 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\"
|
|
2033
|
-
* @summary Retrieve the ingest flush
|
|
2034
|
-
* @param {MigrationApiGetIngestFlushRequest} requestParameters Request parameters.
|
|
2035
|
-
* @param {*} [options] Override http request option.
|
|
2036
|
-
* @throws {RequiredError}
|
|
2037
|
-
* @memberof MigrationApi
|
|
2038
|
-
*/
|
|
2039
|
-
public getIngestFlush(requestParameters: MigrationApiGetIngestFlushRequest, options?: AxiosRequestConfig) {
|
|
2040
|
-
return MigrationApiFp(this.configuration).getIngestFlush(requestParameters.code, requestParameters.authorization, options).then((request) => request(this.axios, this.basePath));
|
|
2041
|
-
}
|
|
2042
|
-
|
|
2043
1257
|
/**
|
|
2044
1258
|
* 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\"
|
|
2045
1259
|
* @summary Retrieve the ingest run
|
|
@@ -2076,52 +1290,16 @@ export class MigrationApi extends BaseAPI {
|
|
|
2076
1290
|
return MigrationApiFp(this.configuration).listEntityMappings(requestParameters.authorization, requestParameters.pageSize, requestParameters.pageToken, requestParameters.filter, requestParameters.search, requestParameters.order, requestParameters.expand, requestParameters.filters, options).then((request) => request(this.axios, this.basePath));
|
|
2077
1291
|
}
|
|
2078
1292
|
|
|
2079
|
-
/**
|
|
2080
|
-
* 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\"
|
|
2081
|
-
* @summary List ingest flushes
|
|
2082
|
-
* @param {MigrationApiListIngestFlushesRequest} requestParameters Request parameters.
|
|
2083
|
-
* @param {*} [options] Override http request option.
|
|
2084
|
-
* @throws {RequiredError}
|
|
2085
|
-
* @memberof MigrationApi
|
|
2086
|
-
*/
|
|
2087
|
-
public listIngestFlushes(requestParameters: MigrationApiListIngestFlushesRequest = {}, options?: AxiosRequestConfig) {
|
|
2088
|
-
return MigrationApiFp(this.configuration).listIngestFlushes(requestParameters.authorization, requestParameters.pageSize, requestParameters.pageToken, requestParameters.filter, requestParameters.search, requestParameters.order, requestParameters.expand, requestParameters.filters, options).then((request) => request(this.axios, this.basePath));
|
|
2089
|
-
}
|
|
2090
|
-
|
|
2091
|
-
/**
|
|
2092
|
-
* 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\"
|
|
2093
|
-
* @summary List ingest run records
|
|
2094
|
-
* @param {MigrationApiListIngestRunRecordsRequest} requestParameters Request parameters.
|
|
2095
|
-
* @param {*} [options] Override http request option.
|
|
2096
|
-
* @throws {RequiredError}
|
|
2097
|
-
* @memberof MigrationApi
|
|
2098
|
-
*/
|
|
2099
|
-
public listIngestRunRecords(requestParameters: MigrationApiListIngestRunRecordsRequest, options?: AxiosRequestConfig) {
|
|
2100
|
-
return MigrationApiFp(this.configuration).listIngestRunRecords(requestParameters.code, requestParameters.authorization, requestParameters.pageSize, requestParameters.pageToken, requestParameters.filter, requestParameters.search, requestParameters.order, requestParameters.expand, requestParameters.filters, options).then((request) => request(this.axios, this.basePath));
|
|
2101
|
-
}
|
|
2102
|
-
|
|
2103
1293
|
/**
|
|
2104
1294
|
* Returns a list of ingest runs you have previously created. The ingest runs are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation. **Required Permissions** \"migration.ingest-runs.view\"
|
|
2105
1295
|
* @summary List ingest runs
|
|
2106
|
-
* @param {
|
|
2107
|
-
* @param {*} [options] Override http request option.
|
|
2108
|
-
* @throws {RequiredError}
|
|
2109
|
-
* @memberof MigrationApi
|
|
2110
|
-
*/
|
|
2111
|
-
public listIngestRuns(requestParameters: MigrationApiListIngestRunsRequest = {}, options?: AxiosRequestConfig) {
|
|
2112
|
-
return MigrationApiFp(this.configuration).listIngestRuns(requestParameters.authorization, requestParameters.pageSize, requestParameters.pageToken, requestParameters.filter, requestParameters.search, requestParameters.order, requestParameters.expand, requestParameters.filters, options).then((request) => request(this.axios, this.basePath));
|
|
2113
|
-
}
|
|
2114
|
-
|
|
2115
|
-
/**
|
|
2116
|
-
* This will stop the running ingest flush. **Required Permissions** \"migration.ingest-flushes.*\"
|
|
2117
|
-
* @summary Stops the ingest flush
|
|
2118
|
-
* @param {MigrationApiStopIngestFlushRequest} requestParameters Request parameters.
|
|
1296
|
+
* @param {MigrationApiListTasksRequest} requestParameters Request parameters.
|
|
2119
1297
|
* @param {*} [options] Override http request option.
|
|
2120
1298
|
* @throws {RequiredError}
|
|
2121
1299
|
* @memberof MigrationApi
|
|
2122
1300
|
*/
|
|
2123
|
-
public
|
|
2124
|
-
return MigrationApiFp(this.configuration).
|
|
1301
|
+
public listTasks(requestParameters: MigrationApiListTasksRequest = {}, options?: AxiosRequestConfig) {
|
|
1302
|
+
return MigrationApiFp(this.configuration).listTasks(requestParameters.authorization, requestParameters.pageSize, requestParameters.pageToken, requestParameters.filter, requestParameters.search, requestParameters.order, requestParameters.expand, requestParameters.filters, options).then((request) => request(this.axios, this.basePath));
|
|
2125
1303
|
}
|
|
2126
1304
|
|
|
2127
1305
|
/**
|