@emilgroup/migration-sdk 0.1.1-beta.2 → 0.1.1-beta.5
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
|
@@ -0,0 +1,91 @@
|
|
|
1
|
+
/* tslint:disable */
|
|
2
|
+
/* eslint-disable */
|
|
3
|
+
/**
|
|
4
|
+
* EMIL MigrationService
|
|
5
|
+
* The EMIL MigrationService API description
|
|
6
|
+
*
|
|
7
|
+
* The version of the OpenAPI document: 1.0
|
|
8
|
+
* Contact: kontakt@emil.de
|
|
9
|
+
*
|
|
10
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
11
|
+
* https://openapi-generator.tech
|
|
12
|
+
* Do not edit the class manually.
|
|
13
|
+
*/
|
|
14
|
+
|
|
15
|
+
|
|
16
|
+
import { IngestFlushEntityClass } from './ingest-flush-entity-class';
|
|
17
|
+
|
|
18
|
+
/**
|
|
19
|
+
*
|
|
20
|
+
* @export
|
|
21
|
+
* @interface IngestFlushClass
|
|
22
|
+
*/
|
|
23
|
+
export interface IngestFlushClass {
|
|
24
|
+
/**
|
|
25
|
+
* Internal unique identifier for the object. You should not have to use this, use code instead.
|
|
26
|
+
* @type {number}
|
|
27
|
+
* @memberof IngestFlushClass
|
|
28
|
+
*/
|
|
29
|
+
'id': number;
|
|
30
|
+
/**
|
|
31
|
+
* Unique identifier for the object.
|
|
32
|
+
* @type {string}
|
|
33
|
+
* @memberof IngestFlushClass
|
|
34
|
+
*/
|
|
35
|
+
'code': string;
|
|
36
|
+
/**
|
|
37
|
+
* Source system name.
|
|
38
|
+
* @type {string}
|
|
39
|
+
* @memberof IngestFlushClass
|
|
40
|
+
*/
|
|
41
|
+
'sourceSystem': string;
|
|
42
|
+
/**
|
|
43
|
+
* Total number of deleetd rows.
|
|
44
|
+
* @type {number}
|
|
45
|
+
* @memberof IngestFlushClass
|
|
46
|
+
*/
|
|
47
|
+
'totalDeletedRowCount': number;
|
|
48
|
+
/**
|
|
49
|
+
* Whether the flush was successful.
|
|
50
|
+
* @type {boolean}
|
|
51
|
+
* @memberof IngestFlushClass
|
|
52
|
+
*/
|
|
53
|
+
'isSuccess'?: boolean;
|
|
54
|
+
/**
|
|
55
|
+
* Error message if ingest flush failed.
|
|
56
|
+
* @type {string}
|
|
57
|
+
* @memberof IngestFlushClass
|
|
58
|
+
*/
|
|
59
|
+
'errorMessage'?: string;
|
|
60
|
+
/**
|
|
61
|
+
* Time at which the object was created.
|
|
62
|
+
* @type {string}
|
|
63
|
+
* @memberof IngestFlushClass
|
|
64
|
+
*/
|
|
65
|
+
'createdAt': string;
|
|
66
|
+
/**
|
|
67
|
+
* Time at which the object was updated.
|
|
68
|
+
* @type {string}
|
|
69
|
+
* @memberof IngestFlushClass
|
|
70
|
+
*/
|
|
71
|
+
'updatedAt': string;
|
|
72
|
+
/**
|
|
73
|
+
* Identifier of the user who created the record.
|
|
74
|
+
* @type {string}
|
|
75
|
+
* @memberof IngestFlushClass
|
|
76
|
+
*/
|
|
77
|
+
'createdBy': string;
|
|
78
|
+
/**
|
|
79
|
+
* Identifier of the user who last updated the record.
|
|
80
|
+
* @type {string}
|
|
81
|
+
* @memberof IngestFlushClass
|
|
82
|
+
*/
|
|
83
|
+
'updatedBy': string;
|
|
84
|
+
/**
|
|
85
|
+
* List of entities with the numbers of deleetd rows
|
|
86
|
+
* @type {Array<IngestFlushEntityClass>}
|
|
87
|
+
* @memberof IngestFlushClass
|
|
88
|
+
*/
|
|
89
|
+
'entities': Array<IngestFlushEntityClass>;
|
|
90
|
+
}
|
|
91
|
+
|
|
@@ -0,0 +1,90 @@
|
|
|
1
|
+
/* tslint:disable */
|
|
2
|
+
/* eslint-disable */
|
|
3
|
+
/**
|
|
4
|
+
* EMIL MigrationService
|
|
5
|
+
* The EMIL MigrationService API description
|
|
6
|
+
*
|
|
7
|
+
* The version of the OpenAPI document: 1.0
|
|
8
|
+
* Contact: kontakt@emil.de
|
|
9
|
+
*
|
|
10
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
11
|
+
* https://openapi-generator.tech
|
|
12
|
+
* Do not edit the class manually.
|
|
13
|
+
*/
|
|
14
|
+
|
|
15
|
+
|
|
16
|
+
|
|
17
|
+
/**
|
|
18
|
+
*
|
|
19
|
+
* @export
|
|
20
|
+
* @interface IngestFlushEntityClass
|
|
21
|
+
*/
|
|
22
|
+
export interface IngestFlushEntityClass {
|
|
23
|
+
/**
|
|
24
|
+
* Internal unique identifier for the object. You should not have to use this, use code instead.
|
|
25
|
+
* @type {number}
|
|
26
|
+
* @memberof IngestFlushEntityClass
|
|
27
|
+
*/
|
|
28
|
+
'id': number;
|
|
29
|
+
/**
|
|
30
|
+
* Unique identifier for the object.
|
|
31
|
+
* @type {string}
|
|
32
|
+
* @memberof IngestFlushEntityClass
|
|
33
|
+
*/
|
|
34
|
+
'code': string;
|
|
35
|
+
/**
|
|
36
|
+
* Entity type (Target, Staging or Migration).
|
|
37
|
+
* @type {string}
|
|
38
|
+
* @memberof IngestFlushEntityClass
|
|
39
|
+
*/
|
|
40
|
+
'entityType': string;
|
|
41
|
+
/**
|
|
42
|
+
* Entity name.
|
|
43
|
+
* @type {string}
|
|
44
|
+
* @memberof IngestFlushEntityClass
|
|
45
|
+
*/
|
|
46
|
+
'entity': string;
|
|
47
|
+
/**
|
|
48
|
+
* Number of deleted rows.
|
|
49
|
+
* @type {number}
|
|
50
|
+
* @memberof IngestFlushEntityClass
|
|
51
|
+
*/
|
|
52
|
+
'deletedRowCount': number;
|
|
53
|
+
/**
|
|
54
|
+
* Whether the entity flush was successful.
|
|
55
|
+
* @type {boolean}
|
|
56
|
+
* @memberof IngestFlushEntityClass
|
|
57
|
+
*/
|
|
58
|
+
'isSuccess'?: boolean;
|
|
59
|
+
/**
|
|
60
|
+
* Error message if enttiy flush failed.
|
|
61
|
+
* @type {string}
|
|
62
|
+
* @memberof IngestFlushEntityClass
|
|
63
|
+
*/
|
|
64
|
+
'errorMessage'?: string;
|
|
65
|
+
/**
|
|
66
|
+
* Time at which the object was created.
|
|
67
|
+
* @type {string}
|
|
68
|
+
* @memberof IngestFlushEntityClass
|
|
69
|
+
*/
|
|
70
|
+
'createdAt': string;
|
|
71
|
+
/**
|
|
72
|
+
* Time at which the object was updated.
|
|
73
|
+
* @type {string}
|
|
74
|
+
* @memberof IngestFlushEntityClass
|
|
75
|
+
*/
|
|
76
|
+
'updatedAt': string;
|
|
77
|
+
/**
|
|
78
|
+
* Identifier of the user who created the record.
|
|
79
|
+
* @type {string}
|
|
80
|
+
* @memberof IngestFlushEntityClass
|
|
81
|
+
*/
|
|
82
|
+
'createdBy': string;
|
|
83
|
+
/**
|
|
84
|
+
* Identifier of the user who last updated the record.
|
|
85
|
+
* @type {string}
|
|
86
|
+
* @memberof IngestFlushEntityClass
|
|
87
|
+
*/
|
|
88
|
+
'updatedBy': string;
|
|
89
|
+
}
|
|
90
|
+
|
|
@@ -0,0 +1,49 @@
|
|
|
1
|
+
/* tslint:disable */
|
|
2
|
+
/* eslint-disable */
|
|
3
|
+
/**
|
|
4
|
+
* EMIL MigrationService
|
|
5
|
+
* The EMIL MigrationService API description
|
|
6
|
+
*
|
|
7
|
+
* The version of the OpenAPI document: 1.0
|
|
8
|
+
* Contact: kontakt@emil.de
|
|
9
|
+
*
|
|
10
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
11
|
+
* https://openapi-generator.tech
|
|
12
|
+
* Do not edit the class manually.
|
|
13
|
+
*/
|
|
14
|
+
|
|
15
|
+
|
|
16
|
+
import { IngestFlushClass } from './ingest-flush-class';
|
|
17
|
+
|
|
18
|
+
/**
|
|
19
|
+
*
|
|
20
|
+
* @export
|
|
21
|
+
* @interface ListIngestFlushesResponseClass
|
|
22
|
+
*/
|
|
23
|
+
export interface ListIngestFlushesResponseClass {
|
|
24
|
+
/**
|
|
25
|
+
* Ingested data flushes.
|
|
26
|
+
* @type {Array<IngestFlushClass>}
|
|
27
|
+
* @memberof ListIngestFlushesResponseClass
|
|
28
|
+
*/
|
|
29
|
+
'items': Array<IngestFlushClass>;
|
|
30
|
+
/**
|
|
31
|
+
* Next page token.
|
|
32
|
+
* @type {string}
|
|
33
|
+
* @memberof ListIngestFlushesResponseClass
|
|
34
|
+
*/
|
|
35
|
+
'nextPageToken': string;
|
|
36
|
+
/**
|
|
37
|
+
* Items per page.
|
|
38
|
+
* @type {number}
|
|
39
|
+
* @memberof ListIngestFlushesResponseClass
|
|
40
|
+
*/
|
|
41
|
+
'itemsPerPage': number;
|
|
42
|
+
/**
|
|
43
|
+
* Total amount of items.
|
|
44
|
+
* @type {number}
|
|
45
|
+
* @memberof ListIngestFlushesResponseClass
|
|
46
|
+
*/
|
|
47
|
+
'totalItems': number;
|
|
48
|
+
}
|
|
49
|
+
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
/* tslint:disable */
|
|
2
|
+
/* eslint-disable */
|
|
3
|
+
/**
|
|
4
|
+
* EMIL MigrationService
|
|
5
|
+
* The EMIL MigrationService API description
|
|
6
|
+
*
|
|
7
|
+
* The version of the OpenAPI document: 1.0
|
|
8
|
+
* Contact: kontakt@emil.de
|
|
9
|
+
*
|
|
10
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
11
|
+
* https://openapi-generator.tech
|
|
12
|
+
* Do not edit the class manually.
|
|
13
|
+
*/
|
|
14
|
+
|
|
15
|
+
|
|
16
|
+
|
|
17
|
+
/**
|
|
18
|
+
*
|
|
19
|
+
* @export
|
|
20
|
+
* @interface StopIngestFlushRequestDto
|
|
21
|
+
*/
|
|
22
|
+
export interface StopIngestFlushRequestDto {
|
|
23
|
+
/**
|
|
24
|
+
* Message to log.
|
|
25
|
+
* @type {string}
|
|
26
|
+
* @memberof StopIngestFlushRequestDto
|
|
27
|
+
*/
|
|
28
|
+
'stopMessage'?: string;
|
|
29
|
+
}
|
|
30
|
+
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
/* tslint:disable */
|
|
2
|
+
/* eslint-disable */
|
|
3
|
+
/**
|
|
4
|
+
* EMIL MigrationService
|
|
5
|
+
* The EMIL MigrationService API description
|
|
6
|
+
*
|
|
7
|
+
* The version of the OpenAPI document: 1.0
|
|
8
|
+
* Contact: kontakt@emil.de
|
|
9
|
+
*
|
|
10
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
11
|
+
* https://openapi-generator.tech
|
|
12
|
+
* Do not edit the class manually.
|
|
13
|
+
*/
|
|
14
|
+
|
|
15
|
+
|
|
16
|
+
import { IngestFlushClass } from './ingest-flush-class';
|
|
17
|
+
|
|
18
|
+
/**
|
|
19
|
+
*
|
|
20
|
+
* @export
|
|
21
|
+
* @interface StopIngestFlushResponseClass
|
|
22
|
+
*/
|
|
23
|
+
export interface StopIngestFlushResponseClass {
|
|
24
|
+
/**
|
|
25
|
+
* Stopped ingested data flush.
|
|
26
|
+
* @type {IngestFlushClass}
|
|
27
|
+
* @memberof StopIngestFlushResponseClass
|
|
28
|
+
*/
|
|
29
|
+
'flush'?: IngestFlushClass;
|
|
30
|
+
}
|
|
31
|
+
|