@epilot/cli 0.1.9 → 0.1.11

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 (78) hide show
  1. package/README.md +3 -3
  2. package/definitions/app.json +56 -6
  3. package/definitions/blueprint-manifest.json +115 -1
  4. package/definitions/customer-portal.json +757 -81
  5. package/definitions/data-management.json +10 -0
  6. package/definitions/email-settings.json +121 -0
  7. package/definitions/email-template.json +25 -3
  8. package/definitions/entity.json +328 -10
  9. package/definitions/erp-integration.json +472 -13
  10. package/definitions/journey.json +274 -12
  11. package/definitions/kanban.json +654 -78
  12. package/definitions/organization.json +614 -51
  13. package/definitions/partner-directory.json +795 -229
  14. package/definitions/permissions.json +41 -6
  15. package/definitions/webhooks.json +111 -2
  16. package/definitions/workflow.json +40 -0
  17. package/dist/{access-token-PTTCRMGK.js → access-token-CIM4RLBP.js} +1 -1
  18. package/dist/add-component-IW4644NE.js +241 -0
  19. package/dist/{address-2FDPEPR6.js → address-EDRTUWTP.js} +1 -1
  20. package/dist/{address-suggestions-XBEK5DDQ.js → address-suggestions-S5WEST2N.js} +1 -1
  21. package/dist/{ai-agents-ZY5BNVTN.js → ai-agents-RXDDJDAR.js} +1 -1
  22. package/dist/{app-IT5FWGUK.js → api-36XROHLK.js} +5 -5
  23. package/dist/app-BKS7M4UQ.js +24 -0
  24. package/dist/{audit-logs-FB4TE4TI.js → audit-logs-PXGDGJGV.js} +1 -1
  25. package/dist/{automation-JE5LDKJM.js → automation-LS6MVLP2.js} +1 -1
  26. package/dist/{billing-GOFCP5T3.js → billing-KVYFUKZK.js} +1 -1
  27. package/dist/bin/epilot.js +52 -52
  28. package/dist/{blueprint-manifest-WJIQKFYK.js → blueprint-manifest-W4ZGJD2Z.js} +1 -1
  29. package/dist/{chunk-P5IZZW4Y.js → chunk-BYAEI4Z2.js} +1 -1
  30. package/dist/{chunk-PHXL66VA.js → chunk-K2UQOP3Q.js} +28 -11
  31. package/dist/chunk-POCU2J27.js +365 -0
  32. package/dist/{completion-EKFXGPNK.js → completion-HTO64G2S.js} +1 -1
  33. package/dist/{consent-DSMWWHUL.js → consent-M4QB2HPM.js} +1 -1
  34. package/dist/{customer-portal-IJYTJYUZ.js → customer-portal-SVO2YCXA.js} +1 -1
  35. package/dist/{dashboard-DOAX6XDG.js → dashboard-CYCXIX74.js} +1 -1
  36. package/dist/{data-management-C4JPPUPD.js → data-management-KXAPA7ZU.js} +1 -1
  37. package/dist/{deduplication-7OGLZLAC.js → deduplication-M3KEVJRG.js} +1 -1
  38. package/dist/deploy-UQZAUHAB.js +214 -0
  39. package/dist/{design-3CAYTWFY.js → design-UVJJ2KO2.js} +1 -1
  40. package/dist/{document-NT5JOJQV.js → document-5HB632XE.js} +1 -1
  41. package/dist/{email-settings-2M3WJTQS.js → email-settings-H7HQTDYE.js} +1 -1
  42. package/dist/{email-template-F4PLBPPC.js → email-template-2DHZ3VKF.js} +1 -1
  43. package/dist/{entity-32LKMZAU.js → entity-HED6QHG7.js} +1 -1
  44. package/dist/{entity-mapping-OBCZDYQJ.js → entity-mapping-QP22B65Z.js} +1 -1
  45. package/dist/{environments-H3TBCDQE.js → environments-6LLEIGWV.js} +1 -1
  46. package/dist/{erp-integration-UW6H55EK.js → erp-integration-DXFYJ2F3.js} +1 -1
  47. package/dist/{event-catalog-NVAPTZ4M.js → event-catalog-2ZCZTATY.js} +1 -1
  48. package/dist/export-US5GMHTS.js +44 -0
  49. package/dist/{file-US2HR4SV.js → file-R6IIXOIZ.js} +1 -1
  50. package/dist/{iban-7QUCOULB.js → iban-EQD2VROZ.js} +1 -1
  51. package/dist/init-DGPWBRRB.js +524 -0
  52. package/dist/{journey-E5T4BZZX.js → journey-V7X2KUKH.js} +1 -1
  53. package/dist/{kanban-7UHU5VE6.js → kanban-EPI6C3FR.js} +1 -1
  54. package/dist/{message-7KY33RJE.js → message-477EJ5JO.js} +1 -1
  55. package/dist/{metering-P7BZGMY7.js → metering-5EAEKRSL.js} +1 -1
  56. package/dist/{notes-TNJ7FPA3.js → notes-CVXNRULU.js} +1 -1
  57. package/dist/{notification-6KXEFVO5.js → notification-6HXS76XP.js} +1 -1
  58. package/dist/{organization-FF4Y3PBO.js → organization-O33CZQKD.js} +1 -1
  59. package/dist/{partner-directory-VH2SBAS2.js → partner-directory-NZWGCKSB.js} +2 -2
  60. package/dist/{permissions-KENZ4HNY.js → permissions-6QEOBJ6M.js} +1 -1
  61. package/dist/{pricing-P6QZ77VJ.js → pricing-KNYSULCW.js} +1 -1
  62. package/dist/{pricing-tier-2IRJMTM6.js → pricing-tier-OCHP6SHT.js} +1 -1
  63. package/dist/{purpose-IHROR6LQ.js → purpose-NGM42XWB.js} +1 -1
  64. package/dist/remove-component-B2GMICMD.js +89 -0
  65. package/dist/review-QFPON37R.js +69 -0
  66. package/dist/{sandbox-62XQPOU6.js → sandbox-YX3VVAQG.js} +1 -1
  67. package/dist/{submission-PUWGOYQB.js → submission-YOWVSZNA.js} +1 -1
  68. package/dist/{targeting-QB3DFYNI.js → targeting-BMZCOG72.js} +1 -1
  69. package/dist/{template-variables-IPKRUJ4E.js → template-variables-YTABZL3E.js} +1 -1
  70. package/dist/{upgrade-KDDTJRUC.js → upgrade-KZSOPDCR.js} +1 -1
  71. package/dist/{user-2CP75TFC.js → user-3N5ZOUYS.js} +1 -1
  72. package/dist/validate-G7K6AVBI.js +53 -0
  73. package/dist/{validation-rules-GNI4EEG5.js → validation-rules-QVS7LKEP.js} +1 -1
  74. package/dist/versions-UTPAWTIU.js +109 -0
  75. package/dist/{webhooks-2OWUX7UL.js → webhooks-6WMWACOW.js} +1 -1
  76. package/dist/{workflow-WSLERVJI.js → workflow-ZO2MKDBS.js} +1 -1
  77. package/dist/{workflow-definition-FP3WKHGG.js → workflow-definition-RCWKIPYI.js} +1 -1
  78. package/package.json +2 -1
