@aeolus-fleet/gateway 0.0.0-stage → 0.0.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 +104 -2
- package/dist/adapters/crypto/call-keys.d.ts +7 -0
- package/dist/adapters/crypto/call-keys.js +18 -0
- package/dist/adapters/crypto/call-keys.js.map +1 -0
- package/dist/adapters/crypto/oauth-secrets.d.ts +3 -0
- package/dist/adapters/crypto/oauth-secrets.js +10 -0
- package/dist/adapters/crypto/oauth-secrets.js.map +1 -0
- package/dist/adapters/crypto/request-hasher.d.ts +3 -0
- package/dist/adapters/crypto/request-hasher.js +4 -0
- package/dist/adapters/crypto/request-hasher.js.map +1 -0
- package/dist/adapters/crypto/request-ids.d.ts +4 -0
- package/dist/adapters/crypto/request-ids.js +14 -0
- package/dist/adapters/crypto/request-ids.js.map +1 -0
- package/dist/adapters/crypto/sealer.d.ts +14 -0
- package/dist/adapters/crypto/sealer.js +41 -0
- package/dist/adapters/crypto/sealer.js.map +1 -0
- package/dist/adapters/crypto/ship-aliases.d.ts +7 -0
- package/dist/adapters/crypto/ship-aliases.js +19 -0
- package/dist/adapters/crypto/ship-aliases.js.map +1 -0
- package/dist/adapters/crypto/sign-in-seals.d.ts +7 -0
- package/dist/adapters/crypto/sign-in-seals.js +27 -0
- package/dist/adapters/crypto/sign-in-seals.js.map +1 -0
- package/dist/adapters/crypto/waiting-seals.d.ts +3 -0
- package/dist/adapters/crypto/waiting-seals.js +24 -0
- package/dist/adapters/crypto/waiting-seals.js.map +1 -0
- package/dist/adapters/fleet/console-sessions.d.ts +2 -0
- package/dist/adapters/fleet/console-sessions.js +23 -0
- package/dist/adapters/fleet/console-sessions.js.map +1 -0
- package/dist/adapters/fleet/core-version.d.ts +11 -0
- package/dist/adapters/fleet/core-version.js +59 -0
- package/dist/adapters/fleet/core-version.js.map +1 -0
- package/dist/adapters/fleet/fleet-network.d.ts +2 -0
- package/dist/adapters/fleet/fleet-network.js +44 -0
- package/dist/adapters/fleet/fleet-network.js.map +1 -0
- package/dist/adapters/fleet/rest-fleet-door.d.ts +14 -0
- package/dist/adapters/fleet/rest-fleet-door.js +189 -0
- package/dist/adapters/fleet/rest-fleet-door.js.map +1 -0
- package/dist/adapters/http/html.d.ts +15 -0
- package/dist/adapters/http/html.js +53 -0
- package/dist/adapters/http/html.js.map +1 -0
- package/dist/adapters/http/live.d.ts +29 -0
- package/dist/adapters/http/live.js +100 -0
- package/dist/adapters/http/live.js.map +1 -0
- package/dist/adapters/http/mcp-endpoint.d.ts +20 -0
- package/dist/adapters/http/mcp-endpoint.js +164 -0
- package/dist/adapters/http/mcp-endpoint.js.map +1 -0
- package/dist/adapters/http/mcp-task.d.ts +45 -0
- package/dist/adapters/http/mcp-task.js +35 -0
- package/dist/adapters/http/mcp-task.js.map +1 -0
- package/dist/adapters/http/oauth-routes.d.ts +35 -0
- package/dist/adapters/http/oauth-routes.js +305 -0
- package/dist/adapters/http/oauth-routes.js.map +1 -0
- package/dist/adapters/http/outside-parties-page.d.ts +6 -0
- package/dist/adapters/http/outside-parties-page.js +149 -0
- package/dist/adapters/http/outside-parties-page.js.map +1 -0
- package/dist/adapters/http/overview-page.d.ts +16 -0
- package/dist/adapters/http/overview-page.js +255 -0
- package/dist/adapters/http/overview-page.js.map +1 -0
- package/dist/adapters/http/parties-page.d.ts +6 -0
- package/dist/adapters/http/parties-page.js +141 -0
- package/dist/adapters/http/parties-page.js.map +1 -0
- package/dist/adapters/http/person-tools.d.ts +22 -0
- package/dist/adapters/http/person-tools.js +98 -0
- package/dist/adapters/http/person-tools.js.map +1 -0
- package/dist/adapters/http/signal.d.ts +52 -0
- package/dist/adapters/http/signal.js +220 -0
- package/dist/adapters/http/signal.js.map +1 -0
- package/dist/adapters/http/version.d.ts +6 -0
- package/dist/adapters/http/version.js +12 -0
- package/dist/adapters/http/version.js.map +1 -0
- package/dist/adapters/mcp/mcp-servers.d.ts +2 -0
- package/dist/adapters/mcp/mcp-servers.js +154 -0
- package/dist/adapters/mcp/mcp-servers.js.map +1 -0
- package/dist/adapters/oauth/client-metadata-documents.d.ts +9 -0
- package/dist/adapters/oauth/client-metadata-documents.js +25 -0
- package/dist/adapters/oauth/client-metadata-documents.js.map +1 -0
- package/dist/adapters/pagasae/pagasae-client.d.ts +8 -0
- package/dist/adapters/pagasae/pagasae-client.js +90 -0
- package/dist/adapters/pagasae/pagasae-client.js.map +1 -0
- package/dist/adapters/prisma/account-grants.d.ts +4 -0
- package/dist/adapters/prisma/account-grants.js +27 -0
- package/dist/adapters/prisma/account-grants.js.map +1 -0
- package/dist/adapters/prisma/calls.d.ts +4 -0
- package/dist/adapters/prisma/calls.js +35 -0
- package/dist/adapters/prisma/calls.js.map +1 -0
- package/dist/adapters/prisma/changes.d.ts +21 -0
- package/dist/adapters/prisma/changes.js +86 -0
- package/dist/adapters/prisma/changes.js.map +1 -0
- package/dist/adapters/prisma/client-calls.d.ts +4 -0
- package/dist/adapters/prisma/client-calls.js +50 -0
- package/dist/adapters/prisma/client-calls.js.map +1 -0
- package/dist/adapters/prisma/client.d.ts +8 -0
- package/dist/adapters/prisma/client.js +11 -0
- package/dist/adapters/prisma/client.js.map +1 -0
- package/dist/adapters/prisma/connection-store.d.ts +4 -0
- package/dist/adapters/prisma/connection-store.js +28 -0
- package/dist/adapters/prisma/connection-store.js.map +1 -0
- package/dist/adapters/prisma/fleet-forgetter.d.ts +4 -0
- package/dist/adapters/prisma/fleet-forgetter.js +10 -0
- package/dist/adapters/prisma/fleet-forgetter.js.map +1 -0
- package/dist/adapters/prisma/fleet-switches.d.ts +4 -0
- package/dist/adapters/prisma/fleet-switches.js +10 -0
- package/dist/adapters/prisma/fleet-switches.js.map +1 -0
- package/dist/adapters/prisma/generated/browser.d.ts +108 -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 +127 -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 +490 -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 +1 -0
- package/dist/adapters/prisma/generated/enums.js +12 -0
- package/dist/adapters/prisma/generated/enums.js.map +1 -0
- package/dist/adapters/prisma/generated/internal/class.d.ts +319 -0
- package/dist/adapters/prisma/generated/internal/class.js +50 -0
- package/dist/adapters/prisma/generated/internal/class.js.map +1 -0
- package/dist/adapters/prisma/generated/internal/prismaNamespace.d.ts +2102 -0
- package/dist/adapters/prisma/generated/internal/prismaNamespace.js +294 -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 +264 -0
- package/dist/adapters/prisma/generated/internal/prismaNamespaceBrowser.js.map +1 -0
- package/dist/adapters/prisma/generated/models/AccountGrant.d.ts +1056 -0
- package/dist/adapters/prisma/generated/models/AccountGrant.js +2 -0
- package/dist/adapters/prisma/generated/models/AccountGrant.js.map +1 -0
- package/dist/adapters/prisma/generated/models/AuthorizationCode.d.ts +1171 -0
- package/dist/adapters/prisma/generated/models/AuthorizationCode.js +2 -0
- package/dist/adapters/prisma/generated/models/AuthorizationCode.js.map +1 -0
- package/dist/adapters/prisma/generated/models/Call.d.ts +994 -0
- package/dist/adapters/prisma/generated/models/Call.js +2 -0
- package/dist/adapters/prisma/generated/models/Call.js.map +1 -0
- package/dist/adapters/prisma/generated/models/ClientCall.d.ts +1119 -0
- package/dist/adapters/prisma/generated/models/ClientCall.js +2 -0
- package/dist/adapters/prisma/generated/models/ClientCall.js.map +1 -0
- package/dist/adapters/prisma/generated/models/ClientCallReply.d.ts +1129 -0
- package/dist/adapters/prisma/generated/models/ClientCallReply.js +2 -0
- package/dist/adapters/prisma/generated/models/ClientCallReply.js.map +1 -0
- package/dist/adapters/prisma/generated/models/Connection.d.ts +1011 -0
- package/dist/adapters/prisma/generated/models/Connection.js +2 -0
- package/dist/adapters/prisma/generated/models/Connection.js.map +1 -0
- package/dist/adapters/prisma/generated/models/FleetSwitch.d.ts +945 -0
- package/dist/adapters/prisma/generated/models/FleetSwitch.js +2 -0
- package/dist/adapters/prisma/generated/models/FleetSwitch.js.map +1 -0
- package/dist/adapters/prisma/generated/models/InstallationRequest.d.ts +1030 -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/IssuedToken.d.ts +1224 -0
- package/dist/adapters/prisma/generated/models/IssuedToken.js +2 -0
- package/dist/adapters/prisma/generated/models/IssuedToken.js.map +1 -0
- package/dist/adapters/prisma/generated/models/OAuthClient.d.ts +1005 -0
- package/dist/adapters/prisma/generated/models/OAuthClient.js +2 -0
- package/dist/adapters/prisma/generated/models/OAuthClient.js.map +1 -0
- package/dist/adapters/prisma/generated/models/OpenedDelivery.d.ts +1087 -0
- package/dist/adapters/prisma/generated/models/OpenedDelivery.js +2 -0
- package/dist/adapters/prisma/generated/models/OpenedDelivery.js.map +1 -0
- package/dist/adapters/prisma/generated/models/OutsidePartySwitch.d.ts +942 -0
- package/dist/adapters/prisma/generated/models/OutsidePartySwitch.js +2 -0
- package/dist/adapters/prisma/generated/models/OutsidePartySwitch.js.map +1 -0
- package/dist/adapters/prisma/generated/models/OwnerQuestion.d.ts +1035 -0
- package/dist/adapters/prisma/generated/models/OwnerQuestion.js +2 -0
- package/dist/adapters/prisma/generated/models/OwnerQuestion.js.map +1 -0
- package/dist/adapters/prisma/generated/models/Party.d.ts +1338 -0
- package/dist/adapters/prisma/generated/models/Party.js +2 -0
- package/dist/adapters/prisma/generated/models/Party.js.map +1 -0
- package/dist/adapters/prisma/generated/models/PendingRequest.d.ts +1252 -0
- package/dist/adapters/prisma/generated/models/PendingRequest.js +2 -0
- package/dist/adapters/prisma/generated/models/PendingRequest.js.map +1 -0
- package/dist/adapters/prisma/generated/models/PersonCrew.d.ts +974 -0
- package/dist/adapters/prisma/generated/models/PersonCrew.js +2 -0
- package/dist/adapters/prisma/generated/models/PersonCrew.js.map +1 -0
- package/dist/adapters/prisma/generated/models/RequestOutcomeNotice.d.ts +1120 -0
- package/dist/adapters/prisma/generated/models/RequestOutcomeNotice.js +2 -0
- package/dist/adapters/prisma/generated/models/RequestOutcomeNotice.js.map +1 -0
- package/dist/adapters/prisma/generated/models/ToolMark.d.ts +947 -0
- package/dist/adapters/prisma/generated/models/ToolMark.js +2 -0
- package/dist/adapters/prisma/generated/models/ToolMark.js.map +1 -0
- package/dist/adapters/prisma/generated/models.d.ts +19 -0
- package/dist/adapters/prisma/generated/models.js +2 -0
- package/dist/adapters/prisma/generated/models.js.map +1 -0
- package/dist/adapters/prisma/installation-requests.d.ts +4 -0
- package/dist/adapters/prisma/installation-requests.js +25 -0
- package/dist/adapters/prisma/installation-requests.js.map +1 -0
- package/dist/adapters/prisma/migrate.d.ts +5 -0
- package/dist/adapters/prisma/migrate.js +53 -0
- package/dist/adapters/prisma/migrate.js.map +1 -0
- package/dist/adapters/prisma/oauth-stores.d.ts +5 -0
- package/dist/adapters/prisma/oauth-stores.js +82 -0
- package/dist/adapters/prisma/oauth-stores.js.map +1 -0
- package/dist/adapters/prisma/opened-deliveries.d.ts +4 -0
- package/dist/adapters/prisma/opened-deliveries.js +29 -0
- package/dist/adapters/prisma/opened-deliveries.js.map +1 -0
- package/dist/adapters/prisma/outcome-notices.d.ts +4 -0
- package/dist/adapters/prisma/outcome-notices.js +24 -0
- package/dist/adapters/prisma/outcome-notices.js.map +1 -0
- package/dist/adapters/prisma/outside-party-switches.d.ts +4 -0
- package/dist/adapters/prisma/outside-party-switches.js +10 -0
- package/dist/adapters/prisma/outside-party-switches.js.map +1 -0
- package/dist/adapters/prisma/owner-questions.d.ts +8 -0
- package/dist/adapters/prisma/owner-questions.js +54 -0
- package/dist/adapters/prisma/owner-questions.js.map +1 -0
- package/dist/adapters/prisma/party-store.d.ts +7 -0
- package/dist/adapters/prisma/party-store.js +73 -0
- package/dist/adapters/prisma/party-store.js.map +1 -0
- package/dist/adapters/prisma/pending-requests.d.ts +11 -0
- package/dist/adapters/prisma/pending-requests.js +122 -0
- package/dist/adapters/prisma/pending-requests.js.map +1 -0
- package/dist/adapters/prisma/person-crews.d.ts +4 -0
- package/dist/adapters/prisma/person-crews.js +18 -0
- package/dist/adapters/prisma/person-crews.js.map +1 -0
- package/dist/adapters/prisma/tool-marks.d.ts +4 -0
- package/dist/adapters/prisma/tool-marks.js +15 -0
- package/dist/adapters/prisma/tool-marks.js.map +1 -0
- package/dist/adapters/timers/sleep.d.ts +3 -0
- package/dist/adapters/timers/sleep.js +11 -0
- package/dist/adapters/timers/sleep.js.map +1 -0
- package/dist/adapters/trpc/router.d.ts +408 -0
- package/dist/adapters/trpc/router.js +367 -0
- package/dist/adapters/trpc/router.js.map +1 -0
- package/dist/app.d.ts +43 -0
- package/dist/app.js +400 -0
- package/dist/app.js.map +1 -0
- package/dist/bin/aeolus-gateway.d.ts +2 -0
- package/dist/bin/aeolus-gateway.js +65 -0
- package/dist/bin/aeolus-gateway.js.map +1 -0
- package/dist/config.d.ts +41 -0
- package/dist/config.js +65 -0
- package/dist/config.js.map +1 -0
- package/dist/core/actors/authenticate-actor.d.ts +38 -0
- package/dist/core/actors/authenticate-actor.js +30 -0
- package/dist/core/actors/authenticate-actor.js.map +1 -0
- package/dist/core/connection/connect.d.ts +26 -0
- package/dist/core/connection/connect.js +57 -0
- package/dist/core/connection/connect.js.map +1 -0
- package/dist/core/connection/ports.d.ts +87 -0
- package/dist/core/connection/ports.js +2 -0
- package/dist/core/connection/ports.js.map +1 -0
- package/dist/core/connection/read-connection.d.ts +14 -0
- package/dist/core/connection/read-connection.js +24 -0
- package/dist/core/connection/read-connection.js.map +1 -0
- package/dist/core/installation/delete-fleet.d.ts +21 -0
- package/dist/core/installation/delete-fleet.js +21 -0
- package/dist/core/installation/delete-fleet.js.map +1 -0
- package/dist/core/installation/ports.d.ts +43 -0
- package/dist/core/installation/ports.js +2 -0
- package/dist/core/installation/ports.js.map +1 -0
- package/dist/core/installation/read-fleet.d.ts +18 -0
- package/dist/core/installation/read-fleet.js +9 -0
- package/dist/core/installation/read-fleet.js.map +1 -0
- package/dist/core/installation/request-id.d.ts +8 -0
- package/dist/core/installation/request-id.js +10 -0
- package/dist/core/installation/request-id.js.map +1 -0
- package/dist/core/installation/served.d.ts +12 -0
- package/dist/core/installation/served.js +8 -0
- package/dist/core/installation/served.js.map +1 -0
- package/dist/core/installation/set-fleet-enabled.d.ts +25 -0
- package/dist/core/installation/set-fleet-enabled.js +22 -0
- package/dist/core/installation/set-fleet-enabled.js.map +1 -0
- package/dist/core/mcp-in/call-tool.d.ts +42 -0
- package/dist/core/mcp-in/call-tool.js +82 -0
- package/dist/core/mcp-in/call-tool.js.map +1 -0
- package/dist/core/mcp-in/client-call.d.ts +51 -0
- package/dist/core/mcp-in/client-call.js +39 -0
- package/dist/core/mcp-in/client-call.js.map +1 -0
- package/dist/core/mcp-in/collect-replies.d.ts +29 -0
- package/dist/core/mcp-in/collect-replies.js +44 -0
- package/dist/core/mcp-in/collect-replies.js.map +1 -0
- package/dist/core/mcp-in/list-tools.d.ts +44 -0
- package/dist/core/mcp-in/list-tools.js +70 -0
- package/dist/core/mcp-in/list-tools.js.map +1 -0
- package/dist/core/mcp-in/ports.d.ts +85 -0
- package/dist/core/mcp-in/ports.js +2 -0
- package/dist/core/mcp-in/ports.js.map +1 -0
- package/dist/core/mcp-in/read-client-call.d.ts +23 -0
- package/dist/core/mcp-in/read-client-call.js +15 -0
- package/dist/core/mcp-in/read-client-call.js.map +1 -0
- package/dist/core/mcp-out/content-types.d.ts +12 -0
- package/dist/core/mcp-out/content-types.js +28 -0
- package/dist/core/mcp-out/content-types.js.map +1 -0
- package/dist/core/mcp-out/hand-call.d.ts +103 -0
- package/dist/core/mcp-out/hand-call.js +116 -0
- package/dist/core/mcp-out/hand-call.js.map +1 -0
- package/dist/core/mcp-out/mark-tool.d.ts +20 -0
- package/dist/core/mcp-out/mark-tool.js +17 -0
- package/dist/core/mcp-out/mark-tool.js.map +1 -0
- package/dist/core/mcp-out/ports.d.ts +66 -0
- package/dist/core/mcp-out/ports.js +2 -0
- package/dist/core/mcp-out/ports.js.map +1 -0
- package/dist/core/mcp-out/run-party.d.ts +26 -0
- package/dist/core/mcp-out/run-party.js +62 -0
- package/dist/core/mcp-out/run-party.js.map +1 -0
- package/dist/core/mcp-out/state-party.d.ts +38 -0
- package/dist/core/mcp-out/state-party.js +30 -0
- package/dist/core/mcp-out/state-party.js.map +1 -0
- package/dist/core/mcp-out/statement.d.ts +26 -0
- package/dist/core/mcp-out/statement.js +32 -0
- package/dist/core/mcp-out/statement.js.map +1 -0
- package/dist/core/oauth/authenticate-access-token.d.ts +25 -0
- package/dist/core/oauth/authenticate-access-token.js +19 -0
- package/dist/core/oauth/authenticate-access-token.js.map +1 -0
- package/dist/core/oauth/exchange-token.d.ts +32 -0
- package/dist/core/oauth/exchange-token.js +98 -0
- package/dist/core/oauth/exchange-token.js.map +1 -0
- package/dist/core/oauth/issue-code.d.ts +23 -0
- package/dist/core/oauth/issue-code.js +34 -0
- package/dist/core/oauth/issue-code.js.map +1 -0
- package/dist/core/oauth/ports.d.ts +103 -0
- package/dist/core/oauth/ports.js +2 -0
- package/dist/core/oauth/ports.js.map +1 -0
- package/dist/core/oauth/read-authorization.d.ts +43 -0
- package/dist/core/oauth/read-authorization.js +74 -0
- package/dist/core/oauth/read-authorization.js.map +1 -0
- package/dist/core/oauth/redirect-uri.d.ts +6 -0
- package/dist/core/oauth/redirect-uri.js +20 -0
- package/dist/core/oauth/redirect-uri.js.map +1 -0
- package/dist/core/oauth/register-client.d.ts +22 -0
- package/dist/core/oauth/register-client.js +20 -0
- package/dist/core/oauth/register-client.js.map +1 -0
- package/dist/core/operator/authenticate-operator.d.ts +22 -0
- package/dist/core/operator/authenticate-operator.js +26 -0
- package/dist/core/operator/authenticate-operator.js.map +1 -0
- package/dist/core/operator/ports.d.ts +15 -0
- package/dist/core/operator/ports.js +2 -0
- package/dist/core/operator/ports.js.map +1 -0
- package/dist/core/outside-parties/ports.d.ts +21 -0
- package/dist/core/outside-parties/ports.js +2 -0
- package/dist/core/outside-parties/ports.js.map +1 -0
- package/dist/core/outside-parties/set-outside-parties.d.ts +34 -0
- package/dist/core/outside-parties/set-outside-parties.js +34 -0
- package/dist/core/outside-parties/set-outside-parties.js.map +1 -0
- package/dist/core/parties/approve-party.d.ts +55 -0
- package/dist/core/parties/approve-party.js +111 -0
- package/dist/core/parties/approve-party.js.map +1 -0
- package/dist/core/parties/crew-party.d.ts +21 -0
- package/dist/core/parties/crew-party.js +29 -0
- package/dist/core/parties/crew-party.js.map +1 -0
- package/dist/core/parties/list-parties.d.ts +8 -0
- package/dist/core/parties/list-parties.js +8 -0
- package/dist/core/parties/list-parties.js.map +1 -0
- package/dist/core/parties/party.d.ts +46 -0
- package/dist/core/parties/party.js +2 -0
- package/dist/core/parties/party.js.map +1 -0
- package/dist/core/parties/ports.d.ts +39 -0
- package/dist/core/parties/ports.js +2 -0
- package/dist/core/parties/ports.js.map +1 -0
- package/dist/core/parties/shown-party.d.ts +21 -0
- package/dist/core/parties/shown-party.js +10 -0
- package/dist/core/parties/shown-party.js.map +1 -0
- package/dist/core/people/answer-delivery.d.ts +24 -0
- package/dist/core/people/answer-delivery.js +28 -0
- package/dist/core/people/answer-delivery.js.map +1 -0
- package/dist/core/people/crew-person-ship.d.ts +42 -0
- package/dist/core/people/crew-person-ship.js +59 -0
- package/dist/core/people/crew-person-ship.js.map +1 -0
- package/dist/core/people/done-delivery.d.ts +16 -0
- package/dist/core/people/done-delivery.js +9 -0
- package/dist/core/people/done-delivery.js.map +1 -0
- package/dist/core/people/inbox-entry.d.ts +14 -0
- package/dist/core/people/inbox-entry.js +11 -0
- package/dist/core/people/inbox-entry.js.map +1 -0
- package/dist/core/people/open-delivery.d.ts +30 -0
- package/dist/core/people/open-delivery.js +40 -0
- package/dist/core/people/open-delivery.js.map +1 -0
- package/dist/core/people/opened-of.d.ts +29 -0
- package/dist/core/people/opened-of.js +30 -0
- package/dist/core/people/opened-of.js.map +1 -0
- package/dist/core/people/person-crew.d.ts +39 -0
- package/dist/core/people/person-crew.js +61 -0
- package/dist/core/people/person-crew.js.map +1 -0
- package/dist/core/people/ports.d.ts +102 -0
- package/dist/core/people/ports.js +2 -0
- package/dist/core/people/ports.js.map +1 -0
- package/dist/core/people/read-inbox.d.ts +37 -0
- package/dist/core/people/read-inbox.js +36 -0
- package/dist/core/people/read-inbox.js.map +1 -0
- package/dist/core/requests/ask-for-client.d.ts +45 -0
- package/dist/core/requests/ask-for-client.js +33 -0
- package/dist/core/requests/ask-for-client.js.map +1 -0
- package/dist/core/requests/ask-for-server.d.ts +32 -0
- package/dist/core/requests/ask-for-server.js +42 -0
- package/dist/core/requests/ask-for-server.js.map +1 -0
- package/dist/core/requests/ask-owners.d.ts +28 -0
- package/dist/core/requests/ask-owners.js +85 -0
- package/dist/core/requests/ask-owners.js.map +1 -0
- package/dist/core/requests/decide-request.d.ts +53 -0
- package/dist/core/requests/decide-request.js +75 -0
- package/dist/core/requests/decide-request.js.map +1 -0
- package/dist/core/requests/expire-requests.d.ts +14 -0
- package/dist/core/requests/expire-requests.js +21 -0
- package/dist/core/requests/expire-requests.js.map +1 -0
- package/dist/core/requests/list-to-decide.d.ts +11 -0
- package/dist/core/requests/list-to-decide.js +13 -0
- package/dist/core/requests/list-to-decide.js.map +1 -0
- package/dist/core/requests/open-request.d.ts +21 -0
- package/dist/core/requests/open-request.js +26 -0
- package/dist/core/requests/open-request.js.map +1 -0
- package/dist/core/requests/outcome-notice.d.ts +13 -0
- package/dist/core/requests/outcome-notice.js +26 -0
- package/dist/core/requests/outcome-notice.js.map +1 -0
- package/dist/core/requests/ports.d.ts +186 -0
- package/dist/core/requests/ports.js +2 -0
- package/dist/core/requests/ports.js.map +1 -0
- package/dist/core/requests/read-waiting.d.ts +46 -0
- package/dist/core/requests/read-waiting.js +41 -0
- package/dist/core/requests/read-waiting.js.map +1 -0
- package/dist/core/requests/request-state.d.ts +5 -0
- package/dist/core/requests/request-state.js +10 -0
- package/dist/core/requests/request-state.js.map +1 -0
- package/dist/core/requests/tell-outcomes.d.ts +24 -0
- package/dist/core/requests/tell-outcomes.js +39 -0
- package/dist/core/requests/tell-outcomes.js.map +1 -0
- package/dist/core/requests/watch-waiting.d.ts +32 -0
- package/dist/core/requests/watch-waiting.js +31 -0
- package/dist/core/requests/watch-waiting.js.map +1 -0
- package/dist/core/shared/clock.d.ts +4 -0
- package/dist/core/shared/clock.js +2 -0
- package/dist/core/shared/clock.js.map +1 -0
- package/dist/core/shared/errors.d.ts +10 -0
- package/dist/core/shared/errors.js +6 -0
- package/dist/core/shared/errors.js.map +1 -0
- package/dist/core/shared/result.d.ts +16 -0
- package/dist/core/shared/result.js +7 -0
- package/dist/core/shared/result.js.map +1 -0
- package/dist/core/sign-in/account-token.d.ts +38 -0
- package/dist/core/sign-in/account-token.js +46 -0
- package/dist/core/sign-in/account-token.js.map +1 -0
- package/dist/core/sign-in/complete-sign-in.d.ts +55 -0
- package/dist/core/sign-in/complete-sign-in.js +50 -0
- package/dist/core/sign-in/complete-sign-in.js.map +1 -0
- package/dist/core/sign-in/end-sign-ins.d.ts +19 -0
- package/dist/core/sign-in/end-sign-ins.js +17 -0
- package/dist/core/sign-in/end-sign-ins.js.map +1 -0
- package/dist/core/sign-in/ports.d.ts +85 -0
- package/dist/core/sign-in/ports.js +2 -0
- package/dist/core/sign-in/ports.js.map +1 -0
- package/dist/core/sign-in/start-sign-in.d.ts +30 -0
- package/dist/core/sign-in/start-sign-in.js +25 -0
- package/dist/core/sign-in/start-sign-in.js.map +1 -0
- package/dist/core/vault/credential.d.ts +18 -0
- package/dist/core/vault/credential.js +2 -0
- package/dist/core/vault/credential.js.map +1 -0
- package/dist/outcome-worker.d.ts +29 -0
- package/dist/outcome-worker.js +60 -0
- package/dist/outcome-worker.js.map +1 -0
- package/dist/party-workers.d.ts +32 -0
- package/dist/party-workers.js +57 -0
- package/dist/party-workers.js.map +1 -0
- package/package.json +70 -4
- package/prisma.config.ts +18 -0
- package/src/adapters/prisma/migrations/20261018200000_init/migration.sql +35 -0
- package/src/adapters/prisma/migrations/20261018210000_parties/migration.sql +19 -0
- package/src/adapters/prisma/migrations/20261018220000_tool_marks/migration.sql +8 -0
- package/src/adapters/prisma/migrations/20261018230000_calls/migration.sql +13 -0
- package/src/adapters/prisma/migrations/20261019090000_oauth/migration.sql +60 -0
- package/src/adapters/prisma/migrations/20261019100000_client_parties/migration.sql +8 -0
- package/src/adapters/prisma/migrations/20261019110000_oauth_parties/migration.sql +5 -0
- package/src/adapters/prisma/migrations/20261019120000_client_calls/migration.sql +15 -0
- package/src/adapters/prisma/migrations/20261019130000_client_call_replies/migration.sql +20 -0
- package/src/adapters/prisma/migrations/20261019140000_identity_providers/migration.sql +10 -0
- package/src/adapters/prisma/migrations/20261020090000_no_identity_providers/migration.sql +2 -0
- package/src/adapters/prisma/migrations/20261020100000_account_grants_in_tokens/migration.sql +5 -0
- package/src/adapters/prisma/migrations/20261020110000_account_grants/migration.sql +15 -0
- package/src/adapters/prisma/migrations/20261020120000_person_crews/migration.sql +9 -0
- package/src/adapters/prisma/migrations/20261020130000_opened_deliveries/migration.sql +13 -0
- package/src/adapters/prisma/migrations/20261020140000_pending_requests/migration.sql +26 -0
- package/src/adapters/prisma/migrations/20261020150000_outside_party_switches/migration.sql +8 -0
- package/src/adapters/prisma/migrations/20261020160000_pending_requests_told/migration.sql +2 -0
- package/src/adapters/prisma/migrations/20261020170000_request_outcome_notices/migration.sql +17 -0
- package/src/adapters/prisma/migrations/20261020180000_owner_questions/migration.sql +11 -0
- package/src/adapters/prisma/migrations/20261020190000_request_changes/migration.sql +12 -0
- package/src/adapters/prisma/migrations/migration_lock.toml +3 -0
- package/src/adapters/prisma/schema.prisma +311 -0
|
@@ -0,0 +1,1129 @@
|
|
|
1
|
+
import type * as runtime from "@prisma/client/runtime/client";
|
|
2
|
+
import type * as Prisma from "../internal/prismaNamespace.js";
|
|
3
|
+
/**
|
|
4
|
+
* Model ClientCallReply
|
|
5
|
+
* The replies naming an outside client's call, each kept once per delivery before it is acknowledged.
|
|
6
|
+
*/
|
|
7
|
+
export type ClientCallReplyModel = runtime.Types.Result.DefaultSelection<Prisma.$ClientCallReplyPayload>;
|
|
8
|
+
export type AggregateClientCallReply = {
|
|
9
|
+
_count: ClientCallReplyCountAggregateOutputType | null;
|
|
10
|
+
_avg: ClientCallReplyAvgAggregateOutputType | null;
|
|
11
|
+
_sum: ClientCallReplySumAggregateOutputType | null;
|
|
12
|
+
_min: ClientCallReplyMinAggregateOutputType | null;
|
|
13
|
+
_max: ClientCallReplyMaxAggregateOutputType | null;
|
|
14
|
+
};
|
|
15
|
+
export type ClientCallReplyAvgAggregateOutputType = {
|
|
16
|
+
sequence: number | null;
|
|
17
|
+
};
|
|
18
|
+
export type ClientCallReplySumAggregateOutputType = {
|
|
19
|
+
sequence: number | null;
|
|
20
|
+
};
|
|
21
|
+
export type ClientCallReplyMinAggregateOutputType = {
|
|
22
|
+
deliveryId: string | null;
|
|
23
|
+
fleetId: string | null;
|
|
24
|
+
callMessageId: string | null;
|
|
25
|
+
messageId: string | null;
|
|
26
|
+
contentType: string | null;
|
|
27
|
+
payload: string | null;
|
|
28
|
+
receivedAt: Date | null;
|
|
29
|
+
sequence: number | null;
|
|
30
|
+
};
|
|
31
|
+
export type ClientCallReplyMaxAggregateOutputType = {
|
|
32
|
+
deliveryId: string | null;
|
|
33
|
+
fleetId: string | null;
|
|
34
|
+
callMessageId: string | null;
|
|
35
|
+
messageId: string | null;
|
|
36
|
+
contentType: string | null;
|
|
37
|
+
payload: string | null;
|
|
38
|
+
receivedAt: Date | null;
|
|
39
|
+
sequence: number | null;
|
|
40
|
+
};
|
|
41
|
+
export type ClientCallReplyCountAggregateOutputType = {
|
|
42
|
+
deliveryId: number;
|
|
43
|
+
fleetId: number;
|
|
44
|
+
callMessageId: number;
|
|
45
|
+
messageId: number;
|
|
46
|
+
contentType: number;
|
|
47
|
+
payload: number;
|
|
48
|
+
receivedAt: number;
|
|
49
|
+
sequence: number;
|
|
50
|
+
_all: number;
|
|
51
|
+
};
|
|
52
|
+
export type ClientCallReplyAvgAggregateInputType = {
|
|
53
|
+
sequence?: true;
|
|
54
|
+
};
|
|
55
|
+
export type ClientCallReplySumAggregateInputType = {
|
|
56
|
+
sequence?: true;
|
|
57
|
+
};
|
|
58
|
+
export type ClientCallReplyMinAggregateInputType = {
|
|
59
|
+
deliveryId?: true;
|
|
60
|
+
fleetId?: true;
|
|
61
|
+
callMessageId?: true;
|
|
62
|
+
messageId?: true;
|
|
63
|
+
contentType?: true;
|
|
64
|
+
payload?: true;
|
|
65
|
+
receivedAt?: true;
|
|
66
|
+
sequence?: true;
|
|
67
|
+
};
|
|
68
|
+
export type ClientCallReplyMaxAggregateInputType = {
|
|
69
|
+
deliveryId?: true;
|
|
70
|
+
fleetId?: true;
|
|
71
|
+
callMessageId?: true;
|
|
72
|
+
messageId?: true;
|
|
73
|
+
contentType?: true;
|
|
74
|
+
payload?: true;
|
|
75
|
+
receivedAt?: true;
|
|
76
|
+
sequence?: true;
|
|
77
|
+
};
|
|
78
|
+
export type ClientCallReplyCountAggregateInputType = {
|
|
79
|
+
deliveryId?: true;
|
|
80
|
+
fleetId?: true;
|
|
81
|
+
callMessageId?: true;
|
|
82
|
+
messageId?: true;
|
|
83
|
+
contentType?: true;
|
|
84
|
+
payload?: true;
|
|
85
|
+
receivedAt?: true;
|
|
86
|
+
sequence?: true;
|
|
87
|
+
_all?: true;
|
|
88
|
+
};
|
|
89
|
+
export type ClientCallReplyAggregateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
90
|
+
/**
|
|
91
|
+
* Filter which ClientCallReply to aggregate.
|
|
92
|
+
*/
|
|
93
|
+
where?: Prisma.ClientCallReplyWhereInput;
|
|
94
|
+
/**
|
|
95
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
|
|
96
|
+
*
|
|
97
|
+
* Determine the order of ClientCallReplies to fetch.
|
|
98
|
+
*/
|
|
99
|
+
orderBy?: Prisma.ClientCallReplyOrderByWithRelationInput | Prisma.ClientCallReplyOrderByWithRelationInput[];
|
|
100
|
+
/**
|
|
101
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
|
|
102
|
+
*
|
|
103
|
+
* Sets the start position
|
|
104
|
+
*/
|
|
105
|
+
cursor?: Prisma.ClientCallReplyWhereUniqueInput;
|
|
106
|
+
/**
|
|
107
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
108
|
+
*
|
|
109
|
+
* Take `±n` ClientCallReplies from the position of the cursor.
|
|
110
|
+
*/
|
|
111
|
+
take?: number;
|
|
112
|
+
/**
|
|
113
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
114
|
+
*
|
|
115
|
+
* Skip the first `n` ClientCallReplies.
|
|
116
|
+
*/
|
|
117
|
+
skip?: number;
|
|
118
|
+
/**
|
|
119
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
|
|
120
|
+
*
|
|
121
|
+
* Count returned ClientCallReplies
|
|
122
|
+
**/
|
|
123
|
+
_count?: true | ClientCallReplyCountAggregateInputType;
|
|
124
|
+
/**
|
|
125
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
|
|
126
|
+
*
|
|
127
|
+
* Select which fields to average
|
|
128
|
+
**/
|
|
129
|
+
_avg?: ClientCallReplyAvgAggregateInputType;
|
|
130
|
+
/**
|
|
131
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
|
|
132
|
+
*
|
|
133
|
+
* Select which fields to sum
|
|
134
|
+
**/
|
|
135
|
+
_sum?: ClientCallReplySumAggregateInputType;
|
|
136
|
+
/**
|
|
137
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
|
|
138
|
+
*
|
|
139
|
+
* Select which fields to find the minimum value
|
|
140
|
+
**/
|
|
141
|
+
_min?: ClientCallReplyMinAggregateInputType;
|
|
142
|
+
/**
|
|
143
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
|
|
144
|
+
*
|
|
145
|
+
* Select which fields to find the maximum value
|
|
146
|
+
**/
|
|
147
|
+
_max?: ClientCallReplyMaxAggregateInputType;
|
|
148
|
+
};
|
|
149
|
+
export type GetClientCallReplyAggregateType<T extends ClientCallReplyAggregateArgs> = {
|
|
150
|
+
[P in keyof T & keyof AggregateClientCallReply]: P extends '_count' | 'count' ? T[P] extends true ? number : Prisma.GetScalarType<T[P], AggregateClientCallReply[P]> : Prisma.GetScalarType<T[P], AggregateClientCallReply[P]>;
|
|
151
|
+
};
|
|
152
|
+
export type ClientCallReplyGroupByArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
153
|
+
where?: Prisma.ClientCallReplyWhereInput;
|
|
154
|
+
orderBy?: Prisma.ClientCallReplyOrderByWithAggregationInput | Prisma.ClientCallReplyOrderByWithAggregationInput[];
|
|
155
|
+
by: Prisma.ClientCallReplyScalarFieldEnum[] | Prisma.ClientCallReplyScalarFieldEnum;
|
|
156
|
+
having?: Prisma.ClientCallReplyScalarWhereWithAggregatesInput;
|
|
157
|
+
take?: number;
|
|
158
|
+
skip?: number;
|
|
159
|
+
_count?: ClientCallReplyCountAggregateInputType | true;
|
|
160
|
+
_avg?: ClientCallReplyAvgAggregateInputType;
|
|
161
|
+
_sum?: ClientCallReplySumAggregateInputType;
|
|
162
|
+
_min?: ClientCallReplyMinAggregateInputType;
|
|
163
|
+
_max?: ClientCallReplyMaxAggregateInputType;
|
|
164
|
+
};
|
|
165
|
+
export type ClientCallReplyGroupByOutputType = {
|
|
166
|
+
deliveryId: string;
|
|
167
|
+
fleetId: string;
|
|
168
|
+
callMessageId: string;
|
|
169
|
+
messageId: string;
|
|
170
|
+
contentType: string;
|
|
171
|
+
payload: string;
|
|
172
|
+
receivedAt: Date;
|
|
173
|
+
sequence: number;
|
|
174
|
+
_count: ClientCallReplyCountAggregateOutputType | null;
|
|
175
|
+
_avg: ClientCallReplyAvgAggregateOutputType | null;
|
|
176
|
+
_sum: ClientCallReplySumAggregateOutputType | null;
|
|
177
|
+
_min: ClientCallReplyMinAggregateOutputType | null;
|
|
178
|
+
_max: ClientCallReplyMaxAggregateOutputType | null;
|
|
179
|
+
};
|
|
180
|
+
export type GetClientCallReplyGroupByPayload<T extends ClientCallReplyGroupByArgs> = Prisma.PrismaPromise<Array<Prisma.PickEnumerable<ClientCallReplyGroupByOutputType, T['by']> & {
|
|
181
|
+
[P in ((keyof T) & (keyof ClientCallReplyGroupByOutputType))]: P extends '_count' ? T[P] extends boolean ? number : Prisma.GetScalarType<T[P], ClientCallReplyGroupByOutputType[P]> : Prisma.GetScalarType<T[P], ClientCallReplyGroupByOutputType[P]>;
|
|
182
|
+
}>>;
|
|
183
|
+
export type ClientCallReplyWhereInput = {
|
|
184
|
+
AND?: Prisma.ClientCallReplyWhereInput | Prisma.ClientCallReplyWhereInput[];
|
|
185
|
+
OR?: Prisma.ClientCallReplyWhereInput[];
|
|
186
|
+
NOT?: Prisma.ClientCallReplyWhereInput | Prisma.ClientCallReplyWhereInput[];
|
|
187
|
+
deliveryId?: Prisma.StringFilter<"ClientCallReply"> | string;
|
|
188
|
+
fleetId?: Prisma.StringFilter<"ClientCallReply"> | string;
|
|
189
|
+
callMessageId?: Prisma.StringFilter<"ClientCallReply"> | string;
|
|
190
|
+
messageId?: Prisma.StringFilter<"ClientCallReply"> | string;
|
|
191
|
+
contentType?: Prisma.StringFilter<"ClientCallReply"> | string;
|
|
192
|
+
payload?: Prisma.StringFilter<"ClientCallReply"> | string;
|
|
193
|
+
receivedAt?: Prisma.DateTimeFilter<"ClientCallReply"> | Date | string;
|
|
194
|
+
sequence?: Prisma.IntFilter<"ClientCallReply"> | number;
|
|
195
|
+
};
|
|
196
|
+
export type ClientCallReplyOrderByWithRelationInput = {
|
|
197
|
+
deliveryId?: Prisma.SortOrder;
|
|
198
|
+
fleetId?: Prisma.SortOrder;
|
|
199
|
+
callMessageId?: Prisma.SortOrder;
|
|
200
|
+
messageId?: Prisma.SortOrder;
|
|
201
|
+
contentType?: Prisma.SortOrder;
|
|
202
|
+
payload?: Prisma.SortOrder;
|
|
203
|
+
receivedAt?: Prisma.SortOrder;
|
|
204
|
+
sequence?: Prisma.SortOrder;
|
|
205
|
+
};
|
|
206
|
+
export type ClientCallReplyWhereUniqueInput = Prisma.AtLeast<{
|
|
207
|
+
deliveryId?: string;
|
|
208
|
+
AND?: Prisma.ClientCallReplyWhereInput | Prisma.ClientCallReplyWhereInput[];
|
|
209
|
+
OR?: Prisma.ClientCallReplyWhereInput[];
|
|
210
|
+
NOT?: Prisma.ClientCallReplyWhereInput | Prisma.ClientCallReplyWhereInput[];
|
|
211
|
+
fleetId?: Prisma.StringFilter<"ClientCallReply"> | string;
|
|
212
|
+
callMessageId?: Prisma.StringFilter<"ClientCallReply"> | string;
|
|
213
|
+
messageId?: Prisma.StringFilter<"ClientCallReply"> | string;
|
|
214
|
+
contentType?: Prisma.StringFilter<"ClientCallReply"> | string;
|
|
215
|
+
payload?: Prisma.StringFilter<"ClientCallReply"> | string;
|
|
216
|
+
receivedAt?: Prisma.DateTimeFilter<"ClientCallReply"> | Date | string;
|
|
217
|
+
sequence?: Prisma.IntFilter<"ClientCallReply"> | number;
|
|
218
|
+
}, "deliveryId">;
|
|
219
|
+
export type ClientCallReplyOrderByWithAggregationInput = {
|
|
220
|
+
deliveryId?: Prisma.SortOrder;
|
|
221
|
+
fleetId?: Prisma.SortOrder;
|
|
222
|
+
callMessageId?: Prisma.SortOrder;
|
|
223
|
+
messageId?: Prisma.SortOrder;
|
|
224
|
+
contentType?: Prisma.SortOrder;
|
|
225
|
+
payload?: Prisma.SortOrder;
|
|
226
|
+
receivedAt?: Prisma.SortOrder;
|
|
227
|
+
sequence?: Prisma.SortOrder;
|
|
228
|
+
_count?: Prisma.ClientCallReplyCountOrderByAggregateInput;
|
|
229
|
+
_avg?: Prisma.ClientCallReplyAvgOrderByAggregateInput;
|
|
230
|
+
_max?: Prisma.ClientCallReplyMaxOrderByAggregateInput;
|
|
231
|
+
_min?: Prisma.ClientCallReplyMinOrderByAggregateInput;
|
|
232
|
+
_sum?: Prisma.ClientCallReplySumOrderByAggregateInput;
|
|
233
|
+
};
|
|
234
|
+
export type ClientCallReplyScalarWhereWithAggregatesInput = {
|
|
235
|
+
AND?: Prisma.ClientCallReplyScalarWhereWithAggregatesInput | Prisma.ClientCallReplyScalarWhereWithAggregatesInput[];
|
|
236
|
+
OR?: Prisma.ClientCallReplyScalarWhereWithAggregatesInput[];
|
|
237
|
+
NOT?: Prisma.ClientCallReplyScalarWhereWithAggregatesInput | Prisma.ClientCallReplyScalarWhereWithAggregatesInput[];
|
|
238
|
+
deliveryId?: Prisma.StringWithAggregatesFilter<"ClientCallReply"> | string;
|
|
239
|
+
fleetId?: Prisma.StringWithAggregatesFilter<"ClientCallReply"> | string;
|
|
240
|
+
callMessageId?: Prisma.StringWithAggregatesFilter<"ClientCallReply"> | string;
|
|
241
|
+
messageId?: Prisma.StringWithAggregatesFilter<"ClientCallReply"> | string;
|
|
242
|
+
contentType?: Prisma.StringWithAggregatesFilter<"ClientCallReply"> | string;
|
|
243
|
+
payload?: Prisma.StringWithAggregatesFilter<"ClientCallReply"> | string;
|
|
244
|
+
receivedAt?: Prisma.DateTimeWithAggregatesFilter<"ClientCallReply"> | Date | string;
|
|
245
|
+
sequence?: Prisma.IntWithAggregatesFilter<"ClientCallReply"> | number;
|
|
246
|
+
};
|
|
247
|
+
export type ClientCallReplyCreateInput = {
|
|
248
|
+
deliveryId: string;
|
|
249
|
+
fleetId: string;
|
|
250
|
+
callMessageId: string;
|
|
251
|
+
messageId: string;
|
|
252
|
+
contentType: string;
|
|
253
|
+
payload: string;
|
|
254
|
+
receivedAt: Date | string;
|
|
255
|
+
sequence?: number;
|
|
256
|
+
};
|
|
257
|
+
export type ClientCallReplyUncheckedCreateInput = {
|
|
258
|
+
deliveryId: string;
|
|
259
|
+
fleetId: string;
|
|
260
|
+
callMessageId: string;
|
|
261
|
+
messageId: string;
|
|
262
|
+
contentType: string;
|
|
263
|
+
payload: string;
|
|
264
|
+
receivedAt: Date | string;
|
|
265
|
+
sequence?: number;
|
|
266
|
+
};
|
|
267
|
+
export type ClientCallReplyUpdateInput = {
|
|
268
|
+
deliveryId?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
269
|
+
fleetId?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
270
|
+
callMessageId?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
271
|
+
messageId?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
272
|
+
contentType?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
273
|
+
payload?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
274
|
+
receivedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
275
|
+
sequence?: Prisma.IntFieldUpdateOperationsInput | number;
|
|
276
|
+
};
|
|
277
|
+
export type ClientCallReplyUncheckedUpdateInput = {
|
|
278
|
+
deliveryId?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
279
|
+
fleetId?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
280
|
+
callMessageId?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
281
|
+
messageId?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
282
|
+
contentType?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
283
|
+
payload?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
284
|
+
receivedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
285
|
+
sequence?: Prisma.IntFieldUpdateOperationsInput | number;
|
|
286
|
+
};
|
|
287
|
+
export type ClientCallReplyCreateManyInput = {
|
|
288
|
+
deliveryId: string;
|
|
289
|
+
fleetId: string;
|
|
290
|
+
callMessageId: string;
|
|
291
|
+
messageId: string;
|
|
292
|
+
contentType: string;
|
|
293
|
+
payload: string;
|
|
294
|
+
receivedAt: Date | string;
|
|
295
|
+
sequence?: number;
|
|
296
|
+
};
|
|
297
|
+
export type ClientCallReplyUpdateManyMutationInput = {
|
|
298
|
+
deliveryId?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
299
|
+
fleetId?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
300
|
+
callMessageId?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
301
|
+
messageId?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
302
|
+
contentType?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
303
|
+
payload?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
304
|
+
receivedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
305
|
+
sequence?: Prisma.IntFieldUpdateOperationsInput | number;
|
|
306
|
+
};
|
|
307
|
+
export type ClientCallReplyUncheckedUpdateManyInput = {
|
|
308
|
+
deliveryId?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
309
|
+
fleetId?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
310
|
+
callMessageId?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
311
|
+
messageId?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
312
|
+
contentType?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
313
|
+
payload?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
314
|
+
receivedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
315
|
+
sequence?: Prisma.IntFieldUpdateOperationsInput | number;
|
|
316
|
+
};
|
|
317
|
+
export type ClientCallReplyCountOrderByAggregateInput = {
|
|
318
|
+
deliveryId?: Prisma.SortOrder;
|
|
319
|
+
fleetId?: Prisma.SortOrder;
|
|
320
|
+
callMessageId?: Prisma.SortOrder;
|
|
321
|
+
messageId?: Prisma.SortOrder;
|
|
322
|
+
contentType?: Prisma.SortOrder;
|
|
323
|
+
payload?: Prisma.SortOrder;
|
|
324
|
+
receivedAt?: Prisma.SortOrder;
|
|
325
|
+
sequence?: Prisma.SortOrder;
|
|
326
|
+
};
|
|
327
|
+
export type ClientCallReplyAvgOrderByAggregateInput = {
|
|
328
|
+
sequence?: Prisma.SortOrder;
|
|
329
|
+
};
|
|
330
|
+
export type ClientCallReplyMaxOrderByAggregateInput = {
|
|
331
|
+
deliveryId?: Prisma.SortOrder;
|
|
332
|
+
fleetId?: Prisma.SortOrder;
|
|
333
|
+
callMessageId?: Prisma.SortOrder;
|
|
334
|
+
messageId?: Prisma.SortOrder;
|
|
335
|
+
contentType?: Prisma.SortOrder;
|
|
336
|
+
payload?: Prisma.SortOrder;
|
|
337
|
+
receivedAt?: Prisma.SortOrder;
|
|
338
|
+
sequence?: Prisma.SortOrder;
|
|
339
|
+
};
|
|
340
|
+
export type ClientCallReplyMinOrderByAggregateInput = {
|
|
341
|
+
deliveryId?: Prisma.SortOrder;
|
|
342
|
+
fleetId?: Prisma.SortOrder;
|
|
343
|
+
callMessageId?: Prisma.SortOrder;
|
|
344
|
+
messageId?: Prisma.SortOrder;
|
|
345
|
+
contentType?: Prisma.SortOrder;
|
|
346
|
+
payload?: Prisma.SortOrder;
|
|
347
|
+
receivedAt?: Prisma.SortOrder;
|
|
348
|
+
sequence?: Prisma.SortOrder;
|
|
349
|
+
};
|
|
350
|
+
export type ClientCallReplySumOrderByAggregateInput = {
|
|
351
|
+
sequence?: Prisma.SortOrder;
|
|
352
|
+
};
|
|
353
|
+
export type IntFieldUpdateOperationsInput = {
|
|
354
|
+
set?: number;
|
|
355
|
+
increment?: number;
|
|
356
|
+
decrement?: number;
|
|
357
|
+
multiply?: number;
|
|
358
|
+
divide?: number;
|
|
359
|
+
};
|
|
360
|
+
export type ClientCallReplySelect<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetSelect<{
|
|
361
|
+
deliveryId?: boolean;
|
|
362
|
+
fleetId?: boolean;
|
|
363
|
+
callMessageId?: boolean;
|
|
364
|
+
messageId?: boolean;
|
|
365
|
+
contentType?: boolean;
|
|
366
|
+
payload?: boolean;
|
|
367
|
+
receivedAt?: boolean;
|
|
368
|
+
sequence?: boolean;
|
|
369
|
+
}, ExtArgs["result"]["clientCallReply"]>;
|
|
370
|
+
export type ClientCallReplySelectCreateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetSelect<{
|
|
371
|
+
deliveryId?: boolean;
|
|
372
|
+
fleetId?: boolean;
|
|
373
|
+
callMessageId?: boolean;
|
|
374
|
+
messageId?: boolean;
|
|
375
|
+
contentType?: boolean;
|
|
376
|
+
payload?: boolean;
|
|
377
|
+
receivedAt?: boolean;
|
|
378
|
+
sequence?: boolean;
|
|
379
|
+
}, ExtArgs["result"]["clientCallReply"]>;
|
|
380
|
+
export type ClientCallReplySelectUpdateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetSelect<{
|
|
381
|
+
deliveryId?: boolean;
|
|
382
|
+
fleetId?: boolean;
|
|
383
|
+
callMessageId?: boolean;
|
|
384
|
+
messageId?: boolean;
|
|
385
|
+
contentType?: boolean;
|
|
386
|
+
payload?: boolean;
|
|
387
|
+
receivedAt?: boolean;
|
|
388
|
+
sequence?: boolean;
|
|
389
|
+
}, ExtArgs["result"]["clientCallReply"]>;
|
|
390
|
+
export type ClientCallReplySelectScalar = {
|
|
391
|
+
deliveryId?: boolean;
|
|
392
|
+
fleetId?: boolean;
|
|
393
|
+
callMessageId?: boolean;
|
|
394
|
+
messageId?: boolean;
|
|
395
|
+
contentType?: boolean;
|
|
396
|
+
payload?: boolean;
|
|
397
|
+
receivedAt?: boolean;
|
|
398
|
+
sequence?: boolean;
|
|
399
|
+
};
|
|
400
|
+
export type ClientCallReplyOmit<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetOmit<"deliveryId" | "fleetId" | "callMessageId" | "messageId" | "contentType" | "payload" | "receivedAt" | "sequence", ExtArgs["result"]["clientCallReply"]>;
|
|
401
|
+
export type $ClientCallReplyPayload<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
402
|
+
name: "ClientCallReply";
|
|
403
|
+
objects: {};
|
|
404
|
+
scalars: runtime.Types.Extensions.GetPayloadResult<{
|
|
405
|
+
deliveryId: string;
|
|
406
|
+
fleetId: string;
|
|
407
|
+
callMessageId: string;
|
|
408
|
+
messageId: string;
|
|
409
|
+
contentType: string;
|
|
410
|
+
payload: string;
|
|
411
|
+
receivedAt: Date;
|
|
412
|
+
/**
|
|
413
|
+
* The order kept in, as receivedAt may tie.
|
|
414
|
+
*/
|
|
415
|
+
sequence: number;
|
|
416
|
+
}, ExtArgs["result"]["clientCallReply"]>;
|
|
417
|
+
composites: {};
|
|
418
|
+
};
|
|
419
|
+
export type ClientCallReplyGetPayload<S extends boolean | null | undefined | ClientCallReplyDefaultArgs> = runtime.Types.Result.GetResult<Prisma.$ClientCallReplyPayload, S>;
|
|
420
|
+
export type ClientCallReplyCountArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = Omit<ClientCallReplyFindManyArgs, 'select' | 'include' | 'distinct' | 'omit'> & {
|
|
421
|
+
select?: ClientCallReplyCountAggregateInputType | true;
|
|
422
|
+
};
|
|
423
|
+
export interface ClientCallReplyDelegate<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs, GlobalOmitOptions = {}> {
|
|
424
|
+
[K: symbol]: {
|
|
425
|
+
types: Prisma.TypeMap<ExtArgs>['model']['ClientCallReply'];
|
|
426
|
+
meta: {
|
|
427
|
+
name: 'ClientCallReply';
|
|
428
|
+
};
|
|
429
|
+
};
|
|
430
|
+
/**
|
|
431
|
+
* Find zero or one ClientCallReply that matches the filter.
|
|
432
|
+
* @param {ClientCallReplyFindUniqueArgs} args - Arguments to find a ClientCallReply
|
|
433
|
+
* @example
|
|
434
|
+
* // Get one ClientCallReply
|
|
435
|
+
* const clientCallReply = await prisma.clientCallReply.findUnique({
|
|
436
|
+
* where: {
|
|
437
|
+
* // ... provide filter here
|
|
438
|
+
* }
|
|
439
|
+
* })
|
|
440
|
+
*/
|
|
441
|
+
findUnique<T extends ClientCallReplyFindUniqueArgs>(args: Prisma.SelectSubset<T, ClientCallReplyFindUniqueArgs<ExtArgs>>): Prisma.Prisma__ClientCallReplyClient<runtime.Types.Result.GetResult<Prisma.$ClientCallReplyPayload<ExtArgs>, T, "findUnique", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions>;
|
|
442
|
+
/**
|
|
443
|
+
* Find one ClientCallReply that matches the filter or throw an error with `error.code='P2025'`
|
|
444
|
+
* if no matches were found.
|
|
445
|
+
* @param {ClientCallReplyFindUniqueOrThrowArgs} args - Arguments to find a ClientCallReply
|
|
446
|
+
* @example
|
|
447
|
+
* // Get one ClientCallReply
|
|
448
|
+
* const clientCallReply = await prisma.clientCallReply.findUniqueOrThrow({
|
|
449
|
+
* where: {
|
|
450
|
+
* // ... provide filter here
|
|
451
|
+
* }
|
|
452
|
+
* })
|
|
453
|
+
*/
|
|
454
|
+
findUniqueOrThrow<T extends ClientCallReplyFindUniqueOrThrowArgs>(args: Prisma.SelectSubset<T, ClientCallReplyFindUniqueOrThrowArgs<ExtArgs>>): Prisma.Prisma__ClientCallReplyClient<runtime.Types.Result.GetResult<Prisma.$ClientCallReplyPayload<ExtArgs>, T, "findUniqueOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>;
|
|
455
|
+
/**
|
|
456
|
+
* Find the first ClientCallReply that matches the filter.
|
|
457
|
+
* Note, that providing `undefined` is treated as the value not being there.
|
|
458
|
+
* Read more here: https://pris.ly/d/null-undefined
|
|
459
|
+
* @param {ClientCallReplyFindFirstArgs} args - Arguments to find a ClientCallReply
|
|
460
|
+
* @example
|
|
461
|
+
* // Get one ClientCallReply
|
|
462
|
+
* const clientCallReply = await prisma.clientCallReply.findFirst({
|
|
463
|
+
* where: {
|
|
464
|
+
* // ... provide filter here
|
|
465
|
+
* }
|
|
466
|
+
* })
|
|
467
|
+
*/
|
|
468
|
+
findFirst<T extends ClientCallReplyFindFirstArgs>(args?: Prisma.SelectSubset<T, ClientCallReplyFindFirstArgs<ExtArgs>>): Prisma.Prisma__ClientCallReplyClient<runtime.Types.Result.GetResult<Prisma.$ClientCallReplyPayload<ExtArgs>, T, "findFirst", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions>;
|
|
469
|
+
/**
|
|
470
|
+
* Find the first ClientCallReply that matches the filter or
|
|
471
|
+
* throw `PrismaKnownClientError` with `P2025` code if no matches were found.
|
|
472
|
+
* Note, that providing `undefined` is treated as the value not being there.
|
|
473
|
+
* Read more here: https://pris.ly/d/null-undefined
|
|
474
|
+
* @param {ClientCallReplyFindFirstOrThrowArgs} args - Arguments to find a ClientCallReply
|
|
475
|
+
* @example
|
|
476
|
+
* // Get one ClientCallReply
|
|
477
|
+
* const clientCallReply = await prisma.clientCallReply.findFirstOrThrow({
|
|
478
|
+
* where: {
|
|
479
|
+
* // ... provide filter here
|
|
480
|
+
* }
|
|
481
|
+
* })
|
|
482
|
+
*/
|
|
483
|
+
findFirstOrThrow<T extends ClientCallReplyFindFirstOrThrowArgs>(args?: Prisma.SelectSubset<T, ClientCallReplyFindFirstOrThrowArgs<ExtArgs>>): Prisma.Prisma__ClientCallReplyClient<runtime.Types.Result.GetResult<Prisma.$ClientCallReplyPayload<ExtArgs>, T, "findFirstOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>;
|
|
484
|
+
/**
|
|
485
|
+
* Find zero or more ClientCallReplies that matches the filter.
|
|
486
|
+
* Note, that providing `undefined` is treated as the value not being there.
|
|
487
|
+
* Read more here: https://pris.ly/d/null-undefined
|
|
488
|
+
* @param {ClientCallReplyFindManyArgs} args - Arguments to filter and select certain fields only.
|
|
489
|
+
* @example
|
|
490
|
+
* // Get all ClientCallReplies
|
|
491
|
+
* const clientCallReplies = await prisma.clientCallReply.findMany()
|
|
492
|
+
*
|
|
493
|
+
* // Get first 10 ClientCallReplies
|
|
494
|
+
* const clientCallReplies = await prisma.clientCallReply.findMany({ take: 10 })
|
|
495
|
+
*
|
|
496
|
+
* // Only select the `deliveryId`
|
|
497
|
+
* const clientCallReplyWithDeliveryIdOnly = await prisma.clientCallReply.findMany({ select: { deliveryId: true } })
|
|
498
|
+
*
|
|
499
|
+
*/
|
|
500
|
+
findMany<T extends ClientCallReplyFindManyArgs>(args?: Prisma.SelectSubset<T, ClientCallReplyFindManyArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$ClientCallReplyPayload<ExtArgs>, T, "findMany", GlobalOmitOptions>>;
|
|
501
|
+
/**
|
|
502
|
+
* Create a ClientCallReply.
|
|
503
|
+
* @param {ClientCallReplyCreateArgs} args - Arguments to create a ClientCallReply.
|
|
504
|
+
* @example
|
|
505
|
+
* // Create one ClientCallReply
|
|
506
|
+
* const ClientCallReply = await prisma.clientCallReply.create({
|
|
507
|
+
* data: {
|
|
508
|
+
* // ... data to create a ClientCallReply
|
|
509
|
+
* }
|
|
510
|
+
* })
|
|
511
|
+
*
|
|
512
|
+
*/
|
|
513
|
+
create<T extends ClientCallReplyCreateArgs>(args: Prisma.SelectSubset<T, ClientCallReplyCreateArgs<ExtArgs>>): Prisma.Prisma__ClientCallReplyClient<runtime.Types.Result.GetResult<Prisma.$ClientCallReplyPayload<ExtArgs>, T, "create", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>;
|
|
514
|
+
/**
|
|
515
|
+
* Create many ClientCallReplies.
|
|
516
|
+
* @param {ClientCallReplyCreateManyArgs} args - Arguments to create many ClientCallReplies.
|
|
517
|
+
* @example
|
|
518
|
+
* // Create many ClientCallReplies
|
|
519
|
+
* const clientCallReply = await prisma.clientCallReply.createMany({
|
|
520
|
+
* data: [
|
|
521
|
+
* // ... provide data here
|
|
522
|
+
* ]
|
|
523
|
+
* })
|
|
524
|
+
*
|
|
525
|
+
*/
|
|
526
|
+
createMany<T extends ClientCallReplyCreateManyArgs>(args?: Prisma.SelectSubset<T, ClientCallReplyCreateManyArgs<ExtArgs>>): Prisma.PrismaPromise<Prisma.BatchPayload>;
|
|
527
|
+
/**
|
|
528
|
+
* Create many ClientCallReplies and returns the data saved in the database.
|
|
529
|
+
* @param {ClientCallReplyCreateManyAndReturnArgs} args - Arguments to create many ClientCallReplies.
|
|
530
|
+
* @example
|
|
531
|
+
* // Create many ClientCallReplies
|
|
532
|
+
* const clientCallReply = await prisma.clientCallReply.createManyAndReturn({
|
|
533
|
+
* data: [
|
|
534
|
+
* // ... provide data here
|
|
535
|
+
* ]
|
|
536
|
+
* })
|
|
537
|
+
*
|
|
538
|
+
* // Create many ClientCallReplies and only return the `deliveryId`
|
|
539
|
+
* const clientCallReplyWithDeliveryIdOnly = await prisma.clientCallReply.createManyAndReturn({
|
|
540
|
+
* select: { deliveryId: true },
|
|
541
|
+
* data: [
|
|
542
|
+
* // ... provide data here
|
|
543
|
+
* ]
|
|
544
|
+
* })
|
|
545
|
+
* Note, that providing `undefined` is treated as the value not being there.
|
|
546
|
+
* Read more here: https://pris.ly/d/null-undefined
|
|
547
|
+
*
|
|
548
|
+
*/
|
|
549
|
+
createManyAndReturn<T extends ClientCallReplyCreateManyAndReturnArgs>(args?: Prisma.SelectSubset<T, ClientCallReplyCreateManyAndReturnArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$ClientCallReplyPayload<ExtArgs>, T, "createManyAndReturn", GlobalOmitOptions>>;
|
|
550
|
+
/**
|
|
551
|
+
* Delete a ClientCallReply.
|
|
552
|
+
* @param {ClientCallReplyDeleteArgs} args - Arguments to delete one ClientCallReply.
|
|
553
|
+
* @example
|
|
554
|
+
* // Delete one ClientCallReply
|
|
555
|
+
* const ClientCallReply = await prisma.clientCallReply.delete({
|
|
556
|
+
* where: {
|
|
557
|
+
* // ... filter to delete one ClientCallReply
|
|
558
|
+
* }
|
|
559
|
+
* })
|
|
560
|
+
*
|
|
561
|
+
*/
|
|
562
|
+
delete<T extends ClientCallReplyDeleteArgs>(args: Prisma.SelectSubset<T, ClientCallReplyDeleteArgs<ExtArgs>>): Prisma.Prisma__ClientCallReplyClient<runtime.Types.Result.GetResult<Prisma.$ClientCallReplyPayload<ExtArgs>, T, "delete", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>;
|
|
563
|
+
/**
|
|
564
|
+
* Update one ClientCallReply.
|
|
565
|
+
* @param {ClientCallReplyUpdateArgs} args - Arguments to update one ClientCallReply.
|
|
566
|
+
* @example
|
|
567
|
+
* // Update one ClientCallReply
|
|
568
|
+
* const clientCallReply = await prisma.clientCallReply.update({
|
|
569
|
+
* where: {
|
|
570
|
+
* // ... provide filter here
|
|
571
|
+
* },
|
|
572
|
+
* data: {
|
|
573
|
+
* // ... provide data here
|
|
574
|
+
* }
|
|
575
|
+
* })
|
|
576
|
+
*
|
|
577
|
+
*/
|
|
578
|
+
update<T extends ClientCallReplyUpdateArgs>(args: Prisma.SelectSubset<T, ClientCallReplyUpdateArgs<ExtArgs>>): Prisma.Prisma__ClientCallReplyClient<runtime.Types.Result.GetResult<Prisma.$ClientCallReplyPayload<ExtArgs>, T, "update", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>;
|
|
579
|
+
/**
|
|
580
|
+
* Delete zero or more ClientCallReplies.
|
|
581
|
+
* @param {ClientCallReplyDeleteManyArgs} args - Arguments to filter ClientCallReplies to delete.
|
|
582
|
+
* @example
|
|
583
|
+
* // Delete a few ClientCallReplies
|
|
584
|
+
* const { count } = await prisma.clientCallReply.deleteMany({
|
|
585
|
+
* where: {
|
|
586
|
+
* // ... provide filter here
|
|
587
|
+
* }
|
|
588
|
+
* })
|
|
589
|
+
*
|
|
590
|
+
*/
|
|
591
|
+
deleteMany<T extends ClientCallReplyDeleteManyArgs>(args?: Prisma.SelectSubset<T, ClientCallReplyDeleteManyArgs<ExtArgs>>): Prisma.PrismaPromise<Prisma.BatchPayload>;
|
|
592
|
+
/**
|
|
593
|
+
* Update zero or more ClientCallReplies.
|
|
594
|
+
* Note, that providing `undefined` is treated as the value not being there.
|
|
595
|
+
* Read more here: https://pris.ly/d/null-undefined
|
|
596
|
+
* @param {ClientCallReplyUpdateManyArgs} args - Arguments to update one or more rows.
|
|
597
|
+
* @example
|
|
598
|
+
* // Update many ClientCallReplies
|
|
599
|
+
* const clientCallReply = await prisma.clientCallReply.updateMany({
|
|
600
|
+
* where: {
|
|
601
|
+
* // ... provide filter here
|
|
602
|
+
* },
|
|
603
|
+
* data: {
|
|
604
|
+
* // ... provide data here
|
|
605
|
+
* }
|
|
606
|
+
* })
|
|
607
|
+
*
|
|
608
|
+
*/
|
|
609
|
+
updateMany<T extends ClientCallReplyUpdateManyArgs>(args: Prisma.SelectSubset<T, ClientCallReplyUpdateManyArgs<ExtArgs>>): Prisma.PrismaPromise<Prisma.BatchPayload>;
|
|
610
|
+
/**
|
|
611
|
+
* Update zero or more ClientCallReplies and returns the data updated in the database.
|
|
612
|
+
* @param {ClientCallReplyUpdateManyAndReturnArgs} args - Arguments to update many ClientCallReplies.
|
|
613
|
+
* @example
|
|
614
|
+
* // Update many ClientCallReplies
|
|
615
|
+
* const clientCallReply = await prisma.clientCallReply.updateManyAndReturn({
|
|
616
|
+
* where: {
|
|
617
|
+
* // ... provide filter here
|
|
618
|
+
* },
|
|
619
|
+
* data: [
|
|
620
|
+
* // ... provide data here
|
|
621
|
+
* ]
|
|
622
|
+
* })
|
|
623
|
+
*
|
|
624
|
+
* // Update zero or more ClientCallReplies and only return the `deliveryId`
|
|
625
|
+
* const clientCallReplyWithDeliveryIdOnly = await prisma.clientCallReply.updateManyAndReturn({
|
|
626
|
+
* select: { deliveryId: true },
|
|
627
|
+
* where: {
|
|
628
|
+
* // ... provide filter here
|
|
629
|
+
* },
|
|
630
|
+
* data: [
|
|
631
|
+
* // ... provide data here
|
|
632
|
+
* ]
|
|
633
|
+
* })
|
|
634
|
+
* Note, that providing `undefined` is treated as the value not being there.
|
|
635
|
+
* Read more here: https://pris.ly/d/null-undefined
|
|
636
|
+
*
|
|
637
|
+
*/
|
|
638
|
+
updateManyAndReturn<T extends ClientCallReplyUpdateManyAndReturnArgs>(args: Prisma.SelectSubset<T, ClientCallReplyUpdateManyAndReturnArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$ClientCallReplyPayload<ExtArgs>, T, "updateManyAndReturn", GlobalOmitOptions>>;
|
|
639
|
+
/**
|
|
640
|
+
* Create or update one ClientCallReply.
|
|
641
|
+
* @param {ClientCallReplyUpsertArgs} args - Arguments to update or create a ClientCallReply.
|
|
642
|
+
* @example
|
|
643
|
+
* // Update or create a ClientCallReply
|
|
644
|
+
* const clientCallReply = await prisma.clientCallReply.upsert({
|
|
645
|
+
* create: {
|
|
646
|
+
* // ... data to create a ClientCallReply
|
|
647
|
+
* },
|
|
648
|
+
* update: {
|
|
649
|
+
* // ... in case it already exists, update
|
|
650
|
+
* },
|
|
651
|
+
* where: {
|
|
652
|
+
* // ... the filter for the ClientCallReply we want to update
|
|
653
|
+
* }
|
|
654
|
+
* })
|
|
655
|
+
*/
|
|
656
|
+
upsert<T extends ClientCallReplyUpsertArgs>(args: Prisma.SelectSubset<T, ClientCallReplyUpsertArgs<ExtArgs>>): Prisma.Prisma__ClientCallReplyClient<runtime.Types.Result.GetResult<Prisma.$ClientCallReplyPayload<ExtArgs>, T, "upsert", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>;
|
|
657
|
+
/**
|
|
658
|
+
* Count the number of ClientCallReplies.
|
|
659
|
+
* Note, that providing `undefined` is treated as the value not being there.
|
|
660
|
+
* Read more here: https://pris.ly/d/null-undefined
|
|
661
|
+
* @param {ClientCallReplyCountArgs} args - Arguments to filter ClientCallReplies to count.
|
|
662
|
+
* @example
|
|
663
|
+
* // Count the number of ClientCallReplies
|
|
664
|
+
* const count = await prisma.clientCallReply.count({
|
|
665
|
+
* where: {
|
|
666
|
+
* // ... the filter for the ClientCallReplies we want to count
|
|
667
|
+
* }
|
|
668
|
+
* })
|
|
669
|
+
**/
|
|
670
|
+
count<T extends ClientCallReplyCountArgs>(args?: Prisma.Subset<T, ClientCallReplyCountArgs>): Prisma.PrismaPromise<T extends runtime.Types.Utils.Record<'select', any> ? T['select'] extends true ? number : Prisma.GetScalarType<T['select'], ClientCallReplyCountAggregateOutputType> : number>;
|
|
671
|
+
/**
|
|
672
|
+
* Allows you to perform aggregations operations on a ClientCallReply.
|
|
673
|
+
* Note, that providing `undefined` is treated as the value not being there.
|
|
674
|
+
* Read more here: https://pris.ly/d/null-undefined
|
|
675
|
+
* @param {ClientCallReplyAggregateArgs} args - Select which aggregations you would like to apply and on what fields.
|
|
676
|
+
* @example
|
|
677
|
+
* // Ordered by age ascending
|
|
678
|
+
* // Where email contains prisma.io
|
|
679
|
+
* // Limited to the 10 users
|
|
680
|
+
* const aggregations = await prisma.user.aggregate({
|
|
681
|
+
* _avg: {
|
|
682
|
+
* age: true,
|
|
683
|
+
* },
|
|
684
|
+
* where: {
|
|
685
|
+
* email: {
|
|
686
|
+
* contains: "prisma.io",
|
|
687
|
+
* },
|
|
688
|
+
* },
|
|
689
|
+
* orderBy: {
|
|
690
|
+
* age: "asc",
|
|
691
|
+
* },
|
|
692
|
+
* take: 10,
|
|
693
|
+
* })
|
|
694
|
+
**/
|
|
695
|
+
aggregate<T extends ClientCallReplyAggregateArgs>(args: Prisma.Subset<T, ClientCallReplyAggregateArgs>): Prisma.PrismaPromise<GetClientCallReplyAggregateType<T>>;
|
|
696
|
+
/**
|
|
697
|
+
* Group by ClientCallReply.
|
|
698
|
+
* Note, that providing `undefined` is treated as the value not being there.
|
|
699
|
+
* Read more here: https://pris.ly/d/null-undefined
|
|
700
|
+
* @param {ClientCallReplyGroupByArgs} args - Group by arguments.
|
|
701
|
+
* @example
|
|
702
|
+
* // Group by city, order by createdAt, get count
|
|
703
|
+
* const result = await prisma.user.groupBy({
|
|
704
|
+
* by: ['city', 'createdAt'],
|
|
705
|
+
* orderBy: {
|
|
706
|
+
* createdAt: true
|
|
707
|
+
* },
|
|
708
|
+
* _count: {
|
|
709
|
+
* _all: true
|
|
710
|
+
* },
|
|
711
|
+
* })
|
|
712
|
+
*
|
|
713
|
+
**/
|
|
714
|
+
groupBy<T extends ClientCallReplyGroupByArgs, HasSelectOrTake extends Prisma.Or<Prisma.Extends<'skip', Prisma.Keys<T>>, Prisma.Extends<'take', Prisma.Keys<T>>>, OrderByArg extends Prisma.True extends HasSelectOrTake ? {
|
|
715
|
+
orderBy: ClientCallReplyGroupByArgs['orderBy'];
|
|
716
|
+
} : {
|
|
717
|
+
orderBy?: ClientCallReplyGroupByArgs['orderBy'];
|
|
718
|
+
}, 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 ? {
|
|
719
|
+
[P in HavingFields]: P extends ByFields ? never : P extends string ? `Error: Field "${P}" used in "having" needs to be provided in "by".` : [
|
|
720
|
+
Error,
|
|
721
|
+
'Field ',
|
|
722
|
+
P,
|
|
723
|
+
` in "having" needs to be provided in "by"`
|
|
724
|
+
];
|
|
725
|
+
}[HavingFields] : 'take' extends Prisma.Keys<T> ? 'orderBy' extends Prisma.Keys<T> ? ByValid extends Prisma.True ? {} : {
|
|
726
|
+
[P in OrderFields]: P extends ByFields ? never : `Error: Field "${P}" in "orderBy" needs to be provided in "by"`;
|
|
727
|
+
}[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 ? {} : {
|
|
728
|
+
[P in OrderFields]: P extends ByFields ? never : `Error: Field "${P}" in "orderBy" needs to be provided in "by"`;
|
|
729
|
+
}[OrderFields] : 'Error: If you provide "skip", you also need to provide "orderBy"' : ByValid extends Prisma.True ? {} : {
|
|
730
|
+
[P in OrderFields]: P extends ByFields ? never : `Error: Field "${P}" in "orderBy" needs to be provided in "by"`;
|
|
731
|
+
}[OrderFields]>(args: Prisma.SubsetIntersection<T, ClientCallReplyGroupByArgs, OrderByArg> & InputErrors): {} extends InputErrors ? GetClientCallReplyGroupByPayload<T> : Prisma.PrismaPromise<InputErrors>;
|
|
732
|
+
/**
|
|
733
|
+
* Fields of the ClientCallReply model
|
|
734
|
+
*/
|
|
735
|
+
readonly fields: ClientCallReplyFieldRefs;
|
|
736
|
+
}
|
|
737
|
+
/**
|
|
738
|
+
* The delegate class that acts as a "Promise-like" for ClientCallReply.
|
|
739
|
+
* Why is this prefixed with `Prisma__`?
|
|
740
|
+
* Because we want to prevent naming conflicts as mentioned in
|
|
741
|
+
* https://github.com/prisma/prisma-client-js/issues/707
|
|
742
|
+
*/
|
|
743
|
+
export interface Prisma__ClientCallReplyClient<T, Null = never, ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs, GlobalOmitOptions = {}> extends Prisma.PrismaPromise<T> {
|
|
744
|
+
readonly [Symbol.toStringTag]: "PrismaPromise";
|
|
745
|
+
/**
|
|
746
|
+
* Attaches callbacks for the resolution and/or rejection of the Promise.
|
|
747
|
+
* @param onfulfilled The callback to execute when the Promise is resolved.
|
|
748
|
+
* @param onrejected The callback to execute when the Promise is rejected.
|
|
749
|
+
* @returns A Promise for the completion of which ever callback is executed.
|
|
750
|
+
*/
|
|
751
|
+
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>;
|
|
752
|
+
/**
|
|
753
|
+
* Attaches a callback for only the rejection of the Promise.
|
|
754
|
+
* @param onrejected The callback to execute when the Promise is rejected.
|
|
755
|
+
* @returns A Promise for the completion of the callback.
|
|
756
|
+
*/
|
|
757
|
+
catch<TResult = never>(onrejected?: ((reason: any) => TResult | PromiseLike<TResult>) | undefined | null): runtime.Types.Utils.JsPromise<T | TResult>;
|
|
758
|
+
/**
|
|
759
|
+
* Attaches a callback that is invoked when the Promise is settled (fulfilled or rejected). The
|
|
760
|
+
* resolved value cannot be modified from the callback.
|
|
761
|
+
* @param onfinally The callback to execute when the Promise is settled (fulfilled or rejected).
|
|
762
|
+
* @returns A Promise for the completion of the callback.
|
|
763
|
+
*/
|
|
764
|
+
finally(onfinally?: (() => void) | undefined | null): runtime.Types.Utils.JsPromise<T>;
|
|
765
|
+
}
|
|
766
|
+
/**
|
|
767
|
+
* Fields of the ClientCallReply model
|
|
768
|
+
*/
|
|
769
|
+
export interface ClientCallReplyFieldRefs {
|
|
770
|
+
readonly deliveryId: Prisma.FieldRef<"ClientCallReply", 'String'>;
|
|
771
|
+
readonly fleetId: Prisma.FieldRef<"ClientCallReply", 'String'>;
|
|
772
|
+
readonly callMessageId: Prisma.FieldRef<"ClientCallReply", 'String'>;
|
|
773
|
+
readonly messageId: Prisma.FieldRef<"ClientCallReply", 'String'>;
|
|
774
|
+
readonly contentType: Prisma.FieldRef<"ClientCallReply", 'String'>;
|
|
775
|
+
readonly payload: Prisma.FieldRef<"ClientCallReply", 'String'>;
|
|
776
|
+
readonly receivedAt: Prisma.FieldRef<"ClientCallReply", 'DateTime'>;
|
|
777
|
+
readonly sequence: Prisma.FieldRef<"ClientCallReply", 'Int'>;
|
|
778
|
+
}
|
|
779
|
+
/**
|
|
780
|
+
* ClientCallReply findUnique
|
|
781
|
+
*/
|
|
782
|
+
export type ClientCallReplyFindUniqueArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
783
|
+
/**
|
|
784
|
+
* Select specific fields to fetch from the ClientCallReply
|
|
785
|
+
*/
|
|
786
|
+
select?: Prisma.ClientCallReplySelect<ExtArgs> | null;
|
|
787
|
+
/**
|
|
788
|
+
* Omit specific fields from the ClientCallReply
|
|
789
|
+
*/
|
|
790
|
+
omit?: Prisma.ClientCallReplyOmit<ExtArgs> | null;
|
|
791
|
+
/**
|
|
792
|
+
* Filter, which ClientCallReply to fetch.
|
|
793
|
+
*/
|
|
794
|
+
where: Prisma.ClientCallReplyWhereUniqueInput;
|
|
795
|
+
};
|
|
796
|
+
/**
|
|
797
|
+
* ClientCallReply findUniqueOrThrow
|
|
798
|
+
*/
|
|
799
|
+
export type ClientCallReplyFindUniqueOrThrowArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
800
|
+
/**
|
|
801
|
+
* Select specific fields to fetch from the ClientCallReply
|
|
802
|
+
*/
|
|
803
|
+
select?: Prisma.ClientCallReplySelect<ExtArgs> | null;
|
|
804
|
+
/**
|
|
805
|
+
* Omit specific fields from the ClientCallReply
|
|
806
|
+
*/
|
|
807
|
+
omit?: Prisma.ClientCallReplyOmit<ExtArgs> | null;
|
|
808
|
+
/**
|
|
809
|
+
* Filter, which ClientCallReply to fetch.
|
|
810
|
+
*/
|
|
811
|
+
where: Prisma.ClientCallReplyWhereUniqueInput;
|
|
812
|
+
};
|
|
813
|
+
/**
|
|
814
|
+
* ClientCallReply findFirst
|
|
815
|
+
*/
|
|
816
|
+
export type ClientCallReplyFindFirstArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
817
|
+
/**
|
|
818
|
+
* Select specific fields to fetch from the ClientCallReply
|
|
819
|
+
*/
|
|
820
|
+
select?: Prisma.ClientCallReplySelect<ExtArgs> | null;
|
|
821
|
+
/**
|
|
822
|
+
* Omit specific fields from the ClientCallReply
|
|
823
|
+
*/
|
|
824
|
+
omit?: Prisma.ClientCallReplyOmit<ExtArgs> | null;
|
|
825
|
+
/**
|
|
826
|
+
* Filter, which ClientCallReply to fetch.
|
|
827
|
+
*/
|
|
828
|
+
where?: Prisma.ClientCallReplyWhereInput;
|
|
829
|
+
/**
|
|
830
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
|
|
831
|
+
*
|
|
832
|
+
* Determine the order of ClientCallReplies to fetch.
|
|
833
|
+
*/
|
|
834
|
+
orderBy?: Prisma.ClientCallReplyOrderByWithRelationInput | Prisma.ClientCallReplyOrderByWithRelationInput[];
|
|
835
|
+
/**
|
|
836
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
|
|
837
|
+
*
|
|
838
|
+
* Sets the position for searching for ClientCallReplies.
|
|
839
|
+
*/
|
|
840
|
+
cursor?: Prisma.ClientCallReplyWhereUniqueInput;
|
|
841
|
+
/**
|
|
842
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
843
|
+
*
|
|
844
|
+
* Take `±n` ClientCallReplies from the position of the cursor.
|
|
845
|
+
*/
|
|
846
|
+
take?: number;
|
|
847
|
+
/**
|
|
848
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
849
|
+
*
|
|
850
|
+
* Skip the first `n` ClientCallReplies.
|
|
851
|
+
*/
|
|
852
|
+
skip?: number;
|
|
853
|
+
/**
|
|
854
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
|
|
855
|
+
*
|
|
856
|
+
* Filter by unique combinations of ClientCallReplies.
|
|
857
|
+
*/
|
|
858
|
+
distinct?: Prisma.ClientCallReplyScalarFieldEnum | Prisma.ClientCallReplyScalarFieldEnum[];
|
|
859
|
+
};
|
|
860
|
+
/**
|
|
861
|
+
* ClientCallReply findFirstOrThrow
|
|
862
|
+
*/
|
|
863
|
+
export type ClientCallReplyFindFirstOrThrowArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
864
|
+
/**
|
|
865
|
+
* Select specific fields to fetch from the ClientCallReply
|
|
866
|
+
*/
|
|
867
|
+
select?: Prisma.ClientCallReplySelect<ExtArgs> | null;
|
|
868
|
+
/**
|
|
869
|
+
* Omit specific fields from the ClientCallReply
|
|
870
|
+
*/
|
|
871
|
+
omit?: Prisma.ClientCallReplyOmit<ExtArgs> | null;
|
|
872
|
+
/**
|
|
873
|
+
* Filter, which ClientCallReply to fetch.
|
|
874
|
+
*/
|
|
875
|
+
where?: Prisma.ClientCallReplyWhereInput;
|
|
876
|
+
/**
|
|
877
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
|
|
878
|
+
*
|
|
879
|
+
* Determine the order of ClientCallReplies to fetch.
|
|
880
|
+
*/
|
|
881
|
+
orderBy?: Prisma.ClientCallReplyOrderByWithRelationInput | Prisma.ClientCallReplyOrderByWithRelationInput[];
|
|
882
|
+
/**
|
|
883
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
|
|
884
|
+
*
|
|
885
|
+
* Sets the position for searching for ClientCallReplies.
|
|
886
|
+
*/
|
|
887
|
+
cursor?: Prisma.ClientCallReplyWhereUniqueInput;
|
|
888
|
+
/**
|
|
889
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
890
|
+
*
|
|
891
|
+
* Take `±n` ClientCallReplies from the position of the cursor.
|
|
892
|
+
*/
|
|
893
|
+
take?: number;
|
|
894
|
+
/**
|
|
895
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
896
|
+
*
|
|
897
|
+
* Skip the first `n` ClientCallReplies.
|
|
898
|
+
*/
|
|
899
|
+
skip?: number;
|
|
900
|
+
/**
|
|
901
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
|
|
902
|
+
*
|
|
903
|
+
* Filter by unique combinations of ClientCallReplies.
|
|
904
|
+
*/
|
|
905
|
+
distinct?: Prisma.ClientCallReplyScalarFieldEnum | Prisma.ClientCallReplyScalarFieldEnum[];
|
|
906
|
+
};
|
|
907
|
+
/**
|
|
908
|
+
* ClientCallReply findMany
|
|
909
|
+
*/
|
|
910
|
+
export type ClientCallReplyFindManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
911
|
+
/**
|
|
912
|
+
* Select specific fields to fetch from the ClientCallReply
|
|
913
|
+
*/
|
|
914
|
+
select?: Prisma.ClientCallReplySelect<ExtArgs> | null;
|
|
915
|
+
/**
|
|
916
|
+
* Omit specific fields from the ClientCallReply
|
|
917
|
+
*/
|
|
918
|
+
omit?: Prisma.ClientCallReplyOmit<ExtArgs> | null;
|
|
919
|
+
/**
|
|
920
|
+
* Filter, which ClientCallReplies to fetch.
|
|
921
|
+
*/
|
|
922
|
+
where?: Prisma.ClientCallReplyWhereInput;
|
|
923
|
+
/**
|
|
924
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
|
|
925
|
+
*
|
|
926
|
+
* Determine the order of ClientCallReplies to fetch.
|
|
927
|
+
*/
|
|
928
|
+
orderBy?: Prisma.ClientCallReplyOrderByWithRelationInput | Prisma.ClientCallReplyOrderByWithRelationInput[];
|
|
929
|
+
/**
|
|
930
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
|
|
931
|
+
*
|
|
932
|
+
* Sets the position for listing ClientCallReplies.
|
|
933
|
+
*/
|
|
934
|
+
cursor?: Prisma.ClientCallReplyWhereUniqueInput;
|
|
935
|
+
/**
|
|
936
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
937
|
+
*
|
|
938
|
+
* Take `±n` ClientCallReplies from the position of the cursor.
|
|
939
|
+
*/
|
|
940
|
+
take?: number;
|
|
941
|
+
/**
|
|
942
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
943
|
+
*
|
|
944
|
+
* Skip the first `n` ClientCallReplies.
|
|
945
|
+
*/
|
|
946
|
+
skip?: number;
|
|
947
|
+
/**
|
|
948
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
|
|
949
|
+
*
|
|
950
|
+
* Filter by unique combinations of ClientCallReplies.
|
|
951
|
+
*/
|
|
952
|
+
distinct?: Prisma.ClientCallReplyScalarFieldEnum | Prisma.ClientCallReplyScalarFieldEnum[];
|
|
953
|
+
};
|
|
954
|
+
/**
|
|
955
|
+
* ClientCallReply create
|
|
956
|
+
*/
|
|
957
|
+
export type ClientCallReplyCreateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
958
|
+
/**
|
|
959
|
+
* Select specific fields to fetch from the ClientCallReply
|
|
960
|
+
*/
|
|
961
|
+
select?: Prisma.ClientCallReplySelect<ExtArgs> | null;
|
|
962
|
+
/**
|
|
963
|
+
* Omit specific fields from the ClientCallReply
|
|
964
|
+
*/
|
|
965
|
+
omit?: Prisma.ClientCallReplyOmit<ExtArgs> | null;
|
|
966
|
+
/**
|
|
967
|
+
* The data needed to create a ClientCallReply.
|
|
968
|
+
*/
|
|
969
|
+
data: Prisma.XOR<Prisma.ClientCallReplyCreateInput, Prisma.ClientCallReplyUncheckedCreateInput>;
|
|
970
|
+
};
|
|
971
|
+
/**
|
|
972
|
+
* ClientCallReply createMany
|
|
973
|
+
*/
|
|
974
|
+
export type ClientCallReplyCreateManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
975
|
+
/**
|
|
976
|
+
* The data used to create many ClientCallReplies.
|
|
977
|
+
*/
|
|
978
|
+
data: Prisma.ClientCallReplyCreateManyInput | Prisma.ClientCallReplyCreateManyInput[];
|
|
979
|
+
skipDuplicates?: boolean;
|
|
980
|
+
};
|
|
981
|
+
/**
|
|
982
|
+
* ClientCallReply createManyAndReturn
|
|
983
|
+
*/
|
|
984
|
+
export type ClientCallReplyCreateManyAndReturnArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
985
|
+
/**
|
|
986
|
+
* Select specific fields to fetch from the ClientCallReply
|
|
987
|
+
*/
|
|
988
|
+
select?: Prisma.ClientCallReplySelectCreateManyAndReturn<ExtArgs> | null;
|
|
989
|
+
/**
|
|
990
|
+
* Omit specific fields from the ClientCallReply
|
|
991
|
+
*/
|
|
992
|
+
omit?: Prisma.ClientCallReplyOmit<ExtArgs> | null;
|
|
993
|
+
/**
|
|
994
|
+
* The data used to create many ClientCallReplies.
|
|
995
|
+
*/
|
|
996
|
+
data: Prisma.ClientCallReplyCreateManyInput | Prisma.ClientCallReplyCreateManyInput[];
|
|
997
|
+
skipDuplicates?: boolean;
|
|
998
|
+
};
|
|
999
|
+
/**
|
|
1000
|
+
* ClientCallReply update
|
|
1001
|
+
*/
|
|
1002
|
+
export type ClientCallReplyUpdateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1003
|
+
/**
|
|
1004
|
+
* Select specific fields to fetch from the ClientCallReply
|
|
1005
|
+
*/
|
|
1006
|
+
select?: Prisma.ClientCallReplySelect<ExtArgs> | null;
|
|
1007
|
+
/**
|
|
1008
|
+
* Omit specific fields from the ClientCallReply
|
|
1009
|
+
*/
|
|
1010
|
+
omit?: Prisma.ClientCallReplyOmit<ExtArgs> | null;
|
|
1011
|
+
/**
|
|
1012
|
+
* The data needed to update a ClientCallReply.
|
|
1013
|
+
*/
|
|
1014
|
+
data: Prisma.XOR<Prisma.ClientCallReplyUpdateInput, Prisma.ClientCallReplyUncheckedUpdateInput>;
|
|
1015
|
+
/**
|
|
1016
|
+
* Choose, which ClientCallReply to update.
|
|
1017
|
+
*/
|
|
1018
|
+
where: Prisma.ClientCallReplyWhereUniqueInput;
|
|
1019
|
+
};
|
|
1020
|
+
/**
|
|
1021
|
+
* ClientCallReply updateMany
|
|
1022
|
+
*/
|
|
1023
|
+
export type ClientCallReplyUpdateManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1024
|
+
/**
|
|
1025
|
+
* The data used to update ClientCallReplies.
|
|
1026
|
+
*/
|
|
1027
|
+
data: Prisma.XOR<Prisma.ClientCallReplyUpdateManyMutationInput, Prisma.ClientCallReplyUncheckedUpdateManyInput>;
|
|
1028
|
+
/**
|
|
1029
|
+
* Filter which ClientCallReplies to update
|
|
1030
|
+
*/
|
|
1031
|
+
where?: Prisma.ClientCallReplyWhereInput;
|
|
1032
|
+
/**
|
|
1033
|
+
* Limit how many ClientCallReplies to update.
|
|
1034
|
+
*/
|
|
1035
|
+
limit?: number;
|
|
1036
|
+
};
|
|
1037
|
+
/**
|
|
1038
|
+
* ClientCallReply updateManyAndReturn
|
|
1039
|
+
*/
|
|
1040
|
+
export type ClientCallReplyUpdateManyAndReturnArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1041
|
+
/**
|
|
1042
|
+
* Select specific fields to fetch from the ClientCallReply
|
|
1043
|
+
*/
|
|
1044
|
+
select?: Prisma.ClientCallReplySelectUpdateManyAndReturn<ExtArgs> | null;
|
|
1045
|
+
/**
|
|
1046
|
+
* Omit specific fields from the ClientCallReply
|
|
1047
|
+
*/
|
|
1048
|
+
omit?: Prisma.ClientCallReplyOmit<ExtArgs> | null;
|
|
1049
|
+
/**
|
|
1050
|
+
* The data used to update ClientCallReplies.
|
|
1051
|
+
*/
|
|
1052
|
+
data: Prisma.XOR<Prisma.ClientCallReplyUpdateManyMutationInput, Prisma.ClientCallReplyUncheckedUpdateManyInput>;
|
|
1053
|
+
/**
|
|
1054
|
+
* Filter which ClientCallReplies to update
|
|
1055
|
+
*/
|
|
1056
|
+
where?: Prisma.ClientCallReplyWhereInput;
|
|
1057
|
+
/**
|
|
1058
|
+
* Limit how many ClientCallReplies to update.
|
|
1059
|
+
*/
|
|
1060
|
+
limit?: number;
|
|
1061
|
+
};
|
|
1062
|
+
/**
|
|
1063
|
+
* ClientCallReply upsert
|
|
1064
|
+
*/
|
|
1065
|
+
export type ClientCallReplyUpsertArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1066
|
+
/**
|
|
1067
|
+
* Select specific fields to fetch from the ClientCallReply
|
|
1068
|
+
*/
|
|
1069
|
+
select?: Prisma.ClientCallReplySelect<ExtArgs> | null;
|
|
1070
|
+
/**
|
|
1071
|
+
* Omit specific fields from the ClientCallReply
|
|
1072
|
+
*/
|
|
1073
|
+
omit?: Prisma.ClientCallReplyOmit<ExtArgs> | null;
|
|
1074
|
+
/**
|
|
1075
|
+
* The filter to search for the ClientCallReply to update in case it exists.
|
|
1076
|
+
*/
|
|
1077
|
+
where: Prisma.ClientCallReplyWhereUniqueInput;
|
|
1078
|
+
/**
|
|
1079
|
+
* In case the ClientCallReply found by the `where` argument doesn't exist, create a new ClientCallReply with this data.
|
|
1080
|
+
*/
|
|
1081
|
+
create: Prisma.XOR<Prisma.ClientCallReplyCreateInput, Prisma.ClientCallReplyUncheckedCreateInput>;
|
|
1082
|
+
/**
|
|
1083
|
+
* In case the ClientCallReply was found with the provided `where` argument, update it with this data.
|
|
1084
|
+
*/
|
|
1085
|
+
update: Prisma.XOR<Prisma.ClientCallReplyUpdateInput, Prisma.ClientCallReplyUncheckedUpdateInput>;
|
|
1086
|
+
};
|
|
1087
|
+
/**
|
|
1088
|
+
* ClientCallReply delete
|
|
1089
|
+
*/
|
|
1090
|
+
export type ClientCallReplyDeleteArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1091
|
+
/**
|
|
1092
|
+
* Select specific fields to fetch from the ClientCallReply
|
|
1093
|
+
*/
|
|
1094
|
+
select?: Prisma.ClientCallReplySelect<ExtArgs> | null;
|
|
1095
|
+
/**
|
|
1096
|
+
* Omit specific fields from the ClientCallReply
|
|
1097
|
+
*/
|
|
1098
|
+
omit?: Prisma.ClientCallReplyOmit<ExtArgs> | null;
|
|
1099
|
+
/**
|
|
1100
|
+
* Filter which ClientCallReply to delete.
|
|
1101
|
+
*/
|
|
1102
|
+
where: Prisma.ClientCallReplyWhereUniqueInput;
|
|
1103
|
+
};
|
|
1104
|
+
/**
|
|
1105
|
+
* ClientCallReply deleteMany
|
|
1106
|
+
*/
|
|
1107
|
+
export type ClientCallReplyDeleteManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1108
|
+
/**
|
|
1109
|
+
* Filter which ClientCallReplies to delete
|
|
1110
|
+
*/
|
|
1111
|
+
where?: Prisma.ClientCallReplyWhereInput;
|
|
1112
|
+
/**
|
|
1113
|
+
* Limit how many ClientCallReplies to delete.
|
|
1114
|
+
*/
|
|
1115
|
+
limit?: number;
|
|
1116
|
+
};
|
|
1117
|
+
/**
|
|
1118
|
+
* ClientCallReply without action
|
|
1119
|
+
*/
|
|
1120
|
+
export type ClientCallReplyDefaultArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1121
|
+
/**
|
|
1122
|
+
* Select specific fields to fetch from the ClientCallReply
|
|
1123
|
+
*/
|
|
1124
|
+
select?: Prisma.ClientCallReplySelect<ExtArgs> | null;
|
|
1125
|
+
/**
|
|
1126
|
+
* Omit specific fields from the ClientCallReply
|
|
1127
|
+
*/
|
|
1128
|
+
omit?: Prisma.ClientCallReplyOmit<ExtArgs> | null;
|
|
1129
|
+
};
|