@foldspace-fe/casdoor-next-auth-kit 0.1.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.
Files changed (40) hide show
  1. package/dist/billing/index.d.ts +16 -0
  2. package/dist/billing/index.js +28 -0
  3. package/dist/billing/index.js.map +1 -0
  4. package/dist/callback-BTzHQK_r.d.ts +12 -0
  5. package/dist/casdoor/index.d.ts +28 -0
  6. package/dist/casdoor/index.js +40 -0
  7. package/dist/casdoor/index.js.map +1 -0
  8. package/dist/chunk-6E27SZ7V.js +291 -0
  9. package/dist/chunk-6E27SZ7V.js.map +1 -0
  10. package/dist/chunk-DONQHN4U.js +56 -0
  11. package/dist/chunk-DONQHN4U.js.map +1 -0
  12. package/dist/chunk-IQEVUR77.js +909 -0
  13. package/dist/chunk-IQEVUR77.js.map +1 -0
  14. package/dist/chunk-RGTVPBH7.js +182 -0
  15. package/dist/chunk-RGTVPBH7.js.map +1 -0
  16. package/dist/chunk-T2M5MVPE.js +20 -0
  17. package/dist/chunk-T2M5MVPE.js.map +1 -0
  18. package/dist/chunk-XMBHIEYL.js +1 -0
  19. package/dist/chunk-XMBHIEYL.js.map +1 -0
  20. package/dist/chunk-Y4GJ2AEI.js +192 -0
  21. package/dist/chunk-Y4GJ2AEI.js.map +1 -0
  22. package/dist/cli.d.ts +2 -0
  23. package/dist/cli.js +437 -0
  24. package/dist/cli.js.map +1 -0
  25. package/dist/index.d.ts +77 -0
  26. package/dist/index.js +148 -0
  27. package/dist/index.js.map +1 -0
  28. package/dist/next/index.d.ts +17 -0
  29. package/dist/next/index.js +24 -0
  30. package/dist/next/index.js.map +1 -0
  31. package/dist/options-JUwZSXu2.d.ts +40 -0
  32. package/dist/react/index.d.ts +242 -0
  33. package/dist/react/index.js +774 -0
  34. package/dist/react/index.js.map +1 -0
  35. package/dist/skills/casdoor-next-auth-kit/SKILL.md +158 -0
  36. package/dist/skills/casdoor-next-auth-kit/references/casdoor-api-reference.md +2387 -0
  37. package/dist/skills/casdoor-next-auth-kit/references/swagger.json +3686 -0
  38. package/dist/types-BPsPs5Rv.d.ts +337 -0
  39. package/dist/types-DqVXdUge.d.ts +121 -0
  40. package/package.json +69 -0
