@aeolus-fleet/core 0.0.0 → 0.19.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/LICENSE +201 -0
- package/README.md +98 -1
- package/dist/adapters/cli/fleet-init.d.ts +14 -0
- package/dist/adapters/cli/fleet-init.js +68 -0
- package/dist/adapters/cli/fleet-init.js.map +1 -0
- package/dist/adapters/cli/io.d.ts +35 -0
- package/dist/adapters/cli/io.js +21 -0
- package/dist/adapters/cli/io.js.map +1 -0
- package/dist/adapters/cli/migrate.d.ts +11 -0
- package/dist/adapters/cli/migrate.js +12 -0
- package/dist/adapters/cli/migrate.js.map +1 -0
- package/dist/adapters/cli/operator-reset-password.d.ts +12 -0
- package/dist/adapters/cli/operator-reset-password.js +49 -0
- package/dist/adapters/cli/operator-reset-password.js.map +1 -0
- package/dist/adapters/cli/run.d.ts +14 -0
- package/dist/adapters/cli/run.js +40 -0
- package/dist/adapters/cli/run.js.map +1 -0
- package/dist/adapters/cli/terminal.d.ts +20 -0
- package/dist/adapters/cli/terminal.js +68 -0
- package/dist/adapters/cli/terminal.js.map +1 -0
- package/dist/adapters/crypto/passwords.d.ts +2 -0
- package/dist/adapters/crypto/passwords.js +59 -0
- package/dist/adapters/crypto/passwords.js.map +1 -0
- package/dist/adapters/crypto/secrets.d.ts +5 -0
- package/dist/adapters/crypto/secrets.js +10 -0
- package/dist/adapters/crypto/secrets.js.map +1 -0
- package/dist/adapters/http/device-label.d.ts +9 -0
- package/dist/adapters/http/device-label.js +39 -0
- package/dist/adapters/http/device-label.js.map +1 -0
- package/dist/adapters/http/rate-limiter.d.ts +21 -0
- package/dist/adapters/http/rate-limiter.js +44 -0
- package/dist/adapters/http/rate-limiter.js.map +1 -0
- package/dist/adapters/http/request-credentials.d.ts +23 -0
- package/dist/adapters/http/request-credentials.js +45 -0
- package/dist/adapters/http/request-credentials.js.map +1 -0
- package/dist/adapters/http/server.d.ts +47 -0
- package/dist/adapters/http/server.js +216 -0
- package/dist/adapters/http/server.js.map +1 -0
- package/dist/adapters/http/version.d.ts +9 -0
- package/dist/adapters/http/version.js +23 -0
- package/dist/adapters/http/version.js.map +1 -0
- package/dist/adapters/mcp/mcp-endpoint.d.ts +8 -0
- package/dist/adapters/mcp/mcp-endpoint.js +127 -0
- package/dist/adapters/mcp/mcp-endpoint.js.map +1 -0
- package/dist/adapters/prisma/client.d.ts +10 -0
- package/dist/adapters/prisma/client.js +20 -0
- package/dist/adapters/prisma/client.js.map +1 -0
- package/dist/adapters/prisma/delivery-notices.d.ts +34 -0
- package/dist/adapters/prisma/delivery-notices.js +113 -0
- package/dist/adapters/prisma/delivery-notices.js.map +1 -0
- package/dist/adapters/prisma/event-log.d.ts +11 -0
- package/dist/adapters/prisma/event-log.js +61 -0
- package/dist/adapters/prisma/event-log.js.map +1 -0
- package/dist/adapters/prisma/failure-log.d.ts +22 -0
- package/dist/adapters/prisma/failure-log.js +70 -0
- package/dist/adapters/prisma/failure-log.js.map +1 -0
- package/dist/adapters/prisma/fleet-counter.d.ts +3 -0
- package/dist/adapters/prisma/fleet-counter.js +6 -0
- package/dist/adapters/prisma/fleet-counter.js.map +1 -0
- package/dist/adapters/prisma/fleet-event-wakeups.d.ts +33 -0
- package/dist/adapters/prisma/fleet-event-wakeups.js +86 -0
- package/dist/adapters/prisma/fleet-event-wakeups.js.map +1 -0
- package/dist/adapters/prisma/generated/browser.d.ts +127 -0
- package/dist/adapters/prisma/generated/browser.js +18 -0
- package/dist/adapters/prisma/generated/browser.js.map +1 -0
- package/dist/adapters/prisma/generated/client.d.ts +146 -0
- package/dist/adapters/prisma/generated/client.js +38 -0
- package/dist/adapters/prisma/generated/client.js.map +1 -0
- package/dist/adapters/prisma/generated/commonInputTypes.d.ts +879 -0
- package/dist/adapters/prisma/generated/commonInputTypes.js +11 -0
- package/dist/adapters/prisma/generated/commonInputTypes.js.map +1 -0
- package/dist/adapters/prisma/generated/enums.d.ts +75 -0
- package/dist/adapters/prisma/generated/enums.js +73 -0
- package/dist/adapters/prisma/generated/enums.js.map +1 -0
- package/dist/adapters/prisma/generated/internal/class.d.ts +308 -0
- package/dist/adapters/prisma/generated/internal/class.js +52 -0
- package/dist/adapters/prisma/generated/internal/class.js.map +1 -0
- package/dist/adapters/prisma/generated/internal/prismaNamespace.d.ts +2131 -0
- package/dist/adapters/prisma/generated/internal/prismaNamespace.js +295 -0
- package/dist/adapters/prisma/generated/internal/prismaNamespace.js.map +1 -0
- package/dist/adapters/prisma/generated/internal/prismaNamespaceBrowser.d.ts +273 -0
- package/dist/adapters/prisma/generated/internal/prismaNamespaceBrowser.js +265 -0
- package/dist/adapters/prisma/generated/internal/prismaNamespaceBrowser.js.map +1 -0
- package/dist/adapters/prisma/generated/models/ConsoleSession.d.ts +2137 -0
- package/dist/adapters/prisma/generated/models/ConsoleSession.js +2 -0
- package/dist/adapters/prisma/generated/models/ConsoleSession.js.map +1 -0
- package/dist/adapters/prisma/generated/models/Credential.d.ts +1360 -0
- package/dist/adapters/prisma/generated/models/Credential.js +2 -0
- package/dist/adapters/prisma/generated/models/Credential.js.map +1 -0
- package/dist/adapters/prisma/generated/models/CrewRequest.d.ts +1558 -0
- package/dist/adapters/prisma/generated/models/CrewRequest.js +2 -0
- package/dist/adapters/prisma/generated/models/CrewRequest.js.map +1 -0
- package/dist/adapters/prisma/generated/models/Delivery.d.ts +2211 -0
- package/dist/adapters/prisma/generated/models/Delivery.js +2 -0
- package/dist/adapters/prisma/generated/models/Delivery.js.map +1 -0
- package/dist/adapters/prisma/generated/models/Event.d.ts +1991 -0
- package/dist/adapters/prisma/generated/models/Event.js +2 -0
- package/dist/adapters/prisma/generated/models/Event.js.map +1 -0
- package/dist/adapters/prisma/generated/models/Fleet.d.ts +3032 -0
- package/dist/adapters/prisma/generated/models/Fleet.js +2 -0
- package/dist/adapters/prisma/generated/models/Fleet.js.map +1 -0
- package/dist/adapters/prisma/generated/models/Guide.d.ts +943 -0
- package/dist/adapters/prisma/generated/models/Guide.js +2 -0
- package/dist/adapters/prisma/generated/models/Guide.js.map +1 -0
- package/dist/adapters/prisma/generated/models/GuideProgress.d.ts +1323 -0
- package/dist/adapters/prisma/generated/models/GuideProgress.js +2 -0
- package/dist/adapters/prisma/generated/models/GuideProgress.js.map +1 -0
- package/dist/adapters/prisma/generated/models/InstallationRequest.d.ts +1036 -0
- package/dist/adapters/prisma/generated/models/InstallationRequest.js +2 -0
- package/dist/adapters/prisma/generated/models/InstallationRequest.js.map +1 -0
- package/dist/adapters/prisma/generated/models/InstallationSettings.d.ts +1027 -0
- package/dist/adapters/prisma/generated/models/InstallationSettings.js +2 -0
- package/dist/adapters/prisma/generated/models/InstallationSettings.js.map +1 -0
- package/dist/adapters/prisma/generated/models/Lease.d.ts +2076 -0
- package/dist/adapters/prisma/generated/models/Lease.js +2 -0
- package/dist/adapters/prisma/generated/models/Lease.js.map +1 -0
- package/dist/adapters/prisma/generated/models/Message.d.ts +2869 -0
- package/dist/adapters/prisma/generated/models/Message.js +2 -0
- package/dist/adapters/prisma/generated/models/Message.js.map +1 -0
- package/dist/adapters/prisma/generated/models/Notice.d.ts +1068 -0
- package/dist/adapters/prisma/generated/models/Notice.js +2 -0
- package/dist/adapters/prisma/generated/models/Notice.js.map +1 -0
- package/dist/adapters/prisma/generated/models/NoticeDismissal.d.ts +1245 -0
- package/dist/adapters/prisma/generated/models/NoticeDismissal.js +2 -0
- package/dist/adapters/prisma/generated/models/NoticeDismissal.js.map +1 -0
- package/dist/adapters/prisma/generated/models/Operator.d.ts +1173 -0
- package/dist/adapters/prisma/generated/models/Operator.js +2 -0
- package/dist/adapters/prisma/generated/models/Operator.js.map +1 -0
- package/dist/adapters/prisma/generated/models/Ship.d.ts +3320 -0
- package/dist/adapters/prisma/generated/models/Ship.js +2 -0
- package/dist/adapters/prisma/generated/models/Ship.js.map +1 -0
- package/dist/adapters/prisma/generated/models/SignInTicket.d.ts +1222 -0
- package/dist/adapters/prisma/generated/models/SignInTicket.js +2 -0
- package/dist/adapters/prisma/generated/models/SignInTicket.js.map +1 -0
- package/dist/adapters/prisma/generated/models.d.ts +18 -0
- package/dist/adapters/prisma/generated/models.js +2 -0
- package/dist/adapters/prisma/generated/models.js.map +1 -0
- package/dist/adapters/prisma/history.d.ts +3 -0
- package/dist/adapters/prisma/history.js +289 -0
- package/dist/adapters/prisma/history.js.map +1 -0
- package/dist/adapters/prisma/identity.d.ts +10 -0
- package/dist/adapters/prisma/identity.js +213 -0
- package/dist/adapters/prisma/identity.js.map +1 -0
- package/dist/adapters/prisma/installation.d.ts +13 -0
- package/dist/adapters/prisma/installation.js +155 -0
- package/dist/adapters/prisma/installation.js.map +1 -0
- package/dist/adapters/prisma/messaging.d.ts +4 -0
- package/dist/adapters/prisma/messaging.js +156 -0
- package/dist/adapters/prisma/messaging.js.map +1 -0
- package/dist/adapters/prisma/migrate.d.ts +5 -0
- package/dist/adapters/prisma/migrate.js +40 -0
- package/dist/adapters/prisma/migrate.js.map +1 -0
- package/dist/adapters/prisma/receiver-wakeups.d.ts +26 -0
- package/dist/adapters/prisma/receiver-wakeups.js +79 -0
- package/dist/adapters/prisma/receiver-wakeups.js.map +1 -0
- package/dist/adapters/prisma/registry.d.ts +8 -0
- package/dist/adapters/prisma/registry.js +427 -0
- package/dist/adapters/prisma/registry.js.map +1 -0
- package/dist/adapters/prisma/rows.d.ts +58 -0
- package/dist/adapters/prisma/rows.js +408 -0
- package/dist/adapters/prisma/rows.js.map +1 -0
- package/dist/adapters/prisma/unit-of-work.d.ts +36 -0
- package/dist/adapters/prisma/unit-of-work.js +66 -0
- package/dist/adapters/prisma/unit-of-work.js.map +1 -0
- package/dist/adapters/rest/openapi.d.ts +12 -0
- package/dist/adapters/rest/openapi.js +62 -0
- package/dist/adapters/rest/openapi.js.map +1 -0
- package/dist/adapters/rest/rest-api.d.ts +8 -0
- package/dist/adapters/rest/rest-api.js +61 -0
- package/dist/adapters/rest/rest-api.js.map +1 -0
- package/dist/adapters/trpc/console.d.ts +150 -0
- package/dist/adapters/trpc/console.js +102 -0
- package/dist/adapters/trpc/console.js.map +1 -0
- package/dist/adapters/trpc/context.d.ts +201 -0
- package/dist/adapters/trpc/context.js +2 -0
- package/dist/adapters/trpc/context.js.map +1 -0
- package/dist/adapters/trpc/fleet.d.ts +637 -0
- package/dist/adapters/trpc/fleet.js +437 -0
- package/dist/adapters/trpc/fleet.js.map +1 -0
- package/dist/adapters/trpc/installation.d.ts +414 -0
- package/dist/adapters/trpc/installation.js +138 -0
- package/dist/adapters/trpc/installation.js.map +1 -0
- package/dist/adapters/trpc/router.d.ts +1263 -0
- package/dist/adapters/trpc/router.js +15 -0
- package/dist/adapters/trpc/router.js.map +1 -0
- package/dist/adapters/trpc/ship-contract.d.ts +107 -0
- package/dist/adapters/trpc/ship-contract.js +165 -0
- package/dist/adapters/trpc/ship-contract.js.map +1 -0
- package/dist/adapters/trpc/ship-protocol.d.ts +9 -0
- package/dist/adapters/trpc/ship-protocol.js +25 -0
- package/dist/adapters/trpc/ship-protocol.js.map +1 -0
- package/dist/adapters/trpc/ship.d.ts +209 -0
- package/dist/adapters/trpc/ship.js +214 -0
- package/dist/adapters/trpc/ship.js.map +1 -0
- package/dist/adapters/trpc/starting-prompt-text.d.ts +7 -0
- package/dist/adapters/trpc/starting-prompt-text.js +60 -0
- package/dist/adapters/trpc/starting-prompt-text.js.map +1 -0
- package/dist/adapters/trpc/system.d.ts +29 -0
- package/dist/adapters/trpc/system.js +15 -0
- package/dist/adapters/trpc/system.js.map +1 -0
- package/dist/adapters/trpc/trpc.d.ts +131 -0
- package/dist/adapters/trpc/trpc.js +350 -0
- package/dist/adapters/trpc/trpc.js.map +1 -0
- package/dist/app.d.ts +31 -0
- package/dist/app.js +80 -0
- package/dist/app.js.map +1 -0
- package/dist/bin/aeolus-core.d.ts +2 -0
- package/dist/bin/aeolus-core.js +45 -0
- package/dist/bin/aeolus-core.js.map +1 -0
- package/dist/config.d.ts +35 -0
- package/dist/config.js +74 -0
- package/dist/config.js.map +1 -0
- package/dist/domain/identity/authenticate.d.ts +46 -0
- package/dist/domain/identity/authenticate.js +18 -0
- package/dist/domain/identity/authenticate.js.map +1 -0
- package/dist/domain/identity/console-session.d.ts +54 -0
- package/dist/domain/identity/console-session.js +29 -0
- package/dist/domain/identity/console-session.js.map +1 -0
- package/dist/domain/identity/credential.d.ts +76 -0
- package/dist/domain/identity/credential.js +63 -0
- package/dist/domain/identity/credential.js.map +1 -0
- package/dist/domain/identity/dismiss-notice.d.ts +19 -0
- package/dist/domain/identity/dismiss-notice.js +23 -0
- package/dist/domain/identity/dismiss-notice.js.map +1 -0
- package/dist/domain/identity/get-guide.d.ts +7 -0
- package/dist/domain/identity/get-guide.js +5 -0
- package/dist/domain/identity/get-guide.js.map +1 -0
- package/dist/domain/identity/get-notices.d.ts +7 -0
- package/dist/domain/identity/get-notices.js +5 -0
- package/dist/domain/identity/get-notices.js.map +1 -0
- package/dist/domain/identity/guide.d.ts +24 -0
- package/dist/domain/identity/guide.js +3 -0
- package/dist/domain/identity/guide.js.map +1 -0
- package/dist/domain/identity/issue-sign-in-ticket.d.ts +38 -0
- package/dist/domain/identity/issue-sign-in-ticket.js +39 -0
- package/dist/domain/identity/issue-sign-in-ticket.js.map +1 -0
- package/dist/domain/identity/notice.d.ts +16 -0
- package/dist/domain/identity/notice.js +12 -0
- package/dist/domain/identity/notice.js.map +1 -0
- package/dist/domain/identity/operator-account.d.ts +28 -0
- package/dist/domain/identity/operator-account.js +21 -0
- package/dist/domain/identity/operator-account.js.map +1 -0
- package/dist/domain/identity/ports.d.ts +193 -0
- package/dist/domain/identity/ports.js +2 -0
- package/dist/domain/identity/ports.js.map +1 -0
- package/dist/domain/identity/public.d.ts +3 -0
- package/dist/domain/identity/public.js +5 -0
- package/dist/domain/identity/public.js.map +1 -0
- package/dist/domain/identity/read-account.d.ts +35 -0
- package/dist/domain/identity/read-account.js +27 -0
- package/dist/domain/identity/read-account.js.map +1 -0
- package/dist/domain/identity/read-guide.d.ts +18 -0
- package/dist/domain/identity/read-guide.js +21 -0
- package/dist/domain/identity/read-guide.js.map +1 -0
- package/dist/domain/identity/read-notices.d.ts +13 -0
- package/dist/domain/identity/read-notices.js +17 -0
- package/dist/domain/identity/read-notices.js.map +1 -0
- package/dist/domain/identity/record-guide-progress.d.ts +19 -0
- package/dist/domain/identity/record-guide-progress.js +24 -0
- package/dist/domain/identity/record-guide-progress.js.map +1 -0
- package/dist/domain/identity/redeem-sign-in-ticket.d.ts +34 -0
- package/dist/domain/identity/redeem-sign-in-ticket.js +25 -0
- package/dist/domain/identity/redeem-sign-in-ticket.js.map +1 -0
- package/dist/domain/identity/reset-operator-password.d.ts +34 -0
- package/dist/domain/identity/reset-operator-password.js +55 -0
- package/dist/domain/identity/reset-operator-password.js.map +1 -0
- package/dist/domain/identity/set-guide.d.ts +13 -0
- package/dist/domain/identity/set-guide.js +12 -0
- package/dist/domain/identity/set-guide.js.map +1 -0
- package/dist/domain/identity/set-notices.d.ts +13 -0
- package/dist/domain/identity/set-notices.js +12 -0
- package/dist/domain/identity/set-notices.js.map +1 -0
- package/dist/domain/identity/set-theme.d.ts +21 -0
- package/dist/domain/identity/set-theme.js +19 -0
- package/dist/domain/identity/set-theme.js.map +1 -0
- package/dist/domain/identity/sign-in-ticket.d.ts +21 -0
- package/dist/domain/identity/sign-in-ticket.js +5 -0
- package/dist/domain/identity/sign-in-ticket.js.map +1 -0
- package/dist/domain/identity/sign-in.d.ts +51 -0
- package/dist/domain/identity/sign-in.js +43 -0
- package/dist/domain/identity/sign-in.js.map +1 -0
- package/dist/domain/identity/sign-out.d.ts +20 -0
- package/dist/domain/identity/sign-out.js +32 -0
- package/dist/domain/identity/sign-out.js.map +1 -0
- package/dist/domain/identity/start-console-session.d.ts +27 -0
- package/dist/domain/identity/start-console-session.js +54 -0
- package/dist/domain/identity/start-console-session.js.map +1 -0
- package/dist/domain/identity/start-viewer-session.d.ts +29 -0
- package/dist/domain/identity/start-viewer-session.js +42 -0
- package/dist/domain/identity/start-viewer-session.js.map +1 -0
- package/dist/domain/messaging/acknowledge-delivery.d.ts +30 -0
- package/dist/domain/messaging/acknowledge-delivery.js +31 -0
- package/dist/domain/messaging/acknowledge-delivery.js.map +1 -0
- package/dist/domain/messaging/answer-ping.d.ts +33 -0
- package/dist/domain/messaging/answer-ping.js +37 -0
- package/dist/domain/messaging/answer-ping.js.map +1 -0
- package/dist/domain/messaging/check-inbox.d.ts +33 -0
- package/dist/domain/messaging/check-inbox.js +61 -0
- package/dist/domain/messaging/check-inbox.js.map +1 -0
- package/dist/domain/messaging/content-type.d.ts +9 -0
- package/dist/domain/messaging/content-type.js +18 -0
- package/dist/domain/messaging/content-type.js.map +1 -0
- package/dist/domain/messaging/daily-message-limit.d.ts +19 -0
- package/dist/domain/messaging/daily-message-limit.js +24 -0
- package/dist/domain/messaging/daily-message-limit.js.map +1 -0
- package/dist/domain/messaging/delivery.d.ts +116 -0
- package/dist/domain/messaging/delivery.js +201 -0
- package/dist/domain/messaging/delivery.js.map +1 -0
- package/dist/domain/messaging/dismiss-delivery.d.ts +28 -0
- package/dist/domain/messaging/dismiss-delivery.js +29 -0
- package/dist/domain/messaging/dismiss-delivery.js.map +1 -0
- package/dist/domain/messaging/inbox-wait.d.ts +8 -0
- package/dist/domain/messaging/inbox-wait.js +19 -0
- package/dist/domain/messaging/inbox-wait.js.map +1 -0
- package/dist/domain/messaging/mark-done.d.ts +45 -0
- package/dist/domain/messaging/mark-done.js +49 -0
- package/dist/domain/messaging/mark-done.js.map +1 -0
- package/dist/domain/messaging/mark-read.d.ts +27 -0
- package/dist/domain/messaging/mark-read.js +34 -0
- package/dist/domain/messaging/mark-read.js.map +1 -0
- package/dist/domain/messaging/message.d.ts +104 -0
- package/dist/domain/messaging/message.js +84 -0
- package/dist/domain/messaging/message.js.map +1 -0
- package/dist/domain/messaging/payload.d.ts +9 -0
- package/dist/domain/messaging/payload.js +16 -0
- package/dist/domain/messaging/payload.js.map +1 -0
- package/dist/domain/messaging/ping-ship.d.ts +38 -0
- package/dist/domain/messaging/ping-ship.js +42 -0
- package/dist/domain/messaging/ping-ship.js.map +1 -0
- package/dist/domain/messaging/ports.d.ts +116 -0
- package/dist/domain/messaging/ports.js +2 -0
- package/dist/domain/messaging/ports.js.map +1 -0
- package/dist/domain/messaging/receive-deliveries.d.ts +68 -0
- package/dist/domain/messaging/receive-deliveries.js +119 -0
- package/dist/domain/messaging/receive-deliveries.js.map +1 -0
- package/dist/domain/messaging/receive-max.d.ts +8 -0
- package/dist/domain/messaging/receive-max.js +17 -0
- package/dist/domain/messaging/receive-max.js.map +1 -0
- package/dist/domain/messaging/reply-to-message.d.ts +35 -0
- package/dist/domain/messaging/reply-to-message.js +49 -0
- package/dist/domain/messaging/reply-to-message.js.map +1 -0
- package/dist/domain/messaging/resend-delivery.d.ts +48 -0
- package/dist/domain/messaging/resend-delivery.js +97 -0
- package/dist/domain/messaging/resend-delivery.js.map +1 -0
- package/dist/domain/messaging/send-message.d.ts +88 -0
- package/dist/domain/messaging/send-message.js +115 -0
- package/dist/domain/messaging/send-message.js.map +1 -0
- package/dist/domain/messaging/send-request.d.ts +16 -0
- package/dist/domain/messaging/send-request.js +18 -0
- package/dist/domain/messaging/send-request.js.map +1 -0
- package/dist/domain/registry/applied-limits.d.ts +15 -0
- package/dist/domain/registry/applied-limits.js +15 -0
- package/dist/domain/registry/applied-limits.js.map +1 -0
- package/dist/domain/registry/assign-crew.d.ts +31 -0
- package/dist/domain/registry/assign-crew.js +35 -0
- package/dist/domain/registry/assign-crew.js.map +1 -0
- package/dist/domain/registry/claim-ship.d.ts +49 -0
- package/dist/domain/registry/claim-ship.js +59 -0
- package/dist/domain/registry/claim-ship.js.map +1 -0
- package/dist/domain/registry/commission-ship.d.ts +54 -0
- package/dist/domain/registry/commission-ship.js +70 -0
- package/dist/domain/registry/commission-ship.js.map +1 -0
- package/dist/domain/registry/confirm-crew-release.d.ts +28 -0
- package/dist/domain/registry/confirm-crew-release.js +28 -0
- package/dist/domain/registry/confirm-crew-release.js.map +1 -0
- package/dist/domain/registry/create-fleet.d.ts +39 -0
- package/dist/domain/registry/create-fleet.js +56 -0
- package/dist/domain/registry/create-fleet.js.map +1 -0
- package/dist/domain/registry/crew-request.d.ts +148 -0
- package/dist/domain/registry/crew-request.js +175 -0
- package/dist/domain/registry/crew-request.js.map +1 -0
- package/dist/domain/registry/delete-fleet.d.ts +46 -0
- package/dist/domain/registry/delete-fleet.js +34 -0
- package/dist/domain/registry/delete-fleet.js.map +1 -0
- package/dist/domain/registry/deregister.d.ts +32 -0
- package/dist/domain/registry/deregister.js +38 -0
- package/dist/domain/registry/deregister.js.map +1 -0
- package/dist/domain/registry/explain-crew-request.d.ts +30 -0
- package/dist/domain/registry/explain-crew-request.js +31 -0
- package/dist/domain/registry/explain-crew-request.js.map +1 -0
- package/dist/domain/registry/fleet.d.ts +12 -0
- package/dist/domain/registry/fleet.js +12 -0
- package/dist/domain/registry/fleet.js.map +1 -0
- package/dist/domain/registry/found-fleet.d.ts +32 -0
- package/dist/domain/registry/found-fleet.js +43 -0
- package/dist/domain/registry/found-fleet.js.map +1 -0
- package/dist/domain/registry/get-fleet-limits.d.ts +17 -0
- package/dist/domain/registry/get-fleet-limits.js +14 -0
- package/dist/domain/registry/get-fleet-limits.js.map +1 -0
- package/dist/domain/registry/get-installation-fleet.d.ts +15 -0
- package/dist/domain/registry/get-installation-fleet.js +12 -0
- package/dist/domain/registry/get-installation-fleet.js.map +1 -0
- package/dist/domain/registry/get-installation-settings.d.ts +7 -0
- package/dist/domain/registry/get-installation-settings.js +5 -0
- package/dist/domain/registry/get-installation-settings.js.map +1 -0
- package/dist/domain/registry/get-ship.d.ts +34 -0
- package/dist/domain/registry/get-ship.js +36 -0
- package/dist/domain/registry/get-ship.js.map +1 -0
- package/dist/domain/registry/get-starting-prompt.d.ts +24 -0
- package/dist/domain/registry/get-starting-prompt.js +46 -0
- package/dist/domain/registry/get-starting-prompt.js.map +1 -0
- package/dist/domain/registry/initialise-fleet.d.ts +28 -0
- package/dist/domain/registry/initialise-fleet.js +39 -0
- package/dist/domain/registry/initialise-fleet.js.map +1 -0
- package/dist/domain/registry/installation-fleet.d.ts +36 -0
- package/dist/domain/registry/installation-fleet.js +22 -0
- package/dist/domain/registry/installation-fleet.js.map +1 -0
- package/dist/domain/registry/installation-request.d.ts +23 -0
- package/dist/domain/registry/installation-request.js +5 -0
- package/dist/domain/registry/installation-request.js.map +1 -0
- package/dist/domain/registry/lease.d.ts +51 -0
- package/dist/domain/registry/lease.js +39 -0
- package/dist/domain/registry/lease.js.map +1 -0
- package/dist/domain/registry/leases.d.ts +66 -0
- package/dist/domain/registry/leases.js +80 -0
- package/dist/domain/registry/leases.js.map +1 -0
- package/dist/domain/registry/limits.d.ts +50 -0
- package/dist/domain/registry/limits.js +24 -0
- package/dist/domain/registry/limits.js.map +1 -0
- package/dist/domain/registry/list-fleet.d.ts +70 -0
- package/dist/domain/registry/list-fleet.js +47 -0
- package/dist/domain/registry/list-fleet.js.map +1 -0
- package/dist/domain/registry/list-fleets.d.ts +11 -0
- package/dist/domain/registry/list-fleets.js +9 -0
- package/dist/domain/registry/list-fleets.js.map +1 -0
- package/dist/domain/registry/list-installation-fleets.d.ts +15 -0
- package/dist/domain/registry/list-installation-fleets.js +15 -0
- package/dist/domain/registry/list-installation-fleets.js.map +1 -0
- package/dist/domain/registry/ping-status.d.ts +17 -0
- package/dist/domain/registry/ping-status.js +28 -0
- package/dist/domain/registry/ping-status.js.map +1 -0
- package/dist/domain/registry/pingable-ship.d.ts +22 -0
- package/dist/domain/registry/pingable-ship.js +21 -0
- package/dist/domain/registry/pingable-ship.js.map +1 -0
- package/dist/domain/registry/ports.d.ts +318 -0
- package/dist/domain/registry/ports.js +2 -0
- package/dist/domain/registry/ports.js.map +1 -0
- package/dist/domain/registry/public.d.ts +8 -0
- package/dist/domain/registry/public.js +10 -0
- package/dist/domain/registry/public.js.map +1 -0
- package/dist/domain/registry/read-assigned-crew-requests.d.ts +14 -0
- package/dist/domain/registry/read-assigned-crew-requests.js +15 -0
- package/dist/domain/registry/read-assigned-crew-requests.js.map +1 -0
- package/dist/domain/registry/recrew-ship.d.ts +33 -0
- package/dist/domain/registry/recrew-ship.js +34 -0
- package/dist/domain/registry/recrew-ship.js.map +1 -0
- package/dist/domain/registry/release-ship.d.ts +38 -0
- package/dist/domain/registry/release-ship.js +47 -0
- package/dist/domain/registry/release-ship.js.map +1 -0
- package/dist/domain/registry/remove-crew-request.d.ts +28 -0
- package/dist/domain/registry/remove-crew-request.js +36 -0
- package/dist/domain/registry/remove-crew-request.js.map +1 -0
- package/dist/domain/registry/rename-ship.d.ts +30 -0
- package/dist/domain/registry/rename-ship.js +39 -0
- package/dist/domain/registry/rename-ship.js.map +1 -0
- package/dist/domain/registry/report-crew-status.d.ts +29 -0
- package/dist/domain/registry/report-crew-status.js +30 -0
- package/dist/domain/registry/report-crew-status.js.map +1 -0
- package/dist/domain/registry/report-details.d.ts +18 -0
- package/dist/domain/registry/report-details.js +41 -0
- package/dist/domain/registry/report-details.js.map +1 -0
- package/dist/domain/registry/report-log.d.ts +21 -0
- package/dist/domain/registry/report-log.js +16 -0
- package/dist/domain/registry/report-log.js.map +1 -0
- package/dist/domain/registry/report.d.ts +30 -0
- package/dist/domain/registry/report.js +30 -0
- package/dist/domain/registry/report.js.map +1 -0
- package/dist/domain/registry/request-crew.d.ts +32 -0
- package/dist/domain/registry/request-crew.js +29 -0
- package/dist/domain/registry/request-crew.js.map +1 -0
- package/dist/domain/registry/resolve-selector.d.ts +25 -0
- package/dist/domain/registry/resolve-selector.js +32 -0
- package/dist/domain/registry/resolve-selector.js.map +1 -0
- package/dist/domain/registry/retire-ship.d.ts +42 -0
- package/dist/domain/registry/retire-ship.js +68 -0
- package/dist/domain/registry/retire-ship.js.map +1 -0
- package/dist/domain/registry/set-fleet-limits.d.ts +30 -0
- package/dist/domain/registry/set-fleet-limits.js +54 -0
- package/dist/domain/registry/set-fleet-limits.js.map +1 -0
- package/dist/domain/registry/set-installation-settings.d.ts +18 -0
- package/dist/domain/registry/set-installation-settings.js +31 -0
- package/dist/domain/registry/set-installation-settings.js.map +1 -0
- package/dist/domain/registry/ship-handle.d.ts +5 -0
- package/dist/domain/registry/ship-handle.js +20 -0
- package/dist/domain/registry/ship-handle.js.map +1 -0
- package/dist/domain/registry/ship-note.d.ts +7 -0
- package/dist/domain/registry/ship-note.js +15 -0
- package/dist/domain/registry/ship-note.js.map +1 -0
- package/dist/domain/registry/ship-report.d.ts +42 -0
- package/dist/domain/registry/ship-report.js +93 -0
- package/dist/domain/registry/ship-report.js.map +1 -0
- package/dist/domain/registry/ship.d.ts +190 -0
- package/dist/domain/registry/ship.js +334 -0
- package/dist/domain/registry/ship.js.map +1 -0
- package/dist/domain/registry/ships.d.ts +25 -0
- package/dist/domain/registry/ships.js +22 -0
- package/dist/domain/registry/ships.js.map +1 -0
- package/dist/domain/registry/starting-prompt.d.ts +32 -0
- package/dist/domain/registry/starting-prompt.js +22 -0
- package/dist/domain/registry/starting-prompt.js.map +1 -0
- package/dist/domain/registry/whoami.d.ts +20 -0
- package/dist/domain/registry/whoami.js +15 -0
- package/dist/domain/registry/whoami.js.map +1 -0
- package/dist/domain/shared/caller.d.ts +25 -0
- package/dist/domain/shared/caller.js +8 -0
- package/dist/domain/shared/caller.js.map +1 -0
- package/dist/domain/shared/clock.d.ts +4 -0
- package/dist/domain/shared/clock.js +2 -0
- package/dist/domain/shared/clock.js.map +1 -0
- package/dist/domain/shared/errors.d.ts +13 -0
- package/dist/domain/shared/errors.js +6 -0
- package/dist/domain/shared/errors.js.map +1 -0
- package/dist/domain/shared/events.d.ts +75 -0
- package/dist/domain/shared/events.js +9 -0
- package/dist/domain/shared/events.js.map +1 -0
- package/dist/domain/shared/follow-fleet.d.ts +32 -0
- package/dist/domain/shared/follow-fleet.js +65 -0
- package/dist/domain/shared/follow-fleet.js.map +1 -0
- package/dist/domain/shared/history.d.ts +124 -0
- package/dist/domain/shared/history.js +16 -0
- package/dist/domain/shared/history.js.map +1 -0
- package/dist/domain/shared/idempotency-key.d.ts +8 -0
- package/dist/domain/shared/idempotency-key.js +14 -0
- package/dist/domain/shared/idempotency-key.js.map +1 -0
- package/dist/domain/shared/notifier.d.ts +17 -0
- package/dist/domain/shared/notifier.js +2 -0
- package/dist/domain/shared/notifier.js.map +1 -0
- package/dist/domain/shared/ping.d.ts +18 -0
- package/dist/domain/shared/ping.js +8 -0
- package/dist/domain/shared/ping.js.map +1 -0
- package/dist/domain/shared/read-fleet-events.d.ts +29 -0
- package/dist/domain/shared/read-fleet-events.js +25 -0
- package/dist/domain/shared/read-fleet-events.js.map +1 -0
- package/dist/domain/shared/read-fleet-limits.d.ts +39 -0
- package/dist/domain/shared/read-fleet-limits.js +24 -0
- package/dist/domain/shared/read-fleet-limits.js.map +1 -0
- package/dist/domain/shared/read-inbox.d.ts +20 -0
- package/dist/domain/shared/read-inbox.js +16 -0
- package/dist/domain/shared/read-inbox.js.map +1 -0
- package/dist/domain/shared/read-message.d.ts +21 -0
- package/dist/domain/shared/read-message.js +18 -0
- package/dist/domain/shared/read-message.js.map +1 -0
- package/dist/domain/shared/read-needs-attention.d.ts +12 -0
- package/dist/domain/shared/read-needs-attention.js +10 -0
- package/dist/domain/shared/read-needs-attention.js.map +1 -0
- package/dist/domain/shared/read-ship-messages.d.ts +28 -0
- package/dist/domain/shared/read-ship-messages.js +30 -0
- package/dist/domain/shared/read-ship-messages.js.map +1 -0
- package/dist/domain/shared/read-ship-timeline.d.ts +18 -0
- package/dist/domain/shared/read-ship-timeline.js +16 -0
- package/dist/domain/shared/read-ship-timeline.js.map +1 -0
- package/dist/domain/shared/result.d.ts +16 -0
- package/dist/domain/shared/result.js +7 -0
- package/dist/domain/shared/result.js.map +1 -0
- package/dist/domain/shared/secrets.d.ts +26 -0
- package/dist/domain/shared/secrets.js +2 -0
- package/dist/domain/shared/secrets.js.map +1 -0
- package/dist/domain/shared/selector.d.ts +29 -0
- package/dist/domain/shared/selector.js +2 -0
- package/dist/domain/shared/selector.js.map +1 -0
- package/dist/domain/shared/unit-of-work.d.ts +13 -0
- package/dist/domain/shared/unit-of-work.js +2 -0
- package/dist/domain/shared/unit-of-work.js.map +1 -0
- package/dist/domain/shared/utc-day.d.ts +4 -0
- package/dist/domain/shared/utc-day.js +9 -0
- package/dist/domain/shared/utc-day.js.map +1 -0
- package/dist/index.d.ts +1 -0
- package/dist/index.js +2 -0
- package/dist/index.js.map +1 -0
- package/dist/start.d.ts +6 -0
- package/dist/start.js +29 -0
- package/dist/start.js.map +1 -0
- package/dist/wiring.d.ts +158 -0
- package/dist/wiring.js +185 -0
- package/dist/wiring.js.map +1 -0
- package/package.json +58 -3
- package/prisma.config.ts +18 -0
- package/src/adapters/prisma/migrations/20260929124818_init/migration.sql +201 -0
- package/src/adapters/prisma/migrations/20260929160000_fleet_argo_console_session/migration.sql +130 -0
- package/src/adapters/prisma/migrations/20260929220017_operator_login/migration.sql +27 -0
- package/src/adapters/prisma/migrations/20260930090000_crew_token/migration.sql +5 -0
- package/src/adapters/prisma/migrations/20260930120000_send/migration.sql +30 -0
- package/src/adapters/prisma/migrations/20260930150000_receive/migration.sql +24 -0
- package/src/adapters/prisma/migrations/20261001010000_event_seq/migration.sql +34 -0
- package/src/adapters/prisma/migrations/20261001020000_console_session_end_reason/migration.sql +14 -0
- package/src/adapters/prisma/migrations/20261001030000_account_theme_session_device/migration.sql +8 -0
- package/src/adapters/prisma/migrations/20261001040000_lease_last_seen/migration.sql +2 -0
- package/src/adapters/prisma/migrations/20261002190000_lease_report/migration.sql +7 -0
- package/src/adapters/prisma/migrations/20261003140000_commission_key/migration.sql +7 -0
- package/src/adapters/prisma/migrations/20261003200000_message_model/migration.sql +5 -0
- package/src/adapters/prisma/migrations/20261003201000_lease_harness/migration.sql +2 -0
- package/src/adapters/prisma/migrations/20261004120000_operator_without_password/migration.sql +2 -0
- package/src/adapters/prisma/migrations/20261004121000_installation_requests/migration.sql +21 -0
- package/src/adapters/prisma/migrations/20261004122000_events_deleted_with_their_fleet/migration.sql +11 -0
- package/src/adapters/prisma/migrations/20261004130000_sign_in_tickets/migration.sql +16 -0
- package/src/adapters/prisma/migrations/20261004140000_fleet_limits/migration.sql +6 -0
- package/src/adapters/prisma/migrations/20261004141000_installation_settings/migration.sql +12 -0
- package/src/adapters/prisma/migrations/20261005090000_viewer_ship/migration.sql +2 -0
- package/src/adapters/prisma/migrations/20261005100000_viewer_sessions/migration.sql +20 -0
- package/src/adapters/prisma/migrations/20261005110000_notices/migration.sql +37 -0
- package/src/adapters/prisma/migrations/20261005120000_guide/migration.sql +34 -0
- package/src/adapters/prisma/migrations/20261006100000_fleet_crew_scope/migration.sql +8 -0
- package/src/adapters/prisma/migrations/20261006140000_lease_report_details/migration.sql +3 -0
- package/src/adapters/prisma/migrations/20261006160000_crew_requests/migration.sql +20 -0
- package/src/adapters/prisma/migrations/20261006180000_crew_scopes/migration.sql +9 -0
- package/src/adapters/prisma/migrations/20261006190000_crew_assignment/migration.sql +13 -0
- package/src/adapters/prisma/migrations/20261006200000_crew_request_reason/migration.sql +3 -0
- package/src/adapters/prisma/migrations/20261007020000_broad_crewing_scope_retired/migration.sql +8 -0
- package/src/adapters/prisma/migrations/migration_lock.toml +3 -0
- package/src/adapters/prisma/schema.prisma +558 -0
|
@@ -0,0 +1,2211 @@
|
|
|
1
|
+
import type * as runtime from "@prisma/client/runtime/client";
|
|
2
|
+
import type * as $Enums from "../enums.js";
|
|
3
|
+
import type * as Prisma from "../internal/prismaNamespace.js";
|
|
4
|
+
/**
|
|
5
|
+
* Model Delivery
|
|
6
|
+
* One message to one resolved recipient: a ship or a type. Ids start with dlv_.
|
|
7
|
+
* A receive claims it for the ship and the lease of the crew receiving: set while it
|
|
8
|
+
* is in flight, kept once acknowledged, none while it is pending. Attempts count the
|
|
9
|
+
* claims; the fifth makes it undeliverable.
|
|
10
|
+
* The read date is set when the operator opens a message to argo.
|
|
11
|
+
*/
|
|
12
|
+
export type DeliveryModel = runtime.Types.Result.DefaultSelection<Prisma.$DeliveryPayload>;
|
|
13
|
+
export type AggregateDelivery = {
|
|
14
|
+
_count: DeliveryCountAggregateOutputType | null;
|
|
15
|
+
_avg: DeliveryAvgAggregateOutputType | null;
|
|
16
|
+
_sum: DeliverySumAggregateOutputType | null;
|
|
17
|
+
_min: DeliveryMinAggregateOutputType | null;
|
|
18
|
+
_max: DeliveryMaxAggregateOutputType | null;
|
|
19
|
+
};
|
|
20
|
+
export type DeliveryAvgAggregateOutputType = {
|
|
21
|
+
attempts: number | null;
|
|
22
|
+
};
|
|
23
|
+
export type DeliverySumAggregateOutputType = {
|
|
24
|
+
attempts: number | null;
|
|
25
|
+
};
|
|
26
|
+
export type DeliveryMinAggregateOutputType = {
|
|
27
|
+
id: string | null;
|
|
28
|
+
fleetId: string | null;
|
|
29
|
+
messageId: string | null;
|
|
30
|
+
recipientShipId: string | null;
|
|
31
|
+
recipientType: string | null;
|
|
32
|
+
state: $Enums.DeliveryState | null;
|
|
33
|
+
claimedByShipId: string | null;
|
|
34
|
+
claimedByLeaseId: string | null;
|
|
35
|
+
attempts: number | null;
|
|
36
|
+
readAt: Date | null;
|
|
37
|
+
createdAt: Date | null;
|
|
38
|
+
};
|
|
39
|
+
export type DeliveryMaxAggregateOutputType = {
|
|
40
|
+
id: string | null;
|
|
41
|
+
fleetId: string | null;
|
|
42
|
+
messageId: string | null;
|
|
43
|
+
recipientShipId: string | null;
|
|
44
|
+
recipientType: string | null;
|
|
45
|
+
state: $Enums.DeliveryState | null;
|
|
46
|
+
claimedByShipId: string | null;
|
|
47
|
+
claimedByLeaseId: string | null;
|
|
48
|
+
attempts: number | null;
|
|
49
|
+
readAt: Date | null;
|
|
50
|
+
createdAt: Date | null;
|
|
51
|
+
};
|
|
52
|
+
export type DeliveryCountAggregateOutputType = {
|
|
53
|
+
id: number;
|
|
54
|
+
fleetId: number;
|
|
55
|
+
messageId: number;
|
|
56
|
+
recipientShipId: number;
|
|
57
|
+
recipientType: number;
|
|
58
|
+
state: number;
|
|
59
|
+
claimedByShipId: number;
|
|
60
|
+
claimedByLeaseId: number;
|
|
61
|
+
attempts: number;
|
|
62
|
+
readAt: number;
|
|
63
|
+
createdAt: number;
|
|
64
|
+
_all: number;
|
|
65
|
+
};
|
|
66
|
+
export type DeliveryAvgAggregateInputType = {
|
|
67
|
+
attempts?: true;
|
|
68
|
+
};
|
|
69
|
+
export type DeliverySumAggregateInputType = {
|
|
70
|
+
attempts?: true;
|
|
71
|
+
};
|
|
72
|
+
export type DeliveryMinAggregateInputType = {
|
|
73
|
+
id?: true;
|
|
74
|
+
fleetId?: true;
|
|
75
|
+
messageId?: true;
|
|
76
|
+
recipientShipId?: true;
|
|
77
|
+
recipientType?: true;
|
|
78
|
+
state?: true;
|
|
79
|
+
claimedByShipId?: true;
|
|
80
|
+
claimedByLeaseId?: true;
|
|
81
|
+
attempts?: true;
|
|
82
|
+
readAt?: true;
|
|
83
|
+
createdAt?: true;
|
|
84
|
+
};
|
|
85
|
+
export type DeliveryMaxAggregateInputType = {
|
|
86
|
+
id?: true;
|
|
87
|
+
fleetId?: true;
|
|
88
|
+
messageId?: true;
|
|
89
|
+
recipientShipId?: true;
|
|
90
|
+
recipientType?: true;
|
|
91
|
+
state?: true;
|
|
92
|
+
claimedByShipId?: true;
|
|
93
|
+
claimedByLeaseId?: true;
|
|
94
|
+
attempts?: true;
|
|
95
|
+
readAt?: true;
|
|
96
|
+
createdAt?: true;
|
|
97
|
+
};
|
|
98
|
+
export type DeliveryCountAggregateInputType = {
|
|
99
|
+
id?: true;
|
|
100
|
+
fleetId?: true;
|
|
101
|
+
messageId?: true;
|
|
102
|
+
recipientShipId?: true;
|
|
103
|
+
recipientType?: true;
|
|
104
|
+
state?: true;
|
|
105
|
+
claimedByShipId?: true;
|
|
106
|
+
claimedByLeaseId?: true;
|
|
107
|
+
attempts?: true;
|
|
108
|
+
readAt?: true;
|
|
109
|
+
createdAt?: true;
|
|
110
|
+
_all?: true;
|
|
111
|
+
};
|
|
112
|
+
export type DeliveryAggregateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
113
|
+
/**
|
|
114
|
+
* Filter which Delivery to aggregate.
|
|
115
|
+
*/
|
|
116
|
+
where?: Prisma.DeliveryWhereInput;
|
|
117
|
+
/**
|
|
118
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
|
|
119
|
+
*
|
|
120
|
+
* Determine the order of Deliveries to fetch.
|
|
121
|
+
*/
|
|
122
|
+
orderBy?: Prisma.DeliveryOrderByWithRelationInput | Prisma.DeliveryOrderByWithRelationInput[];
|
|
123
|
+
/**
|
|
124
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
|
|
125
|
+
*
|
|
126
|
+
* Sets the start position
|
|
127
|
+
*/
|
|
128
|
+
cursor?: Prisma.DeliveryWhereUniqueInput;
|
|
129
|
+
/**
|
|
130
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
131
|
+
*
|
|
132
|
+
* Take `±n` Deliveries from the position of the cursor.
|
|
133
|
+
*/
|
|
134
|
+
take?: number;
|
|
135
|
+
/**
|
|
136
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
137
|
+
*
|
|
138
|
+
* Skip the first `n` Deliveries.
|
|
139
|
+
*/
|
|
140
|
+
skip?: number;
|
|
141
|
+
/**
|
|
142
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
|
|
143
|
+
*
|
|
144
|
+
* Count returned Deliveries
|
|
145
|
+
**/
|
|
146
|
+
_count?: true | DeliveryCountAggregateInputType;
|
|
147
|
+
/**
|
|
148
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
|
|
149
|
+
*
|
|
150
|
+
* Select which fields to average
|
|
151
|
+
**/
|
|
152
|
+
_avg?: DeliveryAvgAggregateInputType;
|
|
153
|
+
/**
|
|
154
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
|
|
155
|
+
*
|
|
156
|
+
* Select which fields to sum
|
|
157
|
+
**/
|
|
158
|
+
_sum?: DeliverySumAggregateInputType;
|
|
159
|
+
/**
|
|
160
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
|
|
161
|
+
*
|
|
162
|
+
* Select which fields to find the minimum value
|
|
163
|
+
**/
|
|
164
|
+
_min?: DeliveryMinAggregateInputType;
|
|
165
|
+
/**
|
|
166
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
|
|
167
|
+
*
|
|
168
|
+
* Select which fields to find the maximum value
|
|
169
|
+
**/
|
|
170
|
+
_max?: DeliveryMaxAggregateInputType;
|
|
171
|
+
};
|
|
172
|
+
export type GetDeliveryAggregateType<T extends DeliveryAggregateArgs> = {
|
|
173
|
+
[P in keyof T & keyof AggregateDelivery]: P extends '_count' | 'count' ? T[P] extends true ? number : Prisma.GetScalarType<T[P], AggregateDelivery[P]> : Prisma.GetScalarType<T[P], AggregateDelivery[P]>;
|
|
174
|
+
};
|
|
175
|
+
export type DeliveryGroupByArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
176
|
+
where?: Prisma.DeliveryWhereInput;
|
|
177
|
+
orderBy?: Prisma.DeliveryOrderByWithAggregationInput | Prisma.DeliveryOrderByWithAggregationInput[];
|
|
178
|
+
by: Prisma.DeliveryScalarFieldEnum[] | Prisma.DeliveryScalarFieldEnum;
|
|
179
|
+
having?: Prisma.DeliveryScalarWhereWithAggregatesInput;
|
|
180
|
+
take?: number;
|
|
181
|
+
skip?: number;
|
|
182
|
+
_count?: DeliveryCountAggregateInputType | true;
|
|
183
|
+
_avg?: DeliveryAvgAggregateInputType;
|
|
184
|
+
_sum?: DeliverySumAggregateInputType;
|
|
185
|
+
_min?: DeliveryMinAggregateInputType;
|
|
186
|
+
_max?: DeliveryMaxAggregateInputType;
|
|
187
|
+
};
|
|
188
|
+
export type DeliveryGroupByOutputType = {
|
|
189
|
+
id: string;
|
|
190
|
+
fleetId: string;
|
|
191
|
+
messageId: string;
|
|
192
|
+
recipientShipId: string | null;
|
|
193
|
+
recipientType: string | null;
|
|
194
|
+
state: $Enums.DeliveryState;
|
|
195
|
+
claimedByShipId: string | null;
|
|
196
|
+
claimedByLeaseId: string | null;
|
|
197
|
+
attempts: number;
|
|
198
|
+
readAt: Date | null;
|
|
199
|
+
createdAt: Date;
|
|
200
|
+
_count: DeliveryCountAggregateOutputType | null;
|
|
201
|
+
_avg: DeliveryAvgAggregateOutputType | null;
|
|
202
|
+
_sum: DeliverySumAggregateOutputType | null;
|
|
203
|
+
_min: DeliveryMinAggregateOutputType | null;
|
|
204
|
+
_max: DeliveryMaxAggregateOutputType | null;
|
|
205
|
+
};
|
|
206
|
+
export type GetDeliveryGroupByPayload<T extends DeliveryGroupByArgs> = Prisma.PrismaPromise<Array<Prisma.PickEnumerable<DeliveryGroupByOutputType, T['by']> & {
|
|
207
|
+
[P in ((keyof T) & (keyof DeliveryGroupByOutputType))]: P extends '_count' ? T[P] extends boolean ? number : Prisma.GetScalarType<T[P], DeliveryGroupByOutputType[P]> : Prisma.GetScalarType<T[P], DeliveryGroupByOutputType[P]>;
|
|
208
|
+
}>>;
|
|
209
|
+
export type DeliveryWhereInput = {
|
|
210
|
+
AND?: Prisma.DeliveryWhereInput | Prisma.DeliveryWhereInput[];
|
|
211
|
+
OR?: Prisma.DeliveryWhereInput[];
|
|
212
|
+
NOT?: Prisma.DeliveryWhereInput | Prisma.DeliveryWhereInput[];
|
|
213
|
+
id?: Prisma.StringFilter<"Delivery"> | string;
|
|
214
|
+
fleetId?: Prisma.StringFilter<"Delivery"> | string;
|
|
215
|
+
messageId?: Prisma.StringFilter<"Delivery"> | string;
|
|
216
|
+
recipientShipId?: Prisma.StringNullableFilter<"Delivery"> | string | null;
|
|
217
|
+
recipientType?: Prisma.StringNullableFilter<"Delivery"> | string | null;
|
|
218
|
+
state?: Prisma.EnumDeliveryStateFilter<"Delivery"> | $Enums.DeliveryState;
|
|
219
|
+
claimedByShipId?: Prisma.StringNullableFilter<"Delivery"> | string | null;
|
|
220
|
+
claimedByLeaseId?: Prisma.StringNullableFilter<"Delivery"> | string | null;
|
|
221
|
+
attempts?: Prisma.IntFilter<"Delivery"> | number;
|
|
222
|
+
readAt?: Prisma.DateTimeNullableFilter<"Delivery"> | Date | string | null;
|
|
223
|
+
createdAt?: Prisma.DateTimeFilter<"Delivery"> | Date | string;
|
|
224
|
+
fleet?: Prisma.XOR<Prisma.FleetScalarRelationFilter, Prisma.FleetWhereInput>;
|
|
225
|
+
message?: Prisma.XOR<Prisma.MessageScalarRelationFilter, Prisma.MessageWhereInput>;
|
|
226
|
+
recipientShip?: Prisma.XOR<Prisma.ShipNullableScalarRelationFilter, Prisma.ShipWhereInput> | null;
|
|
227
|
+
claimedByShip?: Prisma.XOR<Prisma.ShipNullableScalarRelationFilter, Prisma.ShipWhereInput> | null;
|
|
228
|
+
claimedByLease?: Prisma.XOR<Prisma.LeaseNullableScalarRelationFilter, Prisma.LeaseWhereInput> | null;
|
|
229
|
+
events?: Prisma.EventListRelationFilter;
|
|
230
|
+
};
|
|
231
|
+
export type DeliveryOrderByWithRelationInput = {
|
|
232
|
+
id?: Prisma.SortOrder;
|
|
233
|
+
fleetId?: Prisma.SortOrder;
|
|
234
|
+
messageId?: Prisma.SortOrder;
|
|
235
|
+
recipientShipId?: Prisma.SortOrderInput | Prisma.SortOrder;
|
|
236
|
+
recipientType?: Prisma.SortOrderInput | Prisma.SortOrder;
|
|
237
|
+
state?: Prisma.SortOrder;
|
|
238
|
+
claimedByShipId?: Prisma.SortOrderInput | Prisma.SortOrder;
|
|
239
|
+
claimedByLeaseId?: Prisma.SortOrderInput | Prisma.SortOrder;
|
|
240
|
+
attempts?: Prisma.SortOrder;
|
|
241
|
+
readAt?: Prisma.SortOrderInput | Prisma.SortOrder;
|
|
242
|
+
createdAt?: Prisma.SortOrder;
|
|
243
|
+
fleet?: Prisma.FleetOrderByWithRelationInput;
|
|
244
|
+
message?: Prisma.MessageOrderByWithRelationInput;
|
|
245
|
+
recipientShip?: Prisma.ShipOrderByWithRelationInput;
|
|
246
|
+
claimedByShip?: Prisma.ShipOrderByWithRelationInput;
|
|
247
|
+
claimedByLease?: Prisma.LeaseOrderByWithRelationInput;
|
|
248
|
+
events?: Prisma.EventOrderByRelationAggregateInput;
|
|
249
|
+
};
|
|
250
|
+
export type DeliveryWhereUniqueInput = Prisma.AtLeast<{
|
|
251
|
+
id?: string;
|
|
252
|
+
fleetId_id?: Prisma.DeliveryFleetIdIdCompoundUniqueInput;
|
|
253
|
+
messageId_recipientShipId?: Prisma.DeliveryMessageIdRecipientShipIdCompoundUniqueInput;
|
|
254
|
+
messageId_recipientType?: Prisma.DeliveryMessageIdRecipientTypeCompoundUniqueInput;
|
|
255
|
+
AND?: Prisma.DeliveryWhereInput | Prisma.DeliveryWhereInput[];
|
|
256
|
+
OR?: Prisma.DeliveryWhereInput[];
|
|
257
|
+
NOT?: Prisma.DeliveryWhereInput | Prisma.DeliveryWhereInput[];
|
|
258
|
+
fleetId?: Prisma.StringFilter<"Delivery"> | string;
|
|
259
|
+
messageId?: Prisma.StringFilter<"Delivery"> | string;
|
|
260
|
+
recipientShipId?: Prisma.StringNullableFilter<"Delivery"> | string | null;
|
|
261
|
+
recipientType?: Prisma.StringNullableFilter<"Delivery"> | string | null;
|
|
262
|
+
state?: Prisma.EnumDeliveryStateFilter<"Delivery"> | $Enums.DeliveryState;
|
|
263
|
+
claimedByShipId?: Prisma.StringNullableFilter<"Delivery"> | string | null;
|
|
264
|
+
claimedByLeaseId?: Prisma.StringNullableFilter<"Delivery"> | string | null;
|
|
265
|
+
attempts?: Prisma.IntFilter<"Delivery"> | number;
|
|
266
|
+
readAt?: Prisma.DateTimeNullableFilter<"Delivery"> | Date | string | null;
|
|
267
|
+
createdAt?: Prisma.DateTimeFilter<"Delivery"> | Date | string;
|
|
268
|
+
fleet?: Prisma.XOR<Prisma.FleetScalarRelationFilter, Prisma.FleetWhereInput>;
|
|
269
|
+
message?: Prisma.XOR<Prisma.MessageScalarRelationFilter, Prisma.MessageWhereInput>;
|
|
270
|
+
recipientShip?: Prisma.XOR<Prisma.ShipNullableScalarRelationFilter, Prisma.ShipWhereInput> | null;
|
|
271
|
+
claimedByShip?: Prisma.XOR<Prisma.ShipNullableScalarRelationFilter, Prisma.ShipWhereInput> | null;
|
|
272
|
+
claimedByLease?: Prisma.XOR<Prisma.LeaseNullableScalarRelationFilter, Prisma.LeaseWhereInput> | null;
|
|
273
|
+
events?: Prisma.EventListRelationFilter;
|
|
274
|
+
}, "id" | "fleetId_id" | "messageId_recipientShipId" | "messageId_recipientType">;
|
|
275
|
+
export type DeliveryOrderByWithAggregationInput = {
|
|
276
|
+
id?: Prisma.SortOrder;
|
|
277
|
+
fleetId?: Prisma.SortOrder;
|
|
278
|
+
messageId?: Prisma.SortOrder;
|
|
279
|
+
recipientShipId?: Prisma.SortOrderInput | Prisma.SortOrder;
|
|
280
|
+
recipientType?: Prisma.SortOrderInput | Prisma.SortOrder;
|
|
281
|
+
state?: Prisma.SortOrder;
|
|
282
|
+
claimedByShipId?: Prisma.SortOrderInput | Prisma.SortOrder;
|
|
283
|
+
claimedByLeaseId?: Prisma.SortOrderInput | Prisma.SortOrder;
|
|
284
|
+
attempts?: Prisma.SortOrder;
|
|
285
|
+
readAt?: Prisma.SortOrderInput | Prisma.SortOrder;
|
|
286
|
+
createdAt?: Prisma.SortOrder;
|
|
287
|
+
_count?: Prisma.DeliveryCountOrderByAggregateInput;
|
|
288
|
+
_avg?: Prisma.DeliveryAvgOrderByAggregateInput;
|
|
289
|
+
_max?: Prisma.DeliveryMaxOrderByAggregateInput;
|
|
290
|
+
_min?: Prisma.DeliveryMinOrderByAggregateInput;
|
|
291
|
+
_sum?: Prisma.DeliverySumOrderByAggregateInput;
|
|
292
|
+
};
|
|
293
|
+
export type DeliveryScalarWhereWithAggregatesInput = {
|
|
294
|
+
AND?: Prisma.DeliveryScalarWhereWithAggregatesInput | Prisma.DeliveryScalarWhereWithAggregatesInput[];
|
|
295
|
+
OR?: Prisma.DeliveryScalarWhereWithAggregatesInput[];
|
|
296
|
+
NOT?: Prisma.DeliveryScalarWhereWithAggregatesInput | Prisma.DeliveryScalarWhereWithAggregatesInput[];
|
|
297
|
+
id?: Prisma.StringWithAggregatesFilter<"Delivery"> | string;
|
|
298
|
+
fleetId?: Prisma.StringWithAggregatesFilter<"Delivery"> | string;
|
|
299
|
+
messageId?: Prisma.StringWithAggregatesFilter<"Delivery"> | string;
|
|
300
|
+
recipientShipId?: Prisma.StringNullableWithAggregatesFilter<"Delivery"> | string | null;
|
|
301
|
+
recipientType?: Prisma.StringNullableWithAggregatesFilter<"Delivery"> | string | null;
|
|
302
|
+
state?: Prisma.EnumDeliveryStateWithAggregatesFilter<"Delivery"> | $Enums.DeliveryState;
|
|
303
|
+
claimedByShipId?: Prisma.StringNullableWithAggregatesFilter<"Delivery"> | string | null;
|
|
304
|
+
claimedByLeaseId?: Prisma.StringNullableWithAggregatesFilter<"Delivery"> | string | null;
|
|
305
|
+
attempts?: Prisma.IntWithAggregatesFilter<"Delivery"> | number;
|
|
306
|
+
readAt?: Prisma.DateTimeNullableWithAggregatesFilter<"Delivery"> | Date | string | null;
|
|
307
|
+
createdAt?: Prisma.DateTimeWithAggregatesFilter<"Delivery"> | Date | string;
|
|
308
|
+
};
|
|
309
|
+
export type DeliveryCreateInput = {
|
|
310
|
+
id: string;
|
|
311
|
+
recipientType?: string | null;
|
|
312
|
+
state?: $Enums.DeliveryState;
|
|
313
|
+
attempts?: number;
|
|
314
|
+
readAt?: Date | string | null;
|
|
315
|
+
createdAt: Date | string;
|
|
316
|
+
fleet: Prisma.FleetCreateNestedOneWithoutDeliveriesInput;
|
|
317
|
+
message: Prisma.MessageCreateNestedOneWithoutDeliveriesInput;
|
|
318
|
+
recipientShip?: Prisma.ShipCreateNestedOneWithoutDeliveriesInput;
|
|
319
|
+
claimedByShip?: Prisma.ShipCreateNestedOneWithoutClaimedDeliveriesInput;
|
|
320
|
+
claimedByLease?: Prisma.LeaseCreateNestedOneWithoutClaimedDeliveriesInput;
|
|
321
|
+
events?: Prisma.EventCreateNestedManyWithoutDeliveryInput;
|
|
322
|
+
};
|
|
323
|
+
export type DeliveryUncheckedCreateInput = {
|
|
324
|
+
id: string;
|
|
325
|
+
fleetId: string;
|
|
326
|
+
messageId: string;
|
|
327
|
+
recipientShipId?: string | null;
|
|
328
|
+
recipientType?: string | null;
|
|
329
|
+
state?: $Enums.DeliveryState;
|
|
330
|
+
claimedByShipId?: string | null;
|
|
331
|
+
claimedByLeaseId?: string | null;
|
|
332
|
+
attempts?: number;
|
|
333
|
+
readAt?: Date | string | null;
|
|
334
|
+
createdAt: Date | string;
|
|
335
|
+
events?: Prisma.EventUncheckedCreateNestedManyWithoutDeliveryInput;
|
|
336
|
+
};
|
|
337
|
+
export type DeliveryUpdateInput = {
|
|
338
|
+
id?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
339
|
+
recipientType?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
340
|
+
state?: Prisma.EnumDeliveryStateFieldUpdateOperationsInput | $Enums.DeliveryState;
|
|
341
|
+
attempts?: Prisma.IntFieldUpdateOperationsInput | number;
|
|
342
|
+
readAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
|
|
343
|
+
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
344
|
+
fleet?: Prisma.FleetUpdateOneRequiredWithoutDeliveriesNestedInput;
|
|
345
|
+
message?: Prisma.MessageUpdateOneRequiredWithoutDeliveriesNestedInput;
|
|
346
|
+
recipientShip?: Prisma.ShipUpdateOneWithoutDeliveriesNestedInput;
|
|
347
|
+
claimedByShip?: Prisma.ShipUpdateOneWithoutClaimedDeliveriesNestedInput;
|
|
348
|
+
claimedByLease?: Prisma.LeaseUpdateOneWithoutClaimedDeliveriesNestedInput;
|
|
349
|
+
events?: Prisma.EventUpdateManyWithoutDeliveryNestedInput;
|
|
350
|
+
};
|
|
351
|
+
export type DeliveryUncheckedUpdateInput = {
|
|
352
|
+
id?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
353
|
+
fleetId?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
354
|
+
messageId?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
355
|
+
recipientShipId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
356
|
+
recipientType?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
357
|
+
state?: Prisma.EnumDeliveryStateFieldUpdateOperationsInput | $Enums.DeliveryState;
|
|
358
|
+
claimedByShipId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
359
|
+
claimedByLeaseId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
360
|
+
attempts?: Prisma.IntFieldUpdateOperationsInput | number;
|
|
361
|
+
readAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
|
|
362
|
+
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
363
|
+
events?: Prisma.EventUncheckedUpdateManyWithoutDeliveryNestedInput;
|
|
364
|
+
};
|
|
365
|
+
export type DeliveryCreateManyInput = {
|
|
366
|
+
id: string;
|
|
367
|
+
fleetId: string;
|
|
368
|
+
messageId: string;
|
|
369
|
+
recipientShipId?: string | null;
|
|
370
|
+
recipientType?: string | null;
|
|
371
|
+
state?: $Enums.DeliveryState;
|
|
372
|
+
claimedByShipId?: string | null;
|
|
373
|
+
claimedByLeaseId?: string | null;
|
|
374
|
+
attempts?: number;
|
|
375
|
+
readAt?: Date | string | null;
|
|
376
|
+
createdAt: Date | string;
|
|
377
|
+
};
|
|
378
|
+
export type DeliveryUpdateManyMutationInput = {
|
|
379
|
+
id?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
380
|
+
recipientType?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
381
|
+
state?: Prisma.EnumDeliveryStateFieldUpdateOperationsInput | $Enums.DeliveryState;
|
|
382
|
+
attempts?: Prisma.IntFieldUpdateOperationsInput | number;
|
|
383
|
+
readAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
|
|
384
|
+
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
385
|
+
};
|
|
386
|
+
export type DeliveryUncheckedUpdateManyInput = {
|
|
387
|
+
id?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
388
|
+
fleetId?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
389
|
+
messageId?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
390
|
+
recipientShipId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
391
|
+
recipientType?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
392
|
+
state?: Prisma.EnumDeliveryStateFieldUpdateOperationsInput | $Enums.DeliveryState;
|
|
393
|
+
claimedByShipId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
394
|
+
claimedByLeaseId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
395
|
+
attempts?: Prisma.IntFieldUpdateOperationsInput | number;
|
|
396
|
+
readAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
|
|
397
|
+
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
398
|
+
};
|
|
399
|
+
export type DeliveryListRelationFilter = {
|
|
400
|
+
every?: Prisma.DeliveryWhereInput;
|
|
401
|
+
some?: Prisma.DeliveryWhereInput;
|
|
402
|
+
none?: Prisma.DeliveryWhereInput;
|
|
403
|
+
};
|
|
404
|
+
export type DeliveryOrderByRelationAggregateInput = {
|
|
405
|
+
_count?: Prisma.SortOrder;
|
|
406
|
+
};
|
|
407
|
+
export type DeliveryFleetIdIdCompoundUniqueInput = {
|
|
408
|
+
fleetId: string;
|
|
409
|
+
id: string;
|
|
410
|
+
};
|
|
411
|
+
export type DeliveryMessageIdRecipientShipIdCompoundUniqueInput = {
|
|
412
|
+
messageId: string;
|
|
413
|
+
recipientShipId: string;
|
|
414
|
+
};
|
|
415
|
+
export type DeliveryMessageIdRecipientTypeCompoundUniqueInput = {
|
|
416
|
+
messageId: string;
|
|
417
|
+
recipientType: string;
|
|
418
|
+
};
|
|
419
|
+
export type DeliveryCountOrderByAggregateInput = {
|
|
420
|
+
id?: Prisma.SortOrder;
|
|
421
|
+
fleetId?: Prisma.SortOrder;
|
|
422
|
+
messageId?: Prisma.SortOrder;
|
|
423
|
+
recipientShipId?: Prisma.SortOrder;
|
|
424
|
+
recipientType?: Prisma.SortOrder;
|
|
425
|
+
state?: Prisma.SortOrder;
|
|
426
|
+
claimedByShipId?: Prisma.SortOrder;
|
|
427
|
+
claimedByLeaseId?: Prisma.SortOrder;
|
|
428
|
+
attempts?: Prisma.SortOrder;
|
|
429
|
+
readAt?: Prisma.SortOrder;
|
|
430
|
+
createdAt?: Prisma.SortOrder;
|
|
431
|
+
};
|
|
432
|
+
export type DeliveryAvgOrderByAggregateInput = {
|
|
433
|
+
attempts?: Prisma.SortOrder;
|
|
434
|
+
};
|
|
435
|
+
export type DeliveryMaxOrderByAggregateInput = {
|
|
436
|
+
id?: Prisma.SortOrder;
|
|
437
|
+
fleetId?: Prisma.SortOrder;
|
|
438
|
+
messageId?: Prisma.SortOrder;
|
|
439
|
+
recipientShipId?: Prisma.SortOrder;
|
|
440
|
+
recipientType?: Prisma.SortOrder;
|
|
441
|
+
state?: Prisma.SortOrder;
|
|
442
|
+
claimedByShipId?: Prisma.SortOrder;
|
|
443
|
+
claimedByLeaseId?: Prisma.SortOrder;
|
|
444
|
+
attempts?: Prisma.SortOrder;
|
|
445
|
+
readAt?: Prisma.SortOrder;
|
|
446
|
+
createdAt?: Prisma.SortOrder;
|
|
447
|
+
};
|
|
448
|
+
export type DeliveryMinOrderByAggregateInput = {
|
|
449
|
+
id?: Prisma.SortOrder;
|
|
450
|
+
fleetId?: Prisma.SortOrder;
|
|
451
|
+
messageId?: Prisma.SortOrder;
|
|
452
|
+
recipientShipId?: Prisma.SortOrder;
|
|
453
|
+
recipientType?: Prisma.SortOrder;
|
|
454
|
+
state?: Prisma.SortOrder;
|
|
455
|
+
claimedByShipId?: Prisma.SortOrder;
|
|
456
|
+
claimedByLeaseId?: Prisma.SortOrder;
|
|
457
|
+
attempts?: Prisma.SortOrder;
|
|
458
|
+
readAt?: Prisma.SortOrder;
|
|
459
|
+
createdAt?: Prisma.SortOrder;
|
|
460
|
+
};
|
|
461
|
+
export type DeliverySumOrderByAggregateInput = {
|
|
462
|
+
attempts?: Prisma.SortOrder;
|
|
463
|
+
};
|
|
464
|
+
export type DeliveryNullableScalarRelationFilter = {
|
|
465
|
+
is?: Prisma.DeliveryWhereInput | null;
|
|
466
|
+
isNot?: Prisma.DeliveryWhereInput | null;
|
|
467
|
+
};
|
|
468
|
+
export type DeliveryCreateNestedManyWithoutFleetInput = {
|
|
469
|
+
create?: Prisma.XOR<Prisma.DeliveryCreateWithoutFleetInput, Prisma.DeliveryUncheckedCreateWithoutFleetInput> | Prisma.DeliveryCreateWithoutFleetInput[] | Prisma.DeliveryUncheckedCreateWithoutFleetInput[];
|
|
470
|
+
connectOrCreate?: Prisma.DeliveryCreateOrConnectWithoutFleetInput | Prisma.DeliveryCreateOrConnectWithoutFleetInput[];
|
|
471
|
+
createMany?: Prisma.DeliveryCreateManyFleetInputEnvelope;
|
|
472
|
+
connect?: Prisma.DeliveryWhereUniqueInput | Prisma.DeliveryWhereUniqueInput[];
|
|
473
|
+
};
|
|
474
|
+
export type DeliveryUncheckedCreateNestedManyWithoutFleetInput = {
|
|
475
|
+
create?: Prisma.XOR<Prisma.DeliveryCreateWithoutFleetInput, Prisma.DeliveryUncheckedCreateWithoutFleetInput> | Prisma.DeliveryCreateWithoutFleetInput[] | Prisma.DeliveryUncheckedCreateWithoutFleetInput[];
|
|
476
|
+
connectOrCreate?: Prisma.DeliveryCreateOrConnectWithoutFleetInput | Prisma.DeliveryCreateOrConnectWithoutFleetInput[];
|
|
477
|
+
createMany?: Prisma.DeliveryCreateManyFleetInputEnvelope;
|
|
478
|
+
connect?: Prisma.DeliveryWhereUniqueInput | Prisma.DeliveryWhereUniqueInput[];
|
|
479
|
+
};
|
|
480
|
+
export type DeliveryUpdateManyWithoutFleetNestedInput = {
|
|
481
|
+
create?: Prisma.XOR<Prisma.DeliveryCreateWithoutFleetInput, Prisma.DeliveryUncheckedCreateWithoutFleetInput> | Prisma.DeliveryCreateWithoutFleetInput[] | Prisma.DeliveryUncheckedCreateWithoutFleetInput[];
|
|
482
|
+
connectOrCreate?: Prisma.DeliveryCreateOrConnectWithoutFleetInput | Prisma.DeliveryCreateOrConnectWithoutFleetInput[];
|
|
483
|
+
upsert?: Prisma.DeliveryUpsertWithWhereUniqueWithoutFleetInput | Prisma.DeliveryUpsertWithWhereUniqueWithoutFleetInput[];
|
|
484
|
+
createMany?: Prisma.DeliveryCreateManyFleetInputEnvelope;
|
|
485
|
+
set?: Prisma.DeliveryWhereUniqueInput | Prisma.DeliveryWhereUniqueInput[];
|
|
486
|
+
disconnect?: Prisma.DeliveryWhereUniqueInput | Prisma.DeliveryWhereUniqueInput[];
|
|
487
|
+
delete?: Prisma.DeliveryWhereUniqueInput | Prisma.DeliveryWhereUniqueInput[];
|
|
488
|
+
connect?: Prisma.DeliveryWhereUniqueInput | Prisma.DeliveryWhereUniqueInput[];
|
|
489
|
+
update?: Prisma.DeliveryUpdateWithWhereUniqueWithoutFleetInput | Prisma.DeliveryUpdateWithWhereUniqueWithoutFleetInput[];
|
|
490
|
+
updateMany?: Prisma.DeliveryUpdateManyWithWhereWithoutFleetInput | Prisma.DeliveryUpdateManyWithWhereWithoutFleetInput[];
|
|
491
|
+
deleteMany?: Prisma.DeliveryScalarWhereInput | Prisma.DeliveryScalarWhereInput[];
|
|
492
|
+
};
|
|
493
|
+
export type DeliveryUncheckedUpdateManyWithoutFleetNestedInput = {
|
|
494
|
+
create?: Prisma.XOR<Prisma.DeliveryCreateWithoutFleetInput, Prisma.DeliveryUncheckedCreateWithoutFleetInput> | Prisma.DeliveryCreateWithoutFleetInput[] | Prisma.DeliveryUncheckedCreateWithoutFleetInput[];
|
|
495
|
+
connectOrCreate?: Prisma.DeliveryCreateOrConnectWithoutFleetInput | Prisma.DeliveryCreateOrConnectWithoutFleetInput[];
|
|
496
|
+
upsert?: Prisma.DeliveryUpsertWithWhereUniqueWithoutFleetInput | Prisma.DeliveryUpsertWithWhereUniqueWithoutFleetInput[];
|
|
497
|
+
createMany?: Prisma.DeliveryCreateManyFleetInputEnvelope;
|
|
498
|
+
set?: Prisma.DeliveryWhereUniqueInput | Prisma.DeliveryWhereUniqueInput[];
|
|
499
|
+
disconnect?: Prisma.DeliveryWhereUniqueInput | Prisma.DeliveryWhereUniqueInput[];
|
|
500
|
+
delete?: Prisma.DeliveryWhereUniqueInput | Prisma.DeliveryWhereUniqueInput[];
|
|
501
|
+
connect?: Prisma.DeliveryWhereUniqueInput | Prisma.DeliveryWhereUniqueInput[];
|
|
502
|
+
update?: Prisma.DeliveryUpdateWithWhereUniqueWithoutFleetInput | Prisma.DeliveryUpdateWithWhereUniqueWithoutFleetInput[];
|
|
503
|
+
updateMany?: Prisma.DeliveryUpdateManyWithWhereWithoutFleetInput | Prisma.DeliveryUpdateManyWithWhereWithoutFleetInput[];
|
|
504
|
+
deleteMany?: Prisma.DeliveryScalarWhereInput | Prisma.DeliveryScalarWhereInput[];
|
|
505
|
+
};
|
|
506
|
+
export type DeliveryCreateNestedManyWithoutRecipientShipInput = {
|
|
507
|
+
create?: Prisma.XOR<Prisma.DeliveryCreateWithoutRecipientShipInput, Prisma.DeliveryUncheckedCreateWithoutRecipientShipInput> | Prisma.DeliveryCreateWithoutRecipientShipInput[] | Prisma.DeliveryUncheckedCreateWithoutRecipientShipInput[];
|
|
508
|
+
connectOrCreate?: Prisma.DeliveryCreateOrConnectWithoutRecipientShipInput | Prisma.DeliveryCreateOrConnectWithoutRecipientShipInput[];
|
|
509
|
+
createMany?: Prisma.DeliveryCreateManyRecipientShipInputEnvelope;
|
|
510
|
+
connect?: Prisma.DeliveryWhereUniqueInput | Prisma.DeliveryWhereUniqueInput[];
|
|
511
|
+
};
|
|
512
|
+
export type DeliveryCreateNestedManyWithoutClaimedByShipInput = {
|
|
513
|
+
create?: Prisma.XOR<Prisma.DeliveryCreateWithoutClaimedByShipInput, Prisma.DeliveryUncheckedCreateWithoutClaimedByShipInput> | Prisma.DeliveryCreateWithoutClaimedByShipInput[] | Prisma.DeliveryUncheckedCreateWithoutClaimedByShipInput[];
|
|
514
|
+
connectOrCreate?: Prisma.DeliveryCreateOrConnectWithoutClaimedByShipInput | Prisma.DeliveryCreateOrConnectWithoutClaimedByShipInput[];
|
|
515
|
+
createMany?: Prisma.DeliveryCreateManyClaimedByShipInputEnvelope;
|
|
516
|
+
connect?: Prisma.DeliveryWhereUniqueInput | Prisma.DeliveryWhereUniqueInput[];
|
|
517
|
+
};
|
|
518
|
+
export type DeliveryUncheckedCreateNestedManyWithoutRecipientShipInput = {
|
|
519
|
+
create?: Prisma.XOR<Prisma.DeliveryCreateWithoutRecipientShipInput, Prisma.DeliveryUncheckedCreateWithoutRecipientShipInput> | Prisma.DeliveryCreateWithoutRecipientShipInput[] | Prisma.DeliveryUncheckedCreateWithoutRecipientShipInput[];
|
|
520
|
+
connectOrCreate?: Prisma.DeliveryCreateOrConnectWithoutRecipientShipInput | Prisma.DeliveryCreateOrConnectWithoutRecipientShipInput[];
|
|
521
|
+
createMany?: Prisma.DeliveryCreateManyRecipientShipInputEnvelope;
|
|
522
|
+
connect?: Prisma.DeliveryWhereUniqueInput | Prisma.DeliveryWhereUniqueInput[];
|
|
523
|
+
};
|
|
524
|
+
export type DeliveryUncheckedCreateNestedManyWithoutClaimedByShipInput = {
|
|
525
|
+
create?: Prisma.XOR<Prisma.DeliveryCreateWithoutClaimedByShipInput, Prisma.DeliveryUncheckedCreateWithoutClaimedByShipInput> | Prisma.DeliveryCreateWithoutClaimedByShipInput[] | Prisma.DeliveryUncheckedCreateWithoutClaimedByShipInput[];
|
|
526
|
+
connectOrCreate?: Prisma.DeliveryCreateOrConnectWithoutClaimedByShipInput | Prisma.DeliveryCreateOrConnectWithoutClaimedByShipInput[];
|
|
527
|
+
createMany?: Prisma.DeliveryCreateManyClaimedByShipInputEnvelope;
|
|
528
|
+
connect?: Prisma.DeliveryWhereUniqueInput | Prisma.DeliveryWhereUniqueInput[];
|
|
529
|
+
};
|
|
530
|
+
export type DeliveryUpdateManyWithoutRecipientShipNestedInput = {
|
|
531
|
+
create?: Prisma.XOR<Prisma.DeliveryCreateWithoutRecipientShipInput, Prisma.DeliveryUncheckedCreateWithoutRecipientShipInput> | Prisma.DeliveryCreateWithoutRecipientShipInput[] | Prisma.DeliveryUncheckedCreateWithoutRecipientShipInput[];
|
|
532
|
+
connectOrCreate?: Prisma.DeliveryCreateOrConnectWithoutRecipientShipInput | Prisma.DeliveryCreateOrConnectWithoutRecipientShipInput[];
|
|
533
|
+
upsert?: Prisma.DeliveryUpsertWithWhereUniqueWithoutRecipientShipInput | Prisma.DeliveryUpsertWithWhereUniqueWithoutRecipientShipInput[];
|
|
534
|
+
createMany?: Prisma.DeliveryCreateManyRecipientShipInputEnvelope;
|
|
535
|
+
set?: Prisma.DeliveryWhereUniqueInput | Prisma.DeliveryWhereUniqueInput[];
|
|
536
|
+
disconnect?: Prisma.DeliveryWhereUniqueInput | Prisma.DeliveryWhereUniqueInput[];
|
|
537
|
+
delete?: Prisma.DeliveryWhereUniqueInput | Prisma.DeliveryWhereUniqueInput[];
|
|
538
|
+
connect?: Prisma.DeliveryWhereUniqueInput | Prisma.DeliveryWhereUniqueInput[];
|
|
539
|
+
update?: Prisma.DeliveryUpdateWithWhereUniqueWithoutRecipientShipInput | Prisma.DeliveryUpdateWithWhereUniqueWithoutRecipientShipInput[];
|
|
540
|
+
updateMany?: Prisma.DeliveryUpdateManyWithWhereWithoutRecipientShipInput | Prisma.DeliveryUpdateManyWithWhereWithoutRecipientShipInput[];
|
|
541
|
+
deleteMany?: Prisma.DeliveryScalarWhereInput | Prisma.DeliveryScalarWhereInput[];
|
|
542
|
+
};
|
|
543
|
+
export type DeliveryUpdateManyWithoutClaimedByShipNestedInput = {
|
|
544
|
+
create?: Prisma.XOR<Prisma.DeliveryCreateWithoutClaimedByShipInput, Prisma.DeliveryUncheckedCreateWithoutClaimedByShipInput> | Prisma.DeliveryCreateWithoutClaimedByShipInput[] | Prisma.DeliveryUncheckedCreateWithoutClaimedByShipInput[];
|
|
545
|
+
connectOrCreate?: Prisma.DeliveryCreateOrConnectWithoutClaimedByShipInput | Prisma.DeliveryCreateOrConnectWithoutClaimedByShipInput[];
|
|
546
|
+
upsert?: Prisma.DeliveryUpsertWithWhereUniqueWithoutClaimedByShipInput | Prisma.DeliveryUpsertWithWhereUniqueWithoutClaimedByShipInput[];
|
|
547
|
+
createMany?: Prisma.DeliveryCreateManyClaimedByShipInputEnvelope;
|
|
548
|
+
set?: Prisma.DeliveryWhereUniqueInput | Prisma.DeliveryWhereUniqueInput[];
|
|
549
|
+
disconnect?: Prisma.DeliveryWhereUniqueInput | Prisma.DeliveryWhereUniqueInput[];
|
|
550
|
+
delete?: Prisma.DeliveryWhereUniqueInput | Prisma.DeliveryWhereUniqueInput[];
|
|
551
|
+
connect?: Prisma.DeliveryWhereUniqueInput | Prisma.DeliveryWhereUniqueInput[];
|
|
552
|
+
update?: Prisma.DeliveryUpdateWithWhereUniqueWithoutClaimedByShipInput | Prisma.DeliveryUpdateWithWhereUniqueWithoutClaimedByShipInput[];
|
|
553
|
+
updateMany?: Prisma.DeliveryUpdateManyWithWhereWithoutClaimedByShipInput | Prisma.DeliveryUpdateManyWithWhereWithoutClaimedByShipInput[];
|
|
554
|
+
deleteMany?: Prisma.DeliveryScalarWhereInput | Prisma.DeliveryScalarWhereInput[];
|
|
555
|
+
};
|
|
556
|
+
export type DeliveryUncheckedUpdateManyWithoutRecipientShipNestedInput = {
|
|
557
|
+
create?: Prisma.XOR<Prisma.DeliveryCreateWithoutRecipientShipInput, Prisma.DeliveryUncheckedCreateWithoutRecipientShipInput> | Prisma.DeliveryCreateWithoutRecipientShipInput[] | Prisma.DeliveryUncheckedCreateWithoutRecipientShipInput[];
|
|
558
|
+
connectOrCreate?: Prisma.DeliveryCreateOrConnectWithoutRecipientShipInput | Prisma.DeliveryCreateOrConnectWithoutRecipientShipInput[];
|
|
559
|
+
upsert?: Prisma.DeliveryUpsertWithWhereUniqueWithoutRecipientShipInput | Prisma.DeliveryUpsertWithWhereUniqueWithoutRecipientShipInput[];
|
|
560
|
+
createMany?: Prisma.DeliveryCreateManyRecipientShipInputEnvelope;
|
|
561
|
+
set?: Prisma.DeliveryWhereUniqueInput | Prisma.DeliveryWhereUniqueInput[];
|
|
562
|
+
disconnect?: Prisma.DeliveryWhereUniqueInput | Prisma.DeliveryWhereUniqueInput[];
|
|
563
|
+
delete?: Prisma.DeliveryWhereUniqueInput | Prisma.DeliveryWhereUniqueInput[];
|
|
564
|
+
connect?: Prisma.DeliveryWhereUniqueInput | Prisma.DeliveryWhereUniqueInput[];
|
|
565
|
+
update?: Prisma.DeliveryUpdateWithWhereUniqueWithoutRecipientShipInput | Prisma.DeliveryUpdateWithWhereUniqueWithoutRecipientShipInput[];
|
|
566
|
+
updateMany?: Prisma.DeliveryUpdateManyWithWhereWithoutRecipientShipInput | Prisma.DeliveryUpdateManyWithWhereWithoutRecipientShipInput[];
|
|
567
|
+
deleteMany?: Prisma.DeliveryScalarWhereInput | Prisma.DeliveryScalarWhereInput[];
|
|
568
|
+
};
|
|
569
|
+
export type DeliveryUncheckedUpdateManyWithoutClaimedByShipNestedInput = {
|
|
570
|
+
create?: Prisma.XOR<Prisma.DeliveryCreateWithoutClaimedByShipInput, Prisma.DeliveryUncheckedCreateWithoutClaimedByShipInput> | Prisma.DeliveryCreateWithoutClaimedByShipInput[] | Prisma.DeliveryUncheckedCreateWithoutClaimedByShipInput[];
|
|
571
|
+
connectOrCreate?: Prisma.DeliveryCreateOrConnectWithoutClaimedByShipInput | Prisma.DeliveryCreateOrConnectWithoutClaimedByShipInput[];
|
|
572
|
+
upsert?: Prisma.DeliveryUpsertWithWhereUniqueWithoutClaimedByShipInput | Prisma.DeliveryUpsertWithWhereUniqueWithoutClaimedByShipInput[];
|
|
573
|
+
createMany?: Prisma.DeliveryCreateManyClaimedByShipInputEnvelope;
|
|
574
|
+
set?: Prisma.DeliveryWhereUniqueInput | Prisma.DeliveryWhereUniqueInput[];
|
|
575
|
+
disconnect?: Prisma.DeliveryWhereUniqueInput | Prisma.DeliveryWhereUniqueInput[];
|
|
576
|
+
delete?: Prisma.DeliveryWhereUniqueInput | Prisma.DeliveryWhereUniqueInput[];
|
|
577
|
+
connect?: Prisma.DeliveryWhereUniqueInput | Prisma.DeliveryWhereUniqueInput[];
|
|
578
|
+
update?: Prisma.DeliveryUpdateWithWhereUniqueWithoutClaimedByShipInput | Prisma.DeliveryUpdateWithWhereUniqueWithoutClaimedByShipInput[];
|
|
579
|
+
updateMany?: Prisma.DeliveryUpdateManyWithWhereWithoutClaimedByShipInput | Prisma.DeliveryUpdateManyWithWhereWithoutClaimedByShipInput[];
|
|
580
|
+
deleteMany?: Prisma.DeliveryScalarWhereInput | Prisma.DeliveryScalarWhereInput[];
|
|
581
|
+
};
|
|
582
|
+
export type DeliveryCreateNestedManyWithoutClaimedByLeaseInput = {
|
|
583
|
+
create?: Prisma.XOR<Prisma.DeliveryCreateWithoutClaimedByLeaseInput, Prisma.DeliveryUncheckedCreateWithoutClaimedByLeaseInput> | Prisma.DeliveryCreateWithoutClaimedByLeaseInput[] | Prisma.DeliveryUncheckedCreateWithoutClaimedByLeaseInput[];
|
|
584
|
+
connectOrCreate?: Prisma.DeliveryCreateOrConnectWithoutClaimedByLeaseInput | Prisma.DeliveryCreateOrConnectWithoutClaimedByLeaseInput[];
|
|
585
|
+
createMany?: Prisma.DeliveryCreateManyClaimedByLeaseInputEnvelope;
|
|
586
|
+
connect?: Prisma.DeliveryWhereUniqueInput | Prisma.DeliveryWhereUniqueInput[];
|
|
587
|
+
};
|
|
588
|
+
export type DeliveryUncheckedCreateNestedManyWithoutClaimedByLeaseInput = {
|
|
589
|
+
create?: Prisma.XOR<Prisma.DeliveryCreateWithoutClaimedByLeaseInput, Prisma.DeliveryUncheckedCreateWithoutClaimedByLeaseInput> | Prisma.DeliveryCreateWithoutClaimedByLeaseInput[] | Prisma.DeliveryUncheckedCreateWithoutClaimedByLeaseInput[];
|
|
590
|
+
connectOrCreate?: Prisma.DeliveryCreateOrConnectWithoutClaimedByLeaseInput | Prisma.DeliveryCreateOrConnectWithoutClaimedByLeaseInput[];
|
|
591
|
+
createMany?: Prisma.DeliveryCreateManyClaimedByLeaseInputEnvelope;
|
|
592
|
+
connect?: Prisma.DeliveryWhereUniqueInput | Prisma.DeliveryWhereUniqueInput[];
|
|
593
|
+
};
|
|
594
|
+
export type DeliveryUpdateManyWithoutClaimedByLeaseNestedInput = {
|
|
595
|
+
create?: Prisma.XOR<Prisma.DeliveryCreateWithoutClaimedByLeaseInput, Prisma.DeliveryUncheckedCreateWithoutClaimedByLeaseInput> | Prisma.DeliveryCreateWithoutClaimedByLeaseInput[] | Prisma.DeliveryUncheckedCreateWithoutClaimedByLeaseInput[];
|
|
596
|
+
connectOrCreate?: Prisma.DeliveryCreateOrConnectWithoutClaimedByLeaseInput | Prisma.DeliveryCreateOrConnectWithoutClaimedByLeaseInput[];
|
|
597
|
+
upsert?: Prisma.DeliveryUpsertWithWhereUniqueWithoutClaimedByLeaseInput | Prisma.DeliveryUpsertWithWhereUniqueWithoutClaimedByLeaseInput[];
|
|
598
|
+
createMany?: Prisma.DeliveryCreateManyClaimedByLeaseInputEnvelope;
|
|
599
|
+
set?: Prisma.DeliveryWhereUniqueInput | Prisma.DeliveryWhereUniqueInput[];
|
|
600
|
+
disconnect?: Prisma.DeliveryWhereUniqueInput | Prisma.DeliveryWhereUniqueInput[];
|
|
601
|
+
delete?: Prisma.DeliveryWhereUniqueInput | Prisma.DeliveryWhereUniqueInput[];
|
|
602
|
+
connect?: Prisma.DeliveryWhereUniqueInput | Prisma.DeliveryWhereUniqueInput[];
|
|
603
|
+
update?: Prisma.DeliveryUpdateWithWhereUniqueWithoutClaimedByLeaseInput | Prisma.DeliveryUpdateWithWhereUniqueWithoutClaimedByLeaseInput[];
|
|
604
|
+
updateMany?: Prisma.DeliveryUpdateManyWithWhereWithoutClaimedByLeaseInput | Prisma.DeliveryUpdateManyWithWhereWithoutClaimedByLeaseInput[];
|
|
605
|
+
deleteMany?: Prisma.DeliveryScalarWhereInput | Prisma.DeliveryScalarWhereInput[];
|
|
606
|
+
};
|
|
607
|
+
export type DeliveryUncheckedUpdateManyWithoutClaimedByLeaseNestedInput = {
|
|
608
|
+
create?: Prisma.XOR<Prisma.DeliveryCreateWithoutClaimedByLeaseInput, Prisma.DeliveryUncheckedCreateWithoutClaimedByLeaseInput> | Prisma.DeliveryCreateWithoutClaimedByLeaseInput[] | Prisma.DeliveryUncheckedCreateWithoutClaimedByLeaseInput[];
|
|
609
|
+
connectOrCreate?: Prisma.DeliveryCreateOrConnectWithoutClaimedByLeaseInput | Prisma.DeliveryCreateOrConnectWithoutClaimedByLeaseInput[];
|
|
610
|
+
upsert?: Prisma.DeliveryUpsertWithWhereUniqueWithoutClaimedByLeaseInput | Prisma.DeliveryUpsertWithWhereUniqueWithoutClaimedByLeaseInput[];
|
|
611
|
+
createMany?: Prisma.DeliveryCreateManyClaimedByLeaseInputEnvelope;
|
|
612
|
+
set?: Prisma.DeliveryWhereUniqueInput | Prisma.DeliveryWhereUniqueInput[];
|
|
613
|
+
disconnect?: Prisma.DeliveryWhereUniqueInput | Prisma.DeliveryWhereUniqueInput[];
|
|
614
|
+
delete?: Prisma.DeliveryWhereUniqueInput | Prisma.DeliveryWhereUniqueInput[];
|
|
615
|
+
connect?: Prisma.DeliveryWhereUniqueInput | Prisma.DeliveryWhereUniqueInput[];
|
|
616
|
+
update?: Prisma.DeliveryUpdateWithWhereUniqueWithoutClaimedByLeaseInput | Prisma.DeliveryUpdateWithWhereUniqueWithoutClaimedByLeaseInput[];
|
|
617
|
+
updateMany?: Prisma.DeliveryUpdateManyWithWhereWithoutClaimedByLeaseInput | Prisma.DeliveryUpdateManyWithWhereWithoutClaimedByLeaseInput[];
|
|
618
|
+
deleteMany?: Prisma.DeliveryScalarWhereInput | Prisma.DeliveryScalarWhereInput[];
|
|
619
|
+
};
|
|
620
|
+
export type DeliveryCreateNestedManyWithoutMessageInput = {
|
|
621
|
+
create?: Prisma.XOR<Prisma.DeliveryCreateWithoutMessageInput, Prisma.DeliveryUncheckedCreateWithoutMessageInput> | Prisma.DeliveryCreateWithoutMessageInput[] | Prisma.DeliveryUncheckedCreateWithoutMessageInput[];
|
|
622
|
+
connectOrCreate?: Prisma.DeliveryCreateOrConnectWithoutMessageInput | Prisma.DeliveryCreateOrConnectWithoutMessageInput[];
|
|
623
|
+
createMany?: Prisma.DeliveryCreateManyMessageInputEnvelope;
|
|
624
|
+
connect?: Prisma.DeliveryWhereUniqueInput | Prisma.DeliveryWhereUniqueInput[];
|
|
625
|
+
};
|
|
626
|
+
export type DeliveryUncheckedCreateNestedManyWithoutMessageInput = {
|
|
627
|
+
create?: Prisma.XOR<Prisma.DeliveryCreateWithoutMessageInput, Prisma.DeliveryUncheckedCreateWithoutMessageInput> | Prisma.DeliveryCreateWithoutMessageInput[] | Prisma.DeliveryUncheckedCreateWithoutMessageInput[];
|
|
628
|
+
connectOrCreate?: Prisma.DeliveryCreateOrConnectWithoutMessageInput | Prisma.DeliveryCreateOrConnectWithoutMessageInput[];
|
|
629
|
+
createMany?: Prisma.DeliveryCreateManyMessageInputEnvelope;
|
|
630
|
+
connect?: Prisma.DeliveryWhereUniqueInput | Prisma.DeliveryWhereUniqueInput[];
|
|
631
|
+
};
|
|
632
|
+
export type DeliveryUpdateManyWithoutMessageNestedInput = {
|
|
633
|
+
create?: Prisma.XOR<Prisma.DeliveryCreateWithoutMessageInput, Prisma.DeliveryUncheckedCreateWithoutMessageInput> | Prisma.DeliveryCreateWithoutMessageInput[] | Prisma.DeliveryUncheckedCreateWithoutMessageInput[];
|
|
634
|
+
connectOrCreate?: Prisma.DeliveryCreateOrConnectWithoutMessageInput | Prisma.DeliveryCreateOrConnectWithoutMessageInput[];
|
|
635
|
+
upsert?: Prisma.DeliveryUpsertWithWhereUniqueWithoutMessageInput | Prisma.DeliveryUpsertWithWhereUniqueWithoutMessageInput[];
|
|
636
|
+
createMany?: Prisma.DeliveryCreateManyMessageInputEnvelope;
|
|
637
|
+
set?: Prisma.DeliveryWhereUniqueInput | Prisma.DeliveryWhereUniqueInput[];
|
|
638
|
+
disconnect?: Prisma.DeliveryWhereUniqueInput | Prisma.DeliveryWhereUniqueInput[];
|
|
639
|
+
delete?: Prisma.DeliveryWhereUniqueInput | Prisma.DeliveryWhereUniqueInput[];
|
|
640
|
+
connect?: Prisma.DeliveryWhereUniqueInput | Prisma.DeliveryWhereUniqueInput[];
|
|
641
|
+
update?: Prisma.DeliveryUpdateWithWhereUniqueWithoutMessageInput | Prisma.DeliveryUpdateWithWhereUniqueWithoutMessageInput[];
|
|
642
|
+
updateMany?: Prisma.DeliveryUpdateManyWithWhereWithoutMessageInput | Prisma.DeliveryUpdateManyWithWhereWithoutMessageInput[];
|
|
643
|
+
deleteMany?: Prisma.DeliveryScalarWhereInput | Prisma.DeliveryScalarWhereInput[];
|
|
644
|
+
};
|
|
645
|
+
export type DeliveryUncheckedUpdateManyWithoutMessageNestedInput = {
|
|
646
|
+
create?: Prisma.XOR<Prisma.DeliveryCreateWithoutMessageInput, Prisma.DeliveryUncheckedCreateWithoutMessageInput> | Prisma.DeliveryCreateWithoutMessageInput[] | Prisma.DeliveryUncheckedCreateWithoutMessageInput[];
|
|
647
|
+
connectOrCreate?: Prisma.DeliveryCreateOrConnectWithoutMessageInput | Prisma.DeliveryCreateOrConnectWithoutMessageInput[];
|
|
648
|
+
upsert?: Prisma.DeliveryUpsertWithWhereUniqueWithoutMessageInput | Prisma.DeliveryUpsertWithWhereUniqueWithoutMessageInput[];
|
|
649
|
+
createMany?: Prisma.DeliveryCreateManyMessageInputEnvelope;
|
|
650
|
+
set?: Prisma.DeliveryWhereUniqueInput | Prisma.DeliveryWhereUniqueInput[];
|
|
651
|
+
disconnect?: Prisma.DeliveryWhereUniqueInput | Prisma.DeliveryWhereUniqueInput[];
|
|
652
|
+
delete?: Prisma.DeliveryWhereUniqueInput | Prisma.DeliveryWhereUniqueInput[];
|
|
653
|
+
connect?: Prisma.DeliveryWhereUniqueInput | Prisma.DeliveryWhereUniqueInput[];
|
|
654
|
+
update?: Prisma.DeliveryUpdateWithWhereUniqueWithoutMessageInput | Prisma.DeliveryUpdateWithWhereUniqueWithoutMessageInput[];
|
|
655
|
+
updateMany?: Prisma.DeliveryUpdateManyWithWhereWithoutMessageInput | Prisma.DeliveryUpdateManyWithWhereWithoutMessageInput[];
|
|
656
|
+
deleteMany?: Prisma.DeliveryScalarWhereInput | Prisma.DeliveryScalarWhereInput[];
|
|
657
|
+
};
|
|
658
|
+
export type EnumDeliveryStateFieldUpdateOperationsInput = {
|
|
659
|
+
set?: $Enums.DeliveryState;
|
|
660
|
+
};
|
|
661
|
+
export type DeliveryCreateNestedOneWithoutEventsInput = {
|
|
662
|
+
create?: Prisma.XOR<Prisma.DeliveryCreateWithoutEventsInput, Prisma.DeliveryUncheckedCreateWithoutEventsInput>;
|
|
663
|
+
connectOrCreate?: Prisma.DeliveryCreateOrConnectWithoutEventsInput;
|
|
664
|
+
connect?: Prisma.DeliveryWhereUniqueInput;
|
|
665
|
+
};
|
|
666
|
+
export type DeliveryUpdateOneWithoutEventsNestedInput = {
|
|
667
|
+
create?: Prisma.XOR<Prisma.DeliveryCreateWithoutEventsInput, Prisma.DeliveryUncheckedCreateWithoutEventsInput>;
|
|
668
|
+
connectOrCreate?: Prisma.DeliveryCreateOrConnectWithoutEventsInput;
|
|
669
|
+
upsert?: Prisma.DeliveryUpsertWithoutEventsInput;
|
|
670
|
+
disconnect?: Prisma.DeliveryWhereInput | boolean;
|
|
671
|
+
delete?: Prisma.DeliveryWhereInput | boolean;
|
|
672
|
+
connect?: Prisma.DeliveryWhereUniqueInput;
|
|
673
|
+
update?: Prisma.XOR<Prisma.XOR<Prisma.DeliveryUpdateToOneWithWhereWithoutEventsInput, Prisma.DeliveryUpdateWithoutEventsInput>, Prisma.DeliveryUncheckedUpdateWithoutEventsInput>;
|
|
674
|
+
};
|
|
675
|
+
export type DeliveryCreateWithoutFleetInput = {
|
|
676
|
+
id: string;
|
|
677
|
+
recipientType?: string | null;
|
|
678
|
+
state?: $Enums.DeliveryState;
|
|
679
|
+
attempts?: number;
|
|
680
|
+
readAt?: Date | string | null;
|
|
681
|
+
createdAt: Date | string;
|
|
682
|
+
message: Prisma.MessageCreateNestedOneWithoutDeliveriesInput;
|
|
683
|
+
recipientShip?: Prisma.ShipCreateNestedOneWithoutDeliveriesInput;
|
|
684
|
+
claimedByShip?: Prisma.ShipCreateNestedOneWithoutClaimedDeliveriesInput;
|
|
685
|
+
claimedByLease?: Prisma.LeaseCreateNestedOneWithoutClaimedDeliveriesInput;
|
|
686
|
+
events?: Prisma.EventCreateNestedManyWithoutDeliveryInput;
|
|
687
|
+
};
|
|
688
|
+
export type DeliveryUncheckedCreateWithoutFleetInput = {
|
|
689
|
+
id: string;
|
|
690
|
+
messageId: string;
|
|
691
|
+
recipientShipId?: string | null;
|
|
692
|
+
recipientType?: string | null;
|
|
693
|
+
state?: $Enums.DeliveryState;
|
|
694
|
+
claimedByShipId?: string | null;
|
|
695
|
+
claimedByLeaseId?: string | null;
|
|
696
|
+
attempts?: number;
|
|
697
|
+
readAt?: Date | string | null;
|
|
698
|
+
createdAt: Date | string;
|
|
699
|
+
events?: Prisma.EventUncheckedCreateNestedManyWithoutDeliveryInput;
|
|
700
|
+
};
|
|
701
|
+
export type DeliveryCreateOrConnectWithoutFleetInput = {
|
|
702
|
+
where: Prisma.DeliveryWhereUniqueInput;
|
|
703
|
+
create: Prisma.XOR<Prisma.DeliveryCreateWithoutFleetInput, Prisma.DeliveryUncheckedCreateWithoutFleetInput>;
|
|
704
|
+
};
|
|
705
|
+
export type DeliveryCreateManyFleetInputEnvelope = {
|
|
706
|
+
data: Prisma.DeliveryCreateManyFleetInput | Prisma.DeliveryCreateManyFleetInput[];
|
|
707
|
+
skipDuplicates?: boolean;
|
|
708
|
+
};
|
|
709
|
+
export type DeliveryUpsertWithWhereUniqueWithoutFleetInput = {
|
|
710
|
+
where: Prisma.DeliveryWhereUniqueInput;
|
|
711
|
+
update: Prisma.XOR<Prisma.DeliveryUpdateWithoutFleetInput, Prisma.DeliveryUncheckedUpdateWithoutFleetInput>;
|
|
712
|
+
create: Prisma.XOR<Prisma.DeliveryCreateWithoutFleetInput, Prisma.DeliveryUncheckedCreateWithoutFleetInput>;
|
|
713
|
+
};
|
|
714
|
+
export type DeliveryUpdateWithWhereUniqueWithoutFleetInput = {
|
|
715
|
+
where: Prisma.DeliveryWhereUniqueInput;
|
|
716
|
+
data: Prisma.XOR<Prisma.DeliveryUpdateWithoutFleetInput, Prisma.DeliveryUncheckedUpdateWithoutFleetInput>;
|
|
717
|
+
};
|
|
718
|
+
export type DeliveryUpdateManyWithWhereWithoutFleetInput = {
|
|
719
|
+
where: Prisma.DeliveryScalarWhereInput;
|
|
720
|
+
data: Prisma.XOR<Prisma.DeliveryUpdateManyMutationInput, Prisma.DeliveryUncheckedUpdateManyWithoutFleetInput>;
|
|
721
|
+
};
|
|
722
|
+
export type DeliveryScalarWhereInput = {
|
|
723
|
+
AND?: Prisma.DeliveryScalarWhereInput | Prisma.DeliveryScalarWhereInput[];
|
|
724
|
+
OR?: Prisma.DeliveryScalarWhereInput[];
|
|
725
|
+
NOT?: Prisma.DeliveryScalarWhereInput | Prisma.DeliveryScalarWhereInput[];
|
|
726
|
+
id?: Prisma.StringFilter<"Delivery"> | string;
|
|
727
|
+
fleetId?: Prisma.StringFilter<"Delivery"> | string;
|
|
728
|
+
messageId?: Prisma.StringFilter<"Delivery"> | string;
|
|
729
|
+
recipientShipId?: Prisma.StringNullableFilter<"Delivery"> | string | null;
|
|
730
|
+
recipientType?: Prisma.StringNullableFilter<"Delivery"> | string | null;
|
|
731
|
+
state?: Prisma.EnumDeliveryStateFilter<"Delivery"> | $Enums.DeliveryState;
|
|
732
|
+
claimedByShipId?: Prisma.StringNullableFilter<"Delivery"> | string | null;
|
|
733
|
+
claimedByLeaseId?: Prisma.StringNullableFilter<"Delivery"> | string | null;
|
|
734
|
+
attempts?: Prisma.IntFilter<"Delivery"> | number;
|
|
735
|
+
readAt?: Prisma.DateTimeNullableFilter<"Delivery"> | Date | string | null;
|
|
736
|
+
createdAt?: Prisma.DateTimeFilter<"Delivery"> | Date | string;
|
|
737
|
+
};
|
|
738
|
+
export type DeliveryCreateWithoutRecipientShipInput = {
|
|
739
|
+
id: string;
|
|
740
|
+
recipientType?: string | null;
|
|
741
|
+
state?: $Enums.DeliveryState;
|
|
742
|
+
attempts?: number;
|
|
743
|
+
readAt?: Date | string | null;
|
|
744
|
+
createdAt: Date | string;
|
|
745
|
+
fleet: Prisma.FleetCreateNestedOneWithoutDeliveriesInput;
|
|
746
|
+
message: Prisma.MessageCreateNestedOneWithoutDeliveriesInput;
|
|
747
|
+
claimedByShip?: Prisma.ShipCreateNestedOneWithoutClaimedDeliveriesInput;
|
|
748
|
+
claimedByLease?: Prisma.LeaseCreateNestedOneWithoutClaimedDeliveriesInput;
|
|
749
|
+
events?: Prisma.EventCreateNestedManyWithoutDeliveryInput;
|
|
750
|
+
};
|
|
751
|
+
export type DeliveryUncheckedCreateWithoutRecipientShipInput = {
|
|
752
|
+
id: string;
|
|
753
|
+
messageId: string;
|
|
754
|
+
recipientType?: string | null;
|
|
755
|
+
state?: $Enums.DeliveryState;
|
|
756
|
+
claimedByShipId?: string | null;
|
|
757
|
+
claimedByLeaseId?: string | null;
|
|
758
|
+
attempts?: number;
|
|
759
|
+
readAt?: Date | string | null;
|
|
760
|
+
createdAt: Date | string;
|
|
761
|
+
events?: Prisma.EventUncheckedCreateNestedManyWithoutDeliveryInput;
|
|
762
|
+
};
|
|
763
|
+
export type DeliveryCreateOrConnectWithoutRecipientShipInput = {
|
|
764
|
+
where: Prisma.DeliveryWhereUniqueInput;
|
|
765
|
+
create: Prisma.XOR<Prisma.DeliveryCreateWithoutRecipientShipInput, Prisma.DeliveryUncheckedCreateWithoutRecipientShipInput>;
|
|
766
|
+
};
|
|
767
|
+
export type DeliveryCreateManyRecipientShipInputEnvelope = {
|
|
768
|
+
data: Prisma.DeliveryCreateManyRecipientShipInput | Prisma.DeliveryCreateManyRecipientShipInput[];
|
|
769
|
+
skipDuplicates?: boolean;
|
|
770
|
+
};
|
|
771
|
+
export type DeliveryCreateWithoutClaimedByShipInput = {
|
|
772
|
+
id: string;
|
|
773
|
+
recipientType?: string | null;
|
|
774
|
+
state?: $Enums.DeliveryState;
|
|
775
|
+
attempts?: number;
|
|
776
|
+
readAt?: Date | string | null;
|
|
777
|
+
createdAt: Date | string;
|
|
778
|
+
fleet: Prisma.FleetCreateNestedOneWithoutDeliveriesInput;
|
|
779
|
+
message: Prisma.MessageCreateNestedOneWithoutDeliveriesInput;
|
|
780
|
+
recipientShip?: Prisma.ShipCreateNestedOneWithoutDeliveriesInput;
|
|
781
|
+
claimedByLease?: Prisma.LeaseCreateNestedOneWithoutClaimedDeliveriesInput;
|
|
782
|
+
events?: Prisma.EventCreateNestedManyWithoutDeliveryInput;
|
|
783
|
+
};
|
|
784
|
+
export type DeliveryUncheckedCreateWithoutClaimedByShipInput = {
|
|
785
|
+
id: string;
|
|
786
|
+
messageId: string;
|
|
787
|
+
recipientShipId?: string | null;
|
|
788
|
+
recipientType?: string | null;
|
|
789
|
+
state?: $Enums.DeliveryState;
|
|
790
|
+
claimedByLeaseId?: string | null;
|
|
791
|
+
attempts?: number;
|
|
792
|
+
readAt?: Date | string | null;
|
|
793
|
+
createdAt: Date | string;
|
|
794
|
+
events?: Prisma.EventUncheckedCreateNestedManyWithoutDeliveryInput;
|
|
795
|
+
};
|
|
796
|
+
export type DeliveryCreateOrConnectWithoutClaimedByShipInput = {
|
|
797
|
+
where: Prisma.DeliveryWhereUniqueInput;
|
|
798
|
+
create: Prisma.XOR<Prisma.DeliveryCreateWithoutClaimedByShipInput, Prisma.DeliveryUncheckedCreateWithoutClaimedByShipInput>;
|
|
799
|
+
};
|
|
800
|
+
export type DeliveryCreateManyClaimedByShipInputEnvelope = {
|
|
801
|
+
data: Prisma.DeliveryCreateManyClaimedByShipInput | Prisma.DeliveryCreateManyClaimedByShipInput[];
|
|
802
|
+
skipDuplicates?: boolean;
|
|
803
|
+
};
|
|
804
|
+
export type DeliveryUpsertWithWhereUniqueWithoutRecipientShipInput = {
|
|
805
|
+
where: Prisma.DeliveryWhereUniqueInput;
|
|
806
|
+
update: Prisma.XOR<Prisma.DeliveryUpdateWithoutRecipientShipInput, Prisma.DeliveryUncheckedUpdateWithoutRecipientShipInput>;
|
|
807
|
+
create: Prisma.XOR<Prisma.DeliveryCreateWithoutRecipientShipInput, Prisma.DeliveryUncheckedCreateWithoutRecipientShipInput>;
|
|
808
|
+
};
|
|
809
|
+
export type DeliveryUpdateWithWhereUniqueWithoutRecipientShipInput = {
|
|
810
|
+
where: Prisma.DeliveryWhereUniqueInput;
|
|
811
|
+
data: Prisma.XOR<Prisma.DeliveryUpdateWithoutRecipientShipInput, Prisma.DeliveryUncheckedUpdateWithoutRecipientShipInput>;
|
|
812
|
+
};
|
|
813
|
+
export type DeliveryUpdateManyWithWhereWithoutRecipientShipInput = {
|
|
814
|
+
where: Prisma.DeliveryScalarWhereInput;
|
|
815
|
+
data: Prisma.XOR<Prisma.DeliveryUpdateManyMutationInput, Prisma.DeliveryUncheckedUpdateManyWithoutRecipientShipInput>;
|
|
816
|
+
};
|
|
817
|
+
export type DeliveryUpsertWithWhereUniqueWithoutClaimedByShipInput = {
|
|
818
|
+
where: Prisma.DeliveryWhereUniqueInput;
|
|
819
|
+
update: Prisma.XOR<Prisma.DeliveryUpdateWithoutClaimedByShipInput, Prisma.DeliveryUncheckedUpdateWithoutClaimedByShipInput>;
|
|
820
|
+
create: Prisma.XOR<Prisma.DeliveryCreateWithoutClaimedByShipInput, Prisma.DeliveryUncheckedCreateWithoutClaimedByShipInput>;
|
|
821
|
+
};
|
|
822
|
+
export type DeliveryUpdateWithWhereUniqueWithoutClaimedByShipInput = {
|
|
823
|
+
where: Prisma.DeliveryWhereUniqueInput;
|
|
824
|
+
data: Prisma.XOR<Prisma.DeliveryUpdateWithoutClaimedByShipInput, Prisma.DeliveryUncheckedUpdateWithoutClaimedByShipInput>;
|
|
825
|
+
};
|
|
826
|
+
export type DeliveryUpdateManyWithWhereWithoutClaimedByShipInput = {
|
|
827
|
+
where: Prisma.DeliveryScalarWhereInput;
|
|
828
|
+
data: Prisma.XOR<Prisma.DeliveryUpdateManyMutationInput, Prisma.DeliveryUncheckedUpdateManyWithoutClaimedByShipInput>;
|
|
829
|
+
};
|
|
830
|
+
export type DeliveryCreateWithoutClaimedByLeaseInput = {
|
|
831
|
+
id: string;
|
|
832
|
+
recipientType?: string | null;
|
|
833
|
+
state?: $Enums.DeliveryState;
|
|
834
|
+
attempts?: number;
|
|
835
|
+
readAt?: Date | string | null;
|
|
836
|
+
createdAt: Date | string;
|
|
837
|
+
fleet: Prisma.FleetCreateNestedOneWithoutDeliveriesInput;
|
|
838
|
+
message: Prisma.MessageCreateNestedOneWithoutDeliveriesInput;
|
|
839
|
+
recipientShip?: Prisma.ShipCreateNestedOneWithoutDeliveriesInput;
|
|
840
|
+
claimedByShip?: Prisma.ShipCreateNestedOneWithoutClaimedDeliveriesInput;
|
|
841
|
+
events?: Prisma.EventCreateNestedManyWithoutDeliveryInput;
|
|
842
|
+
};
|
|
843
|
+
export type DeliveryUncheckedCreateWithoutClaimedByLeaseInput = {
|
|
844
|
+
id: string;
|
|
845
|
+
messageId: string;
|
|
846
|
+
recipientShipId?: string | null;
|
|
847
|
+
recipientType?: string | null;
|
|
848
|
+
state?: $Enums.DeliveryState;
|
|
849
|
+
claimedByShipId?: string | null;
|
|
850
|
+
attempts?: number;
|
|
851
|
+
readAt?: Date | string | null;
|
|
852
|
+
createdAt: Date | string;
|
|
853
|
+
events?: Prisma.EventUncheckedCreateNestedManyWithoutDeliveryInput;
|
|
854
|
+
};
|
|
855
|
+
export type DeliveryCreateOrConnectWithoutClaimedByLeaseInput = {
|
|
856
|
+
where: Prisma.DeliveryWhereUniqueInput;
|
|
857
|
+
create: Prisma.XOR<Prisma.DeliveryCreateWithoutClaimedByLeaseInput, Prisma.DeliveryUncheckedCreateWithoutClaimedByLeaseInput>;
|
|
858
|
+
};
|
|
859
|
+
export type DeliveryCreateManyClaimedByLeaseInputEnvelope = {
|
|
860
|
+
data: Prisma.DeliveryCreateManyClaimedByLeaseInput | Prisma.DeliveryCreateManyClaimedByLeaseInput[];
|
|
861
|
+
skipDuplicates?: boolean;
|
|
862
|
+
};
|
|
863
|
+
export type DeliveryUpsertWithWhereUniqueWithoutClaimedByLeaseInput = {
|
|
864
|
+
where: Prisma.DeliveryWhereUniqueInput;
|
|
865
|
+
update: Prisma.XOR<Prisma.DeliveryUpdateWithoutClaimedByLeaseInput, Prisma.DeliveryUncheckedUpdateWithoutClaimedByLeaseInput>;
|
|
866
|
+
create: Prisma.XOR<Prisma.DeliveryCreateWithoutClaimedByLeaseInput, Prisma.DeliveryUncheckedCreateWithoutClaimedByLeaseInput>;
|
|
867
|
+
};
|
|
868
|
+
export type DeliveryUpdateWithWhereUniqueWithoutClaimedByLeaseInput = {
|
|
869
|
+
where: Prisma.DeliveryWhereUniqueInput;
|
|
870
|
+
data: Prisma.XOR<Prisma.DeliveryUpdateWithoutClaimedByLeaseInput, Prisma.DeliveryUncheckedUpdateWithoutClaimedByLeaseInput>;
|
|
871
|
+
};
|
|
872
|
+
export type DeliveryUpdateManyWithWhereWithoutClaimedByLeaseInput = {
|
|
873
|
+
where: Prisma.DeliveryScalarWhereInput;
|
|
874
|
+
data: Prisma.XOR<Prisma.DeliveryUpdateManyMutationInput, Prisma.DeliveryUncheckedUpdateManyWithoutClaimedByLeaseInput>;
|
|
875
|
+
};
|
|
876
|
+
export type DeliveryCreateWithoutMessageInput = {
|
|
877
|
+
id: string;
|
|
878
|
+
recipientType?: string | null;
|
|
879
|
+
state?: $Enums.DeliveryState;
|
|
880
|
+
attempts?: number;
|
|
881
|
+
readAt?: Date | string | null;
|
|
882
|
+
createdAt: Date | string;
|
|
883
|
+
fleet: Prisma.FleetCreateNestedOneWithoutDeliveriesInput;
|
|
884
|
+
recipientShip?: Prisma.ShipCreateNestedOneWithoutDeliveriesInput;
|
|
885
|
+
claimedByShip?: Prisma.ShipCreateNestedOneWithoutClaimedDeliveriesInput;
|
|
886
|
+
claimedByLease?: Prisma.LeaseCreateNestedOneWithoutClaimedDeliveriesInput;
|
|
887
|
+
events?: Prisma.EventCreateNestedManyWithoutDeliveryInput;
|
|
888
|
+
};
|
|
889
|
+
export type DeliveryUncheckedCreateWithoutMessageInput = {
|
|
890
|
+
id: string;
|
|
891
|
+
recipientShipId?: string | null;
|
|
892
|
+
recipientType?: string | null;
|
|
893
|
+
state?: $Enums.DeliveryState;
|
|
894
|
+
claimedByShipId?: string | null;
|
|
895
|
+
claimedByLeaseId?: string | null;
|
|
896
|
+
attempts?: number;
|
|
897
|
+
readAt?: Date | string | null;
|
|
898
|
+
createdAt: Date | string;
|
|
899
|
+
events?: Prisma.EventUncheckedCreateNestedManyWithoutDeliveryInput;
|
|
900
|
+
};
|
|
901
|
+
export type DeliveryCreateOrConnectWithoutMessageInput = {
|
|
902
|
+
where: Prisma.DeliveryWhereUniqueInput;
|
|
903
|
+
create: Prisma.XOR<Prisma.DeliveryCreateWithoutMessageInput, Prisma.DeliveryUncheckedCreateWithoutMessageInput>;
|
|
904
|
+
};
|
|
905
|
+
export type DeliveryCreateManyMessageInputEnvelope = {
|
|
906
|
+
data: Prisma.DeliveryCreateManyMessageInput | Prisma.DeliveryCreateManyMessageInput[];
|
|
907
|
+
skipDuplicates?: boolean;
|
|
908
|
+
};
|
|
909
|
+
export type DeliveryUpsertWithWhereUniqueWithoutMessageInput = {
|
|
910
|
+
where: Prisma.DeliveryWhereUniqueInput;
|
|
911
|
+
update: Prisma.XOR<Prisma.DeliveryUpdateWithoutMessageInput, Prisma.DeliveryUncheckedUpdateWithoutMessageInput>;
|
|
912
|
+
create: Prisma.XOR<Prisma.DeliveryCreateWithoutMessageInput, Prisma.DeliveryUncheckedCreateWithoutMessageInput>;
|
|
913
|
+
};
|
|
914
|
+
export type DeliveryUpdateWithWhereUniqueWithoutMessageInput = {
|
|
915
|
+
where: Prisma.DeliveryWhereUniqueInput;
|
|
916
|
+
data: Prisma.XOR<Prisma.DeliveryUpdateWithoutMessageInput, Prisma.DeliveryUncheckedUpdateWithoutMessageInput>;
|
|
917
|
+
};
|
|
918
|
+
export type DeliveryUpdateManyWithWhereWithoutMessageInput = {
|
|
919
|
+
where: Prisma.DeliveryScalarWhereInput;
|
|
920
|
+
data: Prisma.XOR<Prisma.DeliveryUpdateManyMutationInput, Prisma.DeliveryUncheckedUpdateManyWithoutMessageInput>;
|
|
921
|
+
};
|
|
922
|
+
export type DeliveryCreateWithoutEventsInput = {
|
|
923
|
+
id: string;
|
|
924
|
+
recipientType?: string | null;
|
|
925
|
+
state?: $Enums.DeliveryState;
|
|
926
|
+
attempts?: number;
|
|
927
|
+
readAt?: Date | string | null;
|
|
928
|
+
createdAt: Date | string;
|
|
929
|
+
fleet: Prisma.FleetCreateNestedOneWithoutDeliveriesInput;
|
|
930
|
+
message: Prisma.MessageCreateNestedOneWithoutDeliveriesInput;
|
|
931
|
+
recipientShip?: Prisma.ShipCreateNestedOneWithoutDeliveriesInput;
|
|
932
|
+
claimedByShip?: Prisma.ShipCreateNestedOneWithoutClaimedDeliveriesInput;
|
|
933
|
+
claimedByLease?: Prisma.LeaseCreateNestedOneWithoutClaimedDeliveriesInput;
|
|
934
|
+
};
|
|
935
|
+
export type DeliveryUncheckedCreateWithoutEventsInput = {
|
|
936
|
+
id: string;
|
|
937
|
+
fleetId: string;
|
|
938
|
+
messageId: string;
|
|
939
|
+
recipientShipId?: string | null;
|
|
940
|
+
recipientType?: string | null;
|
|
941
|
+
state?: $Enums.DeliveryState;
|
|
942
|
+
claimedByShipId?: string | null;
|
|
943
|
+
claimedByLeaseId?: string | null;
|
|
944
|
+
attempts?: number;
|
|
945
|
+
readAt?: Date | string | null;
|
|
946
|
+
createdAt: Date | string;
|
|
947
|
+
};
|
|
948
|
+
export type DeliveryCreateOrConnectWithoutEventsInput = {
|
|
949
|
+
where: Prisma.DeliveryWhereUniqueInput;
|
|
950
|
+
create: Prisma.XOR<Prisma.DeliveryCreateWithoutEventsInput, Prisma.DeliveryUncheckedCreateWithoutEventsInput>;
|
|
951
|
+
};
|
|
952
|
+
export type DeliveryUpsertWithoutEventsInput = {
|
|
953
|
+
update: Prisma.XOR<Prisma.DeliveryUpdateWithoutEventsInput, Prisma.DeliveryUncheckedUpdateWithoutEventsInput>;
|
|
954
|
+
create: Prisma.XOR<Prisma.DeliveryCreateWithoutEventsInput, Prisma.DeliveryUncheckedCreateWithoutEventsInput>;
|
|
955
|
+
where?: Prisma.DeliveryWhereInput;
|
|
956
|
+
};
|
|
957
|
+
export type DeliveryUpdateToOneWithWhereWithoutEventsInput = {
|
|
958
|
+
where?: Prisma.DeliveryWhereInput;
|
|
959
|
+
data: Prisma.XOR<Prisma.DeliveryUpdateWithoutEventsInput, Prisma.DeliveryUncheckedUpdateWithoutEventsInput>;
|
|
960
|
+
};
|
|
961
|
+
export type DeliveryUpdateWithoutEventsInput = {
|
|
962
|
+
id?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
963
|
+
recipientType?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
964
|
+
state?: Prisma.EnumDeliveryStateFieldUpdateOperationsInput | $Enums.DeliveryState;
|
|
965
|
+
attempts?: Prisma.IntFieldUpdateOperationsInput | number;
|
|
966
|
+
readAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
|
|
967
|
+
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
968
|
+
fleet?: Prisma.FleetUpdateOneRequiredWithoutDeliveriesNestedInput;
|
|
969
|
+
message?: Prisma.MessageUpdateOneRequiredWithoutDeliveriesNestedInput;
|
|
970
|
+
recipientShip?: Prisma.ShipUpdateOneWithoutDeliveriesNestedInput;
|
|
971
|
+
claimedByShip?: Prisma.ShipUpdateOneWithoutClaimedDeliveriesNestedInput;
|
|
972
|
+
claimedByLease?: Prisma.LeaseUpdateOneWithoutClaimedDeliveriesNestedInput;
|
|
973
|
+
};
|
|
974
|
+
export type DeliveryUncheckedUpdateWithoutEventsInput = {
|
|
975
|
+
id?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
976
|
+
fleetId?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
977
|
+
messageId?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
978
|
+
recipientShipId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
979
|
+
recipientType?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
980
|
+
state?: Prisma.EnumDeliveryStateFieldUpdateOperationsInput | $Enums.DeliveryState;
|
|
981
|
+
claimedByShipId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
982
|
+
claimedByLeaseId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
983
|
+
attempts?: Prisma.IntFieldUpdateOperationsInput | number;
|
|
984
|
+
readAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
|
|
985
|
+
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
986
|
+
};
|
|
987
|
+
export type DeliveryCreateManyFleetInput = {
|
|
988
|
+
id: string;
|
|
989
|
+
messageId: string;
|
|
990
|
+
recipientShipId?: string | null;
|
|
991
|
+
recipientType?: string | null;
|
|
992
|
+
state?: $Enums.DeliveryState;
|
|
993
|
+
claimedByShipId?: string | null;
|
|
994
|
+
claimedByLeaseId?: string | null;
|
|
995
|
+
attempts?: number;
|
|
996
|
+
readAt?: Date | string | null;
|
|
997
|
+
createdAt: Date | string;
|
|
998
|
+
};
|
|
999
|
+
export type DeliveryUpdateWithoutFleetInput = {
|
|
1000
|
+
id?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
1001
|
+
recipientType?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
1002
|
+
state?: Prisma.EnumDeliveryStateFieldUpdateOperationsInput | $Enums.DeliveryState;
|
|
1003
|
+
attempts?: Prisma.IntFieldUpdateOperationsInput | number;
|
|
1004
|
+
readAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
|
|
1005
|
+
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
1006
|
+
message?: Prisma.MessageUpdateOneRequiredWithoutDeliveriesNestedInput;
|
|
1007
|
+
recipientShip?: Prisma.ShipUpdateOneWithoutDeliveriesNestedInput;
|
|
1008
|
+
claimedByShip?: Prisma.ShipUpdateOneWithoutClaimedDeliveriesNestedInput;
|
|
1009
|
+
claimedByLease?: Prisma.LeaseUpdateOneWithoutClaimedDeliveriesNestedInput;
|
|
1010
|
+
events?: Prisma.EventUpdateManyWithoutDeliveryNestedInput;
|
|
1011
|
+
};
|
|
1012
|
+
export type DeliveryUncheckedUpdateWithoutFleetInput = {
|
|
1013
|
+
id?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
1014
|
+
messageId?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
1015
|
+
recipientShipId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
1016
|
+
recipientType?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
1017
|
+
state?: Prisma.EnumDeliveryStateFieldUpdateOperationsInput | $Enums.DeliveryState;
|
|
1018
|
+
claimedByShipId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
1019
|
+
claimedByLeaseId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
1020
|
+
attempts?: Prisma.IntFieldUpdateOperationsInput | number;
|
|
1021
|
+
readAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
|
|
1022
|
+
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
1023
|
+
events?: Prisma.EventUncheckedUpdateManyWithoutDeliveryNestedInput;
|
|
1024
|
+
};
|
|
1025
|
+
export type DeliveryUncheckedUpdateManyWithoutFleetInput = {
|
|
1026
|
+
id?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
1027
|
+
messageId?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
1028
|
+
recipientShipId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
1029
|
+
recipientType?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
1030
|
+
state?: Prisma.EnumDeliveryStateFieldUpdateOperationsInput | $Enums.DeliveryState;
|
|
1031
|
+
claimedByShipId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
1032
|
+
claimedByLeaseId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
1033
|
+
attempts?: Prisma.IntFieldUpdateOperationsInput | number;
|
|
1034
|
+
readAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
|
|
1035
|
+
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
1036
|
+
};
|
|
1037
|
+
export type DeliveryCreateManyRecipientShipInput = {
|
|
1038
|
+
id: string;
|
|
1039
|
+
messageId: string;
|
|
1040
|
+
recipientType?: string | null;
|
|
1041
|
+
state?: $Enums.DeliveryState;
|
|
1042
|
+
claimedByShipId?: string | null;
|
|
1043
|
+
claimedByLeaseId?: string | null;
|
|
1044
|
+
attempts?: number;
|
|
1045
|
+
readAt?: Date | string | null;
|
|
1046
|
+
createdAt: Date | string;
|
|
1047
|
+
};
|
|
1048
|
+
export type DeliveryCreateManyClaimedByShipInput = {
|
|
1049
|
+
id: string;
|
|
1050
|
+
messageId: string;
|
|
1051
|
+
recipientShipId?: string | null;
|
|
1052
|
+
recipientType?: string | null;
|
|
1053
|
+
state?: $Enums.DeliveryState;
|
|
1054
|
+
claimedByLeaseId?: string | null;
|
|
1055
|
+
attempts?: number;
|
|
1056
|
+
readAt?: Date | string | null;
|
|
1057
|
+
createdAt: Date | string;
|
|
1058
|
+
};
|
|
1059
|
+
export type DeliveryUpdateWithoutRecipientShipInput = {
|
|
1060
|
+
id?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
1061
|
+
recipientType?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
1062
|
+
state?: Prisma.EnumDeliveryStateFieldUpdateOperationsInput | $Enums.DeliveryState;
|
|
1063
|
+
attempts?: Prisma.IntFieldUpdateOperationsInput | number;
|
|
1064
|
+
readAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
|
|
1065
|
+
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
1066
|
+
fleet?: Prisma.FleetUpdateOneRequiredWithoutDeliveriesNestedInput;
|
|
1067
|
+
message?: Prisma.MessageUpdateOneRequiredWithoutDeliveriesNestedInput;
|
|
1068
|
+
claimedByShip?: Prisma.ShipUpdateOneWithoutClaimedDeliveriesNestedInput;
|
|
1069
|
+
claimedByLease?: Prisma.LeaseUpdateOneWithoutClaimedDeliveriesNestedInput;
|
|
1070
|
+
events?: Prisma.EventUpdateManyWithoutDeliveryNestedInput;
|
|
1071
|
+
};
|
|
1072
|
+
export type DeliveryUncheckedUpdateWithoutRecipientShipInput = {
|
|
1073
|
+
id?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
1074
|
+
messageId?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
1075
|
+
recipientType?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
1076
|
+
state?: Prisma.EnumDeliveryStateFieldUpdateOperationsInput | $Enums.DeliveryState;
|
|
1077
|
+
claimedByShipId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
1078
|
+
claimedByLeaseId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
1079
|
+
attempts?: Prisma.IntFieldUpdateOperationsInput | number;
|
|
1080
|
+
readAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
|
|
1081
|
+
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
1082
|
+
events?: Prisma.EventUncheckedUpdateManyWithoutDeliveryNestedInput;
|
|
1083
|
+
};
|
|
1084
|
+
export type DeliveryUncheckedUpdateManyWithoutRecipientShipInput = {
|
|
1085
|
+
id?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
1086
|
+
messageId?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
1087
|
+
recipientType?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
1088
|
+
state?: Prisma.EnumDeliveryStateFieldUpdateOperationsInput | $Enums.DeliveryState;
|
|
1089
|
+
claimedByShipId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
1090
|
+
claimedByLeaseId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
1091
|
+
attempts?: Prisma.IntFieldUpdateOperationsInput | number;
|
|
1092
|
+
readAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
|
|
1093
|
+
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
1094
|
+
};
|
|
1095
|
+
export type DeliveryUpdateWithoutClaimedByShipInput = {
|
|
1096
|
+
id?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
1097
|
+
recipientType?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
1098
|
+
state?: Prisma.EnumDeliveryStateFieldUpdateOperationsInput | $Enums.DeliveryState;
|
|
1099
|
+
attempts?: Prisma.IntFieldUpdateOperationsInput | number;
|
|
1100
|
+
readAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
|
|
1101
|
+
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
1102
|
+
fleet?: Prisma.FleetUpdateOneRequiredWithoutDeliveriesNestedInput;
|
|
1103
|
+
message?: Prisma.MessageUpdateOneRequiredWithoutDeliveriesNestedInput;
|
|
1104
|
+
recipientShip?: Prisma.ShipUpdateOneWithoutDeliveriesNestedInput;
|
|
1105
|
+
claimedByLease?: Prisma.LeaseUpdateOneWithoutClaimedDeliveriesNestedInput;
|
|
1106
|
+
events?: Prisma.EventUpdateManyWithoutDeliveryNestedInput;
|
|
1107
|
+
};
|
|
1108
|
+
export type DeliveryUncheckedUpdateWithoutClaimedByShipInput = {
|
|
1109
|
+
id?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
1110
|
+
messageId?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
1111
|
+
recipientShipId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
1112
|
+
recipientType?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
1113
|
+
state?: Prisma.EnumDeliveryStateFieldUpdateOperationsInput | $Enums.DeliveryState;
|
|
1114
|
+
claimedByLeaseId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
1115
|
+
attempts?: Prisma.IntFieldUpdateOperationsInput | number;
|
|
1116
|
+
readAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
|
|
1117
|
+
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
1118
|
+
events?: Prisma.EventUncheckedUpdateManyWithoutDeliveryNestedInput;
|
|
1119
|
+
};
|
|
1120
|
+
export type DeliveryUncheckedUpdateManyWithoutClaimedByShipInput = {
|
|
1121
|
+
id?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
1122
|
+
messageId?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
1123
|
+
recipientShipId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
1124
|
+
recipientType?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
1125
|
+
state?: Prisma.EnumDeliveryStateFieldUpdateOperationsInput | $Enums.DeliveryState;
|
|
1126
|
+
claimedByLeaseId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
1127
|
+
attempts?: Prisma.IntFieldUpdateOperationsInput | number;
|
|
1128
|
+
readAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
|
|
1129
|
+
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
1130
|
+
};
|
|
1131
|
+
export type DeliveryCreateManyClaimedByLeaseInput = {
|
|
1132
|
+
id: string;
|
|
1133
|
+
messageId: string;
|
|
1134
|
+
recipientShipId?: string | null;
|
|
1135
|
+
recipientType?: string | null;
|
|
1136
|
+
state?: $Enums.DeliveryState;
|
|
1137
|
+
claimedByShipId?: string | null;
|
|
1138
|
+
attempts?: number;
|
|
1139
|
+
readAt?: Date | string | null;
|
|
1140
|
+
createdAt: Date | string;
|
|
1141
|
+
};
|
|
1142
|
+
export type DeliveryUpdateWithoutClaimedByLeaseInput = {
|
|
1143
|
+
id?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
1144
|
+
recipientType?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
1145
|
+
state?: Prisma.EnumDeliveryStateFieldUpdateOperationsInput | $Enums.DeliveryState;
|
|
1146
|
+
attempts?: Prisma.IntFieldUpdateOperationsInput | number;
|
|
1147
|
+
readAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
|
|
1148
|
+
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
1149
|
+
fleet?: Prisma.FleetUpdateOneRequiredWithoutDeliveriesNestedInput;
|
|
1150
|
+
message?: Prisma.MessageUpdateOneRequiredWithoutDeliveriesNestedInput;
|
|
1151
|
+
recipientShip?: Prisma.ShipUpdateOneWithoutDeliveriesNestedInput;
|
|
1152
|
+
claimedByShip?: Prisma.ShipUpdateOneWithoutClaimedDeliveriesNestedInput;
|
|
1153
|
+
events?: Prisma.EventUpdateManyWithoutDeliveryNestedInput;
|
|
1154
|
+
};
|
|
1155
|
+
export type DeliveryUncheckedUpdateWithoutClaimedByLeaseInput = {
|
|
1156
|
+
id?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
1157
|
+
messageId?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
1158
|
+
recipientShipId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
1159
|
+
recipientType?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
1160
|
+
state?: Prisma.EnumDeliveryStateFieldUpdateOperationsInput | $Enums.DeliveryState;
|
|
1161
|
+
claimedByShipId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
1162
|
+
attempts?: Prisma.IntFieldUpdateOperationsInput | number;
|
|
1163
|
+
readAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
|
|
1164
|
+
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
1165
|
+
events?: Prisma.EventUncheckedUpdateManyWithoutDeliveryNestedInput;
|
|
1166
|
+
};
|
|
1167
|
+
export type DeliveryUncheckedUpdateManyWithoutClaimedByLeaseInput = {
|
|
1168
|
+
id?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
1169
|
+
messageId?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
1170
|
+
recipientShipId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
1171
|
+
recipientType?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
1172
|
+
state?: Prisma.EnumDeliveryStateFieldUpdateOperationsInput | $Enums.DeliveryState;
|
|
1173
|
+
claimedByShipId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
1174
|
+
attempts?: Prisma.IntFieldUpdateOperationsInput | number;
|
|
1175
|
+
readAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
|
|
1176
|
+
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
1177
|
+
};
|
|
1178
|
+
export type DeliveryCreateManyMessageInput = {
|
|
1179
|
+
id: string;
|
|
1180
|
+
recipientShipId?: string | null;
|
|
1181
|
+
recipientType?: string | null;
|
|
1182
|
+
state?: $Enums.DeliveryState;
|
|
1183
|
+
claimedByShipId?: string | null;
|
|
1184
|
+
claimedByLeaseId?: string | null;
|
|
1185
|
+
attempts?: number;
|
|
1186
|
+
readAt?: Date | string | null;
|
|
1187
|
+
createdAt: Date | string;
|
|
1188
|
+
};
|
|
1189
|
+
export type DeliveryUpdateWithoutMessageInput = {
|
|
1190
|
+
id?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
1191
|
+
recipientType?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
1192
|
+
state?: Prisma.EnumDeliveryStateFieldUpdateOperationsInput | $Enums.DeliveryState;
|
|
1193
|
+
attempts?: Prisma.IntFieldUpdateOperationsInput | number;
|
|
1194
|
+
readAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
|
|
1195
|
+
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
1196
|
+
fleet?: Prisma.FleetUpdateOneRequiredWithoutDeliveriesNestedInput;
|
|
1197
|
+
recipientShip?: Prisma.ShipUpdateOneWithoutDeliveriesNestedInput;
|
|
1198
|
+
claimedByShip?: Prisma.ShipUpdateOneWithoutClaimedDeliveriesNestedInput;
|
|
1199
|
+
claimedByLease?: Prisma.LeaseUpdateOneWithoutClaimedDeliveriesNestedInput;
|
|
1200
|
+
events?: Prisma.EventUpdateManyWithoutDeliveryNestedInput;
|
|
1201
|
+
};
|
|
1202
|
+
export type DeliveryUncheckedUpdateWithoutMessageInput = {
|
|
1203
|
+
id?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
1204
|
+
recipientShipId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
1205
|
+
recipientType?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
1206
|
+
state?: Prisma.EnumDeliveryStateFieldUpdateOperationsInput | $Enums.DeliveryState;
|
|
1207
|
+
claimedByShipId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
1208
|
+
claimedByLeaseId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
1209
|
+
attempts?: Prisma.IntFieldUpdateOperationsInput | number;
|
|
1210
|
+
readAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
|
|
1211
|
+
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
1212
|
+
events?: Prisma.EventUncheckedUpdateManyWithoutDeliveryNestedInput;
|
|
1213
|
+
};
|
|
1214
|
+
export type DeliveryUncheckedUpdateManyWithoutMessageInput = {
|
|
1215
|
+
id?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
1216
|
+
recipientShipId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
1217
|
+
recipientType?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
1218
|
+
state?: Prisma.EnumDeliveryStateFieldUpdateOperationsInput | $Enums.DeliveryState;
|
|
1219
|
+
claimedByShipId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
1220
|
+
claimedByLeaseId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
1221
|
+
attempts?: Prisma.IntFieldUpdateOperationsInput | number;
|
|
1222
|
+
readAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
|
|
1223
|
+
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
1224
|
+
};
|
|
1225
|
+
/**
|
|
1226
|
+
* Count Type DeliveryCountOutputType
|
|
1227
|
+
*/
|
|
1228
|
+
export type DeliveryCountOutputType = {
|
|
1229
|
+
events: number;
|
|
1230
|
+
};
|
|
1231
|
+
export type DeliveryCountOutputTypeSelect<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1232
|
+
events?: boolean | DeliveryCountOutputTypeCountEventsArgs;
|
|
1233
|
+
};
|
|
1234
|
+
/**
|
|
1235
|
+
* DeliveryCountOutputType without action
|
|
1236
|
+
*/
|
|
1237
|
+
export type DeliveryCountOutputTypeDefaultArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1238
|
+
/**
|
|
1239
|
+
* Select specific fields to fetch from the DeliveryCountOutputType
|
|
1240
|
+
*/
|
|
1241
|
+
select?: Prisma.DeliveryCountOutputTypeSelect<ExtArgs> | null;
|
|
1242
|
+
};
|
|
1243
|
+
/**
|
|
1244
|
+
* DeliveryCountOutputType without action
|
|
1245
|
+
*/
|
|
1246
|
+
export type DeliveryCountOutputTypeCountEventsArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1247
|
+
where?: Prisma.EventWhereInput;
|
|
1248
|
+
};
|
|
1249
|
+
export type DeliverySelect<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetSelect<{
|
|
1250
|
+
id?: boolean;
|
|
1251
|
+
fleetId?: boolean;
|
|
1252
|
+
messageId?: boolean;
|
|
1253
|
+
recipientShipId?: boolean;
|
|
1254
|
+
recipientType?: boolean;
|
|
1255
|
+
state?: boolean;
|
|
1256
|
+
claimedByShipId?: boolean;
|
|
1257
|
+
claimedByLeaseId?: boolean;
|
|
1258
|
+
attempts?: boolean;
|
|
1259
|
+
readAt?: boolean;
|
|
1260
|
+
createdAt?: boolean;
|
|
1261
|
+
fleet?: boolean | Prisma.FleetDefaultArgs<ExtArgs>;
|
|
1262
|
+
message?: boolean | Prisma.MessageDefaultArgs<ExtArgs>;
|
|
1263
|
+
recipientShip?: boolean | Prisma.Delivery$recipientShipArgs<ExtArgs>;
|
|
1264
|
+
claimedByShip?: boolean | Prisma.Delivery$claimedByShipArgs<ExtArgs>;
|
|
1265
|
+
claimedByLease?: boolean | Prisma.Delivery$claimedByLeaseArgs<ExtArgs>;
|
|
1266
|
+
events?: boolean | Prisma.Delivery$eventsArgs<ExtArgs>;
|
|
1267
|
+
_count?: boolean | Prisma.DeliveryCountOutputTypeDefaultArgs<ExtArgs>;
|
|
1268
|
+
}, ExtArgs["result"]["delivery"]>;
|
|
1269
|
+
export type DeliverySelectCreateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetSelect<{
|
|
1270
|
+
id?: boolean;
|
|
1271
|
+
fleetId?: boolean;
|
|
1272
|
+
messageId?: boolean;
|
|
1273
|
+
recipientShipId?: boolean;
|
|
1274
|
+
recipientType?: boolean;
|
|
1275
|
+
state?: boolean;
|
|
1276
|
+
claimedByShipId?: boolean;
|
|
1277
|
+
claimedByLeaseId?: boolean;
|
|
1278
|
+
attempts?: boolean;
|
|
1279
|
+
readAt?: boolean;
|
|
1280
|
+
createdAt?: boolean;
|
|
1281
|
+
fleet?: boolean | Prisma.FleetDefaultArgs<ExtArgs>;
|
|
1282
|
+
message?: boolean | Prisma.MessageDefaultArgs<ExtArgs>;
|
|
1283
|
+
recipientShip?: boolean | Prisma.Delivery$recipientShipArgs<ExtArgs>;
|
|
1284
|
+
claimedByShip?: boolean | Prisma.Delivery$claimedByShipArgs<ExtArgs>;
|
|
1285
|
+
claimedByLease?: boolean | Prisma.Delivery$claimedByLeaseArgs<ExtArgs>;
|
|
1286
|
+
}, ExtArgs["result"]["delivery"]>;
|
|
1287
|
+
export type DeliverySelectUpdateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetSelect<{
|
|
1288
|
+
id?: boolean;
|
|
1289
|
+
fleetId?: boolean;
|
|
1290
|
+
messageId?: boolean;
|
|
1291
|
+
recipientShipId?: boolean;
|
|
1292
|
+
recipientType?: boolean;
|
|
1293
|
+
state?: boolean;
|
|
1294
|
+
claimedByShipId?: boolean;
|
|
1295
|
+
claimedByLeaseId?: boolean;
|
|
1296
|
+
attempts?: boolean;
|
|
1297
|
+
readAt?: boolean;
|
|
1298
|
+
createdAt?: boolean;
|
|
1299
|
+
fleet?: boolean | Prisma.FleetDefaultArgs<ExtArgs>;
|
|
1300
|
+
message?: boolean | Prisma.MessageDefaultArgs<ExtArgs>;
|
|
1301
|
+
recipientShip?: boolean | Prisma.Delivery$recipientShipArgs<ExtArgs>;
|
|
1302
|
+
claimedByShip?: boolean | Prisma.Delivery$claimedByShipArgs<ExtArgs>;
|
|
1303
|
+
claimedByLease?: boolean | Prisma.Delivery$claimedByLeaseArgs<ExtArgs>;
|
|
1304
|
+
}, ExtArgs["result"]["delivery"]>;
|
|
1305
|
+
export type DeliverySelectScalar = {
|
|
1306
|
+
id?: boolean;
|
|
1307
|
+
fleetId?: boolean;
|
|
1308
|
+
messageId?: boolean;
|
|
1309
|
+
recipientShipId?: boolean;
|
|
1310
|
+
recipientType?: boolean;
|
|
1311
|
+
state?: boolean;
|
|
1312
|
+
claimedByShipId?: boolean;
|
|
1313
|
+
claimedByLeaseId?: boolean;
|
|
1314
|
+
attempts?: boolean;
|
|
1315
|
+
readAt?: boolean;
|
|
1316
|
+
createdAt?: boolean;
|
|
1317
|
+
};
|
|
1318
|
+
export type DeliveryOmit<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetOmit<"id" | "fleetId" | "messageId" | "recipientShipId" | "recipientType" | "state" | "claimedByShipId" | "claimedByLeaseId" | "attempts" | "readAt" | "createdAt", ExtArgs["result"]["delivery"]>;
|
|
1319
|
+
export type DeliveryInclude<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1320
|
+
fleet?: boolean | Prisma.FleetDefaultArgs<ExtArgs>;
|
|
1321
|
+
message?: boolean | Prisma.MessageDefaultArgs<ExtArgs>;
|
|
1322
|
+
recipientShip?: boolean | Prisma.Delivery$recipientShipArgs<ExtArgs>;
|
|
1323
|
+
claimedByShip?: boolean | Prisma.Delivery$claimedByShipArgs<ExtArgs>;
|
|
1324
|
+
claimedByLease?: boolean | Prisma.Delivery$claimedByLeaseArgs<ExtArgs>;
|
|
1325
|
+
events?: boolean | Prisma.Delivery$eventsArgs<ExtArgs>;
|
|
1326
|
+
_count?: boolean | Prisma.DeliveryCountOutputTypeDefaultArgs<ExtArgs>;
|
|
1327
|
+
};
|
|
1328
|
+
export type DeliveryIncludeCreateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1329
|
+
fleet?: boolean | Prisma.FleetDefaultArgs<ExtArgs>;
|
|
1330
|
+
message?: boolean | Prisma.MessageDefaultArgs<ExtArgs>;
|
|
1331
|
+
recipientShip?: boolean | Prisma.Delivery$recipientShipArgs<ExtArgs>;
|
|
1332
|
+
claimedByShip?: boolean | Prisma.Delivery$claimedByShipArgs<ExtArgs>;
|
|
1333
|
+
claimedByLease?: boolean | Prisma.Delivery$claimedByLeaseArgs<ExtArgs>;
|
|
1334
|
+
};
|
|
1335
|
+
export type DeliveryIncludeUpdateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1336
|
+
fleet?: boolean | Prisma.FleetDefaultArgs<ExtArgs>;
|
|
1337
|
+
message?: boolean | Prisma.MessageDefaultArgs<ExtArgs>;
|
|
1338
|
+
recipientShip?: boolean | Prisma.Delivery$recipientShipArgs<ExtArgs>;
|
|
1339
|
+
claimedByShip?: boolean | Prisma.Delivery$claimedByShipArgs<ExtArgs>;
|
|
1340
|
+
claimedByLease?: boolean | Prisma.Delivery$claimedByLeaseArgs<ExtArgs>;
|
|
1341
|
+
};
|
|
1342
|
+
export type $DeliveryPayload<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1343
|
+
name: "Delivery";
|
|
1344
|
+
objects: {
|
|
1345
|
+
fleet: Prisma.$FleetPayload<ExtArgs>;
|
|
1346
|
+
message: Prisma.$MessagePayload<ExtArgs>;
|
|
1347
|
+
recipientShip: Prisma.$ShipPayload<ExtArgs> | null;
|
|
1348
|
+
claimedByShip: Prisma.$ShipPayload<ExtArgs> | null;
|
|
1349
|
+
claimedByLease: Prisma.$LeasePayload<ExtArgs> | null;
|
|
1350
|
+
events: Prisma.$EventPayload<ExtArgs>[];
|
|
1351
|
+
};
|
|
1352
|
+
scalars: runtime.Types.Extensions.GetPayloadResult<{
|
|
1353
|
+
id: string;
|
|
1354
|
+
fleetId: string;
|
|
1355
|
+
messageId: string;
|
|
1356
|
+
recipientShipId: string | null;
|
|
1357
|
+
recipientType: string | null;
|
|
1358
|
+
state: $Enums.DeliveryState;
|
|
1359
|
+
claimedByShipId: string | null;
|
|
1360
|
+
claimedByLeaseId: string | null;
|
|
1361
|
+
attempts: number;
|
|
1362
|
+
readAt: Date | null;
|
|
1363
|
+
createdAt: Date;
|
|
1364
|
+
}, ExtArgs["result"]["delivery"]>;
|
|
1365
|
+
composites: {};
|
|
1366
|
+
};
|
|
1367
|
+
export type DeliveryGetPayload<S extends boolean | null | undefined | DeliveryDefaultArgs> = runtime.Types.Result.GetResult<Prisma.$DeliveryPayload, S>;
|
|
1368
|
+
export type DeliveryCountArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = Omit<DeliveryFindManyArgs, 'select' | 'include' | 'distinct' | 'omit'> & {
|
|
1369
|
+
select?: DeliveryCountAggregateInputType | true;
|
|
1370
|
+
};
|
|
1371
|
+
export interface DeliveryDelegate<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs, GlobalOmitOptions = {}> {
|
|
1372
|
+
[K: symbol]: {
|
|
1373
|
+
types: Prisma.TypeMap<ExtArgs>['model']['Delivery'];
|
|
1374
|
+
meta: {
|
|
1375
|
+
name: 'Delivery';
|
|
1376
|
+
};
|
|
1377
|
+
};
|
|
1378
|
+
/**
|
|
1379
|
+
* Find zero or one Delivery that matches the filter.
|
|
1380
|
+
* @param {DeliveryFindUniqueArgs} args - Arguments to find a Delivery
|
|
1381
|
+
* @example
|
|
1382
|
+
* // Get one Delivery
|
|
1383
|
+
* const delivery = await prisma.delivery.findUnique({
|
|
1384
|
+
* where: {
|
|
1385
|
+
* // ... provide filter here
|
|
1386
|
+
* }
|
|
1387
|
+
* })
|
|
1388
|
+
*/
|
|
1389
|
+
findUnique<T extends DeliveryFindUniqueArgs>(args: Prisma.SelectSubset<T, DeliveryFindUniqueArgs<ExtArgs>>): Prisma.Prisma__DeliveryClient<runtime.Types.Result.GetResult<Prisma.$DeliveryPayload<ExtArgs>, T, "findUnique", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions>;
|
|
1390
|
+
/**
|
|
1391
|
+
* Find one Delivery that matches the filter or throw an error with `error.code='P2025'`
|
|
1392
|
+
* if no matches were found.
|
|
1393
|
+
* @param {DeliveryFindUniqueOrThrowArgs} args - Arguments to find a Delivery
|
|
1394
|
+
* @example
|
|
1395
|
+
* // Get one Delivery
|
|
1396
|
+
* const delivery = await prisma.delivery.findUniqueOrThrow({
|
|
1397
|
+
* where: {
|
|
1398
|
+
* // ... provide filter here
|
|
1399
|
+
* }
|
|
1400
|
+
* })
|
|
1401
|
+
*/
|
|
1402
|
+
findUniqueOrThrow<T extends DeliveryFindUniqueOrThrowArgs>(args: Prisma.SelectSubset<T, DeliveryFindUniqueOrThrowArgs<ExtArgs>>): Prisma.Prisma__DeliveryClient<runtime.Types.Result.GetResult<Prisma.$DeliveryPayload<ExtArgs>, T, "findUniqueOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>;
|
|
1403
|
+
/**
|
|
1404
|
+
* Find the first Delivery that matches the filter.
|
|
1405
|
+
* Note, that providing `undefined` is treated as the value not being there.
|
|
1406
|
+
* Read more here: https://pris.ly/d/null-undefined
|
|
1407
|
+
* @param {DeliveryFindFirstArgs} args - Arguments to find a Delivery
|
|
1408
|
+
* @example
|
|
1409
|
+
* // Get one Delivery
|
|
1410
|
+
* const delivery = await prisma.delivery.findFirst({
|
|
1411
|
+
* where: {
|
|
1412
|
+
* // ... provide filter here
|
|
1413
|
+
* }
|
|
1414
|
+
* })
|
|
1415
|
+
*/
|
|
1416
|
+
findFirst<T extends DeliveryFindFirstArgs>(args?: Prisma.SelectSubset<T, DeliveryFindFirstArgs<ExtArgs>>): Prisma.Prisma__DeliveryClient<runtime.Types.Result.GetResult<Prisma.$DeliveryPayload<ExtArgs>, T, "findFirst", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions>;
|
|
1417
|
+
/**
|
|
1418
|
+
* Find the first Delivery that matches the filter or
|
|
1419
|
+
* throw `PrismaKnownClientError` with `P2025` code if no matches were found.
|
|
1420
|
+
* Note, that providing `undefined` is treated as the value not being there.
|
|
1421
|
+
* Read more here: https://pris.ly/d/null-undefined
|
|
1422
|
+
* @param {DeliveryFindFirstOrThrowArgs} args - Arguments to find a Delivery
|
|
1423
|
+
* @example
|
|
1424
|
+
* // Get one Delivery
|
|
1425
|
+
* const delivery = await prisma.delivery.findFirstOrThrow({
|
|
1426
|
+
* where: {
|
|
1427
|
+
* // ... provide filter here
|
|
1428
|
+
* }
|
|
1429
|
+
* })
|
|
1430
|
+
*/
|
|
1431
|
+
findFirstOrThrow<T extends DeliveryFindFirstOrThrowArgs>(args?: Prisma.SelectSubset<T, DeliveryFindFirstOrThrowArgs<ExtArgs>>): Prisma.Prisma__DeliveryClient<runtime.Types.Result.GetResult<Prisma.$DeliveryPayload<ExtArgs>, T, "findFirstOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>;
|
|
1432
|
+
/**
|
|
1433
|
+
* Find zero or more Deliveries that matches the filter.
|
|
1434
|
+
* Note, that providing `undefined` is treated as the value not being there.
|
|
1435
|
+
* Read more here: https://pris.ly/d/null-undefined
|
|
1436
|
+
* @param {DeliveryFindManyArgs} args - Arguments to filter and select certain fields only.
|
|
1437
|
+
* @example
|
|
1438
|
+
* // Get all Deliveries
|
|
1439
|
+
* const deliveries = await prisma.delivery.findMany()
|
|
1440
|
+
*
|
|
1441
|
+
* // Get first 10 Deliveries
|
|
1442
|
+
* const deliveries = await prisma.delivery.findMany({ take: 10 })
|
|
1443
|
+
*
|
|
1444
|
+
* // Only select the `id`
|
|
1445
|
+
* const deliveryWithIdOnly = await prisma.delivery.findMany({ select: { id: true } })
|
|
1446
|
+
*
|
|
1447
|
+
*/
|
|
1448
|
+
findMany<T extends DeliveryFindManyArgs>(args?: Prisma.SelectSubset<T, DeliveryFindManyArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$DeliveryPayload<ExtArgs>, T, "findMany", GlobalOmitOptions>>;
|
|
1449
|
+
/**
|
|
1450
|
+
* Create a Delivery.
|
|
1451
|
+
* @param {DeliveryCreateArgs} args - Arguments to create a Delivery.
|
|
1452
|
+
* @example
|
|
1453
|
+
* // Create one Delivery
|
|
1454
|
+
* const Delivery = await prisma.delivery.create({
|
|
1455
|
+
* data: {
|
|
1456
|
+
* // ... data to create a Delivery
|
|
1457
|
+
* }
|
|
1458
|
+
* })
|
|
1459
|
+
*
|
|
1460
|
+
*/
|
|
1461
|
+
create<T extends DeliveryCreateArgs>(args: Prisma.SelectSubset<T, DeliveryCreateArgs<ExtArgs>>): Prisma.Prisma__DeliveryClient<runtime.Types.Result.GetResult<Prisma.$DeliveryPayload<ExtArgs>, T, "create", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>;
|
|
1462
|
+
/**
|
|
1463
|
+
* Create many Deliveries.
|
|
1464
|
+
* @param {DeliveryCreateManyArgs} args - Arguments to create many Deliveries.
|
|
1465
|
+
* @example
|
|
1466
|
+
* // Create many Deliveries
|
|
1467
|
+
* const delivery = await prisma.delivery.createMany({
|
|
1468
|
+
* data: [
|
|
1469
|
+
* // ... provide data here
|
|
1470
|
+
* ]
|
|
1471
|
+
* })
|
|
1472
|
+
*
|
|
1473
|
+
*/
|
|
1474
|
+
createMany<T extends DeliveryCreateManyArgs>(args?: Prisma.SelectSubset<T, DeliveryCreateManyArgs<ExtArgs>>): Prisma.PrismaPromise<Prisma.BatchPayload>;
|
|
1475
|
+
/**
|
|
1476
|
+
* Create many Deliveries and returns the data saved in the database.
|
|
1477
|
+
* @param {DeliveryCreateManyAndReturnArgs} args - Arguments to create many Deliveries.
|
|
1478
|
+
* @example
|
|
1479
|
+
* // Create many Deliveries
|
|
1480
|
+
* const delivery = await prisma.delivery.createManyAndReturn({
|
|
1481
|
+
* data: [
|
|
1482
|
+
* // ... provide data here
|
|
1483
|
+
* ]
|
|
1484
|
+
* })
|
|
1485
|
+
*
|
|
1486
|
+
* // Create many Deliveries and only return the `id`
|
|
1487
|
+
* const deliveryWithIdOnly = await prisma.delivery.createManyAndReturn({
|
|
1488
|
+
* select: { id: true },
|
|
1489
|
+
* data: [
|
|
1490
|
+
* // ... provide data here
|
|
1491
|
+
* ]
|
|
1492
|
+
* })
|
|
1493
|
+
* Note, that providing `undefined` is treated as the value not being there.
|
|
1494
|
+
* Read more here: https://pris.ly/d/null-undefined
|
|
1495
|
+
*
|
|
1496
|
+
*/
|
|
1497
|
+
createManyAndReturn<T extends DeliveryCreateManyAndReturnArgs>(args?: Prisma.SelectSubset<T, DeliveryCreateManyAndReturnArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$DeliveryPayload<ExtArgs>, T, "createManyAndReturn", GlobalOmitOptions>>;
|
|
1498
|
+
/**
|
|
1499
|
+
* Delete a Delivery.
|
|
1500
|
+
* @param {DeliveryDeleteArgs} args - Arguments to delete one Delivery.
|
|
1501
|
+
* @example
|
|
1502
|
+
* // Delete one Delivery
|
|
1503
|
+
* const Delivery = await prisma.delivery.delete({
|
|
1504
|
+
* where: {
|
|
1505
|
+
* // ... filter to delete one Delivery
|
|
1506
|
+
* }
|
|
1507
|
+
* })
|
|
1508
|
+
*
|
|
1509
|
+
*/
|
|
1510
|
+
delete<T extends DeliveryDeleteArgs>(args: Prisma.SelectSubset<T, DeliveryDeleteArgs<ExtArgs>>): Prisma.Prisma__DeliveryClient<runtime.Types.Result.GetResult<Prisma.$DeliveryPayload<ExtArgs>, T, "delete", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>;
|
|
1511
|
+
/**
|
|
1512
|
+
* Update one Delivery.
|
|
1513
|
+
* @param {DeliveryUpdateArgs} args - Arguments to update one Delivery.
|
|
1514
|
+
* @example
|
|
1515
|
+
* // Update one Delivery
|
|
1516
|
+
* const delivery = await prisma.delivery.update({
|
|
1517
|
+
* where: {
|
|
1518
|
+
* // ... provide filter here
|
|
1519
|
+
* },
|
|
1520
|
+
* data: {
|
|
1521
|
+
* // ... provide data here
|
|
1522
|
+
* }
|
|
1523
|
+
* })
|
|
1524
|
+
*
|
|
1525
|
+
*/
|
|
1526
|
+
update<T extends DeliveryUpdateArgs>(args: Prisma.SelectSubset<T, DeliveryUpdateArgs<ExtArgs>>): Prisma.Prisma__DeliveryClient<runtime.Types.Result.GetResult<Prisma.$DeliveryPayload<ExtArgs>, T, "update", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>;
|
|
1527
|
+
/**
|
|
1528
|
+
* Delete zero or more Deliveries.
|
|
1529
|
+
* @param {DeliveryDeleteManyArgs} args - Arguments to filter Deliveries to delete.
|
|
1530
|
+
* @example
|
|
1531
|
+
* // Delete a few Deliveries
|
|
1532
|
+
* const { count } = await prisma.delivery.deleteMany({
|
|
1533
|
+
* where: {
|
|
1534
|
+
* // ... provide filter here
|
|
1535
|
+
* }
|
|
1536
|
+
* })
|
|
1537
|
+
*
|
|
1538
|
+
*/
|
|
1539
|
+
deleteMany<T extends DeliveryDeleteManyArgs>(args?: Prisma.SelectSubset<T, DeliveryDeleteManyArgs<ExtArgs>>): Prisma.PrismaPromise<Prisma.BatchPayload>;
|
|
1540
|
+
/**
|
|
1541
|
+
* Update zero or more Deliveries.
|
|
1542
|
+
* Note, that providing `undefined` is treated as the value not being there.
|
|
1543
|
+
* Read more here: https://pris.ly/d/null-undefined
|
|
1544
|
+
* @param {DeliveryUpdateManyArgs} args - Arguments to update one or more rows.
|
|
1545
|
+
* @example
|
|
1546
|
+
* // Update many Deliveries
|
|
1547
|
+
* const delivery = await prisma.delivery.updateMany({
|
|
1548
|
+
* where: {
|
|
1549
|
+
* // ... provide filter here
|
|
1550
|
+
* },
|
|
1551
|
+
* data: {
|
|
1552
|
+
* // ... provide data here
|
|
1553
|
+
* }
|
|
1554
|
+
* })
|
|
1555
|
+
*
|
|
1556
|
+
*/
|
|
1557
|
+
updateMany<T extends DeliveryUpdateManyArgs>(args: Prisma.SelectSubset<T, DeliveryUpdateManyArgs<ExtArgs>>): Prisma.PrismaPromise<Prisma.BatchPayload>;
|
|
1558
|
+
/**
|
|
1559
|
+
* Update zero or more Deliveries and returns the data updated in the database.
|
|
1560
|
+
* @param {DeliveryUpdateManyAndReturnArgs} args - Arguments to update many Deliveries.
|
|
1561
|
+
* @example
|
|
1562
|
+
* // Update many Deliveries
|
|
1563
|
+
* const delivery = await prisma.delivery.updateManyAndReturn({
|
|
1564
|
+
* where: {
|
|
1565
|
+
* // ... provide filter here
|
|
1566
|
+
* },
|
|
1567
|
+
* data: [
|
|
1568
|
+
* // ... provide data here
|
|
1569
|
+
* ]
|
|
1570
|
+
* })
|
|
1571
|
+
*
|
|
1572
|
+
* // Update zero or more Deliveries and only return the `id`
|
|
1573
|
+
* const deliveryWithIdOnly = await prisma.delivery.updateManyAndReturn({
|
|
1574
|
+
* select: { id: true },
|
|
1575
|
+
* where: {
|
|
1576
|
+
* // ... provide filter here
|
|
1577
|
+
* },
|
|
1578
|
+
* data: [
|
|
1579
|
+
* // ... provide data here
|
|
1580
|
+
* ]
|
|
1581
|
+
* })
|
|
1582
|
+
* Note, that providing `undefined` is treated as the value not being there.
|
|
1583
|
+
* Read more here: https://pris.ly/d/null-undefined
|
|
1584
|
+
*
|
|
1585
|
+
*/
|
|
1586
|
+
updateManyAndReturn<T extends DeliveryUpdateManyAndReturnArgs>(args: Prisma.SelectSubset<T, DeliveryUpdateManyAndReturnArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$DeliveryPayload<ExtArgs>, T, "updateManyAndReturn", GlobalOmitOptions>>;
|
|
1587
|
+
/**
|
|
1588
|
+
* Create or update one Delivery.
|
|
1589
|
+
* @param {DeliveryUpsertArgs} args - Arguments to update or create a Delivery.
|
|
1590
|
+
* @example
|
|
1591
|
+
* // Update or create a Delivery
|
|
1592
|
+
* const delivery = await prisma.delivery.upsert({
|
|
1593
|
+
* create: {
|
|
1594
|
+
* // ... data to create a Delivery
|
|
1595
|
+
* },
|
|
1596
|
+
* update: {
|
|
1597
|
+
* // ... in case it already exists, update
|
|
1598
|
+
* },
|
|
1599
|
+
* where: {
|
|
1600
|
+
* // ... the filter for the Delivery we want to update
|
|
1601
|
+
* }
|
|
1602
|
+
* })
|
|
1603
|
+
*/
|
|
1604
|
+
upsert<T extends DeliveryUpsertArgs>(args: Prisma.SelectSubset<T, DeliveryUpsertArgs<ExtArgs>>): Prisma.Prisma__DeliveryClient<runtime.Types.Result.GetResult<Prisma.$DeliveryPayload<ExtArgs>, T, "upsert", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>;
|
|
1605
|
+
/**
|
|
1606
|
+
* Count the number of Deliveries.
|
|
1607
|
+
* Note, that providing `undefined` is treated as the value not being there.
|
|
1608
|
+
* Read more here: https://pris.ly/d/null-undefined
|
|
1609
|
+
* @param {DeliveryCountArgs} args - Arguments to filter Deliveries to count.
|
|
1610
|
+
* @example
|
|
1611
|
+
* // Count the number of Deliveries
|
|
1612
|
+
* const count = await prisma.delivery.count({
|
|
1613
|
+
* where: {
|
|
1614
|
+
* // ... the filter for the Deliveries we want to count
|
|
1615
|
+
* }
|
|
1616
|
+
* })
|
|
1617
|
+
**/
|
|
1618
|
+
count<T extends DeliveryCountArgs>(args?: Prisma.Subset<T, DeliveryCountArgs>): Prisma.PrismaPromise<T extends runtime.Types.Utils.Record<'select', any> ? T['select'] extends true ? number : Prisma.GetScalarType<T['select'], DeliveryCountAggregateOutputType> : number>;
|
|
1619
|
+
/**
|
|
1620
|
+
* Allows you to perform aggregations operations on a Delivery.
|
|
1621
|
+
* Note, that providing `undefined` is treated as the value not being there.
|
|
1622
|
+
* Read more here: https://pris.ly/d/null-undefined
|
|
1623
|
+
* @param {DeliveryAggregateArgs} args - Select which aggregations you would like to apply and on what fields.
|
|
1624
|
+
* @example
|
|
1625
|
+
* // Ordered by age ascending
|
|
1626
|
+
* // Where email contains prisma.io
|
|
1627
|
+
* // Limited to the 10 users
|
|
1628
|
+
* const aggregations = await prisma.user.aggregate({
|
|
1629
|
+
* _avg: {
|
|
1630
|
+
* age: true,
|
|
1631
|
+
* },
|
|
1632
|
+
* where: {
|
|
1633
|
+
* email: {
|
|
1634
|
+
* contains: "prisma.io",
|
|
1635
|
+
* },
|
|
1636
|
+
* },
|
|
1637
|
+
* orderBy: {
|
|
1638
|
+
* age: "asc",
|
|
1639
|
+
* },
|
|
1640
|
+
* take: 10,
|
|
1641
|
+
* })
|
|
1642
|
+
**/
|
|
1643
|
+
aggregate<T extends DeliveryAggregateArgs>(args: Prisma.Subset<T, DeliveryAggregateArgs>): Prisma.PrismaPromise<GetDeliveryAggregateType<T>>;
|
|
1644
|
+
/**
|
|
1645
|
+
* Group by Delivery.
|
|
1646
|
+
* Note, that providing `undefined` is treated as the value not being there.
|
|
1647
|
+
* Read more here: https://pris.ly/d/null-undefined
|
|
1648
|
+
* @param {DeliveryGroupByArgs} args - Group by arguments.
|
|
1649
|
+
* @example
|
|
1650
|
+
* // Group by city, order by createdAt, get count
|
|
1651
|
+
* const result = await prisma.user.groupBy({
|
|
1652
|
+
* by: ['city', 'createdAt'],
|
|
1653
|
+
* orderBy: {
|
|
1654
|
+
* createdAt: true
|
|
1655
|
+
* },
|
|
1656
|
+
* _count: {
|
|
1657
|
+
* _all: true
|
|
1658
|
+
* },
|
|
1659
|
+
* })
|
|
1660
|
+
*
|
|
1661
|
+
**/
|
|
1662
|
+
groupBy<T extends DeliveryGroupByArgs, HasSelectOrTake extends Prisma.Or<Prisma.Extends<'skip', Prisma.Keys<T>>, Prisma.Extends<'take', Prisma.Keys<T>>>, OrderByArg extends Prisma.True extends HasSelectOrTake ? {
|
|
1663
|
+
orderBy: DeliveryGroupByArgs['orderBy'];
|
|
1664
|
+
} : {
|
|
1665
|
+
orderBy?: DeliveryGroupByArgs['orderBy'];
|
|
1666
|
+
}, 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 ? {
|
|
1667
|
+
[P in HavingFields]: P extends ByFields ? never : P extends string ? `Error: Field "${P}" used in "having" needs to be provided in "by".` : [
|
|
1668
|
+
Error,
|
|
1669
|
+
'Field ',
|
|
1670
|
+
P,
|
|
1671
|
+
` in "having" needs to be provided in "by"`
|
|
1672
|
+
];
|
|
1673
|
+
}[HavingFields] : 'take' extends Prisma.Keys<T> ? 'orderBy' extends Prisma.Keys<T> ? ByValid extends Prisma.True ? {} : {
|
|
1674
|
+
[P in OrderFields]: P extends ByFields ? never : `Error: Field "${P}" in "orderBy" needs to be provided in "by"`;
|
|
1675
|
+
}[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 ? {} : {
|
|
1676
|
+
[P in OrderFields]: P extends ByFields ? never : `Error: Field "${P}" in "orderBy" needs to be provided in "by"`;
|
|
1677
|
+
}[OrderFields] : 'Error: If you provide "skip", you also need to provide "orderBy"' : ByValid extends Prisma.True ? {} : {
|
|
1678
|
+
[P in OrderFields]: P extends ByFields ? never : `Error: Field "${P}" in "orderBy" needs to be provided in "by"`;
|
|
1679
|
+
}[OrderFields]>(args: Prisma.SubsetIntersection<T, DeliveryGroupByArgs, OrderByArg> & InputErrors): {} extends InputErrors ? GetDeliveryGroupByPayload<T> : Prisma.PrismaPromise<InputErrors>;
|
|
1680
|
+
/**
|
|
1681
|
+
* Fields of the Delivery model
|
|
1682
|
+
*/
|
|
1683
|
+
readonly fields: DeliveryFieldRefs;
|
|
1684
|
+
}
|
|
1685
|
+
/**
|
|
1686
|
+
* The delegate class that acts as a "Promise-like" for Delivery.
|
|
1687
|
+
* Why is this prefixed with `Prisma__`?
|
|
1688
|
+
* Because we want to prevent naming conflicts as mentioned in
|
|
1689
|
+
* https://github.com/prisma/prisma-client-js/issues/707
|
|
1690
|
+
*/
|
|
1691
|
+
export interface Prisma__DeliveryClient<T, Null = never, ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs, GlobalOmitOptions = {}> extends Prisma.PrismaPromise<T> {
|
|
1692
|
+
readonly [Symbol.toStringTag]: "PrismaPromise";
|
|
1693
|
+
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>;
|
|
1694
|
+
message<T extends Prisma.MessageDefaultArgs<ExtArgs> = {}>(args?: Prisma.Subset<T, Prisma.MessageDefaultArgs<ExtArgs>>): Prisma.Prisma__MessageClient<runtime.Types.Result.GetResult<Prisma.$MessagePayload<ExtArgs>, T, "findUniqueOrThrow", GlobalOmitOptions> | Null, Null, ExtArgs, GlobalOmitOptions>;
|
|
1695
|
+
recipientShip<T extends Prisma.Delivery$recipientShipArgs<ExtArgs> = {}>(args?: Prisma.Subset<T, Prisma.Delivery$recipientShipArgs<ExtArgs>>): Prisma.Prisma__ShipClient<runtime.Types.Result.GetResult<Prisma.$ShipPayload<ExtArgs>, T, "findUniqueOrThrow", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions>;
|
|
1696
|
+
claimedByShip<T extends Prisma.Delivery$claimedByShipArgs<ExtArgs> = {}>(args?: Prisma.Subset<T, Prisma.Delivery$claimedByShipArgs<ExtArgs>>): Prisma.Prisma__ShipClient<runtime.Types.Result.GetResult<Prisma.$ShipPayload<ExtArgs>, T, "findUniqueOrThrow", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions>;
|
|
1697
|
+
claimedByLease<T extends Prisma.Delivery$claimedByLeaseArgs<ExtArgs> = {}>(args?: Prisma.Subset<T, Prisma.Delivery$claimedByLeaseArgs<ExtArgs>>): Prisma.Prisma__LeaseClient<runtime.Types.Result.GetResult<Prisma.$LeasePayload<ExtArgs>, T, "findUniqueOrThrow", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions>;
|
|
1698
|
+
events<T extends Prisma.Delivery$eventsArgs<ExtArgs> = {}>(args?: Prisma.Subset<T, Prisma.Delivery$eventsArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$EventPayload<ExtArgs>, T, "findMany", GlobalOmitOptions> | Null>;
|
|
1699
|
+
/**
|
|
1700
|
+
* Attaches callbacks for the resolution and/or rejection of the Promise.
|
|
1701
|
+
* @param onfulfilled The callback to execute when the Promise is resolved.
|
|
1702
|
+
* @param onrejected The callback to execute when the Promise is rejected.
|
|
1703
|
+
* @returns A Promise for the completion of which ever callback is executed.
|
|
1704
|
+
*/
|
|
1705
|
+
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>;
|
|
1706
|
+
/**
|
|
1707
|
+
* Attaches a callback for only the rejection of the Promise.
|
|
1708
|
+
* @param onrejected The callback to execute when the Promise is rejected.
|
|
1709
|
+
* @returns A Promise for the completion of the callback.
|
|
1710
|
+
*/
|
|
1711
|
+
catch<TResult = never>(onrejected?: ((reason: any) => TResult | PromiseLike<TResult>) | undefined | null): runtime.Types.Utils.JsPromise<T | TResult>;
|
|
1712
|
+
/**
|
|
1713
|
+
* Attaches a callback that is invoked when the Promise is settled (fulfilled or rejected). The
|
|
1714
|
+
* resolved value cannot be modified from the callback.
|
|
1715
|
+
* @param onfinally The callback to execute when the Promise is settled (fulfilled or rejected).
|
|
1716
|
+
* @returns A Promise for the completion of the callback.
|
|
1717
|
+
*/
|
|
1718
|
+
finally(onfinally?: (() => void) | undefined | null): runtime.Types.Utils.JsPromise<T>;
|
|
1719
|
+
}
|
|
1720
|
+
/**
|
|
1721
|
+
* Fields of the Delivery model
|
|
1722
|
+
*/
|
|
1723
|
+
export interface DeliveryFieldRefs {
|
|
1724
|
+
readonly id: Prisma.FieldRef<"Delivery", 'String'>;
|
|
1725
|
+
readonly fleetId: Prisma.FieldRef<"Delivery", 'String'>;
|
|
1726
|
+
readonly messageId: Prisma.FieldRef<"Delivery", 'String'>;
|
|
1727
|
+
readonly recipientShipId: Prisma.FieldRef<"Delivery", 'String'>;
|
|
1728
|
+
readonly recipientType: Prisma.FieldRef<"Delivery", 'String'>;
|
|
1729
|
+
readonly state: Prisma.FieldRef<"Delivery", 'DeliveryState'>;
|
|
1730
|
+
readonly claimedByShipId: Prisma.FieldRef<"Delivery", 'String'>;
|
|
1731
|
+
readonly claimedByLeaseId: Prisma.FieldRef<"Delivery", 'String'>;
|
|
1732
|
+
readonly attempts: Prisma.FieldRef<"Delivery", 'Int'>;
|
|
1733
|
+
readonly readAt: Prisma.FieldRef<"Delivery", 'DateTime'>;
|
|
1734
|
+
readonly createdAt: Prisma.FieldRef<"Delivery", 'DateTime'>;
|
|
1735
|
+
}
|
|
1736
|
+
/**
|
|
1737
|
+
* Delivery findUnique
|
|
1738
|
+
*/
|
|
1739
|
+
export type DeliveryFindUniqueArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1740
|
+
/**
|
|
1741
|
+
* Select specific fields to fetch from the Delivery
|
|
1742
|
+
*/
|
|
1743
|
+
select?: Prisma.DeliverySelect<ExtArgs> | null;
|
|
1744
|
+
/**
|
|
1745
|
+
* Omit specific fields from the Delivery
|
|
1746
|
+
*/
|
|
1747
|
+
omit?: Prisma.DeliveryOmit<ExtArgs> | null;
|
|
1748
|
+
/**
|
|
1749
|
+
* Choose, which related nodes to fetch as well
|
|
1750
|
+
*/
|
|
1751
|
+
include?: Prisma.DeliveryInclude<ExtArgs> | null;
|
|
1752
|
+
/**
|
|
1753
|
+
* Filter, which Delivery to fetch.
|
|
1754
|
+
*/
|
|
1755
|
+
where: Prisma.DeliveryWhereUniqueInput;
|
|
1756
|
+
};
|
|
1757
|
+
/**
|
|
1758
|
+
* Delivery findUniqueOrThrow
|
|
1759
|
+
*/
|
|
1760
|
+
export type DeliveryFindUniqueOrThrowArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1761
|
+
/**
|
|
1762
|
+
* Select specific fields to fetch from the Delivery
|
|
1763
|
+
*/
|
|
1764
|
+
select?: Prisma.DeliverySelect<ExtArgs> | null;
|
|
1765
|
+
/**
|
|
1766
|
+
* Omit specific fields from the Delivery
|
|
1767
|
+
*/
|
|
1768
|
+
omit?: Prisma.DeliveryOmit<ExtArgs> | null;
|
|
1769
|
+
/**
|
|
1770
|
+
* Choose, which related nodes to fetch as well
|
|
1771
|
+
*/
|
|
1772
|
+
include?: Prisma.DeliveryInclude<ExtArgs> | null;
|
|
1773
|
+
/**
|
|
1774
|
+
* Filter, which Delivery to fetch.
|
|
1775
|
+
*/
|
|
1776
|
+
where: Prisma.DeliveryWhereUniqueInput;
|
|
1777
|
+
};
|
|
1778
|
+
/**
|
|
1779
|
+
* Delivery findFirst
|
|
1780
|
+
*/
|
|
1781
|
+
export type DeliveryFindFirstArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1782
|
+
/**
|
|
1783
|
+
* Select specific fields to fetch from the Delivery
|
|
1784
|
+
*/
|
|
1785
|
+
select?: Prisma.DeliverySelect<ExtArgs> | null;
|
|
1786
|
+
/**
|
|
1787
|
+
* Omit specific fields from the Delivery
|
|
1788
|
+
*/
|
|
1789
|
+
omit?: Prisma.DeliveryOmit<ExtArgs> | null;
|
|
1790
|
+
/**
|
|
1791
|
+
* Choose, which related nodes to fetch as well
|
|
1792
|
+
*/
|
|
1793
|
+
include?: Prisma.DeliveryInclude<ExtArgs> | null;
|
|
1794
|
+
/**
|
|
1795
|
+
* Filter, which Delivery to fetch.
|
|
1796
|
+
*/
|
|
1797
|
+
where?: Prisma.DeliveryWhereInput;
|
|
1798
|
+
/**
|
|
1799
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
|
|
1800
|
+
*
|
|
1801
|
+
* Determine the order of Deliveries to fetch.
|
|
1802
|
+
*/
|
|
1803
|
+
orderBy?: Prisma.DeliveryOrderByWithRelationInput | Prisma.DeliveryOrderByWithRelationInput[];
|
|
1804
|
+
/**
|
|
1805
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
|
|
1806
|
+
*
|
|
1807
|
+
* Sets the position for searching for Deliveries.
|
|
1808
|
+
*/
|
|
1809
|
+
cursor?: Prisma.DeliveryWhereUniqueInput;
|
|
1810
|
+
/**
|
|
1811
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
1812
|
+
*
|
|
1813
|
+
* Take `±n` Deliveries from the position of the cursor.
|
|
1814
|
+
*/
|
|
1815
|
+
take?: number;
|
|
1816
|
+
/**
|
|
1817
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
1818
|
+
*
|
|
1819
|
+
* Skip the first `n` Deliveries.
|
|
1820
|
+
*/
|
|
1821
|
+
skip?: number;
|
|
1822
|
+
/**
|
|
1823
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
|
|
1824
|
+
*
|
|
1825
|
+
* Filter by unique combinations of Deliveries.
|
|
1826
|
+
*/
|
|
1827
|
+
distinct?: Prisma.DeliveryScalarFieldEnum | Prisma.DeliveryScalarFieldEnum[];
|
|
1828
|
+
};
|
|
1829
|
+
/**
|
|
1830
|
+
* Delivery findFirstOrThrow
|
|
1831
|
+
*/
|
|
1832
|
+
export type DeliveryFindFirstOrThrowArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1833
|
+
/**
|
|
1834
|
+
* Select specific fields to fetch from the Delivery
|
|
1835
|
+
*/
|
|
1836
|
+
select?: Prisma.DeliverySelect<ExtArgs> | null;
|
|
1837
|
+
/**
|
|
1838
|
+
* Omit specific fields from the Delivery
|
|
1839
|
+
*/
|
|
1840
|
+
omit?: Prisma.DeliveryOmit<ExtArgs> | null;
|
|
1841
|
+
/**
|
|
1842
|
+
* Choose, which related nodes to fetch as well
|
|
1843
|
+
*/
|
|
1844
|
+
include?: Prisma.DeliveryInclude<ExtArgs> | null;
|
|
1845
|
+
/**
|
|
1846
|
+
* Filter, which Delivery to fetch.
|
|
1847
|
+
*/
|
|
1848
|
+
where?: Prisma.DeliveryWhereInput;
|
|
1849
|
+
/**
|
|
1850
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
|
|
1851
|
+
*
|
|
1852
|
+
* Determine the order of Deliveries to fetch.
|
|
1853
|
+
*/
|
|
1854
|
+
orderBy?: Prisma.DeliveryOrderByWithRelationInput | Prisma.DeliveryOrderByWithRelationInput[];
|
|
1855
|
+
/**
|
|
1856
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
|
|
1857
|
+
*
|
|
1858
|
+
* Sets the position for searching for Deliveries.
|
|
1859
|
+
*/
|
|
1860
|
+
cursor?: Prisma.DeliveryWhereUniqueInput;
|
|
1861
|
+
/**
|
|
1862
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
1863
|
+
*
|
|
1864
|
+
* Take `±n` Deliveries from the position of the cursor.
|
|
1865
|
+
*/
|
|
1866
|
+
take?: number;
|
|
1867
|
+
/**
|
|
1868
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
1869
|
+
*
|
|
1870
|
+
* Skip the first `n` Deliveries.
|
|
1871
|
+
*/
|
|
1872
|
+
skip?: number;
|
|
1873
|
+
/**
|
|
1874
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
|
|
1875
|
+
*
|
|
1876
|
+
* Filter by unique combinations of Deliveries.
|
|
1877
|
+
*/
|
|
1878
|
+
distinct?: Prisma.DeliveryScalarFieldEnum | Prisma.DeliveryScalarFieldEnum[];
|
|
1879
|
+
};
|
|
1880
|
+
/**
|
|
1881
|
+
* Delivery findMany
|
|
1882
|
+
*/
|
|
1883
|
+
export type DeliveryFindManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1884
|
+
/**
|
|
1885
|
+
* Select specific fields to fetch from the Delivery
|
|
1886
|
+
*/
|
|
1887
|
+
select?: Prisma.DeliverySelect<ExtArgs> | null;
|
|
1888
|
+
/**
|
|
1889
|
+
* Omit specific fields from the Delivery
|
|
1890
|
+
*/
|
|
1891
|
+
omit?: Prisma.DeliveryOmit<ExtArgs> | null;
|
|
1892
|
+
/**
|
|
1893
|
+
* Choose, which related nodes to fetch as well
|
|
1894
|
+
*/
|
|
1895
|
+
include?: Prisma.DeliveryInclude<ExtArgs> | null;
|
|
1896
|
+
/**
|
|
1897
|
+
* Filter, which Deliveries to fetch.
|
|
1898
|
+
*/
|
|
1899
|
+
where?: Prisma.DeliveryWhereInput;
|
|
1900
|
+
/**
|
|
1901
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
|
|
1902
|
+
*
|
|
1903
|
+
* Determine the order of Deliveries to fetch.
|
|
1904
|
+
*/
|
|
1905
|
+
orderBy?: Prisma.DeliveryOrderByWithRelationInput | Prisma.DeliveryOrderByWithRelationInput[];
|
|
1906
|
+
/**
|
|
1907
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
|
|
1908
|
+
*
|
|
1909
|
+
* Sets the position for listing Deliveries.
|
|
1910
|
+
*/
|
|
1911
|
+
cursor?: Prisma.DeliveryWhereUniqueInput;
|
|
1912
|
+
/**
|
|
1913
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
1914
|
+
*
|
|
1915
|
+
* Take `±n` Deliveries from the position of the cursor.
|
|
1916
|
+
*/
|
|
1917
|
+
take?: number;
|
|
1918
|
+
/**
|
|
1919
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
1920
|
+
*
|
|
1921
|
+
* Skip the first `n` Deliveries.
|
|
1922
|
+
*/
|
|
1923
|
+
skip?: number;
|
|
1924
|
+
/**
|
|
1925
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
|
|
1926
|
+
*
|
|
1927
|
+
* Filter by unique combinations of Deliveries.
|
|
1928
|
+
*/
|
|
1929
|
+
distinct?: Prisma.DeliveryScalarFieldEnum | Prisma.DeliveryScalarFieldEnum[];
|
|
1930
|
+
};
|
|
1931
|
+
/**
|
|
1932
|
+
* Delivery create
|
|
1933
|
+
*/
|
|
1934
|
+
export type DeliveryCreateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1935
|
+
/**
|
|
1936
|
+
* Select specific fields to fetch from the Delivery
|
|
1937
|
+
*/
|
|
1938
|
+
select?: Prisma.DeliverySelect<ExtArgs> | null;
|
|
1939
|
+
/**
|
|
1940
|
+
* Omit specific fields from the Delivery
|
|
1941
|
+
*/
|
|
1942
|
+
omit?: Prisma.DeliveryOmit<ExtArgs> | null;
|
|
1943
|
+
/**
|
|
1944
|
+
* Choose, which related nodes to fetch as well
|
|
1945
|
+
*/
|
|
1946
|
+
include?: Prisma.DeliveryInclude<ExtArgs> | null;
|
|
1947
|
+
/**
|
|
1948
|
+
* The data needed to create a Delivery.
|
|
1949
|
+
*/
|
|
1950
|
+
data: Prisma.XOR<Prisma.DeliveryCreateInput, Prisma.DeliveryUncheckedCreateInput>;
|
|
1951
|
+
};
|
|
1952
|
+
/**
|
|
1953
|
+
* Delivery createMany
|
|
1954
|
+
*/
|
|
1955
|
+
export type DeliveryCreateManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1956
|
+
/**
|
|
1957
|
+
* The data used to create many Deliveries.
|
|
1958
|
+
*/
|
|
1959
|
+
data: Prisma.DeliveryCreateManyInput | Prisma.DeliveryCreateManyInput[];
|
|
1960
|
+
skipDuplicates?: boolean;
|
|
1961
|
+
};
|
|
1962
|
+
/**
|
|
1963
|
+
* Delivery createManyAndReturn
|
|
1964
|
+
*/
|
|
1965
|
+
export type DeliveryCreateManyAndReturnArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1966
|
+
/**
|
|
1967
|
+
* Select specific fields to fetch from the Delivery
|
|
1968
|
+
*/
|
|
1969
|
+
select?: Prisma.DeliverySelectCreateManyAndReturn<ExtArgs> | null;
|
|
1970
|
+
/**
|
|
1971
|
+
* Omit specific fields from the Delivery
|
|
1972
|
+
*/
|
|
1973
|
+
omit?: Prisma.DeliveryOmit<ExtArgs> | null;
|
|
1974
|
+
/**
|
|
1975
|
+
* The data used to create many Deliveries.
|
|
1976
|
+
*/
|
|
1977
|
+
data: Prisma.DeliveryCreateManyInput | Prisma.DeliveryCreateManyInput[];
|
|
1978
|
+
skipDuplicates?: boolean;
|
|
1979
|
+
/**
|
|
1980
|
+
* Choose, which related nodes to fetch as well
|
|
1981
|
+
*/
|
|
1982
|
+
include?: Prisma.DeliveryIncludeCreateManyAndReturn<ExtArgs> | null;
|
|
1983
|
+
};
|
|
1984
|
+
/**
|
|
1985
|
+
* Delivery update
|
|
1986
|
+
*/
|
|
1987
|
+
export type DeliveryUpdateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1988
|
+
/**
|
|
1989
|
+
* Select specific fields to fetch from the Delivery
|
|
1990
|
+
*/
|
|
1991
|
+
select?: Prisma.DeliverySelect<ExtArgs> | null;
|
|
1992
|
+
/**
|
|
1993
|
+
* Omit specific fields from the Delivery
|
|
1994
|
+
*/
|
|
1995
|
+
omit?: Prisma.DeliveryOmit<ExtArgs> | null;
|
|
1996
|
+
/**
|
|
1997
|
+
* Choose, which related nodes to fetch as well
|
|
1998
|
+
*/
|
|
1999
|
+
include?: Prisma.DeliveryInclude<ExtArgs> | null;
|
|
2000
|
+
/**
|
|
2001
|
+
* The data needed to update a Delivery.
|
|
2002
|
+
*/
|
|
2003
|
+
data: Prisma.XOR<Prisma.DeliveryUpdateInput, Prisma.DeliveryUncheckedUpdateInput>;
|
|
2004
|
+
/**
|
|
2005
|
+
* Choose, which Delivery to update.
|
|
2006
|
+
*/
|
|
2007
|
+
where: Prisma.DeliveryWhereUniqueInput;
|
|
2008
|
+
};
|
|
2009
|
+
/**
|
|
2010
|
+
* Delivery updateMany
|
|
2011
|
+
*/
|
|
2012
|
+
export type DeliveryUpdateManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
2013
|
+
/**
|
|
2014
|
+
* The data used to update Deliveries.
|
|
2015
|
+
*/
|
|
2016
|
+
data: Prisma.XOR<Prisma.DeliveryUpdateManyMutationInput, Prisma.DeliveryUncheckedUpdateManyInput>;
|
|
2017
|
+
/**
|
|
2018
|
+
* Filter which Deliveries to update
|
|
2019
|
+
*/
|
|
2020
|
+
where?: Prisma.DeliveryWhereInput;
|
|
2021
|
+
/**
|
|
2022
|
+
* Limit how many Deliveries to update.
|
|
2023
|
+
*/
|
|
2024
|
+
limit?: number;
|
|
2025
|
+
};
|
|
2026
|
+
/**
|
|
2027
|
+
* Delivery updateManyAndReturn
|
|
2028
|
+
*/
|
|
2029
|
+
export type DeliveryUpdateManyAndReturnArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
2030
|
+
/**
|
|
2031
|
+
* Select specific fields to fetch from the Delivery
|
|
2032
|
+
*/
|
|
2033
|
+
select?: Prisma.DeliverySelectUpdateManyAndReturn<ExtArgs> | null;
|
|
2034
|
+
/**
|
|
2035
|
+
* Omit specific fields from the Delivery
|
|
2036
|
+
*/
|
|
2037
|
+
omit?: Prisma.DeliveryOmit<ExtArgs> | null;
|
|
2038
|
+
/**
|
|
2039
|
+
* The data used to update Deliveries.
|
|
2040
|
+
*/
|
|
2041
|
+
data: Prisma.XOR<Prisma.DeliveryUpdateManyMutationInput, Prisma.DeliveryUncheckedUpdateManyInput>;
|
|
2042
|
+
/**
|
|
2043
|
+
* Filter which Deliveries to update
|
|
2044
|
+
*/
|
|
2045
|
+
where?: Prisma.DeliveryWhereInput;
|
|
2046
|
+
/**
|
|
2047
|
+
* Limit how many Deliveries to update.
|
|
2048
|
+
*/
|
|
2049
|
+
limit?: number;
|
|
2050
|
+
/**
|
|
2051
|
+
* Choose, which related nodes to fetch as well
|
|
2052
|
+
*/
|
|
2053
|
+
include?: Prisma.DeliveryIncludeUpdateManyAndReturn<ExtArgs> | null;
|
|
2054
|
+
};
|
|
2055
|
+
/**
|
|
2056
|
+
* Delivery upsert
|
|
2057
|
+
*/
|
|
2058
|
+
export type DeliveryUpsertArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
2059
|
+
/**
|
|
2060
|
+
* Select specific fields to fetch from the Delivery
|
|
2061
|
+
*/
|
|
2062
|
+
select?: Prisma.DeliverySelect<ExtArgs> | null;
|
|
2063
|
+
/**
|
|
2064
|
+
* Omit specific fields from the Delivery
|
|
2065
|
+
*/
|
|
2066
|
+
omit?: Prisma.DeliveryOmit<ExtArgs> | null;
|
|
2067
|
+
/**
|
|
2068
|
+
* Choose, which related nodes to fetch as well
|
|
2069
|
+
*/
|
|
2070
|
+
include?: Prisma.DeliveryInclude<ExtArgs> | null;
|
|
2071
|
+
/**
|
|
2072
|
+
* The filter to search for the Delivery to update in case it exists.
|
|
2073
|
+
*/
|
|
2074
|
+
where: Prisma.DeliveryWhereUniqueInput;
|
|
2075
|
+
/**
|
|
2076
|
+
* In case the Delivery found by the `where` argument doesn't exist, create a new Delivery with this data.
|
|
2077
|
+
*/
|
|
2078
|
+
create: Prisma.XOR<Prisma.DeliveryCreateInput, Prisma.DeliveryUncheckedCreateInput>;
|
|
2079
|
+
/**
|
|
2080
|
+
* In case the Delivery was found with the provided `where` argument, update it with this data.
|
|
2081
|
+
*/
|
|
2082
|
+
update: Prisma.XOR<Prisma.DeliveryUpdateInput, Prisma.DeliveryUncheckedUpdateInput>;
|
|
2083
|
+
};
|
|
2084
|
+
/**
|
|
2085
|
+
* Delivery delete
|
|
2086
|
+
*/
|
|
2087
|
+
export type DeliveryDeleteArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
2088
|
+
/**
|
|
2089
|
+
* Select specific fields to fetch from the Delivery
|
|
2090
|
+
*/
|
|
2091
|
+
select?: Prisma.DeliverySelect<ExtArgs> | null;
|
|
2092
|
+
/**
|
|
2093
|
+
* Omit specific fields from the Delivery
|
|
2094
|
+
*/
|
|
2095
|
+
omit?: Prisma.DeliveryOmit<ExtArgs> | null;
|
|
2096
|
+
/**
|
|
2097
|
+
* Choose, which related nodes to fetch as well
|
|
2098
|
+
*/
|
|
2099
|
+
include?: Prisma.DeliveryInclude<ExtArgs> | null;
|
|
2100
|
+
/**
|
|
2101
|
+
* Filter which Delivery to delete.
|
|
2102
|
+
*/
|
|
2103
|
+
where: Prisma.DeliveryWhereUniqueInput;
|
|
2104
|
+
};
|
|
2105
|
+
/**
|
|
2106
|
+
* Delivery deleteMany
|
|
2107
|
+
*/
|
|
2108
|
+
export type DeliveryDeleteManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
2109
|
+
/**
|
|
2110
|
+
* Filter which Deliveries to delete
|
|
2111
|
+
*/
|
|
2112
|
+
where?: Prisma.DeliveryWhereInput;
|
|
2113
|
+
/**
|
|
2114
|
+
* Limit how many Deliveries to delete.
|
|
2115
|
+
*/
|
|
2116
|
+
limit?: number;
|
|
2117
|
+
};
|
|
2118
|
+
/**
|
|
2119
|
+
* Delivery.recipientShip
|
|
2120
|
+
*/
|
|
2121
|
+
export type Delivery$recipientShipArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
2122
|
+
/**
|
|
2123
|
+
* Select specific fields to fetch from the Ship
|
|
2124
|
+
*/
|
|
2125
|
+
select?: Prisma.ShipSelect<ExtArgs> | null;
|
|
2126
|
+
/**
|
|
2127
|
+
* Omit specific fields from the Ship
|
|
2128
|
+
*/
|
|
2129
|
+
omit?: Prisma.ShipOmit<ExtArgs> | null;
|
|
2130
|
+
/**
|
|
2131
|
+
* Choose, which related nodes to fetch as well
|
|
2132
|
+
*/
|
|
2133
|
+
include?: Prisma.ShipInclude<ExtArgs> | null;
|
|
2134
|
+
where?: Prisma.ShipWhereInput;
|
|
2135
|
+
};
|
|
2136
|
+
/**
|
|
2137
|
+
* Delivery.claimedByShip
|
|
2138
|
+
*/
|
|
2139
|
+
export type Delivery$claimedByShipArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
2140
|
+
/**
|
|
2141
|
+
* Select specific fields to fetch from the Ship
|
|
2142
|
+
*/
|
|
2143
|
+
select?: Prisma.ShipSelect<ExtArgs> | null;
|
|
2144
|
+
/**
|
|
2145
|
+
* Omit specific fields from the Ship
|
|
2146
|
+
*/
|
|
2147
|
+
omit?: Prisma.ShipOmit<ExtArgs> | null;
|
|
2148
|
+
/**
|
|
2149
|
+
* Choose, which related nodes to fetch as well
|
|
2150
|
+
*/
|
|
2151
|
+
include?: Prisma.ShipInclude<ExtArgs> | null;
|
|
2152
|
+
where?: Prisma.ShipWhereInput;
|
|
2153
|
+
};
|
|
2154
|
+
/**
|
|
2155
|
+
* Delivery.claimedByLease
|
|
2156
|
+
*/
|
|
2157
|
+
export type Delivery$claimedByLeaseArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
2158
|
+
/**
|
|
2159
|
+
* Select specific fields to fetch from the Lease
|
|
2160
|
+
*/
|
|
2161
|
+
select?: Prisma.LeaseSelect<ExtArgs> | null;
|
|
2162
|
+
/**
|
|
2163
|
+
* Omit specific fields from the Lease
|
|
2164
|
+
*/
|
|
2165
|
+
omit?: Prisma.LeaseOmit<ExtArgs> | null;
|
|
2166
|
+
/**
|
|
2167
|
+
* Choose, which related nodes to fetch as well
|
|
2168
|
+
*/
|
|
2169
|
+
include?: Prisma.LeaseInclude<ExtArgs> | null;
|
|
2170
|
+
where?: Prisma.LeaseWhereInput;
|
|
2171
|
+
};
|
|
2172
|
+
/**
|
|
2173
|
+
* Delivery.events
|
|
2174
|
+
*/
|
|
2175
|
+
export type Delivery$eventsArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
2176
|
+
/**
|
|
2177
|
+
* Select specific fields to fetch from the Event
|
|
2178
|
+
*/
|
|
2179
|
+
select?: Prisma.EventSelect<ExtArgs> | null;
|
|
2180
|
+
/**
|
|
2181
|
+
* Omit specific fields from the Event
|
|
2182
|
+
*/
|
|
2183
|
+
omit?: Prisma.EventOmit<ExtArgs> | null;
|
|
2184
|
+
/**
|
|
2185
|
+
* Choose, which related nodes to fetch as well
|
|
2186
|
+
*/
|
|
2187
|
+
include?: Prisma.EventInclude<ExtArgs> | null;
|
|
2188
|
+
where?: Prisma.EventWhereInput;
|
|
2189
|
+
orderBy?: Prisma.EventOrderByWithRelationInput | Prisma.EventOrderByWithRelationInput[];
|
|
2190
|
+
cursor?: Prisma.EventWhereUniqueInput;
|
|
2191
|
+
take?: number;
|
|
2192
|
+
skip?: number;
|
|
2193
|
+
distinct?: Prisma.EventScalarFieldEnum | Prisma.EventScalarFieldEnum[];
|
|
2194
|
+
};
|
|
2195
|
+
/**
|
|
2196
|
+
* Delivery without action
|
|
2197
|
+
*/
|
|
2198
|
+
export type DeliveryDefaultArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
2199
|
+
/**
|
|
2200
|
+
* Select specific fields to fetch from the Delivery
|
|
2201
|
+
*/
|
|
2202
|
+
select?: Prisma.DeliverySelect<ExtArgs> | null;
|
|
2203
|
+
/**
|
|
2204
|
+
* Omit specific fields from the Delivery
|
|
2205
|
+
*/
|
|
2206
|
+
omit?: Prisma.DeliveryOmit<ExtArgs> | null;
|
|
2207
|
+
/**
|
|
2208
|
+
* Choose, which related nodes to fetch as well
|
|
2209
|
+
*/
|
|
2210
|
+
include?: Prisma.DeliveryInclude<ExtArgs> | null;
|
|
2211
|
+
};
|