@@ -3,7 +3,7 @@
3
3
  "info": {
4
4
  "title": "Journey API",
5
5
  "description": "API to configure journeys",
6
- "version": "1.1.0"
6
+ "version": "1.4.1"
7
7
  },
8
8
  "security": [
9
9
  {
@@ -94,6 +94,9 @@
94
94
  {},
95
95
  {
96
96
  "EpilotAuth": []
97
+ },
98
+ {
99
+ "PortalAuth": []
97
100
  }
98
101
  ],
99
102
  "tags": [
@@ -299,7 +302,7 @@
299
302
  "schema": {
300
303
  "type": "string",
301
304
  "format": "Yn",
302
- "example": true
305
+ "example": "true"
303
306
  }
304
307
  }
305
308
  ],
@@ -313,6 +316,16 @@
313
316
  }
314
317
  }
315
318
  }
319
+ },
320
+ "400": {
321
+ "description": "Validation failed (when validation mode is STRICT)",
322
+ "content": {
323
+ "application/json": {
324
+ "schema": {
325
+ "$ref": "#/components/schemas/JourneyValidationError"
326
+ }
327
+ }
328
+ }
316
329
  }
317
330
  }
318
331
  },
@@ -347,6 +360,16 @@
347
360
  }
348
361
  }
349
362
  },
