@mochabug/adapt-web 0.0.72 → 1.0.0-rc10

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 (97) hide show
  1. package/dist/cjs/genproto/mochabugapis/adapt/automations/v1/automations_pb.js +1 -1
  2. package/dist/cjs/genproto/mochabugapis/adapt/automations/v1/automations_pb.js.map +1 -1
  3. package/dist/cjs/genproto/mochabugapis/adapt/graph/jtd_schema_pb.js +2 -1
  4. package/dist/cjs/genproto/mochabugapis/adapt/graph/jtd_schema_pb.js.map +1 -1
  5. package/dist/cjs/genproto/mochabugapis/adapt/graph/signal_binding_pb.js +1 -1
  6. package/dist/cjs/genproto/mochabugapis/adapt/graph/signal_binding_pb.js.map +1 -1
  7. package/dist/cjs/genproto/mochabugapis/adapt/graph/vertex_metadata_pb.js +1 -1
  8. package/dist/cjs/genproto/mochabugapis/adapt/graph/vertex_metadata_pb.js.map +1 -1
  9. package/dist/cjs/genproto/mochabugapis/adapt/plugins/v1/compound_services_pb.js +33 -0
  10. package/dist/cjs/genproto/mochabugapis/adapt/plugins/v1/compound_services_pb.js.map +1 -0
  11. package/dist/cjs/genproto/mochabugapis/adapt/plugins/v1/file_pb.js +1 -1
  12. package/dist/cjs/genproto/mochabugapis/adapt/plugins/v1/file_pb.js.map +1 -1
  13. package/dist/cjs/genproto/mochabugapis/adapt/plugins/v1/http_proxy_service_pb.js +105 -0
  14. package/dist/cjs/genproto/mochabugapis/adapt/plugins/v1/http_proxy_service_pb.js.map +1 -0
  15. package/dist/cjs/genproto/mochabugapis/adapt/plugins/v1/manifest_pb.js +1 -2
  16. package/dist/cjs/genproto/mochabugapis/adapt/plugins/v1/manifest_pb.js.map +1 -1
  17. package/dist/cjs/genproto/mochabugapis/adapt/plugins/v1/oauth2_service_pb.js +1 -1
  18. package/dist/cjs/genproto/mochabugapis/adapt/plugins/v1/oauth2_service_pb.js.map +1 -1
  19. package/dist/cjs/genproto/mochabugapis/adapt/plugins/v1/plugins_pb.js +1 -1
  20. package/dist/cjs/genproto/mochabugapis/adapt/plugins/v1/plugins_pb.js.map +1 -1
  21. package/dist/cjs/genproto/mochabugapis/adapt/plugins/v1/service_definition_pb.js +3 -2
  22. package/dist/cjs/genproto/mochabugapis/adapt/plugins/v1/service_definition_pb.js.map +1 -1
  23. package/dist/cjs/genproto/mochabugapis/adapt/plugins/v1/service_settings_pb.js +40 -0
  24. package/dist/cjs/genproto/mochabugapis/adapt/plugins/v1/service_settings_pb.js.map +1 -0
  25. package/dist/cjs/genproto/mochabugapis/adapt/plugins/v1/variable_service_pb.js +1 -1
  26. package/dist/cjs/genproto/mochabugapis/adapt/plugins/v1/variable_service_pb.js.map +1 -1
  27. package/dist/cjs/genproto/mochabugapis/adapt/plugins/v1/vertex_pb.js +1 -2
  28. package/dist/cjs/genproto/mochabugapis/adapt/plugins/v1/vertex_pb.js.map +1 -1
  29. package/dist/cjs/genproto/mochabugapis/adapt/runtime/v1/runtime_pb.js +127 -59
  30. package/dist/cjs/genproto/mochabugapis/adapt/runtime/v1/runtime_pb.js.map +1 -1
  31. package/dist/cjs/index.js +52 -24
  32. package/dist/cjs/index.js.map +1 -1
  33. package/dist/cjs/pubsub-client.js +129 -58
  34. package/dist/cjs/pubsub-client.js.map +1 -1
  35. package/dist/esm/genproto/mochabugapis/adapt/automations/v1/automations_pb.js +1 -1
  36. package/dist/esm/genproto/mochabugapis/adapt/automations/v1/automations_pb.js.map +1 -1
  37. package/dist/esm/genproto/mochabugapis/adapt/graph/jtd_schema_pb.js +2 -1
  38. package/dist/esm/genproto/mochabugapis/adapt/graph/jtd_schema_pb.js.map +1 -1
  39. package/dist/esm/genproto/mochabugapis/adapt/graph/signal_binding_pb.js +1 -1
  40. package/dist/esm/genproto/mochabugapis/adapt/graph/signal_binding_pb.js.map +1 -1
  41. package/dist/esm/genproto/mochabugapis/adapt/graph/vertex_metadata_pb.js +1 -1
  42. package/dist/esm/genproto/mochabugapis/adapt/graph/vertex_metadata_pb.js.map +1 -1
  43. package/dist/esm/genproto/mochabugapis/adapt/plugins/v1/compound_services_pb.js +30 -0
  44. package/dist/esm/genproto/mochabugapis/adapt/plugins/v1/compound_services_pb.js.map +1 -0
  45. package/dist/esm/genproto/mochabugapis/adapt/plugins/v1/file_pb.js +1 -1
  46. package/dist/esm/genproto/mochabugapis/adapt/plugins/v1/file_pb.js.map +1 -1
  47. package/dist/esm/genproto/mochabugapis/adapt/plugins/v1/http_proxy_service_pb.js +102 -0
  48. package/dist/esm/genproto/mochabugapis/adapt/plugins/v1/http_proxy_service_pb.js.map +1 -0
  49. package/dist/esm/genproto/mochabugapis/adapt/plugins/v1/manifest_pb.js +1 -2
  50. package/dist/esm/genproto/mochabugapis/adapt/plugins/v1/manifest_pb.js.map +1 -1
  51. package/dist/esm/genproto/mochabugapis/adapt/plugins/v1/oauth2_service_pb.js +1 -1
  52. package/dist/esm/genproto/mochabugapis/adapt/plugins/v1/oauth2_service_pb.js.map +1 -1
  53. package/dist/esm/genproto/mochabugapis/adapt/plugins/v1/plugins_pb.js +1 -1
  54. package/dist/esm/genproto/mochabugapis/adapt/plugins/v1/plugins_pb.js.map +1 -1
  55. package/dist/esm/genproto/mochabugapis/adapt/plugins/v1/service_definition_pb.js +3 -2
  56. package/dist/esm/genproto/mochabugapis/adapt/plugins/v1/service_definition_pb.js.map +1 -1
  57. package/dist/esm/genproto/mochabugapis/adapt/plugins/v1/service_settings_pb.js +37 -0
  58. package/dist/esm/genproto/mochabugapis/adapt/plugins/v1/service_settings_pb.js.map +1 -0
  59. package/dist/esm/genproto/mochabugapis/adapt/plugins/v1/variable_service_pb.js +1 -1
  60. package/dist/esm/genproto/mochabugapis/adapt/plugins/v1/variable_service_pb.js.map +1 -1
  61. package/dist/esm/genproto/mochabugapis/adapt/plugins/v1/vertex_pb.js +1 -2
  62. package/dist/esm/genproto/mochabugapis/adapt/plugins/v1/vertex_pb.js.map +1 -1
  63. package/dist/esm/genproto/mochabugapis/adapt/runtime/v1/runtime_pb.js +125 -58
  64. package/dist/esm/genproto/mochabugapis/adapt/runtime/v1/runtime_pb.js.map +1 -1
  65. package/dist/esm/index.js +52 -24
  66. package/dist/esm/index.js.map +1 -1
  67. package/dist/esm/pubsub-client.js +130 -59
  68. package/dist/esm/pubsub-client.js.map +1 -1
  69. package/dist/types/genproto/mochabugapis/adapt/graph/jtd_schema_pb.d.ts +188 -14
  70. package/dist/types/genproto/mochabugapis/adapt/graph/signal_binding_pb.d.ts +2 -2
  71. package/dist/types/genproto/mochabugapis/adapt/plugins/v1/compound_services_pb.d.ts +346 -0
  72. package/dist/types/genproto/mochabugapis/adapt/plugins/v1/http_proxy_service_pb.d.ts +1281 -0
  73. package/dist/types/genproto/mochabugapis/adapt/plugins/v1/manifest_pb.d.ts +184 -21
  74. package/dist/types/genproto/mochabugapis/adapt/plugins/v1/oauth2_service_pb.d.ts +100 -2
  75. package/dist/types/genproto/mochabugapis/adapt/plugins/v1/plugins_pb.d.ts +28 -4
  76. package/dist/types/genproto/mochabugapis/adapt/plugins/v1/service_definition_pb.d.ts +141 -18
  77. package/dist/types/genproto/mochabugapis/adapt/plugins/v1/service_settings_pb.d.ts +538 -0
  78. package/dist/types/genproto/mochabugapis/adapt/plugins/v1/variable_service_pb.d.ts +130 -2
  79. package/dist/types/genproto/mochabugapis/adapt/plugins/v1/vertex_pb.d.ts +36 -9
  80. package/dist/types/genproto/mochabugapis/adapt/runtime/v1/runtime_pb.d.ts +407 -131
  81. package/dist/types/pubsub-client.d.ts +8 -1
  82. package/package.json +8 -9
  83. package/dist/cjs/genproto/mochabugapis/adapt/plugins/v1/oneof_service_pb.js +0 -30
  84. package/dist/cjs/genproto/mochabugapis/adapt/plugins/v1/oneof_service_pb.js.map +0 -1
  85. package/dist/cjs/genproto/mochabugapis/adapt/plugins/v1/service_binding_pb.js +0 -33
  86. package/dist/cjs/genproto/mochabugapis/adapt/plugins/v1/service_binding_pb.js.map +0 -1
  87. package/dist/cjs/genproto/mochabugapis/adapt/plugins/v1/tls_service_pb.js +0 -64
  88. package/dist/cjs/genproto/mochabugapis/adapt/plugins/v1/tls_service_pb.js.map +0 -1
  89. package/dist/esm/genproto/mochabugapis/adapt/plugins/v1/oneof_service_pb.js +0 -27
  90. package/dist/esm/genproto/mochabugapis/adapt/plugins/v1/oneof_service_pb.js.map +0 -1
  91. package/dist/esm/genproto/mochabugapis/adapt/plugins/v1/service_binding_pb.js +0 -30
  92. package/dist/esm/genproto/mochabugapis/adapt/plugins/v1/service_binding_pb.js.map +0 -1
  93. package/dist/esm/genproto/mochabugapis/adapt/plugins/v1/tls_service_pb.js +0 -61
  94. package/dist/esm/genproto/mochabugapis/adapt/plugins/v1/tls_service_pb.js.map +0 -1
  95. package/dist/types/genproto/mochabugapis/adapt/plugins/v1/oneof_service_pb.d.ts +0 -93
  96. package/dist/types/genproto/mochabugapis/adapt/plugins/v1/service_binding_pb.d.ts +0 -137
  97. package/dist/types/genproto/mochabugapis/adapt/plugins/v1/tls_service_pb.d.ts +0 -150
