@epilot/sdk 2.20.34 → 2.20.35

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 (131) hide show
  1. package/definitions/integration-toolkit-runtime.json +1 -1
  2. package/definitions/integration-toolkit.json +259 -13
  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 +6 -6
  12. package/dist/apis/app.js +1 -1
  13. package/dist/apis/audit-logs.cjs +6 -6
  14. package/dist/apis/audit-logs.js +1 -1
  15. package/dist/apis/automation.cjs +6 -6
  16. package/dist/apis/automation.js +1 -1
  17. package/dist/apis/billing.cjs +6 -6
  18. package/dist/apis/billing.js +1 -1
  19. package/dist/apis/blueprint-manifest.cjs +6 -6
  20. package/dist/apis/blueprint-manifest.js +1 -1
  21. package/dist/apis/calendar.cjs +6 -6
  22. package/dist/apis/calendar.js +1 -1
  23. package/dist/apis/chat.cjs +6 -6
  24. package/dist/apis/chat.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 +19 -15
  58. package/dist/apis/integration-toolkit.d.cts +2 -2
  59. package/dist/apis/integration-toolkit.d.ts +2 -2
  60. package/dist/apis/integration-toolkit.js +13 -9
  61. package/dist/apis/journey.cjs +6 -6
  62. package/dist/apis/journey.js +1 -1
  63. package/dist/apis/kanban.cjs +6 -6
  64. package/dist/apis/kanban.js +1 -1
  65. package/dist/apis/message.cjs +6 -6
  66. package/dist/apis/message.js +1 -1
  67. package/dist/apis/metering.cjs +6 -6
  68. package/dist/apis/metering.js +1 -1
  69. package/dist/apis/notes.cjs +6 -6
  70. package/dist/apis/notes.js +1 -1
  71. package/dist/apis/notification.cjs +6 -6
  72. package/dist/apis/notification.js +1 -1
  73. package/dist/apis/organization.cjs +6 -6
  74. package/dist/apis/organization.js +1 -1
  75. package/dist/apis/partner-directory.cjs +6 -6
  76. package/dist/apis/partner-directory.js +1 -1
  77. package/dist/apis/permissions.cjs +6 -6
  78. package/dist/apis/permissions.js +1 -1
  79. package/dist/apis/pricing-tier.cjs +6 -6
  80. package/dist/apis/pricing-tier.js +1 -1
  81. package/dist/apis/pricing.cjs +6 -6
  82. package/dist/apis/pricing.js +1 -1
  83. package/dist/apis/purpose.cjs +6 -6
  84. package/dist/apis/purpose.js +1 -1
  85. package/dist/apis/query.cjs +6 -6
  86. package/dist/apis/query.js +1 -1
  87. package/dist/apis/sandbox.cjs +6 -6
  88. package/dist/apis/sandbox.js +1 -1
  89. package/dist/apis/sharing.cjs +6 -6
  90. package/dist/apis/sharing.js +1 -1
  91. package/dist/apis/snapshot.cjs +6 -6
  92. package/dist/apis/snapshot.js +1 -1
  93. package/dist/apis/submission.cjs +6 -6
  94. package/dist/apis/submission.js +1 -1
  95. package/dist/apis/target.cjs +6 -6
  96. package/dist/apis/target.js +1 -1
  97. package/dist/apis/targeting.cjs +6 -6
  98. package/dist/apis/targeting.js +1 -1
  99. package/dist/apis/template-variables.cjs +6 -6
  100. package/dist/apis/template-variables.js +1 -1
  101. package/dist/apis/user.cjs +6 -6
  102. package/dist/apis/user.js +1 -1
  103. package/dist/apis/validation-rules.cjs +6 -6
  104. package/dist/apis/validation-rules.js +1 -1
  105. package/dist/apis/webhooks.cjs +6 -6
  106. package/dist/apis/webhooks.js +1 -1
  107. package/dist/apis/workflow-definition.cjs +6 -6
  108. package/dist/apis/workflow-definition.js +1 -1
  109. package/dist/apis/workflow.cjs +6 -6
  110. package/dist/apis/workflow.js +1 -1
  111. package/dist/{chunk-4DTTVPUM.cjs → chunk-4M4Z7BKK.cjs} +1 -1
  112. package/dist/{chunk-WE4C7GER.js → chunk-4OBXBYLK.js} +1 -1
  113. package/dist/{chunk-RJVNG46W.js → chunk-OXXS3O7X.js} +2 -2
  114. package/dist/{chunk-XFBOYWIP.cjs → chunk-RE2KDGKQ.cjs} +2 -2
  115. package/dist/index.cjs +10 -10
  116. package/dist/index.d.cts +1 -1
  117. package/dist/index.d.ts +1 -1
  118. package/dist/index.js +2 -2
  119. package/dist/integration-toolkit-4ADZMNTB.cjs +7 -0
  120. package/dist/integration-toolkit-BCRYMKLW.js +7 -0
  121. package/dist/{integration-toolkit-runtime-TNDJH6HK.js → integration-toolkit-runtime-ABL4FFLI.js} +1 -1
  122. package/dist/{integration-toolkit-runtime-57I2O6DI.cjs → integration-toolkit-runtime-SU7VKZJB.cjs} +2 -2
  123. package/dist/{integration-toolkit.d-CEY26qJu.d.cts → integration-toolkit.d-BQ0Fj-48.d.cts} +274 -25
  124. package/dist/{integration-toolkit.d-CEY26qJu.d.ts → integration-toolkit.d-BQ0Fj-48.d.ts} +274 -25
  125. package/dist/js-yaml-DLCVPJ7G.js +0 -0
  126. package/docs/integration-toolkit.md +113 -8
  127. package/package.json +11 -12
  128. package/definitions/focus-pocus-runtime.json +0 -1
  129. package/definitions/focus-pocus.json +0 -757
  130. package/dist/integration-toolkit-FM53LFD7.cjs +0 -7
  131. package/dist/integration-toolkit-PUA7B6YT.js +0 -7
@@ -1,5 +1,5 @@
1
1
  import {
2
2
  require_integration_toolkit_runtime
3
- } from "./chunk-WE4C7GER.js";
3
+ } from "./chunk-4OBXBYLK.js";
4
4
  import "./chunk-YPSWSI3M.js";
5
5
  export default require_integration_toolkit_runtime();
@@ -1,5 +1,5 @@
1
1
  "use strict";Object.defineProperty(exports, "__esModule", {value: true});
2
2
 
3
- var _chunk4DTTVPUMcjs = require('./chunk-4DTTVPUM.cjs');
3
+ var _chunk4M4Z7BKKcjs = require('./chunk-4M4Z7BKK.cjs');
4
4
  require('./chunk-NJK5F5TF.cjs');
5
- exports. default = _chunk4DTTVPUMcjs.require_integration_toolkit_runtime.call(void 0, );
5
+ exports. default = _chunk4M4Z7BKKcjs.require_integration_toolkit_runtime.call(void 0, );
@@ -20,6 +20,19 @@ declare namespace Components {
20
20
  message?: string;
21
21
  }[];
22
22
  }
23
+ export interface ERPUpdatesRetryableResponse {
24
+ results?: {
25
+ /**
26
+ * ID of the processed event
27
+ */
28
+ event_id: string;
29
+ /**
30
+ * Processing status for the event (skipped indicates duplicate deduplication_id, ignored indicates unconfigured event)
31
+ */
32
+ status: "success" | "error" | "skipped" | "ignored";
33
+ message?: string;
34
+ }[];
35
+ }
23
36
  export type Forbidden = Schemas.ErrorResponseBase;
