@automate.ax/integration-contracts 0.133.0 → 0.135.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.
@@ -25,16 +25,16 @@ export declare const AUTOMATE_ERROR_SCHEMA: z.ZodObject<{
25
25
  }, z.core.$strip>>;
26
26
  }, z.core.$strip>;
27
27
  export declare const AUTOMATE_AUTOMATION_TRIGGER_CONFIG_SCHEMA: z.ZodObject<{
28
- automationId: z.ZodString;
28
+ automation: z.ZodString;
29
29
  }, z.core.$strip>;
30
30
  export declare const AUTOMATE_DEPLOYMENT_TRIGGER_CONFIG_SCHEMA: z.ZodObject<{
31
31
  projectId: z.ZodString;
32
32
  }, z.core.$strip>;
33
33
  export declare const AUTOMATE_EXECUTION_TRIGGER_CONFIG_SCHEMA: z.ZodObject<{
34
- automationId: z.ZodString;
34
+ automation: z.ZodString;
35
35
  }, z.core.$strip>;
36
36
  export declare const AUTOMATE_ACTION_ATTEMPT_TRIGGER_CONFIG_SCHEMA: z.ZodObject<{
37
- automationId: z.ZodString;
37
+ automation: z.ZodString;
38
38
  }, z.core.$strip>;
