@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.
- package/.openapi-generator/FILES +46 -0
- package/.openapi-generator/VERSION +1 -0
- package/.openapi-generator-ignore +23 -0
- package/README.md +51 -0
- package/api/default-api.ts +124 -0
- package/api/migration-api.ts +2150 -0
- package/api.ts +29 -0
- package/base.ts +282 -0
- package/common.ts +198 -0
- package/configuration.ts +110 -0
- package/dist/api/default-api.d.ts +70 -0
- package/dist/api/default-api.js +200 -0
- package/dist/api/migration-api.d.ts +1210 -0
- package/dist/api/migration-api.js +1795 -0
- package/dist/api.d.ts +13 -0
- package/dist/api.js +31 -0
- package/dist/base.d.ts +77 -0
- package/dist/base.js +324 -0
- package/dist/common.d.ts +91 -0
- package/dist/common.js +276 -0
- package/dist/configuration.d.ts +89 -0
- package/dist/configuration.js +52 -0
- package/dist/index.d.ts +15 -0
- package/dist/index.js +36 -0
- package/dist/models/cleanup-ingest-run-async-response-class.d.ts +25 -0
- package/dist/models/cleanup-ingest-run-async-response-class.js +15 -0
- package/dist/models/cleanup-ingest-run-sync-response-class.d.ts +25 -0
- package/dist/models/cleanup-ingest-run-sync-response-class.js +15 -0
- package/dist/models/create-ingest-run-async-request-dto.d.ts +41 -0
- package/dist/models/create-ingest-run-async-request-dto.js +20 -0
- package/dist/models/create-ingest-run-async-response-class.d.ts +25 -0
- package/dist/models/create-ingest-run-async-response-class.js +15 -0
- package/dist/models/create-ingest-run-sync-request-dto.d.ts +41 -0
- package/dist/models/create-ingest-run-sync-request-dto.js +20 -0
- package/dist/models/create-ingest-run-sync-response-class.d.ts +25 -0
- package/dist/models/create-ingest-run-sync-response-class.js +15 -0
- package/dist/models/entity-json-schema-class.d.ts +36 -0
- package/dist/models/entity-json-schema-class.js +15 -0
- package/dist/models/entity-mapping-class.d.ts +126 -0
- package/dist/models/entity-mapping-class.js +15 -0
- 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/get-ingest-run-response-class.d.ts +25 -0
- package/dist/models/get-ingest-run-response-class.js +15 -0
- package/dist/models/get-json-schemas-response-class.d.ts +25 -0
- package/dist/models/get-json-schemas-response-class.js +15 -0
- package/dist/models/index.d.ts +31 -0
- package/dist/models/index.js +47 -0
- package/dist/models/ingest-batch-class.d.ts +163 -0
- package/dist/models/ingest-batch-class.js +15 -0
- package/dist/models/ingest-batch-entity-class.d.ts +114 -0
- package/dist/models/ingest-batch-entity-class.js +15 -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/ingest-run-class.d.ts +181 -0
- package/dist/models/ingest-run-class.js +15 -0
- package/dist/models/ingest-run-record-class.d.ts +102 -0
- package/dist/models/ingest-run-record-class.js +15 -0
- package/dist/models/inline-response200.d.ts +54 -0
- package/dist/models/inline-response200.js +15 -0
- package/dist/models/inline-response503.d.ts +54 -0
- package/dist/models/inline-response503.js +15 -0
- package/dist/models/list-entity-mappings-response-class.d.ts +43 -0
- package/dist/models/list-entity-mappings-response-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/list-ingest-run-records-response-class.d.ts +43 -0
- package/dist/models/list-ingest-run-records-response-class.js +15 -0
- package/dist/models/list-ingest-runs-response-class.d.ts +43 -0
- package/dist/models/list-ingest-runs-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/dist/models/stop-ingest-run-cleanup-request-dto.d.ts +24 -0
- package/dist/models/stop-ingest-run-cleanup-request-dto.js +15 -0
- package/dist/models/stop-ingest-run-cleanup-response-class.d.ts +25 -0
- package/dist/models/stop-ingest-run-cleanup-response-class.js +15 -0
- package/dist/models/stop-ingest-run-request-dto.d.ts +24 -0
- package/dist/models/stop-ingest-run-request-dto.js +15 -0
- package/dist/models/stop-ingest-run-response-class.d.ts +25 -0
- package/dist/models/stop-ingest-run-response-class.js +15 -0
- package/git_push.sh +57 -0
- package/index.ts +19 -0
- package/models/cleanup-ingest-run-async-response-class.ts +31 -0
- package/models/cleanup-ingest-run-sync-response-class.ts +31 -0
- package/models/create-ingest-run-async-request-dto.ts +50 -0
- package/models/create-ingest-run-async-response-class.ts +31 -0
- package/models/create-ingest-run-sync-request-dto.ts +50 -0
- package/models/create-ingest-run-sync-response-class.ts +31 -0
- package/models/entity-json-schema-class.ts +42 -0
- package/models/entity-mapping-class.ts +132 -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/get-ingest-run-response-class.ts +31 -0
- package/models/get-json-schemas-response-class.ts +31 -0
- package/models/index.ts +31 -0
- package/models/ingest-batch-class.ts +169 -0
- package/models/ingest-batch-entity-class.ts +120 -0
- package/models/ingest-flush-class.ts +91 -0
- package/models/ingest-flush-entity-class.ts +90 -0
- package/models/ingest-run-class.ts +187 -0
- package/models/ingest-run-record-class.ts +108 -0
- package/models/inline-response200.ts +48 -0
- package/models/inline-response503.ts +48 -0
- package/models/list-entity-mappings-response-class.ts +49 -0
- package/models/list-ingest-flushes-response-class.ts +49 -0
- package/models/list-ingest-run-records-response-class.ts +49 -0
- package/models/list-ingest-runs-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/models/stop-ingest-run-cleanup-request-dto.ts +30 -0
- package/models/stop-ingest-run-cleanup-response-class.ts +31 -0
- package/models/stop-ingest-run-request-dto.ts +30 -0
- package/models/stop-ingest-run-response-class.ts +31 -0
- package/package.json +27 -0
- package/tsconfig.json +23 -0
|
@@ -0,0 +1,24 @@
|
|
|
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 StopIngestRunRequestDto
|
|
16
|
+
*/
|
|
17
|
+
export interface StopIngestRunRequestDto {
|
|
18
|
+
/**
|
|
19
|
+
* Message to log.
|
|
20
|
+
* @type {string}
|
|
21
|
+
* @memberof StopIngestRunRequestDto
|
|
22
|
+
*/
|
|
23
|
+
'stopMessage'?: string;
|
|
24
|
+
}
|
|
@@ -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,25 @@
|
|
|
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 { IngestRunClass } from './ingest-run-class';
|
|
13
|
+
/**
|
|
14
|
+
*
|
|
15
|
+
* @export
|
|
16
|
+
* @interface StopIngestRunResponseClass
|
|
17
|
+
*/
|
|
18
|
+
export interface StopIngestRunResponseClass {
|
|
19
|
+
/**
|
|
20
|
+
* The ingest run.
|
|
21
|
+
* @type {IngestRunClass}
|
|
22
|
+
* @memberof StopIngestRunResponseClass
|
|
23
|
+
*/
|
|
24
|
+
'run'?: IngestRunClass;
|
|
25
|
+
}
|
|
@@ -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 });
|
package/git_push.sh
ADDED
|
@@ -0,0 +1,57 @@
|
|
|
1
|
+
#!/bin/sh
|
|
2
|
+
# ref: https://help.github.com/articles/adding-an-existing-project-to-github-using-the-command-line/
|
|
3
|
+
#
|
|
4
|
+
# Usage example: /bin/sh ./git_push.sh wing328 openapi-petstore-perl "minor update" "gitlab.com"
|
|
5
|
+
|
|
6
|
+
git_user_id=$1
|
|
7
|
+
git_repo_id=$2
|
|
8
|
+
release_note=$3
|
|
9
|
+
git_host=$4
|
|
10
|
+
|
|
11
|
+
if [ "$git_host" = "" ]; then
|
|
12
|
+
git_host="github.com"
|
|
13
|
+
echo "[INFO] No command line input provided. Set \$git_host to $git_host"
|
|
14
|
+
fi
|
|
15
|
+
|
|
16
|
+
if [ "$git_user_id" = "" ]; then
|
|
17
|
+
git_user_id="Emil"
|
|
18
|
+
echo "[INFO] No command line input provided. Set \$git_user_id to $git_user_id"
|
|
19
|
+
fi
|
|
20
|
+
|
|
21
|
+
if [ "$git_repo_id" = "" ]; then
|
|
22
|
+
git_repo_id="migration-sdk"
|
|
23
|
+
echo "[INFO] No command line input provided. Set \$git_repo_id to $git_repo_id"
|
|
24
|
+
fi
|
|
25
|
+
|
|
26
|
+
if [ "$release_note" = "" ]; then
|
|
27
|
+
release_note="Minor update"
|
|
28
|
+
echo "[INFO] No command line input provided. Set \$release_note to $release_note"
|
|
29
|
+
fi
|
|
30
|
+
|
|
31
|
+
# Initialize the local directory as a Git repository
|
|
32
|
+
git init
|
|
33
|
+
|
|
34
|
+
# Adds the files in the local repository and stages them for commit.
|
|
35
|
+
git add .
|
|
36
|
+
|
|
37
|
+
# Commits the tracked changes and prepares them to be pushed to a remote repository.
|
|
38
|
+
git commit -m "$release_note"
|
|
39
|
+
|
|
40
|
+
# Sets the new remote
|
|
41
|
+
git_remote=$(git remote)
|
|
42
|
+
if [ "$git_remote" = "" ]; then # git remote not defined
|
|
43
|
+
|
|
44
|
+
if [ "$GIT_TOKEN" = "" ]; then
|
|
45
|
+
echo "[INFO] \$GIT_TOKEN (environment variable) is not set. Using the git credential in your environment."
|
|
46
|
+
git remote add origin https://${git_host}/${git_user_id}/${git_repo_id}.git
|
|
47
|
+
else
|
|
48
|
+
git remote add origin https://${git_user_id}:"${GIT_TOKEN}"@${git_host}/${git_user_id}/${git_repo_id}.git
|
|
49
|
+
fi
|
|
50
|
+
|
|
51
|
+
fi
|
|
52
|
+
|
|
53
|
+
git pull origin master
|
|
54
|
+
|
|
55
|
+
# Pushes (Forces) the changes in the local repository up to the remote repository
|
|
56
|
+
echo "Git pushing to https://${git_host}/${git_user_id}/${git_repo_id}.git"
|
|
57
|
+
git push origin master 2>&1 | grep -v 'To https'
|
package/index.ts
ADDED
|
@@ -0,0 +1,19 @@
|
|
|
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
|
+
export { Environment, BaseAPI } from "./base";
|
|
17
|
+
export * from "./api";
|
|
18
|
+
export * from "./configuration";
|
|
19
|
+
export * from "./models";
|
|
@@ -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 { IngestRunClass } from './ingest-run-class';
|
|
17
|
+
|
|
18
|
+
/**
|
|
19
|
+
*
|
|
20
|
+
* @export
|
|
21
|
+
* @interface CleanupIngestRunAsyncResponseClass
|
|
22
|
+
*/
|
|
23
|
+
export interface CleanupIngestRunAsyncResponseClass {
|
|
24
|
+
/**
|
|
25
|
+
* Cleaned up ingest run.
|
|
26
|
+
* @type {IngestRunClass}
|
|
27
|
+
* @memberof CleanupIngestRunAsyncResponseClass
|
|
28
|
+
*/
|
|
29
|
+
'run'?: IngestRunClass;
|
|
30
|
+
}
|
|
31
|
+
|
|
@@ -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 { IngestRunClass } from './ingest-run-class';
|
|
17
|
+
|
|
18
|
+
/**
|
|
19
|
+
*
|
|
20
|
+
* @export
|
|
21
|
+
* @interface CleanupIngestRunSyncResponseClass
|
|
22
|
+
*/
|
|
23
|
+
export interface CleanupIngestRunSyncResponseClass {
|
|
24
|
+
/**
|
|
25
|
+
* Cleaned up ingest run.
|
|
26
|
+
* @type {IngestRunClass}
|
|
27
|
+
* @memberof CleanupIngestRunSyncResponseClass
|
|
28
|
+
*/
|
|
29
|
+
'run'?: IngestRunClass;
|
|
30
|
+
}
|
|
31
|
+
|
|
@@ -0,0 +1,50 @@
|
|
|
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 CreateIngestRunAsyncRequestDto
|
|
21
|
+
*/
|
|
22
|
+
export interface CreateIngestRunAsyncRequestDto {
|
|
23
|
+
/**
|
|
24
|
+
* Source system name.
|
|
25
|
+
* @type {string}
|
|
26
|
+
* @memberof CreateIngestRunAsyncRequestDto
|
|
27
|
+
*/
|
|
28
|
+
'sourceSystem': string;
|
|
29
|
+
/**
|
|
30
|
+
* Source entity name.
|
|
31
|
+
* @type {string}
|
|
32
|
+
* @memberof CreateIngestRunAsyncRequestDto
|
|
33
|
+
*/
|
|
34
|
+
'sourceEntity': CreateIngestRunAsyncRequestDtoSourceEntityEnum;
|
|
35
|
+
/**
|
|
36
|
+
* URL of the file to process.
|
|
37
|
+
* @type {string}
|
|
38
|
+
* @memberof CreateIngestRunAsyncRequestDto
|
|
39
|
+
*/
|
|
40
|
+
'fileUrl': string;
|
|
41
|
+
}
|
|
42
|
+
|
|
43
|
+
export const CreateIngestRunAsyncRequestDtoSourceEntityEnum = {
|
|
44
|
+
Partners: 'partners',
|
|
45
|
+
PartnerRelations: 'partner_relations'
|
|
46
|
+
} as const;
|
|
47
|
+
|
|
48
|
+
export type CreateIngestRunAsyncRequestDtoSourceEntityEnum = typeof CreateIngestRunAsyncRequestDtoSourceEntityEnum[keyof typeof CreateIngestRunAsyncRequestDtoSourceEntityEnum];
|
|
49
|
+
|
|
50
|
+
|
|
@@ -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 { IngestRunClass } from './ingest-run-class';
|
|
17
|
+
|
|
18
|
+
/**
|
|
19
|
+
*
|
|
20
|
+
* @export
|
|
21
|
+
* @interface CreateIngestRunAsyncResponseClass
|
|
22
|
+
*/
|
|
23
|
+
export interface CreateIngestRunAsyncResponseClass {
|
|
24
|
+
/**
|
|
25
|
+
* Started ingest run.
|
|
26
|
+
* @type {IngestRunClass}
|
|
27
|
+
* @memberof CreateIngestRunAsyncResponseClass
|
|
28
|
+
*/
|
|
29
|
+
'run'?: IngestRunClass;
|
|
30
|
+
}
|
|
31
|
+
|
|
@@ -0,0 +1,50 @@
|
|
|
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 CreateIngestRunSyncRequestDto
|
|
21
|
+
*/
|
|
22
|
+
export interface CreateIngestRunSyncRequestDto {
|
|
23
|
+
/**
|
|
24
|
+
* Source system name.
|
|
25
|
+
* @type {string}
|
|
26
|
+
* @memberof CreateIngestRunSyncRequestDto
|
|
27
|
+
*/
|
|
28
|
+
'sourceSystem': string;
|
|
29
|
+
/**
|
|
30
|
+
* Source entity name.
|
|
31
|
+
* @type {string}
|
|
32
|
+
* @memberof CreateIngestRunSyncRequestDto
|
|
33
|
+
*/
|
|
34
|
+
'sourceEntity': CreateIngestRunSyncRequestDtoSourceEntityEnum;
|
|
35
|
+
/**
|
|
36
|
+
* JSON with the a single entity to process
|
|
37
|
+
* @type {object}
|
|
38
|
+
* @memberof CreateIngestRunSyncRequestDto
|
|
39
|
+
*/
|
|
40
|
+
'payload': object;
|
|
41
|
+
}
|
|
42
|
+
|
|
43
|
+
export const CreateIngestRunSyncRequestDtoSourceEntityEnum = {
|
|
44
|
+
Partners: 'partners',
|
|
45
|
+
PartnerRelations: 'partner_relations'
|
|
46
|
+
} as const;
|
|
47
|
+
|
|
48
|
+
export type CreateIngestRunSyncRequestDtoSourceEntityEnum = typeof CreateIngestRunSyncRequestDtoSourceEntityEnum[keyof typeof CreateIngestRunSyncRequestDtoSourceEntityEnum];
|
|
49
|
+
|
|
50
|
+
|
|
@@ -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 { IngestRunClass } from './ingest-run-class';
|
|
17
|
+
|
|
18
|
+
/**
|
|
19
|
+
*
|
|
20
|
+
* @export
|
|
21
|
+
* @interface CreateIngestRunSyncResponseClass
|
|
22
|
+
*/
|
|
23
|
+
export interface CreateIngestRunSyncResponseClass {
|
|
24
|
+
/**
|
|
25
|
+
* Started ingest run.
|
|
26
|
+
* @type {IngestRunClass}
|
|
27
|
+
* @memberof CreateIngestRunSyncResponseClass
|
|
28
|
+
*/
|
|
29
|
+
'run'?: IngestRunClass;
|
|
30
|
+
}
|
|
31
|
+
|
|
@@ -0,0 +1,42 @@
|
|
|
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 EntityJsonSchemaClass
|
|
21
|
+
*/
|
|
22
|
+
export interface EntityJsonSchemaClass {
|
|
23
|
+
/**
|
|
24
|
+
* Source entity name.
|
|
25
|
+
* @type {string}
|
|
26
|
+
* @memberof EntityJsonSchemaClass
|
|
27
|
+
*/
|
|
28
|
+
'sourceEntity': string;
|
|
29
|
+
/**
|
|
30
|
+
* Type of the entity the schema describes (e.g., for partners - the partner type, person or organization).
|
|
31
|
+
* @type {string}
|
|
32
|
+
* @memberof EntityJsonSchemaClass
|
|
33
|
+
*/
|
|
34
|
+
'entityType': string;
|
|
35
|
+
/**
|
|
36
|
+
* String with JSON scema.
|
|
37
|
+
* @type {object}
|
|
38
|
+
* @memberof EntityJsonSchemaClass
|
|
39
|
+
*/
|
|
40
|
+
'schema': object;
|
|
41
|
+
}
|
|
42
|
+
|
|
@@ -0,0 +1,132 @@
|
|
|
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 EntityMappingClass
|
|
21
|
+
*/
|
|
22
|
+
export interface EntityMappingClass {
|
|
23
|
+
/**
|
|
24
|
+
* Internal unique identifier for the object. You should not have to use this, use code instead.
|
|
25
|
+
* @type {number}
|
|
26
|
+
* @memberof EntityMappingClass
|
|
27
|
+
*/
|
|
28
|
+
'id': number;
|
|
29
|
+
/**
|
|
30
|
+
* Source system name.
|
|
31
|
+
* @type {string}
|
|
32
|
+
* @memberof EntityMappingClass
|
|
33
|
+
*/
|
|
34
|
+
'sourceSystem': string;
|
|
35
|
+
/**
|
|
36
|
+
* Source entity name.
|
|
37
|
+
* @type {string}
|
|
38
|
+
* @memberof EntityMappingClass
|
|
39
|
+
*/
|
|
40
|
+
'sourceEntity': string;
|
|
41
|
+
/**
|
|
42
|
+
* ID of the entity in the source system.
|
|
43
|
+
* @type {string}
|
|
44
|
+
* @memberof EntityMappingClass
|
|
45
|
+
*/
|
|
46
|
+
'sourceId': string;
|
|
47
|
+
/**
|
|
48
|
+
* Target (EIS) entity name.
|
|
49
|
+
* @type {string}
|
|
50
|
+
* @memberof EntityMappingClass
|
|
51
|
+
*/
|
|
52
|
+
'targetEntity': string;
|
|
53
|
+
/**
|
|
54
|
+
* ID of the entity in the target system (EIS).
|
|
55
|
+
* @type {number}
|
|
56
|
+
* @memberof EntityMappingClass
|
|
57
|
+
*/
|
|
58
|
+
'targetId': number;
|
|
59
|
+
/**
|
|
60
|
+
* Code of the entity in the target system (EIS).
|
|
61
|
+
* @type {string}
|
|
62
|
+
* @memberof EntityMappingClass
|
|
63
|
+
*/
|
|
64
|
+
'targetCode': string | null;
|
|
65
|
+
/**
|
|
66
|
+
* Slug of the entity in the target system (EIS).
|
|
67
|
+
* @type {string}
|
|
68
|
+
* @memberof EntityMappingClass
|
|
69
|
+
*/
|
|
70
|
+
'targetSlug': string | null;
|
|
71
|
+
/**
|
|
72
|
+
* The first alternative ID of the entity in the target system (EIS).
|
|
73
|
+
* @type {string}
|
|
74
|
+
* @memberof EntityMappingClass
|
|
75
|
+
*/
|
|
76
|
+
'targetOtherId1': string | null;
|
|
77
|
+
/**
|
|
78
|
+
* The second alternative ID of the entity in the target system (EIS).
|
|
79
|
+
* @type {string}
|
|
80
|
+
* @memberof EntityMappingClass
|
|
81
|
+
*/
|
|
82
|
+
'targetOtherId2': string | null;
|
|
83
|
+
/**
|
|
84
|
+
* The third alternative ID of the entity in the target system (EIS).
|
|
85
|
+
* @type {string}
|
|
86
|
+
* @memberof EntityMappingClass
|
|
87
|
+
*/
|
|
88
|
+
'targetOtherId3': string | null;
|
|
89
|
+
/**
|
|
90
|
+
* ID of the source product version.
|
|
91
|
+
* @type {number}
|
|
92
|
+
* @memberof EntityMappingClass
|
|
93
|
+
*/
|
|
94
|
+
'sourceProductVersionId': number | null;
|
|
95
|
+
/**
|
|
96
|
+
* ID of the ingest run the entity was imported in.
|
|
97
|
+
* @type {number}
|
|
98
|
+
* @memberof EntityMappingClass
|
|
99
|
+
*/
|
|
100
|
+
'ingestRunId': number | null;
|
|
101
|
+
/**
|
|
102
|
+
* ID of the ingest batch the entity was imported in.
|
|
103
|
+
* @type {number}
|
|
104
|
+
* @memberof EntityMappingClass
|
|
105
|
+
*/
|
|
106
|
+
'ingestBatchId': number | null;
|
|
107
|
+
/**
|
|
108
|
+
* Time at which the object was created.
|
|
109
|
+
* @type {string}
|
|
110
|
+
* @memberof EntityMappingClass
|
|
111
|
+
*/
|
|
112
|
+
'createdAt': string;
|
|
113
|
+
/**
|
|
114
|
+
* Time at which the object was updated.
|
|
115
|
+
* @type {string}
|
|
116
|
+
* @memberof EntityMappingClass
|
|
117
|
+
*/
|
|
118
|
+
'updatedAt': string;
|
|
119
|
+
/**
|
|
120
|
+
* Identifier of the user who created the record.
|
|
121
|
+
* @type {string}
|
|
122
|
+
* @memberof EntityMappingClass
|
|
123
|
+
*/
|
|
124
|
+
'createdBy': string;
|
|
125
|
+
/**
|
|
126
|
+
* Identifier of the user who last updated the record.
|
|
127
|
+
* @type {string}
|
|
128
|
+
* @memberof EntityMappingClass
|
|
129
|
+
*/
|
|
130
|
+
'updatedBy': string;
|
|
131
|
+
}
|
|
132
|
+
|
|
@@ -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 FlushIngestedDataRequestDto
|
|
21
|
+
*/
|
|
22
|
+
export interface FlushIngestedDataRequestDto {
|
|
23
|
+
/**
|
|
24
|
+
* Source system name.
|
|
25
|
+
* @type {string}
|
|
26
|
+
* @memberof FlushIngestedDataRequestDto
|
|
27
|
+
*/
|
|
28
|
+
'sourceSystem': 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 FlushIngestedDataResponseClass
|
|
22
|
+
*/
|
|
23
|
+
export interface FlushIngestedDataResponseClass {
|
|
24
|
+
/**
|
|
25
|
+
* Started ingested data flush.
|
|
26
|
+
* @type {IngestFlushClass}
|
|
27
|
+
* @memberof FlushIngestedDataResponseClass
|
|
28
|
+
*/
|
|
29
|
+
'flush'?: IngestFlushClass;
|
|
30
|
+
}
|
|
31
|
+
|
|
@@ -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 GetIngestFlushResponseClass
|
|
22
|
+
*/
|
|
23
|
+
export interface GetIngestFlushResponseClass {
|
|
24
|
+
/**
|
|
25
|
+
* Stopped ingested data flush.
|
|
26
|
+
* @type {IngestFlushClass}
|
|
27
|
+
* @memberof GetIngestFlushResponseClass
|
|
28
|
+
*/
|
|
29
|
+
'flush'?: IngestFlushClass;
|
|
30
|
+
}
|
|
31
|
+
|
|
@@ -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 { IngestRunClass } from './ingest-run-class';
|
|
17
|
+
|
|
18
|
+
/**
|
|
19
|
+
*
|
|
20
|
+
* @export
|
|
21
|
+
* @interface GetIngestRunResponseClass
|
|
22
|
+
*/
|
|
23
|
+
export interface GetIngestRunResponseClass {
|
|
24
|
+
/**
|
|
25
|
+
* The ingest run.
|
|
26
|
+
* @type {IngestRunClass}
|
|
27
|
+
* @memberof GetIngestRunResponseClass
|
|
28
|
+
*/
|
|
29
|
+
'run'?: IngestRunClass;
|
|
30
|
+
}
|
|
31
|
+
|