@flink-app/generic-auth-plugin 0.4.7 → 0.4.9

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 (36) hide show
  1. package/.flink/generatedHandlers.ts +1 -1
  2. package/.flink/generatedRepos.ts +1 -1
  3. package/.flink/schemas/schemas.json +78 -145
  4. package/.flink/schemas/schemas.ts +1 -1
  5. package/.flink/start.ts +1 -2
  6. package/dist/.flink/generatedHandlers.js +1 -1
  7. package/dist/.flink/generatedRepos.js +1 -1
  8. package/dist/.flink/schemas/schemas.json +78 -145
  9. package/dist/.flink/start.d.ts +0 -1
  10. package/dist/.flink/start.js +1 -2
  11. package/dist/src/handlers/Management/DeleteUserByUserid.js +1 -1
  12. package/dist/src/handlers/Management/GetUser.js +1 -1
  13. package/dist/src/handlers/Management/GetUserByUserid.js +1 -1
  14. package/dist/src/handlers/Management/GetUserViewByUserid.js +1 -1
  15. package/dist/src/handlers/Management/PutUserPasswordByUserid.js +1 -1
  16. package/dist/src/handlers/Management/PutUserProfileByUserid.js +1 -1
  17. package/dist/src/handlers/Management/PutUserProfileByUseridAppend.js +1 -1
  18. package/dist/src/handlers/Management/PutUserRolesByUserid.js +1 -1
  19. package/dist/src/handlers/Management/PutUserUsernameByUserid.js +1 -1
  20. package/dist/src/handlers/UserCreate.js +1 -1
  21. package/dist/src/handlers/UserLogin.js +1 -1
  22. package/dist/src/handlers/UserLoginByToken.js +1 -1
  23. package/dist/src/handlers/UserPasswordPut.js +1 -1
  24. package/dist/src/handlers/UserPasswordResetComplete.js +2 -2
  25. package/dist/src/handlers/UserPasswordResetStart.js +3 -3
  26. package/dist/src/handlers/UserProfileGet.js +1 -1
  27. package/dist/src/handlers/UserProfilePut.js +1 -1
  28. package/dist/src/handlers/UserPushRegisterToken.js +1 -1
  29. package/dist/src/handlers/UserPushRemoveToken.js +1 -1
  30. package/dist/src/handlers/UserToken.js +1 -1
  31. package/package.json +2 -2
  32. package/src/handlers/UserPasswordResetComplete.ts +1 -1
  33. package/src/handlers/UserPasswordResetStart.ts +4 -2
  34. package/.flink/generatedJobs.ts +0 -5
  35. package/dist/.flink/generatedJobs.d.ts +0 -1
  36. package/dist/.flink/generatedJobs.js +0 -7
@@ -3,7 +3,6 @@
3
3
  "$ref": "#/definitions/Schemas",
4
4
  "definitions": {
5
5
  "UserCreate_7_ReqSchema": {
6
- "$schema": "http://json-schema.org/draft-07/schema#",
7
6
  "type": "object",
8
7
  "additionalProperties": false,
9
8
  "properties": {
@@ -21,16 +20,17 @@
21
20
  ]
22
21
  },
23
22
  "profile": {
24
- "type": "object"
23
+ "$ref": "#/definitions/UserProfile"
25
24
  }
26
25
  },
27
26
  "required": [
28
27
  "username"
29
- ],
30
- "definitions": {}
28
+ ]
29
+ },
30
+ "UserProfile": {
31
+ "type": "object"
31
32
  },
32
33
  "UserCreate_7_ResSchema": {
33
- "$schema": "http://json-schema.org/draft-07/schema#",
34
34
  "type": "object",
35
35
  "additionalProperties": false,
36
36
  "properties": {
@@ -66,11 +66,9 @@
66
66
  },
67
67
  "required": [
68
68
  "status"
69
- ],
70
- "definitions": {}
69
+ ]
71
70
  },
72
71
  "UserLogin_7_ReqSchema": {
73
- "$schema": "http://json-schema.org/draft-07/schema#",
74
72
  "type": "object",
75
73
  "additionalProperties": false,
76
74
  "properties": {
@@ -83,11 +81,9 @@
83
81
  },
84
82
  "required": [
85
83
  "username"
86
- ],
87
- "definitions": {}
84
+ ]
88
85
  },
