@app-vitals/agent-admin 0.0.1 → 0.1.1
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/Dockerfile +43 -0
- package/README.md +72 -2
- package/e2e/agents-page.e2e.ts +338 -0
- package/e2e/chat-degraded.e2e.ts +153 -0
- package/e2e/chat-page.e2e.ts +169 -0
- package/e2e/chat-progress.e2e.ts +206 -0
- package/e2e/chat-thread-page.e2e.ts +444 -0
- package/e2e/login-page.e2e.ts +148 -0
- package/e2e/test-server.ts +427 -0
- package/openapi.json +6098 -0
- package/openapi.platform.json +5553 -0
- package/package.json +62 -4
- package/playwright.config.ts +25 -0
- package/prisma/client/browser.ts +134 -0
- package/prisma/client/client.ts +158 -0
- package/prisma/client/commonInputTypes.ts +578 -0
- package/prisma/client/enums.ts +15 -0
- package/prisma/client/internal/class.ts +424 -0
- package/prisma/client/internal/prismaNamespace.ts +2898 -0
- package/prisma/client/internal/prismaNamespaceBrowser.ts +476 -0
- package/prisma/client/models/Account.ts +1774 -0
- package/prisma/client/models/AccountInvite.ts +1386 -0
- package/prisma/client/models/AccountMember.ts +1351 -0
- package/prisma/client/models/Agent.ts +4554 -0
- package/prisma/client/models/AgentAsk.ts +1373 -0
- package/prisma/client/models/AgentChatTokenUsageDailyByModel.ts +1638 -0
- package/prisma/client/models/AgentCronJob.ts +2416 -0
- package/prisma/client/models/AgentCronRun.ts +2858 -0
- package/prisma/client/models/AgentCronRunModelBreakdown.ts +1532 -0
- package/prisma/client/models/AgentCronRunSkillUsage.ts +1642 -0
- package/prisma/client/models/AgentEnv.ts +1421 -0
- package/prisma/client/models/AgentGitHubInstallationsSnapshot.ts +1289 -0
- package/prisma/client/models/AgentMember.ts +1316 -0
- package/prisma/client/models/AgentPhaseMethodology.ts +1355 -0
- package/prisma/client/models/AgentPlugin.ts +1421 -0
- package/prisma/client/models/AgentToken.ts +1380 -0
- package/prisma/client/models/AgentTool.ts +1351 -0
- package/prisma/client/models/AgentWorkQueueSnapshot.ts +1297 -0
- package/prisma/client/models/ChatThreadWatch.ts +1183 -0
- package/prisma/client/models/PushSubscription.ts +1233 -0
- package/prisma/client/models/SessionAlertState.ts +1187 -0
- package/prisma/client/models/SessionFollow.ts +1187 -0
- package/prisma/client/models/UserNotificationPrefs.ts +1221 -0
- package/prisma/client/models.ts +34 -0
- package/prisma/migrations/20260608000000_init/migration.sql +112 -0
- package/prisma/migrations/20260616000000_agent_members/migration.sql +18 -0
- package/prisma/migrations/20260624000000_add_agent_self_hosted/migration.sql +2 -0
- package/prisma/migrations/20260624120000_add_agent_repos/migration.sql +3 -0
- package/prisma/migrations/20260625000000_add_agent_cron_run/migration.sql +26 -0
- package/prisma/migrations/20260626000000_add_cron_run_token_fields/migration.sql +10 -0
- package/prisma/migrations/20260627000000_add_agent_chat_token_usage_daily/migration.sql +18 -0
- package/prisma/migrations/20260627010000_add_agent_chat_token_usage_fk/migration.sql +2 -0
- package/prisma/migrations/20260701000000_add_chat_threads_messages/migration.sql +37 -0
- package/prisma/migrations/20260701010000_drop_chat_threads_messages/migration.sql +17 -0
- package/prisma/migrations/20260701020000_add_cron_run_model_breakdown/migration.sql +23 -0
- package/prisma/migrations/20260701020000_chat_token_by_model/migration.sql +25 -0
- package/prisma/migrations/20260701030000_add_secret_flag_to_agent_env/migration.sql +2 -0
- package/prisma/migrations/20260701030000_drop_cron_run_legacy_columns/migration.sql +5 -0
- package/prisma/migrations/20260706000000_consolidate_cron_run_token_accounting/migration.sql +54 -0
- package/prisma/migrations/20260709000000_add_phase_to_agent_cron_run/migration.sql +8 -0
- package/prisma/migrations/20260717000000_add_item_tracking_to_agent_cron_run/migration.sql +10 -0
- package/prisma/migrations/20260717010000_add_agent_work_queue_snapshot/migration.sql +20 -0
- package/prisma/migrations/20260718000000_add_cron_phase_columns/migration.sql +25 -0
- package/prisma/migrations/20260718100000_drop_agent_cron_run_phase_column/migration.sql +8 -0
- package/prisma/migrations/20260724000000_add_agent_type_name/migration.sql +3 -0
- package/prisma/migrations/20260725232433_add_agent_author_allowlist/migration.sql +2 -0
- package/prisma/migrations/20260727120000_add_not_null_to_agent_author_allowlist/migration.sql +3 -0
- package/prisma/migrations/20260731000000_add_session_id_to_agent_cron_run/migration.sql +2 -0
- package/prisma/migrations/20260821000000_add_agent_restrict_slack_to_members/migration.sql +3 -0
- package/prisma/migrations/20260901000000_add_push_subscription_and_chat_thread_watch/migration.sql +40 -0
- package/prisma/migrations/20260903000000_add_agent_patch_author_allowlist/migration.sql +2 -0
- package/prisma/migrations/20260903120000_add_agent_review_author_allowlist/migration.sql +18 -0
- package/prisma/migrations/20260903150000_drop_agent_author_allowlist/migration.sql +14 -0
- package/prisma/migrations/20260905000000_add_started_at_index_to_agent_cron_run/migration.sql +11 -0
- package/prisma/migrations/20260906000000_add_session_follow_notification_prefs_alert_state/migration.sql +47 -0
- package/prisma/migrations/20260911000000_backfill_auto_follow_since/migration.sql +16 -0
- package/prisma/migrations/20260923115814_add_last_heartbeat_at_to_agent_cron_run/migration.sql +2 -0
- package/prisma/migrations/20260924120000_add_trial_expiry_fields_to_agent/migration.sql +6 -0
- package/prisma/migrations/20260929000000_add_agent_phase_methodology/migration.sql +21 -0
- package/prisma/migrations/20260929120000_add_agent_policy_fields/migration.sql +15 -0
- package/prisma/migrations/20261005000000_add_agent_github_installations_snapshot/migration.sql +21 -0
- package/prisma/migrations/20261008000000_add_cron_run_telemetry/migration.sql +50 -0
- package/prisma/migrations/20261008010000_add_account_models/migration.sql +48 -0
- package/prisma/migrations/20261008020000_add_cron_lockdown_disabled_at/migration.sql +3 -0
- package/prisma/migrations/20261009000000_chat_token_usage_bigint/migration.sql +7 -0
- package/prisma/migrations/20261010000000_add_cron_run_command_variant/migration.sql +2 -0
- package/prisma/migrations/20261019000000_add_agent_anthropic_identity/migration.sql +9 -0
- package/prisma/migrations/20261025000000_add_agent_ask/migration.sql +23 -0
- package/prisma/migrations/migration_lock.toml +3 -0
- package/prisma/schema/coding.prisma +85 -0
- package/prisma/schema/schema.prisma +506 -0
- package/prisma.config.ts +34 -0
- package/pwa-assets/icons/apple-touch-icon.png +0 -0
- package/pwa-assets/icons/favicon-32.png +0 -0
- package/pwa-assets/icons/icon-192.png +0 -0
- package/pwa-assets/icons/icon-512.png +0 -0
- package/pwa-assets/icons/icon-maskable-192.png +0 -0
- package/pwa-assets/icons/icon-maskable-512.png +0 -0
- package/src/account-agent-create.ts +42 -0
- package/src/account-agent-create.unit.test.ts +28 -0
- package/src/account-created-notifier.ts +71 -0
- package/src/account-created-notifier.unit.test.ts +70 -0
- package/src/account-email.ts +9 -0
- package/src/account-email.unit.test.ts +21 -0
- package/src/account-invites.ts +70 -0
- package/src/account-lifecycle.integration.test.ts +329 -0
- package/src/account-lifecycle.ts +206 -0
- package/src/account-lifecycle.unit.test.ts +108 -0
- package/src/account-members.ts +128 -0
- package/src/account-onboarding.integration.test.ts +101 -0
- package/src/account-onboarding.ts +95 -0
- package/src/account-trial-expiry-sweeper.ts +85 -0
- package/src/account-trial-warning-sweeper.integration.test.ts +228 -0
- package/src/account-trial-warning-sweeper.ts +216 -0
- package/src/accounts-api.integration.test.ts +196 -0
- package/src/accounts-api.smoke.test.ts +292 -0
- package/src/accounts-api.ts +289 -0
- package/src/accounts-api.unit.test.ts +93 -0
- package/src/accounts.integration.test.ts +178 -0
- package/src/accounts.ts +208 -0
- package/src/admin-boot-config.ts +574 -0
- package/src/admin-boot-config.unit.test.ts +28 -0
- package/src/admin-boot.boot-order.unit.test.ts +91 -0
- package/src/admin-boot.ts +690 -0
- package/src/admin-dev-login.smoke.test.ts +317 -0
- package/src/admin-extension.ts +432 -0
- package/src/admin-extension.unit.test.ts +532 -0
- package/src/admin-local-agent.smoke.test.ts +1643 -0
- package/src/admin-spec.smoke.test.ts +96 -0
- package/src/admin-spec.ts +186 -0
- package/src/admin-ui-account-nav.ts +20 -0
- package/src/admin-ui-account-pages.ts +131 -0
- package/src/admin-ui-account-pages.unit.test.ts +112 -0
- package/src/admin-ui-account.smoke.test.ts +286 -0
- package/src/admin-ui-account.ts +185 -0
- package/src/admin-ui-accounts-pages.ts +202 -0
- package/src/admin-ui-accounts-pages.unit.test.ts +138 -0
- package/src/admin-ui-accounts.smoke.test.ts +434 -0
- package/src/admin-ui-accounts.ts +266 -0
- package/src/admin-ui-layout.ts +60 -0
- package/src/admin-ui-layout.unit.test.ts +140 -0
- package/src/admin-ui-pages.ts +3489 -0
- package/src/admin-ui-pages.unit.test.ts +4355 -0
- package/src/admin-ui-push-test.smoke.test.ts +125 -0
- package/src/admin-ui-push-test.ts +102 -0
- package/src/admin-ui-styles.ts +656 -0
- package/src/admin-ui-styles.unit.test.ts +103 -0
- package/src/admin-ui.fixtures.ts +457 -0
- package/src/admin-ui.smoke.test.ts +7227 -0
- package/src/admin-ui.ts +3824 -0
- package/src/agent-account-assignment.ts +49 -0
- package/src/agent-account-assignment.unit.test.ts +99 -0
- package/src/agent-anthropic-identity.integration.test.ts +99 -0
- package/src/agent-anthropic-identity.ts +78 -0
- package/src/agent-anthropic-identity.unit.test.ts +77 -0
- package/src/agent-ask-config.ts +59 -0
- package/src/agent-ask-config.unit.test.ts +70 -0
- package/src/agent-ask.integration.test.ts +175 -0
- package/src/agent-ask.smoke.test.ts +457 -0
- package/src/agent-ask.ts +378 -0
- package/src/agent-chat-tokens.integration.test.ts +420 -0
- package/src/agent-chat-tokens.smoke.test.ts +551 -0
- package/src/agent-chat-tokens.ts +259 -0
- package/src/agent-cron-jobs.integration.test.ts +582 -0
- package/src/agent-cron-jobs.ts +615 -0
- package/src/agent-cron-jobs.unit.test.ts +420 -0
- package/src/agent-cron-run-stats.integration.test.ts +1551 -0
- package/src/agent-cron-run-stats.smoke.test.ts +953 -0
- package/src/agent-cron-run-stats.ts +752 -0
- package/src/agent-cron-runs.integration.test.ts +1491 -0
- package/src/agent-cron-runs.ts +489 -0
- package/src/agent-deletion-checklist.ts +128 -0
- package/src/agent-deletion-checklist.unit.test.ts +201 -0
- package/src/agent-deletion-per-agent.integration.test.ts +323 -0
- package/src/agent-deletion.integration.test.ts +323 -0
- package/src/agent-deletion.ts +329 -0
- package/src/agent-deletion.unit.test.ts +412 -0
- package/src/agent-envs.integration.test.ts +323 -0
- package/src/agent-envs.ts +244 -0
- package/src/agent-github-installations.integration.test.ts +115 -0
- package/src/agent-github-installations.ts +52 -0
- package/src/agent-manifest.ts +685 -0
- package/src/agent-manifest.unit.test.ts +870 -0
- package/src/agent-members.ts +69 -0
- package/src/agent-members.unit.test.ts +250 -0
- package/src/agent-patch-author-allowlist.integration.test.ts +218 -0
- package/src/agent-plugins.integration.test.ts +157 -0
- package/src/agent-plugins.ts +95 -0
- package/src/agent-plugins.unit.test.ts +43 -0
- package/src/agent-provisioner-per-agent.integration.test.ts +949 -0
- package/src/agent-provisioner.integration.test.ts +1245 -0
- package/src/agent-provisioner.ts +1650 -0
- package/src/agent-provisioner.unit.test.ts +1852 -0
- package/src/agent-tokens.integration.test.ts +150 -0
- package/src/agent-tokens.ts +112 -0
- package/src/agent-tools.integration.test.ts +129 -0
- package/src/agent-tools.ts +111 -0
- package/src/agents-api.integration.test.ts +705 -0
- package/src/agents-api.sentry.smoke.test.ts +478 -0
- package/src/agents-api.smoke.test.ts +5986 -0
- package/src/agents-api.ts +2826 -0
- package/src/agents.integration.test.ts +512 -0
- package/src/agents.ts +1097 -0
- package/src/agents.unit.test.ts +1736 -0
- package/src/anthropic-credential-guard.ts +44 -0
- package/src/anthropic-credential-guard.unit.test.ts +88 -0
- package/src/anthropic-federated-token-provider.integration.test.ts +248 -0
- package/src/anthropic-federated-token-provider.ts +249 -0
- package/src/anthropic-identity-client.fixtures.ts +237 -0
- package/src/anthropic-identity-client.integration.test.ts +342 -0
- package/src/anthropic-identity-client.ts +473 -0
- package/src/anthropic-identity-fixture-spec.integration.test.ts +169 -0
- package/src/anthropic-identity-name.integration.test.ts +83 -0
- package/src/anthropic-identity-name.ts +163 -0
- package/src/anthropic-identity-name.unit.test.ts +345 -0
- package/src/anthropic-openapi-contract.fixtures.ts +192 -0
- package/src/api-auth.ts +383 -0
- package/src/api-auth.unit.test.ts +837 -0
- package/src/api.smoke.test.ts +1225 -0
- package/src/api.ts +376 -0
- package/src/attachment-validation.ts +124 -0
- package/src/attachment-validation.unit.test.ts +218 -0
- package/src/caller-scope.ts +131 -0
- package/src/caller-scope.unit.test.ts +116 -0
- package/src/chat-credential-config.ts +22 -0
- package/src/chat-credentials-logging.unit.test.ts +92 -0
- package/src/chat-markers.ts +114 -0
- package/src/chat-markers.unit.test.ts +116 -0
- package/src/chat-service-provisioning-client.integration.test.ts +412 -0
- package/src/chat-service-provisioning-client.ts +221 -0
- package/src/chat.smoke.test.ts +1875 -0
- package/src/clock.ts +47 -0
- package/src/coding-task-store-provisioning-client.integration.test.ts +372 -0
- package/src/coding-task-store-provisioning-client.ts +156 -0
- package/src/crypto.ts +83 -0
- package/src/dev-auth-guard.ts +29 -0
- package/src/dev-auth-guard.unit.test.ts +51 -0
- package/src/errors.ts +77 -0
- package/src/errors.unit.test.ts +52 -0
- package/src/fixtures/anthropic-identity-recorded-fixtures.json +850 -0
- package/src/fixtures/anthropic-openapi/SDK_VERSION +1 -0
- package/src/fixtures/anthropic-openapi/mock-spec.json.gz +0 -0
- package/src/fixtures/chat-service-provisioning-cassette.json +156 -0
- package/src/fixtures/github-app-manifest-cassette.json +44 -0
- package/src/fixtures/google-auth-cassette.json +36 -0
- package/src/fixtures/http-chat-client-cassette.json +226 -0
- package/src/fixtures/k8s-cassette.json +470 -0
- package/src/fixtures/okta-auth-cassette.json +36 -0
- package/src/fixtures/slack-provision-cassette.json +12 -0
- package/src/fixtures/slack-provisioning-http-cassette.json +98 -0
- package/src/fixtures/task-store-provisioning-cassette.json +85 -0
- package/src/github-app-provisioning-client.integration.test.ts +149 -0
- package/src/github-app-provisioning-client.ts +161 -0
- package/src/github-app-provisioning-client.unit.test.ts +114 -0
- package/src/github-provisioning-service.ts +569 -0
- package/src/github-provisioning-service.unit.test.ts +123 -0
- package/src/google-auth-client.integration.test.ts +195 -0
- package/src/google-auth-client.ts +121 -0
- package/src/http-chat-client.integration.test.ts +554 -0
- package/src/http-chat-client.ts +533 -0
- package/src/http-chat-client.unit.test.ts +119 -0
- package/src/import-boundary.unit.test.ts +240 -0
- package/src/kubernetes-client.integration.test.ts +697 -0
- package/src/kubernetes-client.ts +1027 -0
- package/src/kubernetes-client.unit.test.ts +726 -0
- package/src/main.smoke.test.ts +91 -0
- package/src/main.ts +21 -0
- package/src/main.unit.test.ts +801 -0
- package/src/okta-auth-client.integration.test.ts +263 -0
- package/src/okta-auth-client.ts +152 -0
- package/src/openapi-schemas.ts +1310 -0
- package/src/openapi-schemas.unit.test.ts +348 -0
- package/src/per-agent-identity.fixtures.ts +305 -0
- package/src/platform-doc-route.ts +40 -0
- package/src/prisma-client.integration.test.ts +57 -0
- package/src/prisma-client.ts +187 -0
- package/src/prisma-client.unit.test.ts +178 -0
- package/src/prisma-tx.ts +23 -0
- package/src/push-content.ts +177 -0
- package/src/push-content.unit.test.ts +213 -0
- package/src/push-crypto.ts +135 -0
- package/src/push-crypto.unit.test.ts +66 -0
- package/src/push-sender.ts +169 -0
- package/src/push-sender.unit.test.ts +107 -0
- package/src/push-service.ts +332 -0
- package/src/push-service.unit.test.ts +679 -0
- package/src/push-toggle.ts +135 -0
- package/src/push-toggle.unit.test.ts +78 -0
- package/src/pwa-https-gating.smoke.test.ts +229 -0
- package/src/pwa-icons.unit.test.ts +41 -0
- package/src/pwa-routes.smoke.test.ts +276 -0
- package/src/pwa.ts +380 -0
- package/src/pwa.unit.test.ts +321 -0
- package/src/schema.unit.test.ts +122 -0
- package/src/self-serve-config.ts +52 -0
- package/src/self-serve-config.unit.test.ts +79 -0
- package/src/server.smoke.test.ts +273 -0
- package/src/server.ts +50 -0
- package/src/service-integration.ts +67 -0
- package/src/service-integration.unit.test.ts +129 -0
- package/src/slack-provisioning-client.integration.test.ts +308 -0
- package/src/slack-provisioning-client.ts +411 -0
- package/src/slack-provisioning-client.unit.test.ts +80 -0
- package/src/slack-provisioning-service.integration.test.ts +637 -0
- package/src/slack-provisioning-service.ts +451 -0
- package/src/slack-provisioning.integration.test.ts +395 -0
- package/src/specialty-manifest-loader.fixture.integration.test.ts +63 -0
- package/src/specialty-manifest-loader.ts +255 -0
- package/src/specialty-manifest-loader.unit.test.ts +301 -0
- package/src/specialty-registry.schema.unit.test.ts +35 -0
- package/src/specialty-registry.ts +236 -0
- package/src/specialty-registry.unit.test.ts +272 -0
- package/src/startup-policy-reconcile.ts +77 -0
- package/src/startup-policy-reconcile.unit.test.ts +251 -0
- package/src/theme-tokens.json +12 -0
- package/src/token-crypto.ts +60 -0
- package/src/token-crypto.unit.test.ts +182 -0
- package/src/trial-expiry-sweeper.integration.test.ts +318 -0
- package/src/trial-expiry-sweeper.ts +132 -0
- package/src/trial-expiry-sweeper.unit.test.ts +391 -0
- package/src/trial-expiry-warning-sweeper.integration.test.ts +468 -0
- package/src/trial-expiry-warning-sweeper.ts +447 -0
- package/src/trial-expiry-warning-sweeper.unit.test.ts +148 -0
- package/src/voice-contract.unit.test.ts +102 -0
- package/tsconfig.json +9 -0
|
@@ -0,0 +1,1351 @@
|
|
|
1
|
+
|
|
2
|
+
/* !!! This is code generated by Prisma. Do not edit directly. !!! */
|
|
3
|
+
/* eslint-disable */
|
|
4
|
+
// biome-ignore-all lint: generated file
|
|
5
|
+
// @ts-nocheck
|
|
6
|
+
/*
|
|
7
|
+
* This file exports the `AccountMember` model and its related types.
|
|
8
|
+
*
|
|
9
|
+
* 🟢 You can import this file directly.
|
|
10
|
+
*/
|
|
11
|
+
import type * as runtime from "@prisma/client/runtime/client"
|
|
12
|
+
import type * as $Enums from "../enums.ts"
|
|
13
|
+
import type * as Prisma from "../internal/prismaNamespace.ts"
|
|
14
|
+
|
|
15
|
+
/**
|
|
16
|
+
* Model AccountMember
|
|
17
|
+
*
|
|
18
|
+
*/
|
|
19
|
+
export type AccountMemberModel = runtime.Types.Result.DefaultSelection<Prisma.$AccountMemberPayload>
|
|
20
|
+
|
|
21
|
+
export type AggregateAccountMember = {
|
|
22
|
+
_count: AccountMemberCountAggregateOutputType | null
|
|
23
|
+
_min: AccountMemberMinAggregateOutputType | null
|
|
24
|
+
_max: AccountMemberMaxAggregateOutputType | null
|
|
25
|
+
}
|
|
26
|
+
|
|
27
|
+
export type AccountMemberMinAggregateOutputType = {
|
|
28
|
+
id: string | null
|
|
29
|
+
accountId: string | null
|
|
30
|
+
email: string | null
|
|
31
|
+
role: string | null
|
|
32
|
+
createdAt: Date | null
|
|
33
|
+
}
|
|
34
|
+
|
|
35
|
+
export type AccountMemberMaxAggregateOutputType = {
|
|
36
|
+
id: string | null
|
|
37
|
+
accountId: string | null
|
|
38
|
+
email: string | null
|
|
39
|
+
role: string | null
|
|
40
|
+
createdAt: Date | null
|
|
41
|
+
}
|
|
42
|
+
|
|
43
|
+
export type AccountMemberCountAggregateOutputType = {
|
|
44
|
+
id: number
|
|
45
|
+
accountId: number
|
|
46
|
+
email: number
|
|
47
|
+
role: number
|
|
48
|
+
createdAt: number
|
|
49
|
+
_all: number
|
|
50
|
+
}
|
|
51
|
+
|
|
52
|
+
|
|
53
|
+
export type AccountMemberMinAggregateInputType = {
|
|
54
|
+
id?: true
|
|
55
|
+
accountId?: true
|
|
56
|
+
email?: true
|
|
57
|
+
role?: true
|
|
58
|
+
createdAt?: true
|
|
59
|
+
}
|
|
60
|
+
|
|
61
|
+
export type AccountMemberMaxAggregateInputType = {
|
|
62
|
+
id?: true
|
|
63
|
+
accountId?: true
|
|
64
|
+
email?: true
|
|
65
|
+
role?: true
|
|
66
|
+
createdAt?: true
|
|
67
|
+
}
|
|
68
|
+
|
|
69
|
+
export type AccountMemberCountAggregateInputType = {
|
|
70
|
+
id?: true
|
|
71
|
+
accountId?: true
|
|
72
|
+
email?: true
|
|
73
|
+
role?: true
|
|
74
|
+
createdAt?: true
|
|
75
|
+
_all?: true
|
|
76
|
+
}
|
|
77
|
+
|
|
78
|
+
export type AccountMemberAggregateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
79
|
+
/**
|
|
80
|
+
* Filter which AccountMember to aggregate.
|
|
81
|
+
*/
|
|
82
|
+
where?: Prisma.AccountMemberWhereInput
|
|
83
|
+
/**
|
|
84
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
|
|
85
|
+
*
|
|
86
|
+
* Determine the order of AccountMembers to fetch.
|
|
87
|
+
*/
|
|
88
|
+
orderBy?: Prisma.AccountMemberOrderByWithRelationInput | Prisma.AccountMemberOrderByWithRelationInput[]
|
|
89
|
+
/**
|
|
90
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
|
|
91
|
+
*
|
|
92
|
+
* Sets the start position
|
|
93
|
+
*/
|
|
94
|
+
cursor?: Prisma.AccountMemberWhereUniqueInput
|
|
95
|
+
/**
|
|
96
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
97
|
+
*
|
|
98
|
+
* Take `±n` AccountMembers from the position of the cursor.
|
|
99
|
+
*/
|
|
100
|
+
take?: number
|
|
101
|
+
/**
|
|
102
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
103
|
+
*
|
|
104
|
+
* Skip the first `n` AccountMembers.
|
|
105
|
+
*/
|
|
106
|
+
skip?: number
|
|
107
|
+
/**
|
|
108
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
|
|
109
|
+
*
|
|
110
|
+
* Count returned AccountMembers
|
|
111
|
+
**/
|
|
112
|
+
_count?: true | AccountMemberCountAggregateInputType
|
|
113
|
+
/**
|
|
114
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
|
|
115
|
+
*
|
|
116
|
+
* Select which fields to find the minimum value
|
|
117
|
+
**/
|
|
118
|
+
_min?: AccountMemberMinAggregateInputType
|
|
119
|
+
/**
|
|
120
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
|
|
121
|
+
*
|
|
122
|
+
* Select which fields to find the maximum value
|
|
123
|
+
**/
|
|
124
|
+
_max?: AccountMemberMaxAggregateInputType
|
|
125
|
+
}
|
|
126
|
+
|
|
127
|
+
export type GetAccountMemberAggregateType<T extends AccountMemberAggregateArgs> = {
|
|
128
|
+
[P in keyof T & keyof AggregateAccountMember]: P extends '_count' | 'count'
|
|
129
|
+
? T[P] extends true
|
|
130
|
+
? number
|
|
131
|
+
: Prisma.GetScalarType<T[P], AggregateAccountMember[P]>
|
|
132
|
+
: Prisma.GetScalarType<T[P], AggregateAccountMember[P]>
|
|
133
|
+
}
|
|
134
|
+
|
|
135
|
+
|
|
136
|
+
|
|
137
|
+
|
|
138
|
+
export type AccountMemberGroupByArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
139
|
+
where?: Prisma.AccountMemberWhereInput
|
|
140
|
+
orderBy?: Prisma.AccountMemberOrderByWithAggregationInput | Prisma.AccountMemberOrderByWithAggregationInput[]
|
|
141
|
+
by: Prisma.AccountMemberScalarFieldEnum[] | Prisma.AccountMemberScalarFieldEnum
|
|
142
|
+
having?: Prisma.AccountMemberScalarWhereWithAggregatesInput
|
|
143
|
+
take?: number
|
|
144
|
+
skip?: number
|
|
145
|
+
_count?: AccountMemberCountAggregateInputType | true
|
|
146
|
+
_min?: AccountMemberMinAggregateInputType
|
|
147
|
+
_max?: AccountMemberMaxAggregateInputType
|
|
148
|
+
}
|
|
149
|
+
|
|
150
|
+
export type AccountMemberGroupByOutputType = {
|
|
151
|
+
id: string
|
|
152
|
+
accountId: string
|
|
153
|
+
email: string
|
|
154
|
+
role: string
|
|
155
|
+
createdAt: Date
|
|
156
|
+
_count: AccountMemberCountAggregateOutputType | null
|
|
157
|
+
_min: AccountMemberMinAggregateOutputType | null
|
|
158
|
+
_max: AccountMemberMaxAggregateOutputType | null
|
|
159
|
+
}
|
|
160
|
+
|
|
161
|
+
export type GetAccountMemberGroupByPayload<T extends AccountMemberGroupByArgs> = Prisma.PrismaPromise<
|
|
162
|
+
Array<
|
|
163
|
+
Prisma.PickEnumerable<AccountMemberGroupByOutputType, T['by']> &
|
|
164
|
+
{
|
|
165
|
+
[P in ((keyof T) & (keyof AccountMemberGroupByOutputType))]: P extends '_count'
|
|
166
|
+
? T[P] extends boolean
|
|
167
|
+
? number
|
|
168
|
+
: Prisma.GetScalarType<T[P], AccountMemberGroupByOutputType[P]>
|
|
169
|
+
: Prisma.GetScalarType<T[P], AccountMemberGroupByOutputType[P]>
|
|
170
|
+
}
|
|
171
|
+
>
|
|
172
|
+
>
|
|
173
|
+
|
|
174
|
+
|
|
175
|
+
|
|
176
|
+
export type AccountMemberWhereInput = {
|
|
177
|
+
AND?: Prisma.AccountMemberWhereInput | Prisma.AccountMemberWhereInput[]
|
|
178
|
+
OR?: Prisma.AccountMemberWhereInput[]
|
|
179
|
+
NOT?: Prisma.AccountMemberWhereInput | Prisma.AccountMemberWhereInput[]
|
|
180
|
+
id?: Prisma.StringFilter<"AccountMember"> | string
|
|
181
|
+
accountId?: Prisma.StringFilter<"AccountMember"> | string
|
|
182
|
+
email?: Prisma.StringFilter<"AccountMember"> | string
|
|
183
|
+
role?: Prisma.StringFilter<"AccountMember"> | string
|
|
184
|
+
createdAt?: Prisma.DateTimeFilter<"AccountMember"> | Date | string
|
|
185
|
+
account?: Prisma.XOR<Prisma.AccountScalarRelationFilter, Prisma.AccountWhereInput>
|
|
186
|
+
}
|
|
187
|
+
|
|
188
|
+
export type AccountMemberOrderByWithRelationInput = {
|
|
189
|
+
id?: Prisma.SortOrder
|
|
190
|
+
accountId?: Prisma.SortOrder
|
|
191
|
+
email?: Prisma.SortOrder
|
|
192
|
+
role?: Prisma.SortOrder
|
|
193
|
+
createdAt?: Prisma.SortOrder
|
|
194
|
+
account?: Prisma.AccountOrderByWithRelationInput
|
|
195
|
+
}
|
|
196
|
+
|
|
197
|
+
export type AccountMemberWhereUniqueInput = Prisma.AtLeast<{
|
|
198
|
+
id?: string
|
|
199
|
+
email?: string
|
|
200
|
+
accountId_email?: Prisma.AccountMemberAccountIdEmailCompoundUniqueInput
|
|
201
|
+
AND?: Prisma.AccountMemberWhereInput | Prisma.AccountMemberWhereInput[]
|
|
202
|
+
OR?: Prisma.AccountMemberWhereInput[]
|
|
203
|
+
NOT?: Prisma.AccountMemberWhereInput | Prisma.AccountMemberWhereInput[]
|
|
204
|
+
accountId?: Prisma.StringFilter<"AccountMember"> | string
|
|
205
|
+
role?: Prisma.StringFilter<"AccountMember"> | string
|
|
206
|
+
createdAt?: Prisma.DateTimeFilter<"AccountMember"> | Date | string
|
|
207
|
+
account?: Prisma.XOR<Prisma.AccountScalarRelationFilter, Prisma.AccountWhereInput>
|
|
208
|
+
}, "id" | "email" | "accountId_email">
|
|
209
|
+
|
|
210
|
+
export type AccountMemberOrderByWithAggregationInput = {
|
|
211
|
+
id?: Prisma.SortOrder
|
|
212
|
+
accountId?: Prisma.SortOrder
|
|
213
|
+
email?: Prisma.SortOrder
|
|
214
|
+
role?: Prisma.SortOrder
|
|
215
|
+
createdAt?: Prisma.SortOrder
|
|
216
|
+
_count?: Prisma.AccountMemberCountOrderByAggregateInput
|
|
217
|
+
_max?: Prisma.AccountMemberMaxOrderByAggregateInput
|
|
218
|
+
_min?: Prisma.AccountMemberMinOrderByAggregateInput
|
|
219
|
+
}
|
|
220
|
+
|
|
221
|
+
export type AccountMemberScalarWhereWithAggregatesInput = {
|
|
222
|
+
AND?: Prisma.AccountMemberScalarWhereWithAggregatesInput | Prisma.AccountMemberScalarWhereWithAggregatesInput[]
|
|
223
|
+
OR?: Prisma.AccountMemberScalarWhereWithAggregatesInput[]
|
|
224
|
+
NOT?: Prisma.AccountMemberScalarWhereWithAggregatesInput | Prisma.AccountMemberScalarWhereWithAggregatesInput[]
|
|
225
|
+
id?: Prisma.StringWithAggregatesFilter<"AccountMember"> | string
|
|
226
|
+
accountId?: Prisma.StringWithAggregatesFilter<"AccountMember"> | string
|
|
227
|
+
email?: Prisma.StringWithAggregatesFilter<"AccountMember"> | string
|
|
228
|
+
role?: Prisma.StringWithAggregatesFilter<"AccountMember"> | string
|
|
229
|
+
createdAt?: Prisma.DateTimeWithAggregatesFilter<"AccountMember"> | Date | string
|
|
230
|
+
}
|
|
231
|
+
|
|
232
|
+
export type AccountMemberCreateInput = {
|
|
233
|
+
id?: string
|
|
234
|
+
email: string
|
|
235
|
+
role: string
|
|
236
|
+
createdAt?: Date | string
|
|
237
|
+
account: Prisma.AccountCreateNestedOneWithoutMembersInput
|
|
238
|
+
}
|
|
239
|
+
|
|
240
|
+
export type AccountMemberUncheckedCreateInput = {
|
|
241
|
+
id?: string
|
|
242
|
+
accountId: string
|
|
243
|
+
email: string
|
|
244
|
+
role: string
|
|
245
|
+
createdAt?: Date | string
|
|
246
|
+
}
|
|
247
|
+
|
|
248
|
+
export type AccountMemberUpdateInput = {
|
|
249
|
+
id?: Prisma.StringFieldUpdateOperationsInput | string
|
|
250
|
+
email?: Prisma.StringFieldUpdateOperationsInput | string
|
|
251
|
+
role?: Prisma.StringFieldUpdateOperationsInput | string
|
|
252
|
+
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
253
|
+
account?: Prisma.AccountUpdateOneRequiredWithoutMembersNestedInput
|
|
254
|
+
}
|
|
255
|
+
|
|
256
|
+
export type AccountMemberUncheckedUpdateInput = {
|
|
257
|
+
id?: Prisma.StringFieldUpdateOperationsInput | string
|
|
258
|
+
accountId?: Prisma.StringFieldUpdateOperationsInput | string
|
|
259
|
+
email?: Prisma.StringFieldUpdateOperationsInput | string
|
|
260
|
+
role?: Prisma.StringFieldUpdateOperationsInput | string
|
|
261
|
+
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
262
|
+
}
|
|
263
|
+
|
|
264
|
+
export type AccountMemberCreateManyInput = {
|
|
265
|
+
id?: string
|
|
266
|
+
accountId: string
|
|
267
|
+
email: string
|
|
268
|
+
role: string
|
|
269
|
+
createdAt?: Date | string
|
|
270
|
+
}
|
|
271
|
+
|
|
272
|
+
export type AccountMemberUpdateManyMutationInput = {
|
|
273
|
+
id?: Prisma.StringFieldUpdateOperationsInput | string
|
|
274
|
+
email?: Prisma.StringFieldUpdateOperationsInput | string
|
|
275
|
+
role?: Prisma.StringFieldUpdateOperationsInput | string
|
|
276
|
+
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
277
|
+
}
|
|
278
|
+
|
|
279
|
+
export type AccountMemberUncheckedUpdateManyInput = {
|
|
280
|
+
id?: Prisma.StringFieldUpdateOperationsInput | string
|
|
281
|
+
accountId?: Prisma.StringFieldUpdateOperationsInput | string
|
|
282
|
+
email?: Prisma.StringFieldUpdateOperationsInput | string
|
|
283
|
+
role?: Prisma.StringFieldUpdateOperationsInput | string
|
|
284
|
+
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
285
|
+
}
|
|
286
|
+
|
|
287
|
+
export type AccountMemberListRelationFilter = {
|
|
288
|
+
every?: Prisma.AccountMemberWhereInput
|
|
289
|
+
some?: Prisma.AccountMemberWhereInput
|
|
290
|
+
none?: Prisma.AccountMemberWhereInput
|
|
291
|
+
}
|
|
292
|
+
|
|
293
|
+
export type AccountMemberOrderByRelationAggregateInput = {
|
|
294
|
+
_count?: Prisma.SortOrder
|
|
295
|
+
}
|
|
296
|
+
|
|
297
|
+
export type AccountMemberAccountIdEmailCompoundUniqueInput = {
|
|
298
|
+
accountId: string
|
|
299
|
+
email: string
|
|
300
|
+
}
|
|
301
|
+
|
|
302
|
+
export type AccountMemberCountOrderByAggregateInput = {
|
|
303
|
+
id?: Prisma.SortOrder
|
|
304
|
+
accountId?: Prisma.SortOrder
|
|
305
|
+
email?: Prisma.SortOrder
|
|
306
|
+
role?: Prisma.SortOrder
|
|
307
|
+
createdAt?: Prisma.SortOrder
|
|
308
|
+
}
|
|
309
|
+
|
|
310
|
+
export type AccountMemberMaxOrderByAggregateInput = {
|
|
311
|
+
id?: Prisma.SortOrder
|
|
312
|
+
accountId?: Prisma.SortOrder
|
|
313
|
+
email?: Prisma.SortOrder
|
|
314
|
+
role?: Prisma.SortOrder
|
|
315
|
+
createdAt?: Prisma.SortOrder
|
|
316
|
+
}
|
|
317
|
+
|
|
318
|
+
export type AccountMemberMinOrderByAggregateInput = {
|
|
319
|
+
id?: Prisma.SortOrder
|
|
320
|
+
accountId?: Prisma.SortOrder
|
|
321
|
+
email?: Prisma.SortOrder
|
|
322
|
+
role?: Prisma.SortOrder
|
|
323
|
+
createdAt?: Prisma.SortOrder
|
|
324
|
+
}
|
|
325
|
+
|
|
326
|
+
export type AccountMemberCreateNestedManyWithoutAccountInput = {
|
|
327
|
+
create?: Prisma.XOR<Prisma.AccountMemberCreateWithoutAccountInput, Prisma.AccountMemberUncheckedCreateWithoutAccountInput> | Prisma.AccountMemberCreateWithoutAccountInput[] | Prisma.AccountMemberUncheckedCreateWithoutAccountInput[]
|
|
328
|
+
connectOrCreate?: Prisma.AccountMemberCreateOrConnectWithoutAccountInput | Prisma.AccountMemberCreateOrConnectWithoutAccountInput[]
|
|
329
|
+
createMany?: Prisma.AccountMemberCreateManyAccountInputEnvelope
|
|
330
|
+
connect?: Prisma.AccountMemberWhereUniqueInput | Prisma.AccountMemberWhereUniqueInput[]
|
|
331
|
+
}
|
|
332
|
+
|
|
333
|
+
export type AccountMemberUncheckedCreateNestedManyWithoutAccountInput = {
|
|
334
|
+
create?: Prisma.XOR<Prisma.AccountMemberCreateWithoutAccountInput, Prisma.AccountMemberUncheckedCreateWithoutAccountInput> | Prisma.AccountMemberCreateWithoutAccountInput[] | Prisma.AccountMemberUncheckedCreateWithoutAccountInput[]
|
|
335
|
+
connectOrCreate?: Prisma.AccountMemberCreateOrConnectWithoutAccountInput | Prisma.AccountMemberCreateOrConnectWithoutAccountInput[]
|
|
336
|
+
createMany?: Prisma.AccountMemberCreateManyAccountInputEnvelope
|
|
337
|
+
connect?: Prisma.AccountMemberWhereUniqueInput | Prisma.AccountMemberWhereUniqueInput[]
|
|
338
|
+
}
|
|
339
|
+
|
|
340
|
+
export type AccountMemberUpdateManyWithoutAccountNestedInput = {
|
|
341
|
+
create?: Prisma.XOR<Prisma.AccountMemberCreateWithoutAccountInput, Prisma.AccountMemberUncheckedCreateWithoutAccountInput> | Prisma.AccountMemberCreateWithoutAccountInput[] | Prisma.AccountMemberUncheckedCreateWithoutAccountInput[]
|
|
342
|
+
connectOrCreate?: Prisma.AccountMemberCreateOrConnectWithoutAccountInput | Prisma.AccountMemberCreateOrConnectWithoutAccountInput[]
|
|
343
|
+
upsert?: Prisma.AccountMemberUpsertWithWhereUniqueWithoutAccountInput | Prisma.AccountMemberUpsertWithWhereUniqueWithoutAccountInput[]
|
|
344
|
+
createMany?: Prisma.AccountMemberCreateManyAccountInputEnvelope
|
|
345
|
+
set?: Prisma.AccountMemberWhereUniqueInput | Prisma.AccountMemberWhereUniqueInput[]
|
|
346
|
+
disconnect?: Prisma.AccountMemberWhereUniqueInput | Prisma.AccountMemberWhereUniqueInput[]
|
|
347
|
+
delete?: Prisma.AccountMemberWhereUniqueInput | Prisma.AccountMemberWhereUniqueInput[]
|
|
348
|
+
connect?: Prisma.AccountMemberWhereUniqueInput | Prisma.AccountMemberWhereUniqueInput[]
|
|
349
|
+
update?: Prisma.AccountMemberUpdateWithWhereUniqueWithoutAccountInput | Prisma.AccountMemberUpdateWithWhereUniqueWithoutAccountInput[]
|
|
350
|
+
updateMany?: Prisma.AccountMemberUpdateManyWithWhereWithoutAccountInput | Prisma.AccountMemberUpdateManyWithWhereWithoutAccountInput[]
|
|
351
|
+
deleteMany?: Prisma.AccountMemberScalarWhereInput | Prisma.AccountMemberScalarWhereInput[]
|
|
352
|
+
}
|
|
353
|
+
|
|
354
|
+
export type AccountMemberUncheckedUpdateManyWithoutAccountNestedInput = {
|
|
355
|
+
create?: Prisma.XOR<Prisma.AccountMemberCreateWithoutAccountInput, Prisma.AccountMemberUncheckedCreateWithoutAccountInput> | Prisma.AccountMemberCreateWithoutAccountInput[] | Prisma.AccountMemberUncheckedCreateWithoutAccountInput[]
|
|
356
|
+
connectOrCreate?: Prisma.AccountMemberCreateOrConnectWithoutAccountInput | Prisma.AccountMemberCreateOrConnectWithoutAccountInput[]
|
|
357
|
+
upsert?: Prisma.AccountMemberUpsertWithWhereUniqueWithoutAccountInput | Prisma.AccountMemberUpsertWithWhereUniqueWithoutAccountInput[]
|
|
358
|
+
createMany?: Prisma.AccountMemberCreateManyAccountInputEnvelope
|
|
359
|
+
set?: Prisma.AccountMemberWhereUniqueInput | Prisma.AccountMemberWhereUniqueInput[]
|
|
360
|
+
disconnect?: Prisma.AccountMemberWhereUniqueInput | Prisma.AccountMemberWhereUniqueInput[]
|
|
361
|
+
delete?: Prisma.AccountMemberWhereUniqueInput | Prisma.AccountMemberWhereUniqueInput[]
|
|
362
|
+
connect?: Prisma.AccountMemberWhereUniqueInput | Prisma.AccountMemberWhereUniqueInput[]
|
|
363
|
+
update?: Prisma.AccountMemberUpdateWithWhereUniqueWithoutAccountInput | Prisma.AccountMemberUpdateWithWhereUniqueWithoutAccountInput[]
|
|
364
|
+
updateMany?: Prisma.AccountMemberUpdateManyWithWhereWithoutAccountInput | Prisma.AccountMemberUpdateManyWithWhereWithoutAccountInput[]
|
|
365
|
+
deleteMany?: Prisma.AccountMemberScalarWhereInput | Prisma.AccountMemberScalarWhereInput[]
|
|
366
|
+
}
|
|
367
|
+
|
|
368
|
+
export type AccountMemberCreateWithoutAccountInput = {
|
|
369
|
+
id?: string
|
|
370
|
+
email: string
|
|
371
|
+
role: string
|
|
372
|
+
createdAt?: Date | string
|
|
373
|
+
}
|
|
374
|
+
|
|
375
|
+
export type AccountMemberUncheckedCreateWithoutAccountInput = {
|
|
376
|
+
id?: string
|
|
377
|
+
email: string
|
|
378
|
+
role: string
|
|
379
|
+
createdAt?: Date | string
|
|
380
|
+
}
|
|
381
|
+
|
|
382
|
+
export type AccountMemberCreateOrConnectWithoutAccountInput = {
|
|
383
|
+
where: Prisma.AccountMemberWhereUniqueInput
|
|
384
|
+
create: Prisma.XOR<Prisma.AccountMemberCreateWithoutAccountInput, Prisma.AccountMemberUncheckedCreateWithoutAccountInput>
|
|
385
|
+
}
|
|
386
|
+
|
|
387
|
+
export type AccountMemberCreateManyAccountInputEnvelope = {
|
|
388
|
+
data: Prisma.AccountMemberCreateManyAccountInput | Prisma.AccountMemberCreateManyAccountInput[]
|
|
389
|
+
skipDuplicates?: boolean
|
|
390
|
+
}
|
|
391
|
+
|
|
392
|
+
export type AccountMemberUpsertWithWhereUniqueWithoutAccountInput = {
|
|
393
|
+
where: Prisma.AccountMemberWhereUniqueInput
|
|
394
|
+
update: Prisma.XOR<Prisma.AccountMemberUpdateWithoutAccountInput, Prisma.AccountMemberUncheckedUpdateWithoutAccountInput>
|
|
395
|
+
create: Prisma.XOR<Prisma.AccountMemberCreateWithoutAccountInput, Prisma.AccountMemberUncheckedCreateWithoutAccountInput>
|
|
396
|
+
}
|
|
397
|
+
|
|
398
|
+
export type AccountMemberUpdateWithWhereUniqueWithoutAccountInput = {
|
|
399
|
+
where: Prisma.AccountMemberWhereUniqueInput
|
|
400
|
+
data: Prisma.XOR<Prisma.AccountMemberUpdateWithoutAccountInput, Prisma.AccountMemberUncheckedUpdateWithoutAccountInput>
|
|
401
|
+
}
|
|
402
|
+
|
|
403
|
+
export type AccountMemberUpdateManyWithWhereWithoutAccountInput = {
|
|
404
|
+
where: Prisma.AccountMemberScalarWhereInput
|
|
405
|
+
data: Prisma.XOR<Prisma.AccountMemberUpdateManyMutationInput, Prisma.AccountMemberUncheckedUpdateManyWithoutAccountInput>
|
|
406
|
+
}
|
|
407
|
+
|
|
408
|
+
export type AccountMemberScalarWhereInput = {
|
|
409
|
+
AND?: Prisma.AccountMemberScalarWhereInput | Prisma.AccountMemberScalarWhereInput[]
|
|
410
|
+
OR?: Prisma.AccountMemberScalarWhereInput[]
|
|
411
|
+
NOT?: Prisma.AccountMemberScalarWhereInput | Prisma.AccountMemberScalarWhereInput[]
|
|
412
|
+
id?: Prisma.StringFilter<"AccountMember"> | string
|
|
413
|
+
accountId?: Prisma.StringFilter<"AccountMember"> | string
|
|
414
|
+
email?: Prisma.StringFilter<"AccountMember"> | string
|
|
415
|
+
role?: Prisma.StringFilter<"AccountMember"> | string
|
|
416
|
+
createdAt?: Prisma.DateTimeFilter<"AccountMember"> | Date | string
|
|
417
|
+
}
|
|
418
|
+
|
|
419
|
+
export type AccountMemberCreateManyAccountInput = {
|
|
420
|
+
id?: string
|
|
421
|
+
email: string
|
|
422
|
+
role: string
|
|
423
|
+
createdAt?: Date | string
|
|
424
|
+
}
|
|
425
|
+
|
|
426
|
+
export type AccountMemberUpdateWithoutAccountInput = {
|
|
427
|
+
id?: Prisma.StringFieldUpdateOperationsInput | string
|
|
428
|
+
email?: Prisma.StringFieldUpdateOperationsInput | string
|
|
429
|
+
role?: Prisma.StringFieldUpdateOperationsInput | string
|
|
430
|
+
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
431
|
+
}
|
|
432
|
+
|
|
433
|
+
export type AccountMemberUncheckedUpdateWithoutAccountInput = {
|
|
434
|
+
id?: Prisma.StringFieldUpdateOperationsInput | string
|
|
435
|
+
email?: Prisma.StringFieldUpdateOperationsInput | string
|
|
436
|
+
role?: Prisma.StringFieldUpdateOperationsInput | string
|
|
437
|
+
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
438
|
+
}
|
|
439
|
+
|
|
440
|
+
export type AccountMemberUncheckedUpdateManyWithoutAccountInput = {
|
|
441
|
+
id?: Prisma.StringFieldUpdateOperationsInput | string
|
|
442
|
+
email?: Prisma.StringFieldUpdateOperationsInput | string
|
|
443
|
+
role?: Prisma.StringFieldUpdateOperationsInput | string
|
|
444
|
+
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
445
|
+
}
|
|
446
|
+
|
|
447
|
+
|
|
448
|
+
|
|
449
|
+
export type AccountMemberSelect<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetSelect<{
|
|
450
|
+
id?: boolean
|
|
451
|
+
accountId?: boolean
|
|
452
|
+
email?: boolean
|
|
453
|
+
role?: boolean
|
|
454
|
+
createdAt?: boolean
|
|
455
|
+
account?: boolean | Prisma.AccountDefaultArgs<ExtArgs>
|
|
456
|
+
}, ExtArgs["result"]["accountMember"]>
|
|
457
|
+
|
|
458
|
+
export type AccountMemberSelectCreateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetSelect<{
|
|
459
|
+
id?: boolean
|
|
460
|
+
accountId?: boolean
|
|
461
|
+
email?: boolean
|
|
462
|
+
role?: boolean
|
|
463
|
+
createdAt?: boolean
|
|
464
|
+
account?: boolean | Prisma.AccountDefaultArgs<ExtArgs>
|
|
465
|
+
}, ExtArgs["result"]["accountMember"]>
|
|
466
|
+
|
|
467
|
+
export type AccountMemberSelectUpdateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetSelect<{
|
|
468
|
+
id?: boolean
|
|
469
|
+
accountId?: boolean
|
|
470
|
+
email?: boolean
|
|
471
|
+
role?: boolean
|
|
472
|
+
createdAt?: boolean
|
|
473
|
+
account?: boolean | Prisma.AccountDefaultArgs<ExtArgs>
|
|
474
|
+
}, ExtArgs["result"]["accountMember"]>
|
|
475
|
+
|
|
476
|
+
export type AccountMemberSelectScalar = {
|
|
477
|
+
id?: boolean
|
|
478
|
+
accountId?: boolean
|
|
479
|
+
email?: boolean
|
|
480
|
+
role?: boolean
|
|
481
|
+
createdAt?: boolean
|
|
482
|
+
}
|
|
483
|
+
|
|
484
|
+
export type AccountMemberOmit<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetOmit<"id" | "accountId" | "email" | "role" | "createdAt", ExtArgs["result"]["accountMember"]>
|
|
485
|
+
export type AccountMemberInclude<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
486
|
+
account?: boolean | Prisma.AccountDefaultArgs<ExtArgs>
|
|
487
|
+
}
|
|
488
|
+
export type AccountMemberIncludeCreateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
489
|
+
account?: boolean | Prisma.AccountDefaultArgs<ExtArgs>
|
|
490
|
+
}
|
|
491
|
+
export type AccountMemberIncludeUpdateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
492
|
+
account?: boolean | Prisma.AccountDefaultArgs<ExtArgs>
|
|
493
|
+
}
|
|
494
|
+
|
|
495
|
+
export type $AccountMemberPayload<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
496
|
+
name: "AccountMember"
|
|
497
|
+
objects: {
|
|
498
|
+
account: Prisma.$AccountPayload<ExtArgs>
|
|
499
|
+
}
|
|
500
|
+
scalars: runtime.Types.Extensions.GetPayloadResult<{
|
|
501
|
+
id: string
|
|
502
|
+
accountId: string
|
|
503
|
+
email: string
|
|
504
|
+
role: string
|
|
505
|
+
createdAt: Date
|
|
506
|
+
}, ExtArgs["result"]["accountMember"]>
|
|
507
|
+
composites: {}
|
|
508
|
+
}
|
|
509
|
+
|
|
510
|
+
export type AccountMemberGetPayload<S extends boolean | null | undefined | AccountMemberDefaultArgs> = runtime.Types.Result.GetResult<Prisma.$AccountMemberPayload, S>
|
|
511
|
+
|
|
512
|
+
export type AccountMemberCountArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> =
|
|
513
|
+
Omit<AccountMemberFindManyArgs, 'select' | 'include' | 'distinct' | 'omit'> & {
|
|
514
|
+
select?: AccountMemberCountAggregateInputType | true
|
|
515
|
+
}
|
|
516
|
+
|
|
517
|
+
export interface AccountMemberDelegate<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs, GlobalOmitOptions = {}> {
|
|
518
|
+
[K: symbol]: { types: Prisma.TypeMap<ExtArgs>['model']['AccountMember'], meta: { name: 'AccountMember' } }
|
|
519
|
+
/**
|
|
520
|
+
* Find zero or one AccountMember that matches the filter.
|
|
521
|
+
* @param {AccountMemberFindUniqueArgs} args - Arguments to find a AccountMember
|
|
522
|
+
* @example
|
|
523
|
+
* // Get one AccountMember
|
|
524
|
+
* const accountMember = await prisma.accountMember.findUnique({
|
|
525
|
+
* where: {
|
|
526
|
+
* // ... provide filter here
|
|
527
|
+
* }
|
|
528
|
+
* })
|
|
529
|
+
*/
|
|
530
|
+
findUnique<T extends AccountMemberFindUniqueArgs>(args: Prisma.SelectSubset<T, AccountMemberFindUniqueArgs<ExtArgs>>): Prisma.Prisma__AccountMemberClient<runtime.Types.Result.GetResult<Prisma.$AccountMemberPayload<ExtArgs>, T, "findUnique", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions>
|
|
531
|
+
|
|
532
|
+
/**
|
|
533
|
+
* Find one AccountMember that matches the filter or throw an error with `error.code='P2025'`
|
|
534
|
+
* if no matches were found.
|
|
535
|
+
* @param {AccountMemberFindUniqueOrThrowArgs} args - Arguments to find a AccountMember
|
|
536
|
+
* @example
|
|
537
|
+
* // Get one AccountMember
|
|
538
|
+
* const accountMember = await prisma.accountMember.findUniqueOrThrow({
|
|
539
|
+
* where: {
|
|
540
|
+
* // ... provide filter here
|
|
541
|
+
* }
|
|
542
|
+
* })
|
|
543
|
+
*/
|
|
544
|
+
findUniqueOrThrow<T extends AccountMemberFindUniqueOrThrowArgs>(args: Prisma.SelectSubset<T, AccountMemberFindUniqueOrThrowArgs<ExtArgs>>): Prisma.Prisma__AccountMemberClient<runtime.Types.Result.GetResult<Prisma.$AccountMemberPayload<ExtArgs>, T, "findUniqueOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
|
|
545
|
+
|
|
546
|
+
/**
|
|
547
|
+
* Find the first AccountMember that matches the filter.
|
|
548
|
+
* Note, that providing `undefined` is treated as the value not being there.
|
|
549
|
+
* Read more here: https://pris.ly/d/null-undefined
|
|
550
|
+
* @param {AccountMemberFindFirstArgs} args - Arguments to find a AccountMember
|
|
551
|
+
* @example
|
|
552
|
+
* // Get one AccountMember
|
|
553
|
+
* const accountMember = await prisma.accountMember.findFirst({
|
|
554
|
+
* where: {
|
|
555
|
+
* // ... provide filter here
|
|
556
|
+
* }
|
|
557
|
+
* })
|
|
558
|
+
*/
|
|
559
|
+
findFirst<T extends AccountMemberFindFirstArgs>(args?: Prisma.SelectSubset<T, AccountMemberFindFirstArgs<ExtArgs>>): Prisma.Prisma__AccountMemberClient<runtime.Types.Result.GetResult<Prisma.$AccountMemberPayload<ExtArgs>, T, "findFirst", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions>
|
|
560
|
+
|
|
561
|
+
/**
|
|
562
|
+
* Find the first AccountMember that matches the filter or
|
|
563
|
+
* throw `PrismaKnownClientError` with `P2025` code if no matches were found.
|
|
564
|
+
* Note, that providing `undefined` is treated as the value not being there.
|
|
565
|
+
* Read more here: https://pris.ly/d/null-undefined
|
|
566
|
+
* @param {AccountMemberFindFirstOrThrowArgs} args - Arguments to find a AccountMember
|
|
567
|
+
* @example
|
|
568
|
+
* // Get one AccountMember
|
|
569
|
+
* const accountMember = await prisma.accountMember.findFirstOrThrow({
|
|
570
|
+
* where: {
|
|
571
|
+
* // ... provide filter here
|
|
572
|
+
* }
|
|
573
|
+
* })
|
|
574
|
+
*/
|
|
575
|
+
findFirstOrThrow<T extends AccountMemberFindFirstOrThrowArgs>(args?: Prisma.SelectSubset<T, AccountMemberFindFirstOrThrowArgs<ExtArgs>>): Prisma.Prisma__AccountMemberClient<runtime.Types.Result.GetResult<Prisma.$AccountMemberPayload<ExtArgs>, T, "findFirstOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
|
|
576
|
+
|
|
577
|
+
/**
|
|
578
|
+
* Find zero or more AccountMembers that matches the filter.
|
|
579
|
+
* Note, that providing `undefined` is treated as the value not being there.
|
|
580
|
+
* Read more here: https://pris.ly/d/null-undefined
|
|
581
|
+
* @param {AccountMemberFindManyArgs} args - Arguments to filter and select certain fields only.
|
|
582
|
+
* @example
|
|
583
|
+
* // Get all AccountMembers
|
|
584
|
+
* const accountMembers = await prisma.accountMember.findMany()
|
|
585
|
+
*
|
|
586
|
+
* // Get first 10 AccountMembers
|
|
587
|
+
* const accountMembers = await prisma.accountMember.findMany({ take: 10 })
|
|
588
|
+
*
|
|
589
|
+
* // Only select the `id`
|
|
590
|
+
* const accountMemberWithIdOnly = await prisma.accountMember.findMany({ select: { id: true } })
|
|
591
|
+
*
|
|
592
|
+
*/
|
|
593
|
+
findMany<T extends AccountMemberFindManyArgs>(args?: Prisma.SelectSubset<T, AccountMemberFindManyArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$AccountMemberPayload<ExtArgs>, T, "findMany", GlobalOmitOptions>>
|
|
594
|
+
|
|
595
|
+
/**
|
|
596
|
+
* Create a AccountMember.
|
|
597
|
+
* @param {AccountMemberCreateArgs} args - Arguments to create a AccountMember.
|
|
598
|
+
* @example
|
|
599
|
+
* // Create one AccountMember
|
|
600
|
+
* const AccountMember = await prisma.accountMember.create({
|
|
601
|
+
* data: {
|
|
602
|
+
* // ... data to create a AccountMember
|
|
603
|
+
* }
|
|
604
|
+
* })
|
|
605
|
+
*
|
|
606
|
+
*/
|
|
607
|
+
create<T extends AccountMemberCreateArgs>(args: Prisma.SelectSubset<T, AccountMemberCreateArgs<ExtArgs>>): Prisma.Prisma__AccountMemberClient<runtime.Types.Result.GetResult<Prisma.$AccountMemberPayload<ExtArgs>, T, "create", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
|
|
608
|
+
|
|
609
|
+
/**
|
|
610
|
+
* Create many AccountMembers.
|
|
611
|
+
* @param {AccountMemberCreateManyArgs} args - Arguments to create many AccountMembers.
|
|
612
|
+
* @example
|
|
613
|
+
* // Create many AccountMembers
|
|
614
|
+
* const accountMember = await prisma.accountMember.createMany({
|
|
615
|
+
* data: [
|
|
616
|
+
* // ... provide data here
|
|
617
|
+
* ]
|
|
618
|
+
* })
|
|
619
|
+
*
|
|
620
|
+
*/
|
|
621
|
+
createMany<T extends AccountMemberCreateManyArgs>(args?: Prisma.SelectSubset<T, AccountMemberCreateManyArgs<ExtArgs>>): Prisma.PrismaPromise<Prisma.BatchPayload>
|
|
622
|
+
|
|
623
|
+
/**
|
|
624
|
+
* Create many AccountMembers and returns the data saved in the database.
|
|
625
|
+
* @param {AccountMemberCreateManyAndReturnArgs} args - Arguments to create many AccountMembers.
|
|
626
|
+
* @example
|
|
627
|
+
* // Create many AccountMembers
|
|
628
|
+
* const accountMember = await prisma.accountMember.createManyAndReturn({
|
|
629
|
+
* data: [
|
|
630
|
+
* // ... provide data here
|
|
631
|
+
* ]
|
|
632
|
+
* })
|
|
633
|
+
*
|
|
634
|
+
* // Create many AccountMembers and only return the `id`
|
|
635
|
+
* const accountMemberWithIdOnly = await prisma.accountMember.createManyAndReturn({
|
|
636
|
+
* select: { id: true },
|
|
637
|
+
* data: [
|
|
638
|
+
* // ... provide data here
|
|
639
|
+
* ]
|
|
640
|
+
* })
|
|
641
|
+
* Note, that providing `undefined` is treated as the value not being there.
|
|
642
|
+
* Read more here: https://pris.ly/d/null-undefined
|
|
643
|
+
*
|
|
644
|
+
*/
|
|
645
|
+
createManyAndReturn<T extends AccountMemberCreateManyAndReturnArgs>(args?: Prisma.SelectSubset<T, AccountMemberCreateManyAndReturnArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$AccountMemberPayload<ExtArgs>, T, "createManyAndReturn", GlobalOmitOptions>>
|
|
646
|
+
|
|
647
|
+
/**
|
|
648
|
+
* Delete a AccountMember.
|
|
649
|
+
* @param {AccountMemberDeleteArgs} args - Arguments to delete one AccountMember.
|
|
650
|
+
* @example
|
|
651
|
+
* // Delete one AccountMember
|
|
652
|
+
* const AccountMember = await prisma.accountMember.delete({
|
|
653
|
+
* where: {
|
|
654
|
+
* // ... filter to delete one AccountMember
|
|
655
|
+
* }
|
|
656
|
+
* })
|
|
657
|
+
*
|
|
658
|
+
*/
|
|
659
|
+
delete<T extends AccountMemberDeleteArgs>(args: Prisma.SelectSubset<T, AccountMemberDeleteArgs<ExtArgs>>): Prisma.Prisma__AccountMemberClient<runtime.Types.Result.GetResult<Prisma.$AccountMemberPayload<ExtArgs>, T, "delete", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
|
|
660
|
+
|
|
661
|
+
/**
|
|
662
|
+
* Update one AccountMember.
|
|
663
|
+
* @param {AccountMemberUpdateArgs} args - Arguments to update one AccountMember.
|
|
664
|
+
* @example
|
|
665
|
+
* // Update one AccountMember
|
|
666
|
+
* const accountMember = await prisma.accountMember.update({
|
|
667
|
+
* where: {
|
|
668
|
+
* // ... provide filter here
|
|
669
|
+
* },
|
|
670
|
+
* data: {
|
|
671
|
+
* // ... provide data here
|
|
672
|
+
* }
|
|
673
|
+
* })
|
|
674
|
+
*
|
|
675
|
+
*/
|
|
676
|
+
update<T extends AccountMemberUpdateArgs>(args: Prisma.SelectSubset<T, AccountMemberUpdateArgs<ExtArgs>>): Prisma.Prisma__AccountMemberClient<runtime.Types.Result.GetResult<Prisma.$AccountMemberPayload<ExtArgs>, T, "update", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
|
|
677
|
+
|
|
678
|
+
/**
|
|
679
|
+
* Delete zero or more AccountMembers.
|
|
680
|
+
* @param {AccountMemberDeleteManyArgs} args - Arguments to filter AccountMembers to delete.
|
|
681
|
+
* @example
|
|
682
|
+
* // Delete a few AccountMembers
|
|
683
|
+
* const { count } = await prisma.accountMember.deleteMany({
|
|
684
|
+
* where: {
|
|
685
|
+
* // ... provide filter here
|
|
686
|
+
* }
|
|
687
|
+
* })
|
|
688
|
+
*
|
|
689
|
+
*/
|
|
690
|
+
deleteMany<T extends AccountMemberDeleteManyArgs>(args?: Prisma.SelectSubset<T, AccountMemberDeleteManyArgs<ExtArgs>>): Prisma.PrismaPromise<Prisma.BatchPayload>
|
|
691
|
+
|
|
692
|
+
/**
|
|
693
|
+
* Update zero or more AccountMembers.
|
|
694
|
+
* Note, that providing `undefined` is treated as the value not being there.
|
|
695
|
+
* Read more here: https://pris.ly/d/null-undefined
|
|
696
|
+
* @param {AccountMemberUpdateManyArgs} args - Arguments to update one or more rows.
|
|
697
|
+
* @example
|
|
698
|
+
* // Update many AccountMembers
|
|
699
|
+
* const accountMember = await prisma.accountMember.updateMany({
|
|
700
|
+
* where: {
|
|
701
|
+
* // ... provide filter here
|
|
702
|
+
* },
|
|
703
|
+
* data: {
|
|
704
|
+
* // ... provide data here
|
|
705
|
+
* }
|
|
706
|
+
* })
|
|
707
|
+
*
|
|
708
|
+
*/
|
|
709
|
+
updateMany<T extends AccountMemberUpdateManyArgs>(args: Prisma.SelectSubset<T, AccountMemberUpdateManyArgs<ExtArgs>>): Prisma.PrismaPromise<Prisma.BatchPayload>
|
|
710
|
+
|
|
711
|
+
/**
|
|
712
|
+
* Update zero or more AccountMembers and returns the data updated in the database.
|
|
713
|
+
* @param {AccountMemberUpdateManyAndReturnArgs} args - Arguments to update many AccountMembers.
|
|
714
|
+
* @example
|
|
715
|
+
* // Update many AccountMembers
|
|
716
|
+
* const accountMember = await prisma.accountMember.updateManyAndReturn({
|
|
717
|
+
* where: {
|
|
718
|
+
* // ... provide filter here
|
|
719
|
+
* },
|
|
720
|
+
* data: [
|
|
721
|
+
* // ... provide data here
|
|
722
|
+
* ]
|
|
723
|
+
* })
|
|
724
|
+
*
|
|
725
|
+
* // Update zero or more AccountMembers and only return the `id`
|
|
726
|
+
* const accountMemberWithIdOnly = await prisma.accountMember.updateManyAndReturn({
|
|
727
|
+
* select: { id: true },
|
|
728
|
+
* where: {
|
|
729
|
+
* // ... provide filter here
|
|
730
|
+
* },
|
|
731
|
+
* data: [
|
|
732
|
+
* // ... provide data here
|
|
733
|
+
* ]
|
|
734
|
+
* })
|
|
735
|
+
* Note, that providing `undefined` is treated as the value not being there.
|
|
736
|
+
* Read more here: https://pris.ly/d/null-undefined
|
|
737
|
+
*
|
|
738
|
+
*/
|
|
739
|
+
updateManyAndReturn<T extends AccountMemberUpdateManyAndReturnArgs>(args: Prisma.SelectSubset<T, AccountMemberUpdateManyAndReturnArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$AccountMemberPayload<ExtArgs>, T, "updateManyAndReturn", GlobalOmitOptions>>
|
|
740
|
+
|
|
741
|
+
/**
|
|
742
|
+
* Create or update one AccountMember.
|
|
743
|
+
* @param {AccountMemberUpsertArgs} args - Arguments to update or create a AccountMember.
|
|
744
|
+
* @example
|
|
745
|
+
* // Update or create a AccountMember
|
|
746
|
+
* const accountMember = await prisma.accountMember.upsert({
|
|
747
|
+
* create: {
|
|
748
|
+
* // ... data to create a AccountMember
|
|
749
|
+
* },
|
|
750
|
+
* update: {
|
|
751
|
+
* // ... in case it already exists, update
|
|
752
|
+
* },
|
|
753
|
+
* where: {
|
|
754
|
+
* // ... the filter for the AccountMember we want to update
|
|
755
|
+
* }
|
|
756
|
+
* })
|
|
757
|
+
*/
|
|
758
|
+
upsert<T extends AccountMemberUpsertArgs>(args: Prisma.SelectSubset<T, AccountMemberUpsertArgs<ExtArgs>>): Prisma.Prisma__AccountMemberClient<runtime.Types.Result.GetResult<Prisma.$AccountMemberPayload<ExtArgs>, T, "upsert", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
|
|
759
|
+
|
|
760
|
+
|
|
761
|
+
/**
|
|
762
|
+
* Count the number of AccountMembers.
|
|
763
|
+
* Note, that providing `undefined` is treated as the value not being there.
|
|
764
|
+
* Read more here: https://pris.ly/d/null-undefined
|
|
765
|
+
* @param {AccountMemberCountArgs} args - Arguments to filter AccountMembers to count.
|
|
766
|
+
* @example
|
|
767
|
+
* // Count the number of AccountMembers
|
|
768
|
+
* const count = await prisma.accountMember.count({
|
|
769
|
+
* where: {
|
|
770
|
+
* // ... the filter for the AccountMembers we want to count
|
|
771
|
+
* }
|
|
772
|
+
* })
|
|
773
|
+
**/
|
|
774
|
+
count<T extends AccountMemberCountArgs>(
|
|
775
|
+
args?: Prisma.Subset<T, AccountMemberCountArgs>,
|
|
776
|
+
): Prisma.PrismaPromise<
|
|
777
|
+
T extends runtime.Types.Utils.Record<'select', any>
|
|
778
|
+
? T['select'] extends true
|
|
779
|
+
? number
|
|
780
|
+
: Prisma.GetScalarType<T['select'], AccountMemberCountAggregateOutputType>
|
|
781
|
+
: number
|
|
782
|
+
>
|
|
783
|
+
|
|
784
|
+
/**
|
|
785
|
+
* Allows you to perform aggregations operations on a AccountMember.
|
|
786
|
+
* Note, that providing `undefined` is treated as the value not being there.
|
|
787
|
+
* Read more here: https://pris.ly/d/null-undefined
|
|
788
|
+
* @param {AccountMemberAggregateArgs} args - Select which aggregations you would like to apply and on what fields.
|
|
789
|
+
* @example
|
|
790
|
+
* // Ordered by age ascending
|
|
791
|
+
* // Where email contains prisma.io
|
|
792
|
+
* // Limited to the 10 users
|
|
793
|
+
* const aggregations = await prisma.user.aggregate({
|
|
794
|
+
* _avg: {
|
|
795
|
+
* age: true,
|
|
796
|
+
* },
|
|
797
|
+
* where: {
|
|
798
|
+
* email: {
|
|
799
|
+
* contains: "prisma.io",
|
|
800
|
+
* },
|
|
801
|
+
* },
|
|
802
|
+
* orderBy: {
|
|
803
|
+
* age: "asc",
|
|
804
|
+
* },
|
|
805
|
+
* take: 10,
|
|
806
|
+
* })
|
|
807
|
+
**/
|
|
808
|
+
aggregate<T extends AccountMemberAggregateArgs>(args: Prisma.Subset<T, AccountMemberAggregateArgs>): Prisma.PrismaPromise<GetAccountMemberAggregateType<T>>
|
|
809
|
+
|
|
810
|
+
/**
|
|
811
|
+
* Group by AccountMember.
|
|
812
|
+
* Note, that providing `undefined` is treated as the value not being there.
|
|
813
|
+
* Read more here: https://pris.ly/d/null-undefined
|
|
814
|
+
* @param {AccountMemberGroupByArgs} args - Group by arguments.
|
|
815
|
+
* @example
|
|
816
|
+
* // Group by city, order by createdAt, get count
|
|
817
|
+
* const result = await prisma.user.groupBy({
|
|
818
|
+
* by: ['city', 'createdAt'],
|
|
819
|
+
* orderBy: {
|
|
820
|
+
* createdAt: true
|
|
821
|
+
* },
|
|
822
|
+
* _count: {
|
|
823
|
+
* _all: true
|
|
824
|
+
* },
|
|
825
|
+
* })
|
|
826
|
+
*
|
|
827
|
+
**/
|
|
828
|
+
groupBy<
|
|
829
|
+
T extends AccountMemberGroupByArgs,
|
|
830
|
+
HasSelectOrTake extends Prisma.Or<
|
|
831
|
+
Prisma.Extends<'skip', Prisma.Keys<T>>,
|
|
832
|
+
Prisma.Extends<'take', Prisma.Keys<T>>
|
|
833
|
+
>,
|
|
834
|
+
OrderByArg extends Prisma.True extends HasSelectOrTake
|
|
835
|
+
? { orderBy: AccountMemberGroupByArgs['orderBy'] }
|
|
836
|
+
: { orderBy?: AccountMemberGroupByArgs['orderBy'] },
|
|
837
|
+
OrderFields extends Prisma.ExcludeUnderscoreKeys<Prisma.Keys<Prisma.MaybeTupleToUnion<T['orderBy']>>>,
|
|
838
|
+
ByFields extends Prisma.MaybeTupleToUnion<T['by']>,
|
|
839
|
+
ByValid extends Prisma.Has<ByFields, OrderFields>,
|
|
840
|
+
HavingFields extends Prisma.GetHavingFields<T['having']>,
|
|
841
|
+
HavingValid extends Prisma.Has<ByFields, HavingFields>,
|
|
842
|
+
ByEmpty extends T['by'] extends never[] ? Prisma.True : Prisma.False,
|
|
843
|
+
InputErrors extends ByEmpty extends Prisma.True
|
|
844
|
+
? `Error: "by" must not be empty.`
|
|
845
|
+
: HavingValid extends Prisma.False
|
|
846
|
+
? {
|
|
847
|
+
[P in HavingFields]: P extends ByFields
|
|
848
|
+
? never
|
|
849
|
+
: P extends string
|
|
850
|
+
? `Error: Field "${P}" used in "having" needs to be provided in "by".`
|
|
851
|
+
: [
|
|
852
|
+
Error,
|
|
853
|
+
'Field ',
|
|
854
|
+
P,
|
|
855
|
+
` in "having" needs to be provided in "by"`,
|
|
856
|
+
]
|
|
857
|
+
}[HavingFields]
|
|
858
|
+
: 'take' extends Prisma.Keys<T>
|
|
859
|
+
? 'orderBy' extends Prisma.Keys<T>
|
|
860
|
+
? ByValid extends Prisma.True
|
|
861
|
+
? {}
|
|
862
|
+
: {
|
|
863
|
+
[P in OrderFields]: P extends ByFields
|
|
864
|
+
? never
|
|
865
|
+
: `Error: Field "${P}" in "orderBy" needs to be provided in "by"`
|
|
866
|
+
}[OrderFields]
|
|
867
|
+
: 'Error: If you provide "take", you also need to provide "orderBy"'
|
|
868
|
+
: 'skip' extends Prisma.Keys<T>
|
|
869
|
+
? 'orderBy' extends Prisma.Keys<T>
|
|
870
|
+
? ByValid extends Prisma.True
|
|
871
|
+
? {}
|
|
872
|
+
: {
|
|
873
|
+
[P in OrderFields]: P extends ByFields
|
|
874
|
+
? never
|
|
875
|
+
: `Error: Field "${P}" in "orderBy" needs to be provided in "by"`
|
|
876
|
+
}[OrderFields]
|
|
877
|
+
: 'Error: If you provide "skip", you also need to provide "orderBy"'
|
|
878
|
+
: ByValid extends Prisma.True
|
|
879
|
+
? {}
|
|
880
|
+
: {
|
|
881
|
+
[P in OrderFields]: P extends ByFields
|
|
882
|
+
? never
|
|
883
|
+
: `Error: Field "${P}" in "orderBy" needs to be provided in "by"`
|
|
884
|
+
}[OrderFields]
|
|
885
|
+
>(args: Prisma.SubsetIntersection<T, AccountMemberGroupByArgs, OrderByArg> & InputErrors): {} extends InputErrors ? GetAccountMemberGroupByPayload<T> : Prisma.PrismaPromise<InputErrors>
|
|
886
|
+
/**
|
|
887
|
+
* Fields of the AccountMember model
|
|
888
|
+
*/
|
|
889
|
+
readonly fields: AccountMemberFieldRefs;
|
|
890
|
+
}
|
|
891
|
+
|
|
892
|
+
/**
|
|
893
|
+
* The delegate class that acts as a "Promise-like" for AccountMember.
|
|
894
|
+
* Why is this prefixed with `Prisma__`?
|
|
895
|
+
* Because we want to prevent naming conflicts as mentioned in
|
|
896
|
+
* https://github.com/prisma/prisma-client-js/issues/707
|
|
897
|
+
*/
|
|
898
|
+
export interface Prisma__AccountMemberClient<T, Null = never, ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs, GlobalOmitOptions = {}> extends Prisma.PrismaPromise<T> {
|
|
899
|
+
readonly [Symbol.toStringTag]: "PrismaPromise"
|
|
900
|
+
account<T extends Prisma.AccountDefaultArgs<ExtArgs> = {}>(args?: Prisma.Subset<T, Prisma.AccountDefaultArgs<ExtArgs>>): Prisma.Prisma__AccountClient<runtime.Types.Result.GetResult<Prisma.$AccountPayload<ExtArgs>, T, "findUniqueOrThrow", GlobalOmitOptions> | Null, Null, ExtArgs, GlobalOmitOptions>
|
|
901
|
+
/**
|
|
902
|
+
* Attaches callbacks for the resolution and/or rejection of the Promise.
|
|
903
|
+
* @param onfulfilled The callback to execute when the Promise is resolved.
|
|
904
|
+
* @param onrejected The callback to execute when the Promise is rejected.
|
|
905
|
+
* @returns A Promise for the completion of which ever callback is executed.
|
|
906
|
+
*/
|
|
907
|
+
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>
|
|
908
|
+
/**
|
|
909
|
+
* Attaches a callback for only the rejection of the Promise.
|
|
910
|
+
* @param onrejected The callback to execute when the Promise is rejected.
|
|
911
|
+
* @returns A Promise for the completion of the callback.
|
|
912
|
+
*/
|
|
913
|
+
catch<TResult = never>(onrejected?: ((reason: any) => TResult | PromiseLike<TResult>) | undefined | null): runtime.Types.Utils.JsPromise<T | TResult>
|
|
914
|
+
/**
|
|
915
|
+
* Attaches a callback that is invoked when the Promise is settled (fulfilled or rejected). The
|
|
916
|
+
* resolved value cannot be modified from the callback.
|
|
917
|
+
* @param onfinally The callback to execute when the Promise is settled (fulfilled or rejected).
|
|
918
|
+
* @returns A Promise for the completion of the callback.
|
|
919
|
+
*/
|
|
920
|
+
finally(onfinally?: (() => void) | undefined | null): runtime.Types.Utils.JsPromise<T>
|
|
921
|
+
}
|
|
922
|
+
|
|
923
|
+
|
|
924
|
+
|
|
925
|
+
|
|
926
|
+
/**
|
|
927
|
+
* Fields of the AccountMember model
|
|
928
|
+
*/
|
|
929
|
+
export interface AccountMemberFieldRefs {
|
|
930
|
+
readonly id: Prisma.FieldRef<"AccountMember", 'String'>
|
|
931
|
+
readonly accountId: Prisma.FieldRef<"AccountMember", 'String'>
|
|
932
|
+
readonly email: Prisma.FieldRef<"AccountMember", 'String'>
|
|
933
|
+
readonly role: Prisma.FieldRef<"AccountMember", 'String'>
|
|
934
|
+
readonly createdAt: Prisma.FieldRef<"AccountMember", 'DateTime'>
|
|
935
|
+
}
|
|
936
|
+
|
|
937
|
+
|
|
938
|
+
// Custom InputTypes
|
|
939
|
+
/**
|
|
940
|
+
* AccountMember findUnique
|
|
941
|
+
*/
|
|
942
|
+
export type AccountMemberFindUniqueArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
943
|
+
/**
|
|
944
|
+
* Select specific fields to fetch from the AccountMember
|
|
945
|
+
*/
|
|
946
|
+
select?: Prisma.AccountMemberSelect<ExtArgs> | null
|
|
947
|
+
/**
|
|
948
|
+
* Omit specific fields from the AccountMember
|
|
949
|
+
*/
|
|
950
|
+
omit?: Prisma.AccountMemberOmit<ExtArgs> | null
|
|
951
|
+
/**
|
|
952
|
+
* Choose, which related nodes to fetch as well
|
|
953
|
+
*/
|
|
954
|
+
include?: Prisma.AccountMemberInclude<ExtArgs> | null
|
|
955
|
+
/**
|
|
956
|
+
* Filter, which AccountMember to fetch.
|
|
957
|
+
*/
|
|
958
|
+
where: Prisma.AccountMemberWhereUniqueInput
|
|
959
|
+
}
|
|
960
|
+
|
|
961
|
+
/**
|
|
962
|
+
* AccountMember findUniqueOrThrow
|
|
963
|
+
*/
|
|
964
|
+
export type AccountMemberFindUniqueOrThrowArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
965
|
+
/**
|
|
966
|
+
* Select specific fields to fetch from the AccountMember
|
|
967
|
+
*/
|
|
968
|
+
select?: Prisma.AccountMemberSelect<ExtArgs> | null
|
|
969
|
+
/**
|
|
970
|
+
* Omit specific fields from the AccountMember
|
|
971
|
+
*/
|
|
972
|
+
omit?: Prisma.AccountMemberOmit<ExtArgs> | null
|
|
973
|
+
/**
|
|
974
|
+
* Choose, which related nodes to fetch as well
|
|
975
|
+
*/
|
|
976
|
+
include?: Prisma.AccountMemberInclude<ExtArgs> | null
|
|
977
|
+
/**
|
|
978
|
+
* Filter, which AccountMember to fetch.
|
|
979
|
+
*/
|
|
980
|
+
where: Prisma.AccountMemberWhereUniqueInput
|
|
981
|
+
}
|
|
982
|
+
|
|
983
|
+
/**
|
|
984
|
+
* AccountMember findFirst
|
|
985
|
+
*/
|
|
986
|
+
export type AccountMemberFindFirstArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
987
|
+
/**
|
|
988
|
+
* Select specific fields to fetch from the AccountMember
|
|
989
|
+
*/
|
|
990
|
+
select?: Prisma.AccountMemberSelect<ExtArgs> | null
|
|
991
|
+
/**
|
|
992
|
+
* Omit specific fields from the AccountMember
|
|
993
|
+
*/
|
|
994
|
+
omit?: Prisma.AccountMemberOmit<ExtArgs> | null
|
|
995
|
+
/**
|
|
996
|
+
* Choose, which related nodes to fetch as well
|
|
997
|
+
*/
|
|
998
|
+
include?: Prisma.AccountMemberInclude<ExtArgs> | null
|
|
999
|
+
/**
|
|
1000
|
+
* Filter, which AccountMember to fetch.
|
|
1001
|
+
*/
|
|
1002
|
+
where?: Prisma.AccountMemberWhereInput
|
|
1003
|
+
/**
|
|
1004
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
|
|
1005
|
+
*
|
|
1006
|
+
* Determine the order of AccountMembers to fetch.
|
|
1007
|
+
*/
|
|
1008
|
+
orderBy?: Prisma.AccountMemberOrderByWithRelationInput | Prisma.AccountMemberOrderByWithRelationInput[]
|
|
1009
|
+
/**
|
|
1010
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
|
|
1011
|
+
*
|
|
1012
|
+
* Sets the position for searching for AccountMembers.
|
|
1013
|
+
*/
|
|
1014
|
+
cursor?: Prisma.AccountMemberWhereUniqueInput
|
|
1015
|
+
/**
|
|
1016
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
1017
|
+
*
|
|
1018
|
+
* Take `±n` AccountMembers from the position of the cursor.
|
|
1019
|
+
*/
|
|
1020
|
+
take?: number
|
|
1021
|
+
/**
|
|
1022
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
1023
|
+
*
|
|
1024
|
+
* Skip the first `n` AccountMembers.
|
|
1025
|
+
*/
|
|
1026
|
+
skip?: number
|
|
1027
|
+
/**
|
|
1028
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
|
|
1029
|
+
*
|
|
1030
|
+
* Filter by unique combinations of AccountMembers.
|
|
1031
|
+
*/
|
|
1032
|
+
distinct?: Prisma.AccountMemberScalarFieldEnum | Prisma.AccountMemberScalarFieldEnum[]
|
|
1033
|
+
}
|
|
1034
|
+
|
|
1035
|
+
/**
|
|
1036
|
+
* AccountMember findFirstOrThrow
|
|
1037
|
+
*/
|
|
1038
|
+
export type AccountMemberFindFirstOrThrowArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1039
|
+
/**
|
|
1040
|
+
* Select specific fields to fetch from the AccountMember
|
|
1041
|
+
*/
|
|
1042
|
+
select?: Prisma.AccountMemberSelect<ExtArgs> | null
|
|
1043
|
+
/**
|
|
1044
|
+
* Omit specific fields from the AccountMember
|
|
1045
|
+
*/
|
|
1046
|
+
omit?: Prisma.AccountMemberOmit<ExtArgs> | null
|
|
1047
|
+
/**
|
|
1048
|
+
* Choose, which related nodes to fetch as well
|
|
1049
|
+
*/
|
|
1050
|
+
include?: Prisma.AccountMemberInclude<ExtArgs> | null
|
|
1051
|
+
/**
|
|
1052
|
+
* Filter, which AccountMember to fetch.
|
|
1053
|
+
*/
|
|
1054
|
+
where?: Prisma.AccountMemberWhereInput
|
|
1055
|
+
/**
|
|
1056
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
|
|
1057
|
+
*
|
|
1058
|
+
* Determine the order of AccountMembers to fetch.
|
|
1059
|
+
*/
|
|
1060
|
+
orderBy?: Prisma.AccountMemberOrderByWithRelationInput | Prisma.AccountMemberOrderByWithRelationInput[]
|
|
1061
|
+
/**
|
|
1062
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
|
|
1063
|
+
*
|
|
1064
|
+
* Sets the position for searching for AccountMembers.
|
|
1065
|
+
*/
|
|
1066
|
+
cursor?: Prisma.AccountMemberWhereUniqueInput
|
|
1067
|
+
/**
|
|
1068
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
1069
|
+
*
|
|
1070
|
+
* Take `±n` AccountMembers from the position of the cursor.
|
|
1071
|
+
*/
|
|
1072
|
+
take?: number
|
|
1073
|
+
/**
|
|
1074
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
1075
|
+
*
|
|
1076
|
+
* Skip the first `n` AccountMembers.
|
|
1077
|
+
*/
|
|
1078
|
+
skip?: number
|
|
1079
|
+
/**
|
|
1080
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
|
|
1081
|
+
*
|
|
1082
|
+
* Filter by unique combinations of AccountMembers.
|
|
1083
|
+
*/
|
|
1084
|
+
distinct?: Prisma.AccountMemberScalarFieldEnum | Prisma.AccountMemberScalarFieldEnum[]
|
|
1085
|
+
}
|
|
1086
|
+
|
|
1087
|
+
/**
|
|
1088
|
+
* AccountMember findMany
|
|
1089
|
+
*/
|
|
1090
|
+
export type AccountMemberFindManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1091
|
+
/**
|
|
1092
|
+
* Select specific fields to fetch from the AccountMember
|
|
1093
|
+
*/
|
|
1094
|
+
select?: Prisma.AccountMemberSelect<ExtArgs> | null
|
|
1095
|
+
/**
|
|
1096
|
+
* Omit specific fields from the AccountMember
|
|
1097
|
+
*/
|
|
1098
|
+
omit?: Prisma.AccountMemberOmit<ExtArgs> | null
|
|
1099
|
+
/**
|
|
1100
|
+
* Choose, which related nodes to fetch as well
|
|
1101
|
+
*/
|
|
1102
|
+
include?: Prisma.AccountMemberInclude<ExtArgs> | null
|
|
1103
|
+
/**
|
|
1104
|
+
* Filter, which AccountMembers to fetch.
|
|
1105
|
+
*/
|
|
1106
|
+
where?: Prisma.AccountMemberWhereInput
|
|
1107
|
+
/**
|
|
1108
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
|
|
1109
|
+
*
|
|
1110
|
+
* Determine the order of AccountMembers to fetch.
|
|
1111
|
+
*/
|
|
1112
|
+
orderBy?: Prisma.AccountMemberOrderByWithRelationInput | Prisma.AccountMemberOrderByWithRelationInput[]
|
|
1113
|
+
/**
|
|
1114
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
|
|
1115
|
+
*
|
|
1116
|
+
* Sets the position for listing AccountMembers.
|
|
1117
|
+
*/
|
|
1118
|
+
cursor?: Prisma.AccountMemberWhereUniqueInput
|
|
1119
|
+
/**
|
|
1120
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
1121
|
+
*
|
|
1122
|
+
* Take `±n` AccountMembers from the position of the cursor.
|
|
1123
|
+
*/
|
|
1124
|
+
take?: number
|
|
1125
|
+
/**
|
|
1126
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
1127
|
+
*
|
|
1128
|
+
* Skip the first `n` AccountMembers.
|
|
1129
|
+
*/
|
|
1130
|
+
skip?: number
|
|
1131
|
+
/**
|
|
1132
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
|
|
1133
|
+
*
|
|
1134
|
+
* Filter by unique combinations of AccountMembers.
|
|
1135
|
+
*/
|
|
1136
|
+
distinct?: Prisma.AccountMemberScalarFieldEnum | Prisma.AccountMemberScalarFieldEnum[]
|
|
1137
|
+
}
|
|
1138
|
+
|
|
1139
|
+
/**
|
|
1140
|
+
* AccountMember create
|
|
1141
|
+
*/
|
|
1142
|
+
export type AccountMemberCreateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1143
|
+
/**
|
|
1144
|
+
* Select specific fields to fetch from the AccountMember
|
|
1145
|
+
*/
|
|
1146
|
+
select?: Prisma.AccountMemberSelect<ExtArgs> | null
|
|
1147
|
+
/**
|
|
1148
|
+
* Omit specific fields from the AccountMember
|
|
1149
|
+
*/
|
|
1150
|
+
omit?: Prisma.AccountMemberOmit<ExtArgs> | null
|
|
1151
|
+
/**
|
|
1152
|
+
* Choose, which related nodes to fetch as well
|
|
1153
|
+
*/
|
|
1154
|
+
include?: Prisma.AccountMemberInclude<ExtArgs> | null
|
|
1155
|
+
/**
|
|
1156
|
+
* The data needed to create a AccountMember.
|
|
1157
|
+
*/
|
|
1158
|
+
data: Prisma.XOR<Prisma.AccountMemberCreateInput, Prisma.AccountMemberUncheckedCreateInput>
|
|
1159
|
+
}
|
|
1160
|
+
|
|
1161
|
+
/**
|
|
1162
|
+
* AccountMember createMany
|
|
1163
|
+
*/
|
|
1164
|
+
export type AccountMemberCreateManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1165
|
+
/**
|
|
1166
|
+
* The data used to create many AccountMembers.
|
|
1167
|
+
*/
|
|
1168
|
+
data: Prisma.AccountMemberCreateManyInput | Prisma.AccountMemberCreateManyInput[]
|
|
1169
|
+
skipDuplicates?: boolean
|
|
1170
|
+
}
|
|
1171
|
+
|
|
1172
|
+
/**
|
|
1173
|
+
* AccountMember createManyAndReturn
|
|
1174
|
+
*/
|
|
1175
|
+
export type AccountMemberCreateManyAndReturnArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1176
|
+
/**
|
|
1177
|
+
* Select specific fields to fetch from the AccountMember
|
|
1178
|
+
*/
|
|
1179
|
+
select?: Prisma.AccountMemberSelectCreateManyAndReturn<ExtArgs> | null
|
|
1180
|
+
/**
|
|
1181
|
+
* Omit specific fields from the AccountMember
|
|
1182
|
+
*/
|
|
1183
|
+
omit?: Prisma.AccountMemberOmit<ExtArgs> | null
|
|
1184
|
+
/**
|
|
1185
|
+
* The data used to create many AccountMembers.
|
|
1186
|
+
*/
|
|
1187
|
+
data: Prisma.AccountMemberCreateManyInput | Prisma.AccountMemberCreateManyInput[]
|
|
1188
|
+
skipDuplicates?: boolean
|
|
1189
|
+
/**
|
|
1190
|
+
* Choose, which related nodes to fetch as well
|
|
1191
|
+
*/
|
|
1192
|
+
include?: Prisma.AccountMemberIncludeCreateManyAndReturn<ExtArgs> | null
|
|
1193
|
+
}
|
|
1194
|
+
|
|
1195
|
+
/**
|
|
1196
|
+
* AccountMember update
|
|
1197
|
+
*/
|
|
1198
|
+
export type AccountMemberUpdateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1199
|
+
/**
|
|
1200
|
+
* Select specific fields to fetch from the AccountMember
|
|
1201
|
+
*/
|
|
1202
|
+
select?: Prisma.AccountMemberSelect<ExtArgs> | null
|
|
1203
|
+
/**
|
|
1204
|
+
* Omit specific fields from the AccountMember
|
|
1205
|
+
*/
|
|
1206
|
+
omit?: Prisma.AccountMemberOmit<ExtArgs> | null
|
|
1207
|
+
/**
|
|
1208
|
+
* Choose, which related nodes to fetch as well
|
|
1209
|
+
*/
|
|
1210
|
+
include?: Prisma.AccountMemberInclude<ExtArgs> | null
|
|
1211
|
+
/**
|
|
1212
|
+
* The data needed to update a AccountMember.
|
|
1213
|
+
*/
|
|
1214
|
+
data: Prisma.XOR<Prisma.AccountMemberUpdateInput, Prisma.AccountMemberUncheckedUpdateInput>
|
|
1215
|
+
/**
|
|
1216
|
+
* Choose, which AccountMember to update.
|
|
1217
|
+
*/
|
|
1218
|
+
where: Prisma.AccountMemberWhereUniqueInput
|
|
1219
|
+
}
|
|
1220
|
+
|
|
1221
|
+
/**
|
|
1222
|
+
* AccountMember updateMany
|
|
1223
|
+
*/
|
|
1224
|
+
export type AccountMemberUpdateManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1225
|
+
/**
|
|
1226
|
+
* The data used to update AccountMembers.
|
|
1227
|
+
*/
|
|
1228
|
+
data: Prisma.XOR<Prisma.AccountMemberUpdateManyMutationInput, Prisma.AccountMemberUncheckedUpdateManyInput>
|
|
1229
|
+
/**
|
|
1230
|
+
* Filter which AccountMembers to update
|
|
1231
|
+
*/
|
|
1232
|
+
where?: Prisma.AccountMemberWhereInput
|
|
1233
|
+
/**
|
|
1234
|
+
* Limit how many AccountMembers to update.
|
|
1235
|
+
*/
|
|
1236
|
+
limit?: number
|
|
1237
|
+
}
|
|
1238
|
+
|
|
1239
|
+
/**
|
|
1240
|
+
* AccountMember updateManyAndReturn
|
|
1241
|
+
*/
|
|
1242
|
+
export type AccountMemberUpdateManyAndReturnArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1243
|
+
/**
|
|
1244
|
+
* Select specific fields to fetch from the AccountMember
|
|
1245
|
+
*/
|
|
1246
|
+
select?: Prisma.AccountMemberSelectUpdateManyAndReturn<ExtArgs> | null
|
|
1247
|
+
/**
|
|
1248
|
+
* Omit specific fields from the AccountMember
|
|
1249
|
+
*/
|
|
1250
|
+
omit?: Prisma.AccountMemberOmit<ExtArgs> | null
|
|
1251
|
+
/**
|
|
1252
|
+
* The data used to update AccountMembers.
|
|
1253
|
+
*/
|
|
1254
|
+
data: Prisma.XOR<Prisma.AccountMemberUpdateManyMutationInput, Prisma.AccountMemberUncheckedUpdateManyInput>
|
|
1255
|
+
/**
|
|
1256
|
+
* Filter which AccountMembers to update
|
|
1257
|
+
*/
|
|
1258
|
+
where?: Prisma.AccountMemberWhereInput
|
|
1259
|
+
/**
|
|
1260
|
+
* Limit how many AccountMembers to update.
|
|
1261
|
+
*/
|
|
1262
|
+
limit?: number
|
|
1263
|
+
/**
|
|
1264
|
+
* Choose, which related nodes to fetch as well
|
|
1265
|
+
*/
|
|
1266
|
+
include?: Prisma.AccountMemberIncludeUpdateManyAndReturn<ExtArgs> | null
|
|
1267
|
+
}
|
|
1268
|
+
|
|
1269
|
+
/**
|
|
1270
|
+
* AccountMember upsert
|
|
1271
|
+
*/
|
|
1272
|
+
export type AccountMemberUpsertArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1273
|
+
/**
|
|
1274
|
+
* Select specific fields to fetch from the AccountMember
|
|
1275
|
+
*/
|
|
1276
|
+
select?: Prisma.AccountMemberSelect<ExtArgs> | null
|
|
1277
|
+
/**
|
|
1278
|
+
* Omit specific fields from the AccountMember
|
|
1279
|
+
*/
|
|
1280
|
+
omit?: Prisma.AccountMemberOmit<ExtArgs> | null
|
|
1281
|
+
/**
|
|
1282
|
+
* Choose, which related nodes to fetch as well
|
|
1283
|
+
*/
|
|
1284
|
+
include?: Prisma.AccountMemberInclude<ExtArgs> | null
|
|
1285
|
+
/**
|
|
1286
|
+
* The filter to search for the AccountMember to update in case it exists.
|
|
1287
|
+
*/
|
|
1288
|
+
where: Prisma.AccountMemberWhereUniqueInput
|
|
1289
|
+
/**
|
|
1290
|
+
* In case the AccountMember found by the `where` argument doesn't exist, create a new AccountMember with this data.
|
|
1291
|
+
*/
|
|
1292
|
+
create: Prisma.XOR<Prisma.AccountMemberCreateInput, Prisma.AccountMemberUncheckedCreateInput>
|
|
1293
|
+
/**
|
|
1294
|
+
* In case the AccountMember was found with the provided `where` argument, update it with this data.
|
|
1295
|
+
*/
|
|
1296
|
+
update: Prisma.XOR<Prisma.AccountMemberUpdateInput, Prisma.AccountMemberUncheckedUpdateInput>
|
|
1297
|
+
}
|
|
1298
|
+
|
|
1299
|
+
/**
|
|
1300
|
+
* AccountMember delete
|
|
1301
|
+
*/
|
|
1302
|
+
export type AccountMemberDeleteArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1303
|
+
/**
|
|
1304
|
+
* Select specific fields to fetch from the AccountMember
|
|
1305
|
+
*/
|
|
1306
|
+
select?: Prisma.AccountMemberSelect<ExtArgs> | null
|
|
1307
|
+
/**
|
|
1308
|
+
* Omit specific fields from the AccountMember
|
|
1309
|
+
*/
|
|
1310
|
+
omit?: Prisma.AccountMemberOmit<ExtArgs> | null
|
|
1311
|
+
/**
|
|
1312
|
+
* Choose, which related nodes to fetch as well
|
|
1313
|
+
*/
|
|
1314
|
+
include?: Prisma.AccountMemberInclude<ExtArgs> | null
|
|
1315
|
+
/**
|
|
1316
|
+
* Filter which AccountMember to delete.
|
|
1317
|
+
*/
|
|
1318
|
+
where: Prisma.AccountMemberWhereUniqueInput
|
|
1319
|
+
}
|
|
1320
|
+
|
|
1321
|
+
/**
|
|
1322
|
+
* AccountMember deleteMany
|
|
1323
|
+
*/
|
|
1324
|
+
export type AccountMemberDeleteManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1325
|
+
/**
|
|
1326
|
+
* Filter which AccountMembers to delete
|
|
1327
|
+
*/
|
|
1328
|
+
where?: Prisma.AccountMemberWhereInput
|
|
1329
|
+
/**
|
|
1330
|
+
* Limit how many AccountMembers to delete.
|
|
1331
|
+
*/
|
|
1332
|
+
limit?: number
|
|
1333
|
+
}
|
|
1334
|
+
|
|
1335
|
+
/**
|
|
1336
|
+
* AccountMember without action
|
|
1337
|
+
*/
|
|
1338
|
+
export type AccountMemberDefaultArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1339
|
+
/**
|
|
1340
|
+
* Select specific fields to fetch from the AccountMember
|
|
1341
|
+
*/
|
|
1342
|
+
select?: Prisma.AccountMemberSelect<ExtArgs> | null
|
|
1343
|
+
/**
|
|
1344
|
+
* Omit specific fields from the AccountMember
|
|
1345
|
+
*/
|
|
1346
|
+
omit?: Prisma.AccountMemberOmit<ExtArgs> | null
|
|
1347
|
+
/**
|
|
1348
|
+
* Choose, which related nodes to fetch as well
|
|
1349
|
+
*/
|
|
1350
|
+
include?: Prisma.AccountMemberInclude<ExtArgs> | null
|
|
1351
|
+
}
|