@emilgroup/migration-sdk 0.1.1-beta.2 → 0.1.1-beta.6
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/.openapi-generator/FILES +8 -0
- package/README.md +2 -2
- package/api/migration-api.ts +640 -19
- package/dist/api/migration-api.d.ts +360 -16
- package/dist/api/migration-api.js +514 -8
- package/dist/models/flush-ingested-data-request-dto.d.ts +24 -0
- package/dist/models/flush-ingested-data-request-dto.js +15 -0
- package/dist/models/flush-ingested-data-response-class.d.ts +25 -0
- package/dist/models/flush-ingested-data-response-class.js +15 -0
- package/dist/models/get-ingest-flush-response-class.d.ts +25 -0
- package/dist/models/get-ingest-flush-response-class.js +15 -0
- package/dist/models/index.d.ts +8 -0
- package/dist/models/index.js +8 -0
- package/dist/models/ingest-flush-class.d.ts +85 -0
- package/dist/models/ingest-flush-class.js +15 -0
- package/dist/models/ingest-flush-entity-class.d.ts +84 -0
- package/dist/models/ingest-flush-entity-class.js +15 -0
- package/dist/models/list-ingest-flushes-response-class.d.ts +43 -0
- package/dist/models/list-ingest-flushes-response-class.js +15 -0
- package/dist/models/stop-ingest-flush-request-dto.d.ts +24 -0
- package/dist/models/stop-ingest-flush-request-dto.js +15 -0
- package/dist/models/stop-ingest-flush-response-class.d.ts +25 -0
- package/dist/models/stop-ingest-flush-response-class.js +15 -0
- package/models/flush-ingested-data-request-dto.ts +30 -0
- package/models/flush-ingested-data-response-class.ts +31 -0
- package/models/get-ingest-flush-response-class.ts +31 -0
- package/models/index.ts +8 -0
- package/models/ingest-flush-class.ts +91 -0
- package/models/ingest-flush-entity-class.ts +90 -0
- package/models/list-ingest-flushes-response-class.ts +49 -0
- package/models/stop-ingest-flush-request-dto.ts +30 -0
- package/models/stop-ingest-flush-response-class.ts +31 -0
- package/package.json +1 -1
package/api/migration-api.ts
CHANGED
|
@@ -33,14 +33,26 @@ 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
|
|
36
42
|
import { GetIngestRunResponseClass } from '../models';
|
|
37
43
|
// @ts-ignore
|
|
38
44
|
import { GetJsonSchemasResponseClass } from '../models';
|
|
39
45
|
// @ts-ignore
|
|
40
46
|
import { ListEntityMappingsResponseClass } from '../models';
|
|
41
47
|
// @ts-ignore
|
|
48
|
+
import { ListIngestFlushesResponseClass } from '../models';
|
|
49
|
+
// @ts-ignore
|
|
42
50
|
import { ListIngestRunsResponseClass } from '../models';
|
|
43
51
|
// @ts-ignore
|
|
52
|
+
import { StopIngestFlushRequestDto } from '../models';
|
|
53
|
+
// @ts-ignore
|
|
54
|
+
import { StopIngestFlushResponseClass } from '../models';
|
|
55
|
+
// @ts-ignore
|
|
44
56
|
import { StopIngestRunCleanupRequestDto } from '../models';
|
|
45
57
|
// @ts-ignore
|
|
46
58
|
import { StopIngestRunRequestDto } from '../models';
|
|
@@ -248,6 +260,145 @@ export const MigrationApiAxiosParamCreator = function (configuration?: Configura
|
|
|
248
260
|
options: localVarRequestOptions,
|
|
249
261
|
};
|
|
250
262
|
},
|
|
263
|
+
/**
|
|
264
|
+
* This will start synchronous ingest flush. **Required Permissions** \"migration.ingest-flushes.*\"
|
|
265
|
+
* @summary Create the Sync ingest flush
|
|
266
|
+
* @param {FlushIngestedDataRequestDto} flushIngestedDataRequestDto
|
|
267
|
+
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
268
|
+
* @param {*} [options] Override http request option.
|
|
269
|
+
* @throws {RequiredError}
|
|
270
|
+
*/
|
|
271
|
+
flushIngestedDataAsync: async (flushIngestedDataRequestDto: FlushIngestedDataRequestDto, authorization?: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
272
|
+
// verify required parameter 'flushIngestedDataRequestDto' is not null or undefined
|
|
273
|
+
assertParamExists('flushIngestedDataAsync', 'flushIngestedDataRequestDto', flushIngestedDataRequestDto)
|
|
274
|
+
const localVarPath = `/migrationservice/v1/flushes/async`;
|
|
275
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
276
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
277
|
+
let baseOptions;
|
|
278
|
+
let baseAccessToken;
|
|
279
|
+
if (configuration) {
|
|
280
|
+
baseOptions = configuration.baseOptions;
|
|
281
|
+
baseAccessToken = configuration.accessToken;
|
|
282
|
+
}
|
|
283
|
+
|
|
284
|
+
const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};
|
|
285
|
+
const localVarHeaderParameter = {} as any;
|
|
286
|
+
const localVarQueryParameter = {} as any;
|
|
287
|
+
|
|
288
|
+
// authentication bearer required
|
|
289
|
+
// http bearer authentication required
|
|
290
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
291
|
+
|
|
292
|
+
if (authorization !== undefined && authorization !== null || baseAccessToken !== undefined && baseAccessToken !== null) {
|
|
293
|
+
localVarHeaderParameter['Authorization'] = String(authorization ? authorization : baseAccessToken);
|
|
294
|
+
}
|
|
295
|
+
|
|
296
|
+
|
|
297
|
+
|
|
298
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
299
|
+
|
|
300
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
301
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
302
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
303
|
+
localVarRequestOptions.data = serializeDataIfNeeded(flushIngestedDataRequestDto, localVarRequestOptions, configuration)
|
|
304
|
+
|
|
305
|
+
return {
|
|
306
|
+
url: toPathString(localVarUrlObj),
|
|
307
|
+
options: localVarRequestOptions,
|
|
308
|
+
};
|
|
309
|
+
},
|
|
310
|
+
/**
|
|
311
|
+
* This will start synchronous ingest flush. **Required Permissions** \"migration.ingest-flushes.*\"
|
|
312
|
+
* @summary Create the Sync ingest flush
|
|
313
|
+
* @param {FlushIngestedDataRequestDto} flushIngestedDataRequestDto
|
|
314
|
+
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
315
|
+
* @param {*} [options] Override http request option.
|
|
316
|
+
* @throws {RequiredError}
|
|
317
|
+
*/
|
|
318
|
+
flushIngestedDataSync: async (flushIngestedDataRequestDto: FlushIngestedDataRequestDto, authorization?: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
319
|
+
// verify required parameter 'flushIngestedDataRequestDto' is not null or undefined
|
|
320
|
+
assertParamExists('flushIngestedDataSync', 'flushIngestedDataRequestDto', flushIngestedDataRequestDto)
|
|
321
|
+
const localVarPath = `/migrationservice/v1/flushes/sync`;
|
|
322
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
323
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
324
|
+
let baseOptions;
|
|
325
|
+
let baseAccessToken;
|
|
326
|
+
if (configuration) {
|
|
327
|
+
baseOptions = configuration.baseOptions;
|
|
328
|
+
baseAccessToken = configuration.accessToken;
|
|
329
|
+
}
|
|
330
|
+
|
|
331
|
+
const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};
|
|
332
|
+
const localVarHeaderParameter = {} as any;
|
|
333
|
+
const localVarQueryParameter = {} as any;
|
|
334
|
+
|
|
335
|
+
// authentication bearer required
|
|
336
|
+
// http bearer authentication required
|
|
337
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
338
|
+
|
|
339
|
+
if (authorization !== undefined && authorization !== null || baseAccessToken !== undefined && baseAccessToken !== null) {
|
|
340
|
+
localVarHeaderParameter['Authorization'] = String(authorization ? authorization : baseAccessToken);
|
|
341
|
+
}
|
|
342
|
+
|
|
343
|
+
|
|
344
|
+
|
|
345
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
346
|
+
|
|
347
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
348
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
349
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
350
|
+
localVarRequestOptions.data = serializeDataIfNeeded(flushIngestedDataRequestDto, localVarRequestOptions, configuration)
|
|
351
|
+
|
|
352
|
+
return {
|
|
353
|
+
url: toPathString(localVarUrlObj),
|
|
354
|
+
options: localVarRequestOptions,
|
|
355
|
+
};
|
|
356
|
+
},
|
|
357
|
+
/**
|
|
358
|
+
* 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\"
|
|
359
|
+
* @summary Retrieve the ingest flush
|
|
360
|
+
* @param {string} code
|
|
361
|
+
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
362
|
+
* @param {*} [options] Override http request option.
|
|
363
|
+
* @throws {RequiredError}
|
|
364
|
+
*/
|
|
365
|
+
getIngestFlush: async (code: string, authorization?: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
366
|
+
// verify required parameter 'code' is not null or undefined
|
|
367
|
+
assertParamExists('getIngestFlush', 'code', code)
|
|
368
|
+
const localVarPath = `/migrationservice/v1/flushes/{code}`
|
|
369
|
+
.replace(`{${"code"}}`, encodeURIComponent(String(code)));
|
|
370
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
371
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
372
|
+
let baseOptions;
|
|
373
|
+
let baseAccessToken;
|
|
374
|
+
if (configuration) {
|
|
375
|
+
baseOptions = configuration.baseOptions;
|
|
376
|
+
baseAccessToken = configuration.accessToken;
|
|
377
|
+
}
|
|
378
|
+
|
|
379
|
+
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
|
|
380
|
+
const localVarHeaderParameter = {} as any;
|
|
381
|
+
const localVarQueryParameter = {} as any;
|
|
382
|
+
|
|
383
|
+
// authentication bearer required
|
|
384
|
+
// http bearer authentication required
|
|
385
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
386
|
+
|
|
387
|
+
if (authorization !== undefined && authorization !== null || baseAccessToken !== undefined && baseAccessToken !== null) {
|
|
388
|
+
localVarHeaderParameter['Authorization'] = String(authorization ? authorization : baseAccessToken);
|
|
389
|
+
}
|
|
390
|
+
|
|
391
|
+
|
|
392
|
+
|
|
393
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
394
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
395
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
396
|
+
|
|
397
|
+
return {
|
|
398
|
+
url: toPathString(localVarUrlObj),
|
|
399
|
+
options: localVarRequestOptions,
|
|
400
|
+
};
|
|
401
|
+
},
|
|
251
402
|
/**
|
|
252
403
|
* 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\"
|
|
253
404
|
* @summary Retrieve the ingest run
|
|
@@ -405,6 +556,82 @@ export const MigrationApiAxiosParamCreator = function (configuration?: Configura
|
|
|
405
556
|
|
|
406
557
|
|
|
407
558
|
|
|
559
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
560
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
561
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
562
|
+
|
|
563
|
+
return {
|
|
564
|
+
url: toPathString(localVarUrlObj),
|
|
565
|
+
options: localVarRequestOptions,
|
|
566
|
+
};
|
|
567
|
+
},
|
|
568
|
+
/**
|
|
569
|
+
* 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\"
|
|
570
|
+
* @summary List ingest flushes
|
|
571
|
+
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
572
|
+
* @param {number} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
|
|
573
|
+
* @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.
|
|
574
|
+
* @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>
|
|
575
|
+
* @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>
|
|
576
|
+
* @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>
|
|
577
|
+
* @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>
|
|
578
|
+
* @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>
|
|
579
|
+
* @param {*} [options] Override http request option.
|
|
580
|
+
* @throws {RequiredError}
|
|
581
|
+
*/
|
|
582
|
+
listIngestFlushes: async (authorization?: string, pageSize?: number, pageToken?: string, filter?: string, search?: string, order?: string, expand?: string, filters?: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
583
|
+
const localVarPath = `/migrationservice/v1/flushes`;
|
|
584
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
585
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
586
|
+
let baseOptions;
|
|
587
|
+
let baseAccessToken;
|
|
588
|
+
if (configuration) {
|
|
589
|
+
baseOptions = configuration.baseOptions;
|
|
590
|
+
baseAccessToken = configuration.accessToken;
|
|
591
|
+
}
|
|
592
|
+
|
|
593
|
+
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
|
|
594
|
+
const localVarHeaderParameter = {} as any;
|
|
595
|
+
const localVarQueryParameter = {} as any;
|
|
596
|
+
|
|
597
|
+
// authentication bearer required
|
|
598
|
+
// http bearer authentication required
|
|
599
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
600
|
+
|
|
601
|
+
if (pageSize !== undefined) {
|
|
602
|
+
localVarQueryParameter['pageSize'] = pageSize;
|
|
603
|
+
}
|
|
604
|
+
|
|
605
|
+
if (pageToken !== undefined) {
|
|
606
|
+
localVarQueryParameter['pageToken'] = pageToken;
|
|
607
|
+
}
|
|
608
|
+
|
|
609
|
+
if (filter !== undefined) {
|
|
610
|
+
localVarQueryParameter['filter'] = filter;
|
|
611
|
+
}
|
|
612
|
+
|
|
613
|
+
if (search !== undefined) {
|
|
614
|
+
localVarQueryParameter['search'] = search;
|
|
615
|
+
}
|
|
616
|
+
|
|
617
|
+
if (order !== undefined) {
|
|
618
|
+
localVarQueryParameter['order'] = order;
|
|
619
|
+
}
|
|
620
|
+
|
|
621
|
+
if (expand !== undefined) {
|
|
622
|
+
localVarQueryParameter['expand'] = expand;
|
|
623
|
+
}
|
|
624
|
+
|
|
625
|
+
if (filters !== undefined) {
|
|
626
|
+
localVarQueryParameter['filters'] = filters;
|
|
627
|
+
}
|
|
628
|
+
|
|
629
|
+
if (authorization !== undefined && authorization !== null || baseAccessToken !== undefined && baseAccessToken !== null) {
|
|
630
|
+
localVarHeaderParameter['Authorization'] = String(authorization ? authorization : baseAccessToken);
|
|
631
|
+
}
|
|
632
|
+
|
|
633
|
+
|
|
634
|
+
|
|
408
635
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
409
636
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
410
637
|
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
@@ -428,7 +655,7 @@ export const MigrationApiAxiosParamCreator = function (configuration?: Configura
|
|
|
428
655
|
* @param {*} [options] Override http request option.
|
|
429
656
|
* @throws {RequiredError}
|
|
430
657
|
*/
|
|
431
|
-
|
|
658
|
+
listIngestRuns: async (authorization?: string, pageSize?: number, pageToken?: string, filter?: string, search?: string, order?: string, expand?: string, filters?: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
432
659
|
const localVarPath = `/migrationservice/v1/ingest-runs`;
|
|
433
660
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
434
661
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
@@ -490,6 +717,57 @@ export const MigrationApiAxiosParamCreator = function (configuration?: Configura
|
|
|
490
717
|
options: localVarRequestOptions,
|
|
491
718
|
};
|
|
492
719
|
},
|
|
720
|
+
/**
|
|
721
|
+
* This will stop the running ingest flush. **Required Permissions** \"migration.ingest-flushes.*\"
|
|
722
|
+
* @summary Stops the ingest flush
|
|
723
|
+
* @param {string} code
|
|
724
|
+
* @param {StopIngestFlushRequestDto} stopIngestFlushRequestDto
|
|
725
|
+
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
726
|
+
* @param {*} [options] Override http request option.
|
|
727
|
+
* @throws {RequiredError}
|
|
728
|
+
*/
|
|
729
|
+
stopIngestFlush: async (code: string, stopIngestFlushRequestDto: StopIngestFlushRequestDto, authorization?: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
730
|
+
// verify required parameter 'code' is not null or undefined
|
|
731
|
+
assertParamExists('stopIngestFlush', 'code', code)
|
|
732
|
+
// verify required parameter 'stopIngestFlushRequestDto' is not null or undefined
|
|
733
|
+
assertParamExists('stopIngestFlush', 'stopIngestFlushRequestDto', stopIngestFlushRequestDto)
|
|
734
|
+
const localVarPath = `/migrationservice/v1/flushes/{code}`
|
|
735
|
+
.replace(`{${"code"}}`, encodeURIComponent(String(code)));
|
|
736
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
737
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
738
|
+
let baseOptions;
|
|
739
|
+
let baseAccessToken;
|
|
740
|
+
if (configuration) {
|
|
741
|
+
baseOptions = configuration.baseOptions;
|
|
742
|
+
baseAccessToken = configuration.accessToken;
|
|
743
|
+
}
|
|
744
|
+
|
|
745
|
+
const localVarRequestOptions = { method: 'PUT', ...baseOptions, ...options};
|
|
746
|
+
const localVarHeaderParameter = {} as any;
|
|
747
|
+
const localVarQueryParameter = {} as any;
|
|
748
|
+
|
|
749
|
+
// authentication bearer required
|
|
750
|
+
// http bearer authentication required
|
|
751
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
752
|
+
|
|
753
|
+
if (authorization !== undefined && authorization !== null || baseAccessToken !== undefined && baseAccessToken !== null) {
|
|
754
|
+
localVarHeaderParameter['Authorization'] = String(authorization ? authorization : baseAccessToken);
|
|
755
|
+
}
|
|
756
|
+
|
|
757
|
+
|
|
758
|
+
|
|
759
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
760
|
+
|
|
761
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
762
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
763
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
764
|
+
localVarRequestOptions.data = serializeDataIfNeeded(stopIngestFlushRequestDto, localVarRequestOptions, configuration)
|
|
765
|
+
|
|
766
|
+
return {
|
|
767
|
+
url: toPathString(localVarUrlObj),
|
|
768
|
+
options: localVarRequestOptions,
|
|
769
|
+
};
|
|
770
|
+
},
|
|
493
771
|
/**
|
|
494
772
|
* This will stop the running ingest run. **Required Permissions** \"migration.ingest-runs.*\"
|
|
495
773
|
* @summary Stops the ingest run
|
|
@@ -652,6 +930,42 @@ export const MigrationApiFp = function(configuration?: Configuration) {
|
|
|
652
930
|
const localVarAxiosArgs = await localVarAxiosParamCreator.createIngestRunSync(createIngestRunSyncRequestDto, authorization, options);
|
|
653
931
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
654
932
|
},
|
|
933
|
+
/**
|
|
934
|
+
* This will start synchronous ingest flush. **Required Permissions** \"migration.ingest-flushes.*\"
|
|
935
|
+
* @summary Create the Sync ingest flush
|
|
936
|
+
* @param {FlushIngestedDataRequestDto} flushIngestedDataRequestDto
|
|
937
|
+
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
938
|
+
* @param {*} [options] Override http request option.
|
|
939
|
+
* @throws {RequiredError}
|
|
940
|
+
*/
|
|
941
|
+
async flushIngestedDataAsync(flushIngestedDataRequestDto: FlushIngestedDataRequestDto, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<FlushIngestedDataResponseClass>> {
|
|
942
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.flushIngestedDataAsync(flushIngestedDataRequestDto, authorization, options);
|
|
943
|
+
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
944
|
+
},
|
|
945
|
+
/**
|
|
946
|
+
* This will start synchronous ingest flush. **Required Permissions** \"migration.ingest-flushes.*\"
|
|
947
|
+
* @summary Create the Sync ingest flush
|
|
948
|
+
* @param {FlushIngestedDataRequestDto} flushIngestedDataRequestDto
|
|
949
|
+
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
950
|
+
* @param {*} [options] Override http request option.
|
|
951
|
+
* @throws {RequiredError}
|
|
952
|
+
*/
|
|
953
|
+
async flushIngestedDataSync(flushIngestedDataRequestDto: FlushIngestedDataRequestDto, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<FlushIngestedDataResponseClass>> {
|
|
954
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.flushIngestedDataSync(flushIngestedDataRequestDto, authorization, options);
|
|
955
|
+
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
956
|
+
},
|
|
957
|
+
/**
|
|
958
|
+
* 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\"
|
|
959
|
+
* @summary Retrieve the ingest flush
|
|
960
|
+
* @param {string} code
|
|
961
|
+
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
962
|
+
* @param {*} [options] Override http request option.
|
|
963
|
+
* @throws {RequiredError}
|
|
964
|
+
*/
|
|
965
|
+
async getIngestFlush(code: string, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<GetIngestFlushResponseClass>> {
|
|
966
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.getIngestFlush(code, authorization, options);
|
|
967
|
+
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
968
|
+
},
|
|
655
969
|
/**
|
|
656
970
|
* 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\"
|
|
657
971
|
* @summary Retrieve the ingest run
|
|
@@ -694,6 +1008,24 @@ export const MigrationApiFp = function(configuration?: Configuration) {
|
|
|
694
1008
|
const localVarAxiosArgs = await localVarAxiosParamCreator.listEntityMappings(authorization, pageSize, pageToken, filter, search, order, expand, filters, options);
|
|
695
1009
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
696
1010
|
},
|
|
1011
|
+
/**
|
|
1012
|
+
* 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\"
|
|
1013
|
+
* @summary List ingest flushes
|
|
1014
|
+
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
1015
|
+
* @param {number} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
|
|
1016
|
+
* @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.
|
|
1017
|
+
* @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>
|
|
1018
|
+
* @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>
|
|
1019
|
+
* @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>
|
|
1020
|
+
* @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>
|
|
1021
|
+
* @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>
|
|
1022
|
+
* @param {*} [options] Override http request option.
|
|
1023
|
+
* @throws {RequiredError}
|
|
1024
|
+
*/
|
|
1025
|
+
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>> {
|
|
1026
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.listIngestFlushes(authorization, pageSize, pageToken, filter, search, order, expand, filters, options);
|
|
1027
|
+
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
1028
|
+
},
|
|
697
1029
|
/**
|
|
698
1030
|
* 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\"
|
|
699
1031
|
* @summary List ingest runs
|
|
@@ -708,8 +1040,21 @@ export const MigrationApiFp = function(configuration?: Configuration) {
|
|
|
708
1040
|
* @param {*} [options] Override http request option.
|
|
709
1041
|
* @throws {RequiredError}
|
|
710
1042
|
*/
|
|
711
|
-
async
|
|
712
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.
|
|
1043
|
+
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>> {
|
|
1044
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.listIngestRuns(authorization, pageSize, pageToken, filter, search, order, expand, filters, options);
|
|
1045
|
+
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
1046
|
+
},
|
|
1047
|
+
/**
|
|
1048
|
+
* This will stop the running ingest flush. **Required Permissions** \"migration.ingest-flushes.*\"
|
|
1049
|
+
* @summary Stops the ingest flush
|
|
1050
|
+
* @param {string} code
|
|
1051
|
+
* @param {StopIngestFlushRequestDto} stopIngestFlushRequestDto
|
|
1052
|
+
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
1053
|
+
* @param {*} [options] Override http request option.
|
|
1054
|
+
* @throws {RequiredError}
|
|
1055
|
+
*/
|
|
1056
|
+
async stopIngestFlush(code: string, stopIngestFlushRequestDto: StopIngestFlushRequestDto, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<StopIngestFlushResponseClass>> {
|
|
1057
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.stopIngestFlush(code, stopIngestFlushRequestDto, authorization, options);
|
|
713
1058
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
714
1059
|
},
|
|
715
1060
|
/**
|
|
@@ -794,6 +1139,39 @@ export const MigrationApiFactory = function (configuration?: Configuration, base
|
|
|
794
1139
|
createIngestRunSync(createIngestRunSyncRequestDto: CreateIngestRunSyncRequestDto, authorization?: string, options?: any): AxiosPromise<CreateIngestRunSyncResponseClass> {
|
|
795
1140
|
return localVarFp.createIngestRunSync(createIngestRunSyncRequestDto, authorization, options).then((request) => request(axios, basePath));
|
|
796
1141
|
},
|
|
1142
|
+
/**
|
|
1143
|
+
* This will start synchronous ingest flush. **Required Permissions** \"migration.ingest-flushes.*\"
|
|
1144
|
+
* @summary Create the Sync ingest flush
|
|
1145
|
+
* @param {FlushIngestedDataRequestDto} flushIngestedDataRequestDto
|
|
1146
|
+
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
1147
|
+
* @param {*} [options] Override http request option.
|
|
1148
|
+
* @throws {RequiredError}
|
|
1149
|
+
*/
|
|
1150
|
+
flushIngestedDataAsync(flushIngestedDataRequestDto: FlushIngestedDataRequestDto, authorization?: string, options?: any): AxiosPromise<FlushIngestedDataResponseClass> {
|
|
1151
|
+
return localVarFp.flushIngestedDataAsync(flushIngestedDataRequestDto, authorization, options).then((request) => request(axios, basePath));
|
|
1152
|
+
},
|
|
1153
|
+
/**
|
|
1154
|
+
* This will start synchronous ingest flush. **Required Permissions** \"migration.ingest-flushes.*\"
|
|
1155
|
+
* @summary Create the Sync ingest flush
|
|
1156
|
+
* @param {FlushIngestedDataRequestDto} flushIngestedDataRequestDto
|
|
1157
|
+
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
1158
|
+
* @param {*} [options] Override http request option.
|
|
1159
|
+
* @throws {RequiredError}
|
|
1160
|
+
*/
|
|
1161
|
+
flushIngestedDataSync(flushIngestedDataRequestDto: FlushIngestedDataRequestDto, authorization?: string, options?: any): AxiosPromise<FlushIngestedDataResponseClass> {
|
|
1162
|
+
return localVarFp.flushIngestedDataSync(flushIngestedDataRequestDto, authorization, options).then((request) => request(axios, basePath));
|
|
1163
|
+
},
|
|
1164
|
+
/**
|
|
1165
|
+
* 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\"
|
|
1166
|
+
* @summary Retrieve the ingest flush
|
|
1167
|
+
* @param {string} code
|
|
1168
|
+
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
1169
|
+
* @param {*} [options] Override http request option.
|
|
1170
|
+
* @throws {RequiredError}
|
|
1171
|
+
*/
|
|
1172
|
+
getIngestFlush(code: string, authorization?: string, options?: any): AxiosPromise<GetIngestFlushResponseClass> {
|
|
1173
|
+
return localVarFp.getIngestFlush(code, authorization, options).then((request) => request(axios, basePath));
|
|
1174
|
+
},
|
|
797
1175
|
/**
|
|
798
1176
|
* 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\"
|
|
799
1177
|
* @summary Retrieve the ingest run
|
|
@@ -833,6 +1211,23 @@ export const MigrationApiFactory = function (configuration?: Configuration, base
|
|
|
833
1211
|
listEntityMappings(authorization?: string, pageSize?: number, pageToken?: string, filter?: string, search?: string, order?: string, expand?: string, filters?: string, options?: any): AxiosPromise<ListEntityMappingsResponseClass> {
|
|
834
1212
|
return localVarFp.listEntityMappings(authorization, pageSize, pageToken, filter, search, order, expand, filters, options).then((request) => request(axios, basePath));
|
|
835
1213
|
},
|
|
1214
|
+
/**
|
|
1215
|
+
* 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\"
|
|
1216
|
+
* @summary List ingest flushes
|
|
1217
|
+
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
1218
|
+
* @param {number} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
|
|
1219
|
+
* @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.
|
|
1220
|
+
* @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>
|
|
1221
|
+
* @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>
|
|
1222
|
+
* @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>
|
|
1223
|
+
* @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>
|
|
1224
|
+
* @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>
|
|
1225
|
+
* @param {*} [options] Override http request option.
|
|
1226
|
+
* @throws {RequiredError}
|
|
1227
|
+
*/
|
|
1228
|
+
listIngestFlushes(authorization?: string, pageSize?: number, pageToken?: string, filter?: string, search?: string, order?: string, expand?: string, filters?: string, options?: any): AxiosPromise<ListIngestFlushesResponseClass> {
|
|
1229
|
+
return localVarFp.listIngestFlushes(authorization, pageSize, pageToken, filter, search, order, expand, filters, options).then((request) => request(axios, basePath));
|
|
1230
|
+
},
|
|
836
1231
|
/**
|
|
837
1232
|
* 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\"
|
|
838
1233
|
* @summary List ingest runs
|
|
@@ -847,8 +1242,20 @@ export const MigrationApiFactory = function (configuration?: Configuration, base
|
|
|
847
1242
|
* @param {*} [options] Override http request option.
|
|
848
1243
|
* @throws {RequiredError}
|
|
849
1244
|
*/
|
|
850
|
-
|
|
851
|
-
return localVarFp.
|
|
1245
|
+
listIngestRuns(authorization?: string, pageSize?: number, pageToken?: string, filter?: string, search?: string, order?: string, expand?: string, filters?: string, options?: any): AxiosPromise<ListIngestRunsResponseClass> {
|
|
1246
|
+
return localVarFp.listIngestRuns(authorization, pageSize, pageToken, filter, search, order, expand, filters, options).then((request) => request(axios, basePath));
|
|
1247
|
+
},
|
|
1248
|
+
/**
|
|
1249
|
+
* This will stop the running ingest flush. **Required Permissions** \"migration.ingest-flushes.*\"
|
|
1250
|
+
* @summary Stops the ingest flush
|
|
1251
|
+
* @param {string} code
|
|
1252
|
+
* @param {StopIngestFlushRequestDto} stopIngestFlushRequestDto
|
|
1253
|
+
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
1254
|
+
* @param {*} [options] Override http request option.
|
|
1255
|
+
* @throws {RequiredError}
|
|
1256
|
+
*/
|
|
1257
|
+
stopIngestFlush(code: string, stopIngestFlushRequestDto: StopIngestFlushRequestDto, authorization?: string, options?: any): AxiosPromise<StopIngestFlushResponseClass> {
|
|
1258
|
+
return localVarFp.stopIngestFlush(code, stopIngestFlushRequestDto, authorization, options).then((request) => request(axios, basePath));
|
|
852
1259
|
},
|
|
853
1260
|
/**
|
|
854
1261
|
* This will stop the running ingest run. **Required Permissions** \"migration.ingest-runs.*\"
|
|
@@ -975,6 +1382,69 @@ export interface MigrationApiCreateIngestRunSyncRequest {
|
|
|
975
1382
|
readonly authorization?: string
|
|
976
1383
|
}
|
|
977
1384
|
|
|
1385
|
+
/**
|
|
1386
|
+
* Request parameters for flushIngestedDataAsync operation in MigrationApi.
|
|
1387
|
+
* @export
|
|
1388
|
+
* @interface MigrationApiFlushIngestedDataAsyncRequest
|
|
1389
|
+
*/
|
|
1390
|
+
export interface MigrationApiFlushIngestedDataAsyncRequest {
|
|
1391
|
+
/**
|
|
1392
|
+
*
|
|
1393
|
+
* @type {FlushIngestedDataRequestDto}
|
|
1394
|
+
* @memberof MigrationApiFlushIngestedDataAsync
|
|
1395
|
+
*/
|
|
1396
|
+
readonly flushIngestedDataRequestDto: FlushIngestedDataRequestDto
|
|
1397
|
+
|
|
1398
|
+
/**
|
|
1399
|
+
* Bearer Token: provided by the login endpoint under the name accessToken.
|
|
1400
|
+
* @type {string}
|
|
1401
|
+
* @memberof MigrationApiFlushIngestedDataAsync
|
|
1402
|
+
*/
|
|
1403
|
+
readonly authorization?: string
|
|
1404
|
+
}
|
|
1405
|
+
|
|
1406
|
+
/**
|
|
1407
|
+
* Request parameters for flushIngestedDataSync operation in MigrationApi.
|
|
1408
|
+
* @export
|
|
1409
|
+
* @interface MigrationApiFlushIngestedDataSyncRequest
|
|
1410
|
+
*/
|
|
1411
|
+
export interface MigrationApiFlushIngestedDataSyncRequest {
|
|
1412
|
+
/**
|
|
1413
|
+
*
|
|
1414
|
+
* @type {FlushIngestedDataRequestDto}
|
|
1415
|
+
* @memberof MigrationApiFlushIngestedDataSync
|
|
1416
|
+
*/
|
|
1417
|
+
readonly flushIngestedDataRequestDto: FlushIngestedDataRequestDto
|
|
1418
|
+
|
|
1419
|
+
/**
|
|
1420
|
+
* Bearer Token: provided by the login endpoint under the name accessToken.
|
|
1421
|
+
* @type {string}
|
|
1422
|
+
* @memberof MigrationApiFlushIngestedDataSync
|
|
1423
|
+
*/
|
|
1424
|
+
readonly authorization?: string
|
|
1425
|
+
}
|
|
1426
|
+
|
|
1427
|
+
/**
|
|
1428
|
+
* Request parameters for getIngestFlush operation in MigrationApi.
|
|
1429
|
+
* @export
|
|
1430
|
+
* @interface MigrationApiGetIngestFlushRequest
|
|
1431
|
+
*/
|
|
1432
|
+
export interface MigrationApiGetIngestFlushRequest {
|
|
1433
|
+
/**
|
|
1434
|
+
*
|
|
1435
|
+
* @type {string}
|
|
1436
|
+
* @memberof MigrationApiGetIngestFlush
|
|
1437
|
+
*/
|
|
1438
|
+
readonly code: string
|
|
1439
|
+
|
|
1440
|
+
/**
|
|
1441
|
+
* Bearer Token: provided by the login endpoint under the name accessToken.
|
|
1442
|
+
* @type {string}
|
|
1443
|
+
* @memberof MigrationApiGetIngestFlush
|
|
1444
|
+
*/
|
|
1445
|
+
readonly authorization?: string
|
|
1446
|
+
}
|
|
1447
|
+
|
|
978
1448
|
/**
|
|
979
1449
|
* Request parameters for getIngestRun operation in MigrationApi.
|
|
980
1450
|
* @export
|
|
@@ -1081,68 +1551,159 @@ export interface MigrationApiListEntityMappingsRequest {
|
|
|
1081
1551
|
}
|
|
1082
1552
|
|
|
1083
1553
|
/**
|
|
1084
|
-
* Request parameters for
|
|
1554
|
+
* Request parameters for listIngestFlushes operation in MigrationApi.
|
|
1085
1555
|
* @export
|
|
1086
|
-
* @interface
|
|
1556
|
+
* @interface MigrationApiListIngestFlushesRequest
|
|
1087
1557
|
*/
|
|
1088
|
-
export interface
|
|
1558
|
+
export interface MigrationApiListIngestFlushesRequest {
|
|
1089
1559
|
/**
|
|
1090
1560
|
* Bearer Token: provided by the login endpoint under the name accessToken.
|
|
1091
1561
|
* @type {string}
|
|
1092
|
-
* @memberof
|
|
1562
|
+
* @memberof MigrationApiListIngestFlushes
|
|
1093
1563
|
*/
|
|
1094
1564
|
readonly authorization?: string
|
|
1095
1565
|
|
|
1096
1566
|
/**
|
|
1097
1567
|
* A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
|
|
1098
1568
|
* @type {number}
|
|
1099
|
-
* @memberof
|
|
1569
|
+
* @memberof MigrationApiListIngestFlushes
|
|
1100
1570
|
*/
|
|
1101
1571
|
readonly pageSize?: number
|
|
1102
1572
|
|
|
1103
1573
|
/**
|
|
1104
1574
|
* 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.
|
|
1105
1575
|
* @type {string}
|
|
1106
|
-
* @memberof
|
|
1576
|
+
* @memberof MigrationApiListIngestFlushes
|
|
1577
|
+
*/
|
|
1578
|
+
readonly pageToken?: string
|
|
1579
|
+
|
|
1580
|
+
/**
|
|
1581
|
+
* 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>
|
|
1582
|
+
* @type {string}
|
|
1583
|
+
* @memberof MigrationApiListIngestFlushes
|
|
1584
|
+
*/
|
|
1585
|
+
readonly filter?: string
|
|
1586
|
+
|
|
1587
|
+
/**
|
|
1588
|
+
* 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>
|
|
1589
|
+
* @type {string}
|
|
1590
|
+
* @memberof MigrationApiListIngestFlushes
|
|
1591
|
+
*/
|
|
1592
|
+
readonly search?: string
|
|
1593
|
+
|
|
1594
|
+
/**
|
|
1595
|
+
* 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>
|
|
1596
|
+
* @type {string}
|
|
1597
|
+
* @memberof MigrationApiListIngestFlushes
|
|
1598
|
+
*/
|
|
1599
|
+
readonly order?: string
|
|
1600
|
+
|
|
1601
|
+
/**
|
|
1602
|
+
* 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>
|
|
1603
|
+
* @type {string}
|
|
1604
|
+
* @memberof MigrationApiListIngestFlushes
|
|
1605
|
+
*/
|
|
1606
|
+
readonly expand?: string
|
|
1607
|
+
|
|
1608
|
+
/**
|
|
1609
|
+
* 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>
|
|
1610
|
+
* @type {string}
|
|
1611
|
+
* @memberof MigrationApiListIngestFlushes
|
|
1612
|
+
*/
|
|
1613
|
+
readonly filters?: string
|
|
1614
|
+
}
|
|
1615
|
+
|
|
1616
|
+
/**
|
|
1617
|
+
* Request parameters for listIngestRuns operation in MigrationApi.
|
|
1618
|
+
* @export
|
|
1619
|
+
* @interface MigrationApiListIngestRunsRequest
|
|
1620
|
+
*/
|
|
1621
|
+
export interface MigrationApiListIngestRunsRequest {
|
|
1622
|
+
/**
|
|
1623
|
+
* Bearer Token: provided by the login endpoint under the name accessToken.
|
|
1624
|
+
* @type {string}
|
|
1625
|
+
* @memberof MigrationApiListIngestRuns
|
|
1626
|
+
*/
|
|
1627
|
+
readonly authorization?: string
|
|
1628
|
+
|
|
1629
|
+
/**
|
|
1630
|
+
* A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
|
|
1631
|
+
* @type {number}
|
|
1632
|
+
* @memberof MigrationApiListIngestRuns
|
|
1633
|
+
*/
|
|
1634
|
+
readonly pageSize?: number
|
|
1635
|
+
|
|
1636
|
+
/**
|
|
1637
|
+
* 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.
|
|
1638
|
+
* @type {string}
|
|
1639
|
+
* @memberof MigrationApiListIngestRuns
|
|
1107
1640
|
*/
|
|
1108
1641
|
readonly pageToken?: string
|
|
1109
1642
|
|
|
1110
1643
|
/**
|
|
1111
1644
|
* 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>
|
|
1112
1645
|
* @type {string}
|
|
1113
|
-
* @memberof
|
|
1646
|
+
* @memberof MigrationApiListIngestRuns
|
|
1114
1647
|
*/
|
|
1115
1648
|
readonly filter?: string
|
|
1116
1649
|
|
|
1117
1650
|
/**
|
|
1118
1651
|
* 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>
|
|
1119
1652
|
* @type {string}
|
|
1120
|
-
* @memberof
|
|
1653
|
+
* @memberof MigrationApiListIngestRuns
|
|
1121
1654
|
*/
|
|
1122
1655
|
readonly search?: string
|
|
1123
1656
|
|
|
1124
1657
|
/**
|
|
1125
1658
|
* 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>
|
|
1126
1659
|
* @type {string}
|
|
1127
|
-
* @memberof
|
|
1660
|
+
* @memberof MigrationApiListIngestRuns
|
|
1128
1661
|
*/
|
|
1129
1662
|
readonly order?: string
|
|
1130
1663
|
|
|
1131
1664
|
/**
|
|
1132
1665
|
* 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>
|
|
1133
1666
|
* @type {string}
|
|
1134
|
-
* @memberof
|
|
1667
|
+
* @memberof MigrationApiListIngestRuns
|
|
1135
1668
|
*/
|
|
1136
1669
|
readonly expand?: string
|
|
1137
1670
|
|
|
1138
1671
|
/**
|
|
1139
1672
|
* 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>
|
|
1140
1673
|
* @type {string}
|
|
1141
|
-
* @memberof
|
|
1674
|
+
* @memberof MigrationApiListIngestRuns
|
|
1142
1675
|
*/
|
|
1143
1676
|
readonly filters?: string
|
|
1144
1677
|
}
|
|
1145
1678
|
|
|
1679
|
+
/**
|
|
1680
|
+
* Request parameters for stopIngestFlush operation in MigrationApi.
|
|
1681
|
+
* @export
|
|
1682
|
+
* @interface MigrationApiStopIngestFlushRequest
|
|
1683
|
+
*/
|
|
1684
|
+
export interface MigrationApiStopIngestFlushRequest {
|
|
1685
|
+
/**
|
|
1686
|
+
*
|
|
1687
|
+
* @type {string}
|
|
1688
|
+
* @memberof MigrationApiStopIngestFlush
|
|
1689
|
+
*/
|
|
1690
|
+
readonly code: string
|
|
1691
|
+
|
|
1692
|
+
/**
|
|
1693
|
+
*
|
|
1694
|
+
* @type {StopIngestFlushRequestDto}
|
|
1695
|
+
* @memberof MigrationApiStopIngestFlush
|
|
1696
|
+
*/
|
|
1697
|
+
readonly stopIngestFlushRequestDto: StopIngestFlushRequestDto
|
|
1698
|
+
|
|
1699
|
+
/**
|
|
1700
|
+
* Bearer Token: provided by the login endpoint under the name accessToken.
|
|
1701
|
+
* @type {string}
|
|
1702
|
+
* @memberof MigrationApiStopIngestFlush
|
|
1703
|
+
*/
|
|
1704
|
+
readonly authorization?: string
|
|
1705
|
+
}
|
|
1706
|
+
|
|
1146
1707
|
/**
|
|
1147
1708
|
* Request parameters for stopIngestRun operation in MigrationApi.
|
|
1148
1709
|
* @export
|
|
@@ -1254,6 +1815,42 @@ export class MigrationApi extends BaseAPI {
|
|
|
1254
1815
|
return MigrationApiFp(this.configuration).createIngestRunSync(requestParameters.createIngestRunSyncRequestDto, requestParameters.authorization, options).then((request) => request(this.axios, this.basePath));
|
|
1255
1816
|
}
|
|
1256
1817
|
|
|
1818
|
+
/**
|
|
1819
|
+
* This will start synchronous ingest flush. **Required Permissions** \"migration.ingest-flushes.*\"
|
|
1820
|
+
* @summary Create the Sync ingest flush
|
|
1821
|
+
* @param {MigrationApiFlushIngestedDataAsyncRequest} requestParameters Request parameters.
|
|
1822
|
+
* @param {*} [options] Override http request option.
|
|
1823
|
+
* @throws {RequiredError}
|
|
1824
|
+
* @memberof MigrationApi
|
|
1825
|
+
*/
|
|
1826
|
+
public flushIngestedDataAsync(requestParameters: MigrationApiFlushIngestedDataAsyncRequest, options?: AxiosRequestConfig) {
|
|
1827
|
+
return MigrationApiFp(this.configuration).flushIngestedDataAsync(requestParameters.flushIngestedDataRequestDto, requestParameters.authorization, options).then((request) => request(this.axios, this.basePath));
|
|
1828
|
+
}
|
|
1829
|
+
|
|
1830
|
+
/**
|
|
1831
|
+
* This will start synchronous ingest flush. **Required Permissions** \"migration.ingest-flushes.*\"
|
|
1832
|
+
* @summary Create the Sync ingest flush
|
|
1833
|
+
* @param {MigrationApiFlushIngestedDataSyncRequest} requestParameters Request parameters.
|
|
1834
|
+
* @param {*} [options] Override http request option.
|
|
1835
|
+
* @throws {RequiredError}
|
|
1836
|
+
* @memberof MigrationApi
|
|
1837
|
+
*/
|
|
1838
|
+
public flushIngestedDataSync(requestParameters: MigrationApiFlushIngestedDataSyncRequest, options?: AxiosRequestConfig) {
|
|
1839
|
+
return MigrationApiFp(this.configuration).flushIngestedDataSync(requestParameters.flushIngestedDataRequestDto, requestParameters.authorization, options).then((request) => request(this.axios, this.basePath));
|
|
1840
|
+
}
|
|
1841
|
+
|
|
1842
|
+
/**
|
|
1843
|
+
* 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\"
|
|
1844
|
+
* @summary Retrieve the ingest flush
|
|
1845
|
+
* @param {MigrationApiGetIngestFlushRequest} requestParameters Request parameters.
|
|
1846
|
+
* @param {*} [options] Override http request option.
|
|
1847
|
+
* @throws {RequiredError}
|
|
1848
|
+
* @memberof MigrationApi
|
|
1849
|
+
*/
|
|
1850
|
+
public getIngestFlush(requestParameters: MigrationApiGetIngestFlushRequest, options?: AxiosRequestConfig) {
|
|
1851
|
+
return MigrationApiFp(this.configuration).getIngestFlush(requestParameters.code, requestParameters.authorization, options).then((request) => request(this.axios, this.basePath));
|
|
1852
|
+
}
|
|
1853
|
+
|
|
1257
1854
|
/**
|
|
1258
1855
|
* 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\"
|
|
1259
1856
|
* @summary Retrieve the ingest run
|
|
@@ -1290,16 +1887,40 @@ export class MigrationApi extends BaseAPI {
|
|
|
1290
1887
|
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));
|
|
1291
1888
|
}
|
|
1292
1889
|
|
|
1890
|
+
/**
|
|
1891
|
+
* 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\"
|
|
1892
|
+
* @summary List ingest flushes
|
|
1893
|
+
* @param {MigrationApiListIngestFlushesRequest} requestParameters Request parameters.
|
|
1894
|
+
* @param {*} [options] Override http request option.
|
|
1895
|
+
* @throws {RequiredError}
|
|
1896
|
+
* @memberof MigrationApi
|
|
1897
|
+
*/
|
|
1898
|
+
public listIngestFlushes(requestParameters: MigrationApiListIngestFlushesRequest = {}, options?: AxiosRequestConfig) {
|
|
1899
|
+
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));
|
|
1900
|
+
}
|
|
1901
|
+
|
|
1293
1902
|
/**
|
|
1294
1903
|
* Returns a list of ingest runs you have previously created. The ingest runs are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation. **Required Permissions** \"migration.ingest-runs.view\"
|
|
1295
1904
|
* @summary List ingest runs
|
|
1296
|
-
* @param {
|
|
1905
|
+
* @param {MigrationApiListIngestRunsRequest} requestParameters Request parameters.
|
|
1906
|
+
* @param {*} [options] Override http request option.
|
|
1907
|
+
* @throws {RequiredError}
|
|
1908
|
+
* @memberof MigrationApi
|
|
1909
|
+
*/
|
|
1910
|
+
public listIngestRuns(requestParameters: MigrationApiListIngestRunsRequest = {}, options?: AxiosRequestConfig) {
|
|
1911
|
+
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));
|
|
1912
|
+
}
|
|
1913
|
+
|
|
1914
|
+
/**
|
|
1915
|
+
* This will stop the running ingest flush. **Required Permissions** \"migration.ingest-flushes.*\"
|
|
1916
|
+
* @summary Stops the ingest flush
|
|
1917
|
+
* @param {MigrationApiStopIngestFlushRequest} requestParameters Request parameters.
|
|
1297
1918
|
* @param {*} [options] Override http request option.
|
|
1298
1919
|
* @throws {RequiredError}
|
|
1299
1920
|
* @memberof MigrationApi
|
|
1300
1921
|
*/
|
|
1301
|
-
public
|
|
1302
|
-
return MigrationApiFp(this.configuration).
|
|
1922
|
+
public stopIngestFlush(requestParameters: MigrationApiStopIngestFlushRequest, options?: AxiosRequestConfig) {
|
|
1923
|
+
return MigrationApiFp(this.configuration).stopIngestFlush(requestParameters.code, requestParameters.stopIngestFlushRequestDto, requestParameters.authorization, options).then((request) => request(this.axios, this.basePath));
|
|
1303
1924
|
}
|
|
1304
1925
|
|
|
1305
1926
|
/**
|