@emilgroup/migration-sdk 0.1.1-beta.5 → 0.2.0

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.
@@ -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-runs.*\"
300
+ * This will start synchronous ingest flush. **Required Permissions** \"migration.ingest-flushes.*\"
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-runs.*\"
349
+ * This will start synchronous ingest flush. **Required Permissions** \"migration.ingest-flushes.*\"
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-runs.view\"
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-flushes.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. 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\"
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. 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>
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. 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>
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. 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\"
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-flushes.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. 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>
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. 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>
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,16 +683,92 @@ var MigrationApiAxiosParamCreator = function (configuration) {
683
683
  });
684
684
  },
685
685
  /**
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\"
686
+ * Returns a list of ingest run records you have previously created. The ingest run records 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\"
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\"
687
763
  * @summary List ingest runs
688
764
  * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
689
765
  * @param {number} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
690
766
  * @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.
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>
767
+ * @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>
692
768
  * @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>
693
769
  * @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>
694
770
  * @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>
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>
771
+ * @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>
696
772
  * @param {*} [options] Override http request option.
697
773
  * @throws {RequiredError}
698
774
  */
@@ -755,7 +831,7 @@ var MigrationApiAxiosParamCreator = function (configuration) {
755
831
  });
756
832
  },
757
833
  /**
758
- * This will stop the running ingest flush. **Required Permissions** \"migration.ingest-runs.*\"
834
+ * This will stop the running ingest flush. **Required Permissions** \"migration.ingest-flushes.*\"
759
835
  * @summary Stops the ingest flush
760
836
  * @param {string} code
761
837
  * @param {StopIngestFlushRequestDto} stopIngestFlushRequestDto
@@ -1010,7 +1086,7 @@ var MigrationApiFp = function (configuration) {
1010
1086
  });
1011
1087
  },
1012
1088
  /**
1013
- * This will start synchronous ingest flush. **Required Permissions** \"migration.ingest-runs.*\"
1089
+ * This will start synchronous ingest flush. **Required Permissions** \"migration.ingest-flushes.*\"
1014
1090
  * @summary Create the Sync ingest flush
1015
1091
  * @param {FlushIngestedDataRequestDto} flushIngestedDataRequestDto
1016
1092
  * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
@@ -1031,7 +1107,7 @@ var MigrationApiFp = function (configuration) {
1031
1107
  });
1032
1108
  },
1033
1109
  /**
1034
- * This will start synchronous ingest flush. **Required Permissions** \"migration.ingest-runs.*\"
1110
+ * This will start synchronous ingest flush. **Required Permissions** \"migration.ingest-flushes.*\"
1035
1111
  * @summary Create the Sync ingest flush
1036
1112
  * @param {FlushIngestedDataRequestDto} flushIngestedDataRequestDto
1037
1113
  * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
@@ -1052,7 +1128,7 @@ var MigrationApiFp = function (configuration) {
1052
1128
  });
1053
1129
  },
1054
1130
  /**
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\"
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-flushes.view\"
1056
1132
  * @summary Retrieve the ingest flush
1057
1133
  * @param {string} code
1058
1134
  * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
@@ -1115,16 +1191,16 @@ var MigrationApiFp = function (configuration) {
1115
1191
  });
1116
1192
  },
1117
1193
  /**
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\"
1194
+ * 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\"
1119
1195
  * @summary List entity mappings
1120
1196
  * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
1121
1197
  * @param {number} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
1122
1198
  * @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.
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>
1199
+ * @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>
1124
1200
  * @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>
1125
1201
  * @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>
1126
1202
  * @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/>
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>
1203
+ * @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>
1128
1204
  * @param {*} [options] Override http request option.
1129
1205
  * @throws {RequiredError}
1130
1206
  */
@@ -1142,16 +1218,16 @@ var MigrationApiFp = function (configuration) {
1142
1218
  });
1143
1219
  },