@@ -1,6 +1,8 @@
1
1
  import type { GenEnum, GenFile, GenMessage, GenService } from "@bufbuild/protobuf/codegenv2";
2
2
  import type { FieldMask, FieldMaskJson, Timestamp, TimestampJson, Value, ValueJson } from "@bufbuild/protobuf/wkt";
3
3
  import type { Status, StatusJson } from "../../automations/v1/automations_pb.js";
4
+ import type { JTDSchema, JTDSchemaJson } from "../../graph/jtd_schema_pb.js";
5
+ import type { Transmitter, TransmitterJson } from "../../graph/transmitter_pb.js";
4
6
  import type { VertexMetadata, VertexMetadataJson } from "../../graph/vertex_metadata_pb.js";
5
7
  import type { GetOp, GetOpJson, GlobalResponseStatus, GlobalResponseStatusJson, ReadOperationResult, ReadOperationResultJson, WriteOperation, WriteOperationJson, WriteOperationResult, WriteOperationResultJson } from "./store_pb.js";
6
8
  import type { Message } from "@bufbuild/protobuf";
@@ -8,51 +10,6 @@ import type { Message } from "@bufbuild/protobuf";
8
10
  * Describes the file mochabugapis/adapt/runtime/v1/runtime.proto.
9
11
  */
