@epilot/sdk 2.19.0 → 2.19.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 (128) hide show
  1. package/definitions/app-runtime.json +1 -1
  2. package/definitions/app.json +135 -3
  3. package/dist/apis/access-token.cjs +6 -6
  4. package/dist/apis/access-token.js +1 -1
  5. package/dist/apis/address-suggestions.cjs +6 -6
  6. package/dist/apis/address-suggestions.js +1 -1
  7. package/dist/apis/address.cjs +6 -6
  8. package/dist/apis/address.js +1 -1
  9. package/dist/apis/ai-agents.cjs +6 -6
  10. package/dist/apis/ai-agents.js +1 -1
  11. package/dist/apis/app.cjs +8 -8
  12. package/dist/apis/app.d.cts +2 -2
  13. package/dist/apis/app.d.ts +2 -2
  14. package/dist/apis/app.js +2 -2
  15. package/dist/apis/audit-logs.cjs +6 -6
  16. package/dist/apis/audit-logs.js +1 -1
  17. package/dist/apis/automation.cjs +6 -6
  18. package/dist/apis/automation.js +1 -1
  19. package/dist/apis/billing.cjs +6 -6
  20. package/dist/apis/billing.js +1 -1
  21. package/dist/apis/blueprint-manifest.cjs +6 -6
  22. package/dist/apis/blueprint-manifest.js +1 -1
  23. package/dist/apis/calendar.cjs +6 -6
  24. package/dist/apis/calendar.js +1 -1
  25. package/dist/apis/configuration-hub.cjs +6 -6
  26. package/dist/apis/configuration-hub.js +1 -1
  27. package/dist/apis/consent.cjs +6 -6
  28. package/dist/apis/consent.js +1 -1
  29. package/dist/apis/customer-portal.cjs +6 -6
  30. package/dist/apis/customer-portal.js +1 -1
  31. package/dist/apis/dashboard.cjs +6 -6
  32. package/dist/apis/dashboard.js +1 -1
  33. package/dist/apis/data-governance.cjs +6 -6
  34. package/dist/apis/data-governance.js +1 -1
  35. package/dist/apis/deduplication.cjs +6 -6
  36. package/dist/apis/deduplication.js +1 -1
  37. package/dist/apis/design.cjs +6 -6
  38. package/dist/apis/design.js +1 -1
  39. package/dist/apis/document.cjs +6 -6
  40. package/dist/apis/document.js +1 -1
  41. package/dist/apis/email-settings.cjs +6 -6
  42. package/dist/apis/email-settings.js +1 -1
  43. package/dist/apis/email-template.cjs +6 -6
  44. package/dist/apis/email-template.js +1 -1
  45. package/dist/apis/entity-mapping.cjs +6 -6
  46. package/dist/apis/entity-mapping.js +1 -1
  47. package/dist/apis/entity.cjs +6 -6
  48. package/dist/apis/entity.js +1 -1
  49. package/dist/apis/environments.cjs +6 -6
  50. package/dist/apis/environments.js +1 -1
  51. package/dist/apis/event-catalog.cjs +6 -6
  52. package/dist/apis/event-catalog.js +1 -1
  53. package/dist/apis/file.cjs +6 -6
  54. package/dist/apis/file.js +1 -1
  55. package/dist/apis/iban.cjs +6 -6
  56. package/dist/apis/iban.js +1 -1
  57. package/dist/apis/integration-toolkit.cjs +6 -6
  58. package/dist/apis/integration-toolkit.js +1 -1
  59. package/dist/apis/journey.cjs +6 -6
  60. package/dist/apis/journey.js +1 -1
  61. package/dist/apis/kanban.cjs +6 -6
  62. package/dist/apis/kanban.js +1 -1
  63. package/dist/apis/message.cjs +6 -6
  64. package/dist/apis/message.js +1 -1
  65. package/dist/apis/metering.cjs +6 -6
  66. package/dist/apis/metering.js +1 -1
  67. package/dist/apis/notes.cjs +6 -6
  68. package/dist/apis/notes.js +1 -1
  69. package/dist/apis/notification.cjs +6 -6
  70. package/dist/apis/notification.js +1 -1
  71. package/dist/apis/organization.cjs +6 -6
  72. package/dist/apis/organization.js +1 -1
  73. package/dist/apis/partner-directory.cjs +6 -6
  74. package/dist/apis/partner-directory.js +1 -1
  75. package/dist/apis/permissions.cjs +6 -6
  76. package/dist/apis/permissions.js +1 -1
  77. package/dist/apis/pricing-tier.cjs +6 -6
  78. package/dist/apis/pricing-tier.js +1 -1
  79. package/dist/apis/pricing.cjs +6 -6
  80. package/dist/apis/pricing.js +1 -1
  81. package/dist/apis/purpose.cjs +6 -6
  82. package/dist/apis/purpose.js +1 -1
  83. package/dist/apis/query.cjs +6 -6
  84. package/dist/apis/query.js +1 -1
  85. package/dist/apis/sandbox.cjs +6 -6
  86. package/dist/apis/sandbox.js +1 -1
  87. package/dist/apis/sharing.cjs +6 -6
  88. package/dist/apis/sharing.js +1 -1
  89. package/dist/apis/snapshot.cjs +6 -6
  90. package/dist/apis/snapshot.js +1 -1
  91. package/dist/apis/submission.cjs +6 -6
  92. package/dist/apis/submission.js +1 -1
  93. package/dist/apis/target.cjs +6 -6
  94. package/dist/apis/target.js +1 -1
  95. package/dist/apis/targeting.cjs +6 -6
  96. package/dist/apis/targeting.js +1 -1
  97. package/dist/apis/template-variables.cjs +6 -6
  98. package/dist/apis/template-variables.js +1 -1
  99. package/dist/apis/user.cjs +6 -6
  100. package/dist/apis/user.js +1 -1
  101. package/dist/apis/validation-rules.cjs +6 -6
  102. package/dist/apis/validation-rules.js +1 -1
  103. package/dist/apis/webhooks.cjs +6 -6
  104. package/dist/apis/webhooks.js +1 -1
  105. package/dist/apis/workflow-definition.cjs +6 -6
  106. package/dist/apis/workflow-definition.js +1 -1
  107. package/dist/apis/workflow.cjs +6 -6
  108. package/dist/apis/workflow.js +1 -1
  109. package/dist/app-RZ2JCNZ7.js +7 -0
  110. package/dist/app-U7UEBBWK.cjs +7 -0
  111. package/dist/app-runtime-2MEGUF3G.cjs +5 -0
  112. package/dist/{app-runtime-NBGFHFT2.js → app-runtime-T63JMR4T.js} +1 -1
  113. package/dist/{app.d-CZDjyxee.d.cts → app.d-CyI0Leab.d.cts} +137 -2
  114. package/dist/{app.d-CZDjyxee.d.ts → app.d-CyI0Leab.d.ts} +137 -2
  115. package/dist/{chunk-TNRT33VQ.js → chunk-4MILKZOO.js} +1 -1
  116. package/dist/{chunk-BVCHHE2R.js → chunk-7REPAE5F.js} +2 -2
  117. package/dist/{chunk-XHVIF7AC.cjs → chunk-HPSTDQ62.cjs} +1 -1
  118. package/dist/{chunk-C543QHBO.cjs → chunk-XBUBHNFT.cjs} +2 -2
  119. package/dist/index.cjs +10 -10
  120. package/dist/index.d.cts +1 -1
  121. package/dist/index.d.ts +1 -1
  122. package/dist/index.js +2 -2
  123. package/dist/js-yaml-DLCVPJ7G.js +0 -0
  124. package/docs/app.md +336 -173
  125. package/package.json +11 -12
  126. package/dist/app-IXCUVIHD.js +0 -7
  127. package/dist/app-RKHOTF7Z.cjs +0 -7
  128. package/dist/app-runtime-AAQHTC7F.cjs +0 -5