89
86
  "UserLogin_7_ResSchema": {
90
- "$schema": "http://json-schema.org/draft-07/schema#",
91
87
  "type": "object",
92
88
  "additionalProperties": false,
93
89
  "properties": {
@@ -112,7 +108,7 @@
112
108
  "type": "string"
113
109
  },
114
110
  "profile": {
115
- "type": "object"
111
+ "$ref": "#/definitions/UserProfile"
116
112
  }
117
113
  },
118
114
  "required": [
@@ -129,11 +125,9 @@
129
125
  },
130
126
  "required": [
131
127
  "status"
132
- ],
133
- "definitions": {}
128
+ ]
134
129
  },
135
130
  "UserLoginByToken_7_ReqSchema": {
136
- "$schema": "http://json-schema.org/draft-07/schema#",
137
131
  "type": "object",
138
132
  "additionalProperties": false,
139
133
  "properties": {
@@ -147,11 +141,9 @@
147
141
  "required": [
148
142
  "code",
149
143
  "token"
150
- ],
151
- "definitions": {}
144
+ ]
152
145
  },
153
146
  "UserLoginByToken_7_ResSchema": {
154
- "$schema": "http://json-schema.org/draft-07/schema#",
155
147
  "type": "object",
156
148
  "additionalProperties": false,
157
149
  "properties": {
@@ -176,7 +168,7 @@
176
168
  "type": "string"
177
169
  },
178
170
  "profile": {
179
- "type": "object"
171
+ "$ref": "#/definitions/UserProfile"
180
172
  }
181
173
  },
182
174
  "required": [
@@ -193,11 +185,9 @@
193
185
  },
194
186
  "required": [
195
187
  "status"
196
- ],
197
- "definitions": {}
188
+ ]
198
189
  },
199
190
  "UserPasswordPut_7_ReqSchema": {
200
- "$schema": "http://json-schema.org/draft-07/schema#",
201
191
  "type": "object",
202
192
  "additionalProperties": false,
203
193
  "properties": {
@@ -207,11 +197,9 @@
207
197
  },
208
198
  "required": [
209
199
  "password"
210
- ],
211
- "definitions": {}
200
+ ]
212
201
  },
213
202
  "UserPasswordPut_7_ResSchema": {
214
- "$schema": "http://json-schema.org/draft-07/schema#",
215
203
  "type": "object",
216
204
  "additionalProperties": false,
217
205
  "properties": {
@@ -226,11 +214,9 @@
226
214
  },
227
215
  "required": [
228
216
  "status"
229
- ],
230
- "definitions": {}
217
+ ]
231
218
  },
232
219
  "UserPasswordResetComplete_13_ReqSchema": {
233
- "$schema": "http://json-schema.org/draft-07/schema#",
234
220
  "type": "object",
235
221
  "additionalProperties": false,
236
222
  "properties": {
@@ -248,11 +234,9 @@
248
234
  "code",
249
235
  "password",
250
236
  "passwordResetToken"
251
- ],
252
- "definitions": {}
237
+ ]
253
238
  },
254
239
  "UserPasswordResetComplete_13_ResSchema": {
255
- "$schema": "http://json-schema.org/draft-07/schema#",
256
240
  "type": "object",
257
241
  "additionalProperties": false,
258
242
  "properties": {
@@ -268,11 +252,9 @@
268
252
  },
269
253
  "required": [
270
254
  "status"
271
- ],
272
- "definitions": {}
255
+ ]
273
256
  },
274
257
  "UserPasswordResetStart_9_ReqSchema": {
275
- "$schema": "http://json-schema.org/draft-07/schema#",
276
258
  "type": "object",
277
259
  "additionalProperties": false,
278
260
  "properties": {
@@ -282,11 +264,9 @@
282
264
  },
283
265
  "required": [
284
266
  "username"
285
- ],
286
- "definitions": {}
267
+ ]
287
268
  },
288
269
  "UserPasswordResetStart_9_ResSchema": {
289
- "$schema": "http://json-schema.org/draft-07/schema#",
290
270
  "type": "object",
291
271
  "additionalProperties": false,
292
272
  "properties": {
@@ -301,34 +281,26 @@
301
281
  "type": "string"
302
282
  },
303
283
  "profile": {
304
- "type": "object"
284
+ "$ref": "#/definitions/UserProfile"
305
285
  }
306
286
  },
307
287
  "required": [
308
288
  "status"
309
- ],
310
- "definitions": {}
289
+ ]
311
290
  },
