@epilot/sdk 2.19.14 → 2.20.1
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/definitions/app-runtime.json +1 -1
- package/definitions/app.json +251 -4
- package/definitions/validation-rules.json +104 -5
- 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 +8 -8
- package/dist/apis/app.d.cts +2 -2
- package/dist/apis/app.d.ts +2 -2
- package/dist/apis/app.js +2 -2
- 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 +6 -6
- package/dist/apis/configuration-hub.js +1 -1
- package/dist/apis/consent.cjs +6 -6
- package/dist/apis/consent.js +1 -1
- package/dist/apis/customer-portal.cjs +6 -6
- package/dist/apis/customer-portal.js +1 -1
- 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 +6 -6
- package/dist/apis/design.js +1 -1
- package/dist/apis/document.cjs +6 -6
- package/dist/apis/document.js +1 -1
- package/dist/apis/email-settings.cjs +6 -6
- package/dist/apis/email-settings.js +1 -1
- 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 +6 -6
- package/dist/apis/file.js +1 -1
- 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 +6 -6
- package/dist/apis/journey.js +1 -1
- 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/snapshot.cjs +6 -6
- package/dist/apis/snapshot.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.d.cts +2 -2
- package/dist/apis/validation-rules.d.ts +2 -2
- 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-E75NP2YE.js +7 -0
- package/dist/app-EI2PFRBV.cjs +7 -0
- package/dist/{app-runtime-T63JMR4T.js → app-runtime-ISNZMZHF.js} +1 -1
- package/dist/app-runtime-VC7HGAX3.cjs +5 -0
- package/dist/{app.d-BiknhSJo.d.cts → app.d-BHpFAvPW.d.cts} +197 -17
- package/dist/{app.d-BiknhSJo.d.ts → app.d-BHpFAvPW.d.ts} +197 -17
- package/dist/{chunk-E4NQOOA3.cjs → chunk-L7RZB4SO.cjs} +3 -3
- package/dist/{chunk-G5HHIB4D.js → chunk-LWW6JFX2.js} +3 -3
- package/dist/{chunk-HPSTDQ62.cjs → chunk-N2P6RELZ.cjs} +1 -1
- package/dist/{chunk-4MILKZOO.js → chunk-QHWCHWQT.js} +1 -1
- package/dist/index.cjs +10 -10
- package/dist/index.d.cts +2 -2
- package/dist/index.d.ts +2 -2
- package/dist/index.js +2 -2
- package/dist/validation-rules-ETOO45CW.js +7 -0
- package/dist/validation-rules-MZZ7YMJM.cjs +7 -0
- package/dist/{validation-rules.d-CvGvBnMX.d.cts → validation-rules.d-D8X9MYTc.d.cts} +171 -20
- package/dist/{validation-rules.d-CvGvBnMX.d.ts → validation-rules.d-D8X9MYTc.d.ts} +171 -20
- package/docs/app.md +188 -12
- package/docs/validation-rules.md +277 -20
- package/package.json +1 -1
- package/dist/app-SJ7ITIY6.cjs +0 -7
- package/dist/app-WUPPTHZA.js +0 -7
- package/dist/app-runtime-2MEGUF3G.cjs +0 -5
- package/dist/validation-rules-B2KQKMLO.js +0 -7
- package/dist/validation-rules-GR2IVLGJ.cjs +0 -7
|
@@ -5,6 +5,12 @@ import { OpenAPIClient, Parameters, AxiosRequestConfig, OperationResponse, Unkno
|
|
|
5
5
|
|
|
6
6
|
declare namespace Components {
|
|
7
7
|
namespace RequestBodies {
|
|
8
|
+
export interface CloneVersionRequest {
|
|
9
|
+
/**
|
|
10
|
+
* Short description of what the new version will change
|
|
11
|
+
*/
|
|
12
|
+
changelog?: string;
|
|
13
|
+
}
|
|
8
14
|
export interface CreateBundlePresignedRequest {
|
|
9
15
|
/**
|
|
10
16
|
* Version of the app
|
|
@@ -116,7 +122,11 @@ declare namespace Components {
|
|
|
116
122
|
* sensitive and must not declare `sensitive: false`.
|
|
117
123
|
*
|
|
118
124
|
*/
|
|
119
|
-
options?: /*
|
|
125
|
+
options?: /* An option declaration — a setting the installing org fills in. Declared at app level. */ Schemas.Options[];
|
|
126
|
+
/**
|
|
127
|
+
* Short description of what changed in this version
|
|
128
|
+
*/
|
|
129
|
+
changelog?: string;
|
|
120
130
|
}
|
|
121
131
|
export type UpsertComponentRequest = Schemas.BaseComponent;
|
|
122
132
|
}
|
|
@@ -288,7 +298,7 @@ declare namespace Components {
|
|
|
288
298
|
/**
|
|
289
299
|
* List of options for the app component
|
|
290
300
|
*/
|
|
291
|
-
options?: /*
|
|
301
|
+
options?: /* An option declaration — a setting the installing org fills in. Declared at app level. */ Options[];
|
|
292
302
|
/**
|
|
293
303
|
* Keys of app-level options this component uses. Narrows which options are
|
|
294
304
|
* folded back into `options` for legacy consumers (e.g. which values a journey
|
|
@@ -301,7 +311,11 @@ declare namespace Components {
|
|
|
301
311
|
surfaces?: {
|
|
302
312
|
[key: string]: any;
|
|
303
313
|
};
|
|
304
|
-
} & (JourneyBlockComponent | PortalBlockComponent | PortalExtensionComponent | CustomFlowActionComponent | ErpInformToolkitComponent | CustomCapabilityComponent | ExternalProductCatalogComponent | CustomPageComponent | ApiProxyComponent
|
|
314
|
+
} & (JourneyBlockComponent | PortalBlockComponent | PortalExtensionComponent | CustomFlowActionComponent | ErpInformToolkitComponent | CustomCapabilityComponent | ExternalProductCatalogComponent | CustomPageComponent | ApiProxyComponent | /**
|
|
315
|
+
* Exposes typed values resolved from an external system at runtime (e.g. a meter reading prediction). Consumers such as validation rules reference a hook and one of its results by id. Resolution is performed by the external-values-api on behalf of authenticated epilot 360 users and portal end customers.
|
|
316
|
+
*
|
|
317
|
+
*/
|
|
318
|
+
ExternalValuesComponent);
|
|
305
319
|
export interface BaseComponentCommon {
|
|
306
320
|
/**
|
|
307
321
|
* Unique identifier for the component
|
|
@@ -336,7 +350,7 @@ declare namespace Components {
|
|
|
336
350
|
/**
|
|
337
351
|
* List of options for the app component
|
|
338
352
|
*/
|
|
339
|
-
options?: /*
|
|
353
|
+
options?: /* An option declaration — a setting the installing org fills in. Declared at app level. */ Options[];
|
|
340
354
|
/**
|
|
341
355
|
* Keys of app-level options this component uses. Narrows which options are
|
|
342
356
|
* folded back into `options` for legacy consumers (e.g. which values a journey
|
|
@@ -534,7 +548,7 @@ declare namespace Components {
|
|
|
534
548
|
/**
|
|
535
549
|
* Type of app component
|
|
536
550
|
*/
|
|
537
|
-
export type ComponentType = "CUSTOM_JOURNEY_BLOCK" | "CUSTOM_PORTAL_BLOCK" | "PORTAL_EXTENSION" | "CUSTOM_FLOW_ACTION" | "ERP_INFORM_TOOLKIT" | "CUSTOM_CAPABILITY" | "EXTERNAL_PRODUCT_CATALOG" | "CUSTOM_PAGE" | "API_PROXY" | "APP_FUNCTION";
|
|
551
|
+
export type ComponentType = "CUSTOM_JOURNEY_BLOCK" | "CUSTOM_PORTAL_BLOCK" | "PORTAL_EXTENSION" | "CUSTOM_FLOW_ACTION" | "ERP_INFORM_TOOLKIT" | "CUSTOM_CAPABILITY" | "EXTERNAL_PRODUCT_CATALOG" | "CUSTOM_PAGE" | "API_PROXY" | "EXTERNAL_VALUES" | "APP_FUNCTION";
|
|
538
552
|
/**
|
|
539
553
|
* Configuration of the published app
|
|
540
554
|
*/
|
|
@@ -653,7 +667,7 @@ declare namespace Components {
|
|
|
653
667
|
/**
|
|
654
668
|
* App-level option declarations (with sensitivity) of this version
|
|
655
669
|
*/
|
|
656
|
-
options?: /*
|
|
670
|
+
options?: /* An option declaration — a setting the installing org fills in. Declared at app level. */ Options[];
|
|
657
671
|
/**
|
|
658
672
|
* Visibility of the app version
|
|
659
673
|
*/
|
|
@@ -843,7 +857,7 @@ declare namespace Components {
|
|
|
843
857
|
/**
|
|
844
858
|
* App-level option declarations (with sensitivity) of this version
|
|
845
859
|
*/
|
|
846
|
-
options?: /*
|
|
860
|
+
options?: /* An option declaration — a setting the installing org fills in. Declared at app level. */ Options[];
|
|
847
861
|
/**
|
|
848
862
|
* Visibility of the app version
|
|
849
863
|
*/
|
|
@@ -1251,6 +1265,167 @@ declare namespace Components {
|
|
|
1251
1265
|
};
|
|
1252
1266
|
};
|
|
1253
1267
|
}
|
|
1268
|
+
/**
|
|
1269
|
+
* Exposes typed values resolved from an external system at runtime (e.g. a meter reading prediction). Consumers such as validation rules reference a hook and one of its results by id. Resolution is performed by the external-values-api on behalf of authenticated epilot 360 users and portal end customers.
|
|
1270
|
+
*
|
|
1271
|
+
*/
|
|
1272
|
+
export interface ExternalValuesComponent {
|
|
1273
|
+
component_type: "EXTERNAL_VALUES";
|
|
1274
|
+
configuration: /* Configuration for an EXTERNAL_VALUES component */ ExternalValuesConfig;
|
|
1275
|
+
}
|
|
1276
|
+
/**
|
|
1277
|
+
* Configuration for an EXTERNAL_VALUES component
|
|
1278
|
+
*/
|
|
1279
|
+
export interface ExternalValuesConfig {
|
|
1280
|
+
/**
|
|
1281
|
+
* Hooks exposed by this component. Hook ids must be unique within the component.
|
|
1282
|
+
*/
|
|
1283
|
+
hooks: /**
|
|
1284
|
+
* One external call that returns one or more typed results. Interpolated templates (Liquid) have access to `Input`, `Context`, `Consumer`, `Options`, `Env` and — for `result` templates — `Response` and `AuthResponse`.
|
|
1285
|
+
*
|
|
1286
|
+
*/
|
|
1287
|
+
ExternalValuesHook[];
|
|
1288
|
+
}
|
|
1289
|
+
/**
|
|
1290
|
+
* One external call that returns one or more typed results. Interpolated templates (Liquid) have access to `Input`, `Context`, `Consumer`, `Options`, `Env` and — for `result` templates — `Response` and `AuthResponse`.
|
|
1291
|
+
*
|
|
1292
|
+
*/
|
|
1293
|
+
export interface ExternalValuesHook {
|
|
1294
|
+
/**
|
|
1295
|
+
* Stable identifier; consumers (e.g. validation rules) reference it. Renaming breaks references.
|
|
1296
|
+
*/
|
|
1297
|
+
id: string; // ^[a-zA-Z0-9_-]{1,100}$
|
|
1298
|
+
name: TranslatedString;
|
|
1299
|
+
description?: TranslatedString;
|
|
1300
|
+
/**
|
|
1301
|
+
* Static request authentication applied to the call.
|
|
1302
|
+
* - `none`: no static authentication.
|
|
1303
|
+
* - `header`: sends `auth_secret` in header `auth_header` (default `X-API-Key`).
|
|
1304
|
+
* - `bearer`: sends `Authorization: Bearer <auth_secret>`.
|
|
1305
|
+
* - `hmac`: signs the request per Standard Webhooks (headers `webhook-id`,
|
|
1306
|
+
* `webhook-timestamp`, `webhook-signature` = `v1,<base64 HMAC-SHA256>` over
|
|
1307
|
+
* `<id>.<timestamp>.<body>`) using `auth_secret` as a `whsec_`-prefixed
|
|
1308
|
+
* base64 secret, exactly as epilot webhooks do.
|
|
1309
|
+
*
|
|
1310
|
+
* `auth_secret` is required when `auth_type` is `header`, `bearer` or `hmac`.
|
|
1311
|
+
* Combine with `auth` (a pre-call that fetches a token) when the target needs both.
|
|
1312
|
+
*
|
|
1313
|
+
*/
|
|
1314
|
+
auth_type?: "none" | "header" | "bearer" | "hmac";
|
|
1315
|
+
/**
|
|
1316
|
+
* Header name used when `auth_type` is `header`. Defaults to `X-API-Key`.
|
|
1317
|
+
*/
|
|
1318
|
+
auth_header?: string;
|
|
1319
|
+
/**
|
|
1320
|
+
* Liquid template resolving to the secret, e.g. "{{Options.api_key}}". Must reference an option declared with `type: secret`; literals are rejected. Required when `auth_type` is `header`, `bearer` or `hmac`.
|
|
1321
|
+
* example:
|
|
1322
|
+
* {{Options.api_key}}
|
|
1323
|
+
*/
|
|
1324
|
+
auth_secret?: string;
|
|
1325
|
+
auth?: PortalExtensionAuthBlock;
|
|
1326
|
+
call: {
|
|
1327
|
+
/**
|
|
1328
|
+
* HTTP method to use for the call
|
|
1329
|
+
*/
|
|
1330
|
+
method?: "GET" | "POST" | "PUT" | "PATCH";
|
|
1331
|
+
/**
|
|
1332
|
+
* URL to call. Supports variable interpolation.
|
|
1333
|
+
*/
|
|
1334
|
+
url: string;
|
|
1335
|
+
/**
|
|
1336
|
+
* Headers to send with the call. Supports variable interpolation.
|
|
1337
|
+
*/
|
|
1338
|
+
headers?: {
|
|
1339
|
+
[name: string]: string;
|
|
1340
|
+
};
|
|
1341
|
+
/**
|
|
1342
|
+
* Query parameters to append to the URL. Supports variable interpolation.
|
|
1343
|
+
*/
|
|
1344
|
+
params?: {
|
|
1345
|
+
[name: string]: string;
|
|
1346
|
+
};
|
|
1347
|
+
/**
|
|
1348
|
+
* JSON body to send. Values support variable interpolation. When omitted, `{ Input, Context, Consumer }` is sent as-is.
|
|
1349
|
+
*/
|
|
1350
|
+
body?: {
|
|
1351
|
+
[name: string]: any;
|
|
1352
|
+
};
|
|
1353
|
+
};
|
|
1354
|
+
/**
|
|
1355
|
+
* Typed results extracted from the response. Result ids must be unique within the hook.
|
|
1356
|
+
*/
|
|
1357
|
+
result: [
|
|
1358
|
+
/**
|
|
1359
|
+
* A single typed value extracted from the hook response. Exactly one of `template`, `path` or `jsonata` must be set.
|
|
1360
|
+
*
|
|
1361
|
+
*/
|
|
1362
|
+
ExternalValuesResult,
|
|
1363
|
+
.../**
|
|
1364
|
+
* A single typed value extracted from the hook response. Exactly one of `template`, `path` or `jsonata` must be set.
|
|
1365
|
+
*
|
|
1366
|
+
*/
|
|
1367
|
+
ExternalValuesResult[]
|
|
1368
|
+
];
|
|
1369
|
+
/**
|
|
1370
|
+
* Timeout for the external call in milliseconds.
|
|
1371
|
+
*/
|
|
1372
|
+
timeout_ms?: number;
|
|
1373
|
+
/**
|
|
1374
|
+
* 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.
|
|
1375
|
+
*/
|
|
1376
|
+
on_unavailable?: "skip" | "block";
|
|
1377
|
+
/**
|
|
1378
|
+
* Response caching. Off when omitted.
|
|
1379
|
+
*/
|
|
1380
|
+
cache?: {
|
|
1381
|
+
/**
|
|
1382
|
+
* Time to live in seconds. 0 disables caching.
|
|
1383
|
+
*/
|
|
1384
|
+
ttl_seconds: number;
|
|
1385
|
+
/**
|
|
1386
|
+
* Liquid template for the cache key. Defaults to a hash of org, app, hook, `Input` and `Context`.
|
|
1387
|
+
*/
|
|
1388
|
+
key?: string;
|
|
1389
|
+
};
|
|
1390
|
+
/**
|
|
1391
|
+
* If set, requests are sent from epilot's static egress IPs. Mutually exclusive with secure_proxy.
|
|
1392
|
+
*/
|
|
1393
|
+
use_static_ips?: boolean;
|
|
1394
|
+
secure_proxy?: /* If set, requests are routed through the ERP Integration secure proxy. Mutually exclusive with use_static_ips. */ PortalExtensionSecureProxy;
|
|
1395
|
+
}
|
|
1396
|
+
/**
|
|
1397
|
+
* A single typed value extracted from the hook response. Exactly one of `template`, `path` or `jsonata` must be set.
|
|
1398
|
+
*
|
|
1399
|
+
*/
|
|
1400
|
+
export interface ExternalValuesResult {
|
|
1401
|
+
/**
|
|
1402
|
+
* Stable identifier of the result within the hook. Renaming breaks references.
|
|
1403
|
+
*/
|
|
1404
|
+
id: string; // ^[a-zA-Z0-9_-]{1,100}$
|
|
1405
|
+
/**
|
|
1406
|
+
* Type the extracted value is coerced to.
|
|
1407
|
+
*/
|
|
1408
|
+
type: "number" | "text" | "date" | "boolean";
|
|
1409
|
+
name: TranslatedString;
|
|
1410
|
+
/**
|
|
1411
|
+
* Liquid template over `Response` etc.; output coerced to `type`.
|
|
1412
|
+
* example:
|
|
1413
|
+
* {{Response.value}}
|
|
1414
|
+
*/
|
|
1415
|
+
template?: string;
|
|
1416
|
+
/**
|
|
1417
|
+
* Dot path into the response body, e.g. "data.limit".
|
|
1418
|
+
* example:
|
|
1419
|
+
* data.limit
|
|
1420
|
+
*/
|
|
1421
|
+
path?: string;
|
|
1422
|
+
/**
|
|
1423
|
+
* JSONata expression over `{ Response, Input, Context, Options, Env }`.
|
|
1424
|
+
* example:
|
|
1425
|
+
* $sum(Response.items.amount)
|
|
1426
|
+
*/
|
|
1427
|
+
jsonata?: string;
|
|
1428
|
+
}
|
|
1254
1429
|
/**
|
|
1255
1430
|
* A named server-side function belonging to the app. Runs in the epilot code-execution sandbox with an installation-scoped app token. Functions with a schedule are executed automatically once per installation.
|
|
1256
1431
|
*
|
|
@@ -1402,7 +1577,7 @@ declare namespace Components {
|
|
|
1402
1577
|
* `configured` and `value_updated_at` instead.
|
|
1403
1578
|
*
|
|
1404
1579
|
*/
|
|
1405
|
-
options?: /*
|
|
1580
|
+
options?: /* An option declaration — a setting the installing org fills in. Declared at app level. */ Options[];
|
|
1406
1581
|
/**
|
|
1407
1582
|
* Version of the app that is installed
|
|
1408
1583
|
*/
|
|
@@ -1615,7 +1790,7 @@ declare namespace Components {
|
|
|
1615
1790
|
value: any;
|
|
1616
1791
|
}
|
|
1617
1792
|
/**
|
|
1618
|
-
*
|
|
1793
|
+
* An option declaration — a setting the installing org fills in. Declared at app level.
|
|
1619
1794
|
*/
|
|
1620
1795
|
export interface Options {
|
|
1621
1796
|
/**
|
|
@@ -1674,7 +1849,7 @@ declare namespace Components {
|
|
|
1674
1849
|
* Write-only, server-side only value — like a sensitive environment variable
|
|
1675
1850
|
* (app-level options only). Sensitive values are never serialized in any response;
|
|
1676
1851
|
* they are resolvable only via server-side channels (API proxy injection, function
|
|
1677
|
-
*
|
|
1852
|
+
* runs, the internal options/resolve endpoint). Non-sensitive values
|
|
1678
1853
|
* are readable wherever the app runs, including the end-customer browser (journey and
|
|
1679
1854
|
* portal runtime). Forced to true for `secret`-touching options. Default: false.
|
|
1680
1855
|
*
|
|
@@ -1852,7 +2027,7 @@ declare namespace Components {
|
|
|
1852
2027
|
* { "id": "ht", "label": { "en": "High tariff" }, "aggregation_group": "consumption", "statistical_method": "sum", "unit": "kWh", "color": "primary", "precision": 2 },
|
|
1853
2028
|
* ...
|
|
1854
2029
|
* ],
|
|
1855
|
-
* "intervals": ["PT15M", "PT1H", "P1D", "P1M"],
|
|
2030
|
+
* "intervals": ["PT15M", "PT1H", "P1D", "P1M", "P1Y"],
|
|
1856
2031
|
* "data_range": { "from": "2024-01-01T00:00:00Z", "to": "2026-05-01T00:00:00Z" }
|
|
1857
2032
|
* }
|
|
1858
2033
|
* 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.
|
|
@@ -2729,7 +2904,7 @@ declare namespace Components {
|
|
|
2729
2904
|
* { "id": "ht", "label": { "en": "High tariff" }, "aggregation_group": "consumption", "statistical_method": "sum", "unit": "kWh", "color": "primary", "precision": 2 },
|
|
2730
2905
|
* ...
|
|
2731
2906
|
* ],
|
|
2732
|
-
* "intervals": ["PT15M", "PT1H", "P1D", "P1M"],
|
|
2907
|
+
* "intervals": ["PT15M", "PT1H", "P1D", "P1M", "P1Y"],
|
|
2733
2908
|
* "data_range": { "from": "2024-01-01T00:00:00Z", "to": "2026-05-01T00:00:00Z" }
|
|
2734
2909
|
* }
|
|
2735
2910
|
* 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.
|
|
@@ -2917,7 +3092,7 @@ declare namespace Components {
|
|
|
2917
3092
|
/**
|
|
2918
3093
|
* App-level option declarations (with sensitivity) of this version
|
|
2919
3094
|
*/
|
|
2920
|
-
options?: /*
|
|
3095
|
+
options?: /* An option declaration — a setting the installing org fills in. Declared at app level. */ Options[];
|
|
2921
3096
|
/**
|
|
2922
3097
|
* Flag to indicate if the app is in beta.
|
|
2923
3098
|
*/
|
|
@@ -3027,6 +3202,7 @@ declare namespace Paths {
|
|
|
3027
3202
|
sourceVersion: Parameters.SourceVersion;
|
|
3028
3203
|
targetVersion: Parameters.TargetVersion;
|
|
3029
3204
|
}
|
|
3205
|
+
export type RequestBody = Components.RequestBodies.CloneVersionRequest;
|
|
3030
3206
|
namespace Responses {
|
|
3031
3207
|
export interface $201 {
|
|
3032
3208
|
app_id?: string;
|
|
@@ -3610,7 +3786,7 @@ declare namespace Paths {
|
|
|
3610
3786
|
}
|
|
3611
3787
|
namespace Responses {
|
|
3612
3788
|
export interface $200 {
|
|
3613
|
-
options?: /*
|
|
3789
|
+
options?: /* An option declaration — a setting the installing org fills in. Declared at app level. */ Components.Schemas.Options[];
|
|
3614
3790
|
}
|
|
3615
3791
|
export interface $403 {
|
|
3616
3792
|
}
|
|
@@ -3916,7 +4092,7 @@ interface OperationMethods {
|
|
|
3916
4092
|
*/
|
|
3917
4093
|
'cloneVersion'(
|
|
3918
4094
|
parameters?: Parameters<Paths.CloneVersion.PathParameters> | null,
|
|
3919
|
-
data?:
|
|
4095
|
+
data?: Paths.CloneVersion.RequestBody,
|
|
3920
4096
|
config?: AxiosRequestConfig
|
|
3921
4097
|
): OperationResponse<Paths.CloneVersion.Responses.$201>
|
|
3922
4098
|
/**
|
|
@@ -4309,7 +4485,7 @@ interface PathsDictionary {
|
|
|
4309
4485
|
*/
|
|
4310
4486
|
'post'(
|
|
4311
4487
|
parameters?: Parameters<Paths.CloneVersion.PathParameters> | null,
|
|
4312
|
-
data?:
|
|
4488
|
+
data?: Paths.CloneVersion.RequestBody,
|
|
4313
4489
|
config?: AxiosRequestConfig
|
|
4314
4490
|
): OperationResponse<Paths.CloneVersion.Responses.$201>
|
|
4315
4491
|
}
|
|
@@ -4496,6 +4672,10 @@ type ExternalProductCatalogComponent = Components.Schemas.ExternalProductCatalog
|
|
|
4496
4672
|
type ExternalProductCatalogConfig = Components.Schemas.ExternalProductCatalogConfig;
|
|
4497
4673
|
type ExternalProductCatalogHookProductRecommendations = Components.Schemas.ExternalProductCatalogHookProductRecommendations;
|
|
4498
4674
|
type ExternalProductCatalogHookProducts = Components.Schemas.ExternalProductCatalogHookProducts;
|
|
4675
|
+
type ExternalValuesComponent = Components.Schemas.ExternalValuesComponent;
|
|
4676
|
+
type ExternalValuesConfig = Components.Schemas.ExternalValuesConfig;
|
|
4677
|
+
type ExternalValuesHook = Components.Schemas.ExternalValuesHook;
|
|
4678
|
+
type ExternalValuesResult = Components.Schemas.ExternalValuesResult;
|
|
4499
4679
|
type FunctionDefinition = Components.Schemas.FunctionDefinition;
|
|
4500
4680
|
type FunctionRefCustomActionConfig = Components.Schemas.FunctionRefCustomActionConfig;
|
|
4501
4681
|
type Grants = Components.Schemas.Grants;
|
|
@@ -4539,4 +4719,4 @@ type S3Reference = Components.Schemas.S3Reference;
|
|
|
4539
4719
|
type TextArg = Components.Schemas.TextArg;
|
|
4540
4720
|
type TranslatedString = Components.Schemas.TranslatedString;
|
|
4541
4721
|
|
|
4542
|
-
export { type
|
|
4722
|
+
export { type NotificationConfig as $, type Actor as A, type BaseComponent as B, type Client as C, type ErpInformToolkitComponent as D, type EnumArg as E, type EventsQuery as F, type EventsQueryResponse as G, type ExternalIntegrationCustomActionConfig as H, type ExternalProductCatalogAuthBlock as I, type ExternalProductCatalogComponent as J, type ExternalProductCatalogConfig as K, type ExternalProductCatalogHookProductRecommendations as L, type ExternalProductCatalogHookProducts as M, type ExternalValuesComponent as N, type OperationMethods as O, Paths as P, type ExternalValuesConfig as Q, type ExternalValuesHook as R, type ExternalValuesResult as S, type FunctionDefinition as T, type FunctionRefCustomActionConfig as U, type Grants as V, type Installation as W, type InternalReview as X, type JourneyBlockComponent as Y, type JourneyBlockComponentArgs as Z, type JourneyBlockConfig as _, Components as a, type NotificationEvent as a0, type ObjectField as a1, type Option as a2, type Options as a3, type OptionsRef as a4, type OverrideDevMode as a5, type PortalBlockComponent as a6, type PortalBlockConfig as a7, type PortalBlockSurfaceConfig as a8, type PortalExtensionAuthBlock as a9, type PortalExtensionComponent as aa, type PortalExtensionConfig as ab, type PortalExtensionHookChangeEmail as ac, type PortalExtensionHookChangePassword as ad, type PortalExtensionHookConsumptionDataRetrieval as ae, type PortalExtensionHookContractIdentification as af, type PortalExtensionHookCostDataRetrieval as ag, type PortalExtensionHookDataExport as ah, type PortalExtensionHookDeleteAccount as ai, type PortalExtensionHookMeterReadingPlausibilityCheck as aj, type PortalExtensionHookPriceDataRetrieval as ak, type PortalExtensionHookRegistrationIdentifiersCheck as al, type PortalExtensionHookVisualizationMetadata as am, type PortalExtensionSeamlessLink as an, type PortalExtensionSecureProxy as ao, type Pricing as ap, type PublicConfiguration as aq, type RawEvents as ar, type Review as as, type Role as at, type S3Reference as au, type TextArg as av, type TranslatedString as aw, type PathsDictionary as b, type AggregatedEvents as c, type ApiProxyComponent as d, type ApiProxyConfig as e, type AppBridgeSurfaceConfig as f, type AppEventData as g, type Audit as h, type Author as i, type BaseComponentCommon as j, type BaseCustomActionConfig as k, type BatchEventRequest as l, type BillingFrequency as m, type BlockReferenceArg as n, type BlueprintRef as o, type BooleanArg as p, type CallerIdentity as q, type ComponentType as r, type Configuration as s, type ConfigurationMetadata as t, type ConfigurationVersion as u, type CustomCapabilityComponent as v, type CustomFlowActionComponent as w, type CustomFlowConfig as x, type CustomPageComponent as y, type CustomPageConfig as z };
|