@flowcore/data-pump 0.1.2
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 +32 -0
- package/README.md +28 -0
- package/esm/_dnt.shims.d.ts +9 -0
- package/esm/_dnt.shims.d.ts.map +1 -0
- package/esm/_dnt.shims.js +64 -0
- package/esm/deps/jsr.io/@flowcore/sdk/1.11.4/src/commands/api-key/api-key.create.d.ts +46 -0
- package/esm/deps/jsr.io/@flowcore/sdk/1.11.4/src/commands/api-key/api-key.create.d.ts.map +1 -0
- package/esm/deps/jsr.io/@flowcore/sdk/1.11.4/src/commands/api-key/api-key.create.js +94 -0
- package/esm/deps/jsr.io/@flowcore/sdk/1.11.4/src/commands/api-key/api-key.delete.d.ts +28 -0
- package/esm/deps/jsr.io/@flowcore/sdk/1.11.4/src/commands/api-key/api-key.delete.d.ts.map +1 -0
- package/esm/deps/jsr.io/@flowcore/sdk/1.11.4/src/commands/api-key/api-key.delete.js +60 -0
- package/esm/deps/jsr.io/@flowcore/sdk/1.11.4/src/commands/api-key/api-key.list.d.ts +27 -0
- package/esm/deps/jsr.io/@flowcore/sdk/1.11.4/src/commands/api-key/api-key.list.d.ts.map +1 -0
- package/esm/deps/jsr.io/@flowcore/sdk/1.11.4/src/commands/api-key/api-key.list.js +58 -0
- package/esm/deps/jsr.io/@flowcore/sdk/1.11.4/src/commands/data-core/data-core.create.d.ts +43 -0
- package/esm/deps/jsr.io/@flowcore/sdk/1.11.4/src/commands/data-core/data-core.create.d.ts.map +1 -0
- package/esm/deps/jsr.io/@flowcore/sdk/1.11.4/src/commands/data-core/data-core.create.js +44 -0
- package/esm/deps/jsr.io/@flowcore/sdk/1.11.4/src/commands/data-core/data-core.delete-request.d.ts +37 -0
- package/esm/deps/jsr.io/@flowcore/sdk/1.11.4/src/commands/data-core/data-core.delete-request.d.ts.map +1 -0
- package/esm/deps/jsr.io/@flowcore/sdk/1.11.4/src/commands/data-core/data-core.delete-request.js +94 -0
- package/esm/deps/jsr.io/@flowcore/sdk/1.11.4/src/commands/data-core/data-core.exists.d.ts +37 -0
- package/esm/deps/jsr.io/@flowcore/sdk/1.11.4/src/commands/data-core/data-core.exists.d.ts.map +1 -0
- package/esm/deps/jsr.io/@flowcore/sdk/1.11.4/src/commands/data-core/data-core.exists.js +33 -0
- package/esm/deps/jsr.io/@flowcore/sdk/1.11.4/src/commands/data-core/data-core.fetch.d.ts +55 -0
- package/esm/deps/jsr.io/@flowcore/sdk/1.11.4/src/commands/data-core/data-core.fetch.d.ts.map +1 -0
- package/esm/deps/jsr.io/@flowcore/sdk/1.11.4/src/commands/data-core/data-core.fetch.js +59 -0
- package/esm/deps/jsr.io/@flowcore/sdk/1.11.4/src/commands/data-core/data-core.list.d.ts +33 -0
- package/esm/deps/jsr.io/@flowcore/sdk/1.11.4/src/commands/data-core/data-core.list.d.ts.map +1 -0
- package/esm/deps/jsr.io/@flowcore/sdk/1.11.4/src/commands/data-core/data-core.list.js +40 -0
- package/esm/deps/jsr.io/@flowcore/sdk/1.11.4/src/commands/data-core/data-core.update.d.ts +41 -0
- package/esm/deps/jsr.io/@flowcore/sdk/1.11.4/src/commands/data-core/data-core.update.d.ts.map +1 -0
- package/esm/deps/jsr.io/@flowcore/sdk/1.11.4/src/commands/data-core/data-core.update.js +43 -0
- package/esm/deps/jsr.io/@flowcore/sdk/1.11.4/src/commands/event-type/event-type.create.d.ts +39 -0
- package/esm/deps/jsr.io/@flowcore/sdk/1.11.4/src/commands/event-type/event-type.create.d.ts.map +1 -0
- package/esm/deps/jsr.io/@flowcore/sdk/1.11.4/src/commands/event-type/event-type.create.js +44 -0
- package/esm/deps/jsr.io/@flowcore/sdk/1.11.4/src/commands/event-type/event-type.delete-request.d.ts +41 -0
- package/esm/deps/jsr.io/@flowcore/sdk/1.11.4/src/commands/event-type/event-type.delete-request.d.ts.map +1 -0
- package/esm/deps/jsr.io/@flowcore/sdk/1.11.4/src/commands/event-type/event-type.delete-request.js +107 -0
- package/esm/deps/jsr.io/@flowcore/sdk/1.11.4/src/commands/event-type/event-type.exists.d.ts +37 -0
- package/esm/deps/jsr.io/@flowcore/sdk/1.11.4/src/commands/event-type/event-type.exists.d.ts.map +1 -0
- package/esm/deps/jsr.io/@flowcore/sdk/1.11.4/src/commands/event-type/event-type.exists.js +33 -0
- package/esm/deps/jsr.io/@flowcore/sdk/1.11.4/src/commands/event-type/event-type.fetch.d.ts +49 -0
- package/esm/deps/jsr.io/@flowcore/sdk/1.11.4/src/commands/event-type/event-type.fetch.d.ts.map +1 -0
- package/esm/deps/jsr.io/@flowcore/sdk/1.11.4/src/commands/event-type/event-type.fetch.js +59 -0
- package/esm/deps/jsr.io/@flowcore/sdk/1.11.4/src/commands/event-type/event-type.list.d.ts +31 -0
- package/esm/deps/jsr.io/@flowcore/sdk/1.11.4/src/commands/event-type/event-type.list.d.ts.map +1 -0
- package/esm/deps/jsr.io/@flowcore/sdk/1.11.4/src/commands/event-type/event-type.list.js +36 -0
- package/esm/deps/jsr.io/@flowcore/sdk/1.11.4/src/commands/event-type/event-type.truncate-request.d.ts +41 -0
- package/esm/deps/jsr.io/@flowcore/sdk/1.11.4/src/commands/event-type/event-type.truncate-request.d.ts.map +1 -0
- package/esm/deps/jsr.io/@flowcore/sdk/1.11.4/src/commands/event-type/event-type.truncate-request.js +107 -0
- package/esm/deps/jsr.io/@flowcore/sdk/1.11.4/src/commands/event-type/event-type.update.d.ts +37 -0
- package/esm/deps/jsr.io/@flowcore/sdk/1.11.4/src/commands/event-type/event-type.update.d.ts.map +1 -0
- package/esm/deps/jsr.io/@flowcore/sdk/1.11.4/src/commands/event-type/event-type.update.js +39 -0
- package/esm/deps/jsr.io/@flowcore/sdk/1.11.4/src/commands/events/events.fetch-time-buckets-by-names.d.ts +53 -0
- package/esm/deps/jsr.io/@flowcore/sdk/1.11.4/src/commands/events/events.fetch-time-buckets-by-names.d.ts.map +1 -0
- package/esm/deps/jsr.io/@flowcore/sdk/1.11.4/src/commands/events/events.fetch-time-buckets-by-names.js +41 -0
- package/esm/deps/jsr.io/@flowcore/sdk/1.11.4/src/commands/events/events.fetch.d.ts +58 -0
- package/esm/deps/jsr.io/@flowcore/sdk/1.11.4/src/commands/events/events.fetch.d.ts.map +1 -0
- package/esm/deps/jsr.io/@flowcore/sdk/1.11.4/src/commands/events/events.fetch.js +54 -0
- package/esm/deps/jsr.io/@flowcore/sdk/1.11.4/src/commands/flow-type/flow-type.create.d.ts +39 -0
- package/esm/deps/jsr.io/@flowcore/sdk/1.11.4/src/commands/flow-type/flow-type.create.d.ts.map +1 -0
- package/esm/deps/jsr.io/@flowcore/sdk/1.11.4/src/commands/flow-type/flow-type.create.js +44 -0
- package/esm/deps/jsr.io/@flowcore/sdk/1.11.4/src/commands/flow-type/flow-type.delete-request.d.ts +54 -0
- package/esm/deps/jsr.io/@flowcore/sdk/1.11.4/src/commands/flow-type/flow-type.delete-request.d.ts.map +1 -0
- package/esm/deps/jsr.io/@flowcore/sdk/1.11.4/src/commands/flow-type/flow-type.delete-request.js +127 -0
- package/esm/deps/jsr.io/@flowcore/sdk/1.11.4/src/commands/flow-type/flow-type.exists.d.ts +39 -0
- package/esm/deps/jsr.io/@flowcore/sdk/1.11.4/src/commands/flow-type/flow-type.exists.d.ts.map +1 -0
- package/esm/deps/jsr.io/@flowcore/sdk/1.11.4/src/commands/flow-type/flow-type.exists.js +33 -0
- package/esm/deps/jsr.io/@flowcore/sdk/1.11.4/src/commands/flow-type/flow-type.fetch.d.ts +55 -0
- package/esm/deps/jsr.io/@flowcore/sdk/1.11.4/src/commands/flow-type/flow-type.fetch.d.ts.map +1 -0
- package/esm/deps/jsr.io/@flowcore/sdk/1.11.4/src/commands/flow-type/flow-type.fetch.js +59 -0
- package/esm/deps/jsr.io/@flowcore/sdk/1.11.4/src/commands/flow-type/flow-type.list.d.ts +31 -0
- package/esm/deps/jsr.io/@flowcore/sdk/1.11.4/src/commands/flow-type/flow-type.list.d.ts.map +1 -0
- package/esm/deps/jsr.io/@flowcore/sdk/1.11.4/src/commands/flow-type/flow-type.list.js +36 -0
- package/esm/deps/jsr.io/@flowcore/sdk/1.11.4/src/commands/flow-type/flow-type.update.d.ts +37 -0
- package/esm/deps/jsr.io/@flowcore/sdk/1.11.4/src/commands/flow-type/flow-type.update.d.ts.map +1 -0
- package/esm/deps/jsr.io/@flowcore/sdk/1.11.4/src/commands/flow-type/flow-type.update.js +39 -0
- package/esm/deps/jsr.io/@flowcore/sdk/1.11.4/src/commands/index.d.ts +33 -0
- package/esm/deps/jsr.io/@flowcore/sdk/1.11.4/src/commands/index.d.ts.map +1 -0
- package/esm/deps/jsr.io/@flowcore/sdk/1.11.4/src/commands/index.js +40 -0
- package/esm/deps/jsr.io/@flowcore/sdk/1.11.4/src/commands/secret/secret.create.d.ts +30 -0
- package/esm/deps/jsr.io/@flowcore/sdk/1.11.4/src/commands/secret/secret.create.d.ts.map +1 -0
- package/esm/deps/jsr.io/@flowcore/sdk/1.11.4/src/commands/secret/secret.create.js +60 -0
- package/esm/deps/jsr.io/@flowcore/sdk/1.11.4/src/commands/secret/secret.delete.d.ts +28 -0
- package/esm/deps/jsr.io/@flowcore/sdk/1.11.4/src/commands/secret/secret.delete.d.ts.map +1 -0
- package/esm/deps/jsr.io/@flowcore/sdk/1.11.4/src/commands/secret/secret.delete.js +60 -0
- package/esm/deps/jsr.io/@flowcore/sdk/1.11.4/src/commands/secret/secret.list.d.ts +26 -0
- package/esm/deps/jsr.io/@flowcore/sdk/1.11.4/src/commands/secret/secret.list.d.ts.map +1 -0
- package/esm/deps/jsr.io/@flowcore/sdk/1.11.4/src/commands/secret/secret.list.js +63 -0
- package/esm/deps/jsr.io/@flowcore/sdk/1.11.4/src/commands/tenant/tenant.fetch.d.ts +42 -0
- package/esm/deps/jsr.io/@flowcore/sdk/1.11.4/src/commands/tenant/tenant.fetch.d.ts.map +1 -0
- package/esm/deps/jsr.io/@flowcore/sdk/1.11.4/src/commands/tenant/tenant.fetch.js +79 -0
- package/esm/deps/jsr.io/@flowcore/sdk/1.11.4/src/commands/tenant/tenant.list.d.ts +20 -0
- package/esm/deps/jsr.io/@flowcore/sdk/1.11.4/src/commands/tenant/tenant.list.d.ts.map +1 -0
- package/esm/deps/jsr.io/@flowcore/sdk/1.11.4/src/commands/tenant/tenant.list.js +65 -0
- package/esm/deps/jsr.io/@flowcore/sdk/1.11.4/src/commands/variable/variable.create.d.ts +31 -0
- package/esm/deps/jsr.io/@flowcore/sdk/1.11.4/src/commands/variable/variable.create.d.ts.map +1 -0
- package/esm/deps/jsr.io/@flowcore/sdk/1.11.4/src/commands/variable/variable.create.js +66 -0
- package/esm/deps/jsr.io/@flowcore/sdk/1.11.4/src/commands/variable/variable.delete.d.ts +28 -0
- package/esm/deps/jsr.io/@flowcore/sdk/1.11.4/src/commands/variable/variable.delete.d.ts.map +1 -0
- package/esm/deps/jsr.io/@flowcore/sdk/1.11.4/src/commands/variable/variable.delete.js +63 -0
- package/esm/deps/jsr.io/@flowcore/sdk/1.11.4/src/commands/variable/variable.list.d.ts +27 -0
- package/esm/deps/jsr.io/@flowcore/sdk/1.11.4/src/commands/variable/variable.list.d.ts.map +1 -0
- package/esm/deps/jsr.io/@flowcore/sdk/1.11.4/src/commands/variable/variable.list.js +69 -0
- package/esm/deps/jsr.io/@flowcore/sdk/1.11.4/src/common/command.d.ts +85 -0
- package/esm/deps/jsr.io/@flowcore/sdk/1.11.4/src/common/command.d.ts.map +1 -0
- package/esm/deps/jsr.io/@flowcore/sdk/1.11.4/src/common/command.js +129 -0
- package/esm/deps/jsr.io/@flowcore/sdk/1.11.4/src/common/flowcore-client.d.ts +56 -0
- package/esm/deps/jsr.io/@flowcore/sdk/1.11.4/src/common/flowcore-client.d.ts.map +1 -0
- package/esm/deps/jsr.io/@flowcore/sdk/1.11.4/src/common/flowcore-client.js +126 -0
- package/esm/deps/jsr.io/@flowcore/sdk/1.11.4/src/common/notification-client.d.ts +90 -0
- package/esm/deps/jsr.io/@flowcore/sdk/1.11.4/src/common/notification-client.d.ts.map +1 -0
- package/esm/deps/jsr.io/@flowcore/sdk/1.11.4/src/common/notification-client.js +247 -0
- package/esm/deps/jsr.io/@flowcore/sdk/1.11.4/src/contracts/api-key.d.ts +14 -0
- package/esm/deps/jsr.io/@flowcore/sdk/1.11.4/src/contracts/api-key.d.ts.map +1 -0
- package/esm/deps/jsr.io/@flowcore/sdk/1.11.4/src/contracts/api-key.js +9 -0
- package/esm/deps/jsr.io/@flowcore/sdk/1.11.4/src/contracts/data-core.d.ts +41 -0
- package/esm/deps/jsr.io/@flowcore/sdk/1.11.4/src/contracts/data-core.d.ts.map +1 -0
- package/esm/deps/jsr.io/@flowcore/sdk/1.11.4/src/contracts/data-core.js +42 -0
- package/esm/deps/jsr.io/@flowcore/sdk/1.11.4/src/contracts/event-type.d.ts +37 -0
- package/esm/deps/jsr.io/@flowcore/sdk/1.11.4/src/contracts/event-type.d.ts.map +1 -0
- package/esm/deps/jsr.io/@flowcore/sdk/1.11.4/src/contracts/event-type.js +39 -0
- package/esm/deps/jsr.io/@flowcore/sdk/1.11.4/src/contracts/event.d.ts +20 -0
- package/esm/deps/jsr.io/@flowcore/sdk/1.11.4/src/contracts/event.d.ts.map +1 -0
- package/esm/deps/jsr.io/@flowcore/sdk/1.11.4/src/contracts/event.js +15 -0
- package/esm/deps/jsr.io/@flowcore/sdk/1.11.4/src/contracts/flow-type.d.ts +34 -0
- package/esm/deps/jsr.io/@flowcore/sdk/1.11.4/src/contracts/flow-type.d.ts.map +1 -0
- package/esm/deps/jsr.io/@flowcore/sdk/1.11.4/src/contracts/flow-type.js +34 -0
- package/esm/deps/jsr.io/@flowcore/sdk/1.11.4/src/contracts/index.d.ts +6 -0
- package/esm/deps/jsr.io/@flowcore/sdk/1.11.4/src/contracts/index.d.ts.map +1 -0
- package/esm/deps/jsr.io/@flowcore/sdk/1.11.4/src/contracts/index.js +1 -0
- package/esm/deps/jsr.io/@flowcore/sdk/1.11.4/src/contracts/tenant.d.ts +50 -0
- package/esm/deps/jsr.io/@flowcore/sdk/1.11.4/src/contracts/tenant.d.ts.map +1 -0
- package/esm/deps/jsr.io/@flowcore/sdk/1.11.4/src/contracts/tenant.js +33 -0
- package/esm/deps/jsr.io/@flowcore/sdk/1.11.4/src/contracts/variable.d.ts +13 -0
- package/esm/deps/jsr.io/@flowcore/sdk/1.11.4/src/contracts/variable.d.ts.map +1 -0
- package/esm/deps/jsr.io/@flowcore/sdk/1.11.4/src/contracts/variable.js +8 -0
- package/esm/deps/jsr.io/@flowcore/sdk/1.11.4/src/exceptions/client-error.d.ts +9 -0
- package/esm/deps/jsr.io/@flowcore/sdk/1.11.4/src/exceptions/client-error.d.ts.map +1 -0
- package/esm/deps/jsr.io/@flowcore/sdk/1.11.4/src/exceptions/client-error.js +20 -0
- package/esm/deps/jsr.io/@flowcore/sdk/1.11.4/src/exceptions/command-error.d.ts +7 -0
- package/esm/deps/jsr.io/@flowcore/sdk/1.11.4/src/exceptions/command-error.d.ts.map +1 -0
- package/esm/deps/jsr.io/@flowcore/sdk/1.11.4/src/exceptions/command-error.js +8 -0
- package/esm/deps/jsr.io/@flowcore/sdk/1.11.4/src/exceptions/index.d.ts +5 -0
- package/esm/deps/jsr.io/@flowcore/sdk/1.11.4/src/exceptions/index.d.ts.map +1 -0
- package/esm/deps/jsr.io/@flowcore/sdk/1.11.4/src/exceptions/index.js +4 -0
- package/esm/deps/jsr.io/@flowcore/sdk/1.11.4/src/exceptions/invalid-response.d.ts +8 -0
- package/esm/deps/jsr.io/@flowcore/sdk/1.11.4/src/exceptions/invalid-response.d.ts.map +1 -0
- package/esm/deps/jsr.io/@flowcore/sdk/1.11.4/src/exceptions/invalid-response.js +15 -0
- package/esm/deps/jsr.io/@flowcore/sdk/1.11.4/src/exceptions/not-found.d.ts +7 -0
- package/esm/deps/jsr.io/@flowcore/sdk/1.11.4/src/exceptions/not-found.d.ts.map +1 -0
- package/esm/deps/jsr.io/@flowcore/sdk/1.11.4/src/exceptions/not-found.js +8 -0
- package/esm/deps/jsr.io/@flowcore/sdk/1.11.4/src/mod.d.ts +8 -0
- package/esm/deps/jsr.io/@flowcore/sdk/1.11.4/src/mod.d.ts.map +1 -0
- package/esm/deps/jsr.io/@flowcore/sdk/1.11.4/src/mod.js +7 -0
- package/esm/deps/jsr.io/@flowcore/sdk/1.11.4/src/utils/logger.d.ts +8 -0
- package/esm/deps/jsr.io/@flowcore/sdk/1.11.4/src/utils/logger.d.ts.map +1 -0
- package/esm/deps/jsr.io/@flowcore/sdk/1.11.4/src/utils/logger.js +14 -0
- package/esm/deps/jsr.io/@flowcore/sdk/1.11.4/src/utils/parse-response-helper.d.ts +6 -0
- package/esm/deps/jsr.io/@flowcore/sdk/1.11.4/src/utils/parse-response-helper.d.ts.map +1 -0
- package/esm/deps/jsr.io/@flowcore/sdk/1.11.4/src/utils/parse-response-helper.js +16 -0
- package/esm/lib/data-pump-client.d.ts +30 -0
- package/esm/lib/data-pump-client.d.ts.map +1 -0
- package/esm/lib/data-pump-client.js +52 -0
- package/esm/lib/data-pump.d.ts +75 -0
- package/esm/lib/data-pump.d.ts.map +1 -0
- package/esm/lib/data-pump.js +364 -0
- package/esm/lib/nats-notifier.d.ts +18 -0
- package/esm/lib/nats-notifier.d.ts.map +1 -0
- package/esm/lib/nats-notifier.js +88 -0
- package/esm/lib/time-uuid.d.ts +13 -0
- package/esm/lib/time-uuid.d.ts.map +1 -0
- package/esm/lib/time-uuid.js +36 -0
- package/esm/lib/ws-notifier.d.ts +28 -0
- package/esm/lib/ws-notifier.d.ts.map +1 -0
- package/esm/lib/ws-notifier.js +87 -0
- package/esm/mod.d.ts +3 -0
- package/esm/mod.d.ts.map +1 -0
- package/esm/mod.js +2 -0
- package/esm/package.json +3 -0
- package/package.json +38 -0
- package/script/_dnt.shims.d.ts +9 -0
- package/script/_dnt.shims.d.ts.map +1 -0
- package/script/_dnt.shims.js +72 -0
- package/script/deps/jsr.io/@flowcore/sdk/1.11.4/src/commands/api-key/api-key.create.d.ts +46 -0
- package/script/deps/jsr.io/@flowcore/sdk/1.11.4/src/commands/api-key/api-key.create.d.ts.map +1 -0
- package/script/deps/jsr.io/@flowcore/sdk/1.11.4/src/commands/api-key/api-key.create.js +98 -0
- package/script/deps/jsr.io/@flowcore/sdk/1.11.4/src/commands/api-key/api-key.delete.d.ts +28 -0
- package/script/deps/jsr.io/@flowcore/sdk/1.11.4/src/commands/api-key/api-key.delete.d.ts.map +1 -0
- package/script/deps/jsr.io/@flowcore/sdk/1.11.4/src/commands/api-key/api-key.delete.js +64 -0
- package/script/deps/jsr.io/@flowcore/sdk/1.11.4/src/commands/api-key/api-key.list.d.ts +27 -0
- package/script/deps/jsr.io/@flowcore/sdk/1.11.4/src/commands/api-key/api-key.list.d.ts.map +1 -0
- package/script/deps/jsr.io/@flowcore/sdk/1.11.4/src/commands/api-key/api-key.list.js +62 -0
- package/script/deps/jsr.io/@flowcore/sdk/1.11.4/src/commands/data-core/data-core.create.d.ts +43 -0
- package/script/deps/jsr.io/@flowcore/sdk/1.11.4/src/commands/data-core/data-core.create.d.ts.map +1 -0
- package/script/deps/jsr.io/@flowcore/sdk/1.11.4/src/commands/data-core/data-core.create.js +48 -0
- package/script/deps/jsr.io/@flowcore/sdk/1.11.4/src/commands/data-core/data-core.delete-request.d.ts +37 -0
- package/script/deps/jsr.io/@flowcore/sdk/1.11.4/src/commands/data-core/data-core.delete-request.d.ts.map +1 -0
- package/script/deps/jsr.io/@flowcore/sdk/1.11.4/src/commands/data-core/data-core.delete-request.js +98 -0
- package/script/deps/jsr.io/@flowcore/sdk/1.11.4/src/commands/data-core/data-core.exists.d.ts +37 -0
- package/script/deps/jsr.io/@flowcore/sdk/1.11.4/src/commands/data-core/data-core.exists.d.ts.map +1 -0
- package/script/deps/jsr.io/@flowcore/sdk/1.11.4/src/commands/data-core/data-core.exists.js +37 -0
- package/script/deps/jsr.io/@flowcore/sdk/1.11.4/src/commands/data-core/data-core.fetch.d.ts +55 -0
- package/script/deps/jsr.io/@flowcore/sdk/1.11.4/src/commands/data-core/data-core.fetch.d.ts.map +1 -0
- package/script/deps/jsr.io/@flowcore/sdk/1.11.4/src/commands/data-core/data-core.fetch.js +63 -0
- package/script/deps/jsr.io/@flowcore/sdk/1.11.4/src/commands/data-core/data-core.list.d.ts +33 -0
- package/script/deps/jsr.io/@flowcore/sdk/1.11.4/src/commands/data-core/data-core.list.d.ts.map +1 -0
- package/script/deps/jsr.io/@flowcore/sdk/1.11.4/src/commands/data-core/data-core.list.js +44 -0
- package/script/deps/jsr.io/@flowcore/sdk/1.11.4/src/commands/data-core/data-core.update.d.ts +41 -0
- package/script/deps/jsr.io/@flowcore/sdk/1.11.4/src/commands/data-core/data-core.update.d.ts.map +1 -0
- package/script/deps/jsr.io/@flowcore/sdk/1.11.4/src/commands/data-core/data-core.update.js +47 -0
- package/script/deps/jsr.io/@flowcore/sdk/1.11.4/src/commands/event-type/event-type.create.d.ts +39 -0
- package/script/deps/jsr.io/@flowcore/sdk/1.11.4/src/commands/event-type/event-type.create.d.ts.map +1 -0
- package/script/deps/jsr.io/@flowcore/sdk/1.11.4/src/commands/event-type/event-type.create.js +48 -0
- package/script/deps/jsr.io/@flowcore/sdk/1.11.4/src/commands/event-type/event-type.delete-request.d.ts +41 -0
- package/script/deps/jsr.io/@flowcore/sdk/1.11.4/src/commands/event-type/event-type.delete-request.d.ts.map +1 -0
- package/script/deps/jsr.io/@flowcore/sdk/1.11.4/src/commands/event-type/event-type.delete-request.js +111 -0
- package/script/deps/jsr.io/@flowcore/sdk/1.11.4/src/commands/event-type/event-type.exists.d.ts +37 -0
- package/script/deps/jsr.io/@flowcore/sdk/1.11.4/src/commands/event-type/event-type.exists.d.ts.map +1 -0
- package/script/deps/jsr.io/@flowcore/sdk/1.11.4/src/commands/event-type/event-type.exists.js +37 -0
- package/script/deps/jsr.io/@flowcore/sdk/1.11.4/src/commands/event-type/event-type.fetch.d.ts +49 -0
- package/script/deps/jsr.io/@flowcore/sdk/1.11.4/src/commands/event-type/event-type.fetch.d.ts.map +1 -0
- package/script/deps/jsr.io/@flowcore/sdk/1.11.4/src/commands/event-type/event-type.fetch.js +63 -0
- package/script/deps/jsr.io/@flowcore/sdk/1.11.4/src/commands/event-type/event-type.list.d.ts +31 -0
- package/script/deps/jsr.io/@flowcore/sdk/1.11.4/src/commands/event-type/event-type.list.d.ts.map +1 -0
- package/script/deps/jsr.io/@flowcore/sdk/1.11.4/src/commands/event-type/event-type.list.js +40 -0
- package/script/deps/jsr.io/@flowcore/sdk/1.11.4/src/commands/event-type/event-type.truncate-request.d.ts +41 -0
- package/script/deps/jsr.io/@flowcore/sdk/1.11.4/src/commands/event-type/event-type.truncate-request.d.ts.map +1 -0
- package/script/deps/jsr.io/@flowcore/sdk/1.11.4/src/commands/event-type/event-type.truncate-request.js +111 -0
- package/script/deps/jsr.io/@flowcore/sdk/1.11.4/src/commands/event-type/event-type.update.d.ts +37 -0
- package/script/deps/jsr.io/@flowcore/sdk/1.11.4/src/commands/event-type/event-type.update.d.ts.map +1 -0
- package/script/deps/jsr.io/@flowcore/sdk/1.11.4/src/commands/event-type/event-type.update.js +43 -0
- package/script/deps/jsr.io/@flowcore/sdk/1.11.4/src/commands/events/events.fetch-time-buckets-by-names.d.ts +53 -0
- package/script/deps/jsr.io/@flowcore/sdk/1.11.4/src/commands/events/events.fetch-time-buckets-by-names.d.ts.map +1 -0
- package/script/deps/jsr.io/@flowcore/sdk/1.11.4/src/commands/events/events.fetch-time-buckets-by-names.js +45 -0
- package/script/deps/jsr.io/@flowcore/sdk/1.11.4/src/commands/events/events.fetch.d.ts +58 -0
- package/script/deps/jsr.io/@flowcore/sdk/1.11.4/src/commands/events/events.fetch.d.ts.map +1 -0
- package/script/deps/jsr.io/@flowcore/sdk/1.11.4/src/commands/events/events.fetch.js +58 -0
- package/script/deps/jsr.io/@flowcore/sdk/1.11.4/src/commands/flow-type/flow-type.create.d.ts +39 -0
- package/script/deps/jsr.io/@flowcore/sdk/1.11.4/src/commands/flow-type/flow-type.create.d.ts.map +1 -0
- package/script/deps/jsr.io/@flowcore/sdk/1.11.4/src/commands/flow-type/flow-type.create.js +48 -0
- package/script/deps/jsr.io/@flowcore/sdk/1.11.4/src/commands/flow-type/flow-type.delete-request.d.ts +54 -0
- package/script/deps/jsr.io/@flowcore/sdk/1.11.4/src/commands/flow-type/flow-type.delete-request.d.ts.map +1 -0
- package/script/deps/jsr.io/@flowcore/sdk/1.11.4/src/commands/flow-type/flow-type.delete-request.js +131 -0
- package/script/deps/jsr.io/@flowcore/sdk/1.11.4/src/commands/flow-type/flow-type.exists.d.ts +39 -0
- package/script/deps/jsr.io/@flowcore/sdk/1.11.4/src/commands/flow-type/flow-type.exists.d.ts.map +1 -0
- package/script/deps/jsr.io/@flowcore/sdk/1.11.4/src/commands/flow-type/flow-type.exists.js +37 -0
- package/script/deps/jsr.io/@flowcore/sdk/1.11.4/src/commands/flow-type/flow-type.fetch.d.ts +55 -0
- package/script/deps/jsr.io/@flowcore/sdk/1.11.4/src/commands/flow-type/flow-type.fetch.d.ts.map +1 -0
- package/script/deps/jsr.io/@flowcore/sdk/1.11.4/src/commands/flow-type/flow-type.fetch.js +63 -0
- package/script/deps/jsr.io/@flowcore/sdk/1.11.4/src/commands/flow-type/flow-type.list.d.ts +31 -0
- package/script/deps/jsr.io/@flowcore/sdk/1.11.4/src/commands/flow-type/flow-type.list.d.ts.map +1 -0
- package/script/deps/jsr.io/@flowcore/sdk/1.11.4/src/commands/flow-type/flow-type.list.js +40 -0
- package/script/deps/jsr.io/@flowcore/sdk/1.11.4/src/commands/flow-type/flow-type.update.d.ts +37 -0
- package/script/deps/jsr.io/@flowcore/sdk/1.11.4/src/commands/flow-type/flow-type.update.d.ts.map +1 -0
- package/script/deps/jsr.io/@flowcore/sdk/1.11.4/src/commands/flow-type/flow-type.update.js +43 -0
- package/script/deps/jsr.io/@flowcore/sdk/1.11.4/src/commands/index.d.ts +33 -0
- package/script/deps/jsr.io/@flowcore/sdk/1.11.4/src/commands/index.d.ts.map +1 -0
- package/script/deps/jsr.io/@flowcore/sdk/1.11.4/src/commands/index.js +56 -0
- package/script/deps/jsr.io/@flowcore/sdk/1.11.4/src/commands/secret/secret.create.d.ts +30 -0
- package/script/deps/jsr.io/@flowcore/sdk/1.11.4/src/commands/secret/secret.create.d.ts.map +1 -0
- package/script/deps/jsr.io/@flowcore/sdk/1.11.4/src/commands/secret/secret.create.js +64 -0
- package/script/deps/jsr.io/@flowcore/sdk/1.11.4/src/commands/secret/secret.delete.d.ts +28 -0
- package/script/deps/jsr.io/@flowcore/sdk/1.11.4/src/commands/secret/secret.delete.d.ts.map +1 -0
- package/script/deps/jsr.io/@flowcore/sdk/1.11.4/src/commands/secret/secret.delete.js +64 -0
- package/script/deps/jsr.io/@flowcore/sdk/1.11.4/src/commands/secret/secret.list.d.ts +26 -0
- package/script/deps/jsr.io/@flowcore/sdk/1.11.4/src/commands/secret/secret.list.d.ts.map +1 -0
- package/script/deps/jsr.io/@flowcore/sdk/1.11.4/src/commands/secret/secret.list.js +67 -0
- package/script/deps/jsr.io/@flowcore/sdk/1.11.4/src/commands/tenant/tenant.fetch.d.ts +42 -0
- package/script/deps/jsr.io/@flowcore/sdk/1.11.4/src/commands/tenant/tenant.fetch.d.ts.map +1 -0
- package/script/deps/jsr.io/@flowcore/sdk/1.11.4/src/commands/tenant/tenant.fetch.js +83 -0
- package/script/deps/jsr.io/@flowcore/sdk/1.11.4/src/commands/tenant/tenant.list.d.ts +20 -0
- package/script/deps/jsr.io/@flowcore/sdk/1.11.4/src/commands/tenant/tenant.list.d.ts.map +1 -0
- package/script/deps/jsr.io/@flowcore/sdk/1.11.4/src/commands/tenant/tenant.list.js +69 -0
- package/script/deps/jsr.io/@flowcore/sdk/1.11.4/src/commands/variable/variable.create.d.ts +31 -0
- package/script/deps/jsr.io/@flowcore/sdk/1.11.4/src/commands/variable/variable.create.d.ts.map +1 -0
- package/script/deps/jsr.io/@flowcore/sdk/1.11.4/src/commands/variable/variable.create.js +70 -0
- package/script/deps/jsr.io/@flowcore/sdk/1.11.4/src/commands/variable/variable.delete.d.ts +28 -0
- package/script/deps/jsr.io/@flowcore/sdk/1.11.4/src/commands/variable/variable.delete.d.ts.map +1 -0
- package/script/deps/jsr.io/@flowcore/sdk/1.11.4/src/commands/variable/variable.delete.js +67 -0
- package/script/deps/jsr.io/@flowcore/sdk/1.11.4/src/commands/variable/variable.list.d.ts +27 -0
- package/script/deps/jsr.io/@flowcore/sdk/1.11.4/src/commands/variable/variable.list.d.ts.map +1 -0
- package/script/deps/jsr.io/@flowcore/sdk/1.11.4/src/commands/variable/variable.list.js +73 -0
- package/script/deps/jsr.io/@flowcore/sdk/1.11.4/src/common/command.d.ts +85 -0
- package/script/deps/jsr.io/@flowcore/sdk/1.11.4/src/common/command.d.ts.map +1 -0
- package/script/deps/jsr.io/@flowcore/sdk/1.11.4/src/common/command.js +134 -0
- package/script/deps/jsr.io/@flowcore/sdk/1.11.4/src/common/flowcore-client.d.ts +56 -0
- package/script/deps/jsr.io/@flowcore/sdk/1.11.4/src/common/flowcore-client.d.ts.map +1 -0
- package/script/deps/jsr.io/@flowcore/sdk/1.11.4/src/common/flowcore-client.js +130 -0
- package/script/deps/jsr.io/@flowcore/sdk/1.11.4/src/common/notification-client.d.ts +90 -0
- package/script/deps/jsr.io/@flowcore/sdk/1.11.4/src/common/notification-client.d.ts.map +1 -0
- package/script/deps/jsr.io/@flowcore/sdk/1.11.4/src/common/notification-client.js +274 -0
- package/script/deps/jsr.io/@flowcore/sdk/1.11.4/src/contracts/api-key.d.ts +14 -0
- package/script/deps/jsr.io/@flowcore/sdk/1.11.4/src/contracts/api-key.d.ts.map +1 -0
- package/script/deps/jsr.io/@flowcore/sdk/1.11.4/src/contracts/api-key.js +12 -0
- package/script/deps/jsr.io/@flowcore/sdk/1.11.4/src/contracts/data-core.d.ts +41 -0
- package/script/deps/jsr.io/@flowcore/sdk/1.11.4/src/contracts/data-core.d.ts.map +1 -0
- package/script/deps/jsr.io/@flowcore/sdk/1.11.4/src/contracts/data-core.js +46 -0
- package/script/deps/jsr.io/@flowcore/sdk/1.11.4/src/contracts/event-type.d.ts +37 -0
- package/script/deps/jsr.io/@flowcore/sdk/1.11.4/src/contracts/event-type.d.ts.map +1 -0
- package/script/deps/jsr.io/@flowcore/sdk/1.11.4/src/contracts/event-type.js +43 -0
- package/script/deps/jsr.io/@flowcore/sdk/1.11.4/src/contracts/event.d.ts +20 -0
- package/script/deps/jsr.io/@flowcore/sdk/1.11.4/src/contracts/event.d.ts.map +1 -0
- package/script/deps/jsr.io/@flowcore/sdk/1.11.4/src/contracts/event.js +18 -0
- package/script/deps/jsr.io/@flowcore/sdk/1.11.4/src/contracts/flow-type.d.ts +34 -0
- package/script/deps/jsr.io/@flowcore/sdk/1.11.4/src/contracts/flow-type.d.ts.map +1 -0
- package/script/deps/jsr.io/@flowcore/sdk/1.11.4/src/contracts/flow-type.js +38 -0
- package/script/deps/jsr.io/@flowcore/sdk/1.11.4/src/contracts/index.d.ts +6 -0
- package/script/deps/jsr.io/@flowcore/sdk/1.11.4/src/contracts/index.d.ts.map +1 -0
- package/script/deps/jsr.io/@flowcore/sdk/1.11.4/src/contracts/index.js +2 -0
- package/script/deps/jsr.io/@flowcore/sdk/1.11.4/src/contracts/tenant.d.ts +50 -0
- package/script/deps/jsr.io/@flowcore/sdk/1.11.4/src/contracts/tenant.d.ts.map +1 -0
- package/script/deps/jsr.io/@flowcore/sdk/1.11.4/src/contracts/tenant.js +37 -0
- package/script/deps/jsr.io/@flowcore/sdk/1.11.4/src/contracts/variable.d.ts +13 -0
- package/script/deps/jsr.io/@flowcore/sdk/1.11.4/src/contracts/variable.d.ts.map +1 -0
- package/script/deps/jsr.io/@flowcore/sdk/1.11.4/src/contracts/variable.js +11 -0
- package/script/deps/jsr.io/@flowcore/sdk/1.11.4/src/exceptions/client-error.d.ts +9 -0
- package/script/deps/jsr.io/@flowcore/sdk/1.11.4/src/exceptions/client-error.d.ts.map +1 -0
- package/script/deps/jsr.io/@flowcore/sdk/1.11.4/src/exceptions/client-error.js +24 -0
- package/script/deps/jsr.io/@flowcore/sdk/1.11.4/src/exceptions/command-error.d.ts +7 -0
- package/script/deps/jsr.io/@flowcore/sdk/1.11.4/src/exceptions/command-error.d.ts.map +1 -0
- package/script/deps/jsr.io/@flowcore/sdk/1.11.4/src/exceptions/command-error.js +12 -0
- package/script/deps/jsr.io/@flowcore/sdk/1.11.4/src/exceptions/index.d.ts +5 -0
- package/script/deps/jsr.io/@flowcore/sdk/1.11.4/src/exceptions/index.d.ts.map +1 -0
- package/script/deps/jsr.io/@flowcore/sdk/1.11.4/src/exceptions/index.js +20 -0
- package/script/deps/jsr.io/@flowcore/sdk/1.11.4/src/exceptions/invalid-response.d.ts +8 -0
- package/script/deps/jsr.io/@flowcore/sdk/1.11.4/src/exceptions/invalid-response.d.ts.map +1 -0
- package/script/deps/jsr.io/@flowcore/sdk/1.11.4/src/exceptions/invalid-response.js +19 -0
- package/script/deps/jsr.io/@flowcore/sdk/1.11.4/src/exceptions/not-found.d.ts +7 -0
- package/script/deps/jsr.io/@flowcore/sdk/1.11.4/src/exceptions/not-found.d.ts.map +1 -0
- package/script/deps/jsr.io/@flowcore/sdk/1.11.4/src/exceptions/not-found.js +12 -0
- package/script/deps/jsr.io/@flowcore/sdk/1.11.4/src/mod.d.ts +8 -0
- package/script/deps/jsr.io/@flowcore/sdk/1.11.4/src/mod.d.ts.map +1 -0
- package/script/deps/jsr.io/@flowcore/sdk/1.11.4/src/mod.js +23 -0
- package/script/deps/jsr.io/@flowcore/sdk/1.11.4/src/utils/logger.d.ts +8 -0
- package/script/deps/jsr.io/@flowcore/sdk/1.11.4/src/utils/logger.d.ts.map +1 -0
- package/script/deps/jsr.io/@flowcore/sdk/1.11.4/src/utils/logger.js +17 -0
- package/script/deps/jsr.io/@flowcore/sdk/1.11.4/src/utils/parse-response-helper.d.ts +6 -0
- package/script/deps/jsr.io/@flowcore/sdk/1.11.4/src/utils/parse-response-helper.d.ts.map +1 -0
- package/script/deps/jsr.io/@flowcore/sdk/1.11.4/src/utils/parse-response-helper.js +20 -0
- package/script/lib/data-pump-client.d.ts +30 -0
- package/script/lib/data-pump-client.d.ts.map +1 -0
- package/script/lib/data-pump-client.js +58 -0
- package/script/lib/data-pump.d.ts +75 -0
- package/script/lib/data-pump.d.ts.map +1 -0
- package/script/lib/data-pump.js +368 -0
- package/script/lib/nats-notifier.d.ts +18 -0
- package/script/lib/nats-notifier.d.ts.map +1 -0
- package/script/lib/nats-notifier.js +115 -0
- package/script/lib/time-uuid.d.ts +13 -0
- package/script/lib/time-uuid.d.ts.map +1 -0
- package/script/lib/time-uuid.js +40 -0
- package/script/lib/ws-notifier.d.ts +28 -0
- package/script/lib/ws-notifier.d.ts.map +1 -0
- package/script/lib/ws-notifier.js +94 -0
- package/script/mod.d.ts +3 -0
- package/script/mod.d.ts.map +1 -0
- package/script/mod.js +18 -0
- package/script/package.json +3 -0
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import { type Static, type TObject, type TString } from "@sinclair/typebox";
|
|
2
|
+
/**
|
|
3
|
+
* The schema for an api key
|
|
4
|
+
*/
|
|
5
|
+
export declare const ApiKeySchema: TObject<{
|
|
6
|
+
id: TString;
|
|
7
|
+
name: TString;
|
|
8
|
+
createdAt: TString;
|
|
9
|
+
}>;
|
|
10
|
+
/**
|
|
11
|
+
* The type for an api key
|
|
12
|
+
*/
|
|
13
|
+
export type ApiKey = Static<typeof ApiKeySchema>;
|
|
14
|
+
//# sourceMappingURL=api-key.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"api-key.d.ts","sourceRoot":"","sources":["../../../../../../../../src/deps/jsr.io/@flowcore/sdk/1.11.4/src/contracts/api-key.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,MAAM,EAAE,KAAK,OAAO,EAAE,KAAK,OAAO,EAAQ,MAAM,mBAAmB,CAAA;AAEjF;;GAEG;AACH,eAAO,MAAM,YAAY,EAAE,OAAO,CAAC;IACjC,EAAE,EAAE,OAAO,CAAA;IACX,IAAI,EAAE,OAAO,CAAA;IACb,SAAS,EAAE,OAAO,CAAA;CACnB,CAIC,CAAA;AACF;;GAEG;AACH,MAAM,MAAM,MAAM,GAAG,MAAM,CAAC,OAAO,YAAY,CAAC,CAAA"}
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.ApiKeySchema = void 0;
|
|
4
|
+
const typebox_1 = require("@sinclair/typebox");
|
|
5
|
+
/**
|
|
6
|
+
* The schema for an api key
|
|
7
|
+
*/
|
|
8
|
+
exports.ApiKeySchema = typebox_1.Type.Object({
|
|
9
|
+
id: typebox_1.Type.String(),
|
|
10
|
+
name: typebox_1.Type.String(),
|
|
11
|
+
createdAt: typebox_1.Type.String(),
|
|
12
|
+
});
|
|
@@ -0,0 +1,41 @@
|
|
|
1
|
+
import { type Static, type TArray, type TBoolean, type TLiteral, type TNull, type TObject, type TOptional, type TString, type TUnion } from "@sinclair/typebox";
|
|
2
|
+
/**
|
|
3
|
+
* The schema for a data core
|
|
4
|
+
*/
|
|
5
|
+
export declare const DataCoreSchema: TObject<{
|
|
6
|
+
id: TString;
|
|
7
|
+
tenantId: TString;
|
|
8
|
+
name: TString;
|
|
9
|
+
description: TString;
|
|
10
|
+
accessControl: TUnion<[TLiteral<"public">, TLiteral<"private">]>;
|
|
11
|
+
deleteProtection: TBoolean;
|
|
12
|
+
isDeleting: TBoolean;
|
|
13
|
+
}>;
|
|
14
|
+
/**
|
|
15
|
+
* The type for a data core
|
|
16
|
+
*/
|
|
17
|
+
export type DataCore = Static<typeof DataCoreSchema>;
|
|
18
|
+
/**
|
|
19
|
+
* The schema for a data core v0
|
|
20
|
+
*/
|
|
21
|
+
export declare const DataCoreV0Schema: TObject<{
|
|
22
|
+
id: TString;
|
|
23
|
+
name: TString;
|
|
24
|
+
description: TUnion<[TString, TNull]>;
|
|
25
|
+
isPublic: TBoolean;
|
|
26
|
+
configuration: TOptional<TArray<TObject<{
|
|
27
|
+
key: TLiteral<"DELETE_PROTECTION_ENABLED">;
|
|
28
|
+
value: TUnion<[TLiteral<"true">, TLiteral<"false">]>;
|
|
29
|
+
}>>>;
|
|
30
|
+
truncating: TBoolean;
|
|
31
|
+
deleting: TBoolean;
|
|
32
|
+
}>;
|
|
33
|
+
/**
|
|
34
|
+
* The type for a data core v0
|
|
35
|
+
*/
|
|
36
|
+
export type DataCoreV0 = Static<typeof DataCoreV0Schema>;
|
|
37
|
+
/**
|
|
38
|
+
* Convert a data core v0 to a data core
|
|
39
|
+
*/
|
|
40
|
+
export declare const dataCoreV0ToDataCore: (dataCoreV0: DataCoreV0, organizationId: string) => DataCore;
|
|
41
|
+
//# sourceMappingURL=data-core.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"data-core.d.ts","sourceRoot":"","sources":["../../../../../../../../src/deps/jsr.io/@flowcore/sdk/1.11.4/src/contracts/data-core.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,KAAK,MAAM,EACX,KAAK,MAAM,EACX,KAAK,QAAQ,EACb,KAAK,QAAQ,EACb,KAAK,KAAK,EACV,KAAK,OAAO,EACZ,KAAK,SAAS,EACd,KAAK,OAAO,EACZ,KAAK,MAAM,EAEZ,MAAM,mBAAmB,CAAA;AAE1B;;GAEG;AACH,eAAO,MAAM,cAAc,EAAE,OAAO,CAAC;IACnC,EAAE,EAAE,OAAO,CAAA;IACX,QAAQ,EAAE,OAAO,CAAA;IACjB,IAAI,EAAE,OAAO,CAAA;IACb,WAAW,EAAE,OAAO,CAAA;IACpB,aAAa,EAAE,MAAM,CAAC,CAAC,QAAQ,CAAC,QAAQ,CAAC,EAAE,QAAQ,CAAC,SAAS,CAAC,CAAC,CAAC,CAAA;IAChE,gBAAgB,EAAE,QAAQ,CAAA;IAC1B,UAAU,EAAE,QAAQ,CAAA;CACrB,CAQC,CAAA;AACF;;GAEG;AACH,MAAM,MAAM,QAAQ,GAAG,MAAM,CAAC,OAAO,cAAc,CAAC,CAAA;AAEpD;;GAEG;AACH,eAAO,MAAM,gBAAgB,EAAE,OAAO,CAAC;IACrC,EAAE,EAAE,OAAO,CAAA;IACX,IAAI,EAAE,OAAO,CAAA;IACb,WAAW,EAAE,MAAM,CAAC,CAAC,OAAO,EAAE,KAAK,CAAC,CAAC,CAAA;IACrC,QAAQ,EAAE,QAAQ,CAAA;IAClB,aAAa,EAAE,SAAS,CACtB,MAAM,CACJ,OAAO,CAAC;QACN,GAAG,EAAE,QAAQ,CAAC,2BAA2B,CAAC,CAAA;QAC1C,KAAK,EAAE,MAAM,CAAC,CAAC,QAAQ,CAAC,MAAM,CAAC,EAAE,QAAQ,CAAC,OAAO,CAAC,CAAC,CAAC,CAAA;KACrD,CAAC,CACH,CACF,CAAA;IACD,UAAU,EAAE,QAAQ,CAAA;IACpB,QAAQ,EAAE,QAAQ,CAAA;CACnB,CAgBC,CAAA;AACF;;GAEG;AACH,MAAM,MAAM,UAAU,GAAG,MAAM,CAAC,OAAO,gBAAgB,CAAC,CAAA;AAExD;;GAEG;AACH,eAAO,MAAM,oBAAoB,eACnB,UAAU,kBACN,MAAM,KACrB,QAUF,CAAA"}
|
|
@@ -0,0 +1,46 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.dataCoreV0ToDataCore = exports.DataCoreV0Schema = exports.DataCoreSchema = void 0;
|
|
4
|
+
const typebox_1 = require("@sinclair/typebox");
|
|
5
|
+
/**
|
|
6
|
+
* The schema for a data core
|
|
7
|
+
*/
|
|
8
|
+
exports.DataCoreSchema = typebox_1.Type.Object({
|
|
9
|
+
id: typebox_1.Type.String(),
|
|
10
|
+
tenantId: typebox_1.Type.String(),
|
|
11
|
+
name: typebox_1.Type.String(),
|
|
12
|
+
description: typebox_1.Type.String(),
|
|
13
|
+
accessControl: typebox_1.Type.Union([typebox_1.Type.Literal("public"), typebox_1.Type.Literal("private")]),
|
|
14
|
+
deleteProtection: typebox_1.Type.Boolean(),
|
|
15
|
+
isDeleting: typebox_1.Type.Boolean(),
|
|
16
|
+
});
|
|
17
|
+
/**
|
|
18
|
+
* The schema for a data core v0
|
|
19
|
+
*/
|
|
20
|
+
exports.DataCoreV0Schema = typebox_1.Type.Object({
|
|
21
|
+
id: typebox_1.Type.String(),
|
|
22
|
+
name: typebox_1.Type.String(),
|
|
23
|
+
description: typebox_1.Type.Union([typebox_1.Type.String(), typebox_1.Type.Null()]),
|
|
24
|
+
isPublic: typebox_1.Type.Boolean(),
|
|
25
|
+
configuration: typebox_1.Type.Optional(typebox_1.Type.Array(typebox_1.Type.Object({
|
|
26
|
+
key: typebox_1.Type.Literal("DELETE_PROTECTION_ENABLED"),
|
|
27
|
+
value: typebox_1.Type.Union([typebox_1.Type.Literal("true"), typebox_1.Type.Literal("false")]),
|
|
28
|
+
}), { minItems: 0, maxItems: 1 })),
|
|
29
|
+
truncating: typebox_1.Type.Boolean(),
|
|
30
|
+
deleting: typebox_1.Type.Boolean(),
|
|
31
|
+
});
|
|
32
|
+
/**
|
|
33
|
+
* Convert a data core v0 to a data core
|
|
34
|
+
*/
|
|
35
|
+
const dataCoreV0ToDataCore = (dataCoreV0, organizationId) => {
|
|
36
|
+
return {
|
|
37
|
+
id: dataCoreV0.id,
|
|
38
|
+
tenantId: organizationId,
|
|
39
|
+
name: dataCoreV0.name,
|
|
40
|
+
description: dataCoreV0.description ?? "",
|
|
41
|
+
accessControl: dataCoreV0.isPublic ? "public" : "private",
|
|
42
|
+
deleteProtection: dataCoreV0.configuration?.[0]?.value === "true",
|
|
43
|
+
isDeleting: dataCoreV0.deleting,
|
|
44
|
+
};
|
|
45
|
+
};
|
|
46
|
+
exports.dataCoreV0ToDataCore = dataCoreV0ToDataCore;
|
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
import { type Static, type TBoolean, type TNull, type TObject, type TString, type TUnion } from "@sinclair/typebox";
|
|
2
|
+
/**
|
|
3
|
+
* The schema for an event type
|
|
4
|
+
*/
|
|
5
|
+
export declare const EventTypeSchema: TObject<{
|
|
6
|
+
id: TString;
|
|
7
|
+
tenantId: TString;
|
|
8
|
+
dataCoreId: TString;
|
|
9
|
+
flowTypeId: TString;
|
|
10
|
+
name: TString;
|
|
11
|
+
description: TString;
|
|
12
|
+
isTruncating: TBoolean;
|
|
13
|
+
isDeleting: TBoolean;
|
|
14
|
+
}>;
|
|
15
|
+
/**
|
|
16
|
+
* The type for an event type
|
|
17
|
+
*/
|
|
18
|
+
export type EventType = Static<typeof EventTypeSchema>;
|
|
19
|
+
/**
|
|
20
|
+
* The schema for an event type v0
|
|
21
|
+
*/
|
|
22
|
+
export declare const EventTypeV0Schema: TObject<{
|
|
23
|
+
id: TString;
|
|
24
|
+
name: TString;
|
|
25
|
+
description: TUnion<[TString, TNull]>;
|
|
26
|
+
truncating: TBoolean;
|
|
27
|
+
deleting: TBoolean;
|
|
28
|
+
}>;
|
|
29
|
+
/**
|
|
30
|
+
* The type for an event type v0
|
|
31
|
+
*/
|
|
32
|
+
export type EventTypeV0 = Static<typeof EventTypeV0Schema>;
|
|
33
|
+
/**
|
|
34
|
+
* Convert an event type v0 to an event type
|
|
35
|
+
*/
|
|
36
|
+
export declare const eventTypeV0ToEventType: (eventTypeV0: EventTypeV0, organizationId: string, dataCoreId: string, flowTypeId: string) => EventType;
|
|
37
|
+
//# sourceMappingURL=event-type.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"event-type.d.ts","sourceRoot":"","sources":["../../../../../../../../src/deps/jsr.io/@flowcore/sdk/1.11.4/src/contracts/event-type.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,KAAK,MAAM,EACX,KAAK,QAAQ,EACb,KAAK,KAAK,EACV,KAAK,OAAO,EACZ,KAAK,OAAO,EACZ,KAAK,MAAM,EAEZ,MAAM,mBAAmB,CAAA;AAE1B;;GAEG;AACH,eAAO,MAAM,eAAe,EAAE,OAAO,CAAC;IACpC,EAAE,EAAE,OAAO,CAAA;IACX,QAAQ,EAAE,OAAO,CAAA;IACjB,UAAU,EAAE,OAAO,CAAA;IACnB,UAAU,EAAE,OAAO,CAAA;IACnB,IAAI,EAAE,OAAO,CAAA;IACb,WAAW,EAAE,OAAO,CAAA;IACpB,YAAY,EAAE,QAAQ,CAAA;IACtB,UAAU,EAAE,QAAQ,CAAA;CACrB,CASC,CAAA;AAEF;;GAEG;AACH,MAAM,MAAM,SAAS,GAAG,MAAM,CAAC,OAAO,eAAe,CAAC,CAAA;AAEtD;;GAEG;AACH,eAAO,MAAM,iBAAiB,EAAE,OAAO,CAAC;IACtC,EAAE,EAAE,OAAO,CAAA;IACX,IAAI,EAAE,OAAO,CAAA;IACb,WAAW,EAAE,MAAM,CAAC,CAAC,OAAO,EAAE,KAAK,CAAC,CAAC,CAAA;IACrC,UAAU,EAAE,QAAQ,CAAA;IACpB,QAAQ,EAAE,QAAQ,CAAA;CACnB,CAMC,CAAA;AAEF;;GAEG;AACH,MAAM,MAAM,WAAW,GAAG,MAAM,CAAC,OAAO,iBAAiB,CAAC,CAAA;AAE1D;;GAEG;AACH,eAAO,MAAM,sBAAsB,gBACpB,WAAW,kBACR,MAAM,cACV,MAAM,cACN,MAAM,KACjB,SAWF,CAAA"}
|
|
@@ -0,0 +1,43 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.eventTypeV0ToEventType = exports.EventTypeV0Schema = exports.EventTypeSchema = void 0;
|
|
4
|
+
const typebox_1 = require("@sinclair/typebox");
|
|
5
|
+
/**
|
|
6
|
+
* The schema for an event type
|
|
7
|
+
*/
|
|
8
|
+
exports.EventTypeSchema = typebox_1.Type.Object({
|
|
9
|
+
id: typebox_1.Type.String(),
|
|
10
|
+
tenantId: typebox_1.Type.String(),
|
|
11
|
+
dataCoreId: typebox_1.Type.String(),
|
|
12
|
+
flowTypeId: typebox_1.Type.String(),
|
|
13
|
+
name: typebox_1.Type.String(),
|
|
14
|
+
description: typebox_1.Type.String(),
|
|
15
|
+
isTruncating: typebox_1.Type.Boolean(),
|
|
16
|
+
isDeleting: typebox_1.Type.Boolean(),
|
|
17
|
+
});
|
|
18
|
+
/**
|
|
19
|
+
* The schema for an event type v0
|
|
20
|
+
*/
|
|
21
|
+
exports.EventTypeV0Schema = typebox_1.Type.Object({
|
|
22
|
+
id: typebox_1.Type.String(),
|
|
23
|
+
name: typebox_1.Type.String(),
|
|
24
|
+
description: typebox_1.Type.Union([typebox_1.Type.String(), typebox_1.Type.Null()]),
|
|
25
|
+
truncating: typebox_1.Type.Boolean(),
|
|
26
|
+
deleting: typebox_1.Type.Boolean(),
|
|
27
|
+
});
|
|
28
|
+
/**
|
|
29
|
+
* Convert an event type v0 to an event type
|
|
30
|
+
*/
|
|
31
|
+
const eventTypeV0ToEventType = (eventTypeV0, organizationId, dataCoreId, flowTypeId) => {
|
|
32
|
+
return {
|
|
33
|
+
id: eventTypeV0.id,
|
|
34
|
+
tenantId: organizationId,
|
|
35
|
+
dataCoreId,
|
|
36
|
+
flowTypeId,
|
|
37
|
+
name: eventTypeV0.name,
|
|
38
|
+
description: eventTypeV0.description ?? "",
|
|
39
|
+
isTruncating: eventTypeV0.truncating,
|
|
40
|
+
isDeleting: eventTypeV0.deleting,
|
|
41
|
+
};
|
|
42
|
+
};
|
|
43
|
+
exports.eventTypeV0ToEventType = eventTypeV0ToEventType;
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
import { type Static, type TObject, type TRecord, type TString, type TUnknown } from "@sinclair/typebox";
|
|
2
|
+
/**
|
|
3
|
+
* The schema for an event
|
|
4
|
+
*/
|
|
5
|
+
export declare const FlowcoreEventSchema: TObject<{
|
|
6
|
+
eventId: TString;
|
|
7
|
+
timeBucket: TString;
|
|
8
|
+
tenant: TString;
|
|
9
|
+
dataCoreId: TString;
|
|
10
|
+
flowType: TString;
|
|
11
|
+
eventType: TString;
|
|
12
|
+
metadata: TRecord<TString, TUnknown>;
|
|
13
|
+
payload: TRecord<TString, TUnknown>;
|
|
14
|
+
validTime: TString;
|
|
15
|
+
}>;
|
|
16
|
+
/**
|
|
17
|
+
* The type for an event
|
|
18
|
+
*/
|
|
19
|
+
export type FlowcoreEvent = Static<typeof FlowcoreEventSchema>;
|
|
20
|
+
//# sourceMappingURL=event.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"event.d.ts","sourceRoot":"","sources":["../../../../../../../../src/deps/jsr.io/@flowcore/sdk/1.11.4/src/contracts/event.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,MAAM,EAAE,KAAK,OAAO,EAAE,KAAK,OAAO,EAAE,KAAK,OAAO,EAAE,KAAK,QAAQ,EAAQ,MAAM,mBAAmB,CAAA;AAE9G;;GAEG;AACH,eAAO,MAAM,mBAAmB,EAAE,OAAO,CAAC;IACxC,OAAO,EAAE,OAAO,CAAA;IAChB,UAAU,EAAE,OAAO,CAAA;IACnB,MAAM,EAAE,OAAO,CAAA;IACf,UAAU,EAAE,OAAO,CAAA;IACnB,QAAQ,EAAE,OAAO,CAAA;IACjB,SAAS,EAAE,OAAO,CAAA;IAClB,QAAQ,EAAE,OAAO,CAAC,OAAO,EAAE,QAAQ,CAAC,CAAA;IACpC,OAAO,EAAE,OAAO,CAAC,OAAO,EAAE,QAAQ,CAAC,CAAA;IACnC,SAAS,EAAE,OAAO,CAAA;CACnB,CAUC,CAAA;AAEF;;GAEG;AACH,MAAM,MAAM,aAAa,GAAG,MAAM,CAAC,OAAO,mBAAmB,CAAC,CAAA"}
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.FlowcoreEventSchema = void 0;
|
|
4
|
+
const typebox_1 = require("@sinclair/typebox");
|
|
5
|
+
/**
|
|
6
|
+
* The schema for an event
|
|
7
|
+
*/
|
|
8
|
+
exports.FlowcoreEventSchema = typebox_1.Type.Object({
|
|
9
|
+
eventId: typebox_1.Type.String(),
|
|
10
|
+
timeBucket: typebox_1.Type.String(),
|
|
11
|
+
tenant: typebox_1.Type.String(),
|
|
12
|
+
dataCoreId: typebox_1.Type.String(),
|
|
13
|
+
flowType: typebox_1.Type.String(),
|
|
14
|
+
eventType: typebox_1.Type.String(),
|
|
15
|
+
metadata: typebox_1.Type.Record(typebox_1.Type.String(), typebox_1.Type.Unknown()),
|
|
16
|
+
payload: typebox_1.Type.Record(typebox_1.Type.String(), typebox_1.Type.Unknown()),
|
|
17
|
+
validTime: typebox_1.Type.String(),
|
|
18
|
+
});
|
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
import { type Static, type TBoolean, type TNull, type TObject, type TString, type TUnion } from "@sinclair/typebox";
|
|
2
|
+
/**
|
|
3
|
+
* The schema for a flow type
|
|
4
|
+
*/
|
|
5
|
+
export declare const FlowTypeSchema: TObject<{
|
|
6
|
+
id: TString;
|
|
7
|
+
tenantId: TString;
|
|
8
|
+
dataCoreId: TString;
|
|
9
|
+
name: TString;
|
|
10
|
+
description: TString;
|
|
11
|
+
isDeleting: TBoolean;
|
|
12
|
+
}>;
|
|
13
|
+
/**
|
|
14
|
+
* The type for a flow type
|
|
15
|
+
*/
|
|
16
|
+
export type FlowType = Static<typeof FlowTypeSchema>;
|
|
17
|
+
/**
|
|
18
|
+
* The schema for a flow type v0
|
|
19
|
+
*/
|
|
20
|
+
export declare const FlowTypeV0Schema: TObject<{
|
|
21
|
+
id: TString;
|
|
22
|
+
aggregator: TString;
|
|
23
|
+
description: TUnion<[TString, TNull]>;
|
|
24
|
+
deleting: TBoolean;
|
|
25
|
+
}>;
|
|
26
|
+
/**
|
|
27
|
+
* The type for a flow type v0
|
|
28
|
+
*/
|
|
29
|
+
export type FlowTypeV0 = Static<typeof FlowTypeV0Schema>;
|
|
30
|
+
/**
|
|
31
|
+
* Convert a flow type v0 to a flow type
|
|
32
|
+
*/
|
|
33
|
+
export declare const flowTypeV0ToFlowType: (flowTypeV0: FlowTypeV0, organizationId: string, dataCoreId: string) => FlowType;
|
|
34
|
+
//# sourceMappingURL=flow-type.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"flow-type.d.ts","sourceRoot":"","sources":["../../../../../../../../src/deps/jsr.io/@flowcore/sdk/1.11.4/src/contracts/flow-type.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,KAAK,MAAM,EACX,KAAK,QAAQ,EACb,KAAK,KAAK,EACV,KAAK,OAAO,EACZ,KAAK,OAAO,EACZ,KAAK,MAAM,EAEZ,MAAM,mBAAmB,CAAA;AAE1B;;GAEG;AACH,eAAO,MAAM,cAAc,EAAE,OAAO,CAAC;IACnC,EAAE,EAAE,OAAO,CAAA;IACX,QAAQ,EAAE,OAAO,CAAA;IACjB,UAAU,EAAE,OAAO,CAAA;IACnB,IAAI,EAAE,OAAO,CAAA;IACb,WAAW,EAAE,OAAO,CAAA;IACpB,UAAU,EAAE,QAAQ,CAAA;CACrB,CAOC,CAAA;AAEF;;GAEG;AACH,MAAM,MAAM,QAAQ,GAAG,MAAM,CAAC,OAAO,cAAc,CAAC,CAAA;AAEpD;;GAEG;AACH,eAAO,MAAM,gBAAgB,EAAE,OAAO,CAAC;IACrC,EAAE,EAAE,OAAO,CAAA;IACX,UAAU,EAAE,OAAO,CAAA;IACnB,WAAW,EAAE,MAAM,CAAC,CAAC,OAAO,EAAE,KAAK,CAAC,CAAC,CAAA;IACrC,QAAQ,EAAE,QAAQ,CAAA;CACnB,CAKC,CAAA;AAEF;;GAEG;AACH,MAAM,MAAM,UAAU,GAAG,MAAM,CAAC,OAAO,gBAAgB,CAAC,CAAA;AAExD;;GAEG;AACH,eAAO,MAAM,oBAAoB,eACnB,UAAU,kBACN,MAAM,cACV,MAAM,KACjB,QASF,CAAA"}
|
|
@@ -0,0 +1,38 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.flowTypeV0ToFlowType = exports.FlowTypeV0Schema = exports.FlowTypeSchema = void 0;
|
|
4
|
+
const typebox_1 = require("@sinclair/typebox");
|
|
5
|
+
/**
|
|
6
|
+
* The schema for a flow type
|
|
7
|
+
*/
|
|
8
|
+
exports.FlowTypeSchema = typebox_1.Type.Object({
|
|
9
|
+
id: typebox_1.Type.String(),
|
|
10
|
+
tenantId: typebox_1.Type.String(),
|
|
11
|
+
dataCoreId: typebox_1.Type.String(),
|
|
12
|
+
name: typebox_1.Type.String(),
|
|
13
|
+
description: typebox_1.Type.String(),
|
|
14
|
+
isDeleting: typebox_1.Type.Boolean(),
|
|
15
|
+
});
|
|
16
|
+
/**
|
|
17
|
+
* The schema for a flow type v0
|
|
18
|
+
*/
|
|
19
|
+
exports.FlowTypeV0Schema = typebox_1.Type.Object({
|
|
20
|
+
id: typebox_1.Type.String(),
|
|
21
|
+
aggregator: typebox_1.Type.String(),
|
|
22
|
+
description: typebox_1.Type.Union([typebox_1.Type.String(), typebox_1.Type.Null()]),
|
|
23
|
+
deleting: typebox_1.Type.Boolean(),
|
|
24
|
+
});
|
|
25
|
+
/**
|
|
26
|
+
* Convert a flow type v0 to a flow type
|
|
27
|
+
*/
|
|
28
|
+
const flowTypeV0ToFlowType = (flowTypeV0, organizationId, dataCoreId) => {
|
|
29
|
+
return {
|
|
30
|
+
id: flowTypeV0.id,
|
|
31
|
+
tenantId: organizationId,
|
|
32
|
+
dataCoreId,
|
|
33
|
+
name: flowTypeV0.aggregator,
|
|
34
|
+
description: flowTypeV0.description ?? "",
|
|
35
|
+
isDeleting: flowTypeV0.deleting,
|
|
36
|
+
};
|
|
37
|
+
};
|
|
38
|
+
exports.flowTypeV0ToFlowType = flowTypeV0ToFlowType;
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
export type { DataCore } from "./data-core.js";
|
|
2
|
+
export type { EventType } from "./event-type.js";
|
|
3
|
+
export type { FlowType } from "./flow-type.js";
|
|
4
|
+
export type { FlowcoreEvent } from "./event.js";
|
|
5
|
+
export type { Tenant } from "./tenant.js";
|
|
6
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../../../src/deps/jsr.io/@flowcore/sdk/1.11.4/src/contracts/index.ts"],"names":[],"mappings":"AAAA,YAAY,EAAE,QAAQ,EAAE,MAAM,gBAAgB,CAAA;AAC9C,YAAY,EAAE,SAAS,EAAE,MAAM,iBAAiB,CAAA;AAChD,YAAY,EAAE,QAAQ,EAAE,MAAM,gBAAgB,CAAA;AAC9C,YAAY,EAAE,aAAa,EAAE,MAAM,YAAY,CAAA;AAC/C,YAAY,EAAE,MAAM,EAAE,MAAM,aAAa,CAAA"}
|
|
@@ -0,0 +1,50 @@
|
|
|
1
|
+
import { type Static, type TObject, type TString } from "@sinclair/typebox";
|
|
2
|
+
interface TenantById {
|
|
3
|
+
tenantId: string;
|
|
4
|
+
tenant?: never;
|
|
5
|
+
}
|
|
6
|
+
interface TenantByName {
|
|
7
|
+
tenant: string;
|
|
8
|
+
tenantId?: never;
|
|
9
|
+
}
|
|
10
|
+
export type TenantFetchInput = TenantById | TenantByName;
|
|
11
|
+
/**
|
|
12
|
+
* The schema for a tenant
|
|
13
|
+
*/
|
|
14
|
+
export declare const TenantSchema: TObject<{
|
|
15
|
+
id: TString;
|
|
16
|
+
name: TString;
|
|
17
|
+
displayName: TString;
|
|
18
|
+
description: TString;
|
|
19
|
+
website: TString;
|
|
20
|
+
}>;
|
|
21
|
+
/**
|
|
22
|
+
* The type for a tenant
|
|
23
|
+
*/
|
|
24
|
+
export type Tenant = Static<typeof TenantSchema>;
|
|
25
|
+
/**
|
|
26
|
+
* The type for a tenant with a link type
|
|
27
|
+
*/
|
|
28
|
+
export type TenantWithLinkType = Tenant & {
|
|
29
|
+
linkType: "OWNER" | "COLLABORATOR";
|
|
30
|
+
};
|
|
31
|
+
/**
|
|
32
|
+
* The schema for a tenant v0
|
|
33
|
+
*/
|
|
34
|
+
export declare const TenantV0Schema: TObject<{
|
|
35
|
+
id: TString;
|
|
36
|
+
org: TString;
|
|
37
|
+
displayName: TString;
|
|
38
|
+
description: TString;
|
|
39
|
+
website: TString;
|
|
40
|
+
}>;
|
|
41
|
+
/**
|
|
42
|
+
* The type for a tenant v0
|
|
43
|
+
*/
|
|
44
|
+
export type TenantV0 = Static<typeof TenantV0Schema>;
|
|
45
|
+
/**
|
|
46
|
+
* Convert a data core v0 to a data core
|
|
47
|
+
*/
|
|
48
|
+
export declare const tenantV0ToTenant: (tenantV0: TenantV0) => Tenant;
|
|
49
|
+
export {};
|
|
50
|
+
//# sourceMappingURL=tenant.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"tenant.d.ts","sourceRoot":"","sources":["../../../../../../../../src/deps/jsr.io/@flowcore/sdk/1.11.4/src/contracts/tenant.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,MAAM,EAAE,KAAK,OAAO,EAAE,KAAK,OAAO,EAAQ,MAAM,mBAAmB,CAAA;AAEjF,UAAU,UAAU;IAClB,QAAQ,EAAE,MAAM,CAAA;IAChB,MAAM,CAAC,EAAE,KAAK,CAAA;CACf;AAED,UAAU,YAAY;IACpB,MAAM,EAAE,MAAM,CAAA;IACd,QAAQ,CAAC,EAAE,KAAK,CAAA;CACjB;AAED,MAAM,MAAM,gBAAgB,GAAG,UAAU,GAAG,YAAY,CAAA;AAExD;;GAEG;AACH,eAAO,MAAM,YAAY,EAAE,OAAO,CAAC;IACjC,EAAE,EAAE,OAAO,CAAA;IACX,IAAI,EAAE,OAAO,CAAA;IACb,WAAW,EAAE,OAAO,CAAA;IACpB,WAAW,EAAE,OAAO,CAAA;IACpB,OAAO,EAAE,OAAO,CAAA;CACjB,CAMC,CAAA;AACF;;GAEG;AACH,MAAM,MAAM,MAAM,GAAG,MAAM,CAAC,OAAO,YAAY,CAAC,CAAA;AAEhD;;GAEG;AACH,MAAM,MAAM,kBAAkB,GAAG,MAAM,GAAG;IACxC,QAAQ,EAAE,OAAO,GAAG,cAAc,CAAA;CACnC,CAAA;AAED;;GAEG;AACH,eAAO,MAAM,cAAc,EAAE,OAAO,CAAC;IACnC,EAAE,EAAE,OAAO,CAAA;IACX,GAAG,EAAE,OAAO,CAAA;IACZ,WAAW,EAAE,OAAO,CAAA;IACpB,WAAW,EAAE,OAAO,CAAA;IACpB,OAAO,EAAE,OAAO,CAAA;CACjB,CAMC,CAAA;AAEF;;GAEG;AACH,MAAM,MAAM,QAAQ,GAAG,MAAM,CAAC,OAAO,cAAc,CAAC,CAAA;AAEpD;;GAEG;AACH,eAAO,MAAM,gBAAgB,aACjB,QAAQ,KACjB,MAQF,CAAA"}
|
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.tenantV0ToTenant = exports.TenantV0Schema = exports.TenantSchema = void 0;
|
|
4
|
+
const typebox_1 = require("@sinclair/typebox");
|
|
5
|
+
/**
|
|
6
|
+
* The schema for a tenant
|
|
7
|
+
*/
|
|
8
|
+
exports.TenantSchema = typebox_1.Type.Object({
|
|
9
|
+
id: typebox_1.Type.String(),
|
|
10
|
+
name: typebox_1.Type.String(),
|
|
11
|
+
displayName: typebox_1.Type.String(),
|
|
12
|
+
description: typebox_1.Type.String(),
|
|
13
|
+
website: typebox_1.Type.String(),
|
|
14
|
+
});
|
|
15
|
+
/**
|
|
16
|
+
* The schema for a tenant v0
|
|
17
|
+
*/
|
|
18
|
+
exports.TenantV0Schema = typebox_1.Type.Object({
|
|
19
|
+
id: typebox_1.Type.String(),
|
|
20
|
+
org: typebox_1.Type.String(),
|
|
21
|
+
displayName: typebox_1.Type.String(),
|
|
22
|
+
description: typebox_1.Type.String(),
|
|
23
|
+
website: typebox_1.Type.String(),
|
|
24
|
+
});
|
|
25
|
+
/**
|
|
26
|
+
* Convert a data core v0 to a data core
|
|
27
|
+
*/
|
|
28
|
+
const tenantV0ToTenant = (tenantV0) => {
|
|
29
|
+
return {
|
|
30
|
+
id: tenantV0.id,
|
|
31
|
+
name: tenantV0.org,
|
|
32
|
+
displayName: tenantV0.displayName,
|
|
33
|
+
description: tenantV0.description,
|
|
34
|
+
website: tenantV0.website,
|
|
35
|
+
};
|
|
36
|
+
};
|
|
37
|
+
exports.tenantV0ToTenant = tenantV0ToTenant;
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import { type Static, type TObject, type TString } from "@sinclair/typebox";
|
|
2
|
+
/**
|
|
3
|
+
* The schema for a variable
|
|
4
|
+
*/
|
|
5
|
+
export declare const VariableSchema: TObject<{
|
|
6
|
+
key: TString;
|
|
7
|
+
value: TString;
|
|
8
|
+
}>;
|
|
9
|
+
/**
|
|
10
|
+
* The type for a variable
|
|
11
|
+
*/
|
|
12
|
+
export type Variable = Static<typeof VariableSchema>;
|
|
13
|
+
//# sourceMappingURL=variable.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"variable.d.ts","sourceRoot":"","sources":["../../../../../../../../src/deps/jsr.io/@flowcore/sdk/1.11.4/src/contracts/variable.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,MAAM,EAAE,KAAK,OAAO,EAAE,KAAK,OAAO,EAAQ,MAAM,mBAAmB,CAAA;AAEjF;;GAEG;AACH,eAAO,MAAM,cAAc,EAAE,OAAO,CAAC;IACnC,GAAG,EAAE,OAAO,CAAA;IACZ,KAAK,EAAE,OAAO,CAAA;CACf,CAGC,CAAA;AACF;;GAEG;AACH,MAAM,MAAM,QAAQ,GAAG,MAAM,CAAC,OAAO,cAAc,CAAC,CAAA"}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.VariableSchema = void 0;
|
|
4
|
+
const typebox_1 = require("@sinclair/typebox");
|
|
5
|
+
/**
|
|
6
|
+
* The schema for a variable
|
|
7
|
+
*/
|
|
8
|
+
exports.VariableSchema = typebox_1.Type.Object({
|
|
9
|
+
key: typebox_1.Type.String(),
|
|
10
|
+
value: typebox_1.Type.String(),
|
|
11
|
+
});
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* An error thrown when the client request fails
|
|
3
|
+
*/
|
|
4
|
+
export declare class ClientError extends Error {
|
|
5
|
+
readonly status: number;
|
|
6
|
+
readonly body?: unknown | undefined;
|
|
7
|
+
constructor(message: string, status: number, body?: unknown | undefined);
|
|
8
|
+
}
|
|
9
|
+
//# sourceMappingURL=client-error.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"client-error.d.ts","sourceRoot":"","sources":["../../../../../../../../src/deps/jsr.io/@flowcore/sdk/1.11.4/src/exceptions/client-error.ts"],"names":[],"mappings":"AAAA;;GAEG;AACH,qBAAa,WAAY,SAAQ,KAAK;aACS,MAAM,EAAE,MAAM;aAAkB,IAAI,CAAC,EAAE,OAAO;gBAA/E,OAAO,EAAE,MAAM,EAAkB,MAAM,EAAE,MAAM,EAAkB,IAAI,CAAC,EAAE,OAAO,YAAA;CAG5F"}
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.ClientError = void 0;
|
|
4
|
+
/**
|
|
5
|
+
* An error thrown when the client request fails
|
|
6
|
+
*/
|
|
7
|
+
class ClientError extends Error {
|
|
8
|
+
constructor(message, status, body) {
|
|
9
|
+
super(`Client failed with ${status}: ${message}`);
|
|
10
|
+
Object.defineProperty(this, "status", {
|
|
11
|
+
enumerable: true,
|
|
12
|
+
configurable: true,
|
|
13
|
+
writable: true,
|
|
14
|
+
value: status
|
|
15
|
+
});
|
|
16
|
+
Object.defineProperty(this, "body", {
|
|
17
|
+
enumerable: true,
|
|
18
|
+
configurable: true,
|
|
19
|
+
writable: true,
|
|
20
|
+
value: body
|
|
21
|
+
});
|
|
22
|
+
}
|
|
23
|
+
}
|
|
24
|
+
exports.ClientError = ClientError;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"command-error.d.ts","sourceRoot":"","sources":["../../../../../../../../src/deps/jsr.io/@flowcore/sdk/1.11.4/src/exceptions/command-error.ts"],"names":[],"mappings":"AAAA;;GAEG;AACH,qBAAa,YAAa,SAAQ,KAAK;gBACzB,WAAW,EAAE,MAAM,EAAE,OAAO,EAAE,MAAM;CAGjD"}
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.CommandError = void 0;
|
|
4
|
+
/**
|
|
5
|
+
* An error thrown when the command fails
|
|
6
|
+
*/
|
|
7
|
+
class CommandError extends Error {
|
|
8
|
+
constructor(commandName, message) {
|
|
9
|
+
super(`Command "${commandName}" failed with: ${message}`);
|
|
10
|
+
}
|
|
11
|
+
}
|
|
12
|
+
exports.CommandError = CommandError;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../../../src/deps/jsr.io/@flowcore/sdk/1.11.4/src/exceptions/index.ts"],"names":[],"mappings":"AAAA,cAAc,mBAAmB,CAAA;AACjC,cAAc,uBAAuB,CAAA;AACrC,cAAc,gBAAgB,CAAA;AAC9B,cAAc,oBAAoB,CAAA"}
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
3
|
+
if (k2 === undefined) k2 = k;
|
|
4
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
5
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
6
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
7
|
+
}
|
|
8
|
+
Object.defineProperty(o, k2, desc);
|
|
9
|
+
}) : (function(o, m, k, k2) {
|
|
10
|
+
if (k2 === undefined) k2 = k;
|
|
11
|
+
o[k2] = m[k];
|
|
12
|
+
}));
|
|
13
|
+
var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
14
|
+
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
15
|
+
};
|
|
16
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
17
|
+
__exportStar(require("./client-error.js"), exports);
|
|
18
|
+
__exportStar(require("./invalid-response.js"), exports);
|
|
19
|
+
__exportStar(require("./not-found.js"), exports);
|
|
20
|
+
__exportStar(require("./command-error.js"), exports);
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* An error thrown when the response from the server is invalid
|
|
3
|
+
*/
|
|
4
|
+
export declare class InvalidResponseException extends Error {
|
|
5
|
+
readonly errors: Record<string, string>;
|
|
6
|
+
constructor(message: string, errors: Record<string, string>);
|
|
7
|
+
}
|
|
8
|
+
//# sourceMappingURL=invalid-response.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"invalid-response.d.ts","sourceRoot":"","sources":["../../../../../../../../src/deps/jsr.io/@flowcore/sdk/1.11.4/src/exceptions/invalid-response.ts"],"names":[],"mappings":"AAAA;;GAEG;AACH,qBAAa,wBAAyB,SAAQ,KAAK;aACJ,MAAM,EAAE,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC;gBAA/D,OAAO,EAAE,MAAM,EAAkB,MAAM,EAAE,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC;CAI5E"}
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.InvalidResponseException = void 0;
|
|
4
|
+
/**
|
|
5
|
+
* An error thrown when the response from the server is invalid
|
|
6
|
+
*/
|
|
7
|
+
class InvalidResponseException extends Error {
|
|
8
|
+
constructor(message, errors) {
|
|
9
|
+
super(message);
|
|
10
|
+
Object.defineProperty(this, "errors", {
|
|
11
|
+
enumerable: true,
|
|
12
|
+
configurable: true,
|
|
13
|
+
writable: true,
|
|
14
|
+
value: errors
|
|
15
|
+
});
|
|
16
|
+
this.errors = errors;
|
|
17
|
+
}
|
|
18
|
+
}
|
|
19
|
+
exports.InvalidResponseException = InvalidResponseException;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"not-found.d.ts","sourceRoot":"","sources":["../../../../../../../../src/deps/jsr.io/@flowcore/sdk/1.11.4/src/exceptions/not-found.ts"],"names":[],"mappings":"AAAA;;GAEG;AACH,qBAAa,iBAAkB,SAAQ,KAAK;gBAC9B,QAAQ,EAAE,MAAM,EAAE,OAAO,EAAE,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC;CAG9D"}
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.NotFoundException = void 0;
|
|
4
|
+
/**
|
|
5
|
+
* An error thrown when a resource is not found
|
|
6
|
+
*/
|
|
7
|
+
class NotFoundException extends Error {
|
|
8
|
+
constructor(resource, filters) {
|
|
9
|
+
super(`${resource} not found: ${JSON.stringify(filters)}`);
|
|
10
|
+
}
|
|
11
|
+
}
|
|
12
|
+
exports.NotFoundException = NotFoundException;
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
export * from "./commands/index.js";
|
|
2
|
+
export * from "./common/command.js";
|
|
3
|
+
export * from "./common/flowcore-client.js";
|
|
4
|
+
export * from "./common/notification-client.js";
|
|
5
|
+
export * from "./contracts/index.js";
|
|
6
|
+
export * from "./exceptions/index.js";
|
|
7
|
+
export * from "./utils/parse-response-helper.js";
|
|
8
|
+
//# sourceMappingURL=mod.d.ts.map
|