1144
1220
  /**
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\"
1221
+ * Returns a list of ingest flushes you have previously created. The ingest flushes are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation. **Required Permissions** \"migration.ingest-flushes.view\"
1146
1222
  * @summary List ingest flushes
1147
1223
  * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
1148
1224
  * @param {number} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
1149
1225
  * @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.
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>
1226
+ * @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>
1151
1227
  * @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>
1152
1228
  * @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>
1153
1229
  * @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>
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>
1230
+ * @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>
1155
1231
  * @param {*} [options] Override http request option.
1156
1232
  * @throws {RequiredError}
1157
1233
  */
@@ -1169,16 +1245,44 @@ var MigrationApiFp = function (configuration) {
1169
1245
  });
1170
1246
  },
1171
1247
  /**
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\"
1248
+ * Returns a list of ingest run records you have previously created. The ingest run records 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\"
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\"
1173
1277
  * @summary List ingest runs
1174
1278
  * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
1175
1279
  * @param {number} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
1176
1280
  * @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.
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>
1281
+ * @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>
1178
1282
  * @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>
1179
1283
  * @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>
1180
1284
  * @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>
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>
1285
+ * @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>
1182
1286
  * @param {*} [options] Override http request option.
1183
1287
  * @throws {RequiredError}
1184
1288
  */
@@ -1196,7 +1300,7 @@ var MigrationApiFp = function (configuration) {
1196
1300
  });
1197
1301
  },
1198
1302
  /**
1199
- * This will stop the running ingest flush. **Required Permissions** \"migration.ingest-runs.*\"
1303
+ * This will stop the running ingest flush. **Required Permissions** \"migration.ingest-flushes.*\"
1200
1304
  * @summary Stops the ingest flush
1201
1305
  * @param {string} code
1202
1306
  * @param {StopIngestFlushRequestDto} stopIngestFlushRequestDto
@@ -1318,7 +1422,7 @@ var MigrationApiFactory = function (configuration, basePath, axios) {
1318
1422
  return localVarFp.createIngestRunSync(createIngestRunSyncRequestDto, authorization, options).then(function (request) { return request(axios, basePath); });
1319
1423
  },
1320
1424
  /**
1321
- * This will start synchronous ingest flush. **Required Permissions** \"migration.ingest-runs.*\"
1425
+ * This will start synchronous ingest flush. **Required Permissions** \"migration.ingest-flushes.*\"
1322
1426
  * @summary Create the Sync ingest flush
1323
1427
  * @param {FlushIngestedDataRequestDto} flushIngestedDataRequestDto
1324
1428
  * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
@@ -1329,7 +1433,7 @@ var MigrationApiFactory = function (configuration, basePath, axios) {
1329
1433
  return localVarFp.flushIngestedDataAsync(flushIngestedDataRequestDto, authorization, options).then(function (request) { return request(axios, basePath); });
1330
1434
  },
1331
1435
  /**
1332
- * This will start synchronous ingest flush. **Required Permissions** \"migration.ingest-runs.*\"
1436
+ * This will start synchronous ingest flush. **Required Permissions** \"migration.ingest-flushes.*\"
1333
1437
  * @summary Create the Sync ingest flush
1334
1438
  * @param {FlushIngestedDataRequestDto} flushIngestedDataRequestDto
1335
1439
  * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
@@ -1340,7 +1444,7 @@ var MigrationApiFactory = function (configuration, basePath, axios) {
1340
1444
  return localVarFp.flushIngestedDataSync(flushIngestedDataRequestDto, authorization, options).then(function (request) { return request(axios, basePath); });
1341
1445
  },
1342
1446
  /**
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\"
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-flushes.view\"
1344
1448
  * @summary Retrieve the ingest flush
1345
1449
  * @param {string} code
1346
1450
  * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
@@ -1373,16 +1477,16 @@ var MigrationApiFactory = function (configuration, basePath, axios) {
1373
1477
  return localVarFp.getJsonSchemas(sourceEntity, authorization, options).then(function (request) { return request(axios, basePath); });
1374
1478
  },
1375
1479
  /**
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\"
1480
+ * 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\"
1377
1481
  * @summary List entity mappings
1378
1482
  * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
1379
1483
  * @param {number} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
1380
1484
  * @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.
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>
1485
+ * @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>
1382
1486
  * @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>
1383
1487
  * @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>
1384
1488
  * @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/>
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>
1489
+ * @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>
1386
1490
  * @param {*} [options] Override http request option.
1387
1491
  * @throws {RequiredError}
1388
1492
  */
