/
var
/
www
/
greso.tech
/
server
/
nsm
/
node_modules
/
google-gax
/
build
/
src
/
/var/www/greso.tech/server/nsm/node_modules/google-gax/build/src
mkdir
upload
Name
Size
Mode
Actions
bundlingCalls/
-
0755
rm
longRunningCalls/
-
0755
rm
normalCalls/
-
0755
rm
paginationCalls/
-
0755
rm
streamingCalls/
-
0755
rm
apiCaller.d.ts
1746
0644
edit
dl
rm
apiCaller.js
1037
0644
edit
dl
rm
apiCaller.js.map
322
0644
edit
dl
rm
apitypes.d.ts
2790
0644
edit
dl
rm
apitypes.js
709
0644
edit
dl
rm
apitypes.js.map
134
0644
edit
dl
rm
call.d.ts
1957
0644
edit
dl
rm
call.js
3885
0644
edit
dl
rm
call.js.map
2110
0644
edit
dl
rm
clientInterface.d.ts
1752
0644
edit
dl
rm
clientInterface.js
908
0644
edit
dl
rm
clientInterface.js.map
333
0644
edit
dl
rm
createApiCall.d.ts
1802
0644
edit
dl
rm
createApiCall.js
4498
0644
edit
dl
rm
createApiCall.js.map
1874
0644
edit
dl
rm
descriptor.d.ts
1073
0644
edit
dl
rm
descriptor.js
1691
0644
edit
dl
rm
descriptor.js.map
286
0644
edit
dl
rm
fallback.d.ts
7761
0644
edit
dl
rm
fallback.js
16991
0644
edit
dl
rm
fallback.js.map
7196
0644
edit
dl
rm
fallbackProto.d.ts
946
0644
edit
dl
rm
fallbackProto.js
2266
0644
edit
dl
rm
fallbackProto.js.map
1429
0644
edit
dl
rm
fallbackRest.d.ts
969
0644
edit
dl
rm
fallbackRest.js
3353
0644
edit
dl
rm
fallbackRest.js.map
2139
0644
edit
dl
rm
fallbackServiceStub.d.ts
1683
0644
edit
dl
rm
fallbackServiceStub.js
6326
0644
edit
dl
rm
fallbackServiceStub.js.map
3663
0644
edit
dl
rm
featureDetection.d.ts
856
0644
edit
dl
rm
featureDetection.js
2114
0644
edit
dl
rm
featureDetection.js.map
924
0644
edit
dl
rm
gax.d.ts
15050
0644
edit
dl
rm
gax.js
22520
0644
edit
dl
rm
gax.js.map
8360
0644
edit
dl
rm
googleError.d.ts
2426
0644
edit
dl
rm
googleError.js
9885
0644
edit
dl
rm
googleError.js.map
6023
0644
edit
dl
rm
grpc.d.ts
9025
0644
edit
dl
rm
grpc.js
20632
0644
edit
dl
rm
grpc.js.map
11416
0644
edit
dl
rm
iamService.d.ts
5954
0644
edit
dl
rm
iamService.js
9053
0644
edit
dl
rm
iamService.js.map
5948
0644
edit
dl
rm
iam_policy_service_client_config.json
1063
0644
edit
dl
rm
index.d.ts
3101
0644
edit
dl
rm
index.js
7450
0644
edit
dl
rm
index.js.map
1680
0644
edit
dl
rm
locationService.d.ts
7410
0644
edit
dl
rm
locationService.js
17079
0644
edit
dl
rm
locationService.js.map
7041
0644
edit
dl
rm
locations_client_config.json
933
0644
edit
dl
rm
operationsClient.d.ts
16313
0644
edit
dl
rm
operationsClient.js
19983
0644
edit
dl
rm
operationsClient.js.map
5743
0644
edit
dl
rm
operations_client_config.json
1249
0644
edit
dl
rm
pathTemplate.d.ts
1966
0644
edit
dl
rm
pathTemplate.js
9933
0644
edit
dl
rm
pathTemplate.js.map
6595
0644
edit
dl
rm
protobuf.d.ts
651
0644
edit
dl
rm
protobuf.js
1037
0644
edit
dl
rm
protobuf.js.map
207
0644
edit
dl
rm
protosList.json
4921
0644
edit
dl
rm
routingHeader.d.ts
1124
0644
edit
dl
rm
routingHeader.js
1317
0644
edit
dl
rm
routingHeader.js.map
283
0644
edit
dl
rm
status.d.ts
1153
0644
edit
dl
rm
status.js
3229
0644
edit
dl
rm
status.js.map
1570
0644
edit
dl
rm
streamArrayParser.d.ts
2273
0644
edit
dl
rm
streamArrayParser.js
6169
0644
edit
dl
rm
streamArrayParser.js.map
3259
0644
edit
dl
rm
transcoding.d.ts
2371
0644
edit
dl
rm
transcoding.js
10877
0644
edit
dl
rm
transcoding.js.map
8674
0644
edit
dl
rm
util.d.ts
1254
0644
edit
dl
rm
util.js
3473
0644
edit
dl
rm
util.js.map
2359
0644
edit
dl
rm
warnings.d.ts
682
0644
edit
dl
rm
warnings.js
1381
0644
edit
dl
rm
warnings.js.map
634
0644
edit
dl
rm
Edit:
/var/www/greso.tech/server/nsm/node_modules/google-gax/build/src/gax.d.ts
(15050B)
/** * 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. */ /** * Google API Extensions */ import type { Message } from 'protobufjs'; import { BundleOptions } from './bundlingCalls/bundleExecutor'; /** * Encapsulates the overridable settings for a particular API call. * * ``CallOptions`` is an optional arg for all GAX API calls. It is used to * configure the settings of a specific API call. * * When provided, its values override the GAX service defaults for that * particular call. * * Typically the API clients will accept this as the second to the last * argument. See the examples below. * @typedef {Object} CallOptions * @property {number=} timeout - The client-side timeout for API calls. * @property {RetryOptions=} retry - determines whether and how to retry * on transient errors. When set to null, the call will not retry. * @property {boolean=} autoPaginate - If set to false and the call is * configured for paged iteration, page unrolling is not performed, instead * the callback will be called with the response object. * @property {Object=} pageToken - If set and the call is configured for * paged iteration, paged iteration is not performed and requested with this * pageToken. * @property {number} maxResults - If set and the call is configured for * paged iteration, the call will stop when the number of response elements * reaches to the specified size. By default, it will unroll the page to * the end of the list. * @property {boolean=} isBundling - If set to false and the call is configured * for bundling, bundling is not performed. * @property {BackoffSettings=} longrunning - BackoffSettings used for polling. * @example * // suppress bundling for bundled method. * api.bundlingMethod( * param, {optParam: aValue, isBundling: false}, function(err, response) { * // handle response. * }); * @example * // suppress streaming for page-streaming method. * api.pageStreamingMethod( * param, {optParam: aValue, autoPaginate: false}, function(err, page) { * // not returning a stream, but callback is called with the paged response. * }); */ /** * Per-call configurable settings for retrying upon transient failure. * @typedef {Object} RetryOptions * @property {String[]} retryCodes * @property {BackoffSettings} backoffSettings */ export declare class RetryOptions { retryCodes: number[]; backoffSettings: BackoffSettings; constructor(retryCodes: number[], backoffSettings: BackoffSettings); } export interface RetryRequestOptions { objectMode?: boolean; request?: any; retries?: number; noResponseRetries?: number; currentRetryAttempt?: number; shouldRetryFn?: () => boolean; } /** * Parameters to the exponential backoff algorithm for retrying. * @typedef {Object} BackoffSettings * @property {number} initialRetryDelayMillis - the initial delay time, * in milliseconds, between the completion of the first failed request and the * initiation of the first retrying request. * @property {number} retryDelayMultiplier - the multiplier by which to * increase the delay time between the completion of failed requests, and the * initiation of the subsequent retrying request. * @property {number} maxRetryDelayMillis - the maximum delay time, in * milliseconds, between requests. When this value is reached, * ``retryDelayMultiplier`` will no longer be used to increase delay time. * @property {number} initialRpcTimeoutMillis - the initial timeout parameter * to the request. * @propetry {number} rpcTimeoutMultiplier - the multiplier by which to * increase the timeout parameter between failed requests. * @property {number} maxRpcTimeoutMillis - the maximum timeout parameter, in * milliseconds, for a request. When this value is reached, * ``rpcTimeoutMultiplier`` will no longer be used to increase the timeout. * @property {number} totalTimeoutMillis - the total time, in milliseconds, * starting from when the initial request is sent, after which an error will * be returned, regardless of the retrying attempts made meanwhile. */ export interface BackoffSettings { maxRetries?: number; initialRetryDelayMillis: number; retryDelayMultiplier: number; maxRetryDelayMillis: number; initialRpcTimeoutMillis?: number | null; maxRpcTimeoutMillis?: number | null; totalTimeoutMillis?: number | null; rpcTimeoutMultiplier?: number | null; } export interface CallOptions { timeout?: number; retry?: Partial<RetryOptions> | null; autoPaginate?: boolean; maxResults?: number; maxRetries?: number; otherArgs?: { [index: string]: any; }; bundleOptions?: BundleOptions | null; isBundling?: boolean; longrunning?: BackoffSettings; apiName?: string; retryRequestOptions?: RetryRequestOptions; } export declare class CallSettings { timeout: number; retry?: RetryOptions | null; autoPaginate?: boolean; pageToken?: string; pageSize?: number; maxResults?: number; otherArgs: { [index: string]: any; }; bundleOptions?: BundleOptions | null; isBundling: boolean; longrunning?: BackoffSettings; apiName?: string; retryRequestOptions?: RetryRequestOptions; /** * @param {Object} settings - An object containing parameters of this settings. * @param {number} settings.timeout - The client-side timeout for API calls. * This parameter is ignored for retrying calls. * @param {RetryOptions} settings.retry - The configuration for retrying upon * transient error. If set to null, this call will not retry. * @param {boolean} settings.autoPaginate - If there is no `pageDescriptor`, * this attrbute has no meaning. Otherwise, determines whether a page * streamed response should make the page structure transparent to the user by * flattening the repeated field in the returned generator. * @param {number} settings.pageToken - If there is no `pageDescriptor`, * this attribute has no meaning. Otherwise, determines the page token used * in the page streaming request. * @param {Object} settings.otherArgs - Additional arguments to be passed to * the API calls. * * @constructor */ constructor(settings?: CallOptions); /** * Returns a new CallSettings merged from this and a CallOptions object. * * @param {CallOptions} options - an instance whose values override * those in this object. If null, ``merge`` returns a copy of this * object * @return {CallSettings} The merged CallSettings instance. */ merge(options?: CallOptions | null): CallSettings; } /** * Per-call configurable settings for retrying upon transient failure. * * @param {number[]} retryCodes - a list of Google API canonical error codes * upon which a retry should be attempted. * @param {BackoffSettings} backoffSettings - configures the retry * exponential backoff algorithm. * @return {RetryOptions} A new RetryOptions object. * */ export declare function createRetryOptions(retryCodes: number[], backoffSettings: BackoffSettings): RetryOptions; /** * Parameters to the exponential backoff algorithm for retrying. * * @param {number} initialRetryDelayMillis - the initial delay time, * in milliseconds, between the completion of the first failed request and the * initiation of the first retrying request. * @param {number} retryDelayMultiplier - the multiplier by which to * increase the delay time between the completion of failed requests, and the * initiation of the subsequent retrying request. * @param {number} maxRetryDelayMillis - the maximum delay time, in * milliseconds, between requests. When this value is reached, * ``retryDelayMultiplier`` will no longer be used to increase delay time. * @param {number} initialRpcTimeoutMillis - the initial timeout parameter * to the request. * @param {number} rpcTimeoutMultiplier - the multiplier by which to * increase the timeout parameter between failed requests. * @param {number} maxRpcTimeoutMillis - the maximum timeout parameter, in * milliseconds, for a request. When this value is reached, * ``rpcTimeoutMultiplier`` will no longer be used to increase the timeout. * @param {number} totalTimeoutMillis - the total time, in milliseconds, * starting from when the initial request is sent, after which an error will * be returned, regardless of the retrying attempts made meanwhile. * @return {BackoffSettings} a new settings. * */ export declare function createBackoffSettings(initialRetryDelayMillis: number, retryDelayMultiplier: number, maxRetryDelayMillis: number, initialRpcTimeoutMillis: number | null, rpcTimeoutMultiplier: number | null, maxRpcTimeoutMillis: number | null, totalTimeoutMillis: number | null): BackoffSettings; export declare function createDefaultBackoffSettings(): BackoffSettings; /** * Parameters to the exponential backoff algorithm for retrying. * This function is unsupported, and intended for internal use only. * * @param {number} initialRetryDelayMillis - the initial delay time, * in milliseconds, between the completion of the first failed request and the * initiation of the first retrying request. * @param {number} retryDelayMultiplier - the multiplier by which to * increase the delay time between the completion of failed requests, and the * initiation of the subsequent retrying request. * @param {number} maxRetryDelayMillis - the maximum delay time, in * milliseconds, between requests. When this value is reached, * ``retryDelayMultiplier`` will no longer be used to increase delay time. * @param {number} initialRpcTimeoutMillis - the initial timeout parameter * to the request. * @param {number} rpcTimeoutMultiplier - the multiplier by which to * increase the timeout parameter between failed requests. * @param {number} maxRpcTimeoutMillis - the maximum timeout parameter, in * milliseconds, for a request. When this value is reached, * ``rpcTimeoutMultiplier`` will no longer be used to increase the timeout. * @param {number} maxRetries - the maximum number of retrying attempts that * will be made. If reached, an error will be returned. * @return {BackoffSettings} a new settings. * */ export declare function createMaxRetriesBackoffSettings(initialRetryDelayMillis: number, retryDelayMultiplier: number, maxRetryDelayMillis: number, initialRpcTimeoutMillis: number, rpcTimeoutMultiplier: number, maxRpcTimeoutMillis: number, maxRetries: number): BackoffSettings; /** * Creates a new {@link BundleOptions}. * * @private * @param {Object} options - An object to hold optional parameters. See * properties for the content of options. * @return {BundleOptions} - A new options. */ export declare function createBundleOptions(options: BundlingConfig): BundleOptions; export interface ServiceConfig { retry_codes?: { [index: string]: string[]; }; retry_params?: { [index: string]: RetryParamsConfig; }; methods: { [index: string]: MethodConfig | null; }; } export interface RetryParamsConfig { initial_retry_delay_millis: number; retry_delay_multiplier: number; max_retry_delay_millis: number; initial_rpc_timeout_millis: number; rpc_timeout_multiplier: number; max_rpc_timeout_millis: number; total_timeout_millis: number; } export interface MethodConfig { retry_codes_name?: string; retry_params_name?: string; bundling?: BundlingConfig | null; timeout_millis?: number; } export interface BundlingConfig { element_count_threshold: number; element_count_limit: number; request_byte_threshold?: number; request_byte_limit?: number; delay_threshold_millis?: number; } export interface ClientConfig { interfaces?: { [index: string]: ServiceConfig; }; } /** * Constructs a dictionary mapping method names to {@link CallSettings}. * * The `clientConfig` parameter is parsed from a client configuration JSON * file of the form: * * { * "interfaces": { * "google.fake.v1.ServiceName": { * "retry_codes": { * "idempotent": ["UNAVAILABLE", "DEADLINE_EXCEEDED"], * "non_idempotent": [] * }, * "retry_params": { * "default": { * "initial_retry_delay_millis": 100, * "retry_delay_multiplier": 1.2, * "max_retry_delay_millis": 1000, * "initial_rpc_timeout_millis": 2000, * "rpc_timeout_multiplier": 1.5, * "max_rpc_timeout_millis": 30000, * "total_timeout_millis": 45000 * } * }, * "methods": { * "CreateFoo": { * "retry_codes_name": "idempotent", * "retry_params_name": "default" * }, * "Publish": { * "retry_codes_name": "non_idempotent", * "retry_params_name": "default", * "bundling": { * "element_count_threshold": 40, * "element_count_limit": 200, * "request_byte_threshold": 90000, * "request_byte_limit": 100000, * "delay_threshold_millis": 100 * } * } * } * } * } * } * * @param {String} serviceName - The fully-qualified name of this * service, used as a key into the client config file (in the * example above, this value should be 'google.fake.v1.ServiceName'). * @param {Object} clientConfig - A dictionary parsed from the * standard API client config file. * @param {Object} configOverrides - A dictionary in the same structure of * client_config to override the settings. * @param {Object.<string, string[]>} retryNames - A dictionary mapping the strings * referring to response status codes to objects representing * those codes. * @param {Object} otherArgs - the non-request arguments to be passed to the API * calls. * @return {Object} A mapping from method name to CallSettings, or null if the * service is not found in the config. */ export declare function constructSettings(serviceName: string, clientConfig: ClientConfig, configOverrides: ClientConfig, retryNames: {}, otherArgs?: {}): any; export declare function createByteLengthFunction(message: typeof Message): (obj: {}) => number;
Save
cmd:
run