@qlever-llc/trellis 0.10.16 → 0.10.18-rc.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (60) hide show
  1. package/esm/auth/mod.d.ts +1 -1
  2. package/esm/auth/mod.d.ts.map +1 -1
  3. package/esm/auth/mod.js +1 -1
  4. package/esm/auth/protocol.d.ts +361 -398
  5. package/esm/auth/protocol.d.ts.map +1 -1
  6. package/esm/auth/protocol.js +35 -33
  7. package/esm/generated-sdk/auth/api.d.ts +4 -1
  8. package/esm/generated-sdk/auth/api.d.ts.map +1 -1
  9. package/esm/generated-sdk/auth/api.js +6 -1
  10. package/esm/generated-sdk/auth/client.d.ts +15 -0
  11. package/esm/generated-sdk/auth/client.d.ts.map +1 -1
  12. package/esm/generated-sdk/auth/contract.d.ts +1 -1
  13. package/esm/generated-sdk/auth/contract.d.ts.map +1 -1
  14. package/esm/generated-sdk/auth/contract.js +1231 -1077
  15. package/esm/generated-sdk/auth/schemas.d.ts +1428 -1578
  16. package/esm/generated-sdk/auth/schemas.d.ts.map +1 -1
  17. package/esm/generated-sdk/auth/schemas.js +725 -669
  18. package/esm/generated-sdk/auth/types.d.ts +239 -281
  19. package/esm/generated-sdk/auth/types.d.ts.map +1 -1
  20. package/esm/generated-sdk/auth/types.js +1 -1
  21. package/esm/generated-sdk/trellis-core/api.d.ts +4 -1
  22. package/esm/generated-sdk/trellis-core/api.d.ts.map +1 -1
  23. package/esm/generated-sdk/trellis-core/api.js +6 -1
  24. package/esm/generated-sdk/trellis-core/client.d.ts +28 -3
  25. package/esm/generated-sdk/trellis-core/client.d.ts.map +1 -1
  26. package/package.json +3 -2
  27. package/script/auth/mod.d.ts +1 -1
  28. package/script/auth/mod.d.ts.map +1 -1
  29. package/script/auth/mod.js +12 -3
  30. package/script/auth/protocol.d.ts +361 -398
  31. package/script/auth/protocol.d.ts.map +1 -1
  32. package/script/auth/protocol.js +40 -37
  33. package/script/generated-sdk/auth/api.d.ts +4 -1
  34. package/script/generated-sdk/auth/api.d.ts.map +1 -1
  35. package/script/generated-sdk/auth/api.js +6 -1
  36. package/script/generated-sdk/auth/client.d.ts +15 -0
  37. package/script/generated-sdk/auth/client.d.ts.map +1 -1
  38. package/script/generated-sdk/auth/contract.d.ts +1 -1
  39. package/script/generated-sdk/auth/contract.d.ts.map +1 -1
  40. package/script/generated-sdk/auth/contract.js +1231 -1077
  41. package/script/generated-sdk/auth/schemas.d.ts +1428 -1578
  42. package/script/generated-sdk/auth/schemas.d.ts.map +1 -1
  43. package/script/generated-sdk/auth/schemas.js +725 -669
  44. package/script/generated-sdk/auth/types.d.ts +239 -281
  45. package/script/generated-sdk/auth/types.d.ts.map +1 -1
  46. package/script/generated-sdk/auth/types.js +1 -1
  47. package/script/generated-sdk/trellis-core/api.d.ts +4 -1
  48. package/script/generated-sdk/trellis-core/api.d.ts.map +1 -1
  49. package/script/generated-sdk/trellis-core/api.js +6 -1
  50. package/script/generated-sdk/trellis-core/client.d.ts +28 -3
  51. package/script/generated-sdk/trellis-core/client.d.ts.map +1 -1
  52. package/src/auth/mod.ts +21 -2
  53. package/src/auth/protocol.ts +72 -37
  54. package/src/sdk/_generated/auth/api.ts +9 -2
  55. package/src/sdk/_generated/auth/client.ts +37 -0
  56. package/src/sdk/_generated/auth/contract.ts +1496 -1342
  57. package/src/sdk/_generated/auth/schemas.ts +919 -863
  58. package/src/sdk/_generated/auth/types.ts +242 -304
  59. package/src/sdk/_generated/core/api.ts +9 -2
  60. package/src/sdk/_generated/core/client.ts +41 -2
@@ -825,147 +825,132 @@ export declare const AuthDeploymentAuthorityAcceptResponseSchema: {
825
825
  readonly type: "array";
826
826
  };