@@ -0,0 +1,3686 @@
1
+ {
2
+ "swagger": "2.0",
3
+ "info": {
4
+ "title": "Casdoor RESTful API",
5
+ "description": "Swagger Docs of Casdoor Backend API",
6
+ "version": "1.503.0",
7
+ "contact": {
8
+ "email": "casbin@googlegroups.com"
9
+ }
10
+ },
11
+ "basePath": "/auth",
12
+ "schemes": [
13
+ "https",
14
+ "http"
15
+ ],
16
+ "paths": {
17
+ "/auth/api/add-order": {
18
+ "post": {
19
+ "tags": [
20
+ "Order API"
21
+ ],
22
+ "description": "add order",
23
+ "operationId": "ApiController.AddOrder",
24
+ "parameters": [
25
+ {
26
+ "in": "body",
27
+ "name": "body",
28
+ "description": "The details of the order",
29
+ "required": true,
30
+ "schema": {
31
+ "$ref": "#/definitions/object.Order"
32
+ }
33
+ }
34
+ ],
35
+ "responses": {
36
+ "200": {
37
+ "description": "The Response object",
38
+ "schema": {
39
+ "$ref": "#/definitions/controllers.Response"
40
+ }
41
+ }
42
+ }
43
+ }
44
+ },
45
+ "/auth/api/add-user-keys": {
46
+ "post": {
47
+ "tags": [
48
+ "User API"
49
+ ],
50
+ "operationId": "ApiController.AddUserKeys",
51
+ "responses": {
52
+ "200": {
53
+ "description": "The Response object",
54
+ "schema": {
55
+ "$ref": "#/definitions/object.Userinfo"
56
+ }
57
+ }
58
+ }
59
+ }
60
+ },
61
+ "/auth/api/buy-product": {
62
+ "post": {
63
+ "tags": [
64
+ "Product API"
65
+ ],
66
+ "description": "buy product",
67
+ "operationId": "ApiController.BuyProduct",
68
+ "parameters": [
69
+ {
70
+ "in": "query",
71
+ "name": "id",
72
+ "description": "The id ( owner/name ) of the product",
73
+ "required": true,
74
+ "type": "string"
75
+ },
76
+ {
77
+ "in": "query",
78
+ "name": "providerName",
79
+ "description": "The name of the provider",
80
+ "required": true,
81
+ "type": "string"
82
+ }
83
+ ],
84
+ "responses": {
85
+ "200": {
86
+ "description": "The Response object",
87
+ "schema": {
88
+ "$ref": "#/definitions/controllers.Response"
89
+ }
90
+ }
91
+ }
92
+ }
93
+ },
94
+ "/auth/api/check-user-password": {
95
+ "post": {
96
+ "tags": [
97
+ "User API"
98
+ ],
99
+ "operationId": "ApiController.CheckUserPassword",
100
+ "responses": {
101
+ "200": {
102
+ "description": "The Response object",
103
+ "schema": {
104
+ "$ref": "#/definitions/object.Userinfo"
105
+ }
106
+ }
107
+ }
108
+ }
109
+ },
110
+ "/auth/api/delete-mfa/": {
111
+ "post": {
112
+ "tags": [
113
+ "MFA API"
114
+ ],
115
+ "description": ": Delete MFA",
116
+ "operationId": "ApiController.DeleteMfa",
117
+ "responses": {
118
+ "200": {
119
+ "description": "The Response object",
120
+ "schema": {
121
+ "$ref": "#/definitions/controllers.Response"
122
+ }
123
+ }
124
+ }
125
+ }
126
+ },
127
+ "/auth/api/faceid-signin-begin": {
128
+ "get": {
129
+ "tags": [
130
+ "Login API"
131
+ ],
132
+ "description": "FaceId Login Flow 1st stage",
133
+ "operationId": "ApiController.FaceIDSigninBegin",
134
+ "parameters": [
135
+ {
136
+ "in": "query",
137
+ "name": "owner",
138
+ "description": "owner",
139
+ "required": true,
140
+ "type": "string"
141
+ },
142
+ {
143
+ "in": "query",
144
+ "name": "name",
145
+ "description": "name",
146
+ "required": true,
147
+ "type": "string"
148
+ }
149
+ ],
150
+ "responses": {
151
+ "200": {
152
+ "description": "The Response object",
153
+ "schema": {
154
+ "$ref": "#/definitions/controllers.Response"
155
+ }
156
+ }
157
+ }
158
+ }
159
+ },
160
+ "/auth/api/get-account": {
161
+ "get": {
162
+ "tags": [
163
+ "Account API"
164
+ ],
165
+ "description": "get the details of the current account",
166
+ "operationId": "ApiController.GetAccount",
167
+ "responses": {
168
+ "200": {
169
+ "description": "The Response object",
170
+ "schema": {
171
+ "$ref": "#/definitions/controllers.Response"
172
+ }
173
+ }
174
+ }
175
+ }
176
+ },
177
+ "/auth/api/get-app-login": {
178
+ "get": {
179
+ "tags": [
180
+ "Login API"
181
+ ],
182
+ "description": "get application login",
183
+ "operationId": "ApiController.GetApplicationLogin",
184
+ "parameters": [
185
+ {
186
+ "in": "query",
187
+ "name": "clientId",
188
+ "description": "client id",
189
+ "required": true,
190
+ "type": "string"
191
+ },
192
+ {
193
+ "in": "query",
194
+ "name": "responseType",
195
+ "description": "response type",
196
+ "required": true,
197
+ "type": "string"
198
+ },
199
+ {
200
+ "in": "query",
201
+ "name": "redirectUri",
202
+ "description": "redirect uri",
203
+ "required": true,
204
+ "type": "string"
205
+ },
206
+ {
207
+ "in": "query",
208
+ "name": "scope",
209
+ "description": "scope",
210
+ "required": true,
211
+ "type": "string"
212
+ },
213
+ {
214
+ "in": "query",
215
+ "name": "state",
216
+ "description": "state",
217
+ "required": true,
218
+ "type": "string"
219
+ }
220
+ ],
221
+ "responses": {
222
+ "200": {
223
+ "description": "The Response object",
224
+ "schema": {
225
+ "$ref": "#/definitions/controllers.Response"
226
+ }
227
+ }
228
+ }
229
+ }
230
+ },
231
+ "/auth/api/get-captcha": {
232
+ "get": {
233
+ "tags": [
234
+ "Login API"
235
+ ],
236
+ "operationId": "ApiController.GetCaptcha",
237
+ "responses": {
238
+ "200": {
239
+ "description": "The Response object",
240
+ "schema": {
241
+ "$ref": "#/definitions/object.Userinfo"
242
+ }
243
+ }
244
+ }
245
+ }
246
+ },
247
+ "/auth/api/get-captcha-status": {
248
+ "get": {
249
+ "tags": [
250
+ "Token API"
251
+ ],
252
+ "description": "Get Login Error Counts",
253
+ "operationId": "ApiController.GetCaptchaStatus",
254
+ "parameters": [
255
+ {
256
+ "in": "query",
257
+ "name": "id",
258
+ "description": "The id ( owner/name ) of user",
259
+ "required": true,
260
+ "type": "string"
261
+ }
262
+ ],
263
+ "responses": {
264
+ "200": {
265
+ "description": "The Response object",
266
+ "schema": {
267
+ "$ref": "#/definitions/controllers.Response"
268
+ }
269
+ }
270
+ }
271
+ }
272
+ },
273
+ "/auth/api/get-email-and-phone": {
274
+ "get": {
275
+ "tags": [
276
+ "User API"
277
+ ],
278
+ "description": "get email and phone by username",
279
+ "operationId": "ApiController.GetEmailAndPhone",
280
+ "parameters": [
281
+ {
282
+ "in": "formData",
283
+ "name": "username",
284
+ "description": "The username of the user",
285
+ "required": true,
286
+ "type": "string"
287
+ },
288
+ {
289
+ "in": "formData",
290
+ "name": "organization",
291
+ "description": "The organization of the user",
292
+ "required": true,
293
+ "type": "string"
294
+ }
295
+ ],
296
+ "responses": {
297
+ "200": {
298
+ "description": "The Response object",
299
+ "schema": {
300
+ "$ref": "#/definitions/controllers.Response"
301
+ }
302
+ }
303
+ }
304
+ }
305
+ },
306
+ "/auth/api/get-invitation": {
307
+ "get": {
308
+ "tags": [
309
+ "Invitation API"
310
+ ],
311
+ "description": "get invitation",
312
+ "operationId": "ApiController.GetInvitation",
313
+ "parameters": [
314
+ {
315
+ "in": "query",
316
+ "name": "id",
317
+ "description": "The id ( owner/name ) of the invitation",
318
+ "required": true,
319
+ "type": "string"
320
+ }
321
+ ],
322
+ "responses": {
323
+ "200": {
324
+ "description": "The Response object",
325
+ "schema": {
326
+ "$ref": "#/definitions/object.Invitation"
327
+ }
328
+ }
329
+ }
330
+ }
331
+ },
332
+ "/auth/api/get-invitation-info": {
333
+ "get": {
334
+ "tags": [
335
+ "Invitation API"
336
+ ],
337
+ "description": "get invitation code information",
338
+ "operationId": "ApiController.GetInvitationCodeInfo",
339
+ "parameters": [
340
+ {
341
+ "in": "query",
342
+ "name": "code",
343
+ "description": "Invitation code",
344
+ "required": true,
345
+ "type": "string"
346
+ }
347
+ ],
348
+ "responses": {
349
+ "200": {
350
+ "description": "The Response object",
351
+ "schema": {
352
+ "$ref": "#/definitions/object.Invitation"
353
+ }
354
+ }
355
+ }
356
+ }
357
+ },
358
+ "/auth/api/get-invitations": {
359
+ "get": {
360
+ "tags": [
361
+ "Invitation API"
362
+ ],
363
+ "description": "get invitations",
364
+ "operationId": "ApiController.GetInvitations",
365
+ "parameters": [
366
+ {
367
+ "in": "query",
368
+ "name": "owner",
369
+ "description": "The owner of invitations",
370
+ "required": true,
371
+ "type": "string"
372
+ }
373
+ ],
374
+ "responses": {
375
+ "200": {
376
+ "description": "The Response object",
377
+ "schema": {
378
+ "type": "array",
379
+ "items": {
380
+ "$ref": "#/definitions/object.Invitation"
381
+ }
382
+ }
383
+ }
384
+ }
385
+ }
386
+ },
387
+ "/auth/api/get-order": {
388
+ "get": {
389
+ "tags": [
390
+ "Order API"
391
+ ],
392
+ "description": "get order",
393
+ "operationId": "ApiController.GetOrder",
394
+ "parameters": [
395
+ {
396
+ "in": "query",
397
+ "name": "id",
398
+ "description": "The id ( owner/name ) of the order",
399
+ "required": true,
400
+ "type": "string"
401
+ }
402
+ ],
403
+ "responses": {
404
+ "200": {
405
+ "description": "The Response object",
406
+ "schema": {
407
+ "$ref": "#/definitions/object.Order"
408
+ }
409
+ }
410
+ }
411
+ }
412
+ },
413
+ "/auth/api/get-orders": {
414
+ "get": {
415
+ "tags": [
416
+ "Order API"
417
+ ],
418
+ "description": "get orders",
419
+ "operationId": "ApiController.GetOrders",
420
+ "parameters": [
421
+ {
422
+ "in": "query",
423
+ "name": "owner",
424
+ "description": "The owner of orders",
425
+ "required": true,
426
+ "type": "string"
427
+ }
428
+ ],
429
+ "responses": {
430
+ "200": {
431
+ "description": "The Response object",
432
+ "schema": {
433
+ "type": "array",
434
+ "items": {
435
+ "$ref": "#/definitions/object.Order"
436
+ }
437
+ }
438
+ }
439
+ }
440
+ }
441
+ },
442
+ "/auth/api/get-payment": {
443
+ "get": {
444
+ "tags": [
445
+ "Payment API"
446
+ ],
447
+ "description": "get payment",
448
+ "operationId": "ApiController.GetPayment",
449
+ "parameters": [
450
+ {
451
+ "in": "query",
452
+ "name": "id",
453
+ "description": "The id ( owner/name ) of the payment",
454
+ "required": true,
455
+ "type": "string"
456
+ }
457
+ ],
458
+ "responses": {
459
+ "200": {
460
+ "description": "The Response object",
461
+ "schema": {
462
+ "$ref": "#/definitions/object.Payment"
463
+ }
464
+ }
465
+ }
466
+ }
467
+ },
468
+ "/auth/api/get-payments": {
469
+ "get": {
470
+ "tags": [
471
+ "Payment API"
472
+ ],
473
+ "description": "get payments",
474
+ "operationId": "ApiController.GetPayments",
475
+ "parameters": [
476
+ {
477
+ "in": "query",
478
+ "name": "owner",
479
+ "description": "The owner of payments",
480
+ "required": true,
481
+ "type": "string"
482
+ }
483
+ ],
484
+ "responses": {
485
+ "200": {
486
+ "description": "The Response object",
487
+ "schema": {
488
+ "type": "array",
489
+ "items": {
490
+ "$ref": "#/definitions/object.Payment"
491
+ }
492
+ }
493
+ }
494
+ }
495
+ }
496
+ },
497
+ "/auth/api/get-plan": {
498
+ "get": {
499
+ "tags": [
500
+ "Plan API"
501
+ ],
502
+ "description": "get plan",
503
+ "operationId": "ApiController.GetPlan",
504
+ "parameters": [
505
+ {
506
+ "in": "query",
507
+ "name": "id",
508
+ "description": "The id ( owner/name ) of the plan",
509
+ "required": true,
510
+ "type": "string"
511
+ },
512
+ {
513
+ "in": "query",
514
+ "name": "includeOption",
515
+ "description": "Should include plan's option",
516
+ "type": "boolean"
517
+ }
518
+ ],
519
+ "responses": {
520
+ "200": {
521
+ "description": "The Response object",
522
+ "schema": {
523
+ "$ref": "#/definitions/object.Plan"
524
+ }
525
+ }
526
+ }
527
+ }
528
+ },
529
+ "/auth/api/get-plans": {
530
+ "get": {
531
+ "tags": [
532
+ "Plan API"
533
+ ],
534
+ "description": "get plans",
535
+ "operationId": "ApiController.GetPlans",
536
+ "parameters": [
537
+ {
538
+ "in": "query",
539
+ "name": "owner",
540
+ "description": "The owner of plans",
541
+ "required": true,
542
+ "type": "string"
543
+ }
544
+ ],
545
+ "responses": {
546
+ "200": {
547
+ "description": "The Response object",
548
+ "schema": {
549
+ "type": "array",
550
+ "items": {
551
+ "$ref": "#/definitions/object.Plan"
552
+ }
553
+ }
554
+ }
555
+ }
556
+ }
557
+ },
558
+ "/auth/api/get-pricing": {
559
+ "get": {
560
+ "tags": [
561
+ "Pricing API"
562
+ ],
563
+ "description": "get pricing",
564
+ "operationId": "ApiController.GetPricing",
565
+ "parameters": [
566
+ {
567
+ "in": "query",
568
+ "name": "id",
569
+ "description": "The id ( owner/name ) of the pricing",
570
+ "required": true,
571
+ "type": "string"
572
+ }
573
+ ],
574
+ "responses": {
575
+ "200": {
576
+ "description": "The Response object",
577
+ "schema": {
578
+ "$ref": "#/definitions/object.Pricing"
579
+ }
580
+ }
581
+ }
582
+ }
583
+ },
584
+ "/auth/api/get-pricings": {
585
+ "get": {
586
+ "tags": [
587
+ "Pricing API"
588
+ ],
589
+ "description": "get pricings",
590
+ "operationId": "ApiController.GetPricings",
591
+ "parameters": [
592
+ {
593
+ "in": "query",
594
+ "name": "owner",
595
+ "description": "The owner of pricings",
596
+ "required": true,
597
+ "type": "string"
598
+ }
599
+ ],
600
+ "responses": {
601
+ "200": {
602
+ "description": "The Response object",
603
+ "schema": {
604
+ "type": "array",
605
+ "items": {
606
+ "$ref": "#/definitions/object.Pricing"
607
+ }
608
+ }
609
+ }
610
+ }
611
+ }
612
+ },
613
+ "/auth/api/get-product": {
614
+ "get": {
615
+ "tags": [
616
+ "Product API"
617
+ ],
618
+ "description": "get product",
619
+ "operationId": "ApiController.GetProduct",
620
+ "parameters": [
621
+ {
622
+ "in": "query",
623
+ "name": "id",
624
+ "description": "The id ( owner/name ) of the product",
625
+ "required": true,
626
+ "type": "string"
627
+ }
628
+ ],
629
+ "responses": {
630
+ "200": {
631
+ "description": "The Response object",
632
+ "schema": {
633
+ "$ref": "#/definitions/object.Product"
634
+ }
635
+ }
636
+ }
637
+ }
638
+ },
639
+ "/auth/api/get-products": {
640
+ "get": {
641
+ "tags": [
642
+ "Product API"
643
+ ],
644
+ "description": "get products",
645
+ "operationId": "ApiController.GetProducts",
646
+ "parameters": [
647
+ {
648
+ "in": "query",
649
+ "name": "owner",
650
+ "description": "The owner of products",
651
+ "required": true,
652
+ "type": "string"
653
+ }
654
+ ],
655
+ "responses": {
656
+ "200": {
657
+ "description": "The Response object",
658
+ "schema": {
659
+ "type": "array",
660
+ "items": {
661
+ "$ref": "#/definitions/object.Product"
662
+ }
663
+ }
664
+ }
665
+ }
666
+ }
667
+ },
668
+ "/auth/api/get-resource": {
669
+ "get": {
670
+ "tags": [
671
+ "Resource API"
672
+ ],
673
+ "description": "get resource",
674
+ "operationId": "ApiController.GetResource",
675
+ "parameters": [
676
+ {
677
+ "in": "query",
678
+ "name": "id",
679
+ "description": "The id ( owner/name ) of resource",
680
+ "required": true,
681
+ "type": "string"
682
+ }
683
+ ],
684
+ "responses": {
685
+ "200": {
686
+ "description": "The Response object",
687
+ "schema": {
688
+ "$ref": "#/definitions/object.Resource"
689
+ }
690
+ }
691
+ }
692
+ }
693
+ },
694
+ "/auth/api/get-resources": {
695
+ "get": {
696
+ "tags": [
697
+ "Resource API"
698
+ ],
699
+ "description": "get resources",
700
+ "operationId": "ApiController.GetResources",
701
+ "parameters": [
702
+ {
703
+ "in": "query",
704
+ "name": "owner",
705
+ "description": "Owner",
706
+ "required": true,
707
+ "type": "string"
708
+ },
709
+ {
710
+ "in": "query",
711
+ "name": "user",
712
+ "description": "User",
713
+ "required": true,
714
+ "type": "string"
715
+ },
716
+ {
717
+ "in": "query",
718
+ "name": "pageSize",
719
+ "description": "Page Size",
720
+ "type": "integer"
721
+ },
722
+ {
723
+ "in": "query",
724
+ "name": "p",
725
+ "description": "Page Number",
726
+ "type": "integer"
727
+ },
728
+ {
729
+ "in": "query",
730
+ "name": "field",
731
+ "description": "Field",
732
+ "type": "string"
733
+ },
734
+ {
735
+ "in": "query",
736
+ "name": "value",
737
+ "description": "Value",
738
+ "type": "string"
739
+ },
740
+ {
741
+ "in": "query",
742
+ "name": "sortField",
743
+ "description": "Sort Field",
744
+ "type": "string"
745
+ },
746
+ {
747
+ "in": "query",
748
+ "name": "sortOrder",
749
+ "description": "Sort Order",
750
+ "type": "string"
751
+ }
752
+ ],
753
+ "responses": {
754
+ "200": {
755
+ "description": "The Response object",
756
+ "schema": {
757
+ "type": "array",
758
+ "items": {
759
+ "$ref": "#/definitions/object.Resource"
760
+ }
761
+ }
762
+ }
763
+ }
764
+ }
765
+ },
766
+ "/auth/api/get-session": {
767
+ "get": {
768
+ "tags": [
769
+ "Session API"
770
+ ],
771
+ "description": "Get session for one user in one application.",
772
+ "operationId": "ApiController.GetSingleSession",
773
+ "parameters": [
774
+ {
775
+ "in": "query",
776
+ "name": "sessionPkId",
777
+ "description": "The id(organization/user/application) of session",
778
+ "required": true,
779
+ "type": "string"
780
+ }
781
+ ],
782
+ "responses": {
783
+ "200": {
784
+ "description": "The Response object",
785
+ "schema": {
786
+ "type": "array",
787
+ "items": {
788
+ "type": "string"
789
+ }
790
+ }
791
+ }
792
+ }
793
+ }
794
+ },
795
+ "/auth/api/get-subscription": {
796
+ "get": {
797
+ "tags": [
798
+ "Subscription API"
799
+ ],
800
+ "description": "get subscription",
801
+ "operationId": "ApiController.GetSubscription",
802
+ "parameters": [
803
+ {
804
+ "in": "query",
805
+ "name": "id",
806
+ "description": "The id ( owner/name ) of the subscription",
807
+ "required": true,
808
+ "type": "string"
809
+ }
810
+ ],
811
+ "responses": {
812
+ "200": {
813
+ "description": "The Response object",
814
+ "schema": {
815
+ "$ref": "#/definitions/object.Subscription"
816
+ }
817
+ }
818
+ }
819
+ }
820
+ },
821
+ "/auth/api/get-subscriptions": {
822
+ "get": {
823
+ "tags": [
824
+ "Subscription API"
825
+ ],
826
+ "description": "get subscriptions",
827
+ "operationId": "ApiController.GetSubscriptions",
828
+ "parameters": [
829
+ {
830
+ "in": "query",
831
+ "name": "owner",
832
+ "description": "The owner of subscriptions",
833
+ "required": true,
834
+ "type": "string"
835
+ }
836
+ ],
837
+ "responses": {
838
+ "200": {
839
+ "description": "The Response object",
840
+ "schema": {
841
+ "type": "array",
842
+ "items": {
843
+ "$ref": "#/definitions/object.Subscription"
844
+ }
845
+ }
846
+ }
847
+ }
848
+ }
849
+ },
850
+ "/auth/api/get-token": {
851
+ "get": {
852
+ "tags": [
853
+ "Token API"
854
+ ],
855
+ "description": "get token",
856
+ "operationId": "ApiController.GetToken",
857
+ "parameters": [
858
+ {
859
+ "in": "query",
860
+ "name": "id",
861
+ "description": "The id ( owner/name ) of token",
862
+ "required": true,
863
+ "type": "string"
864
+ }
865
+ ],
866
+ "responses": {
867
+ "200": {
868
+ "description": "The Response object",
869
+ "schema": {
870
+ "$ref": "#/definitions/object.Token"
871
+ }
872
+ }
873
+ }
874
+ }
875
+ },
876
+ "/auth/api/get-transaction": {
877
+ "get": {
878
+ "tags": [
879
+ "Transaction API"
880
+ ],
881
+ "description": "get transaction",
882
+ "operationId": "ApiController.GetTransaction",
883
+ "parameters": [
884
+ {
885
+ "in": "query",
886
+ "name": "id",
887
+ "description": "The id ( owner/name ) of the transaction",
888
+ "required": true,
889
+ "type": "string"
890
+ }
891
+ ],
892
+ "responses": {
893
+ "200": {
894
+ "description": "The Response object",
895
+ "schema": {
896
+ "$ref": "#/definitions/object.Transaction"
897
+ }
898
+ }
899
+ }
900
+ }
901
+ },
902
+ "/auth/api/get-transactions": {
903
+ "get": {
904
+ "tags": [
905
+ "Transaction API"
906
+ ],
907
+ "description": "get transactions",
908
+ "operationId": "ApiController.GetTransactions",
909
+ "parameters": [
910
+ {
911
+ "in": "query",
912
+ "name": "owner",
913
+ "description": "The owner of transactions",
914
+ "required": true,
915
+ "type": "string"
916
+ }
917
+ ],
918
+ "responses": {
919
+ "200": {
920
+ "description": "The Response object",
921
+ "schema": {
922
+ "type": "array",
923
+ "items": {
924
+ "$ref": "#/definitions/object.Transaction"
925
+ }
926
+ }
927
+ }
928
+ }
929
+ }
930
+ },
931
+ "/auth/api/get-user": {
932
+ "get": {
933
+ "tags": [
934
+ "User API"
935
+ ],
936
+ "description": "get user",
937
+ "operationId": "ApiController.GetUser",
938
+ "parameters": [
939
+ {
940
+ "in": "query",
941
+ "name": "id",
942
+ "description": "The id ( owner/name ) of the user",
943
+ "type": "string"
944
+ },
945
+ {
946
+ "in": "query",
947
+ "name": "owner",
948
+ "description": "The owner of the user",
949
+ "type": "string"
950
+ },
951
+ {
952
+ "in": "query",
953
+ "name": "email",
954
+ "description": "The email of the user",
955
+ "type": "string"
956
+ },
957
+ {
958
+ "in": "query",
959
+ "name": "phone",
960
+ "description": "The phone of the user",
961
+ "type": "string"
962
+ },
963
+ {
964
+ "in": "query",
965
+ "name": "userId",
966
+ "description": "The userId of the user",
967
+ "type": "string"
968
+ }
969
+ ],
970
+ "responses": {
971
+ "200": {
972
+ "description": "The Response object",
973
+ "schema": {
974
+ "$ref": "#/definitions/object.User"
975
+ }
976
+ }
977
+ }
978
+ }
979
+ },
980
+ "/auth/api/get-user-orders": {
981
+ "get": {
982
+ "tags": [
983
+ "Order API"
984
+ ],
985
+ "description": "get orders for a user",
986
+ "operationId": "ApiController.GetUserOrders",
987
+ "parameters": [
988
+ {
989
+ "in": "query",
990
+ "name": "owner",
991
+ "description": "The owner of orders",
992
+ "required": true,
993
+ "type": "string"
994
+ },
995
+ {
996
+ "in": "query",
997
+ "name": "user",
998
+ "description": "The username of the user",
999
+ "required": true,
1000
+ "type": "string"
1001
+ }
1002
+ ],
1003
+ "responses": {
1004
+ "200": {
1005
+ "description": "The Response object",
1006
+ "schema": {
1007
+ "type": "array",
1008
+ "items": {
1009
+ "$ref": "#/definitions/object.Order"
1010
+ }
1011
+ }
1012
+ }
1013
+ }
1014
+ }
1015
+ },
1016
+ "/auth/api/get-user-payments": {
1017
+ "get": {
1018
+ "tags": [
1019
+ "Payment API"
1020
+ ],
1021
+ "description": "get payments for a user",
1022
+ "operationId": "ApiController.GetUserPayments",
1023
+ "parameters": [
1024
+ {
1025
+ "in": "query",
1026
+ "name": "owner",
1027
+ "description": "The owner of payments",
1028
+ "required": true,
1029
+ "type": "string"
1030
+ },
1031
+ {
1032
+ "in": "query",
1033
+ "name": "organization",
1034
+ "description": "The organization of the user",
1035
+ "required": true,
1036
+ "type": "string"
1037
+ },
1038
+ {
1039
+ "in": "query",
1040
+ "name": "user",
1041
+ "description": "The username of the user",
1042
+ "required": true,
1043
+ "type": "string"
1044
+ }
1045
+ ],
1046
+ "responses": {
1047
+ "200": {
1048
+ "description": "The Response object",
1049
+ "schema": {
1050
+ "type": "array",
1051
+ "items": {
1052
+ "$ref": "#/definitions/object.Payment"
1053
+ }
1054
+ }
1055
+ }
1056
+ }
1057
+ }
1058
+ },
1059
+ "/auth/api/invoice-payment": {
1060
+ "post": {
1061
+ "tags": [
1062
+ "Payment API"
1063
+ ],
1064
+ "description": "invoice payment",
1065
+ "operationId": "ApiController.InvoicePayment",
1066
+ "parameters": [
1067
+ {
1068
+ "in": "query",
1069
+ "name": "id",
1070
+ "description": "The id ( owner/name ) of the payment",
1071
+ "required": true,
1072
+ "type": "string"
1073
+ }
1074
+ ],
1075
+ "responses": {
1076
+ "200": {
1077
+ "description": "The Response object",
1078
+ "schema": {
1079
+ "$ref": "#/definitions/controllers.Response"
1080
+ }
1081
+ }
1082
+ }
1083
+ }
1084
+ },
1085
+ "/auth/api/is-session-duplicated": {
1086
+ "get": {
1087
+ "tags": [
1088
+ "Session API"
1089
+ ],
1090
+ "description": "Check if there are other different sessions for one user in one application.",
1091
+ "operationId": "ApiController.IsSessionDuplicated",
1092
+ "parameters": [
1093
+ {
1094
+ "in": "query",
1095
+ "name": "sessionPkId",
1096
+ "description": "The id(organization/user/application) of session",
1097
+ "required": true,
1098
+ "type": "string"
1099
+ },
1100
+ {
1101
+ "in": "query",
1102
+ "name": "sessionId",
1103
+ "description": "sessionId to be checked",
1104
+ "required": true,
1105
+ "type": "string"
1106
+ }
1107
+ ],
1108
+ "responses": {
1109
+ "200": {
1110
+ "description": "The Response object",
1111
+ "schema": {
1112
+ "type": "array",
1113
+ "items": {
1114
+ "type": "string"
1115
+ }
1116
+ }
1117
+ }
1118
+ }
1119
+ }
1120
+ },
1121
+ "/auth/api/login": {
1122
+ "post": {
1123
+ "tags": [
1124
+ "Login API"
1125
+ ],
1126
+ "description": "login",
1127
+ "operationId": "ApiController.Login",
1128
+ "parameters": [
1129
+ {
1130
+ "in": "query",
1131
+ "name": "clientId",
1132
+ "description": "clientId",
1133
+ "required": true,
1134
+ "type": "string"
1135
+ },
1136
+ {
1137
+ "in": "query",
1138
+ "name": "responseType",
1139
+ "description": "responseType",
1140
+ "required": true,
1141
+ "type": "string"
1142
+ },
1143
+ {
1144
+ "in": "query",
1145
+ "name": "redirectUri",
1146
+ "description": "redirectUri",
1147
+ "required": true,
1148
+ "type": "string"
1149
+ },
1150
+ {
1151
+ "in": "query",
1152
+ "name": "scope",
1153
+ "description": "scope",
1154
+ "type": "string"
1155
+ },
1156
+ {
1157
+ "in": "query",
1158
+ "name": "state",
1159
+ "description": "state",
1160
+ "type": "string"
1161
+ },
1162
+ {
1163
+ "in": "query",
1164
+ "name": "nonce",
1165
+ "description": "nonce",
1166
+ "type": "string"
1167
+ },
1168
+ {
1169
+ "in": "query",
1170
+ "name": "code_challenge_method",
1171
+ "description": "code_challenge_method",
1172
+ "type": "string"
1173
+ },
1174
+ {
1175
+ "in": "query",
1176
+ "name": "code_challenge",
1177
+ "description": "code_challenge",
1178
+ "type": "string"
1179
+ },
1180
+ {
1181
+ "in": "body",
1182
+ "name": "form",
1183
+ "description": "Login information",
1184
+ "required": true,
1185
+ "schema": {
1186
+ "$ref": "#/definitions/controllers.AuthForm"
1187
+ }
1188
+ }
1189
+ ],
1190
+ "responses": {
1191
+ "200": {
1192
+ "description": "The Response object",
1193
+ "schema": {
1194
+ "$ref": "#/definitions/controllers.Response"
1195
+ }
1196
+ }
1197
+ }
1198
+ }
1199
+ },
1200
+ "/auth/api/login/oauth/access_token": {
1201
+ "post": {
1202
+ "tags": [
1203
+ "Token API"
1204
+ ],
1205
+ "description": "get OAuth access token",
1206
+ "operationId": "ApiController.GetOAuthToken",
1207
+ "parameters": [
1208
+ {
1209
+ "in": "query",
1210
+ "name": "grant_type",
1211
+ "description": "OAuth grant type",
1212
+ "required": true,
1213
+ "type": "string"
1214
+ },
1215
+ {
1216
+ "in": "query",
1217
+ "name": "client_id",
1218
+ "description": "OAuth client id",
1219
+ "required": true,
1220
+ "type": "string"
1221
+ },
1222
+ {
1223
+ "in": "query",
1224
+ "name": "client_secret",
1225
+ "description": "OAuth client secret",
1226
+ "required": true,
1227
+ "type": "string"
1228
+ },
1229
+ {
1230
+ "in": "query",
1231
+ "name": "code",
1232
+ "description": "OAuth code",
1233
+ "required": true,
1234
+ "type": "string"
1235
+ }
1236
+ ],
1237
+ "responses": {
1238
+ "200": {
1239
+ "description": "The Response object",
1240
+ "schema": {
1241
+ "$ref": "#/definitions/object.TokenWrapper"
1242
+ }
1243
+ },
1244
+ "400": {
1245
+ "description": "The Response object",
1246
+ "schema": {
1247
+ "$ref": "#/definitions/object.TokenError"
1248
+ }
1249
+ },
1250
+ "401": {
1251
+ "description": "The Response object",
1252
+ "schema": {
1253
+ "$ref": "#/definitions/object.TokenError"
1254
+ }
1255
+ }
1256
+ }
1257
+ }
1258
+ },
1259
+ "/auth/api/login/oauth/refresh_token": {
1260
+ "post": {
1261
+ "tags": [
1262
+ "Token API"
1263
+ ],
1264
+ "description": "refresh OAuth access token",
1265
+ "operationId": "ApiController.RefreshToken",
1266
+ "parameters": [
1267
+ {
1268
+ "in": "query",
1269
+ "name": "grant_type",
1270
+ "description": "OAuth grant type",
1271
+ "required": true,
1272
+ "type": "string"
1273
+ },
1274
+ {
1275
+ "in": "query",
1276
+ "name": "refresh_token",
1277
+ "description": "OAuth refresh token",
1278
+ "required": true,
1279
+ "type": "string"
1280
+ },
1281
+ {
1282
+ "in": "query",
1283
+ "name": "scope",
1284
+ "description": "OAuth scope",
1285
+ "required": true,
1286
+ "type": "string"
1287
+ },
1288
+ {
1289
+ "in": "query",
1290
+ "name": "client_id",
1291
+ "description": "OAuth client id",
1292
+ "required": true,
1293
+ "type": "string"
1294
+ },
1295
+ {
1296
+ "in": "query",
1297
+ "name": "client_secret",
1298
+ "description": "OAuth client secret",
1299
+ "type": "string"
1300
+ }
1301
+ ],
1302
+ "responses": {
1303
+ "200": {
1304
+ "description": "The Response object",
1305
+ "schema": {
1306
+ "$ref": "#/definitions/object.TokenWrapper"
1307
+ }
1308
+ },
1309
+ "400": {
1310
+ "description": "The Response object",
1311
+ "schema": {
1312
+ "$ref": "#/definitions/object.TokenError"
1313
+ }
1314
+ },
1315
+ "401": {
1316
+ "description": "The Response object",
1317
+ "schema": {
1318
+ "$ref": "#/definitions/object.TokenError"
1319
+ }
1320
+ }
1321
+ }
1322
+ }
1323
+ },
1324
+ "/auth/api/logout": {
1325
+ "post": {
1326
+ "tags": [
1327
+ "Login API"
1328
+ ],
1329
+ "description": "logout the current user",
1330
+ "operationId": "ApiController.Logout",
1331
+ "parameters": [
1332
+ {
1333
+ "in": "query",
1334
+ "name": "id_token_hint",
1335
+ "description": "id_token_hint",
1336
+ "type": "string"
1337
+ },
1338
+ {
1339
+ "in": "query",
1340
+ "name": "post_logout_redirect_uri",
1341
+ "description": "post_logout_redirect_uri",
1342
+ "type": "string"
1343
+ },
1344
+ {
1345
+ "in": "query",
1346
+ "name": "state",
1347
+ "description": "state",
1348
+ "type": "string"
1349
+ }
1350
+ ],
1351
+ "responses": {
1352
+ "200": {
1353
+ "description": "The Response object",
1354
+ "schema": {
1355
+ "$ref": "#/definitions/controllers.Response"
1356
+ }
1357
+ }
1358
+ }
1359
+ }
1360
+ },
1361
+ "/auth/api/mfa/setup/enable": {
1362
+ "post": {
1363
+ "tags": [
1364
+ "MFA API"
1365
+ ],
1366
+ "description": "enable totp",
1367
+ "operationId": "ApiController.MfaSetupEnable",
1368
+ "responses": {
1369
+ "200": {
1370
+ "description": "The Response object",
1371
+ "schema": {
1372
+ "$ref": "#/definitions/controllers.Response"
1373
+ }
1374
+ }
1375
+ }
1376
+ }
1377
+ },
1378
+ "/auth/api/mfa/setup/initiate": {
1379
+ "post": {
1380
+ "tags": [
1381
+ "MFA API"
1382
+ ],
1383
+ "description": "setup MFA",
1384
+ "operationId": "ApiController.MfaSetupInitiate",
1385
+ "responses": {
1386
+ "200": {
1387
+ "description": "The Response object",
1388
+ "schema": {
1389
+ "$ref": "#/definitions/controllers.Response"
1390
+ }
1391
+ }
1392
+ }
1393
+ }
1394
+ },
1395
+ "/auth/api/mfa/setup/verify": {
1396
+ "post": {
1397
+ "tags": [
1398
+ "MFA API"
1399
+ ],
1400
+ "description": "setup verify totp",
1401
+ "operationId": "ApiController.MfaSetupVerify",
1402
+ "responses": {
1403
+ "200": {
1404
+ "description": "The Response object",
1405
+ "schema": {
1406
+ "$ref": "#/definitions/controllers.Response"
1407
+ }
1408
+ }
1409
+ }
1410
+ }
1411
+ },
1412
+ "/auth/api/notify-payment": {
1413
+ "post": {
1414
+ "tags": [
1415
+ "Payment API"
1416
+ ],
1417
+ "description": "notify payment",
1418
+ "operationId": "ApiController.NotifyPayment",
1419
+ "parameters": [
1420
+ {
1421
+ "in": "body",
1422
+ "name": "body",
1423
+ "description": "The details of the payment",
1424
+ "required": true,
1425
+ "schema": {
1426
+ "$ref": "#/definitions/object.Payment"
1427
+ }
1428
+ }
1429
+ ],
1430
+ "responses": {
1431
+ "200": {
1432
+ "description": "The Response object",
1433
+ "schema": {
1434
+ "$ref": "#/definitions/controllers.Response"
1435
+ }
1436
+ }
1437
+ }
1438
+ }
1439
+ },
1440
+ "/auth/api/reset-email-or-phone": {
1441
+ "post": {
1442
+ "tags": [
1443
+ "Account API"
1444
+ ],
1445
+ "operationId": "ApiController.ResetEmailOrPhone",
1446
+ "responses": {
1447
+ "200": {
1448
+ "description": "The Response object",
1449
+ "schema": {
1450
+ "$ref": "#/definitions/object.Userinfo"
1451
+ }
1452
+ }
1453
+ }
1454
+ }
1455
+ },
1456
+ "/auth/api/send-invitation": {
1457
+ "post": {
1458
+ "tags": [
1459
+ "Invitation API"
1460
+ ],
1461
+ "description": "verify invitation",
1462
+ "operationId": "ApiController.VerifyInvitation",
1463
+ "parameters": [
1464
+ {
1465
+ "in": "query",
1466
+ "name": "id",
1467
+ "description": "The id ( owner/name ) of the invitation",
1468
+ "required": true,
1469
+ "type": "string"
1470
+ },
1471
+ {
1472
+ "in": "body",
1473
+ "name": "body",
1474
+ "description": "The details of the invitation",
1475
+ "required": true,
1476
+ "schema": {
1477
+ "type": "array",
1478
+ "items": {
1479
+ "type": "string"
1480
+ }
1481
+ }
1482
+ }
1483
+ ],
1484
+ "responses": {
1485
+ "200": {
1486
+ "description": "The Response object",
1487
+ "schema": {
1488
+ "$ref": "#/definitions/controllers.Response"
1489
+ }
1490
+ }
1491
+ }
1492
+ }
1493
+ },
1494
+ "/auth/api/send-verification-code": {
1495
+ "post": {
1496
+ "tags": [
1497
+ "Verification API"
1498
+ ],
1499
+ "operationId": "ApiController.SendVerificationCode",
1500
+ "responses": {
1501
+ "200": {
1502
+ "description": "The Response object",
1503
+ "schema": {
1504
+ "$ref": "#/definitions/object.Userinfo"
1505
+ }
1506
+ }
1507
+ }
1508
+ }
1509
+ },
1510
+ "/auth/api/set-password": {
1511
+ "post": {
1512
+ "tags": [
1513
+ "Account API"
1514
+ ],
1515
+ "description": "set password",
1516
+ "operationId": "ApiController.SetPassword",
1517
+ "parameters": [
1518
+ {
1519
+ "in": "formData",
1520
+ "name": "userOwner",
1521
+ "description": "The owner of the user",
1522
+ "required": true,
1523
+ "type": "string"
1524
+ },
1525
+ {
1526
+ "in": "formData",
1527
+ "name": "userName",
1528
+ "description": "The name of the user",
1529
+ "required": true,
1530
+ "type": "string"
1531
+ },
1532
+ {
1533
+ "in": "formData",
1534
+ "name": "oldPassword",
1535
+ "description": "The old password of the user",
1536
+ "required": true,
1537
+ "type": "string"
1538
+ },
1539
+ {
1540
+ "in": "formData",
1541
+ "name": "newPassword",
1542
+ "description": "The new password of the user",
1543
+ "required": true,
1544
+ "type": "string"
1545
+ }
1546
+ ],
1547
+ "responses": {
1548
+ "200": {
1549
+ "description": "The Response object",
1550
+ "schema": {
1551
+ "$ref": "#/definitions/controllers.Response"
1552
+ }
1553
+ }
1554
+ }
1555
+ }
1556
+ },
1557
+ "/auth/api/set-preferred-mfa": {
1558
+ "post": {
1559
+ "tags": [
1560
+ "MFA API"
1561
+ ],
1562
+ "description": ": Set specific Mfa Preferred",
1563
+ "operationId": "ApiController.SetPreferredMfa",
1564
+ "responses": {
1565
+ "200": {
1566
+ "description": "The Response object",
1567
+ "schema": {
1568
+ "$ref": "#/definitions/controllers.Response"
1569
+ }
1570
+ }
1571
+ }
1572
+ }
1573
+ },
1574
+ "/auth/api/signup": {
1575
+ "post": {
1576
+ "tags": [
1577
+ "Login API"
1578
+ ],
1579
+ "description": "sign up a new user",
1580
+ "operationId": "ApiController.Signup",
1581
+ "parameters": [
1582
+ {
1583
+ "in": "formData",
1584
+ "name": "username",
1585
+ "description": "The username to sign up",
1586
+ "required": true,
1587
+ "type": "string"
1588
+ },
1589
+ {
1590
+ "in": "formData",
1591
+ "name": "password",
1592
+ "description": "The password",
1593
+ "required": true,
1594
+ "type": "string"
1595
+ }
1596
+ ],
1597
+ "responses": {
1598
+ "200": {
1599
+ "description": "The Response object",
1600
+ "schema": {
1601
+ "$ref": "#/definitions/controllers.Response"
1602
+ }
1603
+ }
1604
+ }
1605
+ }
1606
+ },
1607
+ "/auth/api/sso-logout": {
1608
+ "get": {
1609
+ "tags": [
1610
+ "Login API"
1611
+ ],
1612
+ "description": "logout the current user from all applications",
1613
+ "operationId": "ApiController.SsoLogout",
1614
+ "responses": {
1615
+ "200": {
1616
+ "description": "The Response object",
1617
+ "schema": {
1618
+ "$ref": "#/definitions/controllers.Response"
1619
+ }
1620
+ }
1621
+ }
1622
+ },
1623
+ "post": {
1624
+ "tags": [
1625
+ "Login API"
1626
+ ],
1627
+ "description": "logout the current user from all applications",
1628
+ "operationId": "ApiController.SsoLogout",
1629
+ "responses": {
1630
+ "200": {
1631
+ "description": "The Response object",
1632
+ "schema": {
1633
+ "$ref": "#/definitions/controllers.Response"
1634
+ }
1635
+ }
1636
+ }
1637
+ }
1638
+ },
1639
+ "/auth/api/unlink": {
1640
+ "post": {
1641
+ "tags": [
1642
+ "Login API"
1643
+ ],
1644
+ "operationId": "ApiController.Unlink",
1645
+ "responses": {
1646
+ "200": {
1647
+ "description": "The Response object",
1648
+ "schema": {
1649
+ "$ref": "#/definitions/object.Userinfo"
1650
+ }
1651
+ }
1652
+ }
1653
+ }
1654
+ },
1655
+ "/auth/api/update-user": {
1656
+ "post": {
1657
+ "tags": [
1658
+ "User API"
1659
+ ],
1660
+ "description": "update user",
1661
+ "operationId": "ApiController.UpdateUser",
1662
+ "parameters": [
1663
+ {
1664
+ "in": "query",
1665
+ "name": "id",
1666
+ "description": "The id ( owner/name ) of the user",
1667
+ "type": "string"
1668
+ },
1669
+ {
1670
+ "in": "query",
1671
+ "name": "userId",
1672
+ "description": "The userId (UUID) of the user",
1673
+ "type": "string"
1674
+ },
1675
+ {
1676
+ "in": "query",
1677
+ "name": "owner",
1678
+ "description": "The owner of the user (required when using userId)",
1679
+ "type": "string"
1680
+ },
1681
+ {
1682
+ "in": "body",
1683
+ "name": "body",
1684
+ "description": "The details of the user",
1685
+ "required": true,
1686
+ "schema": {
1687
+ "$ref": "#/definitions/object.User"
1688
+ }
1689
+ }
1690
+ ],
1691
+ "responses": {
1692
+ "200": {
1693
+ "description": "The Response object",
1694
+ "schema": {
1695
+ "$ref": "#/definitions/controllers.Response"
1696
+ }
1697
+ }
1698
+ }
1699
+ }
1700
+ },
1701
+ "/auth/api/upload-resource": {
1702
+ "post": {
1703
+ "tags": [
1704
+ "Resource API"
1705
+ ],
1706
+ "operationId": "ApiController.UploadResource",
1707
+ "parameters": [
1708
+ {
1709
+ "in": "query",
1710
+ "name": "owner",
1711
+ "description": "Owner",
1712
+ "required": true,
1713
+ "type": "string"
1714
+ },
1715
+ {
1716
+ "in": "query",
1717
+ "name": "user",
1718
+ "description": "User",
1719
+ "required": true,
1720
+ "type": "string"
1721
+ },
1722
+ {
1723
+ "in": "query",
1724
+ "name": "application",
1725
+ "description": "Application",
1726
+ "required": true,
1727
+ "type": "string"
1728
+ },
1729
+ {
1730
+ "in": "query",
1731
+ "name": "tag",
1732
+ "description": "Tag",
1733
+ "type": "string"
1734
+ },
1735
+ {
1736
+ "in": "query",
1737
+ "name": "parent",
1738
+ "description": "Parent",
1739
+ "type": "string"
1740
+ },
1741
+ {
1742
+ "in": "query",
1743
+ "name": "fullFilePath",
1744
+ "description": "Full File Path",
1745
+ "required": true,
1746
+ "type": "string"
1747
+ },
1748
+ {
1749
+ "in": "query",
1750
+ "name": "createdTime",
1751
+ "description": "Created Time",
1752
+ "type": "string"
1753
+ },
1754
+ {
1755
+ "in": "query",
1756
+ "name": "description",
1757
+ "description": "Description",
1758
+ "type": "string"
1759
+ },
1760
+ {
1761
+ "in": "formData",
1762
+ "name": "file",
1763
+ "description": "Resource file",
1764
+ "required": true,
1765
+ "type": "file"
1766
+ }
1767
+ ],
1768
+ "responses": {
1769
+ "200": {
1770
+ "description": "FileUrl, objectKey",
1771
+ "schema": {
1772
+ "$ref": "#/definitions/object.Resource"
1773
+ }
1774
+ }
1775
+ }
1776
+ }
1777
+ },
1778
+ "/auth/api/user": {
1779
+ "get": {
1780
+ "tags": [
1781
+ "Account API"
1782
+ ],
1783
+ "description": "return Laravel compatible user information according to OAuth 2.0",
1784
+ "operationId": "ApiController.UserInfo2",
1785
+ "responses": {
1786
+ "200": {
1787
+ "description": "The Response object",
1788
+ "schema": {
1789
+ "$ref": "#/definitions/controllers.LaravelResponse"
1790
+ }
1791
+ }
1792
+ }
1793
+ }
1794
+ },
1795
+ "/auth/api/userinfo": {
1796
+ "get": {
1797
+ "tags": [
1798
+ "Account API"
1799
+ ],
1800
+ "description": "return user information according to OIDC standards",
1801
+ "operationId": "ApiController.UserInfo",
1802
+ "responses": {
1803
+ "200": {
1804
+ "description": "The Response object",
1805
+ "schema": {
1806
+ "$ref": "#/definitions/object.Userinfo"
1807
+ }
1808
+ }
1809
+ }
1810
+ }
1811
+ },
1812
+ "/auth/api/verify-captcha": {
1813
+ "post": {
1814
+ "tags": [
1815
+ "Verification API"
1816
+ ],
1817
+ "operationId": "ApiController.VerifyCaptcha",
1818
+ "responses": {
1819
+ "200": {
1820
+ "description": "The Response object",
1821
+ "schema": {
1822
+ "$ref": "#/definitions/object.Userinfo"
1823
+ }
1824
+ }
1825
+ }
1826
+ }
1827
+ },
1828
+ "/auth/api/verify-code": {
1829
+ "post": {
1830
+ "tags": [
1831
+ "Verification API"
1832
+ ],
1833
+ "operationId": "ApiController.VerifyCode",
1834
+ "responses": {
1835
+ "200": {
1836
+ "description": "The Response object",
1837
+ "schema": {
1838
+ "$ref": "#/definitions/object.Userinfo"
1839
+ }
1840
+ }
1841
+ }
1842
+ }
1843
+ },
1844
+ "/auth/api/verify-invitation": {
1845
+ "get": {
1846
+ "tags": [
1847
+ "Invitation API"
1848
+ ],
1849
+ "description": "verify invitation",
1850
+ "operationId": "ApiController.VerifyInvitation",
1851
+ "parameters": [
1852
+ {
1853
+ "in": "query",
1854
+ "name": "id",
1855
+ "description": "The id ( owner/name ) of the invitation",
1856
+ "required": true,
1857
+ "type": "string"
1858
+ }
1859
+ ],
1860
+ "responses": {
1861
+ "200": {
1862
+ "description": "The Response object",
1863
+ "schema": {
1864
+ "$ref": "#/definitions/controllers.Response"
1865
+ }
1866
+ }
1867
+ }
1868
+ }
1869
+ },
1870
+ "/auth/api/webauthn/signin/begin": {
1871
+ "get": {
1872
+ "tags": [
1873
+ "Login API"
1874
+ ],
1875
+ "description": "WebAuthn Login Flow 1st stage",
1876
+ "operationId": "ApiController.WebAuthnSigninBegin",
1877
+ "parameters": [
1878
+ {
1879
+ "in": "query",
1880
+ "name": "owner",
1881
+ "description": "owner",
1882
+ "required": true,
1883
+ "type": "string"
1884
+ },
1885
+ {
1886
+ "in": "query",
1887
+ "name": "name",
1888
+ "description": "name",
1889
+ "required": true,
1890
+ "type": "string"
1891
+ }
1892
+ ],
1893
+ "responses": {
1894
+ "200": {
1895
+ "description": "The CredentialAssertion object",
1896
+ "schema": {
1897
+ "$ref": "#/definitions/protocol.CredentialAssertion"
1898
+ }
1899
+ }
1900
+ }
1901
+ }
1902
+ },
1903
+ "/auth/api/webauthn/signin/finish": {
1904
+ "post": {
1905
+ "tags": [
1906
+ "Login API"
1907
+ ],
1908
+ "description": "WebAuthn Login Flow 2nd stage",
1909
+ "operationId": "ApiController.WebAuthnSigninFinish",
1910
+ "parameters": [
1911
+ {
1912
+ "in": "body",
1913
+ "name": "body",
1914
+ "description": "authenticator assertion Response",
1915
+ "required": true,
1916
+ "schema": {
1917
+ "$ref": "#/definitions/protocol.CredentialAssertionResponse"
1918
+ }
1919
+ }
1920
+ ],
1921
+ "responses": {
1922
+ "200": {
1923
+ "description": "\"The Response object\"",
1924
+ "schema": {
1925
+ "$ref": "#/definitions/controllers.Response"
1926
+ }
1927
+ }
1928
+ }
1929
+ }
1930
+ },
1931
+ "/auth/api/webauthn/signup/begin": {
1932
+ "get": {
1933
+ "tags": [
1934
+ "User API"
1935
+ ],
1936
+ "description": "WebAuthn Registration Flow 1st stage",
1937
+ "operationId": "ApiController.WebAuthnSignupBegin",
1938
+ "responses": {
1939
+ "200": {
1940
+ "description": "The CredentialCreationOptions object",
1941
+ "schema": {
1942
+ "$ref": "#/definitions/protocol.CredentialCreation"
1943
+ }
1944
+ }
1945
+ }
1946
+ }
1947
+ },
1948
+ "/auth/api/webauthn/signup/finish": {
1949
+ "post": {
1950
+ "tags": [
1951
+ "User API"
1952
+ ],
1953
+ "description": "WebAuthn Registration Flow 2nd stage",
1954
+ "operationId": "ApiController.WebAuthnSignupFinish",
1955
+ "parameters": [
1956
+ {
1957
+ "in": "body",
1958
+ "name": "body",
1959
+ "description": "authenticator attestation Response",
1960
+ "required": true,
1961
+ "schema": {
1962
+ "$ref": "#/definitions/protocol.CredentialCreationResponse"
1963
+ }
1964
+ }
1965
+ ],
1966
+ "responses": {
1967
+ "200": {
1968
+ "description": "\"The Response object\"",
1969
+ "schema": {
1970
+ "$ref": "#/definitions/controllers.Response"
1971
+ }
1972
+ }
1973
+ }
1974
+ }
1975
+ }
1976
+ },
1977
+ "definitions": {
1978
+ "controllers.AuthForm": {
1979
+ "title": "AuthForm",
1980
+ "type": "object"
1981
+ },
1982
+ "controllers.LaravelResponse": {
1983
+ "title": "LaravelResponse",
1984
+ "type": "object",
1985
+ "properties": {
1986
+ "created_at": {
1987
+ "type": "string"
1988
+ },
1989
+ "email": {
1990
+ "type": "string"
1991
+ },
1992
+ "email_verified_at": {
1993
+ "type": "string"
1994
+ },
1995
+ "id": {
1996
+ "type": "string"
1997
+ },
1998
+ "name": {
1999
+ "type": "string"
2000
+ },
2001
+ "updated_at": {
2002
+ "type": "string"
2003
+ }
2004
+ }
2005
+ },
2006
+ "controllers.Response": {
2007
+ "title": "Response",
2008
+ "type": "object",
2009
+ "properties": {
2010
+ "data": {
2011
+ "additionalProperties": {
2012
+ "description": "support string, struct or []struct",
2013
+ "type": "string"
2014
+ }
2015
+ },
2016
+ "data2": {
2017
+ "additionalProperties": {
2018
+ "description": "support string, struct or []struct",
2019
+ "type": "string"
2020
+ }
2021
+ },
2022
+ "data3": {
2023
+ "additionalProperties": {
2024
+ "description": "support string, struct or []struct",
2025
+ "type": "string"
2026
+ }
2027
+ },
2028
+ "msg": {
2029
+ "type": "string"
2030
+ },
2031
+ "name": {
2032
+ "type": "string"
2033
+ },
2034
+ "status": {
2035
+ "type": "string"
2036
+ },
2037
+ "sub": {
2038
+ "type": "string"
2039
+ }
2040
+ }
2041
+ },
2042
+ "object.FaceId": {
2043
+ "title": "FaceId",
2044
+ "type": "object",
2045
+ "properties": {
2046
+ "ImageUrl": {
2047
+ "type": "string"
2048
+ },
2049
+ "faceIdData": {
2050
+ "type": "array",
2051
+ "items": {
2052
+ "type": "number",
2053
+ "format": "double"
2054
+ }
2055
+ },
2056
+ "name": {
2057
+ "type": "string"
2058
+ }
2059
+ }
2060
+ },
2061
+ "object.Invitation": {
2062
+ "title": "Invitation",
2063
+ "type": "object",
2064
+ "properties": {
2065
+ "application": {
2066
+ "type": "string"
2067
+ },
2068
+ "code": {
2069
+ "type": "string"
2070
+ },
2071
+ "createdTime": {
2072
+ "type": "string"
2073
+ },
2074
+ "defaultCode": {
2075
+ "type": "string"
2076
+ },
2077
+ "displayName": {
2078
+ "type": "string"
2079
+ },
2080
+ "email": {
2081
+ "type": "string"
2082
+ },
2083
+ "isRegexp": {
2084
+ "type": "boolean"
2085
+ },
2086
+ "name": {
2087
+ "type": "string"
2088
+ },
2089
+ "owner": {
2090
+ "type": "string"
2091
+ },
2092
+ "phone": {
2093
+ "type": "string"
2094
+ },
2095
+ "quota": {
2096
+ "type": "integer",
2097
+ "format": "int64"
2098
+ },
2099
+ "signupGroup": {
2100
+ "type": "string"
2101
+ },
2102
+ "state": {
2103
+ "type": "string"
2104
+ },
2105
+ "updatedTime": {
2106
+ "type": "string"
2107
+ },
2108
+ "usedCount": {
2109
+ "type": "integer",
2110
+ "format": "int64"
2111
+ },
2112
+ "username": {
2113
+ "type": "string"
2114
+ }
2115
+ }
2116
+ },
2117
+ "object.ManagedAccount": {
2118
+ "title": "ManagedAccount",
2119
+ "type": "object",
2120
+ "properties": {
2121
+ "application": {
2122
+ "type": "string"
2123
+ },
2124
+ "password": {
2125
+ "type": "string"
2126
+ },
2127
+ "signinUrl": {
2128
+ "type": "string"
2129
+ },
2130
+ "username": {
2131
+ "type": "string"
2132
+ }
2133
+ }
2134
+ },
2135
+ "object.MfaAccount": {
2136
+ "title": "MfaAccount",
2137
+ "type": "object",
2138
+ "properties": {
2139
+ "accountName": {
2140
+ "type": "string"
2141
+ },
2142
+ "issuer": {
2143
+ "type": "string"
2144
+ },
2145
+ "origin": {
2146
+ "type": "string"
2147
+ },
2148
+ "secretKey": {
2149
+ "type": "string"
2150
+ }
2151
+ }
2152
+ },
2153
+ "object.MfaItem": {
2154
+ "title": "MfaItem",
2155
+ "type": "object",
2156
+ "properties": {
2157
+ "name": {
2158
+ "type": "string"
2159
+ },
2160
+ "rule": {
2161
+ "type": "string"
2162
+ }
2163
+ }
2164
+ },
2165
+ "object.MfaProps": {
2166
+ "title": "MfaProps",
2167
+ "type": "object",
2168
+ "properties": {
2169
+ "countryCode": {
2170
+ "type": "string"
2171
+ },
2172
+ "enabled": {
2173
+ "type": "boolean"
2174
+ },
2175
+ "isPreferred": {
2176
+ "type": "boolean"
2177
+ },
2178
+ "mfaRememberInHours": {
2179
+ "type": "integer",
2180
+ "format": "int64"
2181
+ },
2182
+ "mfaType": {
2183
+ "type": "string"
2184
+ },
2185
+ "recoveryCodes": {
2186
+ "type": "array",
2187
+ "items": {
2188
+ "type": "string"
2189
+ }
2190
+ },
2191
+ "secret": {
2192
+ "type": "string"
2193
+ },
2194
+ "url": {
2195
+ "type": "string"
2196
+ }
2197
+ }
2198
+ },
2199
+ "object.Order": {
2200
+ "title": "Order",
2201
+ "type": "object",
2202
+ "properties": {
2203
+ "createdTime": {
2204
+ "type": "string"
2205
+ },
2206
+ "displayName": {
2207
+ "type": "string"
2208
+ },
2209
+ "endTime": {
2210
+ "type": "string"
2211
+ },
2212
+ "message": {
2213
+ "type": "string"
2214
+ },
2215
+ "name": {
2216
+ "type": "string"
2217
+ },
2218
+ "owner": {
2219
+ "type": "string"
2220
+ },
2221
+ "payment": {
2222
+ "type": "string"
2223
+ },
2224
+ "productName": {
2225
+ "type": "string"
2226
+ },
2227
+ "startTime": {
2228
+ "type": "string"
2229
+ },
2230
+ "state": {
2231
+ "type": "string"
2232
+ },
2233
+ "user": {
2234
+ "type": "string"
2235
+ }
2236
+ }
2237
+ },
2238
+ "object.Payment": {
2239
+ "title": "Payment",
2240
+ "type": "object",
2241
+ "properties": {
2242
+ "createdTime": {
2243
+ "type": "string"
2244
+ },
2245
+ "currency": {
2246
+ "type": "string"
2247
+ },
2248
+ "detail": {
2249
+ "type": "string"
2250
+ },
2251
+ "displayName": {
2252
+ "type": "string"
2253
+ },
2254
+ "invoiceRemark": {
2255
+ "type": "string"
2256
+ },
2257
+ "invoiceTaxId": {
2258
+ "type": "string"
2259
+ },
2260
+ "invoiceTitle": {
2261
+ "type": "string"
2262
+ },
2263
+ "invoiceType": {
2264
+ "type": "string"
2265
+ },
2266
+ "invoiceUrl": {
2267
+ "type": "string"
2268
+ },
2269
+ "isRecharge": {
2270
+ "type": "boolean"
2271
+ },
2272
+ "message": {
2273
+ "type": "string"
2274
+ },
2275
+ "name": {
2276
+ "type": "string"
2277
+ },
2278
+ "outOrderId": {
2279
+ "type": "string"
2280
+ },
2281
+ "owner": {
2282
+ "type": "string"
2283
+ },
2284
+ "payUrl": {
2285
+ "type": "string"
2286
+ },
2287
+ "personEmail": {
2288
+ "type": "string"
2289
+ },
2290
+ "personIdCard": {
2291
+ "type": "string"
2292
+ },
2293
+ "personName": {
2294
+ "type": "string"
2295
+ },
2296
+ "personPhone": {
2297
+ "type": "string"
2298
+ },
2299
+ "price": {
2300
+ "type": "number",
2301
+ "format": "double"
2302
+ },
2303
+ "productDisplayName": {
2304
+ "type": "string"
2305
+ },
2306
+ "productName": {
2307
+ "type": "string"
2308
+ },
2309
+ "provider": {
2310
+ "type": "string"
2311
+ },
2312
+ "returnUrl": {
2313
+ "type": "string"
2314
+ },
2315
+ "state": {
2316
+ "$ref": "#/definitions/pp.PaymentState"
2317
+ },
2318
+ "successUrl": {
2319
+ "type": "string"
2320
+ },
2321
+ "tag": {
2322
+ "type": "string"
2323
+ },
2324
+ "type": {
2325
+ "type": "string"
2326
+ },
2327
+ "user": {
2328
+ "type": "string"
2329
+ }
2330
+ }
2331
+ },
2332
+ "object.Permission": {
2333
+ "title": "Permission",
2334
+ "type": "object",
2335
+ "properties": {
2336
+ "actions": {
2337
+ "type": "array",
2338
+ "items": {
2339
+ "type": "string"
2340
+ }
2341
+ },
2342
+ "adapter": {
2343
+ "type": "string"
2344
+ },
2345
+ "approveTime": {
2346
+ "type": "string"
2347
+ },
2348
+ "approver": {
2349
+ "type": "string"
2350
+ },
2351
+ "createdTime": {
2352
+ "type": "string"
2353
+ },
2354
+ "description": {
2355
+ "type": "string"
2356
+ },
2357
+ "displayName": {
2358
+ "type": "string"
2359
+ },
2360
+ "domains": {
2361
+ "type": "array",
2362
+ "items": {
2363
+ "type": "string"
2364
+ }
2365
+ },
2366
+ "effect": {
2367
+ "type": "string"
2368
+ },
2369
+ "groups": {
2370
+ "type": "array",
2371
+ "items": {
2372
+ "type": "string"
2373
+ }
2374
+ },
2375
+ "isEnabled": {
2376
+ "type": "boolean"
2377
+ },
2378
+ "model": {
2379
+ "type": "string"
2380
+ },
2381
+ "name": {
2382
+ "type": "string"
2383
+ },
2384
+ "owner": {
2385
+ "type": "string"
2386
+ },
2387
+ "resourceType": {
2388
+ "type": "string"
2389
+ },
2390
+ "resources": {
2391
+ "type": "array",
2392
+ "items": {
2393
+ "type": "string"
2394
+ }
2395
+ },
2396
+ "roles": {
2397
+ "type": "array",
2398
+ "items": {
2399
+ "type": "string"
2400
+ }
2401
+ },
2402
+ "state": {
2403
+ "type": "string"
2404
+ },
2405
+ "submitter": {
2406
+ "type": "string"
2407
+ },
2408
+ "users": {
2409
+ "type": "array",
2410
+ "items": {
2411
+ "type": "string"
2412
+ }
2413
+ }
2414
+ }
2415
+ },
2416
+ "object.Plan": {
2417
+ "title": "Plan",
2418
+ "type": "object",
2419
+ "properties": {
2420
+ "createdTime": {
2421
+ "type": "string"
2422
+ },
2423
+ "currency": {
2424
+ "type": "string"
2425
+ },
2426
+ "description": {
2427
+ "type": "string"
2428
+ },
2429
+ "displayName": {
2430
+ "type": "string"
2431
+ },
2432
+ "isEnabled": {
2433
+ "type": "boolean"
2434
+ },
2435
+ "name": {
2436
+ "type": "string"
2437
+ },
2438
+ "options": {
2439
+ "type": "array",
2440
+ "items": {
2441
+ "type": "string"
2442
+ }
2443
+ },
2444
+ "owner": {
2445
+ "type": "string"
2446
+ },
2447
+ "paymentProviders": {
2448
+ "type": "array",
2449
+ "items": {
2450
+ "type": "string"
2451
+ }
2452
+ },
2453
+ "period": {
2454
+ "type": "string"
2455
+ },
2456
+ "price": {
2457
+ "type": "number",
2458
+ "format": "double"
2459
+ },
2460
+ "product": {
2461
+ "type": "string"
2462
+ },
2463
+ "role": {
2464
+ "type": "string"
2465
+ }
2466
+ }
2467
+ },
2468
+ "object.Pricing": {
2469
+ "title": "Pricing",
2470
+ "type": "object",
2471
+ "properties": {
2472
+ "application": {
2473
+ "type": "string"
2474
+ },
2475
+ "createdTime": {
2476
+ "type": "string"
2477
+ },
2478
+ "description": {
2479
+ "type": "string"
2480
+ },
2481
+ "displayName": {
2482
+ "type": "string"
2483
+ },
2484
+ "isEnabled": {
2485
+ "type": "boolean"
2486
+ },
2487
+ "name": {
2488
+ "type": "string"
2489
+ },
2490
+ "owner": {
2491
+ "type": "string"
2492
+ },
2493
+ "plans": {
2494
+ "type": "array",
2495
+ "items": {
2496
+ "type": "string"
2497
+ }
2498
+ },
2499
+ "trialDuration": {
2500
+ "type": "integer",
2501
+ "format": "int64"
2502
+ }
2503
+ }
2504
+ },
2505
+ "object.Product": {
2506
+ "title": "Product",
2507
+ "type": "object",
2508
+ "properties": {
2509
+ "createdTime": {
2510
+ "type": "string"
2511
+ },
2512
+ "currency": {
2513
+ "type": "string"
2514
+ },
2515
+ "description": {
2516
+ "type": "string"
2517
+ },
2518
+ "detail": {
2519
+ "type": "string"
2520
+ },
2521
+ "displayName": {
2522
+ "type": "string"
2523
+ },
2524
+ "image": {
2525
+ "type": "string"
2526
+ },
2527
+ "isRecharge": {
2528
+ "type": "boolean"
2529
+ },
2530
+ "name": {
2531
+ "type": "string"
2532
+ },
2533
+ "owner": {
2534
+ "type": "string"
2535
+ },
2536
+ "price": {
2537
+ "type": "number",
2538
+ "format": "double"
2539
+ },
2540
+ "providerObjs": {
2541
+ "type": "array",
2542
+ "items": {
2543
+ "$ref": "#/definitions/object.Provider"
2544
+ }
2545
+ },
2546
+ "providers": {
2547
+ "type": "array",
2548
+ "items": {
2549
+ "type": "string"
2550
+ }
2551
+ },
2552
+ "quantity": {
2553
+ "type": "integer",
2554
+ "format": "int64"
2555
+ },
2556
+ "returnUrl": {
2557
+ "type": "string"
2558
+ },
2559
+ "sold": {
2560
+ "type": "integer",
2561
+ "format": "int64"
2562
+ },
2563
+ "state": {
2564
+ "type": "string"
2565
+ },
2566
+ "successUrl": {
2567
+ "type": "string"
2568
+ },
2569
+ "tag": {
2570
+ "type": "string"
2571
+ }
2572
+ }
2573
+ },
2574
+ "object.Provider": {
2575
+ "title": "Provider",
2576
+ "type": "object",
2577
+ "properties": {
2578
+ "appId": {
2579
+ "type": "string"
2580
+ },
2581
+ "bucket": {
2582
+ "type": "string"
2583
+ },
2584
+ "category": {
2585
+ "type": "string"
2586
+ },
2587
+ "cert": {
2588
+ "type": "string"
2589
+ },
2590
+ "clientId": {
2591
+ "type": "string"
2592
+ },
2593
+ "clientId2": {
2594
+ "type": "string"
2595
+ },
2596
+ "clientSecret": {
2597
+ "type": "string"
2598
+ },
2599
+ "clientSecret2": {
2600
+ "type": "string"
2601
+ },
2602
+ "content": {
2603
+ "type": "string"
2604
+ },
2605
+ "createdTime": {
2606
+ "type": "string"
2607
+ },
2608
+ "customAuthUrl": {
2609
+ "type": "string"
2610
+ },
2611
+ "customLogo": {
2612
+ "type": "string"
2613
+ },
2614
+ "customTokenUrl": {
2615
+ "type": "string"
2616
+ },
2617
+ "customUserInfoUrl": {
2618
+ "type": "string"
2619
+ },
2620
+ "disableSsl": {
2621
+ "type": "boolean"
2622
+ },
2623
+ "displayName": {
2624
+ "type": "string"
2625
+ },
2626
+ "domain": {
2627
+ "type": "string"
2628
+ },
2629
+ "emailRegex": {
2630
+ "type": "string"
2631
+ },
2632
+ "enableProxy": {
2633
+ "type": "boolean"
2634
+ },
2635
+ "enableSignAuthnRequest": {
2636
+ "type": "boolean"
2637
+ },
2638
+ "endpoint": {
2639
+ "type": "string"
2640
+ },
2641
+ "host": {
2642
+ "type": "string"
2643
+ },
2644
+ "httpHeaders": {
2645
+ "additionalProperties": {
2646
+ "type": "string"
2647
+ }
2648
+ },
2649
+ "idP": {
2650
+ "type": "string"
2651
+ },
2652
+ "intranetEndpoint": {
2653
+ "type": "string"
2654
+ },
2655
+ "issuerUrl": {
2656
+ "type": "string"
2657
+ },
2658
+ "metadata": {
2659
+ "type": "string"
2660
+ },
2661
+ "method": {
2662
+ "type": "string"
2663
+ },
2664
+ "name": {
2665
+ "type": "string"
2666
+ },
2667
+ "owner": {
2668
+ "type": "string"
2669
+ },
2670
+ "pathPrefix": {
2671
+ "type": "string"
2672
+ },
2673
+ "port": {
2674
+ "type": "integer",
2675
+ "format": "int64"
2676
+ },
2677
+ "providerUrl": {
2678
+ "type": "string"
2679
+ },
2680
+ "receiver": {
2681
+ "type": "string"
2682
+ },
2683
+ "regionId": {
2684
+ "type": "string"
2685
+ },
2686
+ "scopes": {
2687
+ "type": "string"
2688
+ },
2689
+ "signName": {
2690
+ "type": "string"
2691
+ },
2692
+ "subType": {
2693
+ "type": "string"
2694
+ },
2695
+ "templateCode": {
2696
+ "type": "string"
2697
+ },
2698
+ "title": {
2699
+ "type": "string"
2700
+ },
2701
+ "type": {
2702
+ "type": "string"
2703
+ },
2704
+ "userMapping": {
2705
+ "additionalProperties": {
2706
+ "type": "string"
2707
+ }
2708
+ }
2709
+ }
2710
+ },
2711
+ "object.Resource": {
2712
+ "title": "Resource",
2713
+ "type": "object",
2714
+ "properties": {
2715
+ "application": {
2716
+ "type": "string"
2717
+ },
2718
+ "createdTime": {
2719
+ "type": "string"
2720
+ },
2721
+ "description": {
2722
+ "type": "string"
2723
+ },
2724
+ "fileFormat": {
2725
+ "type": "string"
2726
+ },
2727
+ "fileName": {
2728
+ "type": "string"
2729
+ },
2730
+ "fileSize": {
2731
+ "type": "integer",
2732
+ "format": "int64"
2733
+ },
2734
+ "fileType": {
2735
+ "type": "string"
2736
+ },
2737
+ "name": {
2738
+ "type": "string"
2739
+ },
2740
+ "owner": {
2741
+ "type": "string"
2742
+ },
2743
+ "parent": {
2744
+ "type": "string"
2745
+ },
2746
+ "provider": {
2747
+ "type": "string"
2748
+ },
2749
+ "tag": {
2750
+ "type": "string"
2751
+ },
2752
+ "url": {
2753
+ "type": "string"
2754
+ },
2755
+ "user": {
2756
+ "type": "string"
2757
+ }
2758
+ }
2759
+ },
2760
+ "object.Role": {
2761
+ "title": "Role",
2762
+ "type": "object",
2763
+ "properties": {
2764
+ "createdTime": {
2765
+ "type": "string"
2766
+ },
2767
+ "description": {
2768
+ "type": "string"
2769
+ },
2770
+ "displayName": {
2771
+ "type": "string"
2772
+ },
2773
+ "domains": {
2774
+ "type": "array",
2775
+ "items": {
2776
+ "type": "string"
2777
+ }
2778
+ },
2779
+ "groups": {
2780
+ "type": "array",
2781
+ "items": {
2782
+ "type": "string"
2783
+ }
2784
+ },
2785
+ "isEnabled": {
2786
+ "type": "boolean"
2787
+ },
2788
+ "name": {
2789
+ "type": "string"
2790
+ },
2791
+ "owner": {
2792
+ "type": "string"
2793
+ },
2794
+ "roles": {
2795
+ "type": "array",
2796
+ "items": {
2797
+ "type": "string"
2798
+ }
2799
+ },
2800
+ "users": {
2801
+ "type": "array",
2802
+ "items": {
2803
+ "type": "string"
2804
+ }
2805
+ }
2806
+ }
2807
+ },
2808
+ "object.Subscription": {
2809
+ "title": "Subscription",
2810
+ "type": "object",
2811
+ "properties": {
2812
+ "createdTime": {
2813
+ "type": "string"
2814
+ },
2815
+ "description": {
2816
+ "type": "string"
2817
+ },
2818
+ "displayName": {
2819
+ "type": "string"
2820
+ },
2821
+ "endTime": {
2822
+ "type": "string"
2823
+ },
2824
+ "name": {
2825
+ "type": "string"
2826
+ },
2827
+ "owner": {
2828
+ "type": "string"
2829
+ },
2830
+ "payment": {
2831
+ "type": "string"
2832
+ },
2833
+ "period": {
2834
+ "type": "string"
2835
+ },
2836
+ "plan": {
2837
+ "type": "string"
2838
+ },
2839
+ "pricing": {
2840
+ "type": "string"
2841
+ },
2842
+ "startTime": {
2843
+ "type": "string"
2844
+ },
2845
+ "state": {
2846
+ "$ref": "#/definitions/object.SubscriptionState"
2847
+ },
2848
+ "user": {
2849
+ "type": "string"
2850
+ }
2851
+ }
2852
+ },
2853
+ "object.SubscriptionState": {
2854
+ "title": "SubscriptionState",
2855
+ "type": "string",
2856
+ "enum": [
2857
+ "SubStatePending = \"Pending\"",
2858
+ "SubStateError = \"Error\"",
2859
+ "SubStateSuspended = \"Suspended\"",
2860
+ "SubStateActive = \"Active\"",
2861
+ "SubStateUpcoming = \"Upcoming\"",
2862
+ "SubStateExpired = \"Expired\""
2863
+ ],
2864
+ "example": "Pending"
2865
+ },
2866
+ "object.Token": {
2867
+ "title": "Token",
2868
+ "type": "object",
2869
+ "properties": {
2870
+ "accessToken": {
2871
+ "type": "string"
2872
+ },
2873
+ "accessTokenHash": {
2874
+ "type": "string"
2875
+ },
2876
+ "application": {
2877
+ "type": "string"
2878
+ },
2879
+ "code": {
2880
+ "type": "string"
2881
+ },
2882
+ "codeChallenge": {
2883
+ "type": "string"
2884
+ },
2885
+ "codeExpireIn": {
2886
+ "type": "integer",
2887
+ "format": "int64"
2888
+ },
2889
+ "codeIsUsed": {
2890
+ "type": "boolean"
2891
+ },
2892
+ "createdTime": {
2893
+ "type": "string"
2894
+ },
2895
+ "expiresIn": {
2896
+ "type": "integer",
2897
+ "format": "int64"
2898
+ },
2899
+ "name": {
2900
+ "type": "string"
2901
+ },
2902
+ "organization": {
2903
+ "type": "string"
2904
+ },
2905
+ "owner": {
2906
+ "type": "string"
2907
+ },
2908
+ "refreshToken": {
2909
+ "type": "string"
2910
+ },
2911
+ "refreshTokenHash": {
2912
+ "type": "string"
2913
+ },
2914
+ "scope": {
2915
+ "type": "string"
2916
+ },
2917
+ "tokenType": {
2918
+ "type": "string"
2919
+ },
2920
+ "user": {
2921
+ "type": "string"
2922
+ }
2923
+ }
2924
+ },
2925
+ "object.TokenError": {
2926
+ "title": "TokenError",
2927
+ "type": "object",
2928
+ "properties": {
2929
+ "error": {
2930
+ "type": "string"
2931
+ },
2932
+ "error_description": {
2933
+ "type": "string"
2934
+ }
2935
+ }
2936
+ },
2937
+ "object.TokenWrapper": {
2938
+ "title": "TokenWrapper",
2939
+ "type": "object",
2940
+ "properties": {
2941
+ "access_token": {
2942
+ "type": "string"
2943
+ },
2944
+ "expires_in": {
2945
+ "type": "integer",
2946
+ "format": "int64"
2947
+ },
2948
+ "id_token": {
2949
+ "type": "string"
2950
+ },
2951
+ "refresh_token": {
2952
+ "type": "string"
2953
+ },
2954
+ "scope": {
2955
+ "type": "string"
2956
+ },
2957
+ "token_type": {
2958
+ "type": "string"
2959
+ }
2960
+ }
2961
+ },
2962
+ "object.Transaction": {
2963
+ "title": "Transaction",
2964
+ "type": "object",
2965
+ "properties": {
2966
+ "amount": {
2967
+ "type": "number",
2968
+ "format": "double"
2969
+ },
2970
+ "application": {
2971
+ "type": "string"
2972
+ },
2973
+ "category": {
2974
+ "type": "string"
2975
+ },
2976
+ "createdTime": {
2977
+ "type": "string"
2978
+ },
2979
+ "currency": {
2980
+ "type": "string"
2981
+ },
2982
+ "displayName": {
2983
+ "type": "string"
2984
+ },
2985
+ "domain": {
2986
+ "type": "string"
2987
+ },
2988
+ "name": {
2989
+ "type": "string"
2990
+ },
2991
+ "owner": {
2992
+ "type": "string"
2993
+ },
2994
+ "payment": {
2995
+ "type": "string"
2996
+ },
2997
+ "provider": {
2998
+ "type": "string"
2999
+ },
3000
+ "state": {
3001
+ "$ref": "#/definitions/pp.PaymentState"
3002
+ },
3003
+ "subtype": {
3004
+ "type": "string"
3005
+ },
3006
+ "tag": {
3007
+ "type": "string"
3008
+ },
3009
+ "type": {
3010
+ "type": "string"
3011
+ },
3012
+ "user": {
3013
+ "type": "string"
3014
+ }
3015
+ }
3016
+ },
3017
+ "object.User": {
3018
+ "title": "User",
3019
+ "type": "object",
3020
+ "properties": {
3021
+ "accessKey": {
3022
+ "type": "string"
3023
+ },
3024
+ "accessSecret": {
3025
+ "type": "string"
3026
+ },
3027
+ "accessToken": {
3028
+ "type": "string"
3029
+ },
3030
+ "address": {
3031
+ "type": "array",
3032
+ "items": {
3033
+ "type": "string"
3034
+ }
3035
+ },
3036
+ "adfs": {
3037
+ "type": "string"
3038
+ },
3039
+ "affiliation": {
3040
+ "type": "string"
3041
+ },
3042
+ "alipay": {
3043
+ "type": "string"
3044
+ },
3045
+ "amazon": {
3046
+ "type": "string"
3047
+ },
3048
+ "apple": {
3049
+ "type": "string"
3050
+ },
3051
+ "auth0": {
3052
+ "type": "string"
3053
+ },
3054
+ "avatar": {
3055
+ "type": "string"
3056
+ },
3057
+ "avatarType": {
3058
+ "type": "string"
3059
+ },
3060
+ "azuread": {
3061
+ "type": "string"
3062
+ },
3063
+ "azureadb2c": {
3064
+ "type": "string"
3065
+ },
3066
+ "baidu": {
3067
+ "type": "string"
3068
+ },
3069
+ "balance": {
3070
+ "type": "number",
3071
+ "format": "double"
3072
+ },
3073
+ "balanceCredit": {
3074
+ "type": "number",
3075
+ "format": "double"
3076
+ },
3077
+ "balanceCurrency": {
3078
+ "type": "string"
3079
+ },
3080
+ "battlenet": {
3081
+ "type": "string"
3082
+ },
3083
+ "bilibili": {
3084
+ "type": "string"
3085
+ },
3086
+ "bio": {
3087
+ "type": "string"
3088
+ },
3089
+ "birthday": {
3090
+ "type": "string"
3091
+ },
3092
+ "bitbucket": {
3093
+ "type": "string"
3094
+ },
3095
+ "box": {
3096
+ "type": "string"
3097
+ },
3098
+ "casdoor": {
3099
+ "type": "string"
3100
+ },
3101
+ "cloudfoundry": {
3102
+ "type": "string"
3103
+ },
3104
+ "countryCode": {
3105
+ "type": "string"
3106
+ },
3107
+ "createdIp": {
3108
+ "type": "string"
3109
+ },
3110
+ "createdTime": {
3111
+ "type": "string"
3112
+ },
3113
+ "currency": {
3114
+ "type": "string"
3115
+ },
3116
+ "custom": {
3117
+ "type": "string"
3118
+ },
3119
+ "custom10": {
3120
+ "type": "string"
3121
+ },
3122
+ "custom2": {
3123
+ "type": "string"
3124
+ },
3125
+ "custom3": {
3126
+ "type": "string"
3127
+ },
3128
+ "custom4": {
3129
+ "type": "string"
3130
+ },
3131
+ "custom5": {
3132
+ "type": "string"
3133
+ },
3134
+ "custom6": {
3135
+ "type": "string"
3136
+ },
3137
+ "custom7": {
3138
+ "type": "string"
3139
+ },
3140
+ "custom8": {
3141
+ "type": "string"
3142
+ },
3143
+ "custom9": {
3144
+ "type": "string"
3145
+ },
3146
+ "dailymotion": {
3147
+ "type": "string"
3148
+ },
3149
+ "deezer": {
3150
+ "type": "string"
3151
+ },
3152
+ "deletedTime": {
3153
+ "type": "string"
3154
+ },
3155
+ "digitalocean": {
3156
+ "type": "string"
3157
+ },
3158
+ "dingtalk": {
3159
+ "type": "string"
3160
+ },
3161
+ "discord": {
3162
+ "type": "string"
3163
+ },
3164
+ "displayName": {
3165
+ "type": "string"
3166
+ },
3167
+ "douyin": {
3168
+ "type": "string"
3169
+ },
3170
+ "dropbox": {
3171
+ "type": "string"
3172
+ },
3173
+ "education": {
3174
+ "type": "string"
3175
+ },
3176
+ "email": {
3177
+ "type": "string"
3178
+ },
3179
+ "emailVerified": {
3180
+ "type": "boolean"
3181
+ },
3182
+ "eveonline": {
3183
+ "type": "string"
3184
+ },
3185
+ "externalId": {
3186
+ "type": "string"
3187
+ },
3188
+ "faceIds": {
3189
+ "type": "array",
3190
+ "items": {
3191
+ "$ref": "#/definitions/object.FaceId"
3192
+ }
3193
+ },
3194
+ "facebook": {
3195
+ "type": "string"
3196
+ },
3197
+ "firstName": {
3198
+ "type": "string"
3199
+ },
3200
+ "fitbit": {
3201
+ "type": "string"
3202
+ },
3203
+ "gender": {
3204
+ "type": "string"
3205
+ },
3206
+ "gitea": {
3207
+ "type": "string"
3208
+ },
3209
+ "gitee": {
3210
+ "type": "string"
3211
+ },
3212
+ "github": {
3213
+ "type": "string"
3214
+ },
3215
+ "gitlab": {
3216
+ "type": "string"
3217
+ },
3218
+ "google": {
3219
+ "type": "string"
3220
+ },
3221
+ "groups": {
3222
+ "type": "array",
3223
+ "items": {
3224
+ "type": "string"
3225
+ }
3226
+ },
3227
+ "hash": {
3228
+ "type": "string"
3229
+ },
3230
+ "heroku": {
3231
+ "type": "string"
3232
+ },
3233
+ "homepage": {
3234
+ "type": "string"
3235
+ },
3236
+ "id": {
3237
+ "type": "string"
3238
+ },
3239
+ "idCard": {
3240
+ "type": "string"
3241
+ },
3242
+ "idCardType": {
3243
+ "type": "string"
3244
+ },
3245
+ "influxcloud": {
3246
+ "type": "string"
3247
+ },
3248
+ "infoflow": {
3249
+ "type": "string"
3250
+ },
3251
+ "instagram": {
3252
+ "type": "string"
3253
+ },
3254
+ "intercom": {
3255
+ "type": "string"
3256
+ },
3257
+ "invitation": {
3258
+ "type": "string"
3259
+ },
3260
+ "invitationCode": {
3261
+ "type": "string"
3262
+ },
3263
+ "ipWhitelist": {
3264
+ "type": "string"
3265
+ },
3266
+ "isAdmin": {
3267
+ "type": "boolean"
3268
+ },
3269
+ "isDefaultAvatar": {
3270
+ "type": "boolean"
3271
+ },
3272
+ "isDeleted": {
3273
+ "type": "boolean"
3274
+ },
3275
+ "isForbidden": {
3276
+ "type": "boolean"
3277
+ },
3278
+ "isOnline": {
3279
+ "type": "boolean"
3280
+ },
3281
+ "kakao": {
3282
+ "type": "string"
3283
+ },
3284
+ "karma": {
3285
+ "type": "integer",
3286
+ "format": "int64"
3287
+ },
3288
+ "kwai": {
3289
+ "type": "string"
3290
+ },
3291
+ "language": {
3292
+ "type": "string"
3293
+ },
3294
+ "lark": {
3295
+ "type": "string"
3296
+ },
3297
+ "lastChangePasswordTime": {
3298
+ "type": "string"
3299
+ },
3300
+ "lastName": {
3301
+ "type": "string"
3302
+ },
3303
+ "lastSigninIp": {
3304
+ "type": "string"
3305
+ },
3306
+ "lastSigninTime": {
3307
+ "type": "string"
3308
+ },
3309
+ "lastSigninWrongTime": {
3310
+ "type": "string"
3311
+ },
3312
+ "lastfm": {
3313
+ "type": "string"
3314
+ },
3315
+ "ldap": {
3316
+ "type": "string"
3317
+ },
3318
+ "line": {
3319
+ "type": "string"
3320
+ },
3321
+ "linkedin": {
3322
+ "type": "string"
3323
+ },
3324
+ "location": {
3325
+ "type": "string"
3326
+ },
3327
+ "mailru": {
3328
+ "type": "string"
3329
+ },
3330
+ "managedAccounts": {
3331
+ "type": "array",
3332
+ "items": {
3333
+ "$ref": "#/definitions/object.ManagedAccount"
3334
+ }
3335
+ },
3336
+ "meetup": {
3337
+ "type": "string"
3338
+ },
3339
+ "metamask": {
3340
+ "type": "string"
3341
+ },
3342
+ "mfaAccounts": {
3343
+ "type": "array",
3344
+ "items": {
3345
+ "$ref": "#/definitions/object.MfaAccount"
3346
+ }
3347
+ },
3348
+ "mfaEmailEnabled": {
3349
+ "type": "boolean"
3350
+ },
3351
+ "mfaItems": {
3352
+ "type": "array",
3353
+ "items": {
3354
+ "$ref": "#/definitions/object.MfaItem"
3355
+ }
3356
+ },
3357
+ "mfaPhoneEnabled": {
3358
+ "type": "boolean"
3359
+ },
3360
+ "mfaPushEnabled": {
3361
+ "type": "boolean"
3362
+ },
3363
+ "mfaPushProvider": {
3364
+ "type": "string"
3365
+ },
3366
+ "mfaPushReceiver": {
3367
+ "type": "string"
3368
+ },
3369
+ "mfaRadiusEnabled": {
3370
+ "type": "boolean"
3371
+ },
3372
+ "mfaRadiusProvider": {
3373
+ "type": "string"
3374
+ },
3375
+ "mfaRadiusUsername": {
3376
+ "type": "string"
3377
+ },
3378
+ "mfaRememberDeadline": {
3379
+ "type": "string"
3380
+ },
3381
+ "microsoftonline": {
3382
+ "type": "string"
3383
+ },
3384
+ "multiFactorAuths": {
3385
+ "type": "array",
3386
+ "items": {
3387
+ "$ref": "#/definitions/object.MfaProps"
3388
+ }
3389
+ },
3390
+ "name": {
3391
+ "type": "string"
3392
+ },
3393
+ "naver": {
3394
+ "type": "string"
3395
+ },
3396
+ "needUpdatePassword": {
3397
+ "type": "boolean"
3398
+ },
3399
+ "nextcloud": {
3400
+ "type": "string"
3401
+ },
3402
+ "okta": {
3403
+ "type": "string"
3404
+ },
3405
+ "onedrive": {
3406
+ "type": "string"
3407
+ },
3408
+ "originalToken": {
3409
+ "type": "string"
3410
+ },
3411
+ "oura": {
3412
+ "type": "string"
3413
+ },
3414
+ "owner": {
3415
+ "type": "string"
3416
+ },
3417
+ "password": {
3418
+ "type": "string"
3419
+ },
3420
+ "passwordSalt": {
3421
+ "type": "string"
3422
+ },
3423
+ "passwordType": {
3424
+ "type": "string"
3425
+ },
3426
+ "patreon": {
3427
+ "type": "string"
3428
+ },
3429
+ "paypal": {
3430
+ "type": "string"
3431
+ },
3432
+ "permanentAvatar": {
3433
+ "type": "string"
3434
+ },
3435
+ "permissions": {
3436
+ "type": "array",
3437
+ "items": {
3438
+ "$ref": "#/definitions/object.Permission"
3439
+ }
3440
+ },
3441
+ "phone": {
3442
+ "type": "string"
3443
+ },
3444
+ "preHash": {
3445
+ "type": "string"
3446
+ },
3447
+ "preferredMfaType": {
3448
+ "type": "string"
3449
+ },
3450
+ "properties": {
3451
+ "additionalProperties": {
3452
+ "type": "string"
3453
+ }
3454
+ },
3455
+ "qq": {
3456
+ "type": "string"
3457
+ },
3458
+ "ranking": {
3459
+ "type": "integer",
3460
+ "format": "int64"
3461
+ },
3462
+ "recoveryCodes": {
3463
+ "type": "array",
3464
+ "items": {
3465
+ "type": "string"
3466
+ }
3467
+ },
3468
+ "region": {
3469
+ "type": "string"
3470
+ },
3471
+ "registerSource": {
3472
+ "type": "string"
3473
+ },
3474
+ "registerType": {
3475
+ "type": "string"
3476
+ },
3477
+ "roles": {
3478
+ "type": "array",
3479
+ "items": {
3480
+ "$ref": "#/definitions/object.Role"
3481
+ }
3482
+ },
3483
+ "salesforce": {
3484
+ "type": "string"
3485
+ },
3486
+ "score": {
3487
+ "type": "integer",
3488
+ "format": "int64"
3489
+ },
3490
+ "shopify": {
3491
+ "type": "string"
3492
+ },
3493
+ "signinWrongTimes": {
3494
+ "type": "integer",
3495
+ "format": "int64"
3496
+ },
3497
+ "signupApplication": {
3498
+ "type": "string"
3499
+ },
3500
+ "slack": {
3501
+ "type": "string"
3502
+ },
3503
+ "soundcloud": {
3504
+ "type": "string"
3505
+ },
3506
+ "spotify": {
3507
+ "type": "string"
3508
+ },
3509
+ "steam": {
3510
+ "type": "string"
3511
+ },
3512
+ "strava": {
3513
+ "type": "string"
3514
+ },
3515
+ "stripe": {
3516
+ "type": "string"
3517
+ },
3518
+ "tag": {
3519
+ "type": "string"
3520
+ },
3521
+ "tiktok": {
3522
+ "type": "string"
3523
+ },
3524
+ "title": {
3525
+ "type": "string"
3526
+ },
3527
+ "totpSecret": {
3528
+ "type": "string"
3529
+ },
3530
+ "tumblr": {
3531
+ "type": "string"
3532
+ },
3533
+ "twitch": {
3534
+ "type": "string"
3535
+ },
3536
+ "twitter": {
3537
+ "type": "string"
3538
+ },
3539
+ "type": {
3540
+ "type": "string"
3541
+ },
3542
+ "typetalk": {
3543
+ "type": "string"
3544
+ },
3545
+ "uber": {
3546
+ "type": "string"
3547
+ },
3548
+ "updatedTime": {
3549
+ "type": "string"
3550
+ },
3551
+ "vk": {
3552
+ "type": "string"
3553
+ },
3554
+ "web3onboard": {
3555
+ "type": "string"
3556
+ },
3557
+ "webauthnCredentials": {
3558
+ "type": "array",
3559
+ "items": {
3560
+ "$ref": "#/definitions/webauthn.Credential"
3561
+ }
3562
+ },
3563
+ "wechat": {
3564
+ "type": "string"
3565
+ },
3566
+ "wecom": {
3567
+ "type": "string"
3568
+ },
3569
+ "weibo": {
3570
+ "type": "string"
3571
+ },
3572
+ "wepay": {
3573
+ "type": "string"
3574
+ },
3575
+ "xero": {
3576
+ "type": "string"
3577
+ },
3578
+ "yahoo": {
3579
+ "type": "string"
3580
+ },
3581
+ "yammer": {
3582
+ "type": "string"
3583
+ },
3584
+ "yandex": {
3585
+ "type": "string"
3586
+ },
3587
+ "zoom": {
3588
+ "type": "string"
3589
+ }
3590
+ }
3591
+ },
3592
+ "object.Userinfo": {
3593
+ "title": "Userinfo",
3594
+ "type": "object",
3595
+ "properties": {
3596
+ "address": {
3597
+ "type": "string"
3598
+ },
3599
+ "aud": {
3600
+ "type": "string"
3601
+ },
3602
+ "email": {
3603
+ "type": "string"
3604
+ },
3605
+ "email_verified": {
3606
+ "type": "boolean"
3607
+ },
3608
+ "groups": {
3609
+ "type": "array",
3610
+ "items": {
3611
+ "type": "string"
3612
+ }
3613
+ },
3614
+ "iss": {
3615
+ "type": "string"
3616
+ },
3617
+ "name": {
3618
+ "type": "string"
3619
+ },
3620
+ "permissions": {
3621
+ "type": "array",
3622
+ "items": {
3623
+ "type": "string"
3624
+ }
3625
+ },
3626
+ "phone": {
3627
+ "type": "string"
3628
+ },
3629
+ "picture": {
3630
+ "type": "string"
3631
+ },
3632
+ "preferred_username": {
3633
+ "type": "string"
3634
+ },
3635
+ "roles": {
3636
+ "type": "array",
3637
+ "items": {
3638
+ "type": "string"
3639
+ }
3640
+ },
3641
+ "sub": {
3642
+ "type": "string"
3643
+ }
3644
+ }
3645
+ },
3646
+ "pp.PaymentState": {
3647
+ "title": "PaymentState",
3648
+ "type": "string",
3649
+ "enum": [
3650
+ "PaymentStatePaid = \"Paid\"",
3651
+ "PaymentStateCreated = \"Created\"",
3652
+ "PaymentStateCanceled = \"Canceled\"",
3653
+ "PaymentStateTimeout = \"Timeout\"",
3654
+ "PaymentStateError = \"Error\""
3655
+ ],
3656
+ "example": "Paid"
3657
+ },
3658
+ "protocol.CredentialAssertion": {
3659
+ "title": "CredentialAssertion",
3660
+ "type": "object"
3661
+ },
3662
+ "protocol.CredentialAssertionResponse": {
3663
+ "title": "CredentialAssertionResponse",
3664
+ "type": "object"
3665
+ },
3666
+ "protocol.CredentialCreation": {
3667
+ "title": "CredentialCreation",
3668
+ "type": "object"
3669
+ },
3670
+ "protocol.CredentialCreationResponse": {
3671
+ "title": "CredentialCreationResponse",
3672
+ "type": "object"
3673
+ },
3674
+ "webauthn.Credential": {
3675
+ "title": "Credential",
3676
+ "type": "object"
3677
+ }
3678
+ },
3679
+ "securityDefinitions": {
3680
+ "AccessToken": {
3681
+ "type": "apiKey",
3682
+ "name": "Authorization",
3683
+ "in": "header"
3684
+ }
3685
+ }
3686
+ }