@epilot/sdk 2.20.21 → 2.20.23

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 (150) hide show
  1. package/README.md +1 -0
  2. package/definitions/automation-runtime.json +1 -1
  3. package/definitions/automation.json +207 -2
  4. package/definitions/chat-runtime.json +1 -0
  5. package/definitions/chat.json +2909 -0
  6. package/dist/README-7F36AG5O.js +7 -0
  7. package/dist/README-I7JMAFA4.cjs +7 -0
  8. package/dist/{_index-D5TTZP5F.cjs → _index-655GNTWT.cjs} +4 -1
  9. package/dist/{_index-UY46ZN47.js → _index-6FK4PV6Y.js} +3 -0
  10. package/dist/apis/access-token.cjs +6 -6
  11. package/dist/apis/access-token.js +1 -1
  12. package/dist/apis/address-suggestions.cjs +6 -6
  13. package/dist/apis/address-suggestions.js +1 -1
  14. package/dist/apis/address.cjs +6 -6
  15. package/dist/apis/address.js +1 -1
  16. package/dist/apis/ai-agents.cjs +6 -6
  17. package/dist/apis/ai-agents.js +1 -1
  18. package/dist/apis/app.cjs +6 -6
  19. package/dist/apis/app.js +1 -1
  20. package/dist/apis/audit-logs.cjs +6 -6
  21. package/dist/apis/audit-logs.js +1 -1
  22. package/dist/apis/automation.cjs +8 -8
  23. package/dist/apis/automation.d.cts +2 -2
  24. package/dist/apis/automation.d.ts +2 -2
  25. package/dist/apis/automation.js +2 -2
  26. package/dist/apis/billing.cjs +6 -6
  27. package/dist/apis/billing.js +1 -1
  28. package/dist/apis/blueprint-manifest.cjs +6 -6
  29. package/dist/apis/blueprint-manifest.js +1 -1
  30. package/dist/apis/calendar.cjs +6 -6
  31. package/dist/apis/calendar.js +1 -1
  32. package/dist/apis/chat.cjs +38 -0
  33. package/dist/apis/chat.d.cts +18 -0
  34. package/dist/apis/chat.d.ts +18 -0
  35. package/dist/apis/chat.js +38 -0
  36. package/dist/apis/configuration-hub.cjs +6 -6
  37. package/dist/apis/configuration-hub.js +1 -1
  38. package/dist/apis/consent.cjs +6 -6
  39. package/dist/apis/consent.js +1 -1
  40. package/dist/apis/customer-portal.cjs +6 -6
  41. package/dist/apis/customer-portal.js +1 -1
  42. package/dist/apis/dashboard.cjs +6 -6
  43. package/dist/apis/dashboard.js +1 -1
  44. package/dist/apis/data-governance.cjs +6 -6
  45. package/dist/apis/data-governance.js +1 -1
  46. package/dist/apis/deduplication.cjs +6 -6
  47. package/dist/apis/deduplication.js +1 -1
  48. package/dist/apis/design.cjs +6 -6
  49. package/dist/apis/design.js +1 -1
  50. package/dist/apis/document.cjs +6 -6
  51. package/dist/apis/document.js +1 -1
  52. package/dist/apis/email-settings.cjs +6 -6
  53. package/dist/apis/email-settings.js +1 -1
  54. package/dist/apis/email-template.cjs +6 -6
  55. package/dist/apis/email-template.js +1 -1
  56. package/dist/apis/entity-mapping.cjs +6 -6
  57. package/dist/apis/entity-mapping.js +1 -1
  58. package/dist/apis/entity.cjs +6 -6
  59. package/dist/apis/entity.js +1 -1
  60. package/dist/apis/environments.cjs +6 -6
  61. package/dist/apis/environments.js +1 -1
  62. package/dist/apis/event-catalog.cjs +6 -6
  63. package/dist/apis/event-catalog.js +1 -1
  64. package/dist/apis/file.cjs +6 -6
  65. package/dist/apis/file.js +1 -1
  66. package/dist/apis/iban.cjs +6 -6
  67. package/dist/apis/iban.js +1 -1
  68. package/dist/apis/integration-toolkit.cjs +6 -6
  69. package/dist/apis/integration-toolkit.js +1 -1
  70. package/dist/apis/journey.cjs +6 -6
  71. package/dist/apis/journey.js +1 -1
  72. package/dist/apis/kanban.cjs +6 -6
  73. package/dist/apis/kanban.js +1 -1
  74. package/dist/apis/message.cjs +6 -6
  75. package/dist/apis/message.js +1 -1
  76. package/dist/apis/metering.cjs +6 -6
  77. package/dist/apis/metering.js +1 -1
  78. package/dist/apis/notes.cjs +6 -6
  79. package/dist/apis/notes.js +1 -1
  80. package/dist/apis/notification.cjs +6 -6
  81. package/dist/apis/notification.js +1 -1
  82. package/dist/apis/organization.cjs +6 -6
  83. package/dist/apis/organization.js +1 -1
  84. package/dist/apis/partner-directory.cjs +6 -6
  85. package/dist/apis/partner-directory.js +1 -1
  86. package/dist/apis/permissions.cjs +6 -6
  87. package/dist/apis/permissions.js +1 -1
  88. package/dist/apis/pricing-tier.cjs +6 -6
  89. package/dist/apis/pricing-tier.js +1 -1
  90. package/dist/apis/pricing.cjs +6 -6
  91. package/dist/apis/pricing.js +1 -1
  92. package/dist/apis/purpose.cjs +6 -6
  93. package/dist/apis/purpose.js +1 -1
  94. package/dist/apis/query.cjs +6 -6
  95. package/dist/apis/query.js +1 -1
  96. package/dist/apis/sandbox.cjs +6 -6
  97. package/dist/apis/sandbox.js +1 -1
  98. package/dist/apis/sharing.cjs +6 -6
  99. package/dist/apis/sharing.js +1 -1
  100. package/dist/apis/snapshot.cjs +6 -6
  101. package/dist/apis/snapshot.js +1 -1
  102. package/dist/apis/submission.cjs +6 -6
  103. package/dist/apis/submission.js +1 -1
  104. package/dist/apis/target.cjs +6 -6
  105. package/dist/apis/target.js +1 -1
  106. package/dist/apis/targeting.cjs +6 -6
  107. package/dist/apis/targeting.js +1 -1
  108. package/dist/apis/template-variables.cjs +6 -6
  109. package/dist/apis/template-variables.js +1 -1
  110. package/dist/apis/user.cjs +6 -6
  111. package/dist/apis/user.js +1 -1
  112. package/dist/apis/validation-rules.cjs +6 -6
  113. package/dist/apis/validation-rules.js +1 -1
  114. package/dist/apis/webhooks.cjs +6 -6
  115. package/dist/apis/webhooks.js +1 -1
  116. package/dist/apis/workflow-definition.cjs +6 -6
  117. package/dist/apis/workflow-definition.js +1 -1
  118. package/dist/apis/workflow.cjs +6 -6
  119. package/dist/apis/workflow.js +1 -1
  120. package/dist/automation-CDMOEYVP.cjs +7 -0
  121. package/dist/automation-XFMSH7Y3.js +7 -0
  122. package/dist/{automation-runtime-RM5EOZH2.cjs → automation-runtime-KLCXZKEC.cjs} +2 -2
  123. package/dist/{automation-runtime-ORW5BVCD.js → automation-runtime-Y52HM57N.js} +1 -1
  124. package/dist/{automation.d-Bp45eKlU.d.cts → automation.d-2biAmiMc.d.cts} +214 -6
  125. package/dist/{automation.d-Bp45eKlU.d.ts → automation.d-2biAmiMc.d.ts} +214 -6
  126. package/dist/chat-5EOD2OPN.cjs +7 -0
  127. package/dist/chat-D5KXPRYY.js +7 -0
  128. package/dist/chat-runtime-MF35HI2U.js +5 -0
  129. package/dist/chat-runtime-MYMUFT3Y.cjs +5 -0
  130. package/dist/chat.d-CQ5eRtNU.d.cts +1544 -0
  131. package/dist/chat.d-CQ5eRtNU.d.ts +1544 -0
  132. package/dist/chunk-6ZTP7EQE.js +14 -0
  133. package/dist/chunk-A5THJ4SF.cjs +14 -0
  134. package/dist/{chunk-6LUOXPO4.js → chunk-KZXOYL5D.js} +6 -4
  135. package/dist/chunk-QW3ROE6H.js +14 -0
  136. package/dist/chunk-WOUASZJW.cjs +14 -0
  137. package/dist/{chunk-CKLXVVGF.cjs → chunk-YCTBOY3T.cjs} +6 -4
  138. package/dist/index.cjs +27 -19
  139. package/dist/index.d.cts +85 -83
  140. package/dist/index.d.ts +85 -83
  141. package/dist/index.js +22 -14
  142. package/docs/automation.md +99 -17
  143. package/docs/chat.md +695 -0
  144. package/package.json +10 -1
  145. package/dist/README-NBWAQWQS.js +0 -7
  146. package/dist/README-XCIDDEAE.cjs +0 -7
  147. package/dist/automation-FTFGFHT7.cjs +0 -7
  148. package/dist/automation-HJGT6QK5.js +0 -7
  149. package/dist/chunk-ADSWGLIV.cjs +0 -14
  150. package/dist/chunk-LCE7N4ZL.js +0 -14