10
12
  export declare const file_mochabugapis_adapt_runtime_v1_runtime: GenFile;
11
- /**
12
- * The service info
13
- *
14
- * @generated from message mochabugapis.adapt.runtime.v1.ServiceInfo
15
- */
16
- export type ServiceInfo = Message<"mochabugapis.adapt.runtime.v1.ServiceInfo"> & {
17
- /**
18
- * If the service is configured or not
19
- *
20
- * @generated from field: bool configured = 1;
21
- */
22
- configured: boolean;
23
- /**
24
- * For a oneof binding, it may select a specific definition
25
- *
26
- * @generated from field: optional string selected = 2;
27
- */
28
- selected?: string;
29
- };
30
- /**
31
- * The service info
32
- *
33
- * @generated from message mochabugapis.adapt.runtime.v1.ServiceInfo
34
- */
35
- export type ServiceInfoJson = {
36
- /**
37
- * If the service is configured or not
38
- *
39
- * @generated from field: bool configured = 1;
40
- */
41
- configured?: boolean;
42
- /**
43
- * For a oneof binding, it may select a specific definition
44
- *
45
- * @generated from field: optional string selected = 2;
46
- */
47
- selected?: string;
48
- };
49
- /**
50
- * Describes the message mochabugapis.adapt.runtime.v1.ServiceInfo.
51
- * Use `create(ServiceInfoSchema)` to create a new message.
52
- */
53
- export declare const ServiceInfoSchema: GenMessage<ServiceInfo, {
54
- jsonType: ServiceInfoJson;
55
- }>;
56
13
  /**
57
14
  * The request to apply operations to the execution store
58
15
  *
@@ -836,12 +793,17 @@ export type ExecutorServiceGetVertexConfigResponse = Message<"mochabugapis.adapt
836
793
  */
837
794
  metadata?: VertexMetadata;
838
795
  /**
839
- * Info about attached user services
796
+ * The services that are actually configured on this vertex
797
+ * For nested services you query with a dot notation path
798
+ * Services that are not configured will not appear in this map
799
+ * For example, oneOf service with the selection option will appear as: "oneof_service.selected_option"
800
+ * Any grouped services will appear as normal, i.e. "grouped_service.nested_service"
801
+ * If the service is not configured (i.e. optional) it will not appear in this map
840
802
  *
841
- * @generated from field: map<string, mochabugapis.adapt.runtime.v1.ServiceInfo> services = 3;
803
+ * @generated from field: map<string, bool> configured_services = 3;
842
804
  */
843
- services: {
844
- [key: string]: ServiceInfo;
805
+ configuredServices: {
806
+ [key: string]: boolean;
845
807
  };
846
808
  };
847
809
  /**
@@ -863,12 +825,17 @@ export type ExecutorServiceGetVertexConfigResponseJson = {
863
825
  */
864
826
  metadata?: VertexMetadataJson;
865
827
  /**
866
- * Info about attached user services
828
+ * The services that are actually configured on this vertex
829
+ * For nested services you query with a dot notation path
830
+ * Services that are not configured will not appear in this map
831
+ * For example, oneOf service with the selection option will appear as: "oneof_service.selected_option"
832
+ * Any grouped services will appear as normal, i.e. "grouped_service.nested_service"
833
+ * If the service is not configured (i.e. optional) it will not appear in this map
867
834
  *
868
- * @generated from field: map<string, mochabugapis.adapt.runtime.v1.ServiceInfo> services = 3;
835
+ * @generated from field: map<string, bool> configured_services = 3;
869
836
  */
870
- services?: {
871
- [key: string]: ServiceInfoJson;
837
+ configuredServices?: {
838
+ [key: string]: boolean;
872
839
  };
873
840
  };
