@epilot/sdk 2.20.84 → 2.20.85

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 (136) hide show
  1. package/definitions/integration-toolkit.json +69 -2
  2. package/dist/apis/access-token.cjs +6 -6
  3. package/dist/apis/access-token.js +1 -1
  4. package/dist/apis/address-suggestions.cjs +6 -6
  5. package/dist/apis/address-suggestions.js +1 -1
  6. package/dist/apis/address.cjs +6 -6
  7. package/dist/apis/address.js +1 -1
  8. package/dist/apis/ai-agents.cjs +6 -6
  9. package/dist/apis/ai-agents.js +1 -1
  10. package/dist/apis/app.cjs +6 -6
  11. package/dist/apis/app.js +1 -1
  12. package/dist/apis/audit-logs.cjs +6 -6
  13. package/dist/apis/audit-logs.js +1 -1
  14. package/dist/apis/automation.cjs +6 -6
  15. package/dist/apis/automation.js +1 -1
  16. package/dist/apis/billing.cjs +6 -6
  17. package/dist/apis/billing.js +1 -1
  18. package/dist/apis/blueprint-manifest.cjs +6 -6
  19. package/dist/apis/blueprint-manifest.js +1 -1
  20. package/dist/apis/calendar.cjs +6 -6
  21. package/dist/apis/calendar.js +1 -1
  22. package/dist/apis/chat.cjs +6 -6
  23. package/dist/apis/chat.js +1 -1
  24. package/dist/apis/configuration-hub.cjs +6 -6
  25. package/dist/apis/configuration-hub.js +1 -1
  26. package/dist/apis/consent.cjs +6 -6
  27. package/dist/apis/consent.js +1 -1
  28. package/dist/apis/customer-portal.cjs +6 -6
  29. package/dist/apis/customer-portal.js +1 -1
  30. package/dist/apis/dashboard.cjs +6 -6
  31. package/dist/apis/dashboard.js +1 -1
  32. package/dist/apis/data-governance.cjs +6 -6
  33. package/dist/apis/data-governance.js +1 -1
  34. package/dist/apis/deduplication.cjs +6 -6
  35. package/dist/apis/deduplication.js +1 -1
  36. package/dist/apis/design.cjs +6 -6
  37. package/dist/apis/design.js +1 -1
  38. package/dist/apis/document.cjs +6 -6
  39. package/dist/apis/document.js +1 -1
  40. package/dist/apis/email-settings.cjs +6 -6
  41. package/dist/apis/email-settings.js +1 -1
  42. package/dist/apis/email-template.cjs +6 -6
  43. package/dist/apis/email-template.js +1 -1
  44. package/dist/apis/entity-mapping.cjs +6 -6
  45. package/dist/apis/entity-mapping.js +1 -1
  46. package/dist/apis/entity.cjs +6 -6
  47. package/dist/apis/entity.js +1 -1
  48. package/dist/apis/environments.cjs +6 -6
  49. package/dist/apis/environments.js +1 -1
  50. package/dist/apis/event-catalog.cjs +6 -6
  51. package/dist/apis/event-catalog.js +1 -1
  52. package/dist/apis/external-values.cjs +6 -6
  53. package/dist/apis/external-values.js +1 -1
  54. package/dist/apis/file.cjs +6 -6
  55. package/dist/apis/file.js +1 -1
  56. package/dist/apis/iban.cjs +6 -6
  57. package/dist/apis/iban.js +1 -1
  58. package/dist/apis/identity.cjs +6 -6
  59. package/dist/apis/identity.js +1 -1
  60. package/dist/apis/integration-toolkit.cjs +76 -7
  61. package/dist/apis/integration-toolkit.d.cts +2 -2
  62. package/dist/apis/integration-toolkit.d.ts +2 -2
  63. package/dist/apis/integration-toolkit.js +71 -2
  64. package/dist/apis/journey.cjs +6 -6
  65. package/dist/apis/journey.js +1 -1
  66. package/dist/apis/kanban.cjs +6 -6
  67. package/dist/apis/kanban.js +1 -1
  68. package/dist/apis/message.cjs +6 -6
  69. package/dist/apis/message.js +1 -1
  70. package/dist/apis/metering.cjs +6 -6
  71. package/dist/apis/metering.js +1 -1
  72. package/dist/apis/notes.cjs +6 -6
  73. package/dist/apis/notes.js +1 -1
  74. package/dist/apis/notification.cjs +6 -6
  75. package/dist/apis/notification.js +1 -1
  76. package/dist/apis/organization.cjs +6 -6
  77. package/dist/apis/organization.js +1 -1
  78. package/dist/apis/partner-directory.cjs +6 -6
  79. package/dist/apis/partner-directory.js +1 -1
  80. package/dist/apis/permissions.cjs +6 -6
  81. package/dist/apis/permissions.js +1 -1
  82. package/dist/apis/phone-integration.cjs +6 -6
  83. package/dist/apis/phone-integration.js +1 -1
  84. package/dist/apis/pricing-tier.cjs +6 -6
  85. package/dist/apis/pricing-tier.js +1 -1
  86. package/dist/apis/pricing.cjs +6 -6
  87. package/dist/apis/pricing.js +1 -1
  88. package/dist/apis/purpose.cjs +6 -6
  89. package/dist/apis/purpose.js +1 -1
  90. package/dist/apis/query.cjs +6 -6
  91. package/dist/apis/query.js +1 -1
  92. package/dist/apis/sandbox.cjs +6 -6
  93. package/dist/apis/sandbox.js +1 -1
  94. package/dist/apis/sharing.cjs +6 -6
  95. package/dist/apis/sharing.js +1 -1
  96. package/dist/apis/snapshot.cjs +6 -6
  97. package/dist/apis/snapshot.js +1 -1
  98. package/dist/apis/submission.cjs +6 -6
  99. package/dist/apis/submission.js +1 -1
  100. package/dist/apis/target.cjs +6 -6
  101. package/dist/apis/target.js +1 -1
  102. package/dist/apis/targeting.cjs +6 -6
  103. package/dist/apis/targeting.js +1 -1
  104. package/dist/apis/template-variables.cjs +6 -6
  105. package/dist/apis/template-variables.js +1 -1
  106. package/dist/apis/user.cjs +6 -6
  107. package/dist/apis/user.js +1 -1
  108. package/dist/apis/validation-rules.cjs +6 -6
  109. package/dist/apis/validation-rules.js +1 -1
  110. package/dist/apis/webhooks.cjs +6 -6
  111. package/dist/apis/webhooks.js +1 -1
  112. package/dist/apis/workflow-definition.cjs +6 -6
  113. package/dist/apis/workflow-definition.js +1 -1
  114. package/dist/apis/workflow.cjs +6 -6
  115. package/dist/apis/workflow.js +1 -1
  116. package/dist/{chunk-ZPG2RR4J.js → chunk-7T4BNWMN.js} +1 -4
  117. package/dist/{chunk-T4WYY7OU.cjs → chunk-ZSZ4IWLQ.cjs} +1 -4
  118. package/dist/index.cjs +8 -8
  119. package/dist/index.d.cts +1 -1
  120. package/dist/index.d.ts +1 -1
  121. package/dist/index.js +1 -1
  122. package/dist/integration-toolkit-DER5W7ID.cjs +7 -0
  123. package/dist/integration-toolkit-EMCDJARR.js +7 -0
  124. package/dist/{integration-toolkit.d-BGF0LVB7.d.cts → integration-toolkit.d-BJgyGgcU.d.cts} +45 -2
  125. package/dist/{integration-toolkit.d-BGF0LVB7.d.ts → integration-toolkit.d-BJgyGgcU.d.ts} +45 -2
  126. package/docs/integration-toolkit.md +54 -8
  127. package/package.json +1 -1
  128. package/dist/erp-integration-735KQ73W.js +0 -5295
  129. package/dist/erp-integration-PAVHSUDM.cjs +0 -7
  130. package/dist/erp-integration-SBQJ6HEG.js +0 -7
  131. package/dist/erp-integration-W7FZDJOB.cjs +0 -5295
  132. package/dist/erp-integration-runtime-JGVGQ22V.js +0 -13
  133. package/dist/erp-integration-runtime-OZ4YSTQX.cjs +0 -13
  134. package/dist/integration-toolkit-3XNG4PL5.cjs +0 -7
  135. package/dist/integration-toolkit-VLTS5HKV.js +0 -7
  136. package/docs/erp-integration.md +0 -6011
@@ -2472,6 +2472,12 @@ declare namespace Components {
2472
2472
  [name: string]: any;
2473
2473
  }[];
2474
2474
  };
2475
+ /**
2476
+ * Present when the entity mapping has a `sharing` block: each partner with its `enabled` evaluated against the payload.
2477
+ */
2478
+ sharing?: {
2479
+ [name: string]: any;
2480
+ };
2475
2481
  /**
2476
2482
  * Effective operation mode applied to this entity at runtime. `upsert-prune-scope-purge` / `upsert-prune-scope-delete` configurations report `upsert` here, because the individual entities in the payload are upserted — the destructive part of those modes is reported separately in `prune_scope_updates`. For `delete` / `purge`, `attributes` are still mapped and returned but ignored at runtime: only `unique_identifiers` are used to locate the entity to remove.
2477
2483
  */
@@ -2991,6 +2997,12 @@ declare namespace Components {
2991
2997
  [name: string]: any;
2992
2998
  }[];
2993
2999
  };
3000
+ /**
3001
+ * Present when the entity mapping has a `sharing` block: each partner with its `enabled` evaluated against the payload.
3002
+ */
3003
+ sharing?: {
3004
+ [name: string]: any;
3005
+ };
2994
3006
  /**
2995
3007
  * Effective operation mode applied to this entity at runtime. `upsert-prune-scope-purge` / `upsert-prune-scope-delete` configurations report `upsert` here, because the individual entities in the payload are upserted — the destructive part of those modes is reported separately in `prune_scope_updates`. For `delete` / `purge`, `attributes` are still mapped and returned but ignored at runtime: only `unique_identifiers` are used to locate the entity to remove.
2996
3008
  */
@@ -5776,6 +5788,7 @@ declare namespace Components {
5776
5788
  */
5777
5789
  fields?: IntegrationEntityField[];
5778
5790
  conditional?: /* Conditional Pricing extras for this target, used when it writes a conditional entity (a Product, Price or Coupon carrying context-dependent variants). The conditions themselves are declared on the entity schema, not here. */ IntegrationEntityConditional;
5791
+ sharing?: /* Keeps the mapped entity's sharing with partner organizations in sync. After the entity is written, it is shared with every listed partner whose `enabled` is true and unshared from every listed partner whose `enabled` is false. Changes are computed against the entity's current `_acl`, so a repeated event with the same outcome makes no sharing call. Each partner org needs an existing partnership; partners without one are skipped and reported as `SHARING_PARTNER_NOT_CONNECTED`. */ IntegrationEntitySharing;
5779
5792
  }
