API Client for interfacing with the Gbox Client API.
Optional
__namedParameters: ClientOptions = {}Protected
_Protected
Optional
idempotencyStatic
APIStatic
APIStatic
APIStatic
APIStatic
AuthenticationStatic
BadStatic
ConflictStatic
DEFAULT_Static
GboxStatic
GboxStatic
InternalStatic
NotStatic
PermissionStatic
RateStatic
toHelper for creating a File to pass to an SDK upload method from a variety of different data formats
the raw content of the file. Can be an Uploadable, BlobLikePart, or AsyncIterable of BlobLikeParts
Optional
name: null | stringthe name of the file. If omitted, toFile will try to determine a file name from bits if possible
Optional
options: FilePropertyBagadditional properties
the MIME type of the content
the last modified timestamp
a File with the given properties
Static
UnprocessableProtected
authProtected
defaultProtected
defaultOptional
opts: PromiseOrValue<RequestOptions>Optional
opts: PromiseOrValue<RequestOptions>Protected
makeOptional
opts: PromiseOrValue<RequestOptions>Optional
opts: PromiseOrValue<RequestOptions>Protected
prepareUsed as a callback for mutating the given FinalRequestOptions
object.
Protected
prepareUsed as a callback for mutating the given RequestInit
object.
This is useful for cases where you want to add certain headers based off of
the request properties, e.g. method
or url
.
Optional
opts: PromiseOrValue<RequestOptions>Protected
stringifyProtected
validateCreate a new client instance re-using the same options given to the current client with optional overriding.
API Client for interfacing with the Gbox Client API.