@kadoa/node-sdk 0.16.1 → 0.17.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.mjs CHANGED
@@ -1,5 +1,5 @@
1
1
  import globalAxios2, { isAxiosError, AxiosError } from 'axios';
2
- import { URL, URLSearchParams } from 'url';
2
+ import { URL as URL$1, URLSearchParams } from 'url';
3
3
  import createDebug from 'debug';
4
4
  import { upperFirst, camelCase, merge } from 'es-toolkit';
5
5
  import assert from 'assert';
@@ -96,7 +96,7 @@ var DataValidationApiAxiosParamCreator = function(configuration) {
96
96
  */
97
97
  v4DataValidationRulesActionsBulkApprovePost: async (bulkApproveRules, options = {}) => {
98
98
  const localVarPath = `/v4/data-validation/rules/actions/bulk-approve`;
99
- const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
99
+ const localVarUrlObj = new URL$1(localVarPath, DUMMY_BASE_URL);
100
100
  let baseOptions;
101
101
  if (configuration) {
102
102
  baseOptions = configuration.baseOptions;
@@ -123,7 +123,7 @@ var DataValidationApiAxiosParamCreator = function(configuration) {
123
123
  */
124
124
  v4DataValidationRulesActionsBulkDeletePost: async (bulkDeleteRules, options = {}) => {
125
125
  const localVarPath = `/v4/data-validation/rules/actions/bulk-delete`;
126
- const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
126
+ const localVarUrlObj = new URL$1(localVarPath, DUMMY_BASE_URL);
127
127
  let baseOptions;
128
128
  if (configuration) {
129
129
  baseOptions = configuration.baseOptions;
@@ -150,7 +150,7 @@ var DataValidationApiAxiosParamCreator = function(configuration) {
150
150
  */
151
151
  v4DataValidationRulesActionsDeleteAllDelete: async (deleteRuleWithReason, options = {}) => {
152
152
  const localVarPath = `/v4/data-validation/rules/actions/delete-all`;
153
- const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
153
+ const localVarUrlObj = new URL$1(localVarPath, DUMMY_BASE_URL);
154
154
  let baseOptions;
155
155
  if (configuration) {
156
156
  baseOptions = configuration.baseOptions;
@@ -177,7 +177,7 @@ var DataValidationApiAxiosParamCreator = function(configuration) {
177
177
  */
178
178
  v4DataValidationRulesActionsGeneratePost: async (generateRule, options = {}) => {
179
179
  const localVarPath = `/v4/data-validation/rules/actions/generate`;
180
- const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
180
+ const localVarUrlObj = new URL$1(localVarPath, DUMMY_BASE_URL);
181
181
  let baseOptions;
182
182
  if (configuration) {
183
183
  baseOptions = configuration.baseOptions;
@@ -204,7 +204,7 @@ var DataValidationApiAxiosParamCreator = function(configuration) {
204
204
  */
205
205
  v4DataValidationRulesActionsGenerateRulesPost: async (generateRules, options = {}) => {
206
206
  const localVarPath = `/v4/data-validation/rules/actions/generate-rules`;
207
- const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
207
+ const localVarUrlObj = new URL$1(localVarPath, DUMMY_BASE_URL);
208
208
  let baseOptions;
209
209
  if (configuration) {
210
210
  baseOptions = configuration.baseOptions;
@@ -236,7 +236,7 @@ var DataValidationApiAxiosParamCreator = function(configuration) {
236
236
  */
237
237
  v4DataValidationRulesGet: async (groupId, workflowId, status, page, pageSize, includeDeleted, options = {}) => {
238
238
  const localVarPath = `/v4/data-validation/rules`;
239
- const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
239
+ const localVarUrlObj = new URL$1(localVarPath, DUMMY_BASE_URL);
240
240
  let baseOptions;
241
241
  if (configuration) {
242
242
  baseOptions = configuration.baseOptions;
@@ -281,7 +281,7 @@ var DataValidationApiAxiosParamCreator = function(configuration) {
281
281
  */
282
282
  v4DataValidationRulesPost: async (createRule, options = {}) => {
283
283
  const localVarPath = `/v4/data-validation/rules`;
284
- const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
284
+ const localVarUrlObj = new URL$1(localVarPath, DUMMY_BASE_URL);
285
285
  let baseOptions;
286
286
  if (configuration) {
287
287
  baseOptions = configuration.baseOptions;
@@ -310,7 +310,7 @@ var DataValidationApiAxiosParamCreator = function(configuration) {
310
310
  v4DataValidationRulesRuleIdDelete: async (ruleId, deleteRuleWithReason, options = {}) => {
311
311
  assertParamExists("v4DataValidationRulesRuleIdDelete", "ruleId", ruleId);
312
312
  const localVarPath = `/v4/data-validation/rules/{ruleId}`.replace(`{${"ruleId"}}`, encodeURIComponent(String(ruleId)));
313
- const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
313
+ const localVarUrlObj = new URL$1(localVarPath, DUMMY_BASE_URL);
314
314
  let baseOptions;
315
315
  if (configuration) {
316
316
  baseOptions = configuration.baseOptions;
@@ -339,7 +339,7 @@ var DataValidationApiAxiosParamCreator = function(configuration) {
339
339
  v4DataValidationRulesRuleIdDisablePost: async (ruleId, disableRule, options = {}) => {
340
340
  assertParamExists("v4DataValidationRulesRuleIdDisablePost", "ruleId", ruleId);
341
341
  const localVarPath = `/v4/data-validation/rules/{ruleId}/disable`.replace(`{${"ruleId"}}`, encodeURIComponent(String(ruleId)));
342
- const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
342
+ const localVarUrlObj = new URL$1(localVarPath, DUMMY_BASE_URL);
343
343
  let baseOptions;
344
344
  if (configuration) {
345
345
  baseOptions = configuration.baseOptions;
@@ -368,7 +368,7 @@ var DataValidationApiAxiosParamCreator = function(configuration) {
368
368
  v4DataValidationRulesRuleIdGet: async (ruleId, includeDeleted, options = {}) => {
369
369
  assertParamExists("v4DataValidationRulesRuleIdGet", "ruleId", ruleId);
370
370
  const localVarPath = `/v4/data-validation/rules/{ruleId}`.replace(`{${"ruleId"}}`, encodeURIComponent(String(ruleId)));
371
- const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
371
+ const localVarUrlObj = new URL$1(localVarPath, DUMMY_BASE_URL);
372
372
  let baseOptions;
373
373
  if (configuration) {
374
374
  baseOptions = configuration.baseOptions;
@@ -398,7 +398,7 @@ var DataValidationApiAxiosParamCreator = function(configuration) {
398
398
  v4DataValidationRulesRuleIdPut: async (ruleId, updateRule, options = {}) => {
399
399
  assertParamExists("v4DataValidationRulesRuleIdPut", "ruleId", ruleId);
400
400
  const localVarPath = `/v4/data-validation/rules/{ruleId}`.replace(`{${"ruleId"}}`, encodeURIComponent(String(ruleId)));
401
- const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
401
+ const localVarUrlObj = new URL$1(localVarPath, DUMMY_BASE_URL);
402
402
  let baseOptions;
403
403
  if (configuration) {
404
404
  baseOptions = configuration.baseOptions;
@@ -429,7 +429,7 @@ var DataValidationApiAxiosParamCreator = function(configuration) {
429
429
  v4DataValidationValidationsValidationIdAnomaliesGet: async (validationId, page, pageSize, options = {}) => {
430
430
  assertParamExists("v4DataValidationValidationsValidationIdAnomaliesGet", "validationId", validationId);
431
431
  const localVarPath = `/v4/data-validation/validations/{validationId}/anomalies`.replace(`{${"validationId"}}`, encodeURIComponent(String(validationId)));
432
- const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
432
+ const localVarUrlObj = new URL$1(localVarPath, DUMMY_BASE_URL);
433
433
  let baseOptions;
434
434
  if (configuration) {
435
435
  baseOptions = configuration.baseOptions;
@@ -466,7 +466,7 @@ var DataValidationApiAxiosParamCreator = function(configuration) {
466
466
  assertParamExists("v4DataValidationValidationsValidationIdAnomaliesRulesRuleNameGet", "validationId", validationId);
467
467
  assertParamExists("v4DataValidationValidationsValidationIdAnomaliesRulesRuleNameGet", "ruleName", ruleName);
468
468
  const localVarPath = `/v4/data-validation/validations/{validationId}/anomalies/rules/{ruleName}`.replace(`{${"validationId"}}`, encodeURIComponent(String(validationId))).replace(`{${"ruleName"}}`, encodeURIComponent(String(ruleName)));
469
- const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
469
+ const localVarUrlObj = new URL$1(localVarPath, DUMMY_BASE_URL);
470
470
  let baseOptions;
471
471
  if (configuration) {
472
472
  baseOptions = configuration.baseOptions;
@@ -500,7 +500,7 @@ var DataValidationApiAxiosParamCreator = function(configuration) {
500
500
  v4DataValidationValidationsValidationIdGet: async (validationId, includeDryRun, options = {}) => {
501
501
  assertParamExists("v4DataValidationValidationsValidationIdGet", "validationId", validationId);
502
502
  const localVarPath = `/v4/data-validation/validations/{validationId}`.replace(`{${"validationId"}}`, encodeURIComponent(String(validationId)));
503
- const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
503
+ const localVarUrlObj = new URL$1(localVarPath, DUMMY_BASE_URL);
504
504
  let baseOptions;
505
505
  if (configuration) {
506
506
  baseOptions = configuration.baseOptions;
@@ -533,7 +533,7 @@ var DataValidationApiAxiosParamCreator = function(configuration) {
533
533
  assertParamExists("v4DataValidationWorkflowIdJobsJobIdValidatePost", "workflowId", workflowId);
534
534
  assertParamExists("v4DataValidationWorkflowIdJobsJobIdValidatePost", "jobId", jobId);
535
535
  const localVarPath = `/v4/data-validation/{workflowId}/jobs/{jobId}/validate`.replace(`{${"workflowId"}}`, encodeURIComponent(String(workflowId))).replace(`{${"jobId"}}`, encodeURIComponent(String(jobId)));
536
- const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
536
+ const localVarUrlObj = new URL$1(localVarPath, DUMMY_BASE_URL);
537
537
  let baseOptions;
538
538
  if (configuration) {
539
539
  baseOptions = configuration.baseOptions;
@@ -565,7 +565,7 @@ var DataValidationApiAxiosParamCreator = function(configuration) {
565
565
  assertParamExists("v4DataValidationWorkflowsWorkflowIdJobsJobIdValidatePost", "workflowId", workflowId);
566
566
  assertParamExists("v4DataValidationWorkflowsWorkflowIdJobsJobIdValidatePost", "jobId", jobId);
567
567
  const localVarPath = `/v4/data-validation/workflows/{workflowId}/jobs/{jobId}/validate`.replace(`{${"workflowId"}}`, encodeURIComponent(String(workflowId))).replace(`{${"jobId"}}`, encodeURIComponent(String(jobId)));
568
- const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
568
+ const localVarUrlObj = new URL$1(localVarPath, DUMMY_BASE_URL);
569
569
  let baseOptions;
570
570
  if (configuration) {
571
571
  baseOptions = configuration.baseOptions;
@@ -599,7 +599,7 @@ var DataValidationApiAxiosParamCreator = function(configuration) {
599
599
  assertParamExists("v4DataValidationWorkflowsWorkflowIdJobsJobIdValidationsGet", "workflowId", workflowId);
600
600
  assertParamExists("v4DataValidationWorkflowsWorkflowIdJobsJobIdValidationsGet", "jobId", jobId);
601
601
  const localVarPath = `/v4/data-validation/workflows/{workflowId}/jobs/{jobId}/validations`.replace(`{${"workflowId"}}`, encodeURIComponent(String(workflowId))).replace(`{${"jobId"}}`, encodeURIComponent(String(jobId)));
602
- const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
602
+ const localVarUrlObj = new URL$1(localVarPath, DUMMY_BASE_URL);
603
603
  let baseOptions;
604
604
  if (configuration) {
605
605
  baseOptions = configuration.baseOptions;
@@ -638,7 +638,7 @@ var DataValidationApiAxiosParamCreator = function(configuration) {
638
638
  assertParamExists("v4DataValidationWorkflowsWorkflowIdJobsJobIdValidationsLatestGet", "workflowId", workflowId);
639
639
  assertParamExists("v4DataValidationWorkflowsWorkflowIdJobsJobIdValidationsLatestGet", "jobId", jobId);
640
640
  const localVarPath = `/v4/data-validation/workflows/{workflowId}/jobs/{jobId}/validations/latest`.replace(`{${"workflowId"}}`, encodeURIComponent(String(workflowId))).replace(`{${"jobId"}}`, encodeURIComponent(String(jobId)));
641
- const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
641
+ const localVarUrlObj = new URL$1(localVarPath, DUMMY_BASE_URL);
642
642
  let baseOptions;
643
643
  if (configuration) {
644
644
  baseOptions = configuration.baseOptions;
@@ -668,7 +668,7 @@ var DataValidationApiAxiosParamCreator = function(configuration) {
668
668
  v4DataValidationWorkflowsWorkflowIdValidationConfigGet: async (workflowId, options = {}) => {
669
669
  assertParamExists("v4DataValidationWorkflowsWorkflowIdValidationConfigGet", "workflowId", workflowId);
670
670
  const localVarPath = `/v4/data-validation/workflows/{workflowId}/validation/config`.replace(`{${"workflowId"}}`, encodeURIComponent(String(workflowId)));
671
- const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
671
+ const localVarUrlObj = new URL$1(localVarPath, DUMMY_BASE_URL);
672
672
  let baseOptions;
673
673
  if (configuration) {
674
674
  baseOptions = configuration.baseOptions;
@@ -696,7 +696,7 @@ var DataValidationApiAxiosParamCreator = function(configuration) {
696
696
  v4DataValidationWorkflowsWorkflowIdValidationConfigPut: async (workflowId, v4DataValidationWorkflowsWorkflowIdValidationConfigPutRequest, options = {}) => {
697
697
  assertParamExists("v4DataValidationWorkflowsWorkflowIdValidationConfigPut", "workflowId", workflowId);
698
698
  const localVarPath = `/v4/data-validation/workflows/{workflowId}/validation/config`.replace(`{${"workflowId"}}`, encodeURIComponent(String(workflowId)));
699
- const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
699
+ const localVarUrlObj = new URL$1(localVarPath, DUMMY_BASE_URL);
700
700
  let baseOptions;
701
701
  if (configuration) {
702
702
  baseOptions = configuration.baseOptions;
@@ -726,7 +726,7 @@ var DataValidationApiAxiosParamCreator = function(configuration) {
726
726
  v4DataValidationWorkflowsWorkflowIdValidationTogglePut: async (workflowId, v4DataValidationWorkflowsWorkflowIdValidationTogglePutRequest, options = {}) => {
727
727
  assertParamExists("v4DataValidationWorkflowsWorkflowIdValidationTogglePut", "workflowId", workflowId);
728
728
  const localVarPath = `/v4/data-validation/workflows/{workflowId}/validation/toggle`.replace(`{${"workflowId"}}`, encodeURIComponent(String(workflowId)));
729
- const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
729
+ const localVarUrlObj = new URL$1(localVarPath, DUMMY_BASE_URL);
730
730
  let baseOptions;
731
731
  if (configuration) {
732
732
  baseOptions = configuration.baseOptions;
@@ -756,7 +756,7 @@ var DataValidationApiAxiosParamCreator = function(configuration) {
756
756
  v4DataValidationWorkflowsWorkflowIdValidationsLatestGet: async (workflowId, includeDryRun, options = {}) => {
757
757
  assertParamExists("v4DataValidationWorkflowsWorkflowIdValidationsLatestGet", "workflowId", workflowId);
758
758
  const localVarPath = `/v4/data-validation/workflows/{workflowId}/validations/latest`.replace(`{${"workflowId"}}`, encodeURIComponent(String(workflowId)));
759
- const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
759
+ const localVarUrlObj = new URL$1(localVarPath, DUMMY_BASE_URL);
760
760
  let baseOptions;
761
761
  if (configuration) {
762
762
  baseOptions = configuration.baseOptions;
@@ -1309,7 +1309,7 @@ var NotificationsApiAxiosParamCreator = function(configuration) {
1309
1309
  v5NotificationsChannelsChannelIdDelete: async (channelId, options = {}) => {
1310
1310
  assertParamExists("v5NotificationsChannelsChannelIdDelete", "channelId", channelId);
1311
1311
  const localVarPath = `/v5/notifications/channels/{channelId}`.replace(`{${"channelId"}}`, encodeURIComponent(String(channelId)));
1312
- const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
1312
+ const localVarUrlObj = new URL$1(localVarPath, DUMMY_BASE_URL);
1313
1313
  let baseOptions;
1314
1314
  if (configuration) {
1315
1315
  baseOptions = configuration.baseOptions;
@@ -1330,13 +1330,14 @@ var NotificationsApiAxiosParamCreator = function(configuration) {
1330
1330
  *
1331
1331
  * @summary Retrieve a specific notification channel
1332
1332
  * @param {string} channelId Channel ID
1333
+ * @param {boolean} [includeConfigurations] Include linked notification configurations with workflow information
1333
1334
  * @param {*} [options] Override http request option.
1334
1335
  * @throws {RequiredError}
1335
1336
  */
1336
- v5NotificationsChannelsChannelIdGet: async (channelId, options = {}) => {
1337
+ v5NotificationsChannelsChannelIdGet: async (channelId, includeConfigurations, options = {}) => {
1337
1338
  assertParamExists("v5NotificationsChannelsChannelIdGet", "channelId", channelId);
1338
1339
  const localVarPath = `/v5/notifications/channels/{channelId}`.replace(`{${"channelId"}}`, encodeURIComponent(String(channelId)));
1339
- const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
1340
+ const localVarUrlObj = new URL$1(localVarPath, DUMMY_BASE_URL);
1340
1341
  let baseOptions;
1341
1342
  if (configuration) {
1342
1343
  baseOptions = configuration.baseOptions;
@@ -1345,6 +1346,9 @@ var NotificationsApiAxiosParamCreator = function(configuration) {
1345
1346
  const localVarHeaderParameter = {};
1346
1347
  const localVarQueryParameter = {};
1347
1348
  await setApiKeyToObject(localVarHeaderParameter, "x-api-key", configuration);
1349
+ if (includeConfigurations !== void 0) {
1350
+ localVarQueryParameter["includeConfigurations"] = includeConfigurations;
1351
+ }
1348
1352
  setSearchParams(localVarUrlObj, localVarQueryParameter);
1349
1353
  let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
1350
1354
  localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
@@ -1365,7 +1369,7 @@ var NotificationsApiAxiosParamCreator = function(configuration) {
1365
1369
  assertParamExists("v5NotificationsChannelsChannelIdPut", "channelId", channelId);
1366
1370
  assertParamExists("v5NotificationsChannelsChannelIdPut", "v5NotificationsChannelsPostRequest", v5NotificationsChannelsPostRequest);
1367
1371
  const localVarPath = `/v5/notifications/channels/{channelId}`.replace(`{${"channelId"}}`, encodeURIComponent(String(channelId)));
1368
- const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
1372
+ const localVarUrlObj = new URL$1(localVarPath, DUMMY_BASE_URL);
1369
1373
  let baseOptions;
1370
1374
  if (configuration) {
1371
1375
  baseOptions = configuration.baseOptions;
@@ -1388,12 +1392,13 @@ var NotificationsApiAxiosParamCreator = function(configuration) {
1388
1392
  *
1389
1393
  * @summary Retrieve all notification channels
1390
1394
  * @param {string} [workflowId] Workflow ID (optional, if provided returns channels linked to this workflow)
1395
+ * @param {boolean} [includeConfigurations] Include linked notification configurations with workflow information
1391
1396
  * @param {*} [options] Override http request option.
1392
1397
  * @throws {RequiredError}
1393
1398
  */
1394
- v5NotificationsChannelsGet: async (workflowId, options = {}) => {
1399
+ v5NotificationsChannelsGet: async (workflowId, includeConfigurations, options = {}) => {
1395
1400
  const localVarPath = `/v5/notifications/channels`;
1396
- const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
1401
+ const localVarUrlObj = new URL$1(localVarPath, DUMMY_BASE_URL);
1397
1402
  let baseOptions;
1398
1403
  if (configuration) {
1399
1404
  baseOptions = configuration.baseOptions;
@@ -1405,6 +1410,9 @@ var NotificationsApiAxiosParamCreator = function(configuration) {
1405
1410
  if (workflowId !== void 0) {
1406
1411
  localVarQueryParameter["workflowId"] = workflowId;
1407
1412
  }
1413
+ if (includeConfigurations !== void 0) {
1414
+ localVarQueryParameter["includeConfigurations"] = includeConfigurations;
1415
+ }
1408
1416
  setSearchParams(localVarUrlObj, localVarQueryParameter);
1409
1417
  let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
1410
1418
  localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
@@ -1423,7 +1431,7 @@ var NotificationsApiAxiosParamCreator = function(configuration) {
1423
1431
  v5NotificationsChannelsPost: async (v5NotificationsChannelsPostRequest, options = {}) => {
1424
1432
  assertParamExists("v5NotificationsChannelsPost", "v5NotificationsChannelsPostRequest", v5NotificationsChannelsPostRequest);
1425
1433
  const localVarPath = `/v5/notifications/channels`;
1426
- const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
1434
+ const localVarUrlObj = new URL$1(localVarPath, DUMMY_BASE_URL);
1427
1435
  let baseOptions;
1428
1436
  if (configuration) {
1429
1437
  baseOptions = configuration.baseOptions;
@@ -1452,7 +1460,7 @@ var NotificationsApiAxiosParamCreator = function(configuration) {
1452
1460
  v5NotificationsEventTypesEventTypeGet: async (eventType, options = {}) => {
1453
1461
  assertParamExists("v5NotificationsEventTypesEventTypeGet", "eventType", eventType);
1454
1462
  const localVarPath = `/v5/notifications/event-types/{eventType}`.replace(`{${"eventType"}}`, encodeURIComponent(String(eventType)));
1455
- const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
1463
+ const localVarUrlObj = new URL$1(localVarPath, DUMMY_BASE_URL);
1456
1464
  let baseOptions;
1457
1465
  if (configuration) {
1458
1466
  baseOptions = configuration.baseOptions;
@@ -1477,7 +1485,7 @@ var NotificationsApiAxiosParamCreator = function(configuration) {
1477
1485
  */
1478
1486
  v5NotificationsEventTypesGet: async (options = {}) => {
1479
1487
  const localVarPath = `/v5/notifications/event-types`;
1480
- const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
1488
+ const localVarUrlObj = new URL$1(localVarPath, DUMMY_BASE_URL);
1481
1489
  let baseOptions;
1482
1490
  if (configuration) {
1483
1491
  baseOptions = configuration.baseOptions;
@@ -1508,7 +1516,7 @@ var NotificationsApiAxiosParamCreator = function(configuration) {
1508
1516
  */
1509
1517
  v5NotificationsLogsGet: async (workflowId, eventType, startDate, endDate, limit, offset, options = {}) => {
1510
1518
  const localVarPath = `/v5/notifications/logs`;
1511
- const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
1519
+ const localVarUrlObj = new URL$1(localVarPath, DUMMY_BASE_URL);
1512
1520
  let baseOptions;
1513
1521
  if (configuration) {
1514
1522
  baseOptions = configuration.baseOptions;
@@ -1553,7 +1561,7 @@ var NotificationsApiAxiosParamCreator = function(configuration) {
1553
1561
  */
1554
1562
  v5NotificationsSettingsGet: async (workflowId, eventType, options = {}) => {
1555
1563
  const localVarPath = `/v5/notifications/settings`;
1556
- const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
1564
+ const localVarUrlObj = new URL$1(localVarPath, DUMMY_BASE_URL);
1557
1565
  let baseOptions;
1558
1566
  if (configuration) {
1559
1567
  baseOptions = configuration.baseOptions;
@@ -1586,7 +1594,7 @@ var NotificationsApiAxiosParamCreator = function(configuration) {
1586
1594
  v5NotificationsSettingsPost: async (v5NotificationsSettingsPostRequest, options = {}) => {
1587
1595
  assertParamExists("v5NotificationsSettingsPost", "v5NotificationsSettingsPostRequest", v5NotificationsSettingsPostRequest);
1588
1596
  const localVarPath = `/v5/notifications/settings`;
1589
- const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
1597
+ const localVarUrlObj = new URL$1(localVarPath, DUMMY_BASE_URL);
1590
1598
  let baseOptions;
1591
1599
  if (configuration) {
1592
1600
  baseOptions = configuration.baseOptions;
@@ -1615,7 +1623,7 @@ var NotificationsApiAxiosParamCreator = function(configuration) {
1615
1623
  v5NotificationsSettingsSettingsIdDelete: async (settingsId, options = {}) => {
1616
1624
  assertParamExists("v5NotificationsSettingsSettingsIdDelete", "settingsId", settingsId);
1617
1625
  const localVarPath = `/v5/notifications/settings/{settingsId}`.replace(`{${"settingsId"}}`, encodeURIComponent(String(settingsId)));
1618
- const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
1626
+ const localVarUrlObj = new URL$1(localVarPath, DUMMY_BASE_URL);
1619
1627
  let baseOptions;
1620
1628
  if (configuration) {
1621
1629
  baseOptions = configuration.baseOptions;
@@ -1642,7 +1650,7 @@ var NotificationsApiAxiosParamCreator = function(configuration) {
1642
1650
  v5NotificationsSettingsSettingsIdGet: async (settingsId, options = {}) => {
1643
1651
  assertParamExists("v5NotificationsSettingsSettingsIdGet", "settingsId", settingsId);
1644
1652
  const localVarPath = `/v5/notifications/settings/{settingsId}`.replace(`{${"settingsId"}}`, encodeURIComponent(String(settingsId)));
1645
- const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
1653
+ const localVarUrlObj = new URL$1(localVarPath, DUMMY_BASE_URL);
1646
1654
  let baseOptions;
1647
1655
  if (configuration) {
1648
1656
  baseOptions = configuration.baseOptions;
@@ -1671,7 +1679,7 @@ var NotificationsApiAxiosParamCreator = function(configuration) {
1671
1679
  assertParamExists("v5NotificationsSettingsSettingsIdPut", "settingsId", settingsId);
1672
1680
  assertParamExists("v5NotificationsSettingsSettingsIdPut", "v5NotificationsSettingsSettingsIdPutRequest", v5NotificationsSettingsSettingsIdPutRequest);
1673
1681
  const localVarPath = `/v5/notifications/settings/{settingsId}`.replace(`{${"settingsId"}}`, encodeURIComponent(String(settingsId)));
1674
- const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
1682
+ const localVarUrlObj = new URL$1(localVarPath, DUMMY_BASE_URL);
1675
1683
  let baseOptions;
1676
1684
  if (configuration) {
1677
1685
  baseOptions = configuration.baseOptions;
@@ -1700,7 +1708,7 @@ var NotificationsApiAxiosParamCreator = function(configuration) {
1700
1708
  v5NotificationsTestPost: async (v5NotificationsTestPostRequest, options = {}) => {
1701
1709
  assertParamExists("v5NotificationsTestPost", "v5NotificationsTestPostRequest", v5NotificationsTestPostRequest);
1702
1710
  const localVarPath = `/v5/notifications/test`;
1703
- const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
1711
+ const localVarUrlObj = new URL$1(localVarPath, DUMMY_BASE_URL);
1704
1712
  let baseOptions;
1705
1713
  if (configuration) {
1706
1714
  baseOptions = configuration.baseOptions;
@@ -1741,11 +1749,12 @@ var NotificationsApiFp = function(configuration) {
1741
1749
  *
1742
1750
  * @summary Retrieve a specific notification channel
1743
1751
  * @param {string} channelId Channel ID
1752
+ * @param {boolean} [includeConfigurations] Include linked notification configurations with workflow information
1744
1753
  * @param {*} [options] Override http request option.
1745
1754
  * @throws {RequiredError}
1746
1755
  */
1747
- async v5NotificationsChannelsChannelIdGet(channelId, options) {
1748
- const localVarAxiosArgs = await localVarAxiosParamCreator.v5NotificationsChannelsChannelIdGet(channelId, options);
1756
+ async v5NotificationsChannelsChannelIdGet(channelId, includeConfigurations, options) {
1757
+ const localVarAxiosArgs = await localVarAxiosParamCreator.v5NotificationsChannelsChannelIdGet(channelId, includeConfigurations, options);
1749
1758
  const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
1750
1759
  const localVarOperationServerBasePath = operationServerMap["NotificationsApi.v5NotificationsChannelsChannelIdGet"]?.[localVarOperationServerIndex]?.url;
1751
1760
  return (axios2, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios2, BASE_PATH, configuration)(axios2, localVarOperationServerBasePath || basePath);
@@ -1768,11 +1777,12 @@ var NotificationsApiFp = function(configuration) {
1768
1777
  *
1769
1778
  * @summary Retrieve all notification channels
1770
1779
  * @param {string} [workflowId] Workflow ID (optional, if provided returns channels linked to this workflow)
1780
+ * @param {boolean} [includeConfigurations] Include linked notification configurations with workflow information
1771
1781
  * @param {*} [options] Override http request option.
1772
1782
  * @throws {RequiredError}
1773
1783
  */
1774
- async v5NotificationsChannelsGet(workflowId, options) {
1775
- const localVarAxiosArgs = await localVarAxiosParamCreator.v5NotificationsChannelsGet(workflowId, options);
1784
+ async v5NotificationsChannelsGet(workflowId, includeConfigurations, options) {
1785
+ const localVarAxiosArgs = await localVarAxiosParamCreator.v5NotificationsChannelsGet(workflowId, includeConfigurations, options);
1776
1786
  const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
1777
1787
  const localVarOperationServerBasePath = operationServerMap["NotificationsApi.v5NotificationsChannelsGet"]?.[localVarOperationServerIndex]?.url;
1778
1788
  return (axios2, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios2, BASE_PATH, configuration)(axios2, localVarOperationServerBasePath || basePath);
@@ -1934,7 +1944,7 @@ var NotificationsApi = class extends BaseAPI {
1934
1944
  * @throws {RequiredError}
1935
1945
  */
1936
1946
  v5NotificationsChannelsChannelIdGet(requestParameters, options) {
1937
- return NotificationsApiFp(this.configuration).v5NotificationsChannelsChannelIdGet(requestParameters.channelId, options).then((request) => request(this.axios, this.basePath));
1947
+ return NotificationsApiFp(this.configuration).v5NotificationsChannelsChannelIdGet(requestParameters.channelId, requestParameters.includeConfigurations, options).then((request) => request(this.axios, this.basePath));
1938
1948
  }
1939
1949
  /**
1940
1950
  *
@@ -1954,7 +1964,7 @@ var NotificationsApi = class extends BaseAPI {
1954
1964
  * @throws {RequiredError}
1955
1965
  */
1956
1966
  v5NotificationsChannelsGet(requestParameters = {}, options) {
1957
- return NotificationsApiFp(this.configuration).v5NotificationsChannelsGet(requestParameters.workflowId, options).then((request) => request(this.axios, this.basePath));
1967
+ return NotificationsApiFp(this.configuration).v5NotificationsChannelsGet(requestParameters.workflowId, requestParameters.includeConfigurations, options).then((request) => request(this.axios, this.basePath));
1958
1968
  }
1959
1969
  /**
1960
1970
  *
@@ -2077,7 +2087,7 @@ var SchemasApiAxiosParamCreator = function(configuration) {
2077
2087
  */
2078
2088
  v4SchemasGet: async (options = {}) => {
2079
2089
  const localVarPath = `/v4/schemas/`;
2080
- const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
2090
+ const localVarUrlObj = new URL$1(localVarPath, DUMMY_BASE_URL);
2081
2091
  let baseOptions;
2082
2092
  if (configuration) {
2083
2093
  baseOptions = configuration.baseOptions;
@@ -2103,7 +2113,7 @@ var SchemasApiAxiosParamCreator = function(configuration) {
2103
2113
  */
2104
2114
  v4SchemasPost: async (createSchemaBody, options = {}) => {
2105
2115
  const localVarPath = `/v4/schemas/`;
2106
- const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
2116
+ const localVarUrlObj = new URL$1(localVarPath, DUMMY_BASE_URL);
2107
2117
  let baseOptions;
2108
2118
  if (configuration) {
2109
2119
  baseOptions = configuration.baseOptions;
@@ -2132,7 +2142,7 @@ var SchemasApiAxiosParamCreator = function(configuration) {
2132
2142
  v4SchemasSchemaIdDelete: async (schemaId, options = {}) => {
2133
2143
  assertParamExists("v4SchemasSchemaIdDelete", "schemaId", schemaId);
2134
2144
  const localVarPath = `/v4/schemas/{schemaId}`.replace(`{${"schemaId"}}`, encodeURIComponent(String(schemaId)));
2135
- const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
2145
+ const localVarUrlObj = new URL$1(localVarPath, DUMMY_BASE_URL);
2136
2146
  let baseOptions;
2137
2147
  if (configuration) {
2138
2148
  baseOptions = configuration.baseOptions;
@@ -2159,7 +2169,7 @@ var SchemasApiAxiosParamCreator = function(configuration) {
2159
2169
  v4SchemasSchemaIdGet: async (schemaId, options = {}) => {
2160
2170
  assertParamExists("v4SchemasSchemaIdGet", "schemaId", schemaId);
2161
2171
  const localVarPath = `/v4/schemas/{schemaId}`.replace(`{${"schemaId"}}`, encodeURIComponent(String(schemaId)));
2162
- const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
2172
+ const localVarUrlObj = new URL$1(localVarPath, DUMMY_BASE_URL);
2163
2173
  let baseOptions;
2164
2174
  if (configuration) {
2165
2175
  baseOptions = configuration.baseOptions;
@@ -2187,7 +2197,7 @@ var SchemasApiAxiosParamCreator = function(configuration) {
2187
2197
  v4SchemasSchemaIdPut: async (schemaId, updateSchemaBody, options = {}) => {
2188
2198
  assertParamExists("v4SchemasSchemaIdPut", "schemaId", schemaId);
2189
2199
  const localVarPath = `/v4/schemas/{schemaId}`.replace(`{${"schemaId"}}`, encodeURIComponent(String(schemaId)));
2190
- const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
2200
+ const localVarUrlObj = new URL$1(localVarPath, DUMMY_BASE_URL);
2191
2201
  let baseOptions;
2192
2202
  if (configuration) {
2193
2203
  baseOptions = configuration.baseOptions;
@@ -2343,7 +2353,7 @@ var WorkflowsApiAxiosParamCreator = function(configuration) {
2343
2353
  v4ChangesChangeIdGet: async (changeId, xApiKey, authorization, options = {}) => {
2344
2354
  assertParamExists("v4ChangesChangeIdGet", "changeId", changeId);
2345
2355
  const localVarPath = `/v4/changes/{changeId}`.replace(`{${"changeId"}}`, encodeURIComponent(String(changeId)));
2346
- const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
2356
+ const localVarUrlObj = new URL$1(localVarPath, DUMMY_BASE_URL);
2347
2357
  let baseOptions;
2348
2358
  if (configuration) {
2349
2359
  baseOptions = configuration.baseOptions;
@@ -2382,7 +2392,7 @@ var WorkflowsApiAxiosParamCreator = function(configuration) {
2382
2392
  */
2383
2393
  v4ChangesGet: async (xApiKey, authorization, workflowIds, startDate, endDate, skip, limit, options = {}) => {
2384
2394
  const localVarPath = `/v4/changes`;
2385
- const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
2395
+ const localVarUrlObj = new URL$1(localVarPath, DUMMY_BASE_URL);
2386
2396
  let baseOptions;
2387
2397
  if (configuration) {
2388
2398
  baseOptions = configuration.baseOptions;
@@ -2440,7 +2450,7 @@ var WorkflowsApiAxiosParamCreator = function(configuration) {
2440
2450
  */
2441
2451
  v4WorkflowsGet: async (search, skip, limit, state, tags, monitoring, updateInterval, templateId, userId, includeDeleted, format, options = {}) => {
2442
2452
  const localVarPath = `/v4/workflows`;
2443
- const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
2453
+ const localVarUrlObj = new URL$1(localVarPath, DUMMY_BASE_URL);
2444
2454
  let baseOptions;
2445
2455
  if (configuration) {
2446
2456
  baseOptions = configuration.baseOptions;
@@ -2499,7 +2509,7 @@ var WorkflowsApiAxiosParamCreator = function(configuration) {
2499
2509
  */
2500
2510
  v4WorkflowsPost: async (createWorkflowBody, options = {}) => {
2501
2511
  const localVarPath = `/v4/workflows/`;
2502
- const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
2512
+ const localVarUrlObj = new URL$1(localVarPath, DUMMY_BASE_URL);
2503
2513
  let baseOptions;
2504
2514
  if (configuration) {
2505
2515
  baseOptions = configuration.baseOptions;
@@ -2532,7 +2542,7 @@ var WorkflowsApiAxiosParamCreator = function(configuration) {
2532
2542
  v4WorkflowsWorkflowIdAuditlogGet: async (workflowId, xApiKey, authorization, page, limit, options = {}) => {
2533
2543
  assertParamExists("v4WorkflowsWorkflowIdAuditlogGet", "workflowId", workflowId);
2534
2544
  const localVarPath = `/v4/workflows/{workflowId}/auditlog`.replace(`{${"workflowId"}}`, encodeURIComponent(String(workflowId)));
2535
- const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
2545
+ const localVarUrlObj = new URL$1(localVarPath, DUMMY_BASE_URL);
2536
2546
  let baseOptions;
2537
2547
  if (configuration) {
2538
2548
  baseOptions = configuration.baseOptions;
@@ -2574,7 +2584,7 @@ var WorkflowsApiAxiosParamCreator = function(configuration) {
2574
2584
  v4WorkflowsWorkflowIdComplianceApprovePut: async (workflowId, xApiKey, authorization, options = {}) => {
2575
2585
  assertParamExists("v4WorkflowsWorkflowIdComplianceApprovePut", "workflowId", workflowId);
2576
2586
  const localVarPath = `/v4/workflows/{workflowId}/compliance-approve`.replace(`{${"workflowId"}}`, encodeURIComponent(String(workflowId)));
2577
- const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
2587
+ const localVarUrlObj = new URL$1(localVarPath, DUMMY_BASE_URL);
2578
2588
  let baseOptions;
2579
2589
  if (configuration) {
2580
2590
  baseOptions = configuration.baseOptions;
@@ -2611,7 +2621,7 @@ var WorkflowsApiAxiosParamCreator = function(configuration) {
2611
2621
  assertParamExists("v4WorkflowsWorkflowIdComplianceRejectPut", "workflowId", workflowId);
2612
2622
  assertParamExists("v4WorkflowsWorkflowIdComplianceRejectPut", "v4WorkflowsWorkflowIdComplianceRejectPutRequest", v4WorkflowsWorkflowIdComplianceRejectPutRequest);
2613
2623
  const localVarPath = `/v4/workflows/{workflowId}/compliance-reject`.replace(`{${"workflowId"}}`, encodeURIComponent(String(workflowId)));
2614
- const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
2624
+ const localVarUrlObj = new URL$1(localVarPath, DUMMY_BASE_URL);
2615
2625
  let baseOptions;
2616
2626
  if (configuration) {
2617
2627
  baseOptions = configuration.baseOptions;
@@ -2658,7 +2668,7 @@ var WorkflowsApiAxiosParamCreator = function(configuration) {
2658
2668
  v4WorkflowsWorkflowIdDataGet: async (workflowId, xApiKey, authorization, runId, format, sortBy, order, filters, page, limit, gzip, rowIds, includeAnomalies, options = {}) => {
2659
2669
  assertParamExists("v4WorkflowsWorkflowIdDataGet", "workflowId", workflowId);
2660
2670
  const localVarPath = `/v4/workflows/{workflowId}/data`.replace(`{${"workflowId"}}`, encodeURIComponent(String(workflowId)));
2661
- const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
2671
+ const localVarUrlObj = new URL$1(localVarPath, DUMMY_BASE_URL);
2662
2672
  let baseOptions;
2663
2673
  if (configuration) {
2664
2674
  baseOptions = configuration.baseOptions;
@@ -2722,7 +2732,7 @@ var WorkflowsApiAxiosParamCreator = function(configuration) {
2722
2732
  v4WorkflowsWorkflowIdDelete: async (workflowId, options = {}) => {
2723
2733
  assertParamExists("v4WorkflowsWorkflowIdDelete", "workflowId", workflowId);
2724
2734
  const localVarPath = `/v4/workflows/{workflowId}`.replace(`{${"workflowId"}}`, encodeURIComponent(String(workflowId)));
2725
- const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
2735
+ const localVarUrlObj = new URL$1(localVarPath, DUMMY_BASE_URL);
2726
2736
  let baseOptions;
2727
2737
  if (configuration) {
2728
2738
  baseOptions = configuration.baseOptions;
@@ -2749,7 +2759,7 @@ var WorkflowsApiAxiosParamCreator = function(configuration) {
2749
2759
  v4WorkflowsWorkflowIdGet: async (workflowId, options = {}) => {
2750
2760
  assertParamExists("v4WorkflowsWorkflowIdGet", "workflowId", workflowId);
2751
2761
  const localVarPath = `/v4/workflows/{workflowId}`.replace(`{${"workflowId"}}`, encodeURIComponent(String(workflowId)));
2752
- const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
2762
+ const localVarUrlObj = new URL$1(localVarPath, DUMMY_BASE_URL);
2753
2763
  let baseOptions;
2754
2764
  if (configuration) {
2755
2765
  baseOptions = configuration.baseOptions;
@@ -2776,7 +2786,7 @@ var WorkflowsApiAxiosParamCreator = function(configuration) {
2776
2786
  v4WorkflowsWorkflowIdHistoryGet: async (workflowId, options = {}) => {
2777
2787
  assertParamExists("v4WorkflowsWorkflowIdHistoryGet", "workflowId", workflowId);
2778
2788
  const localVarPath = `/v4/workflows/{workflowId}/history`.replace(`{${"workflowId"}}`, encodeURIComponent(String(workflowId)));
2779
- const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
2789
+ const localVarUrlObj = new URL$1(localVarPath, DUMMY_BASE_URL);
2780
2790
  let baseOptions;
2781
2791
  if (configuration) {
2782
2792
  baseOptions = configuration.baseOptions;
@@ -2805,7 +2815,7 @@ var WorkflowsApiAxiosParamCreator = function(configuration) {
2805
2815
  assertParamExists("v4WorkflowsWorkflowIdJobsJobIdGet", "workflowId", workflowId);
2806
2816
  assertParamExists("v4WorkflowsWorkflowIdJobsJobIdGet", "jobId", jobId);
2807
2817
  const localVarPath = `/v4/workflows/{workflowId}/jobs/{jobId}`.replace(`{${"workflowId"}}`, encodeURIComponent(String(workflowId))).replace(`{${"jobId"}}`, encodeURIComponent(String(jobId)));
2808
- const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
2818
+ const localVarUrlObj = new URL$1(localVarPath, DUMMY_BASE_URL);
2809
2819
  let baseOptions;
2810
2820
  if (configuration) {
2811
2821
  baseOptions = configuration.baseOptions;
@@ -2834,7 +2844,7 @@ var WorkflowsApiAxiosParamCreator = function(configuration) {
2834
2844
  assertParamExists("v4WorkflowsWorkflowIdMetadataPut", "workflowId", workflowId);
2835
2845
  assertParamExists("v4WorkflowsWorkflowIdMetadataPut", "v4WorkflowsWorkflowIdMetadataPutRequest", v4WorkflowsWorkflowIdMetadataPutRequest);
2836
2846
  const localVarPath = `/v4/workflows/{workflowId}/metadata`.replace(`{${"workflowId"}}`, encodeURIComponent(String(workflowId)));
2837
- const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
2847
+ const localVarUrlObj = new URL$1(localVarPath, DUMMY_BASE_URL);
2838
2848
  let baseOptions;
2839
2849
  if (configuration) {
2840
2850
  baseOptions = configuration.baseOptions;
@@ -2863,7 +2873,7 @@ var WorkflowsApiAxiosParamCreator = function(configuration) {
2863
2873
  v4WorkflowsWorkflowIdPausePut: async (workflowId, options = {}) => {
2864
2874
  assertParamExists("v4WorkflowsWorkflowIdPausePut", "workflowId", workflowId);
2865
2875
  const localVarPath = `/v4/workflows/{workflowId}/pause`.replace(`{${"workflowId"}}`, encodeURIComponent(String(workflowId)));
2866
- const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
2876
+ const localVarUrlObj = new URL$1(localVarPath, DUMMY_BASE_URL);
2867
2877
  let baseOptions;
2868
2878
  if (configuration) {
2869
2879
  baseOptions = configuration.baseOptions;
@@ -2890,7 +2900,7 @@ var WorkflowsApiAxiosParamCreator = function(configuration) {
2890
2900
  v4WorkflowsWorkflowIdResumePut: async (workflowId, options = {}) => {
2891
2901
  assertParamExists("v4WorkflowsWorkflowIdResumePut", "workflowId", workflowId);
2892
2902
  const localVarPath = `/v4/workflows/{workflowId}/resume`.replace(`{${"workflowId"}}`, encodeURIComponent(String(workflowId)));
2893
- const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
2903
+ const localVarUrlObj = new URL$1(localVarPath, DUMMY_BASE_URL);
2894
2904
  let baseOptions;
2895
2905
  if (configuration) {
2896
2906
  baseOptions = configuration.baseOptions;
@@ -2918,7 +2928,7 @@ var WorkflowsApiAxiosParamCreator = function(configuration) {
2918
2928
  v4WorkflowsWorkflowIdRunPut: async (workflowId, v4WorkflowsWorkflowIdRunPutRequest, options = {}) => {
2919
2929
  assertParamExists("v4WorkflowsWorkflowIdRunPut", "workflowId", workflowId);
2920
2930
  const localVarPath = `/v4/workflows/{workflowId}/run`.replace(`{${"workflowId"}}`, encodeURIComponent(String(workflowId)));
2921
- const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
2931
+ const localVarUrlObj = new URL$1(localVarPath, DUMMY_BASE_URL);
2922
2932
  let baseOptions;
2923
2933
  if (configuration) {
2924
2934
  baseOptions = configuration.baseOptions;
@@ -2949,7 +2959,7 @@ var WorkflowsApiAxiosParamCreator = function(configuration) {
2949
2959
  assertParamExists("v4WorkflowsWorkflowIdSchedulePut", "workflowId", workflowId);
2950
2960
  assertParamExists("v4WorkflowsWorkflowIdSchedulePut", "v4WorkflowsWorkflowIdSchedulePutRequest", v4WorkflowsWorkflowIdSchedulePutRequest);
2951
2961
  const localVarPath = `/v4/workflows/{workflowId}/schedule`.replace(`{${"workflowId"}}`, encodeURIComponent(String(workflowId)));
2952
- const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
2962
+ const localVarUrlObj = new URL$1(localVarPath, DUMMY_BASE_URL);
2953
2963
  let baseOptions;
2954
2964
  if (configuration) {
2955
2965
  baseOptions = configuration.baseOptions;
@@ -2980,7 +2990,7 @@ var WorkflowsApiAxiosParamCreator = function(configuration) {
2980
2990
  v5ChangesChangeIdGet: async (changeId, xApiKey, authorization, options = {}) => {
2981
2991
  assertParamExists("v5ChangesChangeIdGet", "changeId", changeId);
2982
2992
  const localVarPath = `/v5/changes/{changeId}`.replace(`{${"changeId"}}`, encodeURIComponent(String(changeId)));
2983
- const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
2993
+ const localVarUrlObj = new URL$1(localVarPath, DUMMY_BASE_URL);
2984
2994
  let baseOptions;
2985
2995
  if (configuration) {
2986
2996
  baseOptions = configuration.baseOptions;
@@ -3019,7 +3029,7 @@ var WorkflowsApiAxiosParamCreator = function(configuration) {
3019
3029
  */
3020
3030
  v5ChangesGet: async (xApiKey, authorization, workflowIds, startDate, endDate, skip, limit, options = {}) => {
3021
3031
  const localVarPath = `/v5/changes`;
3022
- const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
3032
+ const localVarUrlObj = new URL$1(localVarPath, DUMMY_BASE_URL);
3023
3033
  let baseOptions;
3024
3034
  if (configuration) {
3025
3035
  baseOptions = configuration.baseOptions;
@@ -3072,7 +3082,7 @@ var WorkflowsApiAxiosParamCreator = function(configuration) {
3072
3082
  v5WorkflowsWorkflowIdAuditlogGet: async (workflowId, xApiKey, authorization, page, limit, options = {}) => {
3073
3083
  assertParamExists("v5WorkflowsWorkflowIdAuditlogGet", "workflowId", workflowId);
3074
3084
  const localVarPath = `/v5/workflows/{workflowId}/auditlog`.replace(`{${"workflowId"}}`, encodeURIComponent(String(workflowId)));
3075
- const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
3085
+ const localVarUrlObj = new URL$1(localVarPath, DUMMY_BASE_URL);
3076
3086
  let baseOptions;
3077
3087
  if (configuration) {
3078
3088
  baseOptions = configuration.baseOptions;
@@ -3634,6 +3644,7 @@ var Configuration = class {
3634
3644
  this.username = param.username;
3635
3645
  this.password = param.password;
3636
3646
  this.accessToken = param.accessToken;
3647
+ this.awsv4 = param.awsv4;
3637
3648
  this.basePath = param.basePath;
3638
3649
  this.serverIndex = param.serverIndex;
3639
3650
  this.baseOptions = {
@@ -4316,7 +4327,6 @@ var DEFAULT_OPTIONS = {
4316
4327
  maxWaitTime: 3e5,
4317
4328
  navigationMode: "single-page",
4318
4329
  location: { type: "auto" },
4319
- name: "Untitled Workflow",
4320
4330
  bypassPreview: true,
4321
4331
  autoStart: true
4322
4332
  };
@@ -5160,7 +5170,7 @@ var WSS_API_URI = process.env.KADOA_WSS_API_URI ?? "wss://realtime.kadoa.com";
5160
5170
  var REALTIME_API_URI = process.env.KADOA_REALTIME_API_URI ?? "https://realtime.kadoa.com";
5161
5171
 
5162
5172
  // src/version.ts
5163
- var SDK_VERSION = "0.16.1";
5173
+ var SDK_VERSION = "0.17.0";
5164
5174
  var SDK_NAME = "kadoa-node-sdk";
5165
5175
  var SDK_LANGUAGE = "node";
5166
5176
 
@@ -5176,16 +5186,7 @@ var Realtime = class {
5176
5186
  this.eventListeners = /* @__PURE__ */ new Set();
5177
5187
  this.connectionListeners = /* @__PURE__ */ new Set();
5178
5188
  this.errorListeners = /* @__PURE__ */ new Set();
5179
- if (!config.teamApiKey.startsWith("tk-")) {
5180
- throw new KadoaSdkException(
5181
- "Realtime connection requires a team API key (starting with 'tk-'). Provided key does not appear to be a team API key.",
5182
- {
5183
- code: "AUTH_ERROR",
5184
- details: { providedKeyPrefix: config.teamApiKey.substring(0, 3) }
5185
- }
5186
- );
5187
- }
5188
- this.teamApiKey = config.teamApiKey;
5189
+ this.apiKey = config.apiKey;
5189
5190
  this.heartbeatInterval = config.heartbeatInterval || 1e4;
5190
5191
  this.reconnectDelay = config.reconnectDelay || 5e3;
5191
5192
  this.missedHeartbeatsLimit = config.missedHeartbeatsLimit || 3e4;
@@ -5198,7 +5199,7 @@ var Realtime = class {
5198
5199
  method: "POST",
5199
5200
  headers: {
5200
5201
  "Content-Type": "application/json",
5201
- "x-api-key": `${this.teamApiKey}`,
5202
+ "x-api-key": `${this.apiKey}`,
5202
5203
  "x-sdk-version": SDK_VERSION
5203
5204
  }
5204
5205
  });
@@ -5449,6 +5450,48 @@ function validateAdditionalData(additionalData) {
5449
5450
  }
5450
5451
  }
5451
5452
 
5453
+ // src/runtime/utils/version-check.ts
5454
+ var NPM_REGISTRY_URL = "https://registry.npmjs.org";
5455
+ var PACKAGE_NAME = "@kadoa/node-sdk";
5456
+ async function checkForUpdates() {
5457
+ try {
5458
+ const response = await fetch(`${NPM_REGISTRY_URL}/${PACKAGE_NAME}`, {
5459
+ headers: {
5460
+ Accept: "application/json"
5461
+ }
5462
+ });
5463
+ if (!response.ok) {
5464
+ return;
5465
+ }
5466
+ const data = await response.json();
5467
+ const latestVersion = data["dist-tags"]?.latest;
5468
+ if (!latestVersion) {
5469
+ return;
5470
+ }
5471
+ if (isNewerVersion(latestVersion, SDK_VERSION)) {
5472
+ console.warn(
5473
+ `\u26A0\uFE0F A new version of ${SDK_NAME} is available: ${latestVersion} (current: ${SDK_VERSION}). Update with: npm install ${PACKAGE_NAME}@latest`
5474
+ );
5475
+ }
5476
+ } catch (error) {
5477
+ }
5478
+ }
5479
+ function isNewerVersion(version1, version2) {
5480
+ const v1Parts = version1.split(".").map(Number);
5481
+ const v2Parts = version2.split(".").map(Number);
5482
+ for (let i = 0; i < Math.max(v1Parts.length, v2Parts.length); i++) {
5483
+ const v1Part = v1Parts[i] || 0;
5484
+ const v2Part = v2Parts[i] || 0;
5485
+ if (v1Part > v2Part) {
5486
+ return true;
5487
+ }
5488
+ if (v1Part < v2Part) {
5489
+ return false;
5490
+ }
5491
+ }
5492
+ return false;
5493
+ }
5494
+
5452
5495
  // src/domains/validation/validation-core.service.ts
5453
5496
  var ValidationCoreService = class {
5454
5497
  constructor(client) {
@@ -5731,13 +5774,14 @@ var WorkflowsCoreService = class {
5731
5774
  }
5732
5775
  async create(input) {
5733
5776
  validateAdditionalData(input.additionalData);
5777
+ const domainName = new URL(input.urls[0]).hostname;
5734
5778
  const request = {
5735
5779
  urls: input.urls,
5736
- name: input.name,
5780
+ name: input.name ?? domainName,
5737
5781
  schemaId: input.schemaId,
5738
5782
  description: input.description,
5739
5783
  navigationMode: input.navigationMode,
5740
- entity: input.entity,
5784
+ entity: input.entity ?? "",
5741
5785
  fields: input.fields,
5742
5786
  bypassPreview: input.bypassPreview ?? true,
5743
5787
  tags: input.tags,
@@ -6019,6 +6063,8 @@ var KadoaClient = class {
6019
6063
  if (config.enableRealtime && config.realtimeConfig?.autoConnect !== false) {
6020
6064
  this.connectRealtime();
6021
6065
  }
6066
+ checkForUpdates().catch(() => {
6067
+ });
6022
6068
  }
6023
6069
  /**
6024
6070
  * Get the underlying configuration
@@ -6112,7 +6158,7 @@ var KadoaClient = class {
6112
6158
  */
6113
6159
  connectRealtime() {
6114
6160
  if (!this._realtime) {
6115
- this._realtime = new Realtime({ teamApiKey: this._apiKey });
6161
+ this._realtime = new Realtime({ apiKey: this._apiKey });
6116
6162
  this._realtime.connect();
6117
6163
  }
6118
6164
  return this._realtime;
@@ -6154,6 +6200,6 @@ var KadoaClient = class {
6154
6200
  }
6155
6201
  };
6156
6202
 
6157
- export { DataFetcherService, ERROR_MESSAGES, EntityResolverService, ExtractionBuilderService, ExtractionService, FetchDataOptions, KadoaClient, KadoaHttpException, KadoaSdkException, NotificationChannelType, NotificationChannelsService, V5NotificationsSettingsGetEventTypeEnum as NotificationSettingsEventTypeEnum, NotificationSettingsService, NotificationSetupService, Realtime, SchemaBuilder, SchemaFieldDataType, SchemasService, UserService, ValidationCoreService, ValidationRulesService, WorkflowsCoreService, pollUntil, validateAdditionalData };
6203
+ export { DataFetcherService, ERROR_MESSAGES, EntityResolverService, ExtractionBuilderService, ExtractionService, FetchDataOptions, KadoaClient, KadoaHttpException, KadoaSdkException, NotificationChannelType, NotificationChannelsService, V5NotificationsSettingsGetEventTypeEnum as NotificationSettingsEventTypeEnum, NotificationSettingsService, NotificationSetupService, Realtime, SchemaBuilder, SchemaFieldDataType, SchemasService, TERMINAL_JOB_STATES, TERMINAL_RUN_STATES, UserService, ValidationCoreService, ValidationRulesService, WorkflowsCoreService, pollUntil, validateAdditionalData };
6158
6204
  //# sourceMappingURL=index.mjs.map
6159
6205
  //# sourceMappingURL=index.mjs.map