@flowcore/data-pump 0.21.4 → 0.23.0
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.
- package/CHANGELOG.md +47 -0
- package/README.md +348 -216
- package/dist/mod.d.ts +648 -0
- package/dist/mod.js +2365 -0
- package/package.json +35 -18
- package/esm/_dnt.polyfills.d.ts +0 -50
- package/esm/_dnt.polyfills.d.ts.map +0 -1
- package/esm/_dnt.polyfills.js +0 -37
- package/esm/_dnt.shims.d.ts +0 -9
- package/esm/_dnt.shims.d.ts.map +0 -1
- package/esm/_dnt.shims.js +0 -64
- package/esm/data-pump/data-pump-cluster.d.ts +0 -91
- package/esm/data-pump/data-pump-cluster.d.ts.map +0 -1
- package/esm/data-pump/data-pump-cluster.js +0 -672
- package/esm/data-pump/data-pump.d.ts +0 -95
- package/esm/data-pump/data-pump.d.ts.map +0 -1
- package/esm/data-pump/data-pump.js +0 -638
- package/esm/data-pump/data-source.d.ts +0 -116
- package/esm/data-pump/data-source.d.ts.map +0 -1
- package/esm/data-pump/data-source.js +0 -267
- package/esm/data-pump/flowcore-client.d.ts +0 -8
- package/esm/data-pump/flowcore-client.d.ts.map +0 -1
- package/esm/data-pump/flowcore-client.js +0 -21
- package/esm/data-pump/metrics.d.ts +0 -19
- package/esm/data-pump/metrics.d.ts.map +0 -1
- package/esm/data-pump/metrics.js +0 -88
- package/esm/data-pump/nats-connection.d.ts +0 -13
- package/esm/data-pump/nats-connection.d.ts.map +0 -1
- package/esm/data-pump/nats-connection.js +0 -58
- package/esm/data-pump/nats-distribution.d.ts +0 -34
- package/esm/data-pump/nats-distribution.d.ts.map +0 -1
- package/esm/data-pump/nats-distribution.js +0 -126
- package/esm/data-pump/no-op-logger.d.ts +0 -3
- package/esm/data-pump/no-op-logger.d.ts.map +0 -1
- package/esm/data-pump/no-op-logger.js +0 -6
- package/esm/data-pump/notifier.d.ts +0 -42
- package/esm/data-pump/notifier.d.ts.map +0 -1
- package/esm/data-pump/notifier.js +0 -198
- package/esm/data-pump/pulse.d.ts +0 -46
- package/esm/data-pump/pulse.d.ts.map +0 -1
- package/esm/data-pump/pulse.js +0 -128
- package/esm/data-pump/types.d.ts +0 -49
- package/esm/data-pump/types.d.ts.map +0 -1
- package/esm/data-pump/types.js +0 -1
- package/esm/data-pump/ws-protocol.d.ts +0 -63
- package/esm/data-pump/ws-protocol.d.ts.map +0 -1
- package/esm/data-pump/ws-protocol.js +0 -180
- package/esm/deps/jsr.io/@flowcore/sdk/4.2.2/src/commands/adapter/reset-adapter.d.ts +0 -52
- package/esm/deps/jsr.io/@flowcore/sdk/4.2.2/src/commands/adapter/reset-adapter.d.ts.map +0 -1
- package/esm/deps/jsr.io/@flowcore/sdk/4.2.2/src/commands/adapter/reset-adapter.js +0 -51
- package/esm/deps/jsr.io/@flowcore/sdk/4.2.2/src/commands/ai-agent-coordinator/artifact-get.command.d.ts +0 -22
- package/esm/deps/jsr.io/@flowcore/sdk/4.2.2/src/commands/ai-agent-coordinator/artifact-get.command.d.ts.map +0 -1
- package/esm/deps/jsr.io/@flowcore/sdk/4.2.2/src/commands/ai-agent-coordinator/artifact-get.command.js +0 -52
- package/esm/deps/jsr.io/@flowcore/sdk/4.2.2/src/commands/ai-agent-coordinator/context-add-item.command.d.ts +0 -27
- package/esm/deps/jsr.io/@flowcore/sdk/4.2.2/src/commands/ai-agent-coordinator/context-add-item.command.d.ts.map +0 -1
- package/esm/deps/jsr.io/@flowcore/sdk/4.2.2/src/commands/ai-agent-coordinator/context-add-item.command.js +0 -34
- package/esm/deps/jsr.io/@flowcore/sdk/4.2.2/src/commands/ai-agent-coordinator/context-remove-item.command.d.ts +0 -27
- package/esm/deps/jsr.io/@flowcore/sdk/4.2.2/src/commands/ai-agent-coordinator/context-remove-item.command.d.ts.map +0 -1
- package/esm/deps/jsr.io/@flowcore/sdk/4.2.2/src/commands/ai-agent-coordinator/context-remove-item.command.js +0 -32
- package/esm/deps/jsr.io/@flowcore/sdk/4.2.2/src/commands/ai-agent-coordinator/conversation-delete.command.d.ts +0 -24
- package/esm/deps/jsr.io/@flowcore/sdk/4.2.2/src/commands/ai-agent-coordinator/conversation-delete.command.d.ts.map +0 -1
- package/esm/deps/jsr.io/@flowcore/sdk/4.2.2/src/commands/ai-agent-coordinator/conversation-delete.command.js +0 -30
- package/esm/deps/jsr.io/@flowcore/sdk/4.2.2/src/commands/ai-agent-coordinator/conversation-get.command.d.ts +0 -26
- package/esm/deps/jsr.io/@flowcore/sdk/4.2.2/src/commands/ai-agent-coordinator/conversation-get.command.d.ts.map +0 -1
- package/esm/deps/jsr.io/@flowcore/sdk/4.2.2/src/commands/ai-agent-coordinator/conversation-get.command.js +0 -36
- package/esm/deps/jsr.io/@flowcore/sdk/4.2.2/src/commands/ai-agent-coordinator/conversation-list.command.d.ts +0 -22
- package/esm/deps/jsr.io/@flowcore/sdk/4.2.2/src/commands/ai-agent-coordinator/conversation-list.command.d.ts.map +0 -1
- package/esm/deps/jsr.io/@flowcore/sdk/4.2.2/src/commands/ai-agent-coordinator/conversation-list.command.js +0 -29
- package/esm/deps/jsr.io/@flowcore/sdk/4.2.2/src/commands/ai-agent-coordinator/conversation-stream.command.d.ts +0 -30
- package/esm/deps/jsr.io/@flowcore/sdk/4.2.2/src/commands/ai-agent-coordinator/conversation-stream.command.d.ts.map +0 -1
- package/esm/deps/jsr.io/@flowcore/sdk/4.2.2/src/commands/ai-agent-coordinator/conversation-stream.command.js +0 -39
- package/esm/deps/jsr.io/@flowcore/sdk/4.2.2/src/commands/ai-agent-coordinator/mod.d.ts +0 -8
- package/esm/deps/jsr.io/@flowcore/sdk/4.2.2/src/commands/ai-agent-coordinator/mod.d.ts.map +0 -1
- package/esm/deps/jsr.io/@flowcore/sdk/4.2.2/src/commands/ai-agent-coordinator/mod.js +0 -7
- package/esm/deps/jsr.io/@flowcore/sdk/4.2.2/src/commands/api-key/api-key.create.d.ts +0 -43
- package/esm/deps/jsr.io/@flowcore/sdk/4.2.2/src/commands/api-key/api-key.create.d.ts.map +0 -1
- package/esm/deps/jsr.io/@flowcore/sdk/4.2.2/src/commands/api-key/api-key.create.js +0 -53
- package/esm/deps/jsr.io/@flowcore/sdk/4.2.2/src/commands/api-key/api-key.delete.d.ts +0 -38
- package/esm/deps/jsr.io/@flowcore/sdk/4.2.2/src/commands/api-key/api-key.delete.d.ts.map +0 -1
- package/esm/deps/jsr.io/@flowcore/sdk/4.2.2/src/commands/api-key/api-key.delete.js +0 -51
- package/esm/deps/jsr.io/@flowcore/sdk/4.2.2/src/commands/api-key/api-key.edit.d.ts +0 -41
- package/esm/deps/jsr.io/@flowcore/sdk/4.2.2/src/commands/api-key/api-key.edit.d.ts.map +0 -1
- package/esm/deps/jsr.io/@flowcore/sdk/4.2.2/src/commands/api-key/api-key.edit.js +0 -53
- package/esm/deps/jsr.io/@flowcore/sdk/4.2.2/src/commands/api-key/api-key.fetch.d.ts +0 -44
- package/esm/deps/jsr.io/@flowcore/sdk/4.2.2/src/commands/api-key/api-key.fetch.d.ts.map +0 -1
- package/esm/deps/jsr.io/@flowcore/sdk/4.2.2/src/commands/api-key/api-key.fetch.js +0 -63
- package/esm/deps/jsr.io/@flowcore/sdk/4.2.2/src/commands/api-key/api-key.list.d.ts +0 -39
- package/esm/deps/jsr.io/@flowcore/sdk/4.2.2/src/commands/api-key/api-key.list.d.ts.map +0 -1
- package/esm/deps/jsr.io/@flowcore/sdk/4.2.2/src/commands/api-key/api-key.list.js +0 -54
- package/esm/deps/jsr.io/@flowcore/sdk/4.2.2/src/commands/api-key/api-key.validate-with-tenant-id.d.ts +0 -37
- package/esm/deps/jsr.io/@flowcore/sdk/4.2.2/src/commands/api-key/api-key.validate-with-tenant-id.d.ts.map +0 -1
- package/esm/deps/jsr.io/@flowcore/sdk/4.2.2/src/commands/api-key/api-key.validate-with-tenant-id.js +0 -44
- package/esm/deps/jsr.io/@flowcore/sdk/4.2.2/src/commands/api-key/api-key.validate.d.ts +0 -35
- package/esm/deps/jsr.io/@flowcore/sdk/4.2.2/src/commands/api-key/api-key.validate.d.ts.map +0 -1
- package/esm/deps/jsr.io/@flowcore/sdk/4.2.2/src/commands/api-key/api-key.validate.js +0 -44
- package/esm/deps/jsr.io/@flowcore/sdk/4.2.2/src/commands/aws-marketplace/aws-marketplace-customer.resolve.d.ts +0 -35
- package/esm/deps/jsr.io/@flowcore/sdk/4.2.2/src/commands/aws-marketplace/aws-marketplace-customer.resolve.d.ts.map +0 -1
- package/esm/deps/jsr.io/@flowcore/sdk/4.2.2/src/commands/aws-marketplace/aws-marketplace-customer.resolve.js +0 -44
- package/esm/deps/jsr.io/@flowcore/sdk/4.2.2/src/commands/aws-marketplace/aws-marketplace-link.create.d.ts +0 -50
- package/esm/deps/jsr.io/@flowcore/sdk/4.2.2/src/commands/aws-marketplace/aws-marketplace-link.create.d.ts.map +0 -1
- package/esm/deps/jsr.io/@flowcore/sdk/4.2.2/src/commands/aws-marketplace/aws-marketplace-link.create.js +0 -53
- package/esm/deps/jsr.io/@flowcore/sdk/4.2.2/src/commands/aws-marketplace/aws-marketplace-link.delete.d.ts +0 -45
- package/esm/deps/jsr.io/@flowcore/sdk/4.2.2/src/commands/aws-marketplace/aws-marketplace-link.delete.d.ts.map +0 -1
- package/esm/deps/jsr.io/@flowcore/sdk/4.2.2/src/commands/aws-marketplace/aws-marketplace-link.delete.js +0 -63
- package/esm/deps/jsr.io/@flowcore/sdk/4.2.2/src/commands/aws-marketplace/aws-marketplace-link.fetch.d.ts +0 -39
- package/esm/deps/jsr.io/@flowcore/sdk/4.2.2/src/commands/aws-marketplace/aws-marketplace-link.fetch.d.ts.map +0 -1
- package/esm/deps/jsr.io/@flowcore/sdk/4.2.2/src/commands/aws-marketplace/aws-marketplace-link.fetch.js +0 -53
- package/esm/deps/jsr.io/@flowcore/sdk/4.2.2/src/commands/aws-marketplace/aws-marketplace-link.list.d.ts +0 -45
- package/esm/deps/jsr.io/@flowcore/sdk/4.2.2/src/commands/aws-marketplace/aws-marketplace-link.list.d.ts.map +0 -1
- package/esm/deps/jsr.io/@flowcore/sdk/4.2.2/src/commands/aws-marketplace/aws-marketplace-link.list.js +0 -62
- package/esm/deps/jsr.io/@flowcore/sdk/4.2.2/src/commands/container-registry/container-registry.create.d.ts +0 -39
- package/esm/deps/jsr.io/@flowcore/sdk/4.2.2/src/commands/container-registry/container-registry.create.d.ts.map +0 -1
- package/esm/deps/jsr.io/@flowcore/sdk/4.2.2/src/commands/container-registry/container-registry.create.js +0 -29
- package/esm/deps/jsr.io/@flowcore/sdk/4.2.2/src/commands/container-registry/container-registry.delete.d.ts +0 -22
- package/esm/deps/jsr.io/@flowcore/sdk/4.2.2/src/commands/container-registry/container-registry.delete.d.ts.map +0 -1
- package/esm/deps/jsr.io/@flowcore/sdk/4.2.2/src/commands/container-registry/container-registry.delete.js +0 -26
- package/esm/deps/jsr.io/@flowcore/sdk/4.2.2/src/commands/container-registry/container-registry.fetch.d.ts +0 -22
- package/esm/deps/jsr.io/@flowcore/sdk/4.2.2/src/commands/container-registry/container-registry.fetch.d.ts.map +0 -1
- package/esm/deps/jsr.io/@flowcore/sdk/4.2.2/src/commands/container-registry/container-registry.fetch.js +0 -26
- package/esm/deps/jsr.io/@flowcore/sdk/4.2.2/src/commands/container-registry/container-registry.list.d.ts +0 -22
- package/esm/deps/jsr.io/@flowcore/sdk/4.2.2/src/commands/container-registry/container-registry.list.d.ts.map +0 -1
- package/esm/deps/jsr.io/@flowcore/sdk/4.2.2/src/commands/container-registry/container-registry.list.js +0 -26
- package/esm/deps/jsr.io/@flowcore/sdk/4.2.2/src/commands/container-registry/container-registry.update.d.ts +0 -33
- package/esm/deps/jsr.io/@flowcore/sdk/4.2.2/src/commands/container-registry/container-registry.update.d.ts.map +0 -1
- package/esm/deps/jsr.io/@flowcore/sdk/4.2.2/src/commands/container-registry/container-registry.update.js +0 -26
- package/esm/deps/jsr.io/@flowcore/sdk/4.2.2/src/commands/data-core/data-core.create.d.ts +0 -45
- package/esm/deps/jsr.io/@flowcore/sdk/4.2.2/src/commands/data-core/data-core.create.d.ts.map +0 -1
- package/esm/deps/jsr.io/@flowcore/sdk/4.2.2/src/commands/data-core/data-core.create.js +0 -44
- package/esm/deps/jsr.io/@flowcore/sdk/4.2.2/src/commands/data-core/data-core.exists.d.ts +0 -37
- package/esm/deps/jsr.io/@flowcore/sdk/4.2.2/src/commands/data-core/data-core.exists.d.ts.map +0 -1
- package/esm/deps/jsr.io/@flowcore/sdk/4.2.2/src/commands/data-core/data-core.exists.js +0 -33
- package/esm/deps/jsr.io/@flowcore/sdk/4.2.2/src/commands/data-core/data-core.fetch.d.ts +0 -72
- package/esm/deps/jsr.io/@flowcore/sdk/4.2.2/src/commands/data-core/data-core.fetch.d.ts.map +0 -1
- package/esm/deps/jsr.io/@flowcore/sdk/4.2.2/src/commands/data-core/data-core.fetch.js +0 -84
- package/esm/deps/jsr.io/@flowcore/sdk/4.2.2/src/commands/data-core/data-core.list.d.ts +0 -35
- package/esm/deps/jsr.io/@flowcore/sdk/4.2.2/src/commands/data-core/data-core.list.d.ts.map +0 -1
- package/esm/deps/jsr.io/@flowcore/sdk/4.2.2/src/commands/data-core/data-core.list.js +0 -47
- package/esm/deps/jsr.io/@flowcore/sdk/4.2.2/src/commands/data-core/data-core.request-delete.d.ts +0 -55
- package/esm/deps/jsr.io/@flowcore/sdk/4.2.2/src/commands/data-core/data-core.request-delete.d.ts.map +0 -1
- package/esm/deps/jsr.io/@flowcore/sdk/4.2.2/src/commands/data-core/data-core.request-delete.js +0 -79
- package/esm/deps/jsr.io/@flowcore/sdk/4.2.2/src/commands/data-core/data-core.update.d.ts +0 -41
- package/esm/deps/jsr.io/@flowcore/sdk/4.2.2/src/commands/data-core/data-core.update.d.ts.map +0 -1
- package/esm/deps/jsr.io/@flowcore/sdk/4.2.2/src/commands/data-core/data-core.update.js +0 -43
- package/esm/deps/jsr.io/@flowcore/sdk/4.2.2/src/commands/data-pathways/assignment.complete.d.ts +0 -16
- package/esm/deps/jsr.io/@flowcore/sdk/4.2.2/src/commands/data-pathways/assignment.complete.d.ts.map +0 -1
- package/esm/deps/jsr.io/@flowcore/sdk/4.2.2/src/commands/data-pathways/assignment.complete.js +0 -31
- package/esm/deps/jsr.io/@flowcore/sdk/4.2.2/src/commands/data-pathways/assignment.expire-leases.d.ts +0 -12
- package/esm/deps/jsr.io/@flowcore/sdk/4.2.2/src/commands/data-pathways/assignment.expire-leases.d.ts.map +0 -1
- package/esm/deps/jsr.io/@flowcore/sdk/4.2.2/src/commands/data-pathways/assignment.expire-leases.js +0 -32
- package/esm/deps/jsr.io/@flowcore/sdk/4.2.2/src/commands/data-pathways/assignment.fetch.d.ts +0 -15
- package/esm/deps/jsr.io/@flowcore/sdk/4.2.2/src/commands/data-pathways/assignment.fetch.d.ts.map +0 -1
- package/esm/deps/jsr.io/@flowcore/sdk/4.2.2/src/commands/data-pathways/assignment.fetch.js +0 -33
- package/esm/deps/jsr.io/@flowcore/sdk/4.2.2/src/commands/data-pathways/assignment.heartbeat.d.ts +0 -54
- package/esm/deps/jsr.io/@flowcore/sdk/4.2.2/src/commands/data-pathways/assignment.heartbeat.d.ts.map +0 -1
- package/esm/deps/jsr.io/@flowcore/sdk/4.2.2/src/commands/data-pathways/assignment.heartbeat.js +0 -31
- package/esm/deps/jsr.io/@flowcore/sdk/4.2.2/src/commands/data-pathways/assignment.list.d.ts +0 -18
- package/esm/deps/jsr.io/@flowcore/sdk/4.2.2/src/commands/data-pathways/assignment.list.d.ts.map +0 -1
- package/esm/deps/jsr.io/@flowcore/sdk/4.2.2/src/commands/data-pathways/assignment.list.js +0 -40
- package/esm/deps/jsr.io/@flowcore/sdk/4.2.2/src/commands/data-pathways/assignment.next.d.ts +0 -14
- package/esm/deps/jsr.io/@flowcore/sdk/4.2.2/src/commands/data-pathways/assignment.next.d.ts.map +0 -1
- package/esm/deps/jsr.io/@flowcore/sdk/4.2.2/src/commands/data-pathways/assignment.next.js +0 -29
- package/esm/deps/jsr.io/@flowcore/sdk/4.2.2/src/commands/data-pathways/capacity.fetch.d.ts +0 -11
- package/esm/deps/jsr.io/@flowcore/sdk/4.2.2/src/commands/data-pathways/capacity.fetch.d.ts.map +0 -1
- package/esm/deps/jsr.io/@flowcore/sdk/4.2.2/src/commands/data-pathways/capacity.fetch.js +0 -26
- package/esm/deps/jsr.io/@flowcore/sdk/4.2.2/src/commands/data-pathways/command.dispatch-config-update.d.ts +0 -18
- package/esm/deps/jsr.io/@flowcore/sdk/4.2.2/src/commands/data-pathways/command.dispatch-config-update.d.ts.map +0 -1
- package/esm/deps/jsr.io/@flowcore/sdk/4.2.2/src/commands/data-pathways/command.dispatch-config-update.js +0 -40
- package/esm/deps/jsr.io/@flowcore/sdk/4.2.2/src/commands/data-pathways/command.dispatch-restart.d.ts +0 -24
- package/esm/deps/jsr.io/@flowcore/sdk/4.2.2/src/commands/data-pathways/command.dispatch-restart.d.ts.map +0 -1
- package/esm/deps/jsr.io/@flowcore/sdk/4.2.2/src/commands/data-pathways/command.dispatch-restart.js +0 -40
- package/esm/deps/jsr.io/@flowcore/sdk/4.2.2/src/commands/data-pathways/command.dispatch-stop.d.ts +0 -20
- package/esm/deps/jsr.io/@flowcore/sdk/4.2.2/src/commands/data-pathways/command.dispatch-stop.d.ts.map +0 -1
- package/esm/deps/jsr.io/@flowcore/sdk/4.2.2/src/commands/data-pathways/command.dispatch-stop.js +0 -40
- package/esm/deps/jsr.io/@flowcore/sdk/4.2.2/src/commands/data-pathways/command.fetch.d.ts +0 -15
- package/esm/deps/jsr.io/@flowcore/sdk/4.2.2/src/commands/data-pathways/command.fetch.d.ts.map +0 -1
- package/esm/deps/jsr.io/@flowcore/sdk/4.2.2/src/commands/data-pathways/command.fetch.js +0 -33
- package/esm/deps/jsr.io/@flowcore/sdk/4.2.2/src/commands/data-pathways/command.pending.d.ts +0 -15
- package/esm/deps/jsr.io/@flowcore/sdk/4.2.2/src/commands/data-pathways/command.pending.d.ts.map +0 -1
- package/esm/deps/jsr.io/@flowcore/sdk/4.2.2/src/commands/data-pathways/command.pending.js +0 -33
- package/esm/deps/jsr.io/@flowcore/sdk/4.2.2/src/commands/data-pathways/command.update-status.d.ts +0 -19
- package/esm/deps/jsr.io/@flowcore/sdk/4.2.2/src/commands/data-pathways/command.update-status.d.ts.map +0 -1
- package/esm/deps/jsr.io/@flowcore/sdk/4.2.2/src/commands/data-pathways/command.update-status.js +0 -43
- package/esm/deps/jsr.io/@flowcore/sdk/4.2.2/src/commands/data-pathways/delivery-log.batch.d.ts +0 -15
- package/esm/deps/jsr.io/@flowcore/sdk/4.2.2/src/commands/data-pathways/delivery-log.batch.d.ts.map +0 -1
- package/esm/deps/jsr.io/@flowcore/sdk/4.2.2/src/commands/data-pathways/delivery-log.batch.js +0 -35
- package/esm/deps/jsr.io/@flowcore/sdk/4.2.2/src/commands/data-pathways/delivery-log.list.d.ts +0 -17
- package/esm/deps/jsr.io/@flowcore/sdk/4.2.2/src/commands/data-pathways/delivery-log.list.d.ts.map +0 -1
- package/esm/deps/jsr.io/@flowcore/sdk/4.2.2/src/commands/data-pathways/delivery-log.list.js +0 -36
- package/esm/deps/jsr.io/@flowcore/sdk/4.2.2/src/commands/data-pathways/health.check.d.ts +0 -12
- package/esm/deps/jsr.io/@flowcore/sdk/4.2.2/src/commands/data-pathways/health.check.d.ts.map +0 -1
- package/esm/deps/jsr.io/@flowcore/sdk/4.2.2/src/commands/data-pathways/health.check.js +0 -32
- package/esm/deps/jsr.io/@flowcore/sdk/4.2.2/src/commands/data-pathways/index.d.ts +0 -43
- package/esm/deps/jsr.io/@flowcore/sdk/4.2.2/src/commands/data-pathways/index.d.ts.map +0 -1
- package/esm/deps/jsr.io/@flowcore/sdk/4.2.2/src/commands/data-pathways/index.js +0 -54
- package/esm/deps/jsr.io/@flowcore/sdk/4.2.2/src/commands/data-pathways/pathway-command.pending.d.ts +0 -19
- package/esm/deps/jsr.io/@flowcore/sdk/4.2.2/src/commands/data-pathways/pathway-command.pending.d.ts.map +0 -1
- package/esm/deps/jsr.io/@flowcore/sdk/4.2.2/src/commands/data-pathways/pathway-command.pending.js +0 -37
- package/esm/deps/jsr.io/@flowcore/sdk/4.2.2/src/commands/data-pathways/pathway-command.update-status.d.ts +0 -24
- package/esm/deps/jsr.io/@flowcore/sdk/4.2.2/src/commands/data-pathways/pathway-command.update-status.d.ts.map +0 -1
- package/esm/deps/jsr.io/@flowcore/sdk/4.2.2/src/commands/data-pathways/pathway-command.update-status.js +0 -48
- package/esm/deps/jsr.io/@flowcore/sdk/4.2.2/src/commands/data-pathways/pathway.create.d.ts +0 -25
- package/esm/deps/jsr.io/@flowcore/sdk/4.2.2/src/commands/data-pathways/pathway.create.d.ts.map +0 -1
- package/esm/deps/jsr.io/@flowcore/sdk/4.2.2/src/commands/data-pathways/pathway.create.js +0 -36
- package/esm/deps/jsr.io/@flowcore/sdk/4.2.2/src/commands/data-pathways/pathway.delete.d.ts +0 -18
- package/esm/deps/jsr.io/@flowcore/sdk/4.2.2/src/commands/data-pathways/pathway.delete.d.ts.map +0 -1
- package/esm/deps/jsr.io/@flowcore/sdk/4.2.2/src/commands/data-pathways/pathway.delete.js +0 -43
- package/esm/deps/jsr.io/@flowcore/sdk/4.2.2/src/commands/data-pathways/pathway.disable.d.ts +0 -18
- package/esm/deps/jsr.io/@flowcore/sdk/4.2.2/src/commands/data-pathways/pathway.disable.d.ts.map +0 -1
- package/esm/deps/jsr.io/@flowcore/sdk/4.2.2/src/commands/data-pathways/pathway.disable.js +0 -43
- package/esm/deps/jsr.io/@flowcore/sdk/4.2.2/src/commands/data-pathways/pathway.fetch-by-name.d.ts +0 -16
- package/esm/deps/jsr.io/@flowcore/sdk/4.2.2/src/commands/data-pathways/pathway.fetch-by-name.d.ts.map +0 -1
- package/esm/deps/jsr.io/@flowcore/sdk/4.2.2/src/commands/data-pathways/pathway.fetch-by-name.js +0 -34
- package/esm/deps/jsr.io/@flowcore/sdk/4.2.2/src/commands/data-pathways/pathway.fetch.d.ts +0 -15
- package/esm/deps/jsr.io/@flowcore/sdk/4.2.2/src/commands/data-pathways/pathway.fetch.d.ts.map +0 -1
- package/esm/deps/jsr.io/@flowcore/sdk/4.2.2/src/commands/data-pathways/pathway.fetch.js +0 -33
- package/esm/deps/jsr.io/@flowcore/sdk/4.2.2/src/commands/data-pathways/pathway.list.d.ts +0 -20
- package/esm/deps/jsr.io/@flowcore/sdk/4.2.2/src/commands/data-pathways/pathway.list.d.ts.map +0 -1
- package/esm/deps/jsr.io/@flowcore/sdk/4.2.2/src/commands/data-pathways/pathway.list.js +0 -44
- package/esm/deps/jsr.io/@flowcore/sdk/4.2.2/src/commands/data-pathways/pathway.metrics.fetch.d.ts +0 -15
- package/esm/deps/jsr.io/@flowcore/sdk/4.2.2/src/commands/data-pathways/pathway.metrics.fetch.d.ts.map +0 -1
- package/esm/deps/jsr.io/@flowcore/sdk/4.2.2/src/commands/data-pathways/pathway.metrics.fetch.js +0 -33
- package/esm/deps/jsr.io/@flowcore/sdk/4.2.2/src/commands/data-pathways/pathway.upsert-by-name.d.ts +0 -31
- package/esm/deps/jsr.io/@flowcore/sdk/4.2.2/src/commands/data-pathways/pathway.upsert-by-name.d.ts.map +0 -1
- package/esm/deps/jsr.io/@flowcore/sdk/4.2.2/src/commands/data-pathways/pathway.upsert-by-name.js +0 -40
- package/esm/deps/jsr.io/@flowcore/sdk/4.2.2/src/commands/data-pathways/pump-pulse.send.d.ts +0 -30
- package/esm/deps/jsr.io/@flowcore/sdk/4.2.2/src/commands/data-pathways/pump-pulse.send.d.ts.map +0 -1
- package/esm/deps/jsr.io/@flowcore/sdk/4.2.2/src/commands/data-pathways/pump-pulse.send.js +0 -32
- package/esm/deps/jsr.io/@flowcore/sdk/4.2.2/src/commands/data-pathways/pump-state.fetch-by-source.d.ts +0 -16
- package/esm/deps/jsr.io/@flowcore/sdk/4.2.2/src/commands/data-pathways/pump-state.fetch-by-source.d.ts.map +0 -1
- package/esm/deps/jsr.io/@flowcore/sdk/4.2.2/src/commands/data-pathways/pump-state.fetch-by-source.js +0 -36
- package/esm/deps/jsr.io/@flowcore/sdk/4.2.2/src/commands/data-pathways/pump-state.fetch.d.ts +0 -16
- package/esm/deps/jsr.io/@flowcore/sdk/4.2.2/src/commands/data-pathways/pump-state.fetch.d.ts.map +0 -1
- package/esm/deps/jsr.io/@flowcore/sdk/4.2.2/src/commands/data-pathways/pump-state.fetch.js +0 -36
- package/esm/deps/jsr.io/@flowcore/sdk/4.2.2/src/commands/data-pathways/pump-state.save-by-source.d.ts +0 -20
- package/esm/deps/jsr.io/@flowcore/sdk/4.2.2/src/commands/data-pathways/pump-state.save-by-source.d.ts.map +0 -1
- package/esm/deps/jsr.io/@flowcore/sdk/4.2.2/src/commands/data-pathways/pump-state.save-by-source.js +0 -35
- package/esm/deps/jsr.io/@flowcore/sdk/4.2.2/src/commands/data-pathways/pump-state.save.d.ts +0 -20
- package/esm/deps/jsr.io/@flowcore/sdk/4.2.2/src/commands/data-pathways/pump-state.save.d.ts.map +0 -1
- package/esm/deps/jsr.io/@flowcore/sdk/4.2.2/src/commands/data-pathways/pump-state.save.js +0 -35
- package/esm/deps/jsr.io/@flowcore/sdk/4.2.2/src/commands/data-pathways/pump-status.fetch.d.ts +0 -17
- package/esm/deps/jsr.io/@flowcore/sdk/4.2.2/src/commands/data-pathways/pump-status.fetch.d.ts.map +0 -1
- package/esm/deps/jsr.io/@flowcore/sdk/4.2.2/src/commands/data-pathways/pump-status.fetch.js +0 -42
- package/esm/deps/jsr.io/@flowcore/sdk/4.2.2/src/commands/data-pathways/quota.fetch.d.ts +0 -15
- package/esm/deps/jsr.io/@flowcore/sdk/4.2.2/src/commands/data-pathways/quota.fetch.d.ts.map +0 -1
- package/esm/deps/jsr.io/@flowcore/sdk/4.2.2/src/commands/data-pathways/quota.fetch.js +0 -33
- package/esm/deps/jsr.io/@flowcore/sdk/4.2.2/src/commands/data-pathways/quota.list.d.ts +0 -11
- package/esm/deps/jsr.io/@flowcore/sdk/4.2.2/src/commands/data-pathways/quota.list.d.ts.map +0 -1
- package/esm/deps/jsr.io/@flowcore/sdk/4.2.2/src/commands/data-pathways/quota.list.js +0 -26
- package/esm/deps/jsr.io/@flowcore/sdk/4.2.2/src/commands/data-pathways/quota.set.d.ts +0 -20
- package/esm/deps/jsr.io/@flowcore/sdk/4.2.2/src/commands/data-pathways/quota.set.d.ts.map +0 -1
- package/esm/deps/jsr.io/@flowcore/sdk/4.2.2/src/commands/data-pathways/quota.set.js +0 -36
- package/esm/deps/jsr.io/@flowcore/sdk/4.2.2/src/commands/data-pathways/restart.fetch.d.ts +0 -15
- package/esm/deps/jsr.io/@flowcore/sdk/4.2.2/src/commands/data-pathways/restart.fetch.d.ts.map +0 -1
- package/esm/deps/jsr.io/@flowcore/sdk/4.2.2/src/commands/data-pathways/restart.fetch.js +0 -33
- package/esm/deps/jsr.io/@flowcore/sdk/4.2.2/src/commands/data-pathways/restart.request.d.ts +0 -29
- package/esm/deps/jsr.io/@flowcore/sdk/4.2.2/src/commands/data-pathways/restart.request.d.ts.map +0 -1
- package/esm/deps/jsr.io/@flowcore/sdk/4.2.2/src/commands/data-pathways/restart.request.js +0 -29
- package/esm/deps/jsr.io/@flowcore/sdk/4.2.2/src/commands/data-pathways/slot.deregister.d.ts +0 -17
- package/esm/deps/jsr.io/@flowcore/sdk/4.2.2/src/commands/data-pathways/slot.deregister.d.ts.map +0 -1
- package/esm/deps/jsr.io/@flowcore/sdk/4.2.2/src/commands/data-pathways/slot.deregister.js +0 -40
- package/esm/deps/jsr.io/@flowcore/sdk/4.2.2/src/commands/data-pathways/slot.fetch.d.ts +0 -15
- package/esm/deps/jsr.io/@flowcore/sdk/4.2.2/src/commands/data-pathways/slot.fetch.d.ts.map +0 -1
- package/esm/deps/jsr.io/@flowcore/sdk/4.2.2/src/commands/data-pathways/slot.fetch.js +0 -33
- package/esm/deps/jsr.io/@flowcore/sdk/4.2.2/src/commands/data-pathways/slot.heartbeat.d.ts +0 -16
- package/esm/deps/jsr.io/@flowcore/sdk/4.2.2/src/commands/data-pathways/slot.heartbeat.d.ts.map +0 -1
- package/esm/deps/jsr.io/@flowcore/sdk/4.2.2/src/commands/data-pathways/slot.heartbeat.js +0 -39
- package/esm/deps/jsr.io/@flowcore/sdk/4.2.2/src/commands/data-pathways/slot.list.d.ts +0 -16
- package/esm/deps/jsr.io/@flowcore/sdk/4.2.2/src/commands/data-pathways/slot.list.d.ts.map +0 -1
- package/esm/deps/jsr.io/@flowcore/sdk/4.2.2/src/commands/data-pathways/slot.list.js +0 -36
- package/esm/deps/jsr.io/@flowcore/sdk/4.2.2/src/commands/data-pathways/slot.register.d.ts +0 -17
- package/esm/deps/jsr.io/@flowcore/sdk/4.2.2/src/commands/data-pathways/slot.register.d.ts.map +0 -1
- package/esm/deps/jsr.io/@flowcore/sdk/4.2.2/src/commands/data-pathways/slot.register.js +0 -29
- package/esm/deps/jsr.io/@flowcore/sdk/4.2.2/src/commands/event-type/event-type.create.d.ts +0 -48
- package/esm/deps/jsr.io/@flowcore/sdk/4.2.2/src/commands/event-type/event-type.create.d.ts.map +0 -1
- package/esm/deps/jsr.io/@flowcore/sdk/4.2.2/src/commands/event-type/event-type.create.js +0 -44
- package/esm/deps/jsr.io/@flowcore/sdk/4.2.2/src/commands/event-type/event-type.exists.d.ts +0 -37
- package/esm/deps/jsr.io/@flowcore/sdk/4.2.2/src/commands/event-type/event-type.exists.d.ts.map +0 -1
- package/esm/deps/jsr.io/@flowcore/sdk/4.2.2/src/commands/event-type/event-type.exists.js +0 -33
- package/esm/deps/jsr.io/@flowcore/sdk/4.2.2/src/commands/event-type/event-type.fetch.d.ts +0 -49
- package/esm/deps/jsr.io/@flowcore/sdk/4.2.2/src/commands/event-type/event-type.fetch.d.ts.map +0 -1
- package/esm/deps/jsr.io/@flowcore/sdk/4.2.2/src/commands/event-type/event-type.fetch.js +0 -59
- package/esm/deps/jsr.io/@flowcore/sdk/4.2.2/src/commands/event-type/event-type.info.d.ts +0 -39
- package/esm/deps/jsr.io/@flowcore/sdk/4.2.2/src/commands/event-type/event-type.info.d.ts.map +0 -1
- package/esm/deps/jsr.io/@flowcore/sdk/4.2.2/src/commands/event-type/event-type.info.js +0 -71
- package/esm/deps/jsr.io/@flowcore/sdk/4.2.2/src/commands/event-type/event-type.list-removed-sensitive-data.d.ts +0 -53
- package/esm/deps/jsr.io/@flowcore/sdk/4.2.2/src/commands/event-type/event-type.list-removed-sensitive-data.d.ts.map +0 -1
- package/esm/deps/jsr.io/@flowcore/sdk/4.2.2/src/commands/event-type/event-type.list-removed-sensitive-data.js +0 -44
- package/esm/deps/jsr.io/@flowcore/sdk/4.2.2/src/commands/event-type/event-type.list.d.ts +0 -31
- package/esm/deps/jsr.io/@flowcore/sdk/4.2.2/src/commands/event-type/event-type.list.d.ts.map +0 -1
- package/esm/deps/jsr.io/@flowcore/sdk/4.2.2/src/commands/event-type/event-type.list.js +0 -36
- package/esm/deps/jsr.io/@flowcore/sdk/4.2.2/src/commands/event-type/event-type.remove-sensitive-data.d.ts +0 -39
- package/esm/deps/jsr.io/@flowcore/sdk/4.2.2/src/commands/event-type/event-type.remove-sensitive-data.d.ts.map +0 -1
- package/esm/deps/jsr.io/@flowcore/sdk/4.2.2/src/commands/event-type/event-type.remove-sensitive-data.js +0 -32
- package/esm/deps/jsr.io/@flowcore/sdk/4.2.2/src/commands/event-type/event-type.request-delete.d.ts +0 -54
- package/esm/deps/jsr.io/@flowcore/sdk/4.2.2/src/commands/event-type/event-type.request-delete.d.ts.map +0 -1
- package/esm/deps/jsr.io/@flowcore/sdk/4.2.2/src/commands/event-type/event-type.request-delete.js +0 -79
- package/esm/deps/jsr.io/@flowcore/sdk/4.2.2/src/commands/event-type/event-type.request-truncate.d.ts +0 -54
- package/esm/deps/jsr.io/@flowcore/sdk/4.2.2/src/commands/event-type/event-type.request-truncate.d.ts.map +0 -1
- package/esm/deps/jsr.io/@flowcore/sdk/4.2.2/src/commands/event-type/event-type.request-truncate.js +0 -80
- package/esm/deps/jsr.io/@flowcore/sdk/4.2.2/src/commands/event-type/event-type.update.d.ts +0 -46
- package/esm/deps/jsr.io/@flowcore/sdk/4.2.2/src/commands/event-type/event-type.update.d.ts.map +0 -1
- package/esm/deps/jsr.io/@flowcore/sdk/4.2.2/src/commands/event-type/event-type.update.js +0 -39
- package/esm/deps/jsr.io/@flowcore/sdk/4.2.2/src/commands/events/event.list.d.ts +0 -70
- package/esm/deps/jsr.io/@flowcore/sdk/4.2.2/src/commands/events/event.list.d.ts.map +0 -1
- package/esm/deps/jsr.io/@flowcore/sdk/4.2.2/src/commands/events/event.list.js +0 -66
- package/esm/deps/jsr.io/@flowcore/sdk/4.2.2/src/commands/events/events.fetch-time-buckets-by-names.d.ts +0 -57
- package/esm/deps/jsr.io/@flowcore/sdk/4.2.2/src/commands/events/events.fetch-time-buckets-by-names.d.ts.map +0 -1
- package/esm/deps/jsr.io/@flowcore/sdk/4.2.2/src/commands/events/events.fetch-time-buckets-by-names.js +0 -53
- package/esm/deps/jsr.io/@flowcore/sdk/4.2.2/src/commands/events/events.fetch.d.ts +0 -64
- package/esm/deps/jsr.io/@flowcore/sdk/4.2.2/src/commands/events/events.fetch.d.ts.map +0 -1
- package/esm/deps/jsr.io/@flowcore/sdk/4.2.2/src/commands/events/events.fetch.js +0 -67
- package/esm/deps/jsr.io/@flowcore/sdk/4.2.2/src/commands/events/time-bucket.list.d.ts +0 -55
- package/esm/deps/jsr.io/@flowcore/sdk/4.2.2/src/commands/events/time-bucket.list.d.ts.map +0 -1
- package/esm/deps/jsr.io/@flowcore/sdk/4.2.2/src/commands/events/time-bucket.list.js +0 -62
- package/esm/deps/jsr.io/@flowcore/sdk/4.2.2/src/commands/flow-type/flow-type.create.d.ts +0 -39
- package/esm/deps/jsr.io/@flowcore/sdk/4.2.2/src/commands/flow-type/flow-type.create.d.ts.map +0 -1
- package/esm/deps/jsr.io/@flowcore/sdk/4.2.2/src/commands/flow-type/flow-type.create.js +0 -44
- package/esm/deps/jsr.io/@flowcore/sdk/4.2.2/src/commands/flow-type/flow-type.exists.d.ts +0 -39
- package/esm/deps/jsr.io/@flowcore/sdk/4.2.2/src/commands/flow-type/flow-type.exists.d.ts.map +0 -1
- package/esm/deps/jsr.io/@flowcore/sdk/4.2.2/src/commands/flow-type/flow-type.exists.js +0 -33
- package/esm/deps/jsr.io/@flowcore/sdk/4.2.2/src/commands/flow-type/flow-type.fetch.d.ts +0 -55
- package/esm/deps/jsr.io/@flowcore/sdk/4.2.2/src/commands/flow-type/flow-type.fetch.d.ts.map +0 -1
- package/esm/deps/jsr.io/@flowcore/sdk/4.2.2/src/commands/flow-type/flow-type.fetch.js +0 -59
- package/esm/deps/jsr.io/@flowcore/sdk/4.2.2/src/commands/flow-type/flow-type.list.d.ts +0 -31
- package/esm/deps/jsr.io/@flowcore/sdk/4.2.2/src/commands/flow-type/flow-type.list.d.ts.map +0 -1
- package/esm/deps/jsr.io/@flowcore/sdk/4.2.2/src/commands/flow-type/flow-type.list.js +0 -36
- package/esm/deps/jsr.io/@flowcore/sdk/4.2.2/src/commands/flow-type/flow-type.request-delete.d.ts +0 -54
- package/esm/deps/jsr.io/@flowcore/sdk/4.2.2/src/commands/flow-type/flow-type.request-delete.d.ts.map +0 -1
- package/esm/deps/jsr.io/@flowcore/sdk/4.2.2/src/commands/flow-type/flow-type.request-delete.js +0 -79
- package/esm/deps/jsr.io/@flowcore/sdk/4.2.2/src/commands/flow-type/flow-type.update.d.ts +0 -37
- package/esm/deps/jsr.io/@flowcore/sdk/4.2.2/src/commands/flow-type/flow-type.update.d.ts.map +0 -1
- package/esm/deps/jsr.io/@flowcore/sdk/4.2.2/src/commands/flow-type/flow-type.update.js +0 -39
- package/esm/deps/jsr.io/@flowcore/sdk/4.2.2/src/commands/iam/permissions/get-user-permissions.d.ts +0 -48
- package/esm/deps/jsr.io/@flowcore/sdk/4.2.2/src/commands/iam/permissions/get-user-permissions.d.ts.map +0 -1
- package/esm/deps/jsr.io/@flowcore/sdk/4.2.2/src/commands/iam/permissions/get-user-permissions.js +0 -53
- package/esm/deps/jsr.io/@flowcore/sdk/4.2.2/src/commands/iam/policies/create-policy.d.ts +0 -89
- package/esm/deps/jsr.io/@flowcore/sdk/4.2.2/src/commands/iam/policies/create-policy.d.ts.map +0 -1
- package/esm/deps/jsr.io/@flowcore/sdk/4.2.2/src/commands/iam/policies/create-policy.js +0 -77
- package/esm/deps/jsr.io/@flowcore/sdk/4.2.2/src/commands/iam/policies/get-policy.d.ts +0 -35
- package/esm/deps/jsr.io/@flowcore/sdk/4.2.2/src/commands/iam/policies/get-policy.d.ts.map +0 -1
- package/esm/deps/jsr.io/@flowcore/sdk/4.2.2/src/commands/iam/policies/get-policy.js +0 -45
- package/esm/deps/jsr.io/@flowcore/sdk/4.2.2/src/commands/iam/policies/id/archive-policy.d.ts +0 -45
- package/esm/deps/jsr.io/@flowcore/sdk/4.2.2/src/commands/iam/policies/id/archive-policy.d.ts.map +0 -1
- package/esm/deps/jsr.io/@flowcore/sdk/4.2.2/src/commands/iam/policies/id/archive-policy.js +0 -50
- package/esm/deps/jsr.io/@flowcore/sdk/4.2.2/src/commands/iam/policies/id/get-policy.d.ts +0 -45
- package/esm/deps/jsr.io/@flowcore/sdk/4.2.2/src/commands/iam/policies/id/get-policy.d.ts.map +0 -1
- package/esm/deps/jsr.io/@flowcore/sdk/4.2.2/src/commands/iam/policies/id/get-policy.js +0 -45
- package/esm/deps/jsr.io/@flowcore/sdk/4.2.2/src/commands/iam/policies/id/update-policy.d.ts +0 -53
- package/esm/deps/jsr.io/@flowcore/sdk/4.2.2/src/commands/iam/policies/id/update-policy.d.ts.map +0 -1
- package/esm/deps/jsr.io/@flowcore/sdk/4.2.2/src/commands/iam/policies/id/update-policy.js +0 -54
- package/esm/deps/jsr.io/@flowcore/sdk/4.2.2/src/commands/iam/policies/validate-policy.d.ts +0 -82
- package/esm/deps/jsr.io/@flowcore/sdk/4.2.2/src/commands/iam/policies/validate-policy.d.ts.map +0 -1
- package/esm/deps/jsr.io/@flowcore/sdk/4.2.2/src/commands/iam/policies/validate-policy.js +0 -75
- package/esm/deps/jsr.io/@flowcore/sdk/4.2.2/src/commands/iam/policy-associations/get-key-policies.d.ts +0 -35
- package/esm/deps/jsr.io/@flowcore/sdk/4.2.2/src/commands/iam/policy-associations/get-key-policies.d.ts.map +0 -1
- package/esm/deps/jsr.io/@flowcore/sdk/4.2.2/src/commands/iam/policy-associations/get-key-policies.js +0 -85
- package/esm/deps/jsr.io/@flowcore/sdk/4.2.2/src/commands/iam/policy-associations/get-organization-policies.d.ts +0 -35
- package/esm/deps/jsr.io/@flowcore/sdk/4.2.2/src/commands/iam/policy-associations/get-organization-policies.d.ts.map +0 -1
- package/esm/deps/jsr.io/@flowcore/sdk/4.2.2/src/commands/iam/policy-associations/get-organization-policies.js +0 -88
- package/esm/deps/jsr.io/@flowcore/sdk/4.2.2/src/commands/iam/policy-associations/get-policy-associations.d.ts +0 -83
- package/esm/deps/jsr.io/@flowcore/sdk/4.2.2/src/commands/iam/policy-associations/get-policy-associations.d.ts.map +0 -1
- package/esm/deps/jsr.io/@flowcore/sdk/4.2.2/src/commands/iam/policy-associations/get-policy-associations.js +0 -117
- package/esm/deps/jsr.io/@flowcore/sdk/4.2.2/src/commands/iam/policy-associations/get-role-policies.d.ts +0 -35
- package/esm/deps/jsr.io/@flowcore/sdk/4.2.2/src/commands/iam/policy-associations/get-role-policies.d.ts.map +0 -1
- package/esm/deps/jsr.io/@flowcore/sdk/4.2.2/src/commands/iam/policy-associations/get-role-policies.js +0 -73
- package/esm/deps/jsr.io/@flowcore/sdk/4.2.2/src/commands/iam/policy-associations/get-user-policies.d.ts +0 -37
- package/esm/deps/jsr.io/@flowcore/sdk/4.2.2/src/commands/iam/policy-associations/get-user-policies.d.ts.map +0 -1
- package/esm/deps/jsr.io/@flowcore/sdk/4.2.2/src/commands/iam/policy-associations/get-user-policies.js +0 -45
- package/esm/deps/jsr.io/@flowcore/sdk/4.2.2/src/commands/iam/policy-associations/link-key-policy.d.ts +0 -53
- package/esm/deps/jsr.io/@flowcore/sdk/4.2.2/src/commands/iam/policy-associations/link-key-policy.d.ts.map +0 -1
- package/esm/deps/jsr.io/@flowcore/sdk/4.2.2/src/commands/iam/policy-associations/link-key-policy.js +0 -60
- package/esm/deps/jsr.io/@flowcore/sdk/4.2.2/src/commands/iam/policy-associations/link-role-policy.d.ts +0 -53
- package/esm/deps/jsr.io/@flowcore/sdk/4.2.2/src/commands/iam/policy-associations/link-role-policy.d.ts.map +0 -1
- package/esm/deps/jsr.io/@flowcore/sdk/4.2.2/src/commands/iam/policy-associations/link-role-policy.js +0 -60
- package/esm/deps/jsr.io/@flowcore/sdk/4.2.2/src/commands/iam/policy-associations/link-user-policy.d.ts +0 -53
- package/esm/deps/jsr.io/@flowcore/sdk/4.2.2/src/commands/iam/policy-associations/link-user-policy.d.ts.map +0 -1
- package/esm/deps/jsr.io/@flowcore/sdk/4.2.2/src/commands/iam/policy-associations/link-user-policy.js +0 -60
- package/esm/deps/jsr.io/@flowcore/sdk/4.2.2/src/commands/iam/policy-associations/unlink-key-policy.d.ts +0 -41
- package/esm/deps/jsr.io/@flowcore/sdk/4.2.2/src/commands/iam/policy-associations/unlink-key-policy.d.ts.map +0 -1
- package/esm/deps/jsr.io/@flowcore/sdk/4.2.2/src/commands/iam/policy-associations/unlink-key-policy.js +0 -52
- package/esm/deps/jsr.io/@flowcore/sdk/4.2.2/src/commands/iam/policy-associations/unlink-role-policy.d.ts +0 -41
- package/esm/deps/jsr.io/@flowcore/sdk/4.2.2/src/commands/iam/policy-associations/unlink-role-policy.d.ts.map +0 -1
- package/esm/deps/jsr.io/@flowcore/sdk/4.2.2/src/commands/iam/policy-associations/unlink-role-policy.js +0 -52
- package/esm/deps/jsr.io/@flowcore/sdk/4.2.2/src/commands/iam/policy-associations/unlink-user-policy.d.ts +0 -41
- package/esm/deps/jsr.io/@flowcore/sdk/4.2.2/src/commands/iam/policy-associations/unlink-user-policy.d.ts.map +0 -1
- package/esm/deps/jsr.io/@flowcore/sdk/4.2.2/src/commands/iam/policy-associations/unlink-user-policy.js +0 -52
- package/esm/deps/jsr.io/@flowcore/sdk/4.2.2/src/commands/iam/role-associations/get-key-roles.d.ts +0 -35
- package/esm/deps/jsr.io/@flowcore/sdk/4.2.2/src/commands/iam/role-associations/get-key-roles.d.ts.map +0 -1
- package/esm/deps/jsr.io/@flowcore/sdk/4.2.2/src/commands/iam/role-associations/get-key-roles.js +0 -45
- package/esm/deps/jsr.io/@flowcore/sdk/4.2.2/src/commands/iam/role-associations/get-organization-roles.d.ts +0 -35
- package/esm/deps/jsr.io/@flowcore/sdk/4.2.2/src/commands/iam/role-associations/get-organization-roles.d.ts.map +0 -1
- package/esm/deps/jsr.io/@flowcore/sdk/4.2.2/src/commands/iam/role-associations/get-organization-roles.js +0 -62
- package/esm/deps/jsr.io/@flowcore/sdk/4.2.2/src/commands/iam/role-associations/get-role-associations.d.ts +0 -70
- package/esm/deps/jsr.io/@flowcore/sdk/4.2.2/src/commands/iam/role-associations/get-role-associations.d.ts.map +0 -1
- package/esm/deps/jsr.io/@flowcore/sdk/4.2.2/src/commands/iam/role-associations/get-role-associations.js +0 -67
- package/esm/deps/jsr.io/@flowcore/sdk/4.2.2/src/commands/iam/role-associations/get-user-roles.d.ts +0 -37
- package/esm/deps/jsr.io/@flowcore/sdk/4.2.2/src/commands/iam/role-associations/get-user-roles.d.ts.map +0 -1
- package/esm/deps/jsr.io/@flowcore/sdk/4.2.2/src/commands/iam/role-associations/get-user-roles.js +0 -50
- package/esm/deps/jsr.io/@flowcore/sdk/4.2.2/src/commands/iam/role-associations/link-key-role.d.ts +0 -53
- package/esm/deps/jsr.io/@flowcore/sdk/4.2.2/src/commands/iam/role-associations/link-key-role.d.ts.map +0 -1
- package/esm/deps/jsr.io/@flowcore/sdk/4.2.2/src/commands/iam/role-associations/link-key-role.js +0 -60
- package/esm/deps/jsr.io/@flowcore/sdk/4.2.2/src/commands/iam/role-associations/link-user-role.d.ts +0 -53
- package/esm/deps/jsr.io/@flowcore/sdk/4.2.2/src/commands/iam/role-associations/link-user-role.d.ts.map +0 -1
- package/esm/deps/jsr.io/@flowcore/sdk/4.2.2/src/commands/iam/role-associations/link-user-role.js +0 -60
- package/esm/deps/jsr.io/@flowcore/sdk/4.2.2/src/commands/iam/role-associations/unlink-key-role.d.ts +0 -41
- package/esm/deps/jsr.io/@flowcore/sdk/4.2.2/src/commands/iam/role-associations/unlink-key-role.d.ts.map +0 -1
- package/esm/deps/jsr.io/@flowcore/sdk/4.2.2/src/commands/iam/role-associations/unlink-key-role.js +0 -52
- package/esm/deps/jsr.io/@flowcore/sdk/4.2.2/src/commands/iam/role-associations/unlink-user-role.d.ts +0 -41
- package/esm/deps/jsr.io/@flowcore/sdk/4.2.2/src/commands/iam/role-associations/unlink-user-role.d.ts.map +0 -1
- package/esm/deps/jsr.io/@flowcore/sdk/4.2.2/src/commands/iam/role-associations/unlink-user-role.js +0 -52
- package/esm/deps/jsr.io/@flowcore/sdk/4.2.2/src/commands/iam/roles/create-role.d.ts +0 -60
- package/esm/deps/jsr.io/@flowcore/sdk/4.2.2/src/commands/iam/roles/create-role.d.ts.map +0 -1
- package/esm/deps/jsr.io/@flowcore/sdk/4.2.2/src/commands/iam/roles/create-role.js +0 -64
- package/esm/deps/jsr.io/@flowcore/sdk/4.2.2/src/commands/iam/roles/get-roles.d.ts +0 -35
- package/esm/deps/jsr.io/@flowcore/sdk/4.2.2/src/commands/iam/roles/get-roles.d.ts.map +0 -1
- package/esm/deps/jsr.io/@flowcore/sdk/4.2.2/src/commands/iam/roles/get-roles.js +0 -45
- package/esm/deps/jsr.io/@flowcore/sdk/4.2.2/src/commands/iam/roles/id/archive-role.d.ts +0 -45
- package/esm/deps/jsr.io/@flowcore/sdk/4.2.2/src/commands/iam/roles/id/archive-role.d.ts.map +0 -1
- package/esm/deps/jsr.io/@flowcore/sdk/4.2.2/src/commands/iam/roles/id/archive-role.js +0 -50
- package/esm/deps/jsr.io/@flowcore/sdk/4.2.2/src/commands/iam/roles/id/get-role.d.ts +0 -35
- package/esm/deps/jsr.io/@flowcore/sdk/4.2.2/src/commands/iam/roles/id/get-role.d.ts.map +0 -1
- package/esm/deps/jsr.io/@flowcore/sdk/4.2.2/src/commands/iam/roles/id/get-role.js +0 -44
- package/esm/deps/jsr.io/@flowcore/sdk/4.2.2/src/commands/iam/roles/id/update-role.d.ts +0 -47
- package/esm/deps/jsr.io/@flowcore/sdk/4.2.2/src/commands/iam/roles/id/update-role.d.ts.map +0 -1
- package/esm/deps/jsr.io/@flowcore/sdk/4.2.2/src/commands/iam/roles/id/update-role.js +0 -55
- package/esm/deps/jsr.io/@flowcore/sdk/4.2.2/src/commands/iam/tenant/user-managed-roles.d.ts +0 -39
- package/esm/deps/jsr.io/@flowcore/sdk/4.2.2/src/commands/iam/tenant/user-managed-roles.d.ts.map +0 -1
- package/esm/deps/jsr.io/@flowcore/sdk/4.2.2/src/commands/iam/tenant/user-managed-roles.js +0 -37
- package/esm/deps/jsr.io/@flowcore/sdk/4.2.2/src/commands/iam/tenant-iam-audit/get-audit-for-tenant.d.ts +0 -88
- package/esm/deps/jsr.io/@flowcore/sdk/4.2.2/src/commands/iam/tenant-iam-audit/get-audit-for-tenant.d.ts.map +0 -1
- package/esm/deps/jsr.io/@flowcore/sdk/4.2.2/src/commands/iam/tenant-iam-audit/get-audit-for-tenant.js +0 -110
- package/esm/deps/jsr.io/@flowcore/sdk/4.2.2/src/commands/iam/validate/validate-key.d.ts +0 -43
- package/esm/deps/jsr.io/@flowcore/sdk/4.2.2/src/commands/iam/validate/validate-key.d.ts.map +0 -1
- package/esm/deps/jsr.io/@flowcore/sdk/4.2.2/src/commands/iam/validate/validate-key.js +0 -51
- package/esm/deps/jsr.io/@flowcore/sdk/4.2.2/src/commands/iam/validate/validate-user.d.ts +0 -77
- package/esm/deps/jsr.io/@flowcore/sdk/4.2.2/src/commands/iam/validate/validate-user.d.ts.map +0 -1
- package/esm/deps/jsr.io/@flowcore/sdk/4.2.2/src/commands/iam/validate/validate-user.js +0 -66
- package/esm/deps/jsr.io/@flowcore/sdk/4.2.2/src/commands/index.d.ts +0 -129
- package/esm/deps/jsr.io/@flowcore/sdk/4.2.2/src/commands/index.d.ts.map +0 -1
- package/esm/deps/jsr.io/@flowcore/sdk/4.2.2/src/commands/index.js +0 -147
- package/esm/deps/jsr.io/@flowcore/sdk/4.2.2/src/commands/ingestion/ingest.batch.d.ts +0 -43
- package/esm/deps/jsr.io/@flowcore/sdk/4.2.2/src/commands/ingestion/ingest.batch.d.ts.map +0 -1
- package/esm/deps/jsr.io/@flowcore/sdk/4.2.2/src/commands/ingestion/ingest.batch.js +0 -83
- package/esm/deps/jsr.io/@flowcore/sdk/4.2.2/src/commands/ingestion/ingest.event.d.ts +0 -40
- package/esm/deps/jsr.io/@flowcore/sdk/4.2.2/src/commands/ingestion/ingest.event.d.ts.map +0 -1
- package/esm/deps/jsr.io/@flowcore/sdk/4.2.2/src/commands/ingestion/ingest.event.js +0 -83
- package/esm/deps/jsr.io/@flowcore/sdk/4.2.2/src/commands/legacy-scenario/legacy-scenario-adapter.fetch-state.d.ts +0 -32
- package/esm/deps/jsr.io/@flowcore/sdk/4.2.2/src/commands/legacy-scenario/legacy-scenario-adapter.fetch-state.d.ts.map +0 -1
- package/esm/deps/jsr.io/@flowcore/sdk/4.2.2/src/commands/legacy-scenario/legacy-scenario-adapter.fetch-state.js +0 -50
- package/esm/deps/jsr.io/@flowcore/sdk/4.2.2/src/commands/legacy-scenario/legacy-scenario-adapter.restart.d.ts +0 -43
- package/esm/deps/jsr.io/@flowcore/sdk/4.2.2/src/commands/legacy-scenario/legacy-scenario-adapter.restart.d.ts.map +0 -1
- package/esm/deps/jsr.io/@flowcore/sdk/4.2.2/src/commands/legacy-scenario/legacy-scenario-adapter.restart.js +0 -58
- package/esm/deps/jsr.io/@flowcore/sdk/4.2.2/src/commands/legacy-scenario/legacy-scenario.delete.d.ts +0 -35
- package/esm/deps/jsr.io/@flowcore/sdk/4.2.2/src/commands/legacy-scenario/legacy-scenario.delete.d.ts.map +0 -1
- package/esm/deps/jsr.io/@flowcore/sdk/4.2.2/src/commands/legacy-scenario/legacy-scenario.delete.js +0 -53
- package/esm/deps/jsr.io/@flowcore/sdk/4.2.2/src/commands/legacy-scenario/legacy-scenario.fetch.d.ts +0 -23
- package/esm/deps/jsr.io/@flowcore/sdk/4.2.2/src/commands/legacy-scenario/legacy-scenario.fetch.d.ts.map +0 -1
- package/esm/deps/jsr.io/@flowcore/sdk/4.2.2/src/commands/legacy-scenario/legacy-scenario.fetch.js +0 -57
- package/esm/deps/jsr.io/@flowcore/sdk/4.2.2/src/commands/legacy-scenario/legacy-scenario.list.d.ts +0 -32
- package/esm/deps/jsr.io/@flowcore/sdk/4.2.2/src/commands/legacy-scenario/legacy-scenario.list.d.ts.map +0 -1
- package/esm/deps/jsr.io/@flowcore/sdk/4.2.2/src/commands/legacy-scenario/legacy-scenario.list.js +0 -59
- package/esm/deps/jsr.io/@flowcore/sdk/4.2.2/src/commands/scenario/scenario.create.d.ts +0 -41
- package/esm/deps/jsr.io/@flowcore/sdk/4.2.2/src/commands/scenario/scenario.create.d.ts.map +0 -1
- package/esm/deps/jsr.io/@flowcore/sdk/4.2.2/src/commands/scenario/scenario.create.js +0 -44
- package/esm/deps/jsr.io/@flowcore/sdk/4.2.2/src/commands/scenario/scenario.delete.d.ts +0 -37
- package/esm/deps/jsr.io/@flowcore/sdk/4.2.2/src/commands/scenario/scenario.delete.d.ts.map +0 -1
- package/esm/deps/jsr.io/@flowcore/sdk/4.2.2/src/commands/scenario/scenario.delete.js +0 -47
- package/esm/deps/jsr.io/@flowcore/sdk/4.2.2/src/commands/scenario/scenario.fetch.d.ts +0 -53
- package/esm/deps/jsr.io/@flowcore/sdk/4.2.2/src/commands/scenario/scenario.fetch.d.ts.map +0 -1
- package/esm/deps/jsr.io/@flowcore/sdk/4.2.2/src/commands/scenario/scenario.fetch.js +0 -68
- package/esm/deps/jsr.io/@flowcore/sdk/4.2.2/src/commands/scenario/scenario.list.d.ts +0 -44
- package/esm/deps/jsr.io/@flowcore/sdk/4.2.2/src/commands/scenario/scenario.list.d.ts.map +0 -1
- package/esm/deps/jsr.io/@flowcore/sdk/4.2.2/src/commands/scenario/scenario.list.js +0 -49
- package/esm/deps/jsr.io/@flowcore/sdk/4.2.2/src/commands/scenario/scenario.update.d.ts +0 -43
- package/esm/deps/jsr.io/@flowcore/sdk/4.2.2/src/commands/scenario/scenario.update.d.ts.map +0 -1
- package/esm/deps/jsr.io/@flowcore/sdk/4.2.2/src/commands/scenario/scenario.update.js +0 -53
- package/esm/deps/jsr.io/@flowcore/sdk/4.2.2/src/commands/secret/secret.create.d.ts +0 -45
- package/esm/deps/jsr.io/@flowcore/sdk/4.2.2/src/commands/secret/secret.create.d.ts.map +0 -1
- package/esm/deps/jsr.io/@flowcore/sdk/4.2.2/src/commands/secret/secret.create.js +0 -53
- package/esm/deps/jsr.io/@flowcore/sdk/4.2.2/src/commands/secret/secret.delete.d.ts +0 -40
- package/esm/deps/jsr.io/@flowcore/sdk/4.2.2/src/commands/secret/secret.delete.d.ts.map +0 -1
- package/esm/deps/jsr.io/@flowcore/sdk/4.2.2/src/commands/secret/secret.delete.js +0 -51
- package/esm/deps/jsr.io/@flowcore/sdk/4.2.2/src/commands/secret/secret.edit.d.ts +0 -45
- package/esm/deps/jsr.io/@flowcore/sdk/4.2.2/src/commands/secret/secret.edit.d.ts.map +0 -1
- package/esm/deps/jsr.io/@flowcore/sdk/4.2.2/src/commands/secret/secret.edit.js +0 -53
- package/esm/deps/jsr.io/@flowcore/sdk/4.2.2/src/commands/secret/secret.fetch.d.ts +0 -46
- package/esm/deps/jsr.io/@flowcore/sdk/4.2.2/src/commands/secret/secret.fetch.d.ts.map +0 -1
- package/esm/deps/jsr.io/@flowcore/sdk/4.2.2/src/commands/secret/secret.fetch.js +0 -63
- package/esm/deps/jsr.io/@flowcore/sdk/4.2.2/src/commands/secret/secret.list.d.ts +0 -39
- package/esm/deps/jsr.io/@flowcore/sdk/4.2.2/src/commands/secret/secret.list.d.ts.map +0 -1
- package/esm/deps/jsr.io/@flowcore/sdk/4.2.2/src/commands/secret/secret.list.js +0 -54
- package/esm/deps/jsr.io/@flowcore/sdk/4.2.2/src/commands/security/pat.create.d.ts +0 -37
- package/esm/deps/jsr.io/@flowcore/sdk/4.2.2/src/commands/security/pat.create.d.ts.map +0 -1
- package/esm/deps/jsr.io/@flowcore/sdk/4.2.2/src/commands/security/pat.create.js +0 -44
- package/esm/deps/jsr.io/@flowcore/sdk/4.2.2/src/commands/security/pat.delete.d.ts +0 -37
- package/esm/deps/jsr.io/@flowcore/sdk/4.2.2/src/commands/security/pat.delete.d.ts.map +0 -1
- package/esm/deps/jsr.io/@flowcore/sdk/4.2.2/src/commands/security/pat.delete.js +0 -46
- package/esm/deps/jsr.io/@flowcore/sdk/4.2.2/src/commands/security/pat.exchange.d.ts +0 -41
- package/esm/deps/jsr.io/@flowcore/sdk/4.2.2/src/commands/security/pat.exchange.d.ts.map +0 -1
- package/esm/deps/jsr.io/@flowcore/sdk/4.2.2/src/commands/security/pat.exchange.js +0 -51
- package/esm/deps/jsr.io/@flowcore/sdk/4.2.2/src/commands/security/pat.get.d.ts +0 -35
- package/esm/deps/jsr.io/@flowcore/sdk/4.2.2/src/commands/security/pat.get.d.ts.map +0 -1
- package/esm/deps/jsr.io/@flowcore/sdk/4.2.2/src/commands/security/pat.get.js +0 -44
- package/esm/deps/jsr.io/@flowcore/sdk/4.2.2/src/commands/security/pat.list.d.ts +0 -28
- package/esm/deps/jsr.io/@flowcore/sdk/4.2.2/src/commands/security/pat.list.d.ts.map +0 -1
- package/esm/deps/jsr.io/@flowcore/sdk/4.2.2/src/commands/security/pat.list.js +0 -45
- package/esm/deps/jsr.io/@flowcore/sdk/4.2.2/src/commands/security/permissions.list.d.ts +0 -31
- package/esm/deps/jsr.io/@flowcore/sdk/4.2.2/src/commands/security/permissions.list.d.ts.map +0 -1
- package/esm/deps/jsr.io/@flowcore/sdk/4.2.2/src/commands/security/permissions.list.js +0 -46
- package/esm/deps/jsr.io/@flowcore/sdk/4.2.2/src/commands/service-account/service-account.create.d.ts +0 -45
- package/esm/deps/jsr.io/@flowcore/sdk/4.2.2/src/commands/service-account/service-account.create.d.ts.map +0 -1
- package/esm/deps/jsr.io/@flowcore/sdk/4.2.2/src/commands/service-account/service-account.create.js +0 -53
- package/esm/deps/jsr.io/@flowcore/sdk/4.2.2/src/commands/service-account/service-account.delete.d.ts +0 -42
- package/esm/deps/jsr.io/@flowcore/sdk/4.2.2/src/commands/service-account/service-account.delete.d.ts.map +0 -1
- package/esm/deps/jsr.io/@flowcore/sdk/4.2.2/src/commands/service-account/service-account.delete.js +0 -57
- package/esm/deps/jsr.io/@flowcore/sdk/4.2.2/src/commands/service-account/service-account.edit.d.ts +0 -47
- package/esm/deps/jsr.io/@flowcore/sdk/4.2.2/src/commands/service-account/service-account.edit.d.ts.map +0 -1
- package/esm/deps/jsr.io/@flowcore/sdk/4.2.2/src/commands/service-account/service-account.edit.js +0 -62
- package/esm/deps/jsr.io/@flowcore/sdk/4.2.2/src/commands/service-account/service-account.fetch.d.ts +0 -44
- package/esm/deps/jsr.io/@flowcore/sdk/4.2.2/src/commands/service-account/service-account.fetch.d.ts.map +0 -1
- package/esm/deps/jsr.io/@flowcore/sdk/4.2.2/src/commands/service-account/service-account.fetch.js +0 -63
- package/esm/deps/jsr.io/@flowcore/sdk/4.2.2/src/commands/service-account/service-account.list.d.ts +0 -39
- package/esm/deps/jsr.io/@flowcore/sdk/4.2.2/src/commands/service-account/service-account.list.d.ts.map +0 -1
- package/esm/deps/jsr.io/@flowcore/sdk/4.2.2/src/commands/service-account/service-account.list.js +0 -57
- package/esm/deps/jsr.io/@flowcore/sdk/4.2.2/src/commands/service-account/service-account.rotate-secret.d.ts +0 -43
- package/esm/deps/jsr.io/@flowcore/sdk/4.2.2/src/commands/service-account/service-account.rotate-secret.d.ts.map +0 -1
- package/esm/deps/jsr.io/@flowcore/sdk/4.2.2/src/commands/service-account/service-account.rotate-secret.js +0 -59
- package/esm/deps/jsr.io/@flowcore/sdk/4.2.2/src/commands/tenant/tenant-instance.fetch.d.ts +0 -51
- package/esm/deps/jsr.io/@flowcore/sdk/4.2.2/src/commands/tenant/tenant-instance.fetch.d.ts.map +0 -1
- package/esm/deps/jsr.io/@flowcore/sdk/4.2.2/src/commands/tenant/tenant-instance.fetch.js +0 -47
- package/esm/deps/jsr.io/@flowcore/sdk/4.2.2/src/commands/tenant/tenant.create.d.ts +0 -43
- package/esm/deps/jsr.io/@flowcore/sdk/4.2.2/src/commands/tenant/tenant.create.d.ts.map +0 -1
- package/esm/deps/jsr.io/@flowcore/sdk/4.2.2/src/commands/tenant/tenant.create.js +0 -77
- package/esm/deps/jsr.io/@flowcore/sdk/4.2.2/src/commands/tenant/tenant.disable-sensitive-data.d.ts +0 -38
- package/esm/deps/jsr.io/@flowcore/sdk/4.2.2/src/commands/tenant/tenant.disable-sensitive-data.d.ts.map +0 -1
- package/esm/deps/jsr.io/@flowcore/sdk/4.2.2/src/commands/tenant/tenant.disable-sensitive-data.js +0 -51
- package/esm/deps/jsr.io/@flowcore/sdk/4.2.2/src/commands/tenant/tenant.enable-sensitive-data.d.ts +0 -38
- package/esm/deps/jsr.io/@flowcore/sdk/4.2.2/src/commands/tenant/tenant.enable-sensitive-data.d.ts.map +0 -1
- package/esm/deps/jsr.io/@flowcore/sdk/4.2.2/src/commands/tenant/tenant.enable-sensitive-data.js +0 -51
- package/esm/deps/jsr.io/@flowcore/sdk/4.2.2/src/commands/tenant/tenant.fetch.d.ts +0 -51
- package/esm/deps/jsr.io/@flowcore/sdk/4.2.2/src/commands/tenant/tenant.fetch.d.ts.map +0 -1
- package/esm/deps/jsr.io/@flowcore/sdk/4.2.2/src/commands/tenant/tenant.fetch.js +0 -67
- package/esm/deps/jsr.io/@flowcore/sdk/4.2.2/src/commands/tenant/tenant.list.d.ts +0 -24
- package/esm/deps/jsr.io/@flowcore/sdk/4.2.2/src/commands/tenant/tenant.list.d.ts.map +0 -1
- package/esm/deps/jsr.io/@flowcore/sdk/4.2.2/src/commands/tenant/tenant.list.js +0 -34
- package/esm/deps/jsr.io/@flowcore/sdk/4.2.2/src/commands/tenant/tenant.preview.d.ts +0 -36
- package/esm/deps/jsr.io/@flowcore/sdk/4.2.2/src/commands/tenant/tenant.preview.d.ts.map +0 -1
- package/esm/deps/jsr.io/@flowcore/sdk/4.2.2/src/commands/tenant/tenant.preview.js +0 -42
- package/esm/deps/jsr.io/@flowcore/sdk/4.2.2/src/commands/tenant/tenant.translate-name-to-id.d.ts +0 -44
- package/esm/deps/jsr.io/@flowcore/sdk/4.2.2/src/commands/tenant/tenant.translate-name-to-id.d.ts.map +0 -1
- package/esm/deps/jsr.io/@flowcore/sdk/4.2.2/src/commands/tenant/tenant.translate-name-to-id.js +0 -52
- package/esm/deps/jsr.io/@flowcore/sdk/4.2.2/src/commands/tenant/tenant.update.d.ts +0 -46
- package/esm/deps/jsr.io/@flowcore/sdk/4.2.2/src/commands/tenant/tenant.update.d.ts.map +0 -1
- package/esm/deps/jsr.io/@flowcore/sdk/4.2.2/src/commands/tenant/tenant.update.js +0 -77
- package/esm/deps/jsr.io/@flowcore/sdk/4.2.2/src/commands/tenant/tenant.user-add.d.ts +0 -30
- package/esm/deps/jsr.io/@flowcore/sdk/4.2.2/src/commands/tenant/tenant.user-add.d.ts.map +0 -1
- package/esm/deps/jsr.io/@flowcore/sdk/4.2.2/src/commands/tenant/tenant.user-add.js +0 -35
- package/esm/deps/jsr.io/@flowcore/sdk/4.2.2/src/commands/tenant/tenant.user-list-inner.d.ts +0 -30
- package/esm/deps/jsr.io/@flowcore/sdk/4.2.2/src/commands/tenant/tenant.user-list-inner.d.ts.map +0 -1
- package/esm/deps/jsr.io/@flowcore/sdk/4.2.2/src/commands/tenant/tenant.user-list-inner.js +0 -34
- package/esm/deps/jsr.io/@flowcore/sdk/4.2.2/src/commands/tenant/tenant.user-list.d.ts +0 -26
- package/esm/deps/jsr.io/@flowcore/sdk/4.2.2/src/commands/tenant/tenant.user-list.d.ts.map +0 -1
- package/esm/deps/jsr.io/@flowcore/sdk/4.2.2/src/commands/tenant/tenant.user-list.js +0 -27
- package/esm/deps/jsr.io/@flowcore/sdk/4.2.2/src/commands/tenant/tenant.user-remove.d.ts +0 -30
- package/esm/deps/jsr.io/@flowcore/sdk/4.2.2/src/commands/tenant/tenant.user-remove.d.ts.map +0 -1
- package/esm/deps/jsr.io/@flowcore/sdk/4.2.2/src/commands/tenant/tenant.user-remove.js +0 -35
- package/esm/deps/jsr.io/@flowcore/sdk/4.2.2/src/commands/user/user.delete.d.ts +0 -41
- package/esm/deps/jsr.io/@flowcore/sdk/4.2.2/src/commands/user/user.delete.d.ts.map +0 -1
- package/esm/deps/jsr.io/@flowcore/sdk/4.2.2/src/commands/user/user.delete.js +0 -48
- package/esm/deps/jsr.io/@flowcore/sdk/4.2.2/src/commands/user/user.initialize-in-keycloak.d.ts +0 -53
- package/esm/deps/jsr.io/@flowcore/sdk/4.2.2/src/commands/user/user.initialize-in-keycloak.d.ts.map +0 -1
- package/esm/deps/jsr.io/@flowcore/sdk/4.2.2/src/commands/user/user.initialize-in-keycloak.js +0 -63
- package/esm/deps/jsr.io/@flowcore/sdk/4.2.2/src/commands/user/user.invite-to-tenant.d.ts +0 -49
- package/esm/deps/jsr.io/@flowcore/sdk/4.2.2/src/commands/user/user.invite-to-tenant.d.ts.map +0 -1
- package/esm/deps/jsr.io/@flowcore/sdk/4.2.2/src/commands/user/user.invite-to-tenant.js +0 -59
- package/esm/deps/jsr.io/@flowcore/sdk/4.2.2/src/commands/variable/variable.create.d.ts +0 -45
- package/esm/deps/jsr.io/@flowcore/sdk/4.2.2/src/commands/variable/variable.create.d.ts.map +0 -1
- package/esm/deps/jsr.io/@flowcore/sdk/4.2.2/src/commands/variable/variable.create.js +0 -53
- package/esm/deps/jsr.io/@flowcore/sdk/4.2.2/src/commands/variable/variable.delete.d.ts +0 -40
- package/esm/deps/jsr.io/@flowcore/sdk/4.2.2/src/commands/variable/variable.delete.d.ts.map +0 -1
- package/esm/deps/jsr.io/@flowcore/sdk/4.2.2/src/commands/variable/variable.delete.js +0 -51
- package/esm/deps/jsr.io/@flowcore/sdk/4.2.2/src/commands/variable/variable.edit.d.ts +0 -45
- package/esm/deps/jsr.io/@flowcore/sdk/4.2.2/src/commands/variable/variable.edit.d.ts.map +0 -1
- package/esm/deps/jsr.io/@flowcore/sdk/4.2.2/src/commands/variable/variable.edit.js +0 -53
- package/esm/deps/jsr.io/@flowcore/sdk/4.2.2/src/commands/variable/variable.fetch.d.ts +0 -46
- package/esm/deps/jsr.io/@flowcore/sdk/4.2.2/src/commands/variable/variable.fetch.d.ts.map +0 -1
- package/esm/deps/jsr.io/@flowcore/sdk/4.2.2/src/commands/variable/variable.fetch.js +0 -63
- package/esm/deps/jsr.io/@flowcore/sdk/4.2.2/src/commands/variable/variable.list.d.ts +0 -39
- package/esm/deps/jsr.io/@flowcore/sdk/4.2.2/src/commands/variable/variable.list.d.ts.map +0 -1
- package/esm/deps/jsr.io/@flowcore/sdk/4.2.2/src/commands/variable/variable.list.js +0 -54
- package/esm/deps/jsr.io/@flowcore/sdk/4.2.2/src/common/command-custom.d.ts +0 -36
- package/esm/deps/jsr.io/@flowcore/sdk/4.2.2/src/common/command-custom.d.ts.map +0 -1
- package/esm/deps/jsr.io/@flowcore/sdk/4.2.2/src/common/command-custom.js +0 -28
- package/esm/deps/jsr.io/@flowcore/sdk/4.2.2/src/common/command-graphql.d.ts +0 -19
- package/esm/deps/jsr.io/@flowcore/sdk/4.2.2/src/common/command-graphql.d.ts.map +0 -1
- package/esm/deps/jsr.io/@flowcore/sdk/4.2.2/src/common/command-graphql.js +0 -30
- package/esm/deps/jsr.io/@flowcore/sdk/4.2.2/src/common/command.d.ts +0 -94
- package/esm/deps/jsr.io/@flowcore/sdk/4.2.2/src/common/command.d.ts.map +0 -1
- package/esm/deps/jsr.io/@flowcore/sdk/4.2.2/src/common/command.js +0 -153
- package/esm/deps/jsr.io/@flowcore/sdk/4.2.2/src/common/flowcore-client.d.ts +0 -73
- package/esm/deps/jsr.io/@flowcore/sdk/4.2.2/src/common/flowcore-client.d.ts.map +0 -1
- package/esm/deps/jsr.io/@flowcore/sdk/4.2.2/src/common/flowcore-client.js +0 -178
- package/esm/deps/jsr.io/@flowcore/sdk/4.2.2/src/common/notification-client.d.ts +0 -99
- package/esm/deps/jsr.io/@flowcore/sdk/4.2.2/src/common/notification-client.d.ts.map +0 -1
- package/esm/deps/jsr.io/@flowcore/sdk/4.2.2/src/common/notification-client.js +0 -261
- package/esm/deps/jsr.io/@flowcore/sdk/4.2.2/src/common/tenant.cache.d.ts +0 -11
- package/esm/deps/jsr.io/@flowcore/sdk/4.2.2/src/common/tenant.cache.d.ts.map +0 -1
- package/esm/deps/jsr.io/@flowcore/sdk/4.2.2/src/common/tenant.cache.js +0 -2
- package/esm/deps/jsr.io/@flowcore/sdk/4.2.2/src/common/websocket-client.d.ts +0 -109
- package/esm/deps/jsr.io/@flowcore/sdk/4.2.2/src/common/websocket-client.d.ts.map +0 -1
- package/esm/deps/jsr.io/@flowcore/sdk/4.2.2/src/common/websocket-client.js +0 -407
- package/esm/deps/jsr.io/@flowcore/sdk/4.2.2/src/common/websocket-command.d.ts +0 -54
- package/esm/deps/jsr.io/@flowcore/sdk/4.2.2/src/common/websocket-command.d.ts.map +0 -1
- package/esm/deps/jsr.io/@flowcore/sdk/4.2.2/src/common/websocket-command.js +0 -1
- package/esm/deps/jsr.io/@flowcore/sdk/4.2.2/src/contracts/ai-agent-coordinator-stream.d.ts +0 -101
- package/esm/deps/jsr.io/@flowcore/sdk/4.2.2/src/contracts/ai-agent-coordinator-stream.d.ts.map +0 -1
- package/esm/deps/jsr.io/@flowcore/sdk/4.2.2/src/contracts/ai-agent-coordinator-stream.js +0 -1
- package/esm/deps/jsr.io/@flowcore/sdk/4.2.2/src/contracts/ai-agent-coordinator.d.ts +0 -41
- package/esm/deps/jsr.io/@flowcore/sdk/4.2.2/src/contracts/ai-agent-coordinator.d.ts.map +0 -1
- package/esm/deps/jsr.io/@flowcore/sdk/4.2.2/src/contracts/ai-agent-coordinator.js +0 -1
- package/esm/deps/jsr.io/@flowcore/sdk/4.2.2/src/contracts/api-key.d.ts +0 -47
- package/esm/deps/jsr.io/@flowcore/sdk/4.2.2/src/contracts/api-key.d.ts.map +0 -1
- package/esm/deps/jsr.io/@flowcore/sdk/4.2.2/src/contracts/api-key.js +0 -34
- package/esm/deps/jsr.io/@flowcore/sdk/4.2.2/src/contracts/aws-marketplace.d.ts +0 -115
- package/esm/deps/jsr.io/@flowcore/sdk/4.2.2/src/contracts/aws-marketplace.d.ts.map +0 -1
- package/esm/deps/jsr.io/@flowcore/sdk/4.2.2/src/contracts/aws-marketplace.js +0 -81
- package/esm/deps/jsr.io/@flowcore/sdk/4.2.2/src/contracts/container.d.ts +0 -23
- package/esm/deps/jsr.io/@flowcore/sdk/4.2.2/src/contracts/container.d.ts.map +0 -1
- package/esm/deps/jsr.io/@flowcore/sdk/4.2.2/src/contracts/container.js +0 -18
- package/esm/deps/jsr.io/@flowcore/sdk/4.2.2/src/contracts/data-core.d.ts +0 -39
- package/esm/deps/jsr.io/@flowcore/sdk/4.2.2/src/contracts/data-core.d.ts.map +0 -1
- package/esm/deps/jsr.io/@flowcore/sdk/4.2.2/src/contracts/data-core.js +0 -31
- package/esm/deps/jsr.io/@flowcore/sdk/4.2.2/src/contracts/data-pathways.d.ts +0 -365
- package/esm/deps/jsr.io/@flowcore/sdk/4.2.2/src/contracts/data-pathways.d.ts.map +0 -1
- package/esm/deps/jsr.io/@flowcore/sdk/4.2.2/src/contracts/data-pathways.js +0 -357
- package/esm/deps/jsr.io/@flowcore/sdk/4.2.2/src/contracts/event-type.d.ts +0 -174
- package/esm/deps/jsr.io/@flowcore/sdk/4.2.2/src/contracts/event-type.d.ts.map +0 -1
- package/esm/deps/jsr.io/@flowcore/sdk/4.2.2/src/contracts/event-type.js +0 -150
- package/esm/deps/jsr.io/@flowcore/sdk/4.2.2/src/contracts/event.d.ts +0 -47
- package/esm/deps/jsr.io/@flowcore/sdk/4.2.2/src/contracts/event.d.ts.map +0 -1
- package/esm/deps/jsr.io/@flowcore/sdk/4.2.2/src/contracts/event.js +0 -15
- package/esm/deps/jsr.io/@flowcore/sdk/4.2.2/src/contracts/flow-type.d.ts +0 -17
- package/esm/deps/jsr.io/@flowcore/sdk/4.2.2/src/contracts/flow-type.d.ts.map +0 -1
- package/esm/deps/jsr.io/@flowcore/sdk/4.2.2/src/contracts/flow-type.js +0 -12
- package/esm/deps/jsr.io/@flowcore/sdk/4.2.2/src/contracts/index.d.ts +0 -17
- package/esm/deps/jsr.io/@flowcore/sdk/4.2.2/src/contracts/index.d.ts.map +0 -1
- package/esm/deps/jsr.io/@flowcore/sdk/4.2.2/src/contracts/index.js +0 -3
- package/esm/deps/jsr.io/@flowcore/sdk/4.2.2/src/contracts/legacy-scenario.d.ts +0 -108
- package/esm/deps/jsr.io/@flowcore/sdk/4.2.2/src/contracts/legacy-scenario.d.ts.map +0 -1
- package/esm/deps/jsr.io/@flowcore/sdk/4.2.2/src/contracts/legacy-scenario.js +0 -111
- package/esm/deps/jsr.io/@flowcore/sdk/4.2.2/src/contracts/pat.d.ts +0 -16
- package/esm/deps/jsr.io/@flowcore/sdk/4.2.2/src/contracts/pat.d.ts.map +0 -1
- package/esm/deps/jsr.io/@flowcore/sdk/4.2.2/src/contracts/pat.js +0 -11
- package/esm/deps/jsr.io/@flowcore/sdk/4.2.2/src/contracts/permission.d.ts +0 -22
- package/esm/deps/jsr.io/@flowcore/sdk/4.2.2/src/contracts/permission.d.ts.map +0 -1
- package/esm/deps/jsr.io/@flowcore/sdk/4.2.2/src/contracts/permission.js +0 -17
- package/esm/deps/jsr.io/@flowcore/sdk/4.2.2/src/contracts/scenario.d.ts +0 -18
- package/esm/deps/jsr.io/@flowcore/sdk/4.2.2/src/contracts/scenario.d.ts.map +0 -1
- package/esm/deps/jsr.io/@flowcore/sdk/4.2.2/src/contracts/scenario.js +0 -20
- package/esm/deps/jsr.io/@flowcore/sdk/4.2.2/src/contracts/secret.d.ts +0 -16
- package/esm/deps/jsr.io/@flowcore/sdk/4.2.2/src/contracts/secret.d.ts.map +0 -1
- package/esm/deps/jsr.io/@flowcore/sdk/4.2.2/src/contracts/secret.js +0 -11
- package/esm/deps/jsr.io/@flowcore/sdk/4.2.2/src/contracts/service-account.d.ts +0 -55
- package/esm/deps/jsr.io/@flowcore/sdk/4.2.2/src/contracts/service-account.d.ts.map +0 -1
- package/esm/deps/jsr.io/@flowcore/sdk/4.2.2/src/contracts/service-account.js +0 -42
- package/esm/deps/jsr.io/@flowcore/sdk/4.2.2/src/contracts/tenant.d.ts +0 -100
- package/esm/deps/jsr.io/@flowcore/sdk/4.2.2/src/contracts/tenant.d.ts.map +0 -1
- package/esm/deps/jsr.io/@flowcore/sdk/4.2.2/src/contracts/tenant.js +0 -73
- package/esm/deps/jsr.io/@flowcore/sdk/4.2.2/src/contracts/variable.d.ts +0 -17
- package/esm/deps/jsr.io/@flowcore/sdk/4.2.2/src/contracts/variable.d.ts.map +0 -1
- package/esm/deps/jsr.io/@flowcore/sdk/4.2.2/src/contracts/variable.js +0 -12
- package/esm/deps/jsr.io/@flowcore/sdk/4.2.2/src/exceptions/client-error.d.ts +0 -10
- package/esm/deps/jsr.io/@flowcore/sdk/4.2.2/src/exceptions/client-error.d.ts.map +0 -1
- package/esm/deps/jsr.io/@flowcore/sdk/4.2.2/src/exceptions/client-error.js +0 -26
- package/esm/deps/jsr.io/@flowcore/sdk/4.2.2/src/exceptions/command-error.d.ts +0 -7
- package/esm/deps/jsr.io/@flowcore/sdk/4.2.2/src/exceptions/command-error.d.ts.map +0 -1
- package/esm/deps/jsr.io/@flowcore/sdk/4.2.2/src/exceptions/command-error.js +0 -8
- package/esm/deps/jsr.io/@flowcore/sdk/4.2.2/src/exceptions/index.d.ts +0 -5
- package/esm/deps/jsr.io/@flowcore/sdk/4.2.2/src/exceptions/index.d.ts.map +0 -1
- package/esm/deps/jsr.io/@flowcore/sdk/4.2.2/src/exceptions/index.js +0 -4
- package/esm/deps/jsr.io/@flowcore/sdk/4.2.2/src/exceptions/invalid-response.d.ts +0 -8
- package/esm/deps/jsr.io/@flowcore/sdk/4.2.2/src/exceptions/invalid-response.d.ts.map +0 -1
- package/esm/deps/jsr.io/@flowcore/sdk/4.2.2/src/exceptions/invalid-response.js +0 -16
- package/esm/deps/jsr.io/@flowcore/sdk/4.2.2/src/exceptions/not-found.d.ts +0 -7
- package/esm/deps/jsr.io/@flowcore/sdk/4.2.2/src/exceptions/not-found.d.ts.map +0 -1
- package/esm/deps/jsr.io/@flowcore/sdk/4.2.2/src/exceptions/not-found.js +0 -8
- package/esm/deps/jsr.io/@flowcore/sdk/4.2.2/src/mod.d.ts +0 -14
- package/esm/deps/jsr.io/@flowcore/sdk/4.2.2/src/mod.d.ts.map +0 -1
- package/esm/deps/jsr.io/@flowcore/sdk/4.2.2/src/mod.js +0 -13
- package/esm/deps/jsr.io/@flowcore/sdk/4.2.2/src/utils/local-cache.d.ts +0 -11
- package/esm/deps/jsr.io/@flowcore/sdk/4.2.2/src/utils/local-cache.d.ts.map +0 -1
- package/esm/deps/jsr.io/@flowcore/sdk/4.2.2/src/utils/local-cache.js +0 -45
- package/esm/deps/jsr.io/@flowcore/sdk/4.2.2/src/utils/logger.d.ts +0 -8
- package/esm/deps/jsr.io/@flowcore/sdk/4.2.2/src/utils/logger.d.ts.map +0 -1
- package/esm/deps/jsr.io/@flowcore/sdk/4.2.2/src/utils/logger.js +0 -14
- package/esm/deps/jsr.io/@flowcore/sdk/4.2.2/src/utils/parse-response-helper.d.ts +0 -6
- package/esm/deps/jsr.io/@flowcore/sdk/4.2.2/src/utils/parse-response-helper.d.ts.map +0 -1
- package/esm/deps/jsr.io/@flowcore/sdk/4.2.2/src/utils/parse-response-helper.js +0 -16
- package/esm/deps/jsr.io/@flowcore/sdk/4.2.2/src/utils/try-catch.d.ts +0 -12
- package/esm/deps/jsr.io/@flowcore/sdk/4.2.2/src/utils/try-catch.d.ts.map +0 -1
- package/esm/deps/jsr.io/@flowcore/sdk/4.2.2/src/utils/try-catch.js +0 -10
- package/esm/deps/jsr.io/@flowcore/time-uuid/0.1.2/src/lib/time-uuid.d.ts +0 -87
- package/esm/deps/jsr.io/@flowcore/time-uuid/0.1.2/src/lib/time-uuid.d.ts.map +0 -1
- package/esm/deps/jsr.io/@flowcore/time-uuid/0.1.2/src/lib/time-uuid.js +0 -260
- package/esm/deps/jsr.io/@flowcore/time-uuid/0.1.2/src/lib/uuid.d.ts +0 -51
- package/esm/deps/jsr.io/@flowcore/time-uuid/0.1.2/src/lib/uuid.d.ts.map +0 -1
- package/esm/deps/jsr.io/@flowcore/time-uuid/0.1.2/src/lib/uuid.js +0 -131
- package/esm/deps/jsr.io/@flowcore/time-uuid/0.1.2/src/mod.d.ts +0 -3
- package/esm/deps/jsr.io/@flowcore/time-uuid/0.1.2/src/mod.d.ts.map +0 -1
- package/esm/deps/jsr.io/@flowcore/time-uuid/0.1.2/src/mod.js +0 -2
- package/esm/mod.d.ts +0 -12
- package/esm/mod.d.ts.map +0 -1
- package/esm/mod.js +0 -11
- package/esm/package.json +0 -3
- package/script/_dnt.polyfills.d.ts +0 -50
- package/script/_dnt.polyfills.d.ts.map +0 -1
- package/script/_dnt.polyfills.js +0 -38
- package/script/_dnt.shims.d.ts +0 -9
- package/script/_dnt.shims.d.ts.map +0 -1
- package/script/_dnt.shims.js +0 -72
- package/script/data-pump/data-pump-cluster.d.ts +0 -91
- package/script/data-pump/data-pump-cluster.d.ts.map +0 -1
- package/script/data-pump/data-pump-cluster.js +0 -699
- package/script/data-pump/data-pump.d.ts +0 -95
- package/script/data-pump/data-pump.d.ts.map +0 -1
- package/script/data-pump/data-pump.js +0 -642
- package/script/data-pump/data-source.d.ts +0 -116
- package/script/data-pump/data-source.d.ts.map +0 -1
- package/script/data-pump/data-source.js +0 -271
- package/script/data-pump/flowcore-client.d.ts +0 -8
- package/script/data-pump/flowcore-client.d.ts.map +0 -1
- package/script/data-pump/flowcore-client.js +0 -24
- package/script/data-pump/metrics.d.ts +0 -19
- package/script/data-pump/metrics.d.ts.map +0 -1
- package/script/data-pump/metrics.js +0 -114
- package/script/data-pump/nats-connection.d.ts +0 -13
- package/script/data-pump/nats-connection.d.ts.map +0 -1
- package/script/data-pump/nats-connection.js +0 -85
- package/script/data-pump/nats-distribution.d.ts +0 -34
- package/script/data-pump/nats-distribution.d.ts.map +0 -1
- package/script/data-pump/nats-distribution.js +0 -154
- package/script/data-pump/no-op-logger.d.ts +0 -3
- package/script/data-pump/no-op-logger.d.ts.map +0 -1
- package/script/data-pump/no-op-logger.js +0 -9
- package/script/data-pump/notifier.d.ts +0 -42
- package/script/data-pump/notifier.d.ts.map +0 -1
- package/script/data-pump/notifier.js +0 -202
- package/script/data-pump/pulse.d.ts +0 -46
- package/script/data-pump/pulse.d.ts.map +0 -1
- package/script/data-pump/pulse.js +0 -132
- package/script/data-pump/types.d.ts +0 -49
- package/script/data-pump/types.d.ts.map +0 -1
- package/script/data-pump/types.js +0 -2
- package/script/data-pump/ws-protocol.d.ts +0 -63
- package/script/data-pump/ws-protocol.d.ts.map +0 -1
- package/script/data-pump/ws-protocol.js +0 -210
- package/script/deps/jsr.io/@flowcore/sdk/4.2.2/src/commands/adapter/reset-adapter.d.ts +0 -52
- package/script/deps/jsr.io/@flowcore/sdk/4.2.2/src/commands/adapter/reset-adapter.d.ts.map +0 -1
- package/script/deps/jsr.io/@flowcore/sdk/4.2.2/src/commands/adapter/reset-adapter.js +0 -55
- package/script/deps/jsr.io/@flowcore/sdk/4.2.2/src/commands/ai-agent-coordinator/artifact-get.command.d.ts +0 -22
- package/script/deps/jsr.io/@flowcore/sdk/4.2.2/src/commands/ai-agent-coordinator/artifact-get.command.d.ts.map +0 -1
- package/script/deps/jsr.io/@flowcore/sdk/4.2.2/src/commands/ai-agent-coordinator/artifact-get.command.js +0 -56
- package/script/deps/jsr.io/@flowcore/sdk/4.2.2/src/commands/ai-agent-coordinator/context-add-item.command.d.ts +0 -27
- package/script/deps/jsr.io/@flowcore/sdk/4.2.2/src/commands/ai-agent-coordinator/context-add-item.command.d.ts.map +0 -1
- package/script/deps/jsr.io/@flowcore/sdk/4.2.2/src/commands/ai-agent-coordinator/context-add-item.command.js +0 -38
- package/script/deps/jsr.io/@flowcore/sdk/4.2.2/src/commands/ai-agent-coordinator/context-remove-item.command.d.ts +0 -27
- package/script/deps/jsr.io/@flowcore/sdk/4.2.2/src/commands/ai-agent-coordinator/context-remove-item.command.d.ts.map +0 -1
- package/script/deps/jsr.io/@flowcore/sdk/4.2.2/src/commands/ai-agent-coordinator/context-remove-item.command.js +0 -36
- package/script/deps/jsr.io/@flowcore/sdk/4.2.2/src/commands/ai-agent-coordinator/conversation-delete.command.d.ts +0 -24
- package/script/deps/jsr.io/@flowcore/sdk/4.2.2/src/commands/ai-agent-coordinator/conversation-delete.command.d.ts.map +0 -1
- package/script/deps/jsr.io/@flowcore/sdk/4.2.2/src/commands/ai-agent-coordinator/conversation-delete.command.js +0 -34
- package/script/deps/jsr.io/@flowcore/sdk/4.2.2/src/commands/ai-agent-coordinator/conversation-get.command.d.ts +0 -26
- package/script/deps/jsr.io/@flowcore/sdk/4.2.2/src/commands/ai-agent-coordinator/conversation-get.command.d.ts.map +0 -1
- package/script/deps/jsr.io/@flowcore/sdk/4.2.2/src/commands/ai-agent-coordinator/conversation-get.command.js +0 -40
- package/script/deps/jsr.io/@flowcore/sdk/4.2.2/src/commands/ai-agent-coordinator/conversation-list.command.d.ts +0 -22
- package/script/deps/jsr.io/@flowcore/sdk/4.2.2/src/commands/ai-agent-coordinator/conversation-list.command.d.ts.map +0 -1
- package/script/deps/jsr.io/@flowcore/sdk/4.2.2/src/commands/ai-agent-coordinator/conversation-list.command.js +0 -33
- package/script/deps/jsr.io/@flowcore/sdk/4.2.2/src/commands/ai-agent-coordinator/conversation-stream.command.d.ts +0 -30
- package/script/deps/jsr.io/@flowcore/sdk/4.2.2/src/commands/ai-agent-coordinator/conversation-stream.command.d.ts.map +0 -1
- package/script/deps/jsr.io/@flowcore/sdk/4.2.2/src/commands/ai-agent-coordinator/conversation-stream.command.js +0 -43
- package/script/deps/jsr.io/@flowcore/sdk/4.2.2/src/commands/ai-agent-coordinator/mod.d.ts +0 -8
- package/script/deps/jsr.io/@flowcore/sdk/4.2.2/src/commands/ai-agent-coordinator/mod.d.ts.map +0 -1
- package/script/deps/jsr.io/@flowcore/sdk/4.2.2/src/commands/ai-agent-coordinator/mod.js +0 -23
- package/script/deps/jsr.io/@flowcore/sdk/4.2.2/src/commands/api-key/api-key.create.d.ts +0 -43
- package/script/deps/jsr.io/@flowcore/sdk/4.2.2/src/commands/api-key/api-key.create.d.ts.map +0 -1
- package/script/deps/jsr.io/@flowcore/sdk/4.2.2/src/commands/api-key/api-key.create.js +0 -57
- package/script/deps/jsr.io/@flowcore/sdk/4.2.2/src/commands/api-key/api-key.delete.d.ts +0 -38
- package/script/deps/jsr.io/@flowcore/sdk/4.2.2/src/commands/api-key/api-key.delete.d.ts.map +0 -1
- package/script/deps/jsr.io/@flowcore/sdk/4.2.2/src/commands/api-key/api-key.delete.js +0 -55
- package/script/deps/jsr.io/@flowcore/sdk/4.2.2/src/commands/api-key/api-key.edit.d.ts +0 -41
- package/script/deps/jsr.io/@flowcore/sdk/4.2.2/src/commands/api-key/api-key.edit.d.ts.map +0 -1
- package/script/deps/jsr.io/@flowcore/sdk/4.2.2/src/commands/api-key/api-key.edit.js +0 -57
- package/script/deps/jsr.io/@flowcore/sdk/4.2.2/src/commands/api-key/api-key.fetch.d.ts +0 -44
- package/script/deps/jsr.io/@flowcore/sdk/4.2.2/src/commands/api-key/api-key.fetch.d.ts.map +0 -1
- package/script/deps/jsr.io/@flowcore/sdk/4.2.2/src/commands/api-key/api-key.fetch.js +0 -67
- package/script/deps/jsr.io/@flowcore/sdk/4.2.2/src/commands/api-key/api-key.list.d.ts +0 -39
- package/script/deps/jsr.io/@flowcore/sdk/4.2.2/src/commands/api-key/api-key.list.d.ts.map +0 -1
- package/script/deps/jsr.io/@flowcore/sdk/4.2.2/src/commands/api-key/api-key.list.js +0 -58
- package/script/deps/jsr.io/@flowcore/sdk/4.2.2/src/commands/api-key/api-key.validate-with-tenant-id.d.ts +0 -37
- package/script/deps/jsr.io/@flowcore/sdk/4.2.2/src/commands/api-key/api-key.validate-with-tenant-id.d.ts.map +0 -1
- package/script/deps/jsr.io/@flowcore/sdk/4.2.2/src/commands/api-key/api-key.validate-with-tenant-id.js +0 -48
- package/script/deps/jsr.io/@flowcore/sdk/4.2.2/src/commands/api-key/api-key.validate.d.ts +0 -35
- package/script/deps/jsr.io/@flowcore/sdk/4.2.2/src/commands/api-key/api-key.validate.d.ts.map +0 -1
- package/script/deps/jsr.io/@flowcore/sdk/4.2.2/src/commands/api-key/api-key.validate.js +0 -48
- package/script/deps/jsr.io/@flowcore/sdk/4.2.2/src/commands/aws-marketplace/aws-marketplace-customer.resolve.d.ts +0 -35
- package/script/deps/jsr.io/@flowcore/sdk/4.2.2/src/commands/aws-marketplace/aws-marketplace-customer.resolve.d.ts.map +0 -1
- package/script/deps/jsr.io/@flowcore/sdk/4.2.2/src/commands/aws-marketplace/aws-marketplace-customer.resolve.js +0 -48
- package/script/deps/jsr.io/@flowcore/sdk/4.2.2/src/commands/aws-marketplace/aws-marketplace-link.create.d.ts +0 -50
- package/script/deps/jsr.io/@flowcore/sdk/4.2.2/src/commands/aws-marketplace/aws-marketplace-link.create.d.ts.map +0 -1
- package/script/deps/jsr.io/@flowcore/sdk/4.2.2/src/commands/aws-marketplace/aws-marketplace-link.create.js +0 -57
- package/script/deps/jsr.io/@flowcore/sdk/4.2.2/src/commands/aws-marketplace/aws-marketplace-link.delete.d.ts +0 -45
- package/script/deps/jsr.io/@flowcore/sdk/4.2.2/src/commands/aws-marketplace/aws-marketplace-link.delete.d.ts.map +0 -1
- package/script/deps/jsr.io/@flowcore/sdk/4.2.2/src/commands/aws-marketplace/aws-marketplace-link.delete.js +0 -67
- package/script/deps/jsr.io/@flowcore/sdk/4.2.2/src/commands/aws-marketplace/aws-marketplace-link.fetch.d.ts +0 -39
- package/script/deps/jsr.io/@flowcore/sdk/4.2.2/src/commands/aws-marketplace/aws-marketplace-link.fetch.d.ts.map +0 -1
- package/script/deps/jsr.io/@flowcore/sdk/4.2.2/src/commands/aws-marketplace/aws-marketplace-link.fetch.js +0 -57
- package/script/deps/jsr.io/@flowcore/sdk/4.2.2/src/commands/aws-marketplace/aws-marketplace-link.list.d.ts +0 -45
- package/script/deps/jsr.io/@flowcore/sdk/4.2.2/src/commands/aws-marketplace/aws-marketplace-link.list.d.ts.map +0 -1
- package/script/deps/jsr.io/@flowcore/sdk/4.2.2/src/commands/aws-marketplace/aws-marketplace-link.list.js +0 -66
- package/script/deps/jsr.io/@flowcore/sdk/4.2.2/src/commands/container-registry/container-registry.create.d.ts +0 -39
- package/script/deps/jsr.io/@flowcore/sdk/4.2.2/src/commands/container-registry/container-registry.create.d.ts.map +0 -1
- package/script/deps/jsr.io/@flowcore/sdk/4.2.2/src/commands/container-registry/container-registry.create.js +0 -33
- package/script/deps/jsr.io/@flowcore/sdk/4.2.2/src/commands/container-registry/container-registry.delete.d.ts +0 -22
- package/script/deps/jsr.io/@flowcore/sdk/4.2.2/src/commands/container-registry/container-registry.delete.d.ts.map +0 -1
- package/script/deps/jsr.io/@flowcore/sdk/4.2.2/src/commands/container-registry/container-registry.delete.js +0 -30
- package/script/deps/jsr.io/@flowcore/sdk/4.2.2/src/commands/container-registry/container-registry.fetch.d.ts +0 -22
- package/script/deps/jsr.io/@flowcore/sdk/4.2.2/src/commands/container-registry/container-registry.fetch.d.ts.map +0 -1
- package/script/deps/jsr.io/@flowcore/sdk/4.2.2/src/commands/container-registry/container-registry.fetch.js +0 -30
- package/script/deps/jsr.io/@flowcore/sdk/4.2.2/src/commands/container-registry/container-registry.list.d.ts +0 -22
- package/script/deps/jsr.io/@flowcore/sdk/4.2.2/src/commands/container-registry/container-registry.list.d.ts.map +0 -1
- package/script/deps/jsr.io/@flowcore/sdk/4.2.2/src/commands/container-registry/container-registry.list.js +0 -30
- package/script/deps/jsr.io/@flowcore/sdk/4.2.2/src/commands/container-registry/container-registry.update.d.ts +0 -33
- package/script/deps/jsr.io/@flowcore/sdk/4.2.2/src/commands/container-registry/container-registry.update.d.ts.map +0 -1
- package/script/deps/jsr.io/@flowcore/sdk/4.2.2/src/commands/container-registry/container-registry.update.js +0 -30
- package/script/deps/jsr.io/@flowcore/sdk/4.2.2/src/commands/data-core/data-core.create.d.ts +0 -45
- package/script/deps/jsr.io/@flowcore/sdk/4.2.2/src/commands/data-core/data-core.create.d.ts.map +0 -1
- package/script/deps/jsr.io/@flowcore/sdk/4.2.2/src/commands/data-core/data-core.create.js +0 -48
- package/script/deps/jsr.io/@flowcore/sdk/4.2.2/src/commands/data-core/data-core.exists.d.ts +0 -37
- package/script/deps/jsr.io/@flowcore/sdk/4.2.2/src/commands/data-core/data-core.exists.d.ts.map +0 -1
- package/script/deps/jsr.io/@flowcore/sdk/4.2.2/src/commands/data-core/data-core.exists.js +0 -37
- package/script/deps/jsr.io/@flowcore/sdk/4.2.2/src/commands/data-core/data-core.fetch.d.ts +0 -72
- package/script/deps/jsr.io/@flowcore/sdk/4.2.2/src/commands/data-core/data-core.fetch.d.ts.map +0 -1
- package/script/deps/jsr.io/@flowcore/sdk/4.2.2/src/commands/data-core/data-core.fetch.js +0 -88
- package/script/deps/jsr.io/@flowcore/sdk/4.2.2/src/commands/data-core/data-core.list.d.ts +0 -35
- package/script/deps/jsr.io/@flowcore/sdk/4.2.2/src/commands/data-core/data-core.list.d.ts.map +0 -1
- package/script/deps/jsr.io/@flowcore/sdk/4.2.2/src/commands/data-core/data-core.list.js +0 -51
- package/script/deps/jsr.io/@flowcore/sdk/4.2.2/src/commands/data-core/data-core.request-delete.d.ts +0 -55
- package/script/deps/jsr.io/@flowcore/sdk/4.2.2/src/commands/data-core/data-core.request-delete.d.ts.map +0 -1
- package/script/deps/jsr.io/@flowcore/sdk/4.2.2/src/commands/data-core/data-core.request-delete.js +0 -83
- package/script/deps/jsr.io/@flowcore/sdk/4.2.2/src/commands/data-core/data-core.update.d.ts +0 -41
- package/script/deps/jsr.io/@flowcore/sdk/4.2.2/src/commands/data-core/data-core.update.d.ts.map +0 -1
- package/script/deps/jsr.io/@flowcore/sdk/4.2.2/src/commands/data-core/data-core.update.js +0 -47
- package/script/deps/jsr.io/@flowcore/sdk/4.2.2/src/commands/data-pathways/assignment.complete.d.ts +0 -16
- package/script/deps/jsr.io/@flowcore/sdk/4.2.2/src/commands/data-pathways/assignment.complete.d.ts.map +0 -1
- package/script/deps/jsr.io/@flowcore/sdk/4.2.2/src/commands/data-pathways/assignment.complete.js +0 -35
- package/script/deps/jsr.io/@flowcore/sdk/4.2.2/src/commands/data-pathways/assignment.expire-leases.d.ts +0 -12
- package/script/deps/jsr.io/@flowcore/sdk/4.2.2/src/commands/data-pathways/assignment.expire-leases.d.ts.map +0 -1
- package/script/deps/jsr.io/@flowcore/sdk/4.2.2/src/commands/data-pathways/assignment.expire-leases.js +0 -36
- package/script/deps/jsr.io/@flowcore/sdk/4.2.2/src/commands/data-pathways/assignment.fetch.d.ts +0 -15
- package/script/deps/jsr.io/@flowcore/sdk/4.2.2/src/commands/data-pathways/assignment.fetch.d.ts.map +0 -1
- package/script/deps/jsr.io/@flowcore/sdk/4.2.2/src/commands/data-pathways/assignment.fetch.js +0 -37
- package/script/deps/jsr.io/@flowcore/sdk/4.2.2/src/commands/data-pathways/assignment.heartbeat.d.ts +0 -54
- package/script/deps/jsr.io/@flowcore/sdk/4.2.2/src/commands/data-pathways/assignment.heartbeat.d.ts.map +0 -1
- package/script/deps/jsr.io/@flowcore/sdk/4.2.2/src/commands/data-pathways/assignment.heartbeat.js +0 -35
- package/script/deps/jsr.io/@flowcore/sdk/4.2.2/src/commands/data-pathways/assignment.list.d.ts +0 -18
- package/script/deps/jsr.io/@flowcore/sdk/4.2.2/src/commands/data-pathways/assignment.list.d.ts.map +0 -1
- package/script/deps/jsr.io/@flowcore/sdk/4.2.2/src/commands/data-pathways/assignment.list.js +0 -44
- package/script/deps/jsr.io/@flowcore/sdk/4.2.2/src/commands/data-pathways/assignment.next.d.ts +0 -14
- package/script/deps/jsr.io/@flowcore/sdk/4.2.2/src/commands/data-pathways/assignment.next.d.ts.map +0 -1
- package/script/deps/jsr.io/@flowcore/sdk/4.2.2/src/commands/data-pathways/assignment.next.js +0 -33
- package/script/deps/jsr.io/@flowcore/sdk/4.2.2/src/commands/data-pathways/capacity.fetch.d.ts +0 -11
- package/script/deps/jsr.io/@flowcore/sdk/4.2.2/src/commands/data-pathways/capacity.fetch.d.ts.map +0 -1
- package/script/deps/jsr.io/@flowcore/sdk/4.2.2/src/commands/data-pathways/capacity.fetch.js +0 -30
- package/script/deps/jsr.io/@flowcore/sdk/4.2.2/src/commands/data-pathways/command.dispatch-config-update.d.ts +0 -18
- package/script/deps/jsr.io/@flowcore/sdk/4.2.2/src/commands/data-pathways/command.dispatch-config-update.d.ts.map +0 -1
- package/script/deps/jsr.io/@flowcore/sdk/4.2.2/src/commands/data-pathways/command.dispatch-config-update.js +0 -44
- package/script/deps/jsr.io/@flowcore/sdk/4.2.2/src/commands/data-pathways/command.dispatch-restart.d.ts +0 -24
- package/script/deps/jsr.io/@flowcore/sdk/4.2.2/src/commands/data-pathways/command.dispatch-restart.d.ts.map +0 -1
- package/script/deps/jsr.io/@flowcore/sdk/4.2.2/src/commands/data-pathways/command.dispatch-restart.js +0 -44
- package/script/deps/jsr.io/@flowcore/sdk/4.2.2/src/commands/data-pathways/command.dispatch-stop.d.ts +0 -20
- package/script/deps/jsr.io/@flowcore/sdk/4.2.2/src/commands/data-pathways/command.dispatch-stop.d.ts.map +0 -1
- package/script/deps/jsr.io/@flowcore/sdk/4.2.2/src/commands/data-pathways/command.dispatch-stop.js +0 -44
- package/script/deps/jsr.io/@flowcore/sdk/4.2.2/src/commands/data-pathways/command.fetch.d.ts +0 -15
- package/script/deps/jsr.io/@flowcore/sdk/4.2.2/src/commands/data-pathways/command.fetch.d.ts.map +0 -1
- package/script/deps/jsr.io/@flowcore/sdk/4.2.2/src/commands/data-pathways/command.fetch.js +0 -37
- package/script/deps/jsr.io/@flowcore/sdk/4.2.2/src/commands/data-pathways/command.pending.d.ts +0 -15
- package/script/deps/jsr.io/@flowcore/sdk/4.2.2/src/commands/data-pathways/command.pending.d.ts.map +0 -1
- package/script/deps/jsr.io/@flowcore/sdk/4.2.2/src/commands/data-pathways/command.pending.js +0 -37
- package/script/deps/jsr.io/@flowcore/sdk/4.2.2/src/commands/data-pathways/command.update-status.d.ts +0 -19
- package/script/deps/jsr.io/@flowcore/sdk/4.2.2/src/commands/data-pathways/command.update-status.d.ts.map +0 -1
- package/script/deps/jsr.io/@flowcore/sdk/4.2.2/src/commands/data-pathways/command.update-status.js +0 -47
- package/script/deps/jsr.io/@flowcore/sdk/4.2.2/src/commands/data-pathways/delivery-log.batch.d.ts +0 -15
- package/script/deps/jsr.io/@flowcore/sdk/4.2.2/src/commands/data-pathways/delivery-log.batch.d.ts.map +0 -1
- package/script/deps/jsr.io/@flowcore/sdk/4.2.2/src/commands/data-pathways/delivery-log.batch.js +0 -39
- package/script/deps/jsr.io/@flowcore/sdk/4.2.2/src/commands/data-pathways/delivery-log.list.d.ts +0 -17
- package/script/deps/jsr.io/@flowcore/sdk/4.2.2/src/commands/data-pathways/delivery-log.list.d.ts.map +0 -1
- package/script/deps/jsr.io/@flowcore/sdk/4.2.2/src/commands/data-pathways/delivery-log.list.js +0 -40
- package/script/deps/jsr.io/@flowcore/sdk/4.2.2/src/commands/data-pathways/health.check.d.ts +0 -12
- package/script/deps/jsr.io/@flowcore/sdk/4.2.2/src/commands/data-pathways/health.check.d.ts.map +0 -1
- package/script/deps/jsr.io/@flowcore/sdk/4.2.2/src/commands/data-pathways/health.check.js +0 -36
- package/script/deps/jsr.io/@flowcore/sdk/4.2.2/src/commands/data-pathways/index.d.ts +0 -43
- package/script/deps/jsr.io/@flowcore/sdk/4.2.2/src/commands/data-pathways/index.d.ts.map +0 -1
- package/script/deps/jsr.io/@flowcore/sdk/4.2.2/src/commands/data-pathways/index.js +0 -70
- package/script/deps/jsr.io/@flowcore/sdk/4.2.2/src/commands/data-pathways/pathway-command.pending.d.ts +0 -19
- package/script/deps/jsr.io/@flowcore/sdk/4.2.2/src/commands/data-pathways/pathway-command.pending.d.ts.map +0 -1
- package/script/deps/jsr.io/@flowcore/sdk/4.2.2/src/commands/data-pathways/pathway-command.pending.js +0 -41
- package/script/deps/jsr.io/@flowcore/sdk/4.2.2/src/commands/data-pathways/pathway-command.update-status.d.ts +0 -24
- package/script/deps/jsr.io/@flowcore/sdk/4.2.2/src/commands/data-pathways/pathway-command.update-status.d.ts.map +0 -1
- package/script/deps/jsr.io/@flowcore/sdk/4.2.2/src/commands/data-pathways/pathway-command.update-status.js +0 -52
- package/script/deps/jsr.io/@flowcore/sdk/4.2.2/src/commands/data-pathways/pathway.create.d.ts +0 -25
- package/script/deps/jsr.io/@flowcore/sdk/4.2.2/src/commands/data-pathways/pathway.create.d.ts.map +0 -1
- package/script/deps/jsr.io/@flowcore/sdk/4.2.2/src/commands/data-pathways/pathway.create.js +0 -40
- package/script/deps/jsr.io/@flowcore/sdk/4.2.2/src/commands/data-pathways/pathway.delete.d.ts +0 -18
- package/script/deps/jsr.io/@flowcore/sdk/4.2.2/src/commands/data-pathways/pathway.delete.d.ts.map +0 -1
- package/script/deps/jsr.io/@flowcore/sdk/4.2.2/src/commands/data-pathways/pathway.delete.js +0 -47
- package/script/deps/jsr.io/@flowcore/sdk/4.2.2/src/commands/data-pathways/pathway.disable.d.ts +0 -18
- package/script/deps/jsr.io/@flowcore/sdk/4.2.2/src/commands/data-pathways/pathway.disable.d.ts.map +0 -1
- package/script/deps/jsr.io/@flowcore/sdk/4.2.2/src/commands/data-pathways/pathway.disable.js +0 -47
- package/script/deps/jsr.io/@flowcore/sdk/4.2.2/src/commands/data-pathways/pathway.fetch-by-name.d.ts +0 -16
- package/script/deps/jsr.io/@flowcore/sdk/4.2.2/src/commands/data-pathways/pathway.fetch-by-name.d.ts.map +0 -1
- package/script/deps/jsr.io/@flowcore/sdk/4.2.2/src/commands/data-pathways/pathway.fetch-by-name.js +0 -38
- package/script/deps/jsr.io/@flowcore/sdk/4.2.2/src/commands/data-pathways/pathway.fetch.d.ts +0 -15
- package/script/deps/jsr.io/@flowcore/sdk/4.2.2/src/commands/data-pathways/pathway.fetch.d.ts.map +0 -1
- package/script/deps/jsr.io/@flowcore/sdk/4.2.2/src/commands/data-pathways/pathway.fetch.js +0 -37
- package/script/deps/jsr.io/@flowcore/sdk/4.2.2/src/commands/data-pathways/pathway.list.d.ts +0 -20
- package/script/deps/jsr.io/@flowcore/sdk/4.2.2/src/commands/data-pathways/pathway.list.d.ts.map +0 -1
- package/script/deps/jsr.io/@flowcore/sdk/4.2.2/src/commands/data-pathways/pathway.list.js +0 -48
- package/script/deps/jsr.io/@flowcore/sdk/4.2.2/src/commands/data-pathways/pathway.metrics.fetch.d.ts +0 -15
- package/script/deps/jsr.io/@flowcore/sdk/4.2.2/src/commands/data-pathways/pathway.metrics.fetch.d.ts.map +0 -1
- package/script/deps/jsr.io/@flowcore/sdk/4.2.2/src/commands/data-pathways/pathway.metrics.fetch.js +0 -37
- package/script/deps/jsr.io/@flowcore/sdk/4.2.2/src/commands/data-pathways/pathway.upsert-by-name.d.ts +0 -31
- package/script/deps/jsr.io/@flowcore/sdk/4.2.2/src/commands/data-pathways/pathway.upsert-by-name.d.ts.map +0 -1
- package/script/deps/jsr.io/@flowcore/sdk/4.2.2/src/commands/data-pathways/pathway.upsert-by-name.js +0 -44
- package/script/deps/jsr.io/@flowcore/sdk/4.2.2/src/commands/data-pathways/pump-pulse.send.d.ts +0 -30
- package/script/deps/jsr.io/@flowcore/sdk/4.2.2/src/commands/data-pathways/pump-pulse.send.d.ts.map +0 -1
- package/script/deps/jsr.io/@flowcore/sdk/4.2.2/src/commands/data-pathways/pump-pulse.send.js +0 -36
- package/script/deps/jsr.io/@flowcore/sdk/4.2.2/src/commands/data-pathways/pump-state.fetch-by-source.d.ts +0 -16
- package/script/deps/jsr.io/@flowcore/sdk/4.2.2/src/commands/data-pathways/pump-state.fetch-by-source.d.ts.map +0 -1
- package/script/deps/jsr.io/@flowcore/sdk/4.2.2/src/commands/data-pathways/pump-state.fetch-by-source.js +0 -40
- package/script/deps/jsr.io/@flowcore/sdk/4.2.2/src/commands/data-pathways/pump-state.fetch.d.ts +0 -16
- package/script/deps/jsr.io/@flowcore/sdk/4.2.2/src/commands/data-pathways/pump-state.fetch.d.ts.map +0 -1
- package/script/deps/jsr.io/@flowcore/sdk/4.2.2/src/commands/data-pathways/pump-state.fetch.js +0 -40
- package/script/deps/jsr.io/@flowcore/sdk/4.2.2/src/commands/data-pathways/pump-state.save-by-source.d.ts +0 -20
- package/script/deps/jsr.io/@flowcore/sdk/4.2.2/src/commands/data-pathways/pump-state.save-by-source.d.ts.map +0 -1
- package/script/deps/jsr.io/@flowcore/sdk/4.2.2/src/commands/data-pathways/pump-state.save-by-source.js +0 -39
- package/script/deps/jsr.io/@flowcore/sdk/4.2.2/src/commands/data-pathways/pump-state.save.d.ts +0 -20
- package/script/deps/jsr.io/@flowcore/sdk/4.2.2/src/commands/data-pathways/pump-state.save.d.ts.map +0 -1
- package/script/deps/jsr.io/@flowcore/sdk/4.2.2/src/commands/data-pathways/pump-state.save.js +0 -39
- package/script/deps/jsr.io/@flowcore/sdk/4.2.2/src/commands/data-pathways/pump-status.fetch.d.ts +0 -17
- package/script/deps/jsr.io/@flowcore/sdk/4.2.2/src/commands/data-pathways/pump-status.fetch.d.ts.map +0 -1
- package/script/deps/jsr.io/@flowcore/sdk/4.2.2/src/commands/data-pathways/pump-status.fetch.js +0 -46
- package/script/deps/jsr.io/@flowcore/sdk/4.2.2/src/commands/data-pathways/quota.fetch.d.ts +0 -15
- package/script/deps/jsr.io/@flowcore/sdk/4.2.2/src/commands/data-pathways/quota.fetch.d.ts.map +0 -1
- package/script/deps/jsr.io/@flowcore/sdk/4.2.2/src/commands/data-pathways/quota.fetch.js +0 -37
- package/script/deps/jsr.io/@flowcore/sdk/4.2.2/src/commands/data-pathways/quota.list.d.ts +0 -11
- package/script/deps/jsr.io/@flowcore/sdk/4.2.2/src/commands/data-pathways/quota.list.d.ts.map +0 -1
- package/script/deps/jsr.io/@flowcore/sdk/4.2.2/src/commands/data-pathways/quota.list.js +0 -30
- package/script/deps/jsr.io/@flowcore/sdk/4.2.2/src/commands/data-pathways/quota.set.d.ts +0 -20
- package/script/deps/jsr.io/@flowcore/sdk/4.2.2/src/commands/data-pathways/quota.set.d.ts.map +0 -1
- package/script/deps/jsr.io/@flowcore/sdk/4.2.2/src/commands/data-pathways/quota.set.js +0 -40
- package/script/deps/jsr.io/@flowcore/sdk/4.2.2/src/commands/data-pathways/restart.fetch.d.ts +0 -15
- package/script/deps/jsr.io/@flowcore/sdk/4.2.2/src/commands/data-pathways/restart.fetch.d.ts.map +0 -1
- package/script/deps/jsr.io/@flowcore/sdk/4.2.2/src/commands/data-pathways/restart.fetch.js +0 -37
- package/script/deps/jsr.io/@flowcore/sdk/4.2.2/src/commands/data-pathways/restart.request.d.ts +0 -29
- package/script/deps/jsr.io/@flowcore/sdk/4.2.2/src/commands/data-pathways/restart.request.d.ts.map +0 -1
- package/script/deps/jsr.io/@flowcore/sdk/4.2.2/src/commands/data-pathways/restart.request.js +0 -33
- package/script/deps/jsr.io/@flowcore/sdk/4.2.2/src/commands/data-pathways/slot.deregister.d.ts +0 -17
- package/script/deps/jsr.io/@flowcore/sdk/4.2.2/src/commands/data-pathways/slot.deregister.d.ts.map +0 -1
- package/script/deps/jsr.io/@flowcore/sdk/4.2.2/src/commands/data-pathways/slot.deregister.js +0 -44
- package/script/deps/jsr.io/@flowcore/sdk/4.2.2/src/commands/data-pathways/slot.fetch.d.ts +0 -15
- package/script/deps/jsr.io/@flowcore/sdk/4.2.2/src/commands/data-pathways/slot.fetch.d.ts.map +0 -1
- package/script/deps/jsr.io/@flowcore/sdk/4.2.2/src/commands/data-pathways/slot.fetch.js +0 -37
- package/script/deps/jsr.io/@flowcore/sdk/4.2.2/src/commands/data-pathways/slot.heartbeat.d.ts +0 -16
- package/script/deps/jsr.io/@flowcore/sdk/4.2.2/src/commands/data-pathways/slot.heartbeat.d.ts.map +0 -1
- package/script/deps/jsr.io/@flowcore/sdk/4.2.2/src/commands/data-pathways/slot.heartbeat.js +0 -43
- package/script/deps/jsr.io/@flowcore/sdk/4.2.2/src/commands/data-pathways/slot.list.d.ts +0 -16
- package/script/deps/jsr.io/@flowcore/sdk/4.2.2/src/commands/data-pathways/slot.list.d.ts.map +0 -1
- package/script/deps/jsr.io/@flowcore/sdk/4.2.2/src/commands/data-pathways/slot.list.js +0 -40
- package/script/deps/jsr.io/@flowcore/sdk/4.2.2/src/commands/data-pathways/slot.register.d.ts +0 -17
- package/script/deps/jsr.io/@flowcore/sdk/4.2.2/src/commands/data-pathways/slot.register.d.ts.map +0 -1
- package/script/deps/jsr.io/@flowcore/sdk/4.2.2/src/commands/data-pathways/slot.register.js +0 -33
- package/script/deps/jsr.io/@flowcore/sdk/4.2.2/src/commands/event-type/event-type.create.d.ts +0 -48
- package/script/deps/jsr.io/@flowcore/sdk/4.2.2/src/commands/event-type/event-type.create.d.ts.map +0 -1
- package/script/deps/jsr.io/@flowcore/sdk/4.2.2/src/commands/event-type/event-type.create.js +0 -48
- package/script/deps/jsr.io/@flowcore/sdk/4.2.2/src/commands/event-type/event-type.exists.d.ts +0 -37
- package/script/deps/jsr.io/@flowcore/sdk/4.2.2/src/commands/event-type/event-type.exists.d.ts.map +0 -1
- package/script/deps/jsr.io/@flowcore/sdk/4.2.2/src/commands/event-type/event-type.exists.js +0 -37
- package/script/deps/jsr.io/@flowcore/sdk/4.2.2/src/commands/event-type/event-type.fetch.d.ts +0 -49
- package/script/deps/jsr.io/@flowcore/sdk/4.2.2/src/commands/event-type/event-type.fetch.d.ts.map +0 -1
- package/script/deps/jsr.io/@flowcore/sdk/4.2.2/src/commands/event-type/event-type.fetch.js +0 -63
- package/script/deps/jsr.io/@flowcore/sdk/4.2.2/src/commands/event-type/event-type.info.d.ts +0 -39
- package/script/deps/jsr.io/@flowcore/sdk/4.2.2/src/commands/event-type/event-type.info.d.ts.map +0 -1
- package/script/deps/jsr.io/@flowcore/sdk/4.2.2/src/commands/event-type/event-type.info.js +0 -75
- package/script/deps/jsr.io/@flowcore/sdk/4.2.2/src/commands/event-type/event-type.list-removed-sensitive-data.d.ts +0 -53
- package/script/deps/jsr.io/@flowcore/sdk/4.2.2/src/commands/event-type/event-type.list-removed-sensitive-data.d.ts.map +0 -1
- package/script/deps/jsr.io/@flowcore/sdk/4.2.2/src/commands/event-type/event-type.list-removed-sensitive-data.js +0 -48
- package/script/deps/jsr.io/@flowcore/sdk/4.2.2/src/commands/event-type/event-type.list.d.ts +0 -31
- package/script/deps/jsr.io/@flowcore/sdk/4.2.2/src/commands/event-type/event-type.list.d.ts.map +0 -1
- package/script/deps/jsr.io/@flowcore/sdk/4.2.2/src/commands/event-type/event-type.list.js +0 -40
- package/script/deps/jsr.io/@flowcore/sdk/4.2.2/src/commands/event-type/event-type.remove-sensitive-data.d.ts +0 -39
- package/script/deps/jsr.io/@flowcore/sdk/4.2.2/src/commands/event-type/event-type.remove-sensitive-data.d.ts.map +0 -1
- package/script/deps/jsr.io/@flowcore/sdk/4.2.2/src/commands/event-type/event-type.remove-sensitive-data.js +0 -36
- package/script/deps/jsr.io/@flowcore/sdk/4.2.2/src/commands/event-type/event-type.request-delete.d.ts +0 -54
- package/script/deps/jsr.io/@flowcore/sdk/4.2.2/src/commands/event-type/event-type.request-delete.d.ts.map +0 -1
- package/script/deps/jsr.io/@flowcore/sdk/4.2.2/src/commands/event-type/event-type.request-delete.js +0 -83
- package/script/deps/jsr.io/@flowcore/sdk/4.2.2/src/commands/event-type/event-type.request-truncate.d.ts +0 -54
- package/script/deps/jsr.io/@flowcore/sdk/4.2.2/src/commands/event-type/event-type.request-truncate.d.ts.map +0 -1
- package/script/deps/jsr.io/@flowcore/sdk/4.2.2/src/commands/event-type/event-type.request-truncate.js +0 -84
- package/script/deps/jsr.io/@flowcore/sdk/4.2.2/src/commands/event-type/event-type.update.d.ts +0 -46
- package/script/deps/jsr.io/@flowcore/sdk/4.2.2/src/commands/event-type/event-type.update.d.ts.map +0 -1
- package/script/deps/jsr.io/@flowcore/sdk/4.2.2/src/commands/event-type/event-type.update.js +0 -43
- package/script/deps/jsr.io/@flowcore/sdk/4.2.2/src/commands/events/event.list.d.ts +0 -70
- package/script/deps/jsr.io/@flowcore/sdk/4.2.2/src/commands/events/event.list.d.ts.map +0 -1
- package/script/deps/jsr.io/@flowcore/sdk/4.2.2/src/commands/events/event.list.js +0 -70
- package/script/deps/jsr.io/@flowcore/sdk/4.2.2/src/commands/events/events.fetch-time-buckets-by-names.d.ts +0 -57
- package/script/deps/jsr.io/@flowcore/sdk/4.2.2/src/commands/events/events.fetch-time-buckets-by-names.d.ts.map +0 -1
- package/script/deps/jsr.io/@flowcore/sdk/4.2.2/src/commands/events/events.fetch-time-buckets-by-names.js +0 -57
- package/script/deps/jsr.io/@flowcore/sdk/4.2.2/src/commands/events/events.fetch.d.ts +0 -64
- package/script/deps/jsr.io/@flowcore/sdk/4.2.2/src/commands/events/events.fetch.d.ts.map +0 -1
- package/script/deps/jsr.io/@flowcore/sdk/4.2.2/src/commands/events/events.fetch.js +0 -71
- package/script/deps/jsr.io/@flowcore/sdk/4.2.2/src/commands/events/time-bucket.list.d.ts +0 -55
- package/script/deps/jsr.io/@flowcore/sdk/4.2.2/src/commands/events/time-bucket.list.d.ts.map +0 -1
- package/script/deps/jsr.io/@flowcore/sdk/4.2.2/src/commands/events/time-bucket.list.js +0 -66
- package/script/deps/jsr.io/@flowcore/sdk/4.2.2/src/commands/flow-type/flow-type.create.d.ts +0 -39
- package/script/deps/jsr.io/@flowcore/sdk/4.2.2/src/commands/flow-type/flow-type.create.d.ts.map +0 -1
- package/script/deps/jsr.io/@flowcore/sdk/4.2.2/src/commands/flow-type/flow-type.create.js +0 -48
- package/script/deps/jsr.io/@flowcore/sdk/4.2.2/src/commands/flow-type/flow-type.exists.d.ts +0 -39
- package/script/deps/jsr.io/@flowcore/sdk/4.2.2/src/commands/flow-type/flow-type.exists.d.ts.map +0 -1
- package/script/deps/jsr.io/@flowcore/sdk/4.2.2/src/commands/flow-type/flow-type.exists.js +0 -37
- package/script/deps/jsr.io/@flowcore/sdk/4.2.2/src/commands/flow-type/flow-type.fetch.d.ts +0 -55
- package/script/deps/jsr.io/@flowcore/sdk/4.2.2/src/commands/flow-type/flow-type.fetch.d.ts.map +0 -1
- package/script/deps/jsr.io/@flowcore/sdk/4.2.2/src/commands/flow-type/flow-type.fetch.js +0 -63
- package/script/deps/jsr.io/@flowcore/sdk/4.2.2/src/commands/flow-type/flow-type.list.d.ts +0 -31
- package/script/deps/jsr.io/@flowcore/sdk/4.2.2/src/commands/flow-type/flow-type.list.d.ts.map +0 -1
- package/script/deps/jsr.io/@flowcore/sdk/4.2.2/src/commands/flow-type/flow-type.list.js +0 -40
- package/script/deps/jsr.io/@flowcore/sdk/4.2.2/src/commands/flow-type/flow-type.request-delete.d.ts +0 -54
- package/script/deps/jsr.io/@flowcore/sdk/4.2.2/src/commands/flow-type/flow-type.request-delete.d.ts.map +0 -1
- package/script/deps/jsr.io/@flowcore/sdk/4.2.2/src/commands/flow-type/flow-type.request-delete.js +0 -83
- package/script/deps/jsr.io/@flowcore/sdk/4.2.2/src/commands/flow-type/flow-type.update.d.ts +0 -37
- package/script/deps/jsr.io/@flowcore/sdk/4.2.2/src/commands/flow-type/flow-type.update.d.ts.map +0 -1
- package/script/deps/jsr.io/@flowcore/sdk/4.2.2/src/commands/flow-type/flow-type.update.js +0 -43
- package/script/deps/jsr.io/@flowcore/sdk/4.2.2/src/commands/iam/permissions/get-user-permissions.d.ts +0 -48
- package/script/deps/jsr.io/@flowcore/sdk/4.2.2/src/commands/iam/permissions/get-user-permissions.d.ts.map +0 -1
- package/script/deps/jsr.io/@flowcore/sdk/4.2.2/src/commands/iam/permissions/get-user-permissions.js +0 -57
- package/script/deps/jsr.io/@flowcore/sdk/4.2.2/src/commands/iam/policies/create-policy.d.ts +0 -89
- package/script/deps/jsr.io/@flowcore/sdk/4.2.2/src/commands/iam/policies/create-policy.d.ts.map +0 -1
- package/script/deps/jsr.io/@flowcore/sdk/4.2.2/src/commands/iam/policies/create-policy.js +0 -81
- package/script/deps/jsr.io/@flowcore/sdk/4.2.2/src/commands/iam/policies/get-policy.d.ts +0 -35
- package/script/deps/jsr.io/@flowcore/sdk/4.2.2/src/commands/iam/policies/get-policy.d.ts.map +0 -1
- package/script/deps/jsr.io/@flowcore/sdk/4.2.2/src/commands/iam/policies/get-policy.js +0 -49
- package/script/deps/jsr.io/@flowcore/sdk/4.2.2/src/commands/iam/policies/id/archive-policy.d.ts +0 -45
- package/script/deps/jsr.io/@flowcore/sdk/4.2.2/src/commands/iam/policies/id/archive-policy.d.ts.map +0 -1
- package/script/deps/jsr.io/@flowcore/sdk/4.2.2/src/commands/iam/policies/id/archive-policy.js +0 -54
- package/script/deps/jsr.io/@flowcore/sdk/4.2.2/src/commands/iam/policies/id/get-policy.d.ts +0 -45
- package/script/deps/jsr.io/@flowcore/sdk/4.2.2/src/commands/iam/policies/id/get-policy.d.ts.map +0 -1
- package/script/deps/jsr.io/@flowcore/sdk/4.2.2/src/commands/iam/policies/id/get-policy.js +0 -49
- package/script/deps/jsr.io/@flowcore/sdk/4.2.2/src/commands/iam/policies/id/update-policy.d.ts +0 -53
- package/script/deps/jsr.io/@flowcore/sdk/4.2.2/src/commands/iam/policies/id/update-policy.d.ts.map +0 -1
- package/script/deps/jsr.io/@flowcore/sdk/4.2.2/src/commands/iam/policies/id/update-policy.js +0 -58
- package/script/deps/jsr.io/@flowcore/sdk/4.2.2/src/commands/iam/policies/validate-policy.d.ts +0 -82
- package/script/deps/jsr.io/@flowcore/sdk/4.2.2/src/commands/iam/policies/validate-policy.d.ts.map +0 -1
- package/script/deps/jsr.io/@flowcore/sdk/4.2.2/src/commands/iam/policies/validate-policy.js +0 -79
- package/script/deps/jsr.io/@flowcore/sdk/4.2.2/src/commands/iam/policy-associations/get-key-policies.d.ts +0 -35
- package/script/deps/jsr.io/@flowcore/sdk/4.2.2/src/commands/iam/policy-associations/get-key-policies.d.ts.map +0 -1
- package/script/deps/jsr.io/@flowcore/sdk/4.2.2/src/commands/iam/policy-associations/get-key-policies.js +0 -89
- package/script/deps/jsr.io/@flowcore/sdk/4.2.2/src/commands/iam/policy-associations/get-organization-policies.d.ts +0 -35
- package/script/deps/jsr.io/@flowcore/sdk/4.2.2/src/commands/iam/policy-associations/get-organization-policies.d.ts.map +0 -1
- package/script/deps/jsr.io/@flowcore/sdk/4.2.2/src/commands/iam/policy-associations/get-organization-policies.js +0 -92
- package/script/deps/jsr.io/@flowcore/sdk/4.2.2/src/commands/iam/policy-associations/get-policy-associations.d.ts +0 -83
- package/script/deps/jsr.io/@flowcore/sdk/4.2.2/src/commands/iam/policy-associations/get-policy-associations.d.ts.map +0 -1
- package/script/deps/jsr.io/@flowcore/sdk/4.2.2/src/commands/iam/policy-associations/get-policy-associations.js +0 -121
- package/script/deps/jsr.io/@flowcore/sdk/4.2.2/src/commands/iam/policy-associations/get-role-policies.d.ts +0 -35
- package/script/deps/jsr.io/@flowcore/sdk/4.2.2/src/commands/iam/policy-associations/get-role-policies.d.ts.map +0 -1
- package/script/deps/jsr.io/@flowcore/sdk/4.2.2/src/commands/iam/policy-associations/get-role-policies.js +0 -77
- package/script/deps/jsr.io/@flowcore/sdk/4.2.2/src/commands/iam/policy-associations/get-user-policies.d.ts +0 -37
- package/script/deps/jsr.io/@flowcore/sdk/4.2.2/src/commands/iam/policy-associations/get-user-policies.d.ts.map +0 -1
- package/script/deps/jsr.io/@flowcore/sdk/4.2.2/src/commands/iam/policy-associations/get-user-policies.js +0 -49
- package/script/deps/jsr.io/@flowcore/sdk/4.2.2/src/commands/iam/policy-associations/link-key-policy.d.ts +0 -53
- package/script/deps/jsr.io/@flowcore/sdk/4.2.2/src/commands/iam/policy-associations/link-key-policy.d.ts.map +0 -1
- package/script/deps/jsr.io/@flowcore/sdk/4.2.2/src/commands/iam/policy-associations/link-key-policy.js +0 -64
- package/script/deps/jsr.io/@flowcore/sdk/4.2.2/src/commands/iam/policy-associations/link-role-policy.d.ts +0 -53
- package/script/deps/jsr.io/@flowcore/sdk/4.2.2/src/commands/iam/policy-associations/link-role-policy.d.ts.map +0 -1
- package/script/deps/jsr.io/@flowcore/sdk/4.2.2/src/commands/iam/policy-associations/link-role-policy.js +0 -64
- package/script/deps/jsr.io/@flowcore/sdk/4.2.2/src/commands/iam/policy-associations/link-user-policy.d.ts +0 -53
- package/script/deps/jsr.io/@flowcore/sdk/4.2.2/src/commands/iam/policy-associations/link-user-policy.d.ts.map +0 -1
- package/script/deps/jsr.io/@flowcore/sdk/4.2.2/src/commands/iam/policy-associations/link-user-policy.js +0 -64
- package/script/deps/jsr.io/@flowcore/sdk/4.2.2/src/commands/iam/policy-associations/unlink-key-policy.d.ts +0 -41
- package/script/deps/jsr.io/@flowcore/sdk/4.2.2/src/commands/iam/policy-associations/unlink-key-policy.d.ts.map +0 -1
- package/script/deps/jsr.io/@flowcore/sdk/4.2.2/src/commands/iam/policy-associations/unlink-key-policy.js +0 -56
- package/script/deps/jsr.io/@flowcore/sdk/4.2.2/src/commands/iam/policy-associations/unlink-role-policy.d.ts +0 -41
- package/script/deps/jsr.io/@flowcore/sdk/4.2.2/src/commands/iam/policy-associations/unlink-role-policy.d.ts.map +0 -1
- package/script/deps/jsr.io/@flowcore/sdk/4.2.2/src/commands/iam/policy-associations/unlink-role-policy.js +0 -56
- package/script/deps/jsr.io/@flowcore/sdk/4.2.2/src/commands/iam/policy-associations/unlink-user-policy.d.ts +0 -41
- package/script/deps/jsr.io/@flowcore/sdk/4.2.2/src/commands/iam/policy-associations/unlink-user-policy.d.ts.map +0 -1
- package/script/deps/jsr.io/@flowcore/sdk/4.2.2/src/commands/iam/policy-associations/unlink-user-policy.js +0 -56
- package/script/deps/jsr.io/@flowcore/sdk/4.2.2/src/commands/iam/role-associations/get-key-roles.d.ts +0 -35
- package/script/deps/jsr.io/@flowcore/sdk/4.2.2/src/commands/iam/role-associations/get-key-roles.d.ts.map +0 -1
- package/script/deps/jsr.io/@flowcore/sdk/4.2.2/src/commands/iam/role-associations/get-key-roles.js +0 -49
- package/script/deps/jsr.io/@flowcore/sdk/4.2.2/src/commands/iam/role-associations/get-organization-roles.d.ts +0 -35
- package/script/deps/jsr.io/@flowcore/sdk/4.2.2/src/commands/iam/role-associations/get-organization-roles.d.ts.map +0 -1
- package/script/deps/jsr.io/@flowcore/sdk/4.2.2/src/commands/iam/role-associations/get-organization-roles.js +0 -66
- package/script/deps/jsr.io/@flowcore/sdk/4.2.2/src/commands/iam/role-associations/get-role-associations.d.ts +0 -70
- package/script/deps/jsr.io/@flowcore/sdk/4.2.2/src/commands/iam/role-associations/get-role-associations.d.ts.map +0 -1
- package/script/deps/jsr.io/@flowcore/sdk/4.2.2/src/commands/iam/role-associations/get-role-associations.js +0 -71
- package/script/deps/jsr.io/@flowcore/sdk/4.2.2/src/commands/iam/role-associations/get-user-roles.d.ts +0 -37
- package/script/deps/jsr.io/@flowcore/sdk/4.2.2/src/commands/iam/role-associations/get-user-roles.d.ts.map +0 -1
- package/script/deps/jsr.io/@flowcore/sdk/4.2.2/src/commands/iam/role-associations/get-user-roles.js +0 -54
- package/script/deps/jsr.io/@flowcore/sdk/4.2.2/src/commands/iam/role-associations/link-key-role.d.ts +0 -53
- package/script/deps/jsr.io/@flowcore/sdk/4.2.2/src/commands/iam/role-associations/link-key-role.d.ts.map +0 -1
- package/script/deps/jsr.io/@flowcore/sdk/4.2.2/src/commands/iam/role-associations/link-key-role.js +0 -64
- package/script/deps/jsr.io/@flowcore/sdk/4.2.2/src/commands/iam/role-associations/link-user-role.d.ts +0 -53
- package/script/deps/jsr.io/@flowcore/sdk/4.2.2/src/commands/iam/role-associations/link-user-role.d.ts.map +0 -1
- package/script/deps/jsr.io/@flowcore/sdk/4.2.2/src/commands/iam/role-associations/link-user-role.js +0 -64
- package/script/deps/jsr.io/@flowcore/sdk/4.2.2/src/commands/iam/role-associations/unlink-key-role.d.ts +0 -41
- package/script/deps/jsr.io/@flowcore/sdk/4.2.2/src/commands/iam/role-associations/unlink-key-role.d.ts.map +0 -1
- package/script/deps/jsr.io/@flowcore/sdk/4.2.2/src/commands/iam/role-associations/unlink-key-role.js +0 -56
- package/script/deps/jsr.io/@flowcore/sdk/4.2.2/src/commands/iam/role-associations/unlink-user-role.d.ts +0 -41
- package/script/deps/jsr.io/@flowcore/sdk/4.2.2/src/commands/iam/role-associations/unlink-user-role.d.ts.map +0 -1
- package/script/deps/jsr.io/@flowcore/sdk/4.2.2/src/commands/iam/role-associations/unlink-user-role.js +0 -56
- package/script/deps/jsr.io/@flowcore/sdk/4.2.2/src/commands/iam/roles/create-role.d.ts +0 -60
- package/script/deps/jsr.io/@flowcore/sdk/4.2.2/src/commands/iam/roles/create-role.d.ts.map +0 -1
- package/script/deps/jsr.io/@flowcore/sdk/4.2.2/src/commands/iam/roles/create-role.js +0 -68
- package/script/deps/jsr.io/@flowcore/sdk/4.2.2/src/commands/iam/roles/get-roles.d.ts +0 -35
- package/script/deps/jsr.io/@flowcore/sdk/4.2.2/src/commands/iam/roles/get-roles.d.ts.map +0 -1
- package/script/deps/jsr.io/@flowcore/sdk/4.2.2/src/commands/iam/roles/get-roles.js +0 -49
- package/script/deps/jsr.io/@flowcore/sdk/4.2.2/src/commands/iam/roles/id/archive-role.d.ts +0 -45
- package/script/deps/jsr.io/@flowcore/sdk/4.2.2/src/commands/iam/roles/id/archive-role.d.ts.map +0 -1
- package/script/deps/jsr.io/@flowcore/sdk/4.2.2/src/commands/iam/roles/id/archive-role.js +0 -54
- package/script/deps/jsr.io/@flowcore/sdk/4.2.2/src/commands/iam/roles/id/get-role.d.ts +0 -35
- package/script/deps/jsr.io/@flowcore/sdk/4.2.2/src/commands/iam/roles/id/get-role.d.ts.map +0 -1
- package/script/deps/jsr.io/@flowcore/sdk/4.2.2/src/commands/iam/roles/id/get-role.js +0 -48
- package/script/deps/jsr.io/@flowcore/sdk/4.2.2/src/commands/iam/roles/id/update-role.d.ts +0 -47
- package/script/deps/jsr.io/@flowcore/sdk/4.2.2/src/commands/iam/roles/id/update-role.d.ts.map +0 -1
- package/script/deps/jsr.io/@flowcore/sdk/4.2.2/src/commands/iam/roles/id/update-role.js +0 -59
- package/script/deps/jsr.io/@flowcore/sdk/4.2.2/src/commands/iam/tenant/user-managed-roles.d.ts +0 -39
- package/script/deps/jsr.io/@flowcore/sdk/4.2.2/src/commands/iam/tenant/user-managed-roles.d.ts.map +0 -1
- package/script/deps/jsr.io/@flowcore/sdk/4.2.2/src/commands/iam/tenant/user-managed-roles.js +0 -41
- package/script/deps/jsr.io/@flowcore/sdk/4.2.2/src/commands/iam/tenant-iam-audit/get-audit-for-tenant.d.ts +0 -88
- package/script/deps/jsr.io/@flowcore/sdk/4.2.2/src/commands/iam/tenant-iam-audit/get-audit-for-tenant.d.ts.map +0 -1
- package/script/deps/jsr.io/@flowcore/sdk/4.2.2/src/commands/iam/tenant-iam-audit/get-audit-for-tenant.js +0 -114
- package/script/deps/jsr.io/@flowcore/sdk/4.2.2/src/commands/iam/validate/validate-key.d.ts +0 -43
- package/script/deps/jsr.io/@flowcore/sdk/4.2.2/src/commands/iam/validate/validate-key.d.ts.map +0 -1
- package/script/deps/jsr.io/@flowcore/sdk/4.2.2/src/commands/iam/validate/validate-key.js +0 -55
- package/script/deps/jsr.io/@flowcore/sdk/4.2.2/src/commands/iam/validate/validate-user.d.ts +0 -77
- package/script/deps/jsr.io/@flowcore/sdk/4.2.2/src/commands/iam/validate/validate-user.d.ts.map +0 -1
- package/script/deps/jsr.io/@flowcore/sdk/4.2.2/src/commands/iam/validate/validate-user.js +0 -70
- package/script/deps/jsr.io/@flowcore/sdk/4.2.2/src/commands/index.d.ts +0 -129
- package/script/deps/jsr.io/@flowcore/sdk/4.2.2/src/commands/index.d.ts.map +0 -1
- package/script/deps/jsr.io/@flowcore/sdk/4.2.2/src/commands/index.js +0 -163
- package/script/deps/jsr.io/@flowcore/sdk/4.2.2/src/commands/ingestion/ingest.batch.d.ts +0 -43
- package/script/deps/jsr.io/@flowcore/sdk/4.2.2/src/commands/ingestion/ingest.batch.d.ts.map +0 -1
- package/script/deps/jsr.io/@flowcore/sdk/4.2.2/src/commands/ingestion/ingest.batch.js +0 -87
- package/script/deps/jsr.io/@flowcore/sdk/4.2.2/src/commands/ingestion/ingest.event.d.ts +0 -40
- package/script/deps/jsr.io/@flowcore/sdk/4.2.2/src/commands/ingestion/ingest.event.d.ts.map +0 -1
- package/script/deps/jsr.io/@flowcore/sdk/4.2.2/src/commands/ingestion/ingest.event.js +0 -87
- package/script/deps/jsr.io/@flowcore/sdk/4.2.2/src/commands/legacy-scenario/legacy-scenario-adapter.fetch-state.d.ts +0 -32
- package/script/deps/jsr.io/@flowcore/sdk/4.2.2/src/commands/legacy-scenario/legacy-scenario-adapter.fetch-state.d.ts.map +0 -1
- package/script/deps/jsr.io/@flowcore/sdk/4.2.2/src/commands/legacy-scenario/legacy-scenario-adapter.fetch-state.js +0 -54
- package/script/deps/jsr.io/@flowcore/sdk/4.2.2/src/commands/legacy-scenario/legacy-scenario-adapter.restart.d.ts +0 -43
- package/script/deps/jsr.io/@flowcore/sdk/4.2.2/src/commands/legacy-scenario/legacy-scenario-adapter.restart.d.ts.map +0 -1
- package/script/deps/jsr.io/@flowcore/sdk/4.2.2/src/commands/legacy-scenario/legacy-scenario-adapter.restart.js +0 -62
- package/script/deps/jsr.io/@flowcore/sdk/4.2.2/src/commands/legacy-scenario/legacy-scenario.delete.d.ts +0 -35
- package/script/deps/jsr.io/@flowcore/sdk/4.2.2/src/commands/legacy-scenario/legacy-scenario.delete.d.ts.map +0 -1
- package/script/deps/jsr.io/@flowcore/sdk/4.2.2/src/commands/legacy-scenario/legacy-scenario.delete.js +0 -57
- package/script/deps/jsr.io/@flowcore/sdk/4.2.2/src/commands/legacy-scenario/legacy-scenario.fetch.d.ts +0 -23
- package/script/deps/jsr.io/@flowcore/sdk/4.2.2/src/commands/legacy-scenario/legacy-scenario.fetch.d.ts.map +0 -1
- package/script/deps/jsr.io/@flowcore/sdk/4.2.2/src/commands/legacy-scenario/legacy-scenario.fetch.js +0 -61
- package/script/deps/jsr.io/@flowcore/sdk/4.2.2/src/commands/legacy-scenario/legacy-scenario.list.d.ts +0 -32
- package/script/deps/jsr.io/@flowcore/sdk/4.2.2/src/commands/legacy-scenario/legacy-scenario.list.d.ts.map +0 -1
- package/script/deps/jsr.io/@flowcore/sdk/4.2.2/src/commands/legacy-scenario/legacy-scenario.list.js +0 -63
- package/script/deps/jsr.io/@flowcore/sdk/4.2.2/src/commands/scenario/scenario.create.d.ts +0 -41
- package/script/deps/jsr.io/@flowcore/sdk/4.2.2/src/commands/scenario/scenario.create.d.ts.map +0 -1
- package/script/deps/jsr.io/@flowcore/sdk/4.2.2/src/commands/scenario/scenario.create.js +0 -48
- package/script/deps/jsr.io/@flowcore/sdk/4.2.2/src/commands/scenario/scenario.delete.d.ts +0 -37
- package/script/deps/jsr.io/@flowcore/sdk/4.2.2/src/commands/scenario/scenario.delete.d.ts.map +0 -1
- package/script/deps/jsr.io/@flowcore/sdk/4.2.2/src/commands/scenario/scenario.delete.js +0 -51
- package/script/deps/jsr.io/@flowcore/sdk/4.2.2/src/commands/scenario/scenario.fetch.d.ts +0 -53
- package/script/deps/jsr.io/@flowcore/sdk/4.2.2/src/commands/scenario/scenario.fetch.d.ts.map +0 -1
- package/script/deps/jsr.io/@flowcore/sdk/4.2.2/src/commands/scenario/scenario.fetch.js +0 -72
- package/script/deps/jsr.io/@flowcore/sdk/4.2.2/src/commands/scenario/scenario.list.d.ts +0 -44
- package/script/deps/jsr.io/@flowcore/sdk/4.2.2/src/commands/scenario/scenario.list.d.ts.map +0 -1
- package/script/deps/jsr.io/@flowcore/sdk/4.2.2/src/commands/scenario/scenario.list.js +0 -53
- package/script/deps/jsr.io/@flowcore/sdk/4.2.2/src/commands/scenario/scenario.update.d.ts +0 -43
- package/script/deps/jsr.io/@flowcore/sdk/4.2.2/src/commands/scenario/scenario.update.d.ts.map +0 -1
- package/script/deps/jsr.io/@flowcore/sdk/4.2.2/src/commands/scenario/scenario.update.js +0 -57
- package/script/deps/jsr.io/@flowcore/sdk/4.2.2/src/commands/secret/secret.create.d.ts +0 -45
- package/script/deps/jsr.io/@flowcore/sdk/4.2.2/src/commands/secret/secret.create.d.ts.map +0 -1
- package/script/deps/jsr.io/@flowcore/sdk/4.2.2/src/commands/secret/secret.create.js +0 -57
- package/script/deps/jsr.io/@flowcore/sdk/4.2.2/src/commands/secret/secret.delete.d.ts +0 -40
- package/script/deps/jsr.io/@flowcore/sdk/4.2.2/src/commands/secret/secret.delete.d.ts.map +0 -1
- package/script/deps/jsr.io/@flowcore/sdk/4.2.2/src/commands/secret/secret.delete.js +0 -55
- package/script/deps/jsr.io/@flowcore/sdk/4.2.2/src/commands/secret/secret.edit.d.ts +0 -45
- package/script/deps/jsr.io/@flowcore/sdk/4.2.2/src/commands/secret/secret.edit.d.ts.map +0 -1
- package/script/deps/jsr.io/@flowcore/sdk/4.2.2/src/commands/secret/secret.edit.js +0 -57
- package/script/deps/jsr.io/@flowcore/sdk/4.2.2/src/commands/secret/secret.fetch.d.ts +0 -46
- package/script/deps/jsr.io/@flowcore/sdk/4.2.2/src/commands/secret/secret.fetch.d.ts.map +0 -1
- package/script/deps/jsr.io/@flowcore/sdk/4.2.2/src/commands/secret/secret.fetch.js +0 -67
- package/script/deps/jsr.io/@flowcore/sdk/4.2.2/src/commands/secret/secret.list.d.ts +0 -39
- package/script/deps/jsr.io/@flowcore/sdk/4.2.2/src/commands/secret/secret.list.d.ts.map +0 -1
- package/script/deps/jsr.io/@flowcore/sdk/4.2.2/src/commands/secret/secret.list.js +0 -58
- package/script/deps/jsr.io/@flowcore/sdk/4.2.2/src/commands/security/pat.create.d.ts +0 -37
- package/script/deps/jsr.io/@flowcore/sdk/4.2.2/src/commands/security/pat.create.d.ts.map +0 -1
- package/script/deps/jsr.io/@flowcore/sdk/4.2.2/src/commands/security/pat.create.js +0 -48
- package/script/deps/jsr.io/@flowcore/sdk/4.2.2/src/commands/security/pat.delete.d.ts +0 -37
- package/script/deps/jsr.io/@flowcore/sdk/4.2.2/src/commands/security/pat.delete.d.ts.map +0 -1
- package/script/deps/jsr.io/@flowcore/sdk/4.2.2/src/commands/security/pat.delete.js +0 -50
- package/script/deps/jsr.io/@flowcore/sdk/4.2.2/src/commands/security/pat.exchange.d.ts +0 -41
- package/script/deps/jsr.io/@flowcore/sdk/4.2.2/src/commands/security/pat.exchange.d.ts.map +0 -1
- package/script/deps/jsr.io/@flowcore/sdk/4.2.2/src/commands/security/pat.exchange.js +0 -55
- package/script/deps/jsr.io/@flowcore/sdk/4.2.2/src/commands/security/pat.get.d.ts +0 -35
- package/script/deps/jsr.io/@flowcore/sdk/4.2.2/src/commands/security/pat.get.d.ts.map +0 -1
- package/script/deps/jsr.io/@flowcore/sdk/4.2.2/src/commands/security/pat.get.js +0 -48
- package/script/deps/jsr.io/@flowcore/sdk/4.2.2/src/commands/security/pat.list.d.ts +0 -28
- package/script/deps/jsr.io/@flowcore/sdk/4.2.2/src/commands/security/pat.list.d.ts.map +0 -1
- package/script/deps/jsr.io/@flowcore/sdk/4.2.2/src/commands/security/pat.list.js +0 -49
- package/script/deps/jsr.io/@flowcore/sdk/4.2.2/src/commands/security/permissions.list.d.ts +0 -31
- package/script/deps/jsr.io/@flowcore/sdk/4.2.2/src/commands/security/permissions.list.d.ts.map +0 -1
- package/script/deps/jsr.io/@flowcore/sdk/4.2.2/src/commands/security/permissions.list.js +0 -50
- package/script/deps/jsr.io/@flowcore/sdk/4.2.2/src/commands/service-account/service-account.create.d.ts +0 -45
- package/script/deps/jsr.io/@flowcore/sdk/4.2.2/src/commands/service-account/service-account.create.d.ts.map +0 -1
- package/script/deps/jsr.io/@flowcore/sdk/4.2.2/src/commands/service-account/service-account.create.js +0 -57
- package/script/deps/jsr.io/@flowcore/sdk/4.2.2/src/commands/service-account/service-account.delete.d.ts +0 -42
- package/script/deps/jsr.io/@flowcore/sdk/4.2.2/src/commands/service-account/service-account.delete.d.ts.map +0 -1
- package/script/deps/jsr.io/@flowcore/sdk/4.2.2/src/commands/service-account/service-account.delete.js +0 -61
- package/script/deps/jsr.io/@flowcore/sdk/4.2.2/src/commands/service-account/service-account.edit.d.ts +0 -47
- package/script/deps/jsr.io/@flowcore/sdk/4.2.2/src/commands/service-account/service-account.edit.d.ts.map +0 -1
- package/script/deps/jsr.io/@flowcore/sdk/4.2.2/src/commands/service-account/service-account.edit.js +0 -66
- package/script/deps/jsr.io/@flowcore/sdk/4.2.2/src/commands/service-account/service-account.fetch.d.ts +0 -44
- package/script/deps/jsr.io/@flowcore/sdk/4.2.2/src/commands/service-account/service-account.fetch.d.ts.map +0 -1
- package/script/deps/jsr.io/@flowcore/sdk/4.2.2/src/commands/service-account/service-account.fetch.js +0 -67
- package/script/deps/jsr.io/@flowcore/sdk/4.2.2/src/commands/service-account/service-account.list.d.ts +0 -39
- package/script/deps/jsr.io/@flowcore/sdk/4.2.2/src/commands/service-account/service-account.list.d.ts.map +0 -1
- package/script/deps/jsr.io/@flowcore/sdk/4.2.2/src/commands/service-account/service-account.list.js +0 -61
- package/script/deps/jsr.io/@flowcore/sdk/4.2.2/src/commands/service-account/service-account.rotate-secret.d.ts +0 -43
- package/script/deps/jsr.io/@flowcore/sdk/4.2.2/src/commands/service-account/service-account.rotate-secret.d.ts.map +0 -1
- package/script/deps/jsr.io/@flowcore/sdk/4.2.2/src/commands/service-account/service-account.rotate-secret.js +0 -63
- package/script/deps/jsr.io/@flowcore/sdk/4.2.2/src/commands/tenant/tenant-instance.fetch.d.ts +0 -51
- package/script/deps/jsr.io/@flowcore/sdk/4.2.2/src/commands/tenant/tenant-instance.fetch.d.ts.map +0 -1
- package/script/deps/jsr.io/@flowcore/sdk/4.2.2/src/commands/tenant/tenant-instance.fetch.js +0 -51
- package/script/deps/jsr.io/@flowcore/sdk/4.2.2/src/commands/tenant/tenant.create.d.ts +0 -43
- package/script/deps/jsr.io/@flowcore/sdk/4.2.2/src/commands/tenant/tenant.create.d.ts.map +0 -1
- package/script/deps/jsr.io/@flowcore/sdk/4.2.2/src/commands/tenant/tenant.create.js +0 -81
- package/script/deps/jsr.io/@flowcore/sdk/4.2.2/src/commands/tenant/tenant.disable-sensitive-data.d.ts +0 -38
- package/script/deps/jsr.io/@flowcore/sdk/4.2.2/src/commands/tenant/tenant.disable-sensitive-data.d.ts.map +0 -1
- package/script/deps/jsr.io/@flowcore/sdk/4.2.2/src/commands/tenant/tenant.disable-sensitive-data.js +0 -55
- package/script/deps/jsr.io/@flowcore/sdk/4.2.2/src/commands/tenant/tenant.enable-sensitive-data.d.ts +0 -38
- package/script/deps/jsr.io/@flowcore/sdk/4.2.2/src/commands/tenant/tenant.enable-sensitive-data.d.ts.map +0 -1
- package/script/deps/jsr.io/@flowcore/sdk/4.2.2/src/commands/tenant/tenant.enable-sensitive-data.js +0 -55
- package/script/deps/jsr.io/@flowcore/sdk/4.2.2/src/commands/tenant/tenant.fetch.d.ts +0 -51
- package/script/deps/jsr.io/@flowcore/sdk/4.2.2/src/commands/tenant/tenant.fetch.d.ts.map +0 -1
- package/script/deps/jsr.io/@flowcore/sdk/4.2.2/src/commands/tenant/tenant.fetch.js +0 -71
- package/script/deps/jsr.io/@flowcore/sdk/4.2.2/src/commands/tenant/tenant.list.d.ts +0 -24
- package/script/deps/jsr.io/@flowcore/sdk/4.2.2/src/commands/tenant/tenant.list.d.ts.map +0 -1
- package/script/deps/jsr.io/@flowcore/sdk/4.2.2/src/commands/tenant/tenant.list.js +0 -38
- package/script/deps/jsr.io/@flowcore/sdk/4.2.2/src/commands/tenant/tenant.preview.d.ts +0 -36
- package/script/deps/jsr.io/@flowcore/sdk/4.2.2/src/commands/tenant/tenant.preview.d.ts.map +0 -1
- package/script/deps/jsr.io/@flowcore/sdk/4.2.2/src/commands/tenant/tenant.preview.js +0 -46
- package/script/deps/jsr.io/@flowcore/sdk/4.2.2/src/commands/tenant/tenant.translate-name-to-id.d.ts +0 -44
- package/script/deps/jsr.io/@flowcore/sdk/4.2.2/src/commands/tenant/tenant.translate-name-to-id.d.ts.map +0 -1
- package/script/deps/jsr.io/@flowcore/sdk/4.2.2/src/commands/tenant/tenant.translate-name-to-id.js +0 -56
- package/script/deps/jsr.io/@flowcore/sdk/4.2.2/src/commands/tenant/tenant.update.d.ts +0 -46
- package/script/deps/jsr.io/@flowcore/sdk/4.2.2/src/commands/tenant/tenant.update.d.ts.map +0 -1
- package/script/deps/jsr.io/@flowcore/sdk/4.2.2/src/commands/tenant/tenant.update.js +0 -81
- package/script/deps/jsr.io/@flowcore/sdk/4.2.2/src/commands/tenant/tenant.user-add.d.ts +0 -30
- package/script/deps/jsr.io/@flowcore/sdk/4.2.2/src/commands/tenant/tenant.user-add.d.ts.map +0 -1
- package/script/deps/jsr.io/@flowcore/sdk/4.2.2/src/commands/tenant/tenant.user-add.js +0 -39
- package/script/deps/jsr.io/@flowcore/sdk/4.2.2/src/commands/tenant/tenant.user-list-inner.d.ts +0 -30
- package/script/deps/jsr.io/@flowcore/sdk/4.2.2/src/commands/tenant/tenant.user-list-inner.d.ts.map +0 -1
- package/script/deps/jsr.io/@flowcore/sdk/4.2.2/src/commands/tenant/tenant.user-list-inner.js +0 -38
- package/script/deps/jsr.io/@flowcore/sdk/4.2.2/src/commands/tenant/tenant.user-list.d.ts +0 -26
- package/script/deps/jsr.io/@flowcore/sdk/4.2.2/src/commands/tenant/tenant.user-list.d.ts.map +0 -1
- package/script/deps/jsr.io/@flowcore/sdk/4.2.2/src/commands/tenant/tenant.user-list.js +0 -31
- package/script/deps/jsr.io/@flowcore/sdk/4.2.2/src/commands/tenant/tenant.user-remove.d.ts +0 -30
- package/script/deps/jsr.io/@flowcore/sdk/4.2.2/src/commands/tenant/tenant.user-remove.d.ts.map +0 -1
- package/script/deps/jsr.io/@flowcore/sdk/4.2.2/src/commands/tenant/tenant.user-remove.js +0 -39
- package/script/deps/jsr.io/@flowcore/sdk/4.2.2/src/commands/user/user.delete.d.ts +0 -41
- package/script/deps/jsr.io/@flowcore/sdk/4.2.2/src/commands/user/user.delete.d.ts.map +0 -1
- package/script/deps/jsr.io/@flowcore/sdk/4.2.2/src/commands/user/user.delete.js +0 -52
- package/script/deps/jsr.io/@flowcore/sdk/4.2.2/src/commands/user/user.initialize-in-keycloak.d.ts +0 -53
- package/script/deps/jsr.io/@flowcore/sdk/4.2.2/src/commands/user/user.initialize-in-keycloak.d.ts.map +0 -1
- package/script/deps/jsr.io/@flowcore/sdk/4.2.2/src/commands/user/user.initialize-in-keycloak.js +0 -67
- package/script/deps/jsr.io/@flowcore/sdk/4.2.2/src/commands/user/user.invite-to-tenant.d.ts +0 -49
- package/script/deps/jsr.io/@flowcore/sdk/4.2.2/src/commands/user/user.invite-to-tenant.d.ts.map +0 -1
- package/script/deps/jsr.io/@flowcore/sdk/4.2.2/src/commands/user/user.invite-to-tenant.js +0 -63
- package/script/deps/jsr.io/@flowcore/sdk/4.2.2/src/commands/variable/variable.create.d.ts +0 -45
- package/script/deps/jsr.io/@flowcore/sdk/4.2.2/src/commands/variable/variable.create.d.ts.map +0 -1
- package/script/deps/jsr.io/@flowcore/sdk/4.2.2/src/commands/variable/variable.create.js +0 -57
- package/script/deps/jsr.io/@flowcore/sdk/4.2.2/src/commands/variable/variable.delete.d.ts +0 -40
- package/script/deps/jsr.io/@flowcore/sdk/4.2.2/src/commands/variable/variable.delete.d.ts.map +0 -1
- package/script/deps/jsr.io/@flowcore/sdk/4.2.2/src/commands/variable/variable.delete.js +0 -55
- package/script/deps/jsr.io/@flowcore/sdk/4.2.2/src/commands/variable/variable.edit.d.ts +0 -45
- package/script/deps/jsr.io/@flowcore/sdk/4.2.2/src/commands/variable/variable.edit.d.ts.map +0 -1
- package/script/deps/jsr.io/@flowcore/sdk/4.2.2/src/commands/variable/variable.edit.js +0 -57
- package/script/deps/jsr.io/@flowcore/sdk/4.2.2/src/commands/variable/variable.fetch.d.ts +0 -46
- package/script/deps/jsr.io/@flowcore/sdk/4.2.2/src/commands/variable/variable.fetch.d.ts.map +0 -1
- package/script/deps/jsr.io/@flowcore/sdk/4.2.2/src/commands/variable/variable.fetch.js +0 -67
- package/script/deps/jsr.io/@flowcore/sdk/4.2.2/src/commands/variable/variable.list.d.ts +0 -39
- package/script/deps/jsr.io/@flowcore/sdk/4.2.2/src/commands/variable/variable.list.d.ts.map +0 -1
- package/script/deps/jsr.io/@flowcore/sdk/4.2.2/src/commands/variable/variable.list.js +0 -58
- package/script/deps/jsr.io/@flowcore/sdk/4.2.2/src/common/command-custom.d.ts +0 -36
- package/script/deps/jsr.io/@flowcore/sdk/4.2.2/src/common/command-custom.d.ts.map +0 -1
- package/script/deps/jsr.io/@flowcore/sdk/4.2.2/src/common/command-custom.js +0 -32
- package/script/deps/jsr.io/@flowcore/sdk/4.2.2/src/common/command-graphql.d.ts +0 -19
- package/script/deps/jsr.io/@flowcore/sdk/4.2.2/src/common/command-graphql.d.ts.map +0 -1
- package/script/deps/jsr.io/@flowcore/sdk/4.2.2/src/common/command-graphql.js +0 -34
- package/script/deps/jsr.io/@flowcore/sdk/4.2.2/src/common/command.d.ts +0 -94
- package/script/deps/jsr.io/@flowcore/sdk/4.2.2/src/common/command.d.ts.map +0 -1
- package/script/deps/jsr.io/@flowcore/sdk/4.2.2/src/common/command.js +0 -180
- package/script/deps/jsr.io/@flowcore/sdk/4.2.2/src/common/flowcore-client.d.ts +0 -73
- package/script/deps/jsr.io/@flowcore/sdk/4.2.2/src/common/flowcore-client.d.ts.map +0 -1
- package/script/deps/jsr.io/@flowcore/sdk/4.2.2/src/common/flowcore-client.js +0 -182
- package/script/deps/jsr.io/@flowcore/sdk/4.2.2/src/common/notification-client.d.ts +0 -99
- package/script/deps/jsr.io/@flowcore/sdk/4.2.2/src/common/notification-client.d.ts.map +0 -1
- package/script/deps/jsr.io/@flowcore/sdk/4.2.2/src/common/notification-client.js +0 -288
- package/script/deps/jsr.io/@flowcore/sdk/4.2.2/src/common/tenant.cache.d.ts +0 -11
- package/script/deps/jsr.io/@flowcore/sdk/4.2.2/src/common/tenant.cache.d.ts.map +0 -1
- package/script/deps/jsr.io/@flowcore/sdk/4.2.2/src/common/tenant.cache.js +0 -5
- package/script/deps/jsr.io/@flowcore/sdk/4.2.2/src/common/websocket-client.d.ts +0 -109
- package/script/deps/jsr.io/@flowcore/sdk/4.2.2/src/common/websocket-client.d.ts.map +0 -1
- package/script/deps/jsr.io/@flowcore/sdk/4.2.2/src/common/websocket-client.js +0 -434
- package/script/deps/jsr.io/@flowcore/sdk/4.2.2/src/common/websocket-command.d.ts +0 -54
- package/script/deps/jsr.io/@flowcore/sdk/4.2.2/src/common/websocket-command.d.ts.map +0 -1
- package/script/deps/jsr.io/@flowcore/sdk/4.2.2/src/common/websocket-command.js +0 -2
- package/script/deps/jsr.io/@flowcore/sdk/4.2.2/src/contracts/ai-agent-coordinator-stream.d.ts +0 -101
- package/script/deps/jsr.io/@flowcore/sdk/4.2.2/src/contracts/ai-agent-coordinator-stream.d.ts.map +0 -1
- package/script/deps/jsr.io/@flowcore/sdk/4.2.2/src/contracts/ai-agent-coordinator-stream.js +0 -2
- package/script/deps/jsr.io/@flowcore/sdk/4.2.2/src/contracts/ai-agent-coordinator.d.ts +0 -41
- package/script/deps/jsr.io/@flowcore/sdk/4.2.2/src/contracts/ai-agent-coordinator.d.ts.map +0 -1
- package/script/deps/jsr.io/@flowcore/sdk/4.2.2/src/contracts/ai-agent-coordinator.js +0 -2
- package/script/deps/jsr.io/@flowcore/sdk/4.2.2/src/contracts/api-key.d.ts +0 -47
- package/script/deps/jsr.io/@flowcore/sdk/4.2.2/src/contracts/api-key.d.ts.map +0 -1
- package/script/deps/jsr.io/@flowcore/sdk/4.2.2/src/contracts/api-key.js +0 -37
- package/script/deps/jsr.io/@flowcore/sdk/4.2.2/src/contracts/aws-marketplace.d.ts +0 -115
- package/script/deps/jsr.io/@flowcore/sdk/4.2.2/src/contracts/aws-marketplace.d.ts.map +0 -1
- package/script/deps/jsr.io/@flowcore/sdk/4.2.2/src/contracts/aws-marketplace.js +0 -84
- package/script/deps/jsr.io/@flowcore/sdk/4.2.2/src/contracts/container.d.ts +0 -23
- package/script/deps/jsr.io/@flowcore/sdk/4.2.2/src/contracts/container.d.ts.map +0 -1
- package/script/deps/jsr.io/@flowcore/sdk/4.2.2/src/contracts/container.js +0 -21
- package/script/deps/jsr.io/@flowcore/sdk/4.2.2/src/contracts/data-core.d.ts +0 -39
- package/script/deps/jsr.io/@flowcore/sdk/4.2.2/src/contracts/data-core.d.ts.map +0 -1
- package/script/deps/jsr.io/@flowcore/sdk/4.2.2/src/contracts/data-core.js +0 -34
- package/script/deps/jsr.io/@flowcore/sdk/4.2.2/src/contracts/data-pathways.d.ts +0 -365
- package/script/deps/jsr.io/@flowcore/sdk/4.2.2/src/contracts/data-pathways.d.ts.map +0 -1
- package/script/deps/jsr.io/@flowcore/sdk/4.2.2/src/contracts/data-pathways.js +0 -360
- package/script/deps/jsr.io/@flowcore/sdk/4.2.2/src/contracts/event-type.d.ts +0 -174
- package/script/deps/jsr.io/@flowcore/sdk/4.2.2/src/contracts/event-type.d.ts.map +0 -1
- package/script/deps/jsr.io/@flowcore/sdk/4.2.2/src/contracts/event-type.js +0 -153
- package/script/deps/jsr.io/@flowcore/sdk/4.2.2/src/contracts/event.d.ts +0 -47
- package/script/deps/jsr.io/@flowcore/sdk/4.2.2/src/contracts/event.d.ts.map +0 -1
- package/script/deps/jsr.io/@flowcore/sdk/4.2.2/src/contracts/event.js +0 -18
- package/script/deps/jsr.io/@flowcore/sdk/4.2.2/src/contracts/flow-type.d.ts +0 -17
- package/script/deps/jsr.io/@flowcore/sdk/4.2.2/src/contracts/flow-type.d.ts.map +0 -1
- package/script/deps/jsr.io/@flowcore/sdk/4.2.2/src/contracts/flow-type.js +0 -15
- package/script/deps/jsr.io/@flowcore/sdk/4.2.2/src/contracts/index.d.ts +0 -17
- package/script/deps/jsr.io/@flowcore/sdk/4.2.2/src/contracts/index.d.ts.map +0 -1
- package/script/deps/jsr.io/@flowcore/sdk/4.2.2/src/contracts/index.js +0 -23
- package/script/deps/jsr.io/@flowcore/sdk/4.2.2/src/contracts/legacy-scenario.d.ts +0 -108
- package/script/deps/jsr.io/@flowcore/sdk/4.2.2/src/contracts/legacy-scenario.d.ts.map +0 -1
- package/script/deps/jsr.io/@flowcore/sdk/4.2.2/src/contracts/legacy-scenario.js +0 -114
- package/script/deps/jsr.io/@flowcore/sdk/4.2.2/src/contracts/pat.d.ts +0 -16
- package/script/deps/jsr.io/@flowcore/sdk/4.2.2/src/contracts/pat.d.ts.map +0 -1
- package/script/deps/jsr.io/@flowcore/sdk/4.2.2/src/contracts/pat.js +0 -14
- package/script/deps/jsr.io/@flowcore/sdk/4.2.2/src/contracts/permission.d.ts +0 -22
- package/script/deps/jsr.io/@flowcore/sdk/4.2.2/src/contracts/permission.d.ts.map +0 -1
- package/script/deps/jsr.io/@flowcore/sdk/4.2.2/src/contracts/permission.js +0 -20
- package/script/deps/jsr.io/@flowcore/sdk/4.2.2/src/contracts/scenario.d.ts +0 -18
- package/script/deps/jsr.io/@flowcore/sdk/4.2.2/src/contracts/scenario.d.ts.map +0 -1
- package/script/deps/jsr.io/@flowcore/sdk/4.2.2/src/contracts/scenario.js +0 -23
- package/script/deps/jsr.io/@flowcore/sdk/4.2.2/src/contracts/secret.d.ts +0 -16
- package/script/deps/jsr.io/@flowcore/sdk/4.2.2/src/contracts/secret.d.ts.map +0 -1
- package/script/deps/jsr.io/@flowcore/sdk/4.2.2/src/contracts/secret.js +0 -14
- package/script/deps/jsr.io/@flowcore/sdk/4.2.2/src/contracts/service-account.d.ts +0 -55
- package/script/deps/jsr.io/@flowcore/sdk/4.2.2/src/contracts/service-account.d.ts.map +0 -1
- package/script/deps/jsr.io/@flowcore/sdk/4.2.2/src/contracts/service-account.js +0 -45
- package/script/deps/jsr.io/@flowcore/sdk/4.2.2/src/contracts/tenant.d.ts +0 -100
- package/script/deps/jsr.io/@flowcore/sdk/4.2.2/src/contracts/tenant.d.ts.map +0 -1
- package/script/deps/jsr.io/@flowcore/sdk/4.2.2/src/contracts/tenant.js +0 -76
- package/script/deps/jsr.io/@flowcore/sdk/4.2.2/src/contracts/variable.d.ts +0 -17
- package/script/deps/jsr.io/@flowcore/sdk/4.2.2/src/contracts/variable.d.ts.map +0 -1
- package/script/deps/jsr.io/@flowcore/sdk/4.2.2/src/contracts/variable.js +0 -15
- package/script/deps/jsr.io/@flowcore/sdk/4.2.2/src/exceptions/client-error.d.ts +0 -10
- package/script/deps/jsr.io/@flowcore/sdk/4.2.2/src/exceptions/client-error.d.ts.map +0 -1
- package/script/deps/jsr.io/@flowcore/sdk/4.2.2/src/exceptions/client-error.js +0 -30
- package/script/deps/jsr.io/@flowcore/sdk/4.2.2/src/exceptions/command-error.d.ts +0 -7
- package/script/deps/jsr.io/@flowcore/sdk/4.2.2/src/exceptions/command-error.d.ts.map +0 -1
- package/script/deps/jsr.io/@flowcore/sdk/4.2.2/src/exceptions/command-error.js +0 -12
- package/script/deps/jsr.io/@flowcore/sdk/4.2.2/src/exceptions/index.d.ts +0 -5
- package/script/deps/jsr.io/@flowcore/sdk/4.2.2/src/exceptions/index.d.ts.map +0 -1
- package/script/deps/jsr.io/@flowcore/sdk/4.2.2/src/exceptions/index.js +0 -20
- package/script/deps/jsr.io/@flowcore/sdk/4.2.2/src/exceptions/invalid-response.d.ts +0 -8
- package/script/deps/jsr.io/@flowcore/sdk/4.2.2/src/exceptions/invalid-response.d.ts.map +0 -1
- package/script/deps/jsr.io/@flowcore/sdk/4.2.2/src/exceptions/invalid-response.js +0 -20
- package/script/deps/jsr.io/@flowcore/sdk/4.2.2/src/exceptions/not-found.d.ts +0 -7
- package/script/deps/jsr.io/@flowcore/sdk/4.2.2/src/exceptions/not-found.d.ts.map +0 -1
- package/script/deps/jsr.io/@flowcore/sdk/4.2.2/src/exceptions/not-found.js +0 -12
- package/script/deps/jsr.io/@flowcore/sdk/4.2.2/src/mod.d.ts +0 -14
- package/script/deps/jsr.io/@flowcore/sdk/4.2.2/src/mod.d.ts.map +0 -1
- package/script/deps/jsr.io/@flowcore/sdk/4.2.2/src/mod.js +0 -32
- package/script/deps/jsr.io/@flowcore/sdk/4.2.2/src/utils/local-cache.d.ts +0 -11
- package/script/deps/jsr.io/@flowcore/sdk/4.2.2/src/utils/local-cache.d.ts.map +0 -1
- package/script/deps/jsr.io/@flowcore/sdk/4.2.2/src/utils/local-cache.js +0 -49
- package/script/deps/jsr.io/@flowcore/sdk/4.2.2/src/utils/logger.d.ts +0 -8
- package/script/deps/jsr.io/@flowcore/sdk/4.2.2/src/utils/logger.d.ts.map +0 -1
- package/script/deps/jsr.io/@flowcore/sdk/4.2.2/src/utils/logger.js +0 -17
- package/script/deps/jsr.io/@flowcore/sdk/4.2.2/src/utils/parse-response-helper.d.ts +0 -6
- package/script/deps/jsr.io/@flowcore/sdk/4.2.2/src/utils/parse-response-helper.d.ts.map +0 -1
- package/script/deps/jsr.io/@flowcore/sdk/4.2.2/src/utils/parse-response-helper.js +0 -20
- package/script/deps/jsr.io/@flowcore/sdk/4.2.2/src/utils/try-catch.d.ts +0 -12
- package/script/deps/jsr.io/@flowcore/sdk/4.2.2/src/utils/try-catch.d.ts.map +0 -1
- package/script/deps/jsr.io/@flowcore/sdk/4.2.2/src/utils/try-catch.js +0 -13
- package/script/deps/jsr.io/@flowcore/time-uuid/0.1.2/src/lib/time-uuid.d.ts +0 -87
- package/script/deps/jsr.io/@flowcore/time-uuid/0.1.2/src/lib/time-uuid.d.ts.map +0 -1
- package/script/deps/jsr.io/@flowcore/time-uuid/0.1.2/src/lib/time-uuid.js +0 -289
- package/script/deps/jsr.io/@flowcore/time-uuid/0.1.2/src/lib/uuid.d.ts +0 -51
- package/script/deps/jsr.io/@flowcore/time-uuid/0.1.2/src/lib/uuid.d.ts.map +0 -1
- package/script/deps/jsr.io/@flowcore/time-uuid/0.1.2/src/lib/uuid.js +0 -157
- package/script/deps/jsr.io/@flowcore/time-uuid/0.1.2/src/mod.d.ts +0 -3
- package/script/deps/jsr.io/@flowcore/time-uuid/0.1.2/src/mod.d.ts.map +0 -1
- package/script/deps/jsr.io/@flowcore/time-uuid/0.1.2/src/mod.js +0 -18
- package/script/mod.d.ts +0 -12
- package/script/mod.d.ts.map +0 -1
- package/script/mod.js +0 -27
- package/script/package.json +0 -3
package/dist/mod.js
ADDED
|
@@ -0,0 +1,2365 @@
|
|
|
1
|
+
// src/data-pump/data-pump.ts
|
|
2
|
+
import { utc } from "@date-fns/utc";
|
|
3
|
+
import { TimeUuid } from "@flowcore/time-uuid";
|
|
4
|
+
import { format, startOfHour } from "date-fns";
|
|
5
|
+
|
|
6
|
+
// src/data-pump/data-source.ts
|
|
7
|
+
import {
|
|
8
|
+
DataCoreFetchCommand,
|
|
9
|
+
EventListCommand,
|
|
10
|
+
EventTypeListCommand,
|
|
11
|
+
FlowTypeFetchCommand,
|
|
12
|
+
TenantTranslateNameToIdCommand,
|
|
13
|
+
TimeBucketListCommand
|
|
14
|
+
} from "@flowcore/sdk";
|
|
15
|
+
|
|
16
|
+
// src/data-pump/flowcore-client.ts
|
|
17
|
+
import { FlowcoreClient } from "@flowcore/sdk";
|
|
18
|
+
|
|
19
|
+
// src/data-pump/metrics.ts
|
|
20
|
+
import { Counter, Gauge, Histogram, register as defaultPromRegistry, Registry } from "prom-client";
|
|
21
|
+
var dataPumpPromRegistry = new Registry();
|
|
22
|
+
var SOURCE_LABELS = ["tenant", "data_core", "flow_type"];
|
|
23
|
+
var EVENT_SOURCE_LABELS = [...SOURCE_LABELS, "event_type"];
|
|
24
|
+
var REPLAY_DURATION_BUCKETS_SECONDS = [
|
|
25
|
+
5e-3,
|
|
26
|
+
0.01,
|
|
27
|
+
0.025,
|
|
28
|
+
0.05,
|
|
29
|
+
0.1,
|
|
30
|
+
0.25,
|
|
31
|
+
0.5,
|
|
32
|
+
1,
|
|
33
|
+
2,
|
|
34
|
+
5,
|
|
35
|
+
10,
|
|
36
|
+
20,
|
|
37
|
+
30,
|
|
38
|
+
60,
|
|
39
|
+
120
|
|
40
|
+
];
|
|
41
|
+
var REPLAY_EVENT_COUNT_BUCKETS = [1, 10, 50, 100, 250, 500, 1e3, 2e3, 5e3, 1e4];
|
|
42
|
+
var REPLAY_BATCH_SIZE_BUCKETS = ["empty", "1", "2-10", "11-100", "101-1000", "1001+"];
|
|
43
|
+
var REPLAY_FETCH_RESULTS = ["success", "no_events", "error"];
|
|
44
|
+
var REPLAY_STAGE_RESULTS = ["success", "error"];
|
|
45
|
+
var REPLAY_IDLE_REASONS = ["no_events", "buffer_full", "waiting_for_events"];
|
|
46
|
+
function replayBatchSizeBucket(size) {
|
|
47
|
+
if (size <= 0) return "empty";
|
|
48
|
+
if (size === 1) return "1";
|
|
49
|
+
if (size <= 10) return "2-10";
|
|
50
|
+
if (size <= 100) return "11-100";
|
|
51
|
+
if (size <= 1e3) return "101-1000";
|
|
52
|
+
return "1001+";
|
|
53
|
+
}
|
|
54
|
+
function createDataPumpMetrics(registry, includeDefaultRegistry = false) {
|
|
55
|
+
const registers = includeDefaultRegistry ? [registry, defaultPromRegistry] : [registry];
|
|
56
|
+
const bufferEventCountGauge = new Gauge({
|
|
57
|
+
name: "flowcore_data_pump_buffer_events_gauge",
|
|
58
|
+
help: "The number of events in the buffer",
|
|
59
|
+
labelNames: EVENT_SOURCE_LABELS,
|
|
60
|
+
registers
|
|
61
|
+
});
|
|
62
|
+
const bufferReservedEventCountGauge = new Gauge({
|
|
63
|
+
name: "flowcore_data_pump_buffer_reserved_events_gauge",
|
|
64
|
+
help: "The number of reserved events in the buffer",
|
|
65
|
+
labelNames: EVENT_SOURCE_LABELS,
|
|
66
|
+
registers
|
|
67
|
+
});
|
|
68
|
+
const bufferSizeBytesGauge = new Gauge({
|
|
69
|
+
name: "flowcore_data_pump_buffer_size_bytes_gauge",
|
|
70
|
+
help: "The size of the buffer in bytes",
|
|
71
|
+
labelNames: EVENT_SOURCE_LABELS,
|
|
72
|
+
registers
|
|
73
|
+
});
|
|
74
|
+
const eventsAcknowledgedCounter = new Counter({
|
|
75
|
+
name: "flowcore_data_pump_events_acknowledged_counter",
|
|
76
|
+
help: "The number of events acknowledged",
|
|
77
|
+
labelNames: EVENT_SOURCE_LABELS,
|
|
78
|
+
registers
|
|
79
|
+
});
|
|
80
|
+
const eventsFailedCounter = new Counter({
|
|
81
|
+
name: "flowcore_data_pump_events_failed_counter",
|
|
82
|
+
help: "The number of events failed",
|
|
83
|
+
labelNames: EVENT_SOURCE_LABELS,
|
|
84
|
+
registers
|
|
85
|
+
});
|
|
86
|
+
const eventsPulledSizeBytesCounter = new Counter({
|
|
87
|
+
name: "flowcore_data_pump_events_pulled_size_bytes_counter",
|
|
88
|
+
help: "The size of the events pulled in bytes",
|
|
89
|
+
labelNames: EVENT_SOURCE_LABELS,
|
|
90
|
+
registers
|
|
91
|
+
});
|
|
92
|
+
const sdkCommandsCounter = new Counter({
|
|
93
|
+
name: "flowcore_data_pump_sdk_commands_counter",
|
|
94
|
+
help: "The number of SDK commands",
|
|
95
|
+
labelNames: ["command"],
|
|
96
|
+
registers
|
|
97
|
+
});
|
|
98
|
+
const replayFetchDuration = new Histogram({
|
|
99
|
+
name: "flowcore_data_pump_replay_fetch_duration_seconds",
|
|
100
|
+
help: "Replay event fetch duration in seconds",
|
|
101
|
+
labelNames: [...SOURCE_LABELS, "result"],
|
|
102
|
+
buckets: [...REPLAY_DURATION_BUCKETS_SECONDS],
|
|
103
|
+
registers
|
|
104
|
+
});
|
|
105
|
+
const replayFetchEvents = new Histogram({
|
|
106
|
+
name: "flowcore_data_pump_replay_fetch_events",
|
|
107
|
+
help: "Number of events returned by a replay fetch",
|
|
108
|
+
labelNames: SOURCE_LABELS,
|
|
109
|
+
buckets: [...REPLAY_EVENT_COUNT_BUCKETS],
|
|
110
|
+
registers
|
|
111
|
+
});
|
|
112
|
+
const replayHandlerDuration = new Histogram({
|
|
113
|
+
name: "flowcore_data_pump_replay_handler_duration_seconds",
|
|
114
|
+
help: "Replay handler duration in seconds",
|
|
115
|
+
labelNames: [...SOURCE_LABELS, "result", "batch_size_bucket"],
|
|
116
|
+
buckets: [...REPLAY_DURATION_BUCKETS_SECONDS],
|
|
117
|
+
registers
|
|
118
|
+
});
|
|
119
|
+
const replayAcknowledgementDuration = new Histogram({
|
|
120
|
+
name: "flowcore_data_pump_replay_acknowledgement_duration_seconds",
|
|
121
|
+
help: "Replay acknowledgement duration in seconds, excluding checkpointing",
|
|
122
|
+
labelNames: [...SOURCE_LABELS, "result"],
|
|
123
|
+
buckets: [...REPLAY_DURATION_BUCKETS_SECONDS],
|
|
124
|
+
registers
|
|
125
|
+
});
|
|
126
|
+
const replayCheckpointDuration = new Histogram({
|
|
127
|
+
name: "flowcore_data_pump_replay_checkpoint_duration_seconds",
|
|
128
|
+
help: "Replay state checkpoint duration in seconds",
|
|
129
|
+
labelNames: [...SOURCE_LABELS, "result"],
|
|
130
|
+
buckets: [...REPLAY_DURATION_BUCKETS_SECONDS],
|
|
131
|
+
registers
|
|
132
|
+
});
|
|
133
|
+
const replayIdleDuration = new Histogram({
|
|
134
|
+
name: "flowcore_data_pump_replay_idle_duration_seconds",
|
|
135
|
+
help: "Time the replay loop spends idle",
|
|
136
|
+
labelNames: [...SOURCE_LABELS, "reason"],
|
|
137
|
+
buckets: [...REPLAY_DURATION_BUCKETS_SECONDS, 300],
|
|
138
|
+
registers
|
|
139
|
+
});
|
|
140
|
+
return {
|
|
141
|
+
bufferEventCountGauge,
|
|
142
|
+
bufferReservedEventCountGauge,
|
|
143
|
+
bufferSizeBytesGauge,
|
|
144
|
+
eventsAcknowledgedCounter,
|
|
145
|
+
eventsFailedCounter,
|
|
146
|
+
eventsPulledSizeBytesCounter,
|
|
147
|
+
sdkCommandsCounter,
|
|
148
|
+
replayFetchDuration,
|
|
149
|
+
replayFetchEvents,
|
|
150
|
+
replayHandlerDuration,
|
|
151
|
+
replayAcknowledgementDuration,
|
|
152
|
+
replayCheckpointDuration,
|
|
153
|
+
replayIdleDuration
|
|
154
|
+
};
|
|
155
|
+
}
|
|
156
|
+
var metrics = createDataPumpMetrics(dataPumpPromRegistry, true);
|
|
157
|
+
var ReplayStageObserver = class {
|
|
158
|
+
constructor(stageMetrics, source, now = () => performance.now()) {
|
|
159
|
+
this.stageMetrics = stageMetrics;
|
|
160
|
+
this.source = source;
|
|
161
|
+
this.now = now;
|
|
162
|
+
}
|
|
163
|
+
stageMetrics;
|
|
164
|
+
source;
|
|
165
|
+
now;
|
|
166
|
+
async observeFetch(operation) {
|
|
167
|
+
const startedAt = this.now();
|
|
168
|
+
try {
|
|
169
|
+
const result = await operation();
|
|
170
|
+
this.stageMetrics.replayFetchDuration.observe(
|
|
171
|
+
{ ...this.source, result: result.events.length ? "success" : "no_events" },
|
|
172
|
+
this.elapsedSeconds(startedAt)
|
|
173
|
+
);
|
|
174
|
+
this.stageMetrics.replayFetchEvents.observe(this.source, result.events.length);
|
|
175
|
+
return result;
|
|
176
|
+
} catch (error) {
|
|
177
|
+
this.stageMetrics.replayFetchDuration.observe({ ...this.source, result: "error" }, this.elapsedSeconds(startedAt));
|
|
178
|
+
throw error;
|
|
179
|
+
}
|
|
180
|
+
}
|
|
181
|
+
async observeHandler(events, operation) {
|
|
182
|
+
const startedAt = this.now();
|
|
183
|
+
const batchSize = replayBatchSizeBucket(events.length);
|
|
184
|
+
try {
|
|
185
|
+
const result = await operation();
|
|
186
|
+
this.stageMetrics.replayHandlerDuration.observe(
|
|
187
|
+
{ ...this.source, result: "success", batch_size_bucket: batchSize },
|
|
188
|
+
this.elapsedSeconds(startedAt)
|
|
189
|
+
);
|
|
190
|
+
return result;
|
|
191
|
+
} catch (error) {
|
|
192
|
+
this.stageMetrics.replayHandlerDuration.observe(
|
|
193
|
+
{ ...this.source, result: "error", batch_size_bucket: batchSize },
|
|
194
|
+
this.elapsedSeconds(startedAt)
|
|
195
|
+
);
|
|
196
|
+
throw error;
|
|
197
|
+
}
|
|
198
|
+
}
|
|
199
|
+
observeAcknowledgement(operation) {
|
|
200
|
+
const startedAt = this.now();
|
|
201
|
+
try {
|
|
202
|
+
const result = operation();
|
|
203
|
+
this.stageMetrics.replayAcknowledgementDuration.observe(
|
|
204
|
+
{ ...this.source, result: "success" },
|
|
205
|
+
this.elapsedSeconds(startedAt)
|
|
206
|
+
);
|
|
207
|
+
return result;
|
|
208
|
+
} catch (error) {
|
|
209
|
+
this.stageMetrics.replayAcknowledgementDuration.observe(
|
|
210
|
+
{ ...this.source, result: "error" },
|
|
211
|
+
this.elapsedSeconds(startedAt)
|
|
212
|
+
);
|
|
213
|
+
throw error;
|
|
214
|
+
}
|
|
215
|
+
}
|
|
216
|
+
observeCheckpoint(operation) {
|
|
217
|
+
return this.observeResult(this.stageMetrics.replayCheckpointDuration, operation);
|
|
218
|
+
}
|
|
219
|
+
async observeIdle(reason, operation) {
|
|
220
|
+
const startedAt = this.now();
|
|
221
|
+
try {
|
|
222
|
+
return await operation();
|
|
223
|
+
} finally {
|
|
224
|
+
this.stageMetrics.replayIdleDuration.observe({ ...this.source, reason }, this.elapsedSeconds(startedAt));
|
|
225
|
+
}
|
|
226
|
+
}
|
|
227
|
+
async observeResult(histogram, operation) {
|
|
228
|
+
const startedAt = this.now();
|
|
229
|
+
try {
|
|
230
|
+
const result = await operation();
|
|
231
|
+
histogram.observe({ ...this.source, result: "success" }, this.elapsedSeconds(startedAt));
|
|
232
|
+
return result;
|
|
233
|
+
} catch (error) {
|
|
234
|
+
histogram.observe({ ...this.source, result: "error" }, this.elapsedSeconds(startedAt));
|
|
235
|
+
throw error;
|
|
236
|
+
}
|
|
237
|
+
}
|
|
238
|
+
elapsedSeconds(startedAt) {
|
|
239
|
+
return Math.max(0, this.now() - startedAt) / 1e3;
|
|
240
|
+
}
|
|
241
|
+
};
|
|
242
|
+
var activeWorkersGauge = new Gauge({
|
|
243
|
+
name: "flowcore_data_pump_cluster_active_workers_gauge",
|
|
244
|
+
help: "The number of active worker connections"
|
|
245
|
+
});
|
|
246
|
+
var leaderStatusGauge = new Gauge({
|
|
247
|
+
name: "flowcore_data_pump_cluster_leader_status_gauge",
|
|
248
|
+
help: "Whether this instance is the leader (1) or not (0)"
|
|
249
|
+
});
|
|
250
|
+
var eventsDistributedCounter = new Counter({
|
|
251
|
+
name: "flowcore_data_pump_cluster_events_distributed_counter",
|
|
252
|
+
help: "The number of events distributed to workers"
|
|
253
|
+
});
|
|
254
|
+
var workerAcksCounter = new Counter({
|
|
255
|
+
name: "flowcore_data_pump_cluster_worker_acks_counter",
|
|
256
|
+
help: "The number of successful worker acknowledgements"
|
|
257
|
+
});
|
|
258
|
+
var workerFailsCounter = new Counter({
|
|
259
|
+
name: "flowcore_data_pump_cluster_worker_fails_counter",
|
|
260
|
+
help: "The number of failed worker deliveries"
|
|
261
|
+
});
|
|
262
|
+
dataPumpPromRegistry.registerMetric(activeWorkersGauge);
|
|
263
|
+
dataPumpPromRegistry.registerMetric(leaderStatusGauge);
|
|
264
|
+
dataPumpPromRegistry.registerMetric(eventsDistributedCounter);
|
|
265
|
+
dataPumpPromRegistry.registerMetric(workerAcksCounter);
|
|
266
|
+
dataPumpPromRegistry.registerMetric(workerFailsCounter);
|
|
267
|
+
var clusterMetrics = {
|
|
268
|
+
activeWorkersGauge,
|
|
269
|
+
leaderStatusGauge,
|
|
270
|
+
eventsDistributedCounter,
|
|
271
|
+
workerAcksCounter,
|
|
272
|
+
workerFailsCounter
|
|
273
|
+
};
|
|
274
|
+
|
|
275
|
+
// src/data-pump/flowcore-client.ts
|
|
276
|
+
var FlowcoreClientWithMetrics = class extends FlowcoreClient {
|
|
277
|
+
execute(command, directMode) {
|
|
278
|
+
metrics.sdkCommandsCounter.inc({ command: command.constructor.name }, 1);
|
|
279
|
+
return super.execute(command, directMode);
|
|
280
|
+
}
|
|
281
|
+
};
|
|
282
|
+
function getFlowcoreClient(auth, baseUrlOverride) {
|
|
283
|
+
const client = "apiKey" in auth ? new FlowcoreClientWithMetrics({
|
|
284
|
+
apiKey: auth.apiKey,
|
|
285
|
+
// apiKeyId is guaranteed to be set — FlowcoreDataPump.create() parses it from fc_ keys
|
|
286
|
+
apiKeyId: auth.apiKeyId
|
|
287
|
+
}) : new FlowcoreClientWithMetrics(auth);
|
|
288
|
+
if (baseUrlOverride) {
|
|
289
|
+
client.setBaseUrl(baseUrlOverride);
|
|
290
|
+
}
|
|
291
|
+
return client;
|
|
292
|
+
}
|
|
293
|
+
|
|
294
|
+
// src/data-pump/data-source.ts
|
|
295
|
+
var FlowcoreDataSource = class {
|
|
296
|
+
/**
|
|
297
|
+
* Creates a new FlowcoreDataSource instance
|
|
298
|
+
* @param options - Configuration options for the data source
|
|
299
|
+
*/
|
|
300
|
+
constructor(options) {
|
|
301
|
+
this.options = options;
|
|
302
|
+
this.flowcoreClient = getFlowcoreClient(this.options.auth, this.options.baseUrlOverride);
|
|
303
|
+
}
|
|
304
|
+
options;
|
|
305
|
+
/** Flowcore client instance */
|
|
306
|
+
flowcoreClient;
|
|
307
|
+
/** Cached tenant ID */
|
|
308
|
+
tenantId;
|
|
309
|
+
/** Cached data core ID */
|
|
310
|
+
dataCoreId;
|
|
311
|
+
/** Cached flow type ID */
|
|
312
|
+
flowTypeId;
|
|
313
|
+
/** Cached event type IDs */
|
|
314
|
+
eventTypeIds;
|
|
315
|
+
/** Cached time buckets */
|
|
316
|
+
timeBuckets;
|
|
317
|
+
/** Index for each cached bucket. */
|
|
318
|
+
timeBucketIndexes = /* @__PURE__ */ new Map();
|
|
319
|
+
/**
|
|
320
|
+
* Gets the tenant name from the data source configuration
|
|
321
|
+
* @returns Tenant name
|
|
322
|
+
*/
|
|
323
|
+
get tenant() {
|
|
324
|
+
return this.options.dataSource.tenant;
|
|
325
|
+
}
|
|
326
|
+
/**
|
|
327
|
+
* Gets the data core name from the data source configuration
|
|
328
|
+
* @returns Data core name
|
|
329
|
+
*/
|
|
330
|
+
get dataCore() {
|
|
331
|
+
return this.options.dataSource.dataCore;
|
|
332
|
+
}
|
|
333
|
+
/**
|
|
334
|
+
* Gets the flow type name from the data source configuration
|
|
335
|
+
* @returns Flow type name
|
|
336
|
+
*/
|
|
337
|
+
get flowType() {
|
|
338
|
+
return this.options.dataSource.flowType;
|
|
339
|
+
}
|
|
340
|
+
/**
|
|
341
|
+
* Gets the event type names from the data source configuration
|
|
342
|
+
* @returns Array of event type names
|
|
343
|
+
*/
|
|
344
|
+
get eventTypes() {
|
|
345
|
+
return this.options.dataSource.eventTypes;
|
|
346
|
+
}
|
|
347
|
+
/**
|
|
348
|
+
* Gets the tenant ID, translating from name if necessary
|
|
349
|
+
* @returns Promise that resolves to the tenant ID
|
|
350
|
+
*/
|
|
351
|
+
async getTenantId() {
|
|
352
|
+
if (this.tenantId) {
|
|
353
|
+
return this.tenantId;
|
|
354
|
+
}
|
|
355
|
+
if (this.options.noTranslation) {
|
|
356
|
+
this.tenantId = this.options.dataSource.tenant;
|
|
357
|
+
} else {
|
|
358
|
+
const command = new TenantTranslateNameToIdCommand({
|
|
359
|
+
tenant: this.options.dataSource.tenant
|
|
360
|
+
});
|
|
361
|
+
const result = await this.flowcoreClient.execute(command, this.options.directMode);
|
|
362
|
+
this.tenantId = result.id;
|
|
363
|
+
}
|
|
364
|
+
return this.tenantId;
|
|
365
|
+
}
|
|
366
|
+
/**
|
|
367
|
+
* Gets the data core ID, translating from name if necessary
|
|
368
|
+
* @returns Promise that resolves to the data core ID
|
|
369
|
+
*/
|
|
370
|
+
async getDataCoreId() {
|
|
371
|
+
if (this.dataCoreId) {
|
|
372
|
+
return this.dataCoreId;
|
|
373
|
+
}
|
|
374
|
+
if (this.options.noTranslation) {
|
|
375
|
+
this.dataCoreId = this.options.dataSource.dataCore;
|
|
376
|
+
} else {
|
|
377
|
+
const command = new DataCoreFetchCommand({
|
|
378
|
+
tenant: this.options.dataSource.tenant,
|
|
379
|
+
dataCore: this.options.dataSource.dataCore
|
|
380
|
+
});
|
|
381
|
+
const result = await this.flowcoreClient.execute(command, this.options.directMode);
|
|
382
|
+
this.dataCoreId = result.id;
|
|
383
|
+
}
|
|
384
|
+
return this.dataCoreId;
|
|
385
|
+
}
|
|
386
|
+
/**
|
|
387
|
+
* Gets the flow type ID, translating from name if necessary
|
|
388
|
+
* @returns Promise that resolves to the flow type ID
|
|
389
|
+
*/
|
|
390
|
+
async getFlowTypeId() {
|
|
391
|
+
if (this.flowTypeId) {
|
|
392
|
+
return this.flowTypeId;
|
|
393
|
+
}
|
|
394
|
+
if (this.options.noTranslation) {
|
|
395
|
+
this.flowTypeId = this.options.dataSource.flowType;
|
|
396
|
+
} else {
|
|
397
|
+
const command = new FlowTypeFetchCommand({
|
|
398
|
+
dataCoreId: await this.getDataCoreId(),
|
|
399
|
+
flowType: this.options.dataSource.flowType
|
|
400
|
+
});
|
|
401
|
+
const result = await this.flowcoreClient.execute(command, this.options.directMode);
|
|
402
|
+
this.flowTypeId = result.id;
|
|
403
|
+
}
|
|
404
|
+
return this.flowTypeId;
|
|
405
|
+
}
|
|
406
|
+
/**
|
|
407
|
+
* Gets the event type IDs, translating from names if necessary
|
|
408
|
+
* @returns Promise that resolves to an array of event type IDs
|
|
409
|
+
* @throws Error if an event type is not found
|
|
410
|
+
*/
|
|
411
|
+
async getEventTypeIds() {
|
|
412
|
+
if (this.eventTypeIds) {
|
|
413
|
+
return this.eventTypeIds;
|
|
414
|
+
}
|
|
415
|
+
if (this.options.noTranslation) {
|
|
416
|
+
this.eventTypeIds = this.options.dataSource.eventTypes;
|
|
417
|
+
} else {
|
|
418
|
+
const command = new EventTypeListCommand({
|
|
419
|
+
flowTypeId: await this.getFlowTypeId()
|
|
420
|
+
});
|
|
421
|
+
const results = await this.flowcoreClient.execute(command, this.options.directMode);
|
|
422
|
+
const eventTypeIds = [];
|
|
423
|
+
for (const eventType of this.eventTypes) {
|
|
424
|
+
const found = results.find((result) => result.name === eventType);
|
|
425
|
+
if (!found) {
|
|
426
|
+
throw new Error(`Event type ${eventType} not found`);
|
|
427
|
+
}
|
|
428
|
+
eventTypeIds.push(found.id);
|
|
429
|
+
}
|
|
430
|
+
this.eventTypeIds = eventTypeIds;
|
|
431
|
+
}
|
|
432
|
+
return this.eventTypeIds;
|
|
433
|
+
}
|
|
434
|
+
/**
|
|
435
|
+
* Gets all time buckets for the configured event types
|
|
436
|
+
* @param force - When true, forces a refresh of cached time buckets
|
|
437
|
+
* @returns Promise that resolves to an array of time bucket strings
|
|
438
|
+
*/
|
|
439
|
+
async getTimeBuckets(force = false) {
|
|
440
|
+
if (this.timeBuckets && !force) {
|
|
441
|
+
return this.timeBuckets;
|
|
442
|
+
}
|
|
443
|
+
let cursor;
|
|
444
|
+
const timeBuckets = [];
|
|
445
|
+
do {
|
|
446
|
+
const result = await this.flowcoreClient.execute(
|
|
447
|
+
new TimeBucketListCommand({
|
|
448
|
+
tenant: this.options.dataSource.tenant,
|
|
449
|
+
eventTypeId: await this.getEventTypeIds(),
|
|
450
|
+
cursor: cursor || void 0,
|
|
451
|
+
pageSize: 1e4,
|
|
452
|
+
order: "asc"
|
|
453
|
+
}),
|
|
454
|
+
this.options.directMode
|
|
455
|
+
);
|
|
456
|
+
timeBuckets.push(...result.timeBuckets);
|
|
457
|
+
cursor = result.nextCursor;
|
|
458
|
+
} while (cursor !== void 0);
|
|
459
|
+
const normalizedTimeBuckets = [...new Set(timeBuckets.sort())];
|
|
460
|
+
this.timeBuckets = normalizedTimeBuckets;
|
|
461
|
+
this.timeBucketIndexes = /* @__PURE__ */ new Map();
|
|
462
|
+
for (let index = 0; index < normalizedTimeBuckets.length; index++) {
|
|
463
|
+
this.timeBucketIndexes.set(normalizedTimeBuckets[index], index);
|
|
464
|
+
}
|
|
465
|
+
return this.timeBuckets;
|
|
466
|
+
}
|
|
467
|
+
lowerBoundTimeBucket(timeBucket) {
|
|
468
|
+
const timeBuckets = this.timeBuckets ?? [];
|
|
469
|
+
const target = Number.parseFloat(timeBucket);
|
|
470
|
+
let low = 0;
|
|
471
|
+
let high = timeBuckets.length;
|
|
472
|
+
while (low < high) {
|
|
473
|
+
const middle = low + Math.floor((high - low) / 2);
|
|
474
|
+
if (Number.parseFloat(timeBuckets[middle]) < target) low = middle + 1;
|
|
475
|
+
else high = middle;
|
|
476
|
+
}
|
|
477
|
+
return low;
|
|
478
|
+
}
|
|
479
|
+
upperBoundTimeBucket(timeBucket) {
|
|
480
|
+
const timeBuckets = this.timeBuckets ?? [];
|
|
481
|
+
const target = Number.parseFloat(timeBucket);
|
|
482
|
+
let low = 0;
|
|
483
|
+
let high = timeBuckets.length;
|
|
484
|
+
while (low < high) {
|
|
485
|
+
const middle = low + Math.floor((high - low) / 2);
|
|
486
|
+
if (Number.parseFloat(timeBuckets[middle]) <= target) low = middle + 1;
|
|
487
|
+
else high = middle;
|
|
488
|
+
}
|
|
489
|
+
return low;
|
|
490
|
+
}
|
|
491
|
+
/**
|
|
492
|
+
* Gets the next time bucket after the specified time bucket
|
|
493
|
+
* @param timeBucket - The reference time bucket
|
|
494
|
+
* @returns Promise that resolves to the next time bucket, or null if none exists
|
|
495
|
+
*/
|
|
496
|
+
async getNextTimeBucket(timeBucket) {
|
|
497
|
+
const closestTimeBucket = await this.getClosestTimeBucket(timeBucket);
|
|
498
|
+
if (!closestTimeBucket) {
|
|
499
|
+
return null;
|
|
500
|
+
}
|
|
501
|
+
const timeBuckets = await this.getTimeBuckets();
|
|
502
|
+
const index = this.timeBucketIndexes.get(closestTimeBucket);
|
|
503
|
+
if (index === void 0) {
|
|
504
|
+
throw new Error(`Could not get next timeBucket, timeBucket ${timeBucket} not found`);
|
|
505
|
+
}
|
|
506
|
+
return timeBuckets[index + 1] ?? null;
|
|
507
|
+
}
|
|
508
|
+
/**
|
|
509
|
+
* Gets the closest time bucket to the specified time bucket
|
|
510
|
+
* @param timeBucket - The reference time bucket
|
|
511
|
+
* @param getBefore - When true, gets the closest time bucket before the reference
|
|
512
|
+
* @returns Promise that resolves to the closest time bucket, or null if none exists
|
|
513
|
+
* @throws Error if the time bucket format is invalid
|
|
514
|
+
*/
|
|
515
|
+
async getClosestTimeBucket(timeBucket, getBefore = false) {
|
|
516
|
+
const timeBuckets = await this.getTimeBuckets();
|
|
517
|
+
if (!timeBucket.match(/^\d{14}$/)) {
|
|
518
|
+
throw new Error(`Invalid timebucket: ${timeBucket}`);
|
|
519
|
+
}
|
|
520
|
+
if (!timeBuckets.length) {
|
|
521
|
+
return null;
|
|
522
|
+
}
|
|
523
|
+
if (getBefore) {
|
|
524
|
+
const index = this.upperBoundTimeBucket(timeBucket) - 1;
|
|
525
|
+
return timeBuckets[index] ?? timeBuckets[timeBuckets.length - 1];
|
|
526
|
+
}
|
|
527
|
+
return timeBuckets[this.lowerBoundTimeBucket(timeBucket)] ?? timeBuckets[timeBuckets.length - 1];
|
|
528
|
+
}
|
|
529
|
+
/**
|
|
530
|
+
* Gets events from the data source starting from a specific state
|
|
531
|
+
* @param from - The state to start from (includes timeBucket and eventId)
|
|
532
|
+
* @param amount - Maximum number of events to retrieve
|
|
533
|
+
* @param toEventId - Optional ID to stop at when retrieving events
|
|
534
|
+
* @returns Promise that resolves to an array of Flowcore events
|
|
535
|
+
*/
|
|
536
|
+
async getEvents(from, amount, toEventId, cursor, includeSensitiveData = false) {
|
|
537
|
+
const eventTypeIds = await this.getEventTypeIds();
|
|
538
|
+
const result = await this.flowcoreClient.execute(
|
|
539
|
+
new EventListCommand({
|
|
540
|
+
tenant: this.options.dataSource.tenant,
|
|
541
|
+
eventTypeId: eventTypeIds,
|
|
542
|
+
timeBucket: from.timeBucket,
|
|
543
|
+
afterEventId: !cursor ? from.eventId : void 0,
|
|
544
|
+
pageSize: amount,
|
|
545
|
+
toEventId,
|
|
546
|
+
cursor,
|
|
547
|
+
includeSensitiveData
|
|
548
|
+
}),
|
|
549
|
+
this.options.directMode
|
|
550
|
+
);
|
|
551
|
+
return result;
|
|
552
|
+
}
|
|
553
|
+
};
|
|
554
|
+
|
|
555
|
+
// src/data-pump/notifier.ts
|
|
556
|
+
import { NotificationClient } from "@flowcore/sdk";
|
|
557
|
+
import { Subject } from "rxjs";
|
|
558
|
+
|
|
559
|
+
// src/data-pump/nats-connection.ts
|
|
560
|
+
import * as Nats from "nats";
|
|
561
|
+
var NatsConnectionManager = class {
|
|
562
|
+
constructor(servers, logger) {
|
|
563
|
+
this.servers = servers;
|
|
564
|
+
this.logger = logger;
|
|
565
|
+
}
|
|
566
|
+
servers;
|
|
567
|
+
logger;
|
|
568
|
+
connection;
|
|
569
|
+
connecting;
|
|
570
|
+
connect() {
|
|
571
|
+
if (this.connection && !this.connection.isClosed()) {
|
|
572
|
+
return Promise.resolve(this.connection);
|
|
573
|
+
}
|
|
574
|
+
if (this.connecting) {
|
|
575
|
+
return this.connecting;
|
|
576
|
+
}
|
|
577
|
+
this.connecting = (async () => {
|
|
578
|
+
this.logger?.debug("Connecting to NATS", { servers: this.servers });
|
|
579
|
+
const conn = await Nats.connect({ servers: this.servers });
|
|
580
|
+
this.connection = conn;
|
|
581
|
+
this.connecting = void 0;
|
|
582
|
+
this.logger?.info("Connected to NATS");
|
|
583
|
+
return conn;
|
|
584
|
+
})();
|
|
585
|
+
return this.connecting;
|
|
586
|
+
}
|
|
587
|
+
async close() {
|
|
588
|
+
if (this.connection && !this.connection.isClosed()) {
|
|
589
|
+
this.logger?.debug("Closing NATS connection");
|
|
590
|
+
await this.connection.drain();
|
|
591
|
+
this.connection = void 0;
|
|
592
|
+
}
|
|
593
|
+
this.connecting = void 0;
|
|
594
|
+
}
|
|
595
|
+
get isConnected() {
|
|
596
|
+
return !!this.connection && !this.connection.isClosed();
|
|
597
|
+
}
|
|
598
|
+
};
|
|
599
|
+
|
|
600
|
+
// src/data-pump/no-op-logger.ts
|
|
601
|
+
var noOpLogger = {
|
|
602
|
+
debug: () => {
|
|
603
|
+
},
|
|
604
|
+
info: () => {
|
|
605
|
+
},
|
|
606
|
+
warn: () => {
|
|
607
|
+
},
|
|
608
|
+
error: console.error
|
|
609
|
+
};
|
|
610
|
+
|
|
611
|
+
// src/data-pump/notifier.ts
|
|
612
|
+
var DEFAULT_TIMEOUT_MS = 2e4;
|
|
613
|
+
var FlowcoreNotifier = class {
|
|
614
|
+
constructor(options) {
|
|
615
|
+
this.options = options;
|
|
616
|
+
this.dataSource = new FlowcoreDataSource({
|
|
617
|
+
auth: this.options.auth,
|
|
618
|
+
dataSource: this.options.dataSource,
|
|
619
|
+
directMode: this.options.directMode,
|
|
620
|
+
noTranslation: this.options.noTranslation
|
|
621
|
+
});
|
|
622
|
+
if (this.options.natsConnectionManager) {
|
|
623
|
+
this.natsManager = this.options.natsConnectionManager;
|
|
624
|
+
} else if (this.options.natsServers) {
|
|
625
|
+
this.natsManager = new NatsConnectionManager(this.options.natsServers, this.options.logger);
|
|
626
|
+
}
|
|
627
|
+
}
|
|
628
|
+
options;
|
|
629
|
+
dataSource;
|
|
630
|
+
natsManager;
|
|
631
|
+
subject;
|
|
632
|
+
notificationClient;
|
|
633
|
+
eventResolver;
|
|
634
|
+
timer;
|
|
635
|
+
wait(signal) {
|
|
636
|
+
if (this.options.natsServers) {
|
|
637
|
+
return this.waitNats();
|
|
638
|
+
} else if (this.options.pollerIntervalMs) {
|
|
639
|
+
return this.waitPoller(this.options.pollerIntervalMs, signal);
|
|
640
|
+
}
|
|
641
|
+
return this.waitWebSocket(signal);
|
|
642
|
+
}
|
|
643
|
+
async waitPoller(intervalMs, signal) {
|
|
644
|
+
this.options.logger?.debug("Waiting for poller");
|
|
645
|
+
const promise = new Promise((resolve) => {
|
|
646
|
+
this.eventResolver = resolve;
|
|
647
|
+
});
|
|
648
|
+
signal?.addEventListener("abort", () => this.eventResolver?.());
|
|
649
|
+
setTimeout(() => this.eventResolver?.(), Math.min(intervalMs, 1e3));
|
|
650
|
+
await promise;
|
|
651
|
+
}
|
|
652
|
+
async waitNats(signal) {
|
|
653
|
+
this.options.logger?.debug("Waiting for nats");
|
|
654
|
+
const nats = await this.natsManager.connect();
|
|
655
|
+
const dataCoreId = await this.dataSource.getDataCoreId();
|
|
656
|
+
const topics = this.dataSource.eventTypes.map(
|
|
657
|
+
(eventType) => `stored.event.notify.0.${dataCoreId}.${this.dataSource.flowType}.${eventType}`
|
|
658
|
+
);
|
|
659
|
+
const promise = new Promise((resolve) => {
|
|
660
|
+
this.eventResolver = resolve;
|
|
661
|
+
});
|
|
662
|
+
const subscriptions = [];
|
|
663
|
+
for (const topic of topics) {
|
|
664
|
+
subscriptions.push(
|
|
665
|
+
nats.subscribe(topic, {
|
|
666
|
+
callback: () => {
|
|
667
|
+
this.options.logger?.debug(`Received event from nats: ${topic}`);
|
|
668
|
+
this.eventResolver?.();
|
|
669
|
+
}
|
|
670
|
+
})
|
|
671
|
+
);
|
|
672
|
+
}
|
|
673
|
+
clearTimeout(this.timer);
|
|
674
|
+
this.timer = setTimeout(() => this.eventResolver?.(), this.options.timeoutMs ?? DEFAULT_TIMEOUT_MS);
|
|
675
|
+
signal?.addEventListener("abort", () => this.eventResolver?.());
|
|
676
|
+
await promise;
|
|
677
|
+
this.options.logger?.debug("Unsubscribing from nats");
|
|
678
|
+
for (const subscription of subscriptions) {
|
|
679
|
+
subscription.unsubscribe();
|
|
680
|
+
}
|
|
681
|
+
}
|
|
682
|
+
onWebSocketEvent(event) {
|
|
683
|
+
if (this.dataSource.eventTypes.includes(event.data.eventType)) {
|
|
684
|
+
this.eventResolver?.();
|
|
685
|
+
}
|
|
686
|
+
}
|
|
687
|
+
async waitWebSocket(signal) {
|
|
688
|
+
this.options.logger?.debug("Waiting for web socket");
|
|
689
|
+
const promise = new Promise((resolve) => {
|
|
690
|
+
this.eventResolver = resolve;
|
|
691
|
+
});
|
|
692
|
+
this.subject = new Subject();
|
|
693
|
+
this.subject.subscribe({
|
|
694
|
+
next: this.onWebSocketEvent.bind(this),
|
|
695
|
+
error: (error) => {
|
|
696
|
+
this.options.logger?.error("Notification stream error:", { error });
|
|
697
|
+
this.eventResolver?.();
|
|
698
|
+
}
|
|
699
|
+
});
|
|
700
|
+
clearTimeout(this.timer);
|
|
701
|
+
this.timer = setTimeout(() => this.eventResolver?.(), this.options.timeoutMs ?? DEFAULT_TIMEOUT_MS);
|
|
702
|
+
signal?.addEventListener("abort", () => this.eventResolver?.());
|
|
703
|
+
this.notificationClient = _internals.createNotificationClient(
|
|
704
|
+
this.subject,
|
|
705
|
+
this.webSocketAuth(),
|
|
706
|
+
{
|
|
707
|
+
tenant: this.dataSource.tenant,
|
|
708
|
+
dataCore: this.dataSource.dataCore,
|
|
709
|
+
flowType: this.dataSource.flowType
|
|
710
|
+
},
|
|
711
|
+
{
|
|
712
|
+
logger: createNotificationClientLogger(this.options.logger ?? noOpLogger),
|
|
713
|
+
reconnectInterval: 1e3
|
|
714
|
+
}
|
|
715
|
+
);
|
|
716
|
+
const connectPromise = this.notificationClient.connect();
|
|
717
|
+
try {
|
|
718
|
+
await Promise.race([connectPromise, promise]);
|
|
719
|
+
await promise;
|
|
720
|
+
} finally {
|
|
721
|
+
connectPromise.catch(() => {
|
|
722
|
+
});
|
|
723
|
+
clearTimeout(this.timer);
|
|
724
|
+
this.eventResolver = void 0;
|
|
725
|
+
this.notificationClient.disconnect();
|
|
726
|
+
}
|
|
727
|
+
}
|
|
728
|
+
webSocketAuth() {
|
|
729
|
+
if ("apiKey" in this.options.auth) {
|
|
730
|
+
return {
|
|
731
|
+
apiKey: this.options.auth.apiKey,
|
|
732
|
+
// apiKeyId is guaranteed to be set — FlowcoreDataPump.create() parses it from fc_ keys
|
|
733
|
+
apiKeyId: this.options.auth.apiKeyId
|
|
734
|
+
};
|
|
735
|
+
}
|
|
736
|
+
const getBearerToken = this.options.auth.getBearerToken;
|
|
737
|
+
return {
|
|
738
|
+
oidcClient: {
|
|
739
|
+
getToken: async () => ({
|
|
740
|
+
accessToken: await getBearerToken()
|
|
741
|
+
})
|
|
742
|
+
}
|
|
743
|
+
};
|
|
744
|
+
}
|
|
745
|
+
};
|
|
746
|
+
function createNotificationClientLogger(logger) {
|
|
747
|
+
return {
|
|
748
|
+
debug: (message, metadata) => logger.debug(message, metadata),
|
|
749
|
+
info: (message, metadata) => {
|
|
750
|
+
if (isNormalNotificationLifecycleInfo(message)) {
|
|
751
|
+
logger.debug(message, metadata);
|
|
752
|
+
return;
|
|
753
|
+
}
|
|
754
|
+
logger.info(message, metadata);
|
|
755
|
+
},
|
|
756
|
+
warn: (message, metadata) => logger.warn(message, metadata),
|
|
757
|
+
error: (message, metadata) => logger.error(message, metadata)
|
|
758
|
+
};
|
|
759
|
+
}
|
|
760
|
+
function isNormalNotificationLifecycleInfo(message) {
|
|
761
|
+
return message === "WebSocket connection opened." || message.startsWith("Connection closed:");
|
|
762
|
+
}
|
|
763
|
+
var _internals = {
|
|
764
|
+
createNotificationClient: (...args) => new NotificationClient(...args)
|
|
765
|
+
};
|
|
766
|
+
|
|
767
|
+
// src/data-pump/pulse.ts
|
|
768
|
+
import { SendPumpPulseCommand } from "@flowcore/sdk";
|
|
769
|
+
var PulseEmitter = class {
|
|
770
|
+
constructor(options, getSnapshot) {
|
|
771
|
+
this.options = options;
|
|
772
|
+
this.getSnapshot = getSnapshot;
|
|
773
|
+
this.intervalMs = options.intervalMs ?? 3e4;
|
|
774
|
+
this.logger = options.logger;
|
|
775
|
+
this.successLogLevel = options.successLogLevel ?? "debug";
|
|
776
|
+
this.failureLogLevel = options.failureLogLevel ?? "warn";
|
|
777
|
+
}
|
|
778
|
+
options;
|
|
779
|
+
getSnapshot;
|
|
780
|
+
interval = null;
|
|
781
|
+
startTimeout = null;
|
|
782
|
+
intervalMs;
|
|
783
|
+
logger;
|
|
784
|
+
successLogLevel;
|
|
785
|
+
failureLogLevel;
|
|
786
|
+
start() {
|
|
787
|
+
if (this.interval || this.startTimeout) return;
|
|
788
|
+
const initialDelay = Math.floor(Math.random() * this.intervalMs);
|
|
789
|
+
this.startTimeout = setTimeout(() => {
|
|
790
|
+
this.startTimeout = null;
|
|
791
|
+
this.emitSafe();
|
|
792
|
+
this.interval = setInterval(() => this.emitSafe(), this.intervalMs);
|
|
793
|
+
}, initialDelay);
|
|
794
|
+
}
|
|
795
|
+
stop() {
|
|
796
|
+
if (this.startTimeout) {
|
|
797
|
+
clearTimeout(this.startTimeout);
|
|
798
|
+
this.startTimeout = null;
|
|
799
|
+
}
|
|
800
|
+
if (this.interval) {
|
|
801
|
+
clearInterval(this.interval);
|
|
802
|
+
this.interval = null;
|
|
803
|
+
}
|
|
804
|
+
}
|
|
805
|
+
emitSafe() {
|
|
806
|
+
this.emit().catch((err) => {
|
|
807
|
+
const snapshot = this.getSnapshot();
|
|
808
|
+
const msg = err instanceof Error ? err.message : String(err);
|
|
809
|
+
this.logger?.[this.failureLogLevel]?.("Pulse emission failed", {
|
|
810
|
+
error: msg,
|
|
811
|
+
url: this.options.url,
|
|
812
|
+
pathwayId: snapshot?.pathwayId,
|
|
813
|
+
flowType: snapshot?.flowType
|
|
814
|
+
});
|
|
815
|
+
});
|
|
816
|
+
}
|
|
817
|
+
async emit() {
|
|
818
|
+
const snapshot = this.getSnapshot();
|
|
819
|
+
if (!snapshot) return;
|
|
820
|
+
const client = getFlowcoreClient(this.options.auth, this.options.url);
|
|
821
|
+
const input = {
|
|
822
|
+
pathwayId: snapshot.pathwayId,
|
|
823
|
+
sourceId: snapshot.sourceId,
|
|
824
|
+
flowType: snapshot.flowType,
|
|
825
|
+
timeBucket: snapshot.timeBucket,
|
|
826
|
+
eventId: snapshot.eventId ?? null,
|
|
827
|
+
isLive: snapshot.isLive,
|
|
828
|
+
// Same widening as `sourceId` above: the CP accepts `paused`, the pinned sdk
|
|
829
|
+
// type does not declare it yet. The cast below absorbs it.
|
|
830
|
+
paused: snapshot.paused,
|
|
831
|
+
buffer: {
|
|
832
|
+
depth: snapshot.bufferDepth,
|
|
833
|
+
reserved: snapshot.bufferReserved,
|
|
834
|
+
sizeBytes: snapshot.bufferSizeBytes
|
|
835
|
+
},
|
|
836
|
+
counters: {
|
|
837
|
+
acknowledged: snapshot.acknowledgedTotal,
|
|
838
|
+
failed: snapshot.failedTotal,
|
|
839
|
+
pulled: snapshot.pulledTotal
|
|
840
|
+
},
|
|
841
|
+
uptimeMs: snapshot.uptimeMs
|
|
842
|
+
};
|
|
843
|
+
await client.execute(new SendPumpPulseCommand(input));
|
|
844
|
+
this.logger?.[this.successLogLevel]?.("Pulse sent", {
|
|
845
|
+
pathwayId: snapshot.pathwayId,
|
|
846
|
+
flowType: snapshot.flowType,
|
|
847
|
+
timeBucket: snapshot.timeBucket,
|
|
848
|
+
isLive: snapshot.isLive,
|
|
849
|
+
bufferDepth: snapshot.bufferDepth
|
|
850
|
+
});
|
|
851
|
+
}
|
|
852
|
+
};
|
|
853
|
+
|
|
854
|
+
// src/data-pump/data-pump.ts
|
|
855
|
+
var textEncoder = new TextEncoder();
|
|
856
|
+
var FlowcoreDataPump = class _FlowcoreDataPump {
|
|
857
|
+
constructor(dataSource, notifier, stateManager, options, logger) {
|
|
858
|
+
this.dataSource = dataSource;
|
|
859
|
+
this.notifier = notifier;
|
|
860
|
+
this.stateManager = stateManager;
|
|
861
|
+
this.options = options;
|
|
862
|
+
this.logger = logger;
|
|
863
|
+
this.replayObserver = new ReplayStageObserver(metrics, {
|
|
864
|
+
tenant: this.dataSource.tenant,
|
|
865
|
+
data_core: this.dataSource.dataCore,
|
|
866
|
+
flow_type: this.dataSource.flowType
|
|
867
|
+
});
|
|
868
|
+
for (const eventType of this.dataSource.eventTypes) {
|
|
869
|
+
this.bufferStats.set(eventType, { eventCount: 0, eventReservedCount: 0, eventSizeBytes: 0 });
|
|
870
|
+
}
|
|
871
|
+
this.bufferState = {
|
|
872
|
+
timeBucket: format(startOfHour(utc(/* @__PURE__ */ new Date())), "yyyyMMddHH0000"),
|
|
873
|
+
eventId: TimeUuid.now().toString()
|
|
874
|
+
};
|
|
875
|
+
}
|
|
876
|
+
dataSource;
|
|
877
|
+
notifier;
|
|
878
|
+
stateManager;
|
|
879
|
+
options;
|
|
880
|
+
logger;
|
|
881
|
+
nextCursor;
|
|
882
|
+
running = false;
|
|
883
|
+
// Delivery pause. Independent of `running`: a paused pump keeps fetching, keeps its
|
|
884
|
+
// buffer, keeps its cursor and keeps emitting pulses — it only stops handing events
|
|
885
|
+
// to the processor. The flag is sticky across `restart()` and `stop()`/`start()`, so
|
|
886
|
+
// a repositioned or bounced pump stays paused until `resume()` is called.
|
|
887
|
+
paused = false;
|
|
888
|
+
restartTo;
|
|
889
|
+
// Invalidates delivery work that crossed a stop/restart boundary. Event IDs
|
|
890
|
+
// can reappear during replay, so `running` alone cannot identify the owner.
|
|
891
|
+
processLoopGeneration = 0;
|
|
892
|
+
activeProcessLoopGeneration;
|
|
893
|
+
processLoopBackoffGeneration;
|
|
894
|
+
processLoopRestartTimer;
|
|
895
|
+
abortController;
|
|
896
|
+
buffer = [];
|
|
897
|
+
bufferState;
|
|
898
|
+
stopAtState;
|
|
899
|
+
isLive = false;
|
|
900
|
+
finallyFailedHandler;
|
|
901
|
+
pulseEmitter;
|
|
902
|
+
startedAt = 0;
|
|
903
|
+
acknowledgedCount = 0;
|
|
904
|
+
failedCount = 0;
|
|
905
|
+
pulledCount = 0;
|
|
906
|
+
processLoopRestartAttempts = 0;
|
|
907
|
+
mainLoopRestartAttempts = 0;
|
|
908
|
+
replayObserver;
|
|
909
|
+
bufferStats = /* @__PURE__ */ new Map();
|
|
910
|
+
bufferReservedCount = 0;
|
|
911
|
+
bufferSizeBytes = 0;
|
|
912
|
+
gaugePublicationScheduled = false;
|
|
913
|
+
/**
|
|
914
|
+
* Whether delivery to the processor is currently paused.
|
|
915
|
+
* A paused pump is still running: it fetches, buffers and pulses.
|
|
916
|
+
*/
|
|
917
|
+
get isPaused() {
|
|
918
|
+
return this.paused;
|
|
919
|
+
}
|
|
920
|
+
get isRunning() {
|
|
921
|
+
return this.running;
|
|
922
|
+
}
|
|
923
|
+
getSnapshot() {
|
|
924
|
+
if (!this.running) return null;
|
|
925
|
+
return {
|
|
926
|
+
pathwayId: this.pulseEmitter ? "" : "",
|
|
927
|
+
// set by caller
|
|
928
|
+
flowType: this.dataSource.flowType,
|
|
929
|
+
timeBucket: this.bufferState.timeBucket,
|
|
930
|
+
eventId: this.bufferState.eventId,
|
|
931
|
+
isLive: this.isLive,
|
|
932
|
+
paused: this.paused,
|
|
933
|
+
bufferDepth: this.buffer.length,
|
|
934
|
+
bufferReserved: this.bufferReservedCount,
|
|
935
|
+
bufferSizeBytes: this.bufferSizeBytes,
|
|
936
|
+
acknowledgedTotal: this.acknowledgedCount,
|
|
937
|
+
failedTotal: this.failedCount,
|
|
938
|
+
pulledTotal: this.pulledCount,
|
|
939
|
+
uptimeMs: this.startedAt ? Date.now() - this.startedAt : 0
|
|
940
|
+
};
|
|
941
|
+
}
|
|
942
|
+
static create(options, dataSourceOverride) {
|
|
943
|
+
if ("apiKey" in options.auth && !options.auth.apiKeyId) {
|
|
944
|
+
const parts = options.auth.apiKey.split("_");
|
|
945
|
+
if (parts.length !== 3 || parts[0] !== "fc") {
|
|
946
|
+
throw new Error("Invalid API key");
|
|
947
|
+
}
|
|
948
|
+
options.auth.apiKeyId = parts[1];
|
|
949
|
+
}
|
|
950
|
+
const dataSource = dataSourceOverride ?? new FlowcoreDataSource({
|
|
951
|
+
auth: options.auth,
|
|
952
|
+
dataSource: options.dataSource,
|
|
953
|
+
baseUrlOverride: options.baseUrlOverride,
|
|
954
|
+
noTranslation: options.noTranslation,
|
|
955
|
+
directMode: options.directMode
|
|
956
|
+
});
|
|
957
|
+
const notifier = new FlowcoreNotifier({
|
|
958
|
+
auth: options.auth,
|
|
959
|
+
dataSource: options.dataSource,
|
|
960
|
+
natsServers: options.notifier?.type === "nats" ? options.notifier.servers : void 0,
|
|
961
|
+
pollerIntervalMs: options.notifier?.type === "poller" ? options.notifier.intervalMs : void 0,
|
|
962
|
+
logger: options.logger,
|
|
963
|
+
directMode: options.directMode,
|
|
964
|
+
noTranslation: options.noTranslation
|
|
965
|
+
});
|
|
966
|
+
const pump = new _FlowcoreDataPump(
|
|
967
|
+
dataSource,
|
|
968
|
+
notifier,
|
|
969
|
+
options.stateManager,
|
|
970
|
+
{
|
|
971
|
+
bufferSize: options.bufferSize ?? 1e3,
|
|
972
|
+
bufferThreshold: Math.ceil((options.bufferSize ?? 1e3) * 0.1),
|
|
973
|
+
maxRedeliveryCount: options.maxRedeliveryCount ?? 3,
|
|
974
|
+
achknowledgeTimeoutMs: options.achknowledgeTimeoutMs ?? 5e3,
|
|
975
|
+
includeSensitiveData: options.includeSensitiveData ?? false,
|
|
976
|
+
processor: options.processor,
|
|
977
|
+
stopAt: options.stopAt
|
|
978
|
+
},
|
|
979
|
+
options.logger
|
|
980
|
+
);
|
|
981
|
+
if (options.paused && options.processor) {
|
|
982
|
+
pump.paused = true;
|
|
983
|
+
}
|
|
984
|
+
if (options.pulse) {
|
|
985
|
+
const pathwayId = options.pulse.pathwayId;
|
|
986
|
+
const sourceId = options.pulse.sourceId;
|
|
987
|
+
pump.pulseEmitter = new PulseEmitter(
|
|
988
|
+
{
|
|
989
|
+
url: options.pulse.url,
|
|
990
|
+
intervalMs: options.pulse.intervalMs,
|
|
991
|
+
auth: options.auth,
|
|
992
|
+
logger: options.logger,
|
|
993
|
+
successLogLevel: options.pulse.successLogLevel,
|
|
994
|
+
failureLogLevel: options.pulse.failureLogLevel
|
|
995
|
+
},
|
|
996
|
+
() => {
|
|
997
|
+
const snapshot = pump.getSnapshot();
|
|
998
|
+
if (snapshot) {
|
|
999
|
+
snapshot.pathwayId = pathwayId;
|
|
1000
|
+
snapshot.sourceId = sourceId;
|
|
1001
|
+
}
|
|
1002
|
+
return snapshot;
|
|
1003
|
+
}
|
|
1004
|
+
);
|
|
1005
|
+
}
|
|
1006
|
+
return pump;
|
|
1007
|
+
}
|
|
1008
|
+
async start(callback) {
|
|
1009
|
+
this.isLive = false;
|
|
1010
|
+
if (this.running) {
|
|
1011
|
+
throw new Error("Data pump already running");
|
|
1012
|
+
}
|
|
1013
|
+
this.running = true;
|
|
1014
|
+
this.startedAt = Date.now();
|
|
1015
|
+
this.nextCursor = void 0;
|
|
1016
|
+
this.updateMetricsGauges(true);
|
|
1017
|
+
this.pulseEmitter?.start();
|
|
1018
|
+
const currentState = await this.stateManager.getState();
|
|
1019
|
+
const timeBucket = currentState ? await this.dataSource.getClosestTimeBucket(currentState.timeBucket) : format(startOfHour(utc(/* @__PURE__ */ new Date())), "yyyyMMddHH0000");
|
|
1020
|
+
this.bufferState = {
|
|
1021
|
+
timeBucket: timeBucket ?? format(startOfHour(utc(/* @__PURE__ */ new Date())), "yyyyMMddHH0000"),
|
|
1022
|
+
eventId: currentState ? currentState.eventId : TimeUuid.now().toString()
|
|
1023
|
+
};
|
|
1024
|
+
if (this.options.stopAt) {
|
|
1025
|
+
this.stopAtState = {
|
|
1026
|
+
timeBucket: await this.dataSource.getClosestTimeBucket(
|
|
1027
|
+
format(startOfHour(utc(this.options.stopAt)), "yyyyMMddHH0000"),
|
|
1028
|
+
true
|
|
1029
|
+
) ?? format(startOfHour(utc(/* @__PURE__ */ new Date())), "yyyyMMddHH0000"),
|
|
1030
|
+
eventId: TimeUuid.fromDate(this.options.stopAt).toString()
|
|
1031
|
+
};
|
|
1032
|
+
}
|
|
1033
|
+
if (this.options.processor) {
|
|
1034
|
+
this.startProcessLoop();
|
|
1035
|
+
}
|
|
1036
|
+
if (!callback) {
|
|
1037
|
+
return this.loop();
|
|
1038
|
+
}
|
|
1039
|
+
this.startMainLoop(callback);
|
|
1040
|
+
}
|
|
1041
|
+
startMainLoop(callback) {
|
|
1042
|
+
this.loop().then(() => {
|
|
1043
|
+
this.mainLoopRestartAttempts = 0;
|
|
1044
|
+
callback?.();
|
|
1045
|
+
}).catch((error) => {
|
|
1046
|
+
this.logger?.error("Error in fetch loop", { error });
|
|
1047
|
+
if (!this.running) {
|
|
1048
|
+
callback?.(error);
|
|
1049
|
+
return;
|
|
1050
|
+
}
|
|
1051
|
+
this.mainLoopRestartAttempts++;
|
|
1052
|
+
const delay = Math.min(1e3 * Math.pow(2, this.mainLoopRestartAttempts - 1), 3e4);
|
|
1053
|
+
this.logger?.warn(`Restarting fetch loop in ${delay}ms (attempt ${this.mainLoopRestartAttempts})`);
|
|
1054
|
+
setTimeout(() => {
|
|
1055
|
+
if (!this.running) {
|
|
1056
|
+
callback?.(error);
|
|
1057
|
+
return;
|
|
1058
|
+
}
|
|
1059
|
+
this.startMainLoop(callback);
|
|
1060
|
+
}, delay);
|
|
1061
|
+
});
|
|
1062
|
+
}
|
|
1063
|
+
restart(state, stopAt) {
|
|
1064
|
+
if (typeof state.timeBucket !== "string" || !state.timeBucket.match(/^\d{14}$/)) {
|
|
1065
|
+
throw new Error(`Invalid timebucket: ${state.timeBucket}`);
|
|
1066
|
+
}
|
|
1067
|
+
this.restartTo = state;
|
|
1068
|
+
if (stopAt !== void 0) {
|
|
1069
|
+
this.options.stopAt = stopAt ?? void 0;
|
|
1070
|
+
}
|
|
1071
|
+
this.isLive = false;
|
|
1072
|
+
this.stop(true);
|
|
1073
|
+
}
|
|
1074
|
+
/**
|
|
1075
|
+
* Pause delivery to the processor.
|
|
1076
|
+
*
|
|
1077
|
+
* The fetch loop keeps running and tops the buffer up to `bufferSize`, then blocks on
|
|
1078
|
+
* normal backpressure. The buffer, the cursor and the pulse emitter are untouched, so
|
|
1079
|
+
* the control plane still sees a live pump. An in-flight batch finishes its handler
|
|
1080
|
+
* and acknowledges, so the checkpoint stays accurate and nothing is redelivered
|
|
1081
|
+
* needlessly.
|
|
1082
|
+
*
|
|
1083
|
+
* Idempotent. A paused pump holds up to `bufferSize` events in memory.
|
|
1084
|
+
*/
|
|
1085
|
+
pause() {
|
|
1086
|
+
if (!this.options.processor) {
|
|
1087
|
+
this.logger?.warn("pause() ignored: this pump has no processor. Stop calling reserve() instead.");
|
|
1088
|
+
return;
|
|
1089
|
+
}
|
|
1090
|
+
if (this.paused) return;
|
|
1091
|
+
this.paused = true;
|
|
1092
|
+
this.logger?.info("Data pump paused");
|
|
1093
|
+
this.notifyEventWaiters(false);
|
|
1094
|
+
}
|
|
1095
|
+
/**
|
|
1096
|
+
* Resume delivery to the processor from the exact position where {@link pause} stopped it.
|
|
1097
|
+
* Idempotent.
|
|
1098
|
+
*/
|
|
1099
|
+
resume() {
|
|
1100
|
+
if (!this.paused) return;
|
|
1101
|
+
this.paused = false;
|
|
1102
|
+
if (this.processLoopRestartTimer) {
|
|
1103
|
+
clearTimeout(this.processLoopRestartTimer);
|
|
1104
|
+
this.processLoopRestartTimer = void 0;
|
|
1105
|
+
}
|
|
1106
|
+
this.processLoopBackoffGeneration = void 0;
|
|
1107
|
+
this.processLoopRestartAttempts = 0;
|
|
1108
|
+
this.logger?.info("Data pump resumed");
|
|
1109
|
+
this.ensureProcessLoop();
|
|
1110
|
+
}
|
|
1111
|
+
stop(isRestart = false) {
|
|
1112
|
+
this.running = false;
|
|
1113
|
+
this.processLoopGeneration++;
|
|
1114
|
+
this.activeProcessLoopGeneration = void 0;
|
|
1115
|
+
this.processLoopBackoffGeneration = void 0;
|
|
1116
|
+
if (this.processLoopRestartTimer) {
|
|
1117
|
+
clearTimeout(this.processLoopRestartTimer);
|
|
1118
|
+
this.processLoopRestartTimer = void 0;
|
|
1119
|
+
}
|
|
1120
|
+
this.processLoopRestartAttempts = 0;
|
|
1121
|
+
this.mainLoopRestartAttempts = 0;
|
|
1122
|
+
this.buffer = [];
|
|
1123
|
+
this.resetBufferStats();
|
|
1124
|
+
this.updateMetricsGauges(true);
|
|
1125
|
+
this.pulseEmitter?.stop();
|
|
1126
|
+
this.abortController?.abort();
|
|
1127
|
+
this.waiterBufferThreshold?.();
|
|
1128
|
+
this.notifyEventWaiters(!isRestart);
|
|
1129
|
+
}
|
|
1130
|
+
updateState(eventId) {
|
|
1131
|
+
const stateManager = this.stateManager;
|
|
1132
|
+
if (!stateManager.setState) {
|
|
1133
|
+
return;
|
|
1134
|
+
}
|
|
1135
|
+
const stateEventId = eventId ?? this.buffer[0]?.event.eventId;
|
|
1136
|
+
if (!stateEventId) {
|
|
1137
|
+
return;
|
|
1138
|
+
}
|
|
1139
|
+
const date = TimeUuid.fromString(stateEventId).getDate();
|
|
1140
|
+
const timeBucket = format(startOfHour(utc(date)), "yyyyMMddHH0000");
|
|
1141
|
+
return this.replayObserver.observeCheckpoint(() => stateManager.setState({ timeBucket, eventId: stateEventId }));
|
|
1142
|
+
}
|
|
1143
|
+
async loop() {
|
|
1144
|
+
do {
|
|
1145
|
+
this.ensureProcessLoop();
|
|
1146
|
+
const amountToFetch = this.options.bufferSize - this.buffer.length;
|
|
1147
|
+
if (amountToFetch <= 0) {
|
|
1148
|
+
this.logger?.info("Buffer is full, waiting for space");
|
|
1149
|
+
await this.replayObserver.observeIdle("buffer_full", () => this.waitForBufferThreshold());
|
|
1150
|
+
continue;
|
|
1151
|
+
}
|
|
1152
|
+
this.logger?.debug(`fetching ${amountToFetch} events from ${this.bufferState.timeBucket}(${this.nextCursor})`);
|
|
1153
|
+
const { events, nextCursor } = await this.replayObserver.observeFetch(
|
|
1154
|
+
() => this.dataSource.getEvents(
|
|
1155
|
+
this.bufferState,
|
|
1156
|
+
amountToFetch,
|
|
1157
|
+
this.stopAtState?.eventId,
|
|
1158
|
+
this.nextCursor,
|
|
1159
|
+
this.options.includeSensitiveData
|
|
1160
|
+
)
|
|
1161
|
+
);
|
|
1162
|
+
if (!this.running) {
|
|
1163
|
+
break;
|
|
1164
|
+
}
|
|
1165
|
+
this.logger?.debug(`fetched ${events.length} events`);
|
|
1166
|
+
this.pulledCount += events.length;
|
|
1167
|
+
this.mainLoopRestartAttempts = 0;
|
|
1168
|
+
this.addEventsToBuffer(events);
|
|
1169
|
+
this.nextCursor = nextCursor;
|
|
1170
|
+
this.updateMetricsGauges();
|
|
1171
|
+
events.length && this.notifyEventWaiters();
|
|
1172
|
+
this.bufferState.eventId = events[events.length - 1]?.eventId ?? this.bufferState.eventId;
|
|
1173
|
+
if (this.stopAtState?.timeBucket && this.bufferState.timeBucket >= this.stopAtState.timeBucket && !events.length) {
|
|
1174
|
+
this.logger?.info("Stopping at stopAt state");
|
|
1175
|
+
await this.waitForBufferEmpty();
|
|
1176
|
+
this.stop();
|
|
1177
|
+
break;
|
|
1178
|
+
}
|
|
1179
|
+
if (!this.nextCursor) {
|
|
1180
|
+
const timeBucket = await this.dataSource.getNextTimeBucket(this.bufferState.timeBucket);
|
|
1181
|
+
if (!this.running) {
|
|
1182
|
+
break;
|
|
1183
|
+
}
|
|
1184
|
+
if (timeBucket) {
|
|
1185
|
+
this.bufferState.timeBucket = timeBucket;
|
|
1186
|
+
} else {
|
|
1187
|
+
const previousTimeBucket = this.bufferState.timeBucket;
|
|
1188
|
+
this.bufferState.timeBucket = format(startOfHour(utc(/* @__PURE__ */ new Date())), "yyyyMMddHH0000");
|
|
1189
|
+
if (previousTimeBucket === this.bufferState.timeBucket && !events.length) {
|
|
1190
|
+
this.isLive = true;
|
|
1191
|
+
this.logger?.debug("Going live...");
|
|
1192
|
+
this.abortController = new AbortController();
|
|
1193
|
+
await this.replayObserver.observeIdle("no_events", () => this.notifier.wait(this.abortController.signal));
|
|
1194
|
+
} else if (this.isLive) {
|
|
1195
|
+
await this.replayObserver.observeIdle(
|
|
1196
|
+
"no_events",
|
|
1197
|
+
() => new Promise((resolve) => setTimeout(resolve, 1e3))
|
|
1198
|
+
);
|
|
1199
|
+
}
|
|
1200
|
+
}
|
|
1201
|
+
}
|
|
1202
|
+
} while (this.running);
|
|
1203
|
+
if (this.restartTo) {
|
|
1204
|
+
try {
|
|
1205
|
+
await this.dataSource.getTimeBuckets(true);
|
|
1206
|
+
this.restartTo.timeBucket = await this.dataSource.getClosestTimeBucket(this.restartTo.timeBucket) ?? format(startOfHour(utc(/* @__PURE__ */ new Date())), "yyyyMMddHH0000");
|
|
1207
|
+
this.nextCursor = void 0;
|
|
1208
|
+
this.bufferState = this.restartTo;
|
|
1209
|
+
this.restartTo = void 0;
|
|
1210
|
+
this.running = true;
|
|
1211
|
+
this.ensureProcessLoop();
|
|
1212
|
+
this.pulseEmitter?.start();
|
|
1213
|
+
return this.loop();
|
|
1214
|
+
} catch (error) {
|
|
1215
|
+
this.logger?.error("Failed to consume restartTo, dropping it", { error });
|
|
1216
|
+
this.restartTo = void 0;
|
|
1217
|
+
this.notifyEventWaiters();
|
|
1218
|
+
return;
|
|
1219
|
+
}
|
|
1220
|
+
}
|
|
1221
|
+
this.logger?.info("Data pump stopped");
|
|
1222
|
+
}
|
|
1223
|
+
// #region Puller
|
|
1224
|
+
reserve(amount) {
|
|
1225
|
+
return this.reserveInternal(amount);
|
|
1226
|
+
}
|
|
1227
|
+
async reserveInternal(amount, generation) {
|
|
1228
|
+
if (!this.running || generation !== void 0 && generation !== this.processLoopGeneration) {
|
|
1229
|
+
return [];
|
|
1230
|
+
}
|
|
1231
|
+
if (generation !== void 0 && this.paused) {
|
|
1232
|
+
return [];
|
|
1233
|
+
}
|
|
1234
|
+
const events = [];
|
|
1235
|
+
const deliveryId = crypto.randomUUID();
|
|
1236
|
+
for (const event of this.buffer) {
|
|
1237
|
+
if (event.status === "open") {
|
|
1238
|
+
event.status = "reserved";
|
|
1239
|
+
event.deliveryId = deliveryId;
|
|
1240
|
+
event.deliveryCount++;
|
|
1241
|
+
this.updateReservedStats(event, 1);
|
|
1242
|
+
events.push(event.event);
|
|
1243
|
+
event.eventSizeBytes ??= textEncoder.encode(JSON.stringify(event.event)).byteLength;
|
|
1244
|
+
this.incMetricsCounter("pulled", event.event.eventType, event.eventSizeBytes);
|
|
1245
|
+
if (events.length === amount) {
|
|
1246
|
+
break;
|
|
1247
|
+
}
|
|
1248
|
+
}
|
|
1249
|
+
}
|
|
1250
|
+
if (!events.length) {
|
|
1251
|
+
await this.waitForEvents(generation);
|
|
1252
|
+
return this.reserveInternal(amount, generation);
|
|
1253
|
+
}
|
|
1254
|
+
this.updateMetricsGauges();
|
|
1255
|
+
setTimeout(() => {
|
|
1256
|
+
void this.reOpen(
|
|
1257
|
+
events.map((event) => event.eventId),
|
|
1258
|
+
deliveryId
|
|
1259
|
+
).catch((error) => {
|
|
1260
|
+
this.logger?.error("Failed to reopen events after acknowledgement timeout", { error });
|
|
1261
|
+
});
|
|
1262
|
+
}, this.options.achknowledgeTimeoutMs);
|
|
1263
|
+
return events;
|
|
1264
|
+
}
|
|
1265
|
+
onFinalyFailed(handler) {
|
|
1266
|
+
this.finallyFailedHandler = handler;
|
|
1267
|
+
}
|
|
1268
|
+
async acknowledge(eventIds) {
|
|
1269
|
+
if (!this.running) {
|
|
1270
|
+
return;
|
|
1271
|
+
}
|
|
1272
|
+
const eventIdSet = new Set(eventIds);
|
|
1273
|
+
const checkpointEventId = this.replayObserver.observeAcknowledgement(() => {
|
|
1274
|
+
const lastEventInBuffer = this.buffer[this.buffer.length - 1];
|
|
1275
|
+
this.buffer = this.buffer.filter((event) => {
|
|
1276
|
+
if (eventIdSet.has(event.event.eventId)) {
|
|
1277
|
+
this.incMetricsCounter("acknowledged", event.event.eventType, 1);
|
|
1278
|
+
this.acknowledgedCount++;
|
|
1279
|
+
this.removeFromBufferStats(event);
|
|
1280
|
+
return false;
|
|
1281
|
+
}
|
|
1282
|
+
return true;
|
|
1283
|
+
});
|
|
1284
|
+
if (this.buffer.length <= this.options.bufferSize - this.options.bufferThreshold) {
|
|
1285
|
+
this.waiterBufferThreshold?.();
|
|
1286
|
+
}
|
|
1287
|
+
return this.buffer.length ? void 0 : lastEventInBuffer?.event.eventId;
|
|
1288
|
+
});
|
|
1289
|
+
this.updateMetricsGauges();
|
|
1290
|
+
try {
|
|
1291
|
+
await this.updateState(checkpointEventId);
|
|
1292
|
+
} finally {
|
|
1293
|
+
this.notifyBufferEmpty();
|
|
1294
|
+
}
|
|
1295
|
+
}
|
|
1296
|
+
async fail(eventIds) {
|
|
1297
|
+
if (!this.running || !eventIds.length) {
|
|
1298
|
+
return;
|
|
1299
|
+
}
|
|
1300
|
+
const lastEventInBuffer = this.buffer[this.buffer.length - 1];
|
|
1301
|
+
const eventIdSet = new Set(eventIds);
|
|
1302
|
+
const failedEvents = [];
|
|
1303
|
+
this.buffer = this.buffer.filter((event) => {
|
|
1304
|
+
if (eventIdSet.has(event.event.eventId)) {
|
|
1305
|
+
this.incMetricsCounter("failed", event.event.eventType, 1);
|
|
1306
|
+
this.failedCount++;
|
|
1307
|
+
failedEvents.push(event.event);
|
|
1308
|
+
this.removeFromBufferStats(event);
|
|
1309
|
+
return false;
|
|
1310
|
+
}
|
|
1311
|
+
return true;
|
|
1312
|
+
});
|
|
1313
|
+
this.logger?.info(`Failed ${failedEvents.length} events`);
|
|
1314
|
+
if (this.buffer.length <= this.options.bufferSize - this.options.bufferThreshold) {
|
|
1315
|
+
this.waiterBufferThreshold?.();
|
|
1316
|
+
}
|
|
1317
|
+
this.updateMetricsGauges();
|
|
1318
|
+
try {
|
|
1319
|
+
await this.options.processor?.failedHandler?.(failedEvents);
|
|
1320
|
+
await this.updateState(this.buffer.length ? void 0 : lastEventInBuffer?.event.eventId);
|
|
1321
|
+
} finally {
|
|
1322
|
+
this.notifyBufferEmpty();
|
|
1323
|
+
}
|
|
1324
|
+
}
|
|
1325
|
+
async reOpen(eventIds, deliveryId) {
|
|
1326
|
+
const eventIdSet = new Set(eventIds);
|
|
1327
|
+
let lastEvent;
|
|
1328
|
+
const failedEvents = [];
|
|
1329
|
+
const reopenedEvents = [];
|
|
1330
|
+
this.buffer = this.buffer.filter((event) => {
|
|
1331
|
+
if (event.deliveryId !== deliveryId || !eventIdSet.has(event.event.eventId)) {
|
|
1332
|
+
return true;
|
|
1333
|
+
}
|
|
1334
|
+
if (this.options.maxRedeliveryCount > -1 && event.deliveryCount > this.options.maxRedeliveryCount) {
|
|
1335
|
+
this.incMetricsCounter("failed", event.event.eventType, 1);
|
|
1336
|
+
this.failedCount++;
|
|
1337
|
+
failedEvents.push(event.event);
|
|
1338
|
+
lastEvent = event.event;
|
|
1339
|
+
this.removeFromBufferStats(event);
|
|
1340
|
+
return false;
|
|
1341
|
+
}
|
|
1342
|
+
event.status = "open";
|
|
1343
|
+
event.deliveryId = void 0;
|
|
1344
|
+
this.updateReservedStats(event, -1);
|
|
1345
|
+
reopenedEvents.push(event.event);
|
|
1346
|
+
return true;
|
|
1347
|
+
});
|
|
1348
|
+
this.updateMetricsGauges();
|
|
1349
|
+
if (reopenedEvents.length) {
|
|
1350
|
+
this.logger?.info(`Reopened ${reopenedEvents.length} events`);
|
|
1351
|
+
this.notifyEventWaiters();
|
|
1352
|
+
}
|
|
1353
|
+
if (!failedEvents.length) {
|
|
1354
|
+
return;
|
|
1355
|
+
}
|
|
1356
|
+
this.logger?.info(`Failed ${failedEvents.length} events`);
|
|
1357
|
+
if (this.buffer.length <= this.options.bufferSize - this.options.bufferThreshold) {
|
|
1358
|
+
this.waiterBufferThreshold?.();
|
|
1359
|
+
}
|
|
1360
|
+
try {
|
|
1361
|
+
const callbackResults = await Promise.allSettled([
|
|
1362
|
+
Promise.resolve().then(() => this.options.processor?.failedHandler?.(failedEvents)),
|
|
1363
|
+
Promise.resolve().then(() => this.finallyFailedHandler?.(failedEvents))
|
|
1364
|
+
]);
|
|
1365
|
+
const callbackFailure = callbackResults.find(
|
|
1366
|
+
(result) => result.status === "rejected"
|
|
1367
|
+
);
|
|
1368
|
+
if (callbackFailure) {
|
|
1369
|
+
throw callbackFailure.reason;
|
|
1370
|
+
}
|
|
1371
|
+
await this.updateState(this.buffer.length ? void 0 : lastEvent?.eventId);
|
|
1372
|
+
} finally {
|
|
1373
|
+
this.notifyBufferEmpty();
|
|
1374
|
+
}
|
|
1375
|
+
}
|
|
1376
|
+
// #endregion
|
|
1377
|
+
// #region Pusher
|
|
1378
|
+
/**
|
|
1379
|
+
* Guarantee a live process loop whenever the pump is running with a
|
|
1380
|
+
* processor. Called from the fetch loop, so a delivery loop that exited for
|
|
1381
|
+
* any reason — most importantly a restart, which clears `running` while the
|
|
1382
|
+
* loop is mid-batch — comes back within one fetch iteration instead of
|
|
1383
|
+
* leaving a pump that pulls but never delivers.
|
|
1384
|
+
*/
|
|
1385
|
+
ensureProcessLoop() {
|
|
1386
|
+
if (!this.options.processor || !this.running || this.paused || this.activeProcessLoopGeneration === this.processLoopGeneration || this.processLoopBackoffGeneration === this.processLoopGeneration) {
|
|
1387
|
+
return;
|
|
1388
|
+
}
|
|
1389
|
+
this.startProcessLoop();
|
|
1390
|
+
}
|
|
1391
|
+
startProcessLoop() {
|
|
1392
|
+
const generation = this.processLoopGeneration;
|
|
1393
|
+
if (!this.options.processor || this.paused || !this.isCurrentProcessLoop(generation) || this.activeProcessLoopGeneration === generation || this.processLoopBackoffGeneration === generation) {
|
|
1394
|
+
return;
|
|
1395
|
+
}
|
|
1396
|
+
this.activeProcessLoopGeneration = generation;
|
|
1397
|
+
this.processLoop(generation).then(() => {
|
|
1398
|
+
if (this.activeProcessLoopGeneration !== generation) return;
|
|
1399
|
+
this.activeProcessLoopGeneration = void 0;
|
|
1400
|
+
if (this.isCurrentProcessLoop(generation)) {
|
|
1401
|
+
this.startProcessLoop();
|
|
1402
|
+
}
|
|
1403
|
+
}).catch((error) => {
|
|
1404
|
+
if (this.activeProcessLoopGeneration !== generation) return;
|
|
1405
|
+
this.activeProcessLoopGeneration = void 0;
|
|
1406
|
+
this.logger?.error("Error in processor", { error });
|
|
1407
|
+
if (!this.isCurrentProcessLoop(generation)) return;
|
|
1408
|
+
this.processLoopRestartAttempts++;
|
|
1409
|
+
const delay = Math.min(1e3 * Math.pow(2, this.processLoopRestartAttempts - 1), 3e4);
|
|
1410
|
+
this.logger?.warn(`Restarting process loop in ${delay}ms (attempt ${this.processLoopRestartAttempts})`);
|
|
1411
|
+
this.processLoopBackoffGeneration = generation;
|
|
1412
|
+
this.processLoopRestartTimer = setTimeout(() => {
|
|
1413
|
+
if (this.processLoopBackoffGeneration !== generation) return;
|
|
1414
|
+
this.processLoopBackoffGeneration = void 0;
|
|
1415
|
+
this.processLoopRestartTimer = void 0;
|
|
1416
|
+
if (!this.isCurrentProcessLoop(generation)) return;
|
|
1417
|
+
this.startProcessLoop();
|
|
1418
|
+
}, delay);
|
|
1419
|
+
});
|
|
1420
|
+
}
|
|
1421
|
+
isCurrentProcessLoop(generation) {
|
|
1422
|
+
return this.running && generation === this.processLoopGeneration;
|
|
1423
|
+
}
|
|
1424
|
+
async processLoop(generation) {
|
|
1425
|
+
while (this.isCurrentProcessLoop(generation)) {
|
|
1426
|
+
if (this.paused) return;
|
|
1427
|
+
try {
|
|
1428
|
+
const events = await this.reserveInternal(this.options.processor?.concurrency ?? 1, generation);
|
|
1429
|
+
if (!this.isCurrentProcessLoop(generation)) return;
|
|
1430
|
+
if (!events.length) continue;
|
|
1431
|
+
await this.replayObserver.observeHandler(events, async () => {
|
|
1432
|
+
await this.options.processor?.handler(events);
|
|
1433
|
+
});
|
|
1434
|
+
if (!this.isCurrentProcessLoop(generation)) return;
|
|
1435
|
+
await this.acknowledge(events.map((event) => event.eventId));
|
|
1436
|
+
this.processLoopRestartAttempts = 0;
|
|
1437
|
+
} catch (error) {
|
|
1438
|
+
const errorMessage = error instanceof Error ? error.message : "Unknown error";
|
|
1439
|
+
this.logger?.error(`Failed to process events: ${errorMessage}`);
|
|
1440
|
+
}
|
|
1441
|
+
}
|
|
1442
|
+
}
|
|
1443
|
+
// #endregion
|
|
1444
|
+
// #region Metrics
|
|
1445
|
+
addEventsToBuffer(events) {
|
|
1446
|
+
for (const event of events) {
|
|
1447
|
+
const item = {
|
|
1448
|
+
event,
|
|
1449
|
+
status: "open",
|
|
1450
|
+
deliveryCount: 0,
|
|
1451
|
+
payloadSizeBytes: textEncoder.encode(JSON.stringify(event.payload)).byteLength
|
|
1452
|
+
};
|
|
1453
|
+
this.buffer.push(item);
|
|
1454
|
+
this.bufferSizeBytes += item.payloadSizeBytes;
|
|
1455
|
+
const stat = this.bufferStats.get(event.eventType);
|
|
1456
|
+
if (stat) {
|
|
1457
|
+
stat.eventCount++;
|
|
1458
|
+
stat.eventSizeBytes += item.payloadSizeBytes;
|
|
1459
|
+
}
|
|
1460
|
+
}
|
|
1461
|
+
}
|
|
1462
|
+
updateReservedStats(item, delta) {
|
|
1463
|
+
this.bufferReservedCount += delta;
|
|
1464
|
+
const stat = this.bufferStats.get(item.event.eventType);
|
|
1465
|
+
if (stat) stat.eventReservedCount += delta;
|
|
1466
|
+
}
|
|
1467
|
+
removeFromBufferStats(item) {
|
|
1468
|
+
this.bufferSizeBytes -= item.payloadSizeBytes;
|
|
1469
|
+
const stat = this.bufferStats.get(item.event.eventType);
|
|
1470
|
+
if (stat) {
|
|
1471
|
+
stat.eventCount--;
|
|
1472
|
+
stat.eventSizeBytes -= item.payloadSizeBytes;
|
|
1473
|
+
}
|
|
1474
|
+
if (item.status === "reserved") this.updateReservedStats(item, -1);
|
|
1475
|
+
}
|
|
1476
|
+
resetBufferStats() {
|
|
1477
|
+
this.bufferReservedCount = 0;
|
|
1478
|
+
this.bufferSizeBytes = 0;
|
|
1479
|
+
for (const stat of this.bufferStats.values()) {
|
|
1480
|
+
stat.eventCount = 0;
|
|
1481
|
+
stat.eventReservedCount = 0;
|
|
1482
|
+
stat.eventSizeBytes = 0;
|
|
1483
|
+
}
|
|
1484
|
+
}
|
|
1485
|
+
updateMetricsGauges(synchronous = false) {
|
|
1486
|
+
if (synchronous) {
|
|
1487
|
+
this.gaugePublicationScheduled = false;
|
|
1488
|
+
this.publishMetricsGauges();
|
|
1489
|
+
return;
|
|
1490
|
+
}
|
|
1491
|
+
if (this.gaugePublicationScheduled) return;
|
|
1492
|
+
this.gaugePublicationScheduled = true;
|
|
1493
|
+
queueMicrotask(() => {
|
|
1494
|
+
if (!this.gaugePublicationScheduled) return;
|
|
1495
|
+
this.gaugePublicationScheduled = false;
|
|
1496
|
+
this.publishMetricsGauges();
|
|
1497
|
+
});
|
|
1498
|
+
}
|
|
1499
|
+
publishMetricsGauges() {
|
|
1500
|
+
for (const [eventType, stat] of this.bufferStats) {
|
|
1501
|
+
const labels = {
|
|
1502
|
+
tenant: this.dataSource.tenant,
|
|
1503
|
+
data_core: this.dataSource.dataCore,
|
|
1504
|
+
flow_type: this.dataSource.flowType,
|
|
1505
|
+
event_type: eventType
|
|
1506
|
+
};
|
|
1507
|
+
metrics.bufferEventCountGauge.set(labels, stat.eventCount);
|
|
1508
|
+
metrics.bufferReservedEventCountGauge.set(labels, stat.eventReservedCount);
|
|
1509
|
+
metrics.bufferSizeBytesGauge.set(labels, stat.eventSizeBytes);
|
|
1510
|
+
}
|
|
1511
|
+
}
|
|
1512
|
+
incMetricsCounter(name, eventType, value) {
|
|
1513
|
+
switch (name) {
|
|
1514
|
+
case "acknowledged":
|
|
1515
|
+
metrics.eventsAcknowledgedCounter.inc(
|
|
1516
|
+
{
|
|
1517
|
+
tenant: this.dataSource.tenant,
|
|
1518
|
+
data_core: this.dataSource.dataCore,
|
|
1519
|
+
flow_type: this.dataSource.flowType,
|
|
1520
|
+
event_type: eventType
|
|
1521
|
+
},
|
|
1522
|
+
value
|
|
1523
|
+
);
|
|
1524
|
+
break;
|
|
1525
|
+
case "failed":
|
|
1526
|
+
metrics.eventsFailedCounter.inc(
|
|
1527
|
+
{
|
|
1528
|
+
tenant: this.dataSource.tenant,
|
|
1529
|
+
data_core: this.dataSource.dataCore,
|
|
1530
|
+
flow_type: this.dataSource.flowType,
|
|
1531
|
+
event_type: eventType
|
|
1532
|
+
},
|
|
1533
|
+
value
|
|
1534
|
+
);
|
|
1535
|
+
break;
|
|
1536
|
+
case "pulled":
|
|
1537
|
+
metrics.eventsPulledSizeBytesCounter.inc(
|
|
1538
|
+
{
|
|
1539
|
+
tenant: this.dataSource.tenant,
|
|
1540
|
+
data_core: this.dataSource.dataCore,
|
|
1541
|
+
flow_type: this.dataSource.flowType,
|
|
1542
|
+
event_type: eventType
|
|
1543
|
+
},
|
|
1544
|
+
value
|
|
1545
|
+
);
|
|
1546
|
+
break;
|
|
1547
|
+
}
|
|
1548
|
+
}
|
|
1549
|
+
// #endregion
|
|
1550
|
+
// #region Waiters
|
|
1551
|
+
publicEventWaiter;
|
|
1552
|
+
processEventWaiters = /* @__PURE__ */ new Map();
|
|
1553
|
+
notifyEventWaiters(includePublic = true) {
|
|
1554
|
+
if (includePublic) {
|
|
1555
|
+
const publicWaiter = this.publicEventWaiter;
|
|
1556
|
+
this.publicEventWaiter = void 0;
|
|
1557
|
+
publicWaiter?.();
|
|
1558
|
+
}
|
|
1559
|
+
const processWaiters = [...this.processEventWaiters.values()];
|
|
1560
|
+
this.processEventWaiters.clear();
|
|
1561
|
+
for (const waiter of processWaiters) waiter();
|
|
1562
|
+
}
|
|
1563
|
+
async waitForEvents(generation) {
|
|
1564
|
+
const promise = new Promise((resolve) => {
|
|
1565
|
+
if (generation === void 0) {
|
|
1566
|
+
this.publicEventWaiter = resolve;
|
|
1567
|
+
} else {
|
|
1568
|
+
this.processEventWaiters.set(generation, resolve);
|
|
1569
|
+
}
|
|
1570
|
+
});
|
|
1571
|
+
await this.replayObserver.observeIdle("waiting_for_events", () => promise);
|
|
1572
|
+
}
|
|
1573
|
+
waiterBufferThreshold;
|
|
1574
|
+
async waitForBufferThreshold() {
|
|
1575
|
+
const promise = new Promise((resolve) => {
|
|
1576
|
+
this.waiterBufferThreshold = resolve;
|
|
1577
|
+
});
|
|
1578
|
+
await promise;
|
|
1579
|
+
}
|
|
1580
|
+
waiterBufferEmpty;
|
|
1581
|
+
notifyBufferEmpty() {
|
|
1582
|
+
if (!this.buffer.length) {
|
|
1583
|
+
this.waiterBufferEmpty?.();
|
|
1584
|
+
}
|
|
1585
|
+
}
|
|
1586
|
+
async waitForBufferEmpty() {
|
|
1587
|
+
if (!this.buffer.length) {
|
|
1588
|
+
return;
|
|
1589
|
+
}
|
|
1590
|
+
const promise = new Promise((resolve) => {
|
|
1591
|
+
this.waiterBufferEmpty = resolve;
|
|
1592
|
+
});
|
|
1593
|
+
await promise;
|
|
1594
|
+
}
|
|
1595
|
+
// #endregion
|
|
1596
|
+
};
|
|
1597
|
+
|
|
1598
|
+
// src/data-pump/nats-distribution.ts
|
|
1599
|
+
import * as Nats2 from "nats";
|
|
1600
|
+
var DEFAULT_REQUEST_TIMEOUT_MS = 3e4;
|
|
1601
|
+
var NatsDistributionLeader = class {
|
|
1602
|
+
constructor(connection, subject, logger, timeoutMs = DEFAULT_REQUEST_TIMEOUT_MS) {
|
|
1603
|
+
this.connection = connection;
|
|
1604
|
+
this.subject = subject;
|
|
1605
|
+
this.logger = logger;
|
|
1606
|
+
this.timeoutMs = timeoutMs;
|
|
1607
|
+
}
|
|
1608
|
+
connection;
|
|
1609
|
+
subject;
|
|
1610
|
+
logger;
|
|
1611
|
+
timeoutMs;
|
|
1612
|
+
codec = Nats2.JSONCodec();
|
|
1613
|
+
async distribute(events) {
|
|
1614
|
+
const deliveryId = crypto.randomUUID();
|
|
1615
|
+
const request = { deliveryId, events };
|
|
1616
|
+
this.logger?.debug("Distributing events via NATS", { deliveryId, count: events.length, subject: this.subject });
|
|
1617
|
+
const response = await this.connection.request(this.subject, this.codec.encode(request), {
|
|
1618
|
+
timeout: this.timeoutMs
|
|
1619
|
+
});
|
|
1620
|
+
const reply = this.codec.decode(response.data);
|
|
1621
|
+
if (reply.status === "fail") {
|
|
1622
|
+
throw new Error(`Worker failed to process events: ${reply.error ?? "unknown error"}`);
|
|
1623
|
+
}
|
|
1624
|
+
}
|
|
1625
|
+
};
|
|
1626
|
+
var NatsDistributionWorker = class {
|
|
1627
|
+
constructor(connection, subject, handler, logger) {
|
|
1628
|
+
this.connection = connection;
|
|
1629
|
+
this.subject = subject;
|
|
1630
|
+
this.handler = handler;
|
|
1631
|
+
this.logger = logger;
|
|
1632
|
+
}
|
|
1633
|
+
connection;
|
|
1634
|
+
subject;
|
|
1635
|
+
handler;
|
|
1636
|
+
logger;
|
|
1637
|
+
subscription;
|
|
1638
|
+
codec = Nats2.JSONCodec();
|
|
1639
|
+
queueGroup = "data-pump-workers";
|
|
1640
|
+
start() {
|
|
1641
|
+
this.logger?.info("Starting NATS distribution worker", { subject: this.subject, queue: this.queueGroup });
|
|
1642
|
+
this.subscription = this.connection.subscribe(this.subject, {
|
|
1643
|
+
queue: this.queueGroup,
|
|
1644
|
+
callback: (_err, msg) => {
|
|
1645
|
+
void this.handleMessage(msg);
|
|
1646
|
+
}
|
|
1647
|
+
});
|
|
1648
|
+
}
|
|
1649
|
+
stop() {
|
|
1650
|
+
if (this.subscription) {
|
|
1651
|
+
this.logger?.debug("Stopping NATS distribution worker");
|
|
1652
|
+
this.subscription.unsubscribe();
|
|
1653
|
+
this.subscription = void 0;
|
|
1654
|
+
}
|
|
1655
|
+
}
|
|
1656
|
+
async handleMessage(msg) {
|
|
1657
|
+
try {
|
|
1658
|
+
const request = this.codec.decode(msg.data);
|
|
1659
|
+
this.logger?.debug("Received events from leader via NATS", {
|
|
1660
|
+
deliveryId: request.deliveryId,
|
|
1661
|
+
count: request.events.length
|
|
1662
|
+
});
|
|
1663
|
+
await this.handler(request.events);
|
|
1664
|
+
const reply = { status: "ack" };
|
|
1665
|
+
msg.respond(this.codec.encode(reply));
|
|
1666
|
+
} catch (error) {
|
|
1667
|
+
const errorMessage = error instanceof Error ? error.message : "unknown error";
|
|
1668
|
+
this.logger?.error("Worker failed to process events via NATS", { error: errorMessage });
|
|
1669
|
+
const reply = { status: "fail", error: errorMessage };
|
|
1670
|
+
msg.respond(this.codec.encode(reply));
|
|
1671
|
+
}
|
|
1672
|
+
}
|
|
1673
|
+
};
|
|
1674
|
+
|
|
1675
|
+
// src/data-pump/ws-protocol.ts
|
|
1676
|
+
function serializeMessage(msg) {
|
|
1677
|
+
return JSON.stringify(msg);
|
|
1678
|
+
}
|
|
1679
|
+
function deserializeMessage(data) {
|
|
1680
|
+
try {
|
|
1681
|
+
const parsed = JSON.parse(data);
|
|
1682
|
+
if (!parsed || typeof parsed !== "object" || !parsed.type) {
|
|
1683
|
+
return null;
|
|
1684
|
+
}
|
|
1685
|
+
return parsed;
|
|
1686
|
+
} catch {
|
|
1687
|
+
return null;
|
|
1688
|
+
}
|
|
1689
|
+
}
|
|
1690
|
+
var PING_INTERVAL_MS = 5e3;
|
|
1691
|
+
var PONG_TIMEOUT_MS = 1e4;
|
|
1692
|
+
var WsConnection = class {
|
|
1693
|
+
constructor(ws, options) {
|
|
1694
|
+
this.ws = ws;
|
|
1695
|
+
this.options = options;
|
|
1696
|
+
this.ws.onmessage = (event) => {
|
|
1697
|
+
const msg = deserializeMessage(String(event.data));
|
|
1698
|
+
if (!msg) {
|
|
1699
|
+
this.options.logger?.warn("Received invalid WS message");
|
|
1700
|
+
return;
|
|
1701
|
+
}
|
|
1702
|
+
if (msg.type === "ping") {
|
|
1703
|
+
this.send({ type: "pong" });
|
|
1704
|
+
return;
|
|
1705
|
+
}
|
|
1706
|
+
if (msg.type === "pong") {
|
|
1707
|
+
this.clearPongTimeout();
|
|
1708
|
+
return;
|
|
1709
|
+
}
|
|
1710
|
+
this.options.onMessage(msg);
|
|
1711
|
+
};
|
|
1712
|
+
this.ws.onclose = () => {
|
|
1713
|
+
this.cleanup();
|
|
1714
|
+
this.options.onClose();
|
|
1715
|
+
};
|
|
1716
|
+
this.ws.onerror = () => {
|
|
1717
|
+
this.options.logger?.warn("WebSocket error");
|
|
1718
|
+
this.close();
|
|
1719
|
+
};
|
|
1720
|
+
this.startPingLoop();
|
|
1721
|
+
}
|
|
1722
|
+
ws;
|
|
1723
|
+
options;
|
|
1724
|
+
pingInterval;
|
|
1725
|
+
pongTimeout;
|
|
1726
|
+
closed = false;
|
|
1727
|
+
send(msg) {
|
|
1728
|
+
if (this.closed || this.ws.readyState !== WebSocket.OPEN) {
|
|
1729
|
+
return;
|
|
1730
|
+
}
|
|
1731
|
+
this.ws.send(serializeMessage(msg));
|
|
1732
|
+
}
|
|
1733
|
+
close() {
|
|
1734
|
+
if (this.closed) return;
|
|
1735
|
+
this.closed = true;
|
|
1736
|
+
this.cleanup();
|
|
1737
|
+
try {
|
|
1738
|
+
this.ws.close();
|
|
1739
|
+
} catch {
|
|
1740
|
+
}
|
|
1741
|
+
}
|
|
1742
|
+
get isClosed() {
|
|
1743
|
+
return this.closed;
|
|
1744
|
+
}
|
|
1745
|
+
startPingLoop() {
|
|
1746
|
+
this.pingInterval = setInterval(() => {
|
|
1747
|
+
if (this.closed) return;
|
|
1748
|
+
this.send({ type: "ping" });
|
|
1749
|
+
this.pongTimeout = setTimeout(() => {
|
|
1750
|
+
this.options.logger?.warn("Pong timeout, closing connection");
|
|
1751
|
+
this.close();
|
|
1752
|
+
}, PONG_TIMEOUT_MS);
|
|
1753
|
+
}, PING_INTERVAL_MS);
|
|
1754
|
+
}
|
|
1755
|
+
clearPongTimeout() {
|
|
1756
|
+
if (this.pongTimeout) {
|
|
1757
|
+
clearTimeout(this.pongTimeout);
|
|
1758
|
+
this.pongTimeout = void 0;
|
|
1759
|
+
}
|
|
1760
|
+
}
|
|
1761
|
+
cleanup() {
|
|
1762
|
+
this.closed = true;
|
|
1763
|
+
if (this.pingInterval) {
|
|
1764
|
+
clearInterval(this.pingInterval);
|
|
1765
|
+
this.pingInterval = void 0;
|
|
1766
|
+
}
|
|
1767
|
+
this.clearPongTimeout();
|
|
1768
|
+
}
|
|
1769
|
+
};
|
|
1770
|
+
var DeliveryTracker = class {
|
|
1771
|
+
pending = /* @__PURE__ */ new Map();
|
|
1772
|
+
add(deliveryId, eventIds, timeoutMs) {
|
|
1773
|
+
return new Promise((resolve, reject) => {
|
|
1774
|
+
const timeout = setTimeout(() => {
|
|
1775
|
+
this.pending.delete(deliveryId);
|
|
1776
|
+
reject(new Error(`Delivery ${deliveryId} timed out`));
|
|
1777
|
+
}, timeoutMs);
|
|
1778
|
+
this.pending.set(deliveryId, { deliveryId, eventIds, resolve, reject, timeout });
|
|
1779
|
+
});
|
|
1780
|
+
}
|
|
1781
|
+
ack(deliveryId) {
|
|
1782
|
+
const delivery = this.pending.get(deliveryId);
|
|
1783
|
+
if (!delivery) return;
|
|
1784
|
+
clearTimeout(delivery.timeout);
|
|
1785
|
+
this.pending.delete(deliveryId);
|
|
1786
|
+
delivery.resolve();
|
|
1787
|
+
}
|
|
1788
|
+
fail(deliveryId) {
|
|
1789
|
+
const delivery = this.pending.get(deliveryId);
|
|
1790
|
+
if (!delivery) return;
|
|
1791
|
+
clearTimeout(delivery.timeout);
|
|
1792
|
+
this.pending.delete(deliveryId);
|
|
1793
|
+
delivery.reject(new Error(`Delivery ${deliveryId} failed by worker`));
|
|
1794
|
+
}
|
|
1795
|
+
rejectAll(error) {
|
|
1796
|
+
for (const delivery of this.pending.values()) {
|
|
1797
|
+
clearTimeout(delivery.timeout);
|
|
1798
|
+
delivery.reject(error);
|
|
1799
|
+
}
|
|
1800
|
+
this.pending.clear();
|
|
1801
|
+
}
|
|
1802
|
+
get size() {
|
|
1803
|
+
return this.pending.size;
|
|
1804
|
+
}
|
|
1805
|
+
getPendingEventIds() {
|
|
1806
|
+
const ids = [];
|
|
1807
|
+
for (const delivery of this.pending.values()) {
|
|
1808
|
+
ids.push(...delivery.eventIds);
|
|
1809
|
+
}
|
|
1810
|
+
return ids;
|
|
1811
|
+
}
|
|
1812
|
+
};
|
|
1813
|
+
|
|
1814
|
+
// src/data-pump/data-pump-cluster.ts
|
|
1815
|
+
var LEASE_KEY = "flowcore-data-pump-leader";
|
|
1816
|
+
var DISCOVERY_POLL_INTERVAL_MS = 1e4;
|
|
1817
|
+
var DEFAULT_LEASE_TTL_MS = 3e4;
|
|
1818
|
+
var DEFAULT_LEASE_RENEW_INTERVAL_MS = 1e4;
|
|
1819
|
+
var DEFAULT_HEARTBEAT_INTERVAL_MS = 5e3;
|
|
1820
|
+
var DEFAULT_STALE_THRESHOLD_MS = 3e4;
|
|
1821
|
+
var DEFAULT_WORKER_CONCURRENCY = 1;
|
|
1822
|
+
var RECONNECT_BASE_MS = 1e3;
|
|
1823
|
+
var RECONNECT_MAX_MS = 3e4;
|
|
1824
|
+
var DELIVERY_TIMEOUT_MS = 3e4;
|
|
1825
|
+
var FlowcoreDataPumpCluster = class {
|
|
1826
|
+
constructor(options) {
|
|
1827
|
+
this.options = options;
|
|
1828
|
+
if (!this.useNatsDistribution && !options.advertisedAddress) {
|
|
1829
|
+
throw new Error("advertisedAddress is required when not using NATS distribution (notifier.type !== 'nats')");
|
|
1830
|
+
}
|
|
1831
|
+
this.instanceId = crypto.randomUUID();
|
|
1832
|
+
this.coordinator = options.coordinator;
|
|
1833
|
+
this.leaseTtlMs = options.leaseTtlMs ?? DEFAULT_LEASE_TTL_MS;
|
|
1834
|
+
this.leaseRenewIntervalMs = options.leaseRenewIntervalMs ?? DEFAULT_LEASE_RENEW_INTERVAL_MS;
|
|
1835
|
+
this.heartbeatIntervalMs = options.heartbeatIntervalMs ?? DEFAULT_HEARTBEAT_INTERVAL_MS;
|
|
1836
|
+
this.workerConcurrency = options.workerConcurrency ?? DEFAULT_WORKER_CONCURRENCY;
|
|
1837
|
+
this.paused = options.paused ?? false;
|
|
1838
|
+
this.logger = options.logger;
|
|
1839
|
+
this.workerHandler = options.processor?.handler;
|
|
1840
|
+
this.workerFailedHandler = options.processor?.failedHandler;
|
|
1841
|
+
}
|
|
1842
|
+
options;
|
|
1843
|
+
instanceId;
|
|
1844
|
+
coordinator;
|
|
1845
|
+
leaseTtlMs;
|
|
1846
|
+
leaseRenewIntervalMs;
|
|
1847
|
+
heartbeatIntervalMs;
|
|
1848
|
+
workerConcurrency;
|
|
1849
|
+
logger;
|
|
1850
|
+
running = false;
|
|
1851
|
+
isLeader = false;
|
|
1852
|
+
// Delivery pause held on the CLUSTER, not on the pump. A leader change destroys the
|
|
1853
|
+
// pump instance and builds a new one, so a pause stored on the pump would silently
|
|
1854
|
+
// evaporate on failover and delivery would resume with no operator action.
|
|
1855
|
+
paused;
|
|
1856
|
+
pump;
|
|
1857
|
+
leaderConnection;
|
|
1858
|
+
// leader state
|
|
1859
|
+
workers = /* @__PURE__ */ new Map();
|
|
1860
|
+
workerRoundRobinIndex = 0;
|
|
1861
|
+
leaseRenewInterval;
|
|
1862
|
+
discoveryInterval;
|
|
1863
|
+
// common state
|
|
1864
|
+
heartbeatInterval;
|
|
1865
|
+
electionInterval;
|
|
1866
|
+
// worker state - handler for processing events received from leader
|
|
1867
|
+
workerHandler;
|
|
1868
|
+
workerFailedHandler;
|
|
1869
|
+
pumpRestartAttempts = 0;
|
|
1870
|
+
// NATS distribution state
|
|
1871
|
+
natsConnectionManager;
|
|
1872
|
+
natsDistLeader;
|
|
1873
|
+
natsDistWorker;
|
|
1874
|
+
get useNatsDistribution() {
|
|
1875
|
+
return this.options.notifier?.type === "nats";
|
|
1876
|
+
}
|
|
1877
|
+
get natsDistributionSubject() {
|
|
1878
|
+
const key = this.options.clusterKey ?? `${this.options.dataSource.tenant}.${this.options.dataSource.dataCore}.${this.options.dataSource.flowType}`;
|
|
1879
|
+
return `data-pump.distribute.${key}`;
|
|
1880
|
+
}
|
|
1881
|
+
get isRunning() {
|
|
1882
|
+
return this.running;
|
|
1883
|
+
}
|
|
1884
|
+
get isLeaderInstance() {
|
|
1885
|
+
return this.isLeader;
|
|
1886
|
+
}
|
|
1887
|
+
get activeWorkerCount() {
|
|
1888
|
+
return this.workers.size;
|
|
1889
|
+
}
|
|
1890
|
+
get id() {
|
|
1891
|
+
return this.instanceId;
|
|
1892
|
+
}
|
|
1893
|
+
/**
|
|
1894
|
+
* Handle an incoming WebSocket connection from a peer.
|
|
1895
|
+
* Call this from your HTTP server's WebSocket upgrade handler.
|
|
1896
|
+
*
|
|
1897
|
+
* Example (Bun):
|
|
1898
|
+
* ```typescript
|
|
1899
|
+
* Bun.serve({
|
|
1900
|
+
* port: 8080,
|
|
1901
|
+
* fetch(req, server) {
|
|
1902
|
+
* if (server.upgrade(req)) return undefined
|
|
1903
|
+
* return new Response("Not found", { status: 404 })
|
|
1904
|
+
* },
|
|
1905
|
+
* websocket: {
|
|
1906
|
+
* open(socket) {
|
|
1907
|
+
* cluster.handleConnection(socket as unknown as WebSocket)
|
|
1908
|
+
* },
|
|
1909
|
+
* message() {},
|
|
1910
|
+
* },
|
|
1911
|
+
* })
|
|
1912
|
+
* ```
|
|
1913
|
+
*
|
|
1914
|
+
* Example (Node.js with ws):
|
|
1915
|
+
* ```typescript
|
|
1916
|
+
* import { WebSocketServer } from "ws"
|
|
1917
|
+
* const wss = new WebSocketServer({ port: 8080 })
|
|
1918
|
+
* wss.on("connection", (ws) => cluster.handleConnection(ws))
|
|
1919
|
+
* ```
|
|
1920
|
+
*/
|
|
1921
|
+
handleConnection(ws) {
|
|
1922
|
+
this.logger?.debug("Incoming WS connection");
|
|
1923
|
+
const conn = new WsConnection(ws, {
|
|
1924
|
+
logger: this.logger,
|
|
1925
|
+
onMessage: (msg) => this.handleWorkerMessage(msg, conn),
|
|
1926
|
+
onClose: () => {
|
|
1927
|
+
this.logger?.debug("Leader connection closed");
|
|
1928
|
+
this.leaderConnection = void 0;
|
|
1929
|
+
}
|
|
1930
|
+
});
|
|
1931
|
+
this.leaderConnection = conn;
|
|
1932
|
+
}
|
|
1933
|
+
async start() {
|
|
1934
|
+
if (this.running) {
|
|
1935
|
+
throw new Error("Cluster already running");
|
|
1936
|
+
}
|
|
1937
|
+
this.running = true;
|
|
1938
|
+
this.logger?.info("Starting cluster instance", { instanceId: this.instanceId });
|
|
1939
|
+
if (this.useNatsDistribution) {
|
|
1940
|
+
const natsServers = this.options.notifier?.type === "nats" ? this.options.notifier.servers : [];
|
|
1941
|
+
this.natsConnectionManager = new NatsConnectionManager(natsServers, this.logger);
|
|
1942
|
+
const conn = await this.natsConnectionManager.connect();
|
|
1943
|
+
if (this.workerHandler) {
|
|
1944
|
+
this.natsDistWorker = new NatsDistributionWorker(
|
|
1945
|
+
conn,
|
|
1946
|
+
this.natsDistributionSubject,
|
|
1947
|
+
this.workerHandler,
|
|
1948
|
+
this.logger
|
|
1949
|
+
);
|
|
1950
|
+
this.natsDistWorker.start();
|
|
1951
|
+
}
|
|
1952
|
+
await this.coordinator.register(this.instanceId, "nats://distributed");
|
|
1953
|
+
} else {
|
|
1954
|
+
await this.coordinator.register(this.instanceId, this.options.advertisedAddress);
|
|
1955
|
+
}
|
|
1956
|
+
this.startHeartbeat();
|
|
1957
|
+
this.startElectionLoop();
|
|
1958
|
+
}
|
|
1959
|
+
/**
|
|
1960
|
+
* Whether delivery is paused across the cluster.
|
|
1961
|
+
* The flag lives on the cluster, so it survives a leader change.
|
|
1962
|
+
*/
|
|
1963
|
+
get isPaused() {
|
|
1964
|
+
return this.paused;
|
|
1965
|
+
}
|
|
1966
|
+
/**
|
|
1967
|
+
* Pause delivery. A leader applies it to its pump immediately. A follower records it,
|
|
1968
|
+
* so the pause is re-applied if this instance later becomes leader.
|
|
1969
|
+
*
|
|
1970
|
+
* The flag is in-memory. It does NOT survive a process restart or a full rolling
|
|
1971
|
+
* deploy — persist it in the coordinator or the control plane if you need that.
|
|
1972
|
+
*/
|
|
1973
|
+
pause() {
|
|
1974
|
+
if (this.paused) return;
|
|
1975
|
+
this.paused = true;
|
|
1976
|
+
this.pump?.pause();
|
|
1977
|
+
this.logger?.info("Cluster delivery paused", { instanceId: this.instanceId, isLeader: this.isLeader });
|
|
1978
|
+
}
|
|
1979
|
+
/** Resume delivery from the position where {@link pause} stopped it. */
|
|
1980
|
+
resume() {
|
|
1981
|
+
if (!this.paused) return;
|
|
1982
|
+
this.paused = false;
|
|
1983
|
+
this.pump?.resume();
|
|
1984
|
+
this.logger?.info("Cluster delivery resumed", { instanceId: this.instanceId, isLeader: this.isLeader });
|
|
1985
|
+
}
|
|
1986
|
+
async stop() {
|
|
1987
|
+
if (!this.running) return;
|
|
1988
|
+
this.running = false;
|
|
1989
|
+
this.logger?.info("Stopping cluster instance", { instanceId: this.instanceId });
|
|
1990
|
+
if (this.electionInterval) {
|
|
1991
|
+
clearInterval(this.electionInterval);
|
|
1992
|
+
this.electionInterval = void 0;
|
|
1993
|
+
}
|
|
1994
|
+
if (this.heartbeatInterval) {
|
|
1995
|
+
clearInterval(this.heartbeatInterval);
|
|
1996
|
+
this.heartbeatInterval = void 0;
|
|
1997
|
+
}
|
|
1998
|
+
this.stepDownAsLeader();
|
|
1999
|
+
this.leaderConnection?.close();
|
|
2000
|
+
this.leaderConnection = void 0;
|
|
2001
|
+
this.natsDistWorker?.stop();
|
|
2002
|
+
this.natsDistWorker = void 0;
|
|
2003
|
+
this.natsDistLeader = void 0;
|
|
2004
|
+
if (this.natsConnectionManager) {
|
|
2005
|
+
await this.natsConnectionManager.close();
|
|
2006
|
+
this.natsConnectionManager = void 0;
|
|
2007
|
+
}
|
|
2008
|
+
try {
|
|
2009
|
+
await this.coordinator.releaseLease(this.instanceId, LEASE_KEY);
|
|
2010
|
+
} catch {
|
|
2011
|
+
}
|
|
2012
|
+
try {
|
|
2013
|
+
await this.coordinator.unregister(this.instanceId);
|
|
2014
|
+
} catch {
|
|
2015
|
+
}
|
|
2016
|
+
clusterMetrics.leaderStatusGauge.set(0);
|
|
2017
|
+
clusterMetrics.activeWorkersGauge.set(0);
|
|
2018
|
+
this.logger?.info("Cluster instance stopped");
|
|
2019
|
+
}
|
|
2020
|
+
// #region Heartbeat
|
|
2021
|
+
startHeartbeat() {
|
|
2022
|
+
this.heartbeatInterval = setInterval(async () => {
|
|
2023
|
+
if (!this.running) return;
|
|
2024
|
+
try {
|
|
2025
|
+
await this.coordinator.heartbeat(this.instanceId);
|
|
2026
|
+
} catch (error) {
|
|
2027
|
+
this.logger?.warn("Heartbeat failed", { error });
|
|
2028
|
+
}
|
|
2029
|
+
}, this.heartbeatIntervalMs);
|
|
2030
|
+
}
|
|
2031
|
+
// #endregion
|
|
2032
|
+
// #region Leader Election
|
|
2033
|
+
startElectionLoop() {
|
|
2034
|
+
void this.attemptElection();
|
|
2035
|
+
this.electionInterval = setInterval(async () => {
|
|
2036
|
+
if (!this.running) return;
|
|
2037
|
+
if (this.isLeader) {
|
|
2038
|
+
try {
|
|
2039
|
+
const renewed = await this.coordinator.renewLease(this.instanceId, LEASE_KEY, this.leaseTtlMs);
|
|
2040
|
+
if (!renewed) {
|
|
2041
|
+
this.logger?.warn("Lease renewal failed, stepping down");
|
|
2042
|
+
this.stepDownAsLeader();
|
|
2043
|
+
}
|
|
2044
|
+
} catch (error) {
|
|
2045
|
+
this.logger?.error("Lease renewal error, stepping down", { error });
|
|
2046
|
+
this.stepDownAsLeader();
|
|
2047
|
+
}
|
|
2048
|
+
} else {
|
|
2049
|
+
await this.attemptElection();
|
|
2050
|
+
}
|
|
2051
|
+
}, this.leaseRenewIntervalMs);
|
|
2052
|
+
}
|
|
2053
|
+
async attemptElection() {
|
|
2054
|
+
try {
|
|
2055
|
+
const acquired = await this.coordinator.acquireLease(this.instanceId, LEASE_KEY, this.leaseTtlMs);
|
|
2056
|
+
if (acquired && !this.isLeader) {
|
|
2057
|
+
this.logger?.info("Won leader election", { instanceId: this.instanceId });
|
|
2058
|
+
await this.becomeLeader();
|
|
2059
|
+
}
|
|
2060
|
+
} catch (error) {
|
|
2061
|
+
this.logger?.debug("Election attempt failed", { error });
|
|
2062
|
+
}
|
|
2063
|
+
}
|
|
2064
|
+
// #endregion
|
|
2065
|
+
// #region Leader Mode
|
|
2066
|
+
async becomeLeader() {
|
|
2067
|
+
this.isLeader = true;
|
|
2068
|
+
clusterMetrics.leaderStatusGauge.set(1);
|
|
2069
|
+
this.leaderConnection?.close();
|
|
2070
|
+
this.leaderConnection = void 0;
|
|
2071
|
+
if (this.useNatsDistribution) {
|
|
2072
|
+
const conn = await this.natsConnectionManager.connect();
|
|
2073
|
+
this.natsDistLeader = new NatsDistributionLeader(conn, this.natsDistributionSubject, this.logger);
|
|
2074
|
+
} else {
|
|
2075
|
+
this.startWorkerDiscovery();
|
|
2076
|
+
await this.discoverWorkers();
|
|
2077
|
+
}
|
|
2078
|
+
this.startPumpAsLeader();
|
|
2079
|
+
}
|
|
2080
|
+
stepDownAsLeader() {
|
|
2081
|
+
if (!this.isLeader) return;
|
|
2082
|
+
this.isLeader = false;
|
|
2083
|
+
clusterMetrics.leaderStatusGauge.set(0);
|
|
2084
|
+
if (this.discoveryInterval) {
|
|
2085
|
+
clearInterval(this.discoveryInterval);
|
|
2086
|
+
this.discoveryInterval = void 0;
|
|
2087
|
+
}
|
|
2088
|
+
if (this.leaseRenewInterval) {
|
|
2089
|
+
clearInterval(this.leaseRenewInterval);
|
|
2090
|
+
this.leaseRenewInterval = void 0;
|
|
2091
|
+
}
|
|
2092
|
+
this.natsDistLeader = void 0;
|
|
2093
|
+
for (const worker of this.workers.values()) {
|
|
2094
|
+
worker.deliveryTracker.rejectAll(new Error("Leader stepping down"));
|
|
2095
|
+
worker.connection.close();
|
|
2096
|
+
}
|
|
2097
|
+
this.workers.clear();
|
|
2098
|
+
clusterMetrics.activeWorkersGauge.set(0);
|
|
2099
|
+
if (this.pump) {
|
|
2100
|
+
this.pump.stop();
|
|
2101
|
+
this.pump = void 0;
|
|
2102
|
+
}
|
|
2103
|
+
this.pumpRestartAttempts = 0;
|
|
2104
|
+
}
|
|
2105
|
+
startPumpAsLeader() {
|
|
2106
|
+
const pumpOptions = {
|
|
2107
|
+
...this.options,
|
|
2108
|
+
// Build the pump already paused. Pausing it after `start()` would let the new
|
|
2109
|
+
// leader deliver events in the gap, which is exactly what the operator asked
|
|
2110
|
+
// us not to do.
|
|
2111
|
+
paused: this.paused,
|
|
2112
|
+
processor: {
|
|
2113
|
+
concurrency: this.workerConcurrency,
|
|
2114
|
+
handler: async (events) => {
|
|
2115
|
+
this.pumpRestartAttempts = 0;
|
|
2116
|
+
await this.distributeEvents(events);
|
|
2117
|
+
},
|
|
2118
|
+
failedHandler: this.workerFailedHandler
|
|
2119
|
+
}
|
|
2120
|
+
};
|
|
2121
|
+
this.pump = FlowcoreDataPump.create(pumpOptions, this.options.dataSourceOverride);
|
|
2122
|
+
if (this.paused) {
|
|
2123
|
+
this.logger?.info("Leader pump started paused", { instanceId: this.instanceId });
|
|
2124
|
+
}
|
|
2125
|
+
this.pump.start().catch((error) => {
|
|
2126
|
+
this.logger?.error("Pump error in leader mode", { error });
|
|
2127
|
+
if (!this.running || !this.isLeader) return;
|
|
2128
|
+
this.pumpRestartAttempts++;
|
|
2129
|
+
const delay = Math.min(RECONNECT_BASE_MS * Math.pow(2, this.pumpRestartAttempts - 1), RECONNECT_MAX_MS);
|
|
2130
|
+
this.logger?.warn(`Restarting leader pump in ${delay}ms (attempt ${this.pumpRestartAttempts})`);
|
|
2131
|
+
setTimeout(() => {
|
|
2132
|
+
if (!this.running || !this.isLeader) return;
|
|
2133
|
+
this.startPumpAsLeader();
|
|
2134
|
+
}, delay);
|
|
2135
|
+
});
|
|
2136
|
+
}
|
|
2137
|
+
distributeEvents(events) {
|
|
2138
|
+
if (this.useNatsDistribution) {
|
|
2139
|
+
return this.distributeEventsNats(events);
|
|
2140
|
+
}
|
|
2141
|
+
return this.distributeEventsWs(events);
|
|
2142
|
+
}
|
|
2143
|
+
async distributeEventsNats(events) {
|
|
2144
|
+
if (!this.natsDistLeader) {
|
|
2145
|
+
this.logger?.debug("No NATS leader distributor, processing locally");
|
|
2146
|
+
if (this.workerHandler) {
|
|
2147
|
+
await this.workerHandler(events);
|
|
2148
|
+
}
|
|
2149
|
+
return;
|
|
2150
|
+
}
|
|
2151
|
+
clusterMetrics.eventsDistributedCounter.inc(events.length);
|
|
2152
|
+
try {
|
|
2153
|
+
await this.natsDistLeader.distribute(events);
|
|
2154
|
+
clusterMetrics.workerAcksCounter.inc();
|
|
2155
|
+
} catch (error) {
|
|
2156
|
+
clusterMetrics.workerFailsCounter.inc();
|
|
2157
|
+
this.logger?.warn("NATS distribution failed, processing locally", {
|
|
2158
|
+
error: error instanceof Error ? error.message : "unknown"
|
|
2159
|
+
});
|
|
2160
|
+
if (this.workerHandler) {
|
|
2161
|
+
await this.workerHandler(events);
|
|
2162
|
+
}
|
|
2163
|
+
}
|
|
2164
|
+
}
|
|
2165
|
+
async distributeEventsWs(events) {
|
|
2166
|
+
const worker = this.selectWorker();
|
|
2167
|
+
if (!worker) {
|
|
2168
|
+
this.logger?.debug("No workers available, processing locally");
|
|
2169
|
+
if (this.workerHandler) {
|
|
2170
|
+
await this.workerHandler(events);
|
|
2171
|
+
}
|
|
2172
|
+
return;
|
|
2173
|
+
}
|
|
2174
|
+
const deliveryId = crypto.randomUUID();
|
|
2175
|
+
const eventIds = events.map((e) => e.eventId);
|
|
2176
|
+
worker.pendingCount++;
|
|
2177
|
+
clusterMetrics.eventsDistributedCounter.inc(events.length);
|
|
2178
|
+
worker.connection.send({
|
|
2179
|
+
type: "events",
|
|
2180
|
+
deliveryId,
|
|
2181
|
+
events
|
|
2182
|
+
});
|
|
2183
|
+
try {
|
|
2184
|
+
await worker.deliveryTracker.add(deliveryId, eventIds, DELIVERY_TIMEOUT_MS);
|
|
2185
|
+
worker.pendingCount--;
|
|
2186
|
+
clusterMetrics.workerAcksCounter.inc();
|
|
2187
|
+
} catch (error) {
|
|
2188
|
+
worker.pendingCount--;
|
|
2189
|
+
clusterMetrics.workerFailsCounter.inc();
|
|
2190
|
+
throw error;
|
|
2191
|
+
}
|
|
2192
|
+
}
|
|
2193
|
+
selectWorker() {
|
|
2194
|
+
const available = [];
|
|
2195
|
+
for (const worker of this.workers.values()) {
|
|
2196
|
+
if (worker.pendingCount < this.workerConcurrency && !worker.connection.isClosed) {
|
|
2197
|
+
available.push(worker);
|
|
2198
|
+
}
|
|
2199
|
+
}
|
|
2200
|
+
if (available.length === 0) return null;
|
|
2201
|
+
this.workerRoundRobinIndex = this.workerRoundRobinIndex % available.length;
|
|
2202
|
+
const selected = available[this.workerRoundRobinIndex];
|
|
2203
|
+
this.workerRoundRobinIndex++;
|
|
2204
|
+
return selected;
|
|
2205
|
+
}
|
|
2206
|
+
// #endregion
|
|
2207
|
+
// #region Worker Discovery
|
|
2208
|
+
startWorkerDiscovery() {
|
|
2209
|
+
this.discoveryInterval = setInterval(async () => {
|
|
2210
|
+
if (!this.running || !this.isLeader) return;
|
|
2211
|
+
await this.discoverWorkers();
|
|
2212
|
+
}, DISCOVERY_POLL_INTERVAL_MS);
|
|
2213
|
+
}
|
|
2214
|
+
async discoverWorkers() {
|
|
2215
|
+
try {
|
|
2216
|
+
const instances = await this.coordinator.getInstances(DEFAULT_STALE_THRESHOLD_MS);
|
|
2217
|
+
for (const instance of instances) {
|
|
2218
|
+
if (instance.instanceId === this.instanceId) continue;
|
|
2219
|
+
if (this.workers.has(instance.instanceId)) continue;
|
|
2220
|
+
this.connectToWorker(instance.instanceId, instance.address);
|
|
2221
|
+
}
|
|
2222
|
+
const registeredIds = new Set(instances.map((i) => i.instanceId));
|
|
2223
|
+
for (const [id, worker] of this.workers) {
|
|
2224
|
+
if (!registeredIds.has(id)) {
|
|
2225
|
+
this.logger?.info("Worker no longer registered, disconnecting", { instanceId: id });
|
|
2226
|
+
worker.deliveryTracker.rejectAll(new Error("Worker unregistered"));
|
|
2227
|
+
worker.connection.close();
|
|
2228
|
+
this.workers.delete(id);
|
|
2229
|
+
}
|
|
2230
|
+
}
|
|
2231
|
+
clusterMetrics.activeWorkersGauge.set(this.workers.size);
|
|
2232
|
+
} catch (error) {
|
|
2233
|
+
this.logger?.warn("Worker discovery failed", { error });
|
|
2234
|
+
}
|
|
2235
|
+
}
|
|
2236
|
+
connectToWorker(instanceId, address) {
|
|
2237
|
+
this.logger?.debug("Connecting to worker", { instanceId, address });
|
|
2238
|
+
try {
|
|
2239
|
+
const ws = new WebSocket(address);
|
|
2240
|
+
const deliveryTracker = new DeliveryTracker();
|
|
2241
|
+
const workerConn = {
|
|
2242
|
+
instanceId,
|
|
2243
|
+
connection: void 0,
|
|
2244
|
+
deliveryTracker,
|
|
2245
|
+
pendingCount: 0,
|
|
2246
|
+
reconnectAttempts: 0
|
|
2247
|
+
};
|
|
2248
|
+
ws.onopen = () => {
|
|
2249
|
+
const conn = new WsConnection(ws, {
|
|
2250
|
+
logger: this.logger,
|
|
2251
|
+
onMessage: (msg) => this.handleLeaderMessage(msg, instanceId),
|
|
2252
|
+
onClose: () => this.handleWorkerDisconnect(instanceId)
|
|
2253
|
+
});
|
|
2254
|
+
workerConn.connection = conn;
|
|
2255
|
+
workerConn.reconnectAttempts = 0;
|
|
2256
|
+
this.workers.set(instanceId, workerConn);
|
|
2257
|
+
clusterMetrics.activeWorkersGauge.set(this.workers.size);
|
|
2258
|
+
this.logger?.debug("Connected to worker", { instanceId });
|
|
2259
|
+
};
|
|
2260
|
+
ws.onerror = () => {
|
|
2261
|
+
this.logger?.warn("Failed to connect to worker", { instanceId, address });
|
|
2262
|
+
this.scheduleReconnect(instanceId, address, (workerConn.reconnectAttempts || 0) + 1);
|
|
2263
|
+
};
|
|
2264
|
+
} catch (error) {
|
|
2265
|
+
this.logger?.warn("Error connecting to worker", { instanceId, error });
|
|
2266
|
+
}
|
|
2267
|
+
}
|
|
2268
|
+
handleWorkerDisconnect(instanceId) {
|
|
2269
|
+
const worker = this.workers.get(instanceId);
|
|
2270
|
+
if (!worker) return;
|
|
2271
|
+
this.logger?.debug("Worker disconnected", { instanceId });
|
|
2272
|
+
worker.deliveryTracker.rejectAll(new Error("Worker disconnected"));
|
|
2273
|
+
this.workers.delete(instanceId);
|
|
2274
|
+
clusterMetrics.activeWorkersGauge.set(this.workers.size);
|
|
2275
|
+
if (this.running && this.isLeader) {
|
|
2276
|
+
this.scheduleReconnect(instanceId, "", worker.reconnectAttempts + 1);
|
|
2277
|
+
}
|
|
2278
|
+
}
|
|
2279
|
+
scheduleReconnect(instanceId, address, attempts) {
|
|
2280
|
+
if (!this.running || !this.isLeader) return;
|
|
2281
|
+
const delay = Math.min(RECONNECT_BASE_MS * Math.pow(2, attempts - 1), RECONNECT_MAX_MS);
|
|
2282
|
+
this.logger?.debug("Scheduling reconnect", { instanceId, delay, attempts });
|
|
2283
|
+
setTimeout(async () => {
|
|
2284
|
+
if (!this.running || !this.isLeader) return;
|
|
2285
|
+
let resolvedAddress = address;
|
|
2286
|
+
if (!resolvedAddress) {
|
|
2287
|
+
try {
|
|
2288
|
+
const instances = await this.coordinator.getInstances(DEFAULT_STALE_THRESHOLD_MS);
|
|
2289
|
+
const instance = instances.find((i) => i.instanceId === instanceId);
|
|
2290
|
+
if (!instance) return;
|
|
2291
|
+
resolvedAddress = instance.address;
|
|
2292
|
+
} catch {
|
|
2293
|
+
return;
|
|
2294
|
+
}
|
|
2295
|
+
}
|
|
2296
|
+
if (!this.workers.has(instanceId)) {
|
|
2297
|
+
this.connectToWorker(instanceId, resolvedAddress);
|
|
2298
|
+
}
|
|
2299
|
+
}, delay);
|
|
2300
|
+
}
|
|
2301
|
+
// #endregion
|
|
2302
|
+
// #region Message Handlers
|
|
2303
|
+
// leader receives ack/fail from workers
|
|
2304
|
+
handleLeaderMessage(msg, workerInstanceId) {
|
|
2305
|
+
const worker = this.workers.get(workerInstanceId);
|
|
2306
|
+
if (!worker) return;
|
|
2307
|
+
if (msg.type === "ack") {
|
|
2308
|
+
worker.deliveryTracker.ack(msg.deliveryId);
|
|
2309
|
+
} else if (msg.type === "fail") {
|
|
2310
|
+
worker.deliveryTracker.fail(msg.deliveryId);
|
|
2311
|
+
}
|
|
2312
|
+
}
|
|
2313
|
+
// worker receives events from leader
|
|
2314
|
+
handleWorkerMessage(msg, conn) {
|
|
2315
|
+
if (msg.type !== "events") return;
|
|
2316
|
+
const { deliveryId, events } = msg;
|
|
2317
|
+
this.logger?.debug("Received events from leader", { deliveryId, count: events.length });
|
|
2318
|
+
void (async () => {
|
|
2319
|
+
try {
|
|
2320
|
+
if (this.workerHandler) {
|
|
2321
|
+
await this.workerHandler(events);
|
|
2322
|
+
}
|
|
2323
|
+
conn.send({
|
|
2324
|
+
type: "ack",
|
|
2325
|
+
deliveryId,
|
|
2326
|
+
eventIds: events.map((e) => e.eventId)
|
|
2327
|
+
});
|
|
2328
|
+
} catch (error) {
|
|
2329
|
+
this.logger?.error("Worker failed to process events", { deliveryId, error });
|
|
2330
|
+
conn.send({
|
|
2331
|
+
type: "fail",
|
|
2332
|
+
deliveryId,
|
|
2333
|
+
eventIds: events.map((e) => e.eventId)
|
|
2334
|
+
});
|
|
2335
|
+
}
|
|
2336
|
+
})();
|
|
2337
|
+
}
|
|
2338
|
+
// #endregion
|
|
2339
|
+
};
|
|
2340
|
+
export {
|
|
2341
|
+
DeliveryTracker,
|
|
2342
|
+
FlowcoreDataPump,
|
|
2343
|
+
FlowcoreDataPumpCluster,
|
|
2344
|
+
FlowcoreDataSource,
|
|
2345
|
+
NatsConnectionManager,
|
|
2346
|
+
NatsDistributionLeader,
|
|
2347
|
+
NatsDistributionWorker,
|
|
2348
|
+
PulseEmitter,
|
|
2349
|
+
REPLAY_BATCH_SIZE_BUCKETS,
|
|
2350
|
+
REPLAY_DURATION_BUCKETS_SECONDS,
|
|
2351
|
+
REPLAY_EVENT_COUNT_BUCKETS,
|
|
2352
|
+
REPLAY_FETCH_RESULTS,
|
|
2353
|
+
REPLAY_IDLE_REASONS,
|
|
2354
|
+
REPLAY_STAGE_RESULTS,
|
|
2355
|
+
ReplayStageObserver,
|
|
2356
|
+
WsConnection,
|
|
2357
|
+
clusterMetrics,
|
|
2358
|
+
createDataPumpMetrics,
|
|
2359
|
+
dataPumpPromRegistry,
|
|
2360
|
+
deserializeMessage,
|
|
2361
|
+
metrics,
|
|
2362
|
+
noOpLogger,
|
|
2363
|
+
replayBatchSizeBucket,
|
|
2364
|
+
serializeMessage
|
|
2365
|
+
};
|