363
+ "400": {
364
+ "description": "Validation failed (when validation mode is STRICT)",
365
+ "content": {
366
+ "application/json": {
367
+ "schema": {
368
+ "$ref": "#/components/schemas/JourneyValidationError"
369
+ }
370
+ }
371
+ }
372
+ },
350
373
  "409": {
351
374
  "description": "The Journey has been modified since your last read, please refresh it and try again"
352
375
  }
@@ -389,6 +412,16 @@
389
412
  }
390
413
  }
391
414
  },
415
+ "400": {
416
+ "description": "Validation failed (when validation mode is STRICT)",
417
+ "content": {
418
+ "application/json": {
419
+ "schema": {
420
+ "$ref": "#/components/schemas/JourneyValidationError"
421
+ }
422
+ }
423
+ }
424
+ },
392
425
  "404": {
393
426
  "description": "Journey or associated entity not found",
394
427
  "content": {
@@ -505,7 +538,7 @@
505
538
  "schema": {
506
539
  "type": "string",
507
540
  "format": "Yn",
508
- "example": true
541
+ "example": "true"
509
542
  }
510
543
  }
511
544
  ],
@@ -519,6 +552,16 @@
519
552
  }
520
553
  }
521
554
  }
555
+ },
556
+ "400": {
557
+ "description": "Validation failed (when validation mode is STRICT)",
558
+ "content": {
559
+ "application/json": {
560
+ "schema": {
561
+ "$ref": "#/components/schemas/JourneyValidationError"
562
+ }
563
+ }
564
+ }
522
565
  }
523
566
  }
524
567
  },
@@ -551,6 +594,16 @@
551
594
  }
552
595
  }
553
596
  },
597
+ "400": {
598
+ "description": "Validation failed (when validation mode is STRICT)",
599
+ "content": {
600
+ "application/json": {
601
+ "schema": {
602
+ "$ref": "#/components/schemas/JourneyValidationError"
603
+ }
604
+ }
605
+ }
606
+ },
554
607
  "404": {
555
608
  "description": "Journey or associated entity not found",
556
609
  "content": {
@@ -606,6 +659,16 @@
606
659
  }
607
660
  }
608
661
  },
662
+ "400": {
663
+ "description": "Validation failed (when validation mode is STRICT)",
664
+ "content": {
665
+ "application/json": {
666
+ "schema": {
667
+ "$ref": "#/components/schemas/JourneyValidationError"
668
+ }
669
+ }
670
+ }
671
+ },
609
672
  "404": {
610
673
  "description": "Journey or associated entity not found",
611
674
  "content": {
@@ -896,16 +959,19 @@
896
959
  "type": "string"
897
960
  },
898
961
  "feature": {
899
- "type": "array"
962
+ "type": "array",
963
+ "items": {}
900
964
  },
901
965
  "product_images": {
902
- "type": "array"
966
+ "type": "array",
967
+ "items": {}
903
968
  },
904
969
  "legal_footnote": {
905
970
  "type": "string"
906
971
  },
907
972
  "product_downloads": {
908
- "type": "array"
973
+ "type": "array",
974
+ "items": {}
909
975
  },
910
976
  "price": {
911
977
  "type": "object"
@@ -1166,7 +1232,8 @@
1166
1232
  "type": "object"
1167
1233
  },
1168
1234
  {
1169
- "type": "array"
1235
+ "type": "array",
1236
+ "items": {}
1170
1237
  }
1171
1238
  ]
1172
1239
  },
@@ -1223,6 +1290,10 @@
1223
1290
  "description": "Journey Template",
1224
1291
  "example": "Sales template (Premium)"
1225
1292
  },
