wabe 0.5.23 → 0.6.1

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/generated/wabe.ts CHANGED
@@ -1,1793 +1,318 @@
1
- export type Scalars = {
2
- ID: { input: string; output: string; };
3
- String: { input: string; output: string; };
4
- Boolean: { input: boolean; output: boolean; };
5
- Int: { input: number; output: number; };
6
- Float: { input: number; output: number; };
7
- Email: { input: string; output: string; };
8
- Phone: { input: string; output: string; };
9
- Date: { input: Date; output: string; };
10
- Search: { input: any; output: any; };
11
- Any: { input: any; output: any; };
12
- File: { input: any; output: any; };
13
- };
14
-
15
-
16
1
  export enum RoleEnum {
17
- Admin = "Admin",
18
- Client = "Client",
2
+ Admin = "Admin",
3
+ Client = "Client"
19
4
  }
20
5
 
21
6
  export enum AuthenticationProvider {
22
- google = "google",
23
- emailPassword = "emailPassword",
7
+ github = "github",
8
+ google = "google",
9
+ emailPassword = "emailPassword",
10
+ phonePassword = "phonePassword"
24
11
  }
25
12
 
26
13
  export enum SecondaryFactor {
27
- EmailOTP = "EmailOTP",
14
+ EmailOTP = "emailOTP"
28
15
  }
29
16
 
30
- export type User = {
31
- id: Scalars['ID']['output'];
32
- name?: Scalars['String']['output'];
33
- age?: Scalars['Int']['output'];
34
- acl?: UserACLObject;
35
- createdAt?: Scalars['Date']['output'];
36
- updatedAt?: Scalars['Date']['output'];
37
- search?: Scalars['String']['output'][];
38
- authentication?: UserAuthentication;
39
- provider?: AuthenticationProvider;
40
- isOauth?: Scalars['Boolean']['output'];
41
- email?: Scalars['Email']['output'];
42
- verifiedEmail?: Scalars['Boolean']['output'];
43
- role?: Role;
44
- sessions?: _SessionConnection;
45
- };
46
-
47
- export type UserACLObject = {
48
- users?: UserACLObjectUsersACL[];
49
- roles?: UserACLObjectRolesACL[];
50
- };
51
-
52
- export type UserACLObjectUsersACL = {
53
- userId: Scalars['String']['output'];
54
- read: Scalars['Boolean']['output'];
55
- write: Scalars['Boolean']['output'];
56
- };
57
-
58
- export type UserACLObjectRolesACL = {
59
- roleId: Scalars['String']['output'];
60
- read: Scalars['Boolean']['output'];
61
- write: Scalars['Boolean']['output'];
62
- };
63
-
64
- export type UserAuthentication = {
65
- emailPassword?: UserAuthenticationEmailPassword;
66
- google?: UserAuthenticationGoogle;
67
- };
68
-
69
- export type UserAuthenticationEmailPassword = {
70
- email: Scalars['Email']['output'];
71
- password: Scalars['String']['output'];
72
- };
73
-
74
- export type UserAuthenticationGoogle = {
75
- email: Scalars['Email']['output'];
76
- verifiedEmail: Scalars['Boolean']['output'];
77
- idToken: Scalars['String']['output'];
78
- };
79
-
80
- export type _SessionConnection = {
81
- totalCount?: Scalars['Int']['output'];
82
- edges?: _SessionEdge[];
83
- };
84
-
85
- export type _SessionEdge = {
86
- node: _Session;
87
- };
88
-
89
- export type UserInput = {
90
- name?: Scalars['String']['input'];
91
- age?: Scalars['Int']['input'];
92
- acl?: UserACLObjectInput;
93
- createdAt?: Scalars['Date']['input'];
94
- updatedAt?: Scalars['Date']['input'];
95
- search?: Scalars['String']['input'][];
96
- authentication?: UserAuthenticationInput;
97
- provider?: AuthenticationProvider;
98
- isOauth?: Scalars['Boolean']['input'];
99
- email?: Scalars['Email']['input'];
100
- verifiedEmail?: Scalars['Boolean']['input'];
101
- role?: RolePointerInput;
102
- sessions?: _SessionRelationInput;
103
- };
104
-
105
- export type UserACLObjectInput = {
106
- users?: UserACLObjectUsersACLInput[];
107
- roles?: UserACLObjectRolesACLInput[];
108
- };
109
-
110
- export type UserACLObjectUsersACLInput = {
111
- userId: Scalars['String']['input'];
112
- read: Scalars['Boolean']['input'];
113
- write: Scalars['Boolean']['input'];
114
- };
115
-
116
- export type UserACLObjectRolesACLInput = {
117
- roleId: Scalars['String']['input'];
118
- read: Scalars['Boolean']['input'];
119
- write: Scalars['Boolean']['input'];
120
- };
121
-
122
- export type UserAuthenticationInput = {
123
- emailPassword?: UserAuthenticationEmailPasswordInput;
124
- google?: UserAuthenticationGoogleInput;
125
- };
126
-
127
- export type UserAuthenticationEmailPasswordInput = {
128
- email: Scalars['Email']['input'];
129
- password: Scalars['String']['input'];
130
- };
131
-
132
- export type UserAuthenticationGoogleInput = {
133
- email: Scalars['Email']['input'];
134
- verifiedEmail: Scalars['Boolean']['input'];
135
- idToken: Scalars['String']['input'];
136
- };
137
-
138
- export type UserPointerInput = {
139
- unlink?: Scalars['Boolean']['input'];
140
- link?: Scalars['ID']['input'];
141
- createAndLink?: UserCreateFieldsInput;
142
- };
17
+ export type ACLObjectUsersACL = {
18
+ userId: string,
19
+ read: boolean,
20
+ write: boolean
21
+ }
143
22
 
144
- export type UserCreateFieldsInput = {
145
- name?: Scalars['String']['input'];
146
- age?: Scalars['Int']['input'];
147
- acl?: UserACLObjectCreateFieldsInput;
148
- createdAt?: Scalars['Date']['input'];
149
- updatedAt?: Scalars['Date']['input'];
150
- search?: Scalars['String']['input'][];
151
- authentication?: UserAuthenticationCreateFieldsInput;
152
- provider?: AuthenticationProvider;
153
- isOauth?: Scalars['Boolean']['input'];
154
- email?: Scalars['Email']['input'];
155
- verifiedEmail?: Scalars['Boolean']['input'];
156
- role?: RolePointerInput;
157
- sessions?: _SessionRelationInput;
158
- };
23
+ export type ACLObject = {
24
+ users?: Array<ACLObjectUsersACL>,
25
+ roles?: Array<ACLObjectRolesACL>
26
+ }
159
27
 
160
- export type UserACLObjectCreateFieldsInput = {
161
- users?: UserACLObjectUsersACLCreateFieldsInput[];
162
- roles?: UserACLObjectRolesACLCreateFieldsInput[];
163
- };
28
+ export type ACLObjectRolesACL = {
29
+ roleId: string,
30
+ read: boolean,
31
+ write: boolean
32
+ }
164
33
 
165
- export type UserACLObjectUsersACLCreateFieldsInput = {
166
- userId?: Scalars['String']['input'];
167
- read?: Scalars['Boolean']['input'];
168
- write?: Scalars['Boolean']['input'];
169
- };
34
+ export type AuthenticationPhonePassword = {
35
+ phone: string,
36
+ password: string
37
+ }
170
38
 
171
- export type UserACLObjectRolesACLCreateFieldsInput = {
172
- roleId?: Scalars['String']['input'];
173
- read?: Scalars['Boolean']['input'];
174
- write?: Scalars['Boolean']['input'];
175
- };
39
+ export type Authentication = {
40
+ phonePassword?: AuthenticationPhonePassword,
41
+ emailPassword?: AuthenticationEmailPassword,
42
+ google?: AuthenticationGoogle,
43
+ github?: AuthenticationGithub
44
+ }
176
45
 
177
- export type UserAuthenticationCreateFieldsInput = {
178
- emailPassword?: UserAuthenticationEmailPasswordCreateFieldsInput;
179
- google?: UserAuthenticationGoogleCreateFieldsInput;
180
- };
46
+ export type AuthenticationEmailPassword = {
47
+ email: string,
48
+ password: string
49
+ }
181
50
 
182
- export type UserAuthenticationEmailPasswordCreateFieldsInput = {
183
- email?: Scalars['Email']['input'];
184
- password?: Scalars['String']['input'];
185
- };
51
+ export type AuthenticationGoogle = {
52
+ email: string,
53
+ verifiedEmail: boolean
54
+ }
186
55
 
187
- export type UserAuthenticationGoogleCreateFieldsInput = {
188
- email?: Scalars['Email']['input'];
189
- verifiedEmail?: Scalars['Boolean']['input'];
190
- idToken?: Scalars['String']['input'];
191
- };
56
+ export type AuthenticationGithub = {
57
+ email: string,
58
+ avatarUrl: string,
59
+ username: string
60
+ }
192
61
 
193
- export type UserRelationInput = {
194
- add?: Scalars['ID']['input'][];
195
- remove?: Scalars['ID']['input'][];
196
- createAndAdd?: UserCreateFieldsInput[];
197
- };
62
+ export type User = {
63
+ id: string,
64
+ name?: string,
65
+ age?: number,
66
+ email?: string,
67
+ acl?: ACLObject,
68
+ createdAt?: Date,
69
+ updatedAt?: Date,
70
+ search?: Array<string>,
71
+ authentication?: Authentication,
72
+ provider?: AuthenticationProvider,
73
+ isOauth?: boolean,
74
+ verifiedEmail?: boolean,
75
+ role?: Role,
76
+ sessions?: Array<string>
77
+ }
198
78
 