@@ -110,6 +110,13 @@ declare namespace Components {
110
110
  *
111
111
  */
112
112
  Schemas.FunctionDefinition[];
113
+ /**
114
+ * Replaces the full set of app-level option declarations for this version.
115
+ * Option keys must be unique app-wide; `secret`-touching options are always
116
+ * sensitive and must not declare `sensitive: false`.
117
+ *
118
+ */
119
+ options?: /* Options for the component configuration */ Schemas.Options[];
113
120
  }
114
121
  export type UpsertComponentRequest = Schemas.BaseComponent;
115
122
  }
@@ -282,6 +289,15 @@ declare namespace Components {
282
289
  * List of options for the app component
283
290
  */
284
291
  options?: /* Options for the component configuration */ Options[];
292
+ /**
293
+ * Keys of app-level options this component uses. Narrows which options are
294
+ * folded back into `options` for legacy consumers (e.g. which values a journey
295
+ * block receives in its public args) — a scoping hint, never a security
296
+ * boundary. Stamped automatically by the component-options migration; may also
297
+ * be declared by the app developer.
298
+ *
299
+ */
300
+ uses_options?: string[];
285
301
  surfaces?: {
286
302
  [key: string]: any;
287
303
  };
@@ -321,6 +337,15 @@ declare namespace Components {
321
337
  * List of options for the app component
322
338
  */
323
339
  options?: /* Options for the component configuration */ Options[];
340
+ /**
341
+ * Keys of app-level options this component uses. Narrows which options are
342
+ * folded back into `options` for legacy consumers (e.g. which values a journey
343
+ * block receives in its public args) — a scoping hint, never a security
344
+ * boundary. Stamped automatically by the component-options migration; may also
345
+ * be declared by the app developer.
346
+ *
347
+ */
348
+ uses_options?: string[];
324
349
  surfaces?: {
325
350
  [key: string]: any;
326
351
  };
@@ -625,6 +650,10 @@ declare namespace Components {
625
650
  *
626
651
  */
627
652
  FunctionDefinition[];
653
+ /**
654
+ * App-level option declarations (with sensitivity) of this version
655
+ */
656
+ options?: /* Options for the component configuration */ Options[];
628
657
  /**
629
658
  * Visibility of the app version
630
659
  */
@@ -811,6 +840,10 @@ declare namespace Components {
811
840
  *
812
841
  */
813
842
  FunctionDefinition[];
843
+ /**
844
+ * App-level option declarations (with sensitivity) of this version
845
+ */
846
+ options?: /* Options for the component configuration */ Options[];
814
847
  /**
815
848
  * Visibility of the app version
816
849
  */
@@ -1030,6 +1063,10 @@ declare namespace Components {
1030
1063
  * Filter by correlation ID for tracing
1031
1064
  */
1032
1065
  correlation_id?: string;
1066
+ /**
1067
+ * Case-insensitive substring match over event details and component id
1068
+ */
1069
+ search?: string;
1033
1070
  };
1034
1071
  aggregation?: {
1035
1072
  /**
@@ -1044,6 +1081,11 @@ declare namespace Components {
1044
1081
  pagination?: {
1045
1082
  page?: number;
1046
1083
  page_size?: number;
1084
+ /**
1085
+ * Cursor: only return events strictly older than this timestamp. Use the timestamp of the last received event to fetch the next page; more efficient than increasing page/page_size.
1086
+ *
1087
+ */
1088
+ before?: string; // date-time
1047
1089
  };
1048
1090
  sort?: {
1049
1091
  field?: "timestamp" | "event_type" | "component_id";
@@ -1223,6 +1265,10 @@ declare namespace Components {
1223
1265
  *
1224
1266
  */
1225
1267
  type: "workflow" | "scheduled";
1268
+ /**
1269
+ * Human-readable display name of the function, shown to installing organizations (e.g. in the scheduled-functions summary)
1270
+ *
1271
+ */
1226
1272
  label?: {
1227
1273
  /**
1228
1274
  * English translation
@@ -1267,7 +1313,7 @@ declare namespace Components {
1267
1313
  */
1268
1314
  schedule_overlap?: "skip";
1269
1315
  /**
1270
- * Keys of installation options of type secret made available to the function via input.app_options
1316
+ * DEPRECATED and ignored functions receive the app's full effective option keyspace (sensitive values included) via input.app_options. Kept for manifest compatibility.
1271
1317
  *
1272
1318
  */
1273
1319
  secrets?: string[];
@@ -1349,6 +1395,14 @@ declare namespace Components {
1349
1395
  *
1350
1396
  */
1351
1397
  FunctionDefinition[];
1398
+ /**
1399
+ * Effective app-level options of the installation: declared top-level options plus
1400
+ * component-level options lifted to the app keyspace, each with its configured
1401
+ * `value`. Values of sensitive options (secrets) are never included — they carry
1402
+ * `configured` and `value_updated_at` instead.
1403
+ *
1404
+ */
1405
+ options?: /* Options for the component configuration */ Options[];
1352
1406
  /**
1353
1407
  * Version of the app that is installed
1354
1408
  */
@@ -1616,10 +1670,42 @@ declare namespace Components {
1616
1670
  *
1617
1671
  */
1618
1672
  type: "text" | "number" | "boolean" | "secret" | "object";
1673
+ /**
1674
+ * Write-only, server-side only value — like a sensitive environment variable
1675
+ * (app-level options only). Sensitive values are never serialized in any response;
1676
+ * they are resolvable only via server-side channels (API proxy injection, function
1677
+ * `secrets` allowlist, the internal options/resolve endpoint). Non-sensitive values
1678
+ * are readable wherever the app runs, including the end-customer browser (journey and
1679
+ * portal runtime). Forced to true for `secret`-touching options. Default: false.
1680
+ *
1681
+ */
1682
+ sensitive?: boolean;
1683
+ /**
1684
+ * Serialized instead of `value` for sensitive options (secrets): true when a
1685
+ * value is stored.
1686
+ *
1687
+ */
1688
+ configured?: boolean;
1689
+ /**
1690
+ * Compatibility marker: this option is declared at app level and folded back
1691
+ * into the component's options so existing consumers (journey runtime, portal
1692
+ * blocks, older services) keep working unchanged. New consumers should read
1693
+ * app-level options from the installation's `options` array instead.
1694
+ *
1695
+ */
1696
+ lifted?: boolean;
1697
+ /**
1698
+ * Timestamp of the last value change. Only returned for sensitive options
1699
+ * (alongside `configured`) so installers can see when a secret was last rotated.
1700
+ *
1701
+ */
1702
+ value_updated_at?: string;
1619
1703
  }
1620
1704
  export interface OptionsRef {
1621
1705
  /**
1622
- * ID of the component these values are for
1706
+ * ID of the component these values are for. Use the sentinel `$app` for
1707
+ * app-level option values (options declared at the manifest top level).
1708
+ *
1623
1709
  */
1624
1710
  component_id: string;
1625
1711
  options: Option[];
@@ -2828,6 +2914,10 @@ declare namespace Components {
2828
2914
  *
2829
2915
  */
2830
2916
  FunctionDefinition[];
2917
+ /**
2918
+ * App-level option declarations (with sensitivity) of this version
2919
+ */
2920
+ options?: /* Options for the component configuration */ Options[];
2831
2921
  /**
2832
2922
  * Flag to indicate if the app is in beta.
2833
2923
  */
@@ -3505,6 +3595,29 @@ declare namespace Paths {
3505
3595
  }
3506
3596
  }
3507
3597
  }
3598
+ namespace ResolveOptions {
3599
+ namespace Parameters {
3600
+ export type AppId = string;
3601
+ }
3602
+ export interface PathParameters {
3603
+ appId: Parameters.AppId;
3604
+ }
3605
+ export interface RequestBody {
3606
+ /**
3607
+ * Narrow the response to these option keys
3608
+ */
3609
+ keys?: string[];
3610
+ }
3611
+ namespace Responses {
3612
+ export interface $200 {
3613
+ options?: /* Options for the component configuration */ Components.Schemas.Options[];
3614
+ }
3615
+ export interface $403 {
3616
+ }
3617
+ export interface $404 {
3618
+ }
3619
+ }
3620
+ }
3508
3621
  namespace Uninstall {
3509
3622
  namespace Parameters {
3510
3623
  export type AppId = string;
@@ -3866,6 +3979,16 @@ interface OperationMethods {
3866
3979
  data?: any,
3867
3980
  config?: AxiosRequestConfig
3868
3981
  ): OperationResponse<Paths.PromoteVersion.Responses.$200>
3982
+ /**
3983
+ * resolveOptions - resolveOptions
3984
+ *
3985
+ * Resolve the effective app-level options of an installation, including decrypted sensitive values (secrets). This endpoint accepts epilot internal-auth tokens exclusively (internal service calls, e.g. automation-workers or the customer portal API) — no user token, API key, or app token can call it, regardless of roles. Every call is audit-logged with the caller identity.
3986
+ */
3987
+ 'resolveOptions'(
3988
+ parameters?: Parameters<Paths.ResolveOptions.PathParameters> | null,
3989
+ data?: Paths.ResolveOptions.RequestBody,
3990
+ config?: AxiosRequestConfig
3991
+ ): OperationResponse<Paths.ResolveOptions.Responses.$200>
3869
3992
  /**
3870
3993
  * ingestEvent - ingestEvent
3871
3994
  *
@@ -4256,6 +4379,18 @@ interface PathsDictionary {
4256
4379
  config?: AxiosRequestConfig
4257
4380
  ): OperationResponse<Paths.PromoteVersion.Responses.$200>
4258
4381
  }
4382
+ ['/v1/app/{appId}/options/resolve']: {
4383
+ /**
4384
+ * resolveOptions - resolveOptions
4385
+ *
4386
+ * Resolve the effective app-level options of an installation, including decrypted sensitive values (secrets). This endpoint accepts epilot internal-auth tokens exclusively (internal service calls, e.g. automation-workers or the customer portal API) — no user token, API key, or app token can call it, regardless of roles. Every call is audit-logged with the caller identity.
4387
+ */
4388
+ 'post'(
4389
+ parameters?: Parameters<Paths.ResolveOptions.PathParameters> | null,
4390
+ data?: Paths.ResolveOptions.RequestBody,
4391
+ config?: AxiosRequestConfig
4392
+ ): OperationResponse<Paths.ResolveOptions.Responses.$200>
4393
+ }
4259
4394
  ['/v1/app-events']: {
4260
4395
  /**
4261
4396
  * ingestEvent - ingestEvent
@@ -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]]], ["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]]], ["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
 
@@ -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-IXCUVIHD.js"),
36
+ "./docs/app.json": () => import("./app-RZ2JCNZ7.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-UAVEPNBZ.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-NBGFHFT2.js"),
111
+ "./definitions/app-runtime.json": () => import("./app-runtime-T63JMR4T.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]]], ["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]]], ["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
 
@@ -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-RKHOTF7Z.cjs"))),
36
+ "./docs/app.json": () => Promise.resolve().then(() => _interopRequireWildcard(require("./app-U7UEBBWK.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-MN36KAKQ.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-AAQHTC7F.cjs"))),
111
+ "./definitions/app-runtime.json": () => Promise.resolve().then(() => _interopRequireWildcard(require("./app-runtime-2MEGUF3G.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"))),
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 _chunkXHVIF7ACcjs = require('./chunk-XHVIF7AC.cjs');
147
+ var _chunkHPSTDQ62cjs = require('./chunk-HPSTDQ62.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 _chunkC543QHBOcjs = require('./chunk-C543QHBO.cjs');
161
+ var _chunkXBUBHNFTcjs = require('./chunk-XBUBHNFT.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 = _chunkC543QHBOcjs.createApiClient.call(void 0, {
228
+ entry.instance = _chunkXBUBHNFTcjs.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) => _chunkC543QHBOcjs.expand.call(void 0, _nullishCoalesce(mod.default, () => ( mod)));
261
+ var expandDef = (mod) => _chunkXBUBHNFTcjs.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(_chunkXHVIF7ACcjs.require_app_runtime.call(void 0, ))
286
+ loader: () => expandDef(_chunkHPSTDQ62cjs.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 _chunkC543QHBOcjs.createApiHandle.call(void 0, {
604
+ return _chunkXBUBHNFTcjs.createApiHandle.call(void 0, {
605
605
  resolveClient: () => resolveClient({ registry, name, state }),
606
- createClient: () => _chunkC543QHBOcjs.createApiClient.call(void 0, { definition: entry.loader(), apiName: name }),
606
+ createClient: () => _chunkXBUBHNFTcjs.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) => _chunkC543QHBOcjs.help.call(void 0, apiName);
654
+ return (apiName) => _chunkXBUBHNFTcjs.help.call(void 0, apiName);
655
655
  case "openapi":
656
- return (apiName) => _chunkC543QHBOcjs.openapi.call(void 0, apiName);
656
+ return (apiName) => _chunkXBUBHNFTcjs.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 = _chunkC543QHBOcjs.authorize; exports.createSDK = createSDK; exports.epilot = epilot; exports.help = _chunkC543QHBOcjs.help; exports.openapi = _chunkC543QHBOcjs.openapi;
686
+ exports.applyLargeResponseInterceptor = applyLargeResponseInterceptor; exports.applyRetryInterceptor = applyRetryInterceptor; exports.authorize = _chunkXBUBHNFTcjs.authorize; exports.createSDK = createSDK; exports.epilot = epilot; exports.help = _chunkXBUBHNFTcjs.help; exports.openapi = _chunkXBUBHNFTcjs.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-CZDjyxee.cjs';
10
+ import { C as Client$4 } from './app.d-CyI0Leab.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-Blv16_el.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-CZDjyxee.js';
10
+ import { C as Client$4 } from './app.d-CyI0Leab.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-Blv16_el.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-TNRT33VQ.js";
147
+ } from "./chunk-4MILKZOO.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-BVCHHE2R.js";
161
+ } from "./chunk-7REPAE5F.js";
162
162
  import {
163
163
  __require
164
164
  } from "./chunk-YPSWSI3M.js";
File without changes