zele 0.3.0 → 0.3.6
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 +1 -1
- package/bin/zele +27 -0
- package/dist/api-utils.d.ts +51 -2
- package/dist/api-utils.js +89 -3
- package/dist/api-utils.js.map +1 -1
- package/dist/auth.d.ts +27 -6
- package/dist/auth.js +185 -129
- package/dist/auth.js.map +1 -1
- package/dist/calendar-client.d.ts +16 -9
- package/dist/calendar-client.js +163 -59
- package/dist/calendar-client.js.map +1 -1
- package/dist/cli.js +34 -1
- package/dist/cli.js.map +1 -1
- package/dist/commands/attachment.js +17 -15
- package/dist/commands/attachment.js.map +1 -1
- package/dist/commands/auth-cmd.js +20 -9
- package/dist/commands/auth-cmd.js.map +1 -1
- package/dist/commands/calendar.js +67 -78
- package/dist/commands/calendar.js.map +1 -1
- package/dist/commands/draft.js +25 -18
- package/dist/commands/draft.js.map +1 -1
- package/dist/commands/label.js +33 -45
- package/dist/commands/label.js.map +1 -1
- package/dist/commands/mail-actions.js +11 -13
- package/dist/commands/mail-actions.js.map +1 -1
- package/dist/commands/mail.js +119 -127
- package/dist/commands/mail.js.map +1 -1
- package/dist/commands/profile.js +18 -21
- package/dist/commands/profile.js.map +1 -1
- package/dist/commands/watch.js +33 -261
- package/dist/commands/watch.js.map +1 -1
- package/dist/db.js +12 -13
- package/dist/db.js.map +1 -1
- package/dist/generated/browser.d.ts +12 -27
- package/dist/generated/client.d.ts +13 -28
- package/dist/generated/client.js +1 -1
- package/dist/generated/commonInputTypes.d.ts +90 -26
- package/dist/generated/enums.d.ts +0 -4
- package/dist/generated/enums.js +0 -3
- package/dist/generated/enums.js.map +1 -1
- package/dist/generated/internal/class.d.ts +22 -55
- package/dist/generated/internal/class.js +12 -4
- package/dist/generated/internal/class.js.map +1 -1
- package/dist/generated/internal/prismaNamespace.d.ts +272 -511
- package/dist/generated/internal/prismaNamespace.js +54 -66
- package/dist/generated/internal/prismaNamespace.js.map +1 -1
- package/dist/generated/internal/prismaNamespaceBrowser.d.ts +60 -74
- package/dist/generated/internal/prismaNamespaceBrowser.js +50 -62
- package/dist/generated/internal/prismaNamespaceBrowser.js.map +1 -1
- package/dist/generated/models/Account.d.ts +1637 -0
- package/dist/generated/models/Account.js +2 -0
- package/dist/generated/models/Account.js.map +1 -0
- package/dist/generated/models/CalendarList.d.ts +1161 -0
- package/dist/generated/models/CalendarList.js +2 -0
- package/dist/generated/models/CalendarList.js.map +1 -0
- package/dist/generated/models/Label.d.ts +1161 -0
- package/dist/generated/models/Label.js +2 -0
- package/dist/generated/models/Label.js.map +1 -0
- package/dist/generated/models/Profile.d.ts +1269 -0
- package/dist/generated/models/Profile.js +2 -0
- package/dist/generated/models/Profile.js.map +1 -0
- package/dist/generated/models/SyncState.d.ts +1130 -0
- package/dist/generated/models/SyncState.js +2 -0
- package/dist/generated/models/SyncState.js.map +1 -0
- package/dist/generated/models/Thread.d.ts +1608 -0
- package/dist/generated/models/Thread.js +2 -0
- package/dist/generated/models/Thread.js.map +1 -0
- package/dist/generated/models.d.ts +6 -9
- package/dist/gmail-client.d.ts +119 -94
- package/dist/gmail-client.js +862 -322
- package/dist/gmail-client.js.map +1 -1
- package/dist/mail-tui.d.ts +1 -0
- package/dist/mail-tui.js +517 -0
- package/dist/mail-tui.js.map +1 -0
- package/dist/output.d.ts +6 -0
- package/dist/output.js +124 -11
- package/dist/output.js.map +1 -1
- package/package.json +39 -11
- package/schema.prisma +81 -113
- package/src/api-utils.ts +103 -5
- package/src/auth.ts +224 -143
- package/src/calendar-client.ts +196 -89
- package/src/cli.ts +39 -1
- package/src/commands/attachment.ts +18 -19
- package/src/commands/auth-cmd.ts +19 -9
- package/src/commands/calendar.ts +42 -85
- package/src/commands/draft.ts +19 -22
- package/src/commands/label.ts +21 -57
- package/src/commands/mail-actions.ts +11 -19
- package/src/commands/mail.ts +109 -148
- package/src/commands/profile.ts +12 -28
- package/src/commands/watch.ts +37 -304
- package/src/db.ts +13 -16
- package/src/generated/browser.ts +49 -0
- package/src/generated/client.ts +71 -0
- package/src/generated/commonInputTypes.ts +332 -0
- package/src/generated/enums.ts +17 -0
- package/src/generated/internal/class.ts +250 -0
- package/src/generated/internal/prismaNamespace.ts +1198 -0
- package/src/generated/internal/prismaNamespaceBrowser.ts +169 -0
- package/src/generated/models/Account.ts +1848 -0
- package/src/generated/models/CalendarList.ts +1331 -0
- package/src/generated/models/Label.ts +1331 -0
- package/src/generated/models/Profile.ts +1439 -0
- package/src/generated/models/SyncState.ts +1300 -0
- package/src/generated/models/Thread.ts +1787 -0
- package/src/generated/models.ts +17 -0
- package/src/gmail-client.test.ts +59 -0
- package/src/gmail-client.ts +1034 -429
- package/src/mail-tui.tsx +1061 -0
- package/src/output.test.ts +1093 -0
- package/src/output.ts +128 -13
- package/src/schema.sql +58 -68
- package/src/test-fixtures/email-html/safe-claude-event.html +28 -0
- package/src/test-fixtures/email-html/safe-product-announcement.html +25 -0
- package/src/test-fixtures/email-html/safe-tracked-links.html +27 -0
- package/src/test-fixtures/email-html-snapshots/safe-claude-event.html.md +9 -0
- package/src/test-fixtures/email-html-snapshots/safe-product-announcement.html.md +13 -0
- package/src/test-fixtures/email-html-snapshots/safe-tracked-links.html.md +7 -0
- package/AGENTS.md +0 -26
- package/CHANGELOG.md +0 -43
- package/dist/generated/models/accounts.d.ts +0 -2000
- package/dist/generated/models/accounts.js +0 -2
- package/dist/generated/models/accounts.js.map +0 -1
- package/dist/generated/models/calendar_events.d.ts +0 -1433
- package/dist/generated/models/calendar_events.js +0 -2
- package/dist/generated/models/calendar_events.js.map +0 -1
- package/dist/generated/models/calendar_lists.d.ts +0 -1131
- package/dist/generated/models/calendar_lists.js +0 -2
- package/dist/generated/models/calendar_lists.js.map +0 -1
- package/dist/generated/models/label_counts.d.ts +0 -1131
- package/dist/generated/models/label_counts.js +0 -2
- package/dist/generated/models/label_counts.js.map +0 -1
- package/dist/generated/models/labels.d.ts +0 -1131
- package/dist/generated/models/labels.js +0 -2
- package/dist/generated/models/labels.js.map +0 -1
- package/dist/generated/models/profiles.d.ts +0 -1131
- package/dist/generated/models/profiles.js +0 -2
- package/dist/generated/models/profiles.js.map +0 -1
- package/dist/generated/models/sync_states.d.ts +0 -1107
- package/dist/generated/models/sync_states.js +0 -2
- package/dist/generated/models/sync_states.js.map +0 -1
- package/dist/generated/models/thread_lists.d.ts +0 -1404
- package/dist/generated/models/thread_lists.js +0 -2
- package/dist/generated/models/thread_lists.js.map +0 -1
- package/dist/generated/models/threads.d.ts +0 -1247
- package/dist/generated/models/threads.js +0 -2
- package/dist/generated/models/threads.js.map +0 -1
- package/dist/gmail-cache.d.ts +0 -60
- package/dist/gmail-cache.js +0 -264
- package/dist/gmail-cache.js.map +0 -1
- package/docs/gogcli-gmail-implementation.md +0 -599
- package/scripts/test-device-code-clients.ts +0 -186
- package/scripts/test-micropython-scopes.ts +0 -72
- package/scripts/test-oauth-clients.ts +0 -257
- package/src/gmail-cache.ts +0 -339
- package/tsconfig.json +0 -16
|
@@ -0,0 +1,1161 @@
|
|
|
1
|
+
import type * as runtime from "@prisma/client/runtime/client";
|
|
2
|
+
import type * as Prisma from "../internal/prismaNamespace.js";
|
|
3
|
+
/**
|
|
4
|
+
* Model CalendarList
|
|
5
|
+
*
|
|
6
|
+
*/
|
|
7
|
+
export type CalendarListModel = runtime.Types.Result.DefaultSelection<Prisma.$CalendarListPayload>;
|
|
8
|
+
export type AggregateCalendarList = {
|
|
9
|
+
_count: CalendarListCountAggregateOutputType | null;
|
|
10
|
+
_avg: CalendarListAvgAggregateOutputType | null;
|
|
11
|
+
_sum: CalendarListSumAggregateOutputType | null;
|
|
12
|
+
_min: CalendarListMinAggregateOutputType | null;
|
|
13
|
+
_max: CalendarListMaxAggregateOutputType | null;
|
|
14
|
+
};
|
|
15
|
+
export type CalendarListAvgAggregateOutputType = {
|
|
16
|
+
ttlMs: number | null;
|
|
17
|
+
};
|
|
18
|
+
export type CalendarListSumAggregateOutputType = {
|
|
19
|
+
ttlMs: number | null;
|
|
20
|
+
};
|
|
21
|
+
export type CalendarListMinAggregateOutputType = {
|
|
22
|
+
email: string | null;
|
|
23
|
+
appId: string | null;
|
|
24
|
+
rawData: string | null;
|
|
25
|
+
ttlMs: number | null;
|
|
26
|
+
createdAt: Date | null;
|
|
27
|
+
};
|
|
28
|
+
export type CalendarListMaxAggregateOutputType = {
|
|
29
|
+
email: string | null;
|
|
30
|
+
appId: string | null;
|
|
31
|
+
rawData: string | null;
|
|
32
|
+
ttlMs: number | null;
|
|
33
|
+
createdAt: Date | null;
|
|
34
|
+
};
|
|
35
|
+
export type CalendarListCountAggregateOutputType = {
|
|
36
|
+
email: number;
|
|
37
|
+
appId: number;
|
|
38
|
+
rawData: number;
|
|
39
|
+
ttlMs: number;
|
|
40
|
+
createdAt: number;
|
|
41
|
+
_all: number;
|
|
42
|
+
};
|
|
43
|
+
export type CalendarListAvgAggregateInputType = {
|
|
44
|
+
ttlMs?: true;
|
|
45
|
+
};
|
|
46
|
+
export type CalendarListSumAggregateInputType = {
|
|
47
|
+
ttlMs?: true;
|
|
48
|
+
};
|
|
49
|
+
export type CalendarListMinAggregateInputType = {
|
|
50
|
+
email?: true;
|
|
51
|
+
appId?: true;
|
|
52
|
+
rawData?: true;
|
|
53
|
+
ttlMs?: true;
|
|
54
|
+
createdAt?: true;
|
|
55
|
+
};
|
|
56
|
+
export type CalendarListMaxAggregateInputType = {
|
|
57
|
+
email?: true;
|
|
58
|
+
appId?: true;
|
|
59
|
+
rawData?: true;
|
|
60
|
+
ttlMs?: true;
|
|
61
|
+
createdAt?: true;
|
|
62
|
+
};
|
|
63
|
+
export type CalendarListCountAggregateInputType = {
|
|
64
|
+
email?: true;
|
|
65
|
+
appId?: true;
|
|
66
|
+
rawData?: true;
|
|
67
|
+
ttlMs?: true;
|
|
68
|
+
createdAt?: true;
|
|
69
|
+
_all?: true;
|
|
70
|
+
};
|
|
71
|
+
export type CalendarListAggregateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
72
|
+
/**
|
|
73
|
+
* Filter which CalendarList to aggregate.
|
|
74
|
+
*/
|
|
75
|
+
where?: Prisma.CalendarListWhereInput;
|
|
76
|
+
/**
|
|
77
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
|
|
78
|
+
*
|
|
79
|
+
* Determine the order of CalendarLists to fetch.
|
|
80
|
+
*/
|
|
81
|
+
orderBy?: Prisma.CalendarListOrderByWithRelationInput | Prisma.CalendarListOrderByWithRelationInput[];
|
|
82
|
+
/**
|
|
83
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
|
|
84
|
+
*
|
|
85
|
+
* Sets the start position
|
|
86
|
+
*/
|
|
87
|
+
cursor?: Prisma.CalendarListWhereUniqueInput;
|
|
88
|
+
/**
|
|
89
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
90
|
+
*
|
|
91
|
+
* Take `±n` CalendarLists from the position of the cursor.
|
|
92
|
+
*/
|
|
93
|
+
take?: number;
|
|
94
|
+
/**
|
|
95
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
96
|
+
*
|
|
97
|
+
* Skip the first `n` CalendarLists.
|
|
98
|
+
*/
|
|
99
|
+
skip?: number;
|
|
100
|
+
/**
|
|
101
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
|
|
102
|
+
*
|
|
103
|
+
* Count returned CalendarLists
|
|
104
|
+
**/
|
|
105
|
+
_count?: true | CalendarListCountAggregateInputType;
|
|
106
|
+
/**
|
|
107
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
|
|
108
|
+
*
|
|
109
|
+
* Select which fields to average
|
|
110
|
+
**/
|
|
111
|
+
_avg?: CalendarListAvgAggregateInputType;
|
|
112
|
+
/**
|
|
113
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
|
|
114
|
+
*
|
|
115
|
+
* Select which fields to sum
|
|
116
|
+
**/
|
|
117
|
+
_sum?: CalendarListSumAggregateInputType;
|
|
118
|
+
/**
|
|
119
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
|
|
120
|
+
*
|
|
121
|
+
* Select which fields to find the minimum value
|
|
122
|
+
**/
|
|
123
|
+
_min?: CalendarListMinAggregateInputType;
|
|
124
|
+
/**
|
|
125
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
|
|
126
|
+
*
|
|
127
|
+
* Select which fields to find the maximum value
|
|
128
|
+
**/
|
|
129
|
+
_max?: CalendarListMaxAggregateInputType;
|
|
130
|
+
};
|
|
131
|
+
export type GetCalendarListAggregateType<T extends CalendarListAggregateArgs> = {
|
|
132
|
+
[P in keyof T & keyof AggregateCalendarList]: P extends '_count' | 'count' ? T[P] extends true ? number : Prisma.GetScalarType<T[P], AggregateCalendarList[P]> : Prisma.GetScalarType<T[P], AggregateCalendarList[P]>;
|
|
133
|
+
};
|
|
134
|
+
export type CalendarListGroupByArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
135
|
+
where?: Prisma.CalendarListWhereInput;
|
|
136
|
+
orderBy?: Prisma.CalendarListOrderByWithAggregationInput | Prisma.CalendarListOrderByWithAggregationInput[];
|
|
137
|
+
by: Prisma.CalendarListScalarFieldEnum[] | Prisma.CalendarListScalarFieldEnum;
|
|
138
|
+
having?: Prisma.CalendarListScalarWhereWithAggregatesInput;
|
|
139
|
+
take?: number;
|
|
140
|
+
skip?: number;
|
|
141
|
+
_count?: CalendarListCountAggregateInputType | true;
|
|
142
|
+
_avg?: CalendarListAvgAggregateInputType;
|
|
143
|
+
_sum?: CalendarListSumAggregateInputType;
|
|
144
|
+
_min?: CalendarListMinAggregateInputType;
|
|
145
|
+
_max?: CalendarListMaxAggregateInputType;
|
|
146
|
+
};
|
|
147
|
+
export type CalendarListGroupByOutputType = {
|
|
148
|
+
email: string;
|
|
149
|
+
appId: string;
|
|
150
|
+
rawData: string;
|
|
151
|
+
ttlMs: number;
|
|
152
|
+
createdAt: Date;
|
|
153
|
+
_count: CalendarListCountAggregateOutputType | null;
|
|
154
|
+
_avg: CalendarListAvgAggregateOutputType | null;
|
|
155
|
+
_sum: CalendarListSumAggregateOutputType | null;
|
|
156
|
+
_min: CalendarListMinAggregateOutputType | null;
|
|
157
|
+
_max: CalendarListMaxAggregateOutputType | null;
|
|
158
|
+
};
|
|
159
|
+
type GetCalendarListGroupByPayload<T extends CalendarListGroupByArgs> = Prisma.PrismaPromise<Array<Prisma.PickEnumerable<CalendarListGroupByOutputType, T['by']> & {
|
|
160
|
+
[P in ((keyof T) & (keyof CalendarListGroupByOutputType))]: P extends '_count' ? T[P] extends boolean ? number : Prisma.GetScalarType<T[P], CalendarListGroupByOutputType[P]> : Prisma.GetScalarType<T[P], CalendarListGroupByOutputType[P]>;
|
|
161
|
+
}>>;
|
|
162
|
+
export type CalendarListWhereInput = {
|
|
163
|
+
AND?: Prisma.CalendarListWhereInput | Prisma.CalendarListWhereInput[];
|
|
164
|
+
OR?: Prisma.CalendarListWhereInput[];
|
|
165
|
+
NOT?: Prisma.CalendarListWhereInput | Prisma.CalendarListWhereInput[];
|
|
166
|
+
email?: Prisma.StringFilter<"CalendarList"> | string;
|
|
167
|
+
appId?: Prisma.StringFilter<"CalendarList"> | string;
|
|
168
|
+
rawData?: Prisma.StringFilter<"CalendarList"> | string;
|
|
169
|
+
ttlMs?: Prisma.IntFilter<"CalendarList"> | number;
|
|
170
|
+
createdAt?: Prisma.DateTimeFilter<"CalendarList"> | Date | string;
|
|
171
|
+
account?: Prisma.XOR<Prisma.AccountScalarRelationFilter, Prisma.AccountWhereInput>;
|
|
172
|
+
};
|
|
173
|
+
export type CalendarListOrderByWithRelationInput = {
|
|
174
|
+
email?: Prisma.SortOrder;
|
|
175
|
+
appId?: Prisma.SortOrder;
|
|
176
|
+
rawData?: Prisma.SortOrder;
|
|
177
|
+
ttlMs?: Prisma.SortOrder;
|
|
178
|
+
createdAt?: Prisma.SortOrder;
|
|
179
|
+
account?: Prisma.AccountOrderByWithRelationInput;
|
|
180
|
+
};
|
|
181
|
+
export type CalendarListWhereUniqueInput = Prisma.AtLeast<{
|
|
182
|
+
email_appId?: Prisma.CalendarListEmailAppIdCompoundUniqueInput;
|
|
183
|
+
AND?: Prisma.CalendarListWhereInput | Prisma.CalendarListWhereInput[];
|
|
184
|
+
OR?: Prisma.CalendarListWhereInput[];
|
|
185
|
+
NOT?: Prisma.CalendarListWhereInput | Prisma.CalendarListWhereInput[];
|
|
186
|
+
email?: Prisma.StringFilter<"CalendarList"> | string;
|
|
187
|
+
appId?: Prisma.StringFilter<"CalendarList"> | string;
|
|
188
|
+
rawData?: Prisma.StringFilter<"CalendarList"> | string;
|
|
189
|
+
ttlMs?: Prisma.IntFilter<"CalendarList"> | number;
|
|
190
|
+
createdAt?: Prisma.DateTimeFilter<"CalendarList"> | Date | string;
|
|
191
|
+
account?: Prisma.XOR<Prisma.AccountScalarRelationFilter, Prisma.AccountWhereInput>;
|
|
192
|
+
}, "email_appId">;
|
|
193
|
+
export type CalendarListOrderByWithAggregationInput = {
|
|
194
|
+
email?: Prisma.SortOrder;
|
|
195
|
+
appId?: Prisma.SortOrder;
|
|
196
|
+
rawData?: Prisma.SortOrder;
|
|
197
|
+
ttlMs?: Prisma.SortOrder;
|
|
198
|
+
createdAt?: Prisma.SortOrder;
|
|
199
|
+
_count?: Prisma.CalendarListCountOrderByAggregateInput;
|
|
200
|
+
_avg?: Prisma.CalendarListAvgOrderByAggregateInput;
|
|
201
|
+
_max?: Prisma.CalendarListMaxOrderByAggregateInput;
|
|
202
|
+
_min?: Prisma.CalendarListMinOrderByAggregateInput;
|
|
203
|
+
_sum?: Prisma.CalendarListSumOrderByAggregateInput;
|
|
204
|
+
};
|
|
205
|
+
export type CalendarListScalarWhereWithAggregatesInput = {
|
|
206
|
+
AND?: Prisma.CalendarListScalarWhereWithAggregatesInput | Prisma.CalendarListScalarWhereWithAggregatesInput[];
|
|
207
|
+
OR?: Prisma.CalendarListScalarWhereWithAggregatesInput[];
|
|
208
|
+
NOT?: Prisma.CalendarListScalarWhereWithAggregatesInput | Prisma.CalendarListScalarWhereWithAggregatesInput[];
|
|
209
|
+
email?: Prisma.StringWithAggregatesFilter<"CalendarList"> | string;
|
|
210
|
+
appId?: Prisma.StringWithAggregatesFilter<"CalendarList"> | string;
|
|
211
|
+
rawData?: Prisma.StringWithAggregatesFilter<"CalendarList"> | string;
|
|
212
|
+
ttlMs?: Prisma.IntWithAggregatesFilter<"CalendarList"> | number;
|
|
213
|
+
createdAt?: Prisma.DateTimeWithAggregatesFilter<"CalendarList"> | Date | string;
|
|
214
|
+
};
|
|
215
|
+
export type CalendarListCreateInput = {
|
|
216
|
+
rawData: string;
|
|
217
|
+
ttlMs: number;
|
|
218
|
+
createdAt: Date | string;
|
|
219
|
+
account: Prisma.AccountCreateNestedOneWithoutCalendarListsInput;
|
|
220
|
+
};
|
|
221
|
+
export type CalendarListUncheckedCreateInput = {
|
|
222
|
+
email: string;
|
|
223
|
+
appId: string;
|
|
224
|
+
rawData: string;
|
|
225
|
+
ttlMs: number;
|
|
226
|
+
createdAt: Date | string;
|
|
227
|
+
};
|
|
228
|
+
export type CalendarListUpdateInput = {
|
|
229
|
+
rawData?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
230
|
+
ttlMs?: Prisma.IntFieldUpdateOperationsInput | number;
|
|
231
|
+
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
232
|
+
account?: Prisma.AccountUpdateOneRequiredWithoutCalendarListsNestedInput;
|
|
233
|
+
};
|
|
234
|
+
export type CalendarListUncheckedUpdateInput = {
|
|
235
|
+
email?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
236
|
+
appId?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
237
|
+
rawData?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
238
|
+
ttlMs?: Prisma.IntFieldUpdateOperationsInput | number;
|
|
239
|
+
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
240
|
+
};
|
|
241
|
+
export type CalendarListCreateManyInput = {
|
|
242
|
+
email: string;
|
|
243
|
+
appId: string;
|
|
244
|
+
rawData: string;
|
|
245
|
+
ttlMs: number;
|
|
246
|
+
createdAt: Date | string;
|
|
247
|
+
};
|
|
248
|
+
export type CalendarListUpdateManyMutationInput = {
|
|
249
|
+
rawData?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
250
|
+
ttlMs?: Prisma.IntFieldUpdateOperationsInput | number;
|
|
251
|
+
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
252
|
+
};
|
|
253
|
+
export type CalendarListUncheckedUpdateManyInput = {
|
|
254
|
+
email?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
255
|
+
appId?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
256
|
+
rawData?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
257
|
+
ttlMs?: Prisma.IntFieldUpdateOperationsInput | number;
|
|
258
|
+
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
259
|
+
};
|
|
260
|
+
export type CalendarListNullableScalarRelationFilter = {
|
|
261
|
+
is?: Prisma.CalendarListWhereInput | null;
|
|
262
|
+
isNot?: Prisma.CalendarListWhereInput | null;
|
|
263
|
+
};
|
|
264
|
+
export type CalendarListEmailAppIdCompoundUniqueInput = {
|
|
265
|
+
email: string;
|
|
266
|
+
appId: string;
|
|
267
|
+
};
|
|
268
|
+
export type CalendarListCountOrderByAggregateInput = {
|
|
269
|
+
email?: Prisma.SortOrder;
|
|
270
|
+
appId?: Prisma.SortOrder;
|
|
271
|
+
rawData?: Prisma.SortOrder;
|
|
272
|
+
ttlMs?: Prisma.SortOrder;
|
|
273
|
+
createdAt?: Prisma.SortOrder;
|
|
274
|
+
};
|
|
275
|
+
export type CalendarListAvgOrderByAggregateInput = {
|
|
276
|
+
ttlMs?: Prisma.SortOrder;
|
|
277
|
+
};
|
|
278
|
+
export type CalendarListMaxOrderByAggregateInput = {
|
|
279
|
+
email?: Prisma.SortOrder;
|
|
280
|
+
appId?: Prisma.SortOrder;
|
|
281
|
+
rawData?: Prisma.SortOrder;
|
|
282
|
+
ttlMs?: Prisma.SortOrder;
|
|
283
|
+
createdAt?: Prisma.SortOrder;
|
|
284
|
+
};
|
|
285
|
+
export type CalendarListMinOrderByAggregateInput = {
|
|
286
|
+
email?: Prisma.SortOrder;
|
|
287
|
+
appId?: Prisma.SortOrder;
|
|
288
|
+
rawData?: Prisma.SortOrder;
|
|
289
|
+
ttlMs?: Prisma.SortOrder;
|
|
290
|
+
createdAt?: Prisma.SortOrder;
|
|
291
|
+
};
|
|
292
|
+
export type CalendarListSumOrderByAggregateInput = {
|
|
293
|
+
ttlMs?: Prisma.SortOrder;
|
|
294
|
+
};
|
|
295
|
+
export type CalendarListCreateNestedOneWithoutAccountInput = {
|
|
296
|
+
create?: Prisma.XOR<Prisma.CalendarListCreateWithoutAccountInput, Prisma.CalendarListUncheckedCreateWithoutAccountInput>;
|
|
297
|
+
connectOrCreate?: Prisma.CalendarListCreateOrConnectWithoutAccountInput;
|
|
298
|
+
connect?: Prisma.CalendarListWhereUniqueInput;
|
|
299
|
+
};
|
|
300
|
+
export type CalendarListUncheckedCreateNestedOneWithoutAccountInput = {
|
|
301
|
+
create?: Prisma.XOR<Prisma.CalendarListCreateWithoutAccountInput, Prisma.CalendarListUncheckedCreateWithoutAccountInput>;
|
|
302
|
+
connectOrCreate?: Prisma.CalendarListCreateOrConnectWithoutAccountInput;
|
|
303
|
+
connect?: Prisma.CalendarListWhereUniqueInput;
|
|
304
|
+
};
|
|
305
|
+
export type CalendarListUpdateOneWithoutAccountNestedInput = {
|
|
306
|
+
create?: Prisma.XOR<Prisma.CalendarListCreateWithoutAccountInput, Prisma.CalendarListUncheckedCreateWithoutAccountInput>;
|
|
307
|
+
connectOrCreate?: Prisma.CalendarListCreateOrConnectWithoutAccountInput;
|
|
308
|
+
upsert?: Prisma.CalendarListUpsertWithoutAccountInput;
|
|
309
|
+
disconnect?: Prisma.CalendarListWhereInput | boolean;
|
|
310
|
+
delete?: Prisma.CalendarListWhereInput | boolean;
|
|
311
|
+
connect?: Prisma.CalendarListWhereUniqueInput;
|
|
312
|
+
update?: Prisma.XOR<Prisma.XOR<Prisma.CalendarListUpdateToOneWithWhereWithoutAccountInput, Prisma.CalendarListUpdateWithoutAccountInput>, Prisma.CalendarListUncheckedUpdateWithoutAccountInput>;
|
|
313
|
+
};
|
|
314
|
+
export type CalendarListUncheckedUpdateOneWithoutAccountNestedInput = {
|
|
315
|
+
create?: Prisma.XOR<Prisma.CalendarListCreateWithoutAccountInput, Prisma.CalendarListUncheckedCreateWithoutAccountInput>;
|
|
316
|
+
connectOrCreate?: Prisma.CalendarListCreateOrConnectWithoutAccountInput;
|
|
317
|
+
upsert?: Prisma.CalendarListUpsertWithoutAccountInput;
|
|
318
|
+
disconnect?: Prisma.CalendarListWhereInput | boolean;
|
|
319
|
+
delete?: Prisma.CalendarListWhereInput | boolean;
|
|
320
|
+
connect?: Prisma.CalendarListWhereUniqueInput;
|
|
321
|
+
update?: Prisma.XOR<Prisma.XOR<Prisma.CalendarListUpdateToOneWithWhereWithoutAccountInput, Prisma.CalendarListUpdateWithoutAccountInput>, Prisma.CalendarListUncheckedUpdateWithoutAccountInput>;
|
|
322
|
+
};
|
|
323
|
+
export type CalendarListCreateWithoutAccountInput = {
|
|
324
|
+
rawData: string;
|
|
325
|
+
ttlMs: number;
|
|
326
|
+
createdAt: Date | string;
|
|
327
|
+
};
|
|
328
|
+
export type CalendarListUncheckedCreateWithoutAccountInput = {
|
|
329
|
+
rawData: string;
|
|
330
|
+
ttlMs: number;
|
|
331
|
+
createdAt: Date | string;
|
|
332
|
+
};
|
|
333
|
+
export type CalendarListCreateOrConnectWithoutAccountInput = {
|
|
334
|
+
where: Prisma.CalendarListWhereUniqueInput;
|
|
335
|
+
create: Prisma.XOR<Prisma.CalendarListCreateWithoutAccountInput, Prisma.CalendarListUncheckedCreateWithoutAccountInput>;
|
|
336
|
+
};
|
|
337
|
+
export type CalendarListUpsertWithoutAccountInput = {
|
|
338
|
+
update: Prisma.XOR<Prisma.CalendarListUpdateWithoutAccountInput, Prisma.CalendarListUncheckedUpdateWithoutAccountInput>;
|
|
339
|
+
create: Prisma.XOR<Prisma.CalendarListCreateWithoutAccountInput, Prisma.CalendarListUncheckedCreateWithoutAccountInput>;
|
|
340
|
+
where?: Prisma.CalendarListWhereInput;
|
|
341
|
+
};
|
|
342
|
+
export type CalendarListUpdateToOneWithWhereWithoutAccountInput = {
|
|
343
|
+
where?: Prisma.CalendarListWhereInput;
|
|
344
|
+
data: Prisma.XOR<Prisma.CalendarListUpdateWithoutAccountInput, Prisma.CalendarListUncheckedUpdateWithoutAccountInput>;
|
|
345
|
+
};
|
|
346
|
+
export type CalendarListUpdateWithoutAccountInput = {
|
|
347
|
+
rawData?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
348
|
+
ttlMs?: Prisma.IntFieldUpdateOperationsInput | number;
|
|
349
|
+
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
350
|
+
};
|
|
351
|
+
export type CalendarListUncheckedUpdateWithoutAccountInput = {
|
|
352
|
+
rawData?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
353
|
+
ttlMs?: Prisma.IntFieldUpdateOperationsInput | number;
|
|
354
|
+
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
355
|
+
};
|
|
356
|
+
export type CalendarListSelect<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetSelect<{
|
|
357
|
+
email?: boolean;
|
|
358
|
+
appId?: boolean;
|
|
359
|
+
rawData?: boolean;
|
|
360
|
+
ttlMs?: boolean;
|
|
361
|
+
createdAt?: boolean;
|
|
362
|
+
account?: boolean | Prisma.AccountDefaultArgs<ExtArgs>;
|
|
363
|
+
}, ExtArgs["result"]["calendarList"]>;
|
|
364
|
+
export type CalendarListSelectCreateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetSelect<{
|
|
365
|
+
email?: boolean;
|
|
366
|
+
appId?: boolean;
|
|
367
|
+
rawData?: boolean;
|
|
368
|
+
ttlMs?: boolean;
|
|
369
|
+
createdAt?: boolean;
|
|
370
|
+
account?: boolean | Prisma.AccountDefaultArgs<ExtArgs>;
|
|
371
|
+
}, ExtArgs["result"]["calendarList"]>;
|
|
372
|
+
export type CalendarListSelectUpdateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetSelect<{
|
|
373
|
+
email?: boolean;
|
|
374
|
+
appId?: boolean;
|
|
375
|
+
rawData?: boolean;
|
|
376
|
+
ttlMs?: boolean;
|
|
377
|
+
createdAt?: boolean;
|
|
378
|
+
account?: boolean | Prisma.AccountDefaultArgs<ExtArgs>;
|
|
379
|
+
}, ExtArgs["result"]["calendarList"]>;
|
|
380
|
+
export type CalendarListSelectScalar = {
|
|
381
|
+
email?: boolean;
|
|
382
|
+
appId?: boolean;
|
|
383
|
+
rawData?: boolean;
|
|
384
|
+
ttlMs?: boolean;
|
|
385
|
+
createdAt?: boolean;
|
|
386
|
+
};
|
|
387
|
+
export type CalendarListOmit<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetOmit<"email" | "appId" | "rawData" | "ttlMs" | "createdAt", ExtArgs["result"]["calendarList"]>;
|
|
388
|
+
export type CalendarListInclude<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
389
|
+
account?: boolean | Prisma.AccountDefaultArgs<ExtArgs>;
|
|
390
|
+
};
|
|
391
|
+
export type CalendarListIncludeCreateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
392
|
+
account?: boolean | Prisma.AccountDefaultArgs<ExtArgs>;
|
|
393
|
+
};
|
|
394
|
+
export type CalendarListIncludeUpdateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
395
|
+
account?: boolean | Prisma.AccountDefaultArgs<ExtArgs>;
|
|
396
|
+
};
|
|
397
|
+
export type $CalendarListPayload<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
398
|
+
name: "CalendarList";
|
|
399
|
+
objects: {
|
|
400
|
+
account: Prisma.$AccountPayload<ExtArgs>;
|
|
401
|
+
};
|
|
402
|
+
scalars: runtime.Types.Extensions.GetPayloadResult<{
|
|
403
|
+
email: string;
|
|
404
|
+
appId: string;
|
|
405
|
+
rawData: string;
|
|
406
|
+
ttlMs: number;
|
|
407
|
+
createdAt: Date;
|
|
408
|
+
}, ExtArgs["result"]["calendarList"]>;
|
|
409
|
+
composites: {};
|
|
410
|
+
};
|
|
411
|
+
export type CalendarListGetPayload<S extends boolean | null | undefined | CalendarListDefaultArgs> = runtime.Types.Result.GetResult<Prisma.$CalendarListPayload, S>;
|
|
412
|
+
export type CalendarListCountArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = Omit<CalendarListFindManyArgs, 'select' | 'include' | 'distinct' | 'omit'> & {
|
|
413
|
+
select?: CalendarListCountAggregateInputType | true;
|
|
414
|
+
};
|
|
415
|
+
export interface CalendarListDelegate<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs, GlobalOmitOptions = {}> {
|
|
416
|
+
[K: symbol]: {
|
|
417
|
+
types: Prisma.TypeMap<ExtArgs>['model']['CalendarList'];
|
|
418
|
+
meta: {
|
|
419
|
+
name: 'CalendarList';
|
|
420
|
+
};
|
|
421
|
+
};
|
|
422
|
+
/**
|
|
423
|
+
* Find zero or one CalendarList that matches the filter.
|
|
424
|
+
* @param {CalendarListFindUniqueArgs} args - Arguments to find a CalendarList
|
|
425
|
+
* @example
|
|
426
|
+
* // Get one CalendarList
|
|
427
|
+
* const calendarList = await prisma.calendarList.findUnique({
|
|
428
|
+
* where: {
|
|
429
|
+
* // ... provide filter here
|
|
430
|
+
* }
|
|
431
|
+
* })
|
|
432
|
+
*/
|
|
433
|
+
findUnique<T extends CalendarListFindUniqueArgs>(args: Prisma.SelectSubset<T, CalendarListFindUniqueArgs<ExtArgs>>): Prisma.Prisma__CalendarListClient<runtime.Types.Result.GetResult<Prisma.$CalendarListPayload<ExtArgs>, T, "findUnique", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions>;
|
|
434
|
+
/**
|
|
435
|
+
* Find one CalendarList that matches the filter or throw an error with `error.code='P2025'`
|
|
436
|
+
* if no matches were found.
|
|
437
|
+
* @param {CalendarListFindUniqueOrThrowArgs} args - Arguments to find a CalendarList
|
|
438
|
+
* @example
|
|
439
|
+
* // Get one CalendarList
|
|
440
|
+
* const calendarList = await prisma.calendarList.findUniqueOrThrow({
|
|
441
|
+
* where: {
|
|
442
|
+
* // ... provide filter here
|
|
443
|
+
* }
|
|
444
|
+
* })
|
|
445
|
+
*/
|
|
446
|
+
findUniqueOrThrow<T extends CalendarListFindUniqueOrThrowArgs>(args: Prisma.SelectSubset<T, CalendarListFindUniqueOrThrowArgs<ExtArgs>>): Prisma.Prisma__CalendarListClient<runtime.Types.Result.GetResult<Prisma.$CalendarListPayload<ExtArgs>, T, "findUniqueOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>;
|
|
447
|
+
/**
|
|
448
|
+
* Find the first CalendarList that matches the filter.
|
|
449
|
+
* Note, that providing `undefined` is treated as the value not being there.
|
|
450
|
+
* Read more here: https://pris.ly/d/null-undefined
|
|
451
|
+
* @param {CalendarListFindFirstArgs} args - Arguments to find a CalendarList
|
|
452
|
+
* @example
|
|
453
|
+
* // Get one CalendarList
|
|
454
|
+
* const calendarList = await prisma.calendarList.findFirst({
|
|
455
|
+
* where: {
|
|
456
|
+
* // ... provide filter here
|
|
457
|
+
* }
|
|
458
|
+
* })
|
|
459
|
+
*/
|
|
460
|
+
findFirst<T extends CalendarListFindFirstArgs>(args?: Prisma.SelectSubset<T, CalendarListFindFirstArgs<ExtArgs>>): Prisma.Prisma__CalendarListClient<runtime.Types.Result.GetResult<Prisma.$CalendarListPayload<ExtArgs>, T, "findFirst", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions>;
|
|
461
|
+
/**
|
|
462
|
+
* Find the first CalendarList that matches the filter or
|
|
463
|
+
* throw `PrismaKnownClientError` with `P2025` code if no matches were found.
|
|
464
|
+
* Note, that providing `undefined` is treated as the value not being there.
|
|
465
|
+
* Read more here: https://pris.ly/d/null-undefined
|
|
466
|
+
* @param {CalendarListFindFirstOrThrowArgs} args - Arguments to find a CalendarList
|
|
467
|
+
* @example
|
|
468
|
+
* // Get one CalendarList
|
|
469
|
+
* const calendarList = await prisma.calendarList.findFirstOrThrow({
|
|
470
|
+
* where: {
|
|
471
|
+
* // ... provide filter here
|
|
472
|
+
* }
|
|
473
|
+
* })
|
|
474
|
+
*/
|
|
475
|
+
findFirstOrThrow<T extends CalendarListFindFirstOrThrowArgs>(args?: Prisma.SelectSubset<T, CalendarListFindFirstOrThrowArgs<ExtArgs>>): Prisma.Prisma__CalendarListClient<runtime.Types.Result.GetResult<Prisma.$CalendarListPayload<ExtArgs>, T, "findFirstOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>;
|
|
476
|
+
/**
|
|
477
|
+
* Find zero or more CalendarLists that matches the filter.
|
|
478
|
+
* Note, that providing `undefined` is treated as the value not being there.
|
|
479
|
+
* Read more here: https://pris.ly/d/null-undefined
|
|
480
|
+
* @param {CalendarListFindManyArgs} args - Arguments to filter and select certain fields only.
|
|
481
|
+
* @example
|
|
482
|
+
* // Get all CalendarLists
|
|
483
|
+
* const calendarLists = await prisma.calendarList.findMany()
|
|
484
|
+
*
|
|
485
|
+
* // Get first 10 CalendarLists
|
|
486
|
+
* const calendarLists = await prisma.calendarList.findMany({ take: 10 })
|
|
487
|
+
*
|
|
488
|
+
* // Only select the `email`
|
|
489
|
+
* const calendarListWithEmailOnly = await prisma.calendarList.findMany({ select: { email: true } })
|
|
490
|
+
*
|
|
491
|
+
*/
|
|
492
|
+
findMany<T extends CalendarListFindManyArgs>(args?: Prisma.SelectSubset<T, CalendarListFindManyArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$CalendarListPayload<ExtArgs>, T, "findMany", GlobalOmitOptions>>;
|
|
493
|
+
/**
|
|
494
|
+
* Create a CalendarList.
|
|
495
|
+
* @param {CalendarListCreateArgs} args - Arguments to create a CalendarList.
|
|
496
|
+
* @example
|
|
497
|
+
* // Create one CalendarList
|
|
498
|
+
* const CalendarList = await prisma.calendarList.create({
|
|
499
|
+
* data: {
|
|
500
|
+
* // ... data to create a CalendarList
|
|
501
|
+
* }
|
|
502
|
+
* })
|
|
503
|
+
*
|
|
504
|
+
*/
|
|
505
|
+
create<T extends CalendarListCreateArgs>(args: Prisma.SelectSubset<T, CalendarListCreateArgs<ExtArgs>>): Prisma.Prisma__CalendarListClient<runtime.Types.Result.GetResult<Prisma.$CalendarListPayload<ExtArgs>, T, "create", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>;
|
|
506
|
+
/**
|
|
507
|
+
* Create many CalendarLists.
|
|
508
|
+
* @param {CalendarListCreateManyArgs} args - Arguments to create many CalendarLists.
|
|
509
|
+
* @example
|
|
510
|
+
* // Create many CalendarLists
|
|
511
|
+
* const calendarList = await prisma.calendarList.createMany({
|
|
512
|
+
* data: [
|
|
513
|
+
* // ... provide data here
|
|
514
|
+
* ]
|
|
515
|
+
* })
|
|
516
|
+
*
|
|
517
|
+
*/
|
|
518
|
+
createMany<T extends CalendarListCreateManyArgs>(args?: Prisma.SelectSubset<T, CalendarListCreateManyArgs<ExtArgs>>): Prisma.PrismaPromise<Prisma.BatchPayload>;
|
|
519
|
+
/**
|
|
520
|
+
* Create many CalendarLists and returns the data saved in the database.
|
|
521
|
+
* @param {CalendarListCreateManyAndReturnArgs} args - Arguments to create many CalendarLists.
|
|
522
|
+
* @example
|
|
523
|
+
* // Create many CalendarLists
|
|
524
|
+
* const calendarList = await prisma.calendarList.createManyAndReturn({
|
|
525
|
+
* data: [
|
|
526
|
+
* // ... provide data here
|
|
527
|
+
* ]
|
|
528
|
+
* })
|
|
529
|
+
*
|
|
530
|
+
* // Create many CalendarLists and only return the `email`
|
|
531
|
+
* const calendarListWithEmailOnly = await prisma.calendarList.createManyAndReturn({
|
|
532
|
+
* select: { email: true },
|
|
533
|
+
* data: [
|
|
534
|
+
* // ... provide data here
|
|
535
|
+
* ]
|
|
536
|
+
* })
|
|
537
|
+
* Note, that providing `undefined` is treated as the value not being there.
|
|
538
|
+
* Read more here: https://pris.ly/d/null-undefined
|
|
539
|
+
*
|
|
540
|
+
*/
|
|
541
|
+
createManyAndReturn<T extends CalendarListCreateManyAndReturnArgs>(args?: Prisma.SelectSubset<T, CalendarListCreateManyAndReturnArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$CalendarListPayload<ExtArgs>, T, "createManyAndReturn", GlobalOmitOptions>>;
|
|
542
|
+
/**
|
|
543
|
+
* Delete a CalendarList.
|
|
544
|
+
* @param {CalendarListDeleteArgs} args - Arguments to delete one CalendarList.
|
|
545
|
+
* @example
|
|
546
|
+
* // Delete one CalendarList
|
|
547
|
+
* const CalendarList = await prisma.calendarList.delete({
|
|
548
|
+
* where: {
|
|
549
|
+
* // ... filter to delete one CalendarList
|
|
550
|
+
* }
|
|
551
|
+
* })
|
|
552
|
+
*
|
|
553
|
+
*/
|
|
554
|
+
delete<T extends CalendarListDeleteArgs>(args: Prisma.SelectSubset<T, CalendarListDeleteArgs<ExtArgs>>): Prisma.Prisma__CalendarListClient<runtime.Types.Result.GetResult<Prisma.$CalendarListPayload<ExtArgs>, T, "delete", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>;
|
|
555
|
+
/**
|
|
556
|
+
* Update one CalendarList.
|
|
557
|
+
* @param {CalendarListUpdateArgs} args - Arguments to update one CalendarList.
|
|
558
|
+
* @example
|
|
559
|
+
* // Update one CalendarList
|
|
560
|
+
* const calendarList = await prisma.calendarList.update({
|
|
561
|
+
* where: {
|
|
562
|
+
* // ... provide filter here
|
|
563
|
+
* },
|
|
564
|
+
* data: {
|
|
565
|
+
* // ... provide data here
|
|
566
|
+
* }
|
|
567
|
+
* })
|
|
568
|
+
*
|
|
569
|
+
*/
|
|
570
|
+
update<T extends CalendarListUpdateArgs>(args: Prisma.SelectSubset<T, CalendarListUpdateArgs<ExtArgs>>): Prisma.Prisma__CalendarListClient<runtime.Types.Result.GetResult<Prisma.$CalendarListPayload<ExtArgs>, T, "update", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>;
|
|
571
|
+
/**
|
|
572
|
+
* Delete zero or more CalendarLists.
|
|
573
|
+
* @param {CalendarListDeleteManyArgs} args - Arguments to filter CalendarLists to delete.
|
|
574
|
+
* @example
|
|
575
|
+
* // Delete a few CalendarLists
|
|
576
|
+
* const { count } = await prisma.calendarList.deleteMany({
|
|
577
|
+
* where: {
|
|
578
|
+
* // ... provide filter here
|
|
579
|
+
* }
|
|
580
|
+
* })
|
|
581
|
+
*
|
|
582
|
+
*/
|
|
583
|
+
deleteMany<T extends CalendarListDeleteManyArgs>(args?: Prisma.SelectSubset<T, CalendarListDeleteManyArgs<ExtArgs>>): Prisma.PrismaPromise<Prisma.BatchPayload>;
|
|
584
|
+
/**
|
|
585
|
+
* Update zero or more CalendarLists.
|
|
586
|
+
* Note, that providing `undefined` is treated as the value not being there.
|
|
587
|
+
* Read more here: https://pris.ly/d/null-undefined
|
|
588
|
+
* @param {CalendarListUpdateManyArgs} args - Arguments to update one or more rows.
|
|
589
|
+
* @example
|
|
590
|
+
* // Update many CalendarLists
|
|
591
|
+
* const calendarList = await prisma.calendarList.updateMany({
|
|
592
|
+
* where: {
|
|
593
|
+
* // ... provide filter here
|
|
594
|
+
* },
|
|
595
|
+
* data: {
|
|
596
|
+
* // ... provide data here
|
|
597
|
+
* }
|
|
598
|
+
* })
|
|
599
|
+
*
|
|
600
|
+
*/
|
|
601
|
+
updateMany<T extends CalendarListUpdateManyArgs>(args: Prisma.SelectSubset<T, CalendarListUpdateManyArgs<ExtArgs>>): Prisma.PrismaPromise<Prisma.BatchPayload>;
|
|
602
|
+
/**
|
|
603
|
+
* Update zero or more CalendarLists and returns the data updated in the database.
|
|
604
|
+
* @param {CalendarListUpdateManyAndReturnArgs} args - Arguments to update many CalendarLists.
|
|
605
|
+
* @example
|
|
606
|
+
* // Update many CalendarLists
|
|
607
|
+
* const calendarList = await prisma.calendarList.updateManyAndReturn({
|
|
608
|
+
* where: {
|
|
609
|
+
* // ... provide filter here
|
|
610
|
+
* },
|
|
611
|
+
* data: [
|
|
612
|
+
* // ... provide data here
|
|
613
|
+
* ]
|
|
614
|
+
* })
|
|
615
|
+
*
|
|
616
|
+
* // Update zero or more CalendarLists and only return the `email`
|
|
617
|
+
* const calendarListWithEmailOnly = await prisma.calendarList.updateManyAndReturn({
|
|
618
|
+
* select: { email: true },
|
|
619
|
+
* where: {
|
|
620
|
+
* // ... provide filter here
|
|
621
|
+
* },
|
|
622
|
+
* data: [
|
|
623
|
+
* // ... provide data here
|
|
624
|
+
* ]
|
|
625
|
+
* })
|
|
626
|
+
* Note, that providing `undefined` is treated as the value not being there.
|
|
627
|
+
* Read more here: https://pris.ly/d/null-undefined
|
|
628
|
+
*
|
|
629
|
+
*/
|
|
630
|
+
updateManyAndReturn<T extends CalendarListUpdateManyAndReturnArgs>(args: Prisma.SelectSubset<T, CalendarListUpdateManyAndReturnArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$CalendarListPayload<ExtArgs>, T, "updateManyAndReturn", GlobalOmitOptions>>;
|
|
631
|
+
/**
|
|
632
|
+
* Create or update one CalendarList.
|
|
633
|
+
* @param {CalendarListUpsertArgs} args - Arguments to update or create a CalendarList.
|
|
634
|
+
* @example
|
|
635
|
+
* // Update or create a CalendarList
|
|
636
|
+
* const calendarList = await prisma.calendarList.upsert({
|
|
637
|
+
* create: {
|
|
638
|
+
* // ... data to create a CalendarList
|
|
639
|
+
* },
|
|
640
|
+
* update: {
|
|
641
|
+
* // ... in case it already exists, update
|
|
642
|
+
* },
|
|
643
|
+
* where: {
|
|
644
|
+
* // ... the filter for the CalendarList we want to update
|
|
645
|
+
* }
|
|
646
|
+
* })
|
|
647
|
+
*/
|
|
648
|
+
upsert<T extends CalendarListUpsertArgs>(args: Prisma.SelectSubset<T, CalendarListUpsertArgs<ExtArgs>>): Prisma.Prisma__CalendarListClient<runtime.Types.Result.GetResult<Prisma.$CalendarListPayload<ExtArgs>, T, "upsert", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>;
|
|
649
|
+
/**
|
|
650
|
+
* Count the number of CalendarLists.
|
|
651
|
+
* Note, that providing `undefined` is treated as the value not being there.
|
|
652
|
+
* Read more here: https://pris.ly/d/null-undefined
|
|
653
|
+
* @param {CalendarListCountArgs} args - Arguments to filter CalendarLists to count.
|
|
654
|
+
* @example
|
|
655
|
+
* // Count the number of CalendarLists
|
|
656
|
+
* const count = await prisma.calendarList.count({
|
|
657
|
+
* where: {
|
|
658
|
+
* // ... the filter for the CalendarLists we want to count
|
|
659
|
+
* }
|
|
660
|
+
* })
|
|
661
|
+
**/
|
|
662
|
+
count<T extends CalendarListCountArgs>(args?: Prisma.Subset<T, CalendarListCountArgs>): Prisma.PrismaPromise<T extends runtime.Types.Utils.Record<'select', any> ? T['select'] extends true ? number : Prisma.GetScalarType<T['select'], CalendarListCountAggregateOutputType> : number>;
|
|
663
|
+
/**
|
|
664
|
+
* Allows you to perform aggregations operations on a CalendarList.
|
|
665
|
+
* Note, that providing `undefined` is treated as the value not being there.
|
|
666
|
+
* Read more here: https://pris.ly/d/null-undefined
|
|
667
|
+
* @param {CalendarListAggregateArgs} args - Select which aggregations you would like to apply and on what fields.
|
|
668
|
+
* @example
|
|
669
|
+
* // Ordered by age ascending
|
|
670
|
+
* // Where email contains prisma.io
|
|
671
|
+
* // Limited to the 10 users
|
|
672
|
+
* const aggregations = await prisma.user.aggregate({
|
|
673
|
+
* _avg: {
|
|
674
|
+
* age: true,
|
|
675
|
+
* },
|
|
676
|
+
* where: {
|
|
677
|
+
* email: {
|
|
678
|
+
* contains: "prisma.io",
|
|
679
|
+
* },
|
|
680
|
+
* },
|
|
681
|
+
* orderBy: {
|
|
682
|
+
* age: "asc",
|
|
683
|
+
* },
|
|
684
|
+
* take: 10,
|
|
685
|
+
* })
|
|
686
|
+
**/
|
|
687
|
+
aggregate<T extends CalendarListAggregateArgs>(args: Prisma.Subset<T, CalendarListAggregateArgs>): Prisma.PrismaPromise<GetCalendarListAggregateType<T>>;
|
|
688
|
+
/**
|
|
689
|
+
* Group by CalendarList.
|
|
690
|
+
* Note, that providing `undefined` is treated as the value not being there.
|
|
691
|
+
* Read more here: https://pris.ly/d/null-undefined
|
|
692
|
+
* @param {CalendarListGroupByArgs} args - Group by arguments.
|
|
693
|
+
* @example
|
|
694
|
+
* // Group by city, order by createdAt, get count
|
|
695
|
+
* const result = await prisma.user.groupBy({
|
|
696
|
+
* by: ['city', 'createdAt'],
|
|
697
|
+
* orderBy: {
|
|
698
|
+
* createdAt: true
|
|
699
|
+
* },
|
|
700
|
+
* _count: {
|
|
701
|
+
* _all: true
|
|
702
|
+
* },
|
|
703
|
+
* })
|
|
704
|
+
*
|
|
705
|
+
**/
|
|
706
|
+
groupBy<T extends CalendarListGroupByArgs, HasSelectOrTake extends Prisma.Or<Prisma.Extends<'skip', Prisma.Keys<T>>, Prisma.Extends<'take', Prisma.Keys<T>>>, OrderByArg extends Prisma.True extends HasSelectOrTake ? {
|
|
707
|
+
orderBy: CalendarListGroupByArgs['orderBy'];
|
|
708
|
+
} : {
|
|
709
|
+
orderBy?: CalendarListGroupByArgs['orderBy'];
|
|
710
|
+
}, 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 ? {
|
|
711
|
+
[P in HavingFields]: P extends ByFields ? never : P extends string ? `Error: Field "${P}" used in "having" needs to be provided in "by".` : [
|
|
712
|
+
Error,
|
|
713
|
+
'Field ',
|
|
714
|
+
P,
|
|
715
|
+
` in "having" needs to be provided in "by"`
|
|
716
|
+
];
|
|
717
|
+
}[HavingFields] : 'take' extends Prisma.Keys<T> ? 'orderBy' extends Prisma.Keys<T> ? ByValid extends Prisma.True ? {} : {
|
|
718
|
+
[P in OrderFields]: P extends ByFields ? never : `Error: Field "${P}" in "orderBy" needs to be provided in "by"`;
|
|
719
|
+
}[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 ? {} : {
|
|
720
|
+
[P in OrderFields]: P extends ByFields ? never : `Error: Field "${P}" in "orderBy" needs to be provided in "by"`;
|
|
721
|
+
}[OrderFields] : 'Error: If you provide "skip", you also need to provide "orderBy"' : ByValid extends Prisma.True ? {} : {
|
|
722
|
+
[P in OrderFields]: P extends ByFields ? never : `Error: Field "${P}" in "orderBy" needs to be provided in "by"`;
|
|
723
|
+
}[OrderFields]>(args: Prisma.SubsetIntersection<T, CalendarListGroupByArgs, OrderByArg> & InputErrors): {} extends InputErrors ? GetCalendarListGroupByPayload<T> : Prisma.PrismaPromise<InputErrors>;
|
|
724
|
+
/**
|
|
725
|
+
* Fields of the CalendarList model
|
|
726
|
+
*/
|
|
727
|
+
readonly fields: CalendarListFieldRefs;
|
|
728
|
+
}
|
|
729
|
+
/**
|
|
730
|
+
* The delegate class that acts as a "Promise-like" for CalendarList.
|
|
731
|
+
* Why is this prefixed with `Prisma__`?
|
|
732
|
+
* Because we want to prevent naming conflicts as mentioned in
|
|
733
|
+
* https://github.com/prisma/prisma-client-js/issues/707
|
|
734
|
+
*/
|
|
735
|
+
export interface Prisma__CalendarListClient<T, Null = never, ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs, GlobalOmitOptions = {}> extends Prisma.PrismaPromise<T> {
|
|
736
|
+
readonly [Symbol.toStringTag]: "PrismaPromise";
|
|
737
|
+
account<T extends Prisma.AccountDefaultArgs<ExtArgs> = {}>(args?: Prisma.Subset<T, Prisma.AccountDefaultArgs<ExtArgs>>): Prisma.Prisma__AccountClient<runtime.Types.Result.GetResult<Prisma.$AccountPayload<ExtArgs>, T, "findUniqueOrThrow", GlobalOmitOptions> | Null, Null, ExtArgs, GlobalOmitOptions>;
|
|
738
|
+
/**
|
|
739
|
+
* Attaches callbacks for the resolution and/or rejection of the Promise.
|
|
740
|
+
* @param onfulfilled The callback to execute when the Promise is resolved.
|
|
741
|
+
* @param onrejected The callback to execute when the Promise is rejected.
|
|
742
|
+
* @returns A Promise for the completion of which ever callback is executed.
|
|
743
|
+
*/
|
|
744
|
+
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>;
|
|
745
|
+
/**
|
|
746
|
+
* Attaches a callback for only the rejection of the Promise.
|
|
747
|
+
* @param onrejected The callback to execute when the Promise is rejected.
|
|
748
|
+
* @returns A Promise for the completion of the callback.
|
|
749
|
+
*/
|
|
750
|
+
catch<TResult = never>(onrejected?: ((reason: any) => TResult | PromiseLike<TResult>) | undefined | null): runtime.Types.Utils.JsPromise<T | TResult>;
|
|
751
|
+
/**
|
|
752
|
+
* Attaches a callback that is invoked when the Promise is settled (fulfilled or rejected). The
|
|
753
|
+
* resolved value cannot be modified from the callback.
|
|
754
|
+
* @param onfinally The callback to execute when the Promise is settled (fulfilled or rejected).
|
|
755
|
+
* @returns A Promise for the completion of the callback.
|
|
756
|
+
*/
|
|
757
|
+
finally(onfinally?: (() => void) | undefined | null): runtime.Types.Utils.JsPromise<T>;
|
|
758
|
+
}
|
|
759
|
+
/**
|
|
760
|
+
* Fields of the CalendarList model
|
|
761
|
+
*/
|
|
762
|
+
export interface CalendarListFieldRefs {
|
|
763
|
+
readonly email: Prisma.FieldRef<"CalendarList", 'String'>;
|
|
764
|
+
readonly appId: Prisma.FieldRef<"CalendarList", 'String'>;
|
|
765
|
+
readonly rawData: Prisma.FieldRef<"CalendarList", 'String'>;
|
|
766
|
+
readonly ttlMs: Prisma.FieldRef<"CalendarList", 'Int'>;
|
|
767
|
+
readonly createdAt: Prisma.FieldRef<"CalendarList", 'DateTime'>;
|
|
768
|
+
}
|
|
769
|
+
/**
|
|
770
|
+
* CalendarList findUnique
|
|
771
|
+
*/
|
|
772
|
+
export type CalendarListFindUniqueArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
773
|
+
/**
|
|
774
|
+
* Select specific fields to fetch from the CalendarList
|
|
775
|
+
*/
|
|
776
|
+
select?: Prisma.CalendarListSelect<ExtArgs> | null;
|
|
777
|
+
/**
|
|
778
|
+
* Omit specific fields from the CalendarList
|
|
779
|
+
*/
|
|
780
|
+
omit?: Prisma.CalendarListOmit<ExtArgs> | null;
|
|
781
|
+
/**
|
|
782
|
+
* Choose, which related nodes to fetch as well
|
|
783
|
+
*/
|
|
784
|
+
include?: Prisma.CalendarListInclude<ExtArgs> | null;
|
|
785
|
+
/**
|
|
786
|
+
* Filter, which CalendarList to fetch.
|
|
787
|
+
*/
|
|
788
|
+
where: Prisma.CalendarListWhereUniqueInput;
|
|
789
|
+
};
|
|
790
|
+
/**
|
|
791
|
+
* CalendarList findUniqueOrThrow
|
|
792
|
+
*/
|
|
793
|
+
export type CalendarListFindUniqueOrThrowArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
794
|
+
/**
|
|
795
|
+
* Select specific fields to fetch from the CalendarList
|
|
796
|
+
*/
|
|
797
|
+
select?: Prisma.CalendarListSelect<ExtArgs> | null;
|
|
798
|
+
/**
|
|
799
|
+
* Omit specific fields from the CalendarList
|
|
800
|
+
*/
|
|
801
|
+
omit?: Prisma.CalendarListOmit<ExtArgs> | null;
|
|
802
|
+
/**
|
|
803
|
+
* Choose, which related nodes to fetch as well
|
|
804
|
+
*/
|
|
805
|
+
include?: Prisma.CalendarListInclude<ExtArgs> | null;
|
|
806
|
+
/**
|
|
807
|
+
* Filter, which CalendarList to fetch.
|
|
808
|
+
*/
|
|
809
|
+
where: Prisma.CalendarListWhereUniqueInput;
|
|
810
|
+
};
|
|
811
|
+
/**
|
|
812
|
+
* CalendarList findFirst
|
|
813
|
+
*/
|
|
814
|
+
export type CalendarListFindFirstArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
815
|
+
/**
|
|
816
|
+
* Select specific fields to fetch from the CalendarList
|
|
817
|
+
*/
|
|
818
|
+
select?: Prisma.CalendarListSelect<ExtArgs> | null;
|
|
819
|
+
/**
|
|
820
|
+
* Omit specific fields from the CalendarList
|
|
821
|
+
*/
|
|
822
|
+
omit?: Prisma.CalendarListOmit<ExtArgs> | null;
|
|
823
|
+
/**
|
|
824
|
+
* Choose, which related nodes to fetch as well
|
|
825
|
+
*/
|
|
826
|
+
include?: Prisma.CalendarListInclude<ExtArgs> | null;
|
|
827
|
+
/**
|
|
828
|
+
* Filter, which CalendarList to fetch.
|
|
829
|
+
*/
|
|
830
|
+
where?: Prisma.CalendarListWhereInput;
|
|
831
|
+
/**
|
|
832
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
|
|
833
|
+
*
|
|
834
|
+
* Determine the order of CalendarLists to fetch.
|
|
835
|
+
*/
|
|
836
|
+
orderBy?: Prisma.CalendarListOrderByWithRelationInput | Prisma.CalendarListOrderByWithRelationInput[];
|
|
837
|
+
/**
|
|
838
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
|
|
839
|
+
*
|
|
840
|
+
* Sets the position for searching for CalendarLists.
|
|
841
|
+
*/
|
|
842
|
+
cursor?: Prisma.CalendarListWhereUniqueInput;
|
|
843
|
+
/**
|
|
844
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
845
|
+
*
|
|
846
|
+
* Take `±n` CalendarLists from the position of the cursor.
|
|
847
|
+
*/
|
|
848
|
+
take?: number;
|
|
849
|
+
/**
|
|
850
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
851
|
+
*
|
|
852
|
+
* Skip the first `n` CalendarLists.
|
|
853
|
+
*/
|
|
854
|
+
skip?: number;
|
|
855
|
+
/**
|
|
856
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
|
|
857
|
+
*
|
|
858
|
+
* Filter by unique combinations of CalendarLists.
|
|
859
|
+
*/
|
|
860
|
+
distinct?: Prisma.CalendarListScalarFieldEnum | Prisma.CalendarListScalarFieldEnum[];
|
|
861
|
+
};
|
|
862
|
+
/**
|
|
863
|
+
* CalendarList findFirstOrThrow
|
|
864
|
+
*/
|
|
865
|
+
export type CalendarListFindFirstOrThrowArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
866
|
+
/**
|
|
867
|
+
* Select specific fields to fetch from the CalendarList
|
|
868
|
+
*/
|
|
869
|
+
select?: Prisma.CalendarListSelect<ExtArgs> | null;
|
|
870
|
+
/**
|
|
871
|
+
* Omit specific fields from the CalendarList
|
|
872
|
+
*/
|
|
873
|
+
omit?: Prisma.CalendarListOmit<ExtArgs> | null;
|
|
874
|
+
/**
|
|
875
|
+
* Choose, which related nodes to fetch as well
|
|
876
|
+
*/
|
|
877
|
+
include?: Prisma.CalendarListInclude<ExtArgs> | null;
|
|
878
|
+
/**
|
|
879
|
+
* Filter, which CalendarList to fetch.
|
|
880
|
+
*/
|
|
881
|
+
where?: Prisma.CalendarListWhereInput;
|
|
882
|
+
/**
|
|
883
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
|
|
884
|
+
*
|
|
885
|
+
* Determine the order of CalendarLists to fetch.
|
|
886
|
+
*/
|
|
887
|
+
orderBy?: Prisma.CalendarListOrderByWithRelationInput | Prisma.CalendarListOrderByWithRelationInput[];
|
|
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 CalendarLists.
|
|
892
|
+
*/
|
|
893
|
+
cursor?: Prisma.CalendarListWhereUniqueInput;
|
|
894
|
+
/**
|
|
895
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
896
|
+
*
|
|
897
|
+
* Take `±n` CalendarLists 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` CalendarLists.
|
|
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 CalendarLists.
|
|
910
|
+
*/
|
|
911
|
+
distinct?: Prisma.CalendarListScalarFieldEnum | Prisma.CalendarListScalarFieldEnum[];
|
|
912
|
+
};
|
|
913
|
+
/**
|
|
914
|
+
* CalendarList findMany
|
|
915
|
+
*/
|
|
916
|
+
export type CalendarListFindManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
917
|
+
/**
|
|
918
|
+
* Select specific fields to fetch from the CalendarList
|
|
919
|
+
*/
|
|
920
|
+
select?: Prisma.CalendarListSelect<ExtArgs> | null;
|
|
921
|
+
/**
|
|
922
|
+
* Omit specific fields from the CalendarList
|
|
923
|
+
*/
|
|
924
|
+
omit?: Prisma.CalendarListOmit<ExtArgs> | null;
|
|
925
|
+
/**
|
|
926
|
+
* Choose, which related nodes to fetch as well
|
|
927
|
+
*/
|
|
928
|
+
include?: Prisma.CalendarListInclude<ExtArgs> | null;
|
|
929
|
+
/**
|
|
930
|
+
* Filter, which CalendarLists to fetch.
|
|
931
|
+
*/
|
|
932
|
+
where?: Prisma.CalendarListWhereInput;
|
|
933
|
+
/**
|
|
934
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
|
|
935
|
+
*
|
|
936
|
+
* Determine the order of CalendarLists to fetch.
|
|
937
|
+
*/
|
|
938
|
+
orderBy?: Prisma.CalendarListOrderByWithRelationInput | Prisma.CalendarListOrderByWithRelationInput[];
|
|
939
|
+
/**
|
|
940
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
|
|
941
|
+
*
|
|
942
|
+
* Sets the position for listing CalendarLists.
|
|
943
|
+
*/
|
|
944
|
+
cursor?: Prisma.CalendarListWhereUniqueInput;
|
|
945
|
+
/**
|
|
946
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
947
|
+
*
|
|
948
|
+
* Take `±n` CalendarLists 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` CalendarLists.
|
|
955
|
+
*/
|
|
956
|
+
skip?: number;
|
|
957
|
+
distinct?: Prisma.CalendarListScalarFieldEnum | Prisma.CalendarListScalarFieldEnum[];
|
|
958
|
+
};
|
|
959
|
+
/**
|
|
960
|
+
* CalendarList create
|
|
961
|
+
*/
|
|
962
|
+
export type CalendarListCreateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
963
|
+
/**
|
|
964
|
+
* Select specific fields to fetch from the CalendarList
|
|
965
|
+
*/
|
|
966
|
+
select?: Prisma.CalendarListSelect<ExtArgs> | null;
|
|
967
|
+
/**
|
|
968
|
+
* Omit specific fields from the CalendarList
|
|
969
|
+
*/
|
|
970
|
+
omit?: Prisma.CalendarListOmit<ExtArgs> | null;
|
|
971
|
+
/**
|
|
972
|
+
* Choose, which related nodes to fetch as well
|
|
973
|
+
*/
|
|
974
|
+
include?: Prisma.CalendarListInclude<ExtArgs> | null;
|
|
975
|
+
/**
|
|
976
|
+
* The data needed to create a CalendarList.
|
|
977
|
+
*/
|
|
978
|
+
data: Prisma.XOR<Prisma.CalendarListCreateInput, Prisma.CalendarListUncheckedCreateInput>;
|
|
979
|
+
};
|
|
980
|
+
/**
|
|
981
|
+
* CalendarList createMany
|
|
982
|
+
*/
|
|
983
|
+
export type CalendarListCreateManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
984
|
+
/**
|
|
985
|
+
* The data used to create many CalendarLists.
|
|
986
|
+
*/
|
|
987
|
+
data: Prisma.CalendarListCreateManyInput | Prisma.CalendarListCreateManyInput[];
|
|
988
|
+
};
|
|
989
|
+
/**
|
|
990
|
+
* CalendarList createManyAndReturn
|
|
991
|
+
*/
|
|
992
|
+
export type CalendarListCreateManyAndReturnArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
993
|
+
/**
|
|
994
|
+
* Select specific fields to fetch from the CalendarList
|
|
995
|
+
*/
|
|
996
|
+
select?: Prisma.CalendarListSelectCreateManyAndReturn<ExtArgs> | null;
|
|
997
|
+
/**
|
|
998
|
+
* Omit specific fields from the CalendarList
|
|
999
|
+
*/
|
|
1000
|
+
omit?: Prisma.CalendarListOmit<ExtArgs> | null;
|
|
1001
|
+
/**
|
|
1002
|
+
* The data used to create many CalendarLists.
|
|
1003
|
+
*/
|
|
1004
|
+
data: Prisma.CalendarListCreateManyInput | Prisma.CalendarListCreateManyInput[];
|
|
1005
|
+
/**
|
|
1006
|
+
* Choose, which related nodes to fetch as well
|
|
1007
|
+
*/
|
|
1008
|
+
include?: Prisma.CalendarListIncludeCreateManyAndReturn<ExtArgs> | null;
|
|
1009
|
+
};
|
|
1010
|
+
/**
|
|
1011
|
+
* CalendarList update
|
|
1012
|
+
*/
|
|
1013
|
+
export type CalendarListUpdateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1014
|
+
/**
|
|
1015
|
+
* Select specific fields to fetch from the CalendarList
|
|
1016
|
+
*/
|
|
1017
|
+
select?: Prisma.CalendarListSelect<ExtArgs> | null;
|
|
1018
|
+
/**
|
|
1019
|
+
* Omit specific fields from the CalendarList
|
|
1020
|
+
*/
|
|
1021
|
+
omit?: Prisma.CalendarListOmit<ExtArgs> | null;
|
|
1022
|
+
/**
|
|
1023
|
+
* Choose, which related nodes to fetch as well
|
|
1024
|
+
*/
|
|
1025
|
+
include?: Prisma.CalendarListInclude<ExtArgs> | null;
|
|
1026
|
+
/**
|
|
1027
|
+
* The data needed to update a CalendarList.
|
|
1028
|
+
*/
|
|
1029
|
+
data: Prisma.XOR<Prisma.CalendarListUpdateInput, Prisma.CalendarListUncheckedUpdateInput>;
|
|
1030
|
+
/**
|
|
1031
|
+
* Choose, which CalendarList to update.
|
|
1032
|
+
*/
|
|
1033
|
+
where: Prisma.CalendarListWhereUniqueInput;
|
|
1034
|
+
};
|
|
1035
|
+
/**
|
|
1036
|
+
* CalendarList updateMany
|
|
1037
|
+
*/
|
|
1038
|
+
export type CalendarListUpdateManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1039
|
+
/**
|
|
1040
|
+
* The data used to update CalendarLists.
|
|
1041
|
+
*/
|
|
1042
|
+
data: Prisma.XOR<Prisma.CalendarListUpdateManyMutationInput, Prisma.CalendarListUncheckedUpdateManyInput>;
|
|
1043
|
+
/**
|
|
1044
|
+
* Filter which CalendarLists to update
|
|
1045
|
+
*/
|
|
1046
|
+
where?: Prisma.CalendarListWhereInput;
|
|
1047
|
+
/**
|
|
1048
|
+
* Limit how many CalendarLists to update.
|
|
1049
|
+
*/
|
|
1050
|
+
limit?: number;
|
|
1051
|
+
};
|
|
1052
|
+
/**
|
|
1053
|
+
* CalendarList updateManyAndReturn
|
|
1054
|
+
*/
|
|
1055
|
+
export type CalendarListUpdateManyAndReturnArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1056
|
+
/**
|
|
1057
|
+
* Select specific fields to fetch from the CalendarList
|
|
1058
|
+
*/
|
|
1059
|
+
select?: Prisma.CalendarListSelectUpdateManyAndReturn<ExtArgs> | null;
|
|
1060
|
+
/**
|
|
1061
|
+
* Omit specific fields from the CalendarList
|
|
1062
|
+
*/
|
|
1063
|
+
omit?: Prisma.CalendarListOmit<ExtArgs> | null;
|
|
1064
|
+
/**
|
|
1065
|
+
* The data used to update CalendarLists.
|
|
1066
|
+
*/
|
|
1067
|
+
data: Prisma.XOR<Prisma.CalendarListUpdateManyMutationInput, Prisma.CalendarListUncheckedUpdateManyInput>;
|
|
1068
|
+
/**
|
|
1069
|
+
* Filter which CalendarLists to update
|
|
1070
|
+
*/
|
|
1071
|
+
where?: Prisma.CalendarListWhereInput;
|
|
1072
|
+
/**
|
|
1073
|
+
* Limit how many CalendarLists to update.
|
|
1074
|
+
*/
|
|
1075
|
+
limit?: number;
|
|
1076
|
+
/**
|
|
1077
|
+
* Choose, which related nodes to fetch as well
|
|
1078
|
+
*/
|
|
1079
|
+
include?: Prisma.CalendarListIncludeUpdateManyAndReturn<ExtArgs> | null;
|
|
1080
|
+
};
|
|
1081
|
+
/**
|
|
1082
|
+
* CalendarList upsert
|
|
1083
|
+
*/
|
|
1084
|
+
export type CalendarListUpsertArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1085
|
+
/**
|
|
1086
|
+
* Select specific fields to fetch from the CalendarList
|
|
1087
|
+
*/
|
|
1088
|
+
select?: Prisma.CalendarListSelect<ExtArgs> | null;
|
|
1089
|
+
/**
|
|
1090
|
+
* Omit specific fields from the CalendarList
|
|
1091
|
+
*/
|
|
1092
|
+
omit?: Prisma.CalendarListOmit<ExtArgs> | null;
|
|
1093
|
+
/**
|
|
1094
|
+
* Choose, which related nodes to fetch as well
|
|
1095
|
+
*/
|
|
1096
|
+
include?: Prisma.CalendarListInclude<ExtArgs> | null;
|
|
1097
|
+
/**
|
|
1098
|
+
* The filter to search for the CalendarList to update in case it exists.
|
|
1099
|
+
*/
|
|
1100
|
+
where: Prisma.CalendarListWhereUniqueInput;
|
|
1101
|
+
/**
|
|
1102
|
+
* In case the CalendarList found by the `where` argument doesn't exist, create a new CalendarList with this data.
|
|
1103
|
+
*/
|
|
1104
|
+
create: Prisma.XOR<Prisma.CalendarListCreateInput, Prisma.CalendarListUncheckedCreateInput>;
|
|
1105
|
+
/**
|
|
1106
|
+
* In case the CalendarList was found with the provided `where` argument, update it with this data.
|
|
1107
|
+
*/
|
|
1108
|
+
update: Prisma.XOR<Prisma.CalendarListUpdateInput, Prisma.CalendarListUncheckedUpdateInput>;
|
|
1109
|
+
};
|
|
1110
|
+
/**
|
|
1111
|
+
* CalendarList delete
|
|
1112
|
+
*/
|
|
1113
|
+
export type CalendarListDeleteArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1114
|
+
/**
|
|
1115
|
+
* Select specific fields to fetch from the CalendarList
|
|
1116
|
+
*/
|
|
1117
|
+
select?: Prisma.CalendarListSelect<ExtArgs> | null;
|
|
1118
|
+
/**
|
|
1119
|
+
* Omit specific fields from the CalendarList
|
|
1120
|
+
*/
|
|
1121
|
+
omit?: Prisma.CalendarListOmit<ExtArgs> | null;
|
|
1122
|
+
/**
|
|
1123
|
+
* Choose, which related nodes to fetch as well
|
|
1124
|
+
*/
|
|
1125
|
+
include?: Prisma.CalendarListInclude<ExtArgs> | null;
|
|
1126
|
+
/**
|
|
1127
|
+
* Filter which CalendarList to delete.
|
|
1128
|
+
*/
|
|
1129
|
+
where: Prisma.CalendarListWhereUniqueInput;
|
|
1130
|
+
};
|
|
1131
|
+
/**
|
|
1132
|
+
* CalendarList deleteMany
|
|
1133
|
+
*/
|
|
1134
|
+
export type CalendarListDeleteManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1135
|
+
/**
|
|
1136
|
+
* Filter which CalendarLists to delete
|
|
1137
|
+
*/
|
|
1138
|
+
where?: Prisma.CalendarListWhereInput;
|
|
1139
|
+
/**
|
|
1140
|
+
* Limit how many CalendarLists to delete.
|
|
1141
|
+
*/
|
|
1142
|
+
limit?: number;
|
|
1143
|
+
};
|
|
1144
|
+
/**
|
|
1145
|
+
* CalendarList without action
|
|
1146
|
+
*/
|
|
1147
|
+
export type CalendarListDefaultArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1148
|
+
/**
|
|
1149
|
+
* Select specific fields to fetch from the CalendarList
|
|
1150
|
+
*/
|
|
1151
|
+
select?: Prisma.CalendarListSelect<ExtArgs> | null;
|
|
1152
|
+
/**
|
|
1153
|
+
* Omit specific fields from the CalendarList
|
|
1154
|
+
*/
|
|
1155
|
+
omit?: Prisma.CalendarListOmit<ExtArgs> | null;
|
|
1156
|
+
/**
|
|
1157
|
+
* Choose, which related nodes to fetch as well
|
|
1158
|
+
*/
|
|
1159
|
+
include?: Prisma.CalendarListInclude<ExtArgs> | null;
|
|
1160
|
+
};
|
|
1161
|
+
export {};
|