@seamapi/http - v1.70.0
GitHub
Preparing search index...
index
SeamHttpSeamCustomerV1Automations
Class SeamHttpSeamCustomerV1Automations
Index
Constructors
constructor
Properties
client
defaults
lts
Version
lts
Version
Methods
create
Paginator
delete
get
update
update
Client
Session
Token
from
Api
Key
from
Client
from
Client
Session
Token
from
Console
Session
Token
from
Personal
Access
Token
from
Publishable
Key
Constructors
constructor
new
SeamHttpSeamCustomerV1Automations
(
apiKeyOrOptions
?:
string
|
SeamHttpOptions
,
)
:
SeamHttpSeamCustomerV1Automations
Parameters
apiKeyOrOptions
:
string
|
SeamHttpOptions
= {}
Returns
SeamHttpSeamCustomerV1Automations
Properties
client
client
:
AxiosInstance
Readonly
defaults
defaults
:
Required
<
SeamHttpRequestOptions
>
Readonly
lts
Version
ltsVersion
:
"1.0.0"
= seamApiLtsVersion
Static
lts
Version
ltsVersion
:
string
= seamApiLtsVersion
Methods
create
Paginator
createPaginator
<
const
TResponse
,
const
TResponseKey
extends
string
|
number
|
symbol
,
>
(
request
:
SeamHttpRequest
<
TResponse
,
TResponseKey
>
,
)
:
SeamPaginator
<
TResponse
,
TResponseKey
>
Type Parameters
const
TResponse
const
TResponseKey
extends
string
|
number
|
symbol
Parameters
request
:
SeamHttpRequest
<
TResponse
,
TResponseKey
>
Returns
SeamPaginator
<
TResponse
,
TResponseKey
>
delete
delete
(
parameters
?:
{}
,
options
?:
SeamCustomerV1AutomationsDeleteOptions
,
)
:
SeamCustomerV1AutomationsDeleteRequest
Parameters
Optional
parameters
:
{}
options
:
SeamCustomerV1AutomationsDeleteOptions
= {}
Returns
SeamCustomerV1AutomationsDeleteRequest
get
get
(
parameters
?:
{}
,
options
?:
SeamCustomerV1AutomationsGetOptions
,
)
:
SeamCustomerV1AutomationsGetRequest
Parameters
Optional
parameters
:
{}
options
:
SeamCustomerV1AutomationsGetOptions
= {}
Returns
SeamCustomerV1AutomationsGetRequest
update
update
(
parameters
?:
{
access_rules
?:
{
reservation_created
?:
{
config
:
{
access_methods
:
(
"code"
|
"card"
|
"mobile_key"
)
[]
;
method_issuance_strategy
:
|
"first_available"
|
"first_two_available"
|
"all_available"
;
}
;
rule
:
"reservation_created"
;
}
;
reservation_deleted
?:
{
config
?:
{}
;
rule
:
"reservation_deleted"
}
;
reservation_time_updated
?:
{
config
?:
{}
;
rule
:
"reservation_time_updated"
;
}
;
}
;
}
,
options
?:
SeamCustomerV1AutomationsUpdateOptions
,
)
:
SeamCustomerV1AutomationsUpdateRequest
Parameters
Optional
parameters
:
{
access_rules
?:
{
reservation_created
?:
{
config
:
{
access_methods
:
(
"code"
|
"card"
|
"mobile_key"
)
[]
;
method_issuance_strategy
:
|
"first_available"
|
"first_two_available"
|
"all_available"
;
}
;
rule
:
"reservation_created"
;
}
;
reservation_deleted
?:
{
config
?:
{}
;
rule
:
"reservation_deleted"
}
;
reservation_time_updated
?:
{
config
?:
{}
;
rule
:
"reservation_time_updated"
;
}
;
}
;
}
Optional
access_rules
?:
{
reservation_created
?:
{
config
:
{
access_methods
:
(
"code"
|
"card"
|
"mobile_key"
)
[]
;
method_issuance_strategy
:
|
"first_available"
|
"first_two_available"
|
"all_available"
;
}
;
rule
:
"reservation_created"
;
}
;
reservation_deleted
?:
{
config
?:
{}
;
rule
:
"reservation_deleted"
}
;
reservation_time_updated
?:
{
config
?:
{}
;
rule
:
"reservation_time_updated"
;
}
;
}
Access automation rules configuration.
options
:
SeamCustomerV1AutomationsUpdateOptions
= {}
Returns
SeamCustomerV1AutomationsUpdateRequest
update
Client
Session
Token
updateClientSessionToken
(
clientSessionToken
:
string
)
:
Promise
<
void
>
Parameters
clientSessionToken
:
string
Returns
Promise
<
void
>
Static
from
Api
Key
fromApiKey
(
apiKey
:
string
,
options
?:
Omit
<
SeamHttpOptionsWithApiKey
,
"apiKey"
>
,
)
:
SeamHttpSeamCustomerV1Automations
Parameters
apiKey
:
string
options
:
Omit
<
SeamHttpOptionsWithApiKey
,
"apiKey"
>
= {}
Returns
SeamHttpSeamCustomerV1Automations
Static
from
Client
fromClient
(
client
:
AxiosInstance
,
options
?:
Omit
<
SeamHttpOptionsWithClient
,
"client"
>
,
)
:
SeamHttpSeamCustomerV1Automations
Parameters
client
:
AxiosInstance
options
:
Omit
<
SeamHttpOptionsWithClient
,
"client"
>
= {}
Returns
SeamHttpSeamCustomerV1Automations
Static
from
Client
Session
Token
fromClientSessionToken
(
clientSessionToken
:
string
,
options
?:
Omit
<
SeamHttpOptionsWithClientSessionToken
,
"clientSessionToken"
>
,
)
:
SeamHttpSeamCustomerV1Automations
Parameters
clientSessionToken
:
string
options
:
Omit
<
SeamHttpOptionsWithClientSessionToken
,
"clientSessionToken"
>
= {}
Returns
SeamHttpSeamCustomerV1Automations
Static
from
Console
Session
Token
fromConsoleSessionToken
(
consoleSessionToken
:
string
,
workspaceId
:
string
,
options
?:
Omit
<
SeamHttpOptionsWithConsoleSessionToken
,
"consoleSessionToken"
|
"workspaceId"
,
>
,
)
:
SeamHttpSeamCustomerV1Automations
Parameters
consoleSessionToken
:
string
workspaceId
:
string
options
:
Omit
<
SeamHttpOptionsWithConsoleSessionToken
,
"consoleSessionToken"
|
"workspaceId"
,
>
= {}
Returns
SeamHttpSeamCustomerV1Automations
Static
from
Personal
Access
Token
fromPersonalAccessToken
(
personalAccessToken
:
string
,
workspaceId
:
string
,
options
?:
Omit
<
SeamHttpOptionsWithPersonalAccessToken
,
"personalAccessToken"
|
"workspaceId"
,
>
,
)
:
SeamHttpSeamCustomerV1Automations
Parameters
personalAccessToken
:
string
workspaceId
:
string
options
:
Omit
<
SeamHttpOptionsWithPersonalAccessToken
,
"personalAccessToken"
|
"workspaceId"
,
>
= {}
Returns
SeamHttpSeamCustomerV1Automations
Static
from
Publishable
Key
fromPublishableKey
(
publishableKey
:
string
,
userIdentifierKey
:
string
,
options
?:
SeamHttpFromPublishableKeyOptions
,
)
:
Promise
<
SeamHttpSeamCustomerV1Automations
>
Parameters
publishableKey
:
string
userIdentifierKey
:
string
options
:
SeamHttpFromPublishableKeyOptions
= {}
Returns
Promise
<
SeamHttpSeamCustomerV1Automations
>
Settings
Member Visibility
Protected
Inherited
External
Theme
OS
Light
Dark
On This Page
Constructors
constructor
Properties
client
defaults
lts
Version
lts
Version
Methods
create
Paginator
delete
get
update
update
Client
Session
Token
from
Api
Key
from
Client
from
Client
Session
Token
from
Console
Session
Token
from
Personal
Access
Token
from
Publishable
Key
GitHub
@seamapi/http - v1.70.0
Loading...
Access automation rules configuration.