@flink-app/generic-auth-plugin 0.6.1 → 0.7.0-alpha.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 (60) hide show
  1. package/.flink/generatedHandlers.ts +1 -24
  2. package/.flink/generatedJobs.ts +1 -1
  3. package/.flink/generatedRepos.ts +1 -1
  4. package/.flink/schemas/schemas.json +1 -664
  5. package/.flink/schemas/schemas.ts +1 -4
  6. package/.flink/start.ts +1 -1
  7. package/dist/.flink/generatedHandlers.js +1 -1
  8. package/dist/.flink/generatedJobs.js +1 -1
  9. package/dist/.flink/generatedRepos.js +1 -1
  10. package/dist/.flink/schemas/schemas.d.ts +0 -3
  11. package/dist/.flink/schemas/schemas.json +1 -664
  12. package/dist/.flink/start.js +1 -1
  13. package/dist/src/handlers/Management/DeleteUserByUserid.d.ts +0 -2
  14. package/dist/src/handlers/Management/DeleteUserByUserid.js +0 -3
  15. package/dist/src/handlers/Management/GetSchema.d.ts +0 -2
  16. package/dist/src/handlers/Management/GetSchema.js +0 -3
  17. package/dist/src/handlers/Management/GetUser.d.ts +0 -2
  18. package/dist/src/handlers/Management/GetUser.js +0 -3
  19. package/dist/src/handlers/Management/GetUserByUserid.d.ts +1 -4
  20. package/dist/src/handlers/Management/GetUserByUserid.js +0 -3
  21. package/dist/src/handlers/Management/GetUserViewByUserid.d.ts +0 -2
  22. package/dist/src/handlers/Management/GetUserViewByUserid.js +0 -3
  23. package/dist/src/handlers/Management/PutUserPasswordByUserid.d.ts +0 -2
  24. package/dist/src/handlers/Management/PutUserPasswordByUserid.js +0 -3
  25. package/dist/src/handlers/Management/PutUserProfileByUserid.d.ts +0 -2
  26. package/dist/src/handlers/Management/PutUserProfileByUserid.js +0 -3
  27. package/dist/src/handlers/Management/PutUserProfileByUseridAppend.d.ts +0 -2
  28. package/dist/src/handlers/Management/PutUserProfileByUseridAppend.js +0 -3
  29. package/dist/src/handlers/Management/PutUserRolesByUserid.d.ts +0 -2
  30. package/dist/src/handlers/Management/PutUserRolesByUserid.js +0 -3
  31. package/dist/src/handlers/Management/PutUserUsernameByUserid.d.ts +0 -2
  32. package/dist/src/handlers/Management/PutUserUsernameByUserid.js +0 -3
  33. package/dist/src/handlers/UserCreate.d.ts +0 -2
  34. package/dist/src/handlers/UserCreate.js +0 -3
  35. package/dist/src/handlers/UserLogin.d.ts +0 -2
  36. package/dist/src/handlers/UserLogin.js +0 -3
  37. package/dist/src/handlers/UserLoginByToken.d.ts +0 -2
  38. package/dist/src/handlers/UserLoginByToken.js +0 -3
  39. package/dist/src/handlers/UserPasswordPut.d.ts +0 -2
  40. package/dist/src/handlers/UserPasswordPut.js +0 -3
  41. package/dist/src/handlers/UserPasswordResetComplete.d.ts +0 -2
  42. package/dist/src/handlers/UserPasswordResetComplete.js +0 -3
  43. package/dist/src/handlers/UserPasswordResetForm.d.ts +0 -1
  44. package/dist/src/handlers/UserPasswordResetForm.js +1 -2
  45. package/dist/src/handlers/UserPasswordResetStart.d.ts +0 -2
  46. package/dist/src/handlers/UserPasswordResetStart.js +0 -3
  47. package/dist/src/handlers/UserProfileGet.d.ts +0 -2
  48. package/dist/src/handlers/UserProfileGet.js +0 -3
  49. package/dist/src/handlers/UserProfilePut.d.ts +0 -2
  50. package/dist/src/handlers/UserProfilePut.js +0 -3
  51. package/dist/src/handlers/UserPushRegisterToken.d.ts +0 -2
  52. package/dist/src/handlers/UserPushRegisterToken.js +0 -3
  53. package/dist/src/handlers/UserPushRemoveToken.d.ts +0 -2
  54. package/dist/src/handlers/UserPushRemoveToken.js +0 -3
  55. package/dist/src/handlers/UserToken.d.ts +0 -2
  56. package/dist/src/handlers/UserToken.js +0 -3
  57. package/dist/src/schemas/Management/GetUserByUseridRes.d.ts +1 -2
  58. package/package.json +7 -7
  59. package/src/handlers/Management/GetUserByUserid.ts +1 -1
  60. package/src/schemas/Management/GetUserByUseridRes.ts +1 -1
