@xeonr/upload-pool-sdk 1.0.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/README.md +83 -0
- package/dist/errors.d.ts +14 -0
- package/dist/errors.d.ts.map +1 -0
- package/dist/errors.js +15 -0
- package/dist/errors.js.map +1 -0
- package/dist/index.d.ts +27 -0
- package/dist/index.d.ts.map +1 -0
- package/dist/index.js +27 -0
- package/dist/index.js.map +1 -0
- package/dist/job-context.d.ts +18 -0
- package/dist/job-context.d.ts.map +1 -0
- package/dist/job-context.js +176 -0
- package/dist/job-context.js.map +1 -0
- package/dist/pool.d.ts +16 -0
- package/dist/pool.d.ts.map +1 -0
- package/dist/pool.js +111 -0
- package/dist/pool.js.map +1 -0
- package/dist/protocol/buf/validate/expression_pb.d.ts +128 -0
- package/dist/protocol/buf/validate/expression_pb.d.ts.map +1 -0
- package/dist/protocol/buf/validate/expression_pb.js +34 -0
- package/dist/protocol/buf/validate/expression_pb.js.map +1 -0
- package/dist/protocol/buf/validate/priv/private_pb.d.ts +54 -0
- package/dist/protocol/buf/validate/priv/private_pb.d.ts.map +1 -0
- package/dist/protocol/buf/validate/priv/private_pb.js +36 -0
- package/dist/protocol/buf/validate/priv/private_pb.js.map +1 -0
- package/dist/protocol/buf/validate/validate_pb.d.ts +3685 -0
- package/dist/protocol/buf/validate/validate_pb.d.ts.map +1 -0
- package/dist/protocol/buf/validate/validate_pb.js +223 -0
- package/dist/protocol/buf/validate/validate_pb.js.map +1 -0
- package/dist/protocol/gnostic/discovery/v1/discovery_pb.d.ts +816 -0
- package/dist/protocol/gnostic/discovery/v1/discovery_pb.d.ts.map +1 -0
- package/dist/protocol/gnostic/discovery/v1/discovery_pb.js +160 -0
- package/dist/protocol/gnostic/discovery/v1/discovery_pb.js.map +1 -0
- package/dist/protocol/gnostic/openapi/v2/openapiv2_pb.d.ts +2229 -0
- package/dist/protocol/gnostic/openapi/v2/openapiv2_pb.d.ts.map +1 -0
- package/dist/protocol/gnostic/openapi/v2/openapiv2_pb.js +320 -0
- package/dist/protocol/gnostic/openapi/v2/openapiv2_pb.js.map +1 -0
- package/dist/protocol/gnostic/openapi/v3/annotations_pb.d.ts +24 -0
- package/dist/protocol/gnostic/openapi/v3/annotations_pb.d.ts.map +1 -0
- package/dist/protocol/gnostic/openapi/v3/annotations_pb.js +37 -0
- package/dist/protocol/gnostic/openapi/v3/annotations_pb.js.map +1 -0
- package/dist/protocol/gnostic/openapi/v3/openapiv3_pb.d.ts +2245 -0
- package/dist/protocol/gnostic/openapi/v3/openapiv3_pb.d.ts.map +1 -0
- package/dist/protocol/gnostic/openapi/v3/openapiv3_pb.js +410 -0
- package/dist/protocol/gnostic/openapi/v3/openapiv3_pb.js.map +1 -0
- package/dist/protocol/google/api/annotations_pb.d.ts +14 -0
- package/dist/protocol/google/api/annotations_pb.d.ts.map +1 -0
- package/dist/protocol/google/api/annotations_pb.js +27 -0
- package/dist/protocol/google/api/annotations_pb.js.map +1 -0
- package/dist/protocol/google/api/client_pb.d.ts +1034 -0
- package/dist/protocol/google/api/client_pb.d.ts.map +1 -0
- package/dist/protocol/google/api/client_pb.js +338 -0
- package/dist/protocol/google/api/client_pb.js.map +1 -0
- package/dist/protocol/google/api/expr/v1alpha1/checked_pb.d.ts +672 -0
- package/dist/protocol/google/api/expr/v1alpha1/checked_pb.d.ts.map +1 -0
- package/dist/protocol/google/api/expr/v1alpha1/checked_pb.js +176 -0
- package/dist/protocol/google/api/expr/v1alpha1/checked_pb.js.map +1 -0
- package/dist/protocol/google/api/expr/v1alpha1/eval_pb.d.ts +185 -0
- package/dist/protocol/google/api/expr/v1alpha1/eval_pb.d.ts.map +1 -0
- package/dist/protocol/google/api/expr/v1alpha1/eval_pb.js +46 -0
- package/dist/protocol/google/api/expr/v1alpha1/eval_pb.js.map +1 -0
- package/dist/protocol/google/api/expr/v1alpha1/explain_pb.d.ts +68 -0
- package/dist/protocol/google/api/expr/v1alpha1/explain_pb.d.ts.map +1 -0
- package/dist/protocol/google/api/expr/v1alpha1/explain_pb.js +32 -0
- package/dist/protocol/google/api/expr/v1alpha1/explain_pb.js.map +1 -0
- package/dist/protocol/google/api/expr/v1alpha1/syntax_pb.d.ts +796 -0
- package/dist/protocol/google/api/expr/v1alpha1/syntax_pb.d.ts.map +1 -0
- package/dist/protocol/google/api/expr/v1alpha1/syntax_pb.js +128 -0
- package/dist/protocol/google/api/expr/v1alpha1/syntax_pb.js.map +1 -0
- package/dist/protocol/google/api/expr/v1alpha1/value_pb.d.ts +224 -0
- package/dist/protocol/google/api/expr/v1alpha1/value_pb.d.ts.map +1 -0
- package/dist/protocol/google/api/expr/v1alpha1/value_pb.js +45 -0
- package/dist/protocol/google/api/expr/v1alpha1/value_pb.js.map +1 -0
- package/dist/protocol/google/api/expr/v1beta1/decl_pb.d.ts +151 -0
- package/dist/protocol/google/api/expr/v1beta1/decl_pb.d.ts.map +1 -0
- package/dist/protocol/google/api/expr/v1beta1/decl_pb.js +41 -0
- package/dist/protocol/google/api/expr/v1beta1/decl_pb.js.map +1 -0
- package/dist/protocol/google/api/expr/v1beta1/eval_pb.d.ts +203 -0
- package/dist/protocol/google/api/expr/v1beta1/eval_pb.d.ts.map +1 -0
- package/dist/protocol/google/api/expr/v1beta1/eval_pb.js +52 -0
- package/dist/protocol/google/api/expr/v1beta1/eval_pb.js.map +1 -0
- package/dist/protocol/google/api/expr/v1beta1/expr_pb.d.ts +504 -0
- package/dist/protocol/google/api/expr/v1beta1/expr_pb.d.ts.map +1 -0
- package/dist/protocol/google/api/expr/v1beta1/expr_pb.js +72 -0
- package/dist/protocol/google/api/expr/v1beta1/expr_pb.js.map +1 -0
- package/dist/protocol/google/api/expr/v1beta1/source_pb.d.ts +86 -0
- package/dist/protocol/google/api/expr/v1beta1/source_pb.d.ts.map +1 -0
- package/dist/protocol/google/api/expr/v1beta1/source_pb.js +30 -0
- package/dist/protocol/google/api/expr/v1beta1/source_pb.js.map +1 -0
- package/dist/protocol/google/api/expr/v1beta1/value_pb.d.ts +224 -0
- package/dist/protocol/google/api/expr/v1beta1/value_pb.d.ts.map +1 -0
- package/dist/protocol/google/api/expr/v1beta1/value_pb.js +46 -0
- package/dist/protocol/google/api/expr/v1beta1/value_pb.js.map +1 -0
- package/dist/protocol/google/api/field_behavior_pb.d.ts +122 -0
- package/dist/protocol/google/api/field_behavior_pb.d.ts.map +1 -0
- package/dist/protocol/google/api/field_behavior_pb.js +136 -0
- package/dist/protocol/google/api/field_behavior_pb.js.map +1 -0
- package/dist/protocol/google/api/field_info_pb.d.ts +140 -0
- package/dist/protocol/google/api/field_info_pb.d.ts.map +1 -0
- package/dist/protocol/google/api/field_info_pb.js +108 -0
- package/dist/protocol/google/api/field_info_pb.js.map +1 -0
- package/dist/protocol/google/api/http_pb.d.ts +441 -0
- package/dist/protocol/google/api/http_pb.d.ts.map +1 -0
- package/dist/protocol/google/api/http_pb.js +34 -0
- package/dist/protocol/google/api/http_pb.js.map +1 -0
- package/dist/protocol/google/api/httpbody_pb.d.ts +81 -0
- package/dist/protocol/google/api/httpbody_pb.d.ts.map +1 -0
- package/dist/protocol/google/api/httpbody_pb.js +25 -0
- package/dist/protocol/google/api/httpbody_pb.js.map +1 -0
- package/dist/protocol/google/api/launch_stage_pb.d.ts +87 -0
- package/dist/protocol/google/api/launch_stage_pb.d.ts.map +1 -0
- package/dist/protocol/google/api/launch_stage_pb.js +101 -0
- package/dist/protocol/google/api/launch_stage_pb.js.map +1 -0
- package/dist/protocol/google/api/resource_pb.d.ts +304 -0
- package/dist/protocol/google/api/resource_pb.d.ts.map +1 -0
- package/dist/protocol/google/api/resource_pb.js +116 -0
- package/dist/protocol/google/api/resource_pb.js.map +1 -0
- package/dist/protocol/google/api/routing_pb.d.ts +476 -0
- package/dist/protocol/google/api/routing_pb.d.ts.map +1 -0
- package/dist/protocol/google/api/routing_pb.js +36 -0
- package/dist/protocol/google/api/routing_pb.js.map +1 -0
- package/dist/protocol/google/api/visibility_pb.d.ts +128 -0
- package/dist/protocol/google/api/visibility_pb.d.ts.map +1 -0
- package/dist/protocol/google/api/visibility_pb.js +66 -0
- package/dist/protocol/google/api/visibility_pb.js.map +1 -0
- package/dist/protocol/google/bytestream/bytestream_pb.d.ts +278 -0
- package/dist/protocol/google/bytestream/bytestream_pb.d.ts.map +1 -0
- package/dist/protocol/google/bytestream/bytestream_pb.js +77 -0
- package/dist/protocol/google/bytestream/bytestream_pb.js.map +1 -0
- package/dist/protocol/google/geo/type/viewport_pb.d.ts +66 -0
- package/dist/protocol/google/geo/type/viewport_pb.d.ts.map +1 -0
- package/dist/protocol/google/geo/type/viewport_pb.js +26 -0
- package/dist/protocol/google/geo/type/viewport_pb.js.map +1 -0
- package/dist/protocol/google/iam/v1/iam_policy_pb.d.ts +193 -0
- package/dist/protocol/google/iam/v1/iam_policy_pb.d.ts.map +1 -0
- package/dist/protocol/google/iam/v1/iam_policy_pb.js +76 -0
- package/dist/protocol/google/iam/v1/iam_policy_pb.js.map +1 -0
- package/dist/protocol/google/iam/v1/options_pb.d.ts +42 -0
- package/dist/protocol/google/iam/v1/options_pb.d.ts.map +1 -0
- package/dist/protocol/google/iam/v1/options_pb.js +24 -0
- package/dist/protocol/google/iam/v1/options_pb.js.map +1 -0
- package/dist/protocol/google/iam/v1/policy_pb.d.ts +571 -0
- package/dist/protocol/google/iam/v1/policy_pb.d.ts.map +1 -0
- package/dist/protocol/google/iam/v1/policy_pb.js +152 -0
- package/dist/protocol/google/iam/v1/policy_pb.js.map +1 -0
- package/dist/protocol/google/longrunning/operations_pb.d.ts +398 -0
- package/dist/protocol/google/longrunning/operations_pb.d.ts.map +1 -0
- package/dist/protocol/google/longrunning/operations_pb.js +89 -0
- package/dist/protocol/google/longrunning/operations_pb.js.map +1 -0
- package/dist/protocol/google/rpc/code_pb.d.ts +228 -0
- package/dist/protocol/google/rpc/code_pb.d.ts.map +1 -0
- package/dist/protocol/google/rpc/code_pb.js +242 -0
- package/dist/protocol/google/rpc/code_pb.js.map +1 -0
- package/dist/protocol/google/rpc/context/attribute_context_pb.d.ts +560 -0
- package/dist/protocol/google/rpc/context/attribute_context_pb.d.ts.map +1 -0
- package/dist/protocol/google/rpc/context/attribute_context_pb.js +55 -0
- package/dist/protocol/google/rpc/context/attribute_context_pb.js.map +1 -0
- package/dist/protocol/google/rpc/error_details_pb.d.ts +581 -0
- package/dist/protocol/google/rpc/error_details_pb.d.ts.map +1 -0
- package/dist/protocol/google/rpc/error_details_pb.js +90 -0
- package/dist/protocol/google/rpc/error_details_pb.js.map +1 -0
- package/dist/protocol/google/rpc/status_pb.d.ts +49 -0
- package/dist/protocol/google/rpc/status_pb.d.ts.map +1 -0
- package/dist/protocol/google/rpc/status_pb.js +25 -0
- package/dist/protocol/google/rpc/status_pb.js.map +1 -0
- package/dist/protocol/google/type/calendar_period_pb.d.ts +71 -0
- package/dist/protocol/google/type/calendar_period_pb.d.ts.map +1 -0
- package/dist/protocol/google/type/calendar_period_pb.js +85 -0
- package/dist/protocol/google/type/calendar_period_pb.js.map +1 -0
- package/dist/protocol/google/type/color_pb.d.ts +176 -0
- package/dist/protocol/google/type/color_pb.d.ts.map +1 -0
- package/dist/protocol/google/type/color_pb.js +25 -0
- package/dist/protocol/google/type/color_pb.js.map +1 -0
- package/dist/protocol/google/type/date_pb.d.ts +56 -0
- package/dist/protocol/google/type/date_pb.d.ts.map +1 -0
- package/dist/protocol/google/type/date_pb.js +24 -0
- package/dist/protocol/google/type/date_pb.js.map +1 -0
- package/dist/protocol/google/type/datetime_pb.d.ts +148 -0
- package/dist/protocol/google/type/datetime_pb.d.ts.map +1 -0
- package/dist/protocol/google/type/datetime_pb.js +30 -0
- package/dist/protocol/google/type/datetime_pb.js.map +1 -0
- package/dist/protocol/google/type/dayofweek_pb.d.ts +65 -0
- package/dist/protocol/google/type/dayofweek_pb.d.ts.map +1 -0
- package/dist/protocol/google/type/dayofweek_pb.js +79 -0
- package/dist/protocol/google/type/dayofweek_pb.js.map +1 -0
- package/dist/protocol/google/type/decimal_pb.d.ts +89 -0
- package/dist/protocol/google/type/decimal_pb.d.ts.map +1 -0
- package/dist/protocol/google/type/decimal_pb.js +24 -0
- package/dist/protocol/google/type/decimal_pb.js.map +1 -0
- package/dist/protocol/google/type/expr_pb.d.ts +78 -0
- package/dist/protocol/google/type/expr_pb.d.ts.map +1 -0
- package/dist/protocol/google/type/expr_pb.js +24 -0
- package/dist/protocol/google/type/expr_pb.js.map +1 -0
- package/dist/protocol/google/type/fraction_pb.d.ts +32 -0
- package/dist/protocol/google/type/fraction_pb.d.ts.map +1 -0
- package/dist/protocol/google/type/fraction_pb.js +24 -0
- package/dist/protocol/google/type/fraction_pb.js.map +1 -0
- package/dist/protocol/google/type/interval_pb.d.ts +43 -0
- package/dist/protocol/google/type/interval_pb.d.ts.map +1 -0
- package/dist/protocol/google/type/interval_pb.js +25 -0
- package/dist/protocol/google/type/interval_pb.js.map +1 -0
- package/dist/protocol/google/type/latlng_pb.d.ts +35 -0
- package/dist/protocol/google/type/latlng_pb.d.ts.map +1 -0
- package/dist/protocol/google/type/latlng_pb.js +24 -0
- package/dist/protocol/google/type/latlng_pb.js.map +1 -0
- package/dist/protocol/google/type/localized_text_pb.d.ts +35 -0
- package/dist/protocol/google/type/localized_text_pb.d.ts.map +1 -0
- package/dist/protocol/google/type/localized_text_pb.js +24 -0
- package/dist/protocol/google/type/localized_text_pb.js.map +1 -0
- package/dist/protocol/google/type/money_pb.d.ts +43 -0
- package/dist/protocol/google/type/money_pb.d.ts.map +1 -0
- package/dist/protocol/google/type/money_pb.js +24 -0
- package/dist/protocol/google/type/money_pb.js.map +1 -0
- package/dist/protocol/google/type/month_pb.d.ts +95 -0
- package/dist/protocol/google/type/month_pb.d.ts.map +1 -0
- package/dist/protocol/google/type/month_pb.js +109 -0
- package/dist/protocol/google/type/month_pb.js.map +1 -0
- package/dist/protocol/google/type/phone_number_pb.d.ts +145 -0
- package/dist/protocol/google/type/phone_number_pb.d.ts.map +1 -0
- package/dist/protocol/google/type/phone_number_pb.js +29 -0
- package/dist/protocol/google/type/phone_number_pb.js.map +1 -0
- package/dist/protocol/google/type/postal_address_pb.d.ts +160 -0
- package/dist/protocol/google/type/postal_address_pb.d.ts.map +1 -0
- package/dist/protocol/google/type/postal_address_pb.js +24 -0
- package/dist/protocol/google/type/postal_address_pb.js.map +1 -0
- package/dist/protocol/google/type/quaternion_pb.d.ts +99 -0
- package/dist/protocol/google/type/quaternion_pb.d.ts.map +1 -0
- package/dist/protocol/google/type/quaternion_pb.js +24 -0
- package/dist/protocol/google/type/quaternion_pb.js.map +1 -0
- package/dist/protocol/google/type/timeofday_pb.d.ts +52 -0
- package/dist/protocol/google/type/timeofday_pb.d.ts.map +1 -0
- package/dist/protocol/google/type/timeofday_pb.js +24 -0
- package/dist/protocol/google/type/timeofday_pb.js.map +1 -0
- package/dist/protocol/uplim/api/v1/account_pb.d.ts +144 -0
- package/dist/protocol/uplim/api/v1/account_pb.d.ts.map +1 -0
- package/dist/protocol/uplim/api/v1/account_pb.js +100 -0
- package/dist/protocol/uplim/api/v1/account_pb.js.map +1 -0
- package/dist/protocol/uplim/api/v1/auth_pb.d.ts +231 -0
- package/dist/protocol/uplim/api/v1/auth_pb.d.ts.map +1 -0
- package/dist/protocol/uplim/api/v1/auth_pb.js +65 -0
- package/dist/protocol/uplim/api/v1/auth_pb.js.map +1 -0
- package/dist/protocol/uplim/api/v1/buckets_pb.d.ts +1920 -0
- package/dist/protocol/uplim/api/v1/buckets_pb.d.ts.map +1 -0
- package/dist/protocol/uplim/api/v1/buckets_pb.js +471 -0
- package/dist/protocol/uplim/api/v1/buckets_pb.js.map +1 -0
- package/dist/protocol/uplim/api/v1/content_type_matcher_pb.d.ts +398 -0
- package/dist/protocol/uplim/api/v1/content_type_matcher_pb.d.ts.map +1 -0
- package/dist/protocol/uplim/api/v1/content_type_matcher_pb.js +79 -0
- package/dist/protocol/uplim/api/v1/content_type_matcher_pb.js.map +1 -0
- package/dist/protocol/uplim/api/v1/events_pb.d.ts +767 -0
- package/dist/protocol/uplim/api/v1/events_pb.d.ts.map +1 -0
- package/dist/protocol/uplim/api/v1/events_pb.js +242 -0
- package/dist/protocol/uplim/api/v1/events_pb.js.map +1 -0
- package/dist/protocol/uplim/api/v1/integration_admin_pb.d.ts +1059 -0
- package/dist/protocol/uplim/api/v1/integration_admin_pb.d.ts.map +1 -0
- package/dist/protocol/uplim/api/v1/integration_admin_pb.js +209 -0
- package/dist/protocol/uplim/api/v1/integration_admin_pb.js.map +1 -0
- package/dist/protocol/uplim/api/v1/integration_install_pb.d.ts +313 -0
- package/dist/protocol/uplim/api/v1/integration_install_pb.d.ts.map +1 -0
- package/dist/protocol/uplim/api/v1/integration_install_pb.js +129 -0
- package/dist/protocol/uplim/api/v1/integration_install_pb.js.map +1 -0
- package/dist/protocol/uplim/api/v1/integration_types_pb.d.ts +767 -0
- package/dist/protocol/uplim/api/v1/integration_types_pb.d.ts.map +1 -0
- package/dist/protocol/uplim/api/v1/integration_types_pb.js +221 -0
- package/dist/protocol/uplim/api/v1/integration_types_pb.js.map +1 -0
- package/dist/protocol/uplim/api/v1/integrations_pb.d.ts +807 -0
- package/dist/protocol/uplim/api/v1/integrations_pb.d.ts.map +1 -0
- package/dist/protocol/uplim/api/v1/integrations_pb.js +169 -0
- package/dist/protocol/uplim/api/v1/integrations_pb.js.map +1 -0
- package/dist/protocol/uplim/api/v1/internal_pb.d.ts +204 -0
- package/dist/protocol/uplim/api/v1/internal_pb.d.ts.map +1 -0
- package/dist/protocol/uplim/api/v1/internal_pb.js +118 -0
- package/dist/protocol/uplim/api/v1/internal_pb.js.map +1 -0
- package/dist/protocol/uplim/api/v1/metadata_pb.d.ts +265 -0
- package/dist/protocol/uplim/api/v1/metadata_pb.d.ts.map +1 -0
- package/dist/protocol/uplim/api/v1/metadata_pb.js +50 -0
- package/dist/protocol/uplim/api/v1/metadata_pb.js.map +1 -0
- package/dist/protocol/uplim/api/v1/public-buckets_pb.d.ts +64 -0
- package/dist/protocol/uplim/api/v1/public-buckets_pb.d.ts.map +1 -0
- package/dist/protocol/uplim/api/v1/public-buckets_pb.js +28 -0
- package/dist/protocol/uplim/api/v1/public-buckets_pb.js.map +1 -0
- package/dist/protocol/uplim/api/v1/public-uploads_pb.d.ts +461 -0
- package/dist/protocol/uplim/api/v1/public-uploads_pb.d.ts.map +1 -0
- package/dist/protocol/uplim/api/v1/public-uploads_pb.js +139 -0
- package/dist/protocol/uplim/api/v1/public-uploads_pb.js.map +1 -0
- package/dist/protocol/uplim/api/v1/upload-aliases_pb.d.ts +396 -0
- package/dist/protocol/uplim/api/v1/upload-aliases_pb.d.ts.map +1 -0
- package/dist/protocol/uplim/api/v1/upload-aliases_pb.js +69 -0
- package/dist/protocol/uplim/api/v1/upload-aliases_pb.js.map +1 -0
- package/dist/protocol/uplim/api/v1/uploads_pb.d.ts +3736 -0
- package/dist/protocol/uplim/api/v1/uploads_pb.d.ts.map +1 -0
- package/dist/protocol/uplim/api/v1/uploads_pb.js +732 -0
- package/dist/protocol/uplim/api/v1/uploads_pb.js.map +1 -0
- package/dist/protocol/uplim/workflow/v1/activities_pb.d.ts +394 -0
- package/dist/protocol/uplim/workflow/v1/activities_pb.d.ts.map +1 -0
- package/dist/protocol/uplim/workflow/v1/activities_pb.js +122 -0
- package/dist/protocol/uplim/workflow/v1/activities_pb.js.map +1 -0
- package/dist/protocol/uplim/workflow/v1/integration_queue_admin_pb.d.ts +486 -0
- package/dist/protocol/uplim/workflow/v1/integration_queue_admin_pb.d.ts.map +1 -0
- package/dist/protocol/uplim/workflow/v1/integration_queue_admin_pb.js +158 -0
- package/dist/protocol/uplim/workflow/v1/integration_queue_admin_pb.js.map +1 -0
- package/dist/protocol/uplim/workflow/v1/integration_queue_pb.d.ts +289 -0
- package/dist/protocol/uplim/workflow/v1/integration_queue_pb.d.ts.map +1 -0
- package/dist/protocol/uplim/workflow/v1/integration_queue_pb.js +66 -0
- package/dist/protocol/uplim/workflow/v1/integration_queue_pb.js.map +1 -0
- package/dist/protocol/uplim/workflow/v1/workflows_pb.d.ts +602 -0
- package/dist/protocol/uplim/workflow/v1/workflows_pb.d.ts.map +1 -0
- package/dist/protocol/uplim/workflow/v1/workflows_pb.js +194 -0
- package/dist/protocol/uplim/workflow/v1/workflows_pb.js.map +1 -0
- package/dist/rpc-clients.d.ts +9 -0
- package/dist/rpc-clients.d.ts.map +1 -0
- package/dist/rpc-clients.js +24 -0
- package/dist/rpc-clients.js.map +1 -0
- package/dist/sse-client.d.ts +20 -0
- package/dist/sse-client.d.ts.map +1 -0
- package/dist/sse-client.js +68 -0
- package/dist/sse-client.js.map +1 -0
- package/dist/types.d.ts +174 -0
- package/dist/types.d.ts.map +1 -0
- package/dist/types.js +17 -0
- package/dist/types.js.map +1 -0
- package/package.json +47 -0
- package/src/errors.ts +14 -0
- package/src/index.ts +41 -0
- package/src/job-context.ts +244 -0
- package/src/pool.ts +143 -0
- package/src/protocol/buf/validate/expression_pb.ts +163 -0
- package/src/protocol/buf/validate/priv/private_pb.ts +86 -0
- package/src/protocol/buf/validate/validate_pb.ts +3802 -0
- package/src/protocol/gnostic/discovery/v1/discovery_pb.ts +1020 -0
- package/src/protocol/gnostic/openapi/v2/openapiv2_pb.ts +2679 -0
- package/src/protocol/gnostic/openapi/v3/annotations_pb.ts +55 -0
- package/src/protocol/gnostic/openapi/v3/openapiv3_pb.ts +2660 -0
- package/src/protocol/google/api/annotations_pb.ts +39 -0
- package/src/protocol/google/api/client_pb.ts +1183 -0
- package/src/protocol/google/api/expr/v1alpha1/checked_pb.ts +751 -0
- package/src/protocol/google/api/expr/v1alpha1/eval_pb.ts +222 -0
- package/src/protocol/google/api/expr/v1alpha1/explain_pb.ts +98 -0
- package/src/protocol/google/api/expr/v1alpha1/syntax_pb.ts +882 -0
- package/src/protocol/google/api/expr/v1alpha1/value_pb.ts +260 -0
- package/src/protocol/google/api/expr/v1beta1/decl_pb.ts +191 -0
- package/src/protocol/google/api/expr/v1beta1/eval_pb.ts +244 -0
- package/src/protocol/google/api/expr/v1beta1/expr_pb.ts +565 -0
- package/src/protocol/google/api/expr/v1beta1/source_pb.ts +117 -0
- package/src/protocol/google/api/expr/v1beta1/value_pb.ts +261 -0
- package/src/protocol/google/api/field_behavior_pb.ts +157 -0
- package/src/protocol/google/api/field_info_pb.ts +178 -0
- package/src/protocol/google/api/http_pb.ts +474 -0
- package/src/protocol/google/api/httpbody_pb.ts +108 -0
- package/src/protocol/google/api/launch_stage_pb.ts +118 -0
- package/src/protocol/google/api/resource_pb.ts +354 -0
- package/src/protocol/google/api/routing_pb.ts +507 -0
- package/src/protocol/google/api/visibility_pb.ts +169 -0
- package/src/protocol/google/bytestream/bytestream_pb.ts +325 -0
- package/src/protocol/google/geo/type/viewport_pb.ts +93 -0
- package/src/protocol/google/iam/v1/iam_policy_pb.ts +239 -0
- package/src/protocol/google/iam/v1/options_pb.ts +66 -0
- package/src/protocol/google/iam/v1/policy_pb.ts +644 -0
- package/src/protocol/google/longrunning/operations_pb.ts +460 -0
- package/src/protocol/google/rpc/code_pb.ts +268 -0
- package/src/protocol/google/rpc/context/attribute_context_pb.ts +638 -0
- package/src/protocol/google/rpc/error_details_pb.ts +662 -0
- package/src/protocol/google/rpc/status_pb.ts +76 -0
- package/src/protocol/google/type/calendar_period_pb.ts +102 -0
- package/src/protocol/google/type/color_pb.ts +204 -0
- package/src/protocol/google/type/date_pb.ts +82 -0
- package/src/protocol/google/type/datetime_pb.ts +181 -0
- package/src/protocol/google/type/dayofweek_pb.ts +96 -0
- package/src/protocol/google/type/decimal_pb.ts +113 -0
- package/src/protocol/google/type/expr_pb.ts +105 -0
- package/src/protocol/google/type/fraction_pb.ts +57 -0
- package/src/protocol/google/type/interval_pb.ts +69 -0
- package/src/protocol/google/type/latlng_pb.ts +60 -0
- package/src/protocol/google/type/localized_text_pb.ts +60 -0
- package/src/protocol/google/type/money_pb.ts +69 -0
- package/src/protocol/google/type/month_pb.ts +131 -0
- package/src/protocol/google/type/phone_number_pb.ts +171 -0
- package/src/protocol/google/type/postal_address_pb.ts +194 -0
- package/src/protocol/google/type/quaternion_pb.ts +126 -0
- package/src/protocol/google/type/timeofday_pb.ts +79 -0
- package/src/protocol/uplim/api/v1/account_pb.ts +178 -0
- package/src/protocol/uplim/api/v1/auth_pb.ts +278 -0
- package/src/protocol/uplim/api/v1/buckets_pb.ts +2214 -0
- package/src/protocol/uplim/api/v1/content_type_matcher_pb.ts +448 -0
- package/src/protocol/uplim/api/v1/events_pb.ts +874 -0
- package/src/protocol/uplim/api/v1/integration_admin_pb.ts +1237 -0
- package/src/protocol/uplim/api/v1/integration_install_pb.ts +386 -0
- package/src/protocol/uplim/api/v1/integration_types_pb.ts +896 -0
- package/src/protocol/uplim/api/v1/integrations_pb.ts +944 -0
- package/src/protocol/uplim/api/v1/internal_pb.ts +234 -0
- package/src/protocol/uplim/api/v1/metadata_pb.ts +305 -0
- package/src/protocol/uplim/api/v1/public-buckets_pb.ts +83 -0
- package/src/protocol/uplim/api/v1/public-uploads_pb.ts +543 -0
- package/src/protocol/uplim/api/v1/upload-aliases_pb.ts +468 -0
- package/src/protocol/uplim/api/v1/uploads_pb.ts +4294 -0
- package/src/protocol/uplim/workflow/v1/activities_pb.ts +488 -0
- package/src/protocol/uplim/workflow/v1/integration_queue_admin_pb.ts +594 -0
- package/src/protocol/uplim/workflow/v1/integration_queue_pb.ts +353 -0
- package/src/protocol/uplim/workflow/v1/workflows_pb.ts +746 -0
- package/src/rpc-clients.ts +29 -0
- package/src/sse-client.ts +83 -0
- package/src/types.ts +169 -0
|
@@ -0,0 +1,882 @@
|
|
|
1
|
+
// Copyright 2026 Google LLC
|
|
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 v2.10.1 with parameter "target=ts,import_extension=.js"
|
|
16
|
+
// @generated from file google/api/expr/v1alpha1/syntax.proto (package google.api.expr.v1alpha1, syntax proto3)
|
|
17
|
+
/* eslint-disable */
|
|
18
|
+
|
|
19
|
+
import type { GenEnum, GenFile, GenMessage } from "@bufbuild/protobuf/codegenv2";
|
|
20
|
+
import { enumDesc, fileDesc, messageDesc } from "@bufbuild/protobuf/codegenv2";
|
|
21
|
+
import type { Duration, NullValue, Timestamp } from "@bufbuild/protobuf/wkt";
|
|
22
|
+
import { file_google_protobuf_duration, file_google_protobuf_struct, file_google_protobuf_timestamp } from "@bufbuild/protobuf/wkt";
|
|
23
|
+
import type { Message } from "@bufbuild/protobuf";
|
|
24
|
+
|
|
25
|
+
/**
|
|
26
|
+
* Describes the file google/api/expr/v1alpha1/syntax.proto.
|
|
27
|
+
*/
|
|
28
|
+
export const file_google_api_expr_v1alpha1_syntax: GenFile = /*@__PURE__*/
|
|
29
|
+
fileDesc("CiVnb29nbGUvYXBpL2V4cHIvdjFhbHBoYTEvc3ludGF4LnByb3RvEhhnb29nbGUuYXBpLmV4cHIudjFhbHBoYTEidQoKUGFyc2VkRXhwchIsCgRleHByGAIgASgLMh4uZ29vZ2xlLmFwaS5leHByLnYxYWxwaGExLkV4cHISOQoLc291cmNlX2luZm8YAyABKAsyJC5nb29nbGUuYXBpLmV4cHIudjFhbHBoYTEuU291cmNlSW5mbyKSCwoERXhwchIOCgJpZBgCIAEoA0ICMAESOAoKY29uc3RfZXhwchgDIAEoCzIiLmdvb2dsZS5hcGkuZXhwci52MWFscGhhMS5Db25zdGFudEgAEjoKCmlkZW50X2V4cHIYBCABKAsyJC5nb29nbGUuYXBpLmV4cHIudjFhbHBoYTEuRXhwci5JZGVudEgAEjwKC3NlbGVjdF9leHByGAUgASgLMiUuZ29vZ2xlLmFwaS5leHByLnYxYWxwaGExLkV4cHIuU2VsZWN0SAASOAoJY2FsbF9leHByGAYgASgLMiMuZ29vZ2xlLmFwaS5leHByLnYxYWxwaGExLkV4cHIuQ2FsbEgAEj4KCWxpc3RfZXhwchgHIAEoCzIpLmdvb2dsZS5hcGkuZXhwci52MWFscGhhMS5FeHByLkNyZWF0ZUxpc3RIABJCCgtzdHJ1Y3RfZXhwchgIIAEoCzIrLmdvb2dsZS5hcGkuZXhwci52MWFscGhhMS5FeHByLkNyZWF0ZVN0cnVjdEgAEkoKEmNvbXByZWhlbnNpb25fZXhwchgJIAEoCzIsLmdvb2dsZS5hcGkuZXhwci52MWFscGhhMS5FeHByLkNvbXByZWhlbnNpb25IABoVCgVJZGVudBIMCgRuYW1lGAEgASgJGlsKBlNlbGVjdBIvCgdvcGVyYW5kGAEgASgLMh4uZ29vZ2xlLmFwaS5leHByLnYxYWxwaGExLkV4cHISDQoFZmllbGQYAiABKAkSEQoJdGVzdF9vbmx5GAMgASgIGnYKBENhbGwSLgoGdGFyZ2V0GAEgASgLMh4uZ29vZ2xlLmFwaS5leHByLnYxYWxwaGExLkV4cHISEAoIZnVuY3Rpb24YAiABKAkSLAoEYXJncxgDIAMoCzIeLmdvb2dsZS5hcGkuZXhwci52MWFscGhhMS5FeHByGlgKCkNyZWF0ZUxpc3QSMAoIZWxlbWVudHMYASADKAsyHi5nb29nbGUuYXBpLmV4cHIudjFhbHBoYTEuRXhwchIYChBvcHRpb25hbF9pbmRpY2VzGAIgAygFGp0CCgxDcmVhdGVTdHJ1Y3QSFAoMbWVzc2FnZV9uYW1lGAEgASgJEkIKB2VudHJpZXMYAiADKAsyMS5nb29nbGUuYXBpLmV4cHIudjFhbHBoYTEuRXhwci5DcmVhdGVTdHJ1Y3QuRW50cnkasgEKBUVudHJ5Eg4KAmlkGAEgASgDQgIwARITCglmaWVsZF9rZXkYAiABKAlIABIxCgdtYXBfa2V5GAMgASgLMh4uZ29vZ2xlLmFwaS5leHByLnYxYWxwaGExLkV4cHJIABItCgV2YWx1ZRgEIAEoCzIeLmdvb2dsZS5hcGkuZXhwci52MWFscGhhMS5FeHByEhYKDm9wdGlvbmFsX2VudHJ5GAUgASgIQgoKCGtleV9raW5kGsgCCg1Db21wcmVoZW5zaW9uEhAKCGl0ZXJfdmFyGAEgASgJEhEKCWl0ZXJfdmFyMhgIIAEoCRIyCgppdGVyX3JhbmdlGAIgASgLMh4uZ29vZ2xlLmFwaS5leHByLnYxYWxwaGExLkV4cHISEAoIYWNjdV92YXIYAyABKAkSMQoJYWNjdV9pbml0GAQgASgLMh4uZ29vZ2xlLmFwaS5leHByLnYxYWxwaGExLkV4cHISNgoObG9vcF9jb25kaXRpb24YBSABKAsyHi5nb29nbGUuYXBpLmV4cHIudjFhbHBoYTEuRXhwchIxCglsb29wX3N0ZXAYBiABKAsyHi5nb29nbGUuYXBpLmV4cHIudjFhbHBoYTEuRXhwchIuCgZyZXN1bHQYByABKAsyHi5nb29nbGUuYXBpLmV4cHIudjFhbHBoYTEuRXhwckILCglleHByX2tpbmQi1QIKCENvbnN0YW50EjAKCm51bGxfdmFsdWUYASABKA4yGi5nb29nbGUucHJvdG9idWYuTnVsbFZhbHVlSAASFAoKYm9vbF92YWx1ZRgCIAEoCEgAEhkKC2ludDY0X3ZhbHVlGAMgASgDQgIwAUgAEhoKDHVpbnQ2NF92YWx1ZRgEIAEoBEICMAFIABIWCgxkb3VibGVfdmFsdWUYBSABKAFIABIWCgxzdHJpbmdfdmFsdWUYBiABKAlIABIVCgtieXRlc192YWx1ZRgHIAEoDEgAEjcKDmR1cmF0aW9uX3ZhbHVlGAggASgLMhkuZ29vZ2xlLnByb3RvYnVmLkR1cmF0aW9uQgIYAUgAEjkKD3RpbWVzdGFtcF92YWx1ZRgJIAEoCzIaLmdvb2dsZS5wcm90b2J1Zi5UaW1lc3RhbXBCAhgBSABCDwoNY29uc3RhbnRfa2luZCKMBgoKU291cmNlSW5mbxIWCg5zeW50YXhfdmVyc2lvbhgBIAEoCRIQCghsb2NhdGlvbhgCIAEoCRIUCgxsaW5lX29mZnNldHMYAyADKAUSRgoJcG9zaXRpb25zGAQgAygLMjMuZ29vZ2xlLmFwaS5leHByLnYxYWxwaGExLlNvdXJjZUluZm8uUG9zaXRpb25zRW50cnkSSQoLbWFjcm9fY2FsbHMYBSADKAsyNC5nb29nbGUuYXBpLmV4cHIudjFhbHBoYTEuU291cmNlSW5mby5NYWNyb0NhbGxzRW50cnkSQgoKZXh0ZW5zaW9ucxgGIAMoCzIuLmdvb2dsZS5hcGkuZXhwci52MWFscGhhMS5Tb3VyY2VJbmZvLkV4dGVuc2lvbhrZAgoJRXh0ZW5zaW9uEgoKAmlkGAEgASgJElUKE2FmZmVjdGVkX2NvbXBvbmVudHMYAiADKA4yOC5nb29nbGUuYXBpLmV4cHIudjFhbHBoYTEuU291cmNlSW5mby5FeHRlbnNpb24uQ29tcG9uZW50EkcKB3ZlcnNpb24YAyABKAsyNi5nb29nbGUuYXBpLmV4cHIudjFhbHBoYTEuU291cmNlSW5mby5FeHRlbnNpb24uVmVyc2lvbhovCgdWZXJzaW9uEhEKBW1ham9yGAEgASgDQgIwARIRCgVtaW5vchgCIAEoA0ICMAEibwoJQ29tcG9uZW50EhkKFUNPTVBPTkVOVF9VTlNQRUNJRklFRBAAEhQKEENPTVBPTkVOVF9QQVJTRVIQARIaChZDT01QT05FTlRfVFlQRV9DSEVDS0VSEAISFQoRQ09NUE9ORU5UX1JVTlRJTUUQAxo0Cg5Qb3NpdGlvbnNFbnRyeRIPCgNrZXkYASABKANCAjABEg0KBXZhbHVlGAIgASgFOgI4ARpVCg9NYWNyb0NhbGxzRW50cnkSDwoDa2V5GAEgASgDQgIwARItCgV2YWx1ZRgCIAEoCzIeLmdvb2dsZS5hcGkuZXhwci52MWFscGhhMS5FeHByOgI4ASJQCg5Tb3VyY2VQb3NpdGlvbhIQCghsb2NhdGlvbhgBIAEoCRIOCgZvZmZzZXQYAiABKAUSDAoEbGluZRgDIAEoBRIOCgZjb2x1bW4YBCABKAVC7AEKHGNvbS5nb29nbGUuYXBpLmV4cHIudjFhbHBoYTFCC1N5bnRheFByb3RvUAFaPGdvb2dsZS5nb2xhbmcub3JnL2dlbnByb3RvL2dvb2dsZWFwaXMvYXBpL2V4cHIvdjFhbHBoYTE7ZXhwcqICA0dBRaoCGEdvb2dsZS5BcGkuRXhwci5WMWFscGhhMcoCGEdvb2dsZVxBcGlcRXhwclxWMWFscGhhMeICJEdvb2dsZVxBcGlcRXhwclxWMWFscGhhMVxHUEJNZXRhZGF0YeoCG0dvb2dsZTo6QXBpOjpFeHByOjpWMWFscGhhMWIGcHJvdG8z", [file_google_protobuf_duration, file_google_protobuf_struct, file_google_protobuf_timestamp]);
|
|
30
|
+
|
|
31
|
+
/**
|
|
32
|
+
* An expression together with source information as returned by the parser.
|
|
33
|
+
*
|
|
34
|
+
* @generated from message google.api.expr.v1alpha1.ParsedExpr
|
|
35
|
+
*/
|
|
36
|
+
export type ParsedExpr = Message<"google.api.expr.v1alpha1.ParsedExpr"> & {
|
|
37
|
+
/**
|
|
38
|
+
* The parsed expression.
|
|
39
|
+
*
|
|
40
|
+
* @generated from field: google.api.expr.v1alpha1.Expr expr = 2;
|
|
41
|
+
*/
|
|
42
|
+
expr?: Expr;
|
|
43
|
+
|
|
44
|
+
/**
|
|
45
|
+
* The source info derived from input that generated the parsed `expr`.
|
|
46
|
+
*
|
|
47
|
+
* @generated from field: google.api.expr.v1alpha1.SourceInfo source_info = 3;
|
|
48
|
+
*/
|
|
49
|
+
sourceInfo?: SourceInfo;
|
|
50
|
+
};
|
|
51
|
+
|
|
52
|
+
/**
|
|
53
|
+
* Describes the message google.api.expr.v1alpha1.ParsedExpr.
|
|
54
|
+
* Use `create(ParsedExprSchema)` to create a new message.
|
|
55
|
+
*/
|
|
56
|
+
export const ParsedExprSchema: GenMessage<ParsedExpr> = /*@__PURE__*/
|
|
57
|
+
messageDesc(file_google_api_expr_v1alpha1_syntax, 0);
|
|
58
|
+
|
|
59
|
+
/**
|
|
60
|
+
* An abstract representation of a common expression.
|
|
61
|
+
*
|
|
62
|
+
* Expressions are abstractly represented as a collection of identifiers,
|
|
63
|
+
* select statements, function calls, literals, and comprehensions. All
|
|
64
|
+
* operators with the exception of the '.' operator are modelled as function
|
|
65
|
+
* calls. This makes it easy to represent new operators in the existing AST.
|
|
66
|
+
*
|
|
67
|
+
* All references within expressions must resolve to a
|
|
68
|
+
* [Decl][google.api.expr.v1alpha1.Decl] provided at type-check for an
|
|
69
|
+
* expression to be valid. A reference may either be a bare identifier `name` or
|
|
70
|
+
* a qualified identifier `google.api.name`. References may refer to either a
|
|
71
|
+
* value or a function declaration.
|
|
72
|
+
*
|
|
73
|
+
* For example, the expression `google.api.name.startsWith('expr')` references
|
|
74
|
+
* the declaration `google.api.name` within a
|
|
75
|
+
* [Expr.Select][google.api.expr.v1alpha1.Expr.Select] expression, and the
|
|
76
|
+
* function declaration `startsWith`.
|
|
77
|
+
*
|
|
78
|
+
* @generated from message google.api.expr.v1alpha1.Expr
|
|
79
|
+
*/
|
|
80
|
+
export type Expr = Message<"google.api.expr.v1alpha1.Expr"> & {
|
|
81
|
+
/**
|
|
82
|
+
* Required. An id assigned to this node by the parser which is unique in a
|
|
83
|
+
* given expression tree. This is used to associate type information and other
|
|
84
|
+
* attributes with a node in the parse tree.
|
|
85
|
+
*
|
|
86
|
+
* @generated from field: int64 id = 2 [jstype = JS_STRING];
|
|
87
|
+
*/
|
|
88
|
+
id: string;
|
|
89
|
+
|
|
90
|
+
/**
|
|
91
|
+
* Required. Variants of expressions.
|
|
92
|
+
*
|
|
93
|
+
* @generated from oneof google.api.expr.v1alpha1.Expr.expr_kind
|
|
94
|
+
*/
|
|
95
|
+
exprKind: {
|
|
96
|
+
/**
|
|
97
|
+
* A literal expression.
|
|
98
|
+
*
|
|
99
|
+
* @generated from field: google.api.expr.v1alpha1.Constant const_expr = 3;
|
|
100
|
+
*/
|
|
101
|
+
value: Constant;
|
|
102
|
+
case: "constExpr";
|
|
103
|
+
} | {
|
|
104
|
+
/**
|
|
105
|
+
* An identifier expression.
|
|
106
|
+
*
|
|
107
|
+
* @generated from field: google.api.expr.v1alpha1.Expr.Ident ident_expr = 4;
|
|
108
|
+
*/
|
|
109
|
+
value: Expr_Ident;
|
|
110
|
+
case: "identExpr";
|
|
111
|
+
} | {
|
|
112
|
+
/**
|
|
113
|
+
* A field selection expression, e.g. `request.auth`.
|
|
114
|
+
*
|
|
115
|
+
* @generated from field: google.api.expr.v1alpha1.Expr.Select select_expr = 5;
|
|
116
|
+
*/
|
|
117
|
+
value: Expr_Select;
|
|
118
|
+
case: "selectExpr";
|
|
119
|
+
} | {
|
|
120
|
+
/**
|
|
121
|
+
* A call expression, including calls to predefined functions and operators.
|
|
122
|
+
*
|
|
123
|
+
* @generated from field: google.api.expr.v1alpha1.Expr.Call call_expr = 6;
|
|
124
|
+
*/
|
|
125
|
+
value: Expr_Call;
|
|
126
|
+
case: "callExpr";
|
|
127
|
+
} | {
|
|
128
|
+
/**
|
|
129
|
+
* A list creation expression.
|
|
130
|
+
*
|
|
131
|
+
* @generated from field: google.api.expr.v1alpha1.Expr.CreateList list_expr = 7;
|
|
132
|
+
*/
|
|
133
|
+
value: Expr_CreateList;
|
|
134
|
+
case: "listExpr";
|
|
135
|
+
} | {
|
|
136
|
+
/**
|
|
137
|
+
* A map or message creation expression.
|
|
138
|
+
*
|
|
139
|
+
* @generated from field: google.api.expr.v1alpha1.Expr.CreateStruct struct_expr = 8;
|
|
140
|
+
*/
|
|
141
|
+
value: Expr_CreateStruct;
|
|
142
|
+
case: "structExpr";
|
|
143
|
+
} | {
|
|
144
|
+
/**
|
|
145
|
+
* A comprehension expression.
|
|
146
|
+
*
|
|
147
|
+
* @generated from field: google.api.expr.v1alpha1.Expr.Comprehension comprehension_expr = 9;
|
|
148
|
+
*/
|
|
149
|
+
value: Expr_Comprehension;
|
|
150
|
+
case: "comprehensionExpr";
|
|
151
|
+
} | { case: undefined; value?: undefined };
|
|
152
|
+
};
|
|
153
|
+
|
|
154
|
+
/**
|
|
155
|
+
* Describes the message google.api.expr.v1alpha1.Expr.
|
|
156
|
+
* Use `create(ExprSchema)` to create a new message.
|
|
157
|
+
*/
|
|
158
|
+
export const ExprSchema: GenMessage<Expr> = /*@__PURE__*/
|
|
159
|
+
messageDesc(file_google_api_expr_v1alpha1_syntax, 1);
|
|
160
|
+
|
|
161
|
+
/**
|
|
162
|
+
* An identifier expression. e.g. `request`.
|
|
163
|
+
*
|
|
164
|
+
* @generated from message google.api.expr.v1alpha1.Expr.Ident
|
|
165
|
+
*/
|
|
166
|
+
export type Expr_Ident = Message<"google.api.expr.v1alpha1.Expr.Ident"> & {
|
|
167
|
+
/**
|
|
168
|
+
* Required. Holds a single, unqualified identifier, possibly preceded by a
|
|
169
|
+
* '.'.
|
|
170
|
+
*
|
|
171
|
+
* Qualified names are represented by the
|
|
172
|
+
* [Expr.Select][google.api.expr.v1alpha1.Expr.Select] expression.
|
|
173
|
+
*
|
|
174
|
+
* @generated from field: string name = 1;
|
|
175
|
+
*/
|
|
176
|
+
name: string;
|
|
177
|
+
};
|
|
178
|
+
|
|
179
|
+
/**
|
|
180
|
+
* Describes the message google.api.expr.v1alpha1.Expr.Ident.
|
|
181
|
+
* Use `create(Expr_IdentSchema)` to create a new message.
|
|
182
|
+
*/
|
|
183
|
+
export const Expr_IdentSchema: GenMessage<Expr_Ident> = /*@__PURE__*/
|
|
184
|
+
messageDesc(file_google_api_expr_v1alpha1_syntax, 1, 0);
|
|
185
|
+
|
|
186
|
+
/**
|
|
187
|
+
* A field selection expression. e.g. `request.auth`.
|
|
188
|
+
*
|
|
189
|
+
* @generated from message google.api.expr.v1alpha1.Expr.Select
|
|
190
|
+
*/
|
|
191
|
+
export type Expr_Select = Message<"google.api.expr.v1alpha1.Expr.Select"> & {
|
|
192
|
+
/**
|
|
193
|
+
* Required. The target of the selection expression.
|
|
194
|
+
*
|
|
195
|
+
* For example, in the select expression `request.auth`, the `request`
|
|
196
|
+
* portion of the expression is the `operand`.
|
|
197
|
+
*
|
|
198
|
+
* @generated from field: google.api.expr.v1alpha1.Expr operand = 1;
|
|
199
|
+
*/
|
|
200
|
+
operand?: Expr;
|
|
201
|
+
|
|
202
|
+
/**
|
|
203
|
+
* Required. The name of the field to select.
|
|
204
|
+
*
|
|
205
|
+
* For example, in the select expression `request.auth`, the `auth` portion
|
|
206
|
+
* of the expression would be the `field`.
|
|
207
|
+
*
|
|
208
|
+
* @generated from field: string field = 2;
|
|
209
|
+
*/
|
|
210
|
+
field: string;
|
|
211
|
+
|
|
212
|
+
/**
|
|
213
|
+
* Whether the select is to be interpreted as a field presence test.
|
|
214
|
+
*
|
|
215
|
+
* This results from the macro `has(request.auth)`.
|
|
216
|
+
*
|
|
217
|
+
* @generated from field: bool test_only = 3;
|
|
218
|
+
*/
|
|
219
|
+
testOnly: boolean;
|
|
220
|
+
};
|
|
221
|
+
|
|
222
|
+
/**
|
|
223
|
+
* Describes the message google.api.expr.v1alpha1.Expr.Select.
|
|
224
|
+
* Use `create(Expr_SelectSchema)` to create a new message.
|
|
225
|
+
*/
|
|
226
|
+
export const Expr_SelectSchema: GenMessage<Expr_Select> = /*@__PURE__*/
|
|
227
|
+
messageDesc(file_google_api_expr_v1alpha1_syntax, 1, 1);
|
|
228
|
+
|
|
229
|
+
/**
|
|
230
|
+
* A call expression, including calls to predefined functions and operators.
|
|
231
|
+
*
|
|
232
|
+
* For example, `value == 10`, `size(map_value)`.
|
|
233
|
+
*
|
|
234
|
+
* @generated from message google.api.expr.v1alpha1.Expr.Call
|
|
235
|
+
*/
|
|
236
|
+
export type Expr_Call = Message<"google.api.expr.v1alpha1.Expr.Call"> & {
|
|
237
|
+
/**
|
|
238
|
+
* The target of a method call-style expression. For example, `x` in
|
|
239
|
+
* `x.f()`.
|
|
240
|
+
*
|
|
241
|
+
* @generated from field: google.api.expr.v1alpha1.Expr target = 1;
|
|
242
|
+
*/
|
|
243
|
+
target?: Expr;
|
|
244
|
+
|
|
245
|
+
/**
|
|
246
|
+
* Required. The name of the function or method being called.
|
|
247
|
+
*
|
|
248
|
+
* @generated from field: string function = 2;
|
|
249
|
+
*/
|
|
250
|
+
function: string;
|
|
251
|
+
|
|
252
|
+
/**
|
|
253
|
+
* The arguments.
|
|
254
|
+
*
|
|
255
|
+
* @generated from field: repeated google.api.expr.v1alpha1.Expr args = 3;
|
|
256
|
+
*/
|
|
257
|
+
args: Expr[];
|
|
258
|
+
};
|
|
259
|
+
|
|
260
|
+
/**
|
|
261
|
+
* Describes the message google.api.expr.v1alpha1.Expr.Call.
|
|
262
|
+
* Use `create(Expr_CallSchema)` to create a new message.
|
|
263
|
+
*/
|
|
264
|
+
export const Expr_CallSchema: GenMessage<Expr_Call> = /*@__PURE__*/
|
|
265
|
+
messageDesc(file_google_api_expr_v1alpha1_syntax, 1, 2);
|
|
266
|
+
|
|
267
|
+
/**
|
|
268
|
+
* A list creation expression.
|
|
269
|
+
*
|
|
270
|
+
* Lists may either be homogeneous, e.g. `[1, 2, 3]`, or heterogeneous, e.g.
|
|
271
|
+
* `dyn([1, 'hello', 2.0])`
|
|
272
|
+
*
|
|
273
|
+
* @generated from message google.api.expr.v1alpha1.Expr.CreateList
|
|
274
|
+
*/
|
|
275
|
+
export type Expr_CreateList = Message<"google.api.expr.v1alpha1.Expr.CreateList"> & {
|
|
276
|
+
/**
|
|
277
|
+
* The elements part of the list.
|
|
278
|
+
*
|
|
279
|
+
* @generated from field: repeated google.api.expr.v1alpha1.Expr elements = 1;
|
|
280
|
+
*/
|
|
281
|
+
elements: Expr[];
|
|
282
|
+
|
|
283
|
+
/**
|
|
284
|
+
* The indices within the elements list which are marked as optional
|
|
285
|
+
* elements.
|
|
286
|
+
*
|
|
287
|
+
* When an optional-typed value is present, the value it contains
|
|
288
|
+
* is included in the list. If the optional-typed value is absent, the list
|
|
289
|
+
* element is omitted from the CreateList result.
|
|
290
|
+
*
|
|
291
|
+
* @generated from field: repeated int32 optional_indices = 2;
|
|
292
|
+
*/
|
|
293
|
+
optionalIndices: number[];
|
|
294
|
+
};
|
|
295
|
+
|
|
296
|
+
/**
|
|
297
|
+
* Describes the message google.api.expr.v1alpha1.Expr.CreateList.
|
|
298
|
+
* Use `create(Expr_CreateListSchema)` to create a new message.
|
|
299
|
+
*/
|
|
300
|
+
export const Expr_CreateListSchema: GenMessage<Expr_CreateList> = /*@__PURE__*/
|
|
301
|
+
messageDesc(file_google_api_expr_v1alpha1_syntax, 1, 3);
|
|
302
|
+
|
|
303
|
+
/**
|
|
304
|
+
* A map or message creation expression.
|
|
305
|
+
*
|
|
306
|
+
* Maps are constructed as `{'key_name': 'value'}`. Message construction is
|
|
307
|
+
* similar, but prefixed with a type name and composed of field ids:
|
|
308
|
+
* `types.MyType{field_id: 'value'}`.
|
|
309
|
+
*
|
|
310
|
+
* @generated from message google.api.expr.v1alpha1.Expr.CreateStruct
|
|
311
|
+
*/
|
|
312
|
+
export type Expr_CreateStruct = Message<"google.api.expr.v1alpha1.Expr.CreateStruct"> & {
|
|
313
|
+
/**
|
|
314
|
+
* The type name of the message to be created; empty when creating map
|
|
315
|
+
* literals.
|
|
316
|
+
*
|
|
317
|
+
* @generated from field: string message_name = 1;
|
|
318
|
+
*/
|
|
319
|
+
messageName: string;
|
|
320
|
+
|
|
321
|
+
/**
|
|
322
|
+
* The entries in the creation expression.
|
|
323
|
+
*
|
|
324
|
+
* @generated from field: repeated google.api.expr.v1alpha1.Expr.CreateStruct.Entry entries = 2;
|
|
325
|
+
*/
|
|
326
|
+
entries: Expr_CreateStruct_Entry[];
|
|
327
|
+
};
|
|
328
|
+
|
|
329
|
+
/**
|
|
330
|
+
* Describes the message google.api.expr.v1alpha1.Expr.CreateStruct.
|
|
331
|
+
* Use `create(Expr_CreateStructSchema)` to create a new message.
|
|
332
|
+
*/
|
|
333
|
+
export const Expr_CreateStructSchema: GenMessage<Expr_CreateStruct> = /*@__PURE__*/
|
|
334
|
+
messageDesc(file_google_api_expr_v1alpha1_syntax, 1, 4);
|
|
335
|
+
|
|
336
|
+
/**
|
|
337
|
+
* Represents an entry.
|
|
338
|
+
*
|
|
339
|
+
* @generated from message google.api.expr.v1alpha1.Expr.CreateStruct.Entry
|
|
340
|
+
*/
|
|
341
|
+
export type Expr_CreateStruct_Entry = Message<"google.api.expr.v1alpha1.Expr.CreateStruct.Entry"> & {
|
|
342
|
+
/**
|
|
343
|
+
* Required. An id assigned to this node by the parser which is unique
|
|
344
|
+
* in a given expression tree. This is used to associate type
|
|
345
|
+
* information and other attributes with the node.
|
|
346
|
+
*
|
|
347
|
+
* @generated from field: int64 id = 1 [jstype = JS_STRING];
|
|
348
|
+
*/
|
|
349
|
+
id: string;
|
|
350
|
+
|
|
351
|
+
/**
|
|
352
|
+
* The `Entry` key kinds.
|
|
353
|
+
*
|
|
354
|
+
* @generated from oneof google.api.expr.v1alpha1.Expr.CreateStruct.Entry.key_kind
|
|
355
|
+
*/
|
|
356
|
+
keyKind: {
|
|
357
|
+
/**
|
|
358
|
+
* The field key for a message creator statement.
|
|
359
|
+
*
|
|
360
|
+
* @generated from field: string field_key = 2;
|
|
361
|
+
*/
|
|
362
|
+
value: string;
|
|
363
|
+
case: "fieldKey";
|
|
364
|
+
} | {
|
|
365
|
+
/**
|
|
366
|
+
* The key expression for a map creation statement.
|
|
367
|
+
*
|
|
368
|
+
* @generated from field: google.api.expr.v1alpha1.Expr map_key = 3;
|
|
369
|
+
*/
|
|
370
|
+
value: Expr;
|
|
371
|
+
case: "mapKey";
|
|
372
|
+
} | { case: undefined; value?: undefined };
|
|
373
|
+
|
|
374
|
+
/**
|
|
375
|
+
* Required. The value assigned to the key.
|
|
376
|
+
*
|
|
377
|
+
* If the optional_entry field is true, the expression must resolve to an
|
|
378
|
+
* optional-typed value. If the optional value is present, the key will be
|
|
379
|
+
* set; however, if the optional value is absent, the key will be unset.
|
|
380
|
+
*
|
|
381
|
+
* @generated from field: google.api.expr.v1alpha1.Expr value = 4;
|
|
382
|
+
*/
|
|
383
|
+
value?: Expr;
|
|
384
|
+
|
|
385
|
+
/**
|
|
386
|
+
* Whether the key-value pair is optional.
|
|
387
|
+
*
|
|
388
|
+
* @generated from field: bool optional_entry = 5;
|
|
389
|
+
*/
|
|
390
|
+
optionalEntry: boolean;
|
|
391
|
+
};
|
|
392
|
+
|
|
393
|
+
/**
|
|
394
|
+
* Describes the message google.api.expr.v1alpha1.Expr.CreateStruct.Entry.
|
|
395
|
+
* Use `create(Expr_CreateStruct_EntrySchema)` to create a new message.
|
|
396
|
+
*/
|
|
397
|
+
export const Expr_CreateStruct_EntrySchema: GenMessage<Expr_CreateStruct_Entry> = /*@__PURE__*/
|
|
398
|
+
messageDesc(file_google_api_expr_v1alpha1_syntax, 1, 4, 0);
|
|
399
|
+
|
|
400
|
+
/**
|
|
401
|
+
* A comprehension expression applied to a list or map.
|
|
402
|
+
*
|
|
403
|
+
* Comprehensions are not part of the core syntax, but enabled with macros.
|
|
404
|
+
* A macro matches a specific call signature within a parsed AST and replaces
|
|
405
|
+
* the call with an alternate AST block. Macro expansion happens at parse
|
|
406
|
+
* time.
|
|
407
|
+
*
|
|
408
|
+
* The following macros are supported within CEL:
|
|
409
|
+
*
|
|
410
|
+
* Aggregate type macros may be applied to all elements in a list or all keys
|
|
411
|
+
* in a map:
|
|
412
|
+
*
|
|
413
|
+
* * `all`, `exists`, `exists_one` - test a predicate expression against
|
|
414
|
+
* the inputs and return `true` if the predicate is satisfied for all,
|
|
415
|
+
* any, or only one value `list.all(x, x < 10)`.
|
|
416
|
+
* * `filter` - test a predicate expression against the inputs and return
|
|
417
|
+
* the subset of elements which satisfy the predicate:
|
|
418
|
+
* `payments.filter(p, p > 1000)`.
|
|
419
|
+
* * `map` - apply an expression to all elements in the input and return the
|
|
420
|
+
* output aggregate type: `[1, 2, 3].map(i, i * i)`.
|
|
421
|
+
*
|
|
422
|
+
* The `has(m.x)` macro tests whether the property `x` is present in struct
|
|
423
|
+
* `m`. The semantics of this macro depend on the type of `m`. For proto2
|
|
424
|
+
* messages `has(m.x)` is defined as 'defined, but not set'. For proto3, the
|
|
425
|
+
* macro tests whether the property is set to its default. For map and struct
|
|
426
|
+
* types, the macro tests whether the property `x` is defined on `m`.
|
|
427
|
+
*
|
|
428
|
+
* Comprehensions for the standard environment macros evaluation can be best
|
|
429
|
+
* visualized as the following pseudocode:
|
|
430
|
+
*
|
|
431
|
+
* ```
|
|
432
|
+
* let `accu_var` = `accu_init`
|
|
433
|
+
* for (let `iter_var` in `iter_range`) {
|
|
434
|
+
* if (!`loop_condition`) {
|
|
435
|
+
* break
|
|
436
|
+
* }
|
|
437
|
+
* `accu_var` = `loop_step`
|
|
438
|
+
* }
|
|
439
|
+
* return `result`
|
|
440
|
+
* ```
|
|
441
|
+
*
|
|
442
|
+
* Comprehensions for the optional V2 macros which support map-to-map
|
|
443
|
+
* translation differ slightly from the standard environment macros in that
|
|
444
|
+
* they expose the key or index in addition to the value for each list
|
|
445
|
+
* or map entry:
|
|
446
|
+
*
|
|
447
|
+
* ```
|
|
448
|
+
* let `accu_var` = `accu_init`
|
|
449
|
+
* for (let `iter_var`, `iter_var2` in `iter_range`) {
|
|
450
|
+
* if (!`loop_condition`) {
|
|
451
|
+
* break
|
|
452
|
+
* }
|
|
453
|
+
* `accu_var` = `loop_step`
|
|
454
|
+
* }
|
|
455
|
+
* return `result`
|
|
456
|
+
* ```
|
|
457
|
+
*
|
|
458
|
+
* @generated from message google.api.expr.v1alpha1.Expr.Comprehension
|
|
459
|
+
*/
|
|
460
|
+
export type Expr_Comprehension = Message<"google.api.expr.v1alpha1.Expr.Comprehension"> & {
|
|
461
|
+
/**
|
|
462
|
+
* The name of the first iteration variable.
|
|
463
|
+
* For the single iteration variable macros, when iter_range is a list, this
|
|
464
|
+
* variable is the list element and when the iter_range is a map, this
|
|
465
|
+
* variable is the map key.
|
|
466
|
+
*
|
|
467
|
+
* @generated from field: string iter_var = 1;
|
|
468
|
+
*/
|
|
469
|
+
iterVar: string;
|
|
470
|
+
|
|
471
|
+
/**
|
|
472
|
+
* The name of the second iteration variable; empty if not set.
|
|
473
|
+
* This field is only set for comprehension v2 macros.
|
|
474
|
+
*
|
|
475
|
+
* @generated from field: string iter_var2 = 8;
|
|
476
|
+
*/
|
|
477
|
+
iterVar2: string;
|
|
478
|
+
|
|
479
|
+
/**
|
|
480
|
+
* The range over which the comprehension iterates.
|
|
481
|
+
*
|
|
482
|
+
* @generated from field: google.api.expr.v1alpha1.Expr iter_range = 2;
|
|
483
|
+
*/
|
|
484
|
+
iterRange?: Expr;
|
|
485
|
+
|
|
486
|
+
/**
|
|
487
|
+
* The name of the variable used for accumulation of the result.
|
|
488
|
+
*
|
|
489
|
+
* @generated from field: string accu_var = 3;
|
|
490
|
+
*/
|
|
491
|
+
accuVar: string;
|
|
492
|
+
|
|
493
|
+
/**
|
|
494
|
+
* The initial value of the accumulator.
|
|
495
|
+
*
|
|
496
|
+
* @generated from field: google.api.expr.v1alpha1.Expr accu_init = 4;
|
|
497
|
+
*/
|
|
498
|
+
accuInit?: Expr;
|
|
499
|
+
|
|
500
|
+
/**
|
|
501
|
+
* An expression which can contain iter_var, iter_var2, and accu_var.
|
|
502
|
+
*
|
|
503
|
+
* Returns false when the result has been computed and may be used as
|
|
504
|
+
* a hint to short-circuit the remainder of the comprehension.
|
|
505
|
+
*
|
|
506
|
+
* @generated from field: google.api.expr.v1alpha1.Expr loop_condition = 5;
|
|
507
|
+
*/
|
|
508
|
+
loopCondition?: Expr;
|
|
509
|
+
|
|
510
|
+
/**
|
|
511
|
+
* An expression which can contain iter_var, iter_var2, and accu_var.
|
|
512
|
+
*
|
|
513
|
+
* Computes the next value of accu_var.
|
|
514
|
+
*
|
|
515
|
+
* @generated from field: google.api.expr.v1alpha1.Expr loop_step = 6;
|
|
516
|
+
*/
|
|
517
|
+
loopStep?: Expr;
|
|
518
|
+
|
|
519
|
+
/**
|
|
520
|
+
* An expression which can contain accu_var.
|
|
521
|
+
*
|
|
522
|
+
* Computes the result.
|
|
523
|
+
*
|
|
524
|
+
* @generated from field: google.api.expr.v1alpha1.Expr result = 7;
|
|
525
|
+
*/
|
|
526
|
+
result?: Expr;
|
|
527
|
+
};
|
|
528
|
+
|
|
529
|
+
/**
|
|
530
|
+
* Describes the message google.api.expr.v1alpha1.Expr.Comprehension.
|
|
531
|
+
* Use `create(Expr_ComprehensionSchema)` to create a new message.
|
|
532
|
+
*/
|
|
533
|
+
export const Expr_ComprehensionSchema: GenMessage<Expr_Comprehension> = /*@__PURE__*/
|
|
534
|
+
messageDesc(file_google_api_expr_v1alpha1_syntax, 1, 5);
|
|
535
|
+
|
|
536
|
+
/**
|
|
537
|
+
* Represents a primitive literal.
|
|
538
|
+
*
|
|
539
|
+
* Named 'Constant' here for backwards compatibility.
|
|
540
|
+
*
|
|
541
|
+
* This is similar to the primitives supported in the well-known type
|
|
542
|
+
* `google.protobuf.Value`, but richer so it can represent CEL's full range of
|
|
543
|
+
* primitives.
|
|
544
|
+
*
|
|
545
|
+
* Lists and structs are not included as constants as these aggregate types may
|
|
546
|
+
* contain [Expr][google.api.expr.v1alpha1.Expr] elements which require
|
|
547
|
+
* evaluation and are thus not constant.
|
|
548
|
+
*
|
|
549
|
+
* Examples of literals include: `"hello"`, `b'bytes'`, `1u`, `4.2`, `-2`,
|
|
550
|
+
* `true`, `null`.
|
|
551
|
+
*
|
|
552
|
+
* @generated from message google.api.expr.v1alpha1.Constant
|
|
553
|
+
*/
|
|
554
|
+
export type Constant = Message<"google.api.expr.v1alpha1.Constant"> & {
|
|
555
|
+
/**
|
|
556
|
+
* Required. The valid constant kinds.
|
|
557
|
+
*
|
|
558
|
+
* @generated from oneof google.api.expr.v1alpha1.Constant.constant_kind
|
|
559
|
+
*/
|
|
560
|
+
constantKind: {
|
|
561
|
+
/**
|
|
562
|
+
* null value.
|
|
563
|
+
*
|
|
564
|
+
* @generated from field: google.protobuf.NullValue null_value = 1;
|
|
565
|
+
*/
|
|
566
|
+
value: NullValue;
|
|
567
|
+
case: "nullValue";
|
|
568
|
+
} | {
|
|
569
|
+
/**
|
|
570
|
+
* boolean value.
|
|
571
|
+
*
|
|
572
|
+
* @generated from field: bool bool_value = 2;
|
|
573
|
+
*/
|
|
574
|
+
value: boolean;
|
|
575
|
+
case: "boolValue";
|
|
576
|
+
} | {
|
|
577
|
+
/**
|
|
578
|
+
* int64 value.
|
|
579
|
+
*
|
|
580
|
+
* @generated from field: int64 int64_value = 3 [jstype = JS_STRING];
|
|
581
|
+
*/
|
|
582
|
+
value: string;
|
|
583
|
+
case: "int64Value";
|
|
584
|
+
} | {
|
|
585
|
+
/**
|
|
586
|
+
* uint64 value.
|
|
587
|
+
*
|
|
588
|
+
* @generated from field: uint64 uint64_value = 4 [jstype = JS_STRING];
|
|
589
|
+
*/
|
|
590
|
+
value: string;
|
|
591
|
+
case: "uint64Value";
|
|
592
|
+
} | {
|
|
593
|
+
/**
|
|
594
|
+
* double value.
|
|
595
|
+
*
|
|
596
|
+
* @generated from field: double double_value = 5;
|
|
597
|
+
*/
|
|
598
|
+
value: number;
|
|
599
|
+
case: "doubleValue";
|
|
600
|
+
} | {
|
|
601
|
+
/**
|
|
602
|
+
* string value.
|
|
603
|
+
*
|
|
604
|
+
* @generated from field: string string_value = 6;
|
|
605
|
+
*/
|
|
606
|
+
value: string;
|
|
607
|
+
case: "stringValue";
|
|
608
|
+
} | {
|
|
609
|
+
/**
|
|
610
|
+
* bytes value.
|
|
611
|
+
*
|
|
612
|
+
* @generated from field: bytes bytes_value = 7;
|
|
613
|
+
*/
|
|
614
|
+
value: Uint8Array;
|
|
615
|
+
case: "bytesValue";
|
|
616
|
+
} | {
|
|
617
|
+
/**
|
|
618
|
+
* protobuf.Duration value.
|
|
619
|
+
*
|
|
620
|
+
* Deprecated: duration is no longer considered a builtin CEL type.
|
|
621
|
+
*
|
|
622
|
+
* @generated from field: google.protobuf.Duration duration_value = 8 [deprecated = true];
|
|
623
|
+
* @deprecated
|
|
624
|
+
*/
|
|
625
|
+
value: Duration;
|
|
626
|
+
case: "durationValue";
|
|
627
|
+
} | {
|
|
628
|
+
/**
|
|
629
|
+
* protobuf.Timestamp value.
|
|
630
|
+
*
|
|
631
|
+
* Deprecated: timestamp is no longer considered a builtin CEL type.
|
|
632
|
+
*
|
|
633
|
+
* @generated from field: google.protobuf.Timestamp timestamp_value = 9 [deprecated = true];
|
|
634
|
+
* @deprecated
|
|
635
|
+
*/
|
|
636
|
+
value: Timestamp;
|
|
637
|
+
case: "timestampValue";
|
|
638
|
+
} | { case: undefined; value?: undefined };
|
|
639
|
+
};
|
|
640
|
+
|
|
641
|
+
/**
|
|
642
|
+
* Describes the message google.api.expr.v1alpha1.Constant.
|
|
643
|
+
* Use `create(ConstantSchema)` to create a new message.
|
|
644
|
+
*/
|
|
645
|
+
export const ConstantSchema: GenMessage<Constant> = /*@__PURE__*/
|
|
646
|
+
messageDesc(file_google_api_expr_v1alpha1_syntax, 2);
|
|
647
|
+
|
|
648
|
+
/**
|
|
649
|
+
* Source information collected at parse time.
|
|
650
|
+
*
|
|
651
|
+
* @generated from message google.api.expr.v1alpha1.SourceInfo
|
|
652
|
+
*/
|
|
653
|
+
export type SourceInfo = Message<"google.api.expr.v1alpha1.SourceInfo"> & {
|
|
654
|
+
/**
|
|
655
|
+
* The syntax version of the source, e.g. `cel1`.
|
|
656
|
+
*
|
|
657
|
+
* @generated from field: string syntax_version = 1;
|
|
658
|
+
*/
|
|
659
|
+
syntaxVersion: string;
|
|
660
|
+
|
|
661
|
+
/**
|
|
662
|
+
* The location name. All position information attached to an expression is
|
|
663
|
+
* relative to this location.
|
|
664
|
+
*
|
|
665
|
+
* The location could be a file, UI element, or similar. For example,
|
|
666
|
+
* `acme/app/AnvilPolicy.cel`.
|
|
667
|
+
*
|
|
668
|
+
* @generated from field: string location = 2;
|
|
669
|
+
*/
|
|
670
|
+
location: string;
|
|
671
|
+
|
|
672
|
+
/**
|
|
673
|
+
* Monotonically increasing list of code point offsets where newlines
|
|
674
|
+
* `\n` appear.
|
|
675
|
+
*
|
|
676
|
+
* The line number of a given position is the index `i` where for a given
|
|
677
|
+
* `id` the `line_offsets[i] < id_positions[id] < line_offsets[i+1]`. The
|
|
678
|
+
* column may be derived from `id_positions[id] - line_offsets[i]`.
|
|
679
|
+
*
|
|
680
|
+
* @generated from field: repeated int32 line_offsets = 3;
|
|
681
|
+
*/
|
|
682
|
+
lineOffsets: number[];
|
|
683
|
+
|
|
684
|
+
/**
|
|
685
|
+
* A map from the parse node id (e.g. `Expr.id`) to the code point offset
|
|
686
|
+
* within the source.
|
|
687
|
+
*
|
|
688
|
+
* @generated from field: map<int64, int32> positions = 4;
|
|
689
|
+
*/
|
|
690
|
+
positions: { [key: string]: number };
|
|
691
|
+
|
|
692
|
+
/**
|
|
693
|
+
* A map from the parse node id where a macro replacement was made to the
|
|
694
|
+
* call `Expr` that resulted in a macro expansion.
|
|
695
|
+
*
|
|
696
|
+
* For example, `has(value.field)` is a function call that is replaced by a
|
|
697
|
+
* `test_only` field selection in the AST. Likewise, the call
|
|
698
|
+
* `list.exists(e, e > 10)` translates to a comprehension expression. The key
|
|
699
|
+
* in the map corresponds to the expression id of the expanded macro, and the
|
|
700
|
+
* value is the call `Expr` that was replaced.
|
|
701
|
+
*
|
|
702
|
+
* @generated from field: map<int64, google.api.expr.v1alpha1.Expr> macro_calls = 5;
|
|
703
|
+
*/
|
|
704
|
+
macroCalls: { [key: string]: Expr };
|
|
705
|
+
|
|
706
|
+
/**
|
|
707
|
+
* A list of tags for extensions that were used while parsing or type checking
|
|
708
|
+
* the source expression. For example, optimizations that require special
|
|
709
|
+
* runtime support may be specified.
|
|
710
|
+
*
|
|
711
|
+
* These are used to check feature support between components in separate
|
|
712
|
+
* implementations. This can be used to either skip redundant work or
|
|
713
|
+
* report an error if the extension is unsupported.
|
|
714
|
+
*
|
|
715
|
+
* @generated from field: repeated google.api.expr.v1alpha1.SourceInfo.Extension extensions = 6;
|
|
716
|
+
*/
|
|
717
|
+
extensions: SourceInfo_Extension[];
|
|
718
|
+
};
|
|
719
|
+
|
|
720
|
+
/**
|
|
721
|
+
* Describes the message google.api.expr.v1alpha1.SourceInfo.
|
|
722
|
+
* Use `create(SourceInfoSchema)` to create a new message.
|
|
723
|
+
*/
|
|
724
|
+
export const SourceInfoSchema: GenMessage<SourceInfo> = /*@__PURE__*/
|
|
725
|
+
messageDesc(file_google_api_expr_v1alpha1_syntax, 3);
|
|
726
|
+
|
|
727
|
+
/**
|
|
728
|
+
* An extension that was requested for the source expression.
|
|
729
|
+
*
|
|
730
|
+
* @generated from message google.api.expr.v1alpha1.SourceInfo.Extension
|
|
731
|
+
*/
|
|
732
|
+
export type SourceInfo_Extension = Message<"google.api.expr.v1alpha1.SourceInfo.Extension"> & {
|
|
733
|
+
/**
|
|
734
|
+
* Identifier for the extension. Example: constant_folding
|
|
735
|
+
*
|
|
736
|
+
* @generated from field: string id = 1;
|
|
737
|
+
*/
|
|
738
|
+
id: string;
|
|
739
|
+
|
|
740
|
+
/**
|
|
741
|
+
* If set, the listed components must understand the extension for the
|
|
742
|
+
* expression to evaluate correctly.
|
|
743
|
+
*
|
|
744
|
+
* This field has set semantics; repeated values should be deduplicated.
|
|
745
|
+
*
|
|
746
|
+
* @generated from field: repeated google.api.expr.v1alpha1.SourceInfo.Extension.Component affected_components = 2;
|
|
747
|
+
*/
|
|
748
|
+
affectedComponents: SourceInfo_Extension_Component[];
|
|
749
|
+
|
|
750
|
+
/**
|
|
751
|
+
* Version info. May be skipped if it isn't meaningful for the extension.
|
|
752
|
+
* (for example constant_folding might always be v0.0).
|
|
753
|
+
*
|
|
754
|
+
* @generated from field: google.api.expr.v1alpha1.SourceInfo.Extension.Version version = 3;
|
|
755
|
+
*/
|
|
756
|
+
version?: SourceInfo_Extension_Version;
|
|
757
|
+
};
|
|
758
|
+
|
|
759
|
+
/**
|
|
760
|
+
* Describes the message google.api.expr.v1alpha1.SourceInfo.Extension.
|
|
761
|
+
* Use `create(SourceInfo_ExtensionSchema)` to create a new message.
|
|
762
|
+
*/
|
|
763
|
+
export const SourceInfo_ExtensionSchema: GenMessage<SourceInfo_Extension> = /*@__PURE__*/
|
|
764
|
+
messageDesc(file_google_api_expr_v1alpha1_syntax, 3, 0);
|
|
765
|
+
|
|
766
|
+
/**
|
|
767
|
+
* Version
|
|
768
|
+
*
|
|
769
|
+
* @generated from message google.api.expr.v1alpha1.SourceInfo.Extension.Version
|
|
770
|
+
*/
|
|
771
|
+
export type SourceInfo_Extension_Version = Message<"google.api.expr.v1alpha1.SourceInfo.Extension.Version"> & {
|
|
772
|
+
/**
|
|
773
|
+
* Major version changes indicate different required support level from
|
|
774
|
+
* the required components.
|
|
775
|
+
*
|
|
776
|
+
* @generated from field: int64 major = 1 [jstype = JS_STRING];
|
|
777
|
+
*/
|
|
778
|
+
major: string;
|
|
779
|
+
|
|
780
|
+
/**
|
|
781
|
+
* Minor version changes must not change the observed behavior from
|
|
782
|
+
* existing implementations, but may be provided informationally.
|
|
783
|
+
*
|
|
784
|
+
* @generated from field: int64 minor = 2 [jstype = JS_STRING];
|
|
785
|
+
*/
|
|
786
|
+
minor: string;
|
|
787
|
+
};
|
|
788
|
+
|
|
789
|
+
/**
|
|
790
|
+
* Describes the message google.api.expr.v1alpha1.SourceInfo.Extension.Version.
|
|
791
|
+
* Use `create(SourceInfo_Extension_VersionSchema)` to create a new message.
|
|
792
|
+
*/
|
|
793
|
+
export const SourceInfo_Extension_VersionSchema: GenMessage<SourceInfo_Extension_Version> = /*@__PURE__*/
|
|
794
|
+
messageDesc(file_google_api_expr_v1alpha1_syntax, 3, 0, 0);
|
|
795
|
+
|
|
796
|
+
/**
|
|
797
|
+
* CEL component specifier.
|
|
798
|
+
*
|
|
799
|
+
* @generated from enum google.api.expr.v1alpha1.SourceInfo.Extension.Component
|
|
800
|
+
*/
|
|
801
|
+
export enum SourceInfo_Extension_Component {
|
|
802
|
+
/**
|
|
803
|
+
* Unspecified, default.
|
|
804
|
+
*
|
|
805
|
+
* @generated from enum value: COMPONENT_UNSPECIFIED = 0;
|
|
806
|
+
*/
|
|
807
|
+
UNSPECIFIED = 0,
|
|
808
|
+
|
|
809
|
+
/**
|
|
810
|
+
* Parser. Converts a CEL string to an AST.
|
|
811
|
+
*
|
|
812
|
+
* @generated from enum value: COMPONENT_PARSER = 1;
|
|
813
|
+
*/
|
|
814
|
+
PARSER = 1,
|
|
815
|
+
|
|
816
|
+
/**
|
|
817
|
+
* Type checker. Checks that references in an AST are defined and types
|
|
818
|
+
* agree.
|
|
819
|
+
*
|
|
820
|
+
* @generated from enum value: COMPONENT_TYPE_CHECKER = 2;
|
|
821
|
+
*/
|
|
822
|
+
TYPE_CHECKER = 2,
|
|
823
|
+
|
|
824
|
+
/**
|
|
825
|
+
* Runtime. Evaluates a parsed and optionally checked CEL AST against a
|
|
826
|
+
* context.
|
|
827
|
+
*
|
|
828
|
+
* @generated from enum value: COMPONENT_RUNTIME = 3;
|
|
829
|
+
*/
|
|
830
|
+
RUNTIME = 3,
|
|
831
|
+
}
|
|
832
|
+
|
|
833
|
+
/**
|
|
834
|
+
* Describes the enum google.api.expr.v1alpha1.SourceInfo.Extension.Component.
|
|
835
|
+
*/
|
|
836
|
+
export const SourceInfo_Extension_ComponentSchema: GenEnum<SourceInfo_Extension_Component> = /*@__PURE__*/
|
|
837
|
+
enumDesc(file_google_api_expr_v1alpha1_syntax, 3, 0, 0);
|
|
838
|
+
|
|
839
|
+
/**
|
|
840
|
+
* A specific position in source.
|
|
841
|
+
*
|
|
842
|
+
* @generated from message google.api.expr.v1alpha1.SourcePosition
|
|
843
|
+
*/
|
|
844
|
+
export type SourcePosition = Message<"google.api.expr.v1alpha1.SourcePosition"> & {
|
|
845
|
+
/**
|
|
846
|
+
* The source location name (e.g. file name).
|
|
847
|
+
*
|
|
848
|
+
* @generated from field: string location = 1;
|
|
849
|
+
*/
|
|
850
|
+
location: string;
|
|
851
|
+
|
|
852
|
+
/**
|
|
853
|
+
* The UTF-8 code unit offset.
|
|
854
|
+
*
|
|
855
|
+
* @generated from field: int32 offset = 2;
|
|
856
|
+
*/
|
|
857
|
+
offset: number;
|
|
858
|
+
|
|
859
|
+
/**
|
|
860
|
+
* The 1-based index of the starting line in the source text
|
|
861
|
+
* where the issue occurs, or 0 if unknown.
|
|
862
|
+
*
|
|
863
|
+
* @generated from field: int32 line = 3;
|
|
864
|
+
*/
|
|
865
|
+
line: number;
|
|
866
|
+
|
|
867
|
+
/**
|
|
868
|
+
* The 0-based index of the starting position within the line of source text
|
|
869
|
+
* where the issue occurs. Only meaningful if line is nonzero.
|
|
870
|
+
*
|
|
871
|
+
* @generated from field: int32 column = 4;
|
|
872
|
+
*/
|
|
873
|
+
column: number;
|
|
874
|
+
};
|
|
875
|
+
|
|
876
|
+
/**
|
|
877
|
+
* Describes the message google.api.expr.v1alpha1.SourcePosition.
|
|
878
|
+
* Use `create(SourcePositionSchema)` to create a new message.
|
|
879
|
+
*/
|
|
880
|
+
export const SourcePositionSchema: GenMessage<SourcePosition> = /*@__PURE__*/
|
|
881
|
+
messageDesc(file_google_api_expr_v1alpha1_syntax, 4);
|
|
882
|
+
|