874
841
  /**
@@ -878,6 +845,223 @@ export type ExecutorServiceGetVertexConfigResponseJson = {
878
845
  export declare const ExecutorServiceGetVertexConfigResponseSchema: GenMessage<ExecutorServiceGetVertexConfigResponse, {
879
846
  jsonType: ExecutorServiceGetVertexConfigResponseJson;
880
847
  }>;
848
+ /**
849
+ * The ListIncomingSignalsRequest is used to list the signals on the receiver you query
850
+ * If you have multiple receivers you should call this endpoint multiple times
851
+ *
852
+ * @generated from message mochabugapis.adapt.runtime.v1.ListIncomingSignalsRequest
853
+ */
854
+ export type ListIncomingSignalsRequest = Message<"mochabugapis.adapt.runtime.v1.ListIncomingSignalsRequest"> & {
855
+ /**
856
+ * The receiver you want to check for signals, if not set, the first connected receiver is used
857
+ *
858
+ * @generated from field: optional string receiver = 1;
859
+ */
860
+ receiver?: string;
861
+ /**
862
+ * Optional schemas to filter the signals by. I.e. only return signals that subsumes to at least one schema in the array
863
+ *
864
+ * @generated from field: repeated mochabugapis.adapt.graph.JTDSchema schemas = 2;
865
+ */
866
+ schemas: JTDSchema[];
867
+ /**
868
+ * A fieldmaks to apply to the returned schema
869
+ * I.e. if you want to omit logos you should set this to "vertices" + additional info
870
+ *
871
+ * @generated from field: optional google.protobuf.FieldMask field_mask = 3;
872
+ */
873
+ fieldMask?: FieldMask;
874
+ };
875
+ /**
876
+ * The ListIncomingSignalsRequest is used to list the signals on the receiver you query
877
+ * If you have multiple receivers you should call this endpoint multiple times
878
+ *
879
+ * @generated from message mochabugapis.adapt.runtime.v1.ListIncomingSignalsRequest
880
+ */
881
+ export type ListIncomingSignalsRequestJson = {
882
+ /**
883
+ * The receiver you want to check for signals, if not set, the first connected receiver is used
884
+ *
885
+ * @generated from field: optional string receiver = 1;
886
+ */
887
+ receiver?: string;
888
+ /**
889
+ * Optional schemas to filter the signals by. I.e. only return signals that subsumes to at least one schema in the array
890
+ *
891
+ * @generated from field: repeated mochabugapis.adapt.graph.JTDSchema schemas = 2;
892
+ */
893
+ schemas?: JTDSchemaJson[];
894
+ /**
895
+ * A fieldmaks to apply to the returned schema
896
+ * I.e. if you want to omit logos you should set this to "vertices" + additional info
897
+ *
898
+ * @generated from field: optional google.protobuf.FieldMask field_mask = 3;
899
+ */
900
+ fieldMask?: FieldMaskJson;
901
+ };
902
+ /**
903
+ * Describes the message mochabugapis.adapt.runtime.v1.ListIncomingSignalsRequest.
904
+ * Use `create(ListIncomingSignalsRequestSchema)` to create a new message.
905
+ */
906
+ export declare const ListIncomingSignalsRequestSchema: GenMessage<ListIncomingSignalsRequest, {
907
+ jsonType: ListIncomingSignalsRequestJson;
908
+ }>;
909
+ /**
910
+ * A representation of a signal on a receiver
911
+ *
912
+ * @generated from message mochabugapis.adapt.runtime.v1.IncomingVertices
913
+ */
914
+ export type IncomingVertices = Message<"mochabugapis.adapt.runtime.v1.IncomingVertices"> & {
915
+ /**
916
+ * The vertex id
917
+ *
918
+ * @generated from field: string id = 1;
919
+ */
920
+ id: string;
921
+ /**
922
+ * The label
923
+ *
924
+ * @generated from field: string label = 2;
925
+ */
926
+ label: string;
927
+ /**
928
+ * The description
929
+ *
930
+ * @generated from field: optional string description = 3;
931
+ */
932
+ description?: string;
933
+ /**
934
+ * The transmitters on the vertex
935
+ *
936
+ * @generated from field: repeated mochabugapis.adapt.graph.Transmitter transmitters = 4;
937
+ */
938
+ transmitters: Transmitter[];
939
+ /**
940
+ * We also need to know the vertex type
941
+ *
942
+ * @generated from field: mochabugapis.adapt.runtime.v1.VertexType vertex_type = 5;
943
+ */
944
+ vertexType: VertexType;
945
+ /**
946
+ * Optional logo for the vertex, use it to get the logo from the map
947
+ *
948
+ * @generated from field: optional string logo_id = 6;
949
+ */
950
+ logoId?: string;
951
+ };
952
+ /**
953
+ * A representation of a signal on a receiver
954
+ *
955
+ * @generated from message mochabugapis.adapt.runtime.v1.IncomingVertices
956
+ */
957
+ export type IncomingVerticesJson = {
958
+ /**
959
+ * The vertex id
960
+ *
961
+ * @generated from field: string id = 1;
962
+ */
963
+ id?: string;
964
+ /**
965
+ * The label
966
+ *
967
+ * @generated from field: string label = 2;
968
+ */
969
+ label?: string;
970
+ /**
971
+ * The description
972
+ *
973
+ * @generated from field: optional string description = 3;
974
+ */
975
+ description?: string;
976
+ /**
977
+ * The transmitters on the vertex
978
+ *
979
+ * @generated from field: repeated mochabugapis.adapt.graph.Transmitter transmitters = 4;
980
+ */
981
+ transmitters?: TransmitterJson[];
982
+ /**
983
+ * We also need to know the vertex type
984
+ *
985
+ * @generated from field: mochabugapis.adapt.runtime.v1.VertexType vertex_type = 5;
986
+ */
987
+ vertexType?: VertexTypeJson;
988
+ /**
989
+ * Optional logo for the vertex, use it to get the logo from the map
990
+ *
991
+ * @generated from field: optional string logo_id = 6;
992
+ */
993
+ logoId?: string;
994
+ };
995
+ /**
996
+ * Describes the message mochabugapis.adapt.runtime.v1.IncomingVertices.
997
+ * Use `create(IncomingVerticesSchema)` to create a new message.
998
+ */
999
+ export declare const IncomingVerticesSchema: GenMessage<IncomingVertices, {
1000
+ jsonType: IncomingVerticesJson;
1001
+ }>;
1002
+ /**
1003
+ * The ListIncomingSignalsResponse is used to return the signals on the receiver you query
1004
+ *
1005
+ * @generated from message mochabugapis.adapt.runtime.v1.ListIncomingSignalsResponse
1006
+ */
1007
+ export type ListIncomingSignalsResponse = Message<"mochabugapis.adapt.runtime.v1.ListIncomingSignalsResponse"> & {
1008
+ /**
1009
+ * The incoming vertices
1010
+ *
1011
+ * @generated from field: repeated mochabugapis.adapt.runtime.v1.IncomingVertices vertices = 1;
1012
+ */
1013
+ vertices: IncomingVertices[];
1014
+ /**
1015
+ * A map that maps vertex logo ids to logo
1016
+ *
1017
+ * @generated from field: map<string, string> vertex_logos = 2;
1018
+ */
1019
+ vertexLogos: {
1020
+ [key: string]: string;
1021
+ };
1022
+ /**
1023
+ * The receiver the signals are fetched on
1024
+ * This is set, since otherwise the request would return not found
1025
+ *
1026
+ * @generated from field: string receiver = 3;
1027
+ */
1028
+ receiver: string;
1029
+ };
1030
+ /**
1031
+ * The ListIncomingSignalsResponse is used to return the signals on the receiver you query
1032
+ *
1033
+ * @generated from message mochabugapis.adapt.runtime.v1.ListIncomingSignalsResponse
1034
+ */
1035
+ export type ListIncomingSignalsResponseJson = {
1036
+ /**
1037
+ * The incoming vertices
1038
+ *
1039
+ * @generated from field: repeated mochabugapis.adapt.runtime.v1.IncomingVertices vertices = 1;
1040
+ */
1041
+ vertices?: IncomingVerticesJson[];
1042
+ /**
1043
+ * A map that maps vertex logo ids to logo
1044
+ *
1045
+ * @generated from field: map<string, string> vertex_logos = 2;
1046
+ */
1047
+ vertexLogos?: {
1048
+ [key: string]: string;
1049
+ };
1050
+ /**
1051
+ * The receiver the signals are fetched on
1052
+ * This is set, since otherwise the request would return not found
1053
+ *
1054
+ * @generated from field: string receiver = 3;
1055
+ */
1056
+ receiver?: string;
1057
+ };
1058
+ /**
1059
+ * Describes the message mochabugapis.adapt.runtime.v1.ListIncomingSignalsResponse.
1060
+ * Use `create(ListIncomingSignalsResponseSchema)` to create a new message.
1061
+ */
1062
+ export declare const ListIncomingSignalsResponseSchema: GenMessage<ListIncomingSignalsResponse, {
1063
+ jsonType: ListIncomingSignalsResponseJson;
1064
+ }>;
881
1065
  /**
882
1066
  * The batch store operation for the configuration store
883
1067
  *
@@ -1114,12 +1298,17 @@ export type ConfiguratorServiceGetVertexConfigResponse = Message<"mochabugapis.a
1114
1298
  */
