@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.
Files changed (137) hide show
  1. package/definitions/app-runtime.json +1 -1
  2. package/definitions/app.json +251 -4
  3. package/definitions/validation-rules.json +104 -5
  4. package/dist/apis/access-token.cjs +6 -6
  5. package/dist/apis/access-token.js +1 -1
  6. package/dist/apis/address-suggestions.cjs +6 -6
  7. package/dist/apis/address-suggestions.js +1 -1
  8. package/dist/apis/address.cjs +6 -6
  9. package/dist/apis/address.js +1 -1
  10. package/dist/apis/ai-agents.cjs +6 -6
  11. package/dist/apis/ai-agents.js +1 -1
  12. package/dist/apis/app.cjs +8 -8
  13. package/dist/apis/app.d.cts +2 -2
  14. package/dist/apis/app.d.ts +2 -2
  15. package/dist/apis/app.js +2 -2
  16. package/dist/apis/audit-logs.cjs +6 -6
  17. package/dist/apis/audit-logs.js +1 -1
  18. package/dist/apis/automation.cjs +6 -6
  19. package/dist/apis/automation.js +1 -1
  20. package/dist/apis/billing.cjs +6 -6
  21. package/dist/apis/billing.js +1 -1
  22. package/dist/apis/blueprint-manifest.cjs +6 -6
  23. package/dist/apis/blueprint-manifest.js +1 -1
  24. package/dist/apis/calendar.cjs +6 -6
  25. package/dist/apis/calendar.js +1 -1
  26. package/dist/apis/configuration-hub.cjs +6 -6
  27. package/dist/apis/configuration-hub.js +1 -1
  28. package/dist/apis/consent.cjs +6 -6
  29. package/dist/apis/consent.js +1 -1
  30. package/dist/apis/customer-portal.cjs +6 -6
  31. package/dist/apis/customer-portal.js +1 -1
  32. package/dist/apis/dashboard.cjs +6 -6
  33. package/dist/apis/dashboard.js +1 -1
  34. package/dist/apis/data-governance.cjs +6 -6
  35. package/dist/apis/data-governance.js +1 -1
  36. package/dist/apis/deduplication.cjs +6 -6
  37. package/dist/apis/deduplication.js +1 -1
  38. package/dist/apis/design.cjs +6 -6
  39. package/dist/apis/design.js +1 -1
  40. package/dist/apis/document.cjs +6 -6
  41. package/dist/apis/document.js +1 -1
  42. package/dist/apis/email-settings.cjs +6 -6
  43. package/dist/apis/email-settings.js +1 -1
  44. package/dist/apis/email-template.cjs +6 -6
  45. package/dist/apis/email-template.js +1 -1
  46. package/dist/apis/entity-mapping.cjs +6 -6
  47. package/dist/apis/entity-mapping.js +1 -1
  48. package/dist/apis/entity.cjs +6 -6
  49. package/dist/apis/entity.js +1 -1
  50. package/dist/apis/environments.cjs +6 -6
  51. package/dist/apis/environments.js +1 -1
  52. package/dist/apis/event-catalog.cjs +6 -6
  53. package/dist/apis/event-catalog.js +1 -1
  54. package/dist/apis/file.cjs +6 -6
  55. package/dist/apis/file.js +1 -1
  56. package/dist/apis/iban.cjs +6 -6
  57. package/dist/apis/iban.js +1 -1
  58. package/dist/apis/integration-toolkit.cjs +6 -6
  59. package/dist/apis/integration-toolkit.js +1 -1
  60. package/dist/apis/journey.cjs +6 -6
  61. package/dist/apis/journey.js +1 -1
  62. package/dist/apis/kanban.cjs +6 -6
  63. package/dist/apis/kanban.js +1 -1
  64. package/dist/apis/message.cjs +6 -6
  65. package/dist/apis/message.js +1 -1
  66. package/dist/apis/metering.cjs +6 -6
  67. package/dist/apis/metering.js +1 -1
  68. package/dist/apis/notes.cjs +6 -6
  69. package/dist/apis/notes.js +1 -1
  70. package/dist/apis/notification.cjs +6 -6
  71. package/dist/apis/notification.js +1 -1
  72. package/dist/apis/organization.cjs +6 -6
  73. package/dist/apis/organization.js +1 -1
  74. package/dist/apis/partner-directory.cjs +6 -6
  75. package/dist/apis/partner-directory.js +1 -1
  76. package/dist/apis/permissions.cjs +6 -6
  77. package/dist/apis/permissions.js +1 -1
  78. package/dist/apis/pricing-tier.cjs +6 -6
  79. package/dist/apis/pricing-tier.js +1 -1
  80. package/dist/apis/pricing.cjs +6 -6
  81. package/dist/apis/pricing.js +1 -1
  82. package/dist/apis/purpose.cjs +6 -6
  83. package/dist/apis/purpose.js +1 -1
  84. package/dist/apis/query.cjs +6 -6
  85. package/dist/apis/query.js +1 -1
  86. package/dist/apis/sandbox.cjs +6 -6
  87. package/dist/apis/sandbox.js +1 -1
  88. package/dist/apis/sharing.cjs +6 -6
  89. package/dist/apis/sharing.js +1 -1
  90. package/dist/apis/snapshot.cjs +6 -6
  91. package/dist/apis/snapshot.js +1 -1
  92. package/dist/apis/submission.cjs +6 -6
  93. package/dist/apis/submission.js +1 -1
  94. package/dist/apis/target.cjs +6 -6
  95. package/dist/apis/target.js +1 -1
  96. package/dist/apis/targeting.cjs +6 -6
  97. package/dist/apis/targeting.js +1 -1
  98. package/dist/apis/template-variables.cjs +6 -6
  99. package/dist/apis/template-variables.js +1 -1
  100. package/dist/apis/user.cjs +6 -6
  101. package/dist/apis/user.js +1 -1
  102. package/dist/apis/validation-rules.cjs +6 -6
  103. package/dist/apis/validation-rules.d.cts +2 -2
  104. package/dist/apis/validation-rules.d.ts +2 -2
  105. package/dist/apis/validation-rules.js +1 -1
  106. package/dist/apis/webhooks.cjs +6 -6
  107. package/dist/apis/webhooks.js +1 -1
  108. package/dist/apis/workflow-definition.cjs +6 -6
  109. package/dist/apis/workflow-definition.js +1 -1
  110. package/dist/apis/workflow.cjs +6 -6
  111. package/dist/apis/workflow.js +1 -1
  112. package/dist/app-E75NP2YE.js +7 -0
  113. package/dist/app-EI2PFRBV.cjs +7 -0
  114. package/dist/{app-runtime-T63JMR4T.js → app-runtime-ISNZMZHF.js} +1 -1
  115. package/dist/app-runtime-VC7HGAX3.cjs +5 -0
  116. package/dist/{app.d-BiknhSJo.d.cts → app.d-BHpFAvPW.d.cts} +197 -17
  117. package/dist/{app.d-BiknhSJo.d.ts → app.d-BHpFAvPW.d.ts} +197 -17
  118. package/dist/{chunk-E4NQOOA3.cjs → chunk-L7RZB4SO.cjs} +3 -3
  119. package/dist/{chunk-G5HHIB4D.js → chunk-LWW6JFX2.js} +3 -3
  120. package/dist/{chunk-HPSTDQ62.cjs → chunk-N2P6RELZ.cjs} +1 -1
  121. package/dist/{chunk-4MILKZOO.js → chunk-QHWCHWQT.js} +1 -1
  122. package/dist/index.cjs +10 -10
  123. package/dist/index.d.cts +2 -2
  124. package/dist/index.d.ts +2 -2
  125. package/dist/index.js +2 -2
  126. package/dist/validation-rules-ETOO45CW.js +7 -0
  127. package/dist/validation-rules-MZZ7YMJM.cjs +7 -0
  128. package/dist/{validation-rules.d-CvGvBnMX.d.cts → validation-rules.d-D8X9MYTc.d.cts} +171 -20
  129. package/dist/{validation-rules.d-CvGvBnMX.d.ts → validation-rules.d-D8X9MYTc.d.ts} +171 -20
  130. package/docs/app.md +188 -12
  131. package/docs/validation-rules.md +277 -20
  132. package/package.json +1 -1
  133. package/dist/app-SJ7ITIY6.cjs +0 -7
  134. package/dist/app-WUPPTHZA.js +0 -7
  135. package/dist/app-runtime-2MEGUF3G.cjs +0 -5
  136. package/dist/validation-rules-B2KQKMLO.js +0 -7
  137. 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?: /* Options for the component configuration */ Schemas.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?: /* Options for the component configuration */ 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?: /* Options for the component configuration */ 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?: /* Options for the component configuration */ 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?: /* Options for the component configuration */ 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?: /* Options for the component configuration */ 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