39
39
  export declare const AUTOMATE_AUTOMATION_STATE_EVENT_SCHEMA: z.ZodObject<{
40
40
  automation: z.ZodObject<{
@@ -628,7 +628,7 @@ export declare const AUTOMATE_ACTION_INDETERMINATE_EVENT_SCHEMA: z.ZodObject<{
628
628
  export declare const automateTriggerContracts: {
629
629
  readonly "automate.action.failed": {
630
630
  readonly configSchema: z.ZodObject<{
631
- automationId: z.ZodString;
631
+ automation: z.ZodString;
632
632
  }, z.core.$strip>;
633
633
  readonly eventSchema: z.ZodObject<{
634
634
  automation: z.ZodObject<{
@@ -695,7 +695,7 @@ export declare const automateTriggerContracts: {
695
695
  };
696
696
  readonly "automate.action.indeterminate": {
697
697
  readonly configSchema: z.ZodObject<{
698
- automationId: z.ZodString;
698
+ automation: z.ZodString;
699
699
  }, z.core.$strip>;
700
700
  readonly eventSchema: z.ZodObject<{
701
701
  automation: z.ZodObject<{
@@ -762,7 +762,7 @@ export declare const automateTriggerContracts: {
762
762
  };
763
763
  readonly "automate.action.retryScheduled": {
764
764
  readonly configSchema: z.ZodObject<{
765
- automationId: z.ZodString;
765
+ automation: z.ZodString;
766
766
  }, z.core.$strip>;
767
767
  readonly eventSchema: z.ZodObject<{
768
768
  action: z.ZodObject<{
@@ -834,7 +834,7 @@ export declare const automateTriggerContracts: {
834
834
  };
835
835
  readonly "automate.actionAttempt.event": {
836
836
  readonly configSchema: z.ZodObject<{
837
- automationId: z.ZodString;
837
+ automation: z.ZodString;
838
838
  }, z.core.$strip>;
839
839
  readonly eventSchema: z.ZodObject<{
840
840
  action: z.ZodObject<{
@@ -912,7 +912,7 @@ export declare const automateTriggerContracts: {
912
912
  };
913
913
  readonly "automate.automation.disabled": {
914
914
  readonly configSchema: z.ZodObject<{
915
- automationId: z.ZodString;
915
+ automation: z.ZodString;
916
916
  }, z.core.$strip>;
917
917
  readonly eventSchema: z.ZodObject<{
918
918
  automation: z.ZodObject<{
@@ -935,7 +935,7 @@ export declare const automateTriggerContracts: {
935
935
  };
936
936
  readonly "automate.automation.enabled": {
937
937
  readonly configSchema: z.ZodObject<{
938
- automationId: z.ZodString;
938
+ automation: z.ZodString;
939
939
  }, z.core.$strip>;
940
940
  readonly eventSchema: z.ZodObject<{
941
941
  automation: z.ZodObject<{
@@ -958,7 +958,7 @@ export declare const automateTriggerContracts: {
958
958
  };
959
959
  readonly "automate.automation.stateChanged": {
960
960
  readonly configSchema: z.ZodObject<{
961
- automationId: z.ZodString;
961
+ automation: z.ZodString;
962
962
  }, z.core.$strip>;
963
963
  readonly eventSchema: z.ZodObject<{
964
964
  automation: z.ZodObject<{
@@ -1153,7 +1153,7 @@ export declare const automateTriggerContracts: {
1153
1153
  };
1154
1154
  readonly "automate.execution.event": {
1155
1155
  readonly configSchema: z.ZodObject<{
1156
- automationId: z.ZodString;
1156
+ automation: z.ZodString;
1157
1157
  }, z.core.$strip>;
1158
1158
  readonly eventSchema: z.ZodObject<{
1159
1159
  automation: z.ZodObject<{
@@ -1210,7 +1210,7 @@ export declare const automateTriggerContracts: {
1210
1210
  };
1211
1211
  readonly "automate.execution.failed": {
1212
1212
  readonly configSchema: z.ZodObject<{
1213
- automationId: z.ZodString;
1213
+ automation: z.ZodString;
1214
1214
  }, z.core.$strip>;
1215
1215
  readonly eventSchema: z.ZodObject<{
1216
1216
  automation: z.ZodObject<{
@@ -1263,7 +1263,7 @@ export declare const automateTriggerContracts: {
1263
1263
  };
1264
1264
  readonly "automate.execution.settled": {
1265
1265
  readonly configSchema: z.ZodObject<{
1266
- automationId: z.ZodString;
1266
+ automation: z.ZodString;
1267
1267
  }, z.core.$strip>;
1268
1268
  readonly eventSchema: z.ZodObject<{
1269
1269
  automation: z.ZodObject<{
@@ -31,7 +31,7 @@ export const AUTOMATE_ERROR_SCHEMA = AUTOMATE_ERROR_BASE_SCHEMA.extend({
31
31
  cause: AUTOMATE_ERROR_DEPTH_2_SCHEMA.optional(),
32
32
  });
33
33
  export const AUTOMATE_AUTOMATION_TRIGGER_CONFIG_SCHEMA = z.object({
34
- automationId: z.string().min(1),
34
+ automation: z.string().min(1),
35
35
  });
36
36
  export const AUTOMATE_DEPLOYMENT_TRIGGER_CONFIG_SCHEMA = z.object({
37
37
  projectId: z.string().min(1),
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@automate.ax/integration-contracts",
3
- "version": "0.133.0",
3
+ "version": "0.135.0",
4
4
  "description": "Shared integration payload contracts and provider primitives for Automate.ax.",
5
5
  "license": "MIT",
6
6
  "repository": {
@@ -59,7 +59,7 @@
59
59
  }
60
60
  },
61
61
  "dependencies": {
62
- "@automate.ax/codec": "0.133.0",
62
+ "@automate.ax/codec": "0.135.0",
63
63
  "@cfworker/json-schema": "^4.1.1",
64
64
  "@googleapis/calendar": "^16.0.0",
65
65
  "@googleapis/forms": "^6.0.1",
@@ -34,7 +34,7 @@ export const AUTOMATE_ERROR_SCHEMA = AUTOMATE_ERROR_BASE_SCHEMA.extend({
34
34
  })
35
35
 
36
36
  export const AUTOMATE_AUTOMATION_TRIGGER_CONFIG_SCHEMA = z.object({
37
- automationId: z.string().min(1),
37
+ automation: z.string().min(1),
38
38
  })
39
39
 
40
40
  export const AUTOMATE_DEPLOYMENT_TRIGGER_CONFIG_SCHEMA = z.object({