199
79
  export type Post = {
200
- id: Scalars['ID']['output'];
201
- name: Scalars['String']['output'];
202
- test?: Scalars['File']['output'];
203
- test2?: RoleEnum;
204
- acl?: PostACLObject;
205
- createdAt?: Scalars['Date']['output'];
206
- updatedAt?: Scalars['Date']['output'];
207
- search?: Scalars['String']['output'][];
208
- };
209
-
210
- export type PostACLObject = {
211
- users?: PostACLObjectUsersACL[];
212
- roles?: PostACLObjectRolesACL[];
213
- };
214
-
215
- export type PostACLObjectUsersACL = {
216
- userId: Scalars['String']['output'];
217
- read: Scalars['Boolean']['output'];
218
- write: Scalars['Boolean']['output'];
219
- };
220
-
221
- export type PostACLObjectRolesACL = {
222
- roleId: Scalars['String']['output'];
223
- read: Scalars['Boolean']['output'];
224
- write: Scalars['Boolean']['output'];
225
- };
226
-
227
- export type PostInput = {
228
- name: Scalars['String']['input'];
229
- test?: Scalars['File']['input'];
230
- test2?: RoleEnum;
231
- acl?: PostACLObjectInput;
232
- createdAt?: Scalars['Date']['input'];
233
- updatedAt?: Scalars['Date']['input'];
234
- search?: Scalars['String']['input'][];
235
- };
236
-
237
- export type PostACLObjectInput = {
238
- users?: PostACLObjectUsersACLInput[];
239
- roles?: PostACLObjectRolesACLInput[];
240
- };
241
-
242
- export type PostACLObjectUsersACLInput = {
243
- userId: Scalars['String']['input'];
244
- read: Scalars['Boolean']['input'];
245
- write: Scalars['Boolean']['input'];
246
- };
247
-
248
- export type PostACLObjectRolesACLInput = {
249
- roleId: Scalars['String']['input'];
250
- read: Scalars['Boolean']['input'];
251
- write: Scalars['Boolean']['input'];
252
- };
253
-
254
- export type PostPointerInput = {
255
- unlink?: Scalars['Boolean']['input'];
256
- link?: Scalars['ID']['input'];
257
- createAndLink?: PostCreateFieldsInput;
258
- };
259
-
260
- export type PostCreateFieldsInput = {
261
- name?: Scalars['String']['input'];
262
- test?: Scalars['File']['input'];
263
- test2?: RoleEnum;
264
- acl?: PostACLObjectCreateFieldsInput;
265
- createdAt?: Scalars['Date']['input'];
266
- updatedAt?: Scalars['Date']['input'];
267
- search?: Scalars['String']['input'][];
268
- };
269
-
270
- export type PostACLObjectCreateFieldsInput = {
271
- users?: PostACLObjectUsersACLCreateFieldsInput[];
272
- roles?: PostACLObjectRolesACLCreateFieldsInput[];
273
- };
274
-
275
- export type PostACLObjectUsersACLCreateFieldsInput = {
276
- userId?: Scalars['String']['input'];
277
- read?: Scalars['Boolean']['input'];
278
- write?: Scalars['Boolean']['input'];
279
- };
280
-
281
- export type PostACLObjectRolesACLCreateFieldsInput = {
282
- roleId?: Scalars['String']['input'];
283
- read?: Scalars['Boolean']['input'];
284
- write?: Scalars['Boolean']['input'];
285
- };
286
-
287
- export type PostRelationInput = {
288
- add?: Scalars['ID']['input'][];
289
- remove?: Scalars['ID']['input'][];
290
- createAndAdd?: PostCreateFieldsInput[];
291
- };
80
+ id: string,
81
+ name: string,
82
+ test2?: RoleEnum,
83
+ acl?: ACLObject,
84
+ createdAt?: Date,
85
+ updatedAt?: Date,
86
+ search?: Array<string>
87
+ }
292
88
 
293
89
  export type _Session = {
294
- id: Scalars['ID']['output'];
295
- user?: User;
296
- accessToken: Scalars['String']['output'];
297
- accessTokenExpiresAt: Scalars['Date']['output'];
298
- refreshToken?: Scalars['String']['output'];
299
- refreshTokenExpiresAt: Scalars['Date']['output'];
300
- acl?: _SessionACLObject;
301
- createdAt?: Scalars['Date']['output'];
302
- updatedAt?: Scalars['Date']['output'];
303
- search?: Scalars['String']['output'][];
304
- };
305
-
306
- export type _SessionACLObject = {
307
- users?: _SessionACLObjectUsersACL[];
308
- roles?: _SessionACLObjectRolesACL[];
309
- };
310
-
311
- export type _SessionACLObjectUsersACL = {
312
- userId: Scalars['String']['output'];
313
- read: Scalars['Boolean']['output'];
314
- write: Scalars['Boolean']['output'];
315
- };
316
-
317
- export type _SessionACLObjectRolesACL = {
318
- roleId: Scalars['String']['output'];
319
- read: Scalars['Boolean']['output'];
320
- write: Scalars['Boolean']['output'];
321
- };
322
-
323
- export type _SessionInput = {
324
- user?: UserPointerInput;
325
- accessToken: Scalars['String']['input'];
326
- accessTokenExpiresAt: Scalars['Date']['input'];
327
- refreshToken?: Scalars['String']['input'];
328
- refreshTokenExpiresAt: Scalars['Date']['input'];
329
- acl?: _SessionACLObjectInput;
330
- createdAt?: Scalars['Date']['input'];
331
- updatedAt?: Scalars['Date']['input'];
332
- search?: Scalars['String']['input'][];
333
- };
334
-
335
- export type _SessionACLObjectInput = {
336
- users?: _SessionACLObjectUsersACLInput[];
337
- roles?: _SessionACLObjectRolesACLInput[];
338
- };
339
-
340
- export type _SessionACLObjectUsersACLInput = {
341
- userId: Scalars['String']['input'];
342
- read: Scalars['Boolean']['input'];
343
- write: Scalars['Boolean']['input'];
344
- };
345
-
346
- export type _SessionACLObjectRolesACLInput = {
347
- roleId: Scalars['String']['input'];
348
- read: Scalars['Boolean']['input'];
349
- write: Scalars['Boolean']['input'];
350
- };
351
-
352
- export type _SessionPointerInput = {
353
- unlink?: Scalars['Boolean']['input'];
354
- link?: Scalars['ID']['input'];
355
- createAndLink?: _SessionCreateFieldsInput;
356
- };
357
-
358
- export type _SessionCreateFieldsInput = {
359
- user?: UserPointerInput;
360
- accessToken?: Scalars['String']['input'];
361
- accessTokenExpiresAt?: Scalars['Date']['input'];
362
- refreshToken?: Scalars['String']['input'];
363
- refreshTokenExpiresAt?: Scalars['Date']['input'];
364
- acl?: _SessionACLObjectCreateFieldsInput;
365
- createdAt?: Scalars['Date']['input'];
366
- updatedAt?: Scalars['Date']['input'];
367
- search?: Scalars['String']['input'][];
368
- };
369
-
370
- export type _SessionACLObjectCreateFieldsInput = {
371
- users?: _SessionACLObjectUsersACLCreateFieldsInput[];
372
- roles?: _SessionACLObjectRolesACLCreateFieldsInput[];
373
- };
374
-
375
- export type _SessionACLObjectUsersACLCreateFieldsInput = {
376
- userId?: Scalars['String']['input'];
377
- read?: Scalars['Boolean']['input'];
378
- write?: Scalars['Boolean']['input'];
379
- };
380
-
381
- export type _SessionACLObjectRolesACLCreateFieldsInput = {
382
- roleId?: Scalars['String']['input'];
383
- read?: Scalars['Boolean']['input'];
384
- write?: Scalars['Boolean']['input'];
385
- };
386
-
387
- export type _SessionRelationInput = {
388
- add?: Scalars['ID']['input'][];
389
- remove?: Scalars['ID']['input'][];
390
- createAndAdd?: _SessionCreateFieldsInput[];
391
- };
90
+ id: string,
91
+ user: User,
92
+ accessToken: string,
93
+ accessTokenExpiresAt: Date,
94
+ refreshToken?: string,
95
+ refreshTokenExpiresAt: Date,
96
+ acl?: ACLObject,
97
+ createdAt?: Date,
98
+ updatedAt?: Date,
99
+ search?: Array<string>
100
+ }
392
101
 
