@epilot/cli 0.1.11 → 0.1.12

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 (35) hide show
  1. package/README.md +16 -19
  2. package/definitions/automation.json +214 -1
  3. package/definitions/blueprint-manifest.json +1279 -150
  4. package/definitions/data-governance.json +1126 -0
  5. package/definitions/deduplication.json +135 -4
  6. package/definitions/design.json +103 -57
  7. package/definitions/email-settings.json +29 -0
  8. package/definitions/entity.json +88 -6
  9. package/definitions/erp-integration.json +1819 -187
  10. package/definitions/integration-toolkit.json +7998 -0
  11. package/definitions/message.json +202 -0
  12. package/definitions/sharing.json +956 -0
  13. package/definitions/template-variables.json +12 -4
  14. package/definitions/workflow-definition.json +87 -202
  15. package/definitions/workflow.json +102 -0
  16. package/dist/{add-component-IW4644NE.js → add-component-AAVQVPKK.js} +68 -13
  17. package/dist/app-I3XXHZLD.js +24 -0
  18. package/dist/bin/epilot.js +10 -9
  19. package/dist/{chunk-POCU2J27.js → chunk-CEP7S7X3.js} +2 -1
  20. package/dist/{chunk-K2UQOP3Q.js → chunk-F6KWKTQJ.js} +104 -59
  21. package/dist/{completion-HTO64G2S.js → completion-QP4IYMVI.js} +1 -1
  22. package/dist/{data-management-KXAPA7ZU.js → data-governance-DJAAIE6F.js} +5 -5
  23. package/dist/{deploy-UQZAUHAB.js → deploy-4XDFWOEV.js} +1 -1
  24. package/dist/{export-US5GMHTS.js → export-JA5N4JCJ.js} +1 -1
  25. package/dist/{init-DGPWBRRB.js → init-5KGNJEWF.js} +1 -1
  26. package/dist/integration-toolkit-4CLQDSK7.js +54 -0
  27. package/dist/{remove-component-B2GMICMD.js → remove-component-LXSRR23E.js} +1 -1
  28. package/dist/{review-QFPON37R.js → review-HFOO3NXE.js} +1 -1
  29. package/dist/{erp-integration-DXFYJ2F3.js → sharing-X5U53KSU.js} +5 -5
  30. package/dist/{upgrade-KZSOPDCR.js → upgrade-SYSSIAQC.js} +1 -1
  31. package/dist/{validate-G7K6AVBI.js → validate-TUMXW56Y.js} +1 -1
  32. package/dist/{versions-UTPAWTIU.js → versions-ZTWQAGXY.js} +1 -1
  33. package/package.json +1 -1
  34. package/definitions/data-management.json +0 -972
  35. 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.12 — CLI for epilot APIs
33
33
 
34
34
  USAGE
35
35
  epilot <api> <operationId> [params...] [flags]
@@ -73,7 +73,7 @@ APIs
73
73
  consent Consent API
74
74
  customer-portal Portal API
75
75
  dashboard Dashboard API
76
- data-management Data Management API
76
+ data-governance Data Governance API
77
77
  deduplication Deduplication API
78
78
  design Design Builder API v2
79
79
  document Document API
@@ -82,10 +82,10 @@ APIs
82
82
  entity Entity API
83
83
  entity-mapping Entity Mapping API
84
84
  environments Environments API
85
- erp-integration ERP Integration API
86
85
  event-catalog Event Catalog API
87
86
  file File API
88
87
  iban Iban API
88
+ integration-toolkit Integration Toolkit API
89
89
  journey Journey API
90
90
  kanban Kanban API
91
91
  message Message API
@@ -99,6 +99,7 @@ APIs
99
99
  pricing-tier Pricing Tier API
100
100
  purpose Purpose API
101
101
  sandbox Sandbox API
102
+ sharing Sharing API
102
103
  submission Submission API
103
104
  targeting Targeting API
104
105
  template-variables Template Variables API
@@ -152,34 +153,29 @@ Token resolution order:
152
153
 
153
154
  ## Profiles
