@automate.ax/catalog 0.105.0 → 0.107.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
@@ -425,10 +425,23 @@ export declare const linearService: {
425
425
  readonly id: "oauth";
426
426
  readonly name: "OAuth";
427
427
  readonly type: "redirect";
428
+ }, {
429
+ readonly credentialUrl: "https://linear.app/settings/api";
430
+ readonly fields: readonly [{
431
+ readonly placeholder: "lin_api_...";
432
+ readonly input: "password";
433
+ readonly label: "API key";
434
+ readonly name: "apiKey";
435
+ readonly required: true;
436
+ }];
437
+ readonly id: "api-key";
438
+ readonly name: "Personal API key";
439
+ readonly type: "form";
428
440
  }];
429
- readonly description: "Connect a Linear workspace.";
441
+ readonly description: "Connect a Linear workspace with OAuth or a personal API key.";
430
442
  readonly id: "linear";
431
443
  readonly name: "Linear";
444
+ readonly preferredConnectionMethodId: "oauth";
432
445
  };
433
446
  export declare const jobNimbusService: {
434
447
  readonly id: "jobnimbus";
@@ -1266,10 +1279,23 @@ export declare const integrationCatalog: readonly [{
1266
1279
  readonly id: "oauth";
1267
1280
  readonly name: "OAuth";
1268
1281
  readonly type: "redirect";
1282
+ }, {
1283
+ readonly credentialUrl: "https://linear.app/settings/api";
1284
+ readonly fields: readonly [{
1285
+ readonly placeholder: "lin_api_...";
1286
+ readonly input: "password";
1287
+ readonly label: "API key";
1288
+ readonly name: "apiKey";
1289
+ readonly required: true;
1290
+ }];
1291
+ readonly id: "api-key";
1292
+ readonly name: "Personal API key";
1293
+ readonly type: "form";
1269
1294
  }];
1270
- readonly description: "Connect a Linear workspace.";
1295
+ readonly description: "Connect a Linear workspace with OAuth or a personal API key.";
1271
1296
  readonly id: "linear";
1272
1297
  readonly name: "Linear";
1298
+ readonly preferredConnectionMethodId: "oauth";
1273
1299
  }, {
1274
1300
  readonly connectionMethods: readonly [{
1275
1301
  readonly id: "oauth";
package/dist/catalog.js CHANGED
@@ -271,10 +271,20 @@ export const huggingfaceService = defineIntegrationService({
271
271
  name: "Hugging Face",
272
272
  });
273
273
  export const linearService = defineIntegrationService({
274
- connectionMethods: [{ id: "oauth", name: "OAuth", type: "redirect" }],
275
- description: "Connect a Linear workspace.",
274
+ connectionMethods: [
275
+ { id: "oauth", name: "OAuth", type: "redirect" },
276
+ {
277
+ credentialUrl: "https://linear.app/settings/api",
278
+ fields: [{ ...API_KEY_FIELD, placeholder: "lin_api_..." }],
279
+ id: "api-key",
280
+ name: "Personal API key",
281
+ type: "form",
282
+ },
283
+ ],
284
+ description: "Connect a Linear workspace with OAuth or a personal API key.",
276
285
  id: "linear",
277
286
  name: "Linear",
287
+ preferredConnectionMethodId: "oauth",
278
288
  });
279
289
  export const jobNimbusService = defineApiKeyService({
280
290
  credentialUrl: "https://app.jobnimbus.com/account#api",
@@ -0,0 +1,80 @@
1
+ export declare const cloudflareTriggerDefinitions: {
2
+ readonly cloudflareAccessCertificateExpiring: {
3
+ readonly account: {
4
+ readonly connectionOptions: readonly [{
5
+ readonly connectionMethodId: "oauth";
6
+ readonly requiredScopes: readonly ["account.write"];
7
+ }, {
8
+ readonly connectionMethodId: "api-token";
9
+ readonly requiredScopes: readonly [];
10
+ }];
11
+ readonly serviceId: "cloudflare";
12
+ };
13
+ readonly type: "cloudflare.accessCertificate.expiring";
14
+ };
15
+ readonly cloudflareLayer4DdosAttack: {
16
+ readonly account: {
17
+ readonly connectionOptions: readonly [{
18
+ readonly connectionMethodId: "oauth";
19
+ readonly requiredScopes: readonly ["account.write"];
20
+ }, {
21
+ readonly connectionMethodId: "api-token";
22
+ readonly requiredScopes: readonly [];
23
+ }];
24
+ readonly serviceId: "cloudflare";
25
+ };
26
+ readonly type: "cloudflare.layer4DdosAttack";
27
+ };
28
+ readonly cloudflareLayer7DdosAttack: {
29
+ readonly account: {
30
+ readonly connectionOptions: readonly [{
31
+ readonly connectionMethodId: "oauth";
32
+ readonly requiredScopes: readonly ["account.write"];
33
+ }, {
34
+ readonly connectionMethodId: "api-token";
35
+ readonly requiredScopes: readonly [];
36
+ }];
37
+ readonly serviceId: "cloudflare";
38
+ };
39
+ readonly type: "cloudflare.layer7DdosAttack";
40
+ };
41
+ readonly cloudflareNotification: {
42
+ readonly account: {
43
+ readonly connectionOptions: readonly [{
44
+ readonly connectionMethodId: "oauth";
45
+ readonly requiredScopes: readonly ["account.write"];
46
+ }, {
47
+ readonly connectionMethodId: "api-token";
48
+ readonly requiredScopes: readonly [];
49
+ }];
50
+ readonly serviceId: "cloudflare";
51
+ };
52
+ readonly type: "cloudflare.notification";
53
+ };
54
+ readonly cloudflareOriginHealthCheckStatusChanged: {
55
+ readonly account: {
56
+ readonly connectionOptions: readonly [{
57
+ readonly connectionMethodId: "oauth";
58
+ readonly requiredScopes: readonly ["account.write"];
59
+ }, {
60
+ readonly connectionMethodId: "api-token";
61
+ readonly requiredScopes: readonly [];
62
+ }];
63
+ readonly serviceId: "cloudflare";
64
+ };
65
+ readonly type: "cloudflare.originHealthCheckStatusChanged";
66
+ };
67
+ readonly cloudflareSslCertificateEvent: {
68
+ readonly account: {
69
+ readonly connectionOptions: readonly [{
70
+ readonly connectionMethodId: "oauth";
71
+ readonly requiredScopes: readonly ["account.write"];
72
+ }, {
73
+ readonly connectionMethodId: "api-token";
74
+ readonly requiredScopes: readonly [];
75
+ }];
76
+ readonly serviceId: "cloudflare";
77
+ };
78
+ readonly type: "cloudflare.sslCertificate.event";
79
+ };
80
+ };
@@ -0,0 +1,33 @@
1
+ const CLOUDFLARE_ACCOUNT = {
2
+ connectionOptions: [
3
+ { connectionMethodId: "oauth", requiredScopes: ["account.write"] },
4
+ { connectionMethodId: "api-token", requiredScopes: [] },
5
+ ],
6
+ serviceId: "cloudflare",
7
+ };
8
+ export const cloudflareTriggerDefinitions = {
9
+ cloudflareAccessCertificateExpiring: {
10
+ account: CLOUDFLARE_ACCOUNT,
11
+ type: "cloudflare.accessCertificate.expiring",
12
+ },
13
+ cloudflareLayer4DdosAttack: {
14
+ account: CLOUDFLARE_ACCOUNT,
15
+ type: "cloudflare.layer4DdosAttack",
16
+ },
17
+ cloudflareLayer7DdosAttack: {
18
+ account: CLOUDFLARE_ACCOUNT,
19
+ type: "cloudflare.layer7DdosAttack",
20
+ },
21
+ cloudflareNotification: {
22
+ account: CLOUDFLARE_ACCOUNT,
23
+ type: "cloudflare.notification",
24
+ },
25
+ cloudflareOriginHealthCheckStatusChanged: {
26
+ account: CLOUDFLARE_ACCOUNT,
27
+ type: "cloudflare.originHealthCheckStatusChanged",
28
+ },
29
+ cloudflareSslCertificateEvent: {
30
+ account: CLOUDFLARE_ACCOUNT,
31
+ type: "cloudflare.sslCertificate.event",
32
+ },
33
+ };