393
102
  export type Role = {
394
- id: Scalars['ID']['output'];
395
- name: Scalars['String']['output'];
396
- users?: UserConnection;
397
- acl?: RoleACLObject;
398
- createdAt?: Scalars['Date']['output'];
399
- updatedAt?: Scalars['Date']['output'];
400
- search?: Scalars['String']['output'][];
401
- };
402
-
403
- export type UserConnection = {
404
- totalCount?: Scalars['Int']['output'];
405
- edges?: UserEdge[];
406
- };
407
-
408
- export type UserEdge = {
409
- node: User;
410
- };
411
-
412
- export type RoleACLObject = {
413
- users?: RoleACLObjectUsersACL[];
414
- roles?: RoleACLObjectRolesACL[];
415
- };
416
-
417
- export type RoleACLObjectUsersACL = {
418
- userId: Scalars['String']['output'];
419
- read: Scalars['Boolean']['output'];
420
- write: Scalars['Boolean']['output'];
421
- };
422
-
423
- export type RoleACLObjectRolesACL = {
424
- roleId: Scalars['String']['output'];
425
- read: Scalars['Boolean']['output'];
426
- write: Scalars['Boolean']['output'];
427
- };
428
-
429
- export type RoleInput = {
430
- name: Scalars['String']['input'];
431
- users?: UserRelationInput;
432
- acl?: RoleACLObjectInput;
433
- createdAt?: Scalars['Date']['input'];
434
- updatedAt?: Scalars['Date']['input'];
435
- search?: Scalars['String']['input'][];
436
- };
437
-
438
- export type RoleACLObjectInput = {
439
- users?: RoleACLObjectUsersACLInput[];
440
- roles?: RoleACLObjectRolesACLInput[];
441
- };
442
-
443
- export type RoleACLObjectUsersACLInput = {
444
- userId: Scalars['String']['input'];
445
- read: Scalars['Boolean']['input'];
446
- write: Scalars['Boolean']['input'];
447
- };
448
-
449
- export type RoleACLObjectRolesACLInput = {
450
- roleId: Scalars['String']['input'];
451
- read: Scalars['Boolean']['input'];
452
- write: Scalars['Boolean']['input'];
453
- };
454
-
455
- export type RolePointerInput = {
456
- unlink?: Scalars['Boolean']['input'];
457
- link?: Scalars['ID']['input'];
458
- createAndLink?: RoleCreateFieldsInput;
459
- };
460
-
461
- export type RoleCreateFieldsInput = {
462
- name?: Scalars['String']['input'];
463
- users?: UserRelationInput;
464
- acl?: RoleACLObjectCreateFieldsInput;
465
- createdAt?: Scalars['Date']['input'];
466
- updatedAt?: Scalars['Date']['input'];
467
- search?: Scalars['String']['input'][];
468
- };
469
-
470
- export type RoleACLObjectCreateFieldsInput = {
471
- users?: RoleACLObjectUsersACLCreateFieldsInput[];
472
- roles?: RoleACLObjectRolesACLCreateFieldsInput[];
473
- };
474
-
475
- export type RoleACLObjectUsersACLCreateFieldsInput = {
476
- userId?: Scalars['String']['input'];
477
- read?: Scalars['Boolean']['input'];
478
- write?: Scalars['Boolean']['input'];
479
- };
480
-
481
- export type RoleACLObjectRolesACLCreateFieldsInput = {
482
- roleId?: Scalars['String']['input'];
483
- read?: Scalars['Boolean']['input'];
484
- write?: Scalars['Boolean']['input'];
485
- };
486
-
487
- export type RoleRelationInput = {
488
- add?: Scalars['ID']['input'][];
489
- remove?: Scalars['ID']['input'][];
490
- createAndAdd?: RoleCreateFieldsInput[];
491
- };
103
+ id: string,
104
+ name: string,
105
+ users?: Array<string>,
106
+ acl?: ACLObject,
107
+ createdAt?: Date,
108
+ updatedAt?: Date,
109
+ search?: Array<string>
110
+ }
492
111
 
