@okutrade/account-api
Version:
TypeScript client for OKU Account API using Connect-ES
128 lines (127 loc) • 9.81 kB
JavaScript
// Copyright 2025 Google LLC
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable law or agreed to in writing, software
// distributed under the License is distributed on an "AS IS" BASIS,
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
// See the License for the specific language governing permissions and
// limitations under the License.
import { enumDesc, fileDesc, messageDesc } from "@bufbuild/protobuf/codegenv1";
import { file_google_protobuf_duration, file_google_protobuf_struct, file_google_protobuf_timestamp } from "@bufbuild/protobuf/wkt";
/**
* Describes the file google/api/expr/v1alpha1/syntax.proto.
*/
export const file_google_api_expr_v1alpha1_syntax = /*@__PURE__*/ fileDesc("CiVnb29nbGUvYXBpL2V4cHIvdjFhbHBoYTEvc3ludGF4LnByb3RvEhhnb29nbGUuYXBpLmV4cHIudjFhbHBoYTEidQoKUGFyc2VkRXhwchIsCgRleHByGAIgASgLMh4uZ29vZ2xlLmFwaS5leHByLnYxYWxwaGExLkV4cHISOQoLc291cmNlX2luZm8YAyABKAsyJC5nb29nbGUuYXBpLmV4cHIudjFhbHBoYTEuU291cmNlSW5mbyKKCwoERXhwchIKCgJpZBgCIAEoAxI4Cgpjb25zdF9leHByGAMgASgLMiIuZ29vZ2xlLmFwaS5leHByLnYxYWxwaGExLkNvbnN0YW50SAASOgoKaWRlbnRfZXhwchgEIAEoCzIkLmdvb2dsZS5hcGkuZXhwci52MWFscGhhMS5FeHByLklkZW50SAASPAoLc2VsZWN0X2V4cHIYBSABKAsyJS5nb29nbGUuYXBpLmV4cHIudjFhbHBoYTEuRXhwci5TZWxlY3RIABI4CgljYWxsX2V4cHIYBiABKAsyIy5nb29nbGUuYXBpLmV4cHIudjFhbHBoYTEuRXhwci5DYWxsSAASPgoJbGlzdF9leHByGAcgASgLMikuZ29vZ2xlLmFw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_google_protobuf_duration, file_google_protobuf_struct, file_google_protobuf_timestamp]);
/**
* Describes the message google.api.expr.v1alpha1.ParsedExpr.
* Use `create(ParsedExprSchema)` to create a new message.
*/
export const ParsedExprSchema = /*@__PURE__*/ messageDesc(file_google_api_expr_v1alpha1_syntax, 0);
/**
* Describes the message google.api.expr.v1alpha1.Expr.
* Use `create(ExprSchema)` to create a new message.
*/
export const ExprSchema = /*@__PURE__*/ messageDesc(file_google_api_expr_v1alpha1_syntax, 1);
/**
* Describes the message google.api.expr.v1alpha1.Expr.Ident.
* Use `create(Expr_IdentSchema)` to create a new message.
*/
export const Expr_IdentSchema = /*@__PURE__*/ messageDesc(file_google_api_expr_v1alpha1_syntax, 1, 0);
/**
* Describes the message google.api.expr.v1alpha1.Expr.Select.
* Use `create(Expr_SelectSchema)` to create a new message.
*/
export const Expr_SelectSchema = /*@__PURE__*/ messageDesc(file_google_api_expr_v1alpha1_syntax, 1, 1);
/**
* Describes the message google.api.expr.v1alpha1.Expr.Call.
* Use `create(Expr_CallSchema)` to create a new message.
*/
export const Expr_CallSchema = /*@__PURE__*/ messageDesc(file_google_api_expr_v1alpha1_syntax, 1, 2);
/**
* Describes the message google.api.expr.v1alpha1.Expr.CreateList.
* Use `create(Expr_CreateListSchema)` to create a new message.
*/
export const Expr_CreateListSchema = /*@__PURE__*/ messageDesc(file_google_api_expr_v1alpha1_syntax, 1, 3);
/**
* Describes the message google.api.expr.v1alpha1.Expr.CreateStruct.
* Use `create(Expr_CreateStructSchema)` to create a new message.
*/
export const Expr_CreateStructSchema = /*@__PURE__*/ messageDesc(file_google_api_expr_v1alpha1_syntax, 1, 4);
/**
* Describes the message google.api.expr.v1alpha1.Expr.CreateStruct.Entry.
* Use `create(Expr_CreateStruct_EntrySchema)` to create a new message.
*/
export const Expr_CreateStruct_EntrySchema = /*@__PURE__*/ messageDesc(file_google_api_expr_v1alpha1_syntax, 1, 4, 0);
/**
* Describes the message google.api.expr.v1alpha1.Expr.Comprehension.
* Use `create(Expr_ComprehensionSchema)` to create a new message.
*/
export const Expr_ComprehensionSchema = /*@__PURE__*/ messageDesc(file_google_api_expr_v1alpha1_syntax, 1, 5);
/**
* Describes the message google.api.expr.v1alpha1.Constant.
* Use `create(ConstantSchema)` to create a new message.
*/
export const ConstantSchema = /*@__PURE__*/ messageDesc(file_google_api_expr_v1alpha1_syntax, 2);
/**
* Describes the message google.api.expr.v1alpha1.SourceInfo.
* Use `create(SourceInfoSchema)` to create a new message.
*/
export const SourceInfoSchema = /*@__PURE__*/ messageDesc(file_google_api_expr_v1alpha1_syntax, 3);
/**
* Describes the message google.api.expr.v1alpha1.SourceInfo.Extension.
* Use `create(SourceInfo_ExtensionSchema)` to create a new message.
*/
export const SourceInfo_ExtensionSchema = /*@__PURE__*/ messageDesc(file_google_api_expr_v1alpha1_syntax, 3, 0);
/**
* Describes the message google.api.expr.v1alpha1.SourceInfo.Extension.Version.
* Use `create(SourceInfo_Extension_VersionSchema)` to create a new message.
*/
export const SourceInfo_Extension_VersionSchema = /*@__PURE__*/ messageDesc(file_google_api_expr_v1alpha1_syntax, 3, 0, 0);
/**
* CEL component specifier.
*
* @generated from enum google.api.expr.v1alpha1.SourceInfo.Extension.Component
*/
export var SourceInfo_Extension_Component;
(function (SourceInfo_Extension_Component) {
/**
* Unspecified, default.
*
* @generated from enum value: COMPONENT_UNSPECIFIED = 0;
*/
SourceInfo_Extension_Component[SourceInfo_Extension_Component["UNSPECIFIED"] = 0] = "UNSPECIFIED";
/**
* Parser. Converts a CEL string to an AST.
*
* @generated from enum value: COMPONENT_PARSER = 1;
*/
SourceInfo_Extension_Component[SourceInfo_Extension_Component["PARSER"] = 1] = "PARSER";
/**
* Type checker. Checks that references in an AST are defined and types
* agree.
*
* @generated from enum value: COMPONENT_TYPE_CHECKER = 2;
*/
SourceInfo_Extension_Component[SourceInfo_Extension_Component["TYPE_CHECKER"] = 2] = "TYPE_CHECKER";
/**
* Runtime. Evaluates a parsed and optionally checked CEL AST against a
* context.
*
* @generated from enum value: COMPONENT_RUNTIME = 3;
*/
SourceInfo_Extension_Component[SourceInfo_Extension_Component["RUNTIME"] = 3] = "RUNTIME";
})(SourceInfo_Extension_Component || (SourceInfo_Extension_Component = {}));
/**
* Describes the enum google.api.expr.v1alpha1.SourceInfo.Extension.Component.
*/
export const SourceInfo_Extension_ComponentSchema = /*@__PURE__*/ enumDesc(file_google_api_expr_v1alpha1_syntax, 3, 0, 0);
/**
* Describes the message google.api.expr.v1alpha1.SourcePosition.
* Use `create(SourcePositionSchema)` to create a new message.
*/
export const SourcePositionSchema = /*@__PURE__*/ messageDesc(file_google_api_expr_v1alpha1_syntax, 4);