@epilot/cli 0.1.165 → 0.1.167
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/README.md +1 -1
- package/definitions/document.json +218 -4
- package/definitions/integration-toolkit.json +44 -7
- package/definitions/journey.json +80 -3
- package/dist/{access-token-6DBQFPG6.js → access-token-3IOT3ZOA.js} +2 -2
- package/dist/{add-component-7WB6PDJ4.js → add-component-JN5PFBS3.js} +2 -2
- package/dist/{add-function-C4VBCKI2.js → add-function-RJGKEIWK.js} +2 -2
- package/dist/{address-VOS2GDMZ.js → address-AFCE5D7R.js} +2 -2
- package/dist/{address-suggestions-WTTRMUPU.js → address-suggestions-MZ7SFR22.js} +2 -2
- package/dist/{ai-agents-XJO3FX2I.js → ai-agents-CC55LF7B.js} +2 -2
- package/dist/{api-4DPA3ATC.js → api-J5Q56JX3.js} +2 -2
- package/dist/app-YA24DBRO.js +26 -0
- package/dist/{audit-logs-ACHEDKQK.js → audit-logs-I6JX7MZT.js} +2 -2
- package/dist/auth-WMXFMPWE.js +0 -0
- package/dist/auth-login-3AY5U4JU.js +0 -0
- package/dist/auth-token-APXLIQAO.js +0 -0
- package/dist/{automation-LFJEWG6O.js → automation-VNTHGEHO.js} +2 -2
- package/dist/{billing-6SGIGYP3.js → billing-X4NB3MBY.js} +2 -2
- package/dist/bin/epilot.js +58 -58
- package/dist/{blueprint-manifest-SQV7WMGQ.js → blueprint-manifest-6AXOFPDB.js} +2 -2
- package/dist/{calendar-MNYK63Y6.js → calendar-OE35COUX.js} +2 -2
- package/dist/{chat-TMK4OBJE.js → chat-XKCCIBFH.js} +2 -2
- package/dist/{chunk-GFWPO2PB.js → chunk-4EFXKG4D.js} +1 -1
- package/dist/{chunk-F43FQ5U5.js → chunk-6ZVDQ5Q3.js} +1 -1
- package/dist/chunk-7ZQ666ZQ.js +0 -0
- package/dist/chunk-IOLKUHUB.js +0 -0
- package/dist/chunk-M3M3C5WH.js +0 -0
- package/dist/{chunk-DZEQS4QV.js → chunk-PV6FQTJC.js} +1 -1
- package/dist/{chunk-MAEV6F2X.js → chunk-UCRP455M.js} +2 -2
- package/dist/chunk-YHQA2AVG.js +0 -0
- package/dist/{completion-OMS26SVO.js → completion-VQH3TEHN.js} +1 -1
- package/dist/config-DGZIMLZK.js +0 -0
- package/dist/{configuration-hub-MBBT7VAZ.js → configuration-hub-6I4Z5VC6.js} +2 -2
- package/dist/{consent-OPB3PPMJ.js → consent-KM5YEK2A.js} +2 -2
- package/dist/{customer-portal-D3GB2ZSR.js → customer-portal-A54JNSZS.js} +2 -2
- package/dist/{dashboard-DVYHAU5X.js → dashboard-6DKUD575.js} +2 -2
- package/dist/{data-governance-QSGBVXRK.js → data-governance-IQ55GCAC.js} +2 -2
- package/dist/{deduplication-J2HLMEN5.js → deduplication-AJJ33VYY.js} +2 -2
- package/dist/{deploy-ACDC77YW.js → deploy-XW623Y6B.js} +2 -2
- package/dist/{design-FCY2RCCW.js → design-JSBAD75B.js} +2 -2
- package/dist/{dev-2RLZ2NVZ.js → dev-VRG65NB6.js} +2 -2
- package/dist/{document-DQDRJN5X.js → document-ZVOVDNZD.js} +2 -2
- package/dist/{email-settings-X56RIMUD.js → email-settings-4UQDN7IQ.js} +2 -2
- package/dist/{email-template-NTJF5OVA.js → email-template-O2SGO42C.js} +2 -2
- package/dist/{entity-S2PMXHDE.js → entity-ARW2ZAXB.js} +2 -2
- package/dist/{entity-mapping-73NGOVY6.js → entity-mapping-RYQESLIC.js} +2 -2
- package/dist/{environments-SX4KHOTR.js → environments-6PTMWVWP.js} +2 -2
- package/dist/{event-catalog-LEQPLZNN.js → event-catalog-OU34EUIA.js} +2 -2
- package/dist/{export-L2WCMYGO.js → export-ONXC2GJK.js} +2 -2
- package/dist/{file-437APGWU.js → file-CT7JMY53.js} +2 -2
- package/dist/{iban-5FW5SXSW.js → iban-MBNYCTIJ.js} +2 -2
- package/dist/{init-UVRBGW5E.js → init-CLY4ELQD.js} +2 -2
- package/dist/{integration-toolkit-4ITEYG2W.js → integration-toolkit-5S34NQQW.js} +2 -2
- package/dist/interactive-LSY5SADM.js +0 -0
- package/dist/{journey-645YBF2Y.js → journey-KTA2EBRX.js} +2 -2
- package/dist/{kanban-Q7ODCOOA.js → kanban-7N2LHRLX.js} +2 -2
- package/dist/{message-DAGMJGHV.js → message-VOQUQ5BK.js} +2 -2
- package/dist/{metering-4WCC6PBG.js → metering-6G5RJ5UN.js} +2 -2
- package/dist/{notes-MNYQYHQE.js → notes-Y3A3CAAC.js} +2 -2
- package/dist/{notification-KEBNHLYK.js → notification-KEOJOYDH.js} +2 -2
- package/dist/{organization-HCHAABXC.js → organization-EBLZ6VGR.js} +2 -2
- package/dist/{partner-directory-QYH4UUX7.js → partner-directory-M4L6X6ZU.js} +2 -2
- package/dist/{permissions-PFAKT7AY.js → permissions-PHVF6EUU.js} +2 -2
- package/dist/{pricing-CAIJXXV2.js → pricing-J24KFLVU.js} +2 -2
- package/dist/{pricing-tier-4KTTQBK3.js → pricing-tier-HHKNJ2X5.js} +2 -2
- package/dist/profile-OZJL5ZPT.js +0 -0
- package/dist/{purpose-6S3HYI54.js → purpose-Z4WB25OI.js} +2 -2
- package/dist/{query-ABIFM4C4.js → query-C5QV5AC6.js} +2 -2
- package/dist/{remove-component-LODQSVL7.js → remove-component-H3VVN6P5.js} +2 -2
- package/dist/{review-I3TV2VWM.js → review-WBRLZZGU.js} +2 -2
- package/dist/{sandbox-JO3WNB6D.js → sandbox-UOAI4ORJ.js} +2 -2
- package/dist/{sharing-GPHIXZEZ.js → sharing-F6C4PCHX.js} +2 -2
- package/dist/{snapshot-GOXPM6MD.js → snapshot-ZA4FQ4TZ.js} +2 -2
- package/dist/{submission-BDF3AFIM.js → submission-GMVLMKFI.js} +2 -2
- package/dist/{targeting-274RI7P4.js → targeting-7WVFEQSF.js} +2 -2
- package/dist/{template-variables-ZLMAX2OO.js → template-variables-TOLSXT2Y.js} +2 -2
- package/dist/{upgrade-5BABUPZC.js → upgrade-X3XNQW3U.js} +1 -1
- package/dist/{user-Q4AMJ7YC.js → user-Z2DE3DAW.js} +2 -2
- package/dist/{validate-IFCYUKRM.js → validate-3AEJ5BFO.js} +2 -2
- package/dist/{validation-rules-DK2SOIVB.js → validation-rules-7QVQEDMR.js} +2 -2
- package/dist/{versions-HAASSOTO.js → versions-GALKWR5Y.js} +2 -2
- package/dist/{webhooks-APBM2TKE.js → webhooks-JKTYKTM3.js} +2 -2
- package/dist/{workflow-Q6WRR77F.js → workflow-XX2O7ACT.js} +2 -2
- package/dist/{workflow-definition-2STOZREE.js → workflow-definition-73MLGD3V.js} +2 -2
- package/package.json +13 -12
- package/dist/app-KTRV6YXO.js +0 -26
package/README.md
CHANGED
|
@@ -26,6 +26,7 @@
|
|
|
26
26
|
"Documents"
|
|
27
27
|
],
|
|
28
28
|
"requestBody": {
|
|
29
|
+
"required": true,
|
|
29
30
|
"content": {
|
|
30
31
|
"application/json": {
|
|
31
32
|
"schema": {
|
|
@@ -102,6 +103,7 @@
|
|
|
102
103
|
"partial_generation",
|
|
103
104
|
"full_generation"
|
|
104
105
|
],
|
|
106
|
+
"description": "- partial_generation: Generates a partial document for user validation before final generation\n- full_generation: Completes the entire document generation process in one step\n",
|
|
105
107
|
"default": "full_generation"
|
|
106
108
|
}
|
|
107
109
|
},
|
|
@@ -115,6 +117,7 @@
|
|
|
115
117
|
"open",
|
|
116
118
|
"download"
|
|
117
119
|
],
|
|
120
|
+
"description": "- open: Preview URL opens the file directly in browser\n- download: Preview URL triggers a download of the file\n",
|
|
118
121
|
"default": "open"
|
|
119
122
|
}
|
|
120
123
|
}
|
|
@@ -123,6 +126,7 @@
|
|
|
123
126
|
"Documents"
|
|
124
127
|
],
|
|
125
128
|
"requestBody": {
|
|
129
|
+
"required": true,
|
|
126
130
|
"content": {
|
|
127
131
|
"application/json": {
|
|
128
132
|
"schema": {
|
|
@@ -154,6 +158,7 @@
|
|
|
154
158
|
"Documents"
|
|
155
159
|
],
|
|
156
160
|
"requestBody": {
|
|
161
|
+
"required": true,
|
|
157
162
|
"content": {
|
|
158
163
|
"application/json": {
|
|
159
164
|
"schema": {
|
|
@@ -175,6 +180,68 @@
|
|
|
175
180
|
}
|
|
176
181
|
}
|
|
177
182
|
}
|
|
183
|
+
},
|
|
184
|
+
"/v2/templates:validate": {
|
|
185
|
+
"post": {
|
|
186
|
+
"operationId": "validateTemplate",
|
|
187
|
+
"summary": "validateTemplate",
|
|
188
|
+
"description": "Validates a document template's variable syntax and, optionally, proposes a hotfixed copy of it.\n\nThe endpoint compiles the template with docxtemplater's core parser (the xlsx module for\nspreadsheets), so a delimiter or tag error reported here is one generation would fail on.\nFailures specific to the image or HTML modules are not covered. Every problem it can repair\nunambiguously — a missing brace, an extra brace, a smart quote or a non-breaking space that\nWord substituted inside a tag — is applied to a **copy** of the template, which is uploaded\nand returned as `fixed_document`.\n\nThe original template is never modified. Accepting the fix is an explicit, separate step:\nthe caller shows the user `issues` (each with its `before`/`after`), lets them download\n`fixed_document.preview_url`, and only then replaces the template.\n\nSupported input document types:\n- .docx, .docm, .dotx\n- .xlsx, .xlsm\n- .pptx\n",
|
|
189
|
+
"tags": [
|
|
190
|
+
"Documents"
|
|
191
|
+
],
|
|
192
|
+
"requestBody": {
|
|
193
|
+
"required": true,
|
|
194
|
+
"content": {
|
|
195
|
+
"application/json": {
|
|
196
|
+
"schema": {
|
|
197
|
+
"$ref": "#/components/schemas/TemplateValidationRequest"
|
|
198
|
+
}
|
|
199
|
+
}
|
|
200
|
+
}
|
|
201
|
+
},
|
|
202
|
+
"responses": {
|
|
203
|
+
"200": {
|
|
204
|
+
"description": "Validation result, with the hotfixed template when one could be produced",
|
|
205
|
+
"content": {
|
|
206
|
+
"application/json": {
|
|
207
|
+
"schema": {
|
|
208
|
+
"$ref": "#/components/schemas/TemplateValidationResponse"
|
|
209
|
+
}
|
|
210
|
+
}
|
|
211
|
+
}
|
|
212
|
+
},
|
|
213
|
+
"403": {
|
|
214
|
+
"description": "Forbidden",
|
|
215
|
+
"content": {
|
|
216
|
+
"application/json": {
|
|
217
|
+
"schema": {
|
|
218
|
+
"$ref": "#/components/schemas/ErrorOutput"
|
|
219
|
+
}
|
|
220
|
+
}
|
|
221
|
+
}
|
|
222
|
+
},
|
|
223
|
+
"413": {
|
|
224
|
+
"description": "Template larger than the validator accepts (25 MB)",
|
|
225
|
+
"content": {
|
|
226
|
+
"application/json": {
|
|
227
|
+
"schema": {
|
|
228
|
+
"$ref": "#/components/schemas/ErrorOutput"
|
|
229
|
+
}
|
|
230
|
+
}
|
|
231
|
+
}
|
|
232
|
+
},
|
|
233
|
+
"415": {
|
|
234
|
+
"description": "Unsupported media type",
|
|
235
|
+
"content": {
|
|
236
|
+
"application/json": {
|
|
237
|
+
"schema": {
|
|
238
|
+
"$ref": "#/components/schemas/ErrorOutput"
|
|
239
|
+
}
|
|
240
|
+
}
|
|
241
|
+
}
|
|
242
|
+
}
|
|
243
|
+
}
|
|
244
|
+
}
|
|
178
245
|
}
|
|
179
246
|
},
|
|
180
247
|
"components": {
|
|
@@ -330,15 +397,162 @@
|
|
|
330
397
|
}
|
|
331
398
|
},
|
|
332
399
|
"ErrorCode": {
|
|
333
|
-
"description": "Error codes for document generation:\n- PARSE_ERROR - Error while parsing the document. Normally related with a bad template using the wrong DocxTemplater syntax.\n- DOC_TO_PDF_CONVERT_ERROR - Error while converting the document to PDF. Normally related with a ConvertAPI failure.\n- INTERNAL_ERROR - Internal error. Please contact support.\n- INVALID_TEMPLATE_FORMAT - Invalid template format (only .docx is supported). This can happen due to a bad word file or an unsupported file extension.\n",
|
|
400
|
+
"description": "Error codes for document generation:\n- PARSE_ERROR - Error while parsing the document. Normally related with a bad template using the wrong DocxTemplater syntax.\n- DOC_TO_PDF_CONVERT_ERROR - Error while converting the document to PDF. Normally related with a ConvertAPI failure.\n- INTERNAL_ERROR - Internal error. Please contact support.\n- INVALID_TEMPLATE_FORMAT - Invalid template format (only .docx is supported). This can happen due to a bad word file or an unsupported file extension.\n- TEMPLATE_NOT_FOUND - Template file was not found in S3. This indicates the template was likely deleted.\n",
|
|
334
401
|
"type": "string",
|
|
335
402
|
"enum": [
|
|
336
403
|
"PARSE_ERROR",
|
|
337
404
|
"DOC_TO_PDF_CONVERT_ERROR",
|
|
338
405
|
"INTERNAL_ERROR",
|
|
339
|
-
"INVALID_TEMPLATE_FORMAT"
|
|
406
|
+
"INVALID_TEMPLATE_FORMAT",
|
|
407
|
+
"TEMPLATE_NOT_FOUND"
|
|
340
408
|
]
|
|
341
409
|
},
|
|
410
|
+
"TemplateValidationRequest": {
|
|
411
|
+
"type": "object",
|
|
412
|
+
"required": [
|
|
413
|
+
"template_document"
|
|
414
|
+
],
|
|
415
|
+
"properties": {
|
|
416
|
+
"template_document": {
|
|
417
|
+
"description": "Input template document",
|
|
418
|
+
"type": "object",
|
|
419
|
+
"required": [
|
|
420
|
+
"s3ref"
|
|
421
|
+
],
|
|
422
|
+
"properties": {
|
|
423
|
+
"filename": {
|
|
424
|
+
"type": "string",
|
|
425
|
+
"description": "Document original filename, used to name the fixed copy",
|
|
426
|
+
"example": "Umzugsmeldung.xlsx"
|
|
427
|
+
},
|
|
428
|
+
"s3ref": {
|
|
429
|
+
"$ref": "#/components/schemas/S3Reference"
|
|
430
|
+
}
|
|
431
|
+
}
|
|
432
|
+
},
|
|
433
|
+
"fix": {
|
|
434
|
+
"description": "Attempt to produce a hotfixed copy of the template. When false, the template is only\ninspected and no file is written.\n",
|
|
435
|
+
"type": "boolean",
|
|
436
|
+
"default": true
|
|
437
|
+
},
|
|
438
|
+
"fix_level": {
|
|
439
|
+
"description": "How far the hotfix may go:\n- safe - only repairs where the author's intent is unambiguous from the syntax\n (unbalanced or duplicated braces, editor-substituted characters inside a tag).\n- aggressive - additionally promotes single-brace placeholders such as `{contact.name}`\n to `{{contact.name}}`. These are common in customer templates but indistinguishable\n from prose that uses braces, so they are reported with `confidence: low`.\n",
|
|
440
|
+
"type": "string",
|
|
441
|
+
"enum": [
|
|
442
|
+
"safe",
|
|
443
|
+
"aggressive"
|
|
444
|
+
],
|
|
445
|
+
"default": "safe"
|
|
446
|
+
}
|
|
447
|
+
}
|
|
448
|
+
},
|
|
449
|
+
"TemplateValidationResponse": {
|
|
450
|
+
"type": "object",
|
|
451
|
+
"properties": {
|
|
452
|
+
"valid": {
|
|
453
|
+
"description": "Whether the template compiled cleanly before any repair was attempted",
|
|
454
|
+
"type": "boolean",
|
|
455
|
+
"example": false
|
|
456
|
+
},
|
|
457
|
+
"fixed": {
|
|
458
|
+
"description": "Whether a corrected copy of the template could be produced",
|
|
459
|
+
"type": "boolean",
|
|
460
|
+
"example": true
|
|
461
|
+
},
|
|
462
|
+
"issues": {
|
|
463
|
+
"description": "Everything found in the template, whether or not it could be repaired",
|
|
464
|
+
"type": "array",
|
|
465
|
+
"items": {
|
|
466
|
+
"$ref": "#/components/schemas/TemplateIssue"
|
|
467
|
+
}
|
|
468
|
+
},
|
|
469
|
+
"unresolved_errors": {
|
|
470
|
+
"description": "Parser errors that remain after the hotfix (or the original errors when nothing was\nfixed). Empty when the template is valid.\n",
|
|
471
|
+
"type": "array",
|
|
472
|
+
"items": {
|
|
473
|
+
"$ref": "#/components/schemas/DocxTemplaterErrorDetail"
|
|
474
|
+
}
|
|
475
|
+
},
|
|
476
|
+
"fixed_document": {
|
|
477
|
+
"description": "The corrected copy, for the user to review and accept. Absent when no repair was\napplied. The original template is left untouched.\n",
|
|
478
|
+
"type": "object",
|
|
479
|
+
"properties": {
|
|
480
|
+
"s3ref": {
|
|
481
|
+
"$ref": "#/components/schemas/S3Reference"
|
|
482
|
+
},
|
|
483
|
+
"filename": {
|
|
484
|
+
"type": "string",
|
|
485
|
+
"example": "Umzugsmeldung (fixed).xlsx"
|
|
486
|
+
},
|
|
487
|
+
"preview_url": {
|
|
488
|
+
"description": "Short-lived download link for the corrected copy",
|
|
489
|
+
"type": "string",
|
|
490
|
+
"format": "uri"
|
|
491
|
+
}
|
|
492
|
+
}
|
|
493
|
+
}
|
|
494
|
+
}
|
|
495
|
+
},
|
|
496
|
+
"TemplateIssue": {
|
|
497
|
+
"type": "object",
|
|
498
|
+
"description": "A single template syntax problem, and the repair proposed for it",
|
|
499
|
+
"properties": {
|
|
500
|
+
"id": {
|
|
501
|
+
"description": "Problem kind. Reuses docxtemplater's error vocabulary where one exists\n(`unopened_tag`, `unclosed_tag`, `duplicate_open_tag`, `duplicate_close_tag`), plus\n`malformed_tag` for single-brace placeholders and `typographic_characters` for\neditor-substituted characters inside an otherwise valid tag.\n",
|
|
502
|
+
"type": "string",
|
|
503
|
+
"example": "unopened_tag"
|
|
504
|
+
},
|
|
505
|
+
"file": {
|
|
506
|
+
"description": "Zip part the problem was found in",
|
|
507
|
+
"type": "string",
|
|
508
|
+
"example": "xl/sharedStrings.xml"
|
|
509
|
+
},
|
|
510
|
+
"location": {
|
|
511
|
+
"description": "Where the user can find it — a cell reference for spreadsheets, a part label\n(`Document body`, `Header 1`, `Slide 3`) otherwise.\n",
|
|
512
|
+
"type": "string",
|
|
513
|
+
"example": "Tabelle1!N4"
|
|
514
|
+
},
|
|
515
|
+
"context": {
|
|
516
|
+
"description": "The offending text with surrounding context",
|
|
517
|
+
"type": "string",
|
|
518
|
+
"example": "…Datum: {system.date}} Unterschrift…"
|
|
519
|
+
},
|
|
520
|
+
"explanation": {
|
|
521
|
+
"description": "Why the template parser rejects it",
|
|
522
|
+
"type": "string",
|
|
523
|
+
"example": "The tag is missing an opening brace."
|
|
524
|
+
},
|
|
525
|
+
"fixable": {
|
|
526
|
+
"description": "Whether the proposed repair was applied to the fixed copy",
|
|
527
|
+
"type": "boolean",
|
|
528
|
+
"example": true
|
|
529
|
+
},
|
|
530
|
+
"confidence": {
|
|
531
|
+
"description": "How sure we are that the repair is what the author meant",
|
|
532
|
+
"type": "string",
|
|
533
|
+
"enum": [
|
|
534
|
+
"high",
|
|
535
|
+
"medium",
|
|
536
|
+
"low"
|
|
537
|
+
]
|
|
538
|
+
},
|
|
539
|
+
"rule": {
|
|
540
|
+
"description": "The repair rule that produced `after`",
|
|
541
|
+
"type": "string",
|
|
542
|
+
"example": "balance_opening_delimiter"
|
|
543
|
+
},
|
|
544
|
+
"before": {
|
|
545
|
+
"description": "The text as it is in the template",
|
|
546
|
+
"type": "string",
|
|
547
|
+
"example": "{system.date}}"
|
|
548
|
+
},
|
|
549
|
+
"after": {
|
|
550
|
+
"description": "The text as it would be in the fixed copy",
|
|
551
|
+
"type": "string",
|
|
552
|
+
"example": "{{system.date}}"
|
|
553
|
+
}
|
|
554
|
+
}
|
|
555
|
+
},
|
|
342
556
|
"TemplateSettings": {
|
|
343
557
|
"type": "object",
|
|
344
558
|
"description": "Template Settings for document generation",
|
|
@@ -404,7 +618,7 @@
|
|
|
404
618
|
"description": "The file entity id, used when persisting a new template version with updated settings",
|
|
405
619
|
"type": "string",
|
|
406
620
|
"format": "uuid",
|
|
407
|
-
"example": "
|
|
621
|
+
"example": "123e4567-e89b-12d3-a456-426614174000"
|
|
408
622
|
}
|
|
409
623
|
}
|
|
410
624
|
},
|
|
@@ -510,7 +724,7 @@
|
|
|
510
724
|
"user_id": {
|
|
511
725
|
"type": "string",
|
|
512
726
|
"description": "User Id for variable context",
|
|
513
|
-
"example": 100321
|
|
727
|
+
"example": "100321"
|
|
514
728
|
},
|
|
515
729
|
"language": {
|
|
516
730
|
"type": "string",
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
"openapi": "3.0.3",
|
|
3
3
|
"info": {
|
|
4
4
|
"title": "Integration Toolkit API",
|
|
5
|
-
"version": "1.
|
|
5
|
+
"version": "1.33.0",
|
|
6
6
|
"description": "API for integrating with external systems in a standardised way."
|
|
7
7
|
},
|
|
8
8
|
"tags": [
|
|
@@ -2814,9 +2814,10 @@
|
|
|
2814
2814
|
},
|
|
2815
2815
|
"/v1/integrations/{integrationId}/monitoring/inbound-events": {
|
|
2816
2816
|
"post": {
|
|
2817
|
+
"deprecated": true,
|
|
2817
2818
|
"operationId": "queryInboundMonitoringEvents",
|
|
2818
2819
|
"summary": "queryInboundMonitoringEvents",
|
|
2819
|
-
"description": "
|
|
2820
|
+
"description": "**Deprecated and no longer implemented.** The `erp_monitoring` table this\nendpoint read has been retired in favour of the unified `erp_monitoring_v2`\ntable. The endpoint is kept only so existing clients do not 404; it always\nresponds `200` with an empty result and never reads any data.\n\nUse `POST /v2/integrations/{integrationId}/monitoring/events` instead,\nfiltered to `use_case_type: inbound`.\n",
|
|
2820
2821
|
"tags": [
|
|
2821
2822
|
"monitoring",
|
|
2822
2823
|
"integrations"
|
|
@@ -2864,9 +2865,10 @@
|
|
|
2864
2865
|
},
|
|
2865
2866
|
"/v1/integrations/{integrationId}/monitoring/stats": {
|
|
2866
2867
|
"post": {
|
|
2868
|
+
"deprecated": true,
|
|
2867
2869
|
"operationId": "getMonitoringStats",
|
|
2868
2870
|
"summary": "getMonitoringStats",
|
|
2869
|
-
"description": "
|
|
2871
|
+
"description": "**Deprecated and no longer implemented.** The `erp_monitoring` and\n`webhook_events` tables this endpoint aggregated have been retired in favour\nof the unified `erp_monitoring_v2` table. The endpoint is kept only so\nexisting clients do not 404; it always responds `200` with zeroed counters\nand never reads any data.\n\nUse `POST /v2/integrations/{integrationId}/monitoring/stats` instead.\n",
|
|
2870
2872
|
"tags": [
|
|
2871
2873
|
"monitoring",
|
|
2872
2874
|
"integrations"
|
|
@@ -2914,9 +2916,10 @@
|
|
|
2914
2916
|
},
|
|
2915
2917
|
"/v1/integrations/{integrationId}/monitoring/timeseries": {
|
|
2916
2918
|
"post": {
|
|
2919
|
+
"deprecated": true,
|
|
2917
2920
|
"operationId": "getMonitoringTimeSeries",
|
|
2918
2921
|
"summary": "getMonitoringTimeSeries",
|
|
2919
|
-
"description": "
|
|
2922
|
+
"description": "**Deprecated and no longer implemented.** The `erp_monitoring` and\n`webhook_events` tables this endpoint bucketed have been retired in favour\nof the unified `erp_monitoring_v2` table. The endpoint is kept only so\nexisting clients do not 404; it always responds `200` with an empty bucket\nlist and never reads any data.\n\nUse `POST /v2/integrations/{integrationId}/monitoring/time-series` instead.\n",
|
|
2920
2923
|
"tags": [
|
|
2921
2924
|
"monitoring",
|
|
2922
2925
|
"integrations"
|
|
@@ -3441,9 +3444,10 @@
|
|
|
3441
3444
|
},
|
|
3442
3445
|
"/v1/integrations/{integrationId}/monitoring/outbound-events": {
|
|
3443
3446
|
"post": {
|
|
3447
|
+
"deprecated": true,
|
|
3444
3448
|
"operationId": "queryOutboundMonitoringEvents",
|
|
3445
3449
|
"summary": "queryOutboundMonitoringEvents",
|
|
3446
|
-
"description": "
|
|
3450
|
+
"description": "**Deprecated and no longer implemented.** The `webhook_events` table this\nendpoint read has been retired in favour of the unified `erp_monitoring_v2`\ntable. The endpoint is kept only so existing clients do not 404; it always\nresponds `200` with an empty result and never reads any data.\n\nUse `POST /v2/integrations/{integrationId}/monitoring/events` instead,\nfiltered to `use_case_type: outbound`.\n",
|
|
3447
3451
|
"tags": [
|
|
3448
3452
|
"monitoring",
|
|
3449
3453
|
"integrations"
|
|
@@ -5295,6 +5299,38 @@
|
|
|
5295
5299
|
"nullable": true,
|
|
5296
5300
|
"description": "ISO instant the rule last cleared back to OK."
|
|
5297
5301
|
},
|
|
5302
|
+
"last_evaluation": {
|
|
5303
|
+
"type": "object",
|
|
5304
|
+
"nullable": true,
|
|
5305
|
+
"description": "The most recent evaluation of this rule, or null when it has never been evaluated. Answers \"why isn't this rule firing?\" for a rule that neither fires nor transitions — which otherwise leaves no trace at all.",
|
|
5306
|
+
"required": [
|
|
5307
|
+
"evaluated_at",
|
|
5308
|
+
"observed"
|
|
5309
|
+
],
|
|
5310
|
+
"properties": {
|
|
5311
|
+
"evaluated_at": {
|
|
5312
|
+
"type": "string",
|
|
5313
|
+
"format": "date-time",
|
|
5314
|
+
"description": "ISO instant of the evaluation. Updates on every sweep tick."
|
|
5315
|
+
},
|
|
5316
|
+
"observed": {
|
|
5317
|
+
"type": "number",
|
|
5318
|
+
"description": "The measure seen (error/warning count, success rate, or event total)."
|
|
5319
|
+
},
|
|
5320
|
+
"threshold": {
|
|
5321
|
+
"type": "number",
|
|
5322
|
+
"nullable": true,
|
|
5323
|
+
"description": "What it was compared against; null for a rule type with no threshold."
|
|
5324
|
+
},
|
|
5325
|
+
"suppressed_reason": {
|
|
5326
|
+
"type": "string",
|
|
5327
|
+
"enum": [
|
|
5328
|
+
"sample_size"
|
|
5329
|
+
],
|
|
5330
|
+
"description": "Present ONLY when the rule could not be evaluated. `sample_size` means the success-rate minimum-sample guard was not met, so the rule is neither healthy nor alerting — it is not evaluating at all. Absent when the evaluation ran normally."
|
|
5331
|
+
}
|
|
5332
|
+
}
|
|
5333
|
+
},
|
|
5298
5334
|
"baseline": {
|
|
5299
5335
|
"nullable": true,
|
|
5300
5336
|
"description": "Present only for enabled 'auto'-threshold rules; null otherwise.",
|
|
@@ -11817,9 +11853,10 @@
|
|
|
11817
11853
|
"success",
|
|
11818
11854
|
"error",
|
|
11819
11855
|
"info",
|
|
11820
|
-
"warning"
|
|
11856
|
+
"warning",
|
|
11857
|
+
"skipped"
|
|
11821
11858
|
],
|
|
11822
|
-
"description": "Filter by event level"
|
|
11859
|
+
"description": "Filter by event level. `skipped` is accepted but can never match: the v2 pipeline normalises it to `info`, and the table's enum has no such member. It is retained here — and ONLY here, not on `MonitoringEventV2` — so that a client with a saved `level=skipped` filter keeps getting an empty 200 rather than a 400 from request validation. Use `info` instead."
|
|
11823
11860
|
},
|
|
11824
11861
|
"code": {
|
|
11825
11862
|
"type": "string",
|
package/definitions/journey.json
CHANGED
|
@@ -1411,6 +1411,71 @@
|
|
|
1411
1411
|
}
|
|
1412
1412
|
}
|
|
1413
1413
|
},
|
|
1414
|
+
"EnvironmentLink": {
|
|
1415
|
+
"description": "One link a customer clicks. `label` and `description` are each either a\nplain string or one string per language, deciding that independently.\nMirrors environments-api's `LinkFields`.\n",
|
|
1416
|
+
"type": "object",
|
|
1417
|
+
"required": [
|
|
1418
|
+
"url",
|
|
1419
|
+
"label"
|
|
1420
|
+
],
|
|
1421
|
+
"properties": {
|
|
1422
|
+
"url": {
|
|
1423
|
+
"type": "string"
|
|
1424
|
+
},
|
|
1425
|
+
"label": {
|
|
1426
|
+
"oneOf": [
|
|
1427
|
+
{
|
|
1428
|
+
"type": "string"
|
|
1429
|
+
},
|
|
1430
|
+
{
|
|
1431
|
+
"type": "object",
|
|
1432
|
+
"additionalProperties": {
|
|
1433
|
+
"type": "string"
|
|
1434
|
+
}
|
|
1435
|
+
}
|
|
1436
|
+
]
|
|
1437
|
+
},
|
|
1438
|
+
"description": {
|
|
1439
|
+
"oneOf": [
|
|
1440
|
+
{
|
|
1441
|
+
"type": "string"
|
|
1442
|
+
},
|
|
1443
|
+
{
|
|
1444
|
+
"type": "object",
|
|
1445
|
+
"additionalProperties": {
|
|
1446
|
+
"type": "string"
|
|
1447
|
+
}
|
|
1448
|
+
}
|
|
1449
|
+
]
|
|
1450
|
+
}
|
|
1451
|
+
}
|
|
1452
|
+
},
|
|
1453
|
+
"EnvironmentLinkList": {
|
|
1454
|
+
"description": "A list of links, served under this service's own `List<Link>` type\ntoken. environments-api types the variable `List` and declares the\nelement type inside the value; journey-api composes the two so a\nconsumer needs only one discriminant.\n",
|
|
1455
|
+
"type": "object",
|
|
1456
|
+
"required": [
|
|
1457
|
+
"itemType",
|
|
1458
|
+
"items"
|
|
1459
|
+
],
|
|
1460
|
+
"properties": {
|
|
1461
|
+
"itemType": {
|
|
1462
|
+
"type": "string",
|
|
1463
|
+
"enum": [
|
|
1464
|
+
"Link"
|
|
1465
|
+
]
|
|
1466
|
+
},
|
|
1467
|
+
"fallbackLanguage": {
|
|
1468
|
+
"type": "string",
|
|
1469
|
+
"default": "de"
|
|
1470
|
+
},
|
|
1471
|
+
"items": {
|
|
1472
|
+
"type": "array",
|
|
1473
|
+
"items": {
|
|
1474
|
+
"$ref": "#/components/schemas/EnvironmentLink"
|
|
1475
|
+
}
|
|
1476
|
+
}
|
|
1477
|
+
}
|
|
1478
|
+
},
|
|
1414
1479
|
"JourneyEnvironmentResponse": {
|
|
1415
1480
|
"type": "object",
|
|
1416
1481
|
"required": [
|
|
@@ -1437,7 +1502,8 @@
|
|
|
1437
1502
|
"Text",
|
|
1438
1503
|
"Number",
|
|
1439
1504
|
"Boolean",
|
|
1440
|
-
"Map"
|
|
1505
|
+
"Map",
|
|
1506
|
+
"List<Link>"
|
|
1441
1507
|
]
|
|
1442
1508
|
},
|
|
1443
1509
|
"value": {
|
|
@@ -1453,6 +1519,9 @@
|
|
|
1453
1519
|
},
|
|
1454
1520
|
{
|
|
1455
1521
|
"$ref": "#/components/schemas/EnvironmentMap"
|
|
1522
|
+
},
|
|
1523
|
+
{
|
|
1524
|
+
"$ref": "#/components/schemas/EnvironmentLinkList"
|
|
1456
1525
|
}
|
|
1457
1526
|
]
|
|
1458
1527
|
}
|
|
@@ -1508,11 +1577,19 @@
|
|
|
1508
1577
|
"type": {
|
|
1509
1578
|
"type": "string",
|
|
1510
1579
|
"enum": [
|
|
1511
|
-
"Map"
|
|
1580
|
+
"Map",
|
|
1581
|
+
"List<Link>"
|
|
1512
1582
|
]
|
|
1513
1583
|
},
|
|
1514
1584
|
"value": {
|
|
1515
|
-
"
|
|
1585
|
+
"oneOf": [
|
|
1586
|
+
{
|
|
1587
|
+
"$ref": "#/components/schemas/EnvironmentMap"
|
|
1588
|
+
},
|
|
1589
|
+
{
|
|
1590
|
+
"$ref": "#/components/schemas/EnvironmentLinkList"
|
|
1591
|
+
}
|
|
1592
|
+
]
|
|
1516
1593
|
},
|
|
1517
1594
|
"description": {
|
|
1518
1595
|
"type": "string"
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
import {
|
|
3
3
|
callApi
|
|
4
|
-
} from "./chunk-
|
|
4
|
+
} from "./chunk-4EFXKG4D.js";
|
|
5
5
|
import "./chunk-IOLKUHUB.js";
|
|
6
|
-
import "./chunk-
|
|
6
|
+
import "./chunk-PV6FQTJC.js";
|
|
7
7
|
import "./chunk-M3M3C5WH.js";
|
|
8
8
|
import "./chunk-YHQA2AVG.js";
|
|
9
9
|
import "./chunk-7ZQ666ZQ.js";
|
|
@@ -3,8 +3,8 @@ import {
|
|
|
3
3
|
log,
|
|
4
4
|
readManifest,
|
|
5
5
|
writeManifest
|
|
6
|
-
} from "./chunk-
|
|
7
|
-
import "./chunk-
|
|
6
|
+
} from "./chunk-6ZVDQ5Q3.js";
|
|
7
|
+
import "./chunk-PV6FQTJC.js";
|
|
8
8
|
import "./chunk-M3M3C5WH.js";
|
|
9
9
|
import "./chunk-YHQA2AVG.js";
|
|
10
10
|
import "./chunk-7ZQ666ZQ.js";
|
|
@@ -4,8 +4,8 @@ import {
|
|
|
4
4
|
readManifest,
|
|
5
5
|
validateScheduleExpression,
|
|
6
6
|
writeManifest
|
|
7
|
-
} from "./chunk-
|
|
8
|
-
import "./chunk-
|
|
7
|
+
} from "./chunk-6ZVDQ5Q3.js";
|
|
8
|
+
import "./chunk-PV6FQTJC.js";
|
|
9
9
|
import "./chunk-M3M3C5WH.js";
|
|
10
10
|
import "./chunk-YHQA2AVG.js";
|
|
11
11
|
import "./chunk-7ZQ666ZQ.js";
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
import {
|
|
3
3
|
callApi
|
|
4
|
-
} from "./chunk-
|
|
4
|
+
} from "./chunk-4EFXKG4D.js";
|
|
5
5
|
import "./chunk-IOLKUHUB.js";
|
|
6
|
-
import "./chunk-
|
|
6
|
+
import "./chunk-PV6FQTJC.js";
|
|
7
7
|
import "./chunk-M3M3C5WH.js";
|
|
8
8
|
import "./chunk-YHQA2AVG.js";
|
|
9
9
|
import "./chunk-7ZQ666ZQ.js";
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
import {
|
|
3
3
|
callApi
|
|
4
|
-
} from "./chunk-
|
|
4
|
+
} from "./chunk-4EFXKG4D.js";
|
|
5
5
|
import "./chunk-IOLKUHUB.js";
|
|
6
|
-
import "./chunk-
|
|
6
|
+
import "./chunk-PV6FQTJC.js";
|
|
7
7
|
import "./chunk-M3M3C5WH.js";
|
|
8
8
|
import "./chunk-YHQA2AVG.js";
|
|
9
9
|
import "./chunk-7ZQ666ZQ.js";
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
import {
|
|
3
3
|
callApi
|
|
4
|
-
} from "./chunk-
|
|
4
|
+
} from "./chunk-4EFXKG4D.js";
|
|
5
5
|
import "./chunk-IOLKUHUB.js";
|
|
6
|
-
import "./chunk-
|
|
6
|
+
import "./chunk-PV6FQTJC.js";
|
|
7
7
|
import "./chunk-M3M3C5WH.js";
|
|
8
8
|
import "./chunk-YHQA2AVG.js";
|
|
9
9
|
import "./chunk-7ZQ666ZQ.js";
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
import {
|
|
3
3
|
callApi
|
|
4
|
-
} from "./chunk-
|
|
4
|
+
} from "./chunk-4EFXKG4D.js";
|
|
5
5
|
import "./chunk-IOLKUHUB.js";
|
|
6
|
-
import "./chunk-
|
|
6
|
+
import "./chunk-PV6FQTJC.js";
|
|
7
7
|
import "./chunk-M3M3C5WH.js";
|
|
8
8
|
import "./chunk-YHQA2AVG.js";
|
|
9
9
|
import "./chunk-7ZQ666ZQ.js";
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
#!/usr/bin/env node
|
|
2
|
+
|
|
3
|
+
// src/commands/app/index.ts
|
|
4
|
+
import { defineCommand } from "citty";
|
|
5
|
+
var app_default = defineCommand({
|
|
6
|
+
meta: {
|
|
7
|
+
name: "app",
|
|
8
|
+
description: "Manage epilot Apps \u2014 create, deploy, and manage app manifests"
|
|
9
|
+
},
|
|
10
|
+
subCommands: {
|
|
11
|
+
init: () => import("./init-CLY4ELQD.js").then((m) => m.default),
|
|
12
|
+
"add-component": () => import("./add-component-JN5PFBS3.js").then((m) => m.default),
|
|
13
|
+
"remove-component": () => import("./remove-component-H3VVN6P5.js").then((m) => m.default),
|
|
14
|
+
"add-function": () => import("./add-function-RJGKEIWK.js").then((m) => m.default),
|
|
15
|
+
validate: () => import("./validate-3AEJ5BFO.js").then((m) => m.default),
|
|
16
|
+
deploy: () => import("./deploy-XW623Y6B.js").then((m) => m.default),
|
|
17
|
+
dev: () => import("./dev-VRG65NB6.js").then((m) => m.default),
|
|
18
|
+
export: () => import("./export-ONXC2GJK.js").then((m) => m.default),
|
|
19
|
+
versions: () => import("./versions-GALKWR5Y.js").then((m) => m.default),
|
|
20
|
+
review: () => import("./review-WBRLZZGU.js").then((m) => m.default),
|
|
21
|
+
api: () => import("./api-J5Q56JX3.js").then((m) => m.default)
|
|
22
|
+
}
|
|
23
|
+
});
|
|
24
|
+
export {
|
|
25
|
+
app_default as default
|
|
26
|
+
};
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
import {
|
|
3
3
|
callApi
|
|
4
|
-
} from "./chunk-
|
|
4
|
+
} from "./chunk-4EFXKG4D.js";
|
|
5
5
|
import "./chunk-IOLKUHUB.js";
|
|
6
|
-
import "./chunk-
|
|
6
|
+
import "./chunk-PV6FQTJC.js";
|
|
7
7
|
import "./chunk-M3M3C5WH.js";
|
|
8
8
|
import "./chunk-YHQA2AVG.js";
|
|
9
9
|
import "./chunk-7ZQ666ZQ.js";
|
package/dist/auth-WMXFMPWE.js
CHANGED
|
File without changes
|
|
File without changes
|
|
File without changes
|