5780
5793
  /**
5781
5794
  * Conditional Pricing extras for this target, used when it writes a conditional entity (a Product, Price or Coupon carrying context-dependent variants). The conditions themselves are declared on the entity schema, not here.
@@ -5873,6 +5886,34 @@ declare namespace Components {
5873
5886
  [name: string]: /* One mapped value. Exactly one of field, constant or jsonataExpression must be set — the same three forms `IntegrationEntityField` accepts. */ MappedFieldValue;
5874
5887
  };
5875
5888
  }
5889
+ /**
5890
+ * Keeps the mapped entity's sharing with partner organizations in sync. After the entity is written, it is shared with every listed partner whose `enabled` is true and unshared from every listed partner whose `enabled` is false. Changes are computed against the entity's current `_acl`, so a repeated event with the same outcome makes no sharing call. Each partner org needs an existing partnership; partners without one are skipped and reported as `SHARING_PARTNER_NOT_CONNECTED`.
5891
+ */
5892
+ export interface IntegrationEntitySharing {
5893
+ partners: [
5894
+ IntegrationEntitySharingPartner,
5895
+ ...IntegrationEntitySharingPartner[]
5896
+ ];
5897
+ }
5898
+ export interface IntegrationEntitySharingPartner {
5899
+ /**
5900
+ * The partner organization to keep the entity's sharing in sync with.
5901
+ * example:
5902
+ * 739224
5903
+ */
5904
+ partner_org_id: string;
5905
+ /**
5906
+ * Whether the entity should be shared with this partner. A boolean, or a JSONata expression evaluated against the mapped payload item (the same input as field-level `enabled`). Defaults to true. When false, the entity is unshared from the partner.
5907
+ * example:
5908
+ * salesPartner.number = 'SP-1001'
5909
+ */
5910
+ enabled?: /**
5911
+ * Whether the entity should be shared with this partner. A boolean, or a JSONata expression evaluated against the mapped payload item (the same input as field-level `enabled`). Defaults to true. When false, the entity is unshared from the partner.
5912
+ * example:
5913
+ * salesPartner.number = 'SP-1001'
5914
+ */
5915
+ boolean | string;
5916
+ }
5876
5917
  export interface IntegrationFieldV1 {
5877
5918
  /**
5878
5919
  * Target entity slug
@@ -6511,7 +6552,7 @@ declare namespace Components {
6511
6552
  * `monitoring-code-enum.test.ts`, which fails if the two diverge.
6512
6553
  *
6513
6554
  */
6514
- 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" | "CORRELATION_CLOSED_EMPTY" | "CORRELATION_CLOSED_INCOMPLETE" | "CORRELATION_CLOSE_IGNORED" | "CORRELATION_COMPLETED" | "CORRELATION_EVENT_LIMIT_EXCEEDED" | "CORRELATION_ID_MISSING" | "CORRELATION_LATE_EVENT" | "CORRELATION_REQUIREMENT_FAILED" | "CORRELATION_WAIT_REJECTED" | "CORRELATION_WAIT_TIMEOUT" | "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" | "INTERACTIVE_CROSS_LANE_WRITE" | "INTERACTIVE_NOT_ALLOWED" | "INTERACTIVE_RATE_LIMITED" | "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" | "PROCESSING_STATE_LIMIT" | "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_LOOKUP_UNRESOLVABLE" | "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";
6555
+ 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" | "CORRELATION_CLOSED_EMPTY" | "CORRELATION_CLOSED_INCOMPLETE" | "CORRELATION_CLOSE_IGNORED" | "CORRELATION_COMPLETED" | "CORRELATION_EVENT_LIMIT_EXCEEDED" | "CORRELATION_ID_MISSING" | "CORRELATION_LATE_EVENT" | "CORRELATION_REQUIREMENT_FAILED" | "CORRELATION_WAIT_REJECTED" | "CORRELATION_WAIT_TIMEOUT" | "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" | "ENV_VAR_REF_JSONATA_FAILED" | "ENV_VAR_REF_LOOKUP_FAILED" | "ENV_VAR_REF_NOT_FOUND" | "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" | "INTERACTIVE_CROSS_LANE_WRITE" | "INTERACTIVE_NOT_ALLOWED" | "INTERACTIVE_RATE_LIMITED" | "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_METER_COUNTER_UNIQUE_IDS" | "MISSING_METER_UNIQUE_IDS" | "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" | "ORG_DROPPED" | "PAYLOAD_TOO_LARGE" | "PORTAL_REF_AMBIGUOUS" | "PORTAL_REF_JSONATA_FAILED" | "PORTAL_REF_LOOKUP_FAILED" | "PORTAL_REF_NO_MATCH" | "PROCESSING_STATE_LIMIT" | "PRUNE_SCOPE_COMPLETED" | "PRUNE_SCOPE_PARTIAL_FAILURE" | "RECURSION_DEPTH_EXCEEDED" | "RELATION_MISSING_UNIQUE_IDS" | "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_OK" | "SECURE_PROXY_UNAVAILABLE" | "SHARING_FAILED" | "SHARING_PARTNER_NOT_CONNECTED" | "SHARING_REJECTED" | "SIGNATURE_VERIFICATION_FAILED" | "SIGNATURE_VERIFICATION_UNAVAILABLE" | "SOFT_DELETED_ENTITY_MATCHED" | "STEP_DISABLED" | "TIMEOUT" | "UNIQUE_ID_LOOKUP_UNRESOLVABLE" | "UNIQUE_ID_MULTIPLE_MATCHES" | "UNIQUE_ID_NOT_IN_SCHEMA" | "UNIQUE_ID_TYPE_DERIVATION_FAILED" | "UNKNOWN_ERROR" | "USE_CASE_DISABLED" | "USE_CASE_INVALID_TYPE" | "USE_CASE_MISSING_CONFIG" | "USE_CASE_NOT_FOUND" | "WEBHOOK_DELIVERED" | "WEBHOOK_DELIVERY_FAILED" | "WEBHOOK_SKIPPED";
6515
6556
  export interface MonitoringEventV2 {
6516
6557
  /**
6517
6558
  * Unique monitoring event ID
@@ -13438,6 +13479,8 @@ type IntegrationEntity = Components.Schemas.IntegrationEntity;
13438
13479
  type IntegrationEntityConditional = Components.Schemas.IntegrationEntityConditional;
13439
13480
  type IntegrationEntityField = Components.Schemas.IntegrationEntityField;
13440
13481
  type IntegrationEntityFromRows = Components.Schemas.IntegrationEntityFromRows;
13482
+ type IntegrationEntitySharing = Components.Schemas.IntegrationEntitySharing;
13483
+ type IntegrationEntitySharingPartner = Components.Schemas.IntegrationEntitySharingPartner;
13441
13484
  type IntegrationFieldV1 = Components.Schemas.IntegrationFieldV1;
13442
13485
  type IntegrationMap = Components.Schemas.IntegrationMap;
13443
13486
  type IntegrationMeterReading = Components.Schemas.IntegrationMeterReading;
@@ -13561,4 +13604,4 @@ type ValidateErpImportRequest = Components.Schemas.ValidateErpImportRequest;
13561
13604
  type WebhookDeliveryConfig = Components.Schemas.WebhookDeliveryConfig;
13562
13605
  type WebhookStatus = Components.Schemas.WebhookStatus;
13563
13606
 
13564
- export { type EntityUpdate as $, type AccessLogEntry as A, type DirectEntityOperation as B, type Client as C, type DeleteIntegrationAppMappingRequest as D, type DirectMeterReadingOperation as E, type DirectPayload as F, type DirectRelationItem as G, type DirectRelationRefItem as H, type DirectRelationRefValue as I, type DirectRelationValue as J, type DirectSimulationError as K, type DirectSimulationRequest as L, type DirectSimulationResponse as M, type DocumentationPage as N, type OperationMethods as O, Paths as P, type DocumentationPageSummary as Q, type EmbeddedFileProxyUseCaseRequest as R, type EmbeddedInboundUseCaseRequest as S, type EmbeddedManagedCallUseCaseRequest as T, type EmbeddedOutboundUseCaseRequest as U, type EmbeddedSecureProxyUseCaseRequest as V, type EmbeddedUseCaseRequest as W, type EmbeddedUseCaseRequestBase as X, type EntityPruneScopeUpdate as Y, type EntitySyncState as Z, type EntitySyncStatusResponse as _, Components as a, type IntegrationObjectV1 as a$, type EnvVarRefConfig as a0, type EnvironmentFieldConfig as a1, type ErpEvent as a2, type ErpEventV3 as a3, type ErpImportDownload as a4, type ErpImportEntityDetail as a5, type ErpImportError as a6, type ErpImportFilePreview as a7, type ErpImportIssue as a8, type ErpImportJob as a9, type GenerateTypesPreviewResponse as aA, type GenerateTypesRequest as aB, type GenerateTypesResponse as aC, type GetMonitoringRunCompletionV2Request as aD, type GetMonitoringStatsRequest as aE, type GetMonitoringStatsV2Request as aF, type GetMonitoringTimeSeriesRequest as aG, type GetMonitoringTimeSeriesV2Request as aH, type InboundIntegrationEventConfiguration as aI, type InboundMonitoringEvent as aJ, type InboundUseCase as aK, type InboundUseCaseHistoryEntry as aL, type IngestExternalMonitoringEventsRequest as aM, type IngestExternalMonitoringEventsResponse as aN, type Integration as aO, type IntegrationAppMapping as aP, type IntegrationConfigurationV1 as aQ, type IntegrationConfigurationV2 as aR, type IntegrationEditableFields as aS, type IntegrationEntity as aT, type IntegrationEntityConditional as aU, type IntegrationEntityField as aV, type IntegrationEntityFromRows as aW, type IntegrationFieldV1 as aX, type IntegrationMap as aY, type IntegrationMeterReading as aZ, type IntegrationNotificationConfig as a_, type ErpImportList as aa, type ErpImportProgress as ab, type ErpImportUseCaseSuggestion as ac, type ErpImportValidation as ad, type ErpUpdateEventStatus as ae, type ErpUpdateProcessedEntity as af, type ErpUpdateProcessingError as ag, type ErpUpdatesEventsV2Request as ah, type ErpUpdatesEventsV3Request as ai, type ErrorResponseBase as aj, type ExecuteErpImportRequest as ak, type ExternalMonitoringSpan as al, type FileProxyAuth as am, type FileProxyDeliveryConfig as an, type FileProxyFanOutConfig as ao, type FileProxyParam as ap, type FileProxyResponseConfig as aq, type FileProxySecureProxyAttachment as ar, type FileProxyStep as as, type FileProxyUploadConfig as at, type FileProxyUrlConfig as au, type FileProxyUrlParam as av, type FileProxyUrlParams as aw, type FileProxyUseCase as ax, type FileProxyUseCaseConfiguration as ay, type FileProxyUseCaseHistoryEntry as az, type PathsDictionary as b, type RedriveOutboundDlqResult as b$, type IntegrationSettings as b0, type IntegrationWithUseCases as b1, type ManagedCallAuth as b2, type ManagedCallErrorResponse as b3, type ManagedCallExecuteRequest as b4, type ManagedCallExecuteResponse as b5, type ManagedCallOperation as b6, type ManagedCallOperationConfig as b7, type ManagedCallUseCase as b8, type ManagedCallUseCaseHistoryEntry as b9, type OutboundDlqListResponse as bA, type OutboundDlqMessage as bB, type OutboundFileProxyTargetStatus as bC, type OutboundIntegrationEventConfiguration as bD, type OutboundMapping as bE, type OutboundMappingSimulationError as bF, type OutboundMessage as bG, type OutboundMonitoringEvent as bH, type OutboundPollStatus as bI, type OutboundStatusResponse as bJ, type OutboundUseCase as bK, type OutboundUseCaseHistoryEntry as bL, type OutboundUseCaseStatus as bM, type PollDeliveryConfig as bN, type PollOutboundMessagesRequest as bO, type PollOutboundMessagesResponse as bP, type PortalOrigin as bQ, type PortalRefConfig as bR, type PortalRefFilter as bS, type PruneScopeConfig as bT, type QueryAccessLogsRequest as bU, type QueryEventsRequest as bV, type QueryInboundMonitoringEventsRequest as bW, type QueryMonitoringEventsV2Request as bX, type QueryOutboundMonitoringEventsRequest as bY, type RedriveOutboundDlqRequest as bZ, type RedriveOutboundDlqResponse as b_, type MappedFieldValue as ba, type MappingSimulationRequest as bb, type MappingSimulationResponse as bc, type MappingSimulationV2Request as bd, type MappingSimulationWarning as be, type MeterReadingPruneScopeConfig as bf, type MeterReadingPruneScopeUpdate as bg, type MeterReadingUpdate as bh, type MeterUniqueIdsConfig as bi, type MonitoringCode as bj, type MonitoringEventV2 as bk, type MonitoringRunCompletionV2 as bl, type MonitoringRunCompletionV2Response as bm, type MonitoringRunEntriesV2 as bn, type MonitoringStats as bo, type MonitoringStatsV2 as bp, type MonitoringTraceResponse as bq, type NotificationChannelSet as br, type NotificationDigestConfig as bs, type NotificationHistoryItem as bt, type NotificationHistoryResponse as bu, type NotificationRecipient as bv, type NotificationRule as bw, type NotificationRuleStatus as bx, type NotificationStatusResponse as by, type OutboundConflict as bz, type AckOutboundMessagesRequest as c, type RelationConfig as c0, type RelationItemConfig as c1, type RelationRefItemConfig as c2, type RelationRefValueConfig as c3, type RelationRefsConfig as c4, type RelationUniqueIdField as c5, type RepeatableFieldType as c6, type ReplayEventsRequest as c7, type RuleBaselineBucket as c8, type RuleBaselineStatus as c9, type UpdateInboundUseCaseRequest as cA, type UpdateIntegrationRequest as cB, type UpdateManagedCallUseCaseRequest as cC, type UpdateOutboundUseCaseRequest as cD, type UpdateSecureProxyUseCaseRequest as cE, type UpdateUseCaseRequest as cF, type UpdateUseCaseRequestBase as cG, type UpsertDocumentationPageRequest as cH, type UpsertIntegrationWithUseCasesRequest as cI, type UseCase as cJ, type UseCaseBase as cK, type UseCaseHistoryEntry as cL, type UseCaseHistoryEntryBase as cM, type UseCaseTypePreview as cN, type ValidateErpImportRequest as cO, type WebhookDeliveryConfig as cP, type WebhookStatus as cQ, type S3Reference as ca, type SecureProxyRequest as cb, type SecureProxyResponse as cc, type SecureProxySummary as cd, type SecureProxyUpstreamError as ce, type SecureProxyUseCase as cf, type SecureProxyUseCaseConfiguration as cg, type SecureProxyUseCaseHistoryEntry as ch, type SecureProxyWhitelist as ci, type SecureProxyWhitelistUpdate as cj, type SetIntegrationAppMappingRequest as ck, type SimulateOutboundMappingRequest as cl, type SimulateOutboundMappingResponse as cm, type SuggestErpImportUseCasesResponse as cn, type TestNotificationRequest as co, type TestNotificationResponse as cp, type TimeSeriesBreakdownItemV2 as cq, type TimeSeriesBucket as cr, type TimeSeriesBucketV2 as cs, type TriggerErpActionRequest as ct, type TriggerWebhookResp as cu, type TypeAnnotations as cv, type TypeDescriptor as cw, type UnblockOutboundStreamRequest as cx, type UnblockOutboundStreamResponse as cy, type UpdateFileProxyUseCaseRequest 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 CorrelationCloseResult as j, type CorrelationStatus as k, type CorrelationStatusList as l, type CorrelationUseCaseCounts as m, type CorrelationWaitBadRequest as n, type CorrelationWaitResult as o, type CreateErpImportRequest as p, type CreateErpImportResponse as q, type CreateFileProxyUseCaseRequest as r, type CreateInboundUseCaseRequest as s, type CreateIntegrationRequest as t, type CreateManagedCallUseCaseRequest as u, type CreateOutboundUseCaseRequest as v, type CreateSecureProxyUseCaseRequest as w, type CreateUseCaseRequest as x, type CreateUseCaseRequestBase as y, type DeliveryConfig as z };
13607
+ export { type EntityUpdate as $, type AccessLogEntry as A, type DirectEntityOperation as B, type Client as C, type DeleteIntegrationAppMappingRequest as D, type DirectMeterReadingOperation as E, type DirectPayload as F, type DirectRelationItem as G, type DirectRelationRefItem as H, type DirectRelationRefValue as I, type DirectRelationValue as J, type DirectSimulationError as K, type DirectSimulationRequest as L, type DirectSimulationResponse as M, type DocumentationPage as N, type OperationMethods as O, Paths as P, type DocumentationPageSummary as Q, type EmbeddedFileProxyUseCaseRequest as R, type EmbeddedInboundUseCaseRequest as S, type EmbeddedManagedCallUseCaseRequest as T, type EmbeddedOutboundUseCaseRequest as U, type EmbeddedSecureProxyUseCaseRequest as V, type EmbeddedUseCaseRequest as W, type EmbeddedUseCaseRequestBase as X, type EntityPruneScopeUpdate as Y, type EntitySyncState as Z, type EntitySyncStatusResponse as _, Components as a, type IntegrationMeterReading as a$, type EnvVarRefConfig as a0, type EnvironmentFieldConfig as a1, type ErpEvent as a2, type ErpEventV3 as a3, type ErpImportDownload as a4, type ErpImportEntityDetail as a5, type ErpImportError as a6, type ErpImportFilePreview as a7, type ErpImportIssue as a8, type ErpImportJob as a9, type GenerateTypesPreviewResponse as aA, type GenerateTypesRequest as aB, type GenerateTypesResponse as aC, type GetMonitoringRunCompletionV2Request as aD, type GetMonitoringStatsRequest as aE, type GetMonitoringStatsV2Request as aF, type GetMonitoringTimeSeriesRequest as aG, type GetMonitoringTimeSeriesV2Request as aH, type InboundIntegrationEventConfiguration as aI, type InboundMonitoringEvent as aJ, type InboundUseCase as aK, type InboundUseCaseHistoryEntry as aL, type IngestExternalMonitoringEventsRequest as aM, type IngestExternalMonitoringEventsResponse as aN, type Integration as aO, type IntegrationAppMapping as aP, type IntegrationConfigurationV1 as aQ, type IntegrationConfigurationV2 as aR, type IntegrationEditableFields as aS, type IntegrationEntity as aT, type IntegrationEntityConditional as aU, type IntegrationEntityField as aV, type IntegrationEntityFromRows as aW, type IntegrationEntitySharing as aX, type IntegrationEntitySharingPartner as aY, type IntegrationFieldV1 as aZ, type IntegrationMap as a_, type ErpImportList as aa, type ErpImportProgress as ab, type ErpImportUseCaseSuggestion as ac, type ErpImportValidation as ad, type ErpUpdateEventStatus as ae, type ErpUpdateProcessedEntity as af, type ErpUpdateProcessingError as ag, type ErpUpdatesEventsV2Request as ah, type ErpUpdatesEventsV3Request as ai, type ErrorResponseBase as aj, type ExecuteErpImportRequest as ak, type ExternalMonitoringSpan as al, type FileProxyAuth as am, type FileProxyDeliveryConfig as an, type FileProxyFanOutConfig as ao, type FileProxyParam as ap, type FileProxyResponseConfig as aq, type FileProxySecureProxyAttachment as ar, type FileProxyStep as as, type FileProxyUploadConfig as at, type FileProxyUrlConfig as au, type FileProxyUrlParam as av, type FileProxyUrlParams as aw, type FileProxyUseCase as ax, type FileProxyUseCaseConfiguration as ay, type FileProxyUseCaseHistoryEntry as az, type PathsDictionary as b, type RedriveOutboundDlqRequest as b$, type IntegrationNotificationConfig as b0, type IntegrationObjectV1 as b1, type IntegrationSettings as b2, type IntegrationWithUseCases as b3, type ManagedCallAuth as b4, type ManagedCallErrorResponse as b5, type ManagedCallExecuteRequest as b6, type ManagedCallExecuteResponse as b7, type ManagedCallOperation as b8, type ManagedCallOperationConfig as b9, type NotificationStatusResponse as bA, type OutboundConflict as bB, type OutboundDlqListResponse as bC, type OutboundDlqMessage as bD, type OutboundFileProxyTargetStatus as bE, type OutboundIntegrationEventConfiguration as bF, type OutboundMapping as bG, type OutboundMappingSimulationError as bH, type OutboundMessage as bI, type OutboundMonitoringEvent as bJ, type OutboundPollStatus as bK, type OutboundStatusResponse as bL, type OutboundUseCase as bM, type OutboundUseCaseHistoryEntry as bN, type OutboundUseCaseStatus as bO, type PollDeliveryConfig as bP, type PollOutboundMessagesRequest as bQ, type PollOutboundMessagesResponse as bR, type PortalOrigin as bS, type PortalRefConfig as bT, type PortalRefFilter as bU, type PruneScopeConfig as bV, type QueryAccessLogsRequest as bW, type QueryEventsRequest as bX, type QueryInboundMonitoringEventsRequest as bY, type QueryMonitoringEventsV2Request as bZ, type QueryOutboundMonitoringEventsRequest as b_, type ManagedCallUseCase as ba, type ManagedCallUseCaseHistoryEntry as bb, type MappedFieldValue as bc, type MappingSimulationRequest as bd, type MappingSimulationResponse as be, type MappingSimulationV2Request as bf, type MappingSimulationWarning as bg, type MeterReadingPruneScopeConfig as bh, type MeterReadingPruneScopeUpdate as bi, type MeterReadingUpdate as bj, type MeterUniqueIdsConfig as bk, type MonitoringCode as bl, type MonitoringEventV2 as bm, type MonitoringRunCompletionV2 as bn, type MonitoringRunCompletionV2Response as bo, type MonitoringRunEntriesV2 as bp, type MonitoringStats as bq, type MonitoringStatsV2 as br, type MonitoringTraceResponse as bs, type NotificationChannelSet as bt, type NotificationDigestConfig as bu, type NotificationHistoryItem as bv, type NotificationHistoryResponse as bw, type NotificationRecipient as bx, type NotificationRule as by, type NotificationRuleStatus as bz, type AckOutboundMessagesRequest as c, type RedriveOutboundDlqResponse as c0, type RedriveOutboundDlqResult as c1, type RelationConfig as c2, type RelationItemConfig as c3, type RelationRefItemConfig as c4, type RelationRefValueConfig as c5, type RelationRefsConfig as c6, type RelationUniqueIdField as c7, type RepeatableFieldType as c8, type ReplayEventsRequest as c9, type UnblockOutboundStreamResponse as cA, type UpdateFileProxyUseCaseRequest as cB, type UpdateInboundUseCaseRequest as cC, type UpdateIntegrationRequest as cD, type UpdateManagedCallUseCaseRequest as cE, type UpdateOutboundUseCaseRequest as cF, type UpdateSecureProxyUseCaseRequest as cG, type UpdateUseCaseRequest as cH, type UpdateUseCaseRequestBase as cI, type UpsertDocumentationPageRequest as cJ, type UpsertIntegrationWithUseCasesRequest as cK, type UseCase as cL, type UseCaseBase as cM, type UseCaseHistoryEntry as cN, type UseCaseHistoryEntryBase as cO, type UseCaseTypePreview as cP, type ValidateErpImportRequest as cQ, type WebhookDeliveryConfig as cR, type WebhookStatus as cS, type RuleBaselineBucket as ca, type RuleBaselineStatus as cb, type S3Reference as cc, type SecureProxyRequest as cd, type SecureProxyResponse as ce, type SecureProxySummary as cf, type SecureProxyUpstreamError as cg, type SecureProxyUseCase as ch, type SecureProxyUseCaseConfiguration as ci, type SecureProxyUseCaseHistoryEntry as cj, type SecureProxyWhitelist as ck, type SecureProxyWhitelistUpdate as cl, type SetIntegrationAppMappingRequest as cm, type SimulateOutboundMappingRequest as cn, type SimulateOutboundMappingResponse as co, type SuggestErpImportUseCasesResponse as cp, type TestNotificationRequest as cq, type TestNotificationResponse as cr, type TimeSeriesBreakdownItemV2 as cs, type TimeSeriesBucket as ct, type TimeSeriesBucketV2 as cu, type TriggerErpActionRequest as cv, type TriggerWebhookResp as cw, type TypeAnnotations as cx, type TypeDescriptor as cy, type UnblockOutboundStreamRequest 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 CorrelationCloseResult as j, type CorrelationStatus as k, type CorrelationStatusList as l, type CorrelationUseCaseCounts as m, type CorrelationWaitBadRequest as n, type CorrelationWaitResult as o, type CreateErpImportRequest as p, type CreateErpImportResponse as q, type CreateFileProxyUseCaseRequest as r, type CreateInboundUseCaseRequest as s, type CreateIntegrationRequest as t, type CreateManagedCallUseCaseRequest as u, type CreateOutboundUseCaseRequest as v, type CreateSecureProxyUseCaseRequest as w, type CreateUseCaseRequest as x, type CreateUseCaseRequestBase as y, type DeliveryConfig as z };
@@ -2472,6 +2472,12 @@ declare namespace Components {
2472
2472
  [name: string]: any;
2473
2473
  }[];
2474
2474
  };
2475
+ /**
2476
+ * Present when the entity mapping has a `sharing` block: each partner with its `enabled` evaluated against the payload.
2477
+ */
2478
+ sharing?: {
2479
+ [name: string]: any;
2480
+ };
2475
2481
  /**
2476
2482
  * Effective operation mode applied to this entity at runtime. `upsert-prune-scope-purge` / `upsert-prune-scope-delete` configurations report `upsert` here, because the individual entities in the payload are upserted — the destructive part of those modes is reported separately in `prune_scope_updates`. For `delete` / `purge`, `attributes` are still mapped and returned but ignored at runtime: only `unique_identifiers` are used to locate the entity to remove.
2477
2483
  */
@@ -2991,6 +2997,12 @@ declare namespace Components {
2991
2997
  [name: string]: any;
2992
2998
  }[];
2993
2999
  };
3000
+ /**
3001
+ * Present when the entity mapping has a `sharing` block: each partner with its `enabled` evaluated against the payload.
3002
+ */
3003
+ sharing?: {
3004
+ [name: string]: any;
3005
+ };
2994
3006
  /**
2995
3007
  * Effective operation mode applied to this entity at runtime. `upsert-prune-scope-purge` / `upsert-prune-scope-delete` configurations report `upsert` here, because the individual entities in the payload are upserted — the destructive part of those modes is reported separately in `prune_scope_updates`. For `delete` / `purge`, `attributes` are still mapped and returned but ignored at runtime: only `unique_identifiers` are used to locate the entity to remove.
2996
3008
  */
@@ -5776,6 +5788,7 @@ declare namespace Components {
5776
5788
  */
5777
5789
  fields?: IntegrationEntityField[];
5778
5790
  conditional?: /* Conditional Pricing extras for this target, used when it writes a conditional entity (a Product, Price or Coupon carrying context-dependent variants). The conditions themselves are declared on the entity schema, not here. */ IntegrationEntityConditional;
5791
+ sharing?: /* Keeps the mapped entity's sharing with partner organizations in sync. After the entity is written, it is shared with every listed partner whose `enabled` is true and unshared from every listed partner whose `enabled` is false. Changes are computed against the entity's current `_acl`, so a repeated event with the same outcome makes no sharing call. Each partner org needs an existing partnership; partners without one are skipped and reported as `SHARING_PARTNER_NOT_CONNECTED`. */ IntegrationEntitySharing;
5779
5792
  }
5780
5793
  /**
5781
5794
  * Conditional Pricing extras for this target, used when it writes a conditional entity (a Product, Price or Coupon carrying context-dependent variants). The conditions themselves are declared on the entity schema, not here.
@@ -5873,6 +5886,34 @@ declare namespace Components {
5873
5886
  [name: string]: /* One mapped value. Exactly one of field, constant or jsonataExpression must be set — the same three forms `IntegrationEntityField` accepts. */ MappedFieldValue;
5874
5887
  };
