@emilgroup/migration-sdk 0.1.1-beta.11

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (124) hide show
  1. package/.openapi-generator/FILES +46 -0
  2. package/.openapi-generator/VERSION +1 -0
  3. package/.openapi-generator-ignore +23 -0
  4. package/README.md +51 -0
  5. package/api/default-api.ts +124 -0
  6. package/api/migration-api.ts +2150 -0
  7. package/api.ts +29 -0
  8. package/base.ts +282 -0
  9. package/common.ts +198 -0
  10. package/configuration.ts +110 -0
  11. package/dist/api/default-api.d.ts +70 -0
  12. package/dist/api/default-api.js +200 -0
  13. package/dist/api/migration-api.d.ts +1210 -0
  14. package/dist/api/migration-api.js +1795 -0
  15. package/dist/api.d.ts +13 -0
  16. package/dist/api.js +31 -0
  17. package/dist/base.d.ts +77 -0
  18. package/dist/base.js +324 -0
  19. package/dist/common.d.ts +91 -0
  20. package/dist/common.js +276 -0
  21. package/dist/configuration.d.ts +89 -0
  22. package/dist/configuration.js +52 -0
  23. package/dist/index.d.ts +15 -0
  24. package/dist/index.js +36 -0
  25. package/dist/models/cleanup-ingest-run-async-response-class.d.ts +25 -0
  26. package/dist/models/cleanup-ingest-run-async-response-class.js +15 -0
  27. package/dist/models/cleanup-ingest-run-sync-response-class.d.ts +25 -0
  28. package/dist/models/cleanup-ingest-run-sync-response-class.js +15 -0
  29. package/dist/models/create-ingest-run-async-request-dto.d.ts +41 -0
  30. package/dist/models/create-ingest-run-async-request-dto.js +20 -0
  31. package/dist/models/create-ingest-run-async-response-class.d.ts +25 -0
  32. package/dist/models/create-ingest-run-async-response-class.js +15 -0
  33. package/dist/models/create-ingest-run-sync-request-dto.d.ts +41 -0
  34. package/dist/models/create-ingest-run-sync-request-dto.js +20 -0
  35. package/dist/models/create-ingest-run-sync-response-class.d.ts +25 -0
  36. package/dist/models/create-ingest-run-sync-response-class.js +15 -0
  37. package/dist/models/entity-json-schema-class.d.ts +36 -0
  38. package/dist/models/entity-json-schema-class.js +15 -0
  39. package/dist/models/entity-mapping-class.d.ts +126 -0
  40. package/dist/models/entity-mapping-class.js +15 -0
  41. package/dist/models/flush-ingested-data-request-dto.d.ts +24 -0
  42. package/dist/models/flush-ingested-data-request-dto.js +15 -0
  43. package/dist/models/flush-ingested-data-response-class.d.ts +25 -0
  44. package/dist/models/flush-ingested-data-response-class.js +15 -0
  45. package/dist/models/get-ingest-flush-response-class.d.ts +25 -0
  46. package/dist/models/get-ingest-flush-response-class.js +15 -0
  47. package/dist/models/get-ingest-run-response-class.d.ts +25 -0
  48. package/dist/models/get-ingest-run-response-class.js +15 -0
  49. package/dist/models/get-json-schemas-response-class.d.ts +25 -0
  50. package/dist/models/get-json-schemas-response-class.js +15 -0
  51. package/dist/models/index.d.ts +31 -0
  52. package/dist/models/index.js +47 -0
  53. package/dist/models/ingest-batch-class.d.ts +163 -0
  54. package/dist/models/ingest-batch-class.js +15 -0
  55. package/dist/models/ingest-batch-entity-class.d.ts +114 -0
  56. package/dist/models/ingest-batch-entity-class.js +15 -0
  57. package/dist/models/ingest-flush-class.d.ts +85 -0
  58. package/dist/models/ingest-flush-class.js +15 -0
  59. package/dist/models/ingest-flush-entity-class.d.ts +84 -0
  60. package/dist/models/ingest-flush-entity-class.js +15 -0
  61. package/dist/models/ingest-run-class.d.ts +181 -0
  62. package/dist/models/ingest-run-class.js +15 -0
  63. package/dist/models/ingest-run-record-class.d.ts +102 -0
  64. package/dist/models/ingest-run-record-class.js +15 -0
  65. package/dist/models/inline-response200.d.ts +54 -0
  66. package/dist/models/inline-response200.js +15 -0
  67. package/dist/models/inline-response503.d.ts +54 -0
  68. package/dist/models/inline-response503.js +15 -0
  69. package/dist/models/list-entity-mappings-response-class.d.ts +43 -0
  70. package/dist/models/list-entity-mappings-response-class.js +15 -0
  71. package/dist/models/list-ingest-flushes-response-class.d.ts +43 -0
  72. package/dist/models/list-ingest-flushes-response-class.js +15 -0
  73. package/dist/models/list-ingest-run-records-response-class.d.ts +43 -0
  74. package/dist/models/list-ingest-run-records-response-class.js +15 -0
  75. package/dist/models/list-ingest-runs-response-class.d.ts +43 -0
  76. package/dist/models/list-ingest-runs-response-class.js +15 -0
  77. package/dist/models/stop-ingest-flush-request-dto.d.ts +24 -0
  78. package/dist/models/stop-ingest-flush-request-dto.js +15 -0
  79. package/dist/models/stop-ingest-flush-response-class.d.ts +25 -0
  80. package/dist/models/stop-ingest-flush-response-class.js +15 -0
  81. package/dist/models/stop-ingest-run-cleanup-request-dto.d.ts +24 -0
  82. package/dist/models/stop-ingest-run-cleanup-request-dto.js +15 -0
  83. package/dist/models/stop-ingest-run-cleanup-response-class.d.ts +25 -0
  84. package/dist/models/stop-ingest-run-cleanup-response-class.js +15 -0
  85. package/dist/models/stop-ingest-run-request-dto.d.ts +24 -0
  86. package/dist/models/stop-ingest-run-request-dto.js +15 -0
  87. package/dist/models/stop-ingest-run-response-class.d.ts +25 -0
  88. package/dist/models/stop-ingest-run-response-class.js +15 -0
  89. package/git_push.sh +57 -0
  90. package/index.ts +19 -0
  91. package/models/cleanup-ingest-run-async-response-class.ts +31 -0
  92. package/models/cleanup-ingest-run-sync-response-class.ts +31 -0
  93. package/models/create-ingest-run-async-request-dto.ts +50 -0
  94. package/models/create-ingest-run-async-response-class.ts +31 -0
  95. package/models/create-ingest-run-sync-request-dto.ts +50 -0
  96. package/models/create-ingest-run-sync-response-class.ts +31 -0
  97. package/models/entity-json-schema-class.ts +42 -0
  98. package/models/entity-mapping-class.ts +132 -0
  99. package/models/flush-ingested-data-request-dto.ts +30 -0
  100. package/models/flush-ingested-data-response-class.ts +31 -0
  101. package/models/get-ingest-flush-response-class.ts +31 -0
  102. package/models/get-ingest-run-response-class.ts +31 -0
  103. package/models/get-json-schemas-response-class.ts +31 -0
  104. package/models/index.ts +31 -0
  105. package/models/ingest-batch-class.ts +169 -0
  106. package/models/ingest-batch-entity-class.ts +120 -0
  107. package/models/ingest-flush-class.ts +91 -0
  108. package/models/ingest-flush-entity-class.ts +90 -0
  109. package/models/ingest-run-class.ts +187 -0
  110. package/models/ingest-run-record-class.ts +108 -0
  111. package/models/inline-response200.ts +48 -0
  112. package/models/inline-response503.ts +48 -0
  113. package/models/list-entity-mappings-response-class.ts +49 -0
  114. package/models/list-ingest-flushes-response-class.ts +49 -0
  115. package/models/list-ingest-run-records-response-class.ts +49 -0
  116. package/models/list-ingest-runs-response-class.ts +49 -0
  117. package/models/stop-ingest-flush-request-dto.ts +30 -0
  118. package/models/stop-ingest-flush-response-class.ts +31 -0
  119. package/models/stop-ingest-run-cleanup-request-dto.ts +30 -0
  120. package/models/stop-ingest-run-cleanup-response-class.ts +31 -0
  121. package/models/stop-ingest-run-request-dto.ts +30 -0
  122. package/models/stop-ingest-run-response-class.ts +31 -0
  123. package/package.json +27 -0
  124. package/tsconfig.json +23 -0