@@ -1390,16 +1494,16 @@ var MigrationApiFactory = function (configuration, basePath, axios) {
1390
1494
  return localVarFp.listEntityMappings(authorization, pageSize, pageToken, filter, search, order, expand, filters, options).then(function (request) { return request(axios, basePath); });
1391
1495
  },
1392
1496
  /**
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\"
1497
+ * Returns a list of ingest flushes you have previously created. The ingest flushes are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation. **Required Permissions** \"migration.ingest-flushes.view\"
1394
1498
  * @summary List ingest flushes
1395
1499
  * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
1396
1500
  * @param {number} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
1397
1501
  * @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.
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>
1502
+ * @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>
1399
1503
  * @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>
1400
1504
  * @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>
1401
1505
  * @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>
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>
1506
+ * @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>
1403
1507
  * @param {*} [options] Override http request option.
1404
1508
  * @throws {RequiredError}
1405
1509
  */
@@ -1407,16 +1511,34 @@ var MigrationApiFactory = function (configuration, basePath, axios) {
1407
1511
  return localVarFp.listIngestFlushes(authorization, pageSize, pageToken, filter, search, order, expand, filters, options).then(function (request) { return request(axios, basePath); });
1408
1512
  },
1409
1513
  /**
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\"
1514
+ * Returns a list of ingest run records you have previously created. The ingest run records 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\"
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\"
1411
1533
  * @summary List ingest runs
1412
1534
  * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
1413
1535
  * @param {number} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
1414
1536
  * @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.
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>
1537
+ * @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>
1416
1538
  * @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>
1417
1539
  * @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>
1418
1540
  * @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>
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>
1541
+ * @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>
1420
1542
  * @param {*} [options] Override http request option.
1421
1543
  * @throws {RequiredError}
1422
1544
  */
@@ -1424,7 +1546,7 @@ var MigrationApiFactory = function (configuration, basePath, axios) {
1424
1546
  return localVarFp.listIngestRuns(authorization, pageSize, pageToken, filter, search, order, expand, filters, options).then(function (request) { return request(axios, basePath); });
1425
1547
  },