24
37
  export interface GetAssociatedMonitoringEventsResponse {
25
38
  /**
@@ -1580,9 +1593,9 @@ declare namespace Components {
1580
1593
  component_id: string; // uuid
1581
1594
  }
1582
1595
  /**
1583
- * Configuration for how the event should be delivered. webhook = push delivery via svc-webhooks (JSONata-transformed payload); poll = pull-based queue delivery where the consumer fetches items via the poll API (raw event payload); file_proxy = one push per event attachment to an external document system, through a file_proxy use case (JSONata-transformed payload carrying the file bytes)
1596
+ * Configuration for how the event should be delivered. webhook = push delivery via svc-webhooks (JSONata-transformed payload); poll = pull-based queue delivery where the consumer fetches items via the poll API (raw event payload, or its JSONata transformation when the mapping carries a jsonata_expression); file_proxy = one push per event attachment to an external document system, through a file_proxy use case (JSONata-transformed payload carrying the file bytes)
1584
1597
  */
1585
- export type DeliveryConfig = /* Configuration for how the event should be delivered. webhook = push delivery via svc-webhooks (JSONata-transformed payload); poll = pull-based queue delivery where the consumer fetches items via the poll API (raw event payload); file_proxy = one push per event attachment to an external document system, through a file_proxy use case (JSONata-transformed payload carrying the file bytes) */ /* Push delivery of the transformed event to a webhook via svc-webhooks */ WebhookDeliveryConfig | /* Pull-based queue delivery. Items carry the raw standardized event-catalog payload; no JSONata mapping is applied in poll mode. Consumers fetch and acknowledge items via the poll API. */ PollDeliveryConfig | /**
1598
+ export type DeliveryConfig = /* Configuration for how the event should be delivered. webhook = push delivery via svc-webhooks (JSONata-transformed payload); poll = pull-based queue delivery where the consumer fetches items via the poll API (raw event payload, or its JSONata transformation when the mapping carries a jsonata_expression); file_proxy = one push per event attachment to an external document system, through a file_proxy use case (JSONata-transformed payload carrying the file bytes) */ /* Push delivery of the transformed event to a webhook via svc-webhooks */ WebhookDeliveryConfig | /* Pull-based queue delivery. Consumers fetch and acknowledge items via the poll API. When the mapping carries a `jsonata_expression`, it is evaluated once at enqueue time against the standardized event-catalog event (with `$env`/`$mapValue`/`$mapKey` bindings) and its output — a JSON object — is the delivered payload; without one, items carry the raw standardized event-catalog payload. An item whose expression fails at enqueue is never delivered: when it reaches the head of the stream the poison_policy applies to it at once, without waiting for max_delivery_attempts. */ PollDeliveryConfig | /**
1586
1599
  * Push delivery to an external document system through a `file_proxy` use case.
1587
1600
  *
1588
1601
  * A pure pointer, deliberately. The outbound use case decides WHEN to deliver — its event
@@ -5748,7 +5761,7 @@ declare namespace Components {
5748
5761
  * `monitoring-code-enum.test.ts`, which fails if the two diverge.
5749
5762
  *
5750
5763
  */
5751
- export type MonitoringCode = "ACK_CONFIRMED" | "ACK_PENDING" | "ACK_TIMEOUT" | "ATTACHMENT_NOT_FOUND" | "ATTRIBUTE_TYPE_MISMATCH" | "CONDITIONAL_VARIANTS_WRITTEN" | "CONDITIONAL_VARIANT_WRITE_FAILED" | "CONDITIONAL_VARIANT_WRITE_WARNING" | "DEPRECATED_ENDPOINT" | "DIRECT_ENTITY_NOT_ALLOWED" | "DIRECT_PAYLOAD_INVALID" | "DIRECT_VERSION_UNSUPPORTED" | "DUPLICATE_EVENT" | "ENTITY_CREATED" | "ENTITY_DELETED" | "ENTITY_NO_OP" | "ENTITY_REFERENCE_NOT_FOUND" | "ENTITY_UPDATED" | "EVENT_NOT_CONFIGURED" | "EXTERNAL_API_ERROR" | "EXTERNAL_ERROR" | "EXTERNAL_INFO" | "EXTERNAL_SUCCESS" | "EXTERNAL_WARNING" | "FAN_OUT_EMPTY" | "FAN_OUT_INVALID_RESULT" | "FILE_EXTRACTION_FAILED" | "FILE_FETCH_FAILED" | "FILE_PROXY_OK" | "FILE_PROXY_UPLOADED" | "FILE_PROXY_UPLOAD_ENQUEUED" | "FILE_PROXY_UPLOAD_FAILED" | "FILE_PROXY_UPLOAD_RETRYING" | "FILE_TOO_LARGE" | "INTEGRATION_NOT_FOUND" | "INVALID_METER_READING_ATTRIBUTES" | "LOOKUP_UNMAPPED" | "MALFORMED_PAYLOAD" | "MAPPING_EXPRESSION_FAILED" | "METERING_API_ERROR" | "METER_READING_DELETED" | "METER_READING_GROUP_FAILED" | "METER_READING_GROUP_RETRYING" | "METER_READING_UPSERTED" | "MISSING_REQUIRED_PARAM" | "MISSING_UNIQUE_IDENTIFIERS" | "MSG_ACKED" | "MSG_DEAD_LETTERED" | "MSG_ENQUEUED" | "MSG_EXPIRED_UNPOLLED" | "MSG_HEAD_BLOCKED" | "OAUTH2_TOKEN_FAILURE" | "PAYLOAD_TOO_LARGE" | "PRUNE_SCOPE_COMPLETED" | "PRUNE_SCOPE_PARTIAL_FAILURE" | "RECURSION_DEPTH_EXCEEDED" | "RELATION_REF_ITEM_NOT_FOUND" | "RELATION_REF_VALUE_UNDEFINED" | "REQUIRED_PARAM_MISSING" | "SECURE_PROXY_DISABLED" | "SECURE_PROXY_DOMAIN_BLOCKED" | "SECURE_PROXY_DOMAIN_NOT_ALLOWED" | "SECURE_PROXY_ERROR" | "SECURE_PROXY_INVALID_CONFIG" | "SECURE_PROXY_INVALID_TYPE" | "SECURE_PROXY_INVALID_URL" | "SECURE_PROXY_IP_BLOCKED" | "SECURE_PROXY_IP_NOT_ALLOWED" | "SECURE_PROXY_NOT_FOUND" | "SECURE_PROXY_UNAVAILABLE" | "SIGNATURE_VERIFICATION_FAILED" | "SIGNATURE_VERIFICATION_UNAVAILABLE" | "SOFT_DELETED_ENTITY_MATCHED" | "STEP_DISABLED" | "TIMEOUT" | "UNIQUE_ID_MULTIPLE_MATCHES" | "UNIQUE_ID_NOT_IN_SCHEMA" | "UNKNOWN_ERROR" | "USE_CASE_DISABLED" | "USE_CASE_INVALID_TYPE" | "USE_CASE_MISSING_CONFIG" | "USE_CASE_NOT_FOUND" | "WEBHOOK_DELIVERED";
5764
+ export type MonitoringCode = "ACK_CONFIRMED" | "ACK_PENDING" | "ACK_TIMEOUT" | "ATTACHMENT_NOT_FOUND" | "ATTRIBUTE_TYPE_MISMATCH" | "CONDITIONAL_VARIANTS_WRITTEN" | "CONDITIONAL_VARIANT_WRITE_FAILED" | "CONDITIONAL_VARIANT_WRITE_WARNING" | "DEPRECATED_ENDPOINT" | "DIRECT_ENTITY_NOT_ALLOWED" | "DIRECT_PAYLOAD_INVALID" | "DIRECT_VERSION_UNSUPPORTED" | "DUPLICATE_EVENT" | "ENTITY_CREATED" | "ENTITY_DELETED" | "ENTITY_NO_OP" | "ENTITY_REFERENCE_NOT_FOUND" | "ENTITY_UPDATED" | "EVENT_NOT_CONFIGURED" | "EXTERNAL_API_ERROR" | "EXTERNAL_ERROR" | "EXTERNAL_INFO" | "EXTERNAL_SUCCESS" | "EXTERNAL_WARNING" | "FAN_OUT_EMPTY" | "FAN_OUT_INVALID_RESULT" | "FILE_EXTRACTION_FAILED" | "FILE_FETCH_FAILED" | "FILE_PROXY_OK" | "FILE_PROXY_UPLOADED" | "FILE_PROXY_UPLOAD_ENQUEUED" | "FILE_PROXY_UPLOAD_FAILED" | "FILE_PROXY_UPLOAD_RETRYING" | "FILE_TOO_LARGE" | "INTEGRATION_NOT_FOUND" | "INVALID_METER_READING_ATTRIBUTES" | "LOOKUP_UNMAPPED" | "MALFORMED_PAYLOAD" | "MAPPING_EXPRESSION_FAILED" | "METERING_API_ERROR" | "METER_READING_DELETED" | "METER_READING_GROUP_FAILED" | "METER_READING_GROUP_RETRYING" | "METER_READING_UPSERTED" | "MISSING_REQUIRED_PARAM" | "MISSING_UNIQUE_IDENTIFIERS" | "MSG_ACKED" | "MSG_DEAD_LETTERED" | "MSG_ENQUEUED" | "MSG_EXPIRED_UNPOLLED" | "MSG_HEAD_BLOCKED" | "MSG_LATE_ARRIVAL" | "OAUTH2_TOKEN_FAILURE" | "PAYLOAD_TOO_LARGE" | "PRUNE_SCOPE_COMPLETED" | "PRUNE_SCOPE_PARTIAL_FAILURE" | "RECURSION_DEPTH_EXCEEDED" | "RELATION_REF_ITEM_NOT_FOUND" | "RELATION_REF_VALUE_UNDEFINED" | "REQUIRED_PARAM_MISSING" | "SECURE_PROXY_DISABLED" | "SECURE_PROXY_DOMAIN_BLOCKED" | "SECURE_PROXY_DOMAIN_NOT_ALLOWED" | "SECURE_PROXY_ERROR" | "SECURE_PROXY_INVALID_CONFIG" | "SECURE_PROXY_INVALID_TYPE" | "SECURE_PROXY_INVALID_URL" | "SECURE_PROXY_IP_BLOCKED" | "SECURE_PROXY_IP_NOT_ALLOWED" | "SECURE_PROXY_NOT_FOUND" | "SECURE_PROXY_UNAVAILABLE" | "SIGNATURE_VERIFICATION_FAILED" | "SIGNATURE_VERIFICATION_UNAVAILABLE" | "SOFT_DELETED_ENTITY_MATCHED" | "STEP_DISABLED" | "TIMEOUT" | "UNIQUE_ID_MULTIPLE_MATCHES" | "UNIQUE_ID_NOT_IN_SCHEMA" | "UNKNOWN_ERROR" | "USE_CASE_DISABLED" | "USE_CASE_INVALID_TYPE" | "USE_CASE_MISSING_CONFIG" | "USE_CASE_NOT_FOUND" | "WEBHOOK_DELIVERED";
5752
5765
  export interface MonitoringEventV2 {
5753
5766
  /**
5754
5767
  * Unique monitoring event ID
@@ -6262,9 +6275,23 @@ declare namespace Components {
6262
6275
  */
6263
6276
  delivery_attempts: number;
6264
6277
  /**
6265
- * Why the message was dead-lettered (policy or operator reason)
6278
+ * Why the message was dead-lettered (policy or operator reason) —
6279
+ * `max_delivery_attempts_exhausted`, `mapping_failed`, or the
6280
+ * operator's own reason
6281
+ *
6266
6282
  */
6267
6283
  reason?: string;
6284
+ /**
6285
+ * Why the message's transform failed, prefixed with the error code
6286
+ * (e.g. `invalid_output: ...`). Present on entries whose mapping
6287
+ * failed — at enqueue, or again on a re-mapping redrive.
6288
+ *
6289
+ */
6290
+ mapping_error?: string;
6291
+ /**
6292
+ * Version of the transform that produced (or failed to produce) the payload
6293
+ */
6294
+ mapping_version?: string;
6268
6295
  /**
6269
6296
  * When the DLQ entry expires (retention window re-armed at dead-letter time)
6270
6297
  */
@@ -6342,8 +6369,8 @@ declare namespace Components {
6342
6369
  * List of mappings that transform and deliver the event
6343
6370
  */
6344
6371
  mappings: [
6345
- /* A mapping that delivers an event to an external system by one of three mechanisms — pushed to a webhook (with a JSONata payload transformation), made available on the pull-based poll queue (raw event payload, no transformation), or handed to a file_proxy use case that uploads files to an external document system (a pointer only; the referenced use case owns the payload and the fan-out) */ OutboundMapping,
6346
- .../* A mapping that delivers an event to an external system by one of three mechanisms — pushed to a webhook (with a JSONata payload transformation), made available on the pull-based poll queue (raw event payload, no transformation), or handed to a file_proxy use case that uploads files to an external document system (a pointer only; the referenced use case owns the payload and the fan-out) */ OutboundMapping[]
6372
+ /* A mapping that delivers an event to an external system by one of three mechanisms — pushed to a webhook (with a JSONata payload transformation), made available on the pull-based poll queue (the raw event payload, or its JSONata transformation when the mapping carries one), or handed to a file_proxy use case that uploads files to an external document system (a pointer only; the referenced use case owns the payload and the fan-out) */ OutboundMapping,
6373
+ .../* A mapping that delivers an event to an external system by one of three mechanisms — pushed to a webhook (with a JSONata payload transformation), made available on the pull-based poll queue (the raw event payload, or its JSONata transformation when the mapping carries one), or handed to a file_proxy use case that uploads files to an external document system (a pointer only; the referenced use case owns the payload and the fan-out) */ OutboundMapping[]
6347
6374
  ];
6348
6375
  /**
6349
6376
  * Whether this use case participates in the acknowledgement protocol.
@@ -6365,7 +6392,7 @@ declare namespace Components {
6365
6392
  ack_tracking?: "on" | "off";
6366
6393
  }
6367
6394
  /**
6368
- * A mapping that delivers an event to an external system by one of three mechanisms — pushed to a webhook (with a JSONata payload transformation), made available on the pull-based poll queue (raw event payload, no transformation), or handed to a file_proxy use case that uploads files to an external document system (a pointer only; the referenced use case owns the payload and the fan-out)
6395
+ * A mapping that delivers an event to an external system by one of three mechanisms — pushed to a webhook (with a JSONata payload transformation), made available on the pull-based poll queue (the raw event payload, or its JSONata transformation when the mapping carries one), or handed to a file_proxy use case that uploads files to an external document system (a pointer only; the referenced use case owns the payload and the fan-out)
6369
6396
  */
6370
6397
  export interface OutboundMapping {
6371
6398
  /**
@@ -6379,7 +6406,7 @@ declare namespace Components {
6379
6406
  */
6380
6407
  name: string;
6381
6408
  /**
6382
- * JSONata expression to transform the event payload. Required for webhook delivery, ignored for poll delivery, and rejected for file_proxy delivery — a file_proxy payload is built by the referenced use case's steps, so accepting an expression here would silently do nothing.
6409
+ * JSONata expression transforming the event payload. Required for webhook delivery (evaluated by the webhook service). Optional for poll delivery: evaluated at enqueue time against the standardized event-catalog event with `$env`/`$mapValue`/`$mapKey` bindings; must return a JSON object; empty = raw event payload is delivered. Rejected for file_proxy delivery.
6383
6410
  * example:
6384
6411
  * { "id": entity._id, "customer": entity.customer_name }
6385
6412
  */
@@ -6388,7 +6415,7 @@ declare namespace Components {
6388
6415
  * Whether this mapping is active
6389
6416
  */
6390
6417
  enabled: boolean;
6391
- delivery: /* Configuration for how the event should be delivered. webhook = push delivery via svc-webhooks (JSONata-transformed payload); poll = pull-based queue delivery where the consumer fetches items via the poll API (raw event payload); file_proxy = one push per event attachment to an external document system, through a file_proxy use case (JSONata-transformed payload carrying the file bytes) */ DeliveryConfig;
6418
+ delivery: /* Configuration for how the event should be delivered. webhook = push delivery via svc-webhooks (JSONata-transformed payload); poll = pull-based queue delivery where the consumer fetches items via the poll API (raw event payload, or its JSONata transformation when the mapping carries a jsonata_expression); file_proxy = one push per event attachment to an external document system, through a file_proxy use case (JSONata-transformed payload carrying the file bytes) */ DeliveryConfig;
6392
6419
  /**
6393
6420
  * Timestamp when the mapping was created
6394
6421
  */
@@ -6398,6 +6425,25 @@ declare namespace Components {
6398
6425
  */
6399
6426
  updated_at?: string; // date-time
6400
6427
  }
6428
+ export interface OutboundMappingSimulationError {
6429
+ /**
6430
+ * `syntax_error` — the expression does not parse; `unknown_binding` —
6431
+ * it reads a `$` name that is never bound; `evaluation_error` — it
6432
+ * failed while evaluating; `timeout` — it exceeded the evaluation
6433
+ * time or depth limit; `invalid_output` — it did not return a JSON
6434
+ * object; `expression_too_long` — it exceeds 10,000 characters
6435
+ *
6436
+ */
6437
+ code: "syntax_error" | "unknown_binding" | "evaluation_error" | "timeout" | "invalid_output" | "expression_too_long";
6438
+ /**
6439
+ * Human-readable explanation
6440
+ */
6441
+ message: string;
6442
+ /**
6443
+ * Character position of the failure in the expression, when known
6444
+ */
6445
+ position?: number;
6446
+ }
6401
6447
  export interface OutboundMessage {
6402
6448
  /**
6403
6449
  * Opaque message id (msg_…) — stable per message across leases
@@ -6426,11 +6472,28 @@ declare namespace Components {
6426
6472
  */
6427
6473
  group: string;
6428
6474
  /**
6429
- * The raw standardized event-catalog event, always inlined as-is
6475
+ * The epilot org the message belongs to. Always populated — lets one
6476
+ * consumer that polls many orgs attribute every message.
6477
+ *
6478
+ */
6479
+ org_id?: string;
6480
+ /**
6481
+ * The mapped output when the use case has a `jsonata_expression`,
6482
+ * otherwise the raw standardized event-catalog event. Always inlined.
6483
+ *
6430
6484
  */
6431
6485
  payload: {
6432
6486
  [name: string]: any;
6433
6487
  };
6488
+ /**
6489
+ * Version of the transform that produced the payload — the first 16
6490
+ * hex characters of sha256 over the trimmed expression. Absent for
6491
+ * raw payloads.
6492
+ *
6493
+ * example:
6494
+ * 3f2a9c1b7d4e8f60
6495
+ */
6496
+ mapping_version?: string;
6434
6497
  /**
6435
6498
  * When the message was enqueued
6436
6499
  */
@@ -6690,7 +6753,7 @@ declare namespace Components {
6690
6753
  OutboundFileProxyTargetStatus[];
6691
6754
  }
6692
6755
  /**
6693
- * Pull-based queue delivery. Items carry the raw standardized event-catalog payload; no JSONata mapping is applied in poll mode. Consumers fetch and acknowledge items via the poll API.
6756
+ * Pull-based queue delivery. Consumers fetch and acknowledge items via the poll API. When the mapping carries a `jsonata_expression`, it is evaluated once at enqueue time against the standardized event-catalog event (with `$env`/`$mapValue`/`$mapKey` bindings) and its output — a JSON object — is the delivered payload; without one, items carry the raw standardized event-catalog payload. An item whose expression fails at enqueue is never delivered: when it reaches the head of the stream the poison_policy applies to it at once, without waiting for max_delivery_attempts.
6694
6757
  */
6695
6758
  export interface PollDeliveryConfig {
6696
6759
  /**
@@ -6702,7 +6765,7 @@ declare namespace Components {
6702
6765
  */
6703
6766
  retention_days?: number;
6704
6767
  /**
6705
- * What happens when an item exhausts max_delivery_attempts: dead_letter routes the exhausted item to the dead-letter queue and advances past it so the stream keeps flowing; block halts the queue at that item until operator/consumer action removes it.
6768
+ * What happens when an item exhausts max_delivery_attempts, or its jsonata_expression failed at enqueue: dead_letter routes the item to the dead-letter queue and advances past it so the stream keeps flowing; block halts the queue at that item until operator/consumer action removes it.
6706
6769
  */
6707
6770
  poison_policy?: "dead_letter" | "block";
6708
6771
  /**
@@ -7229,6 +7292,14 @@ declare namespace Components {
7229
7292
  string?,
7230
7293
  string?
7231
7294
  ];
7295
+ /**
7296
+ * Re-apply the use case's CURRENT `jsonata_expression` to the raw
7297
+ * event instead of re-sending the stored payload. Entries whose
7298
+ * mapping failed are always re-mapped, whatever this says. When the
7299
+ * use case no longer has an expression, the raw event is redriven.
7300
+ *
7301
+ */
7302
+ reapply_mapping?: boolean;
7232
7303
  }
7233
7304
  export interface RedriveOutboundDlqResponse {
7234
7305
  /**
@@ -7243,10 +7314,16 @@ declare namespace Components {
7243
7314
  id: string;
7244
7315
  /**
7245
7316
  * Outcome — `redriven` re-enqueued at the tail; `not_found` for
7246
- * unknown ids or entries concurrently redriven/expired
7317
+ * unknown ids or entries concurrently redriven/expired;
7318
+ * `mapping_failed` when re-mapping failed again (the entry stays in
7319
+ * the DLQ with the updated mapping_error and mapping_version)
7247
7320
  *
7248
7321
  */
7249
- status: "redriven" | "not_found";
7322
+ status: "redriven" | "not_found" | "mapping_failed";
7323
+ /**
7324
+ * Why re-mapping failed — present only when status is mapping_failed
7325
+ */
7326
+ mapping_error?: string;
7250
7327
  }
7251
7328
  export interface RelationConfig {
7252
7329
  /**
@@ -7801,6 +7878,60 @@ declare namespace Components {
7801
7878
  */
7802
7879
  overwrite?: boolean;
7803
7880
  }
7881
+ /**
7882
+ * Exactly one of `payload` or `event_id` is required. `event_id` needs
7883
+ * `event_catalog_event` to name the event it belongs to.
7884
+ *
7885
+ */
7886
+ export interface SimulateOutboundMappingRequest {
7887
+ /**
7888
+ * The poll mapping expression to preview
7889
+ * example:
7890
+ * { "contract_number": contract.contract_number, "status": $mapValue($env.erp.statuses, contract.status) }
7891
+ */
7892
+ jsonata_expression: string;
7893
+ /**
7894
+ * A standardized event-catalog event to map as-is
7895
+ */
7896
+ payload?: {
7897
+ [name: string]: any;
7898
+ };
7899
+ /**
7900
+ * Id of a historical event-catalog event to load, hydrate and map
7901
+ */
7902
+ event_id?: string;
7903
+ /**
7904
+ * Event-catalog event name of `event_id` (required with `event_id`)
7905
+ * example:
7906
+ * contract.updated
7907
+ */
7908
+ event_catalog_event?: string;
7909
+ }
7910
+ export interface SimulateOutboundMappingResponse {
7911
+ /**
7912
+ * Whether the expression produced a deliverable payload
7913
+ */
7914
+ valid: boolean;
7915
+ /**
7916
+ * The payload a consumer would receive — present when valid
7917
+ */
7918
+ output?: {
7919
+ [name: string]: any;
7920
+ };
7921
+ error?: OutboundMappingSimulationError;
7922
+ /**
7923
+ * The `mapping_version` messages mapped by this expression carry
7924
+ * example:
7925
+ * 3f2a9c1b7d4e8f60
7926
+ */
7927
+ mapping_version: string;
7928
+ /**
7929
+ * The hydrated event the expression ran against — present when `event_id` was used
7930
+ */
7931
+ input?: {
7932
+ [name: string]: any;
7933
+ };
7934
+ }
7804
7935
  export interface SuggestErpImportUseCasesResponse {
7805
7936
  /**
7806
7937
  * Columns in the file. Present even when `suggestions` is empty.
@@ -9263,6 +9394,7 @@ declare namespace Paths {
9263
9394
  export type $200 = Components.Responses.ERPUpdatesResponse;
9264
9395
  export type $400 = Components.Responses.BadRequest;
9265
9396
  export type $401 = Components.Responses.Unauthorized;
9397
+ export type $429 = Components.Responses.ERPUpdatesRetryableResponse;
9266
9398
  export type $500 = Components.Responses.InternalServerError;
9267
9399
  }
9268
9400
  }
@@ -9273,6 +9405,7 @@ declare namespace Paths {
9273
9405
  export type $400 = Components.Responses.BadRequest;
9274
9406
  export type $401 = Components.Responses.Unauthorized;
9275
9407
  export type $404 = Components.Responses.NotFound;
9408
+ export type $429 = Components.Responses.ERPUpdatesRetryableResponse;
9276
9409
  export type $500 = Components.Responses.InternalServerError;
9277
9410
  }
9278
9411
  }
@@ -9283,6 +9416,7 @@ declare namespace Paths {
9283
9416
  export type $400 = Components.Responses.BadRequest;
9284
9417
  export type $401 = Components.Responses.Unauthorized;
9285
9418
  export type $404 = Components.Responses.NotFound;
9419
+ export type $429 = Components.Responses.ERPUpdatesRetryableResponse;
9286
9420
  export type $500 = Components.Responses.InternalServerError;
9287
9421
  }
9288
9422
  }
@@ -9475,6 +9609,28 @@ declare namespace Paths {
9475
9609
  export type $500 = Components.Responses.InternalServerError;
9476
9610
  }
9477
9611
  }
9612
+ namespace SimulateOutboundMapping {
9613
+ namespace Parameters {
9614
+ export type IntegrationId = string; // uuid
9615
+ }
9616
+ export interface PathParameters {
9617
+ integrationId: Parameters.IntegrationId /* uuid */;
9618
+ }
9619
+ export type RequestBody = /**
9620
+ * Exactly one of `payload` or `event_id` is required. `event_id` needs
9621
+ * `event_catalog_event` to name the event it belongs to.
9622
+ *
9623
+ */
9624
+ Components.Schemas.SimulateOutboundMappingRequest;
9625
+ namespace Responses {
9626
+ export type $200 = Components.Schemas.SimulateOutboundMappingResponse;
9627
+ export type $400 = Components.Responses.BadRequest;
9628
+ export type $401 = Components.Responses.Unauthorized;
9629
+ export type $403 = Components.Responses.Forbidden;
9630
+ export type $404 = Components.Responses.NotFound;
9631
+ export type $500 = Components.Responses.InternalServerError;
9632
+ }
9633
+ }
9478
9634
  namespace SuggestErpImportUseCases {
9479
9635
  namespace Parameters {
9480
9636
  export type ImportId = string;
@@ -10225,7 +10381,19 @@ interface OperationMethods {
10225
10381
  * lease mutates server state — auto-retrying middleware must not burn
10226
10382
  * leases. One in-flight batch per stream: while a lease is active (or
10227
10383
  * another poll wins the race), the response is an empty batch
10228
- * (`messages: []`), not an error. Requires the `integration:consume` grant.
10384
+ * (`messages: []`), not an error. Each message's `payload` is the
10385
+ * use case's JSONata transformation of the event when it has one
10386
+ * (`mapping_version` identifies the transform), otherwise the raw
10387
+ * event. Requires the `integration:consume` grant.
10388
+ *
10389
+ * Ordering: messages are delivered in stream order, which follows the
10390
+ * event time. An event that arrives after the consumer was already handed
10391
+ * events with a later event time is not inserted behind them (it would
10392
+ * never be delivered); it is appended at the end of the stream and a
10393
+ * `MSG_LATE_ARRIVAL` warning is recorded. Delivery is at-least-once: a
10394
+ * message whose lease expires is delivered again, and in rare races the
10395
+ * same event can be delivered twice under different message ids, so
10396
+ * consumers should deduplicate by `event_id`.
10229
10397
  *
10230
10398
  */
10231
10399
  'pollOutboundMessages'(
@@ -10275,9 +10443,12 @@ interface OperationMethods {
10275
10443
  * sequence — it is delivered out of its original per-entity order (the
10276
10444
  * stream has moved on); this is inherent to redrive and matches SQS DLQ
10277
10445
  * semantics. The redriven copy starts with zero delivery attempts and a
10278
- * fresh retention window; the original DLQ entry is removed. Per-id
10279
- * results report `redriven` or `not_found` (unknown ids, or entries
10280
- * concurrently redriven/expired).
10446
+ * fresh retention window; the original DLQ entry is removed.
10447
+ * With `reapply_mapping`, the raw event is re-mapped with the use case's
10448
+ * current `jsonata_expression`; entries whose mapping failed are always
10449
+ * re-mapped. Per-id results report `redriven`, `not_found` (unknown ids,
10450
+ * or entries concurrently redriven/expired) or `mapping_failed` (the
10451
+ * re-mapping failed again and the entry stays in the DLQ).
10281
10452
  *
10282
10453
  */
10283
10454
  'redriveOutboundDlqMessages'(
@@ -10291,7 +10462,10 @@ interface OperationMethods {
10291
10462
  * Unblock an integration's outbound stream halted by the `block`
10292
10463
  * poison policy: skips (dead-letters) the current blocked head message,
10293
10464
  * emitting MSG_DEAD_LETTERED and letting the next message become the
10294
- * head. Operator endpoint — requires the `integration:manage` grant.
10465
+ * head. A head blocked because its `jsonata_expression` failed at
10466
+ * enqueue is skipped the same way (its DLQ reason defaults to
10467
+ * `mapping_failed`); fix the expression, then redrive the entry to
10468
+ * re-map it. Operator endpoint — requires the `integration:manage` grant.
10295
10469
  * Returns `unblocked: false` as a no-op when the stream is not
10296
10470
  * currently blocked (or the state moved concurrently) — safe to retry.
10297
10471
  *
@@ -10301,6 +10475,32 @@ interface OperationMethods {
10301
10475
  data?: Paths.UnblockOutboundStream.RequestBody,
10302
10476
  config?: AxiosRequestConfig
10303
10477
  ): OperationResponse<Paths.UnblockOutboundStream.Responses.$200>
10478
+ /**
10479
+ * simulateOutboundMapping - simulateOutboundMapping
10480
+ *
10481
+ * Preview a poll delivery's `jsonata_expression` without saving or
10482
+ * enqueueing anything. The expression is checked and evaluated exactly
10483
+ * as at enqueue time: the same length, syntax and binding checks, the
10484
+ * same `$env`/`$mapValue`/`$mapKey` bindings resolved server-side from
10485
+ * the org's non-secret environment variables and key/value maps, the
10486
+ * same evaluation limits, and the same rule that the output must be a
10487
+ * JSON object.
10488
+ *
10489
+ * Provide exactly one input: `payload` (an event to map as-is), or
10490
+ * `event_id` (with `event_catalog_event`) to load a historical
10491
+ * event-catalog event and hydrate it exactly as enqueue does — the
10492
+ * preview is then exact, and the hydrated event is echoed as `input`.
10493
+ *
10494
+ * Mapping failures are a `200` with `valid: false` and an `error`;
10495
+ * `4xx` is reserved for malformed requests. Requires the
10496
+ * `integration:view` grant.
10497
+ *
10498
+ */
10499
+ 'simulateOutboundMapping'(
10500
+ parameters?: Parameters<Paths.SimulateOutboundMapping.PathParameters> | null,
10501
+ data?: Paths.SimulateOutboundMapping.RequestBody,
10502
+ config?: AxiosRequestConfig
10503
+ ): OperationResponse<Paths.SimulateOutboundMapping.Responses.$200>
10304
10504
  /**
10305
10505
  * queryAccessLogs - queryAccessLogs
10306
10506
  *
@@ -11200,7 +11400,19 @@ interface PathsDictionary {
11200
11400
  * lease mutates server state — auto-retrying middleware must not burn
11201
11401
  * leases. One in-flight batch per stream: while a lease is active (or
11202
11402
  * another poll wins the race), the response is an empty batch
11203
- * (`messages: []`), not an error. Requires the `integration:consume` grant.
11403
+ * (`messages: []`), not an error. Each message's `payload` is the
11404
+ * use case's JSONata transformation of the event when it has one
11405
+ * (`mapping_version` identifies the transform), otherwise the raw
11406
+ * event. Requires the `integration:consume` grant.
11407
+ *
11408
+ * Ordering: messages are delivered in stream order, which follows the
11409
+ * event time. An event that arrives after the consumer was already handed
11410
+ * events with a later event time is not inserted behind them (it would
11411
+ * never be delivered); it is appended at the end of the stream and a
11412
+ * `MSG_LATE_ARRIVAL` warning is recorded. Delivery is at-least-once: a
11413
+ * message whose lease expires is delivered again, and in rare races the
11414
+ * same event can be delivered twice under different message ids, so
11415
+ * consumers should deduplicate by `event_id`.
11204
11416
  *
11205
11417
  */
11206
11418
  'post'(
@@ -11256,9 +11468,12 @@ interface PathsDictionary {
11256
11468
  * sequence — it is delivered out of its original per-entity order (the
11257
11469
  * stream has moved on); this is inherent to redrive and matches SQS DLQ
11258
11470
  * semantics. The redriven copy starts with zero delivery attempts and a
11259
- * fresh retention window; the original DLQ entry is removed. Per-id
11260
- * results report `redriven` or `not_found` (unknown ids, or entries
11261
- * concurrently redriven/expired).
11471
+ * fresh retention window; the original DLQ entry is removed.
11472
+ * With `reapply_mapping`, the raw event is re-mapped with the use case's
11473
+ * current `jsonata_expression`; entries whose mapping failed are always
11474
+ * re-mapped. Per-id results report `redriven`, `not_found` (unknown ids,
11475
+ * or entries concurrently redriven/expired) or `mapping_failed` (the
11476
+ * re-mapping failed again and the entry stays in the DLQ).
11262
11477
  *
11263
11478
  */
11264
11479
  'post'(
@@ -11274,7 +11489,10 @@ interface PathsDictionary {
11274
11489
  * Unblock an integration's outbound stream halted by the `block`
11275
11490
  * poison policy: skips (dead-letters) the current blocked head message,
11276
11491
  * emitting MSG_DEAD_LETTERED and letting the next message become the
11277
- * head. Operator endpoint — requires the `integration:manage` grant.
11492
+ * head. A head blocked because its `jsonata_expression` failed at
11493
+ * enqueue is skipped the same way (its DLQ reason defaults to
11494
+ * `mapping_failed`); fix the expression, then redrive the entry to
11495
+ * re-map it. Operator endpoint — requires the `integration:manage` grant.
11278
11496
  * Returns `unblocked: false` as a no-op when the stream is not
11279
11497
  * currently blocked (or the state moved concurrently) — safe to retry.
11280
11498
  *
@@ -11285,6 +11503,34 @@ interface PathsDictionary {
11285
11503
  config?: AxiosRequestConfig
11286
11504
  ): OperationResponse<Paths.UnblockOutboundStream.Responses.$200>
11287
11505
  }
11506
+ ['/v1/integrations/{integrationId}/outbound/mapping-simulation']: {
11507
+ /**
11508
+ * simulateOutboundMapping - simulateOutboundMapping
11509
+ *
11510
+ * Preview a poll delivery's `jsonata_expression` without saving or
11511
+ * enqueueing anything. The expression is checked and evaluated exactly
11512
+ * as at enqueue time: the same length, syntax and binding checks, the
11513
+ * same `$env`/`$mapValue`/`$mapKey` bindings resolved server-side from
11514
+ * the org's non-secret environment variables and key/value maps, the
11515
+ * same evaluation limits, and the same rule that the output must be a
11516
+ * JSON object.
11517
+ *
11518
+ * Provide exactly one input: `payload` (an event to map as-is), or
11519
+ * `event_id` (with `event_catalog_event`) to load a historical
11520
+ * event-catalog event and hydrate it exactly as enqueue does — the
11521
+ * preview is then exact, and the hydrated event is echoed as `input`.
11522
+ *
11523
+ * Mapping failures are a `200` with `valid: false` and an `error`;
11524
+ * `4xx` is reserved for malformed requests. Requires the
11525
+ * `integration:view` grant.
11526
+ *
11527
+ */
11528
+ 'post'(
11529
+ parameters?: Parameters<Paths.SimulateOutboundMapping.PathParameters> | null,
11530
+ data?: Paths.SimulateOutboundMapping.RequestBody,
11531
+ config?: AxiosRequestConfig
11532
+ ): OperationResponse<Paths.SimulateOutboundMapping.Responses.$200>
11533
+ }
11288
11534
  ['/v1/integrations/{integrationId}/monitoring/access-logs']: {
11289
11535
  /**
11290
11536
  * queryAccessLogs - queryAccessLogs
@@ -11751,6 +11997,7 @@ type OutboundDlqMessage = Components.Schemas.OutboundDlqMessage;
11751
11997
  type OutboundFileProxyTargetStatus = Components.Schemas.OutboundFileProxyTargetStatus;
11752
11998
  type OutboundIntegrationEventConfiguration = Components.Schemas.OutboundIntegrationEventConfiguration;
11753
11999
  type OutboundMapping = Components.Schemas.OutboundMapping;
12000
+ type OutboundMappingSimulationError = Components.Schemas.OutboundMappingSimulationError;
11754
12001
  type OutboundMessage = Components.Schemas.OutboundMessage;
11755
12002
  type OutboundMonitoringEvent = Components.Schemas.OutboundMonitoringEvent;
11756
12003
  type OutboundPollStatus = Components.Schemas.OutboundPollStatus;
@@ -11794,6 +12041,8 @@ type SecureProxyUseCaseHistoryEntry = Components.Schemas.SecureProxyUseCaseHisto
11794
12041
  type SecureProxyWhitelist = Components.Schemas.SecureProxyWhitelist;
11795
12042
  type SecureProxyWhitelistUpdate = Components.Schemas.SecureProxyWhitelistUpdate;
11796
12043
  type SetIntegrationAppMappingRequest = Components.Schemas.SetIntegrationAppMappingRequest;
12044
+ type SimulateOutboundMappingRequest = Components.Schemas.SimulateOutboundMappingRequest;
12045
+ type SimulateOutboundMappingResponse = Components.Schemas.SimulateOutboundMappingResponse;
11797
12046
  type SuggestErpImportUseCasesResponse = Components.Schemas.SuggestErpImportUseCasesResponse;
11798
12047
  type TestNotificationRequest = Components.Schemas.TestNotificationRequest;
11799
12048
  type TestNotificationResponse = Components.Schemas.TestNotificationResponse;
@@ -11825,4 +12074,4 @@ type ValidateErpImportRequest = Components.Schemas.ValidateErpImportRequest;
11825
12074
  type WebhookDeliveryConfig = Components.Schemas.WebhookDeliveryConfig;
11826
12075
  type WebhookStatus = Components.Schemas.WebhookStatus;
11827
12076
 
11828
- export { type ErpImportError as $, type AccessLogEntry as A, type DirectRelationValue as B, type Client as C, type DeleteIntegrationAppMappingRequest as D, type DirectSimulationError as E, type DirectSimulationRequest as F, type DirectSimulationResponse as G, type DocumentationPage as H, type DocumentationPageSummary as I, type EmbeddedFileProxyUseCaseRequest as J, type EmbeddedInboundUseCaseRequest as K, type EmbeddedManagedCallUseCaseRequest as L, type EmbeddedOutboundUseCaseRequest as M, type EmbeddedSecureProxyUseCaseRequest as N, type OperationMethods as O, Paths as P, type EmbeddedUseCaseRequest as Q, type EmbeddedUseCaseRequestBase as R, type EntityPruneScopeUpdate as S, type EntitySyncState as T, type EntitySyncStatusResponse as U, type EntityUpdate as V, type EnvVarRefConfig as W, type EnvironmentFieldConfig as X, type ErpEvent as Y, type ErpEventV3 as Z, type ErpImportEntityDetail as _, Components as a, type MappedFieldValue as a$, type ErpImportFilePreview as a0, type ErpImportIssue as a1, type ErpImportJob as a2, type ErpImportList as a3, type ErpImportProgress as a4, type ErpImportUseCaseSuggestion as a5, type ErpImportValidation as a6, type ErpUpdatesEventsV2Request as a7, type ErpUpdatesEventsV3Request as a8, type ErrorResponseBase as a9, type InboundUseCaseHistoryEntry as aA, type IngestExternalMonitoringEventsRequest as aB, type IngestExternalMonitoringEventsResponse as aC, type Integration as aD, type IntegrationAppMapping as aE, type IntegrationConfigurationV1 as aF, type IntegrationConfigurationV2 as aG, type IntegrationEditableFields as aH, type IntegrationEntity as aI, type IntegrationEntityConditional as aJ, type IntegrationEntityField as aK, type IntegrationEntityFromRows as aL, type IntegrationFieldV1 as aM, type IntegrationMap as aN, type IntegrationMeterReading as aO, type IntegrationNotificationConfig as aP, type IntegrationObjectV1 as aQ, type IntegrationSettings as aR, type IntegrationWithUseCases as aS, type ManagedCallAuth as aT, type ManagedCallErrorResponse as aU, type ManagedCallExecuteRequest as aV, type ManagedCallExecuteResponse as aW, type ManagedCallOperation as aX, type ManagedCallOperationConfig as aY, type ManagedCallUseCase as aZ, type ManagedCallUseCaseHistoryEntry as a_, type ExecuteErpImportRequest as aa, type ExternalMonitoringSpan as ab, type FileProxyAuth as ac, type FileProxyDeliveryConfig as ad, type FileProxyFanOutConfig as ae, type FileProxyParam as af, type FileProxyResponseConfig as ag, type FileProxySecureProxyAttachment as ah, type FileProxyStep as ai, type FileProxyUploadConfig as aj, type FileProxyUrlConfig as ak, type FileProxyUrlParam as al, type FileProxyUrlParams as am, type FileProxyUseCase as an, type FileProxyUseCaseConfiguration as ao, type FileProxyUseCaseHistoryEntry as ap, type GenerateTypesPreviewResponse as aq, type GenerateTypesRequest as ar, type GenerateTypesResponse as as, type GetMonitoringStatsRequest as at, type GetMonitoringStatsV2Request as au, type GetMonitoringTimeSeriesRequest as av, type GetMonitoringTimeSeriesV2Request as aw, type InboundIntegrationEventConfiguration as ax, type InboundMonitoringEvent as ay, type InboundUseCase as az, type PathsDictionary as b, type SecureProxyUpstreamError as b$, type MappingSimulationRequest as b0, type MappingSimulationResponse as b1, type MappingSimulationV2Request as b2, type MappingSimulationWarning as b3, type MeterReadingPruneScopeConfig as b4, type MeterReadingPruneScopeUpdate as b5, type MeterReadingUpdate as b6, type MeterUniqueIdsConfig as b7, type MonitoringCode as b8, type MonitoringEventV2 as b9, type PollOutboundMessagesResponse as bA, type PortalOrigin as bB, type PortalRefConfig as bC, type PortalRefFilter as bD, type PruneScopeConfig as bE, type QueryAccessLogsRequest as bF, type QueryEventsRequest as bG, type QueryInboundMonitoringEventsRequest as bH, type QueryMonitoringEventsV2Request as bI, type QueryOutboundMonitoringEventsRequest as bJ, type RedriveOutboundDlqRequest as bK, type RedriveOutboundDlqResponse as bL, type RedriveOutboundDlqResult as bM, type RelationConfig as bN, type RelationItemConfig as bO, type RelationRefItemConfig as bP, type RelationRefValueConfig as bQ, type RelationRefsConfig as bR, type RelationUniqueIdField as bS, type RepeatableFieldType as bT, type ReplayEventsRequest as bU, type RuleBaselineBucket as bV, type RuleBaselineStatus as bW, type S3Reference as bX, type SecureProxyRequest as bY, type SecureProxyResponse as bZ, type SecureProxySummary as b_, type MonitoringStats as ba, type MonitoringStatsV2 as bb, type MonitoringTraceResponse as bc, type NotificationChannelSet as bd, type NotificationDigestConfig as be, type NotificationHistoryItem as bf, type NotificationHistoryResponse as bg, type NotificationRecipient as bh, type NotificationRule as bi, type NotificationRuleStatus as bj, type NotificationStatusResponse as bk, type OutboundConflict as bl, type OutboundDlqListResponse as bm, type OutboundDlqMessage as bn, type OutboundFileProxyTargetStatus as bo, type OutboundIntegrationEventConfiguration as bp, type OutboundMapping as bq, type OutboundMessage as br, type OutboundMonitoringEvent as bs, type OutboundPollStatus as bt, type OutboundStatusResponse as bu, type OutboundUseCase as bv, type OutboundUseCaseHistoryEntry as bw, type OutboundUseCaseStatus as bx, type PollDeliveryConfig as by, type PollOutboundMessagesRequest as bz, type AckOutboundMessagesRequest as c, type SecureProxyUseCase as c0, type SecureProxyUseCaseConfiguration as c1, type SecureProxyUseCaseHistoryEntry as c2, type SecureProxyWhitelist as c3, type SecureProxyWhitelistUpdate as c4, type SetIntegrationAppMappingRequest as c5, type SuggestErpImportUseCasesResponse as c6, type TestNotificationRequest as c7, type TestNotificationResponse as c8, type TimeSeriesBreakdownItemV2 as c9, type TimeSeriesBucket as ca, type TimeSeriesBucketV2 as cb, type TriggerErpActionRequest as cc, type TriggerWebhookResp as cd, type TypeAnnotations as ce, type TypeDescriptor as cf, type UnblockOutboundStreamRequest as cg, type UnblockOutboundStreamResponse as ch, type UpdateFileProxyUseCaseRequest as ci, type UpdateInboundUseCaseRequest as cj, type UpdateIntegrationRequest as ck, type UpdateManagedCallUseCaseRequest as cl, type UpdateOutboundUseCaseRequest as cm, type UpdateSecureProxyUseCaseRequest as cn, type UpdateUseCaseRequest as co, type UpdateUseCaseRequestBase as cp, type UpsertDocumentationPageRequest as cq, type UpsertIntegrationWithUseCasesRequest as cr, type UseCase as cs, type UseCaseBase as ct, type UseCaseHistoryEntry as cu, type UseCaseHistoryEntryBase as cv, type UseCaseTypePreview as cw, type ValidateErpImportRequest as cx, type WebhookDeliveryConfig as cy, type WebhookStatus as cz, type AckOutboundMessagesResponse as d, type AckResult as e, type AutoRefreshSettings as f, type CommitTypesRequest as g, type CommitTypesResponse as h, type ConnectorConfig as i, type CreateErpImportRequest as j, type CreateErpImportResponse as k, type CreateFileProxyUseCaseRequest as l, type CreateInboundUseCaseRequest as m, type CreateIntegrationRequest as n, type CreateManagedCallUseCaseRequest as o, type CreateOutboundUseCaseRequest as p, type CreateSecureProxyUseCaseRequest as q, type CreateUseCaseRequest as r, type CreateUseCaseRequestBase as s, type DeliveryConfig as t, type DirectEntityOperation as u, type DirectMeterReadingOperation as v, type DirectPayload as w, type DirectRelationItem as x, type DirectRelationRefItem as y, type DirectRelationRefValue as z };
12077
+ export { type ErpImportError as $, type AccessLogEntry as A, type DirectRelationValue as B, type Client as C, type DeleteIntegrationAppMappingRequest as D, type DirectSimulationError as E, type DirectSimulationRequest as F, type DirectSimulationResponse as G, type DocumentationPage as H, type DocumentationPageSummary as I, type EmbeddedFileProxyUseCaseRequest as J, type EmbeddedInboundUseCaseRequest as K, type EmbeddedManagedCallUseCaseRequest as L, type EmbeddedOutboundUseCaseRequest as M, type EmbeddedSecureProxyUseCaseRequest as N, type OperationMethods as O, Paths as P, type EmbeddedUseCaseRequest as Q, type EmbeddedUseCaseRequestBase as R, type EntityPruneScopeUpdate as S, type EntitySyncState as T, type EntitySyncStatusResponse as U, type EntityUpdate as V, type EnvVarRefConfig as W, type EnvironmentFieldConfig as X, type ErpEvent as Y, type ErpEventV3 as Z, type ErpImportEntityDetail as _, Components as a, type MappedFieldValue as a$, type ErpImportFilePreview as a0, type ErpImportIssue as a1, type ErpImportJob as a2, type ErpImportList as a3, type ErpImportProgress as a4, type ErpImportUseCaseSuggestion as a5, type ErpImportValidation as a6, type ErpUpdatesEventsV2Request as a7, type ErpUpdatesEventsV3Request as a8, type ErrorResponseBase as a9, type InboundUseCaseHistoryEntry as aA, type IngestExternalMonitoringEventsRequest as aB, type IngestExternalMonitoringEventsResponse as aC, type Integration as aD, type IntegrationAppMapping as aE, type IntegrationConfigurationV1 as aF, type IntegrationConfigurationV2 as aG, type IntegrationEditableFields as aH, type IntegrationEntity as aI, type IntegrationEntityConditional as aJ, type IntegrationEntityField as aK, type IntegrationEntityFromRows as aL, type IntegrationFieldV1 as aM, type IntegrationMap as aN, type IntegrationMeterReading as aO, type IntegrationNotificationConfig as aP, type IntegrationObjectV1 as aQ, type IntegrationSettings as aR, type IntegrationWithUseCases as aS, type ManagedCallAuth as aT, type ManagedCallErrorResponse as aU, type ManagedCallExecuteRequest as aV, type ManagedCallExecuteResponse as aW, type ManagedCallOperation as aX, type ManagedCallOperationConfig as aY, type ManagedCallUseCase as aZ, type ManagedCallUseCaseHistoryEntry as a_, type ExecuteErpImportRequest as aa, type ExternalMonitoringSpan as ab, type FileProxyAuth as ac, type FileProxyDeliveryConfig as ad, type FileProxyFanOutConfig as ae, type FileProxyParam as af, type FileProxyResponseConfig as ag, type FileProxySecureProxyAttachment as ah, type FileProxyStep as ai, type FileProxyUploadConfig as aj, type FileProxyUrlConfig as ak, type FileProxyUrlParam as al, type FileProxyUrlParams as am, type FileProxyUseCase as an, type FileProxyUseCaseConfiguration as ao, type FileProxyUseCaseHistoryEntry as ap, type GenerateTypesPreviewResponse as aq, type GenerateTypesRequest as ar, type GenerateTypesResponse as as, type GetMonitoringStatsRequest as at, type GetMonitoringStatsV2Request as au, type GetMonitoringTimeSeriesRequest as av, type GetMonitoringTimeSeriesV2Request as aw, type InboundIntegrationEventConfiguration as ax, type InboundMonitoringEvent as ay, type InboundUseCase as az, type PathsDictionary as b, type SecureProxySummary as b$, type MappingSimulationRequest as b0, type MappingSimulationResponse as b1, type MappingSimulationV2Request as b2, type MappingSimulationWarning as b3, type MeterReadingPruneScopeConfig as b4, type MeterReadingPruneScopeUpdate as b5, type MeterReadingUpdate as b6, type MeterUniqueIdsConfig as b7, type MonitoringCode as b8, type MonitoringEventV2 as b9, type PollOutboundMessagesRequest as bA, type PollOutboundMessagesResponse as bB, type PortalOrigin as bC, type PortalRefConfig as bD, type PortalRefFilter as bE, type PruneScopeConfig as bF, type QueryAccessLogsRequest as bG, type QueryEventsRequest as bH, type QueryInboundMonitoringEventsRequest as bI, type QueryMonitoringEventsV2Request as bJ, type QueryOutboundMonitoringEventsRequest as bK, type RedriveOutboundDlqRequest as bL, type RedriveOutboundDlqResponse as bM, type RedriveOutboundDlqResult as bN, type RelationConfig as bO, type RelationItemConfig as bP, type RelationRefItemConfig as bQ, type RelationRefValueConfig as bR, type RelationRefsConfig as bS, type RelationUniqueIdField as bT, type RepeatableFieldType as bU, type ReplayEventsRequest as bV, type RuleBaselineBucket as bW, type RuleBaselineStatus as bX, type S3Reference as bY, type SecureProxyRequest as bZ, type SecureProxyResponse as b_, type MonitoringStats as ba, type MonitoringStatsV2 as bb, type MonitoringTraceResponse as bc, type NotificationChannelSet as bd, type NotificationDigestConfig as be, type NotificationHistoryItem as bf, type NotificationHistoryResponse as bg, type NotificationRecipient as bh, type NotificationRule as bi, type NotificationRuleStatus as bj, type NotificationStatusResponse as bk, type OutboundConflict as bl, type OutboundDlqListResponse as bm, type OutboundDlqMessage as bn, type OutboundFileProxyTargetStatus as bo, type OutboundIntegrationEventConfiguration as bp, type OutboundMapping as bq, type OutboundMappingSimulationError as br, type OutboundMessage as bs, type OutboundMonitoringEvent as bt, type OutboundPollStatus as bu, type OutboundStatusResponse as bv, type OutboundUseCase as bw, type OutboundUseCaseHistoryEntry as bx, type OutboundUseCaseStatus as by, type PollDeliveryConfig as bz, type AckOutboundMessagesRequest as c, type SecureProxyUpstreamError as c0, type SecureProxyUseCase as c1, type SecureProxyUseCaseConfiguration as c2, type SecureProxyUseCaseHistoryEntry as c3, type SecureProxyWhitelist as c4, type SecureProxyWhitelistUpdate as c5, type SetIntegrationAppMappingRequest as c6, type SimulateOutboundMappingRequest as c7, type SimulateOutboundMappingResponse as c8, type SuggestErpImportUseCasesResponse as c9, type ValidateErpImportRequest as cA, type WebhookDeliveryConfig as cB, type WebhookStatus as cC, type TestNotificationRequest as ca, type TestNotificationResponse as cb, type TimeSeriesBreakdownItemV2 as cc, type TimeSeriesBucket as cd, type TimeSeriesBucketV2 as ce, type TriggerErpActionRequest as cf, type TriggerWebhookResp as cg, type TypeAnnotations as ch, type TypeDescriptor as ci, type UnblockOutboundStreamRequest as cj, type UnblockOutboundStreamResponse as ck, type UpdateFileProxyUseCaseRequest as cl, type UpdateInboundUseCaseRequest as cm, type UpdateIntegrationRequest as cn, type UpdateManagedCallUseCaseRequest as co, type UpdateOutboundUseCaseRequest as cp, type UpdateSecureProxyUseCaseRequest as cq, type UpdateUseCaseRequest as cr, type UpdateUseCaseRequestBase as cs, type UpsertDocumentationPageRequest as ct, type UpsertIntegrationWithUseCasesRequest as cu, type UseCase as cv, type UseCaseBase as cw, type UseCaseHistoryEntry as cx, type UseCaseHistoryEntryBase as cy, type UseCaseTypePreview as cz, type AckOutboundMessagesResponse as d, type AckResult as e, type AutoRefreshSettings as f, type CommitTypesRequest as g, type CommitTypesResponse as h, type ConnectorConfig as i, type CreateErpImportRequest as j, type CreateErpImportResponse as k, type CreateFileProxyUseCaseRequest as l, type CreateInboundUseCaseRequest as m, type CreateIntegrationRequest as n, type CreateManagedCallUseCaseRequest as o, type CreateOutboundUseCaseRequest as p, type CreateSecureProxyUseCaseRequest as q, type CreateUseCaseRequest as r, type CreateUseCaseRequestBase as s, type DeliveryConfig as t, type DirectEntityOperation as u, type DirectMeterReadingOperation as v, type DirectPayload as w, type DirectRelationItem as x, type DirectRelationRefItem as y, type DirectRelationRefValue as z };