diff --git a/CHANGELOG.md b/CHANGELOG.md index 5d4879bf..2c95c7a0 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -18,9 +18,10 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 - Fix worker/js helm limits.memory - Update shutdown ordering so critical processes are not terminated prior to the webserver - Change `v1.security.Resource.config.api` type from `google.protobuf.Value` well known type back to `v1.Api` -- Added support for enabling `restapi`, `restapiintegration`, `openapi` and `graphql` plugins to return more verbose HTTP response data in result (e.g. response status text, status code, etc.) -- Added support for configuring whether or not a step using a `restapi`, `restapiintegration`, `openapi` or `graphql` plugin fails if the underlying web request fails - Update dependencies to remove critical vulnerabilities in wget and libexpat1 +- Added support for enabling `restapi`, `restapiintegration`, `openapi`, `graphql` and `graphqlintegration` plugins to return more verbose HTTP response data in result (e.g. response status text, status code, etc.) +- Added support for configuring whether or not a step using a `restapi`, `restapiintegration` or `openapi` plugin fails if the underlying web request fails +- Added support for configuring whether or not a step using a `graphql` or `graphqlintegration` plugin fails if the GraphQL query returns with errors ## v1.14.1 diff --git a/internal/registration/registration.go b/internal/registration/registration.go index f84ef06d..7157a760 100644 --- a/internal/registration/registration.go +++ b/internal/registration/registration.go @@ -30,7 +30,7 @@ var SUPERBLOCKS_PLUGIN_VERSIONS = map[string][]string{ "dynamodb": {"0.0.7"}, "email": {"0.0.7"}, "gcs": {"0.0.1"}, - "graphql": {"0.0.9"}, + "graphql": {"0.0.10"}, "gsheets": {"0.0.18"}, "kafka": {"0.0.1"}, "javascript": {"0.0.9"}, diff --git a/internal/registration/registration_test.go b/internal/registration/registration_test.go index fc102a4a..2defe3fa 100644 --- a/internal/registration/registration_test.go +++ b/internal/registration/registration_test.go @@ -65,5 +65,5 @@ func TestRegistrationRequest(t *testing.T) { assert.Equal(t, "https://foo.bar.com/api/v1/agents/register", request.URL.String()) assert.Equal(t, http.MethodPost, request.Method) assert.Equal(t, expectedRequestHeaders, request.Header) - assert.Equal(t, "{\"pluginVersions\":{\"athena\":[\"0.0.1\"],\"bigquery\":[\"0.0.7\"],\"cockroachdb\":[\"0.0.2\"],\"confluent\":[\"0.0.1\"],\"cosmosdb\":[\"0.0.1\"],\"couchbase\":[\"0.0.2\"],\"databricks\":[\"0.0.1\"],\"dynamodb\":[\"0.0.7\"],\"email\":[\"0.0.7\"],\"gcs\":[\"0.0.1\"],\"graphql\":[\"0.0.9\"],\"gsheets\":[\"0.0.18\"],\"javascript\":[\"0.0.9\"],\"kafka\":[\"0.0.1\"],\"kinesis\":[\"0.0.1\"],\"mariadb\":[\"0.0.11\"],\"mongodb\":[\"0.0.7\"],\"mssql\":[\"0.0.10\"],\"mysql\":[\"0.0.11\"],\"openai\":[\"0.0.3\"],\"oracledb\":[\"0.0.1\"],\"postgres\":[\"0.0.11\"],\"python\":[\"0.0.7\"],\"redis\":[\"0.0.1\"],\"redpanda\":[\"0.0.1\"],\"redshift\":[\"0.0.7\"],\"restapi\":[\"0.0.13\"],\"restapiintegration\":[\"0.0.14\"],\"rockset\":[\"0.0.7\"],\"s3\":[\"0.0.10\"],\"salesforce\":[\"0.0.1\"],\"smtp\":[\"0.0.1\"],\"snowflake\":[\"0.0.7\"],\"superblocks-ocr\":[\"0.0.1\"],\"workflow\":[\"0.0.4\"]},\"type\":2,\"tags\":{\"foo\":[\"bar\"]},\"signingKeyId\":\"123\",\"verificationKeyIds\":[\"123\"],\"verificationKeys\":{\"123\":\"key1\"}}\n", string(body)) + assert.Equal(t, "{\"pluginVersions\":{\"athena\":[\"0.0.1\"],\"bigquery\":[\"0.0.7\"],\"cockroachdb\":[\"0.0.2\"],\"confluent\":[\"0.0.1\"],\"cosmosdb\":[\"0.0.1\"],\"couchbase\":[\"0.0.2\"],\"databricks\":[\"0.0.1\"],\"dynamodb\":[\"0.0.7\"],\"email\":[\"0.0.7\"],\"gcs\":[\"0.0.1\"],\"graphql\":[\"0.0.10\"],\"gsheets\":[\"0.0.18\"],\"javascript\":[\"0.0.9\"],\"kafka\":[\"0.0.1\"],\"kinesis\":[\"0.0.1\"],\"mariadb\":[\"0.0.11\"],\"mongodb\":[\"0.0.7\"],\"mssql\":[\"0.0.10\"],\"mysql\":[\"0.0.11\"],\"openai\":[\"0.0.3\"],\"oracledb\":[\"0.0.1\"],\"postgres\":[\"0.0.11\"],\"python\":[\"0.0.7\"],\"redis\":[\"0.0.1\"],\"redpanda\":[\"0.0.1\"],\"redshift\":[\"0.0.7\"],\"restapi\":[\"0.0.13\"],\"restapiintegration\":[\"0.0.14\"],\"rockset\":[\"0.0.7\"],\"s3\":[\"0.0.10\"],\"salesforce\":[\"0.0.1\"],\"smtp\":[\"0.0.1\"],\"snowflake\":[\"0.0.7\"],\"superblocks-ocr\":[\"0.0.1\"],\"workflow\":[\"0.0.4\"]},\"type\":2,\"tags\":{\"foo\":[\"bar\"]},\"signingKeyId\":\"123\",\"verificationKeyIds\":[\"123\"],\"verificationKeys\":{\"123\":\"key1\"}}\n", string(body)) } diff --git a/types/api/api/v1/service.swagger.json b/types/api/api/v1/service.swagger.json index 9552ee38..174e4ee4 100644 --- a/types/api/api/v1/service.swagger.json +++ b/types/api/api/v1/service.swagger.json @@ -3595,9 +3595,9 @@ "type": "boolean", "title": "Include HTTP response metadata in output" }, - "doNotFailOnRequestError": { + "failOnGraphqlErrors": { "type": "boolean", - "description": "Do not fail executions on failed requests (4xx/5xx). We use the negative here to ensure the default (falsy) behavior matches the existing API behavior." + "title": "Fail executions for GraphQL responses that contain errors" } } }, diff --git a/types/api/security/v1/service.swagger.json b/types/api/security/v1/service.swagger.json index 35bc8f58..970bac9b 100644 --- a/types/api/security/v1/service.swagger.json +++ b/types/api/security/v1/service.swagger.json @@ -2598,9 +2598,9 @@ "type": "boolean", "title": "Include HTTP response metadata in output" }, - "doNotFailOnRequestError": { + "failOnGraphqlErrors": { "type": "boolean", - "description": "Do not fail executions on failed requests (4xx/5xx). We use the negative here to ensure the default (falsy) behavior matches the existing API behavior." + "title": "Fail executions for GraphQL responses that contain errors" } } }, diff --git a/types/gen/go/plugins/graphql/v1/plugin.pb.go b/types/gen/go/plugins/graphql/v1/plugin.pb.go index 2728b4fd..1e9615f2 100644 --- a/types/gen/go/plugins/graphql/v1/plugin.pb.go +++ b/types/gen/go/plugins/graphql/v1/plugin.pb.go @@ -81,13 +81,13 @@ type Plugin struct { sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields - Path string `protobuf:"bytes,1,opt,name=path,proto3" json:"path,omitempty"` - Headers []*v1.Property `protobuf:"bytes,2,rep,name=headers,proto3" json:"headers,omitempty"` - Body string `protobuf:"bytes,3,opt,name=body,proto3" json:"body,omitempty"` - Custom *Custom `protobuf:"bytes,4,opt,name=custom,proto3,oneof" json:"custom,omitempty"` - SuperblocksMetadata *v1.SuperblocksMetadata `protobuf:"bytes,5,opt,name=superblocksMetadata,proto3" json:"superblocksMetadata,omitempty"` - VerboseHttpOutput bool `protobuf:"varint,6,opt,name=verboseHttpOutput,proto3" json:"verboseHttpOutput,omitempty"` // Include HTTP response metadata in output - DoNotFailOnRequestError bool `protobuf:"varint,7,opt,name=doNotFailOnRequestError,proto3" json:"doNotFailOnRequestError,omitempty"` // Do not fail executions on failed requests (4xx/5xx). We use the negative here to ensure the default (falsy) behavior matches the existing API behavior. + Path string `protobuf:"bytes,1,opt,name=path,proto3" json:"path,omitempty"` + Headers []*v1.Property `protobuf:"bytes,2,rep,name=headers,proto3" json:"headers,omitempty"` + Body string `protobuf:"bytes,3,opt,name=body,proto3" json:"body,omitempty"` + Custom *Custom `protobuf:"bytes,4,opt,name=custom,proto3,oneof" json:"custom,omitempty"` + SuperblocksMetadata *v1.SuperblocksMetadata `protobuf:"bytes,5,opt,name=superblocksMetadata,proto3" json:"superblocksMetadata,omitempty"` + VerboseHttpOutput bool `protobuf:"varint,6,opt,name=verboseHttpOutput,proto3" json:"verboseHttpOutput,omitempty"` // Include HTTP response metadata in output + FailOnGraphqlErrors bool `protobuf:"varint,7,opt,name=failOnGraphqlErrors,proto3" json:"failOnGraphqlErrors,omitempty"` // Fail executions for GraphQL responses that contain errors } func (x *Plugin) Reset() { @@ -164,9 +164,9 @@ func (x *Plugin) GetVerboseHttpOutput() bool { return false } -func (x *Plugin) GetDoNotFailOnRequestError() bool { +func (x *Plugin) GetFailOnGraphqlErrors() bool { if x != nil { - return x.DoNotFailOnRequestError + return x.FailOnGraphqlErrors } return false } @@ -186,7 +186,7 @@ var file_plugins_graphql_v1_plugin_proto_rawDesc = []byte{ 0x71, 0x75, 0x65, 0x73, 0x74, 0x46, 0x6f, 0x72, 0x6d, 0x61, 0x74, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x13, 0x2e, 0x63, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x2e, 0x76, 0x31, 0x2e, 0x50, 0x72, 0x6f, 0x70, 0x65, 0x72, 0x74, 0x79, 0x52, 0x0d, 0x72, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x46, - 0x6f, 0x72, 0x6d, 0x61, 0x74, 0x22, 0xdd, 0x02, 0x0a, 0x06, 0x50, 0x6c, 0x75, 0x67, 0x69, 0x6e, + 0x6f, 0x72, 0x6d, 0x61, 0x74, 0x22, 0xd5, 0x02, 0x0a, 0x06, 0x50, 0x6c, 0x75, 0x67, 0x69, 0x6e, 0x12, 0x12, 0x0a, 0x04, 0x70, 0x61, 0x74, 0x68, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x70, 0x61, 0x74, 0x68, 0x12, 0x2d, 0x0a, 0x07, 0x68, 0x65, 0x61, 0x64, 0x65, 0x72, 0x73, 0x18, 0x02, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x13, 0x2e, 0x63, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x2e, 0x76, @@ -204,16 +204,15 @@ var file_plugins_graphql_v1_plugin_proto_rawDesc = []byte{ 0x74, 0x61, 0x12, 0x2c, 0x0a, 0x11, 0x76, 0x65, 0x72, 0x62, 0x6f, 0x73, 0x65, 0x48, 0x74, 0x74, 0x70, 0x4f, 0x75, 0x74, 0x70, 0x75, 0x74, 0x18, 0x06, 0x20, 0x01, 0x28, 0x08, 0x52, 0x11, 0x76, 0x65, 0x72, 0x62, 0x6f, 0x73, 0x65, 0x48, 0x74, 0x74, 0x70, 0x4f, 0x75, 0x74, 0x70, 0x75, 0x74, - 0x12, 0x38, 0x0a, 0x17, 0x64, 0x6f, 0x4e, 0x6f, 0x74, 0x46, 0x61, 0x69, 0x6c, 0x4f, 0x6e, 0x52, - 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x45, 0x72, 0x72, 0x6f, 0x72, 0x18, 0x07, 0x20, 0x01, 0x28, - 0x08, 0x52, 0x17, 0x64, 0x6f, 0x4e, 0x6f, 0x74, 0x46, 0x61, 0x69, 0x6c, 0x4f, 0x6e, 0x52, 0x65, - 0x71, 0x75, 0x65, 0x73, 0x74, 0x45, 0x72, 0x72, 0x6f, 0x72, 0x42, 0x09, 0x0a, 0x07, 0x5f, 0x63, - 0x75, 0x73, 0x74, 0x6f, 0x6d, 0x42, 0x42, 0x5a, 0x40, 0x67, 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e, - 0x63, 0x6f, 0x6d, 0x2f, 0x73, 0x75, 0x70, 0x65, 0x72, 0x62, 0x6c, 0x6f, 0x63, 0x6b, 0x73, 0x74, - 0x65, 0x61, 0x6d, 0x2f, 0x61, 0x67, 0x65, 0x6e, 0x74, 0x2f, 0x74, 0x79, 0x70, 0x65, 0x73, 0x2f, - 0x67, 0x65, 0x6e, 0x2f, 0x67, 0x6f, 0x2f, 0x70, 0x6c, 0x75, 0x67, 0x69, 0x6e, 0x73, 0x2f, 0x67, - 0x72, 0x61, 0x70, 0x68, 0x71, 0x6c, 0x2f, 0x76, 0x31, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, - 0x33, + 0x12, 0x30, 0x0a, 0x13, 0x66, 0x61, 0x69, 0x6c, 0x4f, 0x6e, 0x47, 0x72, 0x61, 0x70, 0x68, 0x71, + 0x6c, 0x45, 0x72, 0x72, 0x6f, 0x72, 0x73, 0x18, 0x07, 0x20, 0x01, 0x28, 0x08, 0x52, 0x13, 0x66, + 0x61, 0x69, 0x6c, 0x4f, 0x6e, 0x47, 0x72, 0x61, 0x70, 0x68, 0x71, 0x6c, 0x45, 0x72, 0x72, 0x6f, + 0x72, 0x73, 0x42, 0x09, 0x0a, 0x07, 0x5f, 0x63, 0x75, 0x73, 0x74, 0x6f, 0x6d, 0x42, 0x42, 0x5a, + 0x40, 0x67, 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x73, 0x75, 0x70, 0x65, + 0x72, 0x62, 0x6c, 0x6f, 0x63, 0x6b, 0x73, 0x74, 0x65, 0x61, 0x6d, 0x2f, 0x61, 0x67, 0x65, 0x6e, + 0x74, 0x2f, 0x74, 0x79, 0x70, 0x65, 0x73, 0x2f, 0x67, 0x65, 0x6e, 0x2f, 0x67, 0x6f, 0x2f, 0x70, + 0x6c, 0x75, 0x67, 0x69, 0x6e, 0x73, 0x2f, 0x67, 0x72, 0x61, 0x70, 0x68, 0x71, 0x6c, 0x2f, 0x76, + 0x31, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, } var ( diff --git a/types/gen/go/plugins/graphql/v1/plugin.pb.validate.go b/types/gen/go/plugins/graphql/v1/plugin.pb.validate.go index 6235828a..54438bf1 100644 --- a/types/gen/go/plugins/graphql/v1/plugin.pb.validate.go +++ b/types/gen/go/plugins/graphql/v1/plugin.pb.validate.go @@ -281,7 +281,7 @@ func (m *Plugin) validate(all bool) error { // no validation rules for VerboseHttpOutput - // no validation rules for DoNotFailOnRequestError + // no validation rules for FailOnGraphqlErrors if m.Custom != nil { diff --git a/types/gen/js/plugins/graphql/v1/plugin_pb.d.ts b/types/gen/js/plugins/graphql/v1/plugin_pb.d.ts index 3aad56b2..5374874d 100644 --- a/types/gen/js/plugins/graphql/v1/plugin_pb.d.ts +++ b/types/gen/js/plugins/graphql/v1/plugin_pb.d.ts @@ -57,8 +57,8 @@ export class Plugin extends jspb.Message { setSuperblocksmetadata(value?: common_v1_plugin_pb.SuperblocksMetadata): Plugin; getVerbosehttpoutput(): boolean; setVerbosehttpoutput(value: boolean): Plugin; - getDonotfailonrequesterror(): boolean; - setDonotfailonrequesterror(value: boolean): Plugin; + getFailongraphqlerrors(): boolean; + setFailongraphqlerrors(value: boolean): Plugin; serializeBinary(): Uint8Array; toObject(includeInstance?: boolean): Plugin.AsObject; @@ -78,6 +78,6 @@ export namespace Plugin { custom?: Custom.AsObject, superblocksmetadata?: common_v1_plugin_pb.SuperblocksMetadata.AsObject, verbosehttpoutput: boolean, - donotfailonrequesterror: boolean, + failongraphqlerrors: boolean, } } diff --git a/types/gen/js/plugins/graphql/v1/plugin_pb.js b/types/gen/js/plugins/graphql/v1/plugin_pb.js index 5c5d1627..c7ff085e 100644 --- a/types/gen/js/plugins/graphql/v1/plugin_pb.js +++ b/types/gen/js/plugins/graphql/v1/plugin_pb.js @@ -315,7 +315,7 @@ body: jspb.Message.getFieldWithDefault(msg, 3, ""), custom: (f = msg.getCustom()) && proto.plugins.graphql.v1.Custom.toObject(includeInstance, f), superblocksmetadata: (f = msg.getSuperblocksmetadata()) && common_v1_plugin_pb.SuperblocksMetadata.toObject(includeInstance, f), verbosehttpoutput: jspb.Message.getBooleanFieldWithDefault(msg, 6, false), -donotfailonrequesterror: jspb.Message.getBooleanFieldWithDefault(msg, 7, false) +failongraphqlerrors: jspb.Message.getBooleanFieldWithDefault(msg, 7, false) }; if (includeInstance) { @@ -381,7 +381,7 @@ proto.plugins.graphql.v1.Plugin.deserializeBinaryFromReader = function(msg, read break; case 7: var value = /** @type {boolean} */ (reader.readBool()); - msg.setDonotfailonrequesterror(value); + msg.setFailongraphqlerrors(value); break; default: reader.skipField(); @@ -457,7 +457,7 @@ proto.plugins.graphql.v1.Plugin.serializeBinaryToWriter = function(message, writ f ); } - f = message.getDonotfailonrequesterror(); + f = message.getFailongraphqlerrors(); if (f) { writer.writeBool( 7, @@ -634,10 +634,10 @@ proto.plugins.graphql.v1.Plugin.prototype.setVerbosehttpoutput = function(value) /** - * optional bool doNotFailOnRequestError = 7; + * optional bool failOnGraphqlErrors = 7; * @return {boolean} */ -proto.plugins.graphql.v1.Plugin.prototype.getDonotfailonrequesterror = function() { +proto.plugins.graphql.v1.Plugin.prototype.getFailongraphqlerrors = function() { return /** @type {boolean} */ (jspb.Message.getBooleanFieldWithDefault(this, 7, false)); }; @@ -646,7 +646,7 @@ proto.plugins.graphql.v1.Plugin.prototype.getDonotfailonrequesterror = function( * @param {boolean} value * @return {!proto.plugins.graphql.v1.Plugin} returns this */ -proto.plugins.graphql.v1.Plugin.prototype.setDonotfailonrequesterror = function(value) { +proto.plugins.graphql.v1.Plugin.prototype.setFailongraphqlerrors = function(value) { return jspb.Message.setProto3BooleanField(this, 7, value); }; diff --git a/types/gen/py/superblocks_types/agent/v1/service_pb2.py b/types/gen/py/superblocks_types/agent/v1/service_pb2.py index 92ee91e1..b185d646 100644 --- a/types/gen/py/superblocks_types/agent/v1/service_pb2.py +++ b/types/gen/py/superblocks_types/agent/v1/service_pb2.py @@ -2,7 +2,7 @@ # Generated by the protocol buffer compiler. DO NOT EDIT! # NO CHECKED-IN PROTOBUF GENCODE # source: agent/v1/service.proto -# Protobuf Python Version: 5.28.0 +# Protobuf Python Version: 5.28.1 """Generated protocol buffer code.""" from google.protobuf import descriptor as _descriptor from google.protobuf import descriptor_pool as _descriptor_pool @@ -13,7 +13,7 @@ _runtime_version.Domain.PUBLIC, 5, 28, - 0, + 1, '', 'agent/v1/service.proto' ) diff --git a/types/gen/py/superblocks_types/ai/v1/ai_pb2.py b/types/gen/py/superblocks_types/ai/v1/ai_pb2.py index e474b157..2cae0cd6 100644 --- a/types/gen/py/superblocks_types/ai/v1/ai_pb2.py +++ b/types/gen/py/superblocks_types/ai/v1/ai_pb2.py @@ -2,7 +2,7 @@ # Generated by the protocol buffer compiler. DO NOT EDIT! # NO CHECKED-IN PROTOBUF GENCODE # source: ai/v1/ai.proto -# Protobuf Python Version: 5.28.0 +# Protobuf Python Version: 5.28.1 """Generated protocol buffer code.""" from google.protobuf import descriptor as _descriptor from google.protobuf import descriptor_pool as _descriptor_pool @@ -13,7 +13,7 @@ _runtime_version.Domain.PUBLIC, 5, 28, - 0, + 1, '', 'ai/v1/ai.proto' ) diff --git a/types/gen/py/superblocks_types/ai/v1/metadata_pb2.py b/types/gen/py/superblocks_types/ai/v1/metadata_pb2.py index 680428a6..f364c475 100644 --- a/types/gen/py/superblocks_types/ai/v1/metadata_pb2.py +++ b/types/gen/py/superblocks_types/ai/v1/metadata_pb2.py @@ -2,7 +2,7 @@ # Generated by the protocol buffer compiler. DO NOT EDIT! # NO CHECKED-IN PROTOBUF GENCODE # source: ai/v1/metadata.proto -# Protobuf Python Version: 5.28.0 +# Protobuf Python Version: 5.28.1 """Generated protocol buffer code.""" from google.protobuf import descriptor as _descriptor from google.protobuf import descriptor_pool as _descriptor_pool @@ -13,7 +13,7 @@ _runtime_version.Domain.PUBLIC, 5, 28, - 0, + 1, '', 'ai/v1/metadata.proto' ) diff --git a/types/gen/py/superblocks_types/ai/v1/service_pb2.py b/types/gen/py/superblocks_types/ai/v1/service_pb2.py index 49983fcd..93d130a3 100644 --- a/types/gen/py/superblocks_types/ai/v1/service_pb2.py +++ b/types/gen/py/superblocks_types/ai/v1/service_pb2.py @@ -2,7 +2,7 @@ # Generated by the protocol buffer compiler. DO NOT EDIT! # NO CHECKED-IN PROTOBUF GENCODE # source: ai/v1/service.proto -# Protobuf Python Version: 5.28.0 +# Protobuf Python Version: 5.28.1 """Generated protocol buffer code.""" from google.protobuf import descriptor as _descriptor from google.protobuf import descriptor_pool as _descriptor_pool @@ -13,7 +13,7 @@ _runtime_version.Domain.PUBLIC, 5, 28, - 0, + 1, '', 'ai/v1/service.proto' ) diff --git a/types/gen/py/superblocks_types/ai/v1/vector_pb2.py b/types/gen/py/superblocks_types/ai/v1/vector_pb2.py index 61848df3..bf84de02 100644 --- a/types/gen/py/superblocks_types/ai/v1/vector_pb2.py +++ b/types/gen/py/superblocks_types/ai/v1/vector_pb2.py @@ -2,7 +2,7 @@ # Generated by the protocol buffer compiler. DO NOT EDIT! # NO CHECKED-IN PROTOBUF GENCODE # source: ai/v1/vector.proto -# Protobuf Python Version: 5.28.0 +# Protobuf Python Version: 5.28.1 """Generated protocol buffer code.""" from google.protobuf import descriptor as _descriptor from google.protobuf import descriptor_pool as _descriptor_pool @@ -13,7 +13,7 @@ _runtime_version.Domain.PUBLIC, 5, 28, - 0, + 1, '', 'ai/v1/vector.proto' ) diff --git a/types/gen/py/superblocks_types/api/v1/api_pb2.py b/types/gen/py/superblocks_types/api/v1/api_pb2.py index 1ebdf9cd..0264408b 100644 --- a/types/gen/py/superblocks_types/api/v1/api_pb2.py +++ b/types/gen/py/superblocks_types/api/v1/api_pb2.py @@ -2,7 +2,7 @@ # Generated by the protocol buffer compiler. DO NOT EDIT! # NO CHECKED-IN PROTOBUF GENCODE # source: api/v1/api.proto -# Protobuf Python Version: 5.28.0 +# Protobuf Python Version: 5.28.1 """Generated protocol buffer code.""" from google.protobuf import descriptor as _descriptor from google.protobuf import descriptor_pool as _descriptor_pool @@ -13,7 +13,7 @@ _runtime_version.Domain.PUBLIC, 5, 28, - 0, + 1, '', 'api/v1/api.proto' ) diff --git a/types/gen/py/superblocks_types/api/v1/blocks_pb2.py b/types/gen/py/superblocks_types/api/v1/blocks_pb2.py index ab0fd6ce..7a9b9c03 100644 --- a/types/gen/py/superblocks_types/api/v1/blocks_pb2.py +++ b/types/gen/py/superblocks_types/api/v1/blocks_pb2.py @@ -2,7 +2,7 @@ # Generated by the protocol buffer compiler. DO NOT EDIT! # NO CHECKED-IN PROTOBUF GENCODE # source: api/v1/blocks.proto -# Protobuf Python Version: 5.28.0 +# Protobuf Python Version: 5.28.1 """Generated protocol buffer code.""" from google.protobuf import descriptor as _descriptor from google.protobuf import descriptor_pool as _descriptor_pool @@ -13,7 +13,7 @@ _runtime_version.Domain.PUBLIC, 5, 28, - 0, + 1, '', 'api/v1/blocks.proto' ) diff --git a/types/gen/py/superblocks_types/api/v1/event_pb2.py b/types/gen/py/superblocks_types/api/v1/event_pb2.py index e2c6c995..a7920ea7 100644 --- a/types/gen/py/superblocks_types/api/v1/event_pb2.py +++ b/types/gen/py/superblocks_types/api/v1/event_pb2.py @@ -2,7 +2,7 @@ # Generated by the protocol buffer compiler. DO NOT EDIT! # NO CHECKED-IN PROTOBUF GENCODE # source: api/v1/event.proto -# Protobuf Python Version: 5.28.0 +# Protobuf Python Version: 5.28.1 """Generated protocol buffer code.""" from google.protobuf import descriptor as _descriptor from google.protobuf import descriptor_pool as _descriptor_pool @@ -13,7 +13,7 @@ _runtime_version.Domain.PUBLIC, 5, 28, - 0, + 1, '', 'api/v1/event.proto' ) diff --git a/types/gen/py/superblocks_types/api/v1/integration_auth_service_pb2.py b/types/gen/py/superblocks_types/api/v1/integration_auth_service_pb2.py index a75afb20..da4cf95b 100644 --- a/types/gen/py/superblocks_types/api/v1/integration_auth_service_pb2.py +++ b/types/gen/py/superblocks_types/api/v1/integration_auth_service_pb2.py @@ -2,7 +2,7 @@ # Generated by the protocol buffer compiler. DO NOT EDIT! # NO CHECKED-IN PROTOBUF GENCODE # source: api/v1/integration_auth_service.proto -# Protobuf Python Version: 5.28.0 +# Protobuf Python Version: 5.28.1 """Generated protocol buffer code.""" from google.protobuf import descriptor as _descriptor from google.protobuf import descriptor_pool as _descriptor_pool @@ -13,7 +13,7 @@ _runtime_version.Domain.PUBLIC, 5, 28, - 0, + 1, '', 'api/v1/integration_auth_service.proto' ) diff --git a/types/gen/py/superblocks_types/api/v1/requests_pb2.py b/types/gen/py/superblocks_types/api/v1/requests_pb2.py index 57d0b8d4..dab7b38f 100644 --- a/types/gen/py/superblocks_types/api/v1/requests_pb2.py +++ b/types/gen/py/superblocks_types/api/v1/requests_pb2.py @@ -2,7 +2,7 @@ # Generated by the protocol buffer compiler. DO NOT EDIT! # NO CHECKED-IN PROTOBUF GENCODE # source: api/v1/requests.proto -# Protobuf Python Version: 5.28.0 +# Protobuf Python Version: 5.28.1 """Generated protocol buffer code.""" from google.protobuf import descriptor as _descriptor from google.protobuf import descriptor_pool as _descriptor_pool @@ -13,7 +13,7 @@ _runtime_version.Domain.PUBLIC, 5, 28, - 0, + 1, '', 'api/v1/requests.proto' ) diff --git a/types/gen/py/superblocks_types/api/v1/service_pb2.py b/types/gen/py/superblocks_types/api/v1/service_pb2.py index 349290e2..e1189d0e 100644 --- a/types/gen/py/superblocks_types/api/v1/service_pb2.py +++ b/types/gen/py/superblocks_types/api/v1/service_pb2.py @@ -2,7 +2,7 @@ # Generated by the protocol buffer compiler. DO NOT EDIT! # NO CHECKED-IN PROTOBUF GENCODE # source: api/v1/service.proto -# Protobuf Python Version: 5.28.0 +# Protobuf Python Version: 5.28.1 """Generated protocol buffer code.""" from google.protobuf import descriptor as _descriptor from google.protobuf import descriptor_pool as _descriptor_pool @@ -13,7 +13,7 @@ _runtime_version.Domain.PUBLIC, 5, 28, - 0, + 1, '', 'api/v1/service.proto' ) diff --git a/types/gen/py/superblocks_types/auth/v1/auth_pb2.py b/types/gen/py/superblocks_types/auth/v1/auth_pb2.py index 36967cf8..502a172a 100644 --- a/types/gen/py/superblocks_types/auth/v1/auth_pb2.py +++ b/types/gen/py/superblocks_types/auth/v1/auth_pb2.py @@ -2,7 +2,7 @@ # Generated by the protocol buffer compiler. DO NOT EDIT! # NO CHECKED-IN PROTOBUF GENCODE # source: auth/v1/auth.proto -# Protobuf Python Version: 5.28.0 +# Protobuf Python Version: 5.28.1 """Generated protocol buffer code.""" from google.protobuf import descriptor as _descriptor from google.protobuf import descriptor_pool as _descriptor_pool @@ -13,7 +13,7 @@ _runtime_version.Domain.PUBLIC, 5, 28, - 0, + 1, '', 'auth/v1/auth.proto' ) diff --git a/types/gen/py/superblocks_types/buf/validate/expression_pb2.py b/types/gen/py/superblocks_types/buf/validate/expression_pb2.py index 3d1cdf6f..3185a8f6 100644 --- a/types/gen/py/superblocks_types/buf/validate/expression_pb2.py +++ b/types/gen/py/superblocks_types/buf/validate/expression_pb2.py @@ -2,7 +2,7 @@ # Generated by the protocol buffer compiler. DO NOT EDIT! # NO CHECKED-IN PROTOBUF GENCODE # source: buf/validate/expression.proto -# Protobuf Python Version: 5.28.0 +# Protobuf Python Version: 5.28.1 """Generated protocol buffer code.""" from google.protobuf import descriptor as _descriptor from google.protobuf import descriptor_pool as _descriptor_pool @@ -13,7 +13,7 @@ _runtime_version.Domain.PUBLIC, 5, 28, - 0, + 1, '', 'buf/validate/expression.proto' ) diff --git a/types/gen/py/superblocks_types/buf/validate/priv/private_pb2.py b/types/gen/py/superblocks_types/buf/validate/priv/private_pb2.py index db2db07e..3c619221 100644 --- a/types/gen/py/superblocks_types/buf/validate/priv/private_pb2.py +++ b/types/gen/py/superblocks_types/buf/validate/priv/private_pb2.py @@ -2,7 +2,7 @@ # Generated by the protocol buffer compiler. DO NOT EDIT! # NO CHECKED-IN PROTOBUF GENCODE # source: buf/validate/priv/private.proto -# Protobuf Python Version: 5.28.0 +# Protobuf Python Version: 5.28.1 """Generated protocol buffer code.""" from google.protobuf import descriptor as _descriptor from google.protobuf import descriptor_pool as _descriptor_pool @@ -13,7 +13,7 @@ _runtime_version.Domain.PUBLIC, 5, 28, - 0, + 1, '', 'buf/validate/priv/private.proto' ) diff --git a/types/gen/py/superblocks_types/buf/validate/validate_pb2.py b/types/gen/py/superblocks_types/buf/validate/validate_pb2.py index 25feca99..f2a24fd0 100644 --- a/types/gen/py/superblocks_types/buf/validate/validate_pb2.py +++ b/types/gen/py/superblocks_types/buf/validate/validate_pb2.py @@ -2,7 +2,7 @@ # Generated by the protocol buffer compiler. DO NOT EDIT! # NO CHECKED-IN PROTOBUF GENCODE # source: buf/validate/validate.proto -# Protobuf Python Version: 5.28.0 +# Protobuf Python Version: 5.28.1 """Generated protocol buffer code.""" from google.protobuf import descriptor as _descriptor from google.protobuf import descriptor_pool as _descriptor_pool @@ -13,7 +13,7 @@ _runtime_version.Domain.PUBLIC, 5, 28, - 0, + 1, '', 'buf/validate/validate.proto' ) diff --git a/types/gen/py/superblocks_types/cache/v1/cache_pb2.py b/types/gen/py/superblocks_types/cache/v1/cache_pb2.py index e5bec467..962fb630 100644 --- a/types/gen/py/superblocks_types/cache/v1/cache_pb2.py +++ b/types/gen/py/superblocks_types/cache/v1/cache_pb2.py @@ -2,7 +2,7 @@ # Generated by the protocol buffer compiler. DO NOT EDIT! # NO CHECKED-IN PROTOBUF GENCODE # source: cache/v1/cache.proto -# Protobuf Python Version: 5.28.0 +# Protobuf Python Version: 5.28.1 """Generated protocol buffer code.""" from google.protobuf import descriptor as _descriptor from google.protobuf import descriptor_pool as _descriptor_pool @@ -13,7 +13,7 @@ _runtime_version.Domain.PUBLIC, 5, 28, - 0, + 1, '', 'cache/v1/cache.proto' ) diff --git a/types/gen/py/superblocks_types/common/v1/api_pb2.py b/types/gen/py/superblocks_types/common/v1/api_pb2.py index 3defe870..b98f6984 100644 --- a/types/gen/py/superblocks_types/common/v1/api_pb2.py +++ b/types/gen/py/superblocks_types/common/v1/api_pb2.py @@ -2,7 +2,7 @@ # Generated by the protocol buffer compiler. DO NOT EDIT! # NO CHECKED-IN PROTOBUF GENCODE # source: common/v1/api.proto -# Protobuf Python Version: 5.28.0 +# Protobuf Python Version: 5.28.1 """Generated protocol buffer code.""" from google.protobuf import descriptor as _descriptor from google.protobuf import descriptor_pool as _descriptor_pool @@ -13,7 +13,7 @@ _runtime_version.Domain.PUBLIC, 5, 28, - 0, + 1, '', 'common/v1/api.proto' ) diff --git a/types/gen/py/superblocks_types/common/v1/common_pb2.py b/types/gen/py/superblocks_types/common/v1/common_pb2.py index 6505202a..bcf7f559 100644 --- a/types/gen/py/superblocks_types/common/v1/common_pb2.py +++ b/types/gen/py/superblocks_types/common/v1/common_pb2.py @@ -2,7 +2,7 @@ # Generated by the protocol buffer compiler. DO NOT EDIT! # NO CHECKED-IN PROTOBUF GENCODE # source: common/v1/common.proto -# Protobuf Python Version: 5.28.0 +# Protobuf Python Version: 5.28.1 """Generated protocol buffer code.""" from google.protobuf import descriptor as _descriptor from google.protobuf import descriptor_pool as _descriptor_pool @@ -13,7 +13,7 @@ _runtime_version.Domain.PUBLIC, 5, 28, - 0, + 1, '', 'common/v1/common.proto' ) diff --git a/types/gen/py/superblocks_types/common/v1/errors_pb2.py b/types/gen/py/superblocks_types/common/v1/errors_pb2.py index bc9f2410..1a7cc593 100644 --- a/types/gen/py/superblocks_types/common/v1/errors_pb2.py +++ b/types/gen/py/superblocks_types/common/v1/errors_pb2.py @@ -2,7 +2,7 @@ # Generated by the protocol buffer compiler. DO NOT EDIT! # NO CHECKED-IN PROTOBUF GENCODE # source: common/v1/errors.proto -# Protobuf Python Version: 5.28.0 +# Protobuf Python Version: 5.28.1 """Generated protocol buffer code.""" from google.protobuf import descriptor as _descriptor from google.protobuf import descriptor_pool as _descriptor_pool @@ -13,7 +13,7 @@ _runtime_version.Domain.PUBLIC, 5, 28, - 0, + 1, '', 'common/v1/errors.proto' ) diff --git a/types/gen/py/superblocks_types/common/v1/health_pb2.py b/types/gen/py/superblocks_types/common/v1/health_pb2.py index 43277b12..e2dac0ea 100644 --- a/types/gen/py/superblocks_types/common/v1/health_pb2.py +++ b/types/gen/py/superblocks_types/common/v1/health_pb2.py @@ -2,7 +2,7 @@ # Generated by the protocol buffer compiler. DO NOT EDIT! # NO CHECKED-IN PROTOBUF GENCODE # source: common/v1/health.proto -# Protobuf Python Version: 5.28.0 +# Protobuf Python Version: 5.28.1 """Generated protocol buffer code.""" from google.protobuf import descriptor as _descriptor from google.protobuf import descriptor_pool as _descriptor_pool @@ -13,7 +13,7 @@ _runtime_version.Domain.PUBLIC, 5, 28, - 0, + 1, '', 'common/v1/health.proto' ) diff --git a/types/gen/py/superblocks_types/common/v1/language_pb2.py b/types/gen/py/superblocks_types/common/v1/language_pb2.py index 0ee1d47c..9eb7f9e1 100644 --- a/types/gen/py/superblocks_types/common/v1/language_pb2.py +++ b/types/gen/py/superblocks_types/common/v1/language_pb2.py @@ -2,7 +2,7 @@ # Generated by the protocol buffer compiler. DO NOT EDIT! # NO CHECKED-IN PROTOBUF GENCODE # source: common/v1/language.proto -# Protobuf Python Version: 5.28.0 +# Protobuf Python Version: 5.28.1 """Generated protocol buffer code.""" from google.protobuf import descriptor as _descriptor from google.protobuf import descriptor_pool as _descriptor_pool @@ -13,7 +13,7 @@ _runtime_version.Domain.PUBLIC, 5, 28, - 0, + 1, '', 'common/v1/language.proto' ) diff --git a/types/gen/py/superblocks_types/common/v1/plugin_pb2.py b/types/gen/py/superblocks_types/common/v1/plugin_pb2.py index 00ec0e7d..2a42760f 100644 --- a/types/gen/py/superblocks_types/common/v1/plugin_pb2.py +++ b/types/gen/py/superblocks_types/common/v1/plugin_pb2.py @@ -2,7 +2,7 @@ # Generated by the protocol buffer compiler. DO NOT EDIT! # NO CHECKED-IN PROTOBUF GENCODE # source: common/v1/plugin.proto -# Protobuf Python Version: 5.28.0 +# Protobuf Python Version: 5.28.1 """Generated protocol buffer code.""" from google.protobuf import descriptor as _descriptor from google.protobuf import descriptor_pool as _descriptor_pool @@ -13,7 +13,7 @@ _runtime_version.Domain.PUBLIC, 5, 28, - 0, + 1, '', 'common/v1/plugin.proto' ) diff --git a/types/gen/py/superblocks_types/common/v1/utils_pb2.py b/types/gen/py/superblocks_types/common/v1/utils_pb2.py index 353053e6..af4366bc 100644 --- a/types/gen/py/superblocks_types/common/v1/utils_pb2.py +++ b/types/gen/py/superblocks_types/common/v1/utils_pb2.py @@ -2,7 +2,7 @@ # Generated by the protocol buffer compiler. DO NOT EDIT! # NO CHECKED-IN PROTOBUF GENCODE # source: common/v1/utils.proto -# Protobuf Python Version: 5.28.0 +# Protobuf Python Version: 5.28.1 """Generated protocol buffer code.""" from google.protobuf import descriptor as _descriptor from google.protobuf import descriptor_pool as _descriptor_pool @@ -13,7 +13,7 @@ _runtime_version.Domain.PUBLIC, 5, 28, - 0, + 1, '', 'common/v1/utils.proto' ) diff --git a/types/gen/py/superblocks_types/event/v1/cloudevent_pb2.py b/types/gen/py/superblocks_types/event/v1/cloudevent_pb2.py index 5461b96f..679b371e 100644 --- a/types/gen/py/superblocks_types/event/v1/cloudevent_pb2.py +++ b/types/gen/py/superblocks_types/event/v1/cloudevent_pb2.py @@ -2,7 +2,7 @@ # Generated by the protocol buffer compiler. DO NOT EDIT! # NO CHECKED-IN PROTOBUF GENCODE # source: event/v1/cloudevent.proto -# Protobuf Python Version: 5.28.0 +# Protobuf Python Version: 5.28.1 """Generated protocol buffer code.""" from google.protobuf import descriptor as _descriptor from google.protobuf import descriptor_pool as _descriptor_pool @@ -13,7 +13,7 @@ _runtime_version.Domain.PUBLIC, 5, 28, - 0, + 1, '', 'event/v1/cloudevent.proto' ) diff --git a/types/gen/py/superblocks_types/event/v1/event_pb2.py b/types/gen/py/superblocks_types/event/v1/event_pb2.py index fc2df16b..4343d286 100644 --- a/types/gen/py/superblocks_types/event/v1/event_pb2.py +++ b/types/gen/py/superblocks_types/event/v1/event_pb2.py @@ -2,7 +2,7 @@ # Generated by the protocol buffer compiler. DO NOT EDIT! # NO CHECKED-IN PROTOBUF GENCODE # source: event/v1/event.proto -# Protobuf Python Version: 5.28.0 +# Protobuf Python Version: 5.28.1 """Generated protocol buffer code.""" from google.protobuf import descriptor as _descriptor from google.protobuf import descriptor_pool as _descriptor_pool @@ -13,7 +13,7 @@ _runtime_version.Domain.PUBLIC, 5, 28, - 0, + 1, '', 'event/v1/event.proto' ) diff --git a/types/gen/py/superblocks_types/event/v1/service_pb2.py b/types/gen/py/superblocks_types/event/v1/service_pb2.py index f6983118..9a959205 100644 --- a/types/gen/py/superblocks_types/event/v1/service_pb2.py +++ b/types/gen/py/superblocks_types/event/v1/service_pb2.py @@ -2,7 +2,7 @@ # Generated by the protocol buffer compiler. DO NOT EDIT! # NO CHECKED-IN PROTOBUF GENCODE # source: event/v1/service.proto -# Protobuf Python Version: 5.28.0 +# Protobuf Python Version: 5.28.1 """Generated protocol buffer code.""" from google.protobuf import descriptor as _descriptor from google.protobuf import descriptor_pool as _descriptor_pool @@ -13,7 +13,7 @@ _runtime_version.Domain.PUBLIC, 5, 28, - 0, + 1, '', 'event/v1/service.proto' ) diff --git a/types/gen/py/superblocks_types/event/v2/cloudevent_pb2.py b/types/gen/py/superblocks_types/event/v2/cloudevent_pb2.py index 9b96e9ed..82ba0ebf 100644 --- a/types/gen/py/superblocks_types/event/v2/cloudevent_pb2.py +++ b/types/gen/py/superblocks_types/event/v2/cloudevent_pb2.py @@ -2,7 +2,7 @@ # Generated by the protocol buffer compiler. DO NOT EDIT! # NO CHECKED-IN PROTOBUF GENCODE # source: event/v2/cloudevent.proto -# Protobuf Python Version: 5.28.0 +# Protobuf Python Version: 5.28.1 """Generated protocol buffer code.""" from google.protobuf import descriptor as _descriptor from google.protobuf import descriptor_pool as _descriptor_pool @@ -13,7 +13,7 @@ _runtime_version.Domain.PUBLIC, 5, 28, - 0, + 1, '', 'event/v2/cloudevent.proto' ) diff --git a/types/gen/py/superblocks_types/event/v2/service_pb2.py b/types/gen/py/superblocks_types/event/v2/service_pb2.py index f19fb1cb..3cdc961a 100644 --- a/types/gen/py/superblocks_types/event/v2/service_pb2.py +++ b/types/gen/py/superblocks_types/event/v2/service_pb2.py @@ -2,7 +2,7 @@ # Generated by the protocol buffer compiler. DO NOT EDIT! # NO CHECKED-IN PROTOBUF GENCODE # source: event/v2/service.proto -# Protobuf Python Version: 5.28.0 +# Protobuf Python Version: 5.28.1 """Generated protocol buffer code.""" from google.protobuf import descriptor as _descriptor from google.protobuf import descriptor_pool as _descriptor_pool @@ -13,7 +13,7 @@ _runtime_version.Domain.PUBLIC, 5, 28, - 0, + 1, '', 'event/v2/service.proto' ) diff --git a/types/gen/py/superblocks_types/google/api/annotations_pb2.py b/types/gen/py/superblocks_types/google/api/annotations_pb2.py index b051f08b..8bf7aed2 100644 --- a/types/gen/py/superblocks_types/google/api/annotations_pb2.py +++ b/types/gen/py/superblocks_types/google/api/annotations_pb2.py @@ -2,7 +2,7 @@ # Generated by the protocol buffer compiler. DO NOT EDIT! # NO CHECKED-IN PROTOBUF GENCODE # source: google/api/annotations.proto -# Protobuf Python Version: 5.28.0 +# Protobuf Python Version: 5.28.1 """Generated protocol buffer code.""" from google.protobuf import descriptor as _descriptor from google.protobuf import descriptor_pool as _descriptor_pool @@ -13,7 +13,7 @@ _runtime_version.Domain.PUBLIC, 5, 28, - 0, + 1, '', 'google/api/annotations.proto' ) diff --git a/types/gen/py/superblocks_types/google/api/http_pb2.py b/types/gen/py/superblocks_types/google/api/http_pb2.py index d68a941f..13b72293 100644 --- a/types/gen/py/superblocks_types/google/api/http_pb2.py +++ b/types/gen/py/superblocks_types/google/api/http_pb2.py @@ -2,7 +2,7 @@ # Generated by the protocol buffer compiler. DO NOT EDIT! # NO CHECKED-IN PROTOBUF GENCODE # source: google/api/http.proto -# Protobuf Python Version: 5.28.0 +# Protobuf Python Version: 5.28.1 """Generated protocol buffer code.""" from google.protobuf import descriptor as _descriptor from google.protobuf import descriptor_pool as _descriptor_pool @@ -13,7 +13,7 @@ _runtime_version.Domain.PUBLIC, 5, 28, - 0, + 1, '', 'google/api/http.proto' ) diff --git a/types/gen/py/superblocks_types/intake/v1/logs_pb2.py b/types/gen/py/superblocks_types/intake/v1/logs_pb2.py index 76016e5f..666dfad7 100644 --- a/types/gen/py/superblocks_types/intake/v1/logs_pb2.py +++ b/types/gen/py/superblocks_types/intake/v1/logs_pb2.py @@ -2,7 +2,7 @@ # Generated by the protocol buffer compiler. DO NOT EDIT! # NO CHECKED-IN PROTOBUF GENCODE # source: intake/v1/logs.proto -# Protobuf Python Version: 5.28.0 +# Protobuf Python Version: 5.28.1 """Generated protocol buffer code.""" from google.protobuf import descriptor as _descriptor from google.protobuf import descriptor_pool as _descriptor_pool @@ -13,7 +13,7 @@ _runtime_version.Domain.PUBLIC, 5, 28, - 0, + 1, '', 'intake/v1/logs.proto' ) diff --git a/types/gen/py/superblocks_types/integration/v1/service_pb2.py b/types/gen/py/superblocks_types/integration/v1/service_pb2.py index dbe4043d..7fd02499 100644 --- a/types/gen/py/superblocks_types/integration/v1/service_pb2.py +++ b/types/gen/py/superblocks_types/integration/v1/service_pb2.py @@ -2,7 +2,7 @@ # Generated by the protocol buffer compiler. DO NOT EDIT! # NO CHECKED-IN PROTOBUF GENCODE # source: integration/v1/service.proto -# Protobuf Python Version: 5.28.0 +# Protobuf Python Version: 5.28.1 """Generated protocol buffer code.""" from google.protobuf import descriptor as _descriptor from google.protobuf import descriptor_pool as _descriptor_pool @@ -13,7 +13,7 @@ _runtime_version.Domain.PUBLIC, 5, 28, - 0, + 1, '', 'integration/v1/service.proto' ) diff --git a/types/gen/py/superblocks_types/kafka/v1/kafka_pb2.py b/types/gen/py/superblocks_types/kafka/v1/kafka_pb2.py index 927bc47f..7ee6580b 100644 --- a/types/gen/py/superblocks_types/kafka/v1/kafka_pb2.py +++ b/types/gen/py/superblocks_types/kafka/v1/kafka_pb2.py @@ -2,7 +2,7 @@ # Generated by the protocol buffer compiler. DO NOT EDIT! # NO CHECKED-IN PROTOBUF GENCODE # source: kafka/v1/kafka.proto -# Protobuf Python Version: 5.28.0 +# Protobuf Python Version: 5.28.1 """Generated protocol buffer code.""" from google.protobuf import descriptor as _descriptor from google.protobuf import descriptor_pool as _descriptor_pool @@ -13,7 +13,7 @@ _runtime_version.Domain.PUBLIC, 5, 28, - 0, + 1, '', 'kafka/v1/kafka.proto' ) diff --git a/types/gen/py/superblocks_types/plugins/adls/v1/plugin_pb2.py b/types/gen/py/superblocks_types/plugins/adls/v1/plugin_pb2.py index d83b24f4..2d48f613 100644 --- a/types/gen/py/superblocks_types/plugins/adls/v1/plugin_pb2.py +++ b/types/gen/py/superblocks_types/plugins/adls/v1/plugin_pb2.py @@ -2,7 +2,7 @@ # Generated by the protocol buffer compiler. DO NOT EDIT! # NO CHECKED-IN PROTOBUF GENCODE # source: plugins/adls/v1/plugin.proto -# Protobuf Python Version: 5.28.0 +# Protobuf Python Version: 5.28.1 """Generated protocol buffer code.""" from google.protobuf import descriptor as _descriptor from google.protobuf import descriptor_pool as _descriptor_pool @@ -13,7 +13,7 @@ _runtime_version.Domain.PUBLIC, 5, 28, - 0, + 1, '', 'plugins/adls/v1/plugin.proto' ) diff --git a/types/gen/py/superblocks_types/plugins/athena/v1/plugin_pb2.py b/types/gen/py/superblocks_types/plugins/athena/v1/plugin_pb2.py index aaf23560..9839b789 100644 --- a/types/gen/py/superblocks_types/plugins/athena/v1/plugin_pb2.py +++ b/types/gen/py/superblocks_types/plugins/athena/v1/plugin_pb2.py @@ -2,7 +2,7 @@ # Generated by the protocol buffer compiler. DO NOT EDIT! # NO CHECKED-IN PROTOBUF GENCODE # source: plugins/athena/v1/plugin.proto -# Protobuf Python Version: 5.28.0 +# Protobuf Python Version: 5.28.1 """Generated protocol buffer code.""" from google.protobuf import descriptor as _descriptor from google.protobuf import descriptor_pool as _descriptor_pool @@ -13,7 +13,7 @@ _runtime_version.Domain.PUBLIC, 5, 28, - 0, + 1, '', 'plugins/athena/v1/plugin.proto' ) diff --git a/types/gen/py/superblocks_types/plugins/bigquery/v1/plugin_pb2.py b/types/gen/py/superblocks_types/plugins/bigquery/v1/plugin_pb2.py index d985565e..aa7c0904 100644 --- a/types/gen/py/superblocks_types/plugins/bigquery/v1/plugin_pb2.py +++ b/types/gen/py/superblocks_types/plugins/bigquery/v1/plugin_pb2.py @@ -2,7 +2,7 @@ # Generated by the protocol buffer compiler. DO NOT EDIT! # NO CHECKED-IN PROTOBUF GENCODE # source: plugins/bigquery/v1/plugin.proto -# Protobuf Python Version: 5.28.0 +# Protobuf Python Version: 5.28.1 """Generated protocol buffer code.""" from google.protobuf import descriptor as _descriptor from google.protobuf import descriptor_pool as _descriptor_pool @@ -13,7 +13,7 @@ _runtime_version.Domain.PUBLIC, 5, 28, - 0, + 1, '', 'plugins/bigquery/v1/plugin.proto' ) diff --git a/types/gen/py/superblocks_types/plugins/cockroachdb/v1/plugin_pb2.py b/types/gen/py/superblocks_types/plugins/cockroachdb/v1/plugin_pb2.py index 525136c7..5911e53c 100644 --- a/types/gen/py/superblocks_types/plugins/cockroachdb/v1/plugin_pb2.py +++ b/types/gen/py/superblocks_types/plugins/cockroachdb/v1/plugin_pb2.py @@ -2,7 +2,7 @@ # Generated by the protocol buffer compiler. DO NOT EDIT! # NO CHECKED-IN PROTOBUF GENCODE # source: plugins/cockroachdb/v1/plugin.proto -# Protobuf Python Version: 5.28.0 +# Protobuf Python Version: 5.28.1 """Generated protocol buffer code.""" from google.protobuf import descriptor as _descriptor from google.protobuf import descriptor_pool as _descriptor_pool @@ -13,7 +13,7 @@ _runtime_version.Domain.PUBLIC, 5, 28, - 0, + 1, '', 'plugins/cockroachdb/v1/plugin.proto' ) diff --git a/types/gen/py/superblocks_types/plugins/common/v1/auth_pb2.py b/types/gen/py/superblocks_types/plugins/common/v1/auth_pb2.py index ceda9ddb..40209231 100644 --- a/types/gen/py/superblocks_types/plugins/common/v1/auth_pb2.py +++ b/types/gen/py/superblocks_types/plugins/common/v1/auth_pb2.py @@ -2,7 +2,7 @@ # Generated by the protocol buffer compiler. DO NOT EDIT! # NO CHECKED-IN PROTOBUF GENCODE # source: plugins/common/v1/auth.proto -# Protobuf Python Version: 5.28.0 +# Protobuf Python Version: 5.28.1 """Generated protocol buffer code.""" from google.protobuf import descriptor as _descriptor from google.protobuf import descriptor_pool as _descriptor_pool @@ -13,7 +13,7 @@ _runtime_version.Domain.PUBLIC, 5, 28, - 0, + 1, '', 'plugins/common/v1/auth.proto' ) diff --git a/types/gen/py/superblocks_types/plugins/common/v1/metadata_pb2.py b/types/gen/py/superblocks_types/plugins/common/v1/metadata_pb2.py index d97adf3a..dd3f3594 100644 --- a/types/gen/py/superblocks_types/plugins/common/v1/metadata_pb2.py +++ b/types/gen/py/superblocks_types/plugins/common/v1/metadata_pb2.py @@ -2,7 +2,7 @@ # Generated by the protocol buffer compiler. DO NOT EDIT! # NO CHECKED-IN PROTOBUF GENCODE # source: plugins/common/v1/metadata.proto -# Protobuf Python Version: 5.28.0 +# Protobuf Python Version: 5.28.1 """Generated protocol buffer code.""" from google.protobuf import descriptor as _descriptor from google.protobuf import descriptor_pool as _descriptor_pool @@ -13,7 +13,7 @@ _runtime_version.Domain.PUBLIC, 5, 28, - 0, + 1, '', 'plugins/common/v1/metadata.proto' ) diff --git a/types/gen/py/superblocks_types/plugins/common/v1/plugin_pb2.py b/types/gen/py/superblocks_types/plugins/common/v1/plugin_pb2.py index e5e1387b..11b4bd9d 100644 --- a/types/gen/py/superblocks_types/plugins/common/v1/plugin_pb2.py +++ b/types/gen/py/superblocks_types/plugins/common/v1/plugin_pb2.py @@ -2,7 +2,7 @@ # Generated by the protocol buffer compiler. DO NOT EDIT! # NO CHECKED-IN PROTOBUF GENCODE # source: plugins/common/v1/plugin.proto -# Protobuf Python Version: 5.28.0 +# Protobuf Python Version: 5.28.1 """Generated protocol buffer code.""" from google.protobuf import descriptor as _descriptor from google.protobuf import descriptor_pool as _descriptor_pool @@ -13,7 +13,7 @@ _runtime_version.Domain.PUBLIC, 5, 28, - 0, + 1, '', 'plugins/common/v1/plugin.proto' ) diff --git a/types/gen/py/superblocks_types/plugins/cosmosdb/v1/plugin_pb2.py b/types/gen/py/superblocks_types/plugins/cosmosdb/v1/plugin_pb2.py index 52b5b3bb..0a1a2aed 100644 --- a/types/gen/py/superblocks_types/plugins/cosmosdb/v1/plugin_pb2.py +++ b/types/gen/py/superblocks_types/plugins/cosmosdb/v1/plugin_pb2.py @@ -2,7 +2,7 @@ # Generated by the protocol buffer compiler. DO NOT EDIT! # NO CHECKED-IN PROTOBUF GENCODE # source: plugins/cosmosdb/v1/plugin.proto -# Protobuf Python Version: 5.28.0 +# Protobuf Python Version: 5.28.1 """Generated protocol buffer code.""" from google.protobuf import descriptor as _descriptor from google.protobuf import descriptor_pool as _descriptor_pool @@ -13,7 +13,7 @@ _runtime_version.Domain.PUBLIC, 5, 28, - 0, + 1, '', 'plugins/cosmosdb/v1/plugin.proto' ) diff --git a/types/gen/py/superblocks_types/plugins/couchbase/v1/plugin_pb2.py b/types/gen/py/superblocks_types/plugins/couchbase/v1/plugin_pb2.py index 5355182c..e106ea34 100644 --- a/types/gen/py/superblocks_types/plugins/couchbase/v1/plugin_pb2.py +++ b/types/gen/py/superblocks_types/plugins/couchbase/v1/plugin_pb2.py @@ -2,7 +2,7 @@ # Generated by the protocol buffer compiler. DO NOT EDIT! # NO CHECKED-IN PROTOBUF GENCODE # source: plugins/couchbase/v1/plugin.proto -# Protobuf Python Version: 5.28.0 +# Protobuf Python Version: 5.28.1 """Generated protocol buffer code.""" from google.protobuf import descriptor as _descriptor from google.protobuf import descriptor_pool as _descriptor_pool @@ -13,7 +13,7 @@ _runtime_version.Domain.PUBLIC, 5, 28, - 0, + 1, '', 'plugins/couchbase/v1/plugin.proto' ) diff --git a/types/gen/py/superblocks_types/plugins/custom/v1/plugin_pb2.py b/types/gen/py/superblocks_types/plugins/custom/v1/plugin_pb2.py index e5e71577..499eb1cc 100644 --- a/types/gen/py/superblocks_types/plugins/custom/v1/plugin_pb2.py +++ b/types/gen/py/superblocks_types/plugins/custom/v1/plugin_pb2.py @@ -2,7 +2,7 @@ # Generated by the protocol buffer compiler. DO NOT EDIT! # NO CHECKED-IN PROTOBUF GENCODE # source: plugins/custom/v1/plugin.proto -# Protobuf Python Version: 5.28.0 +# Protobuf Python Version: 5.28.1 """Generated protocol buffer code.""" from google.protobuf import descriptor as _descriptor from google.protobuf import descriptor_pool as _descriptor_pool @@ -13,7 +13,7 @@ _runtime_version.Domain.PUBLIC, 5, 28, - 0, + 1, '', 'plugins/custom/v1/plugin.proto' ) diff --git a/types/gen/py/superblocks_types/plugins/databricks/v1/plugin_pb2.py b/types/gen/py/superblocks_types/plugins/databricks/v1/plugin_pb2.py index b2e9f24c..09446e87 100644 --- a/types/gen/py/superblocks_types/plugins/databricks/v1/plugin_pb2.py +++ b/types/gen/py/superblocks_types/plugins/databricks/v1/plugin_pb2.py @@ -2,7 +2,7 @@ # Generated by the protocol buffer compiler. DO NOT EDIT! # NO CHECKED-IN PROTOBUF GENCODE # source: plugins/databricks/v1/plugin.proto -# Protobuf Python Version: 5.28.0 +# Protobuf Python Version: 5.28.1 """Generated protocol buffer code.""" from google.protobuf import descriptor as _descriptor from google.protobuf import descriptor_pool as _descriptor_pool @@ -13,7 +13,7 @@ _runtime_version.Domain.PUBLIC, 5, 28, - 0, + 1, '', 'plugins/databricks/v1/plugin.proto' ) diff --git a/types/gen/py/superblocks_types/plugins/dynamodb/v1/plugin_pb2.py b/types/gen/py/superblocks_types/plugins/dynamodb/v1/plugin_pb2.py index cbba811e..5bb1add1 100644 --- a/types/gen/py/superblocks_types/plugins/dynamodb/v1/plugin_pb2.py +++ b/types/gen/py/superblocks_types/plugins/dynamodb/v1/plugin_pb2.py @@ -2,7 +2,7 @@ # Generated by the protocol buffer compiler. DO NOT EDIT! # NO CHECKED-IN PROTOBUF GENCODE # source: plugins/dynamodb/v1/plugin.proto -# Protobuf Python Version: 5.28.0 +# Protobuf Python Version: 5.28.1 """Generated protocol buffer code.""" from google.protobuf import descriptor as _descriptor from google.protobuf import descriptor_pool as _descriptor_pool @@ -13,7 +13,7 @@ _runtime_version.Domain.PUBLIC, 5, 28, - 0, + 1, '', 'plugins/dynamodb/v1/plugin.proto' ) diff --git a/types/gen/py/superblocks_types/plugins/email/v1/plugin_pb2.py b/types/gen/py/superblocks_types/plugins/email/v1/plugin_pb2.py index 5b435bbc..d3387def 100644 --- a/types/gen/py/superblocks_types/plugins/email/v1/plugin_pb2.py +++ b/types/gen/py/superblocks_types/plugins/email/v1/plugin_pb2.py @@ -2,7 +2,7 @@ # Generated by the protocol buffer compiler. DO NOT EDIT! # NO CHECKED-IN PROTOBUF GENCODE # source: plugins/email/v1/plugin.proto -# Protobuf Python Version: 5.28.0 +# Protobuf Python Version: 5.28.1 """Generated protocol buffer code.""" from google.protobuf import descriptor as _descriptor from google.protobuf import descriptor_pool as _descriptor_pool @@ -13,7 +13,7 @@ _runtime_version.Domain.PUBLIC, 5, 28, - 0, + 1, '', 'plugins/email/v1/plugin.proto' ) diff --git a/types/gen/py/superblocks_types/plugins/gcs/v1/plugin_pb2.py b/types/gen/py/superblocks_types/plugins/gcs/v1/plugin_pb2.py index b279af4f..3f3a1e58 100644 --- a/types/gen/py/superblocks_types/plugins/gcs/v1/plugin_pb2.py +++ b/types/gen/py/superblocks_types/plugins/gcs/v1/plugin_pb2.py @@ -2,7 +2,7 @@ # Generated by the protocol buffer compiler. DO NOT EDIT! # NO CHECKED-IN PROTOBUF GENCODE # source: plugins/gcs/v1/plugin.proto -# Protobuf Python Version: 5.28.0 +# Protobuf Python Version: 5.28.1 """Generated protocol buffer code.""" from google.protobuf import descriptor as _descriptor from google.protobuf import descriptor_pool as _descriptor_pool @@ -13,7 +13,7 @@ _runtime_version.Domain.PUBLIC, 5, 28, - 0, + 1, '', 'plugins/gcs/v1/plugin.proto' ) diff --git a/types/gen/py/superblocks_types/plugins/graphql/v1/plugin_pb2.py b/types/gen/py/superblocks_types/plugins/graphql/v1/plugin_pb2.py index ba873867..2415c00b 100644 --- a/types/gen/py/superblocks_types/plugins/graphql/v1/plugin_pb2.py +++ b/types/gen/py/superblocks_types/plugins/graphql/v1/plugin_pb2.py @@ -2,7 +2,7 @@ # Generated by the protocol buffer compiler. DO NOT EDIT! # NO CHECKED-IN PROTOBUF GENCODE # source: plugins/graphql/v1/plugin.proto -# Protobuf Python Version: 5.28.0 +# Protobuf Python Version: 5.28.1 """Generated protocol buffer code.""" from google.protobuf import descriptor as _descriptor from google.protobuf import descriptor_pool as _descriptor_pool @@ -13,7 +13,7 @@ _runtime_version.Domain.PUBLIC, 5, 28, - 0, + 1, '', 'plugins/graphql/v1/plugin.proto' ) @@ -25,7 +25,7 @@ from superblocks_types.common.v1 import plugin_pb2 as common_dot_v1_dot_plugin__pb2 -DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n\x1fplugins/graphql/v1/plugin.proto\x12\x12plugins.graphql.v1\x1a\x16\x63ommon/v1/plugin.proto\"v\n\x06\x43ustom\x12\x31\n\tvariables\x18\x01 \x01(\x0b\x32\x13.common.v1.PropertyR\tvariables\x12\x39\n\rrequestFormat\x18\x02 \x01(\x0b\x32\x13.common.v1.PropertyR\rrequestFormat\"\xdd\x02\n\x06Plugin\x12\x12\n\x04path\x18\x01 \x01(\tR\x04path\x12-\n\x07headers\x18\x02 \x03(\x0b\x32\x13.common.v1.PropertyR\x07headers\x12\x12\n\x04\x62ody\x18\x03 \x01(\tR\x04\x62ody\x12\x37\n\x06\x63ustom\x18\x04 \x01(\x0b\x32\x1a.plugins.graphql.v1.CustomH\x00R\x06\x63ustom\x88\x01\x01\x12P\n\x13superblocksMetadata\x18\x05 \x01(\x0b\x32\x1e.common.v1.SuperblocksMetadataR\x13superblocksMetadata\x12,\n\x11verboseHttpOutput\x18\x06 \x01(\x08R\x11verboseHttpOutput\x12\x38\n\x17\x64oNotFailOnRequestError\x18\x07 \x01(\x08R\x17\x64oNotFailOnRequestErrorB\t\n\x07_customBBZ@github.com/superblocksteam/agent/types/gen/go/plugins/graphql/v1b\x06proto3') +DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n\x1fplugins/graphql/v1/plugin.proto\x12\x12plugins.graphql.v1\x1a\x16\x63ommon/v1/plugin.proto\"v\n\x06\x43ustom\x12\x31\n\tvariables\x18\x01 \x01(\x0b\x32\x13.common.v1.PropertyR\tvariables\x12\x39\n\rrequestFormat\x18\x02 \x01(\x0b\x32\x13.common.v1.PropertyR\rrequestFormat\"\xd5\x02\n\x06Plugin\x12\x12\n\x04path\x18\x01 \x01(\tR\x04path\x12-\n\x07headers\x18\x02 \x03(\x0b\x32\x13.common.v1.PropertyR\x07headers\x12\x12\n\x04\x62ody\x18\x03 \x01(\tR\x04\x62ody\x12\x37\n\x06\x63ustom\x18\x04 \x01(\x0b\x32\x1a.plugins.graphql.v1.CustomH\x00R\x06\x63ustom\x88\x01\x01\x12P\n\x13superblocksMetadata\x18\x05 \x01(\x0b\x32\x1e.common.v1.SuperblocksMetadataR\x13superblocksMetadata\x12,\n\x11verboseHttpOutput\x18\x06 \x01(\x08R\x11verboseHttpOutput\x12\x30\n\x13\x66\x61ilOnGraphqlErrors\x18\x07 \x01(\x08R\x13\x66\x61ilOnGraphqlErrorsB\t\n\x07_customBBZ@github.com/superblocksteam/agent/types/gen/go/plugins/graphql/v1b\x06proto3') _globals = globals() _builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) @@ -36,5 +36,5 @@ _globals['_CUSTOM']._serialized_start=79 _globals['_CUSTOM']._serialized_end=197 _globals['_PLUGIN']._serialized_start=200 - _globals['_PLUGIN']._serialized_end=549 + _globals['_PLUGIN']._serialized_end=541 # @@protoc_insertion_point(module_scope) diff --git a/types/gen/py/superblocks_types/plugins/gsheets/v1/plugin_pb2.py b/types/gen/py/superblocks_types/plugins/gsheets/v1/plugin_pb2.py index 38e41402..f2311474 100644 --- a/types/gen/py/superblocks_types/plugins/gsheets/v1/plugin_pb2.py +++ b/types/gen/py/superblocks_types/plugins/gsheets/v1/plugin_pb2.py @@ -2,7 +2,7 @@ # Generated by the protocol buffer compiler. DO NOT EDIT! # NO CHECKED-IN PROTOBUF GENCODE # source: plugins/gsheets/v1/plugin.proto -# Protobuf Python Version: 5.28.0 +# Protobuf Python Version: 5.28.1 """Generated protocol buffer code.""" from google.protobuf import descriptor as _descriptor from google.protobuf import descriptor_pool as _descriptor_pool @@ -13,7 +13,7 @@ _runtime_version.Domain.PUBLIC, 5, 28, - 0, + 1, '', 'plugins/gsheets/v1/plugin.proto' ) diff --git a/types/gen/py/superblocks_types/plugins/javascript/v1/plugin_pb2.py b/types/gen/py/superblocks_types/plugins/javascript/v1/plugin_pb2.py index b5cf52b5..36b45245 100644 --- a/types/gen/py/superblocks_types/plugins/javascript/v1/plugin_pb2.py +++ b/types/gen/py/superblocks_types/plugins/javascript/v1/plugin_pb2.py @@ -2,7 +2,7 @@ # Generated by the protocol buffer compiler. DO NOT EDIT! # NO CHECKED-IN PROTOBUF GENCODE # source: plugins/javascript/v1/plugin.proto -# Protobuf Python Version: 5.28.0 +# Protobuf Python Version: 5.28.1 """Generated protocol buffer code.""" from google.protobuf import descriptor as _descriptor from google.protobuf import descriptor_pool as _descriptor_pool @@ -13,7 +13,7 @@ _runtime_version.Domain.PUBLIC, 5, 28, - 0, + 1, '', 'plugins/javascript/v1/plugin.proto' ) diff --git a/types/gen/py/superblocks_types/plugins/kafka/v1/plugin_pb2.py b/types/gen/py/superblocks_types/plugins/kafka/v1/plugin_pb2.py index 4e3a6f04..e37e3b83 100644 --- a/types/gen/py/superblocks_types/plugins/kafka/v1/plugin_pb2.py +++ b/types/gen/py/superblocks_types/plugins/kafka/v1/plugin_pb2.py @@ -2,7 +2,7 @@ # Generated by the protocol buffer compiler. DO NOT EDIT! # NO CHECKED-IN PROTOBUF GENCODE # source: plugins/kafka/v1/plugin.proto -# Protobuf Python Version: 5.28.0 +# Protobuf Python Version: 5.28.1 """Generated protocol buffer code.""" from google.protobuf import descriptor as _descriptor from google.protobuf import descriptor_pool as _descriptor_pool @@ -13,7 +13,7 @@ _runtime_version.Domain.PUBLIC, 5, 28, - 0, + 1, '', 'plugins/kafka/v1/plugin.proto' ) diff --git a/types/gen/py/superblocks_types/plugins/kinesis/v1/plugin_pb2.py b/types/gen/py/superblocks_types/plugins/kinesis/v1/plugin_pb2.py index b1fc59ab..a520e2d1 100644 --- a/types/gen/py/superblocks_types/plugins/kinesis/v1/plugin_pb2.py +++ b/types/gen/py/superblocks_types/plugins/kinesis/v1/plugin_pb2.py @@ -2,7 +2,7 @@ # Generated by the protocol buffer compiler. DO NOT EDIT! # NO CHECKED-IN PROTOBUF GENCODE # source: plugins/kinesis/v1/plugin.proto -# Protobuf Python Version: 5.28.0 +# Protobuf Python Version: 5.28.1 """Generated protocol buffer code.""" from google.protobuf import descriptor as _descriptor from google.protobuf import descriptor_pool as _descriptor_pool @@ -13,7 +13,7 @@ _runtime_version.Domain.PUBLIC, 5, 28, - 0, + 1, '', 'plugins/kinesis/v1/plugin.proto' ) diff --git a/types/gen/py/superblocks_types/plugins/mariadb/v1/plugin_pb2.py b/types/gen/py/superblocks_types/plugins/mariadb/v1/plugin_pb2.py index dce67907..c7a5b2f5 100644 --- a/types/gen/py/superblocks_types/plugins/mariadb/v1/plugin_pb2.py +++ b/types/gen/py/superblocks_types/plugins/mariadb/v1/plugin_pb2.py @@ -2,7 +2,7 @@ # Generated by the protocol buffer compiler. DO NOT EDIT! # NO CHECKED-IN PROTOBUF GENCODE # source: plugins/mariadb/v1/plugin.proto -# Protobuf Python Version: 5.28.0 +# Protobuf Python Version: 5.28.1 """Generated protocol buffer code.""" from google.protobuf import descriptor as _descriptor from google.protobuf import descriptor_pool as _descriptor_pool @@ -13,7 +13,7 @@ _runtime_version.Domain.PUBLIC, 5, 28, - 0, + 1, '', 'plugins/mariadb/v1/plugin.proto' ) diff --git a/types/gen/py/superblocks_types/plugins/mongodb/v1/plugin_pb2.py b/types/gen/py/superblocks_types/plugins/mongodb/v1/plugin_pb2.py index 3f8ac27f..b57c3976 100644 --- a/types/gen/py/superblocks_types/plugins/mongodb/v1/plugin_pb2.py +++ b/types/gen/py/superblocks_types/plugins/mongodb/v1/plugin_pb2.py @@ -2,7 +2,7 @@ # Generated by the protocol buffer compiler. DO NOT EDIT! # NO CHECKED-IN PROTOBUF GENCODE # source: plugins/mongodb/v1/plugin.proto -# Protobuf Python Version: 5.28.0 +# Protobuf Python Version: 5.28.1 """Generated protocol buffer code.""" from google.protobuf import descriptor as _descriptor from google.protobuf import descriptor_pool as _descriptor_pool @@ -13,7 +13,7 @@ _runtime_version.Domain.PUBLIC, 5, 28, - 0, + 1, '', 'plugins/mongodb/v1/plugin.proto' ) diff --git a/types/gen/py/superblocks_types/plugins/mssql/v1/plugin_pb2.py b/types/gen/py/superblocks_types/plugins/mssql/v1/plugin_pb2.py index b58591d6..42686484 100644 --- a/types/gen/py/superblocks_types/plugins/mssql/v1/plugin_pb2.py +++ b/types/gen/py/superblocks_types/plugins/mssql/v1/plugin_pb2.py @@ -2,7 +2,7 @@ # Generated by the protocol buffer compiler. DO NOT EDIT! # NO CHECKED-IN PROTOBUF GENCODE # source: plugins/mssql/v1/plugin.proto -# Protobuf Python Version: 5.28.0 +# Protobuf Python Version: 5.28.1 """Generated protocol buffer code.""" from google.protobuf import descriptor as _descriptor from google.protobuf import descriptor_pool as _descriptor_pool @@ -13,7 +13,7 @@ _runtime_version.Domain.PUBLIC, 5, 28, - 0, + 1, '', 'plugins/mssql/v1/plugin.proto' ) diff --git a/types/gen/py/superblocks_types/plugins/mysql/v1/plugin_pb2.py b/types/gen/py/superblocks_types/plugins/mysql/v1/plugin_pb2.py index f2b49f34..4c65a6b7 100644 --- a/types/gen/py/superblocks_types/plugins/mysql/v1/plugin_pb2.py +++ b/types/gen/py/superblocks_types/plugins/mysql/v1/plugin_pb2.py @@ -2,7 +2,7 @@ # Generated by the protocol buffer compiler. DO NOT EDIT! # NO CHECKED-IN PROTOBUF GENCODE # source: plugins/mysql/v1/plugin.proto -# Protobuf Python Version: 5.28.0 +# Protobuf Python Version: 5.28.1 """Generated protocol buffer code.""" from google.protobuf import descriptor as _descriptor from google.protobuf import descriptor_pool as _descriptor_pool @@ -13,7 +13,7 @@ _runtime_version.Domain.PUBLIC, 5, 28, - 0, + 1, '', 'plugins/mysql/v1/plugin.proto' ) diff --git a/types/gen/py/superblocks_types/plugins/ocr/v1/plugin_pb2.py b/types/gen/py/superblocks_types/plugins/ocr/v1/plugin_pb2.py index 84335301..b7ab0f64 100644 --- a/types/gen/py/superblocks_types/plugins/ocr/v1/plugin_pb2.py +++ b/types/gen/py/superblocks_types/plugins/ocr/v1/plugin_pb2.py @@ -2,7 +2,7 @@ # Generated by the protocol buffer compiler. DO NOT EDIT! # NO CHECKED-IN PROTOBUF GENCODE # source: plugins/ocr/v1/plugin.proto -# Protobuf Python Version: 5.28.0 +# Protobuf Python Version: 5.28.1 """Generated protocol buffer code.""" from google.protobuf import descriptor as _descriptor from google.protobuf import descriptor_pool as _descriptor_pool @@ -13,7 +13,7 @@ _runtime_version.Domain.PUBLIC, 5, 28, - 0, + 1, '', 'plugins/ocr/v1/plugin.proto' ) diff --git a/types/gen/py/superblocks_types/plugins/openai/v1/plugin_pb2.py b/types/gen/py/superblocks_types/plugins/openai/v1/plugin_pb2.py index 0b5da54e..4bee17c0 100644 --- a/types/gen/py/superblocks_types/plugins/openai/v1/plugin_pb2.py +++ b/types/gen/py/superblocks_types/plugins/openai/v1/plugin_pb2.py @@ -2,7 +2,7 @@ # Generated by the protocol buffer compiler. DO NOT EDIT! # NO CHECKED-IN PROTOBUF GENCODE # source: plugins/openai/v1/plugin.proto -# Protobuf Python Version: 5.28.0 +# Protobuf Python Version: 5.28.1 """Generated protocol buffer code.""" from google.protobuf import descriptor as _descriptor from google.protobuf import descriptor_pool as _descriptor_pool @@ -13,7 +13,7 @@ _runtime_version.Domain.PUBLIC, 5, 28, - 0, + 1, '', 'plugins/openai/v1/plugin.proto' ) diff --git a/types/gen/py/superblocks_types/plugins/oracledb/v1/plugin_pb2.py b/types/gen/py/superblocks_types/plugins/oracledb/v1/plugin_pb2.py index 0cc2f849..e31278b7 100644 --- a/types/gen/py/superblocks_types/plugins/oracledb/v1/plugin_pb2.py +++ b/types/gen/py/superblocks_types/plugins/oracledb/v1/plugin_pb2.py @@ -2,7 +2,7 @@ # Generated by the protocol buffer compiler. DO NOT EDIT! # NO CHECKED-IN PROTOBUF GENCODE # source: plugins/oracledb/v1/plugin.proto -# Protobuf Python Version: 5.28.0 +# Protobuf Python Version: 5.28.1 """Generated protocol buffer code.""" from google.protobuf import descriptor as _descriptor from google.protobuf import descriptor_pool as _descriptor_pool @@ -13,7 +13,7 @@ _runtime_version.Domain.PUBLIC, 5, 28, - 0, + 1, '', 'plugins/oracledb/v1/plugin.proto' ) diff --git a/types/gen/py/superblocks_types/plugins/pinecone/v1/plugin_pb2.py b/types/gen/py/superblocks_types/plugins/pinecone/v1/plugin_pb2.py index b1ea8b4e..8f27300e 100644 --- a/types/gen/py/superblocks_types/plugins/pinecone/v1/plugin_pb2.py +++ b/types/gen/py/superblocks_types/plugins/pinecone/v1/plugin_pb2.py @@ -2,7 +2,7 @@ # Generated by the protocol buffer compiler. DO NOT EDIT! # NO CHECKED-IN PROTOBUF GENCODE # source: plugins/pinecone/v1/plugin.proto -# Protobuf Python Version: 5.28.0 +# Protobuf Python Version: 5.28.1 """Generated protocol buffer code.""" from google.protobuf import descriptor as _descriptor from google.protobuf import descriptor_pool as _descriptor_pool @@ -13,7 +13,7 @@ _runtime_version.Domain.PUBLIC, 5, 28, - 0, + 1, '', 'plugins/pinecone/v1/plugin.proto' ) diff --git a/types/gen/py/superblocks_types/plugins/postgresql/v1/plugin_pb2.py b/types/gen/py/superblocks_types/plugins/postgresql/v1/plugin_pb2.py index eee4d556..1b12c2e2 100644 --- a/types/gen/py/superblocks_types/plugins/postgresql/v1/plugin_pb2.py +++ b/types/gen/py/superblocks_types/plugins/postgresql/v1/plugin_pb2.py @@ -2,7 +2,7 @@ # Generated by the protocol buffer compiler. DO NOT EDIT! # NO CHECKED-IN PROTOBUF GENCODE # source: plugins/postgresql/v1/plugin.proto -# Protobuf Python Version: 5.28.0 +# Protobuf Python Version: 5.28.1 """Generated protocol buffer code.""" from google.protobuf import descriptor as _descriptor from google.protobuf import descriptor_pool as _descriptor_pool @@ -13,7 +13,7 @@ _runtime_version.Domain.PUBLIC, 5, 28, - 0, + 1, '', 'plugins/postgresql/v1/plugin.proto' ) diff --git a/types/gen/py/superblocks_types/plugins/python/v1/plugin_pb2.py b/types/gen/py/superblocks_types/plugins/python/v1/plugin_pb2.py index 68924f3f..66312f40 100644 --- a/types/gen/py/superblocks_types/plugins/python/v1/plugin_pb2.py +++ b/types/gen/py/superblocks_types/plugins/python/v1/plugin_pb2.py @@ -2,7 +2,7 @@ # Generated by the protocol buffer compiler. DO NOT EDIT! # NO CHECKED-IN PROTOBUF GENCODE # source: plugins/python/v1/plugin.proto -# Protobuf Python Version: 5.28.0 +# Protobuf Python Version: 5.28.1 """Generated protocol buffer code.""" from google.protobuf import descriptor as _descriptor from google.protobuf import descriptor_pool as _descriptor_pool @@ -13,7 +13,7 @@ _runtime_version.Domain.PUBLIC, 5, 28, - 0, + 1, '', 'plugins/python/v1/plugin.proto' ) diff --git a/types/gen/py/superblocks_types/plugins/redis/v1/plugin_pb2.py b/types/gen/py/superblocks_types/plugins/redis/v1/plugin_pb2.py index 6aa9cb0b..0fefd3a2 100644 --- a/types/gen/py/superblocks_types/plugins/redis/v1/plugin_pb2.py +++ b/types/gen/py/superblocks_types/plugins/redis/v1/plugin_pb2.py @@ -2,7 +2,7 @@ # Generated by the protocol buffer compiler. DO NOT EDIT! # NO CHECKED-IN PROTOBUF GENCODE # source: plugins/redis/v1/plugin.proto -# Protobuf Python Version: 5.28.0 +# Protobuf Python Version: 5.28.1 """Generated protocol buffer code.""" from google.protobuf import descriptor as _descriptor from google.protobuf import descriptor_pool as _descriptor_pool @@ -13,7 +13,7 @@ _runtime_version.Domain.PUBLIC, 5, 28, - 0, + 1, '', 'plugins/redis/v1/plugin.proto' ) diff --git a/types/gen/py/superblocks_types/plugins/redshift/v1/plugin_pb2.py b/types/gen/py/superblocks_types/plugins/redshift/v1/plugin_pb2.py index d2dd5506..31669728 100644 --- a/types/gen/py/superblocks_types/plugins/redshift/v1/plugin_pb2.py +++ b/types/gen/py/superblocks_types/plugins/redshift/v1/plugin_pb2.py @@ -2,7 +2,7 @@ # Generated by the protocol buffer compiler. DO NOT EDIT! # NO CHECKED-IN PROTOBUF GENCODE # source: plugins/redshift/v1/plugin.proto -# Protobuf Python Version: 5.28.0 +# Protobuf Python Version: 5.28.1 """Generated protocol buffer code.""" from google.protobuf import descriptor as _descriptor from google.protobuf import descriptor_pool as _descriptor_pool @@ -13,7 +13,7 @@ _runtime_version.Domain.PUBLIC, 5, 28, - 0, + 1, '', 'plugins/redshift/v1/plugin.proto' ) diff --git a/types/gen/py/superblocks_types/plugins/restapi/v1/plugin_pb2.py b/types/gen/py/superblocks_types/plugins/restapi/v1/plugin_pb2.py index 09a28570..2e8cc6c0 100644 --- a/types/gen/py/superblocks_types/plugins/restapi/v1/plugin_pb2.py +++ b/types/gen/py/superblocks_types/plugins/restapi/v1/plugin_pb2.py @@ -2,7 +2,7 @@ # Generated by the protocol buffer compiler. DO NOT EDIT! # NO CHECKED-IN PROTOBUF GENCODE # source: plugins/restapi/v1/plugin.proto -# Protobuf Python Version: 5.28.0 +# Protobuf Python Version: 5.28.1 """Generated protocol buffer code.""" from google.protobuf import descriptor as _descriptor from google.protobuf import descriptor_pool as _descriptor_pool @@ -13,7 +13,7 @@ _runtime_version.Domain.PUBLIC, 5, 28, - 0, + 1, '', 'plugins/restapi/v1/plugin.proto' ) diff --git a/types/gen/py/superblocks_types/plugins/restapiintegration/v1/plugin_pb2.py b/types/gen/py/superblocks_types/plugins/restapiintegration/v1/plugin_pb2.py index eb14a46e..13608b29 100644 --- a/types/gen/py/superblocks_types/plugins/restapiintegration/v1/plugin_pb2.py +++ b/types/gen/py/superblocks_types/plugins/restapiintegration/v1/plugin_pb2.py @@ -2,7 +2,7 @@ # Generated by the protocol buffer compiler. DO NOT EDIT! # NO CHECKED-IN PROTOBUF GENCODE # source: plugins/restapiintegration/v1/plugin.proto -# Protobuf Python Version: 5.28.0 +# Protobuf Python Version: 5.28.1 """Generated protocol buffer code.""" from google.protobuf import descriptor as _descriptor from google.protobuf import descriptor_pool as _descriptor_pool @@ -13,7 +13,7 @@ _runtime_version.Domain.PUBLIC, 5, 28, - 0, + 1, '', 'plugins/restapiintegration/v1/plugin.proto' ) diff --git a/types/gen/py/superblocks_types/plugins/rockset/v1/plugin_pb2.py b/types/gen/py/superblocks_types/plugins/rockset/v1/plugin_pb2.py index 7cdead4a..06774b41 100644 --- a/types/gen/py/superblocks_types/plugins/rockset/v1/plugin_pb2.py +++ b/types/gen/py/superblocks_types/plugins/rockset/v1/plugin_pb2.py @@ -2,7 +2,7 @@ # Generated by the protocol buffer compiler. DO NOT EDIT! # NO CHECKED-IN PROTOBUF GENCODE # source: plugins/rockset/v1/plugin.proto -# Protobuf Python Version: 5.28.0 +# Protobuf Python Version: 5.28.1 """Generated protocol buffer code.""" from google.protobuf import descriptor as _descriptor from google.protobuf import descriptor_pool as _descriptor_pool @@ -13,7 +13,7 @@ _runtime_version.Domain.PUBLIC, 5, 28, - 0, + 1, '', 'plugins/rockset/v1/plugin.proto' ) diff --git a/types/gen/py/superblocks_types/plugins/s3/v1/plugin_pb2.py b/types/gen/py/superblocks_types/plugins/s3/v1/plugin_pb2.py index eddfd129..949e3012 100644 --- a/types/gen/py/superblocks_types/plugins/s3/v1/plugin_pb2.py +++ b/types/gen/py/superblocks_types/plugins/s3/v1/plugin_pb2.py @@ -2,7 +2,7 @@ # Generated by the protocol buffer compiler. DO NOT EDIT! # NO CHECKED-IN PROTOBUF GENCODE # source: plugins/s3/v1/plugin.proto -# Protobuf Python Version: 5.28.0 +# Protobuf Python Version: 5.28.1 """Generated protocol buffer code.""" from google.protobuf import descriptor as _descriptor from google.protobuf import descriptor_pool as _descriptor_pool @@ -13,7 +13,7 @@ _runtime_version.Domain.PUBLIC, 5, 28, - 0, + 1, '', 'plugins/s3/v1/plugin.proto' ) diff --git a/types/gen/py/superblocks_types/plugins/salesforce/v1/plugin_pb2.py b/types/gen/py/superblocks_types/plugins/salesforce/v1/plugin_pb2.py index a1346e63..0e5f3965 100644 --- a/types/gen/py/superblocks_types/plugins/salesforce/v1/plugin_pb2.py +++ b/types/gen/py/superblocks_types/plugins/salesforce/v1/plugin_pb2.py @@ -2,7 +2,7 @@ # Generated by the protocol buffer compiler. DO NOT EDIT! # NO CHECKED-IN PROTOBUF GENCODE # source: plugins/salesforce/v1/plugin.proto -# Protobuf Python Version: 5.28.0 +# Protobuf Python Version: 5.28.1 """Generated protocol buffer code.""" from google.protobuf import descriptor as _descriptor from google.protobuf import descriptor_pool as _descriptor_pool @@ -13,7 +13,7 @@ _runtime_version.Domain.PUBLIC, 5, 28, - 0, + 1, '', 'plugins/salesforce/v1/plugin.proto' ) diff --git a/types/gen/py/superblocks_types/plugins/smtp/v1/plugin_pb2.py b/types/gen/py/superblocks_types/plugins/smtp/v1/plugin_pb2.py index 0cde5f33..a5be81f5 100644 --- a/types/gen/py/superblocks_types/plugins/smtp/v1/plugin_pb2.py +++ b/types/gen/py/superblocks_types/plugins/smtp/v1/plugin_pb2.py @@ -2,7 +2,7 @@ # Generated by the protocol buffer compiler. DO NOT EDIT! # NO CHECKED-IN PROTOBUF GENCODE # source: plugins/smtp/v1/plugin.proto -# Protobuf Python Version: 5.28.0 +# Protobuf Python Version: 5.28.1 """Generated protocol buffer code.""" from google.protobuf import descriptor as _descriptor from google.protobuf import descriptor_pool as _descriptor_pool @@ -13,7 +13,7 @@ _runtime_version.Domain.PUBLIC, 5, 28, - 0, + 1, '', 'plugins/smtp/v1/plugin.proto' ) diff --git a/types/gen/py/superblocks_types/plugins/snowflake/v1/plugin_pb2.py b/types/gen/py/superblocks_types/plugins/snowflake/v1/plugin_pb2.py index 3d0649ae..bd0ecc92 100644 --- a/types/gen/py/superblocks_types/plugins/snowflake/v1/plugin_pb2.py +++ b/types/gen/py/superblocks_types/plugins/snowflake/v1/plugin_pb2.py @@ -2,7 +2,7 @@ # Generated by the protocol buffer compiler. DO NOT EDIT! # NO CHECKED-IN PROTOBUF GENCODE # source: plugins/snowflake/v1/plugin.proto -# Protobuf Python Version: 5.28.0 +# Protobuf Python Version: 5.28.1 """Generated protocol buffer code.""" from google.protobuf import descriptor as _descriptor from google.protobuf import descriptor_pool as _descriptor_pool @@ -13,7 +13,7 @@ _runtime_version.Domain.PUBLIC, 5, 28, - 0, + 1, '', 'plugins/snowflake/v1/plugin.proto' ) diff --git a/types/gen/py/superblocks_types/plugins/workflow/v1/plugin_pb2.py b/types/gen/py/superblocks_types/plugins/workflow/v1/plugin_pb2.py index 21140a2a..cedfe8a5 100644 --- a/types/gen/py/superblocks_types/plugins/workflow/v1/plugin_pb2.py +++ b/types/gen/py/superblocks_types/plugins/workflow/v1/plugin_pb2.py @@ -2,7 +2,7 @@ # Generated by the protocol buffer compiler. DO NOT EDIT! # NO CHECKED-IN PROTOBUF GENCODE # source: plugins/workflow/v1/plugin.proto -# Protobuf Python Version: 5.28.0 +# Protobuf Python Version: 5.28.1 """Generated protocol buffer code.""" from google.protobuf import descriptor as _descriptor from google.protobuf import descriptor_pool as _descriptor_pool @@ -13,7 +13,7 @@ _runtime_version.Domain.PUBLIC, 5, 28, - 0, + 1, '', 'plugins/workflow/v1/plugin.proto' ) diff --git a/types/gen/py/superblocks_types/plugins/workflow/v2/plugin_pb2.py b/types/gen/py/superblocks_types/plugins/workflow/v2/plugin_pb2.py index 5e21334a..e93d6862 100644 --- a/types/gen/py/superblocks_types/plugins/workflow/v2/plugin_pb2.py +++ b/types/gen/py/superblocks_types/plugins/workflow/v2/plugin_pb2.py @@ -2,7 +2,7 @@ # Generated by the protocol buffer compiler. DO NOT EDIT! # NO CHECKED-IN PROTOBUF GENCODE # source: plugins/workflow/v2/plugin.proto -# Protobuf Python Version: 5.28.0 +# Protobuf Python Version: 5.28.1 """Generated protocol buffer code.""" from google.protobuf import descriptor as _descriptor from google.protobuf import descriptor_pool as _descriptor_pool @@ -13,7 +13,7 @@ _runtime_version.Domain.PUBLIC, 5, 28, - 0, + 1, '', 'plugins/workflow/v2/plugin.proto' ) diff --git a/types/gen/py/superblocks_types/protoc_gen_openapiv2/options/annotations_pb2.py b/types/gen/py/superblocks_types/protoc_gen_openapiv2/options/annotations_pb2.py index 311b18c5..2702be2d 100644 --- a/types/gen/py/superblocks_types/protoc_gen_openapiv2/options/annotations_pb2.py +++ b/types/gen/py/superblocks_types/protoc_gen_openapiv2/options/annotations_pb2.py @@ -2,7 +2,7 @@ # Generated by the protocol buffer compiler. DO NOT EDIT! # NO CHECKED-IN PROTOBUF GENCODE # source: protoc-gen-openapiv2/options/annotations.proto -# Protobuf Python Version: 5.28.0 +# Protobuf Python Version: 5.28.1 """Generated protocol buffer code.""" from google.protobuf import descriptor as _descriptor from google.protobuf import descriptor_pool as _descriptor_pool @@ -13,7 +13,7 @@ _runtime_version.Domain.PUBLIC, 5, 28, - 0, + 1, '', 'protoc-gen-openapiv2/options/annotations.proto' ) diff --git a/types/gen/py/superblocks_types/protoc_gen_openapiv2/options/openapiv2_pb2.py b/types/gen/py/superblocks_types/protoc_gen_openapiv2/options/openapiv2_pb2.py index fe0f4d02..5c97a019 100644 --- a/types/gen/py/superblocks_types/protoc_gen_openapiv2/options/openapiv2_pb2.py +++ b/types/gen/py/superblocks_types/protoc_gen_openapiv2/options/openapiv2_pb2.py @@ -2,7 +2,7 @@ # Generated by the protocol buffer compiler. DO NOT EDIT! # NO CHECKED-IN PROTOBUF GENCODE # source: protoc-gen-openapiv2/options/openapiv2.proto -# Protobuf Python Version: 5.28.0 +# Protobuf Python Version: 5.28.1 """Generated protocol buffer code.""" from google.protobuf import descriptor as _descriptor from google.protobuf import descriptor_pool as _descriptor_pool @@ -13,7 +13,7 @@ _runtime_version.Domain.PUBLIC, 5, 28, - 0, + 1, '', 'protoc-gen-openapiv2/options/openapiv2.proto' ) diff --git a/types/gen/py/superblocks_types/secrets/v1/secrets_pb2.py b/types/gen/py/superblocks_types/secrets/v1/secrets_pb2.py index d2b90062..913218c0 100644 --- a/types/gen/py/superblocks_types/secrets/v1/secrets_pb2.py +++ b/types/gen/py/superblocks_types/secrets/v1/secrets_pb2.py @@ -2,7 +2,7 @@ # Generated by the protocol buffer compiler. DO NOT EDIT! # NO CHECKED-IN PROTOBUF GENCODE # source: secrets/v1/secrets.proto -# Protobuf Python Version: 5.28.0 +# Protobuf Python Version: 5.28.1 """Generated protocol buffer code.""" from google.protobuf import descriptor as _descriptor from google.protobuf import descriptor_pool as _descriptor_pool @@ -13,7 +13,7 @@ _runtime_version.Domain.PUBLIC, 5, 28, - 0, + 1, '', 'secrets/v1/secrets.proto' ) diff --git a/types/gen/py/superblocks_types/secrets/v1/store_pb2.py b/types/gen/py/superblocks_types/secrets/v1/store_pb2.py index 933ed59b..e8966bf5 100644 --- a/types/gen/py/superblocks_types/secrets/v1/store_pb2.py +++ b/types/gen/py/superblocks_types/secrets/v1/store_pb2.py @@ -2,7 +2,7 @@ # Generated by the protocol buffer compiler. DO NOT EDIT! # NO CHECKED-IN PROTOBUF GENCODE # source: secrets/v1/store.proto -# Protobuf Python Version: 5.28.0 +# Protobuf Python Version: 5.28.1 """Generated protocol buffer code.""" from google.protobuf import descriptor as _descriptor from google.protobuf import descriptor_pool as _descriptor_pool @@ -13,7 +13,7 @@ _runtime_version.Domain.PUBLIC, 5, 28, - 0, + 1, '', 'secrets/v1/store.proto' ) diff --git a/types/gen/py/superblocks_types/security/v1/requests_pb2.py b/types/gen/py/superblocks_types/security/v1/requests_pb2.py index b8d7c190..f9653f3e 100644 --- a/types/gen/py/superblocks_types/security/v1/requests_pb2.py +++ b/types/gen/py/superblocks_types/security/v1/requests_pb2.py @@ -2,7 +2,7 @@ # Generated by the protocol buffer compiler. DO NOT EDIT! # NO CHECKED-IN PROTOBUF GENCODE # source: security/v1/requests.proto -# Protobuf Python Version: 5.28.0 +# Protobuf Python Version: 5.28.1 """Generated protocol buffer code.""" from google.protobuf import descriptor as _descriptor from google.protobuf import descriptor_pool as _descriptor_pool @@ -13,7 +13,7 @@ _runtime_version.Domain.PUBLIC, 5, 28, - 0, + 1, '', 'security/v1/requests.proto' ) diff --git a/types/gen/py/superblocks_types/security/v1/service_pb2.py b/types/gen/py/superblocks_types/security/v1/service_pb2.py index dd64e2e3..b739f7bd 100644 --- a/types/gen/py/superblocks_types/security/v1/service_pb2.py +++ b/types/gen/py/superblocks_types/security/v1/service_pb2.py @@ -2,7 +2,7 @@ # Generated by the protocol buffer compiler. DO NOT EDIT! # NO CHECKED-IN PROTOBUF GENCODE # source: security/v1/service.proto -# Protobuf Python Version: 5.28.0 +# Protobuf Python Version: 5.28.1 """Generated protocol buffer code.""" from google.protobuf import descriptor as _descriptor from google.protobuf import descriptor_pool as _descriptor_pool @@ -13,7 +13,7 @@ _runtime_version.Domain.PUBLIC, 5, 28, - 0, + 1, '', 'security/v1/service.proto' ) diff --git a/types/gen/py/superblocks_types/store/v1/service_pb2.py b/types/gen/py/superblocks_types/store/v1/service_pb2.py index 4437ae6d..b38f7e78 100644 --- a/types/gen/py/superblocks_types/store/v1/service_pb2.py +++ b/types/gen/py/superblocks_types/store/v1/service_pb2.py @@ -2,7 +2,7 @@ # Generated by the protocol buffer compiler. DO NOT EDIT! # NO CHECKED-IN PROTOBUF GENCODE # source: store/v1/service.proto -# Protobuf Python Version: 5.28.0 +# Protobuf Python Version: 5.28.1 """Generated protocol buffer code.""" from google.protobuf import descriptor as _descriptor from google.protobuf import descriptor_pool as _descriptor_pool @@ -13,7 +13,7 @@ _runtime_version.Domain.PUBLIC, 5, 28, - 0, + 1, '', 'store/v1/service.proto' ) diff --git a/types/gen/py/superblocks_types/store/v1/store_pb2.py b/types/gen/py/superblocks_types/store/v1/store_pb2.py index 06144f36..e049355f 100644 --- a/types/gen/py/superblocks_types/store/v1/store_pb2.py +++ b/types/gen/py/superblocks_types/store/v1/store_pb2.py @@ -2,7 +2,7 @@ # Generated by the protocol buffer compiler. DO NOT EDIT! # NO CHECKED-IN PROTOBUF GENCODE # source: store/v1/store.proto -# Protobuf Python Version: 5.28.0 +# Protobuf Python Version: 5.28.1 """Generated protocol buffer code.""" from google.protobuf import descriptor as _descriptor from google.protobuf import descriptor_pool as _descriptor_pool @@ -13,7 +13,7 @@ _runtime_version.Domain.PUBLIC, 5, 28, - 0, + 1, '', 'store/v1/store.proto' ) diff --git a/types/gen/py/superblocks_types/superblocks/v1/options_pb2.py b/types/gen/py/superblocks_types/superblocks/v1/options_pb2.py index 44b1ecdc..d00ac9fc 100644 --- a/types/gen/py/superblocks_types/superblocks/v1/options_pb2.py +++ b/types/gen/py/superblocks_types/superblocks/v1/options_pb2.py @@ -2,7 +2,7 @@ # Generated by the protocol buffer compiler. DO NOT EDIT! # NO CHECKED-IN PROTOBUF GENCODE # source: superblocks/v1/options.proto -# Protobuf Python Version: 5.28.0 +# Protobuf Python Version: 5.28.1 """Generated protocol buffer code.""" from google.protobuf import descriptor as _descriptor from google.protobuf import descriptor_pool as _descriptor_pool @@ -13,7 +13,7 @@ _runtime_version.Domain.PUBLIC, 5, 28, - 0, + 1, '', 'superblocks/v1/options.proto' ) diff --git a/types/gen/py/superblocks_types/syncer/v1/service_pb2.py b/types/gen/py/superblocks_types/syncer/v1/service_pb2.py index 220da30b..893961c2 100644 --- a/types/gen/py/superblocks_types/syncer/v1/service_pb2.py +++ b/types/gen/py/superblocks_types/syncer/v1/service_pb2.py @@ -2,7 +2,7 @@ # Generated by the protocol buffer compiler. DO NOT EDIT! # NO CHECKED-IN PROTOBUF GENCODE # source: syncer/v1/service.proto -# Protobuf Python Version: 5.28.0 +# Protobuf Python Version: 5.28.1 """Generated protocol buffer code.""" from google.protobuf import descriptor as _descriptor from google.protobuf import descriptor_pool as _descriptor_pool @@ -13,7 +13,7 @@ _runtime_version.Domain.PUBLIC, 5, 28, - 0, + 1, '', 'syncer/v1/service.proto' ) diff --git a/types/gen/py/superblocks_types/syncer/v1/syncer_pb2.py b/types/gen/py/superblocks_types/syncer/v1/syncer_pb2.py index 55cec1aa..b33aa7f2 100644 --- a/types/gen/py/superblocks_types/syncer/v1/syncer_pb2.py +++ b/types/gen/py/superblocks_types/syncer/v1/syncer_pb2.py @@ -2,7 +2,7 @@ # Generated by the protocol buffer compiler. DO NOT EDIT! # NO CHECKED-IN PROTOBUF GENCODE # source: syncer/v1/syncer.proto -# Protobuf Python Version: 5.28.0 +# Protobuf Python Version: 5.28.1 """Generated protocol buffer code.""" from google.protobuf import descriptor as _descriptor from google.protobuf import descriptor_pool as _descriptor_pool @@ -13,7 +13,7 @@ _runtime_version.Domain.PUBLIC, 5, 28, - 0, + 1, '', 'syncer/v1/syncer.proto' ) diff --git a/types/gen/py/superblocks_types/transport/v1/transport_pb2.py b/types/gen/py/superblocks_types/transport/v1/transport_pb2.py index 82c31d04..4f6c9733 100644 --- a/types/gen/py/superblocks_types/transport/v1/transport_pb2.py +++ b/types/gen/py/superblocks_types/transport/v1/transport_pb2.py @@ -2,7 +2,7 @@ # Generated by the protocol buffer compiler. DO NOT EDIT! # NO CHECKED-IN PROTOBUF GENCODE # source: transport/v1/transport.proto -# Protobuf Python Version: 5.28.0 +# Protobuf Python Version: 5.28.1 """Generated protocol buffer code.""" from google.protobuf import descriptor as _descriptor from google.protobuf import descriptor_pool as _descriptor_pool @@ -13,7 +13,7 @@ _runtime_version.Domain.PUBLIC, 5, 28, - 0, + 1, '', 'transport/v1/transport.proto' ) diff --git a/types/gen/py/superblocks_types/utils/v1/utils_pb2.py b/types/gen/py/superblocks_types/utils/v1/utils_pb2.py index b7350857..327ec313 100644 --- a/types/gen/py/superblocks_types/utils/v1/utils_pb2.py +++ b/types/gen/py/superblocks_types/utils/v1/utils_pb2.py @@ -2,7 +2,7 @@ # Generated by the protocol buffer compiler. DO NOT EDIT! # NO CHECKED-IN PROTOBUF GENCODE # source: utils/v1/utils.proto -# Protobuf Python Version: 5.28.0 +# Protobuf Python Version: 5.28.1 """Generated protocol buffer code.""" from google.protobuf import descriptor as _descriptor from google.protobuf import descriptor_pool as _descriptor_pool @@ -13,7 +13,7 @@ _runtime_version.Domain.PUBLIC, 5, 28, - 0, + 1, '', 'utils/v1/utils.proto' ) diff --git a/types/gen/py/superblocks_types/validate/validate_pb2.py b/types/gen/py/superblocks_types/validate/validate_pb2.py index 6d8d177d..3216c385 100644 --- a/types/gen/py/superblocks_types/validate/validate_pb2.py +++ b/types/gen/py/superblocks_types/validate/validate_pb2.py @@ -2,7 +2,7 @@ # Generated by the protocol buffer compiler. DO NOT EDIT! # NO CHECKED-IN PROTOBUF GENCODE # source: validate/validate.proto -# Protobuf Python Version: 5.28.0 +# Protobuf Python Version: 5.28.1 """Generated protocol buffer code.""" from google.protobuf import descriptor as _descriptor from google.protobuf import descriptor_pool as _descriptor_pool @@ -13,7 +13,7 @@ _runtime_version.Domain.PUBLIC, 5, 28, - 0, + 1, '', 'validate/validate.proto' ) diff --git a/types/gen/py/superblocks_types/worker/v1/step_executor_pb2.py b/types/gen/py/superblocks_types/worker/v1/step_executor_pb2.py index 55ce7959..5a666148 100644 --- a/types/gen/py/superblocks_types/worker/v1/step_executor_pb2.py +++ b/types/gen/py/superblocks_types/worker/v1/step_executor_pb2.py @@ -2,7 +2,7 @@ # Generated by the protocol buffer compiler. DO NOT EDIT! # NO CHECKED-IN PROTOBUF GENCODE # source: worker/v1/step_executor.proto -# Protobuf Python Version: 5.28.0 +# Protobuf Python Version: 5.28.1 """Generated protocol buffer code.""" from google.protobuf import descriptor as _descriptor from google.protobuf import descriptor_pool as _descriptor_pool @@ -13,7 +13,7 @@ _runtime_version.Domain.PUBLIC, 5, 28, - 0, + 1, '', 'worker/v1/step_executor.proto' ) diff --git a/types/proto/plugins/graphql/v1/plugin.proto b/types/proto/plugins/graphql/v1/plugin.proto index 3d6e9834..5663dff0 100644 --- a/types/proto/plugins/graphql/v1/plugin.proto +++ b/types/proto/plugins/graphql/v1/plugin.proto @@ -18,5 +18,5 @@ message Plugin { optional Custom custom = 4; common.v1.SuperblocksMetadata superblocksMetadata = 5; bool verboseHttpOutput = 6; // Include HTTP response metadata in output - bool doNotFailOnRequestError = 7; // Do not fail executions on failed requests (4xx/5xx). We use the negative here to ensure the default (falsy) behavior matches the existing API behavior. + bool failOnGraphqlErrors = 7; // Fail executions for GraphQL responses that contain errors } diff --git a/workers/javascript/packages/plugins/graphql/src/index.test.ts b/workers/javascript/packages/plugins/graphql/src/index.test.ts new file mode 100644 index 00000000..ed345b72 --- /dev/null +++ b/workers/javascript/packages/plugins/graphql/src/index.test.ts @@ -0,0 +1,174 @@ +import { + ActionResponseType, + ExecutionOutput, + GraphQLActionConfiguration, + GraphQLDatasourceConfiguration, + Property, + RestApiActionConfiguration, + RestApiDatasourceConfiguration, + DUMMY_ACTION_CONFIGURATION, + DUMMY_EXECUTION_CONTEXT, + DUMMY_EXTRA_PLUGIN_EXECUTION_PROPS, + PluginConfiguration, + PluginExecutionProps +} from '@superblocks/shared'; +import { sample } from 'lodash'; +import GraphQLPlugin from '.'; + +const plugin = new GraphQLPlugin(); +plugin.configure({ + restApiExecutionTimeoutMs: 5000, + restApiMaxContentLengthBytes: 1000000 +} as PluginConfiguration); + +const datasourceConfiguration = { + urlBase: 'https://api.example.com/', + headers: [ + { + key: 'Cookie', + value: 'value1' + } + ] as Property[], + params: [ + { + key: 'param1', + value: 'value1' + }, + { + key: 'param2', + value: '' + } + ] as Property[] +} as GraphQLDatasourceConfiguration; + +const actionConfiguration: GraphQLActionConfiguration = { + path: 'https://api.example.com/home', + headers: [ + { + key: 'Authorization', + value: 'Bearer {{token}}' + } + ] as Property[], + ...DUMMY_ACTION_CONFIGURATION +}; + +describe('GraphQLPlugin', () => { + afterEach(() => { + jest.restoreAllMocks(); + }); + + describe('execute calls executeRequest ignoring params', () => { + it.each([ + { name: 'verboseHTTP: true, failOnError: true', verboseOutput: true, failOnError: true, expectedOutput: true }, + { name: 'verboseHTTP: false, failOnError: false', verboseOutput: false, failOnError: false, expectedOutput: false }, + { name: 'verboseHTTP: undefined, failOnError: true', verboseOutput: undefined, failOnError: true, expectedOutput: false }, + { name: 'verboseHTTP: undefined, failOnError: false', verboseOutput: undefined, failOnError: false, expectedOutput: false }, + { name: 'verboseHTTP: undefined, failOnError: undefined', verboseOutput: undefined, failOnError: undefined, expectedOutput: false } + ])('called with $name', async ({ verboseOutput, failOnError, expectedOutput }) => { + const spy = jest.spyOn(plugin, 'executeRequest').mockImplementation( + // eslint-disable-next-line @typescript-eslint/no-explicit-any + (requestConfig, responseType?: any, verboseOutput?: boolean): Promise => { + return Promise.resolve(new ExecutionOutput()); + } + ); + + const props: PluginExecutionProps = { + context: DUMMY_EXECUTION_CONTEXT, + actionConfiguration: { verboseHttpOutput: verboseOutput, failOnGraphqlErrors: failOnError, ...actionConfiguration }, + datasourceConfiguration, + mutableOutput: new ExecutionOutput(), + ...DUMMY_EXTRA_PLUGIN_EXECUTION_PROPS + }; + + await plugin.execute(props); + expect(spy).toHaveBeenCalledWith( + { + headers: { + Authorization: 'Bearer {{token}}', + Cookie: 'value1' + }, + data: { + query: 'select * from orders limit 1;' + }, + method: 'POST', + url: 'https://api.example.com/home' + }, + ActionResponseType.AUTO, + expectedOutput, + true + ); + }); + }); + + describe('execute raises error when response has errors and failOnError is true', () => { + const verboseOutputOptions = [true, false, undefined]; + + it.each([ + { name: 'empty errors', verboseOutput: true, queryErrors: [] }, + { name: 'single error', verboseOutput: false, queryErrors: [{ message: 'SyntaxError' }] }, + { name: 'multiple errors', verboseOutput: undefined, queryErrors: [{ message: 'SyntaxError' }, { message: 'ValidationError' }] }, + ])('$name', async ({ verboseOutput, queryErrors }) => { + const spy = jest.spyOn(plugin, 'executeRequest').mockImplementation( + // eslint-disable-next-line @typescript-eslint/no-explicit-any + (requestConfig, responseType?: any, verboseOutput?: boolean): Promise => { + const executionOutput = new ExecutionOutput(); + executionOutput.output = { errors: queryErrors }; + + return Promise.resolve(executionOutput); + } + ); + + const props: PluginExecutionProps = { + context: DUMMY_EXECUTION_CONTEXT, + actionConfiguration: { verboseHttpOutput: sample(verboseOutputOptions), failOnGraphqlErrors: true, ...actionConfiguration }, + datasourceConfiguration, + mutableOutput: new ExecutionOutput(), + ...DUMMY_EXTRA_PLUGIN_EXECUTION_PROPS + }; + + await expect(plugin.execute(props)).rejects.toThrowError(); + expect(spy).toHaveBeenCalled(); + }); + }); + + describe('execute returns successfully when response has errors and failOnError is false or undefined', () => { + const verboseOutputOptions = [true, false, undefined]; + + it.each([ + { name: 'empty errors, fail on errors set', setFailOnErrors: true, queryErrors: [] }, + { name: 'empty errors, fail on errors undefined', setFailOnErrors: false, queryErrors: [] }, + { name: 'single error, fail on errors set', setFailOnErrors: true, queryErrors: [{ message: 'SyntaxError' }] }, + { name: 'single error, fail on errors undefined', setFailOnErrors: false, queryErrors: [{ message: 'SyntaxError' }] }, + { name: 'multiple errors, fail on errors set', setFailOnErrors: true, queryErrors: [{ message: 'SyntaxError' }, { message: 'ValidationError' }] }, + { name: 'multiple errors, fail on errors undefined', setFailOnErrors: false, queryErrors: [{ message: 'SyntaxError' }, { message: 'ValidationError' }] }, + ])('$name', async ({ setFailOnErrors, queryErrors }) => { + const spy = jest.spyOn(plugin, 'executeRequest').mockImplementation( + // eslint-disable-next-line @typescript-eslint/no-explicit-any + (requestConfig, responseType?: any, verboseOutput?: boolean): Promise => { + const executionOutput = new ExecutionOutput(); + executionOutput.output = { errors: queryErrors }; + + return Promise.resolve(executionOutput); + } + ); + + const props: PluginExecutionProps = { + context: DUMMY_EXECUTION_CONTEXT, + actionConfiguration: { + verboseHttpOutput: sample(verboseOutputOptions), + failOnGraphqlErrors: setFailOnErrors ? false : undefined, + ...actionConfiguration + }, + datasourceConfiguration, + mutableOutput: new ExecutionOutput(), + ...DUMMY_EXTRA_PLUGIN_EXECUTION_PROPS + }; + + const output: ExecutionOutput = await plugin.execute(props); + + expect(output.output).toBeDefined(); + expect(output.error).toBeUndefined(); + expect(spy).toHaveBeenCalled(); + }); + }); +}); diff --git a/workers/javascript/packages/plugins/graphql/src/index.ts b/workers/javascript/packages/plugins/graphql/src/index.ts index 21b0bb1f..0ace3e86 100644 --- a/workers/javascript/packages/plugins/graphql/src/index.ts +++ b/workers/javascript/packages/plugins/graphql/src/index.ts @@ -64,12 +64,24 @@ export default class GraphQLPlugin extends ApiPlugin { requestConfig.method = HttpMethod.POST; requestConfig = { ...requestConfig, ...this.postRequestConfig(query ?? '', actionConfiguration) }; - return await this.executeRequest( + const execOutput = await this.executeRequest( requestConfig, ActionResponseType.AUTO, actionConfiguration.verboseHttpOutput ?? false, - actionConfiguration.doNotFailOnRequestError !== undefined ? !actionConfiguration.doNotFailOnRequestError : true + true ); + + const shouldFailOnGraphqlError = actionConfiguration.failOnGraphqlErrors ?? false; + if (shouldFailOnGraphqlError && execOutput.output['errors'] !== undefined) { + let errMsg = 'GraphQL request failed'; + if (execOutput.output['errors'].length > 0) { + errMsg += `\nErrors:\n${JSON.stringify(execOutput.output['errors'], null, 2)}`; + } + + throw new Error(errMsg); + } + + return execOutput; } getRequest(actionConfiguration: GraphQLActionConfiguration, datasourceConfiguration: GraphQLDatasourceConfiguration): RawRequest { diff --git a/workers/javascript/packages/plugins/restapi/src/index.test.ts b/workers/javascript/packages/plugins/restapi/src/index.test.ts new file mode 100644 index 00000000..daf8a827 --- /dev/null +++ b/workers/javascript/packages/plugins/restapi/src/index.test.ts @@ -0,0 +1,97 @@ +import { + DUMMY_ACTION_CONFIGURATION, + DUMMY_EXECUTION_CONTEXT, + DUMMY_EXTRA_PLUGIN_EXECUTION_PROPS, + ExecutionOutput, + HttpMethod, + RestApiActionConfiguration, + RestApiDatasourceConfiguration, + PluginConfiguration, + PluginExecutionProps, + Property +} from '@superblocks/shared'; +import { AxiosRequestConfig } from 'axios'; +import RestApiPlugin from '.'; + +const plugin = new RestApiPlugin(); +plugin.configure({ + restApiExecutionTimeoutMs: 5000, + restApiMaxContentLengthBytes: 1000000 +} as PluginConfiguration); + +const actionConfiguration: RestApiActionConfiguration = { + httpMethod: HttpMethod.GET, + path: 'https://api.example.com/home', + headers: [ + { + key: 'Authorization', + value: 'Bearer {{token}}' + } + ] as Property[], + params: [ + { + key: 'param1', + value: 'value1' + }, + { + key: 'param2', + value: '' + } + ] as Property[], + ...DUMMY_ACTION_CONFIGURATION +}; + +describe('RestApiPlugin', () => { + afterEach(() => { + jest.restoreAllMocks(); + }); + + describe('execute calls executeRequest with expected params', () => { + it.each([ + { name: 'verboseHTTP: true, doNotFailOnError: true', verboseOutput: true, doNotFailOnError: true, expectedOutput: true, expectedFailOnError: false }, + { name: 'verboseHTTP: false, doNotFailOnError: false', verboseOutput: false, doNotFailOnError: false, expectedOutput: false, expectedFailOnError: true }, + { name: 'verboseHTTP: undefined, doNotFailOnError: true', verboseOutput: undefined, doNotFailOnError: true, expectedOutput: false, expectedFailOnError: false }, + { name: 'verboseHTTP: undefined, doNotFailOnError: false', verboseOutput: undefined, doNotFailOnError: false, expectedOutput: false, expectedFailOnError: true }, + { name: 'verboseHTTP: undefined, doNotFailOnError: undefined', verboseOutput: undefined, doNotFailOnError: undefined, expectedOutput: false, expectedFailOnError: true } + ])('called with $name', async ({ verboseOutput, doNotFailOnError, expectedOutput, expectedFailOnError }) => { + const spy = jest.spyOn(plugin, 'executeRequest').mockImplementation( + // eslint-disable-next-line @typescript-eslint/no-explicit-any + (requestConfig: AxiosRequestConfig, responseType?: any, verboseOutput?: boolean): Promise => { + return Promise.resolve(new ExecutionOutput()); + } + ); + const datasourceConfiguration = {} as RestApiDatasourceConfiguration; + + const props: PluginExecutionProps = { + context: DUMMY_EXECUTION_CONTEXT, + actionConfiguration: { + verboseHttpOutput: verboseOutput, + doNotFailOnRequestError: doNotFailOnError, + ...actionConfiguration + }, + datasourceConfiguration, + mutableOutput: new ExecutionOutput(), + ...DUMMY_EXTRA_PLUGIN_EXECUTION_PROPS + }; + + await plugin.execute(props); + expect(spy).toHaveBeenCalledWith( + { + headers: { + Authorization: 'Bearer {{token}}', + 'User-Agent': 'superblocks restapi' + }, + maxBodyLength: 1000000, + maxContentLength: 1000000, + method: 'GET', + responseType: 'arraybuffer', + timeout: 5000, + url: 'https://api.example.com/home?param1=value1' + }, + undefined, + expectedOutput, + expectedFailOnError + ); + }); + }); +}); diff --git a/workers/javascript/packages/plugins/restapiintegration/src/index.test.ts b/workers/javascript/packages/plugins/restapiintegration/src/index.test.ts index 67c0dc23..d40e37c6 100644 --- a/workers/javascript/packages/plugins/restapiintegration/src/index.test.ts +++ b/workers/javascript/packages/plugins/restapiintegration/src/index.test.ts @@ -40,158 +40,165 @@ const datasourceConfiguration = { ] as Property[] } as RestApiIntegrationDatasourceConfiguration; -const props: PluginExecutionProps = { - context: DUMMY_EXECUTION_CONTEXT, - actionConfiguration: { httpMethod: HttpMethod.GET, ...DUMMY_ACTION_CONFIGURATION }, - datasourceConfiguration, - mutableOutput: new ExecutionOutput(), - ...DUMMY_EXTRA_PLUGIN_EXECUTION_PROPS -}; - describe('RestApiIntegrationPlugin', () => { afterEach(() => { jest.restoreAllMocks(); }); - it.each([ - { verboseOutput: true, doNotFailOnError: true, expectedOutput: true, expectedFailOnError: false }, - { verboseOutput: false, doNotFailOnError: false, expectedOutput: false, expectedFailOnError: true }, - { verboseOutput: undefined, doNotFailOnError: true, expectedOutput: false, expectedFailOnError: false }, - { verboseOutput: undefined, doNotFailOnError: false, expectedOutput: false, expectedFailOnError: true }, - { verboseOutput: undefined, doNotFailOnError: undefined, expectedOutput: false, expectedFailOnError: true } - ])('execute removes empty params', async ({ verboseOutput, doNotFailOnError, expectedOutput, expectedFailOnError }) => { - const spy = jest.spyOn(plugin, 'executeRequest').mockImplementation( - // eslint-disable-next-line @typescript-eslint/no-explicit-any, @typescript-eslint/no-misused-promises - (requestConfig: AxiosRequestConfig, responseType?: any): Promise => { - return Promise.resolve(new ExecutionOutput()); - } - ); - - const updatedProps = props - updatedProps.actionConfiguration = { - ...props.actionConfiguration, - verboseHttpOutput: verboseOutput, - doNotFailOnRequestError: doNotFailOnError - }; + describe('execute removes empty params', () => { + it.each([ + {name: 'verboseHTTP: true, doNotFailOnError: true', verboseOutput: true, doNotFailOnError: true, expectedOutput: true, expectedFailOnError: false }, + {name: 'verboseHTTP: false, doNotFailOnError: false', verboseOutput: false, doNotFailOnError: false, expectedOutput: false, expectedFailOnError: true }, + {name: 'verboseHTTP: undefined, doNotFailOnError: true', verboseOutput: undefined, doNotFailOnError: true, expectedOutput: false, expectedFailOnError: false }, + {name: 'verboseHTTP: undefined, doNotFailOnError: false', verboseOutput: undefined, doNotFailOnError: false, expectedOutput: false, expectedFailOnError: true }, + {name: 'verboseHTTP: undefined, doNotFailOnError: undefined', verboseOutput: undefined, doNotFailOnError: undefined, expectedOutput: false, expectedFailOnError: true } + ])('called with $name', async ({ verboseOutput, doNotFailOnError, expectedOutput, expectedFailOnError }) => { + const spy = jest.spyOn(plugin, 'executeRequest').mockImplementation( + // eslint-disable-next-line @typescript-eslint/no-explicit-any, @typescript-eslint/no-misused-promises + (requestConfig: AxiosRequestConfig, responseType?: any): Promise => { + return Promise.resolve(new ExecutionOutput()); + } + ); - await plugin.execute(updatedProps); - expect(spy).toHaveBeenCalledWith( - { - headers: { - Authorization: 'Bearer {{token}}', - 'User-Agent': 'superblocks restapi' + const props: PluginExecutionProps = { + context: DUMMY_EXECUTION_CONTEXT, + actionConfiguration: { + httpMethod: HttpMethod.GET, + verboseHttpOutput: verboseOutput, + doNotFailOnRequestError: doNotFailOnError, + ...DUMMY_ACTION_CONFIGURATION }, - maxBodyLength: 1000000, - maxContentLength: 1000000, - method: 'GET', - responseType: 'arraybuffer', - timeout: 5000, - url: 'https://api.example.com/?param1=value1' - }, - undefined, - expectedOutput, - expectedFailOnError - ); - }); + datasourceConfiguration, + mutableOutput: new ExecutionOutput(), + ...DUMMY_EXTRA_PLUGIN_EXECUTION_PROPS + }; - it.each([ - { verboseOutput: true, doNotFailOnError: true, expectedOutput: true, expectedFailOnError: false }, - { verboseOutput: false, doNotFailOnError: false, expectedOutput: false, expectedFailOnError: true }, - { verboseOutput: undefined, doNotFailOnError: true, expectedOutput: false, expectedFailOnError: false }, - { verboseOutput: undefined, doNotFailOnError: false, expectedOutput: false, expectedFailOnError: true }, - { verboseOutput: undefined, doNotFailOnError: undefined, expectedOutput: false, expectedFailOnError: true } - ])('execute injects placeholder URL with tenant subdomain', async ({ verboseOutput, doNotFailOnError, expectedOutput, expectedFailOnError }) => { - const spy = jest.spyOn(plugin, 'executeRequest').mockImplementation( - // eslint-disable-next-line @typescript-eslint/no-explicit-any, @typescript-eslint/no-misused-promises - (requestConfig: AxiosRequestConfig, responseType?: any): Promise => { - return Promise.resolve(new ExecutionOutput()); - } - ); - - const tenantDatasourceConfiguration = { - urlBase: `https://${SUPERBLOCKS_OPENAPI_TENANT_KEYWORD}.example.com/`, - openApiTenantName: 'sb-tenant', - headers: [ - { - key: 'Authorization', - value: 'Bearer {{token}}' - } - ] as Property[], - params: [ + await plugin.execute(props); + expect(spy).toHaveBeenCalledWith( { - key: 'param1', - value: 'value1' + headers: { + Authorization: 'Bearer {{token}}', + 'User-Agent': 'superblocks restapi' + }, + maxBodyLength: 1000000, + maxContentLength: 1000000, + method: 'GET', + responseType: 'arraybuffer', + timeout: 5000, + url: 'https://api.example.com/?param1=value1' }, - { - key: 'param2', - value: '' + undefined, + expectedOutput, + expectedFailOnError + ); + }); + }); + + describe('execute injects placeholder URL with tenant subdomain', () => { + it.each([ + { name: 'verboseHTTP: true, doNotFailOnError: true', verboseOutput: true, doNotFailOnError: true, expectedOutput: true, expectedFailOnError: false }, + { name: 'verboseHTTP: false, doNotFailOnError: false', verboseOutput: false, doNotFailOnError: false, expectedOutput: false, expectedFailOnError: true }, + { name: 'verboseHTTP: undefined, doNotFailOnError: true', verboseOutput: undefined, doNotFailOnError: true, expectedOutput: false, expectedFailOnError: false }, + { name: 'verboseHTTP: undefined, doNotFailOnError: false', verboseOutput: undefined, doNotFailOnError: false, expectedOutput: false, expectedFailOnError: true }, + { name: 'verboseHTTP: undefined, doNotFailOnError: undefined', verboseOutput: undefined, doNotFailOnError: undefined, expectedOutput: false, expectedFailOnError: true } + ])('called with $name', async ({ verboseOutput, doNotFailOnError, expectedOutput, expectedFailOnError }) => { + const spy = jest.spyOn(plugin, 'executeRequest').mockImplementation( + // eslint-disable-next-line @typescript-eslint/no-explicit-any, @typescript-eslint/no-misused-promises + (requestConfig: AxiosRequestConfig, responseType?: any): Promise => { + return Promise.resolve(new ExecutionOutput()); } - ] as Property[] - } as RestApiIntegrationDatasourceConfiguration; + ); - const tenantProps: PluginExecutionProps = { - context: DUMMY_EXECUTION_CONTEXT, - actionConfiguration: { - httpMethod: HttpMethod.GET, - verboseHttpOutput: verboseOutput, - doNotFailOnRequestError: doNotFailOnError, - ...DUMMY_ACTION_CONFIGURATION - }, - datasourceConfiguration: tenantDatasourceConfiguration, - mutableOutput: new ExecutionOutput(), - ...DUMMY_EXTRA_PLUGIN_EXECUTION_PROPS - }; + const tenantDatasourceConfiguration = { + urlBase: `https://${SUPERBLOCKS_OPENAPI_TENANT_KEYWORD}.example.com/`, + openApiTenantName: 'sb-tenant', + headers: [ + { + key: 'Authorization', + value: 'Bearer {{token}}' + } + ] as Property[], + params: [ + { + key: 'param1', + value: 'value1' + }, + { + key: 'param2', + value: '' + } + ] as Property[] + } as RestApiIntegrationDatasourceConfiguration; - await plugin.execute(tenantProps); - expect(spy).toHaveBeenCalledWith( - { - headers: { - Authorization: 'Bearer {{token}}', - 'User-Agent': 'superblocks restapi' + const tenantProps: PluginExecutionProps = { + context: DUMMY_EXECUTION_CONTEXT, + actionConfiguration: { + httpMethod: HttpMethod.GET, + verboseHttpOutput: verboseOutput, + doNotFailOnRequestError: doNotFailOnError, + ...DUMMY_ACTION_CONFIGURATION }, - maxBodyLength: 1000000, - maxContentLength: 1000000, - method: 'GET', - responseType: 'arraybuffer', - timeout: 5000, - url: 'https://sb-tenant.example.com/?param1=value1' - }, - undefined, - expectedOutput, - expectedFailOnError - ); + datasourceConfiguration: tenantDatasourceConfiguration, + mutableOutput: new ExecutionOutput(), + ...DUMMY_EXTRA_PLUGIN_EXECUTION_PROPS + }; + + await plugin.execute(tenantProps); + expect(spy).toHaveBeenCalledWith( + { + headers: { + Authorization: 'Bearer {{token}}', + 'User-Agent': 'superblocks restapi' + }, + maxBodyLength: 1000000, + maxContentLength: 1000000, + method: 'GET', + responseType: 'arraybuffer', + timeout: 5000, + url: 'https://sb-tenant.example.com/?param1=value1' + }, + undefined, + expectedOutput, + expectedFailOnError + ); + }); }); - it.each([ - { verboseOutput: true, doNotFailOnError: true }, - { verboseOutput: false, doNotFailOnError: false }, - { verboseOutput: undefined, doNotFailOnError: undefined } - ])('test method executes without error', async ({ verboseOutput }) => { - const spy = jest - .spyOn(plugin, 'executeRequest') - // eslint-disable-next-line @typescript-eslint/no-misused-promises - .mockImplementation((requestConfig: AxiosRequestConfig, responseType?: unknown): Promise => { - return Promise.resolve(new ExecutionOutput()); - }); + describe('test method executes without error', () => { + it.each([ + { name: 'verboseHTTP: true, doNotFailOnError: true', verboseOutput: true, doNotFailOnError: true }, + { name: 'verboseHTTP: false, doNotFailOnError: false', verboseOutput: false, doNotFailOnError: false }, + { name: 'verboseHTTP: undefined, doNotFailOnError: true', verboseOutput: undefined, doNotFailOnError: true }, + { name: 'verboseHTTP: undefined, doNotFailOnError: false', verboseOutput: undefined, doNotFailOnError: false }, + { name: 'verboseHTTP: undefined, doNotFailOnError: undefined', verboseOutput: undefined, doNotFailOnError: undefined } + ])('called with $name', async ({ verboseOutput, doNotFailOnError }) => { + const spy = jest + .spyOn(plugin, 'executeRequest') + // eslint-disable-next-line @typescript-eslint/no-misused-promises + .mockImplementation((requestConfig: AxiosRequestConfig, responseType?: unknown): Promise => { + return Promise.resolve(new ExecutionOutput()); + } + ); - await plugin.test(datasourceConfiguration, { httpMethod: HttpMethod.GET, urlPath: 'test', verboseHttpOutput: verboseOutput }); + await plugin.test(datasourceConfiguration, { httpMethod: HttpMethod.GET, urlPath: 'test', verboseHttpOutput: verboseOutput, doNotFailOnRequestError: doNotFailOnError }); - expect(spy).toHaveBeenCalledWith( - { - headers: { - Authorization: 'Bearer {{token}}', - 'User-Agent': 'superblocks restapi' + expect(spy).toHaveBeenCalledWith( + { + headers: { + Authorization: 'Bearer {{token}}', + 'User-Agent': 'superblocks restapi' + }, + maxBodyLength: 1000000, + maxContentLength: 1000000, + method: 'GET', + responseType: 'arraybuffer', + timeout: 5000, + url: 'https://api.example.com/test?param1=value1' }, - maxBodyLength: 1000000, - maxContentLength: 1000000, - method: 'GET', - responseType: 'arraybuffer', - timeout: 5000, - url: 'https://api.example.com/test?param1=value1' - }, - undefined, - false, - true - ); + undefined, + false, + true + ); + }); }); }); diff --git a/workers/javascript/packages/shared/src/types/api/action.ts b/workers/javascript/packages/shared/src/types/api/action.ts index edee68f1..ad36adae 100644 --- a/workers/javascript/packages/shared/src/types/api/action.ts +++ b/workers/javascript/packages/shared/src/types/api/action.ts @@ -171,7 +171,7 @@ export type GraphQLActionConfiguration = { body?: string; custom?: CustomProperties; verboseHttpOutput?: boolean; - doNotFailOnRequestError?: boolean; + failOnGraphqlErrors?: boolean; }; export type JavascriptActionConfiguration = { diff --git a/workers/javascript/packages/types/src/plugins/graphql/v1/plugin_pb.ts b/workers/javascript/packages/types/src/plugins/graphql/v1/plugin_pb.ts index 02d4b123..b4efab92 100644 --- a/workers/javascript/packages/types/src/plugins/graphql/v1/plugin_pb.ts +++ b/workers/javascript/packages/types/src/plugins/graphql/v1/plugin_pb.ts @@ -87,11 +87,11 @@ export class Plugin extends Message { verboseHttpOutput = false; /** - * Do not fail executions on failed requests (4xx/5xx). We use the negative here to ensure the default (falsy) behavior matches the existing API behavior. + * Fail executions for GraphQL responses that contain errors * - * @generated from field: bool doNotFailOnRequestError = 7; + * @generated from field: bool failOnGraphqlErrors = 7; */ - doNotFailOnRequestError = false; + failOnGraphqlErrors = false; constructor(data?: PartialMessage) { super(); @@ -107,7 +107,7 @@ export class Plugin extends Message { { no: 4, name: "custom", kind: "message", T: Custom, opt: true }, { no: 5, name: "superblocksMetadata", kind: "message", T: SuperblocksMetadata }, { no: 6, name: "verboseHttpOutput", kind: "scalar", T: 8 /* ScalarType.BOOL */ }, - { no: 7, name: "doNotFailOnRequestError", kind: "scalar", T: 8 /* ScalarType.BOOL */ }, + { no: 7, name: "failOnGraphqlErrors", kind: "scalar", T: 8 /* ScalarType.BOOL */ }, ]); static fromBinary(bytes: Uint8Array, options?: Partial): Plugin {