312
291
  "UserProfileGet_5_ReqSchema": {
313
- "$schema": "http://json-schema.org/draft-07/schema#",
314
292
  "type": "object",
315
- "properties": {},
316
- "definitions": {}
293
+ "properties": {}
317
294
  },
318
295
  "UserProfilePut_5_ReqSchema": {
319
- "$schema": "http://json-schema.org/draft-07/schema#",
320
296
  "type": "object",
321
- "properties": {},
322
- "definitions": {}
297
+ "properties": {}
323
298
  },
324
299
  "UserProfilePut_5_ResSchema": {
325
- "$schema": "http://json-schema.org/draft-07/schema#",
326
300
  "type": "object",
327
- "properties": {},
328
- "definitions": {}
301
+ "properties": {}
329
302
  },
330
303
  "UserPushRegisterToken_7_ReqSchema": {
331
- "$schema": "http://json-schema.org/draft-07/schema#",
332
304
  "type": "object",
333
305
  "additionalProperties": false,
334
306
  "properties": {
@@ -342,11 +314,9 @@
342
314
  "required": [
343
315
  "deviceId",
344
316
  "token"
345
- ],
346
- "definitions": {}
317
+ ]
347
318
  },
348
319
  "UserPushRegisterToken_7_ResSchema": {
349
- "$schema": "http://json-schema.org/draft-07/schema#",
350
320
  "type": "object",
351
321
  "additionalProperties": false,
352
322
  "properties": {
@@ -360,11 +330,9 @@
360
330
  },
361
331
  "required": [
362
332
  "status"
363
- ],
364
- "definitions": {}
333
+ ]
365
334
  },
366
335
  "UserPushRemoveToken_7_ReqSchema": {
367
- "$schema": "http://json-schema.org/draft-07/schema#",
368
336
  "type": "object",
369
337
  "additionalProperties": false,
370
338
  "properties": {
@@ -378,11 +346,9 @@
378
346
  "required": [
379
347
  "deviceId",
380
348
  "token"
381
- ],
382
- "definitions": {}
349
+ ]
383
350
  },
384
351
  "UserPushRemoveToken_7_ResSchema": {
385
- "$schema": "http://json-schema.org/draft-07/schema#",
386
352
  "type": "object",
387
353
  "additionalProperties": false,
388
354
  "properties": {
@@ -396,11 +362,9 @@
396
362
  },
397
363
  "required": [
398
364
  "status"
399
- ],
400
- "definitions": {}
365
+ ]
401
366
  },
402
367
  "UserToken_10_ReqSchema": {
403
- "$schema": "http://json-schema.org/draft-07/schema#",
404
368
  "type": "object",
405
369
  "additionalProperties": false,
406
370
  "properties": {
@@ -410,69 +374,60 @@
410
374
  },
411
375
  "required": [
412
376
  "token"
413
- ],
414
- "definitions": {}
377
+ ]
415
378
  },
416
379
  "DeleteUserByUserid_6_ReqSchema": {
417
- "$schema": "http://json-schema.org/draft-07/schema#",
418
380
  "type": "object",
419
381
  "additionalProperties": false,
420
- "properties": {},
421
- "definitions": {}
382
+ "properties": {}
422
383
  },
423
384
  "DeleteUserByUserid_6_ResSchema": {
424
- "$schema": "http://json-schema.org/draft-07/schema#",
425
385
  "type": "object",
426
386
  "additionalProperties": false,
427
- "properties": {},
428
- "definitions": {}
387
+ "properties": {}
429
388
  },
430
389
  "GetUser_5_ReqSchema": {
431
- "$schema": "http://json-schema.org/draft-07/schema#",
432
390
  "type": "object",
433
391
  "additionalProperties": false,
434
- "properties": {},
435
- "definitions": {}
392
+ "properties": {}
436
393
  },
437
394
  "GetUser_5_ResSchema": {
438
- "$schema": "http://json-schema.org/draft-07/schema#",
439
395
  "type": "object",
440
396
  "additionalProperties": false,
441
397
  "properties": {
442
398
  "users": {
443
399
  "type": "array",
444
400
  "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
401
+ "$ref": "#/definitions/UserListItem"
459
402
  }
460
403
  }
461
404
  },
