@culvii/cli 0.0.7 → 0.0.9
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/COMMANDS.md +5 -5
- package/README.md +15 -6
- package/USAGE.md +11 -10
- package/dist/DeployView-D4UEXMDJ.js +2 -0
- package/dist/DevView-GPKSSOLA.js +2 -0
- package/dist/EnvView-3ZURMIZS.js +2 -0
- package/dist/{HelpView-YLCEPIFY.js → HelpView-PELQJJQQ.js} +1 -1
- package/dist/WhoamiView-TKSYSHQ2.js +2 -0
- package/dist/{WorkspaceView-RNFALIPM.js → WorkspaceView-ID7ZMBHV.js} +1 -1
- package/dist/{chunk-IRZMWFC3.js → chunk-KM7ZWOEG.js} +1 -1
- package/dist/index.js +31 -681
- package/dist/lib/evaluator.js +2 -2
- package/dist/login-3OMS75QL.js +39 -0
- package/dist/{logout-TDZA462P.js → logout-ZYTERDYA.js} +1 -1
- package/dist/skill-bundle-Z4FQO3CQ.js +2553 -0
- package/package.json +9 -5
- package/skills/culvii/.culvii-skill.json +90 -0
- package/skills/culvii/SKILL.md +104 -0
- package/skills/culvii/agents/openai.yaml +4 -0
- package/skills/culvii/examples/agent-workflow.culvii.ts +47 -0
- package/skills/culvii/examples/binary-document-workflow.culvii.ts +80 -0
- package/skills/culvii/examples/complete-workflow.culvii.ts +81 -0
- package/skills/culvii/examples/custom-output-surface.culvii.ts +69 -0
- package/skills/culvii/examples/custom-wait-surface.culvii.ts +90 -0
- package/skills/culvii/examples/human-in-the-loop-workflow.culvii.ts +125 -0
- package/skills/culvii/examples/integration-agent-workflow.culvii.ts +101 -0
- package/skills/culvii/examples/multi-agent-workflow-tools.culvii.ts +157 -0
- package/skills/culvii/examples/nested-agent-workflow.culvii.ts +108 -0
- package/skills/culvii/examples/output-surface.culvii.ts +45 -0
- package/skills/culvii/examples/wait-surface.culvii.ts +24 -0
- package/skills/culvii/references/agents.md +77 -0
- package/skills/culvii/references/authoring-files.md +21 -0
- package/skills/culvii/references/cli-guide.md +22 -0
- package/skills/culvii/references/cli-reference.md +217 -0
- package/skills/culvii/references/feedback-cycle.md +43 -0
- package/skills/culvii/references/integrations.md +13 -0
- package/skills/culvii/references/kit-api.md +35 -0
- package/skills/culvii/references/node-argocd.md +44 -0
- package/skills/culvii/references/node-clickup-doc.md +38 -0
- package/skills/culvii/references/node-clickup-ticket.md +47 -0
- package/skills/culvii/references/node-core-agent.md +27 -0
- package/skills/culvii/references/node-core-browser-automation.md +53 -0
- package/skills/culvii/references/node-core-code.md +28 -0
- package/skills/culvii/references/node-core-http.md +42 -0
- package/skills/culvii/references/node-core-if.md +26 -0
- package/skills/culvii/references/node-core-jwt.md +31 -0
- package/skills/culvii/references/node-core-loop-break.md +26 -0
- package/skills/culvii/references/node-core-loop-continue.md +26 -0
- package/skills/culvii/references/node-core-loop-output.md +24 -0
- package/skills/culvii/references/node-core-loop.md +25 -0
- package/skills/culvii/references/node-core-merge.md +23 -0
- package/skills/culvii/references/node-core-set.md +24 -0
- package/skills/culvii/references/node-core-switch.md +24 -0
- package/skills/culvii/references/node-cost-explorer.md +45 -0
- package/skills/culvii/references/node-cron-trigger.md +25 -0
- package/skills/culvii/references/node-elasticsearch.md +39 -0
- package/skills/culvii/references/node-github-poll-trigger.md +31 -0
- package/skills/culvii/references/node-github-webhook-trigger.md +27 -0
- package/skills/culvii/references/node-github.md +251 -0
- package/skills/culvii/references/node-gmail-trigger.md +44 -0
- package/skills/culvii/references/node-gmail.md +57 -0
- package/skills/culvii/references/node-google-calendar.md +51 -0
- package/skills/culvii/references/node-google-docs.md +46 -0
- package/skills/culvii/references/node-grafana-dashboard.md +38 -0
- package/skills/culvii/references/node-grafana-data-source.md +42 -0
- package/skills/culvii/references/node-grafana-query.md +34 -0
- package/skills/culvii/references/node-hibp-list-domains.md +27 -0
- package/skills/culvii/references/node-hibp-stealer-logs.md +30 -0
- package/skills/culvii/references/node-kubernetes.md +51 -0
- package/skills/culvii/references/node-manual-trigger.md +24 -0
- package/skills/culvii/references/node-microsoft-outlook-trigger.md +41 -0
- package/skills/culvii/references/node-microsoft-outlook.md +56 -0
- package/skills/culvii/references/node-microsoft-sharepoint.md +40 -0
- package/skills/culvii/references/node-onionsearch.md +27 -0
- package/skills/culvii/references/node-prometheus.md +40 -0
- package/skills/culvii/references/node-s3.md +40 -0
- package/skills/culvii/references/node-slack-events-trigger.md +37 -0
- package/skills/culvii/references/node-slack-interactions-trigger.md +28 -0
- package/skills/culvii/references/node-slack-trigger.md +40 -0
- package/skills/culvii/references/node-slack.md +162 -0
- package/skills/culvii/references/node-supabase.md +61 -0
- package/skills/culvii/references/node-twilio.md +39 -0
- package/skills/culvii/references/node-wait-timer.md +24 -0
- package/skills/culvii/references/node-webhook-trigger.md +24 -0
- package/skills/culvii/references/nodes-index.md +51 -0
- package/skills/culvii/references/runtime-values.md +36 -0
- package/skills/culvii/references/surface-authoring.md +38 -0
- package/skills/culvii/references/surface-display.md +390 -0
- package/skills/culvii/references/surface-feedback.md +38 -0
- package/skills/culvii/references/surface-input-actions.md +143 -0
- package/skills/culvii/references/surface-layout.md +97 -0
- package/skills/culvii/references/validation.md +18 -0
- package/skills/culvii/references/workflows.md +30 -0
- package/dist/DeployView-GEJNL26A.js +0 -2
- package/dist/DevView-SOPAMSZ4.js +0 -2
- package/dist/EnvView-MCZC2NBO.js +0 -2
- package/dist/WhoamiView-67HV2L5J.js +0 -2
- package/dist/chunk-MPKGJC7N.js +0 -2
- package/dist/login-G5QUR55L.js +0 -36
- /package/dist/{chunk-5NBKYMD7.js → chunk-56C3DFV2.js} +0 -0
- /package/dist/{chunk-JFIFRAAR.js → chunk-RS5GDTRN.js} +0 -0
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
# core.loopContinue
|
|
2
|
+
|
|
3
|
+
- Type ID: `core.loopContinue`
|
|
4
|
+
- Kind: `action`
|
|
5
|
+
- Credentials: not required
|
|
6
|
+
- Feedback mock: not required
|
|
7
|
+
|
|
8
|
+
## Props
|
|
9
|
+
|
|
10
|
+
- `conditions`: array; required
|
|
11
|
+
- `combineOperation`: options; required
|
|
12
|
+
- Values: `all`, `any`
|
|
13
|
+
- `pauseAfterExecution`: boolean; optional
|
|
14
|
+
|
|
15
|
+
## Example
|
|
16
|
+
|
|
17
|
+
```ts
|
|
18
|
+
new Step({
|
|
19
|
+
id: 'core-loop-continue',
|
|
20
|
+
name: 'core.loopContinue',
|
|
21
|
+
type: 'core.loopContinue',
|
|
22
|
+
params: { /* use the required props and conditional values above */ },
|
|
23
|
+
});
|
|
24
|
+
```
|
|
25
|
+
|
|
26
|
+
Further reading: [Culvii core.loopContinue node](https://culvii.com/docs/nodes/core/loop-continue/).
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
# core.loopOutput
|
|
2
|
+
|
|
3
|
+
- Type ID: `core.loopOutput`
|
|
4
|
+
- Kind: `action`
|
|
5
|
+
- Credentials: not required
|
|
6
|
+
- Feedback mock: not required
|
|
7
|
+
|
|
8
|
+
## Props
|
|
9
|
+
|
|
10
|
+
- `values`: object; required
|
|
11
|
+
- `pauseAfterExecution`: boolean; optional
|
|
12
|
+
|
|
13
|
+
## Example
|
|
14
|
+
|
|
15
|
+
```ts
|
|
16
|
+
new Step({
|
|
17
|
+
id: 'core-loop-output',
|
|
18
|
+
name: 'core.loopOutput',
|
|
19
|
+
type: 'core.loopOutput',
|
|
20
|
+
params: { /* use the required props and conditional values above */ },
|
|
21
|
+
});
|
|
22
|
+
```
|
|
23
|
+
|
|
24
|
+
Further reading: [Culvii core.loopOutput node](https://culvii.com/docs/nodes/core/loop-output/).
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
# core.loop
|
|
2
|
+
|
|
3
|
+
- Type ID: `core.loop`
|
|
4
|
+
- Kind: `action`
|
|
5
|
+
- Credentials: not required
|
|
6
|
+
- Feedback mock: not required
|
|
7
|
+
|
|
8
|
+
## Props
|
|
9
|
+
|
|
10
|
+
- `items`: array; required
|
|
11
|
+
- `parallel`: boolean; required
|
|
12
|
+
- `pauseAfterExecution`: boolean; optional
|
|
13
|
+
|
|
14
|
+
## Example
|
|
15
|
+
|
|
16
|
+
```ts
|
|
17
|
+
new Step({
|
|
18
|
+
id: 'core-loop',
|
|
19
|
+
name: 'core.loop',
|
|
20
|
+
type: 'core.loop',
|
|
21
|
+
params: { /* use the required props and conditional values above */ },
|
|
22
|
+
});
|
|
23
|
+
```
|
|
24
|
+
|
|
25
|
+
Further reading: [Culvii core.loop node](https://culvii.com/docs/nodes/core/loop/).
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
# core.merge
|
|
2
|
+
|
|
3
|
+
- Type ID: `core.merge`
|
|
4
|
+
- Kind: `action`
|
|
5
|
+
- Credentials: not required
|
|
6
|
+
- Feedback mock: not required
|
|
7
|
+
|
|
8
|
+
## Props
|
|
9
|
+
|
|
10
|
+
- `pauseAfterExecution`: boolean; optional
|
|
11
|
+
|
|
12
|
+
## Example
|
|
13
|
+
|
|
14
|
+
```ts
|
|
15
|
+
new Step({
|
|
16
|
+
id: 'core-merge',
|
|
17
|
+
name: 'core.merge',
|
|
18
|
+
type: 'core.merge',
|
|
19
|
+
params: { /* use the required props and conditional values above */ },
|
|
20
|
+
});
|
|
21
|
+
```
|
|
22
|
+
|
|
23
|
+
Further reading: [Culvii core.merge node](https://culvii.com/docs/nodes/core/merge/).
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
# core.set
|
|
2
|
+
|
|
3
|
+
- Type ID: `core.set`
|
|
4
|
+
- Kind: `action`
|
|
5
|
+
- Credentials: not required
|
|
6
|
+
- Feedback mock: not required
|
|
7
|
+
|
|
8
|
+
## Props
|
|
9
|
+
|
|
10
|
+
- `values`: object; required
|
|
11
|
+
- `pauseAfterExecution`: boolean; optional
|
|
12
|
+
|
|
13
|
+
## Example
|
|
14
|
+
|
|
15
|
+
```ts
|
|
16
|
+
new Step({
|
|
17
|
+
id: 'core-set',
|
|
18
|
+
name: 'core.set',
|
|
19
|
+
type: 'core.set',
|
|
20
|
+
params: { /* use the required props and conditional values above */ },
|
|
21
|
+
});
|
|
22
|
+
```
|
|
23
|
+
|
|
24
|
+
Further reading: [Culvii core.set node](https://culvii.com/docs/nodes/core/set/).
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
# core.switch
|
|
2
|
+
|
|
3
|
+
- Type ID: `core.switch`
|
|
4
|
+
- Kind: `action`
|
|
5
|
+
- Credentials: not required
|
|
6
|
+
- Feedback mock: not required
|
|
7
|
+
|
|
8
|
+
## Props
|
|
9
|
+
|
|
10
|
+
- `rules`: array; required
|
|
11
|
+
- `pauseAfterExecution`: boolean; optional
|
|
12
|
+
|
|
13
|
+
## Example
|
|
14
|
+
|
|
15
|
+
```ts
|
|
16
|
+
new Step({
|
|
17
|
+
id: 'core-switch',
|
|
18
|
+
name: 'core.switch',
|
|
19
|
+
type: 'core.switch',
|
|
20
|
+
params: { /* use the required props and conditional values above */ },
|
|
21
|
+
});
|
|
22
|
+
```
|
|
23
|
+
|
|
24
|
+
Further reading: [Culvii core.switch node](https://culvii.com/docs/nodes/core/switch/).
|
|
@@ -0,0 +1,45 @@
|
|
|
1
|
+
# costExplorer
|
|
2
|
+
|
|
3
|
+
- Type ID: `costExplorer`
|
|
4
|
+
- Kind: `action`
|
|
5
|
+
- Credentials: required as `credentials: { name, id }`; `name` must be one of: `aws_cost_explorer`
|
|
6
|
+
- Feedback mock: required
|
|
7
|
+
|
|
8
|
+
Resolve the credential through [integration selection](integrations.md); never ask the user to copy a credential ID.
|
|
9
|
+
|
|
10
|
+
## Props
|
|
11
|
+
|
|
12
|
+
- `resource`: options; required
|
|
13
|
+
- Values: `costAndUsage`
|
|
14
|
+
- `operation`: options; required; when resource=costAndUsage
|
|
15
|
+
- Values: `get`
|
|
16
|
+
- `dateRange`: options; required; when resource=costAndUsage, operation=get
|
|
17
|
+
- Values: `yesterday`, `last7Days`, `last30Days`, `monthToDate`, `lastMonth`, `custom`
|
|
18
|
+
- `startDate`: string; required; when resource=costAndUsage, operation=get, dateRange=custom
|
|
19
|
+
- `endDate`: string; required; when resource=costAndUsage, operation=get, dateRange=custom
|
|
20
|
+
- `granularity`: options; required; when resource=costAndUsage, operation=get
|
|
21
|
+
- Values: `DAILY`, `MONTHLY`
|
|
22
|
+
- `metric`: options; required; when resource=costAndUsage, operation=get
|
|
23
|
+
- Values: `NetUnblendedCost`, `NetAmortizedCost`, `UnblendedCost`, `BlendedCost`, `AmortizedCost`
|
|
24
|
+
- `groupBy`: json; optional; when resource=costAndUsage, operation=get
|
|
25
|
+
- `services`: json; optional; when resource=costAndUsage, operation=get
|
|
26
|
+
- `accountIds`: json; optional; when resource=costAndUsage, operation=get
|
|
27
|
+
- `filterExpression`: json; optional; when resource=costAndUsage, operation=get
|
|
28
|
+
- `outputFormat`: options; required; when resource=costAndUsage, operation=get
|
|
29
|
+
- Values: `simple`, `raw`
|
|
30
|
+
- `limit`: number; optional; when resource=costAndUsage, operation=get
|
|
31
|
+
- `pauseAfterExecution`: boolean; optional
|
|
32
|
+
|
|
33
|
+
## Example
|
|
34
|
+
|
|
35
|
+
```ts
|
|
36
|
+
new Step({
|
|
37
|
+
id: 'cost-explorer',
|
|
38
|
+
name: 'costExplorer',
|
|
39
|
+
type: 'costExplorer',
|
|
40
|
+
credentials: { name: 'aws_cost_explorer', id: 'credential-id' },
|
|
41
|
+
params: { /* use the required props and conditional values above */ },
|
|
42
|
+
});
|
|
43
|
+
```
|
|
44
|
+
|
|
45
|
+
Further reading: [Culvii costExplorer node](https://culvii.com/docs/nodes/cost-explorer/).
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
# cronTrigger
|
|
2
|
+
|
|
3
|
+
- Type ID: `cronTrigger`
|
|
4
|
+
- Kind: `trigger`
|
|
5
|
+
- Credentials: not required
|
|
6
|
+
- Feedback mock: not required
|
|
7
|
+
|
|
8
|
+
## Props
|
|
9
|
+
|
|
10
|
+
- `cronExpression`: string; optional
|
|
11
|
+
- `pollIntervalMs`: number; optional
|
|
12
|
+
- `pauseAfterExecution`: boolean; optional
|
|
13
|
+
|
|
14
|
+
## Example
|
|
15
|
+
|
|
16
|
+
```ts
|
|
17
|
+
new Step({
|
|
18
|
+
id: 'cron-trigger',
|
|
19
|
+
name: 'cronTrigger',
|
|
20
|
+
type: 'cronTrigger',
|
|
21
|
+
params: { /* use the required props and conditional values above */ },
|
|
22
|
+
});
|
|
23
|
+
```
|
|
24
|
+
|
|
25
|
+
Further reading: [Culvii cronTrigger node](https://culvii.com/docs/nodes/triggers/cron-trigger/).
|
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
# elasticsearch
|
|
2
|
+
|
|
3
|
+
- Type ID: `elasticsearch`
|
|
4
|
+
- Kind: `action`
|
|
5
|
+
- Credentials: required as `credentials: { name, id }`; `name` must be one of: `elasticsearch`
|
|
6
|
+
- Feedback mock: required
|
|
7
|
+
|
|
8
|
+
Resolve the credential through [integration selection](integrations.md); never ask the user to copy a credential ID.
|
|
9
|
+
|
|
10
|
+
## Props
|
|
11
|
+
|
|
12
|
+
- `resource`: options; required
|
|
13
|
+
- Values: `document`
|
|
14
|
+
- `operation`: options; required; when resource=document
|
|
15
|
+
- Values: `search`, `updateDocument`
|
|
16
|
+
- `index`: string; required; when resource=document, operation=search
|
|
17
|
+
- `query`: json; required; when resource=document, operation=search
|
|
18
|
+
- `size`: number; optional; when resource=document, operation=search
|
|
19
|
+
- `sort`: json; optional; when resource=document, operation=search
|
|
20
|
+
- `retryOnEmptyHits`: boolean; optional; when resource=document, operation=search
|
|
21
|
+
- `retryDelaysSec`: array; optional; when resource=document, operation=search, retryOnEmptyHits=true
|
|
22
|
+
- `index`: string; required; when resource=document, operation=updateDocument
|
|
23
|
+
- `id`: string; required; when resource=document, operation=updateDocument
|
|
24
|
+
- `fields`: json; required; when resource=document, operation=updateDocument
|
|
25
|
+
- `pauseAfterExecution`: boolean; optional
|
|
26
|
+
|
|
27
|
+
## Example
|
|
28
|
+
|
|
29
|
+
```ts
|
|
30
|
+
new Step({
|
|
31
|
+
id: 'elasticsearch',
|
|
32
|
+
name: 'elasticsearch',
|
|
33
|
+
type: 'elasticsearch',
|
|
34
|
+
credentials: { name: 'elasticsearch', id: 'credential-id' },
|
|
35
|
+
params: { /* use the required props and conditional values above */ },
|
|
36
|
+
});
|
|
37
|
+
```
|
|
38
|
+
|
|
39
|
+
Further reading: [Culvii elasticsearch node](https://culvii.com/docs/nodes/elasticsearch/).
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
# githubPollTrigger
|
|
2
|
+
|
|
3
|
+
- Type ID: `githubPollTrigger`
|
|
4
|
+
- Kind: `trigger`
|
|
5
|
+
- Credentials: required as `credentials: { name, id }`; `name` must be one of: `github`, `github_oauth`, `github_app`
|
|
6
|
+
- Feedback mock: required
|
|
7
|
+
|
|
8
|
+
Resolve the credential through [integration selection](integrations.md); never ask the user to copy a credential ID.
|
|
9
|
+
|
|
10
|
+
## Props
|
|
11
|
+
|
|
12
|
+
- `pollIntervalMs`: number; required
|
|
13
|
+
- `owner`: string; required
|
|
14
|
+
- `repo`: string; required
|
|
15
|
+
- `watch`: options; required
|
|
16
|
+
- Values: `pullRequest`, `issue`
|
|
17
|
+
- `pauseAfterExecution`: boolean; optional
|
|
18
|
+
|
|
19
|
+
## Example
|
|
20
|
+
|
|
21
|
+
```ts
|
|
22
|
+
new Step({
|
|
23
|
+
id: 'github-poll-trigger',
|
|
24
|
+
name: 'githubPollTrigger',
|
|
25
|
+
type: 'githubPollTrigger',
|
|
26
|
+
credentials: { name: 'github', id: 'credential-id' },
|
|
27
|
+
params: { /* use the required props and conditional values above */ },
|
|
28
|
+
});
|
|
29
|
+
```
|
|
30
|
+
|
|
31
|
+
Further reading: [Culvii githubPollTrigger node](https://culvii.com/docs/nodes/triggers/github-poll-trigger/).
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
# githubWebhookTrigger
|
|
2
|
+
|
|
3
|
+
- Type ID: `githubWebhookTrigger`
|
|
4
|
+
- Kind: `trigger`
|
|
5
|
+
- Credentials: required as `credentials: { name, id }`; `name` must be one of: `github_webhook`
|
|
6
|
+
- Feedback mock: required
|
|
7
|
+
|
|
8
|
+
Resolve the credential through [integration selection](integrations.md); never ask the user to copy a credential ID.
|
|
9
|
+
|
|
10
|
+
## Props
|
|
11
|
+
|
|
12
|
+
- `method`: string; required
|
|
13
|
+
- `pauseAfterExecution`: boolean; optional
|
|
14
|
+
|
|
15
|
+
## Example
|
|
16
|
+
|
|
17
|
+
```ts
|
|
18
|
+
new Step({
|
|
19
|
+
id: 'github-webhook-trigger',
|
|
20
|
+
name: 'githubWebhookTrigger',
|
|
21
|
+
type: 'githubWebhookTrigger',
|
|
22
|
+
credentials: { name: 'github_webhook', id: 'credential-id' },
|
|
23
|
+
params: { /* use the required props and conditional values above */ },
|
|
24
|
+
});
|
|
25
|
+
```
|
|
26
|
+
|
|
27
|
+
Further reading: [Culvii githubWebhookTrigger node](https://culvii.com/docs/nodes/triggers/github-webhook-trigger/).
|
|
@@ -0,0 +1,251 @@
|
|
|
1
|
+
# github
|
|
2
|
+
|
|
3
|
+
- Type ID: `github`
|
|
4
|
+
- Kind: `action`
|
|
5
|
+
- Credentials: required as `credentials: { name, id }`; `name` must be one of: `github`, `github_oauth`, `github_app`
|
|
6
|
+
- Feedback mock: required
|
|
7
|
+
|
|
8
|
+
Resolve the credential through [integration selection](integrations.md); never ask the user to copy a credential ID.
|
|
9
|
+
|
|
10
|
+
## Props
|
|
11
|
+
|
|
12
|
+
- `resource`: options; required
|
|
13
|
+
- Values: `pullRequest`, `branch`, `issue`, `repo`, `org`, `gitBlob`, `gitTree`, `gitCommit`, `commitStatus`, `file`, `action`, `search`
|
|
14
|
+
- `operation`: options; required; when resource=pullRequest
|
|
15
|
+
- Values: `list`, `get`, `create`, `close`, `merge`, `listComments`, `createComment`, `createInlineComment`, `createReview`, `requestReviewers`
|
|
16
|
+
- `operation`: options; required; when resource=branch
|
|
17
|
+
- Values: `list`, `get`, `delete`
|
|
18
|
+
- `operation`: options; required; when resource=issue
|
|
19
|
+
- Values: `create`, `list`, `get`, `update`, `close`, `addLabels`, `createComment`
|
|
20
|
+
- `operation`: options; required; when resource=repo
|
|
21
|
+
- Values: `getContents`, `create`
|
|
22
|
+
- `operation`: options; required; when resource=org
|
|
23
|
+
- Values: `list`
|
|
24
|
+
- `operation`: options; required; when resource=gitBlob
|
|
25
|
+
- Values: `create`, `get`
|
|
26
|
+
- `operation`: options; required; when resource=gitTree
|
|
27
|
+
- Values: `create`, `get`
|
|
28
|
+
- `operation`: options; required; when resource=gitCommit
|
|
29
|
+
- Values: `create`
|
|
30
|
+
- `operation`: options; required; when resource=commitStatus
|
|
31
|
+
- Values: `create`, `list`, `getCombined`
|
|
32
|
+
- `operation`: options; required; when resource=file
|
|
33
|
+
- Values: `createOrUpdate`
|
|
34
|
+
- `operation`: options; required; when resource=action
|
|
35
|
+
- Values: `dispatch`
|
|
36
|
+
- `operation`: options; required; when resource=search
|
|
37
|
+
- Values: `issuesAndPRs`
|
|
38
|
+
- `owner`: string; required; when resource=pullRequest, operation=list
|
|
39
|
+
- `repo`: string; required; when resource=pullRequest, operation=list
|
|
40
|
+
- `state`: options; optional; when resource=pullRequest, operation=list
|
|
41
|
+
- Values: `open`, `closed`, `all`
|
|
42
|
+
- `limit`: number; required; when resource=pullRequest, operation=list
|
|
43
|
+
- `output`: options; optional; when resource=pullRequest, operation=list
|
|
44
|
+
- Values: `simple`, `raw`, `fields`
|
|
45
|
+
- `fields`: checkbox; required; when output=fields, resource=pullRequest, operation=list
|
|
46
|
+
- Values: `id`, `number`, `title`, `state`, `body`, `user`, `base`, `head`, `draft`, `merged`, `mergeable`, `merged_at`, `requested_reviewers`, `labels`, `assignees`, `created_at`, `updated_at`, `closed_at`, `html_url`
|
|
47
|
+
- `owner`: string; required; when resource=pullRequest, operation=close
|
|
48
|
+
- `repo`: string; required; when resource=pullRequest, operation=close
|
|
49
|
+
- `pullNumber`: number; required; when resource=pullRequest, operation=close
|
|
50
|
+
- `owner`: string; required; when resource=pullRequest, operation=create
|
|
51
|
+
- `repo`: string; required; when resource=pullRequest, operation=create
|
|
52
|
+
- `title`: string; required; when resource=pullRequest, operation=create
|
|
53
|
+
- `head`: string; required; when resource=pullRequest, operation=create
|
|
54
|
+
- `base`: string; required; when resource=pullRequest, operation=create
|
|
55
|
+
- `body`: string; optional; when resource=pullRequest, operation=create
|
|
56
|
+
- `draft`: boolean; optional; when resource=pullRequest, operation=create
|
|
57
|
+
- `owner`: string; required; when resource=pullRequest, operation=get
|
|
58
|
+
- `repo`: string; required; when resource=pullRequest, operation=get
|
|
59
|
+
- `pullNumber`: number; required; when resource=pullRequest, operation=get
|
|
60
|
+
- `output`: options; optional; when resource=pullRequest, operation=get
|
|
61
|
+
- Values: `simple`, `raw`, `fields`
|
|
62
|
+
- `fields`: checkbox; required; when output=fields, resource=pullRequest, operation=get
|
|
63
|
+
- Values: `id`, `number`, `title`, `state`, `body`, `user`, `base`, `head`, `draft`, `merged`, `mergeable`, `merged_at`, `requested_reviewers`, `labels`, `assignees`, `created_at`, `updated_at`, `closed_at`, `html_url`
|
|
64
|
+
- `owner`: string; required; when resource=pullRequest, operation=merge
|
|
65
|
+
- `repo`: string; required; when resource=pullRequest, operation=merge
|
|
66
|
+
- `pullNumber`: number; required; when resource=pullRequest, operation=merge
|
|
67
|
+
- `mergeMethod`: options; optional; when resource=pullRequest, operation=merge
|
|
68
|
+
- Values: `merge`, `squash`, `rebase`
|
|
69
|
+
- `commitTitle`: string; optional; when resource=pullRequest, operation=merge
|
|
70
|
+
- `commitMessage`: string; optional; when resource=pullRequest, operation=merge
|
|
71
|
+
- `waitForMergeability`: boolean; optional; when resource=pullRequest, operation=merge
|
|
72
|
+
- `owner`: string; required; when resource=pullRequest, operation=listComments
|
|
73
|
+
- `repo`: string; required; when resource=pullRequest, operation=listComments
|
|
74
|
+
- `pullNumber`: number; required; when resource=pullRequest, operation=listComments
|
|
75
|
+
- `limit`: number; required; when resource=pullRequest, operation=listComments
|
|
76
|
+
- `output`: options; optional; when resource=pullRequest, operation=listComments
|
|
77
|
+
- Values: `simple`, `raw`, `fields`
|
|
78
|
+
- `fields`: checkbox; required; when output=fields, resource=pullRequest, operation=listComments
|
|
79
|
+
- Values: `id`, `body`, `user`, `created_at`, `updated_at`, `html_url`
|
|
80
|
+
- `owner`: string; required; when resource=pullRequest, operation=createComment
|
|
81
|
+
- `repo`: string; required; when resource=pullRequest, operation=createComment
|
|
82
|
+
- `pullNumber`: number; required; when resource=pullRequest, operation=createComment
|
|
83
|
+
- `body`: string; required; when resource=pullRequest, operation=createComment
|
|
84
|
+
- `owner`: string; required; when resource=pullRequest, operation=createInlineComment
|
|
85
|
+
- `repo`: string; required; when resource=pullRequest, operation=createInlineComment
|
|
86
|
+
- `pullNumber`: number; required; when resource=pullRequest, operation=createInlineComment
|
|
87
|
+
- `commitId`: string; required; when resource=pullRequest, operation=createInlineComment
|
|
88
|
+
- `path`: string; required; when resource=pullRequest, operation=createInlineComment
|
|
89
|
+
- `line`: number; required; when resource=pullRequest, operation=createInlineComment
|
|
90
|
+
- `start_line`: number; optional; when resource=pullRequest, operation=createInlineComment
|
|
91
|
+
- `side`: options; optional; when resource=pullRequest, operation=createInlineComment
|
|
92
|
+
- Values: `RIGHT`, `LEFT`
|
|
93
|
+
- `start_side`: options; optional; when resource=pullRequest, operation=createInlineComment
|
|
94
|
+
- Values: `RIGHT`, `LEFT`
|
|
95
|
+
- `body`: string; required; when resource=pullRequest, operation=createInlineComment
|
|
96
|
+
- `owner`: string; required; when resource=pullRequest, operation=createReview
|
|
97
|
+
- `repo`: string; required; when resource=pullRequest, operation=createReview
|
|
98
|
+
- `pullNumber`: number; required; when resource=pullRequest, operation=createReview
|
|
99
|
+
- `event`: options; required; when resource=pullRequest, operation=createReview
|
|
100
|
+
- Values: `APPROVE`, `REQUEST_CHANGES`, `COMMENT`
|
|
101
|
+
- `body`: string; optional; when resource=pullRequest, operation=createReview
|
|
102
|
+
- `commitId`: string; optional; when resource=pullRequest, operation=createReview
|
|
103
|
+
- `comments`: json; optional; when resource=pullRequest, operation=createReview
|
|
104
|
+
- `owner`: string; required; when resource=pullRequest, operation=requestReviewers
|
|
105
|
+
- `repo`: string; required; when resource=pullRequest, operation=requestReviewers
|
|
106
|
+
- `pullNumber`: number; required; when resource=pullRequest, operation=requestReviewers
|
|
107
|
+
- `reviewers`: string; optional; when resource=pullRequest, operation=requestReviewers
|
|
108
|
+
- `teamReviewers`: string; optional; when resource=pullRequest, operation=requestReviewers
|
|
109
|
+
- `owner`: string; required; when resource=branch, operation=list
|
|
110
|
+
- `repo`: string; required; when resource=branch, operation=list
|
|
111
|
+
- `limit`: number; required; when resource=branch, operation=list
|
|
112
|
+
- `output`: options; optional; when resource=branch, operation=list
|
|
113
|
+
- Values: `simple`, `raw`, `fields`
|
|
114
|
+
- `fields`: checkbox; required; when output=fields, resource=branch, operation=list
|
|
115
|
+
- Values: `name`, `commit`, `protected`, `protection`
|
|
116
|
+
- `owner`: string; required; when resource=branch, operation=delete
|
|
117
|
+
- `repo`: string; required; when resource=branch, operation=delete
|
|
118
|
+
- `branch`: string; required; when resource=branch, operation=delete
|
|
119
|
+
- `owner`: string; required; when resource=branch, operation=get
|
|
120
|
+
- `repo`: string; required; when resource=branch, operation=get
|
|
121
|
+
- `branch`: string; required; when resource=branch, operation=get
|
|
122
|
+
- `output`: options; optional; when resource=branch, operation=get
|
|
123
|
+
- Values: `simple`, `raw`, `fields`
|
|
124
|
+
- `fields`: checkbox; required; when output=fields, resource=branch, operation=get
|
|
125
|
+
- Values: `name`, `commit`, `protected`, `protection`
|
|
126
|
+
- `owner`: string; required; when resource=issue, operation=create
|
|
127
|
+
- `repo`: string; required; when resource=issue, operation=create
|
|
128
|
+
- `title`: string; required; when resource=issue, operation=create
|
|
129
|
+
- `body`: string; optional; when resource=issue, operation=create
|
|
130
|
+
- `labels`: string; optional; when resource=issue, operation=create
|
|
131
|
+
- `assignees`: string; optional; when resource=issue, operation=create
|
|
132
|
+
- `owner`: string; required; when resource=issue, operation=list
|
|
133
|
+
- `repo`: string; required; when resource=issue, operation=list
|
|
134
|
+
- `state`: options; optional; when resource=issue, operation=list
|
|
135
|
+
- Values: `open`, `closed`, `all`
|
|
136
|
+
- `limit`: number; required; when resource=issue, operation=list
|
|
137
|
+
- `output`: options; optional; when resource=issue, operation=list
|
|
138
|
+
- Values: `simple`, `raw`, `fields`
|
|
139
|
+
- `fields`: checkbox; required; when output=fields, resource=issue, operation=list
|
|
140
|
+
- Values: `id`, `number`, `title`, `state`, `body`, `user`, `labels`, `assignees`, `milestone`, `comments`, `locked`, `created_at`, `updated_at`, `closed_at`, `html_url`
|
|
141
|
+
- `owner`: string; required; when resource=issue, operation=get
|
|
142
|
+
- `repo`: string; required; when resource=issue, operation=get
|
|
143
|
+
- `issueNumber`: number; required; when resource=issue, operation=get
|
|
144
|
+
- `output`: options; optional; when resource=issue, operation=get
|
|
145
|
+
- Values: `simple`, `raw`, `fields`
|
|
146
|
+
- `fields`: checkbox; required; when output=fields, resource=issue, operation=get
|
|
147
|
+
- Values: `id`, `number`, `title`, `state`, `body`, `user`, `labels`, `assignees`, `milestone`, `comments`, `locked`, `created_at`, `updated_at`, `closed_at`, `html_url`
|
|
148
|
+
- `owner`: string; required; when resource=issue, operation=update
|
|
149
|
+
- `repo`: string; required; when resource=issue, operation=update
|
|
150
|
+
- `issueNumber`: number; required; when resource=issue, operation=update
|
|
151
|
+
- `title`: string; optional; when resource=issue, operation=update
|
|
152
|
+
- `body`: string; optional; when resource=issue, operation=update
|
|
153
|
+
- `state`: options; optional; when resource=issue, operation=update
|
|
154
|
+
- Values: `noChange`, `open`, `closed`
|
|
155
|
+
- `labels`: string; optional; when resource=issue, operation=update
|
|
156
|
+
- `clearLabels`: boolean; optional; when resource=issue, operation=update
|
|
157
|
+
- `assignees`: string; optional; when resource=issue, operation=update
|
|
158
|
+
- `clearAssignees`: boolean; optional; when resource=issue, operation=update
|
|
159
|
+
- `owner`: string; required; when resource=issue, operation=close
|
|
160
|
+
- `repo`: string; required; when resource=issue, operation=close
|
|
161
|
+
- `issueNumber`: number; required; when resource=issue, operation=close
|
|
162
|
+
- `owner`: string; required; when resource=issue, operation=addLabels
|
|
163
|
+
- `repo`: string; required; when resource=issue, operation=addLabels
|
|
164
|
+
- `issueNumber`: number; required; when resource=issue, operation=addLabels
|
|
165
|
+
- `labels`: string; required; when resource=issue, operation=addLabels
|
|
166
|
+
- `owner`: string; required; when resource=issue, operation=createComment
|
|
167
|
+
- `repo`: string; required; when resource=issue, operation=createComment
|
|
168
|
+
- `issueNumber`: number; required; when resource=issue, operation=createComment
|
|
169
|
+
- `body`: string; required; when resource=issue, operation=createComment
|
|
170
|
+
- `owner`: string; required; when resource=repo, operation=getContents
|
|
171
|
+
- `repo`: string; required; when resource=repo, operation=getContents
|
|
172
|
+
- `path`: string; required; when resource=repo, operation=getContents
|
|
173
|
+
- `ref`: string; optional; when resource=repo, operation=getContents
|
|
174
|
+
- `isOrganization`: boolean; optional; when resource=repo, operation=create
|
|
175
|
+
- `orgName`: string; required; when isOrganization=true, resource=repo, operation=create
|
|
176
|
+
- `name`: string; required; when resource=repo, operation=create
|
|
177
|
+
- `description`: string; optional; when resource=repo, operation=create
|
|
178
|
+
- `private`: boolean; optional; when resource=repo, operation=create
|
|
179
|
+
- `is_template`: boolean; optional; when resource=repo, operation=create
|
|
180
|
+
- `owner`: string; required; when resource=gitBlob, operation=create
|
|
181
|
+
- `repo`: string; required; when resource=gitBlob, operation=create
|
|
182
|
+
- `content`: string; required; when resource=gitBlob, operation=create
|
|
183
|
+
- `encoding`: options; optional; when resource=gitBlob, operation=create
|
|
184
|
+
- Values: `utf-8`, `base64`
|
|
185
|
+
- `owner`: string; required; when resource=gitBlob, operation=get
|
|
186
|
+
- `repo`: string; required; when resource=gitBlob, operation=get
|
|
187
|
+
- `file_sha`: string; required; when resource=gitBlob, operation=get
|
|
188
|
+
- `owner`: string; required; when resource=gitTree, operation=create
|
|
189
|
+
- `repo`: string; required; when resource=gitTree, operation=create
|
|
190
|
+
- `tree`: json; required; when resource=gitTree, operation=create
|
|
191
|
+
- `base_tree`: string; optional; when resource=gitTree, operation=create
|
|
192
|
+
- `owner`: string; required; when resource=gitTree, operation=get
|
|
193
|
+
- `repo`: string; required; when resource=gitTree, operation=get
|
|
194
|
+
- `tree_sha`: string; required; when resource=gitTree, operation=get
|
|
195
|
+
- `recursive`: boolean; optional; when resource=gitTree, operation=get
|
|
196
|
+
- `owner`: string; required; when resource=gitCommit, operation=create
|
|
197
|
+
- `repo`: string; required; when resource=gitCommit, operation=create
|
|
198
|
+
- `message`: string; required; when resource=gitCommit, operation=create
|
|
199
|
+
- `tree`: string; required; when resource=gitCommit, operation=create
|
|
200
|
+
- `parents`: string; required; when resource=gitCommit, operation=create
|
|
201
|
+
- `owner`: string; required; when resource=commitStatus, operation=list
|
|
202
|
+
- `repo`: string; required; when resource=commitStatus, operation=list
|
|
203
|
+
- `ref`: string; required; when resource=commitStatus, operation=list
|
|
204
|
+
- `limit`: number; required; when resource=commitStatus, operation=list
|
|
205
|
+
- `output`: options; optional; when resource=commitStatus, operation=list
|
|
206
|
+
- Values: `simple`, `raw`, `fields`
|
|
207
|
+
- `fields`: checkbox; required; when output=fields, resource=commitStatus, operation=list
|
|
208
|
+
- Values: `id`, `url`, `state`, `description`, `target_url`, `context`, `created_at`, `updated_at`, `creator`
|
|
209
|
+
- `owner`: string; required; when resource=commitStatus, operation=create
|
|
210
|
+
- `repo`: string; required; when resource=commitStatus, operation=create
|
|
211
|
+
- `sha`: string; required; when resource=commitStatus, operation=create
|
|
212
|
+
- `state`: options; required; when resource=commitStatus, operation=create
|
|
213
|
+
- Values: `error`, `failure`, `pending`, `success`
|
|
214
|
+
- `target_url`: string; optional; when resource=commitStatus, operation=create
|
|
215
|
+
- `description`: string; optional; when resource=commitStatus, operation=create
|
|
216
|
+
- `context`: string; optional; when resource=commitStatus, operation=create
|
|
217
|
+
- `owner`: string; required; when resource=commitStatus, operation=getCombined
|
|
218
|
+
- `repo`: string; required; when resource=commitStatus, operation=getCombined
|
|
219
|
+
- `ref`: string; required; when resource=commitStatus, operation=getCombined
|
|
220
|
+
- `owner`: string; required; when resource=file, operation=createOrUpdate
|
|
221
|
+
- `repo`: string; required; when resource=file, operation=createOrUpdate
|
|
222
|
+
- `path`: string; required; when resource=file, operation=createOrUpdate
|
|
223
|
+
- `message`: string; required; when resource=file, operation=createOrUpdate
|
|
224
|
+
- `content`: string; required; when resource=file, operation=createOrUpdate
|
|
225
|
+
- `sha`: string; optional; when resource=file, operation=createOrUpdate
|
|
226
|
+
- `branch`: string; optional; when resource=file, operation=createOrUpdate
|
|
227
|
+
- `owner`: string; required; when resource=action, operation=dispatch
|
|
228
|
+
- `repo`: string; required; when resource=action, operation=dispatch
|
|
229
|
+
- `workflowId`: string; required; when resource=action, operation=dispatch
|
|
230
|
+
- `ref`: string; required; when resource=action, operation=dispatch
|
|
231
|
+
- `inputs`: json; optional; when resource=action, operation=dispatch
|
|
232
|
+
- `q`: string; required; when resource=search, operation=issuesAndPRs
|
|
233
|
+
- `sort`: options; optional; when resource=search, operation=issuesAndPRs
|
|
234
|
+
- Values: `best-match`, `comments`, `reactions`, `created`, `updated`
|
|
235
|
+
- `order`: options; optional; when resource=search, operation=issuesAndPRs
|
|
236
|
+
- Values: `desc`, `asc`
|
|
237
|
+
- `pauseAfterExecution`: boolean; optional
|
|
238
|
+
|
|
239
|
+
## Example
|
|
240
|
+
|
|
241
|
+
```ts
|
|
242
|
+
new Step({
|
|
243
|
+
id: 'github',
|
|
244
|
+
name: 'github',
|
|
245
|
+
type: 'github',
|
|
246
|
+
credentials: { name: 'github', id: 'credential-id' },
|
|
247
|
+
params: { /* use the required props and conditional values above */ },
|
|
248
|
+
});
|
|
249
|
+
```
|
|
250
|
+
|
|
251
|
+
Further reading: [Culvii github node](https://culvii.com/docs/nodes/github/).
|
|
@@ -0,0 +1,44 @@
|
|
|
1
|
+
# gmailTrigger
|
|
2
|
+
|
|
3
|
+
- Type ID: `gmailTrigger`
|
|
4
|
+
- Kind: `trigger`
|
|
5
|
+
- Credentials: required as `credentials: { name, id }`; `name` must be one of: `gmail`
|
|
6
|
+
- Feedback mock: required
|
|
7
|
+
|
|
8
|
+
Resolve the credential through [integration selection](integrations.md); never ask the user to copy a credential ID.
|
|
9
|
+
|
|
10
|
+
## Props
|
|
11
|
+
|
|
12
|
+
- `pollIntervalMs`: number; required
|
|
13
|
+
- `event`: options; required
|
|
14
|
+
- Values: `messageReceived`
|
|
15
|
+
- `output`: options; optional
|
|
16
|
+
- Values: `simple`, `raw`, `fields`
|
|
17
|
+
- `fields`: checkbox; required; when output=fields
|
|
18
|
+
- Values: `id`, `threadId`, `labelIds`, `snippet`, `historyId`, `internalDate`, `payload`, `sizeEstimate`, `raw`, `classificationLabelValues`
|
|
19
|
+
- `includeAttachments`: boolean; optional
|
|
20
|
+
- `filters`: object; optional
|
|
21
|
+
- `readStatus`: options; optional
|
|
22
|
+
- Values: `both`, `unread`, `read`
|
|
23
|
+
- `sender`: string; optional
|
|
24
|
+
- `subjectContains`: string; optional
|
|
25
|
+
- `hasAttachment`: boolean; optional
|
|
26
|
+
- `label`: string; optional
|
|
27
|
+
- `options`: object; optional
|
|
28
|
+
- `markAsRead`: boolean; optional
|
|
29
|
+
- `maxEmails`: number; optional
|
|
30
|
+
- `pauseAfterExecution`: boolean; optional
|
|
31
|
+
|
|
32
|
+
## Example
|
|
33
|
+
|
|
34
|
+
```ts
|
|
35
|
+
new Step({
|
|
36
|
+
id: 'gmail-trigger',
|
|
37
|
+
name: 'gmailTrigger',
|
|
38
|
+
type: 'gmailTrigger',
|
|
39
|
+
credentials: { name: 'gmail', id: 'credential-id' },
|
|
40
|
+
params: { /* use the required props and conditional values above */ },
|
|
41
|
+
});
|
|
42
|
+
```
|
|
43
|
+
|
|
44
|
+
Further reading: [Culvii gmailTrigger node](https://culvii.com/docs/nodes/triggers/gmail-trigger/).
|