@automate.ax/catalog 0.163.2 → 0.164.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/catalog.d.ts CHANGED
@@ -566,7 +566,7 @@ export declare const googleService: {
566
566
  readonly href: "https://automate.ax/privacy";
567
567
  readonly label: "Google data use and deletion";
568
568
  };
569
- readonly description: "During alpha, email hello@automate.ax to request access for the Google Account you want to connect. Automate.ax uses the Google permissions you grant to run your automations. Results may be stored in run history, shared with authorized organization members, and sent to services or AI providers your automation selects. Review those destinations before authorizing. Google Workspace data must not be used for advertising or general AI model training. Email info@automate.ax to request deletion.";
569
+ readonly description: "During alpha, email hello@automate.ax to request Google access for your organization. Automate.ax uses the Google permissions you grant to run your automations. Results may be stored in run history, shared with authorized organization members, and sent to services or AI providers your automation selects. Review those destinations before authorizing. Google Workspace data must not be used for advertising or general AI model training. Email info@automate.ax to request deletion.";
570
570
  readonly title: "Google account data";
571
571
  };
572
572
  readonly description: "Connect a Google account.";
@@ -1825,7 +1825,7 @@ export declare const integrationCatalog: readonly [{
1825
1825
  readonly href: "https://automate.ax/privacy";
1826
1826
  readonly label: "Google data use and deletion";
1827
1827
  };
1828
- readonly description: "During alpha, email hello@automate.ax to request access for the Google Account you want to connect. Automate.ax uses the Google permissions you grant to run your automations. Results may be stored in run history, shared with authorized organization members, and sent to services or AI providers your automation selects. Review those destinations before authorizing. Google Workspace data must not be used for advertising or general AI model training. Email info@automate.ax to request deletion.";
1828
+ readonly description: "During alpha, email hello@automate.ax to request Google access for your organization. Automate.ax uses the Google permissions you grant to run your automations. Results may be stored in run history, shared with authorized organization members, and sent to services or AI providers your automation selects. Review those destinations before authorizing. Google Workspace data must not be used for advertising or general AI model training. Email info@automate.ax to request deletion.";
1829
1829
  readonly title: "Google account data";
1830
1830
  };
1831
1831
  readonly description: "Connect a Google account.";
package/dist/catalog.js CHANGED
@@ -476,7 +476,7 @@ export const googleService = defineIntegrationService({
476
476
  href: "https://automate.ax/privacy",
477
477
  label: "Google data use and deletion",
478
478
  },
479
- description: "During alpha, email hello@automate.ax to request access for the Google Account you want to connect. Automate.ax uses the Google permissions you grant to run your automations. Results may be stored in run history, shared with authorized organization members, and sent to services or AI providers your automation selects. Review those destinations before authorizing. Google Workspace data must not be used for advertising or general AI model training. Email info@automate.ax to request deletion.",
479
+ description: "During alpha, email hello@automate.ax to request Google access for your organization. Automate.ax uses the Google permissions you grant to run your automations. Results may be stored in run history, shared with authorized organization members, and sent to services or AI providers your automation selects. Review those destinations before authorizing. Google Workspace data must not be used for advertising or general AI model training. Email info@automate.ax to request deletion.",
480
480
  title: "Google account data",
481
481
  },
482
482
  description: "Connect a Google account.",