462
405
  "required": [
463
406
  "users"
407
+ ]
408
+ },
409
+ "UserListItem": {
410
+ "type": "object",
411
+ "properties": {
412
+ "_id": {
413
+ "type": "string"
414
+ },
415
+ "username": {
416
+ "type": "string"
417
+ }
418
+ },
419
+ "required": [
420
+ "_id",
421
+ "username"
464
422
  ],
465
- "definitions": {}
423
+ "additionalProperties": false
466
424
  },
467
425
  "GetUserByUserid_11_ReqSchema": {
468
- "$schema": "http://json-schema.org/draft-07/schema#",
469
426
  "type": "object",
470
427
  "additionalProperties": false,
471
- "properties": {},
472
- "definitions": {}
428
+ "properties": {}
473
429
  },
474
430
  "GetUserByUserid_11_ResSchema": {
475
- "$schema": "http://json-schema.org/draft-07/schema#",
476
431
  "type": "object",
477
432
  "additionalProperties": false,
478
433
  "properties": {
@@ -496,25 +451,12 @@
496
451
  ]
497
452
  },
498
453
  "profile": {
499
- "type": "object"
454
+ "$ref": "#/definitions/UserProfile"
500
455
  },
501
456
  "pushNotificationTokens": {
502
457
  "type": "array",
503
458
  "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
459
+ "$ref": "#/definitions/PushNotificationToken"
518
460
  }
519
461
  }
520
462
  },
@@ -525,18 +467,30 @@
525
467
  "pushNotificationTokens",
526
468
  "roles",
527
469
  "username"
470
+ ]
471
+ },
472
+ "PushNotificationToken": {
473
+ "type": "object",
474
+ "properties": {
475
+ "deviceId": {
476
+ "type": "string"
477
+ },
478
+ "token": {
479
+ "type": "string"
480
+ }
481
+ },
482
+ "required": [
483
+ "deviceId",
484
+ "token"
528
485
  ],
529
- "definitions": {}
486
+ "additionalProperties": false
530
487
  },
531
488
  "GetUserViewByUserid_6_ReqSchema": {
532
- "$schema": "http://json-schema.org/draft-07/schema#",
533
489
  "type": "object",
534
490
  "additionalProperties": false,
535
- "properties": {},
536
- "definitions": {}
491
+ "properties": {}
537
492
  },
538
493
  "GetUserViewByUserid_6_ResSchema": {
539
- "$schema": "http://json-schema.org/draft-07/schema#",
540
494
  "type": "object",
541
495
  "additionalProperties": false,
542
496
  "properties": {
@@ -569,11 +523,9 @@
569
523
  "required": [
570
524
  "buttons",
571
525
  "data"
572
- ],
573
- "definitions": {}
526
+ ]
574
527
  },
575
528
  "PutUserPasswordByUserid_6_ReqSchema": {
576
- "$schema": "http://json-schema.org/draft-07/schema#",
577
529
  "type": "object",
578
530
  "additionalProperties": false,
579
531
  "properties": {
@@ -583,44 +535,32 @@
583
535
  },
584
536
  "required": [
585
537
  "password"
586
- ],
587
- "definitions": {}
538
+ ]
588
539
  },
589
540
  "PutUserPasswordByUserid_6_ResSchema": {
590
- "$schema": "http://json-schema.org/draft-07/schema#",
591
541
  "type": "object",
592
542
  "additionalProperties": false,
593
- "properties": {},
594
- "definitions": {}
543
+ "properties": {}
595
544
  },
596
545
  "PutUserProfileByUserid_11_ReqSchema": {
597
- "$schema": "http://json-schema.org/draft-07/schema#",
598
546
  "type": "object",
599
- "properties": {},
600
- "definitions": {}
547
+ "properties": {}
601
548
  },
602
549
  "PutUserProfileByUserid_11_ResSchema": {
603
- "$schema": "http://json-schema.org/draft-07/schema#",
604
550
  "type": "object",
605
551
  "additionalProperties": false,
606
- "properties": {},
607
- "definitions": {}
552
+ "properties": {}
608
553
  },
609
554
  "PutUserProfileByUseridAppend_11_ReqSchema": {
610
- "$schema": "http://json-schema.org/draft-07/schema#",
611
555
  "type": "object",
612
- "properties": {},
613
- "definitions": {}
556
+ "properties": {}
614
557
  },
615
558
  "PutUserProfileByUseridAppend_11_ResSchema": {
616
- "$schema": "http://json-schema.org/draft-07/schema#",
617
559
  "type": "object",
618
560
  "additionalProperties": false,
619
- "properties": {},
620
- "definitions": {}
561
+ "properties": {}
621
562
  },
