aimeat 1.26.0 → 1.27.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +7 -0
- package/dist/.env.example +17 -0
- package/dist/locales/en.json +49 -7
- package/dist/locales/fi.json +56 -14
- package/dist/public/css/components/app-sandbox.css +62 -0
- package/dist/public/css/views/app-grant.css +51 -0
- package/dist/public/css/views/landing.css +8 -2
- package/dist/public/js/app-sandbox.js +83 -0
- package/dist/public/spa.html +16 -1
- package/dist/public/views/app-grant.js +107 -0
- package/dist/public/views/business.js +8 -1
- package/dist/public/views/how-it-works.js +5 -1
- package/dist/public/views/landing.js +83 -76
- package/dist/public/views/profile/access-tab.js +75 -0
- package/dist/scripts/screenshot-worker.d.ts +2 -0
- package/dist/scripts/screenshot-worker.d.ts.map +1 -0
- package/dist/scripts/screenshot-worker.js +14 -0
- package/dist/scripts/screenshot-worker.js.map +1 -0
- package/dist/src/auth/jwt.d.ts +2 -0
- package/dist/src/auth/jwt.d.ts.map +1 -1
- package/dist/src/auth/jwt.js +2 -0
- package/dist/src/auth/jwt.js.map +1 -1
- package/dist/src/auth/middleware.d.ts.map +1 -1
- package/dist/src/auth/middleware.js +6 -2
- package/dist/src/auth/middleware.js.map +1 -1
- package/dist/src/cli/init-wizard.d.ts +7 -3
- package/dist/src/cli/init-wizard.d.ts.map +1 -1
- package/dist/src/cli/init-wizard.js +50 -5
- package/dist/src/cli/init-wizard.js.map +1 -1
- package/dist/src/cli/screenshot-worker.d.ts +2 -0
- package/dist/src/cli/screenshot-worker.d.ts.map +1 -0
- package/dist/src/cli/screenshot-worker.js +156 -0
- package/dist/src/cli/screenshot-worker.js.map +1 -0
- package/dist/src/config.d.ts +17 -0
- package/dist/src/config.d.ts.map +1 -1
- package/dist/src/config.js +25 -0
- package/dist/src/config.js.map +1 -1
- package/dist/src/generated/api-types.d.ts +529 -0
- package/dist/src/generated/api-types.d.ts.map +1 -1
- package/dist/src/generated/prisma-postgres/edge.js +20 -3
- package/dist/src/generated/prisma-postgres/index-browser.js +17 -0
- package/dist/src/generated/prisma-postgres/index.d.ts +1618 -154
- package/dist/src/generated/prisma-postgres/index.js +20 -3
- package/dist/src/generated/prisma-postgres/package.json +1 -1
- package/dist/src/generated/prisma-postgres/schema.prisma +20 -0
- package/dist/src/generated/prisma-postgres/wasm.js +20 -3
- package/dist/src/index.js +8 -0
- package/dist/src/index.js.map +1 -1
- package/dist/src/mcp/apps.d.ts +2 -0
- package/dist/src/mcp/apps.d.ts.map +1 -1
- package/dist/src/mcp/apps.js +18 -1
- package/dist/src/mcp/apps.js.map +1 -1
- package/dist/src/mcp/extensions.d.ts +1 -0
- package/dist/src/mcp/extensions.d.ts.map +1 -1
- package/dist/src/mcp/extensions.js +10 -1
- package/dist/src/mcp/extensions.js.map +1 -1
- package/dist/src/middleware/rate-limit.d.ts +10 -0
- package/dist/src/middleware/rate-limit.d.ts.map +1 -1
- package/dist/src/middleware/rate-limit.js +24 -4
- package/dist/src/middleware/rate-limit.js.map +1 -1
- package/dist/src/middleware/subdomain.d.ts +15 -3
- package/dist/src/middleware/subdomain.d.ts.map +1 -1
- package/dist/src/middleware/subdomain.js +35 -12
- package/dist/src/middleware/subdomain.js.map +1 -1
- package/dist/src/routes/admin.js +4 -2
- package/dist/src/routes/admin.js.map +1 -1
- package/dist/src/routes/agent-webhook.d.ts.map +1 -1
- package/dist/src/routes/agent-webhook.js +3 -2
- package/dist/src/routes/agent-webhook.js.map +1 -1
- package/dist/src/routes/app-grants.d.ts +32 -0
- package/dist/src/routes/app-grants.d.ts.map +1 -0
- package/dist/src/routes/app-grants.js +257 -0
- package/dist/src/routes/app-grants.js.map +1 -0
- package/dist/src/routes/apps.d.ts +9 -0
- package/dist/src/routes/apps.d.ts.map +1 -1
- package/dist/src/routes/apps.js +127 -2
- package/dist/src/routes/apps.js.map +1 -1
- package/dist/src/routes/extensions.d.ts +2 -0
- package/dist/src/routes/extensions.d.ts.map +1 -1
- package/dist/src/routes/extensions.js +18 -9
- package/dist/src/routes/extensions.js.map +1 -1
- package/dist/src/routes/foundry.d.ts.map +1 -1
- package/dist/src/routes/foundry.js +13 -1
- package/dist/src/routes/foundry.js.map +1 -1
- package/dist/src/routes/generator.d.ts.map +1 -1
- package/dist/src/routes/generator.js +13 -1
- package/dist/src/routes/generator.js.map +1 -1
- package/dist/src/routes/libs.d.ts +6 -0
- package/dist/src/routes/libs.d.ts.map +1 -1
- package/dist/src/routes/libs.js +40 -0
- package/dist/src/routes/libs.js.map +1 -1
- package/dist/src/routes/oauth-login.d.ts +22 -0
- package/dist/src/routes/oauth-login.d.ts.map +1 -0
- package/dist/src/routes/oauth-login.js +219 -0
- package/dist/src/routes/oauth-login.js.map +1 -0
- package/dist/src/routes/portal.d.ts.map +1 -1
- package/dist/src/routes/portal.js +1 -0
- package/dist/src/routes/portal.js.map +1 -1
- package/dist/src/routes/subdomains.d.ts +5 -0
- package/dist/src/routes/subdomains.d.ts.map +1 -1
- package/dist/src/routes/subdomains.js +55 -9
- package/dist/src/routes/subdomains.js.map +1 -1
- package/dist/src/server-bootstrap/routes-loader.d.ts.map +1 -1
- package/dist/src/server-bootstrap/routes-loader.js +16 -0
- package/dist/src/server-bootstrap/routes-loader.js.map +1 -1
- package/dist/src/server-bootstrap/static-files.d.ts +3 -0
- package/dist/src/server-bootstrap/static-files.d.ts.map +1 -1
- package/dist/src/server-bootstrap/static-files.js +19 -2
- package/dist/src/server-bootstrap/static-files.js.map +1 -1
- package/dist/src/server.d.ts.map +1 -1
- package/dist/src/server.js +5 -0
- package/dist/src/server.js.map +1 -1
- package/dist/src/services/hooks.js +2 -2
- package/dist/src/services/hooks.js.map +1 -1
- package/dist/src/services/oidc-client.d.ts +3 -0
- package/dist/src/services/oidc-client.d.ts.map +1 -1
- package/dist/src/services/oidc-client.js +17 -2
- package/dist/src/services/oidc-client.js.map +1 -1
- package/dist/src/services/quota.d.ts +14 -1
- package/dist/src/services/quota.d.ts.map +1 -1
- package/dist/src/services/quota.js +28 -1
- package/dist/src/services/quota.js.map +1 -1
- package/dist/src/services/webhook-dispatcher.d.ts.map +1 -1
- package/dist/src/services/webhook-dispatcher.js +3 -2
- package/dist/src/services/webhook-dispatcher.js.map +1 -1
- package/dist/src/storage/interface.d.ts +17 -2
- package/dist/src/storage/interface.d.ts.map +1 -1
- package/dist/src/storage/interface.js.map +1 -1
- package/dist/src/storage/providers/mongodb/index.d.ts +15 -1
- package/dist/src/storage/providers/mongodb/index.d.ts.map +1 -1
- package/dist/src/storage/providers/mongodb/index.js +106 -0
- package/dist/src/storage/providers/mongodb/index.js.map +1 -1
- package/dist/src/storage/providers/sqlite/index.d.ts +9 -1
- package/dist/src/storage/providers/sqlite/index.d.ts.map +1 -1
- package/dist/src/storage/providers/sqlite/index.js +97 -4
- package/dist/src/storage/providers/sqlite/index.js.map +1 -1
- package/dist/src/storage/providers/sqlite/repos/identity.d.ts +1 -0
- package/dist/src/storage/providers/sqlite/repos/identity.d.ts.map +1 -1
- package/dist/src/storage/providers/sqlite/repos/identity.js +10 -4
- package/dist/src/storage/providers/sqlite/repos/identity.js.map +1 -1
- package/dist/src/storage/providers/sqlite/schema.d.ts.map +1 -1
- package/dist/src/storage/providers/sqlite/schema.js +21 -0
- package/dist/src/storage/providers/sqlite/schema.js.map +1 -1
- package/dist/src/storage/repositories/app-grant.repository.d.ts +22 -0
- package/dist/src/storage/repositories/app-grant.repository.d.ts.map +1 -0
- package/dist/src/storage/repositories/app-grant.repository.js +2 -0
- package/dist/src/storage/repositories/app-grant.repository.js.map +1 -0
- package/dist/src/storage/repositories/identity.repository.d.ts +1 -0
- package/dist/src/storage/repositories/identity.repository.d.ts.map +1 -1
- package/dist/src/storage/repositories/index.d.ts +1 -0
- package/dist/src/storage/repositories/index.d.ts.map +1 -1
- package/dist/src/utils/env-config.d.ts +5 -2
- package/dist/src/utils/env-config.d.ts.map +1 -1
- package/dist/src/utils/env-config.js +45 -2
- package/dist/src/utils/env-config.js.map +1 -1
- package/dist/src/utils/env-validator.d.ts +6 -3
- package/dist/src/utils/env-validator.d.ts.map +1 -1
- package/dist/src/utils/env-validator.js +14 -3
- package/dist/src/utils/env-validator.js.map +1 -1
- package/dist/src/utils/url-validator.d.ts +15 -0
- package/dist/src/utils/url-validator.d.ts.map +1 -1
- package/dist/src/utils/url-validator.js +120 -30
- package/dist/src/utils/url-validator.js.map +1 -1
- package/dist/static/app-catalog.html +81 -24
- package/package.json +3 -1
- package/prisma/schema.postgres.prisma +20 -0
- package/prisma/schema.prisma +20 -0
|
@@ -473,6 +473,11 @@ export type AgentOnboarding = $Result.DefaultSelection<Prisma.$AgentOnboardingPa
|
|
|
473
473
|
*
|
|
474
474
|
*/
|
|
475
475
|
export type SubdomainSite = $Result.DefaultSelection<Prisma.$SubdomainSitePayload>
|
|
476
|
+
/**
|
|
477
|
+
* Model AppGrant
|
|
478
|
+
*
|
|
479
|
+
*/
|
|
480
|
+
export type AppGrant = $Result.DefaultSelection<Prisma.$AppGrantPayload>
|
|
476
481
|
/**
|
|
477
482
|
* Model AgentMessage
|
|
478
483
|
*
|
|
@@ -1532,6 +1537,16 @@ export class PrismaClient<
|
|
|
1532
1537
|
*/
|
|
1533
1538
|
get subdomainSite(): Prisma.SubdomainSiteDelegate<ExtArgs, ClientOptions>;
|
|
1534
1539
|
|
|
1540
|
+
/**
|
|
1541
|
+
* `prisma.appGrant`: Exposes CRUD operations for the **AppGrant** model.
|
|
1542
|
+
* Example usage:
|
|
1543
|
+
* ```ts
|
|
1544
|
+
* // Fetch zero or more AppGrants
|
|
1545
|
+
* const appGrants = await prisma.appGrant.findMany()
|
|
1546
|
+
* ```
|
|
1547
|
+
*/
|
|
1548
|
+
get appGrant(): Prisma.AppGrantDelegate<ExtArgs, ClientOptions>;
|
|
1549
|
+
|
|
1535
1550
|
/**
|
|
1536
1551
|
* `prisma.agentMessage`: Exposes CRUD operations for the **AgentMessage** model.
|
|
1537
1552
|
* Example usage:
|
|
@@ -2104,6 +2119,7 @@ export namespace Prisma {
|
|
|
2104
2119
|
WebhookDeliveryLog: 'WebhookDeliveryLog',
|
|
2105
2120
|
AgentOnboarding: 'AgentOnboarding',
|
|
2106
2121
|
SubdomainSite: 'SubdomainSite',
|
|
2122
|
+
AppGrant: 'AppGrant',
|
|
2107
2123
|
AgentMessage: 'AgentMessage',
|
|
2108
2124
|
DirectMessage: 'DirectMessage',
|
|
2109
2125
|
ContactConsent: 'ContactConsent',
|
|
@@ -2126,7 +2142,7 @@ export namespace Prisma {
|
|
|
2126
2142
|
omit: GlobalOmitOptions
|
|
2127
2143
|
}
|
|
2128
2144
|
meta: {
|
|
2129
|
-
modelProps: "owner" | "agent" | "memory" | "action" | "work" | "transaction" | "board" | "boardPost" | "otk" | "dispute" | "disputeAudit" | "microMemory" | "storageFile" | "peeringRequest" | "nodeKey" | "systemSetting" | "realtimeRoom" | "siteChangeLog" | "ghii" | "extension" | "extensionInstance" | "escrowHold" | "pushSubscription" | "notificationTemplate" | "boardSubscription" | "personalNode" | "mailboxItem" | "chatInstance" | "schemaLock" | "consent" | "consentAudit" | "csm" | "msm" | "emailVerification" | "flag" | "match" | "organism" | "organismMembership" | "joinRequest" | "pendingApproval" | "appeal" | "listing" | "purchase" | "trustedIssuer" | "verificationNonce" | "genesisPeer" | "federationPeer" | "organismReputation" | "cortexExtension" | "cortexLibFile" | "personalPushSubscription" | "notificationPreference" | "session" | "personalAccessToken" | "revokedToken" | "app" | "appDownload" | "appPurchase" | "knowledgeLink" | "knowledgeReview" | "scheduledJob" | "executionLog" | "deviceAuth" | "ecosystemApp" | "ecoAuth" | "ecoAutomationRecipe" | "oAuthClient" | "oAuthRefreshToken" | "oAuthApproval" | "systemPrompt" | "systemPromptVersion" | "package" | "templateListing" | "templateReview" | "templateDiscussion" | "packageInstance" | "capability" | "capabilityLog" | "capabilityVouch" | "replicationQueue" | "statsCounter" | "statsDailyHistory" | "agentTask" | "agentTaskEvent" | "agentDirective" | "ownerAgentDefault" | "sharingGroup" | "agentActivity" | "telemetryEvent" | "webhookDeliveryLog" | "agentOnboarding" | "subdomainSite" | "agentMessage" | "directMessage" | "contactConsent" | "messageDeliveryLog"
|
|
2145
|
+
modelProps: "owner" | "agent" | "memory" | "action" | "work" | "transaction" | "board" | "boardPost" | "otk" | "dispute" | "disputeAudit" | "microMemory" | "storageFile" | "peeringRequest" | "nodeKey" | "systemSetting" | "realtimeRoom" | "siteChangeLog" | "ghii" | "extension" | "extensionInstance" | "escrowHold" | "pushSubscription" | "notificationTemplate" | "boardSubscription" | "personalNode" | "mailboxItem" | "chatInstance" | "schemaLock" | "consent" | "consentAudit" | "csm" | "msm" | "emailVerification" | "flag" | "match" | "organism" | "organismMembership" | "joinRequest" | "pendingApproval" | "appeal" | "listing" | "purchase" | "trustedIssuer" | "verificationNonce" | "genesisPeer" | "federationPeer" | "organismReputation" | "cortexExtension" | "cortexLibFile" | "personalPushSubscription" | "notificationPreference" | "session" | "personalAccessToken" | "revokedToken" | "app" | "appDownload" | "appPurchase" | "knowledgeLink" | "knowledgeReview" | "scheduledJob" | "executionLog" | "deviceAuth" | "ecosystemApp" | "ecoAuth" | "ecoAutomationRecipe" | "oAuthClient" | "oAuthRefreshToken" | "oAuthApproval" | "systemPrompt" | "systemPromptVersion" | "package" | "templateListing" | "templateReview" | "templateDiscussion" | "packageInstance" | "capability" | "capabilityLog" | "capabilityVouch" | "replicationQueue" | "statsCounter" | "statsDailyHistory" | "agentTask" | "agentTaskEvent" | "agentDirective" | "ownerAgentDefault" | "sharingGroup" | "agentActivity" | "telemetryEvent" | "webhookDeliveryLog" | "agentOnboarding" | "subdomainSite" | "appGrant" | "agentMessage" | "directMessage" | "contactConsent" | "messageDeliveryLog"
|
|
2130
2146
|
txIsolationLevel: Prisma.TransactionIsolationLevel
|
|
2131
2147
|
}
|
|
2132
2148
|
model: {
|
|
@@ -8938,6 +8954,80 @@ export namespace Prisma {
|
|
|
8938
8954
|
}
|
|
8939
8955
|
}
|
|
8940
8956
|
}
|
|
8957
|
+
AppGrant: {
|
|
8958
|
+
payload: Prisma.$AppGrantPayload<ExtArgs>
|
|
8959
|
+
fields: Prisma.AppGrantFieldRefs
|
|
8960
|
+
operations: {
|
|
8961
|
+
findUnique: {
|
|
8962
|
+
args: Prisma.AppGrantFindUniqueArgs<ExtArgs>
|
|
8963
|
+
result: $Utils.PayloadToResult<Prisma.$AppGrantPayload> | null
|
|
8964
|
+
}
|
|
8965
|
+
findUniqueOrThrow: {
|
|
8966
|
+
args: Prisma.AppGrantFindUniqueOrThrowArgs<ExtArgs>
|
|
8967
|
+
result: $Utils.PayloadToResult<Prisma.$AppGrantPayload>
|
|
8968
|
+
}
|
|
8969
|
+
findFirst: {
|
|
8970
|
+
args: Prisma.AppGrantFindFirstArgs<ExtArgs>
|
|
8971
|
+
result: $Utils.PayloadToResult<Prisma.$AppGrantPayload> | null
|
|
8972
|
+
}
|
|
8973
|
+
findFirstOrThrow: {
|
|
8974
|
+
args: Prisma.AppGrantFindFirstOrThrowArgs<ExtArgs>
|
|
8975
|
+
result: $Utils.PayloadToResult<Prisma.$AppGrantPayload>
|
|
8976
|
+
}
|
|
8977
|
+
findMany: {
|
|
8978
|
+
args: Prisma.AppGrantFindManyArgs<ExtArgs>
|
|
8979
|
+
result: $Utils.PayloadToResult<Prisma.$AppGrantPayload>[]
|
|
8980
|
+
}
|
|
8981
|
+
create: {
|
|
8982
|
+
args: Prisma.AppGrantCreateArgs<ExtArgs>
|
|
8983
|
+
result: $Utils.PayloadToResult<Prisma.$AppGrantPayload>
|
|
8984
|
+
}
|
|
8985
|
+
createMany: {
|
|
8986
|
+
args: Prisma.AppGrantCreateManyArgs<ExtArgs>
|
|
8987
|
+
result: BatchPayload
|
|
8988
|
+
}
|
|
8989
|
+
createManyAndReturn: {
|
|
8990
|
+
args: Prisma.AppGrantCreateManyAndReturnArgs<ExtArgs>
|
|
8991
|
+
result: $Utils.PayloadToResult<Prisma.$AppGrantPayload>[]
|
|
8992
|
+
}
|
|
8993
|
+
delete: {
|
|
8994
|
+
args: Prisma.AppGrantDeleteArgs<ExtArgs>
|
|
8995
|
+
result: $Utils.PayloadToResult<Prisma.$AppGrantPayload>
|
|
8996
|
+
}
|
|
8997
|
+
update: {
|
|
8998
|
+
args: Prisma.AppGrantUpdateArgs<ExtArgs>
|
|
8999
|
+
result: $Utils.PayloadToResult<Prisma.$AppGrantPayload>
|
|
9000
|
+
}
|
|
9001
|
+
deleteMany: {
|
|
9002
|
+
args: Prisma.AppGrantDeleteManyArgs<ExtArgs>
|
|
9003
|
+
result: BatchPayload
|
|
9004
|
+
}
|
|
9005
|
+
updateMany: {
|
|
9006
|
+
args: Prisma.AppGrantUpdateManyArgs<ExtArgs>
|
|
9007
|
+
result: BatchPayload
|
|
9008
|
+
}
|
|
9009
|
+
updateManyAndReturn: {
|
|
9010
|
+
args: Prisma.AppGrantUpdateManyAndReturnArgs<ExtArgs>
|
|
9011
|
+
result: $Utils.PayloadToResult<Prisma.$AppGrantPayload>[]
|
|
9012
|
+
}
|
|
9013
|
+
upsert: {
|
|
9014
|
+
args: Prisma.AppGrantUpsertArgs<ExtArgs>
|
|
9015
|
+
result: $Utils.PayloadToResult<Prisma.$AppGrantPayload>
|
|
9016
|
+
}
|
|
9017
|
+
aggregate: {
|
|
9018
|
+
args: Prisma.AppGrantAggregateArgs<ExtArgs>
|
|
9019
|
+
result: $Utils.Optional<AggregateAppGrant>
|
|
9020
|
+
}
|
|
9021
|
+
groupBy: {
|
|
9022
|
+
args: Prisma.AppGrantGroupByArgs<ExtArgs>
|
|
9023
|
+
result: $Utils.Optional<AppGrantGroupByOutputType>[]
|
|
9024
|
+
}
|
|
9025
|
+
count: {
|
|
9026
|
+
args: Prisma.AppGrantCountArgs<ExtArgs>
|
|
9027
|
+
result: $Utils.Optional<AppGrantCountAggregateOutputType> | number
|
|
9028
|
+
}
|
|
9029
|
+
}
|
|
9030
|
+
}
|
|
8941
9031
|
AgentMessage: {
|
|
8942
9032
|
payload: Prisma.$AgentMessagePayload<ExtArgs>
|
|
8943
9033
|
fields: Prisma.AgentMessageFieldRefs
|
|
@@ -9422,6 +9512,7 @@ export namespace Prisma {
|
|
|
9422
9512
|
webhookDeliveryLog?: WebhookDeliveryLogOmit
|
|
9423
9513
|
agentOnboarding?: AgentOnboardingOmit
|
|
9424
9514
|
subdomainSite?: SubdomainSiteOmit
|
|
9515
|
+
appGrant?: AppGrantOmit
|
|
9425
9516
|
agentMessage?: AgentMessageOmit
|
|
9426
9517
|
directMessage?: DirectMessageOmit
|
|
9427
9518
|
contactConsent?: ContactConsentOmit
|
|
@@ -29115,6 +29206,7 @@ export namespace Prisma {
|
|
|
29115
29206
|
verificationIssuer: string | null
|
|
29116
29207
|
verificationCredentialHash: string | null
|
|
29117
29208
|
ftnVerified: boolean | null
|
|
29209
|
+
googleSub: string | null
|
|
29118
29210
|
trustScore: number | null
|
|
29119
29211
|
morselBalance: number | null
|
|
29120
29212
|
createdAt: Date | null
|
|
@@ -29149,6 +29241,7 @@ export namespace Prisma {
|
|
|
29149
29241
|
verificationIssuer: string | null
|
|
29150
29242
|
verificationCredentialHash: string | null
|
|
29151
29243
|
ftnVerified: boolean | null
|
|
29244
|
+
googleSub: string | null
|
|
29152
29245
|
trustScore: number | null
|
|
29153
29246
|
morselBalance: number | null
|
|
29154
29247
|
createdAt: Date | null
|
|
@@ -29185,6 +29278,7 @@ export namespace Prisma {
|
|
|
29185
29278
|
verificationIssuer: number
|
|
29186
29279
|
verificationCredentialHash: number
|
|
29187
29280
|
ftnVerified: number
|
|
29281
|
+
googleSub: number
|
|
29188
29282
|
trustScore: number
|
|
29189
29283
|
morselBalance: number
|
|
29190
29284
|
allowedOrigins: number
|
|
@@ -29238,6 +29332,7 @@ export namespace Prisma {
|
|
|
29238
29332
|
verificationIssuer?: true
|
|
29239
29333
|
verificationCredentialHash?: true
|
|
29240
29334
|
ftnVerified?: true
|
|
29335
|
+
googleSub?: true
|
|
29241
29336
|
trustScore?: true
|
|
29242
29337
|
morselBalance?: true
|
|
29243
29338
|
createdAt?: true
|
|
@@ -29272,6 +29367,7 @@ export namespace Prisma {
|
|
|
29272
29367
|
verificationIssuer?: true
|
|
29273
29368
|
verificationCredentialHash?: true
|
|
29274
29369
|
ftnVerified?: true
|
|
29370
|
+
googleSub?: true
|
|
29275
29371
|
trustScore?: true
|
|
29276
29372
|
morselBalance?: true
|
|
29277
29373
|
createdAt?: true
|
|
@@ -29308,6 +29404,7 @@ export namespace Prisma {
|
|
|
29308
29404
|
verificationIssuer?: true
|
|
29309
29405
|
verificationCredentialHash?: true
|
|
29310
29406
|
ftnVerified?: true
|
|
29407
|
+
googleSub?: true
|
|
29311
29408
|
trustScore?: true
|
|
29312
29409
|
morselBalance?: true
|
|
29313
29410
|
allowedOrigins?: true
|
|
@@ -29432,6 +29529,7 @@ export namespace Prisma {
|
|
|
29432
29529
|
verificationIssuer: string | null
|
|
29433
29530
|
verificationCredentialHash: string | null
|
|
29434
29531
|
ftnVerified: boolean
|
|
29532
|
+
googleSub: string | null
|
|
29435
29533
|
trustScore: number | null
|
|
29436
29534
|
morselBalance: number | null
|
|
29437
29535
|
allowedOrigins: string[]
|
|
@@ -29488,6 +29586,7 @@ export namespace Prisma {
|
|
|
29488
29586
|
verificationIssuer?: boolean
|
|
29489
29587
|
verificationCredentialHash?: boolean
|
|
29490
29588
|
ftnVerified?: boolean
|
|
29589
|
+
googleSub?: boolean
|
|
29491
29590
|
trustScore?: boolean
|
|
29492
29591
|
morselBalance?: boolean
|
|
29493
29592
|
allowedOrigins?: boolean
|
|
@@ -29525,6 +29624,7 @@ export namespace Prisma {
|
|
|
29525
29624
|
verificationIssuer?: boolean
|
|
29526
29625
|
verificationCredentialHash?: boolean
|
|
29527
29626
|
ftnVerified?: boolean
|
|
29627
|
+
googleSub?: boolean
|
|
29528
29628
|
trustScore?: boolean
|
|
29529
29629
|
morselBalance?: boolean
|
|
29530
29630
|
allowedOrigins?: boolean
|
|
@@ -29562,6 +29662,7 @@ export namespace Prisma {
|
|
|
29562
29662
|
verificationIssuer?: boolean
|
|
29563
29663
|
verificationCredentialHash?: boolean
|
|
29564
29664
|
ftnVerified?: boolean
|
|
29665
|
+
googleSub?: boolean
|
|
29565
29666
|
trustScore?: boolean
|
|
29566
29667
|
morselBalance?: boolean
|
|
29567
29668
|
allowedOrigins?: boolean
|
|
@@ -29599,6 +29700,7 @@ export namespace Prisma {
|
|
|
29599
29700
|
verificationIssuer?: boolean
|
|
29600
29701
|
verificationCredentialHash?: boolean
|
|
29601
29702
|
ftnVerified?: boolean
|
|
29703
|
+
googleSub?: boolean
|
|
29602
29704
|
trustScore?: boolean
|
|
29603
29705
|
morselBalance?: boolean
|
|
29604
29706
|
allowedOrigins?: boolean
|
|
@@ -29606,7 +29708,7 @@ export namespace Prisma {
|
|
|
29606
29708
|
updatedAt?: boolean
|
|
29607
29709
|
}
|
|
29608
29710
|
|
|
29609
|
-
export type GhiiOmit<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = $Extensions.GetOmit<"id" | "username" | "nodeId" | "ghii" | "displayName" | "bio" | "avatar" | "locale" | "passwordHash" | "verificationLevel" | "ownerName" | "totpSecret" | "totpEnabled" | "totpBackupCodes" | "totpLastUsedAt" | "totpLastUsedCode" | "totpFailedAttempts" | "totpLockedUntil" | "emailHash" | "emailVerifiedAt" | "notificationEmail" | "verificationMethod" | "magicLinkEnabled" | "lastLoginAt" | "loginCount" | "verifiedAttributes" | "verificationIssuer" | "verificationCredentialHash" | "ftnVerified" | "trustScore" | "morselBalance" | "allowedOrigins" | "createdAt" | "updatedAt", ExtArgs["result"]["ghii"]>
|
|
29711
|
+
export type GhiiOmit<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = $Extensions.GetOmit<"id" | "username" | "nodeId" | "ghii" | "displayName" | "bio" | "avatar" | "locale" | "passwordHash" | "verificationLevel" | "ownerName" | "totpSecret" | "totpEnabled" | "totpBackupCodes" | "totpLastUsedAt" | "totpLastUsedCode" | "totpFailedAttempts" | "totpLockedUntil" | "emailHash" | "emailVerifiedAt" | "notificationEmail" | "verificationMethod" | "magicLinkEnabled" | "lastLoginAt" | "loginCount" | "verifiedAttributes" | "verificationIssuer" | "verificationCredentialHash" | "ftnVerified" | "googleSub" | "trustScore" | "morselBalance" | "allowedOrigins" | "createdAt" | "updatedAt", ExtArgs["result"]["ghii"]>
|
|
29610
29712
|
|
|
29611
29713
|
export type $GhiiPayload<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
|
|
29612
29714
|
name: "Ghii"
|
|
@@ -29641,6 +29743,7 @@ export namespace Prisma {
|
|
|
29641
29743
|
verificationIssuer: string | null
|
|
29642
29744
|
verificationCredentialHash: string | null
|
|
29643
29745
|
ftnVerified: boolean
|
|
29746
|
+
googleSub: string | null
|
|
29644
29747
|
trustScore: number | null
|
|
29645
29748
|
morselBalance: number | null
|
|
29646
29749
|
allowedOrigins: string[]
|
|
@@ -30098,6 +30201,7 @@ export namespace Prisma {
|
|
|
30098
30201
|
readonly verificationIssuer: FieldRef<"Ghii", 'String'>
|
|
30099
30202
|
readonly verificationCredentialHash: FieldRef<"Ghii", 'String'>
|
|
30100
30203
|
readonly ftnVerified: FieldRef<"Ghii", 'Boolean'>
|
|
30204
|
+
readonly googleSub: FieldRef<"Ghii", 'String'>
|
|
30101
30205
|
readonly trustScore: FieldRef<"Ghii", 'Int'>
|
|
30102
30206
|
readonly morselBalance: FieldRef<"Ghii", 'Int'>
|
|
30103
30207
|
readonly allowedOrigins: FieldRef<"Ghii", 'String[]'>
|
|
@@ -109420,380 +109524,1462 @@ export namespace Prisma {
|
|
|
109420
109524
|
|
|
109421
109525
|
|
|
109422
109526
|
/**
|
|
109423
|
-
* Fields of the SubdomainSite model
|
|
109527
|
+
* Fields of the SubdomainSite model
|
|
109528
|
+
*/
|
|
109529
|
+
interface SubdomainSiteFieldRefs {
|
|
109530
|
+
readonly id: FieldRef<"SubdomainSite", 'String'>
|
|
109531
|
+
readonly subdomain: FieldRef<"SubdomainSite", 'String'>
|
|
109532
|
+
readonly kind: FieldRef<"SubdomainSite", 'String'>
|
|
109533
|
+
readonly target: FieldRef<"SubdomainSite", 'String'>
|
|
109534
|
+
readonly enabled: FieldRef<"SubdomainSite", 'Boolean'>
|
|
109535
|
+
readonly createdBy: FieldRef<"SubdomainSite", 'String'>
|
|
109536
|
+
readonly createdAt: FieldRef<"SubdomainSite", 'DateTime'>
|
|
109537
|
+
readonly updatedAt: FieldRef<"SubdomainSite", 'DateTime'>
|
|
109538
|
+
}
|
|
109539
|
+
|
|
109540
|
+
|
|
109541
|
+
// Custom InputTypes
|
|
109542
|
+
/**
|
|
109543
|
+
* SubdomainSite findUnique
|
|
109544
|
+
*/
|
|
109545
|
+
export type SubdomainSiteFindUniqueArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
|
|
109546
|
+
/**
|
|
109547
|
+
* Select specific fields to fetch from the SubdomainSite
|
|
109548
|
+
*/
|
|
109549
|
+
select?: SubdomainSiteSelect<ExtArgs> | null
|
|
109550
|
+
/**
|
|
109551
|
+
* Omit specific fields from the SubdomainSite
|
|
109552
|
+
*/
|
|
109553
|
+
omit?: SubdomainSiteOmit<ExtArgs> | null
|
|
109554
|
+
/**
|
|
109555
|
+
* Filter, which SubdomainSite to fetch.
|
|
109556
|
+
*/
|
|
109557
|
+
where: SubdomainSiteWhereUniqueInput
|
|
109558
|
+
}
|
|
109559
|
+
|
|
109560
|
+
/**
|
|
109561
|
+
* SubdomainSite findUniqueOrThrow
|
|
109562
|
+
*/
|
|
109563
|
+
export type SubdomainSiteFindUniqueOrThrowArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
|
|
109564
|
+
/**
|
|
109565
|
+
* Select specific fields to fetch from the SubdomainSite
|
|
109566
|
+
*/
|
|
109567
|
+
select?: SubdomainSiteSelect<ExtArgs> | null
|
|
109568
|
+
/**
|
|
109569
|
+
* Omit specific fields from the SubdomainSite
|
|
109570
|
+
*/
|
|
109571
|
+
omit?: SubdomainSiteOmit<ExtArgs> | null
|
|
109572
|
+
/**
|
|
109573
|
+
* Filter, which SubdomainSite to fetch.
|
|
109574
|
+
*/
|
|
109575
|
+
where: SubdomainSiteWhereUniqueInput
|
|
109576
|
+
}
|
|
109577
|
+
|
|
109578
|
+
/**
|
|
109579
|
+
* SubdomainSite findFirst
|
|
109580
|
+
*/
|
|
109581
|
+
export type SubdomainSiteFindFirstArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
|
|
109582
|
+
/**
|
|
109583
|
+
* Select specific fields to fetch from the SubdomainSite
|
|
109584
|
+
*/
|
|
109585
|
+
select?: SubdomainSiteSelect<ExtArgs> | null
|
|
109586
|
+
/**
|
|
109587
|
+
* Omit specific fields from the SubdomainSite
|
|
109588
|
+
*/
|
|
109589
|
+
omit?: SubdomainSiteOmit<ExtArgs> | null
|
|
109590
|
+
/**
|
|
109591
|
+
* Filter, which SubdomainSite to fetch.
|
|
109592
|
+
*/
|
|
109593
|
+
where?: SubdomainSiteWhereInput
|
|
109594
|
+
/**
|
|
109595
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
|
|
109596
|
+
*
|
|
109597
|
+
* Determine the order of SubdomainSites to fetch.
|
|
109598
|
+
*/
|
|
109599
|
+
orderBy?: SubdomainSiteOrderByWithRelationInput | SubdomainSiteOrderByWithRelationInput[]
|
|
109600
|
+
/**
|
|
109601
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
|
|
109602
|
+
*
|
|
109603
|
+
* Sets the position for searching for SubdomainSites.
|
|
109604
|
+
*/
|
|
109605
|
+
cursor?: SubdomainSiteWhereUniqueInput
|
|
109606
|
+
/**
|
|
109607
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
109608
|
+
*
|
|
109609
|
+
* Take `±n` SubdomainSites from the position of the cursor.
|
|
109610
|
+
*/
|
|
109611
|
+
take?: number
|
|
109612
|
+
/**
|
|
109613
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
109614
|
+
*
|
|
109615
|
+
* Skip the first `n` SubdomainSites.
|
|
109616
|
+
*/
|
|
109617
|
+
skip?: number
|
|
109618
|
+
/**
|
|
109619
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
|
|
109620
|
+
*
|
|
109621
|
+
* Filter by unique combinations of SubdomainSites.
|
|
109622
|
+
*/
|
|
109623
|
+
distinct?: SubdomainSiteScalarFieldEnum | SubdomainSiteScalarFieldEnum[]
|
|
109624
|
+
}
|
|
109625
|
+
|
|
109626
|
+
/**
|
|
109627
|
+
* SubdomainSite findFirstOrThrow
|
|
109628
|
+
*/
|
|
109629
|
+
export type SubdomainSiteFindFirstOrThrowArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
|
|
109630
|
+
/**
|
|
109631
|
+
* Select specific fields to fetch from the SubdomainSite
|
|
109632
|
+
*/
|
|
109633
|
+
select?: SubdomainSiteSelect<ExtArgs> | null
|
|
109634
|
+
/**
|
|
109635
|
+
* Omit specific fields from the SubdomainSite
|
|
109636
|
+
*/
|
|
109637
|
+
omit?: SubdomainSiteOmit<ExtArgs> | null
|
|
109638
|
+
/**
|
|
109639
|
+
* Filter, which SubdomainSite to fetch.
|
|
109640
|
+
*/
|
|
109641
|
+
where?: SubdomainSiteWhereInput
|
|
109642
|
+
/**
|
|
109643
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
|
|
109644
|
+
*
|
|
109645
|
+
* Determine the order of SubdomainSites to fetch.
|
|
109646
|
+
*/
|
|
109647
|
+
orderBy?: SubdomainSiteOrderByWithRelationInput | SubdomainSiteOrderByWithRelationInput[]
|
|
109648
|
+
/**
|
|
109649
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
|
|
109650
|
+
*
|
|
109651
|
+
* Sets the position for searching for SubdomainSites.
|
|
109652
|
+
*/
|
|
109653
|
+
cursor?: SubdomainSiteWhereUniqueInput
|
|
109654
|
+
/**
|
|
109655
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
109656
|
+
*
|
|
109657
|
+
* Take `±n` SubdomainSites from the position of the cursor.
|
|
109658
|
+
*/
|
|
109659
|
+
take?: number
|
|
109660
|
+
/**
|
|
109661
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
109662
|
+
*
|
|
109663
|
+
* Skip the first `n` SubdomainSites.
|
|
109664
|
+
*/
|
|
109665
|
+
skip?: number
|
|
109666
|
+
/**
|
|
109667
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
|
|
109668
|
+
*
|
|
109669
|
+
* Filter by unique combinations of SubdomainSites.
|
|
109670
|
+
*/
|
|
109671
|
+
distinct?: SubdomainSiteScalarFieldEnum | SubdomainSiteScalarFieldEnum[]
|
|
109672
|
+
}
|
|
109673
|
+
|
|
109674
|
+
/**
|
|
109675
|
+
* SubdomainSite findMany
|
|
109676
|
+
*/
|
|
109677
|
+
export type SubdomainSiteFindManyArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
|
|
109678
|
+
/**
|
|
109679
|
+
* Select specific fields to fetch from the SubdomainSite
|
|
109680
|
+
*/
|
|
109681
|
+
select?: SubdomainSiteSelect<ExtArgs> | null
|
|
109682
|
+
/**
|
|
109683
|
+
* Omit specific fields from the SubdomainSite
|
|
109684
|
+
*/
|
|
109685
|
+
omit?: SubdomainSiteOmit<ExtArgs> | null
|
|
109686
|
+
/**
|
|
109687
|
+
* Filter, which SubdomainSites to fetch.
|
|
109688
|
+
*/
|
|
109689
|
+
where?: SubdomainSiteWhereInput
|
|
109690
|
+
/**
|
|
109691
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
|
|
109692
|
+
*
|
|
109693
|
+
* Determine the order of SubdomainSites to fetch.
|
|
109694
|
+
*/
|
|
109695
|
+
orderBy?: SubdomainSiteOrderByWithRelationInput | SubdomainSiteOrderByWithRelationInput[]
|
|
109696
|
+
/**
|
|
109697
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
|
|
109698
|
+
*
|
|
109699
|
+
* Sets the position for listing SubdomainSites.
|
|
109700
|
+
*/
|
|
109701
|
+
cursor?: SubdomainSiteWhereUniqueInput
|
|
109702
|
+
/**
|
|
109703
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
109704
|
+
*
|
|
109705
|
+
* Take `±n` SubdomainSites from the position of the cursor.
|
|
109706
|
+
*/
|
|
109707
|
+
take?: number
|
|
109708
|
+
/**
|
|
109709
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
109710
|
+
*
|
|
109711
|
+
* Skip the first `n` SubdomainSites.
|
|
109712
|
+
*/
|
|
109713
|
+
skip?: number
|
|
109714
|
+
distinct?: SubdomainSiteScalarFieldEnum | SubdomainSiteScalarFieldEnum[]
|
|
109715
|
+
}
|
|
109716
|
+
|
|
109717
|
+
/**
|
|
109718
|
+
* SubdomainSite create
|
|
109719
|
+
*/
|
|
109720
|
+
export type SubdomainSiteCreateArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
|
|
109721
|
+
/**
|
|
109722
|
+
* Select specific fields to fetch from the SubdomainSite
|
|
109723
|
+
*/
|
|
109724
|
+
select?: SubdomainSiteSelect<ExtArgs> | null
|
|
109725
|
+
/**
|
|
109726
|
+
* Omit specific fields from the SubdomainSite
|
|
109727
|
+
*/
|
|
109728
|
+
omit?: SubdomainSiteOmit<ExtArgs> | null
|
|
109729
|
+
/**
|
|
109730
|
+
* The data needed to create a SubdomainSite.
|
|
109731
|
+
*/
|
|
109732
|
+
data: XOR<SubdomainSiteCreateInput, SubdomainSiteUncheckedCreateInput>
|
|
109733
|
+
}
|
|
109734
|
+
|
|
109735
|
+
/**
|
|
109736
|
+
* SubdomainSite createMany
|
|
109737
|
+
*/
|
|
109738
|
+
export type SubdomainSiteCreateManyArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
|
|
109739
|
+
/**
|
|
109740
|
+
* The data used to create many SubdomainSites.
|
|
109741
|
+
*/
|
|
109742
|
+
data: SubdomainSiteCreateManyInput | SubdomainSiteCreateManyInput[]
|
|
109743
|
+
skipDuplicates?: boolean
|
|
109744
|
+
}
|
|
109745
|
+
|
|
109746
|
+
/**
|
|
109747
|
+
* SubdomainSite createManyAndReturn
|
|
109748
|
+
*/
|
|
109749
|
+
export type SubdomainSiteCreateManyAndReturnArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
|
|
109750
|
+
/**
|
|
109751
|
+
* Select specific fields to fetch from the SubdomainSite
|
|
109752
|
+
*/
|
|
109753
|
+
select?: SubdomainSiteSelectCreateManyAndReturn<ExtArgs> | null
|
|
109754
|
+
/**
|
|
109755
|
+
* Omit specific fields from the SubdomainSite
|
|
109756
|
+
*/
|
|
109757
|
+
omit?: SubdomainSiteOmit<ExtArgs> | null
|
|
109758
|
+
/**
|
|
109759
|
+
* The data used to create many SubdomainSites.
|
|
109760
|
+
*/
|
|
109761
|
+
data: SubdomainSiteCreateManyInput | SubdomainSiteCreateManyInput[]
|
|
109762
|
+
skipDuplicates?: boolean
|
|
109763
|
+
}
|
|
109764
|
+
|
|
109765
|
+
/**
|
|
109766
|
+
* SubdomainSite update
|
|
109767
|
+
*/
|
|
109768
|
+
export type SubdomainSiteUpdateArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
|
|
109769
|
+
/**
|
|
109770
|
+
* Select specific fields to fetch from the SubdomainSite
|
|
109771
|
+
*/
|
|
109772
|
+
select?: SubdomainSiteSelect<ExtArgs> | null
|
|
109773
|
+
/**
|
|
109774
|
+
* Omit specific fields from the SubdomainSite
|
|
109775
|
+
*/
|
|
109776
|
+
omit?: SubdomainSiteOmit<ExtArgs> | null
|
|
109777
|
+
/**
|
|
109778
|
+
* The data needed to update a SubdomainSite.
|
|
109779
|
+
*/
|
|
109780
|
+
data: XOR<SubdomainSiteUpdateInput, SubdomainSiteUncheckedUpdateInput>
|
|
109781
|
+
/**
|
|
109782
|
+
* Choose, which SubdomainSite to update.
|
|
109783
|
+
*/
|
|
109784
|
+
where: SubdomainSiteWhereUniqueInput
|
|
109785
|
+
}
|
|
109786
|
+
|
|
109787
|
+
/**
|
|
109788
|
+
* SubdomainSite updateMany
|
|
109789
|
+
*/
|
|
109790
|
+
export type SubdomainSiteUpdateManyArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
|
|
109791
|
+
/**
|
|
109792
|
+
* The data used to update SubdomainSites.
|
|
109793
|
+
*/
|
|
109794
|
+
data: XOR<SubdomainSiteUpdateManyMutationInput, SubdomainSiteUncheckedUpdateManyInput>
|
|
109795
|
+
/**
|
|
109796
|
+
* Filter which SubdomainSites to update
|
|
109797
|
+
*/
|
|
109798
|
+
where?: SubdomainSiteWhereInput
|
|
109799
|
+
/**
|
|
109800
|
+
* Limit how many SubdomainSites to update.
|
|
109801
|
+
*/
|
|
109802
|
+
limit?: number
|
|
109803
|
+
}
|
|
109804
|
+
|
|
109805
|
+
/**
|
|
109806
|
+
* SubdomainSite updateManyAndReturn
|
|
109807
|
+
*/
|
|
109808
|
+
export type SubdomainSiteUpdateManyAndReturnArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
|
|
109809
|
+
/**
|
|
109810
|
+
* Select specific fields to fetch from the SubdomainSite
|
|
109811
|
+
*/
|
|
109812
|
+
select?: SubdomainSiteSelectUpdateManyAndReturn<ExtArgs> | null
|
|
109813
|
+
/**
|
|
109814
|
+
* Omit specific fields from the SubdomainSite
|
|
109815
|
+
*/
|
|
109816
|
+
omit?: SubdomainSiteOmit<ExtArgs> | null
|
|
109817
|
+
/**
|
|
109818
|
+
* The data used to update SubdomainSites.
|
|
109819
|
+
*/
|
|
109820
|
+
data: XOR<SubdomainSiteUpdateManyMutationInput, SubdomainSiteUncheckedUpdateManyInput>
|
|
109821
|
+
/**
|
|
109822
|
+
* Filter which SubdomainSites to update
|
|
109823
|
+
*/
|
|
109824
|
+
where?: SubdomainSiteWhereInput
|
|
109825
|
+
/**
|
|
109826
|
+
* Limit how many SubdomainSites to update.
|
|
109827
|
+
*/
|
|
109828
|
+
limit?: number
|
|
109829
|
+
}
|
|
109830
|
+
|
|
109831
|
+
/**
|
|
109832
|
+
* SubdomainSite upsert
|
|
109833
|
+
*/
|
|
109834
|
+
export type SubdomainSiteUpsertArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
|
|
109835
|
+
/**
|
|
109836
|
+
* Select specific fields to fetch from the SubdomainSite
|
|
109837
|
+
*/
|
|
109838
|
+
select?: SubdomainSiteSelect<ExtArgs> | null
|
|
109839
|
+
/**
|
|
109840
|
+
* Omit specific fields from the SubdomainSite
|
|
109841
|
+
*/
|
|
109842
|
+
omit?: SubdomainSiteOmit<ExtArgs> | null
|
|
109843
|
+
/**
|
|
109844
|
+
* The filter to search for the SubdomainSite to update in case it exists.
|
|
109845
|
+
*/
|
|
109846
|
+
where: SubdomainSiteWhereUniqueInput
|
|
109847
|
+
/**
|
|
109848
|
+
* In case the SubdomainSite found by the `where` argument doesn't exist, create a new SubdomainSite with this data.
|
|
109849
|
+
*/
|
|
109850
|
+
create: XOR<SubdomainSiteCreateInput, SubdomainSiteUncheckedCreateInput>
|
|
109851
|
+
/**
|
|
109852
|
+
* In case the SubdomainSite was found with the provided `where` argument, update it with this data.
|
|
109853
|
+
*/
|
|
109854
|
+
update: XOR<SubdomainSiteUpdateInput, SubdomainSiteUncheckedUpdateInput>
|
|
109855
|
+
}
|
|
109856
|
+
|
|
109857
|
+
/**
|
|
109858
|
+
* SubdomainSite delete
|
|
109859
|
+
*/
|
|
109860
|
+
export type SubdomainSiteDeleteArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
|
|
109861
|
+
/**
|
|
109862
|
+
* Select specific fields to fetch from the SubdomainSite
|
|
109863
|
+
*/
|
|
109864
|
+
select?: SubdomainSiteSelect<ExtArgs> | null
|
|
109865
|
+
/**
|
|
109866
|
+
* Omit specific fields from the SubdomainSite
|
|
109867
|
+
*/
|
|
109868
|
+
omit?: SubdomainSiteOmit<ExtArgs> | null
|
|
109869
|
+
/**
|
|
109870
|
+
* Filter which SubdomainSite to delete.
|
|
109871
|
+
*/
|
|
109872
|
+
where: SubdomainSiteWhereUniqueInput
|
|
109873
|
+
}
|
|
109874
|
+
|
|
109875
|
+
/**
|
|
109876
|
+
* SubdomainSite deleteMany
|
|
109877
|
+
*/
|
|
109878
|
+
export type SubdomainSiteDeleteManyArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
|
|
109879
|
+
/**
|
|
109880
|
+
* Filter which SubdomainSites to delete
|
|
109881
|
+
*/
|
|
109882
|
+
where?: SubdomainSiteWhereInput
|
|
109883
|
+
/**
|
|
109884
|
+
* Limit how many SubdomainSites to delete.
|
|
109885
|
+
*/
|
|
109886
|
+
limit?: number
|
|
109887
|
+
}
|
|
109888
|
+
|
|
109889
|
+
/**
|
|
109890
|
+
* SubdomainSite without action
|
|
109891
|
+
*/
|
|
109892
|
+
export type SubdomainSiteDefaultArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
|
|
109893
|
+
/**
|
|
109894
|
+
* Select specific fields to fetch from the SubdomainSite
|
|
109895
|
+
*/
|
|
109896
|
+
select?: SubdomainSiteSelect<ExtArgs> | null
|
|
109897
|
+
/**
|
|
109898
|
+
* Omit specific fields from the SubdomainSite
|
|
109899
|
+
*/
|
|
109900
|
+
omit?: SubdomainSiteOmit<ExtArgs> | null
|
|
109901
|
+
}
|
|
109902
|
+
|
|
109903
|
+
|
|
109904
|
+
/**
|
|
109905
|
+
* Model AppGrant
|
|
109906
|
+
*/
|
|
109907
|
+
|
|
109908
|
+
export type AggregateAppGrant = {
|
|
109909
|
+
_count: AppGrantCountAggregateOutputType | null
|
|
109910
|
+
_min: AppGrantMinAggregateOutputType | null
|
|
109911
|
+
_max: AppGrantMaxAggregateOutputType | null
|
|
109912
|
+
}
|
|
109913
|
+
|
|
109914
|
+
export type AppGrantMinAggregateOutputType = {
|
|
109915
|
+
id: string | null
|
|
109916
|
+
grantId: string | null
|
|
109917
|
+
app: string | null
|
|
109918
|
+
appName: string | null
|
|
109919
|
+
appOrigin: string | null
|
|
109920
|
+
owner: string | null
|
|
109921
|
+
gaii: string | null
|
|
109922
|
+
refreshTokenHash: string | null
|
|
109923
|
+
createdAt: Date | null
|
|
109924
|
+
lastUsedAt: Date | null
|
|
109925
|
+
revoked: boolean | null
|
|
109926
|
+
}
|
|
109927
|
+
|
|
109928
|
+
export type AppGrantMaxAggregateOutputType = {
|
|
109929
|
+
id: string | null
|
|
109930
|
+
grantId: string | null
|
|
109931
|
+
app: string | null
|
|
109932
|
+
appName: string | null
|
|
109933
|
+
appOrigin: string | null
|
|
109934
|
+
owner: string | null
|
|
109935
|
+
gaii: string | null
|
|
109936
|
+
refreshTokenHash: string | null
|
|
109937
|
+
createdAt: Date | null
|
|
109938
|
+
lastUsedAt: Date | null
|
|
109939
|
+
revoked: boolean | null
|
|
109940
|
+
}
|
|
109941
|
+
|
|
109942
|
+
export type AppGrantCountAggregateOutputType = {
|
|
109943
|
+
id: number
|
|
109944
|
+
grantId: number
|
|
109945
|
+
app: number
|
|
109946
|
+
appName: number
|
|
109947
|
+
appOrigin: number
|
|
109948
|
+
owner: number
|
|
109949
|
+
gaii: number
|
|
109950
|
+
scopes: number
|
|
109951
|
+
refreshTokenHash: number
|
|
109952
|
+
createdAt: number
|
|
109953
|
+
lastUsedAt: number
|
|
109954
|
+
revoked: number
|
|
109955
|
+
_all: number
|
|
109956
|
+
}
|
|
109957
|
+
|
|
109958
|
+
|
|
109959
|
+
export type AppGrantMinAggregateInputType = {
|
|
109960
|
+
id?: true
|
|
109961
|
+
grantId?: true
|
|
109962
|
+
app?: true
|
|
109963
|
+
appName?: true
|
|
109964
|
+
appOrigin?: true
|
|
109965
|
+
owner?: true
|
|
109966
|
+
gaii?: true
|
|
109967
|
+
refreshTokenHash?: true
|
|
109968
|
+
createdAt?: true
|
|
109969
|
+
lastUsedAt?: true
|
|
109970
|
+
revoked?: true
|
|
109971
|
+
}
|
|
109972
|
+
|
|
109973
|
+
export type AppGrantMaxAggregateInputType = {
|
|
109974
|
+
id?: true
|
|
109975
|
+
grantId?: true
|
|
109976
|
+
app?: true
|
|
109977
|
+
appName?: true
|
|
109978
|
+
appOrigin?: true
|
|
109979
|
+
owner?: true
|
|
109980
|
+
gaii?: true
|
|
109981
|
+
refreshTokenHash?: true
|
|
109982
|
+
createdAt?: true
|
|
109983
|
+
lastUsedAt?: true
|
|
109984
|
+
revoked?: true
|
|
109985
|
+
}
|
|
109986
|
+
|
|
109987
|
+
export type AppGrantCountAggregateInputType = {
|
|
109988
|
+
id?: true
|
|
109989
|
+
grantId?: true
|
|
109990
|
+
app?: true
|
|
109991
|
+
appName?: true
|
|
109992
|
+
appOrigin?: true
|
|
109993
|
+
owner?: true
|
|
109994
|
+
gaii?: true
|
|
109995
|
+
scopes?: true
|
|
109996
|
+
refreshTokenHash?: true
|
|
109997
|
+
createdAt?: true
|
|
109998
|
+
lastUsedAt?: true
|
|
109999
|
+
revoked?: true
|
|
110000
|
+
_all?: true
|
|
110001
|
+
}
|
|
110002
|
+
|
|
110003
|
+
export type AppGrantAggregateArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
|
|
110004
|
+
/**
|
|
110005
|
+
* Filter which AppGrant to aggregate.
|
|
110006
|
+
*/
|
|
110007
|
+
where?: AppGrantWhereInput
|
|
110008
|
+
/**
|
|
110009
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
|
|
110010
|
+
*
|
|
110011
|
+
* Determine the order of AppGrants to fetch.
|
|
110012
|
+
*/
|
|
110013
|
+
orderBy?: AppGrantOrderByWithRelationInput | AppGrantOrderByWithRelationInput[]
|
|
110014
|
+
/**
|
|
110015
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
|
|
110016
|
+
*
|
|
110017
|
+
* Sets the start position
|
|
110018
|
+
*/
|
|
110019
|
+
cursor?: AppGrantWhereUniqueInput
|
|
110020
|
+
/**
|
|
110021
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
110022
|
+
*
|
|
110023
|
+
* Take `±n` AppGrants from the position of the cursor.
|
|
110024
|
+
*/
|
|
110025
|
+
take?: number
|
|
110026
|
+
/**
|
|
110027
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
110028
|
+
*
|
|
110029
|
+
* Skip the first `n` AppGrants.
|
|
110030
|
+
*/
|
|
110031
|
+
skip?: number
|
|
110032
|
+
/**
|
|
110033
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
|
|
110034
|
+
*
|
|
110035
|
+
* Count returned AppGrants
|
|
110036
|
+
**/
|
|
110037
|
+
_count?: true | AppGrantCountAggregateInputType
|
|
110038
|
+
/**
|
|
110039
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
|
|
110040
|
+
*
|
|
110041
|
+
* Select which fields to find the minimum value
|
|
110042
|
+
**/
|
|
110043
|
+
_min?: AppGrantMinAggregateInputType
|
|
110044
|
+
/**
|
|
110045
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
|
|
110046
|
+
*
|
|
110047
|
+
* Select which fields to find the maximum value
|
|
110048
|
+
**/
|
|
110049
|
+
_max?: AppGrantMaxAggregateInputType
|
|
110050
|
+
}
|
|
110051
|
+
|
|
110052
|
+
export type GetAppGrantAggregateType<T extends AppGrantAggregateArgs> = {
|
|
110053
|
+
[P in keyof T & keyof AggregateAppGrant]: P extends '_count' | 'count'
|
|
110054
|
+
? T[P] extends true
|
|
110055
|
+
? number
|
|
110056
|
+
: GetScalarType<T[P], AggregateAppGrant[P]>
|
|
110057
|
+
: GetScalarType<T[P], AggregateAppGrant[P]>
|
|
110058
|
+
}
|
|
110059
|
+
|
|
110060
|
+
|
|
110061
|
+
|
|
110062
|
+
|
|
110063
|
+
export type AppGrantGroupByArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
|
|
110064
|
+
where?: AppGrantWhereInput
|
|
110065
|
+
orderBy?: AppGrantOrderByWithAggregationInput | AppGrantOrderByWithAggregationInput[]
|
|
110066
|
+
by: AppGrantScalarFieldEnum[] | AppGrantScalarFieldEnum
|
|
110067
|
+
having?: AppGrantScalarWhereWithAggregatesInput
|
|
110068
|
+
take?: number
|
|
110069
|
+
skip?: number
|
|
110070
|
+
_count?: AppGrantCountAggregateInputType | true
|
|
110071
|
+
_min?: AppGrantMinAggregateInputType
|
|
110072
|
+
_max?: AppGrantMaxAggregateInputType
|
|
110073
|
+
}
|
|
110074
|
+
|
|
110075
|
+
export type AppGrantGroupByOutputType = {
|
|
110076
|
+
id: string
|
|
110077
|
+
grantId: string
|
|
110078
|
+
app: string
|
|
110079
|
+
appName: string
|
|
110080
|
+
appOrigin: string
|
|
110081
|
+
owner: string
|
|
110082
|
+
gaii: string
|
|
110083
|
+
scopes: string[]
|
|
110084
|
+
refreshTokenHash: string | null
|
|
110085
|
+
createdAt: Date
|
|
110086
|
+
lastUsedAt: Date | null
|
|
110087
|
+
revoked: boolean
|
|
110088
|
+
_count: AppGrantCountAggregateOutputType | null
|
|
110089
|
+
_min: AppGrantMinAggregateOutputType | null
|
|
110090
|
+
_max: AppGrantMaxAggregateOutputType | null
|
|
110091
|
+
}
|
|
110092
|
+
|
|
110093
|
+
type GetAppGrantGroupByPayload<T extends AppGrantGroupByArgs> = Prisma.PrismaPromise<
|
|
110094
|
+
Array<
|
|
110095
|
+
PickEnumerable<AppGrantGroupByOutputType, T['by']> &
|
|
110096
|
+
{
|
|
110097
|
+
[P in ((keyof T) & (keyof AppGrantGroupByOutputType))]: P extends '_count'
|
|
110098
|
+
? T[P] extends boolean
|
|
110099
|
+
? number
|
|
110100
|
+
: GetScalarType<T[P], AppGrantGroupByOutputType[P]>
|
|
110101
|
+
: GetScalarType<T[P], AppGrantGroupByOutputType[P]>
|
|
110102
|
+
}
|
|
110103
|
+
>
|
|
110104
|
+
>
|
|
110105
|
+
|
|
110106
|
+
|
|
110107
|
+
export type AppGrantSelect<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = $Extensions.GetSelect<{
|
|
110108
|
+
id?: boolean
|
|
110109
|
+
grantId?: boolean
|
|
110110
|
+
app?: boolean
|
|
110111
|
+
appName?: boolean
|
|
110112
|
+
appOrigin?: boolean
|
|
110113
|
+
owner?: boolean
|
|
110114
|
+
gaii?: boolean
|
|
110115
|
+
scopes?: boolean
|
|
110116
|
+
refreshTokenHash?: boolean
|
|
110117
|
+
createdAt?: boolean
|
|
110118
|
+
lastUsedAt?: boolean
|
|
110119
|
+
revoked?: boolean
|
|
110120
|
+
}, ExtArgs["result"]["appGrant"]>
|
|
110121
|
+
|
|
110122
|
+
export type AppGrantSelectCreateManyAndReturn<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = $Extensions.GetSelect<{
|
|
110123
|
+
id?: boolean
|
|
110124
|
+
grantId?: boolean
|
|
110125
|
+
app?: boolean
|
|
110126
|
+
appName?: boolean
|
|
110127
|
+
appOrigin?: boolean
|
|
110128
|
+
owner?: boolean
|
|
110129
|
+
gaii?: boolean
|
|
110130
|
+
scopes?: boolean
|
|
110131
|
+
refreshTokenHash?: boolean
|
|
110132
|
+
createdAt?: boolean
|
|
110133
|
+
lastUsedAt?: boolean
|
|
110134
|
+
revoked?: boolean
|
|
110135
|
+
}, ExtArgs["result"]["appGrant"]>
|
|
110136
|
+
|
|
110137
|
+
export type AppGrantSelectUpdateManyAndReturn<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = $Extensions.GetSelect<{
|
|
110138
|
+
id?: boolean
|
|
110139
|
+
grantId?: boolean
|
|
110140
|
+
app?: boolean
|
|
110141
|
+
appName?: boolean
|
|
110142
|
+
appOrigin?: boolean
|
|
110143
|
+
owner?: boolean
|
|
110144
|
+
gaii?: boolean
|
|
110145
|
+
scopes?: boolean
|
|
110146
|
+
refreshTokenHash?: boolean
|
|
110147
|
+
createdAt?: boolean
|
|
110148
|
+
lastUsedAt?: boolean
|
|
110149
|
+
revoked?: boolean
|
|
110150
|
+
}, ExtArgs["result"]["appGrant"]>
|
|
110151
|
+
|
|
110152
|
+
export type AppGrantSelectScalar = {
|
|
110153
|
+
id?: boolean
|
|
110154
|
+
grantId?: boolean
|
|
110155
|
+
app?: boolean
|
|
110156
|
+
appName?: boolean
|
|
110157
|
+
appOrigin?: boolean
|
|
110158
|
+
owner?: boolean
|
|
110159
|
+
gaii?: boolean
|
|
110160
|
+
scopes?: boolean
|
|
110161
|
+
refreshTokenHash?: boolean
|
|
110162
|
+
createdAt?: boolean
|
|
110163
|
+
lastUsedAt?: boolean
|
|
110164
|
+
revoked?: boolean
|
|
110165
|
+
}
|
|
110166
|
+
|
|
110167
|
+
export type AppGrantOmit<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = $Extensions.GetOmit<"id" | "grantId" | "app" | "appName" | "appOrigin" | "owner" | "gaii" | "scopes" | "refreshTokenHash" | "createdAt" | "lastUsedAt" | "revoked", ExtArgs["result"]["appGrant"]>
|
|
110168
|
+
|
|
110169
|
+
export type $AppGrantPayload<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
|
|
110170
|
+
name: "AppGrant"
|
|
110171
|
+
objects: {}
|
|
110172
|
+
scalars: $Extensions.GetPayloadResult<{
|
|
110173
|
+
id: string
|
|
110174
|
+
grantId: string
|
|
110175
|
+
app: string
|
|
110176
|
+
appName: string
|
|
110177
|
+
appOrigin: string
|
|
110178
|
+
owner: string
|
|
110179
|
+
gaii: string
|
|
110180
|
+
scopes: string[]
|
|
110181
|
+
refreshTokenHash: string | null
|
|
110182
|
+
createdAt: Date
|
|
110183
|
+
lastUsedAt: Date | null
|
|
110184
|
+
revoked: boolean
|
|
110185
|
+
}, ExtArgs["result"]["appGrant"]>
|
|
110186
|
+
composites: {}
|
|
110187
|
+
}
|
|
110188
|
+
|
|
110189
|
+
type AppGrantGetPayload<S extends boolean | null | undefined | AppGrantDefaultArgs> = $Result.GetResult<Prisma.$AppGrantPayload, S>
|
|
110190
|
+
|
|
110191
|
+
type AppGrantCountArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> =
|
|
110192
|
+
Omit<AppGrantFindManyArgs, 'select' | 'include' | 'distinct' | 'omit'> & {
|
|
110193
|
+
select?: AppGrantCountAggregateInputType | true
|
|
110194
|
+
}
|
|
110195
|
+
|
|
110196
|
+
export interface AppGrantDelegate<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs, GlobalOmitOptions = {}> {
|
|
110197
|
+
[K: symbol]: { types: Prisma.TypeMap<ExtArgs>['model']['AppGrant'], meta: { name: 'AppGrant' } }
|
|
110198
|
+
/**
|
|
110199
|
+
* Find zero or one AppGrant that matches the filter.
|
|
110200
|
+
* @param {AppGrantFindUniqueArgs} args - Arguments to find a AppGrant
|
|
110201
|
+
* @example
|
|
110202
|
+
* // Get one AppGrant
|
|
110203
|
+
* const appGrant = await prisma.appGrant.findUnique({
|
|
110204
|
+
* where: {
|
|
110205
|
+
* // ... provide filter here
|
|
110206
|
+
* }
|
|
110207
|
+
* })
|
|
110208
|
+
*/
|
|
110209
|
+
findUnique<T extends AppGrantFindUniqueArgs>(args: SelectSubset<T, AppGrantFindUniqueArgs<ExtArgs>>): Prisma__AppGrantClient<$Result.GetResult<Prisma.$AppGrantPayload<ExtArgs>, T, "findUnique", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions>
|
|
110210
|
+
|
|
110211
|
+
/**
|
|
110212
|
+
* Find one AppGrant that matches the filter or throw an error with `error.code='P2025'`
|
|
110213
|
+
* if no matches were found.
|
|
110214
|
+
* @param {AppGrantFindUniqueOrThrowArgs} args - Arguments to find a AppGrant
|
|
110215
|
+
* @example
|
|
110216
|
+
* // Get one AppGrant
|
|
110217
|
+
* const appGrant = await prisma.appGrant.findUniqueOrThrow({
|
|
110218
|
+
* where: {
|
|
110219
|
+
* // ... provide filter here
|
|
110220
|
+
* }
|
|
110221
|
+
* })
|
|
110222
|
+
*/
|
|
110223
|
+
findUniqueOrThrow<T extends AppGrantFindUniqueOrThrowArgs>(args: SelectSubset<T, AppGrantFindUniqueOrThrowArgs<ExtArgs>>): Prisma__AppGrantClient<$Result.GetResult<Prisma.$AppGrantPayload<ExtArgs>, T, "findUniqueOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
|
|
110224
|
+
|
|
110225
|
+
/**
|
|
110226
|
+
* Find the first AppGrant that matches the filter.
|
|
110227
|
+
* Note, that providing `undefined` is treated as the value not being there.
|
|
110228
|
+
* Read more here: https://pris.ly/d/null-undefined
|
|
110229
|
+
* @param {AppGrantFindFirstArgs} args - Arguments to find a AppGrant
|
|
110230
|
+
* @example
|
|
110231
|
+
* // Get one AppGrant
|
|
110232
|
+
* const appGrant = await prisma.appGrant.findFirst({
|
|
110233
|
+
* where: {
|
|
110234
|
+
* // ... provide filter here
|
|
110235
|
+
* }
|
|
110236
|
+
* })
|
|
110237
|
+
*/
|
|
110238
|
+
findFirst<T extends AppGrantFindFirstArgs>(args?: SelectSubset<T, AppGrantFindFirstArgs<ExtArgs>>): Prisma__AppGrantClient<$Result.GetResult<Prisma.$AppGrantPayload<ExtArgs>, T, "findFirst", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions>
|
|
110239
|
+
|
|
110240
|
+
/**
|
|
110241
|
+
* Find the first AppGrant that matches the filter or
|
|
110242
|
+
* throw `PrismaKnownClientError` with `P2025` code if no matches were found.
|
|
110243
|
+
* Note, that providing `undefined` is treated as the value not being there.
|
|
110244
|
+
* Read more here: https://pris.ly/d/null-undefined
|
|
110245
|
+
* @param {AppGrantFindFirstOrThrowArgs} args - Arguments to find a AppGrant
|
|
110246
|
+
* @example
|
|
110247
|
+
* // Get one AppGrant
|
|
110248
|
+
* const appGrant = await prisma.appGrant.findFirstOrThrow({
|
|
110249
|
+
* where: {
|
|
110250
|
+
* // ... provide filter here
|
|
110251
|
+
* }
|
|
110252
|
+
* })
|
|
110253
|
+
*/
|
|
110254
|
+
findFirstOrThrow<T extends AppGrantFindFirstOrThrowArgs>(args?: SelectSubset<T, AppGrantFindFirstOrThrowArgs<ExtArgs>>): Prisma__AppGrantClient<$Result.GetResult<Prisma.$AppGrantPayload<ExtArgs>, T, "findFirstOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
|
|
110255
|
+
|
|
110256
|
+
/**
|
|
110257
|
+
* Find zero or more AppGrants that matches the filter.
|
|
110258
|
+
* Note, that providing `undefined` is treated as the value not being there.
|
|
110259
|
+
* Read more here: https://pris.ly/d/null-undefined
|
|
110260
|
+
* @param {AppGrantFindManyArgs} args - Arguments to filter and select certain fields only.
|
|
110261
|
+
* @example
|
|
110262
|
+
* // Get all AppGrants
|
|
110263
|
+
* const appGrants = await prisma.appGrant.findMany()
|
|
110264
|
+
*
|
|
110265
|
+
* // Get first 10 AppGrants
|
|
110266
|
+
* const appGrants = await prisma.appGrant.findMany({ take: 10 })
|
|
110267
|
+
*
|
|
110268
|
+
* // Only select the `id`
|
|
110269
|
+
* const appGrantWithIdOnly = await prisma.appGrant.findMany({ select: { id: true } })
|
|
110270
|
+
*
|
|
110271
|
+
*/
|
|
110272
|
+
findMany<T extends AppGrantFindManyArgs>(args?: SelectSubset<T, AppGrantFindManyArgs<ExtArgs>>): Prisma.PrismaPromise<$Result.GetResult<Prisma.$AppGrantPayload<ExtArgs>, T, "findMany", GlobalOmitOptions>>
|
|
110273
|
+
|
|
110274
|
+
/**
|
|
110275
|
+
* Create a AppGrant.
|
|
110276
|
+
* @param {AppGrantCreateArgs} args - Arguments to create a AppGrant.
|
|
110277
|
+
* @example
|
|
110278
|
+
* // Create one AppGrant
|
|
110279
|
+
* const AppGrant = await prisma.appGrant.create({
|
|
110280
|
+
* data: {
|
|
110281
|
+
* // ... data to create a AppGrant
|
|
110282
|
+
* }
|
|
110283
|
+
* })
|
|
110284
|
+
*
|
|
110285
|
+
*/
|
|
110286
|
+
create<T extends AppGrantCreateArgs>(args: SelectSubset<T, AppGrantCreateArgs<ExtArgs>>): Prisma__AppGrantClient<$Result.GetResult<Prisma.$AppGrantPayload<ExtArgs>, T, "create", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
|
|
110287
|
+
|
|
110288
|
+
/**
|
|
110289
|
+
* Create many AppGrants.
|
|
110290
|
+
* @param {AppGrantCreateManyArgs} args - Arguments to create many AppGrants.
|
|
110291
|
+
* @example
|
|
110292
|
+
* // Create many AppGrants
|
|
110293
|
+
* const appGrant = await prisma.appGrant.createMany({
|
|
110294
|
+
* data: [
|
|
110295
|
+
* // ... provide data here
|
|
110296
|
+
* ]
|
|
110297
|
+
* })
|
|
110298
|
+
*
|
|
110299
|
+
*/
|
|
110300
|
+
createMany<T extends AppGrantCreateManyArgs>(args?: SelectSubset<T, AppGrantCreateManyArgs<ExtArgs>>): Prisma.PrismaPromise<BatchPayload>
|
|
110301
|
+
|
|
110302
|
+
/**
|
|
110303
|
+
* Create many AppGrants and returns the data saved in the database.
|
|
110304
|
+
* @param {AppGrantCreateManyAndReturnArgs} args - Arguments to create many AppGrants.
|
|
110305
|
+
* @example
|
|
110306
|
+
* // Create many AppGrants
|
|
110307
|
+
* const appGrant = await prisma.appGrant.createManyAndReturn({
|
|
110308
|
+
* data: [
|
|
110309
|
+
* // ... provide data here
|
|
110310
|
+
* ]
|
|
110311
|
+
* })
|
|
110312
|
+
*
|
|
110313
|
+
* // Create many AppGrants and only return the `id`
|
|
110314
|
+
* const appGrantWithIdOnly = await prisma.appGrant.createManyAndReturn({
|
|
110315
|
+
* select: { id: true },
|
|
110316
|
+
* data: [
|
|
110317
|
+
* // ... provide data here
|
|
110318
|
+
* ]
|
|
110319
|
+
* })
|
|
110320
|
+
* Note, that providing `undefined` is treated as the value not being there.
|
|
110321
|
+
* Read more here: https://pris.ly/d/null-undefined
|
|
110322
|
+
*
|
|
110323
|
+
*/
|
|
110324
|
+
createManyAndReturn<T extends AppGrantCreateManyAndReturnArgs>(args?: SelectSubset<T, AppGrantCreateManyAndReturnArgs<ExtArgs>>): Prisma.PrismaPromise<$Result.GetResult<Prisma.$AppGrantPayload<ExtArgs>, T, "createManyAndReturn", GlobalOmitOptions>>
|
|
110325
|
+
|
|
110326
|
+
/**
|
|
110327
|
+
* Delete a AppGrant.
|
|
110328
|
+
* @param {AppGrantDeleteArgs} args - Arguments to delete one AppGrant.
|
|
110329
|
+
* @example
|
|
110330
|
+
* // Delete one AppGrant
|
|
110331
|
+
* const AppGrant = await prisma.appGrant.delete({
|
|
110332
|
+
* where: {
|
|
110333
|
+
* // ... filter to delete one AppGrant
|
|
110334
|
+
* }
|
|
110335
|
+
* })
|
|
110336
|
+
*
|
|
110337
|
+
*/
|
|
110338
|
+
delete<T extends AppGrantDeleteArgs>(args: SelectSubset<T, AppGrantDeleteArgs<ExtArgs>>): Prisma__AppGrantClient<$Result.GetResult<Prisma.$AppGrantPayload<ExtArgs>, T, "delete", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
|
|
110339
|
+
|
|
110340
|
+
/**
|
|
110341
|
+
* Update one AppGrant.
|
|
110342
|
+
* @param {AppGrantUpdateArgs} args - Arguments to update one AppGrant.
|
|
110343
|
+
* @example
|
|
110344
|
+
* // Update one AppGrant
|
|
110345
|
+
* const appGrant = await prisma.appGrant.update({
|
|
110346
|
+
* where: {
|
|
110347
|
+
* // ... provide filter here
|
|
110348
|
+
* },
|
|
110349
|
+
* data: {
|
|
110350
|
+
* // ... provide data here
|
|
110351
|
+
* }
|
|
110352
|
+
* })
|
|
110353
|
+
*
|
|
110354
|
+
*/
|
|
110355
|
+
update<T extends AppGrantUpdateArgs>(args: SelectSubset<T, AppGrantUpdateArgs<ExtArgs>>): Prisma__AppGrantClient<$Result.GetResult<Prisma.$AppGrantPayload<ExtArgs>, T, "update", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
|
|
110356
|
+
|
|
110357
|
+
/**
|
|
110358
|
+
* Delete zero or more AppGrants.
|
|
110359
|
+
* @param {AppGrantDeleteManyArgs} args - Arguments to filter AppGrants to delete.
|
|
110360
|
+
* @example
|
|
110361
|
+
* // Delete a few AppGrants
|
|
110362
|
+
* const { count } = await prisma.appGrant.deleteMany({
|
|
110363
|
+
* where: {
|
|
110364
|
+
* // ... provide filter here
|
|
110365
|
+
* }
|
|
110366
|
+
* })
|
|
110367
|
+
*
|
|
110368
|
+
*/
|
|
110369
|
+
deleteMany<T extends AppGrantDeleteManyArgs>(args?: SelectSubset<T, AppGrantDeleteManyArgs<ExtArgs>>): Prisma.PrismaPromise<BatchPayload>
|
|
110370
|
+
|
|
110371
|
+
/**
|
|
110372
|
+
* Update zero or more AppGrants.
|
|
110373
|
+
* Note, that providing `undefined` is treated as the value not being there.
|
|
110374
|
+
* Read more here: https://pris.ly/d/null-undefined
|
|
110375
|
+
* @param {AppGrantUpdateManyArgs} args - Arguments to update one or more rows.
|
|
110376
|
+
* @example
|
|
110377
|
+
* // Update many AppGrants
|
|
110378
|
+
* const appGrant = await prisma.appGrant.updateMany({
|
|
110379
|
+
* where: {
|
|
110380
|
+
* // ... provide filter here
|
|
110381
|
+
* },
|
|
110382
|
+
* data: {
|
|
110383
|
+
* // ... provide data here
|
|
110384
|
+
* }
|
|
110385
|
+
* })
|
|
110386
|
+
*
|
|
110387
|
+
*/
|
|
110388
|
+
updateMany<T extends AppGrantUpdateManyArgs>(args: SelectSubset<T, AppGrantUpdateManyArgs<ExtArgs>>): Prisma.PrismaPromise<BatchPayload>
|
|
110389
|
+
|
|
110390
|
+
/**
|
|
110391
|
+
* Update zero or more AppGrants and returns the data updated in the database.
|
|
110392
|
+
* @param {AppGrantUpdateManyAndReturnArgs} args - Arguments to update many AppGrants.
|
|
110393
|
+
* @example
|
|
110394
|
+
* // Update many AppGrants
|
|
110395
|
+
* const appGrant = await prisma.appGrant.updateManyAndReturn({
|
|
110396
|
+
* where: {
|
|
110397
|
+
* // ... provide filter here
|
|
110398
|
+
* },
|
|
110399
|
+
* data: [
|
|
110400
|
+
* // ... provide data here
|
|
110401
|
+
* ]
|
|
110402
|
+
* })
|
|
110403
|
+
*
|
|
110404
|
+
* // Update zero or more AppGrants and only return the `id`
|
|
110405
|
+
* const appGrantWithIdOnly = await prisma.appGrant.updateManyAndReturn({
|
|
110406
|
+
* select: { id: true },
|
|
110407
|
+
* where: {
|
|
110408
|
+
* // ... provide filter here
|
|
110409
|
+
* },
|
|
110410
|
+
* data: [
|
|
110411
|
+
* // ... provide data here
|
|
110412
|
+
* ]
|
|
110413
|
+
* })
|
|
110414
|
+
* Note, that providing `undefined` is treated as the value not being there.
|
|
110415
|
+
* Read more here: https://pris.ly/d/null-undefined
|
|
110416
|
+
*
|
|
110417
|
+
*/
|
|
110418
|
+
updateManyAndReturn<T extends AppGrantUpdateManyAndReturnArgs>(args: SelectSubset<T, AppGrantUpdateManyAndReturnArgs<ExtArgs>>): Prisma.PrismaPromise<$Result.GetResult<Prisma.$AppGrantPayload<ExtArgs>, T, "updateManyAndReturn", GlobalOmitOptions>>
|
|
110419
|
+
|
|
110420
|
+
/**
|
|
110421
|
+
* Create or update one AppGrant.
|
|
110422
|
+
* @param {AppGrantUpsertArgs} args - Arguments to update or create a AppGrant.
|
|
110423
|
+
* @example
|
|
110424
|
+
* // Update or create a AppGrant
|
|
110425
|
+
* const appGrant = await prisma.appGrant.upsert({
|
|
110426
|
+
* create: {
|
|
110427
|
+
* // ... data to create a AppGrant
|
|
110428
|
+
* },
|
|
110429
|
+
* update: {
|
|
110430
|
+
* // ... in case it already exists, update
|
|
110431
|
+
* },
|
|
110432
|
+
* where: {
|
|
110433
|
+
* // ... the filter for the AppGrant we want to update
|
|
110434
|
+
* }
|
|
110435
|
+
* })
|
|
110436
|
+
*/
|
|
110437
|
+
upsert<T extends AppGrantUpsertArgs>(args: SelectSubset<T, AppGrantUpsertArgs<ExtArgs>>): Prisma__AppGrantClient<$Result.GetResult<Prisma.$AppGrantPayload<ExtArgs>, T, "upsert", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
|
|
110438
|
+
|
|
110439
|
+
|
|
110440
|
+
/**
|
|
110441
|
+
* Count the number of AppGrants.
|
|
110442
|
+
* Note, that providing `undefined` is treated as the value not being there.
|
|
110443
|
+
* Read more here: https://pris.ly/d/null-undefined
|
|
110444
|
+
* @param {AppGrantCountArgs} args - Arguments to filter AppGrants to count.
|
|
110445
|
+
* @example
|
|
110446
|
+
* // Count the number of AppGrants
|
|
110447
|
+
* const count = await prisma.appGrant.count({
|
|
110448
|
+
* where: {
|
|
110449
|
+
* // ... the filter for the AppGrants we want to count
|
|
110450
|
+
* }
|
|
110451
|
+
* })
|
|
110452
|
+
**/
|
|
110453
|
+
count<T extends AppGrantCountArgs>(
|
|
110454
|
+
args?: Subset<T, AppGrantCountArgs>,
|
|
110455
|
+
): Prisma.PrismaPromise<
|
|
110456
|
+
T extends $Utils.Record<'select', any>
|
|
110457
|
+
? T['select'] extends true
|
|
110458
|
+
? number
|
|
110459
|
+
: GetScalarType<T['select'], AppGrantCountAggregateOutputType>
|
|
110460
|
+
: number
|
|
110461
|
+
>
|
|
110462
|
+
|
|
110463
|
+
/**
|
|
110464
|
+
* Allows you to perform aggregations operations on a AppGrant.
|
|
110465
|
+
* Note, that providing `undefined` is treated as the value not being there.
|
|
110466
|
+
* Read more here: https://pris.ly/d/null-undefined
|
|
110467
|
+
* @param {AppGrantAggregateArgs} args - Select which aggregations you would like to apply and on what fields.
|
|
110468
|
+
* @example
|
|
110469
|
+
* // Ordered by age ascending
|
|
110470
|
+
* // Where email contains prisma.io
|
|
110471
|
+
* // Limited to the 10 users
|
|
110472
|
+
* const aggregations = await prisma.user.aggregate({
|
|
110473
|
+
* _avg: {
|
|
110474
|
+
* age: true,
|
|
110475
|
+
* },
|
|
110476
|
+
* where: {
|
|
110477
|
+
* email: {
|
|
110478
|
+
* contains: "prisma.io",
|
|
110479
|
+
* },
|
|
110480
|
+
* },
|
|
110481
|
+
* orderBy: {
|
|
110482
|
+
* age: "asc",
|
|
110483
|
+
* },
|
|
110484
|
+
* take: 10,
|
|
110485
|
+
* })
|
|
110486
|
+
**/
|
|
110487
|
+
aggregate<T extends AppGrantAggregateArgs>(args: Subset<T, AppGrantAggregateArgs>): Prisma.PrismaPromise<GetAppGrantAggregateType<T>>
|
|
110488
|
+
|
|
110489
|
+
/**
|
|
110490
|
+
* Group by AppGrant.
|
|
110491
|
+
* Note, that providing `undefined` is treated as the value not being there.
|
|
110492
|
+
* Read more here: https://pris.ly/d/null-undefined
|
|
110493
|
+
* @param {AppGrantGroupByArgs} args - Group by arguments.
|
|
110494
|
+
* @example
|
|
110495
|
+
* // Group by city, order by createdAt, get count
|
|
110496
|
+
* const result = await prisma.user.groupBy({
|
|
110497
|
+
* by: ['city', 'createdAt'],
|
|
110498
|
+
* orderBy: {
|
|
110499
|
+
* createdAt: true
|
|
110500
|
+
* },
|
|
110501
|
+
* _count: {
|
|
110502
|
+
* _all: true
|
|
110503
|
+
* },
|
|
110504
|
+
* })
|
|
110505
|
+
*
|
|
110506
|
+
**/
|
|
110507
|
+
groupBy<
|
|
110508
|
+
T extends AppGrantGroupByArgs,
|
|
110509
|
+
HasSelectOrTake extends Or<
|
|
110510
|
+
Extends<'skip', Keys<T>>,
|
|
110511
|
+
Extends<'take', Keys<T>>
|
|
110512
|
+
>,
|
|
110513
|
+
OrderByArg extends True extends HasSelectOrTake
|
|
110514
|
+
? { orderBy: AppGrantGroupByArgs['orderBy'] }
|
|
110515
|
+
: { orderBy?: AppGrantGroupByArgs['orderBy'] },
|
|
110516
|
+
OrderFields extends ExcludeUnderscoreKeys<Keys<MaybeTupleToUnion<T['orderBy']>>>,
|
|
110517
|
+
ByFields extends MaybeTupleToUnion<T['by']>,
|
|
110518
|
+
ByValid extends Has<ByFields, OrderFields>,
|
|
110519
|
+
HavingFields extends GetHavingFields<T['having']>,
|
|
110520
|
+
HavingValid extends Has<ByFields, HavingFields>,
|
|
110521
|
+
ByEmpty extends T['by'] extends never[] ? True : False,
|
|
110522
|
+
InputErrors extends ByEmpty extends True
|
|
110523
|
+
? `Error: "by" must not be empty.`
|
|
110524
|
+
: HavingValid extends False
|
|
110525
|
+
? {
|
|
110526
|
+
[P in HavingFields]: P extends ByFields
|
|
110527
|
+
? never
|
|
110528
|
+
: P extends string
|
|
110529
|
+
? `Error: Field "${P}" used in "having" needs to be provided in "by".`
|
|
110530
|
+
: [
|
|
110531
|
+
Error,
|
|
110532
|
+
'Field ',
|
|
110533
|
+
P,
|
|
110534
|
+
` in "having" needs to be provided in "by"`,
|
|
110535
|
+
]
|
|
110536
|
+
}[HavingFields]
|
|
110537
|
+
: 'take' extends Keys<T>
|
|
110538
|
+
? 'orderBy' extends Keys<T>
|
|
110539
|
+
? ByValid extends True
|
|
110540
|
+
? {}
|
|
110541
|
+
: {
|
|
110542
|
+
[P in OrderFields]: P extends ByFields
|
|
110543
|
+
? never
|
|
110544
|
+
: `Error: Field "${P}" in "orderBy" needs to be provided in "by"`
|
|
110545
|
+
}[OrderFields]
|
|
110546
|
+
: 'Error: If you provide "take", you also need to provide "orderBy"'
|
|
110547
|
+
: 'skip' extends Keys<T>
|
|
110548
|
+
? 'orderBy' extends Keys<T>
|
|
110549
|
+
? ByValid extends True
|
|
110550
|
+
? {}
|
|
110551
|
+
: {
|
|
110552
|
+
[P in OrderFields]: P extends ByFields
|
|
110553
|
+
? never
|
|
110554
|
+
: `Error: Field "${P}" in "orderBy" needs to be provided in "by"`
|
|
110555
|
+
}[OrderFields]
|
|
110556
|
+
: 'Error: If you provide "skip", you also need to provide "orderBy"'
|
|
110557
|
+
: ByValid extends True
|
|
110558
|
+
? {}
|
|
110559
|
+
: {
|
|
110560
|
+
[P in OrderFields]: P extends ByFields
|
|
110561
|
+
? never
|
|
110562
|
+
: `Error: Field "${P}" in "orderBy" needs to be provided in "by"`
|
|
110563
|
+
}[OrderFields]
|
|
110564
|
+
>(args: SubsetIntersection<T, AppGrantGroupByArgs, OrderByArg> & InputErrors): {} extends InputErrors ? GetAppGrantGroupByPayload<T> : Prisma.PrismaPromise<InputErrors>
|
|
110565
|
+
/**
|
|
110566
|
+
* Fields of the AppGrant model
|
|
110567
|
+
*/
|
|
110568
|
+
readonly fields: AppGrantFieldRefs;
|
|
110569
|
+
}
|
|
110570
|
+
|
|
110571
|
+
/**
|
|
110572
|
+
* The delegate class that acts as a "Promise-like" for AppGrant.
|
|
110573
|
+
* Why is this prefixed with `Prisma__`?
|
|
110574
|
+
* Because we want to prevent naming conflicts as mentioned in
|
|
110575
|
+
* https://github.com/prisma/prisma-client-js/issues/707
|
|
110576
|
+
*/
|
|
110577
|
+
export interface Prisma__AppGrantClient<T, Null = never, ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs, GlobalOmitOptions = {}> extends Prisma.PrismaPromise<T> {
|
|
110578
|
+
readonly [Symbol.toStringTag]: "PrismaPromise"
|
|
110579
|
+
/**
|
|
110580
|
+
* Attaches callbacks for the resolution and/or rejection of the Promise.
|
|
110581
|
+
* @param onfulfilled The callback to execute when the Promise is resolved.
|
|
110582
|
+
* @param onrejected The callback to execute when the Promise is rejected.
|
|
110583
|
+
* @returns A Promise for the completion of which ever callback is executed.
|
|
110584
|
+
*/
|
|
110585
|
+
then<TResult1 = T, TResult2 = never>(onfulfilled?: ((value: T) => TResult1 | PromiseLike<TResult1>) | undefined | null, onrejected?: ((reason: any) => TResult2 | PromiseLike<TResult2>) | undefined | null): $Utils.JsPromise<TResult1 | TResult2>
|
|
110586
|
+
/**
|
|
110587
|
+
* Attaches a callback for only the rejection of the Promise.
|
|
110588
|
+
* @param onrejected The callback to execute when the Promise is rejected.
|
|
110589
|
+
* @returns A Promise for the completion of the callback.
|
|
110590
|
+
*/
|
|
110591
|
+
catch<TResult = never>(onrejected?: ((reason: any) => TResult | PromiseLike<TResult>) | undefined | null): $Utils.JsPromise<T | TResult>
|
|
110592
|
+
/**
|
|
110593
|
+
* Attaches a callback that is invoked when the Promise is settled (fulfilled or rejected). The
|
|
110594
|
+
* resolved value cannot be modified from the callback.
|
|
110595
|
+
* @param onfinally The callback to execute when the Promise is settled (fulfilled or rejected).
|
|
110596
|
+
* @returns A Promise for the completion of the callback.
|
|
110597
|
+
*/
|
|
110598
|
+
finally(onfinally?: (() => void) | undefined | null): $Utils.JsPromise<T>
|
|
110599
|
+
}
|
|
110600
|
+
|
|
110601
|
+
|
|
110602
|
+
|
|
110603
|
+
|
|
110604
|
+
/**
|
|
110605
|
+
* Fields of the AppGrant model
|
|
109424
110606
|
*/
|
|
109425
|
-
interface
|
|
109426
|
-
readonly id: FieldRef<"
|
|
109427
|
-
readonly
|
|
109428
|
-
readonly
|
|
109429
|
-
readonly
|
|
109430
|
-
readonly
|
|
109431
|
-
readonly
|
|
109432
|
-
readonly
|
|
109433
|
-
readonly
|
|
110607
|
+
interface AppGrantFieldRefs {
|
|
110608
|
+
readonly id: FieldRef<"AppGrant", 'String'>
|
|
110609
|
+
readonly grantId: FieldRef<"AppGrant", 'String'>
|
|
110610
|
+
readonly app: FieldRef<"AppGrant", 'String'>
|
|
110611
|
+
readonly appName: FieldRef<"AppGrant", 'String'>
|
|
110612
|
+
readonly appOrigin: FieldRef<"AppGrant", 'String'>
|
|
110613
|
+
readonly owner: FieldRef<"AppGrant", 'String'>
|
|
110614
|
+
readonly gaii: FieldRef<"AppGrant", 'String'>
|
|
110615
|
+
readonly scopes: FieldRef<"AppGrant", 'String[]'>
|
|
110616
|
+
readonly refreshTokenHash: FieldRef<"AppGrant", 'String'>
|
|
110617
|
+
readonly createdAt: FieldRef<"AppGrant", 'DateTime'>
|
|
110618
|
+
readonly lastUsedAt: FieldRef<"AppGrant", 'DateTime'>
|
|
110619
|
+
readonly revoked: FieldRef<"AppGrant", 'Boolean'>
|
|
109434
110620
|
}
|
|
109435
110621
|
|
|
109436
110622
|
|
|
109437
110623
|
// Custom InputTypes
|
|
109438
110624
|
/**
|
|
109439
|
-
*
|
|
110625
|
+
* AppGrant findUnique
|
|
109440
110626
|
*/
|
|
109441
|
-
export type
|
|
110627
|
+
export type AppGrantFindUniqueArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
|
|
109442
110628
|
/**
|
|
109443
|
-
* Select specific fields to fetch from the
|
|
110629
|
+
* Select specific fields to fetch from the AppGrant
|
|
109444
110630
|
*/
|
|
109445
|
-
select?:
|
|
110631
|
+
select?: AppGrantSelect<ExtArgs> | null
|
|
109446
110632
|
/**
|
|
109447
|
-
* Omit specific fields from the
|
|
110633
|
+
* Omit specific fields from the AppGrant
|
|
109448
110634
|
*/
|
|
109449
|
-
omit?:
|
|
110635
|
+
omit?: AppGrantOmit<ExtArgs> | null
|
|
109450
110636
|
/**
|
|
109451
|
-
* Filter, which
|
|
110637
|
+
* Filter, which AppGrant to fetch.
|
|
109452
110638
|
*/
|
|
109453
|
-
where:
|
|
110639
|
+
where: AppGrantWhereUniqueInput
|
|
109454
110640
|
}
|
|
109455
110641
|
|
|
109456
110642
|
/**
|
|
109457
|
-
*
|
|
110643
|
+
* AppGrant findUniqueOrThrow
|
|
109458
110644
|
*/
|
|
109459
|
-
export type
|
|
110645
|
+
export type AppGrantFindUniqueOrThrowArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
|
|
109460
110646
|
/**
|
|
109461
|
-
* Select specific fields to fetch from the
|
|
110647
|
+
* Select specific fields to fetch from the AppGrant
|
|
109462
110648
|
*/
|
|
109463
|
-
select?:
|
|
110649
|
+
select?: AppGrantSelect<ExtArgs> | null
|
|
109464
110650
|
/**
|
|
109465
|
-
* Omit specific fields from the
|
|
110651
|
+
* Omit specific fields from the AppGrant
|
|
109466
110652
|
*/
|
|
109467
|
-
omit?:
|
|
110653
|
+
omit?: AppGrantOmit<ExtArgs> | null
|
|
109468
110654
|
/**
|
|
109469
|
-
* Filter, which
|
|
110655
|
+
* Filter, which AppGrant to fetch.
|
|
109470
110656
|
*/
|
|
109471
|
-
where:
|
|
110657
|
+
where: AppGrantWhereUniqueInput
|
|
109472
110658
|
}
|
|
109473
110659
|
|
|
109474
110660
|
/**
|
|
109475
|
-
*
|
|
110661
|
+
* AppGrant findFirst
|
|
109476
110662
|
*/
|
|
109477
|
-
export type
|
|
110663
|
+
export type AppGrantFindFirstArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
|
|
109478
110664
|
/**
|
|
109479
|
-
* Select specific fields to fetch from the
|
|
110665
|
+
* Select specific fields to fetch from the AppGrant
|
|
109480
110666
|
*/
|
|
109481
|
-
select?:
|
|
110667
|
+
select?: AppGrantSelect<ExtArgs> | null
|
|
109482
110668
|
/**
|
|
109483
|
-
* Omit specific fields from the
|
|
110669
|
+
* Omit specific fields from the AppGrant
|
|
109484
110670
|
*/
|
|
109485
|
-
omit?:
|
|
110671
|
+
omit?: AppGrantOmit<ExtArgs> | null
|
|
109486
110672
|
/**
|
|
109487
|
-
* Filter, which
|
|
110673
|
+
* Filter, which AppGrant to fetch.
|
|
109488
110674
|
*/
|
|
109489
|
-
where?:
|
|
110675
|
+
where?: AppGrantWhereInput
|
|
109490
110676
|
/**
|
|
109491
110677
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
|
|
109492
110678
|
*
|
|
109493
|
-
* Determine the order of
|
|
110679
|
+
* Determine the order of AppGrants to fetch.
|
|
109494
110680
|
*/
|
|
109495
|
-
orderBy?:
|
|
110681
|
+
orderBy?: AppGrantOrderByWithRelationInput | AppGrantOrderByWithRelationInput[]
|
|
109496
110682
|
/**
|
|
109497
110683
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
|
|
109498
110684
|
*
|
|
109499
|
-
* Sets the position for searching for
|
|
110685
|
+
* Sets the position for searching for AppGrants.
|
|
109500
110686
|
*/
|
|
109501
|
-
cursor?:
|
|
110687
|
+
cursor?: AppGrantWhereUniqueInput
|
|
109502
110688
|
/**
|
|
109503
110689
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
109504
110690
|
*
|
|
109505
|
-
* Take `±n`
|
|
110691
|
+
* Take `±n` AppGrants from the position of the cursor.
|
|
109506
110692
|
*/
|
|
109507
110693
|
take?: number
|
|
109508
110694
|
/**
|
|
109509
110695
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
109510
110696
|
*
|
|
109511
|
-
* Skip the first `n`
|
|
110697
|
+
* Skip the first `n` AppGrants.
|
|
109512
110698
|
*/
|
|
109513
110699
|
skip?: number
|
|
109514
110700
|
/**
|
|
109515
110701
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
|
|
109516
110702
|
*
|
|
109517
|
-
* Filter by unique combinations of
|
|
110703
|
+
* Filter by unique combinations of AppGrants.
|
|
109518
110704
|
*/
|
|
109519
|
-
distinct?:
|
|
110705
|
+
distinct?: AppGrantScalarFieldEnum | AppGrantScalarFieldEnum[]
|
|
109520
110706
|
}
|
|
109521
110707
|
|
|
109522
110708
|
/**
|
|
109523
|
-
*
|
|
110709
|
+
* AppGrant findFirstOrThrow
|
|
109524
110710
|
*/
|
|
109525
|
-
export type
|
|
110711
|
+
export type AppGrantFindFirstOrThrowArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
|
|
109526
110712
|
/**
|
|
109527
|
-
* Select specific fields to fetch from the
|
|
110713
|
+
* Select specific fields to fetch from the AppGrant
|
|
109528
110714
|
*/
|
|
109529
|
-
select?:
|
|
110715
|
+
select?: AppGrantSelect<ExtArgs> | null
|
|
109530
110716
|
/**
|
|
109531
|
-
* Omit specific fields from the
|
|
110717
|
+
* Omit specific fields from the AppGrant
|
|
109532
110718
|
*/
|
|
109533
|
-
omit?:
|
|
110719
|
+
omit?: AppGrantOmit<ExtArgs> | null
|
|
109534
110720
|
/**
|
|
109535
|
-
* Filter, which
|
|
110721
|
+
* Filter, which AppGrant to fetch.
|
|
109536
110722
|
*/
|
|
109537
|
-
where?:
|
|
110723
|
+
where?: AppGrantWhereInput
|
|
109538
110724
|
/**
|
|
109539
110725
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
|
|
109540
110726
|
*
|
|
109541
|
-
* Determine the order of
|
|
110727
|
+
* Determine the order of AppGrants to fetch.
|
|
109542
110728
|
*/
|
|
109543
|
-
orderBy?:
|
|
110729
|
+
orderBy?: AppGrantOrderByWithRelationInput | AppGrantOrderByWithRelationInput[]
|
|
109544
110730
|
/**
|
|
109545
110731
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
|
|
109546
110732
|
*
|
|
109547
|
-
* Sets the position for searching for
|
|
110733
|
+
* Sets the position for searching for AppGrants.
|
|
109548
110734
|
*/
|
|
109549
|
-
cursor?:
|
|
110735
|
+
cursor?: AppGrantWhereUniqueInput
|
|
109550
110736
|
/**
|
|
109551
110737
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
109552
110738
|
*
|
|
109553
|
-
* Take `±n`
|
|
110739
|
+
* Take `±n` AppGrants from the position of the cursor.
|
|
109554
110740
|
*/
|
|
109555
110741
|
take?: number
|
|
109556
110742
|
/**
|
|
109557
110743
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
109558
110744
|
*
|
|
109559
|
-
* Skip the first `n`
|
|
110745
|
+
* Skip the first `n` AppGrants.
|
|
109560
110746
|
*/
|
|
109561
110747
|
skip?: number
|
|
109562
110748
|
/**
|
|
109563
110749
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
|
|
109564
110750
|
*
|
|
109565
|
-
* Filter by unique combinations of
|
|
110751
|
+
* Filter by unique combinations of AppGrants.
|
|
109566
110752
|
*/
|
|
109567
|
-
distinct?:
|
|
110753
|
+
distinct?: AppGrantScalarFieldEnum | AppGrantScalarFieldEnum[]
|
|
109568
110754
|
}
|
|
109569
110755
|
|
|
109570
110756
|
/**
|
|
109571
|
-
*
|
|
110757
|
+
* AppGrant findMany
|
|
109572
110758
|
*/
|
|
109573
|
-
export type
|
|
110759
|
+
export type AppGrantFindManyArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
|
|
109574
110760
|
/**
|
|
109575
|
-
* Select specific fields to fetch from the
|
|
110761
|
+
* Select specific fields to fetch from the AppGrant
|
|
109576
110762
|
*/
|
|
109577
|
-
select?:
|
|
110763
|
+
select?: AppGrantSelect<ExtArgs> | null
|
|
109578
110764
|
/**
|
|
109579
|
-
* Omit specific fields from the
|
|
110765
|
+
* Omit specific fields from the AppGrant
|
|
109580
110766
|
*/
|
|
109581
|
-
omit?:
|
|
110767
|
+
omit?: AppGrantOmit<ExtArgs> | null
|
|
109582
110768
|
/**
|
|
109583
|
-
* Filter, which
|
|
110769
|
+
* Filter, which AppGrants to fetch.
|
|
109584
110770
|
*/
|
|
109585
|
-
where?:
|
|
110771
|
+
where?: AppGrantWhereInput
|
|
109586
110772
|
/**
|
|
109587
110773
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
|
|
109588
110774
|
*
|
|
109589
|
-
* Determine the order of
|
|
110775
|
+
* Determine the order of AppGrants to fetch.
|
|
109590
110776
|
*/
|
|
109591
|
-
orderBy?:
|
|
110777
|
+
orderBy?: AppGrantOrderByWithRelationInput | AppGrantOrderByWithRelationInput[]
|
|
109592
110778
|
/**
|
|
109593
110779
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
|
|
109594
110780
|
*
|
|
109595
|
-
* Sets the position for listing
|
|
110781
|
+
* Sets the position for listing AppGrants.
|
|
109596
110782
|
*/
|
|
109597
|
-
cursor?:
|
|
110783
|
+
cursor?: AppGrantWhereUniqueInput
|
|
109598
110784
|
/**
|
|
109599
110785
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
109600
110786
|
*
|
|
109601
|
-
* Take `±n`
|
|
110787
|
+
* Take `±n` AppGrants from the position of the cursor.
|
|
109602
110788
|
*/
|
|
109603
110789
|
take?: number
|
|
109604
110790
|
/**
|
|
109605
110791
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
109606
110792
|
*
|
|
109607
|
-
* Skip the first `n`
|
|
110793
|
+
* Skip the first `n` AppGrants.
|
|
109608
110794
|
*/
|
|
109609
110795
|
skip?: number
|
|
109610
|
-
distinct?:
|
|
110796
|
+
distinct?: AppGrantScalarFieldEnum | AppGrantScalarFieldEnum[]
|
|
109611
110797
|
}
|
|
109612
110798
|
|
|
109613
110799
|
/**
|
|
109614
|
-
*
|
|
110800
|
+
* AppGrant create
|
|
109615
110801
|
*/
|
|
109616
|
-
export type
|
|
110802
|
+
export type AppGrantCreateArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
|
|
109617
110803
|
/**
|
|
109618
|
-
* Select specific fields to fetch from the
|
|
110804
|
+
* Select specific fields to fetch from the AppGrant
|
|
109619
110805
|
*/
|
|
109620
|
-
select?:
|
|
110806
|
+
select?: AppGrantSelect<ExtArgs> | null
|
|
109621
110807
|
/**
|
|
109622
|
-
* Omit specific fields from the
|
|
110808
|
+
* Omit specific fields from the AppGrant
|
|
109623
110809
|
*/
|
|
109624
|
-
omit?:
|
|
110810
|
+
omit?: AppGrantOmit<ExtArgs> | null
|
|
109625
110811
|
/**
|
|
109626
|
-
* The data needed to create a
|
|
110812
|
+
* The data needed to create a AppGrant.
|
|
109627
110813
|
*/
|
|
109628
|
-
data: XOR<
|
|
110814
|
+
data: XOR<AppGrantCreateInput, AppGrantUncheckedCreateInput>
|
|
109629
110815
|
}
|
|
109630
110816
|
|
|
109631
110817
|
/**
|
|
109632
|
-
*
|
|
110818
|
+
* AppGrant createMany
|
|
109633
110819
|
*/
|
|
109634
|
-
export type
|
|
110820
|
+
export type AppGrantCreateManyArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
|
|
109635
110821
|
/**
|
|
109636
|
-
* The data used to create many
|
|
110822
|
+
* The data used to create many AppGrants.
|
|
109637
110823
|
*/
|
|
109638
|
-
data:
|
|
110824
|
+
data: AppGrantCreateManyInput | AppGrantCreateManyInput[]
|
|
109639
110825
|
skipDuplicates?: boolean
|
|
109640
110826
|
}
|
|
109641
110827
|
|
|
109642
110828
|
/**
|
|
109643
|
-
*
|
|
110829
|
+
* AppGrant createManyAndReturn
|
|
109644
110830
|
*/
|
|
109645
|
-
export type
|
|
110831
|
+
export type AppGrantCreateManyAndReturnArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
|
|
109646
110832
|
/**
|
|
109647
|
-
* Select specific fields to fetch from the
|
|
110833
|
+
* Select specific fields to fetch from the AppGrant
|
|
109648
110834
|
*/
|
|
109649
|
-
select?:
|
|
110835
|
+
select?: AppGrantSelectCreateManyAndReturn<ExtArgs> | null
|
|
109650
110836
|
/**
|
|
109651
|
-
* Omit specific fields from the
|
|
110837
|
+
* Omit specific fields from the AppGrant
|
|
109652
110838
|
*/
|
|
109653
|
-
omit?:
|
|
110839
|
+
omit?: AppGrantOmit<ExtArgs> | null
|
|
109654
110840
|
/**
|
|
109655
|
-
* The data used to create many
|
|
110841
|
+
* The data used to create many AppGrants.
|
|
109656
110842
|
*/
|
|
109657
|
-
data:
|
|
110843
|
+
data: AppGrantCreateManyInput | AppGrantCreateManyInput[]
|
|
109658
110844
|
skipDuplicates?: boolean
|
|
109659
110845
|
}
|
|
109660
110846
|
|
|
109661
110847
|
/**
|
|
109662
|
-
*
|
|
110848
|
+
* AppGrant update
|
|
109663
110849
|
*/
|
|
109664
|
-
export type
|
|
110850
|
+
export type AppGrantUpdateArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
|
|
109665
110851
|
/**
|
|
109666
|
-
* Select specific fields to fetch from the
|
|
110852
|
+
* Select specific fields to fetch from the AppGrant
|
|
109667
110853
|
*/
|
|
109668
|
-
select?:
|
|
110854
|
+
select?: AppGrantSelect<ExtArgs> | null
|
|
109669
110855
|
/**
|
|
109670
|
-
* Omit specific fields from the
|
|
110856
|
+
* Omit specific fields from the AppGrant
|
|
109671
110857
|
*/
|
|
109672
|
-
omit?:
|
|
110858
|
+
omit?: AppGrantOmit<ExtArgs> | null
|
|
109673
110859
|
/**
|
|
109674
|
-
* The data needed to update a
|
|
110860
|
+
* The data needed to update a AppGrant.
|
|
109675
110861
|
*/
|
|
109676
|
-
data: XOR<
|
|
110862
|
+
data: XOR<AppGrantUpdateInput, AppGrantUncheckedUpdateInput>
|
|
109677
110863
|
/**
|
|
109678
|
-
* Choose, which
|
|
110864
|
+
* Choose, which AppGrant to update.
|
|
109679
110865
|
*/
|
|
109680
|
-
where:
|
|
110866
|
+
where: AppGrantWhereUniqueInput
|
|
109681
110867
|
}
|
|
109682
110868
|
|
|
109683
110869
|
/**
|
|
109684
|
-
*
|
|
110870
|
+
* AppGrant updateMany
|
|
109685
110871
|
*/
|
|
109686
|
-
export type
|
|
110872
|
+
export type AppGrantUpdateManyArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
|
|
109687
110873
|
/**
|
|
109688
|
-
* The data used to update
|
|
110874
|
+
* The data used to update AppGrants.
|
|
109689
110875
|
*/
|
|
109690
|
-
data: XOR<
|
|
110876
|
+
data: XOR<AppGrantUpdateManyMutationInput, AppGrantUncheckedUpdateManyInput>
|
|
109691
110877
|
/**
|
|
109692
|
-
* Filter which
|
|
110878
|
+
* Filter which AppGrants to update
|
|
109693
110879
|
*/
|
|
109694
|
-
where?:
|
|
110880
|
+
where?: AppGrantWhereInput
|
|
109695
110881
|
/**
|
|
109696
|
-
* Limit how many
|
|
110882
|
+
* Limit how many AppGrants to update.
|
|
109697
110883
|
*/
|
|
109698
110884
|
limit?: number
|
|
109699
110885
|
}
|
|
109700
110886
|
|
|
109701
110887
|
/**
|
|
109702
|
-
*
|
|
110888
|
+
* AppGrant updateManyAndReturn
|
|
109703
110889
|
*/
|
|
109704
|
-
export type
|
|
110890
|
+
export type AppGrantUpdateManyAndReturnArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
|
|
109705
110891
|
/**
|
|
109706
|
-
* Select specific fields to fetch from the
|
|
110892
|
+
* Select specific fields to fetch from the AppGrant
|
|
109707
110893
|
*/
|
|
109708
|
-
select?:
|
|
110894
|
+
select?: AppGrantSelectUpdateManyAndReturn<ExtArgs> | null
|
|
109709
110895
|
/**
|
|
109710
|
-
* Omit specific fields from the
|
|
110896
|
+
* Omit specific fields from the AppGrant
|
|
109711
110897
|
*/
|
|
109712
|
-
omit?:
|
|
110898
|
+
omit?: AppGrantOmit<ExtArgs> | null
|
|
109713
110899
|
/**
|
|
109714
|
-
* The data used to update
|
|
110900
|
+
* The data used to update AppGrants.
|
|
109715
110901
|
*/
|
|
109716
|
-
data: XOR<
|
|
110902
|
+
data: XOR<AppGrantUpdateManyMutationInput, AppGrantUncheckedUpdateManyInput>
|
|
109717
110903
|
/**
|
|
109718
|
-
* Filter which
|
|
110904
|
+
* Filter which AppGrants to update
|
|
109719
110905
|
*/
|
|
109720
|
-
where?:
|
|
110906
|
+
where?: AppGrantWhereInput
|
|
109721
110907
|
/**
|
|
109722
|
-
* Limit how many
|
|
110908
|
+
* Limit how many AppGrants to update.
|
|
109723
110909
|
*/
|
|
109724
110910
|
limit?: number
|
|
109725
110911
|
}
|
|
109726
110912
|
|
|
109727
110913
|
/**
|
|
109728
|
-
*
|
|
110914
|
+
* AppGrant upsert
|
|
109729
110915
|
*/
|
|
109730
|
-
export type
|
|
110916
|
+
export type AppGrantUpsertArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
|
|
109731
110917
|
/**
|
|
109732
|
-
* Select specific fields to fetch from the
|
|
110918
|
+
* Select specific fields to fetch from the AppGrant
|
|
109733
110919
|
*/
|
|
109734
|
-
select?:
|
|
110920
|
+
select?: AppGrantSelect<ExtArgs> | null
|
|
109735
110921
|
/**
|
|
109736
|
-
* Omit specific fields from the
|
|
110922
|
+
* Omit specific fields from the AppGrant
|
|
109737
110923
|
*/
|
|
109738
|
-
omit?:
|
|
110924
|
+
omit?: AppGrantOmit<ExtArgs> | null
|
|
109739
110925
|
/**
|
|
109740
|
-
* The filter to search for the
|
|
110926
|
+
* The filter to search for the AppGrant to update in case it exists.
|
|
109741
110927
|
*/
|
|
109742
|
-
where:
|
|
110928
|
+
where: AppGrantWhereUniqueInput
|
|
109743
110929
|
/**
|
|
109744
|
-
* In case the
|
|
110930
|
+
* In case the AppGrant found by the `where` argument doesn't exist, create a new AppGrant with this data.
|
|
109745
110931
|
*/
|
|
109746
|
-
create: XOR<
|
|
110932
|
+
create: XOR<AppGrantCreateInput, AppGrantUncheckedCreateInput>
|
|
109747
110933
|
/**
|
|
109748
|
-
* In case the
|
|
110934
|
+
* In case the AppGrant was found with the provided `where` argument, update it with this data.
|
|
109749
110935
|
*/
|
|
109750
|
-
update: XOR<
|
|
110936
|
+
update: XOR<AppGrantUpdateInput, AppGrantUncheckedUpdateInput>
|
|
109751
110937
|
}
|
|
109752
110938
|
|
|
109753
110939
|
/**
|
|
109754
|
-
*
|
|
110940
|
+
* AppGrant delete
|
|
109755
110941
|
*/
|
|
109756
|
-
export type
|
|
110942
|
+
export type AppGrantDeleteArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
|
|
109757
110943
|
/**
|
|
109758
|
-
* Select specific fields to fetch from the
|
|
110944
|
+
* Select specific fields to fetch from the AppGrant
|
|
109759
110945
|
*/
|
|
109760
|
-
select?:
|
|
110946
|
+
select?: AppGrantSelect<ExtArgs> | null
|
|
109761
110947
|
/**
|
|
109762
|
-
* Omit specific fields from the
|
|
110948
|
+
* Omit specific fields from the AppGrant
|
|
109763
110949
|
*/
|
|
109764
|
-
omit?:
|
|
110950
|
+
omit?: AppGrantOmit<ExtArgs> | null
|
|
109765
110951
|
/**
|
|
109766
|
-
* Filter which
|
|
110952
|
+
* Filter which AppGrant to delete.
|
|
109767
110953
|
*/
|
|
109768
|
-
where:
|
|
110954
|
+
where: AppGrantWhereUniqueInput
|
|
109769
110955
|
}
|
|
109770
110956
|
|
|
109771
110957
|
/**
|
|
109772
|
-
*
|
|
110958
|
+
* AppGrant deleteMany
|
|
109773
110959
|
*/
|
|
109774
|
-
export type
|
|
110960
|
+
export type AppGrantDeleteManyArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
|
|
109775
110961
|
/**
|
|
109776
|
-
* Filter which
|
|
110962
|
+
* Filter which AppGrants to delete
|
|
109777
110963
|
*/
|
|
109778
|
-
where?:
|
|
110964
|
+
where?: AppGrantWhereInput
|
|
109779
110965
|
/**
|
|
109780
|
-
* Limit how many
|
|
110966
|
+
* Limit how many AppGrants to delete.
|
|
109781
110967
|
*/
|
|
109782
110968
|
limit?: number
|
|
109783
110969
|
}
|
|
109784
110970
|
|
|
109785
110971
|
/**
|
|
109786
|
-
*
|
|
110972
|
+
* AppGrant without action
|
|
109787
110973
|
*/
|
|
109788
|
-
export type
|
|
110974
|
+
export type AppGrantDefaultArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
|
|
109789
110975
|
/**
|
|
109790
|
-
* Select specific fields to fetch from the
|
|
110976
|
+
* Select specific fields to fetch from the AppGrant
|
|
109791
110977
|
*/
|
|
109792
|
-
select?:
|
|
110978
|
+
select?: AppGrantSelect<ExtArgs> | null
|
|
109793
110979
|
/**
|
|
109794
|
-
* Omit specific fields from the
|
|
110980
|
+
* Omit specific fields from the AppGrant
|
|
109795
110981
|
*/
|
|
109796
|
-
omit?:
|
|
110982
|
+
omit?: AppGrantOmit<ExtArgs> | null
|
|
109797
110983
|
}
|
|
109798
110984
|
|
|
109799
110985
|
|
|
@@ -114469,6 +115655,7 @@ export namespace Prisma {
|
|
|
114469
115655
|
verificationIssuer: 'verificationIssuer',
|
|
114470
115656
|
verificationCredentialHash: 'verificationCredentialHash',
|
|
114471
115657
|
ftnVerified: 'ftnVerified',
|
|
115658
|
+
googleSub: 'googleSub',
|
|
114472
115659
|
trustScore: 'trustScore',
|
|
114473
115660
|
morselBalance: 'morselBalance',
|
|
114474
115661
|
allowedOrigins: 'allowedOrigins',
|
|
@@ -115716,6 +116903,24 @@ export namespace Prisma {
|
|
|
115716
116903
|
export type SubdomainSiteScalarFieldEnum = (typeof SubdomainSiteScalarFieldEnum)[keyof typeof SubdomainSiteScalarFieldEnum]
|
|
115717
116904
|
|
|
115718
116905
|
|
|
116906
|
+
export const AppGrantScalarFieldEnum: {
|
|
116907
|
+
id: 'id',
|
|
116908
|
+
grantId: 'grantId',
|
|
116909
|
+
app: 'app',
|
|
116910
|
+
appName: 'appName',
|
|
116911
|
+
appOrigin: 'appOrigin',
|
|
116912
|
+
owner: 'owner',
|
|
116913
|
+
gaii: 'gaii',
|
|
116914
|
+
scopes: 'scopes',
|
|
116915
|
+
refreshTokenHash: 'refreshTokenHash',
|
|
116916
|
+
createdAt: 'createdAt',
|
|
116917
|
+
lastUsedAt: 'lastUsedAt',
|
|
116918
|
+
revoked: 'revoked'
|
|
116919
|
+
};
|
|
116920
|
+
|
|
116921
|
+
export type AppGrantScalarFieldEnum = (typeof AppGrantScalarFieldEnum)[keyof typeof AppGrantScalarFieldEnum]
|
|
116922
|
+
|
|
116923
|
+
|
|
115719
116924
|
export const AgentMessageScalarFieldEnum: {
|
|
115720
116925
|
id: 'id',
|
|
115721
116926
|
agentGaii: 'agentGaii',
|
|
@@ -117460,6 +118665,7 @@ export namespace Prisma {
|
|
|
117460
118665
|
verificationIssuer?: StringNullableFilter<"Ghii"> | string | null
|
|
117461
118666
|
verificationCredentialHash?: StringNullableFilter<"Ghii"> | string | null
|
|
117462
118667
|
ftnVerified?: BoolFilter<"Ghii"> | boolean
|
|
118668
|
+
googleSub?: StringNullableFilter<"Ghii"> | string | null
|
|
117463
118669
|
trustScore?: IntNullableFilter<"Ghii"> | number | null
|
|
117464
118670
|
morselBalance?: IntNullableFilter<"Ghii"> | number | null
|
|
117465
118671
|
allowedOrigins?: StringNullableListFilter<"Ghii">
|
|
@@ -117497,6 +118703,7 @@ export namespace Prisma {
|
|
|
117497
118703
|
verificationIssuer?: SortOrderInput | SortOrder
|
|
117498
118704
|
verificationCredentialHash?: SortOrderInput | SortOrder
|
|
117499
118705
|
ftnVerified?: SortOrder
|
|
118706
|
+
googleSub?: SortOrderInput | SortOrder
|
|
117500
118707
|
trustScore?: SortOrderInput | SortOrder
|
|
117501
118708
|
morselBalance?: SortOrderInput | SortOrder
|
|
117502
118709
|
allowedOrigins?: SortOrder
|
|
@@ -117537,6 +118744,7 @@ export namespace Prisma {
|
|
|
117537
118744
|
verificationIssuer?: StringNullableFilter<"Ghii"> | string | null
|
|
117538
118745
|
verificationCredentialHash?: StringNullableFilter<"Ghii"> | string | null
|
|
117539
118746
|
ftnVerified?: BoolFilter<"Ghii"> | boolean
|
|
118747
|
+
googleSub?: StringNullableFilter<"Ghii"> | string | null
|
|
117540
118748
|
trustScore?: IntNullableFilter<"Ghii"> | number | null
|
|
117541
118749
|
morselBalance?: IntNullableFilter<"Ghii"> | number | null
|
|
117542
118750
|
allowedOrigins?: StringNullableListFilter<"Ghii">
|
|
@@ -117574,6 +118782,7 @@ export namespace Prisma {
|
|
|
117574
118782
|
verificationIssuer?: SortOrderInput | SortOrder
|
|
117575
118783
|
verificationCredentialHash?: SortOrderInput | SortOrder
|
|
117576
118784
|
ftnVerified?: SortOrder
|
|
118785
|
+
googleSub?: SortOrderInput | SortOrder
|
|
117577
118786
|
trustScore?: SortOrderInput | SortOrder
|
|
117578
118787
|
morselBalance?: SortOrderInput | SortOrder
|
|
117579
118788
|
allowedOrigins?: SortOrder
|
|
@@ -117619,6 +118828,7 @@ export namespace Prisma {
|
|
|
117619
118828
|
verificationIssuer?: StringNullableWithAggregatesFilter<"Ghii"> | string | null
|
|
117620
118829
|
verificationCredentialHash?: StringNullableWithAggregatesFilter<"Ghii"> | string | null
|
|
117621
118830
|
ftnVerified?: BoolWithAggregatesFilter<"Ghii"> | boolean
|
|
118831
|
+
googleSub?: StringNullableWithAggregatesFilter<"Ghii"> | string | null
|
|
117622
118832
|
trustScore?: IntNullableWithAggregatesFilter<"Ghii"> | number | null
|
|
117623
118833
|
morselBalance?: IntNullableWithAggregatesFilter<"Ghii"> | number | null
|
|
117624
118834
|
allowedOrigins?: StringNullableListFilter<"Ghii">
|
|
@@ -123691,6 +124901,93 @@ export namespace Prisma {
|
|
|
123691
124901
|
updatedAt?: DateTimeWithAggregatesFilter<"SubdomainSite"> | Date | string
|
|
123692
124902
|
}
|
|
123693
124903
|
|
|
124904
|
+
export type AppGrantWhereInput = {
|
|
124905
|
+
AND?: AppGrantWhereInput | AppGrantWhereInput[]
|
|
124906
|
+
OR?: AppGrantWhereInput[]
|
|
124907
|
+
NOT?: AppGrantWhereInput | AppGrantWhereInput[]
|
|
124908
|
+
id?: StringFilter<"AppGrant"> | string
|
|
124909
|
+
grantId?: StringFilter<"AppGrant"> | string
|
|
124910
|
+
app?: StringFilter<"AppGrant"> | string
|
|
124911
|
+
appName?: StringFilter<"AppGrant"> | string
|
|
124912
|
+
appOrigin?: StringFilter<"AppGrant"> | string
|
|
124913
|
+
owner?: StringFilter<"AppGrant"> | string
|
|
124914
|
+
gaii?: StringFilter<"AppGrant"> | string
|
|
124915
|
+
scopes?: StringNullableListFilter<"AppGrant">
|
|
124916
|
+
refreshTokenHash?: StringNullableFilter<"AppGrant"> | string | null
|
|
124917
|
+
createdAt?: DateTimeFilter<"AppGrant"> | Date | string
|
|
124918
|
+
lastUsedAt?: DateTimeNullableFilter<"AppGrant"> | Date | string | null
|
|
124919
|
+
revoked?: BoolFilter<"AppGrant"> | boolean
|
|
124920
|
+
}
|
|
124921
|
+
|
|
124922
|
+
export type AppGrantOrderByWithRelationInput = {
|
|
124923
|
+
id?: SortOrder
|
|
124924
|
+
grantId?: SortOrder
|
|
124925
|
+
app?: SortOrder
|
|
124926
|
+
appName?: SortOrder
|
|
124927
|
+
appOrigin?: SortOrder
|
|
124928
|
+
owner?: SortOrder
|
|
124929
|
+
gaii?: SortOrder
|
|
124930
|
+
scopes?: SortOrder
|
|
124931
|
+
refreshTokenHash?: SortOrderInput | SortOrder
|
|
124932
|
+
createdAt?: SortOrder
|
|
124933
|
+
lastUsedAt?: SortOrderInput | SortOrder
|
|
124934
|
+
revoked?: SortOrder
|
|
124935
|
+
}
|
|
124936
|
+
|
|
124937
|
+
export type AppGrantWhereUniqueInput = Prisma.AtLeast<{
|
|
124938
|
+
id?: string
|
|
124939
|
+
grantId?: string
|
|
124940
|
+
AND?: AppGrantWhereInput | AppGrantWhereInput[]
|
|
124941
|
+
OR?: AppGrantWhereInput[]
|
|
124942
|
+
NOT?: AppGrantWhereInput | AppGrantWhereInput[]
|
|
124943
|
+
app?: StringFilter<"AppGrant"> | string
|
|
124944
|
+
appName?: StringFilter<"AppGrant"> | string
|
|
124945
|
+
appOrigin?: StringFilter<"AppGrant"> | string
|
|
124946
|
+
owner?: StringFilter<"AppGrant"> | string
|
|
124947
|
+
gaii?: StringFilter<"AppGrant"> | string
|
|
124948
|
+
scopes?: StringNullableListFilter<"AppGrant">
|
|
124949
|
+
refreshTokenHash?: StringNullableFilter<"AppGrant"> | string | null
|
|
124950
|
+
createdAt?: DateTimeFilter<"AppGrant"> | Date | string
|
|
124951
|
+
lastUsedAt?: DateTimeNullableFilter<"AppGrant"> | Date | string | null
|
|
124952
|
+
revoked?: BoolFilter<"AppGrant"> | boolean
|
|
124953
|
+
}, "id" | "grantId">
|
|
124954
|
+
|
|
124955
|
+
export type AppGrantOrderByWithAggregationInput = {
|
|
124956
|
+
id?: SortOrder
|
|
124957
|
+
grantId?: SortOrder
|
|
124958
|
+
app?: SortOrder
|
|
124959
|
+
appName?: SortOrder
|
|
124960
|
+
appOrigin?: SortOrder
|
|
124961
|
+
owner?: SortOrder
|
|
124962
|
+
gaii?: SortOrder
|
|
124963
|
+
scopes?: SortOrder
|
|
124964
|
+
refreshTokenHash?: SortOrderInput | SortOrder
|
|
124965
|
+
createdAt?: SortOrder
|
|
124966
|
+
lastUsedAt?: SortOrderInput | SortOrder
|
|
124967
|
+
revoked?: SortOrder
|
|
124968
|
+
_count?: AppGrantCountOrderByAggregateInput
|
|
124969
|
+
_max?: AppGrantMaxOrderByAggregateInput
|
|
124970
|
+
_min?: AppGrantMinOrderByAggregateInput
|
|
124971
|
+
}
|
|
124972
|
+
|
|
124973
|
+
export type AppGrantScalarWhereWithAggregatesInput = {
|
|
124974
|
+
AND?: AppGrantScalarWhereWithAggregatesInput | AppGrantScalarWhereWithAggregatesInput[]
|
|
124975
|
+
OR?: AppGrantScalarWhereWithAggregatesInput[]
|
|
124976
|
+
NOT?: AppGrantScalarWhereWithAggregatesInput | AppGrantScalarWhereWithAggregatesInput[]
|
|
124977
|
+
id?: StringWithAggregatesFilter<"AppGrant"> | string
|
|
124978
|
+
grantId?: StringWithAggregatesFilter<"AppGrant"> | string
|
|
124979
|
+
app?: StringWithAggregatesFilter<"AppGrant"> | string
|
|
124980
|
+
appName?: StringWithAggregatesFilter<"AppGrant"> | string
|
|
124981
|
+
appOrigin?: StringWithAggregatesFilter<"AppGrant"> | string
|
|
124982
|
+
owner?: StringWithAggregatesFilter<"AppGrant"> | string
|
|
124983
|
+
gaii?: StringWithAggregatesFilter<"AppGrant"> | string
|
|
124984
|
+
scopes?: StringNullableListFilter<"AppGrant">
|
|
124985
|
+
refreshTokenHash?: StringNullableWithAggregatesFilter<"AppGrant"> | string | null
|
|
124986
|
+
createdAt?: DateTimeWithAggregatesFilter<"AppGrant"> | Date | string
|
|
124987
|
+
lastUsedAt?: DateTimeNullableWithAggregatesFilter<"AppGrant"> | Date | string | null
|
|
124988
|
+
revoked?: BoolWithAggregatesFilter<"AppGrant"> | boolean
|
|
124989
|
+
}
|
|
124990
|
+
|
|
123694
124991
|
export type AgentMessageWhereInput = {
|
|
123695
124992
|
AND?: AgentMessageWhereInput | AgentMessageWhereInput[]
|
|
123696
124993
|
OR?: AgentMessageWhereInput[]
|
|
@@ -125815,6 +127112,7 @@ export namespace Prisma {
|
|
|
125815
127112
|
verificationIssuer?: string | null
|
|
125816
127113
|
verificationCredentialHash?: string | null
|
|
125817
127114
|
ftnVerified?: boolean
|
|
127115
|
+
googleSub?: string | null
|
|
125818
127116
|
trustScore?: number | null
|
|
125819
127117
|
morselBalance?: number | null
|
|
125820
127118
|
allowedOrigins?: GhiiCreateallowedOriginsInput | string[]
|
|
@@ -125852,6 +127150,7 @@ export namespace Prisma {
|
|
|
125852
127150
|
verificationIssuer?: string | null
|
|
125853
127151
|
verificationCredentialHash?: string | null
|
|
125854
127152
|
ftnVerified?: boolean
|
|
127153
|
+
googleSub?: string | null
|
|
125855
127154
|
trustScore?: number | null
|
|
125856
127155
|
morselBalance?: number | null
|
|
125857
127156
|
allowedOrigins?: GhiiCreateallowedOriginsInput | string[]
|
|
@@ -125889,6 +127188,7 @@ export namespace Prisma {
|
|
|
125889
127188
|
verificationIssuer?: NullableStringFieldUpdateOperationsInput | string | null
|
|
125890
127189
|
verificationCredentialHash?: NullableStringFieldUpdateOperationsInput | string | null
|
|
125891
127190
|
ftnVerified?: BoolFieldUpdateOperationsInput | boolean
|
|
127191
|
+
googleSub?: NullableStringFieldUpdateOperationsInput | string | null
|
|
125892
127192
|
trustScore?: NullableIntFieldUpdateOperationsInput | number | null
|
|
125893
127193
|
morselBalance?: NullableIntFieldUpdateOperationsInput | number | null
|
|
125894
127194
|
allowedOrigins?: GhiiUpdateallowedOriginsInput | string[]
|
|
@@ -125926,6 +127226,7 @@ export namespace Prisma {
|
|
|
125926
127226
|
verificationIssuer?: NullableStringFieldUpdateOperationsInput | string | null
|
|
125927
127227
|
verificationCredentialHash?: NullableStringFieldUpdateOperationsInput | string | null
|
|
125928
127228
|
ftnVerified?: BoolFieldUpdateOperationsInput | boolean
|
|
127229
|
+
googleSub?: NullableStringFieldUpdateOperationsInput | string | null
|
|
125929
127230
|
trustScore?: NullableIntFieldUpdateOperationsInput | number | null
|
|
125930
127231
|
morselBalance?: NullableIntFieldUpdateOperationsInput | number | null
|
|
125931
127232
|
allowedOrigins?: GhiiUpdateallowedOriginsInput | string[]
|
|
@@ -125963,6 +127264,7 @@ export namespace Prisma {
|
|
|
125963
127264
|
verificationIssuer?: string | null
|
|
125964
127265
|
verificationCredentialHash?: string | null
|
|
125965
127266
|
ftnVerified?: boolean
|
|
127267
|
+
googleSub?: string | null
|
|
125966
127268
|
trustScore?: number | null
|
|
125967
127269
|
morselBalance?: number | null
|
|
125968
127270
|
allowedOrigins?: GhiiCreateallowedOriginsInput | string[]
|
|
@@ -126000,6 +127302,7 @@ export namespace Prisma {
|
|
|
126000
127302
|
verificationIssuer?: NullableStringFieldUpdateOperationsInput | string | null
|
|
126001
127303
|
verificationCredentialHash?: NullableStringFieldUpdateOperationsInput | string | null
|
|
126002
127304
|
ftnVerified?: BoolFieldUpdateOperationsInput | boolean
|
|
127305
|
+
googleSub?: NullableStringFieldUpdateOperationsInput | string | null
|
|
126003
127306
|
trustScore?: NullableIntFieldUpdateOperationsInput | number | null
|
|
126004
127307
|
morselBalance?: NullableIntFieldUpdateOperationsInput | number | null
|
|
126005
127308
|
allowedOrigins?: GhiiUpdateallowedOriginsInput | string[]
|
|
@@ -126037,6 +127340,7 @@ export namespace Prisma {
|
|
|
126037
127340
|
verificationIssuer?: NullableStringFieldUpdateOperationsInput | string | null
|
|
126038
127341
|
verificationCredentialHash?: NullableStringFieldUpdateOperationsInput | string | null
|
|
126039
127342
|
ftnVerified?: BoolFieldUpdateOperationsInput | boolean
|
|
127343
|
+
googleSub?: NullableStringFieldUpdateOperationsInput | string | null
|
|
126040
127344
|
trustScore?: NullableIntFieldUpdateOperationsInput | number | null
|
|
126041
127345
|
morselBalance?: NullableIntFieldUpdateOperationsInput | number | null
|
|
126042
127346
|
allowedOrigins?: GhiiUpdateallowedOriginsInput | string[]
|
|
@@ -133176,6 +134480,111 @@ export namespace Prisma {
|
|
|
133176
134480
|
updatedAt?: DateTimeFieldUpdateOperationsInput | Date | string
|
|
133177
134481
|
}
|
|
133178
134482
|
|
|
134483
|
+
export type AppGrantCreateInput = {
|
|
134484
|
+
id?: string
|
|
134485
|
+
grantId: string
|
|
134486
|
+
app: string
|
|
134487
|
+
appName: string
|
|
134488
|
+
appOrigin: string
|
|
134489
|
+
owner: string
|
|
134490
|
+
gaii: string
|
|
134491
|
+
scopes?: AppGrantCreatescopesInput | string[]
|
|
134492
|
+
refreshTokenHash?: string | null
|
|
134493
|
+
createdAt?: Date | string
|
|
134494
|
+
lastUsedAt?: Date | string | null
|
|
134495
|
+
revoked?: boolean
|
|
134496
|
+
}
|
|
134497
|
+
|
|
134498
|
+
export type AppGrantUncheckedCreateInput = {
|
|
134499
|
+
id?: string
|
|
134500
|
+
grantId: string
|
|
134501
|
+
app: string
|
|
134502
|
+
appName: string
|
|
134503
|
+
appOrigin: string
|
|
134504
|
+
owner: string
|
|
134505
|
+
gaii: string
|
|
134506
|
+
scopes?: AppGrantCreatescopesInput | string[]
|
|
134507
|
+
refreshTokenHash?: string | null
|
|
134508
|
+
createdAt?: Date | string
|
|
134509
|
+
lastUsedAt?: Date | string | null
|
|
134510
|
+
revoked?: boolean
|
|
134511
|
+
}
|
|
134512
|
+
|
|
134513
|
+
export type AppGrantUpdateInput = {
|
|
134514
|
+
id?: StringFieldUpdateOperationsInput | string
|
|
134515
|
+
grantId?: StringFieldUpdateOperationsInput | string
|
|
134516
|
+
app?: StringFieldUpdateOperationsInput | string
|
|
134517
|
+
appName?: StringFieldUpdateOperationsInput | string
|
|
134518
|
+
appOrigin?: StringFieldUpdateOperationsInput | string
|
|
134519
|
+
owner?: StringFieldUpdateOperationsInput | string
|
|
134520
|
+
gaii?: StringFieldUpdateOperationsInput | string
|
|
134521
|
+
scopes?: AppGrantUpdatescopesInput | string[]
|
|
134522
|
+
refreshTokenHash?: NullableStringFieldUpdateOperationsInput | string | null
|
|
134523
|
+
createdAt?: DateTimeFieldUpdateOperationsInput | Date | string
|
|
134524
|
+
lastUsedAt?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
|
|
134525
|
+
revoked?: BoolFieldUpdateOperationsInput | boolean
|
|
134526
|
+
}
|
|
134527
|
+
|
|
134528
|
+
export type AppGrantUncheckedUpdateInput = {
|
|
134529
|
+
id?: StringFieldUpdateOperationsInput | string
|
|
134530
|
+
grantId?: StringFieldUpdateOperationsInput | string
|
|
134531
|
+
app?: StringFieldUpdateOperationsInput | string
|
|
134532
|
+
appName?: StringFieldUpdateOperationsInput | string
|
|
134533
|
+
appOrigin?: StringFieldUpdateOperationsInput | string
|
|
134534
|
+
owner?: StringFieldUpdateOperationsInput | string
|
|
134535
|
+
gaii?: StringFieldUpdateOperationsInput | string
|
|
134536
|
+
scopes?: AppGrantUpdatescopesInput | string[]
|
|
134537
|
+
refreshTokenHash?: NullableStringFieldUpdateOperationsInput | string | null
|
|
134538
|
+
createdAt?: DateTimeFieldUpdateOperationsInput | Date | string
|
|
134539
|
+
lastUsedAt?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
|
|
134540
|
+
revoked?: BoolFieldUpdateOperationsInput | boolean
|
|
134541
|
+
}
|
|
134542
|
+
|
|
134543
|
+
export type AppGrantCreateManyInput = {
|
|
134544
|
+
id?: string
|
|
134545
|
+
grantId: string
|
|
134546
|
+
app: string
|
|
134547
|
+
appName: string
|
|
134548
|
+
appOrigin: string
|
|
134549
|
+
owner: string
|
|
134550
|
+
gaii: string
|
|
134551
|
+
scopes?: AppGrantCreatescopesInput | string[]
|
|
134552
|
+
refreshTokenHash?: string | null
|
|
134553
|
+
createdAt?: Date | string
|
|
134554
|
+
lastUsedAt?: Date | string | null
|
|
134555
|
+
revoked?: boolean
|
|
134556
|
+
}
|
|
134557
|
+
|
|
134558
|
+
export type AppGrantUpdateManyMutationInput = {
|
|
134559
|
+
id?: StringFieldUpdateOperationsInput | string
|
|
134560
|
+
grantId?: StringFieldUpdateOperationsInput | string
|
|
134561
|
+
app?: StringFieldUpdateOperationsInput | string
|
|
134562
|
+
appName?: StringFieldUpdateOperationsInput | string
|
|
134563
|
+
appOrigin?: StringFieldUpdateOperationsInput | string
|
|
134564
|
+
owner?: StringFieldUpdateOperationsInput | string
|
|
134565
|
+
gaii?: StringFieldUpdateOperationsInput | string
|
|
134566
|
+
scopes?: AppGrantUpdatescopesInput | string[]
|
|
134567
|
+
refreshTokenHash?: NullableStringFieldUpdateOperationsInput | string | null
|
|
134568
|
+
createdAt?: DateTimeFieldUpdateOperationsInput | Date | string
|
|
134569
|
+
lastUsedAt?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
|
|
134570
|
+
revoked?: BoolFieldUpdateOperationsInput | boolean
|
|
134571
|
+
}
|
|
134572
|
+
|
|
134573
|
+
export type AppGrantUncheckedUpdateManyInput = {
|
|
134574
|
+
id?: StringFieldUpdateOperationsInput | string
|
|
134575
|
+
grantId?: StringFieldUpdateOperationsInput | string
|
|
134576
|
+
app?: StringFieldUpdateOperationsInput | string
|
|
134577
|
+
appName?: StringFieldUpdateOperationsInput | string
|
|
134578
|
+
appOrigin?: StringFieldUpdateOperationsInput | string
|
|
134579
|
+
owner?: StringFieldUpdateOperationsInput | string
|
|
134580
|
+
gaii?: StringFieldUpdateOperationsInput | string
|
|
134581
|
+
scopes?: AppGrantUpdatescopesInput | string[]
|
|
134582
|
+
refreshTokenHash?: NullableStringFieldUpdateOperationsInput | string | null
|
|
134583
|
+
createdAt?: DateTimeFieldUpdateOperationsInput | Date | string
|
|
134584
|
+
lastUsedAt?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
|
|
134585
|
+
revoked?: BoolFieldUpdateOperationsInput | boolean
|
|
134586
|
+
}
|
|
134587
|
+
|
|
133179
134588
|
export type AgentMessageCreateInput = {
|
|
133180
134589
|
id: string
|
|
133181
134590
|
agentGaii: string
|
|
@@ -134740,6 +136149,7 @@ export namespace Prisma {
|
|
|
134740
136149
|
verificationIssuer?: SortOrder
|
|
134741
136150
|
verificationCredentialHash?: SortOrder
|
|
134742
136151
|
ftnVerified?: SortOrder
|
|
136152
|
+
googleSub?: SortOrder
|
|
134743
136153
|
trustScore?: SortOrder
|
|
134744
136154
|
morselBalance?: SortOrder
|
|
134745
136155
|
allowedOrigins?: SortOrder
|
|
@@ -134783,6 +136193,7 @@ export namespace Prisma {
|
|
|
134783
136193
|
verificationIssuer?: SortOrder
|
|
134784
136194
|
verificationCredentialHash?: SortOrder
|
|
134785
136195
|
ftnVerified?: SortOrder
|
|
136196
|
+
googleSub?: SortOrder
|
|
134786
136197
|
trustScore?: SortOrder
|
|
134787
136198
|
morselBalance?: SortOrder
|
|
134788
136199
|
createdAt?: SortOrder
|
|
@@ -134817,6 +136228,7 @@ export namespace Prisma {
|
|
|
134817
136228
|
verificationIssuer?: SortOrder
|
|
134818
136229
|
verificationCredentialHash?: SortOrder
|
|
134819
136230
|
ftnVerified?: SortOrder
|
|
136231
|
+
googleSub?: SortOrder
|
|
134820
136232
|
trustScore?: SortOrder
|
|
134821
136233
|
morselBalance?: SortOrder
|
|
134822
136234
|
createdAt?: SortOrder
|
|
@@ -138121,6 +139533,49 @@ export namespace Prisma {
|
|
|
138121
139533
|
updatedAt?: SortOrder
|
|
138122
139534
|
}
|
|
138123
139535
|
|
|
139536
|
+
export type AppGrantCountOrderByAggregateInput = {
|
|
139537
|
+
id?: SortOrder
|
|
139538
|
+
grantId?: SortOrder
|
|
139539
|
+
app?: SortOrder
|
|
139540
|
+
appName?: SortOrder
|
|
139541
|
+
appOrigin?: SortOrder
|
|
139542
|
+
owner?: SortOrder
|
|
139543
|
+
gaii?: SortOrder
|
|
139544
|
+
scopes?: SortOrder
|
|
139545
|
+
refreshTokenHash?: SortOrder
|
|
139546
|
+
createdAt?: SortOrder
|
|
139547
|
+
lastUsedAt?: SortOrder
|
|
139548
|
+
revoked?: SortOrder
|
|
139549
|
+
}
|
|
139550
|
+
|
|
139551
|
+
export type AppGrantMaxOrderByAggregateInput = {
|
|
139552
|
+
id?: SortOrder
|
|
139553
|
+
grantId?: SortOrder
|
|
139554
|
+
app?: SortOrder
|
|
139555
|
+
appName?: SortOrder
|
|
139556
|
+
appOrigin?: SortOrder
|
|
139557
|
+
owner?: SortOrder
|
|
139558
|
+
gaii?: SortOrder
|
|
139559
|
+
refreshTokenHash?: SortOrder
|
|
139560
|
+
createdAt?: SortOrder
|
|
139561
|
+
lastUsedAt?: SortOrder
|
|
139562
|
+
revoked?: SortOrder
|
|
139563
|
+
}
|
|
139564
|
+
|
|
139565
|
+
export type AppGrantMinOrderByAggregateInput = {
|
|
139566
|
+
id?: SortOrder
|
|
139567
|
+
grantId?: SortOrder
|
|
139568
|
+
app?: SortOrder
|
|
139569
|
+
appName?: SortOrder
|
|
139570
|
+
appOrigin?: SortOrder
|
|
139571
|
+
owner?: SortOrder
|
|
139572
|
+
gaii?: SortOrder
|
|
139573
|
+
refreshTokenHash?: SortOrder
|
|
139574
|
+
createdAt?: SortOrder
|
|
139575
|
+
lastUsedAt?: SortOrder
|
|
139576
|
+
revoked?: SortOrder
|
|
139577
|
+
}
|
|
139578
|
+
|
|
138124
139579
|
export type AgentMessageCountOrderByAggregateInput = {
|
|
138125
139580
|
id?: SortOrder
|
|
138126
139581
|
agentGaii?: SortOrder
|
|
@@ -138823,6 +140278,15 @@ export namespace Prisma {
|
|
|
138823
140278
|
push?: string | string[]
|
|
138824
140279
|
}
|
|
138825
140280
|
|
|
140281
|
+
export type AppGrantCreatescopesInput = {
|
|
140282
|
+
set: string[]
|
|
140283
|
+
}
|
|
140284
|
+
|
|
140285
|
+
export type AppGrantUpdatescopesInput = {
|
|
140286
|
+
set?: string[]
|
|
140287
|
+
push?: string | string[]
|
|
140288
|
+
}
|
|
140289
|
+
|
|
138826
140290
|
export type NestedStringFilter<$PrismaModel = never> = {
|
|
138827
140291
|
equals?: string | StringFieldRefInput<$PrismaModel>
|
|
138828
140292
|
in?: string[] | ListStringFieldRefInput<$PrismaModel>
|