@emilgroup/migration-sdk 0.1.1-beta.13 → 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 +0 -2
- package/README.md +2 -2
- package/api/migration-api.ts +52 -253
- package/dist/api/migration-api.d.ts +52 -171
- package/dist/api/migration-api.js +46 -180
- package/dist/models/index.d.ts +0 -2
- package/dist/models/index.js +0 -2
- package/models/index.ts +0 -2
- package/package.json +1 -1
- package/dist/models/ingest-run-record-class.d.ts +0 -102
- package/dist/models/ingest-run-record-class.js +0 -15
- package/dist/models/list-ingest-run-records-response-class.d.ts +0 -43
- package/dist/models/list-ingest-run-records-response-class.js +0 -15
- package/models/ingest-run-record-class.ts +0 -108
- package/models/list-ingest-run-records-response-class.ts +0 -49
|
@@ -297,7 +297,7 @@ var MigrationApiAxiosParamCreator = function (configuration) {
|
|
|
297
297
|
});
|
|
298
298
|
},
|
|
299
299
|
/**
|
|
300
|
-
* This will start synchronous ingest flush. **Required Permissions** \"migration.ingest-
|
|
300
|
+
* This will start synchronous ingest flush. **Required Permissions** \"migration.ingest-runs.*\"
|
|
301
301
|
* @summary Create the Sync ingest flush
|
|
302
302
|
* @param {FlushIngestedDataRequestDto} flushIngestedDataRequestDto
|
|
303
303
|
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
@@ -346,7 +346,7 @@ var MigrationApiAxiosParamCreator = function (configuration) {
|
|
|
346
346
|
});
|
|
347
347
|
},
|
|
348
348
|
/**
|
|
349
|
-
* This will start synchronous ingest flush. **Required Permissions** \"migration.ingest-
|
|
349
|
+
* This will start synchronous ingest flush. **Required Permissions** \"migration.ingest-runs.*\"
|
|
350
350
|
* @summary Create the Sync ingest flush
|
|
351
351
|
* @param {FlushIngestedDataRequestDto} flushIngestedDataRequestDto
|
|
352
352
|
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
@@ -395,7 +395,7 @@ var MigrationApiAxiosParamCreator = function (configuration) {
|
|
|
395
395
|
});
|
|
396
396
|
},
|
|
397
397
|
/**
|
|
398
|
-
* 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-
|
|
398
|
+
* 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-runs.view\"
|
|
399
399
|
* @summary Retrieve the ingest flush
|
|
400
400
|
* @param {string} code
|
|
401
401
|
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
@@ -539,16 +539,16 @@ var MigrationApiAxiosParamCreator = function (configuration) {
|
|
|
539
539
|
});
|
|
540
540
|
},
|
|
541
541
|
/**
|
|
542
|
-
* Returns a list of entity mappings you have previously created.
|
|
542
|
+
* Returns a list of entity mappings you have previously created. The entity mappings 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\"
|
|
543
543
|
* @summary List entity mappings
|
|
544
544
|
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
545
545
|
* @param {number} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
|
|
546
546
|
* @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.
|
|
547
|
-
* @param {string} [filter] Filter the response by one or multiple fields.
|
|
547
|
+
* @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, createdAt, updatedAt, ern, sourceSystem, sourceEntity, sourceId, targetEntity, targetId, targetCode, targetSlug, targetOtherId1, targetOtherId2, targetOtherId3, ingestBatchId</i>
|
|
548
548
|
* @param {string} [search] Search the response for matches in any searchable field. Use filter instead where possible for improved performance.<br/> <br/> <i>Searchable fields: sourceSystem, sourceEntity, sourceId, targetCode, targetSlug, targetOtherId1, targetOtherId2, targetOtherId3</i>
|
|
549
549
|
* @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, sourceSystem, sourceEntity, sourceId, targetEntity, targetId, targetCode, targetSlug, targetOtherId1, targetOtherId2, targetOtherId3, ingestBatchId</i>
|
|
550
550
|
* @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/>
|
|
551
|
-
* @param {string} [filters] Filters the response by one or multiple fields.
|
|
551
|
+
* @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, createdAt, updatedAt, ern, sourceSystem, sourceEntity, sourceId, targetEntity, targetId, targetCode, targetSlug, targetOtherId1, targetOtherId2, targetOtherId3, ingestBatchId</i>
|
|
552
552
|
* @param {*} [options] Override http request option.
|
|
553
553
|
* @throws {RequiredError}
|
|
554
554
|
*/
|
|
@@ -611,16 +611,16 @@ var MigrationApiAxiosParamCreator = function (configuration) {
|
|
|
611
611
|
});
|
|
612
612
|
},
|
|
613
613
|
/**
|
|
614
|
-
* Returns a list of ingest flushes you have previously created.
|
|
614
|
+
* 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-runs.view\"
|
|
615
615
|
* @summary List ingest flushes
|
|
616
616
|
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
617
617
|
* @param {number} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
|
|
618
618
|
* @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.
|
|
619
|
-
* @param {string} [filter] Filter the response by one or multiple fields.
|
|
619
|
+
* @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>
|
|
620
620
|
* @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>
|
|
621
621
|
* @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>
|
|
622
622
|
* @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>
|
|
623
|
-
* @param {string} [filters] Filters the response by one or multiple fields.
|
|
623
|
+
* @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>
|
|
624
624
|
* @param {*} [options] Override http request option.
|
|
625
625
|
* @throws {RequiredError}
|
|
626
626
|
*/
|
|
@@ -683,92 +683,16 @@ var MigrationApiAxiosParamCreator = function (configuration) {
|
|
|
683
683
|
});
|
|
684
684
|
},
|
|
685
685
|
/**
|
|
686
|
-
* Returns a list of ingest
|
|
687
|
-
* @summary List ingest run records
|
|
688
|
-
* @param {string} code
|
|
689
|
-
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
690
|
-
* @param {number} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
|
|
691
|
-
* @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.
|
|
692
|
-
* @param {string} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.<br/> <br/> <i>Allowed values: id, ingestRunId, ingestBatchId, createdAt, updatedAt, ern, rowNo, externalId, errorMessage</i>
|
|
693
|
-
* @param {string} [search] Search the response for matches in any searchable field. Use filter instead where possible for improved performance.<br/> <br/> <i>Searchable fields: externalId, errorMessage</i>
|
|
694
|
-
* @param {string} [order] Order allows you to specify the desired order of entities retrieved from the server by ascending (ASC) or descending (DESC) order.<br/> <br/> <i>Allowed values: id, createdAt, updatedAt, ingestRunId, ingestBatchId, rowNo, externalId, status, stage, errorMessage</i>
|
|
695
|
-
* @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/>
|
|
696
|
-
* @param {string} [filters] Filters the response by one or multiple fields. Advanced filter functionality allows you to perform more complex filtering operations.<br/> <br/> <i>Allowed values: id, ingestRunId, ingestBatchId, createdAt, updatedAt, ern, rowNo, externalId, errorMessage</i>
|
|
697
|
-
* @param {*} [options] Override http request option.
|
|
698
|
-
* @throws {RequiredError}
|
|
699
|
-
*/
|
|
700
|
-
listIngestRunRecords: function (code, authorization, pageSize, pageToken, filter, search, order, expand, filters, options) {
|
|
701
|
-
if (options === void 0) { options = {}; }
|
|
702
|
-
return __awaiter(_this, void 0, void 0, function () {
|
|
703
|
-
var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
704
|
-
return __generator(this, function (_a) {
|
|
705
|
-
switch (_a.label) {
|
|
706
|
-
case 0:
|
|
707
|
-
// verify required parameter 'code' is not null or undefined
|
|
708
|
-
(0, common_1.assertParamExists)('listIngestRunRecords', 'code', code);
|
|
709
|
-
localVarPath = "/migrationservice/v1/ingest-runs/{code}/records"
|
|
710
|
-
.replace("{".concat("code", "}"), encodeURIComponent(String(code)));
|
|
711
|
-
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
712
|
-
if (configuration) {
|
|
713
|
-
baseOptions = configuration.baseOptions;
|
|
714
|
-
baseAccessToken = configuration.accessToken;
|
|
715
|
-
}
|
|
716
|
-
localVarRequestOptions = __assign(__assign({ method: 'GET' }, baseOptions), options);
|
|
717
|
-
localVarHeaderParameter = {};
|
|
718
|
-
localVarQueryParameter = {};
|
|
719
|
-
// authentication bearer required
|
|
720
|
-
// http bearer authentication required
|
|
721
|
-
return [4 /*yield*/, (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration)];
|
|
722
|
-
case 1:
|
|
723
|
-
// authentication bearer required
|
|
724
|
-
// http bearer authentication required
|
|
725
|
-
_a.sent();
|
|
726
|
-
if (pageSize !== undefined) {
|
|
727
|
-
localVarQueryParameter['pageSize'] = pageSize;
|
|
728
|
-
}
|
|
729
|
-
if (pageToken !== undefined) {
|
|
730
|
-
localVarQueryParameter['pageToken'] = pageToken;
|
|
731
|
-
}
|
|
732
|
-
if (filter !== undefined) {
|
|
733
|
-
localVarQueryParameter['filter'] = filter;
|
|
734
|
-
}
|
|
735
|
-
if (search !== undefined) {
|
|
736
|
-
localVarQueryParameter['search'] = search;
|
|
737
|
-
}
|
|
738
|
-
if (order !== undefined) {
|
|
739
|
-
localVarQueryParameter['order'] = order;
|
|
740
|
-
}
|
|
741
|
-
if (expand !== undefined) {
|
|
742
|
-
localVarQueryParameter['expand'] = expand;
|
|
743
|
-
}
|
|
744
|
-
if (filters !== undefined) {
|
|
745
|
-
localVarQueryParameter['filters'] = filters;
|
|
746
|
-
}
|
|
747
|
-
if (authorization !== undefined && authorization !== null || baseAccessToken !== undefined && baseAccessToken !== null) {
|
|
748
|
-
localVarHeaderParameter['Authorization'] = String(authorization ? authorization : baseAccessToken);
|
|
749
|
-
}
|
|
750
|
-
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
751
|
-
headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
752
|
-
localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
753
|
-
return [2 /*return*/, {
|
|
754
|
-
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
755
|
-
options: localVarRequestOptions,
|
|
756
|
-
}];
|
|
757
|
-
}
|
|
758
|
-
});
|
|
759
|
-
});
|
|
760
|
-
},
|
|
761
|
-
/**
|
|
762
|
-
* 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\"
|
|
686
|
+
* 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\"
|
|
763
687
|
* @summary List ingest runs
|
|
764
688
|
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
765
689
|
* @param {number} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
|
|
766
690
|
* @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.
|
|
767
|
-
* @param {string} [filter] Filter the response by one or multiple fields.
|
|
691
|
+
* @param {string} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.<br/> <br/> <i>Allowed values: id, code, createdAt, updatedAt, ern, sourceSystem, sourceEntity, fileUrl, recordCount, isSuccess, errorMessage</i>
|
|
768
692
|
* @param {string} [search] Search the response for matches in any searchable field. Use filter instead where possible for improved performance.<br/> <br/> <i>Searchable fields: sourceSystem, sourceEntity, payload, fileUrl, errorMessage, code</i>
|
|
769
693
|
* @param {string} [order] Order allows you to specify the desired order of entities retrieved from the server by ascending (ASC) or descending (DESC) order.<br/> <br/> <i>Allowed values: id, createdAt, updatedAt, code, sourceSystem, sourceEntity, fileUrl, recordCount, isSuccess, errorMessage</i>
|
|
770
694
|
* @param {string} [expand] Expand to fetch additional information about the list items. Expanding resources can reduce the number of API calls required to accomplish a task. Use with discretion as some expanded fields can drastically increase payload size.<br/> <br/> <i>Allowed values: batches<i>
|
|
771
|
-
* @param {string} [filters] Filters the response by one or multiple fields.
|
|
695
|
+
* @param {string} [filters] Filters the response by one or multiple fields. Advanced filter functionality allows you to perform more complex filtering operations.<br/> <br/> <i>Allowed values: id, code, createdAt, updatedAt, ern, sourceSystem, sourceEntity, fileUrl, recordCount, isSuccess, errorMessage</i>
|
|
772
696
|
* @param {*} [options] Override http request option.
|
|
773
697
|
* @throws {RequiredError}
|
|
774
698
|
*/
|
|
@@ -831,7 +755,7 @@ var MigrationApiAxiosParamCreator = function (configuration) {
|
|
|
831
755
|
});
|
|
832
756
|
},
|
|
833
757
|
/**
|
|
834
|
-
* This will stop the running ingest flush. **Required Permissions** \"migration.ingest-
|
|
758
|
+
* This will stop the running ingest flush. **Required Permissions** \"migration.ingest-runs.*\"
|
|
835
759
|
* @summary Stops the ingest flush
|
|
836
760
|
* @param {string} code
|
|
837
761
|
* @param {StopIngestFlushRequestDto} stopIngestFlushRequestDto
|
|
@@ -1086,7 +1010,7 @@ var MigrationApiFp = function (configuration) {
|
|
|
1086
1010
|
});
|
|
1087
1011
|
},
|
|
1088
1012
|
/**
|
|
1089
|
-
* This will start synchronous ingest flush. **Required Permissions** \"migration.ingest-
|
|
1013
|
+
* This will start synchronous ingest flush. **Required Permissions** \"migration.ingest-runs.*\"
|
|
1090
1014
|
* @summary Create the Sync ingest flush
|
|
1091
1015
|
* @param {FlushIngestedDataRequestDto} flushIngestedDataRequestDto
|
|
1092
1016
|
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
@@ -1107,7 +1031,7 @@ var MigrationApiFp = function (configuration) {
|
|
|
1107
1031
|
});
|
|
1108
1032
|
},
|
|
1109
1033
|
/**
|
|
1110
|
-
* This will start synchronous ingest flush. **Required Permissions** \"migration.ingest-
|
|
1034
|
+
* This will start synchronous ingest flush. **Required Permissions** \"migration.ingest-runs.*\"
|
|
1111
1035
|
* @summary Create the Sync ingest flush
|
|
1112
1036
|
* @param {FlushIngestedDataRequestDto} flushIngestedDataRequestDto
|
|
1113
1037
|
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
@@ -1128,7 +1052,7 @@ var MigrationApiFp = function (configuration) {
|
|
|
1128
1052
|
});
|
|
1129
1053
|
},
|
|
1130
1054
|
/**
|
|
1131
|
-
* 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-
|
|
1055
|
+
* 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-runs.view\"
|
|
1132
1056
|
* @summary Retrieve the ingest flush
|
|
1133
1057
|
* @param {string} code
|
|
1134
1058
|
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
@@ -1191,16 +1115,16 @@ var MigrationApiFp = function (configuration) {
|
|
|
1191
1115
|
});
|
|
1192
1116
|
},
|
|
1193
1117
|
/**
|
|
1194
|
-
* Returns a list of entity mappings you have previously created.
|
|
1118
|
+
* Returns a list of entity mappings you have previously created. The entity mappings 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\"
|
|
1195
1119
|
* @summary List entity mappings
|
|
1196
1120
|
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
1197
1121
|
* @param {number} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
|
|
1198
1122
|
* @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.
|
|
1199
|
-
* @param {string} [filter] Filter the response by one or multiple fields.
|
|
1123
|
+
* @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, createdAt, updatedAt, ern, sourceSystem, sourceEntity, sourceId, targetEntity, targetId, targetCode, targetSlug, targetOtherId1, targetOtherId2, targetOtherId3, ingestBatchId</i>
|
|
1200
1124
|
* @param {string} [search] Search the response for matches in any searchable field. Use filter instead where possible for improved performance.<br/> <br/> <i>Searchable fields: sourceSystem, sourceEntity, sourceId, targetCode, targetSlug, targetOtherId1, targetOtherId2, targetOtherId3</i>
|
|
1201
1125
|
* @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, sourceSystem, sourceEntity, sourceId, targetEntity, targetId, targetCode, targetSlug, targetOtherId1, targetOtherId2, targetOtherId3, ingestBatchId</i>
|
|
1202
1126
|
* @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/>
|
|
1203
|
-
* @param {string} [filters] Filters the response by one or multiple fields.
|
|
1127
|
+
* @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, createdAt, updatedAt, ern, sourceSystem, sourceEntity, sourceId, targetEntity, targetId, targetCode, targetSlug, targetOtherId1, targetOtherId2, targetOtherId3, ingestBatchId</i>
|
|
1204
1128
|
* @param {*} [options] Override http request option.
|
|
1205
1129
|
* @throws {RequiredError}
|
|
1206
1130
|
*/
|
|
@@ -1218,16 +1142,16 @@ var MigrationApiFp = function (configuration) {
|
|
|
1218
1142
|
});
|
|
1219
1143
|
},
|
|
1220
1144
|
/**
|
|
1221
|
-
* Returns a list of ingest flushes you have previously created.
|
|
1145
|
+
* 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-runs.view\"
|
|
1222
1146
|
* @summary List ingest flushes
|
|
1223
1147
|
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
1224
1148
|
* @param {number} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
|
|
1225
1149
|
* @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.
|
|
1226
|
-
* @param {string} [filter] Filter the response by one or multiple fields.
|
|
1150
|
+
* @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>
|
|
1227
1151
|
* @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>
|
|
1228
1152
|
* @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>
|
|
1229
1153
|
* @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>
|
|
1230
|
-
* @param {string} [filters] Filters the response by one or multiple fields.
|
|
1154
|
+
* @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>
|
|
1231
1155
|
* @param {*} [options] Override http request option.
|
|
1232
1156
|
* @throws {RequiredError}
|
|
1233
1157
|
*/
|
|
@@ -1245,44 +1169,16 @@ var MigrationApiFp = function (configuration) {
|
|
|
1245
1169
|
});
|
|
1246
1170
|
},
|
|
1247
1171
|
/**
|
|
1248
|
-
* Returns a list of ingest
|
|
1249
|
-
* @summary List ingest run records
|
|
1250
|
-
* @param {string} code
|
|
1251
|
-
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
1252
|
-
* @param {number} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
|
|
1253
|
-
* @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.
|
|
1254
|
-
* @param {string} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.<br/> <br/> <i>Allowed values: id, ingestRunId, ingestBatchId, createdAt, updatedAt, ern, rowNo, externalId, errorMessage</i>
|
|
1255
|
-
* @param {string} [search] Search the response for matches in any searchable field. Use filter instead where possible for improved performance.<br/> <br/> <i>Searchable fields: externalId, errorMessage</i>
|
|
1256
|
-
* @param {string} [order] Order allows you to specify the desired order of entities retrieved from the server by ascending (ASC) or descending (DESC) order.<br/> <br/> <i>Allowed values: id, createdAt, updatedAt, ingestRunId, ingestBatchId, rowNo, externalId, status, stage, errorMessage</i>
|
|
1257
|
-
* @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/>
|
|
1258
|
-
* @param {string} [filters] Filters the response by one or multiple fields. Advanced filter functionality allows you to perform more complex filtering operations.<br/> <br/> <i>Allowed values: id, ingestRunId, ingestBatchId, createdAt, updatedAt, ern, rowNo, externalId, errorMessage</i>
|
|
1259
|
-
* @param {*} [options] Override http request option.
|
|
1260
|
-
* @throws {RequiredError}
|
|
1261
|
-
*/
|
|
1262
|
-
listIngestRunRecords: function (code, authorization, pageSize, pageToken, filter, search, order, expand, filters, options) {
|
|
1263
|
-
return __awaiter(this, void 0, void 0, function () {
|
|
1264
|
-
var localVarAxiosArgs;
|
|
1265
|
-
return __generator(this, function (_a) {
|
|
1266
|
-
switch (_a.label) {
|
|
1267
|
-
case 0: return [4 /*yield*/, localVarAxiosParamCreator.listIngestRunRecords(code, authorization, pageSize, pageToken, filter, search, order, expand, filters, options)];
|
|
1268
|
-
case 1:
|
|
1269
|
-
localVarAxiosArgs = _a.sent();
|
|
1270
|
-
return [2 /*return*/, (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
|
|
1271
|
-
}
|
|
1272
|
-
});
|
|
1273
|
-
});
|
|
1274
|
-
},
|
|
1275
|
-
/**
|
|
1276
|
-
* 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\"
|
|
1172
|
+
* 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\"
|
|
1277
1173
|
* @summary List ingest runs
|
|
1278
1174
|
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
1279
1175
|
* @param {number} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
|
|
1280
1176
|
* @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.
|
|
1281
|
-
* @param {string} [filter] Filter the response by one or multiple fields.
|
|
1177
|
+
* @param {string} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.<br/> <br/> <i>Allowed values: id, code, createdAt, updatedAt, ern, sourceSystem, sourceEntity, fileUrl, recordCount, isSuccess, errorMessage</i>
|
|
1282
1178
|
* @param {string} [search] Search the response for matches in any searchable field. Use filter instead where possible for improved performance.<br/> <br/> <i>Searchable fields: sourceSystem, sourceEntity, payload, fileUrl, errorMessage, code</i>
|
|
1283
1179
|
* @param {string} [order] Order allows you to specify the desired order of entities retrieved from the server by ascending (ASC) or descending (DESC) order.<br/> <br/> <i>Allowed values: id, createdAt, updatedAt, code, sourceSystem, sourceEntity, fileUrl, recordCount, isSuccess, errorMessage</i>
|
|
1284
1180
|
* @param {string} [expand] Expand to fetch additional information about the list items. Expanding resources can reduce the number of API calls required to accomplish a task. Use with discretion as some expanded fields can drastically increase payload size.<br/> <br/> <i>Allowed values: batches<i>
|
|
1285
|
-
* @param {string} [filters] Filters the response by one or multiple fields.
|
|
1181
|
+
* @param {string} [filters] Filters the response by one or multiple fields. Advanced filter functionality allows you to perform more complex filtering operations.<br/> <br/> <i>Allowed values: id, code, createdAt, updatedAt, ern, sourceSystem, sourceEntity, fileUrl, recordCount, isSuccess, errorMessage</i>
|
|
1286
1182
|
* @param {*} [options] Override http request option.
|
|
1287
1183
|
* @throws {RequiredError}
|
|
1288
1184
|
*/
|
|
@@ -1300,7 +1196,7 @@ var MigrationApiFp = function (configuration) {
|
|
|
1300
1196
|
});
|
|
1301
1197
|
},
|
|
1302
1198
|
/**
|
|
1303
|
-
* This will stop the running ingest flush. **Required Permissions** \"migration.ingest-
|
|
1199
|
+
* This will stop the running ingest flush. **Required Permissions** \"migration.ingest-runs.*\"
|
|
1304
1200
|
* @summary Stops the ingest flush
|
|
1305
1201
|
* @param {string} code
|
|
1306
1202
|
* @param {StopIngestFlushRequestDto} stopIngestFlushRequestDto
|
|
@@ -1422,7 +1318,7 @@ var MigrationApiFactory = function (configuration, basePath, axios) {
|
|
|
1422
1318
|
return localVarFp.createIngestRunSync(createIngestRunSyncRequestDto, authorization, options).then(function (request) { return request(axios, basePath); });
|
|
1423
1319
|
},
|
|
1424
1320
|
/**
|
|
1425
|
-
* This will start synchronous ingest flush. **Required Permissions** \"migration.ingest-
|
|
1321
|
+
* This will start synchronous ingest flush. **Required Permissions** \"migration.ingest-runs.*\"
|
|
1426
1322
|
* @summary Create the Sync ingest flush
|
|
1427
1323
|
* @param {FlushIngestedDataRequestDto} flushIngestedDataRequestDto
|
|
1428
1324
|
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
@@ -1433,7 +1329,7 @@ var MigrationApiFactory = function (configuration, basePath, axios) {
|
|
|
1433
1329
|
return localVarFp.flushIngestedDataAsync(flushIngestedDataRequestDto, authorization, options).then(function (request) { return request(axios, basePath); });
|
|
1434
1330
|
},
|
|
1435
1331
|
/**
|
|
1436
|
-
* This will start synchronous ingest flush. **Required Permissions** \"migration.ingest-
|
|
1332
|
+
* This will start synchronous ingest flush. **Required Permissions** \"migration.ingest-runs.*\"
|
|
1437
1333
|
* @summary Create the Sync ingest flush
|
|
1438
1334
|
* @param {FlushIngestedDataRequestDto} flushIngestedDataRequestDto
|
|
1439
1335
|
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
@@ -1444,7 +1340,7 @@ var MigrationApiFactory = function (configuration, basePath, axios) {
|
|
|
1444
1340
|
return localVarFp.flushIngestedDataSync(flushIngestedDataRequestDto, authorization, options).then(function (request) { return request(axios, basePath); });
|
|
1445
1341
|
},
|
|
1446
1342
|
/**
|
|
1447
|
-
* 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-
|
|
1343
|
+
* 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-runs.view\"
|
|
1448
1344
|
* @summary Retrieve the ingest flush
|
|
1449
1345
|
* @param {string} code
|
|
1450
1346
|
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
@@ -1477,16 +1373,16 @@ var MigrationApiFactory = function (configuration, basePath, axios) {
|
|
|
1477
1373
|
return localVarFp.getJsonSchemas(sourceEntity, authorization, options).then(function (request) { return request(axios, basePath); });
|
|
1478
1374
|
},
|
|
1479
1375
|
/**
|
|
1480
|
-
* Returns a list of entity mappings you have previously created.
|
|
1376
|
+
* Returns a list of entity mappings you have previously created. The entity mappings 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\"
|
|
1481
1377
|
* @summary List entity mappings
|
|
1482
1378
|
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
1483
1379
|
* @param {number} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
|
|
1484
1380
|
* @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.
|
|
1485
|
-
* @param {string} [filter] Filter the response by one or multiple fields.
|
|
1381
|
+
* @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, createdAt, updatedAt, ern, sourceSystem, sourceEntity, sourceId, targetEntity, targetId, targetCode, targetSlug, targetOtherId1, targetOtherId2, targetOtherId3, ingestBatchId</i>
|
|
1486
1382
|
* @param {string} [search] Search the response for matches in any searchable field. Use filter instead where possible for improved performance.<br/> <br/> <i>Searchable fields: sourceSystem, sourceEntity, sourceId, targetCode, targetSlug, targetOtherId1, targetOtherId2, targetOtherId3</i>
|
|
1487
1383
|
* @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, sourceSystem, sourceEntity, sourceId, targetEntity, targetId, targetCode, targetSlug, targetOtherId1, targetOtherId2, targetOtherId3, ingestBatchId</i>
|
|
1488
1384
|
* @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/>
|
|
1489
|
-
* @param {string} [filters] Filters the response by one or multiple fields.
|
|
1385
|
+
* @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, createdAt, updatedAt, ern, sourceSystem, sourceEntity, sourceId, targetEntity, targetId, targetCode, targetSlug, targetOtherId1, targetOtherId2, targetOtherId3, ingestBatchId</i>
|
|
1490
1386
|
* @param {*} [options] Override http request option.
|
|
1491
1387
|
* @throws {RequiredError}
|
|
1492
1388
|
*/
|
|
@@ -1494,16 +1390,16 @@ var MigrationApiFactory = function (configuration, basePath, axios) {
|
|
|
1494
1390
|
return localVarFp.listEntityMappings(authorization, pageSize, pageToken, filter, search, order, expand, filters, options).then(function (request) { return request(axios, basePath); });
|
|
1495
1391
|
},
|
|
1496
1392
|
/**
|
|
1497
|
-
* Returns a list of ingest flushes you have previously created.
|
|
1393
|
+
* 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-runs.view\"
|
|
1498
1394
|
* @summary List ingest flushes
|
|
1499
1395
|
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
1500
1396
|
* @param {number} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
|
|
1501
1397
|
* @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.
|
|
1502
|
-
* @param {string} [filter] Filter the response by one or multiple fields.
|
|
1398
|
+
* @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>
|
|
1503
1399
|
* @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>
|
|
1504
1400
|
* @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>
|
|
1505
1401
|
* @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>
|
|
1506
|
-
* @param {string} [filters] Filters the response by one or multiple fields.
|
|
1402
|
+
* @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>
|
|
1507
1403
|
* @param {*} [options] Override http request option.
|
|
1508
1404
|
* @throws {RequiredError}
|
|
1509
1405
|
*/
|
|
@@ -1511,34 +1407,16 @@ var MigrationApiFactory = function (configuration, basePath, axios) {
|
|
|
1511
1407
|
return localVarFp.listIngestFlushes(authorization, pageSize, pageToken, filter, search, order, expand, filters, options).then(function (request) { return request(axios, basePath); });
|
|
1512
1408
|
},
|
|
1513
1409
|
/**
|
|
1514
|
-
* Returns a list of ingest
|
|
1515
|
-
* @summary List ingest run records
|
|
1516
|
-
* @param {string} code
|
|
1517
|
-
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
1518
|
-
* @param {number} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
|
|
1519
|
-
* @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.
|
|
1520
|
-
* @param {string} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.<br/> <br/> <i>Allowed values: id, ingestRunId, ingestBatchId, createdAt, updatedAt, ern, rowNo, externalId, errorMessage</i>
|
|
1521
|
-
* @param {string} [search] Search the response for matches in any searchable field. Use filter instead where possible for improved performance.<br/> <br/> <i>Searchable fields: externalId, errorMessage</i>
|
|
1522
|
-
* @param {string} [order] Order allows you to specify the desired order of entities retrieved from the server by ascending (ASC) or descending (DESC) order.<br/> <br/> <i>Allowed values: id, createdAt, updatedAt, ingestRunId, ingestBatchId, rowNo, externalId, status, stage, errorMessage</i>
|
|
1523
|
-
* @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/>
|
|
1524
|
-
* @param {string} [filters] Filters the response by one or multiple fields. Advanced filter functionality allows you to perform more complex filtering operations.<br/> <br/> <i>Allowed values: id, ingestRunId, ingestBatchId, createdAt, updatedAt, ern, rowNo, externalId, errorMessage</i>
|
|
1525
|
-
* @param {*} [options] Override http request option.
|
|
1526
|
-
* @throws {RequiredError}
|
|
1527
|
-
*/
|
|
1528
|
-
listIngestRunRecords: function (code, authorization, pageSize, pageToken, filter, search, order, expand, filters, options) {
|
|
1529
|
-
return localVarFp.listIngestRunRecords(code, authorization, pageSize, pageToken, filter, search, order, expand, filters, options).then(function (request) { return request(axios, basePath); });
|
|
1530
|
-
},
|
|
1531
|
-
/**
|
|
1532
|
-
* 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\"
|
|
1410
|
+
* 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\"
|
|
1533
1411
|
* @summary List ingest runs
|
|
1534
1412
|
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
1535
1413
|
* @param {number} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
|
|
1536
1414
|
* @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.
|
|
1537
|
-
* @param {string} [filter] Filter the response by one or multiple fields.
|
|
1415
|
+
* @param {string} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.<br/> <br/> <i>Allowed values: id, code, createdAt, updatedAt, ern, sourceSystem, sourceEntity, fileUrl, recordCount, isSuccess, errorMessage</i>
|
|
1538
1416
|
* @param {string} [search] Search the response for matches in any searchable field. Use filter instead where possible for improved performance.<br/> <br/> <i>Searchable fields: sourceSystem, sourceEntity, payload, fileUrl, errorMessage, code</i>
|
|
1539
1417
|
* @param {string} [order] Order allows you to specify the desired order of entities retrieved from the server by ascending (ASC) or descending (DESC) order.<br/> <br/> <i>Allowed values: id, createdAt, updatedAt, code, sourceSystem, sourceEntity, fileUrl, recordCount, isSuccess, errorMessage</i>
|
|
1540
1418
|
* @param {string} [expand] Expand to fetch additional information about the list items. Expanding resources can reduce the number of API calls required to accomplish a task. Use with discretion as some expanded fields can drastically increase payload size.<br/> <br/> <i>Allowed values: batches<i>
|
|
1541
|
-
* @param {string} [filters] Filters the response by one or multiple fields.
|
|
1419
|
+
* @param {string} [filters] Filters the response by one or multiple fields. Advanced filter functionality allows you to perform more complex filtering operations.<br/> <br/> <i>Allowed values: id, code, createdAt, updatedAt, ern, sourceSystem, sourceEntity, fileUrl, recordCount, isSuccess, errorMessage</i>
|
|
1542
1420
|
* @param {*} [options] Override http request option.
|
|
1543
1421
|
* @throws {RequiredError}
|
|
1544
1422
|
*/
|
|
@@ -1546,7 +1424,7 @@ var MigrationApiFactory = function (configuration, basePath, axios) {
|
|
|
1546
1424
|
return localVarFp.listIngestRuns(authorization, pageSize, pageToken, filter, search, order, expand, filters, options).then(function (request) { return request(axios, basePath); });
|
|
1547
1425
|
},
|
|
1548
1426
|
/**
|
|
1549
|
-
* This will stop the running ingest flush. **Required Permissions** \"migration.ingest-
|
|
1427
|
+
* This will stop the running ingest flush. **Required Permissions** \"migration.ingest-runs.*\"
|
|
1550
1428
|
* @summary Stops the ingest flush
|
|
1551
1429
|
* @param {string} code
|
|
1552
1430
|
* @param {StopIngestFlushRequestDto} stopIngestFlushRequestDto
|
|
@@ -1644,7 +1522,7 @@ var MigrationApi = /** @class */ (function (_super) {
|
|
|
1644
1522
|
return (0, exports.MigrationApiFp)(this.configuration).createIngestRunSync(requestParameters.createIngestRunSyncRequestDto, requestParameters.authorization, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
1645
1523
|
};
|
|
1646
1524
|
/**
|
|
1647
|
-
* This will start synchronous ingest flush. **Required Permissions** \"migration.ingest-
|
|
1525
|
+
* This will start synchronous ingest flush. **Required Permissions** \"migration.ingest-runs.*\"
|
|
1648
1526
|
* @summary Create the Sync ingest flush
|
|
1649
1527
|
* @param {MigrationApiFlushIngestedDataAsyncRequest} requestParameters Request parameters.
|
|
1650
1528
|
* @param {*} [options] Override http request option.
|
|
@@ -1656,7 +1534,7 @@ var MigrationApi = /** @class */ (function (_super) {
|
|
|
1656
1534
|
return (0, exports.MigrationApiFp)(this.configuration).flushIngestedDataAsync(requestParameters.flushIngestedDataRequestDto, requestParameters.authorization, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
1657
1535
|
};
|
|
1658
1536
|
/**
|
|
1659
|
-
* This will start synchronous ingest flush. **Required Permissions** \"migration.ingest-
|
|
1537
|
+
* This will start synchronous ingest flush. **Required Permissions** \"migration.ingest-runs.*\"
|
|
1660
1538
|
* @summary Create the Sync ingest flush
|
|
1661
1539
|
* @param {MigrationApiFlushIngestedDataSyncRequest} requestParameters Request parameters.
|
|
1662
1540
|
* @param {*} [options] Override http request option.
|
|
@@ -1668,7 +1546,7 @@ var MigrationApi = /** @class */ (function (_super) {
|
|
|
1668
1546
|
return (0, exports.MigrationApiFp)(this.configuration).flushIngestedDataSync(requestParameters.flushIngestedDataRequestDto, requestParameters.authorization, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
1669
1547
|
};
|
|
1670
1548
|
/**
|
|
1671
|
-
* 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-
|
|
1549
|
+
* 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-runs.view\"
|
|
1672
1550
|
* @summary Retrieve the ingest flush
|
|
1673
1551
|
* @param {MigrationApiGetIngestFlushRequest} requestParameters Request parameters.
|
|
1674
1552
|
* @param {*} [options] Override http request option.
|
|
@@ -1704,7 +1582,7 @@ var MigrationApi = /** @class */ (function (_super) {
|
|
|
1704
1582
|
return (0, exports.MigrationApiFp)(this.configuration).getJsonSchemas(requestParameters.sourceEntity, requestParameters.authorization, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
1705
1583
|
};
|
|
1706
1584
|
/**
|
|
1707
|
-
* Returns a list of entity mappings you have previously created.
|
|
1585
|
+
* Returns a list of entity mappings you have previously created. The entity mappings 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\"
|
|
1708
1586
|
* @summary List entity mappings
|
|
1709
1587
|
* @param {MigrationApiListEntityMappingsRequest} requestParameters Request parameters.
|
|
1710
1588
|
* @param {*} [options] Override http request option.
|
|
@@ -1717,7 +1595,7 @@ var MigrationApi = /** @class */ (function (_super) {
|
|
|
1717
1595
|
return (0, exports.MigrationApiFp)(this.configuration).listEntityMappings(requestParameters.authorization, requestParameters.pageSize, requestParameters.pageToken, requestParameters.filter, requestParameters.search, requestParameters.order, requestParameters.expand, requestParameters.filters, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
1718
1596
|
};
|
|
1719
1597
|
/**
|
|
1720
|
-
* Returns a list of ingest flushes you have previously created.
|
|
1598
|
+
* 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-runs.view\"
|
|
1721
1599
|
* @summary List ingest flushes
|
|
1722
1600
|
* @param {MigrationApiListIngestFlushesRequest} requestParameters Request parameters.
|
|
1723
1601
|
* @param {*} [options] Override http request option.
|
|
@@ -1730,19 +1608,7 @@ var MigrationApi = /** @class */ (function (_super) {
|
|
|
1730
1608
|
return (0, exports.MigrationApiFp)(this.configuration).listIngestFlushes(requestParameters.authorization, requestParameters.pageSize, requestParameters.pageToken, requestParameters.filter, requestParameters.search, requestParameters.order, requestParameters.expand, requestParameters.filters, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
1731
1609
|
};
|
|
1732
1610
|
/**
|
|
1733
|
-
* Returns a list of ingest
|
|
1734
|
-
* @summary List ingest run records
|
|
1735
|
-
* @param {MigrationApiListIngestRunRecordsRequest} requestParameters Request parameters.
|
|
1736
|
-
* @param {*} [options] Override http request option.
|
|
1737
|
-
* @throws {RequiredError}
|
|
1738
|
-
* @memberof MigrationApi
|
|
1739
|
-
*/
|
|
1740
|
-
MigrationApi.prototype.listIngestRunRecords = function (requestParameters, options) {
|
|
1741
|
-
var _this = this;
|
|
1742
|
-
return (0, exports.MigrationApiFp)(this.configuration).listIngestRunRecords(requestParameters.code, requestParameters.authorization, requestParameters.pageSize, requestParameters.pageToken, requestParameters.filter, requestParameters.search, requestParameters.order, requestParameters.expand, requestParameters.filters, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
1743
|
-
};
|
|
1744
|
-
/**
|
|
1745
|
-
* 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\"
|
|
1611
|
+
* 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\"
|
|
1746
1612
|
* @summary List ingest runs
|
|
1747
1613
|
* @param {MigrationApiListIngestRunsRequest} requestParameters Request parameters.
|
|
1748
1614
|
* @param {*} [options] Override http request option.
|
|
@@ -1755,7 +1621,7 @@ var MigrationApi = /** @class */ (function (_super) {
|
|
|
1755
1621
|
return (0, exports.MigrationApiFp)(this.configuration).listIngestRuns(requestParameters.authorization, requestParameters.pageSize, requestParameters.pageToken, requestParameters.filter, requestParameters.search, requestParameters.order, requestParameters.expand, requestParameters.filters, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
1756
1622
|
};
|
|
1757
1623
|
/**
|
|
1758
|
-
* This will stop the running ingest flush. **Required Permissions** \"migration.ingest-
|
|
1624
|
+
* This will stop the running ingest flush. **Required Permissions** \"migration.ingest-runs.*\"
|
|
1759
1625
|
* @summary Stops the ingest flush
|
|
1760
1626
|
* @param {MigrationApiStopIngestFlushRequest} requestParameters Request parameters.
|
|
1761
1627
|
* @param {*} [options] Override http request option.
|
package/dist/models/index.d.ts
CHANGED
|
@@ -16,12 +16,10 @@ export * from './ingest-batch-entity-class';
|
|
|
16
16
|
export * from './ingest-flush-class';
|
|
17
17
|
export * from './ingest-flush-entity-class';
|
|
18
18
|
export * from './ingest-run-class';
|
|
19
|
-
export * from './ingest-run-record-class';
|
|
20
19
|
export * from './inline-response200';
|
|
21
20
|
export * from './inline-response503';
|
|
22
21
|
export * from './list-entity-mappings-response-class';
|
|
23
22
|
export * from './list-ingest-flushes-response-class';
|
|
24
|
-
export * from './list-ingest-run-records-response-class';
|
|
25
23
|
export * from './list-ingest-runs-response-class';
|
|
26
24
|
export * from './stop-ingest-flush-request-dto';
|
|
27
25
|
export * from './stop-ingest-flush-response-class';
|
package/dist/models/index.js
CHANGED
|
@@ -32,12 +32,10 @@ __exportStar(require("./ingest-batch-entity-class"), exports);
|
|
|
32
32
|
__exportStar(require("./ingest-flush-class"), exports);
|
|
33
33
|
__exportStar(require("./ingest-flush-entity-class"), exports);
|
|
34
34
|
__exportStar(require("./ingest-run-class"), exports);
|
|
35
|
-
__exportStar(require("./ingest-run-record-class"), exports);
|
|
36
35
|
__exportStar(require("./inline-response200"), exports);
|
|
37
36
|
__exportStar(require("./inline-response503"), exports);
|
|
38
37
|
__exportStar(require("./list-entity-mappings-response-class"), exports);
|
|
39
38
|
__exportStar(require("./list-ingest-flushes-response-class"), exports);
|
|
40
|
-
__exportStar(require("./list-ingest-run-records-response-class"), exports);
|
|
41
39
|
__exportStar(require("./list-ingest-runs-response-class"), exports);
|
|
42
40
|
__exportStar(require("./stop-ingest-flush-request-dto"), exports);
|
|
43
41
|
__exportStar(require("./stop-ingest-flush-response-class"), exports);
|
package/models/index.ts
CHANGED
|
@@ -16,12 +16,10 @@ export * from './ingest-batch-entity-class';
|
|
|
16
16
|
export * from './ingest-flush-class';
|
|
17
17
|
export * from './ingest-flush-entity-class';
|
|
18
18
|
export * from './ingest-run-class';
|
|
19
|
-
export * from './ingest-run-record-class';
|
|
20
19
|
export * from './inline-response200';
|
|
21
20
|
export * from './inline-response503';
|
|
22
21
|
export * from './list-entity-mappings-response-class';
|
|
23
22
|
export * from './list-ingest-flushes-response-class';
|
|
24
|
-
export * from './list-ingest-run-records-response-class';
|
|
25
23
|
export * from './list-ingest-runs-response-class';
|
|
26
24
|
export * from './stop-ingest-flush-request-dto';
|
|
27
25
|
export * from './stop-ingest-flush-response-class';
|