@@ -1,4 +1,15 @@
1
1
  export declare const automateTriggerDefinitions: {
2
+ readonly automateAccountUnhealthy: {
3
+ readonly account: {
4
+ readonly connectionOptions: readonly [{
5
+ readonly connectionMethodId: "organization-api-key";
6
+ readonly requiredScopes: readonly ["account:read"];
7
+ }];
8
+ readonly planDefaultBinding: false;
9
+ readonly serviceId: "automate";
10
+ };
11
+ readonly type: "automate.account.unhealthy";
12
+ };
2
13
  readonly automateActionFailed: {
3
14
  readonly account: {
4
15
  readonly connectionOptions: readonly [{
@@ -19,9 +19,23 @@ const AUTOMATE_DEPLOYMENT_READ_ACCOUNT = {
19
19
  planDefaultBinding: false,
20
20
  serviceId: "automate",
21
21
  };
22
+ const AUTOMATE_ACCOUNT_READ_ACCOUNT = {
23
+ connectionOptions: [
24
+ {
25
+ connectionMethodId: "organization-api-key",
26
+ requiredScopes: ["account:read"],
27
+ },
28
+ ],
29
+ planDefaultBinding: false,
30
+ serviceId: "automate",
31
+ };
22
32
  const AUTOMATION_CONFIG_SCHEMA = z.object({ automation: z.string() });
23
33
  const DEPLOYMENT_CONFIG_SCHEMA = z.object({ projectId: z.string() });
24
34
  export const automateTriggerDefinitions = {
35
+ automateAccountUnhealthy: {
36
+ account: AUTOMATE_ACCOUNT_READ_ACCOUNT,
37
+ type: "automate.account.unhealthy",
38
+ },
25
39
  automateActionFailed: automationTrigger("automate.action.failed"),
26
40
  automateActionIndeterminate: automationTrigger("automate.action.indeterminate"),
27
41
  automateActionRetryScheduled: automationTrigger("automate.action.retryScheduled"),
@@ -9344,6 +9344,17 @@ export declare const triggerDefinitions: {
9344
9344
  };
9345
9345
  readonly type: "asana.task.unassigned";
9346
9346
  };
9347
+ readonly automateAccountUnhealthy: {
9348
+ readonly account: {
9349
+ readonly connectionOptions: readonly [{
9350
+ readonly connectionMethodId: "organization-api-key";
9351
+ readonly requiredScopes: readonly ["account:read"];
9352
+ }];
9353
+ readonly planDefaultBinding: false;
9354
+ readonly serviceId: "automate";
9355
+ };
9356
+ readonly type: "automate.account.unhealthy";
9357
+ };
9347
9358
  readonly automateActionFailed: {
9348
9359
  readonly account: {
9349
9360
  readonly connectionOptions: readonly [{
@@ -10652,6 +10663,17 @@ export declare const triggerCatalog: ({
10652
10663
  value: string;
10653
10664
  }[];
10654
10665
  type: "automate.execution.settled";
10666
+ } | {
10667
+ name: string;
10668
+ account: {
10669
+ readonly connectionOptions: readonly [{
10670
+ readonly connectionMethodId: "organization-api-key";
10671
+ readonly requiredScopes: readonly ["account:read"];
10672
+ }];
10673
+ readonly planDefaultBinding: false;
10674
+ readonly serviceId: "automate";
10675
+ };
10676
+ type: "automate.account.unhealthy";
10655
10677
  } | {
10656
10678
  name: string;
10657
10679
  account: {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@automate.ax/catalog",
3
- "version": "0.163.2",
3
+ "version": "0.164.0",
4
4
  "description": "Shared integration service and trigger definitions for Automate.ax.",
5
5
  "license": "MIT",
6
6
  "homepage": "https://docs.automate.ax",
package/src/catalog.ts CHANGED
@@ -523,7 +523,7 @@ export const googleService = defineIntegrationService({
523
523
  label: "Google data use and deletion",
524
524
  },
525
525
  description:
526
- "During alpha, email hello@automate.ax to request access for the Google Account you want to connect. Automate.ax uses the Google permissions you grant to run your automations. Results may be stored in run history, shared with authorized organization members, and sent to services or AI providers your automation selects. Review those destinations before authorizing. Google Workspace data must not be used for advertising or general AI model training. Email info@automate.ax to request deletion.",
526
+ "During alpha, email hello@automate.ax to request Google access for your organization. Automate.ax uses the Google permissions you grant to run your automations. Results may be stored in run history, shared with authorized organization members, and sent to services or AI providers your automation selects. Review those destinations before authorizing. Google Workspace data must not be used for advertising or general AI model training. Email info@automate.ax to request deletion.",
527
527
  title: "Google account data",
528
528
  },
529
529
  description: "Connect a Google account.",
@@ -23,10 +23,25 @@ const AUTOMATE_DEPLOYMENT_READ_ACCOUNT = {
23
23
  serviceId: "automate",
24
24
  } as const satisfies TriggerAccountRequirement
25
25
 
26
+ const AUTOMATE_ACCOUNT_READ_ACCOUNT = {
27
+ connectionOptions: [
28
+ {
29
+ connectionMethodId: "organization-api-key",
30
+ requiredScopes: ["account:read"],
31
+ },
32
+ ],
33
+ planDefaultBinding: false,
34
+ serviceId: "automate",
35
+ } as const satisfies TriggerAccountRequirement
36
+
26
37
  const AUTOMATION_CONFIG_SCHEMA = z.object({ automation: z.string() })
27
38
  const DEPLOYMENT_CONFIG_SCHEMA = z.object({ projectId: z.string() })
28
39
 
29
40
  export const automateTriggerDefinitions = {
41
+ automateAccountUnhealthy: {
42
+ account: AUTOMATE_ACCOUNT_READ_ACCOUNT,
43
+ type: "automate.account.unhealthy",
44
+ },
30
45
  automateActionFailed: automationTrigger("automate.action.failed"),
31
46
  automateActionIndeterminate: automationTrigger(
32
47
  "automate.action.indeterminate",