827
827
  readonly needs: {
828
- readonly items: {
829
- readonly anyOf: readonly [{
830
- readonly properties: {
831
- readonly contractId: {
832
- readonly minLength: 1;
833
- readonly type: "string";
834
- };
835
- readonly kind: {
836
- readonly const: "contract";
837
- readonly type: "string";
838
- };
839
- readonly required: {
840
- readonly type: "boolean";
828
+ readonly properties: {
829
+ readonly capabilities: {
830
+ readonly items: {
831
+ readonly properties: {
832
+ readonly capability: {
833
+ readonly minLength: 1;
834
+ readonly type: "string";
835
+ };
836
+ readonly required: {
837
+ readonly type: "boolean";
838
+ };
841
839
  };
840
+ readonly required: readonly ["capability", "required"];
841
+ readonly type: "object";
842
842
  };
843
- readonly required: readonly ["kind", "contractId", "required"];
844
- readonly type: "object";
845
- }, {
846
- readonly properties: {
847
- readonly kind: {
848
- readonly const: "surface";
849
- readonly type: "string";
850
- };
851
- readonly required: {
852
- readonly type: "boolean";
843
+ readonly type: "array";
844
+ };
845
+ readonly contracts: {
846
+ readonly items: {
847
+ readonly properties: {
848
+ readonly contractId: {
849
+ readonly minLength: 1;
850
+ readonly type: "string";
851
+ };
852
+ readonly required: {
853
+ readonly type: "boolean";
854
+ };
853
855
  };
854
- readonly surface: {
855
- readonly properties: {
856
- readonly action: {
857
- readonly anyOf: readonly [{
858
- readonly const: "call";
859
- readonly type: "string";
860
- }, {
861
- readonly const: "publish";
862
- readonly type: "string";
863
- }, {
864
- readonly const: "subscribe";
865
- readonly type: "string";
866
- }, {
867
- readonly const: "observe";
868
- readonly type: "string";
869
- }, {
870
- readonly const: "cancel";
871
- readonly type: "string";
872
- }];
873
- };
874
- readonly contractId: {
875
- readonly minLength: 1;
856
+ readonly required: readonly ["contractId", "required"];
857
+ readonly type: "object";
858
+ };
859
+ readonly type: "array";
860
+ };
861
+ readonly resources: {
862
+ readonly items: {
863
+ readonly properties: {
864
+ readonly alias: {
865
+ readonly minLength: 1;
866
+ readonly type: "string";
867
+ };
868
+ readonly definition: {
869
+ readonly type: "object";
870
+ };
871
+ readonly kind: {
872
+ readonly anyOf: readonly [{
873
+ readonly const: "kv";
876
874
  readonly type: "string";
877
- };
878
- readonly kind: {
879
- readonly anyOf: readonly [{
880
- readonly const: "rpc";
881
- readonly type: "string";
882
- }, {
883
- readonly const: "operation";
884
- readonly type: "string";
885
- }, {
886
- readonly const: "event";
887
- readonly type: "string";
888
- }, {
889
- readonly const: "feed";
890
- readonly type: "string";
891
- }];
892
- };
893
- readonly name: {
894
- readonly minLength: 1;
875
+ }, {
876
+ readonly const: "store";
895
877
  readonly type: "string";
896
- };
878
+ }, {
879
+ readonly const: "jobs";
880
+ readonly type: "string";
881
+ }, {
882
+ readonly const: "event-consumer";
883
+ readonly type: "string";
884
+ }, {
885
+ readonly const: "transfer";
886
+ readonly type: "string";
887
+ }];
888
+ };
889
+ readonly required: {
890
+ readonly type: "boolean";
897
891
  };
898
- readonly required: readonly ["contractId", "kind", "name"];
899
- readonly type: "object";
900
- };
901
- };
902
- readonly required: readonly ["kind", "surface", "required"];
903
- readonly type: "object";
904
- }, {
905
- readonly properties: {
906
- readonly capability: {
907
- readonly minLength: 1;
908
- readonly type: "string";
909
- };
910
- readonly kind: {
911
- readonly const: "capability";
912
- readonly type: "string";
913
- };
914
- readonly required: {
915
- readonly type: "boolean";
916
892
  };
893
+ readonly required: readonly ["kind", "alias", "required"];
894
+ readonly type: "object";
917
895
  };
918
- readonly required: readonly ["kind", "capability", "required"];
919
- readonly type: "object";
920
- }, {
921
- readonly properties: {
922
- readonly kind: {
923
- readonly const: "resource";
924
- readonly type: "string";
925
- };
926
- readonly required: {
927
- readonly type: "boolean";
928
- };
929
- readonly resource: {
930
- readonly properties: {
931
- readonly alias: {
932
- readonly minLength: 1;
896
+ readonly type: "array";
897
+ };
898
+ readonly surfaces: {
899
+ readonly items: {
900
+ readonly properties: {
901
+ readonly action: {
902
+ readonly anyOf: readonly [{
903
+ readonly const: "call";
933
904
  readonly type: "string";
934
- };
935
- readonly definition: {
936
- readonly type: "object";
937
- };
938
- readonly kind: {
939
- readonly anyOf: readonly [{
940
- readonly const: "kv";
941
- readonly type: "string";
942
- }, {
943
- readonly const: "store";
944
- readonly type: "string";
945
- }, {
946
- readonly const: "jobs";
947
- readonly type: "string";
948
- }, {
949
- readonly const: "event-consumer";
950
- readonly type: "string";
951
- }, {
952
- readonly const: "transfer";
953
- readonly type: "string";
954
- }];
955
- };
956
- readonly required: {
957
- readonly type: "boolean";
958
- };
905
+ }, {
906
+ readonly const: "publish";
907
+ readonly type: "string";
908
+ }, {
909
+ readonly const: "subscribe";
910
+ readonly type: "string";
911
+ }, {
912
+ readonly const: "observe";
913
+ readonly type: "string";
914
+ }, {
915
+ readonly const: "cancel";
916
+ readonly type: "string";
917
+ }];
918
+ };
919
+ readonly contractId: {
920
+ readonly minLength: 1;
921
+ readonly type: "string";
922
+ };
923
+ readonly kind: {
924
+ readonly anyOf: readonly [{
925
+ readonly const: "rpc";
926
+ readonly type: "string";
927
+ }, {
928
+ readonly const: "operation";
929
+ readonly type: "string";
930
+ }, {
931
+ readonly const: "event";
932
+ readonly type: "string";
933
+ }, {
934
+ readonly const: "feed";
935
+ readonly type: "string";
936
+ }];
937
+ };
938
+ readonly name: {
939
+ readonly minLength: 1;
940
+ readonly type: "string";
941
+ };
942
+ readonly required: {
943
+ readonly type: "boolean";
959
944
  };
960
- readonly required: readonly ["kind", "alias", "required"];
961
- readonly type: "object";
962
945
  };
946
+ readonly required: readonly ["contractId", "kind", "name", "required"];
947
+ readonly type: "object";
963
948
  };
964
- readonly required: readonly ["kind", "resource", "required"];
965
- readonly type: "object";
966
- }];
949
+ readonly type: "array";
950
+ };
967
951
  };
968
- readonly type: "array";
952
+ readonly required: readonly ["contracts", "surfaces", "capabilities", "resources"];
953
+ readonly type: "object";
969
954
  };
970
955
  readonly resources: {
971
956
  readonly items: {
@@ -1144,147 +1129,132 @@ export declare const AuthDeploymentAuthorityGetResponseSchema: {
1144
1129
  readonly type: "array";
1145
1130
  };
1146
1131
  readonly needs: {
1147
- readonly items: {
1148
- readonly anyOf: readonly [{
1149
- readonly properties: {
1150
- readonly contractId: {
1151
- readonly minLength: 1;
1152
- readonly type: "string";
1153
- };
1154
- readonly kind: {
1155
- readonly const: "contract";
1156
- readonly type: "string";
1157
- };
1158
- readonly required: {
1159
- readonly type: "boolean";
1132
+ readonly properties: {
1133
+ readonly capabilities: {
1134
+ readonly items: {
1135
+ readonly properties: {
1136
+ readonly capability: {
1137
+ readonly minLength: 1;
1138
+ readonly type: "string";
1139
+ };
1140
+ readonly required: {
1141
+ readonly type: "boolean";
1142
+ };
1160
1143
  };
1144
+ readonly required: readonly ["capability", "required"];
1145
+ readonly type: "object";
1161
1146
  };
1162
- readonly required: readonly ["kind", "contractId", "required"];
1163
- readonly type: "object";
1164
- }, {
1165
- readonly properties: {
1166
- readonly kind: {
1167
- readonly const: "surface";
1168
- readonly type: "string";
1147
+ readonly type: "array";
1148
+ };
1149
+ readonly contracts: {
1150
+ readonly items: {
1151
+ readonly properties: {
1152
+ readonly contractId: {
1153
+ readonly minLength: 1;
1154
+ readonly type: "string";
1155
+ };
1156
+ readonly required: {
1157
+ readonly type: "boolean";
1158
+ };
1169
1159
  };
1170
- readonly required: {
1171
- readonly type: "boolean";
1172
- };
1173
- readonly surface: {
1174
- readonly properties: {
1175
- readonly action: {
1176
- readonly anyOf: readonly [{
1177
- readonly const: "call";
1178
- readonly type: "string";
1179
- }, {
1180
- readonly const: "publish";
1181
- readonly type: "string";
1182
- }, {
1183
- readonly const: "subscribe";
1184
- readonly type: "string";
1185
- }, {
1186
- readonly const: "observe";
1187
- readonly type: "string";
1188
- }, {
1189
- readonly const: "cancel";
1190
- readonly type: "string";
1191
- }];
1192
- };
1193
- readonly contractId: {
1194
- readonly minLength: 1;
1160
+ readonly required: readonly ["contractId", "required"];
1161
+ readonly type: "object";
1162
+ };
1163
+ readonly type: "array";
1164
+ };
1165
+ readonly resources: {
1166
+ readonly items: {
1167
+ readonly properties: {
1168
+ readonly alias: {
1169
+ readonly minLength: 1;
1170
+ readonly type: "string";
1171
+ };
1172
+ readonly definition: {
1173
+ readonly type: "object";
1174
+ };
1175
+ readonly kind: {
1176
+ readonly anyOf: readonly [{
1177
+ readonly const: "kv";
1195
1178
  readonly type: "string";
1196
- };
1197
- readonly kind: {
1198
- readonly anyOf: readonly [{
1199
- readonly const: "rpc";
1200
- readonly type: "string";
1201
- }, {
1202
- readonly const: "operation";
1203
- readonly type: "string";
1204
- }, {
1205
- readonly const: "event";
1206
- readonly type: "string";
1207
- }, {
1208
- readonly const: "feed";
1209
- readonly type: "string";
1210
- }];
1211
- };
1212
- readonly name: {
1213
- readonly minLength: 1;
1179
+ }, {
1180
+ readonly const: "store";
1214
1181
  readonly type: "string";
1215
- };
1182
+ }, {
1183
+ readonly const: "jobs";
1184
+ readonly type: "string";
1185
+ }, {
1186
+ readonly const: "event-consumer";
1187
+ readonly type: "string";
1188
+ }, {
1189
+ readonly const: "transfer";
1190
+ readonly type: "string";
1191
+ }];
1192
+ };
1193
+ readonly required: {
1194
+ readonly type: "boolean";
1216
1195
  };
1217
- readonly required: readonly ["contractId", "kind", "name"];
1218
- readonly type: "object";
1219
- };
1220
- };
1221
- readonly required: readonly ["kind", "surface", "required"];
1222
- readonly type: "object";
1223
- }, {
1224
- readonly properties: {
1225
- readonly capability: {
1226
- readonly minLength: 1;
1227
- readonly type: "string";
1228
- };
1229
- readonly kind: {
1230
- readonly const: "capability";
1231
- readonly type: "string";
1232
- };
1233
- readonly required: {
1234
- readonly type: "boolean";
1235
1196
  };
1197
+ readonly required: readonly ["kind", "alias", "required"];
1198
+ readonly type: "object";
1236
1199
  };
1237
- readonly required: readonly ["kind", "capability", "required"];
1238
- readonly type: "object";
1239
- }, {
1240
- readonly properties: {
1241
- readonly kind: {
1242
- readonly const: "resource";
1243
- readonly type: "string";
1244
- };
1245
- readonly required: {
1246
- readonly type: "boolean";
1247
- };
1248
- readonly resource: {
1249
- readonly properties: {
1250
- readonly alias: {
1251
- readonly minLength: 1;
1200
+ readonly type: "array";
1201
+ };
1202
+ readonly surfaces: {
1203
+ readonly items: {
1204
+ readonly properties: {
1205
+ readonly action: {
1206
+ readonly anyOf: readonly [{
1207
+ readonly const: "call";
1252
1208
  readonly type: "string";
1253
- };
1254
- readonly definition: {
1255
- readonly type: "object";
1256
- };
1257
- readonly kind: {
1258
- readonly anyOf: readonly [{
1259
- readonly const: "kv";
1260
- readonly type: "string";
1261
- }, {
1262
- readonly const: "store";
1263
- readonly type: "string";
1264
- }, {
1265
- readonly const: "jobs";
1266
- readonly type: "string";
1267
- }, {
1268
- readonly const: "event-consumer";
1269
- readonly type: "string";
1270
- }, {
1271
- readonly const: "transfer";
1272
- readonly type: "string";
1273
- }];
1274
- };
1275
- readonly required: {
1276
- readonly type: "boolean";
1277
- };
1209
+ }, {
1210
+ readonly const: "publish";
1211
+ readonly type: "string";
1212
+ }, {
1213
+ readonly const: "subscribe";
1214
+ readonly type: "string";
1215
+ }, {
1216
+ readonly const: "observe";
1217
+ readonly type: "string";
1218
+ }, {
1219
+ readonly const: "cancel";
1220
+ readonly type: "string";
1221
+ }];
1222
+ };
1223
+ readonly contractId: {
1224
+ readonly minLength: 1;
1225
+ readonly type: "string";
1226
+ };
1227
+ readonly kind: {
1228
+ readonly anyOf: readonly [{
1229
+ readonly const: "rpc";
1230
+ readonly type: "string";
1231
+ }, {
1232
+ readonly const: "operation";
1233
+ readonly type: "string";
1234
+ }, {
1235
+ readonly const: "event";
1236
+ readonly type: "string";
1237
+ }, {
1238
+ readonly const: "feed";
1239
+ readonly type: "string";
1240
+ }];
1241
+ };
1242
+ readonly name: {
1243
+ readonly minLength: 1;
1244
+ readonly type: "string";
1245
+ };
1246
+ readonly required: {
1247
+ readonly type: "boolean";
1278
1248
  };
1279
- readonly required: readonly ["kind", "alias", "required"];
1280
- readonly type: "object";
1281
1249
  };
1250
+ readonly required: readonly ["contractId", "kind", "name", "required"];
1251
+ readonly type: "object";
1282
1252
  };
1283
- readonly required: readonly ["kind", "resource", "required"];
1284
- readonly type: "object";
1285
- }];
1253
+ readonly type: "array";
1254
+ };
1286
1255
  };
1287
- readonly type: "array";
1256
+ readonly required: readonly ["contracts", "surfaces", "capabilities", "resources"];
1257
+ readonly type: "object";
1288
1258
  };
1289
1259
  readonly resources: {
1290
1260
  readonly items: {
@@ -1575,167 +1545,167 @@ export declare const AuthDeploymentAuthorityGetResponseSchema: {
1575
1545
  readonly type: "string";
1576
1546
  };
1577
1547
  readonly grants: {
1578
- readonly items: {
1579
- readonly anyOf: readonly [{
1580
- readonly properties: {
1581
- readonly capability: {
1582
- readonly minLength: 1;
1583
- readonly type: "string";
1584
- };
1585
- readonly kind: {
1586
- readonly const: "capability";
1587
- readonly type: "string";
1588
- };
1589
- };
1590
- readonly required: readonly ["kind", "capability"];
1591
- readonly type: "object";
1592
- }, {
1593
- readonly properties: {
1594
- readonly action: {
1595
- readonly anyOf: readonly [{
1596
- readonly const: "call";
1597
- readonly type: "string";
1598
- }, {
1599
- readonly const: "publish";
1600
- readonly type: "string";
1601
- }, {
1602
- readonly const: "subscribe";
1603
- readonly type: "string";
1604
- }, {
1605
- readonly const: "observe";
1606
- readonly type: "string";
1607
- }, {
1608
- readonly const: "cancel";
1609
- readonly type: "string";
1610
- }];
1611
- };
1612
- readonly contractId: {
1613
- readonly minLength: 1;
1614
- readonly type: "string";
1615
- };
1616
- readonly kind: {
1617
- readonly const: "surface";
1618
- readonly type: "string";
1619
- };
1620
- readonly name: {
1621
- readonly minLength: 1;
1622
- readonly type: "string";
1623
- };
1624
- readonly surfaceKind: {
1625
- readonly anyOf: readonly [{
1626
- readonly const: "rpc";
1627
- readonly type: "string";
1628
- }, {
1629
- readonly const: "operation";
1630
- readonly type: "string";
1631
- }, {
1632
- readonly const: "event";
1633
- readonly type: "string";
1634
- }, {
1635
- readonly const: "feed";
1548
+ readonly properties: {
1549
+ readonly capabilities: {
1550
+ readonly items: {
1551
+ readonly properties: {
1552
+ readonly capability: {
1553
+ readonly minLength: 1;
1636
1554
  readonly type: "string";
1637
- }];
1555
+ };
1638
1556
  };
1557
+ readonly required: readonly ["capability"];
1558
+ readonly type: "object";
1639
1559
  };
1640
- readonly required: readonly ["kind", "contractId", "surfaceKind", "name"];
1641
- readonly type: "object";
1642
- }, {
1643
- readonly properties: {
1644
- readonly direction: {
1645
- readonly anyOf: readonly [{
1646
- readonly const: "publish";
1647
- readonly type: "string";
1648
- }, {
1649
- readonly const: "subscribe";
1650
- readonly type: "string";
1651
- }];
1652
- };
1653
- readonly grantSource: {
1654
- readonly anyOf: readonly [{
1655
- readonly const: "owned-surface";
1656
- readonly type: "string";
1657
- }, {
1658
- readonly const: "used-surface";
1659
- readonly type: "string";
1660
- }, {
1661
- readonly const: "resource-binding";
1662
- readonly type: "string";
1663
- }, {
1664
- readonly const: "platform-service";
1665
- readonly type: "string";
1666
- }, {
1667
- readonly const: "transfer";
1668
- readonly type: "string";
1669
- }];
1670
- };
1671
- readonly kind: {
1672
- readonly const: "nats";
1673
- readonly type: "string";
1674
- };
1675
- readonly requiredCapabilities: {
1676
- readonly items: {
1677
- readonly minLength: 1;
1678
- readonly type: "string";
1560
+ readonly type: "array";
1561
+ };
1562
+ readonly nats: {
1563
+ readonly items: {
1564
+ readonly properties: {
1565
+ readonly direction: {
1566
+ readonly anyOf: readonly [{
1567
+ readonly const: "publish";
1568
+ readonly type: "string";
1569
+ }, {
1570
+ readonly const: "subscribe";
1571
+ readonly type: "string";
1572
+ }];
1679
1573
  };
1680
- readonly type: "array";
1681
- };
1682
- readonly subject: {
1683
- readonly minLength: 1;
1684
- readonly type: "string";
1685
- };
1686
- readonly surface: {
1687
- readonly properties: {
1688
- readonly action: {
1689
- readonly anyOf: readonly [{
1690
- readonly const: "call";
1691
- readonly type: "string";
1692
- }, {
1693
- readonly const: "publish";
1694
- readonly type: "string";
1695
- }, {
1696
- readonly const: "subscribe";
1697
- readonly type: "string";
1698
- }, {
1699
- readonly const: "observe";
1700
- readonly type: "string";
1701
- }, {
1702
- readonly const: "cancel";
1703
- readonly type: "string";
1704
- }];
1705
- };
1706
- readonly contractId: {
1574
+ readonly grantSource: {
1575
+ readonly anyOf: readonly [{
1576
+ readonly const: "owned-surface";
1577
+ readonly type: "string";
1578
+ }, {
1579
+ readonly const: "used-surface";
1580
+ readonly type: "string";
1581
+ }, {
1582
+ readonly const: "resource-binding";
1583
+ readonly type: "string";
1584
+ }, {
1585
+ readonly const: "platform-service";
1586
+ readonly type: "string";
1587
+ }, {
1588
+ readonly const: "transfer";
1589
+ readonly type: "string";
1590
+ }];
1591
+ };
1592
+ readonly requiredCapabilities: {
1593
+ readonly items: {
1707
1594
  readonly minLength: 1;
1708
1595
  readonly type: "string";
1709
1596
  };
1710
- readonly kind: {
1711
- readonly anyOf: readonly [{
1712
- readonly const: "rpc";
1713
- readonly type: "string";
1714
- }, {
1715
- readonly const: "operation";
1716
- readonly type: "string";
1717
- }, {
1718
- readonly const: "event";
1597
+ readonly type: "array";
1598
+ };
1599
+ readonly subject: {
1600
+ readonly minLength: 1;
1601
+ readonly type: "string";
1602
+ };
1603
+ readonly surface: {
1604
+ readonly properties: {
1605
+ readonly action: {
1606
+ readonly anyOf: readonly [{
1607
+ readonly const: "call";
1608
+ readonly type: "string";
1609
+ }, {
1610
+ readonly const: "publish";
1611
+ readonly type: "string";
1612
+ }, {
1613
+ readonly const: "subscribe";
1614
+ readonly type: "string";
1615
+ }, {
1616
+ readonly const: "observe";
1617
+ readonly type: "string";
1618
+ }, {
1619
+ readonly const: "cancel";
1620
+ readonly type: "string";
1621
+ }];
1622
+ };
1623
+ readonly contractId: {
1624
+ readonly minLength: 1;
1719
1625
  readonly type: "string";
1720
- }, {
1721
- readonly const: "feed";
1626
+ };
1627
+ readonly kind: {
1628
+ readonly anyOf: readonly [{
1629
+ readonly const: "rpc";
1630
+ readonly type: "string";
1631
+ }, {
1632
+ readonly const: "operation";
1633
+ readonly type: "string";
1634
+ }, {
1635
+ readonly const: "event";
1636
+ readonly type: "string";
1637
+ }, {
1638
+ readonly const: "feed";
1639
+ readonly type: "string";
1640
+ }];
1641
+ };
1642
+ readonly name: {
1643
+ readonly minLength: 1;
1722
1644
  readonly type: "string";
1723
- }];
1645
+ };
1724
1646
  };
1725
- readonly name: {
1726
- readonly minLength: 1;
1647
+ readonly required: readonly ["contractId", "kind", "name"];
1648
+ readonly type: "object";
1649
+ };
1650
+ };
1651
+ readonly required: readonly ["direction", "subject", "requiredCapabilities", "grantSource"];
1652
+ readonly type: "object";
1653
+ };
1654
+ readonly type: "array";
1655
+ };
1656
+ readonly surfaces: {
1657
+ readonly items: {
1658
+ readonly properties: {
1659
+ readonly action: {
1660
+ readonly anyOf: readonly [{
1661
+ readonly const: "call";
1727
1662
  readonly type: "string";
1728
- };
1663
+ }, {
1664
+ readonly const: "publish";
1665
+ readonly type: "string";
1666
+ }, {
1667
+ readonly const: "subscribe";
1668
+ readonly type: "string";
1669
+ }, {
1670
+ readonly const: "observe";
1671
+ readonly type: "string";
1672
+ }, {
1673
+ readonly const: "cancel";
1674
+ readonly type: "string";
1675
+ }];
1676
+ };
1677
+ readonly contractId: {
1678
+ readonly minLength: 1;
1679
+ readonly type: "string";
1680
+ };
1681
+ readonly name: {
1682
+ readonly minLength: 1;
1683
+ readonly type: "string";
1684
+ };
1685
+ readonly surfaceKind: {
1686
+ readonly anyOf: readonly [{
1687
+ readonly const: "rpc";
1688
+ readonly type: "string";
1689
+ }, {
1690
+ readonly const: "operation";
1691
+ readonly type: "string";
1692
+ }, {
1693
+ readonly const: "event";
1694
+ readonly type: "string";
1695
+ }, {
1696
+ readonly const: "feed";
1697
+ readonly type: "string";
1698
+ }];
1729
1699
  };
1730
- readonly required: readonly ["contractId", "kind", "name"];
1731
- readonly type: "object";
1732
1700
  };
1701
+ readonly required: readonly ["contractId", "surfaceKind", "name"];
1702
+ readonly type: "object";
1733
1703
  };
1734
- readonly required: readonly ["kind", "direction", "subject", "requiredCapabilities", "grantSource"];
1735
- readonly type: "object";
1736
- }];
1704
+ readonly type: "array";
1705
+ };
1737
1706
  };
1738
- readonly type: "array";
1707
+ readonly required: readonly ["capabilities", "surfaces", "nats"];
1708
+ readonly type: "object";
1739
1709
  };
1740
1710
  readonly reconciledAt: {
1741
1711
  readonly anyOf: readonly [{
@@ -2579,147 +2549,132 @@ export declare const AuthDeploymentAuthorityListResponseSchema: {
2579
2549
  readonly type: "array";
2580
2550
  };
2581
2551
  readonly needs: {
2582
- readonly items: {
2583
- readonly anyOf: readonly [{
2584
- readonly properties: {
2585
- readonly contractId: {
2586
- readonly minLength: 1;
2587
- readonly type: "string";
2588
- };
2589
- readonly kind: {
2590
- readonly const: "contract";
2591
- readonly type: "string";
2592
- };
2593
- readonly required: {
2594
- readonly type: "boolean";
2552
+ readonly properties: {
2553
+ readonly capabilities: {
2554
+ readonly items: {
2555
+ readonly properties: {
2556
+ readonly capability: {
2557
+ readonly minLength: 1;
2558
+ readonly type: "string";
2559
+ };
2560
+ readonly required: {
2561
+ readonly type: "boolean";
2562
+ };
2595
2563
  };
2564
+ readonly required: readonly ["capability", "required"];
2565
+ readonly type: "object";
2596
2566
  };
2597
- readonly required: readonly ["kind", "contractId", "required"];
2598
- readonly type: "object";
2599
- }, {
2600
- readonly properties: {
2601
- readonly kind: {
2602
- readonly const: "surface";
2603
- readonly type: "string";
2604
- };
2605
- readonly required: {
2606
- readonly type: "boolean";
2567
+ readonly type: "array";
2568
+ };
2569
+ readonly contracts: {
2570
+ readonly items: {
2571
+ readonly properties: {
2572
+ readonly contractId: {
2573
+ readonly minLength: 1;
2574
+ readonly type: "string";
2575
+ };
2576
+ readonly required: {
2577
+ readonly type: "boolean";
2578
+ };
2607
2579
  };
2608
- readonly surface: {
2609
- readonly properties: {
2610
- readonly action: {
2611
- readonly anyOf: readonly [{
2612
- readonly const: "call";
2613
- readonly type: "string";
2614
- }, {
2615
- readonly const: "publish";
2616
- readonly type: "string";
2617
- }, {
2618
- readonly const: "subscribe";
2619
- readonly type: "string";
2620
- }, {
2621
- readonly const: "observe";
2622
- readonly type: "string";
2623
- }, {
2624
- readonly const: "cancel";
2625
- readonly type: "string";
2626
- }];
2627
- };
2628
- readonly contractId: {
2629
- readonly minLength: 1;
2580
+ readonly required: readonly ["contractId", "required"];
2581
+ readonly type: "object";
2582
+ };
2583
+ readonly type: "array";
2584
+ };
2585
+ readonly resources: {
2586
+ readonly items: {
2587
+ readonly properties: {
2588
+ readonly alias: {
2589
+ readonly minLength: 1;
2590
+ readonly type: "string";
2591
+ };
2592
+ readonly definition: {
2593
+ readonly type: "object";
2594
+ };
2595
+ readonly kind: {
2596
+ readonly anyOf: readonly [{
2597
+ readonly const: "kv";
2630
2598
  readonly type: "string";
2631
- };
2632
- readonly kind: {
2633
- readonly anyOf: readonly [{
2634
- readonly const: "rpc";
2635
- readonly type: "string";
2636
- }, {
2637
- readonly const: "operation";
2638
- readonly type: "string";
2639
- }, {
2640
- readonly const: "event";
2641
- readonly type: "string";
2642
- }, {
2643
- readonly const: "feed";
2644
- readonly type: "string";
2645
- }];
2646
- };
2647
- readonly name: {
2648
- readonly minLength: 1;
2599
+ }, {
2600
+ readonly const: "store";
2649
2601
  readonly type: "string";
2650
- };
2602
+ }, {
2603
+ readonly const: "jobs";
2604
+ readonly type: "string";
2605
+ }, {
2606
+ readonly const: "event-consumer";
2607
+ readonly type: "string";
2608
+ }, {
2609
+ readonly const: "transfer";
2610
+ readonly type: "string";
2611
+ }];
2612
+ };
2613
+ readonly required: {
2614
+ readonly type: "boolean";
2651
2615
  };
2652
- readonly required: readonly ["contractId", "kind", "name"];
2653
- readonly type: "object";
2654
- };
2655
- };
2656
- readonly required: readonly ["kind", "surface", "required"];
2657
- readonly type: "object";
2658
- }, {
2659
- readonly properties: {
2660
- readonly capability: {
2661
- readonly minLength: 1;
2662
- readonly type: "string";
2663
- };
2664
- readonly kind: {
2665
- readonly const: "capability";
2666
- readonly type: "string";
2667
- };
2668
- readonly required: {
2669
- readonly type: "boolean";
2670
2616
  };
2617
+ readonly required: readonly ["kind", "alias", "required"];
2618
+ readonly type: "object";
2671
2619
  };
2672
- readonly required: readonly ["kind", "capability", "required"];
2673
- readonly type: "object";
2674
- }, {
2675
- readonly properties: {
2676
- readonly kind: {
2677
- readonly const: "resource";
2678
- readonly type: "string";
2679
- };
2680
- readonly required: {
2681
- readonly type: "boolean";
2682
- };
2683
- readonly resource: {
2684
- readonly properties: {
2685
- readonly alias: {
2686
- readonly minLength: 1;
2620
+ readonly type: "array";
2621
+ };
2622
+ readonly surfaces: {
2623
+ readonly items: {
2624
+ readonly properties: {
2625
+ readonly action: {
2626
+ readonly anyOf: readonly [{
2627
+ readonly const: "call";
2687
2628
  readonly type: "string";
2688
- };
2689
- readonly definition: {
2690
- readonly type: "object";
2691
- };
2692
- readonly kind: {
2693
- readonly anyOf: readonly [{
2694
- readonly const: "kv";
2695
- readonly type: "string";
2696
- }, {
2697
- readonly const: "store";
2698
- readonly type: "string";
2699
- }, {
2700
- readonly const: "jobs";
2701
- readonly type: "string";
2702
- }, {
2703
- readonly const: "event-consumer";
2704
- readonly type: "string";
2705
- }, {
2706
- readonly const: "transfer";
2707
- readonly type: "string";
2708
- }];
2709
- };
2710
- readonly required: {
2711
- readonly type: "boolean";
2712
- };
2629
+ }, {
2630
+ readonly const: "publish";
2631
+ readonly type: "string";
2632
+ }, {
2633
+ readonly const: "subscribe";
2634
+ readonly type: "string";
2635
+ }, {
2636
+ readonly const: "observe";
2637
+ readonly type: "string";
2638
+ }, {
2639
+ readonly const: "cancel";
2640
+ readonly type: "string";
2641
+ }];
2642
+ };
2643
+ readonly contractId: {
2644
+ readonly minLength: 1;
2645
+ readonly type: "string";
2646
+ };
2647
+ readonly kind: {
2648
+ readonly anyOf: readonly [{
2649
+ readonly const: "rpc";
2650
+ readonly type: "string";
2651
+ }, {
2652
+ readonly const: "operation";
2653
+ readonly type: "string";
2654
+ }, {
2655
+ readonly const: "event";
2656
+ readonly type: "string";
2657
+ }, {
2658
+ readonly const: "feed";
2659
+ readonly type: "string";
2660
+ }];
2661
+ };
2662
+ readonly name: {
2663
+ readonly minLength: 1;
2664
+ readonly type: "string";
2665
+ };
2666
+ readonly required: {
2667
+ readonly type: "boolean";
2713
2668
  };
2714
- readonly required: readonly ["kind", "alias", "required"];
2715
- readonly type: "object";
2716
2669
  };
2670
+ readonly required: readonly ["contractId", "kind", "name", "required"];
2671
+ readonly type: "object";
2717
2672
  };
2718
- readonly required: readonly ["kind", "resource", "required"];
2719
- readonly type: "object";
2720
- }];
2673
+ readonly type: "array";
2674
+ };
2721
2675
  };
2722
- readonly type: "array";
2676
+ readonly required: readonly ["contracts", "surfaces", "capabilities", "resources"];
2677
+ readonly type: "object";
2723
2678
  };
2724
2679
  readonly resources: {
2725
2680
  readonly items: {
@@ -3012,147 +2967,132 @@ export declare const AuthDeploymentAuthorityPlanResponseSchema: {
3012
2967
  readonly type: "array";
3013
2968
  };
3014
2969
  readonly requestedNeeds: {
3015
- readonly items: {
3016
- readonly anyOf: readonly [{
3017
- readonly properties: {
3018
- readonly contractId: {
3019
- readonly minLength: 1;
3020
- readonly type: "string";
3021
- };
3022
- readonly kind: {
3023
- readonly const: "contract";
3024
- readonly type: "string";
3025
- };
3026
- readonly required: {
3027
- readonly type: "boolean";
2970
+ readonly properties: {
2971
+ readonly capabilities: {
2972
+ readonly items: {
2973
+ readonly properties: {
2974
+ readonly capability: {
2975
+ readonly minLength: 1;
2976
+ readonly type: "string";
2977
+ };
2978
+ readonly required: {
2979
+ readonly type: "boolean";
2980
+ };
3028
2981
  };
2982
+ readonly required: readonly ["capability", "required"];
2983
+ readonly type: "object";
3029
2984
  };
3030
- readonly required: readonly ["kind", "contractId", "required"];
3031
- readonly type: "object";
3032
- }, {
3033
- readonly properties: {
3034
- readonly kind: {
3035
- readonly const: "surface";
3036
- readonly type: "string";
3037
- };
3038
- readonly required: {
3039
- readonly type: "boolean";
3040
- };
3041
- readonly surface: {
3042
- readonly properties: {
3043
- readonly action: {
3044
- readonly anyOf: readonly [{
3045
- readonly const: "call";
3046
- readonly type: "string";
3047
- }, {
3048
- readonly const: "publish";
3049
- readonly type: "string";
3050
- }, {
3051
- readonly const: "subscribe";
3052
- readonly type: "string";
3053
- }, {
3054
- readonly const: "observe";
3055
- readonly type: "string";
3056
- }, {
3057
- readonly const: "cancel";
3058
- readonly type: "string";
3059
- }];
3060
- };
3061
- readonly contractId: {
3062
- readonly minLength: 1;
3063
- readonly type: "string";
3064
- };
3065
- readonly kind: {
3066
- readonly anyOf: readonly [{
3067
- readonly const: "rpc";
3068
- readonly type: "string";
3069
- }, {
3070
- readonly const: "operation";
3071
- readonly type: "string";
3072
- }, {
3073
- readonly const: "event";
3074
- readonly type: "string";
3075
- }, {
3076
- readonly const: "feed";
3077
- readonly type: "string";
3078
- }];
3079
- };
3080
- readonly name: {
3081
- readonly minLength: 1;
3082
- readonly type: "string";
3083
- };
2985
+ readonly type: "array";
2986
+ };
2987
+ readonly contracts: {
2988
+ readonly items: {
2989
+ readonly properties: {
2990
+ readonly contractId: {
2991
+ readonly minLength: 1;
2992
+ readonly type: "string";
2993
+ };
2994
+ readonly required: {
2995
+ readonly type: "boolean";
3084
2996
  };
3085
- readonly required: readonly ["contractId", "kind", "name"];
3086
- readonly type: "object";
3087
2997
  };
2998
+ readonly required: readonly ["contractId", "required"];
2999
+ readonly type: "object";
3088
3000
  };
3089
- readonly required: readonly ["kind", "surface", "required"];
3090
- readonly type: "object";
3091
- }, {
3092
- readonly properties: {
3093
- readonly capability: {
3094
- readonly minLength: 1;
3095
- readonly type: "string";
3096
- };
3097
- readonly kind: {
3098
- readonly const: "capability";
3099
- readonly type: "string";
3100
- };
3101
- readonly required: {
3102
- readonly type: "boolean";
3001
+ readonly type: "array";
3002
+ };
3003
+ readonly resources: {
3004
+ readonly items: {
3005
+ readonly properties: {
3006
+ readonly alias: {
3007
+ readonly minLength: 1;
3008
+ readonly type: "string";
3009
+ };
3010
+ readonly definition: {
3011
+ readonly type: "object";
3012
+ };
3013
+ readonly kind: {
3014
+ readonly anyOf: readonly [{
3015
+ readonly const: "kv";
3016
+ readonly type: "string";
3017
+ }, {
3018
+ readonly const: "store";
3019
+ readonly type: "string";
3020
+ }, {
3021
+ readonly const: "jobs";
3022
+ readonly type: "string";
3023
+ }, {
3024
+ readonly const: "event-consumer";
3025
+ readonly type: "string";
3026
+ }, {
3027
+ readonly const: "transfer";
3028
+ readonly type: "string";
3029
+ }];
3030
+ };
3031
+ readonly required: {
3032
+ readonly type: "boolean";
3033
+ };
3103
3034
  };
3035
+ readonly required: readonly ["kind", "alias", "required"];
3036
+ readonly type: "object";
3104
3037
  };
3105
- readonly required: readonly ["kind", "capability", "required"];
3106
- readonly type: "object";
3107
- }, {
3108
- readonly properties: {
3109
- readonly kind: {
3110
- readonly const: "resource";
3111
- readonly type: "string";
3112
- };
3113
- readonly required: {
3114
- readonly type: "boolean";
3115
- };
3116
- readonly resource: {
3117
- readonly properties: {
3118
- readonly alias: {
3119
- readonly minLength: 1;
3038
+ readonly type: "array";
3039
+ };
3040
+ readonly surfaces: {
3041
+ readonly items: {
3042
+ readonly properties: {
3043
+ readonly action: {
3044
+ readonly anyOf: readonly [{
3045
+ readonly const: "call";
3120
3046
  readonly type: "string";
3121
- };
3122
- readonly definition: {
3123
- readonly type: "object";
3124
- };
3125
- readonly kind: {
3126
- readonly anyOf: readonly [{
3127
- readonly const: "kv";
3128
- readonly type: "string";
3129
- }, {
3130
- readonly const: "store";
3131
- readonly type: "string";
3132
- }, {
3133
- readonly const: "jobs";
3134
- readonly type: "string";
3135
- }, {
3136
- readonly const: "event-consumer";
3137
- readonly type: "string";
3138
- }, {
3139
- readonly const: "transfer";
3140
- readonly type: "string";
3141
- }];
3142
- };
3143
- readonly required: {
3144
- readonly type: "boolean";
3145
- };
3047
+ }, {
3048
+ readonly const: "publish";
3049
+ readonly type: "string";
3050
+ }, {
3051
+ readonly const: "subscribe";
3052
+ readonly type: "string";
3053
+ }, {
3054
+ readonly const: "observe";
3055
+ readonly type: "string";
3056
+ }, {
3057
+ readonly const: "cancel";
3058
+ readonly type: "string";
3059
+ }];
3060
+ };
3061
+ readonly contractId: {
3062
+ readonly minLength: 1;
3063
+ readonly type: "string";
3064
+ };
3065
+ readonly kind: {
3066
+ readonly anyOf: readonly [{
3067
+ readonly const: "rpc";
3068
+ readonly type: "string";
3069
+ }, {
3070
+ readonly const: "operation";
3071
+ readonly type: "string";
3072
+ }, {
3073
+ readonly const: "event";
3074
+ readonly type: "string";
3075
+ }, {
3076
+ readonly const: "feed";
3077
+ readonly type: "string";
3078
+ }];
3079
+ };
3080
+ readonly name: {
3081
+ readonly minLength: 1;
3082
+ readonly type: "string";
3083
+ };
3084
+ readonly required: {
3085
+ readonly type: "boolean";
3146
3086
  };
3147
- readonly required: readonly ["kind", "alias", "required"];
3148
- readonly type: "object";
3149
3087
  };
3088
+ readonly required: readonly ["contractId", "kind", "name", "required"];
3089
+ readonly type: "object";
3150
3090
  };
3151
- readonly required: readonly ["kind", "resource", "required"];
3152
- readonly type: "object";
3153
- }];
3091
+ readonly type: "array";
3092
+ };
3154
3093
  };
3155
- readonly type: "array";
3094
+ readonly required: readonly ["contracts", "surfaces", "capabilities", "resources"];
3095
+ readonly type: "object";
3156
3096
  };
3157
3097
  readonly summary: {
3158
3098
  readonly type: "object";
@@ -3315,147 +3255,132 @@ export declare const AuthDeploymentAuthorityPlanResponseSchema: {
3315
3255
  readonly type: "array";
3316
3256
  };
3317
3257
  readonly requestedNeeds: {
3318
- readonly items: {
3319
- readonly anyOf: readonly [{
3320
- readonly properties: {
3321
- readonly contractId: {
3322
- readonly minLength: 1;
3323
- readonly type: "string";
3324
- };
3325
- readonly kind: {
3326
- readonly const: "contract";
3327
- readonly type: "string";
3328
- };
3329
- readonly required: {
3330
- readonly type: "boolean";
3258
+ readonly properties: {
3259
+ readonly capabilities: {
3260
+ readonly items: {
3261
+ readonly properties: {
3262
+ readonly capability: {
3263
+ readonly minLength: 1;
3264
+ readonly type: "string";
3265
+ };
3266
+ readonly required: {
3267
+ readonly type: "boolean";
3268
+ };
3331
3269
  };
3270
+ readonly required: readonly ["capability", "required"];
3271
+ readonly type: "object";
3332
3272
  };
3333
- readonly required: readonly ["kind", "contractId", "required"];
3334
- readonly type: "object";
3335
- }, {
3336
- readonly properties: {
3337
- readonly kind: {
3338
- readonly const: "surface";
3339
- readonly type: "string";
3340
- };
3341
- readonly required: {
3342
- readonly type: "boolean";
3273
+ readonly type: "array";
3274
+ };
3275
+ readonly contracts: {
3276
+ readonly items: {
3277
+ readonly properties: {
3278
+ readonly contractId: {
3279
+ readonly minLength: 1;
3280
+ readonly type: "string";
3281
+ };
3282
+ readonly required: {
3283
+ readonly type: "boolean";
3284
+ };
3343
3285
  };
3344
- readonly surface: {
3345
- readonly properties: {
3346
- readonly action: {
3347
- readonly anyOf: readonly [{
3348
- readonly const: "call";
3349
- readonly type: "string";
3350
- }, {
3351
- readonly const: "publish";
3352
- readonly type: "string";
3353
- }, {
3354
- readonly const: "subscribe";
3355
- readonly type: "string";
3356
- }, {
3357
- readonly const: "observe";
3358
- readonly type: "string";
3359
- }, {
3360
- readonly const: "cancel";
3361
- readonly type: "string";
3362
- }];
3363
- };
3364
- readonly contractId: {
3365
- readonly minLength: 1;
3286
+ readonly required: readonly ["contractId", "required"];
3287
+ readonly type: "object";
3288
+ };
3289
+ readonly type: "array";
3290
+ };
3291
+ readonly resources: {
3292
+ readonly items: {
3293
+ readonly properties: {
3294
+ readonly alias: {
3295
+ readonly minLength: 1;
3296
+ readonly type: "string";
3297
+ };
3298
+ readonly definition: {
3299
+ readonly type: "object";
3300
+ };
3301
+ readonly kind: {
3302
+ readonly anyOf: readonly [{
3303
+ readonly const: "kv";
3366
3304
  readonly type: "string";
3367
- };
3368
- readonly kind: {
3369
- readonly anyOf: readonly [{
3370
- readonly const: "rpc";
3371
- readonly type: "string";
3372
- }, {
3373
- readonly const: "operation";
3374
- readonly type: "string";
3375
- }, {
3376
- readonly const: "event";
3377
- readonly type: "string";
3378
- }, {
3379
- readonly const: "feed";
3380
- readonly type: "string";
3381
- }];
3382
- };
3383
- readonly name: {
3384
- readonly minLength: 1;
3305
+ }, {
3306
+ readonly const: "store";
3385
3307
  readonly type: "string";
3386
- };
3308
+ }, {
3309
+ readonly const: "jobs";
3310
+ readonly type: "string";
3311
+ }, {
3312
+ readonly const: "event-consumer";
3313
+ readonly type: "string";
3314
+ }, {
3315
+ readonly const: "transfer";
3316
+ readonly type: "string";
3317
+ }];
3318
+ };
3319
+ readonly required: {
3320
+ readonly type: "boolean";
3387
3321
  };
3388
- readonly required: readonly ["contractId", "kind", "name"];
3389
- readonly type: "object";
3390
3322
  };
3323
+ readonly required: readonly ["kind", "alias", "required"];
3324
+ readonly type: "object";
3391
3325
  };
3392
- readonly required: readonly ["kind", "surface", "required"];
3393
- readonly type: "object";
3394
- }, {
3395
- readonly properties: {
3396
- readonly capability: {
3397
- readonly minLength: 1;
3398
- readonly type: "string";
3399
- };
3400
- readonly kind: {
3401
- readonly const: "capability";
3402
- readonly type: "string";
3403
- };
3404
- readonly required: {
3405
- readonly type: "boolean";
3406
- };
3407
- };
3408
- readonly required: readonly ["kind", "capability", "required"];
3409
- readonly type: "object";
3410
- }, {
3411
- readonly properties: {
3412
- readonly kind: {
3413
- readonly const: "resource";
3414
- readonly type: "string";
3415
- };
3416
- readonly required: {
3417
- readonly type: "boolean";
3418
- };
3419
- readonly resource: {
3420
- readonly properties: {
3421
- readonly alias: {
3422
- readonly minLength: 1;
3326
+ readonly type: "array";
3327
+ };
3328
+ readonly surfaces: {
3329
+ readonly items: {
3330
+ readonly properties: {
3331
+ readonly action: {
3332
+ readonly anyOf: readonly [{
3333
+ readonly const: "call";
3423
3334
  readonly type: "string";
3424
- };
3425
- readonly definition: {
3426
- readonly type: "object";
3427
- };
3428
- readonly kind: {
3429
- readonly anyOf: readonly [{
3430
- readonly const: "kv";
3431
- readonly type: "string";
3432
- }, {
3433
- readonly const: "store";
3434
- readonly type: "string";
3435
- }, {
3436
- readonly const: "jobs";
3437
- readonly type: "string";
3438
- }, {
3439
- readonly const: "event-consumer";
3440
- readonly type: "string";
3441
- }, {
3442
- readonly const: "transfer";
3443
- readonly type: "string";
3444
- }];
3445
- };
3446
- readonly required: {
3447
- readonly type: "boolean";
3448
- };
3335
+ }, {
3336
+ readonly const: "publish";
3337
+ readonly type: "string";
3338
+ }, {
3339
+ readonly const: "subscribe";
3340
+ readonly type: "string";
3341
+ }, {
3342
+ readonly const: "observe";
3343
+ readonly type: "string";
3344
+ }, {
3345
+ readonly const: "cancel";
3346
+ readonly type: "string";
3347
+ }];
3348
+ };
3349
+ readonly contractId: {
3350
+ readonly minLength: 1;
3351
+ readonly type: "string";
3352
+ };
3353
+ readonly kind: {
3354
+ readonly anyOf: readonly [{
3355
+ readonly const: "rpc";
3356
+ readonly type: "string";
3357
+ }, {
3358
+ readonly const: "operation";
3359
+ readonly type: "string";
3360
+ }, {
3361
+ readonly const: "event";
3362
+ readonly type: "string";
3363
+ }, {
3364
+ readonly const: "feed";
3365
+ readonly type: "string";
3366
+ }];
3367
+ };
3368
+ readonly name: {
3369
+ readonly minLength: 1;
3370
+ readonly type: "string";
3371
+ };
3372
+ readonly required: {
3373
+ readonly type: "boolean";
3449
3374
  };
3450
- readonly required: readonly ["kind", "alias", "required"];
3451
- readonly type: "object";
3452
3375
  };
3376
+ readonly required: readonly ["contractId", "kind", "name", "required"];
3377
+ readonly type: "object";
3453
3378
  };
3454
- readonly required: readonly ["kind", "resource", "required"];
3455
- readonly type: "object";
3456
- }];
3379
+ readonly type: "array";
3380
+ };
3457
3381
  };
3458
- readonly type: "array";
3382
+ readonly required: readonly ["contracts", "surfaces", "capabilities", "resources"];
3383
+ readonly type: "object";
3459
3384
  };
3460
3385
  readonly summary: {
3461
3386
  readonly type: "object";
@@ -3634,147 +3559,132 @@ export declare const AuthDeploymentAuthorityPlansGetResponseSchema: {
3634
3559
  readonly type: "array";
3635
3560
  };
3636
3561
  readonly requestedNeeds: {
3637
- readonly items: {
3638
- readonly anyOf: readonly [{
3639
- readonly properties: {
3640
- readonly contractId: {
3641
- readonly minLength: 1;
3642
- readonly type: "string";
3643
- };
3644
- readonly kind: {
3645
- readonly const: "contract";
3646
- readonly type: "string";
3647
- };
3648
- readonly required: {
3649
- readonly type: "boolean";
3562
+ readonly properties: {
3563
+ readonly capabilities: {
3564
+ readonly items: {
3565
+ readonly properties: {
3566
+ readonly capability: {
3567
+ readonly minLength: 1;
3568
+ readonly type: "string";
3569
+ };
3570
+ readonly required: {
3571
+ readonly type: "boolean";
3572
+ };
3650
3573
  };
3574
+ readonly required: readonly ["capability", "required"];
3575
+ readonly type: "object";
3651
3576
  };
3652
- readonly required: readonly ["kind", "contractId", "required"];
3653
- readonly type: "object";
3654
- }, {
3655
- readonly properties: {
3656
- readonly kind: {
3657
- readonly const: "surface";
3658
- readonly type: "string";
3659
- };
3660
- readonly required: {
3661
- readonly type: "boolean";
3577
+ readonly type: "array";
3578
+ };
3579
+ readonly contracts: {
3580
+ readonly items: {
3581
+ readonly properties: {
3582
+ readonly contractId: {
3583
+ readonly minLength: 1;
3584
+ readonly type: "string";
3585
+ };
3586
+ readonly required: {
3587
+ readonly type: "boolean";
3588
+ };
3662
3589
  };
3663
- readonly surface: {
3664
- readonly properties: {
3665
- readonly action: {
3666
- readonly anyOf: readonly [{
3667
- readonly const: "call";
3668
- readonly type: "string";
3669
- }, {
3670
- readonly const: "publish";
3671
- readonly type: "string";
3672
- }, {
3673
- readonly const: "subscribe";
3674
- readonly type: "string";
3675
- }, {
3676
- readonly const: "observe";
3677
- readonly type: "string";
3678
- }, {
3679
- readonly const: "cancel";
3680
- readonly type: "string";
3681
- }];
3682
- };
3683
- readonly contractId: {
3684
- readonly minLength: 1;
3590
+ readonly required: readonly ["contractId", "required"];
3591
+ readonly type: "object";
3592
+ };
3593
+ readonly type: "array";
3594
+ };
3595
+ readonly resources: {
3596
+ readonly items: {
3597
+ readonly properties: {
3598
+ readonly alias: {
3599
+ readonly minLength: 1;
3600
+ readonly type: "string";
3601
+ };
3602
+ readonly definition: {
3603
+ readonly type: "object";
3604
+ };
3605
+ readonly kind: {
3606
+ readonly anyOf: readonly [{
3607
+ readonly const: "kv";
3685
3608
  readonly type: "string";
3686
- };
3687
- readonly kind: {
3688
- readonly anyOf: readonly [{
3689
- readonly const: "rpc";
3690
- readonly type: "string";
3691
- }, {
3692
- readonly const: "operation";
3693
- readonly type: "string";
3694
- }, {
3695
- readonly const: "event";
3696
- readonly type: "string";
3697
- }, {
3698
- readonly const: "feed";
3699
- readonly type: "string";
3700
- }];
3701
- };
3702
- readonly name: {
3703
- readonly minLength: 1;
3609
+ }, {
3610
+ readonly const: "store";
3704
3611
  readonly type: "string";
3705
- };
3612
+ }, {
3613
+ readonly const: "jobs";
3614
+ readonly type: "string";
3615
+ }, {
3616
+ readonly const: "event-consumer";
3617
+ readonly type: "string";
3618
+ }, {
3619
+ readonly const: "transfer";
3620
+ readonly type: "string";
3621
+ }];
3622
+ };
3623
+ readonly required: {
3624
+ readonly type: "boolean";
3706
3625
  };
3707
- readonly required: readonly ["contractId", "kind", "name"];
3708
- readonly type: "object";
3709
- };
3710
- };
3711
- readonly required: readonly ["kind", "surface", "required"];
3712
- readonly type: "object";
3713
- }, {
3714
- readonly properties: {
3715
- readonly capability: {
3716
- readonly minLength: 1;
3717
- readonly type: "string";
3718
- };
3719
- readonly kind: {
3720
- readonly const: "capability";
3721
- readonly type: "string";
3722
- };
3723
- readonly required: {
3724
- readonly type: "boolean";
3725
3626
  };
3627
+ readonly required: readonly ["kind", "alias", "required"];
3628
+ readonly type: "object";
3726
3629
  };
3727
- readonly required: readonly ["kind", "capability", "required"];
3728
- readonly type: "object";
3729
- }, {
3730
- readonly properties: {
3731
- readonly kind: {
3732
- readonly const: "resource";
3733
- readonly type: "string";
3734
- };
3735
- readonly required: {
3736
- readonly type: "boolean";
3737
- };
3738
- readonly resource: {
3739
- readonly properties: {
3740
- readonly alias: {
3741
- readonly minLength: 1;
3630
+ readonly type: "array";
3631
+ };
3632
+ readonly surfaces: {
3633
+ readonly items: {
3634
+ readonly properties: {
3635
+ readonly action: {
3636
+ readonly anyOf: readonly [{
3637
+ readonly const: "call";
3742
3638
  readonly type: "string";
3743
- };
3744
- readonly definition: {
3745
- readonly type: "object";
3746
- };
3747
- readonly kind: {
3748
- readonly anyOf: readonly [{
3749
- readonly const: "kv";
3750
- readonly type: "string";
3751
- }, {
3752
- readonly const: "store";
3753
- readonly type: "string";
3754
- }, {
3755
- readonly const: "jobs";
3756
- readonly type: "string";
3757
- }, {
3758
- readonly const: "event-consumer";
3759
- readonly type: "string";
3760
- }, {
3761
- readonly const: "transfer";
3762
- readonly type: "string";
3763
- }];
3764
- };
3765
- readonly required: {
3766
- readonly type: "boolean";
3767
- };
3639
+ }, {
3640
+ readonly const: "publish";
3641
+ readonly type: "string";
3642
+ }, {
3643
+ readonly const: "subscribe";
3644
+ readonly type: "string";
3645
+ }, {
3646
+ readonly const: "observe";
3647
+ readonly type: "string";
3648
+ }, {
3649
+ readonly const: "cancel";
3650
+ readonly type: "string";
3651
+ }];
3652
+ };
3653
+ readonly contractId: {
3654
+ readonly minLength: 1;
3655
+ readonly type: "string";
3656
+ };
3657
+ readonly kind: {
3658
+ readonly anyOf: readonly [{
3659
+ readonly const: "rpc";
3660
+ readonly type: "string";
3661
+ }, {
3662
+ readonly const: "operation";
3663
+ readonly type: "string";
3664
+ }, {
3665
+ readonly const: "event";
3666
+ readonly type: "string";
3667
+ }, {
3668
+ readonly const: "feed";
3669
+ readonly type: "string";
3670
+ }];
3671
+ };
3672
+ readonly name: {
3673
+ readonly minLength: 1;
3674
+ readonly type: "string";
3675
+ };
3676
+ readonly required: {
3677
+ readonly type: "boolean";
3768
3678
  };
3769
- readonly required: readonly ["kind", "alias", "required"];
3770
- readonly type: "object";
3771
3679
  };
3680
+ readonly required: readonly ["contractId", "kind", "name", "required"];
3681
+ readonly type: "object";
3772
3682
  };
3773
- readonly required: readonly ["kind", "resource", "required"];
3774
- readonly type: "object";
3775
- }];
3683
+ readonly type: "array";
3684
+ };
3776
3685
  };
3777
- readonly type: "array";
3686
+ readonly required: readonly ["contracts", "surfaces", "capabilities", "resources"];
3687
+ readonly type: "object";
3778
3688
  };
3779
3689
  readonly summary: {
3780
3690
  readonly type: "object";
@@ -3937,149 +3847,134 @@ export declare const AuthDeploymentAuthorityPlansGetResponseSchema: {
3937
3847
  readonly type: "array";
3938
3848
  };
3939
3849
  readonly requestedNeeds: {
3940
- readonly items: {
3941
- readonly anyOf: readonly [{
3942
- readonly properties: {
3943
- readonly contractId: {
3944
- readonly minLength: 1;
3945
- readonly type: "string";
3946
- };
3947
- readonly kind: {
3948
- readonly const: "contract";
3949
- readonly type: "string";
3950
- };
3951
- readonly required: {
3952
- readonly type: "boolean";
3850
+ readonly properties: {
3851
+ readonly capabilities: {
3852
+ readonly items: {
3853
+ readonly properties: {
3854
+ readonly capability: {
3855
+ readonly minLength: 1;
3856
+ readonly type: "string";
3857
+ };
3858
+ readonly required: {
3859
+ readonly type: "boolean";
3860
+ };
3953
3861
  };
3862
+ readonly required: readonly ["capability", "required"];
3863
+ readonly type: "object";
3954
3864
  };
3955
- readonly required: readonly ["kind", "contractId", "required"];
3956
- readonly type: "object";
3957
- }, {
3958
- readonly properties: {
3959
- readonly kind: {
3960
- readonly const: "surface";
3961
- readonly type: "string";
3962
- };
3963
- readonly required: {
3964
- readonly type: "boolean";
3865
+ readonly type: "array";
3866
+ };
3867
+ readonly contracts: {
3868
+ readonly items: {
3869
+ readonly properties: {
3870
+ readonly contractId: {
3871
+ readonly minLength: 1;
3872
+ readonly type: "string";
3873
+ };
3874
+ readonly required: {
3875
+ readonly type: "boolean";
3876
+ };
3965
3877
  };
3966
- readonly surface: {
3967
- readonly properties: {
3968
- readonly action: {
3969
- readonly anyOf: readonly [{
3970
- readonly const: "call";
3971
- readonly type: "string";
3972
- }, {
3973
- readonly const: "publish";
3974
- readonly type: "string";
3975
- }, {
3976
- readonly const: "subscribe";
3977
- readonly type: "string";
3978
- }, {
3979
- readonly const: "observe";
3980
- readonly type: "string";
3981
- }, {
3982
- readonly const: "cancel";
3983
- readonly type: "string";
3984
- }];
3985
- };
3986
- readonly contractId: {
3987
- readonly minLength: 1;
3878
+ readonly required: readonly ["contractId", "required"];
3879
+ readonly type: "object";
3880
+ };
3881
+ readonly type: "array";
3882
+ };
3883
+ readonly resources: {
3884
+ readonly items: {
3885
+ readonly properties: {
3886
+ readonly alias: {
3887
+ readonly minLength: 1;
3888
+ readonly type: "string";
3889
+ };
3890
+ readonly definition: {
3891
+ readonly type: "object";
3892
+ };
3893
+ readonly kind: {
3894
+ readonly anyOf: readonly [{
3895
+ readonly const: "kv";
3988
3896
  readonly type: "string";
3989
- };
3990
- readonly kind: {
3991
- readonly anyOf: readonly [{
3992
- readonly const: "rpc";
3993
- readonly type: "string";
3994
- }, {
3995
- readonly const: "operation";
3996
- readonly type: "string";
3997
- }, {
3998
- readonly const: "event";
3999
- readonly type: "string";
4000
- }, {
4001
- readonly const: "feed";
4002
- readonly type: "string";
4003
- }];
4004
- };
4005
- readonly name: {
4006
- readonly minLength: 1;
3897
+ }, {
3898
+ readonly const: "store";
4007
3899
  readonly type: "string";
4008
- };
3900
+ }, {
3901
+ readonly const: "jobs";
3902
+ readonly type: "string";
3903
+ }, {
3904
+ readonly const: "event-consumer";
3905
+ readonly type: "string";
3906
+ }, {
3907
+ readonly const: "transfer";
3908
+ readonly type: "string";
3909
+ }];
3910
+ };
3911
+ readonly required: {
3912
+ readonly type: "boolean";
4009
3913
  };
4010
- readonly required: readonly ["contractId", "kind", "name"];
4011
- readonly type: "object";
4012
- };
4013
- };
4014
- readonly required: readonly ["kind", "surface", "required"];
4015
- readonly type: "object";
4016
- }, {
4017
- readonly properties: {
4018
- readonly capability: {
4019
- readonly minLength: 1;
4020
- readonly type: "string";
4021
- };
4022
- readonly kind: {
4023
- readonly const: "capability";
4024
- readonly type: "string";
4025
- };
4026
- readonly required: {
4027
- readonly type: "boolean";
4028
3914
  };
3915
+ readonly required: readonly ["kind", "alias", "required"];
3916
+ readonly type: "object";
4029
3917
  };
4030
- readonly required: readonly ["kind", "capability", "required"];
4031
- readonly type: "object";
4032
- }, {
4033
- readonly properties: {
4034
- readonly kind: {
4035
- readonly const: "resource";
4036
- readonly type: "string";
4037
- };
4038
- readonly required: {
4039
- readonly type: "boolean";
4040
- };
4041
- readonly resource: {
4042
- readonly properties: {
4043
- readonly alias: {
4044
- readonly minLength: 1;
3918
+ readonly type: "array";
3919
+ };
3920
+ readonly surfaces: {
3921
+ readonly items: {
3922
+ readonly properties: {
3923
+ readonly action: {
3924
+ readonly anyOf: readonly [{
3925
+ readonly const: "call";
4045
3926
  readonly type: "string";
4046
- };
4047
- readonly definition: {
4048
- readonly type: "object";
4049
- };
4050
- readonly kind: {
4051
- readonly anyOf: readonly [{
4052
- readonly const: "kv";
4053
- readonly type: "string";
4054
- }, {
4055
- readonly const: "store";
4056
- readonly type: "string";
4057
- }, {
4058
- readonly const: "jobs";
4059
- readonly type: "string";
4060
- }, {
4061
- readonly const: "event-consumer";
4062
- readonly type: "string";
4063
- }, {
4064
- readonly const: "transfer";
4065
- readonly type: "string";
4066
- }];
4067
- };
4068
- readonly required: {
4069
- readonly type: "boolean";
4070
- };
3927
+ }, {
3928
+ readonly const: "publish";
3929
+ readonly type: "string";
3930
+ }, {
3931
+ readonly const: "subscribe";
3932
+ readonly type: "string";
3933
+ }, {
3934
+ readonly const: "observe";
3935
+ readonly type: "string";
3936
+ }, {
3937
+ readonly const: "cancel";
3938
+ readonly type: "string";
3939
+ }];
4071
3940
  };
4072
- readonly required: readonly ["kind", "alias", "required"];
4073
- readonly type: "object";
4074
- };
4075
- };
4076
- readonly required: readonly ["kind", "resource", "required"];
4077
- readonly type: "object";
4078
- }];
4079
- };
4080
- readonly type: "array";
4081
- };
4082
- readonly summary: {
3941
+ readonly contractId: {
3942
+ readonly minLength: 1;
3943
+ readonly type: "string";
3944
+ };
3945
+ readonly kind: {
3946
+ readonly anyOf: readonly [{
3947
+ readonly const: "rpc";
3948
+ readonly type: "string";
3949
+ }, {
3950
+ readonly const: "operation";
3951
+ readonly type: "string";
3952
+ }, {
3953
+ readonly const: "event";
3954
+ readonly type: "string";
3955
+ }, {
3956
+ readonly const: "feed";
3957
+ readonly type: "string";
3958
+ }];
3959
+ };
3960
+ readonly name: {
3961
+ readonly minLength: 1;
3962
+ readonly type: "string";
3963
+ };
3964
+ readonly required: {
3965
+ readonly type: "boolean";
3966
+ };
3967
+ };
3968
+ readonly required: readonly ["contractId", "kind", "name", "required"];
3969
+ readonly type: "object";
3970
+ };
3971
+ readonly type: "array";
3972
+ };
3973
+ };
3974
+ readonly required: readonly ["contracts", "surfaces", "capabilities", "resources"];
3975
+ readonly type: "object";
3976
+ };
3977
+ readonly summary: {
4083
3978
  readonly type: "object";
4084
3979
  };
4085
3980
  };
@@ -4316,147 +4211,132 @@ export declare const AuthDeploymentAuthorityPlansListResponseSchema: {
4316
4211
  readonly type: "array";
4317
4212
  };
4318
4213
  readonly requestedNeeds: {
4319
- readonly items: {
4320
- readonly anyOf: readonly [{
4321
- readonly properties: {
4322
- readonly contractId: {
4323
- readonly minLength: 1;
4324
- readonly type: "string";
4325
- };
4326
- readonly kind: {
4327
- readonly const: "contract";
4328
- readonly type: "string";
4329
- };
4330
- readonly required: {
4331
- readonly type: "boolean";
4214
+ readonly properties: {
4215
+ readonly capabilities: {
4216
+ readonly items: {
4217
+ readonly properties: {
4218
+ readonly capability: {
4219
+ readonly minLength: 1;
4220
+ readonly type: "string";
4221
+ };
4222
+ readonly required: {
4223
+ readonly type: "boolean";
4224
+ };
4332
4225
  };
4226
+ readonly required: readonly ["capability", "required"];
4227
+ readonly type: "object";
4333
4228
  };
4334
- readonly required: readonly ["kind", "contractId", "required"];
4335
- readonly type: "object";
4336
- }, {
4337
- readonly properties: {
4338
- readonly kind: {
4339
- readonly const: "surface";
4340
- readonly type: "string";
4341
- };
4342
- readonly required: {
4343
- readonly type: "boolean";
4229
+ readonly type: "array";
4230
+ };
4231
+ readonly contracts: {
4232
+ readonly items: {
4233
+ readonly properties: {
4234
+ readonly contractId: {
4235
+ readonly minLength: 1;
4236
+ readonly type: "string";
4237
+ };
4238
+ readonly required: {
4239
+ readonly type: "boolean";
4240
+ };
4344
4241
  };
4345
- readonly surface: {
4346
- readonly properties: {
4347
- readonly action: {
4348
- readonly anyOf: readonly [{
4349
- readonly const: "call";
4350
- readonly type: "string";
4351
- }, {
4352
- readonly const: "publish";
4353
- readonly type: "string";
4354
- }, {
4355
- readonly const: "subscribe";
4356
- readonly type: "string";
4357
- }, {
4358
- readonly const: "observe";
4359
- readonly type: "string";
4360
- }, {
4361
- readonly const: "cancel";
4362
- readonly type: "string";
4363
- }];
4364
- };
4365
- readonly contractId: {
4366
- readonly minLength: 1;
4242
+ readonly required: readonly ["contractId", "required"];
4243
+ readonly type: "object";
4244
+ };
4245
+ readonly type: "array";
4246
+ };
4247
+ readonly resources: {
4248
+ readonly items: {
4249
+ readonly properties: {
4250
+ readonly alias: {
4251
+ readonly minLength: 1;
4252
+ readonly type: "string";
4253
+ };
4254
+ readonly definition: {
4255
+ readonly type: "object";
4256
+ };
4257
+ readonly kind: {
4258
+ readonly anyOf: readonly [{
4259
+ readonly const: "kv";
4367
4260
  readonly type: "string";
4368
- };
4369
- readonly kind: {
4370
- readonly anyOf: readonly [{
4371
- readonly const: "rpc";
4372
- readonly type: "string";
4373
- }, {
4374
- readonly const: "operation";
4375
- readonly type: "string";
4376
- }, {
4377
- readonly const: "event";
4378
- readonly type: "string";
4379
- }, {
4380
- readonly const: "feed";
4381
- readonly type: "string";
4382
- }];
4383
- };
4384
- readonly name: {
4385
- readonly minLength: 1;
4261
+ }, {
4262
+ readonly const: "store";
4386
4263
  readonly type: "string";
4387
- };
4264
+ }, {
4265
+ readonly const: "jobs";
4266
+ readonly type: "string";
4267
+ }, {
4268
+ readonly const: "event-consumer";
4269
+ readonly type: "string";
4270
+ }, {
4271
+ readonly const: "transfer";
4272
+ readonly type: "string";
4273
+ }];
4274
+ };
4275
+ readonly required: {
4276
+ readonly type: "boolean";
4388
4277
  };
4389
- readonly required: readonly ["contractId", "kind", "name"];
4390
- readonly type: "object";
4391
- };
4392
- };
4393
- readonly required: readonly ["kind", "surface", "required"];
4394
- readonly type: "object";
4395
- }, {
4396
- readonly properties: {
4397
- readonly capability: {
4398
- readonly minLength: 1;
4399
- readonly type: "string";
4400
- };
4401
- readonly kind: {
4402
- readonly const: "capability";
4403
- readonly type: "string";
4404
- };
4405
- readonly required: {
4406
- readonly type: "boolean";
4407
4278
  };
4279
+ readonly required: readonly ["kind", "alias", "required"];
4280
+ readonly type: "object";
4408
4281
  };
4409
- readonly required: readonly ["kind", "capability", "required"];
4410
- readonly type: "object";
4411
- }, {
4412
- readonly properties: {
4413
- readonly kind: {
4414
- readonly const: "resource";
4415
- readonly type: "string";
4416
- };
4417
- readonly required: {
4418
- readonly type: "boolean";
4419
- };
4420
- readonly resource: {
4421
- readonly properties: {
4422
- readonly alias: {
4423
- readonly minLength: 1;
4282
+ readonly type: "array";
4283
+ };
4284
+ readonly surfaces: {
4285
+ readonly items: {
4286
+ readonly properties: {
4287
+ readonly action: {
4288
+ readonly anyOf: readonly [{
4289
+ readonly const: "call";
4424
4290
  readonly type: "string";
4425
- };
4426
- readonly definition: {
4427
- readonly type: "object";
4428
- };
4429
- readonly kind: {
4430
- readonly anyOf: readonly [{
4431
- readonly const: "kv";
4432
- readonly type: "string";
4433
- }, {
4434
- readonly const: "store";
4435
- readonly type: "string";
4436
- }, {
4437
- readonly const: "jobs";
4438
- readonly type: "string";
4439
- }, {
4440
- readonly const: "event-consumer";
4441
- readonly type: "string";
4442
- }, {
4443
- readonly const: "transfer";
4444
- readonly type: "string";
4445
- }];
4446
- };
4447
- readonly required: {
4448
- readonly type: "boolean";
4449
- };
4291
+ }, {
4292
+ readonly const: "publish";
4293
+ readonly type: "string";
4294
+ }, {
4295
+ readonly const: "subscribe";
4296
+ readonly type: "string";
4297
+ }, {
4298
+ readonly const: "observe";
4299
+ readonly type: "string";
4300
+ }, {
4301
+ readonly const: "cancel";
4302
+ readonly type: "string";
4303
+ }];
4304
+ };
4305
+ readonly contractId: {
4306
+ readonly minLength: 1;
4307
+ readonly type: "string";
4308
+ };
4309
+ readonly kind: {
4310
+ readonly anyOf: readonly [{
4311
+ readonly const: "rpc";
4312
+ readonly type: "string";
4313
+ }, {
4314
+ readonly const: "operation";
4315
+ readonly type: "string";
4316
+ }, {
4317
+ readonly const: "event";
4318
+ readonly type: "string";
4319
+ }, {
4320
+ readonly const: "feed";
4321
+ readonly type: "string";
4322
+ }];
4323
+ };
4324
+ readonly name: {
4325
+ readonly minLength: 1;
4326
+ readonly type: "string";
4327
+ };
4328
+ readonly required: {
4329
+ readonly type: "boolean";
4450
4330
  };
4451
- readonly required: readonly ["kind", "alias", "required"];
4452
- readonly type: "object";
4453
4331
  };
4332
+ readonly required: readonly ["contractId", "kind", "name", "required"];
4333
+ readonly type: "object";
4454
4334
  };
4455
- readonly required: readonly ["kind", "resource", "required"];
4456
- readonly type: "object";
4457
- }];
4335
+ readonly type: "array";
4336
+ };
4458
4337
  };
4459
- readonly type: "array";
4338
+ readonly required: readonly ["contracts", "surfaces", "capabilities", "resources"];
4339
+ readonly type: "object";
4460
4340
  };
4461
4341
  readonly summary: {
4462
4342
  readonly type: "object";
@@ -4619,147 +4499,132 @@ export declare const AuthDeploymentAuthorityPlansListResponseSchema: {
4619
4499
  readonly type: "array";
4620
4500
  };
4621
4501
  readonly requestedNeeds: {
4622
- readonly items: {
4623
- readonly anyOf: readonly [{
4624
- readonly properties: {
4625
- readonly contractId: {
4626
- readonly minLength: 1;
4627
- readonly type: "string";
4628
- };
4629
- readonly kind: {
4630
- readonly const: "contract";
4631
- readonly type: "string";
4632
- };
4633
- readonly required: {
4634
- readonly type: "boolean";
4502
+ readonly properties: {
4503
+ readonly capabilities: {
4504
+ readonly items: {
4505
+ readonly properties: {
4506
+ readonly capability: {
4507
+ readonly minLength: 1;
4508
+ readonly type: "string";
4509
+ };
4510
+ readonly required: {
4511
+ readonly type: "boolean";
4512
+ };
4635
4513
  };
4514
+ readonly required: readonly ["capability", "required"];
4515
+ readonly type: "object";
4636
4516
  };
4637
- readonly required: readonly ["kind", "contractId", "required"];
4638
- readonly type: "object";
4639
- }, {
4640
- readonly properties: {
4641
- readonly kind: {
4642
- readonly const: "surface";
4643
- readonly type: "string";
4644
- };
4645
- readonly required: {
4646
- readonly type: "boolean";
4517
+ readonly type: "array";
4518
+ };
4519
+ readonly contracts: {
4520
+ readonly items: {
4521
+ readonly properties: {
4522
+ readonly contractId: {
4523
+ readonly minLength: 1;
4524
+ readonly type: "string";
4525
+ };
4526
+ readonly required: {
4527
+ readonly type: "boolean";
4528
+ };
4647
4529
  };
4648
- readonly surface: {
4649
- readonly properties: {
4650
- readonly action: {
4651
- readonly anyOf: readonly [{
4652
- readonly const: "call";
4653
- readonly type: "string";
4654
- }, {
4655
- readonly const: "publish";
4656
- readonly type: "string";
4657
- }, {
4658
- readonly const: "subscribe";
4659
- readonly type: "string";
4660
- }, {
4661
- readonly const: "observe";
4662
- readonly type: "string";
4663
- }, {
4664
- readonly const: "cancel";
4665
- readonly type: "string";
4666
- }];
4667
- };
4668
- readonly contractId: {
4669
- readonly minLength: 1;
4530
+ readonly required: readonly ["contractId", "required"];
4531
+ readonly type: "object";
4532
+ };
4533
+ readonly type: "array";
4534
+ };
4535
+ readonly resources: {
4536
+ readonly items: {
4537
+ readonly properties: {
4538
+ readonly alias: {
4539
+ readonly minLength: 1;
4540
+ readonly type: "string";
4541
+ };
4542
+ readonly definition: {
4543
+ readonly type: "object";
4544
+ };
4545
+ readonly kind: {
4546
+ readonly anyOf: readonly [{
4547
+ readonly const: "kv";
4670
4548
  readonly type: "string";
4671
- };
4672
- readonly kind: {
4673
- readonly anyOf: readonly [{
4674
- readonly const: "rpc";
4675
- readonly type: "string";
4676
- }, {
4677
- readonly const: "operation";
4678
- readonly type: "string";
4679
- }, {
4680
- readonly const: "event";
4681
- readonly type: "string";
4682
- }, {
4683
- readonly const: "feed";
4684
- readonly type: "string";
4685
- }];
4686
- };
4687
- readonly name: {
4688
- readonly minLength: 1;
4549
+ }, {
4550
+ readonly const: "store";
4689
4551
  readonly type: "string";
4690
- };
4552
+ }, {
4553
+ readonly const: "jobs";
4554
+ readonly type: "string";
4555
+ }, {
4556
+ readonly const: "event-consumer";
4557
+ readonly type: "string";
4558
+ }, {
4559
+ readonly const: "transfer";
4560
+ readonly type: "string";
4561
+ }];
4562
+ };
4563
+ readonly required: {
4564
+ readonly type: "boolean";
4691
4565
  };
4692
- readonly required: readonly ["contractId", "kind", "name"];
4693
- readonly type: "object";
4694
- };
4695
- };
4696
- readonly required: readonly ["kind", "surface", "required"];
4697
- readonly type: "object";
4698
- }, {
4699
- readonly properties: {
4700
- readonly capability: {
4701
- readonly minLength: 1;
4702
- readonly type: "string";
4703
- };
4704
- readonly kind: {
4705
- readonly const: "capability";
4706
- readonly type: "string";
4707
- };
4708
- readonly required: {
4709
- readonly type: "boolean";
4710
4566
  };
4567
+ readonly required: readonly ["kind", "alias", "required"];
4568
+ readonly type: "object";
4711
4569
  };
4712
- readonly required: readonly ["kind", "capability", "required"];
4713
- readonly type: "object";
4714
- }, {
4715
- readonly properties: {
4716
- readonly kind: {
4717
- readonly const: "resource";
4718
- readonly type: "string";
4719
- };
4720
- readonly required: {
4721
- readonly type: "boolean";
4722
- };
4723
- readonly resource: {
4724
- readonly properties: {
4725
- readonly alias: {
4726
- readonly minLength: 1;
4570
+ readonly type: "array";
4571
+ };
4572
+ readonly surfaces: {
4573
+ readonly items: {
4574
+ readonly properties: {
4575
+ readonly action: {
4576
+ readonly anyOf: readonly [{
4577
+ readonly const: "call";
4727
4578
  readonly type: "string";
4728
- };
4729
- readonly definition: {
4730
- readonly type: "object";
4731
- };
4732
- readonly kind: {
4733
- readonly anyOf: readonly [{
4734
- readonly const: "kv";
4735
- readonly type: "string";
4736
- }, {
4737
- readonly const: "store";
4738
- readonly type: "string";
4739
- }, {
4740
- readonly const: "jobs";
4741
- readonly type: "string";
4742
- }, {
4743
- readonly const: "event-consumer";
4744
- readonly type: "string";
4745
- }, {
4746
- readonly const: "transfer";
4747
- readonly type: "string";
4748
- }];
4749
- };
4750
- readonly required: {
4751
- readonly type: "boolean";
4752
- };
4579
+ }, {
4580
+ readonly const: "publish";
4581
+ readonly type: "string";
4582
+ }, {
4583
+ readonly const: "subscribe";
4584
+ readonly type: "string";
4585
+ }, {
4586
+ readonly const: "observe";
4587
+ readonly type: "string";
4588
+ }, {
4589
+ readonly const: "cancel";
4590
+ readonly type: "string";
4591
+ }];
4592
+ };
4593
+ readonly contractId: {
4594
+ readonly minLength: 1;
4595
+ readonly type: "string";
4596
+ };
4597
+ readonly kind: {
4598
+ readonly anyOf: readonly [{
4599
+ readonly const: "rpc";
4600
+ readonly type: "string";
4601
+ }, {
4602
+ readonly const: "operation";
4603
+ readonly type: "string";
4604
+ }, {
4605
+ readonly const: "event";
4606
+ readonly type: "string";
4607
+ }, {
4608
+ readonly const: "feed";
4609
+ readonly type: "string";
4610
+ }];
4611
+ };
4612
+ readonly name: {
4613
+ readonly minLength: 1;
4614
+ readonly type: "string";
4615
+ };
4616
+ readonly required: {
4617
+ readonly type: "boolean";
4753
4618
  };
4754
- readonly required: readonly ["kind", "alias", "required"];
4755
- readonly type: "object";
4756
4619
  };
4620
+ readonly required: readonly ["contractId", "kind", "name", "required"];
4621
+ readonly type: "object";
4757
4622
  };
4758
- readonly required: readonly ["kind", "resource", "required"];
4759
- readonly type: "object";
4760
- }];
4623
+ readonly type: "array";
4624
+ };
4761
4625
  };
4762
- readonly type: "array";
4626
+ readonly required: readonly ["contracts", "surfaces", "capabilities", "resources"];
4627
+ readonly type: "object";
4763
4628
  };
4764
4629
  readonly summary: {
4765
4630
  readonly type: "object";
@@ -4849,147 +4714,132 @@ export declare const AuthDeploymentAuthorityReconcileResponseSchema: {
4849
4714
  readonly type: "array";
4850
4715
  };
4851
4716
  readonly needs: {
4852
- readonly items: {
4853
- readonly anyOf: readonly [{
4854
- readonly properties: {
4855
- readonly contractId: {
4856
- readonly minLength: 1;
4857
- readonly type: "string";
4858
- };
4859
- readonly kind: {
4860
- readonly const: "contract";
4861
- readonly type: "string";
4862
- };
4863
- readonly required: {
4864
- readonly type: "boolean";
4717
+ readonly properties: {
4718
+ readonly capabilities: {
4719
+ readonly items: {
4720
+ readonly properties: {
4721
+ readonly capability: {
4722
+ readonly minLength: 1;
4723
+ readonly type: "string";
4724
+ };
4725
+ readonly required: {
4726
+ readonly type: "boolean";
4727
+ };
4865
4728
  };
4729
+ readonly required: readonly ["capability", "required"];
4730
+ readonly type: "object";
4866
4731
  };
4867
- readonly required: readonly ["kind", "contractId", "required"];
4868
- readonly type: "object";
4869
- }, {
4870
- readonly properties: {
4871
- readonly kind: {
4872
- readonly const: "surface";
4873
- readonly type: "string";
4874
- };
4875
- readonly required: {
4876
- readonly type: "boolean";
4732
+ readonly type: "array";
4733
+ };
4734
+ readonly contracts: {
4735
+ readonly items: {
4736
+ readonly properties: {
4737
+ readonly contractId: {
4738
+ readonly minLength: 1;
4739
+ readonly type: "string";
4740
+ };
4741
+ readonly required: {
4742
+ readonly type: "boolean";
4743
+ };
4877
4744
  };
4878
- readonly surface: {
4879
- readonly properties: {
4880
- readonly action: {
4881
- readonly anyOf: readonly [{
4882
- readonly const: "call";
4883
- readonly type: "string";
4884
- }, {
4885
- readonly const: "publish";
4886
- readonly type: "string";
4887
- }, {
4888
- readonly const: "subscribe";
4889
- readonly type: "string";
4890
- }, {
4891
- readonly const: "observe";
4892
- readonly type: "string";
4893
- }, {
4894
- readonly const: "cancel";
4895
- readonly type: "string";
4896
- }];
4897
- };
4898
- readonly contractId: {
4899
- readonly minLength: 1;
4745
+ readonly required: readonly ["contractId", "required"];
4746
+ readonly type: "object";
4747
+ };
4748
+ readonly type: "array";
4749
+ };
4750
+ readonly resources: {
4751
+ readonly items: {
4752
+ readonly properties: {
4753
+ readonly alias: {
4754
+ readonly minLength: 1;
4755
+ readonly type: "string";
4756
+ };
4757
+ readonly definition: {
4758
+ readonly type: "object";
4759
+ };
4760
+ readonly kind: {
4761
+ readonly anyOf: readonly [{
4762
+ readonly const: "kv";
4900
4763
  readonly type: "string";
4901
- };
4902
- readonly kind: {
4903
- readonly anyOf: readonly [{
4904
- readonly const: "rpc";
4905
- readonly type: "string";
4906
- }, {
4907
- readonly const: "operation";
4908
- readonly type: "string";
4909
- }, {
4910
- readonly const: "event";
4911
- readonly type: "string";
4912
- }, {
4913
- readonly const: "feed";
4914
- readonly type: "string";
4915
- }];
4916
- };
4917
- readonly name: {
4918
- readonly minLength: 1;
4764
+ }, {
4765
+ readonly const: "store";
4919
4766
  readonly type: "string";
4920
- };
4767
+ }, {
4768
+ readonly const: "jobs";
4769
+ readonly type: "string";
4770
+ }, {
4771
+ readonly const: "event-consumer";
4772
+ readonly type: "string";
4773
+ }, {
4774
+ readonly const: "transfer";
4775
+ readonly type: "string";
4776
+ }];
4777
+ };
4778
+ readonly required: {
4779
+ readonly type: "boolean";
4921
4780
  };
4922
- readonly required: readonly ["contractId", "kind", "name"];
4923
- readonly type: "object";
4924
4781
  };
4782
+ readonly required: readonly ["kind", "alias", "required"];
4783
+ readonly type: "object";
4925
4784
  };
4926
- readonly required: readonly ["kind", "surface", "required"];
4927
- readonly type: "object";
4928
- }, {
4929
- readonly properties: {
4930
- readonly capability: {
4931
- readonly minLength: 1;
4932
- readonly type: "string";
4933
- };
4934
- readonly kind: {
4935
- readonly const: "capability";
4936
- readonly type: "string";
4937
- };
4938
- readonly required: {
4939
- readonly type: "boolean";
4940
- };
4941
- };
4942
- readonly required: readonly ["kind", "capability", "required"];
4943
- readonly type: "object";
4944
- }, {
4945
- readonly properties: {
4946
- readonly kind: {
4947
- readonly const: "resource";
4948
- readonly type: "string";
4949
- };
4950
- readonly required: {
4951
- readonly type: "boolean";
4952
- };
4953
- readonly resource: {
4954
- readonly properties: {
4955
- readonly alias: {
4956
- readonly minLength: 1;
4785
+ readonly type: "array";
4786
+ };
4787
+ readonly surfaces: {
4788
+ readonly items: {
4789
+ readonly properties: {
4790
+ readonly action: {
4791
+ readonly anyOf: readonly [{
4792
+ readonly const: "call";
4957
4793
  readonly type: "string";
4958
- };
4959
- readonly definition: {
4960
- readonly type: "object";
4961
- };
4962
- readonly kind: {
4963
- readonly anyOf: readonly [{
4964
- readonly const: "kv";
4965
- readonly type: "string";
4966
- }, {
4967
- readonly const: "store";
4968
- readonly type: "string";
4969
- }, {
4970
- readonly const: "jobs";
4971
- readonly type: "string";
4972
- }, {
4973
- readonly const: "event-consumer";
4974
- readonly type: "string";
4975
- }, {
4976
- readonly const: "transfer";
4977
- readonly type: "string";
4978
- }];
4979
- };
4980
- readonly required: {
4981
- readonly type: "boolean";
4982
- };
4794
+ }, {
4795
+ readonly const: "publish";
4796
+ readonly type: "string";
4797
+ }, {
4798
+ readonly const: "subscribe";
4799
+ readonly type: "string";
4800
+ }, {
4801
+ readonly const: "observe";
4802
+ readonly type: "string";
4803
+ }, {
4804
+ readonly const: "cancel";
4805
+ readonly type: "string";
4806
+ }];
4807
+ };
4808
+ readonly contractId: {
4809
+ readonly minLength: 1;
4810
+ readonly type: "string";
4811
+ };
4812
+ readonly kind: {
4813
+ readonly anyOf: readonly [{
4814
+ readonly const: "rpc";
4815
+ readonly type: "string";
4816
+ }, {
4817
+ readonly const: "operation";
4818
+ readonly type: "string";
4819
+ }, {
4820
+ readonly const: "event";
4821
+ readonly type: "string";
4822
+ }, {
4823
+ readonly const: "feed";
4824
+ readonly type: "string";
4825
+ }];
4826
+ };
4827
+ readonly name: {
4828
+ readonly minLength: 1;
4829
+ readonly type: "string";
4830
+ };
4831
+ readonly required: {
4832
+ readonly type: "boolean";
4983
4833
  };
4984
- readonly required: readonly ["kind", "alias", "required"];
4985
- readonly type: "object";
4986
4834
  };
4835
+ readonly required: readonly ["contractId", "kind", "name", "required"];
4836
+ readonly type: "object";
4987
4837
  };
4988
- readonly required: readonly ["kind", "resource", "required"];
4989
- readonly type: "object";
4990
- }];
4838
+ readonly type: "array";
4839
+ };
4991
4840
  };
4992
- readonly type: "array";
4841
+ readonly required: readonly ["contracts", "surfaces", "capabilities", "resources"];
4842
+ readonly type: "object";
4993
4843
  };
4994
4844
  readonly resources: {
4995
4845
  readonly items: {
@@ -5133,167 +4983,167 @@ export declare const AuthDeploymentAuthorityReconcileResponseSchema: {
5133
4983
  readonly type: "string";
5134
4984
  };
5135
4985
  readonly grants: {
5136
- readonly items: {
5137
- readonly anyOf: readonly [{
5138
- readonly properties: {
5139
- readonly capability: {
5140
- readonly minLength: 1;
5141
- readonly type: "string";
5142
- };
5143
- readonly kind: {
5144
- readonly const: "capability";
5145
- readonly type: "string";
5146
- };
5147
- };
5148
- readonly required: readonly ["kind", "capability"];
5149
- readonly type: "object";
5150
- }, {
5151
- readonly properties: {
5152
- readonly action: {
5153
- readonly anyOf: readonly [{
5154
- readonly const: "call";
5155
- readonly type: "string";
5156
- }, {
5157
- readonly const: "publish";
5158
- readonly type: "string";
5159
- }, {
5160
- readonly const: "subscribe";
5161
- readonly type: "string";
5162
- }, {
5163
- readonly const: "observe";
5164
- readonly type: "string";
5165
- }, {
5166
- readonly const: "cancel";
5167
- readonly type: "string";
5168
- }];
5169
- };
5170
- readonly contractId: {
5171
- readonly minLength: 1;
5172
- readonly type: "string";
5173
- };
5174
- readonly kind: {
5175
- readonly const: "surface";
5176
- readonly type: "string";
5177
- };
5178
- readonly name: {
5179
- readonly minLength: 1;
5180
- readonly type: "string";
5181
- };
5182
- readonly surfaceKind: {
5183
- readonly anyOf: readonly [{
5184
- readonly const: "rpc";
5185
- readonly type: "string";
5186
- }, {
5187
- readonly const: "operation";
5188
- readonly type: "string";
5189
- }, {
5190
- readonly const: "event";
5191
- readonly type: "string";
5192
- }, {
5193
- readonly const: "feed";
5194
- readonly type: "string";
5195
- }];
5196
- };
5197
- };
5198
- readonly required: readonly ["kind", "contractId", "surfaceKind", "name"];
5199
- readonly type: "object";
5200
- }, {
5201
- readonly properties: {
5202
- readonly direction: {
5203
- readonly anyOf: readonly [{
5204
- readonly const: "publish";
5205
- readonly type: "string";
5206
- }, {
5207
- readonly const: "subscribe";
5208
- readonly type: "string";
5209
- }];
5210
- };
5211
- readonly grantSource: {
5212
- readonly anyOf: readonly [{
5213
- readonly const: "owned-surface";
5214
- readonly type: "string";
5215
- }, {
5216
- readonly const: "used-surface";
5217
- readonly type: "string";
5218
- }, {
5219
- readonly const: "resource-binding";
5220
- readonly type: "string";
5221
- }, {
5222
- readonly const: "platform-service";
5223
- readonly type: "string";
5224
- }, {
5225
- readonly const: "transfer";
5226
- readonly type: "string";
5227
- }];
5228
- };
5229
- readonly kind: {
5230
- readonly const: "nats";
5231
- readonly type: "string";
5232
- };
5233
- readonly requiredCapabilities: {
5234
- readonly items: {
4986
+ readonly properties: {
4987
+ readonly capabilities: {
4988
+ readonly items: {
4989
+ readonly properties: {
4990
+ readonly capability: {
5235
4991
  readonly minLength: 1;
5236
4992
  readonly type: "string";
5237
4993
  };
5238
- readonly type: "array";
5239
- };
5240
- readonly subject: {
5241
- readonly minLength: 1;
5242
- readonly type: "string";
5243
4994
  };
5244
- readonly surface: {
5245
- readonly properties: {
5246
- readonly action: {
5247
- readonly anyOf: readonly [{
5248
- readonly const: "call";
5249
- readonly type: "string";
5250
- }, {
5251
- readonly const: "publish";
5252
- readonly type: "string";
5253
- }, {
5254
- readonly const: "subscribe";
5255
- readonly type: "string";
5256
- }, {
5257
- readonly const: "observe";
5258
- readonly type: "string";
5259
- }, {
5260
- readonly const: "cancel";
5261
- readonly type: "string";
5262
- }];
5263
- };
5264
- readonly contractId: {
4995
+ readonly required: readonly ["capability"];
4996
+ readonly type: "object";
4997
+ };
4998
+ readonly type: "array";
4999
+ };
5000
+ readonly nats: {
5001
+ readonly items: {
5002
+ readonly properties: {
5003
+ readonly direction: {
5004
+ readonly anyOf: readonly [{
5005
+ readonly const: "publish";
5006
+ readonly type: "string";
5007
+ }, {
5008
+ readonly const: "subscribe";
5009
+ readonly type: "string";
5010
+ }];
5011
+ };
5012
+ readonly grantSource: {
5013
+ readonly anyOf: readonly [{
5014
+ readonly const: "owned-surface";
5015
+ readonly type: "string";
5016
+ }, {
5017
+ readonly const: "used-surface";
5018
+ readonly type: "string";
5019
+ }, {
5020
+ readonly const: "resource-binding";
5021
+ readonly type: "string";
5022
+ }, {
5023
+ readonly const: "platform-service";
5024
+ readonly type: "string";
5025
+ }, {
5026
+ readonly const: "transfer";
5027
+ readonly type: "string";
5028
+ }];
5029
+ };
5030
+ readonly requiredCapabilities: {
5031
+ readonly items: {
5265
5032
  readonly minLength: 1;
5266
5033
  readonly type: "string";
5267
5034
  };
5268
- readonly kind: {
5269
- readonly anyOf: readonly [{
5270
- readonly const: "rpc";
5271
- readonly type: "string";
5272
- }, {
5273
- readonly const: "operation";
5274
- readonly type: "string";
5275
- }, {
5276
- readonly const: "event";
5035
+ readonly type: "array";
5036
+ };
5037
+ readonly subject: {
5038
+ readonly minLength: 1;
5039
+ readonly type: "string";
5040
+ };
5041
+ readonly surface: {
5042
+ readonly properties: {
5043
+ readonly action: {
5044
+ readonly anyOf: readonly [{
5045
+ readonly const: "call";
5046
+ readonly type: "string";
5047
+ }, {
5048
+ readonly const: "publish";
5049
+ readonly type: "string";
5050
+ }, {
5051
+ readonly const: "subscribe";
5052
+ readonly type: "string";
5053
+ }, {
5054
+ readonly const: "observe";
5055
+ readonly type: "string";
5056
+ }, {
5057
+ readonly const: "cancel";
5058
+ readonly type: "string";
5059
+ }];
5060
+ };
5061
+ readonly contractId: {
5062
+ readonly minLength: 1;
5277
5063
  readonly type: "string";
5278
- }, {
5279
- readonly const: "feed";
5064
+ };
5065
+ readonly kind: {
5066
+ readonly anyOf: readonly [{
5067
+ readonly const: "rpc";
5068
+ readonly type: "string";
5069
+ }, {
5070
+ readonly const: "operation";
5071
+ readonly type: "string";
5072
+ }, {
5073
+ readonly const: "event";
5074
+ readonly type: "string";
5075
+ }, {
5076
+ readonly const: "feed";
5077
+ readonly type: "string";
5078
+ }];
5079
+ };
5080
+ readonly name: {
5081
+ readonly minLength: 1;
5280
5082
  readonly type: "string";
5281
- }];
5083
+ };
5282
5084
  };
5283
- readonly name: {
5284
- readonly minLength: 1;
5085
+ readonly required: readonly ["contractId", "kind", "name"];
5086
+ readonly type: "object";
5087
+ };
5088
+ };
5089
+ readonly required: readonly ["direction", "subject", "requiredCapabilities", "grantSource"];
5090
+ readonly type: "object";
5091
+ };
5092
+ readonly type: "array";
5093
+ };
5094
+ readonly surfaces: {
5095
+ readonly items: {
5096
+ readonly properties: {
5097
+ readonly action: {
5098
+ readonly anyOf: readonly [{
5099
+ readonly const: "call";
5285
5100
  readonly type: "string";
5286
- };
5101
+ }, {
5102
+ readonly const: "publish";
5103
+ readonly type: "string";
5104
+ }, {
5105
+ readonly const: "subscribe";
5106
+ readonly type: "string";
5107
+ }, {
5108
+ readonly const: "observe";
5109
+ readonly type: "string";
5110
+ }, {
5111
+ readonly const: "cancel";
5112
+ readonly type: "string";
5113
+ }];
5114
+ };
5115
+ readonly contractId: {
5116
+ readonly minLength: 1;
5117
+ readonly type: "string";
5118
+ };
5119
+ readonly name: {
5120
+ readonly minLength: 1;
5121
+ readonly type: "string";
5122
+ };
5123
+ readonly surfaceKind: {
5124
+ readonly anyOf: readonly [{
5125
+ readonly const: "rpc";
5126
+ readonly type: "string";
5127
+ }, {
5128
+ readonly const: "operation";
5129
+ readonly type: "string";
5130
+ }, {
5131
+ readonly const: "event";
5132
+ readonly type: "string";
5133
+ }, {
5134
+ readonly const: "feed";
5135
+ readonly type: "string";
5136
+ }];
5287
5137
  };
5288
- readonly required: readonly ["contractId", "kind", "name"];
5289
- readonly type: "object";
5290
5138
  };
5139
+ readonly required: readonly ["contractId", "surfaceKind", "name"];
5140
+ readonly type: "object";
5291
5141
  };
5292
- readonly required: readonly ["kind", "direction", "subject", "requiredCapabilities", "grantSource"];
5293
- readonly type: "object";
5294
- }];
5142
+ readonly type: "array";
5143
+ };
5295
5144
  };
5296
- readonly type: "array";
5145
+ readonly required: readonly ["capabilities", "surfaces", "nats"];
5146
+ readonly type: "object";
5297
5147
  };
5298
5148
  readonly reconciledAt: {
5299
5149
  readonly anyOf: readonly [{