@wardby/cli 0.2.0 → 0.2.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +142 -67
- package/dist/claude-coding-worker/driver.d.ts +1 -0
- package/dist/claude-coding-worker/driver.js +4 -1
- package/dist/claude-coding-worker/main.js +3 -2
- package/dist/coding/protocol.d.ts +28 -3
- package/dist/coding/protocol.js +53 -2
- package/dist/coding-worker/artifact.d.ts +12 -0
- package/dist/coding-worker/artifact.js +48 -6
- package/dist/coding-worker/driver.d.ts +1 -0
- package/dist/coding-worker/driver.js +4 -1
- package/dist/coding-worker/errors.d.ts +7 -0
- package/dist/coding-worker/errors.js +18 -0
- package/dist/coding-worker/main.js +3 -2
- package/dist/core/budget-groups.d.ts +1 -1
- package/dist/core/coding-queue.d.ts +1 -1
- package/dist/core/datastores.d.ts +1 -1
- package/dist/core/db.d.ts +36 -2
- package/dist/core/db.js +69 -2
- package/dist/core/dispatch.d.ts +16 -1
- package/dist/core/dispatch.js +33 -5
- package/dist/core/http-runtime.js +3 -4
- package/dist/core/lease.d.ts +1 -1
- package/dist/core/private-directory.d.ts +20 -0
- package/dist/core/private-directory.js +36 -0
- package/dist/core/reconciler.d.ts +1 -1
- package/dist/core/runner.d.ts +1 -1
- package/dist/core/scheduler.d.ts +1 -1
- package/dist/core/secrets.d.ts +1 -1
- package/dist/core/subagent-memory-tools.d.ts +1 -1
- package/dist/core/webhooks.d.ts +1 -1
- package/dist/generated/prisma/browser.d.ts +228 -0
- package/dist/generated/prisma/browser.js +17 -0
- package/dist/generated/prisma/client.d.ts +247 -0
- package/dist/generated/prisma/client.js +34 -0
- package/dist/generated/prisma/commonInputTypes.d.ts +809 -0
- package/dist/generated/prisma/commonInputTypes.js +10 -0
- package/dist/generated/prisma/enums.d.ts +53 -0
- package/dist/generated/prisma/enums.js +54 -0
- package/dist/generated/prisma/internal/class.d.ts +462 -0
- package/dist/generated/prisma/internal/class.js +49 -0
- package/dist/generated/prisma/internal/prismaNamespace.d.ts +3325 -0
- package/dist/generated/prisma/internal/prismaNamespace.js +455 -0
- package/dist/generated/prisma/internal/prismaNamespaceBrowser.d.ts +449 -0
- package/dist/generated/prisma/internal/prismaNamespaceBrowser.js +426 -0
- package/dist/generated/prisma/models/Agent.d.ts +3267 -0
- package/dist/generated/prisma/models/Agent.js +1 -0
- package/dist/generated/prisma/models/AgentDatastore.d.ts +1210 -0
- package/dist/generated/prisma/models/AgentDatastore.js +1 -0
- package/dist/generated/prisma/models/AgentMemory.d.ts +986 -0
- package/dist/generated/prisma/models/AgentMemory.js +1 -0
- package/dist/generated/prisma/models/AgentSecret.d.ts +1212 -0
- package/dist/generated/prisma/models/AgentSecret.js +1 -0
- package/dist/generated/prisma/models/AgentSubAgent.d.ts +1217 -0
- package/dist/generated/prisma/models/AgentSubAgent.js +1 -0
- package/dist/generated/prisma/models/AgentTool.d.ts +1309 -0
- package/dist/generated/prisma/models/AgentTool.js +1 -0
- package/dist/generated/prisma/models/AuthFormChallenge.d.ts +1298 -0
- package/dist/generated/prisma/models/AuthFormChallenge.js +1 -0
- package/dist/generated/prisma/models/AuthLoginKey.d.ts +1245 -0
- package/dist/generated/prisma/models/AuthLoginKey.js +1 -0
- package/dist/generated/prisma/models/AuthRateLimit.d.ts +979 -0
- package/dist/generated/prisma/models/AuthRateLimit.js +1 -0
- package/dist/generated/prisma/models/AuthSession.d.ts +1376 -0
- package/dist/generated/prisma/models/AuthSession.js +1 -0
- package/dist/generated/prisma/models/AuthUser.d.ts +1645 -0
- package/dist/generated/prisma/models/AuthUser.js +1 -0
- package/dist/generated/prisma/models/BudgetGroup.d.ts +1548 -0
- package/dist/generated/prisma/models/BudgetGroup.js +1 -0
- package/dist/generated/prisma/models/CodingAgentProfile.d.ts +1430 -0
- package/dist/generated/prisma/models/CodingAgentProfile.js +1 -0
- package/dist/generated/prisma/models/CodingProxyRequest.d.ts +1749 -0
- package/dist/generated/prisma/models/CodingProxyRequest.js +1 -0
- package/dist/generated/prisma/models/CodingProxySession.d.ts +1505 -0
- package/dist/generated/prisma/models/CodingProxySession.js +1 -0
- package/dist/generated/prisma/models/CodingRun.d.ts +2402 -0
- package/dist/generated/prisma/models/CodingRun.js +1 -0
- package/dist/generated/prisma/models/Datastore.d.ts +1434 -0
- package/dist/generated/prisma/models/Datastore.js +1 -0
- package/dist/generated/prisma/models/DatastoreEntry.d.ts +1314 -0
- package/dist/generated/prisma/models/DatastoreEntry.js +1 -0
- package/dist/generated/prisma/models/OAuthAuthorizationCode.d.ts +1526 -0
- package/dist/generated/prisma/models/OAuthAuthorizationCode.js +1 -0
- package/dist/generated/prisma/models/OAuthAuthorizationRequest.d.ts +1350 -0
- package/dist/generated/prisma/models/OAuthAuthorizationRequest.js +1 -0
- package/dist/generated/prisma/models/OAuthClient.d.ts +1289 -0
- package/dist/generated/prisma/models/OAuthClient.js +1 -0
- package/dist/generated/prisma/models/OAuthFamily.d.ts +1540 -0
- package/dist/generated/prisma/models/OAuthFamily.js +1 -0
- package/dist/generated/prisma/models/OAuthGrant.d.ts +1280 -0
- package/dist/generated/prisma/models/OAuthGrant.js +1 -0
- package/dist/generated/prisma/models/Principal.d.ts +1790 -0
- package/dist/generated/prisma/models/Principal.js +1 -0
- package/dist/generated/prisma/models/Run.d.ts +2281 -0
- package/dist/generated/prisma/models/Run.js +1 -0
- package/dist/generated/prisma/models/SchedulerLease.d.ts +970 -0
- package/dist/generated/prisma/models/SchedulerLease.js +1 -0
- package/dist/generated/prisma/models/Secret.d.ts +1399 -0
- package/dist/generated/prisma/models/Secret.js +1 -0
- package/dist/generated/prisma/models/SecretElicitationOutcome.d.ts +973 -0
- package/dist/generated/prisma/models/SecretElicitationOutcome.js +1 -0
- package/dist/generated/prisma/models/Task.d.ts +1176 -0
- package/dist/generated/prisma/models/Task.js +1 -0
- package/dist/generated/prisma/models/Tool.d.ts +1478 -0
- package/dist/generated/prisma/models/Tool.js +1 -0
- package/dist/generated/prisma/models/Webhook.d.ts +1386 -0
- package/dist/generated/prisma/models/Webhook.js +1 -0
- package/dist/generated/prisma/models.d.ts +32 -0
- package/dist/generated/prisma/models.js +1 -0
- package/dist/import/create.d.ts +1 -1
- package/dist/import/create.js +1 -1
- package/dist/import/index.d.ts +1 -1
- package/dist/mcp/auth/ownership.d.ts +19 -19
- package/dist/mcp/auth/principal.d.ts +1 -1
- package/dist/mcp/auth/resource-server.d.ts +1 -1
- package/dist/mcp/auth/self-hosted/browser.js +20 -6
- package/dist/mcp/auth/self-hosted/cli.d.ts +1 -1
- package/dist/mcp/auth/self-hosted/credentials.d.ts +1 -1
- package/dist/mcp/auth/self-hosted/rate-limit.d.ts +1 -1
- package/dist/mcp/auth/self-hosted/session.d.ts +1 -1
- package/dist/mcp/context.d.ts +1 -1
- package/dist/mcp/server.d.ts +1 -1
- package/dist/mcp/shared/page-style.d.ts +16 -0
- package/dist/mcp/shared/page-style.js +129 -0
- package/dist/mcp/tasks/manager.d.ts +1 -1
- package/dist/mcp/tools/agents.js +1 -1
- package/dist/mcp/tools/datastore.js +1 -1
- package/dist/mcp/tools/scheduling.js +1 -1
- package/dist/mcp/tools/secret-elicitation-form.d.ts +1 -1
- package/dist/mcp/tools/secret-elicitation-form.js +10 -28
- package/dist/mcp/tools/secret-elicitation.d.ts +1 -1
- package/dist/mcp/tools/subagents.js +1 -1
- package/dist/mcp/tools/tools.js +1 -1
- package/dist/mcp/transport/streamable-http.d.ts +1 -1
- package/dist/mcp/unattended-schedules.d.ts +1 -1
- package/dist/mcp/webhooks/ingress.d.ts +1 -1
- package/dist/providers/auth/index.d.ts +1 -1
- package/dist/providers/auth/self-hosted.d.ts +2 -2
- package/dist/providers/coding-proxy/prisma-ledger.d.ts +1 -1
- package/dist/providers/coding-proxy/runtime.d.ts +1 -1
- package/dist/providers/datastore/postgres.d.ts +1 -1
- package/dist/providers/executor/build.d.ts +1 -1
- package/dist/providers/executor/composition.d.ts +1 -1
- package/dist/providers/executor/container.d.ts +1 -1
- package/dist/providers/executor/container.js +10 -3
- package/dist/providers/executor/dbos.d.ts +1 -1
- package/dist/providers/jobs/docker.d.ts +11 -0
- package/dist/providers/jobs/docker.js +34 -18
- package/dist/providers/jobs/kubernetes.js +5 -10
- package/dist/providers/jobs/types.d.ts +2 -0
- package/dist/providers/memory/postgres.d.ts +1 -1
- package/dist/providers/vcs/git.js +2 -1
- package/dist/quickstart/index.js +22 -31
- package/dist/quickstart/migrate.d.ts +23 -0
- package/dist/quickstart/migrate.js +125 -0
- package/package.json +20 -10
- package/prisma/migrate.config.mjs +20 -0
- package/prisma/schema.prisma +10 -2
|
@@ -0,0 +1,1790 @@
|
|
|
1
|
+
import type * as runtime from "@prisma/client/runtime/client";
|
|
2
|
+
import type * as Prisma from "../internal/prismaNamespace.js";
|
|
3
|
+
/**
|
|
4
|
+
* Model Principal
|
|
5
|
+
* Phase 4: an authenticated caller. `subject` is the IdP subject claim
|
|
6
|
+
* (delegating mode) or the configured LOCAL_PRINCIPAL (stdio, no token).
|
|
7
|
+
* Created on first sight (find-or-create by subject).
|
|
8
|
+
*/
|
|
9
|
+
export type PrincipalModel = runtime.Types.Result.DefaultSelection<Prisma.$PrincipalPayload>;
|
|
10
|
+
export type AggregatePrincipal = {
|
|
11
|
+
_count: PrincipalCountAggregateOutputType | null;
|
|
12
|
+
_min: PrincipalMinAggregateOutputType | null;
|
|
13
|
+
_max: PrincipalMaxAggregateOutputType | null;
|
|
14
|
+
};
|
|
15
|
+
export type PrincipalMinAggregateOutputType = {
|
|
16
|
+
id: string | null;
|
|
17
|
+
subject: string | null;
|
|
18
|
+
createdAt: Date | null;
|
|
19
|
+
};
|
|
20
|
+
export type PrincipalMaxAggregateOutputType = {
|
|
21
|
+
id: string | null;
|
|
22
|
+
subject: string | null;
|
|
23
|
+
createdAt: Date | null;
|
|
24
|
+
};
|
|
25
|
+
export type PrincipalCountAggregateOutputType = {
|
|
26
|
+
id: number;
|
|
27
|
+
subject: number;
|
|
28
|
+
createdAt: number;
|
|
29
|
+
_all: number;
|
|
30
|
+
};
|
|
31
|
+
export type PrincipalMinAggregateInputType = {
|
|
32
|
+
id?: true;
|
|
33
|
+
subject?: true;
|
|
34
|
+
createdAt?: true;
|
|
35
|
+
};
|
|
36
|
+
export type PrincipalMaxAggregateInputType = {
|
|
37
|
+
id?: true;
|
|
38
|
+
subject?: true;
|
|
39
|
+
createdAt?: true;
|
|
40
|
+
};
|
|
41
|
+
export type PrincipalCountAggregateInputType = {
|
|
42
|
+
id?: true;
|
|
43
|
+
subject?: true;
|
|
44
|
+
createdAt?: true;
|
|
45
|
+
_all?: true;
|
|
46
|
+
};
|
|
47
|
+
export type PrincipalAggregateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
48
|
+
/**
|
|
49
|
+
* Filter which Principal to aggregate.
|
|
50
|
+
*/
|
|
51
|
+
where?: Prisma.PrincipalWhereInput;
|
|
52
|
+
/**
|
|
53
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
|
|
54
|
+
*
|
|
55
|
+
* Determine the order of Principals to fetch.
|
|
56
|
+
*/
|
|
57
|
+
orderBy?: Prisma.PrincipalOrderByWithRelationInput | Prisma.PrincipalOrderByWithRelationInput[];
|
|
58
|
+
/**
|
|
59
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
|
|
60
|
+
*
|
|
61
|
+
* Sets the start position
|
|
62
|
+
*/
|
|
63
|
+
cursor?: Prisma.PrincipalWhereUniqueInput;
|
|
64
|
+
/**
|
|
65
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
66
|
+
*
|
|
67
|
+
* Take `±n` Principals from the position of the cursor.
|
|
68
|
+
*/
|
|
69
|
+
take?: number;
|
|
70
|
+
/**
|
|
71
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
72
|
+
*
|
|
73
|
+
* Skip the first `n` Principals.
|
|
74
|
+
*/
|
|
75
|
+
skip?: number;
|
|
76
|
+
/**
|
|
77
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
|
|
78
|
+
*
|
|
79
|
+
* Count returned Principals
|
|
80
|
+
**/
|
|
81
|
+
_count?: true | PrincipalCountAggregateInputType;
|
|
82
|
+
/**
|
|
83
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
|
|
84
|
+
*
|
|
85
|
+
* Select which fields to find the minimum value
|
|
86
|
+
**/
|
|
87
|
+
_min?: PrincipalMinAggregateInputType;
|
|
88
|
+
/**
|
|
89
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
|
|
90
|
+
*
|
|
91
|
+
* Select which fields to find the maximum value
|
|
92
|
+
**/
|
|
93
|
+
_max?: PrincipalMaxAggregateInputType;
|
|
94
|
+
};
|
|
95
|
+
export type GetPrincipalAggregateType<T extends PrincipalAggregateArgs> = {
|
|
96
|
+
[P in keyof T & keyof AggregatePrincipal]: P extends '_count' | 'count' ? T[P] extends true ? number : Prisma.GetScalarType<T[P], AggregatePrincipal[P]> : Prisma.GetScalarType<T[P], AggregatePrincipal[P]>;
|
|
97
|
+
};
|
|
98
|
+
export type PrincipalGroupByArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
99
|
+
where?: Prisma.PrincipalWhereInput;
|
|
100
|
+
orderBy?: Prisma.PrincipalOrderByWithAggregationInput | Prisma.PrincipalOrderByWithAggregationInput[];
|
|
101
|
+
by: Prisma.PrincipalScalarFieldEnum[] | Prisma.PrincipalScalarFieldEnum;
|
|
102
|
+
having?: Prisma.PrincipalScalarWhereWithAggregatesInput;
|
|
103
|
+
take?: number;
|
|
104
|
+
skip?: number;
|
|
105
|
+
_count?: PrincipalCountAggregateInputType | true;
|
|
106
|
+
_min?: PrincipalMinAggregateInputType;
|
|
107
|
+
_max?: PrincipalMaxAggregateInputType;
|
|
108
|
+
};
|
|
109
|
+
export type PrincipalGroupByOutputType = {
|
|
110
|
+
id: string;
|
|
111
|
+
subject: string;
|
|
112
|
+
createdAt: Date;
|
|
113
|
+
_count: PrincipalCountAggregateOutputType | null;
|
|
114
|
+
_min: PrincipalMinAggregateOutputType | null;
|
|
115
|
+
_max: PrincipalMaxAggregateOutputType | null;
|
|
116
|
+
};
|
|
117
|
+
export type GetPrincipalGroupByPayload<T extends PrincipalGroupByArgs> = Prisma.PrismaPromise<Array<Prisma.PickEnumerable<PrincipalGroupByOutputType, T['by']> & {
|
|
118
|
+
[P in ((keyof T) & (keyof PrincipalGroupByOutputType))]: P extends '_count' ? T[P] extends boolean ? number : Prisma.GetScalarType<T[P], PrincipalGroupByOutputType[P]> : Prisma.GetScalarType<T[P], PrincipalGroupByOutputType[P]>;
|
|
119
|
+
}>>;
|
|
120
|
+
export type PrincipalWhereInput = {
|
|
121
|
+
AND?: Prisma.PrincipalWhereInput | Prisma.PrincipalWhereInput[];
|
|
122
|
+
OR?: Prisma.PrincipalWhereInput[];
|
|
123
|
+
NOT?: Prisma.PrincipalWhereInput | Prisma.PrincipalWhereInput[];
|
|
124
|
+
id?: Prisma.StringFilter<"Principal"> | string;
|
|
125
|
+
subject?: Prisma.StringFilter<"Principal"> | string;
|
|
126
|
+
createdAt?: Prisma.DateTimeFilter<"Principal"> | Date | string;
|
|
127
|
+
agents?: Prisma.AgentListRelationFilter;
|
|
128
|
+
tools?: Prisma.ToolListRelationFilter;
|
|
129
|
+
secrets?: Prisma.SecretListRelationFilter;
|
|
130
|
+
datastores?: Prisma.DatastoreListRelationFilter;
|
|
131
|
+
webhooks?: Prisma.WebhookListRelationFilter;
|
|
132
|
+
authUser?: Prisma.XOR<Prisma.AuthUserNullableScalarRelationFilter, Prisma.AuthUserWhereInput> | null;
|
|
133
|
+
budgetGroups?: Prisma.BudgetGroupListRelationFilter;
|
|
134
|
+
};
|
|
135
|
+
export type PrincipalOrderByWithRelationInput = {
|
|
136
|
+
id?: Prisma.SortOrder;
|
|
137
|
+
subject?: Prisma.SortOrder;
|
|
138
|
+
createdAt?: Prisma.SortOrder;
|
|
139
|
+
agents?: Prisma.AgentOrderByRelationAggregateInput;
|
|
140
|
+
tools?: Prisma.ToolOrderByRelationAggregateInput;
|
|
141
|
+
secrets?: Prisma.SecretOrderByRelationAggregateInput;
|
|
142
|
+
datastores?: Prisma.DatastoreOrderByRelationAggregateInput;
|
|
143
|
+
webhooks?: Prisma.WebhookOrderByRelationAggregateInput;
|
|
144
|
+
authUser?: Prisma.AuthUserOrderByWithRelationInput;
|
|
145
|
+
budgetGroups?: Prisma.BudgetGroupOrderByRelationAggregateInput;
|
|
146
|
+
};
|
|
147
|
+
export type PrincipalWhereUniqueInput = Prisma.AtLeast<{
|
|
148
|
+
id?: string;
|
|
149
|
+
subject?: string;
|
|
150
|
+
AND?: Prisma.PrincipalWhereInput | Prisma.PrincipalWhereInput[];
|
|
151
|
+
OR?: Prisma.PrincipalWhereInput[];
|
|
152
|
+
NOT?: Prisma.PrincipalWhereInput | Prisma.PrincipalWhereInput[];
|
|
153
|
+
createdAt?: Prisma.DateTimeFilter<"Principal"> | Date | string;
|
|
154
|
+
agents?: Prisma.AgentListRelationFilter;
|
|
155
|
+
tools?: Prisma.ToolListRelationFilter;
|
|
156
|
+
secrets?: Prisma.SecretListRelationFilter;
|
|
157
|
+
datastores?: Prisma.DatastoreListRelationFilter;
|
|
158
|
+
webhooks?: Prisma.WebhookListRelationFilter;
|
|
159
|
+
authUser?: Prisma.XOR<Prisma.AuthUserNullableScalarRelationFilter, Prisma.AuthUserWhereInput> | null;
|
|
160
|
+
budgetGroups?: Prisma.BudgetGroupListRelationFilter;
|
|
161
|
+
}, "id" | "subject">;
|
|
162
|
+
export type PrincipalOrderByWithAggregationInput = {
|
|
163
|
+
id?: Prisma.SortOrder;
|
|
164
|
+
subject?: Prisma.SortOrder;
|
|
165
|
+
createdAt?: Prisma.SortOrder;
|
|
166
|
+
_count?: Prisma.PrincipalCountOrderByAggregateInput;
|
|
167
|
+
_max?: Prisma.PrincipalMaxOrderByAggregateInput;
|
|
168
|
+
_min?: Prisma.PrincipalMinOrderByAggregateInput;
|
|
169
|
+
};
|
|
170
|
+
export type PrincipalScalarWhereWithAggregatesInput = {
|
|
171
|
+
AND?: Prisma.PrincipalScalarWhereWithAggregatesInput | Prisma.PrincipalScalarWhereWithAggregatesInput[];
|
|
172
|
+
OR?: Prisma.PrincipalScalarWhereWithAggregatesInput[];
|
|
173
|
+
NOT?: Prisma.PrincipalScalarWhereWithAggregatesInput | Prisma.PrincipalScalarWhereWithAggregatesInput[];
|
|
174
|
+
id?: Prisma.StringWithAggregatesFilter<"Principal"> | string;
|
|
175
|
+
subject?: Prisma.StringWithAggregatesFilter<"Principal"> | string;
|
|
176
|
+
createdAt?: Prisma.DateTimeWithAggregatesFilter<"Principal"> | Date | string;
|
|
177
|
+
};
|
|
178
|
+
export type PrincipalCreateInput = {
|
|
179
|
+
id?: string;
|
|
180
|
+
subject: string;
|
|
181
|
+
createdAt?: Date | string;
|
|
182
|
+
agents?: Prisma.AgentCreateNestedManyWithoutOwnerInput;
|
|
183
|
+
tools?: Prisma.ToolCreateNestedManyWithoutOwnerInput;
|
|
184
|
+
secrets?: Prisma.SecretCreateNestedManyWithoutOwnerInput;
|
|
185
|
+
datastores?: Prisma.DatastoreCreateNestedManyWithoutOwnerInput;
|
|
186
|
+
webhooks?: Prisma.WebhookCreateNestedManyWithoutOwnerInput;
|
|
187
|
+
authUser?: Prisma.AuthUserCreateNestedOneWithoutPrincipalInput;
|
|
188
|
+
budgetGroups?: Prisma.BudgetGroupCreateNestedManyWithoutOwnerInput;
|
|
189
|
+
};
|
|
190
|
+
export type PrincipalUncheckedCreateInput = {
|
|
191
|
+
id?: string;
|
|
192
|
+
subject: string;
|
|
193
|
+
createdAt?: Date | string;
|
|
194
|
+
agents?: Prisma.AgentUncheckedCreateNestedManyWithoutOwnerInput;
|
|
195
|
+
tools?: Prisma.ToolUncheckedCreateNestedManyWithoutOwnerInput;
|
|
196
|
+
secrets?: Prisma.SecretUncheckedCreateNestedManyWithoutOwnerInput;
|
|
197
|
+
datastores?: Prisma.DatastoreUncheckedCreateNestedManyWithoutOwnerInput;
|
|
198
|
+
webhooks?: Prisma.WebhookUncheckedCreateNestedManyWithoutOwnerInput;
|
|
199
|
+
authUser?: Prisma.AuthUserUncheckedCreateNestedOneWithoutPrincipalInput;
|
|
200
|
+
budgetGroups?: Prisma.BudgetGroupUncheckedCreateNestedManyWithoutOwnerInput;
|
|
201
|
+
};
|
|
202
|
+
export type PrincipalUpdateInput = {
|
|
203
|
+
id?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
204
|
+
subject?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
205
|
+
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
206
|
+
agents?: Prisma.AgentUpdateManyWithoutOwnerNestedInput;
|
|
207
|
+
tools?: Prisma.ToolUpdateManyWithoutOwnerNestedInput;
|
|
208
|
+
secrets?: Prisma.SecretUpdateManyWithoutOwnerNestedInput;
|
|
209
|
+
datastores?: Prisma.DatastoreUpdateManyWithoutOwnerNestedInput;
|
|
210
|
+
webhooks?: Prisma.WebhookUpdateManyWithoutOwnerNestedInput;
|
|
211
|
+
authUser?: Prisma.AuthUserUpdateOneWithoutPrincipalNestedInput;
|
|
212
|
+
budgetGroups?: Prisma.BudgetGroupUpdateManyWithoutOwnerNestedInput;
|
|
213
|
+
};
|
|
214
|
+
export type PrincipalUncheckedUpdateInput = {
|
|
215
|
+
id?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
216
|
+
subject?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
217
|
+
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
218
|
+
agents?: Prisma.AgentUncheckedUpdateManyWithoutOwnerNestedInput;
|
|
219
|
+
tools?: Prisma.ToolUncheckedUpdateManyWithoutOwnerNestedInput;
|
|
220
|
+
secrets?: Prisma.SecretUncheckedUpdateManyWithoutOwnerNestedInput;
|
|
221
|
+
datastores?: Prisma.DatastoreUncheckedUpdateManyWithoutOwnerNestedInput;
|
|
222
|
+
webhooks?: Prisma.WebhookUncheckedUpdateManyWithoutOwnerNestedInput;
|
|
223
|
+
authUser?: Prisma.AuthUserUncheckedUpdateOneWithoutPrincipalNestedInput;
|
|
224
|
+
budgetGroups?: Prisma.BudgetGroupUncheckedUpdateManyWithoutOwnerNestedInput;
|
|
225
|
+
};
|
|
226
|
+
export type PrincipalCreateManyInput = {
|
|
227
|
+
id?: string;
|
|
228
|
+
subject: string;
|
|
229
|
+
createdAt?: Date | string;
|
|
230
|
+
};
|
|
231
|
+
export type PrincipalUpdateManyMutationInput = {
|
|
232
|
+
id?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
233
|
+
subject?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
234
|
+
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
235
|
+
};
|
|
236
|
+
export type PrincipalUncheckedUpdateManyInput = {
|
|
237
|
+
id?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
238
|
+
subject?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
239
|
+
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
240
|
+
};
|
|
241
|
+
export type PrincipalNullableScalarRelationFilter = {
|
|
242
|
+
is?: Prisma.PrincipalWhereInput | null;
|
|
243
|
+
isNot?: Prisma.PrincipalWhereInput | null;
|
|
244
|
+
};
|
|
245
|
+
export type PrincipalCountOrderByAggregateInput = {
|
|
246
|
+
id?: Prisma.SortOrder;
|
|
247
|
+
subject?: Prisma.SortOrder;
|
|
248
|
+
createdAt?: Prisma.SortOrder;
|
|
249
|
+
};
|
|
250
|
+
export type PrincipalMaxOrderByAggregateInput = {
|
|
251
|
+
id?: Prisma.SortOrder;
|
|
252
|
+
subject?: Prisma.SortOrder;
|
|
253
|
+
createdAt?: Prisma.SortOrder;
|
|
254
|
+
};
|
|
255
|
+
export type PrincipalMinOrderByAggregateInput = {
|
|
256
|
+
id?: Prisma.SortOrder;
|
|
257
|
+
subject?: Prisma.SortOrder;
|
|
258
|
+
createdAt?: Prisma.SortOrder;
|
|
259
|
+
};
|
|
260
|
+
export type PrincipalScalarRelationFilter = {
|
|
261
|
+
is?: Prisma.PrincipalWhereInput;
|
|
262
|
+
isNot?: Prisma.PrincipalWhereInput;
|
|
263
|
+
};
|
|
264
|
+
export type PrincipalCreateNestedOneWithoutAgentsInput = {
|
|
265
|
+
create?: Prisma.XOR<Prisma.PrincipalCreateWithoutAgentsInput, Prisma.PrincipalUncheckedCreateWithoutAgentsInput>;
|
|
266
|
+
connectOrCreate?: Prisma.PrincipalCreateOrConnectWithoutAgentsInput;
|
|
267
|
+
connect?: Prisma.PrincipalWhereUniqueInput;
|
|
268
|
+
};
|
|
269
|
+
export type PrincipalUpdateOneWithoutAgentsNestedInput = {
|
|
270
|
+
create?: Prisma.XOR<Prisma.PrincipalCreateWithoutAgentsInput, Prisma.PrincipalUncheckedCreateWithoutAgentsInput>;
|
|
271
|
+
connectOrCreate?: Prisma.PrincipalCreateOrConnectWithoutAgentsInput;
|
|
272
|
+
upsert?: Prisma.PrincipalUpsertWithoutAgentsInput;
|
|
273
|
+
disconnect?: Prisma.PrincipalWhereInput | boolean;
|
|
274
|
+
delete?: Prisma.PrincipalWhereInput | boolean;
|
|
275
|
+
connect?: Prisma.PrincipalWhereUniqueInput;
|
|
276
|
+
update?: Prisma.XOR<Prisma.XOR<Prisma.PrincipalUpdateToOneWithWhereWithoutAgentsInput, Prisma.PrincipalUpdateWithoutAgentsInput>, Prisma.PrincipalUncheckedUpdateWithoutAgentsInput>;
|
|
277
|
+
};
|
|
278
|
+
export type PrincipalCreateNestedOneWithoutBudgetGroupsInput = {
|
|
279
|
+
create?: Prisma.XOR<Prisma.PrincipalCreateWithoutBudgetGroupsInput, Prisma.PrincipalUncheckedCreateWithoutBudgetGroupsInput>;
|
|
280
|
+
connectOrCreate?: Prisma.PrincipalCreateOrConnectWithoutBudgetGroupsInput;
|
|
281
|
+
connect?: Prisma.PrincipalWhereUniqueInput;
|
|
282
|
+
};
|
|
283
|
+
export type PrincipalUpdateOneWithoutBudgetGroupsNestedInput = {
|
|
284
|
+
create?: Prisma.XOR<Prisma.PrincipalCreateWithoutBudgetGroupsInput, Prisma.PrincipalUncheckedCreateWithoutBudgetGroupsInput>;
|
|
285
|
+
connectOrCreate?: Prisma.PrincipalCreateOrConnectWithoutBudgetGroupsInput;
|
|
286
|
+
upsert?: Prisma.PrincipalUpsertWithoutBudgetGroupsInput;
|
|
287
|
+
disconnect?: Prisma.PrincipalWhereInput | boolean;
|
|
288
|
+
delete?: Prisma.PrincipalWhereInput | boolean;
|
|
289
|
+
connect?: Prisma.PrincipalWhereUniqueInput;
|
|
290
|
+
update?: Prisma.XOR<Prisma.XOR<Prisma.PrincipalUpdateToOneWithWhereWithoutBudgetGroupsInput, Prisma.PrincipalUpdateWithoutBudgetGroupsInput>, Prisma.PrincipalUncheckedUpdateWithoutBudgetGroupsInput>;
|
|
291
|
+
};
|
|
292
|
+
export type PrincipalCreateNestedOneWithoutToolsInput = {
|
|
293
|
+
create?: Prisma.XOR<Prisma.PrincipalCreateWithoutToolsInput, Prisma.PrincipalUncheckedCreateWithoutToolsInput>;
|
|
294
|
+
connectOrCreate?: Prisma.PrincipalCreateOrConnectWithoutToolsInput;
|
|
295
|
+
connect?: Prisma.PrincipalWhereUniqueInput;
|
|
296
|
+
};
|
|
297
|
+
export type PrincipalUpdateOneWithoutToolsNestedInput = {
|
|
298
|
+
create?: Prisma.XOR<Prisma.PrincipalCreateWithoutToolsInput, Prisma.PrincipalUncheckedCreateWithoutToolsInput>;
|
|
299
|
+
connectOrCreate?: Prisma.PrincipalCreateOrConnectWithoutToolsInput;
|
|
300
|
+
upsert?: Prisma.PrincipalUpsertWithoutToolsInput;
|
|
301
|
+
disconnect?: Prisma.PrincipalWhereInput | boolean;
|
|
302
|
+
delete?: Prisma.PrincipalWhereInput | boolean;
|
|
303
|
+
connect?: Prisma.PrincipalWhereUniqueInput;
|
|
304
|
+
update?: Prisma.XOR<Prisma.XOR<Prisma.PrincipalUpdateToOneWithWhereWithoutToolsInput, Prisma.PrincipalUpdateWithoutToolsInput>, Prisma.PrincipalUncheckedUpdateWithoutToolsInput>;
|
|
305
|
+
};
|
|
306
|
+
export type PrincipalCreateNestedOneWithoutDatastoresInput = {
|
|
307
|
+
create?: Prisma.XOR<Prisma.PrincipalCreateWithoutDatastoresInput, Prisma.PrincipalUncheckedCreateWithoutDatastoresInput>;
|
|
308
|
+
connectOrCreate?: Prisma.PrincipalCreateOrConnectWithoutDatastoresInput;
|
|
309
|
+
connect?: Prisma.PrincipalWhereUniqueInput;
|
|
310
|
+
};
|
|
311
|
+
export type PrincipalUpdateOneWithoutDatastoresNestedInput = {
|
|
312
|
+
create?: Prisma.XOR<Prisma.PrincipalCreateWithoutDatastoresInput, Prisma.PrincipalUncheckedCreateWithoutDatastoresInput>;
|
|
313
|
+
connectOrCreate?: Prisma.PrincipalCreateOrConnectWithoutDatastoresInput;
|
|
314
|
+
upsert?: Prisma.PrincipalUpsertWithoutDatastoresInput;
|
|
315
|
+
disconnect?: Prisma.PrincipalWhereInput | boolean;
|
|
316
|
+
delete?: Prisma.PrincipalWhereInput | boolean;
|
|
317
|
+
connect?: Prisma.PrincipalWhereUniqueInput;
|
|
318
|
+
update?: Prisma.XOR<Prisma.XOR<Prisma.PrincipalUpdateToOneWithWhereWithoutDatastoresInput, Prisma.PrincipalUpdateWithoutDatastoresInput>, Prisma.PrincipalUncheckedUpdateWithoutDatastoresInput>;
|
|
319
|
+
};
|
|
320
|
+
export type PrincipalCreateNestedOneWithoutSecretsInput = {
|
|
321
|
+
create?: Prisma.XOR<Prisma.PrincipalCreateWithoutSecretsInput, Prisma.PrincipalUncheckedCreateWithoutSecretsInput>;
|
|
322
|
+
connectOrCreate?: Prisma.PrincipalCreateOrConnectWithoutSecretsInput;
|
|
323
|
+
connect?: Prisma.PrincipalWhereUniqueInput;
|
|
324
|
+
};
|
|
325
|
+
export type PrincipalUpdateOneWithoutSecretsNestedInput = {
|
|
326
|
+
create?: Prisma.XOR<Prisma.PrincipalCreateWithoutSecretsInput, Prisma.PrincipalUncheckedCreateWithoutSecretsInput>;
|
|
327
|
+
connectOrCreate?: Prisma.PrincipalCreateOrConnectWithoutSecretsInput;
|
|
328
|
+
upsert?: Prisma.PrincipalUpsertWithoutSecretsInput;
|
|
329
|
+
disconnect?: Prisma.PrincipalWhereInput | boolean;
|
|
330
|
+
delete?: Prisma.PrincipalWhereInput | boolean;
|
|
331
|
+
connect?: Prisma.PrincipalWhereUniqueInput;
|
|
332
|
+
update?: Prisma.XOR<Prisma.XOR<Prisma.PrincipalUpdateToOneWithWhereWithoutSecretsInput, Prisma.PrincipalUpdateWithoutSecretsInput>, Prisma.PrincipalUncheckedUpdateWithoutSecretsInput>;
|
|
333
|
+
};
|
|
334
|
+
export type PrincipalCreateNestedOneWithoutWebhooksInput = {
|
|
335
|
+
create?: Prisma.XOR<Prisma.PrincipalCreateWithoutWebhooksInput, Prisma.PrincipalUncheckedCreateWithoutWebhooksInput>;
|
|
336
|
+
connectOrCreate?: Prisma.PrincipalCreateOrConnectWithoutWebhooksInput;
|
|
337
|
+
connect?: Prisma.PrincipalWhereUniqueInput;
|
|
338
|
+
};
|
|
339
|
+
export type PrincipalUpdateOneWithoutWebhooksNestedInput = {
|
|
340
|
+
create?: Prisma.XOR<Prisma.PrincipalCreateWithoutWebhooksInput, Prisma.PrincipalUncheckedCreateWithoutWebhooksInput>;
|
|
341
|
+
connectOrCreate?: Prisma.PrincipalCreateOrConnectWithoutWebhooksInput;
|
|
342
|
+
upsert?: Prisma.PrincipalUpsertWithoutWebhooksInput;
|
|
343
|
+
disconnect?: Prisma.PrincipalWhereInput | boolean;
|
|
344
|
+
delete?: Prisma.PrincipalWhereInput | boolean;
|
|
345
|
+
connect?: Prisma.PrincipalWhereUniqueInput;
|
|
346
|
+
update?: Prisma.XOR<Prisma.XOR<Prisma.PrincipalUpdateToOneWithWhereWithoutWebhooksInput, Prisma.PrincipalUpdateWithoutWebhooksInput>, Prisma.PrincipalUncheckedUpdateWithoutWebhooksInput>;
|
|
347
|
+
};
|
|
348
|
+
export type PrincipalCreateNestedOneWithoutAuthUserInput = {
|
|
349
|
+
create?: Prisma.XOR<Prisma.PrincipalCreateWithoutAuthUserInput, Prisma.PrincipalUncheckedCreateWithoutAuthUserInput>;
|
|
350
|
+
connectOrCreate?: Prisma.PrincipalCreateOrConnectWithoutAuthUserInput;
|
|
351
|
+
connect?: Prisma.PrincipalWhereUniqueInput;
|
|
352
|
+
};
|
|
353
|
+
export type PrincipalUpdateOneRequiredWithoutAuthUserNestedInput = {
|
|
354
|
+
create?: Prisma.XOR<Prisma.PrincipalCreateWithoutAuthUserInput, Prisma.PrincipalUncheckedCreateWithoutAuthUserInput>;
|
|
355
|
+
connectOrCreate?: Prisma.PrincipalCreateOrConnectWithoutAuthUserInput;
|
|
356
|
+
upsert?: Prisma.PrincipalUpsertWithoutAuthUserInput;
|
|
357
|
+
connect?: Prisma.PrincipalWhereUniqueInput;
|
|
358
|
+
update?: Prisma.XOR<Prisma.XOR<Prisma.PrincipalUpdateToOneWithWhereWithoutAuthUserInput, Prisma.PrincipalUpdateWithoutAuthUserInput>, Prisma.PrincipalUncheckedUpdateWithoutAuthUserInput>;
|
|
359
|
+
};
|
|
360
|
+
export type PrincipalCreateWithoutAgentsInput = {
|
|
361
|
+
id?: string;
|
|
362
|
+
subject: string;
|
|
363
|
+
createdAt?: Date | string;
|
|
364
|
+
tools?: Prisma.ToolCreateNestedManyWithoutOwnerInput;
|
|
365
|
+
secrets?: Prisma.SecretCreateNestedManyWithoutOwnerInput;
|
|
366
|
+
datastores?: Prisma.DatastoreCreateNestedManyWithoutOwnerInput;
|
|
367
|
+
webhooks?: Prisma.WebhookCreateNestedManyWithoutOwnerInput;
|
|
368
|
+
authUser?: Prisma.AuthUserCreateNestedOneWithoutPrincipalInput;
|
|
369
|
+
budgetGroups?: Prisma.BudgetGroupCreateNestedManyWithoutOwnerInput;
|
|
370
|
+
};
|
|
371
|
+
export type PrincipalUncheckedCreateWithoutAgentsInput = {
|
|
372
|
+
id?: string;
|
|
373
|
+
subject: string;
|
|
374
|
+
createdAt?: Date | string;
|
|
375
|
+
tools?: Prisma.ToolUncheckedCreateNestedManyWithoutOwnerInput;
|
|
376
|
+
secrets?: Prisma.SecretUncheckedCreateNestedManyWithoutOwnerInput;
|
|
377
|
+
datastores?: Prisma.DatastoreUncheckedCreateNestedManyWithoutOwnerInput;
|
|
378
|
+
webhooks?: Prisma.WebhookUncheckedCreateNestedManyWithoutOwnerInput;
|
|
379
|
+
authUser?: Prisma.AuthUserUncheckedCreateNestedOneWithoutPrincipalInput;
|
|
380
|
+
budgetGroups?: Prisma.BudgetGroupUncheckedCreateNestedManyWithoutOwnerInput;
|
|
381
|
+
};
|
|
382
|
+
export type PrincipalCreateOrConnectWithoutAgentsInput = {
|
|
383
|
+
where: Prisma.PrincipalWhereUniqueInput;
|
|
384
|
+
create: Prisma.XOR<Prisma.PrincipalCreateWithoutAgentsInput, Prisma.PrincipalUncheckedCreateWithoutAgentsInput>;
|
|
385
|
+
};
|
|
386
|
+
export type PrincipalUpsertWithoutAgentsInput = {
|
|
387
|
+
update: Prisma.XOR<Prisma.PrincipalUpdateWithoutAgentsInput, Prisma.PrincipalUncheckedUpdateWithoutAgentsInput>;
|
|
388
|
+
create: Prisma.XOR<Prisma.PrincipalCreateWithoutAgentsInput, Prisma.PrincipalUncheckedCreateWithoutAgentsInput>;
|
|
389
|
+
where?: Prisma.PrincipalWhereInput;
|
|
390
|
+
};
|
|
391
|
+
export type PrincipalUpdateToOneWithWhereWithoutAgentsInput = {
|
|
392
|
+
where?: Prisma.PrincipalWhereInput;
|
|
393
|
+
data: Prisma.XOR<Prisma.PrincipalUpdateWithoutAgentsInput, Prisma.PrincipalUncheckedUpdateWithoutAgentsInput>;
|
|
394
|
+
};
|
|
395
|
+
export type PrincipalUpdateWithoutAgentsInput = {
|
|
396
|
+
id?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
397
|
+
subject?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
398
|
+
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
399
|
+
tools?: Prisma.ToolUpdateManyWithoutOwnerNestedInput;
|
|
400
|
+
secrets?: Prisma.SecretUpdateManyWithoutOwnerNestedInput;
|
|
401
|
+
datastores?: Prisma.DatastoreUpdateManyWithoutOwnerNestedInput;
|
|
402
|
+
webhooks?: Prisma.WebhookUpdateManyWithoutOwnerNestedInput;
|
|
403
|
+
authUser?: Prisma.AuthUserUpdateOneWithoutPrincipalNestedInput;
|
|
404
|
+
budgetGroups?: Prisma.BudgetGroupUpdateManyWithoutOwnerNestedInput;
|
|
405
|
+
};
|
|
406
|
+
export type PrincipalUncheckedUpdateWithoutAgentsInput = {
|
|
407
|
+
id?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
408
|
+
subject?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
409
|
+
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
410
|
+
tools?: Prisma.ToolUncheckedUpdateManyWithoutOwnerNestedInput;
|
|
411
|
+
secrets?: Prisma.SecretUncheckedUpdateManyWithoutOwnerNestedInput;
|
|
412
|
+
datastores?: Prisma.DatastoreUncheckedUpdateManyWithoutOwnerNestedInput;
|
|
413
|
+
webhooks?: Prisma.WebhookUncheckedUpdateManyWithoutOwnerNestedInput;
|
|
414
|
+
authUser?: Prisma.AuthUserUncheckedUpdateOneWithoutPrincipalNestedInput;
|
|
415
|
+
budgetGroups?: Prisma.BudgetGroupUncheckedUpdateManyWithoutOwnerNestedInput;
|
|
416
|
+
};
|
|
417
|
+
export type PrincipalCreateWithoutBudgetGroupsInput = {
|
|
418
|
+
id?: string;
|
|
419
|
+
subject: string;
|
|
420
|
+
createdAt?: Date | string;
|
|
421
|
+
agents?: Prisma.AgentCreateNestedManyWithoutOwnerInput;
|
|
422
|
+
tools?: Prisma.ToolCreateNestedManyWithoutOwnerInput;
|
|
423
|
+
secrets?: Prisma.SecretCreateNestedManyWithoutOwnerInput;
|
|
424
|
+
datastores?: Prisma.DatastoreCreateNestedManyWithoutOwnerInput;
|
|
425
|
+
webhooks?: Prisma.WebhookCreateNestedManyWithoutOwnerInput;
|
|
426
|
+
authUser?: Prisma.AuthUserCreateNestedOneWithoutPrincipalInput;
|
|
427
|
+
};
|
|
428
|
+
export type PrincipalUncheckedCreateWithoutBudgetGroupsInput = {
|
|
429
|
+
id?: string;
|
|
430
|
+
subject: string;
|
|
431
|
+
createdAt?: Date | string;
|
|
432
|
+
agents?: Prisma.AgentUncheckedCreateNestedManyWithoutOwnerInput;
|
|
433
|
+
tools?: Prisma.ToolUncheckedCreateNestedManyWithoutOwnerInput;
|
|
434
|
+
secrets?: Prisma.SecretUncheckedCreateNestedManyWithoutOwnerInput;
|
|
435
|
+
datastores?: Prisma.DatastoreUncheckedCreateNestedManyWithoutOwnerInput;
|
|
436
|
+
webhooks?: Prisma.WebhookUncheckedCreateNestedManyWithoutOwnerInput;
|
|
437
|
+
authUser?: Prisma.AuthUserUncheckedCreateNestedOneWithoutPrincipalInput;
|
|
438
|
+
};
|
|
439
|
+
export type PrincipalCreateOrConnectWithoutBudgetGroupsInput = {
|
|
440
|
+
where: Prisma.PrincipalWhereUniqueInput;
|
|
441
|
+
create: Prisma.XOR<Prisma.PrincipalCreateWithoutBudgetGroupsInput, Prisma.PrincipalUncheckedCreateWithoutBudgetGroupsInput>;
|
|
442
|
+
};
|
|
443
|
+
export type PrincipalUpsertWithoutBudgetGroupsInput = {
|
|
444
|
+
update: Prisma.XOR<Prisma.PrincipalUpdateWithoutBudgetGroupsInput, Prisma.PrincipalUncheckedUpdateWithoutBudgetGroupsInput>;
|
|
445
|
+
create: Prisma.XOR<Prisma.PrincipalCreateWithoutBudgetGroupsInput, Prisma.PrincipalUncheckedCreateWithoutBudgetGroupsInput>;
|
|
446
|
+
where?: Prisma.PrincipalWhereInput;
|
|
447
|
+
};
|
|
448
|
+
export type PrincipalUpdateToOneWithWhereWithoutBudgetGroupsInput = {
|
|
449
|
+
where?: Prisma.PrincipalWhereInput;
|
|
450
|
+
data: Prisma.XOR<Prisma.PrincipalUpdateWithoutBudgetGroupsInput, Prisma.PrincipalUncheckedUpdateWithoutBudgetGroupsInput>;
|
|
451
|
+
};
|
|
452
|
+
export type PrincipalUpdateWithoutBudgetGroupsInput = {
|
|
453
|
+
id?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
454
|
+
subject?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
455
|
+
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
456
|
+
agents?: Prisma.AgentUpdateManyWithoutOwnerNestedInput;
|
|
457
|
+
tools?: Prisma.ToolUpdateManyWithoutOwnerNestedInput;
|
|
458
|
+
secrets?: Prisma.SecretUpdateManyWithoutOwnerNestedInput;
|
|
459
|
+
datastores?: Prisma.DatastoreUpdateManyWithoutOwnerNestedInput;
|
|
460
|
+
webhooks?: Prisma.WebhookUpdateManyWithoutOwnerNestedInput;
|
|
461
|
+
authUser?: Prisma.AuthUserUpdateOneWithoutPrincipalNestedInput;
|
|
462
|
+
};
|
|
463
|
+
export type PrincipalUncheckedUpdateWithoutBudgetGroupsInput = {
|
|
464
|
+
id?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
465
|
+
subject?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
466
|
+
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
467
|
+
agents?: Prisma.AgentUncheckedUpdateManyWithoutOwnerNestedInput;
|
|
468
|
+
tools?: Prisma.ToolUncheckedUpdateManyWithoutOwnerNestedInput;
|
|
469
|
+
secrets?: Prisma.SecretUncheckedUpdateManyWithoutOwnerNestedInput;
|
|
470
|
+
datastores?: Prisma.DatastoreUncheckedUpdateManyWithoutOwnerNestedInput;
|
|
471
|
+
webhooks?: Prisma.WebhookUncheckedUpdateManyWithoutOwnerNestedInput;
|
|
472
|
+
authUser?: Prisma.AuthUserUncheckedUpdateOneWithoutPrincipalNestedInput;
|
|
473
|
+
};
|
|
474
|
+
export type PrincipalCreateWithoutToolsInput = {
|
|
475
|
+
id?: string;
|
|
476
|
+
subject: string;
|
|
477
|
+
createdAt?: Date | string;
|
|
478
|
+
agents?: Prisma.AgentCreateNestedManyWithoutOwnerInput;
|
|
479
|
+
secrets?: Prisma.SecretCreateNestedManyWithoutOwnerInput;
|
|
480
|
+
datastores?: Prisma.DatastoreCreateNestedManyWithoutOwnerInput;
|
|
481
|
+
webhooks?: Prisma.WebhookCreateNestedManyWithoutOwnerInput;
|
|
482
|
+
authUser?: Prisma.AuthUserCreateNestedOneWithoutPrincipalInput;
|
|
483
|
+
budgetGroups?: Prisma.BudgetGroupCreateNestedManyWithoutOwnerInput;
|
|
484
|
+
};
|
|
485
|
+
export type PrincipalUncheckedCreateWithoutToolsInput = {
|
|
486
|
+
id?: string;
|
|
487
|
+
subject: string;
|
|
488
|
+
createdAt?: Date | string;
|
|
489
|
+
agents?: Prisma.AgentUncheckedCreateNestedManyWithoutOwnerInput;
|
|
490
|
+
secrets?: Prisma.SecretUncheckedCreateNestedManyWithoutOwnerInput;
|
|
491
|
+
datastores?: Prisma.DatastoreUncheckedCreateNestedManyWithoutOwnerInput;
|
|
492
|
+
webhooks?: Prisma.WebhookUncheckedCreateNestedManyWithoutOwnerInput;
|
|
493
|
+
authUser?: Prisma.AuthUserUncheckedCreateNestedOneWithoutPrincipalInput;
|
|
494
|
+
budgetGroups?: Prisma.BudgetGroupUncheckedCreateNestedManyWithoutOwnerInput;
|
|
495
|
+
};
|
|
496
|
+
export type PrincipalCreateOrConnectWithoutToolsInput = {
|
|
497
|
+
where: Prisma.PrincipalWhereUniqueInput;
|
|
498
|
+
create: Prisma.XOR<Prisma.PrincipalCreateWithoutToolsInput, Prisma.PrincipalUncheckedCreateWithoutToolsInput>;
|
|
499
|
+
};
|
|
500
|
+
export type PrincipalUpsertWithoutToolsInput = {
|
|
501
|
+
update: Prisma.XOR<Prisma.PrincipalUpdateWithoutToolsInput, Prisma.PrincipalUncheckedUpdateWithoutToolsInput>;
|
|
502
|
+
create: Prisma.XOR<Prisma.PrincipalCreateWithoutToolsInput, Prisma.PrincipalUncheckedCreateWithoutToolsInput>;
|
|
503
|
+
where?: Prisma.PrincipalWhereInput;
|
|
504
|
+
};
|
|
505
|
+
export type PrincipalUpdateToOneWithWhereWithoutToolsInput = {
|
|
506
|
+
where?: Prisma.PrincipalWhereInput;
|
|
507
|
+
data: Prisma.XOR<Prisma.PrincipalUpdateWithoutToolsInput, Prisma.PrincipalUncheckedUpdateWithoutToolsInput>;
|
|
508
|
+
};
|
|
509
|
+
export type PrincipalUpdateWithoutToolsInput = {
|
|
510
|
+
id?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
511
|
+
subject?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
512
|
+
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
513
|
+
agents?: Prisma.AgentUpdateManyWithoutOwnerNestedInput;
|
|
514
|
+
secrets?: Prisma.SecretUpdateManyWithoutOwnerNestedInput;
|
|
515
|
+
datastores?: Prisma.DatastoreUpdateManyWithoutOwnerNestedInput;
|
|
516
|
+
webhooks?: Prisma.WebhookUpdateManyWithoutOwnerNestedInput;
|
|
517
|
+
authUser?: Prisma.AuthUserUpdateOneWithoutPrincipalNestedInput;
|
|
518
|
+
budgetGroups?: Prisma.BudgetGroupUpdateManyWithoutOwnerNestedInput;
|
|
519
|
+
};
|
|
520
|
+
export type PrincipalUncheckedUpdateWithoutToolsInput = {
|
|
521
|
+
id?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
522
|
+
subject?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
523
|
+
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
524
|
+
agents?: Prisma.AgentUncheckedUpdateManyWithoutOwnerNestedInput;
|
|
525
|
+
secrets?: Prisma.SecretUncheckedUpdateManyWithoutOwnerNestedInput;
|
|
526
|
+
datastores?: Prisma.DatastoreUncheckedUpdateManyWithoutOwnerNestedInput;
|
|
527
|
+
webhooks?: Prisma.WebhookUncheckedUpdateManyWithoutOwnerNestedInput;
|
|
528
|
+
authUser?: Prisma.AuthUserUncheckedUpdateOneWithoutPrincipalNestedInput;
|
|
529
|
+
budgetGroups?: Prisma.BudgetGroupUncheckedUpdateManyWithoutOwnerNestedInput;
|
|
530
|
+
};
|
|
531
|
+
export type PrincipalCreateWithoutDatastoresInput = {
|
|
532
|
+
id?: string;
|
|
533
|
+
subject: string;
|
|
534
|
+
createdAt?: Date | string;
|
|
535
|
+
agents?: Prisma.AgentCreateNestedManyWithoutOwnerInput;
|
|
536
|
+
tools?: Prisma.ToolCreateNestedManyWithoutOwnerInput;
|
|
537
|
+
secrets?: Prisma.SecretCreateNestedManyWithoutOwnerInput;
|
|
538
|
+
webhooks?: Prisma.WebhookCreateNestedManyWithoutOwnerInput;
|
|
539
|
+
authUser?: Prisma.AuthUserCreateNestedOneWithoutPrincipalInput;
|
|
540
|
+
budgetGroups?: Prisma.BudgetGroupCreateNestedManyWithoutOwnerInput;
|
|
541
|
+
};
|
|
542
|
+
export type PrincipalUncheckedCreateWithoutDatastoresInput = {
|
|
543
|
+
id?: string;
|
|
544
|
+
subject: string;
|
|
545
|
+
createdAt?: Date | string;
|
|
546
|
+
agents?: Prisma.AgentUncheckedCreateNestedManyWithoutOwnerInput;
|
|
547
|
+
tools?: Prisma.ToolUncheckedCreateNestedManyWithoutOwnerInput;
|
|
548
|
+
secrets?: Prisma.SecretUncheckedCreateNestedManyWithoutOwnerInput;
|
|
549
|
+
webhooks?: Prisma.WebhookUncheckedCreateNestedManyWithoutOwnerInput;
|
|
550
|
+
authUser?: Prisma.AuthUserUncheckedCreateNestedOneWithoutPrincipalInput;
|
|
551
|
+
budgetGroups?: Prisma.BudgetGroupUncheckedCreateNestedManyWithoutOwnerInput;
|
|
552
|
+
};
|
|
553
|
+
export type PrincipalCreateOrConnectWithoutDatastoresInput = {
|
|
554
|
+
where: Prisma.PrincipalWhereUniqueInput;
|
|
555
|
+
create: Prisma.XOR<Prisma.PrincipalCreateWithoutDatastoresInput, Prisma.PrincipalUncheckedCreateWithoutDatastoresInput>;
|
|
556
|
+
};
|
|
557
|
+
export type PrincipalUpsertWithoutDatastoresInput = {
|
|
558
|
+
update: Prisma.XOR<Prisma.PrincipalUpdateWithoutDatastoresInput, Prisma.PrincipalUncheckedUpdateWithoutDatastoresInput>;
|
|
559
|
+
create: Prisma.XOR<Prisma.PrincipalCreateWithoutDatastoresInput, Prisma.PrincipalUncheckedCreateWithoutDatastoresInput>;
|
|
560
|
+
where?: Prisma.PrincipalWhereInput;
|
|
561
|
+
};
|
|
562
|
+
export type PrincipalUpdateToOneWithWhereWithoutDatastoresInput = {
|
|
563
|
+
where?: Prisma.PrincipalWhereInput;
|
|
564
|
+
data: Prisma.XOR<Prisma.PrincipalUpdateWithoutDatastoresInput, Prisma.PrincipalUncheckedUpdateWithoutDatastoresInput>;
|
|
565
|
+
};
|
|
566
|
+
export type PrincipalUpdateWithoutDatastoresInput = {
|
|
567
|
+
id?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
568
|
+
subject?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
569
|
+
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
570
|
+
agents?: Prisma.AgentUpdateManyWithoutOwnerNestedInput;
|
|
571
|
+
tools?: Prisma.ToolUpdateManyWithoutOwnerNestedInput;
|
|
572
|
+
secrets?: Prisma.SecretUpdateManyWithoutOwnerNestedInput;
|
|
573
|
+
webhooks?: Prisma.WebhookUpdateManyWithoutOwnerNestedInput;
|
|
574
|
+
authUser?: Prisma.AuthUserUpdateOneWithoutPrincipalNestedInput;
|
|
575
|
+
budgetGroups?: Prisma.BudgetGroupUpdateManyWithoutOwnerNestedInput;
|
|
576
|
+
};
|
|
577
|
+
export type PrincipalUncheckedUpdateWithoutDatastoresInput = {
|
|
578
|
+
id?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
579
|
+
subject?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
580
|
+
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
581
|
+
agents?: Prisma.AgentUncheckedUpdateManyWithoutOwnerNestedInput;
|
|
582
|
+
tools?: Prisma.ToolUncheckedUpdateManyWithoutOwnerNestedInput;
|
|
583
|
+
secrets?: Prisma.SecretUncheckedUpdateManyWithoutOwnerNestedInput;
|
|
584
|
+
webhooks?: Prisma.WebhookUncheckedUpdateManyWithoutOwnerNestedInput;
|
|
585
|
+
authUser?: Prisma.AuthUserUncheckedUpdateOneWithoutPrincipalNestedInput;
|
|
586
|
+
budgetGroups?: Prisma.BudgetGroupUncheckedUpdateManyWithoutOwnerNestedInput;
|
|
587
|
+
};
|
|
588
|
+
export type PrincipalCreateWithoutSecretsInput = {
|
|
589
|
+
id?: string;
|
|
590
|
+
subject: string;
|
|
591
|
+
createdAt?: Date | string;
|
|
592
|
+
agents?: Prisma.AgentCreateNestedManyWithoutOwnerInput;
|
|
593
|
+
tools?: Prisma.ToolCreateNestedManyWithoutOwnerInput;
|
|
594
|
+
datastores?: Prisma.DatastoreCreateNestedManyWithoutOwnerInput;
|
|
595
|
+
webhooks?: Prisma.WebhookCreateNestedManyWithoutOwnerInput;
|
|
596
|
+
authUser?: Prisma.AuthUserCreateNestedOneWithoutPrincipalInput;
|
|
597
|
+
budgetGroups?: Prisma.BudgetGroupCreateNestedManyWithoutOwnerInput;
|
|
598
|
+
};
|
|
599
|
+
export type PrincipalUncheckedCreateWithoutSecretsInput = {
|
|
600
|
+
id?: string;
|
|
601
|
+
subject: string;
|
|
602
|
+
createdAt?: Date | string;
|
|
603
|
+
agents?: Prisma.AgentUncheckedCreateNestedManyWithoutOwnerInput;
|
|
604
|
+
tools?: Prisma.ToolUncheckedCreateNestedManyWithoutOwnerInput;
|
|
605
|
+
datastores?: Prisma.DatastoreUncheckedCreateNestedManyWithoutOwnerInput;
|
|
606
|
+
webhooks?: Prisma.WebhookUncheckedCreateNestedManyWithoutOwnerInput;
|
|
607
|
+
authUser?: Prisma.AuthUserUncheckedCreateNestedOneWithoutPrincipalInput;
|
|
608
|
+
budgetGroups?: Prisma.BudgetGroupUncheckedCreateNestedManyWithoutOwnerInput;
|
|
609
|
+
};
|
|
610
|
+
export type PrincipalCreateOrConnectWithoutSecretsInput = {
|
|
611
|
+
where: Prisma.PrincipalWhereUniqueInput;
|
|
612
|
+
create: Prisma.XOR<Prisma.PrincipalCreateWithoutSecretsInput, Prisma.PrincipalUncheckedCreateWithoutSecretsInput>;
|
|
613
|
+
};
|
|
614
|
+
export type PrincipalUpsertWithoutSecretsInput = {
|
|
615
|
+
update: Prisma.XOR<Prisma.PrincipalUpdateWithoutSecretsInput, Prisma.PrincipalUncheckedUpdateWithoutSecretsInput>;
|
|
616
|
+
create: Prisma.XOR<Prisma.PrincipalCreateWithoutSecretsInput, Prisma.PrincipalUncheckedCreateWithoutSecretsInput>;
|
|
617
|
+
where?: Prisma.PrincipalWhereInput;
|
|
618
|
+
};
|
|
619
|
+
export type PrincipalUpdateToOneWithWhereWithoutSecretsInput = {
|
|
620
|
+
where?: Prisma.PrincipalWhereInput;
|
|
621
|
+
data: Prisma.XOR<Prisma.PrincipalUpdateWithoutSecretsInput, Prisma.PrincipalUncheckedUpdateWithoutSecretsInput>;
|
|
622
|
+
};
|
|
623
|
+
export type PrincipalUpdateWithoutSecretsInput = {
|
|
624
|
+
id?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
625
|
+
subject?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
626
|
+
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
627
|
+
agents?: Prisma.AgentUpdateManyWithoutOwnerNestedInput;
|
|
628
|
+
tools?: Prisma.ToolUpdateManyWithoutOwnerNestedInput;
|
|
629
|
+
datastores?: Prisma.DatastoreUpdateManyWithoutOwnerNestedInput;
|
|
630
|
+
webhooks?: Prisma.WebhookUpdateManyWithoutOwnerNestedInput;
|
|
631
|
+
authUser?: Prisma.AuthUserUpdateOneWithoutPrincipalNestedInput;
|
|
632
|
+
budgetGroups?: Prisma.BudgetGroupUpdateManyWithoutOwnerNestedInput;
|
|
633
|
+
};
|
|
634
|
+
export type PrincipalUncheckedUpdateWithoutSecretsInput = {
|
|
635
|
+
id?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
636
|
+
subject?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
637
|
+
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
638
|
+
agents?: Prisma.AgentUncheckedUpdateManyWithoutOwnerNestedInput;
|
|
639
|
+
tools?: Prisma.ToolUncheckedUpdateManyWithoutOwnerNestedInput;
|
|
640
|
+
datastores?: Prisma.DatastoreUncheckedUpdateManyWithoutOwnerNestedInput;
|
|
641
|
+
webhooks?: Prisma.WebhookUncheckedUpdateManyWithoutOwnerNestedInput;
|
|
642
|
+
authUser?: Prisma.AuthUserUncheckedUpdateOneWithoutPrincipalNestedInput;
|
|
643
|
+
budgetGroups?: Prisma.BudgetGroupUncheckedUpdateManyWithoutOwnerNestedInput;
|
|
644
|
+
};
|
|
645
|
+
export type PrincipalCreateWithoutWebhooksInput = {
|
|
646
|
+
id?: string;
|
|
647
|
+
subject: string;
|
|
648
|
+
createdAt?: Date | string;
|
|
649
|
+
agents?: Prisma.AgentCreateNestedManyWithoutOwnerInput;
|
|
650
|
+
tools?: Prisma.ToolCreateNestedManyWithoutOwnerInput;
|
|
651
|
+
secrets?: Prisma.SecretCreateNestedManyWithoutOwnerInput;
|
|
652
|
+
datastores?: Prisma.DatastoreCreateNestedManyWithoutOwnerInput;
|
|
653
|
+
authUser?: Prisma.AuthUserCreateNestedOneWithoutPrincipalInput;
|
|
654
|
+
budgetGroups?: Prisma.BudgetGroupCreateNestedManyWithoutOwnerInput;
|
|
655
|
+
};
|
|
656
|
+
export type PrincipalUncheckedCreateWithoutWebhooksInput = {
|
|
657
|
+
id?: string;
|
|
658
|
+
subject: string;
|
|
659
|
+
createdAt?: Date | string;
|
|
660
|
+
agents?: Prisma.AgentUncheckedCreateNestedManyWithoutOwnerInput;
|
|
661
|
+
tools?: Prisma.ToolUncheckedCreateNestedManyWithoutOwnerInput;
|
|
662
|
+
secrets?: Prisma.SecretUncheckedCreateNestedManyWithoutOwnerInput;
|
|
663
|
+
datastores?: Prisma.DatastoreUncheckedCreateNestedManyWithoutOwnerInput;
|
|
664
|
+
authUser?: Prisma.AuthUserUncheckedCreateNestedOneWithoutPrincipalInput;
|
|
665
|
+
budgetGroups?: Prisma.BudgetGroupUncheckedCreateNestedManyWithoutOwnerInput;
|
|
666
|
+
};
|
|
667
|
+
export type PrincipalCreateOrConnectWithoutWebhooksInput = {
|
|
668
|
+
where: Prisma.PrincipalWhereUniqueInput;
|
|
669
|
+
create: Prisma.XOR<Prisma.PrincipalCreateWithoutWebhooksInput, Prisma.PrincipalUncheckedCreateWithoutWebhooksInput>;
|
|
670
|
+
};
|
|
671
|
+
export type PrincipalUpsertWithoutWebhooksInput = {
|
|
672
|
+
update: Prisma.XOR<Prisma.PrincipalUpdateWithoutWebhooksInput, Prisma.PrincipalUncheckedUpdateWithoutWebhooksInput>;
|
|
673
|
+
create: Prisma.XOR<Prisma.PrincipalCreateWithoutWebhooksInput, Prisma.PrincipalUncheckedCreateWithoutWebhooksInput>;
|
|
674
|
+
where?: Prisma.PrincipalWhereInput;
|
|
675
|
+
};
|
|
676
|
+
export type PrincipalUpdateToOneWithWhereWithoutWebhooksInput = {
|
|
677
|
+
where?: Prisma.PrincipalWhereInput;
|
|
678
|
+
data: Prisma.XOR<Prisma.PrincipalUpdateWithoutWebhooksInput, Prisma.PrincipalUncheckedUpdateWithoutWebhooksInput>;
|
|
679
|
+
};
|
|
680
|
+
export type PrincipalUpdateWithoutWebhooksInput = {
|
|
681
|
+
id?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
682
|
+
subject?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
683
|
+
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
684
|
+
agents?: Prisma.AgentUpdateManyWithoutOwnerNestedInput;
|
|
685
|
+
tools?: Prisma.ToolUpdateManyWithoutOwnerNestedInput;
|
|
686
|
+
secrets?: Prisma.SecretUpdateManyWithoutOwnerNestedInput;
|
|
687
|
+
datastores?: Prisma.DatastoreUpdateManyWithoutOwnerNestedInput;
|
|
688
|
+
authUser?: Prisma.AuthUserUpdateOneWithoutPrincipalNestedInput;
|
|
689
|
+
budgetGroups?: Prisma.BudgetGroupUpdateManyWithoutOwnerNestedInput;
|
|
690
|
+
};
|
|
691
|
+
export type PrincipalUncheckedUpdateWithoutWebhooksInput = {
|
|
692
|
+
id?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
693
|
+
subject?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
694
|
+
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
695
|
+
agents?: Prisma.AgentUncheckedUpdateManyWithoutOwnerNestedInput;
|
|
696
|
+
tools?: Prisma.ToolUncheckedUpdateManyWithoutOwnerNestedInput;
|
|
697
|
+
secrets?: Prisma.SecretUncheckedUpdateManyWithoutOwnerNestedInput;
|
|
698
|
+
datastores?: Prisma.DatastoreUncheckedUpdateManyWithoutOwnerNestedInput;
|
|
699
|
+
authUser?: Prisma.AuthUserUncheckedUpdateOneWithoutPrincipalNestedInput;
|
|
700
|
+
budgetGroups?: Prisma.BudgetGroupUncheckedUpdateManyWithoutOwnerNestedInput;
|
|
701
|
+
};
|
|
702
|
+
export type PrincipalCreateWithoutAuthUserInput = {
|
|
703
|
+
id?: string;
|
|
704
|
+
subject: string;
|
|
705
|
+
createdAt?: Date | string;
|
|
706
|
+
agents?: Prisma.AgentCreateNestedManyWithoutOwnerInput;
|
|
707
|
+
tools?: Prisma.ToolCreateNestedManyWithoutOwnerInput;
|
|
708
|
+
secrets?: Prisma.SecretCreateNestedManyWithoutOwnerInput;
|
|
709
|
+
datastores?: Prisma.DatastoreCreateNestedManyWithoutOwnerInput;
|
|
710
|
+
webhooks?: Prisma.WebhookCreateNestedManyWithoutOwnerInput;
|
|
711
|
+
budgetGroups?: Prisma.BudgetGroupCreateNestedManyWithoutOwnerInput;
|
|
712
|
+
};
|
|
713
|
+
export type PrincipalUncheckedCreateWithoutAuthUserInput = {
|
|
714
|
+
id?: string;
|
|
715
|
+
subject: string;
|
|
716
|
+
createdAt?: Date | string;
|
|
717
|
+
agents?: Prisma.AgentUncheckedCreateNestedManyWithoutOwnerInput;
|
|
718
|
+
tools?: Prisma.ToolUncheckedCreateNestedManyWithoutOwnerInput;
|
|
719
|
+
secrets?: Prisma.SecretUncheckedCreateNestedManyWithoutOwnerInput;
|
|
720
|
+
datastores?: Prisma.DatastoreUncheckedCreateNestedManyWithoutOwnerInput;
|
|
721
|
+
webhooks?: Prisma.WebhookUncheckedCreateNestedManyWithoutOwnerInput;
|
|
722
|
+
budgetGroups?: Prisma.BudgetGroupUncheckedCreateNestedManyWithoutOwnerInput;
|
|
723
|
+
};
|
|
724
|
+
export type PrincipalCreateOrConnectWithoutAuthUserInput = {
|
|
725
|
+
where: Prisma.PrincipalWhereUniqueInput;
|
|
726
|
+
create: Prisma.XOR<Prisma.PrincipalCreateWithoutAuthUserInput, Prisma.PrincipalUncheckedCreateWithoutAuthUserInput>;
|
|
727
|
+
};
|
|
728
|
+
export type PrincipalUpsertWithoutAuthUserInput = {
|
|
729
|
+
update: Prisma.XOR<Prisma.PrincipalUpdateWithoutAuthUserInput, Prisma.PrincipalUncheckedUpdateWithoutAuthUserInput>;
|
|
730
|
+
create: Prisma.XOR<Prisma.PrincipalCreateWithoutAuthUserInput, Prisma.PrincipalUncheckedCreateWithoutAuthUserInput>;
|
|
731
|
+
where?: Prisma.PrincipalWhereInput;
|
|
732
|
+
};
|
|
733
|
+
export type PrincipalUpdateToOneWithWhereWithoutAuthUserInput = {
|
|
734
|
+
where?: Prisma.PrincipalWhereInput;
|
|
735
|
+
data: Prisma.XOR<Prisma.PrincipalUpdateWithoutAuthUserInput, Prisma.PrincipalUncheckedUpdateWithoutAuthUserInput>;
|
|
736
|
+
};
|
|
737
|
+
export type PrincipalUpdateWithoutAuthUserInput = {
|
|
738
|
+
id?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
739
|
+
subject?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
740
|
+
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
741
|
+
agents?: Prisma.AgentUpdateManyWithoutOwnerNestedInput;
|
|
742
|
+
tools?: Prisma.ToolUpdateManyWithoutOwnerNestedInput;
|
|
743
|
+
secrets?: Prisma.SecretUpdateManyWithoutOwnerNestedInput;
|
|
744
|
+
datastores?: Prisma.DatastoreUpdateManyWithoutOwnerNestedInput;
|
|
745
|
+
webhooks?: Prisma.WebhookUpdateManyWithoutOwnerNestedInput;
|
|
746
|
+
budgetGroups?: Prisma.BudgetGroupUpdateManyWithoutOwnerNestedInput;
|
|
747
|
+
};
|
|
748
|
+
export type PrincipalUncheckedUpdateWithoutAuthUserInput = {
|
|
749
|
+
id?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
750
|
+
subject?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
751
|
+
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
752
|
+
agents?: Prisma.AgentUncheckedUpdateManyWithoutOwnerNestedInput;
|
|
753
|
+
tools?: Prisma.ToolUncheckedUpdateManyWithoutOwnerNestedInput;
|
|
754
|
+
secrets?: Prisma.SecretUncheckedUpdateManyWithoutOwnerNestedInput;
|
|
755
|
+
datastores?: Prisma.DatastoreUncheckedUpdateManyWithoutOwnerNestedInput;
|
|
756
|
+
webhooks?: Prisma.WebhookUncheckedUpdateManyWithoutOwnerNestedInput;
|
|
757
|
+
budgetGroups?: Prisma.BudgetGroupUncheckedUpdateManyWithoutOwnerNestedInput;
|
|
758
|
+
};
|
|
759
|
+
/**
|
|
760
|
+
* Count Type PrincipalCountOutputType
|
|
761
|
+
*/
|
|
762
|
+
export type PrincipalCountOutputType = {
|
|
763
|
+
agents: number;
|
|
764
|
+
tools: number;
|
|
765
|
+
secrets: number;
|
|
766
|
+
datastores: number;
|
|
767
|
+
webhooks: number;
|
|
768
|
+
budgetGroups: number;
|
|
769
|
+
};
|
|
770
|
+
export type PrincipalCountOutputTypeSelect<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
771
|
+
agents?: boolean | PrincipalCountOutputTypeCountAgentsArgs;
|
|
772
|
+
tools?: boolean | PrincipalCountOutputTypeCountToolsArgs;
|
|
773
|
+
secrets?: boolean | PrincipalCountOutputTypeCountSecretsArgs;
|
|
774
|
+
datastores?: boolean | PrincipalCountOutputTypeCountDatastoresArgs;
|
|
775
|
+
webhooks?: boolean | PrincipalCountOutputTypeCountWebhooksArgs;
|
|
776
|
+
budgetGroups?: boolean | PrincipalCountOutputTypeCountBudgetGroupsArgs;
|
|
777
|
+
};
|
|
778
|
+
/**
|
|
779
|
+
* PrincipalCountOutputType without action
|
|
780
|
+
*/
|
|
781
|
+
export type PrincipalCountOutputTypeDefaultArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
782
|
+
/**
|
|
783
|
+
* Select specific fields to fetch from the PrincipalCountOutputType
|
|
784
|
+
*/
|
|
785
|
+
select?: Prisma.PrincipalCountOutputTypeSelect<ExtArgs> | null;
|
|
786
|
+
};
|
|
787
|
+
/**
|
|
788
|
+
* PrincipalCountOutputType without action
|
|
789
|
+
*/
|
|
790
|
+
export type PrincipalCountOutputTypeCountAgentsArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
791
|
+
where?: Prisma.AgentWhereInput;
|
|
792
|
+
};
|
|
793
|
+
/**
|
|
794
|
+
* PrincipalCountOutputType without action
|
|
795
|
+
*/
|
|
796
|
+
export type PrincipalCountOutputTypeCountToolsArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
797
|
+
where?: Prisma.ToolWhereInput;
|
|
798
|
+
};
|
|
799
|
+
/**
|
|
800
|
+
* PrincipalCountOutputType without action
|
|
801
|
+
*/
|
|
802
|
+
export type PrincipalCountOutputTypeCountSecretsArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
803
|
+
where?: Prisma.SecretWhereInput;
|
|
804
|
+
};
|
|
805
|
+
/**
|
|
806
|
+
* PrincipalCountOutputType without action
|
|
807
|
+
*/
|
|
808
|
+
export type PrincipalCountOutputTypeCountDatastoresArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
809
|
+
where?: Prisma.DatastoreWhereInput;
|
|
810
|
+
};
|
|
811
|
+
/**
|
|
812
|
+
* PrincipalCountOutputType without action
|
|
813
|
+
*/
|
|
814
|
+
export type PrincipalCountOutputTypeCountWebhooksArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
815
|
+
where?: Prisma.WebhookWhereInput;
|
|
816
|
+
};
|
|
817
|
+
/**
|
|
818
|
+
* PrincipalCountOutputType without action
|
|
819
|
+
*/
|
|
820
|
+
export type PrincipalCountOutputTypeCountBudgetGroupsArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
821
|
+
where?: Prisma.BudgetGroupWhereInput;
|
|
822
|
+
};
|
|
823
|
+
export type PrincipalSelect<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetSelect<{
|
|
824
|
+
id?: boolean;
|
|
825
|
+
subject?: boolean;
|
|
826
|
+
createdAt?: boolean;
|
|
827
|
+
agents?: boolean | Prisma.Principal$agentsArgs<ExtArgs>;
|
|
828
|
+
tools?: boolean | Prisma.Principal$toolsArgs<ExtArgs>;
|
|
829
|
+
secrets?: boolean | Prisma.Principal$secretsArgs<ExtArgs>;
|
|
830
|
+
datastores?: boolean | Prisma.Principal$datastoresArgs<ExtArgs>;
|
|
831
|
+
webhooks?: boolean | Prisma.Principal$webhooksArgs<ExtArgs>;
|
|
832
|
+
authUser?: boolean | Prisma.Principal$authUserArgs<ExtArgs>;
|
|
833
|
+
budgetGroups?: boolean | Prisma.Principal$budgetGroupsArgs<ExtArgs>;
|
|
834
|
+
_count?: boolean | Prisma.PrincipalCountOutputTypeDefaultArgs<ExtArgs>;
|
|
835
|
+
}, ExtArgs["result"]["principal"]>;
|
|
836
|
+
export type PrincipalSelectCreateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetSelect<{
|
|
837
|
+
id?: boolean;
|
|
838
|
+
subject?: boolean;
|
|
839
|
+
createdAt?: boolean;
|
|
840
|
+
}, ExtArgs["result"]["principal"]>;
|
|
841
|
+
export type PrincipalSelectUpdateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetSelect<{
|
|
842
|
+
id?: boolean;
|
|
843
|
+
subject?: boolean;
|
|
844
|
+
createdAt?: boolean;
|
|
845
|
+
}, ExtArgs["result"]["principal"]>;
|
|
846
|
+
export type PrincipalSelectScalar = {
|
|
847
|
+
id?: boolean;
|
|
848
|
+
subject?: boolean;
|
|
849
|
+
createdAt?: boolean;
|
|
850
|
+
};
|
|
851
|
+
export type PrincipalOmit<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetOmit<"id" | "subject" | "createdAt", ExtArgs["result"]["principal"]>;
|
|
852
|
+
export type PrincipalInclude<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
853
|
+
agents?: boolean | Prisma.Principal$agentsArgs<ExtArgs>;
|
|
854
|
+
tools?: boolean | Prisma.Principal$toolsArgs<ExtArgs>;
|
|
855
|
+
secrets?: boolean | Prisma.Principal$secretsArgs<ExtArgs>;
|
|
856
|
+
datastores?: boolean | Prisma.Principal$datastoresArgs<ExtArgs>;
|
|
857
|
+
webhooks?: boolean | Prisma.Principal$webhooksArgs<ExtArgs>;
|
|
858
|
+
authUser?: boolean | Prisma.Principal$authUserArgs<ExtArgs>;
|
|
859
|
+
budgetGroups?: boolean | Prisma.Principal$budgetGroupsArgs<ExtArgs>;
|
|
860
|
+
_count?: boolean | Prisma.PrincipalCountOutputTypeDefaultArgs<ExtArgs>;
|
|
861
|
+
};
|
|
862
|
+
export type PrincipalIncludeCreateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {};
|
|
863
|
+
export type PrincipalIncludeUpdateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {};
|
|
864
|
+
export type $PrincipalPayload<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
865
|
+
name: "Principal";
|
|
866
|
+
objects: {
|
|
867
|
+
agents: Prisma.$AgentPayload<ExtArgs>[];
|
|
868
|
+
tools: Prisma.$ToolPayload<ExtArgs>[];
|
|
869
|
+
secrets: Prisma.$SecretPayload<ExtArgs>[];
|
|
870
|
+
datastores: Prisma.$DatastorePayload<ExtArgs>[];
|
|
871
|
+
webhooks: Prisma.$WebhookPayload<ExtArgs>[];
|
|
872
|
+
authUser: Prisma.$AuthUserPayload<ExtArgs> | null;
|
|
873
|
+
budgetGroups: Prisma.$BudgetGroupPayload<ExtArgs>[];
|
|
874
|
+
};
|
|
875
|
+
scalars: runtime.Types.Extensions.GetPayloadResult<{
|
|
876
|
+
id: string;
|
|
877
|
+
subject: string;
|
|
878
|
+
createdAt: Date;
|
|
879
|
+
}, ExtArgs["result"]["principal"]>;
|
|
880
|
+
composites: {};
|
|
881
|
+
};
|
|
882
|
+
export type PrincipalGetPayload<S extends boolean | null | undefined | PrincipalDefaultArgs> = runtime.Types.Result.GetResult<Prisma.$PrincipalPayload, S>;
|
|
883
|
+
export type PrincipalCountArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = Omit<PrincipalFindManyArgs, 'select' | 'include' | 'distinct' | 'omit'> & {
|
|
884
|
+
select?: PrincipalCountAggregateInputType | true;
|
|
885
|
+
};
|
|
886
|
+
export interface PrincipalDelegate<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs, GlobalOmitOptions = {}> {
|
|
887
|
+
[K: symbol]: {
|
|
888
|
+
types: Prisma.TypeMap<ExtArgs>['model']['Principal'];
|
|
889
|
+
meta: {
|
|
890
|
+
name: 'Principal';
|
|
891
|
+
};
|
|
892
|
+
};
|
|
893
|
+
/**
|
|
894
|
+
* Find zero or one Principal that matches the filter.
|
|
895
|
+
* @param {PrincipalFindUniqueArgs} args - Arguments to find a Principal
|
|
896
|
+
* @example
|
|
897
|
+
* // Get one Principal
|
|
898
|
+
* const principal = await prisma.principal.findUnique({
|
|
899
|
+
* where: {
|
|
900
|
+
* // ... provide filter here
|
|
901
|
+
* }
|
|
902
|
+
* })
|
|
903
|
+
*/
|
|
904
|
+
findUnique<T extends PrincipalFindUniqueArgs>(args: Prisma.SelectSubset<T, PrincipalFindUniqueArgs<ExtArgs>>): Prisma.Prisma__PrincipalClient<runtime.Types.Result.GetResult<Prisma.$PrincipalPayload<ExtArgs>, T, "findUnique", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions>;
|
|
905
|
+
/**
|
|
906
|
+
* Find one Principal that matches the filter or throw an error with `error.code='P2025'`
|
|
907
|
+
* if no matches were found.
|
|
908
|
+
* @param {PrincipalFindUniqueOrThrowArgs} args - Arguments to find a Principal
|
|
909
|
+
* @example
|
|
910
|
+
* // Get one Principal
|
|
911
|
+
* const principal = await prisma.principal.findUniqueOrThrow({
|
|
912
|
+
* where: {
|
|
913
|
+
* // ... provide filter here
|
|
914
|
+
* }
|
|
915
|
+
* })
|
|
916
|
+
*/
|
|
917
|
+
findUniqueOrThrow<T extends PrincipalFindUniqueOrThrowArgs>(args: Prisma.SelectSubset<T, PrincipalFindUniqueOrThrowArgs<ExtArgs>>): Prisma.Prisma__PrincipalClient<runtime.Types.Result.GetResult<Prisma.$PrincipalPayload<ExtArgs>, T, "findUniqueOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>;
|
|
918
|
+
/**
|
|
919
|
+
* Find the first Principal that matches the filter.
|
|
920
|
+
* Note, that providing `undefined` is treated as the value not being there.
|
|
921
|
+
* Read more here: https://pris.ly/d/null-undefined
|
|
922
|
+
* @param {PrincipalFindFirstArgs} args - Arguments to find a Principal
|
|
923
|
+
* @example
|
|
924
|
+
* // Get one Principal
|
|
925
|
+
* const principal = await prisma.principal.findFirst({
|
|
926
|
+
* where: {
|
|
927
|
+
* // ... provide filter here
|
|
928
|
+
* }
|
|
929
|
+
* })
|
|
930
|
+
*/
|
|
931
|
+
findFirst<T extends PrincipalFindFirstArgs>(args?: Prisma.SelectSubset<T, PrincipalFindFirstArgs<ExtArgs>>): Prisma.Prisma__PrincipalClient<runtime.Types.Result.GetResult<Prisma.$PrincipalPayload<ExtArgs>, T, "findFirst", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions>;
|
|
932
|
+
/**
|
|
933
|
+
* Find the first Principal that matches the filter or
|
|
934
|
+
* throw `PrismaKnownClientError` with `P2025` code if no matches were found.
|
|
935
|
+
* Note, that providing `undefined` is treated as the value not being there.
|
|
936
|
+
* Read more here: https://pris.ly/d/null-undefined
|
|
937
|
+
* @param {PrincipalFindFirstOrThrowArgs} args - Arguments to find a Principal
|
|
938
|
+
* @example
|
|
939
|
+
* // Get one Principal
|
|
940
|
+
* const principal = await prisma.principal.findFirstOrThrow({
|
|
941
|
+
* where: {
|
|
942
|
+
* // ... provide filter here
|
|
943
|
+
* }
|
|
944
|
+
* })
|
|
945
|
+
*/
|
|
946
|
+
findFirstOrThrow<T extends PrincipalFindFirstOrThrowArgs>(args?: Prisma.SelectSubset<T, PrincipalFindFirstOrThrowArgs<ExtArgs>>): Prisma.Prisma__PrincipalClient<runtime.Types.Result.GetResult<Prisma.$PrincipalPayload<ExtArgs>, T, "findFirstOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>;
|
|
947
|
+
/**
|
|
948
|
+
* Find zero or more Principals that matches the filter.
|
|
949
|
+
* Note, that providing `undefined` is treated as the value not being there.
|
|
950
|
+
* Read more here: https://pris.ly/d/null-undefined
|
|
951
|
+
* @param {PrincipalFindManyArgs} args - Arguments to filter and select certain fields only.
|
|
952
|
+
* @example
|
|
953
|
+
* // Get all Principals
|
|
954
|
+
* const principals = await prisma.principal.findMany()
|
|
955
|
+
*
|
|
956
|
+
* // Get first 10 Principals
|
|
957
|
+
* const principals = await prisma.principal.findMany({ take: 10 })
|
|
958
|
+
*
|
|
959
|
+
* // Only select the `id`
|
|
960
|
+
* const principalWithIdOnly = await prisma.principal.findMany({ select: { id: true } })
|
|
961
|
+
*
|
|
962
|
+
*/
|
|
963
|
+
findMany<T extends PrincipalFindManyArgs>(args?: Prisma.SelectSubset<T, PrincipalFindManyArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$PrincipalPayload<ExtArgs>, T, "findMany", GlobalOmitOptions>>;
|
|
964
|
+
/**
|
|
965
|
+
* Create a Principal.
|
|
966
|
+
* @param {PrincipalCreateArgs} args - Arguments to create a Principal.
|
|
967
|
+
* @example
|
|
968
|
+
* // Create one Principal
|
|
969
|
+
* const Principal = await prisma.principal.create({
|
|
970
|
+
* data: {
|
|
971
|
+
* // ... data to create a Principal
|
|
972
|
+
* }
|
|
973
|
+
* })
|
|
974
|
+
*
|
|
975
|
+
*/
|
|
976
|
+
create<T extends PrincipalCreateArgs>(args: Prisma.SelectSubset<T, PrincipalCreateArgs<ExtArgs>>): Prisma.Prisma__PrincipalClient<runtime.Types.Result.GetResult<Prisma.$PrincipalPayload<ExtArgs>, T, "create", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>;
|
|
977
|
+
/**
|
|
978
|
+
* Create many Principals.
|
|
979
|
+
* @param {PrincipalCreateManyArgs} args - Arguments to create many Principals.
|
|
980
|
+
* @example
|
|
981
|
+
* // Create many Principals
|
|
982
|
+
* const principal = await prisma.principal.createMany({
|
|
983
|
+
* data: [
|
|
984
|
+
* // ... provide data here
|
|
985
|
+
* ]
|
|
986
|
+
* })
|
|
987
|
+
*
|
|
988
|
+
*/
|
|
989
|
+
createMany<T extends PrincipalCreateManyArgs>(args?: Prisma.SelectSubset<T, PrincipalCreateManyArgs<ExtArgs>>): Prisma.PrismaPromise<Prisma.BatchPayload>;
|
|
990
|
+
/**
|
|
991
|
+
* Create many Principals and returns the data saved in the database.
|
|
992
|
+
* @param {PrincipalCreateManyAndReturnArgs} args - Arguments to create many Principals.
|
|
993
|
+
* @example
|
|
994
|
+
* // Create many Principals
|
|
995
|
+
* const principal = await prisma.principal.createManyAndReturn({
|
|
996
|
+
* data: [
|
|
997
|
+
* // ... provide data here
|
|
998
|
+
* ]
|
|
999
|
+
* })
|
|
1000
|
+
*
|
|
1001
|
+
* // Create many Principals and only return the `id`
|
|
1002
|
+
* const principalWithIdOnly = await prisma.principal.createManyAndReturn({
|
|
1003
|
+
* select: { id: true },
|
|
1004
|
+
* data: [
|
|
1005
|
+
* // ... provide data here
|
|
1006
|
+
* ]
|
|
1007
|
+
* })
|
|
1008
|
+
* Note, that providing `undefined` is treated as the value not being there.
|
|
1009
|
+
* Read more here: https://pris.ly/d/null-undefined
|
|
1010
|
+
*
|
|
1011
|
+
*/
|
|
1012
|
+
createManyAndReturn<T extends PrincipalCreateManyAndReturnArgs>(args?: Prisma.SelectSubset<T, PrincipalCreateManyAndReturnArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$PrincipalPayload<ExtArgs>, T, "createManyAndReturn", GlobalOmitOptions>>;
|
|
1013
|
+
/**
|
|
1014
|
+
* Delete a Principal.
|
|
1015
|
+
* @param {PrincipalDeleteArgs} args - Arguments to delete one Principal.
|
|
1016
|
+
* @example
|
|
1017
|
+
* // Delete one Principal
|
|
1018
|
+
* const Principal = await prisma.principal.delete({
|
|
1019
|
+
* where: {
|
|
1020
|
+
* // ... filter to delete one Principal
|
|
1021
|
+
* }
|
|
1022
|
+
* })
|
|
1023
|
+
*
|
|
1024
|
+
*/
|
|
1025
|
+
delete<T extends PrincipalDeleteArgs>(args: Prisma.SelectSubset<T, PrincipalDeleteArgs<ExtArgs>>): Prisma.Prisma__PrincipalClient<runtime.Types.Result.GetResult<Prisma.$PrincipalPayload<ExtArgs>, T, "delete", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>;
|
|
1026
|
+
/**
|
|
1027
|
+
* Update one Principal.
|
|
1028
|
+
* @param {PrincipalUpdateArgs} args - Arguments to update one Principal.
|
|
1029
|
+
* @example
|
|
1030
|
+
* // Update one Principal
|
|
1031
|
+
* const principal = await prisma.principal.update({
|
|
1032
|
+
* where: {
|
|
1033
|
+
* // ... provide filter here
|
|
1034
|
+
* },
|
|
1035
|
+
* data: {
|
|
1036
|
+
* // ... provide data here
|
|
1037
|
+
* }
|
|
1038
|
+
* })
|
|
1039
|
+
*
|
|
1040
|
+
*/
|
|
1041
|
+
update<T extends PrincipalUpdateArgs>(args: Prisma.SelectSubset<T, PrincipalUpdateArgs<ExtArgs>>): Prisma.Prisma__PrincipalClient<runtime.Types.Result.GetResult<Prisma.$PrincipalPayload<ExtArgs>, T, "update", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>;
|
|
1042
|
+
/**
|
|
1043
|
+
* Delete zero or more Principals.
|
|
1044
|
+
* @param {PrincipalDeleteManyArgs} args - Arguments to filter Principals to delete.
|
|
1045
|
+
* @example
|
|
1046
|
+
* // Delete a few Principals
|
|
1047
|
+
* const { count } = await prisma.principal.deleteMany({
|
|
1048
|
+
* where: {
|
|
1049
|
+
* // ... provide filter here
|
|
1050
|
+
* }
|
|
1051
|
+
* })
|
|
1052
|
+
*
|
|
1053
|
+
*/
|
|
1054
|
+
deleteMany<T extends PrincipalDeleteManyArgs>(args?: Prisma.SelectSubset<T, PrincipalDeleteManyArgs<ExtArgs>>): Prisma.PrismaPromise<Prisma.BatchPayload>;
|
|
1055
|
+
/**
|
|
1056
|
+
* Update zero or more Principals.
|
|
1057
|
+
* Note, that providing `undefined` is treated as the value not being there.
|
|
1058
|
+
* Read more here: https://pris.ly/d/null-undefined
|
|
1059
|
+
* @param {PrincipalUpdateManyArgs} args - Arguments to update one or more rows.
|
|
1060
|
+
* @example
|
|
1061
|
+
* // Update many Principals
|
|
1062
|
+
* const principal = await prisma.principal.updateMany({
|
|
1063
|
+
* where: {
|
|
1064
|
+
* // ... provide filter here
|
|
1065
|
+
* },
|
|
1066
|
+
* data: {
|
|
1067
|
+
* // ... provide data here
|
|
1068
|
+
* }
|
|
1069
|
+
* })
|
|
1070
|
+
*
|
|
1071
|
+
*/
|
|
1072
|
+
updateMany<T extends PrincipalUpdateManyArgs>(args: Prisma.SelectSubset<T, PrincipalUpdateManyArgs<ExtArgs>>): Prisma.PrismaPromise<Prisma.BatchPayload>;
|
|
1073
|
+
/**
|
|
1074
|
+
* Update zero or more Principals and returns the data updated in the database.
|
|
1075
|
+
* @param {PrincipalUpdateManyAndReturnArgs} args - Arguments to update many Principals.
|
|
1076
|
+
* @example
|
|
1077
|
+
* // Update many Principals
|
|
1078
|
+
* const principal = await prisma.principal.updateManyAndReturn({
|
|
1079
|
+
* where: {
|
|
1080
|
+
* // ... provide filter here
|
|
1081
|
+
* },
|
|
1082
|
+
* data: [
|
|
1083
|
+
* // ... provide data here
|
|
1084
|
+
* ]
|
|
1085
|
+
* })
|
|
1086
|
+
*
|
|
1087
|
+
* // Update zero or more Principals and only return the `id`
|
|
1088
|
+
* const principalWithIdOnly = await prisma.principal.updateManyAndReturn({
|
|
1089
|
+
* select: { id: true },
|
|
1090
|
+
* where: {
|
|
1091
|
+
* // ... provide filter here
|
|
1092
|
+
* },
|
|
1093
|
+
* data: [
|
|
1094
|
+
* // ... provide data here
|
|
1095
|
+
* ]
|
|
1096
|
+
* })
|
|
1097
|
+
* Note, that providing `undefined` is treated as the value not being there.
|
|
1098
|
+
* Read more here: https://pris.ly/d/null-undefined
|
|
1099
|
+
*
|
|
1100
|
+
*/
|
|
1101
|
+
updateManyAndReturn<T extends PrincipalUpdateManyAndReturnArgs>(args: Prisma.SelectSubset<T, PrincipalUpdateManyAndReturnArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$PrincipalPayload<ExtArgs>, T, "updateManyAndReturn", GlobalOmitOptions>>;
|
|
1102
|
+
/**
|
|
1103
|
+
* Create or update one Principal.
|
|
1104
|
+
* @param {PrincipalUpsertArgs} args - Arguments to update or create a Principal.
|
|
1105
|
+
* @example
|
|
1106
|
+
* // Update or create a Principal
|
|
1107
|
+
* const principal = await prisma.principal.upsert({
|
|
1108
|
+
* create: {
|
|
1109
|
+
* // ... data to create a Principal
|
|
1110
|
+
* },
|
|
1111
|
+
* update: {
|
|
1112
|
+
* // ... in case it already exists, update
|
|
1113
|
+
* },
|
|
1114
|
+
* where: {
|
|
1115
|
+
* // ... the filter for the Principal we want to update
|
|
1116
|
+
* }
|
|
1117
|
+
* })
|
|
1118
|
+
*/
|
|
1119
|
+
upsert<T extends PrincipalUpsertArgs>(args: Prisma.SelectSubset<T, PrincipalUpsertArgs<ExtArgs>>): Prisma.Prisma__PrincipalClient<runtime.Types.Result.GetResult<Prisma.$PrincipalPayload<ExtArgs>, T, "upsert", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>;
|
|
1120
|
+
/**
|
|
1121
|
+
* Count the number of Principals.
|
|
1122
|
+
* Note, that providing `undefined` is treated as the value not being there.
|
|
1123
|
+
* Read more here: https://pris.ly/d/null-undefined
|
|
1124
|
+
* @param {PrincipalCountArgs} args - Arguments to filter Principals to count.
|
|
1125
|
+
* @example
|
|
1126
|
+
* // Count the number of Principals
|
|
1127
|
+
* const count = await prisma.principal.count({
|
|
1128
|
+
* where: {
|
|
1129
|
+
* // ... the filter for the Principals we want to count
|
|
1130
|
+
* }
|
|
1131
|
+
* })
|
|
1132
|
+
**/
|
|
1133
|
+
count<T extends PrincipalCountArgs>(args?: Prisma.Subset<T, PrincipalCountArgs>): Prisma.PrismaPromise<T extends runtime.Types.Utils.Record<'select', any> ? T['select'] extends true ? number : Prisma.GetScalarType<T['select'], PrincipalCountAggregateOutputType> : number>;
|
|
1134
|
+
/**
|
|
1135
|
+
* Allows you to perform aggregations operations on a Principal.
|
|
1136
|
+
* Note, that providing `undefined` is treated as the value not being there.
|
|
1137
|
+
* Read more here: https://pris.ly/d/null-undefined
|
|
1138
|
+
* @param {PrincipalAggregateArgs} args - Select which aggregations you would like to apply and on what fields.
|
|
1139
|
+
* @example
|
|
1140
|
+
* // Ordered by age ascending
|
|
1141
|
+
* // Where email contains prisma.io
|
|
1142
|
+
* // Limited to the 10 users
|
|
1143
|
+
* const aggregations = await prisma.user.aggregate({
|
|
1144
|
+
* _avg: {
|
|
1145
|
+
* age: true,
|
|
1146
|
+
* },
|
|
1147
|
+
* where: {
|
|
1148
|
+
* email: {
|
|
1149
|
+
* contains: "prisma.io",
|
|
1150
|
+
* },
|
|
1151
|
+
* },
|
|
1152
|
+
* orderBy: {
|
|
1153
|
+
* age: "asc",
|
|
1154
|
+
* },
|
|
1155
|
+
* take: 10,
|
|
1156
|
+
* })
|
|
1157
|
+
**/
|
|
1158
|
+
aggregate<T extends PrincipalAggregateArgs>(args: Prisma.Subset<T, PrincipalAggregateArgs>): Prisma.PrismaPromise<GetPrincipalAggregateType<T>>;
|
|
1159
|
+
/**
|
|
1160
|
+
* Group by Principal.
|
|
1161
|
+
* Note, that providing `undefined` is treated as the value not being there.
|
|
1162
|
+
* Read more here: https://pris.ly/d/null-undefined
|
|
1163
|
+
* @param {PrincipalGroupByArgs} args - Group by arguments.
|
|
1164
|
+
* @example
|
|
1165
|
+
* // Group by city, order by createdAt, get count
|
|
1166
|
+
* const result = await prisma.user.groupBy({
|
|
1167
|
+
* by: ['city', 'createdAt'],
|
|
1168
|
+
* orderBy: {
|
|
1169
|
+
* createdAt: true
|
|
1170
|
+
* },
|
|
1171
|
+
* _count: {
|
|
1172
|
+
* _all: true
|
|
1173
|
+
* },
|
|
1174
|
+
* })
|
|
1175
|
+
*
|
|
1176
|
+
**/
|
|
1177
|
+
groupBy<T extends PrincipalGroupByArgs, HasSelectOrTake extends Prisma.Or<Prisma.Extends<'skip', Prisma.Keys<T>>, Prisma.Extends<'take', Prisma.Keys<T>>>, OrderByArg extends Prisma.True extends HasSelectOrTake ? {
|
|
1178
|
+
orderBy: PrincipalGroupByArgs['orderBy'];
|
|
1179
|
+
} : {
|
|
1180
|
+
orderBy?: PrincipalGroupByArgs['orderBy'];
|
|
1181
|
+
}, OrderFields extends Prisma.ExcludeUnderscoreKeys<Prisma.Keys<Prisma.MaybeTupleToUnion<T['orderBy']>>>, ByFields extends Prisma.MaybeTupleToUnion<T['by']>, ByValid extends Prisma.Has<ByFields, OrderFields>, HavingFields extends Prisma.GetHavingFields<T['having']>, HavingValid extends Prisma.Has<ByFields, HavingFields>, ByEmpty extends T['by'] extends never[] ? Prisma.True : Prisma.False, InputErrors extends ByEmpty extends Prisma.True ? `Error: "by" must not be empty.` : HavingValid extends Prisma.False ? {
|
|
1182
|
+
[P in HavingFields]: P extends ByFields ? never : P extends string ? `Error: Field "${P}" used in "having" needs to be provided in "by".` : [
|
|
1183
|
+
Error,
|
|
1184
|
+
'Field ',
|
|
1185
|
+
P,
|
|
1186
|
+
` in "having" needs to be provided in "by"`
|
|
1187
|
+
];
|
|
1188
|
+
}[HavingFields] : 'take' extends Prisma.Keys<T> ? 'orderBy' extends Prisma.Keys<T> ? ByValid extends Prisma.True ? {} : {
|
|
1189
|
+
[P in OrderFields]: P extends ByFields ? never : `Error: Field "${P}" in "orderBy" needs to be provided in "by"`;
|
|
1190
|
+
}[OrderFields] : 'Error: If you provide "take", you also need to provide "orderBy"' : 'skip' extends Prisma.Keys<T> ? 'orderBy' extends Prisma.Keys<T> ? ByValid extends Prisma.True ? {} : {
|
|
1191
|
+
[P in OrderFields]: P extends ByFields ? never : `Error: Field "${P}" in "orderBy" needs to be provided in "by"`;
|
|
1192
|
+
}[OrderFields] : 'Error: If you provide "skip", you also need to provide "orderBy"' : ByValid extends Prisma.True ? {} : {
|
|
1193
|
+
[P in OrderFields]: P extends ByFields ? never : `Error: Field "${P}" in "orderBy" needs to be provided in "by"`;
|
|
1194
|
+
}[OrderFields]>(args: Prisma.SubsetIntersection<T, PrincipalGroupByArgs, OrderByArg> & InputErrors): {} extends InputErrors ? GetPrincipalGroupByPayload<T> : Prisma.PrismaPromise<InputErrors>;
|
|
1195
|
+
/**
|
|
1196
|
+
* Fields of the Principal model
|
|
1197
|
+
*/
|
|
1198
|
+
readonly fields: PrincipalFieldRefs;
|
|
1199
|
+
}
|
|
1200
|
+
/**
|
|
1201
|
+
* The delegate class that acts as a "Promise-like" for Principal.
|
|
1202
|
+
* Why is this prefixed with `Prisma__`?
|
|
1203
|
+
* Because we want to prevent naming conflicts as mentioned in
|
|
1204
|
+
* https://github.com/prisma/prisma-client-js/issues/707
|
|
1205
|
+
*/
|
|
1206
|
+
export interface Prisma__PrincipalClient<T, Null = never, ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs, GlobalOmitOptions = {}> extends Prisma.PrismaPromise<T> {
|
|
1207
|
+
readonly [Symbol.toStringTag]: "PrismaPromise";
|
|
1208
|
+
agents<T extends Prisma.Principal$agentsArgs<ExtArgs> = {}>(args?: Prisma.Subset<T, Prisma.Principal$agentsArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$AgentPayload<ExtArgs>, T, "findMany", GlobalOmitOptions> | Null>;
|
|
1209
|
+
tools<T extends Prisma.Principal$toolsArgs<ExtArgs> = {}>(args?: Prisma.Subset<T, Prisma.Principal$toolsArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$ToolPayload<ExtArgs>, T, "findMany", GlobalOmitOptions> | Null>;
|
|
1210
|
+
secrets<T extends Prisma.Principal$secretsArgs<ExtArgs> = {}>(args?: Prisma.Subset<T, Prisma.Principal$secretsArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$SecretPayload<ExtArgs>, T, "findMany", GlobalOmitOptions> | Null>;
|
|
1211
|
+
datastores<T extends Prisma.Principal$datastoresArgs<ExtArgs> = {}>(args?: Prisma.Subset<T, Prisma.Principal$datastoresArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$DatastorePayload<ExtArgs>, T, "findMany", GlobalOmitOptions> | Null>;
|
|
1212
|
+
webhooks<T extends Prisma.Principal$webhooksArgs<ExtArgs> = {}>(args?: Prisma.Subset<T, Prisma.Principal$webhooksArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$WebhookPayload<ExtArgs>, T, "findMany", GlobalOmitOptions> | Null>;
|
|
1213
|
+
authUser<T extends Prisma.Principal$authUserArgs<ExtArgs> = {}>(args?: Prisma.Subset<T, Prisma.Principal$authUserArgs<ExtArgs>>): Prisma.Prisma__AuthUserClient<runtime.Types.Result.GetResult<Prisma.$AuthUserPayload<ExtArgs>, T, "findUniqueOrThrow", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions>;
|
|
1214
|
+
budgetGroups<T extends Prisma.Principal$budgetGroupsArgs<ExtArgs> = {}>(args?: Prisma.Subset<T, Prisma.Principal$budgetGroupsArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$BudgetGroupPayload<ExtArgs>, T, "findMany", GlobalOmitOptions> | Null>;
|
|
1215
|
+
/**
|
|
1216
|
+
* Attaches callbacks for the resolution and/or rejection of the Promise.
|
|
1217
|
+
* @param onfulfilled The callback to execute when the Promise is resolved.
|
|
1218
|
+
* @param onrejected The callback to execute when the Promise is rejected.
|
|
1219
|
+
* @returns A Promise for the completion of which ever callback is executed.
|
|
1220
|
+
*/
|
|
1221
|
+
then<TResult1 = T, TResult2 = never>(onfulfilled?: ((value: T) => TResult1 | PromiseLike<TResult1>) | undefined | null, onrejected?: ((reason: any) => TResult2 | PromiseLike<TResult2>) | undefined | null): runtime.Types.Utils.JsPromise<TResult1 | TResult2>;
|
|
1222
|
+
/**
|
|
1223
|
+
* Attaches a callback for only the rejection of the Promise.
|
|
1224
|
+
* @param onrejected The callback to execute when the Promise is rejected.
|
|
1225
|
+
* @returns A Promise for the completion of the callback.
|
|
1226
|
+
*/
|
|
1227
|
+
catch<TResult = never>(onrejected?: ((reason: any) => TResult | PromiseLike<TResult>) | undefined | null): runtime.Types.Utils.JsPromise<T | TResult>;
|
|
1228
|
+
/**
|
|
1229
|
+
* Attaches a callback that is invoked when the Promise is settled (fulfilled or rejected). The
|
|
1230
|
+
* resolved value cannot be modified from the callback.
|
|
1231
|
+
* @param onfinally The callback to execute when the Promise is settled (fulfilled or rejected).
|
|
1232
|
+
* @returns A Promise for the completion of the callback.
|
|
1233
|
+
*/
|
|
1234
|
+
finally(onfinally?: (() => void) | undefined | null): runtime.Types.Utils.JsPromise<T>;
|
|
1235
|
+
}
|
|
1236
|
+
/**
|
|
1237
|
+
* Fields of the Principal model
|
|
1238
|
+
*/
|
|
1239
|
+
export interface PrincipalFieldRefs {
|
|
1240
|
+
readonly id: Prisma.FieldRef<"Principal", 'String'>;
|
|
1241
|
+
readonly subject: Prisma.FieldRef<"Principal", 'String'>;
|
|
1242
|
+
readonly createdAt: Prisma.FieldRef<"Principal", 'DateTime'>;
|
|
1243
|
+
}
|
|
1244
|
+
/**
|
|
1245
|
+
* Principal findUnique
|
|
1246
|
+
*/
|
|
1247
|
+
export type PrincipalFindUniqueArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1248
|
+
/**
|
|
1249
|
+
* Select specific fields to fetch from the Principal
|
|
1250
|
+
*/
|
|
1251
|
+
select?: Prisma.PrincipalSelect<ExtArgs> | null;
|
|
1252
|
+
/**
|
|
1253
|
+
* Omit specific fields from the Principal
|
|
1254
|
+
*/
|
|
1255
|
+
omit?: Prisma.PrincipalOmit<ExtArgs> | null;
|
|
1256
|
+
/**
|
|
1257
|
+
* Choose, which related nodes to fetch as well
|
|
1258
|
+
*/
|
|
1259
|
+
include?: Prisma.PrincipalInclude<ExtArgs> | null;
|
|
1260
|
+
/**
|
|
1261
|
+
* Filter, which Principal to fetch.
|
|
1262
|
+
*/
|
|
1263
|
+
where: Prisma.PrincipalWhereUniqueInput;
|
|
1264
|
+
};
|
|
1265
|
+
/**
|
|
1266
|
+
* Principal findUniqueOrThrow
|
|
1267
|
+
*/
|
|
1268
|
+
export type PrincipalFindUniqueOrThrowArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1269
|
+
/**
|
|
1270
|
+
* Select specific fields to fetch from the Principal
|
|
1271
|
+
*/
|
|
1272
|
+
select?: Prisma.PrincipalSelect<ExtArgs> | null;
|
|
1273
|
+
/**
|
|
1274
|
+
* Omit specific fields from the Principal
|
|
1275
|
+
*/
|
|
1276
|
+
omit?: Prisma.PrincipalOmit<ExtArgs> | null;
|
|
1277
|
+
/**
|
|
1278
|
+
* Choose, which related nodes to fetch as well
|
|
1279
|
+
*/
|
|
1280
|
+
include?: Prisma.PrincipalInclude<ExtArgs> | null;
|
|
1281
|
+
/**
|
|
1282
|
+
* Filter, which Principal to fetch.
|
|
1283
|
+
*/
|
|
1284
|
+
where: Prisma.PrincipalWhereUniqueInput;
|
|
1285
|
+
};
|
|
1286
|
+
/**
|
|
1287
|
+
* Principal findFirst
|
|
1288
|
+
*/
|
|
1289
|
+
export type PrincipalFindFirstArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1290
|
+
/**
|
|
1291
|
+
* Select specific fields to fetch from the Principal
|
|
1292
|
+
*/
|
|
1293
|
+
select?: Prisma.PrincipalSelect<ExtArgs> | null;
|
|
1294
|
+
/**
|
|
1295
|
+
* Omit specific fields from the Principal
|
|
1296
|
+
*/
|
|
1297
|
+
omit?: Prisma.PrincipalOmit<ExtArgs> | null;
|
|
1298
|
+
/**
|
|
1299
|
+
* Choose, which related nodes to fetch as well
|
|
1300
|
+
*/
|
|
1301
|
+
include?: Prisma.PrincipalInclude<ExtArgs> | null;
|
|
1302
|
+
/**
|
|
1303
|
+
* Filter, which Principal to fetch.
|
|
1304
|
+
*/
|
|
1305
|
+
where?: Prisma.PrincipalWhereInput;
|
|
1306
|
+
/**
|
|
1307
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
|
|
1308
|
+
*
|
|
1309
|
+
* Determine the order of Principals to fetch.
|
|
1310
|
+
*/
|
|
1311
|
+
orderBy?: Prisma.PrincipalOrderByWithRelationInput | Prisma.PrincipalOrderByWithRelationInput[];
|
|
1312
|
+
/**
|
|
1313
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
|
|
1314
|
+
*
|
|
1315
|
+
* Sets the position for searching for Principals.
|
|
1316
|
+
*/
|
|
1317
|
+
cursor?: Prisma.PrincipalWhereUniqueInput;
|
|
1318
|
+
/**
|
|
1319
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
1320
|
+
*
|
|
1321
|
+
* Take `±n` Principals from the position of the cursor.
|
|
1322
|
+
*/
|
|
1323
|
+
take?: number;
|
|
1324
|
+
/**
|
|
1325
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
1326
|
+
*
|
|
1327
|
+
* Skip the first `n` Principals.
|
|
1328
|
+
*/
|
|
1329
|
+
skip?: number;
|
|
1330
|
+
/**
|
|
1331
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
|
|
1332
|
+
*
|
|
1333
|
+
* Filter by unique combinations of Principals.
|
|
1334
|
+
*/
|
|
1335
|
+
distinct?: Prisma.PrincipalScalarFieldEnum | Prisma.PrincipalScalarFieldEnum[];
|
|
1336
|
+
};
|
|
1337
|
+
/**
|
|
1338
|
+
* Principal findFirstOrThrow
|
|
1339
|
+
*/
|
|
1340
|
+
export type PrincipalFindFirstOrThrowArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1341
|
+
/**
|
|
1342
|
+
* Select specific fields to fetch from the Principal
|
|
1343
|
+
*/
|
|
1344
|
+
select?: Prisma.PrincipalSelect<ExtArgs> | null;
|
|
1345
|
+
/**
|
|
1346
|
+
* Omit specific fields from the Principal
|
|
1347
|
+
*/
|
|
1348
|
+
omit?: Prisma.PrincipalOmit<ExtArgs> | null;
|
|
1349
|
+
/**
|
|
1350
|
+
* Choose, which related nodes to fetch as well
|
|
1351
|
+
*/
|
|
1352
|
+
include?: Prisma.PrincipalInclude<ExtArgs> | null;
|
|
1353
|
+
/**
|
|
1354
|
+
* Filter, which Principal to fetch.
|
|
1355
|
+
*/
|
|
1356
|
+
where?: Prisma.PrincipalWhereInput;
|
|
1357
|
+
/**
|
|
1358
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
|
|
1359
|
+
*
|
|
1360
|
+
* Determine the order of Principals to fetch.
|
|
1361
|
+
*/
|
|
1362
|
+
orderBy?: Prisma.PrincipalOrderByWithRelationInput | Prisma.PrincipalOrderByWithRelationInput[];
|
|
1363
|
+
/**
|
|
1364
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
|
|
1365
|
+
*
|
|
1366
|
+
* Sets the position for searching for Principals.
|
|
1367
|
+
*/
|
|
1368
|
+
cursor?: Prisma.PrincipalWhereUniqueInput;
|
|
1369
|
+
/**
|
|
1370
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
1371
|
+
*
|
|
1372
|
+
* Take `±n` Principals from the position of the cursor.
|
|
1373
|
+
*/
|
|
1374
|
+
take?: number;
|
|
1375
|
+
/**
|
|
1376
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
1377
|
+
*
|
|
1378
|
+
* Skip the first `n` Principals.
|
|
1379
|
+
*/
|
|
1380
|
+
skip?: number;
|
|
1381
|
+
/**
|
|
1382
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
|
|
1383
|
+
*
|
|
1384
|
+
* Filter by unique combinations of Principals.
|
|
1385
|
+
*/
|
|
1386
|
+
distinct?: Prisma.PrincipalScalarFieldEnum | Prisma.PrincipalScalarFieldEnum[];
|
|
1387
|
+
};
|
|
1388
|
+
/**
|
|
1389
|
+
* Principal findMany
|
|
1390
|
+
*/
|
|
1391
|
+
export type PrincipalFindManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1392
|
+
/**
|
|
1393
|
+
* Select specific fields to fetch from the Principal
|
|
1394
|
+
*/
|
|
1395
|
+
select?: Prisma.PrincipalSelect<ExtArgs> | null;
|
|
1396
|
+
/**
|
|
1397
|
+
* Omit specific fields from the Principal
|
|
1398
|
+
*/
|
|
1399
|
+
omit?: Prisma.PrincipalOmit<ExtArgs> | null;
|
|
1400
|
+
/**
|
|
1401
|
+
* Choose, which related nodes to fetch as well
|
|
1402
|
+
*/
|
|
1403
|
+
include?: Prisma.PrincipalInclude<ExtArgs> | null;
|
|
1404
|
+
/**
|
|
1405
|
+
* Filter, which Principals to fetch.
|
|
1406
|
+
*/
|
|
1407
|
+
where?: Prisma.PrincipalWhereInput;
|
|
1408
|
+
/**
|
|
1409
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
|
|
1410
|
+
*
|
|
1411
|
+
* Determine the order of Principals to fetch.
|
|
1412
|
+
*/
|
|
1413
|
+
orderBy?: Prisma.PrincipalOrderByWithRelationInput | Prisma.PrincipalOrderByWithRelationInput[];
|
|
1414
|
+
/**
|
|
1415
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
|
|
1416
|
+
*
|
|
1417
|
+
* Sets the position for listing Principals.
|
|
1418
|
+
*/
|
|
1419
|
+
cursor?: Prisma.PrincipalWhereUniqueInput;
|
|
1420
|
+
/**
|
|
1421
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
1422
|
+
*
|
|
1423
|
+
* Take `±n` Principals from the position of the cursor.
|
|
1424
|
+
*/
|
|
1425
|
+
take?: number;
|
|
1426
|
+
/**
|
|
1427
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
1428
|
+
*
|
|
1429
|
+
* Skip the first `n` Principals.
|
|
1430
|
+
*/
|
|
1431
|
+
skip?: number;
|
|
1432
|
+
/**
|
|
1433
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
|
|
1434
|
+
*
|
|
1435
|
+
* Filter by unique combinations of Principals.
|
|
1436
|
+
*/
|
|
1437
|
+
distinct?: Prisma.PrincipalScalarFieldEnum | Prisma.PrincipalScalarFieldEnum[];
|
|
1438
|
+
};
|
|
1439
|
+
/**
|
|
1440
|
+
* Principal create
|
|
1441
|
+
*/
|
|
1442
|
+
export type PrincipalCreateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1443
|
+
/**
|
|
1444
|
+
* Select specific fields to fetch from the Principal
|
|
1445
|
+
*/
|
|
1446
|
+
select?: Prisma.PrincipalSelect<ExtArgs> | null;
|
|
1447
|
+
/**
|
|
1448
|
+
* Omit specific fields from the Principal
|
|
1449
|
+
*/
|
|
1450
|
+
omit?: Prisma.PrincipalOmit<ExtArgs> | null;
|
|
1451
|
+
/**
|
|
1452
|
+
* Choose, which related nodes to fetch as well
|
|
1453
|
+
*/
|
|
1454
|
+
include?: Prisma.PrincipalInclude<ExtArgs> | null;
|
|
1455
|
+
/**
|
|
1456
|
+
* The data needed to create a Principal.
|
|
1457
|
+
*/
|
|
1458
|
+
data: Prisma.XOR<Prisma.PrincipalCreateInput, Prisma.PrincipalUncheckedCreateInput>;
|
|
1459
|
+
};
|
|
1460
|
+
/**
|
|
1461
|
+
* Principal createMany
|
|
1462
|
+
*/
|
|
1463
|
+
export type PrincipalCreateManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1464
|
+
/**
|
|
1465
|
+
* The data used to create many Principals.
|
|
1466
|
+
*/
|
|
1467
|
+
data: Prisma.PrincipalCreateManyInput | Prisma.PrincipalCreateManyInput[];
|
|
1468
|
+
skipDuplicates?: boolean;
|
|
1469
|
+
};
|
|
1470
|
+
/**
|
|
1471
|
+
* Principal createManyAndReturn
|
|
1472
|
+
*/
|
|
1473
|
+
export type PrincipalCreateManyAndReturnArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1474
|
+
/**
|
|
1475
|
+
* Select specific fields to fetch from the Principal
|
|
1476
|
+
*/
|
|
1477
|
+
select?: Prisma.PrincipalSelectCreateManyAndReturn<ExtArgs> | null;
|
|
1478
|
+
/**
|
|
1479
|
+
* Omit specific fields from the Principal
|
|
1480
|
+
*/
|
|
1481
|
+
omit?: Prisma.PrincipalOmit<ExtArgs> | null;
|
|
1482
|
+
/**
|
|
1483
|
+
* The data used to create many Principals.
|
|
1484
|
+
*/
|
|
1485
|
+
data: Prisma.PrincipalCreateManyInput | Prisma.PrincipalCreateManyInput[];
|
|
1486
|
+
skipDuplicates?: boolean;
|
|
1487
|
+
};
|
|
1488
|
+
/**
|
|
1489
|
+
* Principal update
|
|
1490
|
+
*/
|
|
1491
|
+
export type PrincipalUpdateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1492
|
+
/**
|
|
1493
|
+
* Select specific fields to fetch from the Principal
|
|
1494
|
+
*/
|
|
1495
|
+
select?: Prisma.PrincipalSelect<ExtArgs> | null;
|
|
1496
|
+
/**
|
|
1497
|
+
* Omit specific fields from the Principal
|
|
1498
|
+
*/
|
|
1499
|
+
omit?: Prisma.PrincipalOmit<ExtArgs> | null;
|
|
1500
|
+
/**
|
|
1501
|
+
* Choose, which related nodes to fetch as well
|
|
1502
|
+
*/
|
|
1503
|
+
include?: Prisma.PrincipalInclude<ExtArgs> | null;
|
|
1504
|
+
/**
|
|
1505
|
+
* The data needed to update a Principal.
|
|
1506
|
+
*/
|
|
1507
|
+
data: Prisma.XOR<Prisma.PrincipalUpdateInput, Prisma.PrincipalUncheckedUpdateInput>;
|
|
1508
|
+
/**
|
|
1509
|
+
* Choose, which Principal to update.
|
|
1510
|
+
*/
|
|
1511
|
+
where: Prisma.PrincipalWhereUniqueInput;
|
|
1512
|
+
};
|
|
1513
|
+
/**
|
|
1514
|
+
* Principal updateMany
|
|
1515
|
+
*/
|
|
1516
|
+
export type PrincipalUpdateManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1517
|
+
/**
|
|
1518
|
+
* The data used to update Principals.
|
|
1519
|
+
*/
|
|
1520
|
+
data: Prisma.XOR<Prisma.PrincipalUpdateManyMutationInput, Prisma.PrincipalUncheckedUpdateManyInput>;
|
|
1521
|
+
/**
|
|
1522
|
+
* Filter which Principals to update
|
|
1523
|
+
*/
|
|
1524
|
+
where?: Prisma.PrincipalWhereInput;
|
|
1525
|
+
/**
|
|
1526
|
+
* Limit how many Principals to update.
|
|
1527
|
+
*/
|
|
1528
|
+
limit?: number;
|
|
1529
|
+
};
|
|
1530
|
+
/**
|
|
1531
|
+
* Principal updateManyAndReturn
|
|
1532
|
+
*/
|
|
1533
|
+
export type PrincipalUpdateManyAndReturnArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1534
|
+
/**
|
|
1535
|
+
* Select specific fields to fetch from the Principal
|
|
1536
|
+
*/
|
|
1537
|
+
select?: Prisma.PrincipalSelectUpdateManyAndReturn<ExtArgs> | null;
|
|
1538
|
+
/**
|
|
1539
|
+
* Omit specific fields from the Principal
|
|
1540
|
+
*/
|
|
1541
|
+
omit?: Prisma.PrincipalOmit<ExtArgs> | null;
|
|
1542
|
+
/**
|
|
1543
|
+
* The data used to update Principals.
|
|
1544
|
+
*/
|
|
1545
|
+
data: Prisma.XOR<Prisma.PrincipalUpdateManyMutationInput, Prisma.PrincipalUncheckedUpdateManyInput>;
|
|
1546
|
+
/**
|
|
1547
|
+
* Filter which Principals to update
|
|
1548
|
+
*/
|
|
1549
|
+
where?: Prisma.PrincipalWhereInput;
|
|
1550
|
+
/**
|
|
1551
|
+
* Limit how many Principals to update.
|
|
1552
|
+
*/
|
|
1553
|
+
limit?: number;
|
|
1554
|
+
};
|
|
1555
|
+
/**
|
|
1556
|
+
* Principal upsert
|
|
1557
|
+
*/
|
|
1558
|
+
export type PrincipalUpsertArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1559
|
+
/**
|
|
1560
|
+
* Select specific fields to fetch from the Principal
|
|
1561
|
+
*/
|
|
1562
|
+
select?: Prisma.PrincipalSelect<ExtArgs> | null;
|
|
1563
|
+
/**
|
|
1564
|
+
* Omit specific fields from the Principal
|
|
1565
|
+
*/
|
|
1566
|
+
omit?: Prisma.PrincipalOmit<ExtArgs> | null;
|
|
1567
|
+
/**
|
|
1568
|
+
* Choose, which related nodes to fetch as well
|
|
1569
|
+
*/
|
|
1570
|
+
include?: Prisma.PrincipalInclude<ExtArgs> | null;
|
|
1571
|
+
/**
|
|
1572
|
+
* The filter to search for the Principal to update in case it exists.
|
|
1573
|
+
*/
|
|
1574
|
+
where: Prisma.PrincipalWhereUniqueInput;
|
|
1575
|
+
/**
|
|
1576
|
+
* In case the Principal found by the `where` argument doesn't exist, create a new Principal with this data.
|
|
1577
|
+
*/
|
|
1578
|
+
create: Prisma.XOR<Prisma.PrincipalCreateInput, Prisma.PrincipalUncheckedCreateInput>;
|
|
1579
|
+
/**
|
|
1580
|
+
* In case the Principal was found with the provided `where` argument, update it with this data.
|
|
1581
|
+
*/
|
|
1582
|
+
update: Prisma.XOR<Prisma.PrincipalUpdateInput, Prisma.PrincipalUncheckedUpdateInput>;
|
|
1583
|
+
};
|
|
1584
|
+
/**
|
|
1585
|
+
* Principal delete
|
|
1586
|
+
*/
|
|
1587
|
+
export type PrincipalDeleteArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1588
|
+
/**
|
|
1589
|
+
* Select specific fields to fetch from the Principal
|
|
1590
|
+
*/
|
|
1591
|
+
select?: Prisma.PrincipalSelect<ExtArgs> | null;
|
|
1592
|
+
/**
|
|
1593
|
+
* Omit specific fields from the Principal
|
|
1594
|
+
*/
|
|
1595
|
+
omit?: Prisma.PrincipalOmit<ExtArgs> | null;
|
|
1596
|
+
/**
|
|
1597
|
+
* Choose, which related nodes to fetch as well
|
|
1598
|
+
*/
|
|
1599
|
+
include?: Prisma.PrincipalInclude<ExtArgs> | null;
|
|
1600
|
+
/**
|
|
1601
|
+
* Filter which Principal to delete.
|
|
1602
|
+
*/
|
|
1603
|
+
where: Prisma.PrincipalWhereUniqueInput;
|
|
1604
|
+
};
|
|
1605
|
+
/**
|
|
1606
|
+
* Principal deleteMany
|
|
1607
|
+
*/
|
|
1608
|
+
export type PrincipalDeleteManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1609
|
+
/**
|
|
1610
|
+
* Filter which Principals to delete
|
|
1611
|
+
*/
|
|
1612
|
+
where?: Prisma.PrincipalWhereInput;
|
|
1613
|
+
/**
|
|
1614
|
+
* Limit how many Principals to delete.
|
|
1615
|
+
*/
|
|
1616
|
+
limit?: number;
|
|
1617
|
+
};
|
|
1618
|
+
/**
|
|
1619
|
+
* Principal.agents
|
|
1620
|
+
*/
|
|
1621
|
+
export type Principal$agentsArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1622
|
+
/**
|
|
1623
|
+
* Select specific fields to fetch from the Agent
|
|
1624
|
+
*/
|
|
1625
|
+
select?: Prisma.AgentSelect<ExtArgs> | null;
|
|
1626
|
+
/**
|
|
1627
|
+
* Omit specific fields from the Agent
|
|
1628
|
+
*/
|
|
1629
|
+
omit?: Prisma.AgentOmit<ExtArgs> | null;
|
|
1630
|
+
/**
|
|
1631
|
+
* Choose, which related nodes to fetch as well
|
|
1632
|
+
*/
|
|
1633
|
+
include?: Prisma.AgentInclude<ExtArgs> | null;
|
|
1634
|
+
where?: Prisma.AgentWhereInput;
|
|
1635
|
+
orderBy?: Prisma.AgentOrderByWithRelationInput | Prisma.AgentOrderByWithRelationInput[];
|
|
1636
|
+
cursor?: Prisma.AgentWhereUniqueInput;
|
|
1637
|
+
take?: number;
|
|
1638
|
+
skip?: number;
|
|
1639
|
+
distinct?: Prisma.AgentScalarFieldEnum | Prisma.AgentScalarFieldEnum[];
|
|
1640
|
+
};
|
|
1641
|
+
/**
|
|
1642
|
+
* Principal.tools
|
|
1643
|
+
*/
|
|
1644
|
+
export type Principal$toolsArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1645
|
+
/**
|
|
1646
|
+
* Select specific fields to fetch from the Tool
|
|
1647
|
+
*/
|
|
1648
|
+
select?: Prisma.ToolSelect<ExtArgs> | null;
|
|
1649
|
+
/**
|
|
1650
|
+
* Omit specific fields from the Tool
|
|
1651
|
+
*/
|
|
1652
|
+
omit?: Prisma.ToolOmit<ExtArgs> | null;
|
|
1653
|
+
/**
|
|
1654
|
+
* Choose, which related nodes to fetch as well
|
|
1655
|
+
*/
|
|
1656
|
+
include?: Prisma.ToolInclude<ExtArgs> | null;
|
|
1657
|
+
where?: Prisma.ToolWhereInput;
|
|
1658
|
+
orderBy?: Prisma.ToolOrderByWithRelationInput | Prisma.ToolOrderByWithRelationInput[];
|
|
1659
|
+
cursor?: Prisma.ToolWhereUniqueInput;
|
|
1660
|
+
take?: number;
|
|
1661
|
+
skip?: number;
|
|
1662
|
+
distinct?: Prisma.ToolScalarFieldEnum | Prisma.ToolScalarFieldEnum[];
|
|
1663
|
+
};
|
|
1664
|
+
/**
|
|
1665
|
+
* Principal.secrets
|
|
1666
|
+
*/
|
|
1667
|
+
export type Principal$secretsArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1668
|
+
/**
|
|
1669
|
+
* Select specific fields to fetch from the Secret
|
|
1670
|
+
*/
|
|
1671
|
+
select?: Prisma.SecretSelect<ExtArgs> | null;
|
|
1672
|
+
/**
|
|
1673
|
+
* Omit specific fields from the Secret
|
|
1674
|
+
*/
|
|
1675
|
+
omit?: Prisma.SecretOmit<ExtArgs> | null;
|
|
1676
|
+
/**
|
|
1677
|
+
* Choose, which related nodes to fetch as well
|
|
1678
|
+
*/
|
|
1679
|
+
include?: Prisma.SecretInclude<ExtArgs> | null;
|
|
1680
|
+
where?: Prisma.SecretWhereInput;
|
|
1681
|
+
orderBy?: Prisma.SecretOrderByWithRelationInput | Prisma.SecretOrderByWithRelationInput[];
|
|
1682
|
+
cursor?: Prisma.SecretWhereUniqueInput;
|
|
1683
|
+
take?: number;
|
|
1684
|
+
skip?: number;
|
|
1685
|
+
distinct?: Prisma.SecretScalarFieldEnum | Prisma.SecretScalarFieldEnum[];
|
|
1686
|
+
};
|
|
1687
|
+
/**
|
|
1688
|
+
* Principal.datastores
|
|
1689
|
+
*/
|
|
1690
|
+
export type Principal$datastoresArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1691
|
+
/**
|
|
1692
|
+
* Select specific fields to fetch from the Datastore
|
|
1693
|
+
*/
|
|
1694
|
+
select?: Prisma.DatastoreSelect<ExtArgs> | null;
|
|
1695
|
+
/**
|
|
1696
|
+
* Omit specific fields from the Datastore
|
|
1697
|
+
*/
|
|
1698
|
+
omit?: Prisma.DatastoreOmit<ExtArgs> | null;
|
|
1699
|
+
/**
|
|
1700
|
+
* Choose, which related nodes to fetch as well
|
|
1701
|
+
*/
|
|
1702
|
+
include?: Prisma.DatastoreInclude<ExtArgs> | null;
|
|
1703
|
+
where?: Prisma.DatastoreWhereInput;
|
|
1704
|
+
orderBy?: Prisma.DatastoreOrderByWithRelationInput | Prisma.DatastoreOrderByWithRelationInput[];
|
|
1705
|
+
cursor?: Prisma.DatastoreWhereUniqueInput;
|
|
1706
|
+
take?: number;
|
|
1707
|
+
skip?: number;
|
|
1708
|
+
distinct?: Prisma.DatastoreScalarFieldEnum | Prisma.DatastoreScalarFieldEnum[];
|
|
1709
|
+
};
|
|
1710
|
+
/**
|
|
1711
|
+
* Principal.webhooks
|
|
1712
|
+
*/
|
|
1713
|
+
export type Principal$webhooksArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1714
|
+
/**
|
|
1715
|
+
* Select specific fields to fetch from the Webhook
|
|
1716
|
+
*/
|
|
1717
|
+
select?: Prisma.WebhookSelect<ExtArgs> | null;
|
|
1718
|
+
/**
|
|
1719
|
+
* Omit specific fields from the Webhook
|
|
1720
|
+
*/
|
|
1721
|
+
omit?: Prisma.WebhookOmit<ExtArgs> | null;
|
|
1722
|
+
/**
|
|
1723
|
+
* Choose, which related nodes to fetch as well
|
|
1724
|
+
*/
|
|
1725
|
+
include?: Prisma.WebhookInclude<ExtArgs> | null;
|
|
1726
|
+
where?: Prisma.WebhookWhereInput;
|
|
1727
|
+
orderBy?: Prisma.WebhookOrderByWithRelationInput | Prisma.WebhookOrderByWithRelationInput[];
|
|
1728
|
+
cursor?: Prisma.WebhookWhereUniqueInput;
|
|
1729
|
+
take?: number;
|
|
1730
|
+
skip?: number;
|
|
1731
|
+
distinct?: Prisma.WebhookScalarFieldEnum | Prisma.WebhookScalarFieldEnum[];
|
|
1732
|
+
};
|
|
1733
|
+
/**
|
|
1734
|
+
* Principal.authUser
|
|
1735
|
+
*/
|
|
1736
|
+
export type Principal$authUserArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1737
|
+
/**
|
|
1738
|
+
* Select specific fields to fetch from the AuthUser
|
|
1739
|
+
*/
|
|
1740
|
+
select?: Prisma.AuthUserSelect<ExtArgs> | null;
|
|
1741
|
+
/**
|
|
1742
|
+
* Omit specific fields from the AuthUser
|
|
1743
|
+
*/
|
|
1744
|
+
omit?: Prisma.AuthUserOmit<ExtArgs> | null;
|
|
1745
|
+
/**
|
|
1746
|
+
* Choose, which related nodes to fetch as well
|
|
1747
|
+
*/
|
|
1748
|
+
include?: Prisma.AuthUserInclude<ExtArgs> | null;
|
|
1749
|
+
where?: Prisma.AuthUserWhereInput;
|
|
1750
|
+
};
|
|
1751
|
+
/**
|
|
1752
|
+
* Principal.budgetGroups
|
|
1753
|
+
*/
|
|
1754
|
+
export type Principal$budgetGroupsArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1755
|
+
/**
|
|
1756
|
+
* Select specific fields to fetch from the BudgetGroup
|
|
1757
|
+
*/
|
|
1758
|
+
select?: Prisma.BudgetGroupSelect<ExtArgs> | null;
|
|
1759
|
+
/**
|
|
1760
|
+
* Omit specific fields from the BudgetGroup
|
|
1761
|
+
*/
|
|
1762
|
+
omit?: Prisma.BudgetGroupOmit<ExtArgs> | null;
|
|
1763
|
+
/**
|
|
1764
|
+
* Choose, which related nodes to fetch as well
|
|
1765
|
+
*/
|
|
1766
|
+
include?: Prisma.BudgetGroupInclude<ExtArgs> | null;
|
|
1767
|
+
where?: Prisma.BudgetGroupWhereInput;
|
|
1768
|
+
orderBy?: Prisma.BudgetGroupOrderByWithRelationInput | Prisma.BudgetGroupOrderByWithRelationInput[];
|
|
1769
|
+
cursor?: Prisma.BudgetGroupWhereUniqueInput;
|
|
1770
|
+
take?: number;
|
|
1771
|
+
skip?: number;
|
|
1772
|
+
distinct?: Prisma.BudgetGroupScalarFieldEnum | Prisma.BudgetGroupScalarFieldEnum[];
|
|
1773
|
+
};
|
|
1774
|
+
/**
|
|
1775
|
+
* Principal without action
|
|
1776
|
+
*/
|
|
1777
|
+
export type PrincipalDefaultArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1778
|
+
/**
|
|
1779
|
+
* Select specific fields to fetch from the Principal
|
|
1780
|
+
*/
|
|
1781
|
+
select?: Prisma.PrincipalSelect<ExtArgs> | null;
|
|
1782
|
+
/**
|
|
1783
|
+
* Omit specific fields from the Principal
|
|
1784
|
+
*/
|
|
1785
|
+
omit?: Prisma.PrincipalOmit<ExtArgs> | null;
|
|
1786
|
+
/**
|
|
1787
|
+
* Choose, which related nodes to fetch as well
|
|
1788
|
+
*/
|
|
1789
|
+
include?: Prisma.PrincipalInclude<ExtArgs> | null;
|
|
1790
|
+
};
|