Membrane SDK - v0.8.0
Console
React Lib
REST API
Preparing search index...
DataSourceInstancesAccessor
Class DataSourceInstancesAccessor
Hierarchy (
View Summary
)
ElementInstanceListAccessor
<
DataSourceInstance
,
FindDataSourceInstancesQuery
>
DataSourceInstancesAccessor
Index
Constructors
constructor
Properties
client
Methods
find
Constructors
constructor
new
DataSourceInstancesAccessor
(
client
:
MembraneApiClient
,
)
:
DataSourceInstancesAccessor
Parameters
client
:
MembraneApiClient
Returns
DataSourceInstancesAccessor
Properties
Protected
client
client
:
MembraneApiClient
Methods
find
find
(
query
?:
{
limit
?:
number
;
cursor
?:
string
;
userId
?:
string
;
dataSourceId
?:
string
;
universalDataSourceId
?:
string
;
connectionId
?:
string
;
integrationKey
?:
string
;
integrationId
?:
string
;
}
,
)
:
Promise
<
PaginationResponse
<
{
user
?:
{
id
:
string
;
name
:
string
;
meta
?:
Record
<
string
,
any
>
;
internalId
:
string
;
fields
?:
Record
<
string
,
any
>
;
credentials
?:
any
;
lastActiveAt
?:
string
;
isTest
?:
boolean
;
isBillable
?:
boolean
;
createdAt
?:
string
;
archivedAt
?:
string
;
}
;
dataSource
?:
{
universalDataSourceId
?:
string
;
udm
?:
string
;
pullUpdatesIntervalSeconds
?:
number
;
fullSyncIntervalSeconds
?:
number
;
collectionKey
?:
string
;
collectionParameters
?:
any
;
defaultPath
?:
string
;
universalDataSourceRevision
?:
string
;
id
:
string
;
key
?:
string
;
uuid
?:
string
;
description
?:
string
;
meta
?:
Record
<
string
,
any
>
;
name
:
string
;
state
?:
CONFIGURATION_ERROR
|
SETUP_FAILED
|
READY
;
errors
?:
ErrorDataSchema
[]
;
revision
?:
string
;
createdAt
?:
string
;
updatedAt
?:
string
;
archivedAt
?:
string
;
isDeactivated
?:
boolean
;
integrationId
?:
string
;
isCustomized
?:
boolean
;
}
;
connection
?:
{
name
:
string
;
userId
:
string
;
isTest
?:
boolean
;
disconnected
?:
boolean
;
isDefunct
?:
boolean
;
state
?:
CONFIGURATION_ERROR
|
SETUP_FAILED
|
READY
;
error
?:
ErrorDataSchema
;
integrationId
:
string
;
authOptionKey
?:
string
;
createdAt
:
string
;
updatedAt
:
string
;
lastActiveAt
?:
string
;
nextCredentialsRefreshAt
?:
string
;
archivedAt
?:
string
;
isDeactivated
?:
boolean
;
meta
?:
Record
<
string
,
any
>
;
id
:
string
;
}
;
integration
?:
{
logoUri
:
string
;
connectorId
?:
string
;
connectorVersion
?:
string
;
oAuthCallbackUri
?:
string
;
parameters
?:
any
;
archivedAt
?:
string
;
hasMissingParameters
?:
boolean
;
hasDocumentation
?:
boolean
;
hasOperations
?:
boolean
;
operationsCount
?:
number
;
hasData
?:
boolean
;
dataCollectionsCount
?:
number
;
hasEvents
?:
boolean
;
eventsCount
?:
number
;
hasGlobalWebhooks
?:
boolean
;
hasUdm
?:
boolean
;
isTest
?:
boolean
;
appUuid
?:
string
;
isDeactivated
?:
boolean
;
authType
?:
|
"proxy"
|
"integration-app-token"
|
"membrane-token"
|
"oauth2"
|
"oauth1"
|
"client-credentials"
;
id
:
string
;
key
?:
string
;
uuid
?:
string
;
description
?:
string
;
meta
?:
Record
<
string
,
any
>
;
name
:
string
;
state
?:
CONFIGURATION_ERROR
|
SETUP_FAILED
|
READY
;
errors
?:
ErrorDataSchema
[]
;
revision
?:
string
;
createdAt
?:
string
;
updatedAt
?:
string
;
}
;
userId
:
string
;
revision
:
string
;
dataSourceRevision
?:
string
;
dataSourceId
?:
string
;
universalDataSourceId
?:
string
;
udm
?:
string
;
connectionId
:
string
;
integrationId
:
string
;
instanceKey
?:
string
;
collectionKey
?:
string
;
collectionParameters
?:
any
;
defaultCollectionKey
?:
string
;
defaultCollectionParameters
?:
any
;
collectionSpec
?:
{
type
:
"collection"
;
key
?:
string
;
name
:
string
;
parametersSchema
?:
DataSchema
;
fieldsSchema
?:
DataSchema
;
list
?:
{
apiRequests
?:
{
path
:
unknown
;
method
:
unknown
}
[]
;
filterFields
?:
string
[]
;
}
;
search
?:
{
apiRequests
?:
{
path
:
unknown
;
method
:
unknown
}
[]
}
;
match
?:
{
apiRequests
?:
{
path
:
unknown
;
method
:
unknown
}
[]
;
fields
?:
string
[]
;
}
;
findById
?:
{
apiRequests
?:
{
path
:
unknown
;
method
:
unknown
}
[]
}
;
create
?:
{
apiRequests
?:
{
path
:
unknown
;
method
:
unknown
}
[]
;
fields
?:
string
[]
;
requiredFields
?:
string
[]
;
excludedFields
?:
string
[]
;
}
;
update
?:
{
apiRequests
?:
{
path
:
unknown
;
method
:
unknown
}
[]
;
fields
?:
string
[]
;
excludedFields
?:
string
[]
;
}
;
delete
?:
{
apiRequests
?:
{
path
:
unknown
;
method
:
unknown
}
[]
}
;
events
?:
{
created
?:
{
type
:
"push"
|
"pull"
;
isFullScan
?:
boolean
;
isIdOnly
?:
boolean
;
}
;
updated
?:
{
type
:
"push"
|
"pull"
;
isFullScan
?:
boolean
;
isIdOnly
?:
boolean
;
}
;
deleted
?:
{
type
:
"push"
|
"pull"
;
isFullScan
?:
boolean
;
isIdOnly
?:
boolean
;
}
;
all
?:
{
type
:
"push"
|
"pull"
;
isFullScan
?:
boolean
;
isIdOnly
?:
boolean
;
}
;
[
key
:
string
]:
{
type
:
"push"
|
"pull"
;
isFullScan
?:
boolean
;
isIdOnly
?:
boolean
;
}
;
}
;
customFields
?:
boolean
;
udm
?:
Record
<
string
,
{
fields
?:
string
[]
;
extract
?:
Record
<
string
,
any
>
;
parse
?:
Record
<
string
,
any
>
;
}
,
>
;
find
?:
{
apiRequests
?:
{
path
:
unknown
;
method
:
unknown
}
[]
;
queryFields
?:
string
[]
;
}
;
}
;
isCustomized
?:
boolean
;
errors
?:
ErrorDataSchema
[]
;
pullUpdatesIntervalSeconds
?:
number
;
fullSyncIntervalSeconds
?:
number
;
path
?:
string
;
defaultPath
?:
string
;
id
:
string
;
key
?:
string
;
uuid
?:
string
;
description
?:
string
;
meta
?:
Record
<
string
,
any
>
;
name
:
string
;
state
?:
CONFIGURATION_ERROR
|
SETUP_FAILED
|
READY
;
createdAt
?:
string
;
updatedAt
?:
string
;
archivedAt
?:
string
;
isDeactivated
?:
boolean
;
}
,
>
,
>
Parameters
Optional
query
:
{
limit
?:
number
;
cursor
?:
string
;
userId
?:
string
;
dataSourceId
?:
string
;
universalDataSourceId
?:
string
;
connectionId
?:
string
;
integrationKey
?:
string
;
integrationId
?:
string
;
}
Returns
Promise
<
PaginationResponse
<
{
user
?:
{
id
:
string
;
name
:
string
;
meta
?:
Record
<
string
,
any
>
;
internalId
:
string
;
fields
?:
Record
<
string
,
any
>
;
credentials
?:
any
;
lastActiveAt
?:
string
;
isTest
?:
boolean
;
isBillable
?:
boolean
;
createdAt
?:
string
;
archivedAt
?:
string
;
}
;
dataSource
?:
{
universalDataSourceId
?:
string
;
udm
?:
string
;
pullUpdatesIntervalSeconds
?:
number
;
fullSyncIntervalSeconds
?:
number
;
collectionKey
?:
string
;
collectionParameters
?:
any
;
defaultPath
?:
string
;
universalDataSourceRevision
?:
string
;
id
:
string
;
key
?:
string
;
uuid
?:
string
;
description
?:
string
;
meta
?:
Record
<
string
,
any
>
;
name
:
string
;
state
?:
CONFIGURATION_ERROR
|
SETUP_FAILED
|
READY
;
errors
?:
ErrorDataSchema
[]
;
revision
?:
string
;
createdAt
?:
string
;
updatedAt
?:
string
;
archivedAt
?:
string
;
isDeactivated
?:
boolean
;
integrationId
?:
string
;
isCustomized
?:
boolean
;
}
;
connection
?:
{
name
:
string
;
userId
:
string
;
isTest
?:
boolean
;
disconnected
?:
boolean
;
isDefunct
?:
boolean
;
state
?:
CONFIGURATION_ERROR
|
SETUP_FAILED
|
READY
;
error
?:
ErrorDataSchema
;
integrationId
:
string
;
authOptionKey
?:
string
;
createdAt
:
string
;
updatedAt
:
string
;
lastActiveAt
?:
string
;
nextCredentialsRefreshAt
?:
string
;
archivedAt
?:
string
;
isDeactivated
?:
boolean
;
meta
?:
Record
<
string
,
any
>
;
id
:
string
;
}
;
integration
?:
{
logoUri
:
string
;
connectorId
?:
string
;
connectorVersion
?:
string
;
oAuthCallbackUri
?:
string
;
parameters
?:
any
;
archivedAt
?:
string
;
hasMissingParameters
?:
boolean
;
hasDocumentation
?:
boolean
;
hasOperations
?:
boolean
;
operationsCount
?:
number
;
hasData
?:
boolean
;
dataCollectionsCount
?:
number
;
hasEvents
?:
boolean
;
eventsCount
?:
number
;
hasGlobalWebhooks
?:
boolean
;
hasUdm
?:
boolean
;
isTest
?:
boolean
;
appUuid
?:
string
;
isDeactivated
?:
boolean
;
authType
?:
|
"proxy"
|
"integration-app-token"
|
"membrane-token"
|
"oauth2"
|
"oauth1"
|
"client-credentials"
;
id
:
string
;
key
?:
string
;
uuid
?:
string
;
description
?:
string
;
meta
?:
Record
<
string
,
any
>
;
name
:
string
;
state
?:
CONFIGURATION_ERROR
|
SETUP_FAILED
|
READY
;
errors
?:
ErrorDataSchema
[]
;
revision
?:
string
;
createdAt
?:
string
;
updatedAt
?:
string
;
}
;
userId
:
string
;
revision
:
string
;
dataSourceRevision
?:
string
;
dataSourceId
?:
string
;
universalDataSourceId
?:
string
;
udm
?:
string
;
connectionId
:
string
;
integrationId
:
string
;
instanceKey
?:
string
;
collectionKey
?:
string
;
collectionParameters
?:
any
;
defaultCollectionKey
?:
string
;
defaultCollectionParameters
?:
any
;
collectionSpec
?:
{
type
:
"collection"
;
key
?:
string
;
name
:
string
;
parametersSchema
?:
DataSchema
;
fieldsSchema
?:
DataSchema
;
list
?:
{
apiRequests
?:
{
path
:
unknown
;
method
:
unknown
}
[]
;
filterFields
?:
string
[]
;
}
;
search
?:
{
apiRequests
?:
{
path
:
unknown
;
method
:
unknown
}
[]
}
;
match
?:
{
apiRequests
?:
{
path
:
unknown
;
method
:
unknown
}
[]
;
fields
?:
string
[]
;
}
;
findById
?:
{
apiRequests
?:
{
path
:
unknown
;
method
:
unknown
}
[]
}
;
create
?:
{
apiRequests
?:
{
path
:
unknown
;
method
:
unknown
}
[]
;
fields
?:
string
[]
;
requiredFields
?:
string
[]
;
excludedFields
?:
string
[]
;
}
;
update
?:
{
apiRequests
?:
{
path
:
unknown
;
method
:
unknown
}
[]
;
fields
?:
string
[]
;
excludedFields
?:
string
[]
;
}
;
delete
?:
{
apiRequests
?:
{
path
:
unknown
;
method
:
unknown
}
[]
}
;
events
?:
{
created
?:
{
type
:
"push"
|
"pull"
;
isFullScan
?:
boolean
;
isIdOnly
?:
boolean
;
}
;
updated
?:
{
type
:
"push"
|
"pull"
;
isFullScan
?:
boolean
;
isIdOnly
?:
boolean
;
}
;
deleted
?:
{
type
:
"push"
|
"pull"
;
isFullScan
?:
boolean
;
isIdOnly
?:
boolean
;
}
;
all
?:
{
type
:
"push"
|
"pull"
;
isFullScan
?:
boolean
;
isIdOnly
?:
boolean
;
}
;
[
key
:
string
]:
{
type
:
"push"
|
"pull"
;
isFullScan
?:
boolean
;
isIdOnly
?:
boolean
;
}
;
}
;
customFields
?:
boolean
;
udm
?:
Record
<
string
,
{
fields
?:
string
[]
;
extract
?:
Record
<
string
,
any
>
;
parse
?:
Record
<
string
,
any
>
;
}
,
>
;
find
?:
{
apiRequests
?:
{
path
:
unknown
;
method
:
unknown
}
[]
;
queryFields
?:
string
[]
;
}
;
}
;
isCustomized
?:
boolean
;
errors
?:
ErrorDataSchema
[]
;
pullUpdatesIntervalSeconds
?:
number
;
fullSyncIntervalSeconds
?:
number
;
path
?:
string
;
defaultPath
?:
string
;
id
:
string
;
key
?:
string
;
uuid
?:
string
;
description
?:
string
;
meta
?:
Record
<
string
,
any
>
;
name
:
string
;
state
?:
CONFIGURATION_ERROR
|
SETUP_FAILED
|
READY
;
createdAt
?:
string
;
updatedAt
?:
string
;
archivedAt
?:
string
;
isDeactivated
?:
boolean
;
}
,
>
,
>
Settings
Member Visibility
Protected
Inherited
External
Theme
OS
Light
Dark
On This Page
Constructors
constructor
Properties
client
Methods
find
Console
React Lib
REST API
Membrane SDK - v0.8.0
Loading...