5875
5888
  }
5889
+ /**
5890
+ * Keeps the mapped entity's sharing with partner organizations in sync. After the entity is written, it is shared with every listed partner whose `enabled` is true and unshared from every listed partner whose `enabled` is false. Changes are computed against the entity's current `_acl`, so a repeated event with the same outcome makes no sharing call. Each partner org needs an existing partnership; partners without one are skipped and reported as `SHARING_PARTNER_NOT_CONNECTED`.
5891
+ */
5892
+ export interface IntegrationEntitySharing {
5893
+ partners: [
5894
+ IntegrationEntitySharingPartner,
5895
+ ...IntegrationEntitySharingPartner[]
5896
+ ];
5897
+ }
5898
+ export interface IntegrationEntitySharingPartner {
5899
+ /**
5900
+ * The partner organization to keep the entity's sharing in sync with.
5901
+ * example:
5902
+ * 739224
5903
+ */
5904
+ partner_org_id: string;
5905
+ /**
5906
+ * Whether the entity should be shared with this partner. A boolean, or a JSONata expression evaluated against the mapped payload item (the same input as field-level `enabled`). Defaults to true. When false, the entity is unshared from the partner.
5907
+ * example:
5908
+ * salesPartner.number = 'SP-1001'
5909
+ */
5910
+ enabled?: /**
5911
+ * Whether the entity should be shared with this partner. A boolean, or a JSONata expression evaluated against the mapped payload item (the same input as field-level `enabled`). Defaults to true. When false, the entity is unshared from the partner.
5912
+ * example:
5913
+ * salesPartner.number = 'SP-1001'
5914
+ */
5915
+ boolean | string;
5916
+ }
5876
5917
  export interface IntegrationFieldV1 {
5877
5918
  /**
5878
5919
  * Target entity slug
@@ -6511,7 +6552,7 @@ declare namespace Components {
6511
6552
  * `monitoring-code-enum.test.ts`, which fails if the two diverge.
6512
6553
  *
6513
6554
  */
6514
- 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" | "CORRELATION_CLOSED_EMPTY" | "CORRELATION_CLOSED_INCOMPLETE" | "CORRELATION_CLOSE_IGNORED" | "CORRELATION_COMPLETED" | "CORRELATION_EVENT_LIMIT_EXCEEDED" | "CORRELATION_ID_MISSING" | "CORRELATION_LATE_EVENT" | "CORRELATION_REQUIREMENT_FAILED" | "CORRELATION_WAIT_REJECTED" | "CORRELATION_WAIT_TIMEOUT" | "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" | "INTERACTIVE_CROSS_LANE_WRITE" | "INTERACTIVE_NOT_ALLOWED" | "INTERACTIVE_RATE_LIMITED" | "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" | "PROCESSING_STATE_LIMIT" | "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_LOOKUP_UNRESOLVABLE" | "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";
6555
+ 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" | "CORRELATION_CLOSED_EMPTY" | "CORRELATION_CLOSED_INCOMPLETE" | "CORRELATION_CLOSE_IGNORED" | "CORRELATION_COMPLETED" | "CORRELATION_EVENT_LIMIT_EXCEEDED" | "CORRELATION_ID_MISSING" | "CORRELATION_LATE_EVENT" | "CORRELATION_REQUIREMENT_FAILED" | "CORRELATION_WAIT_REJECTED" | "CORRELATION_WAIT_TIMEOUT" | "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" | "ENV_VAR_REF_JSONATA_FAILED" | "ENV_VAR_REF_LOOKUP_FAILED" | "ENV_VAR_REF_NOT_FOUND" | "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" | "INTERACTIVE_CROSS_LANE_WRITE" | "INTERACTIVE_NOT_ALLOWED" | "INTERACTIVE_RATE_LIMITED" | "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_METER_COUNTER_UNIQUE_IDS" | "MISSING_METER_UNIQUE_IDS" | "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" | "ORG_DROPPED" | "PAYLOAD_TOO_LARGE" | "PORTAL_REF_AMBIGUOUS" | "PORTAL_REF_JSONATA_FAILED" | "PORTAL_REF_LOOKUP_FAILED" | "PORTAL_REF_NO_MATCH" | "PROCESSING_STATE_LIMIT" | "PRUNE_SCOPE_COMPLETED" | "PRUNE_SCOPE_PARTIAL_FAILURE" | "RECURSION_DEPTH_EXCEEDED" | "RELATION_MISSING_UNIQUE_IDS" | "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_OK" | "SECURE_PROXY_UNAVAILABLE" | "SHARING_FAILED" | "SHARING_PARTNER_NOT_CONNECTED" | "SHARING_REJECTED" | "SIGNATURE_VERIFICATION_FAILED" | "SIGNATURE_VERIFICATION_UNAVAILABLE" | "SOFT_DELETED_ENTITY_MATCHED" | "STEP_DISABLED" | "TIMEOUT" | "UNIQUE_ID_LOOKUP_UNRESOLVABLE" | "UNIQUE_ID_MULTIPLE_MATCHES" | "UNIQUE_ID_NOT_IN_SCHEMA" | "UNIQUE_ID_TYPE_DERIVATION_FAILED" | "UNKNOWN_ERROR" | "USE_CASE_DISABLED" | "USE_CASE_INVALID_TYPE" | "USE_CASE_MISSING_CONFIG" | "USE_CASE_NOT_FOUND" | "WEBHOOK_DELIVERED" | "WEBHOOK_DELIVERY_FAILED" | "WEBHOOK_SKIPPED";
6515
6556
  export interface MonitoringEventV2 {
6516
6557
  /**
6517
6558
  * Unique monitoring event ID
@@ -13438,6 +13479,8 @@ type IntegrationEntity = Components.Schemas.IntegrationEntity;
13438
13479
  type IntegrationEntityConditional = Components.Schemas.IntegrationEntityConditional;
13439
13480
  type IntegrationEntityField = Components.Schemas.IntegrationEntityField;
13440
13481
  type IntegrationEntityFromRows = Components.Schemas.IntegrationEntityFromRows;
13482
+ type IntegrationEntitySharing = Components.Schemas.IntegrationEntitySharing;
13483
+ type IntegrationEntitySharingPartner = Components.Schemas.IntegrationEntitySharingPartner;
13441
13484
  type IntegrationFieldV1 = Components.Schemas.IntegrationFieldV1;
13442
13485
  type IntegrationMap = Components.Schemas.IntegrationMap;
13443
13486
  type IntegrationMeterReading = Components.Schemas.IntegrationMeterReading;
@@ -13561,4 +13604,4 @@ type ValidateErpImportRequest = Components.Schemas.ValidateErpImportRequest;
13561
13604
  type WebhookDeliveryConfig = Components.Schemas.WebhookDeliveryConfig;
13562
13605
  type WebhookStatus = Components.Schemas.WebhookStatus;
13563
13606
 
13564
- export { type EntityUpdate as $, type AccessLogEntry as A, type DirectEntityOperation as B, type Client as C, type DeleteIntegrationAppMappingRequest as D, type DirectMeterReadingOperation as E, type DirectPayload as F, type DirectRelationItem as G, type DirectRelationRefItem as H, type DirectRelationRefValue as I, type DirectRelationValue as J, type DirectSimulationError as K, type DirectSimulationRequest as L, type DirectSimulationResponse as M, type DocumentationPage as N, type OperationMethods as O, Paths as P, type DocumentationPageSummary as Q, type EmbeddedFileProxyUseCaseRequest as R, type EmbeddedInboundUseCaseRequest as S, type EmbeddedManagedCallUseCaseRequest as T, type EmbeddedOutboundUseCaseRequest as U, type EmbeddedSecureProxyUseCaseRequest as V, type EmbeddedUseCaseRequest as W, type EmbeddedUseCaseRequestBase as X, type EntityPruneScopeUpdate as Y, type EntitySyncState as Z, type EntitySyncStatusResponse as _, Components as a, type IntegrationObjectV1 as a$, type EnvVarRefConfig as a0, type EnvironmentFieldConfig as a1, type ErpEvent as a2, type ErpEventV3 as a3, type ErpImportDownload as a4, type ErpImportEntityDetail as a5, type ErpImportError as a6, type ErpImportFilePreview as a7, type ErpImportIssue as a8, type ErpImportJob as a9, type GenerateTypesPreviewResponse as aA, type GenerateTypesRequest as aB, type GenerateTypesResponse as aC, type GetMonitoringRunCompletionV2Request as aD, type GetMonitoringStatsRequest as aE, type GetMonitoringStatsV2Request as aF, type GetMonitoringTimeSeriesRequest as aG, type GetMonitoringTimeSeriesV2Request as aH, type InboundIntegrationEventConfiguration as aI, type InboundMonitoringEvent as aJ, type InboundUseCase as aK, type InboundUseCaseHistoryEntry as aL, type IngestExternalMonitoringEventsRequest as aM, type IngestExternalMonitoringEventsResponse as aN, type Integration as aO, type IntegrationAppMapping as aP, type IntegrationConfigurationV1 as aQ, type IntegrationConfigurationV2 as aR, type IntegrationEditableFields as aS, type IntegrationEntity as aT, type IntegrationEntityConditional as aU, type IntegrationEntityField as aV, type IntegrationEntityFromRows as aW, type IntegrationFieldV1 as aX, type IntegrationMap as aY, type IntegrationMeterReading as aZ, type IntegrationNotificationConfig as a_, type ErpImportList as aa, type ErpImportProgress as ab, type ErpImportUseCaseSuggestion as ac, type ErpImportValidation as ad, type ErpUpdateEventStatus as ae, type ErpUpdateProcessedEntity as af, type ErpUpdateProcessingError as ag, type ErpUpdatesEventsV2Request as ah, type ErpUpdatesEventsV3Request as ai, type ErrorResponseBase as aj, type ExecuteErpImportRequest as ak, type ExternalMonitoringSpan as al, type FileProxyAuth as am, type FileProxyDeliveryConfig as an, type FileProxyFanOutConfig as ao, type FileProxyParam as ap, type FileProxyResponseConfig as aq, type FileProxySecureProxyAttachment as ar, type FileProxyStep as as, type FileProxyUploadConfig as at, type FileProxyUrlConfig as au, type FileProxyUrlParam as av, type FileProxyUrlParams as aw, type FileProxyUseCase as ax, type FileProxyUseCaseConfiguration as ay, type FileProxyUseCaseHistoryEntry as az, type PathsDictionary as b, type RedriveOutboundDlqResult as b$, type IntegrationSettings as b0, type IntegrationWithUseCases as b1, type ManagedCallAuth as b2, type ManagedCallErrorResponse as b3, type ManagedCallExecuteRequest as b4, type ManagedCallExecuteResponse as b5, type ManagedCallOperation as b6, type ManagedCallOperationConfig as b7, type ManagedCallUseCase as b8, type ManagedCallUseCaseHistoryEntry as b9, type OutboundDlqListResponse as bA, type OutboundDlqMessage as bB, type OutboundFileProxyTargetStatus as bC, type OutboundIntegrationEventConfiguration as bD, type OutboundMapping as bE, type OutboundMappingSimulationError as bF, type OutboundMessage as bG, type OutboundMonitoringEvent as bH, type OutboundPollStatus as bI, type OutboundStatusResponse as bJ, type OutboundUseCase as bK, type OutboundUseCaseHistoryEntry as bL, type OutboundUseCaseStatus as bM, type PollDeliveryConfig as bN, type PollOutboundMessagesRequest as bO, type PollOutboundMessagesResponse as bP, type PortalOrigin as bQ, type PortalRefConfig as bR, type PortalRefFilter as bS, type PruneScopeConfig as bT, type QueryAccessLogsRequest as bU, type QueryEventsRequest as bV, type QueryInboundMonitoringEventsRequest as bW, type QueryMonitoringEventsV2Request as bX, type QueryOutboundMonitoringEventsRequest as bY, type RedriveOutboundDlqRequest as bZ, type RedriveOutboundDlqResponse as b_, type MappedFieldValue as ba, type MappingSimulationRequest as bb, type MappingSimulationResponse as bc, type MappingSimulationV2Request as bd, type MappingSimulationWarning as be, type MeterReadingPruneScopeConfig as bf, type MeterReadingPruneScopeUpdate as bg, type MeterReadingUpdate as bh, type MeterUniqueIdsConfig as bi, type MonitoringCode as bj, type MonitoringEventV2 as bk, type MonitoringRunCompletionV2 as bl, type MonitoringRunCompletionV2Response as bm, type MonitoringRunEntriesV2 as bn, type MonitoringStats as bo, type MonitoringStatsV2 as bp, type MonitoringTraceResponse as bq, type NotificationChannelSet as br, type NotificationDigestConfig as bs, type NotificationHistoryItem as bt, type NotificationHistoryResponse as bu, type NotificationRecipient as bv, type NotificationRule as bw, type NotificationRuleStatus as bx, type NotificationStatusResponse as by, type OutboundConflict as bz, type AckOutboundMessagesRequest as c, type RelationConfig as c0, type RelationItemConfig as c1, type RelationRefItemConfig as c2, type RelationRefValueConfig as c3, type RelationRefsConfig as c4, type RelationUniqueIdField as c5, type RepeatableFieldType as c6, type ReplayEventsRequest as c7, type RuleBaselineBucket as c8, type RuleBaselineStatus as c9, type UpdateInboundUseCaseRequest as cA, type UpdateIntegrationRequest as cB, type UpdateManagedCallUseCaseRequest as cC, type UpdateOutboundUseCaseRequest as cD, type UpdateSecureProxyUseCaseRequest as cE, type UpdateUseCaseRequest as cF, type UpdateUseCaseRequestBase as cG, type UpsertDocumentationPageRequest as cH, type UpsertIntegrationWithUseCasesRequest as cI, type UseCase as cJ, type UseCaseBase as cK, type UseCaseHistoryEntry as cL, type UseCaseHistoryEntryBase as cM, type UseCaseTypePreview as cN, type ValidateErpImportRequest as cO, type WebhookDeliveryConfig as cP, type WebhookStatus as cQ, type S3Reference as ca, type SecureProxyRequest as cb, type SecureProxyResponse as cc, type SecureProxySummary as cd, type SecureProxyUpstreamError as ce, type SecureProxyUseCase as cf, type SecureProxyUseCaseConfiguration as cg, type SecureProxyUseCaseHistoryEntry as ch, type SecureProxyWhitelist as ci, type SecureProxyWhitelistUpdate as cj, type SetIntegrationAppMappingRequest as ck, type SimulateOutboundMappingRequest as cl, type SimulateOutboundMappingResponse as cm, type SuggestErpImportUseCasesResponse as cn, type TestNotificationRequest as co, type TestNotificationResponse as cp, type TimeSeriesBreakdownItemV2 as cq, type TimeSeriesBucket as cr, type TimeSeriesBucketV2 as cs, type TriggerErpActionRequest as ct, type TriggerWebhookResp as cu, type TypeAnnotations as cv, type TypeDescriptor as cw, type UnblockOutboundStreamRequest as cx, type UnblockOutboundStreamResponse as cy, type UpdateFileProxyUseCaseRequest 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 CorrelationCloseResult as j, type CorrelationStatus as k, type CorrelationStatusList as l, type CorrelationUseCaseCounts as m, type CorrelationWaitBadRequest as n, type CorrelationWaitResult as o, type CreateErpImportRequest as p, type CreateErpImportResponse as q, type CreateFileProxyUseCaseRequest as r, type CreateInboundUseCaseRequest as s, type CreateIntegrationRequest as t, type CreateManagedCallUseCaseRequest as u, type CreateOutboundUseCaseRequest as v, type CreateSecureProxyUseCaseRequest as w, type CreateUseCaseRequest as x, type CreateUseCaseRequestBase as y, type DeliveryConfig as z };
13607
+ export { type EntityUpdate as $, type AccessLogEntry as A, type DirectEntityOperation as B, type Client as C, type DeleteIntegrationAppMappingRequest as D, type DirectMeterReadingOperation as E, type DirectPayload as F, type DirectRelationItem as G, type DirectRelationRefItem as H, type DirectRelationRefValue as I, type DirectRelationValue as J, type DirectSimulationError as K, type DirectSimulationRequest as L, type DirectSimulationResponse as M, type DocumentationPage as N, type OperationMethods as O, Paths as P, type DocumentationPageSummary as Q, type EmbeddedFileProxyUseCaseRequest as R, type EmbeddedInboundUseCaseRequest as S, type EmbeddedManagedCallUseCaseRequest as T, type EmbeddedOutboundUseCaseRequest as U, type EmbeddedSecureProxyUseCaseRequest as V, type EmbeddedUseCaseRequest as W, type EmbeddedUseCaseRequestBase as X, type EntityPruneScopeUpdate as Y, type EntitySyncState as Z, type EntitySyncStatusResponse as _, Components as a, type IntegrationMeterReading as a$, type EnvVarRefConfig as a0, type EnvironmentFieldConfig as a1, type ErpEvent as a2, type ErpEventV3 as a3, type ErpImportDownload as a4, type ErpImportEntityDetail as a5, type ErpImportError as a6, type ErpImportFilePreview as a7, type ErpImportIssue as a8, type ErpImportJob as a9, type GenerateTypesPreviewResponse as aA, type GenerateTypesRequest as aB, type GenerateTypesResponse as aC, type GetMonitoringRunCompletionV2Request as aD, type GetMonitoringStatsRequest as aE, type GetMonitoringStatsV2Request as aF, type GetMonitoringTimeSeriesRequest as aG, type GetMonitoringTimeSeriesV2Request as aH, type InboundIntegrationEventConfiguration as aI, type InboundMonitoringEvent as aJ, type InboundUseCase as aK, type InboundUseCaseHistoryEntry as aL, type IngestExternalMonitoringEventsRequest as aM, type IngestExternalMonitoringEventsResponse as aN, type Integration as aO, type IntegrationAppMapping as aP, type IntegrationConfigurationV1 as aQ, type IntegrationConfigurationV2 as aR, type IntegrationEditableFields as aS, type IntegrationEntity as aT, type IntegrationEntityConditional as aU, type IntegrationEntityField as aV, type IntegrationEntityFromRows as aW, type IntegrationEntitySharing as aX, type IntegrationEntitySharingPartner as aY, type IntegrationFieldV1 as aZ, type IntegrationMap as a_, type ErpImportList as aa, type ErpImportProgress as ab, type ErpImportUseCaseSuggestion as ac, type ErpImportValidation as ad, type ErpUpdateEventStatus as ae, type ErpUpdateProcessedEntity as af, type ErpUpdateProcessingError as ag, type ErpUpdatesEventsV2Request as ah, type ErpUpdatesEventsV3Request as ai, type ErrorResponseBase as aj, type ExecuteErpImportRequest as ak, type ExternalMonitoringSpan as al, type FileProxyAuth as am, type FileProxyDeliveryConfig as an, type FileProxyFanOutConfig as ao, type FileProxyParam as ap, type FileProxyResponseConfig as aq, type FileProxySecureProxyAttachment as ar, type FileProxyStep as as, type FileProxyUploadConfig as at, type FileProxyUrlConfig as au, type FileProxyUrlParam as av, type FileProxyUrlParams as aw, type FileProxyUseCase as ax, type FileProxyUseCaseConfiguration as ay, type FileProxyUseCaseHistoryEntry as az, type PathsDictionary as b, type RedriveOutboundDlqRequest as b$, type IntegrationNotificationConfig as b0, type IntegrationObjectV1 as b1, type IntegrationSettings as b2, type IntegrationWithUseCases as b3, type ManagedCallAuth as b4, type ManagedCallErrorResponse as b5, type ManagedCallExecuteRequest as b6, type ManagedCallExecuteResponse as b7, type ManagedCallOperation as b8, type ManagedCallOperationConfig as b9, type NotificationStatusResponse as bA, type OutboundConflict as bB, type OutboundDlqListResponse as bC, type OutboundDlqMessage as bD, type OutboundFileProxyTargetStatus as bE, type OutboundIntegrationEventConfiguration as bF, type OutboundMapping as bG, type OutboundMappingSimulationError as bH, type OutboundMessage as bI, type OutboundMonitoringEvent as bJ, type OutboundPollStatus as bK, type OutboundStatusResponse as bL, type OutboundUseCase as bM, type OutboundUseCaseHistoryEntry as bN, type OutboundUseCaseStatus as bO, type PollDeliveryConfig as bP, type PollOutboundMessagesRequest as bQ, type PollOutboundMessagesResponse as bR, type PortalOrigin as bS, type PortalRefConfig as bT, type PortalRefFilter as bU, type PruneScopeConfig as bV, type QueryAccessLogsRequest as bW, type QueryEventsRequest as bX, type QueryInboundMonitoringEventsRequest as bY, type QueryMonitoringEventsV2Request as bZ, type QueryOutboundMonitoringEventsRequest as b_, type ManagedCallUseCase as ba, type ManagedCallUseCaseHistoryEntry as bb, type MappedFieldValue as bc, type MappingSimulationRequest as bd, type MappingSimulationResponse as be, type MappingSimulationV2Request as bf, type MappingSimulationWarning as bg, type MeterReadingPruneScopeConfig as bh, type MeterReadingPruneScopeUpdate as bi, type MeterReadingUpdate as bj, type MeterUniqueIdsConfig as bk, type MonitoringCode as bl, type MonitoringEventV2 as bm, type MonitoringRunCompletionV2 as bn, type MonitoringRunCompletionV2Response as bo, type MonitoringRunEntriesV2 as bp, type MonitoringStats as bq, type MonitoringStatsV2 as br, type MonitoringTraceResponse as bs, type NotificationChannelSet as bt, type NotificationDigestConfig as bu, type NotificationHistoryItem as bv, type NotificationHistoryResponse as bw, type NotificationRecipient as bx, type NotificationRule as by, type NotificationRuleStatus as bz, type AckOutboundMessagesRequest as c, type RedriveOutboundDlqResponse as c0, type RedriveOutboundDlqResult as c1, type RelationConfig as c2, type RelationItemConfig as c3, type RelationRefItemConfig as c4, type RelationRefValueConfig as c5, type RelationRefsConfig as c6, type RelationUniqueIdField as c7, type RepeatableFieldType as c8, type ReplayEventsRequest as c9, type UnblockOutboundStreamResponse as cA, type UpdateFileProxyUseCaseRequest as cB, type UpdateInboundUseCaseRequest as cC, type UpdateIntegrationRequest as cD, type UpdateManagedCallUseCaseRequest as cE, type UpdateOutboundUseCaseRequest as cF, type UpdateSecureProxyUseCaseRequest as cG, type UpdateUseCaseRequest as cH, type UpdateUseCaseRequestBase as cI, type UpsertDocumentationPageRequest as cJ, type UpsertIntegrationWithUseCasesRequest as cK, type UseCase as cL, type UseCaseBase as cM, type UseCaseHistoryEntry as cN, type UseCaseHistoryEntryBase as cO, type UseCaseTypePreview as cP, type ValidateErpImportRequest as cQ, type WebhookDeliveryConfig as cR, type WebhookStatus as cS, type RuleBaselineBucket as ca, type RuleBaselineStatus as cb, type S3Reference as cc, type SecureProxyRequest as cd, type SecureProxyResponse as ce, type SecureProxySummary as cf, type SecureProxyUpstreamError as cg, type SecureProxyUseCase as ch, type SecureProxyUseCaseConfiguration as ci, type SecureProxyUseCaseHistoryEntry as cj, type SecureProxyWhitelist as ck, type SecureProxyWhitelistUpdate as cl, type SetIntegrationAppMappingRequest as cm, type SimulateOutboundMappingRequest as cn, type SimulateOutboundMappingResponse as co, type SuggestErpImportUseCasesResponse as cp, type TestNotificationRequest as cq, type TestNotificationResponse as cr, type TimeSeriesBreakdownItemV2 as cs, type TimeSeriesBucket as ct, type TimeSeriesBucketV2 as cu, type TriggerErpActionRequest as cv, type TriggerWebhookResp as cw, type TypeAnnotations as cx, type TypeDescriptor as cy, type UnblockOutboundStreamRequest 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 CorrelationCloseResult as j, type CorrelationStatus as k, type CorrelationStatusList as l, type CorrelationUseCaseCounts as m, type CorrelationWaitBadRequest as n, type CorrelationWaitResult as o, type CreateErpImportRequest as p, type CreateErpImportResponse as q, type CreateFileProxyUseCaseRequest as r, type CreateInboundUseCaseRequest as s, type CreateIntegrationRequest as t, type CreateManagedCallUseCaseRequest as u, type CreateOutboundUseCaseRequest as v, type CreateSecureProxyUseCaseRequest as w, type CreateUseCaseRequest as x, type CreateUseCaseRequestBase as y, type DeliveryConfig as z };
@@ -171,6 +171,8 @@ const { data } = await integrationToolkitClient.acknowledgeTracking(...)
171
171
  - [`InboundIntegrationEventConfiguration`](#inboundintegrationeventconfiguration)
172
172
  - [`OutboundIntegrationEventConfiguration`](#outboundintegrationeventconfiguration)
173
173
  - [`IntegrationEntity`](#integrationentity)
174
+ - [`IntegrationEntitySharing`](#integrationentitysharing)
175
+ - [`IntegrationEntitySharingPartner`](#integrationentitysharingpartner)
174
176
  - [`IntegrationEntityConditional`](#integrationentityconditional)
175
177
  - [`IntegrationEntityFromRows`](#integrationentityfromrows)
176
178
  - [`MappedFieldValue`](#mappedfieldvalue)
@@ -707,6 +709,7 @@ const { data } = await client.simulateMappingV2(
707
709
  {}
708
710
  ]
709
711
  },
712
+ "sharing": {},
710
713
  "mode": "upsert"
711
714
  }
712
715
  ],
@@ -821,6 +824,7 @@ const { data } = await client.simulateDirect(
821
824
  {}
822
825
  ]
823
826
  },
827
+ "sharing": {},
824
828
  "mode": "upsert",
825
829
  "unique_identifiers_metadata": {}
826
830
  }
@@ -886,6 +890,7 @@ const { data } = await client.simulateMapping(
886
890
  {}
887
891
  ]
888
892
  },
893
+ "sharing": {},
889
894
  "mode": "upsert"
890
895
  }
891
896
  ],
@@ -5787,6 +5792,9 @@ type InboundIntegrationEventConfiguration = {
5787
5792
  conditional?: {
5788
5793
  from_rows: { ... }
5789
5794
  }
5795
+ sharing?: {
5796
+ partners: { ... }
5797
+ }
5790
5798
  }>
5791
5799
  meter_readings?: Array<{
5792
5800
  jsonataExpression?: string
@@ -5931,6 +5939,34 @@ type IntegrationEntity = {
5931
5939
  item: { ... }
5932
5940
  }>
5933
5941
  }
5942
+ sharing?: {
5943
+ partners: Array<{
5944
+ partner_org_id: { ... }
5945
+ enabled?: { ... }
5946
+ }>
5947
+ }
5948
+ }
5949
+ ```
5950
+
5951
+ ### `IntegrationEntitySharing`
5952
+
5953
+ Keeps the mapped entity's sharing with partner organizations in sync. After the entity is written, it is shared with every listed partner whose `enabled` is true and unshared from every listed partner whose `enabled` is false. Changes are computed against the entity's current `_acl`, so a repeated e
5954
+
5955
+ ```ts
5956
+ type IntegrationEntitySharing = {
5957
+ partners: Array<{
5958
+ partner_org_id: string
5959
+ enabled?: boolean | string
5960
+ }>
5961
+ }
5962
+ ```
5963
+
5964
+ ### `IntegrationEntitySharingPartner`
5965
+
5966
+ ```ts
5967
+ type IntegrationEntitySharingPartner = {
5968
+ partner_org_id: string
5969
+ enabled?: boolean | string
5934
5970
  }
5935
5971
  ```
5936
5972
 
@@ -6363,6 +6399,7 @@ type EmbeddedUseCaseRequest = {
6363
6399
  scope?: { ... }
6364
6400
  fields?: { ... }
6365
6401
  conditional?: { ... }
6402
+ sharing?: { ... }
6366
6403
  }>
6367
6404
  meter_readings?: Array<{
6368
6405
  jsonataExpression?: { ... }
@@ -6443,7 +6480,6 @@ type EmbeddedUseCaseRequest = {
6443
6480
  enabled?: { ... }
6444
6481
  body?: { ... }
6445
6482
  response_type: { ... }
6446
- }>
6447
6483
  // ...
6448
6484
  }
6449
6485
  ```
@@ -6482,6 +6518,7 @@ type EmbeddedInboundUseCaseRequest = {
6482
6518
  scope?: { ... }
6483
6519
  fields?: { ... }
6484
6520
  conditional?: { ... }
6521
+ sharing?: { ... }
6485
6522
  }>
6486
6523
  meter_readings?: Array<{
6487
6524
  jsonataExpression?: { ... }
@@ -6671,6 +6708,7 @@ type InboundUseCase = {
6671
6708
  scope?: { ... }
6672
6709
  fields?: { ... }
6673
6710
  conditional?: { ... }
6711
+ sharing?: { ... }
6674
6712
  }>
6675
6713
  meter_readings?: Array<{
6676
6714
  jsonataExpression?: { ... }
@@ -6864,6 +6902,7 @@ type UseCase = {
6864
6902
  scope?: { ... }
6865
6903
  fields?: { ... }
6866
6904
  conditional?: { ... }
6905
+ sharing?: { ... }
6867
6906
  }>
6868
6907
  meter_readings?: Array<{
6869
6908
  jsonataExpression?: { ... }
@@ -6940,7 +6979,6 @@ type UseCase = {
6940
6979
  }
6941
6980
  params?: Array<{
6942
6981
  name: { ... }
6943
- required: { ... }
6944
6982
  // ...
6945
6983
  }
6946
6984
  ```
@@ -6965,6 +7003,7 @@ type CreateUseCaseRequest = {
6965
7003
  scope?: { ... }
6966
7004
  fields?: { ... }
6967
7005
  conditional?: { ... }
7006
+ sharing?: { ... }
6968
7007
  }>
6969
7008
  meter_readings?: Array<{
6970
7009
  jsonataExpression?: { ... }
@@ -7047,7 +7086,6 @@ type CreateUseCaseRequest = {
7047
7086
  encoding: { ... }
7048
7087
  filename?: { ... }
7049
7088
  content_type?: { ... }
7050
- }
7051
7089
  // ...
7052
7090
  }
7053
7091
  ```
@@ -7082,6 +7120,7 @@ type CreateInboundUseCaseRequest = {
7082
7120
  scope?: { ... }
7083
7121
  fields?: { ... }
7084
7122
  conditional?: { ... }
7123
+ sharing?: { ... }
7085
7124
  }>
7086
7125
  meter_readings?: Array<{
7087
7126
  jsonataExpression?: { ... }
@@ -7241,6 +7280,7 @@ type UpdateUseCaseRequest = {
7241
7280
  scope?: { ... }
7242
7281
  fields?: { ... }
7243
7282
  conditional?: { ... }
7283
+ sharing?: { ... }
7244
7284
  }>
7245
7285
  meter_readings?: Array<{
7246
7286
  jsonataExpression?: { ... }
@@ -7322,7 +7362,6 @@ type UpdateUseCaseRequest = {
7322
7362
  }>
7323
7363
  response?: {
7324
7364
  body: { ... }
7325
- encoding: { ... }
7326
7365
  // ...
7327
7366
  }
7328
7367
  ```
@@ -7359,6 +7398,7 @@ type UpdateInboundUseCaseRequest = {
7359
7398
  scope?: { ... }
7360
7399
  fields?: { ... }
7361
7400
  conditional?: { ... }
7401
+ sharing?: { ... }
7362
7402
  }>
7363
7403
  meter_readings?: Array<{
7364
7404
  jsonataExpression?: { ... }
@@ -7533,6 +7573,7 @@ type UseCaseHistoryEntry = {
7533
7573
  scope?: { ... }
7534
7574
  fields?: { ... }
7535
7575
  conditional?: { ... }
7576
+ sharing?: { ... }
7536
7577
  }>
7537
7578
  meter_readings?: Array<{
7538
7579
  jsonataExpression?: { ... }
@@ -7607,7 +7648,6 @@ type UseCaseHistoryEntry = {
7607
7648
  resource?: { ... }
7608
7649
  username?: { ... }
7609
7650
  password?: { ... }
7610
- body_params?: { ... }
7611
7651
  // ...
7612
7652
  }
7613
7653
  ```
@@ -7658,6 +7698,7 @@ type InboundUseCaseHistoryEntry = {
7658
7698
  scope?: { ... }
7659
7699
  fields?: { ... }
7660
7700
  conditional?: { ... }
7701
+ sharing?: { ... }
7661
7702
  }>
7662
7703
  meter_readings?: Array<{
7663
7704
  jsonataExpression?: { ... }
@@ -8443,6 +8484,7 @@ type MappingSimulationV2Request = {
8443
8484
  scope?: { ... }
8444
8485
  fields?: { ... }
8445
8486
  conditional?: { ... }
8487
+ sharing?: { ... }
8446
8488
  }>
8447
8489
  meter_readings?: Array<{
8448
8490
  jsonataExpression?: { ... }
@@ -8471,6 +8513,7 @@ type MappingSimulationResponse = {
8471
8513
  config: { ... }
8472
8514
  data: { ... }
8473
8515
  }
8516
+ sharing?: Record<string, unknown>
8474
8517
  mode: "upsert" | "delete" | "purge"
8475
8518
  }>
8476
8519
  meter_readings_updates?: Array<{
@@ -8771,6 +8814,7 @@ type DirectSimulationRequest = {
8771
8814
  scope?: { ... }
8772
8815
  fields?: { ... }
8773
8816
  conditional?: { ... }
8817
+ sharing?: { ... }
8774
8818
  }>
8775
8819
  meter_readings?: Array<{
8776
8820
  jsonataExpression?: { ... }
@@ -8831,6 +8875,7 @@ type DirectSimulationResponse = {
8831
8875
  config: { ... }
8832
8876
  data: { ... }
8833
8877
  }
8878
+ sharing?: Record<string, unknown>
8834
8879
  mode: "upsert" | "delete" | "purge"
8835
8880
  unique_identifiers_metadata?: Record<string, {
8836
8881
  fieldType?: { ... }
@@ -8876,6 +8921,7 @@ type EntityUpdate = {
8876
8921
  config: Record<string, unknown>
8877
8922
  data: Record<string, unknown>[]
8878
8923
  }
8924
+ sharing?: Record<string, unknown>
8879
8925
  mode: "upsert" | "delete" | "purge"
8880
8926
  }
8881
8927
  ```
@@ -9899,7 +9945,7 @@ type MonitoringTraceResponse = {
9899
9945
  use_case_id?: string
9900
9946
  use_case_type: "inbound" | "outbound" | "file_proxy" | "managed_call" | "secure_proxy" | ""
9901
9947
  level: "success" | "error" | "info" | "warning"
9902
- code?: "ACK_CONFIRMED" | "ACK_PENDING" | "ACK_TIMEOUT" | "ATTACHMENT_NOT_FOUND" | "ATTRIBUTE_TYPE_MISMATCH" | "CONDITIONAL_VARIANTS_WRITTEN" | "CONDITIONAL_VARIANT_WRITE_FAILED" | "CONDITIONAL_VARIANT_WRITE_WARNING" | "CORRELATION_CLOSED_EMPTY" | "CORRELATION_CLOSED_INCOMPLETE" | "CORRELATION_CLOSE_IGNORED" | "CORRELATION_COMPLETED" | "CORRELATION_EVENT_LIMIT_EXCEEDED" | "CORRELATION_ID_MISSING" | "CORRELATION_LATE_EVENT" | "CORRELATION_REQUIREMENT_FAILED" | "CORRELATION_WAIT_REJECTED" | "CORRELATION_WAIT_TIMEOUT" | "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" | "INTERACTIVE_CROSS_LANE_WRITE" | "INTERACTIVE_NOT_ALLOWED" | "INTERACTIVE_RATE_LIMITED" | "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" | "PROCESSING_STATE_LIMIT" | "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_LOOKUP_UNRESOLVABLE" | "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" | string
9948
+ code?: "ACK_CONFIRMED" | "ACK_PENDING" | "ACK_TIMEOUT" | "ATTACHMENT_NOT_FOUND" | "ATTRIBUTE_TYPE_MISMATCH" | "CONDITIONAL_VARIANTS_WRITTEN" | "CONDITIONAL_VARIANT_WRITE_FAILED" | "CONDITIONAL_VARIANT_WRITE_WARNING" | "CORRELATION_CLOSED_EMPTY" | "CORRELATION_CLOSED_INCOMPLETE" | "CORRELATION_CLOSE_IGNORED" | "CORRELATION_COMPLETED" | "CORRELATION_EVENT_LIMIT_EXCEEDED" | "CORRELATION_ID_MISSING" | "CORRELATION_LATE_EVENT" | "CORRELATION_REQUIREMENT_FAILED" | "CORRELATION_WAIT_REJECTED" | "CORRELATION_WAIT_TIMEOUT" | "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" | "ENV_VAR_REF_JSONATA_FAILED" | "ENV_VAR_REF_LOOKUP_FAILED" | "ENV_VAR_REF_NOT_FOUND" | "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" | "INTERACTIVE_CROSS_LANE_WRITE" | "INTERACTIVE_NOT_ALLOWED" | "INTERACTIVE_RATE_LIMITED" | "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_METER_COUNTER_UNIQUE_IDS" | "MISSING_METER_UNIQUE_IDS" | "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" | "ORG_DROPPED" | "PAYLOAD_TOO_LARGE" | "PORTAL_REF_AMBIGUOUS" | "PORTAL_REF_JSONATA_FAILED" | "PORTAL_REF_LOOKUP_FAILED" | "PORTAL_REF_NO_MATCH" | "PROCESSING_STATE_LIMIT" | "PRUNE_SCOPE_COMPLETED" | "PRUNE_SCOPE_PARTIAL_FAILURE" | "RECURSION_DEPTH_EXCEEDED" | "RELATION_MISSING_UNIQUE_IDS" | "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_OK" | "SECURE_PROXY_UNAVAILABLE" | "SHARING_FAILED" | "SHARING_PARTNER_NOT_CONNECTED" | "SHARING_REJECTED" | "SIGNATURE_VERIFICATION_FAILED" | "SIGNATURE_VERIFICATION_UNAVAILABLE" | "SOFT_DELETED_ENTITY_MATCHED" | "STEP_DISABLED" | "TIMEOUT" | "UNIQUE_ID_LOOKUP_UNRESOLVABLE" | "UNIQUE_ID_MULTIPLE_MATCHES" | "UNIQUE_ID_NOT_IN_SCHEMA" | "UNIQUE_ID_TYPE_DERIVATION_FAILED" | "UNKNOWN_ERROR" | "USE_CASE_DISABLED" | "USE_CASE_INVALID_TYPE" | "USE_CASE_MISSING_CONFIG" | "USE_CASE_NOT_FOUND" | "WEBHOOK_DELIVERED" | "WEBHOOK_DELIVERY_FAILED" | "WEBHOOK_SKIPPED" | string
9903
9949
  message?: string
9904
9950
  detail?: Record<string, unknown>
9905
9951
  created_at: string // date-time
@@ -9918,7 +9964,7 @@ This schema exists so consumers can import the union as a type. It never
9918
9964
  constrains
9919
9965
 
9920
9966
  ```ts
9921
- 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" | "CORRELATION_CLOSED_EMPTY" | "CORRELATION_CLOSED_INCOMPLETE" | "CORRELATION_CLOSE_IGNORED" | "CORRELATION_COMPLETED" | "CORRELATION_EVENT_LIMIT_EXCEEDED" | "CORRELATION_ID_MISSING" | "CORRELATION_LATE_EVENT" | "CORRELATION_REQUIREMENT_FAILED" | "CORRELATION_WAIT_REJECTED" | "CORRELATION_WAIT_TIMEOUT" | "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" | "INTERACTIVE_CROSS_LANE_WRITE" | "INTERACTIVE_NOT_ALLOWED" | "INTERACTIVE_RATE_LIMITED" | "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" | "PROCESSING_STATE_LIMIT" | "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_LOOKUP_UNRESOLVABLE" | "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"
9967
+ 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" | "CORRELATION_CLOSED_EMPTY" | "CORRELATION_CLOSED_INCOMPLETE" | "CORRELATION_CLOSE_IGNORED" | "CORRELATION_COMPLETED" | "CORRELATION_EVENT_LIMIT_EXCEEDED" | "CORRELATION_ID_MISSING" | "CORRELATION_LATE_EVENT" | "CORRELATION_REQUIREMENT_FAILED" | "CORRELATION_WAIT_REJECTED" | "CORRELATION_WAIT_TIMEOUT" | "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" | "ENV_VAR_REF_JSONATA_FAILED" | "ENV_VAR_REF_LOOKUP_FAILED" | "ENV_VAR_REF_NOT_FOUND" | "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" | "INTERACTIVE_CROSS_LANE_WRITE" | "INTERACTIVE_NOT_ALLOWED" | "INTERACTIVE_RATE_LIMITED" | "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_METER_COUNTER_UNIQUE_IDS" | "MISSING_METER_UNIQUE_IDS" | "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" | "ORG_DROPPED" | "PAYLOAD_TOO_LARGE" | "PORTAL_REF_AMBIGUOUS" | "PORTAL_REF_JSONATA_FAILED" | "PORTAL_REF_LOOKUP_FAILED" | "PORTAL_REF_NO_MATCH" | "PROCESSING_STATE_LIMIT" | "PRUNE_SCOPE_COMPLETED" | "PRUNE_SCOPE_PARTIAL_FAILURE" | "RECURSION_DEPTH_EXCEEDED" | "RELATION_MISSING_UNIQUE_IDS" | "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_OK" | "SECURE_PROXY_UNAVAILABLE" | "SHARING_FAILED" | "SHARING_PARTNER_NOT_CONNECTED" | "SHARING_REJECTED" | "SIGNATURE_VERIFICATION_FAILED" | "SIGNATURE_VERIFICATION_UNAVAILABLE" | "SOFT_DELETED_ENTITY_MATCHED" | "STEP_DISABLED" | "TIMEOUT" | "UNIQUE_ID_LOOKUP_UNRESOLVABLE" | "UNIQUE_ID_MULTIPLE_MATCHES" | "UNIQUE_ID_NOT_IN_SCHEMA" | "UNIQUE_ID_TYPE_DERIVATION_FAILED" | "UNKNOWN_ERROR" | "USE_CASE_DISABLED" | "USE_CASE_INVALID_TYPE" | "USE_CASE_MISSING_CONFIG" | "USE_CASE_NOT_FOUND" | "WEBHOOK_DELIVERED" | "WEBHOOK_DELIVERY_FAILED" | "WEBHOOK_SKIPPED"
9922
9968
  ```
9923
9969
 
9924
9970
  ### `MonitoringEventV2`
@@ -9933,7 +9979,7 @@ type MonitoringEventV2 = {
9933
9979
  use_case_id?: string
9934
9980
  use_case_type: "inbound" | "outbound" | "file_proxy" | "managed_call" | "secure_proxy" | ""
9935
9981
  level: "success" | "error" | "info" | "warning"
9936
- code?: "ACK_CONFIRMED" | "ACK_PENDING" | "ACK_TIMEOUT" | "ATTACHMENT_NOT_FOUND" | "ATTRIBUTE_TYPE_MISMATCH" | "CONDITIONAL_VARIANTS_WRITTEN" | "CONDITIONAL_VARIANT_WRITE_FAILED" | "CONDITIONAL_VARIANT_WRITE_WARNING" | "CORRELATION_CLOSED_EMPTY" | "CORRELATION_CLOSED_INCOMPLETE" | "CORRELATION_CLOSE_IGNORED" | "CORRELATION_COMPLETED" | "CORRELATION_EVENT_LIMIT_EXCEEDED" | "CORRELATION_ID_MISSING" | "CORRELATION_LATE_EVENT" | "CORRELATION_REQUIREMENT_FAILED" | "CORRELATION_WAIT_REJECTED" | "CORRELATION_WAIT_TIMEOUT" | "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" | "INTERACTIVE_CROSS_LANE_WRITE" | "INTERACTIVE_NOT_ALLOWED" | "INTERACTIVE_RATE_LIMITED" | "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" | "PROCESSING_STATE_LIMIT" | "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_LOOKUP_UNRESOLVABLE" | "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" | string
9982
+ code?: "ACK_CONFIRMED" | "ACK_PENDING" | "ACK_TIMEOUT" | "ATTACHMENT_NOT_FOUND" | "ATTRIBUTE_TYPE_MISMATCH" | "CONDITIONAL_VARIANTS_WRITTEN" | "CONDITIONAL_VARIANT_WRITE_FAILED" | "CONDITIONAL_VARIANT_WRITE_WARNING" | "CORRELATION_CLOSED_EMPTY" | "CORRELATION_CLOSED_INCOMPLETE" | "CORRELATION_CLOSE_IGNORED" | "CORRELATION_COMPLETED" | "CORRELATION_EVENT_LIMIT_EXCEEDED" | "CORRELATION_ID_MISSING" | "CORRELATION_LATE_EVENT" | "CORRELATION_REQUIREMENT_FAILED" | "CORRELATION_WAIT_REJECTED" | "CORRELATION_WAIT_TIMEOUT" | "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" | "ENV_VAR_REF_JSONATA_FAILED" | "ENV_VAR_REF_LOOKUP_FAILED" | "ENV_VAR_REF_NOT_FOUND" | "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" | "INTERACTIVE_CROSS_LANE_WRITE" | "INTERACTIVE_NOT_ALLOWED" | "INTERACTIVE_RATE_LIMITED" | "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_METER_COUNTER_UNIQUE_IDS" | "MISSING_METER_UNIQUE_IDS" | "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" | "ORG_DROPPED" | "PAYLOAD_TOO_LARGE" | "PORTAL_REF_AMBIGUOUS" | "PORTAL_REF_JSONATA_FAILED" | "PORTAL_REF_LOOKUP_FAILED" | "PORTAL_REF_NO_MATCH" | "PROCESSING_STATE_LIMIT" | "PRUNE_SCOPE_COMPLETED" | "PRUNE_SCOPE_PARTIAL_FAILURE" | "RECURSION_DEPTH_EXCEEDED" | "RELATION_MISSING_UNIQUE_IDS" | "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_OK" | "SECURE_PROXY_UNAVAILABLE" | "SHARING_FAILED" | "SHARING_PARTNER_NOT_CONNECTED" | "SHARING_REJECTED" | "SIGNATURE_VERIFICATION_FAILED" | "SIGNATURE_VERIFICATION_UNAVAILABLE" | "SOFT_DELETED_ENTITY_MATCHED" | "STEP_DISABLED" | "TIMEOUT" | "UNIQUE_ID_LOOKUP_UNRESOLVABLE" | "UNIQUE_ID_MULTIPLE_MATCHES" | "UNIQUE_ID_NOT_IN_SCHEMA" | "UNIQUE_ID_TYPE_DERIVATION_FAILED" | "UNKNOWN_ERROR" | "USE_CASE_DISABLED" | "USE_CASE_INVALID_TYPE" | "USE_CASE_MISSING_CONFIG" | "USE_CASE_NOT_FOUND" | "WEBHOOK_DELIVERED" | "WEBHOOK_DELIVERY_FAILED" | "WEBHOOK_SKIPPED" | string
9937
9983
  message?: string
9938
9984
  detail?: Record<string, unknown>
9939
9985
  created_at: string // date-time
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@epilot/sdk",
3
- "version": "2.20.84",
3
+ "version": "2.20.85",
4
4
  "description": "JavaScript/TypeScript SDK for epilot APIs",
5
5
  "type": "module",
6
6
  "main": "./dist/index.cjs",