622
563
  "PutUserRolesByUserid_11_ReqSchema": {
623
- "$schema": "http://json-schema.org/draft-07/schema#",
624
564
  "type": "object",
625
565
  "additionalProperties": false,
626
566
  "properties": {
@@ -633,18 +573,14 @@
633
573
  },
634
574
  "required": [
635
575
  "roles"
636
- ],
637
- "definitions": {}
576
+ ]
638
577
  },
639
578
  "PutUserRolesByUserid_11_ResSchema": {
640
- "$schema": "http://json-schema.org/draft-07/schema#",
641
579
  "type": "object",
642
580
  "additionalProperties": false,
643
- "properties": {},
644
- "definitions": {}
581
+ "properties": {}
645
582
  },
646
583
  "PutUserUsernameByUserid_12_ReqSchema": {
647
- "$schema": "http://json-schema.org/draft-07/schema#",
648
584
  "type": "object",
649
585
  "additionalProperties": false,
650
586
  "properties": {
@@ -654,15 +590,12 @@
654
590
  },
655
591
  "required": [
656
592
  "username"
657
- ],
658
- "definitions": {}
593
+ ]
659
594
  },
660
595
  "PutUserUsernameByUserid_12_ResSchema": {
661
- "$schema": "http://json-schema.org/draft-07/schema#",
662
596
  "type": "object",
663
597
  "additionalProperties": false,
664
- "properties": {},
665
- "definitions": {}
598
+ "properties": {}
666
599
  }
667
600
  }
668
601
  }
@@ -1,4 +1,3 @@
1
1
  import "./generatedHandlers";
2
2
  import "./generatedRepos";
3
- import "./generatedJobs";
4
3
  import "../src/index";
@@ -1,7 +1,6 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- // Generated Sat Feb 25 2023 22:17:31 GMT+0100 (Central European Standard Time)
3
+ // Generated Wed Mar 08 2023 10:49:19 GMT+0100 (Central European Standard Time)
4
4
  require("./generatedHandlers");
5
5
  require("./generatedRepos");
6
- require("./generatedJobs");
7
6
  require("../src/index");
@@ -63,4 +63,4 @@ var DeleteManagementUserByUserid = function (_a) {
63
63
  };
64
64
  exports.default = DeleteManagementUserByUserid;
65
65
  exports.__assumedHttpMethod = "delete", exports.__file = "DeleteUserByUserid.ts", exports.__query = [], exports.__params = [];
66
- exports.__schemas = { reqSchema: { "$schema": "http://json-schema.org/draft-07/schema#", "type": "object", "additionalProperties": false, "properties": {}, "definitions": {} }, resSchema: { "$schema": "http://json-schema.org/draft-07/schema#", "type": "object", "additionalProperties": false, "properties": {}, "definitions": {} } };
66
+ exports.__schemas = { reqSchema: { "type": "object", "additionalProperties": false, "properties": {} }, resSchema: { "type": "object", "additionalProperties": false, "properties": {} } };
@@ -62,4 +62,4 @@ var GetManagementUser = function (_a) {
62
62
  };
63
63
  exports.default = GetManagementUser;
64
64
  exports.__assumedHttpMethod = "get", exports.__file = "GetUser.ts", exports.__query = [], exports.__params = [];
65
- exports.__schemas = { reqSchema: { "$schema": "http://json-schema.org/draft-07/schema#", "type": "object", "additionalProperties": false, "properties": {}, "definitions": {} }, resSchema: { "$schema": "http://json-schema.org/draft-07/schema#", "type": "object", "additionalProperties": false, "properties": { "users": { "type": "array", "items": { "type": "object", "properties": { "_id": { "type": "string" }, "username": { "type": "string" } }, "required": ["_id", "username"], "additionalProperties": false } } }, "required": ["users"], "definitions": {} } };
65
+ exports.__schemas = { reqSchema: { "type": "object", "additionalProperties": false, "properties": {} }, resSchema: { "type": "object", "additionalProperties": false, "properties": { "users": { "type": "array", "items": { "type": "object", "properties": { "_id": { "type": "string" }, "username": { "type": "string" } }, "required": ["_id", "username"], "additionalProperties": false } } }, "required": ["users"] } };
@@ -75,4 +75,4 @@ var GetManagementUserByUserid = function (_a) {
75
75
  };
