@qlever-llc/trellis 0.10.17 → 0.10.18
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/esm/auth/browser/portal.d.ts.map +1 -1
- package/esm/auth/browser/portal.js +2 -0
- package/esm/auth/browser.d.ts +2 -0
- package/esm/auth/browser.d.ts.map +1 -1
- package/esm/auth/browser.js +1 -0
- package/esm/auth/browser_recovery.d.ts +22 -0
- package/esm/auth/browser_recovery.d.ts.map +1 -0
- package/esm/auth/browser_recovery.js +238 -0
- package/esm/auth/mod.d.ts +2 -2
- package/esm/auth/mod.d.ts.map +1 -1
- package/esm/auth/mod.js +2 -2
- package/esm/auth/protocol.d.ts +362 -398
- package/esm/auth/protocol.d.ts.map +1 -1
- package/esm/auth/protocol.js +36 -33
- package/esm/browser.d.ts +2 -2
- package/esm/browser.d.ts.map +1 -1
- package/esm/browser.js +1 -1
- package/esm/client_connect.js +1 -1
- package/esm/generated-sdk/auth/contract.d.ts +1 -1
- package/esm/generated-sdk/auth/contract.d.ts.map +1 -1
- package/esm/generated-sdk/auth/contract.js +1236 -1079
- package/esm/generated-sdk/auth/schemas.d.ts +1428 -1578
- package/esm/generated-sdk/auth/schemas.d.ts.map +1 -1
- package/esm/generated-sdk/auth/schemas.js +725 -669
- package/esm/generated-sdk/auth/types.d.ts +239 -281
- package/esm/generated-sdk/auth/types.d.ts.map +1 -1
- package/esm/generated-sdk/auth/types.js +1 -1
- package/package.json +2 -2
- package/script/auth/browser/portal.d.ts.map +1 -1
- package/script/auth/browser/portal.js +2 -0
- package/script/auth/browser.d.ts +2 -0
- package/script/auth/browser.d.ts.map +1 -1
- package/script/auth/browser.js +4 -1
- package/script/auth/browser_recovery.d.ts +22 -0
- package/script/auth/browser_recovery.d.ts.map +1 -0
- package/script/auth/browser_recovery.js +242 -0
- package/script/auth/mod.d.ts +2 -2
- package/script/auth/mod.d.ts.map +1 -1
- package/script/auth/mod.js +17 -6
- package/script/auth/protocol.d.ts +362 -398
- package/script/auth/protocol.d.ts.map +1 -1
- package/script/auth/protocol.js +41 -37
- package/script/browser.d.ts +2 -2
- package/script/browser.d.ts.map +1 -1
- package/script/browser.js +4 -2
- package/script/client_connect.js +1 -1
- package/script/generated-sdk/auth/contract.d.ts +1 -1
- package/script/generated-sdk/auth/contract.d.ts.map +1 -1
- package/script/generated-sdk/auth/contract.js +1236 -1079
- package/script/generated-sdk/auth/schemas.d.ts +1428 -1578
- package/script/generated-sdk/auth/schemas.d.ts.map +1 -1
- package/script/generated-sdk/auth/schemas.js +725 -669
- package/script/generated-sdk/auth/types.d.ts +239 -281
- package/script/generated-sdk/auth/types.d.ts.map +1 -1
- package/script/generated-sdk/auth/types.js +1 -1
- package/src/auth/browser/portal.ts +1 -0
- package/src/auth/browser.ts +8 -0
- package/src/auth/browser_recovery.ts +319 -0
- package/src/auth/mod.ts +25 -2
- package/src/auth/protocol.ts +73 -37
- package/src/browser.ts +4 -0
- package/src/client_connect.ts +1 -1
- package/src/sdk/_generated/auth/contract.ts +1477 -1320
- package/src/sdk/_generated/auth/schemas.ts +919 -863
- package/src/sdk/_generated/auth/types.ts +242 -304
|
@@ -534,83 +534,87 @@ export const AuthDeploymentAuthorityAcceptResponseSchema = {
|
|
|
534
534
|
"type": "array",
|
|
535
535
|
},
|
|
536
536
|
"needs": {
|
|
537
|
-
"
|
|
538
|
-
"
|
|
539
|
-
"
|
|
540
|
-
"
|
|
541
|
-
|
|
542
|
-
|
|
537
|
+
"properties": {
|
|
538
|
+
"capabilities": {
|
|
539
|
+
"items": {
|
|
540
|
+
"properties": {
|
|
541
|
+
"capability": { "minLength": 1, "type": "string" },
|
|
542
|
+
"required": { "type": "boolean" },
|
|
543
|
+
},
|
|
544
|
+
"required": ["capability", "required"],
|
|
545
|
+
"type": "object",
|
|
543
546
|
},
|
|
544
|
-
"
|
|
545
|
-
|
|
546
|
-
|
|
547
|
-
"
|
|
548
|
-
"
|
|
549
|
-
|
|
550
|
-
|
|
551
|
-
"properties": {
|
|
552
|
-
"action": {
|
|
553
|
-
"anyOf": [
|
|
554
|
-
{ "const": "call", "type": "string" },
|
|
555
|
-
{ "const": "publish", "type": "string" },
|
|
556
|
-
{ "const": "subscribe", "type": "string" },
|
|
557
|
-
{ "const": "observe", "type": "string" },
|
|
558
|
-
{ "const": "cancel", "type": "string" },
|
|
559
|
-
],
|
|
560
|
-
},
|
|
561
|
-
"contractId": { "minLength": 1, "type": "string" },
|
|
562
|
-
"kind": {
|
|
563
|
-
"anyOf": [
|
|
564
|
-
{ "const": "rpc", "type": "string" },
|
|
565
|
-
{ "const": "operation", "type": "string" },
|
|
566
|
-
{ "const": "event", "type": "string" },
|
|
567
|
-
{ "const": "feed", "type": "string" },
|
|
568
|
-
],
|
|
569
|
-
},
|
|
570
|
-
"name": { "minLength": 1, "type": "string" },
|
|
571
|
-
},
|
|
572
|
-
"required": ["contractId", "kind", "name"],
|
|
573
|
-
"type": "object",
|
|
547
|
+
"type": "array",
|
|
548
|
+
},
|
|
549
|
+
"contracts": {
|
|
550
|
+
"items": {
|
|
551
|
+
"properties": {
|
|
552
|
+
"contractId": { "minLength": 1, "type": "string" },
|
|
553
|
+
"required": { "type": "boolean" },
|
|
574
554
|
},
|
|
555
|
+
"required": ["contractId", "required"],
|
|
556
|
+
"type": "object",
|
|
575
557
|
},
|
|
576
|
-
"
|
|
577
|
-
|
|
578
|
-
|
|
579
|
-
"
|
|
580
|
-
"
|
|
581
|
-
|
|
582
|
-
|
|
558
|
+
"type": "array",
|
|
559
|
+
},
|
|
560
|
+
"resources": {
|
|
561
|
+
"items": {
|
|
562
|
+
"properties": {
|
|
563
|
+
"alias": { "minLength": 1, "type": "string" },
|
|
564
|
+
"definition": { "type": "object" },
|
|
565
|
+
"kind": {
|
|
566
|
+
"anyOf": [
|
|
567
|
+
{ "const": "kv", "type": "string" },
|
|
568
|
+
{ "const": "store", "type": "string" },
|
|
569
|
+
{ "const": "jobs", "type": "string" },
|
|
570
|
+
{ "const": "event-consumer", "type": "string" },
|
|
571
|
+
{ "const": "transfer", "type": "string" },
|
|
572
|
+
],
|
|
573
|
+
},
|
|
574
|
+
"required": { "type": "boolean" },
|
|
575
|
+
},
|
|
576
|
+
"required": ["kind", "alias", "required"],
|
|
577
|
+
"type": "object",
|
|
583
578
|
},
|
|
584
|
-
"
|
|
585
|
-
|
|
586
|
-
|
|
587
|
-
"
|
|
588
|
-
"
|
|
589
|
-
|
|
590
|
-
|
|
591
|
-
|
|
592
|
-
|
|
593
|
-
|
|
594
|
-
|
|
595
|
-
"
|
|
596
|
-
|
|
597
|
-
{ "const": "store", "type": "string" },
|
|
598
|
-
{ "const": "jobs", "type": "string" },
|
|
599
|
-
{ "const": "event-consumer", "type": "string" },
|
|
600
|
-
{ "const": "transfer", "type": "string" },
|
|
601
|
-
],
|
|
602
|
-
},
|
|
603
|
-
"required": { "type": "boolean" },
|
|
579
|
+
"type": "array",
|
|
580
|
+
},
|
|
581
|
+
"surfaces": {
|
|
582
|
+
"items": {
|
|
583
|
+
"properties": {
|
|
584
|
+
"action": {
|
|
585
|
+
"anyOf": [
|
|
586
|
+
{ "const": "call", "type": "string" },
|
|
587
|
+
{ "const": "publish", "type": "string" },
|
|
588
|
+
{ "const": "subscribe", "type": "string" },
|
|
589
|
+
{ "const": "observe", "type": "string" },
|
|
590
|
+
{ "const": "cancel", "type": "string" },
|
|
591
|
+
],
|
|
604
592
|
},
|
|
605
|
-
"
|
|
606
|
-
"
|
|
593
|
+
"contractId": { "minLength": 1, "type": "string" },
|
|
594
|
+
"kind": {
|
|
595
|
+
"anyOf": [
|
|
596
|
+
{ "const": "rpc", "type": "string" },
|
|
597
|
+
{ "const": "operation", "type": "string" },
|
|
598
|
+
{ "const": "event", "type": "string" },
|
|
599
|
+
{ "const": "feed", "type": "string" },
|
|
600
|
+
],
|
|
601
|
+
},
|
|
602
|
+
"name": { "minLength": 1, "type": "string" },
|
|
603
|
+
"required": { "type": "boolean" },
|
|
607
604
|
},
|
|
605
|
+
"required": ["contractId", "kind", "name", "required"],
|
|
606
|
+
"type": "object",
|
|
608
607
|
},
|
|
609
|
-
"
|
|
610
|
-
|
|
611
|
-
}],
|
|
608
|
+
"type": "array",
|
|
609
|
+
},
|
|
612
610
|
},
|
|
613
|
-
"
|
|
611
|
+
"required": [
|
|
612
|
+
"contracts",
|
|
613
|
+
"surfaces",
|
|
614
|
+
"capabilities",
|
|
615
|
+
"resources",
|
|
616
|
+
],
|
|
617
|
+
"type": "object",
|
|
614
618
|
},
|
|
615
619
|
"resources": {
|
|
616
620
|
"items": {
|
|
@@ -723,83 +727,87 @@ export const AuthDeploymentAuthorityGetResponseSchema = {
|
|
|
723
727
|
"type": "array",
|
|
724
728
|
},
|
|
725
729
|
"needs": {
|
|
726
|
-
"
|
|
727
|
-
"
|
|
728
|
-
"
|
|
729
|
-
"
|
|
730
|
-
|
|
731
|
-
|
|
730
|
+
"properties": {
|
|
731
|
+
"capabilities": {
|
|
732
|
+
"items": {
|
|
733
|
+
"properties": {
|
|
734
|
+
"capability": { "minLength": 1, "type": "string" },
|
|
735
|
+
"required": { "type": "boolean" },
|
|
736
|
+
},
|
|
737
|
+
"required": ["capability", "required"],
|
|
738
|
+
"type": "object",
|
|
732
739
|
},
|
|
733
|
-
"
|
|
734
|
-
|
|
735
|
-
|
|
736
|
-
"
|
|
737
|
-
"
|
|
738
|
-
|
|
739
|
-
|
|
740
|
-
"properties": {
|
|
741
|
-
"action": {
|
|
742
|
-
"anyOf": [
|
|
743
|
-
{ "const": "call", "type": "string" },
|
|
744
|
-
{ "const": "publish", "type": "string" },
|
|
745
|
-
{ "const": "subscribe", "type": "string" },
|
|
746
|
-
{ "const": "observe", "type": "string" },
|
|
747
|
-
{ "const": "cancel", "type": "string" },
|
|
748
|
-
],
|
|
749
|
-
},
|
|
750
|
-
"contractId": { "minLength": 1, "type": "string" },
|
|
751
|
-
"kind": {
|
|
752
|
-
"anyOf": [
|
|
753
|
-
{ "const": "rpc", "type": "string" },
|
|
754
|
-
{ "const": "operation", "type": "string" },
|
|
755
|
-
{ "const": "event", "type": "string" },
|
|
756
|
-
{ "const": "feed", "type": "string" },
|
|
757
|
-
],
|
|
758
|
-
},
|
|
759
|
-
"name": { "minLength": 1, "type": "string" },
|
|
760
|
-
},
|
|
761
|
-
"required": ["contractId", "kind", "name"],
|
|
762
|
-
"type": "object",
|
|
740
|
+
"type": "array",
|
|
741
|
+
},
|
|
742
|
+
"contracts": {
|
|
743
|
+
"items": {
|
|
744
|
+
"properties": {
|
|
745
|
+
"contractId": { "minLength": 1, "type": "string" },
|
|
746
|
+
"required": { "type": "boolean" },
|
|
763
747
|
},
|
|
748
|
+
"required": ["contractId", "required"],
|
|
749
|
+
"type": "object",
|
|
764
750
|
},
|
|
765
|
-
"
|
|
766
|
-
|
|
767
|
-
|
|
768
|
-
"
|
|
769
|
-
"
|
|
770
|
-
|
|
771
|
-
|
|
751
|
+
"type": "array",
|
|
752
|
+
},
|
|
753
|
+
"resources": {
|
|
754
|
+
"items": {
|
|
755
|
+
"properties": {
|
|
756
|
+
"alias": { "minLength": 1, "type": "string" },
|
|
757
|
+
"definition": { "type": "object" },
|
|
758
|
+
"kind": {
|
|
759
|
+
"anyOf": [
|
|
760
|
+
{ "const": "kv", "type": "string" },
|
|
761
|
+
{ "const": "store", "type": "string" },
|
|
762
|
+
{ "const": "jobs", "type": "string" },
|
|
763
|
+
{ "const": "event-consumer", "type": "string" },
|
|
764
|
+
{ "const": "transfer", "type": "string" },
|
|
765
|
+
],
|
|
766
|
+
},
|
|
767
|
+
"required": { "type": "boolean" },
|
|
768
|
+
},
|
|
769
|
+
"required": ["kind", "alias", "required"],
|
|
770
|
+
"type": "object",
|
|
772
771
|
},
|
|
773
|
-
"
|
|
774
|
-
|
|
775
|
-
|
|
776
|
-
"
|
|
777
|
-
"
|
|
778
|
-
|
|
779
|
-
|
|
780
|
-
|
|
781
|
-
|
|
782
|
-
|
|
783
|
-
|
|
784
|
-
"
|
|
785
|
-
|
|
786
|
-
{ "const": "store", "type": "string" },
|
|
787
|
-
{ "const": "jobs", "type": "string" },
|
|
788
|
-
{ "const": "event-consumer", "type": "string" },
|
|
789
|
-
{ "const": "transfer", "type": "string" },
|
|
790
|
-
],
|
|
791
|
-
},
|
|
792
|
-
"required": { "type": "boolean" },
|
|
772
|
+
"type": "array",
|
|
773
|
+
},
|
|
774
|
+
"surfaces": {
|
|
775
|
+
"items": {
|
|
776
|
+
"properties": {
|
|
777
|
+
"action": {
|
|
778
|
+
"anyOf": [
|
|
779
|
+
{ "const": "call", "type": "string" },
|
|
780
|
+
{ "const": "publish", "type": "string" },
|
|
781
|
+
{ "const": "subscribe", "type": "string" },
|
|
782
|
+
{ "const": "observe", "type": "string" },
|
|
783
|
+
{ "const": "cancel", "type": "string" },
|
|
784
|
+
],
|
|
793
785
|
},
|
|
794
|
-
"
|
|
795
|
-
"
|
|
786
|
+
"contractId": { "minLength": 1, "type": "string" },
|
|
787
|
+
"kind": {
|
|
788
|
+
"anyOf": [
|
|
789
|
+
{ "const": "rpc", "type": "string" },
|
|
790
|
+
{ "const": "operation", "type": "string" },
|
|
791
|
+
{ "const": "event", "type": "string" },
|
|
792
|
+
{ "const": "feed", "type": "string" },
|
|
793
|
+
],
|
|
794
|
+
},
|
|
795
|
+
"name": { "minLength": 1, "type": "string" },
|
|
796
|
+
"required": { "type": "boolean" },
|
|
796
797
|
},
|
|
798
|
+
"required": ["contractId", "kind", "name", "required"],
|
|
799
|
+
"type": "object",
|
|
797
800
|
},
|
|
798
|
-
"
|
|
799
|
-
|
|
800
|
-
}],
|
|
801
|
+
"type": "array",
|
|
802
|
+
},
|
|
801
803
|
},
|
|
802
|
-
"
|
|
804
|
+
"required": [
|
|
805
|
+
"contracts",
|
|
806
|
+
"surfaces",
|
|
807
|
+
"capabilities",
|
|
808
|
+
"resources",
|
|
809
|
+
],
|
|
810
|
+
"type": "object",
|
|
803
811
|
},
|
|
804
812
|
"resources": {
|
|
805
813
|
"items": {
|
|
@@ -980,99 +988,107 @@ export const AuthDeploymentAuthorityGetResponseSchema = {
|
|
|
980
988
|
"desiredVersion": { "minLength": 1, "type": "string" },
|
|
981
989
|
"error": { "minLength": 1, "type": "string" },
|
|
982
990
|
"grants": {
|
|
983
|
-
"
|
|
984
|
-
"
|
|
985
|
-
"
|
|
986
|
-
"
|
|
987
|
-
|
|
988
|
-
},
|
|
989
|
-
"required": ["kind", "capability"],
|
|
990
|
-
"type": "object",
|
|
991
|
-
}, {
|
|
992
|
-
"properties": {
|
|
993
|
-
"action": {
|
|
994
|
-
"anyOf": [
|
|
995
|
-
{ "const": "call", "type": "string" },
|
|
996
|
-
{ "const": "publish", "type": "string" },
|
|
997
|
-
{ "const": "subscribe", "type": "string" },
|
|
998
|
-
{ "const": "observe", "type": "string" },
|
|
999
|
-
{ "const": "cancel", "type": "string" },
|
|
1000
|
-
],
|
|
1001
|
-
},
|
|
1002
|
-
"contractId": { "minLength": 1, "type": "string" },
|
|
1003
|
-
"kind": { "const": "surface", "type": "string" },
|
|
1004
|
-
"name": { "minLength": 1, "type": "string" },
|
|
1005
|
-
"surfaceKind": {
|
|
1006
|
-
"anyOf": [
|
|
1007
|
-
{ "const": "rpc", "type": "string" },
|
|
1008
|
-
{ "const": "operation", "type": "string" },
|
|
1009
|
-
{ "const": "event", "type": "string" },
|
|
1010
|
-
{ "const": "feed", "type": "string" },
|
|
1011
|
-
],
|
|
991
|
+
"properties": {
|
|
992
|
+
"capabilities": {
|
|
993
|
+
"items": {
|
|
994
|
+
"properties": {
|
|
995
|
+
"capability": { "minLength": 1, "type": "string" },
|
|
1012
996
|
},
|
|
997
|
+
"required": ["capability"],
|
|
998
|
+
"type": "object",
|
|
1013
999
|
},
|
|
1014
|
-
"
|
|
1015
|
-
|
|
1016
|
-
|
|
1017
|
-
"
|
|
1018
|
-
"
|
|
1019
|
-
"
|
|
1020
|
-
"const": "
|
|
1021
|
-
|
|
1022
|
-
|
|
1023
|
-
|
|
1024
|
-
|
|
1025
|
-
"
|
|
1026
|
-
|
|
1027
|
-
|
|
1028
|
-
|
|
1029
|
-
|
|
1030
|
-
|
|
1031
|
-
|
|
1032
|
-
|
|
1033
|
-
|
|
1034
|
-
|
|
1035
|
-
|
|
1036
|
-
|
|
1037
|
-
|
|
1038
|
-
|
|
1039
|
-
|
|
1040
|
-
|
|
1041
|
-
|
|
1042
|
-
|
|
1043
|
-
|
|
1044
|
-
|
|
1045
|
-
|
|
1046
|
-
|
|
1047
|
-
|
|
1048
|
-
|
|
1049
|
-
|
|
1050
|
-
|
|
1051
|
-
|
|
1052
|
-
|
|
1053
|
-
|
|
1054
|
-
|
|
1055
|
-
|
|
1056
|
-
|
|
1057
|
-
|
|
1000
|
+
"type": "array",
|
|
1001
|
+
},
|
|
1002
|
+
"nats": {
|
|
1003
|
+
"items": {
|
|
1004
|
+
"properties": {
|
|
1005
|
+
"direction": {
|
|
1006
|
+
"anyOf": [{ "const": "publish", "type": "string" }, {
|
|
1007
|
+
"const": "subscribe",
|
|
1008
|
+
"type": "string",
|
|
1009
|
+
}],
|
|
1010
|
+
},
|
|
1011
|
+
"grantSource": {
|
|
1012
|
+
"anyOf": [
|
|
1013
|
+
{ "const": "owned-surface", "type": "string" },
|
|
1014
|
+
{ "const": "used-surface", "type": "string" },
|
|
1015
|
+
{ "const": "resource-binding", "type": "string" },
|
|
1016
|
+
{ "const": "platform-service", "type": "string" },
|
|
1017
|
+
{ "const": "transfer", "type": "string" },
|
|
1018
|
+
],
|
|
1019
|
+
},
|
|
1020
|
+
"requiredCapabilities": {
|
|
1021
|
+
"items": { "minLength": 1, "type": "string" },
|
|
1022
|
+
"type": "array",
|
|
1023
|
+
},
|
|
1024
|
+
"subject": { "minLength": 1, "type": "string" },
|
|
1025
|
+
"surface": {
|
|
1026
|
+
"properties": {
|
|
1027
|
+
"action": {
|
|
1028
|
+
"anyOf": [
|
|
1029
|
+
{ "const": "call", "type": "string" },
|
|
1030
|
+
{ "const": "publish", "type": "string" },
|
|
1031
|
+
{ "const": "subscribe", "type": "string" },
|
|
1032
|
+
{ "const": "observe", "type": "string" },
|
|
1033
|
+
{ "const": "cancel", "type": "string" },
|
|
1034
|
+
],
|
|
1035
|
+
},
|
|
1036
|
+
"contractId": { "minLength": 1, "type": "string" },
|
|
1037
|
+
"kind": {
|
|
1038
|
+
"anyOf": [
|
|
1039
|
+
{ "const": "rpc", "type": "string" },
|
|
1040
|
+
{ "const": "operation", "type": "string" },
|
|
1041
|
+
{ "const": "event", "type": "string" },
|
|
1042
|
+
{ "const": "feed", "type": "string" },
|
|
1043
|
+
],
|
|
1044
|
+
},
|
|
1045
|
+
"name": { "minLength": 1, "type": "string" },
|
|
1058
1046
|
},
|
|
1059
|
-
"
|
|
1047
|
+
"required": ["contractId", "kind", "name"],
|
|
1048
|
+
"type": "object",
|
|
1060
1049
|
},
|
|
1061
|
-
"required": ["contractId", "kind", "name"],
|
|
1062
|
-
"type": "object",
|
|
1063
1050
|
},
|
|
1051
|
+
"required": [
|
|
1052
|
+
"direction",
|
|
1053
|
+
"subject",
|
|
1054
|
+
"requiredCapabilities",
|
|
1055
|
+
"grantSource",
|
|
1056
|
+
],
|
|
1057
|
+
"type": "object",
|
|
1064
1058
|
},
|
|
1065
|
-
"
|
|
1066
|
-
|
|
1067
|
-
|
|
1068
|
-
|
|
1069
|
-
"
|
|
1070
|
-
|
|
1071
|
-
|
|
1072
|
-
|
|
1073
|
-
|
|
1059
|
+
"type": "array",
|
|
1060
|
+
},
|
|
1061
|
+
"surfaces": {
|
|
1062
|
+
"items": {
|
|
1063
|
+
"properties": {
|
|
1064
|
+
"action": {
|
|
1065
|
+
"anyOf": [
|
|
1066
|
+
{ "const": "call", "type": "string" },
|
|
1067
|
+
{ "const": "publish", "type": "string" },
|
|
1068
|
+
{ "const": "subscribe", "type": "string" },
|
|
1069
|
+
{ "const": "observe", "type": "string" },
|
|
1070
|
+
{ "const": "cancel", "type": "string" },
|
|
1071
|
+
],
|
|
1072
|
+
},
|
|
1073
|
+
"contractId": { "minLength": 1, "type": "string" },
|
|
1074
|
+
"name": { "minLength": 1, "type": "string" },
|
|
1075
|
+
"surfaceKind": {
|
|
1076
|
+
"anyOf": [
|
|
1077
|
+
{ "const": "rpc", "type": "string" },
|
|
1078
|
+
{ "const": "operation", "type": "string" },
|
|
1079
|
+
{ "const": "event", "type": "string" },
|
|
1080
|
+
{ "const": "feed", "type": "string" },
|
|
1081
|
+
],
|
|
1082
|
+
},
|
|
1083
|
+
},
|
|
1084
|
+
"required": ["contractId", "surfaceKind", "name"],
|
|
1085
|
+
"type": "object",
|
|
1086
|
+
},
|
|
1087
|
+
"type": "array",
|
|
1088
|
+
},
|
|
1074
1089
|
},
|
|
1075
|
-
"
|
|
1090
|
+
"required": ["capabilities", "surfaces", "nats"],
|
|
1091
|
+
"type": "object",
|
|
1076
1092
|
},
|
|
1077
1093
|
"reconciledAt": {
|
|
1078
1094
|
"anyOf": [{ "format": "date-time", "type": "string" }, {
|
|
@@ -1626,83 +1642,87 @@ export const AuthDeploymentAuthorityListResponseSchema = {
|
|
|
1626
1642
|
"type": "array",
|
|
1627
1643
|
},
|
|
1628
1644
|
"needs": {
|
|
1629
|
-
"
|
|
1630
|
-
"
|
|
1631
|
-
"
|
|
1632
|
-
"
|
|
1633
|
-
|
|
1634
|
-
|
|
1645
|
+
"properties": {
|
|
1646
|
+
"capabilities": {
|
|
1647
|
+
"items": {
|
|
1648
|
+
"properties": {
|
|
1649
|
+
"capability": { "minLength": 1, "type": "string" },
|
|
1650
|
+
"required": { "type": "boolean" },
|
|
1651
|
+
},
|
|
1652
|
+
"required": ["capability", "required"],
|
|
1653
|
+
"type": "object",
|
|
1635
1654
|
},
|
|
1636
|
-
"
|
|
1637
|
-
|
|
1638
|
-
|
|
1639
|
-
"
|
|
1640
|
-
"
|
|
1641
|
-
|
|
1642
|
-
|
|
1643
|
-
"properties": {
|
|
1644
|
-
"action": {
|
|
1645
|
-
"anyOf": [
|
|
1646
|
-
{ "const": "call", "type": "string" },
|
|
1647
|
-
{ "const": "publish", "type": "string" },
|
|
1648
|
-
{ "const": "subscribe", "type": "string" },
|
|
1649
|
-
{ "const": "observe", "type": "string" },
|
|
1650
|
-
{ "const": "cancel", "type": "string" },
|
|
1651
|
-
],
|
|
1652
|
-
},
|
|
1653
|
-
"contractId": { "minLength": 1, "type": "string" },
|
|
1654
|
-
"kind": {
|
|
1655
|
-
"anyOf": [
|
|
1656
|
-
{ "const": "rpc", "type": "string" },
|
|
1657
|
-
{ "const": "operation", "type": "string" },
|
|
1658
|
-
{ "const": "event", "type": "string" },
|
|
1659
|
-
{ "const": "feed", "type": "string" },
|
|
1660
|
-
],
|
|
1661
|
-
},
|
|
1662
|
-
"name": { "minLength": 1, "type": "string" },
|
|
1663
|
-
},
|
|
1664
|
-
"required": ["contractId", "kind", "name"],
|
|
1665
|
-
"type": "object",
|
|
1655
|
+
"type": "array",
|
|
1656
|
+
},
|
|
1657
|
+
"contracts": {
|
|
1658
|
+
"items": {
|
|
1659
|
+
"properties": {
|
|
1660
|
+
"contractId": { "minLength": 1, "type": "string" },
|
|
1661
|
+
"required": { "type": "boolean" },
|
|
1666
1662
|
},
|
|
1663
|
+
"required": ["contractId", "required"],
|
|
1664
|
+
"type": "object",
|
|
1667
1665
|
},
|
|
1668
|
-
"
|
|
1669
|
-
|
|
1670
|
-
|
|
1671
|
-
"
|
|
1672
|
-
"
|
|
1673
|
-
|
|
1674
|
-
|
|
1666
|
+
"type": "array",
|
|
1667
|
+
},
|
|
1668
|
+
"resources": {
|
|
1669
|
+
"items": {
|
|
1670
|
+
"properties": {
|
|
1671
|
+
"alias": { "minLength": 1, "type": "string" },
|
|
1672
|
+
"definition": { "type": "object" },
|
|
1673
|
+
"kind": {
|
|
1674
|
+
"anyOf": [
|
|
1675
|
+
{ "const": "kv", "type": "string" },
|
|
1676
|
+
{ "const": "store", "type": "string" },
|
|
1677
|
+
{ "const": "jobs", "type": "string" },
|
|
1678
|
+
{ "const": "event-consumer", "type": "string" },
|
|
1679
|
+
{ "const": "transfer", "type": "string" },
|
|
1680
|
+
],
|
|
1681
|
+
},
|
|
1682
|
+
"required": { "type": "boolean" },
|
|
1683
|
+
},
|
|
1684
|
+
"required": ["kind", "alias", "required"],
|
|
1685
|
+
"type": "object",
|
|
1675
1686
|
},
|
|
1676
|
-
"
|
|
1677
|
-
|
|
1678
|
-
|
|
1679
|
-
"
|
|
1680
|
-
"
|
|
1681
|
-
|
|
1682
|
-
|
|
1683
|
-
|
|
1684
|
-
|
|
1685
|
-
|
|
1686
|
-
|
|
1687
|
-
"
|
|
1688
|
-
|
|
1689
|
-
{ "const": "store", "type": "string" },
|
|
1690
|
-
{ "const": "jobs", "type": "string" },
|
|
1691
|
-
{ "const": "event-consumer", "type": "string" },
|
|
1692
|
-
{ "const": "transfer", "type": "string" },
|
|
1693
|
-
],
|
|
1694
|
-
},
|
|
1695
|
-
"required": { "type": "boolean" },
|
|
1687
|
+
"type": "array",
|
|
1688
|
+
},
|
|
1689
|
+
"surfaces": {
|
|
1690
|
+
"items": {
|
|
1691
|
+
"properties": {
|
|
1692
|
+
"action": {
|
|
1693
|
+
"anyOf": [
|
|
1694
|
+
{ "const": "call", "type": "string" },
|
|
1695
|
+
{ "const": "publish", "type": "string" },
|
|
1696
|
+
{ "const": "subscribe", "type": "string" },
|
|
1697
|
+
{ "const": "observe", "type": "string" },
|
|
1698
|
+
{ "const": "cancel", "type": "string" },
|
|
1699
|
+
],
|
|
1696
1700
|
},
|
|
1697
|
-
"
|
|
1698
|
-
"
|
|
1701
|
+
"contractId": { "minLength": 1, "type": "string" },
|
|
1702
|
+
"kind": {
|
|
1703
|
+
"anyOf": [
|
|
1704
|
+
{ "const": "rpc", "type": "string" },
|
|
1705
|
+
{ "const": "operation", "type": "string" },
|
|
1706
|
+
{ "const": "event", "type": "string" },
|
|
1707
|
+
{ "const": "feed", "type": "string" },
|
|
1708
|
+
],
|
|
1709
|
+
},
|
|
1710
|
+
"name": { "minLength": 1, "type": "string" },
|
|
1711
|
+
"required": { "type": "boolean" },
|
|
1699
1712
|
},
|
|
1713
|
+
"required": ["contractId", "kind", "name", "required"],
|
|
1714
|
+
"type": "object",
|
|
1700
1715
|
},
|
|
1701
|
-
"
|
|
1702
|
-
|
|
1703
|
-
}],
|
|
1716
|
+
"type": "array",
|
|
1717
|
+
},
|
|
1704
1718
|
},
|
|
1705
|
-
"
|
|
1719
|
+
"required": [
|
|
1720
|
+
"contracts",
|
|
1721
|
+
"surfaces",
|
|
1722
|
+
"capabilities",
|
|
1723
|
+
"resources",
|
|
1724
|
+
],
|
|
1725
|
+
"type": "object",
|
|
1706
1726
|
},
|
|
1707
1727
|
"resources": {
|
|
1708
1728
|
"items": {
|
|
@@ -1867,83 +1887,87 @@ export const AuthDeploymentAuthorityPlanResponseSchema = {
|
|
|
1867
1887
|
"type": "array",
|
|
1868
1888
|
},
|
|
1869
1889
|
"requestedNeeds": {
|
|
1870
|
-
"
|
|
1871
|
-
"
|
|
1872
|
-
"
|
|
1873
|
-
"
|
|
1874
|
-
|
|
1875
|
-
|
|
1890
|
+
"properties": {
|
|
1891
|
+
"capabilities": {
|
|
1892
|
+
"items": {
|
|
1893
|
+
"properties": {
|
|
1894
|
+
"capability": { "minLength": 1, "type": "string" },
|
|
1895
|
+
"required": { "type": "boolean" },
|
|
1896
|
+
},
|
|
1897
|
+
"required": ["capability", "required"],
|
|
1898
|
+
"type": "object",
|
|
1876
1899
|
},
|
|
1877
|
-
"
|
|
1878
|
-
|
|
1879
|
-
|
|
1880
|
-
"
|
|
1881
|
-
"
|
|
1882
|
-
|
|
1883
|
-
|
|
1884
|
-
"properties": {
|
|
1885
|
-
"action": {
|
|
1886
|
-
"anyOf": [
|
|
1887
|
-
{ "const": "call", "type": "string" },
|
|
1888
|
-
{ "const": "publish", "type": "string" },
|
|
1889
|
-
{ "const": "subscribe", "type": "string" },
|
|
1890
|
-
{ "const": "observe", "type": "string" },
|
|
1891
|
-
{ "const": "cancel", "type": "string" },
|
|
1892
|
-
],
|
|
1893
|
-
},
|
|
1894
|
-
"contractId": { "minLength": 1, "type": "string" },
|
|
1895
|
-
"kind": {
|
|
1896
|
-
"anyOf": [
|
|
1897
|
-
{ "const": "rpc", "type": "string" },
|
|
1898
|
-
{ "const": "operation", "type": "string" },
|
|
1899
|
-
{ "const": "event", "type": "string" },
|
|
1900
|
-
{ "const": "feed", "type": "string" },
|
|
1901
|
-
],
|
|
1902
|
-
},
|
|
1903
|
-
"name": { "minLength": 1, "type": "string" },
|
|
1904
|
-
},
|
|
1905
|
-
"required": ["contractId", "kind", "name"],
|
|
1906
|
-
"type": "object",
|
|
1900
|
+
"type": "array",
|
|
1901
|
+
},
|
|
1902
|
+
"contracts": {
|
|
1903
|
+
"items": {
|
|
1904
|
+
"properties": {
|
|
1905
|
+
"contractId": { "minLength": 1, "type": "string" },
|
|
1906
|
+
"required": { "type": "boolean" },
|
|
1907
1907
|
},
|
|
1908
|
+
"required": ["contractId", "required"],
|
|
1909
|
+
"type": "object",
|
|
1908
1910
|
},
|
|
1909
|
-
"
|
|
1910
|
-
|
|
1911
|
-
|
|
1912
|
-
"
|
|
1913
|
-
"
|
|
1914
|
-
|
|
1915
|
-
|
|
1911
|
+
"type": "array",
|
|
1912
|
+
},
|
|
1913
|
+
"resources": {
|
|
1914
|
+
"items": {
|
|
1915
|
+
"properties": {
|
|
1916
|
+
"alias": { "minLength": 1, "type": "string" },
|
|
1917
|
+
"definition": { "type": "object" },
|
|
1918
|
+
"kind": {
|
|
1919
|
+
"anyOf": [
|
|
1920
|
+
{ "const": "kv", "type": "string" },
|
|
1921
|
+
{ "const": "store", "type": "string" },
|
|
1922
|
+
{ "const": "jobs", "type": "string" },
|
|
1923
|
+
{ "const": "event-consumer", "type": "string" },
|
|
1924
|
+
{ "const": "transfer", "type": "string" },
|
|
1925
|
+
],
|
|
1926
|
+
},
|
|
1927
|
+
"required": { "type": "boolean" },
|
|
1928
|
+
},
|
|
1929
|
+
"required": ["kind", "alias", "required"],
|
|
1930
|
+
"type": "object",
|
|
1916
1931
|
},
|
|
1917
|
-
"
|
|
1918
|
-
|
|
1919
|
-
|
|
1920
|
-
"
|
|
1921
|
-
"
|
|
1922
|
-
|
|
1923
|
-
|
|
1924
|
-
|
|
1925
|
-
|
|
1926
|
-
|
|
1927
|
-
|
|
1928
|
-
"
|
|
1929
|
-
|
|
1930
|
-
{ "const": "store", "type": "string" },
|
|
1931
|
-
{ "const": "jobs", "type": "string" },
|
|
1932
|
-
{ "const": "event-consumer", "type": "string" },
|
|
1933
|
-
{ "const": "transfer", "type": "string" },
|
|
1934
|
-
],
|
|
1935
|
-
},
|
|
1936
|
-
"required": { "type": "boolean" },
|
|
1932
|
+
"type": "array",
|
|
1933
|
+
},
|
|
1934
|
+
"surfaces": {
|
|
1935
|
+
"items": {
|
|
1936
|
+
"properties": {
|
|
1937
|
+
"action": {
|
|
1938
|
+
"anyOf": [
|
|
1939
|
+
{ "const": "call", "type": "string" },
|
|
1940
|
+
{ "const": "publish", "type": "string" },
|
|
1941
|
+
{ "const": "subscribe", "type": "string" },
|
|
1942
|
+
{ "const": "observe", "type": "string" },
|
|
1943
|
+
{ "const": "cancel", "type": "string" },
|
|
1944
|
+
],
|
|
1937
1945
|
},
|
|
1938
|
-
"
|
|
1939
|
-
"
|
|
1946
|
+
"contractId": { "minLength": 1, "type": "string" },
|
|
1947
|
+
"kind": {
|
|
1948
|
+
"anyOf": [
|
|
1949
|
+
{ "const": "rpc", "type": "string" },
|
|
1950
|
+
{ "const": "operation", "type": "string" },
|
|
1951
|
+
{ "const": "event", "type": "string" },
|
|
1952
|
+
{ "const": "feed", "type": "string" },
|
|
1953
|
+
],
|
|
1954
|
+
},
|
|
1955
|
+
"name": { "minLength": 1, "type": "string" },
|
|
1956
|
+
"required": { "type": "boolean" },
|
|
1940
1957
|
},
|
|
1958
|
+
"required": ["contractId", "kind", "name", "required"],
|
|
1959
|
+
"type": "object",
|
|
1941
1960
|
},
|
|
1942
|
-
"
|
|
1943
|
-
|
|
1944
|
-
}],
|
|
1961
|
+
"type": "array",
|
|
1962
|
+
},
|
|
1945
1963
|
},
|
|
1946
|
-
"
|
|
1964
|
+
"required": [
|
|
1965
|
+
"contracts",
|
|
1966
|
+
"surfaces",
|
|
1967
|
+
"capabilities",
|
|
1968
|
+
"resources",
|
|
1969
|
+
],
|
|
1970
|
+
"type": "object",
|
|
1947
1971
|
},
|
|
1948
1972
|
"summary": { "type": "object" },
|
|
1949
1973
|
},
|
|
@@ -2043,83 +2067,87 @@ export const AuthDeploymentAuthorityPlanResponseSchema = {
|
|
|
2043
2067
|
"type": "array",
|
|
2044
2068
|
},
|
|
2045
2069
|
"requestedNeeds": {
|
|
2046
|
-
"
|
|
2047
|
-
"
|
|
2048
|
-
"
|
|
2049
|
-
"
|
|
2050
|
-
|
|
2051
|
-
|
|
2070
|
+
"properties": {
|
|
2071
|
+
"capabilities": {
|
|
2072
|
+
"items": {
|
|
2073
|
+
"properties": {
|
|
2074
|
+
"capability": { "minLength": 1, "type": "string" },
|
|
2075
|
+
"required": { "type": "boolean" },
|
|
2076
|
+
},
|
|
2077
|
+
"required": ["capability", "required"],
|
|
2078
|
+
"type": "object",
|
|
2052
2079
|
},
|
|
2053
|
-
"
|
|
2054
|
-
|
|
2055
|
-
|
|
2056
|
-
"
|
|
2057
|
-
"
|
|
2058
|
-
|
|
2059
|
-
|
|
2060
|
-
"properties": {
|
|
2061
|
-
"action": {
|
|
2062
|
-
"anyOf": [
|
|
2063
|
-
{ "const": "call", "type": "string" },
|
|
2064
|
-
{ "const": "publish", "type": "string" },
|
|
2065
|
-
{ "const": "subscribe", "type": "string" },
|
|
2066
|
-
{ "const": "observe", "type": "string" },
|
|
2067
|
-
{ "const": "cancel", "type": "string" },
|
|
2068
|
-
],
|
|
2069
|
-
},
|
|
2070
|
-
"contractId": { "minLength": 1, "type": "string" },
|
|
2071
|
-
"kind": {
|
|
2072
|
-
"anyOf": [
|
|
2073
|
-
{ "const": "rpc", "type": "string" },
|
|
2074
|
-
{ "const": "operation", "type": "string" },
|
|
2075
|
-
{ "const": "event", "type": "string" },
|
|
2076
|
-
{ "const": "feed", "type": "string" },
|
|
2077
|
-
],
|
|
2078
|
-
},
|
|
2079
|
-
"name": { "minLength": 1, "type": "string" },
|
|
2080
|
-
},
|
|
2081
|
-
"required": ["contractId", "kind", "name"],
|
|
2082
|
-
"type": "object",
|
|
2080
|
+
"type": "array",
|
|
2081
|
+
},
|
|
2082
|
+
"contracts": {
|
|
2083
|
+
"items": {
|
|
2084
|
+
"properties": {
|
|
2085
|
+
"contractId": { "minLength": 1, "type": "string" },
|
|
2086
|
+
"required": { "type": "boolean" },
|
|
2083
2087
|
},
|
|
2088
|
+
"required": ["contractId", "required"],
|
|
2089
|
+
"type": "object",
|
|
2084
2090
|
},
|
|
2085
|
-
"
|
|
2086
|
-
|
|
2087
|
-
|
|
2088
|
-
"
|
|
2089
|
-
"
|
|
2090
|
-
|
|
2091
|
-
|
|
2091
|
+
"type": "array",
|
|
2092
|
+
},
|
|
2093
|
+
"resources": {
|
|
2094
|
+
"items": {
|
|
2095
|
+
"properties": {
|
|
2096
|
+
"alias": { "minLength": 1, "type": "string" },
|
|
2097
|
+
"definition": { "type": "object" },
|
|
2098
|
+
"kind": {
|
|
2099
|
+
"anyOf": [
|
|
2100
|
+
{ "const": "kv", "type": "string" },
|
|
2101
|
+
{ "const": "store", "type": "string" },
|
|
2102
|
+
{ "const": "jobs", "type": "string" },
|
|
2103
|
+
{ "const": "event-consumer", "type": "string" },
|
|
2104
|
+
{ "const": "transfer", "type": "string" },
|
|
2105
|
+
],
|
|
2106
|
+
},
|
|
2107
|
+
"required": { "type": "boolean" },
|
|
2108
|
+
},
|
|
2109
|
+
"required": ["kind", "alias", "required"],
|
|
2110
|
+
"type": "object",
|
|
2092
2111
|
},
|
|
2093
|
-
"
|
|
2094
|
-
|
|
2095
|
-
|
|
2096
|
-
"
|
|
2097
|
-
"
|
|
2098
|
-
|
|
2099
|
-
|
|
2100
|
-
|
|
2101
|
-
|
|
2102
|
-
|
|
2103
|
-
|
|
2104
|
-
"
|
|
2105
|
-
|
|
2106
|
-
{ "const": "store", "type": "string" },
|
|
2107
|
-
{ "const": "jobs", "type": "string" },
|
|
2108
|
-
{ "const": "event-consumer", "type": "string" },
|
|
2109
|
-
{ "const": "transfer", "type": "string" },
|
|
2110
|
-
],
|
|
2111
|
-
},
|
|
2112
|
-
"required": { "type": "boolean" },
|
|
2112
|
+
"type": "array",
|
|
2113
|
+
},
|
|
2114
|
+
"surfaces": {
|
|
2115
|
+
"items": {
|
|
2116
|
+
"properties": {
|
|
2117
|
+
"action": {
|
|
2118
|
+
"anyOf": [
|
|
2119
|
+
{ "const": "call", "type": "string" },
|
|
2120
|
+
{ "const": "publish", "type": "string" },
|
|
2121
|
+
{ "const": "subscribe", "type": "string" },
|
|
2122
|
+
{ "const": "observe", "type": "string" },
|
|
2123
|
+
{ "const": "cancel", "type": "string" },
|
|
2124
|
+
],
|
|
2113
2125
|
},
|
|
2114
|
-
"
|
|
2115
|
-
"
|
|
2126
|
+
"contractId": { "minLength": 1, "type": "string" },
|
|
2127
|
+
"kind": {
|
|
2128
|
+
"anyOf": [
|
|
2129
|
+
{ "const": "rpc", "type": "string" },
|
|
2130
|
+
{ "const": "operation", "type": "string" },
|
|
2131
|
+
{ "const": "event", "type": "string" },
|
|
2132
|
+
{ "const": "feed", "type": "string" },
|
|
2133
|
+
],
|
|
2134
|
+
},
|
|
2135
|
+
"name": { "minLength": 1, "type": "string" },
|
|
2136
|
+
"required": { "type": "boolean" },
|
|
2116
2137
|
},
|
|
2138
|
+
"required": ["contractId", "kind", "name", "required"],
|
|
2139
|
+
"type": "object",
|
|
2117
2140
|
},
|
|
2118
|
-
"
|
|
2119
|
-
|
|
2120
|
-
}],
|
|
2141
|
+
"type": "array",
|
|
2142
|
+
},
|
|
2121
2143
|
},
|
|
2122
|
-
"
|
|
2144
|
+
"required": [
|
|
2145
|
+
"contracts",
|
|
2146
|
+
"surfaces",
|
|
2147
|
+
"capabilities",
|
|
2148
|
+
"resources",
|
|
2149
|
+
],
|
|
2150
|
+
"type": "object",
|
|
2123
2151
|
},
|
|
2124
2152
|
"summary": { "type": "object" },
|
|
2125
2153
|
},
|
|
@@ -2235,83 +2263,87 @@ export const AuthDeploymentAuthorityPlansGetResponseSchema = {
|
|
|
2235
2263
|
"type": "array",
|
|
2236
2264
|
},
|
|
2237
2265
|
"requestedNeeds": {
|
|
2238
|
-
"
|
|
2239
|
-
"
|
|
2240
|
-
"
|
|
2241
|
-
"
|
|
2242
|
-
|
|
2243
|
-
|
|
2244
|
-
},
|
|
2245
|
-
"required": ["kind", "contractId", "required"],
|
|
2246
|
-
"type": "object",
|
|
2247
|
-
}, {
|
|
2248
|
-
"properties": {
|
|
2249
|
-
"kind": { "const": "surface", "type": "string" },
|
|
2250
|
-
"required": { "type": "boolean" },
|
|
2251
|
-
"surface": {
|
|
2252
|
-
"properties": {
|
|
2253
|
-
"action": {
|
|
2254
|
-
"anyOf": [
|
|
2255
|
-
{ "const": "call", "type": "string" },
|
|
2256
|
-
{ "const": "publish", "type": "string" },
|
|
2257
|
-
{ "const": "subscribe", "type": "string" },
|
|
2258
|
-
{ "const": "observe", "type": "string" },
|
|
2259
|
-
{ "const": "cancel", "type": "string" },
|
|
2260
|
-
],
|
|
2261
|
-
},
|
|
2262
|
-
"contractId": { "minLength": 1, "type": "string" },
|
|
2263
|
-
"kind": {
|
|
2264
|
-
"anyOf": [
|
|
2265
|
-
{ "const": "rpc", "type": "string" },
|
|
2266
|
-
{ "const": "operation", "type": "string" },
|
|
2267
|
-
{ "const": "event", "type": "string" },
|
|
2268
|
-
{ "const": "feed", "type": "string" },
|
|
2269
|
-
],
|
|
2270
|
-
},
|
|
2271
|
-
"name": { "minLength": 1, "type": "string" },
|
|
2272
|
-
},
|
|
2273
|
-
"required": ["contractId", "kind", "name"],
|
|
2274
|
-
"type": "object",
|
|
2266
|
+
"properties": {
|
|
2267
|
+
"capabilities": {
|
|
2268
|
+
"items": {
|
|
2269
|
+
"properties": {
|
|
2270
|
+
"capability": { "minLength": 1, "type": "string" },
|
|
2271
|
+
"required": { "type": "boolean" },
|
|
2275
2272
|
},
|
|
2273
|
+
"required": ["capability", "required"],
|
|
2274
|
+
"type": "object",
|
|
2276
2275
|
},
|
|
2277
|
-
"
|
|
2278
|
-
|
|
2279
|
-
|
|
2280
|
-
"
|
|
2281
|
-
"
|
|
2282
|
-
|
|
2283
|
-
|
|
2276
|
+
"type": "array",
|
|
2277
|
+
},
|
|
2278
|
+
"contracts": {
|
|
2279
|
+
"items": {
|
|
2280
|
+
"properties": {
|
|
2281
|
+
"contractId": { "minLength": 1, "type": "string" },
|
|
2282
|
+
"required": { "type": "boolean" },
|
|
2283
|
+
},
|
|
2284
|
+
"required": ["contractId", "required"],
|
|
2285
|
+
"type": "object",
|
|
2284
2286
|
},
|
|
2285
|
-
"
|
|
2286
|
-
|
|
2287
|
-
|
|
2288
|
-
"
|
|
2289
|
-
"
|
|
2290
|
-
|
|
2291
|
-
|
|
2292
|
-
"
|
|
2293
|
-
"
|
|
2294
|
-
|
|
2295
|
-
|
|
2296
|
-
"
|
|
2297
|
-
|
|
2298
|
-
|
|
2299
|
-
|
|
2300
|
-
{ "const": "event-consumer", "type": "string" },
|
|
2301
|
-
{ "const": "transfer", "type": "string" },
|
|
2302
|
-
],
|
|
2303
|
-
},
|
|
2304
|
-
"required": { "type": "boolean" },
|
|
2287
|
+
"type": "array",
|
|
2288
|
+
},
|
|
2289
|
+
"resources": {
|
|
2290
|
+
"items": {
|
|
2291
|
+
"properties": {
|
|
2292
|
+
"alias": { "minLength": 1, "type": "string" },
|
|
2293
|
+
"definition": { "type": "object" },
|
|
2294
|
+
"kind": {
|
|
2295
|
+
"anyOf": [
|
|
2296
|
+
{ "const": "kv", "type": "string" },
|
|
2297
|
+
{ "const": "store", "type": "string" },
|
|
2298
|
+
{ "const": "jobs", "type": "string" },
|
|
2299
|
+
{ "const": "event-consumer", "type": "string" },
|
|
2300
|
+
{ "const": "transfer", "type": "string" },
|
|
2301
|
+
],
|
|
2305
2302
|
},
|
|
2306
|
-
"required":
|
|
2307
|
-
"type": "object",
|
|
2303
|
+
"required": { "type": "boolean" },
|
|
2308
2304
|
},
|
|
2305
|
+
"required": ["kind", "alias", "required"],
|
|
2306
|
+
"type": "object",
|
|
2309
2307
|
},
|
|
2310
|
-
"
|
|
2311
|
-
|
|
2312
|
-
|
|
2308
|
+
"type": "array",
|
|
2309
|
+
},
|
|
2310
|
+
"surfaces": {
|
|
2311
|
+
"items": {
|
|
2312
|
+
"properties": {
|
|
2313
|
+
"action": {
|
|
2314
|
+
"anyOf": [
|
|
2315
|
+
{ "const": "call", "type": "string" },
|
|
2316
|
+
{ "const": "publish", "type": "string" },
|
|
2317
|
+
{ "const": "subscribe", "type": "string" },
|
|
2318
|
+
{ "const": "observe", "type": "string" },
|
|
2319
|
+
{ "const": "cancel", "type": "string" },
|
|
2320
|
+
],
|
|
2321
|
+
},
|
|
2322
|
+
"contractId": { "minLength": 1, "type": "string" },
|
|
2323
|
+
"kind": {
|
|
2324
|
+
"anyOf": [
|
|
2325
|
+
{ "const": "rpc", "type": "string" },
|
|
2326
|
+
{ "const": "operation", "type": "string" },
|
|
2327
|
+
{ "const": "event", "type": "string" },
|
|
2328
|
+
{ "const": "feed", "type": "string" },
|
|
2329
|
+
],
|
|
2330
|
+
},
|
|
2331
|
+
"name": { "minLength": 1, "type": "string" },
|
|
2332
|
+
"required": { "type": "boolean" },
|
|
2333
|
+
},
|
|
2334
|
+
"required": ["contractId", "kind", "name", "required"],
|
|
2335
|
+
"type": "object",
|
|
2336
|
+
},
|
|
2337
|
+
"type": "array",
|
|
2338
|
+
},
|
|
2313
2339
|
},
|
|
2314
|
-
"
|
|
2340
|
+
"required": [
|
|
2341
|
+
"contracts",
|
|
2342
|
+
"surfaces",
|
|
2343
|
+
"capabilities",
|
|
2344
|
+
"resources",
|
|
2345
|
+
],
|
|
2346
|
+
"type": "object",
|
|
2315
2347
|
},
|
|
2316
2348
|
"summary": { "type": "object" },
|
|
2317
2349
|
},
|
|
@@ -2411,83 +2443,87 @@ export const AuthDeploymentAuthorityPlansGetResponseSchema = {
|
|
|
2411
2443
|
"type": "array",
|
|
2412
2444
|
},
|
|
2413
2445
|
"requestedNeeds": {
|
|
2414
|
-
"
|
|
2415
|
-
"
|
|
2416
|
-
"
|
|
2417
|
-
"
|
|
2418
|
-
|
|
2419
|
-
|
|
2446
|
+
"properties": {
|
|
2447
|
+
"capabilities": {
|
|
2448
|
+
"items": {
|
|
2449
|
+
"properties": {
|
|
2450
|
+
"capability": { "minLength": 1, "type": "string" },
|
|
2451
|
+
"required": { "type": "boolean" },
|
|
2452
|
+
},
|
|
2453
|
+
"required": ["capability", "required"],
|
|
2454
|
+
"type": "object",
|
|
2420
2455
|
},
|
|
2421
|
-
"
|
|
2422
|
-
|
|
2423
|
-
|
|
2424
|
-
"
|
|
2425
|
-
"
|
|
2426
|
-
|
|
2427
|
-
|
|
2428
|
-
"properties": {
|
|
2429
|
-
"action": {
|
|
2430
|
-
"anyOf": [
|
|
2431
|
-
{ "const": "call", "type": "string" },
|
|
2432
|
-
{ "const": "publish", "type": "string" },
|
|
2433
|
-
{ "const": "subscribe", "type": "string" },
|
|
2434
|
-
{ "const": "observe", "type": "string" },
|
|
2435
|
-
{ "const": "cancel", "type": "string" },
|
|
2436
|
-
],
|
|
2437
|
-
},
|
|
2438
|
-
"contractId": { "minLength": 1, "type": "string" },
|
|
2439
|
-
"kind": {
|
|
2440
|
-
"anyOf": [
|
|
2441
|
-
{ "const": "rpc", "type": "string" },
|
|
2442
|
-
{ "const": "operation", "type": "string" },
|
|
2443
|
-
{ "const": "event", "type": "string" },
|
|
2444
|
-
{ "const": "feed", "type": "string" },
|
|
2445
|
-
],
|
|
2446
|
-
},
|
|
2447
|
-
"name": { "minLength": 1, "type": "string" },
|
|
2448
|
-
},
|
|
2449
|
-
"required": ["contractId", "kind", "name"],
|
|
2450
|
-
"type": "object",
|
|
2456
|
+
"type": "array",
|
|
2457
|
+
},
|
|
2458
|
+
"contracts": {
|
|
2459
|
+
"items": {
|
|
2460
|
+
"properties": {
|
|
2461
|
+
"contractId": { "minLength": 1, "type": "string" },
|
|
2462
|
+
"required": { "type": "boolean" },
|
|
2451
2463
|
},
|
|
2464
|
+
"required": ["contractId", "required"],
|
|
2465
|
+
"type": "object",
|
|
2452
2466
|
},
|
|
2453
|
-
"
|
|
2454
|
-
|
|
2455
|
-
|
|
2456
|
-
"
|
|
2457
|
-
"
|
|
2458
|
-
|
|
2459
|
-
|
|
2467
|
+
"type": "array",
|
|
2468
|
+
},
|
|
2469
|
+
"resources": {
|
|
2470
|
+
"items": {
|
|
2471
|
+
"properties": {
|
|
2472
|
+
"alias": { "minLength": 1, "type": "string" },
|
|
2473
|
+
"definition": { "type": "object" },
|
|
2474
|
+
"kind": {
|
|
2475
|
+
"anyOf": [
|
|
2476
|
+
{ "const": "kv", "type": "string" },
|
|
2477
|
+
{ "const": "store", "type": "string" },
|
|
2478
|
+
{ "const": "jobs", "type": "string" },
|
|
2479
|
+
{ "const": "event-consumer", "type": "string" },
|
|
2480
|
+
{ "const": "transfer", "type": "string" },
|
|
2481
|
+
],
|
|
2482
|
+
},
|
|
2483
|
+
"required": { "type": "boolean" },
|
|
2484
|
+
},
|
|
2485
|
+
"required": ["kind", "alias", "required"],
|
|
2486
|
+
"type": "object",
|
|
2460
2487
|
},
|
|
2461
|
-
"
|
|
2462
|
-
|
|
2463
|
-
|
|
2464
|
-
"
|
|
2465
|
-
"
|
|
2466
|
-
|
|
2467
|
-
|
|
2468
|
-
|
|
2469
|
-
|
|
2470
|
-
|
|
2471
|
-
|
|
2472
|
-
"
|
|
2473
|
-
|
|
2474
|
-
{ "const": "store", "type": "string" },
|
|
2475
|
-
{ "const": "jobs", "type": "string" },
|
|
2476
|
-
{ "const": "event-consumer", "type": "string" },
|
|
2477
|
-
{ "const": "transfer", "type": "string" },
|
|
2478
|
-
],
|
|
2479
|
-
},
|
|
2480
|
-
"required": { "type": "boolean" },
|
|
2488
|
+
"type": "array",
|
|
2489
|
+
},
|
|
2490
|
+
"surfaces": {
|
|
2491
|
+
"items": {
|
|
2492
|
+
"properties": {
|
|
2493
|
+
"action": {
|
|
2494
|
+
"anyOf": [
|
|
2495
|
+
{ "const": "call", "type": "string" },
|
|
2496
|
+
{ "const": "publish", "type": "string" },
|
|
2497
|
+
{ "const": "subscribe", "type": "string" },
|
|
2498
|
+
{ "const": "observe", "type": "string" },
|
|
2499
|
+
{ "const": "cancel", "type": "string" },
|
|
2500
|
+
],
|
|
2481
2501
|
},
|
|
2482
|
-
"
|
|
2483
|
-
"
|
|
2502
|
+
"contractId": { "minLength": 1, "type": "string" },
|
|
2503
|
+
"kind": {
|
|
2504
|
+
"anyOf": [
|
|
2505
|
+
{ "const": "rpc", "type": "string" },
|
|
2506
|
+
{ "const": "operation", "type": "string" },
|
|
2507
|
+
{ "const": "event", "type": "string" },
|
|
2508
|
+
{ "const": "feed", "type": "string" },
|
|
2509
|
+
],
|
|
2510
|
+
},
|
|
2511
|
+
"name": { "minLength": 1, "type": "string" },
|
|
2512
|
+
"required": { "type": "boolean" },
|
|
2484
2513
|
},
|
|
2514
|
+
"required": ["contractId", "kind", "name", "required"],
|
|
2515
|
+
"type": "object",
|
|
2485
2516
|
},
|
|
2486
|
-
"
|
|
2487
|
-
|
|
2488
|
-
}],
|
|
2517
|
+
"type": "array",
|
|
2518
|
+
},
|
|
2489
2519
|
},
|
|
2490
|
-
"
|
|
2520
|
+
"required": [
|
|
2521
|
+
"contracts",
|
|
2522
|
+
"surfaces",
|
|
2523
|
+
"capabilities",
|
|
2524
|
+
"resources",
|
|
2525
|
+
],
|
|
2526
|
+
"type": "object",
|
|
2491
2527
|
},
|
|
2492
2528
|
"summary": { "type": "object" },
|
|
2493
2529
|
},
|
|
@@ -2636,83 +2672,87 @@ export const AuthDeploymentAuthorityPlansListResponseSchema = {
|
|
|
2636
2672
|
"type": "array",
|
|
2637
2673
|
},
|
|
2638
2674
|
"requestedNeeds": {
|
|
2639
|
-
"
|
|
2640
|
-
"
|
|
2641
|
-
"
|
|
2642
|
-
"
|
|
2643
|
-
|
|
2644
|
-
|
|
2675
|
+
"properties": {
|
|
2676
|
+
"capabilities": {
|
|
2677
|
+
"items": {
|
|
2678
|
+
"properties": {
|
|
2679
|
+
"capability": { "minLength": 1, "type": "string" },
|
|
2680
|
+
"required": { "type": "boolean" },
|
|
2681
|
+
},
|
|
2682
|
+
"required": ["capability", "required"],
|
|
2683
|
+
"type": "object",
|
|
2645
2684
|
},
|
|
2646
|
-
"
|
|
2647
|
-
|
|
2648
|
-
|
|
2649
|
-
"
|
|
2650
|
-
"
|
|
2651
|
-
|
|
2652
|
-
|
|
2653
|
-
"properties": {
|
|
2654
|
-
"action": {
|
|
2655
|
-
"anyOf": [
|
|
2656
|
-
{ "const": "call", "type": "string" },
|
|
2657
|
-
{ "const": "publish", "type": "string" },
|
|
2658
|
-
{ "const": "subscribe", "type": "string" },
|
|
2659
|
-
{ "const": "observe", "type": "string" },
|
|
2660
|
-
{ "const": "cancel", "type": "string" },
|
|
2661
|
-
],
|
|
2662
|
-
},
|
|
2663
|
-
"contractId": { "minLength": 1, "type": "string" },
|
|
2664
|
-
"kind": {
|
|
2665
|
-
"anyOf": [
|
|
2666
|
-
{ "const": "rpc", "type": "string" },
|
|
2667
|
-
{ "const": "operation", "type": "string" },
|
|
2668
|
-
{ "const": "event", "type": "string" },
|
|
2669
|
-
{ "const": "feed", "type": "string" },
|
|
2670
|
-
],
|
|
2671
|
-
},
|
|
2672
|
-
"name": { "minLength": 1, "type": "string" },
|
|
2673
|
-
},
|
|
2674
|
-
"required": ["contractId", "kind", "name"],
|
|
2675
|
-
"type": "object",
|
|
2685
|
+
"type": "array",
|
|
2686
|
+
},
|
|
2687
|
+
"contracts": {
|
|
2688
|
+
"items": {
|
|
2689
|
+
"properties": {
|
|
2690
|
+
"contractId": { "minLength": 1, "type": "string" },
|
|
2691
|
+
"required": { "type": "boolean" },
|
|
2676
2692
|
},
|
|
2693
|
+
"required": ["contractId", "required"],
|
|
2694
|
+
"type": "object",
|
|
2677
2695
|
},
|
|
2678
|
-
"
|
|
2679
|
-
|
|
2680
|
-
|
|
2681
|
-
"
|
|
2682
|
-
"
|
|
2683
|
-
|
|
2684
|
-
|
|
2696
|
+
"type": "array",
|
|
2697
|
+
},
|
|
2698
|
+
"resources": {
|
|
2699
|
+
"items": {
|
|
2700
|
+
"properties": {
|
|
2701
|
+
"alias": { "minLength": 1, "type": "string" },
|
|
2702
|
+
"definition": { "type": "object" },
|
|
2703
|
+
"kind": {
|
|
2704
|
+
"anyOf": [
|
|
2705
|
+
{ "const": "kv", "type": "string" },
|
|
2706
|
+
{ "const": "store", "type": "string" },
|
|
2707
|
+
{ "const": "jobs", "type": "string" },
|
|
2708
|
+
{ "const": "event-consumer", "type": "string" },
|
|
2709
|
+
{ "const": "transfer", "type": "string" },
|
|
2710
|
+
],
|
|
2711
|
+
},
|
|
2712
|
+
"required": { "type": "boolean" },
|
|
2713
|
+
},
|
|
2714
|
+
"required": ["kind", "alias", "required"],
|
|
2715
|
+
"type": "object",
|
|
2685
2716
|
},
|
|
2686
|
-
"
|
|
2687
|
-
|
|
2688
|
-
|
|
2689
|
-
"
|
|
2690
|
-
"
|
|
2691
|
-
|
|
2692
|
-
|
|
2693
|
-
|
|
2694
|
-
|
|
2695
|
-
|
|
2696
|
-
|
|
2697
|
-
"
|
|
2698
|
-
|
|
2699
|
-
{ "const": "store", "type": "string" },
|
|
2700
|
-
{ "const": "jobs", "type": "string" },
|
|
2701
|
-
{ "const": "event-consumer", "type": "string" },
|
|
2702
|
-
{ "const": "transfer", "type": "string" },
|
|
2703
|
-
],
|
|
2704
|
-
},
|
|
2705
|
-
"required": { "type": "boolean" },
|
|
2717
|
+
"type": "array",
|
|
2718
|
+
},
|
|
2719
|
+
"surfaces": {
|
|
2720
|
+
"items": {
|
|
2721
|
+
"properties": {
|
|
2722
|
+
"action": {
|
|
2723
|
+
"anyOf": [
|
|
2724
|
+
{ "const": "call", "type": "string" },
|
|
2725
|
+
{ "const": "publish", "type": "string" },
|
|
2726
|
+
{ "const": "subscribe", "type": "string" },
|
|
2727
|
+
{ "const": "observe", "type": "string" },
|
|
2728
|
+
{ "const": "cancel", "type": "string" },
|
|
2729
|
+
],
|
|
2706
2730
|
},
|
|
2707
|
-
"
|
|
2708
|
-
"
|
|
2731
|
+
"contractId": { "minLength": 1, "type": "string" },
|
|
2732
|
+
"kind": {
|
|
2733
|
+
"anyOf": [
|
|
2734
|
+
{ "const": "rpc", "type": "string" },
|
|
2735
|
+
{ "const": "operation", "type": "string" },
|
|
2736
|
+
{ "const": "event", "type": "string" },
|
|
2737
|
+
{ "const": "feed", "type": "string" },
|
|
2738
|
+
],
|
|
2739
|
+
},
|
|
2740
|
+
"name": { "minLength": 1, "type": "string" },
|
|
2741
|
+
"required": { "type": "boolean" },
|
|
2709
2742
|
},
|
|
2743
|
+
"required": ["contractId", "kind", "name", "required"],
|
|
2744
|
+
"type": "object",
|
|
2710
2745
|
},
|
|
2711
|
-
"
|
|
2712
|
-
|
|
2713
|
-
}],
|
|
2746
|
+
"type": "array",
|
|
2747
|
+
},
|
|
2714
2748
|
},
|
|
2715
|
-
"
|
|
2749
|
+
"required": [
|
|
2750
|
+
"contracts",
|
|
2751
|
+
"surfaces",
|
|
2752
|
+
"capabilities",
|
|
2753
|
+
"resources",
|
|
2754
|
+
],
|
|
2755
|
+
"type": "object",
|
|
2716
2756
|
},
|
|
2717
2757
|
"summary": { "type": "object" },
|
|
2718
2758
|
},
|
|
@@ -2814,83 +2854,87 @@ export const AuthDeploymentAuthorityPlansListResponseSchema = {
|
|
|
2814
2854
|
"type": "array",
|
|
2815
2855
|
},
|
|
2816
2856
|
"requestedNeeds": {
|
|
2817
|
-
"
|
|
2818
|
-
"
|
|
2819
|
-
"
|
|
2820
|
-
"
|
|
2821
|
-
|
|
2822
|
-
|
|
2857
|
+
"properties": {
|
|
2858
|
+
"capabilities": {
|
|
2859
|
+
"items": {
|
|
2860
|
+
"properties": {
|
|
2861
|
+
"capability": { "minLength": 1, "type": "string" },
|
|
2862
|
+
"required": { "type": "boolean" },
|
|
2863
|
+
},
|
|
2864
|
+
"required": ["capability", "required"],
|
|
2865
|
+
"type": "object",
|
|
2823
2866
|
},
|
|
2824
|
-
"
|
|
2825
|
-
|
|
2826
|
-
|
|
2827
|
-
"
|
|
2828
|
-
"
|
|
2829
|
-
|
|
2830
|
-
|
|
2831
|
-
"properties": {
|
|
2832
|
-
"action": {
|
|
2833
|
-
"anyOf": [
|
|
2834
|
-
{ "const": "call", "type": "string" },
|
|
2835
|
-
{ "const": "publish", "type": "string" },
|
|
2836
|
-
{ "const": "subscribe", "type": "string" },
|
|
2837
|
-
{ "const": "observe", "type": "string" },
|
|
2838
|
-
{ "const": "cancel", "type": "string" },
|
|
2839
|
-
],
|
|
2840
|
-
},
|
|
2841
|
-
"contractId": { "minLength": 1, "type": "string" },
|
|
2842
|
-
"kind": {
|
|
2843
|
-
"anyOf": [
|
|
2844
|
-
{ "const": "rpc", "type": "string" },
|
|
2845
|
-
{ "const": "operation", "type": "string" },
|
|
2846
|
-
{ "const": "event", "type": "string" },
|
|
2847
|
-
{ "const": "feed", "type": "string" },
|
|
2848
|
-
],
|
|
2849
|
-
},
|
|
2850
|
-
"name": { "minLength": 1, "type": "string" },
|
|
2851
|
-
},
|
|
2852
|
-
"required": ["contractId", "kind", "name"],
|
|
2853
|
-
"type": "object",
|
|
2867
|
+
"type": "array",
|
|
2868
|
+
},
|
|
2869
|
+
"contracts": {
|
|
2870
|
+
"items": {
|
|
2871
|
+
"properties": {
|
|
2872
|
+
"contractId": { "minLength": 1, "type": "string" },
|
|
2873
|
+
"required": { "type": "boolean" },
|
|
2854
2874
|
},
|
|
2875
|
+
"required": ["contractId", "required"],
|
|
2876
|
+
"type": "object",
|
|
2855
2877
|
},
|
|
2856
|
-
"
|
|
2857
|
-
|
|
2858
|
-
|
|
2859
|
-
"
|
|
2860
|
-
"
|
|
2861
|
-
|
|
2862
|
-
|
|
2878
|
+
"type": "array",
|
|
2879
|
+
},
|
|
2880
|
+
"resources": {
|
|
2881
|
+
"items": {
|
|
2882
|
+
"properties": {
|
|
2883
|
+
"alias": { "minLength": 1, "type": "string" },
|
|
2884
|
+
"definition": { "type": "object" },
|
|
2885
|
+
"kind": {
|
|
2886
|
+
"anyOf": [
|
|
2887
|
+
{ "const": "kv", "type": "string" },
|
|
2888
|
+
{ "const": "store", "type": "string" },
|
|
2889
|
+
{ "const": "jobs", "type": "string" },
|
|
2890
|
+
{ "const": "event-consumer", "type": "string" },
|
|
2891
|
+
{ "const": "transfer", "type": "string" },
|
|
2892
|
+
],
|
|
2893
|
+
},
|
|
2894
|
+
"required": { "type": "boolean" },
|
|
2895
|
+
},
|
|
2896
|
+
"required": ["kind", "alias", "required"],
|
|
2897
|
+
"type": "object",
|
|
2863
2898
|
},
|
|
2864
|
-
"
|
|
2865
|
-
|
|
2866
|
-
|
|
2867
|
-
"
|
|
2868
|
-
"
|
|
2869
|
-
|
|
2870
|
-
|
|
2871
|
-
|
|
2872
|
-
|
|
2873
|
-
|
|
2874
|
-
|
|
2875
|
-
"
|
|
2876
|
-
|
|
2877
|
-
{ "const": "store", "type": "string" },
|
|
2878
|
-
{ "const": "jobs", "type": "string" },
|
|
2879
|
-
{ "const": "event-consumer", "type": "string" },
|
|
2880
|
-
{ "const": "transfer", "type": "string" },
|
|
2881
|
-
],
|
|
2882
|
-
},
|
|
2883
|
-
"required": { "type": "boolean" },
|
|
2899
|
+
"type": "array",
|
|
2900
|
+
},
|
|
2901
|
+
"surfaces": {
|
|
2902
|
+
"items": {
|
|
2903
|
+
"properties": {
|
|
2904
|
+
"action": {
|
|
2905
|
+
"anyOf": [
|
|
2906
|
+
{ "const": "call", "type": "string" },
|
|
2907
|
+
{ "const": "publish", "type": "string" },
|
|
2908
|
+
{ "const": "subscribe", "type": "string" },
|
|
2909
|
+
{ "const": "observe", "type": "string" },
|
|
2910
|
+
{ "const": "cancel", "type": "string" },
|
|
2911
|
+
],
|
|
2884
2912
|
},
|
|
2885
|
-
"
|
|
2886
|
-
"
|
|
2913
|
+
"contractId": { "minLength": 1, "type": "string" },
|
|
2914
|
+
"kind": {
|
|
2915
|
+
"anyOf": [
|
|
2916
|
+
{ "const": "rpc", "type": "string" },
|
|
2917
|
+
{ "const": "operation", "type": "string" },
|
|
2918
|
+
{ "const": "event", "type": "string" },
|
|
2919
|
+
{ "const": "feed", "type": "string" },
|
|
2920
|
+
],
|
|
2921
|
+
},
|
|
2922
|
+
"name": { "minLength": 1, "type": "string" },
|
|
2923
|
+
"required": { "type": "boolean" },
|
|
2887
2924
|
},
|
|
2925
|
+
"required": ["contractId", "kind", "name", "required"],
|
|
2926
|
+
"type": "object",
|
|
2888
2927
|
},
|
|
2889
|
-
"
|
|
2890
|
-
|
|
2891
|
-
}],
|
|
2928
|
+
"type": "array",
|
|
2929
|
+
},
|
|
2892
2930
|
},
|
|
2893
|
-
"
|
|
2931
|
+
"required": [
|
|
2932
|
+
"contracts",
|
|
2933
|
+
"surfaces",
|
|
2934
|
+
"capabilities",
|
|
2935
|
+
"resources",
|
|
2936
|
+
],
|
|
2937
|
+
"type": "object",
|
|
2894
2938
|
},
|
|
2895
2939
|
"summary": { "type": "object" },
|
|
2896
2940
|
},
|
|
@@ -2962,83 +3006,87 @@ export const AuthDeploymentAuthorityReconcileResponseSchema = {
|
|
|
2962
3006
|
"type": "array",
|
|
2963
3007
|
},
|
|
2964
3008
|
"needs": {
|
|
2965
|
-
"
|
|
2966
|
-
"
|
|
2967
|
-
"
|
|
2968
|
-
"
|
|
2969
|
-
|
|
2970
|
-
|
|
3009
|
+
"properties": {
|
|
3010
|
+
"capabilities": {
|
|
3011
|
+
"items": {
|
|
3012
|
+
"properties": {
|
|
3013
|
+
"capability": { "minLength": 1, "type": "string" },
|
|
3014
|
+
"required": { "type": "boolean" },
|
|
3015
|
+
},
|
|
3016
|
+
"required": ["capability", "required"],
|
|
3017
|
+
"type": "object",
|
|
2971
3018
|
},
|
|
2972
|
-
"
|
|
2973
|
-
|
|
2974
|
-
|
|
2975
|
-
"
|
|
2976
|
-
"
|
|
2977
|
-
|
|
2978
|
-
|
|
2979
|
-
"properties": {
|
|
2980
|
-
"action": {
|
|
2981
|
-
"anyOf": [
|
|
2982
|
-
{ "const": "call", "type": "string" },
|
|
2983
|
-
{ "const": "publish", "type": "string" },
|
|
2984
|
-
{ "const": "subscribe", "type": "string" },
|
|
2985
|
-
{ "const": "observe", "type": "string" },
|
|
2986
|
-
{ "const": "cancel", "type": "string" },
|
|
2987
|
-
],
|
|
2988
|
-
},
|
|
2989
|
-
"contractId": { "minLength": 1, "type": "string" },
|
|
2990
|
-
"kind": {
|
|
2991
|
-
"anyOf": [
|
|
2992
|
-
{ "const": "rpc", "type": "string" },
|
|
2993
|
-
{ "const": "operation", "type": "string" },
|
|
2994
|
-
{ "const": "event", "type": "string" },
|
|
2995
|
-
{ "const": "feed", "type": "string" },
|
|
2996
|
-
],
|
|
2997
|
-
},
|
|
2998
|
-
"name": { "minLength": 1, "type": "string" },
|
|
2999
|
-
},
|
|
3000
|
-
"required": ["contractId", "kind", "name"],
|
|
3001
|
-
"type": "object",
|
|
3019
|
+
"type": "array",
|
|
3020
|
+
},
|
|
3021
|
+
"contracts": {
|
|
3022
|
+
"items": {
|
|
3023
|
+
"properties": {
|
|
3024
|
+
"contractId": { "minLength": 1, "type": "string" },
|
|
3025
|
+
"required": { "type": "boolean" },
|
|
3002
3026
|
},
|
|
3027
|
+
"required": ["contractId", "required"],
|
|
3028
|
+
"type": "object",
|
|
3003
3029
|
},
|
|
3004
|
-
"
|
|
3005
|
-
|
|
3006
|
-
|
|
3007
|
-
"
|
|
3008
|
-
"
|
|
3009
|
-
|
|
3010
|
-
|
|
3030
|
+
"type": "array",
|
|
3031
|
+
},
|
|
3032
|
+
"resources": {
|
|
3033
|
+
"items": {
|
|
3034
|
+
"properties": {
|
|
3035
|
+
"alias": { "minLength": 1, "type": "string" },
|
|
3036
|
+
"definition": { "type": "object" },
|
|
3037
|
+
"kind": {
|
|
3038
|
+
"anyOf": [
|
|
3039
|
+
{ "const": "kv", "type": "string" },
|
|
3040
|
+
{ "const": "store", "type": "string" },
|
|
3041
|
+
{ "const": "jobs", "type": "string" },
|
|
3042
|
+
{ "const": "event-consumer", "type": "string" },
|
|
3043
|
+
{ "const": "transfer", "type": "string" },
|
|
3044
|
+
],
|
|
3045
|
+
},
|
|
3046
|
+
"required": { "type": "boolean" },
|
|
3047
|
+
},
|
|
3048
|
+
"required": ["kind", "alias", "required"],
|
|
3049
|
+
"type": "object",
|
|
3011
3050
|
},
|
|
3012
|
-
"
|
|
3013
|
-
|
|
3014
|
-
|
|
3015
|
-
"
|
|
3016
|
-
"
|
|
3017
|
-
|
|
3018
|
-
|
|
3019
|
-
|
|
3020
|
-
|
|
3021
|
-
|
|
3022
|
-
|
|
3023
|
-
"
|
|
3024
|
-
|
|
3025
|
-
{ "const": "store", "type": "string" },
|
|
3026
|
-
{ "const": "jobs", "type": "string" },
|
|
3027
|
-
{ "const": "event-consumer", "type": "string" },
|
|
3028
|
-
{ "const": "transfer", "type": "string" },
|
|
3029
|
-
],
|
|
3030
|
-
},
|
|
3031
|
-
"required": { "type": "boolean" },
|
|
3051
|
+
"type": "array",
|
|
3052
|
+
},
|
|
3053
|
+
"surfaces": {
|
|
3054
|
+
"items": {
|
|
3055
|
+
"properties": {
|
|
3056
|
+
"action": {
|
|
3057
|
+
"anyOf": [
|
|
3058
|
+
{ "const": "call", "type": "string" },
|
|
3059
|
+
{ "const": "publish", "type": "string" },
|
|
3060
|
+
{ "const": "subscribe", "type": "string" },
|
|
3061
|
+
{ "const": "observe", "type": "string" },
|
|
3062
|
+
{ "const": "cancel", "type": "string" },
|
|
3063
|
+
],
|
|
3032
3064
|
},
|
|
3033
|
-
"
|
|
3034
|
-
"
|
|
3065
|
+
"contractId": { "minLength": 1, "type": "string" },
|
|
3066
|
+
"kind": {
|
|
3067
|
+
"anyOf": [
|
|
3068
|
+
{ "const": "rpc", "type": "string" },
|
|
3069
|
+
{ "const": "operation", "type": "string" },
|
|
3070
|
+
{ "const": "event", "type": "string" },
|
|
3071
|
+
{ "const": "feed", "type": "string" },
|
|
3072
|
+
],
|
|
3073
|
+
},
|
|
3074
|
+
"name": { "minLength": 1, "type": "string" },
|
|
3075
|
+
"required": { "type": "boolean" },
|
|
3035
3076
|
},
|
|
3077
|
+
"required": ["contractId", "kind", "name", "required"],
|
|
3078
|
+
"type": "object",
|
|
3036
3079
|
},
|
|
3037
|
-
"
|
|
3038
|
-
|
|
3039
|
-
}],
|
|
3080
|
+
"type": "array",
|
|
3081
|
+
},
|
|
3040
3082
|
},
|
|
3041
|
-
"
|
|
3083
|
+
"required": [
|
|
3084
|
+
"contracts",
|
|
3085
|
+
"surfaces",
|
|
3086
|
+
"capabilities",
|
|
3087
|
+
"resources",
|
|
3088
|
+
],
|
|
3089
|
+
"type": "object",
|
|
3042
3090
|
},
|
|
3043
3091
|
"resources": {
|
|
3044
3092
|
"items": {
|
|
@@ -3124,99 +3172,107 @@ export const AuthDeploymentAuthorityReconcileResponseSchema = {
|
|
|
3124
3172
|
"desiredVersion": { "minLength": 1, "type": "string" },
|
|
3125
3173
|
"error": { "minLength": 1, "type": "string" },
|
|
3126
3174
|
"grants": {
|
|
3127
|
-
"
|
|
3128
|
-
"
|
|
3129
|
-
"
|
|
3130
|
-
"
|
|
3131
|
-
|
|
3132
|
-
},
|
|
3133
|
-
"required": ["kind", "capability"],
|
|
3134
|
-
"type": "object",
|
|
3135
|
-
}, {
|
|
3136
|
-
"properties": {
|
|
3137
|
-
"action": {
|
|
3138
|
-
"anyOf": [
|
|
3139
|
-
{ "const": "call", "type": "string" },
|
|
3140
|
-
{ "const": "publish", "type": "string" },
|
|
3141
|
-
{ "const": "subscribe", "type": "string" },
|
|
3142
|
-
{ "const": "observe", "type": "string" },
|
|
3143
|
-
{ "const": "cancel", "type": "string" },
|
|
3144
|
-
],
|
|
3145
|
-
},
|
|
3146
|
-
"contractId": { "minLength": 1, "type": "string" },
|
|
3147
|
-
"kind": { "const": "surface", "type": "string" },
|
|
3148
|
-
"name": { "minLength": 1, "type": "string" },
|
|
3149
|
-
"surfaceKind": {
|
|
3150
|
-
"anyOf": [
|
|
3151
|
-
{ "const": "rpc", "type": "string" },
|
|
3152
|
-
{ "const": "operation", "type": "string" },
|
|
3153
|
-
{ "const": "event", "type": "string" },
|
|
3154
|
-
{ "const": "feed", "type": "string" },
|
|
3155
|
-
],
|
|
3175
|
+
"properties": {
|
|
3176
|
+
"capabilities": {
|
|
3177
|
+
"items": {
|
|
3178
|
+
"properties": {
|
|
3179
|
+
"capability": { "minLength": 1, "type": "string" },
|
|
3156
3180
|
},
|
|
3181
|
+
"required": ["capability"],
|
|
3182
|
+
"type": "object",
|
|
3157
3183
|
},
|
|
3158
|
-
"
|
|
3159
|
-
|
|
3160
|
-
|
|
3161
|
-
"
|
|
3162
|
-
"
|
|
3163
|
-
"
|
|
3164
|
-
"const": "
|
|
3165
|
-
|
|
3166
|
-
|
|
3167
|
-
|
|
3168
|
-
|
|
3169
|
-
"
|
|
3170
|
-
|
|
3171
|
-
|
|
3172
|
-
|
|
3173
|
-
|
|
3174
|
-
|
|
3175
|
-
|
|
3176
|
-
|
|
3177
|
-
|
|
3178
|
-
|
|
3179
|
-
|
|
3180
|
-
|
|
3181
|
-
|
|
3182
|
-
|
|
3183
|
-
|
|
3184
|
-
|
|
3185
|
-
|
|
3186
|
-
|
|
3187
|
-
|
|
3188
|
-
|
|
3189
|
-
|
|
3190
|
-
|
|
3191
|
-
|
|
3192
|
-
|
|
3193
|
-
|
|
3194
|
-
|
|
3195
|
-
|
|
3196
|
-
|
|
3197
|
-
|
|
3198
|
-
|
|
3199
|
-
|
|
3200
|
-
|
|
3201
|
-
|
|
3184
|
+
"type": "array",
|
|
3185
|
+
},
|
|
3186
|
+
"nats": {
|
|
3187
|
+
"items": {
|
|
3188
|
+
"properties": {
|
|
3189
|
+
"direction": {
|
|
3190
|
+
"anyOf": [{ "const": "publish", "type": "string" }, {
|
|
3191
|
+
"const": "subscribe",
|
|
3192
|
+
"type": "string",
|
|
3193
|
+
}],
|
|
3194
|
+
},
|
|
3195
|
+
"grantSource": {
|
|
3196
|
+
"anyOf": [
|
|
3197
|
+
{ "const": "owned-surface", "type": "string" },
|
|
3198
|
+
{ "const": "used-surface", "type": "string" },
|
|
3199
|
+
{ "const": "resource-binding", "type": "string" },
|
|
3200
|
+
{ "const": "platform-service", "type": "string" },
|
|
3201
|
+
{ "const": "transfer", "type": "string" },
|
|
3202
|
+
],
|
|
3203
|
+
},
|
|
3204
|
+
"requiredCapabilities": {
|
|
3205
|
+
"items": { "minLength": 1, "type": "string" },
|
|
3206
|
+
"type": "array",
|
|
3207
|
+
},
|
|
3208
|
+
"subject": { "minLength": 1, "type": "string" },
|
|
3209
|
+
"surface": {
|
|
3210
|
+
"properties": {
|
|
3211
|
+
"action": {
|
|
3212
|
+
"anyOf": [
|
|
3213
|
+
{ "const": "call", "type": "string" },
|
|
3214
|
+
{ "const": "publish", "type": "string" },
|
|
3215
|
+
{ "const": "subscribe", "type": "string" },
|
|
3216
|
+
{ "const": "observe", "type": "string" },
|
|
3217
|
+
{ "const": "cancel", "type": "string" },
|
|
3218
|
+
],
|
|
3219
|
+
},
|
|
3220
|
+
"contractId": { "minLength": 1, "type": "string" },
|
|
3221
|
+
"kind": {
|
|
3222
|
+
"anyOf": [
|
|
3223
|
+
{ "const": "rpc", "type": "string" },
|
|
3224
|
+
{ "const": "operation", "type": "string" },
|
|
3225
|
+
{ "const": "event", "type": "string" },
|
|
3226
|
+
{ "const": "feed", "type": "string" },
|
|
3227
|
+
],
|
|
3228
|
+
},
|
|
3229
|
+
"name": { "minLength": 1, "type": "string" },
|
|
3202
3230
|
},
|
|
3203
|
-
"
|
|
3231
|
+
"required": ["contractId", "kind", "name"],
|
|
3232
|
+
"type": "object",
|
|
3233
|
+
},
|
|
3234
|
+
},
|
|
3235
|
+
"required": [
|
|
3236
|
+
"direction",
|
|
3237
|
+
"subject",
|
|
3238
|
+
"requiredCapabilities",
|
|
3239
|
+
"grantSource",
|
|
3240
|
+
],
|
|
3241
|
+
"type": "object",
|
|
3242
|
+
},
|
|
3243
|
+
"type": "array",
|
|
3244
|
+
},
|
|
3245
|
+
"surfaces": {
|
|
3246
|
+
"items": {
|
|
3247
|
+
"properties": {
|
|
3248
|
+
"action": {
|
|
3249
|
+
"anyOf": [
|
|
3250
|
+
{ "const": "call", "type": "string" },
|
|
3251
|
+
{ "const": "publish", "type": "string" },
|
|
3252
|
+
{ "const": "subscribe", "type": "string" },
|
|
3253
|
+
{ "const": "observe", "type": "string" },
|
|
3254
|
+
{ "const": "cancel", "type": "string" },
|
|
3255
|
+
],
|
|
3256
|
+
},
|
|
3257
|
+
"contractId": { "minLength": 1, "type": "string" },
|
|
3258
|
+
"name": { "minLength": 1, "type": "string" },
|
|
3259
|
+
"surfaceKind": {
|
|
3260
|
+
"anyOf": [
|
|
3261
|
+
{ "const": "rpc", "type": "string" },
|
|
3262
|
+
{ "const": "operation", "type": "string" },
|
|
3263
|
+
{ "const": "event", "type": "string" },
|
|
3264
|
+
{ "const": "feed", "type": "string" },
|
|
3265
|
+
],
|
|
3204
3266
|
},
|
|
3205
|
-
"required": ["contractId", "kind", "name"],
|
|
3206
|
-
"type": "object",
|
|
3207
3267
|
},
|
|
3268
|
+
"required": ["contractId", "surfaceKind", "name"],
|
|
3269
|
+
"type": "object",
|
|
3208
3270
|
},
|
|
3209
|
-
"
|
|
3210
|
-
|
|
3211
|
-
"direction",
|
|
3212
|
-
"subject",
|
|
3213
|
-
"requiredCapabilities",
|
|
3214
|
-
"grantSource",
|
|
3215
|
-
],
|
|
3216
|
-
"type": "object",
|
|
3217
|
-
}],
|
|
3271
|
+
"type": "array",
|
|
3272
|
+
},
|
|
3218
3273
|
},
|
|
3219
|
-
"
|
|
3274
|
+
"required": ["capabilities", "surfaces", "nats"],
|
|
3275
|
+
"type": "object",
|
|
3220
3276
|
},
|
|
3221
3277
|
"reconciledAt": {
|
|
3222
3278
|
"anyOf": [{ "format": "date-time", "type": "string" }, {
|