493
112
  export type _InternalConfig = {
494
- id: Scalars['ID']['output'];
495
- configKey: Scalars['String']['output'];
496
- configValue: Scalars['String']['output'];
497
- description?: Scalars['String']['output'];
498
- acl?: _InternalConfigACLObject;
499
- createdAt?: Scalars['Date']['output'];
500
- updatedAt?: Scalars['Date']['output'];
501
- search?: Scalars['String']['output'][];
502
- };
503
-
504
- export type _InternalConfigACLObject = {
505
- users?: _InternalConfigACLObjectUsersACL[];
506
- roles?: _InternalConfigACLObjectRolesACL[];
507
- };
508
-
509
- export type _InternalConfigACLObjectUsersACL = {
510
- userId: Scalars['String']['output'];
511
- read: Scalars['Boolean']['output'];
512
- write: Scalars['Boolean']['output'];
513
- };
514
-
515
- export type _InternalConfigACLObjectRolesACL = {
516
- roleId: Scalars['String']['output'];
517
- read: Scalars['Boolean']['output'];
518
- write: Scalars['Boolean']['output'];
519
- };
520
-
521
- export type _InternalConfigInput = {
522
- configKey: Scalars['String']['input'];
523
- configValue: Scalars['String']['input'];
524
- description?: Scalars['String']['input'];
525
- acl?: _InternalConfigACLObjectInput;
526
- createdAt?: Scalars['Date']['input'];
527
- updatedAt?: Scalars['Date']['input'];
528
- search?: Scalars['String']['input'][];
529
- };
530
-
531
- export type _InternalConfigACLObjectInput = {
532
- users?: _InternalConfigACLObjectUsersACLInput[];
533
- roles?: _InternalConfigACLObjectRolesACLInput[];
534
- };
535
-
536
- export type _InternalConfigACLObjectUsersACLInput = {
537
- userId: Scalars['String']['input'];
538
- read: Scalars['Boolean']['input'];
539
- write: Scalars['Boolean']['input'];
540
- };
541
-
542
- export type _InternalConfigACLObjectRolesACLInput = {
543
- roleId: Scalars['String']['input'];
544
- read: Scalars['Boolean']['input'];
545
- write: Scalars['Boolean']['input'];
546
- };
547
-
548
- export type _InternalConfigPointerInput = {
549
- unlink?: Scalars['Boolean']['input'];
550
- link?: Scalars['ID']['input'];
551
- createAndLink?: _InternalConfigCreateFieldsInput;
552
- };
553
-
554
- export type _InternalConfigCreateFieldsInput = {
555
- configKey?: Scalars['String']['input'];
556
- configValue?: Scalars['String']['input'];
557
- description?: Scalars['String']['input'];
558
- acl?: _InternalConfigACLObjectCreateFieldsInput;
559
- createdAt?: Scalars['Date']['input'];
560
- updatedAt?: Scalars['Date']['input'];
561
- search?: Scalars['String']['input'][];
562
- };
563
-
564
- export type _InternalConfigACLObjectCreateFieldsInput = {
565
- users?: _InternalConfigACLObjectUsersACLCreateFieldsInput[];
566
- roles?: _InternalConfigACLObjectRolesACLCreateFieldsInput[];
567
- };
568
-
569
- export type _InternalConfigACLObjectUsersACLCreateFieldsInput = {
570
- userId?: Scalars['String']['input'];
571
- read?: Scalars['Boolean']['input'];
572
- write?: Scalars['Boolean']['input'];
573
- };
574
-
575
- export type _InternalConfigACLObjectRolesACLCreateFieldsInput = {
576
- roleId?: Scalars['String']['input'];
577
- read?: Scalars['Boolean']['input'];
578
- write?: Scalars['Boolean']['input'];
579
- };
580
-
581
- export type _InternalConfigRelationInput = {
582
- add?: Scalars['ID']['input'][];
583
- remove?: Scalars['ID']['input'][];
584
- createAndAdd?: _InternalConfigCreateFieldsInput[];
585
- };
586
-
587
- export type Query = {
588
- user?: User;
589
- users: UserConnection;
590
- post?: Post;
591
- posts: PostConnection;
592
- _session?: _Session;
593
- _sessions: _SessionConnection;
594
- role?: Role;
595
- roles: RoleConnection;
596
- _internalConfig?: _InternalConfig;
597
- _internalConfigs: _InternalConfigConnection;
598
- helloWorld?: Scalars['String']['output'];
599
- me?: MeOutput;
600
- };
601
-
602
- export type QueryUserArgs = {
603
- id?: Scalars['ID']['input'];
604
- };
605
-
606
- export type QueryUsersArgs = {
607
- where?: UserWhereInput;
608
- offset?: Scalars['Int']['input'];
609
- first?: Scalars['Int']['input'];
610
- order?: UserOrder[];
611
- };
612
-
613
- export type QueryPostArgs = {
614
- id?: Scalars['ID']['input'];
615
- };
616
-
617
- export type QueryPostsArgs = {
618
- where?: PostWhereInput;
619
- offset?: Scalars['Int']['input'];
620
- first?: Scalars['Int']['input'];
621
- order?: PostOrder[];
622
- };
623
-
624
- export type Query_sessionArgs = {
625
- id?: Scalars['ID']['input'];
626
- };
627
-
628
- export type Query_sessionsArgs = {
629
- where?: _SessionWhereInput;
630
- offset?: Scalars['Int']['input'];
631
- first?: Scalars['Int']['input'];
632
- order?: _SessionOrder[];
633
- };
634
-
635
- export type QueryRoleArgs = {
636
- id?: Scalars['ID']['input'];
637
- };
638
-
639
- export type QueryRolesArgs = {
640
- where?: RoleWhereInput;
641
- offset?: Scalars['Int']['input'];
642
- first?: Scalars['Int']['input'];
643
- order?: RoleOrder[];
644
- };
645
-
646
- export type Query_internalConfigArgs = {
647
- id?: Scalars['ID']['input'];
648
- };
649
-
650
- export type Query_internalConfigsArgs = {
651
- where?: _InternalConfigWhereInput;
652
- offset?: Scalars['Int']['input'];
653
- first?: Scalars['Int']['input'];
654
- order?: _InternalConfigOrder[];
655
- };
656
-
657
- export type QueryHelloWorldArgs = {
658
- name: Scalars['String']['input'];
659
- };
660
-
661
- export type UserWhereInput = {
662
- id?: IdWhereInput;
663
- name?: StringWhereInput;
664
- age?: IntWhereInput;
665
- acl?: UserACLObjectWhereInput;
666
- createdAt?: DateWhereInput;
667
- updatedAt?: DateWhereInput;
668
- search?: SearchWhereInput;
669
- authentication?: UserAuthenticationWhereInput;
670
- provider?: AnyWhereInput;
671
- isOauth?: BooleanWhereInput;
672
- email?: EmailWhereInput;
673
- verifiedEmail?: BooleanWhereInput;
674
- role?: RoleWhereInput;
675
- sessions?: _SessionWhereInput;
676
- OR?: UserWhereInput[];
677
- AND?: UserWhereInput[];
678
- };
679
-
680
- export type IdWhereInput = {
681
- equalTo?: Scalars['ID']['input'];
682
- notEqualTo?: Scalars['ID']['input'];
683
- in?: Scalars['ID']['input'][];
684
- notIn?: Scalars['ID']['input'][];
685
- };
686
-
687
- export type StringWhereInput = {
688
- equalTo?: Scalars['String']['input'];
689
- notEqualTo?: Scalars['String']['input'];
690
- in?: Scalars['String']['input'][];
691
- notIn?: Scalars['String']['input'][];
692
- };
693
-
694
- export type IntWhereInput = {
695
- equalTo?: Scalars['Int']['input'];
696
- notEqualTo?: Scalars['Int']['input'];
697
- lessThan?: Scalars['Int']['input'];
698
- lessThanOrEqualTo?: Scalars['Int']['input'];
699
- greaterThan?: Scalars['Int']['input'];
700
- greaterThanOrEqualTo?: Scalars['Int']['input'];
701
- in?: Scalars['Int']['input'][];
702
- notIn?: Scalars['Int']['input'][];
703
- };
704
-
705
- export type UserACLObjectWhereInput = {
706
- users?: UserACLObjectUsersACLWhereInput[];
707
- roles?: UserACLObjectRolesACLWhereInput[];
708
- OR?: UserACLObjectWhereInput[];
709
- AND?: UserACLObjectWhereInput[];
710
- };
711
-
712
- export type UserACLObjectUsersACLWhereInput = {
713
- userId?: StringWhereInput;
714
- read?: BooleanWhereInput;
715
- write?: BooleanWhereInput;
716
- OR?: UserACLObjectUsersACLWhereInput[];
717
- AND?: UserACLObjectUsersACLWhereInput[];
718
- };
719
-
720
- export type BooleanWhereInput = {
721
- equalTo?: Scalars['Boolean']['input'];
722
- notEqualTo?: Scalars['Boolean']['input'];
723
- in?: Scalars['Boolean']['input'][];
724
- notIn?: Scalars['Boolean']['input'][];
725
- };
726
-
727
- export type UserACLObjectRolesACLWhereInput = {
728
- roleId?: StringWhereInput;
729
- read?: BooleanWhereInput;
730
- write?: BooleanWhereInput;
731
- OR?: UserACLObjectRolesACLWhereInput[];
732
- AND?: UserACLObjectRolesACLWhereInput[];
733
- };
734
-
735
- export type DateWhereInput = {
736
- equalTo?: Scalars['Date']['input'];
737
- notEqualTo?: Scalars['Date']['input'];
738
- in?: Scalars['Date']['input'][];
739
- notIn?: Scalars['Date']['input'][];
740
- lessThan?: Scalars['Date']['input'];
741
- lessThanOrEqualTo?: Scalars['Date']['input'];
742
- greaterThan?: Scalars['Date']['input'];
743
- greaterThanOrEqualTo?: Scalars['Date']['input'];
744
- };
745
-
746
- export type SearchWhereInput = {
747
- contains?: Scalars['Search']['input'];
748
- };
749
-
750
- export type UserAuthenticationWhereInput = {
751
- emailPassword?: UserAuthenticationEmailPasswordWhereInput;
752
- google?: UserAuthenticationGoogleWhereInput;
753
- OR?: UserAuthenticationWhereInput[];
754
- AND?: UserAuthenticationWhereInput[];
755
- };
756
-
757
- export type UserAuthenticationEmailPasswordWhereInput = {
758
- email?: EmailWhereInput;
759
- password?: StringWhereInput;
760
- OR?: UserAuthenticationEmailPasswordWhereInput[];
761
- AND?: UserAuthenticationEmailPasswordWhereInput[];
762
- };
763
-
764
- export type EmailWhereInput = {
765
- equalTo?: Scalars['Email']['input'];
766
- notEqualTo?: Scalars['Email']['input'];
767
- in?: Scalars['Email']['input'][];
768
- notIn?: Scalars['Email']['input'][];
769
- };
770
-
771
- export type UserAuthenticationGoogleWhereInput = {
772
- email?: EmailWhereInput;
773
- verifiedEmail?: BooleanWhereInput;
774
- idToken?: StringWhereInput;
775
- OR?: UserAuthenticationGoogleWhereInput[];
776
- AND?: UserAuthenticationGoogleWhereInput[];
777
- };
778
-
779
- export type AnyWhereInput = {
780
- equalTo?: Scalars['Any']['input'];
781
- notEqualTo?: Scalars['Any']['input'];
782
- };
783
-
784
- export type RoleWhereInput = {
785
- id?: IdWhereInput;
786
- name?: StringWhereInput;
787
- users?: UserWhereInput;
788
- acl?: RoleACLObjectWhereInput;
789
- createdAt?: DateWhereInput;
790
- updatedAt?: DateWhereInput;
791
- search?: SearchWhereInput;
792
- OR?: RoleWhereInput[];
793
- AND?: RoleWhereInput[];
794
- };
795
-
796
- export type RoleACLObjectWhereInput = {
797
- users?: RoleACLObjectUsersACLWhereInput[];
798
- roles?: RoleACLObjectRolesACLWhereInput[];
799
- OR?: RoleACLObjectWhereInput[];
800
- AND?: RoleACLObjectWhereInput[];
801
- };
802
-
803
- export type RoleACLObjectUsersACLWhereInput = {
804
- userId?: StringWhereInput;
805
- read?: BooleanWhereInput;
806
- write?: BooleanWhereInput;
807
- OR?: RoleACLObjectUsersACLWhereInput[];
808
- AND?: RoleACLObjectUsersACLWhereInput[];
809
- };
810
-
811
- export type RoleACLObjectRolesACLWhereInput = {
812
- roleId?: StringWhereInput;
813
- read?: BooleanWhereInput;
814
- write?: BooleanWhereInput;
815
- OR?: RoleACLObjectRolesACLWhereInput[];
816
- AND?: RoleACLObjectRolesACLWhereInput[];
817
- };
818
-
819
- export type _SessionWhereInput = {
820
- id?: IdWhereInput;
821
- user?: UserWhereInput;
822
- accessToken?: StringWhereInput;
823
- accessTokenExpiresAt?: DateWhereInput;
824
- refreshToken?: StringWhereInput;
825
- refreshTokenExpiresAt?: DateWhereInput;
826
- acl?: _SessionACLObjectWhereInput;
827
- createdAt?: DateWhereInput;
828
- updatedAt?: DateWhereInput;
829
- search?: SearchWhereInput;
830
- OR?: _SessionWhereInput[];
831
- AND?: _SessionWhereInput[];
832
- };
833
-
834
- export type _SessionACLObjectWhereInput = {
835
- users?: _SessionACLObjectUsersACLWhereInput[];
836
- roles?: _SessionACLObjectRolesACLWhereInput[];
837
- OR?: _SessionACLObjectWhereInput[];
838
- AND?: _SessionACLObjectWhereInput[];
839
- };
840
-
841
- export type _SessionACLObjectUsersACLWhereInput = {
842
- userId?: StringWhereInput;
843
- read?: BooleanWhereInput;
844
- write?: BooleanWhereInput;
845
- OR?: _SessionACLObjectUsersACLWhereInput[];
846
- AND?: _SessionACLObjectUsersACLWhereInput[];
847
- };
848
-
849
- export type _SessionACLObjectRolesACLWhereInput = {
850
- roleId?: StringWhereInput;
851
- read?: BooleanWhereInput;
852
- write?: BooleanWhereInput;
853
- OR?: _SessionACLObjectRolesACLWhereInput[];
854
- AND?: _SessionACLObjectRolesACLWhereInput[];
855
- };
856
-
857
- export enum UserOrder {
858
- name_ASC = "name_ASC",
859
- name_DESC = "name_DESC",
860
- age_ASC = "age_ASC",
861
- age_DESC = "age_DESC",
862
- acl_ASC = "acl_ASC",
863
- acl_DESC = "acl_DESC",
864
- createdAt_ASC = "createdAt_ASC",
865
- createdAt_DESC = "createdAt_DESC",
866
- updatedAt_ASC = "updatedAt_ASC",
867
- updatedAt_DESC = "updatedAt_DESC",
868
- search_ASC = "search_ASC",
869
- search_DESC = "search_DESC",
870
- authentication_ASC = "authentication_ASC",
871
- authentication_DESC = "authentication_DESC",
872
- provider_ASC = "provider_ASC",
873
- provider_DESC = "provider_DESC",
874
- isOauth_ASC = "isOauth_ASC",
875
- isOauth_DESC = "isOauth_DESC",
876
- email_ASC = "email_ASC",
877
- email_DESC = "email_DESC",
878
- verifiedEmail_ASC = "verifiedEmail_ASC",
879
- verifiedEmail_DESC = "verifiedEmail_DESC",
880
- role_ASC = "role_ASC",
881
- role_DESC = "role_DESC",
882
- sessions_ASC = "sessions_ASC",
883
- sessions_DESC = "sessions_DESC",
113
+ id: string,
114
+ configKey: string,
115
+ configValue: string,
116
+ description?: string,
117
+ acl?: ACLObject,
118
+ createdAt?: Date,
119
+ updatedAt?: Date,
120
+ search?: Array<string>
884
121
  }
885
122
 