1115
1299
  metadata?: VertexMetadata;
1116
1300
  /**
1117
- * Info about attached user services
1301
+ * The services that are actually configured on this vertex
1302
+ * For nested services you query with a dot notation path
1303
+ * Services that are not configured will not appear in this map
1304
+ * For example, oneOf service with the selection option will appear as: "oneof_service.selected_option"
1305
+ * Any grouped services will appear as normal, i.e. "grouped_service.nested_service"
1306
+ * If the service is not configured (i.e. optional) it will not appear in this map
1118
1307
  *
1119
- * @generated from field: map<string, mochabugapis.adapt.runtime.v1.ServiceInfo> services = 3;
1308
+ * @generated from field: map<string, bool> configured_services = 3;
1120
1309
  */
1121
- services: {
1122
- [key: string]: ServiceInfo;
1310
+ configuredServices: {
1311
+ [key: string]: boolean;
1123
1312
  };
1124
1313
  };
1125
1314
  /**
@@ -1141,12 +1330,17 @@ export type ConfiguratorServiceGetVertexConfigResponseJson = {
1141
1330
  */
1142
1331
  metadata?: VertexMetadataJson;
1143
1332
  /**
1144
- * Info about attached user services
1333
+ * The services that are actually configured on this vertex
1334
+ * For nested services you query with a dot notation path
1335
+ * Services that are not configured will not appear in this map
1336
+ * For example, oneOf service with the selection option will appear as: "oneof_service.selected_option"
1337
+ * Any grouped services will appear as normal, i.e. "grouped_service.nested_service"
1338
+ * If the service is not configured (i.e. optional) it will not appear in this map
1145
1339
  *
1146
- * @generated from field: map<string, mochabugapis.adapt.runtime.v1.ServiceInfo> services = 3;
1340
+ * @generated from field: map<string, bool> configured_services = 3;
1147
1341
  */
1148
- services?: {
1149
- [key: string]: ServiceInfoJson;
1342
+ configuredServices?: {
1343
+ [key: string]: boolean;
1150
1344
  };
1151
1345
  };
1152
1346
  /**
@@ -1267,58 +1461,68 @@ export declare const PostVertexConfigResponseSchema: GenMessage<PostVertexConfig
1267
1461
  /**
1268
1462
  * The request to get the services
1269
1463
  *
1270
- * @generated from message mochabugapis.adapt.runtime.v1.GetServicesRequest
1464
+ * @generated from message mochabugapis.adapt.runtime.v1.GetSystemServicesRequest
1271
1465
  */
1272
- export type GetServicesRequest = Message<"mochabugapis.adapt.runtime.v1.GetServicesRequest"> & {};
1466
+ export type GetSystemServicesRequest = Message<"mochabugapis.adapt.runtime.v1.GetSystemServicesRequest"> & {};
1273
1467
  /**
1274
1468
  * The request to get the services
1275
1469
  *
1276
- * @generated from message mochabugapis.adapt.runtime.v1.GetServicesRequest
1470
+ * @generated from message mochabugapis.adapt.runtime.v1.GetSystemServicesRequest
1277
1471
  */
1278
- export type GetServicesRequestJson = {};
1472
+ export type GetSystemServicesRequestJson = {};
1279
1473
  /**
1280
- * Describes the message mochabugapis.adapt.runtime.v1.GetServicesRequest.
1281
- * Use `create(GetServicesRequestSchema)` to create a new message.
1474
+ * Describes the message mochabugapis.adapt.runtime.v1.GetSystemServicesRequest.
1475
+ * Use `create(GetSystemServicesRequestSchema)` to create a new message.
1282
1476
  */