@@ -0,0 +1,7 @@
1
+ import "./chunk-YPSWSI3M.js";
2
+
3
+ // src/docs/README.json
4
+ var README_default = "<h1 align=\"center\"><img alt=\"epilot\" src=\"https://raw.githubusercontent.com/epilot-dev/sdk-js/main/logo.png\" width=\"200\"><br>@epilot/sdk</h1>\n\n<p align=\"center\">\n <a href=\"https://github.com/epilot-dev/sdk-js/actions?query=workflow%3ACI\"><img src=\"https://github.com/epilot-dev/sdk-js/workflows/CI/badge.svg\" alt=\"CI\"></a>\n <a href=\"https://www.npmjs.com/package/@epilot/sdk\"><img src=\"https://img.shields.io/npm/v/@epilot/sdk.svg\" alt=\"npm version\"></a>\n <a href=\"https://github.com/epilot-dev/sdk-js/blob/main/\"><img src=\"http://img.shields.io/:license-mit-blue.svg\" alt=\"License\"></a>\n</p>\n\n<p align=\"center\">JavaScript/TypeScript SDK for epilot APIs. Full types, tree-shakeable imports, and lazy-loaded OpenAPI specs.</p>\n\n## Install\n\n```bash\nnpm i @epilot/sdk axios openapi-client-axios\n```\n\n## Quick Start\n\n```ts\nimport { epilot } from '@epilot/sdk'\n\nepilot.authorize(() => '<my-bearer-token>')\n\nconst { data: entity } = await epilot.entity.createEntity(\n { slug: 'contact' },\n { first_name: 'John', last_name: 'Doe' },\n)\n\nconst { data: file } = await epilot.file.getFile({ id: 'file-123' })\n\nconst { data: executions } = await epilot.workflow.getExecutions()\n```\n\nAPI clients are built on [openapi-client-axios](https://openapistack.co/docs/openapi-client-axios/intro/), which generates fully typed operation methods on top of regular [axios](https://axios-http.com/docs/intro) instances. All standard axios features (interceptors, defaults, config) work as expected. Each operation is forwarded to a lazy singleton \u2014 the spec is loaded and the client initialized on first use, then cached.\n\nFull API documentation: [https://docs.epilot.io/api](https://docs.epilot.io/api)\n\n## API Reference\n\n<!-- api-reference-table -->\n| API | Import | Docs |\n| --- | ------ | ---- |\n| `epilot.accessToken` | `@epilot/sdk/access-token` | [docs](./docs/access-token.md) |\n| `epilot.address` | `@epilot/sdk/address` | [docs](./docs/address.md) |\n| `epilot.addressSuggestions` | `@epilot/sdk/address-suggestions` | [docs](./docs/address-suggestions.md) |\n| `epilot.aiAgents` | `@epilot/sdk/ai-agents` | [docs](./docs/ai-agents.md) |\n| `epilot.app` | `@epilot/sdk/app` | [docs](./docs/app.md) |\n| `epilot.auditLogs` | `@epilot/sdk/audit-logs` | [docs](./docs/audit-logs.md) |\n| `epilot.automation` | `@epilot/sdk/automation` | [docs](./docs/automation.md) |\n| `epilot.billing` | `@epilot/sdk/billing` | [docs](./docs/billing.md) |\n| `epilot.blueprintManifest` | `@epilot/sdk/blueprint-manifest` | [docs](./docs/blueprint-manifest.md) |\n| `epilot.calendar` | `@epilot/sdk/calendar` | [docs](./docs/calendar.md) |\n| `epilot.chat` | `@epilot/sdk/chat` | [docs](./docs/chat.md) |\n| `epilot.configurationHub` | `@epilot/sdk/configuration-hub` | [docs](./docs/configuration-hub.md) |\n| `epilot.consent` | `@epilot/sdk/consent` | [docs](./docs/consent.md) |\n| `epilot.customerPortal` | `@epilot/sdk/customer-portal` | [docs](./docs/customer-portal.md) |\n| `epilot.dashboard` | `@epilot/sdk/dashboard` | [docs](./docs/dashboard.md) |\n| `epilot.dataGovernance` | `@epilot/sdk/data-governance` | [docs](./docs/data-governance.md) |\n| `epilot.deduplication` | `@epilot/sdk/deduplication` | [docs](./docs/deduplication.md) |\n| `epilot.design` | `@epilot/sdk/design` | [docs](./docs/design.md) |\n| `epilot.document` | `@epilot/sdk/document` | [docs](./docs/document.md) |\n| `epilot.emailSettings` | `@epilot/sdk/email-settings` | [docs](./docs/email-settings.md) |\n| `epilot.emailTemplate` | `@epilot/sdk/email-template` | [docs](./docs/email-template.md) |\n| `epilot.entity` | `@epilot/sdk/entity` | [docs](./docs/entity.md) |\n| `epilot.entityMapping` | `@epilot/sdk/entity-mapping` | [docs](./docs/entity-mapping.md) |\n| `epilot.environments` | `@epilot/sdk/environments` | [docs](./docs/environments.md) |\n| `epilot.eventCatalog` | `@epilot/sdk/event-catalog` | [docs](./docs/event-catalog.md) |\n| `epilot.file` | `@epilot/sdk/file` | [docs](./docs/file.md) |\n| `epilot.iban` | `@epilot/sdk/iban` | [docs](./docs/iban.md) |\n| `epilot.integrationToolkit` | `@epilot/sdk/integration-toolkit` | [docs](./docs/integration-toolkit.md) |\n| `epilot.journey` | `@epilot/sdk/journey` | [docs](./docs/journey.md) |\n| `epilot.kanban` | `@epilot/sdk/kanban` | [docs](./docs/kanban.md) |\n| `epilot.message` | `@epilot/sdk/message` | [docs](./docs/message.md) |\n| `epilot.metering` | `@epilot/sdk/metering` | [docs](./docs/metering.md) |\n| `epilot.notes` | `@epilot/sdk/notes` | [docs](./docs/notes.md) |\n| `epilot.notification` | `@epilot/sdk/notification` | [docs](./docs/notification.md) |\n| `epilot.organization` | `@epilot/sdk/organization` | [docs](./docs/organization.md) |\n| `epilot.partnerDirectory` | `@epilot/sdk/partner-directory` | [docs](./docs/partner-directory.md) |\n| `epilot.permissions` | `@epilot/sdk/permissions` | [docs](./docs/permissions.md) |\n| `epilot.pricing` | `@epilot/sdk/pricing` | [docs](./docs/pricing.md) |\n| `epilot.pricingTier` | `@epilot/sdk/pricing-tier` | [docs](./docs/pricing-tier.md) |\n| `epilot.purpose` | `@epilot/sdk/purpose` | [docs](./docs/purpose.md) |\n| `epilot.query` | `@epilot/sdk/query` | [docs](./docs/query.md) |\n| `epilot.sandbox` | `@epilot/sdk/sandbox` | [docs](./docs/sandbox.md) |\n| `epilot.sharing` | `@epilot/sdk/sharing` | [docs](./docs/sharing.md) |\n| `epilot.snapshot` | `@epilot/sdk/snapshot` | [docs](./docs/snapshot.md) |\n| `epilot.submission` | `@epilot/sdk/submission` | [docs](./docs/submission.md) |\n| `epilot.targeting` | `@epilot/sdk/targeting` | [docs](./docs/targeting.md) |\n| `epilot.templateVariables` | `@epilot/sdk/template-variables` | [docs](./docs/template-variables.md) |\n| `epilot.user` | `@epilot/sdk/user` | [docs](./docs/user.md) |\n| `epilot.validationRules` | `@epilot/sdk/validation-rules` | [docs](./docs/validation-rules.md) |\n| `epilot.webhooks` | `@epilot/sdk/webhooks` | [docs](./docs/webhooks.md) |\n| `epilot.workflow` | `@epilot/sdk/workflow` | [docs](./docs/workflow.md) |\n| `epilot.workflowDefinition` | `@epilot/sdk/workflow-definition` | [docs](./docs/workflow-definition.md) |\n<!-- /api-reference-table -->\n\n## OpenAPI Spec\n\nRetrieve the full OpenAPI specification for any API at runtime. The spec is lazy-loaded on first call and cached.\n\n```ts\nimport { epilot } from '@epilot/sdk'\n\n// Via API handle\nconst entitySpec = await epilot.entity.openapi()\nconsole.log(entitySpec.info.title) // \"Entity API\"\nconsole.log(entitySpec.paths) // all paths with full schemas\n\n// Via top-level method\nconst spec = await epilot.openapi('entity')\n```\n\nFor tree-shakeable imports:\n\n```ts\nimport { openapi } from '@epilot/sdk/entity'\n\nconst spec = await openapi()\n```\n\n## Explicit Client Access\n\n```ts\nimport { epilot } from '@epilot/sdk'\n\nepilot.authorize(() => '<my-token>')\n\n// Get the cached singleton client\nconst entityClient = epilot.entity.getClient()\nconst { data } = await entityClient.getEntity({ slug: 'contact', id: '123' })\n\n// Create a fresh (non-singleton) client instance\nconst freshClient = epilot.entity.createClient()\nauthorize(freshClient, () => '<my-token>')\n```\n\n## Tree-Shakeable Imports\n\nImport only what you need. Other APIs never touch your bundle.\n\n```ts\nimport { getClient, authorize } from '@epilot/sdk/entity'\n\nconst entityClient = getClient()\nauthorize(entityClient, () => '<my-token>')\n\nconst { data } = await entityClient.getEntity({ slug: 'contact', id: '123' })\n\n// Or use the handle for direct operation forwarding\nimport { entity } from '@epilot/sdk/entity'\nconst { data } = await entity.getEntity({ slug: 'contact', id: '123' })\n```\n\n## Types\n\nEach API subpath re-exports all schema types generated from the OpenAPI spec. Import them directly:\n\n```ts\nimport type { Entity, EntitySchema, RelationAttribute } from '@epilot/sdk/entity'\nimport type { FileItem } from '@epilot/sdk/file'\nimport type { AutomationFlow } from '@epilot/sdk/automation'\n```\n\nThe `Client`, `OperationMethods`, and `PathsDictionary` types are also available for typing client instances:\n\n```ts\nimport type { Client } from '@epilot/sdk/entity'\n\nconst entityClient: Client = epilot.entity.getClient()\n```\n\n## Headers\n\n### Global Headers\n\nSet default headers applied to all clients. Useful for `x-epilot-org-id`, `x-epilot-user-id`, etc.\n\n```ts\nimport { epilot } from '@epilot/sdk'\n\nepilot.authorize(() => '<my-token>')\nepilot.headers({\n 'x-epilot-org-id': 'org-123',\n 'x-epilot-user-id': 'user-456',\n})\n\nconst { data } = await epilot.entity.searchEntities(...)\n```\n\n### Standard Axios Headers\n\nUse standard axios `defaults.headers.common` on individual clients:\n\n```ts\nconst entityClient = epilot.entity.getClient()\nentityClient.defaults.headers.common['x-epilot-org-id'] = 'org-123'\n```\n\n## Auth Patterns\n\n`authorize()` accepts a string or a function. The function form is preferred \u2014 it is called on every request, so tokens stay fresh.\n\n```ts\nimport { authorize } from '@epilot/sdk'\nimport { getClient } from '@epilot/sdk/entity'\n\n// Per-client \u2014 function predicate (recommended)\nconst entityClient = getClient()\nauthorize(entityClient, () => '<my-token>')\n\n// Per-client \u2014 async function (e.g. OAuth / session)\nauthorize(entityClient, async () => {\n return await getTokenFromSession()\n})\n\n// Per-client \u2014 static string (sets default header once)\nauthorize(entityClient, 'my-static-api-token')\n```\n\n```ts\n// Global \u2014 applies to all clients resolved from the SDK\nimport { epilot } from '@epilot/sdk'\n\nepilot.authorize(() => '<my-token>')\nepilot.authorize(async () => await getTokenFromSession())\nepilot.authorize('my-static-api-token')\n```\n\n## Fresh Client Instance\n\n```ts\nimport { createClient, authorize } from '@epilot/sdk/entity'\n\nconst entityClient = createClient()\nauthorize(entityClient, () => '<my-token>')\nentityClient.defaults.headers.common['x-epilot-org-id'] = 'org-123'\n```\n\n## Multiple SDK Instances\n\n```ts\nimport { createSDK } from '@epilot/sdk'\n\nconst sdk1 = createSDK()\nsdk1.authorize(() => '<token-for-org-1>')\nsdk1.headers({ 'x-epilot-org-id': 'org-1' })\n\nconst sdk2 = createSDK()\nsdk2.authorize(() => '<token-for-org-2>')\nsdk2.headers({ 'x-epilot-org-id': 'org-2' })\n```\n\n\n## Interceptors\n\nUse axios interceptors for custom request/response processing. Since clients are axios instances, you can use `client.interceptors` directly:\n\n```ts\nentityClient.interceptors.response.use((response) => {\n console.debug(`${response.config.method?.toUpperCase()} ${response.config.url}`, {\n status: response.status,\n data: response.data,\n })\n return response\n})\n```\n\nOr register global interceptors applied to all clients:\n\n```ts\nepilot.interceptors.request((config) => {\n config.headers['x-correlation-id'] = generateTraceId()\n return config\n})\n```\n\n## Auto-Retry (429 Too Many Requests)\n\nThe SDK automatically retries requests that receive a `429 Too Many Requests` response. It respects the `Retry-After` header (in seconds) to determine how long to wait before retrying.\n\nEnabled by default with up to 3 retries.\n\n```ts\nimport { epilot } from '@epilot/sdk'\n\n// Customize retry behavior\nepilot.retry({ maxRetries: 5, defaultDelayMs: 2000 })\n\n// Disable retries\nepilot.retry({ maxRetries: 0 })\n```\n\n| Option | Default | Description |\n| --- | --- | --- |\n| `maxRetries` | `3` | Maximum number of retries. Set to `0` to disable. |\n| `defaultDelayMs` | `1000` | Fallback delay in ms when `Retry-After` header is missing. |\n\nFor individually imported clients (tree-shakeable imports), apply the interceptor manually:\n\n```ts\nimport { getClient, authorize } from '@epilot/sdk/entity'\nimport { applyRetryInterceptor } from '@epilot/sdk'\n\nconst entityClient = getClient()\nauthorize(entityClient, () => '<my-token>')\napplyRetryInterceptor({ client: entityClient, config: { maxRetries: 3 } })\n```\n\n## Large Response Handling (413 Payload Too Large)\n\nepilot APIs use a [large response middleware](https://github.com/epilot-dev/aws-lambda-utility-middlewares) to work around the AWS Lambda 6MB response limit. When a response exceeds ~5.1MB, the API uploads the payload to S3 and returns a presigned URL instead.\n\nThe SDK handles this transparently \u2014 it sends the opt-in `Accept` header and automatically fetches the full payload from S3 when a large response URL is returned. Enabled by default.\n\n```ts\nimport { epilot } from '@epilot/sdk'\n\n// Disable large response handling\nepilot.largeResponse({ enabled: false })\n```\n\nFor individually imported clients (tree-shakeable imports), apply the interceptor manually:\n\n```ts\nimport { getClient, authorize } from '@epilot/sdk/entity'\nimport { applyLargeResponseInterceptor } from '@epilot/sdk'\n\nconst entityClient = getClient()\nauthorize(entityClient, () => '<my-token>')\napplyLargeResponseInterceptor({ client: entityClient, config: { enabled: true } })\n```\n\n## Overrides & Custom APIs\n\nOverride built-in API specs or register custom APIs via `.epilot/sdk-overrides.json`. This is useful for testing new versions of an API spec or getting the latest types without waiting for an SDK release.\n\n```json\n{\n \"entity\": \"./specs/entity-openapi.json\",\n \"myNewApi\": \"./specs/my-new-api-openapi.json\"\n}\n```\n\n```ts\n// Built-in API with overridden spec\nconst { data } = await epilot.entity.getEntity({ slug: 'contact', id: '123' })\n```\n\n### Override Commands\n\n```bash\n# Apply all overrides from .epilot/sdk-overrides.json\nnpx epilot-sdk override\n\n# Override a single API\nnpx epilot-sdk override entity ./my-local-entity-spec.yaml\n\n# Regenerate types after spec changes\nnpx epilot-sdk typegen\n```\n\n<details>\n<summary>Migration from <code>@epilot/*-client</code></summary>\n\nDrop-in replacement \u2014 just change the import path:\n\n```ts\n// Before\nimport { getClient, createClient, authorize } from '@epilot/entity-client'\nimport type { Client, Entity } from '@epilot/entity-client'\n\n// After\nimport { getClient, createClient, authorize } from '@epilot/sdk/entity'\nimport type { Client, Entity } from '@epilot/sdk/entity'\n```\n\n</details>\n\n<details>\n<summary>Client Lifecycle</summary>\n\nWhen you call `authorize()`, `headers()`, `retry()`, `largeResponse()`, or `interceptors`, the SDK invalidates all cached client instances. The next operation call creates a fresh client with the updated configuration.\n\n**Operation methods are always up to date** \u2014 calls like `epilot.entity.getEntity(...)` re-resolve the client on every invocation, so they always use the latest config.\n\n**Direct `getClient()` references can go stale** \u2014 if you hold a reference and then change config, your reference still points to the old client:\n\n```ts\nconst entityClient = epilot.entity.getClient()\n\nepilot.authorize('new-token') // invalidates all cached clients\n\n// entityClient still has the old token\n// epilot.entity.getEntity(...) will use a new client with the new token\n```\n\nIf you need a long-lived reference that survives config changes, call `getClient()` again after changing config, or use operation methods directly.\n\n</details>\n";
5
+ export {
6
+ README_default as default
7
+ };
@@ -0,0 +1,7 @@
1
+ "use strict";Object.defineProperty(exports, "__esModule", {value: true});require('./chunk-NJK5F5TF.cjs');
2
+
3
+ // src/docs/README.json
4
+ var README_default = "<h1 align=\"center\"><img alt=\"epilot\" src=\"https://raw.githubusercontent.com/epilot-dev/sdk-js/main/logo.png\" width=\"200\"><br>@epilot/sdk</h1>\n\n<p align=\"center\">\n <a href=\"https://github.com/epilot-dev/sdk-js/actions?query=workflow%3ACI\"><img src=\"https://github.com/epilot-dev/sdk-js/workflows/CI/badge.svg\" alt=\"CI\"></a>\n <a href=\"https://www.npmjs.com/package/@epilot/sdk\"><img src=\"https://img.shields.io/npm/v/@epilot/sdk.svg\" alt=\"npm version\"></a>\n <a href=\"https://github.com/epilot-dev/sdk-js/blob/main/\"><img src=\"http://img.shields.io/:license-mit-blue.svg\" alt=\"License\"></a>\n</p>\n\n<p align=\"center\">JavaScript/TypeScript SDK for epilot APIs. Full types, tree-shakeable imports, and lazy-loaded OpenAPI specs.</p>\n\n## Install\n\n```bash\nnpm i @epilot/sdk axios openapi-client-axios\n```\n\n## Quick Start\n\n```ts\nimport { epilot } from '@epilot/sdk'\n\nepilot.authorize(() => '<my-bearer-token>')\n\nconst { data: entity } = await epilot.entity.createEntity(\n { slug: 'contact' },\n { first_name: 'John', last_name: 'Doe' },\n)\n\nconst { data: file } = await epilot.file.getFile({ id: 'file-123' })\n\nconst { data: executions } = await epilot.workflow.getExecutions()\n```\n\nAPI clients are built on [openapi-client-axios](https://openapistack.co/docs/openapi-client-axios/intro/), which generates fully typed operation methods on top of regular [axios](https://axios-http.com/docs/intro) instances. All standard axios features (interceptors, defaults, config) work as expected. Each operation is forwarded to a lazy singleton \u2014 the spec is loaded and the client initialized on first use, then cached.\n\nFull API documentation: [https://docs.epilot.io/api](https://docs.epilot.io/api)\n\n## API Reference\n\n<!-- api-reference-table -->\n| API | Import | Docs |\n| --- | ------ | ---- |\n| `epilot.accessToken` | `@epilot/sdk/access-token` | [docs](./docs/access-token.md) |\n| `epilot.address` | `@epilot/sdk/address` | [docs](./docs/address.md) |\n| `epilot.addressSuggestions` | `@epilot/sdk/address-suggestions` | [docs](./docs/address-suggestions.md) |\n| `epilot.aiAgents` | `@epilot/sdk/ai-agents` | [docs](./docs/ai-agents.md) |\n| `epilot.app` | `@epilot/sdk/app` | [docs](./docs/app.md) |\n| `epilot.auditLogs` | `@epilot/sdk/audit-logs` | [docs](./docs/audit-logs.md) |\n| `epilot.automation` | `@epilot/sdk/automation` | [docs](./docs/automation.md) |\n| `epilot.billing` | `@epilot/sdk/billing` | [docs](./docs/billing.md) |\n| `epilot.blueprintManifest` | `@epilot/sdk/blueprint-manifest` | [docs](./docs/blueprint-manifest.md) |\n| `epilot.calendar` | `@epilot/sdk/calendar` | [docs](./docs/calendar.md) |\n| `epilot.chat` | `@epilot/sdk/chat` | [docs](./docs/chat.md) |\n| `epilot.configurationHub` | `@epilot/sdk/configuration-hub` | [docs](./docs/configuration-hub.md) |\n| `epilot.consent` | `@epilot/sdk/consent` | [docs](./docs/consent.md) |\n| `epilot.customerPortal` | `@epilot/sdk/customer-portal` | [docs](./docs/customer-portal.md) |\n| `epilot.dashboard` | `@epilot/sdk/dashboard` | [docs](./docs/dashboard.md) |\n| `epilot.dataGovernance` | `@epilot/sdk/data-governance` | [docs](./docs/data-governance.md) |\n| `epilot.deduplication` | `@epilot/sdk/deduplication` | [docs](./docs/deduplication.md) |\n| `epilot.design` | `@epilot/sdk/design` | [docs](./docs/design.md) |\n| `epilot.document` | `@epilot/sdk/document` | [docs](./docs/document.md) |\n| `epilot.emailSettings` | `@epilot/sdk/email-settings` | [docs](./docs/email-settings.md) |\n| `epilot.emailTemplate` | `@epilot/sdk/email-template` | [docs](./docs/email-template.md) |\n| `epilot.entity` | `@epilot/sdk/entity` | [docs](./docs/entity.md) |\n| `epilot.entityMapping` | `@epilot/sdk/entity-mapping` | [docs](./docs/entity-mapping.md) |\n| `epilot.environments` | `@epilot/sdk/environments` | [docs](./docs/environments.md) |\n| `epilot.eventCatalog` | `@epilot/sdk/event-catalog` | [docs](./docs/event-catalog.md) |\n| `epilot.file` | `@epilot/sdk/file` | [docs](./docs/file.md) |\n| `epilot.iban` | `@epilot/sdk/iban` | [docs](./docs/iban.md) |\n| `epilot.integrationToolkit` | `@epilot/sdk/integration-toolkit` | [docs](./docs/integration-toolkit.md) |\n| `epilot.journey` | `@epilot/sdk/journey` | [docs](./docs/journey.md) |\n| `epilot.kanban` | `@epilot/sdk/kanban` | [docs](./docs/kanban.md) |\n| `epilot.message` | `@epilot/sdk/message` | [docs](./docs/message.md) |\n| `epilot.metering` | `@epilot/sdk/metering` | [docs](./docs/metering.md) |\n| `epilot.notes` | `@epilot/sdk/notes` | [docs](./docs/notes.md) |\n| `epilot.notification` | `@epilot/sdk/notification` | [docs](./docs/notification.md) |\n| `epilot.organization` | `@epilot/sdk/organization` | [docs](./docs/organization.md) |\n| `epilot.partnerDirectory` | `@epilot/sdk/partner-directory` | [docs](./docs/partner-directory.md) |\n| `epilot.permissions` | `@epilot/sdk/permissions` | [docs](./docs/permissions.md) |\n| `epilot.pricing` | `@epilot/sdk/pricing` | [docs](./docs/pricing.md) |\n| `epilot.pricingTier` | `@epilot/sdk/pricing-tier` | [docs](./docs/pricing-tier.md) |\n| `epilot.purpose` | `@epilot/sdk/purpose` | [docs](./docs/purpose.md) |\n| `epilot.query` | `@epilot/sdk/query` | [docs](./docs/query.md) |\n| `epilot.sandbox` | `@epilot/sdk/sandbox` | [docs](./docs/sandbox.md) |\n| `epilot.sharing` | `@epilot/sdk/sharing` | [docs](./docs/sharing.md) |\n| `epilot.snapshot` | `@epilot/sdk/snapshot` | [docs](./docs/snapshot.md) |\n| `epilot.submission` | `@epilot/sdk/submission` | [docs](./docs/submission.md) |\n| `epilot.targeting` | `@epilot/sdk/targeting` | [docs](./docs/targeting.md) |\n| `epilot.templateVariables` | `@epilot/sdk/template-variables` | [docs](./docs/template-variables.md) |\n| `epilot.user` | `@epilot/sdk/user` | [docs](./docs/user.md) |\n| `epilot.validationRules` | `@epilot/sdk/validation-rules` | [docs](./docs/validation-rules.md) |\n| `epilot.webhooks` | `@epilot/sdk/webhooks` | [docs](./docs/webhooks.md) |\n| `epilot.workflow` | `@epilot/sdk/workflow` | [docs](./docs/workflow.md) |\n| `epilot.workflowDefinition` | `@epilot/sdk/workflow-definition` | [docs](./docs/workflow-definition.md) |\n<!-- /api-reference-table -->\n\n## OpenAPI Spec\n\nRetrieve the full OpenAPI specification for any API at runtime. The spec is lazy-loaded on first call and cached.\n\n```ts\nimport { epilot } from '@epilot/sdk'\n\n// Via API handle\nconst entitySpec = await epilot.entity.openapi()\nconsole.log(entitySpec.info.title) // \"Entity API\"\nconsole.log(entitySpec.paths) // all paths with full schemas\n\n// Via top-level method\nconst spec = await epilot.openapi('entity')\n```\n\nFor tree-shakeable imports:\n\n```ts\nimport { openapi } from '@epilot/sdk/entity'\n\nconst spec = await openapi()\n```\n\n## Explicit Client Access\n\n```ts\nimport { epilot } from '@epilot/sdk'\n\nepilot.authorize(() => '<my-token>')\n\n// Get the cached singleton client\nconst entityClient = epilot.entity.getClient()\nconst { data } = await entityClient.getEntity({ slug: 'contact', id: '123' })\n\n// Create a fresh (non-singleton) client instance\nconst freshClient = epilot.entity.createClient()\nauthorize(freshClient, () => '<my-token>')\n```\n\n## Tree-Shakeable Imports\n\nImport only what you need. Other APIs never touch your bundle.\n\n```ts\nimport { getClient, authorize } from '@epilot/sdk/entity'\n\nconst entityClient = getClient()\nauthorize(entityClient, () => '<my-token>')\n\nconst { data } = await entityClient.getEntity({ slug: 'contact', id: '123' })\n\n// Or use the handle for direct operation forwarding\nimport { entity } from '@epilot/sdk/entity'\nconst { data } = await entity.getEntity({ slug: 'contact', id: '123' })\n```\n\n## Types\n\nEach API subpath re-exports all schema types generated from the OpenAPI spec. Import them directly:\n\n```ts\nimport type { Entity, EntitySchema, RelationAttribute } from '@epilot/sdk/entity'\nimport type { FileItem } from '@epilot/sdk/file'\nimport type { AutomationFlow } from '@epilot/sdk/automation'\n```\n\nThe `Client`, `OperationMethods`, and `PathsDictionary` types are also available for typing client instances:\n\n```ts\nimport type { Client } from '@epilot/sdk/entity'\n\nconst entityClient: Client = epilot.entity.getClient()\n```\n\n## Headers\n\n### Global Headers\n\nSet default headers applied to all clients. Useful for `x-epilot-org-id`, `x-epilot-user-id`, etc.\n\n```ts\nimport { epilot } from '@epilot/sdk'\n\nepilot.authorize(() => '<my-token>')\nepilot.headers({\n 'x-epilot-org-id': 'org-123',\n 'x-epilot-user-id': 'user-456',\n})\n\nconst { data } = await epilot.entity.searchEntities(...)\n```\n\n### Standard Axios Headers\n\nUse standard axios `defaults.headers.common` on individual clients:\n\n```ts\nconst entityClient = epilot.entity.getClient()\nentityClient.defaults.headers.common['x-epilot-org-id'] = 'org-123'\n```\n\n## Auth Patterns\n\n`authorize()` accepts a string or a function. The function form is preferred \u2014 it is called on every request, so tokens stay fresh.\n\n```ts\nimport { authorize } from '@epilot/sdk'\nimport { getClient } from '@epilot/sdk/entity'\n\n// Per-client \u2014 function predicate (recommended)\nconst entityClient = getClient()\nauthorize(entityClient, () => '<my-token>')\n\n// Per-client \u2014 async function (e.g. OAuth / session)\nauthorize(entityClient, async () => {\n return await getTokenFromSession()\n})\n\n// Per-client \u2014 static string (sets default header once)\nauthorize(entityClient, 'my-static-api-token')\n```\n\n```ts\n// Global \u2014 applies to all clients resolved from the SDK\nimport { epilot } from '@epilot/sdk'\n\nepilot.authorize(() => '<my-token>')\nepilot.authorize(async () => await getTokenFromSession())\nepilot.authorize('my-static-api-token')\n```\n\n## Fresh Client Instance\n\n```ts\nimport { createClient, authorize } from '@epilot/sdk/entity'\n\nconst entityClient = createClient()\nauthorize(entityClient, () => '<my-token>')\nentityClient.defaults.headers.common['x-epilot-org-id'] = 'org-123'\n```\n\n## Multiple SDK Instances\n\n```ts\nimport { createSDK } from '@epilot/sdk'\n\nconst sdk1 = createSDK()\nsdk1.authorize(() => '<token-for-org-1>')\nsdk1.headers({ 'x-epilot-org-id': 'org-1' })\n\nconst sdk2 = createSDK()\nsdk2.authorize(() => '<token-for-org-2>')\nsdk2.headers({ 'x-epilot-org-id': 'org-2' })\n```\n\n\n## Interceptors\n\nUse axios interceptors for custom request/response processing. Since clients are axios instances, you can use `client.interceptors` directly:\n\n```ts\nentityClient.interceptors.response.use((response) => {\n console.debug(`${response.config.method?.toUpperCase()} ${response.config.url}`, {\n status: response.status,\n data: response.data,\n })\n return response\n})\n```\n\nOr register global interceptors applied to all clients:\n\n```ts\nepilot.interceptors.request((config) => {\n config.headers['x-correlation-id'] = generateTraceId()\n return config\n})\n```\n\n## Auto-Retry (429 Too Many Requests)\n\nThe SDK automatically retries requests that receive a `429 Too Many Requests` response. It respects the `Retry-After` header (in seconds) to determine how long to wait before retrying.\n\nEnabled by default with up to 3 retries.\n\n```ts\nimport { epilot } from '@epilot/sdk'\n\n// Customize retry behavior\nepilot.retry({ maxRetries: 5, defaultDelayMs: 2000 })\n\n// Disable retries\nepilot.retry({ maxRetries: 0 })\n```\n\n| Option | Default | Description |\n| --- | --- | --- |\n| `maxRetries` | `3` | Maximum number of retries. Set to `0` to disable. |\n| `defaultDelayMs` | `1000` | Fallback delay in ms when `Retry-After` header is missing. |\n\nFor individually imported clients (tree-shakeable imports), apply the interceptor manually:\n\n```ts\nimport { getClient, authorize } from '@epilot/sdk/entity'\nimport { applyRetryInterceptor } from '@epilot/sdk'\n\nconst entityClient = getClient()\nauthorize(entityClient, () => '<my-token>')\napplyRetryInterceptor({ client: entityClient, config: { maxRetries: 3 } })\n```\n\n## Large Response Handling (413 Payload Too Large)\n\nepilot APIs use a [large response middleware](https://github.com/epilot-dev/aws-lambda-utility-middlewares) to work around the AWS Lambda 6MB response limit. When a response exceeds ~5.1MB, the API uploads the payload to S3 and returns a presigned URL instead.\n\nThe SDK handles this transparently \u2014 it sends the opt-in `Accept` header and automatically fetches the full payload from S3 when a large response URL is returned. Enabled by default.\n\n```ts\nimport { epilot } from '@epilot/sdk'\n\n// Disable large response handling\nepilot.largeResponse({ enabled: false })\n```\n\nFor individually imported clients (tree-shakeable imports), apply the interceptor manually:\n\n```ts\nimport { getClient, authorize } from '@epilot/sdk/entity'\nimport { applyLargeResponseInterceptor } from '@epilot/sdk'\n\nconst entityClient = getClient()\nauthorize(entityClient, () => '<my-token>')\napplyLargeResponseInterceptor({ client: entityClient, config: { enabled: true } })\n```\n\n## Overrides & Custom APIs\n\nOverride built-in API specs or register custom APIs via `.epilot/sdk-overrides.json`. This is useful for testing new versions of an API spec or getting the latest types without waiting for an SDK release.\n\n```json\n{\n \"entity\": \"./specs/entity-openapi.json\",\n \"myNewApi\": \"./specs/my-new-api-openapi.json\"\n}\n```\n\n```ts\n// Built-in API with overridden spec\nconst { data } = await epilot.entity.getEntity({ slug: 'contact', id: '123' })\n```\n\n### Override Commands\n\n```bash\n# Apply all overrides from .epilot/sdk-overrides.json\nnpx epilot-sdk override\n\n# Override a single API\nnpx epilot-sdk override entity ./my-local-entity-spec.yaml\n\n# Regenerate types after spec changes\nnpx epilot-sdk typegen\n```\n\n<details>\n<summary>Migration from <code>@epilot/*-client</code></summary>\n\nDrop-in replacement \u2014 just change the import path:\n\n```ts\n// Before\nimport { getClient, createClient, authorize } from '@epilot/entity-client'\nimport type { Client, Entity } from '@epilot/entity-client'\n\n// After\nimport { getClient, createClient, authorize } from '@epilot/sdk/entity'\nimport type { Client, Entity } from '@epilot/sdk/entity'\n```\n\n</details>\n\n<details>\n<summary>Client Lifecycle</summary>\n\nWhen you call `authorize()`, `headers()`, `retry()`, `largeResponse()`, or `interceptors`, the SDK invalidates all cached client instances. The next operation call creates a fresh client with the updated configuration.\n\n**Operation methods are always up to date** \u2014 calls like `epilot.entity.getEntity(...)` re-resolve the client on every invocation, so they always use the latest config.\n\n**Direct `getClient()` references can go stale** \u2014 if you hold a reference and then change config, your reference still points to the old client:\n\n```ts\nconst entityClient = epilot.entity.getClient()\n\nepilot.authorize('new-token') // invalidates all cached clients\n\n// entityClient still has the old token\n// epilot.entity.getEntity(...) will use a new client with the new token\n```\n\nIf you need a long-lived reference that survives config changes, call `getClient()` again after changing config, or use operation methods directly.\n\n</details>\n";
5
+
6
+
7
+ exports.default = README_default;
@@ -11,6 +11,7 @@ var automation = "automation";
11
11
  var billing = "billing";
