@okutrade/account-api
Version:
TypeScript client for OKU Account API using Connect-ES
88 lines (87 loc) • 6.74 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 { extDesc, fileDesc, messageDesc, serviceDesc } from "@bufbuild/protobuf/codegenv1";
import { file_google_api_annotations } from "../api/annotations_pb.js";
import { file_google_api_client } from "../api/client_pb.js";
import { file_google_protobuf_any, file_google_protobuf_descriptor, file_google_protobuf_duration, file_google_protobuf_empty } from "@bufbuild/protobuf/wkt";
import { file_google_rpc_status } from "../rpc/status_pb.js";
/**
* Describes the file google/longrunning/operations.proto.
*/
export const file_google_longrunning_operations = /*@__PURE__*/ fileDesc("CiNnb29nbGUvbG9uZ3J1bm5pbmcvb3BlcmF0aW9ucy5wcm90bxISZ29vZ2xlLmxvbmdydW5uaW5nIqgBCglPcGVyYXRpb24SDAoEbmFtZRgBIAEoCRImCghtZXRhZGF0YRgCIAEoCzIULmdvb2dsZS5wcm90b2J1Zi5BbnkSDAoEZG9uZRgDIAEoCBIjCgVlcnJvchgEIAEoCzISLmdvb2dsZS5ycGMuU3RhdHVzSAASKAoIcmVzcG9uc2UYBSABKAsyFC5nb29nbGUucHJvdG9idWYuQW55SABCCAoGcmVzdWx0IiMKE0dldE9wZXJhdGlvblJlcXVlc3QSDAoEbmFtZRgBIAEoCSJcChVMaXN0T3BlcmF0aW9uc1JlcXVlc3QSDAoEbmFtZRgEIAEoCRIOCgZmaWx0ZXIYASABKAkSEQoJcGFnZV9zaXplGAIgASgFEhIKCnBhZ2VfdG9rZW4YAyABKAkiZAoWTGlzdE9wZXJhdGlvbnNSZXNwb25zZRIxCgpvcGVyY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nVmLkVtcHR5IjHaQQRuYW1lgtPkkwIkOgEqIh8vdjEve25hbWU9b3BlcmF0aW9ucy8qKn06Y2FuY2VsEloKDVdhaXRPcGVyYXRpb24SKC5nb29nbGUubG9uZ3J1bm5pbmcuV2FpdE9wZXJhdGlvblJlcXVlc3QaHS5nb29nbGUubG9uZ3J1bm5pbmcuT3BlcmF0aW9uIgAaHcpBGmxvbmdydW5uaW5nLmdvb2dsZWFwaXMuY29tOmkKDm9wZXJhdGlvbl9pbmZvEh4uZ29vZ2xlLnByb3RvYnVmLk1ldGhvZE9wdGlvbnMYmQggASgLMiEuZ29vZ2xlLmxvbmdydW5uaW5nLk9wZXJhdGlvbkluZm9SDW9wZXJhdGlvbkluZm9CpQEKFmNvbS5nb29nbGUubG9uZ3J1bm5pbmdCD09wZXJhdGlvbnNQcm90b1ABWkNjbG91ZC5nb29nbGUuY29tL2dvL2xvbmdydW5uaW5nL2F1dG9nZW4vbG9uZ3J1bm5pbmdwYjtsb25ncnVubmluZ3Bi+AEBogIFR0xSVU6qAhJHb29nbGUuTG9uZ1J1bm5pbmfKAhJHb29nbGVcTG9uZ1J1bm5pbmdiBnByb3RvMw", [file_google_api_annotations, file_google_api_client, file_google_protobuf_any, file_google_protobuf_descriptor, file_google_protobuf_duration, file_google_protobuf_empty, file_google_rpc_status]);
/**
* Describes the message google.longrunning.Operation.
* Use `create(OperationSchema)` to create a new message.
*/
export const OperationSchema = /*@__PURE__*/ messageDesc(file_google_longrunning_operations, 0);
/**
* Describes the message google.longrunning.GetOperationRequest.
* Use `create(GetOperationRequestSchema)` to create a new message.
*/
export const GetOperationRequestSchema = /*@__PURE__*/ messageDesc(file_google_longrunning_operations, 1);
/**
* Describes the message google.longrunning.ListOperationsRequest.
* Use `create(ListOperationsRequestSchema)` to create a new message.
*/
export const ListOperationsRequestSchema = /*@__PURE__*/ messageDesc(file_google_longrunning_operations, 2);
/**
* Describes the message google.longrunning.ListOperationsResponse.
* Use `create(ListOperationsResponseSchema)` to create a new message.
*/
export const ListOperationsResponseSchema = /*@__PURE__*/ messageDesc(file_google_longrunning_operations, 3);
/**
* Describes the message google.longrunning.CancelOperationRequest.
* Use `create(CancelOperationRequestSchema)` to create a new message.
*/
export const CancelOperationRequestSchema = /*@__PURE__*/ messageDesc(file_google_longrunning_operations, 4);
/**
* Describes the message google.longrunning.DeleteOperationRequest.
* Use `create(DeleteOperationRequestSchema)` to create a new message.
*/
export const DeleteOperationRequestSchema = /*@__PURE__*/ messageDesc(file_google_longrunning_operations, 5);
/**
* Describes the message google.longrunning.WaitOperationRequest.
* Use `create(WaitOperationRequestSchema)` to create a new message.
*/
export const WaitOperationRequestSchema = /*@__PURE__*/ messageDesc(file_google_longrunning_operations, 6);
/**
* Describes the message google.longrunning.OperationInfo.
* Use `create(OperationInfoSchema)` to create a new message.
*/
export const OperationInfoSchema = /*@__PURE__*/ messageDesc(file_google_longrunning_operations, 7);
/**
* Manages long-running operations with an API service.
*
* When an API method normally takes long time to complete, it can be designed
* to return [Operation][google.longrunning.Operation] to the client, and the
* client can use this interface to receive the real response asynchronously by
* polling the operation resource, or pass the operation resource to another API
* (such as Pub/Sub API) to receive the response. Any API service that returns
* long-running operations should implement the `Operations` interface so
* developers can have a consistent client experience.
*
* @generated from service google.longrunning.Operations
*/
export const Operations = /*@__PURE__*/ serviceDesc(file_google_longrunning_operations, 0);
/**
* Additional information regarding long-running operations.
* In particular, this specifies the types that are returned from
* long-running operations.
*
* Required for methods that return `google.longrunning.Operation`; invalid
* otherwise.
*
* @generated from extension: google.longrunning.OperationInfo operation_info = 1049;
*/
export const operation_info = /*@__PURE__*/ extDesc(file_google_longrunning_operations, 0);