@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
|
@@ -519,83 +519,87 @@ exports.AuthDeploymentAuthorityAcceptResponseSchema = {
|
|
|
519
519
|
"type": "array",
|
|
520
520
|
},
|
|
521
521
|
"needs": {
|
|
522
|
-
"
|
|
523
|
-
"
|
|
522
|
+
"properties": {
|
|
523
|
+
"capabilities": {
|
|
524
|
+
"items": {
|
|
524
525
|
"properties": {
|
|
525
|
-
"
|
|
526
|
-
"kind": { "const": "contract", "type": "string" },
|
|
526
|
+
"capability": { "minLength": 1, "type": "string" },
|
|
527
527
|
"required": { "type": "boolean" },
|
|
528
528
|
},
|
|
529
|
-
"required": ["
|
|
529
|
+
"required": ["capability", "required"],
|
|
530
530
|
"type": "object",
|
|
531
|
-
},
|
|
531
|
+
},
|
|
532
|
+
"type": "array",
|
|
533
|
+
},
|
|
534
|
+
"contracts": {
|
|
535
|
+
"items": {
|
|
532
536
|
"properties": {
|
|
533
|
-
"
|
|
537
|
+
"contractId": { "minLength": 1, "type": "string" },
|
|
534
538
|
"required": { "type": "boolean" },
|
|
535
|
-
"surface": {
|
|
536
|
-
"properties": {
|
|
537
|
-
"action": {
|
|
538
|
-
"anyOf": [
|
|
539
|
-
{ "const": "call", "type": "string" },
|
|
540
|
-
{ "const": "publish", "type": "string" },
|
|
541
|
-
{ "const": "subscribe", "type": "string" },
|
|
542
|
-
{ "const": "observe", "type": "string" },
|
|
543
|
-
{ "const": "cancel", "type": "string" },
|
|
544
|
-
],
|
|
545
|
-
},
|
|
546
|
-
"contractId": { "minLength": 1, "type": "string" },
|
|
547
|
-
"kind": {
|
|
548
|
-
"anyOf": [
|
|
549
|
-
{ "const": "rpc", "type": "string" },
|
|
550
|
-
{ "const": "operation", "type": "string" },
|
|
551
|
-
{ "const": "event", "type": "string" },
|
|
552
|
-
{ "const": "feed", "type": "string" },
|
|
553
|
-
],
|
|
554
|
-
},
|
|
555
|
-
"name": { "minLength": 1, "type": "string" },
|
|
556
|
-
},
|
|
557
|
-
"required": ["contractId", "kind", "name"],
|
|
558
|
-
"type": "object",
|
|
559
|
-
},
|
|
560
539
|
},
|
|
561
|
-
"required": ["
|
|
540
|
+
"required": ["contractId", "required"],
|
|
562
541
|
"type": "object",
|
|
563
|
-
},
|
|
542
|
+
},
|
|
543
|
+
"type": "array",
|
|
544
|
+
},
|
|
545
|
+
"resources": {
|
|
546
|
+
"items": {
|
|
564
547
|
"properties": {
|
|
565
|
-
"
|
|
566
|
-
"
|
|
548
|
+
"alias": { "minLength": 1, "type": "string" },
|
|
549
|
+
"definition": { "type": "object" },
|
|
550
|
+
"kind": {
|
|
551
|
+
"anyOf": [
|
|
552
|
+
{ "const": "kv", "type": "string" },
|
|
553
|
+
{ "const": "store", "type": "string" },
|
|
554
|
+
{ "const": "jobs", "type": "string" },
|
|
555
|
+
{ "const": "event-consumer", "type": "string" },
|
|
556
|
+
{ "const": "transfer", "type": "string" },
|
|
557
|
+
],
|
|
558
|
+
},
|
|
567
559
|
"required": { "type": "boolean" },
|
|
568
560
|
},
|
|
569
|
-
"required": ["kind", "
|
|
561
|
+
"required": ["kind", "alias", "required"],
|
|
570
562
|
"type": "object",
|
|
571
|
-
},
|
|
563
|
+
},
|
|
564
|
+
"type": "array",
|
|
565
|
+
},
|
|
566
|
+
"surfaces": {
|
|
567
|
+
"items": {
|
|
572
568
|
"properties": {
|
|
573
|
-
"
|
|
574
|
-
|
|
575
|
-
|
|
576
|
-
|
|
577
|
-
"
|
|
578
|
-
"
|
|
579
|
-
"
|
|
580
|
-
|
|
581
|
-
|
|
582
|
-
|
|
583
|
-
|
|
584
|
-
|
|
585
|
-
|
|
586
|
-
|
|
587
|
-
},
|
|
588
|
-
"
|
|
589
|
-
|
|
590
|
-
"required": ["kind", "alias", "required"],
|
|
591
|
-
"type": "object",
|
|
569
|
+
"action": {
|
|
570
|
+
"anyOf": [
|
|
571
|
+
{ "const": "call", "type": "string" },
|
|
572
|
+
{ "const": "publish", "type": "string" },
|
|
573
|
+
{ "const": "subscribe", "type": "string" },
|
|
574
|
+
{ "const": "observe", "type": "string" },
|
|
575
|
+
{ "const": "cancel", "type": "string" },
|
|
576
|
+
],
|
|
577
|
+
},
|
|
578
|
+
"contractId": { "minLength": 1, "type": "string" },
|
|
579
|
+
"kind": {
|
|
580
|
+
"anyOf": [
|
|
581
|
+
{ "const": "rpc", "type": "string" },
|
|
582
|
+
{ "const": "operation", "type": "string" },
|
|
583
|
+
{ "const": "event", "type": "string" },
|
|
584
|
+
{ "const": "feed", "type": "string" },
|
|
585
|
+
],
|
|
592
586
|
},
|
|
587
|
+
"name": { "minLength": 1, "type": "string" },
|
|
588
|
+
"required": { "type": "boolean" },
|
|
593
589
|
},
|
|
594
|
-
"required": ["kind", "
|
|
590
|
+
"required": ["contractId", "kind", "name", "required"],
|
|
595
591
|
"type": "object",
|
|
596
|
-
}
|
|
592
|
+
},
|
|
593
|
+
"type": "array",
|
|
594
|
+
},
|
|
597
595
|
},
|
|
598
|
-
"
|
|
596
|
+
"required": [
|
|
597
|
+
"contracts",
|
|
598
|
+
"surfaces",
|
|
599
|
+
"capabilities",
|
|
600
|
+
"resources",
|
|
601
|
+
],
|
|
602
|
+
"type": "object",
|
|
599
603
|
},
|
|
600
604
|
"resources": {
|
|
601
605
|
"items": {
|
|
@@ -705,83 +709,87 @@ exports.AuthDeploymentAuthorityGetResponseSchema = {
|
|
|
705
709
|
"type": "array",
|
|
706
710
|
},
|
|
707
711
|
"needs": {
|
|
708
|
-
"
|
|
709
|
-
"
|
|
712
|
+
"properties": {
|
|
713
|
+
"capabilities": {
|
|
714
|
+
"items": {
|
|
710
715
|
"properties": {
|
|
711
|
-
"
|
|
712
|
-
"kind": { "const": "contract", "type": "string" },
|
|
716
|
+
"capability": { "minLength": 1, "type": "string" },
|
|
713
717
|
"required": { "type": "boolean" },
|
|
714
718
|
},
|
|
715
|
-
"required": ["
|
|
719
|
+
"required": ["capability", "required"],
|
|
716
720
|
"type": "object",
|
|
717
|
-
},
|
|
721
|
+
},
|
|
722
|
+
"type": "array",
|
|
723
|
+
},
|
|
724
|
+
"contracts": {
|
|
725
|
+
"items": {
|
|
718
726
|
"properties": {
|
|
719
|
-
"
|
|
727
|
+
"contractId": { "minLength": 1, "type": "string" },
|
|
720
728
|
"required": { "type": "boolean" },
|
|
721
|
-
"surface": {
|
|
722
|
-
"properties": {
|
|
723
|
-
"action": {
|
|
724
|
-
"anyOf": [
|
|
725
|
-
{ "const": "call", "type": "string" },
|
|
726
|
-
{ "const": "publish", "type": "string" },
|
|
727
|
-
{ "const": "subscribe", "type": "string" },
|
|
728
|
-
{ "const": "observe", "type": "string" },
|
|
729
|
-
{ "const": "cancel", "type": "string" },
|
|
730
|
-
],
|
|
731
|
-
},
|
|
732
|
-
"contractId": { "minLength": 1, "type": "string" },
|
|
733
|
-
"kind": {
|
|
734
|
-
"anyOf": [
|
|
735
|
-
{ "const": "rpc", "type": "string" },
|
|
736
|
-
{ "const": "operation", "type": "string" },
|
|
737
|
-
{ "const": "event", "type": "string" },
|
|
738
|
-
{ "const": "feed", "type": "string" },
|
|
739
|
-
],
|
|
740
|
-
},
|
|
741
|
-
"name": { "minLength": 1, "type": "string" },
|
|
742
|
-
},
|
|
743
|
-
"required": ["contractId", "kind", "name"],
|
|
744
|
-
"type": "object",
|
|
745
|
-
},
|
|
746
729
|
},
|
|
747
|
-
"required": ["
|
|
730
|
+
"required": ["contractId", "required"],
|
|
748
731
|
"type": "object",
|
|
749
|
-
},
|
|
732
|
+
},
|
|
733
|
+
"type": "array",
|
|
734
|
+
},
|
|
735
|
+
"resources": {
|
|
736
|
+
"items": {
|
|
750
737
|
"properties": {
|
|
751
|
-
"
|
|
752
|
-
"
|
|
738
|
+
"alias": { "minLength": 1, "type": "string" },
|
|
739
|
+
"definition": { "type": "object" },
|
|
740
|
+
"kind": {
|
|
741
|
+
"anyOf": [
|
|
742
|
+
{ "const": "kv", "type": "string" },
|
|
743
|
+
{ "const": "store", "type": "string" },
|
|
744
|
+
{ "const": "jobs", "type": "string" },
|
|
745
|
+
{ "const": "event-consumer", "type": "string" },
|
|
746
|
+
{ "const": "transfer", "type": "string" },
|
|
747
|
+
],
|
|
748
|
+
},
|
|
753
749
|
"required": { "type": "boolean" },
|
|
754
750
|
},
|
|
755
|
-
"required": ["kind", "
|
|
751
|
+
"required": ["kind", "alias", "required"],
|
|
756
752
|
"type": "object",
|
|
757
|
-
},
|
|
753
|
+
},
|
|
754
|
+
"type": "array",
|
|
755
|
+
},
|
|
756
|
+
"surfaces": {
|
|
757
|
+
"items": {
|
|
758
758
|
"properties": {
|
|
759
|
-
"
|
|
760
|
-
|
|
761
|
-
|
|
762
|
-
|
|
763
|
-
"
|
|
764
|
-
"
|
|
765
|
-
"
|
|
766
|
-
|
|
767
|
-
|
|
768
|
-
|
|
769
|
-
|
|
770
|
-
|
|
771
|
-
|
|
772
|
-
|
|
773
|
-
},
|
|
774
|
-
"
|
|
775
|
-
|
|
776
|
-
"required": ["kind", "alias", "required"],
|
|
777
|
-
"type": "object",
|
|
759
|
+
"action": {
|
|
760
|
+
"anyOf": [
|
|
761
|
+
{ "const": "call", "type": "string" },
|
|
762
|
+
{ "const": "publish", "type": "string" },
|
|
763
|
+
{ "const": "subscribe", "type": "string" },
|
|
764
|
+
{ "const": "observe", "type": "string" },
|
|
765
|
+
{ "const": "cancel", "type": "string" },
|
|
766
|
+
],
|
|
767
|
+
},
|
|
768
|
+
"contractId": { "minLength": 1, "type": "string" },
|
|
769
|
+
"kind": {
|
|
770
|
+
"anyOf": [
|
|
771
|
+
{ "const": "rpc", "type": "string" },
|
|
772
|
+
{ "const": "operation", "type": "string" },
|
|
773
|
+
{ "const": "event", "type": "string" },
|
|
774
|
+
{ "const": "feed", "type": "string" },
|
|
775
|
+
],
|
|
778
776
|
},
|
|
777
|
+
"name": { "minLength": 1, "type": "string" },
|
|
778
|
+
"required": { "type": "boolean" },
|
|
779
779
|
},
|
|
780
|
-
"required": ["kind", "
|
|
780
|
+
"required": ["contractId", "kind", "name", "required"],
|
|
781
781
|
"type": "object",
|
|
782
|
-
}
|
|
782
|
+
},
|
|
783
|
+
"type": "array",
|
|
784
|
+
},
|
|
783
785
|
},
|
|
784
|
-
"
|
|
786
|
+
"required": [
|
|
787
|
+
"contracts",
|
|
788
|
+
"surfaces",
|
|
789
|
+
"capabilities",
|
|
790
|
+
"resources",
|
|
791
|
+
],
|
|
792
|
+
"type": "object",
|
|
785
793
|
},
|
|
786
794
|
"resources": {
|
|
787
795
|
"items": {
|
|
@@ -962,40 +970,19 @@ exports.AuthDeploymentAuthorityGetResponseSchema = {
|
|
|
962
970
|
"desiredVersion": { "minLength": 1, "type": "string" },
|
|
963
971
|
"error": { "minLength": 1, "type": "string" },
|
|
964
972
|
"grants": {
|
|
965
|
-
"
|
|
966
|
-
"
|
|
973
|
+
"properties": {
|
|
974
|
+
"capabilities": {
|
|
975
|
+
"items": {
|
|
967
976
|
"properties": {
|
|
968
977
|
"capability": { "minLength": 1, "type": "string" },
|
|
969
|
-
"kind": { "const": "capability", "type": "string" },
|
|
970
978
|
},
|
|
971
|
-
"required": ["
|
|
979
|
+
"required": ["capability"],
|
|
972
980
|
"type": "object",
|
|
973
|
-
},
|
|
974
|
-
|
|
975
|
-
|
|
976
|
-
|
|
977
|
-
|
|
978
|
-
{ "const": "publish", "type": "string" },
|
|
979
|
-
{ "const": "subscribe", "type": "string" },
|
|
980
|
-
{ "const": "observe", "type": "string" },
|
|
981
|
-
{ "const": "cancel", "type": "string" },
|
|
982
|
-
],
|
|
983
|
-
},
|
|
984
|
-
"contractId": { "minLength": 1, "type": "string" },
|
|
985
|
-
"kind": { "const": "surface", "type": "string" },
|
|
986
|
-
"name": { "minLength": 1, "type": "string" },
|
|
987
|
-
"surfaceKind": {
|
|
988
|
-
"anyOf": [
|
|
989
|
-
{ "const": "rpc", "type": "string" },
|
|
990
|
-
{ "const": "operation", "type": "string" },
|
|
991
|
-
{ "const": "event", "type": "string" },
|
|
992
|
-
{ "const": "feed", "type": "string" },
|
|
993
|
-
],
|
|
994
|
-
},
|
|
995
|
-
},
|
|
996
|
-
"required": ["kind", "contractId", "surfaceKind", "name"],
|
|
997
|
-
"type": "object",
|
|
998
|
-
}, {
|
|
981
|
+
},
|
|
982
|
+
"type": "array",
|
|
983
|
+
},
|
|
984
|
+
"nats": {
|
|
985
|
+
"items": {
|
|
999
986
|
"properties": {
|
|
1000
987
|
"direction": {
|
|
1001
988
|
"anyOf": [{ "const": "publish", "type": "string" }, {
|
|
@@ -1012,7 +999,6 @@ exports.AuthDeploymentAuthorityGetResponseSchema = {
|
|
|
1012
999
|
{ "const": "transfer", "type": "string" },
|
|
1013
1000
|
],
|
|
1014
1001
|
},
|
|
1015
|
-
"kind": { "const": "nats", "type": "string" },
|
|
1016
1002
|
"requiredCapabilities": {
|
|
1017
1003
|
"items": { "minLength": 1, "type": "string" },
|
|
1018
1004
|
"type": "array",
|
|
@@ -1045,16 +1031,46 @@ exports.AuthDeploymentAuthorityGetResponseSchema = {
|
|
|
1045
1031
|
},
|
|
1046
1032
|
},
|
|
1047
1033
|
"required": [
|
|
1048
|
-
"kind",
|
|
1049
1034
|
"direction",
|
|
1050
1035
|
"subject",
|
|
1051
1036
|
"requiredCapabilities",
|
|
1052
1037
|
"grantSource",
|
|
1053
1038
|
],
|
|
1054
1039
|
"type": "object",
|
|
1055
|
-
}
|
|
1040
|
+
},
|
|
1041
|
+
"type": "array",
|
|
1042
|
+
},
|
|
1043
|
+
"surfaces": {
|
|
1044
|
+
"items": {
|
|
1045
|
+
"properties": {
|
|
1046
|
+
"action": {
|
|
1047
|
+
"anyOf": [
|
|
1048
|
+
{ "const": "call", "type": "string" },
|
|
1049
|
+
{ "const": "publish", "type": "string" },
|
|
1050
|
+
{ "const": "subscribe", "type": "string" },
|
|
1051
|
+
{ "const": "observe", "type": "string" },
|
|
1052
|
+
{ "const": "cancel", "type": "string" },
|
|
1053
|
+
],
|
|
1054
|
+
},
|
|
1055
|
+
"contractId": { "minLength": 1, "type": "string" },
|
|
1056
|
+
"name": { "minLength": 1, "type": "string" },
|
|
1057
|
+
"surfaceKind": {
|
|
1058
|
+
"anyOf": [
|
|
1059
|
+
{ "const": "rpc", "type": "string" },
|
|
1060
|
+
{ "const": "operation", "type": "string" },
|
|
1061
|
+
{ "const": "event", "type": "string" },
|
|
1062
|
+
{ "const": "feed", "type": "string" },
|
|
1063
|
+
],
|
|
1064
|
+
},
|
|
1065
|
+
},
|
|
1066
|
+
"required": ["contractId", "surfaceKind", "name"],
|
|
1067
|
+
"type": "object",
|
|
1068
|
+
},
|
|
1069
|
+
"type": "array",
|
|
1070
|
+
},
|
|
1056
1071
|
},
|
|
1057
|
-
"
|
|
1072
|
+
"required": ["capabilities", "surfaces", "nats"],
|
|
1073
|
+
"type": "object",
|
|
1058
1074
|
},
|
|
1059
1075
|
"reconciledAt": {
|
|
1060
1076
|
"anyOf": [{ "format": "date-time", "type": "string" }, {
|
|
@@ -1601,83 +1617,87 @@ exports.AuthDeploymentAuthorityListResponseSchema = {
|
|
|
1601
1617
|
"type": "array",
|
|
1602
1618
|
},
|
|
1603
1619
|
"needs": {
|
|
1604
|
-
"
|
|
1605
|
-
"
|
|
1620
|
+
"properties": {
|
|
1621
|
+
"capabilities": {
|
|
1622
|
+
"items": {
|
|
1606
1623
|
"properties": {
|
|
1607
|
-
"
|
|
1608
|
-
"kind": { "const": "contract", "type": "string" },
|
|
1624
|
+
"capability": { "minLength": 1, "type": "string" },
|
|
1609
1625
|
"required": { "type": "boolean" },
|
|
1610
1626
|
},
|
|
1611
|
-
"required": ["
|
|
1627
|
+
"required": ["capability", "required"],
|
|
1612
1628
|
"type": "object",
|
|
1613
|
-
},
|
|
1614
|
-
|
|
1615
|
-
|
|
1629
|
+
},
|
|
1630
|
+
"type": "array",
|
|
1631
|
+
},
|
|
1632
|
+
"contracts": {
|
|
1633
|
+
"items": {
|
|
1634
|
+
"properties": {
|
|
1635
|
+
"contractId": { "minLength": 1, "type": "string" },
|
|
1616
1636
|
"required": { "type": "boolean" },
|
|
1617
|
-
"surface": {
|
|
1618
|
-
"properties": {
|
|
1619
|
-
"action": {
|
|
1620
|
-
"anyOf": [
|
|
1621
|
-
{ "const": "call", "type": "string" },
|
|
1622
|
-
{ "const": "publish", "type": "string" },
|
|
1623
|
-
{ "const": "subscribe", "type": "string" },
|
|
1624
|
-
{ "const": "observe", "type": "string" },
|
|
1625
|
-
{ "const": "cancel", "type": "string" },
|
|
1626
|
-
],
|
|
1627
|
-
},
|
|
1628
|
-
"contractId": { "minLength": 1, "type": "string" },
|
|
1629
|
-
"kind": {
|
|
1630
|
-
"anyOf": [
|
|
1631
|
-
{ "const": "rpc", "type": "string" },
|
|
1632
|
-
{ "const": "operation", "type": "string" },
|
|
1633
|
-
{ "const": "event", "type": "string" },
|
|
1634
|
-
{ "const": "feed", "type": "string" },
|
|
1635
|
-
],
|
|
1636
|
-
},
|
|
1637
|
-
"name": { "minLength": 1, "type": "string" },
|
|
1638
|
-
},
|
|
1639
|
-
"required": ["contractId", "kind", "name"],
|
|
1640
|
-
"type": "object",
|
|
1641
|
-
},
|
|
1642
1637
|
},
|
|
1643
|
-
"required": ["
|
|
1638
|
+
"required": ["contractId", "required"],
|
|
1644
1639
|
"type": "object",
|
|
1645
|
-
},
|
|
1640
|
+
},
|
|
1641
|
+
"type": "array",
|
|
1642
|
+
},
|
|
1643
|
+
"resources": {
|
|
1644
|
+
"items": {
|
|
1646
1645
|
"properties": {
|
|
1647
|
-
"
|
|
1648
|
-
"
|
|
1646
|
+
"alias": { "minLength": 1, "type": "string" },
|
|
1647
|
+
"definition": { "type": "object" },
|
|
1648
|
+
"kind": {
|
|
1649
|
+
"anyOf": [
|
|
1650
|
+
{ "const": "kv", "type": "string" },
|
|
1651
|
+
{ "const": "store", "type": "string" },
|
|
1652
|
+
{ "const": "jobs", "type": "string" },
|
|
1653
|
+
{ "const": "event-consumer", "type": "string" },
|
|
1654
|
+
{ "const": "transfer", "type": "string" },
|
|
1655
|
+
],
|
|
1656
|
+
},
|
|
1649
1657
|
"required": { "type": "boolean" },
|
|
1650
1658
|
},
|
|
1651
|
-
"required": ["kind", "
|
|
1659
|
+
"required": ["kind", "alias", "required"],
|
|
1652
1660
|
"type": "object",
|
|
1653
|
-
},
|
|
1661
|
+
},
|
|
1662
|
+
"type": "array",
|
|
1663
|
+
},
|
|
1664
|
+
"surfaces": {
|
|
1665
|
+
"items": {
|
|
1654
1666
|
"properties": {
|
|
1655
|
-
"
|
|
1656
|
-
|
|
1657
|
-
|
|
1658
|
-
|
|
1659
|
-
"
|
|
1660
|
-
"
|
|
1661
|
-
"
|
|
1662
|
-
|
|
1663
|
-
|
|
1664
|
-
|
|
1665
|
-
|
|
1666
|
-
|
|
1667
|
-
|
|
1668
|
-
|
|
1669
|
-
},
|
|
1670
|
-
"
|
|
1671
|
-
|
|
1672
|
-
"required": ["kind", "alias", "required"],
|
|
1673
|
-
"type": "object",
|
|
1667
|
+
"action": {
|
|
1668
|
+
"anyOf": [
|
|
1669
|
+
{ "const": "call", "type": "string" },
|
|
1670
|
+
{ "const": "publish", "type": "string" },
|
|
1671
|
+
{ "const": "subscribe", "type": "string" },
|
|
1672
|
+
{ "const": "observe", "type": "string" },
|
|
1673
|
+
{ "const": "cancel", "type": "string" },
|
|
1674
|
+
],
|
|
1675
|
+
},
|
|
1676
|
+
"contractId": { "minLength": 1, "type": "string" },
|
|
1677
|
+
"kind": {
|
|
1678
|
+
"anyOf": [
|
|
1679
|
+
{ "const": "rpc", "type": "string" },
|
|
1680
|
+
{ "const": "operation", "type": "string" },
|
|
1681
|
+
{ "const": "event", "type": "string" },
|
|
1682
|
+
{ "const": "feed", "type": "string" },
|
|
1683
|
+
],
|
|
1674
1684
|
},
|
|
1685
|
+
"name": { "minLength": 1, "type": "string" },
|
|
1686
|
+
"required": { "type": "boolean" },
|
|
1675
1687
|
},
|
|
1676
|
-
"required": ["kind", "
|
|
1688
|
+
"required": ["contractId", "kind", "name", "required"],
|
|
1677
1689
|
"type": "object",
|
|
1678
|
-
}
|
|
1690
|
+
},
|
|
1691
|
+
"type": "array",
|
|
1692
|
+
},
|
|
1679
1693
|
},
|
|
1680
|
-
"
|
|
1694
|
+
"required": [
|
|
1695
|
+
"contracts",
|
|
1696
|
+
"surfaces",
|
|
1697
|
+
"capabilities",
|
|
1698
|
+
"resources",
|
|
1699
|
+
],
|
|
1700
|
+
"type": "object",
|
|
1681
1701
|
},
|
|
1682
1702
|
"resources": {
|
|
1683
1703
|
"items": {
|
|
@@ -1840,83 +1860,87 @@ exports.AuthDeploymentAuthorityPlanResponseSchema = {
|
|
|
1840
1860
|
"type": "array",
|
|
1841
1861
|
},
|
|
1842
1862
|
"requestedNeeds": {
|
|
1843
|
-
"
|
|
1844
|
-
"
|
|
1863
|
+
"properties": {
|
|
1864
|
+
"capabilities": {
|
|
1865
|
+
"items": {
|
|
1845
1866
|
"properties": {
|
|
1846
|
-
"
|
|
1847
|
-
"kind": { "const": "contract", "type": "string" },
|
|
1867
|
+
"capability": { "minLength": 1, "type": "string" },
|
|
1848
1868
|
"required": { "type": "boolean" },
|
|
1849
1869
|
},
|
|
1850
|
-
"required": ["
|
|
1870
|
+
"required": ["capability", "required"],
|
|
1851
1871
|
"type": "object",
|
|
1852
|
-
},
|
|
1872
|
+
},
|
|
1873
|
+
"type": "array",
|
|
1874
|
+
},
|
|
1875
|
+
"contracts": {
|
|
1876
|
+
"items": {
|
|
1853
1877
|
"properties": {
|
|
1854
|
-
"
|
|
1878
|
+
"contractId": { "minLength": 1, "type": "string" },
|
|
1855
1879
|
"required": { "type": "boolean" },
|
|
1856
|
-
"surface": {
|
|
1857
|
-
"properties": {
|
|
1858
|
-
"action": {
|
|
1859
|
-
"anyOf": [
|
|
1860
|
-
{ "const": "call", "type": "string" },
|
|
1861
|
-
{ "const": "publish", "type": "string" },
|
|
1862
|
-
{ "const": "subscribe", "type": "string" },
|
|
1863
|
-
{ "const": "observe", "type": "string" },
|
|
1864
|
-
{ "const": "cancel", "type": "string" },
|
|
1865
|
-
],
|
|
1866
|
-
},
|
|
1867
|
-
"contractId": { "minLength": 1, "type": "string" },
|
|
1868
|
-
"kind": {
|
|
1869
|
-
"anyOf": [
|
|
1870
|
-
{ "const": "rpc", "type": "string" },
|
|
1871
|
-
{ "const": "operation", "type": "string" },
|
|
1872
|
-
{ "const": "event", "type": "string" },
|
|
1873
|
-
{ "const": "feed", "type": "string" },
|
|
1874
|
-
],
|
|
1875
|
-
},
|
|
1876
|
-
"name": { "minLength": 1, "type": "string" },
|
|
1877
|
-
},
|
|
1878
|
-
"required": ["contractId", "kind", "name"],
|
|
1879
|
-
"type": "object",
|
|
1880
|
-
},
|
|
1881
1880
|
},
|
|
1882
|
-
"required": ["
|
|
1881
|
+
"required": ["contractId", "required"],
|
|
1883
1882
|
"type": "object",
|
|
1884
|
-
},
|
|
1883
|
+
},
|
|
1884
|
+
"type": "array",
|
|
1885
|
+
},
|
|
1886
|
+
"resources": {
|
|
1887
|
+
"items": {
|
|
1885
1888
|
"properties": {
|
|
1886
|
-
"
|
|
1887
|
-
"
|
|
1889
|
+
"alias": { "minLength": 1, "type": "string" },
|
|
1890
|
+
"definition": { "type": "object" },
|
|
1891
|
+
"kind": {
|
|
1892
|
+
"anyOf": [
|
|
1893
|
+
{ "const": "kv", "type": "string" },
|
|
1894
|
+
{ "const": "store", "type": "string" },
|
|
1895
|
+
{ "const": "jobs", "type": "string" },
|
|
1896
|
+
{ "const": "event-consumer", "type": "string" },
|
|
1897
|
+
{ "const": "transfer", "type": "string" },
|
|
1898
|
+
],
|
|
1899
|
+
},
|
|
1888
1900
|
"required": { "type": "boolean" },
|
|
1889
1901
|
},
|
|
1890
|
-
"required": ["kind", "
|
|
1902
|
+
"required": ["kind", "alias", "required"],
|
|
1891
1903
|
"type": "object",
|
|
1892
|
-
},
|
|
1904
|
+
},
|
|
1905
|
+
"type": "array",
|
|
1906
|
+
},
|
|
1907
|
+
"surfaces": {
|
|
1908
|
+
"items": {
|
|
1893
1909
|
"properties": {
|
|
1894
|
-
"
|
|
1895
|
-
|
|
1896
|
-
|
|
1897
|
-
|
|
1898
|
-
"
|
|
1899
|
-
"
|
|
1900
|
-
"
|
|
1901
|
-
|
|
1902
|
-
|
|
1903
|
-
|
|
1904
|
-
|
|
1905
|
-
|
|
1906
|
-
|
|
1907
|
-
|
|
1908
|
-
},
|
|
1909
|
-
"
|
|
1910
|
-
|
|
1911
|
-
"required": ["kind", "alias", "required"],
|
|
1912
|
-
"type": "object",
|
|
1910
|
+
"action": {
|
|
1911
|
+
"anyOf": [
|
|
1912
|
+
{ "const": "call", "type": "string" },
|
|
1913
|
+
{ "const": "publish", "type": "string" },
|
|
1914
|
+
{ "const": "subscribe", "type": "string" },
|
|
1915
|
+
{ "const": "observe", "type": "string" },
|
|
1916
|
+
{ "const": "cancel", "type": "string" },
|
|
1917
|
+
],
|
|
1918
|
+
},
|
|
1919
|
+
"contractId": { "minLength": 1, "type": "string" },
|
|
1920
|
+
"kind": {
|
|
1921
|
+
"anyOf": [
|
|
1922
|
+
{ "const": "rpc", "type": "string" },
|
|
1923
|
+
{ "const": "operation", "type": "string" },
|
|
1924
|
+
{ "const": "event", "type": "string" },
|
|
1925
|
+
{ "const": "feed", "type": "string" },
|
|
1926
|
+
],
|
|
1913
1927
|
},
|
|
1928
|
+
"name": { "minLength": 1, "type": "string" },
|
|
1929
|
+
"required": { "type": "boolean" },
|
|
1914
1930
|
},
|
|
1915
|
-
"required": ["kind", "
|
|
1931
|
+
"required": ["contractId", "kind", "name", "required"],
|
|
1916
1932
|
"type": "object",
|
|
1917
|
-
}
|
|
1933
|
+
},
|
|
1934
|
+
"type": "array",
|
|
1935
|
+
},
|
|
1918
1936
|
},
|
|
1919
|
-
"
|
|
1937
|
+
"required": [
|
|
1938
|
+
"contracts",
|
|
1939
|
+
"surfaces",
|
|
1940
|
+
"capabilities",
|
|
1941
|
+
"resources",
|
|
1942
|
+
],
|
|
1943
|
+
"type": "object",
|
|
1920
1944
|
},
|
|
1921
1945
|
"summary": { "type": "object" },
|
|
1922
1946
|
},
|
|
@@ -2016,83 +2040,87 @@ exports.AuthDeploymentAuthorityPlanResponseSchema = {
|
|
|
2016
2040
|
"type": "array",
|
|
2017
2041
|
},
|
|
2018
2042
|
"requestedNeeds": {
|
|
2019
|
-
"
|
|
2020
|
-
"
|
|
2043
|
+
"properties": {
|
|
2044
|
+
"capabilities": {
|
|
2045
|
+
"items": {
|
|
2021
2046
|
"properties": {
|
|
2022
|
-
"
|
|
2023
|
-
"kind": { "const": "contract", "type": "string" },
|
|
2047
|
+
"capability": { "minLength": 1, "type": "string" },
|
|
2024
2048
|
"required": { "type": "boolean" },
|
|
2025
2049
|
},
|
|
2026
|
-
"required": ["
|
|
2050
|
+
"required": ["capability", "required"],
|
|
2027
2051
|
"type": "object",
|
|
2028
|
-
},
|
|
2052
|
+
},
|
|
2053
|
+
"type": "array",
|
|
2054
|
+
},
|
|
2055
|
+
"contracts": {
|
|
2056
|
+
"items": {
|
|
2029
2057
|
"properties": {
|
|
2030
|
-
"
|
|
2058
|
+
"contractId": { "minLength": 1, "type": "string" },
|
|
2031
2059
|
"required": { "type": "boolean" },
|
|
2032
|
-
"surface": {
|
|
2033
|
-
"properties": {
|
|
2034
|
-
"action": {
|
|
2035
|
-
"anyOf": [
|
|
2036
|
-
{ "const": "call", "type": "string" },
|
|
2037
|
-
{ "const": "publish", "type": "string" },
|
|
2038
|
-
{ "const": "subscribe", "type": "string" },
|
|
2039
|
-
{ "const": "observe", "type": "string" },
|
|
2040
|
-
{ "const": "cancel", "type": "string" },
|
|
2041
|
-
],
|
|
2042
|
-
},
|
|
2043
|
-
"contractId": { "minLength": 1, "type": "string" },
|
|
2044
|
-
"kind": {
|
|
2045
|
-
"anyOf": [
|
|
2046
|
-
{ "const": "rpc", "type": "string" },
|
|
2047
|
-
{ "const": "operation", "type": "string" },
|
|
2048
|
-
{ "const": "event", "type": "string" },
|
|
2049
|
-
{ "const": "feed", "type": "string" },
|
|
2050
|
-
],
|
|
2051
|
-
},
|
|
2052
|
-
"name": { "minLength": 1, "type": "string" },
|
|
2053
|
-
},
|
|
2054
|
-
"required": ["contractId", "kind", "name"],
|
|
2055
|
-
"type": "object",
|
|
2056
|
-
},
|
|
2057
2060
|
},
|
|
2058
|
-
"required": ["
|
|
2061
|
+
"required": ["contractId", "required"],
|
|
2059
2062
|
"type": "object",
|
|
2060
|
-
},
|
|
2063
|
+
},
|
|
2064
|
+
"type": "array",
|
|
2065
|
+
},
|
|
2066
|
+
"resources": {
|
|
2067
|
+
"items": {
|
|
2061
2068
|
"properties": {
|
|
2062
|
-
"
|
|
2063
|
-
"
|
|
2069
|
+
"alias": { "minLength": 1, "type": "string" },
|
|
2070
|
+
"definition": { "type": "object" },
|
|
2071
|
+
"kind": {
|
|
2072
|
+
"anyOf": [
|
|
2073
|
+
{ "const": "kv", "type": "string" },
|
|
2074
|
+
{ "const": "store", "type": "string" },
|
|
2075
|
+
{ "const": "jobs", "type": "string" },
|
|
2076
|
+
{ "const": "event-consumer", "type": "string" },
|
|
2077
|
+
{ "const": "transfer", "type": "string" },
|
|
2078
|
+
],
|
|
2079
|
+
},
|
|
2064
2080
|
"required": { "type": "boolean" },
|
|
2065
2081
|
},
|
|
2066
|
-
"required": ["kind", "
|
|
2082
|
+
"required": ["kind", "alias", "required"],
|
|
2067
2083
|
"type": "object",
|
|
2068
|
-
},
|
|
2084
|
+
},
|
|
2085
|
+
"type": "array",
|
|
2086
|
+
},
|
|
2087
|
+
"surfaces": {
|
|
2088
|
+
"items": {
|
|
2069
2089
|
"properties": {
|
|
2070
|
-
"
|
|
2071
|
-
|
|
2072
|
-
|
|
2073
|
-
|
|
2074
|
-
"
|
|
2075
|
-
"
|
|
2076
|
-
"
|
|
2077
|
-
|
|
2078
|
-
|
|
2079
|
-
|
|
2080
|
-
|
|
2081
|
-
|
|
2082
|
-
|
|
2083
|
-
|
|
2084
|
-
},
|
|
2085
|
-
"
|
|
2086
|
-
|
|
2087
|
-
"required": ["kind", "alias", "required"],
|
|
2088
|
-
"type": "object",
|
|
2090
|
+
"action": {
|
|
2091
|
+
"anyOf": [
|
|
2092
|
+
{ "const": "call", "type": "string" },
|
|
2093
|
+
{ "const": "publish", "type": "string" },
|
|
2094
|
+
{ "const": "subscribe", "type": "string" },
|
|
2095
|
+
{ "const": "observe", "type": "string" },
|
|
2096
|
+
{ "const": "cancel", "type": "string" },
|
|
2097
|
+
],
|
|
2098
|
+
},
|
|
2099
|
+
"contractId": { "minLength": 1, "type": "string" },
|
|
2100
|
+
"kind": {
|
|
2101
|
+
"anyOf": [
|
|
2102
|
+
{ "const": "rpc", "type": "string" },
|
|
2103
|
+
{ "const": "operation", "type": "string" },
|
|
2104
|
+
{ "const": "event", "type": "string" },
|
|
2105
|
+
{ "const": "feed", "type": "string" },
|
|
2106
|
+
],
|
|
2089
2107
|
},
|
|
2108
|
+
"name": { "minLength": 1, "type": "string" },
|
|
2109
|
+
"required": { "type": "boolean" },
|
|
2090
2110
|
},
|
|
2091
|
-
"required": ["kind", "
|
|
2111
|
+
"required": ["contractId", "kind", "name", "required"],
|
|
2092
2112
|
"type": "object",
|
|
2093
|
-
}
|
|
2113
|
+
},
|
|
2114
|
+
"type": "array",
|
|
2115
|
+
},
|
|
2094
2116
|
},
|
|
2095
|
-
"
|
|
2117
|
+
"required": [
|
|
2118
|
+
"contracts",
|
|
2119
|
+
"surfaces",
|
|
2120
|
+
"capabilities",
|
|
2121
|
+
"resources",
|
|
2122
|
+
],
|
|
2123
|
+
"type": "object",
|
|
2096
2124
|
},
|
|
2097
2125
|
"summary": { "type": "object" },
|
|
2098
2126
|
},
|
|
@@ -2206,83 +2234,87 @@ exports.AuthDeploymentAuthorityPlansGetResponseSchema = {
|
|
|
2206
2234
|
"type": "array",
|
|
2207
2235
|
},
|
|
2208
2236
|
"requestedNeeds": {
|
|
2209
|
-
"
|
|
2210
|
-
"
|
|
2237
|
+
"properties": {
|
|
2238
|
+
"capabilities": {
|
|
2239
|
+
"items": {
|
|
2211
2240
|
"properties": {
|
|
2212
|
-
"
|
|
2213
|
-
"kind": { "const": "contract", "type": "string" },
|
|
2241
|
+
"capability": { "minLength": 1, "type": "string" },
|
|
2214
2242
|
"required": { "type": "boolean" },
|
|
2215
2243
|
},
|
|
2216
|
-
"required": ["
|
|
2244
|
+
"required": ["capability", "required"],
|
|
2217
2245
|
"type": "object",
|
|
2218
|
-
},
|
|
2246
|
+
},
|
|
2247
|
+
"type": "array",
|
|
2248
|
+
},
|
|
2249
|
+
"contracts": {
|
|
2250
|
+
"items": {
|
|
2219
2251
|
"properties": {
|
|
2220
|
-
"
|
|
2252
|
+
"contractId": { "minLength": 1, "type": "string" },
|
|
2221
2253
|
"required": { "type": "boolean" },
|
|
2222
|
-
"surface": {
|
|
2223
|
-
"properties": {
|
|
2224
|
-
"action": {
|
|
2225
|
-
"anyOf": [
|
|
2226
|
-
{ "const": "call", "type": "string" },
|
|
2227
|
-
{ "const": "publish", "type": "string" },
|
|
2228
|
-
{ "const": "subscribe", "type": "string" },
|
|
2229
|
-
{ "const": "observe", "type": "string" },
|
|
2230
|
-
{ "const": "cancel", "type": "string" },
|
|
2231
|
-
],
|
|
2232
|
-
},
|
|
2233
|
-
"contractId": { "minLength": 1, "type": "string" },
|
|
2234
|
-
"kind": {
|
|
2235
|
-
"anyOf": [
|
|
2236
|
-
{ "const": "rpc", "type": "string" },
|
|
2237
|
-
{ "const": "operation", "type": "string" },
|
|
2238
|
-
{ "const": "event", "type": "string" },
|
|
2239
|
-
{ "const": "feed", "type": "string" },
|
|
2240
|
-
],
|
|
2241
|
-
},
|
|
2242
|
-
"name": { "minLength": 1, "type": "string" },
|
|
2243
|
-
},
|
|
2244
|
-
"required": ["contractId", "kind", "name"],
|
|
2245
|
-
"type": "object",
|
|
2246
|
-
},
|
|
2247
2254
|
},
|
|
2248
|
-
"required": ["
|
|
2255
|
+
"required": ["contractId", "required"],
|
|
2249
2256
|
"type": "object",
|
|
2250
|
-
},
|
|
2257
|
+
},
|
|
2258
|
+
"type": "array",
|
|
2259
|
+
},
|
|
2260
|
+
"resources": {
|
|
2261
|
+
"items": {
|
|
2251
2262
|
"properties": {
|
|
2252
|
-
"
|
|
2253
|
-
"
|
|
2263
|
+
"alias": { "minLength": 1, "type": "string" },
|
|
2264
|
+
"definition": { "type": "object" },
|
|
2265
|
+
"kind": {
|
|
2266
|
+
"anyOf": [
|
|
2267
|
+
{ "const": "kv", "type": "string" },
|
|
2268
|
+
{ "const": "store", "type": "string" },
|
|
2269
|
+
{ "const": "jobs", "type": "string" },
|
|
2270
|
+
{ "const": "event-consumer", "type": "string" },
|
|
2271
|
+
{ "const": "transfer", "type": "string" },
|
|
2272
|
+
],
|
|
2273
|
+
},
|
|
2254
2274
|
"required": { "type": "boolean" },
|
|
2255
2275
|
},
|
|
2256
|
-
"required": ["kind", "
|
|
2276
|
+
"required": ["kind", "alias", "required"],
|
|
2257
2277
|
"type": "object",
|
|
2258
|
-
},
|
|
2278
|
+
},
|
|
2279
|
+
"type": "array",
|
|
2280
|
+
},
|
|
2281
|
+
"surfaces": {
|
|
2282
|
+
"items": {
|
|
2259
2283
|
"properties": {
|
|
2260
|
-
"
|
|
2261
|
-
|
|
2262
|
-
|
|
2263
|
-
|
|
2264
|
-
"
|
|
2265
|
-
"
|
|
2266
|
-
"
|
|
2267
|
-
|
|
2268
|
-
{ "const": "kv", "type": "string" },
|
|
2269
|
-
{ "const": "store", "type": "string" },
|
|
2270
|
-
{ "const": "jobs", "type": "string" },
|
|
2271
|
-
{ "const": "event-consumer", "type": "string" },
|
|
2272
|
-
{ "const": "transfer", "type": "string" },
|
|
2273
|
-
],
|
|
2274
|
-
},
|
|
2275
|
-
"required": { "type": "boolean" },
|
|
2276
|
-
},
|
|
2277
|
-
"required": ["kind", "alias", "required"],
|
|
2278
|
-
"type": "object",
|
|
2284
|
+
"action": {
|
|
2285
|
+
"anyOf": [
|
|
2286
|
+
{ "const": "call", "type": "string" },
|
|
2287
|
+
{ "const": "publish", "type": "string" },
|
|
2288
|
+
{ "const": "subscribe", "type": "string" },
|
|
2289
|
+
{ "const": "observe", "type": "string" },
|
|
2290
|
+
{ "const": "cancel", "type": "string" },
|
|
2291
|
+
],
|
|
2279
2292
|
},
|
|
2293
|
+
"contractId": { "minLength": 1, "type": "string" },
|
|
2294
|
+
"kind": {
|
|
2295
|
+
"anyOf": [
|
|
2296
|
+
{ "const": "rpc", "type": "string" },
|
|
2297
|
+
{ "const": "operation", "type": "string" },
|
|
2298
|
+
{ "const": "event", "type": "string" },
|
|
2299
|
+
{ "const": "feed", "type": "string" },
|
|
2300
|
+
],
|
|
2301
|
+
},
|
|
2302
|
+
"name": { "minLength": 1, "type": "string" },
|
|
2303
|
+
"required": { "type": "boolean" },
|
|
2280
2304
|
},
|
|
2281
|
-
"required": ["kind", "
|
|
2305
|
+
"required": ["contractId", "kind", "name", "required"],
|
|
2282
2306
|
"type": "object",
|
|
2283
|
-
}
|
|
2307
|
+
},
|
|
2308
|
+
"type": "array",
|
|
2309
|
+
},
|
|
2284
2310
|
},
|
|
2285
|
-
"
|
|
2311
|
+
"required": [
|
|
2312
|
+
"contracts",
|
|
2313
|
+
"surfaces",
|
|
2314
|
+
"capabilities",
|
|
2315
|
+
"resources",
|
|
2316
|
+
],
|
|
2317
|
+
"type": "object",
|
|
2286
2318
|
},
|
|
2287
2319
|
"summary": { "type": "object" },
|
|
2288
2320
|
},
|
|
@@ -2382,83 +2414,87 @@ exports.AuthDeploymentAuthorityPlansGetResponseSchema = {
|
|
|
2382
2414
|
"type": "array",
|
|
2383
2415
|
},
|
|
2384
2416
|
"requestedNeeds": {
|
|
2385
|
-
"
|
|
2386
|
-
"
|
|
2417
|
+
"properties": {
|
|
2418
|
+
"capabilities": {
|
|
2419
|
+
"items": {
|
|
2387
2420
|
"properties": {
|
|
2388
|
-
"
|
|
2389
|
-
"kind": { "const": "contract", "type": "string" },
|
|
2421
|
+
"capability": { "minLength": 1, "type": "string" },
|
|
2390
2422
|
"required": { "type": "boolean" },
|
|
2391
2423
|
},
|
|
2392
|
-
"required": ["
|
|
2424
|
+
"required": ["capability", "required"],
|
|
2393
2425
|
"type": "object",
|
|
2394
|
-
},
|
|
2426
|
+
},
|
|
2427
|
+
"type": "array",
|
|
2428
|
+
},
|
|
2429
|
+
"contracts": {
|
|
2430
|
+
"items": {
|
|
2395
2431
|
"properties": {
|
|
2396
|
-
"
|
|
2432
|
+
"contractId": { "minLength": 1, "type": "string" },
|
|
2397
2433
|
"required": { "type": "boolean" },
|
|
2398
|
-
"surface": {
|
|
2399
|
-
"properties": {
|
|
2400
|
-
"action": {
|
|
2401
|
-
"anyOf": [
|
|
2402
|
-
{ "const": "call", "type": "string" },
|
|
2403
|
-
{ "const": "publish", "type": "string" },
|
|
2404
|
-
{ "const": "subscribe", "type": "string" },
|
|
2405
|
-
{ "const": "observe", "type": "string" },
|
|
2406
|
-
{ "const": "cancel", "type": "string" },
|
|
2407
|
-
],
|
|
2408
|
-
},
|
|
2409
|
-
"contractId": { "minLength": 1, "type": "string" },
|
|
2410
|
-
"kind": {
|
|
2411
|
-
"anyOf": [
|
|
2412
|
-
{ "const": "rpc", "type": "string" },
|
|
2413
|
-
{ "const": "operation", "type": "string" },
|
|
2414
|
-
{ "const": "event", "type": "string" },
|
|
2415
|
-
{ "const": "feed", "type": "string" },
|
|
2416
|
-
],
|
|
2417
|
-
},
|
|
2418
|
-
"name": { "minLength": 1, "type": "string" },
|
|
2419
|
-
},
|
|
2420
|
-
"required": ["contractId", "kind", "name"],
|
|
2421
|
-
"type": "object",
|
|
2422
|
-
},
|
|
2423
2434
|
},
|
|
2424
|
-
"required": ["
|
|
2435
|
+
"required": ["contractId", "required"],
|
|
2425
2436
|
"type": "object",
|
|
2426
|
-
},
|
|
2437
|
+
},
|
|
2438
|
+
"type": "array",
|
|
2439
|
+
},
|
|
2440
|
+
"resources": {
|
|
2441
|
+
"items": {
|
|
2427
2442
|
"properties": {
|
|
2428
|
-
"
|
|
2429
|
-
"
|
|
2443
|
+
"alias": { "minLength": 1, "type": "string" },
|
|
2444
|
+
"definition": { "type": "object" },
|
|
2445
|
+
"kind": {
|
|
2446
|
+
"anyOf": [
|
|
2447
|
+
{ "const": "kv", "type": "string" },
|
|
2448
|
+
{ "const": "store", "type": "string" },
|
|
2449
|
+
{ "const": "jobs", "type": "string" },
|
|
2450
|
+
{ "const": "event-consumer", "type": "string" },
|
|
2451
|
+
{ "const": "transfer", "type": "string" },
|
|
2452
|
+
],
|
|
2453
|
+
},
|
|
2430
2454
|
"required": { "type": "boolean" },
|
|
2431
2455
|
},
|
|
2432
|
-
"required": ["kind", "
|
|
2456
|
+
"required": ["kind", "alias", "required"],
|
|
2433
2457
|
"type": "object",
|
|
2434
|
-
},
|
|
2458
|
+
},
|
|
2459
|
+
"type": "array",
|
|
2460
|
+
},
|
|
2461
|
+
"surfaces": {
|
|
2462
|
+
"items": {
|
|
2435
2463
|
"properties": {
|
|
2436
|
-
"
|
|
2437
|
-
|
|
2438
|
-
|
|
2439
|
-
|
|
2440
|
-
"
|
|
2441
|
-
"
|
|
2442
|
-
"
|
|
2443
|
-
|
|
2444
|
-
|
|
2445
|
-
|
|
2446
|
-
|
|
2447
|
-
|
|
2448
|
-
|
|
2449
|
-
|
|
2450
|
-
},
|
|
2451
|
-
"
|
|
2452
|
-
|
|
2453
|
-
"required": ["kind", "alias", "required"],
|
|
2454
|
-
"type": "object",
|
|
2464
|
+
"action": {
|
|
2465
|
+
"anyOf": [
|
|
2466
|
+
{ "const": "call", "type": "string" },
|
|
2467
|
+
{ "const": "publish", "type": "string" },
|
|
2468
|
+
{ "const": "subscribe", "type": "string" },
|
|
2469
|
+
{ "const": "observe", "type": "string" },
|
|
2470
|
+
{ "const": "cancel", "type": "string" },
|
|
2471
|
+
],
|
|
2472
|
+
},
|
|
2473
|
+
"contractId": { "minLength": 1, "type": "string" },
|
|
2474
|
+
"kind": {
|
|
2475
|
+
"anyOf": [
|
|
2476
|
+
{ "const": "rpc", "type": "string" },
|
|
2477
|
+
{ "const": "operation", "type": "string" },
|
|
2478
|
+
{ "const": "event", "type": "string" },
|
|
2479
|
+
{ "const": "feed", "type": "string" },
|
|
2480
|
+
],
|
|
2455
2481
|
},
|
|
2482
|
+
"name": { "minLength": 1, "type": "string" },
|
|
2483
|
+
"required": { "type": "boolean" },
|
|
2456
2484
|
},
|
|
2457
|
-
"required": ["kind", "
|
|
2485
|
+
"required": ["contractId", "kind", "name", "required"],
|
|
2458
2486
|
"type": "object",
|
|
2459
|
-
}
|
|
2487
|
+
},
|
|
2488
|
+
"type": "array",
|
|
2489
|
+
},
|
|
2460
2490
|
},
|
|
2461
|
-
"
|
|
2491
|
+
"required": [
|
|
2492
|
+
"contracts",
|
|
2493
|
+
"surfaces",
|
|
2494
|
+
"capabilities",
|
|
2495
|
+
"resources",
|
|
2496
|
+
],
|
|
2497
|
+
"type": "object",
|
|
2462
2498
|
},
|
|
2463
2499
|
"summary": { "type": "object" },
|
|
2464
2500
|
},
|
|
@@ -2605,83 +2641,87 @@ exports.AuthDeploymentAuthorityPlansListResponseSchema = {
|
|
|
2605
2641
|
"type": "array",
|
|
2606
2642
|
},
|
|
2607
2643
|
"requestedNeeds": {
|
|
2608
|
-
"
|
|
2609
|
-
"
|
|
2644
|
+
"properties": {
|
|
2645
|
+
"capabilities": {
|
|
2646
|
+
"items": {
|
|
2610
2647
|
"properties": {
|
|
2611
|
-
"
|
|
2612
|
-
"kind": { "const": "contract", "type": "string" },
|
|
2648
|
+
"capability": { "minLength": 1, "type": "string" },
|
|
2613
2649
|
"required": { "type": "boolean" },
|
|
2614
2650
|
},
|
|
2615
|
-
"required": ["
|
|
2651
|
+
"required": ["capability", "required"],
|
|
2616
2652
|
"type": "object",
|
|
2617
|
-
},
|
|
2653
|
+
},
|
|
2654
|
+
"type": "array",
|
|
2655
|
+
},
|
|
2656
|
+
"contracts": {
|
|
2657
|
+
"items": {
|
|
2618
2658
|
"properties": {
|
|
2619
|
-
"
|
|
2659
|
+
"contractId": { "minLength": 1, "type": "string" },
|
|
2620
2660
|
"required": { "type": "boolean" },
|
|
2621
|
-
"surface": {
|
|
2622
|
-
"properties": {
|
|
2623
|
-
"action": {
|
|
2624
|
-
"anyOf": [
|
|
2625
|
-
{ "const": "call", "type": "string" },
|
|
2626
|
-
{ "const": "publish", "type": "string" },
|
|
2627
|
-
{ "const": "subscribe", "type": "string" },
|
|
2628
|
-
{ "const": "observe", "type": "string" },
|
|
2629
|
-
{ "const": "cancel", "type": "string" },
|
|
2630
|
-
],
|
|
2631
|
-
},
|
|
2632
|
-
"contractId": { "minLength": 1, "type": "string" },
|
|
2633
|
-
"kind": {
|
|
2634
|
-
"anyOf": [
|
|
2635
|
-
{ "const": "rpc", "type": "string" },
|
|
2636
|
-
{ "const": "operation", "type": "string" },
|
|
2637
|
-
{ "const": "event", "type": "string" },
|
|
2638
|
-
{ "const": "feed", "type": "string" },
|
|
2639
|
-
],
|
|
2640
|
-
},
|
|
2641
|
-
"name": { "minLength": 1, "type": "string" },
|
|
2642
|
-
},
|
|
2643
|
-
"required": ["contractId", "kind", "name"],
|
|
2644
|
-
"type": "object",
|
|
2645
|
-
},
|
|
2646
2661
|
},
|
|
2647
|
-
"required": ["
|
|
2662
|
+
"required": ["contractId", "required"],
|
|
2648
2663
|
"type": "object",
|
|
2649
|
-
},
|
|
2664
|
+
},
|
|
2665
|
+
"type": "array",
|
|
2666
|
+
},
|
|
2667
|
+
"resources": {
|
|
2668
|
+
"items": {
|
|
2650
2669
|
"properties": {
|
|
2651
|
-
"
|
|
2652
|
-
"
|
|
2670
|
+
"alias": { "minLength": 1, "type": "string" },
|
|
2671
|
+
"definition": { "type": "object" },
|
|
2672
|
+
"kind": {
|
|
2673
|
+
"anyOf": [
|
|
2674
|
+
{ "const": "kv", "type": "string" },
|
|
2675
|
+
{ "const": "store", "type": "string" },
|
|
2676
|
+
{ "const": "jobs", "type": "string" },
|
|
2677
|
+
{ "const": "event-consumer", "type": "string" },
|
|
2678
|
+
{ "const": "transfer", "type": "string" },
|
|
2679
|
+
],
|
|
2680
|
+
},
|
|
2653
2681
|
"required": { "type": "boolean" },
|
|
2654
2682
|
},
|
|
2655
|
-
"required": ["kind", "
|
|
2683
|
+
"required": ["kind", "alias", "required"],
|
|
2656
2684
|
"type": "object",
|
|
2657
|
-
},
|
|
2685
|
+
},
|
|
2686
|
+
"type": "array",
|
|
2687
|
+
},
|
|
2688
|
+
"surfaces": {
|
|
2689
|
+
"items": {
|
|
2658
2690
|
"properties": {
|
|
2659
|
-
"
|
|
2660
|
-
|
|
2661
|
-
|
|
2662
|
-
|
|
2663
|
-
"
|
|
2664
|
-
"
|
|
2665
|
-
"
|
|
2666
|
-
|
|
2667
|
-
|
|
2668
|
-
|
|
2669
|
-
|
|
2670
|
-
|
|
2671
|
-
|
|
2672
|
-
|
|
2673
|
-
},
|
|
2674
|
-
"
|
|
2675
|
-
|
|
2676
|
-
"required": ["kind", "alias", "required"],
|
|
2677
|
-
"type": "object",
|
|
2691
|
+
"action": {
|
|
2692
|
+
"anyOf": [
|
|
2693
|
+
{ "const": "call", "type": "string" },
|
|
2694
|
+
{ "const": "publish", "type": "string" },
|
|
2695
|
+
{ "const": "subscribe", "type": "string" },
|
|
2696
|
+
{ "const": "observe", "type": "string" },
|
|
2697
|
+
{ "const": "cancel", "type": "string" },
|
|
2698
|
+
],
|
|
2699
|
+
},
|
|
2700
|
+
"contractId": { "minLength": 1, "type": "string" },
|
|
2701
|
+
"kind": {
|
|
2702
|
+
"anyOf": [
|
|
2703
|
+
{ "const": "rpc", "type": "string" },
|
|
2704
|
+
{ "const": "operation", "type": "string" },
|
|
2705
|
+
{ "const": "event", "type": "string" },
|
|
2706
|
+
{ "const": "feed", "type": "string" },
|
|
2707
|
+
],
|
|
2678
2708
|
},
|
|
2709
|
+
"name": { "minLength": 1, "type": "string" },
|
|
2710
|
+
"required": { "type": "boolean" },
|
|
2679
2711
|
},
|
|
2680
|
-
"required": ["kind", "
|
|
2712
|
+
"required": ["contractId", "kind", "name", "required"],
|
|
2681
2713
|
"type": "object",
|
|
2682
|
-
}
|
|
2714
|
+
},
|
|
2715
|
+
"type": "array",
|
|
2716
|
+
},
|
|
2683
2717
|
},
|
|
2684
|
-
"
|
|
2718
|
+
"required": [
|
|
2719
|
+
"contracts",
|
|
2720
|
+
"surfaces",
|
|
2721
|
+
"capabilities",
|
|
2722
|
+
"resources",
|
|
2723
|
+
],
|
|
2724
|
+
"type": "object",
|
|
2685
2725
|
},
|
|
2686
2726
|
"summary": { "type": "object" },
|
|
2687
2727
|
},
|
|
@@ -2783,83 +2823,87 @@ exports.AuthDeploymentAuthorityPlansListResponseSchema = {
|
|
|
2783
2823
|
"type": "array",
|
|
2784
2824
|
},
|
|
2785
2825
|
"requestedNeeds": {
|
|
2786
|
-
"
|
|
2787
|
-
"
|
|
2826
|
+
"properties": {
|
|
2827
|
+
"capabilities": {
|
|
2828
|
+
"items": {
|
|
2788
2829
|
"properties": {
|
|
2789
|
-
"
|
|
2790
|
-
"kind": { "const": "contract", "type": "string" },
|
|
2830
|
+
"capability": { "minLength": 1, "type": "string" },
|
|
2791
2831
|
"required": { "type": "boolean" },
|
|
2792
2832
|
},
|
|
2793
|
-
"required": ["
|
|
2833
|
+
"required": ["capability", "required"],
|
|
2794
2834
|
"type": "object",
|
|
2795
|
-
},
|
|
2835
|
+
},
|
|
2836
|
+
"type": "array",
|
|
2837
|
+
},
|
|
2838
|
+
"contracts": {
|
|
2839
|
+
"items": {
|
|
2796
2840
|
"properties": {
|
|
2797
|
-
"
|
|
2841
|
+
"contractId": { "minLength": 1, "type": "string" },
|
|
2798
2842
|
"required": { "type": "boolean" },
|
|
2799
|
-
"surface": {
|
|
2800
|
-
"properties": {
|
|
2801
|
-
"action": {
|
|
2802
|
-
"anyOf": [
|
|
2803
|
-
{ "const": "call", "type": "string" },
|
|
2804
|
-
{ "const": "publish", "type": "string" },
|
|
2805
|
-
{ "const": "subscribe", "type": "string" },
|
|
2806
|
-
{ "const": "observe", "type": "string" },
|
|
2807
|
-
{ "const": "cancel", "type": "string" },
|
|
2808
|
-
],
|
|
2809
|
-
},
|
|
2810
|
-
"contractId": { "minLength": 1, "type": "string" },
|
|
2811
|
-
"kind": {
|
|
2812
|
-
"anyOf": [
|
|
2813
|
-
{ "const": "rpc", "type": "string" },
|
|
2814
|
-
{ "const": "operation", "type": "string" },
|
|
2815
|
-
{ "const": "event", "type": "string" },
|
|
2816
|
-
{ "const": "feed", "type": "string" },
|
|
2817
|
-
],
|
|
2818
|
-
},
|
|
2819
|
-
"name": { "minLength": 1, "type": "string" },
|
|
2820
|
-
},
|
|
2821
|
-
"required": ["contractId", "kind", "name"],
|
|
2822
|
-
"type": "object",
|
|
2823
|
-
},
|
|
2824
2843
|
},
|
|
2825
|
-
"required": ["
|
|
2844
|
+
"required": ["contractId", "required"],
|
|
2826
2845
|
"type": "object",
|
|
2827
|
-
},
|
|
2846
|
+
},
|
|
2847
|
+
"type": "array",
|
|
2848
|
+
},
|
|
2849
|
+
"resources": {
|
|
2850
|
+
"items": {
|
|
2828
2851
|
"properties": {
|
|
2829
|
-
"
|
|
2830
|
-
"
|
|
2852
|
+
"alias": { "minLength": 1, "type": "string" },
|
|
2853
|
+
"definition": { "type": "object" },
|
|
2854
|
+
"kind": {
|
|
2855
|
+
"anyOf": [
|
|
2856
|
+
{ "const": "kv", "type": "string" },
|
|
2857
|
+
{ "const": "store", "type": "string" },
|
|
2858
|
+
{ "const": "jobs", "type": "string" },
|
|
2859
|
+
{ "const": "event-consumer", "type": "string" },
|
|
2860
|
+
{ "const": "transfer", "type": "string" },
|
|
2861
|
+
],
|
|
2862
|
+
},
|
|
2831
2863
|
"required": { "type": "boolean" },
|
|
2832
2864
|
},
|
|
2833
|
-
"required": ["kind", "
|
|
2865
|
+
"required": ["kind", "alias", "required"],
|
|
2834
2866
|
"type": "object",
|
|
2835
|
-
},
|
|
2867
|
+
},
|
|
2868
|
+
"type": "array",
|
|
2869
|
+
},
|
|
2870
|
+
"surfaces": {
|
|
2871
|
+
"items": {
|
|
2836
2872
|
"properties": {
|
|
2837
|
-
"
|
|
2838
|
-
|
|
2839
|
-
|
|
2840
|
-
|
|
2841
|
-
"
|
|
2842
|
-
"
|
|
2843
|
-
"
|
|
2844
|
-
|
|
2845
|
-
{ "const": "kv", "type": "string" },
|
|
2846
|
-
{ "const": "store", "type": "string" },
|
|
2847
|
-
{ "const": "jobs", "type": "string" },
|
|
2848
|
-
{ "const": "event-consumer", "type": "string" },
|
|
2849
|
-
{ "const": "transfer", "type": "string" },
|
|
2850
|
-
],
|
|
2851
|
-
},
|
|
2852
|
-
"required": { "type": "boolean" },
|
|
2853
|
-
},
|
|
2854
|
-
"required": ["kind", "alias", "required"],
|
|
2855
|
-
"type": "object",
|
|
2873
|
+
"action": {
|
|
2874
|
+
"anyOf": [
|
|
2875
|
+
{ "const": "call", "type": "string" },
|
|
2876
|
+
{ "const": "publish", "type": "string" },
|
|
2877
|
+
{ "const": "subscribe", "type": "string" },
|
|
2878
|
+
{ "const": "observe", "type": "string" },
|
|
2879
|
+
{ "const": "cancel", "type": "string" },
|
|
2880
|
+
],
|
|
2856
2881
|
},
|
|
2882
|
+
"contractId": { "minLength": 1, "type": "string" },
|
|
2883
|
+
"kind": {
|
|
2884
|
+
"anyOf": [
|
|
2885
|
+
{ "const": "rpc", "type": "string" },
|
|
2886
|
+
{ "const": "operation", "type": "string" },
|
|
2887
|
+
{ "const": "event", "type": "string" },
|
|
2888
|
+
{ "const": "feed", "type": "string" },
|
|
2889
|
+
],
|
|
2890
|
+
},
|
|
2891
|
+
"name": { "minLength": 1, "type": "string" },
|
|
2892
|
+
"required": { "type": "boolean" },
|
|
2857
2893
|
},
|
|
2858
|
-
"required": ["kind", "
|
|
2894
|
+
"required": ["contractId", "kind", "name", "required"],
|
|
2859
2895
|
"type": "object",
|
|
2860
|
-
}
|
|
2896
|
+
},
|
|
2897
|
+
"type": "array",
|
|
2898
|
+
},
|
|
2861
2899
|
},
|
|
2862
|
-
"
|
|
2900
|
+
"required": [
|
|
2901
|
+
"contracts",
|
|
2902
|
+
"surfaces",
|
|
2903
|
+
"capabilities",
|
|
2904
|
+
"resources",
|
|
2905
|
+
],
|
|
2906
|
+
"type": "object",
|
|
2863
2907
|
},
|
|
2864
2908
|
"summary": { "type": "object" },
|
|
2865
2909
|
},
|
|
@@ -2929,83 +2973,87 @@ exports.AuthDeploymentAuthorityReconcileResponseSchema = {
|
|
|
2929
2973
|
"type": "array",
|
|
2930
2974
|
},
|
|
2931
2975
|
"needs": {
|
|
2932
|
-
"
|
|
2933
|
-
"
|
|
2976
|
+
"properties": {
|
|
2977
|
+
"capabilities": {
|
|
2978
|
+
"items": {
|
|
2934
2979
|
"properties": {
|
|
2935
|
-
"
|
|
2936
|
-
"kind": { "const": "contract", "type": "string" },
|
|
2980
|
+
"capability": { "minLength": 1, "type": "string" },
|
|
2937
2981
|
"required": { "type": "boolean" },
|
|
2938
2982
|
},
|
|
2939
|
-
"required": ["
|
|
2983
|
+
"required": ["capability", "required"],
|
|
2940
2984
|
"type": "object",
|
|
2941
|
-
},
|
|
2985
|
+
},
|
|
2986
|
+
"type": "array",
|
|
2987
|
+
},
|
|
2988
|
+
"contracts": {
|
|
2989
|
+
"items": {
|
|
2942
2990
|
"properties": {
|
|
2943
|
-
"
|
|
2991
|
+
"contractId": { "minLength": 1, "type": "string" },
|
|
2944
2992
|
"required": { "type": "boolean" },
|
|
2945
|
-
"surface": {
|
|
2946
|
-
"properties": {
|
|
2947
|
-
"action": {
|
|
2948
|
-
"anyOf": [
|
|
2949
|
-
{ "const": "call", "type": "string" },
|
|
2950
|
-
{ "const": "publish", "type": "string" },
|
|
2951
|
-
{ "const": "subscribe", "type": "string" },
|
|
2952
|
-
{ "const": "observe", "type": "string" },
|
|
2953
|
-
{ "const": "cancel", "type": "string" },
|
|
2954
|
-
],
|
|
2955
|
-
},
|
|
2956
|
-
"contractId": { "minLength": 1, "type": "string" },
|
|
2957
|
-
"kind": {
|
|
2958
|
-
"anyOf": [
|
|
2959
|
-
{ "const": "rpc", "type": "string" },
|
|
2960
|
-
{ "const": "operation", "type": "string" },
|
|
2961
|
-
{ "const": "event", "type": "string" },
|
|
2962
|
-
{ "const": "feed", "type": "string" },
|
|
2963
|
-
],
|
|
2964
|
-
},
|
|
2965
|
-
"name": { "minLength": 1, "type": "string" },
|
|
2966
|
-
},
|
|
2967
|
-
"required": ["contractId", "kind", "name"],
|
|
2968
|
-
"type": "object",
|
|
2969
|
-
},
|
|
2970
2993
|
},
|
|
2971
|
-
"required": ["
|
|
2994
|
+
"required": ["contractId", "required"],
|
|
2972
2995
|
"type": "object",
|
|
2973
|
-
},
|
|
2996
|
+
},
|
|
2997
|
+
"type": "array",
|
|
2998
|
+
},
|
|
2999
|
+
"resources": {
|
|
3000
|
+
"items": {
|
|
2974
3001
|
"properties": {
|
|
2975
|
-
"
|
|
2976
|
-
"
|
|
3002
|
+
"alias": { "minLength": 1, "type": "string" },
|
|
3003
|
+
"definition": { "type": "object" },
|
|
3004
|
+
"kind": {
|
|
3005
|
+
"anyOf": [
|
|
3006
|
+
{ "const": "kv", "type": "string" },
|
|
3007
|
+
{ "const": "store", "type": "string" },
|
|
3008
|
+
{ "const": "jobs", "type": "string" },
|
|
3009
|
+
{ "const": "event-consumer", "type": "string" },
|
|
3010
|
+
{ "const": "transfer", "type": "string" },
|
|
3011
|
+
],
|
|
3012
|
+
},
|
|
2977
3013
|
"required": { "type": "boolean" },
|
|
2978
3014
|
},
|
|
2979
|
-
"required": ["kind", "
|
|
3015
|
+
"required": ["kind", "alias", "required"],
|
|
2980
3016
|
"type": "object",
|
|
2981
|
-
},
|
|
3017
|
+
},
|
|
3018
|
+
"type": "array",
|
|
3019
|
+
},
|
|
3020
|
+
"surfaces": {
|
|
3021
|
+
"items": {
|
|
2982
3022
|
"properties": {
|
|
2983
|
-
"
|
|
2984
|
-
|
|
2985
|
-
|
|
2986
|
-
|
|
2987
|
-
"
|
|
2988
|
-
"
|
|
2989
|
-
"
|
|
2990
|
-
|
|
2991
|
-
|
|
2992
|
-
|
|
2993
|
-
|
|
2994
|
-
|
|
2995
|
-
|
|
2996
|
-
|
|
2997
|
-
},
|
|
2998
|
-
"
|
|
2999
|
-
|
|
3000
|
-
"required": ["kind", "alias", "required"],
|
|
3001
|
-
"type": "object",
|
|
3023
|
+
"action": {
|
|
3024
|
+
"anyOf": [
|
|
3025
|
+
{ "const": "call", "type": "string" },
|
|
3026
|
+
{ "const": "publish", "type": "string" },
|
|
3027
|
+
{ "const": "subscribe", "type": "string" },
|
|
3028
|
+
{ "const": "observe", "type": "string" },
|
|
3029
|
+
{ "const": "cancel", "type": "string" },
|
|
3030
|
+
],
|
|
3031
|
+
},
|
|
3032
|
+
"contractId": { "minLength": 1, "type": "string" },
|
|
3033
|
+
"kind": {
|
|
3034
|
+
"anyOf": [
|
|
3035
|
+
{ "const": "rpc", "type": "string" },
|
|
3036
|
+
{ "const": "operation", "type": "string" },
|
|
3037
|
+
{ "const": "event", "type": "string" },
|
|
3038
|
+
{ "const": "feed", "type": "string" },
|
|
3039
|
+
],
|
|
3002
3040
|
},
|
|
3041
|
+
"name": { "minLength": 1, "type": "string" },
|
|
3042
|
+
"required": { "type": "boolean" },
|
|
3003
3043
|
},
|
|
3004
|
-
"required": ["kind", "
|
|
3044
|
+
"required": ["contractId", "kind", "name", "required"],
|
|
3005
3045
|
"type": "object",
|
|
3006
|
-
}
|
|
3046
|
+
},
|
|
3047
|
+
"type": "array",
|
|
3048
|
+
},
|
|
3007
3049
|
},
|
|
3008
|
-
"
|
|
3050
|
+
"required": [
|
|
3051
|
+
"contracts",
|
|
3052
|
+
"surfaces",
|
|
3053
|
+
"capabilities",
|
|
3054
|
+
"resources",
|
|
3055
|
+
],
|
|
3056
|
+
"type": "object",
|
|
3009
3057
|
},
|
|
3010
3058
|
"resources": {
|
|
3011
3059
|
"items": {
|
|
@@ -3091,40 +3139,19 @@ exports.AuthDeploymentAuthorityReconcileResponseSchema = {
|
|
|
3091
3139
|
"desiredVersion": { "minLength": 1, "type": "string" },
|
|
3092
3140
|
"error": { "minLength": 1, "type": "string" },
|
|
3093
3141
|
"grants": {
|
|
3094
|
-
"
|
|
3095
|
-
"
|
|
3142
|
+
"properties": {
|
|
3143
|
+
"capabilities": {
|
|
3144
|
+
"items": {
|
|
3096
3145
|
"properties": {
|
|
3097
3146
|
"capability": { "minLength": 1, "type": "string" },
|
|
3098
|
-
"kind": { "const": "capability", "type": "string" },
|
|
3099
|
-
},
|
|
3100
|
-
"required": ["kind", "capability"],
|
|
3101
|
-
"type": "object",
|
|
3102
|
-
}, {
|
|
3103
|
-
"properties": {
|
|
3104
|
-
"action": {
|
|
3105
|
-
"anyOf": [
|
|
3106
|
-
{ "const": "call", "type": "string" },
|
|
3107
|
-
{ "const": "publish", "type": "string" },
|
|
3108
|
-
{ "const": "subscribe", "type": "string" },
|
|
3109
|
-
{ "const": "observe", "type": "string" },
|
|
3110
|
-
{ "const": "cancel", "type": "string" },
|
|
3111
|
-
],
|
|
3112
|
-
},
|
|
3113
|
-
"contractId": { "minLength": 1, "type": "string" },
|
|
3114
|
-
"kind": { "const": "surface", "type": "string" },
|
|
3115
|
-
"name": { "minLength": 1, "type": "string" },
|
|
3116
|
-
"surfaceKind": {
|
|
3117
|
-
"anyOf": [
|
|
3118
|
-
{ "const": "rpc", "type": "string" },
|
|
3119
|
-
{ "const": "operation", "type": "string" },
|
|
3120
|
-
{ "const": "event", "type": "string" },
|
|
3121
|
-
{ "const": "feed", "type": "string" },
|
|
3122
|
-
],
|
|
3123
|
-
},
|
|
3124
3147
|
},
|
|
3125
|
-
"required": ["
|
|
3148
|
+
"required": ["capability"],
|
|
3126
3149
|
"type": "object",
|
|
3127
|
-
},
|
|
3150
|
+
},
|
|
3151
|
+
"type": "array",
|
|
3152
|
+
},
|
|
3153
|
+
"nats": {
|
|
3154
|
+
"items": {
|
|
3128
3155
|
"properties": {
|
|
3129
3156
|
"direction": {
|
|
3130
3157
|
"anyOf": [{ "const": "publish", "type": "string" }, {
|
|
@@ -3141,7 +3168,6 @@ exports.AuthDeploymentAuthorityReconcileResponseSchema = {
|
|
|
3141
3168
|
{ "const": "transfer", "type": "string" },
|
|
3142
3169
|
],
|
|
3143
3170
|
},
|
|
3144
|
-
"kind": { "const": "nats", "type": "string" },
|
|
3145
3171
|
"requiredCapabilities": {
|
|
3146
3172
|
"items": { "minLength": 1, "type": "string" },
|
|
3147
3173
|
"type": "array",
|
|
@@ -3174,16 +3200,46 @@ exports.AuthDeploymentAuthorityReconcileResponseSchema = {
|
|
|
3174
3200
|
},
|
|
3175
3201
|
},
|
|
3176
3202
|
"required": [
|
|
3177
|
-
"kind",
|
|
3178
3203
|
"direction",
|
|
3179
3204
|
"subject",
|
|
3180
3205
|
"requiredCapabilities",
|
|
3181
3206
|
"grantSource",
|
|
3182
3207
|
],
|
|
3183
3208
|
"type": "object",
|
|
3184
|
-
}
|
|
3209
|
+
},
|
|
3210
|
+
"type": "array",
|
|
3211
|
+
},
|
|
3212
|
+
"surfaces": {
|
|
3213
|
+
"items": {
|
|
3214
|
+
"properties": {
|
|
3215
|
+
"action": {
|
|
3216
|
+
"anyOf": [
|
|
3217
|
+
{ "const": "call", "type": "string" },
|
|
3218
|
+
{ "const": "publish", "type": "string" },
|
|
3219
|
+
{ "const": "subscribe", "type": "string" },
|
|
3220
|
+
{ "const": "observe", "type": "string" },
|
|
3221
|
+
{ "const": "cancel", "type": "string" },
|
|
3222
|
+
],
|
|
3223
|
+
},
|
|
3224
|
+
"contractId": { "minLength": 1, "type": "string" },
|
|
3225
|
+
"name": { "minLength": 1, "type": "string" },
|
|
3226
|
+
"surfaceKind": {
|
|
3227
|
+
"anyOf": [
|
|
3228
|
+
{ "const": "rpc", "type": "string" },
|
|
3229
|
+
{ "const": "operation", "type": "string" },
|
|
3230
|
+
{ "const": "event", "type": "string" },
|
|
3231
|
+
{ "const": "feed", "type": "string" },
|
|
3232
|
+
],
|
|
3233
|
+
},
|
|
3234
|
+
},
|
|
3235
|
+
"required": ["contractId", "surfaceKind", "name"],
|
|
3236
|
+
"type": "object",
|
|
3237
|
+
},
|
|
3238
|
+
"type": "array",
|
|
3239
|
+
},
|
|
3185
3240
|
},
|
|
3186
|
-
"
|
|
3241
|
+
"required": ["capabilities", "surfaces", "nats"],
|
|
3242
|
+
"type": "object",
|
|
3187
3243
|
},
|
|
3188
3244
|
"reconciledAt": {
|
|
3189
3245
|
"anyOf": [{ "format": "date-time", "type": "string" }, {
|