@archastro/sdk
Preparing search index...
client
PlatformClientClass
Interface PlatformClientClass<TClient>
interface
PlatformClientClass
<
TClient
extends
PlatformClient
=
PlatformClient
>
{
new
PlatformClientClass
(
...
args
:
any
[]
)
:
TClient
;
extend
<
TExtended
extends
PlatformClientConstructor
<
PlatformClient
>
>
(
extension
:
PlatformClientExtension
<
PlatformClientClass
<
TClient
>
,
TExtended
,
>
,
)
:
PlatformClientClass
<
InstanceType
<
TExtended
>
>
;
forApp
(
options
:
ForAppOptions
)
:
AppPlatformClient
<
TClient
>
;
withCredentials
(
apiKey
:
string
,
email
:
string
,
password
:
string
,
baseUrl
?:
string
,
)
:
Promise
<
TClient
>
;
withSecretKey
(
key
:
string
,
baseUrl
?:
string
)
:
TClient
;
withToken
(
apiKey
:
string
,
accessToken
:
string
,
baseUrl
?:
string
)
:
TClient
;
}
Type Parameters
TClient
extends
PlatformClient
=
PlatformClient
Hierarchy (
View Summary
)
PlatformClientConstructor
<
TClient
>
PlatformClientClass
Index
Constructors
constructor
Methods
extend
for
App
with
Credentials
with
Secret
Key
with
Token
Constructors
constructor
new
PlatformClientClass
(
...
args
:
any
[]
)
:
TClient
Parameters
...
args
:
any
[]
Returns
TClient
Methods
extend
extend
<
TExtended
extends
PlatformClientConstructor
<
PlatformClient
>
>
(
extension
:
PlatformClientExtension
<
PlatformClientClass
<
TClient
>
,
TExtended
,
>
,
)
:
PlatformClientClass
<
InstanceType
<
TExtended
>
>
Type Parameters
TExtended
extends
PlatformClientConstructor
<
PlatformClient
>
Parameters
extension
:
PlatformClientExtension
<
PlatformClientClass
<
TClient
>
,
TExtended
>
Returns
PlatformClientClass
<
InstanceType
<
TExtended
>
>
for
App
forApp
(
options
:
ForAppOptions
)
:
AppPlatformClient
<
TClient
>
Parameters
options
:
ForAppOptions
Returns
AppPlatformClient
<
TClient
>
with
Credentials
withCredentials
(
apiKey
:
string
,
email
:
string
,
password
:
string
,
baseUrl
?:
string
,
)
:
Promise
<
TClient
>
Parameters
apiKey
:
string
email
:
string
password
:
string
Optional
baseUrl
:
string
Returns
Promise
<
TClient
>
with
Secret
Key
withSecretKey
(
key
:
string
,
baseUrl
?:
string
)
:
TClient
Parameters
key
:
string
Optional
baseUrl
:
string
Returns
TClient
with
Token
withToken
(
apiKey
:
string
,
accessToken
:
string
,
baseUrl
?:
string
)
:
TClient
Parameters
apiKey
:
string
accessToken
:
string
Optional
baseUrl
:
string
Returns
TClient
Settings
Member Visibility
Inherited
External
Theme
OS
Light
Dark
On This Page
Constructors
constructor
Methods
extend
for
App
with
Credentials
with
Secret
Key
with
Token
@archastro/sdk
Loading...