@convex-dev/better-auth 0.8.8 → 0.9.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/dist/commonjs/client/adapter.d.ts +8 -4
- package/dist/commonjs/client/adapter.d.ts.map +1 -1
- package/dist/commonjs/client/adapter.js +45 -8
- package/dist/commonjs/client/adapter.js.map +1 -1
- package/dist/commonjs/client/adapterUtils.d.ts +6 -6
- package/dist/commonjs/client/adapterUtils.d.ts.map +1 -1
- package/dist/commonjs/client/adapterUtils.js +17 -9
- package/dist/commonjs/client/adapterUtils.js.map +1 -1
- package/dist/commonjs/client/createSchema.d.ts +0 -5
- package/dist/commonjs/client/createSchema.d.ts.map +1 -1
- package/dist/commonjs/client/createSchema.js +0 -8
- package/dist/commonjs/client/createSchema.js.map +1 -1
- package/dist/commonjs/client/index.d.ts +76 -3367
- package/dist/commonjs/client/index.d.ts.map +1 -1
- package/dist/commonjs/client/index.js +100 -33
- package/dist/commonjs/client/index.js.map +1 -1
- package/dist/commonjs/component/adapter.d.ts +23 -21
- package/dist/commonjs/component/adapter.d.ts.map +1 -1
- package/dist/commonjs/component/adapter.js +1 -1
- package/dist/commonjs/component/adapter.js.map +1 -1
- package/dist/commonjs/component/adapterTest.d.ts +1 -1
- package/dist/commonjs/component/adapterTest.d.ts.map +1 -1
- package/dist/commonjs/component/schema.d.ts +16 -419
- package/dist/commonjs/component/schema.d.ts.map +1 -1
- package/dist/commonjs/component/schema.js +6 -196
- package/dist/commonjs/component/schema.js.map +1 -1
- package/dist/commonjs/plugins/convex/index.d.ts +10 -2
- package/dist/commonjs/plugins/convex/index.d.ts.map +1 -1
- package/dist/commonjs/plugins/convex/index.js +17 -1
- package/dist/commonjs/plugins/convex/index.js.map +1 -1
- package/dist/commonjs/plugins/cross-domain/index.d.ts +5 -0
- package/dist/commonjs/plugins/cross-domain/index.d.ts.map +1 -1
- package/dist/commonjs/plugins/cross-domain/index.js +8 -0
- package/dist/commonjs/plugins/cross-domain/index.js.map +1 -1
- package/dist/commonjs/react/index.js +3 -2
- package/dist/commonjs/react/index.js.map +1 -1
- package/dist/commonjs/react-start/index.d.ts.map +1 -1
- package/dist/commonjs/react-start/index.js +10 -2
- package/dist/commonjs/react-start/index.js.map +1 -1
- package/dist/commonjs/utils/index.d.ts +5 -5
- package/dist/commonjs/utils/index.d.ts.map +1 -1
- package/dist/commonjs/utils/index.js +9 -11
- package/dist/commonjs/utils/index.js.map +1 -1
- package/dist/esm/client/adapter.d.ts +8 -4
- package/dist/esm/client/adapter.d.ts.map +1 -1
- package/dist/esm/client/adapter.js +45 -8
- package/dist/esm/client/adapter.js.map +1 -1
- package/dist/esm/client/adapterUtils.d.ts +6 -6
- package/dist/esm/client/adapterUtils.d.ts.map +1 -1
- package/dist/esm/client/adapterUtils.js +17 -9
- package/dist/esm/client/adapterUtils.js.map +1 -1
- package/dist/esm/client/createSchema.d.ts +0 -5
- package/dist/esm/client/createSchema.d.ts.map +1 -1
- package/dist/esm/client/createSchema.js +0 -8
- package/dist/esm/client/createSchema.js.map +1 -1
- package/dist/esm/client/index.d.ts +76 -3367
- package/dist/esm/client/index.d.ts.map +1 -1
- package/dist/esm/client/index.js +100 -33
- package/dist/esm/client/index.js.map +1 -1
- package/dist/esm/component/adapter.d.ts +23 -21
- package/dist/esm/component/adapter.d.ts.map +1 -1
- package/dist/esm/component/adapter.js +1 -1
- package/dist/esm/component/adapter.js.map +1 -1
- package/dist/esm/component/adapterTest.d.ts +1 -1
- package/dist/esm/component/adapterTest.d.ts.map +1 -1
- package/dist/esm/component/schema.d.ts +16 -419
- package/dist/esm/component/schema.d.ts.map +1 -1
- package/dist/esm/component/schema.js +6 -196
- package/dist/esm/component/schema.js.map +1 -1
- package/dist/esm/plugins/convex/index.d.ts +10 -2
- package/dist/esm/plugins/convex/index.d.ts.map +1 -1
- package/dist/esm/plugins/convex/index.js +17 -1
- package/dist/esm/plugins/convex/index.js.map +1 -1
- package/dist/esm/plugins/cross-domain/index.d.ts +5 -0
- package/dist/esm/plugins/cross-domain/index.d.ts.map +1 -1
- package/dist/esm/plugins/cross-domain/index.js +8 -0
- package/dist/esm/plugins/cross-domain/index.js.map +1 -1
- package/dist/esm/react/index.js +3 -2
- package/dist/esm/react/index.js.map +1 -1
- package/dist/esm/react-start/index.d.ts.map +1 -1
- package/dist/esm/react-start/index.js +10 -2
- package/dist/esm/react-start/index.js.map +1 -1
- package/dist/esm/utils/index.d.ts +5 -5
- package/dist/esm/utils/index.d.ts.map +1 -1
- package/dist/esm/utils/index.js +9 -11
- package/dist/esm/utils/index.js.map +1 -1
- package/package.json +13 -8
- package/src/client/adapter.test.ts +94 -34
- package/src/client/adapter.ts +66 -14
- package/src/client/adapterUtils.ts +23 -8
- package/src/client/createSchema.ts +0 -8
- package/src/client/index.ts +124 -63
- package/src/component/_generated/api.d.ts +133 -1303
- package/src/component/adapter.ts +1 -0
- package/src/component/schema.ts +11 -214
- package/src/plugins/convex/index.ts +21 -1
- package/src/plugins/cross-domain/index.ts +8 -0
- package/src/react/index.tsx +3 -2
- package/src/react-start/index.ts +10 -2
- package/src/utils/index.ts +20 -10
- package/dist/commonjs/react/client.d.ts +0 -31
- package/dist/commonjs/react/client.d.ts.map +0 -1
- package/dist/commonjs/react/client.js +0 -96
- package/dist/commonjs/react/client.js.map +0 -1
- package/dist/commonjs/react/old-index.d.ts +0 -9
- package/dist/commonjs/react/old-index.d.ts.map +0 -1
- package/dist/commonjs/react/old-index.js +0 -15
- package/dist/commonjs/react/old-index.js.map +0 -1
- package/dist/esm/react/client.d.ts +0 -31
- package/dist/esm/react/client.d.ts.map +0 -1
- package/dist/esm/react/client.js +0 -96
- package/dist/esm/react/client.js.map +0 -1
- package/dist/esm/react/old-index.d.ts +0 -9
- package/dist/esm/react/old-index.d.ts.map +0 -1
- package/dist/esm/react/old-index.js +0 -15
- package/dist/esm/react/old-index.js.map +0 -1
|
@@ -153,66 +153,6 @@ export type Mounts = {
|
|
|
153
153
|
};
|
|
154
154
|
model: "oauthConsent";
|
|
155
155
|
}
|
|
156
|
-
| {
|
|
157
|
-
data: {
|
|
158
|
-
createdAt: number;
|
|
159
|
-
name: string;
|
|
160
|
-
organizationId: string;
|
|
161
|
-
updatedAt?: null | number;
|
|
162
|
-
};
|
|
163
|
-
model: "team";
|
|
164
|
-
}
|
|
165
|
-
| {
|
|
166
|
-
data: {
|
|
167
|
-
createdAt?: null | number;
|
|
168
|
-
teamId: string;
|
|
169
|
-
userId: string;
|
|
170
|
-
};
|
|
171
|
-
model: "teamMember";
|
|
172
|
-
}
|
|
173
|
-
| {
|
|
174
|
-
data: {
|
|
175
|
-
createdAt: number;
|
|
176
|
-
logo?: null | string;
|
|
177
|
-
metadata?: null | string;
|
|
178
|
-
name: string;
|
|
179
|
-
slug?: null | string;
|
|
180
|
-
};
|
|
181
|
-
model: "organization";
|
|
182
|
-
}
|
|
183
|
-
| {
|
|
184
|
-
data: {
|
|
185
|
-
createdAt: number;
|
|
186
|
-
organizationId: string;
|
|
187
|
-
role: string;
|
|
188
|
-
userId: string;
|
|
189
|
-
};
|
|
190
|
-
model: "member";
|
|
191
|
-
}
|
|
192
|
-
| {
|
|
193
|
-
data: {
|
|
194
|
-
email: string;
|
|
195
|
-
expiresAt: number;
|
|
196
|
-
inviterId: string;
|
|
197
|
-
organizationId: string;
|
|
198
|
-
role?: null | string;
|
|
199
|
-
status: string;
|
|
200
|
-
teamId?: null | string;
|
|
201
|
-
};
|
|
202
|
-
model: "invitation";
|
|
203
|
-
}
|
|
204
|
-
| {
|
|
205
|
-
data: {
|
|
206
|
-
domain: string;
|
|
207
|
-
issuer: string;
|
|
208
|
-
oidcConfig?: null | string;
|
|
209
|
-
organizationId?: null | string;
|
|
210
|
-
providerId: string;
|
|
211
|
-
samlConfig?: null | string;
|
|
212
|
-
userId?: null | string;
|
|
213
|
-
};
|
|
214
|
-
model: "ssoProvider";
|
|
215
|
-
}
|
|
216
156
|
| {
|
|
217
157
|
data: {
|
|
218
158
|
createdAt: number;
|
|
@@ -221,32 +161,6 @@ export type Mounts = {
|
|
|
221
161
|
};
|
|
222
162
|
model: "jwks";
|
|
223
163
|
}
|
|
224
|
-
| {
|
|
225
|
-
data: {
|
|
226
|
-
cancelAtPeriodEnd?: null | boolean;
|
|
227
|
-
periodEnd?: null | number;
|
|
228
|
-
periodStart?: null | number;
|
|
229
|
-
plan: string;
|
|
230
|
-
referenceId: string;
|
|
231
|
-
seats?: null | number;
|
|
232
|
-
status?: null | string;
|
|
233
|
-
stripeCustomerId?: null | string;
|
|
234
|
-
stripeSubscriptionId?: null | string;
|
|
235
|
-
trialEnd?: null | number;
|
|
236
|
-
trialStart?: null | number;
|
|
237
|
-
};
|
|
238
|
-
model: "subscription";
|
|
239
|
-
}
|
|
240
|
-
| {
|
|
241
|
-
data: {
|
|
242
|
-
address: string;
|
|
243
|
-
chainId: number;
|
|
244
|
-
createdAt: number;
|
|
245
|
-
isPrimary?: null | boolean;
|
|
246
|
-
userId: string;
|
|
247
|
-
};
|
|
248
|
-
model: "walletAddress";
|
|
249
|
-
}
|
|
250
164
|
| {
|
|
251
165
|
data: {
|
|
252
166
|
count?: null | number;
|
|
@@ -287,7 +201,7 @@ export type Mounts = {
|
|
|
287
201
|
| "phoneNumber"
|
|
288
202
|
| "phoneNumberVerified"
|
|
289
203
|
| "userId"
|
|
290
|
-
| "
|
|
204
|
+
| "_id";
|
|
291
205
|
operator?:
|
|
292
206
|
| "lt"
|
|
293
207
|
| "lte"
|
|
@@ -295,6 +209,7 @@ export type Mounts = {
|
|
|
295
209
|
| "gte"
|
|
296
210
|
| "eq"
|
|
297
211
|
| "in"
|
|
212
|
+
| "not_in"
|
|
298
213
|
| "ne"
|
|
299
214
|
| "contains"
|
|
300
215
|
| "starts_with"
|
|
@@ -320,7 +235,7 @@ export type Mounts = {
|
|
|
320
235
|
| "ipAddress"
|
|
321
236
|
| "userAgent"
|
|
322
237
|
| "userId"
|
|
323
|
-
| "
|
|
238
|
+
| "_id";
|
|
324
239
|
operator?:
|
|
325
240
|
| "lt"
|
|
326
241
|
| "lte"
|
|
@@ -328,6 +243,7 @@ export type Mounts = {
|
|
|
328
243
|
| "gte"
|
|
329
244
|
| "eq"
|
|
330
245
|
| "in"
|
|
246
|
+
| "not_in"
|
|
331
247
|
| "ne"
|
|
332
248
|
| "contains"
|
|
333
249
|
| "starts_with"
|
|
@@ -358,7 +274,7 @@ export type Mounts = {
|
|
|
358
274
|
| "password"
|
|
359
275
|
| "createdAt"
|
|
360
276
|
| "updatedAt"
|
|
361
|
-
| "
|
|
277
|
+
| "_id";
|
|
362
278
|
operator?:
|
|
363
279
|
| "lt"
|
|
364
280
|
| "lte"
|
|
@@ -366,6 +282,7 @@ export type Mounts = {
|
|
|
366
282
|
| "gte"
|
|
367
283
|
| "eq"
|
|
368
284
|
| "in"
|
|
285
|
+
| "not_in"
|
|
369
286
|
| "ne"
|
|
370
287
|
| "contains"
|
|
371
288
|
| "starts_with"
|
|
@@ -389,7 +306,7 @@ export type Mounts = {
|
|
|
389
306
|
| "expiresAt"
|
|
390
307
|
| "createdAt"
|
|
391
308
|
| "updatedAt"
|
|
392
|
-
| "
|
|
309
|
+
| "_id";
|
|
393
310
|
operator?:
|
|
394
311
|
| "lt"
|
|
395
312
|
| "lte"
|
|
@@ -397,6 +314,7 @@ export type Mounts = {
|
|
|
397
314
|
| "gte"
|
|
398
315
|
| "eq"
|
|
399
316
|
| "in"
|
|
317
|
+
| "not_in"
|
|
400
318
|
| "ne"
|
|
401
319
|
| "contains"
|
|
402
320
|
| "starts_with"
|
|
@@ -414,7 +332,7 @@ export type Mounts = {
|
|
|
414
332
|
model: "twoFactor";
|
|
415
333
|
where?: Array<{
|
|
416
334
|
connector?: "AND" | "OR";
|
|
417
|
-
field: "secret" | "backupCodes" | "userId" | "
|
|
335
|
+
field: "secret" | "backupCodes" | "userId" | "_id";
|
|
418
336
|
operator?:
|
|
419
337
|
| "lt"
|
|
420
338
|
| "lte"
|
|
@@ -422,6 +340,7 @@ export type Mounts = {
|
|
|
422
340
|
| "gte"
|
|
423
341
|
| "eq"
|
|
424
342
|
| "in"
|
|
343
|
+
| "not_in"
|
|
425
344
|
| "ne"
|
|
426
345
|
| "contains"
|
|
427
346
|
| "starts_with"
|
|
@@ -450,7 +369,7 @@ export type Mounts = {
|
|
|
450
369
|
| "transports"
|
|
451
370
|
| "createdAt"
|
|
452
371
|
| "aaguid"
|
|
453
|
-
| "
|
|
372
|
+
| "_id";
|
|
454
373
|
operator?:
|
|
455
374
|
| "lt"
|
|
456
375
|
| "lte"
|
|
@@ -458,6 +377,7 @@ export type Mounts = {
|
|
|
458
377
|
| "gte"
|
|
459
378
|
| "eq"
|
|
460
379
|
| "in"
|
|
380
|
+
| "not_in"
|
|
461
381
|
| "ne"
|
|
462
382
|
| "contains"
|
|
463
383
|
| "starts_with"
|
|
@@ -487,7 +407,7 @@ export type Mounts = {
|
|
|
487
407
|
| "userId"
|
|
488
408
|
| "createdAt"
|
|
489
409
|
| "updatedAt"
|
|
490
|
-
| "
|
|
410
|
+
| "_id";
|
|
491
411
|
operator?:
|
|
492
412
|
| "lt"
|
|
493
413
|
| "lte"
|
|
@@ -495,6 +415,7 @@ export type Mounts = {
|
|
|
495
415
|
| "gte"
|
|
496
416
|
| "eq"
|
|
497
417
|
| "in"
|
|
418
|
+
| "not_in"
|
|
498
419
|
| "ne"
|
|
499
420
|
| "contains"
|
|
500
421
|
| "starts_with"
|
|
@@ -522,7 +443,7 @@ export type Mounts = {
|
|
|
522
443
|
| "scopes"
|
|
523
444
|
| "createdAt"
|
|
524
445
|
| "updatedAt"
|
|
525
|
-
| "
|
|
446
|
+
| "_id";
|
|
526
447
|
operator?:
|
|
527
448
|
| "lt"
|
|
528
449
|
| "lte"
|
|
@@ -530,6 +451,7 @@ export type Mounts = {
|
|
|
530
451
|
| "gte"
|
|
531
452
|
| "eq"
|
|
532
453
|
| "in"
|
|
454
|
+
| "not_in"
|
|
533
455
|
| "ne"
|
|
534
456
|
| "contains"
|
|
535
457
|
| "starts_with"
|
|
@@ -554,189 +476,7 @@ export type Mounts = {
|
|
|
554
476
|
| "createdAt"
|
|
555
477
|
| "updatedAt"
|
|
556
478
|
| "consentGiven"
|
|
557
|
-
| "
|
|
558
|
-
operator?:
|
|
559
|
-
| "lt"
|
|
560
|
-
| "lte"
|
|
561
|
-
| "gt"
|
|
562
|
-
| "gte"
|
|
563
|
-
| "eq"
|
|
564
|
-
| "in"
|
|
565
|
-
| "ne"
|
|
566
|
-
| "contains"
|
|
567
|
-
| "starts_with"
|
|
568
|
-
| "ends_with";
|
|
569
|
-
value:
|
|
570
|
-
| string
|
|
571
|
-
| number
|
|
572
|
-
| boolean
|
|
573
|
-
| Array<string>
|
|
574
|
-
| Array<number>
|
|
575
|
-
| null;
|
|
576
|
-
}>;
|
|
577
|
-
}
|
|
578
|
-
| {
|
|
579
|
-
model: "team";
|
|
580
|
-
where?: Array<{
|
|
581
|
-
connector?: "AND" | "OR";
|
|
582
|
-
field:
|
|
583
|
-
| "name"
|
|
584
|
-
| "organizationId"
|
|
585
|
-
| "createdAt"
|
|
586
|
-
| "updatedAt"
|
|
587
|
-
| "id";
|
|
588
|
-
operator?:
|
|
589
|
-
| "lt"
|
|
590
|
-
| "lte"
|
|
591
|
-
| "gt"
|
|
592
|
-
| "gte"
|
|
593
|
-
| "eq"
|
|
594
|
-
| "in"
|
|
595
|
-
| "ne"
|
|
596
|
-
| "contains"
|
|
597
|
-
| "starts_with"
|
|
598
|
-
| "ends_with";
|
|
599
|
-
value:
|
|
600
|
-
| string
|
|
601
|
-
| number
|
|
602
|
-
| boolean
|
|
603
|
-
| Array<string>
|
|
604
|
-
| Array<number>
|
|
605
|
-
| null;
|
|
606
|
-
}>;
|
|
607
|
-
}
|
|
608
|
-
| {
|
|
609
|
-
model: "teamMember";
|
|
610
|
-
where?: Array<{
|
|
611
|
-
connector?: "AND" | "OR";
|
|
612
|
-
field: "teamId" | "userId" | "createdAt" | "id";
|
|
613
|
-
operator?:
|
|
614
|
-
| "lt"
|
|
615
|
-
| "lte"
|
|
616
|
-
| "gt"
|
|
617
|
-
| "gte"
|
|
618
|
-
| "eq"
|
|
619
|
-
| "in"
|
|
620
|
-
| "ne"
|
|
621
|
-
| "contains"
|
|
622
|
-
| "starts_with"
|
|
623
|
-
| "ends_with";
|
|
624
|
-
value:
|
|
625
|
-
| string
|
|
626
|
-
| number
|
|
627
|
-
| boolean
|
|
628
|
-
| Array<string>
|
|
629
|
-
| Array<number>
|
|
630
|
-
| null;
|
|
631
|
-
}>;
|
|
632
|
-
}
|
|
633
|
-
| {
|
|
634
|
-
model: "organization";
|
|
635
|
-
where?: Array<{
|
|
636
|
-
connector?: "AND" | "OR";
|
|
637
|
-
field:
|
|
638
|
-
| "name"
|
|
639
|
-
| "slug"
|
|
640
|
-
| "logo"
|
|
641
|
-
| "createdAt"
|
|
642
|
-
| "metadata"
|
|
643
|
-
| "id";
|
|
644
|
-
operator?:
|
|
645
|
-
| "lt"
|
|
646
|
-
| "lte"
|
|
647
|
-
| "gt"
|
|
648
|
-
| "gte"
|
|
649
|
-
| "eq"
|
|
650
|
-
| "in"
|
|
651
|
-
| "ne"
|
|
652
|
-
| "contains"
|
|
653
|
-
| "starts_with"
|
|
654
|
-
| "ends_with";
|
|
655
|
-
value:
|
|
656
|
-
| string
|
|
657
|
-
| number
|
|
658
|
-
| boolean
|
|
659
|
-
| Array<string>
|
|
660
|
-
| Array<number>
|
|
661
|
-
| null;
|
|
662
|
-
}>;
|
|
663
|
-
}
|
|
664
|
-
| {
|
|
665
|
-
model: "member";
|
|
666
|
-
where?: Array<{
|
|
667
|
-
connector?: "AND" | "OR";
|
|
668
|
-
field:
|
|
669
|
-
| "organizationId"
|
|
670
|
-
| "userId"
|
|
671
|
-
| "role"
|
|
672
|
-
| "createdAt"
|
|
673
|
-
| "id";
|
|
674
|
-
operator?:
|
|
675
|
-
| "lt"
|
|
676
|
-
| "lte"
|
|
677
|
-
| "gt"
|
|
678
|
-
| "gte"
|
|
679
|
-
| "eq"
|
|
680
|
-
| "in"
|
|
681
|
-
| "ne"
|
|
682
|
-
| "contains"
|
|
683
|
-
| "starts_with"
|
|
684
|
-
| "ends_with";
|
|
685
|
-
value:
|
|
686
|
-
| string
|
|
687
|
-
| number
|
|
688
|
-
| boolean
|
|
689
|
-
| Array<string>
|
|
690
|
-
| Array<number>
|
|
691
|
-
| null;
|
|
692
|
-
}>;
|
|
693
|
-
}
|
|
694
|
-
| {
|
|
695
|
-
model: "invitation";
|
|
696
|
-
where?: Array<{
|
|
697
|
-
connector?: "AND" | "OR";
|
|
698
|
-
field:
|
|
699
|
-
| "organizationId"
|
|
700
|
-
| "email"
|
|
701
|
-
| "role"
|
|
702
|
-
| "teamId"
|
|
703
|
-
| "status"
|
|
704
|
-
| "expiresAt"
|
|
705
|
-
| "inviterId"
|
|
706
|
-
| "id";
|
|
707
|
-
operator?:
|
|
708
|
-
| "lt"
|
|
709
|
-
| "lte"
|
|
710
|
-
| "gt"
|
|
711
|
-
| "gte"
|
|
712
|
-
| "eq"
|
|
713
|
-
| "in"
|
|
714
|
-
| "ne"
|
|
715
|
-
| "contains"
|
|
716
|
-
| "starts_with"
|
|
717
|
-
| "ends_with";
|
|
718
|
-
value:
|
|
719
|
-
| string
|
|
720
|
-
| number
|
|
721
|
-
| boolean
|
|
722
|
-
| Array<string>
|
|
723
|
-
| Array<number>
|
|
724
|
-
| null;
|
|
725
|
-
}>;
|
|
726
|
-
}
|
|
727
|
-
| {
|
|
728
|
-
model: "ssoProvider";
|
|
729
|
-
where?: Array<{
|
|
730
|
-
connector?: "AND" | "OR";
|
|
731
|
-
field:
|
|
732
|
-
| "issuer"
|
|
733
|
-
| "oidcConfig"
|
|
734
|
-
| "samlConfig"
|
|
735
|
-
| "userId"
|
|
736
|
-
| "providerId"
|
|
737
|
-
| "organizationId"
|
|
738
|
-
| "domain"
|
|
739
|
-
| "id";
|
|
479
|
+
| "_id";
|
|
740
480
|
operator?:
|
|
741
481
|
| "lt"
|
|
742
482
|
| "lte"
|
|
@@ -744,6 +484,7 @@ export type Mounts = {
|
|
|
744
484
|
| "gte"
|
|
745
485
|
| "eq"
|
|
746
486
|
| "in"
|
|
487
|
+
| "not_in"
|
|
747
488
|
| "ne"
|
|
748
489
|
| "contains"
|
|
749
490
|
| "starts_with"
|
|
@@ -761,75 +502,7 @@ export type Mounts = {
|
|
|
761
502
|
model: "jwks";
|
|
762
503
|
where?: Array<{
|
|
763
504
|
connector?: "AND" | "OR";
|
|
764
|
-
field: "publicKey" | "privateKey" | "createdAt" | "
|
|
765
|
-
operator?:
|
|
766
|
-
| "lt"
|
|
767
|
-
| "lte"
|
|
768
|
-
| "gt"
|
|
769
|
-
| "gte"
|
|
770
|
-
| "eq"
|
|
771
|
-
| "in"
|
|
772
|
-
| "ne"
|
|
773
|
-
| "contains"
|
|
774
|
-
| "starts_with"
|
|
775
|
-
| "ends_with";
|
|
776
|
-
value:
|
|
777
|
-
| string
|
|
778
|
-
| number
|
|
779
|
-
| boolean
|
|
780
|
-
| Array<string>
|
|
781
|
-
| Array<number>
|
|
782
|
-
| null;
|
|
783
|
-
}>;
|
|
784
|
-
}
|
|
785
|
-
| {
|
|
786
|
-
model: "subscription";
|
|
787
|
-
where?: Array<{
|
|
788
|
-
connector?: "AND" | "OR";
|
|
789
|
-
field:
|
|
790
|
-
| "plan"
|
|
791
|
-
| "referenceId"
|
|
792
|
-
| "stripeCustomerId"
|
|
793
|
-
| "stripeSubscriptionId"
|
|
794
|
-
| "status"
|
|
795
|
-
| "periodStart"
|
|
796
|
-
| "periodEnd"
|
|
797
|
-
| "trialStart"
|
|
798
|
-
| "trialEnd"
|
|
799
|
-
| "cancelAtPeriodEnd"
|
|
800
|
-
| "seats"
|
|
801
|
-
| "id";
|
|
802
|
-
operator?:
|
|
803
|
-
| "lt"
|
|
804
|
-
| "lte"
|
|
805
|
-
| "gt"
|
|
806
|
-
| "gte"
|
|
807
|
-
| "eq"
|
|
808
|
-
| "in"
|
|
809
|
-
| "ne"
|
|
810
|
-
| "contains"
|
|
811
|
-
| "starts_with"
|
|
812
|
-
| "ends_with";
|
|
813
|
-
value:
|
|
814
|
-
| string
|
|
815
|
-
| number
|
|
816
|
-
| boolean
|
|
817
|
-
| Array<string>
|
|
818
|
-
| Array<number>
|
|
819
|
-
| null;
|
|
820
|
-
}>;
|
|
821
|
-
}
|
|
822
|
-
| {
|
|
823
|
-
model: "walletAddress";
|
|
824
|
-
where?: Array<{
|
|
825
|
-
connector?: "AND" | "OR";
|
|
826
|
-
field:
|
|
827
|
-
| "userId"
|
|
828
|
-
| "address"
|
|
829
|
-
| "chainId"
|
|
830
|
-
| "isPrimary"
|
|
831
|
-
| "createdAt"
|
|
832
|
-
| "id";
|
|
505
|
+
field: "publicKey" | "privateKey" | "createdAt" | "_id";
|
|
833
506
|
operator?:
|
|
834
507
|
| "lt"
|
|
835
508
|
| "lte"
|
|
@@ -837,6 +510,7 @@ export type Mounts = {
|
|
|
837
510
|
| "gte"
|
|
838
511
|
| "eq"
|
|
839
512
|
| "in"
|
|
513
|
+
| "not_in"
|
|
840
514
|
| "ne"
|
|
841
515
|
| "contains"
|
|
842
516
|
| "starts_with"
|
|
@@ -854,7 +528,7 @@ export type Mounts = {
|
|
|
854
528
|
model: "rateLimit";
|
|
855
529
|
where?: Array<{
|
|
856
530
|
connector?: "AND" | "OR";
|
|
857
|
-
field: "key" | "count" | "lastRequest" | "
|
|
531
|
+
field: "key" | "count" | "lastRequest" | "_id";
|
|
858
532
|
operator?:
|
|
859
533
|
| "lt"
|
|
860
534
|
| "lte"
|
|
@@ -862,6 +536,7 @@ export type Mounts = {
|
|
|
862
536
|
| "gte"
|
|
863
537
|
| "eq"
|
|
864
538
|
| "in"
|
|
539
|
+
| "not_in"
|
|
865
540
|
| "ne"
|
|
866
541
|
| "contains"
|
|
867
542
|
| "starts_with"
|
|
@@ -879,7 +554,7 @@ export type Mounts = {
|
|
|
879
554
|
model: "ratelimit";
|
|
880
555
|
where?: Array<{
|
|
881
556
|
connector?: "AND" | "OR";
|
|
882
|
-
field: "key" | "count" | "lastRequest" | "
|
|
557
|
+
field: "key" | "count" | "lastRequest" | "_id";
|
|
883
558
|
operator?:
|
|
884
559
|
| "lt"
|
|
885
560
|
| "lte"
|
|
@@ -887,6 +562,7 @@ export type Mounts = {
|
|
|
887
562
|
| "gte"
|
|
888
563
|
| "eq"
|
|
889
564
|
| "in"
|
|
565
|
+
| "not_in"
|
|
890
566
|
| "ne"
|
|
891
567
|
| "contains"
|
|
892
568
|
| "starts_with"
|
|
@@ -935,7 +611,7 @@ export type Mounts = {
|
|
|
935
611
|
| "phoneNumber"
|
|
936
612
|
| "phoneNumberVerified"
|
|
937
613
|
| "userId"
|
|
938
|
-
| "
|
|
614
|
+
| "_id";
|
|
939
615
|
operator?:
|
|
940
616
|
| "lt"
|
|
941
617
|
| "lte"
|
|
@@ -943,6 +619,7 @@ export type Mounts = {
|
|
|
943
619
|
| "gte"
|
|
944
620
|
| "eq"
|
|
945
621
|
| "in"
|
|
622
|
+
| "not_in"
|
|
946
623
|
| "ne"
|
|
947
624
|
| "contains"
|
|
948
625
|
| "starts_with"
|
|
@@ -968,7 +645,7 @@ export type Mounts = {
|
|
|
968
645
|
| "ipAddress"
|
|
969
646
|
| "userAgent"
|
|
970
647
|
| "userId"
|
|
971
|
-
| "
|
|
648
|
+
| "_id";
|
|
972
649
|
operator?:
|
|
973
650
|
| "lt"
|
|
974
651
|
| "lte"
|
|
@@ -976,6 +653,7 @@ export type Mounts = {
|
|
|
976
653
|
| "gte"
|
|
977
654
|
| "eq"
|
|
978
655
|
| "in"
|
|
656
|
+
| "not_in"
|
|
979
657
|
| "ne"
|
|
980
658
|
| "contains"
|
|
981
659
|
| "starts_with"
|
|
@@ -1006,7 +684,7 @@ export type Mounts = {
|
|
|
1006
684
|
| "password"
|
|
1007
685
|
| "createdAt"
|
|
1008
686
|
| "updatedAt"
|
|
1009
|
-
| "
|
|
687
|
+
| "_id";
|
|
1010
688
|
operator?:
|
|
1011
689
|
| "lt"
|
|
1012
690
|
| "lte"
|
|
@@ -1014,6 +692,7 @@ export type Mounts = {
|
|
|
1014
692
|
| "gte"
|
|
1015
693
|
| "eq"
|
|
1016
694
|
| "in"
|
|
695
|
+
| "not_in"
|
|
1017
696
|
| "ne"
|
|
1018
697
|
| "contains"
|
|
1019
698
|
| "starts_with"
|
|
@@ -1037,7 +716,7 @@ export type Mounts = {
|
|
|
1037
716
|
| "expiresAt"
|
|
1038
717
|
| "createdAt"
|
|
1039
718
|
| "updatedAt"
|
|
1040
|
-
| "
|
|
719
|
+
| "_id";
|
|
1041
720
|
operator?:
|
|
1042
721
|
| "lt"
|
|
1043
722
|
| "lte"
|
|
@@ -1045,6 +724,7 @@ export type Mounts = {
|
|
|
1045
724
|
| "gte"
|
|
1046
725
|
| "eq"
|
|
1047
726
|
| "in"
|
|
727
|
+
| "not_in"
|
|
1048
728
|
| "ne"
|
|
1049
729
|
| "contains"
|
|
1050
730
|
| "starts_with"
|
|
@@ -1062,7 +742,7 @@ export type Mounts = {
|
|
|
1062
742
|
model: "twoFactor";
|
|
1063
743
|
where?: Array<{
|
|
1064
744
|
connector?: "AND" | "OR";
|
|
1065
|
-
field: "secret" | "backupCodes" | "userId" | "
|
|
745
|
+
field: "secret" | "backupCodes" | "userId" | "_id";
|
|
1066
746
|
operator?:
|
|
1067
747
|
| "lt"
|
|
1068
748
|
| "lte"
|
|
@@ -1070,6 +750,7 @@ export type Mounts = {
|
|
|
1070
750
|
| "gte"
|
|
1071
751
|
| "eq"
|
|
1072
752
|
| "in"
|
|
753
|
+
| "not_in"
|
|
1073
754
|
| "ne"
|
|
1074
755
|
| "contains"
|
|
1075
756
|
| "starts_with"
|
|
@@ -1098,7 +779,7 @@ export type Mounts = {
|
|
|
1098
779
|
| "transports"
|
|
1099
780
|
| "createdAt"
|
|
1100
781
|
| "aaguid"
|
|
1101
|
-
| "
|
|
782
|
+
| "_id";
|
|
1102
783
|
operator?:
|
|
1103
784
|
| "lt"
|
|
1104
785
|
| "lte"
|
|
@@ -1106,6 +787,7 @@ export type Mounts = {
|
|
|
1106
787
|
| "gte"
|
|
1107
788
|
| "eq"
|
|
1108
789
|
| "in"
|
|
790
|
+
| "not_in"
|
|
1109
791
|
| "ne"
|
|
1110
792
|
| "contains"
|
|
1111
793
|
| "starts_with"
|
|
@@ -1135,7 +817,7 @@ export type Mounts = {
|
|
|
1135
817
|
| "userId"
|
|
1136
818
|
| "createdAt"
|
|
1137
819
|
| "updatedAt"
|
|
1138
|
-
| "
|
|
820
|
+
| "_id";
|
|
1139
821
|
operator?:
|
|
1140
822
|
| "lt"
|
|
1141
823
|
| "lte"
|
|
@@ -1143,6 +825,7 @@ export type Mounts = {
|
|
|
1143
825
|
| "gte"
|
|
1144
826
|
| "eq"
|
|
1145
827
|
| "in"
|
|
828
|
+
| "not_in"
|
|
1146
829
|
| "ne"
|
|
1147
830
|
| "contains"
|
|
1148
831
|
| "starts_with"
|
|
@@ -1170,7 +853,7 @@ export type Mounts = {
|
|
|
1170
853
|
| "scopes"
|
|
1171
854
|
| "createdAt"
|
|
1172
855
|
| "updatedAt"
|
|
1173
|
-
| "
|
|
856
|
+
| "_id";
|
|
1174
857
|
operator?:
|
|
1175
858
|
| "lt"
|
|
1176
859
|
| "lte"
|
|
@@ -1178,6 +861,7 @@ export type Mounts = {
|
|
|
1178
861
|
| "gte"
|
|
1179
862
|
| "eq"
|
|
1180
863
|
| "in"
|
|
864
|
+
| "not_in"
|
|
1181
865
|
| "ne"
|
|
1182
866
|
| "contains"
|
|
1183
867
|
| "starts_with"
|
|
@@ -1202,7 +886,7 @@ export type Mounts = {
|
|
|
1202
886
|
| "createdAt"
|
|
1203
887
|
| "updatedAt"
|
|
1204
888
|
| "consentGiven"
|
|
1205
|
-
| "
|
|
889
|
+
| "_id";
|
|
1206
890
|
operator?:
|
|
1207
891
|
| "lt"
|
|
1208
892
|
| "lte"
|
|
@@ -1210,6 +894,7 @@ export type Mounts = {
|
|
|
1210
894
|
| "gte"
|
|
1211
895
|
| "eq"
|
|
1212
896
|
| "in"
|
|
897
|
+
| "not_in"
|
|
1213
898
|
| "ne"
|
|
1214
899
|
| "contains"
|
|
1215
900
|
| "starts_with"
|
|
@@ -1224,260 +909,10 @@ export type Mounts = {
|
|
|
1224
909
|
}>;
|
|
1225
910
|
}
|
|
1226
911
|
| {
|
|
1227
|
-
model: "
|
|
912
|
+
model: "jwks";
|
|
1228
913
|
where?: Array<{
|
|
1229
914
|
connector?: "AND" | "OR";
|
|
1230
|
-
field:
|
|
1231
|
-
| "name"
|
|
1232
|
-
| "organizationId"
|
|
1233
|
-
| "createdAt"
|
|
1234
|
-
| "updatedAt"
|
|
1235
|
-
| "id";
|
|
1236
|
-
operator?:
|
|
1237
|
-
| "lt"
|
|
1238
|
-
| "lte"
|
|
1239
|
-
| "gt"
|
|
1240
|
-
| "gte"
|
|
1241
|
-
| "eq"
|
|
1242
|
-
| "in"
|
|
1243
|
-
| "ne"
|
|
1244
|
-
| "contains"
|
|
1245
|
-
| "starts_with"
|
|
1246
|
-
| "ends_with";
|
|
1247
|
-
value:
|
|
1248
|
-
| string
|
|
1249
|
-
| number
|
|
1250
|
-
| boolean
|
|
1251
|
-
| Array<string>
|
|
1252
|
-
| Array<number>
|
|
1253
|
-
| null;
|
|
1254
|
-
}>;
|
|
1255
|
-
}
|
|
1256
|
-
| {
|
|
1257
|
-
model: "teamMember";
|
|
1258
|
-
where?: Array<{
|
|
1259
|
-
connector?: "AND" | "OR";
|
|
1260
|
-
field: "teamId" | "userId" | "createdAt" | "id";
|
|
1261
|
-
operator?:
|
|
1262
|
-
| "lt"
|
|
1263
|
-
| "lte"
|
|
1264
|
-
| "gt"
|
|
1265
|
-
| "gte"
|
|
1266
|
-
| "eq"
|
|
1267
|
-
| "in"
|
|
1268
|
-
| "ne"
|
|
1269
|
-
| "contains"
|
|
1270
|
-
| "starts_with"
|
|
1271
|
-
| "ends_with";
|
|
1272
|
-
value:
|
|
1273
|
-
| string
|
|
1274
|
-
| number
|
|
1275
|
-
| boolean
|
|
1276
|
-
| Array<string>
|
|
1277
|
-
| Array<number>
|
|
1278
|
-
| null;
|
|
1279
|
-
}>;
|
|
1280
|
-
}
|
|
1281
|
-
| {
|
|
1282
|
-
model: "organization";
|
|
1283
|
-
where?: Array<{
|
|
1284
|
-
connector?: "AND" | "OR";
|
|
1285
|
-
field:
|
|
1286
|
-
| "name"
|
|
1287
|
-
| "slug"
|
|
1288
|
-
| "logo"
|
|
1289
|
-
| "createdAt"
|
|
1290
|
-
| "metadata"
|
|
1291
|
-
| "id";
|
|
1292
|
-
operator?:
|
|
1293
|
-
| "lt"
|
|
1294
|
-
| "lte"
|
|
1295
|
-
| "gt"
|
|
1296
|
-
| "gte"
|
|
1297
|
-
| "eq"
|
|
1298
|
-
| "in"
|
|
1299
|
-
| "ne"
|
|
1300
|
-
| "contains"
|
|
1301
|
-
| "starts_with"
|
|
1302
|
-
| "ends_with";
|
|
1303
|
-
value:
|
|
1304
|
-
| string
|
|
1305
|
-
| number
|
|
1306
|
-
| boolean
|
|
1307
|
-
| Array<string>
|
|
1308
|
-
| Array<number>
|
|
1309
|
-
| null;
|
|
1310
|
-
}>;
|
|
1311
|
-
}
|
|
1312
|
-
| {
|
|
1313
|
-
model: "member";
|
|
1314
|
-
where?: Array<{
|
|
1315
|
-
connector?: "AND" | "OR";
|
|
1316
|
-
field:
|
|
1317
|
-
| "organizationId"
|
|
1318
|
-
| "userId"
|
|
1319
|
-
| "role"
|
|
1320
|
-
| "createdAt"
|
|
1321
|
-
| "id";
|
|
1322
|
-
operator?:
|
|
1323
|
-
| "lt"
|
|
1324
|
-
| "lte"
|
|
1325
|
-
| "gt"
|
|
1326
|
-
| "gte"
|
|
1327
|
-
| "eq"
|
|
1328
|
-
| "in"
|
|
1329
|
-
| "ne"
|
|
1330
|
-
| "contains"
|
|
1331
|
-
| "starts_with"
|
|
1332
|
-
| "ends_with";
|
|
1333
|
-
value:
|
|
1334
|
-
| string
|
|
1335
|
-
| number
|
|
1336
|
-
| boolean
|
|
1337
|
-
| Array<string>
|
|
1338
|
-
| Array<number>
|
|
1339
|
-
| null;
|
|
1340
|
-
}>;
|
|
1341
|
-
}
|
|
1342
|
-
| {
|
|
1343
|
-
model: "invitation";
|
|
1344
|
-
where?: Array<{
|
|
1345
|
-
connector?: "AND" | "OR";
|
|
1346
|
-
field:
|
|
1347
|
-
| "organizationId"
|
|
1348
|
-
| "email"
|
|
1349
|
-
| "role"
|
|
1350
|
-
| "teamId"
|
|
1351
|
-
| "status"
|
|
1352
|
-
| "expiresAt"
|
|
1353
|
-
| "inviterId"
|
|
1354
|
-
| "id";
|
|
1355
|
-
operator?:
|
|
1356
|
-
| "lt"
|
|
1357
|
-
| "lte"
|
|
1358
|
-
| "gt"
|
|
1359
|
-
| "gte"
|
|
1360
|
-
| "eq"
|
|
1361
|
-
| "in"
|
|
1362
|
-
| "ne"
|
|
1363
|
-
| "contains"
|
|
1364
|
-
| "starts_with"
|
|
1365
|
-
| "ends_with";
|
|
1366
|
-
value:
|
|
1367
|
-
| string
|
|
1368
|
-
| number
|
|
1369
|
-
| boolean
|
|
1370
|
-
| Array<string>
|
|
1371
|
-
| Array<number>
|
|
1372
|
-
| null;
|
|
1373
|
-
}>;
|
|
1374
|
-
}
|
|
1375
|
-
| {
|
|
1376
|
-
model: "ssoProvider";
|
|
1377
|
-
where?: Array<{
|
|
1378
|
-
connector?: "AND" | "OR";
|
|
1379
|
-
field:
|
|
1380
|
-
| "issuer"
|
|
1381
|
-
| "oidcConfig"
|
|
1382
|
-
| "samlConfig"
|
|
1383
|
-
| "userId"
|
|
1384
|
-
| "providerId"
|
|
1385
|
-
| "organizationId"
|
|
1386
|
-
| "domain"
|
|
1387
|
-
| "id";
|
|
1388
|
-
operator?:
|
|
1389
|
-
| "lt"
|
|
1390
|
-
| "lte"
|
|
1391
|
-
| "gt"
|
|
1392
|
-
| "gte"
|
|
1393
|
-
| "eq"
|
|
1394
|
-
| "in"
|
|
1395
|
-
| "ne"
|
|
1396
|
-
| "contains"
|
|
1397
|
-
| "starts_with"
|
|
1398
|
-
| "ends_with";
|
|
1399
|
-
value:
|
|
1400
|
-
| string
|
|
1401
|
-
| number
|
|
1402
|
-
| boolean
|
|
1403
|
-
| Array<string>
|
|
1404
|
-
| Array<number>
|
|
1405
|
-
| null;
|
|
1406
|
-
}>;
|
|
1407
|
-
}
|
|
1408
|
-
| {
|
|
1409
|
-
model: "jwks";
|
|
1410
|
-
where?: Array<{
|
|
1411
|
-
connector?: "AND" | "OR";
|
|
1412
|
-
field: "publicKey" | "privateKey" | "createdAt" | "id";
|
|
1413
|
-
operator?:
|
|
1414
|
-
| "lt"
|
|
1415
|
-
| "lte"
|
|
1416
|
-
| "gt"
|
|
1417
|
-
| "gte"
|
|
1418
|
-
| "eq"
|
|
1419
|
-
| "in"
|
|
1420
|
-
| "ne"
|
|
1421
|
-
| "contains"
|
|
1422
|
-
| "starts_with"
|
|
1423
|
-
| "ends_with";
|
|
1424
|
-
value:
|
|
1425
|
-
| string
|
|
1426
|
-
| number
|
|
1427
|
-
| boolean
|
|
1428
|
-
| Array<string>
|
|
1429
|
-
| Array<number>
|
|
1430
|
-
| null;
|
|
1431
|
-
}>;
|
|
1432
|
-
}
|
|
1433
|
-
| {
|
|
1434
|
-
model: "subscription";
|
|
1435
|
-
where?: Array<{
|
|
1436
|
-
connector?: "AND" | "OR";
|
|
1437
|
-
field:
|
|
1438
|
-
| "plan"
|
|
1439
|
-
| "referenceId"
|
|
1440
|
-
| "stripeCustomerId"
|
|
1441
|
-
| "stripeSubscriptionId"
|
|
1442
|
-
| "status"
|
|
1443
|
-
| "periodStart"
|
|
1444
|
-
| "periodEnd"
|
|
1445
|
-
| "trialStart"
|
|
1446
|
-
| "trialEnd"
|
|
1447
|
-
| "cancelAtPeriodEnd"
|
|
1448
|
-
| "seats"
|
|
1449
|
-
| "id";
|
|
1450
|
-
operator?:
|
|
1451
|
-
| "lt"
|
|
1452
|
-
| "lte"
|
|
1453
|
-
| "gt"
|
|
1454
|
-
| "gte"
|
|
1455
|
-
| "eq"
|
|
1456
|
-
| "in"
|
|
1457
|
-
| "ne"
|
|
1458
|
-
| "contains"
|
|
1459
|
-
| "starts_with"
|
|
1460
|
-
| "ends_with";
|
|
1461
|
-
value:
|
|
1462
|
-
| string
|
|
1463
|
-
| number
|
|
1464
|
-
| boolean
|
|
1465
|
-
| Array<string>
|
|
1466
|
-
| Array<number>
|
|
1467
|
-
| null;
|
|
1468
|
-
}>;
|
|
1469
|
-
}
|
|
1470
|
-
| {
|
|
1471
|
-
model: "walletAddress";
|
|
1472
|
-
where?: Array<{
|
|
1473
|
-
connector?: "AND" | "OR";
|
|
1474
|
-
field:
|
|
1475
|
-
| "userId"
|
|
1476
|
-
| "address"
|
|
1477
|
-
| "chainId"
|
|
1478
|
-
| "isPrimary"
|
|
1479
|
-
| "createdAt"
|
|
1480
|
-
| "id";
|
|
915
|
+
field: "publicKey" | "privateKey" | "createdAt" | "_id";
|
|
1481
916
|
operator?:
|
|
1482
917
|
| "lt"
|
|
1483
918
|
| "lte"
|
|
@@ -1485,6 +920,7 @@ export type Mounts = {
|
|
|
1485
920
|
| "gte"
|
|
1486
921
|
| "eq"
|
|
1487
922
|
| "in"
|
|
923
|
+
| "not_in"
|
|
1488
924
|
| "ne"
|
|
1489
925
|
| "contains"
|
|
1490
926
|
| "starts_with"
|
|
@@ -1502,7 +938,7 @@ export type Mounts = {
|
|
|
1502
938
|
model: "rateLimit";
|
|
1503
939
|
where?: Array<{
|
|
1504
940
|
connector?: "AND" | "OR";
|
|
1505
|
-
field: "key" | "count" | "lastRequest" | "
|
|
941
|
+
field: "key" | "count" | "lastRequest" | "_id";
|
|
1506
942
|
operator?:
|
|
1507
943
|
| "lt"
|
|
1508
944
|
| "lte"
|
|
@@ -1510,6 +946,7 @@ export type Mounts = {
|
|
|
1510
946
|
| "gte"
|
|
1511
947
|
| "eq"
|
|
1512
948
|
| "in"
|
|
949
|
+
| "not_in"
|
|
1513
950
|
| "ne"
|
|
1514
951
|
| "contains"
|
|
1515
952
|
| "starts_with"
|
|
@@ -1527,7 +964,7 @@ export type Mounts = {
|
|
|
1527
964
|
model: "ratelimit";
|
|
1528
965
|
where?: Array<{
|
|
1529
966
|
connector?: "AND" | "OR";
|
|
1530
|
-
field: "key" | "count" | "lastRequest" | "
|
|
967
|
+
field: "key" | "count" | "lastRequest" | "_id";
|
|
1531
968
|
operator?:
|
|
1532
969
|
| "lt"
|
|
1533
970
|
| "lte"
|
|
@@ -1535,6 +972,7 @@ export type Mounts = {
|
|
|
1535
972
|
| "gte"
|
|
1536
973
|
| "eq"
|
|
1537
974
|
| "in"
|
|
975
|
+
| "not_in"
|
|
1538
976
|
| "ne"
|
|
1539
977
|
| "contains"
|
|
1540
978
|
| "starts_with"
|
|
@@ -1567,15 +1005,7 @@ export type Mounts = {
|
|
|
1567
1005
|
| "oauthApplication"
|
|
1568
1006
|
| "oauthAccessToken"
|
|
1569
1007
|
| "oauthConsent"
|
|
1570
|
-
| "team"
|
|
1571
|
-
| "teamMember"
|
|
1572
|
-
| "organization"
|
|
1573
|
-
| "member"
|
|
1574
|
-
| "invitation"
|
|
1575
|
-
| "ssoProvider"
|
|
1576
1008
|
| "jwks"
|
|
1577
|
-
| "subscription"
|
|
1578
|
-
| "walletAddress"
|
|
1579
1009
|
| "rateLimit"
|
|
1580
1010
|
| "ratelimit";
|
|
1581
1011
|
offset?: number;
|
|
@@ -1598,6 +1028,7 @@ export type Mounts = {
|
|
|
1598
1028
|
| "gte"
|
|
1599
1029
|
| "eq"
|
|
1600
1030
|
| "in"
|
|
1031
|
+
| "not_in"
|
|
1601
1032
|
| "ne"
|
|
1602
1033
|
| "contains"
|
|
1603
1034
|
| "starts_with"
|
|
@@ -1627,15 +1058,7 @@ export type Mounts = {
|
|
|
1627
1058
|
| "oauthApplication"
|
|
1628
1059
|
| "oauthAccessToken"
|
|
1629
1060
|
| "oauthConsent"
|
|
1630
|
-
| "team"
|
|
1631
|
-
| "teamMember"
|
|
1632
|
-
| "organization"
|
|
1633
|
-
| "member"
|
|
1634
|
-
| "invitation"
|
|
1635
|
-
| "ssoProvider"
|
|
1636
1061
|
| "jwks"
|
|
1637
|
-
| "subscription"
|
|
1638
|
-
| "walletAddress"
|
|
1639
1062
|
| "rateLimit"
|
|
1640
1063
|
| "ratelimit";
|
|
1641
1064
|
select?: Array<string>;
|
|
@@ -1649,6 +1072,7 @@ export type Mounts = {
|
|
|
1649
1072
|
| "gte"
|
|
1650
1073
|
| "eq"
|
|
1651
1074
|
| "in"
|
|
1075
|
+
| "not_in"
|
|
1652
1076
|
| "ne"
|
|
1653
1077
|
| "contains"
|
|
1654
1078
|
| "starts_with"
|
|
@@ -1664,6 +1088,12 @@ export type Mounts = {
|
|
|
1664
1088
|
},
|
|
1665
1089
|
any
|
|
1666
1090
|
>;
|
|
1091
|
+
migrationRemoveUserId: FunctionReference<
|
|
1092
|
+
"mutation",
|
|
1093
|
+
"public",
|
|
1094
|
+
{ userId: string },
|
|
1095
|
+
any
|
|
1096
|
+
>;
|
|
1667
1097
|
updateMany: FunctionReference<
|
|
1668
1098
|
"mutation",
|
|
1669
1099
|
"public",
|
|
@@ -1702,7 +1132,7 @@ export type Mounts = {
|
|
|
1702
1132
|
| "phoneNumber"
|
|
1703
1133
|
| "phoneNumberVerified"
|
|
1704
1134
|
| "userId"
|
|
1705
|
-
| "
|
|
1135
|
+
| "_id";
|
|
1706
1136
|
operator?:
|
|
1707
1137
|
| "lt"
|
|
1708
1138
|
| "lte"
|
|
@@ -1710,6 +1140,7 @@ export type Mounts = {
|
|
|
1710
1140
|
| "gte"
|
|
1711
1141
|
| "eq"
|
|
1712
1142
|
| "in"
|
|
1143
|
+
| "not_in"
|
|
1713
1144
|
| "ne"
|
|
1714
1145
|
| "contains"
|
|
1715
1146
|
| "starts_with"
|
|
@@ -1744,7 +1175,7 @@ export type Mounts = {
|
|
|
1744
1175
|
| "ipAddress"
|
|
1745
1176
|
| "userAgent"
|
|
1746
1177
|
| "userId"
|
|
1747
|
-
| "
|
|
1178
|
+
| "_id";
|
|
1748
1179
|
operator?:
|
|
1749
1180
|
| "lt"
|
|
1750
1181
|
| "lte"
|
|
@@ -1752,6 +1183,7 @@ export type Mounts = {
|
|
|
1752
1183
|
| "gte"
|
|
1753
1184
|
| "eq"
|
|
1754
1185
|
| "in"
|
|
1186
|
+
| "not_in"
|
|
1755
1187
|
| "ne"
|
|
1756
1188
|
| "contains"
|
|
1757
1189
|
| "starts_with"
|
|
@@ -1796,7 +1228,7 @@ export type Mounts = {
|
|
|
1796
1228
|
| "password"
|
|
1797
1229
|
| "createdAt"
|
|
1798
1230
|
| "updatedAt"
|
|
1799
|
-
| "
|
|
1231
|
+
| "_id";
|
|
1800
1232
|
operator?:
|
|
1801
1233
|
| "lt"
|
|
1802
1234
|
| "lte"
|
|
@@ -1804,6 +1236,7 @@ export type Mounts = {
|
|
|
1804
1236
|
| "gte"
|
|
1805
1237
|
| "eq"
|
|
1806
1238
|
| "in"
|
|
1239
|
+
| "not_in"
|
|
1807
1240
|
| "ne"
|
|
1808
1241
|
| "contains"
|
|
1809
1242
|
| "starts_with"
|
|
@@ -1834,7 +1267,7 @@ export type Mounts = {
|
|
|
1834
1267
|
| "expiresAt"
|
|
1835
1268
|
| "createdAt"
|
|
1836
1269
|
| "updatedAt"
|
|
1837
|
-
| "
|
|
1270
|
+
| "_id";
|
|
1838
1271
|
operator?:
|
|
1839
1272
|
| "lt"
|
|
1840
1273
|
| "lte"
|
|
@@ -1842,6 +1275,7 @@ export type Mounts = {
|
|
|
1842
1275
|
| "gte"
|
|
1843
1276
|
| "eq"
|
|
1844
1277
|
| "in"
|
|
1278
|
+
| "not_in"
|
|
1845
1279
|
| "ne"
|
|
1846
1280
|
| "contains"
|
|
1847
1281
|
| "starts_with"
|
|
@@ -1864,7 +1298,7 @@ export type Mounts = {
|
|
|
1864
1298
|
};
|
|
1865
1299
|
where?: Array<{
|
|
1866
1300
|
connector?: "AND" | "OR";
|
|
1867
|
-
field: "secret" | "backupCodes" | "userId" | "
|
|
1301
|
+
field: "secret" | "backupCodes" | "userId" | "_id";
|
|
1868
1302
|
operator?:
|
|
1869
1303
|
| "lt"
|
|
1870
1304
|
| "lte"
|
|
@@ -1872,6 +1306,7 @@ export type Mounts = {
|
|
|
1872
1306
|
| "gte"
|
|
1873
1307
|
| "eq"
|
|
1874
1308
|
| "in"
|
|
1309
|
+
| "not_in"
|
|
1875
1310
|
| "ne"
|
|
1876
1311
|
| "contains"
|
|
1877
1312
|
| "starts_with"
|
|
@@ -1912,7 +1347,7 @@ export type Mounts = {
|
|
|
1912
1347
|
| "transports"
|
|
1913
1348
|
| "createdAt"
|
|
1914
1349
|
| "aaguid"
|
|
1915
|
-
| "
|
|
1350
|
+
| "_id";
|
|
1916
1351
|
operator?:
|
|
1917
1352
|
| "lt"
|
|
1918
1353
|
| "lte"
|
|
@@ -1920,6 +1355,7 @@ export type Mounts = {
|
|
|
1920
1355
|
| "gte"
|
|
1921
1356
|
| "eq"
|
|
1922
1357
|
| "in"
|
|
1358
|
+
| "not_in"
|
|
1923
1359
|
| "ne"
|
|
1924
1360
|
| "contains"
|
|
1925
1361
|
| "starts_with"
|
|
@@ -1962,7 +1398,7 @@ export type Mounts = {
|
|
|
1962
1398
|
| "userId"
|
|
1963
1399
|
| "createdAt"
|
|
1964
1400
|
| "updatedAt"
|
|
1965
|
-
| "
|
|
1401
|
+
| "_id";
|
|
1966
1402
|
operator?:
|
|
1967
1403
|
| "lt"
|
|
1968
1404
|
| "lte"
|
|
@@ -1970,6 +1406,7 @@ export type Mounts = {
|
|
|
1970
1406
|
| "gte"
|
|
1971
1407
|
| "eq"
|
|
1972
1408
|
| "in"
|
|
1409
|
+
| "not_in"
|
|
1973
1410
|
| "ne"
|
|
1974
1411
|
| "contains"
|
|
1975
1412
|
| "starts_with"
|
|
@@ -2008,7 +1445,7 @@ export type Mounts = {
|
|
|
2008
1445
|
| "scopes"
|
|
2009
1446
|
| "createdAt"
|
|
2010
1447
|
| "updatedAt"
|
|
2011
|
-
| "
|
|
1448
|
+
| "_id";
|
|
2012
1449
|
operator?:
|
|
2013
1450
|
| "lt"
|
|
2014
1451
|
| "lte"
|
|
@@ -2016,6 +1453,7 @@ export type Mounts = {
|
|
|
2016
1453
|
| "gte"
|
|
2017
1454
|
| "eq"
|
|
2018
1455
|
| "in"
|
|
1456
|
+
| "not_in"
|
|
2019
1457
|
| "ne"
|
|
2020
1458
|
| "contains"
|
|
2021
1459
|
| "starts_with"
|
|
@@ -2048,7 +1486,7 @@ export type Mounts = {
|
|
|
2048
1486
|
| "createdAt"
|
|
2049
1487
|
| "updatedAt"
|
|
2050
1488
|
| "consentGiven"
|
|
2051
|
-
| "
|
|
1489
|
+
| "_id";
|
|
2052
1490
|
operator?:
|
|
2053
1491
|
| "lt"
|
|
2054
1492
|
| "lte"
|
|
@@ -2056,6 +1494,7 @@ export type Mounts = {
|
|
|
2056
1494
|
| "gte"
|
|
2057
1495
|
| "eq"
|
|
2058
1496
|
| "in"
|
|
1497
|
+
| "not_in"
|
|
2059
1498
|
| "ne"
|
|
2060
1499
|
| "contains"
|
|
2061
1500
|
| "starts_with"
|
|
@@ -2070,21 +1509,15 @@ export type Mounts = {
|
|
|
2070
1509
|
}>;
|
|
2071
1510
|
}
|
|
2072
1511
|
| {
|
|
2073
|
-
model: "
|
|
1512
|
+
model: "jwks";
|
|
2074
1513
|
update: {
|
|
2075
1514
|
createdAt?: number;
|
|
2076
|
-
|
|
2077
|
-
|
|
2078
|
-
updatedAt?: null | number;
|
|
1515
|
+
privateKey?: string;
|
|
1516
|
+
publicKey?: string;
|
|
2079
1517
|
};
|
|
2080
1518
|
where?: Array<{
|
|
2081
1519
|
connector?: "AND" | "OR";
|
|
2082
|
-
field:
|
|
2083
|
-
| "name"
|
|
2084
|
-
| "organizationId"
|
|
2085
|
-
| "createdAt"
|
|
2086
|
-
| "updatedAt"
|
|
2087
|
-
| "id";
|
|
1520
|
+
field: "publicKey" | "privateKey" | "createdAt" | "_id";
|
|
2088
1521
|
operator?:
|
|
2089
1522
|
| "lt"
|
|
2090
1523
|
| "lte"
|
|
@@ -2092,6 +1525,7 @@ export type Mounts = {
|
|
|
2092
1525
|
| "gte"
|
|
2093
1526
|
| "eq"
|
|
2094
1527
|
| "in"
|
|
1528
|
+
| "not_in"
|
|
2095
1529
|
| "ne"
|
|
2096
1530
|
| "contains"
|
|
2097
1531
|
| "starts_with"
|
|
@@ -2106,15 +1540,15 @@ export type Mounts = {
|
|
|
2106
1540
|
}>;
|
|
2107
1541
|
}
|
|
2108
1542
|
| {
|
|
2109
|
-
model: "
|
|
1543
|
+
model: "rateLimit";
|
|
2110
1544
|
update: {
|
|
2111
|
-
|
|
2112
|
-
|
|
2113
|
-
|
|
1545
|
+
count?: null | number;
|
|
1546
|
+
key?: null | string;
|
|
1547
|
+
lastRequest?: null | number;
|
|
2114
1548
|
};
|
|
2115
1549
|
where?: Array<{
|
|
2116
1550
|
connector?: "AND" | "OR";
|
|
2117
|
-
field: "
|
|
1551
|
+
field: "key" | "count" | "lastRequest" | "_id";
|
|
2118
1552
|
operator?:
|
|
2119
1553
|
| "lt"
|
|
2120
1554
|
| "lte"
|
|
@@ -2122,6 +1556,7 @@ export type Mounts = {
|
|
|
2122
1556
|
| "gte"
|
|
2123
1557
|
| "eq"
|
|
2124
1558
|
| "in"
|
|
1559
|
+
| "not_in"
|
|
2125
1560
|
| "ne"
|
|
2126
1561
|
| "contains"
|
|
2127
1562
|
| "starts_with"
|
|
@@ -2136,23 +1571,11 @@ export type Mounts = {
|
|
|
2136
1571
|
}>;
|
|
2137
1572
|
}
|
|
2138
1573
|
| {
|
|
2139
|
-
model: "
|
|
2140
|
-
update: {
|
|
2141
|
-
createdAt?: number;
|
|
2142
|
-
logo?: null | string;
|
|
2143
|
-
metadata?: null | string;
|
|
2144
|
-
name?: string;
|
|
2145
|
-
slug?: null | string;
|
|
2146
|
-
};
|
|
1574
|
+
model: "ratelimit";
|
|
1575
|
+
update: { count?: number; key?: string; lastRequest?: number };
|
|
2147
1576
|
where?: Array<{
|
|
2148
1577
|
connector?: "AND" | "OR";
|
|
2149
|
-
field:
|
|
2150
|
-
| "name"
|
|
2151
|
-
| "slug"
|
|
2152
|
-
| "logo"
|
|
2153
|
-
| "createdAt"
|
|
2154
|
-
| "metadata"
|
|
2155
|
-
| "id";
|
|
1578
|
+
field: "key" | "count" | "lastRequest" | "_id";
|
|
2156
1579
|
operator?:
|
|
2157
1580
|
| "lt"
|
|
2158
1581
|
| "lte"
|
|
@@ -2160,6 +1583,7 @@ export type Mounts = {
|
|
|
2160
1583
|
| "gte"
|
|
2161
1584
|
| "eq"
|
|
2162
1585
|
| "in"
|
|
1586
|
+
| "not_in"
|
|
2163
1587
|
| "ne"
|
|
2164
1588
|
| "contains"
|
|
2165
1589
|
| "starts_with"
|
|
@@ -2172,320 +1596,26 @@ export type Mounts = {
|
|
|
2172
1596
|
| Array<number>
|
|
2173
1597
|
| null;
|
|
2174
1598
|
}>;
|
|
2175
|
-
}
|
|
1599
|
+
};
|
|
1600
|
+
onUpdateHandle?: string;
|
|
1601
|
+
paginationOpts: {
|
|
1602
|
+
cursor: string | null;
|
|
1603
|
+
endCursor?: string | null;
|
|
1604
|
+
id?: number;
|
|
1605
|
+
maximumBytesRead?: number;
|
|
1606
|
+
maximumRowsRead?: number;
|
|
1607
|
+
numItems: number;
|
|
1608
|
+
};
|
|
1609
|
+
},
|
|
1610
|
+
any
|
|
1611
|
+
>;
|
|
1612
|
+
updateOne: FunctionReference<
|
|
1613
|
+
"mutation",
|
|
1614
|
+
"public",
|
|
1615
|
+
{
|
|
1616
|
+
input:
|
|
2176
1617
|
| {
|
|
2177
|
-
model: "
|
|
2178
|
-
update: {
|
|
2179
|
-
createdAt?: number;
|
|
2180
|
-
organizationId?: string;
|
|
2181
|
-
role?: string;
|
|
2182
|
-
userId?: string;
|
|
2183
|
-
};
|
|
2184
|
-
where?: Array<{
|
|
2185
|
-
connector?: "AND" | "OR";
|
|
2186
|
-
field:
|
|
2187
|
-
| "organizationId"
|
|
2188
|
-
| "userId"
|
|
2189
|
-
| "role"
|
|
2190
|
-
| "createdAt"
|
|
2191
|
-
| "id";
|
|
2192
|
-
operator?:
|
|
2193
|
-
| "lt"
|
|
2194
|
-
| "lte"
|
|
2195
|
-
| "gt"
|
|
2196
|
-
| "gte"
|
|
2197
|
-
| "eq"
|
|
2198
|
-
| "in"
|
|
2199
|
-
| "ne"
|
|
2200
|
-
| "contains"
|
|
2201
|
-
| "starts_with"
|
|
2202
|
-
| "ends_with";
|
|
2203
|
-
value:
|
|
2204
|
-
| string
|
|
2205
|
-
| number
|
|
2206
|
-
| boolean
|
|
2207
|
-
| Array<string>
|
|
2208
|
-
| Array<number>
|
|
2209
|
-
| null;
|
|
2210
|
-
}>;
|
|
2211
|
-
}
|
|
2212
|
-
| {
|
|
2213
|
-
model: "invitation";
|
|
2214
|
-
update: {
|
|
2215
|
-
email?: string;
|
|
2216
|
-
expiresAt?: number;
|
|
2217
|
-
inviterId?: string;
|
|
2218
|
-
organizationId?: string;
|
|
2219
|
-
role?: null | string;
|
|
2220
|
-
status?: string;
|
|
2221
|
-
teamId?: null | string;
|
|
2222
|
-
};
|
|
2223
|
-
where?: Array<{
|
|
2224
|
-
connector?: "AND" | "OR";
|
|
2225
|
-
field:
|
|
2226
|
-
| "organizationId"
|
|
2227
|
-
| "email"
|
|
2228
|
-
| "role"
|
|
2229
|
-
| "teamId"
|
|
2230
|
-
| "status"
|
|
2231
|
-
| "expiresAt"
|
|
2232
|
-
| "inviterId"
|
|
2233
|
-
| "id";
|
|
2234
|
-
operator?:
|
|
2235
|
-
| "lt"
|
|
2236
|
-
| "lte"
|
|
2237
|
-
| "gt"
|
|
2238
|
-
| "gte"
|
|
2239
|
-
| "eq"
|
|
2240
|
-
| "in"
|
|
2241
|
-
| "ne"
|
|
2242
|
-
| "contains"
|
|
2243
|
-
| "starts_with"
|
|
2244
|
-
| "ends_with";
|
|
2245
|
-
value:
|
|
2246
|
-
| string
|
|
2247
|
-
| number
|
|
2248
|
-
| boolean
|
|
2249
|
-
| Array<string>
|
|
2250
|
-
| Array<number>
|
|
2251
|
-
| null;
|
|
2252
|
-
}>;
|
|
2253
|
-
}
|
|
2254
|
-
| {
|
|
2255
|
-
model: "ssoProvider";
|
|
2256
|
-
update: {
|
|
2257
|
-
domain?: string;
|
|
2258
|
-
issuer?: string;
|
|
2259
|
-
oidcConfig?: null | string;
|
|
2260
|
-
organizationId?: null | string;
|
|
2261
|
-
providerId?: string;
|
|
2262
|
-
samlConfig?: null | string;
|
|
2263
|
-
userId?: null | string;
|
|
2264
|
-
};
|
|
2265
|
-
where?: Array<{
|
|
2266
|
-
connector?: "AND" | "OR";
|
|
2267
|
-
field:
|
|
2268
|
-
| "issuer"
|
|
2269
|
-
| "oidcConfig"
|
|
2270
|
-
| "samlConfig"
|
|
2271
|
-
| "userId"
|
|
2272
|
-
| "providerId"
|
|
2273
|
-
| "organizationId"
|
|
2274
|
-
| "domain"
|
|
2275
|
-
| "id";
|
|
2276
|
-
operator?:
|
|
2277
|
-
| "lt"
|
|
2278
|
-
| "lte"
|
|
2279
|
-
| "gt"
|
|
2280
|
-
| "gte"
|
|
2281
|
-
| "eq"
|
|
2282
|
-
| "in"
|
|
2283
|
-
| "ne"
|
|
2284
|
-
| "contains"
|
|
2285
|
-
| "starts_with"
|
|
2286
|
-
| "ends_with";
|
|
2287
|
-
value:
|
|
2288
|
-
| string
|
|
2289
|
-
| number
|
|
2290
|
-
| boolean
|
|
2291
|
-
| Array<string>
|
|
2292
|
-
| Array<number>
|
|
2293
|
-
| null;
|
|
2294
|
-
}>;
|
|
2295
|
-
}
|
|
2296
|
-
| {
|
|
2297
|
-
model: "jwks";
|
|
2298
|
-
update: {
|
|
2299
|
-
createdAt?: number;
|
|
2300
|
-
privateKey?: string;
|
|
2301
|
-
publicKey?: string;
|
|
2302
|
-
};
|
|
2303
|
-
where?: Array<{
|
|
2304
|
-
connector?: "AND" | "OR";
|
|
2305
|
-
field: "publicKey" | "privateKey" | "createdAt" | "id";
|
|
2306
|
-
operator?:
|
|
2307
|
-
| "lt"
|
|
2308
|
-
| "lte"
|
|
2309
|
-
| "gt"
|
|
2310
|
-
| "gte"
|
|
2311
|
-
| "eq"
|
|
2312
|
-
| "in"
|
|
2313
|
-
| "ne"
|
|
2314
|
-
| "contains"
|
|
2315
|
-
| "starts_with"
|
|
2316
|
-
| "ends_with";
|
|
2317
|
-
value:
|
|
2318
|
-
| string
|
|
2319
|
-
| number
|
|
2320
|
-
| boolean
|
|
2321
|
-
| Array<string>
|
|
2322
|
-
| Array<number>
|
|
2323
|
-
| null;
|
|
2324
|
-
}>;
|
|
2325
|
-
}
|
|
2326
|
-
| {
|
|
2327
|
-
model: "subscription";
|
|
2328
|
-
update: {
|
|
2329
|
-
cancelAtPeriodEnd?: null | boolean;
|
|
2330
|
-
periodEnd?: null | number;
|
|
2331
|
-
periodStart?: null | number;
|
|
2332
|
-
plan?: string;
|
|
2333
|
-
referenceId?: string;
|
|
2334
|
-
seats?: null | number;
|
|
2335
|
-
status?: null | string;
|
|
2336
|
-
stripeCustomerId?: null | string;
|
|
2337
|
-
stripeSubscriptionId?: null | string;
|
|
2338
|
-
trialEnd?: null | number;
|
|
2339
|
-
trialStart?: null | number;
|
|
2340
|
-
};
|
|
2341
|
-
where?: Array<{
|
|
2342
|
-
connector?: "AND" | "OR";
|
|
2343
|
-
field:
|
|
2344
|
-
| "plan"
|
|
2345
|
-
| "referenceId"
|
|
2346
|
-
| "stripeCustomerId"
|
|
2347
|
-
| "stripeSubscriptionId"
|
|
2348
|
-
| "status"
|
|
2349
|
-
| "periodStart"
|
|
2350
|
-
| "periodEnd"
|
|
2351
|
-
| "trialStart"
|
|
2352
|
-
| "trialEnd"
|
|
2353
|
-
| "cancelAtPeriodEnd"
|
|
2354
|
-
| "seats"
|
|
2355
|
-
| "id";
|
|
2356
|
-
operator?:
|
|
2357
|
-
| "lt"
|
|
2358
|
-
| "lte"
|
|
2359
|
-
| "gt"
|
|
2360
|
-
| "gte"
|
|
2361
|
-
| "eq"
|
|
2362
|
-
| "in"
|
|
2363
|
-
| "ne"
|
|
2364
|
-
| "contains"
|
|
2365
|
-
| "starts_with"
|
|
2366
|
-
| "ends_with";
|
|
2367
|
-
value:
|
|
2368
|
-
| string
|
|
2369
|
-
| number
|
|
2370
|
-
| boolean
|
|
2371
|
-
| Array<string>
|
|
2372
|
-
| Array<number>
|
|
2373
|
-
| null;
|
|
2374
|
-
}>;
|
|
2375
|
-
}
|
|
2376
|
-
| {
|
|
2377
|
-
model: "walletAddress";
|
|
2378
|
-
update: {
|
|
2379
|
-
address?: string;
|
|
2380
|
-
chainId?: number;
|
|
2381
|
-
createdAt?: number;
|
|
2382
|
-
isPrimary?: null | boolean;
|
|
2383
|
-
userId?: string;
|
|
2384
|
-
};
|
|
2385
|
-
where?: Array<{
|
|
2386
|
-
connector?: "AND" | "OR";
|
|
2387
|
-
field:
|
|
2388
|
-
| "userId"
|
|
2389
|
-
| "address"
|
|
2390
|
-
| "chainId"
|
|
2391
|
-
| "isPrimary"
|
|
2392
|
-
| "createdAt"
|
|
2393
|
-
| "id";
|
|
2394
|
-
operator?:
|
|
2395
|
-
| "lt"
|
|
2396
|
-
| "lte"
|
|
2397
|
-
| "gt"
|
|
2398
|
-
| "gte"
|
|
2399
|
-
| "eq"
|
|
2400
|
-
| "in"
|
|
2401
|
-
| "ne"
|
|
2402
|
-
| "contains"
|
|
2403
|
-
| "starts_with"
|
|
2404
|
-
| "ends_with";
|
|
2405
|
-
value:
|
|
2406
|
-
| string
|
|
2407
|
-
| number
|
|
2408
|
-
| boolean
|
|
2409
|
-
| Array<string>
|
|
2410
|
-
| Array<number>
|
|
2411
|
-
| null;
|
|
2412
|
-
}>;
|
|
2413
|
-
}
|
|
2414
|
-
| {
|
|
2415
|
-
model: "rateLimit";
|
|
2416
|
-
update: {
|
|
2417
|
-
count?: null | number;
|
|
2418
|
-
key?: null | string;
|
|
2419
|
-
lastRequest?: null | number;
|
|
2420
|
-
};
|
|
2421
|
-
where?: Array<{
|
|
2422
|
-
connector?: "AND" | "OR";
|
|
2423
|
-
field: "key" | "count" | "lastRequest" | "id";
|
|
2424
|
-
operator?:
|
|
2425
|
-
| "lt"
|
|
2426
|
-
| "lte"
|
|
2427
|
-
| "gt"
|
|
2428
|
-
| "gte"
|
|
2429
|
-
| "eq"
|
|
2430
|
-
| "in"
|
|
2431
|
-
| "ne"
|
|
2432
|
-
| "contains"
|
|
2433
|
-
| "starts_with"
|
|
2434
|
-
| "ends_with";
|
|
2435
|
-
value:
|
|
2436
|
-
| string
|
|
2437
|
-
| number
|
|
2438
|
-
| boolean
|
|
2439
|
-
| Array<string>
|
|
2440
|
-
| Array<number>
|
|
2441
|
-
| null;
|
|
2442
|
-
}>;
|
|
2443
|
-
}
|
|
2444
|
-
| {
|
|
2445
|
-
model: "ratelimit";
|
|
2446
|
-
update: { count?: number; key?: string; lastRequest?: number };
|
|
2447
|
-
where?: Array<{
|
|
2448
|
-
connector?: "AND" | "OR";
|
|
2449
|
-
field: "key" | "count" | "lastRequest" | "id";
|
|
2450
|
-
operator?:
|
|
2451
|
-
| "lt"
|
|
2452
|
-
| "lte"
|
|
2453
|
-
| "gt"
|
|
2454
|
-
| "gte"
|
|
2455
|
-
| "eq"
|
|
2456
|
-
| "in"
|
|
2457
|
-
| "ne"
|
|
2458
|
-
| "contains"
|
|
2459
|
-
| "starts_with"
|
|
2460
|
-
| "ends_with";
|
|
2461
|
-
value:
|
|
2462
|
-
| string
|
|
2463
|
-
| number
|
|
2464
|
-
| boolean
|
|
2465
|
-
| Array<string>
|
|
2466
|
-
| Array<number>
|
|
2467
|
-
| null;
|
|
2468
|
-
}>;
|
|
2469
|
-
};
|
|
2470
|
-
onUpdateHandle?: string;
|
|
2471
|
-
paginationOpts: {
|
|
2472
|
-
cursor: string | null;
|
|
2473
|
-
endCursor?: string | null;
|
|
2474
|
-
id?: number;
|
|
2475
|
-
maximumBytesRead?: number;
|
|
2476
|
-
maximumRowsRead?: number;
|
|
2477
|
-
numItems: number;
|
|
2478
|
-
};
|
|
2479
|
-
},
|
|
2480
|
-
any
|
|
2481
|
-
>;
|
|
2482
|
-
updateOne: FunctionReference<
|
|
2483
|
-
"mutation",
|
|
2484
|
-
"public",
|
|
2485
|
-
{
|
|
2486
|
-
input:
|
|
2487
|
-
| {
|
|
2488
|
-
model: "user";
|
|
1618
|
+
model: "user";
|
|
2489
1619
|
update: {
|
|
2490
1620
|
createdAt?: number;
|
|
2491
1621
|
displayUsername?: null | string;
|
|
@@ -2517,7 +1647,7 @@ export type Mounts = {
|
|
|
2517
1647
|
| "phoneNumber"
|
|
2518
1648
|
| "phoneNumberVerified"
|
|
2519
1649
|
| "userId"
|
|
2520
|
-
| "
|
|
1650
|
+
| "_id";
|
|
2521
1651
|
operator?:
|
|
2522
1652
|
| "lt"
|
|
2523
1653
|
| "lte"
|
|
@@ -2525,6 +1655,7 @@ export type Mounts = {
|
|
|
2525
1655
|
| "gte"
|
|
2526
1656
|
| "eq"
|
|
2527
1657
|
| "in"
|
|
1658
|
+
| "not_in"
|
|
2528
1659
|
| "ne"
|
|
2529
1660
|
| "contains"
|
|
2530
1661
|
| "starts_with"
|
|
@@ -2559,7 +1690,7 @@ export type Mounts = {
|
|
|
2559
1690
|
| "ipAddress"
|
|
2560
1691
|
| "userAgent"
|
|
2561
1692
|
| "userId"
|
|
2562
|
-
| "
|
|
1693
|
+
| "_id";
|
|
2563
1694
|
operator?:
|
|
2564
1695
|
| "lt"
|
|
2565
1696
|
| "lte"
|
|
@@ -2567,6 +1698,7 @@ export type Mounts = {
|
|
|
2567
1698
|
| "gte"
|
|
2568
1699
|
| "eq"
|
|
2569
1700
|
| "in"
|
|
1701
|
+
| "not_in"
|
|
2570
1702
|
| "ne"
|
|
2571
1703
|
| "contains"
|
|
2572
1704
|
| "starts_with"
|
|
@@ -2611,7 +1743,7 @@ export type Mounts = {
|
|
|
2611
1743
|
| "password"
|
|
2612
1744
|
| "createdAt"
|
|
2613
1745
|
| "updatedAt"
|
|
2614
|
-
| "
|
|
1746
|
+
| "_id";
|
|
2615
1747
|
operator?:
|
|
2616
1748
|
| "lt"
|
|
2617
1749
|
| "lte"
|
|
@@ -2619,6 +1751,7 @@ export type Mounts = {
|
|
|
2619
1751
|
| "gte"
|
|
2620
1752
|
| "eq"
|
|
2621
1753
|
| "in"
|
|
1754
|
+
| "not_in"
|
|
2622
1755
|
| "ne"
|
|
2623
1756
|
| "contains"
|
|
2624
1757
|
| "starts_with"
|
|
@@ -2649,7 +1782,7 @@ export type Mounts = {
|
|
|
2649
1782
|
| "expiresAt"
|
|
2650
1783
|
| "createdAt"
|
|
2651
1784
|
| "updatedAt"
|
|
2652
|
-
| "
|
|
1785
|
+
| "_id";
|
|
2653
1786
|
operator?:
|
|
2654
1787
|
| "lt"
|
|
2655
1788
|
| "lte"
|
|
@@ -2657,6 +1790,7 @@ export type Mounts = {
|
|
|
2657
1790
|
| "gte"
|
|
2658
1791
|
| "eq"
|
|
2659
1792
|
| "in"
|
|
1793
|
+
| "not_in"
|
|
2660
1794
|
| "ne"
|
|
2661
1795
|
| "contains"
|
|
2662
1796
|
| "starts_with"
|
|
@@ -2679,7 +1813,7 @@ export type Mounts = {
|
|
|
2679
1813
|
};
|
|
2680
1814
|
where?: Array<{
|
|
2681
1815
|
connector?: "AND" | "OR";
|
|
2682
|
-
field: "secret" | "backupCodes" | "userId" | "
|
|
1816
|
+
field: "secret" | "backupCodes" | "userId" | "_id";
|
|
2683
1817
|
operator?:
|
|
2684
1818
|
| "lt"
|
|
2685
1819
|
| "lte"
|
|
@@ -2687,6 +1821,7 @@ export type Mounts = {
|
|
|
2687
1821
|
| "gte"
|
|
2688
1822
|
| "eq"
|
|
2689
1823
|
| "in"
|
|
1824
|
+
| "not_in"
|
|
2690
1825
|
| "ne"
|
|
2691
1826
|
| "contains"
|
|
2692
1827
|
| "starts_with"
|
|
@@ -2727,7 +1862,7 @@ export type Mounts = {
|
|
|
2727
1862
|
| "transports"
|
|
2728
1863
|
| "createdAt"
|
|
2729
1864
|
| "aaguid"
|
|
2730
|
-
| "
|
|
1865
|
+
| "_id";
|
|
2731
1866
|
operator?:
|
|
2732
1867
|
| "lt"
|
|
2733
1868
|
| "lte"
|
|
@@ -2735,6 +1870,7 @@ export type Mounts = {
|
|
|
2735
1870
|
| "gte"
|
|
2736
1871
|
| "eq"
|
|
2737
1872
|
| "in"
|
|
1873
|
+
| "not_in"
|
|
2738
1874
|
| "ne"
|
|
2739
1875
|
| "contains"
|
|
2740
1876
|
| "starts_with"
|
|
@@ -2777,7 +1913,7 @@ export type Mounts = {
|
|
|
2777
1913
|
| "userId"
|
|
2778
1914
|
| "createdAt"
|
|
2779
1915
|
| "updatedAt"
|
|
2780
|
-
| "
|
|
1916
|
+
| "_id";
|
|
2781
1917
|
operator?:
|
|
2782
1918
|
| "lt"
|
|
2783
1919
|
| "lte"
|
|
@@ -2785,6 +1921,7 @@ export type Mounts = {
|
|
|
2785
1921
|
| "gte"
|
|
2786
1922
|
| "eq"
|
|
2787
1923
|
| "in"
|
|
1924
|
+
| "not_in"
|
|
2788
1925
|
| "ne"
|
|
2789
1926
|
| "contains"
|
|
2790
1927
|
| "starts_with"
|
|
@@ -2823,7 +1960,7 @@ export type Mounts = {
|
|
|
2823
1960
|
| "scopes"
|
|
2824
1961
|
| "createdAt"
|
|
2825
1962
|
| "updatedAt"
|
|
2826
|
-
| "
|
|
1963
|
+
| "_id";
|
|
2827
1964
|
operator?:
|
|
2828
1965
|
| "lt"
|
|
2829
1966
|
| "lte"
|
|
@@ -2831,6 +1968,7 @@ export type Mounts = {
|
|
|
2831
1968
|
| "gte"
|
|
2832
1969
|
| "eq"
|
|
2833
1970
|
| "in"
|
|
1971
|
+
| "not_in"
|
|
2834
1972
|
| "ne"
|
|
2835
1973
|
| "contains"
|
|
2836
1974
|
| "starts_with"
|
|
@@ -2863,231 +2001,7 @@ export type Mounts = {
|
|
|
2863
2001
|
| "createdAt"
|
|
2864
2002
|
| "updatedAt"
|
|
2865
2003
|
| "consentGiven"
|
|
2866
|
-
| "
|
|
2867
|
-
operator?:
|
|
2868
|
-
| "lt"
|
|
2869
|
-
| "lte"
|
|
2870
|
-
| "gt"
|
|
2871
|
-
| "gte"
|
|
2872
|
-
| "eq"
|
|
2873
|
-
| "in"
|
|
2874
|
-
| "ne"
|
|
2875
|
-
| "contains"
|
|
2876
|
-
| "starts_with"
|
|
2877
|
-
| "ends_with";
|
|
2878
|
-
value:
|
|
2879
|
-
| string
|
|
2880
|
-
| number
|
|
2881
|
-
| boolean
|
|
2882
|
-
| Array<string>
|
|
2883
|
-
| Array<number>
|
|
2884
|
-
| null;
|
|
2885
|
-
}>;
|
|
2886
|
-
}
|
|
2887
|
-
| {
|
|
2888
|
-
model: "team";
|
|
2889
|
-
update: {
|
|
2890
|
-
createdAt?: number;
|
|
2891
|
-
name?: string;
|
|
2892
|
-
organizationId?: string;
|
|
2893
|
-
updatedAt?: null | number;
|
|
2894
|
-
};
|
|
2895
|
-
where?: Array<{
|
|
2896
|
-
connector?: "AND" | "OR";
|
|
2897
|
-
field:
|
|
2898
|
-
| "name"
|
|
2899
|
-
| "organizationId"
|
|
2900
|
-
| "createdAt"
|
|
2901
|
-
| "updatedAt"
|
|
2902
|
-
| "id";
|
|
2903
|
-
operator?:
|
|
2904
|
-
| "lt"
|
|
2905
|
-
| "lte"
|
|
2906
|
-
| "gt"
|
|
2907
|
-
| "gte"
|
|
2908
|
-
| "eq"
|
|
2909
|
-
| "in"
|
|
2910
|
-
| "ne"
|
|
2911
|
-
| "contains"
|
|
2912
|
-
| "starts_with"
|
|
2913
|
-
| "ends_with";
|
|
2914
|
-
value:
|
|
2915
|
-
| string
|
|
2916
|
-
| number
|
|
2917
|
-
| boolean
|
|
2918
|
-
| Array<string>
|
|
2919
|
-
| Array<number>
|
|
2920
|
-
| null;
|
|
2921
|
-
}>;
|
|
2922
|
-
}
|
|
2923
|
-
| {
|
|
2924
|
-
model: "teamMember";
|
|
2925
|
-
update: {
|
|
2926
|
-
createdAt?: null | number;
|
|
2927
|
-
teamId?: string;
|
|
2928
|
-
userId?: string;
|
|
2929
|
-
};
|
|
2930
|
-
where?: Array<{
|
|
2931
|
-
connector?: "AND" | "OR";
|
|
2932
|
-
field: "teamId" | "userId" | "createdAt" | "id";
|
|
2933
|
-
operator?:
|
|
2934
|
-
| "lt"
|
|
2935
|
-
| "lte"
|
|
2936
|
-
| "gt"
|
|
2937
|
-
| "gte"
|
|
2938
|
-
| "eq"
|
|
2939
|
-
| "in"
|
|
2940
|
-
| "ne"
|
|
2941
|
-
| "contains"
|
|
2942
|
-
| "starts_with"
|
|
2943
|
-
| "ends_with";
|
|
2944
|
-
value:
|
|
2945
|
-
| string
|
|
2946
|
-
| number
|
|
2947
|
-
| boolean
|
|
2948
|
-
| Array<string>
|
|
2949
|
-
| Array<number>
|
|
2950
|
-
| null;
|
|
2951
|
-
}>;
|
|
2952
|
-
}
|
|
2953
|
-
| {
|
|
2954
|
-
model: "organization";
|
|
2955
|
-
update: {
|
|
2956
|
-
createdAt?: number;
|
|
2957
|
-
logo?: null | string;
|
|
2958
|
-
metadata?: null | string;
|
|
2959
|
-
name?: string;
|
|
2960
|
-
slug?: null | string;
|
|
2961
|
-
};
|
|
2962
|
-
where?: Array<{
|
|
2963
|
-
connector?: "AND" | "OR";
|
|
2964
|
-
field:
|
|
2965
|
-
| "name"
|
|
2966
|
-
| "slug"
|
|
2967
|
-
| "logo"
|
|
2968
|
-
| "createdAt"
|
|
2969
|
-
| "metadata"
|
|
2970
|
-
| "id";
|
|
2971
|
-
operator?:
|
|
2972
|
-
| "lt"
|
|
2973
|
-
| "lte"
|
|
2974
|
-
| "gt"
|
|
2975
|
-
| "gte"
|
|
2976
|
-
| "eq"
|
|
2977
|
-
| "in"
|
|
2978
|
-
| "ne"
|
|
2979
|
-
| "contains"
|
|
2980
|
-
| "starts_with"
|
|
2981
|
-
| "ends_with";
|
|
2982
|
-
value:
|
|
2983
|
-
| string
|
|
2984
|
-
| number
|
|
2985
|
-
| boolean
|
|
2986
|
-
| Array<string>
|
|
2987
|
-
| Array<number>
|
|
2988
|
-
| null;
|
|
2989
|
-
}>;
|
|
2990
|
-
}
|
|
2991
|
-
| {
|
|
2992
|
-
model: "member";
|
|
2993
|
-
update: {
|
|
2994
|
-
createdAt?: number;
|
|
2995
|
-
organizationId?: string;
|
|
2996
|
-
role?: string;
|
|
2997
|
-
userId?: string;
|
|
2998
|
-
};
|
|
2999
|
-
where?: Array<{
|
|
3000
|
-
connector?: "AND" | "OR";
|
|
3001
|
-
field:
|
|
3002
|
-
| "organizationId"
|
|
3003
|
-
| "userId"
|
|
3004
|
-
| "role"
|
|
3005
|
-
| "createdAt"
|
|
3006
|
-
| "id";
|
|
3007
|
-
operator?:
|
|
3008
|
-
| "lt"
|
|
3009
|
-
| "lte"
|
|
3010
|
-
| "gt"
|
|
3011
|
-
| "gte"
|
|
3012
|
-
| "eq"
|
|
3013
|
-
| "in"
|
|
3014
|
-
| "ne"
|
|
3015
|
-
| "contains"
|
|
3016
|
-
| "starts_with"
|
|
3017
|
-
| "ends_with";
|
|
3018
|
-
value:
|
|
3019
|
-
| string
|
|
3020
|
-
| number
|
|
3021
|
-
| boolean
|
|
3022
|
-
| Array<string>
|
|
3023
|
-
| Array<number>
|
|
3024
|
-
| null;
|
|
3025
|
-
}>;
|
|
3026
|
-
}
|
|
3027
|
-
| {
|
|
3028
|
-
model: "invitation";
|
|
3029
|
-
update: {
|
|
3030
|
-
email?: string;
|
|
3031
|
-
expiresAt?: number;
|
|
3032
|
-
inviterId?: string;
|
|
3033
|
-
organizationId?: string;
|
|
3034
|
-
role?: null | string;
|
|
3035
|
-
status?: string;
|
|
3036
|
-
teamId?: null | string;
|
|
3037
|
-
};
|
|
3038
|
-
where?: Array<{
|
|
3039
|
-
connector?: "AND" | "OR";
|
|
3040
|
-
field:
|
|
3041
|
-
| "organizationId"
|
|
3042
|
-
| "email"
|
|
3043
|
-
| "role"
|
|
3044
|
-
| "teamId"
|
|
3045
|
-
| "status"
|
|
3046
|
-
| "expiresAt"
|
|
3047
|
-
| "inviterId"
|
|
3048
|
-
| "id";
|
|
3049
|
-
operator?:
|
|
3050
|
-
| "lt"
|
|
3051
|
-
| "lte"
|
|
3052
|
-
| "gt"
|
|
3053
|
-
| "gte"
|
|
3054
|
-
| "eq"
|
|
3055
|
-
| "in"
|
|
3056
|
-
| "ne"
|
|
3057
|
-
| "contains"
|
|
3058
|
-
| "starts_with"
|
|
3059
|
-
| "ends_with";
|
|
3060
|
-
value:
|
|
3061
|
-
| string
|
|
3062
|
-
| number
|
|
3063
|
-
| boolean
|
|
3064
|
-
| Array<string>
|
|
3065
|
-
| Array<number>
|
|
3066
|
-
| null;
|
|
3067
|
-
}>;
|
|
3068
|
-
}
|
|
3069
|
-
| {
|
|
3070
|
-
model: "ssoProvider";
|
|
3071
|
-
update: {
|
|
3072
|
-
domain?: string;
|
|
3073
|
-
issuer?: string;
|
|
3074
|
-
oidcConfig?: null | string;
|
|
3075
|
-
organizationId?: null | string;
|
|
3076
|
-
providerId?: string;
|
|
3077
|
-
samlConfig?: null | string;
|
|
3078
|
-
userId?: null | string;
|
|
3079
|
-
};
|
|
3080
|
-
where?: Array<{
|
|
3081
|
-
connector?: "AND" | "OR";
|
|
3082
|
-
field:
|
|
3083
|
-
| "issuer"
|
|
3084
|
-
| "oidcConfig"
|
|
3085
|
-
| "samlConfig"
|
|
3086
|
-
| "userId"
|
|
3087
|
-
| "providerId"
|
|
3088
|
-
| "organizationId"
|
|
3089
|
-
| "domain"
|
|
3090
|
-
| "id";
|
|
2004
|
+
| "_id";
|
|
3091
2005
|
operator?:
|
|
3092
2006
|
| "lt"
|
|
3093
2007
|
| "lte"
|
|
@@ -3095,6 +2009,7 @@ export type Mounts = {
|
|
|
3095
2009
|
| "gte"
|
|
3096
2010
|
| "eq"
|
|
3097
2011
|
| "in"
|
|
2012
|
+
| "not_in"
|
|
3098
2013
|
| "ne"
|
|
3099
2014
|
| "contains"
|
|
3100
2015
|
| "starts_with"
|
|
@@ -3117,95 +2032,7 @@ export type Mounts = {
|
|
|
3117
2032
|
};
|
|
3118
2033
|
where?: Array<{
|
|
3119
2034
|
connector?: "AND" | "OR";
|
|
3120
|
-
field: "publicKey" | "privateKey" | "createdAt" | "
|
|
3121
|
-
operator?:
|
|
3122
|
-
| "lt"
|
|
3123
|
-
| "lte"
|
|
3124
|
-
| "gt"
|
|
3125
|
-
| "gte"
|
|
3126
|
-
| "eq"
|
|
3127
|
-
| "in"
|
|
3128
|
-
| "ne"
|
|
3129
|
-
| "contains"
|
|
3130
|
-
| "starts_with"
|
|
3131
|
-
| "ends_with";
|
|
3132
|
-
value:
|
|
3133
|
-
| string
|
|
3134
|
-
| number
|
|
3135
|
-
| boolean
|
|
3136
|
-
| Array<string>
|
|
3137
|
-
| Array<number>
|
|
3138
|
-
| null;
|
|
3139
|
-
}>;
|
|
3140
|
-
}
|
|
3141
|
-
| {
|
|
3142
|
-
model: "subscription";
|
|
3143
|
-
update: {
|
|
3144
|
-
cancelAtPeriodEnd?: null | boolean;
|
|
3145
|
-
periodEnd?: null | number;
|
|
3146
|
-
periodStart?: null | number;
|
|
3147
|
-
plan?: string;
|
|
3148
|
-
referenceId?: string;
|
|
3149
|
-
seats?: null | number;
|
|
3150
|
-
status?: null | string;
|
|
3151
|
-
stripeCustomerId?: null | string;
|
|
3152
|
-
stripeSubscriptionId?: null | string;
|
|
3153
|
-
trialEnd?: null | number;
|
|
3154
|
-
trialStart?: null | number;
|
|
3155
|
-
};
|
|
3156
|
-
where?: Array<{
|
|
3157
|
-
connector?: "AND" | "OR";
|
|
3158
|
-
field:
|
|
3159
|
-
| "plan"
|
|
3160
|
-
| "referenceId"
|
|
3161
|
-
| "stripeCustomerId"
|
|
3162
|
-
| "stripeSubscriptionId"
|
|
3163
|
-
| "status"
|
|
3164
|
-
| "periodStart"
|
|
3165
|
-
| "periodEnd"
|
|
3166
|
-
| "trialStart"
|
|
3167
|
-
| "trialEnd"
|
|
3168
|
-
| "cancelAtPeriodEnd"
|
|
3169
|
-
| "seats"
|
|
3170
|
-
| "id";
|
|
3171
|
-
operator?:
|
|
3172
|
-
| "lt"
|
|
3173
|
-
| "lte"
|
|
3174
|
-
| "gt"
|
|
3175
|
-
| "gte"
|
|
3176
|
-
| "eq"
|
|
3177
|
-
| "in"
|
|
3178
|
-
| "ne"
|
|
3179
|
-
| "contains"
|
|
3180
|
-
| "starts_with"
|
|
3181
|
-
| "ends_with";
|
|
3182
|
-
value:
|
|
3183
|
-
| string
|
|
3184
|
-
| number
|
|
3185
|
-
| boolean
|
|
3186
|
-
| Array<string>
|
|
3187
|
-
| Array<number>
|
|
3188
|
-
| null;
|
|
3189
|
-
}>;
|
|
3190
|
-
}
|
|
3191
|
-
| {
|
|
3192
|
-
model: "walletAddress";
|
|
3193
|
-
update: {
|
|
3194
|
-
address?: string;
|
|
3195
|
-
chainId?: number;
|
|
3196
|
-
createdAt?: number;
|
|
3197
|
-
isPrimary?: null | boolean;
|
|
3198
|
-
userId?: string;
|
|
3199
|
-
};
|
|
3200
|
-
where?: Array<{
|
|
3201
|
-
connector?: "AND" | "OR";
|
|
3202
|
-
field:
|
|
3203
|
-
| "userId"
|
|
3204
|
-
| "address"
|
|
3205
|
-
| "chainId"
|
|
3206
|
-
| "isPrimary"
|
|
3207
|
-
| "createdAt"
|
|
3208
|
-
| "id";
|
|
2035
|
+
field: "publicKey" | "privateKey" | "createdAt" | "_id";
|
|
3209
2036
|
operator?:
|
|
3210
2037
|
| "lt"
|
|
3211
2038
|
| "lte"
|
|
@@ -3213,6 +2040,7 @@ export type Mounts = {
|
|
|
3213
2040
|
| "gte"
|
|
3214
2041
|
| "eq"
|
|
3215
2042
|
| "in"
|
|
2043
|
+
| "not_in"
|
|
3216
2044
|
| "ne"
|
|
3217
2045
|
| "contains"
|
|
3218
2046
|
| "starts_with"
|
|
@@ -3235,7 +2063,7 @@ export type Mounts = {
|
|
|
3235
2063
|
};
|
|
3236
2064
|
where?: Array<{
|
|
3237
2065
|
connector?: "AND" | "OR";
|
|
3238
|
-
field: "key" | "count" | "lastRequest" | "
|
|
2066
|
+
field: "key" | "count" | "lastRequest" | "_id";
|
|
3239
2067
|
operator?:
|
|
3240
2068
|
| "lt"
|
|
3241
2069
|
| "lte"
|
|
@@ -3243,6 +2071,7 @@ export type Mounts = {
|
|
|
3243
2071
|
| "gte"
|
|
3244
2072
|
| "eq"
|
|
3245
2073
|
| "in"
|
|
2074
|
+
| "not_in"
|
|
3246
2075
|
| "ne"
|
|
3247
2076
|
| "contains"
|
|
3248
2077
|
| "starts_with"
|
|
@@ -3261,7 +2090,7 @@ export type Mounts = {
|
|
|
3261
2090
|
update: { count?: number; key?: string; lastRequest?: number };
|
|
3262
2091
|
where?: Array<{
|
|
3263
2092
|
connector?: "AND" | "OR";
|
|
3264
|
-
field: "key" | "count" | "lastRequest" | "
|
|
2093
|
+
field: "key" | "count" | "lastRequest" | "_id";
|
|
3265
2094
|
operator?:
|
|
3266
2095
|
| "lt"
|
|
3267
2096
|
| "lte"
|
|
@@ -3269,6 +2098,7 @@ export type Mounts = {
|
|
|
3269
2098
|
| "gte"
|
|
3270
2099
|
| "eq"
|
|
3271
2100
|
| "in"
|
|
2101
|
+
| "not_in"
|
|
3272
2102
|
| "ne"
|
|
3273
2103
|
| "contains"
|
|
3274
2104
|
| "starts_with"
|