76
76
  exports.default = GetManagementUserByUserid;
77
77
  exports.__assumedHttpMethod = "get", exports.__file = "GetUserByUserid.ts", exports.__query = [], exports.__params = [];
78
- exports.__schemas = { reqSchema: { "$schema": "http://json-schema.org/draft-07/schema#", "type": "object", "additionalProperties": false, "properties": {}, "definitions": {} }, resSchema: { "$schema": "http://json-schema.org/draft-07/schema#", "type": "object", "additionalProperties": false, "properties": { "_id": { "type": "string" }, "username": { "type": "string" }, "roles": { "type": "array", "items": { "type": "string" } }, "authentificationMethod": { "type": "string", "enum": ["password", "sms"] }, "profile": { "type": "object" }, "pushNotificationTokens": { "type": "array", "items": { "type": "object", "properties": { "deviceId": { "type": "string" }, "token": { "type": "string" } }, "required": ["deviceId", "token"], "additionalProperties": false } } }, "required": ["_id", "authentificationMethod", "profile", "pushNotificationTokens", "roles", "username"], "definitions": {} } };
78
+ exports.__schemas = { reqSchema: { "type": "object", "additionalProperties": false, "properties": {} }, resSchema: { "type": "object", "additionalProperties": false, "properties": { "_id": { "type": "string" }, "username": { "type": "string" }, "roles": { "type": "array", "items": { "type": "string" } }, "authentificationMethod": { "type": "string", "enum": ["password", "sms"] }, "profile": { "type": "object" }, "pushNotificationTokens": { "type": "array", "items": { "type": "object", "properties": { "deviceId": { "type": "string" }, "token": { "type": "string" } }, "required": ["deviceId", "token"], "additionalProperties": false } } }, "required": ["_id", "authentificationMethod", "profile", "pushNotificationTokens", "roles", "username"] } };
@@ -77,4 +77,4 @@ var GetManagementUserByUserid = function (_a) {
77
77
  };
78
78
  exports.default = GetManagementUserByUserid;
79
79
  exports.__assumedHttpMethod = "get", exports.__file = "GetUserViewByUserid.ts", exports.__query = [], exports.__params = [];
80
- exports.__schemas = { reqSchema: { "$schema": "http://json-schema.org/draft-07/schema#", "type": "object", "additionalProperties": false, "properties": {}, "definitions": {} }, resSchema: { "$schema": "http://json-schema.org/draft-07/schema#", "type": "object", "additionalProperties": false, "properties": { "buttons": { "type": "array", "items": { "type": "object", "properties": { "text": { "type": "string" }, "url": { "type": "string" } }, "required": ["text", "url"], "additionalProperties": false } }, "data": { "type": "object", "additionalProperties": { "type": "string" } } }, "required": ["buttons", "data"], "definitions": {} } };
80
+ exports.__schemas = { reqSchema: { "type": "object", "additionalProperties": false, "properties": {} }, resSchema: { "type": "object", "additionalProperties": false, "properties": { "buttons": { "type": "array", "items": { "type": "object", "properties": { "text": { "type": "string" }, "url": { "type": "string" } }, "required": ["text", "url"], "additionalProperties": false } }, "data": { "type": "object", "additionalProperties": { "type": "string" } } }, "required": ["buttons", "data"] } };
@@ -88,4 +88,4 @@ var PutManagementUserPasswordByUserid = function (_a) {
88
88
  };
89
89
  exports.default = PutManagementUserPasswordByUserid;
90
90
  exports.__assumedHttpMethod = "put", exports.__file = "PutUserPasswordByUserid.ts", exports.__query = [], exports.__params = [];
91
- exports.__schemas = { reqSchema: { "$schema": "http://json-schema.org/draft-07/schema#", "type": "object", "additionalProperties": false, "properties": { "password": { "type": "string" } }, "required": ["password"], "definitions": {} }, resSchema: { "$schema": "http://json-schema.org/draft-07/schema#", "type": "object", "additionalProperties": false, "properties": {}, "definitions": {} } };
91
+ exports.__schemas = { reqSchema: { "type": "object", "additionalProperties": false, "properties": { "password": { "type": "string" } }, "required": ["password"] }, resSchema: { "type": "object", "additionalProperties": false, "properties": {} } };
@@ -66,4 +66,4 @@ var PutManagementUserProfileByUserid = function (_a) {
66
66
  };
67
67
  exports.default = PutManagementUserProfileByUserid;
