@triskcraft/db 0.1.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +45 -0
- package/dist/generated/browser.d.ts +110 -0
- package/dist/generated/browser.d.ts.map +1 -0
- package/dist/generated/browser.js +18 -0
- package/dist/generated/browser.js.map +1 -0
- package/dist/generated/client.d.ts +129 -0
- package/dist/generated/client.d.ts.map +1 -0
- package/dist/generated/client.js +35 -0
- package/dist/generated/client.js.map +1 -0
- package/dist/generated/commonInputTypes.d.ts +501 -0
- package/dist/generated/commonInputTypes.d.ts.map +1 -0
- package/dist/generated/commonInputTypes.js +11 -0
- package/dist/generated/commonInputTypes.js.map +1 -0
- package/dist/generated/enums.d.ts +19 -0
- package/dist/generated/enums.d.ts.map +1 -0
- package/dist/generated/enums.js +25 -0
- package/dist/generated/enums.js.map +1 -0
- package/dist/generated/internal/class.d.ts +363 -0
- package/dist/generated/internal/class.d.ts.map +1 -0
- package/dist/generated/internal/class.js +52 -0
- package/dist/generated/internal/class.js.map +1 -0
- package/dist/generated/internal/prismaNamespace.d.ts +2282 -0
- package/dist/generated/internal/prismaNamespace.d.ts.map +1 -0
- package/dist/generated/internal/prismaNamespace.js +262 -0
- package/dist/generated/internal/prismaNamespace.js.map +1 -0
- package/dist/generated/internal/prismaNamespaceBrowser.d.ts +243 -0
- package/dist/generated/internal/prismaNamespaceBrowser.d.ts.map +1 -0
- package/dist/generated/internal/prismaNamespaceBrowser.js +233 -0
- package/dist/generated/internal/prismaNamespaceBrowser.js.map +1 -0
- package/dist/generated/models/AuthorizationCode.d.ts +1445 -0
- package/dist/generated/models/AuthorizationCode.d.ts.map +1 -0
- package/dist/generated/models/AuthorizationCode.js +2 -0
- package/dist/generated/models/AuthorizationCode.js.map +1 -0
- package/dist/generated/models/Client.d.ts +1301 -0
- package/dist/generated/models/Client.d.ts.map +1 -0
- package/dist/generated/models/Client.js +2 -0
- package/dist/generated/models/Client.js.map +1 -0
- package/dist/generated/models/DiscordUser.d.ts +1335 -0
- package/dist/generated/models/DiscordUser.d.ts.map +1 -0
- package/dist/generated/models/DiscordUser.js +2 -0
- package/dist/generated/models/DiscordUser.js.map +1 -0
- package/dist/generated/models/InactivityPeriod.d.ts +1255 -0
- package/dist/generated/models/InactivityPeriod.d.ts.map +1 -0
- package/dist/generated/models/InactivityPeriod.js +2 -0
- package/dist/generated/models/InactivityPeriod.js.map +1 -0
- package/dist/generated/models/LinkCode.d.ts +1100 -0
- package/dist/generated/models/LinkCode.d.ts.map +1 -0
- package/dist/generated/models/LinkCode.js +2 -0
- package/dist/generated/models/LinkCode.js.map +1 -0
- package/dist/generated/models/LinkedMinecraftRole.d.ts +1162 -0
- package/dist/generated/models/LinkedMinecraftRole.d.ts.map +1 -0
- package/dist/generated/models/LinkedMinecraftRole.js +2 -0
- package/dist/generated/models/LinkedMinecraftRole.js.map +1 -0
- package/dist/generated/models/LinkedRole.d.ts +1162 -0
- package/dist/generated/models/LinkedRole.d.ts.map +1 -0
- package/dist/generated/models/LinkedRole.js +2 -0
- package/dist/generated/models/LinkedRole.js.map +1 -0
- package/dist/generated/models/Media.d.ts +1146 -0
- package/dist/generated/models/Media.d.ts.map +1 -0
- package/dist/generated/models/Media.js +2 -0
- package/dist/generated/models/Media.js.map +1 -0
- package/dist/generated/models/MinecraftRole.d.ts +1064 -0
- package/dist/generated/models/MinecraftRole.d.ts.map +1 -0
- package/dist/generated/models/MinecraftRole.js +2 -0
- package/dist/generated/models/MinecraftRole.js.map +1 -0
- package/dist/generated/models/Player.d.ts +1458 -0
- package/dist/generated/models/Player.d.ts.map +1 -0
- package/dist/generated/models/Player.js +2 -0
- package/dist/generated/models/Player.js.map +1 -0
- package/dist/generated/models/Post.d.ts +1534 -0
- package/dist/generated/models/Post.d.ts.map +1 -0
- package/dist/generated/models/Post.js +2 -0
- package/dist/generated/models/Post.js.map +1 -0
- package/dist/generated/models/PostBlockMedia.d.ts +1243 -0
- package/dist/generated/models/PostBlockMedia.d.ts.map +1 -0
- package/dist/generated/models/PostBlockMedia.js +2 -0
- package/dist/generated/models/PostBlockMedia.js.map +1 -0
- package/dist/generated/models/PostBlocks.d.ts +1506 -0
- package/dist/generated/models/PostBlocks.d.ts.map +1 -0
- package/dist/generated/models/PostBlocks.js +2 -0
- package/dist/generated/models/PostBlocks.js.map +1 -0
- package/dist/generated/models/PostMedia.d.ts +1497 -0
- package/dist/generated/models/PostMedia.d.ts.map +1 -0
- package/dist/generated/models/PostMedia.js +2 -0
- package/dist/generated/models/PostMedia.js.map +1 -0
- package/dist/generated/models/Role.d.ts +1144 -0
- package/dist/generated/models/Role.d.ts.map +1 -0
- package/dist/generated/models/Role.js +2 -0
- package/dist/generated/models/Role.js.map +1 -0
- package/dist/generated/models/RoleStatistic.d.ts +1077 -0
- package/dist/generated/models/RoleStatistic.d.ts.map +1 -0
- package/dist/generated/models/RoleStatistic.js +2 -0
- package/dist/generated/models/RoleStatistic.js.map +1 -0
- package/dist/generated/models/Session.d.ts +1366 -0
- package/dist/generated/models/Session.d.ts.map +1 -0
- package/dist/generated/models/Session.js +2 -0
- package/dist/generated/models/Session.js.map +1 -0
- package/dist/generated/models/State.d.ts +970 -0
- package/dist/generated/models/State.d.ts.map +1 -0
- package/dist/generated/models/State.js +2 -0
- package/dist/generated/models/State.js.map +1 -0
- package/dist/generated/models/TrackedRole.d.ts +947 -0
- package/dist/generated/models/TrackedRole.d.ts.map +1 -0
- package/dist/generated/models/TrackedRole.js +2 -0
- package/dist/generated/models/TrackedRole.js.map +1 -0
- package/dist/generated/models/User.d.ts +1842 -0
- package/dist/generated/models/User.d.ts.map +1 -0
- package/dist/generated/models/User.js +2 -0
- package/dist/generated/models/User.js.map +1 -0
- package/dist/generated/models/WebhookToken.d.ts +1219 -0
- package/dist/generated/models/WebhookToken.d.ts.map +1 -0
- package/dist/generated/models/WebhookToken.js +2 -0
- package/dist/generated/models/WebhookToken.js.map +1 -0
- package/dist/generated/models.d.ts +23 -0
- package/dist/generated/models.d.ts.map +1 -0
- package/dist/generated/models.js +2 -0
- package/dist/generated/models.js.map +1 -0
- package/dist/index.d.ts +6 -0
- package/dist/index.d.ts.map +1 -0
- package/dist/index.js +15 -0
- package/dist/index.js.map +1 -0
- package/package.json +50 -0
- package/prisma/migrations/20251231000230_init/migration.sql +156 -0
- package/prisma/migrations/20251231011118_add_rank/migration.sql +2 -0
- package/prisma/migrations/20251231014040_discord_code/migration.sql +2 -0
- package/prisma/migrations/20260107232913_webhook_tokens/migration.sql +13 -0
- package/prisma/migrations/20260108014222_token_name/migration.sql +8 -0
- package/prisma/migrations/20260120042444_states/migration.sql +13 -0
- package/prisma/migrations/20260120052250_at/migration.sql +10 -0
- package/prisma/migrations/20260120061112_uq_token/migration.sql +8 -0
- package/prisma/migrations/20260121013517_uq_nick/migration.sql +8 -0
- package/prisma/migrations/20260125034645_mc_rank/migration.sql +2 -0
- package/prisma/migrations/20260202222436_remove_rank_from_discord/migration.sql +8 -0
- package/prisma/migrations/20260202234919_discord_user_username/migration.sql +2 -0
- package/prisma/migrations/20260202235832_uq_discord_username/migration.sql +12 -0
- package/prisma/migrations/20260301230127_blog/migration.sql +45 -0
- package/prisma/migrations/20260308062159_player_status/migration.sql +5 -0
- package/prisma/migrations/20260314152500_last_seen/migration.sql +2 -0
- package/prisma/migrations/20260430073735_oauth_prepare/migration.sql +102 -0
- package/prisma/migrations/20260603052836_scopes/migration.sql +11 -0
- package/prisma/migrations/20260603055719_scopes_sesion/migration.sql +2 -0
- package/prisma/migrations/20260603201228_user_roles/migration.sql +38 -0
- package/prisma/migrations/20260608060633_blog_media/migration.sql +61 -0
- package/prisma/migrations/20260612000040_prepare_post_users/migration.sql +5 -0
- package/prisma/migrations/20260612165923_prepare_webhook_user/migration.sql +53 -0
- package/prisma/migrations/20260612210328_remove_webhook_discord_user/migration.sql +19 -0
- package/prisma/migrations/migration_lock.toml +3 -0
- package/prisma/schema.prisma +325 -0
|
@@ -0,0 +1,1219 @@
|
|
|
1
|
+
import type * as runtime from "@prisma/client/runtime/client";
|
|
2
|
+
import type * as Prisma from "../internal/prismaNamespace.ts";
|
|
3
|
+
/**
|
|
4
|
+
* Model WebhookToken
|
|
5
|
+
*
|
|
6
|
+
*/
|
|
7
|
+
export type WebhookTokenModel = runtime.Types.Result.DefaultSelection<Prisma.$WebhookTokenPayload>;
|
|
8
|
+
export type AggregateWebhookToken = {
|
|
9
|
+
_count: WebhookTokenCountAggregateOutputType | null;
|
|
10
|
+
_min: WebhookTokenMinAggregateOutputType | null;
|
|
11
|
+
_max: WebhookTokenMaxAggregateOutputType | null;
|
|
12
|
+
};
|
|
13
|
+
export type WebhookTokenMinAggregateOutputType = {
|
|
14
|
+
id: string | null;
|
|
15
|
+
name: string | null;
|
|
16
|
+
user_id: string | null;
|
|
17
|
+
secret: string | null;
|
|
18
|
+
created_at: Date | null;
|
|
19
|
+
};
|
|
20
|
+
export type WebhookTokenMaxAggregateOutputType = {
|
|
21
|
+
id: string | null;
|
|
22
|
+
name: string | null;
|
|
23
|
+
user_id: string | null;
|
|
24
|
+
secret: string | null;
|
|
25
|
+
created_at: Date | null;
|
|
26
|
+
};
|
|
27
|
+
export type WebhookTokenCountAggregateOutputType = {
|
|
28
|
+
id: number;
|
|
29
|
+
name: number;
|
|
30
|
+
user_id: number;
|
|
31
|
+
secret: number;
|
|
32
|
+
permissions: number;
|
|
33
|
+
created_at: number;
|
|
34
|
+
_all: number;
|
|
35
|
+
};
|
|
36
|
+
export type WebhookTokenMinAggregateInputType = {
|
|
37
|
+
id?: true;
|
|
38
|
+
name?: true;
|
|
39
|
+
user_id?: true;
|
|
40
|
+
secret?: true;
|
|
41
|
+
created_at?: true;
|
|
42
|
+
};
|
|
43
|
+
export type WebhookTokenMaxAggregateInputType = {
|
|
44
|
+
id?: true;
|
|
45
|
+
name?: true;
|
|
46
|
+
user_id?: true;
|
|
47
|
+
secret?: true;
|
|
48
|
+
created_at?: true;
|
|
49
|
+
};
|
|
50
|
+
export type WebhookTokenCountAggregateInputType = {
|
|
51
|
+
id?: true;
|
|
52
|
+
name?: true;
|
|
53
|
+
user_id?: true;
|
|
54
|
+
secret?: true;
|
|
55
|
+
permissions?: true;
|
|
56
|
+
created_at?: true;
|
|
57
|
+
_all?: true;
|
|
58
|
+
};
|
|
59
|
+
export type WebhookTokenAggregateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
60
|
+
/**
|
|
61
|
+
* Filter which WebhookToken to aggregate.
|
|
62
|
+
*/
|
|
63
|
+
where?: Prisma.WebhookTokenWhereInput;
|
|
64
|
+
/**
|
|
65
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
|
|
66
|
+
*
|
|
67
|
+
* Determine the order of WebhookTokens to fetch.
|
|
68
|
+
*/
|
|
69
|
+
orderBy?: Prisma.WebhookTokenOrderByWithRelationInput | Prisma.WebhookTokenOrderByWithRelationInput[];
|
|
70
|
+
/**
|
|
71
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
|
|
72
|
+
*
|
|
73
|
+
* Sets the start position
|
|
74
|
+
*/
|
|
75
|
+
cursor?: Prisma.WebhookTokenWhereUniqueInput;
|
|
76
|
+
/**
|
|
77
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
78
|
+
*
|
|
79
|
+
* Take `±n` WebhookTokens from the position of the cursor.
|
|
80
|
+
*/
|
|
81
|
+
take?: number;
|
|
82
|
+
/**
|
|
83
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
84
|
+
*
|
|
85
|
+
* Skip the first `n` WebhookTokens.
|
|
86
|
+
*/
|
|
87
|
+
skip?: number;
|
|
88
|
+
/**
|
|
89
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
|
|
90
|
+
*
|
|
91
|
+
* Count returned WebhookTokens
|
|
92
|
+
**/
|
|
93
|
+
_count?: true | WebhookTokenCountAggregateInputType;
|
|
94
|
+
/**
|
|
95
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
|
|
96
|
+
*
|
|
97
|
+
* Select which fields to find the minimum value
|
|
98
|
+
**/
|
|
99
|
+
_min?: WebhookTokenMinAggregateInputType;
|
|
100
|
+
/**
|
|
101
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
|
|
102
|
+
*
|
|
103
|
+
* Select which fields to find the maximum value
|
|
104
|
+
**/
|
|
105
|
+
_max?: WebhookTokenMaxAggregateInputType;
|
|
106
|
+
};
|
|
107
|
+
export type GetWebhookTokenAggregateType<T extends WebhookTokenAggregateArgs> = {
|
|
108
|
+
[P in keyof T & keyof AggregateWebhookToken]: P extends '_count' | 'count' ? T[P] extends true ? number : Prisma.GetScalarType<T[P], AggregateWebhookToken[P]> : Prisma.GetScalarType<T[P], AggregateWebhookToken[P]>;
|
|
109
|
+
};
|
|
110
|
+
export type WebhookTokenGroupByArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
111
|
+
where?: Prisma.WebhookTokenWhereInput;
|
|
112
|
+
orderBy?: Prisma.WebhookTokenOrderByWithAggregationInput | Prisma.WebhookTokenOrderByWithAggregationInput[];
|
|
113
|
+
by: Prisma.WebhookTokenScalarFieldEnum[] | Prisma.WebhookTokenScalarFieldEnum;
|
|
114
|
+
having?: Prisma.WebhookTokenScalarWhereWithAggregatesInput;
|
|
115
|
+
take?: number;
|
|
116
|
+
skip?: number;
|
|
117
|
+
_count?: WebhookTokenCountAggregateInputType | true;
|
|
118
|
+
_min?: WebhookTokenMinAggregateInputType;
|
|
119
|
+
_max?: WebhookTokenMaxAggregateInputType;
|
|
120
|
+
};
|
|
121
|
+
export type WebhookTokenGroupByOutputType = {
|
|
122
|
+
id: string;
|
|
123
|
+
name: string;
|
|
124
|
+
user_id: string;
|
|
125
|
+
secret: string;
|
|
126
|
+
permissions: string[];
|
|
127
|
+
created_at: Date;
|
|
128
|
+
_count: WebhookTokenCountAggregateOutputType | null;
|
|
129
|
+
_min: WebhookTokenMinAggregateOutputType | null;
|
|
130
|
+
_max: WebhookTokenMaxAggregateOutputType | null;
|
|
131
|
+
};
|
|
132
|
+
export type GetWebhookTokenGroupByPayload<T extends WebhookTokenGroupByArgs> = Prisma.PrismaPromise<Array<Prisma.PickEnumerable<WebhookTokenGroupByOutputType, T['by']> & {
|
|
133
|
+
[P in ((keyof T) & (keyof WebhookTokenGroupByOutputType))]: P extends '_count' ? T[P] extends boolean ? number : Prisma.GetScalarType<T[P], WebhookTokenGroupByOutputType[P]> : Prisma.GetScalarType<T[P], WebhookTokenGroupByOutputType[P]>;
|
|
134
|
+
}>>;
|
|
135
|
+
export type WebhookTokenWhereInput = {
|
|
136
|
+
AND?: Prisma.WebhookTokenWhereInput | Prisma.WebhookTokenWhereInput[];
|
|
137
|
+
OR?: Prisma.WebhookTokenWhereInput[];
|
|
138
|
+
NOT?: Prisma.WebhookTokenWhereInput | Prisma.WebhookTokenWhereInput[];
|
|
139
|
+
id?: Prisma.StringFilter<"WebhookToken"> | string;
|
|
140
|
+
name?: Prisma.StringFilter<"WebhookToken"> | string;
|
|
141
|
+
user_id?: Prisma.StringFilter<"WebhookToken"> | string;
|
|
142
|
+
secret?: Prisma.StringFilter<"WebhookToken"> | string;
|
|
143
|
+
permissions?: Prisma.StringNullableListFilter<"WebhookToken">;
|
|
144
|
+
created_at?: Prisma.DateTimeFilter<"WebhookToken"> | Date | string;
|
|
145
|
+
user?: Prisma.XOR<Prisma.UserScalarRelationFilter, Prisma.UserWhereInput>;
|
|
146
|
+
};
|
|
147
|
+
export type WebhookTokenOrderByWithRelationInput = {
|
|
148
|
+
id?: Prisma.SortOrder;
|
|
149
|
+
name?: Prisma.SortOrder;
|
|
150
|
+
user_id?: Prisma.SortOrder;
|
|
151
|
+
secret?: Prisma.SortOrder;
|
|
152
|
+
permissions?: Prisma.SortOrder;
|
|
153
|
+
created_at?: Prisma.SortOrder;
|
|
154
|
+
user?: Prisma.UserOrderByWithRelationInput;
|
|
155
|
+
};
|
|
156
|
+
export type WebhookTokenWhereUniqueInput = Prisma.AtLeast<{
|
|
157
|
+
id?: string;
|
|
158
|
+
name?: string;
|
|
159
|
+
AND?: Prisma.WebhookTokenWhereInput | Prisma.WebhookTokenWhereInput[];
|
|
160
|
+
OR?: Prisma.WebhookTokenWhereInput[];
|
|
161
|
+
NOT?: Prisma.WebhookTokenWhereInput | Prisma.WebhookTokenWhereInput[];
|
|
162
|
+
user_id?: Prisma.StringFilter<"WebhookToken"> | string;
|
|
163
|
+
secret?: Prisma.StringFilter<"WebhookToken"> | string;
|
|
164
|
+
permissions?: Prisma.StringNullableListFilter<"WebhookToken">;
|
|
165
|
+
created_at?: Prisma.DateTimeFilter<"WebhookToken"> | Date | string;
|
|
166
|
+
user?: Prisma.XOR<Prisma.UserScalarRelationFilter, Prisma.UserWhereInput>;
|
|
167
|
+
}, "id" | "name">;
|
|
168
|
+
export type WebhookTokenOrderByWithAggregationInput = {
|
|
169
|
+
id?: Prisma.SortOrder;
|
|
170
|
+
name?: Prisma.SortOrder;
|
|
171
|
+
user_id?: Prisma.SortOrder;
|
|
172
|
+
secret?: Prisma.SortOrder;
|
|
173
|
+
permissions?: Prisma.SortOrder;
|
|
174
|
+
created_at?: Prisma.SortOrder;
|
|
175
|
+
_count?: Prisma.WebhookTokenCountOrderByAggregateInput;
|
|
176
|
+
_max?: Prisma.WebhookTokenMaxOrderByAggregateInput;
|
|
177
|
+
_min?: Prisma.WebhookTokenMinOrderByAggregateInput;
|
|
178
|
+
};
|
|
179
|
+
export type WebhookTokenScalarWhereWithAggregatesInput = {
|
|
180
|
+
AND?: Prisma.WebhookTokenScalarWhereWithAggregatesInput | Prisma.WebhookTokenScalarWhereWithAggregatesInput[];
|
|
181
|
+
OR?: Prisma.WebhookTokenScalarWhereWithAggregatesInput[];
|
|
182
|
+
NOT?: Prisma.WebhookTokenScalarWhereWithAggregatesInput | Prisma.WebhookTokenScalarWhereWithAggregatesInput[];
|
|
183
|
+
id?: Prisma.StringWithAggregatesFilter<"WebhookToken"> | string;
|
|
184
|
+
name?: Prisma.StringWithAggregatesFilter<"WebhookToken"> | string;
|
|
185
|
+
user_id?: Prisma.StringWithAggregatesFilter<"WebhookToken"> | string;
|
|
186
|
+
secret?: Prisma.StringWithAggregatesFilter<"WebhookToken"> | string;
|
|
187
|
+
permissions?: Prisma.StringNullableListFilter<"WebhookToken">;
|
|
188
|
+
created_at?: Prisma.DateTimeWithAggregatesFilter<"WebhookToken"> | Date | string;
|
|
189
|
+
};
|
|
190
|
+
export type WebhookTokenCreateInput = {
|
|
191
|
+
id?: string;
|
|
192
|
+
name: string;
|
|
193
|
+
secret: string;
|
|
194
|
+
permissions?: Prisma.WebhookTokenCreatepermissionsInput | string[];
|
|
195
|
+
created_at?: Date | string;
|
|
196
|
+
user: Prisma.UserCreateNestedOneWithoutWebhook_tokensInput;
|
|
197
|
+
};
|
|
198
|
+
export type WebhookTokenUncheckedCreateInput = {
|
|
199
|
+
id?: string;
|
|
200
|
+
name: string;
|
|
201
|
+
user_id: string;
|
|
202
|
+
secret: string;
|
|
203
|
+
permissions?: Prisma.WebhookTokenCreatepermissionsInput | string[];
|
|
204
|
+
created_at?: Date | string;
|
|
205
|
+
};
|
|
206
|
+
export type WebhookTokenUpdateInput = {
|
|
207
|
+
id?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
208
|
+
name?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
209
|
+
secret?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
210
|
+
permissions?: Prisma.WebhookTokenUpdatepermissionsInput | string[];
|
|
211
|
+
created_at?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
212
|
+
user?: Prisma.UserUpdateOneRequiredWithoutWebhook_tokensNestedInput;
|
|
213
|
+
};
|
|
214
|
+
export type WebhookTokenUncheckedUpdateInput = {
|
|
215
|
+
id?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
216
|
+
name?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
217
|
+
user_id?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
218
|
+
secret?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
219
|
+
permissions?: Prisma.WebhookTokenUpdatepermissionsInput | string[];
|
|
220
|
+
created_at?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
221
|
+
};
|
|
222
|
+
export type WebhookTokenCreateManyInput = {
|
|
223
|
+
id?: string;
|
|
224
|
+
name: string;
|
|
225
|
+
user_id: string;
|
|
226
|
+
secret: string;
|
|
227
|
+
permissions?: Prisma.WebhookTokenCreatepermissionsInput | string[];
|
|
228
|
+
created_at?: Date | string;
|
|
229
|
+
};
|
|
230
|
+
export type WebhookTokenUpdateManyMutationInput = {
|
|
231
|
+
id?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
232
|
+
name?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
233
|
+
secret?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
234
|
+
permissions?: Prisma.WebhookTokenUpdatepermissionsInput | string[];
|
|
235
|
+
created_at?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
236
|
+
};
|
|
237
|
+
export type WebhookTokenUncheckedUpdateManyInput = {
|
|
238
|
+
id?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
239
|
+
name?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
240
|
+
user_id?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
241
|
+
secret?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
242
|
+
permissions?: Prisma.WebhookTokenUpdatepermissionsInput | string[];
|
|
243
|
+
created_at?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
244
|
+
};
|
|
245
|
+
export type StringNullableListFilter<$PrismaModel = never> = {
|
|
246
|
+
equals?: string[] | Prisma.ListStringFieldRefInput<$PrismaModel> | null;
|
|
247
|
+
has?: string | Prisma.StringFieldRefInput<$PrismaModel> | null;
|
|
248
|
+
hasEvery?: string[] | Prisma.ListStringFieldRefInput<$PrismaModel>;
|
|
249
|
+
hasSome?: string[] | Prisma.ListStringFieldRefInput<$PrismaModel>;
|
|
250
|
+
isEmpty?: boolean;
|
|
251
|
+
};
|
|
252
|
+
export type WebhookTokenCountOrderByAggregateInput = {
|
|
253
|
+
id?: Prisma.SortOrder;
|
|
254
|
+
name?: Prisma.SortOrder;
|
|
255
|
+
user_id?: Prisma.SortOrder;
|
|
256
|
+
secret?: Prisma.SortOrder;
|
|
257
|
+
permissions?: Prisma.SortOrder;
|
|
258
|
+
created_at?: Prisma.SortOrder;
|
|
259
|
+
};
|
|
260
|
+
export type WebhookTokenMaxOrderByAggregateInput = {
|
|
261
|
+
id?: Prisma.SortOrder;
|
|
262
|
+
name?: Prisma.SortOrder;
|
|
263
|
+
user_id?: Prisma.SortOrder;
|
|
264
|
+
secret?: Prisma.SortOrder;
|
|
265
|
+
created_at?: Prisma.SortOrder;
|
|
266
|
+
};
|
|
267
|
+
export type WebhookTokenMinOrderByAggregateInput = {
|
|
268
|
+
id?: Prisma.SortOrder;
|
|
269
|
+
name?: Prisma.SortOrder;
|
|
270
|
+
user_id?: Prisma.SortOrder;
|
|
271
|
+
secret?: Prisma.SortOrder;
|
|
272
|
+
created_at?: Prisma.SortOrder;
|
|
273
|
+
};
|
|
274
|
+
export type WebhookTokenListRelationFilter = {
|
|
275
|
+
every?: Prisma.WebhookTokenWhereInput;
|
|
276
|
+
some?: Prisma.WebhookTokenWhereInput;
|
|
277
|
+
none?: Prisma.WebhookTokenWhereInput;
|
|
278
|
+
};
|
|
279
|
+
export type WebhookTokenOrderByRelationAggregateInput = {
|
|
280
|
+
_count?: Prisma.SortOrder;
|
|
281
|
+
};
|
|
282
|
+
export type WebhookTokenCreatepermissionsInput = {
|
|
283
|
+
set: string[];
|
|
284
|
+
};
|
|
285
|
+
export type WebhookTokenUpdatepermissionsInput = {
|
|
286
|
+
set?: string[];
|
|
287
|
+
push?: string | string[];
|
|
288
|
+
};
|
|
289
|
+
export type WebhookTokenCreateNestedManyWithoutUserInput = {
|
|
290
|
+
create?: Prisma.XOR<Prisma.WebhookTokenCreateWithoutUserInput, Prisma.WebhookTokenUncheckedCreateWithoutUserInput> | Prisma.WebhookTokenCreateWithoutUserInput[] | Prisma.WebhookTokenUncheckedCreateWithoutUserInput[];
|
|
291
|
+
connectOrCreate?: Prisma.WebhookTokenCreateOrConnectWithoutUserInput | Prisma.WebhookTokenCreateOrConnectWithoutUserInput[];
|
|
292
|
+
createMany?: Prisma.WebhookTokenCreateManyUserInputEnvelope;
|
|
293
|
+
connect?: Prisma.WebhookTokenWhereUniqueInput | Prisma.WebhookTokenWhereUniqueInput[];
|
|
294
|
+
};
|
|
295
|
+
export type WebhookTokenUncheckedCreateNestedManyWithoutUserInput = {
|
|
296
|
+
create?: Prisma.XOR<Prisma.WebhookTokenCreateWithoutUserInput, Prisma.WebhookTokenUncheckedCreateWithoutUserInput> | Prisma.WebhookTokenCreateWithoutUserInput[] | Prisma.WebhookTokenUncheckedCreateWithoutUserInput[];
|
|
297
|
+
connectOrCreate?: Prisma.WebhookTokenCreateOrConnectWithoutUserInput | Prisma.WebhookTokenCreateOrConnectWithoutUserInput[];
|
|
298
|
+
createMany?: Prisma.WebhookTokenCreateManyUserInputEnvelope;
|
|
299
|
+
connect?: Prisma.WebhookTokenWhereUniqueInput | Prisma.WebhookTokenWhereUniqueInput[];
|
|
300
|
+
};
|
|
301
|
+
export type WebhookTokenUpdateManyWithoutUserNestedInput = {
|
|
302
|
+
create?: Prisma.XOR<Prisma.WebhookTokenCreateWithoutUserInput, Prisma.WebhookTokenUncheckedCreateWithoutUserInput> | Prisma.WebhookTokenCreateWithoutUserInput[] | Prisma.WebhookTokenUncheckedCreateWithoutUserInput[];
|
|
303
|
+
connectOrCreate?: Prisma.WebhookTokenCreateOrConnectWithoutUserInput | Prisma.WebhookTokenCreateOrConnectWithoutUserInput[];
|
|
304
|
+
upsert?: Prisma.WebhookTokenUpsertWithWhereUniqueWithoutUserInput | Prisma.WebhookTokenUpsertWithWhereUniqueWithoutUserInput[];
|
|
305
|
+
createMany?: Prisma.WebhookTokenCreateManyUserInputEnvelope;
|
|
306
|
+
set?: Prisma.WebhookTokenWhereUniqueInput | Prisma.WebhookTokenWhereUniqueInput[];
|
|
307
|
+
disconnect?: Prisma.WebhookTokenWhereUniqueInput | Prisma.WebhookTokenWhereUniqueInput[];
|
|
308
|
+
delete?: Prisma.WebhookTokenWhereUniqueInput | Prisma.WebhookTokenWhereUniqueInput[];
|
|
309
|
+
connect?: Prisma.WebhookTokenWhereUniqueInput | Prisma.WebhookTokenWhereUniqueInput[];
|
|
310
|
+
update?: Prisma.WebhookTokenUpdateWithWhereUniqueWithoutUserInput | Prisma.WebhookTokenUpdateWithWhereUniqueWithoutUserInput[];
|
|
311
|
+
updateMany?: Prisma.WebhookTokenUpdateManyWithWhereWithoutUserInput | Prisma.WebhookTokenUpdateManyWithWhereWithoutUserInput[];
|
|
312
|
+
deleteMany?: Prisma.WebhookTokenScalarWhereInput | Prisma.WebhookTokenScalarWhereInput[];
|
|
313
|
+
};
|
|
314
|
+
export type WebhookTokenUncheckedUpdateManyWithoutUserNestedInput = {
|
|
315
|
+
create?: Prisma.XOR<Prisma.WebhookTokenCreateWithoutUserInput, Prisma.WebhookTokenUncheckedCreateWithoutUserInput> | Prisma.WebhookTokenCreateWithoutUserInput[] | Prisma.WebhookTokenUncheckedCreateWithoutUserInput[];
|
|
316
|
+
connectOrCreate?: Prisma.WebhookTokenCreateOrConnectWithoutUserInput | Prisma.WebhookTokenCreateOrConnectWithoutUserInput[];
|
|
317
|
+
upsert?: Prisma.WebhookTokenUpsertWithWhereUniqueWithoutUserInput | Prisma.WebhookTokenUpsertWithWhereUniqueWithoutUserInput[];
|
|
318
|
+
createMany?: Prisma.WebhookTokenCreateManyUserInputEnvelope;
|
|
319
|
+
set?: Prisma.WebhookTokenWhereUniqueInput | Prisma.WebhookTokenWhereUniqueInput[];
|
|
320
|
+
disconnect?: Prisma.WebhookTokenWhereUniqueInput | Prisma.WebhookTokenWhereUniqueInput[];
|
|
321
|
+
delete?: Prisma.WebhookTokenWhereUniqueInput | Prisma.WebhookTokenWhereUniqueInput[];
|
|
322
|
+
connect?: Prisma.WebhookTokenWhereUniqueInput | Prisma.WebhookTokenWhereUniqueInput[];
|
|
323
|
+
update?: Prisma.WebhookTokenUpdateWithWhereUniqueWithoutUserInput | Prisma.WebhookTokenUpdateWithWhereUniqueWithoutUserInput[];
|
|
324
|
+
updateMany?: Prisma.WebhookTokenUpdateManyWithWhereWithoutUserInput | Prisma.WebhookTokenUpdateManyWithWhereWithoutUserInput[];
|
|
325
|
+
deleteMany?: Prisma.WebhookTokenScalarWhereInput | Prisma.WebhookTokenScalarWhereInput[];
|
|
326
|
+
};
|
|
327
|
+
export type WebhookTokenCreateWithoutUserInput = {
|
|
328
|
+
id?: string;
|
|
329
|
+
name: string;
|
|
330
|
+
secret: string;
|
|
331
|
+
permissions?: Prisma.WebhookTokenCreatepermissionsInput | string[];
|
|
332
|
+
created_at?: Date | string;
|
|
333
|
+
};
|
|
334
|
+
export type WebhookTokenUncheckedCreateWithoutUserInput = {
|
|
335
|
+
id?: string;
|
|
336
|
+
name: string;
|
|
337
|
+
secret: string;
|
|
338
|
+
permissions?: Prisma.WebhookTokenCreatepermissionsInput | string[];
|
|
339
|
+
created_at?: Date | string;
|
|
340
|
+
};
|
|
341
|
+
export type WebhookTokenCreateOrConnectWithoutUserInput = {
|
|
342
|
+
where: Prisma.WebhookTokenWhereUniqueInput;
|
|
343
|
+
create: Prisma.XOR<Prisma.WebhookTokenCreateWithoutUserInput, Prisma.WebhookTokenUncheckedCreateWithoutUserInput>;
|
|
344
|
+
};
|
|
345
|
+
export type WebhookTokenCreateManyUserInputEnvelope = {
|
|
346
|
+
data: Prisma.WebhookTokenCreateManyUserInput | Prisma.WebhookTokenCreateManyUserInput[];
|
|
347
|
+
skipDuplicates?: boolean;
|
|
348
|
+
};
|
|
349
|
+
export type WebhookTokenUpsertWithWhereUniqueWithoutUserInput = {
|
|
350
|
+
where: Prisma.WebhookTokenWhereUniqueInput;
|
|
351
|
+
update: Prisma.XOR<Prisma.WebhookTokenUpdateWithoutUserInput, Prisma.WebhookTokenUncheckedUpdateWithoutUserInput>;
|
|
352
|
+
create: Prisma.XOR<Prisma.WebhookTokenCreateWithoutUserInput, Prisma.WebhookTokenUncheckedCreateWithoutUserInput>;
|
|
353
|
+
};
|
|
354
|
+
export type WebhookTokenUpdateWithWhereUniqueWithoutUserInput = {
|
|
355
|
+
where: Prisma.WebhookTokenWhereUniqueInput;
|
|
356
|
+
data: Prisma.XOR<Prisma.WebhookTokenUpdateWithoutUserInput, Prisma.WebhookTokenUncheckedUpdateWithoutUserInput>;
|
|
357
|
+
};
|
|
358
|
+
export type WebhookTokenUpdateManyWithWhereWithoutUserInput = {
|
|
359
|
+
where: Prisma.WebhookTokenScalarWhereInput;
|
|
360
|
+
data: Prisma.XOR<Prisma.WebhookTokenUpdateManyMutationInput, Prisma.WebhookTokenUncheckedUpdateManyWithoutUserInput>;
|
|
361
|
+
};
|
|
362
|
+
export type WebhookTokenScalarWhereInput = {
|
|
363
|
+
AND?: Prisma.WebhookTokenScalarWhereInput | Prisma.WebhookTokenScalarWhereInput[];
|
|
364
|
+
OR?: Prisma.WebhookTokenScalarWhereInput[];
|
|
365
|
+
NOT?: Prisma.WebhookTokenScalarWhereInput | Prisma.WebhookTokenScalarWhereInput[];
|
|
366
|
+
id?: Prisma.StringFilter<"WebhookToken"> | string;
|
|
367
|
+
name?: Prisma.StringFilter<"WebhookToken"> | string;
|
|
368
|
+
user_id?: Prisma.StringFilter<"WebhookToken"> | string;
|
|
369
|
+
secret?: Prisma.StringFilter<"WebhookToken"> | string;
|
|
370
|
+
permissions?: Prisma.StringNullableListFilter<"WebhookToken">;
|
|
371
|
+
created_at?: Prisma.DateTimeFilter<"WebhookToken"> | Date | string;
|
|
372
|
+
};
|
|
373
|
+
export type WebhookTokenCreateManyUserInput = {
|
|
374
|
+
id?: string;
|
|
375
|
+
name: string;
|
|
376
|
+
secret: string;
|
|
377
|
+
permissions?: Prisma.WebhookTokenCreatepermissionsInput | string[];
|
|
378
|
+
created_at?: Date | string;
|
|
379
|
+
};
|
|
380
|
+
export type WebhookTokenUpdateWithoutUserInput = {
|
|
381
|
+
id?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
382
|
+
name?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
383
|
+
secret?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
384
|
+
permissions?: Prisma.WebhookTokenUpdatepermissionsInput | string[];
|
|
385
|
+
created_at?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
386
|
+
};
|
|
387
|
+
export type WebhookTokenUncheckedUpdateWithoutUserInput = {
|
|
388
|
+
id?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
389
|
+
name?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
390
|
+
secret?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
391
|
+
permissions?: Prisma.WebhookTokenUpdatepermissionsInput | string[];
|
|
392
|
+
created_at?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
393
|
+
};
|
|
394
|
+
export type WebhookTokenUncheckedUpdateManyWithoutUserInput = {
|
|
395
|
+
id?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
396
|
+
name?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
397
|
+
secret?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
398
|
+
permissions?: Prisma.WebhookTokenUpdatepermissionsInput | string[];
|
|
399
|
+
created_at?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
400
|
+
};
|
|
401
|
+
export type WebhookTokenSelect<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetSelect<{
|
|
402
|
+
id?: boolean;
|
|
403
|
+
name?: boolean;
|
|
404
|
+
user_id?: boolean;
|
|
405
|
+
secret?: boolean;
|
|
406
|
+
permissions?: boolean;
|
|
407
|
+
created_at?: boolean;
|
|
408
|
+
user?: boolean | Prisma.UserDefaultArgs<ExtArgs>;
|
|
409
|
+
}, ExtArgs["result"]["webhookToken"]>;
|
|
410
|
+
export type WebhookTokenSelectCreateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetSelect<{
|
|
411
|
+
id?: boolean;
|
|
412
|
+
name?: boolean;
|
|
413
|
+
user_id?: boolean;
|
|
414
|
+
secret?: boolean;
|
|
415
|
+
permissions?: boolean;
|
|
416
|
+
created_at?: boolean;
|
|
417
|
+
user?: boolean | Prisma.UserDefaultArgs<ExtArgs>;
|
|
418
|
+
}, ExtArgs["result"]["webhookToken"]>;
|
|
419
|
+
export type WebhookTokenSelectUpdateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetSelect<{
|
|
420
|
+
id?: boolean;
|
|
421
|
+
name?: boolean;
|
|
422
|
+
user_id?: boolean;
|
|
423
|
+
secret?: boolean;
|
|
424
|
+
permissions?: boolean;
|
|
425
|
+
created_at?: boolean;
|
|
426
|
+
user?: boolean | Prisma.UserDefaultArgs<ExtArgs>;
|
|
427
|
+
}, ExtArgs["result"]["webhookToken"]>;
|
|
428
|
+
export type WebhookTokenSelectScalar = {
|
|
429
|
+
id?: boolean;
|
|
430
|
+
name?: boolean;
|
|
431
|
+
user_id?: boolean;
|
|
432
|
+
secret?: boolean;
|
|
433
|
+
permissions?: boolean;
|
|
434
|
+
created_at?: boolean;
|
|
435
|
+
};
|
|
436
|
+
export type WebhookTokenOmit<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetOmit<"id" | "name" | "user_id" | "secret" | "permissions" | "created_at", ExtArgs["result"]["webhookToken"]>;
|
|
437
|
+
export type WebhookTokenInclude<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
438
|
+
user?: boolean | Prisma.UserDefaultArgs<ExtArgs>;
|
|
439
|
+
};
|
|
440
|
+
export type WebhookTokenIncludeCreateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
441
|
+
user?: boolean | Prisma.UserDefaultArgs<ExtArgs>;
|
|
442
|
+
};
|
|
443
|
+
export type WebhookTokenIncludeUpdateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
444
|
+
user?: boolean | Prisma.UserDefaultArgs<ExtArgs>;
|
|
445
|
+
};
|
|
446
|
+
export type $WebhookTokenPayload<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
447
|
+
name: "WebhookToken";
|
|
448
|
+
objects: {
|
|
449
|
+
user: Prisma.$UserPayload<ExtArgs>;
|
|
450
|
+
};
|
|
451
|
+
scalars: runtime.Types.Extensions.GetPayloadResult<{
|
|
452
|
+
id: string;
|
|
453
|
+
name: string;
|
|
454
|
+
user_id: string;
|
|
455
|
+
secret: string;
|
|
456
|
+
permissions: string[];
|
|
457
|
+
created_at: Date;
|
|
458
|
+
}, ExtArgs["result"]["webhookToken"]>;
|
|
459
|
+
composites: {};
|
|
460
|
+
};
|
|
461
|
+
export type WebhookTokenGetPayload<S extends boolean | null | undefined | WebhookTokenDefaultArgs> = runtime.Types.Result.GetResult<Prisma.$WebhookTokenPayload, S>;
|
|
462
|
+
export type WebhookTokenCountArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = Omit<WebhookTokenFindManyArgs, 'select' | 'include' | 'distinct' | 'omit'> & {
|
|
463
|
+
select?: WebhookTokenCountAggregateInputType | true;
|
|
464
|
+
};
|
|
465
|
+
export interface WebhookTokenDelegate<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs, GlobalOmitOptions = {}> {
|
|
466
|
+
[K: symbol]: {
|
|
467
|
+
types: Prisma.TypeMap<ExtArgs>['model']['WebhookToken'];
|
|
468
|
+
meta: {
|
|
469
|
+
name: 'WebhookToken';
|
|
470
|
+
};
|
|
471
|
+
};
|
|
472
|
+
/**
|
|
473
|
+
* Find zero or one WebhookToken that matches the filter.
|
|
474
|
+
* @param {WebhookTokenFindUniqueArgs} args - Arguments to find a WebhookToken
|
|
475
|
+
* @example
|
|
476
|
+
* // Get one WebhookToken
|
|
477
|
+
* const webhookToken = await prisma.webhookToken.findUnique({
|
|
478
|
+
* where: {
|
|
479
|
+
* // ... provide filter here
|
|
480
|
+
* }
|
|
481
|
+
* })
|
|
482
|
+
*/
|
|
483
|
+
findUnique<T extends WebhookTokenFindUniqueArgs>(args: Prisma.SelectSubset<T, WebhookTokenFindUniqueArgs<ExtArgs>>): Prisma.Prisma__WebhookTokenClient<runtime.Types.Result.GetResult<Prisma.$WebhookTokenPayload<ExtArgs>, T, "findUnique", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions>;
|
|
484
|
+
/**
|
|
485
|
+
* Find one WebhookToken that matches the filter or throw an error with `error.code='P2025'`
|
|
486
|
+
* if no matches were found.
|
|
487
|
+
* @param {WebhookTokenFindUniqueOrThrowArgs} args - Arguments to find a WebhookToken
|
|
488
|
+
* @example
|
|
489
|
+
* // Get one WebhookToken
|
|
490
|
+
* const webhookToken = await prisma.webhookToken.findUniqueOrThrow({
|
|
491
|
+
* where: {
|
|
492
|
+
* // ... provide filter here
|
|
493
|
+
* }
|
|
494
|
+
* })
|
|
495
|
+
*/
|
|
496
|
+
findUniqueOrThrow<T extends WebhookTokenFindUniqueOrThrowArgs>(args: Prisma.SelectSubset<T, WebhookTokenFindUniqueOrThrowArgs<ExtArgs>>): Prisma.Prisma__WebhookTokenClient<runtime.Types.Result.GetResult<Prisma.$WebhookTokenPayload<ExtArgs>, T, "findUniqueOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>;
|
|
497
|
+
/**
|
|
498
|
+
* Find the first WebhookToken that matches the filter.
|
|
499
|
+
* Note, that providing `undefined` is treated as the value not being there.
|
|
500
|
+
* Read more here: https://pris.ly/d/null-undefined
|
|
501
|
+
* @param {WebhookTokenFindFirstArgs} args - Arguments to find a WebhookToken
|
|
502
|
+
* @example
|
|
503
|
+
* // Get one WebhookToken
|
|
504
|
+
* const webhookToken = await prisma.webhookToken.findFirst({
|
|
505
|
+
* where: {
|
|
506
|
+
* // ... provide filter here
|
|
507
|
+
* }
|
|
508
|
+
* })
|
|
509
|
+
*/
|
|
510
|
+
findFirst<T extends WebhookTokenFindFirstArgs>(args?: Prisma.SelectSubset<T, WebhookTokenFindFirstArgs<ExtArgs>>): Prisma.Prisma__WebhookTokenClient<runtime.Types.Result.GetResult<Prisma.$WebhookTokenPayload<ExtArgs>, T, "findFirst", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions>;
|
|
511
|
+
/**
|
|
512
|
+
* Find the first WebhookToken that matches the filter or
|
|
513
|
+
* throw `PrismaKnownClientError` with `P2025` code if no matches were found.
|
|
514
|
+
* Note, that providing `undefined` is treated as the value not being there.
|
|
515
|
+
* Read more here: https://pris.ly/d/null-undefined
|
|
516
|
+
* @param {WebhookTokenFindFirstOrThrowArgs} args - Arguments to find a WebhookToken
|
|
517
|
+
* @example
|
|
518
|
+
* // Get one WebhookToken
|
|
519
|
+
* const webhookToken = await prisma.webhookToken.findFirstOrThrow({
|
|
520
|
+
* where: {
|
|
521
|
+
* // ... provide filter here
|
|
522
|
+
* }
|
|
523
|
+
* })
|
|
524
|
+
*/
|
|
525
|
+
findFirstOrThrow<T extends WebhookTokenFindFirstOrThrowArgs>(args?: Prisma.SelectSubset<T, WebhookTokenFindFirstOrThrowArgs<ExtArgs>>): Prisma.Prisma__WebhookTokenClient<runtime.Types.Result.GetResult<Prisma.$WebhookTokenPayload<ExtArgs>, T, "findFirstOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>;
|
|
526
|
+
/**
|
|
527
|
+
* Find zero or more WebhookTokens that matches the filter.
|
|
528
|
+
* Note, that providing `undefined` is treated as the value not being there.
|
|
529
|
+
* Read more here: https://pris.ly/d/null-undefined
|
|
530
|
+
* @param {WebhookTokenFindManyArgs} args - Arguments to filter and select certain fields only.
|
|
531
|
+
* @example
|
|
532
|
+
* // Get all WebhookTokens
|
|
533
|
+
* const webhookTokens = await prisma.webhookToken.findMany()
|
|
534
|
+
*
|
|
535
|
+
* // Get first 10 WebhookTokens
|
|
536
|
+
* const webhookTokens = await prisma.webhookToken.findMany({ take: 10 })
|
|
537
|
+
*
|
|
538
|
+
* // Only select the `id`
|
|
539
|
+
* const webhookTokenWithIdOnly = await prisma.webhookToken.findMany({ select: { id: true } })
|
|
540
|
+
*
|
|
541
|
+
*/
|
|
542
|
+
findMany<T extends WebhookTokenFindManyArgs>(args?: Prisma.SelectSubset<T, WebhookTokenFindManyArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$WebhookTokenPayload<ExtArgs>, T, "findMany", GlobalOmitOptions>>;
|
|
543
|
+
/**
|
|
544
|
+
* Create a WebhookToken.
|
|
545
|
+
* @param {WebhookTokenCreateArgs} args - Arguments to create a WebhookToken.
|
|
546
|
+
* @example
|
|
547
|
+
* // Create one WebhookToken
|
|
548
|
+
* const WebhookToken = await prisma.webhookToken.create({
|
|
549
|
+
* data: {
|
|
550
|
+
* // ... data to create a WebhookToken
|
|
551
|
+
* }
|
|
552
|
+
* })
|
|
553
|
+
*
|
|
554
|
+
*/
|
|
555
|
+
create<T extends WebhookTokenCreateArgs>(args: Prisma.SelectSubset<T, WebhookTokenCreateArgs<ExtArgs>>): Prisma.Prisma__WebhookTokenClient<runtime.Types.Result.GetResult<Prisma.$WebhookTokenPayload<ExtArgs>, T, "create", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>;
|
|
556
|
+
/**
|
|
557
|
+
* Create many WebhookTokens.
|
|
558
|
+
* @param {WebhookTokenCreateManyArgs} args - Arguments to create many WebhookTokens.
|
|
559
|
+
* @example
|
|
560
|
+
* // Create many WebhookTokens
|
|
561
|
+
* const webhookToken = await prisma.webhookToken.createMany({
|
|
562
|
+
* data: [
|
|
563
|
+
* // ... provide data here
|
|
564
|
+
* ]
|
|
565
|
+
* })
|
|
566
|
+
*
|
|
567
|
+
*/
|
|
568
|
+
createMany<T extends WebhookTokenCreateManyArgs>(args?: Prisma.SelectSubset<T, WebhookTokenCreateManyArgs<ExtArgs>>): Prisma.PrismaPromise<Prisma.BatchPayload>;
|
|
569
|
+
/**
|
|
570
|
+
* Create many WebhookTokens and returns the data saved in the database.
|
|
571
|
+
* @param {WebhookTokenCreateManyAndReturnArgs} args - Arguments to create many WebhookTokens.
|
|
572
|
+
* @example
|
|
573
|
+
* // Create many WebhookTokens
|
|
574
|
+
* const webhookToken = await prisma.webhookToken.createManyAndReturn({
|
|
575
|
+
* data: [
|
|
576
|
+
* // ... provide data here
|
|
577
|
+
* ]
|
|
578
|
+
* })
|
|
579
|
+
*
|
|
580
|
+
* // Create many WebhookTokens and only return the `id`
|
|
581
|
+
* const webhookTokenWithIdOnly = await prisma.webhookToken.createManyAndReturn({
|
|
582
|
+
* select: { id: true },
|
|
583
|
+
* data: [
|
|
584
|
+
* // ... provide data here
|
|
585
|
+
* ]
|
|
586
|
+
* })
|
|
587
|
+
* Note, that providing `undefined` is treated as the value not being there.
|
|
588
|
+
* Read more here: https://pris.ly/d/null-undefined
|
|
589
|
+
*
|
|
590
|
+
*/
|
|
591
|
+
createManyAndReturn<T extends WebhookTokenCreateManyAndReturnArgs>(args?: Prisma.SelectSubset<T, WebhookTokenCreateManyAndReturnArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$WebhookTokenPayload<ExtArgs>, T, "createManyAndReturn", GlobalOmitOptions>>;
|
|
592
|
+
/**
|
|
593
|
+
* Delete a WebhookToken.
|
|
594
|
+
* @param {WebhookTokenDeleteArgs} args - Arguments to delete one WebhookToken.
|
|
595
|
+
* @example
|
|
596
|
+
* // Delete one WebhookToken
|
|
597
|
+
* const WebhookToken = await prisma.webhookToken.delete({
|
|
598
|
+
* where: {
|
|
599
|
+
* // ... filter to delete one WebhookToken
|
|
600
|
+
* }
|
|
601
|
+
* })
|
|
602
|
+
*
|
|
603
|
+
*/
|
|
604
|
+
delete<T extends WebhookTokenDeleteArgs>(args: Prisma.SelectSubset<T, WebhookTokenDeleteArgs<ExtArgs>>): Prisma.Prisma__WebhookTokenClient<runtime.Types.Result.GetResult<Prisma.$WebhookTokenPayload<ExtArgs>, T, "delete", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>;
|
|
605
|
+
/**
|
|
606
|
+
* Update one WebhookToken.
|
|
607
|
+
* @param {WebhookTokenUpdateArgs} args - Arguments to update one WebhookToken.
|
|
608
|
+
* @example
|
|
609
|
+
* // Update one WebhookToken
|
|
610
|
+
* const webhookToken = await prisma.webhookToken.update({
|
|
611
|
+
* where: {
|
|
612
|
+
* // ... provide filter here
|
|
613
|
+
* },
|
|
614
|
+
* data: {
|
|
615
|
+
* // ... provide data here
|
|
616
|
+
* }
|
|
617
|
+
* })
|
|
618
|
+
*
|
|
619
|
+
*/
|
|
620
|
+
update<T extends WebhookTokenUpdateArgs>(args: Prisma.SelectSubset<T, WebhookTokenUpdateArgs<ExtArgs>>): Prisma.Prisma__WebhookTokenClient<runtime.Types.Result.GetResult<Prisma.$WebhookTokenPayload<ExtArgs>, T, "update", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>;
|
|
621
|
+
/**
|
|
622
|
+
* Delete zero or more WebhookTokens.
|
|
623
|
+
* @param {WebhookTokenDeleteManyArgs} args - Arguments to filter WebhookTokens to delete.
|
|
624
|
+
* @example
|
|
625
|
+
* // Delete a few WebhookTokens
|
|
626
|
+
* const { count } = await prisma.webhookToken.deleteMany({
|
|
627
|
+
* where: {
|
|
628
|
+
* // ... provide filter here
|
|
629
|
+
* }
|
|
630
|
+
* })
|
|
631
|
+
*
|
|
632
|
+
*/
|
|
633
|
+
deleteMany<T extends WebhookTokenDeleteManyArgs>(args?: Prisma.SelectSubset<T, WebhookTokenDeleteManyArgs<ExtArgs>>): Prisma.PrismaPromise<Prisma.BatchPayload>;
|
|
634
|
+
/**
|
|
635
|
+
* Update zero or more WebhookTokens.
|
|
636
|
+
* Note, that providing `undefined` is treated as the value not being there.
|
|
637
|
+
* Read more here: https://pris.ly/d/null-undefined
|
|
638
|
+
* @param {WebhookTokenUpdateManyArgs} args - Arguments to update one or more rows.
|
|
639
|
+
* @example
|
|
640
|
+
* // Update many WebhookTokens
|
|
641
|
+
* const webhookToken = await prisma.webhookToken.updateMany({
|
|
642
|
+
* where: {
|
|
643
|
+
* // ... provide filter here
|
|
644
|
+
* },
|
|
645
|
+
* data: {
|
|
646
|
+
* // ... provide data here
|
|
647
|
+
* }
|
|
648
|
+
* })
|
|
649
|
+
*
|
|
650
|
+
*/
|
|
651
|
+
updateMany<T extends WebhookTokenUpdateManyArgs>(args: Prisma.SelectSubset<T, WebhookTokenUpdateManyArgs<ExtArgs>>): Prisma.PrismaPromise<Prisma.BatchPayload>;
|
|
652
|
+
/**
|
|
653
|
+
* Update zero or more WebhookTokens and returns the data updated in the database.
|
|
654
|
+
* @param {WebhookTokenUpdateManyAndReturnArgs} args - Arguments to update many WebhookTokens.
|
|
655
|
+
* @example
|
|
656
|
+
* // Update many WebhookTokens
|
|
657
|
+
* const webhookToken = await prisma.webhookToken.updateManyAndReturn({
|
|
658
|
+
* where: {
|
|
659
|
+
* // ... provide filter here
|
|
660
|
+
* },
|
|
661
|
+
* data: [
|
|
662
|
+
* // ... provide data here
|
|
663
|
+
* ]
|
|
664
|
+
* })
|
|
665
|
+
*
|
|
666
|
+
* // Update zero or more WebhookTokens and only return the `id`
|
|
667
|
+
* const webhookTokenWithIdOnly = await prisma.webhookToken.updateManyAndReturn({
|
|
668
|
+
* select: { id: true },
|
|
669
|
+
* where: {
|
|
670
|
+
* // ... provide filter here
|
|
671
|
+
* },
|
|
672
|
+
* data: [
|
|
673
|
+
* // ... provide data here
|
|
674
|
+
* ]
|
|
675
|
+
* })
|
|
676
|
+
* Note, that providing `undefined` is treated as the value not being there.
|
|
677
|
+
* Read more here: https://pris.ly/d/null-undefined
|
|
678
|
+
*
|
|
679
|
+
*/
|
|
680
|
+
updateManyAndReturn<T extends WebhookTokenUpdateManyAndReturnArgs>(args: Prisma.SelectSubset<T, WebhookTokenUpdateManyAndReturnArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$WebhookTokenPayload<ExtArgs>, T, "updateManyAndReturn", GlobalOmitOptions>>;
|
|
681
|
+
/**
|
|
682
|
+
* Create or update one WebhookToken.
|
|
683
|
+
* @param {WebhookTokenUpsertArgs} args - Arguments to update or create a WebhookToken.
|
|
684
|
+
* @example
|
|
685
|
+
* // Update or create a WebhookToken
|
|
686
|
+
* const webhookToken = await prisma.webhookToken.upsert({
|
|
687
|
+
* create: {
|
|
688
|
+
* // ... data to create a WebhookToken
|
|
689
|
+
* },
|
|
690
|
+
* update: {
|
|
691
|
+
* // ... in case it already exists, update
|
|
692
|
+
* },
|
|
693
|
+
* where: {
|
|
694
|
+
* // ... the filter for the WebhookToken we want to update
|
|
695
|
+
* }
|
|
696
|
+
* })
|
|
697
|
+
*/
|
|
698
|
+
upsert<T extends WebhookTokenUpsertArgs>(args: Prisma.SelectSubset<T, WebhookTokenUpsertArgs<ExtArgs>>): Prisma.Prisma__WebhookTokenClient<runtime.Types.Result.GetResult<Prisma.$WebhookTokenPayload<ExtArgs>, T, "upsert", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>;
|
|
699
|
+
/**
|
|
700
|
+
* Count the number of WebhookTokens.
|
|
701
|
+
* Note, that providing `undefined` is treated as the value not being there.
|
|
702
|
+
* Read more here: https://pris.ly/d/null-undefined
|
|
703
|
+
* @param {WebhookTokenCountArgs} args - Arguments to filter WebhookTokens to count.
|
|
704
|
+
* @example
|
|
705
|
+
* // Count the number of WebhookTokens
|
|
706
|
+
* const count = await prisma.webhookToken.count({
|
|
707
|
+
* where: {
|
|
708
|
+
* // ... the filter for the WebhookTokens we want to count
|
|
709
|
+
* }
|
|
710
|
+
* })
|
|
711
|
+
**/
|
|
712
|
+
count<T extends WebhookTokenCountArgs>(args?: Prisma.Subset<T, WebhookTokenCountArgs>): Prisma.PrismaPromise<T extends runtime.Types.Utils.Record<'select', any> ? T['select'] extends true ? number : Prisma.GetScalarType<T['select'], WebhookTokenCountAggregateOutputType> : number>;
|
|
713
|
+
/**
|
|
714
|
+
* Allows you to perform aggregations operations on a WebhookToken.
|
|
715
|
+
* Note, that providing `undefined` is treated as the value not being there.
|
|
716
|
+
* Read more here: https://pris.ly/d/null-undefined
|
|
717
|
+
* @param {WebhookTokenAggregateArgs} args - Select which aggregations you would like to apply and on what fields.
|
|
718
|
+
* @example
|
|
719
|
+
* // Ordered by age ascending
|
|
720
|
+
* // Where email contains prisma.io
|
|
721
|
+
* // Limited to the 10 users
|
|
722
|
+
* const aggregations = await prisma.user.aggregate({
|
|
723
|
+
* _avg: {
|
|
724
|
+
* age: true,
|
|
725
|
+
* },
|
|
726
|
+
* where: {
|
|
727
|
+
* email: {
|
|
728
|
+
* contains: "prisma.io",
|
|
729
|
+
* },
|
|
730
|
+
* },
|
|
731
|
+
* orderBy: {
|
|
732
|
+
* age: "asc",
|
|
733
|
+
* },
|
|
734
|
+
* take: 10,
|
|
735
|
+
* })
|
|
736
|
+
**/
|
|
737
|
+
aggregate<T extends WebhookTokenAggregateArgs>(args: Prisma.Subset<T, WebhookTokenAggregateArgs>): Prisma.PrismaPromise<GetWebhookTokenAggregateType<T>>;
|
|
738
|
+
/**
|
|
739
|
+
* Group by WebhookToken.
|
|
740
|
+
* Note, that providing `undefined` is treated as the value not being there.
|
|
741
|
+
* Read more here: https://pris.ly/d/null-undefined
|
|
742
|
+
* @param {WebhookTokenGroupByArgs} args - Group by arguments.
|
|
743
|
+
* @example
|
|
744
|
+
* // Group by city, order by createdAt, get count
|
|
745
|
+
* const result = await prisma.user.groupBy({
|
|
746
|
+
* by: ['city', 'createdAt'],
|
|
747
|
+
* orderBy: {
|
|
748
|
+
* createdAt: true
|
|
749
|
+
* },
|
|
750
|
+
* _count: {
|
|
751
|
+
* _all: true
|
|
752
|
+
* },
|
|
753
|
+
* })
|
|
754
|
+
*
|
|
755
|
+
**/
|
|
756
|
+
groupBy<T extends WebhookTokenGroupByArgs, HasSelectOrTake extends Prisma.Or<Prisma.Extends<'skip', Prisma.Keys<T>>, Prisma.Extends<'take', Prisma.Keys<T>>>, OrderByArg extends Prisma.True extends HasSelectOrTake ? {
|
|
757
|
+
orderBy: WebhookTokenGroupByArgs['orderBy'];
|
|
758
|
+
} : {
|
|
759
|
+
orderBy?: WebhookTokenGroupByArgs['orderBy'];
|
|
760
|
+
}, 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 ? {
|
|
761
|
+
[P in HavingFields]: P extends ByFields ? never : P extends string ? `Error: Field "${P}" used in "having" needs to be provided in "by".` : [
|
|
762
|
+
Error,
|
|
763
|
+
'Field ',
|
|
764
|
+
P,
|
|
765
|
+
` in "having" needs to be provided in "by"`
|
|
766
|
+
];
|
|
767
|
+
}[HavingFields] : 'take' extends Prisma.Keys<T> ? 'orderBy' extends Prisma.Keys<T> ? ByValid extends Prisma.True ? {} : {
|
|
768
|
+
[P in OrderFields]: P extends ByFields ? never : `Error: Field "${P}" in "orderBy" needs to be provided in "by"`;
|
|
769
|
+
}[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 ? {} : {
|
|
770
|
+
[P in OrderFields]: P extends ByFields ? never : `Error: Field "${P}" in "orderBy" needs to be provided in "by"`;
|
|
771
|
+
}[OrderFields] : 'Error: If you provide "skip", you also need to provide "orderBy"' : ByValid extends Prisma.True ? {} : {
|
|
772
|
+
[P in OrderFields]: P extends ByFields ? never : `Error: Field "${P}" in "orderBy" needs to be provided in "by"`;
|
|
773
|
+
}[OrderFields]>(args: Prisma.SubsetIntersection<T, WebhookTokenGroupByArgs, OrderByArg> & InputErrors): {} extends InputErrors ? GetWebhookTokenGroupByPayload<T> : Prisma.PrismaPromise<InputErrors>;
|
|
774
|
+
/**
|
|
775
|
+
* Fields of the WebhookToken model
|
|
776
|
+
*/
|
|
777
|
+
readonly fields: WebhookTokenFieldRefs;
|
|
778
|
+
}
|
|
779
|
+
/**
|
|
780
|
+
* The delegate class that acts as a "Promise-like" for WebhookToken.
|
|
781
|
+
* Why is this prefixed with `Prisma__`?
|
|
782
|
+
* Because we want to prevent naming conflicts as mentioned in
|
|
783
|
+
* https://github.com/prisma/prisma-client-js/issues/707
|
|
784
|
+
*/
|
|
785
|
+
export interface Prisma__WebhookTokenClient<T, Null = never, ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs, GlobalOmitOptions = {}> extends Prisma.PrismaPromise<T> {
|
|
786
|
+
readonly [Symbol.toStringTag]: "PrismaPromise";
|
|
787
|
+
user<T extends Prisma.UserDefaultArgs<ExtArgs> = {}>(args?: Prisma.Subset<T, Prisma.UserDefaultArgs<ExtArgs>>): Prisma.Prisma__UserClient<runtime.Types.Result.GetResult<Prisma.$UserPayload<ExtArgs>, T, "findUniqueOrThrow", GlobalOmitOptions> | Null, Null, ExtArgs, GlobalOmitOptions>;
|
|
788
|
+
/**
|
|
789
|
+
* Attaches callbacks for the resolution and/or rejection of the Promise.
|
|
790
|
+
* @param onfulfilled The callback to execute when the Promise is resolved.
|
|
791
|
+
* @param onrejected The callback to execute when the Promise is rejected.
|
|
792
|
+
* @returns A Promise for the completion of which ever callback is executed.
|
|
793
|
+
*/
|
|
794
|
+
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>;
|
|
795
|
+
/**
|
|
796
|
+
* Attaches a callback for only the rejection of the Promise.
|
|
797
|
+
* @param onrejected The callback to execute when the Promise is rejected.
|
|
798
|
+
* @returns A Promise for the completion of the callback.
|
|
799
|
+
*/
|
|
800
|
+
catch<TResult = never>(onrejected?: ((reason: any) => TResult | PromiseLike<TResult>) | undefined | null): runtime.Types.Utils.JsPromise<T | TResult>;
|
|
801
|
+
/**
|
|
802
|
+
* Attaches a callback that is invoked when the Promise is settled (fulfilled or rejected). The
|
|
803
|
+
* resolved value cannot be modified from the callback.
|
|
804
|
+
* @param onfinally The callback to execute when the Promise is settled (fulfilled or rejected).
|
|
805
|
+
* @returns A Promise for the completion of the callback.
|
|
806
|
+
*/
|
|
807
|
+
finally(onfinally?: (() => void) | undefined | null): runtime.Types.Utils.JsPromise<T>;
|
|
808
|
+
}
|
|
809
|
+
/**
|
|
810
|
+
* Fields of the WebhookToken model
|
|
811
|
+
*/
|
|
812
|
+
export interface WebhookTokenFieldRefs {
|
|
813
|
+
readonly id: Prisma.FieldRef<"WebhookToken", 'String'>;
|
|
814
|
+
readonly name: Prisma.FieldRef<"WebhookToken", 'String'>;
|
|
815
|
+
readonly user_id: Prisma.FieldRef<"WebhookToken", 'String'>;
|
|
816
|
+
readonly secret: Prisma.FieldRef<"WebhookToken", 'String'>;
|
|
817
|
+
readonly permissions: Prisma.FieldRef<"WebhookToken", 'String[]'>;
|
|
818
|
+
readonly created_at: Prisma.FieldRef<"WebhookToken", 'DateTime'>;
|
|
819
|
+
}
|
|
820
|
+
/**
|
|
821
|
+
* WebhookToken findUnique
|
|
822
|
+
*/
|
|
823
|
+
export type WebhookTokenFindUniqueArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
824
|
+
/**
|
|
825
|
+
* Select specific fields to fetch from the WebhookToken
|
|
826
|
+
*/
|
|
827
|
+
select?: Prisma.WebhookTokenSelect<ExtArgs> | null;
|
|
828
|
+
/**
|
|
829
|
+
* Omit specific fields from the WebhookToken
|
|
830
|
+
*/
|
|
831
|
+
omit?: Prisma.WebhookTokenOmit<ExtArgs> | null;
|
|
832
|
+
/**
|
|
833
|
+
* Choose, which related nodes to fetch as well
|
|
834
|
+
*/
|
|
835
|
+
include?: Prisma.WebhookTokenInclude<ExtArgs> | null;
|
|
836
|
+
/**
|
|
837
|
+
* Filter, which WebhookToken to fetch.
|
|
838
|
+
*/
|
|
839
|
+
where: Prisma.WebhookTokenWhereUniqueInput;
|
|
840
|
+
};
|
|
841
|
+
/**
|
|
842
|
+
* WebhookToken findUniqueOrThrow
|
|
843
|
+
*/
|
|
844
|
+
export type WebhookTokenFindUniqueOrThrowArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
845
|
+
/**
|
|
846
|
+
* Select specific fields to fetch from the WebhookToken
|
|
847
|
+
*/
|
|
848
|
+
select?: Prisma.WebhookTokenSelect<ExtArgs> | null;
|
|
849
|
+
/**
|
|
850
|
+
* Omit specific fields from the WebhookToken
|
|
851
|
+
*/
|
|
852
|
+
omit?: Prisma.WebhookTokenOmit<ExtArgs> | null;
|
|
853
|
+
/**
|
|
854
|
+
* Choose, which related nodes to fetch as well
|
|
855
|
+
*/
|
|
856
|
+
include?: Prisma.WebhookTokenInclude<ExtArgs> | null;
|
|
857
|
+
/**
|
|
858
|
+
* Filter, which WebhookToken to fetch.
|
|
859
|
+
*/
|
|
860
|
+
where: Prisma.WebhookTokenWhereUniqueInput;
|
|
861
|
+
};
|
|
862
|
+
/**
|
|
863
|
+
* WebhookToken findFirst
|
|
864
|
+
*/
|
|
865
|
+
export type WebhookTokenFindFirstArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
866
|
+
/**
|
|
867
|
+
* Select specific fields to fetch from the WebhookToken
|
|
868
|
+
*/
|
|
869
|
+
select?: Prisma.WebhookTokenSelect<ExtArgs> | null;
|
|
870
|
+
/**
|
|
871
|
+
* Omit specific fields from the WebhookToken
|
|
872
|
+
*/
|
|
873
|
+
omit?: Prisma.WebhookTokenOmit<ExtArgs> | null;
|
|
874
|
+
/**
|
|
875
|
+
* Choose, which related nodes to fetch as well
|
|
876
|
+
*/
|
|
877
|
+
include?: Prisma.WebhookTokenInclude<ExtArgs> | null;
|
|
878
|
+
/**
|
|
879
|
+
* Filter, which WebhookToken to fetch.
|
|
880
|
+
*/
|
|
881
|
+
where?: Prisma.WebhookTokenWhereInput;
|
|
882
|
+
/**
|
|
883
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
|
|
884
|
+
*
|
|
885
|
+
* Determine the order of WebhookTokens to fetch.
|
|
886
|
+
*/
|
|
887
|
+
orderBy?: Prisma.WebhookTokenOrderByWithRelationInput | Prisma.WebhookTokenOrderByWithRelationInput[];
|
|
888
|
+
/**
|
|
889
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
|
|
890
|
+
*
|
|
891
|
+
* Sets the position for searching for WebhookTokens.
|
|
892
|
+
*/
|
|
893
|
+
cursor?: Prisma.WebhookTokenWhereUniqueInput;
|
|
894
|
+
/**
|
|
895
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
896
|
+
*
|
|
897
|
+
* Take `±n` WebhookTokens from the position of the cursor.
|
|
898
|
+
*/
|
|
899
|
+
take?: number;
|
|
900
|
+
/**
|
|
901
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
902
|
+
*
|
|
903
|
+
* Skip the first `n` WebhookTokens.
|
|
904
|
+
*/
|
|
905
|
+
skip?: number;
|
|
906
|
+
/**
|
|
907
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
|
|
908
|
+
*
|
|
909
|
+
* Filter by unique combinations of WebhookTokens.
|
|
910
|
+
*/
|
|
911
|
+
distinct?: Prisma.WebhookTokenScalarFieldEnum | Prisma.WebhookTokenScalarFieldEnum[];
|
|
912
|
+
};
|
|
913
|
+
/**
|
|
914
|
+
* WebhookToken findFirstOrThrow
|
|
915
|
+
*/
|
|
916
|
+
export type WebhookTokenFindFirstOrThrowArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
917
|
+
/**
|
|
918
|
+
* Select specific fields to fetch from the WebhookToken
|
|
919
|
+
*/
|
|
920
|
+
select?: Prisma.WebhookTokenSelect<ExtArgs> | null;
|
|
921
|
+
/**
|
|
922
|
+
* Omit specific fields from the WebhookToken
|
|
923
|
+
*/
|
|
924
|
+
omit?: Prisma.WebhookTokenOmit<ExtArgs> | null;
|
|
925
|
+
/**
|
|
926
|
+
* Choose, which related nodes to fetch as well
|
|
927
|
+
*/
|
|
928
|
+
include?: Prisma.WebhookTokenInclude<ExtArgs> | null;
|
|
929
|
+
/**
|
|
930
|
+
* Filter, which WebhookToken to fetch.
|
|
931
|
+
*/
|
|
932
|
+
where?: Prisma.WebhookTokenWhereInput;
|
|
933
|
+
/**
|
|
934
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
|
|
935
|
+
*
|
|
936
|
+
* Determine the order of WebhookTokens to fetch.
|
|
937
|
+
*/
|
|
938
|
+
orderBy?: Prisma.WebhookTokenOrderByWithRelationInput | Prisma.WebhookTokenOrderByWithRelationInput[];
|
|
939
|
+
/**
|
|
940
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
|
|
941
|
+
*
|
|
942
|
+
* Sets the position for searching for WebhookTokens.
|
|
943
|
+
*/
|
|
944
|
+
cursor?: Prisma.WebhookTokenWhereUniqueInput;
|
|
945
|
+
/**
|
|
946
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
947
|
+
*
|
|
948
|
+
* Take `±n` WebhookTokens from the position of the cursor.
|
|
949
|
+
*/
|
|
950
|
+
take?: number;
|
|
951
|
+
/**
|
|
952
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
953
|
+
*
|
|
954
|
+
* Skip the first `n` WebhookTokens.
|
|
955
|
+
*/
|
|
956
|
+
skip?: number;
|
|
957
|
+
/**
|
|
958
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
|
|
959
|
+
*
|
|
960
|
+
* Filter by unique combinations of WebhookTokens.
|
|
961
|
+
*/
|
|
962
|
+
distinct?: Prisma.WebhookTokenScalarFieldEnum | Prisma.WebhookTokenScalarFieldEnum[];
|
|
963
|
+
};
|
|
964
|
+
/**
|
|
965
|
+
* WebhookToken findMany
|
|
966
|
+
*/
|
|
967
|
+
export type WebhookTokenFindManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
968
|
+
/**
|
|
969
|
+
* Select specific fields to fetch from the WebhookToken
|
|
970
|
+
*/
|
|
971
|
+
select?: Prisma.WebhookTokenSelect<ExtArgs> | null;
|
|
972
|
+
/**
|
|
973
|
+
* Omit specific fields from the WebhookToken
|
|
974
|
+
*/
|
|
975
|
+
omit?: Prisma.WebhookTokenOmit<ExtArgs> | null;
|
|
976
|
+
/**
|
|
977
|
+
* Choose, which related nodes to fetch as well
|
|
978
|
+
*/
|
|
979
|
+
include?: Prisma.WebhookTokenInclude<ExtArgs> | null;
|
|
980
|
+
/**
|
|
981
|
+
* Filter, which WebhookTokens to fetch.
|
|
982
|
+
*/
|
|
983
|
+
where?: Prisma.WebhookTokenWhereInput;
|
|
984
|
+
/**
|
|
985
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
|
|
986
|
+
*
|
|
987
|
+
* Determine the order of WebhookTokens to fetch.
|
|
988
|
+
*/
|
|
989
|
+
orderBy?: Prisma.WebhookTokenOrderByWithRelationInput | Prisma.WebhookTokenOrderByWithRelationInput[];
|
|
990
|
+
/**
|
|
991
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
|
|
992
|
+
*
|
|
993
|
+
* Sets the position for listing WebhookTokens.
|
|
994
|
+
*/
|
|
995
|
+
cursor?: Prisma.WebhookTokenWhereUniqueInput;
|
|
996
|
+
/**
|
|
997
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
998
|
+
*
|
|
999
|
+
* Take `±n` WebhookTokens from the position of the cursor.
|
|
1000
|
+
*/
|
|
1001
|
+
take?: number;
|
|
1002
|
+
/**
|
|
1003
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
1004
|
+
*
|
|
1005
|
+
* Skip the first `n` WebhookTokens.
|
|
1006
|
+
*/
|
|
1007
|
+
skip?: number;
|
|
1008
|
+
/**
|
|
1009
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
|
|
1010
|
+
*
|
|
1011
|
+
* Filter by unique combinations of WebhookTokens.
|
|
1012
|
+
*/
|
|
1013
|
+
distinct?: Prisma.WebhookTokenScalarFieldEnum | Prisma.WebhookTokenScalarFieldEnum[];
|
|
1014
|
+
};
|
|
1015
|
+
/**
|
|
1016
|
+
* WebhookToken create
|
|
1017
|
+
*/
|
|
1018
|
+
export type WebhookTokenCreateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1019
|
+
/**
|
|
1020
|
+
* Select specific fields to fetch from the WebhookToken
|
|
1021
|
+
*/
|
|
1022
|
+
select?: Prisma.WebhookTokenSelect<ExtArgs> | null;
|
|
1023
|
+
/**
|
|
1024
|
+
* Omit specific fields from the WebhookToken
|
|
1025
|
+
*/
|
|
1026
|
+
omit?: Prisma.WebhookTokenOmit<ExtArgs> | null;
|
|
1027
|
+
/**
|
|
1028
|
+
* Choose, which related nodes to fetch as well
|
|
1029
|
+
*/
|
|
1030
|
+
include?: Prisma.WebhookTokenInclude<ExtArgs> | null;
|
|
1031
|
+
/**
|
|
1032
|
+
* The data needed to create a WebhookToken.
|
|
1033
|
+
*/
|
|
1034
|
+
data: Prisma.XOR<Prisma.WebhookTokenCreateInput, Prisma.WebhookTokenUncheckedCreateInput>;
|
|
1035
|
+
};
|
|
1036
|
+
/**
|
|
1037
|
+
* WebhookToken createMany
|
|
1038
|
+
*/
|
|
1039
|
+
export type WebhookTokenCreateManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1040
|
+
/**
|
|
1041
|
+
* The data used to create many WebhookTokens.
|
|
1042
|
+
*/
|
|
1043
|
+
data: Prisma.WebhookTokenCreateManyInput | Prisma.WebhookTokenCreateManyInput[];
|
|
1044
|
+
skipDuplicates?: boolean;
|
|
1045
|
+
};
|
|
1046
|
+
/**
|
|
1047
|
+
* WebhookToken createManyAndReturn
|
|
1048
|
+
*/
|
|
1049
|
+
export type WebhookTokenCreateManyAndReturnArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1050
|
+
/**
|
|
1051
|
+
* Select specific fields to fetch from the WebhookToken
|
|
1052
|
+
*/
|
|
1053
|
+
select?: Prisma.WebhookTokenSelectCreateManyAndReturn<ExtArgs> | null;
|
|
1054
|
+
/**
|
|
1055
|
+
* Omit specific fields from the WebhookToken
|
|
1056
|
+
*/
|
|
1057
|
+
omit?: Prisma.WebhookTokenOmit<ExtArgs> | null;
|
|
1058
|
+
/**
|
|
1059
|
+
* The data used to create many WebhookTokens.
|
|
1060
|
+
*/
|
|
1061
|
+
data: Prisma.WebhookTokenCreateManyInput | Prisma.WebhookTokenCreateManyInput[];
|
|
1062
|
+
skipDuplicates?: boolean;
|
|
1063
|
+
/**
|
|
1064
|
+
* Choose, which related nodes to fetch as well
|
|
1065
|
+
*/
|
|
1066
|
+
include?: Prisma.WebhookTokenIncludeCreateManyAndReturn<ExtArgs> | null;
|
|
1067
|
+
};
|
|
1068
|
+
/**
|
|
1069
|
+
* WebhookToken update
|
|
1070
|
+
*/
|
|
1071
|
+
export type WebhookTokenUpdateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1072
|
+
/**
|
|
1073
|
+
* Select specific fields to fetch from the WebhookToken
|
|
1074
|
+
*/
|
|
1075
|
+
select?: Prisma.WebhookTokenSelect<ExtArgs> | null;
|
|
1076
|
+
/**
|
|
1077
|
+
* Omit specific fields from the WebhookToken
|
|
1078
|
+
*/
|
|
1079
|
+
omit?: Prisma.WebhookTokenOmit<ExtArgs> | null;
|
|
1080
|
+
/**
|
|
1081
|
+
* Choose, which related nodes to fetch as well
|
|
1082
|
+
*/
|
|
1083
|
+
include?: Prisma.WebhookTokenInclude<ExtArgs> | null;
|
|
1084
|
+
/**
|
|
1085
|
+
* The data needed to update a WebhookToken.
|
|
1086
|
+
*/
|
|
1087
|
+
data: Prisma.XOR<Prisma.WebhookTokenUpdateInput, Prisma.WebhookTokenUncheckedUpdateInput>;
|
|
1088
|
+
/**
|
|
1089
|
+
* Choose, which WebhookToken to update.
|
|
1090
|
+
*/
|
|
1091
|
+
where: Prisma.WebhookTokenWhereUniqueInput;
|
|
1092
|
+
};
|
|
1093
|
+
/**
|
|
1094
|
+
* WebhookToken updateMany
|
|
1095
|
+
*/
|
|
1096
|
+
export type WebhookTokenUpdateManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1097
|
+
/**
|
|
1098
|
+
* The data used to update WebhookTokens.
|
|
1099
|
+
*/
|
|
1100
|
+
data: Prisma.XOR<Prisma.WebhookTokenUpdateManyMutationInput, Prisma.WebhookTokenUncheckedUpdateManyInput>;
|
|
1101
|
+
/**
|
|
1102
|
+
* Filter which WebhookTokens to update
|
|
1103
|
+
*/
|
|
1104
|
+
where?: Prisma.WebhookTokenWhereInput;
|
|
1105
|
+
/**
|
|
1106
|
+
* Limit how many WebhookTokens to update.
|
|
1107
|
+
*/
|
|
1108
|
+
limit?: number;
|
|
1109
|
+
};
|
|
1110
|
+
/**
|
|
1111
|
+
* WebhookToken updateManyAndReturn
|
|
1112
|
+
*/
|
|
1113
|
+
export type WebhookTokenUpdateManyAndReturnArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1114
|
+
/**
|
|
1115
|
+
* Select specific fields to fetch from the WebhookToken
|
|
1116
|
+
*/
|
|
1117
|
+
select?: Prisma.WebhookTokenSelectUpdateManyAndReturn<ExtArgs> | null;
|
|
1118
|
+
/**
|
|
1119
|
+
* Omit specific fields from the WebhookToken
|
|
1120
|
+
*/
|
|
1121
|
+
omit?: Prisma.WebhookTokenOmit<ExtArgs> | null;
|
|
1122
|
+
/**
|
|
1123
|
+
* The data used to update WebhookTokens.
|
|
1124
|
+
*/
|
|
1125
|
+
data: Prisma.XOR<Prisma.WebhookTokenUpdateManyMutationInput, Prisma.WebhookTokenUncheckedUpdateManyInput>;
|
|
1126
|
+
/**
|
|
1127
|
+
* Filter which WebhookTokens to update
|
|
1128
|
+
*/
|
|
1129
|
+
where?: Prisma.WebhookTokenWhereInput;
|
|
1130
|
+
/**
|
|
1131
|
+
* Limit how many WebhookTokens to update.
|
|
1132
|
+
*/
|
|
1133
|
+
limit?: number;
|
|
1134
|
+
/**
|
|
1135
|
+
* Choose, which related nodes to fetch as well
|
|
1136
|
+
*/
|
|
1137
|
+
include?: Prisma.WebhookTokenIncludeUpdateManyAndReturn<ExtArgs> | null;
|
|
1138
|
+
};
|
|
1139
|
+
/**
|
|
1140
|
+
* WebhookToken upsert
|
|
1141
|
+
*/
|
|
1142
|
+
export type WebhookTokenUpsertArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1143
|
+
/**
|
|
1144
|
+
* Select specific fields to fetch from the WebhookToken
|
|
1145
|
+
*/
|
|
1146
|
+
select?: Prisma.WebhookTokenSelect<ExtArgs> | null;
|
|
1147
|
+
/**
|
|
1148
|
+
* Omit specific fields from the WebhookToken
|
|
1149
|
+
*/
|
|
1150
|
+
omit?: Prisma.WebhookTokenOmit<ExtArgs> | null;
|
|
1151
|
+
/**
|
|
1152
|
+
* Choose, which related nodes to fetch as well
|
|
1153
|
+
*/
|
|
1154
|
+
include?: Prisma.WebhookTokenInclude<ExtArgs> | null;
|
|
1155
|
+
/**
|
|
1156
|
+
* The filter to search for the WebhookToken to update in case it exists.
|
|
1157
|
+
*/
|
|
1158
|
+
where: Prisma.WebhookTokenWhereUniqueInput;
|
|
1159
|
+
/**
|
|
1160
|
+
* In case the WebhookToken found by the `where` argument doesn't exist, create a new WebhookToken with this data.
|
|
1161
|
+
*/
|
|
1162
|
+
create: Prisma.XOR<Prisma.WebhookTokenCreateInput, Prisma.WebhookTokenUncheckedCreateInput>;
|
|
1163
|
+
/**
|
|
1164
|
+
* In case the WebhookToken was found with the provided `where` argument, update it with this data.
|
|
1165
|
+
*/
|
|
1166
|
+
update: Prisma.XOR<Prisma.WebhookTokenUpdateInput, Prisma.WebhookTokenUncheckedUpdateInput>;
|
|
1167
|
+
};
|
|
1168
|
+
/**
|
|
1169
|
+
* WebhookToken delete
|
|
1170
|
+
*/
|
|
1171
|
+
export type WebhookTokenDeleteArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1172
|
+
/**
|
|
1173
|
+
* Select specific fields to fetch from the WebhookToken
|
|
1174
|
+
*/
|
|
1175
|
+
select?: Prisma.WebhookTokenSelect<ExtArgs> | null;
|
|
1176
|
+
/**
|
|
1177
|
+
* Omit specific fields from the WebhookToken
|
|
1178
|
+
*/
|
|
1179
|
+
omit?: Prisma.WebhookTokenOmit<ExtArgs> | null;
|
|
1180
|
+
/**
|
|
1181
|
+
* Choose, which related nodes to fetch as well
|
|
1182
|
+
*/
|
|
1183
|
+
include?: Prisma.WebhookTokenInclude<ExtArgs> | null;
|
|
1184
|
+
/**
|
|
1185
|
+
* Filter which WebhookToken to delete.
|
|
1186
|
+
*/
|
|
1187
|
+
where: Prisma.WebhookTokenWhereUniqueInput;
|
|
1188
|
+
};
|
|
1189
|
+
/**
|
|
1190
|
+
* WebhookToken deleteMany
|
|
1191
|
+
*/
|
|
1192
|
+
export type WebhookTokenDeleteManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1193
|
+
/**
|
|
1194
|
+
* Filter which WebhookTokens to delete
|
|
1195
|
+
*/
|
|
1196
|
+
where?: Prisma.WebhookTokenWhereInput;
|
|
1197
|
+
/**
|
|
1198
|
+
* Limit how many WebhookTokens to delete.
|
|
1199
|
+
*/
|
|
1200
|
+
limit?: number;
|
|
1201
|
+
};
|
|
1202
|
+
/**
|
|
1203
|
+
* WebhookToken without action
|
|
1204
|
+
*/
|
|
1205
|
+
export type WebhookTokenDefaultArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1206
|
+
/**
|
|
1207
|
+
* Select specific fields to fetch from the WebhookToken
|
|
1208
|
+
*/
|
|
1209
|
+
select?: Prisma.WebhookTokenSelect<ExtArgs> | null;
|
|
1210
|
+
/**
|
|
1211
|
+
* Omit specific fields from the WebhookToken
|
|
1212
|
+
*/
|
|
1213
|
+
omit?: Prisma.WebhookTokenOmit<ExtArgs> | null;
|
|
1214
|
+
/**
|
|
1215
|
+
* Choose, which related nodes to fetch as well
|
|
1216
|
+
*/
|
|
1217
|
+
include?: Prisma.WebhookTokenInclude<ExtArgs> | null;
|
|
1218
|
+
};
|
|
1219
|
+
//# sourceMappingURL=WebhookToken.d.ts.map
|