@emilgroup/migration-sdk 0.1.1-beta.11

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (124) hide show
  1. package/.openapi-generator/FILES +46 -0
  2. package/.openapi-generator/VERSION +1 -0
  3. package/.openapi-generator-ignore +23 -0
  4. package/README.md +51 -0
  5. package/api/default-api.ts +124 -0
  6. package/api/migration-api.ts +2150 -0
  7. package/api.ts +29 -0
  8. package/base.ts +282 -0
  9. package/common.ts +198 -0
  10. package/configuration.ts +110 -0
  11. package/dist/api/default-api.d.ts +70 -0
  12. package/dist/api/default-api.js +200 -0
  13. package/dist/api/migration-api.d.ts +1210 -0
  14. package/dist/api/migration-api.js +1795 -0
  15. package/dist/api.d.ts +13 -0
  16. package/dist/api.js +31 -0
  17. package/dist/base.d.ts +77 -0
  18. package/dist/base.js +324 -0
  19. package/dist/common.d.ts +91 -0
  20. package/dist/common.js +276 -0
  21. package/dist/configuration.d.ts +89 -0
  22. package/dist/configuration.js +52 -0
  23. package/dist/index.d.ts +15 -0
  24. package/dist/index.js +36 -0
  25. package/dist/models/cleanup-ingest-run-async-response-class.d.ts +25 -0
  26. package/dist/models/cleanup-ingest-run-async-response-class.js +15 -0
  27. package/dist/models/cleanup-ingest-run-sync-response-class.d.ts +25 -0
  28. package/dist/models/cleanup-ingest-run-sync-response-class.js +15 -0
  29. package/dist/models/create-ingest-run-async-request-dto.d.ts +41 -0
  30. package/dist/models/create-ingest-run-async-request-dto.js +20 -0
  31. package/dist/models/create-ingest-run-async-response-class.d.ts +25 -0
  32. package/dist/models/create-ingest-run-async-response-class.js +15 -0
  33. package/dist/models/create-ingest-run-sync-request-dto.d.ts +41 -0
  34. package/dist/models/create-ingest-run-sync-request-dto.js +20 -0
  35. package/dist/models/create-ingest-run-sync-response-class.d.ts +25 -0
  36. package/dist/models/create-ingest-run-sync-response-class.js +15 -0
  37. package/dist/models/entity-json-schema-class.d.ts +36 -0
  38. package/dist/models/entity-json-schema-class.js +15 -0
  39. package/dist/models/entity-mapping-class.d.ts +126 -0
  40. package/dist/models/entity-mapping-class.js +15 -0
  41. package/dist/models/flush-ingested-data-request-dto.d.ts +24 -0
  42. package/dist/models/flush-ingested-data-request-dto.js +15 -0
  43. package/dist/models/flush-ingested-data-response-class.d.ts +25 -0
  44. package/dist/models/flush-ingested-data-response-class.js +15 -0
  45. package/dist/models/get-ingest-flush-response-class.d.ts +25 -0
  46. package/dist/models/get-ingest-flush-response-class.js +15 -0
  47. package/dist/models/get-ingest-run-response-class.d.ts +25 -0
  48. package/dist/models/get-ingest-run-response-class.js +15 -0
  49. package/dist/models/get-json-schemas-response-class.d.ts +25 -0
  50. package/dist/models/get-json-schemas-response-class.js +15 -0
  51. package/dist/models/index.d.ts +31 -0
  52. package/dist/models/index.js +47 -0
  53. package/dist/models/ingest-batch-class.d.ts +163 -0
  54. package/dist/models/ingest-batch-class.js +15 -0
  55. package/dist/models/ingest-batch-entity-class.d.ts +114 -0
  56. package/dist/models/ingest-batch-entity-class.js +15 -0
  57. package/dist/models/ingest-flush-class.d.ts +85 -0
  58. package/dist/models/ingest-flush-class.js +15 -0
  59. package/dist/models/ingest-flush-entity-class.d.ts +84 -0
  60. package/dist/models/ingest-flush-entity-class.js +15 -0
  61. package/dist/models/ingest-run-class.d.ts +181 -0
  62. package/dist/models/ingest-run-class.js +15 -0
  63. package/dist/models/ingest-run-record-class.d.ts +102 -0
  64. package/dist/models/ingest-run-record-class.js +15 -0
  65. package/dist/models/inline-response200.d.ts +54 -0
  66. package/dist/models/inline-response200.js +15 -0
  67. package/dist/models/inline-response503.d.ts +54 -0
  68. package/dist/models/inline-response503.js +15 -0
  69. package/dist/models/list-entity-mappings-response-class.d.ts +43 -0
  70. package/dist/models/list-entity-mappings-response-class.js +15 -0
  71. package/dist/models/list-ingest-flushes-response-class.d.ts +43 -0
  72. package/dist/models/list-ingest-flushes-response-class.js +15 -0
  73. package/dist/models/list-ingest-run-records-response-class.d.ts +43 -0
  74. package/dist/models/list-ingest-run-records-response-class.js +15 -0
  75. package/dist/models/list-ingest-runs-response-class.d.ts +43 -0
  76. package/dist/models/list-ingest-runs-response-class.js +15 -0
  77. package/dist/models/stop-ingest-flush-request-dto.d.ts +24 -0
  78. package/dist/models/stop-ingest-flush-request-dto.js +15 -0
  79. package/dist/models/stop-ingest-flush-response-class.d.ts +25 -0
  80. package/dist/models/stop-ingest-flush-response-class.js +15 -0
  81. package/dist/models/stop-ingest-run-cleanup-request-dto.d.ts +24 -0
  82. package/dist/models/stop-ingest-run-cleanup-request-dto.js +15 -0
  83. package/dist/models/stop-ingest-run-cleanup-response-class.d.ts +25 -0
  84. package/dist/models/stop-ingest-run-cleanup-response-class.js +15 -0
  85. package/dist/models/stop-ingest-run-request-dto.d.ts +24 -0
  86. package/dist/models/stop-ingest-run-request-dto.js +15 -0
  87. package/dist/models/stop-ingest-run-response-class.d.ts +25 -0
  88. package/dist/models/stop-ingest-run-response-class.js +15 -0
  89. package/git_push.sh +57 -0
  90. package/index.ts +19 -0
  91. package/models/cleanup-ingest-run-async-response-class.ts +31 -0
  92. package/models/cleanup-ingest-run-sync-response-class.ts +31 -0
  93. package/models/create-ingest-run-async-request-dto.ts +50 -0
  94. package/models/create-ingest-run-async-response-class.ts +31 -0
  95. package/models/create-ingest-run-sync-request-dto.ts +50 -0
  96. package/models/create-ingest-run-sync-response-class.ts +31 -0
  97. package/models/entity-json-schema-class.ts +42 -0
  98. package/models/entity-mapping-class.ts +132 -0
  99. package/models/flush-ingested-data-request-dto.ts +30 -0
  100. package/models/flush-ingested-data-response-class.ts +31 -0
  101. package/models/get-ingest-flush-response-class.ts +31 -0
  102. package/models/get-ingest-run-response-class.ts +31 -0
  103. package/models/get-json-schemas-response-class.ts +31 -0
  104. package/models/index.ts +31 -0
  105. package/models/ingest-batch-class.ts +169 -0
  106. package/models/ingest-batch-entity-class.ts +120 -0
  107. package/models/ingest-flush-class.ts +91 -0
  108. package/models/ingest-flush-entity-class.ts +90 -0
  109. package/models/ingest-run-class.ts +187 -0
  110. package/models/ingest-run-record-class.ts +108 -0
  111. package/models/inline-response200.ts +48 -0
  112. package/models/inline-response503.ts +48 -0
  113. package/models/list-entity-mappings-response-class.ts +49 -0
  114. package/models/list-ingest-flushes-response-class.ts +49 -0
  115. package/models/list-ingest-run-records-response-class.ts +49 -0
  116. package/models/list-ingest-runs-response-class.ts +49 -0
  117. package/models/stop-ingest-flush-request-dto.ts +30 -0
  118. package/models/stop-ingest-flush-response-class.ts +31 -0
  119. package/models/stop-ingest-run-cleanup-request-dto.ts +30 -0
  120. package/models/stop-ingest-run-cleanup-response-class.ts +31 -0
  121. package/models/stop-ingest-run-request-dto.ts +30 -0
  122. package/models/stop-ingest-run-response-class.ts +31 -0
  123. package/package.json +27 -0
  124. package/tsconfig.json +23 -0
