@epilot/cli 0.1.11 → 0.1.15

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.
Files changed (42) hide show
  1. package/README.md +20 -19
  2. package/definitions/automation.json +214 -1
  3. package/definitions/blueprint-manifest.json +1504 -148
  4. package/definitions/configuration-hub.json +399 -0
  5. package/definitions/data-governance.json +1126 -0
  6. package/definitions/deduplication.json +135 -4
  7. package/definitions/design.json +103 -57
  8. package/definitions/email-settings.json +29 -0
  9. package/definitions/entity.json +88 -6
  10. package/definitions/environments.json +183 -7
  11. package/definitions/erp-integration.json +1819 -187
  12. package/definitions/integration-toolkit.json +7998 -0
  13. package/definitions/message.json +202 -0
  14. package/definitions/query.json +3178 -0
  15. package/definitions/sharing.json +956 -0
  16. package/definitions/target.json +609 -0
  17. package/definitions/template-variables.json +12 -4
  18. package/definitions/user.json +52 -0
  19. package/definitions/workflow-definition.json +87 -202
  20. package/definitions/workflow.json +102 -0
  21. package/dist/{add-component-IW4644NE.js → add-component-AAVQVPKK.js} +68 -13
  22. package/dist/app-I3XXHZLD.js +24 -0
  23. package/dist/bin/epilot.js +12 -9
  24. package/dist/{chunk-POCU2J27.js → chunk-CEP7S7X3.js} +2 -1
  25. package/dist/{chunk-K2UQOP3Q.js → chunk-UOQMCAJN.js} +149 -60
  26. package/dist/{completion-HTO64G2S.js → completion-J7SWF5AO.js} +1 -1
  27. package/dist/configuration-hub-Y7W22GBW.js +54 -0
  28. package/dist/{data-management-KXAPA7ZU.js → data-governance-DJAAIE6F.js} +5 -5
  29. package/dist/{deploy-UQZAUHAB.js → deploy-4XDFWOEV.js} +1 -1
  30. package/dist/{export-US5GMHTS.js → export-JA5N4JCJ.js} +1 -1
  31. package/dist/{init-DGPWBRRB.js → init-5KGNJEWF.js} +1 -1
  32. package/dist/integration-toolkit-4CLQDSK7.js +54 -0
  33. package/dist/{erp-integration-DXFYJ2F3.js → query-IYW42QLU.js} +5 -5
  34. package/dist/{remove-component-B2GMICMD.js → remove-component-LXSRR23E.js} +1 -1
  35. package/dist/{review-QFPON37R.js → review-HFOO3NXE.js} +1 -1
  36. package/dist/sharing-X5U53KSU.js +54 -0
  37. package/dist/{upgrade-KZSOPDCR.js → upgrade-6Z53BXHL.js} +1 -1
  38. package/dist/{validate-G7K6AVBI.js → validate-TUMXW56Y.js} +1 -1
  39. package/dist/{versions-UTPAWTIU.js → versions-ZTWQAGXY.js} +1 -1
  40. package/package.json +4 -2
  41. package/definitions/data-management.json +0 -972
  42. package/dist/app-BKS7M4UQ.js +0 -24
package/README.md CHANGED
@@ -29,7 +29,7 @@ npm install -g @epilot/cli
29
29
 
30
30
  <!-- usage-help -->
31
31
  ```
32
- epilot v0.1.11 — CLI for epilot APIs
32
+ epilot v0.1.15 — CLI for epilot APIs
33
33
 
34
34
  USAGE
35
35
  epilot <api> <operationId> [params...] [flags]
@@ -70,10 +70,11 @@ APIs
70
70
  automation Automation API
71
71
  billing Billing API
72
72
  blueprint-manifest Blueprint Manifest API
73
+ configuration-hub Configuration Hub API
73
74
  consent Consent API
74
75
  customer-portal Portal API
75
76
  dashboard Dashboard API
76
- data-management Data Management API
77
+ data-governance Data Governance API
77
78
  deduplication Deduplication API
78
79
  design Design Builder API v2
79
80
  document Document API
@@ -82,10 +83,10 @@ APIs
82
83
  entity Entity API
83
84
  entity-mapping Entity Mapping API
84
85
  environments Environments API
85
- erp-integration ERP Integration API
86
86
  event-catalog Event Catalog API
87
87
  file File API
88
88
  iban Iban API
89
+ integration-toolkit Integration Toolkit API
89
90
  journey Journey API
90
91
  kanban Kanban API
91
92
  message Message API
@@ -98,7 +99,9 @@ APIs
98
99
  pricing Pricing API
99
100
  pricing-tier Pricing Tier API
100
101
  purpose Purpose API
102
+ query Query API
101
103
  sandbox Sandbox API
104
+ sharing Sharing API
102
105
  submission Submission API
103
106
  targeting Targeting API
104
107
  template-variables Template Variables API
@@ -152,34 +155,29 @@ Token resolution order:
152
155
 
153
156
  ## Profiles
154
157
 
155
- Manage multiple environments (like AWS CLI profiles):
158
+ Manage multiple environments, similar to AWS CLI profiles:
156
159
 
157
160
  ```bash