886
- export type PostConnection = {
887
- totalCount?: Scalars['Int']['output'];
888
- edges?: PostEdge[];
889
- };
890
-
891
- export type PostEdge = {
892
- node: Post;
893
- };
894
-
895
- export type PostWhereInput = {
896
- id?: IdWhereInput;
897
- name?: StringWhereInput;
898
- test?: FileWhereInput;
899
- test2?: AnyWhereInput;
900
- acl?: PostACLObjectWhereInput;
901
- createdAt?: DateWhereInput;
902
- updatedAt?: DateWhereInput;
903
- search?: SearchWhereInput;
904
- OR?: PostWhereInput[];
905
- AND?: PostWhereInput[];
906
- };
907
-
908
- export type FileWhereInput = {
909
- equalTo?: Scalars['File']['input'];
910
- notEqualTo?: Scalars['File']['input'];
911
- in?: Scalars['File']['input'][];
912
- notInt?: Scalars['File']['input'][];
913
- };
914
-
915
- export type PostACLObjectWhereInput = {
916
- users?: PostACLObjectUsersACLWhereInput[];
917
- roles?: PostACLObjectRolesACLWhereInput[];
918
- OR?: PostACLObjectWhereInput[];
919
- AND?: PostACLObjectWhereInput[];
920
- };
921
-
922
- export type PostACLObjectUsersACLWhereInput = {
923
- userId?: StringWhereInput;
924
- read?: BooleanWhereInput;
925
- write?: BooleanWhereInput;
926
- OR?: PostACLObjectUsersACLWhereInput[];
927
- AND?: PostACLObjectUsersACLWhereInput[];
928
- };
929
-
930
- export type PostACLObjectRolesACLWhereInput = {
931
- roleId?: StringWhereInput;
932
- read?: BooleanWhereInput;
933
- write?: BooleanWhereInput;
934
- OR?: PostACLObjectRolesACLWhereInput[];
935
- AND?: PostACLObjectRolesACLWhereInput[];
936
- };
937
-
938
- export enum PostOrder {
939
- name_ASC = "name_ASC",
940
- name_DESC = "name_DESC",
941
- test_ASC = "test_ASC",
942
- test_DESC = "test_DESC",
943
- test2_ASC = "test2_ASC",
944
- test2_DESC = "test2_DESC",
945
- acl_ASC = "acl_ASC",
946
- acl_DESC = "acl_DESC",
947
- createdAt_ASC = "createdAt_ASC",
948
- createdAt_DESC = "createdAt_DESC",
949
- updatedAt_ASC = "updatedAt_ASC",
950
- updatedAt_DESC = "updatedAt_DESC",
951
- search_ASC = "search_ASC",
952
- search_DESC = "search_DESC",
123
+ export type CreateMutationInput = {
124
+ name: number
953
125
  }
954
126
 
955
- export enum _SessionOrder {
956
- user_ASC = "user_ASC",
957
- user_DESC = "user_DESC",
958
- accessToken_ASC = "accessToken_ASC",
959
- accessToken_DESC = "accessToken_DESC",
960
- accessTokenExpiresAt_ASC = "accessTokenExpiresAt_ASC",
961
- accessTokenExpiresAt_DESC = "accessTokenExpiresAt_DESC",
962
- refreshToken_ASC = "refreshToken_ASC",
963
- refreshToken_DESC = "refreshToken_DESC",
964
- refreshTokenExpiresAt_ASC = "refreshTokenExpiresAt_ASC",
965
- refreshTokenExpiresAt_DESC = "refreshTokenExpiresAt_DESC",
966
- acl_ASC = "acl_ASC",
967
- acl_DESC = "acl_DESC",
968
- createdAt_ASC = "createdAt_ASC",
969
- createdAt_DESC = "createdAt_DESC",
970
- updatedAt_ASC = "updatedAt_ASC",
971
- updatedAt_DESC = "updatedAt_DESC",
972
- search_ASC = "search_ASC",
973
- search_DESC = "search_DESC",
127
+ export type MutationCreateMutationArgs = {
128
+ input: CreateMutationInput
974
129
  }
975
130
 
976
- export type RoleConnection = {
977
- totalCount?: Scalars['Int']['output'];
978
- edges?: RoleEdge[];
979
- };
980
-
981
- export type RoleEdge = {
982
- node: Role;
983
- };
984
-
985
- export enum RoleOrder {
986
- name_ASC = "name_ASC",
987
- name_DESC = "name_DESC",
988
- users_ASC = "users_ASC",
989
- users_DESC = "users_DESC",
990
- acl_ASC = "acl_ASC",
991
- acl_DESC = "acl_DESC",
992
- createdAt_ASC = "createdAt_ASC",
993
- createdAt_DESC = "createdAt_DESC",
994
- updatedAt_ASC = "updatedAt_ASC",
995
- updatedAt_DESC = "updatedAt_DESC",
996
- search_ASC = "search_ASC",
997
- search_DESC = "search_DESC",
131
+ export type CustomMutationInput = {
132
+ a: number,
133
+ b: number
998
134
  }
999
135
 
1000
- export type _InternalConfigConnection = {
1001
- totalCount?: Scalars['Int']['output'];
1002
- edges?: _InternalConfigEdge[];
1003
- };
1004
-
1005
- export type _InternalConfigEdge = {
1006
- node: _InternalConfig;
1007
- };
1008
-
1009
- export type _InternalConfigWhereInput = {
1010
- id?: IdWhereInput;
1011
- configKey?: StringWhereInput;
1012
- configValue?: StringWhereInput;
1013
- description?: StringWhereInput;
1014
- acl?: _InternalConfigACLObjectWhereInput;
1015
- createdAt?: DateWhereInput;
1016
- updatedAt?: DateWhereInput;
1017
- search?: SearchWhereInput;
1018
- OR?: _InternalConfigWhereInput[];
1019
- AND?: _InternalConfigWhereInput[];
1020
- };
1021
-
1022
- export type _InternalConfigACLObjectWhereInput = {
1023
- users?: _InternalConfigACLObjectUsersACLWhereInput[];
1024
- roles?: _InternalConfigACLObjectRolesACLWhereInput[];
1025
- OR?: _InternalConfigACLObjectWhereInput[];
1026
- AND?: _InternalConfigACLObjectWhereInput[];
1027
- };
1028
-
1029
- export type _InternalConfigACLObjectUsersACLWhereInput = {
1030
- userId?: StringWhereInput;
1031
- read?: BooleanWhereInput;
1032
- write?: BooleanWhereInput;
1033
- OR?: _InternalConfigACLObjectUsersACLWhereInput[];
1034
- AND?: _InternalConfigACLObjectUsersACLWhereInput[];
1035
- };
1036
-
1037
- export type _InternalConfigACLObjectRolesACLWhereInput = {
1038
- roleId?: StringWhereInput;
1039
- read?: BooleanWhereInput;
1040
- write?: BooleanWhereInput;
1041
- OR?: _InternalConfigACLObjectRolesACLWhereInput[];
1042
- AND?: _InternalConfigACLObjectRolesACLWhereInput[];
1043
- };
1044
-
1045
- export enum _InternalConfigOrder {
1046
- configKey_ASC = "configKey_ASC",
1047
- configKey_DESC = "configKey_DESC",
1048
- configValue_ASC = "configValue_ASC",
1049
- configValue_DESC = "configValue_DESC",
1050
- description_ASC = "description_ASC",
1051
- description_DESC = "description_DESC",
1052
- acl_ASC = "acl_ASC",
1053
- acl_DESC = "acl_DESC",
1054
- createdAt_ASC = "createdAt_ASC",
1055
- createdAt_DESC = "createdAt_DESC",
1056
- updatedAt_ASC = "updatedAt_ASC",
1057
- updatedAt_DESC = "updatedAt_DESC",
1058
- search_ASC = "search_ASC",
1059
- search_DESC = "search_DESC",
136
+ export type MutationCustomMutationArgs = {
137
+ input: CustomMutationInput
1060
138
  }
1061
139
 
1062
- export type MeOutput = {
1063
- user?: User;
1064
- };
1065
-
1066
- export type Mutation = {
1067
- createUser?: CreateUserPayload;
1068
- createUsers: UserConnection;
1069
- updateUser?: UpdateUserPayload;
1070
- updateUsers: UserConnection;
1071
- deleteUser?: DeleteUserPayload;
1072
- deleteUsers: UserConnection;
1073
- createPost?: CreatePostPayload;
1074
- createPosts: PostConnection;
1075
- updatePost?: UpdatePostPayload;
1076
- updatePosts: PostConnection;
1077
- deletePost?: DeletePostPayload;
1078
- deletePosts: PostConnection;
1079
- create_Session?: Create_SessionPayload;
1080
- create_Sessions: _SessionConnection;
1081
- update_Session?: Update_SessionPayload;
1082
- update_Sessions: _SessionConnection;
1083
- delete_Session?: Delete_SessionPayload;
1084
- delete_Sessions: _SessionConnection;
1085
- createRole?: CreateRolePayload;
1086
- createRoles: RoleConnection;
1087
- updateRole?: UpdateRolePayload;
1088
- updateRoles: RoleConnection;
1089
- deleteRole?: DeleteRolePayload;
1090
- deleteRoles: RoleConnection;
1091
- create_InternalConfig?: Create_InternalConfigPayload;
1092
- create_InternalConfigs: _InternalConfigConnection;
1093
- update_InternalConfig?: Update_InternalConfigPayload;
1094
- update_InternalConfigs: _InternalConfigConnection;
1095
- delete_InternalConfig?: Delete_InternalConfigPayload;
1096
- delete_InternalConfigs: _InternalConfigConnection;
1097
- createMutation: Scalars['Boolean']['output'];
1098
- customMutation?: Scalars['Int']['output'];
1099
- secondCustomMutation?: Scalars['Int']['output'];
1100
- resetPassword?: Scalars['Boolean']['output'];
1101
- sendOtpCode?: Scalars['Boolean']['output'];
1102
- sendEmail?: Scalars['String']['output'];
1103
- signInWith?: SignInWithOutput;
1104
- signUpWith?: SignUpWithOutput;
1105
- signOut?: Scalars['Boolean']['output'];
1106
- refresh?: RefreshSessionOutput;
1107
- verifyChallenge?: Scalars['Boolean']['output'];
1108
- };
1109
-
1110
- export type MutationCreateUserArgs = {
1111
- input: CreateUserInput;
1112
- };
1113
-
1114
- export type MutationCreateUsersArgs = {
1115
- input: CreateUsersInput;
1116
- };
1117
-
1118
- export type MutationUpdateUserArgs = {
1119
- input: UpdateUserInput;
1120
- };
1121
-
1122
- export type MutationUpdateUsersArgs = {
1123
- input: UpdateUsersInput;
1124
- };
1125
-
1126
- export type MutationDeleteUserArgs = {
1127
- input: DeleteUserInput;
1128
- };
1129
-
1130
- export type MutationDeleteUsersArgs = {
1131
- input: DeleteUsersInput;
1132
- };
1133
-
1134
- export type MutationCreatePostArgs = {
1135
- input: CreatePostInput;
1136
- };
1137
-
1138
- export type MutationCreatePostsArgs = {
1139
- input: CreatePostsInput;
1140
- };
1141
-
1142
- export type MutationUpdatePostArgs = {
1143
- input: UpdatePostInput;
1144
- };
1145
-
1146
- export type MutationUpdatePostsArgs = {
1147
- input: UpdatePostsInput;
1148
- };
1149
-
1150
- export type MutationDeletePostArgs = {
1151
- input: DeletePostInput;
1152
- };
1153
-
1154
- export type MutationDeletePostsArgs = {
1155
- input: DeletePostsInput;
1156
- };
1157
-
1158
- export type MutationCreate_SessionArgs = {
1159
- input: Create_SessionInput;
1160
- };
1161
-
1162
- export type MutationCreate_SessionsArgs = {
1163
- input: Create_SessionsInput;
1164
- };
1165
-
1166
- export type MutationUpdate_SessionArgs = {
1167
- input: Update_SessionInput;
1168
- };
1169
-
1170
- export type MutationUpdate_SessionsArgs = {
1171
- input: Update_SessionsInput;
1172
- };
1173
-
1174
- export type MutationDelete_SessionArgs = {
1175
- input: Delete_SessionInput;
1176
- };
1177
-
1178
- export type MutationDelete_SessionsArgs = {
1179
- input: Delete_SessionsInput;
1180
- };
1181
-
1182
- export type MutationCreateRoleArgs = {
1183
- input: CreateRoleInput;
1184
- };
1185
-
1186
- export type MutationCreateRolesArgs = {
1187
- input: CreateRolesInput;
1188
- };
1189
-
1190
- export type MutationUpdateRoleArgs = {
1191
- input: UpdateRoleInput;
1192
- };
1193
-
1194
- export type MutationUpdateRolesArgs = {
1195
- input: UpdateRolesInput;
1196
- };
1197
-
1198
- export type MutationDeleteRoleArgs = {
1199
- input: DeleteRoleInput;
1200
- };
1201
-
1202
- export type MutationDeleteRolesArgs = {
1203
- input: DeleteRolesInput;
1204
- };
1205
-
1206
- export type MutationCreate_InternalConfigArgs = {
1207
- input: Create_InternalConfigInput;
1208
- };
1209
-
1210
- export type MutationCreate_InternalConfigsArgs = {
1211
- input: Create_InternalConfigsInput;
1212
- };
1213
-
1214
- export type MutationUpdate_InternalConfigArgs = {
1215
- input: Update_InternalConfigInput;
1216
- };
1217
-
1218
- export type MutationUpdate_InternalConfigsArgs = {
1219
- input: Update_InternalConfigsInput;
1220
- };
1221
-
1222
- export type MutationDelete_InternalConfigArgs = {
1223
- input: Delete_InternalConfigInput;
1224
- };
1225
-
1226
- export type MutationDelete_InternalConfigsArgs = {
1227
- input: Delete_InternalConfigsInput;
1228
- };
1229
-
1230
- export type MutationCreateMutationArgs = {
1231
- input: CreateMutationInput;
1232
- };
1233
-
1234
- export type MutationCustomMutationArgs = {
1235
- input: CustomMutationInput;
1236
- };
140
+ export type SecondCustomMutationInput = {
141
+ sum?: SecondCustomMutationSum
142
+ }
1237
143
 
1238
144
  export type MutationSecondCustomMutationArgs = {
1239
- input: SecondCustomMutationInput;
1240
- };
1241
-
1242
- export type MutationResetPasswordArgs = {
1243
- input: ResetPasswordInput;
1244
- };
1245
-
1246
- export type MutationSendOtpCodeArgs = {
1247
- input: SendOtpCodeInput;
1248
- };
1249
-
1250
- export type MutationSendEmailArgs = {
1251
- input: SendEmailInput;
1252
- };
1253
-
1254
- export type MutationSignInWithArgs = {
1255
- input: SignInWithInput;
1256
- };
1257
-
1258
- export type MutationSignUpWithArgs = {
1259
- input: SignUpWithInput;
1260
- };
1261
-
1262
- export type MutationRefreshArgs = {
1263
- input: RefreshInput;
1264
- };
1265
-
1266
- export type MutationVerifyChallengeArgs = {
1267
- input: VerifyChallengeInput;
1268
- };
1269
-
1270
- export type CreateUserPayload = {
1271
- user?: User;
1272
- ok?: Scalars['Boolean']['output'];
1273
- };
1274
-
1275
- export type CreateUserInput = {
1276
- fields?: UserCreateFieldsInput;
1277
- };
1278
-
1279
- export type CreateUsersInput = {
1280
- fields: UserCreateFieldsInput[];
1281
- offset?: Scalars['Int']['input'];
1282
- first?: Scalars['Int']['input'];
1283
- order?: UserOrder[];
1284
- };
1285
-
1286
- export type UpdateUserPayload = {
1287
- user?: User;
1288
- ok?: Scalars['Boolean']['output'];
1289
- };
1290
-
1291
- export type UpdateUserInput = {
1292
- id?: Scalars['ID']['input'];
1293
- fields?: UserUpdateFieldsInput;
1294
- };
1295
-
1296
- export type UserUpdateFieldsInput = {
1297
- name?: Scalars['String']['input'];
1298
- age?: Scalars['Int']['input'];
1299
- acl?: UserACLObjectUpdateFieldsInput;
1300
- createdAt?: Scalars['Date']['input'];
1301
- updatedAt?: Scalars['Date']['input'];
1302
- search?: Scalars['String']['input'][];
1303
- authentication?: UserAuthenticationUpdateFieldsInput;
1304
- provider?: AuthenticationProvider;
1305
- isOauth?: Scalars['Boolean']['input'];
1306
- email?: Scalars['Email']['input'];
1307
- verifiedEmail?: Scalars['Boolean']['input'];
1308
- role?: RolePointerInput;
1309
- sessions?: _SessionRelationInput;
1310
- };
1311
-
1312
- export type UserACLObjectUpdateFieldsInput = {
1313
- users?: UserACLObjectUsersACLUpdateFieldsInput[];
1314
- roles?: UserACLObjectRolesACLUpdateFieldsInput[];
1315
- };
1316
-
1317
- export type UserACLObjectUsersACLUpdateFieldsInput = {
1318
- userId?: Scalars['String']['input'];
1319
- read?: Scalars['Boolean']['input'];
1320
- write?: Scalars['Boolean']['input'];
1321
- };
1322
-
1323
- export type UserACLObjectRolesACLUpdateFieldsInput = {
1324
- roleId?: Scalars['String']['input'];
1325
- read?: Scalars['Boolean']['input'];
1326
- write?: Scalars['Boolean']['input'];
1327
- };
1328
-
1329
- export type UserAuthenticationUpdateFieldsInput = {
1330
- emailPassword?: UserAuthenticationEmailPasswordUpdateFieldsInput;
1331
- google?: UserAuthenticationGoogleUpdateFieldsInput;
1332
- };
1333
-
1334
- export type UserAuthenticationEmailPasswordUpdateFieldsInput = {
1335
- email?: Scalars['Email']['input'];
1336
- password?: Scalars['String']['input'];
1337
- };
1338
-
1339
- export type UserAuthenticationGoogleUpdateFieldsInput = {
1340
- email?: Scalars['Email']['input'];
1341
- verifiedEmail?: Scalars['Boolean']['input'];
1342
- idToken?: Scalars['String']['input'];
1343
- };
1344
-
1345
- export type UpdateUsersInput = {
1346
- fields?: UserUpdateFieldsInput;
1347
- where?: UserWhereInput;
1348
- offset?: Scalars['Int']['input'];
1349
- first?: Scalars['Int']['input'];
1350
- order?: UserOrder[];
1351
- };
1352
-
1353
- export type DeleteUserPayload = {
1354
- user?: User;
1355
- ok?: Scalars['Boolean']['output'];
1356
- };
1357
-
1358
- export type DeleteUserInput = {
1359
- id?: Scalars['ID']['input'];
1360
- };
1361
-
1362
- export type DeleteUsersInput = {
1363
- where?: UserWhereInput;
1364
- order?: UserOrder[];
1365
- };
1366
-
1367
- export type CreatePostPayload = {
1368
- post?: Post;
1369
- ok?: Scalars['Boolean']['output'];
1370
- };
1371
-
1372
- export type CreatePostInput = {
1373
- fields?: PostCreateFieldsInput;
1374
- };
1375
-
1376
- export type CreatePostsInput = {
1377
- fields: PostCreateFieldsInput[];
1378
- offset?: Scalars['Int']['input'];
1379
- first?: Scalars['Int']['input'];
1380
- order?: PostOrder[];
1381
- };
1382
-
1383
- export type UpdatePostPayload = {
1384
- post?: Post;
1385
- ok?: Scalars['Boolean']['output'];
1386
- };
1387
-
1388
- export type UpdatePostInput = {
1389
- id?: Scalars['ID']['input'];
1390
- fields?: PostUpdateFieldsInput;
1391
- };
1392
-
1393
- export type PostUpdateFieldsInput = {
1394
- name?: Scalars['String']['input'];
1395
- test?: Scalars['File']['input'];
1396
- test2?: RoleEnum;
1397
- acl?: PostACLObjectUpdateFieldsInput;
1398
- createdAt?: Scalars['Date']['input'];
1399
- updatedAt?: Scalars['Date']['input'];
1400
- search?: Scalars['String']['input'][];
1401
- };
1402
-
1403
- export type PostACLObjectUpdateFieldsInput = {
1404
- users?: PostACLObjectUsersACLUpdateFieldsInput[];
1405
- roles?: PostACLObjectRolesACLUpdateFieldsInput[];
1406
- };
1407
-
1408
- export type PostACLObjectUsersACLUpdateFieldsInput = {
1409
- userId?: Scalars['String']['input'];
1410
- read?: Scalars['Boolean']['input'];
1411
- write?: Scalars['Boolean']['input'];
1412
- };
1413
-
1414
- export type PostACLObjectRolesACLUpdateFieldsInput = {
1415
- roleId?: Scalars['String']['input'];
1416
- read?: Scalars['Boolean']['input'];
1417
- write?: Scalars['Boolean']['input'];
1418
- };
1419
-
1420
- export type UpdatePostsInput = {
1421
- fields?: PostUpdateFieldsInput;
1422
- where?: PostWhereInput;
1423
- offset?: Scalars['Int']['input'];
1424
- first?: Scalars['Int']['input'];
1425
- order?: PostOrder[];
1426
- };
1427
-
1428
- export type DeletePostPayload = {
1429
- post?: Post;
1430
- ok?: Scalars['Boolean']['output'];
1431
- };
1432
-
1433
- export type DeletePostInput = {
1434
- id?: Scalars['ID']['input'];
1435
- };
1436
-
1437
- export type DeletePostsInput = {
1438
- where?: PostWhereInput;
1439
- order?: PostOrder[];
1440
- };
1441
-
1442
- export type Create_SessionPayload = {
1443
- _session?: _Session;
1444
- ok?: Scalars['Boolean']['output'];
1445
- };
1446
-
1447
- export type Create_SessionInput = {
1448
- fields?: _SessionCreateFieldsInput;
1449
- };
1450
-
1451
- export type Create_SessionsInput = {
1452
- fields: _SessionCreateFieldsInput[];
1453
- offset?: Scalars['Int']['input'];
1454
- first?: Scalars['Int']['input'];
1455
- order?: _SessionOrder[];
1456
- };
1457
-
1458
- export type Update_SessionPayload = {
1459
- _session?: _Session;
1460
- ok?: Scalars['Boolean']['output'];
1461
- };
1462
-
1463
- export type Update_SessionInput = {
1464
- id?: Scalars['ID']['input'];
1465
- fields?: _SessionUpdateFieldsInput;
1466
- };
1467
-
1468
- export type _SessionUpdateFieldsInput = {
1469
- user?: UserPointerInput;
1470
- accessToken?: Scalars['String']['input'];
1471
- accessTokenExpiresAt?: Scalars['Date']['input'];
1472
- refreshToken?: Scalars['String']['input'];
1473
- refreshTokenExpiresAt?: Scalars['Date']['input'];
1474
- acl?: _SessionACLObjectUpdateFieldsInput;
1475
- createdAt?: Scalars['Date']['input'];
1476
- updatedAt?: Scalars['Date']['input'];
1477
- search?: Scalars['String']['input'][];
1478
- };
1479
-
1480
- export type _SessionACLObjectUpdateFieldsInput = {
1481
- users?: _SessionACLObjectUsersACLUpdateFieldsInput[];
1482
- roles?: _SessionACLObjectRolesACLUpdateFieldsInput[];
1483
- };
1484
-
1485
- export type _SessionACLObjectUsersACLUpdateFieldsInput = {
1486
- userId?: Scalars['String']['input'];
1487
- read?: Scalars['Boolean']['input'];
1488
- write?: Scalars['Boolean']['input'];
1489
- };
1490
-
1491
- export type _SessionACLObjectRolesACLUpdateFieldsInput = {
1492
- roleId?: Scalars['String']['input'];
1493
- read?: Scalars['Boolean']['input'];
1494
- write?: Scalars['Boolean']['input'];
1495
- };
1496
-
1497
- export type Update_SessionsInput = {
1498
- fields?: _SessionUpdateFieldsInput;
1499
- where?: _SessionWhereInput;
1500
- offset?: Scalars['Int']['input'];
1501
- first?: Scalars['Int']['input'];
1502
- order?: _SessionOrder[];
1503
- };
1504
-
1505
- export type Delete_SessionPayload = {
1506
- _session?: _Session;
1507
- ok?: Scalars['Boolean']['output'];
1508
- };
1509
-
1510
- export type Delete_SessionInput = {
1511
- id?: Scalars['ID']['input'];
1512
- };
1513
-
1514
- export type Delete_SessionsInput = {
1515
- where?: _SessionWhereInput;
1516
- order?: _SessionOrder[];
1517
- };
1518
-
1519
- export type CreateRolePayload = {
1520
- role?: Role;
1521
- ok?: Scalars['Boolean']['output'];
1522
- };
1523
-
1524
- export type CreateRoleInput = {
1525
- fields?: RoleCreateFieldsInput;
1526
- };
1527
-
1528
- export type CreateRolesInput = {
1529
- fields: RoleCreateFieldsInput[];
1530
- offset?: Scalars['Int']['input'];
1531
- first?: Scalars['Int']['input'];
1532
- order?: RoleOrder[];
1533
- };
1534
-
1535
- export type UpdateRolePayload = {
1536
- role?: Role;
1537
- ok?: Scalars['Boolean']['output'];
1538
- };
1539
-
1540
- export type UpdateRoleInput = {
1541
- id?: Scalars['ID']['input'];
1542
- fields?: RoleUpdateFieldsInput;
1543
- };
1544
-
1545
- export type RoleUpdateFieldsInput = {
1546
- name?: Scalars['String']['input'];
1547
- users?: UserRelationInput;
1548
- acl?: RoleACLObjectUpdateFieldsInput;
1549
- createdAt?: Scalars['Date']['input'];
1550
- updatedAt?: Scalars['Date']['input'];
1551
- search?: Scalars['String']['input'][];
1552
- };
1553
-
1554
- export type RoleACLObjectUpdateFieldsInput = {
1555
- users?: RoleACLObjectUsersACLUpdateFieldsInput[];
1556
- roles?: RoleACLObjectRolesACLUpdateFieldsInput[];
1557
- };
1558
-
1559
- export type RoleACLObjectUsersACLUpdateFieldsInput = {
1560
- userId?: Scalars['String']['input'];
1561
- read?: Scalars['Boolean']['input'];
1562
- write?: Scalars['Boolean']['input'];
1563
- };
1564
-
1565
- export type RoleACLObjectRolesACLUpdateFieldsInput = {
1566
- roleId?: Scalars['String']['input'];
1567
- read?: Scalars['Boolean']['input'];
1568
- write?: Scalars['Boolean']['input'];
1569
- };
1570
-
1571
- export type UpdateRolesInput = {
1572
- fields?: RoleUpdateFieldsInput;
1573
- where?: RoleWhereInput;
1574
- offset?: Scalars['Int']['input'];
1575
- first?: Scalars['Int']['input'];
1576
- order?: RoleOrder[];
1577
- };
1578
-
1579
- export type DeleteRolePayload = {
1580
- role?: Role;
1581
- ok?: Scalars['Boolean']['output'];
1582
- };
1583
-
1584
- export type DeleteRoleInput = {
1585
- id?: Scalars['ID']['input'];
1586
- };
1587
-
1588
- export type DeleteRolesInput = {
1589
- where?: RoleWhereInput;
1590
- order?: RoleOrder[];
1591
- };
1592
-
1593
- export type Create_InternalConfigPayload = {
1594
- _internalConfig?: _InternalConfig;
1595
- ok?: Scalars['Boolean']['output'];
1596
- };
145
+ input: SecondCustomMutationInput
146
+ }
1597
147
 
1598
- export type Create_InternalConfigInput = {
1599
- fields?: _InternalConfigCreateFieldsInput;
1600
- };
148
+ export type SecondCustomMutationSum = {
149
+ a: number,
150
+ b: number
151
+ }
1601
152
 
1602
- export type Create_InternalConfigsInput = {
1603
- fields: _InternalConfigCreateFieldsInput[];
1604
- offset?: Scalars['Int']['input'];
1605
- first?: Scalars['Int']['input'];
1606
- order?: _InternalConfigOrder[];
1607
- };
153
+ export type ResetPasswordInput = {
154
+ password: string,
155
+ email: string,
156
+ otp: string,
157
+ provider: AuthenticationProvider
158
+ }
1608
159
 
1609
- export type Update_InternalConfigPayload = {
1610
- _internalConfig?: _InternalConfig;
1611
- ok?: Scalars['Boolean']['output'];
1612
- };
160
+ export type MutationResetPasswordArgs = {
161
+ input: ResetPasswordInput
162
+ }
1613
163
 
1614
- export type Update_InternalConfigInput = {
1615
- id?: Scalars['ID']['input'];
1616
- fields?: _InternalConfigUpdateFieldsInput;
1617
- };
164
+ export type SendOtpCodeInput = {
165
+ email: string
166
+ }
1618
167
 
1619
- export type _InternalConfigUpdateFieldsInput = {
1620
- configKey?: Scalars['String']['input'];
1621
- configValue?: Scalars['String']['input'];
1622
- description?: Scalars['String']['input'];
1623
- acl?: _InternalConfigACLObjectUpdateFieldsInput;
1624
- createdAt?: Scalars['Date']['input'];
1625
- updatedAt?: Scalars['Date']['input'];
1626
- search?: Scalars['String']['input'][];
1627
- };
168
+ export type MutationSendOtpCodeArgs = {
169
+ input: SendOtpCodeInput
170
+ }
1628
171
 
1629
- export type _InternalConfigACLObjectUpdateFieldsInput = {
1630
- users?: _InternalConfigACLObjectUsersACLUpdateFieldsInput[];
1631
- roles?: _InternalConfigACLObjectRolesACLUpdateFieldsInput[];
1632
- };
172
+ export type SendEmailInput = {
173
+ from: string,
174
+ to: Array<string>,
175
+ subject: string,
176
+ text?: string,
177
+ html?: string
178
+ }
1633
179
 
1634
- export type _InternalConfigACLObjectUsersACLUpdateFieldsInput = {
1635
- userId?: Scalars['String']['input'];
1636
- read?: Scalars['Boolean']['input'];
1637
- write?: Scalars['Boolean']['input'];
1638
- };
180
+ export type MutationSendEmailArgs = {
181
+ input: SendEmailInput
182
+ }
1639
183
 
1640
- export type _InternalConfigACLObjectRolesACLUpdateFieldsInput = {
1641
- roleId?: Scalars['String']['input'];
1642
- read?: Scalars['Boolean']['input'];
1643
- write?: Scalars['Boolean']['input'];
1644
- };
184
+ export type SignInWithInput = {
185
+ authentication: SignInWithAuthentication
186
+ }
1645
187
 
1646
- export type Update_InternalConfigsInput = {
1647
- fields?: _InternalConfigUpdateFieldsInput;
1648
- where?: _InternalConfigWhereInput;
1649
- offset?: Scalars['Int']['input'];
1650
- first?: Scalars['Int']['input'];
1651
- order?: _InternalConfigOrder[];
1652
- };
188
+ export type MutationSignInWithArgs = {
189
+ input: SignInWithInput
190
+ }
1653
191
 
1654
- export type Delete_InternalConfigPayload = {
1655
- _internalConfig?: _InternalConfig;
1656
- ok?: Scalars['Boolean']['output'];
1657
- };
192
+ export type SignInWithAuthenticationPhonePassword = {
193
+ phone: string,
194
+ password: string
195
+ }
1658
196
 
1659
- export type Delete_InternalConfigInput = {
1660
- id?: Scalars['ID']['input'];
1661
- };
197
+ export type SignInWithAuthentication = {
198
+ phonePassword?: SignInWithAuthenticationPhonePassword,
199
+ emailPassword?: SignInWithAuthenticationEmailPassword,
200
+ google?: SignInWithAuthenticationGoogle,
201
+ github?: SignInWithAuthenticationGithub,
202
+ otp?: SignInWithAuthenticationOtp,
203
+ secondaryFactor?: SecondaryFactor
204
+ }
1662
205
 
1663
- export type Delete_InternalConfigsInput = {
1664
- where?: _InternalConfigWhereInput;
1665
- order?: _InternalConfigOrder[];
1666
- };
206
+ export type SignInWithAuthenticationEmailPassword = {
207
+ email: string,
208
+ password: string
209
+ }
1667
210
 
1668
- export type CreateMutationInput = {
1669
- name: Scalars['Int']['input'];
1670
- };
211
+ export type SignInWithAuthenticationGoogle = {
212
+ authorizationCode: string,
213
+ codeVerifier: string
214
+ }
1671
215
 
1672
- export type CustomMutationInput = {
1673
- a: Scalars['Int']['input'];
1674
- b: Scalars['Int']['input'];
1675
- };
216
+ export type SignInWithAuthenticationGithub = {
217
+ authorizationCode: string,
218
+ codeVerifier: string
219
+ }
1676
220
 
1677
- export type SecondCustomMutationInput = {
1678
- sum?: SecondCustomMutationSumInput;
1679
- };
221
+ export type SignInWithAuthenticationOtp = {
222
+ code?: string
223
+ }
1680
224
 
1681
- export type SecondCustomMutationSumInput = {
1682
- a: Scalars['Int']['input'];
1683
- b: Scalars['Int']['input'];
1684
- };
225
+ export type SignUpWithInput = {
226
+ authentication: SignUpWithAuthentication
227
+ }
1685
228
 
1686
- export type ResetPasswordInput = {
1687
- password: Scalars['String']['input'];
1688
- email: Scalars['Email']['input'];
1689
- otp: Scalars['String']['input'];
1690
- provider: AuthenticationProvider;
1691
- };
229
+ export type MutationSignUpWithArgs = {
230
+ input: SignUpWithInput
231
+ }
1692
232
 
1693
- export type SendOtpCodeInput = {
1694
- email: Scalars['Email']['input'];
1695
- };
233
+ export type SignUpWithAuthenticationPhonePassword = {
234
+ phone: string,
235
+ password: string
236
+ }
1696
237
 
1697
- export type SendEmailInput = {
1698
- from: Scalars['String']['input'];
1699
- to: Scalars['String']['input'][];
1700
- subject: Scalars['String']['input'];
1701
- text?: Scalars['String']['input'];
1702
- html?: Scalars['String']['input'];
1703
- };
238
+ export type SignUpWithAuthentication = {
239
+ phonePassword?: SignUpWithAuthenticationPhonePassword,
240
+ emailPassword?: SignUpWithAuthenticationEmailPassword,
241
+ google?: SignUpWithAuthenticationGoogle,
242
+ github?: SignUpWithAuthenticationGithub,
243
+ otp?: SignUpWithAuthenticationOtp,
244
+ secondaryFactor?: SecondaryFactor
245
+ }
1704
246
 
1705
- export type SignInWithOutput = {
1706
- id?: Scalars['String']['output'];
1707
- accessToken?: Scalars['String']['output'];
1708
- refreshToken?: Scalars['String']['output'];
1709
- };
247
+ export type SignUpWithAuthenticationEmailPassword = {
248
+ email: string,
249
+ password: string
250
+ }
1710
251
 
1711
- export type SignInWithInput = {
1712
- authentication: SignInWithAuthenticationInput;
1713
- };
252
+ export type SignUpWithAuthenticationGoogle = {
253
+ authorizationCode: string,
254
+ codeVerifier: string
255
+ }
1714
256
 
1715
- export type SignInWithAuthenticationInput = {
1716
- emailPassword?: SignInWithAuthenticationEmailPasswordInput;
1717
- google?: SignInWithAuthenticationGoogleInput;
1718
- otp?: SignInWithAuthenticationOtpInput;
1719
- secondaryFactor?: SecondaryFactor;
1720
- };
257
+ export type SignUpWithAuthenticationGithub = {
258
+ authorizationCode: string,
259
+ codeVerifier: string
260
+ }
1721
261
 
1722
- export type SignInWithAuthenticationEmailPasswordInput = {
1723
- email: Scalars['Email']['input'];
1724
- password: Scalars['String']['input'];
1725
- };
262
+ export type SignUpWithAuthenticationOtp = {
263
+ code?: string
264
+ }
1726
265
 
1727
- export type SignInWithAuthenticationGoogleInput = {
1728
- authorizationCode: Scalars['String']['input'];
1729
- codeVerifier: Scalars['String']['input'];
1730
- };
266
+ export type SignOutInput = {
1731
267
 
1732
- export type SignInWithAuthenticationOtpInput = {
1733
- code?: Scalars['String']['input'];
1734
- };
268
+ }
1735
269
 
1736
- export type SignUpWithOutput = {
1737
- id?: Scalars['String']['output'];
1738
- accessToken: Scalars['String']['output'];
1739
- refreshToken: Scalars['String']['output'];
1740
- };
270
+ export type MutationSignOutArgs = {
271
+ input: SignOutInput
272
+ }
1741
273
 
1742
- export type SignUpWithInput = {
1743
- authentication: SignUpWithAuthenticationInput;
1744
- };
274
+ export type RefreshInput = {
275
+ accessToken: string,
276
+ refreshToken: string
277
+ }
1745
278
 
1746
- export type SignUpWithAuthenticationInput = {
1747
- emailPassword?: SignUpWithAuthenticationEmailPasswordInput;
1748
- google?: SignUpWithAuthenticationGoogleInput;
1749
- otp?: SignUpWithAuthenticationOtpInput;
1750
- secondaryFactor?: SecondaryFactor;
1751
- };
279
+ export type MutationRefreshArgs = {
280
+ input: RefreshInput
281
+ }
1752
282
 
1753
- export type SignUpWithAuthenticationEmailPasswordInput = {
1754
- email: Scalars['Email']['input'];
1755
- password: Scalars['String']['input'];
1756
- };
283
+ export type VerifyChallengeInput = {
284
+ factor?: VerifyChallengeFactor
285
+ }
1757
286
 
1758
- export type SignUpWithAuthenticationGoogleInput = {
1759
- authorizationCode: Scalars['String']['input'];
1760
- codeVerifier: Scalars['String']['input'];
1761
- };
287
+ export type MutationVerifyChallengeArgs = {
288
+ input: VerifyChallengeInput
289
+ }
1762
290
 
1763
- export type SignUpWithAuthenticationOtpInput = {
1764
- code?: Scalars['String']['input'];
1765
- };
291
+ export type VerifyChallengeFactorOtp = {
292
+ code?: string
293
+ }
1766
294
 
1767
- export type RefreshSessionOutput = {
1768
- accessToken: Scalars['String']['output'];
1769
- refreshToken: Scalars['String']['output'];
1770
- };
295
+ export type VerifyChallengeFactor = {
296
+ otp?: VerifyChallengeFactorOtp
297
+ }
1771
298
 
1772
- export type RefreshInput = {
1773
- accessToken: Scalars['String']['input'];
1774
- refreshToken: Scalars['String']['input'];
1775
- };
299
+ export type HelloWorldInput = {
300
+ name: string
301
+ }
1776
302
 
1777
- export type VerifyChallengeInput = {
1778
- factor?: VerifyChallengeFactorInput;
1779
- };
303
+ export type QueryHelloWorldArgs = {
304
+ input: HelloWorldInput
305
+ }
1780
306
 
1781
- export type VerifyChallengeFactorInput = {
1782
- otp?: VerifyChallengeFactorOtpInput;
1783
- };
307
+ export type MeInput = {
1784
308
 
1785
- export type VerifyChallengeFactorOtpInput = {
1786
- code?: Scalars['String']['input'];
1787
- };
309
+ }
1788
310
 
311
+ export type QueryMeArgs = {
312
+ input: MeInput
313
+ }
1789
314
 
1790
- export type WabeSchemaScalars = "Phone"
315
+ export type WabeSchemaScalars = ""
1791
316
 
1792
317
  export type WabeSchemaEnums = {
1793
318
  RoleEnum: RoleEnum,