@epilot/sdk 2.7.0 → 2.8.0-rc.0
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 -0
- package/definitions/app.json +101 -8
- package/definitions/configuration-hub-runtime.json +1 -1
- package/definitions/configuration-hub.json +623 -0
- package/definitions/customer-portal-runtime.json +1 -1
- package/definitions/customer-portal.json +505 -6
- package/definitions/design-runtime.json +1 -1
- package/definitions/design.json +1 -11
- package/definitions/email-settings-runtime.json +1 -1
- package/definitions/email-settings.json +86 -4
- package/definitions/file-runtime.json +1 -1
- package/definitions/file.json +262 -4
- package/definitions/focus-pocus-runtime.json +1 -0
- package/definitions/focus-pocus.json +757 -0
- package/definitions/journey-runtime.json +1 -1
- package/definitions/journey.json +21 -1
- package/dist/README-37TXN4EL.cjs +7 -0
- package/dist/README-Z2WITBOR.js +7 -0
- package/dist/{_index-DB2VV4PQ.cjs → _index-HTUXYSTD.cjs} +4 -1
- package/dist/{_index-5FB6F5YY.js → _index-YTOJUFGD.js} +3 -0
- package/dist/apis/access-token.cjs +6 -6
- package/dist/apis/access-token.js +1 -1
- package/dist/apis/address-suggestions.cjs +6 -6
- package/dist/apis/address-suggestions.js +1 -1
- package/dist/apis/address.cjs +6 -6
- package/dist/apis/address.js +1 -1
- package/dist/apis/ai-agents.cjs +6 -6
- package/dist/apis/ai-agents.js +1 -1
- package/dist/apis/app.cjs +6 -6
- package/dist/apis/app.d.cts +2 -2
- package/dist/apis/app.d.ts +2 -2
- package/dist/apis/app.js +1 -1
- package/dist/apis/audit-logs.cjs +6 -6
- package/dist/apis/audit-logs.js +1 -1
- package/dist/apis/automation.cjs +6 -6
- package/dist/apis/automation.js +1 -1
- package/dist/apis/billing.cjs +6 -6
- package/dist/apis/billing.js +1 -1
- package/dist/apis/blueprint-manifest.cjs +6 -6
- package/dist/apis/blueprint-manifest.js +1 -1
- package/dist/apis/calendar.cjs +6 -6
- package/dist/apis/calendar.js +1 -1
- package/dist/apis/configuration-hub.cjs +8 -8
- package/dist/apis/configuration-hub.d.cts +2 -2
- package/dist/apis/configuration-hub.d.ts +2 -2
- package/dist/apis/configuration-hub.js +2 -2
- package/dist/apis/consent.cjs +6 -6
- package/dist/apis/consent.js +1 -1
- package/dist/apis/customer-portal.cjs +8 -8
- package/dist/apis/customer-portal.d.cts +2 -2
- package/dist/apis/customer-portal.d.ts +2 -2
- package/dist/apis/customer-portal.js +2 -2
- package/dist/apis/dashboard.cjs +6 -6
- package/dist/apis/dashboard.js +1 -1
- package/dist/apis/data-governance.cjs +6 -6
- package/dist/apis/data-governance.js +1 -1
- package/dist/apis/deduplication.cjs +6 -6
- package/dist/apis/deduplication.js +1 -1
- package/dist/apis/design.cjs +8 -8
- package/dist/apis/design.js +2 -2
- package/dist/apis/document.cjs +6 -6
- package/dist/apis/document.js +1 -1
- package/dist/apis/email-settings.cjs +8 -8
- package/dist/apis/email-settings.d.cts +2 -2
- package/dist/apis/email-settings.d.ts +2 -2
- package/dist/apis/email-settings.js +2 -2
- package/dist/apis/email-template.cjs +6 -6
- package/dist/apis/email-template.js +1 -1
- package/dist/apis/entity-mapping.cjs +6 -6
- package/dist/apis/entity-mapping.js +1 -1
- package/dist/apis/entity.cjs +6 -6
- package/dist/apis/entity.js +1 -1
- package/dist/apis/environments.cjs +6 -6
- package/dist/apis/environments.js +1 -1
- package/dist/apis/event-catalog.cjs +6 -6
- package/dist/apis/event-catalog.js +1 -1
- package/dist/apis/file.cjs +8 -8
- package/dist/apis/file.d.cts +2 -2
- package/dist/apis/file.d.ts +2 -2
- package/dist/apis/file.js +2 -2
- package/dist/apis/focus-pocus.cjs +38 -0
- package/dist/apis/focus-pocus.d.cts +18 -0
- package/dist/apis/focus-pocus.d.ts +18 -0
- package/dist/apis/focus-pocus.js +38 -0
- package/dist/apis/iban.cjs +6 -6
- package/dist/apis/iban.js +1 -1
- package/dist/apis/integration-toolkit.cjs +6 -6
- package/dist/apis/integration-toolkit.js +1 -1
- package/dist/apis/journey.cjs +8 -8
- package/dist/apis/journey.d.cts +2 -2
- package/dist/apis/journey.d.ts +2 -2
- package/dist/apis/journey.js +2 -2
- package/dist/apis/kanban.cjs +6 -6
- package/dist/apis/kanban.js +1 -1
- package/dist/apis/message.cjs +6 -6
- package/dist/apis/message.js +1 -1
- package/dist/apis/metering.cjs +6 -6
- package/dist/apis/metering.js +1 -1
- package/dist/apis/notes.cjs +6 -6
- package/dist/apis/notes.js +1 -1
- package/dist/apis/notification.cjs +6 -6
- package/dist/apis/notification.js +1 -1
- package/dist/apis/organization.cjs +6 -6
- package/dist/apis/organization.js +1 -1
- package/dist/apis/partner-directory.cjs +6 -6
- package/dist/apis/partner-directory.js +1 -1
- package/dist/apis/permissions.cjs +6 -6
- package/dist/apis/permissions.js +1 -1
- package/dist/apis/pricing-tier.cjs +6 -6
- package/dist/apis/pricing-tier.js +1 -1
- package/dist/apis/pricing.cjs +6 -6
- package/dist/apis/pricing.js +1 -1
- package/dist/apis/purpose.cjs +6 -6
- package/dist/apis/purpose.js +1 -1
- package/dist/apis/query.cjs +6 -6
- package/dist/apis/query.js +1 -1
- package/dist/apis/sandbox.cjs +6 -6
- package/dist/apis/sandbox.js +1 -1
- package/dist/apis/sharing.cjs +6 -6
- package/dist/apis/sharing.js +1 -1
- package/dist/apis/submission.cjs +6 -6
- package/dist/apis/submission.js +1 -1
- package/dist/apis/target.cjs +6 -6
- package/dist/apis/target.js +1 -1
- package/dist/apis/targeting.cjs +6 -6
- package/dist/apis/targeting.js +1 -1
- package/dist/apis/template-variables.cjs +6 -6
- package/dist/apis/template-variables.js +1 -1
- package/dist/apis/user.cjs +6 -6
- package/dist/apis/user.js +1 -1
- package/dist/apis/validation-rules.cjs +6 -6
- package/dist/apis/validation-rules.js +1 -1
- package/dist/apis/webhooks.cjs +6 -6
- package/dist/apis/webhooks.js +1 -1
- package/dist/apis/workflow-definition.cjs +6 -6
- package/dist/apis/workflow-definition.js +1 -1
- package/dist/apis/workflow.cjs +6 -6
- package/dist/apis/workflow.js +1 -1
- package/dist/{app-SSF545U7.cjs → app-74LECFMK.cjs} +1 -1
- package/dist/{app-34OBBTA4.js → app-GNUHCGPO.js} +1 -1
- package/dist/{app.d--5n0FQQ4.d.cts → app.d-BOR23dso.d.cts} +104 -4
- package/dist/{app.d--5n0FQQ4.d.ts → app.d-BOR23dso.d.ts} +104 -4
- package/dist/chunk-3APTSPY4.js +14 -0
- package/dist/{chunk-JB7LITSP.js → chunk-54KWFSCM.js} +35 -24
- package/dist/chunk-A6FYGWQ7.cjs +14 -0
- package/dist/{chunk-35CN2YFK.cjs → chunk-F5Z6I7TF.cjs} +35 -24
- package/dist/chunk-JOUTFBLN.js +14 -0
- package/dist/chunk-KCPVNRDL.js +14 -0
- package/dist/chunk-KJPOUJBU.cjs +14 -0
- package/dist/chunk-LAWKCWVU.cjs +14 -0
- package/dist/{chunk-ZSONBZIF.cjs → chunk-MOLFG5L4.cjs} +1 -1
- package/dist/chunk-OPXGJKZR.cjs +14 -0
- package/dist/chunk-P42Q6HOW.js +14 -0
- package/dist/chunk-P4NA7NWG.js +14 -0
- package/dist/chunk-PTEJYAYJ.js +14 -0
- package/dist/chunk-WHXYES2D.cjs +14 -0
- package/dist/{chunk-ONOGGR6Q.js → chunk-WW6DVKJR.js} +1 -1
- package/dist/chunk-YI5YGTAH.cjs +14 -0
- package/dist/configuration-hub-E7S4JB2T.js +7 -0
- package/dist/configuration-hub-Q5JBYB52.cjs +7 -0
- package/dist/{configuration-hub-runtime-L6IOERSP.js → configuration-hub-runtime-CXME7TCX.js} +1 -1
- package/dist/{configuration-hub-runtime-I5Y67CXD.cjs → configuration-hub-runtime-QVLJKEZD.cjs} +2 -2
- package/dist/configuration-hub.d-CbSJDa7k.d.cts +1096 -0
- package/dist/configuration-hub.d-CbSJDa7k.d.ts +1096 -0
- package/dist/customer-portal-DR6XFCTQ.js +7 -0
- package/dist/customer-portal-PNFBVIAH.cjs +7 -0
- package/dist/{customer-portal-runtime-OEXTSMSE.cjs → customer-portal-runtime-IYHJ3RME.cjs} +2 -2
- package/dist/{customer-portal-runtime-N4NWQ67M.js → customer-portal-runtime-ZYU3WIXY.js} +1 -1
- package/dist/{customer-portal.d-ChSEioI5.d.cts → customer-portal.d-CTTCBAZI.d.cts} +764 -14
- package/dist/{customer-portal.d-ChSEioI5.d.ts → customer-portal.d-CTTCBAZI.d.ts} +764 -14
- package/dist/data-governance-QYFHBCNB.cjs +7 -0
- package/dist/data-governance-YS2NA6W4.js +7 -0
- package/dist/design-EWZQZ5KX.js +7 -0
- package/dist/design-MUUYXB2J.cjs +7 -0
- package/dist/design-runtime-3RHYNHUV.cjs +5 -0
- package/dist/{design-runtime-QMJM4FAF.js → design-runtime-DLMA4EHQ.js} +1 -1
- package/dist/email-settings-YJ4X5VFU.cjs +7 -0
- package/dist/email-settings-YUK3DXFJ.js +7 -0
- package/dist/{email-settings-runtime-EGIJ2AVQ.js → email-settings-runtime-BXRZV4M5.js} +1 -1
- package/dist/{email-settings-runtime-WGVLI7N6.cjs → email-settings-runtime-FWJQBQBK.cjs} +2 -2
- package/dist/{email-settings.d-B7Q_xT25.d.cts → email-settings.d-UJ0C3jPI.d.cts} +108 -9
- package/dist/{email-settings.d-B7Q_xT25.d.ts → email-settings.d-UJ0C3jPI.d.ts} +108 -9
- package/dist/file-P2FUUER2.js +7 -0
- package/dist/file-XTY74SIX.cjs +7 -0
- package/dist/file-runtime-24S3QPA7.cjs +5 -0
- package/dist/{file-runtime-B6AAGZQF.js → file-runtime-BIRMXYRH.js} +1 -1
- package/dist/{file.d-DcTJxjp7.d.cts → file.d-DTlrbI40.d.cts} +2336 -19
- package/dist/{file.d-DcTJxjp7.d.ts → file.d-DTlrbI40.d.ts} +2336 -19
- package/dist/focus-pocus-JGXH42OF.cjs +7 -0
- package/dist/focus-pocus-XVDVUYL6.js +7 -0
- package/dist/focus-pocus-runtime-QXBBYVX7.js +5 -0
- package/dist/focus-pocus-runtime-X6GQ3WI4.cjs +5 -0
- package/dist/focus-pocus.d-BRFGe53G.d.cts +489 -0
- package/dist/focus-pocus.d-BRFGe53G.d.ts +489 -0
- package/dist/index.cjs +34 -26
- package/dist/index.d.cts +57 -55
- package/dist/index.d.ts +57 -55
- package/dist/index.js +23 -15
- package/dist/journey-4DIIPRU4.js +7 -0
- package/dist/journey-ATC3Y5AW.cjs +7 -0
- package/dist/{journey-runtime-SPBL3F32.cjs → journey-runtime-G2O5C3N2.cjs} +2 -2
- package/dist/{journey-runtime-YXIAOTMD.js → journey-runtime-RI2LJO5S.js} +1 -1
- package/dist/{journey.d-ClXO0xK8.d.cts → journey.d-BenIUWaO.d.cts} +9 -3
- package/dist/{journey.d-ClXO0xK8.d.ts → journey.d-BenIUWaO.d.ts} +9 -3
- package/dist/pricing-R5ENSVPQ.cjs +7 -0
- package/dist/pricing-X27CCRI6.js +7 -0
- package/dist/targeting-74BV7F7H.cjs +7 -0
- package/dist/targeting-W5EKJYR2.js +7 -0
- package/docs/app.md +34 -10
- package/docs/configuration-hub.md +660 -0
- package/docs/customer-portal.md +604 -176
- package/docs/data-governance.md +17 -17
- package/docs/design.md +1 -1
- package/docs/email-settings.md +67 -3
- package/docs/file.md +101 -2
- package/docs/focus-pocus.md +460 -0
- package/docs/journey.md +2 -0
- package/docs/pricing.md +1 -1
- package/docs/targeting.md +4 -4
- package/package.json +10 -1
- package/dist/README-46VYEGGW.js +0 -7
- package/dist/README-IVBISSWB.cjs +0 -7
- package/dist/chunk-4W22EIRF.cjs +0 -14
- package/dist/chunk-5OBMZHRL.cjs +0 -14
- package/dist/chunk-E2WMGOM5.js +0 -14
- package/dist/chunk-EFWPEVXI.js +0 -14
- package/dist/chunk-EIIIKDOJ.cjs +0 -14
- package/dist/chunk-KEI3GHDY.cjs +0 -14
- package/dist/chunk-KIWRGUKM.js +0 -14
- package/dist/chunk-MB6NKETA.cjs +0 -14
- package/dist/chunk-VSZEOCIE.js +0 -14
- package/dist/chunk-Z6HGUGXK.js +0 -14
- package/dist/configuration-hub-A3S6ND6R.cjs +0 -7
- package/dist/configuration-hub-PMAW44U5.js +0 -7
- package/dist/configuration-hub.d-Cqaq2F-W.d.cts +0 -478
- package/dist/configuration-hub.d-Cqaq2F-W.d.ts +0 -478
- package/dist/customer-portal-5I7ZGQDU.cjs +0 -7
- package/dist/customer-portal-YL2YMPZL.js +0 -7
- package/dist/data-governance-2U5UU4GM.cjs +0 -7
- package/dist/data-governance-36Y33JVG.js +0 -7
- package/dist/design-DROLIWS3.js +0 -7
- package/dist/design-XZKOZLTR.cjs +0 -7
- package/dist/design-runtime-OXEXKZVG.cjs +0 -5
- package/dist/email-settings-CKFJU4WZ.js +0 -7
- package/dist/email-settings-NQJJKS2P.cjs +0 -7
- package/dist/file-UOWBTDIU.cjs +0 -7
- package/dist/file-XSN3NAVZ.js +0 -7
- package/dist/file-runtime-SFZIKODF.cjs +0 -5
- package/dist/journey-KDR5EU3W.js +0 -7
- package/dist/journey-REBN4TGQ.cjs +0 -7
- package/dist/pricing-FODHQFCB.cjs +0 -7
- package/dist/pricing-XRIDVZFC.js +0 -7
- package/dist/targeting-EYGYZD6M.cjs +0 -7
- package/dist/targeting-GEJTJN5Z.js +0 -7
|
@@ -1577,13 +1577,14 @@ declare namespace Components {
|
|
|
1577
1577
|
* - 200 with a JSON body of shape:
|
|
1578
1578
|
* {
|
|
1579
1579
|
* "type_options": [
|
|
1580
|
-
* { "id": "ht", "label": { "en": "High tariff" }, "aggregation_group": "consumption", "statistical_method": "sum", "unit": "kWh" },
|
|
1580
|
+
* { "id": "ht", "label": { "en": "High tariff" }, "aggregation_group": "consumption", "statistical_method": "sum", "unit": "kWh", "color": "primary", "precision": 2 },
|
|
1581
1581
|
* ...
|
|
1582
1582
|
* ],
|
|
1583
1583
|
* "intervals": ["PT15M", "PT1H", "P1D", "P1M"],
|
|
1584
1584
|
* "data_range": { "from": "2024-01-01T00:00:00Z", "to": "2026-05-01T00:00:00Z" }
|
|
1585
1585
|
* }
|
|
1586
1586
|
* Each type option carries its own `statistical_method`, which describes the method already applied to that type's data and dictates the chart shape: `sum` is rendered as a bar chart; `min`, `average`, and `max` are rendered as a line chart. A single visualization can therefore mix bar-shaped types with line-shaped types. Defaults to `sum` when omitted.
|
|
1587
|
+
* Each type option may also customize its rendering: `color` picks a Spark palette color (`primary`, `slate`, `mauve`, `orange`, `red`, `tomato`, `amber`, `green`, `blue`) used to draw the type's series; `precision` sets the number of decimal places to show for that type's values (axis labels, tooltips, summaries). Both are optional — the consumer falls back to its own defaults when they are omitted.
|
|
1587
1588
|
* `aggregation_group` controls how types within a group are visually combined (depends on the per-type `statistical_method`):
|
|
1588
1589
|
* - bar chart (`sum`): same-group types are stacked into a single bar (e.g. ht/nt summed into total consumption); different-group types render side-by-side.
|
|
1589
1590
|
* - line chart (`min` / `average` / `max`): same-group types are rendered as an area chart; different-group types render as separate lines.
|
|
@@ -1672,7 +1673,19 @@ declare namespace Components {
|
|
|
1672
1673
|
/**
|
|
1673
1674
|
* Optional path to the data (array) in the response. If omitted, the data is assumed to be on the top level.
|
|
1674
1675
|
*/
|
|
1676
|
+
data_path?: string;
|
|
1677
|
+
/**
|
|
1678
|
+
* Deprecated. Use `data_path` instead.
|
|
1679
|
+
*/
|
|
1675
1680
|
dataPath?: string;
|
|
1681
|
+
/**
|
|
1682
|
+
* Optional path to a human-readable error message in the third-party response body, used when the call fails (non-2xx status).
|
|
1683
|
+
* If specified and the path resolves to a string, that message is forwarded to the end user instead of a generic error.
|
|
1684
|
+
*
|
|
1685
|
+
* example:
|
|
1686
|
+
* error.message
|
|
1687
|
+
*/
|
|
1688
|
+
error_message_path?: string;
|
|
1676
1689
|
};
|
|
1677
1690
|
/**
|
|
1678
1691
|
* Deprecated. Prefer `secure_proxy` instead.
|
|
@@ -1732,10 +1745,24 @@ declare namespace Components {
|
|
|
1732
1745
|
[key: string]: any;
|
|
1733
1746
|
};
|
|
1734
1747
|
/**
|
|
1735
|
-
* Contract or Contact ID usually retrieved from the response body, e.g. `{{CallResponse.data.contact_id}}`. If no result is passed and the request suceeds, we attempt to resolve the Contact ID automatically. Supports variable interpolation.
|
|
1748
|
+
* Deprecated. Use `resolved.result` instead. Contract or Contact ID usually retrieved from the response body, e.g. `{{CallResponse.data.contact_id}}`. If no result is passed and the request suceeds, we attempt to resolve the Contact ID automatically. Supports variable interpolation.
|
|
1736
1749
|
*/
|
|
1737
1750
|
result?: string;
|
|
1738
1751
|
};
|
|
1752
|
+
resolved?: {
|
|
1753
|
+
/**
|
|
1754
|
+
* Contract or Contact ID usually retrieved from the response body, e.g. `{{CallResponse.data.contact_id}}`. If no result is passed and the request suceeds, we attempt to resolve the Contact ID automatically. Supports variable interpolation. Supersedes the deprecated `call.result`.
|
|
1755
|
+
*/
|
|
1756
|
+
result?: string;
|
|
1757
|
+
/**
|
|
1758
|
+
* Optional path to a human-readable error message in the third-party response body, used when the call fails (non-2xx status).
|
|
1759
|
+
* If specified and the path resolves to a string, that message is forwarded to the end user instead of a generic error.
|
|
1760
|
+
*
|
|
1761
|
+
* example:
|
|
1762
|
+
* error.message
|
|
1763
|
+
*/
|
|
1764
|
+
error_message_path?: string;
|
|
1765
|
+
};
|
|
1739
1766
|
/**
|
|
1740
1767
|
* Mode of contract assignment. See hook description for mode details.
|
|
1741
1768
|
*/
|
|
@@ -1817,7 +1844,19 @@ declare namespace Components {
|
|
|
1817
1844
|
/**
|
|
1818
1845
|
* Optional path to the data (array) in the response. If omitted, the data is assumed to be on the top level.
|
|
1819
1846
|
*/
|
|
1847
|
+
data_path?: string;
|
|
1848
|
+
/**
|
|
1849
|
+
* Deprecated. Use `data_path` instead.
|
|
1850
|
+
*/
|
|
1820
1851
|
dataPath?: string;
|
|
1852
|
+
/**
|
|
1853
|
+
* Optional path to a human-readable error message in the third-party response body, used when the call fails (non-2xx status).
|
|
1854
|
+
* If specified and the path resolves to a string, that message is forwarded to the end user instead of a generic error.
|
|
1855
|
+
*
|
|
1856
|
+
* example:
|
|
1857
|
+
* error.message
|
|
1858
|
+
*/
|
|
1859
|
+
error_message_path?: string;
|
|
1821
1860
|
};
|
|
1822
1861
|
/**
|
|
1823
1862
|
* Deprecated. Prefer `secure_proxy` instead.
|
|
@@ -1876,6 +1915,16 @@ declare namespace Components {
|
|
|
1876
1915
|
[name: string]: any;
|
|
1877
1916
|
};
|
|
1878
1917
|
};
|
|
1918
|
+
resolved?: {
|
|
1919
|
+
/**
|
|
1920
|
+
* Optional path to a human-readable error message in the third-party response body, used when the call fails (non-2xx status).
|
|
1921
|
+
* If specified and the path resolves to a string, that message is forwarded to the end user instead of a generic error.
|
|
1922
|
+
*
|
|
1923
|
+
* example:
|
|
1924
|
+
* error.message
|
|
1925
|
+
*/
|
|
1926
|
+
error_message_path?: string;
|
|
1927
|
+
};
|
|
1879
1928
|
/**
|
|
1880
1929
|
* Deprecated. Prefer `secure_proxy` instead.
|
|
1881
1930
|
* If true, requests are made from a set of static IP addresses and only allow connections to a set of allowed IP addresses. Get in touch with us to add your IP addresses.
|
|
@@ -1938,6 +1987,10 @@ declare namespace Components {
|
|
|
1938
1987
|
* example:
|
|
1939
1988
|
* data.results
|
|
1940
1989
|
*/
|
|
1990
|
+
data_path?: string;
|
|
1991
|
+
/**
|
|
1992
|
+
* Deprecated. Use `data_path` instead.
|
|
1993
|
+
*/
|
|
1941
1994
|
dataPath?: string;
|
|
1942
1995
|
/**
|
|
1943
1996
|
* Counter identifier(s) used to match against the meter's counters.
|
|
@@ -1971,6 +2024,14 @@ declare namespace Components {
|
|
|
1971
2024
|
* {{CallResponse.data.lower_limit}}
|
|
1972
2025
|
*/
|
|
1973
2026
|
lower_limit?: string;
|
|
2027
|
+
/**
|
|
2028
|
+
* Optional path to a human-readable error message in the third-party response body, used when the call fails (non-2xx status).
|
|
2029
|
+
* If specified and the path resolves to a string, that message is forwarded to the end user instead of a generic error.
|
|
2030
|
+
*
|
|
2031
|
+
* example:
|
|
2032
|
+
* error.message
|
|
2033
|
+
*/
|
|
2034
|
+
error_message_path?: string;
|
|
1974
2035
|
};
|
|
1975
2036
|
/**
|
|
1976
2037
|
* Deprecated. Prefer `secure_proxy` instead.
|
|
@@ -2031,7 +2092,19 @@ declare namespace Components {
|
|
|
2031
2092
|
/**
|
|
2032
2093
|
* Optional path to the data (array) in the response. If omitted, the data is assumed to be on the top level.
|
|
2033
2094
|
*/
|
|
2095
|
+
data_path?: string;
|
|
2096
|
+
/**
|
|
2097
|
+
* Deprecated. Use `data_path` instead.
|
|
2098
|
+
*/
|
|
2034
2099
|
dataPath?: string;
|
|
2100
|
+
/**
|
|
2101
|
+
* Optional path to a human-readable error message in the third-party response body, used when the call fails (non-2xx status).
|
|
2102
|
+
* If specified and the path resolves to a string, that message is forwarded to the end user instead of a generic error.
|
|
2103
|
+
*
|
|
2104
|
+
* example:
|
|
2105
|
+
* error.message
|
|
2106
|
+
*/
|
|
2107
|
+
error_message_path?: string;
|
|
2035
2108
|
};
|
|
2036
2109
|
/**
|
|
2037
2110
|
* Deprecated. Prefer `secure_proxy` instead.
|
|
@@ -2083,10 +2156,24 @@ declare namespace Components {
|
|
|
2083
2156
|
[key: string]: any;
|
|
2084
2157
|
};
|
|
2085
2158
|
/**
|
|
2086
|
-
* Contact ID usually retrieved from the response body, e.g. `{{CallResponse.data.contact_id}}`. If no result is passed and the request suceeds, we attempt to resolve the Contact ID automatically. Supports variable interpolation.
|
|
2159
|
+
* Deprecated. Use `resolved.result` instead. Contact ID usually retrieved from the response body, e.g. `{{CallResponse.data.contact_id}}`. If no result is passed and the request suceeds, we attempt to resolve the Contact ID automatically. Supports variable interpolation.
|
|
2087
2160
|
*/
|
|
2088
2161
|
result: string;
|
|
2089
2162
|
};
|
|
2163
|
+
resolved?: {
|
|
2164
|
+
/**
|
|
2165
|
+
* Contact ID usually retrieved from the response body, e.g. `{{CallResponse.data.contact_id}}`. If no result is passed and the request suceeds, we attempt to resolve the Contact ID automatically. Supports variable interpolation. Supersedes the deprecated `call.result`.
|
|
2166
|
+
*/
|
|
2167
|
+
result?: string;
|
|
2168
|
+
/**
|
|
2169
|
+
* Optional path to a human-readable error message in the third-party response body, used when the call fails (non-2xx status).
|
|
2170
|
+
* If specified and the path resolves to a string, that message is forwarded to the end user instead of a generic error.
|
|
2171
|
+
*
|
|
2172
|
+
* example:
|
|
2173
|
+
* error.message
|
|
2174
|
+
*/
|
|
2175
|
+
error_message_path?: string;
|
|
2176
|
+
};
|
|
2090
2177
|
/**
|
|
2091
2178
|
* Deprecated. Prefer `secure_proxy` instead.
|
|
2092
2179
|
* If true, requests are made from a set of static IP addresses and only allow connections to a set of allowed IP addresses. Get in touch with us to add your IP addresses.
|
|
@@ -2100,13 +2187,14 @@ declare namespace Components {
|
|
|
2100
2187
|
* - 200 with a JSON body of shape:
|
|
2101
2188
|
* {
|
|
2102
2189
|
* "type_options": [
|
|
2103
|
-
* { "id": "ht", "label": { "en": "High tariff" }, "aggregation_group": "consumption", "statistical_method": "sum", "unit": "kWh" },
|
|
2190
|
+
* { "id": "ht", "label": { "en": "High tariff" }, "aggregation_group": "consumption", "statistical_method": "sum", "unit": "kWh", "color": "primary", "precision": 2 },
|
|
2104
2191
|
* ...
|
|
2105
2192
|
* ],
|
|
2106
2193
|
* "intervals": ["PT15M", "PT1H", "P1D", "P1M"],
|
|
2107
2194
|
* "data_range": { "from": "2024-01-01T00:00:00Z", "to": "2026-05-01T00:00:00Z" }
|
|
2108
2195
|
* }
|
|
2109
2196
|
* Each type option carries its own `statistical_method`, which describes the method already applied to that type's data and dictates the chart shape: `sum` is rendered as a bar chart; `min`, `average`, and `max` are rendered as a line chart. A single visualization can therefore mix bar-shaped types with line-shaped types. Defaults to `sum` when omitted.
|
|
2197
|
+
* Each type option may also customize its rendering: `color` picks a Spark palette color (`primary`, `slate`, `mauve`, `orange`, `red`, `tomato`, `amber`, `green`, `blue`) used to draw the type's series; `precision` sets the number of decimal places to show for that type's values (axis labels, tooltips, summaries). Both are optional — the consumer falls back to its own defaults when they are omitted.
|
|
2110
2198
|
* `aggregation_group` controls how types within a group are visually combined (depends on the per-type `statistical_method`):
|
|
2111
2199
|
* - bar chart (`sum`): same-group types are stacked into a single bar (e.g. ht/nt summed into total consumption); different-group types render side-by-side.
|
|
2112
2200
|
* - line chart (`min` / `average` / `max`): same-group types are rendered as an area chart; different-group types render as separate lines.
|
|
@@ -2154,7 +2242,19 @@ declare namespace Components {
|
|
|
2154
2242
|
/**
|
|
2155
2243
|
* Optional path to the metadata object in the response. If omitted, the metadata is assumed to be on the top level.
|
|
2156
2244
|
*/
|
|
2245
|
+
data_path?: string;
|
|
2246
|
+
/**
|
|
2247
|
+
* Deprecated. Use `data_path` instead.
|
|
2248
|
+
*/
|
|
2157
2249
|
dataPath?: string;
|
|
2250
|
+
/**
|
|
2251
|
+
* Optional path to a human-readable error message in the third-party response body, used when the call fails (non-2xx status).
|
|
2252
|
+
* If specified and the path resolves to a string, that message is forwarded to the end user instead of a generic error.
|
|
2253
|
+
*
|
|
2254
|
+
* example:
|
|
2255
|
+
* error.message
|
|
2256
|
+
*/
|
|
2257
|
+
error_message_path?: string;
|
|
2158
2258
|
};
|
|
2159
2259
|
/**
|
|
2160
2260
|
* Deprecated. Prefer `secure_proxy` instead.
|
|
@@ -1577,13 +1577,14 @@ declare namespace Components {
|
|
|
1577
1577
|
* - 200 with a JSON body of shape:
|
|
1578
1578
|
* {
|
|
1579
1579
|
* "type_options": [
|
|
1580
|
-
* { "id": "ht", "label": { "en": "High tariff" }, "aggregation_group": "consumption", "statistical_method": "sum", "unit": "kWh" },
|
|
1580
|
+
* { "id": "ht", "label": { "en": "High tariff" }, "aggregation_group": "consumption", "statistical_method": "sum", "unit": "kWh", "color": "primary", "precision": 2 },
|
|
1581
1581
|
* ...
|
|
1582
1582
|
* ],
|
|
1583
1583
|
* "intervals": ["PT15M", "PT1H", "P1D", "P1M"],
|
|
1584
1584
|
* "data_range": { "from": "2024-01-01T00:00:00Z", "to": "2026-05-01T00:00:00Z" }
|
|
1585
1585
|
* }
|
|
1586
1586
|
* Each type option carries its own `statistical_method`, which describes the method already applied to that type's data and dictates the chart shape: `sum` is rendered as a bar chart; `min`, `average`, and `max` are rendered as a line chart. A single visualization can therefore mix bar-shaped types with line-shaped types. Defaults to `sum` when omitted.
|
|
1587
|
+
* Each type option may also customize its rendering: `color` picks a Spark palette color (`primary`, `slate`, `mauve`, `orange`, `red`, `tomato`, `amber`, `green`, `blue`) used to draw the type's series; `precision` sets the number of decimal places to show for that type's values (axis labels, tooltips, summaries). Both are optional — the consumer falls back to its own defaults when they are omitted.
|
|
1587
1588
|
* `aggregation_group` controls how types within a group are visually combined (depends on the per-type `statistical_method`):
|
|
1588
1589
|
* - bar chart (`sum`): same-group types are stacked into a single bar (e.g. ht/nt summed into total consumption); different-group types render side-by-side.
|
|
1589
1590
|
* - line chart (`min` / `average` / `max`): same-group types are rendered as an area chart; different-group types render as separate lines.
|
|
@@ -1672,7 +1673,19 @@ declare namespace Components {
|
|
|
1672
1673
|
/**
|
|
1673
1674
|
* Optional path to the data (array) in the response. If omitted, the data is assumed to be on the top level.
|
|
1674
1675
|
*/
|
|
1676
|
+
data_path?: string;
|
|
1677
|
+
/**
|
|
1678
|
+
* Deprecated. Use `data_path` instead.
|
|
1679
|
+
*/
|
|
1675
1680
|
dataPath?: string;
|
|
1681
|
+
/**
|
|
1682
|
+
* Optional path to a human-readable error message in the third-party response body, used when the call fails (non-2xx status).
|
|
1683
|
+
* If specified and the path resolves to a string, that message is forwarded to the end user instead of a generic error.
|
|
1684
|
+
*
|
|
1685
|
+
* example:
|
|
1686
|
+
* error.message
|
|
1687
|
+
*/
|
|
1688
|
+
error_message_path?: string;
|
|
1676
1689
|
};
|
|
1677
1690
|
/**
|
|
1678
1691
|
* Deprecated. Prefer `secure_proxy` instead.
|
|
@@ -1732,10 +1745,24 @@ declare namespace Components {
|
|
|
1732
1745
|
[key: string]: any;
|
|
1733
1746
|
};
|
|
1734
1747
|
/**
|
|
1735
|
-
* Contract or Contact ID usually retrieved from the response body, e.g. `{{CallResponse.data.contact_id}}`. If no result is passed and the request suceeds, we attempt to resolve the Contact ID automatically. Supports variable interpolation.
|
|
1748
|
+
* Deprecated. Use `resolved.result` instead. Contract or Contact ID usually retrieved from the response body, e.g. `{{CallResponse.data.contact_id}}`. If no result is passed and the request suceeds, we attempt to resolve the Contact ID automatically. Supports variable interpolation.
|
|
1736
1749
|
*/
|
|
1737
1750
|
result?: string;
|
|
1738
1751
|
};
|
|
1752
|
+
resolved?: {
|
|
1753
|
+
/**
|
|
1754
|
+
* Contract or Contact ID usually retrieved from the response body, e.g. `{{CallResponse.data.contact_id}}`. If no result is passed and the request suceeds, we attempt to resolve the Contact ID automatically. Supports variable interpolation. Supersedes the deprecated `call.result`.
|
|
1755
|
+
*/
|
|
1756
|
+
result?: string;
|
|
1757
|
+
/**
|
|
1758
|
+
* Optional path to a human-readable error message in the third-party response body, used when the call fails (non-2xx status).
|
|
1759
|
+
* If specified and the path resolves to a string, that message is forwarded to the end user instead of a generic error.
|
|
1760
|
+
*
|
|
1761
|
+
* example:
|
|
1762
|
+
* error.message
|
|
1763
|
+
*/
|
|
1764
|
+
error_message_path?: string;
|
|
1765
|
+
};
|
|
1739
1766
|
/**
|
|
1740
1767
|
* Mode of contract assignment. See hook description for mode details.
|
|
1741
1768
|
*/
|
|
@@ -1817,7 +1844,19 @@ declare namespace Components {
|
|
|
1817
1844
|
/**
|
|
1818
1845
|
* Optional path to the data (array) in the response. If omitted, the data is assumed to be on the top level.
|
|
1819
1846
|
*/
|
|
1847
|
+
data_path?: string;
|
|
1848
|
+
/**
|
|
1849
|
+
* Deprecated. Use `data_path` instead.
|
|
1850
|
+
*/
|
|
1820
1851
|
dataPath?: string;
|
|
1852
|
+
/**
|
|
1853
|
+
* Optional path to a human-readable error message in the third-party response body, used when the call fails (non-2xx status).
|
|
1854
|
+
* If specified and the path resolves to a string, that message is forwarded to the end user instead of a generic error.
|
|
1855
|
+
*
|
|
1856
|
+
* example:
|
|
1857
|
+
* error.message
|
|
1858
|
+
*/
|
|
1859
|
+
error_message_path?: string;
|
|
1821
1860
|
};
|
|
1822
1861
|
/**
|
|
1823
1862
|
* Deprecated. Prefer `secure_proxy` instead.
|
|
@@ -1876,6 +1915,16 @@ declare namespace Components {
|
|
|
1876
1915
|
[name: string]: any;
|
|
1877
1916
|
};
|
|
1878
1917
|
};
|
|
1918
|
+
resolved?: {
|
|
1919
|
+
/**
|
|
1920
|
+
* Optional path to a human-readable error message in the third-party response body, used when the call fails (non-2xx status).
|
|
1921
|
+
* If specified and the path resolves to a string, that message is forwarded to the end user instead of a generic error.
|
|
1922
|
+
*
|
|
1923
|
+
* example:
|
|
1924
|
+
* error.message
|
|
1925
|
+
*/
|
|
1926
|
+
error_message_path?: string;
|
|
1927
|
+
};
|
|
1879
1928
|
/**
|
|
1880
1929
|
* Deprecated. Prefer `secure_proxy` instead.
|
|
1881
1930
|
* If true, requests are made from a set of static IP addresses and only allow connections to a set of allowed IP addresses. Get in touch with us to add your IP addresses.
|
|
@@ -1938,6 +1987,10 @@ declare namespace Components {
|
|
|
1938
1987
|
* example:
|
|
1939
1988
|
* data.results
|
|
1940
1989
|
*/
|
|
1990
|
+
data_path?: string;
|
|
1991
|
+
/**
|
|
1992
|
+
* Deprecated. Use `data_path` instead.
|
|
1993
|
+
*/
|
|
1941
1994
|
dataPath?: string;
|
|
1942
1995
|
/**
|
|
1943
1996
|
* Counter identifier(s) used to match against the meter's counters.
|
|
@@ -1971,6 +2024,14 @@ declare namespace Components {
|
|
|
1971
2024
|
* {{CallResponse.data.lower_limit}}
|
|
1972
2025
|
*/
|
|
1973
2026
|
lower_limit?: string;
|
|
2027
|
+
/**
|
|
2028
|
+
* Optional path to a human-readable error message in the third-party response body, used when the call fails (non-2xx status).
|
|
2029
|
+
* If specified and the path resolves to a string, that message is forwarded to the end user instead of a generic error.
|
|
2030
|
+
*
|
|
2031
|
+
* example:
|
|
2032
|
+
* error.message
|
|
2033
|
+
*/
|
|
2034
|
+
error_message_path?: string;
|
|
1974
2035
|
};
|
|
1975
2036
|
/**
|
|
1976
2037
|
* Deprecated. Prefer `secure_proxy` instead.
|
|
@@ -2031,7 +2092,19 @@ declare namespace Components {
|
|
|
2031
2092
|
/**
|
|
2032
2093
|
* Optional path to the data (array) in the response. If omitted, the data is assumed to be on the top level.
|
|
2033
2094
|
*/
|
|
2095
|
+
data_path?: string;
|
|
2096
|
+
/**
|
|
2097
|
+
* Deprecated. Use `data_path` instead.
|
|
2098
|
+
*/
|
|
2034
2099
|
dataPath?: string;
|
|
2100
|
+
/**
|
|
2101
|
+
* Optional path to a human-readable error message in the third-party response body, used when the call fails (non-2xx status).
|
|
2102
|
+
* If specified and the path resolves to a string, that message is forwarded to the end user instead of a generic error.
|
|
2103
|
+
*
|
|
2104
|
+
* example:
|
|
2105
|
+
* error.message
|
|
2106
|
+
*/
|
|
2107
|
+
error_message_path?: string;
|
|
2035
2108
|
};
|
|
2036
2109
|
/**
|
|
2037
2110
|
* Deprecated. Prefer `secure_proxy` instead.
|
|
@@ -2083,10 +2156,24 @@ declare namespace Components {
|
|
|
2083
2156
|
[key: string]: any;
|
|
2084
2157
|
};
|
|
2085
2158
|
/**
|
|
2086
|
-
* Contact ID usually retrieved from the response body, e.g. `{{CallResponse.data.contact_id}}`. If no result is passed and the request suceeds, we attempt to resolve the Contact ID automatically. Supports variable interpolation.
|
|
2159
|
+
* Deprecated. Use `resolved.result` instead. Contact ID usually retrieved from the response body, e.g. `{{CallResponse.data.contact_id}}`. If no result is passed and the request suceeds, we attempt to resolve the Contact ID automatically. Supports variable interpolation.
|
|
2087
2160
|
*/
|
|
2088
2161
|
result: string;
|
|
2089
2162
|
};
|
|
2163
|
+
resolved?: {
|
|
2164
|
+
/**
|
|
2165
|
+
* Contact ID usually retrieved from the response body, e.g. `{{CallResponse.data.contact_id}}`. If no result is passed and the request suceeds, we attempt to resolve the Contact ID automatically. Supports variable interpolation. Supersedes the deprecated `call.result`.
|
|
2166
|
+
*/
|
|
2167
|
+
result?: string;
|
|
2168
|
+
/**
|
|
2169
|
+
* Optional path to a human-readable error message in the third-party response body, used when the call fails (non-2xx status).
|
|
2170
|
+
* If specified and the path resolves to a string, that message is forwarded to the end user instead of a generic error.
|
|
2171
|
+
*
|
|
2172
|
+
* example:
|
|
2173
|
+
* error.message
|
|
2174
|
+
*/
|
|
2175
|
+
error_message_path?: string;
|
|
2176
|
+
};
|
|
2090
2177
|
/**
|
|
2091
2178
|
* Deprecated. Prefer `secure_proxy` instead.
|
|
2092
2179
|
* If true, requests are made from a set of static IP addresses and only allow connections to a set of allowed IP addresses. Get in touch with us to add your IP addresses.
|
|
@@ -2100,13 +2187,14 @@ declare namespace Components {
|
|
|
2100
2187
|
* - 200 with a JSON body of shape:
|
|
2101
2188
|
* {
|
|
2102
2189
|
* "type_options": [
|
|
2103
|
-
* { "id": "ht", "label": { "en": "High tariff" }, "aggregation_group": "consumption", "statistical_method": "sum", "unit": "kWh" },
|
|
2190
|
+
* { "id": "ht", "label": { "en": "High tariff" }, "aggregation_group": "consumption", "statistical_method": "sum", "unit": "kWh", "color": "primary", "precision": 2 },
|
|
2104
2191
|
* ...
|
|
2105
2192
|
* ],
|
|
2106
2193
|
* "intervals": ["PT15M", "PT1H", "P1D", "P1M"],
|
|
2107
2194
|
* "data_range": { "from": "2024-01-01T00:00:00Z", "to": "2026-05-01T00:00:00Z" }
|
|
2108
2195
|
* }
|
|
2109
2196
|
* Each type option carries its own `statistical_method`, which describes the method already applied to that type's data and dictates the chart shape: `sum` is rendered as a bar chart; `min`, `average`, and `max` are rendered as a line chart. A single visualization can therefore mix bar-shaped types with line-shaped types. Defaults to `sum` when omitted.
|
|
2197
|
+
* Each type option may also customize its rendering: `color` picks a Spark palette color (`primary`, `slate`, `mauve`, `orange`, `red`, `tomato`, `amber`, `green`, `blue`) used to draw the type's series; `precision` sets the number of decimal places to show for that type's values (axis labels, tooltips, summaries). Both are optional — the consumer falls back to its own defaults when they are omitted.
|
|
2110
2198
|
* `aggregation_group` controls how types within a group are visually combined (depends on the per-type `statistical_method`):
|
|
2111
2199
|
* - bar chart (`sum`): same-group types are stacked into a single bar (e.g. ht/nt summed into total consumption); different-group types render side-by-side.
|
|
2112
2200
|
* - line chart (`min` / `average` / `max`): same-group types are rendered as an area chart; different-group types render as separate lines.
|
|
@@ -2154,7 +2242,19 @@ declare namespace Components {
|
|
|
2154
2242
|
/**
|
|
2155
2243
|
* Optional path to the metadata object in the response. If omitted, the metadata is assumed to be on the top level.
|
|
2156
2244
|
*/
|
|
2245
|
+
data_path?: string;
|
|
2246
|
+
/**
|
|
2247
|
+
* Deprecated. Use `data_path` instead.
|
|
2248
|
+
*/
|
|
2157
2249
|
dataPath?: string;
|
|
2250
|
+
/**
|
|
2251
|
+
* Optional path to a human-readable error message in the third-party response body, used when the call fails (non-2xx status).
|
|
2252
|
+
* If specified and the path resolves to a string, that message is forwarded to the end user instead of a generic error.
|
|
2253
|
+
*
|
|
2254
|
+
* example:
|
|
2255
|
+
* error.message
|
|
2256
|
+
*/
|
|
2257
|
+
error_message_path?: string;
|
|
2158
2258
|
};
|
|
2159
2259
|
/**
|
|
2160
2260
|
* Deprecated. Prefer `secure_proxy` instead.
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import {
|
|
2
|
+
__commonJS
|
|
3
|
+
} from "./chunk-YPSWSI3M.js";
|
|
4
|
+
|
|
5
|
+
// src/definitions/file-runtime.json
|
|
6
|
+
var require_file_runtime = __commonJS({
|
|
7
|
+
"src/definitions/file-runtime.json"(exports, module) {
|
|
8
|
+
module.exports = { s: "https://file.sls.epilot.io", o: [["uploadFileV2", "post", "/v2/files/upload", [["file_entity_id", "q"]], 1], ["saveFileV2", "post", "/v2/files", [["ActivityIdQueryParam"], ["FillActivityQueryParam"], ["StrictQueryParam"], ["AsyncOperationQueryParam"], ["DeleteTempFileQueryParam"], ["VersionOnlyQueryParam"]], 1], ["uploadFile", "post", "/v1/files/upload", [["file_entity_id", "q"]], 1], ["saveFile", "post", "/v1/files", [["ActivityIdQueryParam"], ["AsyncOperationQueryParam"], ["VersionOnlyQueryParam"]], 1], ["getFile", "get", "/v2/files/{id}", [["id", "p", true], ["source_url", "q"], ["StrictQueryParam"], ["AsyncOperationQueryParam"]]], ["deleteFile", "delete", "/v2/files/{id}", [["id", "p", true], ["purge", "q"], ["ActivityIdQueryParam"], ["StrictQueryParam"]]], ["downloadFile", "get", "/v1/files/{id}/download", [["id", "p", true], ["version", "q"], ["attachment", "q"]]], ["downloadS3File", "post", "/v1/files:downloadS3", [["s3_key", "q", true], ["s3_bucket", "q", true], ["attachment", "q"]]], ["downloadFiles", "post", "/v1/files:downloadFiles", null, 1], ["createZipJob", "post", "/v1/files:zipJob", null, 1], ["getZipJob", "get", "/v1/files:zipJob/{job_id}", [["job_id", "p", true]]], ["previewFile", "get", "/v1/files/{id}/preview", [["id", "p", true], ["version", "q"], ["w", "q"], ["h", "q"]]], ["previewS3File", "post", "/v1/files:previewS3", [["w", "q"], ["h", "q"]], 1], ["previewS3FileGet", "get", "/v1/files:previewS3", [["key", "q", true], ["bucket", "q", true], ["w", "q"], ["h", "q"]]], ["previewPublicFile", "get", "/v1/files/public/{id}/preview", [["id", "p", true], ["version", "q"], ["w", "q"], ["h", "q"], ["org_id", "q"]]], ["getSession", "get", "/v1/files/session"], ["deleteSession", "delete", "/v1/files/session"], ["generatePublicLink", "post", "/v1/files/{id}/public/links", [["id", "p", true]]], ["listPublicLinksForFile", "get", "/v1/files/{id}/public/links", [["id", "p", true]]], ["accessPublicLink", "get", "/v1/files/public/links/{id}/{filename}", [["id", "p", true], ["filename", "p", true], ["hash", "q"]]], ["revokePublicLink", "delete", "/v1/files/public/links/{id}", [["id", "p", true]]], ["verifyCustomDownloadUrl", "post", "/v1/files/download:verify", null, 1], ["uploadFilePublic", "post", "/v1/files/public/upload", null, 1], ["getUserSchemaFileCollections", "get", "/v1/{slug}/collections", [["slug", "p", true]]], ["createUserSchemaFileCollection", "post", "/v1/{slug}/collections", [["slug", "p", true]], 1], ["updateUserSchemaFileCollection", "put", "/v1/{slug}/collections/{collectionSlug}", [["slug", "p", true], ["collectionSlug", "p", true]], 1], ["deleteUserSchemaFileCollection", "delete", "/v1/{slug}/collections/{collectionSlug}", [["slug", "p", true], ["collectionSlug", "p", true]]], ["getFilesInCollection", "get", "/v1/entity/{id}/collections/{collectionSlug}/files", [["EntityIdPathParam"], ["collectionSlug", "p", true]]], ["getGlobalFileCollections", "get", "/v1/collections/{schemaSlug}", [["schemaSlug", "p", true]]]], v: "3.0.3", cp: { EntityIdPathParam: ["id", "p", true], StrictQueryParam: ["strict", "q"], ActivityIdQueryParam: ["activity_id", "q"], FillActivityQueryParam: ["fill_activity", "q"], AsyncOperationQueryParam: ["async", "q"], DeleteTempFileQueryParam: ["delete_temp_file", "q"], VersionOnlyQueryParam: ["version_only", "q"] } };
|
|
9
|
+
}
|
|
10
|
+
});
|
|
11
|
+
|
|
12
|
+
export {
|
|
13
|
+
require_file_runtime
|
|
14
|
+
};
|
|
@@ -3,52 +3,62 @@ import {
|
|
|
3
3
|
} from "./chunk-YPSWSI3M.js";
|
|
4
4
|
|
|
5
5
|
// src/authorize.ts
|
|
6
|
+
var AUTH_INTERCEPTOR_KEY = /* @__PURE__ */ Symbol.for("@epilot/sdk:authInterceptorId");
|
|
6
7
|
var authorize = (client, token) => {
|
|
8
|
+
const marked = client;
|
|
9
|
+
const prev = marked[AUTH_INTERCEPTOR_KEY];
|
|
10
|
+
if (typeof prev === "number") {
|
|
11
|
+
client.interceptors.request.eject(prev);
|
|
12
|
+
marked[AUTH_INTERCEPTOR_KEY] = void 0;
|
|
13
|
+
}
|
|
7
14
|
if (typeof token === "string") {
|
|
8
15
|
client.defaults.headers.common.authorization = `Bearer ${token}`;
|
|
9
|
-
|
|
10
|
-
client.interceptors.request.use(async (config) => {
|
|
11
|
-
const resolved = await token();
|
|
12
|
-
config.headers.authorization = `Bearer ${resolved}`;
|
|
13
|
-
return config;
|
|
14
|
-
});
|
|
16
|
+
return client;
|
|
15
17
|
}
|
|
18
|
+
delete client.defaults.headers.common.authorization;
|
|
19
|
+
const id = client.interceptors.request.use(async (config) => {
|
|
20
|
+
const resolved = await token();
|
|
21
|
+
config.headers.authorization = `Bearer ${resolved}`;
|
|
22
|
+
return config;
|
|
23
|
+
});
|
|
24
|
+
marked[AUTH_INTERCEPTOR_KEY] = id;
|
|
16
25
|
return client;
|
|
17
26
|
};
|
|
18
27
|
|
|
19
28
|
// import("./docs/**/*") in src/help.ts
|
|
20
29
|
var globImport_docs = __glob({
|
|
21
|
-
"./docs/README.json": () => import("./README-
|
|
22
|
-
"./docs/_index.json": () => import("./_index-
|
|
30
|
+
"./docs/README.json": () => import("./README-Z2WITBOR.js"),
|
|
31
|
+
"./docs/_index.json": () => import("./_index-YTOJUFGD.js"),
|
|
23
32
|
"./docs/access-token.json": () => import("./access-token-GSQZLDXR.js"),
|
|
24
33
|
"./docs/address-suggestions.json": () => import("./address-suggestions-74244BAJ.js"),
|
|
25
34
|
"./docs/address.json": () => import("./address-QVJUGMOG.js"),
|
|
26
35
|
"./docs/ai-agents.json": () => import("./ai-agents-IZWFEUSH.js"),
|
|
27
|
-
"./docs/app.json": () => import("./app-
|
|
36
|
+
"./docs/app.json": () => import("./app-GNUHCGPO.js"),
|
|
28
37
|
"./docs/audit-logs.json": () => import("./audit-logs-5VXHOQ7S.js"),
|
|
29
38
|
"./docs/automation.json": () => import("./automation-MEZTSUR3.js"),
|
|
30
39
|
"./docs/billing.json": () => import("./billing-IPALEAG2.js"),
|
|
31
40
|
"./docs/blueprint-manifest.json": () => import("./blueprint-manifest-DBEY5PPI.js"),
|
|
32
41
|
"./docs/calendar.json": () => import("./calendar-ACFIHQ2N.js"),
|
|
33
|
-
"./docs/configuration-hub.json": () => import("./configuration-hub-
|
|
42
|
+
"./docs/configuration-hub.json": () => import("./configuration-hub-E7S4JB2T.js"),
|
|
34
43
|
"./docs/consent.json": () => import("./consent-NNYHF2N4.js"),
|
|
35
|
-
"./docs/customer-portal.json": () => import("./customer-portal-
|
|
44
|
+
"./docs/customer-portal.json": () => import("./customer-portal-DR6XFCTQ.js"),
|
|
36
45
|
"./docs/dashboard.json": () => import("./dashboard-UTPGXFW5.js"),
|
|
37
|
-
"./docs/data-governance.json": () => import("./data-governance-
|
|
46
|
+
"./docs/data-governance.json": () => import("./data-governance-YS2NA6W4.js"),
|
|
38
47
|
"./docs/deduplication.json": () => import("./deduplication-G2ZY4NMX.js"),
|
|
39
|
-
"./docs/design.json": () => import("./design-
|
|
48
|
+
"./docs/design.json": () => import("./design-EWZQZ5KX.js"),
|
|
40
49
|
"./docs/document.json": () => import("./document-CY2A2OE7.js"),
|
|
41
|
-
"./docs/email-settings.json": () => import("./email-settings-
|
|
50
|
+
"./docs/email-settings.json": () => import("./email-settings-YUK3DXFJ.js"),
|
|
42
51
|
"./docs/email-template.json": () => import("./email-template-WYROV3UG.js"),
|
|
43
52
|
"./docs/entity-mapping.json": () => import("./entity-mapping-7J3IAGKQ.js"),
|
|
44
53
|
"./docs/entity.json": () => import("./entity-Z4YWKDVG.js"),
|
|
45
54
|
"./docs/environments.json": () => import("./environments-PXJOTQVM.js"),
|
|
46
55
|
"./docs/erp-integration.json": () => import("./erp-integration-SBQJ6HEG.js"),
|
|
47
56
|
"./docs/event-catalog.json": () => import("./event-catalog-37B6JC7G.js"),
|
|
48
|
-
"./docs/file.json": () => import("./file-
|
|
57
|
+
"./docs/file.json": () => import("./file-P2FUUER2.js"),
|
|
58
|
+
"./docs/focus-pocus.json": () => import("./focus-pocus-XVDVUYL6.js"),
|
|
49
59
|
"./docs/iban.json": () => import("./iban-LDKYDVQV.js"),
|
|
50
60
|
"./docs/integration-toolkit.json": () => import("./integration-toolkit-XAFQXNQY.js"),
|
|
51
|
-
"./docs/journey.json": () => import("./journey-
|
|
61
|
+
"./docs/journey.json": () => import("./journey-4DIIPRU4.js"),
|
|
52
62
|
"./docs/kanban.json": () => import("./kanban-F22JXYCG.js"),
|
|
53
63
|
"./docs/message.json": () => import("./message-6IFCB7GH.js"),
|
|
54
64
|
"./docs/metering.json": () => import("./metering-3IUSYAGN.js"),
|
|
@@ -58,14 +68,14 @@ var globImport_docs = __glob({
|
|
|
58
68
|
"./docs/partner-directory.json": () => import("./partner-directory-THI7JEXK.js"),
|
|
59
69
|
"./docs/permissions.json": () => import("./permissions-X3SJVSPC.js"),
|
|
60
70
|
"./docs/pricing-tier.json": () => import("./pricing-tier-VUOFK5Q7.js"),
|
|
61
|
-
"./docs/pricing.json": () => import("./pricing-
|
|
71
|
+
"./docs/pricing.json": () => import("./pricing-X27CCRI6.js"),
|
|
62
72
|
"./docs/purpose.json": () => import("./purpose-RBRV3AQZ.js"),
|
|
63
73
|
"./docs/query.json": () => import("./query-RJ4M25PA.js"),
|
|
64
74
|
"./docs/sandbox.json": () => import("./sandbox-L2SOOGGR.js"),
|
|
65
75
|
"./docs/sharing.json": () => import("./sharing-MNDABPL7.js"),
|
|
66
76
|
"./docs/submission.json": () => import("./submission-7BISSPO6.js"),
|
|
67
77
|
"./docs/target.json": () => import("./target-5MKRXCHX.js"),
|
|
68
|
-
"./docs/targeting.json": () => import("./targeting-
|
|
78
|
+
"./docs/targeting.json": () => import("./targeting-W5EKJYR2.js"),
|
|
69
79
|
"./docs/template-variables.json": () => import("./template-variables-6CLOG67C.js"),
|
|
70
80
|
"./docs/user.json": () => import("./user-ZK7BK6VY.js"),
|
|
71
81
|
"./docs/validation-rules.json": () => import("./validation-rules-P6F5P73P.js"),
|
|
@@ -109,10 +119,10 @@ var globImport_definitions_json = __glob({
|
|
|
109
119
|
"./definitions/blueprint-manifest-runtime.json": () => import("./blueprint-manifest-runtime-5UN52LW5.js"),
|
|
110
120
|
"./definitions/blueprint-manifest.json": () => import("./blueprint-manifest-UGGYWGRZ.js"),
|
|
111
121
|
"./definitions/calendar-runtime.json": () => import("./calendar-runtime-6CMMEQMG.js"),
|
|
112
|
-
"./definitions/configuration-hub-runtime.json": () => import("./configuration-hub-runtime-
|
|
122
|
+
"./definitions/configuration-hub-runtime.json": () => import("./configuration-hub-runtime-CXME7TCX.js"),
|
|
113
123
|
"./definitions/consent-runtime.json": () => import("./consent-runtime-OAPXBJH2.js"),
|
|
114
124
|
"./definitions/consent.json": () => import("./consent-7MNRAINV.js"),
|
|
115
|
-
"./definitions/customer-portal-runtime.json": () => import("./customer-portal-runtime-
|
|
125
|
+
"./definitions/customer-portal-runtime.json": () => import("./customer-portal-runtime-ZYU3WIXY.js"),
|
|
116
126
|
"./definitions/customer-portal.json": () => import("./customer-portal-L5DEQEGC.js"),
|
|
117
127
|
"./definitions/dashboard-runtime.json": () => import("./dashboard-runtime-PSKSGLCF.js"),
|
|
118
128
|
"./definitions/dashboard.json": () => import("./dashboard-UDL26RGG.js"),
|
|
@@ -120,11 +130,11 @@ var globImport_definitions_json = __glob({
|
|
|
120
130
|
"./definitions/data-governance.json": () => import("./data-governance-PLS5TJ7Z.js"),
|
|
121
131
|
"./definitions/deduplication-runtime.json": () => import("./deduplication-runtime-VL4R2VIG.js"),
|
|
122
132
|
"./definitions/deduplication.json": () => import("./deduplication-RKLRTNZU.js"),
|
|
123
|
-
"./definitions/design-runtime.json": () => import("./design-runtime-
|
|
133
|
+
"./definitions/design-runtime.json": () => import("./design-runtime-DLMA4EHQ.js"),
|
|
124
134
|
"./definitions/design.json": () => import("./design-VLRA2WGV.js"),
|
|
125
135
|
"./definitions/document-runtime.json": () => import("./document-runtime-GFEBGNMS.js"),
|
|
126
136
|
"./definitions/document.json": () => import("./document-SEZ45XAO.js"),
|
|
127
|
-
"./definitions/email-settings-runtime.json": () => import("./email-settings-runtime-
|
|
137
|
+
"./definitions/email-settings-runtime.json": () => import("./email-settings-runtime-BXRZV4M5.js"),
|
|
128
138
|
"./definitions/email-settings.json": () => import("./email-settings-QGCIUWLC.js"),
|
|
129
139
|
"./definitions/email-template-runtime.json": () => import("./email-template-runtime-QBB64BJQ.js"),
|
|
130
140
|
"./definitions/email-template.json": () => import("./email-template-346NDG4D.js"),
|
|
@@ -138,12 +148,13 @@ var globImport_definitions_json = __glob({
|
|
|
138
148
|
"./definitions/erp-integration.json": () => import("./erp-integration-735KQ73W.js"),
|
|
139
149
|
"./definitions/event-catalog-runtime.json": () => import("./event-catalog-runtime-N262TQ3Y.js"),
|
|
140
150
|
"./definitions/event-catalog.json": () => import("./event-catalog-ZUFXLY7B.js"),
|
|
141
|
-
"./definitions/file-runtime.json": () => import("./file-runtime-
|
|
151
|
+
"./definitions/file-runtime.json": () => import("./file-runtime-BIRMXYRH.js"),
|
|
142
152
|
"./definitions/file.json": () => import("./file-EJJBQEQI.js"),
|
|
153
|
+
"./definitions/focus-pocus-runtime.json": () => import("./focus-pocus-runtime-QXBBYVX7.js"),
|
|
143
154
|
"./definitions/iban-runtime.json": () => import("./iban-runtime-EVXLFPPP.js"),
|
|
144
155
|
"./definitions/iban.json": () => import("./iban-HXFDAF4I.js"),
|
|
145
156
|
"./definitions/integration-toolkit-runtime.json": () => import("./integration-toolkit-runtime-YR4CIMKH.js"),
|
|
146
|
-
"./definitions/journey-runtime.json": () => import("./journey-runtime-
|
|
157
|
+
"./definitions/journey-runtime.json": () => import("./journey-runtime-RI2LJO5S.js"),
|
|
147
158
|
"./definitions/journey.json": () => import("./journey-KW3ZFQAL.js"),
|
|
148
159
|
"./definitions/kanban-runtime.json": () => import("./kanban-runtime-R6EWHBFS.js"),
|
|
149
160
|
"./definitions/kanban.json": () => import("./kanban-QXQEQIF4.js"),
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
"use strict";Object.defineProperty(exports, "__esModule", {value: true});
|
|
2
|
+
|
|
3
|
+
var _chunkNJK5F5TFcjs = require('./chunk-NJK5F5TF.cjs');
|
|
4
|
+
|
|
5
|
+
// src/definitions/focus-pocus-runtime.json
|
|
6
|
+
var require_focus_pocus_runtime = _chunkNJK5F5TFcjs.__commonJS.call(void 0, {
|
|
7
|
+
"src/definitions/focus-pocus-runtime.json"(exports, module) {
|
|
8
|
+
module.exports = { s: "https://focus-pocus.dev.sls.epilot.io", o: [["getHealth", "get", "/v1/health"], ["listAchievements", "get", "/v1/achievements"], ["getAchievement", "get", "/v1/achievements/{id}", [["AchievementOrChallengeId"]]], ["getSuggestedChallenge", "get", "/v1/challenges/suggest", [["route", "q"], ["entity_type", "q"], ["category_hint", "q"]]], ["acceptChallenge", "post", "/v1/challenges/{id}/accept", [["ChallengeId"]]], ["dismissChallenge", "post", "/v1/challenges/{id}/dismiss", [["ChallengeId"]]], ["listActiveChallenges", "get", "/v1/challenges/active"], ["postEvent", "post", "/v1/events", null, 1]], v: "3.0.3", cp: { AchievementId: ["id", "p", true], AchievementOrChallengeId: ["id", "p", true], ChallengeId: ["id", "p", true], Cursor: ["cursor", "q"], Size: ["size", "q"] } };
|
|
9
|
+
}
|
|
10
|
+
});
|
|
11
|
+
|
|
12
|
+
|
|
13
|
+
|
|
14
|
+
exports.require_focus_pocus_runtime = require_focus_pocus_runtime;
|