@@ -0,0 +1,2150 @@
1
+ /* tslint:disable */
2
+ /* eslint-disable */
3
+ /**
4
+ * EMIL MigrationService
5
+ * The EMIL MigrationService API description
6
+ *
7
+ * The version of the OpenAPI document: 1.0
8
+ * Contact: kontakt@emil.de
9
+ *
10
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
11
+ * https://openapi-generator.tech
12
+ * Do not edit the class manually.
13
+ */
14
+
15
+
16
+ import globalAxios, { AxiosPromise, AxiosInstance, AxiosRequestConfig } from 'axios';
17
+ import { Configuration } from '../configuration';
18
+ // Some imports not used depending on template conditions
19
+ // @ts-ignore
20
+ import { DUMMY_BASE_URL, assertParamExists, setApiKeyToObject, setBasicAuthToObject, setBearerAuthToObject, setOAuthToObject, setSearchParams, serializeDataIfNeeded, toPathString, createRequestFunction } from '../common';
21
+ // @ts-ignore
22
+ import { BASE_PATH, COLLECTION_FORMATS, RequestArgs, BaseAPI, RequiredError } from '../base';
23
+ // @ts-ignore
24
+ import { CleanupIngestRunAsyncResponseClass } from '../models';
25
+ // @ts-ignore
26
+ import { CleanupIngestRunSyncResponseClass } from '../models';
27
+ // @ts-ignore
28
+ import { CreateIngestRunAsyncRequestDto } from '../models';
29
+ // @ts-ignore
30
+ import { CreateIngestRunAsyncResponseClass } from '../models';
31
+ // @ts-ignore
32
+ import { CreateIngestRunSyncRequestDto } from '../models';
33
+ // @ts-ignore
34
+ import { CreateIngestRunSyncResponseClass } from '../models';
35
+ // @ts-ignore
36
+ import { FlushIngestedDataRequestDto } from '../models';
37
+ // @ts-ignore
38
+ import { FlushIngestedDataResponseClass } from '../models';
39
+ // @ts-ignore
40
+ import { GetIngestFlushResponseClass } from '../models';
41
+ // @ts-ignore
42
+ import { GetIngestRunResponseClass } from '../models';
43
+ // @ts-ignore
44
+ import { GetJsonSchemasResponseClass } from '../models';
45
+ // @ts-ignore
46
+ import { ListEntityMappingsResponseClass } from '../models';
47
+ // @ts-ignore
48
+ import { ListIngestFlushesResponseClass } from '../models';
49
+ // @ts-ignore
50
+ import { ListIngestRunRecordsResponseClass } from '../models';
51
+ // @ts-ignore
52
+ import { ListIngestRunsResponseClass } from '../models';
53
+ // @ts-ignore
54
+ import { StopIngestFlushRequestDto } from '../models';
55
+ // @ts-ignore
56
+ import { StopIngestFlushResponseClass } from '../models';
57
+ // @ts-ignore
58
+ import { StopIngestRunCleanupRequestDto } from '../models';
59
+ // @ts-ignore
60
+ import { StopIngestRunRequestDto } from '../models';
61
+ // @ts-ignore
62
+ import { StopIngestRunResponseClass } from '../models';
63
+ /**
64
+ * MigrationApi - axios parameter creator
65
+ * @export
66
+ */
67
+ export const MigrationApiAxiosParamCreator = function (configuration?: Configuration) {
68
+ return {
69
+ /**
70
+ * This will start asynchronous ingest run cleanup. **Required Permissions** \"migration.ingest-runs.*\"
71
+ * @summary Starts the ingest run cleanup asynchronously
72
+ * @param {string} code
73
+ * @param {object} body
74
+ * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
75
+ * @param {*} [options] Override http request option.
76
+ * @throws {RequiredError}
77
+ */
78
+ cleanupIngestRunAsync: async (code: string, body: object, authorization?: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
79
+ // verify required parameter 'code' is not null or undefined
80
+ assertParamExists('cleanupIngestRunAsync', 'code', code)
81
+ // verify required parameter 'body' is not null or undefined
82
+ assertParamExists('cleanupIngestRunAsync', 'body', body)
83
+ const localVarPath = `/migrationservice/v1/ingest-runs/{code}/cleanup/async`
84
+ .replace(`{${"code"}}`, encodeURIComponent(String(code)));
85
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
86
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
87
+ let baseOptions;
88
+ let baseAccessToken;
89
+ if (configuration) {
90
+ baseOptions = configuration.baseOptions;
91
+ baseAccessToken = configuration.accessToken;
92
+ }
93
+
94
+ const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};
95
+ const localVarHeaderParameter = {} as any;
96
+ const localVarQueryParameter = {} as any;
97
+
98
+ // authentication bearer required
99
+ // http bearer authentication required
100
+ await setBearerAuthToObject(localVarHeaderParameter, configuration)
101
+
102
+ if (authorization !== undefined && authorization !== null || baseAccessToken !== undefined && baseAccessToken !== null) {
103
+ localVarHeaderParameter['Authorization'] = String(authorization ? authorization : baseAccessToken);
104
+ }
105
+
106
+
107
+
108
+ localVarHeaderParameter['Content-Type'] = 'application/json';
109
+
110
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
111
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
112
+ localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
113
+ localVarRequestOptions.data = serializeDataIfNeeded(body, localVarRequestOptions, configuration)
114
+
115
+ return {
116
+ url: toPathString(localVarUrlObj),
117
+ options: localVarRequestOptions,
118
+ };
119
+ },
120
+ /**
121
+ * This will start synchronous ingest run cleanup. **Required Permissions** \"migration.ingest-runs.*\"
122
+ * @summary Cleans up the ingest run synchronously
123
+ * @param {string} code
124
+ * @param {object} body
125
+ * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
126
+ * @param {*} [options] Override http request option.
127
+ * @throws {RequiredError}
128
+ */
129
+ cleanupIngestRunSync: async (code: string, body: object, authorization?: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
130
+ // verify required parameter 'code' is not null or undefined
131
+ assertParamExists('cleanupIngestRunSync', 'code', code)
132
+ // verify required parameter 'body' is not null or undefined
133
+ assertParamExists('cleanupIngestRunSync', 'body', body)
134
+ const localVarPath = `/migrationservice/v1/ingest-runs/{code}/cleanup/sync`
135
+ .replace(`{${"code"}}`, encodeURIComponent(String(code)));
136
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
137
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
138
+ let baseOptions;
139
+ let baseAccessToken;
140
+ if (configuration) {
141
+ baseOptions = configuration.baseOptions;
142
+ baseAccessToken = configuration.accessToken;
143
+ }
144
+
145
+ const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};
146
+ const localVarHeaderParameter = {} as any;
147
+ const localVarQueryParameter = {} as any;
148
+
149
+ // authentication bearer required
150
+ // http bearer authentication required
151
+ await setBearerAuthToObject(localVarHeaderParameter, configuration)
152
+
153
+ if (authorization !== undefined && authorization !== null || baseAccessToken !== undefined && baseAccessToken !== null) {
154
+ localVarHeaderParameter['Authorization'] = String(authorization ? authorization : baseAccessToken);
155
+ }
156
+
157
+
158
+
159
+ localVarHeaderParameter['Content-Type'] = 'application/json';
160
+
161
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
162
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
163
+ localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
164
+ localVarRequestOptions.data = serializeDataIfNeeded(body, localVarRequestOptions, configuration)
165
+
166
+ return {
167
+ url: toPathString(localVarUrlObj),
168
+ options: localVarRequestOptions,
169
+ };
170
+ },
171
+ /**
172
+ * This will start asynchronous ingest run. **Required Permissions** \"migration.ingest-runs.*\"
173
+ * @summary Create the Async ingest run
174
+ * @param {CreateIngestRunAsyncRequestDto} createIngestRunAsyncRequestDto
175
+ * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
176
+ * @param {*} [options] Override http request option.
177
+ * @throws {RequiredError}
178
+ */
179
+ createIngestRunAsync: async (createIngestRunAsyncRequestDto: CreateIngestRunAsyncRequestDto, authorization?: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
180
+ // verify required parameter 'createIngestRunAsyncRequestDto' is not null or undefined
181
+ assertParamExists('createIngestRunAsync', 'createIngestRunAsyncRequestDto', createIngestRunAsyncRequestDto)
182
+ const localVarPath = `/migrationservice/v1/ingest-runs/async`;
183
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
184
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
185
+ let baseOptions;
186
+ let baseAccessToken;
187
+ if (configuration) {
188
+ baseOptions = configuration.baseOptions;
189
+ baseAccessToken = configuration.accessToken;
190
+ }
191
+
192
+ const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};
193
+ const localVarHeaderParameter = {} as any;
194
+ const localVarQueryParameter = {} as any;
195
+
196
+ // authentication bearer required
197
+ // http bearer authentication required
198
+ await setBearerAuthToObject(localVarHeaderParameter, configuration)
199
+
200
+ if (authorization !== undefined && authorization !== null || baseAccessToken !== undefined && baseAccessToken !== null) {
201
+ localVarHeaderParameter['Authorization'] = String(authorization ? authorization : baseAccessToken);
202
+ }
203
+
204
+
205
+
206
+ localVarHeaderParameter['Content-Type'] = 'application/json';
207
+
208
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
209
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
210
+ localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
211
+ localVarRequestOptions.data = serializeDataIfNeeded(createIngestRunAsyncRequestDto, localVarRequestOptions, configuration)
212
+
213
+ return {
214
+ url: toPathString(localVarUrlObj),
215
+ options: localVarRequestOptions,
216
+ };
217
+ },
218
+ /**
219
+ * This will start synchronous ingest run. **Required Permissions** \"migration.ingest-runs.*\"
220
+ * @summary Create the Sync ingest run
221
+ * @param {CreateIngestRunSyncRequestDto} createIngestRunSyncRequestDto
222
+ * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
223
+ * @param {*} [options] Override http request option.
224
+ * @throws {RequiredError}
225
+ */
226
+ createIngestRunSync: async (createIngestRunSyncRequestDto: CreateIngestRunSyncRequestDto, authorization?: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
227
+ // verify required parameter 'createIngestRunSyncRequestDto' is not null or undefined
228
+ assertParamExists('createIngestRunSync', 'createIngestRunSyncRequestDto', createIngestRunSyncRequestDto)
229
+ const localVarPath = `/migrationservice/v1/ingest-runs/sync`;
230
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
231
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
232
+ let baseOptions;
233
+ let baseAccessToken;
234
+ if (configuration) {
235
+ baseOptions = configuration.baseOptions;
236
+ baseAccessToken = configuration.accessToken;
237
+ }
238
+
239
+ const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};
240
+ const localVarHeaderParameter = {} as any;
241
+ const localVarQueryParameter = {} as any;
242
+
243
+ // authentication bearer required
244
+ // http bearer authentication required
245
+ await setBearerAuthToObject(localVarHeaderParameter, configuration)
246
+
247
+ if (authorization !== undefined && authorization !== null || baseAccessToken !== undefined && baseAccessToken !== null) {
248
+ localVarHeaderParameter['Authorization'] = String(authorization ? authorization : baseAccessToken);
249
+ }
250
+
251
+
252
+
253
+ localVarHeaderParameter['Content-Type'] = 'application/json';
254
+
255
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
256
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
257
+ localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
258
+ localVarRequestOptions.data = serializeDataIfNeeded(createIngestRunSyncRequestDto, localVarRequestOptions, configuration)
259
+
260
+ return {
261
+ url: toPathString(localVarUrlObj),
262
+ options: localVarRequestOptions,
263
+ };
264
+ },
265
+ /**
266
+ * This will start synchronous ingest flush. **Required Permissions** \"migration.ingest-flushes.*\"
267
+ * @summary Create the Sync ingest flush
268
+ * @param {FlushIngestedDataRequestDto} flushIngestedDataRequestDto
269
+ * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
270
+ * @param {*} [options] Override http request option.
271
+ * @throws {RequiredError}
272
+ */
273
+ flushIngestedDataAsync: async (flushIngestedDataRequestDto: FlushIngestedDataRequestDto, authorization?: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
274
+ // verify required parameter 'flushIngestedDataRequestDto' is not null or undefined
275
+ assertParamExists('flushIngestedDataAsync', 'flushIngestedDataRequestDto', flushIngestedDataRequestDto)
276
+ const localVarPath = `/migrationservice/v1/flushes/async`;
277
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
278
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
279
+ let baseOptions;
280
+ let baseAccessToken;
281
+ if (configuration) {
282
+ baseOptions = configuration.baseOptions;
283
+ baseAccessToken = configuration.accessToken;
284
+ }
285
+
286
+ const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};
287
+ const localVarHeaderParameter = {} as any;
288
+ const localVarQueryParameter = {} as any;
289
+
290
+ // authentication bearer required
291
+ // http bearer authentication required
292
+ await setBearerAuthToObject(localVarHeaderParameter, configuration)
293
+
294
+ if (authorization !== undefined && authorization !== null || baseAccessToken !== undefined && baseAccessToken !== null) {
295
+ localVarHeaderParameter['Authorization'] = String(authorization ? authorization : baseAccessToken);
296
+ }
297
+
298
+
299
+
300
+ localVarHeaderParameter['Content-Type'] = 'application/json';
301
+
302
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
303
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
304
+ localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
305
+ localVarRequestOptions.data = serializeDataIfNeeded(flushIngestedDataRequestDto, localVarRequestOptions, configuration)
306
+
307
+ return {
308
+ url: toPathString(localVarUrlObj),
309
+ options: localVarRequestOptions,
310
+ };
311
+ },
312
+ /**
313
+ * This will start synchronous ingest flush. **Required Permissions** \"migration.ingest-flushes.*\"
314
+ * @summary Create the Sync ingest flush
315
+ * @param {FlushIngestedDataRequestDto} flushIngestedDataRequestDto
316
+ * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
317
+ * @param {*} [options] Override http request option.
318
+ * @throws {RequiredError}
319
+ */
320
+ flushIngestedDataSync: async (flushIngestedDataRequestDto: FlushIngestedDataRequestDto, authorization?: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
321
+ // verify required parameter 'flushIngestedDataRequestDto' is not null or undefined
322
+ assertParamExists('flushIngestedDataSync', 'flushIngestedDataRequestDto', flushIngestedDataRequestDto)
323
+ const localVarPath = `/migrationservice/v1/flushes/sync`;
324
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
325
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
326
+ let baseOptions;
327
+ let baseAccessToken;
328
+ if (configuration) {
329
+ baseOptions = configuration.baseOptions;
330
+ baseAccessToken = configuration.accessToken;
331
+ }
332
+
333
+ const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};
334
+ const localVarHeaderParameter = {} as any;
335
+ const localVarQueryParameter = {} as any;
336
+
337
+ // authentication bearer required
338
+ // http bearer authentication required
339
+ await setBearerAuthToObject(localVarHeaderParameter, configuration)
340
+
341
+ if (authorization !== undefined && authorization !== null || baseAccessToken !== undefined && baseAccessToken !== null) {
342
+ localVarHeaderParameter['Authorization'] = String(authorization ? authorization : baseAccessToken);
343
+ }
344
+
345
+
346
+
347
+ localVarHeaderParameter['Content-Type'] = 'application/json';
348
+
349
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
350
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
351
+ localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
352
+ localVarRequestOptions.data = serializeDataIfNeeded(flushIngestedDataRequestDto, localVarRequestOptions, configuration)
353
+
354
+ return {
355
+ url: toPathString(localVarUrlObj),
356
+ options: localVarRequestOptions,
357
+ };
358
+ },
359
+ /**
360
+ * 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\"
361
+ * @summary Retrieve the ingest flush
362
+ * @param {string} code
363
+ * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
364
+ * @param {*} [options] Override http request option.
365
+ * @throws {RequiredError}
366
+ */
367
+ getIngestFlush: async (code: string, authorization?: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
368
+ // verify required parameter 'code' is not null or undefined
369
+ assertParamExists('getIngestFlush', 'code', code)
370
+ const localVarPath = `/migrationservice/v1/flushes/{code}`
371
+ .replace(`{${"code"}}`, encodeURIComponent(String(code)));
372
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
373
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
374
+ let baseOptions;
375
+ let baseAccessToken;
376
+ if (configuration) {
377
+ baseOptions = configuration.baseOptions;
378
+ baseAccessToken = configuration.accessToken;
379
+ }
380
+
381
+ const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
382
+ const localVarHeaderParameter = {} as any;
383
+ const localVarQueryParameter = {} as any;
384
+
385
+ // authentication bearer required
386
+ // http bearer authentication required
387
+ await setBearerAuthToObject(localVarHeaderParameter, configuration)
388
+
389
+ if (authorization !== undefined && authorization !== null || baseAccessToken !== undefined && baseAccessToken !== null) {
390
+ localVarHeaderParameter['Authorization'] = String(authorization ? authorization : baseAccessToken);
391
+ }
392
+
393
+
394
+
395
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
396
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
397
+ localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
398
+
399
+ return {
400
+ url: toPathString(localVarUrlObj),
401
+ options: localVarRequestOptions,
402
+ };
403
+ },
404
+ /**
405
+ * Retrieves the details of the ingest run that was previously created. Supply the unique ingest run code that was returned when you created it and Emil Api will return the corresponding ingest run information. **Required Permissions** \"migration.ingest-runs.view\"
406
+ * @summary Retrieve the ingest run
407
+ * @param {string} code
408
+ * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
409
+ * @param {*} [options] Override http request option.
410
+ * @throws {RequiredError}
411
+ */
412
+ getIngestRun: async (code: string, authorization?: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
413
+ // verify required parameter 'code' is not null or undefined
414
+ assertParamExists('getIngestRun', 'code', code)
415
+ const localVarPath = `/migrationservice/v1/ingest-runs/{code}`
416
+ .replace(`{${"code"}}`, encodeURIComponent(String(code)));
417
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
418
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
419
+ let baseOptions;
420
+ let baseAccessToken;
421
+ if (configuration) {
422
+ baseOptions = configuration.baseOptions;
423
+ baseAccessToken = configuration.accessToken;
424
+ }
425
+
426
+ const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
427
+ const localVarHeaderParameter = {} as any;
428
+ const localVarQueryParameter = {} as any;
429
+
430
+ // authentication bearer required
431
+ // http bearer authentication required
432
+ await setBearerAuthToObject(localVarHeaderParameter, configuration)
433
+
434
+ if (authorization !== undefined && authorization !== null || baseAccessToken !== undefined && baseAccessToken !== null) {
435
+ localVarHeaderParameter['Authorization'] = String(authorization ? authorization : baseAccessToken);
436
+ }
437
+
438
+
439
+
440
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
441
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
442
+ localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
443
+
444
+ return {
445
+ url: toPathString(localVarUrlObj),
446
+ options: localVarRequestOptions,
447
+ };
448
+ },
449
+ /**
450
+ * Retrieves the details of the JSON schemas that was previously created. Supply the unique JSON schemas code that was returned when you created it and Emil Api will return the corresponding JSON schemas information. **Required Permissions** \"migration.json-schemas.view\"
451
+ * @summary Retrieve the JSON schemas
452
+ * @param {string} sourceEntity
453
+ * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
454
+ * @param {*} [options] Override http request option.
455
+ * @throws {RequiredError}
456
+ */
457
+ getJsonSchemas: async (sourceEntity: string, authorization?: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
458
+ // verify required parameter 'sourceEntity' is not null or undefined
459
+ assertParamExists('getJsonSchemas', 'sourceEntity', sourceEntity)
460
+ const localVarPath = `/migrationservice/v1/json-schemas/{sourceEntity}`
461
+ .replace(`{${"sourceEntity"}}`, encodeURIComponent(String(sourceEntity)));
462
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
463
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
464
+ let baseOptions;
465
+ let baseAccessToken;
466
+ if (configuration) {
467
+ baseOptions = configuration.baseOptions;
468
+ baseAccessToken = configuration.accessToken;
469
+ }
470
+
471
+ const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
472
+ const localVarHeaderParameter = {} as any;
473
+ const localVarQueryParameter = {} as any;
474
+
475
+ // authentication bearer required
476
+ // http bearer authentication required
477
+ await setBearerAuthToObject(localVarHeaderParameter, configuration)
478
+
479
+ if (authorization !== undefined && authorization !== null || baseAccessToken !== undefined && baseAccessToken !== null) {
480
+ localVarHeaderParameter['Authorization'] = String(authorization ? authorization : baseAccessToken);
481
+ }
482
+
483
+
484
+
485
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
486
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
487
+ localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
488
+
489
+ return {
490
+ url: toPathString(localVarUrlObj),
491
+ options: localVarRequestOptions,
492
+ };
493
+ },
494
+ /**
495
+ * 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\"
496
+ * @summary List entity mappings
497
+ * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
498
+ * @param {number} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
499
+ * @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&#x3D;1, your subsequent call can include pageToken&#x3D;2 in order to fetch the next page of the list.
500
+ * @param {string} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: id, createdAt, updatedAt, ern, sourceSystem, sourceEntity, sourceId, targetEntity, targetId, targetCode, targetSlug, targetOtherId1, targetOtherId2, targetOtherId3, ingestBatchId&lt;/i&gt;
501
+ * @param {string} [search] Search the response for matches in any searchable field. Use filter instead where possible for improved performance.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Searchable fields: sourceSystem, sourceEntity, sourceId, targetCode, targetSlug, targetOtherId1, targetOtherId2, targetOtherId3&lt;/i&gt;
502
+ * @param {string} [order] Order allows you to specify the desired order of entities retrieved from the server by ascending (ASC) or descending (DESC) order.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: id, createdAt, updatedAt, sourceSystem, sourceEntity, sourceId, targetEntity, targetId, targetCode, targetSlug, targetOtherId1, targetOtherId2, targetOtherId3, ingestBatchId&lt;/i&gt;
503
+ * @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.&lt;br/&gt; &lt;br/&gt;
504
+ * @param {string} [filters] Filters the response by one or multiple fields. Advanced filter functionality allows you to perform more complex filtering operations.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: id, createdAt, updatedAt, ern, sourceSystem, sourceEntity, sourceId, targetEntity, targetId, targetCode, targetSlug, targetOtherId1, targetOtherId2, targetOtherId3, ingestBatchId&lt;/i&gt;
505
+ * @param {*} [options] Override http request option.
506
+ * @throws {RequiredError}
507
+ */
508
+ listEntityMappings: async (authorization?: string, pageSize?: number, pageToken?: string, filter?: string, search?: string, order?: string, expand?: string, filters?: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
509
+ const localVarPath = `/migrationservice/v1/entity-mappings`;
510
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
511
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
512
+ let baseOptions;
513
+ let baseAccessToken;
514
+ if (configuration) {
515
+ baseOptions = configuration.baseOptions;
516
+ baseAccessToken = configuration.accessToken;
517
+ }
518
+
519
+ const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
520
+ const localVarHeaderParameter = {} as any;
521
+ const localVarQueryParameter = {} as any;
522
+
523
+ // authentication bearer required
524
+ // http bearer authentication required
525
+ await setBearerAuthToObject(localVarHeaderParameter, configuration)
526
+
527
+ if (pageSize !== undefined) {
528
+ localVarQueryParameter['pageSize'] = pageSize;
529
+ }
530
+
531
+ if (pageToken !== undefined) {
532
+ localVarQueryParameter['pageToken'] = pageToken;
533
+ }
534
+
535
+ if (filter !== undefined) {
536
+ localVarQueryParameter['filter'] = filter;
537
+ }
538
+
539
+ if (search !== undefined) {
540
+ localVarQueryParameter['search'] = search;
541
+ }
542
+
543
+ if (order !== undefined) {
544
+ localVarQueryParameter['order'] = order;
545
+ }
546
+
547
+ if (expand !== undefined) {
548
+ localVarQueryParameter['expand'] = expand;
549
+ }
550
+
551
+ if (filters !== undefined) {
552
+ localVarQueryParameter['filters'] = filters;
553
+ }
554
+
555
+ if (authorization !== undefined && authorization !== null || baseAccessToken !== undefined && baseAccessToken !== null) {
556
+ localVarHeaderParameter['Authorization'] = String(authorization ? authorization : baseAccessToken);
557
+ }
558
+
559
+
560
+
561
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
562
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
563
+ localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
564
+
565
+ return {
566
+ url: toPathString(localVarUrlObj),
567
+ options: localVarRequestOptions,
568
+ };
569
+ },
570
+ /**
571
+ * 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\"
572
+ * @summary List ingest flushes
573
+ * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
574
+ * @param {number} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
575
+ * @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&#x3D;1, your subsequent call can include pageToken&#x3D;2 in order to fetch the next page of the list.
576
+ * @param {string} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: id, code, createdAt, updatedAt, ern, sourceSystem, totalDeletedRowCount, isSuccess, errorMessage&lt;/i&gt;
577
+ * @param {string} [search] Search the response for matches in any searchable field. Use filter instead where possible for improved performance.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Searchable fields: sourceSystem, errorMessage, code&lt;/i&gt;
578
+ * @param {string} [order] Order allows you to specify the desired order of entities retrieved from the server by ascending (ASC) or descending (DESC) order.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: id, createdAt, updatedAt, code, sourceSystem, totalDeletedRowCount, isSuccess, errorMessage&lt;/i&gt;
579
+ * @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.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: entities&lt;i&gt;
580
+ * @param {string} [filters] Filters the response by one or multiple fields. Advanced filter functionality allows you to perform more complex filtering operations.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: id, code, createdAt, updatedAt, ern, sourceSystem, totalDeletedRowCount, isSuccess, errorMessage&lt;/i&gt;
581
+ * @param {*} [options] Override http request option.
582
+ * @throws {RequiredError}
583
+ */
584
+ listIngestFlushes: async (authorization?: string, pageSize?: number, pageToken?: string, filter?: string, search?: string, order?: string, expand?: string, filters?: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
585
+ const localVarPath = `/migrationservice/v1/flushes`;
586
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
587
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
588
+ let baseOptions;
589
+ let baseAccessToken;
590
+ if (configuration) {
591
+ baseOptions = configuration.baseOptions;
592
+ baseAccessToken = configuration.accessToken;
593
+ }
594
+
595
+ const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
596
+ const localVarHeaderParameter = {} as any;
597
+ const localVarQueryParameter = {} as any;
598
+
599
+ // authentication bearer required
600
+ // http bearer authentication required
601
+ await setBearerAuthToObject(localVarHeaderParameter, configuration)
602
+
603
+ if (pageSize !== undefined) {
604
+ localVarQueryParameter['pageSize'] = pageSize;
605
+ }
606
+
607
+ if (pageToken !== undefined) {
608
+ localVarQueryParameter['pageToken'] = pageToken;
609
+ }
610
+
611
+ if (filter !== undefined) {
612
+ localVarQueryParameter['filter'] = filter;
613
+ }
614
+
615
+ if (search !== undefined) {
616
+ localVarQueryParameter['search'] = search;
617
+ }
618
+
619
+ if (order !== undefined) {
620
+ localVarQueryParameter['order'] = order;
621
+ }
622
+
623
+ if (expand !== undefined) {
624
+ localVarQueryParameter['expand'] = expand;
625
+ }
626
+
627
+ if (filters !== undefined) {
628
+ localVarQueryParameter['filters'] = filters;
629
+ }
630
+
631
+ if (authorization !== undefined && authorization !== null || baseAccessToken !== undefined && baseAccessToken !== null) {
632
+ localVarHeaderParameter['Authorization'] = String(authorization ? authorization : baseAccessToken);
633
+ }
634
+
635
+
636
+
637
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
638
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
639
+ localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
640
+
641
+ return {
642
+ url: toPathString(localVarUrlObj),
643
+ options: localVarRequestOptions,
644
+ };
645
+ },
646
+ /**
647
+ * 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\"
648
+ * @summary List ingest run records
649
+ * @param {string} code
650
+ * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
651
+ * @param {number} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
652
+ * @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&#x3D;1, your subsequent call can include pageToken&#x3D;2 in order to fetch the next page of the list.
653
+ * @param {string} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: id, ingestRunId, ingestBatchId, createdAt, updatedAt, ern, rowNo, externalId, errorMessage&lt;/i&gt;
654
+ * @param {string} [search] Search the response for matches in any searchable field. Use filter instead where possible for improved performance.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Searchable fields: externalId, errorMessage&lt;/i&gt;
655
+ * @param {string} [order] Order allows you to specify the desired order of entities retrieved from the server by ascending (ASC) or descending (DESC) order.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: id, createdAt, updatedAt, ingestRunId, ingestBatchId, rowNo, externalId, status, stage, errorMessage&lt;/i&gt;
656
+ * @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.&lt;br/&gt; &lt;br/&gt;
657
+ * @param {string} [filters] Filters the response by one or multiple fields. Advanced filter functionality allows you to perform more complex filtering operations.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: id, ingestRunId, ingestBatchId, createdAt, updatedAt, ern, rowNo, externalId, errorMessage&lt;/i&gt;
658
+ * @param {*} [options] Override http request option.
659
+ * @throws {RequiredError}
660
+ */
661
+ listIngestRunRecords: async (code: string, authorization?: string, pageSize?: number, pageToken?: string, filter?: string, search?: string, order?: string, expand?: string, filters?: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
662
+ // verify required parameter 'code' is not null or undefined
663
+ assertParamExists('listIngestRunRecords', 'code', code)
664
+ const localVarPath = `/migrationservice/v1/ingest-runs/{code}/records`
665
+ .replace(`{${"code"}}`, encodeURIComponent(String(code)));
666
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
667
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
668
+ let baseOptions;
669
+ let baseAccessToken;
670
+ if (configuration) {
671
+ baseOptions = configuration.baseOptions;
672
+ baseAccessToken = configuration.accessToken;
673
+ }
674
+
675
+ const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
676
+ const localVarHeaderParameter = {} as any;
677
+ const localVarQueryParameter = {} as any;
678
+
679
+ // authentication bearer required
680
+ // http bearer authentication required
681
+ await setBearerAuthToObject(localVarHeaderParameter, configuration)
682
+
683
+ if (pageSize !== undefined) {
684
+ localVarQueryParameter['pageSize'] = pageSize;
685
+ }
686
+
687
+ if (pageToken !== undefined) {
688
+ localVarQueryParameter['pageToken'] = pageToken;
689
+ }
690
+
691
+ if (filter !== undefined) {
692
+ localVarQueryParameter['filter'] = filter;
693
+ }
694
+
695
+ if (search !== undefined) {
696
+ localVarQueryParameter['search'] = search;
697
+ }
698
+
699
+ if (order !== undefined) {
700
+ localVarQueryParameter['order'] = order;
701
+ }
702
+
703
+ if (expand !== undefined) {
704
+ localVarQueryParameter['expand'] = expand;
705
+ }
706
+
707
+ if (filters !== undefined) {
708
+ localVarQueryParameter['filters'] = filters;
709
+ }
710
+
711
+ if (authorization !== undefined && authorization !== null || baseAccessToken !== undefined && baseAccessToken !== null) {
712
+ localVarHeaderParameter['Authorization'] = String(authorization ? authorization : baseAccessToken);
713
+ }
714
+
715
+
716
+
717
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
718
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
719
+ localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
720
+
721
+ return {
722
+ url: toPathString(localVarUrlObj),
723
+ options: localVarRequestOptions,
724
+ };
725
+ },
726
+ /**
727
+ * 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\"
728
+ * @summary List ingest runs
729
+ * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
730
+ * @param {number} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
731
+ * @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&#x3D;1, your subsequent call can include pageToken&#x3D;2 in order to fetch the next page of the list.
732
+ * @param {string} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: id, code, createdAt, updatedAt, ern, sourceSystem, sourceEntity, fileUrl, recordCount, isSuccess, errorMessage&lt;/i&gt;
733
+ * @param {string} [search] Search the response for matches in any searchable field. Use filter instead where possible for improved performance.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Searchable fields: sourceSystem, sourceEntity, payload, fileUrl, errorMessage, code&lt;/i&gt;
734
+ * @param {string} [order] Order allows you to specify the desired order of entities retrieved from the server by ascending (ASC) or descending (DESC) order.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: id, createdAt, updatedAt, code, sourceSystem, sourceEntity, fileUrl, recordCount, isSuccess, errorMessage&lt;/i&gt;
735
+ * @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.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: batches&lt;i&gt;
736
+ * @param {string} [filters] Filters the response by one or multiple fields. Advanced filter functionality allows you to perform more complex filtering operations.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: id, code, createdAt, updatedAt, ern, sourceSystem, sourceEntity, fileUrl, recordCount, isSuccess, errorMessage&lt;/i&gt;
737
+ * @param {*} [options] Override http request option.
738
+ * @throws {RequiredError}
739
+ */
740
+ listIngestRuns: async (authorization?: string, pageSize?: number, pageToken?: string, filter?: string, search?: string, order?: string, expand?: string, filters?: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
741
+ const localVarPath = `/migrationservice/v1/ingest-runs`;
742
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
743
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
744
+ let baseOptions;
745
+ let baseAccessToken;
746
+ if (configuration) {
747
+ baseOptions = configuration.baseOptions;
748
+ baseAccessToken = configuration.accessToken;
749
+ }
750
+
751
+ const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
752
+ const localVarHeaderParameter = {} as any;
753
+ const localVarQueryParameter = {} as any;
754
+
755
+ // authentication bearer required
756
+ // http bearer authentication required
757
+ await setBearerAuthToObject(localVarHeaderParameter, configuration)
758
+
759
+ if (pageSize !== undefined) {
760
+ localVarQueryParameter['pageSize'] = pageSize;
761
+ }
762
+
763
+ if (pageToken !== undefined) {
764
+ localVarQueryParameter['pageToken'] = pageToken;
765
+ }
766
+
767
+ if (filter !== undefined) {
768
+ localVarQueryParameter['filter'] = filter;
769
+ }
770
+
771
+ if (search !== undefined) {
772
+ localVarQueryParameter['search'] = search;
773
+ }
774
+
775
+ if (order !== undefined) {
776
+ localVarQueryParameter['order'] = order;
777
+ }
778
+
779
+ if (expand !== undefined) {
780
+ localVarQueryParameter['expand'] = expand;
781
+ }
782
+
783
+ if (filters !== undefined) {
784
+ localVarQueryParameter['filters'] = filters;
785
+ }
786
+
787
+ if (authorization !== undefined && authorization !== null || baseAccessToken !== undefined && baseAccessToken !== null) {
788
+ localVarHeaderParameter['Authorization'] = String(authorization ? authorization : baseAccessToken);
789
+ }
790
+
791
+
792
+
793
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
794
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
795
+ localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
796
+
797
+ return {
798
+ url: toPathString(localVarUrlObj),
799
+ options: localVarRequestOptions,
800
+ };
801
+ },
802
+ /**
803
+ * This will stop the running ingest flush. **Required Permissions** \"migration.ingest-flushes.*\"
804
+ * @summary Stops the ingest flush
805
+ * @param {string} code
806
+ * @param {StopIngestFlushRequestDto} stopIngestFlushRequestDto
807
+ * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
808
+ * @param {*} [options] Override http request option.
809
+ * @throws {RequiredError}
810
+ */
811
+ stopIngestFlush: async (code: string, stopIngestFlushRequestDto: StopIngestFlushRequestDto, authorization?: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
812
+ // verify required parameter 'code' is not null or undefined
813
+ assertParamExists('stopIngestFlush', 'code', code)
814
+ // verify required parameter 'stopIngestFlushRequestDto' is not null or undefined
815
+ assertParamExists('stopIngestFlush', 'stopIngestFlushRequestDto', stopIngestFlushRequestDto)
816
+ const localVarPath = `/migrationservice/v1/flushes/{code}`
817
+ .replace(`{${"code"}}`, encodeURIComponent(String(code)));
818
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
819
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
820
+ let baseOptions;
821
+ let baseAccessToken;
822
+ if (configuration) {
823
+ baseOptions = configuration.baseOptions;
824
+ baseAccessToken = configuration.accessToken;
825
+ }
826
+
827
+ const localVarRequestOptions = { method: 'PUT', ...baseOptions, ...options};
828
+ const localVarHeaderParameter = {} as any;
829
+ const localVarQueryParameter = {} as any;
830
+
831
+ // authentication bearer required
832
+ // http bearer authentication required
833
+ await setBearerAuthToObject(localVarHeaderParameter, configuration)
834
+
835
+ if (authorization !== undefined && authorization !== null || baseAccessToken !== undefined && baseAccessToken !== null) {
836
+ localVarHeaderParameter['Authorization'] = String(authorization ? authorization : baseAccessToken);
837
+ }
838
+
839
+
840
+
841
+ localVarHeaderParameter['Content-Type'] = 'application/json';
842
+
843
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
844
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
845
+ localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
846
+ localVarRequestOptions.data = serializeDataIfNeeded(stopIngestFlushRequestDto, localVarRequestOptions, configuration)
847
+
848
+ return {
849
+ url: toPathString(localVarUrlObj),
850
+ options: localVarRequestOptions,
851
+ };
852
+ },
853
+ /**
854
+ * This will stop the running ingest run. **Required Permissions** \"migration.ingest-runs.*\"
855
+ * @summary Stops the ingest run
856
+ * @param {string} code
857
+ * @param {StopIngestRunRequestDto} stopIngestRunRequestDto
858
+ * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
859
+ * @param {*} [options] Override http request option.
860
+ * @throws {RequiredError}
861
+ */
862
+ stopIngestRun: async (code: string, stopIngestRunRequestDto: StopIngestRunRequestDto, authorization?: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
863
+ // verify required parameter 'code' is not null or undefined
864
+ assertParamExists('stopIngestRun', 'code', code)
865
+ // verify required parameter 'stopIngestRunRequestDto' is not null or undefined
866
+ assertParamExists('stopIngestRun', 'stopIngestRunRequestDto', stopIngestRunRequestDto)
867
+ const localVarPath = `/migrationservice/v1/ingest-runs/{code}`
868
+ .replace(`{${"code"}}`, encodeURIComponent(String(code)));
869
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
870
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
871
+ let baseOptions;
872
+ let baseAccessToken;
873
+ if (configuration) {
874
+ baseOptions = configuration.baseOptions;
875
+ baseAccessToken = configuration.accessToken;
876
+ }
877
+
878
+ const localVarRequestOptions = { method: 'PUT', ...baseOptions, ...options};
879
+ const localVarHeaderParameter = {} as any;
880
+ const localVarQueryParameter = {} as any;
881
+
882
+ // authentication bearer required
883
+ // http bearer authentication required
884
+ await setBearerAuthToObject(localVarHeaderParameter, configuration)
885
+
886
+ if (authorization !== undefined && authorization !== null || baseAccessToken !== undefined && baseAccessToken !== null) {
887
+ localVarHeaderParameter['Authorization'] = String(authorization ? authorization : baseAccessToken);
888
+ }
889
+
890
+
891
+
892
+ localVarHeaderParameter['Content-Type'] = 'application/json';
893
+
894
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
895
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
896
+ localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
897
+ localVarRequestOptions.data = serializeDataIfNeeded(stopIngestRunRequestDto, localVarRequestOptions, configuration)
898
+
899
+ return {
900
+ url: toPathString(localVarUrlObj),
901
+ options: localVarRequestOptions,
902
+ };
903
+ },
904
+ /**
905
+ * This will stop the ingest run cleanup. **Required Permissions** \"migration.ingest-runs.*\"
906
+ * @summary Stops the ingest run cleanup
907
+ * @param {string} code
908
+ * @param {StopIngestRunCleanupRequestDto} stopIngestRunCleanupRequestDto
909
+ * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
910
+ * @param {*} [options] Override http request option.
911
+ * @throws {RequiredError}
912
+ */
913
+ stopIngestRunCleanup: async (code: string, stopIngestRunCleanupRequestDto: StopIngestRunCleanupRequestDto, authorization?: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
914
+ // verify required parameter 'code' is not null or undefined
915
+ assertParamExists('stopIngestRunCleanup', 'code', code)
916
+ // verify required parameter 'stopIngestRunCleanupRequestDto' is not null or undefined
917
+ assertParamExists('stopIngestRunCleanup', 'stopIngestRunCleanupRequestDto', stopIngestRunCleanupRequestDto)
918
+ const localVarPath = `/migrationservice/v1/ingest-runs/{code}/cleanup`
919
+ .replace(`{${"code"}}`, encodeURIComponent(String(code)));
920
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
921
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
922
+ let baseOptions;
923
+ let baseAccessToken;
924
+ if (configuration) {
925
+ baseOptions = configuration.baseOptions;
926
+ baseAccessToken = configuration.accessToken;
927
+ }
928
+
929
+ const localVarRequestOptions = { method: 'PUT', ...baseOptions, ...options};
930
+ const localVarHeaderParameter = {} as any;
931
+ const localVarQueryParameter = {} as any;
932
+
933
+ // authentication bearer required
934
+ // http bearer authentication required
935
+ await setBearerAuthToObject(localVarHeaderParameter, configuration)
936
+
937
+ if (authorization !== undefined && authorization !== null || baseAccessToken !== undefined && baseAccessToken !== null) {
938
+ localVarHeaderParameter['Authorization'] = String(authorization ? authorization : baseAccessToken);
939
+ }
940
+
941
+
942
+
943
+ localVarHeaderParameter['Content-Type'] = 'application/json';
944
+
945
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
946
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
947
+ localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
948
+ localVarRequestOptions.data = serializeDataIfNeeded(stopIngestRunCleanupRequestDto, localVarRequestOptions, configuration)
949
+
950
+ return {
951
+ url: toPathString(localVarUrlObj),
952
+ options: localVarRequestOptions,
953
+ };
954
+ },
955
+ }
956
+ };
957
+
958
+ /**
959
+ * MigrationApi - functional programming interface
960
+ * @export
961
+ */
962
+ export const MigrationApiFp = function(configuration?: Configuration) {
963
+ const localVarAxiosParamCreator = MigrationApiAxiosParamCreator(configuration)
964
+ return {
965
+ /**
966
+ * This will start asynchronous ingest run cleanup. **Required Permissions** \"migration.ingest-runs.*\"
967
+ * @summary Starts the ingest run cleanup asynchronously
968
+ * @param {string} code
969
+ * @param {object} body
970
+ * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
971
+ * @param {*} [options] Override http request option.
972
+ * @throws {RequiredError}
973
+ */
974
+ async cleanupIngestRunAsync(code: string, body: object, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<CleanupIngestRunAsyncResponseClass>> {
975
+ const localVarAxiosArgs = await localVarAxiosParamCreator.cleanupIngestRunAsync(code, body, authorization, options);
976
+ return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
977
+ },
978
+ /**
979
+ * This will start synchronous ingest run cleanup. **Required Permissions** \"migration.ingest-runs.*\"
980
+ * @summary Cleans up the ingest run synchronously
981
+ * @param {string} code
982
+ * @param {object} body
983
+ * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
984
+ * @param {*} [options] Override http request option.
985
+ * @throws {RequiredError}
986
+ */
987
+ async cleanupIngestRunSync(code: string, body: object, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<CleanupIngestRunSyncResponseClass>> {
988
+ const localVarAxiosArgs = await localVarAxiosParamCreator.cleanupIngestRunSync(code, body, authorization, options);
989
+ return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
990
+ },
991
+ /**
992
+ * This will start asynchronous ingest run. **Required Permissions** \"migration.ingest-runs.*\"
993
+ * @summary Create the Async ingest run
994
+ * @param {CreateIngestRunAsyncRequestDto} createIngestRunAsyncRequestDto
995
+ * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
996
+ * @param {*} [options] Override http request option.
997
+ * @throws {RequiredError}
998
+ */
999
+ async createIngestRunAsync(createIngestRunAsyncRequestDto: CreateIngestRunAsyncRequestDto, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<CreateIngestRunAsyncResponseClass>> {
1000
+ const localVarAxiosArgs = await localVarAxiosParamCreator.createIngestRunAsync(createIngestRunAsyncRequestDto, authorization, options);
1001
+ return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
1002
+ },
1003
+ /**
1004
+ * This will start synchronous ingest run. **Required Permissions** \"migration.ingest-runs.*\"
1005
+ * @summary Create the Sync ingest run
1006
+ * @param {CreateIngestRunSyncRequestDto} createIngestRunSyncRequestDto
1007
+ * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
1008
+ * @param {*} [options] Override http request option.
1009
+ * @throws {RequiredError}
1010
+ */
1011
+ async createIngestRunSync(createIngestRunSyncRequestDto: CreateIngestRunSyncRequestDto, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<CreateIngestRunSyncResponseClass>> {
1012
+ const localVarAxiosArgs = await localVarAxiosParamCreator.createIngestRunSync(createIngestRunSyncRequestDto, authorization, options);
1013
+ return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
1014
+ },
1015
+ /**
1016
+ * This will start synchronous ingest flush. **Required Permissions** \"migration.ingest-flushes.*\"
1017
+ * @summary Create the Sync ingest flush
1018
+ * @param {FlushIngestedDataRequestDto} flushIngestedDataRequestDto
1019
+ * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
1020
+ * @param {*} [options] Override http request option.
1021
+ * @throws {RequiredError}
1022
+ */
1023
+ async flushIngestedDataAsync(flushIngestedDataRequestDto: FlushIngestedDataRequestDto, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<FlushIngestedDataResponseClass>> {
1024
+ const localVarAxiosArgs = await localVarAxiosParamCreator.flushIngestedDataAsync(flushIngestedDataRequestDto, authorization, options);
1025
+ return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
1026
+ },
1027
+ /**
1028
+ * This will start synchronous ingest flush. **Required Permissions** \"migration.ingest-flushes.*\"
1029
+ * @summary Create the Sync ingest flush
1030
+ * @param {FlushIngestedDataRequestDto} flushIngestedDataRequestDto
1031
+ * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
1032
+ * @param {*} [options] Override http request option.
1033
+ * @throws {RequiredError}
1034
+ */
1035
+ async flushIngestedDataSync(flushIngestedDataRequestDto: FlushIngestedDataRequestDto, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<FlushIngestedDataResponseClass>> {
1036
+ const localVarAxiosArgs = await localVarAxiosParamCreator.flushIngestedDataSync(flushIngestedDataRequestDto, authorization, options);
1037
+ return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
1038
+ },
1039
+ /**
1040
+ * 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\"
1041
+ * @summary Retrieve the ingest flush
1042
+ * @param {string} code
1043
+ * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
1044
+ * @param {*} [options] Override http request option.
1045
+ * @throws {RequiredError}
1046
+ */
1047
+ async getIngestFlush(code: string, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<GetIngestFlushResponseClass>> {
1048
+ const localVarAxiosArgs = await localVarAxiosParamCreator.getIngestFlush(code, authorization, options);
1049
+ return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
1050
+ },
1051
+ /**
1052
+ * Retrieves the details of the ingest run that was previously created. Supply the unique ingest run code that was returned when you created it and Emil Api will return the corresponding ingest run information. **Required Permissions** \"migration.ingest-runs.view\"
1053
+ * @summary Retrieve the ingest run
1054
+ * @param {string} code
1055
+ * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
1056
+ * @param {*} [options] Override http request option.
1057
+ * @throws {RequiredError}
1058
+ */
1059
+ async getIngestRun(code: string, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<GetIngestRunResponseClass>> {
1060
+ const localVarAxiosArgs = await localVarAxiosParamCreator.getIngestRun(code, authorization, options);
1061
+ return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
1062
+ },
1063
+ /**
1064
+ * Retrieves the details of the JSON schemas that was previously created. Supply the unique JSON schemas code that was returned when you created it and Emil Api will return the corresponding JSON schemas information. **Required Permissions** \"migration.json-schemas.view\"
1065
+ * @summary Retrieve the JSON schemas
1066
+ * @param {string} sourceEntity
1067
+ * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
1068
+ * @param {*} [options] Override http request option.
1069
+ * @throws {RequiredError}
1070
+ */
1071
+ async getJsonSchemas(sourceEntity: string, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<GetJsonSchemasResponseClass>> {
1072
+ const localVarAxiosArgs = await localVarAxiosParamCreator.getJsonSchemas(sourceEntity, authorization, options);
1073
+ return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
1074
+ },
1075
+ /**
1076
+ * 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\"
1077
+ * @summary List entity mappings
1078
+ * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
1079
+ * @param {number} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
1080
+ * @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&#x3D;1, your subsequent call can include pageToken&#x3D;2 in order to fetch the next page of the list.
1081
+ * @param {string} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: id, createdAt, updatedAt, ern, sourceSystem, sourceEntity, sourceId, targetEntity, targetId, targetCode, targetSlug, targetOtherId1, targetOtherId2, targetOtherId3, ingestBatchId&lt;/i&gt;
1082
+ * @param {string} [search] Search the response for matches in any searchable field. Use filter instead where possible for improved performance.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Searchable fields: sourceSystem, sourceEntity, sourceId, targetCode, targetSlug, targetOtherId1, targetOtherId2, targetOtherId3&lt;/i&gt;
1083
+ * @param {string} [order] Order allows you to specify the desired order of entities retrieved from the server by ascending (ASC) or descending (DESC) order.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: id, createdAt, updatedAt, sourceSystem, sourceEntity, sourceId, targetEntity, targetId, targetCode, targetSlug, targetOtherId1, targetOtherId2, targetOtherId3, ingestBatchId&lt;/i&gt;
1084
+ * @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.&lt;br/&gt; &lt;br/&gt;
1085
+ * @param {string} [filters] Filters the response by one or multiple fields. Advanced filter functionality allows you to perform more complex filtering operations.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: id, createdAt, updatedAt, ern, sourceSystem, sourceEntity, sourceId, targetEntity, targetId, targetCode, targetSlug, targetOtherId1, targetOtherId2, targetOtherId3, ingestBatchId&lt;/i&gt;
1086
+ * @param {*} [options] Override http request option.
1087
+ * @throws {RequiredError}
1088
+ */
1089
+ async listEntityMappings(authorization?: string, pageSize?: number, pageToken?: string, filter?: string, search?: string, order?: string, expand?: string, filters?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ListEntityMappingsResponseClass>> {
1090
+ const localVarAxiosArgs = await localVarAxiosParamCreator.listEntityMappings(authorization, pageSize, pageToken, filter, search, order, expand, filters, options);
1091
+ return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
1092
+ },
1093
+ /**
1094
+ * 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\"
1095
+ * @summary List ingest flushes
1096
+ * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
1097
+ * @param {number} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
1098
+ * @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&#x3D;1, your subsequent call can include pageToken&#x3D;2 in order to fetch the next page of the list.
1099
+ * @param {string} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: id, code, createdAt, updatedAt, ern, sourceSystem, totalDeletedRowCount, isSuccess, errorMessage&lt;/i&gt;
1100
+ * @param {string} [search] Search the response for matches in any searchable field. Use filter instead where possible for improved performance.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Searchable fields: sourceSystem, errorMessage, code&lt;/i&gt;
1101
+ * @param {string} [order] Order allows you to specify the desired order of entities retrieved from the server by ascending (ASC) or descending (DESC) order.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: id, createdAt, updatedAt, code, sourceSystem, totalDeletedRowCount, isSuccess, errorMessage&lt;/i&gt;
1102
+ * @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.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: entities&lt;i&gt;
1103
+ * @param {string} [filters] Filters the response by one or multiple fields. Advanced filter functionality allows you to perform more complex filtering operations.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: id, code, createdAt, updatedAt, ern, sourceSystem, totalDeletedRowCount, isSuccess, errorMessage&lt;/i&gt;
1104
+ * @param {*} [options] Override http request option.
1105
+ * @throws {RequiredError}
1106
+ */
1107
+ async listIngestFlushes(authorization?: string, pageSize?: number, pageToken?: string, filter?: string, search?: string, order?: string, expand?: string, filters?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ListIngestFlushesResponseClass>> {
1108
+ const localVarAxiosArgs = await localVarAxiosParamCreator.listIngestFlushes(authorization, pageSize, pageToken, filter, search, order, expand, filters, options);
1109
+ return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
1110
+ },
1111
+ /**
1112
+ * 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\"
1113
+ * @summary List ingest run records
1114
+ * @param {string} code
1115
+ * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
1116
+ * @param {number} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
1117
+ * @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&#x3D;1, your subsequent call can include pageToken&#x3D;2 in order to fetch the next page of the list.
1118
+ * @param {string} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: id, ingestRunId, ingestBatchId, createdAt, updatedAt, ern, rowNo, externalId, errorMessage&lt;/i&gt;
1119
+ * @param {string} [search] Search the response for matches in any searchable field. Use filter instead where possible for improved performance.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Searchable fields: externalId, errorMessage&lt;/i&gt;
1120
+ * @param {string} [order] Order allows you to specify the desired order of entities retrieved from the server by ascending (ASC) or descending (DESC) order.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: id, createdAt, updatedAt, ingestRunId, ingestBatchId, rowNo, externalId, status, stage, errorMessage&lt;/i&gt;
1121
+ * @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.&lt;br/&gt; &lt;br/&gt;
1122
+ * @param {string} [filters] Filters the response by one or multiple fields. Advanced filter functionality allows you to perform more complex filtering operations.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: id, ingestRunId, ingestBatchId, createdAt, updatedAt, ern, rowNo, externalId, errorMessage&lt;/i&gt;
1123
+ * @param {*} [options] Override http request option.
1124
+ * @throws {RequiredError}
1125
+ */
1126
+ async listIngestRunRecords(code: string, authorization?: string, pageSize?: number, pageToken?: string, filter?: string, search?: string, order?: string, expand?: string, filters?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ListIngestRunRecordsResponseClass>> {
1127
+ const localVarAxiosArgs = await localVarAxiosParamCreator.listIngestRunRecords(code, authorization, pageSize, pageToken, filter, search, order, expand, filters, options);
1128
+ return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
1129
+ },
1130
+ /**
1131
+ * 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\"
1132
+ * @summary List ingest runs
1133
+ * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
1134
+ * @param {number} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
1135
+ * @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&#x3D;1, your subsequent call can include pageToken&#x3D;2 in order to fetch the next page of the list.
1136
+ * @param {string} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: id, code, createdAt, updatedAt, ern, sourceSystem, sourceEntity, fileUrl, recordCount, isSuccess, errorMessage&lt;/i&gt;
1137
+ * @param {string} [search] Search the response for matches in any searchable field. Use filter instead where possible for improved performance.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Searchable fields: sourceSystem, sourceEntity, payload, fileUrl, errorMessage, code&lt;/i&gt;
1138
+ * @param {string} [order] Order allows you to specify the desired order of entities retrieved from the server by ascending (ASC) or descending (DESC) order.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: id, createdAt, updatedAt, code, sourceSystem, sourceEntity, fileUrl, recordCount, isSuccess, errorMessage&lt;/i&gt;
1139
+ * @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.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: batches&lt;i&gt;
1140
+ * @param {string} [filters] Filters the response by one or multiple fields. Advanced filter functionality allows you to perform more complex filtering operations.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: id, code, createdAt, updatedAt, ern, sourceSystem, sourceEntity, fileUrl, recordCount, isSuccess, errorMessage&lt;/i&gt;
1141
+ * @param {*} [options] Override http request option.
1142
+ * @throws {RequiredError}
1143
+ */
1144
+ async listIngestRuns(authorization?: string, pageSize?: number, pageToken?: string, filter?: string, search?: string, order?: string, expand?: string, filters?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ListIngestRunsResponseClass>> {
1145
+ const localVarAxiosArgs = await localVarAxiosParamCreator.listIngestRuns(authorization, pageSize, pageToken, filter, search, order, expand, filters, options);
1146
+ return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
1147
+ },
1148
+ /**
1149
+ * This will stop the running ingest flush. **Required Permissions** \"migration.ingest-flushes.*\"
1150
+ * @summary Stops the ingest flush
1151
+ * @param {string} code
1152
+ * @param {StopIngestFlushRequestDto} stopIngestFlushRequestDto
1153
+ * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
1154
+ * @param {*} [options] Override http request option.
1155
+ * @throws {RequiredError}
1156
+ */
1157
+ async stopIngestFlush(code: string, stopIngestFlushRequestDto: StopIngestFlushRequestDto, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<StopIngestFlushResponseClass>> {
1158
+ const localVarAxiosArgs = await localVarAxiosParamCreator.stopIngestFlush(code, stopIngestFlushRequestDto, authorization, options);
1159
+ return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
1160
+ },
1161
+ /**
1162
+ * This will stop the running ingest run. **Required Permissions** \"migration.ingest-runs.*\"
1163
+ * @summary Stops the ingest run
1164
+ * @param {string} code
1165
+ * @param {StopIngestRunRequestDto} stopIngestRunRequestDto
1166
+ * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
1167
+ * @param {*} [options] Override http request option.
1168
+ * @throws {RequiredError}
1169
+ */
1170
+ async stopIngestRun(code: string, stopIngestRunRequestDto: StopIngestRunRequestDto, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<StopIngestRunResponseClass>> {
1171
+ const localVarAxiosArgs = await localVarAxiosParamCreator.stopIngestRun(code, stopIngestRunRequestDto, authorization, options);
1172
+ return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
1173
+ },
1174
+ /**
1175
+ * This will stop the ingest run cleanup. **Required Permissions** \"migration.ingest-runs.*\"
1176
+ * @summary Stops the ingest run cleanup
1177
+ * @param {string} code
1178
+ * @param {StopIngestRunCleanupRequestDto} stopIngestRunCleanupRequestDto
1179
+ * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
1180
+ * @param {*} [options] Override http request option.
1181
+ * @throws {RequiredError}
1182
+ */
1183
+ async stopIngestRunCleanup(code: string, stopIngestRunCleanupRequestDto: StopIngestRunCleanupRequestDto, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<StopIngestRunResponseClass>> {
1184
+ const localVarAxiosArgs = await localVarAxiosParamCreator.stopIngestRunCleanup(code, stopIngestRunCleanupRequestDto, authorization, options);
1185
+ return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
1186
+ },
1187
+ }
1188
+ };
1189
+
1190
+ /**
1191
+ * MigrationApi - factory interface
1192
+ * @export
1193
+ */
1194
+ export const MigrationApiFactory = function (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) {
1195
+ const localVarFp = MigrationApiFp(configuration)
1196
+ return {
1197
+ /**
1198
+ * This will start asynchronous ingest run cleanup. **Required Permissions** \"migration.ingest-runs.*\"
1199
+ * @summary Starts the ingest run cleanup asynchronously
1200
+ * @param {string} code
1201
+ * @param {object} body
1202
+ * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
1203
+ * @param {*} [options] Override http request option.
1204
+ * @throws {RequiredError}
1205
+ */
1206
+ cleanupIngestRunAsync(code: string, body: object, authorization?: string, options?: any): AxiosPromise<CleanupIngestRunAsyncResponseClass> {
1207
+ return localVarFp.cleanupIngestRunAsync(code, body, authorization, options).then((request) => request(axios, basePath));
1208
+ },
1209
+ /**
1210
+ * This will start synchronous ingest run cleanup. **Required Permissions** \"migration.ingest-runs.*\"
1211
+ * @summary Cleans up the ingest run synchronously
1212
+ * @param {string} code
1213
+ * @param {object} body
1214
+ * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
1215
+ * @param {*} [options] Override http request option.
1216
+ * @throws {RequiredError}
1217
+ */
1218
+ cleanupIngestRunSync(code: string, body: object, authorization?: string, options?: any): AxiosPromise<CleanupIngestRunSyncResponseClass> {
1219
+ return localVarFp.cleanupIngestRunSync(code, body, authorization, options).then((request) => request(axios, basePath));
1220
+ },
1221
+ /**
1222
+ * This will start asynchronous ingest run. **Required Permissions** \"migration.ingest-runs.*\"
1223
+ * @summary Create the Async ingest run
1224
+ * @param {CreateIngestRunAsyncRequestDto} createIngestRunAsyncRequestDto
1225
+ * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
1226
+ * @param {*} [options] Override http request option.
1227
+ * @throws {RequiredError}
1228
+ */
1229
+ createIngestRunAsync(createIngestRunAsyncRequestDto: CreateIngestRunAsyncRequestDto, authorization?: string, options?: any): AxiosPromise<CreateIngestRunAsyncResponseClass> {
1230
+ return localVarFp.createIngestRunAsync(createIngestRunAsyncRequestDto, authorization, options).then((request) => request(axios, basePath));
1231
+ },
1232
+ /**
1233
+ * This will start synchronous ingest run. **Required Permissions** \"migration.ingest-runs.*\"
1234
+ * @summary Create the Sync ingest run
1235
+ * @param {CreateIngestRunSyncRequestDto} createIngestRunSyncRequestDto
1236
+ * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
1237
+ * @param {*} [options] Override http request option.
1238
+ * @throws {RequiredError}
1239
+ */
1240
+ createIngestRunSync(createIngestRunSyncRequestDto: CreateIngestRunSyncRequestDto, authorization?: string, options?: any): AxiosPromise<CreateIngestRunSyncResponseClass> {
1241
+ return localVarFp.createIngestRunSync(createIngestRunSyncRequestDto, authorization, options).then((request) => request(axios, basePath));
1242
+ },
1243
+ /**
1244
+ * This will start synchronous ingest flush. **Required Permissions** \"migration.ingest-flushes.*\"
1245
+ * @summary Create the Sync ingest flush
1246
+ * @param {FlushIngestedDataRequestDto} flushIngestedDataRequestDto
1247
+ * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
1248
+ * @param {*} [options] Override http request option.
1249
+ * @throws {RequiredError}
1250
+ */
1251
+ flushIngestedDataAsync(flushIngestedDataRequestDto: FlushIngestedDataRequestDto, authorization?: string, options?: any): AxiosPromise<FlushIngestedDataResponseClass> {
1252
+ return localVarFp.flushIngestedDataAsync(flushIngestedDataRequestDto, authorization, options).then((request) => request(axios, basePath));
1253
+ },
1254
+ /**
1255
+ * This will start synchronous ingest flush. **Required Permissions** \"migration.ingest-flushes.*\"
1256
+ * @summary Create the Sync ingest flush
1257
+ * @param {FlushIngestedDataRequestDto} flushIngestedDataRequestDto
1258
+ * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
1259
+ * @param {*} [options] Override http request option.
1260
+ * @throws {RequiredError}
1261
+ */
1262
+ flushIngestedDataSync(flushIngestedDataRequestDto: FlushIngestedDataRequestDto, authorization?: string, options?: any): AxiosPromise<FlushIngestedDataResponseClass> {
1263
+ return localVarFp.flushIngestedDataSync(flushIngestedDataRequestDto, authorization, options).then((request) => request(axios, basePath));
1264
+ },
1265
+ /**
1266
+ * 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\"
1267
+ * @summary Retrieve the ingest flush
1268
+ * @param {string} code
1269
+ * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
1270
+ * @param {*} [options] Override http request option.
1271
+ * @throws {RequiredError}
1272
+ */
1273
+ getIngestFlush(code: string, authorization?: string, options?: any): AxiosPromise<GetIngestFlushResponseClass> {
1274
+ return localVarFp.getIngestFlush(code, authorization, options).then((request) => request(axios, basePath));
1275
+ },
1276
+ /**
1277
+ * Retrieves the details of the ingest run that was previously created. Supply the unique ingest run code that was returned when you created it and Emil Api will return the corresponding ingest run information. **Required Permissions** \"migration.ingest-runs.view\"
1278
+ * @summary Retrieve the ingest run
1279
+ * @param {string} code
1280
+ * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
1281
+ * @param {*} [options] Override http request option.
1282
+ * @throws {RequiredError}
1283
+ */
1284
+ getIngestRun(code: string, authorization?: string, options?: any): AxiosPromise<GetIngestRunResponseClass> {
1285
+ return localVarFp.getIngestRun(code, authorization, options).then((request) => request(axios, basePath));
1286
+ },
1287
+ /**
1288
+ * Retrieves the details of the JSON schemas that was previously created. Supply the unique JSON schemas code that was returned when you created it and Emil Api will return the corresponding JSON schemas information. **Required Permissions** \"migration.json-schemas.view\"
1289
+ * @summary Retrieve the JSON schemas
1290
+ * @param {string} sourceEntity
1291
+ * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
1292
+ * @param {*} [options] Override http request option.
1293
+ * @throws {RequiredError}
1294
+ */
1295
+ getJsonSchemas(sourceEntity: string, authorization?: string, options?: any): AxiosPromise<GetJsonSchemasResponseClass> {
1296
+ return localVarFp.getJsonSchemas(sourceEntity, authorization, options).then((request) => request(axios, basePath));
1297
+ },
1298
+ /**
1299
+ * 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\"
1300
+ * @summary List entity mappings
1301
+ * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
1302
+ * @param {number} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
1303
+ * @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&#x3D;1, your subsequent call can include pageToken&#x3D;2 in order to fetch the next page of the list.
1304
+ * @param {string} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: id, createdAt, updatedAt, ern, sourceSystem, sourceEntity, sourceId, targetEntity, targetId, targetCode, targetSlug, targetOtherId1, targetOtherId2, targetOtherId3, ingestBatchId&lt;/i&gt;
1305
+ * @param {string} [search] Search the response for matches in any searchable field. Use filter instead where possible for improved performance.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Searchable fields: sourceSystem, sourceEntity, sourceId, targetCode, targetSlug, targetOtherId1, targetOtherId2, targetOtherId3&lt;/i&gt;
1306
+ * @param {string} [order] Order allows you to specify the desired order of entities retrieved from the server by ascending (ASC) or descending (DESC) order.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: id, createdAt, updatedAt, sourceSystem, sourceEntity, sourceId, targetEntity, targetId, targetCode, targetSlug, targetOtherId1, targetOtherId2, targetOtherId3, ingestBatchId&lt;/i&gt;
1307
+ * @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.&lt;br/&gt; &lt;br/&gt;
1308
+ * @param {string} [filters] Filters the response by one or multiple fields. Advanced filter functionality allows you to perform more complex filtering operations.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: id, createdAt, updatedAt, ern, sourceSystem, sourceEntity, sourceId, targetEntity, targetId, targetCode, targetSlug, targetOtherId1, targetOtherId2, targetOtherId3, ingestBatchId&lt;/i&gt;
1309
+ * @param {*} [options] Override http request option.
1310
+ * @throws {RequiredError}
1311
+ */
1312
+ listEntityMappings(authorization?: string, pageSize?: number, pageToken?: string, filter?: string, search?: string, order?: string, expand?: string, filters?: string, options?: any): AxiosPromise<ListEntityMappingsResponseClass> {
1313
+ return localVarFp.listEntityMappings(authorization, pageSize, pageToken, filter, search, order, expand, filters, options).then((request) => request(axios, basePath));
1314
+ },
1315
+ /**
1316
+ * 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\"
1317
+ * @summary List ingest flushes
1318
+ * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
1319
+ * @param {number} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
1320
+ * @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&#x3D;1, your subsequent call can include pageToken&#x3D;2 in order to fetch the next page of the list.
1321
+ * @param {string} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: id, code, createdAt, updatedAt, ern, sourceSystem, totalDeletedRowCount, isSuccess, errorMessage&lt;/i&gt;
1322
+ * @param {string} [search] Search the response for matches in any searchable field. Use filter instead where possible for improved performance.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Searchable fields: sourceSystem, errorMessage, code&lt;/i&gt;
1323
+ * @param {string} [order] Order allows you to specify the desired order of entities retrieved from the server by ascending (ASC) or descending (DESC) order.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: id, createdAt, updatedAt, code, sourceSystem, totalDeletedRowCount, isSuccess, errorMessage&lt;/i&gt;
1324
+ * @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.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: entities&lt;i&gt;
1325
+ * @param {string} [filters] Filters the response by one or multiple fields. Advanced filter functionality allows you to perform more complex filtering operations.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: id, code, createdAt, updatedAt, ern, sourceSystem, totalDeletedRowCount, isSuccess, errorMessage&lt;/i&gt;
1326
+ * @param {*} [options] Override http request option.
1327
+ * @throws {RequiredError}
1328
+ */
1329
+ listIngestFlushes(authorization?: string, pageSize?: number, pageToken?: string, filter?: string, search?: string, order?: string, expand?: string, filters?: string, options?: any): AxiosPromise<ListIngestFlushesResponseClass> {
1330
+ return localVarFp.listIngestFlushes(authorization, pageSize, pageToken, filter, search, order, expand, filters, options).then((request) => request(axios, basePath));
1331
+ },
1332
+ /**
1333
+ * 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\"
1334
+ * @summary List ingest run records
1335
+ * @param {string} code
1336
+ * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
1337
+ * @param {number} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
1338
+ * @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&#x3D;1, your subsequent call can include pageToken&#x3D;2 in order to fetch the next page of the list.
1339
+ * @param {string} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: id, ingestRunId, ingestBatchId, createdAt, updatedAt, ern, rowNo, externalId, errorMessage&lt;/i&gt;
1340
+ * @param {string} [search] Search the response for matches in any searchable field. Use filter instead where possible for improved performance.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Searchable fields: externalId, errorMessage&lt;/i&gt;
1341
+ * @param {string} [order] Order allows you to specify the desired order of entities retrieved from the server by ascending (ASC) or descending (DESC) order.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: id, createdAt, updatedAt, ingestRunId, ingestBatchId, rowNo, externalId, status, stage, errorMessage&lt;/i&gt;
1342
+ * @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.&lt;br/&gt; &lt;br/&gt;
1343
+ * @param {string} [filters] Filters the response by one or multiple fields. Advanced filter functionality allows you to perform more complex filtering operations.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: id, ingestRunId, ingestBatchId, createdAt, updatedAt, ern, rowNo, externalId, errorMessage&lt;/i&gt;
1344
+ * @param {*} [options] Override http request option.
1345
+ * @throws {RequiredError}
1346
+ */
1347
+ listIngestRunRecords(code: string, authorization?: string, pageSize?: number, pageToken?: string, filter?: string, search?: string, order?: string, expand?: string, filters?: string, options?: any): AxiosPromise<ListIngestRunRecordsResponseClass> {
1348
+ return localVarFp.listIngestRunRecords(code, authorization, pageSize, pageToken, filter, search, order, expand, filters, options).then((request) => request(axios, basePath));
1349
+ },
1350
+ /**
1351
+ * 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\"
1352
+ * @summary List ingest runs
1353
+ * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
1354
+ * @param {number} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
1355
+ * @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&#x3D;1, your subsequent call can include pageToken&#x3D;2 in order to fetch the next page of the list.
1356
+ * @param {string} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: id, code, createdAt, updatedAt, ern, sourceSystem, sourceEntity, fileUrl, recordCount, isSuccess, errorMessage&lt;/i&gt;
1357
+ * @param {string} [search] Search the response for matches in any searchable field. Use filter instead where possible for improved performance.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Searchable fields: sourceSystem, sourceEntity, payload, fileUrl, errorMessage, code&lt;/i&gt;
1358
+ * @param {string} [order] Order allows you to specify the desired order of entities retrieved from the server by ascending (ASC) or descending (DESC) order.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: id, createdAt, updatedAt, code, sourceSystem, sourceEntity, fileUrl, recordCount, isSuccess, errorMessage&lt;/i&gt;
1359
+ * @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.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: batches&lt;i&gt;
1360
+ * @param {string} [filters] Filters the response by one or multiple fields. Advanced filter functionality allows you to perform more complex filtering operations.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: id, code, createdAt, updatedAt, ern, sourceSystem, sourceEntity, fileUrl, recordCount, isSuccess, errorMessage&lt;/i&gt;
1361
+ * @param {*} [options] Override http request option.
1362
+ * @throws {RequiredError}
1363
+ */
1364
+ listIngestRuns(authorization?: string, pageSize?: number, pageToken?: string, filter?: string, search?: string, order?: string, expand?: string, filters?: string, options?: any): AxiosPromise<ListIngestRunsResponseClass> {
1365
+ return localVarFp.listIngestRuns(authorization, pageSize, pageToken, filter, search, order, expand, filters, options).then((request) => request(axios, basePath));
1366
+ },
1367
+ /**
1368
+ * This will stop the running ingest flush. **Required Permissions** \"migration.ingest-flushes.*\"
1369
+ * @summary Stops the ingest flush
1370
+ * @param {string} code
1371
+ * @param {StopIngestFlushRequestDto} stopIngestFlushRequestDto
1372
+ * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
1373
+ * @param {*} [options] Override http request option.
1374
+ * @throws {RequiredError}
1375
+ */
1376
+ stopIngestFlush(code: string, stopIngestFlushRequestDto: StopIngestFlushRequestDto, authorization?: string, options?: any): AxiosPromise<StopIngestFlushResponseClass> {
1377
+ return localVarFp.stopIngestFlush(code, stopIngestFlushRequestDto, authorization, options).then((request) => request(axios, basePath));
1378
+ },
1379
+ /**
1380
+ * This will stop the running ingest run. **Required Permissions** \"migration.ingest-runs.*\"
1381
+ * @summary Stops the ingest run
1382
+ * @param {string} code
1383
+ * @param {StopIngestRunRequestDto} stopIngestRunRequestDto
1384
+ * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
1385
+ * @param {*} [options] Override http request option.
1386
+ * @throws {RequiredError}
1387
+ */
1388
+ stopIngestRun(code: string, stopIngestRunRequestDto: StopIngestRunRequestDto, authorization?: string, options?: any): AxiosPromise<StopIngestRunResponseClass> {
1389
+ return localVarFp.stopIngestRun(code, stopIngestRunRequestDto, authorization, options).then((request) => request(axios, basePath));
1390
+ },
1391
+ /**
1392
+ * This will stop the ingest run cleanup. **Required Permissions** \"migration.ingest-runs.*\"
1393
+ * @summary Stops the ingest run cleanup
1394
+ * @param {string} code
1395
+ * @param {StopIngestRunCleanupRequestDto} stopIngestRunCleanupRequestDto
1396
+ * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
1397
+ * @param {*} [options] Override http request option.
1398
+ * @throws {RequiredError}
1399
+ */
1400
+ stopIngestRunCleanup(code: string, stopIngestRunCleanupRequestDto: StopIngestRunCleanupRequestDto, authorization?: string, options?: any): AxiosPromise<StopIngestRunResponseClass> {
1401
+ return localVarFp.stopIngestRunCleanup(code, stopIngestRunCleanupRequestDto, authorization, options).then((request) => request(axios, basePath));
1402
+ },
1403
+ };
1404
+ };
1405
+
1406
+ /**
1407
+ * Request parameters for cleanupIngestRunAsync operation in MigrationApi.
1408
+ * @export
1409
+ * @interface MigrationApiCleanupIngestRunAsyncRequest
1410
+ */
1411
+ export interface MigrationApiCleanupIngestRunAsyncRequest {
1412
+ /**
1413
+ *
1414
+ * @type {string}
1415
+ * @memberof MigrationApiCleanupIngestRunAsync
1416
+ */
1417
+ readonly code: string
1418
+
1419
+ /**
1420
+ *
1421
+ * @type {object}
1422
+ * @memberof MigrationApiCleanupIngestRunAsync
1423
+ */
1424
+ readonly body: object
1425
+
1426
+ /**
1427
+ * Bearer Token: provided by the login endpoint under the name accessToken.
1428
+ * @type {string}
1429
+ * @memberof MigrationApiCleanupIngestRunAsync
1430
+ */
1431
+ readonly authorization?: string
1432
+ }
1433
+
1434
+ /**
1435
+ * Request parameters for cleanupIngestRunSync operation in MigrationApi.
1436
+ * @export
1437
+ * @interface MigrationApiCleanupIngestRunSyncRequest
1438
+ */
1439
+ export interface MigrationApiCleanupIngestRunSyncRequest {
1440
+ /**
1441
+ *
1442
+ * @type {string}
1443
+ * @memberof MigrationApiCleanupIngestRunSync
1444
+ */
1445
+ readonly code: string
1446
+
1447
+ /**
1448
+ *
1449
+ * @type {object}
1450
+ * @memberof MigrationApiCleanupIngestRunSync
1451
+ */
1452
+ readonly body: object
1453
+
1454
+ /**
1455
+ * Bearer Token: provided by the login endpoint under the name accessToken.
1456
+ * @type {string}
1457
+ * @memberof MigrationApiCleanupIngestRunSync
1458
+ */
1459
+ readonly authorization?: string
1460
+ }
1461
+
1462
+ /**
1463
+ * Request parameters for createIngestRunAsync operation in MigrationApi.
1464
+ * @export
1465
+ * @interface MigrationApiCreateIngestRunAsyncRequest
1466
+ */
1467
+ export interface MigrationApiCreateIngestRunAsyncRequest {
1468
+ /**
1469
+ *
1470
+ * @type {CreateIngestRunAsyncRequestDto}
1471
+ * @memberof MigrationApiCreateIngestRunAsync
1472
+ */
1473
+ readonly createIngestRunAsyncRequestDto: CreateIngestRunAsyncRequestDto
1474
+
1475
+ /**
1476
+ * Bearer Token: provided by the login endpoint under the name accessToken.
1477
+ * @type {string}
1478
+ * @memberof MigrationApiCreateIngestRunAsync
1479
+ */
1480
+ readonly authorization?: string
1481
+ }
1482
+
1483
+ /**
1484
+ * Request parameters for createIngestRunSync operation in MigrationApi.
1485
+ * @export
1486
+ * @interface MigrationApiCreateIngestRunSyncRequest
1487
+ */
1488
+ export interface MigrationApiCreateIngestRunSyncRequest {
1489
+ /**
1490
+ *
1491
+ * @type {CreateIngestRunSyncRequestDto}
1492
+ * @memberof MigrationApiCreateIngestRunSync
1493
+ */
1494
+ readonly createIngestRunSyncRequestDto: CreateIngestRunSyncRequestDto
1495
+
1496
+ /**
1497
+ * Bearer Token: provided by the login endpoint under the name accessToken.
1498
+ * @type {string}
1499
+ * @memberof MigrationApiCreateIngestRunSync
1500
+ */
1501
+ readonly authorization?: string
1502
+ }
1503
+
1504
+ /**
1505
+ * Request parameters for flushIngestedDataAsync operation in MigrationApi.
1506
+ * @export
1507
+ * @interface MigrationApiFlushIngestedDataAsyncRequest
1508
+ */
1509
+ export interface MigrationApiFlushIngestedDataAsyncRequest {
1510
+ /**
1511
+ *
1512
+ * @type {FlushIngestedDataRequestDto}
1513
+ * @memberof MigrationApiFlushIngestedDataAsync
1514
+ */
1515
+ readonly flushIngestedDataRequestDto: FlushIngestedDataRequestDto
1516
+
1517
+ /**
1518
+ * Bearer Token: provided by the login endpoint under the name accessToken.
1519
+ * @type {string}
1520
+ * @memberof MigrationApiFlushIngestedDataAsync
1521
+ */
1522
+ readonly authorization?: string
1523
+ }
1524
+
1525
+ /**
1526
+ * Request parameters for flushIngestedDataSync operation in MigrationApi.
1527
+ * @export
1528
+ * @interface MigrationApiFlushIngestedDataSyncRequest
1529
+ */
1530
+ export interface MigrationApiFlushIngestedDataSyncRequest {
1531
+ /**
1532
+ *
1533
+ * @type {FlushIngestedDataRequestDto}
1534
+ * @memberof MigrationApiFlushIngestedDataSync
1535
+ */
1536
+ readonly flushIngestedDataRequestDto: FlushIngestedDataRequestDto
1537
+
1538
+ /**
1539
+ * Bearer Token: provided by the login endpoint under the name accessToken.
1540
+ * @type {string}
1541
+ * @memberof MigrationApiFlushIngestedDataSync
1542
+ */
1543
+ readonly authorization?: string
1544
+ }
1545
+
1546
+ /**
1547
+ * Request parameters for getIngestFlush operation in MigrationApi.
1548
+ * @export
1549
+ * @interface MigrationApiGetIngestFlushRequest
1550
+ */
1551
+ export interface MigrationApiGetIngestFlushRequest {
1552
+ /**
1553
+ *
1554
+ * @type {string}
1555
+ * @memberof MigrationApiGetIngestFlush
1556
+ */
1557
+ readonly code: string
1558
+
1559
+ /**
1560
+ * Bearer Token: provided by the login endpoint under the name accessToken.
1561
+ * @type {string}
1562
+ * @memberof MigrationApiGetIngestFlush
1563
+ */
1564
+ readonly authorization?: string
1565
+ }
1566
+
1567
+ /**
1568
+ * Request parameters for getIngestRun operation in MigrationApi.
1569
+ * @export
1570
+ * @interface MigrationApiGetIngestRunRequest
1571
+ */
1572
+ export interface MigrationApiGetIngestRunRequest {
1573
+ /**
1574
+ *
1575
+ * @type {string}
1576
+ * @memberof MigrationApiGetIngestRun
1577
+ */
1578
+ readonly code: string
1579
+
1580
+ /**
1581
+ * Bearer Token: provided by the login endpoint under the name accessToken.
1582
+ * @type {string}
1583
+ * @memberof MigrationApiGetIngestRun
1584
+ */
1585
+ readonly authorization?: string
1586
+ }
1587
+
1588
+ /**
1589
+ * Request parameters for getJsonSchemas operation in MigrationApi.
1590
+ * @export
1591
+ * @interface MigrationApiGetJsonSchemasRequest
1592
+ */
1593
+ export interface MigrationApiGetJsonSchemasRequest {
1594
+ /**
1595
+ *
1596
+ * @type {string}
1597
+ * @memberof MigrationApiGetJsonSchemas
1598
+ */
1599
+ readonly sourceEntity: string
1600
+
1601
+ /**
1602
+ * Bearer Token: provided by the login endpoint under the name accessToken.
1603
+ * @type {string}
1604
+ * @memberof MigrationApiGetJsonSchemas
1605
+ */
1606
+ readonly authorization?: string
1607
+ }
1608
+
1609
+ /**
1610
+ * Request parameters for listEntityMappings operation in MigrationApi.
1611
+ * @export
1612
+ * @interface MigrationApiListEntityMappingsRequest
1613
+ */
1614
+ export interface MigrationApiListEntityMappingsRequest {
1615
+ /**
1616
+ * Bearer Token: provided by the login endpoint under the name accessToken.
1617
+ * @type {string}
1618
+ * @memberof MigrationApiListEntityMappings
1619
+ */
1620
+ readonly authorization?: string
1621
+
1622
+ /**
1623
+ * A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
1624
+ * @type {number}
1625
+ * @memberof MigrationApiListEntityMappings
1626
+ */
1627
+ readonly pageSize?: number
1628
+
1629
+ /**
1630
+ * 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&#x3D;1, your subsequent call can include pageToken&#x3D;2 in order to fetch the next page of the list.
1631
+ * @type {string}
1632
+ * @memberof MigrationApiListEntityMappings
1633
+ */
1634
+ readonly pageToken?: string
1635
+
1636
+ /**
1637
+ * Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: id, createdAt, updatedAt, ern, sourceSystem, sourceEntity, sourceId, targetEntity, targetId, targetCode, targetSlug, targetOtherId1, targetOtherId2, targetOtherId3, ingestBatchId&lt;/i&gt;
1638
+ * @type {string}
1639
+ * @memberof MigrationApiListEntityMappings
1640
+ */
1641
+ readonly filter?: string
1642
+
1643
+ /**
1644
+ * Search the response for matches in any searchable field. Use filter instead where possible for improved performance.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Searchable fields: sourceSystem, sourceEntity, sourceId, targetCode, targetSlug, targetOtherId1, targetOtherId2, targetOtherId3&lt;/i&gt;
1645
+ * @type {string}
1646
+ * @memberof MigrationApiListEntityMappings
1647
+ */
1648
+ readonly search?: string
1649
+
1650
+ /**
1651
+ * Order allows you to specify the desired order of entities retrieved from the server by ascending (ASC) or descending (DESC) order.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: id, createdAt, updatedAt, sourceSystem, sourceEntity, sourceId, targetEntity, targetId, targetCode, targetSlug, targetOtherId1, targetOtherId2, targetOtherId3, ingestBatchId&lt;/i&gt;
1652
+ * @type {string}
1653
+ * @memberof MigrationApiListEntityMappings
1654
+ */
1655
+ readonly order?: string
1656
+
1657
+ /**
1658
+ * 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.&lt;br/&gt; &lt;br/&gt;
1659
+ * @type {string}
1660
+ * @memberof MigrationApiListEntityMappings
1661
+ */
1662
+ readonly expand?: string
1663
+
1664
+ /**
1665
+ * Filters the response by one or multiple fields. Advanced filter functionality allows you to perform more complex filtering operations.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: id, createdAt, updatedAt, ern, sourceSystem, sourceEntity, sourceId, targetEntity, targetId, targetCode, targetSlug, targetOtherId1, targetOtherId2, targetOtherId3, ingestBatchId&lt;/i&gt;
1666
+ * @type {string}
1667
+ * @memberof MigrationApiListEntityMappings
1668
+ */
1669
+ readonly filters?: string
1670
+ }
1671
+
1672
+ /**
1673
+ * Request parameters for listIngestFlushes operation in MigrationApi.
1674
+ * @export
1675
+ * @interface MigrationApiListIngestFlushesRequest
1676
+ */
1677
+ export interface MigrationApiListIngestFlushesRequest {
1678
+ /**
1679
+ * Bearer Token: provided by the login endpoint under the name accessToken.
1680
+ * @type {string}
1681
+ * @memberof MigrationApiListIngestFlushes
1682
+ */
1683
+ readonly authorization?: string
1684
+
1685
+ /**
1686
+ * A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
1687
+ * @type {number}
1688
+ * @memberof MigrationApiListIngestFlushes
1689
+ */
1690
+ readonly pageSize?: number
1691
+
1692
+ /**
1693
+ * 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&#x3D;1, your subsequent call can include pageToken&#x3D;2 in order to fetch the next page of the list.
1694
+ * @type {string}
1695
+ * @memberof MigrationApiListIngestFlushes
1696
+ */
1697
+ readonly pageToken?: string
1698
+
1699
+ /**
1700
+ * Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: id, code, createdAt, updatedAt, ern, sourceSystem, totalDeletedRowCount, isSuccess, errorMessage&lt;/i&gt;
1701
+ * @type {string}
1702
+ * @memberof MigrationApiListIngestFlushes
1703
+ */
1704
+ readonly filter?: string
1705
+
1706
+ /**
1707
+ * Search the response for matches in any searchable field. Use filter instead where possible for improved performance.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Searchable fields: sourceSystem, errorMessage, code&lt;/i&gt;
1708
+ * @type {string}
1709
+ * @memberof MigrationApiListIngestFlushes
1710
+ */
1711
+ readonly search?: string
1712
+
1713
+ /**
1714
+ * Order allows you to specify the desired order of entities retrieved from the server by ascending (ASC) or descending (DESC) order.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: id, createdAt, updatedAt, code, sourceSystem, totalDeletedRowCount, isSuccess, errorMessage&lt;/i&gt;
1715
+ * @type {string}
1716
+ * @memberof MigrationApiListIngestFlushes
1717
+ */
1718
+ readonly order?: string
1719
+
1720
+ /**
1721
+ * 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.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: entities&lt;i&gt;
1722
+ * @type {string}
1723
+ * @memberof MigrationApiListIngestFlushes
1724
+ */
1725
+ readonly expand?: string
1726
+
1727
+ /**
1728
+ * Filters the response by one or multiple fields. Advanced filter functionality allows you to perform more complex filtering operations.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: id, code, createdAt, updatedAt, ern, sourceSystem, totalDeletedRowCount, isSuccess, errorMessage&lt;/i&gt;
1729
+ * @type {string}
1730
+ * @memberof MigrationApiListIngestFlushes
1731
+ */
1732
+ readonly filters?: string
1733
+ }
1734
+
1735
+ /**
1736
+ * Request parameters for listIngestRunRecords operation in MigrationApi.
1737
+ * @export
1738
+ * @interface MigrationApiListIngestRunRecordsRequest
1739
+ */
1740
+ export interface MigrationApiListIngestRunRecordsRequest {
1741
+ /**
1742
+ *
1743
+ * @type {string}
1744
+ * @memberof MigrationApiListIngestRunRecords
1745
+ */
1746
+ readonly code: string
1747
+
1748
+ /**
1749
+ * Bearer Token: provided by the login endpoint under the name accessToken.
1750
+ * @type {string}
1751
+ * @memberof MigrationApiListIngestRunRecords
1752
+ */
1753
+ readonly authorization?: string
1754
+
1755
+ /**
1756
+ * A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
1757
+ * @type {number}
1758
+ * @memberof MigrationApiListIngestRunRecords
1759
+ */
1760
+ readonly pageSize?: number
1761
+
1762
+ /**
1763
+ * 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&#x3D;1, your subsequent call can include pageToken&#x3D;2 in order to fetch the next page of the list.
1764
+ * @type {string}
1765
+ * @memberof MigrationApiListIngestRunRecords
1766
+ */
1767
+ readonly pageToken?: string
1768
+
1769
+ /**
1770
+ * Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: id, ingestRunId, ingestBatchId, createdAt, updatedAt, ern, rowNo, externalId, errorMessage&lt;/i&gt;
1771
+ * @type {string}
1772
+ * @memberof MigrationApiListIngestRunRecords
1773
+ */
1774
+ readonly filter?: string
1775
+
1776
+ /**
1777
+ * Search the response for matches in any searchable field. Use filter instead where possible for improved performance.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Searchable fields: externalId, errorMessage&lt;/i&gt;
1778
+ * @type {string}
1779
+ * @memberof MigrationApiListIngestRunRecords
1780
+ */
1781
+ readonly search?: string
1782
+
1783
+ /**
1784
+ * Order allows you to specify the desired order of entities retrieved from the server by ascending (ASC) or descending (DESC) order.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: id, createdAt, updatedAt, ingestRunId, ingestBatchId, rowNo, externalId, status, stage, errorMessage&lt;/i&gt;
1785
+ * @type {string}
1786
+ * @memberof MigrationApiListIngestRunRecords
1787
+ */
1788
+ readonly order?: string
1789
+
1790
+ /**
1791
+ * 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.&lt;br/&gt; &lt;br/&gt;
1792
+ * @type {string}
1793
+ * @memberof MigrationApiListIngestRunRecords
1794
+ */
1795
+ readonly expand?: string
1796
+
1797
+ /**
1798
+ * Filters the response by one or multiple fields. Advanced filter functionality allows you to perform more complex filtering operations.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: id, ingestRunId, ingestBatchId, createdAt, updatedAt, ern, rowNo, externalId, errorMessage&lt;/i&gt;
1799
+ * @type {string}
1800
+ * @memberof MigrationApiListIngestRunRecords
1801
+ */
1802
+ readonly filters?: string
1803
+ }
1804
+
1805
+ /**
1806
+ * Request parameters for listIngestRuns operation in MigrationApi.
1807
+ * @export
1808
+ * @interface MigrationApiListIngestRunsRequest
1809
+ */
1810
+ export interface MigrationApiListIngestRunsRequest {
1811
+ /**
1812
+ * Bearer Token: provided by the login endpoint under the name accessToken.
1813
+ * @type {string}
1814
+ * @memberof MigrationApiListIngestRuns
1815
+ */
1816
+ readonly authorization?: string
1817
+
1818
+ /**
1819
+ * A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
1820
+ * @type {number}
1821
+ * @memberof MigrationApiListIngestRuns
1822
+ */
1823
+ readonly pageSize?: number
1824
+
1825
+ /**
1826
+ * 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&#x3D;1, your subsequent call can include pageToken&#x3D;2 in order to fetch the next page of the list.
1827
+ * @type {string}
1828
+ * @memberof MigrationApiListIngestRuns
1829
+ */
1830
+ readonly pageToken?: string
1831
+
1832
+ /**
1833
+ * Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: id, code, createdAt, updatedAt, ern, sourceSystem, sourceEntity, fileUrl, recordCount, isSuccess, errorMessage&lt;/i&gt;
1834
+ * @type {string}
1835
+ * @memberof MigrationApiListIngestRuns
1836
+ */
1837
+ readonly filter?: string
1838
+
1839
+ /**
1840
+ * Search the response for matches in any searchable field. Use filter instead where possible for improved performance.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Searchable fields: sourceSystem, sourceEntity, payload, fileUrl, errorMessage, code&lt;/i&gt;
1841
+ * @type {string}
1842
+ * @memberof MigrationApiListIngestRuns
1843
+ */
1844
+ readonly search?: string
1845
+
1846
+ /**
1847
+ * Order allows you to specify the desired order of entities retrieved from the server by ascending (ASC) or descending (DESC) order.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: id, createdAt, updatedAt, code, sourceSystem, sourceEntity, fileUrl, recordCount, isSuccess, errorMessage&lt;/i&gt;
1848
+ * @type {string}
1849
+ * @memberof MigrationApiListIngestRuns
1850
+ */
1851
+ readonly order?: string
1852
+
1853
+ /**
1854
+ * 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.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: batches&lt;i&gt;
1855
+ * @type {string}
1856
+ * @memberof MigrationApiListIngestRuns
1857
+ */
1858
+ readonly expand?: string
1859
+
1860
+ /**
1861
+ * Filters the response by one or multiple fields. Advanced filter functionality allows you to perform more complex filtering operations.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: id, code, createdAt, updatedAt, ern, sourceSystem, sourceEntity, fileUrl, recordCount, isSuccess, errorMessage&lt;/i&gt;
1862
+ * @type {string}
1863
+ * @memberof MigrationApiListIngestRuns
1864
+ */
1865
+ readonly filters?: string
1866
+ }
1867
+
1868
+ /**
1869
+ * Request parameters for stopIngestFlush operation in MigrationApi.
1870
+ * @export
1871
+ * @interface MigrationApiStopIngestFlushRequest
1872
+ */
1873
+ export interface MigrationApiStopIngestFlushRequest {
1874
+ /**
1875
+ *
1876
+ * @type {string}
1877
+ * @memberof MigrationApiStopIngestFlush
1878
+ */
1879
+ readonly code: string
1880
+
1881
+ /**
1882
+ *
1883
+ * @type {StopIngestFlushRequestDto}
1884
+ * @memberof MigrationApiStopIngestFlush
1885
+ */
1886
+ readonly stopIngestFlushRequestDto: StopIngestFlushRequestDto
1887
+
1888
+ /**
1889
+ * Bearer Token: provided by the login endpoint under the name accessToken.
1890
+ * @type {string}
1891
+ * @memberof MigrationApiStopIngestFlush
1892
+ */
1893
+ readonly authorization?: string
1894
+ }
1895
+
1896
+ /**
1897
+ * Request parameters for stopIngestRun operation in MigrationApi.
1898
+ * @export
1899
+ * @interface MigrationApiStopIngestRunRequest
1900
+ */
1901
+ export interface MigrationApiStopIngestRunRequest {
1902
+ /**
1903
+ *
1904
+ * @type {string}
1905
+ * @memberof MigrationApiStopIngestRun
1906
+ */
1907
+ readonly code: string
1908
+
1909
+ /**
1910
+ *
1911
+ * @type {StopIngestRunRequestDto}
1912
+ * @memberof MigrationApiStopIngestRun
1913
+ */
1914
+ readonly stopIngestRunRequestDto: StopIngestRunRequestDto
1915
+
1916
+ /**
1917
+ * Bearer Token: provided by the login endpoint under the name accessToken.
1918
+ * @type {string}
1919
+ * @memberof MigrationApiStopIngestRun
1920
+ */
1921
+ readonly authorization?: string
1922
+ }
1923
+
1924
+ /**
1925
+ * Request parameters for stopIngestRunCleanup operation in MigrationApi.
1926
+ * @export
1927
+ * @interface MigrationApiStopIngestRunCleanupRequest
1928
+ */
1929
+ export interface MigrationApiStopIngestRunCleanupRequest {
1930
+ /**
1931
+ *
1932
+ * @type {string}
1933
+ * @memberof MigrationApiStopIngestRunCleanup
1934
+ */
1935
+ readonly code: string
1936
+
1937
+ /**
1938
+ *
1939
+ * @type {StopIngestRunCleanupRequestDto}
1940
+ * @memberof MigrationApiStopIngestRunCleanup
1941
+ */
1942
+ readonly stopIngestRunCleanupRequestDto: StopIngestRunCleanupRequestDto
1943
+
1944
+ /**
1945
+ * Bearer Token: provided by the login endpoint under the name accessToken.
1946
+ * @type {string}
1947
+ * @memberof MigrationApiStopIngestRunCleanup
1948
+ */
1949
+ readonly authorization?: string
1950
+ }
1951
+
1952
+ /**
1953
+ * MigrationApi - object-oriented interface
1954
+ * @export
1955
+ * @class MigrationApi
1956
+ * @extends {BaseAPI}
1957
+ */
1958
+ export class MigrationApi extends BaseAPI {
1959
+ /**
1960
+ * This will start asynchronous ingest run cleanup. **Required Permissions** \"migration.ingest-runs.*\"
1961
+ * @summary Starts the ingest run cleanup asynchronously
1962
+ * @param {MigrationApiCleanupIngestRunAsyncRequest} requestParameters Request parameters.
1963
+ * @param {*} [options] Override http request option.
1964
+ * @throws {RequiredError}
1965
+ * @memberof MigrationApi
1966
+ */
1967
+ public cleanupIngestRunAsync(requestParameters: MigrationApiCleanupIngestRunAsyncRequest, options?: AxiosRequestConfig) {
1968
+ return MigrationApiFp(this.configuration).cleanupIngestRunAsync(requestParameters.code, requestParameters.body, requestParameters.authorization, options).then((request) => request(this.axios, this.basePath));
1969
+ }
1970
+
1971
+ /**
1972
+ * This will start synchronous ingest run cleanup. **Required Permissions** \"migration.ingest-runs.*\"
1973
+ * @summary Cleans up the ingest run synchronously
1974
+ * @param {MigrationApiCleanupIngestRunSyncRequest} requestParameters Request parameters.
1975
+ * @param {*} [options] Override http request option.
1976
+ * @throws {RequiredError}
1977
+ * @memberof MigrationApi
1978
+ */
1979
+ public cleanupIngestRunSync(requestParameters: MigrationApiCleanupIngestRunSyncRequest, options?: AxiosRequestConfig) {
1980
+ return MigrationApiFp(this.configuration).cleanupIngestRunSync(requestParameters.code, requestParameters.body, requestParameters.authorization, options).then((request) => request(this.axios, this.basePath));
1981
+ }
1982
+
1983
+ /**
1984
+ * This will start asynchronous ingest run. **Required Permissions** \"migration.ingest-runs.*\"
1985
+ * @summary Create the Async ingest run
1986
+ * @param {MigrationApiCreateIngestRunAsyncRequest} requestParameters Request parameters.
1987
+ * @param {*} [options] Override http request option.
1988
+ * @throws {RequiredError}
1989
+ * @memberof MigrationApi
1990
+ */
1991
+ public createIngestRunAsync(requestParameters: MigrationApiCreateIngestRunAsyncRequest, options?: AxiosRequestConfig) {
1992
+ return MigrationApiFp(this.configuration).createIngestRunAsync(requestParameters.createIngestRunAsyncRequestDto, requestParameters.authorization, options).then((request) => request(this.axios, this.basePath));
1993
+ }
1994
+
1995
+ /**
1996
+ * This will start synchronous ingest run. **Required Permissions** \"migration.ingest-runs.*\"
1997
+ * @summary Create the Sync ingest run
1998
+ * @param {MigrationApiCreateIngestRunSyncRequest} requestParameters Request parameters.
1999
+ * @param {*} [options] Override http request option.
2000
+ * @throws {RequiredError}
2001
+ * @memberof MigrationApi
2002
+ */
2003
+ public createIngestRunSync(requestParameters: MigrationApiCreateIngestRunSyncRequest, options?: AxiosRequestConfig) {
2004
+ return MigrationApiFp(this.configuration).createIngestRunSync(requestParameters.createIngestRunSyncRequestDto, requestParameters.authorization, options).then((request) => request(this.axios, this.basePath));
2005
+ }
2006
+
2007
+ /**
2008
+ * This will start synchronous ingest flush. **Required Permissions** \"migration.ingest-flushes.*\"
2009
+ * @summary Create the Sync ingest flush
2010
+ * @param {MigrationApiFlushIngestedDataAsyncRequest} requestParameters Request parameters.
2011
+ * @param {*} [options] Override http request option.
2012
+ * @throws {RequiredError}
2013
+ * @memberof MigrationApi
2014
+ */
2015
+ public flushIngestedDataAsync(requestParameters: MigrationApiFlushIngestedDataAsyncRequest, options?: AxiosRequestConfig) {
2016
+ return MigrationApiFp(this.configuration).flushIngestedDataAsync(requestParameters.flushIngestedDataRequestDto, requestParameters.authorization, options).then((request) => request(this.axios, this.basePath));
2017
+ }
2018
+
2019
+ /**
2020
+ * This will start synchronous ingest flush. **Required Permissions** \"migration.ingest-flushes.*\"
2021
+ * @summary Create the Sync ingest flush
2022
+ * @param {MigrationApiFlushIngestedDataSyncRequest} requestParameters Request parameters.
2023
+ * @param {*} [options] Override http request option.
2024
+ * @throws {RequiredError}
2025
+ * @memberof MigrationApi
2026
+ */
2027
+ public flushIngestedDataSync(requestParameters: MigrationApiFlushIngestedDataSyncRequest, options?: AxiosRequestConfig) {
2028
+ return MigrationApiFp(this.configuration).flushIngestedDataSync(requestParameters.flushIngestedDataRequestDto, requestParameters.authorization, options).then((request) => request(this.axios, this.basePath));
2029
+ }
2030
+
2031
+ /**
2032
+ * 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\"
2033
+ * @summary Retrieve the ingest flush
2034
+ * @param {MigrationApiGetIngestFlushRequest} requestParameters Request parameters.
2035
+ * @param {*} [options] Override http request option.
2036
+ * @throws {RequiredError}
2037
+ * @memberof MigrationApi
2038
+ */
2039
+ public getIngestFlush(requestParameters: MigrationApiGetIngestFlushRequest, options?: AxiosRequestConfig) {
2040
+ return MigrationApiFp(this.configuration).getIngestFlush(requestParameters.code, requestParameters.authorization, options).then((request) => request(this.axios, this.basePath));
2041
+ }
2042
+
2043
+ /**
2044
+ * Retrieves the details of the ingest run that was previously created. Supply the unique ingest run code that was returned when you created it and Emil Api will return the corresponding ingest run information. **Required Permissions** \"migration.ingest-runs.view\"
2045
+ * @summary Retrieve the ingest run
2046
+ * @param {MigrationApiGetIngestRunRequest} requestParameters Request parameters.
2047
+ * @param {*} [options] Override http request option.
2048
+ * @throws {RequiredError}
2049
+ * @memberof MigrationApi
2050
+ */
2051
+ public getIngestRun(requestParameters: MigrationApiGetIngestRunRequest, options?: AxiosRequestConfig) {
2052
+ return MigrationApiFp(this.configuration).getIngestRun(requestParameters.code, requestParameters.authorization, options).then((request) => request(this.axios, this.basePath));
2053
+ }
2054
+
2055
+ /**
2056
+ * Retrieves the details of the JSON schemas that was previously created. Supply the unique JSON schemas code that was returned when you created it and Emil Api will return the corresponding JSON schemas information. **Required Permissions** \"migration.json-schemas.view\"
2057
+ * @summary Retrieve the JSON schemas
2058
+ * @param {MigrationApiGetJsonSchemasRequest} requestParameters Request parameters.
2059
+ * @param {*} [options] Override http request option.
2060
+ * @throws {RequiredError}
2061
+ * @memberof MigrationApi
2062
+ */
2063
+ public getJsonSchemas(requestParameters: MigrationApiGetJsonSchemasRequest, options?: AxiosRequestConfig) {
2064
+ return MigrationApiFp(this.configuration).getJsonSchemas(requestParameters.sourceEntity, requestParameters.authorization, options).then((request) => request(this.axios, this.basePath));
2065
+ }
2066
+
2067
+ /**
2068
+ * 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\"
2069
+ * @summary List entity mappings
2070
+ * @param {MigrationApiListEntityMappingsRequest} requestParameters Request parameters.
2071
+ * @param {*} [options] Override http request option.
2072
+ * @throws {RequiredError}
2073
+ * @memberof MigrationApi
2074
+ */
2075
+ public listEntityMappings(requestParameters: MigrationApiListEntityMappingsRequest = {}, options?: AxiosRequestConfig) {
2076
+ return MigrationApiFp(this.configuration).listEntityMappings(requestParameters.authorization, requestParameters.pageSize, requestParameters.pageToken, requestParameters.filter, requestParameters.search, requestParameters.order, requestParameters.expand, requestParameters.filters, options).then((request) => request(this.axios, this.basePath));
2077
+ }
2078
+
2079
+ /**
2080
+ * 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\"
2081
+ * @summary List ingest flushes
2082
+ * @param {MigrationApiListIngestFlushesRequest} requestParameters Request parameters.
2083
+ * @param {*} [options] Override http request option.
2084
+ * @throws {RequiredError}
2085
+ * @memberof MigrationApi
2086
+ */
2087
+ public listIngestFlushes(requestParameters: MigrationApiListIngestFlushesRequest = {}, options?: AxiosRequestConfig) {
2088
+ return MigrationApiFp(this.configuration).listIngestFlushes(requestParameters.authorization, requestParameters.pageSize, requestParameters.pageToken, requestParameters.filter, requestParameters.search, requestParameters.order, requestParameters.expand, requestParameters.filters, options).then((request) => request(this.axios, this.basePath));
2089
+ }
2090
+
2091
+ /**
2092
+ * 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\"
2093
+ * @summary List ingest run records
2094
+ * @param {MigrationApiListIngestRunRecordsRequest} requestParameters Request parameters.
2095
+ * @param {*} [options] Override http request option.
2096
+ * @throws {RequiredError}
2097
+ * @memberof MigrationApi
2098
+ */
2099
+ public listIngestRunRecords(requestParameters: MigrationApiListIngestRunRecordsRequest, options?: AxiosRequestConfig) {
2100
+ return MigrationApiFp(this.configuration).listIngestRunRecords(requestParameters.code, requestParameters.authorization, requestParameters.pageSize, requestParameters.pageToken, requestParameters.filter, requestParameters.search, requestParameters.order, requestParameters.expand, requestParameters.filters, options).then((request) => request(this.axios, this.basePath));
2101
+ }
2102
+
2103
+ /**
2104
+ * 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\"
2105
+ * @summary List ingest runs
2106
+ * @param {MigrationApiListIngestRunsRequest} requestParameters Request parameters.
2107
+ * @param {*} [options] Override http request option.
2108
+ * @throws {RequiredError}
2109
+ * @memberof MigrationApi
2110
+ */
2111
+ public listIngestRuns(requestParameters: MigrationApiListIngestRunsRequest = {}, options?: AxiosRequestConfig) {
2112
+ return MigrationApiFp(this.configuration).listIngestRuns(requestParameters.authorization, requestParameters.pageSize, requestParameters.pageToken, requestParameters.filter, requestParameters.search, requestParameters.order, requestParameters.expand, requestParameters.filters, options).then((request) => request(this.axios, this.basePath));
2113
+ }
2114
+
2115
+ /**
2116
+ * This will stop the running ingest flush. **Required Permissions** \"migration.ingest-flushes.*\"
2117
+ * @summary Stops the ingest flush
2118
+ * @param {MigrationApiStopIngestFlushRequest} requestParameters Request parameters.
2119
+ * @param {*} [options] Override http request option.
2120
+ * @throws {RequiredError}
2121
+ * @memberof MigrationApi
2122
+ */
2123
+ public stopIngestFlush(requestParameters: MigrationApiStopIngestFlushRequest, options?: AxiosRequestConfig) {
2124
+ return MigrationApiFp(this.configuration).stopIngestFlush(requestParameters.code, requestParameters.stopIngestFlushRequestDto, requestParameters.authorization, options).then((request) => request(this.axios, this.basePath));
2125
+ }
2126
+
2127
+ /**
2128
+ * This will stop the running ingest run. **Required Permissions** \"migration.ingest-runs.*\"
2129
+ * @summary Stops the ingest run
2130
+ * @param {MigrationApiStopIngestRunRequest} requestParameters Request parameters.
2131
+ * @param {*} [options] Override http request option.
2132
+ * @throws {RequiredError}
2133
+ * @memberof MigrationApi
2134
+ */
2135
+ public stopIngestRun(requestParameters: MigrationApiStopIngestRunRequest, options?: AxiosRequestConfig) {
2136
+ return MigrationApiFp(this.configuration).stopIngestRun(requestParameters.code, requestParameters.stopIngestRunRequestDto, requestParameters.authorization, options).then((request) => request(this.axios, this.basePath));
2137
+ }
2138
+
2139
+ /**
2140
+ * This will stop the ingest run cleanup. **Required Permissions** \"migration.ingest-runs.*\"
2141
+ * @summary Stops the ingest run cleanup
2142
+ * @param {MigrationApiStopIngestRunCleanupRequest} requestParameters Request parameters.
2143
+ * @param {*} [options] Override http request option.
2144
+ * @throws {RequiredError}
2145
+ * @memberof MigrationApi
2146
+ */
2147
+ public stopIngestRunCleanup(requestParameters: MigrationApiStopIngestRunCleanupRequest, options?: AxiosRequestConfig) {
2148
+ return MigrationApiFp(this.configuration).stopIngestRunCleanup(requestParameters.code, requestParameters.stopIngestRunCleanupRequestDto, requestParameters.authorization, options).then((request) => request(this.axios, this.basePath));
2149
+ }
2150
+ }