/var/www/greso.tech/server/nsm/node_modules/google-gax/build/src
NameSizeModeActions
bundlingCalls/-0755rm
longRunningCalls/-0755rm
normalCalls/-0755rm
paginationCalls/-0755rm
streamingCalls/-0755rm
apiCaller.d.ts17460644editdlrm
apiCaller.js10370644editdlrm
apiCaller.js.map3220644editdlrm
apitypes.d.ts27900644editdlrm
apitypes.js7090644editdlrm
apitypes.js.map1340644editdlrm
call.d.ts19570644editdlrm
call.js38850644editdlrm
call.js.map21100644editdlrm
clientInterface.d.ts17520644editdlrm
clientInterface.js9080644editdlrm
clientInterface.js.map3330644editdlrm
createApiCall.d.ts18020644editdlrm
createApiCall.js44980644editdlrm
createApiCall.js.map18740644editdlrm
descriptor.d.ts10730644editdlrm
descriptor.js16910644editdlrm
descriptor.js.map2860644editdlrm
fallback.d.ts77610644editdlrm
fallback.js169910644editdlrm
fallback.js.map71960644editdlrm
fallbackProto.d.ts9460644editdlrm
fallbackProto.js22660644editdlrm
fallbackProto.js.map14290644editdlrm
fallbackRest.d.ts9690644editdlrm
fallbackRest.js33530644editdlrm
fallbackRest.js.map21390644editdlrm
fallbackServiceStub.d.ts16830644editdlrm
fallbackServiceStub.js63260644editdlrm
fallbackServiceStub.js.map36630644editdlrm
featureDetection.d.ts8560644editdlrm
featureDetection.js21140644editdlrm
featureDetection.js.map9240644editdlrm
gax.d.ts150500644editdlrm
gax.js225200644editdlrm
gax.js.map83600644editdlrm
googleError.d.ts24260644editdlrm
googleError.js98850644editdlrm
googleError.js.map60230644editdlrm
grpc.d.ts90250644editdlrm
grpc.js206320644editdlrm
grpc.js.map114160644editdlrm
iamService.d.ts59540644editdlrm
iamService.js90530644editdlrm
iamService.js.map59480644editdlrm
iam_policy_service_client_config.json10630644editdlrm
index.d.ts31010644editdlrm
index.js74500644editdlrm
index.js.map16800644editdlrm
locationService.d.ts74100644editdlrm
locationService.js170790644editdlrm
locationService.js.map70410644editdlrm
locations_client_config.json9330644editdlrm
operationsClient.d.ts163130644editdlrm
operationsClient.js199830644editdlrm
operationsClient.js.map57430644editdlrm
operations_client_config.json12490644editdlrm
pathTemplate.d.ts19660644editdlrm
pathTemplate.js99330644editdlrm
pathTemplate.js.map65950644editdlrm
protobuf.d.ts6510644editdlrm
protobuf.js10370644editdlrm
protobuf.js.map2070644editdlrm
protosList.json49210644editdlrm
routingHeader.d.ts11240644editdlrm
routingHeader.js13170644editdlrm
routingHeader.js.map2830644editdlrm
status.d.ts11530644editdlrm
status.js32290644editdlrm
status.js.map15700644editdlrm
streamArrayParser.d.ts22730644editdlrm
streamArrayParser.js61690644editdlrm
streamArrayParser.js.map32590644editdlrm
transcoding.d.ts23710644editdlrm
transcoding.js108770644editdlrm
transcoding.js.map86740644editdlrm
util.d.ts12540644editdlrm
util.js34730644editdlrm
util.js.map23590644editdlrm
warnings.d.ts6820644editdlrm
warnings.js13810644editdlrm
warnings.js.map6340644editdlrm
Edit: /var/www/greso.tech/server/nsm/node_modules/google-gax/build/src/grpc.d.ts (9025B)
/** * Copyright 2020 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 * as grpcProtoLoader from '@grpc/proto-loader'; import { GoogleAuth, GoogleAuthOptions } from 'google-auth-library'; import * as grpc from '@grpc/grpc-js'; import { OutgoingHttpHeaders } from 'http'; import * as protobuf from 'protobufjs'; import * as gax from './gax'; import { ClientOptions } from '@grpc/grpc-js/build/src/client'; import { google } from '../protos/http'; export interface GrpcClientOptions extends GoogleAuthOptions { auth?: GoogleAuth; grpc?: GrpcModule; protoJson?: protobuf.Root; httpRules?: Array; numericEnums?: boolean; } export interface MetadataValue { equals: Function; } export interface Metadata { new (): Metadata; set: (key: {}, value?: {} | null) => void; clone: () => Metadata; value: MetadataValue; get: (key: {}) => {}; } export type GrpcModule = typeof grpc; export interface ClientStubOptions { protocol?: string; servicePath?: string; port?: number; sslCreds?: grpc.ChannelCredentials; [index: string]: string | number | undefined | {}; cert?: string; key?: string; } export declare class ClientStub extends grpc.Client { [name: string]: Function; } export declare class GrpcClient { auth: GoogleAuth; grpc: GrpcModule; grpcVersion: string; fallback: boolean | 'rest' | 'proto'; private static protoCache; httpRules?: Array; /** * Key for proto cache map. We are doing our best to make sure we respect * the options, so if the same proto file is loaded with different set of * options, the cache won't be used. Since some of the options are * Functions (e.g. `enums: String` - see below in `loadProto()`), * they will be omitted from the cache key. If the cache breaks anything * for you, use the `ignoreCache` parameter of `loadProto()` to disable it. */ private static protoCacheKey; /** * In rare cases users might need to deallocate all memory consumed by loaded protos. * This method will delete the proto cache content. */ static clearProtoCache(): void; /** * A class which keeps the context of gRPC and auth for the gRPC. * * @param {Object=} options - The optional parameters. It will be directly * passed to google-auth-library library, so parameters like keyFile or * credentials will be valid. * @param {Object=} options.auth - An instance of google-auth-library. * When specified, this auth instance will be used instead of creating * a new one. * @param {Object=} options.grpc - When specified, this will be used * for the 'grpc' module in this context. By default, it will load the grpc * module in the standard way. * @constructor */ constructor(options?: GrpcClientOptions); /** * Creates a gRPC credentials. It asks the auth data if necessary. * @private * @param {Object} opts - options values for configuring credentials. * @param {Object=} opts.sslCreds - when specified, this is used instead * of default channel credentials. * @return {Promise} The promise which will be resolved to the gRPC credential. */ _getCredentials(opts: ClientStubOptions): Promise; private static defaultOptions; /** * Loads the gRPC service from the proto file(s) at the given path and with the * given options. Caches the loaded protos so the subsequent loads don't do * any disk reads. * @param filename The path to the proto file(s). * @param options Options for loading the proto file. * @param ignoreCache Defaults to `false`. Set it to `true` if the caching logic * incorrectly decides that the options object is the same, or if you want to * re-read the protos from disk for any other reason. */ loadFromProto(filename: string | string[], options: grpcProtoLoader.Options, ignoreCache?: boolean): grpc.GrpcObject; /** * Load gRPC proto service from a filename looking in googleapis common protos * when necessary. Caches the loaded protos so the subsequent loads don't do * any disk reads. * @param {String} protoPath - The directory to search for the protofile. * @param {String|String[]} filename - The filename(s) of the proto(s) to be loaded. * If omitted, protoPath will be treated as a file path to load. * @param ignoreCache Defaults to `false`. Set it to `true` if the caching logic * incorrectly decides that the options object is the same, or if you want to * re-read the protos from disk for any other reason. * @return {Object} The gRPC loaded result (the toplevel namespace * object). */ loadProto(protoPath: string, filename?: string | string[], ignoreCache?: boolean): grpc.GrpcObject; static _resolveFile(protoPath: string, filename: string): string; loadProtoJSON(json: protobuf.INamespace, ignoreCache?: boolean): grpc.GrpcObject; metadataBuilder(headers: OutgoingHttpHeaders): (abTests?: {}, moreHeaders?: OutgoingHttpHeaders) => grpc.Metadata; /** * A wrapper of {@link constructSettings} function under the gRPC context. * * Most of parameters are common among constructSettings, please take a look. * @param {string} serviceName - The fullly-qualified name of the service. * @param {Object} clientConfig - A dictionary of the client config. * @param {Object} configOverrides - A dictionary of overriding configs. * @param {Object} headers - A dictionary of additional HTTP header name to * its value. * @return {Object} A mapping of method names to CallSettings. */ constructSettings(serviceName: string, clientConfig: gax.ClientConfig, configOverrides: gax.ClientConfig, headers: OutgoingHttpHeaders): any; /** * Creates a gRPC stub with current gRPC and auth. * @param {function} CreateStub - The constructor function of the stub. * @param {Object} options - The optional arguments to customize * gRPC connection. This options will be passed to the constructor of * gRPC client too. * @param {string} options.servicePath - The name of the server of the service. * @param {number} options.port - The port of the service. * @param {grpcTypes.ClientCredentials=} options.sslCreds - The credentials to be used * to set up gRPC connection. * @param {string} defaultServicePath - The default service path. * @return {Promise} A promise which resolves to a gRPC stub instance. */ createStub(CreateStub: typeof ClientStub, options: ClientStubOptions, customServicePath?: boolean): Promise; /** * Detect mTLS client certificate based on logic described in * https://google.aip.dev/auth/4114. * * @param {object} [options] - The configuration object. * @returns {Promise} Resolves array of strings representing cert and key. */ _detectClientCertificate(opts?: ClientOptions): Promise; /** * Return service path, taking into account mTLS logic. * See: https://google.aip.dev/auth/4114 * * @param {string|undefined} servicePath - The path of the service. * @param {string|undefined} customServicePath - Did the user provide a custom service URL. * @param {boolean} hasCertificate - Was a certificate found. * @returns {string} The DNS address for this service. */ _mtlsServicePath(servicePath: string | undefined, customServicePath: boolean | undefined, hasCertificate: boolean): string | undefined; /** * Creates a 'bytelength' function for a given proto message class. * * See {@link BundleDescriptor} about the meaning of the return value. * * @param {function} message - a constructor function that is generated by * protobuf.js. Assumes 'encoder' field in the message. * @return {function(Object):number} - a function to compute the byte length * for an object. */ static createByteLengthFunction(message: typeof protobuf.Message): (obj: {}) => number; } export declare class GoogleProtoFilesRoot extends protobuf.Root { constructor(...args: Array<{}>); resolvePath(originPath: string, includePath: string): string; static _findIncludePath(originPath: string, includePath: string): string; }