@superblocksteam/types 0.1859.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/src/agent/v1/index.d.ts +2 -0
- package/dist/src/agent/v1/index.d.ts.map +1 -0
- package/dist/src/agent/v1/index.js +18 -0
- package/dist/src/agent/v1/index.js.map +1 -0
- package/dist/src/agent/v1/service_pb.d.ts +398 -0
- package/dist/src/agent/v1/service_pb.d.ts.map +1 -0
- package/dist/src/agent/v1/service_pb.js +608 -0
- package/dist/src/agent/v1/service_pb.js.map +1 -0
- package/dist/src/ai/v1/ai_pb.d.ts +592 -0
- package/dist/src/ai/v1/ai_pb.d.ts.map +1 -0
- package/dist/src/ai/v1/ai_pb.js +775 -0
- package/dist/src/ai/v1/ai_pb.js.map +1 -0
- package/dist/src/ai/v1/metadata_pb.d.ts +101 -0
- package/dist/src/ai/v1/metadata_pb.d.ts.map +1 -0
- package/dist/src/ai/v1/metadata_pb.js +57 -0
- package/dist/src/ai/v1/metadata_pb.js.map +1 -0
- package/dist/src/ai/v1/service_pb.d.ts +79 -0
- package/dist/src/ai/v1/service_pb.d.ts.map +1 -0
- package/dist/src/ai/v1/service_pb.js +132 -0
- package/dist/src/ai/v1/service_pb.js.map +1 -0
- package/dist/src/ai/v1/vector_pb.d.ts +32 -0
- package/dist/src/ai/v1/vector_pb.d.ts.map +1 -0
- package/dist/src/ai/v1/vector_pb.js +55 -0
- package/dist/src/ai/v1/vector_pb.js.map +1 -0
- package/dist/src/api/v1/api_pb.d.ts +1540 -0
- package/dist/src/api/v1/api_pb.d.ts.map +1 -0
- package/dist/src/api/v1/api_pb.js +1657 -0
- package/dist/src/api/v1/api_pb.js.map +1 -0
- package/dist/src/api/v1/blocks_pb.d.ts +109 -0
- package/dist/src/api/v1/blocks_pb.d.ts.map +1 -0
- package/dist/src/api/v1/blocks_pb.js +162 -0
- package/dist/src/api/v1/blocks_pb.js.map +1 -0
- package/dist/src/api/v1/event_pb.d.ts +431 -0
- package/dist/src/api/v1/event_pb.d.ts.map +1 -0
- package/dist/src/api/v1/event_pb.js +600 -0
- package/dist/src/api/v1/event_pb.js.map +1 -0
- package/dist/src/api/v1/index.d.ts +7 -0
- package/dist/src/api/v1/index.d.ts.map +1 -0
- package/dist/src/api/v1/index.js +23 -0
- package/dist/src/api/v1/index.js.map +1 -0
- package/dist/src/api/v1/integration_auth_service_pb.d.ts +195 -0
- package/dist/src/api/v1/integration_auth_service_pb.d.ts.map +1 -0
- package/dist/src/api/v1/integration_auth_service_pb.js +315 -0
- package/dist/src/api/v1/integration_auth_service_pb.js.map +1 -0
- package/dist/src/api/v1/requests_pb.d.ts +525 -0
- package/dist/src/api/v1/requests_pb.d.ts.map +1 -0
- package/dist/src/api/v1/requests_pb.js +693 -0
- package/dist/src/api/v1/requests_pb.js.map +1 -0
- package/dist/src/api/v1/service_pb.d.ts +1391 -0
- package/dist/src/api/v1/service_pb.d.ts.map +1 -0
- package/dist/src/api/v1/service_pb.js +2002 -0
- package/dist/src/api/v1/service_pb.js.map +1 -0
- package/dist/src/auth/v1/auth_pb.d.ts +75 -0
- package/dist/src/auth/v1/auth_pb.d.ts.map +1 -0
- package/dist/src/auth/v1/auth_pb.js +118 -0
- package/dist/src/auth/v1/auth_pb.js.map +1 -0
- package/dist/src/buf/validate/expression_pb.d.ts +133 -0
- package/dist/src/buf/validate/expression_pb.d.ts.map +1 -0
- package/dist/src/buf/validate/expression_pb.js +195 -0
- package/dist/src/buf/validate/expression_pb.js.map +1 -0
- package/dist/src/buf/validate/priv/private_pb.d.ts +49 -0
- package/dist/src/buf/validate/priv/private_pb.d.ts.map +1 -0
- package/dist/src/buf/validate/priv/private_pb.js +94 -0
- package/dist/src/buf/validate/priv/private_pb.js.map +1 -0
- package/dist/src/buf/validate/validate_pb.d.ts +3681 -0
- package/dist/src/buf/validate/validate_pb.d.ts.map +1 -0
- package/dist/src/buf/validate/validate_pb.js +2437 -0
- package/dist/src/buf/validate/validate_pb.js.map +1 -0
- package/dist/src/cache/v1/cache_pb.d.ts +80 -0
- package/dist/src/cache/v1/cache_pb.d.ts.map +1 -0
- package/dist/src/cache/v1/cache_pb.js +127 -0
- package/dist/src/cache/v1/cache_pb.js.map +1 -0
- package/dist/src/common/v1/api_pb.d.ts +79 -0
- package/dist/src/common/v1/api_pb.d.ts.map +1 -0
- package/dist/src/common/v1/api_pb.js +138 -0
- package/dist/src/common/v1/api_pb.js.map +1 -0
- package/dist/src/common/v1/common_pb.d.ts +124 -0
- package/dist/src/common/v1/common_pb.d.ts.map +1 -0
- package/dist/src/common/v1/common_pb.js +189 -0
- package/dist/src/common/v1/common_pb.js.map +1 -0
- package/dist/src/common/v1/errors_pb.d.ts +85 -0
- package/dist/src/common/v1/errors_pb.d.ts.map +1 -0
- package/dist/src/common/v1/errors_pb.js +124 -0
- package/dist/src/common/v1/errors_pb.js.map +1 -0
- package/dist/src/common/v1/health_pb.d.ts +77 -0
- package/dist/src/common/v1/health_pb.d.ts.map +1 -0
- package/dist/src/common/v1/health_pb.js +121 -0
- package/dist/src/common/v1/health_pb.js.map +1 -0
- package/dist/src/common/v1/index.d.ts +6 -0
- package/dist/src/common/v1/index.d.ts.map +1 -0
- package/dist/src/common/v1/index.js +22 -0
- package/dist/src/common/v1/index.js.map +1 -0
- package/dist/src/common/v1/language_pb.d.ts +506 -0
- package/dist/src/common/v1/language_pb.d.ts.map +1 -0
- package/dist/src/common/v1/language_pb.js +643 -0
- package/dist/src/common/v1/language_pb.js.map +1 -0
- package/dist/src/common/v1/plugin_pb.d.ts +135 -0
- package/dist/src/common/v1/plugin_pb.d.ts.map +1 -0
- package/dist/src/common/v1/plugin_pb.js +206 -0
- package/dist/src/common/v1/plugin_pb.js.map +1 -0
- package/dist/src/common/v1/utils_pb.d.ts +20 -0
- package/dist/src/common/v1/utils_pb.d.ts.map +1 -0
- package/dist/src/common/v1/utils_pb.js +40 -0
- package/dist/src/common/v1/utils_pb.js.map +1 -0
- package/dist/src/event/v1/cloudevent_pb.d.ts +170 -0
- package/dist/src/event/v1/cloudevent_pb.d.ts.map +1 -0
- package/dist/src/event/v1/cloudevent_pb.js +124 -0
- package/dist/src/event/v1/cloudevent_pb.js.map +1 -0
- package/dist/src/event/v1/event_pb.d.ts +165 -0
- package/dist/src/event/v1/event_pb.d.ts.map +1 -0
- package/dist/src/event/v1/event_pb.js +232 -0
- package/dist/src/event/v1/event_pb.js.map +1 -0
- package/dist/src/event/v1/service_pb.d.ts +62 -0
- package/dist/src/event/v1/service_pb.d.ts.map +1 -0
- package/dist/src/event/v1/service_pb.js +112 -0
- package/dist/src/event/v1/service_pb.js.map +1 -0
- package/dist/src/event/v2/cloudevent_pb.d.ts +170 -0
- package/dist/src/event/v2/cloudevent_pb.d.ts.map +1 -0
- package/dist/src/event/v2/cloudevent_pb.js +124 -0
- package/dist/src/event/v2/cloudevent_pb.js.map +1 -0
- package/dist/src/google/api/http_pb.d.ts +454 -0
- package/dist/src/google/api/http_pb.d.ts.map +1 -0
- package/dist/src/google/api/http_pb.js +467 -0
- package/dist/src/google/api/http_pb.js.map +1 -0
- package/dist/src/index.d.ts +9 -0
- package/dist/src/index.d.ts.map +1 -0
- package/dist/src/index.js +25 -0
- package/dist/src/index.js.map +1 -0
- package/dist/src/intake/v1/logs_pb.d.ts +20 -0
- package/dist/src/intake/v1/logs_pb.d.ts.map +1 -0
- package/dist/src/intake/v1/logs_pb.js +40 -0
- package/dist/src/intake/v1/logs_pb.js.map +1 -0
- package/dist/src/integration/v1/service_pb.d.ts +174 -0
- package/dist/src/integration/v1/service_pb.d.ts.map +1 -0
- package/dist/src/integration/v1/service_pb.js +274 -0
- package/dist/src/integration/v1/service_pb.js.map +1 -0
- package/dist/src/kafka/v1/index.d.ts +2 -0
- package/dist/src/kafka/v1/index.d.ts.map +1 -0
- package/dist/src/kafka/v1/index.js +28 -0
- package/dist/src/kafka/v1/index.js.map +1 -0
- package/dist/src/kafka/v1/kafka_pb.d.ts +66 -0
- package/dist/src/kafka/v1/kafka_pb.d.ts.map +1 -0
- package/dist/src/kafka/v1/kafka_pb.js +96 -0
- package/dist/src/kafka/v1/kafka_pb.js.map +1 -0
- package/dist/src/plugins/adls/v1/plugin_pb.d.ts +305 -0
- package/dist/src/plugins/adls/v1/plugin_pb.d.ts.map +1 -0
- package/dist/src/plugins/adls/v1/plugin_pb.js +435 -0
- package/dist/src/plugins/adls/v1/plugin_pb.js.map +1 -0
- package/dist/src/plugins/athena/v1/plugin_pb.d.ts +91 -0
- package/dist/src/plugins/athena/v1/plugin_pb.d.ts.map +1 -0
- package/dist/src/plugins/athena/v1/plugin_pb.js +141 -0
- package/dist/src/plugins/athena/v1/plugin_pb.js.map +1 -0
- package/dist/src/plugins/bigquery/v1/plugin_pb.d.ts +119 -0
- package/dist/src/plugins/bigquery/v1/plugin_pb.d.ts.map +1 -0
- package/dist/src/plugins/bigquery/v1/plugin_pb.js +193 -0
- package/dist/src/plugins/bigquery/v1/plugin_pb.js.map +1 -0
- package/dist/src/plugins/cockroachdb/v1/plugin_pb.d.ts +110 -0
- package/dist/src/plugins/cockroachdb/v1/plugin_pb.d.ts.map +1 -0
- package/dist/src/plugins/cockroachdb/v1/plugin_pb.js +172 -0
- package/dist/src/plugins/cockroachdb/v1/plugin_pb.js.map +1 -0
- package/dist/src/plugins/common/v1/auth_pb.d.ts +514 -0
- package/dist/src/plugins/common/v1/auth_pb.d.ts.map +1 -0
- package/dist/src/plugins/common/v1/auth_pb.js +711 -0
- package/dist/src/plugins/common/v1/auth_pb.js.map +1 -0
- package/dist/src/plugins/common/v1/metadata_pb.d.ts +96 -0
- package/dist/src/plugins/common/v1/metadata_pb.d.ts.map +1 -0
- package/dist/src/plugins/common/v1/metadata_pb.js +164 -0
- package/dist/src/plugins/common/v1/metadata_pb.js.map +1 -0
- package/dist/src/plugins/common/v1/plugin_pb.d.ts +294 -0
- package/dist/src/plugins/common/v1/plugin_pb.d.ts.map +1 -0
- package/dist/src/plugins/common/v1/plugin_pb.js +452 -0
- package/dist/src/plugins/common/v1/plugin_pb.js.map +1 -0
- package/dist/src/plugins/cosmosdb/v1/plugin_pb.d.ts +373 -0
- package/dist/src/plugins/cosmosdb/v1/plugin_pb.d.ts.map +1 -0
- package/dist/src/plugins/cosmosdb/v1/plugin_pb.js +525 -0
- package/dist/src/plugins/cosmosdb/v1/plugin_pb.js.map +1 -0
- package/dist/src/plugins/couchbase/v1/plugin_pb.d.ts +259 -0
- package/dist/src/plugins/couchbase/v1/plugin_pb.d.ts.map +1 -0
- package/dist/src/plugins/couchbase/v1/plugin_pb.js +395 -0
- package/dist/src/plugins/couchbase/v1/plugin_pb.js.map +1 -0
- package/dist/src/plugins/custom/v1/plugin_pb.d.ts +32 -0
- package/dist/src/plugins/custom/v1/plugin_pb.d.ts.map +1 -0
- package/dist/src/plugins/custom/v1/plugin_pb.js +54 -0
- package/dist/src/plugins/custom/v1/plugin_pb.js.map +1 -0
- package/dist/src/plugins/databricks/v1/plugin_pb.d.ts +117 -0
- package/dist/src/plugins/databricks/v1/plugin_pb.d.ts.map +1 -0
- package/dist/src/plugins/databricks/v1/plugin_pb.js +171 -0
- package/dist/src/plugins/databricks/v1/plugin_pb.js.map +1 -0
- package/dist/src/plugins/dynamodb/v1/plugin_pb.d.ts +194 -0
- package/dist/src/plugins/dynamodb/v1/plugin_pb.d.ts.map +1 -0
- package/dist/src/plugins/dynamodb/v1/plugin_pb.js +316 -0
- package/dist/src/plugins/dynamodb/v1/plugin_pb.js.map +1 -0
- package/dist/src/plugins/email/v1/plugin_pb.d.ts +65 -0
- package/dist/src/plugins/email/v1/plugin_pb.d.ts.map +1 -0
- package/dist/src/plugins/email/v1/plugin_pb.js +106 -0
- package/dist/src/plugins/email/v1/plugin_pb.js.map +1 -0
- package/dist/src/plugins/gcs/v1/plugin_pb.d.ts +147 -0
- package/dist/src/plugins/gcs/v1/plugin_pb.d.ts.map +1 -0
- package/dist/src/plugins/gcs/v1/plugin_pb.js +228 -0
- package/dist/src/plugins/gcs/v1/plugin_pb.js.map +1 -0
- package/dist/src/plugins/graphql/v1/plugin_pb.d.ts +70 -0
- package/dist/src/plugins/graphql/v1/plugin_pb.d.ts.map +1 -0
- package/dist/src/plugins/graphql/v1/plugin_pb.js +111 -0
- package/dist/src/plugins/graphql/v1/plugin_pb.js.map +1 -0
- package/dist/src/plugins/gsheets/v1/plugin_pb.d.ts +123 -0
- package/dist/src/plugins/gsheets/v1/plugin_pb.d.ts.map +1 -0
- package/dist/src/plugins/gsheets/v1/plugin_pb.js +187 -0
- package/dist/src/plugins/gsheets/v1/plugin_pb.js.map +1 -0
- package/dist/src/plugins/index.d.ts +19 -0
- package/dist/src/plugins/index.d.ts.map +1 -0
- package/dist/src/plugins/index.js +45 -0
- package/dist/src/plugins/index.js.map +1 -0
- package/dist/src/plugins/javascript/v1/plugin_pb.d.ts +41 -0
- package/dist/src/plugins/javascript/v1/plugin_pb.d.ts.map +1 -0
- package/dist/src/plugins/javascript/v1/plugin_pb.js +76 -0
- package/dist/src/plugins/javascript/v1/plugin_pb.js.map +1 -0
- package/dist/src/plugins/kafka/v1/plugin_pb.d.ts +521 -0
- package/dist/src/plugins/kafka/v1/plugin_pb.d.ts.map +1 -0
- package/dist/src/plugins/kafka/v1/plugin_pb.js +788 -0
- package/dist/src/plugins/kafka/v1/plugin_pb.js.map +1 -0
- package/dist/src/plugins/kinesis/v1/plugin_pb.d.ts +234 -0
- package/dist/src/plugins/kinesis/v1/plugin_pb.d.ts.map +1 -0
- package/dist/src/plugins/kinesis/v1/plugin_pb.js +351 -0
- package/dist/src/plugins/kinesis/v1/plugin_pb.js.map +1 -0
- package/dist/src/plugins/mariadb/v1/plugin_pb.d.ts +110 -0
- package/dist/src/plugins/mariadb/v1/plugin_pb.d.ts.map +1 -0
- package/dist/src/plugins/mariadb/v1/plugin_pb.js +172 -0
- package/dist/src/plugins/mariadb/v1/plugin_pb.js.map +1 -0
- package/dist/src/plugins/mongodb/v1/plugin_pb.d.ts +100 -0
- package/dist/src/plugins/mongodb/v1/plugin_pb.d.ts.map +1 -0
- package/dist/src/plugins/mongodb/v1/plugin_pb.js +149 -0
- package/dist/src/plugins/mongodb/v1/plugin_pb.js.map +1 -0
- package/dist/src/plugins/mssql/v1/plugin_pb.d.ts +131 -0
- package/dist/src/plugins/mssql/v1/plugin_pb.d.ts.map +1 -0
- package/dist/src/plugins/mssql/v1/plugin_pb.js +208 -0
- package/dist/src/plugins/mssql/v1/plugin_pb.js.map +1 -0
- package/dist/src/plugins/mysql/v1/plugin_pb.d.ts +131 -0
- package/dist/src/plugins/mysql/v1/plugin_pb.d.ts.map +1 -0
- package/dist/src/plugins/mysql/v1/plugin_pb.js +208 -0
- package/dist/src/plugins/mysql/v1/plugin_pb.js.map +1 -0
- package/dist/src/plugins/ocr/v1/plugin_pb.d.ts +28 -0
- package/dist/src/plugins/ocr/v1/plugin_pb.d.ts.map +1 -0
- package/dist/src/plugins/ocr/v1/plugin_pb.js +50 -0
- package/dist/src/plugins/ocr/v1/plugin_pb.js.map +1 -0
- package/dist/src/plugins/openai/v1/plugin_pb.d.ts +264 -0
- package/dist/src/plugins/openai/v1/plugin_pb.d.ts.map +1 -0
- package/dist/src/plugins/openai/v1/plugin_pb.js +373 -0
- package/dist/src/plugins/openai/v1/plugin_pb.js.map +1 -0
- package/dist/src/plugins/oracledb/v1/plugin_pb.d.ts +86 -0
- package/dist/src/plugins/oracledb/v1/plugin_pb.d.ts.map +1 -0
- package/dist/src/plugins/oracledb/v1/plugin_pb.js +132 -0
- package/dist/src/plugins/oracledb/v1/plugin_pb.js.map +1 -0
- package/dist/src/plugins/pinecone/v1/plugin_pb.d.ts +158 -0
- package/dist/src/plugins/pinecone/v1/plugin_pb.d.ts.map +1 -0
- package/dist/src/plugins/pinecone/v1/plugin_pb.js +218 -0
- package/dist/src/plugins/pinecone/v1/plugin_pb.js.map +1 -0
- package/dist/src/plugins/postgresql/v1/plugin_pb.d.ts +131 -0
- package/dist/src/plugins/postgresql/v1/plugin_pb.d.ts.map +1 -0
- package/dist/src/plugins/postgresql/v1/plugin_pb.js +208 -0
- package/dist/src/plugins/postgresql/v1/plugin_pb.js.map +1 -0
- package/dist/src/plugins/python/v1/plugin_pb.d.ts +41 -0
- package/dist/src/plugins/python/v1/plugin_pb.d.ts.map +1 -0
- package/dist/src/plugins/python/v1/plugin_pb.js +76 -0
- package/dist/src/plugins/python/v1/plugin_pb.js.map +1 -0
- package/dist/src/plugins/redis/v1/plugin_pb.d.ts +1136 -0
- package/dist/src/plugins/redis/v1/plugin_pb.d.ts.map +1 -0
- package/dist/src/plugins/redis/v1/plugin_pb.js +1552 -0
- package/dist/src/plugins/redis/v1/plugin_pb.js.map +1 -0
- package/dist/src/plugins/redshift/v1/plugin_pb.d.ts +119 -0
- package/dist/src/plugins/redshift/v1/plugin_pb.d.ts.map +1 -0
- package/dist/src/plugins/redshift/v1/plugin_pb.js +193 -0
- package/dist/src/plugins/redshift/v1/plugin_pb.js.map +1 -0
- package/dist/src/plugins/restapi/v1/plugin_pb.d.ts +77 -0
- package/dist/src/plugins/restapi/v1/plugin_pb.d.ts.map +1 -0
- package/dist/src/plugins/restapi/v1/plugin_pb.js +110 -0
- package/dist/src/plugins/restapi/v1/plugin_pb.js.map +1 -0
- package/dist/src/plugins/restapiintegration/v1/plugin_pb.d.ts +99 -0
- package/dist/src/plugins/restapiintegration/v1/plugin_pb.d.ts.map +1 -0
- package/dist/src/plugins/restapiintegration/v1/plugin_pb.js +137 -0
- package/dist/src/plugins/restapiintegration/v1/plugin_pb.js.map +1 -0
- package/dist/src/plugins/rockset/v1/plugin_pb.d.ts +123 -0
- package/dist/src/plugins/rockset/v1/plugin_pb.d.ts.map +1 -0
- package/dist/src/plugins/rockset/v1/plugin_pb.js +198 -0
- package/dist/src/plugins/rockset/v1/plugin_pb.js.map +1 -0
- package/dist/src/plugins/s3/v1/plugin_pb.d.ts +168 -0
- package/dist/src/plugins/s3/v1/plugin_pb.d.ts.map +1 -0
- package/dist/src/plugins/s3/v1/plugin_pb.js +263 -0
- package/dist/src/plugins/s3/v1/plugin_pb.js.map +1 -0
- package/dist/src/plugins/salesforce/v1/plugin_pb.d.ts +293 -0
- package/dist/src/plugins/salesforce/v1/plugin_pb.d.ts.map +1 -0
- package/dist/src/plugins/salesforce/v1/plugin_pb.js +429 -0
- package/dist/src/plugins/salesforce/v1/plugin_pb.js.map +1 -0
- package/dist/src/plugins/smtp/v1/plugin_pb.d.ts +96 -0
- package/dist/src/plugins/smtp/v1/plugin_pb.d.ts.map +1 -0
- package/dist/src/plugins/smtp/v1/plugin_pb.js +144 -0
- package/dist/src/plugins/smtp/v1/plugin_pb.js.map +1 -0
- package/dist/src/plugins/snowflake/v1/plugin_pb.d.ts +119 -0
- package/dist/src/plugins/snowflake/v1/plugin_pb.d.ts.map +1 -0
- package/dist/src/plugins/snowflake/v1/plugin_pb.js +193 -0
- package/dist/src/plugins/snowflake/v1/plugin_pb.js.map +1 -0
- package/dist/src/plugins/workflow/v1/plugin_pb.d.ts +58 -0
- package/dist/src/plugins/workflow/v1/plugin_pb.d.ts.map +1 -0
- package/dist/src/plugins/workflow/v1/plugin_pb.js +92 -0
- package/dist/src/plugins/workflow/v1/plugin_pb.js.map +1 -0
- package/dist/src/plugins/workflow/v2/plugin_pb.d.ts +25 -0
- package/dist/src/plugins/workflow/v2/plugin_pb.d.ts.map +1 -0
- package/dist/src/plugins/workflow/v2/plugin_pb.js +46 -0
- package/dist/src/plugins/workflow/v2/plugin_pb.js.map +1 -0
- package/dist/src/protoc-gen-openapiv2/options/openapiv2_pb.d.ts +1388 -0
- package/dist/src/protoc-gen-openapiv2/options/openapiv2_pb.d.ts.map +1 -0
- package/dist/src/protoc-gen-openapiv2/options/openapiv2_pb.js +1772 -0
- package/dist/src/protoc-gen-openapiv2/options/openapiv2_pb.js.map +1 -0
- package/dist/src/secrets/v1/index.d.ts +2 -0
- package/dist/src/secrets/v1/index.d.ts.map +1 -0
- package/dist/src/secrets/v1/index.js +28 -0
- package/dist/src/secrets/v1/index.js.map +1 -0
- package/dist/src/secrets/v1/secrets_pb.d.ts +344 -0
- package/dist/src/secrets/v1/secrets_pb.d.ts.map +1 -0
- package/dist/src/secrets/v1/secrets_pb.js +483 -0
- package/dist/src/secrets/v1/secrets_pb.js.map +1 -0
- package/dist/src/secrets/v1/store_pb.d.ts +98 -0
- package/dist/src/secrets/v1/store_pb.d.ts.map +1 -0
- package/dist/src/secrets/v1/store_pb.js +166 -0
- package/dist/src/secrets/v1/store_pb.js.map +1 -0
- package/dist/src/security/v1/index.d.ts +3 -0
- package/dist/src/security/v1/index.d.ts.map +1 -0
- package/dist/src/security/v1/index.js +19 -0
- package/dist/src/security/v1/index.js.map +1 -0
- package/dist/src/security/v1/requests_pb.d.ts +135 -0
- package/dist/src/security/v1/requests_pb.d.ts.map +1 -0
- package/dist/src/security/v1/requests_pb.js +214 -0
- package/dist/src/security/v1/requests_pb.js.map +1 -0
- package/dist/src/security/v1/service_pb.d.ts +192 -0
- package/dist/src/security/v1/service_pb.d.ts.map +1 -0
- package/dist/src/security/v1/service_pb.js +270 -0
- package/dist/src/security/v1/service_pb.js.map +1 -0
- package/dist/src/store/v1/service_pb.d.ts +81 -0
- package/dist/src/store/v1/service_pb.d.ts.map +1 -0
- package/dist/src/store/v1/service_pb.js +145 -0
- package/dist/src/store/v1/service_pb.js.map +1 -0
- package/dist/src/store/v1/store_pb.d.ts +42 -0
- package/dist/src/store/v1/store_pb.d.ts.map +1 -0
- package/dist/src/store/v1/store_pb.js +77 -0
- package/dist/src/store/v1/store_pb.js.map +1 -0
- package/dist/src/superblocks/v1/options_pb.d.ts +37 -0
- package/dist/src/superblocks/v1/options_pb.d.ts.map +1 -0
- package/dist/src/superblocks/v1/options_pb.js +71 -0
- package/dist/src/superblocks/v1/options_pb.js.map +1 -0
- package/dist/src/syncer/v1/index.d.ts +2 -0
- package/dist/src/syncer/v1/index.d.ts.map +1 -0
- package/dist/src/syncer/v1/index.js +28 -0
- package/dist/src/syncer/v1/index.js.map +1 -0
- package/dist/src/syncer/v1/service_pb.d.ts +186 -0
- package/dist/src/syncer/v1/service_pb.d.ts.map +1 -0
- package/dist/src/syncer/v1/service_pb.js +320 -0
- package/dist/src/syncer/v1/service_pb.js.map +1 -0
- package/dist/src/syncer/v1/syncer_pb.d.ts +41 -0
- package/dist/src/syncer/v1/syncer_pb.d.ts.map +1 -0
- package/dist/src/syncer/v1/syncer_pb.js +66 -0
- package/dist/src/syncer/v1/syncer_pb.js.map +1 -0
- package/dist/src/transport/v1/transport_pb.d.ts +614 -0
- package/dist/src/transport/v1/transport_pb.d.ts.map +1 -0
- package/dist/src/transport/v1/transport_pb.js +928 -0
- package/dist/src/transport/v1/transport_pb.js.map +1 -0
- package/dist/src/utils/v1/index.d.ts +2 -0
- package/dist/src/utils/v1/index.d.ts.map +1 -0
- package/dist/src/utils/v1/index.js +28 -0
- package/dist/src/utils/v1/index.js.map +1 -0
- package/dist/src/utils/v1/utils_pb.d.ts +45 -0
- package/dist/src/utils/v1/utils_pb.d.ts.map +1 -0
- package/dist/src/utils/v1/utils_pb.js +74 -0
- package/dist/src/utils/v1/utils_pb.js.map +1 -0
- package/dist/src/validate/validate_pb.d.ts +1794 -0
- package/dist/src/validate/validate_pb.d.ts.map +1 -0
- package/dist/src/validate/validate_pb.js +2044 -0
- package/dist/src/validate/validate_pb.js.map +1 -0
- package/dist/src/worker/v1/step_executor_pb.d.ts +23 -0
- package/dist/src/worker/v1/step_executor_pb.d.ts.map +1 -0
- package/dist/src/worker/v1/step_executor_pb.js +43 -0
- package/dist/src/worker/v1/step_executor_pb.js.map +1 -0
- package/dist/tsconfig.tsbuildinfo +1 -0
- package/package.json +18 -0
- package/src/agent/v1/index.ts +1 -0
- package/src/agent/v1/service_pb.ts +716 -0
- package/src/ai/v1/ai_pb.ts +977 -0
- package/src/ai/v1/metadata_pb.ts +134 -0
- package/src/ai/v1/service_pb.ts +154 -0
- package/src/ai/v1/vector_pb.ts +63 -0
- package/src/api/v1/api_pb.ts +2493 -0
- package/src/api/v1/blocks_pb.ts +182 -0
- package/src/api/v1/event_pb.ts +735 -0
- package/src/api/v1/index.ts +6 -0
- package/src/api/v1/integration_auth_service_pb.ts +372 -0
- package/src/api/v1/requests_pb.ts +906 -0
- package/src/api/v1/service_pb.ts +2464 -0
- package/src/auth/v1/auth_pb.ts +138 -0
- package/src/buf/validate/expression_pb.ts +222 -0
- package/src/buf/validate/priv/private_pb.ts +112 -0
- package/src/buf/validate/validate_pb.ts +4357 -0
- package/src/cache/v1/cache_pb.ts +146 -0
- package/src/common/v1/api_pb.ts +162 -0
- package/src/common/v1/common_pb.ts +220 -0
- package/src/common/v1/errors_pb.ts +143 -0
- package/src/common/v1/health_pb.ts +142 -0
- package/src/common/v1/index.ts +5 -0
- package/src/common/v1/language_pb.ts +765 -0
- package/src/common/v1/plugin_pb.ts +242 -0
- package/src/common/v1/utils_pb.ts +45 -0
- package/src/event/v1/cloudevent_pb.ts +225 -0
- package/src/event/v1/event_pb.ts +264 -0
- package/src/event/v1/service_pb.ts +131 -0
- package/src/event/v2/cloudevent_pb.ts +225 -0
- package/src/google/api/http_pb.ts +547 -0
- package/src/index.ts +8 -0
- package/src/intake/v1/logs_pb.ts +45 -0
- package/src/integration/v1/service_pb.ts +322 -0
- package/src/kafka/v1/index.ts +1 -0
- package/src/kafka/v1/kafka_pb.ts +118 -0
- package/src/plugins/adls/v1/plugin_pb.ts +562 -0
- package/src/plugins/athena/v1/plugin_pb.ts +163 -0
- package/src/plugins/bigquery/v1/plugin_pb.ts +228 -0
- package/src/plugins/cockroachdb/v1/plugin_pb.ts +203 -0
- package/src/plugins/common/v1/auth_pb.ts +918 -0
- package/src/plugins/common/v1/metadata_pb.ts +193 -0
- package/src/plugins/common/v1/plugin_pb.ts +527 -0
- package/src/plugins/cosmosdb/v1/plugin_pb.ts +670 -0
- package/src/plugins/couchbase/v1/plugin_pb.ts +492 -0
- package/src/plugins/custom/v1/plugin_pb.ts +61 -0
- package/src/plugins/databricks/v1/plugin_pb.ts +197 -0
- package/src/plugins/dynamodb/v1/plugin_pb.ts +375 -0
- package/src/plugins/email/v1/plugin_pb.ts +124 -0
- package/src/plugins/gcs/v1/plugin_pb.ts +270 -0
- package/src/plugins/graphql/v1/plugin_pb.ts +129 -0
- package/src/plugins/gsheets/v1/plugin_pb.ts +220 -0
- package/src/plugins/index.ts +19 -0
- package/src/plugins/javascript/v1/plugin_pb.ts +88 -0
- package/src/plugins/kafka/v1/plugin_pb.ts +921 -0
- package/src/plugins/kinesis/v1/plugin_pb.ts +406 -0
- package/src/plugins/mariadb/v1/plugin_pb.ts +203 -0
- package/src/plugins/mongodb/v1/plugin_pb.ts +175 -0
- package/src/plugins/mssql/v1/plugin_pb.ts +246 -0
- package/src/plugins/mysql/v1/plugin_pb.ts +246 -0
- package/src/plugins/ocr/v1/plugin_pb.ts +57 -0
- package/src/plugins/openai/v1/plugin_pb.ts +443 -0
- package/src/plugins/oracledb/v1/plugin_pb.ts +155 -0
- package/src/plugins/pinecone/v1/plugin_pb.ts +288 -0
- package/src/plugins/postgresql/v1/plugin_pb.ts +246 -0
- package/src/plugins/python/v1/plugin_pb.ts +88 -0
- package/src/plugins/redis/v1/plugin_pb.ts +2073 -0
- package/src/plugins/redshift/v1/plugin_pb.ts +228 -0
- package/src/plugins/restapi/v1/plugin_pb.ts +128 -0
- package/src/plugins/restapiintegration/v1/plugin_pb.ts +160 -0
- package/src/plugins/rockset/v1/plugin_pb.ts +234 -0
- package/src/plugins/s3/v1/plugin_pb.ts +311 -0
- package/src/plugins/salesforce/v1/plugin_pb.ts +516 -0
- package/src/plugins/smtp/v1/plugin_pb.ts +169 -0
- package/src/plugins/snowflake/v1/plugin_pb.ts +228 -0
- package/src/plugins/workflow/v1/plugin_pb.ts +107 -0
- package/src/plugins/workflow/v2/plugin_pb.ts +52 -0
- package/src/protoc-gen-openapiv2/options/openapiv2_pb.ts +1995 -0
- package/src/secrets/v1/index.ts +1 -0
- package/src/secrets/v1/secrets_pb.ts +609 -0
- package/src/secrets/v1/store_pb.ts +195 -0
- package/src/security/v1/index.ts +2 -0
- package/src/security/v1/requests_pb.ts +249 -0
- package/src/security/v1/service_pb.ts +350 -0
- package/src/store/v1/service_pb.ts +170 -0
- package/src/store/v1/store_pb.ts +89 -0
- package/src/superblocks/v1/options_pb.ts +82 -0
- package/src/syncer/v1/index.ts +1 -0
- package/src/syncer/v1/service_pb.ts +379 -0
- package/src/syncer/v1/syncer_pb.ts +76 -0
- package/src/transport/v1/transport_pb.ts +1099 -0
- package/src/utils/v1/index.ts +1 -0
- package/src/utils/v1/utils_pb.ts +83 -0
- package/src/validate/validate_pb.ts +2574 -0
- package/src/worker/v1/step_executor_pb.ts +48 -0
|
@@ -0,0 +1,138 @@
|
|
|
1
|
+
// @generated by protoc-gen-es v1.2.0 with parameter "target=ts"
|
|
2
|
+
// @generated from file auth/v1/auth.proto (package auth.v1, syntax proto3)
|
|
3
|
+
/* eslint-disable */
|
|
4
|
+
// @ts-nocheck
|
|
5
|
+
|
|
6
|
+
import type { BinaryReadOptions, FieldList, JsonReadOptions, JsonValue, PartialMessage, PlainMessage } from "@bufbuild/protobuf";
|
|
7
|
+
import { Message, proto3, Struct } from "@bufbuild/protobuf";
|
|
8
|
+
|
|
9
|
+
/**
|
|
10
|
+
* @generated from message auth.v1.Claims
|
|
11
|
+
*/
|
|
12
|
+
export class Claims extends Message<Claims> {
|
|
13
|
+
/**
|
|
14
|
+
* @generated from field: string user_email = 1;
|
|
15
|
+
*/
|
|
16
|
+
userEmail = "";
|
|
17
|
+
|
|
18
|
+
/**
|
|
19
|
+
* @generated from field: string org_id = 2;
|
|
20
|
+
*/
|
|
21
|
+
orgId = "";
|
|
22
|
+
|
|
23
|
+
/**
|
|
24
|
+
* @generated from field: string org_type = 3;
|
|
25
|
+
*/
|
|
26
|
+
orgType = "";
|
|
27
|
+
|
|
28
|
+
/**
|
|
29
|
+
* @generated from field: string rbac_role = 4;
|
|
30
|
+
*/
|
|
31
|
+
rbacRole = "";
|
|
32
|
+
|
|
33
|
+
/**
|
|
34
|
+
* @generated from field: repeated auth.v1.Claims.RbacGroupObject rbac_group_objects = 5;
|
|
35
|
+
*/
|
|
36
|
+
rbacGroupObjects: Claims_RbacGroupObject[] = [];
|
|
37
|
+
|
|
38
|
+
/**
|
|
39
|
+
* @generated from field: string user_type = 6;
|
|
40
|
+
*/
|
|
41
|
+
userType = "";
|
|
42
|
+
|
|
43
|
+
/**
|
|
44
|
+
* @generated from field: string user_id = 7;
|
|
45
|
+
*/
|
|
46
|
+
userId = "";
|
|
47
|
+
|
|
48
|
+
/**
|
|
49
|
+
* user display name
|
|
50
|
+
*
|
|
51
|
+
* @generated from field: string user_name = 8;
|
|
52
|
+
*/
|
|
53
|
+
userName = "";
|
|
54
|
+
|
|
55
|
+
/**
|
|
56
|
+
* @generated from field: optional google.protobuf.Struct metadata = 9;
|
|
57
|
+
*/
|
|
58
|
+
metadata?: Struct;
|
|
59
|
+
|
|
60
|
+
constructor(data?: PartialMessage<Claims>) {
|
|
61
|
+
super();
|
|
62
|
+
proto3.util.initPartial(data, this);
|
|
63
|
+
}
|
|
64
|
+
|
|
65
|
+
static readonly runtime: typeof proto3 = proto3;
|
|
66
|
+
static readonly typeName = "auth.v1.Claims";
|
|
67
|
+
static readonly fields: FieldList = proto3.util.newFieldList(() => [
|
|
68
|
+
{ no: 1, name: "user_email", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
69
|
+
{ no: 2, name: "org_id", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
70
|
+
{ no: 3, name: "org_type", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
71
|
+
{ no: 4, name: "rbac_role", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
72
|
+
{ no: 5, name: "rbac_group_objects", kind: "message", T: Claims_RbacGroupObject, repeated: true },
|
|
73
|
+
{ no: 6, name: "user_type", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
74
|
+
{ no: 7, name: "user_id", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
75
|
+
{ no: 8, name: "user_name", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
76
|
+
{ no: 9, name: "metadata", kind: "message", T: Struct, opt: true },
|
|
77
|
+
]);
|
|
78
|
+
|
|
79
|
+
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): Claims {
|
|
80
|
+
return new Claims().fromBinary(bytes, options);
|
|
81
|
+
}
|
|
82
|
+
|
|
83
|
+
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): Claims {
|
|
84
|
+
return new Claims().fromJson(jsonValue, options);
|
|
85
|
+
}
|
|
86
|
+
|
|
87
|
+
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): Claims {
|
|
88
|
+
return new Claims().fromJsonString(jsonString, options);
|
|
89
|
+
}
|
|
90
|
+
|
|
91
|
+
static equals(a: Claims | PlainMessage<Claims> | undefined, b: Claims | PlainMessage<Claims> | undefined): boolean {
|
|
92
|
+
return proto3.util.equals(Claims, a, b);
|
|
93
|
+
}
|
|
94
|
+
}
|
|
95
|
+
|
|
96
|
+
/**
|
|
97
|
+
* @generated from message auth.v1.Claims.RbacGroupObject
|
|
98
|
+
*/
|
|
99
|
+
export class Claims_RbacGroupObject extends Message<Claims_RbacGroupObject> {
|
|
100
|
+
/**
|
|
101
|
+
* @generated from field: string id = 1;
|
|
102
|
+
*/
|
|
103
|
+
id = "";
|
|
104
|
+
|
|
105
|
+
/**
|
|
106
|
+
* @generated from field: string name = 2;
|
|
107
|
+
*/
|
|
108
|
+
name = "";
|
|
109
|
+
|
|
110
|
+
constructor(data?: PartialMessage<Claims_RbacGroupObject>) {
|
|
111
|
+
super();
|
|
112
|
+
proto3.util.initPartial(data, this);
|
|
113
|
+
}
|
|
114
|
+
|
|
115
|
+
static readonly runtime: typeof proto3 = proto3;
|
|
116
|
+
static readonly typeName = "auth.v1.Claims.RbacGroupObject";
|
|
117
|
+
static readonly fields: FieldList = proto3.util.newFieldList(() => [
|
|
118
|
+
{ no: 1, name: "id", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
119
|
+
{ no: 2, name: "name", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
120
|
+
]);
|
|
121
|
+
|
|
122
|
+
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): Claims_RbacGroupObject {
|
|
123
|
+
return new Claims_RbacGroupObject().fromBinary(bytes, options);
|
|
124
|
+
}
|
|
125
|
+
|
|
126
|
+
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): Claims_RbacGroupObject {
|
|
127
|
+
return new Claims_RbacGroupObject().fromJson(jsonValue, options);
|
|
128
|
+
}
|
|
129
|
+
|
|
130
|
+
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): Claims_RbacGroupObject {
|
|
131
|
+
return new Claims_RbacGroupObject().fromJsonString(jsonString, options);
|
|
132
|
+
}
|
|
133
|
+
|
|
134
|
+
static equals(a: Claims_RbacGroupObject | PlainMessage<Claims_RbacGroupObject> | undefined, b: Claims_RbacGroupObject | PlainMessage<Claims_RbacGroupObject> | undefined): boolean {
|
|
135
|
+
return proto3.util.equals(Claims_RbacGroupObject, a, b);
|
|
136
|
+
}
|
|
137
|
+
}
|
|
138
|
+
|
|
@@ -0,0 +1,222 @@
|
|
|
1
|
+
// Copyright 2023 Buf Technologies, Inc.
|
|
2
|
+
//
|
|
3
|
+
// Licensed under the Apache License, Version 2.0 (the "License");
|
|
4
|
+
// you may not use this file except in compliance with the License.
|
|
5
|
+
// You may obtain a copy of the License at
|
|
6
|
+
//
|
|
7
|
+
// http://www.apache.org/licenses/LICENSE-2.0
|
|
8
|
+
//
|
|
9
|
+
// Unless required by applicable law or agreed to in writing, software
|
|
10
|
+
// distributed under the License is distributed on an "AS IS" BASIS,
|
|
11
|
+
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
12
|
+
// See the License for the specific language governing permissions and
|
|
13
|
+
// limitations under the License.
|
|
14
|
+
|
|
15
|
+
// @generated by protoc-gen-es v1.2.0 with parameter "target=ts"
|
|
16
|
+
// @generated from file buf/validate/expression.proto (package buf.validate, syntax proto3)
|
|
17
|
+
/* eslint-disable */
|
|
18
|
+
// @ts-nocheck
|
|
19
|
+
|
|
20
|
+
import type { BinaryReadOptions, FieldList, JsonReadOptions, JsonValue, PartialMessage, PlainMessage } from "@bufbuild/protobuf";
|
|
21
|
+
import { Message, proto3 } from "@bufbuild/protobuf";
|
|
22
|
+
|
|
23
|
+
/**
|
|
24
|
+
* `Constraint` represents a validation rule written in the Common Expression
|
|
25
|
+
* Language (CEL) syntax. Each Constraint includes a unique identifier, an
|
|
26
|
+
* optional error message, and the CEL expression to evaluate. For more
|
|
27
|
+
* information on CEL, [see our documentation](https://github.com/bufbuild/protovalidate/blob/main/docs/cel.md).
|
|
28
|
+
*
|
|
29
|
+
* ```proto
|
|
30
|
+
* message Foo {
|
|
31
|
+
* option (buf.validate.message).cel = {
|
|
32
|
+
* id: "foo.bar"
|
|
33
|
+
* message: "bar must be greater than 0"
|
|
34
|
+
* expression: "this.bar > 0"
|
|
35
|
+
* };
|
|
36
|
+
* int32 bar = 1;
|
|
37
|
+
* }
|
|
38
|
+
* ```
|
|
39
|
+
*
|
|
40
|
+
* @generated from message buf.validate.Constraint
|
|
41
|
+
*/
|
|
42
|
+
export class Constraint extends Message<Constraint> {
|
|
43
|
+
/**
|
|
44
|
+
* `id` is a string that serves as a machine-readable name for this Constraint.
|
|
45
|
+
* It should be unique within its scope, which could be either a message or a field.
|
|
46
|
+
*
|
|
47
|
+
* @generated from field: string id = 1;
|
|
48
|
+
*/
|
|
49
|
+
id = "";
|
|
50
|
+
|
|
51
|
+
/**
|
|
52
|
+
* `message` is an optional field that provides a human-readable error message
|
|
53
|
+
* for this Constraint when the CEL expression evaluates to false. If a
|
|
54
|
+
* non-empty message is provided, any strings resulting from the CEL
|
|
55
|
+
* expression evaluation are ignored.
|
|
56
|
+
*
|
|
57
|
+
* @generated from field: string message = 2;
|
|
58
|
+
*/
|
|
59
|
+
message = "";
|
|
60
|
+
|
|
61
|
+
/**
|
|
62
|
+
* `expression` is the actual CEL expression that will be evaluated for
|
|
63
|
+
* validation. This string must resolve to either a boolean or a string
|
|
64
|
+
* value. If the expression evaluates to false or a non-empty string, the
|
|
65
|
+
* validation is considered failed, and the message is rejected.
|
|
66
|
+
*
|
|
67
|
+
* @generated from field: string expression = 3;
|
|
68
|
+
*/
|
|
69
|
+
expression = "";
|
|
70
|
+
|
|
71
|
+
constructor(data?: PartialMessage<Constraint>) {
|
|
72
|
+
super();
|
|
73
|
+
proto3.util.initPartial(data, this);
|
|
74
|
+
}
|
|
75
|
+
|
|
76
|
+
static readonly runtime: typeof proto3 = proto3;
|
|
77
|
+
static readonly typeName = "buf.validate.Constraint";
|
|
78
|
+
static readonly fields: FieldList = proto3.util.newFieldList(() => [
|
|
79
|
+
{ no: 1, name: "id", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
80
|
+
{ no: 2, name: "message", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
81
|
+
{ no: 3, name: "expression", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
82
|
+
]);
|
|
83
|
+
|
|
84
|
+
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): Constraint {
|
|
85
|
+
return new Constraint().fromBinary(bytes, options);
|
|
86
|
+
}
|
|
87
|
+
|
|
88
|
+
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): Constraint {
|
|
89
|
+
return new Constraint().fromJson(jsonValue, options);
|
|
90
|
+
}
|
|
91
|
+
|
|
92
|
+
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): Constraint {
|
|
93
|
+
return new Constraint().fromJsonString(jsonString, options);
|
|
94
|
+
}
|
|
95
|
+
|
|
96
|
+
static equals(a: Constraint | PlainMessage<Constraint> | undefined, b: Constraint | PlainMessage<Constraint> | undefined): boolean {
|
|
97
|
+
return proto3.util.equals(Constraint, a, b);
|
|
98
|
+
}
|
|
99
|
+
}
|
|
100
|
+
|
|
101
|
+
/**
|
|
102
|
+
* `Violations` is a collection of `Violation` messages. This message type is returned by
|
|
103
|
+
* protovalidate when a proto message fails to meet the requirements set by the `Constraint` validation rules.
|
|
104
|
+
* Each individual violation is represented by a `Violation` message.
|
|
105
|
+
*
|
|
106
|
+
* @generated from message buf.validate.Violations
|
|
107
|
+
*/
|
|
108
|
+
export class Violations extends Message<Violations> {
|
|
109
|
+
/**
|
|
110
|
+
* `violations` is a repeated field that contains all the `Violation` messages corresponding to the violations detected.
|
|
111
|
+
*
|
|
112
|
+
* @generated from field: repeated buf.validate.Violation violations = 1;
|
|
113
|
+
*/
|
|
114
|
+
violations: Violation[] = [];
|
|
115
|
+
|
|
116
|
+
constructor(data?: PartialMessage<Violations>) {
|
|
117
|
+
super();
|
|
118
|
+
proto3.util.initPartial(data, this);
|
|
119
|
+
}
|
|
120
|
+
|
|
121
|
+
static readonly runtime: typeof proto3 = proto3;
|
|
122
|
+
static readonly typeName = "buf.validate.Violations";
|
|
123
|
+
static readonly fields: FieldList = proto3.util.newFieldList(() => [
|
|
124
|
+
{ no: 1, name: "violations", kind: "message", T: Violation, repeated: true },
|
|
125
|
+
]);
|
|
126
|
+
|
|
127
|
+
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): Violations {
|
|
128
|
+
return new Violations().fromBinary(bytes, options);
|
|
129
|
+
}
|
|
130
|
+
|
|
131
|
+
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): Violations {
|
|
132
|
+
return new Violations().fromJson(jsonValue, options);
|
|
133
|
+
}
|
|
134
|
+
|
|
135
|
+
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): Violations {
|
|
136
|
+
return new Violations().fromJsonString(jsonString, options);
|
|
137
|
+
}
|
|
138
|
+
|
|
139
|
+
static equals(a: Violations | PlainMessage<Violations> | undefined, b: Violations | PlainMessage<Violations> | undefined): boolean {
|
|
140
|
+
return proto3.util.equals(Violations, a, b);
|
|
141
|
+
}
|
|
142
|
+
}
|
|
143
|
+
|
|
144
|
+
/**
|
|
145
|
+
* `Violation` represents a single instance where a validation rule, expressed
|
|
146
|
+
* as a `Constraint`, was not met. It provides information about the field that
|
|
147
|
+
* caused the violation, the specific constraint that wasn't fulfilled, and a
|
|
148
|
+
* human-readable error message.
|
|
149
|
+
*
|
|
150
|
+
* ```json
|
|
151
|
+
* {
|
|
152
|
+
* "fieldPath": "bar",
|
|
153
|
+
* "constraintId": "foo.bar",
|
|
154
|
+
* "message": "bar must be greater than 0"
|
|
155
|
+
* }
|
|
156
|
+
* ```
|
|
157
|
+
*
|
|
158
|
+
* @generated from message buf.validate.Violation
|
|
159
|
+
*/
|
|
160
|
+
export class Violation extends Message<Violation> {
|
|
161
|
+
/**
|
|
162
|
+
* `field_path` is a machine-readable identifier that points to the specific field that failed the validation.
|
|
163
|
+
* This could be a nested field, in which case the path will include all the parent fields leading to the actual field that caused the violation.
|
|
164
|
+
*
|
|
165
|
+
* @generated from field: string field_path = 1;
|
|
166
|
+
*/
|
|
167
|
+
fieldPath = "";
|
|
168
|
+
|
|
169
|
+
/**
|
|
170
|
+
* `constraint_id` is the unique identifier of the `Constraint` that was not fulfilled.
|
|
171
|
+
* This is the same `id` that was specified in the `Constraint` message, allowing easy tracing of which rule was violated.
|
|
172
|
+
*
|
|
173
|
+
* @generated from field: string constraint_id = 2;
|
|
174
|
+
*/
|
|
175
|
+
constraintId = "";
|
|
176
|
+
|
|
177
|
+
/**
|
|
178
|
+
* `message` is a human-readable error message that describes the nature of the violation.
|
|
179
|
+
* This can be the default error message from the violated `Constraint`, or it can be a custom message that gives more context about the violation.
|
|
180
|
+
*
|
|
181
|
+
* @generated from field: string message = 3;
|
|
182
|
+
*/
|
|
183
|
+
message = "";
|
|
184
|
+
|
|
185
|
+
/**
|
|
186
|
+
* `for_key` indicates whether the violation was caused by a map key, rather than a value.
|
|
187
|
+
*
|
|
188
|
+
* @generated from field: bool for_key = 4;
|
|
189
|
+
*/
|
|
190
|
+
forKey = false;
|
|
191
|
+
|
|
192
|
+
constructor(data?: PartialMessage<Violation>) {
|
|
193
|
+
super();
|
|
194
|
+
proto3.util.initPartial(data, this);
|
|
195
|
+
}
|
|
196
|
+
|
|
197
|
+
static readonly runtime: typeof proto3 = proto3;
|
|
198
|
+
static readonly typeName = "buf.validate.Violation";
|
|
199
|
+
static readonly fields: FieldList = proto3.util.newFieldList(() => [
|
|
200
|
+
{ no: 1, name: "field_path", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
201
|
+
{ no: 2, name: "constraint_id", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
202
|
+
{ no: 3, name: "message", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
203
|
+
{ no: 4, name: "for_key", kind: "scalar", T: 8 /* ScalarType.BOOL */ },
|
|
204
|
+
]);
|
|
205
|
+
|
|
206
|
+
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): Violation {
|
|
207
|
+
return new Violation().fromBinary(bytes, options);
|
|
208
|
+
}
|
|
209
|
+
|
|
210
|
+
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): Violation {
|
|
211
|
+
return new Violation().fromJson(jsonValue, options);
|
|
212
|
+
}
|
|
213
|
+
|
|
214
|
+
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): Violation {
|
|
215
|
+
return new Violation().fromJsonString(jsonString, options);
|
|
216
|
+
}
|
|
217
|
+
|
|
218
|
+
static equals(a: Violation | PlainMessage<Violation> | undefined, b: Violation | PlainMessage<Violation> | undefined): boolean {
|
|
219
|
+
return proto3.util.equals(Violation, a, b);
|
|
220
|
+
}
|
|
221
|
+
}
|
|
222
|
+
|
|
@@ -0,0 +1,112 @@
|
|
|
1
|
+
// Copyright 2023 Buf Technologies, Inc.
|
|
2
|
+
//
|
|
3
|
+
// Licensed under the Apache License, Version 2.0 (the "License");
|
|
4
|
+
// you may not use this file except in compliance with the License.
|
|
5
|
+
// You may obtain a copy of the License at
|
|
6
|
+
//
|
|
7
|
+
// http://www.apache.org/licenses/LICENSE-2.0
|
|
8
|
+
//
|
|
9
|
+
// Unless required by applicable law or agreed to in writing, software
|
|
10
|
+
// distributed under the License is distributed on an "AS IS" BASIS,
|
|
11
|
+
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
12
|
+
// See the License for the specific language governing permissions and
|
|
13
|
+
// limitations under the License.
|
|
14
|
+
|
|
15
|
+
// @generated by protoc-gen-es v1.2.0 with parameter "target=ts"
|
|
16
|
+
// @generated from file buf/validate/priv/private.proto (package buf.validate.priv, syntax proto3)
|
|
17
|
+
/* eslint-disable */
|
|
18
|
+
// @ts-nocheck
|
|
19
|
+
|
|
20
|
+
import type { BinaryReadOptions, FieldList, JsonReadOptions, JsonValue, PartialMessage, PlainMessage } from "@bufbuild/protobuf";
|
|
21
|
+
import { Message, proto3 } from "@bufbuild/protobuf";
|
|
22
|
+
|
|
23
|
+
/**
|
|
24
|
+
* Do not use. Internal to protovalidate library
|
|
25
|
+
*
|
|
26
|
+
* @generated from message buf.validate.priv.FieldConstraints
|
|
27
|
+
*/
|
|
28
|
+
export class FieldConstraints extends Message<FieldConstraints> {
|
|
29
|
+
/**
|
|
30
|
+
* @generated from field: repeated buf.validate.priv.Constraint cel = 1;
|
|
31
|
+
*/
|
|
32
|
+
cel: Constraint[] = [];
|
|
33
|
+
|
|
34
|
+
constructor(data?: PartialMessage<FieldConstraints>) {
|
|
35
|
+
super();
|
|
36
|
+
proto3.util.initPartial(data, this);
|
|
37
|
+
}
|
|
38
|
+
|
|
39
|
+
static readonly runtime: typeof proto3 = proto3;
|
|
40
|
+
static readonly typeName = "buf.validate.priv.FieldConstraints";
|
|
41
|
+
static readonly fields: FieldList = proto3.util.newFieldList(() => [
|
|
42
|
+
{ no: 1, name: "cel", kind: "message", T: Constraint, repeated: true },
|
|
43
|
+
]);
|
|
44
|
+
|
|
45
|
+
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): FieldConstraints {
|
|
46
|
+
return new FieldConstraints().fromBinary(bytes, options);
|
|
47
|
+
}
|
|
48
|
+
|
|
49
|
+
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): FieldConstraints {
|
|
50
|
+
return new FieldConstraints().fromJson(jsonValue, options);
|
|
51
|
+
}
|
|
52
|
+
|
|
53
|
+
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): FieldConstraints {
|
|
54
|
+
return new FieldConstraints().fromJsonString(jsonString, options);
|
|
55
|
+
}
|
|
56
|
+
|
|
57
|
+
static equals(a: FieldConstraints | PlainMessage<FieldConstraints> | undefined, b: FieldConstraints | PlainMessage<FieldConstraints> | undefined): boolean {
|
|
58
|
+
return proto3.util.equals(FieldConstraints, a, b);
|
|
59
|
+
}
|
|
60
|
+
}
|
|
61
|
+
|
|
62
|
+
/**
|
|
63
|
+
* Do not use. Internal to protovalidate library
|
|
64
|
+
*
|
|
65
|
+
* @generated from message buf.validate.priv.Constraint
|
|
66
|
+
*/
|
|
67
|
+
export class Constraint extends Message<Constraint> {
|
|
68
|
+
/**
|
|
69
|
+
* @generated from field: string id = 1;
|
|
70
|
+
*/
|
|
71
|
+
id = "";
|
|
72
|
+
|
|
73
|
+
/**
|
|
74
|
+
* @generated from field: string message = 2;
|
|
75
|
+
*/
|
|
76
|
+
message = "";
|
|
77
|
+
|
|
78
|
+
/**
|
|
79
|
+
* @generated from field: string expression = 3;
|
|
80
|
+
*/
|
|
81
|
+
expression = "";
|
|
82
|
+
|
|
83
|
+
constructor(data?: PartialMessage<Constraint>) {
|
|
84
|
+
super();
|
|
85
|
+
proto3.util.initPartial(data, this);
|
|
86
|
+
}
|
|
87
|
+
|
|
88
|
+
static readonly runtime: typeof proto3 = proto3;
|
|
89
|
+
static readonly typeName = "buf.validate.priv.Constraint";
|
|
90
|
+
static readonly fields: FieldList = proto3.util.newFieldList(() => [
|
|
91
|
+
{ no: 1, name: "id", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
92
|
+
{ no: 2, name: "message", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
93
|
+
{ no: 3, name: "expression", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
94
|
+
]);
|
|
95
|
+
|
|
96
|
+
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): Constraint {
|
|
97
|
+
return new Constraint().fromBinary(bytes, options);
|
|
98
|
+
}
|
|
99
|
+
|
|
100
|
+
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): Constraint {
|
|
101
|
+
return new Constraint().fromJson(jsonValue, options);
|
|
102
|
+
}
|
|
103
|
+
|
|
104
|
+
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): Constraint {
|
|
105
|
+
return new Constraint().fromJsonString(jsonString, options);
|
|
106
|
+
}
|
|
107
|
+
|
|
108
|
+
static equals(a: Constraint | PlainMessage<Constraint> | undefined, b: Constraint | PlainMessage<Constraint> | undefined): boolean {
|
|
109
|
+
return proto3.util.equals(Constraint, a, b);
|
|
110
|
+
}
|
|
111
|
+
}
|
|
112
|
+
|