68
68
  exports.__assumedHttpMethod = "put", exports.__file = "PutUserProfileByUserid.ts", exports.__query = [], exports.__params = [];
69
- exports.__schemas = { reqSchema: { "$schema": "http://json-schema.org/draft-07/schema#", "type": "object", "properties": {}, "definitions": {} }, resSchema: { "$schema": "http://json-schema.org/draft-07/schema#", "type": "object", "additionalProperties": false, "properties": {}, "definitions": {} } };
69
+ exports.__schemas = { reqSchema: { "type": "object", "properties": {} }, resSchema: { "type": "object", "additionalProperties": false, "properties": {} } };
@@ -80,4 +80,4 @@ var PutManagementUserProfileByUserid = function (_a) {
80
80
  };
81
81
  exports.default = PutManagementUserProfileByUserid;
82
82
  exports.__assumedHttpMethod = "put", exports.__file = "PutUserProfileByUseridAppend.ts", exports.__query = [], exports.__params = [];
83
- exports.__schemas = { reqSchema: { "$schema": "http://json-schema.org/draft-07/schema#", "type": "object", "properties": {}, "definitions": {} }, resSchema: { "$schema": "http://json-schema.org/draft-07/schema#", "type": "object", "additionalProperties": false, "properties": {}, "definitions": {} } };
83
+ exports.__schemas = { reqSchema: { "type": "object", "properties": {} }, resSchema: { "type": "object", "additionalProperties": false, "properties": {} } };
@@ -66,4 +66,4 @@ var PutManagementUserRolesByUserid = function (_a) {
66
66
  };
67
67
  exports.default = PutManagementUserRolesByUserid;
68
68
  exports.__assumedHttpMethod = "put", exports.__file = "PutUserRolesByUserid.ts", exports.__query = [], exports.__params = [];
69
- exports.__schemas = { reqSchema: { "$schema": "http://json-schema.org/draft-07/schema#", "type": "object", "additionalProperties": false, "properties": { "roles": { "type": "array", "items": { "type": "string" } } }, "required": ["roles"], "definitions": {} }, resSchema: { "$schema": "http://json-schema.org/draft-07/schema#", "type": "object", "additionalProperties": false, "properties": {}, "definitions": {} } };
69
+ exports.__schemas = { reqSchema: { "type": "object", "additionalProperties": false, "properties": { "roles": { "type": "array", "items": { "type": "string" } } }, "required": ["roles"] }, resSchema: { "type": "object", "additionalProperties": false, "properties": {} } };
@@ -76,4 +76,4 @@ var PutManagementUserUsernameByUserid = function (_a) {
76
76
  };
77
77
  exports.default = PutManagementUserUsernameByUserid;
78
78
  exports.__assumedHttpMethod = "put", exports.__file = "PutUserUsernameByUserid.ts", exports.__query = [], exports.__params = [];
79
- exports.__schemas = { reqSchema: { "$schema": "http://json-schema.org/draft-07/schema#", "type": "object", "additionalProperties": false, "properties": { "username": { "type": "string" } }, "required": ["username"], "definitions": {} }, resSchema: { "$schema": "http://json-schema.org/draft-07/schema#", "type": "object", "additionalProperties": false, "properties": {}, "definitions": {} } };
79
+ exports.__schemas = { reqSchema: { "type": "object", "additionalProperties": false, "properties": { "username": { "type": "string" } }, "required": ["username"] }, resSchema: { "type": "object", "additionalProperties": false, "properties": {} } };
@@ -87,4 +87,4 @@ var userCreateHandler = function (_a) {
87
87
  };
88
88
  exports.default = userCreateHandler;
89
89
  exports.__assumedHttpMethod = "", exports.__file = "UserCreate.ts", exports.__query = [], exports.__params = [];