1293
+ "protected": {
1294
+ "type": "boolean",
1295
+ "description": "If true, journey is displayed in read-only mode"
1296
+ },
1226
1297
  "settings": {
1227
1298
  "type": "object",
1228
1299
  "properties": {
@@ -1343,6 +1414,26 @@
1343
1414
  "type": "string",
1344
1415
  "nullable": true
1345
1416
  },
1417
+ "addressSuggestionsCountryCode": {
1418
+ "type": "string",
1419
+ "nullable": true,
1420
+ "description": "Country code for address format (e.g. DE, AT, CH, LU)"
1421
+ },
1422
+ "addressSuggestionsEnableAutoComplete": {
1423
+ "type": "boolean",
1424
+ "description": "Whether address auto-complete is enabled"
1425
+ },
1426
+ "addressSuggestionsSource": {
1427
+ "type": "array",
1428
+ "items": {
1429
+ "type": "string"
1430
+ },
1431
+ "description": "Sources for address auto-complete (e.g. deutschePostService, customAddressesFile)"
1432
+ },
1433
+ "addressSuggestionsEnableFreeText": {
1434
+ "type": "boolean",
1435
+ "description": "Whether free text input is allowed when auto-complete is on"
1436
+ },
1346
1437
  "useNewDesign": {
1347
1438
  "type": "boolean",
1348
1439
  "deprecated": true,
@@ -1402,6 +1493,15 @@
1402
1493
  "validationRules": {
1403
1494
  "$ref": "#/components/schemas/ValidationRuleRef"
1404
1495
  },
1496
+ "_manifest": {
1497
+ "type": "array",
1498
+ "description": "Manifest/Blueprint ID used to create/update the entity",
1499
+ "items": {
1500
+ "type": "string",
1501
+ "format": "uuid",
1502
+ "example": "123e4567-e89b-12d3-a456-426614174000"
1503
+ }
1504
+ },
1405
1505
  "createdBy": {
1406
1506
  "type": "string"
1407
1507
  },
@@ -1652,7 +1752,8 @@
1652
1752
  "type": "object"
1653
1753
  },
1654
1754
  {
1655
- "type": "array"
1755
+ "type": "array",
1756
+ "items": {}
1656
1757
  }
1657
1758
  ]
1658
1759
  },
@@ -1709,6 +1810,10 @@
1709
1810
  "description": "Journey Template",
1710
1811
  "example": "Sales template (Premium)"
1711
1812
  },
1813
+ "protected": {
1814
+ "type": "boolean",
1815
+ "description": "If true, journey is displayed in read-only mode"
1816
+ },
1712
1817
  "settings": {
1713
1818
  "type": "object",
1714
1819
  "properties": {
@@ -1817,6 +1922,26 @@
1817
1922
  "type": "string",
1818
1923
  "nullable": true
1819
1924
  },
1925
+ "addressSuggestionsCountryCode": {
1926
+ "type": "string",
1927
+ "nullable": true,
1928
+ "description": "Country code for address format (e.g. DE, AT, CH, LU)"
1929
+ },
1930
+ "addressSuggestionsEnableAutoComplete": {
1931
+ "type": "boolean",
1932
+ "description": "Whether address auto-complete is enabled"
1933
+ },
1934
+ "addressSuggestionsSource": {
1935
+ "type": "array",
1936
+ "items": {
1937
+ "type": "string"
1938
+ },
1939
+ "description": "Sources for address auto-complete (e.g. deutschePostService, customAddressesFile)"
1940
+ },
1941
+ "addressSuggestionsEnableFreeText": {
1942
+ "type": "boolean",
1943
+ "description": "Whether free text input is allowed when auto-complete is on"
1944
+ },
1820
1945
  "useNewDesign": {
1821
1946
  "type": "boolean",
1822
1947
  "deprecated": true,
@@ -2042,6 +2167,140 @@
2042
2167
  "revisions"
2043
2168
  ]
2044
2169
  },
