@cleanmate/cip-sdk 1.0.5 → 1.1.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/abis/Cleanup.d.ts +258 -0
- package/dist/abis/Cleanup.d.ts.map +1 -1
- package/dist/abis/Cleanup.js +334 -0
- package/dist/abis/Cleanup.js.map +1 -1
- package/dist/abis/NativePassport.d.ts +336 -0
- package/dist/abis/NativePassport.d.ts.map +1 -0
- package/dist/abis/NativePassport.js +440 -0
- package/dist/abis/NativePassport.js.map +1 -0
- package/dist/abis/RewardsManager.d.ts +8 -0
- package/dist/abis/RewardsManager.d.ts.map +1 -1
- package/dist/abis/RewardsManager.js +10 -0
- package/dist/abis/RewardsManager.js.map +1 -1
- package/dist/abis/Streak.d.ts +132 -1
- package/dist/abis/Streak.d.ts.map +1 -1
- package/dist/abis/Streak.js +173 -1
- package/dist/abis/Streak.js.map +1 -1
- package/dist/abis/UserRegistry.d.ts +18 -109
- package/dist/abis/UserRegistry.d.ts.map +1 -1
- package/dist/abis/UserRegistry.js +24 -140
- package/dist/abis/UserRegistry.js.map +1 -1
- package/dist/cleanup.d.ts.map +1 -1
- package/dist/cleanup.js +2 -1
- package/dist/cleanup.js.map +1 -1
- package/dist/index.d.ts +1 -0
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +3 -1
- package/dist/index.js.map +1 -1
- package/dist/streak.d.ts.map +1 -1
- package/dist/streak.js +2 -1
- package/dist/streak.js.map +1 -1
- package/dist/subgraph/queries.d.ts +28 -10
- package/dist/subgraph/queries.d.ts.map +1 -1
- package/dist/subgraph/queries.js +110 -19
- package/dist/subgraph/queries.js.map +1 -1
- package/dist/subgraph/types.d.ts +90 -16
- package/dist/subgraph/types.d.ts.map +1 -1
- package/dist/user.d.ts +0 -1
- package/dist/user.d.ts.map +1 -1
- package/dist/user.js.map +1 -1
- package/package.json +1 -1
package/dist/subgraph/queries.js
CHANGED
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
* Based on vechain-subgraph/schema.graphql
|
|
6
6
|
*/
|
|
7
7
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
8
|
-
exports.GET_USER_STREAK_STATS_LIST_QUERY = exports.GET_USER_STREAK_STATS_QUERY = exports.GET_STREAK_SUBMISSIONS_QUERY = exports.GET_STREAK_SUBMISSION_QUERY = exports.GET_REWARDS_POOL_UPDATEDS_QUERY = exports.GET_REWARDS_POOL_UPDATED_QUERY = exports.GET_APP_ID_UPDATEDS_QUERY = exports.GET_APP_ID_UPDATED_QUERY = exports.GET_ADDRESS_UPDATEDS_QUERY = exports.GET_ADDRESS_UPDATED_QUERY = exports.GET_NOTIFICATIONS_QUERY = exports.GET_NOTIFICATION_QUERY = exports.GET_TRANSACTIONS_QUERY = exports.GET_TRANSACTION_QUERY = exports.GET_CLEANUP_PARTICIPANTS_QUERY = exports.GET_CLEANUP_PARTICIPANT_QUERY = exports.GET_CLEANUP_UPDATES_QUERY = exports.GET_CLEANUP_UPDATE_QUERY = exports.GET_PROOFS_OF_WORK_QUERY = exports.GET_PROOF_OF_WORK_QUERY = exports.GET_CLEANUPS_QUERY = exports.GET_CLEANUP_QUERY = exports.GET_TEAM_MEMBERSHIPS_QUERY = exports.GET_TEAM_MEMBERSHIP_QUERY = exports.GET_USERS_QUERY = exports.GET_USER_WITH_TEAMS_QUERY = exports.GET_USER_QUERY = void 0;
|
|
8
|
+
exports.GET_NATIVE_PASSPORTS_QUERY = exports.GET_NATIVE_PASSPORT_QUERY = exports.GET_USER_STREAK_STATS_LIST_QUERY = exports.GET_USER_STREAK_STATS_QUERY = exports.GET_STREAK_SUBMISSIONS_QUERY = exports.GET_STREAK_SUBMISSION_QUERY = exports.GET_REWARDS_POOL_UPDATEDS_QUERY = exports.GET_REWARDS_POOL_UPDATED_QUERY = exports.GET_APP_ID_UPDATEDS_QUERY = exports.GET_APP_ID_UPDATED_QUERY = exports.GET_ADDRESS_UPDATEDS_QUERY = exports.GET_ADDRESS_UPDATED_QUERY = exports.GET_NOTIFICATIONS_QUERY = exports.GET_NOTIFICATION_QUERY = exports.GET_TRANSACTIONS_QUERY = exports.GET_TRANSACTION_QUERY = exports.GET_CLEANUP_PARTICIPANTS_QUERY = exports.GET_CLEANUP_PARTICIPANT_QUERY = exports.GET_CLEANUP_UPDATES_QUERY = exports.GET_CLEANUP_UPDATE_QUERY = exports.GET_PROOFS_OF_WORK_QUERY = exports.GET_PROOF_OF_WORK_QUERY = exports.GET_CLEANUPS_QUERY = exports.GET_CLEANUP_QUERY = exports.GET_TEAM_MEMBERSHIPS_QUERY = exports.GET_TEAM_MEMBERSHIP_QUERY = exports.GET_USERS_QUERY = exports.GET_USER_WITH_TEAMS_QUERY = exports.GET_USER_QUERY = void 0;
|
|
9
9
|
// ============================================================================
|
|
10
10
|
// User Queries
|
|
11
11
|
// ============================================================================
|
|
@@ -19,17 +19,25 @@ exports.GET_USER_QUERY = `
|
|
|
19
19
|
metadata
|
|
20
20
|
email
|
|
21
21
|
emailVerified
|
|
22
|
-
kycStatus
|
|
23
22
|
referralCode
|
|
24
23
|
referrer
|
|
25
24
|
referralCount
|
|
26
|
-
isOrganizer
|
|
27
25
|
registeredAt
|
|
28
26
|
emailVerifiedAt
|
|
29
27
|
lastProfileUpdateAt
|
|
30
28
|
totalRewardsEarned
|
|
31
29
|
totalRewardsClaimed
|
|
32
30
|
pendingRewards
|
|
31
|
+
passport {
|
|
32
|
+
id
|
|
33
|
+
user
|
|
34
|
+
status
|
|
35
|
+
reason
|
|
36
|
+
documentType
|
|
37
|
+
updatedAt
|
|
38
|
+
blockNumber
|
|
39
|
+
transactionHash
|
|
40
|
+
}
|
|
33
41
|
}
|
|
34
42
|
}
|
|
35
43
|
`;
|
|
@@ -43,17 +51,25 @@ exports.GET_USER_WITH_TEAMS_QUERY = `
|
|
|
43
51
|
metadata
|
|
44
52
|
email
|
|
45
53
|
emailVerified
|
|
46
|
-
kycStatus
|
|
47
54
|
referralCode
|
|
48
55
|
referrer
|
|
49
56
|
referralCount
|
|
50
|
-
isOrganizer
|
|
51
57
|
registeredAt
|
|
52
58
|
emailVerifiedAt
|
|
53
59
|
lastProfileUpdateAt
|
|
54
60
|
totalRewardsEarned
|
|
55
61
|
totalRewardsClaimed
|
|
56
62
|
pendingRewards
|
|
63
|
+
passport {
|
|
64
|
+
id
|
|
65
|
+
user
|
|
66
|
+
status
|
|
67
|
+
reason
|
|
68
|
+
documentType
|
|
69
|
+
updatedAt
|
|
70
|
+
blockNumber
|
|
71
|
+
transactionHash
|
|
72
|
+
}
|
|
57
73
|
teamMemberships(where: { deleted: false }) {
|
|
58
74
|
id
|
|
59
75
|
organizer
|
|
@@ -88,17 +104,25 @@ exports.GET_USERS_QUERY = `
|
|
|
88
104
|
metadata
|
|
89
105
|
email
|
|
90
106
|
emailVerified
|
|
91
|
-
kycStatus
|
|
92
107
|
referralCode
|
|
93
108
|
referrer
|
|
94
109
|
referralCount
|
|
95
|
-
isOrganizer
|
|
96
110
|
registeredAt
|
|
97
111
|
emailVerifiedAt
|
|
98
112
|
lastProfileUpdateAt
|
|
99
113
|
totalRewardsEarned
|
|
100
114
|
totalRewardsClaimed
|
|
101
115
|
pendingRewards
|
|
116
|
+
passport {
|
|
117
|
+
id
|
|
118
|
+
user
|
|
119
|
+
status
|
|
120
|
+
reason
|
|
121
|
+
documentType
|
|
122
|
+
updatedAt
|
|
123
|
+
blockNumber
|
|
124
|
+
transactionHash
|
|
125
|
+
}
|
|
102
126
|
}
|
|
103
127
|
}
|
|
104
128
|
`;
|
|
@@ -119,8 +143,11 @@ exports.GET_TEAM_MEMBERSHIP_QUERY = `
|
|
|
119
143
|
metadata
|
|
120
144
|
email
|
|
121
145
|
emailVerified
|
|
122
|
-
|
|
123
|
-
|
|
146
|
+
passport {
|
|
147
|
+
id
|
|
148
|
+
status
|
|
149
|
+
reason
|
|
150
|
+
}
|
|
124
151
|
}
|
|
125
152
|
canEditCleanups
|
|
126
153
|
canManageParticipants
|
|
@@ -158,8 +185,11 @@ exports.GET_TEAM_MEMBERSHIPS_QUERY = `
|
|
|
158
185
|
metadata
|
|
159
186
|
email
|
|
160
187
|
emailVerified
|
|
161
|
-
|
|
162
|
-
|
|
188
|
+
passport {
|
|
189
|
+
id
|
|
190
|
+
status
|
|
191
|
+
reason
|
|
192
|
+
}
|
|
163
193
|
}
|
|
164
194
|
canEditCleanups
|
|
165
195
|
canManageParticipants
|
|
@@ -214,8 +244,11 @@ exports.GET_CLEANUP_QUERY = `
|
|
|
214
244
|
metadata
|
|
215
245
|
email
|
|
216
246
|
emailVerified
|
|
217
|
-
|
|
218
|
-
|
|
247
|
+
passport {
|
|
248
|
+
id
|
|
249
|
+
status
|
|
250
|
+
reason
|
|
251
|
+
}
|
|
219
252
|
}
|
|
220
253
|
appliedAt
|
|
221
254
|
status
|
|
@@ -293,8 +326,11 @@ exports.GET_CLEANUPS_QUERY = `
|
|
|
293
326
|
metadata
|
|
294
327
|
email
|
|
295
328
|
emailVerified
|
|
296
|
-
|
|
297
|
-
|
|
329
|
+
passport {
|
|
330
|
+
id
|
|
331
|
+
status
|
|
332
|
+
reason
|
|
333
|
+
}
|
|
298
334
|
}
|
|
299
335
|
appliedAt
|
|
300
336
|
status
|
|
@@ -467,8 +503,11 @@ exports.GET_CLEANUP_PARTICIPANT_QUERY = `
|
|
|
467
503
|
metadata
|
|
468
504
|
email
|
|
469
505
|
emailVerified
|
|
470
|
-
|
|
471
|
-
|
|
506
|
+
passport {
|
|
507
|
+
id
|
|
508
|
+
status
|
|
509
|
+
reason
|
|
510
|
+
}
|
|
472
511
|
totalRewardsEarned
|
|
473
512
|
totalRewardsClaimed
|
|
474
513
|
pendingRewards
|
|
@@ -516,8 +555,11 @@ exports.GET_CLEANUP_PARTICIPANTS_QUERY = `
|
|
|
516
555
|
metadata
|
|
517
556
|
email
|
|
518
557
|
emailVerified
|
|
519
|
-
|
|
520
|
-
|
|
558
|
+
passport {
|
|
559
|
+
id
|
|
560
|
+
status
|
|
561
|
+
reason
|
|
562
|
+
}
|
|
521
563
|
totalRewardsEarned
|
|
522
564
|
totalRewardsClaimed
|
|
523
565
|
pendingRewards
|
|
@@ -886,4 +928,53 @@ exports.GET_USER_STREAK_STATS_LIST_QUERY = `
|
|
|
886
928
|
}
|
|
887
929
|
}
|
|
888
930
|
`;
|
|
931
|
+
// ============================================================================
|
|
932
|
+
// NativePassport Queries
|
|
933
|
+
// ============================================================================
|
|
934
|
+
/**
|
|
935
|
+
* Query a single native passport by ID (user address)
|
|
936
|
+
*/
|
|
937
|
+
exports.GET_NATIVE_PASSPORT_QUERY = `
|
|
938
|
+
query GetNativePassport($id: Bytes!) {
|
|
939
|
+
nativePassport(id: $id) {
|
|
940
|
+
id
|
|
941
|
+
user
|
|
942
|
+
status
|
|
943
|
+
reason
|
|
944
|
+
documentType
|
|
945
|
+
updatedAt
|
|
946
|
+
blockNumber
|
|
947
|
+
transactionHash
|
|
948
|
+
}
|
|
949
|
+
}
|
|
950
|
+
`;
|
|
951
|
+
/**
|
|
952
|
+
* Query multiple native passports with filters, ordering, and pagination
|
|
953
|
+
*/
|
|
954
|
+
exports.GET_NATIVE_PASSPORTS_QUERY = `
|
|
955
|
+
query GetNativePassports(
|
|
956
|
+
$first: Int
|
|
957
|
+
$skip: Int
|
|
958
|
+
$where: NativePassport_filter
|
|
959
|
+
$orderBy: NativePassport_orderBy
|
|
960
|
+
$orderDirection: OrderDirection
|
|
961
|
+
) {
|
|
962
|
+
nativePassports(
|
|
963
|
+
first: $first
|
|
964
|
+
skip: $skip
|
|
965
|
+
where: $where
|
|
966
|
+
orderBy: $orderBy
|
|
967
|
+
orderDirection: $orderDirection
|
|
968
|
+
) {
|
|
969
|
+
id
|
|
970
|
+
user
|
|
971
|
+
status
|
|
972
|
+
reason
|
|
973
|
+
documentType
|
|
974
|
+
updatedAt
|
|
975
|
+
blockNumber
|
|
976
|
+
transactionHash
|
|
977
|
+
}
|
|
978
|
+
}
|
|
979
|
+
`;
|
|
889
980
|
//# sourceMappingURL=queries.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"queries.js","sourceRoot":"","sources":["../../src/subgraph/queries.ts"],"names":[],"mappings":";AAAA;;;;GAIG;;;
|
|
1
|
+
{"version":3,"file":"queries.js","sourceRoot":"","sources":["../../src/subgraph/queries.ts"],"names":[],"mappings":";AAAA;;;;GAIG;;;AAkCH,+EAA+E;AAC/E,eAAe;AACf,+EAA+E;AAE/E;;GAEG;AACU,QAAA,cAAc,GAAG;;;;;;;;;;;;;;;;;;;;;;;;;;;;CA4B7B,CAAC;AAEF;;GAEG;AACU,QAAA,yBAAyB,GAAG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAqCxC,CAAC;AAEF;;GAEG;AACU,QAAA,eAAe,GAAG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAwC9B,CAAC;AAEF,+EAA+E;AAC/E,yBAAyB;AACzB,+EAA+E;AAE/E;;GAEG;AACU,QAAA,yBAAyB,GAAG;;;;;;;;;;;;;;;;;;;;;;;;;;CA0BxC,CAAC;AAEF;;GAEG;AACU,QAAA,0BAA0B,GAAG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAsCzC,CAAC;AAEF,+EAA+E;AAC/E,kBAAkB;AAClB,+EAA+E;AAE/E;;GAEG;AACU,QAAA,iBAAiB,GAAG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAkEhC,CAAC;AAEF;;GAEG;AACU,QAAA,kBAAkB,GAAG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CA8EjC,CAAC;AAEF,+EAA+E;AAC/E,sBAAsB;AACtB,+EAA+E;AAE/E;;GAEG;AACU,QAAA,uBAAuB,GAAG;;;;;;;;;;;;;;;;;;CAkBtC,CAAC;AAEF;;GAEG;AACU,QAAA,wBAAwB,GAAG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CA8BvC,CAAC;AAEF,+EAA+E;AAC/E,wBAAwB;AACxB,+EAA+E;AAE/E;;GAEG;AACU,QAAA,wBAAwB,GAAG;;;;;;;;;;;;;;;;;;;;CAoBvC,CAAC;AAEF;;GAEG;AACU,QAAA,yBAAyB,GAAG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAgCxC,CAAC;AAEF,+EAA+E;AAC/E,6BAA6B;AAC7B,+EAA+E;AAE/E;;GAEG;AACU,QAAA,6BAA6B,GAAG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAoC5C,CAAC;AAEF;;GAEG;AACU,QAAA,8BAA8B,GAAG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAgD7C,CAAC;AAEF,+EAA+E;AAC/E,sBAAsB;AACtB,+EAA+E;AAE/E;;GAEG;AACU,QAAA,qBAAqB,GAAG;;;;;;;;;;;;;;;CAepC,CAAC;AAEF;;GAEG;AACU,QAAA,sBAAsB,GAAG;;;;;;;;;;;;;;;;;;;;;;;;;;;CA2BrC,CAAC;AAEF,+EAA+E;AAC/E,uBAAuB;AACvB,+EAA+E;AAE/E;;GAEG;AACU,QAAA,sBAAsB,GAAG;;;;;;;;;;;;;;;CAerC,CAAC;AAEF;;GAEG;AACU,QAAA,uBAAuB,GAAG;;;;;;;;;;;;;;;;;;;;;;;;;;;CA2BtC,CAAC;AAEF,+EAA+E;AAC/E,yBAAyB;AACzB,+EAA+E;AAE/E;;GAEG;AACU,QAAA,yBAAyB,GAAG;;;;;;;;;;;;CAYxC,CAAC;AAEF;;GAEG;AACU,QAAA,0BAA0B,GAAG;;;;;;;;;;;;;;;;;;;;;;;;CAwBzC,CAAC;AAEF,+EAA+E;AAC/E,uBAAuB;AACvB,+EAA+E;AAE/E;;GAEG;AACU,QAAA,wBAAwB,GAAG;;;;;;;;;;;CAWvC,CAAC;AAEF;;GAEG;AACU,QAAA,yBAAyB,GAAG;;;;;;;;;;;;;;;;;;;;;;;CAuBxC,CAAC;AAEF,+EAA+E;AAC/E,6BAA6B;AAC7B,+EAA+E;AAE/E;;GAEG;AACU,QAAA,8BAA8B,GAAG;;;;;;;;;;;CAW7C,CAAC;AAEF;;GAEG;AACU,QAAA,+BAA+B,GAAG;;;;;;;;;;;;;;;;;;;;;;;CAuB9C,CAAC;AAEF,+EAA+E;AAC/E,2BAA2B;AAC3B,+EAA+E;AAE/E;;GAEG;AACU,QAAA,2BAA2B,GAAG;;;;;;;;;;;;;;;;;;;CAmB1C,CAAC;AAEF;;GAEG;AACU,QAAA,4BAA4B,GAAG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CA+B3C,CAAC;AAEF,+EAA+E;AAC/E,0BAA0B;AAC1B,+EAA+E;AAE/E;;GAEG;AACU,QAAA,2BAA2B,GAAG;;;;;;;;;;;;;;CAc1C,CAAC;AAEF;;GAEG;AACU,QAAA,gCAAgC,GAAG;;;;;;;;;;;;;;;;;;;;;;;;;;CA0B/C,CAAC;AAkKF,+EAA+E;AAC/E,yBAAyB;AACzB,+EAA+E;AAE/E;;GAEG;AACU,QAAA,yBAAyB,GAAG;;;;;;;;;;;;;CAaxC,CAAC;AAEF;;GAEG;AACU,QAAA,0BAA0B,GAAG;;;;;;;;;;;;;;;;;;;;;;;;;CAyBzC,CAAC"}
|
package/dist/subgraph/types.d.ts
CHANGED
|
@@ -7,14 +7,13 @@ export interface User {
|
|
|
7
7
|
metadata: string | null;
|
|
8
8
|
email: string | null;
|
|
9
9
|
emailVerified: boolean;
|
|
10
|
-
kycStatus: number;
|
|
11
10
|
referralCode: string | null;
|
|
12
11
|
referrer: string | null;
|
|
13
12
|
referralCount: string;
|
|
14
|
-
isOrganizer: boolean;
|
|
15
13
|
registeredAt: number;
|
|
16
14
|
emailVerifiedAt: number | null;
|
|
17
15
|
lastProfileUpdateAt: number | null;
|
|
16
|
+
passport?: NativePassport | null;
|
|
18
17
|
teamMemberships?: TeamMembership[];
|
|
19
18
|
totalRewardsEarned: string;
|
|
20
19
|
totalRewardsClaimed: string;
|
|
@@ -122,7 +121,7 @@ export interface AddressUpdated {
|
|
|
122
121
|
oldAddress: string;
|
|
123
122
|
newAddress: string;
|
|
124
123
|
blockNumber: number;
|
|
125
|
-
|
|
124
|
+
blockTimestamp: number;
|
|
126
125
|
transactionHash: string;
|
|
127
126
|
}
|
|
128
127
|
export interface AppIdUpdated {
|
|
@@ -130,7 +129,7 @@ export interface AppIdUpdated {
|
|
|
130
129
|
oldAppId: string;
|
|
131
130
|
newAppId: string;
|
|
132
131
|
blockNumber: number;
|
|
133
|
-
|
|
132
|
+
blockTimestamp: number;
|
|
134
133
|
transactionHash: string;
|
|
135
134
|
}
|
|
136
135
|
export interface RewardsPoolUpdated {
|
|
@@ -138,7 +137,7 @@ export interface RewardsPoolUpdated {
|
|
|
138
137
|
oldPool: string;
|
|
139
138
|
newPool: string;
|
|
140
139
|
blockNumber: number;
|
|
141
|
-
|
|
140
|
+
blockTimestamp: number;
|
|
142
141
|
transactionHash: string;
|
|
143
142
|
}
|
|
144
143
|
export interface StreakSubmission {
|
|
@@ -168,6 +167,16 @@ export interface UserStreakStats {
|
|
|
168
167
|
totalAmount: string;
|
|
169
168
|
lastSubmissionAt: number | null;
|
|
170
169
|
}
|
|
170
|
+
export interface NativePassport {
|
|
171
|
+
id: string;
|
|
172
|
+
user: string;
|
|
173
|
+
status: number;
|
|
174
|
+
reason: string | null;
|
|
175
|
+
documentType: number | null;
|
|
176
|
+
updatedAt: number;
|
|
177
|
+
blockNumber: number;
|
|
178
|
+
transactionHash: string;
|
|
179
|
+
}
|
|
171
180
|
export type OrderDirection = "asc" | "desc";
|
|
172
181
|
export interface User_filter {
|
|
173
182
|
id?: string | null;
|
|
@@ -218,14 +227,6 @@ export interface User_filter {
|
|
|
218
227
|
email_not_ends_with_nocase?: string | null;
|
|
219
228
|
emailVerified?: boolean | null;
|
|
220
229
|
emailVerified_not?: boolean | null;
|
|
221
|
-
kycStatus?: number | null;
|
|
222
|
-
kycStatus_not?: number | null;
|
|
223
|
-
kycStatus_gt?: number | null;
|
|
224
|
-
kycStatus_lt?: number | null;
|
|
225
|
-
kycStatus_gte?: number | null;
|
|
226
|
-
kycStatus_lte?: number | null;
|
|
227
|
-
kycStatus_in?: number[];
|
|
228
|
-
kycStatus_not_in?: number[];
|
|
229
230
|
referralCode?: string | null;
|
|
230
231
|
referralCode_not?: string | null;
|
|
231
232
|
referralCode_gt?: string | null;
|
|
@@ -250,8 +251,6 @@ export interface User_filter {
|
|
|
250
251
|
referrer_not_in?: string[];
|
|
251
252
|
referrer_contains?: string | null;
|
|
252
253
|
referrer_not_contains?: string | null;
|
|
253
|
-
isOrganizer?: boolean | null;
|
|
254
|
-
isOrganizer_not?: boolean | null;
|
|
255
254
|
registeredAt?: number | null;
|
|
256
255
|
registeredAt_not?: string | null;
|
|
257
256
|
registeredAt_gt?: string | null;
|
|
@@ -309,7 +308,7 @@ export interface User_filter {
|
|
|
309
308
|
referralCount_in?: string[];
|
|
310
309
|
referralCount_not_in?: string[];
|
|
311
310
|
}
|
|
312
|
-
export type User_orderBy = "id" | "metadata" | "email" | "emailVerified" | "
|
|
311
|
+
export type User_orderBy = "id" | "metadata" | "email" | "emailVerified" | "referralCode" | "referrer" | "referralCount" | "registeredAt" | "emailVerifiedAt" | "lastProfileUpdateAt" | "totalRewardsEarned" | "totalRewardsClaimed" | "pendingRewards";
|
|
313
312
|
export interface TeamMembership_filter {
|
|
314
313
|
id?: string | null;
|
|
315
314
|
id_not?: string | null;
|
|
@@ -1374,4 +1373,79 @@ export interface UserStreakStats_filter {
|
|
|
1374
1373
|
lastSubmissionAt_not_in?: string[];
|
|
1375
1374
|
}
|
|
1376
1375
|
export type UserStreakStats_orderBy = "id" | "user" | "streakerCode" | "totalSubmissions" | "approvedSubmissions" | "rejectedSubmissions" | "pendingSubmissions" | "totalAmount" | "lastSubmissionAt";
|
|
1376
|
+
export interface NativePassport_filter {
|
|
1377
|
+
id?: string | null;
|
|
1378
|
+
id_not?: string | null;
|
|
1379
|
+
id_gt?: string | null;
|
|
1380
|
+
id_lt?: string | null;
|
|
1381
|
+
id_gte?: string | null;
|
|
1382
|
+
id_lte?: string | null;
|
|
1383
|
+
id_in?: string[];
|
|
1384
|
+
id_not_in?: string[];
|
|
1385
|
+
id_contains?: string | null;
|
|
1386
|
+
id_not_contains?: string | null;
|
|
1387
|
+
user?: string | null;
|
|
1388
|
+
user_not?: string | null;
|
|
1389
|
+
user_in?: string[];
|
|
1390
|
+
user_not_in?: string[];
|
|
1391
|
+
user_contains?: string | null;
|
|
1392
|
+
user_not_contains?: string | null;
|
|
1393
|
+
status?: number | null;
|
|
1394
|
+
status_not?: number | null;
|
|
1395
|
+
status_gt?: number | null;
|
|
1396
|
+
status_lt?: number | null;
|
|
1397
|
+
status_gte?: number | null;
|
|
1398
|
+
status_lte?: number | null;
|
|
1399
|
+
status_in?: number[];
|
|
1400
|
+
status_not_in?: number[];
|
|
1401
|
+
reason?: string | null;
|
|
1402
|
+
reason_not?: string | null;
|
|
1403
|
+
reason_gt?: string | null;
|
|
1404
|
+
reason_lt?: string | null;
|
|
1405
|
+
reason_gte?: string | null;
|
|
1406
|
+
reason_lte?: string | null;
|
|
1407
|
+
reason_in?: string[];
|
|
1408
|
+
reason_not_in?: string[];
|
|
1409
|
+
reason_contains?: string | null;
|
|
1410
|
+
reason_not_contains?: string | null;
|
|
1411
|
+
reason_starts_with?: string | null;
|
|
1412
|
+
reason_starts_with_nocase?: string | null;
|
|
1413
|
+
reason_not_starts_with?: string | null;
|
|
1414
|
+
reason_not_starts_with_nocase?: string | null;
|
|
1415
|
+
reason_ends_with?: string | null;
|
|
1416
|
+
reason_ends_with_nocase?: string | null;
|
|
1417
|
+
reason_not_ends_with?: string | null;
|
|
1418
|
+
reason_not_ends_with_nocase?: string | null;
|
|
1419
|
+
documentType?: number | null;
|
|
1420
|
+
documentType_not?: number | null;
|
|
1421
|
+
documentType_gt?: number | null;
|
|
1422
|
+
documentType_lt?: number | null;
|
|
1423
|
+
documentType_gte?: number | null;
|
|
1424
|
+
documentType_lte?: number | null;
|
|
1425
|
+
documentType_in?: number[];
|
|
1426
|
+
documentType_not_in?: number[];
|
|
1427
|
+
updatedAt?: number | null;
|
|
1428
|
+
updatedAt_not?: string | null;
|
|
1429
|
+
updatedAt_gt?: string | null;
|
|
1430
|
+
updatedAt_lt?: string | null;
|
|
1431
|
+
updatedAt_gte?: string | null;
|
|
1432
|
+
updatedAt_lte?: string | null;
|
|
1433
|
+
updatedAt_in?: string[];
|
|
1434
|
+
updatedAt_not_in?: string[];
|
|
1435
|
+
blockNumber?: number | null;
|
|
1436
|
+
blockNumber_not?: number | null;
|
|
1437
|
+
blockNumber_gt?: number | null;
|
|
1438
|
+
blockNumber_lt?: number | null;
|
|
1439
|
+
blockNumber_gte?: number | null;
|
|
1440
|
+
blockNumber_lte?: number | null;
|
|
1441
|
+
blockNumber_in?: number[];
|
|
1442
|
+
blockNumber_not_in?: number[];
|
|
1443
|
+
transactionHash?: string | null;
|
|
1444
|
+
transactionHash_not?: string | null;
|
|
1445
|
+
transactionHash_in?: string[];
|
|
1446
|
+
transactionHash_not_in?: string[];
|
|
1447
|
+
transactionHash_contains?: string | null;
|
|
1448
|
+
transactionHash_not_contains?: string | null;
|
|
1449
|
+
}
|
|
1450
|
+
export type NativePassport_orderBy = "id" | "user" | "status" | "reason" | "documentType" | "updatedAt" | "blockNumber" | "transactionHash";
|
|
1377
1451
|
//# sourceMappingURL=types.d.ts.map
|