@aeolus-fleet/core 0.33.0 → 0.35.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/README.md +29 -4
- package/dist/adapters/cli/fleet-api.d.ts +33 -0
- package/dist/adapters/cli/fleet-api.js +64 -0
- package/dist/adapters/cli/fleet-api.js.map +1 -0
- package/dist/adapters/cli/fleet-recover-keys.d.ts +22 -0
- package/dist/adapters/cli/fleet-recover-keys.js +81 -0
- package/dist/adapters/cli/fleet-recover-keys.js.map +1 -0
- package/dist/adapters/cli/run.js +1 -1
- package/dist/adapters/cli/run.js.map +1 -1
- package/dist/adapters/crypto/age-recovery-identity.d.ts +9 -0
- package/dist/adapters/crypto/age-recovery-identity.js +45 -0
- package/dist/adapters/crypto/age-recovery-identity.js.map +1 -0
- package/dist/adapters/crypto/age-recovery-keys.d.ts +2 -0
- package/dist/adapters/crypto/age-recovery-keys.js +36 -0
- package/dist/adapters/crypto/age-recovery-keys.js.map +1 -0
- package/dist/adapters/crypto/payload-sealer.d.ts +2 -0
- package/dist/adapters/crypto/payload-sealer.js +48 -0
- package/dist/adapters/crypto/payload-sealer.js.map +1 -0
- package/dist/adapters/kms/aws-kms-key-vault.d.ts +13 -0
- package/dist/adapters/kms/aws-kms-key-vault.js +98 -0
- package/dist/adapters/kms/aws-kms-key-vault.js.map +1 -0
- package/dist/adapters/kms/company-key-vault.d.ts +9 -0
- package/dist/adapters/kms/company-key-vault.js +14 -0
- package/dist/adapters/kms/company-key-vault.js.map +1 -0
- package/dist/adapters/kms/no-key-vault.d.ts +7 -0
- package/dist/adapters/kms/no-key-vault.js +11 -0
- package/dist/adapters/kms/no-key-vault.js.map +1 -0
- package/dist/adapters/prisma/alerts.d.ts +21 -0
- package/dist/adapters/prisma/alerts.js +61 -0
- package/dist/adapters/prisma/alerts.js.map +1 -0
- package/dist/adapters/prisma/expectations.d.ts +19 -0
- package/dist/adapters/prisma/expectations.js +46 -0
- package/dist/adapters/prisma/expectations.js.map +1 -0
- package/dist/adapters/prisma/feature-flags.d.ts +7 -0
- package/dist/adapters/prisma/feature-flags.js +29 -0
- package/dist/adapters/prisma/feature-flags.js.map +1 -0
- package/dist/adapters/prisma/generated/browser.d.ts +34 -2
- package/dist/adapters/prisma/generated/client.d.ts +34 -2
- package/dist/adapters/prisma/generated/commonInputTypes.d.ts +217 -97
- package/dist/adapters/prisma/generated/enums.d.ts +12 -0
- package/dist/adapters/prisma/generated/enums.js +10 -0
- package/dist/adapters/prisma/generated/enums.js.map +1 -1
- package/dist/adapters/prisma/generated/internal/class.d.ts +44 -0
- package/dist/adapters/prisma/generated/internal/class.js +4 -4
- package/dist/adapters/prisma/generated/internal/class.js.map +1 -1
- package/dist/adapters/prisma/generated/internal/prismaNamespace.d.ts +399 -1
- package/dist/adapters/prisma/generated/internal/prismaNamespace.js +72 -2
- package/dist/adapters/prisma/generated/internal/prismaNamespace.js.map +1 -1
- package/dist/adapters/prisma/generated/internal/prismaNamespaceBrowser.d.ts +74 -0
- package/dist/adapters/prisma/generated/internal/prismaNamespaceBrowser.js +72 -2
- package/dist/adapters/prisma/generated/internal/prismaNamespaceBrowser.js.map +1 -1
- package/dist/adapters/prisma/generated/models/Alert.d.ts +1527 -0
- package/dist/adapters/prisma/generated/models/Alert.js +2 -0
- package/dist/adapters/prisma/generated/models/Alert.js.map +1 -0
- package/dist/adapters/prisma/generated/models/DataKey.d.ts +1503 -0
- package/dist/adapters/prisma/generated/models/DataKey.js +2 -0
- package/dist/adapters/prisma/generated/models/DataKey.js.map +1 -0
- package/dist/adapters/prisma/generated/models/Fleet.d.ts +3644 -221
- package/dist/adapters/prisma/generated/models/FleetFeatureFlag.d.ts +1117 -0
- package/dist/adapters/prisma/generated/models/FleetFeatureFlag.js +2 -0
- package/dist/adapters/prisma/generated/models/FleetFeatureFlag.js.map +1 -0
- package/dist/adapters/prisma/generated/models/Lease.d.ts +509 -9
- package/dist/adapters/prisma/generated/models/Message.d.ts +729 -63
- package/dist/adapters/prisma/generated/models/MessageDay.d.ts +1 -5
- package/dist/adapters/prisma/generated/models/Schedule.d.ts +657 -50
- package/dist/adapters/prisma/generated/models/Ship.d.ts +939 -4
- package/dist/adapters/prisma/generated/models/ShipExpectations.d.ts +1468 -0
- package/dist/adapters/prisma/generated/models/ShipExpectations.js +2 -0
- package/dist/adapters/prisma/generated/models/ShipExpectations.js.map +1 -0
- package/dist/adapters/prisma/generated/models.d.ts +4 -0
- package/dist/adapters/prisma/history-pruner.js +27 -4
- package/dist/adapters/prisma/history-pruner.js.map +1 -1
- package/dist/adapters/prisma/history.d.ts +2 -2
- package/dist/adapters/prisma/history.js +14 -9
- package/dist/adapters/prisma/history.js.map +1 -1
- package/dist/adapters/prisma/installation.js +14 -3
- package/dist/adapters/prisma/installation.js.map +1 -1
- package/dist/adapters/prisma/messaging.js +5 -3
- package/dist/adapters/prisma/messaging.js.map +1 -1
- package/dist/adapters/prisma/overdue.js +1 -1
- package/dist/adapters/prisma/registry.d.ts +2 -1
- package/dist/adapters/prisma/registry.js +68 -14
- package/dist/adapters/prisma/registry.js.map +1 -1
- package/dist/adapters/prisma/rows.d.ts +14 -0
- package/dist/adapters/prisma/rows.js +65 -6
- package/dist/adapters/prisma/rows.js.map +1 -1
- package/dist/adapters/prisma/schedules.d.ts +3 -0
- package/dist/adapters/prisma/schedules.js +5 -4
- package/dist/adapters/prisma/schedules.js.map +1 -1
- package/dist/adapters/prisma/sealings.d.ts +4 -0
- package/dist/adapters/prisma/sealings.js +211 -0
- package/dist/adapters/prisma/sealings.js.map +1 -0
- package/dist/adapters/prisma/unit-of-work.d.ts +6 -2
- package/dist/adapters/prisma/unit-of-work.js +8 -0
- package/dist/adapters/prisma/unit-of-work.js.map +1 -1
- package/dist/adapters/trpc/alert-output.d.ts +4 -0
- package/dist/adapters/trpc/alert-output.js +15 -0
- package/dist/adapters/trpc/alert-output.js.map +1 -0
- package/dist/adapters/trpc/console.d.ts +13 -1
- package/dist/adapters/trpc/console.js +6 -3
- package/dist/adapters/trpc/console.js.map +1 -1
- package/dist/adapters/trpc/context.d.ts +28 -0
- package/dist/adapters/trpc/fleet.d.ts +626 -5
- package/dist/adapters/trpc/fleet.js +235 -20
- package/dist/adapters/trpc/fleet.js.map +1 -1
- package/dist/adapters/trpc/installation.d.ts +138 -2
- package/dist/adapters/trpc/installation.js +19 -3
- package/dist/adapters/trpc/installation.js.map +1 -1
- package/dist/adapters/trpc/listed-payload.d.ts +9 -0
- package/dist/adapters/trpc/listed-payload.js +8 -0
- package/dist/adapters/trpc/listed-payload.js.map +1 -0
- package/dist/adapters/trpc/router.d.ts +793 -4
- package/dist/adapters/trpc/ship-contract.js +6 -0
- package/dist/adapters/trpc/ship-contract.js.map +1 -1
- package/dist/adapters/trpc/ship-protocol.js +1 -1
- package/dist/adapters/trpc/ship-protocol.js.map +1 -1
- package/dist/adapters/trpc/ship.d.ts +49 -3
- package/dist/adapters/trpc/ship.js +13 -8
- package/dist/adapters/trpc/ship.js.map +1 -1
- package/dist/adapters/trpc/starting-prompt-text.js +2 -1
- package/dist/adapters/trpc/starting-prompt-text.js.map +1 -1
- package/dist/adapters/trpc/system.d.ts +10 -0
- package/dist/adapters/trpc/trpc.d.ts +15 -3
- package/dist/adapters/trpc/trpc.js +35 -6
- package/dist/adapters/trpc/trpc.js.map +1 -1
- package/dist/app.d.ts +3 -0
- package/dist/app.js +11 -1
- package/dist/app.js.map +1 -1
- package/dist/bin/aeolus-core.js +8 -1
- package/dist/bin/aeolus-core.js.map +1 -1
- package/dist/config.d.ts +11 -0
- package/dist/config.js +8 -2
- package/dist/config.js.map +1 -1
- package/dist/domain/messaging/add-to-meeting.d.ts +6 -2
- package/dist/domain/messaging/add-to-meeting.js +7 -4
- package/dist/domain/messaging/add-to-meeting.js.map +1 -1
- package/dist/domain/messaging/change-company-key.d.ts +46 -0
- package/dist/domain/messaging/change-company-key.js +74 -0
- package/dist/domain/messaging/change-company-key.js.map +1 -0
- package/dist/domain/messaging/change-meeting.d.ts +6 -2
- package/dist/domain/messaging/change-meeting.js +6 -4
- package/dist/domain/messaging/change-meeting.js.map +1 -1
- package/dist/domain/messaging/change-mic.d.ts +6 -1
- package/dist/domain/messaging/change-mic.js +6 -3
- package/dist/domain/messaging/change-mic.js.map +1 -1
- package/dist/domain/messaging/change-recovery-key.d.ts +45 -0
- package/dist/domain/messaging/change-recovery-key.js +68 -0
- package/dist/domain/messaging/change-recovery-key.js.map +1 -0
- package/dist/domain/messaging/company-key-check.d.ts +20 -0
- package/dist/domain/messaging/company-key-check.js +31 -0
- package/dist/domain/messaging/company-key-check.js.map +1 -0
- package/dist/domain/messaging/data-keys.d.ts +165 -0
- package/dist/domain/messaging/data-keys.js +275 -0
- package/dist/domain/messaging/data-keys.js.map +1 -0
- package/dist/domain/messaging/fleet-sealing.d.ts +75 -0
- package/dist/domain/messaging/fleet-sealing.js +21 -0
- package/dist/domain/messaging/fleet-sealing.js.map +1 -0
- package/dist/domain/messaging/key-unavailable.d.ts +5 -0
- package/dist/domain/messaging/key-unavailable.js +14 -0
- package/dist/domain/messaging/key-unavailable.js.map +1 -0
- package/dist/domain/messaging/key-vault.d.ts +61 -0
- package/dist/domain/messaging/key-vault.js +2 -0
- package/dist/domain/messaging/key-vault.js.map +1 -0
- package/dist/domain/messaging/meeting-notice.d.ts +15 -13
- package/dist/domain/messaging/meeting-notice.js +12 -3
- package/dist/domain/messaging/meeting-notice.js.map +1 -1
- package/dist/domain/messaging/message.d.ts +22 -5
- package/dist/domain/messaging/message.js +19 -5
- package/dist/domain/messaging/message.js.map +1 -1
- package/dist/domain/messaging/open-meeting.d.ts +8 -2
- package/dist/domain/messaging/open-meeting.js +6 -1
- package/dist/domain/messaging/open-meeting.js.map +1 -1
- package/dist/domain/messaging/overdue.d.ts +4 -1
- package/dist/domain/messaging/overdue.js +3 -3
- package/dist/domain/messaging/overdue.js.map +1 -1
- package/dist/domain/messaging/payload-sealer.d.ts +39 -0
- package/dist/domain/messaging/payload-sealer.js +2 -0
- package/dist/domain/messaging/payload-sealer.js.map +1 -0
- package/dist/domain/messaging/payload.d.ts +1 -1
- package/dist/domain/messaging/payload.js +2 -2
- package/dist/domain/messaging/payload.js.map +1 -1
- package/dist/domain/messaging/ping-ship.d.ts +4 -1
- package/dist/domain/messaging/ping-ship.js +6 -4
- package/dist/domain/messaging/ping-ship.js.map +1 -1
- package/dist/domain/messaging/ports.d.ts +98 -1
- package/dist/domain/messaging/public.d.ts +4 -1
- package/dist/domain/messaging/public.js +2 -0
- package/dist/domain/messaging/public.js.map +1 -1
- package/dist/domain/messaging/push-receive-deliveries.d.ts +4 -0
- package/dist/domain/messaging/push-receive-deliveries.js +8 -2
- package/dist/domain/messaging/push-receive-deliveries.js.map +1 -1
- package/dist/domain/messaging/read-delivery.d.ts +6 -2
- package/dist/domain/messaging/read-delivery.js +7 -4
- package/dist/domain/messaging/read-delivery.js.map +1 -1
- package/dist/domain/messaging/read-meeting.d.ts +9 -3
- package/dist/domain/messaging/read-meeting.js +11 -4
- package/dist/domain/messaging/read-meeting.js.map +1 -1
- package/dist/domain/messaging/read-recovery-set.d.ts +34 -0
- package/dist/domain/messaging/read-recovery-set.js +43 -0
- package/dist/domain/messaging/read-recovery-set.js.map +1 -0
- package/dist/domain/messaging/read-sealing.d.ts +30 -0
- package/dist/domain/messaging/read-sealing.js +28 -0
- package/dist/domain/messaging/read-sealing.js.map +1 -0
- package/dist/domain/messaging/receive-deliveries.d.ts +18 -6
- package/dist/domain/messaging/receive-deliveries.js +18 -6
- package/dist/domain/messaging/receive-deliveries.js.map +1 -1
- package/dist/domain/messaging/receive-reply.d.ts +2 -0
- package/dist/domain/messaging/receive-reply.js +2 -1
- package/dist/domain/messaging/receive-reply.js.map +1 -1
- package/dist/domain/messaging/recover-keys.d.ts +56 -0
- package/dist/domain/messaging/recover-keys.js +83 -0
- package/dist/domain/messaging/recover-keys.js.map +1 -0
- package/dist/domain/messaging/recovery-key.d.ts +25 -0
- package/dist/domain/messaging/recovery-key.js +14 -0
- package/dist/domain/messaging/recovery-key.js.map +1 -0
- package/dist/domain/messaging/reply-to-message.d.ts +2 -0
- package/dist/domain/messaging/reply-to-message.js +4 -3
- package/dist/domain/messaging/reply-to-message.js.map +1 -1
- package/dist/domain/messaging/resend-delivery.d.ts +9 -2
- package/dist/domain/messaging/resend-delivery.js +26 -6
- package/dist/domain/messaging/resend-delivery.js.map +1 -1
- package/dist/domain/messaging/retired-participant.d.ts +5 -2
- package/dist/domain/messaging/retired-participant.js +2 -1
- package/dist/domain/messaging/retired-participant.js.map +1 -1
- package/dist/domain/messaging/rotate-data-keys.d.ts +33 -0
- package/dist/domain/messaging/rotate-data-keys.js +52 -0
- package/dist/domain/messaging/rotate-data-keys.js.map +1 -0
- package/dist/domain/messaging/schedule-message.d.ts +10 -2
- package/dist/domain/messaging/schedule-message.js +43 -15
- package/dist/domain/messaging/schedule-message.js.map +1 -1
- package/dist/domain/messaging/schedule.d.ts +18 -1
- package/dist/domain/messaging/schedule.js +15 -0
- package/dist/domain/messaging/schedule.js.map +1 -1
- package/dist/domain/messaging/seal-stored-payloads.d.ts +45 -0
- package/dist/domain/messaging/seal-stored-payloads.js +122 -0
- package/dist/domain/messaging/seal-stored-payloads.js.map +1 -0
- package/dist/domain/messaging/sealed-payload.d.ts +9 -0
- package/dist/domain/messaging/sealed-payload.js +15 -0
- package/dist/domain/messaging/sealed-payload.js.map +1 -0
- package/dist/domain/messaging/send-due-schedules.d.ts +6 -0
- package/dist/domain/messaging/send-due-schedules.js +63 -16
- package/dist/domain/messaging/send-due-schedules.js.map +1 -1
- package/dist/domain/messaging/send-message.d.ts +21 -7
- package/dist/domain/messaging/send-message.js +52 -19
- package/dist/domain/messaging/send-message.js.map +1 -1
- package/dist/domain/messaging/send-request.d.ts +4 -2
- package/dist/domain/messaging/send-request.js +3 -2
- package/dist/domain/messaging/send-request.js.map +1 -1
- package/dist/domain/messaging/turn-on-sealing.d.ts +61 -0
- package/dist/domain/messaging/turn-on-sealing.js +76 -0
- package/dist/domain/messaging/turn-on-sealing.js.map +1 -0
- package/dist/domain/registry/alert.d.ts +75 -0
- package/dist/domain/registry/alert.js +71 -0
- package/dist/domain/registry/alert.js.map +1 -0
- package/dist/domain/registry/claim-ship.d.ts +2 -1
- package/dist/domain/registry/claim-ship.js +1 -1
- package/dist/domain/registry/claim-ship.js.map +1 -1
- package/dist/domain/registry/clear-alert.d.ts +32 -0
- package/dist/domain/registry/clear-alert.js +40 -0
- package/dist/domain/registry/clear-alert.js.map +1 -0
- package/dist/domain/registry/create-fleet.d.ts +7 -3
- package/dist/domain/registry/create-fleet.js +9 -2
- package/dist/domain/registry/create-fleet.js.map +1 -1
- package/dist/domain/registry/crew-request.d.ts +9 -0
- package/dist/domain/registry/crew-request.js +7 -0
- package/dist/domain/registry/crew-request.js.map +1 -1
- package/dist/domain/registry/expectations.d.ts +68 -0
- package/dist/domain/registry/expectations.js +84 -0
- package/dist/domain/registry/expectations.js.map +1 -0
- package/dist/domain/registry/feature-flag.d.ts +66 -0
- package/dist/domain/registry/feature-flag.js +56 -0
- package/dist/domain/registry/feature-flag.js.map +1 -0
- package/dist/domain/registry/get-ship.d.ts +11 -1
- package/dist/domain/registry/get-ship.js +11 -2
- package/dist/domain/registry/get-ship.js.map +1 -1
- package/dist/domain/registry/installation-fleet.d.ts +3 -1
- package/dist/domain/registry/installation-fleet.js +3 -1
- package/dist/domain/registry/installation-fleet.js.map +1 -1
- package/dist/domain/registry/lease-activity.d.ts +15 -0
- package/dist/domain/registry/lease-activity.js +2 -0
- package/dist/domain/registry/lease-activity.js.map +1 -0
- package/dist/domain/registry/lease.d.ts +2 -2
- package/dist/domain/registry/lease.js +1 -1
- package/dist/domain/registry/list-fleet.d.ts +6 -1
- package/dist/domain/registry/list-fleet.js +5 -3
- package/dist/domain/registry/list-fleet.js.map +1 -1
- package/dist/domain/registry/ports.d.ts +75 -1
- package/dist/domain/registry/public.d.ts +4 -0
- package/dist/domain/registry/public.js +2 -0
- package/dist/domain/registry/public.js.map +1 -1
- package/dist/domain/registry/raise-alert.d.ts +31 -0
- package/dist/domain/registry/raise-alert.js +43 -0
- package/dist/domain/registry/raise-alert.js.map +1 -0
- package/dist/domain/registry/read-feature-flags.d.ts +16 -0
- package/dist/domain/registry/read-feature-flags.js +11 -0
- package/dist/domain/registry/read-feature-flags.js.map +1 -0
- package/dist/domain/registry/read-open-alerts.d.ts +23 -0
- package/dist/domain/registry/read-open-alerts.js +21 -0
- package/dist/domain/registry/read-open-alerts.js.map +1 -0
- package/dist/domain/registry/report-activity.d.ts +41 -0
- package/dist/domain/registry/report-activity.js +43 -0
- package/dist/domain/registry/report-activity.js.map +1 -0
- package/dist/domain/registry/report-step.d.ts +8 -0
- package/dist/domain/registry/report-step.js +16 -0
- package/dist/domain/registry/report-step.js.map +1 -0
- package/dist/domain/registry/report-task.d.ts +14 -0
- package/dist/domain/registry/report-task.js +39 -0
- package/dist/domain/registry/report-task.js.map +1 -0
- package/dist/domain/registry/report.d.ts +2 -2
- package/dist/domain/registry/report.js.map +1 -1
- package/dist/domain/registry/retire-ship.d.ts +12 -4
- package/dist/domain/registry/retire-ship.js +19 -5
- package/dist/domain/registry/retire-ship.js.map +1 -1
- package/dist/domain/registry/set-expectations.d.ts +33 -0
- package/dist/domain/registry/set-expectations.js +47 -0
- package/dist/domain/registry/set-expectations.js.map +1 -0
- package/dist/domain/registry/set-feature-flag.d.ts +34 -0
- package/dist/domain/registry/set-feature-flag.js +37 -0
- package/dist/domain/registry/set-feature-flag.js.map +1 -0
- package/dist/domain/registry/ship-report.d.ts +24 -7
- package/dist/domain/registry/ship-report.js +41 -5
- package/dist/domain/registry/ship-report.js.map +1 -1
- package/dist/domain/registry/ship.d.ts +7 -1
- package/dist/domain/registry/ship.js +3 -0
- package/dist/domain/registry/ship.js.map +1 -1
- package/dist/domain/shared/errors.d.ts +1 -1
- package/dist/domain/shared/errors.js.map +1 -1
- package/dist/domain/shared/history-pruning.d.ts +19 -2
- package/dist/domain/shared/history-pruning.js +1 -1
- package/dist/domain/shared/history-pruning.js.map +1 -1
- package/dist/domain/shared/history.d.ts +24 -22
- package/dist/domain/shared/history.js.map +1 -1
- package/dist/domain/shared/plain-history.d.ts +45 -0
- package/dist/domain/shared/plain-history.js +35 -0
- package/dist/domain/shared/plain-history.js.map +1 -0
- package/dist/domain/shared/prune-history.d.ts +2 -1
- package/dist/domain/shared/prune-history.js +8 -6
- package/dist/domain/shared/prune-history.js.map +1 -1
- package/dist/domain/shared/read-health.d.ts +14 -3
- package/dist/domain/shared/read-health.js +8 -4
- package/dist/domain/shared/read-health.js.map +1 -1
- package/dist/domain/shared/read-inbox-message.d.ts +7 -2
- package/dist/domain/shared/read-inbox-message.js +5 -1
- package/dist/domain/shared/read-inbox-message.js.map +1 -1
- package/dist/domain/shared/read-inbox-withdrawals.d.ts +9 -3
- package/dist/domain/shared/read-inbox-withdrawals.js +7 -3
- package/dist/domain/shared/read-inbox-withdrawals.js.map +1 -1
- package/dist/domain/shared/read-inbox.d.ts +14 -4
- package/dist/domain/shared/read-inbox.js +7 -3
- package/dist/domain/shared/read-inbox.js.map +1 -1
- package/dist/domain/shared/read-message-deliveries.d.ts +2 -1
- package/dist/domain/shared/read-message-deliveries.js +4 -3
- package/dist/domain/shared/read-message-deliveries.js.map +1 -1
- package/dist/domain/shared/read-message.d.ts +13 -3
- package/dist/domain/shared/read-message.js +12 -5
- package/dist/domain/shared/read-message.js.map +1 -1
- package/dist/domain/shared/read-needs-attention.d.ts +6 -2
- package/dist/domain/shared/read-needs-attention.js +7 -5
- package/dist/domain/shared/read-needs-attention.js.map +1 -1
- package/dist/domain/shared/read-report-tasks.d.ts +10 -0
- package/dist/domain/shared/read-report-tasks.js +24 -0
- package/dist/domain/shared/read-report-tasks.js.map +1 -0
- package/dist/domain/shared/read-ship-messages.d.ts +10 -1
- package/dist/domain/shared/read-ship-messages.js +9 -3
- package/dist/domain/shared/read-ship-messages.js.map +1 -1
- package/dist/start.js +2 -0
- package/dist/start.js.map +1 -1
- package/dist/testing/container-images.d.ts +13 -6
- package/dist/testing/container-images.js +14 -7
- package/dist/testing/container-images.js.map +1 -1
- package/dist/wiring.d.ts +38 -0
- package/dist/wiring.js +69 -20
- package/dist/wiring.js.map +1 -1
- package/package.json +4 -2
- package/src/adapters/prisma/migrations/20261029120000_data_keys/migration.sql +23 -0
- package/src/adapters/prisma/migrations/20261029180000_sealed_messages/migration.sql +42 -0
- package/src/adapters/prisma/migrations/20261029200000_sealed_schedules/migration.sql +20 -0
- package/src/adapters/prisma/migrations/20261030090000_key_availability/migration.sql +18 -0
- package/src/adapters/prisma/migrations/20261030120000_keys_scope/migration.sql +64 -0
- package/src/adapters/prisma/migrations/20261031090000_recovery_key/migration.sql +11 -0
- package/src/adapters/prisma/migrations/20261101090000_sealing_progress/migration.sql +16 -0
- package/src/adapters/prisma/migrations/20261102090000_feature_flags/migration.sql +17 -0
- package/src/adapters/prisma/migrations/20261103090000_removed_ships/migration.sql +21 -0
- package/src/adapters/prisma/migrations/20261104090000_report_task_step/migration.sql +10 -0
- package/src/adapters/prisma/migrations/20261105090000_payload_limit_256kb/migration.sql +15 -0
- package/src/adapters/prisma/migrations/20261106090000_lease_activity/migration.sql +11 -0
- package/src/adapters/prisma/migrations/20261107090000_alert_scope/migration.sql +64 -0
- package/src/adapters/prisma/migrations/20261107100000_alerts/migration.sql +33 -0
- package/src/adapters/prisma/migrations/20261108090000_ship_expectations/migration.sql +22 -0
- package/src/adapters/prisma/schema.prisma +210 -46
|
@@ -0,0 +1,1503 @@
|
|
|
1
|
+
import type * as runtime from "@prisma/client/runtime/client";
|
|
2
|
+
import type * as Prisma from "../internal/prismaNamespace.js";
|
|
3
|
+
/**
|
|
4
|
+
* Model DataKey
|
|
5
|
+
* A sealed fleet's data key (decision 0068): kept only wrapped, by the company key and by the recovery key
|
|
6
|
+
* when set, with a check value (HMAC-SHA-256 of a fixed text under the key) that proves an unwrap gave
|
|
7
|
+
* the right key. Never unwrapped in the database. Old keys stay to unseal old payloads.
|
|
8
|
+
*/
|
|
9
|
+
export type DataKeyModel = runtime.Types.Result.DefaultSelection<Prisma.$DataKeyPayload>;
|
|
10
|
+
export type AggregateDataKey = {
|
|
11
|
+
_count: DataKeyCountAggregateOutputType | null;
|
|
12
|
+
_min: DataKeyMinAggregateOutputType | null;
|
|
13
|
+
_max: DataKeyMaxAggregateOutputType | null;
|
|
14
|
+
};
|
|
15
|
+
export type DataKeyMinAggregateOutputType = {
|
|
16
|
+
id: string | null;
|
|
17
|
+
fleetId: string | null;
|
|
18
|
+
wrappedByCompanyKey: runtime.Bytes | null;
|
|
19
|
+
wrappedByRecoveryKey: runtime.Bytes | null;
|
|
20
|
+
checkValue: runtime.Bytes | null;
|
|
21
|
+
createdAt: Date | null;
|
|
22
|
+
isCurrent: boolean | null;
|
|
23
|
+
};
|
|
24
|
+
export type DataKeyMaxAggregateOutputType = {
|
|
25
|
+
id: string | null;
|
|
26
|
+
fleetId: string | null;
|
|
27
|
+
wrappedByCompanyKey: runtime.Bytes | null;
|
|
28
|
+
wrappedByRecoveryKey: runtime.Bytes | null;
|
|
29
|
+
checkValue: runtime.Bytes | null;
|
|
30
|
+
createdAt: Date | null;
|
|
31
|
+
isCurrent: boolean | null;
|
|
32
|
+
};
|
|
33
|
+
export type DataKeyCountAggregateOutputType = {
|
|
34
|
+
id: number;
|
|
35
|
+
fleetId: number;
|
|
36
|
+
wrappedByCompanyKey: number;
|
|
37
|
+
wrappedByRecoveryKey: number;
|
|
38
|
+
checkValue: number;
|
|
39
|
+
createdAt: number;
|
|
40
|
+
isCurrent: number;
|
|
41
|
+
_all: number;
|
|
42
|
+
};
|
|
43
|
+
export type DataKeyMinAggregateInputType = {
|
|
44
|
+
id?: true;
|
|
45
|
+
fleetId?: true;
|
|
46
|
+
wrappedByCompanyKey?: true;
|
|
47
|
+
wrappedByRecoveryKey?: true;
|
|
48
|
+
checkValue?: true;
|
|
49
|
+
createdAt?: true;
|
|
50
|
+
isCurrent?: true;
|
|
51
|
+
};
|
|
52
|
+
export type DataKeyMaxAggregateInputType = {
|
|
53
|
+
id?: true;
|
|
54
|
+
fleetId?: true;
|
|
55
|
+
wrappedByCompanyKey?: true;
|
|
56
|
+
wrappedByRecoveryKey?: true;
|
|
57
|
+
checkValue?: true;
|
|
58
|
+
createdAt?: true;
|
|
59
|
+
isCurrent?: true;
|
|
60
|
+
};
|
|
61
|
+
export type DataKeyCountAggregateInputType = {
|
|
62
|
+
id?: true;
|
|
63
|
+
fleetId?: true;
|
|
64
|
+
wrappedByCompanyKey?: true;
|
|
65
|
+
wrappedByRecoveryKey?: true;
|
|
66
|
+
checkValue?: true;
|
|
67
|
+
createdAt?: true;
|
|
68
|
+
isCurrent?: true;
|
|
69
|
+
_all?: true;
|
|
70
|
+
};
|
|
71
|
+
export type DataKeyAggregateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
72
|
+
/**
|
|
73
|
+
* Filter which DataKey to aggregate.
|
|
74
|
+
*/
|
|
75
|
+
where?: Prisma.DataKeyWhereInput;
|
|
76
|
+
/**
|
|
77
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
|
|
78
|
+
*
|
|
79
|
+
* Determine the order of DataKeys to fetch.
|
|
80
|
+
*/
|
|
81
|
+
orderBy?: Prisma.DataKeyOrderByWithRelationInput | Prisma.DataKeyOrderByWithRelationInput[];
|
|
82
|
+
/**
|
|
83
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
|
|
84
|
+
*
|
|
85
|
+
* Sets the start position
|
|
86
|
+
*/
|
|
87
|
+
cursor?: Prisma.DataKeyWhereUniqueInput;
|
|
88
|
+
/**
|
|
89
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
90
|
+
*
|
|
91
|
+
* Take `±n` DataKeys from the position of the cursor.
|
|
92
|
+
*/
|
|
93
|
+
take?: number;
|
|
94
|
+
/**
|
|
95
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
96
|
+
*
|
|
97
|
+
* Skip the first `n` DataKeys.
|
|
98
|
+
*/
|
|
99
|
+
skip?: number;
|
|
100
|
+
/**
|
|
101
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
|
|
102
|
+
*
|
|
103
|
+
* Count returned DataKeys
|
|
104
|
+
**/
|
|
105
|
+
_count?: true | DataKeyCountAggregateInputType;
|
|
106
|
+
/**
|
|
107
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
|
|
108
|
+
*
|
|
109
|
+
* Select which fields to find the minimum value
|
|
110
|
+
**/
|
|
111
|
+
_min?: DataKeyMinAggregateInputType;
|
|
112
|
+
/**
|
|
113
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
|
|
114
|
+
*
|
|
115
|
+
* Select which fields to find the maximum value
|
|
116
|
+
**/
|
|
117
|
+
_max?: DataKeyMaxAggregateInputType;
|
|
118
|
+
};
|
|
119
|
+
export type GetDataKeyAggregateType<T extends DataKeyAggregateArgs> = {
|
|
120
|
+
[P in keyof T & keyof AggregateDataKey]: P extends '_count' | 'count' ? T[P] extends true ? number : Prisma.GetScalarType<T[P], AggregateDataKey[P]> : Prisma.GetScalarType<T[P], AggregateDataKey[P]>;
|
|
121
|
+
};
|
|
122
|
+
export type DataKeyGroupByArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
123
|
+
where?: Prisma.DataKeyWhereInput;
|
|
124
|
+
orderBy?: Prisma.DataKeyOrderByWithAggregationInput | Prisma.DataKeyOrderByWithAggregationInput[];
|
|
125
|
+
by: Prisma.DataKeyScalarFieldEnum[] | Prisma.DataKeyScalarFieldEnum;
|
|
126
|
+
having?: Prisma.DataKeyScalarWhereWithAggregatesInput;
|
|
127
|
+
take?: number;
|
|
128
|
+
skip?: number;
|
|
129
|
+
_count?: DataKeyCountAggregateInputType | true;
|
|
130
|
+
_min?: DataKeyMinAggregateInputType;
|
|
131
|
+
_max?: DataKeyMaxAggregateInputType;
|
|
132
|
+
};
|
|
133
|
+
export type DataKeyGroupByOutputType = {
|
|
134
|
+
id: string;
|
|
135
|
+
fleetId: string;
|
|
136
|
+
wrappedByCompanyKey: runtime.Bytes;
|
|
137
|
+
wrappedByRecoveryKey: runtime.Bytes | null;
|
|
138
|
+
checkValue: runtime.Bytes;
|
|
139
|
+
createdAt: Date;
|
|
140
|
+
isCurrent: boolean;
|
|
141
|
+
_count: DataKeyCountAggregateOutputType | null;
|
|
142
|
+
_min: DataKeyMinAggregateOutputType | null;
|
|
143
|
+
_max: DataKeyMaxAggregateOutputType | null;
|
|
144
|
+
};
|
|
145
|
+
export type GetDataKeyGroupByPayload<T extends DataKeyGroupByArgs> = Prisma.PrismaPromise<Array<Prisma.PickEnumerable<DataKeyGroupByOutputType, T['by']> & {
|
|
146
|
+
[P in ((keyof T) & (keyof DataKeyGroupByOutputType))]: P extends '_count' ? T[P] extends boolean ? number : Prisma.GetScalarType<T[P], DataKeyGroupByOutputType[P]> : Prisma.GetScalarType<T[P], DataKeyGroupByOutputType[P]>;
|
|
147
|
+
}>>;
|
|
148
|
+
export type DataKeyWhereInput = {
|
|
149
|
+
AND?: Prisma.DataKeyWhereInput | Prisma.DataKeyWhereInput[];
|
|
150
|
+
OR?: Prisma.DataKeyWhereInput[];
|
|
151
|
+
NOT?: Prisma.DataKeyWhereInput | Prisma.DataKeyWhereInput[];
|
|
152
|
+
id?: Prisma.StringFilter<"DataKey"> | string;
|
|
153
|
+
fleetId?: Prisma.StringFilter<"DataKey"> | string;
|
|
154
|
+
wrappedByCompanyKey?: Prisma.BytesFilter<"DataKey"> | runtime.Bytes;
|
|
155
|
+
wrappedByRecoveryKey?: Prisma.BytesNullableFilter<"DataKey"> | runtime.Bytes | null;
|
|
156
|
+
checkValue?: Prisma.BytesFilter<"DataKey"> | runtime.Bytes;
|
|
157
|
+
createdAt?: Prisma.DateTimeFilter<"DataKey"> | Date | string;
|
|
158
|
+
isCurrent?: Prisma.BoolFilter<"DataKey"> | boolean;
|
|
159
|
+
fleet?: Prisma.XOR<Prisma.FleetScalarRelationFilter, Prisma.FleetWhereInput>;
|
|
160
|
+
messages?: Prisma.MessageListRelationFilter;
|
|
161
|
+
schedules?: Prisma.ScheduleListRelationFilter;
|
|
162
|
+
};
|
|
163
|
+
export type DataKeyOrderByWithRelationInput = {
|
|
164
|
+
id?: Prisma.SortOrder;
|
|
165
|
+
fleetId?: Prisma.SortOrder;
|
|
166
|
+
wrappedByCompanyKey?: Prisma.SortOrder;
|
|
167
|
+
wrappedByRecoveryKey?: Prisma.SortOrderInput | Prisma.SortOrder;
|
|
168
|
+
checkValue?: Prisma.SortOrder;
|
|
169
|
+
createdAt?: Prisma.SortOrder;
|
|
170
|
+
isCurrent?: Prisma.SortOrder;
|
|
171
|
+
fleet?: Prisma.FleetOrderByWithRelationInput;
|
|
172
|
+
messages?: Prisma.MessageOrderByRelationAggregateInput;
|
|
173
|
+
schedules?: Prisma.ScheduleOrderByRelationAggregateInput;
|
|
174
|
+
};
|
|
175
|
+
export type DataKeyWhereUniqueInput = Prisma.AtLeast<{
|
|
176
|
+
id?: string;
|
|
177
|
+
fleetId?: string;
|
|
178
|
+
fleetId_id?: Prisma.DataKeyFleetIdIdCompoundUniqueInput;
|
|
179
|
+
AND?: Prisma.DataKeyWhereInput | Prisma.DataKeyWhereInput[];
|
|
180
|
+
OR?: Prisma.DataKeyWhereInput[];
|
|
181
|
+
NOT?: Prisma.DataKeyWhereInput | Prisma.DataKeyWhereInput[];
|
|
182
|
+
wrappedByCompanyKey?: Prisma.BytesFilter<"DataKey"> | runtime.Bytes;
|
|
183
|
+
wrappedByRecoveryKey?: Prisma.BytesNullableFilter<"DataKey"> | runtime.Bytes | null;
|
|
184
|
+
checkValue?: Prisma.BytesFilter<"DataKey"> | runtime.Bytes;
|
|
185
|
+
createdAt?: Prisma.DateTimeFilter<"DataKey"> | Date | string;
|
|
186
|
+
isCurrent?: Prisma.BoolFilter<"DataKey"> | boolean;
|
|
187
|
+
fleet?: Prisma.XOR<Prisma.FleetScalarRelationFilter, Prisma.FleetWhereInput>;
|
|
188
|
+
messages?: Prisma.MessageListRelationFilter;
|
|
189
|
+
schedules?: Prisma.ScheduleListRelationFilter;
|
|
190
|
+
}, "id" | "fleetId_id" | "fleetId">;
|
|
191
|
+
export type DataKeyOrderByWithAggregationInput = {
|
|
192
|
+
id?: Prisma.SortOrder;
|
|
193
|
+
fleetId?: Prisma.SortOrder;
|
|
194
|
+
wrappedByCompanyKey?: Prisma.SortOrder;
|
|
195
|
+
wrappedByRecoveryKey?: Prisma.SortOrderInput | Prisma.SortOrder;
|
|
196
|
+
checkValue?: Prisma.SortOrder;
|
|
197
|
+
createdAt?: Prisma.SortOrder;
|
|
198
|
+
isCurrent?: Prisma.SortOrder;
|
|
199
|
+
_count?: Prisma.DataKeyCountOrderByAggregateInput;
|
|
200
|
+
_max?: Prisma.DataKeyMaxOrderByAggregateInput;
|
|
201
|
+
_min?: Prisma.DataKeyMinOrderByAggregateInput;
|
|
202
|
+
};
|
|
203
|
+
export type DataKeyScalarWhereWithAggregatesInput = {
|
|
204
|
+
AND?: Prisma.DataKeyScalarWhereWithAggregatesInput | Prisma.DataKeyScalarWhereWithAggregatesInput[];
|
|
205
|
+
OR?: Prisma.DataKeyScalarWhereWithAggregatesInput[];
|
|
206
|
+
NOT?: Prisma.DataKeyScalarWhereWithAggregatesInput | Prisma.DataKeyScalarWhereWithAggregatesInput[];
|
|
207
|
+
id?: Prisma.StringWithAggregatesFilter<"DataKey"> | string;
|
|
208
|
+
fleetId?: Prisma.StringWithAggregatesFilter<"DataKey"> | string;
|
|
209
|
+
wrappedByCompanyKey?: Prisma.BytesWithAggregatesFilter<"DataKey"> | runtime.Bytes;
|
|
210
|
+
wrappedByRecoveryKey?: Prisma.BytesNullableWithAggregatesFilter<"DataKey"> | runtime.Bytes | null;
|
|
211
|
+
checkValue?: Prisma.BytesWithAggregatesFilter<"DataKey"> | runtime.Bytes;
|
|
212
|
+
createdAt?: Prisma.DateTimeWithAggregatesFilter<"DataKey"> | Date | string;
|
|
213
|
+
isCurrent?: Prisma.BoolWithAggregatesFilter<"DataKey"> | boolean;
|
|
214
|
+
};
|
|
215
|
+
export type DataKeyCreateInput = {
|
|
216
|
+
id: string;
|
|
217
|
+
wrappedByCompanyKey: runtime.Bytes;
|
|
218
|
+
wrappedByRecoveryKey?: runtime.Bytes | null;
|
|
219
|
+
checkValue: runtime.Bytes;
|
|
220
|
+
createdAt: Date | string;
|
|
221
|
+
isCurrent: boolean;
|
|
222
|
+
fleet: Prisma.FleetCreateNestedOneWithoutDataKeysInput;
|
|
223
|
+
messages?: Prisma.MessageCreateNestedManyWithoutSealedDataKeyInput;
|
|
224
|
+
schedules?: Prisma.ScheduleCreateNestedManyWithoutSealedDataKeyInput;
|
|
225
|
+
};
|
|
226
|
+
export type DataKeyUncheckedCreateInput = {
|
|
227
|
+
id: string;
|
|
228
|
+
fleetId: string;
|
|
229
|
+
wrappedByCompanyKey: runtime.Bytes;
|
|
230
|
+
wrappedByRecoveryKey?: runtime.Bytes | null;
|
|
231
|
+
checkValue: runtime.Bytes;
|
|
232
|
+
createdAt: Date | string;
|
|
233
|
+
isCurrent: boolean;
|
|
234
|
+
messages?: Prisma.MessageUncheckedCreateNestedManyWithoutSealedDataKeyInput;
|
|
235
|
+
schedules?: Prisma.ScheduleUncheckedCreateNestedManyWithoutSealedDataKeyInput;
|
|
236
|
+
};
|
|
237
|
+
export type DataKeyUpdateInput = {
|
|
238
|
+
id?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
239
|
+
wrappedByCompanyKey?: Prisma.BytesFieldUpdateOperationsInput | runtime.Bytes;
|
|
240
|
+
wrappedByRecoveryKey?: Prisma.NullableBytesFieldUpdateOperationsInput | runtime.Bytes | null;
|
|
241
|
+
checkValue?: Prisma.BytesFieldUpdateOperationsInput | runtime.Bytes;
|
|
242
|
+
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
243
|
+
isCurrent?: Prisma.BoolFieldUpdateOperationsInput | boolean;
|
|
244
|
+
fleet?: Prisma.FleetUpdateOneRequiredWithoutDataKeysNestedInput;
|
|
245
|
+
messages?: Prisma.MessageUpdateManyWithoutSealedDataKeyNestedInput;
|
|
246
|
+
schedules?: Prisma.ScheduleUpdateManyWithoutSealedDataKeyNestedInput;
|
|
247
|
+
};
|
|
248
|
+
export type DataKeyUncheckedUpdateInput = {
|
|
249
|
+
id?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
250
|
+
fleetId?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
251
|
+
wrappedByCompanyKey?: Prisma.BytesFieldUpdateOperationsInput | runtime.Bytes;
|
|
252
|
+
wrappedByRecoveryKey?: Prisma.NullableBytesFieldUpdateOperationsInput | runtime.Bytes | null;
|
|
253
|
+
checkValue?: Prisma.BytesFieldUpdateOperationsInput | runtime.Bytes;
|
|
254
|
+
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
255
|
+
isCurrent?: Prisma.BoolFieldUpdateOperationsInput | boolean;
|
|
256
|
+
messages?: Prisma.MessageUncheckedUpdateManyWithoutSealedDataKeyNestedInput;
|
|
257
|
+
schedules?: Prisma.ScheduleUncheckedUpdateManyWithoutSealedDataKeyNestedInput;
|
|
258
|
+
};
|
|
259
|
+
export type DataKeyCreateManyInput = {
|
|
260
|
+
id: string;
|
|
261
|
+
fleetId: string;
|
|
262
|
+
wrappedByCompanyKey: runtime.Bytes;
|
|
263
|
+
wrappedByRecoveryKey?: runtime.Bytes | null;
|
|
264
|
+
checkValue: runtime.Bytes;
|
|
265
|
+
createdAt: Date | string;
|
|
266
|
+
isCurrent: boolean;
|
|
267
|
+
};
|
|
268
|
+
export type DataKeyUpdateManyMutationInput = {
|
|
269
|
+
id?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
270
|
+
wrappedByCompanyKey?: Prisma.BytesFieldUpdateOperationsInput | runtime.Bytes;
|
|
271
|
+
wrappedByRecoveryKey?: Prisma.NullableBytesFieldUpdateOperationsInput | runtime.Bytes | null;
|
|
272
|
+
checkValue?: Prisma.BytesFieldUpdateOperationsInput | runtime.Bytes;
|
|
273
|
+
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
274
|
+
isCurrent?: Prisma.BoolFieldUpdateOperationsInput | boolean;
|
|
275
|
+
};
|
|
276
|
+
export type DataKeyUncheckedUpdateManyInput = {
|
|
277
|
+
id?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
278
|
+
fleetId?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
279
|
+
wrappedByCompanyKey?: Prisma.BytesFieldUpdateOperationsInput | runtime.Bytes;
|
|
280
|
+
wrappedByRecoveryKey?: Prisma.NullableBytesFieldUpdateOperationsInput | runtime.Bytes | null;
|
|
281
|
+
checkValue?: Prisma.BytesFieldUpdateOperationsInput | runtime.Bytes;
|
|
282
|
+
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
283
|
+
isCurrent?: Prisma.BoolFieldUpdateOperationsInput | boolean;
|
|
284
|
+
};
|
|
285
|
+
export type DataKeyListRelationFilter = {
|
|
286
|
+
every?: Prisma.DataKeyWhereInput;
|
|
287
|
+
some?: Prisma.DataKeyWhereInput;
|
|
288
|
+
none?: Prisma.DataKeyWhereInput;
|
|
289
|
+
};
|
|
290
|
+
export type DataKeyOrderByRelationAggregateInput = {
|
|
291
|
+
_count?: Prisma.SortOrder;
|
|
292
|
+
};
|
|
293
|
+
export type DataKeyNullableScalarRelationFilter = {
|
|
294
|
+
is?: Prisma.DataKeyWhereInput | null;
|
|
295
|
+
isNot?: Prisma.DataKeyWhereInput | null;
|
|
296
|
+
};
|
|
297
|
+
export type DataKeyFleetIdIdCompoundUniqueInput = {
|
|
298
|
+
fleetId: string;
|
|
299
|
+
id: string;
|
|
300
|
+
};
|
|
301
|
+
export type DataKeyCountOrderByAggregateInput = {
|
|
302
|
+
id?: Prisma.SortOrder;
|
|
303
|
+
fleetId?: Prisma.SortOrder;
|
|
304
|
+
wrappedByCompanyKey?: Prisma.SortOrder;
|
|
305
|
+
wrappedByRecoveryKey?: Prisma.SortOrder;
|
|
306
|
+
checkValue?: Prisma.SortOrder;
|
|
307
|
+
createdAt?: Prisma.SortOrder;
|
|
308
|
+
isCurrent?: Prisma.SortOrder;
|
|
309
|
+
};
|
|
310
|
+
export type DataKeyMaxOrderByAggregateInput = {
|
|
311
|
+
id?: Prisma.SortOrder;
|
|
312
|
+
fleetId?: Prisma.SortOrder;
|
|
313
|
+
wrappedByCompanyKey?: Prisma.SortOrder;
|
|
314
|
+
wrappedByRecoveryKey?: Prisma.SortOrder;
|
|
315
|
+
checkValue?: Prisma.SortOrder;
|
|
316
|
+
createdAt?: Prisma.SortOrder;
|
|
317
|
+
isCurrent?: Prisma.SortOrder;
|
|
318
|
+
};
|
|
319
|
+
export type DataKeyMinOrderByAggregateInput = {
|
|
320
|
+
id?: Prisma.SortOrder;
|
|
321
|
+
fleetId?: Prisma.SortOrder;
|
|
322
|
+
wrappedByCompanyKey?: Prisma.SortOrder;
|
|
323
|
+
wrappedByRecoveryKey?: Prisma.SortOrder;
|
|
324
|
+
checkValue?: Prisma.SortOrder;
|
|
325
|
+
createdAt?: Prisma.SortOrder;
|
|
326
|
+
isCurrent?: Prisma.SortOrder;
|
|
327
|
+
};
|
|
328
|
+
export type DataKeyCreateNestedManyWithoutFleetInput = {
|
|
329
|
+
create?: Prisma.XOR<Prisma.DataKeyCreateWithoutFleetInput, Prisma.DataKeyUncheckedCreateWithoutFleetInput> | Prisma.DataKeyCreateWithoutFleetInput[] | Prisma.DataKeyUncheckedCreateWithoutFleetInput[];
|
|
330
|
+
connectOrCreate?: Prisma.DataKeyCreateOrConnectWithoutFleetInput | Prisma.DataKeyCreateOrConnectWithoutFleetInput[];
|
|
331
|
+
createMany?: Prisma.DataKeyCreateManyFleetInputEnvelope;
|
|
332
|
+
connect?: Prisma.DataKeyWhereUniqueInput | Prisma.DataKeyWhereUniqueInput[];
|
|
333
|
+
};
|
|
334
|
+
export type DataKeyUncheckedCreateNestedManyWithoutFleetInput = {
|
|
335
|
+
create?: Prisma.XOR<Prisma.DataKeyCreateWithoutFleetInput, Prisma.DataKeyUncheckedCreateWithoutFleetInput> | Prisma.DataKeyCreateWithoutFleetInput[] | Prisma.DataKeyUncheckedCreateWithoutFleetInput[];
|
|
336
|
+
connectOrCreate?: Prisma.DataKeyCreateOrConnectWithoutFleetInput | Prisma.DataKeyCreateOrConnectWithoutFleetInput[];
|
|
337
|
+
createMany?: Prisma.DataKeyCreateManyFleetInputEnvelope;
|
|
338
|
+
connect?: Prisma.DataKeyWhereUniqueInput | Prisma.DataKeyWhereUniqueInput[];
|
|
339
|
+
};
|
|
340
|
+
export type DataKeyUpdateManyWithoutFleetNestedInput = {
|
|
341
|
+
create?: Prisma.XOR<Prisma.DataKeyCreateWithoutFleetInput, Prisma.DataKeyUncheckedCreateWithoutFleetInput> | Prisma.DataKeyCreateWithoutFleetInput[] | Prisma.DataKeyUncheckedCreateWithoutFleetInput[];
|
|
342
|
+
connectOrCreate?: Prisma.DataKeyCreateOrConnectWithoutFleetInput | Prisma.DataKeyCreateOrConnectWithoutFleetInput[];
|
|
343
|
+
upsert?: Prisma.DataKeyUpsertWithWhereUniqueWithoutFleetInput | Prisma.DataKeyUpsertWithWhereUniqueWithoutFleetInput[];
|
|
344
|
+
createMany?: Prisma.DataKeyCreateManyFleetInputEnvelope;
|
|
345
|
+
set?: Prisma.DataKeyWhereUniqueInput | Prisma.DataKeyWhereUniqueInput[];
|
|
346
|
+
disconnect?: Prisma.DataKeyWhereUniqueInput | Prisma.DataKeyWhereUniqueInput[];
|
|
347
|
+
delete?: Prisma.DataKeyWhereUniqueInput | Prisma.DataKeyWhereUniqueInput[];
|
|
348
|
+
connect?: Prisma.DataKeyWhereUniqueInput | Prisma.DataKeyWhereUniqueInput[];
|
|
349
|
+
update?: Prisma.DataKeyUpdateWithWhereUniqueWithoutFleetInput | Prisma.DataKeyUpdateWithWhereUniqueWithoutFleetInput[];
|
|
350
|
+
updateMany?: Prisma.DataKeyUpdateManyWithWhereWithoutFleetInput | Prisma.DataKeyUpdateManyWithWhereWithoutFleetInput[];
|
|
351
|
+
deleteMany?: Prisma.DataKeyScalarWhereInput | Prisma.DataKeyScalarWhereInput[];
|
|
352
|
+
};
|
|
353
|
+
export type DataKeyUncheckedUpdateManyWithoutFleetNestedInput = {
|
|
354
|
+
create?: Prisma.XOR<Prisma.DataKeyCreateWithoutFleetInput, Prisma.DataKeyUncheckedCreateWithoutFleetInput> | Prisma.DataKeyCreateWithoutFleetInput[] | Prisma.DataKeyUncheckedCreateWithoutFleetInput[];
|
|
355
|
+
connectOrCreate?: Prisma.DataKeyCreateOrConnectWithoutFleetInput | Prisma.DataKeyCreateOrConnectWithoutFleetInput[];
|
|
356
|
+
upsert?: Prisma.DataKeyUpsertWithWhereUniqueWithoutFleetInput | Prisma.DataKeyUpsertWithWhereUniqueWithoutFleetInput[];
|
|
357
|
+
createMany?: Prisma.DataKeyCreateManyFleetInputEnvelope;
|
|
358
|
+
set?: Prisma.DataKeyWhereUniqueInput | Prisma.DataKeyWhereUniqueInput[];
|
|
359
|
+
disconnect?: Prisma.DataKeyWhereUniqueInput | Prisma.DataKeyWhereUniqueInput[];
|
|
360
|
+
delete?: Prisma.DataKeyWhereUniqueInput | Prisma.DataKeyWhereUniqueInput[];
|
|
361
|
+
connect?: Prisma.DataKeyWhereUniqueInput | Prisma.DataKeyWhereUniqueInput[];
|
|
362
|
+
update?: Prisma.DataKeyUpdateWithWhereUniqueWithoutFleetInput | Prisma.DataKeyUpdateWithWhereUniqueWithoutFleetInput[];
|
|
363
|
+
updateMany?: Prisma.DataKeyUpdateManyWithWhereWithoutFleetInput | Prisma.DataKeyUpdateManyWithWhereWithoutFleetInput[];
|
|
364
|
+
deleteMany?: Prisma.DataKeyScalarWhereInput | Prisma.DataKeyScalarWhereInput[];
|
|
365
|
+
};
|
|
366
|
+
export type DataKeyCreateNestedOneWithoutMessagesInput = {
|
|
367
|
+
create?: Prisma.XOR<Prisma.DataKeyCreateWithoutMessagesInput, Prisma.DataKeyUncheckedCreateWithoutMessagesInput>;
|
|
368
|
+
connectOrCreate?: Prisma.DataKeyCreateOrConnectWithoutMessagesInput;
|
|
369
|
+
connect?: Prisma.DataKeyWhereUniqueInput;
|
|
370
|
+
};
|
|
371
|
+
export type DataKeyUpdateOneWithoutMessagesNestedInput = {
|
|
372
|
+
create?: Prisma.XOR<Prisma.DataKeyCreateWithoutMessagesInput, Prisma.DataKeyUncheckedCreateWithoutMessagesInput>;
|
|
373
|
+
connectOrCreate?: Prisma.DataKeyCreateOrConnectWithoutMessagesInput;
|
|
374
|
+
upsert?: Prisma.DataKeyUpsertWithoutMessagesInput;
|
|
375
|
+
disconnect?: Prisma.DataKeyWhereInput | boolean;
|
|
376
|
+
delete?: Prisma.DataKeyWhereInput | boolean;
|
|
377
|
+
connect?: Prisma.DataKeyWhereUniqueInput;
|
|
378
|
+
update?: Prisma.XOR<Prisma.XOR<Prisma.DataKeyUpdateToOneWithWhereWithoutMessagesInput, Prisma.DataKeyUpdateWithoutMessagesInput>, Prisma.DataKeyUncheckedUpdateWithoutMessagesInput>;
|
|
379
|
+
};
|
|
380
|
+
export type DataKeyCreateNestedOneWithoutSchedulesInput = {
|
|
381
|
+
create?: Prisma.XOR<Prisma.DataKeyCreateWithoutSchedulesInput, Prisma.DataKeyUncheckedCreateWithoutSchedulesInput>;
|
|
382
|
+
connectOrCreate?: Prisma.DataKeyCreateOrConnectWithoutSchedulesInput;
|
|
383
|
+
connect?: Prisma.DataKeyWhereUniqueInput;
|
|
384
|
+
};
|
|
385
|
+
export type DataKeyUpdateOneWithoutSchedulesNestedInput = {
|
|
386
|
+
create?: Prisma.XOR<Prisma.DataKeyCreateWithoutSchedulesInput, Prisma.DataKeyUncheckedCreateWithoutSchedulesInput>;
|
|
387
|
+
connectOrCreate?: Prisma.DataKeyCreateOrConnectWithoutSchedulesInput;
|
|
388
|
+
upsert?: Prisma.DataKeyUpsertWithoutSchedulesInput;
|
|
389
|
+
disconnect?: Prisma.DataKeyWhereInput | boolean;
|
|
390
|
+
delete?: Prisma.DataKeyWhereInput | boolean;
|
|
391
|
+
connect?: Prisma.DataKeyWhereUniqueInput;
|
|
392
|
+
update?: Prisma.XOR<Prisma.XOR<Prisma.DataKeyUpdateToOneWithWhereWithoutSchedulesInput, Prisma.DataKeyUpdateWithoutSchedulesInput>, Prisma.DataKeyUncheckedUpdateWithoutSchedulesInput>;
|
|
393
|
+
};
|
|
394
|
+
export type BytesFieldUpdateOperationsInput = {
|
|
395
|
+
set?: runtime.Bytes;
|
|
396
|
+
};
|
|
397
|
+
export type DataKeyCreateWithoutFleetInput = {
|
|
398
|
+
id: string;
|
|
399
|
+
wrappedByCompanyKey: runtime.Bytes;
|
|
400
|
+
wrappedByRecoveryKey?: runtime.Bytes | null;
|
|
401
|
+
checkValue: runtime.Bytes;
|
|
402
|
+
createdAt: Date | string;
|
|
403
|
+
isCurrent: boolean;
|
|
404
|
+
messages?: Prisma.MessageCreateNestedManyWithoutSealedDataKeyInput;
|
|
405
|
+
schedules?: Prisma.ScheduleCreateNestedManyWithoutSealedDataKeyInput;
|
|
406
|
+
};
|
|
407
|
+
export type DataKeyUncheckedCreateWithoutFleetInput = {
|
|
408
|
+
id: string;
|
|
409
|
+
wrappedByCompanyKey: runtime.Bytes;
|
|
410
|
+
wrappedByRecoveryKey?: runtime.Bytes | null;
|
|
411
|
+
checkValue: runtime.Bytes;
|
|
412
|
+
createdAt: Date | string;
|
|
413
|
+
isCurrent: boolean;
|
|
414
|
+
messages?: Prisma.MessageUncheckedCreateNestedManyWithoutSealedDataKeyInput;
|
|
415
|
+
schedules?: Prisma.ScheduleUncheckedCreateNestedManyWithoutSealedDataKeyInput;
|
|
416
|
+
};
|
|
417
|
+
export type DataKeyCreateOrConnectWithoutFleetInput = {
|
|
418
|
+
where: Prisma.DataKeyWhereUniqueInput;
|
|
419
|
+
create: Prisma.XOR<Prisma.DataKeyCreateWithoutFleetInput, Prisma.DataKeyUncheckedCreateWithoutFleetInput>;
|
|
420
|
+
};
|
|
421
|
+
export type DataKeyCreateManyFleetInputEnvelope = {
|
|
422
|
+
data: Prisma.DataKeyCreateManyFleetInput | Prisma.DataKeyCreateManyFleetInput[];
|
|
423
|
+
skipDuplicates?: boolean;
|
|
424
|
+
};
|
|
425
|
+
export type DataKeyUpsertWithWhereUniqueWithoutFleetInput = {
|
|
426
|
+
where: Prisma.DataKeyWhereUniqueInput;
|
|
427
|
+
update: Prisma.XOR<Prisma.DataKeyUpdateWithoutFleetInput, Prisma.DataKeyUncheckedUpdateWithoutFleetInput>;
|
|
428
|
+
create: Prisma.XOR<Prisma.DataKeyCreateWithoutFleetInput, Prisma.DataKeyUncheckedCreateWithoutFleetInput>;
|
|
429
|
+
};
|
|
430
|
+
export type DataKeyUpdateWithWhereUniqueWithoutFleetInput = {
|
|
431
|
+
where: Prisma.DataKeyWhereUniqueInput;
|
|
432
|
+
data: Prisma.XOR<Prisma.DataKeyUpdateWithoutFleetInput, Prisma.DataKeyUncheckedUpdateWithoutFleetInput>;
|
|
433
|
+
};
|
|
434
|
+
export type DataKeyUpdateManyWithWhereWithoutFleetInput = {
|
|
435
|
+
where: Prisma.DataKeyScalarWhereInput;
|
|
436
|
+
data: Prisma.XOR<Prisma.DataKeyUpdateManyMutationInput, Prisma.DataKeyUncheckedUpdateManyWithoutFleetInput>;
|
|
437
|
+
};
|
|
438
|
+
export type DataKeyScalarWhereInput = {
|
|
439
|
+
AND?: Prisma.DataKeyScalarWhereInput | Prisma.DataKeyScalarWhereInput[];
|
|
440
|
+
OR?: Prisma.DataKeyScalarWhereInput[];
|
|
441
|
+
NOT?: Prisma.DataKeyScalarWhereInput | Prisma.DataKeyScalarWhereInput[];
|
|
442
|
+
id?: Prisma.StringFilter<"DataKey"> | string;
|
|
443
|
+
fleetId?: Prisma.StringFilter<"DataKey"> | string;
|
|
444
|
+
wrappedByCompanyKey?: Prisma.BytesFilter<"DataKey"> | runtime.Bytes;
|
|
445
|
+
wrappedByRecoveryKey?: Prisma.BytesNullableFilter<"DataKey"> | runtime.Bytes | null;
|
|
446
|
+
checkValue?: Prisma.BytesFilter<"DataKey"> | runtime.Bytes;
|
|
447
|
+
createdAt?: Prisma.DateTimeFilter<"DataKey"> | Date | string;
|
|
448
|
+
isCurrent?: Prisma.BoolFilter<"DataKey"> | boolean;
|
|
449
|
+
};
|
|
450
|
+
export type DataKeyCreateWithoutMessagesInput = {
|
|
451
|
+
id: string;
|
|
452
|
+
wrappedByCompanyKey: runtime.Bytes;
|
|
453
|
+
wrappedByRecoveryKey?: runtime.Bytes | null;
|
|
454
|
+
checkValue: runtime.Bytes;
|
|
455
|
+
createdAt: Date | string;
|
|
456
|
+
isCurrent: boolean;
|
|
457
|
+
fleet: Prisma.FleetCreateNestedOneWithoutDataKeysInput;
|
|
458
|
+
schedules?: Prisma.ScheduleCreateNestedManyWithoutSealedDataKeyInput;
|
|
459
|
+
};
|
|
460
|
+
export type DataKeyUncheckedCreateWithoutMessagesInput = {
|
|
461
|
+
id: string;
|
|
462
|
+
fleetId: string;
|
|
463
|
+
wrappedByCompanyKey: runtime.Bytes;
|
|
464
|
+
wrappedByRecoveryKey?: runtime.Bytes | null;
|
|
465
|
+
checkValue: runtime.Bytes;
|
|
466
|
+
createdAt: Date | string;
|
|
467
|
+
isCurrent: boolean;
|
|
468
|
+
schedules?: Prisma.ScheduleUncheckedCreateNestedManyWithoutSealedDataKeyInput;
|
|
469
|
+
};
|
|
470
|
+
export type DataKeyCreateOrConnectWithoutMessagesInput = {
|
|
471
|
+
where: Prisma.DataKeyWhereUniqueInput;
|
|
472
|
+
create: Prisma.XOR<Prisma.DataKeyCreateWithoutMessagesInput, Prisma.DataKeyUncheckedCreateWithoutMessagesInput>;
|
|
473
|
+
};
|
|
474
|
+
export type DataKeyUpsertWithoutMessagesInput = {
|
|
475
|
+
update: Prisma.XOR<Prisma.DataKeyUpdateWithoutMessagesInput, Prisma.DataKeyUncheckedUpdateWithoutMessagesInput>;
|
|
476
|
+
create: Prisma.XOR<Prisma.DataKeyCreateWithoutMessagesInput, Prisma.DataKeyUncheckedCreateWithoutMessagesInput>;
|
|
477
|
+
where?: Prisma.DataKeyWhereInput;
|
|
478
|
+
};
|
|
479
|
+
export type DataKeyUpdateToOneWithWhereWithoutMessagesInput = {
|
|
480
|
+
where?: Prisma.DataKeyWhereInput;
|
|
481
|
+
data: Prisma.XOR<Prisma.DataKeyUpdateWithoutMessagesInput, Prisma.DataKeyUncheckedUpdateWithoutMessagesInput>;
|
|
482
|
+
};
|
|
483
|
+
export type DataKeyUpdateWithoutMessagesInput = {
|
|
484
|
+
id?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
485
|
+
wrappedByCompanyKey?: Prisma.BytesFieldUpdateOperationsInput | runtime.Bytes;
|
|
486
|
+
wrappedByRecoveryKey?: Prisma.NullableBytesFieldUpdateOperationsInput | runtime.Bytes | null;
|
|
487
|
+
checkValue?: Prisma.BytesFieldUpdateOperationsInput | runtime.Bytes;
|
|
488
|
+
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
489
|
+
isCurrent?: Prisma.BoolFieldUpdateOperationsInput | boolean;
|
|
490
|
+
fleet?: Prisma.FleetUpdateOneRequiredWithoutDataKeysNestedInput;
|
|
491
|
+
schedules?: Prisma.ScheduleUpdateManyWithoutSealedDataKeyNestedInput;
|
|
492
|
+
};
|
|
493
|
+
export type DataKeyUncheckedUpdateWithoutMessagesInput = {
|
|
494
|
+
id?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
495
|
+
fleetId?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
496
|
+
wrappedByCompanyKey?: Prisma.BytesFieldUpdateOperationsInput | runtime.Bytes;
|
|
497
|
+
wrappedByRecoveryKey?: Prisma.NullableBytesFieldUpdateOperationsInput | runtime.Bytes | null;
|
|
498
|
+
checkValue?: Prisma.BytesFieldUpdateOperationsInput | runtime.Bytes;
|
|
499
|
+
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
500
|
+
isCurrent?: Prisma.BoolFieldUpdateOperationsInput | boolean;
|
|
501
|
+
schedules?: Prisma.ScheduleUncheckedUpdateManyWithoutSealedDataKeyNestedInput;
|
|
502
|
+
};
|
|
503
|
+
export type DataKeyCreateWithoutSchedulesInput = {
|
|
504
|
+
id: string;
|
|
505
|
+
wrappedByCompanyKey: runtime.Bytes;
|
|
506
|
+
wrappedByRecoveryKey?: runtime.Bytes | null;
|
|
507
|
+
checkValue: runtime.Bytes;
|
|
508
|
+
createdAt: Date | string;
|
|
509
|
+
isCurrent: boolean;
|
|
510
|
+
fleet: Prisma.FleetCreateNestedOneWithoutDataKeysInput;
|
|
511
|
+
messages?: Prisma.MessageCreateNestedManyWithoutSealedDataKeyInput;
|
|
512
|
+
};
|
|
513
|
+
export type DataKeyUncheckedCreateWithoutSchedulesInput = {
|
|
514
|
+
id: string;
|
|
515
|
+
fleetId: string;
|
|
516
|
+
wrappedByCompanyKey: runtime.Bytes;
|
|
517
|
+
wrappedByRecoveryKey?: runtime.Bytes | null;
|
|
518
|
+
checkValue: runtime.Bytes;
|
|
519
|
+
createdAt: Date | string;
|
|
520
|
+
isCurrent: boolean;
|
|
521
|
+
messages?: Prisma.MessageUncheckedCreateNestedManyWithoutSealedDataKeyInput;
|
|
522
|
+
};
|
|
523
|
+
export type DataKeyCreateOrConnectWithoutSchedulesInput = {
|
|
524
|
+
where: Prisma.DataKeyWhereUniqueInput;
|
|
525
|
+
create: Prisma.XOR<Prisma.DataKeyCreateWithoutSchedulesInput, Prisma.DataKeyUncheckedCreateWithoutSchedulesInput>;
|
|
526
|
+
};
|
|
527
|
+
export type DataKeyUpsertWithoutSchedulesInput = {
|
|
528
|
+
update: Prisma.XOR<Prisma.DataKeyUpdateWithoutSchedulesInput, Prisma.DataKeyUncheckedUpdateWithoutSchedulesInput>;
|
|
529
|
+
create: Prisma.XOR<Prisma.DataKeyCreateWithoutSchedulesInput, Prisma.DataKeyUncheckedCreateWithoutSchedulesInput>;
|
|
530
|
+
where?: Prisma.DataKeyWhereInput;
|
|
531
|
+
};
|
|
532
|
+
export type DataKeyUpdateToOneWithWhereWithoutSchedulesInput = {
|
|
533
|
+
where?: Prisma.DataKeyWhereInput;
|
|
534
|
+
data: Prisma.XOR<Prisma.DataKeyUpdateWithoutSchedulesInput, Prisma.DataKeyUncheckedUpdateWithoutSchedulesInput>;
|
|
535
|
+
};
|
|
536
|
+
export type DataKeyUpdateWithoutSchedulesInput = {
|
|
537
|
+
id?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
538
|
+
wrappedByCompanyKey?: Prisma.BytesFieldUpdateOperationsInput | runtime.Bytes;
|
|
539
|
+
wrappedByRecoveryKey?: Prisma.NullableBytesFieldUpdateOperationsInput | runtime.Bytes | null;
|
|
540
|
+
checkValue?: Prisma.BytesFieldUpdateOperationsInput | runtime.Bytes;
|
|
541
|
+
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
542
|
+
isCurrent?: Prisma.BoolFieldUpdateOperationsInput | boolean;
|
|
543
|
+
fleet?: Prisma.FleetUpdateOneRequiredWithoutDataKeysNestedInput;
|
|
544
|
+
messages?: Prisma.MessageUpdateManyWithoutSealedDataKeyNestedInput;
|
|
545
|
+
};
|
|
546
|
+
export type DataKeyUncheckedUpdateWithoutSchedulesInput = {
|
|
547
|
+
id?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
548
|
+
fleetId?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
549
|
+
wrappedByCompanyKey?: Prisma.BytesFieldUpdateOperationsInput | runtime.Bytes;
|
|
550
|
+
wrappedByRecoveryKey?: Prisma.NullableBytesFieldUpdateOperationsInput | runtime.Bytes | null;
|
|
551
|
+
checkValue?: Prisma.BytesFieldUpdateOperationsInput | runtime.Bytes;
|
|
552
|
+
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
553
|
+
isCurrent?: Prisma.BoolFieldUpdateOperationsInput | boolean;
|
|
554
|
+
messages?: Prisma.MessageUncheckedUpdateManyWithoutSealedDataKeyNestedInput;
|
|
555
|
+
};
|
|
556
|
+
export type DataKeyCreateManyFleetInput = {
|
|
557
|
+
id: string;
|
|
558
|
+
wrappedByCompanyKey: runtime.Bytes;
|
|
559
|
+
wrappedByRecoveryKey?: runtime.Bytes | null;
|
|
560
|
+
checkValue: runtime.Bytes;
|
|
561
|
+
createdAt: Date | string;
|
|
562
|
+
isCurrent: boolean;
|
|
563
|
+
};
|
|
564
|
+
export type DataKeyUpdateWithoutFleetInput = {
|
|
565
|
+
id?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
566
|
+
wrappedByCompanyKey?: Prisma.BytesFieldUpdateOperationsInput | runtime.Bytes;
|
|
567
|
+
wrappedByRecoveryKey?: Prisma.NullableBytesFieldUpdateOperationsInput | runtime.Bytes | null;
|
|
568
|
+
checkValue?: Prisma.BytesFieldUpdateOperationsInput | runtime.Bytes;
|
|
569
|
+
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
570
|
+
isCurrent?: Prisma.BoolFieldUpdateOperationsInput | boolean;
|
|
571
|
+
messages?: Prisma.MessageUpdateManyWithoutSealedDataKeyNestedInput;
|
|
572
|
+
schedules?: Prisma.ScheduleUpdateManyWithoutSealedDataKeyNestedInput;
|
|
573
|
+
};
|
|
574
|
+
export type DataKeyUncheckedUpdateWithoutFleetInput = {
|
|
575
|
+
id?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
576
|
+
wrappedByCompanyKey?: Prisma.BytesFieldUpdateOperationsInput | runtime.Bytes;
|
|
577
|
+
wrappedByRecoveryKey?: Prisma.NullableBytesFieldUpdateOperationsInput | runtime.Bytes | null;
|
|
578
|
+
checkValue?: Prisma.BytesFieldUpdateOperationsInput | runtime.Bytes;
|
|
579
|
+
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
580
|
+
isCurrent?: Prisma.BoolFieldUpdateOperationsInput | boolean;
|
|
581
|
+
messages?: Prisma.MessageUncheckedUpdateManyWithoutSealedDataKeyNestedInput;
|
|
582
|
+
schedules?: Prisma.ScheduleUncheckedUpdateManyWithoutSealedDataKeyNestedInput;
|
|
583
|
+
};
|
|
584
|
+
export type DataKeyUncheckedUpdateManyWithoutFleetInput = {
|
|
585
|
+
id?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
586
|
+
wrappedByCompanyKey?: Prisma.BytesFieldUpdateOperationsInput | runtime.Bytes;
|
|
587
|
+
wrappedByRecoveryKey?: Prisma.NullableBytesFieldUpdateOperationsInput | runtime.Bytes | null;
|
|
588
|
+
checkValue?: Prisma.BytesFieldUpdateOperationsInput | runtime.Bytes;
|
|
589
|
+
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
590
|
+
isCurrent?: Prisma.BoolFieldUpdateOperationsInput | boolean;
|
|
591
|
+
};
|
|
592
|
+
/**
|
|
593
|
+
* Count Type DataKeyCountOutputType
|
|
594
|
+
*/
|
|
595
|
+
export type DataKeyCountOutputType = {
|
|
596
|
+
messages: number;
|
|
597
|
+
schedules: number;
|
|
598
|
+
};
|
|
599
|
+
export type DataKeyCountOutputTypeSelect<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
600
|
+
messages?: boolean | DataKeyCountOutputTypeCountMessagesArgs;
|
|
601
|
+
schedules?: boolean | DataKeyCountOutputTypeCountSchedulesArgs;
|
|
602
|
+
};
|
|
603
|
+
/**
|
|
604
|
+
* DataKeyCountOutputType without action
|
|
605
|
+
*/
|
|
606
|
+
export type DataKeyCountOutputTypeDefaultArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
607
|
+
/**
|
|
608
|
+
* Select specific fields to fetch from the DataKeyCountOutputType
|
|
609
|
+
*/
|
|
610
|
+
select?: Prisma.DataKeyCountOutputTypeSelect<ExtArgs> | null;
|
|
611
|
+
};
|
|
612
|
+
/**
|
|
613
|
+
* DataKeyCountOutputType without action
|
|
614
|
+
*/
|
|
615
|
+
export type DataKeyCountOutputTypeCountMessagesArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
616
|
+
where?: Prisma.MessageWhereInput;
|
|
617
|
+
};
|
|
618
|
+
/**
|
|
619
|
+
* DataKeyCountOutputType without action
|
|
620
|
+
*/
|
|
621
|
+
export type DataKeyCountOutputTypeCountSchedulesArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
622
|
+
where?: Prisma.ScheduleWhereInput;
|
|
623
|
+
};
|
|
624
|
+
export type DataKeySelect<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetSelect<{
|
|
625
|
+
id?: boolean;
|
|
626
|
+
fleetId?: boolean;
|
|
627
|
+
wrappedByCompanyKey?: boolean;
|
|
628
|
+
wrappedByRecoveryKey?: boolean;
|
|
629
|
+
checkValue?: boolean;
|
|
630
|
+
createdAt?: boolean;
|
|
631
|
+
isCurrent?: boolean;
|
|
632
|
+
fleet?: boolean | Prisma.FleetDefaultArgs<ExtArgs>;
|
|
633
|
+
messages?: boolean | Prisma.DataKey$messagesArgs<ExtArgs>;
|
|
634
|
+
schedules?: boolean | Prisma.DataKey$schedulesArgs<ExtArgs>;
|
|
635
|
+
_count?: boolean | Prisma.DataKeyCountOutputTypeDefaultArgs<ExtArgs>;
|
|
636
|
+
}, ExtArgs["result"]["dataKey"]>;
|
|
637
|
+
export type DataKeySelectCreateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetSelect<{
|
|
638
|
+
id?: boolean;
|
|
639
|
+
fleetId?: boolean;
|
|
640
|
+
wrappedByCompanyKey?: boolean;
|
|
641
|
+
wrappedByRecoveryKey?: boolean;
|
|
642
|
+
checkValue?: boolean;
|
|
643
|
+
createdAt?: boolean;
|
|
644
|
+
isCurrent?: boolean;
|
|
645
|
+
fleet?: boolean | Prisma.FleetDefaultArgs<ExtArgs>;
|
|
646
|
+
}, ExtArgs["result"]["dataKey"]>;
|
|
647
|
+
export type DataKeySelectUpdateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetSelect<{
|
|
648
|
+
id?: boolean;
|
|
649
|
+
fleetId?: boolean;
|
|
650
|
+
wrappedByCompanyKey?: boolean;
|
|
651
|
+
wrappedByRecoveryKey?: boolean;
|
|
652
|
+
checkValue?: boolean;
|
|
653
|
+
createdAt?: boolean;
|
|
654
|
+
isCurrent?: boolean;
|
|
655
|
+
fleet?: boolean | Prisma.FleetDefaultArgs<ExtArgs>;
|
|
656
|
+
}, ExtArgs["result"]["dataKey"]>;
|
|
657
|
+
export type DataKeySelectScalar = {
|
|
658
|
+
id?: boolean;
|
|
659
|
+
fleetId?: boolean;
|
|
660
|
+
wrappedByCompanyKey?: boolean;
|
|
661
|
+
wrappedByRecoveryKey?: boolean;
|
|
662
|
+
checkValue?: boolean;
|
|
663
|
+
createdAt?: boolean;
|
|
664
|
+
isCurrent?: boolean;
|
|
665
|
+
};
|
|
666
|
+
export type DataKeyOmit<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetOmit<"id" | "fleetId" | "wrappedByCompanyKey" | "wrappedByRecoveryKey" | "checkValue" | "createdAt" | "isCurrent", ExtArgs["result"]["dataKey"]>;
|
|
667
|
+
export type DataKeyInclude<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
668
|
+
fleet?: boolean | Prisma.FleetDefaultArgs<ExtArgs>;
|
|
669
|
+
messages?: boolean | Prisma.DataKey$messagesArgs<ExtArgs>;
|
|
670
|
+
schedules?: boolean | Prisma.DataKey$schedulesArgs<ExtArgs>;
|
|
671
|
+
_count?: boolean | Prisma.DataKeyCountOutputTypeDefaultArgs<ExtArgs>;
|
|
672
|
+
};
|
|
673
|
+
export type DataKeyIncludeCreateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
674
|
+
fleet?: boolean | Prisma.FleetDefaultArgs<ExtArgs>;
|
|
675
|
+
};
|
|
676
|
+
export type DataKeyIncludeUpdateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
677
|
+
fleet?: boolean | Prisma.FleetDefaultArgs<ExtArgs>;
|
|
678
|
+
};
|
|
679
|
+
export type $DataKeyPayload<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
680
|
+
name: "DataKey";
|
|
681
|
+
objects: {
|
|
682
|
+
fleet: Prisma.$FleetPayload<ExtArgs>;
|
|
683
|
+
messages: Prisma.$MessagePayload<ExtArgs>[];
|
|
684
|
+
schedules: Prisma.$SchedulePayload<ExtArgs>[];
|
|
685
|
+
};
|
|
686
|
+
scalars: runtime.Types.Extensions.GetPayloadResult<{
|
|
687
|
+
id: string;
|
|
688
|
+
fleetId: string;
|
|
689
|
+
wrappedByCompanyKey: runtime.Bytes;
|
|
690
|
+
wrappedByRecoveryKey: runtime.Bytes | null;
|
|
691
|
+
checkValue: runtime.Bytes;
|
|
692
|
+
createdAt: Date;
|
|
693
|
+
isCurrent: boolean;
|
|
694
|
+
}, ExtArgs["result"]["dataKey"]>;
|
|
695
|
+
composites: {};
|
|
696
|
+
};
|
|
697
|
+
export type DataKeyGetPayload<S extends boolean | null | undefined | DataKeyDefaultArgs> = runtime.Types.Result.GetResult<Prisma.$DataKeyPayload, S>;
|
|
698
|
+
export type DataKeyCountArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = Omit<DataKeyFindManyArgs, 'select' | 'include' | 'distinct' | 'omit'> & {
|
|
699
|
+
select?: DataKeyCountAggregateInputType | true;
|
|
700
|
+
};
|
|
701
|
+
export interface DataKeyDelegate<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs, GlobalOmitOptions = {}> {
|
|
702
|
+
[K: symbol]: {
|
|
703
|
+
types: Prisma.TypeMap<ExtArgs>['model']['DataKey'];
|
|
704
|
+
meta: {
|
|
705
|
+
name: 'DataKey';
|
|
706
|
+
};
|
|
707
|
+
};
|
|
708
|
+
/**
|
|
709
|
+
* Find zero or one DataKey that matches the filter.
|
|
710
|
+
* @param {DataKeyFindUniqueArgs} args - Arguments to find a DataKey
|
|
711
|
+
* @example
|
|
712
|
+
* // Get one DataKey
|
|
713
|
+
* const dataKey = await prisma.dataKey.findUnique({
|
|
714
|
+
* where: {
|
|
715
|
+
* // ... provide filter here
|
|
716
|
+
* }
|
|
717
|
+
* })
|
|
718
|
+
*/
|
|
719
|
+
findUnique<T extends DataKeyFindUniqueArgs>(args: Prisma.SelectSubset<T, DataKeyFindUniqueArgs<ExtArgs>>): Prisma.Prisma__DataKeyClient<runtime.Types.Result.GetResult<Prisma.$DataKeyPayload<ExtArgs>, T, "findUnique", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions>;
|
|
720
|
+
/**
|
|
721
|
+
* Find one DataKey that matches the filter or throw an error with `error.code='P2025'`
|
|
722
|
+
* if no matches were found.
|
|
723
|
+
* @param {DataKeyFindUniqueOrThrowArgs} args - Arguments to find a DataKey
|
|
724
|
+
* @example
|
|
725
|
+
* // Get one DataKey
|
|
726
|
+
* const dataKey = await prisma.dataKey.findUniqueOrThrow({
|
|
727
|
+
* where: {
|
|
728
|
+
* // ... provide filter here
|
|
729
|
+
* }
|
|
730
|
+
* })
|
|
731
|
+
*/
|
|
732
|
+
findUniqueOrThrow<T extends DataKeyFindUniqueOrThrowArgs>(args: Prisma.SelectSubset<T, DataKeyFindUniqueOrThrowArgs<ExtArgs>>): Prisma.Prisma__DataKeyClient<runtime.Types.Result.GetResult<Prisma.$DataKeyPayload<ExtArgs>, T, "findUniqueOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>;
|
|
733
|
+
/**
|
|
734
|
+
* Find the first DataKey that matches the filter.
|
|
735
|
+
* Note, that providing `undefined` is treated as the value not being there.
|
|
736
|
+
* Read more here: https://pris.ly/d/null-undefined
|
|
737
|
+
* @param {DataKeyFindFirstArgs} args - Arguments to find a DataKey
|
|
738
|
+
* @example
|
|
739
|
+
* // Get one DataKey
|
|
740
|
+
* const dataKey = await prisma.dataKey.findFirst({
|
|
741
|
+
* where: {
|
|
742
|
+
* // ... provide filter here
|
|
743
|
+
* }
|
|
744
|
+
* })
|
|
745
|
+
*/
|
|
746
|
+
findFirst<T extends DataKeyFindFirstArgs>(args?: Prisma.SelectSubset<T, DataKeyFindFirstArgs<ExtArgs>>): Prisma.Prisma__DataKeyClient<runtime.Types.Result.GetResult<Prisma.$DataKeyPayload<ExtArgs>, T, "findFirst", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions>;
|
|
747
|
+
/**
|
|
748
|
+
* Find the first DataKey that matches the filter or
|
|
749
|
+
* throw `PrismaKnownClientError` with `P2025` code if no matches were found.
|
|
750
|
+
* Note, that providing `undefined` is treated as the value not being there.
|
|
751
|
+
* Read more here: https://pris.ly/d/null-undefined
|
|
752
|
+
* @param {DataKeyFindFirstOrThrowArgs} args - Arguments to find a DataKey
|
|
753
|
+
* @example
|
|
754
|
+
* // Get one DataKey
|
|
755
|
+
* const dataKey = await prisma.dataKey.findFirstOrThrow({
|
|
756
|
+
* where: {
|
|
757
|
+
* // ... provide filter here
|
|
758
|
+
* }
|
|
759
|
+
* })
|
|
760
|
+
*/
|
|
761
|
+
findFirstOrThrow<T extends DataKeyFindFirstOrThrowArgs>(args?: Prisma.SelectSubset<T, DataKeyFindFirstOrThrowArgs<ExtArgs>>): Prisma.Prisma__DataKeyClient<runtime.Types.Result.GetResult<Prisma.$DataKeyPayload<ExtArgs>, T, "findFirstOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>;
|
|
762
|
+
/**
|
|
763
|
+
* Find zero or more DataKeys that matches the filter.
|
|
764
|
+
* Note, that providing `undefined` is treated as the value not being there.
|
|
765
|
+
* Read more here: https://pris.ly/d/null-undefined
|
|
766
|
+
* @param {DataKeyFindManyArgs} args - Arguments to filter and select certain fields only.
|
|
767
|
+
* @example
|
|
768
|
+
* // Get all DataKeys
|
|
769
|
+
* const dataKeys = await prisma.dataKey.findMany()
|
|
770
|
+
*
|
|
771
|
+
* // Get first 10 DataKeys
|
|
772
|
+
* const dataKeys = await prisma.dataKey.findMany({ take: 10 })
|
|
773
|
+
*
|
|
774
|
+
* // Only select the `id`
|
|
775
|
+
* const dataKeyWithIdOnly = await prisma.dataKey.findMany({ select: { id: true } })
|
|
776
|
+
*
|
|
777
|
+
*/
|
|
778
|
+
findMany<T extends DataKeyFindManyArgs>(args?: Prisma.SelectSubset<T, DataKeyFindManyArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$DataKeyPayload<ExtArgs>, T, "findMany", GlobalOmitOptions>>;
|
|
779
|
+
/**
|
|
780
|
+
* Create a DataKey.
|
|
781
|
+
* @param {DataKeyCreateArgs} args - Arguments to create a DataKey.
|
|
782
|
+
* @example
|
|
783
|
+
* // Create one DataKey
|
|
784
|
+
* const DataKey = await prisma.dataKey.create({
|
|
785
|
+
* data: {
|
|
786
|
+
* // ... data to create a DataKey
|
|
787
|
+
* }
|
|
788
|
+
* })
|
|
789
|
+
*
|
|
790
|
+
*/
|
|
791
|
+
create<T extends DataKeyCreateArgs>(args: Prisma.SelectSubset<T, DataKeyCreateArgs<ExtArgs>>): Prisma.Prisma__DataKeyClient<runtime.Types.Result.GetResult<Prisma.$DataKeyPayload<ExtArgs>, T, "create", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>;
|
|
792
|
+
/**
|
|
793
|
+
* Create many DataKeys.
|
|
794
|
+
* @param {DataKeyCreateManyArgs} args - Arguments to create many DataKeys.
|
|
795
|
+
* @example
|
|
796
|
+
* // Create many DataKeys
|
|
797
|
+
* const dataKey = await prisma.dataKey.createMany({
|
|
798
|
+
* data: [
|
|
799
|
+
* // ... provide data here
|
|
800
|
+
* ]
|
|
801
|
+
* })
|
|
802
|
+
*
|
|
803
|
+
*/
|
|
804
|
+
createMany<T extends DataKeyCreateManyArgs>(args?: Prisma.SelectSubset<T, DataKeyCreateManyArgs<ExtArgs>>): Prisma.PrismaPromise<Prisma.BatchPayload>;
|
|
805
|
+
/**
|
|
806
|
+
* Create many DataKeys and returns the data saved in the database.
|
|
807
|
+
* @param {DataKeyCreateManyAndReturnArgs} args - Arguments to create many DataKeys.
|
|
808
|
+
* @example
|
|
809
|
+
* // Create many DataKeys
|
|
810
|
+
* const dataKey = await prisma.dataKey.createManyAndReturn({
|
|
811
|
+
* data: [
|
|
812
|
+
* // ... provide data here
|
|
813
|
+
* ]
|
|
814
|
+
* })
|
|
815
|
+
*
|
|
816
|
+
* // Create many DataKeys and only return the `id`
|
|
817
|
+
* const dataKeyWithIdOnly = await prisma.dataKey.createManyAndReturn({
|
|
818
|
+
* select: { id: true },
|
|
819
|
+
* data: [
|
|
820
|
+
* // ... provide data here
|
|
821
|
+
* ]
|
|
822
|
+
* })
|
|
823
|
+
* Note, that providing `undefined` is treated as the value not being there.
|
|
824
|
+
* Read more here: https://pris.ly/d/null-undefined
|
|
825
|
+
*
|
|
826
|
+
*/
|
|
827
|
+
createManyAndReturn<T extends DataKeyCreateManyAndReturnArgs>(args?: Prisma.SelectSubset<T, DataKeyCreateManyAndReturnArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$DataKeyPayload<ExtArgs>, T, "createManyAndReturn", GlobalOmitOptions>>;
|
|
828
|
+
/**
|
|
829
|
+
* Delete a DataKey.
|
|
830
|
+
* @param {DataKeyDeleteArgs} args - Arguments to delete one DataKey.
|
|
831
|
+
* @example
|
|
832
|
+
* // Delete one DataKey
|
|
833
|
+
* const DataKey = await prisma.dataKey.delete({
|
|
834
|
+
* where: {
|
|
835
|
+
* // ... filter to delete one DataKey
|
|
836
|
+
* }
|
|
837
|
+
* })
|
|
838
|
+
*
|
|
839
|
+
*/
|
|
840
|
+
delete<T extends DataKeyDeleteArgs>(args: Prisma.SelectSubset<T, DataKeyDeleteArgs<ExtArgs>>): Prisma.Prisma__DataKeyClient<runtime.Types.Result.GetResult<Prisma.$DataKeyPayload<ExtArgs>, T, "delete", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>;
|
|
841
|
+
/**
|
|
842
|
+
* Update one DataKey.
|
|
843
|
+
* @param {DataKeyUpdateArgs} args - Arguments to update one DataKey.
|
|
844
|
+
* @example
|
|
845
|
+
* // Update one DataKey
|
|
846
|
+
* const dataKey = await prisma.dataKey.update({
|
|
847
|
+
* where: {
|
|
848
|
+
* // ... provide filter here
|
|
849
|
+
* },
|
|
850
|
+
* data: {
|
|
851
|
+
* // ... provide data here
|
|
852
|
+
* }
|
|
853
|
+
* })
|
|
854
|
+
*
|
|
855
|
+
*/
|
|
856
|
+
update<T extends DataKeyUpdateArgs>(args: Prisma.SelectSubset<T, DataKeyUpdateArgs<ExtArgs>>): Prisma.Prisma__DataKeyClient<runtime.Types.Result.GetResult<Prisma.$DataKeyPayload<ExtArgs>, T, "update", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>;
|
|
857
|
+
/**
|
|
858
|
+
* Delete zero or more DataKeys.
|
|
859
|
+
* @param {DataKeyDeleteManyArgs} args - Arguments to filter DataKeys to delete.
|
|
860
|
+
* @example
|
|
861
|
+
* // Delete a few DataKeys
|
|
862
|
+
* const { count } = await prisma.dataKey.deleteMany({
|
|
863
|
+
* where: {
|
|
864
|
+
* // ... provide filter here
|
|
865
|
+
* }
|
|
866
|
+
* })
|
|
867
|
+
*
|
|
868
|
+
*/
|
|
869
|
+
deleteMany<T extends DataKeyDeleteManyArgs>(args?: Prisma.SelectSubset<T, DataKeyDeleteManyArgs<ExtArgs>>): Prisma.PrismaPromise<Prisma.BatchPayload>;
|
|
870
|
+
/**
|
|
871
|
+
* Update zero or more DataKeys.
|
|
872
|
+
* Note, that providing `undefined` is treated as the value not being there.
|
|
873
|
+
* Read more here: https://pris.ly/d/null-undefined
|
|
874
|
+
* @param {DataKeyUpdateManyArgs} args - Arguments to update one or more rows.
|
|
875
|
+
* @example
|
|
876
|
+
* // Update many DataKeys
|
|
877
|
+
* const dataKey = await prisma.dataKey.updateMany({
|
|
878
|
+
* where: {
|
|
879
|
+
* // ... provide filter here
|
|
880
|
+
* },
|
|
881
|
+
* data: {
|
|
882
|
+
* // ... provide data here
|
|
883
|
+
* }
|
|
884
|
+
* })
|
|
885
|
+
*
|
|
886
|
+
*/
|
|
887
|
+
updateMany<T extends DataKeyUpdateManyArgs>(args: Prisma.SelectSubset<T, DataKeyUpdateManyArgs<ExtArgs>>): Prisma.PrismaPromise<Prisma.BatchPayload>;
|
|
888
|
+
/**
|
|
889
|
+
* Update zero or more DataKeys and returns the data updated in the database.
|
|
890
|
+
* @param {DataKeyUpdateManyAndReturnArgs} args - Arguments to update many DataKeys.
|
|
891
|
+
* @example
|
|
892
|
+
* // Update many DataKeys
|
|
893
|
+
* const dataKey = await prisma.dataKey.updateManyAndReturn({
|
|
894
|
+
* where: {
|
|
895
|
+
* // ... provide filter here
|
|
896
|
+
* },
|
|
897
|
+
* data: [
|
|
898
|
+
* // ... provide data here
|
|
899
|
+
* ]
|
|
900
|
+
* })
|
|
901
|
+
*
|
|
902
|
+
* // Update zero or more DataKeys and only return the `id`
|
|
903
|
+
* const dataKeyWithIdOnly = await prisma.dataKey.updateManyAndReturn({
|
|
904
|
+
* select: { id: true },
|
|
905
|
+
* where: {
|
|
906
|
+
* // ... provide filter here
|
|
907
|
+
* },
|
|
908
|
+
* data: [
|
|
909
|
+
* // ... provide data here
|
|
910
|
+
* ]
|
|
911
|
+
* })
|
|
912
|
+
* Note, that providing `undefined` is treated as the value not being there.
|
|
913
|
+
* Read more here: https://pris.ly/d/null-undefined
|
|
914
|
+
*
|
|
915
|
+
*/
|
|
916
|
+
updateManyAndReturn<T extends DataKeyUpdateManyAndReturnArgs>(args: Prisma.SelectSubset<T, DataKeyUpdateManyAndReturnArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$DataKeyPayload<ExtArgs>, T, "updateManyAndReturn", GlobalOmitOptions>>;
|
|
917
|
+
/**
|
|
918
|
+
* Create or update one DataKey.
|
|
919
|
+
* @param {DataKeyUpsertArgs} args - Arguments to update or create a DataKey.
|
|
920
|
+
* @example
|
|
921
|
+
* // Update or create a DataKey
|
|
922
|
+
* const dataKey = await prisma.dataKey.upsert({
|
|
923
|
+
* create: {
|
|
924
|
+
* // ... data to create a DataKey
|
|
925
|
+
* },
|
|
926
|
+
* update: {
|
|
927
|
+
* // ... in case it already exists, update
|
|
928
|
+
* },
|
|
929
|
+
* where: {
|
|
930
|
+
* // ... the filter for the DataKey we want to update
|
|
931
|
+
* }
|
|
932
|
+
* })
|
|
933
|
+
*/
|
|
934
|
+
upsert<T extends DataKeyUpsertArgs>(args: Prisma.SelectSubset<T, DataKeyUpsertArgs<ExtArgs>>): Prisma.Prisma__DataKeyClient<runtime.Types.Result.GetResult<Prisma.$DataKeyPayload<ExtArgs>, T, "upsert", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>;
|
|
935
|
+
/**
|
|
936
|
+
* Count the number of DataKeys.
|
|
937
|
+
* Note, that providing `undefined` is treated as the value not being there.
|
|
938
|
+
* Read more here: https://pris.ly/d/null-undefined
|
|
939
|
+
* @param {DataKeyCountArgs} args - Arguments to filter DataKeys to count.
|
|
940
|
+
* @example
|
|
941
|
+
* // Count the number of DataKeys
|
|
942
|
+
* const count = await prisma.dataKey.count({
|
|
943
|
+
* where: {
|
|
944
|
+
* // ... the filter for the DataKeys we want to count
|
|
945
|
+
* }
|
|
946
|
+
* })
|
|
947
|
+
**/
|
|
948
|
+
count<T extends DataKeyCountArgs>(args?: Prisma.Subset<T, DataKeyCountArgs>): Prisma.PrismaPromise<T extends runtime.Types.Utils.Record<'select', any> ? T['select'] extends true ? number : Prisma.GetScalarType<T['select'], DataKeyCountAggregateOutputType> : number>;
|
|
949
|
+
/**
|
|
950
|
+
* Allows you to perform aggregations operations on a DataKey.
|
|
951
|
+
* Note, that providing `undefined` is treated as the value not being there.
|
|
952
|
+
* Read more here: https://pris.ly/d/null-undefined
|
|
953
|
+
* @param {DataKeyAggregateArgs} args - Select which aggregations you would like to apply and on what fields.
|
|
954
|
+
* @example
|
|
955
|
+
* // Ordered by age ascending
|
|
956
|
+
* // Where email contains prisma.io
|
|
957
|
+
* // Limited to the 10 users
|
|
958
|
+
* const aggregations = await prisma.user.aggregate({
|
|
959
|
+
* _avg: {
|
|
960
|
+
* age: true,
|
|
961
|
+
* },
|
|
962
|
+
* where: {
|
|
963
|
+
* email: {
|
|
964
|
+
* contains: "prisma.io",
|
|
965
|
+
* },
|
|
966
|
+
* },
|
|
967
|
+
* orderBy: {
|
|
968
|
+
* age: "asc",
|
|
969
|
+
* },
|
|
970
|
+
* take: 10,
|
|
971
|
+
* })
|
|
972
|
+
**/
|
|
973
|
+
aggregate<T extends DataKeyAggregateArgs>(args: Prisma.Subset<T, DataKeyAggregateArgs>): Prisma.PrismaPromise<GetDataKeyAggregateType<T>>;
|
|
974
|
+
/**
|
|
975
|
+
* Group by DataKey.
|
|
976
|
+
* Note, that providing `undefined` is treated as the value not being there.
|
|
977
|
+
* Read more here: https://pris.ly/d/null-undefined
|
|
978
|
+
* @param {DataKeyGroupByArgs} args - Group by arguments.
|
|
979
|
+
* @example
|
|
980
|
+
* // Group by city, order by createdAt, get count
|
|
981
|
+
* const result = await prisma.user.groupBy({
|
|
982
|
+
* by: ['city', 'createdAt'],
|
|
983
|
+
* orderBy: {
|
|
984
|
+
* createdAt: true
|
|
985
|
+
* },
|
|
986
|
+
* _count: {
|
|
987
|
+
* _all: true
|
|
988
|
+
* },
|
|
989
|
+
* })
|
|
990
|
+
*
|
|
991
|
+
**/
|
|
992
|
+
groupBy<T extends DataKeyGroupByArgs, HasSelectOrTake extends Prisma.Or<Prisma.Extends<'skip', Prisma.Keys<T>>, Prisma.Extends<'take', Prisma.Keys<T>>>, OrderByArg extends Prisma.True extends HasSelectOrTake ? {
|
|
993
|
+
orderBy: DataKeyGroupByArgs['orderBy'];
|
|
994
|
+
} : {
|
|
995
|
+
orderBy?: DataKeyGroupByArgs['orderBy'];
|
|
996
|
+
}, OrderFields extends Prisma.ExcludeUnderscoreKeys<Prisma.Keys<Prisma.MaybeTupleToUnion<T['orderBy']>>>, ByFields extends Prisma.MaybeTupleToUnion<T['by']>, ByValid extends Prisma.Has<ByFields, OrderFields>, HavingFields extends Prisma.GetHavingFields<T['having']>, HavingValid extends Prisma.Has<ByFields, HavingFields>, ByEmpty extends T['by'] extends never[] ? Prisma.True : Prisma.False, InputErrors extends ByEmpty extends Prisma.True ? `Error: "by" must not be empty.` : HavingValid extends Prisma.False ? {
|
|
997
|
+
[P in HavingFields]: P extends ByFields ? never : P extends string ? `Error: Field "${P}" used in "having" needs to be provided in "by".` : [
|
|
998
|
+
Error,
|
|
999
|
+
'Field ',
|
|
1000
|
+
P,
|
|
1001
|
+
` in "having" needs to be provided in "by"`
|
|
1002
|
+
];
|
|
1003
|
+
}[HavingFields] : 'take' extends Prisma.Keys<T> ? 'orderBy' extends Prisma.Keys<T> ? ByValid extends Prisma.True ? {} : {
|
|
1004
|
+
[P in OrderFields]: P extends ByFields ? never : `Error: Field "${P}" in "orderBy" needs to be provided in "by"`;
|
|
1005
|
+
}[OrderFields] : 'Error: If you provide "take", you also need to provide "orderBy"' : 'skip' extends Prisma.Keys<T> ? 'orderBy' extends Prisma.Keys<T> ? ByValid extends Prisma.True ? {} : {
|
|
1006
|
+
[P in OrderFields]: P extends ByFields ? never : `Error: Field "${P}" in "orderBy" needs to be provided in "by"`;
|
|
1007
|
+
}[OrderFields] : 'Error: If you provide "skip", you also need to provide "orderBy"' : ByValid extends Prisma.True ? {} : {
|
|
1008
|
+
[P in OrderFields]: P extends ByFields ? never : `Error: Field "${P}" in "orderBy" needs to be provided in "by"`;
|
|
1009
|
+
}[OrderFields]>(args: Prisma.SubsetIntersection<T, DataKeyGroupByArgs, OrderByArg> & InputErrors): {} extends InputErrors ? GetDataKeyGroupByPayload<T> : Prisma.PrismaPromise<InputErrors>;
|
|
1010
|
+
/**
|
|
1011
|
+
* Fields of the DataKey model
|
|
1012
|
+
*/
|
|
1013
|
+
readonly fields: DataKeyFieldRefs;
|
|
1014
|
+
}
|
|
1015
|
+
/**
|
|
1016
|
+
* The delegate class that acts as a "Promise-like" for DataKey.
|
|
1017
|
+
* Why is this prefixed with `Prisma__`?
|
|
1018
|
+
* Because we want to prevent naming conflicts as mentioned in
|
|
1019
|
+
* https://github.com/prisma/prisma-client-js/issues/707
|
|
1020
|
+
*/
|
|
1021
|
+
export interface Prisma__DataKeyClient<T, Null = never, ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs, GlobalOmitOptions = {}> extends Prisma.PrismaPromise<T> {
|
|
1022
|
+
readonly [Symbol.toStringTag]: "PrismaPromise";
|
|
1023
|
+
fleet<T extends Prisma.FleetDefaultArgs<ExtArgs> = {}>(args?: Prisma.Subset<T, Prisma.FleetDefaultArgs<ExtArgs>>): Prisma.Prisma__FleetClient<runtime.Types.Result.GetResult<Prisma.$FleetPayload<ExtArgs>, T, "findUniqueOrThrow", GlobalOmitOptions> | Null, Null, ExtArgs, GlobalOmitOptions>;
|
|
1024
|
+
messages<T extends Prisma.DataKey$messagesArgs<ExtArgs> = {}>(args?: Prisma.Subset<T, Prisma.DataKey$messagesArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$MessagePayload<ExtArgs>, T, "findMany", GlobalOmitOptions> | Null>;
|
|
1025
|
+
schedules<T extends Prisma.DataKey$schedulesArgs<ExtArgs> = {}>(args?: Prisma.Subset<T, Prisma.DataKey$schedulesArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$SchedulePayload<ExtArgs>, T, "findMany", GlobalOmitOptions> | Null>;
|
|
1026
|
+
/**
|
|
1027
|
+
* Attaches callbacks for the resolution and/or rejection of the Promise.
|
|
1028
|
+
* @param onfulfilled The callback to execute when the Promise is resolved.
|
|
1029
|
+
* @param onrejected The callback to execute when the Promise is rejected.
|
|
1030
|
+
* @returns A Promise for the completion of which ever callback is executed.
|
|
1031
|
+
*/
|
|
1032
|
+
then<TResult1 = T, TResult2 = never>(onfulfilled?: ((value: T) => TResult1 | PromiseLike<TResult1>) | undefined | null, onrejected?: ((reason: any) => TResult2 | PromiseLike<TResult2>) | undefined | null): runtime.Types.Utils.JsPromise<TResult1 | TResult2>;
|
|
1033
|
+
/**
|
|
1034
|
+
* Attaches a callback for only the rejection of the Promise.
|
|
1035
|
+
* @param onrejected The callback to execute when the Promise is rejected.
|
|
1036
|
+
* @returns A Promise for the completion of the callback.
|
|
1037
|
+
*/
|
|
1038
|
+
catch<TResult = never>(onrejected?: ((reason: any) => TResult | PromiseLike<TResult>) | undefined | null): runtime.Types.Utils.JsPromise<T | TResult>;
|
|
1039
|
+
/**
|
|
1040
|
+
* Attaches a callback that is invoked when the Promise is settled (fulfilled or rejected). The
|
|
1041
|
+
* resolved value cannot be modified from the callback.
|
|
1042
|
+
* @param onfinally The callback to execute when the Promise is settled (fulfilled or rejected).
|
|
1043
|
+
* @returns A Promise for the completion of the callback.
|
|
1044
|
+
*/
|
|
1045
|
+
finally(onfinally?: (() => void) | undefined | null): runtime.Types.Utils.JsPromise<T>;
|
|
1046
|
+
}
|
|
1047
|
+
/**
|
|
1048
|
+
* Fields of the DataKey model
|
|
1049
|
+
*/
|
|
1050
|
+
export interface DataKeyFieldRefs {
|
|
1051
|
+
readonly id: Prisma.FieldRef<"DataKey", 'String'>;
|
|
1052
|
+
readonly fleetId: Prisma.FieldRef<"DataKey", 'String'>;
|
|
1053
|
+
readonly wrappedByCompanyKey: Prisma.FieldRef<"DataKey", 'Bytes'>;
|
|
1054
|
+
readonly wrappedByRecoveryKey: Prisma.FieldRef<"DataKey", 'Bytes'>;
|
|
1055
|
+
readonly checkValue: Prisma.FieldRef<"DataKey", 'Bytes'>;
|
|
1056
|
+
readonly createdAt: Prisma.FieldRef<"DataKey", 'DateTime'>;
|
|
1057
|
+
readonly isCurrent: Prisma.FieldRef<"DataKey", 'Boolean'>;
|
|
1058
|
+
}
|
|
1059
|
+
/**
|
|
1060
|
+
* DataKey findUnique
|
|
1061
|
+
*/
|
|
1062
|
+
export type DataKeyFindUniqueArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1063
|
+
/**
|
|
1064
|
+
* Select specific fields to fetch from the DataKey
|
|
1065
|
+
*/
|
|
1066
|
+
select?: Prisma.DataKeySelect<ExtArgs> | null;
|
|
1067
|
+
/**
|
|
1068
|
+
* Omit specific fields from the DataKey
|
|
1069
|
+
*/
|
|
1070
|
+
omit?: Prisma.DataKeyOmit<ExtArgs> | null;
|
|
1071
|
+
/**
|
|
1072
|
+
* Choose, which related nodes to fetch as well
|
|
1073
|
+
*/
|
|
1074
|
+
include?: Prisma.DataKeyInclude<ExtArgs> | null;
|
|
1075
|
+
/**
|
|
1076
|
+
* Filter, which DataKey to fetch.
|
|
1077
|
+
*/
|
|
1078
|
+
where: Prisma.DataKeyWhereUniqueInput;
|
|
1079
|
+
};
|
|
1080
|
+
/**
|
|
1081
|
+
* DataKey findUniqueOrThrow
|
|
1082
|
+
*/
|
|
1083
|
+
export type DataKeyFindUniqueOrThrowArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1084
|
+
/**
|
|
1085
|
+
* Select specific fields to fetch from the DataKey
|
|
1086
|
+
*/
|
|
1087
|
+
select?: Prisma.DataKeySelect<ExtArgs> | null;
|
|
1088
|
+
/**
|
|
1089
|
+
* Omit specific fields from the DataKey
|
|
1090
|
+
*/
|
|
1091
|
+
omit?: Prisma.DataKeyOmit<ExtArgs> | null;
|
|
1092
|
+
/**
|
|
1093
|
+
* Choose, which related nodes to fetch as well
|
|
1094
|
+
*/
|
|
1095
|
+
include?: Prisma.DataKeyInclude<ExtArgs> | null;
|
|
1096
|
+
/**
|
|
1097
|
+
* Filter, which DataKey to fetch.
|
|
1098
|
+
*/
|
|
1099
|
+
where: Prisma.DataKeyWhereUniqueInput;
|
|
1100
|
+
};
|
|
1101
|
+
/**
|
|
1102
|
+
* DataKey findFirst
|
|
1103
|
+
*/
|
|
1104
|
+
export type DataKeyFindFirstArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1105
|
+
/**
|
|
1106
|
+
* Select specific fields to fetch from the DataKey
|
|
1107
|
+
*/
|
|
1108
|
+
select?: Prisma.DataKeySelect<ExtArgs> | null;
|
|
1109
|
+
/**
|
|
1110
|
+
* Omit specific fields from the DataKey
|
|
1111
|
+
*/
|
|
1112
|
+
omit?: Prisma.DataKeyOmit<ExtArgs> | null;
|
|
1113
|
+
/**
|
|
1114
|
+
* Choose, which related nodes to fetch as well
|
|
1115
|
+
*/
|
|
1116
|
+
include?: Prisma.DataKeyInclude<ExtArgs> | null;
|
|
1117
|
+
/**
|
|
1118
|
+
* Filter, which DataKey to fetch.
|
|
1119
|
+
*/
|
|
1120
|
+
where?: Prisma.DataKeyWhereInput;
|
|
1121
|
+
/**
|
|
1122
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
|
|
1123
|
+
*
|
|
1124
|
+
* Determine the order of DataKeys to fetch.
|
|
1125
|
+
*/
|
|
1126
|
+
orderBy?: Prisma.DataKeyOrderByWithRelationInput | Prisma.DataKeyOrderByWithRelationInput[];
|
|
1127
|
+
/**
|
|
1128
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
|
|
1129
|
+
*
|
|
1130
|
+
* Sets the position for searching for DataKeys.
|
|
1131
|
+
*/
|
|
1132
|
+
cursor?: Prisma.DataKeyWhereUniqueInput;
|
|
1133
|
+
/**
|
|
1134
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
1135
|
+
*
|
|
1136
|
+
* Take `±n` DataKeys from the position of the cursor.
|
|
1137
|
+
*/
|
|
1138
|
+
take?: number;
|
|
1139
|
+
/**
|
|
1140
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
1141
|
+
*
|
|
1142
|
+
* Skip the first `n` DataKeys.
|
|
1143
|
+
*/
|
|
1144
|
+
skip?: number;
|
|
1145
|
+
/**
|
|
1146
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
|
|
1147
|
+
*
|
|
1148
|
+
* Filter by unique combinations of DataKeys.
|
|
1149
|
+
*/
|
|
1150
|
+
distinct?: Prisma.DataKeyScalarFieldEnum | Prisma.DataKeyScalarFieldEnum[];
|
|
1151
|
+
};
|
|
1152
|
+
/**
|
|
1153
|
+
* DataKey findFirstOrThrow
|
|
1154
|
+
*/
|
|
1155
|
+
export type DataKeyFindFirstOrThrowArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1156
|
+
/**
|
|
1157
|
+
* Select specific fields to fetch from the DataKey
|
|
1158
|
+
*/
|
|
1159
|
+
select?: Prisma.DataKeySelect<ExtArgs> | null;
|
|
1160
|
+
/**
|
|
1161
|
+
* Omit specific fields from the DataKey
|
|
1162
|
+
*/
|
|
1163
|
+
omit?: Prisma.DataKeyOmit<ExtArgs> | null;
|
|
1164
|
+
/**
|
|
1165
|
+
* Choose, which related nodes to fetch as well
|
|
1166
|
+
*/
|
|
1167
|
+
include?: Prisma.DataKeyInclude<ExtArgs> | null;
|
|
1168
|
+
/**
|
|
1169
|
+
* Filter, which DataKey to fetch.
|
|
1170
|
+
*/
|
|
1171
|
+
where?: Prisma.DataKeyWhereInput;
|
|
1172
|
+
/**
|
|
1173
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
|
|
1174
|
+
*
|
|
1175
|
+
* Determine the order of DataKeys to fetch.
|
|
1176
|
+
*/
|
|
1177
|
+
orderBy?: Prisma.DataKeyOrderByWithRelationInput | Prisma.DataKeyOrderByWithRelationInput[];
|
|
1178
|
+
/**
|
|
1179
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
|
|
1180
|
+
*
|
|
1181
|
+
* Sets the position for searching for DataKeys.
|
|
1182
|
+
*/
|
|
1183
|
+
cursor?: Prisma.DataKeyWhereUniqueInput;
|
|
1184
|
+
/**
|
|
1185
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
1186
|
+
*
|
|
1187
|
+
* Take `±n` DataKeys from the position of the cursor.
|
|
1188
|
+
*/
|
|
1189
|
+
take?: number;
|
|
1190
|
+
/**
|
|
1191
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
1192
|
+
*
|
|
1193
|
+
* Skip the first `n` DataKeys.
|
|
1194
|
+
*/
|
|
1195
|
+
skip?: number;
|
|
1196
|
+
/**
|
|
1197
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
|
|
1198
|
+
*
|
|
1199
|
+
* Filter by unique combinations of DataKeys.
|
|
1200
|
+
*/
|
|
1201
|
+
distinct?: Prisma.DataKeyScalarFieldEnum | Prisma.DataKeyScalarFieldEnum[];
|
|
1202
|
+
};
|
|
1203
|
+
/**
|
|
1204
|
+
* DataKey findMany
|
|
1205
|
+
*/
|
|
1206
|
+
export type DataKeyFindManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1207
|
+
/**
|
|
1208
|
+
* Select specific fields to fetch from the DataKey
|
|
1209
|
+
*/
|
|
1210
|
+
select?: Prisma.DataKeySelect<ExtArgs> | null;
|
|
1211
|
+
/**
|
|
1212
|
+
* Omit specific fields from the DataKey
|
|
1213
|
+
*/
|
|
1214
|
+
omit?: Prisma.DataKeyOmit<ExtArgs> | null;
|
|
1215
|
+
/**
|
|
1216
|
+
* Choose, which related nodes to fetch as well
|
|
1217
|
+
*/
|
|
1218
|
+
include?: Prisma.DataKeyInclude<ExtArgs> | null;
|
|
1219
|
+
/**
|
|
1220
|
+
* Filter, which DataKeys to fetch.
|
|
1221
|
+
*/
|
|
1222
|
+
where?: Prisma.DataKeyWhereInput;
|
|
1223
|
+
/**
|
|
1224
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
|
|
1225
|
+
*
|
|
1226
|
+
* Determine the order of DataKeys to fetch.
|
|
1227
|
+
*/
|
|
1228
|
+
orderBy?: Prisma.DataKeyOrderByWithRelationInput | Prisma.DataKeyOrderByWithRelationInput[];
|
|
1229
|
+
/**
|
|
1230
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
|
|
1231
|
+
*
|
|
1232
|
+
* Sets the position for listing DataKeys.
|
|
1233
|
+
*/
|
|
1234
|
+
cursor?: Prisma.DataKeyWhereUniqueInput;
|
|
1235
|
+
/**
|
|
1236
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
1237
|
+
*
|
|
1238
|
+
* Take `±n` DataKeys from the position of the cursor.
|
|
1239
|
+
*/
|
|
1240
|
+
take?: number;
|
|
1241
|
+
/**
|
|
1242
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
1243
|
+
*
|
|
1244
|
+
* Skip the first `n` DataKeys.
|
|
1245
|
+
*/
|
|
1246
|
+
skip?: number;
|
|
1247
|
+
/**
|
|
1248
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
|
|
1249
|
+
*
|
|
1250
|
+
* Filter by unique combinations of DataKeys.
|
|
1251
|
+
*/
|
|
1252
|
+
distinct?: Prisma.DataKeyScalarFieldEnum | Prisma.DataKeyScalarFieldEnum[];
|
|
1253
|
+
};
|
|
1254
|
+
/**
|
|
1255
|
+
* DataKey create
|
|
1256
|
+
*/
|
|
1257
|
+
export type DataKeyCreateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1258
|
+
/**
|
|
1259
|
+
* Select specific fields to fetch from the DataKey
|
|
1260
|
+
*/
|
|
1261
|
+
select?: Prisma.DataKeySelect<ExtArgs> | null;
|
|
1262
|
+
/**
|
|
1263
|
+
* Omit specific fields from the DataKey
|
|
1264
|
+
*/
|
|
1265
|
+
omit?: Prisma.DataKeyOmit<ExtArgs> | null;
|
|
1266
|
+
/**
|
|
1267
|
+
* Choose, which related nodes to fetch as well
|
|
1268
|
+
*/
|
|
1269
|
+
include?: Prisma.DataKeyInclude<ExtArgs> | null;
|
|
1270
|
+
/**
|
|
1271
|
+
* The data needed to create a DataKey.
|
|
1272
|
+
*/
|
|
1273
|
+
data: Prisma.XOR<Prisma.DataKeyCreateInput, Prisma.DataKeyUncheckedCreateInput>;
|
|
1274
|
+
};
|
|
1275
|
+
/**
|
|
1276
|
+
* DataKey createMany
|
|
1277
|
+
*/
|
|
1278
|
+
export type DataKeyCreateManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1279
|
+
/**
|
|
1280
|
+
* The data used to create many DataKeys.
|
|
1281
|
+
*/
|
|
1282
|
+
data: Prisma.DataKeyCreateManyInput | Prisma.DataKeyCreateManyInput[];
|
|
1283
|
+
skipDuplicates?: boolean;
|
|
1284
|
+
};
|
|
1285
|
+
/**
|
|
1286
|
+
* DataKey createManyAndReturn
|
|
1287
|
+
*/
|
|
1288
|
+
export type DataKeyCreateManyAndReturnArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1289
|
+
/**
|
|
1290
|
+
* Select specific fields to fetch from the DataKey
|
|
1291
|
+
*/
|
|
1292
|
+
select?: Prisma.DataKeySelectCreateManyAndReturn<ExtArgs> | null;
|
|
1293
|
+
/**
|
|
1294
|
+
* Omit specific fields from the DataKey
|
|
1295
|
+
*/
|
|
1296
|
+
omit?: Prisma.DataKeyOmit<ExtArgs> | null;
|
|
1297
|
+
/**
|
|
1298
|
+
* The data used to create many DataKeys.
|
|
1299
|
+
*/
|
|
1300
|
+
data: Prisma.DataKeyCreateManyInput | Prisma.DataKeyCreateManyInput[];
|
|
1301
|
+
skipDuplicates?: boolean;
|
|
1302
|
+
/**
|
|
1303
|
+
* Choose, which related nodes to fetch as well
|
|
1304
|
+
*/
|
|
1305
|
+
include?: Prisma.DataKeyIncludeCreateManyAndReturn<ExtArgs> | null;
|
|
1306
|
+
};
|
|
1307
|
+
/**
|
|
1308
|
+
* DataKey update
|
|
1309
|
+
*/
|
|
1310
|
+
export type DataKeyUpdateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1311
|
+
/**
|
|
1312
|
+
* Select specific fields to fetch from the DataKey
|
|
1313
|
+
*/
|
|
1314
|
+
select?: Prisma.DataKeySelect<ExtArgs> | null;
|
|
1315
|
+
/**
|
|
1316
|
+
* Omit specific fields from the DataKey
|
|
1317
|
+
*/
|
|
1318
|
+
omit?: Prisma.DataKeyOmit<ExtArgs> | null;
|
|
1319
|
+
/**
|
|
1320
|
+
* Choose, which related nodes to fetch as well
|
|
1321
|
+
*/
|
|
1322
|
+
include?: Prisma.DataKeyInclude<ExtArgs> | null;
|
|
1323
|
+
/**
|
|
1324
|
+
* The data needed to update a DataKey.
|
|
1325
|
+
*/
|
|
1326
|
+
data: Prisma.XOR<Prisma.DataKeyUpdateInput, Prisma.DataKeyUncheckedUpdateInput>;
|
|
1327
|
+
/**
|
|
1328
|
+
* Choose, which DataKey to update.
|
|
1329
|
+
*/
|
|
1330
|
+
where: Prisma.DataKeyWhereUniqueInput;
|
|
1331
|
+
};
|
|
1332
|
+
/**
|
|
1333
|
+
* DataKey updateMany
|
|
1334
|
+
*/
|
|
1335
|
+
export type DataKeyUpdateManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1336
|
+
/**
|
|
1337
|
+
* The data used to update DataKeys.
|
|
1338
|
+
*/
|
|
1339
|
+
data: Prisma.XOR<Prisma.DataKeyUpdateManyMutationInput, Prisma.DataKeyUncheckedUpdateManyInput>;
|
|
1340
|
+
/**
|
|
1341
|
+
* Filter which DataKeys to update
|
|
1342
|
+
*/
|
|
1343
|
+
where?: Prisma.DataKeyWhereInput;
|
|
1344
|
+
/**
|
|
1345
|
+
* Limit how many DataKeys to update.
|
|
1346
|
+
*/
|
|
1347
|
+
limit?: number;
|
|
1348
|
+
};
|
|
1349
|
+
/**
|
|
1350
|
+
* DataKey updateManyAndReturn
|
|
1351
|
+
*/
|
|
1352
|
+
export type DataKeyUpdateManyAndReturnArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1353
|
+
/**
|
|
1354
|
+
* Select specific fields to fetch from the DataKey
|
|
1355
|
+
*/
|
|
1356
|
+
select?: Prisma.DataKeySelectUpdateManyAndReturn<ExtArgs> | null;
|
|
1357
|
+
/**
|
|
1358
|
+
* Omit specific fields from the DataKey
|
|
1359
|
+
*/
|
|
1360
|
+
omit?: Prisma.DataKeyOmit<ExtArgs> | null;
|
|
1361
|
+
/**
|
|
1362
|
+
* The data used to update DataKeys.
|
|
1363
|
+
*/
|
|
1364
|
+
data: Prisma.XOR<Prisma.DataKeyUpdateManyMutationInput, Prisma.DataKeyUncheckedUpdateManyInput>;
|
|
1365
|
+
/**
|
|
1366
|
+
* Filter which DataKeys to update
|
|
1367
|
+
*/
|
|
1368
|
+
where?: Prisma.DataKeyWhereInput;
|
|
1369
|
+
/**
|
|
1370
|
+
* Limit how many DataKeys to update.
|
|
1371
|
+
*/
|
|
1372
|
+
limit?: number;
|
|
1373
|
+
/**
|
|
1374
|
+
* Choose, which related nodes to fetch as well
|
|
1375
|
+
*/
|
|
1376
|
+
include?: Prisma.DataKeyIncludeUpdateManyAndReturn<ExtArgs> | null;
|
|
1377
|
+
};
|
|
1378
|
+
/**
|
|
1379
|
+
* DataKey upsert
|
|
1380
|
+
*/
|
|
1381
|
+
export type DataKeyUpsertArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1382
|
+
/**
|
|
1383
|
+
* Select specific fields to fetch from the DataKey
|
|
1384
|
+
*/
|
|
1385
|
+
select?: Prisma.DataKeySelect<ExtArgs> | null;
|
|
1386
|
+
/**
|
|
1387
|
+
* Omit specific fields from the DataKey
|
|
1388
|
+
*/
|
|
1389
|
+
omit?: Prisma.DataKeyOmit<ExtArgs> | null;
|
|
1390
|
+
/**
|
|
1391
|
+
* Choose, which related nodes to fetch as well
|
|
1392
|
+
*/
|
|
1393
|
+
include?: Prisma.DataKeyInclude<ExtArgs> | null;
|
|
1394
|
+
/**
|
|
1395
|
+
* The filter to search for the DataKey to update in case it exists.
|
|
1396
|
+
*/
|
|
1397
|
+
where: Prisma.DataKeyWhereUniqueInput;
|
|
1398
|
+
/**
|
|
1399
|
+
* In case the DataKey found by the `where` argument doesn't exist, create a new DataKey with this data.
|
|
1400
|
+
*/
|
|
1401
|
+
create: Prisma.XOR<Prisma.DataKeyCreateInput, Prisma.DataKeyUncheckedCreateInput>;
|
|
1402
|
+
/**
|
|
1403
|
+
* In case the DataKey was found with the provided `where` argument, update it with this data.
|
|
1404
|
+
*/
|
|
1405
|
+
update: Prisma.XOR<Prisma.DataKeyUpdateInput, Prisma.DataKeyUncheckedUpdateInput>;
|
|
1406
|
+
};
|
|
1407
|
+
/**
|
|
1408
|
+
* DataKey delete
|
|
1409
|
+
*/
|
|
1410
|
+
export type DataKeyDeleteArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1411
|
+
/**
|
|
1412
|
+
* Select specific fields to fetch from the DataKey
|
|
1413
|
+
*/
|
|
1414
|
+
select?: Prisma.DataKeySelect<ExtArgs> | null;
|
|
1415
|
+
/**
|
|
1416
|
+
* Omit specific fields from the DataKey
|
|
1417
|
+
*/
|
|
1418
|
+
omit?: Prisma.DataKeyOmit<ExtArgs> | null;
|
|
1419
|
+
/**
|
|
1420
|
+
* Choose, which related nodes to fetch as well
|
|
1421
|
+
*/
|
|
1422
|
+
include?: Prisma.DataKeyInclude<ExtArgs> | null;
|
|
1423
|
+
/**
|
|
1424
|
+
* Filter which DataKey to delete.
|
|
1425
|
+
*/
|
|
1426
|
+
where: Prisma.DataKeyWhereUniqueInput;
|
|
1427
|
+
};
|
|
1428
|
+
/**
|
|
1429
|
+
* DataKey deleteMany
|
|
1430
|
+
*/
|
|
1431
|
+
export type DataKeyDeleteManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1432
|
+
/**
|
|
1433
|
+
* Filter which DataKeys to delete
|
|
1434
|
+
*/
|
|
1435
|
+
where?: Prisma.DataKeyWhereInput;
|
|
1436
|
+
/**
|
|
1437
|
+
* Limit how many DataKeys to delete.
|
|
1438
|
+
*/
|
|
1439
|
+
limit?: number;
|
|
1440
|
+
};
|
|
1441
|
+
/**
|
|
1442
|
+
* DataKey.messages
|
|
1443
|
+
*/
|
|
1444
|
+
export type DataKey$messagesArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1445
|
+
/**
|
|
1446
|
+
* Select specific fields to fetch from the Message
|
|
1447
|
+
*/
|
|
1448
|
+
select?: Prisma.MessageSelect<ExtArgs> | null;
|
|
1449
|
+
/**
|
|
1450
|
+
* Omit specific fields from the Message
|
|
1451
|
+
*/
|
|
1452
|
+
omit?: Prisma.MessageOmit<ExtArgs> | null;
|
|
1453
|
+
/**
|
|
1454
|
+
* Choose, which related nodes to fetch as well
|
|
1455
|
+
*/
|
|
1456
|
+
include?: Prisma.MessageInclude<ExtArgs> | null;
|
|
1457
|
+
where?: Prisma.MessageWhereInput;
|
|
1458
|
+
orderBy?: Prisma.MessageOrderByWithRelationInput | Prisma.MessageOrderByWithRelationInput[];
|
|
1459
|
+
cursor?: Prisma.MessageWhereUniqueInput;
|
|
1460
|
+
take?: number;
|
|
1461
|
+
skip?: number;
|
|
1462
|
+
distinct?: Prisma.MessageScalarFieldEnum | Prisma.MessageScalarFieldEnum[];
|
|
1463
|
+
};
|
|
1464
|
+
/**
|
|
1465
|
+
* DataKey.schedules
|
|
1466
|
+
*/
|
|
1467
|
+
export type DataKey$schedulesArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1468
|
+
/**
|
|
1469
|
+
* Select specific fields to fetch from the Schedule
|
|
1470
|
+
*/
|
|
1471
|
+
select?: Prisma.ScheduleSelect<ExtArgs> | null;
|
|
1472
|
+
/**
|
|
1473
|
+
* Omit specific fields from the Schedule
|
|
1474
|
+
*/
|
|
1475
|
+
omit?: Prisma.ScheduleOmit<ExtArgs> | null;
|
|
1476
|
+
/**
|
|
1477
|
+
* Choose, which related nodes to fetch as well
|
|
1478
|
+
*/
|
|
1479
|
+
include?: Prisma.ScheduleInclude<ExtArgs> | null;
|
|
1480
|
+
where?: Prisma.ScheduleWhereInput;
|
|
1481
|
+
orderBy?: Prisma.ScheduleOrderByWithRelationInput | Prisma.ScheduleOrderByWithRelationInput[];
|
|
1482
|
+
cursor?: Prisma.ScheduleWhereUniqueInput;
|
|
1483
|
+
take?: number;
|
|
1484
|
+
skip?: number;
|
|
1485
|
+
distinct?: Prisma.ScheduleScalarFieldEnum | Prisma.ScheduleScalarFieldEnum[];
|
|
1486
|
+
};
|
|
1487
|
+
/**
|
|
1488
|
+
* DataKey without action
|
|
1489
|
+
*/
|
|
1490
|
+
export type DataKeyDefaultArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1491
|
+
/**
|
|
1492
|
+
* Select specific fields to fetch from the DataKey
|
|
1493
|
+
*/
|
|
1494
|
+
select?: Prisma.DataKeySelect<ExtArgs> | null;
|
|
1495
|
+
/**
|
|
1496
|
+
* Omit specific fields from the DataKey
|
|
1497
|
+
*/
|
|
1498
|
+
omit?: Prisma.DataKeyOmit<ExtArgs> | null;
|
|
1499
|
+
/**
|
|
1500
|
+
* Choose, which related nodes to fetch as well
|
|
1501
|
+
*/
|
|
1502
|
+
include?: Prisma.DataKeyInclude<ExtArgs> | null;
|
|
1503
|
+
};
|