@@ -1,668 +1,5 @@
1
1
  {
2
2
  "$schema": "http://json-schema.org/draft-07/schema#",
3
3
  "$ref": "#/definitions/Schemas",
4
- "definitions": {
5
- "UserCreate_7_ReqSchema": {
6
- "$schema": "http://json-schema.org/draft-07/schema#",
7
- "type": "object",
8
- "additionalProperties": false,
9
- "properties": {
10
- "username": {
11
- "type": "string"
12
- },
13
- "password": {
14
- "type": "string"
15
- },
16
- "authentificationMethod": {
17
- "type": "string",
18
- "enum": [
19
- "password",
20
- "sms"
21
- ]
22
- },
23
- "profile": {
24
- "type": "object"
25
- }
26
- },
27
- "required": [
28
- "username"
29
- ],
30
- "definitions": {}
31
- },
32
- "UserCreate_7_ResSchema": {
33
- "$schema": "http://json-schema.org/draft-07/schema#",
34
- "type": "object",
35
- "additionalProperties": false,
36
- "properties": {
37
- "status": {
38
- "type": "string",
39
- "enum": [
40
- "success",
41
- "error",
42
- "userExists",
43
- "passwordError"
44
- ]
45
- },
46
- "user": {
47
- "type": "object",
48
- "properties": {
49
- "_id": {
50
- "type": "string"
51
- },
52
- "username": {
53
- "type": "string"
54
- },
55
- "token": {
56
- "type": "string"
57
- }
58
- },
59
- "required": [
60
- "_id",
61
- "username",
62
- "token"
63
- ],
64
- "additionalProperties": false
65
- }
66
- },
67
- "required": [
68
- "status"
69
- ],
70
- "definitions": {}
71
- },
72
- "UserLogin_7_ReqSchema": {
73
- "$schema": "http://json-schema.org/draft-07/schema#",
74
- "type": "object",
75
- "additionalProperties": false,
76
- "properties": {
77
- "username": {
78
- "type": "string"
79
- },
80
- "password": {
81
- "type": "string"
82
- }
83
- },
84
- "required": [
85
- "username"
86
- ],
87
- "definitions": {}
88
- },
89
- "UserLogin_7_ResSchema": {
90
- "$schema": "http://json-schema.org/draft-07/schema#",
91
- "type": "object",
92
- "additionalProperties": false,
93
- "properties": {
94
- "status": {
95
- "type": "string",
96
- "enum": [
97
- "success",
98
- "failed",
99
- "requiresValidation"
100
- ]
101
- },
102
- "user": {
103
- "type": "object",
104
- "properties": {
105
- "_id": {
106
- "type": "string"
107
- },
108
- "username": {
109
- "type": "string"
110
- },
111
- "token": {
112
- "type": "string"
113
- },
114
- "profile": {
115
- "type": "object"
116
- }
117
- },
118
- "required": [
119
- "_id",
120
- "username",
121
- "token",
122
- "profile"
123
- ],
124
- "additionalProperties": false
125
- },
126
- "validationToken": {
127
- "type": "string"
128
- }
129
- },
130
- "required": [
131
- "status"
132
- ],
133
- "definitions": {}
134
- },
135
- "UserLoginByToken_7_ReqSchema": {
136
- "$schema": "http://json-schema.org/draft-07/schema#",
137
- "type": "object",
138
- "additionalProperties": false,
139
- "properties": {
140
- "token": {
141
- "type": "string"
142
- },
143
- "code": {
144
- "type": "string"
145
- }
146
- },
147
- "required": [
148
- "code",
149
- "token"
150
- ],
151
- "definitions": {}
152
- },
153
- "UserLoginByToken_7_ResSchema": {
154
- "$schema": "http://json-schema.org/draft-07/schema#",
155
- "type": "object",
156
- "additionalProperties": false,
157
- "properties": {
158
- "status": {
159
- "type": "string",
160
- "enum": [
161
- "success",
162
- "failed",
163
- "requiresValidation"
164
- ]
165
- },
166
- "user": {
167
- "type": "object",
168
- "properties": {
169
- "_id": {
170
- "type": "string"
171
- },
172
- "username": {
173
- "type": "string"
174
- },
175
- "token": {
176
- "type": "string"
177
- },
178
- "profile": {
179
- "type": "object"
180
- }
181
- },
182
- "required": [
183
- "_id",
184
- "username",
185
- "token",
186
- "profile"
187
- ],
188
- "additionalProperties": false
189
- },
190
- "validationToken": {
191
- "type": "string"
192
- }
193
- },
194
- "required": [
195
- "status"
196
- ],
197
- "definitions": {}
198
- },
199
- "UserPasswordPut_7_ReqSchema": {
200
- "$schema": "http://json-schema.org/draft-07/schema#",
201
- "type": "object",
202
- "additionalProperties": false,
203
- "properties": {
204
- "password": {
205
- "type": "string"
206
- }
207
- },
208
- "required": [
209
- "password"
210
- ],
211
- "definitions": {}
212
- },
213
- "UserPasswordPut_7_ResSchema": {
214
- "$schema": "http://json-schema.org/draft-07/schema#",
215
- "type": "object",
216
- "additionalProperties": false,
217
- "properties": {
218
- "status": {
219
- "type": "string",
220
- "enum": [
221
- "success",
222
- "failed",
223
- "passwordError"
224
- ]
225
- }
226
- },
227
- "required": [
228
- "status"
229
- ],
230
- "definitions": {}
231
- },
232
- "UserPasswordResetComplete_13_ReqSchema": {
233
- "$schema": "http://json-schema.org/draft-07/schema#",
234
- "type": "object",
235
- "additionalProperties": false,
236
- "properties": {
237
- "passwordResetToken": {
238
- "type": "string"
239
- },
240
- "code": {
241
- "type": "string"
242
- },
243
- "password": {
244
- "type": "string"
245
- }
246
- },
247
- "required": [
248
- "code",
249
- "password",
250
- "passwordResetToken"
251
- ],
252
- "definitions": {}
253
- },
254
- "UserPasswordResetComplete_13_ResSchema": {
255
- "$schema": "http://json-schema.org/draft-07/schema#",
256
- "type": "object",
257
- "additionalProperties": false,
258
- "properties": {
259
- "status": {
260
- "type": "string",
261
- "enum": [
262
- "success",
263
- "userNotFound",
264
- "invalidCode",
265
- "passwordError"
266
- ]
267
- }
268
- },
269
- "required": [
270
- "status"
271
- ],
272
- "definitions": {}
273
- },
274
- "UserPasswordResetStart_9_ReqSchema": {
275
- "$schema": "http://json-schema.org/draft-07/schema#",
276
- "type": "object",
277
- "additionalProperties": false,
278
- "properties": {
279
- "username": {
280
- "type": "string"
281
- }
282
- },
283
- "required": [
284
- "username"
285
- ],
286
- "definitions": {}
287
- },
288
- "UserPasswordResetStart_9_ResSchema": {
289
- "$schema": "http://json-schema.org/draft-07/schema#",
290
- "type": "object",
291
- "additionalProperties": false,
292
- "properties": {
293
- "status": {
294
- "type": "string",
295
- "enum": [
296
- "success",
297
- "userNotFound"
298
- ]
299
- },
300
- "passwordResetToken": {
301
- "type": "string"
302
- },
303
- "profile": {
304
- "type": "object"
305
- }
306
- },
307
- "required": [
308
- "status"
309
- ],
310
- "definitions": {}
311
- },
312
- "UserProfileGet_5_ReqSchema": {
313
- "$schema": "http://json-schema.org/draft-07/schema#",
314
- "type": "object",
315
- "properties": {},
316
- "definitions": {}
317
- },
318
- "UserProfilePut_5_ReqSchema": {
319
- "$schema": "http://json-schema.org/draft-07/schema#",
320
- "type": "object",
321
- "properties": {},
322
- "definitions": {}
323
- },
324
- "UserProfilePut_5_ResSchema": {
325
- "$schema": "http://json-schema.org/draft-07/schema#",
326
- "type": "object",
327
- "properties": {},
328
- "definitions": {}
329
- },
330
- "UserPushRegisterToken_7_ReqSchema": {
331
- "$schema": "http://json-schema.org/draft-07/schema#",
332
- "type": "object",
333
- "additionalProperties": false,
334
- "properties": {
335
- "deviceId": {
336
- "type": "string"
337
- },
338
- "token": {
339
- "type": "string"
340
- }
341
- },
342
- "required": [
343
- "deviceId",
344
- "token"
345
- ],
346
- "definitions": {}
347
- },
348
- "UserPushRegisterToken_7_ResSchema": {
349
- "$schema": "http://json-schema.org/draft-07/schema#",
350
- "type": "object",
351
- "additionalProperties": false,
352
- "properties": {
353
- "status": {
354
- "type": "string",
355
- "enum": [
356
- "success",
357
- "failed"
358
- ]
359
- }
360
- },
361
- "required": [
362
- "status"
363
- ],
364
- "definitions": {}
365
- },
366
- "UserPushRemoveToken_7_ReqSchema": {
367
- "$schema": "http://json-schema.org/draft-07/schema#",
368
- "type": "object",
369
- "additionalProperties": false,
370
- "properties": {
371
- "deviceId": {
372
- "type": "string"
373
- },
374
- "token": {
375
- "type": "string"
376
- }
377
- },
378
- "required": [
379
- "deviceId",
380
- "token"
381
- ],
382
- "definitions": {}
383
- },
384
- "UserPushRemoveToken_7_ResSchema": {
385
- "$schema": "http://json-schema.org/draft-07/schema#",
386
- "type": "object",
387
- "additionalProperties": false,
388
- "properties": {
389
- "status": {
390
- "type": "string",
391
- "enum": [
392
- "success",
393
- "failed"
394
- ]
395
- }
396
- },
397
- "required": [
398
- "status"
399
- ],
400
- "definitions": {}
401
- },
402
- "UserToken_10_ReqSchema": {
403
- "$schema": "http://json-schema.org/draft-07/schema#",
404
- "type": "object",
405
- "additionalProperties": false,
406
- "properties": {
407
- "token": {
408
- "type": "string"
409
- }
410
- },
411
- "required": [
412
- "token"
413
- ],
414
- "definitions": {}
415
- },
416
- "DeleteUserByUserid_6_ReqSchema": {
417
- "$schema": "http://json-schema.org/draft-07/schema#",
418
- "type": "object",
419
- "additionalProperties": false,
420
- "properties": {},
421
- "definitions": {}
422
- },
423
- "DeleteUserByUserid_6_ResSchema": {
424
- "$schema": "http://json-schema.org/draft-07/schema#",
425
- "type": "object",
426
- "additionalProperties": false,
427
- "properties": {},
428
- "definitions": {}
429
- },
430
- "GetUser_5_ReqSchema": {
431
- "$schema": "http://json-schema.org/draft-07/schema#",
432
- "type": "object",
433
- "additionalProperties": false,
434
- "properties": {},
435
- "definitions": {}
436
- },
437
- "GetUser_5_ResSchema": {
438
- "$schema": "http://json-schema.org/draft-07/schema#",
439
- "type": "object",
440
- "additionalProperties": false,
441
- "properties": {
442
- "users": {
443
- "type": "array",
444
- "items": {
445
- "type": "object",
446
- "properties": {
447
- "_id": {
448
- "type": "string"
449
- },
450
- "username": {
451
- "type": "string"
452
- }
453
- },
454
- "required": [
455
- "_id",
456
- "username"
457
- ],
458
- "additionalProperties": false
459
- }
460
- }
461
- },
462
- "required": [
463
- "users"
464
- ],
465
- "definitions": {}
466
- },
467
- "GetUserByUserid_11_ReqSchema": {
468
- "$schema": "http://json-schema.org/draft-07/schema#",
469
- "type": "object",
470
- "additionalProperties": false,
471
- "properties": {},
472
- "definitions": {}
473
- },
474
- "GetUserByUserid_11_ResSchema": {
475
- "$schema": "http://json-schema.org/draft-07/schema#",
476
- "type": "object",
477
- "additionalProperties": false,
478
- "properties": {
479
- "_id": {
480
- "type": "string"
481
- },
482
- "username": {
483
- "type": "string"
484
- },
485
- "roles": {
486
- "type": "array",
487
- "items": {
488
- "type": "string"
489
- }
490
- },
491
- "authentificationMethod": {
492
- "type": "string",
493
- "enum": [
494
- "password",
495
- "sms"
496
- ]
497
- },
498
- "profile": {
499
- "type": "object"
500
- },
501
- "pushNotificationTokens": {
502
- "type": "array",
503
- "items": {
504
- "type": "object",
505
- "properties": {
506
- "deviceId": {
507
- "type": "string"
508
- },
509
- "token": {
510
- "type": "string"
511
- }
512
- },
513
- "required": [
514
- "deviceId",
515
- "token"
516
- ],
517
- "additionalProperties": false
518
- }
519
- }
520
- },
521
- "required": [
522
- "_id",
523
- "authentificationMethod",
524
- "profile",
525
- "pushNotificationTokens",
526
- "roles",
527
- "username"
528
- ],
529
- "definitions": {}
530
- },
531
- "GetUserViewByUserid_6_ReqSchema": {
532
- "$schema": "http://json-schema.org/draft-07/schema#",
533
- "type": "object",
534
- "additionalProperties": false,
535
- "properties": {},
536
- "definitions": {}
537
- },
538
- "GetUserViewByUserid_6_ResSchema": {
539
- "$schema": "http://json-schema.org/draft-07/schema#",
540
- "type": "object",
541
- "additionalProperties": false,
542
- "properties": {
543
- "buttons": {
544
- "type": "array",
545
- "items": {
546
- "type": "object",
547
- "properties": {
548
- "text": {
549
- "type": "string"
550
- },
551
- "url": {
552
- "type": "string"
553
- }
554
- },
555
- "required": [
556
- "text",
557
- "url"
558
- ],
559
- "additionalProperties": false
560
- }
561
- },
562
- "data": {
563
- "type": "object",
564
- "additionalProperties": {
565
- "type": "string"
566
- }
567
- }
568
- },
569
- "required": [
570
- "buttons",
571
- "data"
572
- ],
573
- "definitions": {}
574
- },
575
- "PutUserPasswordByUserid_6_ReqSchema": {
576
- "$schema": "http://json-schema.org/draft-07/schema#",
577
- "type": "object",
578
- "additionalProperties": false,
579
- "properties": {
580
- "password": {
581
- "type": "string"
582
- }
583
- },
584
- "required": [
585
- "password"
586
- ],
587
- "definitions": {}
588
- },
589
- "PutUserPasswordByUserid_6_ResSchema": {
590
- "$schema": "http://json-schema.org/draft-07/schema#",
591
- "type": "object",
592
- "additionalProperties": false,
593
- "properties": {},
594
- "definitions": {}
595
- },
596
- "PutUserProfileByUserid_11_ReqSchema": {
597
- "$schema": "http://json-schema.org/draft-07/schema#",
598
- "type": "object",
599
- "properties": {},
600
- "definitions": {}
601
- },
602
- "PutUserProfileByUserid_11_ResSchema": {
603
- "$schema": "http://json-schema.org/draft-07/schema#",
604
- "type": "object",
605
- "additionalProperties": false,
606
- "properties": {},
607
- "definitions": {}
608
- },
609
- "PutUserProfileByUseridAppend_11_ReqSchema": {
610
- "$schema": "http://json-schema.org/draft-07/schema#",
611
- "type": "object",
612
- "properties": {},
613
- "definitions": {}
614
- },
615
- "PutUserProfileByUseridAppend_11_ResSchema": {
616
- "$schema": "http://json-schema.org/draft-07/schema#",
617
- "type": "object",
618
- "additionalProperties": false,
619
- "properties": {},
620
- "definitions": {}
621
- },
622
- "PutUserRolesByUserid_11_ReqSchema": {
623
- "$schema": "http://json-schema.org/draft-07/schema#",
624
- "type": "object",
625
- "additionalProperties": false,
626
- "properties": {
627
- "roles": {
628
- "type": "array",
629
- "items": {
630
- "type": "string"
631
- }
632
- }
633
- },
634
- "required": [
635
- "roles"
636
- ],
637
- "definitions": {}
638
- },
639
- "PutUserRolesByUserid_11_ResSchema": {
640
- "$schema": "http://json-schema.org/draft-07/schema#",
641
- "type": "object",
642
- "additionalProperties": false,
643
- "properties": {},
644
- "definitions": {}
645
- },
646
- "PutUserUsernameByUserid_12_ReqSchema": {
647
- "$schema": "http://json-schema.org/draft-07/schema#",
648
- "type": "object",
649
- "additionalProperties": false,
650
- "properties": {
651
- "username": {
652
- "type": "string"
653
- }
654
- },
655
- "required": [
656
- "username"
657
- ],
658
- "definitions": {}
659
- },
660
- "PutUserUsernameByUserid_12_ResSchema": {
661
- "$schema": "http://json-schema.org/draft-07/schema#",
662
- "type": "object",
663
- "additionalProperties": false,
664
- "properties": {},
665
- "definitions": {}
666
- }
667
- }
4
+ "definitions": {}
668
5
  }