@@ -0,0 +1,163 @@
1
+ /**
2
+ * EMIL MigrationService
3
+ * The EMIL MigrationService API description
4
+ *
5
+ * The version of the OpenAPI document: 1.0
6
+ * Contact: kontakt@emil.de
7
+ *
8
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
9
+ * https://openapi-generator.tech
10
+ * Do not edit the class manually.
11
+ */
12
+ import { IngestBatchEntityClass } from './ingest-batch-entity-class';
13
+ /**
14
+ *
15
+ * @export
16
+ * @interface IngestBatchClass
17
+ */
18
+ export interface IngestBatchClass {
19
+ /**
20
+ * Internal unique identifier for the object. You should not have to use this, use code instead.
21
+ * @type {number}
22
+ * @memberof IngestBatchClass
23
+ */
24
+ 'id': number;
25
+ /**
26
+ * Unique identifier for the object.
27
+ * @type {string}
28
+ * @memberof IngestBatchClass
29
+ */
30
+ 'code': string;
31
+ /**
32
+ * Starting record number for this batch.
33
+ * @type {number}
34
+ * @memberof IngestBatchClass
35
+ */
36
+ 'startRecord': number;
37
+ /**
38
+ * Total number of records in this batch.
39
+ * @type {number}
40
+ * @memberof IngestBatchClass
41
+ */
42
+ 'recordCount': number;
43
+ /**
44
+ * Number of records successfully validated.
45
+ * @type {number}
46
+ * @memberof IngestBatchClass
47
+ */
48
+ 'validationSuccessCount': number;
49
+ /**
50
+ * Number of records that failed validation.
51
+ * @type {number}
52
+ * @memberof IngestBatchClass
53
+ */
54
+ 'validationErrorCount': number;
55
+ /**
56
+ * Number of records successfully preprocessed.
57
+ * @type {number}
58
+ * @memberof IngestBatchClass
59
+ */
60
+ 'preprocessingSuccessCount': number;
61
+ /**
62
+ * Number of records that failed preprocessing.
63
+ * @type {number}
64
+ * @memberof IngestBatchClass
65
+ */
66
+ 'preprocessingErrorCount': number;
67
+ /**
68
+ * Number of records successfully staged.
69
+ * @type {number}
70
+ * @memberof IngestBatchClass
71
+ */
72
+ 'stagingSuccessCount': number;
73
+ /**
74
+ * Number of records that failed staging.
75
+ * @type {number}
76
+ * @memberof IngestBatchClass
77
+ */
78
+ 'stagingErrorCount': number;
79
+ /**
80
+ * Number of records successfully inserted into target.
81
+ * @type {number}
82
+ * @memberof IngestBatchClass
83
+ */
84
+ 'targetInsertSuccessCount': number;
85
+ /**
86
+ * Number of records that failed to insert into target.
87
+ * @type {number}
88
+ * @memberof IngestBatchClass
89
+ */
90
+ 'targetInsertErrorCount': number;
91
+ /**
92
+ * Number of records successfully updated in target.
93
+ * @type {number}
94
+ * @memberof IngestBatchClass
95
+ */
96
+ 'targetUpdateSuccessCount': number;
97
+ /**
98
+ * Number of records that failed to update in target.
99
+ * @type {number}
100
+ * @memberof IngestBatchClass
101
+ */
102
+ 'targetUpdateErrorCount': number;
103
+ /**
104
+ * Whether the batch processing was successful.
105
+ * @type {boolean}
106
+ * @memberof IngestBatchClass
107
+ */
108
+ 'isSuccess'?: boolean;
109
+ /**
110
+ * Error message if batch processing failed.
111
+ * @type {string}
112
+ * @memberof IngestBatchClass
113
+ */
114
+ 'errorMessage'?: string;
115
+ /**
116
+ * S3 file path for rejected records
117
+ * @type {string}
118
+ * @memberof IngestBatchClass
119
+ */
120
+ 'rejectedS3FilePath'?: string;
121
+ /**
122
+ * S3 file signed URL for rejected records.
123
+ * @type {string}
124
+ * @memberof IngestBatchClass
125
+ */
126
+ 'rejectedS3FileSignedUrl'?: string;
127
+ /**
128
+ * Error message for rejected records.
129
+ * @type {string}
130
+ * @memberof IngestBatchClass
131
+ */
132
+ 'rejectionErrorMessage'?: string;
133
+ /**
134
+ * Time at which the object was created.
135
+ * @type {string}
136
+ * @memberof IngestBatchClass
137
+ */
138
+ 'createdAt': string;
139
+ /**
140
+ * Time at which the object was updated.
141
+ * @type {string}
142
+ * @memberof IngestBatchClass
143
+ */
144
+ 'updatedAt': string;
145
+ /**
146
+ * Identifier of the user who created the record.
147
+ * @type {string}
148
+ * @memberof IngestBatchClass
149
+ */
150
+ 'createdBy': string;
151
+ /**
152
+ * Identifier of the user who last updated the record.
153
+ * @type {string}
154
+ * @memberof IngestBatchClass
155
+ */
156
+ 'updatedBy': string;
157
+ /**
158
+ * List of batch entities processed
159
+ * @type {Array<IngestBatchEntityClass>}
160
+ * @memberof IngestBatchClass
161
+ */
162
+ 'entities': Array<IngestBatchEntityClass>;
163
+ }
@@ -0,0 +1,15 @@
1
+ "use strict";
2
+ /* tslint:disable */
3
+ /* eslint-disable */
4
+ /**
5
+ * EMIL MigrationService
6
+ * The EMIL MigrationService API description
7
+ *
8
+ * The version of the OpenAPI document: 1.0
9
+ * Contact: kontakt@emil.de
10
+ *
11
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
12
+ * https://openapi-generator.tech
13
+ * Do not edit the class manually.
14
+ */
15
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -0,0 +1,114 @@
1
+ /**
2
+ * EMIL MigrationService
3
+ * The EMIL MigrationService API description
4
+ *
5
+ * The version of the OpenAPI document: 1.0
6
+ * Contact: kontakt@emil.de
7
+ *
8
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
9
+ * https://openapi-generator.tech
10
+ * Do not edit the class manually.
11
+ */
12
+ /**
13
+ *
14
+ * @export
15
+ * @interface IngestBatchEntityClass
16
+ */
17
+ export interface IngestBatchEntityClass {
18
+ /**
19
+ * Internal unique identifier for the object. You should not have to use this, use code instead.
20
+ * @type {number}
21
+ * @memberof IngestBatchEntityClass
22
+ */
23
+ 'id': number;
24
+ /**
25
+ * Unique identifier for the object.
26
+ * @type {string}
27
+ * @memberof IngestBatchEntityClass
28
+ */
29
+ 'code': string;
30
+ /**
31
+ * Target entity name.
32
+ * @type {string}
33
+ * @memberof IngestBatchEntityClass
34
+ */
35
+ 'targetEntity': string;
36
+ /**
37
+ * Total number of records processed.
38
+ * @type {number}
39
+ * @memberof IngestBatchEntityClass
40
+ */
41
+ 'recordCount': number;
42
+ /**
43
+ * Number of records successfully staged.
44
+ * @type {number}
45
+ * @memberof IngestBatchEntityClass
46
+ */
47
+ 'stagingSuccessCount': number;
48
+ /**
49
+ * Number of records that failed staging.
50
+ * @type {number}
51
+ * @memberof IngestBatchEntityClass
52
+ */
53
+ 'stagingErrorCount': number;
54
+ /**
55
+ * Number of records successfully inserted into target.
56
+ * @type {number}
57
+ * @memberof IngestBatchEntityClass
58
+ */
59
+ 'targetInsertSuccessCount': number;
60
+ /**
61
+ * Number of records that failed to insert into target.
62
+ * @type {number}
63
+ * @memberof IngestBatchEntityClass
64
+ */
65
+ 'targetInsertErrorCount': number;
66
+ /**
67
+ * Number of records successfully updated in target.
68
+ * @type {number}
69
+ * @memberof IngestBatchEntityClass
70
+ */
71
+ 'targetUpdateSuccessCount': number;
72
+ /**
73
+ * Number of records that failed to update in target.
74
+ * @type {number}
75
+ * @memberof IngestBatchEntityClass
76
+ */
77
+ 'targetUpdateErrorCount': number;
78
+ /**
79
+ * Whether the batch entity processing was successful.
80
+ * @type {boolean}
81
+ * @memberof IngestBatchEntityClass
82
+ */
83
+ 'isSuccess'?: boolean;
84
+ /**
85
+ * Error message if processing failed.
86
+ * @type {string}
87
+ * @memberof IngestBatchEntityClass
88
+ */
89
+ 'errorMessage'?: string;
90
+ /**
91
+ * Time at which the object was created.
92
+ * @type {string}
93
+ * @memberof IngestBatchEntityClass
94
+ */
95
+ 'createdAt': string;
96
+ /**
97
+ * Time at which the object was updated.
98
+ * @type {string}
99
+ * @memberof IngestBatchEntityClass
100
+ */
101
+ 'updatedAt': string;
102
+ /**
103
+ * Identifier of the user who created the record.
104
+ * @type {string}
105
+ * @memberof IngestBatchEntityClass
106
+ */
107
+ 'createdBy': string;
108
+ /**
109
+ * Identifier of the user who last updated the record.
110
+ * @type {string}
111
+ * @memberof IngestBatchEntityClass
112
+ */
113
+ 'updatedBy': string;
114
+ }
@@ -0,0 +1,15 @@
1
+ "use strict";
2
+ /* tslint:disable */
3
+ /* eslint-disable */
4
+ /**
5
+ * EMIL MigrationService
6
+ * The EMIL MigrationService API description
7
+ *
8
+ * The version of the OpenAPI document: 1.0
9
+ * Contact: kontakt@emil.de
10
+ *
11
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
12
+ * https://openapi-generator.tech
13
+ * Do not edit the class manually.
14
+ */
15
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -0,0 +1,85 @@
1
+ /**
2
+ * EMIL MigrationService
3
+ * The EMIL MigrationService API description
4
+ *
5
+ * The version of the OpenAPI document: 1.0
6
+ * Contact: kontakt@emil.de
7
+ *
8
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
9
+ * https://openapi-generator.tech
10
+ * Do not edit the class manually.
11
+ */
12
+ import { IngestFlushEntityClass } from './ingest-flush-entity-class';
13
+ /**
14
+ *
15
+ * @export
16
+ * @interface IngestFlushClass
17
+ */
18
+ export interface IngestFlushClass {
19
+ /**
20
+ * Internal unique identifier for the object. You should not have to use this, use code instead.
21
+ * @type {number}
22
+ * @memberof IngestFlushClass
23
+ */
24
+ 'id': number;
25
+ /**
26
+ * Unique identifier for the object.
27
+ * @type {string}
28
+ * @memberof IngestFlushClass
29
+ */
30
+ 'code': string;
31
+ /**
32
+ * Source system name.
33
+ * @type {string}
34
+ * @memberof IngestFlushClass
35
+ */
36
+ 'sourceSystem': string;
37
+ /**
38
+ * Total number of deleetd rows.
39
+ * @type {number}
40
+ * @memberof IngestFlushClass
41
+ */
42
+ 'totalDeletedRowCount': number;
43
+ /**
44
+ * Whether the flush was successful.
45
+ * @type {boolean}
46
+ * @memberof IngestFlushClass
47
+ */
48
+ 'isSuccess'?: boolean;
49
+ /**
50
+ * Error message if ingest flush failed.
51
+ * @type {string}
52
+ * @memberof IngestFlushClass
53
+ */
54
+ 'errorMessage'?: string;
55
+ /**
56
+ * Time at which the object was created.
57
+ * @type {string}
58
+ * @memberof IngestFlushClass
59
+ */
60
+ 'createdAt': string;
61
+ /**
62
+ * Time at which the object was updated.
63
+ * @type {string}
64
+ * @memberof IngestFlushClass
65
+ */
66
+ 'updatedAt': string;
67
+ /**
68
+ * Identifier of the user who created the record.
69
+ * @type {string}
70
+ * @memberof IngestFlushClass
71
+ */
72
+ 'createdBy': string;
73
+ /**
74
+ * Identifier of the user who last updated the record.
75
+ * @type {string}
76
+ * @memberof IngestFlushClass
77
+ */
78
+ 'updatedBy': string;
79
+ /**
80
+ * List of entities with the numbers of deleetd rows
81
+ * @type {Array<IngestFlushEntityClass>}
82
+ * @memberof IngestFlushClass
83
+ */
84
+ 'entities': Array<IngestFlushEntityClass>;
85
+ }
@@ -0,0 +1,15 @@
1
+ "use strict";
2
+ /* tslint:disable */
3
+ /* eslint-disable */
4
+ /**
5
+ * EMIL MigrationService
6
+ * The EMIL MigrationService API description
7
+ *
8
+ * The version of the OpenAPI document: 1.0
9
+ * Contact: kontakt@emil.de
10
+ *
11
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
12
+ * https://openapi-generator.tech
13
+ * Do not edit the class manually.
14
+ */
15
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -0,0 +1,84 @@
1
+ /**
2
+ * EMIL MigrationService
3
+ * The EMIL MigrationService API description
4
+ *
5
+ * The version of the OpenAPI document: 1.0
6
+ * Contact: kontakt@emil.de
7
+ *
8
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
9
+ * https://openapi-generator.tech
10
+ * Do not edit the class manually.
11
+ */
12
+ /**
13
+ *
14
+ * @export
15
+ * @interface IngestFlushEntityClass
16
+ */
17
+ export interface IngestFlushEntityClass {
18
+ /**
19
+ * Internal unique identifier for the object. You should not have to use this, use code instead.
20
+ * @type {number}
21
+ * @memberof IngestFlushEntityClass
22
+ */
23
+ 'id': number;
24
+ /**
25
+ * Unique identifier for the object.
26
+ * @type {string}
27
+ * @memberof IngestFlushEntityClass
28
+ */
29
+ 'code': string;
30
+ /**
31
+ * Entity type (Target, Staging or Migration).
32
+ * @type {string}
33
+ * @memberof IngestFlushEntityClass
34
+ */
35
+ 'entityType': string;
36
+ /**
37
+ * Entity name.
38
+ * @type {string}
39
+ * @memberof IngestFlushEntityClass
40
+ */
41
+ 'entity': string;
42
+ /**
43
+ * Number of deleted rows.
44
+ * @type {number}
45
+ * @memberof IngestFlushEntityClass
46
+ */
47
+ 'deletedRowCount': number;
48
+ /**
49
+ * Whether the entity flush was successful.
50
+ * @type {boolean}
51
+ * @memberof IngestFlushEntityClass
52
+ */
53
+ 'isSuccess'?: boolean;
54
+ /**
55
+ * Error message if enttiy flush failed.
56
+ * @type {string}
57
+ * @memberof IngestFlushEntityClass
58
+ */
59
+ 'errorMessage'?: string;
60
+ /**
61
+ * Time at which the object was created.
62
+ * @type {string}
63
+ * @memberof IngestFlushEntityClass
64
+ */
65
+ 'createdAt': string;
66
+ /**
67
+ * Time at which the object was updated.
68
+ * @type {string}
69
+ * @memberof IngestFlushEntityClass
70
+ */
71
+ 'updatedAt': string;
72
+ /**
73
+ * Identifier of the user who created the record.
74
+ * @type {string}
75
+ * @memberof IngestFlushEntityClass
76
+ */
77
+ 'createdBy': string;
78
+ /**
79
+ * Identifier of the user who last updated the record.
80
+ * @type {string}
81
+ * @memberof IngestFlushEntityClass
82
+ */
83
+ 'updatedBy': string;
84
+ }
@@ -0,0 +1,15 @@
1
+ "use strict";
2
+ /* tslint:disable */
3
+ /* eslint-disable */
4
+ /**
5
+ * EMIL MigrationService
6
+ * The EMIL MigrationService API description
7
+ *
8
+ * The version of the OpenAPI document: 1.0
9
+ * Contact: kontakt@emil.de
10
+ *
11
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
12
+ * https://openapi-generator.tech
13
+ * Do not edit the class manually.
14
+ */
15
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -0,0 +1,181 @@
1
+ /**
2
+ * EMIL MigrationService
3
+ * The EMIL MigrationService API description
4
+ *
5
+ * The version of the OpenAPI document: 1.0
6
+ * Contact: kontakt@emil.de
7
+ *
8
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
9
+ * https://openapi-generator.tech
10
+ * Do not edit the class manually.
11
+ */
12
+ import { IngestBatchClass } from './ingest-batch-class';
13
+ /**
14
+ *
15
+ * @export
16
+ * @interface IngestRunClass
17
+ */
18
+ export interface IngestRunClass {
19
+ /**
20
+ * Internal unique identifier for the object. You should not have to use this, use code instead.
21
+ * @type {number}
22
+ * @memberof IngestRunClass
23
+ */
24
+ 'id': number;
25
+ /**
26
+ * Unique identifier for the object.
27
+ * @type {string}
28
+ * @memberof IngestRunClass
29
+ */
30
+ 'code': string;
31
+ /**
32
+ * Source system name.
33
+ * @type {string}
34
+ * @memberof IngestRunClass
35
+ */
36
+ 'sourceSystem': string;
37
+ /**
38
+ * Source entity name.
39
+ * @type {string}
40
+ * @memberof IngestRunClass
41
+ */
42
+ 'sourceEntity': string;
43
+ /**
44
+ * Payload data.
45
+ * @type {object}
46
+ * @memberof IngestRunClass
47
+ */
48
+ 'payload'?: object;
49
+ /**
50
+ * URL of the file to process.
51
+ * @type {string}
52
+ * @memberof IngestRunClass
53
+ */
54
+ 'fileUrl'?: string;
55
+ /**
56
+ * Total number of records to process.
57
+ * @type {number}
58
+ * @memberof IngestRunClass
59
+ */
60
+ 'recordCount': number;
61
+ /**
62
+ * Number of records per batch.
63
+ * @type {number}
64
+ * @memberof IngestRunClass
65
+ */
66
+ 'batchSize': number;
67
+ /**
68
+ * Number of records successfully validated.
69
+ * @type {number}
70
+ * @memberof IngestRunClass
71
+ */
72
+ 'validationSuccessCount': number;
73
+ /**
74
+ * Number of records that failed validation.
75
+ * @type {number}
76
+ * @memberof IngestRunClass
77
+ */
78
+ 'validationErrorCount': number;
79
+ /**
80
+ * Number of records successfully preprocessed.
81
+ * @type {number}
82
+ * @memberof IngestRunClass
83
+ */
84
+ 'preprocessingSuccessCount': number;
85
+ /**
86
+ * Number of records that failed preprocessing.
87
+ * @type {number}
88
+ * @memberof IngestRunClass
89
+ */
90
+ 'preprocessingErrorCount': number;
91
+ /**
92
+ * Number of records successfully staged.
93
+ * @type {number}
94
+ * @memberof IngestRunClass
95
+ */
96
+ 'stagingSuccessCount': number;
97
+ /**
98
+ * Number of records that failed staging.
99
+ * @type {number}
100
+ * @memberof IngestRunClass
101
+ */
102
+ 'stagingErrorCount': number;
103
+ /**
104
+ * Number of records successfully inserted into target.
105
+ * @type {number}
106
+ * @memberof IngestRunClass
107
+ */
108
+ 'targetInsertSuccessCount': number;
109
+ /**
110
+ * Number of records that failed to insert into target.
111
+ * @type {number}
112
+ * @memberof IngestRunClass
113
+ */
114
+ 'targetInsertErrorCount': number;
115
+ /**
116
+ * Number of records successfully updated in target.
117
+ * @type {number}
118
+ * @memberof IngestRunClass
119
+ */
120
+ 'targetUpdateSuccessCount': number;
121
+ /**
122
+ * Number of records that failed to update in target.
123
+ * @type {number}
124
+ * @memberof IngestRunClass
125
+ */
126
+ 'targetUpdateErrorCount': number;
127
+ /**
128
+ * Whether the ingest run was successful.
129
+ * @type {boolean}
130
+ * @memberof IngestRunClass
131
+ */
132
+ 'isSuccess'?: boolean;
133
+ /**
134
+ * Error message if ingest run failed.
135
+ * @type {string}
136
+ * @memberof IngestRunClass
137
+ */
138
+ 'errorMessage'?: string;
139
+ /**
140
+ * Whether the ingest run cleanup was successful.
141
+ * @type {boolean}
142
+ * @memberof IngestRunClass
143
+ */
144
+ 'isSuccessCleanup'?: boolean;
145
+ /**
146
+ * Error message if ingest run cleanup failed.
147
+ * @type {string}
148
+ * @memberof IngestRunClass
149
+ */
150
+ 'errorMessageCleanup'?: string;
151
+ /**
152
+ * Time at which the object was created.
153
+ * @type {string}
154
+ * @memberof IngestRunClass
155
+ */
156
+ 'createdAt': string;
157
+ /**
158
+ * Time at which the object was updated.
159
+ * @type {string}
160
+ * @memberof IngestRunClass
161
+ */
162
+ 'updatedAt': string;
163
+ /**
164
+ * Identifier of the user who created the record.
165
+ * @type {string}
166
+ * @memberof IngestRunClass
167
+ */
168
+ 'createdBy': string;
169
+ /**
170
+ * Identifier of the user who last updated the record.
171
+ * @type {string}
172
+ * @memberof IngestRunClass
173
+ */
174
+ 'updatedBy': string;
175
+ /**
176
+ * List of batches processed in this run
177
+ * @type {Array<IngestBatchClass>}
178
+ * @memberof IngestRunClass
179
+ */
180
+ 'batches': Array<IngestBatchClass>;
181
+ }
@@ -0,0 +1,15 @@
1
+ "use strict";
2
+ /* tslint:disable */
3
+ /* eslint-disable */
4
+ /**
5
+ * EMIL MigrationService
6
+ * The EMIL MigrationService API description
7
+ *
8
+ * The version of the OpenAPI document: 1.0
9
+ * Contact: kontakt@emil.de
10
+ *
11
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
12
+ * https://openapi-generator.tech
13
+ * Do not edit the class manually.
14
+ */
15
+ Object.defineProperty(exports, "__esModule", { value: true });