- * Options for the component configuration
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
- * `secrets` allowlist, the internal options/resolve endpoint). Non-sensitive values
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?: /* Options for the component configuration */ 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?: /* Options for the component configuration */ Components.Schemas.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?: any,
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?: any,
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 Options 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 FunctionDefinition as N, type OperationMethods as O, Paths as P, type FunctionRefCustomActionConfig as Q, type Grants as R, type Installation as S, type InternalReview as T, type JourneyBlockComponent as U, type JourneyBlockComponentArgs as V, type JourneyBlockConfig as W, type NotificationConfig as X, type NotificationEvent as Y, type ObjectField as Z, type Option as _, Components as a, type OptionsRef as a0, type OverrideDevMode as a1, type PortalBlockComponent as a2, type PortalBlockConfig as a3, type PortalBlockSurfaceConfig as a4, type PortalExtensionAuthBlock as a5, type PortalExtensionComponent as a6, type PortalExtensionConfig as a7, type PortalExtensionHookChangeEmail as a8, type PortalExtensionHookChangePassword as a9, type PortalExtensionHookConsumptionDataRetrieval as aa, type PortalExtensionHookContractIdentification as ab, type PortalExtensionHookCostDataRetrieval as ac, type PortalExtensionHookDataExport as ad, type PortalExtensionHookDeleteAccount as ae, type PortalExtensionHookMeterReadingPlausibilityCheck as af, type PortalExtensionHookPriceDataRetrieval as ag, type PortalExtensionHookRegistrationIdentifiersCheck as ah, type PortalExtensionHookVisualizationMetadata as ai, type PortalExtensionSeamlessLink as aj, type PortalExtensionSecureProxy as ak, type Pricing as al, type PublicConfiguration as am, type RawEvents as an, type Review as ao, type Role as ap, type S3Reference as aq, type TextArg as ar, type TranslatedString as as, 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 };
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 };
@@ -33,7 +33,7 @@ var globImport_docs = _chunkNJK5F5TFcjs.__glob.call(void 0, {
33
33
  "./docs/address-suggestions.json": () => Promise.resolve().then(() => _interopRequireWildcard(require("./address-suggestions-IUQMYF27.cjs"))),
34
34
  "./docs/address.json": () => Promise.resolve().then(() => _interopRequireWildcard(require("./address-HA4RMRNQ.cjs"))),
35
35
  "./docs/ai-agents.json": () => Promise.resolve().then(() => _interopRequireWildcard(require("./ai-agents-ME5VRKMY.cjs"))),
36
- "./docs/app.json": () => Promise.resolve().then(() => _interopRequireWildcard(require("./app-SJ7ITIY6.cjs"))),
36
+ "./docs/app.json": () => Promise.resolve().then(() => _interopRequireWildcard(require("./app-EI2PFRBV.cjs"))),
37
37
  "./docs/audit-logs.json": () => Promise.resolve().then(() => _interopRequireWildcard(require("./audit-logs-D2LFUA2R.cjs"))),
38
38
  "./docs/automation.json": () => Promise.resolve().then(() => _interopRequireWildcard(require("./automation-3HMHBP6P.cjs"))),
39
39
  "./docs/billing.json": () => Promise.resolve().then(() => _interopRequireWildcard(require("./billing-CKCFSK6K.cjs"))),
@@ -78,7 +78,7 @@ var globImport_docs = _chunkNJK5F5TFcjs.__glob.call(void 0, {
78
78
  "./docs/targeting.json": () => Promise.resolve().then(() => _interopRequireWildcard(require("./targeting-2JCGF4IR.cjs"))),
79
79
  "./docs/template-variables.json": () => Promise.resolve().then(() => _interopRequireWildcard(require("./template-variables-I72B5WS6.cjs"))),
80
80
  "./docs/user.json": () => Promise.resolve().then(() => _interopRequireWildcard(require("./user-DR7IAWFI.cjs"))),
81
- "./docs/validation-rules.json": () => Promise.resolve().then(() => _interopRequireWildcard(require("./validation-rules-GR2IVLGJ.cjs"))),
81
+ "./docs/validation-rules.json": () => Promise.resolve().then(() => _interopRequireWildcard(require("./validation-rules-MZZ7YMJM.cjs"))),
82
82
  "./docs/webhooks.json": () => Promise.resolve().then(() => _interopRequireWildcard(require("./webhooks-PNLMQFE2.cjs"))),
83
83
  "./docs/workflow-definition.json": () => Promise.resolve().then(() => _interopRequireWildcard(require("./workflow-definition-XTWO4RMY.cjs"))),
84
84
  "./docs/workflow.json": () => Promise.resolve().then(() => _interopRequireWildcard(require("./workflow-JQT3F5NJ.cjs")))
@@ -108,7 +108,7 @@ var globImport_definitions_json = _chunkNJK5F5TFcjs.__glob.call(void 0, {
108
108
  "./definitions/address.json": () => Promise.resolve().then(() => _interopRequireWildcard(require("./address-HLBX47SQ.cjs"))),
109
109
  "./definitions/ai-agents-runtime.json": () => Promise.resolve().then(() => _interopRequireWildcard(require("./ai-agents-runtime-T62OQDWE.cjs"))),
110
110
  "./definitions/ai-agents.json": () => Promise.resolve().then(() => _interopRequireWildcard(require("./ai-agents-6VHVYRCC.cjs"))),
111
- "./definitions/app-runtime.json": () => Promise.resolve().then(() => _interopRequireWildcard(require("./app-runtime-2MEGUF3G.cjs"))),
111
+ "./definitions/app-runtime.json": () => Promise.resolve().then(() => _interopRequireWildcard(require("./app-runtime-VC7HGAX3.cjs"))),
112
112
  "./definitions/app.json": () => Promise.resolve().then(() => _interopRequireWildcard(require("./app-5VPBDFW2.cjs"))),
113
113
  "./definitions/audit-logs-runtime.json": () => Promise.resolve().then(() => _interopRequireWildcard(require("./audit-logs-runtime-4WMHPWNX.cjs"))),
114
114
  "./definitions/audit-logs.json": () => Promise.resolve().then(() => _interopRequireWildcard(require("./audit-logs-RFEMBILB.cjs"))),
@@ -33,7 +33,7 @@ var globImport_docs = __glob({
33
33
  "./docs/address-suggestions.json": () => import("./address-suggestions-74244BAJ.js"),
34
34
  "./docs/address.json": () => import("./address-QVJUGMOG.js"),
35
35
  "./docs/ai-agents.json": () => import("./ai-agents-MY4QE4CP.js"),
36
- "./docs/app.json": () => import("./app-WUPPTHZA.js"),
36
+ "./docs/app.json": () => import("./app-E75NP2YE.js"),
37
37
  "./docs/audit-logs.json": () => import("./audit-logs-5VXHOQ7S.js"),
38
38
  "./docs/automation.json": () => import("./automation-GIJB3MOI.js"),
39
39
  "./docs/billing.json": () => import("./billing-UJ6I7FPG.js"),
@@ -78,7 +78,7 @@ var globImport_docs = __glob({
78
78
  "./docs/targeting.json": () => import("./targeting-2NHAG7B5.js"),
79
79
  "./docs/template-variables.json": () => import("./template-variables-6CLOG67C.js"),
80
80
  "./docs/user.json": () => import("./user-7W5JUUKB.js"),
81
- "./docs/validation-rules.json": () => import("./validation-rules-B2KQKMLO.js"),
81
+ "./docs/validation-rules.json": () => import("./validation-rules-ETOO45CW.js"),
82
82
  "./docs/webhooks.json": () => import("./webhooks-QYVT2NUP.js"),
83
83
  "./docs/workflow-definition.json": () => import("./workflow-definition-MSO4JDA3.js"),
84
84
  "./docs/workflow.json": () => import("./workflow-Q6FAE5OL.js")
@@ -108,7 +108,7 @@ var globImport_definitions_json = __glob({
108
108
  "./definitions/address.json": () => import("./address-IJF4N2UV.js"),
109
109
  "./definitions/ai-agents-runtime.json": () => import("./ai-agents-runtime-HOBR2KUZ.js"),
110
110
  "./definitions/ai-agents.json": () => import("./ai-agents-PKCHKKJS.js"),
111
- "./definitions/app-runtime.json": () => import("./app-runtime-T63JMR4T.js"),
111
+ "./definitions/app-runtime.json": () => import("./app-runtime-ISNZMZHF.js"),
112
112
  "./definitions/app.json": () => import("./app-VJW2KKWE.js"),
113
113
  "./definitions/audit-logs-runtime.json": () => import("./audit-logs-runtime-76R6WRAB.js"),
114
114
  "./definitions/audit-logs.json": () => import("./audit-logs-F2NHDISQ.js"),
@@ -5,7 +5,7 @@ var _chunkNJK5F5TFcjs = require('./chunk-NJK5F5TF.cjs');
5
5
  // src/definitions/app-runtime.json
6
6
  var require_app_runtime = _chunkNJK5F5TFcjs.__commonJS.call(void 0, {
7
7
  "src/definitions/app-runtime.json"(exports, module) {
8
- module.exports = { s: "https://app.sls.epilot.io", o: [["getPublicFacingComponent", "get", "/v1/public/app/{appId}/components/{componentId}"], ["listConfigurations", "get", "/v1/app-configurations", [["page", "q"], ["pageSize", "q"]]], ["createConfiguration", "post", "/v1/app-configurations", null, 1], ["listPublicConfigurations", "get", "/v1/app-configurations/public", [["page", "q"], ["pageSize", "q"]]], ["getPublicConfiguration", "get", "/v1/app-configurations/public/{appId}", [["version", "q"]]], ["getConfiguration", "get", "/v1/app-configurations/{appId}", [["version", "q"]]], ["patchMetadata", "patch", "/v1/app-configurations/{appId}", null, 1], ["deleteConfiguration", "delete", "/v1/app-configurations/{appId}"], ["queryEvents", "post", "/v1/app-configurations/{appId}/events", [["appId", "p", true]], 1], ["createBundleUploadUrl", "post", "/v1/app-configurations/{appId}/bundle", [["appId", "p", true]], 1], ["createZipUploadUrl", "post", "/v1/app-configurations/{appId}/zip", [["appId", "p", true]], 1], ["createLogoUploadUrl", "post", "/v1/app-configurations/{appId}/logo", null, 1], ["deleteLogo", "delete", "/v1/app-configurations/{appId}/logo"], ["listVersions", "get", "/v1/app-configurations/{appId}/versions", [["appId", "p", true], ["page", "q"], ["pageSize", "q"]]], ["getVersion", "get", "/v1/app-configurations/{appId}/versions/{version}", [["appId", "p", true], ["version", "p", true]]], ["deleteVersion", "delete", "/v1/app-configurations/{appId}/versions/{version}", [["appId", "p", true], ["version", "p", true]]], ["patchVersion", "patch", "/v1/app-configurations/{appId}/versions/{version}", [["appId", "p", true], ["version", "p", true]], 1], ["getReview", "get", "/v1/app-configurations/{appId}/versions/{version}/review", [["appId", "p", true], ["version", "p", true]]], ["createReview", "post", "/v1/app-configurations/{appId}/versions/{version}/review", [["appId", "p", true], ["version", "p", true]], 1], ["createComponent", "post", "/v1/app-configurations/{appId}/versions/{version}/components", [["appId", "p", true], ["version", "p", true]], 1], ["patchComponent", "patch", "/v1/app-configurations/{appId}/versions/{version}/components/{componentId}", [["appId", "p", true], ["version", "p", true], ["componentId", "p", true]], 1], ["deleteComponent", "delete", "/v1/app-configurations/{appId}/versions/{version}/components/{componentId}", [["appId", "p", true], ["version", "p", true], ["componentId", "p", true]]], ["cloneVersion", "post", "/v1/app-configurations/{appId}/versions/{sourceVersion}/clone-to/{targetVersion}", [["appId", "p", true], ["sourceVersion", "p", true], ["targetVersion", "p", true]]], ["listInstallations", "get", "/v1/app", [["componentType", "q"], ["enabled", "q"], ["page", "q"], ["pageSize", "q"]]], ["getInstallation", "get", "/v1/app/{appId}", [["appId", "p", true]]], ["install", "post", "/v1/app/{appId}", [["appId", "p", true]], 1], ["patchInstallation", "patch", "/v1/app/{appId}", [["appId", "p", true]], 1], ["uninstall", "delete", "/v1/app/{appId}", [["appId", "p", true]]], ["promoteVersion", "post", "/v1/app/{appId}/promote-to/{version}", [["appId", "p", true], ["version", "p", true]]], ["resolveOptions", "post", "/v1/app/{appId}/options/resolve", [["appId", "p", true]], 1], ["ingestEvent", "post", "/v1/app-events", null, 1], ["publicProxyGet", "get", "/v1/public/app/{appId}/proxy/{proxyName}/{path}"], ["publicProxyPost", "post", "/v1/public/app/{appId}/proxy/{proxyName}/{path}", null, 1], ["publicProxyPut", "put", "/v1/public/app/{appId}/proxy/{proxyName}/{path}", null, 1], ["publicProxyPatch", "patch", "/v1/public/app/{appId}/proxy/{proxyName}/{path}", null, 1], ["publicProxyDelete", "delete", "/v1/public/app/{appId}/proxy/{proxyName}/{path}"]], v: "3.1.0", pp: { "/v1/public/app/{appId}/components/{componentId}": [["appId", "p", true], ["componentId", "p", true]], "/v1/app-configurations/public/{appId}": [["appId", "p", true]], "/v1/app-configurations/{appId}": [["appId", "p", true]], "/v1/app-configurations/{appId}/logo": [["appId", "p", true]], "/v1/public/app/{appId}/proxy/{proxyName}/{path}": [["appId", "p", true], ["proxyName", "p", true], ["path", "p", true], ["query", "q", false, "form", true]] } };
8
+ module.exports = { s: "https://app.sls.epilot.io", o: [["getPublicFacingComponent", "get", "/v1/public/app/{appId}/components/{componentId}"], ["listConfigurations", "get", "/v1/app-configurations", [["page", "q"], ["pageSize", "q"]]], ["createConfiguration", "post", "/v1/app-configurations", null, 1], ["listPublicConfigurations", "get", "/v1/app-configurations/public", [["page", "q"], ["pageSize", "q"]]], ["getPublicConfiguration", "get", "/v1/app-configurations/public/{appId}", [["version", "q"]]], ["getConfiguration", "get", "/v1/app-configurations/{appId}", [["version", "q"]]], ["patchMetadata", "patch", "/v1/app-configurations/{appId}", null, 1], ["deleteConfiguration", "delete", "/v1/app-configurations/{appId}"], ["queryEvents", "post", "/v1/app-configurations/{appId}/events", [["appId", "p", true]], 1], ["createBundleUploadUrl", "post", "/v1/app-configurations/{appId}/bundle", [["appId", "p", true]], 1], ["createZipUploadUrl", "post", "/v1/app-configurations/{appId}/zip", [["appId", "p", true]], 1], ["createLogoUploadUrl", "post", "/v1/app-configurations/{appId}/logo", null, 1], ["deleteLogo", "delete", "/v1/app-configurations/{appId}/logo"], ["listVersions", "get", "/v1/app-configurations/{appId}/versions", [["appId", "p", true], ["page", "q"], ["pageSize", "q"]]], ["getVersion", "get", "/v1/app-configurations/{appId}/versions/{version}", [["appId", "p", true], ["version", "p", true]]], ["deleteVersion", "delete", "/v1/app-configurations/{appId}/versions/{version}", [["appId", "p", true], ["version", "p", true]]], ["patchVersion", "patch", "/v1/app-configurations/{appId}/versions/{version}", [["appId", "p", true], ["version", "p", true]], 1], ["getReview", "get", "/v1/app-configurations/{appId}/versions/{version}/review", [["appId", "p", true], ["version", "p", true]]], ["createReview", "post", "/v1/app-configurations/{appId}/versions/{version}/review", [["appId", "p", true], ["version", "p", true]], 1], ["createComponent", "post", "/v1/app-configurations/{appId}/versions/{version}/components", [["appId", "p", true], ["version", "p", true]], 1], ["patchComponent", "patch", "/v1/app-configurations/{appId}/versions/{version}/components/{componentId}", [["appId", "p", true], ["version", "p", true], ["componentId", "p", true]], 1], ["deleteComponent", "delete", "/v1/app-configurations/{appId}/versions/{version}/components/{componentId}", [["appId", "p", true], ["version", "p", true], ["componentId", "p", true]]], ["cloneVersion", "post", "/v1/app-configurations/{appId}/versions/{sourceVersion}/clone-to/{targetVersion}", [["appId", "p", true], ["sourceVersion", "p", true], ["targetVersion", "p", true]], 1], ["listInstallations", "get", "/v1/app", [["componentType", "q"], ["enabled", "q"], ["page", "q"], ["pageSize", "q"]]], ["getInstallation", "get", "/v1/app/{appId}", [["appId", "p", true]]], ["install", "post", "/v1/app/{appId}", [["appId", "p", true]], 1], ["patchInstallation", "patch", "/v1/app/{appId}", [["appId", "p", true]], 1], ["uninstall", "delete", "/v1/app/{appId}", [["appId", "p", true]]], ["promoteVersion", "post", "/v1/app/{appId}/promote-to/{version}", [["appId", "p", true], ["version", "p", true]]], ["resolveOptions", "post", "/v1/app/{appId}/options/resolve", [["appId", "p", true]], 1], ["ingestEvent", "post", "/v1/app-events", null, 1], ["publicProxyGet", "get", "/v1/public/app/{appId}/proxy/{proxyName}/{path}"], ["publicProxyPost", "post", "/v1/public/app/{appId}/proxy/{proxyName}/{path}", null, 1], ["publicProxyPut", "put", "/v1/public/app/{appId}/proxy/{proxyName}/{path}", null, 1], ["publicProxyPatch", "patch", "/v1/public/app/{appId}/proxy/{proxyName}/{path}", null, 1], ["publicProxyDelete", "delete", "/v1/public/app/{appId}/proxy/{proxyName}/{path}"]], v: "3.1.0", pp: { "/v1/public/app/{appId}/components/{componentId}": [["appId", "p", true], ["componentId", "p", true]], "/v1/app-configurations/public/{appId}": [["appId", "p", true]], "/v1/app-configurations/{appId}": [["appId", "p", true]], "/v1/app-configurations/{appId}/logo": [["appId", "p", true]], "/v1/public/app/{appId}/proxy/{proxyName}/{path}": [["appId", "p", true], ["proxyName", "p", true], ["path", "p", true], ["query", "q", false, "form", true]] } };
9
9
  }
10
10
  });
11
11
 
@@ -5,7 +5,7 @@ import {
5
5
  // src/definitions/app-runtime.json
6
6
  var require_app_runtime = __commonJS({
7
7
  "src/definitions/app-runtime.json"(exports, module) {
8
- module.exports = { s: "https://app.sls.epilot.io", o: [["getPublicFacingComponent", "get", "/v1/public/app/{appId}/components/{componentId}"], ["listConfigurations", "get", "/v1/app-configurations", [["page", "q"], ["pageSize", "q"]]], ["createConfiguration", "post", "/v1/app-configurations", null, 1], ["listPublicConfigurations", "get", "/v1/app-configurations/public", [["page", "q"], ["pageSize", "q"]]], ["getPublicConfiguration", "get", "/v1/app-configurations/public/{appId}", [["version", "q"]]], ["getConfiguration", "get", "/v1/app-configurations/{appId}", [["version", "q"]]], ["patchMetadata", "patch", "/v1/app-configurations/{appId}", null, 1], ["deleteConfiguration", "delete", "/v1/app-configurations/{appId}"], ["queryEvents", "post", "/v1/app-configurations/{appId}/events", [["appId", "p", true]], 1], ["createBundleUploadUrl", "post", "/v1/app-configurations/{appId}/bundle", [["appId", "p", true]], 1], ["createZipUploadUrl", "post", "/v1/app-configurations/{appId}/zip", [["appId", "p", true]], 1], ["createLogoUploadUrl", "post", "/v1/app-configurations/{appId}/logo", null, 1], ["deleteLogo", "delete", "/v1/app-configurations/{appId}/logo"], ["listVersions", "get", "/v1/app-configurations/{appId}/versions", [["appId", "p", true], ["page", "q"], ["pageSize", "q"]]], ["getVersion", "get", "/v1/app-configurations/{appId}/versions/{version}", [["appId", "p", true], ["version", "p", true]]], ["deleteVersion", "delete", "/v1/app-configurations/{appId}/versions/{version}", [["appId", "p", true], ["version", "p", true]]], ["patchVersion", "patch", "/v1/app-configurations/{appId}/versions/{version}", [["appId", "p", true], ["version", "p", true]], 1], ["getReview", "get", "/v1/app-configurations/{appId}/versions/{version}/review", [["appId", "p", true], ["version", "p", true]]], ["createReview", "post", "/v1/app-configurations/{appId}/versions/{version}/review", [["appId", "p", true], ["version", "p", true]], 1], ["createComponent", "post", "/v1/app-configurations/{appId}/versions/{version}/components", [["appId", "p", true], ["version", "p", true]], 1], ["patchComponent", "patch", "/v1/app-configurations/{appId}/versions/{version}/components/{componentId}", [["appId", "p", true], ["version", "p", true], ["componentId", "p", true]], 1], ["deleteComponent", "delete", "/v1/app-configurations/{appId}/versions/{version}/components/{componentId}", [["appId", "p", true], ["version", "p", true], ["componentId", "p", true]]], ["cloneVersion", "post", "/v1/app-configurations/{appId}/versions/{sourceVersion}/clone-to/{targetVersion}", [["appId", "p", true], ["sourceVersion", "p", true], ["targetVersion", "p", true]]], ["listInstallations", "get", "/v1/app", [["componentType", "q"], ["enabled", "q"], ["page", "q"], ["pageSize", "q"]]], ["getInstallation", "get", "/v1/app/{appId}", [["appId", "p", true]]], ["install", "post", "/v1/app/{appId}", [["appId", "p", true]], 1], ["patchInstallation", "patch", "/v1/app/{appId}", [["appId", "p", true]], 1], ["uninstall", "delete", "/v1/app/{appId}", [["appId", "p", true]]], ["promoteVersion", "post", "/v1/app/{appId}/promote-to/{version}", [["appId", "p", true], ["version", "p", true]]], ["resolveOptions", "post", "/v1/app/{appId}/options/resolve", [["appId", "p", true]], 1], ["ingestEvent", "post", "/v1/app-events", null, 1], ["publicProxyGet", "get", "/v1/public/app/{appId}/proxy/{proxyName}/{path}"], ["publicProxyPost", "post", "/v1/public/app/{appId}/proxy/{proxyName}/{path}", null, 1], ["publicProxyPut", "put", "/v1/public/app/{appId}/proxy/{proxyName}/{path}", null, 1], ["publicProxyPatch", "patch", "/v1/public/app/{appId}/proxy/{proxyName}/{path}", null, 1], ["publicProxyDelete", "delete", "/v1/public/app/{appId}/proxy/{proxyName}/{path}"]], v: "3.1.0", pp: { "/v1/public/app/{appId}/components/{componentId}": [["appId", "p", true], ["componentId", "p", true]], "/v1/app-configurations/public/{appId}": [["appId", "p", true]], "/v1/app-configurations/{appId}": [["appId", "p", true]], "/v1/app-configurations/{appId}/logo": [["appId", "p", true]], "/v1/public/app/{appId}/proxy/{proxyName}/{path}": [["appId", "p", true], ["proxyName", "p", true], ["path", "p", true], ["query", "q", false, "form", true]] } };
8
+ module.exports = { s: "https://app.sls.epilot.io", o: [["getPublicFacingComponent", "get", "/v1/public/app/{appId}/components/{componentId}"], ["listConfigurations", "get", "/v1/app-configurations", [["page", "q"], ["pageSize", "q"]]], ["createConfiguration", "post", "/v1/app-configurations", null, 1], ["listPublicConfigurations", "get", "/v1/app-configurations/public", [["page", "q"], ["pageSize", "q"]]], ["getPublicConfiguration", "get", "/v1/app-configurations/public/{appId}", [["version", "q"]]], ["getConfiguration", "get", "/v1/app-configurations/{appId}", [["version", "q"]]], ["patchMetadata", "patch", "/v1/app-configurations/{appId}", null, 1], ["deleteConfiguration", "delete", "/v1/app-configurations/{appId}"], ["queryEvents", "post", "/v1/app-configurations/{appId}/events", [["appId", "p", true]], 1], ["createBundleUploadUrl", "post", "/v1/app-configurations/{appId}/bundle", [["appId", "p", true]], 1], ["createZipUploadUrl", "post", "/v1/app-configurations/{appId}/zip", [["appId", "p", true]], 1], ["createLogoUploadUrl", "post", "/v1/app-configurations/{appId}/logo", null, 1], ["deleteLogo", "delete", "/v1/app-configurations/{appId}/logo"], ["listVersions", "get", "/v1/app-configurations/{appId}/versions", [["appId", "p", true], ["page", "q"], ["pageSize", "q"]]], ["getVersion", "get", "/v1/app-configurations/{appId}/versions/{version}", [["appId", "p", true], ["version", "p", true]]], ["deleteVersion", "delete", "/v1/app-configurations/{appId}/versions/{version}", [["appId", "p", true], ["version", "p", true]]], ["patchVersion", "patch", "/v1/app-configurations/{appId}/versions/{version}", [["appId", "p", true], ["version", "p", true]], 1], ["getReview", "get", "/v1/app-configurations/{appId}/versions/{version}/review", [["appId", "p", true], ["version", "p", true]]], ["createReview", "post", "/v1/app-configurations/{appId}/versions/{version}/review", [["appId", "p", true], ["version", "p", true]], 1], ["createComponent", "post", "/v1/app-configurations/{appId}/versions/{version}/components", [["appId", "p", true], ["version", "p", true]], 1], ["patchComponent", "patch", "/v1/app-configurations/{appId}/versions/{version}/components/{componentId}", [["appId", "p", true], ["version", "p", true], ["componentId", "p", true]], 1], ["deleteComponent", "delete", "/v1/app-configurations/{appId}/versions/{version}/components/{componentId}", [["appId", "p", true], ["version", "p", true], ["componentId", "p", true]]], ["cloneVersion", "post", "/v1/app-configurations/{appId}/versions/{sourceVersion}/clone-to/{targetVersion}", [["appId", "p", true], ["sourceVersion", "p", true], ["targetVersion", "p", true]], 1], ["listInstallations", "get", "/v1/app", [["componentType", "q"], ["enabled", "q"], ["page", "q"], ["pageSize", "q"]]], ["getInstallation", "get", "/v1/app/{appId}", [["appId", "p", true]]], ["install", "post", "/v1/app/{appId}", [["appId", "p", true]], 1], ["patchInstallation", "patch", "/v1/app/{appId}", [["appId", "p", true]], 1], ["uninstall", "delete", "/v1/app/{appId}", [["appId", "p", true]]], ["promoteVersion", "post", "/v1/app/{appId}/promote-to/{version}", [["appId", "p", true], ["version", "p", true]]], ["resolveOptions", "post", "/v1/app/{appId}/options/resolve", [["appId", "p", true]], 1], ["ingestEvent", "post", "/v1/app-events", null, 1], ["publicProxyGet", "get", "/v1/public/app/{appId}/proxy/{proxyName}/{path}"], ["publicProxyPost", "post", "/v1/public/app/{appId}/proxy/{proxyName}/{path}", null, 1], ["publicProxyPut", "put", "/v1/public/app/{appId}/proxy/{proxyName}/{path}", null, 1], ["publicProxyPatch", "patch", "/v1/public/app/{appId}/proxy/{proxyName}/{path}", null, 1], ["publicProxyDelete", "delete", "/v1/public/app/{appId}/proxy/{proxyName}/{path}"]], v: "3.1.0", pp: { "/v1/public/app/{appId}/components/{componentId}": [["appId", "p", true], ["componentId", "p", true]], "/v1/app-configurations/public/{appId}": [["appId", "p", true]], "/v1/app-configurations/{appId}": [["appId", "p", true]], "/v1/app-configurations/{appId}/logo": [["appId", "p", true]], "/v1/public/app/{appId}/proxy/{proxyName}/{path}": [["appId", "p", true], ["proxyName", "p", true], ["path", "p", true], ["query", "q", false, "form", true]] } };
9
9
  }
10
10
  });
11
11
 
package/dist/index.cjs CHANGED
@@ -144,7 +144,7 @@ var _chunkT67ZXTVGcjs = require('./chunk-T67ZXTVG.cjs');
144
144
  var _chunkGD6KHA54cjs = require('./chunk-GD6KHA54.cjs');
145
145
 
146
146
 
147
- var _chunkHPSTDQ62cjs = require('./chunk-HPSTDQ62.cjs');
147
+ var _chunkN2P6RELZcjs = require('./chunk-N2P6RELZ.cjs');
148
148
 
149
149
 
150
150
  var _chunkRUZRPIHWcjs = require('./chunk-RUZRPIHW.cjs');
@@ -158,7 +158,7 @@ var _chunkADSWGLIVcjs = require('./chunk-ADSWGLIV.cjs');
158
158
 
159
159
 
160
160
 
161
- var _chunkE4NQOOA3cjs = require('./chunk-E4NQOOA3.cjs');
161
+ var _chunkL7RZB4SOcjs = require('./chunk-L7RZB4SO.cjs');
162
162
 
163
163
 
164
164
  var _chunkNJK5F5TFcjs = require('./chunk-NJK5F5TF.cjs');
@@ -225,7 +225,7 @@ var resolveClient = (params) => {
225
225
  }
226
226
  if (!entry.instance) {
227
227
  const definition = entry.loader();
228
- entry.instance = _chunkE4NQOOA3cjs.createApiClient.call(void 0, {
228
+ entry.instance = _chunkL7RZB4SOcjs.createApiClient.call(void 0, {
229
229
  definition,
230
230
  token: state.token,
231
231
  headers: state.globalHeaders,
@@ -258,7 +258,7 @@ var resetAllClients = (registry) => {
258
258
  };
259
259
 
260
260
  // src/apis/_registry.ts
261
- var expandDef = (mod) => _chunkE4NQOOA3cjs.expand.call(void 0, _nullishCoalesce(mod.default, () => ( mod)));
261
+ var expandDef = (mod) => _chunkL7RZB4SOcjs.expand.call(void 0, _nullishCoalesce(mod.default, () => ( mod)));
262
262
  var registerBuiltinApis = (registry) => {
263
263
  registerApi({
264
264
  registry,
@@ -283,7 +283,7 @@ var registerBuiltinApis = (registry) => {
283
283
  registerApi({
284
284
  registry,
285
285
  name: "app",
286
- loader: () => expandDef(_chunkHPSTDQ62cjs.require_app_runtime.call(void 0, ))
286
+ loader: () => expandDef(_chunkN2P6RELZcjs.require_app_runtime.call(void 0, ))
287
287
  });
288
288
  registerApi({
289
289
  registry,
@@ -601,9 +601,9 @@ var createSDK = () => {
601
601
  const available = [...registry.keys()].join(", ");
602
602
  throw new Error(`Unknown API: "${name}". Available: ${available}`);
603
603
  }
604
- return _chunkE4NQOOA3cjs.createApiHandle.call(void 0, {
604
+ return _chunkL7RZB4SOcjs.createApiHandle.call(void 0, {
605
605
  resolveClient: () => resolveClient({ registry, name, state }),
606
- createClient: () => _chunkE4NQOOA3cjs.createApiClient.call(void 0, { definition: entry.loader(), apiName: name }),
606
+ createClient: () => _chunkL7RZB4SOcjs.createApiClient.call(void 0, { definition: entry.loader(), apiName: name }),
607
607
  apiName: name
608
608
  });
609
609
  };
@@ -651,9 +651,9 @@ var createSDK = () => {
651
651
  return interceptorUse;
652
652
  }
653
653
  case "help":
654
- return (apiName) => _chunkE4NQOOA3cjs.help.call(void 0, apiName);
654
+ return (apiName) => _chunkL7RZB4SOcjs.help.call(void 0, apiName);
655
655
  case "openapi":
656
- return (apiName) => _chunkE4NQOOA3cjs.openapi.call(void 0, apiName);
656
+ return (apiName) => _chunkL7RZB4SOcjs.openapi.call(void 0, apiName);
657
657
  case "then":
658
658
  case "catch":
659
659
  case "finally":
@@ -683,4 +683,4 @@ var epilot = createSDK();
683
683
 
684
684
 
685
685
 
686
- exports.applyLargeResponseInterceptor = applyLargeResponseInterceptor; exports.applyRetryInterceptor = applyRetryInterceptor; exports.authorize = _chunkE4NQOOA3cjs.authorize; exports.createSDK = createSDK; exports.epilot = epilot; exports.help = _chunkE4NQOOA3cjs.help; exports.openapi = _chunkE4NQOOA3cjs.openapi;
686
+ exports.applyLargeResponseInterceptor = applyLargeResponseInterceptor; exports.applyRetryInterceptor = applyRetryInterceptor; exports.authorize = _chunkL7RZB4SOcjs.authorize; exports.createSDK = createSDK; exports.epilot = epilot; exports.help = _chunkL7RZB4SOcjs.help; exports.openapi = _chunkL7RZB4SOcjs.openapi;
package/dist/index.d.cts CHANGED
@@ -7,7 +7,7 @@ import { C as Client } from './access-token.d-BhRUc8I-.cjs';
7
7
  import { C as Client$1 } from './address.d-CwAPOVxa.cjs';
8
8
  import { C as Client$2 } from './address-suggestions.d-_YwTOR-9.cjs';
9
9
  import { C as Client$3 } from './ai-agents.d-B3TkP4mo.cjs';
10
- import { C as Client$4 } from './app.d-BiknhSJo.cjs';
10
+ import { C as Client$4 } from './app.d-BHpFAvPW.cjs';
11
11
  import { C as Client$5 } from './audit-logs.d-BRToFqeX.cjs';
12
12
  import { C as Client$6 } from './automation.d-BnQFR6k8.cjs';
13
13
  import { C as Client$7 } from './billing.d-DA3sViEF.cjs';
@@ -50,7 +50,7 @@ import { C as Client$H } from './submission.d-BamwfhXw.cjs';
50
50
  import { C as Client$I } from './targeting.d-BYVSahmV.cjs';
51
51
  import { C as Client$J } from './template-variables.d-Ble9TSBa.cjs';
52
52
  import { C as Client$K } from './user.d-rqYtwsCz.cjs';
53
- import { C as Client$L } from './validation-rules.d-CvGvBnMX.cjs';
53
+ import { C as Client$L } from './validation-rules.d-D8X9MYTc.cjs';
54
54
  import { C as Client$M } from './webhooks.d-DqOEzFsp.cjs';
55
55
  import { C as Client$N } from './workflow.d-5cyNJgVQ.cjs';
56
56
  import { C as Client$O } from './workflow-definition.d-CweGhhBU.cjs';
package/dist/index.d.ts CHANGED
@@ -7,7 +7,7 @@ import { C as Client } from './access-token.d-BhRUc8I-.js';
7
7
  import { C as Client$1 } from './address.d-CwAPOVxa.js';
8
8
  import { C as Client$2 } from './address-suggestions.d-_YwTOR-9.js';
9
9
  import { C as Client$3 } from './ai-agents.d-B3TkP4mo.js';
10
- import { C as Client$4 } from './app.d-BiknhSJo.js';
10
+ import { C as Client$4 } from './app.d-BHpFAvPW.js';
11
11
  import { C as Client$5 } from './audit-logs.d-BRToFqeX.js';
12
12
  import { C as Client$6 } from './automation.d-BnQFR6k8.js';
13
13
  import { C as Client$7 } from './billing.d-DA3sViEF.js';
@@ -50,7 +50,7 @@ import { C as Client$H } from './submission.d-BamwfhXw.js';
50
50
  import { C as Client$I } from './targeting.d-BYVSahmV.js';
51
51
  import { C as Client$J } from './template-variables.d-Ble9TSBa.js';
52
52
  import { C as Client$K } from './user.d-rqYtwsCz.js';
53
- import { C as Client$L } from './validation-rules.d-CvGvBnMX.js';
53
+ import { C as Client$L } from './validation-rules.d-D8X9MYTc.js';
54
54
  import { C as Client$M } from './webhooks.d-DqOEzFsp.js';
55
55
  import { C as Client$N } from './workflow.d-5cyNJgVQ.js';
56
56
  import { C as Client$O } from './workflow-definition.d-CweGhhBU.js';
package/dist/index.js CHANGED
@@ -144,7 +144,7 @@ import {
144
144
  } from "./chunk-IZ6OQZZ2.js";
145
145
  import {
146
146
  require_app_runtime
147
- } from "./chunk-4MILKZOO.js";
147
+ } from "./chunk-QHWCHWQT.js";
148
148
  import {
149
149
  require_audit_logs_runtime
150
150
  } from "./chunk-RELUU5QZ.js";
@@ -158,7 +158,7 @@ import {
158
158
  expand,
159
159
  help,
160
160
  openapi
161
- } from "./chunk-G5HHIB4D.js";
161
+ } from "./chunk-LWW6JFX2.js";
162
162
  import {
163
163
  __require
164
164
  } from "./chunk-YPSWSI3M.js";