12
12
  var blueprintManifest = "blueprint-manifest";
13
13
  var calendar = "calendar";
14
+ var chat = "chat";
14
15
  var configurationHub = "configuration-hub";
15
16
  var consent = "consent";
16
17
  var customerPortal = "customer-portal";
@@ -63,6 +64,7 @@ var index_default = {
63
64
  billing,
64
65
  blueprintManifest,
65
66
  calendar,
67
+ chat,
66
68
  configurationHub,
67
69
  consent,
68
70
  customerPortal,
@@ -158,4 +160,5 @@ var index_default = {
158
160
 
159
161
 
160
162
 
161
- exports.accessToken = accessToken; exports.address = address; exports.addressSuggestions = addressSuggestions; exports.aiAgents = aiAgents; exports.app = app; exports.auditLogs = auditLogs; exports.automation = automation; exports.billing = billing; exports.blueprintManifest = blueprintManifest; exports.calendar = calendar; exports.configurationHub = configurationHub; exports.consent = consent; exports.customerPortal = customerPortal; exports.dashboard = dashboard; exports.dataGovernance = dataGovernance; exports.deduplication = deduplication; exports.default = index_default; exports.design = design; exports.document = document; exports.emailSettings = emailSettings; exports.emailTemplate = emailTemplate; exports.entity = entity; exports.entityMapping = entityMapping; exports.environments = environments; exports.eventCatalog = eventCatalog; exports.file = file; exports.iban = iban; exports.integrationToolkit = integrationToolkit; exports.journey = journey; exports.kanban = kanban; exports.message = message; exports.metering = metering; exports.notes = notes; exports.notification = notification; exports.organization = organization; exports.partnerDirectory = partnerDirectory; exports.permissions = permissions; exports.pricing = pricing; exports.pricingTier = pricingTier; exports.purpose = purpose; exports.query = query; exports.sandbox = sandbox; exports.sharing = sharing; exports.snapshot = snapshot; exports.submission = submission; exports.targeting = targeting; exports.templateVariables = templateVariables; exports.user = user; exports.validationRules = validationRules; exports.webhooks = webhooks; exports.workflow = workflow; exports.workflowDefinition = workflowDefinition;
163
+
164
+ exports.accessToken = accessToken; exports.address = address; exports.addressSuggestions = addressSuggestions; exports.aiAgents = aiAgents; exports.app = app; exports.auditLogs = auditLogs; exports.automation = automation; exports.billing = billing; exports.blueprintManifest = blueprintManifest; exports.calendar = calendar; exports.chat = chat; exports.configurationHub = configurationHub; exports.consent = consent; exports.customerPortal = customerPortal; exports.dashboard = dashboard; exports.dataGovernance = dataGovernance; exports.deduplication = deduplication; exports.default = index_default; exports.design = design; exports.document = document; exports.emailSettings = emailSettings; exports.emailTemplate = emailTemplate; exports.entity = entity; exports.entityMapping = entityMapping; exports.environments = environments; exports.eventCatalog = eventCatalog; exports.file = file; exports.iban = iban; exports.integrationToolkit = integrationToolkit; exports.journey = journey; exports.kanban = kanban; exports.message = message; exports.metering = metering; exports.notes = notes; exports.notification = notification; exports.organization = organization; exports.partnerDirectory = partnerDirectory; exports.permissions = permissions; exports.pricing = pricing; exports.pricingTier = pricingTier; exports.purpose = purpose; exports.query = query; exports.sandbox = sandbox; exports.sharing = sharing; exports.snapshot = snapshot; exports.submission = submission; exports.targeting = targeting; exports.templateVariables = templateVariables; exports.user = user; exports.validationRules = validationRules; exports.webhooks = webhooks; exports.workflow = workflow; exports.workflowDefinition = workflowDefinition;
@@ -11,6 +11,7 @@ var automation = "automation";
11
11
  var billing = "billing";
12
12
  var blueprintManifest = "blueprint-manifest";
13
13
  var calendar = "calendar";
14
+ var chat = "chat";
14
15
  var configurationHub = "configuration-hub";
15
16
  var consent = "consent";
16
17
  var customerPortal = "customer-portal";
@@ -63,6 +64,7 @@ var index_default = {
63
64
  billing,
64
65
  blueprintManifest,
65
66
  calendar,
67
+ chat,
66
68
  configurationHub,
67
69
  consent,
68
70
  customerPortal,
@@ -116,6 +118,7 @@ export {
116
118
  billing,
117
119
  blueprintManifest,
118
120
  calendar,
121
+ chat,
119
122
  configurationHub,
120
123
  consent,
121
124
  customerPortal,
@@ -6,25 +6,25 @@ var _chunkZMBA3WV4cjs = require('../chunk-ZMBA3WV4.cjs');
6
6
 
7
7
 
8
8
 
9
- var _chunkCKLXVVGFcjs = require('../chunk-CKLXVVGF.cjs');
9
+ var _chunkYCTBOY3Tcjs = require('../chunk-YCTBOY3T.cjs');
10
10
  require('../chunk-NJK5F5TF.cjs');
11
11
 
12
12
  // src/apis/access-token.ts
13
13
  var loadDefinition = () => {
14
14
  const mod = _chunkZMBA3WV4cjs.require_access_token_runtime.call(void 0, );
15
- return _chunkCKLXVVGFcjs.expand.call(void 0, _nullishCoalesce(mod.default, () => ( mod)));
15
+ return _chunkYCTBOY3Tcjs.expand.call(void 0, _nullishCoalesce(mod.default, () => ( mod)));
16
16
  };
17
17
  var _instance = null;
18
18
  var resolve = () => {
19
19
  if (!_instance) {
20
20
  const def = loadDefinition();
21
- _instance = _chunkCKLXVVGFcjs.createApiClient.call(void 0, { definition: def, apiName: "accessToken" });
21
+ _instance = _chunkYCTBOY3Tcjs.createApiClient.call(void 0, { definition: def, apiName: "accessToken" });
22
22
  }
23
23
  return _instance;
24
24
  };
25
- var _handle = _chunkCKLXVVGFcjs.createApiHandle.call(void 0, {
25
+ var _handle = _chunkYCTBOY3Tcjs.createApiHandle.call(void 0, {
26
26
  resolveClient: resolve,
27
- createClient: () => _chunkCKLXVVGFcjs.createApiClient.call(void 0, { definition: loadDefinition(), apiName: "accessToken" }),
27
+ createClient: () => _chunkYCTBOY3Tcjs.createApiClient.call(void 0, { definition: loadDefinition(), apiName: "accessToken" }),
28
28
  apiName: "accessToken"
29
29
  });
30
30
  var getClient = _handle.getClient;
@@ -35,4 +35,4 @@ var accessToken = _handle;
35
35
 
36
36
 
37
37
 
38
- exports.accessToken = accessToken; exports.authorize = _chunkCKLXVVGFcjs.authorize; exports.createClient = createClient; exports.getClient = getClient;
38
+ exports.accessToken = accessToken; exports.authorize = _chunkYCTBOY3Tcjs.authorize; exports.createClient = createClient; exports.getClient = getClient;
@@ -6,7 +6,7 @@ import {
6
6
  createApiClient,
7
7
  createApiHandle,
8
8
  expand
9
- } from "../chunk-6LUOXPO4.js";
9
+ } from "../chunk-KZXOYL5D.js";
10
10
  import "../chunk-YPSWSI3M.js";
11
11
 
12
12
  // src/apis/access-token.ts
@@ -6,25 +6,25 @@ var _chunkLKRBFBFNcjs = require('../chunk-LKRBFBFN.cjs');
6
6
 
7
7
 
8
8
 
9
- var _chunkCKLXVVGFcjs = require('../chunk-CKLXVVGF.cjs');
9
+ var _chunkYCTBOY3Tcjs = require('../chunk-YCTBOY3T.cjs');
10
10
  require('../chunk-NJK5F5TF.cjs');
11
11
 
12
12
  // src/apis/address-suggestions.ts
13
13
  var loadDefinition = () => {
14
14
  const mod = _chunkLKRBFBFNcjs.require_address_suggestions_runtime.call(void 0, );
15
- return _chunkCKLXVVGFcjs.expand.call(void 0, _nullishCoalesce(mod.default, () => ( mod)));
15
+ return _chunkYCTBOY3Tcjs.expand.call(void 0, _nullishCoalesce(mod.default, () => ( mod)));
16
16
  };
17
17
  var _instance = null;
18
18
  var resolve = () => {
19
19
  if (!_instance) {
20
20
  const def = loadDefinition();
21
- _instance = _chunkCKLXVVGFcjs.createApiClient.call(void 0, { definition: def, apiName: "addressSuggestions" });
21
+ _instance = _chunkYCTBOY3Tcjs.createApiClient.call(void 0, { definition: def, apiName: "addressSuggestions" });
22
22
  }
23
23
  return _instance;
24
24
  };
25
- var _handle = _chunkCKLXVVGFcjs.createApiHandle.call(void 0, {
25
+ var _handle = _chunkYCTBOY3Tcjs.createApiHandle.call(void 0, {
26
26
  resolveClient: resolve,
27
- createClient: () => _chunkCKLXVVGFcjs.createApiClient.call(void 0, { definition: loadDefinition(), apiName: "addressSuggestions" }),
27
+ createClient: () => _chunkYCTBOY3Tcjs.createApiClient.call(void 0, { definition: loadDefinition(), apiName: "addressSuggestions" }),
28
28
  apiName: "addressSuggestions"
29
29
  });
30
30
  var getClient = _handle.getClient;
@@ -35,4 +35,4 @@ var addressSuggestions = _handle;
35
35
 
36
36
 
37
37
 
38
- exports.addressSuggestions = addressSuggestions; exports.authorize = _chunkCKLXVVGFcjs.authorize; exports.createClient = createClient; exports.getClient = getClient;
38
+ exports.addressSuggestions = addressSuggestions; exports.authorize = _chunkYCTBOY3Tcjs.authorize; exports.createClient = createClient; exports.getClient = getClient;
@@ -6,7 +6,7 @@ import {
6
6
  createApiClient,
7
7
  createApiHandle,
8
8
  expand
9
- } from "../chunk-6LUOXPO4.js";
9
+ } from "../chunk-KZXOYL5D.js";
10
10
  import "../chunk-YPSWSI3M.js";
11
11
 
12
12
  // src/apis/address-suggestions.ts
@@ -6,25 +6,25 @@ var _chunkT67ZXTVGcjs = require('../chunk-T67ZXTVG.cjs');
6
6
 
7
7
 
8
8
 
9
- var _chunkCKLXVVGFcjs = require('../chunk-CKLXVVGF.cjs');
9
+ var _chunkYCTBOY3Tcjs = require('../chunk-YCTBOY3T.cjs');
10
10
  require('../chunk-NJK5F5TF.cjs');
11
11
 
12
12
  // src/apis/address.ts
13
13
  var loadDefinition = () => {
14
14
  const mod = _chunkT67ZXTVGcjs.require_address_runtime.call(void 0, );
15
- return _chunkCKLXVVGFcjs.expand.call(void 0, _nullishCoalesce(mod.default, () => ( mod)));
15
+ return _chunkYCTBOY3Tcjs.expand.call(void 0, _nullishCoalesce(mod.default, () => ( mod)));
16
16
  };
17
17
  var _instance = null;
18
18
  var resolve = () => {
19
19
  if (!_instance) {
20
20
  const def = loadDefinition();
21
- _instance = _chunkCKLXVVGFcjs.createApiClient.call(void 0, { definition: def, apiName: "address" });
21
+ _instance = _chunkYCTBOY3Tcjs.createApiClient.call(void 0, { definition: def, apiName: "address" });
22
22
  }
23
23
  return _instance;
24
24
  };
25
- var _handle = _chunkCKLXVVGFcjs.createApiHandle.call(void 0, {
25
+ var _handle = _chunkYCTBOY3Tcjs.createApiHandle.call(void 0, {
26
26
  resolveClient: resolve,
27
- createClient: () => _chunkCKLXVVGFcjs.createApiClient.call(void 0, { definition: loadDefinition(), apiName: "address" }),
27
+ createClient: () => _chunkYCTBOY3Tcjs.createApiClient.call(void 0, { definition: loadDefinition(), apiName: "address" }),
28
28
  apiName: "address"
29
29
  });
30
30
  var getClient = _handle.getClient;
@@ -35,4 +35,4 @@ var address = _handle;
35
35
 
36
36
 
37
37
 
38
- exports.address = address; exports.authorize = _chunkCKLXVVGFcjs.authorize; exports.createClient = createClient; exports.getClient = getClient;
38
+ exports.address = address; exports.authorize = _chunkYCTBOY3Tcjs.authorize; exports.createClient = createClient; exports.getClient = getClient;
@@ -6,7 +6,7 @@ import {
6
6
  createApiClient,
7
7
  createApiHandle,
8
8
  expand
9
- } from "../chunk-6LUOXPO4.js";
9
+ } from "../chunk-KZXOYL5D.js";
10
10
  import "../chunk-YPSWSI3M.js";
11
11
 
12
12
  // src/apis/address.ts
@@ -6,25 +6,25 @@ var _chunkGD6KHA54cjs = require('../chunk-GD6KHA54.cjs');
6
6
 
7
7
 
8
8
 
9
- var _chunkCKLXVVGFcjs = require('../chunk-CKLXVVGF.cjs');
9
+ var _chunkYCTBOY3Tcjs = require('../chunk-YCTBOY3T.cjs');
10
10
  require('../chunk-NJK5F5TF.cjs');
11
11
 
12
12
  // src/apis/ai-agents.ts
13
13
  var loadDefinition = () => {
14
14
  const mod = _chunkGD6KHA54cjs.require_ai_agents_runtime.call(void 0, );
15
- return _chunkCKLXVVGFcjs.expand.call(void 0, _nullishCoalesce(mod.default, () => ( mod)));
15
+ return _chunkYCTBOY3Tcjs.expand.call(void 0, _nullishCoalesce(mod.default, () => ( mod)));
16
16
  };
17
17
  var _instance = null;
18
18
  var resolve = () => {
19
19
  if (!_instance) {
20
20
  const def = loadDefinition();
21
- _instance = _chunkCKLXVVGFcjs.createApiClient.call(void 0, { definition: def, apiName: "aiAgents" });
21
+ _instance = _chunkYCTBOY3Tcjs.createApiClient.call(void 0, { definition: def, apiName: "aiAgents" });
22
22
  }
23
23
  return _instance;
24
24
  };
25
- var _handle = _chunkCKLXVVGFcjs.createApiHandle.call(void 0, {
25
+ var _handle = _chunkYCTBOY3Tcjs.createApiHandle.call(void 0, {
26
26
  resolveClient: resolve,
27
- createClient: () => _chunkCKLXVVGFcjs.createApiClient.call(void 0, { definition: loadDefinition(), apiName: "aiAgents" }),
27
+ createClient: () => _chunkYCTBOY3Tcjs.createApiClient.call(void 0, { definition: loadDefinition(), apiName: "aiAgents" }),
28
28
  apiName: "aiAgents"
29
29
  });
30
30
  var getClient = _handle.getClient;
@@ -35,4 +35,4 @@ var aiAgents = _handle;
35
35
 
36
36
 
37
37
 
38
- exports.aiAgents = aiAgents; exports.authorize = _chunkCKLXVVGFcjs.authorize; exports.createClient = createClient; exports.getClient = getClient;
38
+ exports.aiAgents = aiAgents; exports.authorize = _chunkYCTBOY3Tcjs.authorize; exports.createClient = createClient; exports.getClient = getClient;
@@ -6,7 +6,7 @@ import {
6
6
  createApiClient,
7
7
  createApiHandle,
8
8
  expand
9
- } from "../chunk-6LUOXPO4.js";
9
+ } from "../chunk-KZXOYL5D.js";
10
10
  import "../chunk-YPSWSI3M.js";
11
11
 
12
12
  // src/apis/ai-agents.ts
package/dist/apis/app.cjs CHANGED
@@ -6,25 +6,25 @@ var _chunkN2P6RELZcjs = require('../chunk-N2P6RELZ.cjs');
6
6
 
7
7
 
8
8
 
9
- var _chunkCKLXVVGFcjs = require('../chunk-CKLXVVGF.cjs');
9
+ var _chunkYCTBOY3Tcjs = require('../chunk-YCTBOY3T.cjs');
10
10
  require('../chunk-NJK5F5TF.cjs');
11
11
 
12
12
  // src/apis/app.ts
13
13
  var loadDefinition = () => {
14
14
  const mod = _chunkN2P6RELZcjs.require_app_runtime.call(void 0, );
15
- return _chunkCKLXVVGFcjs.expand.call(void 0, _nullishCoalesce(mod.default, () => ( mod)));
15
+ return _chunkYCTBOY3Tcjs.expand.call(void 0, _nullishCoalesce(mod.default, () => ( mod)));
16
16
  };
17
17
  var _instance = null;
18
18
  var resolve = () => {
19
19
  if (!_instance) {
20
20
  const def = loadDefinition();
21
- _instance = _chunkCKLXVVGFcjs.createApiClient.call(void 0, { definition: def, apiName: "app" });
21
+ _instance = _chunkYCTBOY3Tcjs.createApiClient.call(void 0, { definition: def, apiName: "app" });
22
22
  }
23
23
  return _instance;
24
24
  };
25
- var _handle = _chunkCKLXVVGFcjs.createApiHandle.call(void 0, {
25
+ var _handle = _chunkYCTBOY3Tcjs.createApiHandle.call(void 0, {
26
26
  resolveClient: resolve,
27
- createClient: () => _chunkCKLXVVGFcjs.createApiClient.call(void 0, { definition: loadDefinition(), apiName: "app" }),
27
+ createClient: () => _chunkYCTBOY3Tcjs.createApiClient.call(void 0, { definition: loadDefinition(), apiName: "app" }),
28
28
  apiName: "app"
29
29
  });
30
30
  var getClient = _handle.getClient;
@@ -35,4 +35,4 @@ var app = _handle;
35
35
 
36
36
 
37
37
 
38
- exports.app = app; exports.authorize = _chunkCKLXVVGFcjs.authorize; exports.createClient = createClient; exports.getClient = getClient;
38
+ exports.app = app; exports.authorize = _chunkYCTBOY3Tcjs.authorize; exports.createClient = createClient; exports.getClient = getClient;
package/dist/apis/app.js CHANGED
@@ -6,7 +6,7 @@ import {
6
6
  createApiClient,
7
7
  createApiHandle,
8
8
  expand
9
- } from "../chunk-6LUOXPO4.js";
9
+ } from "../chunk-KZXOYL5D.js";
10
10
  import "../chunk-YPSWSI3M.js";
11
11
 
12
12
  // src/apis/app.ts
@@ -6,25 +6,25 @@ var _chunkRUZRPIHWcjs = require('../chunk-RUZRPIHW.cjs');
6
6
 
7
7
 
8
8
 
9
- var _chunkCKLXVVGFcjs = require('../chunk-CKLXVVGF.cjs');
9
+ var _chunkYCTBOY3Tcjs = require('../chunk-YCTBOY3T.cjs');
10
10
  require('../chunk-NJK5F5TF.cjs');
11
11
 
12
12
  // src/apis/audit-logs.ts
13
13
  var loadDefinition = () => {
14
14
  const mod = _chunkRUZRPIHWcjs.require_audit_logs_runtime.call(void 0, );
15
- return _chunkCKLXVVGFcjs.expand.call(void 0, _nullishCoalesce(mod.default, () => ( mod)));
15
+ return _chunkYCTBOY3Tcjs.expand.call(void 0, _nullishCoalesce(mod.default, () => ( mod)));
16
16
  };
17
17
  var _instance = null;
18
18
  var resolve = () => {
19
19
  if (!_instance) {
20
20
  const def = loadDefinition();
21
- _instance = _chunkCKLXVVGFcjs.createApiClient.call(void 0, { definition: def, apiName: "auditLogs" });
21
+ _instance = _chunkYCTBOY3Tcjs.createApiClient.call(void 0, { definition: def, apiName: "auditLogs" });
22
22
  }
23
23
  return _instance;
24
24
  };
25
- var _handle = _chunkCKLXVVGFcjs.createApiHandle.call(void 0, {
25
+ var _handle = _chunkYCTBOY3Tcjs.createApiHandle.call(void 0, {
26
26
  resolveClient: resolve,
27
- createClient: () => _chunkCKLXVVGFcjs.createApiClient.call(void 0, { definition: loadDefinition(), apiName: "auditLogs" }),
27
+ createClient: () => _chunkYCTBOY3Tcjs.createApiClient.call(void 0, { definition: loadDefinition(), apiName: "auditLogs" }),
28
28
  apiName: "auditLogs"
29
29
  });
30
30
  var getClient = _handle.getClient;
@@ -35,4 +35,4 @@ var auditLogs = _handle;
35
35
 
36
36
 
37
37
 
38
- exports.auditLogs = auditLogs; exports.authorize = _chunkCKLXVVGFcjs.authorize; exports.createClient = createClient; exports.getClient = getClient;
38
+ exports.auditLogs = auditLogs; exports.authorize = _chunkYCTBOY3Tcjs.authorize; exports.createClient = createClient; exports.getClient = getClient;
@@ -6,7 +6,7 @@ import {
6
6
  createApiClient,
7
7
  createApiHandle,
8
8
  expand
9
- } from "../chunk-6LUOXPO4.js";
9
+ } from "../chunk-KZXOYL5D.js";
10
10
  import "../chunk-YPSWSI3M.js";
11
11
 
12
12
  // src/apis/audit-logs.ts
@@ -1,30 +1,30 @@
1
1
  "use strict";Object.defineProperty(exports, "__esModule", {value: true}); function _nullishCoalesce(lhs, rhsFn) { if (lhs != null) { return lhs; } else { return rhsFn(); } }
2
2
 
3
- var _chunkADSWGLIVcjs = require('../chunk-ADSWGLIV.cjs');
3
+ var _chunkWOUASZJWcjs = require('../chunk-WOUASZJW.cjs');
4
4
 
5
5
 
6
6
 
7
7
 
8
8
 
9
- var _chunkCKLXVVGFcjs = require('../chunk-CKLXVVGF.cjs');
9
+ var _chunkYCTBOY3Tcjs = require('../chunk-YCTBOY3T.cjs');
10
10
  require('../chunk-NJK5F5TF.cjs');
11
11
 
12
12
  // src/apis/automation.ts
13
13
  var loadDefinition = () => {
14
- const mod = _chunkADSWGLIVcjs.require_automation_runtime.call(void 0, );
15
- return _chunkCKLXVVGFcjs.expand.call(void 0, _nullishCoalesce(mod.default, () => ( mod)));
14
+ const mod = _chunkWOUASZJWcjs.require_automation_runtime.call(void 0, );
15
+ return _chunkYCTBOY3Tcjs.expand.call(void 0, _nullishCoalesce(mod.default, () => ( mod)));
16
16
  };
17
17
  var _instance = null;
18
18
  var resolve = () => {
19
19
  if (!_instance) {
20
20
  const def = loadDefinition();
21
- _instance = _chunkCKLXVVGFcjs.createApiClient.call(void 0, { definition: def, apiName: "automation" });
21
+ _instance = _chunkYCTBOY3Tcjs.createApiClient.call(void 0, { definition: def, apiName: "automation" });
22
22
  }
23
23
  return _instance;
24
24
  };
25
- var _handle = _chunkCKLXVVGFcjs.createApiHandle.call(void 0, {
25
+ var _handle = _chunkYCTBOY3Tcjs.createApiHandle.call(void 0, {
26
26
  resolveClient: resolve,
27
- createClient: () => _chunkCKLXVVGFcjs.createApiClient.call(void 0, { definition: loadDefinition(), apiName: "automation" }),
27
+ createClient: () => _chunkYCTBOY3Tcjs.createApiClient.call(void 0, { definition: loadDefinition(), apiName: "automation" }),
28
28
  apiName: "automation"
29
29
  });
30
30
  var getClient = _handle.getClient;
@@ -35,4 +35,4 @@ var automation = _handle;
35
35
 
36
36
 
37
37
 
38
- exports.authorize = _chunkCKLXVVGFcjs.authorize; exports.automation = automation; exports.createClient = createClient; exports.getClient = getClient;
38
+ exports.authorize = _chunkYCTBOY3Tcjs.authorize; exports.automation = automation; exports.createClient = createClient; exports.getClient = getClient;
@@ -1,7 +1,7 @@
1
1
  import { A as ApiHandle } from '../types-ChU9Acbv.cjs';
2
2
  export { T as TokenArg, a as authorize } from '../types-ChU9Acbv.cjs';
3
- import { C as Client } from '../automation.d-Bp45eKlU.cjs';
4
- export { A as ActionCondition, c as ActionSchedule, d as ActionScheduleSource, e as ActivityId, f as ActivityTrigger, g as AnyAction, h as AnyActionConfig, i as AnyTrigger, j as AnythingButCondition, k as ApiCallerContext, l as ApiSubmissionTrigger, m as AppendValueMapper, n as AssignEntityAction, o as AssignEntityActionConfig, p as AssignEntityConfig, q as AssignThreadAction, r as AssignThreadConfig, s as AssignUsersToStep, t as AutomationAction, u as AutomationActionConfig, v as AutomationActionExecutionState, w as AutomationActionId, x as AutomationActionIteration, y as AutomationExecution, z as AutomationExecutionId, B as AutomationFlow, D as AutomationFlowId, E as AutomationLoop, F as AutomationLoopState, G as AutomationTrigger, H as BulkTriggerJob, I as BulkTriggerRequest, J as CancellationReason, K as CartCheckoutAction, L as CartCheckoutActionConfig, M as CartCheckoutConfig, N as Comparison, a as Components, Q as ConditionStatement, R as CopyValueMapper, S as CreateDocumentAction, T as CreateDocumentActionConfig, U as CreateDocumentConfig, V as CustomAction, W as DiffAdded, X as DiffDeleted, Y as DiffUpdated, Z as EntityAssignee, _ as EntityId, $ as EntityItemSnapshot, a0 as EntityManualTrigger, a1 as EntityOperation, a2 as EntityOperationTrigger, a3 as EntityRef, a4 as EntitySearchFilter, a5 as EntitySearchFilterValue, a6 as EqualsIgnoreCaseCondition, a7 as ErrorCode, a8 as ErrorDetail, a9 as ErrorObject, aa as ErrorOutput, ab as ExecItem, ac as ExecutionChain, ad as ExecutionStatus, ae as ExistsCondition, af as FilterConditionOnEvent, ag as FlowExecutionCancelAction, ah as FlowExecutionCancelActionConfig, ai as FlowExecutionCancelConfig, aj as FlowsTrigger, ak as ForwardEmailAction, al as ForwardEmailActionConfig, am as ForwardEmailConfig, an as FrontendSubmitTrigger, ao as GetExecutionsResp, ap as GraphContextEntry, aq as GraphDefinition, ar as GraphEdge, as as GraphNode, at as GraphNodeFilter, au as GraphSeed, av as InformERPAction, aw as InformERPActionConfig, ax as InformERPConfig, ay as JobId, az as JourneySubmitTrigger, aA as MapEntityAction, aB as MapEntityActionConfig, aC as MapEntityConfig, aD as MappingAttribute, aE as MappingAttributeMode, aF as MappingAttributeV2, aG as MappingConfigRef, aH as MoveThreadAction, aI as MoveThreadConfig, aJ as NewEmailThreadTrigger, aK as NumericCondition, O as OperationMethods, aL as OperationNode, aM as OperationObjectNode, aN as OrCondition, aO as OrConditionForDiff, aP as OrganizationId, aQ as PatchBulkJobRequest, P as Paths, b as PathsDictionary, aR as PrefixCondition, aS as PrimitiveJSONValue, aT as ReceivedEmailTrigger, aU as RelationAttribute, aV as ReplyEmailAction, aW as ReplyEmailActionConfig, aX as ReplyEmailConfig, aY as ResumeReq, aZ as ResumeResp, a_ as ResumeToken, a$ as RetryReq, b0 as RetryStrategy, b1 as SearchAutomationsResp, b2 as SearchExecutionsReq, b3 as SearchExecutionsResp, b4 as SendEmailAction, b5 as SendEmailActionConfig, b6 as SendEmailCondition, b7 as SendEmailConfig, b8 as SetValueMapper, b9 as StartExecutionRequest, ba as SuffixCondition, bb as TriggerCondition, bc as TriggerContext, bd as TriggerEventAction, be as TriggerEventActionConfig, bf as TriggerEventConfig, bg as TriggerEventEntityActivity, bh as TriggerEventEntityOperation, bi as TriggerEventFlowAutomationTask, bj as TriggerEventManual, bk as TriggerEventMessaging, bl as TriggerShareEntityAction, bm as TriggerShareEntityActionConfig, bn as TriggerShareEntityConfig, bo as TriggerWebhookAction, bp as TriggerWebhookActionConfig, bq as TriggerWebhookConfig, br as TriggerWorkflowAction, bs as TriggerWorkflowActionConfig, bt as TriggerWorkflowCondition, bu as TriggerWorkflowConfig, bv as WildcardCondition, bw as WorkflowContextRole, bx as WorkflowExecutionContext, by as WorkflowWaitContext } from '../automation.d-Bp45eKlU.cjs';
3
+ import { C as Client } from '../automation.d-2biAmiMc.cjs';
4
+ export { A as ActionCondition, c as ActionSchedule, d as ActionScheduleSource, e as ActivityId, f as ActivityTrigger, g as AnyAction, h as AnyActionConfig, i as AnyTrigger, j as AnythingButCondition, k as ApiCallerContext, l as ApiSubmissionTrigger, m as AppendValueMapper, n as AssignEntityAction, o as AssignEntityActionConfig, p as AssignEntityConfig, q as AssignThreadAction, r as AssignThreadConfig, s as AssignUsersToStep, t as AutomationAction, u as AutomationActionConfig, v as AutomationActionExecutionState, w as AutomationActionId, x as AutomationActionIteration, y as AutomationExecution, z as AutomationExecutionId, B as AutomationFlow, D as AutomationFlowId, E as AutomationLoop, F as AutomationLoopState, G as AutomationTrigger, H as BulkTriggerJob, I as BulkTriggerRequest, J as CancellationReason, K as CartCheckoutAction, L as CartCheckoutActionConfig, M as CartCheckoutConfig, N as Comparison, a as Components, Q as ConditionStatement, R as CopyValueMapper, S as CreateDocumentAction, T as CreateDocumentActionConfig, U as CreateDocumentConfig, V as CustomAction, W as DiffAdded, X as DiffDeleted, Y as DiffUpdated, Z as EntityAssignee, _ as EntityId, $ as EntityItemSnapshot, a0 as EntityManualTrigger, a1 as EntityOperation, a2 as EntityOperationTrigger, a3 as EntityRef, a4 as EntitySearchFilter, a5 as EntitySearchFilterValue, a6 as EqualsIgnoreCaseCondition, a7 as ErrorCode, a8 as ErrorDetail, a9 as ErrorObject, aa as ErrorOutput, ab as EventCatalogTrigger, ac as ExecItem, ad as ExecutionChain, ae as ExecutionStatus, af as ExistsCondition, ag as FilterConditionOnEvent, ah as FlowExecutionCancelAction, ai as FlowExecutionCancelActionConfig, aj as FlowExecutionCancelConfig, ak as FlowsTrigger, al as ForwardEmailAction, am as ForwardEmailActionConfig, an as ForwardEmailConfig, ao as FrontendSubmitTrigger, ap as GetExecutionsResp, aq as GraphContextEntry, ar as GraphDefinition, as as GraphEdge, at as GraphNode, au as GraphNodeFilter, av as GraphSeed, aw as InformERPAction, ax as InformERPActionConfig, ay as InformERPConfig, az as JobId, aA as JourneySubmitTrigger, aB as MapEntityAction, aC as MapEntityActionConfig, aD as MapEntityConfig, aE as MappingAttribute, aF as MappingAttributeMode, aG as MappingAttributeV2, aH as MappingConfigRef, aI as MoveThreadAction, aJ as MoveThreadConfig, aK as NewEmailThreadTrigger, aL as NumericCondition, O as OperationMethods, aM as OperationNode, aN as OperationObjectNode, aO as OrCondition, aP as OrConditionForDiff, aQ as OrganizationId, aR as PatchBulkJobRequest, P as Paths, b as PathsDictionary, aS as PrefixCondition, aT as PrimitiveJSONValue, aU as ReceivedEmailTrigger, aV as RelationAttribute, aW as ReplyEmailAction, aX as ReplyEmailActionConfig, aY as ReplyEmailConfig, aZ as ResumeReq, a_ as ResumeResp, a$ as ResumeToken, b0 as RetryReq, b1 as RetryStrategy, b2 as SearchAutomationsResp, b3 as SearchExecutionsReq, b4 as SearchExecutionsResp, b5 as SendEmailAction, b6 as SendEmailActionConfig, b7 as SendEmailCondition, b8 as SendEmailConfig, b9 as SetValueMapper, ba as StartExecutionRequest, bb as SuffixCondition, bc as TriggerCondition, bd as TriggerContext, be as TriggerEventAction, bf as TriggerEventActionConfig, bg as TriggerEventConfig, bh as TriggerEventEntityActivity, bi as TriggerEventEntityOperation, bj as TriggerEventEventCatalog, bk as TriggerEventFlowAutomationTask, bl as TriggerEventManual, bm as TriggerEventMessaging, bn as TriggerEventPayloadRef, bo as TriggerShareEntityAction, bp as TriggerShareEntityActionConfig, bq as TriggerShareEntityConfig, br as TriggerWebhookAction, bs as TriggerWebhookActionConfig, bt as TriggerWebhookConfig, bu as TriggerWorkflowAction, bv as TriggerWorkflowActionConfig, bw as TriggerWorkflowCondition, bx as TriggerWorkflowConfig, by as WildcardCondition, bz as WorkflowContextRole, bA as WorkflowExecutionContext, bB as WorkflowWaitContext } from '../automation.d-2biAmiMc.cjs';
5
5
  export { OpenAPIClient } from 'openapi-client-axios';
6
6
  import 'axios';
7
7
 
@@ -1,7 +1,7 @@
1
1
  import { A as ApiHandle } from '../types-ChU9Acbv.js';
2
2
  export { T as TokenArg, a as authorize } from '../types-ChU9Acbv.js';
3
- import { C as Client } from '../automation.d-Bp45eKlU.js';
4
- export { A as ActionCondition, c as ActionSchedule, d as ActionScheduleSource, e as ActivityId, f as ActivityTrigger, g as AnyAction, h as AnyActionConfig, i as AnyTrigger, j as AnythingButCondition, k as ApiCallerContext, l as ApiSubmissionTrigger, m as AppendValueMapper, n as AssignEntityAction, o as AssignEntityActionConfig, p as AssignEntityConfig, q as AssignThreadAction, r as AssignThreadConfig, s as AssignUsersToStep, t as AutomationAction, u as AutomationActionConfig, v as AutomationActionExecutionState, w as AutomationActionId, x as AutomationActionIteration, y as AutomationExecution, z as AutomationExecutionId, B as AutomationFlow, D as AutomationFlowId, E as AutomationLoop, F as AutomationLoopState, G as AutomationTrigger, H as BulkTriggerJob, I as BulkTriggerRequest, J as CancellationReason, K as CartCheckoutAction, L as CartCheckoutActionConfig, M as CartCheckoutConfig, N as Comparison, a as Components, Q as ConditionStatement, R as CopyValueMapper, S as CreateDocumentAction, T as CreateDocumentActionConfig, U as CreateDocumentConfig, V as CustomAction, W as DiffAdded, X as DiffDeleted, Y as DiffUpdated, Z as EntityAssignee, _ as EntityId, $ as EntityItemSnapshot, a0 as EntityManualTrigger, a1 as EntityOperation, a2 as EntityOperationTrigger, a3 as EntityRef, a4 as EntitySearchFilter, a5 as EntitySearchFilterValue, a6 as EqualsIgnoreCaseCondition, a7 as ErrorCode, a8 as ErrorDetail, a9 as ErrorObject, aa as ErrorOutput, ab as ExecItem, ac as ExecutionChain, ad as ExecutionStatus, ae as ExistsCondition, af as FilterConditionOnEvent, ag as FlowExecutionCancelAction, ah as FlowExecutionCancelActionConfig, ai as FlowExecutionCancelConfig, aj as FlowsTrigger, ak as ForwardEmailAction, al as ForwardEmailActionConfig, am as ForwardEmailConfig, an as FrontendSubmitTrigger, ao as GetExecutionsResp, ap as GraphContextEntry, aq as GraphDefinition, ar as GraphEdge, as as GraphNode, at as GraphNodeFilter, au as GraphSeed, av as InformERPAction, aw as InformERPActionConfig, ax as InformERPConfig, ay as JobId, az as JourneySubmitTrigger, aA as MapEntityAction, aB as MapEntityActionConfig, aC as MapEntityConfig, aD as MappingAttribute, aE as MappingAttributeMode, aF as MappingAttributeV2, aG as MappingConfigRef, aH as MoveThreadAction, aI as MoveThreadConfig, aJ as NewEmailThreadTrigger, aK as NumericCondition, O as OperationMethods, aL as OperationNode, aM as OperationObjectNode, aN as OrCondition, aO as OrConditionForDiff, aP as OrganizationId, aQ as PatchBulkJobRequest, P as Paths, b as PathsDictionary, aR as PrefixCondition, aS as PrimitiveJSONValue, aT as ReceivedEmailTrigger, aU as RelationAttribute, aV as ReplyEmailAction, aW as ReplyEmailActionConfig, aX as ReplyEmailConfig, aY as ResumeReq, aZ as ResumeResp, a_ as ResumeToken, a$ as RetryReq, b0 as RetryStrategy, b1 as SearchAutomationsResp, b2 as SearchExecutionsReq, b3 as SearchExecutionsResp, b4 as SendEmailAction, b5 as SendEmailActionConfig, b6 as SendEmailCondition, b7 as SendEmailConfig, b8 as SetValueMapper, b9 as StartExecutionRequest, ba as SuffixCondition, bb as TriggerCondition, bc as TriggerContext, bd as TriggerEventAction, be as TriggerEventActionConfig, bf as TriggerEventConfig, bg as TriggerEventEntityActivity, bh as TriggerEventEntityOperation, bi as TriggerEventFlowAutomationTask, bj as TriggerEventManual, bk as TriggerEventMessaging, bl as TriggerShareEntityAction, bm as TriggerShareEntityActionConfig, bn as TriggerShareEntityConfig, bo as TriggerWebhookAction, bp as TriggerWebhookActionConfig, bq as TriggerWebhookConfig, br as TriggerWorkflowAction, bs as TriggerWorkflowActionConfig, bt as TriggerWorkflowCondition, bu as TriggerWorkflowConfig, bv as WildcardCondition, bw as WorkflowContextRole, bx as WorkflowExecutionContext, by as WorkflowWaitContext } from '../automation.d-Bp45eKlU.js';
3
+ import { C as Client } from '../automation.d-2biAmiMc.js';
4
+ export { A as ActionCondition, c as ActionSchedule, d as ActionScheduleSource, e as ActivityId, f as ActivityTrigger, g as AnyAction, h as AnyActionConfig, i as AnyTrigger, j as AnythingButCondition, k as ApiCallerContext, l as ApiSubmissionTrigger, m as AppendValueMapper, n as AssignEntityAction, o as AssignEntityActionConfig, p as AssignEntityConfig, q as AssignThreadAction, r as AssignThreadConfig, s as AssignUsersToStep, t as AutomationAction, u as AutomationActionConfig, v as AutomationActionExecutionState, w as AutomationActionId, x as AutomationActionIteration, y as AutomationExecution, z as AutomationExecutionId, B as AutomationFlow, D as AutomationFlowId, E as AutomationLoop, F as AutomationLoopState, G as AutomationTrigger, H as BulkTriggerJob, I as BulkTriggerRequest, J as CancellationReason, K as CartCheckoutAction, L as CartCheckoutActionConfig, M as CartCheckoutConfig, N as Comparison, a as Components, Q as ConditionStatement, R as CopyValueMapper, S as CreateDocumentAction, T as CreateDocumentActionConfig, U as CreateDocumentConfig, V as CustomAction, W as DiffAdded, X as DiffDeleted, Y as DiffUpdated, Z as EntityAssignee, _ as EntityId, $ as EntityItemSnapshot, a0 as EntityManualTrigger, a1 as EntityOperation, a2 as EntityOperationTrigger, a3 as EntityRef, a4 as EntitySearchFilter, a5 as EntitySearchFilterValue, a6 as EqualsIgnoreCaseCondition, a7 as ErrorCode, a8 as ErrorDetail, a9 as ErrorObject, aa as ErrorOutput, ab as EventCatalogTrigger, ac as ExecItem, ad as ExecutionChain, ae as ExecutionStatus, af as ExistsCondition, ag as FilterConditionOnEvent, ah as FlowExecutionCancelAction, ai as FlowExecutionCancelActionConfig, aj as FlowExecutionCancelConfig, ak as FlowsTrigger, al as ForwardEmailAction, am as ForwardEmailActionConfig, an as ForwardEmailConfig, ao as FrontendSubmitTrigger, ap as GetExecutionsResp, aq as GraphContextEntry, ar as GraphDefinition, as as GraphEdge, at as GraphNode, au as GraphNodeFilter, av as GraphSeed, aw as InformERPAction, ax as InformERPActionConfig, ay as InformERPConfig, az as JobId, aA as JourneySubmitTrigger, aB as MapEntityAction, aC as MapEntityActionConfig, aD as MapEntityConfig, aE as MappingAttribute, aF as MappingAttributeMode, aG as MappingAttributeV2, aH as MappingConfigRef, aI as MoveThreadAction, aJ as MoveThreadConfig, aK as NewEmailThreadTrigger, aL as NumericCondition, O as OperationMethods, aM as OperationNode, aN as OperationObjectNode, aO as OrCondition, aP as OrConditionForDiff, aQ as OrganizationId, aR as PatchBulkJobRequest, P as Paths, b as PathsDictionary, aS as PrefixCondition, aT as PrimitiveJSONValue, aU as ReceivedEmailTrigger, aV as RelationAttribute, aW as ReplyEmailAction, aX as ReplyEmailActionConfig, aY as ReplyEmailConfig, aZ as ResumeReq, a_ as ResumeResp, a$ as ResumeToken, b0 as RetryReq, b1 as RetryStrategy, b2 as SearchAutomationsResp, b3 as SearchExecutionsReq, b4 as SearchExecutionsResp, b5 as SendEmailAction, b6 as SendEmailActionConfig, b7 as SendEmailCondition, b8 as SendEmailConfig, b9 as SetValueMapper, ba as StartExecutionRequest, bb as SuffixCondition, bc as TriggerCondition, bd as TriggerContext, be as TriggerEventAction, bf as TriggerEventActionConfig, bg as TriggerEventConfig, bh as TriggerEventEntityActivity, bi as TriggerEventEntityOperation, bj as TriggerEventEventCatalog, bk as TriggerEventFlowAutomationTask, bl as TriggerEventManual, bm as TriggerEventMessaging, bn as TriggerEventPayloadRef, bo as TriggerShareEntityAction, bp as TriggerShareEntityActionConfig, bq as TriggerShareEntityConfig, br as TriggerWebhookAction, bs as TriggerWebhookActionConfig, bt as TriggerWebhookConfig, bu as TriggerWorkflowAction, bv as TriggerWorkflowActionConfig, bw as TriggerWorkflowCondition, bx as TriggerWorkflowConfig, by as WildcardCondition, bz as WorkflowContextRole, bA as WorkflowExecutionContext, bB as WorkflowWaitContext } from '../automation.d-2biAmiMc.js';
5
5
  export { OpenAPIClient } from 'openapi-client-axios';
6
6
  import 'axios';
7
7
 
@@ -1,12 +1,12 @@
1
1
  import {
2
2
  require_automation_runtime
3
- } from "../chunk-LCE7N4ZL.js";
3
+ } from "../chunk-QW3ROE6H.js";
4
4
  import {
5
5
  authorize,
6
6
  createApiClient,
7
7
  createApiHandle,
8
8
  expand
9
- } from "../chunk-6LUOXPO4.js";
9
+ } from "../chunk-KZXOYL5D.js";
10
10
  import "../chunk-YPSWSI3M.js";
11
11
 
12
12
  // src/apis/automation.ts
@@ -6,25 +6,25 @@ var _chunkPNVSKDMVcjs = require('../chunk-PNVSKDMV.cjs');
6
6
 
7
7
 
8
8
 
9
- var _chunkCKLXVVGFcjs = require('../chunk-CKLXVVGF.cjs');
9
+ var _chunkYCTBOY3Tcjs = require('../chunk-YCTBOY3T.cjs');
10
10
  require('../chunk-NJK5F5TF.cjs');
11
11
 
12
12
  // src/apis/billing.ts
13
13
  var loadDefinition = () => {
14
14
  const mod = _chunkPNVSKDMVcjs.require_billing_runtime.call(void 0, );
15
- return _chunkCKLXVVGFcjs.expand.call(void 0, _nullishCoalesce(mod.default, () => ( mod)));
15
+ return _chunkYCTBOY3Tcjs.expand.call(void 0, _nullishCoalesce(mod.default, () => ( mod)));
16
16
  };
17
17
  var _instance = null;
18
18
  var resolve = () => {
19
19
  if (!_instance) {
20
20
  const def = loadDefinition();
21
- _instance = _chunkCKLXVVGFcjs.createApiClient.call(void 0, { definition: def, apiName: "billing" });
21
+ _instance = _chunkYCTBOY3Tcjs.createApiClient.call(void 0, { definition: def, apiName: "billing" });
22
22
  }
23
23
  return _instance;
24
24
  };
25
- var _handle = _chunkCKLXVVGFcjs.createApiHandle.call(void 0, {
25
+ var _handle = _chunkYCTBOY3Tcjs.createApiHandle.call(void 0, {
26
26
  resolveClient: resolve,
27
- createClient: () => _chunkCKLXVVGFcjs.createApiClient.call(void 0, { definition: loadDefinition(), apiName: "billing" }),
27
+ createClient: () => _chunkYCTBOY3Tcjs.createApiClient.call(void 0, { definition: loadDefinition(), apiName: "billing" }),
28
28
  apiName: "billing"
29
29
  });
30
30
  var getClient = _handle.getClient;
@@ -35,4 +35,4 @@ var billing = _handle;
35
35
 
36
36
 
37
37
 
38
- exports.authorize = _chunkCKLXVVGFcjs.authorize; exports.billing = billing; exports.createClient = createClient; exports.getClient = getClient;
38
+ exports.authorize = _chunkYCTBOY3Tcjs.authorize; exports.billing = billing; exports.createClient = createClient; exports.getClient = getClient;
@@ -6,7 +6,7 @@ import {
6
6
  createApiClient,
7
7
  createApiHandle,
8
8
  expand
9
- } from "../chunk-6LUOXPO4.js";
9
+ } from "../chunk-KZXOYL5D.js";
10
10
  import "../chunk-YPSWSI3M.js";
11
11
 
12
12
  // src/apis/billing.ts