1283
- export declare const GetServicesRequestSchema: GenMessage<GetServicesRequest, {
1284
- jsonType: GetServicesRequestJson;
1477
+ export declare const GetSystemServicesRequestSchema: GenMessage<GetSystemServicesRequest, {
1478
+ jsonType: GetSystemServicesRequestJson;
1285
1479
  }>;
1286
1480
  /**
1287
1481
  * The response of getting the services
1288
1482
  *
1289
- * @generated from message mochabugapis.adapt.runtime.v1.GetServicesResponse
1483
+ * @generated from message mochabugapis.adapt.runtime.v1.GetSystemServicesResponse
1290
1484
  */
1291
- export type GetServicesResponse = Message<"mochabugapis.adapt.runtime.v1.GetServicesResponse"> & {
1485
+ export type GetSystemServicesResponse = Message<"mochabugapis.adapt.runtime.v1.GetSystemServicesResponse"> & {
1292
1486
  /**
1293
- * Info about attached system services (configured by the system author only!)
1487
+ * The services that are configured for the system
1488
+ * For nested services you query with a dot notation path
1489
+ * Services that are not configured will not appear in this map
1490
+ * For example, oneOf service with the selection option will appear as: "oneof_service.selected_option"
1491
+ * Any grouped services will appear as normal, i.e. "grouped_service.nested_service"
1492
+ * If the service is not configured (i.e. optional) it will not appear in this map
1294
1493
  *
1295
- * @generated from field: map<string, mochabugapis.adapt.runtime.v1.ServiceInfo> services = 1;
1494
+ * @generated from field: map<string, bool> configured_services = 1;
1296
1495
  */
1297
- services: {
1298
- [key: string]: ServiceInfo;
1496
+ configuredServices: {
1497
+ [key: string]: boolean;
1299
1498
  };
1300
1499
  };
1301
1500
  /**
1302
1501
  * The response of getting the services
1303
1502
  *
1304
- * @generated from message mochabugapis.adapt.runtime.v1.GetServicesResponse
1503
+ * @generated from message mochabugapis.adapt.runtime.v1.GetSystemServicesResponse
1305
1504
  */
1306
- export type GetServicesResponseJson = {
1505
+ export type GetSystemServicesResponseJson = {
1307
1506
  /**
1308
- * Info about attached system services (configured by the system author only!)
1507
+ * The services that are configured for the system
1508
+ * For nested services you query with a dot notation path
1509
+ * Services that are not configured will not appear in this map
1510
+ * For example, oneOf service with the selection option will appear as: "oneof_service.selected_option"
1511
+ * Any grouped services will appear as normal, i.e. "grouped_service.nested_service"
1512
+ * If the service is not configured (i.e. optional) it will not appear in this map
1309
1513
  *
1310
- * @generated from field: map<string, mochabugapis.adapt.runtime.v1.ServiceInfo> services = 1;
1514
+ * @generated from field: map<string, bool> configured_services = 1;
1311
1515
  */
1312
- services?: {
1313
- [key: string]: ServiceInfoJson;
1516
+ configuredServices?: {
1517
+ [key: string]: boolean;
1314
1518
  };
1315
1519
  };
1316
1520
  /**
1317
- * Describes the message mochabugapis.adapt.runtime.v1.GetServicesResponse.
1318
- * Use `create(GetServicesResponseSchema)` to create a new message.
1521
+ * Describes the message mochabugapis.adapt.runtime.v1.GetSystemServicesResponse.
1522
+ * Use `create(GetSystemServicesResponseSchema)` to create a new message.
1319
1523
  */
1320
- export declare const GetServicesResponseSchema: GenMessage<GetServicesResponse, {
1321
- jsonType: GetServicesResponseJson;
1524
+ export declare const GetSystemServicesResponseSchema: GenMessage<GetSystemServicesResponse, {
1525
+ jsonType: GetSystemServicesResponseJson;
1322
1526
  }>;
1323
1527
  /**
1324
1528
  * Check if access token is ok
@@ -1375,9 +1579,9 @@ export declare const AuthorizeResponseSchema: GenMessage<AuthorizeResponse, {
1375
1579
  /**
1376
1580
  * The request to get multiple environmental variabes
1377
1581
  *
1378
- * @generated from message mochabugapis.adapt.runtime.v1.BatchGetVariablesRequest
1582
+ * @generated from message mochabugapis.adapt.runtime.v1.BatchGetSystemVariablesRequest
1379
1583
  */
1380
- export type BatchGetVariablesRequest = Message<"mochabugapis.adapt.runtime.v1.BatchGetVariablesRequest"> & {
1584
+ export type BatchGetSystemVariablesRequest = Message<"mochabugapis.adapt.runtime.v1.BatchGetSystemVariablesRequest"> & {
1381
1585
  /**
1382
1586
  * The names of the variables to fetch
1383
1587
  *
@@ -1388,9 +1592,9 @@ export type BatchGetVariablesRequest = Message<"mochabugapis.adapt.runtime.v1.Ba
1388
1592
  /**
1389
1593
  * The request to get multiple environmental variabes
1390
1594
  *
1391
- * @generated from message mochabugapis.adapt.runtime.v1.BatchGetVariablesRequest
1595
+ * @generated from message mochabugapis.adapt.runtime.v1.BatchGetSystemVariablesRequest
1392
1596
  */
1393
- export type BatchGetVariablesRequestJson = {
1597
+ export type BatchGetSystemVariablesRequestJson = {
1394
1598
  /**
1395
1599
  * The names of the variables to fetch
1396
1600
  *
@@ -1399,18 +1603,18 @@ export type BatchGetVariablesRequestJson = {
1399
1603
  names?: string[];
1400
1604
  };
1401
1605
  /**
1402
- * Describes the message mochabugapis.adapt.runtime.v1.BatchGetVariablesRequest.
1403
- * Use `create(BatchGetVariablesRequestSchema)` to create a new message.
1606
+ * Describes the message mochabugapis.adapt.runtime.v1.BatchGetSystemVariablesRequest.
1607
+ * Use `create(BatchGetSystemVariablesRequestSchema)` to create a new message.
1404
1608
  */
1405
- export declare const BatchGetVariablesRequestSchema: GenMessage<BatchGetVariablesRequest, {
1406
- jsonType: BatchGetVariablesRequestJson;
1609
+ export declare const BatchGetSystemVariablesRequestSchema: GenMessage<BatchGetSystemVariablesRequest, {
1610
+ jsonType: BatchGetSystemVariablesRequestJson;
1407
1611
  }>;
1408
1612
  /**
1409
1613
  * The response of getting multiple environmental variabes
1410
1614
  *
1411
- * @generated from message mochabugapis.adapt.runtime.v1.BatchGetVariablesResponse
1615
+ * @generated from message mochabugapis.adapt.runtime.v1.BatchGetSystemVariablesResponse
1412
1616
  */
1413
- export type BatchGetVariablesResponse = Message<"mochabugapis.adapt.runtime.v1.BatchGetVariablesResponse"> & {
1617
+ export type BatchGetSystemVariablesResponse = Message<"mochabugapis.adapt.runtime.v1.BatchGetSystemVariablesResponse"> & {
1414
1618
  /**
1415
1619
  * name, value pairs
1416
1620
  *
@@ -1423,9 +1627,9 @@ export type BatchGetVariablesResponse = Message<"mochabugapis.adapt.runtime.v1.B
1423
1627
  /**
1424
1628
  * The response of getting multiple environmental variabes
1425
1629
  *
1426
- * @generated from message mochabugapis.adapt.runtime.v1.BatchGetVariablesResponse
1630
+ * @generated from message mochabugapis.adapt.runtime.v1.BatchGetSystemVariablesResponse
1427
1631
  */
1428
- export type BatchGetVariablesResponseJson = {
1632
+ export type BatchGetSystemVariablesResponseJson = {
1429
1633
  /**
1430
1634
  * name, value pairs
1431
1635
  *
@@ -1436,11 +1640,11 @@ export type BatchGetVariablesResponseJson = {
1436
1640
  };
1437
1641
  };
1438
1642
  /**
1439
- * Describes the message mochabugapis.adapt.runtime.v1.BatchGetVariablesResponse.
1440
- * Use `create(BatchGetVariablesResponseSchema)` to create a new message.
1643
+ * Describes the message mochabugapis.adapt.runtime.v1.BatchGetSystemVariablesResponse.
1644
+ * Use `create(BatchGetSystemVariablesResponseSchema)` to create a new message.
1441
1645
  */
1442
- export declare const BatchGetVariablesResponseSchema: GenMessage<BatchGetVariablesResponse, {
1443
- jsonType: BatchGetVariablesResponseJson;
1646
+ export declare const BatchGetSystemVariablesResponseSchema: GenMessage<BatchGetSystemVariablesResponse, {
1647
+ jsonType: BatchGetSystemVariablesResponseJson;
1444
1648
  }>;
1445
1649
  /**
1446
1650
  * The request to get multiple environmental variabes
@@ -1585,9 +1789,9 @@ export declare const BatchGetUserTokensResponseSchema: GenMessage<BatchGetUserTo
1585
1789
  /**
1586
1790
  * The request to get multiple oauth2 tokens
1587
1791
  *
1588
- * @generated from message mochabugapis.adapt.runtime.v1.BatchGetTokensRequest
1792
+ * @generated from message mochabugapis.adapt.runtime.v1.BatchGetSystemTokensRequest
1589
1793
  */
1590
- export type BatchGetTokensRequest = Message<"mochabugapis.adapt.runtime.v1.BatchGetTokensRequest"> & {
1794
+ export type BatchGetSystemTokensRequest = Message<"mochabugapis.adapt.runtime.v1.BatchGetSystemTokensRequest"> & {
1591
1795
  /**
1592
1796
  * The names of the tokens to fetch
1593
1797
  *
@@ -1598,9 +1802,9 @@ export type BatchGetTokensRequest = Message<"mochabugapis.adapt.runtime.v1.Batch
1598
1802
  /**
1599
1803
  * The request to get multiple oauth2 tokens
1600
1804
  *
1601
- * @generated from message mochabugapis.adapt.runtime.v1.BatchGetTokensRequest
1805
+ * @generated from message mochabugapis.adapt.runtime.v1.BatchGetSystemTokensRequest
1602
1806
  */
1603
- export type BatchGetTokensRequestJson = {
1807
+ export type BatchGetSystemTokensRequestJson = {
1604
1808
  /**
1605
1809
  * The names of the tokens to fetch
1606
1810
  *
@@ -1609,18 +1813,18 @@ export type BatchGetTokensRequestJson = {
1609
1813
  names?: string[];
1610
1814
  };
1611
1815
  /**
1612
- * Describes the message mochabugapis.adapt.runtime.v1.BatchGetTokensRequest.
1613
- * Use `create(BatchGetTokensRequestSchema)` to create a new message.
1816
+ * Describes the message mochabugapis.adapt.runtime.v1.BatchGetSystemTokensRequest.
1817
+ * Use `create(BatchGetSystemTokensRequestSchema)` to create a new message.
1614
1818
  */
1615
- export declare const BatchGetTokensRequestSchema: GenMessage<BatchGetTokensRequest, {
1616
- jsonType: BatchGetTokensRequestJson;
1819
+ export declare const BatchGetSystemTokensRequestSchema: GenMessage<BatchGetSystemTokensRequest, {
1820
+ jsonType: BatchGetSystemTokensRequestJson;
1617
1821
  }>;
1618
1822
  /**
1619
1823
  * The response of getting multiple oauth2 tokens
1620
1824
  *
1621
- * @generated from message mochabugapis.adapt.runtime.v1.BatchGetTokensResponse
1825
+ * @generated from message mochabugapis.adapt.runtime.v1.BatchGetSystemTokensResponse
1622
1826
  */
1623
- export type BatchGetTokensResponse = Message<"mochabugapis.adapt.runtime.v1.BatchGetTokensResponse"> & {
1827
+ export type BatchGetSystemTokensResponse = Message<"mochabugapis.adapt.runtime.v1.BatchGetSystemTokensResponse"> & {
1624
1828
  /**
1625
1829
  * Name, token pairs
1626
1830
  *
@@ -1633,9 +1837,9 @@ export type BatchGetTokensResponse = Message<"mochabugapis.adapt.runtime.v1.Batc
1633
1837
  /**
1634
1838
  * The response of getting multiple oauth2 tokens
1635
1839
  *
1636
- * @generated from message mochabugapis.adapt.runtime.v1.BatchGetTokensResponse
1840
+ * @generated from message mochabugapis.adapt.runtime.v1.BatchGetSystemTokensResponse
1637
1841
  */
1638
- export type BatchGetTokensResponseJson = {
1842
+ export type BatchGetSystemTokensResponseJson = {
1639
1843
  /**
1640
1844
  * Name, token pairs
1641
1845
  *
@@ -1646,11 +1850,11 @@ export type BatchGetTokensResponseJson = {
1646
1850
  };
1647
1851
  };
1648
1852
  /**
1649
- * Describes the message mochabugapis.adapt.runtime.v1.BatchGetTokensResponse.
1650
- * Use `create(BatchGetTokensResponseSchema)` to create a new message.
1853
+ * Describes the message mochabugapis.adapt.runtime.v1.BatchGetSystemTokensResponse.
1854
+ * Use `create(BatchGetSystemTokensResponseSchema)` to create a new message.
1651
1855
  */
1652
- export declare const BatchGetTokensResponseSchema: GenMessage<BatchGetTokensResponse, {
1653
- jsonType: BatchGetTokensResponseJson;
1856
+ export declare const BatchGetSystemTokensResponseSchema: GenMessage<BatchGetSystemTokensResponse, {
1857
+ jsonType: BatchGetSystemTokensResponseJson;
1654
1858
  }>;
1655
1859
  /**
1656
1860
  * A representation of a OAuth2 token
@@ -1810,6 +2014,67 @@ export type NamespaceJson = "NAMESPACE_UNSPECIFIED" | "NAMESPACE_VERTEX_INSTANCE
1810
2014
  * Describes the enum mochabugapis.adapt.runtime.v1.Namespace.
1811
2015
  */
1812
2016
  export declare const NamespaceSchema: GenEnum<Namespace, NamespaceJson>;
2017
+ /**
2018
+ * The different vertex types that can be incoming
2019
+ * The type of vertex to add
2020
+ *
2021
+ * @generated from enum mochabugapis.adapt.runtime.v1.VertexType
2022
+ */
2023
+ export declare enum VertexType {
2024
+ /**
2025
+ * Not specified
2026
+ *
2027
+ * @generated from enum value: VERTEX_TYPE_UNSPECIFIED = 0;
2028
+ */
2029
+ UNSPECIFIED = 0,
2030
+ /**
2031
+ * The start vertex
2032
+ *
2033
+ * @generated from enum value: VERTEX_TYPE_START = 1;
2034
+ */
2035
+ START = 1,
2036
+ /**
2037
+ * The plugin vertex
2038
+ *
2039
+ * @generated from enum value: VERTEX_TYPE_PLUGIN = 2;
2040
+ */
2041
+ PLUGIN = 2,
2042
+ /**
2043
+ * The output vertex
2044
+ *
2045
+ * @generated from enum value: VERTEX_TYPE_OUTPUT = 3;
2046
+ */
2047
+ OUTPUT = 3,
2048
+ /**
2049
+ * The delegate vertex
2050
+ *
2051
+ * @generated from enum value: VERTEX_TYPE_DELEGATE = 4;
2052
+ */
2053
+ DELEGATE = 4,
2054
+ /**
2055
+ * The barrier vertex
2056
+ *
2057
+ * @generated from enum value: VERTEX_TYPE_BARRIER = 5;
2058
+ */
2059
+ BARRIER = 5,
2060
+ /**
2061
+ * The exchange output vertex
2062
+ *
2063
+ * @generated from enum value: VERTEX_TYPE_EXCHANGE_OUT = 6;
2064
+ */
2065
+ EXCHANGE_OUT = 6
2066
+ }
2067
+ /**
2068
+ * The different vertex types that can be incoming
2069
+ * The type of vertex to add
2070
+ *
2071
+ * @generated from enum mochabugapis.adapt.runtime.v1.VertexType
2072
+ */
2073
+ export type VertexTypeJson = "VERTEX_TYPE_UNSPECIFIED" | "VERTEX_TYPE_START" | "VERTEX_TYPE_PLUGIN" | "VERTEX_TYPE_OUTPUT" | "VERTEX_TYPE_DELEGATE" | "VERTEX_TYPE_BARRIER" | "VERTEX_TYPE_EXCHANGE_OUT";
2074
+ /**
2075
+ * Describes the enum mochabugapis.adapt.runtime.v1.VertexType.
2076
+ */
2077
+ export declare const VertexTypeSchema: GenEnum<VertexType, VertexTypeJson>;
1813
2078
  /**
1814
2079
  * Executor service is containg the complete API available to a executor of a
1815
2080
  * vertex. Every call on this service will require an Authoriation header
@@ -1976,6 +2241,17 @@ export declare const ConfiguratorService: GenService<{
1976
2241
  input: typeof ConfiguratorServiceBatchReadStoreRequestSchema;
1977
2242
  output: typeof ConfiguratorServiceBatchReadStoreResponseSchema;
1978
2243
  };
2244
+ /**
2245
+ * This endpoint enables the configurator to get information about incoming signals
2246
+ * Valid scopes: runtimeapi/configurator, runtimeapi/configurator.receiversignals:read
2247
+ *
2248
+ * @generated from rpc mochabugapis.adapt.runtime.v1.ConfiguratorService.ListIncomingSignals
2249
+ */
2250
+ listIncomingSignals: {
2251
+ methodKind: "unary";
2252
+ input: typeof ListIncomingSignalsRequestSchema;
2253
+ output: typeof ListIncomingSignalsResponseSchema;
2254
+ };
1979
2255
  }>;
1980
2256
  /**
1981
2257
  * Accessible to both executor and configurator
@@ -1995,26 +2271,26 @@ export declare const PluginService: GenService<{
1995
2271
  output: typeof AuthorizeResponseSchema;
1996
2272
  };
1997
2273
  /**
1998
- * Get information about configured services
1999
- * Valid scopes: runtimeapi/plugin, runtimeapi/plugin.variables:read
2274
+ * Get information about configured system services
2275
+ * Valid scopes: runtimeapi/plugin, runtimeapi/plugin.system.services:read
2000
2276
  *
2001
- * @generated from rpc mochabugapis.adapt.runtime.v1.PluginService.GetServices
2277
+ * @generated from rpc mochabugapis.adapt.runtime.v1.PluginService.GetSystemServices
2002
2278
  */
2003
- getServices: {
2279
+ getSystemServices: {
2004
2280
  methodKind: "unary";
2005
- input: typeof GetServicesRequestSchema;
2006
- output: typeof GetServicesResponseSchema;
2281
+ input: typeof GetSystemServicesRequestSchema;
2282
+ output: typeof GetSystemServicesResponseSchema;
2007
2283
  };
2008
2284
  /**
2009
2285
  * Fetch the envionment variables configured by the plugin
2010
2286
  * Valid scopes: runtimeapi/plugin, runtimeapi/plugin.variables:read
2011
2287
  *
2012
- * @generated from rpc mochabugapis.adapt.runtime.v1.PluginService.BatchGetVariables
2288
+ * @generated from rpc mochabugapis.adapt.runtime.v1.PluginService.BatchGetSystemVariables
2013
2289
  */
2014
- batchGetVariables: {
2290
+ batchGetSystemVariables: {
2015
2291
  methodKind: "unary";
2016
- input: typeof BatchGetVariablesRequestSchema;
2017
- output: typeof BatchGetVariablesResponseSchema;
2292
+ input: typeof BatchGetSystemVariablesRequestSchema;
2293
+ output: typeof BatchGetSystemVariablesResponseSchema;
2018
2294
  };
2019
2295
  /**
2020
2296
  * Fetch the envionment variables configured by the user
@@ -2042,11 +2318,11 @@ export declare const PluginService: GenService<{
2042
2318
  * Get oauth2 bearer token from a plugin's service account
2043
2319
  * Valid scopes: runtimeapi/plugin, runtimeapi/plugin.tokens:read
2044
2320
  *
2045
- * @generated from rpc mochabugapis.adapt.runtime.v1.PluginService.BatchGetTokens
2321
+ * @generated from rpc mochabugapis.adapt.runtime.v1.PluginService.BatchGetSystemTokens
2046
2322
  */
2047
- batchGetTokens: {
2323
+ batchGetSystemTokens: {
2048
2324
  methodKind: "unary";
2049
- input: typeof BatchGetTokensRequestSchema;
2050
- output: typeof BatchGetTokensResponseSchema;
2325
+ input: typeof BatchGetSystemTokensRequestSchema;
2326
+ output: typeof BatchGetSystemTokensResponseSchema;
2051
2327
  };
2052
2328
  }>;