@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,896 @@
|
|
|
1
|
+
// @generated by protoc-gen-es v2.10.1 with parameter "target=ts,import_extension=.js"
|
|
2
|
+
// @generated from file uplim/api/v1/integration_types.proto (package uplim.api.v1, syntax proto3)
|
|
3
|
+
/* eslint-disable */
|
|
4
|
+
|
|
5
|
+
import type { GenEnum, GenFile, GenMessage } from "@bufbuild/protobuf/codegenv2";
|
|
6
|
+
import { enumDesc, fileDesc, messageDesc } from "@bufbuild/protobuf/codegenv2";
|
|
7
|
+
import type { Timestamp } from "@bufbuild/protobuf/wkt";
|
|
8
|
+
import { file_google_protobuf_timestamp } from "@bufbuild/protobuf/wkt";
|
|
9
|
+
import { file_buf_validate_validate } from "../../../buf/validate/validate_pb.js";
|
|
10
|
+
import type { Message } from "@bufbuild/protobuf";
|
|
11
|
+
|
|
12
|
+
/**
|
|
13
|
+
* Describes the file uplim/api/v1/integration_types.proto.
|
|
14
|
+
*/
|
|
15
|
+
export const file_uplim_api_v1_integration_types: GenFile = /*@__PURE__*/
|
|
16
|
+
fileDesc("CiR1cGxpbS9hcGkvdjEvaW50ZWdyYXRpb25fdHlwZXMucHJvdG8SDHVwbGltLmFwaS52MSKeAQoZSW50ZWdyYXRpb25SZW5kZXJlckNvbmZpZxIPCgdlbmFibGVkGAEgASgIEigKEWFyY2hpdmVfdXBsb2FkX2lkGAIgASgJQgi6SAVyA7ABAUgAiAEBEiEKCmVudHJ5X3BhdGgYAyABKAlCCLpIBXIDGIAESAGIAQFCFAoSX2FyY2hpdmVfdXBsb2FkX2lkQg0KC19lbnRyeV9wYXRoIlQKIEludGVncmF0aW9uVGh1bWJuYWlsUGFyc2VyQ29uZmlnEg8KB2VuYWJsZWQYASABKAgSGQoHcG9vbF9pZBgDIAEoCUIIukgFcgOwAQFKBAgCEAMi1gEKGEludGVncmF0aW9uVGh1bWJuYWlsUG9vbBIKCgJpZBgBIAEoCRIWCg5pbnRlZ3JhdGlvbl9pZBgCIAEoCRIYCgRuYW1lGAMgASgJQgq6SAdyBRABGIABEhIKBXRva2VuGAQgASgJSACIAQESLgoKY3JlYXRlZF9hdBgFIAEoCzIaLmdvb2dsZS5wcm90b2J1Zi5UaW1lc3RhbXASLgoKdXBkYXRlZF9hdBgGIAEoCzIaLmdvb2dsZS5wcm90b2J1Zi5UaW1lc3RhbXBCCAoGX3Rva2VuIp0BCh5JbnRlZ3JhdGlvbkNvbnRlbnRUeXBlQ3JpdGVyaWESRQoFa2luZHMYASADK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GxpbV92MaICA1VBWKoCDFVwbGltLkFwaS5WMcoCDFVwbGltXEFwaVxWMeICGFVwbGltXEFwaVxWMVxHUEJNZXRhZGF0YeoCDlVwbGltOjpBcGk6OlYxYgZwcm90bzM", [file_google_protobuf_timestamp, file_buf_validate_validate]);
|
|
17
|
+
|
|
18
|
+
/**
|
|
19
|
+
* Configuration for a custom renderer attached to a content type or bucket type
|
|
20
|
+
*
|
|
21
|
+
* @generated from message uplim.api.v1.IntegrationRendererConfig
|
|
22
|
+
*/
|
|
23
|
+
export type IntegrationRendererConfig = Message<"uplim.api.v1.IntegrationRendererConfig"> & {
|
|
24
|
+
/**
|
|
25
|
+
* Whether this renderer is active
|
|
26
|
+
*
|
|
27
|
+
* @generated from field: bool enabled = 1;
|
|
28
|
+
*/
|
|
29
|
+
enabled: boolean;
|
|
30
|
+
|
|
31
|
+
/**
|
|
32
|
+
* Upload ID of the renderer archive (.zip) containing the built application
|
|
33
|
+
*
|
|
34
|
+
* @generated from field: optional string archive_upload_id = 2;
|
|
35
|
+
*/
|
|
36
|
+
archiveUploadId?: string;
|
|
37
|
+
|
|
38
|
+
/**
|
|
39
|
+
* Override the default entry path within the archive (e.g. "dashboard" or "portal")
|
|
40
|
+
*
|
|
41
|
+
* @generated from field: optional string entry_path = 3;
|
|
42
|
+
*/
|
|
43
|
+
entryPath?: string;
|
|
44
|
+
};
|
|
45
|
+
|
|
46
|
+
/**
|
|
47
|
+
* Describes the message uplim.api.v1.IntegrationRendererConfig.
|
|
48
|
+
* Use `create(IntegrationRendererConfigSchema)` to create a new message.
|
|
49
|
+
*/
|
|
50
|
+
export const IntegrationRendererConfigSchema: GenMessage<IntegrationRendererConfig> = /*@__PURE__*/
|
|
51
|
+
messageDesc(file_uplim_api_v1_integration_types, 0);
|
|
52
|
+
|
|
53
|
+
/**
|
|
54
|
+
* Configuration for a custom thumbnail parser attached to a content type or bucket type
|
|
55
|
+
*
|
|
56
|
+
* @generated from message uplim.api.v1.IntegrationThumbnailParserConfig
|
|
57
|
+
*/
|
|
58
|
+
export type IntegrationThumbnailParserConfig = Message<"uplim.api.v1.IntegrationThumbnailParserConfig"> & {
|
|
59
|
+
/**
|
|
60
|
+
* Whether this thumbnail parser is active
|
|
61
|
+
*
|
|
62
|
+
* @generated from field: bool enabled = 1;
|
|
63
|
+
*/
|
|
64
|
+
enabled: boolean;
|
|
65
|
+
|
|
66
|
+
/**
|
|
67
|
+
* ID of the thumbnail parse pool to use
|
|
68
|
+
*
|
|
69
|
+
* @generated from field: string pool_id = 3;
|
|
70
|
+
*/
|
|
71
|
+
poolId: string;
|
|
72
|
+
};
|
|
73
|
+
|
|
74
|
+
/**
|
|
75
|
+
* Describes the message uplim.api.v1.IntegrationThumbnailParserConfig.
|
|
76
|
+
* Use `create(IntegrationThumbnailParserConfigSchema)` to create a new message.
|
|
77
|
+
*/
|
|
78
|
+
export const IntegrationThumbnailParserConfigSchema: GenMessage<IntegrationThumbnailParserConfig> = /*@__PURE__*/
|
|
79
|
+
messageDesc(file_uplim_api_v1_integration_types, 1);
|
|
80
|
+
|
|
81
|
+
/**
|
|
82
|
+
* A thumbnail parse pool belonging to an integration. Workers authenticate using the pool token.
|
|
83
|
+
*
|
|
84
|
+
* @generated from message uplim.api.v1.IntegrationThumbnailPool
|
|
85
|
+
*/
|
|
86
|
+
export type IntegrationThumbnailPool = Message<"uplim.api.v1.IntegrationThumbnailPool"> & {
|
|
87
|
+
/**
|
|
88
|
+
* Unique pool ID
|
|
89
|
+
*
|
|
90
|
+
* @generated from field: string id = 1;
|
|
91
|
+
*/
|
|
92
|
+
id: string;
|
|
93
|
+
|
|
94
|
+
/**
|
|
95
|
+
* Parent integration ID
|
|
96
|
+
*
|
|
97
|
+
* @generated from field: string integration_id = 2;
|
|
98
|
+
*/
|
|
99
|
+
integrationId: string;
|
|
100
|
+
|
|
101
|
+
/**
|
|
102
|
+
* Display name for this pool
|
|
103
|
+
*
|
|
104
|
+
* @generated from field: string name = 3;
|
|
105
|
+
*/
|
|
106
|
+
name: string;
|
|
107
|
+
|
|
108
|
+
/**
|
|
109
|
+
* Only populated in admin responses (create/list).
|
|
110
|
+
*
|
|
111
|
+
* @generated from field: optional string token = 4;
|
|
112
|
+
*/
|
|
113
|
+
token?: string;
|
|
114
|
+
|
|
115
|
+
/**
|
|
116
|
+
* @generated from field: google.protobuf.Timestamp created_at = 5;
|
|
117
|
+
*/
|
|
118
|
+
createdAt?: Timestamp;
|
|
119
|
+
|
|
120
|
+
/**
|
|
121
|
+
* @generated from field: google.protobuf.Timestamp updated_at = 6;
|
|
122
|
+
*/
|
|
123
|
+
updatedAt?: Timestamp;
|
|
124
|
+
};
|
|
125
|
+
|
|
126
|
+
/**
|
|
127
|
+
* Describes the message uplim.api.v1.IntegrationThumbnailPool.
|
|
128
|
+
* Use `create(IntegrationThumbnailPoolSchema)` to create a new message.
|
|
129
|
+
*/
|
|
130
|
+
export const IntegrationThumbnailPoolSchema: GenMessage<IntegrationThumbnailPool> = /*@__PURE__*/
|
|
131
|
+
messageDesc(file_uplim_api_v1_integration_types, 2);
|
|
132
|
+
|
|
133
|
+
/**
|
|
134
|
+
* @generated from message uplim.api.v1.IntegrationContentTypeCriteria
|
|
135
|
+
*/
|
|
136
|
+
export type IntegrationContentTypeCriteria = Message<"uplim.api.v1.IntegrationContentTypeCriteria"> & {
|
|
137
|
+
/**
|
|
138
|
+
* Which resource kinds to match (1+ required)
|
|
139
|
+
*
|
|
140
|
+
* @generated from field: repeated uplim.api.v1.IntegrationContentTargetKind kinds = 1;
|
|
141
|
+
*/
|
|
142
|
+
kinds: IntegrationContentTargetKind[];
|
|
143
|
+
|
|
144
|
+
/**
|
|
145
|
+
* Optional slug regex (for non-integration-folder kinds)
|
|
146
|
+
*
|
|
147
|
+
* @generated from field: optional string slug_pattern = 2;
|
|
148
|
+
*/
|
|
149
|
+
slugPattern?: string;
|
|
150
|
+
};
|
|
151
|
+
|
|
152
|
+
/**
|
|
153
|
+
* Describes the message uplim.api.v1.IntegrationContentTypeCriteria.
|
|
154
|
+
* Use `create(IntegrationContentTypeCriteriaSchema)` to create a new message.
|
|
155
|
+
*/
|
|
156
|
+
export const IntegrationContentTypeCriteriaSchema: GenMessage<IntegrationContentTypeCriteria> = /*@__PURE__*/
|
|
157
|
+
messageDesc(file_uplim_api_v1_integration_types, 3);
|
|
158
|
+
|
|
159
|
+
/**
|
|
160
|
+
* Open-with config on a content type (simplified — no extensions, criteria handles matching)
|
|
161
|
+
*
|
|
162
|
+
* @generated from message uplim.api.v1.IntegrationContentTypeOpenWithConfig
|
|
163
|
+
*/
|
|
164
|
+
export type IntegrationContentTypeOpenWithConfig = Message<"uplim.api.v1.IntegrationContentTypeOpenWithConfig"> & {
|
|
165
|
+
/**
|
|
166
|
+
* @generated from field: bool enabled = 1;
|
|
167
|
+
*/
|
|
168
|
+
enabled: boolean;
|
|
169
|
+
|
|
170
|
+
/**
|
|
171
|
+
* @generated from field: string callback_url = 2;
|
|
172
|
+
*/
|
|
173
|
+
callbackUrl: string;
|
|
174
|
+
};
|
|
175
|
+
|
|
176
|
+
/**
|
|
177
|
+
* Describes the message uplim.api.v1.IntegrationContentTypeOpenWithConfig.
|
|
178
|
+
* Use `create(IntegrationContentTypeOpenWithConfigSchema)` to create a new message.
|
|
179
|
+
*/
|
|
180
|
+
export const IntegrationContentTypeOpenWithConfigSchema: GenMessage<IntegrationContentTypeOpenWithConfig> = /*@__PURE__*/
|
|
181
|
+
messageDesc(file_uplim_api_v1_integration_types, 4);
|
|
182
|
+
|
|
183
|
+
/**
|
|
184
|
+
* A content type defined by an integration. Matches resources by kind and slug pattern.
|
|
185
|
+
*
|
|
186
|
+
* @generated from message uplim.api.v1.IntegrationContentType
|
|
187
|
+
*/
|
|
188
|
+
export type IntegrationContentType = Message<"uplim.api.v1.IntegrationContentType"> & {
|
|
189
|
+
/**
|
|
190
|
+
* Unique content type ID
|
|
191
|
+
*
|
|
192
|
+
* @generated from field: string id = 1;
|
|
193
|
+
*/
|
|
194
|
+
id: string;
|
|
195
|
+
|
|
196
|
+
/**
|
|
197
|
+
* Parent integration ID
|
|
198
|
+
*
|
|
199
|
+
* @generated from field: string integration_id = 2;
|
|
200
|
+
*/
|
|
201
|
+
integrationId: string;
|
|
202
|
+
|
|
203
|
+
/**
|
|
204
|
+
* Criteria for matching resources to this content type
|
|
205
|
+
*
|
|
206
|
+
* @generated from field: uplim.api.v1.IntegrationContentTypeCriteria criteria = 3;
|
|
207
|
+
*/
|
|
208
|
+
criteria?: IntegrationContentTypeCriteria;
|
|
209
|
+
|
|
210
|
+
/**
|
|
211
|
+
* Custom renderer configuration for matched resources
|
|
212
|
+
*
|
|
213
|
+
* @generated from field: optional uplim.api.v1.IntegrationRendererConfig renderer = 4;
|
|
214
|
+
*/
|
|
215
|
+
renderer?: IntegrationRendererConfig;
|
|
216
|
+
|
|
217
|
+
/**
|
|
218
|
+
* Custom thumbnail parser for matched resources
|
|
219
|
+
*
|
|
220
|
+
* @generated from field: optional uplim.api.v1.IntegrationThumbnailParserConfig thumbnail_parser = 5;
|
|
221
|
+
*/
|
|
222
|
+
thumbnailParser?: IntegrationThumbnailParserConfig;
|
|
223
|
+
|
|
224
|
+
/**
|
|
225
|
+
* Open-with configuration for launching the integration's external app
|
|
226
|
+
*
|
|
227
|
+
* @generated from field: optional uplim.api.v1.IntegrationContentTypeOpenWithConfig open_with = 6;
|
|
228
|
+
*/
|
|
229
|
+
openWith?: IntegrationContentTypeOpenWithConfig;
|
|
230
|
+
|
|
231
|
+
/**
|
|
232
|
+
* Lower number = higher priority; used to break ties when multiple content types match
|
|
233
|
+
*
|
|
234
|
+
* @generated from field: int32 priority = 7;
|
|
235
|
+
*/
|
|
236
|
+
priority: number;
|
|
237
|
+
|
|
238
|
+
/**
|
|
239
|
+
* @generated from field: google.protobuf.Timestamp created_at = 8;
|
|
240
|
+
*/
|
|
241
|
+
createdAt?: Timestamp;
|
|
242
|
+
|
|
243
|
+
/**
|
|
244
|
+
* @generated from field: google.protobuf.Timestamp updated_at = 9;
|
|
245
|
+
*/
|
|
246
|
+
updatedAt?: Timestamp;
|
|
247
|
+
|
|
248
|
+
/**
|
|
249
|
+
* Immutable URN local part (e.g., "image" in "default:image"). Combined
|
|
250
|
+
* with the parent Integration.slug to form the public URN that replaces
|
|
251
|
+
* the legacy UploadType enum at every API boundary.
|
|
252
|
+
*
|
|
253
|
+
* @generated from field: optional string name = 10;
|
|
254
|
+
*/
|
|
255
|
+
name?: string;
|
|
256
|
+
|
|
257
|
+
/**
|
|
258
|
+
* Human-readable label shown in the admin UI.
|
|
259
|
+
*
|
|
260
|
+
* @generated from field: optional string display_label = 11;
|
|
261
|
+
*/
|
|
262
|
+
displayLabel?: string;
|
|
263
|
+
|
|
264
|
+
/**
|
|
265
|
+
* FontAwesome key the frontend uses to render the file icon
|
|
266
|
+
* (e.g., "faFileImage").
|
|
267
|
+
*
|
|
268
|
+
* @generated from field: optional string icon_name = 12;
|
|
269
|
+
*/
|
|
270
|
+
iconName?: string;
|
|
271
|
+
|
|
272
|
+
/**
|
|
273
|
+
* Serialized ContentTypeMatcher proto. The pipeline evaluates this
|
|
274
|
+
* against the upload's DetectionResult to decide which content type
|
|
275
|
+
* matches; first match wins by matcher_priority.
|
|
276
|
+
*
|
|
277
|
+
* @generated from field: bytes matcher = 13;
|
|
278
|
+
*/
|
|
279
|
+
matcher: Uint8Array;
|
|
280
|
+
|
|
281
|
+
/**
|
|
282
|
+
* Higher wins. Source of truth is ContentTypeMatcher.priority; this
|
|
283
|
+
* field is denormalized for index-driven ordering during retrieval.
|
|
284
|
+
*
|
|
285
|
+
* @generated from field: int32 matcher_priority = 14;
|
|
286
|
+
*/
|
|
287
|
+
matcherPriority: number;
|
|
288
|
+
|
|
289
|
+
/**
|
|
290
|
+
* Per-content-type feature flag for the Sub-plan D rollout: false
|
|
291
|
+
* routes uploads through the legacy inline activity, true dispatches
|
|
292
|
+
* to an external worker via the integration's pool.
|
|
293
|
+
*
|
|
294
|
+
* @generated from field: bool dispatch_to_pool = 15;
|
|
295
|
+
*/
|
|
296
|
+
dispatchToPool: boolean;
|
|
297
|
+
};
|
|
298
|
+
|
|
299
|
+
/**
|
|
300
|
+
* Describes the message uplim.api.v1.IntegrationContentType.
|
|
301
|
+
* Use `create(IntegrationContentTypeSchema)` to create a new message.
|
|
302
|
+
*/
|
|
303
|
+
export const IntegrationContentTypeSchema: GenMessage<IntegrationContentType> = /*@__PURE__*/
|
|
304
|
+
messageDesc(file_uplim_api_v1_integration_types, 5);
|
|
305
|
+
|
|
306
|
+
/**
|
|
307
|
+
* A single value that is either string content or a reference to an upload.
|
|
308
|
+
*
|
|
309
|
+
* @generated from message uplim.api.v1.NewFileValue
|
|
310
|
+
*/
|
|
311
|
+
export type NewFileValue = Message<"uplim.api.v1.NewFileValue"> & {
|
|
312
|
+
/**
|
|
313
|
+
* @generated from oneof uplim.api.v1.NewFileValue.value
|
|
314
|
+
*/
|
|
315
|
+
value: {
|
|
316
|
+
/**
|
|
317
|
+
* @generated from field: string string_content = 1;
|
|
318
|
+
*/
|
|
319
|
+
value: string;
|
|
320
|
+
case: "stringContent";
|
|
321
|
+
} | {
|
|
322
|
+
/**
|
|
323
|
+
* References an upload in the integration's internal bucket
|
|
324
|
+
*
|
|
325
|
+
* @generated from field: string upload_id = 2;
|
|
326
|
+
*/
|
|
327
|
+
value: string;
|
|
328
|
+
case: "uploadId";
|
|
329
|
+
} | { case: undefined; value?: undefined };
|
|
330
|
+
};
|
|
331
|
+
|
|
332
|
+
/**
|
|
333
|
+
* Describes the message uplim.api.v1.NewFileValue.
|
|
334
|
+
* Use `create(NewFileValueSchema)` to create a new message.
|
|
335
|
+
*/
|
|
336
|
+
export const NewFileValueSchema: GenMessage<NewFileValue> = /*@__PURE__*/
|
|
337
|
+
messageDesc(file_uplim_api_v1_integration_types, 6);
|
|
338
|
+
|
|
339
|
+
/**
|
|
340
|
+
* Default content for a new file template.
|
|
341
|
+
*
|
|
342
|
+
* @generated from message uplim.api.v1.NewFileDefaultContent
|
|
343
|
+
*/
|
|
344
|
+
export type NewFileDefaultContent = Message<"uplim.api.v1.NewFileDefaultContent"> & {
|
|
345
|
+
/**
|
|
346
|
+
* @generated from oneof uplim.api.v1.NewFileDefaultContent.content
|
|
347
|
+
*/
|
|
348
|
+
content: {
|
|
349
|
+
/**
|
|
350
|
+
* Single file: string content or upload reference
|
|
351
|
+
*
|
|
352
|
+
* @generated from field: uplim.api.v1.NewFileValue single = 1;
|
|
353
|
+
*/
|
|
354
|
+
value: NewFileValue;
|
|
355
|
+
case: "single";
|
|
356
|
+
} | {
|
|
357
|
+
/**
|
|
358
|
+
* Multi-file (for folder/virtual_file): map of relative paths to values
|
|
359
|
+
*
|
|
360
|
+
* @generated from field: uplim.api.v1.NewFileDefaultContentMap multiple = 2;
|
|
361
|
+
*/
|
|
362
|
+
value: NewFileDefaultContentMap;
|
|
363
|
+
case: "multiple";
|
|
364
|
+
} | { case: undefined; value?: undefined };
|
|
365
|
+
};
|
|
366
|
+
|
|
367
|
+
/**
|
|
368
|
+
* Describes the message uplim.api.v1.NewFileDefaultContent.
|
|
369
|
+
* Use `create(NewFileDefaultContentSchema)` to create a new message.
|
|
370
|
+
*/
|
|
371
|
+
export const NewFileDefaultContentSchema: GenMessage<NewFileDefaultContent> = /*@__PURE__*/
|
|
372
|
+
messageDesc(file_uplim_api_v1_integration_types, 7);
|
|
373
|
+
|
|
374
|
+
/**
|
|
375
|
+
* @generated from message uplim.api.v1.NewFileDefaultContentMap
|
|
376
|
+
*/
|
|
377
|
+
export type NewFileDefaultContentMap = Message<"uplim.api.v1.NewFileDefaultContentMap"> & {
|
|
378
|
+
/**
|
|
379
|
+
* @generated from field: map<string, uplim.api.v1.NewFileValue> files = 1;
|
|
380
|
+
*/
|
|
381
|
+
files: { [key: string]: NewFileValue };
|
|
382
|
+
};
|
|
383
|
+
|
|
384
|
+
/**
|
|
385
|
+
* Describes the message uplim.api.v1.NewFileDefaultContentMap.
|
|
386
|
+
* Use `create(NewFileDefaultContentMapSchema)` to create a new message.
|
|
387
|
+
*/
|
|
388
|
+
export const NewFileDefaultContentMapSchema: GenMessage<NewFileDefaultContentMap> = /*@__PURE__*/
|
|
389
|
+
messageDesc(file_uplim_api_v1_integration_types, 8);
|
|
390
|
+
|
|
391
|
+
/**
|
|
392
|
+
* @generated from message uplim.api.v1.IntegrationNewFile
|
|
393
|
+
*/
|
|
394
|
+
export type IntegrationNewFile = Message<"uplim.api.v1.IntegrationNewFile"> & {
|
|
395
|
+
/**
|
|
396
|
+
* @generated from field: string id = 1;
|
|
397
|
+
*/
|
|
398
|
+
id: string;
|
|
399
|
+
|
|
400
|
+
/**
|
|
401
|
+
* @generated from field: string integration_id = 2;
|
|
402
|
+
*/
|
|
403
|
+
integrationId: string;
|
|
404
|
+
|
|
405
|
+
/**
|
|
406
|
+
* Display name shown in the "new file" menu (e.g. "New Document")
|
|
407
|
+
*
|
|
408
|
+
* @generated from field: string name = 3;
|
|
409
|
+
*/
|
|
410
|
+
name: string;
|
|
411
|
+
|
|
412
|
+
/**
|
|
413
|
+
* File extension (e.g. "docx")
|
|
414
|
+
*
|
|
415
|
+
* @generated from field: string extension = 4;
|
|
416
|
+
*/
|
|
417
|
+
extension: string;
|
|
418
|
+
|
|
419
|
+
/**
|
|
420
|
+
* @generated from field: uplim.api.v1.NewFileCreationType creation_type = 5;
|
|
421
|
+
*/
|
|
422
|
+
creationType: NewFileCreationType;
|
|
423
|
+
|
|
424
|
+
/**
|
|
425
|
+
* @generated from field: optional uplim.api.v1.NewFileDefaultContent default_content = 6;
|
|
426
|
+
*/
|
|
427
|
+
defaultContent?: NewFileDefaultContent;
|
|
428
|
+
|
|
429
|
+
/**
|
|
430
|
+
* @generated from field: google.protobuf.Timestamp created_at = 7;
|
|
431
|
+
*/
|
|
432
|
+
createdAt?: Timestamp;
|
|
433
|
+
|
|
434
|
+
/**
|
|
435
|
+
* @generated from field: google.protobuf.Timestamp updated_at = 8;
|
|
436
|
+
*/
|
|
437
|
+
updatedAt?: Timestamp;
|
|
438
|
+
};
|
|
439
|
+
|
|
440
|
+
/**
|
|
441
|
+
* Describes the message uplim.api.v1.IntegrationNewFile.
|
|
442
|
+
* Use `create(IntegrationNewFileSchema)` to create a new message.
|
|
443
|
+
*/
|
|
444
|
+
export const IntegrationNewFileSchema: GenMessage<IntegrationNewFile> = /*@__PURE__*/
|
|
445
|
+
messageDesc(file_uplim_api_v1_integration_types, 9);
|
|
446
|
+
|
|
447
|
+
/**
|
|
448
|
+
* An integration registered with the platform. Integrations extend upl.im with
|
|
449
|
+
* custom renderers, content types, thumbnail parsers, and new file templates.
|
|
450
|
+
*
|
|
451
|
+
* @generated from message uplim.api.v1.Integration
|
|
452
|
+
*/
|
|
453
|
+
export type Integration = Message<"uplim.api.v1.Integration"> & {
|
|
454
|
+
/**
|
|
455
|
+
* Unique integration ID
|
|
456
|
+
*
|
|
457
|
+
* @generated from field: string integration_id = 1;
|
|
458
|
+
*/
|
|
459
|
+
integrationId: string;
|
|
460
|
+
|
|
461
|
+
/**
|
|
462
|
+
* OAuth client ID that owns this integration
|
|
463
|
+
*
|
|
464
|
+
* @generated from field: string oauth_client_id = 2;
|
|
465
|
+
*/
|
|
466
|
+
oauthClientId: string;
|
|
467
|
+
|
|
468
|
+
/**
|
|
469
|
+
* Associated OAuth application ID (derived from the client's IDP record)
|
|
470
|
+
*
|
|
471
|
+
* @generated from field: optional string oauth_application_id = 3;
|
|
472
|
+
*/
|
|
473
|
+
oauthApplicationId?: string;
|
|
474
|
+
|
|
475
|
+
/**
|
|
476
|
+
* Display name of the integration
|
|
477
|
+
*
|
|
478
|
+
* @generated from field: string name = 4;
|
|
479
|
+
*/
|
|
480
|
+
name: string;
|
|
481
|
+
|
|
482
|
+
/**
|
|
483
|
+
* Whether API key authentication is enabled for this integration.
|
|
484
|
+
* When true, the integration's scoped resources are exclusively writable via the API key.
|
|
485
|
+
*
|
|
486
|
+
* @generated from field: bool api_key_enabled = 11;
|
|
487
|
+
*/
|
|
488
|
+
apiKeyEnabled: boolean;
|
|
489
|
+
|
|
490
|
+
/**
|
|
491
|
+
* Scoping mode: "none", "bucket", or "folder"
|
|
492
|
+
*
|
|
493
|
+
* @generated from field: string scoping = 12;
|
|
494
|
+
*/
|
|
495
|
+
scoping: string;
|
|
496
|
+
|
|
497
|
+
/**
|
|
498
|
+
* Content types defined by this integration
|
|
499
|
+
*
|
|
500
|
+
* @generated from field: repeated uplim.api.v1.IntegrationContentType content_types = 13;
|
|
501
|
+
*/
|
|
502
|
+
contentTypes: IntegrationContentType[];
|
|
503
|
+
|
|
504
|
+
/**
|
|
505
|
+
* Required when scoping = "bucket": the default bucket type for this integration
|
|
506
|
+
*
|
|
507
|
+
* @generated from field: optional string default_bucket_type_id = 14;
|
|
508
|
+
*/
|
|
509
|
+
defaultBucketTypeId?: string;
|
|
510
|
+
|
|
511
|
+
/**
|
|
512
|
+
* New file templates defined by this integration
|
|
513
|
+
*
|
|
514
|
+
* @generated from field: repeated uplim.api.v1.IntegrationNewFile new_files = 15;
|
|
515
|
+
*/
|
|
516
|
+
newFiles: IntegrationNewFile[];
|
|
517
|
+
|
|
518
|
+
/**
|
|
519
|
+
* Thumbnail parse pools defined by this integration (populated in admin responses)
|
|
520
|
+
*
|
|
521
|
+
* @generated from field: repeated uplim.api.v1.IntegrationThumbnailPool thumbnail_pools = 18;
|
|
522
|
+
*/
|
|
523
|
+
thumbnailPools: IntegrationThumbnailPool[];
|
|
524
|
+
|
|
525
|
+
/**
|
|
526
|
+
* Required when scoping = "folder": controls how the integration folder behaves
|
|
527
|
+
*
|
|
528
|
+
* @generated from field: uplim.api.v1.IntegrationFolderBehavior folder_behavior = 16;
|
|
529
|
+
*/
|
|
530
|
+
folderBehavior: IntegrationFolderBehavior;
|
|
531
|
+
|
|
532
|
+
/**
|
|
533
|
+
* Required when folder_behavior = LINK: the URL to open
|
|
534
|
+
*
|
|
535
|
+
* @generated from field: optional string folder_link_url = 17;
|
|
536
|
+
*/
|
|
537
|
+
folderLinkUrl?: string;
|
|
538
|
+
|
|
539
|
+
/**
|
|
540
|
+
* How the integration is surfaced to users. Immutable after creation.
|
|
541
|
+
*
|
|
542
|
+
* @generated from field: uplim.api.v1.IntegrationMode mode = 19;
|
|
543
|
+
*/
|
|
544
|
+
mode: IntegrationMode;
|
|
545
|
+
|
|
546
|
+
/**
|
|
547
|
+
* When true (and mode = APPLICATION), the app is offered as a chip at the top
|
|
548
|
+
* of every bucket where it's installed. Clicking the chip opens a picker that
|
|
549
|
+
* lets the user choose a matching upload or folder, then launches the renderer.
|
|
550
|
+
* Apps without this flag are still installable and show up in "Open with…" menus.
|
|
551
|
+
*
|
|
552
|
+
* @generated from field: bool bucket_launcher_enabled = 20;
|
|
553
|
+
*/
|
|
554
|
+
bucketLauncherEnabled: boolean;
|
|
555
|
+
|
|
556
|
+
/**
|
|
557
|
+
* URL-safe namespace component of content type URNs (e.g., "default" in
|
|
558
|
+
* "default:image"). Immutable after creation. Format: lowercase letter +
|
|
559
|
+
* lowercase alphanumeric or hyphen, 2-64 chars, ending alphanumeric.
|
|
560
|
+
* Reserved values: "default", "system", "uplim", "xeonr".
|
|
561
|
+
*
|
|
562
|
+
* @generated from field: optional string slug = 21;
|
|
563
|
+
*/
|
|
564
|
+
slug?: string;
|
|
565
|
+
|
|
566
|
+
/**
|
|
567
|
+
* True for first-party system integrations (currently only "default").
|
|
568
|
+
* System integrations cannot be deleted or have their content types edited.
|
|
569
|
+
*
|
|
570
|
+
* @generated from field: bool is_system = 22;
|
|
571
|
+
*/
|
|
572
|
+
isSystem: boolean;
|
|
573
|
+
|
|
574
|
+
/**
|
|
575
|
+
* @generated from field: google.protobuf.Timestamp created_at = 8;
|
|
576
|
+
*/
|
|
577
|
+
createdAt?: Timestamp;
|
|
578
|
+
|
|
579
|
+
/**
|
|
580
|
+
* @generated from field: google.protobuf.Timestamp updated_at = 9;
|
|
581
|
+
*/
|
|
582
|
+
updatedAt?: Timestamp;
|
|
583
|
+
};
|
|
584
|
+
|
|
585
|
+
/**
|
|
586
|
+
* Describes the message uplim.api.v1.Integration.
|
|
587
|
+
* Use `create(IntegrationSchema)` to create a new message.
|
|
588
|
+
*/
|
|
589
|
+
export const IntegrationSchema: GenMessage<Integration> = /*@__PURE__*/
|
|
590
|
+
messageDesc(file_uplim_api_v1_integration_types, 10);
|
|
591
|
+
|
|
592
|
+
/**
|
|
593
|
+
* Lightweight integration reference for embedding on resources (uploads, folders).
|
|
594
|
+
*
|
|
595
|
+
* @generated from message uplim.api.v1.IntegrationRef
|
|
596
|
+
*/
|
|
597
|
+
export type IntegrationRef = Message<"uplim.api.v1.IntegrationRef"> & {
|
|
598
|
+
/**
|
|
599
|
+
* @generated from field: string integration_id = 1;
|
|
600
|
+
*/
|
|
601
|
+
integrationId: string;
|
|
602
|
+
|
|
603
|
+
/**
|
|
604
|
+
* @generated from field: string name = 2;
|
|
605
|
+
*/
|
|
606
|
+
name: string;
|
|
607
|
+
|
|
608
|
+
/**
|
|
609
|
+
* @generated from field: string oauth_client_id = 3;
|
|
610
|
+
*/
|
|
611
|
+
oauthClientId: string;
|
|
612
|
+
|
|
613
|
+
/**
|
|
614
|
+
* @generated from field: uplim.api.v1.IntegrationFolderBehavior folder_behavior = 4;
|
|
615
|
+
*/
|
|
616
|
+
folderBehavior: IntegrationFolderBehavior;
|
|
617
|
+
|
|
618
|
+
/**
|
|
619
|
+
* @generated from field: optional string folder_link_url = 5;
|
|
620
|
+
*/
|
|
621
|
+
folderLinkUrl?: string;
|
|
622
|
+
|
|
623
|
+
/**
|
|
624
|
+
* @generated from field: uplim.api.v1.IntegrationMode mode = 6;
|
|
625
|
+
*/
|
|
626
|
+
mode: IntegrationMode;
|
|
627
|
+
|
|
628
|
+
/**
|
|
629
|
+
* @generated from field: bool bucket_launcher_enabled = 7;
|
|
630
|
+
*/
|
|
631
|
+
bucketLauncherEnabled: boolean;
|
|
632
|
+
};
|
|
633
|
+
|
|
634
|
+
/**
|
|
635
|
+
* Describes the message uplim.api.v1.IntegrationRef.
|
|
636
|
+
* Use `create(IntegrationRefSchema)` to create a new message.
|
|
637
|
+
*/
|
|
638
|
+
export const IntegrationRefSchema: GenMessage<IntegrationRef> = /*@__PURE__*/
|
|
639
|
+
messageDesc(file_uplim_api_v1_integration_types, 11);
|
|
640
|
+
|
|
641
|
+
/**
|
|
642
|
+
* A bucket type defined by an integration. One integration can define multiple bucket types.
|
|
643
|
+
* When a bucket is created with BUCKET_TYPE_INTEGRATION, it links to one of these.
|
|
644
|
+
*
|
|
645
|
+
* @generated from message uplim.api.v1.IntegrationBucketType
|
|
646
|
+
*/
|
|
647
|
+
export type IntegrationBucketType = Message<"uplim.api.v1.IntegrationBucketType"> & {
|
|
648
|
+
/**
|
|
649
|
+
* @generated from field: string id = 1;
|
|
650
|
+
*/
|
|
651
|
+
id: string;
|
|
652
|
+
|
|
653
|
+
/**
|
|
654
|
+
* @generated from field: string integration_id = 2;
|
|
655
|
+
*/
|
|
656
|
+
integrationId: string;
|
|
657
|
+
|
|
658
|
+
/**
|
|
659
|
+
* URL-safe identifier for this bucket type (e.g. "npm-registry")
|
|
660
|
+
*
|
|
661
|
+
* @generated from field: string slug = 3;
|
|
662
|
+
*/
|
|
663
|
+
slug: string;
|
|
664
|
+
|
|
665
|
+
/**
|
|
666
|
+
* Display name shown in bucket creation UI (e.g. "npm Registry")
|
|
667
|
+
*
|
|
668
|
+
* @generated from field: string display_name = 4;
|
|
669
|
+
*/
|
|
670
|
+
displayName: string;
|
|
671
|
+
|
|
672
|
+
/**
|
|
673
|
+
* Short description (e.g. "Host and manage npm packages")
|
|
674
|
+
*
|
|
675
|
+
* @generated from field: string description = 5;
|
|
676
|
+
*/
|
|
677
|
+
description: string;
|
|
678
|
+
|
|
679
|
+
/**
|
|
680
|
+
* Optional icon URL for the bucket type
|
|
681
|
+
*
|
|
682
|
+
* @generated from field: optional string icon_url = 6;
|
|
683
|
+
*/
|
|
684
|
+
iconUrl?: string;
|
|
685
|
+
|
|
686
|
+
/**
|
|
687
|
+
* Bucket-level renderer that takes over the entire bucket/portal UI
|
|
688
|
+
*
|
|
689
|
+
* @generated from field: optional uplim.api.v1.IntegrationRendererConfig renderer = 7;
|
|
690
|
+
*/
|
|
691
|
+
renderer?: IntegrationRendererConfig;
|
|
692
|
+
|
|
693
|
+
/**
|
|
694
|
+
* Thumbnail parser applied to ALL uploads in buckets of this type
|
|
695
|
+
*
|
|
696
|
+
* @generated from field: optional uplim.api.v1.IntegrationThumbnailParserConfig thumbnail_parser = 8;
|
|
697
|
+
*/
|
|
698
|
+
thumbnailParser?: IntegrationThumbnailParserConfig;
|
|
699
|
+
|
|
700
|
+
/**
|
|
701
|
+
* @generated from field: google.protobuf.Timestamp created_at = 9;
|
|
702
|
+
*/
|
|
703
|
+
createdAt?: Timestamp;
|
|
704
|
+
|
|
705
|
+
/**
|
|
706
|
+
* @generated from field: google.protobuf.Timestamp updated_at = 10;
|
|
707
|
+
*/
|
|
708
|
+
updatedAt?: Timestamp;
|
|
709
|
+
|
|
710
|
+
/**
|
|
711
|
+
* Auth-API service account ID auto-provisioned for this bucket type
|
|
712
|
+
*
|
|
713
|
+
* @generated from field: optional string service_account_id = 11;
|
|
714
|
+
*/
|
|
715
|
+
serviceAccountId?: string;
|
|
716
|
+
|
|
717
|
+
/**
|
|
718
|
+
* Permission level granted to the service account on new buckets (read, write, admin)
|
|
719
|
+
*
|
|
720
|
+
* @generated from field: optional string service_account_permission = 12;
|
|
721
|
+
*/
|
|
722
|
+
serviceAccountPermission?: string;
|
|
723
|
+
};
|
|
724
|
+
|
|
725
|
+
/**
|
|
726
|
+
* Describes the message uplim.api.v1.IntegrationBucketType.
|
|
727
|
+
* Use `create(IntegrationBucketTypeSchema)` to create a new message.
|
|
728
|
+
*/
|
|
729
|
+
export const IntegrationBucketTypeSchema: GenMessage<IntegrationBucketType> = /*@__PURE__*/
|
|
730
|
+
messageDesc(file_uplim_api_v1_integration_types, 12);
|
|
731
|
+
|
|
732
|
+
/**
|
|
733
|
+
* What kind of resources a content type matches.
|
|
734
|
+
*
|
|
735
|
+
* @generated from enum uplim.api.v1.IntegrationContentTargetKind
|
|
736
|
+
*/
|
|
737
|
+
export enum IntegrationContentTargetKind {
|
|
738
|
+
/**
|
|
739
|
+
* @generated from enum value: CONTENT_TARGET_KIND_UNSPECIFIED = 0;
|
|
740
|
+
*/
|
|
741
|
+
CONTENT_TARGET_KIND_UNSPECIFIED = 0,
|
|
742
|
+
|
|
743
|
+
/**
|
|
744
|
+
* Folders with scoping_integration_id set (/@integration:xxx)
|
|
745
|
+
*
|
|
746
|
+
* @generated from enum value: CONTENT_TARGET_KIND_INTEGRATION_FOLDER = 1;
|
|
747
|
+
*/
|
|
748
|
+
CONTENT_TARGET_KIND_INTEGRATION_FOLDER = 1,
|
|
749
|
+
|
|
750
|
+
/**
|
|
751
|
+
* Folders with virtual_file_enabled = true
|
|
752
|
+
*
|
|
753
|
+
* @generated from enum value: CONTENT_TARGET_KIND_VIRTUAL_FILE = 2;
|
|
754
|
+
*/
|
|
755
|
+
CONTENT_TARGET_KIND_VIRTUAL_FILE = 2,
|
|
756
|
+
|
|
757
|
+
/**
|
|
758
|
+
* Regular folders
|
|
759
|
+
*
|
|
760
|
+
* @generated from enum value: CONTENT_TARGET_KIND_FOLDER = 3;
|
|
761
|
+
*/
|
|
762
|
+
CONTENT_TARGET_KIND_FOLDER = 3,
|
|
763
|
+
|
|
764
|
+
/**
|
|
765
|
+
* Uploads
|
|
766
|
+
*
|
|
767
|
+
* @generated from enum value: CONTENT_TARGET_KIND_UPLOAD = 4;
|
|
768
|
+
*/
|
|
769
|
+
CONTENT_TARGET_KIND_UPLOAD = 4,
|
|
770
|
+
}
|
|
771
|
+
|
|
772
|
+
/**
|
|
773
|
+
* Describes the enum uplim.api.v1.IntegrationContentTargetKind.
|
|
774
|
+
*/
|
|
775
|
+
export const IntegrationContentTargetKindSchema: GenEnum<IntegrationContentTargetKind> = /*@__PURE__*/
|
|
776
|
+
enumDesc(file_uplim_api_v1_integration_types, 0);
|
|
777
|
+
|
|
778
|
+
/**
|
|
779
|
+
* Controls how an integration folder behaves when scoping = "folder".
|
|
780
|
+
*
|
|
781
|
+
* @generated from enum uplim.api.v1.IntegrationFolderBehavior
|
|
782
|
+
*/
|
|
783
|
+
export enum IntegrationFolderBehavior {
|
|
784
|
+
/**
|
|
785
|
+
* @generated from enum value: INTEGRATION_FOLDER_BEHAVIOR_UNSPECIFIED = 0;
|
|
786
|
+
*/
|
|
787
|
+
UNSPECIFIED = 0,
|
|
788
|
+
|
|
789
|
+
/**
|
|
790
|
+
* Folder is a link — clicking opens the integration's external app via callback URL
|
|
791
|
+
*
|
|
792
|
+
* @generated from enum value: INTEGRATION_FOLDER_BEHAVIOR_LINK = 1;
|
|
793
|
+
*/
|
|
794
|
+
LINK = 1,
|
|
795
|
+
|
|
796
|
+
/**
|
|
797
|
+
* Folder uses content type config for rendering
|
|
798
|
+
*
|
|
799
|
+
* @generated from enum value: INTEGRATION_FOLDER_BEHAVIOR_CONTENT_TYPE = 2;
|
|
800
|
+
*/
|
|
801
|
+
CONTENT_TYPE = 2,
|
|
802
|
+
|
|
803
|
+
/**
|
|
804
|
+
* Folder behaves as a normal browsable folder (scoping only, no custom UI)
|
|
805
|
+
*
|
|
806
|
+
* @generated from enum value: INTEGRATION_FOLDER_BEHAVIOR_FOLDER = 3;
|
|
807
|
+
*/
|
|
808
|
+
FOLDER = 3,
|
|
809
|
+
}
|
|
810
|
+
|
|
811
|
+
/**
|
|
812
|
+
* Describes the enum uplim.api.v1.IntegrationFolderBehavior.
|
|
813
|
+
*/
|
|
814
|
+
export const IntegrationFolderBehaviorSchema: GenEnum<IntegrationFolderBehavior> = /*@__PURE__*/
|
|
815
|
+
enumDesc(file_uplim_api_v1_integration_types, 1);
|
|
816
|
+
|
|
817
|
+
/**
|
|
818
|
+
* How a new file template creates its resource
|
|
819
|
+
*
|
|
820
|
+
* @generated from enum uplim.api.v1.NewFileCreationType
|
|
821
|
+
*/
|
|
822
|
+
export enum NewFileCreationType {
|
|
823
|
+
/**
|
|
824
|
+
* @generated from enum value: NEW_FILE_CREATION_TYPE_UNSPECIFIED = 0;
|
|
825
|
+
*/
|
|
826
|
+
UNSPECIFIED = 0,
|
|
827
|
+
|
|
828
|
+
/**
|
|
829
|
+
* Creates a regular folder
|
|
830
|
+
*
|
|
831
|
+
* @generated from enum value: NEW_FILE_CREATION_TYPE_FOLDER = 1;
|
|
832
|
+
*/
|
|
833
|
+
FOLDER = 1,
|
|
834
|
+
|
|
835
|
+
/**
|
|
836
|
+
* Creates a virtual file (folder that appears as a file)
|
|
837
|
+
*
|
|
838
|
+
* @generated from enum value: NEW_FILE_CREATION_TYPE_VIRTUAL_FILE = 2;
|
|
839
|
+
*/
|
|
840
|
+
VIRTUAL_FILE = 2,
|
|
841
|
+
|
|
842
|
+
/**
|
|
843
|
+
* Creates a regular upload
|
|
844
|
+
*
|
|
845
|
+
* @generated from enum value: NEW_FILE_CREATION_TYPE_UPLOAD = 3;
|
|
846
|
+
*/
|
|
847
|
+
UPLOAD = 3,
|
|
848
|
+
}
|
|
849
|
+
|
|
850
|
+
/**
|
|
851
|
+
* Describes the enum uplim.api.v1.NewFileCreationType.
|
|
852
|
+
*/
|
|
853
|
+
export const NewFileCreationTypeSchema: GenEnum<NewFileCreationType> = /*@__PURE__*/
|
|
854
|
+
enumDesc(file_uplim_api_v1_integration_types, 2);
|
|
855
|
+
|
|
856
|
+
/**
|
|
857
|
+
* How an integration is exposed to end users.
|
|
858
|
+
*
|
|
859
|
+
* OWNED: Default. The integration claims resources via bucket type,
|
|
860
|
+
* scoping folder, or upload integration_id. Its content types
|
|
861
|
+
* only apply to resources within that ownership boundary.
|
|
862
|
+
*
|
|
863
|
+
* APPLICATION: Installable third-party app. Users opt-in via Install; once
|
|
864
|
+
* installed, the app's content types match any upload or folder
|
|
865
|
+
* the user views (outside of any owned-integration scope). The
|
|
866
|
+
* user picks "Open with" per file to launch the app's renderer
|
|
867
|
+
* or open_with callback.
|
|
868
|
+
* Constraints (enforced at create time): scoping must be "none";
|
|
869
|
+
* content type kinds restricted to UPLOAD and FOLDER. Mode is
|
|
870
|
+
* immutable after creation.
|
|
871
|
+
*
|
|
872
|
+
* @generated from enum uplim.api.v1.IntegrationMode
|
|
873
|
+
*/
|
|
874
|
+
export enum IntegrationMode {
|
|
875
|
+
/**
|
|
876
|
+
* @generated from enum value: INTEGRATION_MODE_UNSPECIFIED = 0;
|
|
877
|
+
*/
|
|
878
|
+
UNSPECIFIED = 0,
|
|
879
|
+
|
|
880
|
+
/**
|
|
881
|
+
* @generated from enum value: INTEGRATION_MODE_OWNED = 1;
|
|
882
|
+
*/
|
|
883
|
+
OWNED = 1,
|
|
884
|
+
|
|
885
|
+
/**
|
|
886
|
+
* @generated from enum value: INTEGRATION_MODE_APPLICATION = 2;
|
|
887
|
+
*/
|
|
888
|
+
APPLICATION = 2,
|
|
889
|
+
}
|
|
890
|
+
|
|
891
|
+
/**
|
|
892
|
+
* Describes the enum uplim.api.v1.IntegrationMode.
|
|
893
|
+
*/
|
|
894
|
+
export const IntegrationModeSchema: GenEnum<IntegrationMode> = /*@__PURE__*/
|
|
895
|
+
enumDesc(file_uplim_api_v1_integration_types, 3);
|
|
896
|
+
|