@cleanmate/cip-sdk 1.0.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.
Files changed (46) hide show
  1. package/README.md +114 -0
  2. package/dist/abis/Cleanup.d.ts +132 -0
  3. package/dist/abis/Cleanup.d.ts.map +1 -0
  4. package/dist/abis/Cleanup.js +1327 -0
  5. package/dist/abis/Cleanup.js.map +1 -0
  6. package/dist/abis/RewardsManager.d.ts +724 -0
  7. package/dist/abis/RewardsManager.d.ts.map +1 -0
  8. package/dist/abis/RewardsManager.js +934 -0
  9. package/dist/abis/RewardsManager.js.map +1 -0
  10. package/dist/abis/Streak.d.ts +601 -0
  11. package/dist/abis/Streak.d.ts.map +1 -0
  12. package/dist/abis/Streak.js +778 -0
  13. package/dist/abis/Streak.js.map +1 -0
  14. package/dist/abis/UserRegistry.d.ts +876 -0
  15. package/dist/abis/UserRegistry.d.ts.map +1 -0
  16. package/dist/abis/UserRegistry.js +1134 -0
  17. package/dist/abis/UserRegistry.js.map +1 -0
  18. package/dist/base.d.ts +53 -0
  19. package/dist/base.d.ts.map +1 -0
  20. package/dist/base.js +68 -0
  21. package/dist/base.js.map +1 -0
  22. package/dist/cleanup.d.ts +70 -0
  23. package/dist/cleanup.d.ts.map +1 -0
  24. package/dist/cleanup.js +75 -0
  25. package/dist/cleanup.js.map +1 -0
  26. package/dist/index.d.ts +21 -0
  27. package/dist/index.d.ts.map +1 -0
  28. package/dist/index.js +23 -0
  29. package/dist/index.js.map +1 -0
  30. package/dist/streak.d.ts +57 -0
  31. package/dist/streak.d.ts.map +1 -0
  32. package/dist/streak.js +71 -0
  33. package/dist/streak.js.map +1 -0
  34. package/dist/subgraph/queries.d.ts +241 -0
  35. package/dist/subgraph/queries.d.ts.map +1 -0
  36. package/dist/subgraph/queries.js +837 -0
  37. package/dist/subgraph/queries.js.map +1 -0
  38. package/dist/subgraph/types.d.ts +1376 -0
  39. package/dist/subgraph/types.d.ts.map +1 -0
  40. package/dist/subgraph/types.js +6 -0
  41. package/dist/subgraph/types.js.map +1 -0
  42. package/dist/user.d.ts +38 -0
  43. package/dist/user.d.ts.map +1 -0
  44. package/dist/user.js +41 -0
  45. package/dist/user.js.map +1 -0
  46. package/package.json +58 -0
