@umbraco-automate/mcp 17.6.0 → 18.6.2

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.js CHANGED
@@ -13,7 +13,7 @@ config({ quiet: true });
13
13
 
14
14
  // package.json
15
15
  var package_default = {
16
- version: "17.6.0"};
16
+ version: "18.6.2"};
17
17
  var customInstance = async (config2, options) => {
18
18
  const mergedConfig = { ...config2, ...options };
19
19
  return UmbracoManagementClient(mergedConfig, mergedConfig);
@@ -41,41 +41,41 @@ var getUmbracoAutomateManagementAPI = () => {
41
41
  options
42
42
  );
43
43
  };
44
- const postAutomations = (createAutomationRequestModel, options) => {
44
+ const getAutomations = (params, options) => {
45
45
  return customInstance(
46
46
  {
47
47
  url: `/umbraco/automate/management/api/v1/automations`,
48
- method: "POST",
49
- headers: { "Content-Type": "application/json" },
50
- data: createAutomationRequestModel
48
+ method: "GET",
49
+ params
51
50
  },
52
51
  options
53
52
  );
54
53
  };
55
- const getAutomations = (params, options) => {
54
+ const postAutomations = (createAutomationRequestModel, options) => {
56
55
  return customInstance(
57
56
  {
58
57
  url: `/umbraco/automate/management/api/v1/automations`,
59
- method: "GET",
60
- params
58
+ method: "POST",
59
+ headers: { "Content-Type": "application/json" },
60
+ data: createAutomationRequestModel
61
61
  },
62
62
  options
63
63
  );
64
64
  };
65
- const deleteAutomationsById = (id, options) => {
65
+ const getAutomationsById = (id, options) => {
66
66
  return customInstance(
67
67
  {
68
68
  url: `/umbraco/automate/management/api/v1/automations/${id}`,
69
- method: "DELETE"
69
+ method: "GET"
70
70
  },
71
71
  options
72
72
  );
73
73
  };
74
- const getAutomationsById = (id, options) => {
74
+ const deleteAutomationsById = (id, options) => {
75
75
  return customInstance(
76
76
  {
77
77
  url: `/umbraco/automate/management/api/v1/automations/${id}`,
78
- method: "GET"
78
+ method: "DELETE"
79
79
  },
80
80
  options
81
81
  );
@@ -295,41 +295,41 @@ var getUmbracoAutomateManagementAPI = () => {
295
295
  options
296
296
  );
297
297
  };
298
- const postConnections = (createConnectionRequestModel, options) => {
298
+ const getConnections = (params, options) => {
299
299
  return customInstance(
300
300
  {
301
301
  url: `/umbraco/automate/management/api/v1/connections`,
302
- method: "POST",
303
- headers: { "Content-Type": "application/json" },
304
- data: createConnectionRequestModel
302
+ method: "GET",
303
+ params
305
304
  },
306
305
  options
307
306
  );
308
307
  };
309
- const getConnections = (params, options) => {
308
+ const postConnections = (createConnectionRequestModel, options) => {
310
309
  return customInstance(
311
310
  {
312
311
  url: `/umbraco/automate/management/api/v1/connections`,
313
- method: "GET",
314
- params
312
+ method: "POST",
313
+ headers: { "Content-Type": "application/json" },
314
+ data: createConnectionRequestModel
315
315
  },
316
316
  options
317
317
  );
318
318
  };
319
- const deleteConnectionsById = (id, options) => {
319
+ const getConnectionsById = (id, options) => {
320
320
  return customInstance(
321
321
  {
322
322
  url: `/umbraco/automate/management/api/v1/connections/${id}`,
323
- method: "DELETE"
323
+ method: "GET"
324
324
  },
325
325
  options
326
326
  );
327
327
  };
328
- const getConnectionsById = (id, options) => {
328
+ const deleteConnectionsById = (id, options) => {
329
329
  return customInstance(
330
330
  {
331
331
  url: `/umbraco/automate/management/api/v1/connections/${id}`,
332
- method: "GET"
332
+ method: "DELETE"
333
333
  },
334
334
  options
335
335
  );
@@ -493,41 +493,41 @@ var getUmbracoAutomateManagementAPI = () => {
493
493
  options
494
494
  );
495
495
  };
496
- const postWorkspaces = (createWorkspaceRequestModel, options) => {
496
+ const getWorkspaces = (params, options) => {
497
497
  return customInstance(
498
498
  {
499
499
  url: `/umbraco/automate/management/api/v1/workspaces`,
500
- method: "POST",
501
- headers: { "Content-Type": "application/json" },
502
- data: createWorkspaceRequestModel
500
+ method: "GET",
501
+ params
503
502
  },
504
503
  options
505
504
  );
506
505
  };
507
- const getWorkspaces = (params, options) => {
506
+ const postWorkspaces = (createWorkspaceRequestModel, options) => {
508
507
  return customInstance(
509
508
  {
510
509
  url: `/umbraco/automate/management/api/v1/workspaces`,
511
- method: "GET",
512
- params
510
+ method: "POST",
511
+ headers: { "Content-Type": "application/json" },
512
+ data: createWorkspaceRequestModel
513
513
  },
514
514
  options
515
515
  );
516
516
  };
517
- const deleteWorkspacesById = (id, options) => {
517
+ const getWorkspacesById = (id, options) => {
518
518
  return customInstance(
519
519
  {
520
520
  url: `/umbraco/automate/management/api/v1/workspaces/${id}`,
521
- method: "DELETE"
521
+ method: "GET"
522
522
  },
523
523
  options
524
524
  );
525
525
  };
526
- const getWorkspacesById = (id, options) => {
526
+ const deleteWorkspacesById = (id, options) => {
527
527
  return customInstance(
528
528
  {
529
529
  url: `/umbraco/automate/management/api/v1/workspaces/${id}`,
530
- method: "GET"
530
+ method: "DELETE"
531
531
  },
532
532
  options
533
533
  );
@@ -543,41 +543,41 @@ var getUmbracoAutomateManagementAPI = () => {
543
543
  options
544
544
  );
545
545
  };
546
- const postWorkspacesByIdGroups = (id, createWorkspaceGroupRequestModel, options) => {
546
+ const getWorkspacesByIdGroups = (id, params, options) => {
547
547
  return customInstance(
548
548
  {
549
549
  url: `/umbraco/automate/management/api/v1/workspaces/${id}/groups`,
550
- method: "POST",
551
- headers: { "Content-Type": "application/json" },
552
- data: createWorkspaceGroupRequestModel
550
+ method: "GET",
551
+ params
553
552
  },
554
553
  options
555
554
  );
556
555
  };
557
- const getWorkspacesByIdGroups = (id, params, options) => {
556
+ const postWorkspacesByIdGroups = (id, createWorkspaceGroupRequestModel, options) => {
558
557
  return customInstance(
559
558
  {
560
559
  url: `/umbraco/automate/management/api/v1/workspaces/${id}/groups`,
561
- method: "GET",
562
- params
560
+ method: "POST",
561
+ headers: { "Content-Type": "application/json" },
562
+ data: createWorkspaceGroupRequestModel
563
563
  },
564
564
  options
565
565
  );
566
566
  };
567
- const deleteWorkspacesByIdGroupsByGroupId = (id, groupId, options) => {
567
+ const getWorkspacesByIdGroupsByGroupId = (id, groupId, options) => {
568
568
  return customInstance(
569
569
  {
570
570
  url: `/umbraco/automate/management/api/v1/workspaces/${id}/groups/${groupId}`,
571
- method: "DELETE"
571
+ method: "GET"
572
572
  },
573
573
  options
574
574
  );
575
575
  };
576
- const getWorkspacesByIdGroupsByGroupId = (id, groupId, options) => {
576
+ const deleteWorkspacesByIdGroupsByGroupId = (id, groupId, options) => {
577
577
  return customInstance(
578
578
  {
579
579
  url: `/umbraco/automate/management/api/v1/workspaces/${id}/groups/${groupId}`,
580
- method: "GET"
580
+ method: "DELETE"
581
581
  },
582
582
  options
583
583
  );
@@ -593,7 +593,7 @@ var getUmbracoAutomateManagementAPI = () => {
593
593
  options
594
594
  );
595
595
  };
596
- return { postApprovalsByRunIdStepsByStepIdDecision, getApprovalsPending, postAutomations, getAutomations, deleteAutomationsById, getAutomationsById, putAutomationsById, getAutomationsByIdAncestors, getAutomationsByIdExport, putAutomationsByIdImport, postAutomationsByIdPublish, postAutomationsByIdReEnable, getAutomationsByIdRuns, postAutomationsByIdTrigger, postAutomationsByIdUnpublish, getAutomationsByIdWebhookUrl, getAutomationsGroupsByGroupId, postAutomationsImport, postAutomationsImportValidate, getCatalogueActions, getCatalogueConnectionTypes, getCatalogueControlFlows, getCatalogueNotificationChannels, getCatalogueStepTypes, postCatalogueStepTypesByAliasOutcomes, postCatalogueStepTypesByAliasOutputSchema, getCatalogueTriggers, getCatalogueWebhookAuthenticators, postConnections, getConnections, deleteConnectionsById, getConnectionsById, putConnectionsById, postConnectionsByIdTest, getMetrics, getMetricsByAutomation, getRuns, getRunsById, postRunsByIdReplay, postRunsByIdResume, getRunsByIdStepRunsByStepRunIdData, postRunsByIdSuspend, postRunsByIdTerminate, getRunsByIdTriggerData, getVersionHistoryByEntityTypeByEntityId, getVersionHistoryByEntityTypeByEntityIdByEntityVersion, postVersionHistoryByEntityTypeByEntityIdByEntityVersionRollback, getVersionHistoryByEntityTypeByEntityIdByFromEntityVersionCompareByToEntityVersion, getVersionHistorySupportedTypes, postWorkspaces, getWorkspaces, deleteWorkspacesById, getWorkspacesById, putWorkspacesById, postWorkspacesByIdGroups, getWorkspacesByIdGroups, deleteWorkspacesByIdGroupsByGroupId, getWorkspacesByIdGroupsByGroupId, putWorkspacesByIdGroupsByGroupId };
596
+ return { postApprovalsByRunIdStepsByStepIdDecision, getApprovalsPending, getAutomations, postAutomations, getAutomationsById, deleteAutomationsById, putAutomationsById, getAutomationsByIdAncestors, getAutomationsByIdExport, putAutomationsByIdImport, postAutomationsByIdPublish, postAutomationsByIdReEnable, getAutomationsByIdRuns, postAutomationsByIdTrigger, postAutomationsByIdUnpublish, getAutomationsByIdWebhookUrl, getAutomationsGroupsByGroupId, postAutomationsImport, postAutomationsImportValidate, getCatalogueActions, getCatalogueConnectionTypes, getCatalogueControlFlows, getCatalogueNotificationChannels, getCatalogueStepTypes, postCatalogueStepTypesByAliasOutcomes, postCatalogueStepTypesByAliasOutputSchema, getCatalogueTriggers, getCatalogueWebhookAuthenticators, getConnections, postConnections, getConnectionsById, deleteConnectionsById, putConnectionsById, postConnectionsByIdTest, getMetrics, getMetricsByAutomation, getRuns, getRunsById, postRunsByIdReplay, postRunsByIdResume, getRunsByIdStepRunsByStepRunIdData, postRunsByIdSuspend, postRunsByIdTerminate, getRunsByIdTriggerData, getVersionHistoryByEntityTypeByEntityId, getVersionHistoryByEntityTypeByEntityIdByEntityVersion, postVersionHistoryByEntityTypeByEntityIdByEntityVersionRollback, getVersionHistoryByEntityTypeByEntityIdByFromEntityVersionCompareByToEntityVersion, getVersionHistorySupportedTypes, getWorkspaces, postWorkspaces, getWorkspacesById, deleteWorkspacesById, putWorkspacesById, getWorkspacesByIdGroups, postWorkspacesByIdGroups, getWorkspacesByIdGroupsByGroupId, deleteWorkspacesByIdGroupsByGroupId, putWorkspacesByIdGroupsByGroupId };
597
597
  };
598
598
  var getServerInfoTool = {
599
599
  name: "get-server-info",
@@ -640,30 +640,57 @@ var getApprovalsPendingResponseItem = zod.object({
640
640
  "requestedUtc": zod.iso.datetime({ "local": true, "offset": true }).nullish()
641
641
  });
642
642
  var getApprovalsPendingResponse = zod.array(getApprovalsPendingResponseItem);
643
+ var getAutomationsQueryTakeDefault = 100;
644
+ var getAutomationsQueryParams = zod.object({
645
+ "filter": zod.string().optional(),
646
+ "groupId": zod.guid().optional(),
647
+ "workspaceId": zod.guid().optional(),
648
+ "skip": zod.coerce.number().int().optional(),
649
+ "take": zod.coerce.number().int().default(getAutomationsQueryTakeDefault)
650
+ });
651
+ var getAutomationsResponse = zod.object({
652
+ "total": zod.int(),
653
+ "items": zod.array(zod.object({
654
+ "id": zod.guid(),
655
+ "alias": zod.string().min(1),
656
+ "name": zod.string().min(1),
657
+ "description": zod.string().nullish(),
658
+ "workspaceId": zod.guid(),
659
+ "groupId": zod.guid().nullish(),
660
+ "status": zod.enum(["Draft", "Published", "Unpublished"]),
661
+ "triggerAlias": zod.string().nullish(),
662
+ "version": zod.int(),
663
+ "publishedVersion": zod.int().nullish(),
664
+ "dateCreated": zod.iso.datetime({ "local": true, "offset": true }),
665
+ "dateModified": zod.iso.datetime({ "local": true, "offset": true }),
666
+ "health": zod.enum(["Healthy", "Degraded", "Disabled"])
667
+ }))
668
+ });
669
+ var postAutomationsBodyStepsItemRetryIntervalRegExp = new RegExp("^-?(\\d+\\.)?\\d{2}:\\d{2}:\\d{2}(\\.\\d{1,7})?$");
643
670
  zod.object({
644
671
  "alias": zod.string().min(1),
645
672
  "name": zod.string().min(1),
646
673
  "description": zod.string().nullish(),
647
674
  "workspaceId": zod.guid(),
648
675
  "groupId": zod.guid().nullish(),
649
- "trigger": zod.object({
676
+ "trigger": zod.union([zod.null(), zod.object({
650
677
  "triggerAlias": zod.string(),
651
- "settings": zod.record(zod.string(), zod.unknown().nullable())
652
- }).nullish(),
678
+ "settings": zod.looseObject({})
679
+ })]).optional(),
653
680
  "steps": zod.array(zod.object({
654
681
  "id": zod.guid(),
655
682
  "actionAlias": zod.string(),
656
683
  "name": zod.string(),
657
684
  "alias": zod.string().nullish(),
658
685
  "connectionId": zod.guid().nullish(),
659
- "settings": zod.record(zod.string(), zod.unknown().nullable()),
686
+ "settings": zod.looseObject({}),
660
687
  "inputMappings": zod.record(zod.string(), zod.string()),
661
688
  "position": zod.object({
662
689
  "x": zod.number(),
663
690
  "y": zod.number()
664
691
  }),
665
692
  "errorBehavior": zod.enum(["Retry", "Suspend", "Terminate", "Compensate"]),
666
- "retryInterval": zod.string().nullish(),
693
+ "retryInterval": zod.string().regex(postAutomationsBodyStepsItemRetryIntervalRegExp).nullish(),
667
694
  "maxRetries": zod.int().nullish()
668
695
  })),
669
696
  "connections": zod.array(zod.object({
@@ -672,7 +699,7 @@ zod.object({
672
699
  "targetStepId": zod.guid(),
673
700
  "targetHandle": zod.string().nullish(),
674
701
  "outcome": zod.string().nullish(),
675
- "filter": zod.object({
702
+ "filter": zod.union([zod.null(), zod.object({
676
703
  "groups": zod.array(zod.object({
677
704
  "conditions": zod.array(zod.object({
678
705
  "leftOperand": zod.string(),
@@ -680,52 +707,23 @@ zod.object({
680
707
  "rightOperand": zod.string()
681
708
  }))
682
709
  }))
683
- }).nullish()
710
+ })]).optional()
684
711
  })),
685
712
  "canvasState": zod.string().nullish(),
686
- "notificationSettings": zod.object({
713
+ "notificationSettings": zod.union([zod.null(), zod.object({
687
714
  "channels": zod.array(zod.object({
688
715
  "channelAlias": zod.string(),
689
- "settings": zod.record(zod.string(), zod.unknown().nullable()),
716
+ "settings": zod.looseObject({}),
690
717
  "isEnabled": zod.boolean(),
691
718
  "notifyOn": zod.enum(["Never", "Failed", "Suspended", "FailedOrSuspended", "Completed", "Recovered", "Disabled", "Warning", "ReEnabled", "Resumed", "Rejected"])
692
719
  }))
693
- }).nullish()
720
+ })]).optional()
694
721
  });
695
722
  zod.void();
696
- var getAutomationsQueryTakeDefault = 100;
697
- var getAutomationsQueryParams = zod.object({
698
- "filter": zod.string().optional(),
699
- "groupId": zod.guid().optional(),
700
- "workspaceId": zod.guid().optional(),
701
- "skip": zod.coerce.number().int().optional(),
702
- "take": zod.coerce.number().int().default(getAutomationsQueryTakeDefault)
703
- });
704
- var getAutomationsResponse = zod.object({
705
- "total": zod.int(),
706
- "items": zod.array(zod.object({
707
- "id": zod.guid(),
708
- "alias": zod.string().min(1),
709
- "name": zod.string().min(1),
710
- "description": zod.string().nullish(),
711
- "workspaceId": zod.guid(),
712
- "groupId": zod.guid().nullish(),
713
- "status": zod.enum(["Draft", "Published", "Unpublished"]),
714
- "triggerAlias": zod.string().nullish(),
715
- "version": zod.int(),
716
- "publishedVersion": zod.int().nullish(),
717
- "dateCreated": zod.iso.datetime({ "local": true, "offset": true }),
718
- "dateModified": zod.iso.datetime({ "local": true, "offset": true }),
719
- "health": zod.enum(["Healthy", "Degraded", "Disabled"])
720
- }))
721
- });
722
- var deleteAutomationsByIdParams = zod.object({
723
- "id": zod.guid()
724
- });
725
- zod.unknown();
726
723
  var getAutomationsByIdParams = zod.object({
727
724
  "id": zod.guid()
728
725
  });
726
+ var getAutomationsByIdResponseStepsItemRetryIntervalRegExp = new RegExp("^-?(\\d+\\.)?\\d{2}:\\d{2}:\\d{2}(\\.\\d{1,7})?$");
729
727
  var getAutomationsByIdResponse = zod.object({
730
728
  "id": zod.guid(),
731
729
  "alias": zod.string().min(1),
@@ -735,24 +733,24 @@ var getAutomationsByIdResponse = zod.object({
735
733
  "publishedVersion": zod.int().nullish(),
736
734
  "workspaceId": zod.guid(),
737
735
  "groupId": zod.guid().nullish(),
738
- "trigger": zod.object({
736
+ "trigger": zod.union([zod.null(), zod.object({
739
737
  "triggerAlias": zod.string(),
740
- "settings": zod.record(zod.string(), zod.unknown().nullable())
741
- }).nullish(),
738
+ "settings": zod.looseObject({})
739
+ })]).optional(),
742
740
  "steps": zod.array(zod.object({
743
741
  "id": zod.guid(),
744
742
  "actionAlias": zod.string(),
745
743
  "name": zod.string(),
746
744
  "alias": zod.string().nullish(),
747
745
  "connectionId": zod.guid().nullish(),
748
- "settings": zod.record(zod.string(), zod.unknown().nullable()),
746
+ "settings": zod.looseObject({}),
749
747
  "inputMappings": zod.record(zod.string(), zod.string()),
750
748
  "position": zod.object({
751
749
  "x": zod.number(),
752
750
  "y": zod.number()
753
751
  }),
754
752
  "errorBehavior": zod.enum(["Retry", "Suspend", "Terminate", "Compensate"]),
755
- "retryInterval": zod.string().nullish(),
753
+ "retryInterval": zod.string().regex(getAutomationsByIdResponseStepsItemRetryIntervalRegExp).nullish(),
756
754
  "maxRetries": zod.int().nullish()
757
755
  })),
758
756
  "connections": zod.array(zod.object({
@@ -761,7 +759,7 @@ var getAutomationsByIdResponse = zod.object({
761
759
  "targetStepId": zod.guid(),
762
760
  "targetHandle": zod.string().nullish(),
763
761
  "outcome": zod.string().nullish(),
764
- "filter": zod.object({
762
+ "filter": zod.union([zod.null(), zod.object({
765
763
  "groups": zod.array(zod.object({
766
764
  "conditions": zod.array(zod.object({
767
765
  "leftOperand": zod.string(),
@@ -769,51 +767,56 @@ var getAutomationsByIdResponse = zod.object({
769
767
  "rightOperand": zod.string()
770
768
  }))
771
769
  }))
772
- }).nullish()
770
+ })]).optional()
773
771
  })),
774
772
  "canvasState": zod.string().nullish(),
775
773
  "version": zod.int(),
776
774
  "dateCreated": zod.iso.datetime({ "local": true, "offset": true }),
777
775
  "dateModified": zod.iso.datetime({ "local": true, "offset": true }),
778
- "notificationSettings": zod.object({
776
+ "notificationSettings": zod.union([zod.null(), zod.object({
779
777
  "channels": zod.array(zod.object({
780
778
  "channelAlias": zod.string(),
781
- "settings": zod.record(zod.string(), zod.unknown().nullable()),
779
+ "settings": zod.looseObject({}),
782
780
  "isEnabled": zod.boolean(),
783
781
  "notifyOn": zod.enum(["Never", "Failed", "Suspended", "FailedOrSuspended", "Completed", "Recovered", "Disabled", "Warning", "ReEnabled", "Resumed", "Rejected"])
784
782
  }))
785
- }).nullish(),
783
+ })]).optional(),
786
784
  "health": zod.enum(["Healthy", "Degraded", "Disabled"]),
787
785
  "warningIssuedUtc": zod.iso.datetime({ "local": true, "offset": true }).nullish(),
788
786
  "disabledUtc": zod.iso.datetime({ "local": true, "offset": true }).nullish()
789
787
  });
788
+ var deleteAutomationsByIdParams = zod.object({
789
+ "id": zod.guid()
790
+ });
791
+ zod.unknown();
790
792
  zod.object({
791
793
  "id": zod.guid()
792
794
  });
793
- var putAutomationsByIdBodyOneVersionMax = 2147483647;
795
+ var putAutomationsByIdBodyStepsItemRetryIntervalRegExp = new RegExp("^-?(\\d+\\.)?\\d{2}:\\d{2}:\\d{2}(\\.\\d{1,7})?$");
796
+ var putAutomationsByIdBodyVersionMax = 2147483647;
794
797
  zod.object({
795
798
  "alias": zod.string().min(1),
796
799
  "name": zod.string().min(1),
797
800
  "description": zod.string().nullish(),
798
801
  "groupId": zod.guid().nullish(),
799
- "trigger": zod.object({
802
+ "trigger": zod.union([zod.null(), zod.object({
800
803
  "triggerAlias": zod.string(),
801
- "settings": zod.record(zod.string(), zod.unknown().nullable())
802
- }).nullish(),
804
+ "settings": zod.looseObject({})
805
+ })]).optional(),
803
806
  "steps": zod.array(zod.object({
804
807
  "id": zod.guid(),
805
808
  "actionAlias": zod.string(),
806
809
  "name": zod.string(),
807
810
  "alias": zod.string().nullish(),
808
811
  "connectionId": zod.guid().nullish(),
809
- "settings": zod.record(zod.string(), zod.unknown().nullable()),
812
+ "settings": zod.looseObject({}),
810
813
  "inputMappings": zod.record(zod.string(), zod.string()),
811
814
  "position": zod.object({
812
815
  "x": zod.number(),
813
816
  "y": zod.number()
814
817
  }),
815
818
  "errorBehavior": zod.enum(["Retry", "Suspend", "Terminate", "Compensate"]),
816
- "retryInterval": zod.string().nullish(),
819
+ "retryInterval": zod.string().regex(putAutomationsByIdBodyStepsItemRetryIntervalRegExp).nullish(),
817
820
  "maxRetries": zod.int().nullish()
818
821
  })),
819
822
  "connections": zod.array(zod.object({
@@ -822,7 +825,7 @@ zod.object({
822
825
  "targetStepId": zod.guid(),
823
826
  "targetHandle": zod.string().nullish(),
824
827
  "outcome": zod.string().nullish(),
825
- "filter": zod.object({
828
+ "filter": zod.union([zod.null(), zod.object({
826
829
  "groups": zod.array(zod.object({
827
830
  "conditions": zod.array(zod.object({
828
831
  "leftOperand": zod.string(),
@@ -830,18 +833,18 @@ zod.object({
830
833
  "rightOperand": zod.string()
831
834
  }))
832
835
  }))
833
- }).nullish()
836
+ })]).optional()
834
837
  })),
835
838
  "canvasState": zod.string().nullish(),
836
- "notificationSettings": zod.object({
839
+ "notificationSettings": zod.union([zod.null(), zod.object({
837
840
  "channels": zod.array(zod.object({
838
841
  "channelAlias": zod.string(),
839
- "settings": zod.record(zod.string(), zod.unknown().nullable()),
842
+ "settings": zod.looseObject({}),
840
843
  "isEnabled": zod.boolean(),
841
844
  "notifyOn": zod.enum(["Never", "Failed", "Suspended", "FailedOrSuspended", "Completed", "Recovered", "Disabled", "Warning", "ReEnabled", "Resumed", "Rejected"])
842
845
  }))
843
- }).nullish(),
844
- "version": zod.int().min(1).max(putAutomationsByIdBodyOneVersionMax)
846
+ })]).optional(),
847
+ "version": zod.int().min(1).max(putAutomationsByIdBodyVersionMax)
845
848
  });
846
849
  zod.unknown();
847
850
  var getAutomationsByIdAncestorsParams = zod.object({
@@ -863,6 +866,7 @@ var getAutomationsByIdExportParams = zod.object({
863
866
  var getAutomationsByIdExportQueryParams = zod.object({
864
867
  "include": zod.string().optional()
865
868
  });
869
+ var getAutomationsByIdExportResponseAutomationStepsItemRetryIntervalRegExp = new RegExp("^-?(\\d+\\.)?\\d{2}:\\d{2}:\\d{2}(\\.\\d{1,7})?$");
866
870
  var getAutomationsByIdExportResponse = zod.object({
867
871
  "formatVersion": zod.string(),
868
872
  "exportedAt": zod.iso.datetime({ "local": true, "offset": true }),
@@ -875,24 +879,24 @@ var getAutomationsByIdExportResponse = zod.object({
875
879
  "alias": zod.string(),
876
880
  "name": zod.string(),
877
881
  "description": zod.string().nullish(),
878
- "trigger": zod.object({
882
+ "trigger": zod.union([zod.null(), zod.object({
879
883
  "triggerAlias": zod.string(),
880
- "settings": zod.record(zod.string(), zod.unknown().nullable())
881
- }).nullish(),
884
+ "settings": zod.looseObject({})
885
+ })]).optional(),
882
886
  "steps": zod.array(zod.object({
883
887
  "id": zod.guid(),
884
888
  "actionAlias": zod.string(),
885
889
  "name": zod.string(),
886
890
  "alias": zod.string().nullish(),
887
891
  "connectionAlias": zod.string().nullish(),
888
- "settings": zod.record(zod.string(), zod.unknown().nullable()),
892
+ "settings": zod.looseObject({}),
889
893
  "inputMappings": zod.record(zod.string(), zod.string()),
890
894
  "position": zod.object({
891
895
  "x": zod.number(),
892
896
  "y": zod.number()
893
897
  }),
894
898
  "errorBehavior": zod.enum(["Retry", "Suspend", "Terminate", "Compensate"]),
895
- "retryInterval": zod.string().nullish(),
899
+ "retryInterval": zod.string().regex(getAutomationsByIdExportResponseAutomationStepsItemRetryIntervalRegExp).nullish(),
896
900
  "maxRetries": zod.int().nullish()
897
901
  })),
898
902
  "connections": zod.array(zod.object({
@@ -901,7 +905,7 @@ var getAutomationsByIdExportResponse = zod.object({
901
905
  "targetStepId": zod.guid(),
902
906
  "targetHandle": zod.string().nullish(),
903
907
  "outcome": zod.string().nullish(),
904
- "filter": zod.object({
908
+ "filter": zod.union([zod.null(), zod.object({
905
909
  "groups": zod.array(zod.object({
906
910
  "conditions": zod.array(zod.object({
907
911
  "leftOperand": zod.string(),
@@ -909,17 +913,17 @@ var getAutomationsByIdExportResponse = zod.object({
909
913
  "rightOperand": zod.string()
910
914
  }))
911
915
  }))
912
- }).nullish()
916
+ })]).optional()
913
917
  })),
914
918
  "canvasState": zod.string().nullish(),
915
- "notificationSettings": zod.object({
919
+ "notificationSettings": zod.union([zod.null(), zod.object({
916
920
  "channels": zod.array(zod.object({
917
921
  "channelAlias": zod.string(),
918
- "settings": zod.record(zod.string(), zod.unknown().nullable()),
922
+ "settings": zod.looseObject({}),
919
923
  "isEnabled": zod.boolean(),
920
924
  "notifyOn": zod.enum(["Never", "Failed", "Suspended", "FailedOrSuspended", "Completed", "Recovered", "Disabled", "Warning", "ReEnabled", "Resumed", "Rejected"])
921
925
  }))
922
- }).nullish()
926
+ })]).optional()
923
927
  }),
924
928
  "connectionReferences": zod.array(zod.object({
925
929
  "alias": zod.string(),
@@ -930,6 +934,7 @@ var getAutomationsByIdExportResponse = zod.object({
930
934
  var putAutomationsByIdImportParams = zod.object({
931
935
  "id": zod.guid()
932
936
  });
937
+ var putAutomationsByIdImportBodyAutomationStepsItemRetryIntervalRegExp = new RegExp("^-?(\\d+\\.)?\\d{2}:\\d{2}:\\d{2}(\\.\\d{1,7})?$");
933
938
  var putAutomationsByIdImportBody = zod.object({
934
939
  "formatVersion": zod.string(),
935
940
  "exportedAt": zod.iso.datetime({ "local": true, "offset": true }),
@@ -942,24 +947,24 @@ var putAutomationsByIdImportBody = zod.object({
942
947
  "alias": zod.string(),
943
948
  "name": zod.string(),
944
949
  "description": zod.string().nullish(),
945
- "trigger": zod.object({
950
+ "trigger": zod.union([zod.null(), zod.object({
946
951
  "triggerAlias": zod.string(),
947
- "settings": zod.record(zod.string(), zod.unknown().nullable())
948
- }).nullish(),
952
+ "settings": zod.looseObject({})
953
+ })]).optional(),
949
954
  "steps": zod.array(zod.object({
950
955
  "id": zod.guid(),
951
956
  "actionAlias": zod.string(),
952
957
  "name": zod.string(),
953
958
  "alias": zod.string().nullish(),
954
959
  "connectionAlias": zod.string().nullish(),
955
- "settings": zod.record(zod.string(), zod.unknown().nullable()),
960
+ "settings": zod.looseObject({}),
956
961
  "inputMappings": zod.record(zod.string(), zod.string()),
957
962
  "position": zod.object({
958
963
  "x": zod.number(),
959
964
  "y": zod.number()
960
965
  }),
961
966
  "errorBehavior": zod.enum(["Retry", "Suspend", "Terminate", "Compensate"]),
962
- "retryInterval": zod.string().nullish(),
967
+ "retryInterval": zod.string().regex(putAutomationsByIdImportBodyAutomationStepsItemRetryIntervalRegExp).nullish(),
963
968
  "maxRetries": zod.int().nullish()
964
969
  })),
965
970
  "connections": zod.array(zod.object({
@@ -968,7 +973,7 @@ var putAutomationsByIdImportBody = zod.object({
968
973
  "targetStepId": zod.guid(),
969
974
  "targetHandle": zod.string().nullish(),
970
975
  "outcome": zod.string().nullish(),
971
- "filter": zod.object({
976
+ "filter": zod.union([zod.null(), zod.object({
972
977
  "groups": zod.array(zod.object({
973
978
  "conditions": zod.array(zod.object({
974
979
  "leftOperand": zod.string(),
@@ -976,17 +981,17 @@ var putAutomationsByIdImportBody = zod.object({
976
981
  "rightOperand": zod.string()
977
982
  }))
978
983
  }))
979
- }).nullish()
984
+ })]).optional()
980
985
  })),
981
986
  "canvasState": zod.string().nullish(),
982
- "notificationSettings": zod.object({
987
+ "notificationSettings": zod.union([zod.null(), zod.object({
983
988
  "channels": zod.array(zod.object({
984
989
  "channelAlias": zod.string(),
985
- "settings": zod.record(zod.string(), zod.unknown().nullable()),
990
+ "settings": zod.looseObject({}),
986
991
  "isEnabled": zod.boolean(),
987
992
  "notifyOn": zod.enum(["Never", "Failed", "Suspended", "FailedOrSuspended", "Completed", "Recovered", "Disabled", "Warning", "ReEnabled", "Resumed", "Rejected"])
988
993
  }))
989
- }).nullish()
994
+ })]).optional()
990
995
  }),
991
996
  "connectionReferences": zod.array(zod.object({
992
997
  "alias": zod.string(),
@@ -1075,6 +1080,7 @@ var getAutomationsGroupsByGroupIdResponse = zod.object({
1075
1080
  "workspaceId": zod.guid(),
1076
1081
  "dateCreated": zod.iso.datetime({ "local": true, "offset": true })
1077
1082
  });
1083
+ var postAutomationsImportBodyExportModelAutomationStepsItemRetryIntervalRegExp = new RegExp("^-?(\\d+\\.)?\\d{2}:\\d{2}:\\d{2}(\\.\\d{1,7})?$");
1078
1084
  var postAutomationsImportBody = zod.object({
1079
1085
  "workspaceId": zod.guid(),
1080
1086
  "exportModel": zod.object({
@@ -1089,24 +1095,24 @@ var postAutomationsImportBody = zod.object({
1089
1095
  "alias": zod.string(),
1090
1096
  "name": zod.string(),
1091
1097
  "description": zod.string().nullish(),
1092
- "trigger": zod.object({
1098
+ "trigger": zod.union([zod.null(), zod.object({
1093
1099
  "triggerAlias": zod.string(),
1094
- "settings": zod.record(zod.string(), zod.unknown().nullable())
1095
- }).nullish(),
1100
+ "settings": zod.looseObject({})
1101
+ })]).optional(),
1096
1102
  "steps": zod.array(zod.object({
1097
1103
  "id": zod.guid(),
1098
1104
  "actionAlias": zod.string(),
1099
1105
  "name": zod.string(),
1100
1106
  "alias": zod.string().nullish(),
1101
1107
  "connectionAlias": zod.string().nullish(),
1102
- "settings": zod.record(zod.string(), zod.unknown().nullable()),
1108
+ "settings": zod.looseObject({}),
1103
1109
  "inputMappings": zod.record(zod.string(), zod.string()),
1104
1110
  "position": zod.object({
1105
1111
  "x": zod.number(),
1106
1112
  "y": zod.number()
1107
1113
  }),
1108
1114
  "errorBehavior": zod.enum(["Retry", "Suspend", "Terminate", "Compensate"]),
1109
- "retryInterval": zod.string().nullish(),
1115
+ "retryInterval": zod.string().regex(postAutomationsImportBodyExportModelAutomationStepsItemRetryIntervalRegExp).nullish(),
1110
1116
  "maxRetries": zod.int().nullish()
1111
1117
  })),
1112
1118
  "connections": zod.array(zod.object({
@@ -1115,7 +1121,7 @@ var postAutomationsImportBody = zod.object({
1115
1121
  "targetStepId": zod.guid(),
1116
1122
  "targetHandle": zod.string().nullish(),
1117
1123
  "outcome": zod.string().nullish(),
1118
- "filter": zod.object({
1124
+ "filter": zod.union([zod.null(), zod.object({
1119
1125
  "groups": zod.array(zod.object({
1120
1126
  "conditions": zod.array(zod.object({
1121
1127
  "leftOperand": zod.string(),
@@ -1123,17 +1129,17 @@ var postAutomationsImportBody = zod.object({
1123
1129
  "rightOperand": zod.string()
1124
1130
  }))
1125
1131
  }))
1126
- }).nullish()
1132
+ })]).optional()
1127
1133
  })),
1128
1134
  "canvasState": zod.string().nullish(),
1129
- "notificationSettings": zod.object({
1135
+ "notificationSettings": zod.union([zod.null(), zod.object({
1130
1136
  "channels": zod.array(zod.object({
1131
1137
  "channelAlias": zod.string(),
1132
- "settings": zod.record(zod.string(), zod.unknown().nullable()),
1138
+ "settings": zod.looseObject({}),
1133
1139
  "isEnabled": zod.boolean(),
1134
1140
  "notifyOn": zod.enum(["Never", "Failed", "Suspended", "FailedOrSuspended", "Completed", "Recovered", "Disabled", "Warning", "ReEnabled", "Resumed", "Rejected"])
1135
1141
  }))
1136
- }).nullish()
1142
+ })]).optional()
1137
1143
  }),
1138
1144
  "connectionReferences": zod.array(zod.object({
1139
1145
  "alias": zod.string(),
@@ -1149,6 +1155,7 @@ var postAutomationsImportResponse = zod.object({
1149
1155
  "errors": zod.array(zod.string()),
1150
1156
  "warnings": zod.array(zod.string())
1151
1157
  });
1158
+ var postAutomationsImportValidateBodyExportModelAutomationStepsItemRetryIntervalRegExp = new RegExp("^-?(\\d+\\.)?\\d{2}:\\d{2}:\\d{2}(\\.\\d{1,7})?$");
1152
1159
  var postAutomationsImportValidateBody = zod.object({
1153
1160
  "workspaceId": zod.guid(),
1154
1161
  "exportModel": zod.object({
@@ -1163,24 +1170,24 @@ var postAutomationsImportValidateBody = zod.object({
1163
1170
  "alias": zod.string(),
1164
1171
  "name": zod.string(),
1165
1172
  "description": zod.string().nullish(),
1166
- "trigger": zod.object({
1173
+ "trigger": zod.union([zod.null(), zod.object({
1167
1174
  "triggerAlias": zod.string(),
1168
- "settings": zod.record(zod.string(), zod.unknown().nullable())
1169
- }).nullish(),
1175
+ "settings": zod.looseObject({})
1176
+ })]).optional(),
1170
1177
  "steps": zod.array(zod.object({
1171
1178
  "id": zod.guid(),
1172
1179
  "actionAlias": zod.string(),
1173
1180
  "name": zod.string(),
1174
1181
  "alias": zod.string().nullish(),
1175
1182
  "connectionAlias": zod.string().nullish(),
1176
- "settings": zod.record(zod.string(), zod.unknown().nullable()),
1183
+ "settings": zod.looseObject({}),
1177
1184
  "inputMappings": zod.record(zod.string(), zod.string()),
1178
1185
  "position": zod.object({
1179
1186
  "x": zod.number(),
1180
1187
  "y": zod.number()
1181
1188
  }),
1182
1189
  "errorBehavior": zod.enum(["Retry", "Suspend", "Terminate", "Compensate"]),
1183
- "retryInterval": zod.string().nullish(),
1190
+ "retryInterval": zod.string().regex(postAutomationsImportValidateBodyExportModelAutomationStepsItemRetryIntervalRegExp).nullish(),
1184
1191
  "maxRetries": zod.int().nullish()
1185
1192
  })),
1186
1193
  "connections": zod.array(zod.object({
@@ -1189,7 +1196,7 @@ var postAutomationsImportValidateBody = zod.object({
1189
1196
  "targetStepId": zod.guid(),
1190
1197
  "targetHandle": zod.string().nullish(),
1191
1198
  "outcome": zod.string().nullish(),
1192
- "filter": zod.object({
1199
+ "filter": zod.union([zod.null(), zod.object({
1193
1200
  "groups": zod.array(zod.object({
1194
1201
  "conditions": zod.array(zod.object({
1195
1202
  "leftOperand": zod.string(),
@@ -1197,17 +1204,17 @@ var postAutomationsImportValidateBody = zod.object({
1197
1204
  "rightOperand": zod.string()
1198
1205
  }))
1199
1206
  }))
1200
- }).nullish()
1207
+ })]).optional()
1201
1208
  })),
1202
1209
  "canvasState": zod.string().nullish(),
1203
- "notificationSettings": zod.object({
1210
+ "notificationSettings": zod.union([zod.null(), zod.object({
1204
1211
  "channels": zod.array(zod.object({
1205
1212
  "channelAlias": zod.string(),
1206
- "settings": zod.record(zod.string(), zod.unknown().nullable()),
1213
+ "settings": zod.looseObject({}),
1207
1214
  "isEnabled": zod.boolean(),
1208
1215
  "notifyOn": zod.enum(["Never", "Failed", "Suspended", "FailedOrSuspended", "Completed", "Recovered", "Disabled", "Warning", "ReEnabled", "Resumed", "Rejected"])
1209
1216
  }))
1210
- }).nullish()
1217
+ })]).optional()
1211
1218
  }),
1212
1219
  "connectionReferences": zod.array(zod.object({
1213
1220
  "alias": zod.string(),
@@ -1233,7 +1240,7 @@ var getCatalogueActionsResponseItem = zod.object({
1233
1240
  "group": zod.string().nullish(),
1234
1241
  "icon": zod.string().nullish(),
1235
1242
  "connectionTypeAlias": zod.string().nullish(),
1236
- "settingsSchema": zod.object({
1243
+ "settingsSchema": zod.union([zod.null(), zod.object({
1237
1244
  "fields": zod.array(zod.object({
1238
1245
  "key": zod.string().min(1),
1239
1246
  "label": zod.string(),
@@ -1241,19 +1248,19 @@ var getCatalogueActionsResponseItem = zod.object({
1241
1248
  "valueKind": zod.enum(["String", "Scalar", "Collection"]),
1242
1249
  "editorUiAlias": zod.string().nullish(),
1243
1250
  "editorConfig": zod.string().nullish(),
1244
- "defaultValue": zod.unknown().nullish(),
1251
+ "defaultValue": zod.unknown().optional(),
1245
1252
  "sortOrder": zod.int(),
1246
1253
  "isSensitive": zod.boolean(),
1247
1254
  "isRequired": zod.boolean(),
1248
1255
  "group": zod.string().nullish(),
1249
1256
  "supportsBindings": zod.boolean(),
1250
- "visibleWhen": zod.object({
1257
+ "visibleWhen": zod.union([zod.null(), zod.object({
1251
1258
  "key": zod.string(),
1252
1259
  "values": zod.array(zod.string())
1253
- }).nullish()
1260
+ })]).optional()
1254
1261
  }))
1255
- }).nullish(),
1256
- "outputSchema": zod.record(zod.string(), zod.unknown().nullable()).nullish(),
1262
+ })]).optional(),
1263
+ "outputSchema": zod.looseObject({}).nullish(),
1257
1264
  "hasDynamicOutputSchema": zod.boolean(),
1258
1265
  "outcomes": zod.array(zod.object({
1259
1266
  "key": zod.string().min(1),
@@ -1271,7 +1278,7 @@ var getCatalogueConnectionTypesResponseItem = zod.object({
1271
1278
  "description": zod.string().nullish(),
1272
1279
  "group": zod.string().nullish(),
1273
1280
  "icon": zod.string().nullish(),
1274
- "settingsSchema": zod.object({
1281
+ "settingsSchema": zod.union([zod.null(), zod.object({
1275
1282
  "fields": zod.array(zod.object({
1276
1283
  "key": zod.string().min(1),
1277
1284
  "label": zod.string(),
@@ -1279,18 +1286,18 @@ var getCatalogueConnectionTypesResponseItem = zod.object({
1279
1286
  "valueKind": zod.enum(["String", "Scalar", "Collection"]),
1280
1287
  "editorUiAlias": zod.string().nullish(),
1281
1288
  "editorConfig": zod.string().nullish(),
1282
- "defaultValue": zod.unknown().nullish(),
1289
+ "defaultValue": zod.unknown().optional(),
1283
1290
  "sortOrder": zod.int(),
1284
1291
  "isSensitive": zod.boolean(),
1285
1292
  "isRequired": zod.boolean(),
1286
1293
  "group": zod.string().nullish(),
1287
1294
  "supportsBindings": zod.boolean(),
1288
- "visibleWhen": zod.object({
1295
+ "visibleWhen": zod.union([zod.null(), zod.object({
1289
1296
  "key": zod.string(),
1290
1297
  "values": zod.array(zod.string())
1291
- }).nullish()
1298
+ })]).optional()
1292
1299
  }))
1293
- }).nullish()
1300
+ })]).optional()
1294
1301
  });
1295
1302
  var getCatalogueConnectionTypesResponse = zod.array(getCatalogueConnectionTypesResponseItem);
1296
1303
  var getCatalogueControlFlowsResponseItem = zod.object({
@@ -1300,7 +1307,7 @@ var getCatalogueControlFlowsResponseItem = zod.object({
1300
1307
  "group": zod.string().nullish(),
1301
1308
  "icon": zod.string().nullish(),
1302
1309
  "connectionTypeAlias": zod.string().nullish(),
1303
- "settingsSchema": zod.object({
1310
+ "settingsSchema": zod.union([zod.null(), zod.object({
1304
1311
  "fields": zod.array(zod.object({
1305
1312
  "key": zod.string().min(1),
1306
1313
  "label": zod.string(),
@@ -1308,19 +1315,19 @@ var getCatalogueControlFlowsResponseItem = zod.object({
1308
1315
  "valueKind": zod.enum(["String", "Scalar", "Collection"]),
1309
1316
  "editorUiAlias": zod.string().nullish(),
1310
1317
  "editorConfig": zod.string().nullish(),
1311
- "defaultValue": zod.unknown().nullish(),
1318
+ "defaultValue": zod.unknown().optional(),
1312
1319
  "sortOrder": zod.int(),
1313
1320
  "isSensitive": zod.boolean(),
1314
1321
  "isRequired": zod.boolean(),
1315
1322
  "group": zod.string().nullish(),
1316
1323
  "supportsBindings": zod.boolean(),
1317
- "visibleWhen": zod.object({
1324
+ "visibleWhen": zod.union([zod.null(), zod.object({
1318
1325
  "key": zod.string(),
1319
1326
  "values": zod.array(zod.string())
1320
- }).nullish()
1327
+ })]).optional()
1321
1328
  }))
1322
- }).nullish(),
1323
- "outputSchema": zod.record(zod.string(), zod.unknown().nullable()).nullish(),
1329
+ })]).optional(),
1330
+ "outputSchema": zod.looseObject({}).nullish(),
1324
1331
  "hasDynamicOutputSchema": zod.boolean(),
1325
1332
  "outcomes": zod.array(zod.object({
1326
1333
  "key": zod.string().min(1),
@@ -1337,7 +1344,7 @@ var getCatalogueNotificationChannelsResponseItem = zod.object({
1337
1344
  "name": zod.string().min(1),
1338
1345
  "description": zod.string().nullish(),
1339
1346
  "icon": zod.string().nullish(),
1340
- "settingsSchema": zod.object({
1347
+ "settingsSchema": zod.union([zod.null(), zod.object({
1341
1348
  "fields": zod.array(zod.object({
1342
1349
  "key": zod.string().min(1),
1343
1350
  "label": zod.string(),
@@ -1345,18 +1352,18 @@ var getCatalogueNotificationChannelsResponseItem = zod.object({
1345
1352
  "valueKind": zod.enum(["String", "Scalar", "Collection"]),
1346
1353
  "editorUiAlias": zod.string().nullish(),
1347
1354
  "editorConfig": zod.string().nullish(),
1348
- "defaultValue": zod.unknown().nullish(),
1355
+ "defaultValue": zod.unknown().optional(),
1349
1356
  "sortOrder": zod.int(),
1350
1357
  "isSensitive": zod.boolean(),
1351
1358
  "isRequired": zod.boolean(),
1352
1359
  "group": zod.string().nullish(),
1353
1360
  "supportsBindings": zod.boolean(),
1354
- "visibleWhen": zod.object({
1361
+ "visibleWhen": zod.union([zod.null(), zod.object({
1355
1362
  "key": zod.string(),
1356
1363
  "values": zod.array(zod.string())
1357
- }).nullish()
1364
+ })]).optional()
1358
1365
  }))
1359
- }).nullish()
1366
+ })]).optional()
1360
1367
  });
1361
1368
  var getCatalogueNotificationChannelsResponse = zod.array(getCatalogueNotificationChannelsResponseItem);
1362
1369
  var getCatalogueStepTypesQueryParams = zod.object({
@@ -1369,7 +1376,7 @@ var getCatalogueStepTypesResponseItem = zod.object({
1369
1376
  "group": zod.string().nullish(),
1370
1377
  "icon": zod.string().nullish(),
1371
1378
  "connectionTypeAlias": zod.string().nullish(),
1372
- "settingsSchema": zod.object({
1379
+ "settingsSchema": zod.union([zod.null(), zod.object({
1373
1380
  "fields": zod.array(zod.object({
1374
1381
  "key": zod.string().min(1),
1375
1382
  "label": zod.string(),
@@ -1377,19 +1384,19 @@ var getCatalogueStepTypesResponseItem = zod.object({
1377
1384
  "valueKind": zod.enum(["String", "Scalar", "Collection"]),
1378
1385
  "editorUiAlias": zod.string().nullish(),
1379
1386
  "editorConfig": zod.string().nullish(),
1380
- "defaultValue": zod.unknown().nullish(),
1387
+ "defaultValue": zod.unknown().optional(),
1381
1388
  "sortOrder": zod.int(),
1382
1389
  "isSensitive": zod.boolean(),
1383
1390
  "isRequired": zod.boolean(),
1384
1391
  "group": zod.string().nullish(),
1385
1392
  "supportsBindings": zod.boolean(),
1386
- "visibleWhen": zod.object({
1393
+ "visibleWhen": zod.union([zod.null(), zod.object({
1387
1394
  "key": zod.string(),
1388
1395
  "values": zod.array(zod.string())
1389
- }).nullish()
1396
+ })]).optional()
1390
1397
  }))
1391
- }).nullish(),
1392
- "outputSchema": zod.record(zod.string(), zod.unknown().nullable()).nullish(),
1398
+ })]).optional(),
1399
+ "outputSchema": zod.looseObject({}).nullish(),
1393
1400
  "hasDynamicOutputSchema": zod.boolean(),
1394
1401
  "outcomes": zod.array(zod.object({
1395
1402
  "key": zod.string().min(1),
@@ -1405,7 +1412,7 @@ zod.object({
1405
1412
  "alias": zod.string()
1406
1413
  });
1407
1414
  zod.object({
1408
- "settings": zod.record(zod.string(), zod.unknown().nullable())
1415
+ "settings": zod.looseObject({})
1409
1416
  });
1410
1417
  var postCatalogueStepTypesByAliasOutcomesResponseItem = zod.object({
1411
1418
  "key": zod.string().min(1),
@@ -1418,20 +1425,21 @@ zod.object({
1418
1425
  "alias": zod.string()
1419
1426
  });
1420
1427
  zod.object({
1421
- "settings": zod.record(zod.string(), zod.unknown().nullable())
1428
+ "settings": zod.looseObject({})
1422
1429
  });
1423
- zod.record(zod.string(), zod.unknown());
1430
+ var postCatalogueStepTypesByAliasOutputSchemaResponse = zod.looseObject({});
1424
1431
  var getCatalogueTriggersQueryParams = zod.object({
1425
1432
  "workspaceId": zod.guid().optional()
1426
1433
  });
1427
1434
  var getCatalogueTriggersResponseItem = zod.object({
1435
+ "supportsManualRun": zod.boolean(),
1428
1436
  "alias": zod.string().min(1),
1429
1437
  "name": zod.string().min(1),
1430
1438
  "description": zod.string().nullish(),
1431
1439
  "group": zod.string().nullish(),
1432
1440
  "icon": zod.string().nullish(),
1433
1441
  "connectionTypeAlias": zod.string().nullish(),
1434
- "settingsSchema": zod.object({
1442
+ "settingsSchema": zod.union([zod.null(), zod.object({
1435
1443
  "fields": zod.array(zod.object({
1436
1444
  "key": zod.string().min(1),
1437
1445
  "label": zod.string(),
@@ -1439,19 +1447,19 @@ var getCatalogueTriggersResponseItem = zod.object({
1439
1447
  "valueKind": zod.enum(["String", "Scalar", "Collection"]),
1440
1448
  "editorUiAlias": zod.string().nullish(),
1441
1449
  "editorConfig": zod.string().nullish(),
1442
- "defaultValue": zod.unknown().nullish(),
1450
+ "defaultValue": zod.unknown().optional(),
1443
1451
  "sortOrder": zod.int(),
1444
1452
  "isSensitive": zod.boolean(),
1445
1453
  "isRequired": zod.boolean(),
1446
1454
  "group": zod.string().nullish(),
1447
1455
  "supportsBindings": zod.boolean(),
1448
- "visibleWhen": zod.object({
1456
+ "visibleWhen": zod.union([zod.null(), zod.object({
1449
1457
  "key": zod.string(),
1450
1458
  "values": zod.array(zod.string())
1451
- }).nullish()
1459
+ })]).optional()
1452
1460
  }))
1453
- }).nullish(),
1454
- "outputSchema": zod.record(zod.string(), zod.unknown().nullable()).nullish(),
1461
+ })]).optional(),
1462
+ "outputSchema": zod.looseObject({}).nullish(),
1455
1463
  "hasDynamicOutputSchema": zod.boolean(),
1456
1464
  "outcomes": zod.array(zod.object({
1457
1465
  "key": zod.string().min(1),
@@ -1460,15 +1468,14 @@ var getCatalogueTriggersResponseItem = zod.object({
1460
1468
  "description": zod.string().nullish()
1461
1469
  })),
1462
1470
  "hasDynamicOutcomes": zod.boolean(),
1463
- "type": zod.string().min(1),
1464
- "supportsManualRun": zod.boolean()
1471
+ "type": zod.string().min(1)
1465
1472
  });
1466
1473
  zod.array(getCatalogueTriggersResponseItem);
1467
1474
  var getCatalogueWebhookAuthenticatorsResponseItem = zod.object({
1468
1475
  "alias": zod.string().min(1),
1469
1476
  "name": zod.string().min(1),
1470
1477
  "description": zod.string().nullish(),
1471
- "settingsSchema": zod.object({
1478
+ "settingsSchema": zod.union([zod.null(), zod.object({
1472
1479
  "fields": zod.array(zod.object({
1473
1480
  "key": zod.string().min(1),
1474
1481
  "label": zod.string(),
@@ -1476,27 +1483,20 @@ var getCatalogueWebhookAuthenticatorsResponseItem = zod.object({
1476
1483
  "valueKind": zod.enum(["String", "Scalar", "Collection"]),
1477
1484
  "editorUiAlias": zod.string().nullish(),
1478
1485
  "editorConfig": zod.string().nullish(),
1479
- "defaultValue": zod.unknown().nullish(),
1486
+ "defaultValue": zod.unknown().optional(),
1480
1487
  "sortOrder": zod.int(),
1481
1488
  "isSensitive": zod.boolean(),
1482
1489
  "isRequired": zod.boolean(),
1483
1490
  "group": zod.string().nullish(),
1484
1491
  "supportsBindings": zod.boolean(),
1485
- "visibleWhen": zod.object({
1492
+ "visibleWhen": zod.union([zod.null(), zod.object({
1486
1493
  "key": zod.string(),
1487
1494
  "values": zod.array(zod.string())
1488
- }).nullish()
1495
+ })]).optional()
1489
1496
  }))
1490
- }).nullish()
1497
+ })]).optional()
1491
1498
  });
1492
1499
  var getCatalogueWebhookAuthenticatorsResponse = zod.array(getCatalogueWebhookAuthenticatorsResponseItem);
1493
- var postConnectionsBody = zod.object({
1494
- "alias": zod.string().min(1),
1495
- "name": zod.string().min(1),
1496
- "type": zod.string().min(1),
1497
- "settings": zod.record(zod.string(), zod.unknown().nullable())
1498
- });
1499
- zod.void();
1500
1500
  var getConnectionsQueryTakeDefault = 100;
1501
1501
  var getConnectionsQueryParams = zod.object({
1502
1502
  "filter": zod.string().optional(),
@@ -1515,10 +1515,13 @@ var getConnectionsResponse = zod.object({
1515
1515
  "dateModified": zod.iso.datetime({ "local": true, "offset": true })
1516
1516
  }))
1517
1517
  });
1518
- var deleteConnectionsByIdParams = zod.object({
1519
- "id": zod.guid()
1518
+ var postConnectionsBody = zod.object({
1519
+ "alias": zod.string().min(1),
1520
+ "name": zod.string().min(1),
1521
+ "type": zod.string().min(1),
1522
+ "settings": zod.looseObject({})
1520
1523
  });
1521
- zod.unknown();
1524
+ zod.void();
1522
1525
  var getConnectionsByIdParams = zod.object({
1523
1526
  "id": zod.guid()
1524
1527
  });
@@ -1527,21 +1530,25 @@ var getConnectionsByIdResponse = zod.object({
1527
1530
  "alias": zod.string().min(1),
1528
1531
  "name": zod.string().min(1),
1529
1532
  "type": zod.string().min(1),
1530
- "settings": zod.record(zod.string(), zod.unknown().nullable()),
1533
+ "settings": zod.looseObject({}),
1531
1534
  "version": zod.int(),
1532
1535
  "dateCreated": zod.iso.datetime({ "local": true, "offset": true }),
1533
1536
  "dateModified": zod.iso.datetime({ "local": true, "offset": true })
1534
1537
  });
1538
+ var deleteConnectionsByIdParams = zod.object({
1539
+ "id": zod.guid()
1540
+ });
1541
+ zod.unknown();
1535
1542
  var putConnectionsByIdParams = zod.object({
1536
1543
  "id": zod.guid()
1537
1544
  });
1538
- var putConnectionsByIdBodyOneVersionMax = 2147483647;
1545
+ var putConnectionsByIdBodyVersionMax = 2147483647;
1539
1546
  var putConnectionsByIdBody = zod.object({
1540
1547
  "alias": zod.string().min(1),
1541
1548
  "name": zod.string().min(1),
1542
1549
  "type": zod.string().min(1),
1543
- "settings": zod.record(zod.string(), zod.unknown().nullable()),
1544
- "version": zod.int().min(1).max(putConnectionsByIdBodyOneVersionMax)
1550
+ "settings": zod.looseObject({}),
1551
+ "version": zod.int().min(1).max(putConnectionsByIdBodyVersionMax)
1545
1552
  });
1546
1553
  zod.unknown();
1547
1554
  var postConnectionsByIdTestParams = zod.object({
@@ -1559,15 +1566,7 @@ var getMetricsQueryParams = zod.object({
1559
1566
  });
1560
1567
  var getMetricsResponse = zod.object({
1561
1568
  "totalRuns": zod.int(),
1562
- "byStatus": zod.object({
1563
- "Pending": zod.int(),
1564
- "Running": zod.int(),
1565
- "Completed": zod.int(),
1566
- "Failed": zod.int(),
1567
- "Suspended": zod.int(),
1568
- "Cancelled": zod.int(),
1569
- "Rejected": zod.int()
1570
- }),
1569
+ "byStatus": zod.record(zod.string(), zod.int()),
1571
1570
  "successRate": zod.number()
1572
1571
  });
1573
1572
  var getMetricsByAutomationQueryTakeDefault = 10;
@@ -1732,14 +1731,6 @@ var getVersionHistoryByEntityTypeByEntityIdByFromEntityVersionCompareByToEntityV
1732
1731
  });
1733
1732
  var getVersionHistorySupportedTypesResponseItem = zod.string();
1734
1733
  zod.array(getVersionHistorySupportedTypesResponseItem);
1735
- zod.object({
1736
- "alias": zod.string().min(1),
1737
- "name": zod.string().min(1),
1738
- "serviceAccountKey": zod.guid(),
1739
- "userGroups": zod.array(zod.guid()),
1740
- "allowedConnections": zod.array(zod.guid())
1741
- });
1742
- zod.void();
1743
1734
  var getWorkspacesQueryTakeDefault = 100;
1744
1735
  var getWorkspacesQueryParams = zod.object({
1745
1736
  "filter": zod.string().optional(),
@@ -1759,9 +1750,13 @@ var getWorkspacesResponse = zod.object({
1759
1750
  }))
1760
1751
  });
1761
1752
  zod.object({
1762
- "id": zod.guid()
1753
+ "alias": zod.string().min(1),
1754
+ "name": zod.string().min(1),
1755
+ "serviceAccountKey": zod.guid(),
1756
+ "userGroups": zod.array(zod.guid()),
1757
+ "allowedConnections": zod.array(zod.guid())
1763
1758
  });
1764
- zod.unknown();
1759
+ zod.void();
1765
1760
  zod.object({
1766
1761
  "id": zod.guid()
1767
1762
  });
@@ -1779,27 +1774,23 @@ var getWorkspacesByIdResponse = zod.object({
1779
1774
  zod.object({
1780
1775
  "id": zod.guid()
1781
1776
  });
1782
- var putWorkspacesByIdBodyOneVersionMax = 2147483647;
1777
+ zod.unknown();
1778
+ zod.object({
1779
+ "id": zod.guid()
1780
+ });
1781
+ var putWorkspacesByIdBodyVersionMax = 2147483647;
1783
1782
  var putWorkspacesByIdBody = zod.object({
1784
1783
  "alias": zod.string().min(1),
1785
1784
  "name": zod.string().min(1),
1786
1785
  "serviceAccountKey": zod.guid(),
1787
1786
  "userGroups": zod.array(zod.guid()),
1788
1787
  "allowedConnections": zod.array(zod.guid()),
1789
- "version": zod.int().min(1).max(putWorkspacesByIdBodyOneVersionMax)
1788
+ "version": zod.int().min(1).max(putWorkspacesByIdBodyVersionMax)
1790
1789
  });
1791
1790
  zod.unknown();
1792
1791
  zod.object({
1793
1792
  "id": zod.guid()
1794
1793
  });
1795
- zod.object({
1796
- "name": zod.string().min(1),
1797
- "parentId": zod.guid().nullish()
1798
- });
1799
- zod.void();
1800
- zod.object({
1801
- "id": zod.guid()
1802
- });
1803
1794
  zod.object({
1804
1795
  "parentGroupId": zod.guid().optional()
1805
1796
  });
@@ -1812,10 +1803,13 @@ var getWorkspacesByIdGroupsResponseItem = zod.object({
1812
1803
  });
1813
1804
  var getWorkspacesByIdGroupsResponse = zod.array(getWorkspacesByIdGroupsResponseItem);
1814
1805
  zod.object({
1815
- "id": zod.guid(),
1816
- "groupId": zod.guid()
1806
+ "id": zod.guid()
1817
1807
  });
1818
- zod.unknown();
1808
+ zod.object({
1809
+ "name": zod.string().min(1),
1810
+ "parentId": zod.guid().nullish()
1811
+ });
1812
+ zod.void();
1819
1813
  zod.object({
1820
1814
  "id": zod.guid(),
1821
1815
  "groupId": zod.guid()
@@ -1831,6 +1825,11 @@ zod.object({
1831
1825
  "id": zod.guid(),
1832
1826
  "groupId": zod.guid()
1833
1827
  });
1828
+ zod.unknown();
1829
+ zod.object({
1830
+ "id": zod.guid(),
1831
+ "groupId": zod.guid()
1832
+ });
1834
1833
  var putWorkspacesByIdGroupsByGroupIdBody = zod.object({
1835
1834
  "name": zod.string().min(1),
1836
1835
  "parentId": zod.guid().nullish()
@@ -3418,7 +3417,7 @@ var inputSchema28 = z.object({
3418
3417
  `The step's configured settings, matching the shape described by that step type's settingsSchema, e.g. Form Submitted takes \`formIds\` (an array of form ids). ${SETTINGS_KEYS_HELP} Used to resolve a dynamic output schema when hasDynamicOutputSchema is true. An id that doesn't exist is not reported - it just adds nothing (a form that doesn't exist adds no fields), so check ids before relying on the result.`
3419
3418
  )
3420
3419
  });
3421
- var outputSchema19 = z.looseObject({});
3420
+ var outputSchema19 = postCatalogueStepTypesByAliasOutputSchemaResponse;
3422
3421
  var resolveStepTypeOutputSchemaTool = {
3423
3422
  name: "resolve-step-type-output-schema",
3424
3423
  description: "Computes the JSON schema of the data a configured step would output at runtime, for a given step type alias and settings. Use this when a catalogue entry has hasDynamicOutputSchema set to true, meaning its static outputSchema is not enough \u2014 the real output shape depends on how the step is configured (e.g. the columns returned by a database query action depend on the query itself). The resolved schema tells you what fields will be available for later steps in the automation to reference. If the step has no output for these settings, the result is { hasOutput: false, message } instead of a schema: control-flow steps like If and Parallel never output data, and a dynamic step returns this until it is configured enough to resolve (e.g. Run AI Agent before an agent is chosen). Read-only: no data is created or changed.",
@@ -3701,9 +3700,6 @@ var collection5 = {
3701
3700
  ]
3702
3701
  };
3703
3702
  var connections_default = collection5;
3704
- var outputSchema21 = getMetricsResponse.extend({
3705
- byStatus: z.record(z.string(), z.int())
3706
- });
3707
3703
  var inputSchema35 = {
3708
3704
  ...getMetricsQueryParams.shape,
3709
3705
  workspaceId: getMetricsQueryParams.shape.workspaceId.describe(
@@ -3720,7 +3716,7 @@ var getMetricsTool = {
3720
3716
  name: "get-metrics",
3721
3717
  description: "Gets overall automation run metrics: totalRuns, a byStatus breakdown (e.g. how many runs are Completed, Failed, Running), and successRate (successful runs / total runs). Optionally scope to a single workspace with workspaceId, and/or restrict to runs started within [from, to] (ISO 8601 date-times). If from/to are omitted, the metrics cover all recorded runs with no time restriction. Use get-metrics-by-automation instead when you need the breakdown per individual automation rather than one aggregate total.",
3722
3718
  inputSchema: inputSchema35,
3723
- outputSchema: outputSchema21,
3719
+ outputSchema: getMetricsResponse,
3724
3720
  slices: ["read"],
3725
3721
  annotations: {
3726
3722
  readOnlyHint: true
@@ -3735,7 +3731,7 @@ var getMetricsTool = {
3735
3731
  }
3736
3732
  };
3737
3733
  var get_metrics_default = withStandardDecorators(getMetricsTool);
3738
- var outputSchema22 = z.object({
3734
+ var outputSchema21 = z.object({
3739
3735
  items: z.array(getMetricsByAutomationResponseItem)
3740
3736
  });
3741
3737
  var inputSchema36 = {
@@ -3757,7 +3753,7 @@ var getMetricsByAutomationTool = {
3757
3753
  name: "get-metrics-by-automation",
3758
3754
  description: "Gets automation run metrics broken down per individual automation. Each item has automationId, automationName, totalRuns, successCount, and failCount, so you can compare automations or spot which ones fail most. Optionally scope to a single workspace with workspaceId, and/or restrict to runs started within [from, to] (ISO 8601 date-times) \u2014 if omitted, all recorded runs are considered. `take` limits how many automations are returned (defaults to 10) \u2014 the ordering of results is determined by the API and not otherwise documented here, so raise `take` if you need to confirm whether an automation you're looking for is included; there is no `skip`/total-count for this endpoint, so a full response cannot be distinguished from a truncated one. Use get-metrics instead when you only need one overall total rather than a per-automation list.",
3759
3755
  inputSchema: inputSchema36,
3760
- outputSchema: outputSchema22,
3756
+ outputSchema: outputSchema21,
3761
3757
  slices: ["list"],
3762
3758
  annotations: {
3763
3759
  readOnlyHint: true
@@ -3917,7 +3913,7 @@ var collection7 = {
3917
3913
  ]
3918
3914
  };
3919
3915
  var runs_default = collection7;
3920
- var outputSchema23 = z.object({
3916
+ var outputSchema22 = z.object({
3921
3917
  items: z.array(getVersionHistorySupportedTypesResponseItem)
3922
3918
  });
3923
3919
  var getVersionHistorySupportedTypesTool = {
@@ -3927,7 +3923,7 @@ var getVersionHistorySupportedTypesTool = {
3927
3923
  annotations: {
3928
3924
  readOnlyHint: true
3929
3925
  },
3930
- outputSchema: outputSchema23,
3926
+ outputSchema: outputSchema22,
3931
3927
  handler: async () => {
3932
3928
  return executeGetItemsApiCall(
3933
3929
  (client) => client.getVersionHistorySupportedTypes(CAPTURE_RAW_HTTP_RESPONSE)
@@ -4095,12 +4091,12 @@ var inputSchema46 = {
4095
4091
  "Optional text matched against workspace name and alias."
4096
4092
  )
4097
4093
  };
4098
- var outputSchema24 = getWorkspacesResponse;
4094
+ var outputSchema23 = getWorkspacesResponse;
4099
4095
  var listWorkspacesTool = {
4100
4096
  name: "list-workspaces",
4101
4097
  description: "Lists workspaces, optionally filtered by name/alias, with cursor paging (pass nextCursor from the previous response). Each result includes the workspace id, alias, name, and version needed to fetch, update, or list groups within it. Use list-workspace-groups afterwards to see how a specific workspace organizes its automations into groups.",
4102
4098
  inputSchema: inputSchema46,
4103
- outputSchema: outputSchema24,
4099
+ outputSchema: outputSchema23,
4104
4100
  slices: ["list"],
4105
4101
  annotations: {
4106
4102
  readOnlyHint: true
@@ -4115,12 +4111,12 @@ var list_workspaces_default = withStandardDecorators(listWorkspacesTool);
4115
4111
  var inputSchema47 = {
4116
4112
  workspaceId: z.string().describe("The id of the workspace to fetch.")
4117
4113
  };
4118
- var outputSchema25 = getWorkspacesByIdResponse;
4114
+ var outputSchema24 = getWorkspacesByIdResponse;
4119
4115
  var getWorkspaceTool = {
4120
4116
  name: "get-workspace",
4121
4117
  description: "Gets a single workspace by id. Returns its alias, name, service account key, allowed user groups and connections, and the optimistic-concurrency `version` needed for update-workspace. Use list-workspaces to find a workspace id first.",
4122
4118
  inputSchema: inputSchema47,
4123
- outputSchema: outputSchema25,
4119
+ outputSchema: outputSchema24,
4124
4120
  slices: ["read"],
4125
4121
  annotations: {
4126
4122
  readOnlyHint: true
@@ -4138,12 +4134,12 @@ var inputSchema48 = {
4138
4134
  "Optional parent group id. When set, returns only that group's direct children. When omitted, returns only the workspace's top-level groups (those with no parent) - not every group in the workspace. To see all groups, walk the tree: list top-level groups, then call this again with each group's id to list its children, recursively."
4139
4135
  )
4140
4136
  };
4141
- var outputSchema26 = z.object({ items: getWorkspacesByIdGroupsResponse });
4137
+ var outputSchema25 = z.object({ items: getWorkspacesByIdGroupsResponse });
4142
4138
  var listWorkspaceGroupsTool = {
4143
4139
  name: "list-workspace-groups",
4144
4140
  description: "Lists one level of the groups a workspace uses to organize its automations: either the top-level groups (parentGroupId omitted) or the direct children of one group (parentGroupId set). This does not recursively return nested groups in a single call - call it again with a child group's id to go one level deeper. Each item includes the group id, name, parentId (for nesting) and workspaceId. Use get-workspace-group for a single group, or automations tools to see the automations filed under a group.",
4145
4141
  inputSchema: inputSchema48,
4146
- outputSchema: outputSchema26,
4142
+ outputSchema: outputSchema25,
4147
4143
  slices: ["list"],
4148
4144
  annotations: {
4149
4145
  readOnlyHint: true
@@ -4163,12 +4159,12 @@ var inputSchema49 = {
4163
4159
  workspaceId: z.string().describe("The id of the workspace the group belongs to."),
4164
4160
  groupId: z.string().describe("The id of the group to fetch.")
4165
4161
  };
4166
- var outputSchema27 = getWorkspacesByIdGroupsByGroupIdResponse;
4162
+ var outputSchema26 = getWorkspacesByIdGroupsByGroupIdResponse;
4167
4163
  var getWorkspaceGroupTool = {
4168
4164
  name: "get-workspace-group",
4169
4165
  description: "Gets a single group within a workspace by id, including its name and optional parentId for nesting. Use list-workspace-groups to find a group id first, and automations tools to see the automations filed under it.",
4170
4166
  inputSchema: inputSchema49,
4171
- outputSchema: outputSchema27,
4167
+ outputSchema: outputSchema26,
4172
4168
  slices: ["read"],
4173
4169
  annotations: {
4174
4170
  readOnlyHint: true
@@ -4191,7 +4187,7 @@ var inputSchema50 = {
4191
4187
  userGroups: z.array(z.string()).optional().default([]).describe("Ids of the Umbraco user groups allowed to manage this workspace."),
4192
4188
  allowedConnections: z.array(z.string()).optional().default([]).describe("Ids of the connections that automations in this workspace are allowed to use.")
4193
4189
  };
4194
- var outputSchema28 = z.object({
4190
+ var outputSchema27 = z.object({
4195
4191
  success: z.boolean(),
4196
4192
  id: z.string().optional(),
4197
4193
  location: z.string().optional()
@@ -4200,7 +4196,7 @@ var createWorkspaceTool = {
4200
4196
  name: "create-workspace",
4201
4197
  description: "Creates a new workspace to hold automations. A workspace is the top-level container that scopes automations, the groups (folders) used to organize them, the connections its automations may use, and which Umbraco user groups can manage it. Follow up with create-workspace-group to add folders, or automations tools to add automations to it.",
4202
4198
  inputSchema: inputSchema50,
4203
- outputSchema: outputSchema28,
4199
+ outputSchema: outputSchema27,
4204
4200
  slices: ["create"],
4205
4201
  annotations: {
4206
4202
  destructiveHint: false,
@@ -4236,7 +4232,7 @@ var inputSchema51 = {
4236
4232
  name: z.string().min(1).describe("Display name for the group."),
4237
4233
  parentId: z.string().nullish().describe("Optional id of a parent group, to nest this group underneath it. Omit for a top-level group.")
4238
4234
  };
4239
- var outputSchema29 = z.object({
4235
+ var outputSchema28 = z.object({
4240
4236
  success: z.boolean(),
4241
4237
  id: z.string().optional(),
4242
4238
  location: z.string().optional()
@@ -4245,7 +4241,7 @@ var createWorkspaceGroupTool = {
4245
4241
  name: "create-workspace-group",
4246
4242
  description: "Creates a new group (folder) within a workspace to organize its automations. Pass parentId to nest it under an existing group, or omit it to create a top-level group. Use list-workspace-groups to find existing groups, and automations tools to file automations under the new group.",
4247
4243
  inputSchema: inputSchema51,
4248
- outputSchema: outputSchema29,
4244
+ outputSchema: outputSchema28,
4249
4245
  slices: ["create"],
4250
4246
  annotations: {
4251
4247
  destructiveHint: false,
@@ -4477,8 +4473,8 @@ function loosen(schema) {
4477
4473
  }
4478
4474
  function withLenientOutputSchema(tool) {
4479
4475
  if (!tool.outputSchema) return tool;
4480
- const outputSchema30 = tool.outputSchema instanceof z.ZodType ? loosen(tool.outputSchema) : loosen(z.object(tool.outputSchema));
4481
- return { ...tool, outputSchema: outputSchema30 };
4476
+ const outputSchema29 = tool.outputSchema instanceof z.ZodType ? loosen(tool.outputSchema) : loosen(z.object(tool.outputSchema));
4477
+ return { ...tool, outputSchema: outputSchema29 };
4482
4478
  }
4483
4479
  function withLenientOutputSchemas(collection10) {
4484
4480
  return {
@@ -4502,7 +4498,7 @@ var mockCmsServer = {
4502
4498
  var realCmsServer = {
4503
4499
  name: "cms",
4504
4500
  command: "npx",
4505
- args: ["-y", "@umbraco-cms/mcp-dev@17"],
4501
+ args: ["-y", "@umbraco-cms/mcp-dev@18"],
4506
4502
  env: {
4507
4503
  UMBRACO_BASE_URL: process.env.UMBRACO_BASE_URL || "https://localhost:44320",
4508
4504
  UMBRACO_CLIENT_ID: process.env.UMBRACO_CLIENT_ID || "",
@@ -4623,7 +4619,7 @@ function clearConfigCache() {
4623
4619
  }
4624
4620
 
4625
4621
  // src/config/umbraco-target.generated.ts
4626
- var UMBRACO_TARGET_MAJOR = "17";
4622
+ var UMBRACO_TARGET_MAJOR = "18";
4627
4623
 
4628
4624
  // src/index.ts
4629
4625
  configureApiClient(() => getUmbracoAutomateManagementAPI());
@@ -4662,7 +4658,7 @@ var collections = [
4662
4658
  ].map(withLenientOutputSchemas);
4663
4659
  await handleCliCommands(collections, {
4664
4660
  cliFlags: serverConfig.cliFlags,
4665
- serverName: "my-umbraco-mcp",
4661
+ serverName: "umbraco-automate-mcp",
4666
4662
  serverVersion: package_default.version,
4667
4663
  filterConfig,
4668
4664
  serverConfig: serverConfig.umbraco
@@ -4685,7 +4681,7 @@ if (clientId) {
4685
4681
  }
4686
4682
  var versionCheckMessage = getVersionCheckMessage();
4687
4683
  var server = new McpServer(
4688
- { name: "my-umbraco-mcp", version: package_default.version },
4684
+ { name: "umbraco-automate-mcp", version: package_default.version },
4689
4685
  versionCheckMessage ? { instructions: versionCheckMessage } : void 0
4690
4686
  );
4691
4687
  var registeredToolCount = 0;