1426
1548
  /**
1427
- * This will stop the running ingest flush. **Required Permissions** \"migration.ingest-runs.*\"
1549
+ * This will stop the running ingest flush. **Required Permissions** \"migration.ingest-flushes.*\"
1428
1550
  * @summary Stops the ingest flush
1429
1551
  * @param {string} code
1430
1552
  * @param {StopIngestFlushRequestDto} stopIngestFlushRequestDto
@@ -1522,7 +1644,7 @@ var MigrationApi = /** @class */ (function (_super) {
1522
1644
  return (0, exports.MigrationApiFp)(this.configuration).createIngestRunSync(requestParameters.createIngestRunSyncRequestDto, requestParameters.authorization, options).then(function (request) { return request(_this.axios, _this.basePath); });
1523
1645
  };
1524
1646
  /**
1525
- * This will start synchronous ingest flush. **Required Permissions** \"migration.ingest-runs.*\"
1647
+ * This will start synchronous ingest flush. **Required Permissions** \"migration.ingest-flushes.*\"
1526
1648
  * @summary Create the Sync ingest flush
1527
1649
  * @param {MigrationApiFlushIngestedDataAsyncRequest} requestParameters Request parameters.
1528
1650
  * @param {*} [options] Override http request option.
@@ -1534,7 +1656,7 @@ var MigrationApi = /** @class */ (function (_super) {
1534
1656
  return (0, exports.MigrationApiFp)(this.configuration).flushIngestedDataAsync(requestParameters.flushIngestedDataRequestDto, requestParameters.authorization, options).then(function (request) { return request(_this.axios, _this.basePath); });
1535
1657
  };
1536
1658
  /**
1537
- * This will start synchronous ingest flush. **Required Permissions** \"migration.ingest-runs.*\"
1659
+ * This will start synchronous ingest flush. **Required Permissions** \"migration.ingest-flushes.*\"
1538
1660
  * @summary Create the Sync ingest flush
1539
1661
  * @param {MigrationApiFlushIngestedDataSyncRequest} requestParameters Request parameters.
1540
1662
  * @param {*} [options] Override http request option.
@@ -1546,7 +1668,7 @@ var MigrationApi = /** @class */ (function (_super) {
1546
1668
  return (0, exports.MigrationApiFp)(this.configuration).flushIngestedDataSync(requestParameters.flushIngestedDataRequestDto, requestParameters.authorization, options).then(function (request) { return request(_this.axios, _this.basePath); });
1547
1669
  };
1548
1670
  /**
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\"
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-flushes.view\"
1550
1672
  * @summary Retrieve the ingest flush
1551
1673
  * @param {MigrationApiGetIngestFlushRequest} requestParameters Request parameters.
1552
1674
  * @param {*} [options] Override http request option.
@@ -1582,7 +1704,7 @@ var MigrationApi = /** @class */ (function (_super) {
1582
1704
  return (0, exports.MigrationApiFp)(this.configuration).getJsonSchemas(requestParameters.sourceEntity, requestParameters.authorization, options).then(function (request) { return request(_this.axios, _this.basePath); });
1583
1705
  };
1584
1706
  /**
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\"
1707
+ * 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\"
1586
1708
  * @summary List entity mappings
1587
1709
  * @param {MigrationApiListEntityMappingsRequest} requestParameters Request parameters.
1588
1710
  * @param {*} [options] Override http request option.
@@ -1595,7 +1717,7 @@ var MigrationApi = /** @class */ (function (_super) {
1595
1717
  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); });
1596
1718
  };
1597
1719
  /**
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\"
1720
+ * Returns a list of ingest flushes you have previously created. The ingest flushes are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation. **Required Permissions** \"migration.ingest-flushes.view\"
1599
1721
  * @summary List ingest flushes
1600
1722
  * @param {MigrationApiListIngestFlushesRequest} requestParameters Request parameters.
1601
1723
  * @param {*} [options] Override http request option.
@@ -1608,7 +1730,19 @@ var MigrationApi = /** @class */ (function (_super) {
1608
1730
  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); });
1609
1731
  };
1610
1732
  /**
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\"
1733
+ * Returns a list of ingest run records you have previously created. The ingest run records 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\"
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\"
1612
1746
  * @summary List ingest runs
1613
1747
  * @param {MigrationApiListIngestRunsRequest} requestParameters Request parameters.
1614
1748
  * @param {*} [options] Override http request option.
@@ -1621,7 +1755,7 @@ var MigrationApi = /** @class */ (function (_super) {
1621
1755
  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); });
1622
1756
  };
1623
1757
  /**
1624
- * This will stop the running ingest flush. **Required Permissions** \"migration.ingest-runs.*\"
1758
+ * This will stop the running ingest flush. **Required Permissions** \"migration.ingest-flushes.*\"
1625
1759
  * @summary Stops the ingest flush
1626
1760
  * @param {MigrationApiStopIngestFlushRequest} requestParameters Request parameters.
1627
1761
  * @param {*} [options] Override http request option.
@@ -16,10 +16,12 @@ 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';
19
20
  export * from './inline-response200';
20
21
  export * from './inline-response503';
21
22
  export * from './list-entity-mappings-response-class';
22
23
  export * from './list-ingest-flushes-response-class';
24
+ export * from './list-ingest-run-records-response-class';
23
25
  export * from './list-ingest-runs-response-class';
24
26
  export * from './stop-ingest-flush-request-dto';
25
27
  export * from './stop-ingest-flush-response-class';
@@ -32,10 +32,12 @@ __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);
35
36
  __exportStar(require("./inline-response200"), exports);
36
37
  __exportStar(require("./inline-response503"), exports);
37
38
  __exportStar(require("./list-entity-mappings-response-class"), exports);
38
39
  __exportStar(require("./list-ingest-flushes-response-class"), exports);
40
+ __exportStar(require("./list-ingest-run-records-response-class"), exports);
39
41
  __exportStar(require("./list-ingest-runs-response-class"), exports);
40
42
  __exportStar(require("./stop-ingest-flush-request-dto"), exports);
41
43
  __exportStar(require("./stop-ingest-flush-response-class"), exports);