@@ -0,0 +1,1376 @@
1
+ /**
2
+ * Complete TypeScript types for all subgraph entities and filters
3
+ * Based on vechain-subgraph/schema.graphql
4
+ */
5
+ export interface User {
6
+ id: string;
7
+ metadata: string | null;
8
+ email: string | null;
9
+ emailVerified: boolean;
10
+ kycStatus: number;
11
+ referralCode: string | null;
12
+ referrer: string | null;
13
+ isOrganizer: boolean;
14
+ registeredAt: number;
15
+ emailVerifiedAt: number | null;
16
+ lastProfileUpdateAt: number | null;
17
+ totalRewardsEarned: string;
18
+ totalRewardsClaimed: string;
19
+ pendingRewards: string;
20
+ }
21
+ export interface TeamMembership {
22
+ id: string;
23
+ organizer: string;
24
+ member: string;
25
+ canEditCleanups: boolean;
26
+ canManageParticipants: boolean;
27
+ canSubmitProof: boolean;
28
+ addedAt: number;
29
+ lastUpdatedAt: number;
30
+ }
31
+ export interface Cleanup {
32
+ id: string;
33
+ organizer: string;
34
+ metadata: string;
35
+ category: string | null;
36
+ date: number;
37
+ startTime: number | null;
38
+ endTime: number | null;
39
+ maxParticipants: number | null;
40
+ status: number;
41
+ published: boolean;
42
+ publishedAt: number | null;
43
+ unpublishedAt: number | null;
44
+ createdAt: number;
45
+ updatedAt: number | null;
46
+ location: string | null;
47
+ city: string | null;
48
+ country: string | null;
49
+ latitude: string | null;
50
+ longitude: string | null;
51
+ rewardAmount: string | null;
52
+ rewardsDistributed: boolean;
53
+ rewardsTotalAmount: string | null;
54
+ rewardsParticipantCount: string | null;
55
+ rewardsDistributedAt: number | null;
56
+ proofOfWorkSubmitted: boolean;
57
+ proofOfWorkSubmittedAt: number | null;
58
+ participants?: CleanupParticipant[];
59
+ updates?: CleanupUpdate[];
60
+ proofOfWork?: ProofOfWork;
61
+ }
62
+ export interface ProofOfWork {
63
+ id: string;
64
+ cleanup: Cleanup;
65
+ ipfsHashes: string[];
66
+ mimetypes: string[];
67
+ submittedAt: number;
68
+ }
69
+ export interface CleanupUpdate {
70
+ id: string;
71
+ cleanup: Cleanup;
72
+ organizer: string;
73
+ metadata: string;
74
+ link: string | null;
75
+ addedAt: number;
76
+ blockNumber: number;
77
+ transactionHash: string;
78
+ }
79
+ export interface CleanupParticipant {
80
+ id: string;
81
+ cleanup: Cleanup;
82
+ participant: string;
83
+ user: User;
84
+ appliedAt: number;
85
+ status: string;
86
+ acceptedAt: number | null;
87
+ rejectedAt: number | null;
88
+ rewardEarned: string;
89
+ rewardEarnedAt: number | null;
90
+ }
91
+ export interface Transaction {
92
+ id: string;
93
+ user: string;
94
+ cleanupId: string | null;
95
+ streakSubmissionId: string | null;
96
+ amount: string;
97
+ transactionType: string;
98
+ rewardType: number | null;
99
+ timestamp: number;
100
+ blockNumber: number;
101
+ transactionHash: string;
102
+ }
103
+ export interface Notification {
104
+ id: string;
105
+ user: string;
106
+ type: string;
107
+ title: string;
108
+ message: string;
109
+ relatedEntity: string | null;
110
+ relatedEntityType: string | null;
111
+ read: boolean;
112
+ createdAt: number;
113
+ blockNumber: number;
114
+ transactionHash: string;
115
+ }
116
+ export interface AddressUpdated {
117
+ id: string;
118
+ key: string;
119
+ oldAddress: string;
120
+ newAddress: string;
121
+ blockNumber: number;
122
+ blocktimestamp: number;
123
+ transactionHash: string;
124
+ }
125
+ export interface AppIdUpdated {
126
+ id: string;
127
+ oldAppId: string;
128
+ newAppId: string;
129
+ blockNumber: number;
130
+ blocktimestamp: number;
131
+ transactionHash: string;
132
+ }
133
+ export interface RewardsPoolUpdated {
134
+ id: string;
135
+ oldPool: string;
136
+ newPool: string;
137
+ blockNumber: number;
138
+ blocktimestamp: number;
139
+ transactionHash: string;
140
+ }
141
+ export interface StreakSubmission {
142
+ id: string;
143
+ user: string;
144
+ submissionId: string;
145
+ metadata: string;
146
+ status: number;
147
+ submittedAt: number;
148
+ reviewedAt: number | null;
149
+ amount: string | null;
150
+ rewardAmount: string | null;
151
+ rejectionReason: string | null;
152
+ ipfsHashes: string[];
153
+ mimetypes: string[];
154
+ blockNumber: number;
155
+ transactionHash: string;
156
+ }
157
+ export interface UserStreakStats {
158
+ id: string;
159
+ user: string;
160
+ streakerCode: string | null;
161
+ totalSubmissions: string;
162
+ approvedSubmissions: string;
163
+ rejectedSubmissions: string;
164
+ pendingSubmissions: string;
165
+ totalAmount: string;
166
+ lastSubmissionAt: number | null;
167
+ }
168
+ export type OrderDirection = "asc" | "desc";
169
+ export interface User_filter {
170
+ id?: string | null;
171
+ id_not?: string | null;
172
+ id_gt?: string | null;
173
+ id_lt?: string | null;
174
+ id_gte?: string | null;
175
+ id_lte?: string | null;
176
+ id_in?: string[];
177
+ id_not_in?: string[];
178
+ id_contains?: string | null;
179
+ id_not_contains?: string | null;
180
+ metadata?: string | null;
181
+ metadata_not?: string | null;
182
+ metadata_gt?: string | null;
183
+ metadata_lt?: string | null;
184
+ metadata_gte?: string | null;
185
+ metadata_lte?: string | null;
186
+ metadata_in?: string[];
187
+ metadata_not_in?: string[];
188
+ metadata_contains?: string | null;
189
+ metadata_not_contains?: string | null;
190
+ metadata_starts_with?: string | null;
191
+ metadata_starts_with_nocase?: string | null;
192
+ metadata_not_starts_with?: string | null;
193
+ metadata_not_starts_with_nocase?: string | null;
194
+ metadata_ends_with?: string | null;
195
+ metadata_ends_with_nocase?: string | null;
196
+ metadata_not_ends_with?: string | null;
197
+ metadata_not_ends_with_nocase?: string | null;
198
+ email?: string | null;
199
+ email_not?: string | null;
200
+ email_gt?: string | null;
201
+ email_lt?: string | null;
202
+ email_gte?: string | null;
203
+ email_lte?: string | null;
204
+ email_in?: string[];
205
+ email_not_in?: string[];
206
+ email_contains?: string | null;
207
+ email_not_contains?: string | null;
208
+ email_starts_with?: string | null;
209
+ email_starts_with_nocase?: string | null;
210
+ email_not_starts_with?: string | null;
211
+ email_not_starts_with_nocase?: string | null;
212
+ email_ends_with?: string | null;
213
+ email_ends_with_nocase?: string | null;
214
+ email_not_ends_with?: string | null;
215
+ email_not_ends_with_nocase?: string | null;
216
+ emailVerified?: boolean | null;
217
+ emailVerified_not?: boolean | null;
218
+ kycStatus?: number | null;
219
+ kycStatus_not?: number | null;
220
+ kycStatus_gt?: number | null;
221
+ kycStatus_lt?: number | null;
222
+ kycStatus_gte?: number | null;
223
+ kycStatus_lte?: number | null;
224
+ kycStatus_in?: number[];
225
+ kycStatus_not_in?: number[];
226
+ referralCode?: string | null;
227
+ referralCode_not?: string | null;
228
+ referralCode_gt?: string | null;
229
+ referralCode_lt?: string | null;
230
+ referralCode_gte?: string | null;
231
+ referralCode_lte?: string | null;
232
+ referralCode_in?: string[];
233
+ referralCode_not_in?: string[];
234
+ referralCode_contains?: string | null;
235
+ referralCode_not_contains?: string | null;
236
+ referralCode_starts_with?: string | null;
237
+ referralCode_starts_with_nocase?: string | null;
238
+ referralCode_not_starts_with?: string | null;
239
+ referralCode_not_starts_with_nocase?: string | null;
240
+ referralCode_ends_with?: string | null;
241
+ referralCode_ends_with_nocase?: string | null;
242
+ referralCode_not_ends_with?: string | null;
243
+ referralCode_not_ends_with_nocase?: string | null;
244
+ referrer?: string | null;
245
+ referrer_not?: string | null;
246
+ referrer_in?: string[];
247
+ referrer_not_in?: string[];
248
+ referrer_contains?: string | null;
249
+ referrer_not_contains?: string | null;
250
+ isOrganizer?: boolean | null;
251
+ isOrganizer_not?: boolean | null;
252
+ registeredAt?: number | null;
253
+ registeredAt_not?: string | null;
254
+ registeredAt_gt?: string | null;
255
+ registeredAt_lt?: string | null;
256
+ registeredAt_gte?: string | null;
257
+ registeredAt_lte?: string | null;
258
+ registeredAt_in?: string[];
259
+ registeredAt_not_in?: string[];
260
+ emailVerifiedAt?: number | null;
261
+ emailVerifiedAt_not?: string | null;
262
+ emailVerifiedAt_gt?: string | null;
263
+ emailVerifiedAt_lt?: string | null;
264
+ emailVerifiedAt_gte?: string | null;
265
+ emailVerifiedAt_lte?: string | null;
266
+ emailVerifiedAt_in?: string[];
267
+ emailVerifiedAt_not_in?: string[];
268
+ lastProfileUpdateAt?: number | null;
269
+ lastProfileUpdateAt_not?: string | null;
270
+ lastProfileUpdateAt_gt?: string | null;
271
+ lastProfileUpdateAt_lt?: string | null;
272
+ lastProfileUpdateAt_gte?: string | null;
273
+ lastProfileUpdateAt_lte?: string | null;
274
+ lastProfileUpdateAt_in?: string[];
275
+ lastProfileUpdateAt_not_in?: string[];
276
+ totalRewardsEarned?: string | null;
277
+ totalRewardsEarned_not?: string | null;
278
+ totalRewardsEarned_gt?: string | null;
279
+ totalRewardsEarned_lt?: string | null;
280
+ totalRewardsEarned_gte?: string | null;
281
+ totalRewardsEarned_lte?: string | null;
282
+ totalRewardsEarned_in?: string[];
283
+ totalRewardsEarned_not_in?: string[];
284
+ totalRewardsClaimed?: string | null;
285
+ totalRewardsClaimed_not?: string | null;
286
+ totalRewardsClaimed_gt?: string | null;
287
+ totalRewardsClaimed_lt?: string | null;
288
+ totalRewardsClaimed_gte?: string | null;
289
+ totalRewardsClaimed_lte?: string | null;
290
+ totalRewardsClaimed_in?: string[];
291
+ totalRewardsClaimed_not_in?: string[];
292
+ pendingRewards?: string | null;
293
+ pendingRewards_not?: string | null;
294
+ pendingRewards_gt?: string | null;
295
+ pendingRewards_lt?: string | null;
296
+ pendingRewards_gte?: string | null;
297
+ pendingRewards_lte?: string | null;
298
+ pendingRewards_in?: string[];
299
+ pendingRewards_not_in?: string[];
300
+ }
301
+ export type User_orderBy = "id" | "metadata" | "email" | "emailVerified" | "kycStatus" | "referralCode" | "referrer" | "isOrganizer" | "registeredAt" | "emailVerifiedAt" | "lastProfileUpdateAt" | "totalRewardsEarned" | "totalRewardsClaimed" | "pendingRewards";
302
+ export interface TeamMembership_filter {
303
+ id?: string | null;
304
+ id_not?: string | null;
305
+ id_gt?: string | null;
306
+ id_lt?: string | null;
307
+ id_gte?: string | null;
308
+ id_lte?: string | null;
309
+ id_in?: string[];
310
+ id_not_in?: string[];
311
+ id_contains?: string | null;
312
+ id_not_contains?: string | null;
313
+ organizer?: string | null;
314
+ organizer_not?: string | null;
315
+ organizer_in?: string[];
316
+ organizer_not_in?: string[];
317
+ organizer_contains?: string | null;
318
+ organizer_not_contains?: string | null;
319
+ member?: string | null;
320
+ member_not?: string | null;
321
+ member_in?: string[];
322
+ member_not_in?: string[];
323
+ member_contains?: string | null;
324
+ member_not_contains?: string | null;
325
+ canEditCleanups?: boolean | null;
326
+ canEditCleanups_not?: boolean | null;
327
+ canManageParticipants?: boolean | null;
328
+ canManageParticipants_not?: boolean | null;
329
+ canSubmitProof?: boolean | null;
330
+ canSubmitProof_not?: boolean | null;
331
+ addedAt?: number | null;
332
+ addedAt_not?: string | null;
333
+ addedAt_gt?: string | null;
334
+ addedAt_lt?: string | null;
335
+ addedAt_gte?: string | null;
336
+ addedAt_lte?: string | null;
337
+ addedAt_in?: string[];
338
+ addedAt_not_in?: string[];
339
+ lastUpdatedAt?: number | null;
340
+ lastUpdatedAt_not?: string | null;
341
+ lastUpdatedAt_gt?: string | null;
342
+ lastUpdatedAt_lt?: string | null;
343
+ lastUpdatedAt_gte?: string | null;
344
+ lastUpdatedAt_lte?: string | null;
345
+ lastUpdatedAt_in?: string[];
346
+ lastUpdatedAt_not_in?: string[];
347
+ }
348
+ export type TeamMembership_orderBy = "id" | "organizer" | "member" | "canEditCleanups" | "canManageParticipants" | "canSubmitProof" | "addedAt" | "lastUpdatedAt";
349
+ export interface Cleanup_filter {
350
+ id?: string | null;
351
+ id_not?: string | null;
352
+ id_gt?: string | null;
353
+ id_lt?: string | null;
354
+ id_gte?: string | null;
355
+ id_lte?: string | null;
356
+ id_in?: string[];
357
+ id_not_in?: string[];
358
+ id_contains?: string | null;
359
+ id_not_contains?: string | null;
360
+ organizer?: string | null;
361
+ organizer_not?: string | null;
362
+ organizer_in?: string[];
363
+ organizer_not_in?: string[];
364
+ organizer_contains?: string | null;
365
+ organizer_not_contains?: string | null;
366
+ metadata?: string | null;
367
+ metadata_not?: string | null;
368
+ metadata_gt?: string | null;
369
+ metadata_lt?: string | null;
370
+ metadata_gte?: string | null;
371
+ metadata_lte?: string | null;
372
+ metadata_in?: string[];
373
+ metadata_not_in?: string[];
374
+ metadata_contains?: string | null;
375
+ metadata_not_contains?: string | null;
376
+ metadata_starts_with?: string | null;
377
+ metadata_starts_with_nocase?: string | null;
378
+ metadata_not_starts_with?: string | null;
379
+ metadata_not_starts_with_nocase?: string | null;
380
+ metadata_ends_with?: string | null;
381
+ metadata_ends_with_nocase?: string | null;
382
+ metadata_not_ends_with?: string | null;
383
+ metadata_not_ends_with_nocase?: string | null;
384
+ category?: string | null;
385
+ category_not?: string | null;
386
+ category_gt?: string | null;
387
+ category_lt?: string | null;
388
+ category_gte?: string | null;
389
+ category_lte?: string | null;
390
+ category_in?: string[];
391
+ category_not_in?: string[];
392
+ category_contains?: string | null;
393
+ category_not_contains?: string | null;
394
+ category_starts_with?: string | null;
395
+ category_starts_with_nocase?: string | null;
396
+ category_not_starts_with?: string | null;
397
+ category_not_starts_with_nocase?: string | null;
398
+ category_ends_with?: string | null;
399
+ category_ends_with_nocase?: string | null;
400
+ category_not_ends_with?: string | null;
401
+ category_not_ends_with_nocase?: string | null;
402
+ date?: string | null;
403
+ date_not?: string | null;
404
+ date_gt?: string | null;
405
+ date_lt?: string | null;
406
+ date_gte?: string | null;
407
+ date_lte?: string | null;
408
+ date_in?: string[];
409
+ date_not_in?: string[];
410
+ startTime?: string | null;
411
+ startTime_not?: string | null;
412
+ startTime_gt?: string | null;
413
+ startTime_lt?: string | null;
414
+ startTime_gte?: string | null;
415
+ startTime_lte?: string | null;
416
+ startTime_in?: string[];
417
+ startTime_not_in?: string[];
418
+ endTime?: string | null;
419
+ endTime_not?: string | null;
420
+ endTime_gt?: string | null;
421
+ endTime_lt?: string | null;
422
+ endTime_gte?: string | null;
423
+ endTime_lte?: string | null;
424
+ endTime_in?: string[];
425
+ endTime_not_in?: string[];
426
+ maxParticipants?: string | null;
427
+ maxParticipants_not?: string | null;
428
+ maxParticipants_gt?: string | null;
429
+ maxParticipants_lt?: string | null;
430
+ maxParticipants_gte?: string | null;
431
+ maxParticipants_lte?: string | null;
432
+ maxParticipants_in?: string[];
433
+ maxParticipants_not_in?: string[];
434
+ status?: number | null;
435
+ status_not?: number | null;
436
+ status_gt?: number | null;
437
+ status_lt?: number | null;
438
+ status_gte?: number | null;
439
+ status_lte?: number | null;
440
+ status_in?: number[];
441
+ status_not_in?: number[];
442
+ published?: boolean | null;
443
+ published_not?: boolean | null;
444
+ publishedAt?: number | null;
445
+ publishedAt_not?: string | null;
446
+ publishedAt_gt?: string | null;
447
+ publishedAt_lt?: string | null;
448
+ publishedAt_gte?: string | null;
449
+ publishedAt_lte?: string | null;
450
+ publishedAt_in?: string[];
451
+ publishedAt_not_in?: string[];
452
+ unpublishedAt?: number | null;
453
+ unpublishedAt_not?: string | null;
454
+ unpublishedAt_gt?: string | null;
455
+ unpublishedAt_lt?: string | null;
456
+ unpublishedAt_gte?: string | null;
457
+ unpublishedAt_lte?: string | null;
458
+ unpublishedAt_in?: string[];
459
+ unpublishedAt_not_in?: string[];
460
+ createdAt?: number | null;
461
+ createdAt_not?: string | null;
462
+ createdAt_gt?: string | null;
463
+ createdAt_lt?: string | null;
464
+ createdAt_gte?: string | null;
465
+ createdAt_lte?: string | null;
466
+ createdAt_in?: string[];
467
+ createdAt_not_in?: string[];
468
+ updatedAt?: number | null;
469
+ updatedAt_not?: string | null;
470
+ updatedAt_gt?: string | null;
471
+ updatedAt_lt?: string | null;
472
+ updatedAt_gte?: string | null;
473
+ updatedAt_lte?: string | null;
474
+ updatedAt_in?: string[];
475
+ updatedAt_not_in?: string[];
476
+ location?: string | null;
477
+ location_not?: string | null;
478
+ location_gt?: string | null;
479
+ location_lt?: string | null;
480
+ location_gte?: string | null;
481
+ location_lte?: string | null;
482
+ location_in?: string[];
483
+ location_not_in?: string[];
484
+ location_contains?: string | null;
485
+ location_not_contains?: string | null;
486
+ location_starts_with?: string | null;
487
+ location_starts_with_nocase?: string | null;
488
+ location_not_starts_with?: string | null;
489
+ location_not_starts_with_nocase?: string | null;
490
+ location_ends_with?: string | null;
491
+ location_ends_with_nocase?: string | null;
492
+ location_not_ends_with?: string | null;
493
+ location_not_ends_with_nocase?: string | null;
494
+ city?: string | null;
495
+ city_not?: string | null;
496
+ city_gt?: string | null;
497
+ city_lt?: string | null;
498
+ city_gte?: string | null;
499
+ city_lte?: string | null;
500
+ city_in?: string[];
501
+ city_not_in?: string[];
502
+ city_contains?: string | null;
503
+ city_not_contains?: string | null;
504
+ city_starts_with?: string | null;
505
+ city_starts_with_nocase?: string | null;
506
+ city_not_starts_with?: string | null;
507
+ city_not_starts_with_nocase?: string | null;
508
+ city_ends_with?: string | null;
509
+ city_ends_with_nocase?: string | null;
510
+ city_not_ends_with?: string | null;
511
+ city_not_ends_with_nocase?: string | null;
512
+ country?: string | null;
513
+ country_not?: string | null;
514
+ country_gt?: string | null;
515
+ country_lt?: string | null;
516
+ country_gte?: string | null;
517
+ country_lte?: string | null;
518
+ country_in?: string[];
519
+ country_not_in?: string[];
520
+ country_contains?: string | null;
521
+ country_not_contains?: string | null;
522
+ country_starts_with?: string | null;
523
+ country_starts_with_nocase?: string | null;
524
+ country_not_starts_with?: string | null;
525
+ country_not_starts_with_nocase?: string | null;
526
+ country_ends_with?: string | null;
527
+ country_ends_with_nocase?: string | null;
528
+ country_not_ends_with?: string | null;
529
+ country_not_ends_with_nocase?: string | null;
530
+ latitude?: string | null;
531
+ latitude_not?: string | null;
532
+ latitude_gt?: string | null;
533
+ latitude_lt?: string | null;
534
+ latitude_gte?: string | null;
535
+ latitude_lte?: string | null;
536
+ latitude_in?: string[];
537
+ latitude_not_in?: string[];
538
+ longitude?: string | null;
539
+ longitude_not?: string | null;
540
+ longitude_gt?: string | null;
541
+ longitude_lt?: string | null;
542
+ longitude_gte?: string | null;
543
+ longitude_lte?: string | null;
544
+ longitude_in?: string[];
545
+ longitude_not_in?: string[];
546
+ rewardAmount?: string | null;
547
+ rewardAmount_not?: string | null;
548
+ rewardAmount_gt?: string | null;
549
+ rewardAmount_lt?: string | null;
550
+ rewardAmount_gte?: string | null;
551
+ rewardAmount_lte?: string | null;
552
+ rewardAmount_in?: string[];
553
+ rewardAmount_not_in?: string[];
554
+ rewardsDistributed?: boolean | null;
555
+ rewardsDistributed_not?: boolean | null;
556
+ rewardsTotalAmount?: string | null;
557
+ rewardsTotalAmount_not?: string | null;
558
+ rewardsTotalAmount_gt?: string | null;
559
+ rewardsTotalAmount_lt?: string | null;
560
+ rewardsTotalAmount_gte?: string | null;
561
+ rewardsTotalAmount_lte?: string | null;
562
+ rewardsTotalAmount_in?: string[];
563
+ rewardsTotalAmount_not_in?: string[];
564
+ rewardsParticipantCount?: string | null;
565
+ rewardsParticipantCount_not?: string | null;
566
+ rewardsParticipantCount_gt?: string | null;
567
+ rewardsParticipantCount_lt?: string | null;
568
+ rewardsParticipantCount_gte?: string | null;
569
+ rewardsParticipantCount_lte?: string | null;
570
+ rewardsParticipantCount_in?: string[];
571
+ rewardsParticipantCount_not_in?: string[];
572
+ rewardsDistributedAt?: number | null;
573
+ rewardsDistributedAt_not?: string | null;
574
+ rewardsDistributedAt_gt?: string | null;
575
+ rewardsDistributedAt_lt?: string | null;
576
+ rewardsDistributedAt_gte?: string | null;
577
+ rewardsDistributedAt_lte?: string | null;
578
+ rewardsDistributedAt_in?: string[];
579
+ rewardsDistributedAt_not_in?: string[];
580
+ proofOfWorkSubmitted?: boolean | null;
581
+ proofOfWorkSubmitted_not?: boolean | null;
582
+ proofOfWorkSubmittedAt?: number | null;
583
+ proofOfWorkSubmittedAt_not?: string | null;
584
+ proofOfWorkSubmittedAt_gt?: string | null;
585
+ proofOfWorkSubmittedAt_lt?: string | null;
586
+ proofOfWorkSubmittedAt_gte?: string | null;
587
+ proofOfWorkSubmittedAt_lte?: string | null;
588
+ proofOfWorkSubmittedAt_in?: string[];
589
+ proofOfWorkSubmittedAt_not_in?: string[];
590
+ }
591
+ export type Cleanup_orderBy = "id" | "organizer" | "metadata" | "category" | "date" | "startTime" | "endTime" | "maxParticipants" | "status" | "published" | "publishedAt" | "unpublishedAt" | "createdAt" | "updatedAt" | "location" | "city" | "country" | "latitude" | "longitude" | "rewardAmount" | "rewardsDistributed" | "rewardsTotalAmount" | "rewardsParticipantCount" | "rewardsDistributedAt" | "proofOfWorkSubmitted" | "proofOfWorkSubmittedAt";
592
+ export interface ProofOfWork_filter {
593
+ id?: string | null;
594
+ id_not?: string | null;
595
+ id_gt?: string | null;
596
+ id_lt?: string | null;
597
+ id_gte?: string | null;
598
+ id_lte?: string | null;
599
+ id_in?: string[];
600
+ id_not_in?: string[];
601
+ id_contains?: string | null;
602
+ id_not_contains?: string | null;
603
+ cleanup?: string | null;
604
+ cleanup_not?: string | null;
605
+ cleanup_gt?: string | null;
606
+ cleanup_lt?: string | null;
607
+ cleanup_gte?: string | null;
608
+ cleanup_lte?: string | null;
609
+ cleanup_in?: string[];
610
+ cleanup_not_in?: string[];
611
+ cleanup_contains?: string | null;
612
+ cleanup_not_contains?: string | null;
613
+ submittedAt?: number | null;
614
+ submittedAt_not?: string | null;
615
+ submittedAt_gt?: string | null;
616
+ submittedAt_lt?: string | null;
617
+ submittedAt_gte?: string | null;
618
+ submittedAt_lte?: string | null;
619
+ submittedAt_in?: string[];
620
+ submittedAt_not_in?: string[];
621
+ }
622
+ export type ProofOfWork_orderBy = "id" | "cleanup" | "submittedAt";
623
+ export interface CleanupUpdate_filter {
624
+ id?: string | null;
625
+ id_not?: string | null;
626
+ id_gt?: string | null;
627
+ id_lt?: string | null;
628
+ id_gte?: string | null;
629
+ id_lte?: string | null;
630
+ id_in?: string[];
631
+ id_not_in?: string[];
632
+ id_contains?: string | null;
633
+ id_not_contains?: string | null;
634
+ cleanup?: string | null;
635
+ cleanup_not?: string | null;
636
+ cleanup_gt?: string | null;
637
+ cleanup_lt?: string | null;
638
+ cleanup_gte?: string | null;
639
+ cleanup_lte?: string | null;
640
+ cleanup_in?: string[];
641
+ cleanup_not_in?: string[];
642
+ cleanup_contains?: string | null;
643
+ cleanup_not_contains?: string | null;
644
+ organizer?: string | null;
645
+ organizer_not?: string | null;
646
+ organizer_in?: string[];
647
+ organizer_not_in?: string[];
648
+ organizer_contains?: string | null;
649
+ organizer_not_contains?: string | null;
650
+ metadata?: string | null;
651
+ metadata_not?: string | null;
652
+ metadata_gt?: string | null;
653
+ metadata_lt?: string | null;
654
+ metadata_gte?: string | null;
655
+ metadata_lte?: string | null;
656
+ metadata_in?: string[];
657
+ metadata_not_in?: string[];
658
+ metadata_contains?: string | null;
659
+ metadata_not_contains?: string | null;
660
+ metadata_starts_with?: string | null;
661
+ metadata_starts_with_nocase?: string | null;
662
+ metadata_not_starts_with?: string | null;
663
+ metadata_not_starts_with_nocase?: string | null;
664
+ metadata_ends_with?: string | null;
665
+ metadata_ends_with_nocase?: string | null;
666
+ metadata_not_ends_with?: string | null;
667
+ metadata_not_ends_with_nocase?: string | null;
668
+ link?: string | null;
669
+ link_not?: string | null;
670
+ link_gt?: string | null;
671
+ link_lt?: string | null;
672
+ link_gte?: string | null;
673
+ link_lte?: string | null;
674
+ link_in?: string[];
675
+ link_not_in?: string[];
676
+ link_contains?: string | null;
677
+ link_not_contains?: string | null;
678
+ link_starts_with?: string | null;
679
+ link_starts_with_nocase?: string | null;
680
+ link_not_starts_with?: string | null;
681
+ link_not_starts_with_nocase?: string | null;
682
+ link_ends_with?: string | null;
683
+ link_ends_with_nocase?: string | null;
684
+ link_not_ends_with?: string | null;
685
+ link_not_ends_with_nocase?: string | null;
686
+ addedAt?: number | null;
687
+ addedAt_not?: number | null;
688
+ addedAt_gt?: number | null;
689
+ addedAt_lt?: number | null;
690
+ addedAt_gte?: number | null;
691
+ addedAt_lte?: number | null;
692
+ addedAt_in?: number[];
693
+ addedAt_not_in?: number[];
694
+ blockNumber?: number | null;
695
+ blockNumber_not?: number | null;
696
+ blockNumber_gt?: number | null;
697
+ blockNumber_lt?: number | null;
698
+ blockNumber_gte?: number | null;
699
+ blockNumber_lte?: number | null;
700
+ blockNumber_in?: number[];
701
+ transactionHash?: string | null;
702
+ transactionHash_not?: string | null;
703
+ transactionHash_in?: string[];
704
+ transactionHash_not_in?: string[];
705
+ transactionHash_contains?: string | null;
706
+ transactionHash_not_contains?: string | null;
707
+ }
708
+ export type CleanupUpdate_orderBy = "id" | "cleanup" | "organizer" | "metadata" | "link" | "addedAt" | "blockNumber" | "transactionHash";
709
+ export interface CleanupParticipant_filter {
710
+ id?: string | null;
711
+ id_not?: string | null;
712
+ id_gt?: string | null;
713
+ id_lt?: string | null;
714
+ id_gte?: string | null;
715
+ id_lte?: string | null;
716
+ id_in?: string[];
717
+ id_not_in?: string[];
718
+ id_contains?: string | null;
719
+ id_not_contains?: string | null;
720
+ cleanup?: string | null;
721
+ cleanup_not?: string | null;
722
+ cleanup_gt?: string | null;
723
+ cleanup_lt?: string | null;
724
+ cleanup_gte?: string | null;
725
+ cleanup_lte?: string | null;
726
+ cleanup_in?: string[];
727
+ cleanup_not_in?: string[];
728
+ cleanup_contains?: string | null;
729
+ cleanup_not_contains?: string | null;
730
+ participant?: string | null;
731
+ participant_not?: string | null;
732
+ participant_in?: string[];
733
+ participant_not_in?: string[];
734
+ participant_contains?: string | null;
735
+ participant_not_contains?: string | null;
736
+ appliedAt?: number | null;
737
+ appliedAt_not?: number | null;
738
+ appliedAt_gt?: number | null;
739
+ appliedAt_lt?: number | null;
740
+ appliedAt_gte?: number | null;
741
+ appliedAt_lte?: number | null;
742
+ appliedAt_in?: number[];
743
+ appliedAt_not_in?: number[];
744
+ status?: string | null;
745
+ status_not?: string | null;
746
+ status_gt?: string | null;
747
+ status_lt?: string | null;
748
+ status_gte?: string | null;
749
+ status_lte?: string | null;
750
+ status_in?: string[];
751
+ status_not_in?: string[];
752
+ status_contains?: string | null;
753
+ status_not_contains?: string | null;
754
+ status_starts_with?: string | null;
755
+ status_starts_with_nocase?: string | null;
756
+ status_not_starts_with?: string | null;
757
+ status_not_starts_with_nocase?: string | null;
758
+ status_ends_with?: string | null;
759
+ status_ends_with_nocase?: string | null;
760
+ status_not_ends_with?: string | null;
761
+ status_not_ends_with_nocase?: string | null;
762
+ acceptedAt?: number | null;
763
+ acceptedAt_not?: number | null;
764
+ acceptedAt_gt?: number | null;
765
+ acceptedAt_lt?: number | null;
766
+ acceptedAt_gte?: number | null;
767
+ acceptedAt_lte?: number | null;
768
+ acceptedAt_in?: number[];
769
+ acceptedAt_not_in?: number[];
770
+ rejectedAt?: number | null;
771
+ rejectedAt_not?: string | null;
772
+ rejectedAt_gt?: number | null;
773
+ rejectedAt_lt?: number | null;
774
+ rejectedAt_gte?: number | null;
775
+ rejectedAt_lte?: number | null;
776
+ rejectedAt_in?: number[];
777
+ rejectedAt_not_in?: number[];
778
+ rewardEarned?: string | null;
779
+ rewardEarned_not?: string | null;
780
+ rewardEarned_gt?: string | null;
781
+ rewardEarned_lt?: string | null;
782
+ rewardEarned_gte?: string | null;
783
+ rewardEarned_lte?: string | null;
784
+ rewardEarned_in?: string[];
785
+ rewardEarned_not_in?: string[];
786
+ rewardEarnedAt?: number | null;
787
+ rewardEarnedAt_not?: string | null;
788
+ rewardEarnedAt_gt?: string | null;
789
+ rewardEarnedAt_lt?: string | null;
790
+ rewardEarnedAt_gte?: string | null;
791
+ rewardEarnedAt_lte?: string | null;
792
+ rewardEarnedAt_in?: string[];
793
+ rewardEarnedAt_not_in?: string[];
794
+ }
795
+ export type CleanupParticipant_orderBy = "id" | "cleanup" | "participant" | "appliedAt" | "status" | "acceptedAt" | "rejectedAt" | "rewardEarned" | "rewardEarnedAt";
796
+ export interface Transaction_filter {
797
+ id?: string | null;
798
+ id_not?: string | null;
799
+ id_gt?: string | null;
800
+ id_lt?: string | null;
801
+ id_gte?: string | null;
802
+ id_lte?: string | null;
803
+ id_in?: string[];
804
+ id_not_in?: string[];
805
+ id_contains?: string | null;
806
+ id_not_contains?: string | null;
807
+ user?: string | null;
808
+ user_not?: string | null;
809
+ user_in?: string[];
810
+ user_not_in?: string[];
811
+ user_contains?: string | null;
812
+ user_not_contains?: string | null;
813
+ cleanupId?: string | null;
814
+ cleanupId_not?: string | null;
815
+ cleanupId_gt?: string | null;
816
+ cleanupId_lt?: string | null;
817
+ cleanupId_gte?: string | null;
818
+ cleanupId_lte?: string | null;
819
+ cleanupId_in?: string[];
820
+ cleanupId_not_in?: string[];
821
+ streakSubmissionId?: string | null;
822
+ streakSubmissionId_not?: string | null;
823
+ streakSubmissionId_gt?: string | null;
824
+ streakSubmissionId_lt?: string | null;
825
+ streakSubmissionId_gte?: string | null;
826
+ streakSubmissionId_lte?: string | null;
827
+ streakSubmissionId_in?: string[];
828
+ streakSubmissionId_not_in?: string[];
829
+ amount?: string | null;
830
+ amount_not?: string | null;
831
+ amount_gt?: string | null;
832
+ amount_lt?: string | null;
833
+ amount_gte?: string | null;
834
+ amount_lte?: string | null;
835
+ amount_in?: string[];
836
+ amount_not_in?: string[];
837
+ transactionType?: string | null;
838
+ transactionType_not?: string | null;
839
+ transactionType_gt?: string | null;
840
+ transactionType_lt?: string | null;
841
+ transactionType_gte?: string | null;
842
+ transactionType_lte?: string | null;
843
+ transactionType_in?: string[];
844
+ transactionType_not_in?: string[];
845
+ transactionType_contains?: string | null;
846
+ transactionType_not_contains?: string | null;
847
+ transactionType_starts_with?: string | null;
848
+ transactionType_starts_with_nocase?: string | null;
849
+ transactionType_not_starts_with?: string | null;
850
+ transactionType_not_starts_with_nocase?: string | null;
851
+ transactionType_ends_with?: string | null;
852
+ transactionType_ends_with_nocase?: string | null;
853
+ transactionType_not_ends_with?: string | null;
854
+ transactionType_not_ends_with_nocase?: string | null;
855
+ rewardType?: number | null;
856
+ rewardType_not?: number | null;
857
+ rewardType_gt?: number | null;
858
+ rewardType_lt?: number | null;
859
+ rewardType_gte?: number | null;
860
+ rewardType_lte?: number | null;
861
+ rewardType_in?: number[];
862
+ rewardType_not_in?: number[];
863
+ timestamp?: number | null;
864
+ timestamp_not?: number | null;
865
+ timestamp_gt?: number | null;
866
+ timestamp_lt?: number | null;
867
+ timestamp_gte?: number | null;
868
+ timestamp_lte?: number | null;
869
+ timestamp_in?: number[];
870
+ timestamp_not_in?: number[];
871
+ blockNumber?: number | null;
872
+ blockNumber_not?: number | null;
873
+ blockNumber_gt?: number | null;
874
+ blockNumber_lt?: number | null;
875
+ blockNumber_gte?: number | null;
876
+ blockNumber_lte?: number | null;
877
+ blockNumber_in?: number[];
878
+ transactionHash?: string | null;
879
+ transactionHash_not?: string | null;
880
+ transactionHash_in?: string[];
881
+ transactionHash_not_in?: string[];
882
+ transactionHash_contains?: string | null;
883
+ transactionHash_not_contains?: string | null;
884
+ }
885
+ export type Transaction_orderBy = "id" | "user" | "cleanupId" | "streakSubmissionId" | "amount" | "transactionType" | "rewardType" | "timestamp" | "blockNumber" | "transactionHash";
886
+ export interface Notification_filter {
887
+ id?: string | null;
888
+ id_not?: string | null;
889
+ id_gt?: string | null;
890
+ id_lt?: string | null;
891
+ id_gte?: string | null;
892
+ id_lte?: string | null;
893
+ id_in?: string[];
894
+ id_not_in?: string[];
895
+ id_contains?: string | null;
896
+ id_not_contains?: string | null;
897
+ user?: string | null;
898
+ user_not?: string | null;
899
+ user_in?: string[];
900
+ user_not_in?: string[];
901
+ user_contains?: string | null;
902
+ user_not_contains?: string | null;
903
+ type?: string | null;
904
+ type_not?: string | null;
905
+ type_gt?: string | null;
906
+ type_lt?: string | null;
907
+ type_gte?: string | null;
908
+ type_lte?: string | null;
909
+ type_in?: string[];
910
+ type_not_in?: string[];
911
+ type_contains?: string | null;
912
+ type_not_contains?: string | null;
913
+ type_starts_with?: string | null;
914
+ type_starts_with_nocase?: string | null;
915
+ type_not_starts_with?: string | null;
916
+ type_not_starts_with_nocase?: string | null;
917
+ type_ends_with?: string | null;
918
+ type_ends_with_nocase?: string | null;
919
+ type_not_ends_with?: string | null;
920
+ type_not_ends_with_nocase?: string | null;
921
+ title?: string | null;
922
+ title_not?: string | null;
923
+ title_gt?: string | null;
924
+ title_lt?: string | null;
925
+ title_gte?: string | null;
926
+ title_lte?: string | null;
927
+ title_in?: string[];
928
+ title_not_in?: string[];
929
+ title_contains?: string | null;
930
+ title_not_contains?: string | null;
931
+ title_starts_with?: string | null;
932
+ title_starts_with_nocase?: string | null;
933
+ title_not_starts_with?: string | null;
934
+ title_not_starts_with_nocase?: string | null;
935
+ title_ends_with?: string | null;
936
+ title_ends_with_nocase?: string | null;
937
+ title_not_ends_with?: string | null;
938
+ title_not_ends_with_nocase?: string | null;
939
+ message?: string | null;
940
+ message_not?: string | null;
941
+ message_gt?: string | null;
942
+ message_lt?: string | null;
943
+ message_gte?: string | null;
944
+ message_lte?: string | null;
945
+ message_in?: string[];
946
+ message_not_in?: string[];
947
+ message_contains?: string | null;
948
+ message_not_contains?: string | null;
949
+ message_starts_with?: string | null;
950
+ message_starts_with_nocase?: string | null;
951
+ message_not_starts_with?: string | null;
952
+ message_not_starts_with_nocase?: string | null;
953
+ message_ends_with?: string | null;
954
+ message_ends_with_nocase?: string | null;
955
+ message_not_ends_with?: string | null;
956
+ message_not_ends_with_nocase?: string | null;
957
+ relatedEntity?: string | null;
958
+ relatedEntity_not?: string | null;
959
+ relatedEntity_gt?: string | null;
960
+ relatedEntity_lt?: string | null;
961
+ relatedEntity_gte?: string | null;
962
+ relatedEntity_lte?: string | null;
963
+ relatedEntity_in?: string[];
964
+ relatedEntity_not_in?: string[];
965
+ relatedEntity_contains?: string | null;
966
+ relatedEntity_not_contains?: string | null;
967
+ relatedEntity_starts_with?: string | null;
968
+ relatedEntity_starts_with_nocase?: string | null;
969
+ relatedEntity_not_starts_with?: string | null;
970
+ relatedEntity_not_starts_with_nocase?: string | null;
971
+ relatedEntity_ends_with?: string | null;
972
+ relatedEntity_ends_with_nocase?: string | null;
973
+ relatedEntity_not_ends_with?: string | null;
974
+ relatedEntity_not_ends_with_nocase?: string | null;
975
+ relatedEntityType?: string | null;
976
+ relatedEntityType_not?: string | null;
977
+ relatedEntityType_gt?: string | null;
978
+ relatedEntityType_lt?: string | null;
979
+ relatedEntityType_gte?: string | null;
980
+ relatedEntityType_lte?: string | null;
981
+ relatedEntityType_in?: string[];
982
+ relatedEntityType_not_in?: string[];
983
+ relatedEntityType_contains?: string | null;
984
+ relatedEntityType_not_contains?: string | null;
985
+ relatedEntityType_starts_with?: string | null;
986
+ relatedEntityType_starts_with_nocase?: string | null;
987
+ relatedEntityType_not_starts_with?: string | null;
988
+ relatedEntityType_not_starts_with_nocase?: string | null;
989
+ relatedEntityType_ends_with?: string | null;
990
+ relatedEntityType_ends_with_nocase?: string | null;
991
+ relatedEntityType_not_ends_with?: string | null;
992
+ relatedEntityType_not_ends_with_nocase?: string | null;
993
+ read?: boolean | null;
994
+ read_not?: boolean | null;
995
+ createdAt?: number | null;
996
+ createdAt_not?: string | null;
997
+ createdAt_gt?: string | null;
998
+ createdAt_lt?: string | null;
999
+ createdAt_gte?: string | null;
1000
+ createdAt_lte?: string | null;
1001
+ createdAt_in?: string[];
1002
+ createdAt_not_in?: string[];
1003
+ blockNumber?: number | null;
1004
+ blockNumber_not?: number | null;
1005
+ blockNumber_gt?: number | null;
1006
+ blockNumber_lt?: number | null;
1007
+ blockNumber_gte?: number | null;
1008
+ blockNumber_lte?: number | null;
1009
+ blockNumber_in?: number[];
1010
+ transactionHash?: string | null;
1011
+ transactionHash_not?: string | null;
1012
+ transactionHash_in?: string[];
1013
+ transactionHash_not_in?: string[];
1014
+ transactionHash_contains?: string | null;
1015
+ transactionHash_not_contains?: string | null;
1016
+ }
1017
+ export type Notification_orderBy = "id" | "user" | "type" | "title" | "message" | "relatedEntity" | "relatedEntityType" | "read" | "createdAt" | "blockNumber" | "transactionHash";
1018
+ export interface AddressUpdated_filter {
1019
+ id?: string | null;
1020
+ id_not?: string | null;
1021
+ id_gt?: string | null;
1022
+ id_lt?: string | null;
1023
+ id_gte?: string | null;
1024
+ id_lte?: string | null;
1025
+ id_in?: string[];
1026
+ id_not_in?: string[];
1027
+ id_contains?: string | null;
1028
+ id_not_contains?: string | null;
1029
+ key?: string | null;
1030
+ key_not?: string | null;
1031
+ key_gt?: string | null;
1032
+ key_lt?: string | null;
1033
+ key_gte?: string | null;
1034
+ key_lte?: string | null;
1035
+ key_in?: string[];
1036
+ key_not_in?: string[];
1037
+ key_contains?: string | null;
1038
+ key_not_contains?: string | null;
1039
+ key_starts_with?: string | null;
1040
+ key_starts_with_nocase?: string | null;
1041
+ key_not_starts_with?: string | null;
1042
+ key_not_starts_with_nocase?: string | null;
1043
+ key_ends_with?: string | null;
1044
+ key_ends_with_nocase?: string | null;
1045
+ key_not_ends_with?: string | null;
1046
+ key_not_ends_with_nocase?: string | null;
1047
+ oldAddress?: string | null;
1048
+ oldAddress_not?: string | null;
1049
+ oldAddress_in?: string[];
1050
+ oldAddress_not_in?: string[];
1051
+ oldAddress_contains?: string | null;
1052
+ oldAddress_not_contains?: string | null;
1053
+ newAddress?: string | null;
1054
+ newAddress_not?: string | null;
1055
+ newAddress_in?: string[];
1056
+ newAddress_not_in?: string[];
1057
+ newAddress_contains?: string | null;
1058
+ newAddress_not_contains?: string | null;
1059
+ blockNumber?: number | null;
1060
+ blockNumber_not?: number | null;
1061
+ blockNumber_gt?: number | null;
1062
+ blockNumber_lt?: number | null;
1063
+ blockNumber_gte?: number | null;
1064
+ blockNumber_lte?: number | null;
1065
+ blockNumber_in?: number[];
1066
+ blockTimestamp?: string | null;
1067
+ blockTimestamp_not?: string | null;
1068
+ blockTimestamp_gt?: string | null;
1069
+ blockTimestamp_lt?: string | null;
1070
+ blockTimestamp_gte?: string | null;
1071
+ blockTimestamp_lte?: string | null;
1072
+ blockTimestamp_in?: string[];
1073
+ blockTimestamp_not_in?: string[];
1074
+ transactionHash?: string | null;
1075
+ transactionHash_not?: string | null;
1076
+ transactionHash_in?: string[];
1077
+ transactionHash_not_in?: string[];
1078
+ transactionHash_contains?: string | null;
1079
+ transactionHash_not_contains?: string | null;
1080
+ }
1081
+ export type AddressUpdated_orderBy = "id" | "key" | "oldAddress" | "newAddress" | "blockNumber" | "blockTimestamp" | "transactionHash";
1082
+ export interface AppIdUpdated_filter {
1083
+ id?: string | null;
1084
+ id_not?: string | null;
1085
+ id_gt?: string | null;
1086
+ id_lt?: string | null;
1087
+ id_gte?: string | null;
1088
+ id_lte?: string | null;
1089
+ id_in?: string[];
1090
+ id_not_in?: string[];
1091
+ id_contains?: string | null;
1092
+ id_not_contains?: string | null;
1093
+ oldAppId?: string | null;
1094
+ oldAppId_not?: string | null;
1095
+ oldAppId_in?: string[];
1096
+ oldAppId_not_in?: string[];
1097
+ oldAppId_contains?: string | null;
1098
+ oldAppId_not_contains?: string | null;
1099
+ newAppId?: string | null;
1100
+ newAppId_not?: string | null;
1101
+ newAppId_in?: string[];
1102
+ newAppId_not_in?: string[];
1103
+ newAppId_contains?: string | null;
1104
+ newAppId_not_contains?: string | null;
1105
+ blockNumber?: number | null;
1106
+ blockNumber_not?: number | null;
1107
+ blockNumber_gt?: number | null;
1108
+ blockNumber_lt?: number | null;
1109
+ blockNumber_gte?: number | null;
1110
+ blockNumber_lte?: number | null;
1111
+ blockNumber_in?: number[];
1112
+ blockTimestamp?: string | null;
1113
+ blockTimestamp_not?: string | null;
1114
+ blockTimestamp_gt?: string | null;
1115
+ blockTimestamp_lt?: string | null;
1116
+ blockTimestamp_gte?: string | null;
1117
+ blockTimestamp_lte?: string | null;
1118
+ blockTimestamp_in?: string[];
1119
+ blockTimestamp_not_in?: string[];
1120
+ transactionHash?: string | null;
1121
+ transactionHash_not?: string | null;
1122
+ transactionHash_in?: string[];
1123
+ transactionHash_not_in?: string[];
1124
+ transactionHash_contains?: string | null;
1125
+ transactionHash_not_contains?: string | null;
1126
+ }
1127
+ export type AppIdUpdated_orderBy = "id" | "oldAppId" | "newAppId" | "blockNumber" | "blockTimestamp" | "transactionHash";
1128
+ export interface RewardsPoolUpdated_filter {
1129
+ id?: string | null;
1130
+ id_not?: string | null;
1131
+ id_gt?: string | null;
1132
+ id_lt?: string | null;
1133
+ id_gte?: string | null;
1134
+ id_lte?: string | null;
1135
+ id_in?: string[];
1136
+ id_not_in?: string[];
1137
+ id_contains?: string | null;
1138
+ id_not_contains?: string | null;
1139
+ oldPool?: string | null;
1140
+ oldPool_not?: string | null;
1141
+ oldPool_in?: string[];
1142
+ oldPool_not_in?: string[];
1143
+ oldPool_contains?: string | null;
1144
+ oldPool_not_contains?: string | null;
1145
+ newPool?: string | null;
1146
+ newPool_not?: string | null;
1147
+ newPool_in?: string[];
1148
+ newPool_not_in?: string[];
1149
+ newPool_contains?: string | null;
1150
+ newPool_not_contains?: string | null;
1151
+ blockNumber?: number | null;
1152
+ blockNumber_not?: number | null;
1153
+ blockNumber_gt?: number | null;
1154
+ blockNumber_lt?: number | null;
1155
+ blockNumber_gte?: number | null;
1156
+ blockNumber_lte?: number | null;
1157
+ blockNumber_in?: number[];
1158
+ blockTimestamp?: string | null;
1159
+ blockTimestamp_not?: string | null;
1160
+ blockTimestamp_gt?: string | null;
1161
+ blockTimestamp_lt?: string | null;
1162
+ blockTimestamp_gte?: string | null;
1163
+ blockTimestamp_lte?: string | null;
1164
+ blockTimestamp_in?: string[];
1165
+ blockTimestamp_not_in?: string[];
1166
+ transactionHash?: string | null;
1167
+ transactionHash_not?: string | null;
1168
+ transactionHash_in?: string[];
1169
+ transactionHash_not_in?: string[];
1170
+ transactionHash_contains?: string | null;
1171
+ transactionHash_not_contains?: string | null;
1172
+ }
1173
+ export type RewardsPoolUpdated_orderBy = "id" | "oldPool" | "newPool" | "blockNumber" | "blockTimestamp" | "transactionHash";
1174
+ export interface StreakSubmission_filter {
1175
+ id?: string | null;
1176
+ id_not?: string | null;
1177
+ id_gt?: string | null;
1178
+ id_lt?: string | null;
1179
+ id_gte?: string | null;
1180
+ id_lte?: string | null;
1181
+ id_in?: string[];
1182
+ id_not_in?: string[];
1183
+ id_contains?: string | null;
1184
+ id_not_contains?: string | null;
1185
+ user?: string | null;
1186
+ user_not?: string | null;
1187
+ user_in?: string[];
1188
+ user_not_in?: string[];
1189
+ user_contains?: string | null;
1190
+ user_not_contains?: string | null;
1191
+ submissionId?: string | null;
1192
+ submissionId_not?: string | null;
1193
+ submissionId_gt?: string | null;
1194
+ submissionId_lt?: string | null;
1195
+ submissionId_gte?: string | null;
1196
+ submissionId_lte?: string | null;
1197
+ submissionId_in?: string[];
1198
+ submissionId_not_in?: string[];
1199
+ metadata?: string | null;
1200
+ metadata_not?: string | null;
1201
+ metadata_gt?: string | null;
1202
+ metadata_lt?: string | null;
1203
+ metadata_gte?: string | null;
1204
+ metadata_lte?: string | null;
1205
+ metadata_in?: string[];
1206
+ metadata_not_in?: string[];
1207
+ metadata_contains?: string | null;
1208
+ metadata_not_contains?: string | null;
1209
+ metadata_starts_with?: string | null;
1210
+ metadata_starts_with_nocase?: string | null;
1211
+ metadata_not_starts_with?: string | null;
1212
+ metadata_not_starts_with_nocase?: string | null;
1213
+ metadata_ends_with?: string | null;
1214
+ metadata_ends_with_nocase?: string | null;
1215
+ metadata_not_ends_with?: string | null;
1216
+ metadata_not_ends_with_nocase?: string | null;
1217
+ status?: number | null;
1218
+ status_not?: number | null;
1219
+ status_gt?: number | null;
1220
+ status_lt?: number | null;
1221
+ status_gte?: number | null;
1222
+ status_lte?: number | null;
1223
+ status_in?: number[];
1224
+ status_not_in?: number[];
1225
+ submittedAt?: number | null;
1226
+ submittedAt_not?: string | null;
1227
+ submittedAt_gt?: string | null;
1228
+ submittedAt_lt?: string | null;
1229
+ submittedAt_gte?: string | null;
1230
+ submittedAt_lte?: string | null;
1231
+ submittedAt_in?: string[];
1232
+ submittedAt_not_in?: string[];
1233
+ reviewedAt?: number | null;
1234
+ reviewedAt_not?: string | null;
1235
+ reviewedAt_gt?: string | null;
1236
+ reviewedAt_lt?: string | null;
1237
+ reviewedAt_gte?: string | null;
1238
+ reviewedAt_lte?: string | null;
1239
+ reviewedAt_in?: string[];
1240
+ reviewedAt_not_in?: string[];
1241
+ amount?: string | null;
1242
+ amount_not?: string | null;
1243
+ amount_gt?: string | null;
1244
+ amount_lt?: string | null;
1245
+ amount_gte?: string | null;
1246
+ amount_lte?: string | null;
1247
+ amount_in?: string[];
1248
+ amount_not_in?: string[];
1249
+ rewardAmount?: string | null;
1250
+ rewardAmount_not?: string | null;
1251
+ rewardAmount_gt?: string | null;
1252
+ rewardAmount_lt?: string | null;
1253
+ rewardAmount_gte?: string | null;
1254
+ rewardAmount_lte?: string | null;
1255
+ rewardAmount_in?: string[];
1256
+ rewardAmount_not_in?: string[];
1257
+ rejectionReason?: string | null;
1258
+ rejectionReason_not?: string | null;
1259
+ rejectionReason_gt?: string | null;
1260
+ rejectionReason_lt?: string | null;
1261
+ rejectionReason_gte?: string | null;
1262
+ rejectionReason_lte?: string | null;
1263
+ rejectionReason_in?: string[];
1264
+ rejectionReason_not_in?: string[];
1265
+ rejectionReason_contains?: string | null;
1266
+ rejectionReason_not_contains?: string | null;
1267
+ rejectionReason_starts_with?: string | null;
1268
+ rejectionReason_starts_with_nocase?: string | null;
1269
+ rejectionReason_not_starts_with?: string | null;
1270
+ rejectionReason_not_starts_with_nocase?: string | null;
1271
+ rejectionReason_ends_with?: string | null;
1272
+ rejectionReason_ends_with_nocase?: string | null;
1273
+ rejectionReason_not_ends_with?: string | null;
1274
+ rejectionReason_not_ends_with_nocase?: string | null;
1275
+ blockNumber?: number | null;
1276
+ blockNumber_not?: number | null;
1277
+ blockNumber_gt?: number | null;
1278
+ blockNumber_lt?: number | null;
1279
+ blockNumber_gte?: number | null;
1280
+ blockNumber_lte?: number | null;
1281
+ blockNumber_in?: number[];
1282
+ blockNumber_not_in?: number[];
1283
+ transactionHash?: string | null;
1284
+ transactionHash_not?: string | null;
1285
+ transactionHash_in?: string[];
1286
+ transactionHash_not_in?: string[];
1287
+ transactionHash_contains?: string | null;
1288
+ transactionHash_not_contains?: string | null;
1289
+ }
1290
+ export type StreakSubmission_orderBy = "id" | "user" | "submissionId" | "metadata" | "status" | "submittedAt" | "reviewedAt" | "amount" | "rewardAmount" | "rejectionReason" | "blockNumber" | "transactionHash";
1291
+ export interface UserStreakStats_filter {
1292
+ id?: string | null;
1293
+ id_not?: string | null;
1294
+ id_gt?: string | null;
1295
+ id_lt?: string | null;
1296
+ id_gte?: string | null;
1297
+ id_lte?: string | null;
1298
+ id_in?: string[];
1299
+ id_not_in?: string[];
1300
+ id_contains?: string | null;
1301
+ id_not_contains?: string | null;
1302
+ user?: string | null;
1303
+ user_not?: string | null;
1304
+ user_in?: string[];
1305
+ user_not_in?: string[];
1306
+ user_contains?: string | null;
1307
+ user_not_contains?: string | null;
1308
+ streakerCode?: string | null;
1309
+ streakerCode_not?: string | null;
1310
+ streakerCode_gt?: string | null;
1311
+ streakerCode_lt?: string | null;
1312
+ streakerCode_gte?: string | null;
1313
+ streakerCode_lte?: string | null;
1314
+ streakerCode_in?: string[];
1315
+ streakerCode_not_in?: string[];
1316
+ streakerCode_contains?: string | null;
1317
+ streakerCode_not_contains?: string | null;
1318
+ streakerCode_starts_with?: string | null;
1319
+ streakerCode_starts_with_nocase?: string | null;
1320
+ streakerCode_not_starts_with?: string | null;
1321
+ streakerCode_not_starts_with_nocase?: string | null;
1322
+ streakerCode_ends_with?: string | null;
1323
+ streakerCode_ends_with_nocase?: string | null;
1324
+ streakerCode_not_ends_with?: string | null;
1325
+ streakerCode_not_ends_with_nocase?: string | null;
1326
+ totalSubmissions?: string | null;
1327
+ totalSubmissions_not?: string | null;
1328
+ totalSubmissions_gt?: string | null;
1329
+ totalSubmissions_lt?: string | null;
1330
+ totalSubmissions_gte?: string | null;
1331
+ totalSubmissions_lte?: string | null;
1332
+ totalSubmissions_in?: string[];
1333
+ totalSubmissions_not_in?: string[];
1334
+ approvedSubmissions?: string | null;
1335
+ approvedSubmissions_not?: string | null;
1336
+ approvedSubmissions_gt?: string | null;
1337
+ approvedSubmissions_lt?: string | null;
1338
+ approvedSubmissions_gte?: string | null;
1339
+ approvedSubmissions_lte?: string | null;
1340
+ approvedSubmissions_in?: string[];
1341
+ approvedSubmissions_not_in?: string[];
1342
+ rejectedSubmissions?: string | null;
1343
+ rejectedSubmissions_not?: string | null;
1344
+ rejectedSubmissions_gt?: string | null;
1345
+ rejectedSubmissions_lt?: string | null;
1346
+ rejectedSubmissions_gte?: string | null;
1347
+ rejectedSubmissions_lte?: string | null;
1348
+ rejectedSubmissions_in?: string[];
1349
+ rejectedSubmissions_not_in?: string[];
1350
+ pendingSubmissions?: string | null;
1351
+ pendingSubmissions_not?: string | null;
1352
+ pendingSubmissions_gt?: string | null;
1353
+ pendingSubmissions_lt?: string | null;
1354
+ pendingSubmissions_gte?: string | null;
1355
+ pendingSubmissions_lte?: string | null;
1356
+ pendingSubmissions_in?: string[];
1357
+ pendingSubmissions_not_in?: string[];
1358
+ totalAmount?: string | null;
1359
+ totalAmount_not?: string | null;
1360
+ totalAmount_gt?: string | null;
1361
+ totalAmount_lt?: string | null;
1362
+ totalAmount_gte?: string | null;
1363
+ totalAmount_lte?: string | null;
1364
+ totalAmount_in?: string[];
1365
+ totalAmount_not_in?: string[];
1366
+ lastSubmissionAt?: number | null;
1367
+ lastSubmissionAt_not?: string | null;
1368
+ lastSubmissionAt_gt?: string | null;
1369
+ lastSubmissionAt_lt?: string | null;
1370
+ lastSubmissionAt_gte?: string | null;
1371
+ lastSubmissionAt_lte?: string | null;
1372
+ lastSubmissionAt_in?: string[];
1373
+ lastSubmissionAt_not_in?: string[];
1374
+ }
1375
+ export type UserStreakStats_orderBy = "id" | "user" | "streakerCode" | "totalSubmissions" | "approvedSubmissions" | "rejectedSubmissions" | "pendingSubmissions" | "totalAmount" | "lastSubmissionAt";
1376
+ //# sourceMappingURL=types.d.ts.map