@aeolus-fleet/core 0.0.0 → 0.18.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +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 +56 -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/migration_lock.toml +3 -0
- package/src/adapters/prisma/schema.prisma +558 -0
|
@@ -0,0 +1,1036 @@
|
|
|
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 InstallationRequest
|
|
6
|
+
* A create or delete of a fleet the installation carried out, under its caller's
|
|
7
|
+
* request id, so a replay answers the same (decision 0020). It belongs to the
|
|
8
|
+
* installation, not to a fleet, and keeps the request as a hash only. A create's
|
|
9
|
+
* row names the fleet and argo it answers with and is deleted with that fleet; a
|
|
10
|
+
* delete's row names nothing of the fleet.
|
|
11
|
+
*/
|
|
12
|
+
export type InstallationRequestModel = runtime.Types.Result.DefaultSelection<Prisma.$InstallationRequestPayload>;
|
|
13
|
+
export type AggregateInstallationRequest = {
|
|
14
|
+
_count: InstallationRequestCountAggregateOutputType | null;
|
|
15
|
+
_min: InstallationRequestMinAggregateOutputType | null;
|
|
16
|
+
_max: InstallationRequestMaxAggregateOutputType | null;
|
|
17
|
+
};
|
|
18
|
+
export type InstallationRequestMinAggregateOutputType = {
|
|
19
|
+
requestId: string | null;
|
|
20
|
+
kind: $Enums.InstallationRequestKind | null;
|
|
21
|
+
requestHash: string | null;
|
|
22
|
+
fleetId: string | null;
|
|
23
|
+
operatorShipId: string | null;
|
|
24
|
+
at: Date | null;
|
|
25
|
+
};
|
|
26
|
+
export type InstallationRequestMaxAggregateOutputType = {
|
|
27
|
+
requestId: string | null;
|
|
28
|
+
kind: $Enums.InstallationRequestKind | null;
|
|
29
|
+
requestHash: string | null;
|
|
30
|
+
fleetId: string | null;
|
|
31
|
+
operatorShipId: string | null;
|
|
32
|
+
at: Date | null;
|
|
33
|
+
};
|
|
34
|
+
export type InstallationRequestCountAggregateOutputType = {
|
|
35
|
+
requestId: number;
|
|
36
|
+
kind: number;
|
|
37
|
+
requestHash: number;
|
|
38
|
+
fleetId: number;
|
|
39
|
+
operatorShipId: number;
|
|
40
|
+
at: number;
|
|
41
|
+
_all: number;
|
|
42
|
+
};
|
|
43
|
+
export type InstallationRequestMinAggregateInputType = {
|
|
44
|
+
requestId?: true;
|
|
45
|
+
kind?: true;
|
|
46
|
+
requestHash?: true;
|
|
47
|
+
fleetId?: true;
|
|
48
|
+
operatorShipId?: true;
|
|
49
|
+
at?: true;
|
|
50
|
+
};
|
|
51
|
+
export type InstallationRequestMaxAggregateInputType = {
|
|
52
|
+
requestId?: true;
|
|
53
|
+
kind?: true;
|
|
54
|
+
requestHash?: true;
|
|
55
|
+
fleetId?: true;
|
|
56
|
+
operatorShipId?: true;
|
|
57
|
+
at?: true;
|
|
58
|
+
};
|
|
59
|
+
export type InstallationRequestCountAggregateInputType = {
|
|
60
|
+
requestId?: true;
|
|
61
|
+
kind?: true;
|
|
62
|
+
requestHash?: true;
|
|
63
|
+
fleetId?: true;
|
|
64
|
+
operatorShipId?: true;
|
|
65
|
+
at?: true;
|
|
66
|
+
_all?: true;
|
|
67
|
+
};
|
|
68
|
+
export type InstallationRequestAggregateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
69
|
+
/**
|
|
70
|
+
* Filter which InstallationRequest to aggregate.
|
|
71
|
+
*/
|
|
72
|
+
where?: Prisma.InstallationRequestWhereInput;
|
|
73
|
+
/**
|
|
74
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
|
|
75
|
+
*
|
|
76
|
+
* Determine the order of InstallationRequests to fetch.
|
|
77
|
+
*/
|
|
78
|
+
orderBy?: Prisma.InstallationRequestOrderByWithRelationInput | Prisma.InstallationRequestOrderByWithRelationInput[];
|
|
79
|
+
/**
|
|
80
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
|
|
81
|
+
*
|
|
82
|
+
* Sets the start position
|
|
83
|
+
*/
|
|
84
|
+
cursor?: Prisma.InstallationRequestWhereUniqueInput;
|
|
85
|
+
/**
|
|
86
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
87
|
+
*
|
|
88
|
+
* Take `±n` InstallationRequests from the position of the cursor.
|
|
89
|
+
*/
|
|
90
|
+
take?: number;
|
|
91
|
+
/**
|
|
92
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
93
|
+
*
|
|
94
|
+
* Skip the first `n` InstallationRequests.
|
|
95
|
+
*/
|
|
96
|
+
skip?: number;
|
|
97
|
+
/**
|
|
98
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
|
|
99
|
+
*
|
|
100
|
+
* Count returned InstallationRequests
|
|
101
|
+
**/
|
|
102
|
+
_count?: true | InstallationRequestCountAggregateInputType;
|
|
103
|
+
/**
|
|
104
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
|
|
105
|
+
*
|
|
106
|
+
* Select which fields to find the minimum value
|
|
107
|
+
**/
|
|
108
|
+
_min?: InstallationRequestMinAggregateInputType;
|
|
109
|
+
/**
|
|
110
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
|
|
111
|
+
*
|
|
112
|
+
* Select which fields to find the maximum value
|
|
113
|
+
**/
|
|
114
|
+
_max?: InstallationRequestMaxAggregateInputType;
|
|
115
|
+
};
|
|
116
|
+
export type GetInstallationRequestAggregateType<T extends InstallationRequestAggregateArgs> = {
|
|
117
|
+
[P in keyof T & keyof AggregateInstallationRequest]: P extends '_count' | 'count' ? T[P] extends true ? number : Prisma.GetScalarType<T[P], AggregateInstallationRequest[P]> : Prisma.GetScalarType<T[P], AggregateInstallationRequest[P]>;
|
|
118
|
+
};
|
|
119
|
+
export type InstallationRequestGroupByArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
120
|
+
where?: Prisma.InstallationRequestWhereInput;
|
|
121
|
+
orderBy?: Prisma.InstallationRequestOrderByWithAggregationInput | Prisma.InstallationRequestOrderByWithAggregationInput[];
|
|
122
|
+
by: Prisma.InstallationRequestScalarFieldEnum[] | Prisma.InstallationRequestScalarFieldEnum;
|
|
123
|
+
having?: Prisma.InstallationRequestScalarWhereWithAggregatesInput;
|
|
124
|
+
take?: number;
|
|
125
|
+
skip?: number;
|
|
126
|
+
_count?: InstallationRequestCountAggregateInputType | true;
|
|
127
|
+
_min?: InstallationRequestMinAggregateInputType;
|
|
128
|
+
_max?: InstallationRequestMaxAggregateInputType;
|
|
129
|
+
};
|
|
130
|
+
export type InstallationRequestGroupByOutputType = {
|
|
131
|
+
requestId: string;
|
|
132
|
+
kind: $Enums.InstallationRequestKind;
|
|
133
|
+
requestHash: string;
|
|
134
|
+
fleetId: string | null;
|
|
135
|
+
operatorShipId: string | null;
|
|
136
|
+
at: Date;
|
|
137
|
+
_count: InstallationRequestCountAggregateOutputType | null;
|
|
138
|
+
_min: InstallationRequestMinAggregateOutputType | null;
|
|
139
|
+
_max: InstallationRequestMaxAggregateOutputType | null;
|
|
140
|
+
};
|
|
141
|
+
export type GetInstallationRequestGroupByPayload<T extends InstallationRequestGroupByArgs> = Prisma.PrismaPromise<Array<Prisma.PickEnumerable<InstallationRequestGroupByOutputType, T['by']> & {
|
|
142
|
+
[P in ((keyof T) & (keyof InstallationRequestGroupByOutputType))]: P extends '_count' ? T[P] extends boolean ? number : Prisma.GetScalarType<T[P], InstallationRequestGroupByOutputType[P]> : Prisma.GetScalarType<T[P], InstallationRequestGroupByOutputType[P]>;
|
|
143
|
+
}>>;
|
|
144
|
+
export type InstallationRequestWhereInput = {
|
|
145
|
+
AND?: Prisma.InstallationRequestWhereInput | Prisma.InstallationRequestWhereInput[];
|
|
146
|
+
OR?: Prisma.InstallationRequestWhereInput[];
|
|
147
|
+
NOT?: Prisma.InstallationRequestWhereInput | Prisma.InstallationRequestWhereInput[];
|
|
148
|
+
requestId?: Prisma.StringFilter<"InstallationRequest"> | string;
|
|
149
|
+
kind?: Prisma.EnumInstallationRequestKindFilter<"InstallationRequest"> | $Enums.InstallationRequestKind;
|
|
150
|
+
requestHash?: Prisma.StringFilter<"InstallationRequest"> | string;
|
|
151
|
+
fleetId?: Prisma.StringNullableFilter<"InstallationRequest"> | string | null;
|
|
152
|
+
operatorShipId?: Prisma.StringNullableFilter<"InstallationRequest"> | string | null;
|
|
153
|
+
at?: Prisma.DateTimeFilter<"InstallationRequest"> | Date | string;
|
|
154
|
+
};
|
|
155
|
+
export type InstallationRequestOrderByWithRelationInput = {
|
|
156
|
+
requestId?: Prisma.SortOrder;
|
|
157
|
+
kind?: Prisma.SortOrder;
|
|
158
|
+
requestHash?: Prisma.SortOrder;
|
|
159
|
+
fleetId?: Prisma.SortOrderInput | Prisma.SortOrder;
|
|
160
|
+
operatorShipId?: Prisma.SortOrderInput | Prisma.SortOrder;
|
|
161
|
+
at?: Prisma.SortOrder;
|
|
162
|
+
};
|
|
163
|
+
export type InstallationRequestWhereUniqueInput = Prisma.AtLeast<{
|
|
164
|
+
requestId?: string;
|
|
165
|
+
AND?: Prisma.InstallationRequestWhereInput | Prisma.InstallationRequestWhereInput[];
|
|
166
|
+
OR?: Prisma.InstallationRequestWhereInput[];
|
|
167
|
+
NOT?: Prisma.InstallationRequestWhereInput | Prisma.InstallationRequestWhereInput[];
|
|
168
|
+
kind?: Prisma.EnumInstallationRequestKindFilter<"InstallationRequest"> | $Enums.InstallationRequestKind;
|
|
169
|
+
requestHash?: Prisma.StringFilter<"InstallationRequest"> | string;
|
|
170
|
+
fleetId?: Prisma.StringNullableFilter<"InstallationRequest"> | string | null;
|
|
171
|
+
operatorShipId?: Prisma.StringNullableFilter<"InstallationRequest"> | string | null;
|
|
172
|
+
at?: Prisma.DateTimeFilter<"InstallationRequest"> | Date | string;
|
|
173
|
+
}, "requestId">;
|
|
174
|
+
export type InstallationRequestOrderByWithAggregationInput = {
|
|
175
|
+
requestId?: Prisma.SortOrder;
|
|
176
|
+
kind?: Prisma.SortOrder;
|
|
177
|
+
requestHash?: Prisma.SortOrder;
|
|
178
|
+
fleetId?: Prisma.SortOrderInput | Prisma.SortOrder;
|
|
179
|
+
operatorShipId?: Prisma.SortOrderInput | Prisma.SortOrder;
|
|
180
|
+
at?: Prisma.SortOrder;
|
|
181
|
+
_count?: Prisma.InstallationRequestCountOrderByAggregateInput;
|
|
182
|
+
_max?: Prisma.InstallationRequestMaxOrderByAggregateInput;
|
|
183
|
+
_min?: Prisma.InstallationRequestMinOrderByAggregateInput;
|
|
184
|
+
};
|
|
185
|
+
export type InstallationRequestScalarWhereWithAggregatesInput = {
|
|
186
|
+
AND?: Prisma.InstallationRequestScalarWhereWithAggregatesInput | Prisma.InstallationRequestScalarWhereWithAggregatesInput[];
|
|
187
|
+
OR?: Prisma.InstallationRequestScalarWhereWithAggregatesInput[];
|
|
188
|
+
NOT?: Prisma.InstallationRequestScalarWhereWithAggregatesInput | Prisma.InstallationRequestScalarWhereWithAggregatesInput[];
|
|
189
|
+
requestId?: Prisma.StringWithAggregatesFilter<"InstallationRequest"> | string;
|
|
190
|
+
kind?: Prisma.EnumInstallationRequestKindWithAggregatesFilter<"InstallationRequest"> | $Enums.InstallationRequestKind;
|
|
191
|
+
requestHash?: Prisma.StringWithAggregatesFilter<"InstallationRequest"> | string;
|
|
192
|
+
fleetId?: Prisma.StringNullableWithAggregatesFilter<"InstallationRequest"> | string | null;
|
|
193
|
+
operatorShipId?: Prisma.StringNullableWithAggregatesFilter<"InstallationRequest"> | string | null;
|
|
194
|
+
at?: Prisma.DateTimeWithAggregatesFilter<"InstallationRequest"> | Date | string;
|
|
195
|
+
};
|
|
196
|
+
export type InstallationRequestCreateInput = {
|
|
197
|
+
requestId: string;
|
|
198
|
+
kind: $Enums.InstallationRequestKind;
|
|
199
|
+
requestHash: string;
|
|
200
|
+
fleetId?: string | null;
|
|
201
|
+
operatorShipId?: string | null;
|
|
202
|
+
at: Date | string;
|
|
203
|
+
};
|
|
204
|
+
export type InstallationRequestUncheckedCreateInput = {
|
|
205
|
+
requestId: string;
|
|
206
|
+
kind: $Enums.InstallationRequestKind;
|
|
207
|
+
requestHash: string;
|
|
208
|
+
fleetId?: string | null;
|
|
209
|
+
operatorShipId?: string | null;
|
|
210
|
+
at: Date | string;
|
|
211
|
+
};
|
|
212
|
+
export type InstallationRequestUpdateInput = {
|
|
213
|
+
requestId?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
214
|
+
kind?: Prisma.EnumInstallationRequestKindFieldUpdateOperationsInput | $Enums.InstallationRequestKind;
|
|
215
|
+
requestHash?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
216
|
+
fleetId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
217
|
+
operatorShipId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
218
|
+
at?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
219
|
+
};
|
|
220
|
+
export type InstallationRequestUncheckedUpdateInput = {
|
|
221
|
+
requestId?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
222
|
+
kind?: Prisma.EnumInstallationRequestKindFieldUpdateOperationsInput | $Enums.InstallationRequestKind;
|
|
223
|
+
requestHash?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
224
|
+
fleetId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
225
|
+
operatorShipId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
226
|
+
at?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
227
|
+
};
|
|
228
|
+
export type InstallationRequestCreateManyInput = {
|
|
229
|
+
requestId: string;
|
|
230
|
+
kind: $Enums.InstallationRequestKind;
|
|
231
|
+
requestHash: string;
|
|
232
|
+
fleetId?: string | null;
|
|
233
|
+
operatorShipId?: string | null;
|
|
234
|
+
at: Date | string;
|
|
235
|
+
};
|
|
236
|
+
export type InstallationRequestUpdateManyMutationInput = {
|
|
237
|
+
requestId?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
238
|
+
kind?: Prisma.EnumInstallationRequestKindFieldUpdateOperationsInput | $Enums.InstallationRequestKind;
|
|
239
|
+
requestHash?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
240
|
+
fleetId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
241
|
+
operatorShipId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
242
|
+
at?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
243
|
+
};
|
|
244
|
+
export type InstallationRequestUncheckedUpdateManyInput = {
|
|
245
|
+
requestId?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
246
|
+
kind?: Prisma.EnumInstallationRequestKindFieldUpdateOperationsInput | $Enums.InstallationRequestKind;
|
|
247
|
+
requestHash?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
248
|
+
fleetId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
249
|
+
operatorShipId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
250
|
+
at?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
251
|
+
};
|
|
252
|
+
export type InstallationRequestCountOrderByAggregateInput = {
|
|
253
|
+
requestId?: Prisma.SortOrder;
|
|
254
|
+
kind?: Prisma.SortOrder;
|
|
255
|
+
requestHash?: Prisma.SortOrder;
|
|
256
|
+
fleetId?: Prisma.SortOrder;
|
|
257
|
+
operatorShipId?: Prisma.SortOrder;
|
|
258
|
+
at?: Prisma.SortOrder;
|
|
259
|
+
};
|
|
260
|
+
export type InstallationRequestMaxOrderByAggregateInput = {
|
|
261
|
+
requestId?: Prisma.SortOrder;
|
|
262
|
+
kind?: Prisma.SortOrder;
|
|
263
|
+
requestHash?: Prisma.SortOrder;
|
|
264
|
+
fleetId?: Prisma.SortOrder;
|
|
265
|
+
operatorShipId?: Prisma.SortOrder;
|
|
266
|
+
at?: Prisma.SortOrder;
|
|
267
|
+
};
|
|
268
|
+
export type InstallationRequestMinOrderByAggregateInput = {
|
|
269
|
+
requestId?: Prisma.SortOrder;
|
|
270
|
+
kind?: Prisma.SortOrder;
|
|
271
|
+
requestHash?: Prisma.SortOrder;
|
|
272
|
+
fleetId?: Prisma.SortOrder;
|
|
273
|
+
operatorShipId?: Prisma.SortOrder;
|
|
274
|
+
at?: Prisma.SortOrder;
|
|
275
|
+
};
|
|
276
|
+
export type EnumInstallationRequestKindFieldUpdateOperationsInput = {
|
|
277
|
+
set?: $Enums.InstallationRequestKind;
|
|
278
|
+
};
|
|
279
|
+
export type InstallationRequestSelect<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetSelect<{
|
|
280
|
+
requestId?: boolean;
|
|
281
|
+
kind?: boolean;
|
|
282
|
+
requestHash?: boolean;
|
|
283
|
+
fleetId?: boolean;
|
|
284
|
+
operatorShipId?: boolean;
|
|
285
|
+
at?: boolean;
|
|
286
|
+
}, ExtArgs["result"]["installationRequest"]>;
|
|
287
|
+
export type InstallationRequestSelectCreateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetSelect<{
|
|
288
|
+
requestId?: boolean;
|
|
289
|
+
kind?: boolean;
|
|
290
|
+
requestHash?: boolean;
|
|
291
|
+
fleetId?: boolean;
|
|
292
|
+
operatorShipId?: boolean;
|
|
293
|
+
at?: boolean;
|
|
294
|
+
}, ExtArgs["result"]["installationRequest"]>;
|
|
295
|
+
export type InstallationRequestSelectUpdateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetSelect<{
|
|
296
|
+
requestId?: boolean;
|
|
297
|
+
kind?: boolean;
|
|
298
|
+
requestHash?: boolean;
|
|
299
|
+
fleetId?: boolean;
|
|
300
|
+
operatorShipId?: boolean;
|
|
301
|
+
at?: boolean;
|
|
302
|
+
}, ExtArgs["result"]["installationRequest"]>;
|
|
303
|
+
export type InstallationRequestSelectScalar = {
|
|
304
|
+
requestId?: boolean;
|
|
305
|
+
kind?: boolean;
|
|
306
|
+
requestHash?: boolean;
|
|
307
|
+
fleetId?: boolean;
|
|
308
|
+
operatorShipId?: boolean;
|
|
309
|
+
at?: boolean;
|
|
310
|
+
};
|
|
311
|
+
export type InstallationRequestOmit<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetOmit<"requestId" | "kind" | "requestHash" | "fleetId" | "operatorShipId" | "at", ExtArgs["result"]["installationRequest"]>;
|
|
312
|
+
export type $InstallationRequestPayload<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
313
|
+
name: "InstallationRequest";
|
|
314
|
+
objects: {};
|
|
315
|
+
scalars: runtime.Types.Extensions.GetPayloadResult<{
|
|
316
|
+
requestId: string;
|
|
317
|
+
kind: $Enums.InstallationRequestKind;
|
|
318
|
+
requestHash: string;
|
|
319
|
+
/**
|
|
320
|
+
* The created fleet and its argo; null for a delete.
|
|
321
|
+
*/
|
|
322
|
+
fleetId: string | null;
|
|
323
|
+
operatorShipId: string | null;
|
|
324
|
+
at: Date;
|
|
325
|
+
}, ExtArgs["result"]["installationRequest"]>;
|
|
326
|
+
composites: {};
|
|
327
|
+
};
|
|
328
|
+
export type InstallationRequestGetPayload<S extends boolean | null | undefined | InstallationRequestDefaultArgs> = runtime.Types.Result.GetResult<Prisma.$InstallationRequestPayload, S>;
|
|
329
|
+
export type InstallationRequestCountArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = Omit<InstallationRequestFindManyArgs, 'select' | 'include' | 'distinct' | 'omit'> & {
|
|
330
|
+
select?: InstallationRequestCountAggregateInputType | true;
|
|
331
|
+
};
|
|
332
|
+
export interface InstallationRequestDelegate<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs, GlobalOmitOptions = {}> {
|
|
333
|
+
[K: symbol]: {
|
|
334
|
+
types: Prisma.TypeMap<ExtArgs>['model']['InstallationRequest'];
|
|
335
|
+
meta: {
|
|
336
|
+
name: 'InstallationRequest';
|
|
337
|
+
};
|
|
338
|
+
};
|
|
339
|
+
/**
|
|
340
|
+
* Find zero or one InstallationRequest that matches the filter.
|
|
341
|
+
* @param {InstallationRequestFindUniqueArgs} args - Arguments to find a InstallationRequest
|
|
342
|
+
* @example
|
|
343
|
+
* // Get one InstallationRequest
|
|
344
|
+
* const installationRequest = await prisma.installationRequest.findUnique({
|
|
345
|
+
* where: {
|
|
346
|
+
* // ... provide filter here
|
|
347
|
+
* }
|
|
348
|
+
* })
|
|
349
|
+
*/
|
|
350
|
+
findUnique<T extends InstallationRequestFindUniqueArgs>(args: Prisma.SelectSubset<T, InstallationRequestFindUniqueArgs<ExtArgs>>): Prisma.Prisma__InstallationRequestClient<runtime.Types.Result.GetResult<Prisma.$InstallationRequestPayload<ExtArgs>, T, "findUnique", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions>;
|
|
351
|
+
/**
|
|
352
|
+
* Find one InstallationRequest that matches the filter or throw an error with `error.code='P2025'`
|
|
353
|
+
* if no matches were found.
|
|
354
|
+
* @param {InstallationRequestFindUniqueOrThrowArgs} args - Arguments to find a InstallationRequest
|
|
355
|
+
* @example
|
|
356
|
+
* // Get one InstallationRequest
|
|
357
|
+
* const installationRequest = await prisma.installationRequest.findUniqueOrThrow({
|
|
358
|
+
* where: {
|
|
359
|
+
* // ... provide filter here
|
|
360
|
+
* }
|
|
361
|
+
* })
|
|
362
|
+
*/
|
|
363
|
+
findUniqueOrThrow<T extends InstallationRequestFindUniqueOrThrowArgs>(args: Prisma.SelectSubset<T, InstallationRequestFindUniqueOrThrowArgs<ExtArgs>>): Prisma.Prisma__InstallationRequestClient<runtime.Types.Result.GetResult<Prisma.$InstallationRequestPayload<ExtArgs>, T, "findUniqueOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>;
|
|
364
|
+
/**
|
|
365
|
+
* Find the first InstallationRequest that matches the filter.
|
|
366
|
+
* Note, that providing `undefined` is treated as the value not being there.
|
|
367
|
+
* Read more here: https://pris.ly/d/null-undefined
|
|
368
|
+
* @param {InstallationRequestFindFirstArgs} args - Arguments to find a InstallationRequest
|
|
369
|
+
* @example
|
|
370
|
+
* // Get one InstallationRequest
|
|
371
|
+
* const installationRequest = await prisma.installationRequest.findFirst({
|
|
372
|
+
* where: {
|
|
373
|
+
* // ... provide filter here
|
|
374
|
+
* }
|
|
375
|
+
* })
|
|
376
|
+
*/
|
|
377
|
+
findFirst<T extends InstallationRequestFindFirstArgs>(args?: Prisma.SelectSubset<T, InstallationRequestFindFirstArgs<ExtArgs>>): Prisma.Prisma__InstallationRequestClient<runtime.Types.Result.GetResult<Prisma.$InstallationRequestPayload<ExtArgs>, T, "findFirst", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions>;
|
|
378
|
+
/**
|
|
379
|
+
* Find the first InstallationRequest that matches the filter or
|
|
380
|
+
* throw `PrismaKnownClientError` with `P2025` code if no matches were found.
|
|
381
|
+
* Note, that providing `undefined` is treated as the value not being there.
|
|
382
|
+
* Read more here: https://pris.ly/d/null-undefined
|
|
383
|
+
* @param {InstallationRequestFindFirstOrThrowArgs} args - Arguments to find a InstallationRequest
|
|
384
|
+
* @example
|
|
385
|
+
* // Get one InstallationRequest
|
|
386
|
+
* const installationRequest = await prisma.installationRequest.findFirstOrThrow({
|
|
387
|
+
* where: {
|
|
388
|
+
* // ... provide filter here
|
|
389
|
+
* }
|
|
390
|
+
* })
|
|
391
|
+
*/
|
|
392
|
+
findFirstOrThrow<T extends InstallationRequestFindFirstOrThrowArgs>(args?: Prisma.SelectSubset<T, InstallationRequestFindFirstOrThrowArgs<ExtArgs>>): Prisma.Prisma__InstallationRequestClient<runtime.Types.Result.GetResult<Prisma.$InstallationRequestPayload<ExtArgs>, T, "findFirstOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>;
|
|
393
|
+
/**
|
|
394
|
+
* Find zero or more InstallationRequests that matches the filter.
|
|
395
|
+
* Note, that providing `undefined` is treated as the value not being there.
|
|
396
|
+
* Read more here: https://pris.ly/d/null-undefined
|
|
397
|
+
* @param {InstallationRequestFindManyArgs} args - Arguments to filter and select certain fields only.
|
|
398
|
+
* @example
|
|
399
|
+
* // Get all InstallationRequests
|
|
400
|
+
* const installationRequests = await prisma.installationRequest.findMany()
|
|
401
|
+
*
|
|
402
|
+
* // Get first 10 InstallationRequests
|
|
403
|
+
* const installationRequests = await prisma.installationRequest.findMany({ take: 10 })
|
|
404
|
+
*
|
|
405
|
+
* // Only select the `requestId`
|
|
406
|
+
* const installationRequestWithRequestIdOnly = await prisma.installationRequest.findMany({ select: { requestId: true } })
|
|
407
|
+
*
|
|
408
|
+
*/
|
|
409
|
+
findMany<T extends InstallationRequestFindManyArgs>(args?: Prisma.SelectSubset<T, InstallationRequestFindManyArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$InstallationRequestPayload<ExtArgs>, T, "findMany", GlobalOmitOptions>>;
|
|
410
|
+
/**
|
|
411
|
+
* Create a InstallationRequest.
|
|
412
|
+
* @param {InstallationRequestCreateArgs} args - Arguments to create a InstallationRequest.
|
|
413
|
+
* @example
|
|
414
|
+
* // Create one InstallationRequest
|
|
415
|
+
* const InstallationRequest = await prisma.installationRequest.create({
|
|
416
|
+
* data: {
|
|
417
|
+
* // ... data to create a InstallationRequest
|
|
418
|
+
* }
|
|
419
|
+
* })
|
|
420
|
+
*
|
|
421
|
+
*/
|
|
422
|
+
create<T extends InstallationRequestCreateArgs>(args: Prisma.SelectSubset<T, InstallationRequestCreateArgs<ExtArgs>>): Prisma.Prisma__InstallationRequestClient<runtime.Types.Result.GetResult<Prisma.$InstallationRequestPayload<ExtArgs>, T, "create", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>;
|
|
423
|
+
/**
|
|
424
|
+
* Create many InstallationRequests.
|
|
425
|
+
* @param {InstallationRequestCreateManyArgs} args - Arguments to create many InstallationRequests.
|
|
426
|
+
* @example
|
|
427
|
+
* // Create many InstallationRequests
|
|
428
|
+
* const installationRequest = await prisma.installationRequest.createMany({
|
|
429
|
+
* data: [
|
|
430
|
+
* // ... provide data here
|
|
431
|
+
* ]
|
|
432
|
+
* })
|
|
433
|
+
*
|
|
434
|
+
*/
|
|
435
|
+
createMany<T extends InstallationRequestCreateManyArgs>(args?: Prisma.SelectSubset<T, InstallationRequestCreateManyArgs<ExtArgs>>): Prisma.PrismaPromise<Prisma.BatchPayload>;
|
|
436
|
+
/**
|
|
437
|
+
* Create many InstallationRequests and returns the data saved in the database.
|
|
438
|
+
* @param {InstallationRequestCreateManyAndReturnArgs} args - Arguments to create many InstallationRequests.
|
|
439
|
+
* @example
|
|
440
|
+
* // Create many InstallationRequests
|
|
441
|
+
* const installationRequest = await prisma.installationRequest.createManyAndReturn({
|
|
442
|
+
* data: [
|
|
443
|
+
* // ... provide data here
|
|
444
|
+
* ]
|
|
445
|
+
* })
|
|
446
|
+
*
|
|
447
|
+
* // Create many InstallationRequests and only return the `requestId`
|
|
448
|
+
* const installationRequestWithRequestIdOnly = await prisma.installationRequest.createManyAndReturn({
|
|
449
|
+
* select: { requestId: true },
|
|
450
|
+
* data: [
|
|
451
|
+
* // ... provide data here
|
|
452
|
+
* ]
|
|
453
|
+
* })
|
|
454
|
+
* Note, that providing `undefined` is treated as the value not being there.
|
|
455
|
+
* Read more here: https://pris.ly/d/null-undefined
|
|
456
|
+
*
|
|
457
|
+
*/
|
|
458
|
+
createManyAndReturn<T extends InstallationRequestCreateManyAndReturnArgs>(args?: Prisma.SelectSubset<T, InstallationRequestCreateManyAndReturnArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$InstallationRequestPayload<ExtArgs>, T, "createManyAndReturn", GlobalOmitOptions>>;
|
|
459
|
+
/**
|
|
460
|
+
* Delete a InstallationRequest.
|
|
461
|
+
* @param {InstallationRequestDeleteArgs} args - Arguments to delete one InstallationRequest.
|
|
462
|
+
* @example
|
|
463
|
+
* // Delete one InstallationRequest
|
|
464
|
+
* const InstallationRequest = await prisma.installationRequest.delete({
|
|
465
|
+
* where: {
|
|
466
|
+
* // ... filter to delete one InstallationRequest
|
|
467
|
+
* }
|
|
468
|
+
* })
|
|
469
|
+
*
|
|
470
|
+
*/
|
|
471
|
+
delete<T extends InstallationRequestDeleteArgs>(args: Prisma.SelectSubset<T, InstallationRequestDeleteArgs<ExtArgs>>): Prisma.Prisma__InstallationRequestClient<runtime.Types.Result.GetResult<Prisma.$InstallationRequestPayload<ExtArgs>, T, "delete", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>;
|
|
472
|
+
/**
|
|
473
|
+
* Update one InstallationRequest.
|
|
474
|
+
* @param {InstallationRequestUpdateArgs} args - Arguments to update one InstallationRequest.
|
|
475
|
+
* @example
|
|
476
|
+
* // Update one InstallationRequest
|
|
477
|
+
* const installationRequest = await prisma.installationRequest.update({
|
|
478
|
+
* where: {
|
|
479
|
+
* // ... provide filter here
|
|
480
|
+
* },
|
|
481
|
+
* data: {
|
|
482
|
+
* // ... provide data here
|
|
483
|
+
* }
|
|
484
|
+
* })
|
|
485
|
+
*
|
|
486
|
+
*/
|
|
487
|
+
update<T extends InstallationRequestUpdateArgs>(args: Prisma.SelectSubset<T, InstallationRequestUpdateArgs<ExtArgs>>): Prisma.Prisma__InstallationRequestClient<runtime.Types.Result.GetResult<Prisma.$InstallationRequestPayload<ExtArgs>, T, "update", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>;
|
|
488
|
+
/**
|
|
489
|
+
* Delete zero or more InstallationRequests.
|
|
490
|
+
* @param {InstallationRequestDeleteManyArgs} args - Arguments to filter InstallationRequests to delete.
|
|
491
|
+
* @example
|
|
492
|
+
* // Delete a few InstallationRequests
|
|
493
|
+
* const { count } = await prisma.installationRequest.deleteMany({
|
|
494
|
+
* where: {
|
|
495
|
+
* // ... provide filter here
|
|
496
|
+
* }
|
|
497
|
+
* })
|
|
498
|
+
*
|
|
499
|
+
*/
|
|
500
|
+
deleteMany<T extends InstallationRequestDeleteManyArgs>(args?: Prisma.SelectSubset<T, InstallationRequestDeleteManyArgs<ExtArgs>>): Prisma.PrismaPromise<Prisma.BatchPayload>;
|
|
501
|
+
/**
|
|
502
|
+
* Update zero or more InstallationRequests.
|
|
503
|
+
* Note, that providing `undefined` is treated as the value not being there.
|
|
504
|
+
* Read more here: https://pris.ly/d/null-undefined
|
|
505
|
+
* @param {InstallationRequestUpdateManyArgs} args - Arguments to update one or more rows.
|
|
506
|
+
* @example
|
|
507
|
+
* // Update many InstallationRequests
|
|
508
|
+
* const installationRequest = await prisma.installationRequest.updateMany({
|
|
509
|
+
* where: {
|
|
510
|
+
* // ... provide filter here
|
|
511
|
+
* },
|
|
512
|
+
* data: {
|
|
513
|
+
* // ... provide data here
|
|
514
|
+
* }
|
|
515
|
+
* })
|
|
516
|
+
*
|
|
517
|
+
*/
|
|
518
|
+
updateMany<T extends InstallationRequestUpdateManyArgs>(args: Prisma.SelectSubset<T, InstallationRequestUpdateManyArgs<ExtArgs>>): Prisma.PrismaPromise<Prisma.BatchPayload>;
|
|
519
|
+
/**
|
|
520
|
+
* Update zero or more InstallationRequests and returns the data updated in the database.
|
|
521
|
+
* @param {InstallationRequestUpdateManyAndReturnArgs} args - Arguments to update many InstallationRequests.
|
|
522
|
+
* @example
|
|
523
|
+
* // Update many InstallationRequests
|
|
524
|
+
* const installationRequest = await prisma.installationRequest.updateManyAndReturn({
|
|
525
|
+
* where: {
|
|
526
|
+
* // ... provide filter here
|
|
527
|
+
* },
|
|
528
|
+
* data: [
|
|
529
|
+
* // ... provide data here
|
|
530
|
+
* ]
|
|
531
|
+
* })
|
|
532
|
+
*
|
|
533
|
+
* // Update zero or more InstallationRequests and only return the `requestId`
|
|
534
|
+
* const installationRequestWithRequestIdOnly = await prisma.installationRequest.updateManyAndReturn({
|
|
535
|
+
* select: { requestId: true },
|
|
536
|
+
* where: {
|
|
537
|
+
* // ... provide filter here
|
|
538
|
+
* },
|
|
539
|
+
* data: [
|
|
540
|
+
* // ... provide data here
|
|
541
|
+
* ]
|
|
542
|
+
* })
|
|
543
|
+
* Note, that providing `undefined` is treated as the value not being there.
|
|
544
|
+
* Read more here: https://pris.ly/d/null-undefined
|
|
545
|
+
*
|
|
546
|
+
*/
|
|
547
|
+
updateManyAndReturn<T extends InstallationRequestUpdateManyAndReturnArgs>(args: Prisma.SelectSubset<T, InstallationRequestUpdateManyAndReturnArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$InstallationRequestPayload<ExtArgs>, T, "updateManyAndReturn", GlobalOmitOptions>>;
|
|
548
|
+
/**
|
|
549
|
+
* Create or update one InstallationRequest.
|
|
550
|
+
* @param {InstallationRequestUpsertArgs} args - Arguments to update or create a InstallationRequest.
|
|
551
|
+
* @example
|
|
552
|
+
* // Update or create a InstallationRequest
|
|
553
|
+
* const installationRequest = await prisma.installationRequest.upsert({
|
|
554
|
+
* create: {
|
|
555
|
+
* // ... data to create a InstallationRequest
|
|
556
|
+
* },
|
|
557
|
+
* update: {
|
|
558
|
+
* // ... in case it already exists, update
|
|
559
|
+
* },
|
|
560
|
+
* where: {
|
|
561
|
+
* // ... the filter for the InstallationRequest we want to update
|
|
562
|
+
* }
|
|
563
|
+
* })
|
|
564
|
+
*/
|
|
565
|
+
upsert<T extends InstallationRequestUpsertArgs>(args: Prisma.SelectSubset<T, InstallationRequestUpsertArgs<ExtArgs>>): Prisma.Prisma__InstallationRequestClient<runtime.Types.Result.GetResult<Prisma.$InstallationRequestPayload<ExtArgs>, T, "upsert", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>;
|
|
566
|
+
/**
|
|
567
|
+
* Count the number of InstallationRequests.
|
|
568
|
+
* Note, that providing `undefined` is treated as the value not being there.
|
|
569
|
+
* Read more here: https://pris.ly/d/null-undefined
|
|
570
|
+
* @param {InstallationRequestCountArgs} args - Arguments to filter InstallationRequests to count.
|
|
571
|
+
* @example
|
|
572
|
+
* // Count the number of InstallationRequests
|
|
573
|
+
* const count = await prisma.installationRequest.count({
|
|
574
|
+
* where: {
|
|
575
|
+
* // ... the filter for the InstallationRequests we want to count
|
|
576
|
+
* }
|
|
577
|
+
* })
|
|
578
|
+
**/
|
|
579
|
+
count<T extends InstallationRequestCountArgs>(args?: Prisma.Subset<T, InstallationRequestCountArgs>): Prisma.PrismaPromise<T extends runtime.Types.Utils.Record<'select', any> ? T['select'] extends true ? number : Prisma.GetScalarType<T['select'], InstallationRequestCountAggregateOutputType> : number>;
|
|
580
|
+
/**
|
|
581
|
+
* Allows you to perform aggregations operations on a InstallationRequest.
|
|
582
|
+
* Note, that providing `undefined` is treated as the value not being there.
|
|
583
|
+
* Read more here: https://pris.ly/d/null-undefined
|
|
584
|
+
* @param {InstallationRequestAggregateArgs} args - Select which aggregations you would like to apply and on what fields.
|
|
585
|
+
* @example
|
|
586
|
+
* // Ordered by age ascending
|
|
587
|
+
* // Where email contains prisma.io
|
|
588
|
+
* // Limited to the 10 users
|
|
589
|
+
* const aggregations = await prisma.user.aggregate({
|
|
590
|
+
* _avg: {
|
|
591
|
+
* age: true,
|
|
592
|
+
* },
|
|
593
|
+
* where: {
|
|
594
|
+
* email: {
|
|
595
|
+
* contains: "prisma.io",
|
|
596
|
+
* },
|
|
597
|
+
* },
|
|
598
|
+
* orderBy: {
|
|
599
|
+
* age: "asc",
|
|
600
|
+
* },
|
|
601
|
+
* take: 10,
|
|
602
|
+
* })
|
|
603
|
+
**/
|
|
604
|
+
aggregate<T extends InstallationRequestAggregateArgs>(args: Prisma.Subset<T, InstallationRequestAggregateArgs>): Prisma.PrismaPromise<GetInstallationRequestAggregateType<T>>;
|
|
605
|
+
/**
|
|
606
|
+
* Group by InstallationRequest.
|
|
607
|
+
* Note, that providing `undefined` is treated as the value not being there.
|
|
608
|
+
* Read more here: https://pris.ly/d/null-undefined
|
|
609
|
+
* @param {InstallationRequestGroupByArgs} args - Group by arguments.
|
|
610
|
+
* @example
|
|
611
|
+
* // Group by city, order by createdAt, get count
|
|
612
|
+
* const result = await prisma.user.groupBy({
|
|
613
|
+
* by: ['city', 'createdAt'],
|
|
614
|
+
* orderBy: {
|
|
615
|
+
* createdAt: true
|
|
616
|
+
* },
|
|
617
|
+
* _count: {
|
|
618
|
+
* _all: true
|
|
619
|
+
* },
|
|
620
|
+
* })
|
|
621
|
+
*
|
|
622
|
+
**/
|
|
623
|
+
groupBy<T extends InstallationRequestGroupByArgs, HasSelectOrTake extends Prisma.Or<Prisma.Extends<'skip', Prisma.Keys<T>>, Prisma.Extends<'take', Prisma.Keys<T>>>, OrderByArg extends Prisma.True extends HasSelectOrTake ? {
|
|
624
|
+
orderBy: InstallationRequestGroupByArgs['orderBy'];
|
|
625
|
+
} : {
|
|
626
|
+
orderBy?: InstallationRequestGroupByArgs['orderBy'];
|
|
627
|
+
}, 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 ? {
|
|
628
|
+
[P in HavingFields]: P extends ByFields ? never : P extends string ? `Error: Field "${P}" used in "having" needs to be provided in "by".` : [
|
|
629
|
+
Error,
|
|
630
|
+
'Field ',
|
|
631
|
+
P,
|
|
632
|
+
` in "having" needs to be provided in "by"`
|
|
633
|
+
];
|
|
634
|
+
}[HavingFields] : 'take' extends Prisma.Keys<T> ? 'orderBy' extends Prisma.Keys<T> ? ByValid extends Prisma.True ? {} : {
|
|
635
|
+
[P in OrderFields]: P extends ByFields ? never : `Error: Field "${P}" in "orderBy" needs to be provided in "by"`;
|
|
636
|
+
}[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 ? {} : {
|
|
637
|
+
[P in OrderFields]: P extends ByFields ? never : `Error: Field "${P}" in "orderBy" needs to be provided in "by"`;
|
|
638
|
+
}[OrderFields] : 'Error: If you provide "skip", you also need to provide "orderBy"' : ByValid extends Prisma.True ? {} : {
|
|
639
|
+
[P in OrderFields]: P extends ByFields ? never : `Error: Field "${P}" in "orderBy" needs to be provided in "by"`;
|
|
640
|
+
}[OrderFields]>(args: Prisma.SubsetIntersection<T, InstallationRequestGroupByArgs, OrderByArg> & InputErrors): {} extends InputErrors ? GetInstallationRequestGroupByPayload<T> : Prisma.PrismaPromise<InputErrors>;
|
|
641
|
+
/**
|
|
642
|
+
* Fields of the InstallationRequest model
|
|
643
|
+
*/
|
|
644
|
+
readonly fields: InstallationRequestFieldRefs;
|
|
645
|
+
}
|
|
646
|
+
/**
|
|
647
|
+
* The delegate class that acts as a "Promise-like" for InstallationRequest.
|
|
648
|
+
* Why is this prefixed with `Prisma__`?
|
|
649
|
+
* Because we want to prevent naming conflicts as mentioned in
|
|
650
|
+
* https://github.com/prisma/prisma-client-js/issues/707
|
|
651
|
+
*/
|
|
652
|
+
export interface Prisma__InstallationRequestClient<T, Null = never, ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs, GlobalOmitOptions = {}> extends Prisma.PrismaPromise<T> {
|
|
653
|
+
readonly [Symbol.toStringTag]: "PrismaPromise";
|
|
654
|
+
/**
|
|
655
|
+
* Attaches callbacks for the resolution and/or rejection of the Promise.
|
|
656
|
+
* @param onfulfilled The callback to execute when the Promise is resolved.
|
|
657
|
+
* @param onrejected The callback to execute when the Promise is rejected.
|
|
658
|
+
* @returns A Promise for the completion of which ever callback is executed.
|
|
659
|
+
*/
|
|
660
|
+
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>;
|
|
661
|
+
/**
|
|
662
|
+
* Attaches a callback for only the rejection of the Promise.
|
|
663
|
+
* @param onrejected The callback to execute when the Promise is rejected.
|
|
664
|
+
* @returns A Promise for the completion of the callback.
|
|
665
|
+
*/
|
|
666
|
+
catch<TResult = never>(onrejected?: ((reason: any) => TResult | PromiseLike<TResult>) | undefined | null): runtime.Types.Utils.JsPromise<T | TResult>;
|
|
667
|
+
/**
|
|
668
|
+
* Attaches a callback that is invoked when the Promise is settled (fulfilled or rejected). The
|
|
669
|
+
* resolved value cannot be modified from the callback.
|
|
670
|
+
* @param onfinally The callback to execute when the Promise is settled (fulfilled or rejected).
|
|
671
|
+
* @returns A Promise for the completion of the callback.
|
|
672
|
+
*/
|
|
673
|
+
finally(onfinally?: (() => void) | undefined | null): runtime.Types.Utils.JsPromise<T>;
|
|
674
|
+
}
|
|
675
|
+
/**
|
|
676
|
+
* Fields of the InstallationRequest model
|
|
677
|
+
*/
|
|
678
|
+
export interface InstallationRequestFieldRefs {
|
|
679
|
+
readonly requestId: Prisma.FieldRef<"InstallationRequest", 'String'>;
|
|
680
|
+
readonly kind: Prisma.FieldRef<"InstallationRequest", 'InstallationRequestKind'>;
|
|
681
|
+
readonly requestHash: Prisma.FieldRef<"InstallationRequest", 'String'>;
|
|
682
|
+
readonly fleetId: Prisma.FieldRef<"InstallationRequest", 'String'>;
|
|
683
|
+
readonly operatorShipId: Prisma.FieldRef<"InstallationRequest", 'String'>;
|
|
684
|
+
readonly at: Prisma.FieldRef<"InstallationRequest", 'DateTime'>;
|
|
685
|
+
}
|
|
686
|
+
/**
|
|
687
|
+
* InstallationRequest findUnique
|
|
688
|
+
*/
|
|
689
|
+
export type InstallationRequestFindUniqueArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
690
|
+
/**
|
|
691
|
+
* Select specific fields to fetch from the InstallationRequest
|
|
692
|
+
*/
|
|
693
|
+
select?: Prisma.InstallationRequestSelect<ExtArgs> | null;
|
|
694
|
+
/**
|
|
695
|
+
* Omit specific fields from the InstallationRequest
|
|
696
|
+
*/
|
|
697
|
+
omit?: Prisma.InstallationRequestOmit<ExtArgs> | null;
|
|
698
|
+
/**
|
|
699
|
+
* Filter, which InstallationRequest to fetch.
|
|
700
|
+
*/
|
|
701
|
+
where: Prisma.InstallationRequestWhereUniqueInput;
|
|
702
|
+
};
|
|
703
|
+
/**
|
|
704
|
+
* InstallationRequest findUniqueOrThrow
|
|
705
|
+
*/
|
|
706
|
+
export type InstallationRequestFindUniqueOrThrowArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
707
|
+
/**
|
|
708
|
+
* Select specific fields to fetch from the InstallationRequest
|
|
709
|
+
*/
|
|
710
|
+
select?: Prisma.InstallationRequestSelect<ExtArgs> | null;
|
|
711
|
+
/**
|
|
712
|
+
* Omit specific fields from the InstallationRequest
|
|
713
|
+
*/
|
|
714
|
+
omit?: Prisma.InstallationRequestOmit<ExtArgs> | null;
|
|
715
|
+
/**
|
|
716
|
+
* Filter, which InstallationRequest to fetch.
|
|
717
|
+
*/
|
|
718
|
+
where: Prisma.InstallationRequestWhereUniqueInput;
|
|
719
|
+
};
|
|
720
|
+
/**
|
|
721
|
+
* InstallationRequest findFirst
|
|
722
|
+
*/
|
|
723
|
+
export type InstallationRequestFindFirstArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
724
|
+
/**
|
|
725
|
+
* Select specific fields to fetch from the InstallationRequest
|
|
726
|
+
*/
|
|
727
|
+
select?: Prisma.InstallationRequestSelect<ExtArgs> | null;
|
|
728
|
+
/**
|
|
729
|
+
* Omit specific fields from the InstallationRequest
|
|
730
|
+
*/
|
|
731
|
+
omit?: Prisma.InstallationRequestOmit<ExtArgs> | null;
|
|
732
|
+
/**
|
|
733
|
+
* Filter, which InstallationRequest to fetch.
|
|
734
|
+
*/
|
|
735
|
+
where?: Prisma.InstallationRequestWhereInput;
|
|
736
|
+
/**
|
|
737
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
|
|
738
|
+
*
|
|
739
|
+
* Determine the order of InstallationRequests to fetch.
|
|
740
|
+
*/
|
|
741
|
+
orderBy?: Prisma.InstallationRequestOrderByWithRelationInput | Prisma.InstallationRequestOrderByWithRelationInput[];
|
|
742
|
+
/**
|
|
743
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
|
|
744
|
+
*
|
|
745
|
+
* Sets the position for searching for InstallationRequests.
|
|
746
|
+
*/
|
|
747
|
+
cursor?: Prisma.InstallationRequestWhereUniqueInput;
|
|
748
|
+
/**
|
|
749
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
750
|
+
*
|
|
751
|
+
* Take `±n` InstallationRequests from the position of the cursor.
|
|
752
|
+
*/
|
|
753
|
+
take?: number;
|
|
754
|
+
/**
|
|
755
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
756
|
+
*
|
|
757
|
+
* Skip the first `n` InstallationRequests.
|
|
758
|
+
*/
|
|
759
|
+
skip?: number;
|
|
760
|
+
/**
|
|
761
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
|
|
762
|
+
*
|
|
763
|
+
* Filter by unique combinations of InstallationRequests.
|
|
764
|
+
*/
|
|
765
|
+
distinct?: Prisma.InstallationRequestScalarFieldEnum | Prisma.InstallationRequestScalarFieldEnum[];
|
|
766
|
+
};
|
|
767
|
+
/**
|
|
768
|
+
* InstallationRequest findFirstOrThrow
|
|
769
|
+
*/
|
|
770
|
+
export type InstallationRequestFindFirstOrThrowArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
771
|
+
/**
|
|
772
|
+
* Select specific fields to fetch from the InstallationRequest
|
|
773
|
+
*/
|
|
774
|
+
select?: Prisma.InstallationRequestSelect<ExtArgs> | null;
|
|
775
|
+
/**
|
|
776
|
+
* Omit specific fields from the InstallationRequest
|
|
777
|
+
*/
|
|
778
|
+
omit?: Prisma.InstallationRequestOmit<ExtArgs> | null;
|
|
779
|
+
/**
|
|
780
|
+
* Filter, which InstallationRequest to fetch.
|
|
781
|
+
*/
|
|
782
|
+
where?: Prisma.InstallationRequestWhereInput;
|
|
783
|
+
/**
|
|
784
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
|
|
785
|
+
*
|
|
786
|
+
* Determine the order of InstallationRequests to fetch.
|
|
787
|
+
*/
|
|
788
|
+
orderBy?: Prisma.InstallationRequestOrderByWithRelationInput | Prisma.InstallationRequestOrderByWithRelationInput[];
|
|
789
|
+
/**
|
|
790
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
|
|
791
|
+
*
|
|
792
|
+
* Sets the position for searching for InstallationRequests.
|
|
793
|
+
*/
|
|
794
|
+
cursor?: Prisma.InstallationRequestWhereUniqueInput;
|
|
795
|
+
/**
|
|
796
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
797
|
+
*
|
|
798
|
+
* Take `±n` InstallationRequests from the position of the cursor.
|
|
799
|
+
*/
|
|
800
|
+
take?: number;
|
|
801
|
+
/**
|
|
802
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
803
|
+
*
|
|
804
|
+
* Skip the first `n` InstallationRequests.
|
|
805
|
+
*/
|
|
806
|
+
skip?: number;
|
|
807
|
+
/**
|
|
808
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
|
|
809
|
+
*
|
|
810
|
+
* Filter by unique combinations of InstallationRequests.
|
|
811
|
+
*/
|
|
812
|
+
distinct?: Prisma.InstallationRequestScalarFieldEnum | Prisma.InstallationRequestScalarFieldEnum[];
|
|
813
|
+
};
|
|
814
|
+
/**
|
|
815
|
+
* InstallationRequest findMany
|
|
816
|
+
*/
|
|
817
|
+
export type InstallationRequestFindManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
818
|
+
/**
|
|
819
|
+
* Select specific fields to fetch from the InstallationRequest
|
|
820
|
+
*/
|
|
821
|
+
select?: Prisma.InstallationRequestSelect<ExtArgs> | null;
|
|
822
|
+
/**
|
|
823
|
+
* Omit specific fields from the InstallationRequest
|
|
824
|
+
*/
|
|
825
|
+
omit?: Prisma.InstallationRequestOmit<ExtArgs> | null;
|
|
826
|
+
/**
|
|
827
|
+
* Filter, which InstallationRequests to fetch.
|
|
828
|
+
*/
|
|
829
|
+
where?: Prisma.InstallationRequestWhereInput;
|
|
830
|
+
/**
|
|
831
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
|
|
832
|
+
*
|
|
833
|
+
* Determine the order of InstallationRequests to fetch.
|
|
834
|
+
*/
|
|
835
|
+
orderBy?: Prisma.InstallationRequestOrderByWithRelationInput | Prisma.InstallationRequestOrderByWithRelationInput[];
|
|
836
|
+
/**
|
|
837
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
|
|
838
|
+
*
|
|
839
|
+
* Sets the position for listing InstallationRequests.
|
|
840
|
+
*/
|
|
841
|
+
cursor?: Prisma.InstallationRequestWhereUniqueInput;
|
|
842
|
+
/**
|
|
843
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
844
|
+
*
|
|
845
|
+
* Take `±n` InstallationRequests from the position of the cursor.
|
|
846
|
+
*/
|
|
847
|
+
take?: number;
|
|
848
|
+
/**
|
|
849
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
850
|
+
*
|
|
851
|
+
* Skip the first `n` InstallationRequests.
|
|
852
|
+
*/
|
|
853
|
+
skip?: number;
|
|
854
|
+
/**
|
|
855
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
|
|
856
|
+
*
|
|
857
|
+
* Filter by unique combinations of InstallationRequests.
|
|
858
|
+
*/
|
|
859
|
+
distinct?: Prisma.InstallationRequestScalarFieldEnum | Prisma.InstallationRequestScalarFieldEnum[];
|
|
860
|
+
};
|
|
861
|
+
/**
|
|
862
|
+
* InstallationRequest create
|
|
863
|
+
*/
|
|
864
|
+
export type InstallationRequestCreateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
865
|
+
/**
|
|
866
|
+
* Select specific fields to fetch from the InstallationRequest
|
|
867
|
+
*/
|
|
868
|
+
select?: Prisma.InstallationRequestSelect<ExtArgs> | null;
|
|
869
|
+
/**
|
|
870
|
+
* Omit specific fields from the InstallationRequest
|
|
871
|
+
*/
|
|
872
|
+
omit?: Prisma.InstallationRequestOmit<ExtArgs> | null;
|
|
873
|
+
/**
|
|
874
|
+
* The data needed to create a InstallationRequest.
|
|
875
|
+
*/
|
|
876
|
+
data: Prisma.XOR<Prisma.InstallationRequestCreateInput, Prisma.InstallationRequestUncheckedCreateInput>;
|
|
877
|
+
};
|
|
878
|
+
/**
|
|
879
|
+
* InstallationRequest createMany
|
|
880
|
+
*/
|
|
881
|
+
export type InstallationRequestCreateManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
882
|
+
/**
|
|
883
|
+
* The data used to create many InstallationRequests.
|
|
884
|
+
*/
|
|
885
|
+
data: Prisma.InstallationRequestCreateManyInput | Prisma.InstallationRequestCreateManyInput[];
|
|
886
|
+
skipDuplicates?: boolean;
|
|
887
|
+
};
|
|
888
|
+
/**
|
|
889
|
+
* InstallationRequest createManyAndReturn
|
|
890
|
+
*/
|
|
891
|
+
export type InstallationRequestCreateManyAndReturnArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
892
|
+
/**
|
|
893
|
+
* Select specific fields to fetch from the InstallationRequest
|
|
894
|
+
*/
|
|
895
|
+
select?: Prisma.InstallationRequestSelectCreateManyAndReturn<ExtArgs> | null;
|
|
896
|
+
/**
|
|
897
|
+
* Omit specific fields from the InstallationRequest
|
|
898
|
+
*/
|
|
899
|
+
omit?: Prisma.InstallationRequestOmit<ExtArgs> | null;
|
|
900
|
+
/**
|
|
901
|
+
* The data used to create many InstallationRequests.
|
|
902
|
+
*/
|
|
903
|
+
data: Prisma.InstallationRequestCreateManyInput | Prisma.InstallationRequestCreateManyInput[];
|
|
904
|
+
skipDuplicates?: boolean;
|
|
905
|
+
};
|
|
906
|
+
/**
|
|
907
|
+
* InstallationRequest update
|
|
908
|
+
*/
|
|
909
|
+
export type InstallationRequestUpdateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
910
|
+
/**
|
|
911
|
+
* Select specific fields to fetch from the InstallationRequest
|
|
912
|
+
*/
|
|
913
|
+
select?: Prisma.InstallationRequestSelect<ExtArgs> | null;
|
|
914
|
+
/**
|
|
915
|
+
* Omit specific fields from the InstallationRequest
|
|
916
|
+
*/
|
|
917
|
+
omit?: Prisma.InstallationRequestOmit<ExtArgs> | null;
|
|
918
|
+
/**
|
|
919
|
+
* The data needed to update a InstallationRequest.
|
|
920
|
+
*/
|
|
921
|
+
data: Prisma.XOR<Prisma.InstallationRequestUpdateInput, Prisma.InstallationRequestUncheckedUpdateInput>;
|
|
922
|
+
/**
|
|
923
|
+
* Choose, which InstallationRequest to update.
|
|
924
|
+
*/
|
|
925
|
+
where: Prisma.InstallationRequestWhereUniqueInput;
|
|
926
|
+
};
|
|
927
|
+
/**
|
|
928
|
+
* InstallationRequest updateMany
|
|
929
|
+
*/
|
|
930
|
+
export type InstallationRequestUpdateManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
931
|
+
/**
|
|
932
|
+
* The data used to update InstallationRequests.
|
|
933
|
+
*/
|
|
934
|
+
data: Prisma.XOR<Prisma.InstallationRequestUpdateManyMutationInput, Prisma.InstallationRequestUncheckedUpdateManyInput>;
|
|
935
|
+
/**
|
|
936
|
+
* Filter which InstallationRequests to update
|
|
937
|
+
*/
|
|
938
|
+
where?: Prisma.InstallationRequestWhereInput;
|
|
939
|
+
/**
|
|
940
|
+
* Limit how many InstallationRequests to update.
|
|
941
|
+
*/
|
|
942
|
+
limit?: number;
|
|
943
|
+
};
|
|
944
|
+
/**
|
|
945
|
+
* InstallationRequest updateManyAndReturn
|
|
946
|
+
*/
|
|
947
|
+
export type InstallationRequestUpdateManyAndReturnArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
948
|
+
/**
|
|
949
|
+
* Select specific fields to fetch from the InstallationRequest
|
|
950
|
+
*/
|
|
951
|
+
select?: Prisma.InstallationRequestSelectUpdateManyAndReturn<ExtArgs> | null;
|
|
952
|
+
/**
|
|
953
|
+
* Omit specific fields from the InstallationRequest
|
|
954
|
+
*/
|
|
955
|
+
omit?: Prisma.InstallationRequestOmit<ExtArgs> | null;
|
|
956
|
+
/**
|
|
957
|
+
* The data used to update InstallationRequests.
|
|
958
|
+
*/
|
|
959
|
+
data: Prisma.XOR<Prisma.InstallationRequestUpdateManyMutationInput, Prisma.InstallationRequestUncheckedUpdateManyInput>;
|
|
960
|
+
/**
|
|
961
|
+
* Filter which InstallationRequests to update
|
|
962
|
+
*/
|
|
963
|
+
where?: Prisma.InstallationRequestWhereInput;
|
|
964
|
+
/**
|
|
965
|
+
* Limit how many InstallationRequests to update.
|
|
966
|
+
*/
|
|
967
|
+
limit?: number;
|
|
968
|
+
};
|
|
969
|
+
/**
|
|
970
|
+
* InstallationRequest upsert
|
|
971
|
+
*/
|
|
972
|
+
export type InstallationRequestUpsertArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
973
|
+
/**
|
|
974
|
+
* Select specific fields to fetch from the InstallationRequest
|
|
975
|
+
*/
|
|
976
|
+
select?: Prisma.InstallationRequestSelect<ExtArgs> | null;
|
|
977
|
+
/**
|
|
978
|
+
* Omit specific fields from the InstallationRequest
|
|
979
|
+
*/
|
|
980
|
+
omit?: Prisma.InstallationRequestOmit<ExtArgs> | null;
|
|
981
|
+
/**
|
|
982
|
+
* The filter to search for the InstallationRequest to update in case it exists.
|
|
983
|
+
*/
|
|
984
|
+
where: Prisma.InstallationRequestWhereUniqueInput;
|
|
985
|
+
/**
|
|
986
|
+
* In case the InstallationRequest found by the `where` argument doesn't exist, create a new InstallationRequest with this data.
|
|
987
|
+
*/
|
|
988
|
+
create: Prisma.XOR<Prisma.InstallationRequestCreateInput, Prisma.InstallationRequestUncheckedCreateInput>;
|
|
989
|
+
/**
|
|
990
|
+
* In case the InstallationRequest was found with the provided `where` argument, update it with this data.
|
|
991
|
+
*/
|
|
992
|
+
update: Prisma.XOR<Prisma.InstallationRequestUpdateInput, Prisma.InstallationRequestUncheckedUpdateInput>;
|
|
993
|
+
};
|
|
994
|
+
/**
|
|
995
|
+
* InstallationRequest delete
|
|
996
|
+
*/
|
|
997
|
+
export type InstallationRequestDeleteArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
998
|
+
/**
|
|
999
|
+
* Select specific fields to fetch from the InstallationRequest
|
|
1000
|
+
*/
|
|
1001
|
+
select?: Prisma.InstallationRequestSelect<ExtArgs> | null;
|
|
1002
|
+
/**
|
|
1003
|
+
* Omit specific fields from the InstallationRequest
|
|
1004
|
+
*/
|
|
1005
|
+
omit?: Prisma.InstallationRequestOmit<ExtArgs> | null;
|
|
1006
|
+
/**
|
|
1007
|
+
* Filter which InstallationRequest to delete.
|
|
1008
|
+
*/
|
|
1009
|
+
where: Prisma.InstallationRequestWhereUniqueInput;
|
|
1010
|
+
};
|
|
1011
|
+
/**
|
|
1012
|
+
* InstallationRequest deleteMany
|
|
1013
|
+
*/
|
|
1014
|
+
export type InstallationRequestDeleteManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1015
|
+
/**
|
|
1016
|
+
* Filter which InstallationRequests to delete
|
|
1017
|
+
*/
|
|
1018
|
+
where?: Prisma.InstallationRequestWhereInput;
|
|
1019
|
+
/**
|
|
1020
|
+
* Limit how many InstallationRequests to delete.
|
|
1021
|
+
*/
|
|
1022
|
+
limit?: number;
|
|
1023
|
+
};
|
|
1024
|
+
/**
|
|
1025
|
+
* InstallationRequest without action
|
|
1026
|
+
*/
|
|
1027
|
+
export type InstallationRequestDefaultArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1028
|
+
/**
|
|
1029
|
+
* Select specific fields to fetch from the InstallationRequest
|
|
1030
|
+
*/
|
|
1031
|
+
select?: Prisma.InstallationRequestSelect<ExtArgs> | null;
|
|
1032
|
+
/**
|
|
1033
|
+
* Omit specific fields from the InstallationRequest
|
|
1034
|
+
*/
|
|
1035
|
+
omit?: Prisma.InstallationRequestOmit<ExtArgs> | null;
|
|
1036
|
+
};
|