158
- # Create profiles for different environments
159
- epilot profile create dev --server https://entity.dev.sls.epilot.io --token <dev-token>
160
- epilot profile create staging --server https://entity.staging.sls.epilot.io --token <staging-token>
161
+ # Create profiles
162
+ epilot profile create sandbox --token <sandbox-token>
161
163
  epilot profile create prod --token <prod-token>
162
164
 
163
165
  # Switch active profile
164
- epilot profile use dev
166
+ epilot profile use sandbox
165
167
 
166
- # Or use per-command
167
- epilot entity listSchemas --profile staging
168
+ # Use per-command
169
+ epilot entity listSchemas --profile sandbox
168
170
 
169
171
  # Or via environment variable
170
- EPILOT_PROFILE=dev epilot entity listSchemas
172
+ EPILOT_PROFILE=sandbox epilot entity listSchemas
171
173
 
172
- # List profiles
174
+ # List / show / delete
173
175
  epilot profile list
174
-
175
- # Show profile details
176
176
  epilot profile show dev
177
-
178
- # Delete a profile
179
177
  epilot profile delete dev
180
178
  ```
181
179
 
182
- Profiles store server URL, auth token, org ID, and custom headers in `~/.config/epilot/profiles.json`.
180
+ Profiles store auth token, server URL, and custom headers in `~/.config/epilot/profiles.json`.
183
181
 
184
182
  ## Parameters
185
183
 
@@ -327,10 +325,11 @@ Full documentation with sample calls and responses for all APIs:
327
325
  | Automation API | `epilot automation` | [docs](./docs/automation.md) |
328
326
  | Billing API | `epilot billing` | [docs](./docs/billing.md) |
329
327
  | Blueprint Manifest API | `epilot blueprint-manifest` | [docs](./docs/blueprint-manifest.md) |
328
+ | Configuration Hub API | `epilot configuration-hub` | [docs](./docs/configuration-hub.md) |
330
329
  | Consent API | `epilot consent` | [docs](./docs/consent.md) |
331
330
  | Portal API | `epilot customer-portal` | [docs](./docs/customer-portal.md) |
332
331
  | Dashboard API | `epilot dashboard` | [docs](./docs/dashboard.md) |
333
- | Data Management API | `epilot data-management` | [docs](./docs/data-management.md) |
332
+ | Data Governance API | `epilot data-governance` | [docs](./docs/data-governance.md) |
334
333
  | Deduplication API | `epilot deduplication` | [docs](./docs/deduplication.md) |
335
334
  | Design Builder API v2 | `epilot design` | [docs](./docs/design.md) |
336
335
  | Document API | `epilot document` | [docs](./docs/document.md) |
@@ -339,10 +338,10 @@ Full documentation with sample calls and responses for all APIs:
339
338
  | Entity API | `epilot entity` | [docs](./docs/entity.md) |
340
339
  | Entity Mapping API | `epilot entity-mapping` | [docs](./docs/entity-mapping.md) |
341
340
  | Environments API | `epilot environments` | [docs](./docs/environments.md) |
342
- | ERP Integration API | `epilot erp-integration` | [docs](./docs/erp-integration.md) |
343
341
  | Event Catalog API | `epilot event-catalog` | [docs](./docs/event-catalog.md) |
344
342
  | File API | `epilot file` | [docs](./docs/file.md) |
345
343
  | Iban API | `epilot iban` | [docs](./docs/iban.md) |
344
+ | Integration Toolkit API | `epilot integration-toolkit` | [docs](./docs/integration-toolkit.md) |
346
345
  | Journey API | `epilot journey` | [docs](./docs/journey.md) |
347
346
  | Kanban API | `epilot kanban` | [docs](./docs/kanban.md) |
348
347
  | Message API | `epilot message` | [docs](./docs/message.md) |
@@ -355,7 +354,9 @@ Full documentation with sample calls and responses for all APIs:
355
354
  | Pricing API | `epilot pricing` | [docs](./docs/pricing.md) |
356
355
  | Pricing Tier API | `epilot pricing-tier` | [docs](./docs/pricing-tier.md) |
357
356
  | Purpose API | `epilot purpose` | [docs](./docs/purpose.md) |
357
+ | Query API | `epilot query` | [docs](./docs/query.md) |
358
358
  | Sandbox API | `epilot sandbox` | [docs](./docs/sandbox.md) |
359
+ | Sharing API | `epilot sharing` | [docs](./docs/sharing.md) |
359
360
  | Submission API | `epilot submission` | [docs](./docs/submission.md) |
360
361
  | Targeting API | `epilot targeting` | [docs](./docs/targeting.md) |
361
362
  | Template Variables API | `epilot template-variables` | [docs](./docs/template-variables.md) |
@@ -3,7 +3,7 @@
3
3
  "info": {
4
4
  "title": "Automation API",
5
5
  "description": "API Backend for epilot Automation Workflows feature",
6
- "version": "1.4.0"
6
+ "version": "1.4.1"
7
7
  },
8
8
  "tags": [
9
9
  {
@@ -1131,6 +1131,10 @@
1131
1131
  "example": "123e4567-e89b-12d3-a456-426614174000"
1132
1132
  },
1133
1133
  "nullable": true
1134
+ },
1135
+ "protected": {
1136
+ "type": "boolean",
1137
+ "description": "If true, automation is displayed in read-only mode in the UI to discourage changes"
1134
1138
  }
1135
1139
  },
1136
1140
  "required": [
@@ -1233,6 +1237,12 @@
1233
1237
  },
1234
1238
  {
1235
1239
  "$ref": "#/components/schemas/FlowExecutionCancelAction"
1240
+ },
1241
+ {
1242
+ "$ref": "#/components/schemas/ForwardEmailAction"
1243
+ },
1244
+ {
1245
+ "$ref": "#/components/schemas/ReplyEmailAction"
1236
1246
  }
1237
1247
  ]
1238
1248
  },
@@ -1273,6 +1283,12 @@
1273
1283
  },
1274
1284
  {
1275
1285
  "$ref": "#/components/schemas/FlowExecutionCancelActionConfig"
1286
+ },
1287
+ {
1288
+ "$ref": "#/components/schemas/ForwardEmailActionConfig"
1289
+ },
1290
+ {
1291
+ "$ref": "#/components/schemas/ReplyEmailActionConfig"
1276
1292
  }
1277
1293
  ]
1278
1294
  },
@@ -2132,6 +2148,184 @@
2132
2148
  }
2133
2149
  ]
2134
2150
  },
2151
+ "ForwardEmailActionConfig": {
2152
+ "allOf": [
2153
+ {
2154
+ "$ref": "#/components/schemas/AutomationActionConfig"
2155
+ },
2156
+ {
2157
+ "type": "object",
2158
+ "properties": {
2159
+ "type": {
2160
+ "enum": [
2161
+ "forward-email"
2162
+ ]
2163
+ },
2164
+ "config": {
2165
+ "$ref": "#/components/schemas/ForwardEmailConfig"
2166
+ }
2167
+ }
2168
+ }
2169
+ ],
2170
+ "example": {
2171
+ "id": "25jga0-gkasl26-0asg-908sgaj2",
2172
+ "name": "Forward Email",
2173
+ "type": "forward-email",
2174
+ "config": {
2175
+ "forward_to": [
2176
+ {
2177
+ "email": "external@outlook.com",
2178
+ "name": "External User"
2179
+ }
2180
+ ]
2181
+ }
2182
+ }
2183
+ },
2184
+ "ForwardEmailAction": {
2185
+ "allOf": [
2186
+ {
2187
+ "$ref": "#/components/schemas/AutomationAction"
2188
+ },
2189
+ {
2190
+ "type": "object",
2191
+ "properties": {
2192
+ "type": {
2193
+ "enum": [
2194
+ "forward-email"
2195
+ ]
2196
+ },
2197
+ "config": {
2198
+ "$ref": "#/components/schemas/ForwardEmailConfig"
2199
+ }
2200
+ }
2201
+ }
2202
+ ]
2203
+ },
2204
+ "ForwardEmailConfig": {
2205
+ "type": "object",
2206
+ "properties": {
2207
+ "forward_to": {
2208
+ "type": "array",
2209
+ "description": "List of email addresses to forward the incoming email to",
2210
+ "items": {
2211
+ "type": "object",
2212
+ "properties": {
2213
+ "email": {
2214
+ "type": "string",
2215
+ "format": "email",
2216
+ "description": "Email address to forward to"
2217
+ },
2218
+ "name": {
2219
+ "type": "string",
2220
+ "description": "Display name for the recipient"
2221
+ }
2222
+ },
2223
+ "required": [
2224
+ "email"
2225
+ ]
2226
+ }
2227
+ },
2228
+ "include_attachments": {
2229
+ "type": "boolean",
2230
+ "description": "Whether to include the original email attachments in the forwarded email",
2231
+ "default": true
2232
+ },
2233
+ "subject_prefix": {
2234
+ "type": "string",
2235
+ "description": "Prefix to add to the original email subject",
2236
+ "default": "Fwd: "
2237
+ },
2238
+ "mark_as_done": {
2239
+ "type": "boolean",
2240
+ "description": "When enabled, the email thread will be automatically marked as done after this action completes.",
2241
+ "default": false
2242
+ }
2243
+ },
2244
+ "required": [
2245
+ "forward_to"
2246
+ ]
2247
+ },
2248
+ "ReplyEmailActionConfig": {
2249
+ "allOf": [
2250
+ {
2251
+ "$ref": "#/components/schemas/AutomationActionConfig"
2252
+ },
2253
+ {
2254
+ "type": "object",
2255
+ "properties": {
2256
+ "type": {
2257
+ "enum": [
2258
+ "reply-email"
2259
+ ]
2260
+ },
2261
+ "config": {
2262
+ "$ref": "#/components/schemas/ReplyEmailConfig"
2263
+ }
2264
+ }
2265
+ }
2266
+ ],
2267
+ "example": {
2268
+ "id": "25jga0-gkasl26-0asg-908sgaj2",
2269
+ "name": "Reply Email",
2270
+ "type": "reply-email",
2271
+ "config": {
2272
+ "email_template_id": "gasj02-29ug9asgm-29t9gsaghg2g-pkmbhx2",
2273
+ "language_code": "de",
2274
+ "reply_mode": "reply_in_thread"
2275
+ }
2276
+ }
2277
+ },
2278
+ "ReplyEmailAction": {
2279
+ "allOf": [
2280
+ {
2281
+ "$ref": "#/components/schemas/AutomationAction"
2282
+ },
2283
+ {
2284
+ "type": "object",
2285
+ "properties": {
2286
+ "type": {
2287
+ "enum": [
2288
+ "reply-email"
2289
+ ]
2290
+ },
2291
+ "config": {
2292
+ "$ref": "#/components/schemas/ReplyEmailConfig"
2293
+ }
2294
+ }
2295
+ }
2296
+ ]
2297
+ },
2298
+ "ReplyEmailConfig": {
2299
+ "type": "object",
2300
+ "properties": {
2301
+ "email_template_id": {
2302
+ "type": "string",
2303
+ "description": "ID of the email template to use for the reply"
2304
+ },
2305
+ "language_code": {
2306
+ "type": "string",
2307
+ "description": "Language code for the email template",
2308
+ "enum": [
2309
+ "de",
2310
+ "en"
2311
+ ]
2312
+ },
2313
+ "reply_mode": {
2314
+ "type": "string",
2315
+ "description": "Controls how the reply email is sent.\n- reply_in_thread: Sends the email as a reply within the existing email thread (default).\n- new_email: Sends the email as a new standalone email to the original sender, creating a fresh thread.\n",
2316
+ "enum": [
2317
+ "reply_in_thread",
2318
+ "new_email"
2319
+ ],
2320
+ "default": "reply_in_thread"
2321
+ },
2322
+ "mark_as_done": {
2323
+ "type": "boolean",
2324
+ "description": "When enabled, the email thread will be automatically marked as done after this action completes.",
2325
+ "default": false
2326
+ }
2327
+ }
2328
+ },
2135
2329
  "SendEmailConfig": {
2136
2330
  "type": "object",
2137
2331
  "properties": {
@@ -2160,6 +2354,25 @@
2160
2354
  "description": "Pause automation execution after sending email to wait for a confirmation link to be clicked.\n\nThe email template should contain a confirmation link using the variable `{{confirmation_url}}`\n",
2161
2355
  "default": false
2162
2356
  },
2357
+ "reply_to_sender": {
2358
+ "type": "boolean",
2359
+ "description": "When enabled, overrides the template's \"To\" field with the sender address of the triggering incoming email.\nThis is useful for auto-reply scenarios where you want to automatically respond to the person who sent the email.\nOnly works when the automation is triggered by a received email (received_email or new_email_thread triggers).\n",
2360
+ "default": false
2361
+ },
2362
+ "reply_mode": {
2363
+ "type": "string",
2364
+ "description": "Controls how the auto-reply email is sent when reply_to_sender is enabled.\n- reply_in_thread: Sends the email as a reply within the existing email thread (default).\n- new_email: Sends the email as a new standalone email to the original sender, creating a fresh thread.\n",
2365
+ "enum": [
2366
+ "reply_in_thread",
2367
+ "new_email"
2368
+ ],
2369
+ "default": "reply_in_thread"
2370
+ },
2371
+ "mark_as_done": {
2372
+ "type": "boolean",
2373
+ "description": "When enabled, the email thread will be automatically marked as done after this action completes.",
2374
+ "default": true
2375
+ },
2163
2376
  "attachments": {
2164
2377
  "type": "array",
2165
2378
  "description": "Include extra file attachments in sent email.\nAttachments in email template will be sent regardless of this configuration.\n",