@@ -18,7 +18,6 @@ import { DeleteManagementUserByUseridRes } from "../../src/schemas/Management/De
18
18
  import { GetManagementUserReq } from "../../src/schemas/Management/GetUserReq";
19
19
  import { GetManagementUserRes } from "../../src/schemas/Management/GetUserRes";
20
20
  import { GetManagementUserByUseridReq } from "../../src/schemas/Management/GetUserByUseridReq";
21
- import { GetManagementUserByUseridRes } from "../../src/schemas/Management/GetUserByUseridRes";
22
21
  import { GetManagementUserViewByUseridReq } from "../../src/schemas/Management/GetUserViewByUseridReq";
23
22
  import { GetManagementUserViewByUseridRes } from "../../src/schemas/Management/GetUserViewByUseridRes";
24
23
  import { PutManagementUserPasswordByUseridReq } from "../../src/schemas/Management/PutUserPasswordByUseridReq";
@@ -30,7 +29,7 @@ import { PutManagementUserRolesByUseridRes } from "../../src/schemas/Management/
30
29
  import { PutManagementUserUsernameByUseridReq } from "../../src/schemas/Management/PutUserUsernameByUseridReq";
31
30
  import { PutManagementUserUsernameByUseridRes } from "../../src/schemas/Management/PutUserUsernameByUseridRes";