90
- exports.__schemas = { reqSchema: { "$schema": "http://json-schema.org/draft-07/schema#", "type": "object", "additionalProperties": false, "properties": { "username": { "type": "string" }, "password": { "type": "string" }, "authentificationMethod": { "type": "string", "enum": ["password", "sms"] }, "profile": { "type": "object" } }, "required": ["username"], "definitions": {} }, resSchema: { "$schema": "http://json-schema.org/draft-07/schema#", "type": "object", "additionalProperties": false, "properties": { "status": { "type": "string", "enum": ["success", "error", "userExists", "passwordError"] }, "user": { "type": "object", "properties": { "_id": { "type": "string" }, "username": { "type": "string" }, "token": { "type": "string" } }, "required": ["_id", "username", "token"], "additionalProperties": false } }, "required": ["status"], "definitions": {} } };
90
+ exports.__schemas = { reqSchema: { "type": "object", "additionalProperties": false, "properties": { "username": { "type": "string" }, "password": { "type": "string" }, "authentificationMethod": { "type": "string", "enum": ["password", "sms"] }, "profile": { "type": "object" } }, "required": ["username"] }, resSchema: { "type": "object", "additionalProperties": false, "properties": { "status": { "type": "string", "enum": ["success", "error", "userExists", "passwordError"] }, "user": { "type": "object", "properties": { "_id": { "type": "string" }, "username": { "type": "string" }, "token": { "type": "string" } }, "required": ["_id", "username", "token"], "additionalProperties": false } }, "required": ["status"] } };
@@ -66,4 +66,4 @@ var userLoginHandler = function (_a) {
66
66
  };
67
67
  exports.default = userLoginHandler;
68
68
  exports.__assumedHttpMethod = "", exports.__file = "UserLogin.ts", exports.__query = [], exports.__params = [];
69
- exports.__schemas = { reqSchema: { "$schema": "http://json-schema.org/draft-07/schema#", "type": "object", "additionalProperties": false, "properties": { "username": { "type": "string" }, "password": { "type": "string" } }, "required": ["username"], "definitions": {} }, resSchema: { "$schema": "http://json-schema.org/draft-07/schema#", "type": "object", "additionalProperties": false, "properties": { "status": { "type": "string", "enum": ["success", "failed", "requiresValidation"] }, "user": { "type": "object", "properties": { "_id": { "type": "string" }, "username": { "type": "string" }, "token": { "type": "string" }, "profile": { "type": "object" } }, "required": ["_id", "username", "token", "profile"], "additionalProperties": false }, "validationToken": { "type": "string" } }, "required": ["status"], "definitions": {} } };
69
+ exports.__schemas = { reqSchema: { "type": "object", "additionalProperties": false, "properties": { "username": { "type": "string" }, "password": { "type": "string" } }, "required": ["username"] }, resSchema: { "type": "object", "additionalProperties": false, "properties": { "status": { "type": "string", "enum": ["success", "failed", "requiresValidation"] }, "user": { "type": "object", "properties": { "_id": { "type": "string" }, "username": { "type": "string" }, "token": { "type": "string" }, "profile": { "type": "object" } }, "required": ["_id", "username", "token", "profile"], "additionalProperties": false }, "validationToken": { "type": "string" } }, "required": ["status"] } };
@@ -66,4 +66,4 @@ var userLoginHandler = function (_a) {
66
66
  };
67
67
  exports.default = userLoginHandler;
68
68
  exports.__assumedHttpMethod = "", exports.__file = "UserLoginByToken.ts", exports.__query = [], exports.__params = [];
69
- exports.__schemas = { reqSchema: { "$schema": "http://json-schema.org/draft-07/schema#", "type": "object", "additionalProperties": false, "properties": { "token": { "type": "string" }, "code": { "type": "string" } }, "required": ["code", "token"], "definitions": {} }, resSchema: { "$schema": "http://json-schema.org/draft-07/schema#", "type": "object", "additionalProperties": false, "properties": { "status": { "type": "string", "enum": ["success", "failed", "requiresValidation"] }, "user": { "type": "object", "properties": { "_id": { "type": "string" }, "username": { "type": "string" }, "token": { "type": "string" }, "profile": { "type": "object" } }, "required": ["_id", "username", "token", "profile"], "additionalProperties": false }, "validationToken": { "type": "string" } }, "required": ["status"], "definitions": {} } };
69
+ exports.__schemas = { reqSchema: { "type": "object", "additionalProperties": false, "properties": { "token": { "type": "string" }, "code": { "type": "string" } }, "required": ["code", "token"] }, resSchema: { "type": "object", "additionalProperties": false, "properties": { "status": { "type": "string", "enum": ["success", "failed", "requiresValidation"] }, "user": { "type": "object", "properties": { "_id": { "type": "string" }, "username": { "type": "string" }, "token": { "type": "string" }, "profile": { "type": "object" } }, "required": ["_id", "username", "token", "profile"], "additionalProperties": false }, "validationToken": { "type": "string" } }, "required": ["status"] } };