@epilot/cli 0.1.216 → 0.1.218
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/app.json +82 -1
- package/definitions/external-values.json +34 -4
- package/definitions/validation-rules.json +12 -4
- package/dist/{access-token-AMLJWDQH.js → access-token-RBIZ5TDK.js} +2 -2
- package/dist/{add-component-OT5PPNSE.js → add-component-ZMUDUB3W.js} +2 -2
- package/dist/{add-function-TZPE3PLT.js → add-function-Q4LQ35Z7.js} +2 -2
- package/dist/{address-BSPKF7UO.js → address-42TLVI6B.js} +2 -2
- package/dist/{address-suggestions-S27WAPAB.js → address-suggestions-7MGPQFRF.js} +2 -2
- package/dist/{ai-agents-7K45UNPV.js → ai-agents-ZZ6Z6CO3.js} +2 -2
- package/dist/{api-LHNPZ67J.js → api-HCX7DVG7.js} +2 -2
- package/dist/app-6XUVUPFQ.js +26 -0
- package/dist/{audit-logs-3NQ27U7Q.js → audit-logs-YYWDV4W2.js} +2 -2
- package/dist/{automation-DLTS7ABA.js → automation-YXPIWPC5.js} +2 -2
- package/dist/{billing-CXMQ4NNE.js → billing-N7AIK73H.js} +2 -2
- package/dist/bin/epilot.js +58 -58
- package/dist/{blueprint-manifest-3KHCKWQD.js → blueprint-manifest-EB37ZFT6.js} +2 -2
- package/dist/{calendar-37PNMU6V.js → calendar-74VVKG7I.js} +2 -2
- package/dist/{chat-3EELSNT4.js → chat-SJSTIT4L.js} +2 -2
- package/dist/{chunk-ZN6J6M6H.js → chunk-A65CLQB5.js} +1 -1
- package/dist/{chunk-P7GAS225.js → chunk-APU4FHHI.js} +1 -1
- package/dist/{chunk-ET6LNYOL.js → chunk-VVZGLQDX.js} +1 -1
- package/dist/{configuration-hub-I22VSWQS.js → configuration-hub-RVZKU7UY.js} +2 -2
- package/dist/{consent-RMXPML6S.js → consent-3B5ASVV5.js} +2 -2
- package/dist/{customer-portal-TMET6XCW.js → customer-portal-D65BKAFR.js} +2 -2
- package/dist/{dashboard-Y7U7PZ27.js → dashboard-QWFN523F.js} +2 -2
- package/dist/{data-governance-BLMPZLII.js → data-governance-Z7RLNY4K.js} +2 -2
- package/dist/{deduplication-SF34DPGL.js → deduplication-AEW54F4M.js} +2 -2
- package/dist/{deploy-RQMHK3NT.js → deploy-ROZLVOJM.js} +2 -2
- package/dist/{design-GFPJT25R.js → design-T43K5JGB.js} +2 -2
- package/dist/{dev-4KRILWT4.js → dev-WHNZBPSD.js} +2 -2
- package/dist/{document-PTIWD7NJ.js → document-Z773ZJXR.js} +2 -2
- package/dist/{email-settings-SRNQTGVC.js → email-settings-BIV3XBZG.js} +2 -2
- package/dist/{email-template-OPHYW2PL.js → email-template-FSGUCKEO.js} +2 -2
- package/dist/{entity-SS7E5HK4.js → entity-UMWBGGZB.js} +2 -2
- package/dist/{entity-mapping-H5FYUNSW.js → entity-mapping-DXB4VY7W.js} +2 -2
- package/dist/{environments-MHN3FBFT.js → environments-FMAJAEO2.js} +2 -2
- package/dist/{event-catalog-37IIYDYR.js → event-catalog-AGEDUKNQ.js} +2 -2
- package/dist/{export-VWVBAJCE.js → export-SAELT7TA.js} +2 -2
- package/dist/{external-values-OWLPRU2G.js → external-values-GID2U2LW.js} +2 -2
- package/dist/{file-HE6LNZFU.js → file-WOCN4R7V.js} +2 -2
- package/dist/{iban-7B2XMKPY.js → iban-ROGX2QIT.js} +2 -2
- package/dist/{identity-WYH27WT5.js → identity-MVYJYD5U.js} +2 -2
- package/dist/{init-RD3EJHQ6.js → init-B343Q6PA.js} +2 -2
- package/dist/{integration-toolkit-Y63QVY2J.js → integration-toolkit-3FI6RQ2K.js} +2 -2
- package/dist/{journey-UMIDFZVO.js → journey-4PTZRILD.js} +2 -2
- package/dist/{kanban-T6NXPYEP.js → kanban-NURGTJDI.js} +2 -2
- package/dist/{message-AKXGEPGV.js → message-FBXQLFRU.js} +2 -2
- package/dist/{metering-FLYUC6I2.js → metering-3SIKIM3H.js} +2 -2
- package/dist/{notes-DYNZGOKU.js → notes-GUFEQWIV.js} +2 -2
- package/dist/{notification-276AOBMZ.js → notification-YNIU7XQ6.js} +2 -2
- package/dist/{organization-ET5RJHZA.js → organization-X2SYPXPE.js} +2 -2
- package/dist/{partner-directory-VBLST4Q6.js → partner-directory-L4VJXF4P.js} +2 -2
- package/dist/{permissions-UZW7XGNK.js → permissions-NG7AQNO3.js} +2 -2
- package/dist/{phone-integration-DFAZKCOG.js → phone-integration-L3RITTRC.js} +2 -2
- package/dist/{pricing-4NDK74ZN.js → pricing-KSWONJTS.js} +2 -2
- package/dist/{pricing-tier-UHEXMLWG.js → pricing-tier-K2OQEERV.js} +2 -2
- package/dist/{purpose-4GGLBNGQ.js → purpose-72Y7ATVA.js} +2 -2
- package/dist/{query-TQIR2HNS.js → query-2IAR5TRO.js} +2 -2
- package/dist/{remove-component-V7ZH4KDP.js → remove-component-QEB4JMB6.js} +2 -2
- package/dist/{review-MZFRIVSH.js → review-GJ4L23KM.js} +2 -2
- package/dist/{sandbox-ODYSJV5F.js → sandbox-QVNSUD4P.js} +2 -2
- package/dist/{sharing-VWVH3PTM.js → sharing-QBZC6UZC.js} +2 -2
- package/dist/{snapshot-S2RGC24M.js → snapshot-TAXMGWK2.js} +2 -2
- package/dist/{submission-NK5BRSC3.js → submission-RBWSF5L6.js} +2 -2
- package/dist/{targeting-IELC7RGJ.js → targeting-CVBMNPB6.js} +2 -2
- package/dist/{template-variables-KHN3FO2T.js → template-variables-IHXWIHQC.js} +2 -2
- package/dist/{upgrade-T6MSYWTU.js → upgrade-F4E3ITGD.js} +1 -1
- package/dist/{user-W4C7YDUC.js → user-CUJOTYAH.js} +2 -2
- package/dist/{validate-AYPMAHFH.js → validate-66UB56JI.js} +2 -2
- package/dist/{validation-rules-Q7SJG6KW.js → validation-rules-ZVV7R6CY.js} +2 -2
- package/dist/{versions-F37XT62Y.js → versions-4MYWQL7K.js} +2 -2
- package/dist/{webhooks-TG2MDRV3.js → webhooks-XPT2WPJK.js} +2 -2
- package/dist/{workflow-XTJNP4VQ.js → workflow-ULFGLC34.js} +2 -2
- package/dist/{workflow-definition-C5NIKRNU.js → workflow-definition-O7U2N3FF.js} +2 -2
- package/package.json +1 -1
- package/dist/app-3RKAUVB4.js +0 -26
package/README.md
CHANGED
package/definitions/app.json
CHANGED
|
@@ -5325,7 +5325,7 @@
|
|
|
5325
5325
|
},
|
|
5326
5326
|
"ExternalValuesHook": {
|
|
5327
5327
|
"type": "object",
|
|
5328
|
-
"description": "One external call that returns one or more typed results. Interpolated templates (Liquid) have access to `Context`, `Consumer`, `Options`, `Env` and — for `result` templates — `Response` and `AuthResponse` (each is also available snake_case, e.g. `{{ context.
|
|
5328
|
+
"description": "One external call that returns one or more typed results. Interpolated templates (Liquid) have access to `Context`, `Consumer`, `Options`, `Env` and — for `result` templates — `Response` and `AuthResponse` (each is also available snake_case, e.g. `{{ context.contract }}`).\n\n`Context` is the name → value map the consumer supplies, one entry per context requirement it bound: `Context.<schema>` for an `entity` requirement, `Context.<name>` for a `value` requirement. Declare what a hook reads from `Context` in `contexts` so consumers can require it.\n",
|
|
5329
5329
|
"required": [
|
|
5330
5330
|
"id",
|
|
5331
5331
|
"name",
|
|
@@ -5433,6 +5433,13 @@
|
|
|
5433
5433
|
"default": "skip",
|
|
5434
5434
|
"description": "Behaviour when the external system is unavailable (timeout, network or upstream error). `skip`: consumers ignore conditions depending on this hook. `block`: consumers treat the dependent action as not allowed."
|
|
5435
5435
|
},
|
|
5436
|
+
"contexts": {
|
|
5437
|
+
"type": "array",
|
|
5438
|
+
"description": "The requirements the hook reads from `Context` (at most 10). An `entity` requirement means the consumer supplies the bound entities of that schema under `Context.<schema>` (e.g. `{{ Context.contract[0].external_id }}` needs `{ type: entity, schema: contract }`). A `value` requirement means the consumer supplies one scalar value under `Context.<name>` (e.g. `{{ Context.reading_date }}` needs `{ type: value, name: reading_date, value_type: date }`); value inputs are optional at runtime, so templates must cope with their absence. Entity schemas are unique, value names are unique, and a value name must not equal an entity schema of the same hook (both land in `Context`). More requirement types will be added later; consumers must ignore types they do not know.",
|
|
5439
|
+
"items": {
|
|
5440
|
+
"$ref": "#/components/schemas/ContextRequirement"
|
|
5441
|
+
}
|
|
5442
|
+
},
|
|
5436
5443
|
"cache": {
|
|
5437
5444
|
"type": "object",
|
|
5438
5445
|
"description": "Response caching. Off when omitted.",
|
|
@@ -5457,6 +5464,80 @@
|
|
|
5457
5464
|
}
|
|
5458
5465
|
}
|
|
5459
5466
|
},
|
|
5467
|
+
"ContextRequirement": {
|
|
5468
|
+
"description": "A requirement a hook reads from `Context`, discriminated by `type`. More types will be added later; consumers must ignore types they do not know.",
|
|
5469
|
+
"oneOf": [
|
|
5470
|
+
{
|
|
5471
|
+
"$ref": "#/components/schemas/EntityContextRequirement"
|
|
5472
|
+
},
|
|
5473
|
+
{
|
|
5474
|
+
"$ref": "#/components/schemas/ValueContextRequirement"
|
|
5475
|
+
}
|
|
5476
|
+
],
|
|
5477
|
+
"discriminator": {
|
|
5478
|
+
"propertyName": "type",
|
|
5479
|
+
"mapping": {
|
|
5480
|
+
"entity": "#/components/schemas/EntityContextRequirement",
|
|
5481
|
+
"value": "#/components/schemas/ValueContextRequirement"
|
|
5482
|
+
}
|
|
5483
|
+
}
|
|
5484
|
+
},
|
|
5485
|
+
"EntityContextRequirement": {
|
|
5486
|
+
"type": "object",
|
|
5487
|
+
"description": "The consumer supplies the bound entities of `schema` under `Context.<schema>`.",
|
|
5488
|
+
"required": [
|
|
5489
|
+
"type",
|
|
5490
|
+
"schema"
|
|
5491
|
+
],
|
|
5492
|
+
"properties": {
|
|
5493
|
+
"type": {
|
|
5494
|
+
"type": "string",
|
|
5495
|
+
"enum": [
|
|
5496
|
+
"entity"
|
|
5497
|
+
]
|
|
5498
|
+
},
|
|
5499
|
+
"schema": {
|
|
5500
|
+
"type": "string",
|
|
5501
|
+
"pattern": "^[a-z0-9_-]{1,100}$",
|
|
5502
|
+
"description": "Entity schema slug, e.g. `contract`.",
|
|
5503
|
+
"example": "contract"
|
|
5504
|
+
}
|
|
5505
|
+
}
|
|
5506
|
+
},
|
|
5507
|
+
"ValueContextRequirement": {
|
|
5508
|
+
"type": "object",
|
|
5509
|
+
"description": "The consumer supplies one scalar value under `Context.<name>`, e.g. a date the customer entered in a journey block. A value input is optional: the consumer sends it when it has a value and omits it otherwise, so the hook's templates must cope with its absence, e.g. `{{ Context.reading_date | default: \"now\" | date: \"%Y-%m-%d\" }}`. `date` values are ISO 8601 strings (`YYYY-MM-DD` or a date-time).",
|
|
5510
|
+
"required": [
|
|
5511
|
+
"type",
|
|
5512
|
+
"name",
|
|
5513
|
+
"value_type"
|
|
5514
|
+
],
|
|
5515
|
+
"properties": {
|
|
5516
|
+
"type": {
|
|
5517
|
+
"type": "string",
|
|
5518
|
+
"enum": [
|
|
5519
|
+
"value"
|
|
5520
|
+
]
|
|
5521
|
+
},
|
|
5522
|
+
"name": {
|
|
5523
|
+
"type": "string",
|
|
5524
|
+
"pattern": "^[a-z][a-z0-9_]{0,63}$",
|
|
5525
|
+
"description": "Key under which the value is sent (`Context.<name>`). Same pattern as validation rule parameter names. Unique among the hook's `value` requirements and must not equal the `schema` of an `entity` requirement of the same hook.",
|
|
5526
|
+
"example": "reading_date"
|
|
5527
|
+
},
|
|
5528
|
+
"value_type": {
|
|
5529
|
+
"type": "string",
|
|
5530
|
+
"enum": [
|
|
5531
|
+
"number",
|
|
5532
|
+
"text",
|
|
5533
|
+
"date",
|
|
5534
|
+
"boolean"
|
|
5535
|
+
],
|
|
5536
|
+
"description": "Type of the value: `number` and `boolean` are sent as JSON numbers and booleans, `text` as a string, `date` as an ISO 8601 string (`YYYY-MM-DD` or a date-time).",
|
|
5537
|
+
"example": "date"
|
|
5538
|
+
}
|
|
5539
|
+
}
|
|
5540
|
+
},
|
|
5460
5541
|
"ExternalValuesResult": {
|
|
5461
5542
|
"type": "object",
|
|
5462
5543
|
"description": "A single typed value extracted from the hook response. Exactly one of `template`, `path` or `jsonata` must be set.\n",
|
|
@@ -241,7 +241,7 @@
|
|
|
241
241
|
"properties": {
|
|
242
242
|
"context": {
|
|
243
243
|
"type": "object",
|
|
244
|
-
"description": "Everything the consumer supplies for interpolation, as one name → value map.\nExposed to the hook's Liquid templates as `Context` / `context`, e.g.\n`{{ context.contract[0].external_id }}`.\n\nOne entry per context requirement the consumer bound (see\n`ExternalValueHookSummary.contexts`): for an `entity` requirement, the bound\nentities of that schema under its schema slug. This API gives no name special
|
|
244
|
+
"description": "Everything the consumer supplies for interpolation, as one name → value map.\nExposed to the hook's Liquid templates as `Context` / `context`, e.g.\n`{{ context.contract[0].external_id }}`.\n\nOne entry per context requirement the consumer bound (see\n`ExternalValueHookSummary.contexts`): for an `entity` requirement, the bound\nentities of that schema under its schema slug; for a `value` requirement, the\nbound scalar under its `name` (e.g. `\"reading_date\": \"2026-03-01\"`), omitted when\nthe consumer has no value. This API gives no name special treatment.\n",
|
|
245
245
|
"additionalProperties": true
|
|
246
246
|
},
|
|
247
247
|
"consumer": {
|
|
@@ -428,7 +428,7 @@
|
|
|
428
428
|
},
|
|
429
429
|
"contexts": {
|
|
430
430
|
"type": "array",
|
|
431
|
-
"description": "What the hook needs the consumer to supply in `context`, as declared in the hook\nconfig. Omitted when the hook declares none. A rule builder must require these\ncontexts on any rule that uses the hook, so the
|
|
431
|
+
"description": "What the hook needs the consumer to supply in `context`, as declared in the hook\nconfig. Omitted when the hook declares none. A rule builder must require these\ncontexts (and offer these value inputs) on any rule that uses the hook, so the\ncaller passes them in `context`. More requirement types may follow; consumers\nignore types they do not know.\n",
|
|
432
432
|
"items": {
|
|
433
433
|
"$ref": "#/components/schemas/ContextRequirement"
|
|
434
434
|
}
|
|
@@ -436,16 +436,20 @@
|
|
|
436
436
|
}
|
|
437
437
|
},
|
|
438
438
|
"ContextRequirement": {
|
|
439
|
-
"description": "Something a hook needs the consumer to supply in `context`, discriminated by `type
|
|
439
|
+
"description": "Something a hook needs the consumer to supply in `context`, discriminated by `type`:\nbound entities (`entity`) or an optional scalar input (`value`). More types may follow;\nconsumers ignore types they do not know.\n",
|
|
440
440
|
"oneOf": [
|
|
441
441
|
{
|
|
442
442
|
"$ref": "#/components/schemas/EntityContextRequirement"
|
|
443
|
+
},
|
|
444
|
+
{
|
|
445
|
+
"$ref": "#/components/schemas/ValueContextRequirement"
|
|
443
446
|
}
|
|
444
447
|
],
|
|
445
448
|
"discriminator": {
|
|
446
449
|
"propertyName": "type",
|
|
447
450
|
"mapping": {
|
|
448
|
-
"entity": "#/components/schemas/EntityContextRequirement"
|
|
451
|
+
"entity": "#/components/schemas/EntityContextRequirement",
|
|
452
|
+
"value": "#/components/schemas/ValueContextRequirement"
|
|
449
453
|
}
|
|
450
454
|
}
|
|
451
455
|
},
|
|
@@ -470,6 +474,32 @@
|
|
|
470
474
|
}
|
|
471
475
|
}
|
|
472
476
|
},
|
|
477
|
+
"ValueContextRequirement": {
|
|
478
|
+
"type": "object",
|
|
479
|
+
"description": "An optional scalar input. When the consumer has a value it supplies it under\n`Context.<name>` (dates as ISO 8601 strings, `YYYY-MM-DD` or a date-time); otherwise the\nkey is absent, so the hook template must provide a fallback, e.g.\n`{{ Context.reading_date | default: \"now\" | date: \"%Y-%m-%d\" }}` declares\n`{ type: value, name: reading_date, value_type: date }`. `name` is unique among the hook's\n`value` requirements and never equals the `schema` of one of its `entity` requirements.\n",
|
|
480
|
+
"required": [
|
|
481
|
+
"type",
|
|
482
|
+
"name",
|
|
483
|
+
"value_type"
|
|
484
|
+
],
|
|
485
|
+
"properties": {
|
|
486
|
+
"type": {
|
|
487
|
+
"type": "string",
|
|
488
|
+
"enum": [
|
|
489
|
+
"value"
|
|
490
|
+
]
|
|
491
|
+
},
|
|
492
|
+
"name": {
|
|
493
|
+
"type": "string",
|
|
494
|
+
"pattern": "^[a-z][a-z0-9_]{0,63}$",
|
|
495
|
+
"description": "Key under `Context`, same pattern as validation rule parameter names.",
|
|
496
|
+
"example": "reading_date"
|
|
497
|
+
},
|
|
498
|
+
"value_type": {
|
|
499
|
+
"$ref": "#/components/schemas/ExternalValueType"
|
|
500
|
+
}
|
|
501
|
+
}
|
|
502
|
+
},
|
|
473
503
|
"ExternalValueHookList": {
|
|
474
504
|
"type": "object",
|
|
475
505
|
"required": [
|
|
@@ -208,7 +208,7 @@
|
|
|
208
208
|
}
|
|
209
209
|
},
|
|
210
210
|
"400": {
|
|
211
|
-
"description": "Bad Request - Invalid request body. Invalid external or environment comparison values additionally\ncarry a `code`: `external_value_not_found` when the app is not installed or the hook / result does not\nexist, `external_value_incompatible` when the
|
|
211
|
+
"description": "Bad Request - Invalid request body. Invalid external or environment comparison values additionally\ncarry a `code`: `external_value_not_found` when the app is not installed or the hook / result does not\nexist or an `inputs` key is not a value input the hook declares, `external_value_incompatible` when the\nresult type does not match the compared kind or an input's parameter is used as another kind in the rule,\n`environment_variable_not_found` when the referenced environment variable does not exist in the\norganisation, `environment_variable_incompatible` when its type cannot be compared as required\n(`Number` for numbers, `Text` for text and dates, `Number` / `Text` / `Boolean` for `applies_when`;\n`String`, `SecretString`, `Map` and `JSON` never).\n",
|
|
212
212
|
"content": {
|
|
213
213
|
"application/json": {
|
|
214
214
|
"schema": {
|
|
@@ -493,7 +493,7 @@
|
|
|
493
493
|
}
|
|
494
494
|
},
|
|
495
495
|
"400": {
|
|
496
|
-
"description": "Bad Request - Invalid request body. Invalid external or environment comparison values additionally\ncarry a `code`: `external_value_not_found` when the app is not installed or the hook / result does not\nexist, `external_value_incompatible` when the
|
|
496
|
+
"description": "Bad Request - Invalid request body. Invalid external or environment comparison values additionally\ncarry a `code`: `external_value_not_found` when the app is not installed or the hook / result does not\nexist or an `inputs` key is not a value input the hook declares, `external_value_incompatible` when the\nresult type does not match the compared kind or an input's parameter is used as another kind in the rule,\n`environment_variable_not_found` when the referenced environment variable does not exist in the\norganisation, `environment_variable_incompatible` when its type cannot be compared as required\n(`Number` for numbers, `Text` for text and dates, `Number` / `Text` / `Boolean` for `applies_when`;\n`String`, `SecretString`, `Map` and `JSON` never).\n",
|
|
497
497
|
"content": {
|
|
498
498
|
"application/json": {
|
|
499
499
|
"schema": {
|
|
@@ -2193,7 +2193,7 @@
|
|
|
2193
2193
|
},
|
|
2194
2194
|
"ExternalValue": {
|
|
2195
2195
|
"type": "object",
|
|
2196
|
-
"description": "A comparison value produced at evaluation time by an External Values hook of an installed\napp (component type `EXTERNAL_VALUES`). The rule stores the reference only; the value is\nresolved server-side by the external-values-api, which executes the hook's HTTP call with\nthe app's credentials and returns the typed result identified by `result_id`.\n\nWrite-time validation checks that the app is installed in the organisation, that the hook\nand result exist, and that the result's type is compatible with the compared kind\n(`number` results for numeric comparisons, `text` for text, `date` for date). External values\nare resolved only for authenticated consumers (epilot 360 users and portal end customers);\nin public journeys the dependent conditions are skipped.\n",
|
|
2196
|
+
"description": "A comparison value produced at evaluation time by an External Values hook of an installed\napp (component type `EXTERNAL_VALUES`). The rule stores the reference only; the value is\nresolved server-side by the external-values-api, which executes the hook's HTTP call with\nthe app's credentials and returns the typed result identified by `result_id`.\n\nWrite-time validation checks that the app is installed in the organisation, that the hook\nand result exist, and that the result's type is compatible with the compared kind\n(`number` results for numeric comparisons, `text` for text, `date` for date). External values\nare resolved only for authenticated consumers (epilot 360 users and portal end customers);\nin public journeys the dependent conditions are skipped.\n\nA hook may declare value inputs (`contexts` entries `{ \"type\": \"value\", \"name\", \"value_type\" }`)\nbesides the entities it receives. `inputs` supplies them from rule parameters, which the\nconsumer binds like any other parameter and sends to the hook as `Context.<name>`.\n",
|
|
2197
2197
|
"required": [
|
|
2198
2198
|
"source",
|
|
2199
2199
|
"app_id",
|
|
@@ -2228,6 +2228,14 @@
|
|
|
2228
2228
|
"pattern": "^[a-zA-Z0-9_-]+$",
|
|
2229
2229
|
"description": "ID of the result entry within the hook whose value is compared."
|
|
2230
2230
|
},
|
|
2231
|
+
"inputs": {
|
|
2232
|
+
"type": "object",
|
|
2233
|
+
"maxProperties": 10,
|
|
2234
|
+
"description": "Values for the hook's value inputs, keyed by the input name the hook declares\n(`contexts` entry of type `value`), e.g. `{ \"reading_date\": { \"source\": \"parameter\", \"name\": \"reading_date\" } }`.\nOnly parameters are supported. Write-time validation checks that every key is a value input the\nhook declares and uses the input's `value_type` (`number`, `text`, `date` or `boolean`) as the\nparameter's kind, so the parameter must not be compared as another kind elsewhere in the rule.\nAn input parameter must not carry an adjustment. Declared inputs without an entry are allowed;\nthe consumer omits an input that has no value.\n",
|
|
2235
|
+
"additionalProperties": {
|
|
2236
|
+
"$ref": "#/components/schemas/ParameterValue"
|
|
2237
|
+
}
|
|
2238
|
+
},
|
|
2231
2239
|
"adjust": {
|
|
2232
2240
|
"$ref": "#/components/schemas/ValueAdjustment"
|
|
2233
2241
|
}
|
|
@@ -2235,7 +2243,7 @@
|
|
|
2235
2243
|
},
|
|
2236
2244
|
"ParameterValue": {
|
|
2237
2245
|
"type": "object",
|
|
2238
|
-
"description": "A comparison value supplied by the
|
|
2246
|
+
"description": "A comparison value supplied by the consumer that evaluates the rule, identified by a name\nthe rule chooses (e.g. `start_date`). The rule stores the name only. The consumer binds the\nname to a source of its own - a journey binds it to the value of another block - and\nresolves it at evaluation time, so the rule never references the consumer's objects and\nstays reusable across journeys and forms.\n\nA parameter's kind is determined by the field it is used in: `number`, `text` or `date`\nfor comparison values, range bounds, adjustment amounts and relative date offsets, or a\nnumber, string or boolean as an `applies_when` value, or the `value_type` of the External\nValues hook input it supplies (`ExternalValue.inputs`). One name is compared as one kind\nthroughout a rule; a rule using a name as two kinds is rejected at write time. A parameter\nthe consumer leaves unbound or empty leaves the comparison unresolved.\n",
|
|
2239
2247
|
"required": [
|
|
2240
2248
|
"source",
|
|
2241
2249
|
"name"
|
|
@@ -4,8 +4,8 @@ import {
|
|
|
4
4
|
} from "./chunk-EY42RC57.js";
|
|
5
5
|
import {
|
|
6
6
|
callApi
|
|
7
|
-
} from "./chunk-
|
|
8
|
-
import "./chunk-
|
|
7
|
+
} from "./chunk-APU4FHHI.js";
|
|
8
|
+
import "./chunk-A65CLQB5.js";
|
|
9
9
|
import "./chunk-IOLKUHUB.js";
|
|
10
10
|
import "./chunk-SQ55BTMV.js";
|
|
11
11
|
import "./chunk-QPUCHKXS.js";
|
|
@@ -3,8 +3,8 @@ import {
|
|
|
3
3
|
log,
|
|
4
4
|
readManifest,
|
|
5
5
|
writeManifest
|
|
6
|
-
} from "./chunk-
|
|
7
|
-
import "./chunk-
|
|
6
|
+
} from "./chunk-VVZGLQDX.js";
|
|
7
|
+
import "./chunk-A65CLQB5.js";
|
|
8
8
|
import "./chunk-SQ55BTMV.js";
|
|
9
9
|
import "./chunk-QPUCHKXS.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-VVZGLQDX.js";
|
|
8
|
+
import "./chunk-A65CLQB5.js";
|
|
9
9
|
import "./chunk-SQ55BTMV.js";
|
|
10
10
|
import "./chunk-QPUCHKXS.js";
|
|
11
11
|
import "./chunk-7ZQ666ZQ.js";
|
|
@@ -4,8 +4,8 @@ import {
|
|
|
4
4
|
} from "./chunk-EY42RC57.js";
|
|
5
5
|
import {
|
|
6
6
|
callApi
|
|
7
|
-
} from "./chunk-
|
|
8
|
-
import "./chunk-
|
|
7
|
+
} from "./chunk-APU4FHHI.js";
|
|
8
|
+
import "./chunk-A65CLQB5.js";
|
|
9
9
|
import "./chunk-IOLKUHUB.js";
|
|
10
10
|
import "./chunk-SQ55BTMV.js";
|
|
11
11
|
import "./chunk-QPUCHKXS.js";
|
|
@@ -4,8 +4,8 @@ import {
|
|
|
4
4
|
} from "./chunk-EY42RC57.js";
|
|
5
5
|
import {
|
|
6
6
|
callApi
|
|
7
|
-
} from "./chunk-
|
|
8
|
-
import "./chunk-
|
|
7
|
+
} from "./chunk-APU4FHHI.js";
|
|
8
|
+
import "./chunk-A65CLQB5.js";
|
|
9
9
|
import "./chunk-IOLKUHUB.js";
|
|
10
10
|
import "./chunk-SQ55BTMV.js";
|
|
11
11
|
import "./chunk-QPUCHKXS.js";
|
|
@@ -4,8 +4,8 @@ import {
|
|
|
4
4
|
} from "./chunk-EY42RC57.js";
|
|
5
5
|
import {
|
|
6
6
|
callApi
|
|
7
|
-
} from "./chunk-
|
|
8
|
-
import "./chunk-
|
|
7
|
+
} from "./chunk-APU4FHHI.js";
|
|
8
|
+
import "./chunk-A65CLQB5.js";
|
|
9
9
|
import "./chunk-IOLKUHUB.js";
|
|
10
10
|
import "./chunk-SQ55BTMV.js";
|
|
11
11
|
import "./chunk-QPUCHKXS.js";
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
import {
|
|
3
3
|
callApi
|
|
4
|
-
} from "./chunk-
|
|
5
|
-
import "./chunk-
|
|
4
|
+
} from "./chunk-APU4FHHI.js";
|
|
5
|
+
import "./chunk-A65CLQB5.js";
|
|
6
6
|
import "./chunk-IOLKUHUB.js";
|
|
7
7
|
import "./chunk-SQ55BTMV.js";
|
|
8
8
|
import "./chunk-QPUCHKXS.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-B343Q6PA.js").then((m) => m.default),
|
|
12
|
+
"add-component": () => import("./add-component-ZMUDUB3W.js").then((m) => m.default),
|
|
13
|
+
"remove-component": () => import("./remove-component-QEB4JMB6.js").then((m) => m.default),
|
|
14
|
+
"add-function": () => import("./add-function-Q4LQ35Z7.js").then((m) => m.default),
|
|
15
|
+
validate: () => import("./validate-66UB56JI.js").then((m) => m.default),
|
|
16
|
+
deploy: () => import("./deploy-ROZLVOJM.js").then((m) => m.default),
|
|
17
|
+
dev: () => import("./dev-WHNZBPSD.js").then((m) => m.default),
|
|
18
|
+
export: () => import("./export-SAELT7TA.js").then((m) => m.default),
|
|
19
|
+
versions: () => import("./versions-4MYWQL7K.js").then((m) => m.default),
|
|
20
|
+
review: () => import("./review-GJ4L23KM.js").then((m) => m.default),
|
|
21
|
+
api: () => import("./api-HCX7DVG7.js").then((m) => m.default)
|
|
22
|
+
}
|
|
23
|
+
});
|
|
24
|
+
export {
|
|
25
|
+
app_default as default
|
|
26
|
+
};
|
|
@@ -4,8 +4,8 @@ import {
|
|
|
4
4
|
} from "./chunk-EY42RC57.js";
|
|
5
5
|
import {
|
|
6
6
|
callApi
|
|
7
|
-
} from "./chunk-
|
|
8
|
-
import "./chunk-
|
|
7
|
+
} from "./chunk-APU4FHHI.js";
|
|
8
|
+
import "./chunk-A65CLQB5.js";
|
|
9
9
|
import "./chunk-IOLKUHUB.js";
|
|
10
10
|
import "./chunk-SQ55BTMV.js";
|
|
11
11
|
import "./chunk-QPUCHKXS.js";
|
|
@@ -4,8 +4,8 @@ import {
|
|
|
4
4
|
} from "./chunk-EY42RC57.js";
|
|
5
5
|
import {
|
|
6
6
|
callApi
|
|
7
|
-
} from "./chunk-
|
|
8
|
-
import "./chunk-
|
|
7
|
+
} from "./chunk-APU4FHHI.js";
|
|
8
|
+
import "./chunk-A65CLQB5.js";
|
|
9
9
|
import "./chunk-IOLKUHUB.js";
|
|
10
10
|
import "./chunk-SQ55BTMV.js";
|
|
11
11
|
import "./chunk-QPUCHKXS.js";
|
|
@@ -4,8 +4,8 @@ import {
|
|
|
4
4
|
} from "./chunk-EY42RC57.js";
|
|
5
5
|
import {
|
|
6
6
|
callApi
|
|
7
|
-
} from "./chunk-
|
|
8
|
-
import "./chunk-
|
|
7
|
+
} from "./chunk-APU4FHHI.js";
|
|
8
|
+
import "./chunk-A65CLQB5.js";
|
|
9
9
|
import "./chunk-IOLKUHUB.js";
|
|
10
10
|
import "./chunk-SQ55BTMV.js";
|
|
11
11
|
import "./chunk-QPUCHKXS.js";
|
package/dist/bin/epilot.js
CHANGED
|
@@ -11,7 +11,7 @@ import { defineCommand } from "citty";
|
|
|
11
11
|
var main = defineCommand({
|
|
12
12
|
meta: {
|
|
13
13
|
name: "epilot",
|
|
14
|
-
version: "0.1.
|
|
14
|
+
version: "0.1.218",
|
|
15
15
|
description: "CLI for epilot APIs"
|
|
16
16
|
},
|
|
17
17
|
args: {
|
|
@@ -32,62 +32,62 @@ var main = defineCommand({
|
|
|
32
32
|
profile: () => import("../profile-G2FH3DXR.js").then((m) => m.default),
|
|
33
33
|
config: () => import("../config-PJWYWLQH.js").then((m) => m.default),
|
|
34
34
|
completion: () => import("../completion-M33AEL4C.js").then((m) => m.default),
|
|
35
|
-
upgrade: () => import("../upgrade-
|
|
36
|
-
"access-token": () => import("../access-token-
|
|
37
|
-
address: () => import("../address-
|
|
38
|
-
"address-suggestions": () => import("../address-suggestions-
|
|
39
|
-
"ai-agents": () => import("../ai-agents-
|
|
40
|
-
app: () => import("../app-
|
|
41
|
-
"audit-logs": () => import("../audit-logs-
|
|
42
|
-
automation: () => import("../automation-
|
|
43
|
-
billing: () => import("../billing-
|
|
44
|
-
"blueprint-manifest": () => import("../blueprint-manifest-
|
|
45
|
-
calendar: () => import("../calendar-
|
|
46
|
-
chat: () => import("../chat-
|
|
47
|
-
"configuration-hub": () => import("../configuration-hub-
|
|
48
|
-
consent: () => import("../consent-
|
|
49
|
-
"customer-portal": () => import("../customer-portal-
|
|
50
|
-
dashboard: () => import("../dashboard-
|
|
51
|
-
"data-governance": () => import("../data-governance-
|
|
52
|
-
deduplication: () => import("../deduplication-
|
|
53
|
-
design: () => import("../design-
|
|
54
|
-
document: () => import("../document-
|
|
55
|
-
"email-settings": () => import("../email-settings-
|
|
56
|
-
"email-template": () => import("../email-template-
|
|
57
|
-
entity: () => import("../entity-
|
|
58
|
-
"entity-mapping": () => import("../entity-mapping-
|
|
59
|
-
environments: () => import("../environments-
|
|
60
|
-
"event-catalog": () => import("../event-catalog-
|
|
61
|
-
"external-values": () => import("../external-values-
|
|
62
|
-
file: () => import("../file-
|
|
63
|
-
iban: () => import("../iban-
|
|
64
|
-
identity: () => import("../identity-
|
|
65
|
-
"integration-toolkit": () => import("../integration-toolkit-
|
|
66
|
-
journey: () => import("../journey-
|
|
67
|
-
kanban: () => import("../kanban-
|
|
68
|
-
message: () => import("../message-
|
|
69
|
-
metering: () => import("../metering-
|
|
70
|
-
notes: () => import("../notes-
|
|
71
|
-
notification: () => import("../notification-
|
|
72
|
-
organization: () => import("../organization-
|
|
73
|
-
"partner-directory": () => import("../partner-directory-
|
|
74
|
-
permissions: () => import("../permissions-
|
|
75
|
-
"phone-integration": () => import("../phone-integration-
|
|
76
|
-
pricing: () => import("../pricing-
|
|
77
|
-
"pricing-tier": () => import("../pricing-tier-
|
|
78
|
-
purpose: () => import("../purpose-
|
|
79
|
-
query: () => import("../query-
|
|
80
|
-
sandbox: () => import("../sandbox-
|
|
81
|
-
sharing: () => import("../sharing-
|
|
82
|
-
snapshot: () => import("../snapshot-
|
|
83
|
-
submission: () => import("../submission-
|
|
84
|
-
targeting: () => import("../targeting-
|
|
85
|
-
"template-variables": () => import("../template-variables-
|
|
86
|
-
user: () => import("../user-
|
|
87
|
-
"validation-rules": () => import("../validation-rules-
|
|
88
|
-
webhooks: () => import("../webhooks-
|
|
89
|
-
workflow: () => import("../workflow-
|
|
90
|
-
"workflow-definition": () => import("../workflow-definition-
|
|
35
|
+
upgrade: () => import("../upgrade-F4E3ITGD.js").then((m) => m.default),
|
|
36
|
+
"access-token": () => import("../access-token-RBIZ5TDK.js").then((m) => m.default),
|
|
37
|
+
address: () => import("../address-42TLVI6B.js").then((m) => m.default),
|
|
38
|
+
"address-suggestions": () => import("../address-suggestions-7MGPQFRF.js").then((m) => m.default),
|
|
39
|
+
"ai-agents": () => import("../ai-agents-ZZ6Z6CO3.js").then((m) => m.default),
|
|
40
|
+
app: () => import("../app-6XUVUPFQ.js").then((m) => m.default),
|
|
41
|
+
"audit-logs": () => import("../audit-logs-YYWDV4W2.js").then((m) => m.default),
|
|
42
|
+
automation: () => import("../automation-YXPIWPC5.js").then((m) => m.default),
|
|
43
|
+
billing: () => import("../billing-N7AIK73H.js").then((m) => m.default),
|
|
44
|
+
"blueprint-manifest": () => import("../blueprint-manifest-EB37ZFT6.js").then((m) => m.default),
|
|
45
|
+
calendar: () => import("../calendar-74VVKG7I.js").then((m) => m.default),
|
|
46
|
+
chat: () => import("../chat-SJSTIT4L.js").then((m) => m.default),
|
|
47
|
+
"configuration-hub": () => import("../configuration-hub-RVZKU7UY.js").then((m) => m.default),
|
|
48
|
+
consent: () => import("../consent-3B5ASVV5.js").then((m) => m.default),
|
|
49
|
+
"customer-portal": () => import("../customer-portal-D65BKAFR.js").then((m) => m.default),
|
|
50
|
+
dashboard: () => import("../dashboard-QWFN523F.js").then((m) => m.default),
|
|
51
|
+
"data-governance": () => import("../data-governance-Z7RLNY4K.js").then((m) => m.default),
|
|
52
|
+
deduplication: () => import("../deduplication-AEW54F4M.js").then((m) => m.default),
|
|
53
|
+
design: () => import("../design-T43K5JGB.js").then((m) => m.default),
|
|
54
|
+
document: () => import("../document-Z773ZJXR.js").then((m) => m.default),
|
|
55
|
+
"email-settings": () => import("../email-settings-BIV3XBZG.js").then((m) => m.default),
|
|
56
|
+
"email-template": () => import("../email-template-FSGUCKEO.js").then((m) => m.default),
|
|
57
|
+
entity: () => import("../entity-UMWBGGZB.js").then((m) => m.default),
|
|
58
|
+
"entity-mapping": () => import("../entity-mapping-DXB4VY7W.js").then((m) => m.default),
|
|
59
|
+
environments: () => import("../environments-FMAJAEO2.js").then((m) => m.default),
|
|
60
|
+
"event-catalog": () => import("../event-catalog-AGEDUKNQ.js").then((m) => m.default),
|
|
61
|
+
"external-values": () => import("../external-values-GID2U2LW.js").then((m) => m.default),
|
|
62
|
+
file: () => import("../file-WOCN4R7V.js").then((m) => m.default),
|
|
63
|
+
iban: () => import("../iban-ROGX2QIT.js").then((m) => m.default),
|
|
64
|
+
identity: () => import("../identity-MVYJYD5U.js").then((m) => m.default),
|
|
65
|
+
"integration-toolkit": () => import("../integration-toolkit-3FI6RQ2K.js").then((m) => m.default),
|
|
66
|
+
journey: () => import("../journey-4PTZRILD.js").then((m) => m.default),
|
|
67
|
+
kanban: () => import("../kanban-NURGTJDI.js").then((m) => m.default),
|
|
68
|
+
message: () => import("../message-FBXQLFRU.js").then((m) => m.default),
|
|
69
|
+
metering: () => import("../metering-3SIKIM3H.js").then((m) => m.default),
|
|
70
|
+
notes: () => import("../notes-GUFEQWIV.js").then((m) => m.default),
|
|
71
|
+
notification: () => import("../notification-YNIU7XQ6.js").then((m) => m.default),
|
|
72
|
+
organization: () => import("../organization-X2SYPXPE.js").then((m) => m.default),
|
|
73
|
+
"partner-directory": () => import("../partner-directory-L4VJXF4P.js").then((m) => m.default),
|
|
74
|
+
permissions: () => import("../permissions-NG7AQNO3.js").then((m) => m.default),
|
|
75
|
+
"phone-integration": () => import("../phone-integration-L3RITTRC.js").then((m) => m.default),
|
|
76
|
+
pricing: () => import("../pricing-KSWONJTS.js").then((m) => m.default),
|
|
77
|
+
"pricing-tier": () => import("../pricing-tier-K2OQEERV.js").then((m) => m.default),
|
|
78
|
+
purpose: () => import("../purpose-72Y7ATVA.js").then((m) => m.default),
|
|
79
|
+
query: () => import("../query-2IAR5TRO.js").then((m) => m.default),
|
|
80
|
+
sandbox: () => import("../sandbox-QVNSUD4P.js").then((m) => m.default),
|
|
81
|
+
sharing: () => import("../sharing-QBZC6UZC.js").then((m) => m.default),
|
|
82
|
+
snapshot: () => import("../snapshot-TAXMGWK2.js").then((m) => m.default),
|
|
83
|
+
submission: () => import("../submission-RBWSF5L6.js").then((m) => m.default),
|
|
84
|
+
targeting: () => import("../targeting-CVBMNPB6.js").then((m) => m.default),
|
|
85
|
+
"template-variables": () => import("../template-variables-IHXWIHQC.js").then((m) => m.default),
|
|
86
|
+
user: () => import("../user-CUJOTYAH.js").then((m) => m.default),
|
|
87
|
+
"validation-rules": () => import("../validation-rules-ZVV7R6CY.js").then((m) => m.default),
|
|
88
|
+
webhooks: () => import("../webhooks-XPT2WPJK.js").then((m) => m.default),
|
|
89
|
+
workflow: () => import("../workflow-ULFGLC34.js").then((m) => m.default),
|
|
90
|
+
"workflow-definition": () => import("../workflow-definition-O7U2N3FF.js").then((m) => m.default)
|
|
91
91
|
}
|
|
92
92
|
});
|
|
93
93
|
|
|
@@ -142,7 +142,7 @@ process.stderr.on("error", (err) => {
|
|
|
142
142
|
if (err.code === "EPIPE") process.exit(0);
|
|
143
143
|
throw err;
|
|
144
144
|
});
|
|
145
|
-
var VERSION = true ? "0.1.
|
|
145
|
+
var VERSION = true ? "0.1.218" : (await null).default.version;
|
|
146
146
|
var reorderedArgv = hoistFlagsAfterSubcommand(process.argv.slice(2));
|
|
147
147
|
process.argv = [process.argv[0], process.argv[1], ...reorderedArgv];
|
|
148
148
|
var args = process.argv.slice(2);
|
|
@@ -4,8 +4,8 @@ import {
|
|
|
4
4
|
} from "./chunk-EY42RC57.js";
|
|
5
5
|
import {
|
|
6
6
|
callApi
|
|
7
|
-
} from "./chunk-
|
|
8
|
-
import "./chunk-
|
|
7
|
+
} from "./chunk-APU4FHHI.js";
|
|
8
|
+
import "./chunk-A65CLQB5.js";
|
|
9
9
|
import "./chunk-IOLKUHUB.js";
|
|
10
10
|
import "./chunk-SQ55BTMV.js";
|
|
11
11
|
import "./chunk-QPUCHKXS.js";
|
|
@@ -4,8 +4,8 @@ import {
|
|
|
4
4
|
} from "./chunk-EY42RC57.js";
|
|
5
5
|
import {
|
|
6
6
|
callApi
|
|
7
|
-
} from "./chunk-
|
|
8
|
-
import "./chunk-
|
|
7
|
+
} from "./chunk-APU4FHHI.js";
|
|
8
|
+
import "./chunk-A65CLQB5.js";
|
|
9
9
|
import "./chunk-IOLKUHUB.js";
|
|
10
10
|
import "./chunk-SQ55BTMV.js";
|
|
11
11
|
import "./chunk-QPUCHKXS.js";
|
|
@@ -4,8 +4,8 @@ import {
|
|
|
4
4
|
} from "./chunk-EY42RC57.js";
|
|
5
5
|
import {
|
|
6
6
|
callApi
|
|
7
|
-
} from "./chunk-
|
|
8
|
-
import "./chunk-
|
|
7
|
+
} from "./chunk-APU4FHHI.js";
|
|
8
|
+
import "./chunk-A65CLQB5.js";
|
|
9
9
|
import "./chunk-IOLKUHUB.js";
|
|
10
10
|
import "./chunk-SQ55BTMV.js";
|
|
11
11
|
import "./chunk-QPUCHKXS.js";
|
|
@@ -4,8 +4,8 @@ import {
|
|
|
4
4
|
} from "./chunk-EY42RC57.js";
|
|
5
5
|
import {
|
|
6
6
|
callApi
|
|
7
|
-
} from "./chunk-
|
|
8
|
-
import "./chunk-
|
|
7
|
+
} from "./chunk-APU4FHHI.js";
|
|
8
|
+
import "./chunk-A65CLQB5.js";
|
|
9
9
|
import "./chunk-IOLKUHUB.js";
|
|
10
10
|
import "./chunk-SQ55BTMV.js";
|
|
11
11
|
import "./chunk-QPUCHKXS.js";
|