154
155
 
155
- Manage multiple environments (like AWS CLI profiles):
156
+ Manage multiple environments, similar to AWS CLI profiles:
156
157
 
157
158
  ```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>
159
+ # Create profiles
160
+ epilot profile create sandbox --token <sandbox-token>
161
161
  epilot profile create prod --token <prod-token>
162
162
 
163
163
  # Switch active profile
164
- epilot profile use dev
164
+ epilot profile use sandbox
165
165
 
166
- # Or use per-command
167
- epilot entity listSchemas --profile staging
166
+ # Use per-command
167
+ epilot entity listSchemas --profile sandbox
168
168
 
169
169
  # Or via environment variable
170
- EPILOT_PROFILE=dev epilot entity listSchemas
170
+ EPILOT_PROFILE=sandbox epilot entity listSchemas
171
171
 
172
- # List profiles
172
+ # List / show / delete
173
173
  epilot profile list
174
-
175
- # Show profile details
176
174
  epilot profile show dev
177
-
178
- # Delete a profile
179
175
  epilot profile delete dev
180
176
  ```
181
177
 
182
- Profiles store server URL, auth token, org ID, and custom headers in `~/.config/epilot/profiles.json`.
178
+ Profiles store auth token, server URL, and custom headers in `~/.config/epilot/profiles.json`.
183
179
 
184
180
  ## Parameters
185
181
 
@@ -330,7 +326,7 @@ Full documentation with sample calls and responses for all APIs:
330
326
  | Consent API | `epilot consent` | [docs](./docs/consent.md) |
331
327
  | Portal API | `epilot customer-portal` | [docs](./docs/customer-portal.md) |
332
328
  | Dashboard API | `epilot dashboard` | [docs](./docs/dashboard.md) |
333
- | Data Management API | `epilot data-management` | [docs](./docs/data-management.md) |
329
+ | Data Governance API | `epilot data-governance` | [docs](./docs/data-governance.md) |
334
330
  | Deduplication API | `epilot deduplication` | [docs](./docs/deduplication.md) |
335
331
  | Design Builder API v2 | `epilot design` | [docs](./docs/design.md) |
336
332
  | Document API | `epilot document` | [docs](./docs/document.md) |
@@ -339,10 +335,10 @@ Full documentation with sample calls and responses for all APIs:
339
335
  | Entity API | `epilot entity` | [docs](./docs/entity.md) |
340
336
  | Entity Mapping API | `epilot entity-mapping` | [docs](./docs/entity-mapping.md) |
341
337
  | Environments API | `epilot environments` | [docs](./docs/environments.md) |
342
- | ERP Integration API | `epilot erp-integration` | [docs](./docs/erp-integration.md) |
343
338
  | Event Catalog API | `epilot event-catalog` | [docs](./docs/event-catalog.md) |
344
339
  | File API | `epilot file` | [docs](./docs/file.md) |
345
340
  | Iban API | `epilot iban` | [docs](./docs/iban.md) |
341
+ | Integration Toolkit API | `epilot integration-toolkit` | [docs](./docs/integration-toolkit.md) |
346
342
  | Journey API | `epilot journey` | [docs](./docs/journey.md) |
347
343
  | Kanban API | `epilot kanban` | [docs](./docs/kanban.md) |
348
344
  | Message API | `epilot message` | [docs](./docs/message.md) |
@@ -356,6 +352,7 @@ Full documentation with sample calls and responses for all APIs:
356
352
  | Pricing Tier API | `epilot pricing-tier` | [docs](./docs/pricing-tier.md) |
357
353
  | Purpose API | `epilot purpose` | [docs](./docs/purpose.md) |
358
354
  | Sandbox API | `epilot sandbox` | [docs](./docs/sandbox.md) |
355
+ | Sharing API | `epilot sharing` | [docs](./docs/sharing.md) |
359
356
  | Submission API | `epilot submission` | [docs](./docs/submission.md) |
360
357
  | Targeting API | `epilot targeting` | [docs](./docs/targeting.md) |
361
358
  | 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",