2170
+ "JourneyValidationResponse": {
2171
+ "type": "object",
2172
+ "properties": {
2173
+ "valid": {
2174
+ "type": "boolean",
2175
+ "description": "Whether the journey configuration is valid"
2176
+ },
2177
+ "errors": {
2178
+ "type": "array",
2179
+ "items": {
2180
+ "type": "object",
2181
+ "properties": {
2182
+ "type": {
2183
+ "type": "string",
2184
+ "description": "Pattern type (e.g. PatternA_DotsInStepId)"
2185
+ },
2186
+ "severity": {
2187
+ "type": "string",
2188
+ "enum": [
2189
+ "critical",
2190
+ "high",
2191
+ "medium",
2192
+ "low"
2193
+ ]
2194
+ },
2195
+ "message": {
2196
+ "type": "string"
2197
+ },
2198
+ "affectedStepIds": {
2199
+ "type": "array",
2200
+ "items": {
2201
+ "type": "string"
2202
+ }
2203
+ },
2204
+ "count": {
2205
+ "type": "integer"
2206
+ },
2207
+ "autoFix": {
2208
+ "type": "object",
2209
+ "properties": {
2210
+ "feasible": {
2211
+ "type": "boolean"
2212
+ },
2213
+ "confidence": {
2214
+ "type": "string",
2215
+ "enum": [
2216
+ "high",
2217
+ "medium",
2218
+ "low"
2219
+ ]
2220
+ },
2221
+ "reason": {
2222
+ "type": "string"
2223
+ },
2224
+ "details": {
2225
+ "type": "string"
2226
+ }
2227
+ }
2228
+ }
2229
+ }
2230
+ },
2231
+ "description": "List of detected validation errors"
2232
+ },
2233
+ "warnings": {
2234
+ "type": "array",
2235
+ "items": {
2236
+ "type": "object",
2237
+ "properties": {
2238
+ "type": {
2239
+ "type": "string"
2240
+ },
2241
+ "message": {
2242
+ "type": "string"
2243
+ }
2244
+ }
2245
+ },
2246
+ "description": "List of warnings (non-critical issues)"
2247
+ }
2248
+ },
2249
+ "required": [
2250
+ "valid",
2251
+ "errors"
2252
+ ]
2253
+ },
2254
+ "JourneyValidationError": {
2255
+ "type": "object",
2256
+ "properties": {
2257
+ "error": {
2258
+ "type": "string",
2259
+ "example": "ValidationError",
2260
+ "description": "Error type identifier"
2261
+ },
2262
+ "message": {
2263
+ "type": "string",
2264
+ "example": "Journey configuration validation failed",
2265
+ "description": "High-level error message"
2266
+ },
2267
+ "details": {
2268
+ "type": "array",
2269
+ "items": {
2270
+ "type": "object",
2271
+ "properties": {
2272
+ "pattern": {
2273
+ "type": "string",
2274
+ "description": "Validation pattern that failed"
2275
+ },
2276
+ "severity": {
2277
+ "type": "string",
2278
+ "enum": [
2279
+ "critical",
2280
+ "high",
2281
+ "medium",
2282
+ "low"
2283
+ ]
2284
+ },
2285
+ "message": {
2286
+ "type": "string",
2287
+ "description": "Detailed error message"
2288
+ },
2289
+ "count": {
2290
+ "type": "integer",
2291
+ "description": "Number of issues found"
2292
+ }
2293
+ }
2294
+ },
2295
+ "description": "Detailed validation errors for each pattern that failed"
2296
+ }
2297
+ },
2298
+ "required": [
2299
+ "error",
2300
+ "message",
2301
+ "details"
2302
+ ]
2303
+ },
2045
2304
  "S3Reference": {
2046
2305
  "type": "object",
2047
2306
  "properties": {
@@ -2124,7 +2383,7 @@
2124
2383
  "description": "The file entity id, used when persisting a new template version with updated settings",
2125
2384
  "type": "string",
2126
2385
  "format": "uuid",
2127
- "example": "1a2b3c4d-5e6f-7g8h-9i0j-1k2l3m4n5o6p"
2386
+ "example": "1a2b3c4d-5e6f-7a8b-9c0d-1e2f3a4b5c6d"
2128
2387
  }
2129
2388
  }
2130
2389
  },
@@ -2327,13 +2586,16 @@
2327
2586
  "scheme": "bearer",
2328
2587
  "description": "Epilot Authorization Bearer Token - public access token / user token",
2329
2588
  "bearerFormat": "JWT"
2589
+ },
2590
+ "PortalAuth": {
2591
+ "type": "http",
2592
+ "scheme": "bearer",
2593
+ "description": "Portal Authorization Bearer Token",
2594
+ "bearerFormat": "JWT"
2330
2595
  }
2331
2596
  }
2332
2597
  },
2333
2598
  "servers": [
2334
- {
2335
- "url": "https://journey-config.sls.epilot.io"
2336
- },
2337
2599
  {
2338
2600
  "url": "https://journey-config.sls.epilot.io"
2339
2601
  }