32
31
 
33
- // Generated Mon May 22 2023 15:57:18 GMT+0200 (Central European Summer Time)
32
+ // Generated Mon Jul 10 2023 18:13:43 GMT+0200 (Central European Summer Time)
34
33
  export interface UserCreate_7_ReqSchema extends UserCreateReq {}
35
34
 
36
35
  export interface UserCreate_7_ResSchema extends UserCreateRes {}
@@ -81,8 +80,6 @@ export interface GetUser_5_ResSchema extends GetManagementUserRes {}
81
80
 
82
81
  export interface GetUserByUserid_11_ReqSchema extends GetManagementUserByUseridReq {}
83
82
 
84
- export interface GetUserByUserid_11_ResSchema extends GetManagementUserByUseridRes {}
85
-
86
83
  export interface GetUserViewByUserid_6_ReqSchema extends GetManagementUserViewByUseridReq {}
87
84
 
88
85
  export interface GetUserViewByUserid_6_ResSchema extends GetManagementUserViewByUseridRes {}
package/.flink/start.ts CHANGED
@@ -1,4 +1,4 @@
1
- // Generated Mon May 22 2023 15:57:15 GMT+0200 (Central European Summer Time)
1
+ // Generated Mon Jul 10 2023 18:13:43 GMT+0200 (Central European Summer Time)
2
2
  import "./generatedHandlers";
3
3
  import "./generatedRepos";
4
4
  import "./generatedJobs";